/** ################################## BEECLEVER GMBH KOBLENZ ################################### ##### Copyright (c) 2019-present, beeclever GmbH Koblenz DE, All rights reserved. ##### ##### THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR ##### ##### IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS ##### ##### FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR ##### ##### COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER ##### ##### IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN ##### ##### CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ##### ############################################################################################# @preserve v2.0.16 */ window.addEventListener("load",function(){if(!(!!window.Shopify&&!!window.Shopify.Checkout)){if(!!window.Shopify&&!!window.Shopify.loadFeatures&&!window.Shopify.trackingConsent){window.Shopify.loadFeatures([{name:"consent-tracking-api",version:"0.1"}],e=>{if(e){throw e}})}if(window.GDPR_LC_INIT===undefined){window.GDPR_LC_INIT=true;var e={};e.detect={isBot:/bot|google|baidu|bing|msn|teoma|slurp|yandex|googlebot|crawler|spider|robot|crawling/i.test(navigator.userAgent),isLightHouse:/Chrome-Lighthouse/i.test(navigator.userAgent)};if(typeof GDPR_LC_ZLoad!==undefined&&!e.detect.isBot&&!e.detect.isLightHouse&&!navigator["webdriver"]){var O=20201216225107;var U={_ab:{description:"Used in connection with access to admin.",path:"/",domain:"",provider:"Shopify",deletable:false,expires:"63072000",type:"type_0",recommendation:"0",editable:false,set:"0"},_customer_account_shop_sessions:{description:"Used in combination with the _secure_account_session_id cookie to track a user's session for new customer accounts.",path:"/",domain:"",provider:"Shopify",deletable:false,expires:"2592000",type:"type_0",recommendation:"0",editable:false,set:"0"},_secure_account_session_id:{description:"Used to track a user's session for new customer accounts.",path:"/",domain:"",provider:"Shopify",deletable:false,expires:"2592000",type:"type_0",recommendation:"0",editable:false,set:"0"},_secure_session_id:{description:"Used to track a user's session through the multi-step checkout process and keep their order, payment and shipping details connected.",path:"/",domain:"",provider:"Shopify",deletable:false,expires:"2592000",type:"type_0",recommendation:"0",editable:false,set:"0"},_shopify_country:{description:"For shops where pricing currency/country set from GeoIP, that cookie stores the country we've detected. This cookie helps avoid doing GeoIP lookups after the first request.",path:"/",domain:"",provider:"Shopify",deletable:false,expires:"0",type:"type_0",recommendation:"0",editable:false,set:"0"},_shopify_m:{description:"Used for managing customer privacy settings.",path:"/",domain:"",provider:"Shopify",deletable:false,expires:"31536000",type:"type_0",recommendation:"0",editable:false,set:"0"},_shopify_tm:{description:"Used for managing customer privacy settings.",path:"/",domain:"",provider:"Shopify",deletable:false,expires:"1800",type:"type_0",recommendation:"0",editable:false,set:"0"},_shopify_tw:{description:"Used for managing customer privacy settings.",path:"/",domain:"",provider:"Shopify",deletable:false,expires:"86400",type:"type_0",recommendation:"0",editable:false,set:"0"},_storefront_u:{description:"Used to facilitate updating customer account information.",path:"/",domain:"",provider:"Shopify",deletable:false,expires:"60",type:"type_0",recommendation:"0",editable:false,set:"0"},_tracking_consent:{description:"Used to store a user's preferences if a merchant has set up privacy rules in the visitor's region.",path:"/",domain:"",provider:"Shopify",deletable:false,expires:"31536000",type:"type_0",recommendation:"0",editable:false,set:"0"},_cmp_a:{description:"Used for managing customer privacy settings.",path:"/",domain:"",provider:"Shopify",deletable:false,expires:"86400",type:"type_0",recommendation:"0",editable:false,set:"0"},c:{description:"Used in connection with checkout.",path:"/",domain:"",provider:"Shopify",deletable:false,expires:"31536000",type:"type_0",recommendation:"0",editable:false,set:"0"},cart:{description:"Used in connection with shopping cart.",path:"/",domain:"",provider:"Shopify",deletable:false,expires:"1209600",type:"type_0",recommendation:"0",editable:false,set:"0"},cart_currency:{description:"Set after a checkout is completed to ensure that new carts are in the same currency as the last checkout.",path:"/",domain:"",provider:"Shopify",deletable:false,expires:"1209600",type:"type_0",recommendation:"0",editable:false,set:"0"},cart_sig:{description:"A hash of the contents of a cart. This is used to verify the integrity of the cart and to ensure performance of some cart operations.",path:"/",domain:"",provider:"Shopify",deletable:false,expires:"1209600",type:"type_0",recommendation:"0",editable:false,set:"0"},cart_ts:{description:"Used in connection with checkout.",path:"/",domain:"",provider:"Shopify",deletable:false,expires:"1209600",type:"type_0",recommendation:"0",editable:false,set:"0"},cart_ver:{description:"Used in connection with shopping cart.",path:"/",domain:"",provider:"Shopify",deletable:false,expires:"1209600",type:"type_0",recommendation:"0",editable:false,set:"0"},checkout:{description:"Used in connection with checkout.",path:"/",domain:"",provider:"Shopify",deletable:false,expires:"2592000",type:"type_0",recommendation:"0",editable:false,set:"0"},checkout_token:{description:"Used in connection with checkout.",path:"/",domain:"",provider:"Shopify",deletable:false,expires:"31536000",type:"type_0",recommendation:"0",editable:false,set:"0"},customer_account_locale:{description:"Used in connection with new customer accounts",path:"/",domain:"",provider:"Shopify",deletable:false,expires:"31536000",type:"type_0",recommendation:"0",editable:false,set:"0"},dynamic_checkout_shown_on_cart:{description:"Used in connection with checkout.",path:"/",domain:"",provider:"Shopify",deletable:false,expires:"1800",type:"type_0",recommendation:"0",editable:false,set:"0"},hide_shopify_pay_for_checkout:{description:"Used in connection with checkout.",path:"/",domain:"",provider:"Shopify",deletable:false,expires:"0",type:"type_0",recommendation:"0",editable:false,set:"0"},keep_alive:{description:"Used in connection with buyer localization.",path:"/",domain:"",provider:"Shopify",deletable:false,expires:"1209600",type:"type_0",recommendation:"0",editable:false,set:"0"},master_device_id:{description:"Used in connection with merchant login.",path:"/",domain:"",provider:"Shopify",deletable:false,expires:"63072000",type:"type_0",recommendation:"0",editable:false,set:"0"},previous_step:{description:"Used in connection with checkout.",path:"/",domain:"",provider:"Shopify",deletable:false,expires:"31536000",type:"type_0",recommendation:"0",editable:false,set:"0"},discount_code:{description:"Used in connection with checkout.",path:"/",domain:"",provider:"Shopify",deletable:false,expires:"0",type:"type_0",recommendation:"0",editable:false,set:"0"},remember_me:{description:"Used in connection with checkout.",path:"/",domain:"",provider:"Shopify",deletable:false,expires:"31536000",type:"type_0",recommendation:"0",editable:false,set:"0"},secure_customer_sig:{description:"Used to identify a user after they sign into a shop as a customer so they do not need to log in again.",path:"/",domain:"",provider:"Shopify",deletable:false,expires:"31536000",type:"type_0",recommendation:"0",editable:false,set:"0"},shopify_pay:{description:"Used in connection with checkout.",path:"/",domain:"",provider:"Shopify",deletable:false,expires:"31536000",type:"type_0",recommendation:"0",editable:false,set:"0"},shopify_pay_redirect:{description:"Used in connection with checkout.",path:"/",domain:"",provider:"Shopify",deletable:false,expires:"31536000",type:"type_0",recommendation:"0",editable:false,set:"0"},shop_pay_accelerated:{description:"Used in connection with checkout.",path:"/",domain:"",provider:"Shopify",deletable:false,expires:"31536000",type:"type_0",recommendation:"0",editable:false,set:"0"},storefront_digest:{description:"Stores a digest of the storefront password, allowing merchants to preview their storefront while it's password protected.",path:"/",domain:"",provider:"Shopify",deletable:false,expires:"63072000",type:"type_0",recommendation:"0",editable:false,set:"0"},tracked_start_checkout:{description:"Used in connection with checkout.",path:"/",domain:"",provider:"Shopify",deletable:false,expires:"31536000",type:"type_1",recommendation:"1",editable:true,set:"1"},checkout_session_lookup:{description:"Used in connection with checkout.",path:"/",domain:"",provider:"Shopify",deletable:false,expires:"1814400",type:"type_0",recommendation:"0",editable:false,set:"0"},checkout_prefill:{description:"Used in connection with checkout.",path:"/",domain:"",provider:"Shopify",deletable:false,expires:"300",type:"type_0",recommendation:"0",editable:false,set:"0"},checkout_queue_token:{description:"Used in connection with checkout.",path:"/",domain:"",provider:"Shopify",deletable:false,expires:"31536000",type:"type_0",recommendation:"0",editable:false,set:"0"},checkout_queue_checkout_token:{description:"Used in connection with checkout.",path:"/",domain:"",provider:"Shopify",deletable:false,expires:"31536000",type:"type_0",recommendation:"0",editable:false,set:"0"},checkout_worker_session:{description:"Used in connection with checkout.",path:"/",domain:"",provider:"Shopify",deletable:false,expires:"259200",type:"type_0",recommendation:"0",editable:false,set:"0"},checkout_session_token:{description:"Used in connection with cart and checkout.",path:"/",domain:"",provider:"Shopify",deletable:false,expires:"1814400",type:"type_0",recommendation:"0",editable:false,set:"0"},"checkout_session_token_<>":{description:"Used in connection with cart and checkout.",path:"/",domain:"",provider:"Shopify",deletable:false,expires:"1814400",type:"type_0",recommendation:"0",editable:false,set:"0"},cookietest:{description:"Used to ensure our systems are working correctly.",path:"/",domain:"",provider:"Shopify",deletable:false,expires:"60",type:"type_0",recommendation:"0",editable:false,set:"0"},order:{description:"Used in connection with order status page.",path:"/",domain:"",provider:"Shopify",deletable:false,expires:"1814400",type:"type_0",recommendation:"0",editable:false,set:"0"},"identity-state":{description:"Used in connection with customer authentication.",path:"/",domain:"",provider:"Shopify",deletable:false,expires:"3600",type:"type_0",recommendation:"0",editable:false,set:"0"},"identity-state-<>":{description:"Used in connection with customer authentication.",path:"/",domain:"",provider:"Shopify",deletable:false,expires:"3600",type:"type_0",recommendation:"0",editable:false,set:"0"},identity_customer_account_number:{description:"Used in connection with customer authentication",path:"/",domain:"",provider:"Shopify",deletable:false,expires:"7776000",type:"type_0",recommendation:"0",editable:false,set:"0"},card_update_verification_id:{description:"Used in connection with checkout.",path:"/",domain:"",provider:"Shopify",deletable:false,expires:"1200",type:"type_0",recommendation:"0",editable:false,set:"0"},customer_account_new_login:{description:"Used in connection with customer authentication.",path:"/",domain:"",provider:"Shopify",deletable:false,expires:"1200",type:"type_0",recommendation:"0",editable:false,set:"0"},customer_account_preview:{description:"Used in connection with customer authentication.",path:"/",domain:"",provider:"Shopify",deletable:false,expires:"604800",type:"type_0",recommendation:"0",editable:false,set:"0"},customer_payment_method:{description:"Used in connection with checkout.",path:"/",domain:"",provider:"Shopify",deletable:false,expires:"3600",type:"type_0",recommendation:"0",editable:false,set:"0"},customer_shop_pay_agreement:{description:"Used in connection with checkout.",path:"/",domain:"",provider:"Shopify",deletable:false,expires:"1200",type:"type_0",recommendation:"0",editable:false,set:"0"},pay_update_intent_id:{description:"Used in connection with checkout.",path:"/",domain:"",provider:"Shopify",deletable:false,expires:"1200",type:"type_0",recommendation:"0",editable:false,set:"0"},localization:{description:"Used in connection with checkout.",path:"/",domain:"",provider:"Shopify",deletable:false,expires:"1209600",type:"type_0",recommendation:"0",editable:false,set:"0"},profile_preview_token:{description:"Used in connection with checkout.",path:"/",domain:"",provider:"Shopify",deletable:false,expires:"300",type:"type_0",recommendation:"0",editable:false,set:"0"},login_with_shop_finalize:{description:"Used in connection with customer authentication.",path:"/",domain:"",provider:"Shopify",deletable:false,expires:"300",type:"type_0",recommendation:"0",editable:false,set:"0"},preview_theme:{description:"Used in connection with the theme editor.",path:"/",domain:"",provider:"Shopify",deletable:false,expires:"0",type:"type_0",recommendation:"0",editable:false,set:"0"},"shopify-editor-unconfirmed-settings":{description:"Used in connection with the theme editor.",path:"/",domain:"",provider:"Shopify",deletable:false,expires:"57600",type:"type_0",recommendation:"0",editable:false,set:"0"},"wpm-test-cookie":{description:"Used to ensure our systems are working correctly.",path:"/",domain:"",provider:"Shopify",deletable:false,expires:"0",type:"type_0",recommendation:"0",editable:false,set:"0"},_landing_page:{description:"Track landing pages.",path:"/",domain:"",provider:"Shopify",deletable:false,expires:"1209600",type:"type_1",recommendation:"1",editable:true,set:"1"},_orig_referrer:{description:"Track landing pages.",path:"/",domain:"",provider:"Shopify",deletable:false,expires:"1209600",type:"type_1",recommendation:"1",editable:true,set:"1"},_s:{description:"Shopify analytics.",path:"/",domain:"",provider:"Shopify",deletable:false,expires:"1800",type:"type_1",recommendation:"1",editable:true,set:"1"},_shopify_d:{description:"Shopify analytics.",path:"/",domain:"",provider:"Shopify",deletable:false,expires:"0",type:"type_1",recommendation:"1",editable:true,set:"1"},_shopify_fs:{description:"Shopify analytics.",path:"/",domain:"",provider:"Shopify",deletable:false,expires:"1800",type:"type_1",recommendation:"1",editable:true,set:"1"},_shopify_s:{description:"Shopify analytics.",path:"/",domain:"",provider:"Shopify",deletable:false,expires:"1800",type:"type_1",recommendation:"1",editable:true,set:"1"},_shopify_sa_p:{description:"Shopify analytics relating to marketing & referrals.",path:"/",domain:"",provider:"Shopify",deletable:false,expires:"1800",type:"type_1",recommendation:"1",editable:true,set:"1"},_shopify_sa_t:{description:"Shopify analytics relating to marketing & referrals.",path:"/",domain:"",provider:"Shopify",deletable:false,expires:"1800",type:"type_1",recommendation:"1",editable:true,set:"1"},_shopify_y:{description:"Shopify analytics.",path:"/",domain:"",provider:"Shopify",deletable:false,expires:"31536000",type:"type_1",recommendation:"1",editable:true,set:"1"},_y:{description:"Shopify analytics.",path:"/",domain:"",provider:"Shopify",deletable:false,expires:"31536000",type:"type_1",recommendation:"1",editable:true,set:"1"},_shopify_ga:{description:"Shopify and Google Analytics.",path:"/",domain:"",provider:"Shopify",deletable:false,expires:"0",type:"type_1",recommendation:"1",editable:true,set:"1"},customer_auth_provider:{description:"Shopify Analytics.",path:"/",domain:"",provider:"Shopify",deletable:false,expires:"0",type:"type_1",recommendation:"1",editable:true,set:"1"},customer_auth_session_created_at:{description:"Shopify Analytics.",path:"/",domain:"",provider:"Shopify",deletable:false,expires:"0",type:"type_1",recommendation:"1",editable:true,set:"1"},shop_analytics:{description:"Shopify Analytics.",path:"/",domain:"",provider:"Shopify",deletable:false,expires:"31536000",type:"type_1",recommendation:"1",editable:true,set:"1"},unique_interaction_id:{description:"Shopify Analytics.",path:"/",domain:"",provider:"Shopify",deletable:false,expires:"600",type:"type_1",recommendation:"1",editable:true,set:"1"},_bc_c_set:{description:"Used in connection with GDPR legal Cookie.",path:"/",domain:"",provider:"GDPR Legal Cookie",type:"type_0",expires:"2592000",recommendation:"0",editable:false,deletable:false,set:"0",optIn:true,live:0}};window.GDPR_LC=window.GDPR_LC||{};window._GDPR_VAL=window._GDPR_VAL||{};window.BC_JSON_ObjectBypass=window.BC_JSON_ObjectBypass||{};window.GDPR_googleFacebookPixelCustomSourceTagManagerTrackData=window.GDPR_googleFacebookPixelCustomSourceTagManagerTrackData||{};window.BC_GDPR_2ce3a13160348f524c8cc9=window.BC_GDPR_2ce3a13160348f524c8cc9||{};window.BC_GDPR_CustomScriptForShop=window.BC_GDPR_CustomScriptForShop||"";window.bc_tagManagerTasks=window.bc_tagManagerTasks||{};window.bc_tagManagerData=window.bc_tagManagerData||{};window.customCookies=window.customCookies||{};window.GDPR_LC.userConsentSetting=window.GDPR_LC.userConsentSetting||null;(function(t,i){var e=Object.keys(i);e.forEach(function(e){if(typeof t[e]==="undefined"){t[e]=i[e]}})})(window.BC_JSON_ObjectBypass,U);var i=function(e){var t=document.cookie.match(new RegExp("(^| )"+e+"=([^;]+)"));if(t){return t[2]}return null};function M(){var e=i("_bc_c_set");if(e!==null){try{var t=atob(e);window.GDPR_LC.userConsentSetting=JSON.parse(t);document.dispatchEvent(new CustomEvent("GDPR_LC:userConsentSetting",{detail:window.GDPR_LC.userConsentSetting}))}catch(e){window.GDPR_LC.userConsentSetting=null}}}M();function j(e=false){window.GDPR_LC.DEBUGGER=window.GDPR_LC.DEBUGGER||[];window.GDPR_LC.DEBUGGER.push(GDPR_LC.Cookies.list);let t=Date.now();if(e){if(GDPR_LC!==undefined&&GDPR_LC.Cookies!==undefined&&GDPR_LC.Cookies.list!==undefined&&GDPR_LC.Cookies.list._bc_c_set!==undefined&&GDPR_LC.Cookies.list._bc_c_set.lastChange!==undefined){t=GDPR_LC.Cookies.list._bc_c_set.lastChange}}var n={date:t,version:O};Object.keys(GDPR_LC.Cookies.list).forEach(function(e){var t=GDPR_LC.Cookies.list[e];var i=t.type;if(typeof n[i]==="undefined"){n[i]={true:0,false:0}}if(t.userSetting===true){n[i]["true"]=1}else{n[i]["false"]=1}});window.GDPR_LC.userConsentSetting=n;document.dispatchEvent(new CustomEvent("GDPR_LC:userConsentSetting",{detail:n}));window.GDPR_LC.DEBUGGER.push(GDPR_LC.Cookies.list);window.GDPR_LC.DEBUGGER.push(n);window.GDPR_LC.DEBUGGER.push(window.GDPR_LC.userConsentSetting);var i=btoa(JSON.stringify(n));if(GDPR_LC!==undefined&&GDPR_LC.Cookies!==undefined&&GDPR_LC.Cookies.list!==undefined&&GDPR_LC.Cookies.list._bc_c_set!==undefined){GDPR_LC.Cookies.list._bc_c_set.update("value",i,!1)}document.cookie="_bc_c_set="+i+";path=/;max-age=2592000;SameSite=Lax;"}(function(){var r=function(e,t){if(e!==undefined){return e}else{return t}};GDPR_LC.console=function(){var o=this;var s=GDPR_LC.console,i="GDPR_LC.console";this.d=!1;this.m={log:{},error:{}};this.dc={log:"color:green",error:"color:red"};this.s=function(e,t){e=r(e,!1);t=r(t,!1);if(e){if(t!==!1){sessionStorage.setItem(i,t);this.d=t}}if(t===!1&&i in sessionStorage){this.sd(sessionStorage.getItem(i))}if(s===u){s=GDPR_LC.console}this.i()};this.i=function(){var e=this.gd();if(e!==!1&&e!==u){e=e.toLowerCase();console.log("##################### BEECLEVER GMBH KOBLENZ #####################"+"\n DEBUG MODE "+e.toUpperCase()+"\n reset console mode with command GDPR_LC.console.reset()");if(e==="any"){this.oc("log");this.oc("error")}else{this.oc(e)}}};this.pmh=function(e,t,i){if(this.gd()===e||this.gd()==="any"){this.mo(t,i,e)}else{this.po(e,[t,i])}};this.bc_l=function(e,t){this.pmh("log",e,t)};this.e=function(e,t){this.pmh("error",e,t)};this.oc=function(i){var n=o.m;if(s!==u&&n!==u){v(n[i]).forEach(function(e){var t=n[i][e];if(t!==u){mo(t[0],t[1],i);delete n[i][e]}})}};this.mo=function(e,t,i){i=r(i,!1);if(this.gd()!==!1){console.log("%c### "+e,this.dc[i]);if(t!==u){console.log("%c"+t,this.dc[i])}}};this.po=function(e,t){if(e!==u&&e!==null&&e!==""&&typeof e==="string"){var i=Date.now();if(this.m[e]!==u){this.m[e][i]=t}else{this.m[e]={};this.m[e][i]=t}}};this.sd=function(e){this.d=e};this.gd=function(){return this.d};this.r=function(){sessionStorage.removeItem(i)};this.s();return{start:function(e,t){if(o!==u&&o.s!==u&&typeof o.s==="function"){o.s(e,t)}},reset:function(){if(o!==u&&o.r!==u&&typeof o.r==="function"){o.r()}},log:function(e,t){if(o!==u&&o.bc_l!==u&&typeof o.bc_l==="function"){o.bc_l(e,t)}},error:function(e,t){if(o!==u&&o.e!==u&&typeof o.e==="function"){o.e(e,t)}}}}();var e=!1,l=document,p=window,f=GDPR_LC,u=undefined,d=null,n="object",i=sessionStorage,a=localStorage,c={1:"BC_GDPR_2ce3a13160348f524c8cc9",2:"BC_GDPR_CustomScriptForShop",3:"_GDPR_VAL",4:"bc_tagManagerTasks",5:"bc_tagManagerData",6:"customCookies",7:"GDPR_LC_Version",8:"GDPR_googleFacebookPixelCustomSourceTagManager",9:"GDPR_legal_cookie",S:"Shopify",s:"shopify"};var o=function(e){var t=!1;try{t=JSON.parse(e)}catch(e){GDPR_LC.console.error("$JP",m)}return t};var s=function(e,t){var i=!1;t=r(t,!1);if(!!t){try{i=JSON.stringify(e)}catch(e){GDPR_LC.console.error("$JS",e)}}return i};var t=function(e,t){return o(t.getItem(e))};var _=function(e,t,i){if(typeof t===n){t=s(t,!0)}i.setItem(e,t)};var h=function(e,t){_(e,t,i)};var y=function(e){return t(e,i)};var g=function(e,t){_(e,t,a)};var C=function(e){return t(e,a)};var b=function(e){a.removeItem(e)};var k=function(e,t){return e.querySelector(t)};var S=function(e,t){return Array.from(e.querySelectorAll(t))};var v=function(e){if(typeof e!=="object"||e===null){return!1}return Object.keys(e)};var w=function(e,t,i){t=r(t,!1);i=r(i,"flex");if(t&&e!==null){e.style.opacity=1;e.style.display=i;e.style.visibility="visible"}else if(!t&&e!==null){e.style.opacity=0;e.style.display="none";e.style.visibility="hidden"}};var D=function(){return BC_JSON_ObjectBypass!==u&&BC_JSON_ObjectBypass["_bc_c_set"]!==u&&BC_JSON_ObjectBypass["_bc_c_set"]["ShopifyMinConsent"]!==u&&BC_JSON_ObjectBypass["_bc_c_set"]["ShopifyMinConsent"]===true};window.GDPR_whiteList=window.GDPR_whiteList||Object.keys(U);function P(t){var i=false;window.GDPR_whiteList.forEach(function(e){if(e===t){i=true}});return i}var G={set:function(e,t){l.cookie=e+t},remove:function(t){var e=0,i=t in f.docCookies,n,o=[],s=p[c[3]].global.domains;o=location.pathname.split("/");o[0]="/";n=o.shift();while(i&&e<3){if(location.host.includes("myshopify.com")){G.set(t,"=;expires=Thuu, 01 Jan 1970 00:00:01 GMT;SameSite=None; Secure;");G.set(t,"=;path=/;expires=Thu, 01 Jan 1970 00:00:01 GMT;SameSite=None; Secure;");G.set(t,"=;path="+n+"; domain=.myshopify.com;expires=Thu, 01 Jan 1970 00:00:01 GMT;SameSite=None; Secure;")}else{s.forEach(function(e){G.set(t,"=;expires=Thu, 01 Jan 1970 00:00:01 GMT;SameSite=None; Secure;");G.set(t,"=;path=/;expires=Thu, 01 Jan 1970 00:00:01 GMT;SameSite=None; Secure;");G.set(t,"=;path="+n+"; domain="+e+";expires=Thu, 01 Jan 1970 00:00:01 GMT;SameSite=None; Secure;")})}f.setCookiesFromDocument();i=t in f.docCookies;if(i){e++}else{break}n+=o.shift()+"/"}var r="remove";if(i){r="not removed"}GDPR_LC.console.log("Cookie => "+r,t)}};e=!0;if(e||!1){(function(){if(!("remove"in Element.prototype)){Element.prototype.remove=function(){if(this.parentNode){this.parentNode.removeChild(this)}}}var a=window.$bc_polyfills||{};a.scope={};a.arrayIteratorImpl=function(e){var t=0;return function(){return tt&&(t=Math.max(t+n,0));t Custom scripts: "+t+" is not a function. Please check, in theme snippets => load-metafields.liquid, the name from custom function, and from custom cookie.","color:red;font-size:bold")}}}catch(e){console.log("%cGDPR Legal Cookie => Custom scripts: "+t+" is not a valid function. Please check the custom function.","color:red")}})}}}R()}(function(){var e=!1;if(v(p[c[1]]).length===0&&c[1]in a){e=C(c[1]);if(!!e){p[c["1"]]=e}}if(v(p[c[5]]).length===0&&c[5]in a){e=C(c[5]);if(!!e){p[c[5]]=e}}if(v(p[c[6]]).length===0&&c[6]in a){e=C(c[6]);if(!!e){p[c[6]]=e}}if(v(p[c[4]]).length===0&&c[4]in a){e=C(c[4]);if(!!e){p[c[4]]=e}}if(typeof p[c[2]]!=="function"&&c[2]in a){e=localStorage.getItem(c[2]);if(e!=="[null]"){if(!!e){if(p.BC_GDPR_LEGAL_custom_cookies===u){p.BC_GDPR_LEGAL_custom_cookies=GDPR_LC.Cookies}L();e=e.replace("function "+c[2]+" () {","");e=e.substr(0,e.length-1);p[c[2]]=new Function(e)()}}}if("GDPR_legal_cookie"in a){if(p.GDPR_LC===u){p.GDPR_LC={}}if(p.GDPR_LC.Cookies===u){p.GDPR_LC.Cookies={}}if(p.GDPR_LC.Cookies.list){p.GDPR_LC.Cookies.list=C("GDPR_legal_cookie")}}})();f.localStorageDataExist=c[9]in a;!function(){if(p.GDPR_LC_Banner===u){!function(){var e=k(l,"div#banner-wrapper");if(e!==d){w(e,!1)}}()}}();f.g={groupFilter:function(){var t=[];if(p.thirdPartyScriptDefinition!==u){p.thirdPartyScriptDefinition.forEach(function(e){if(e.group!==undefined){if(!t.includes(e.group)){t.push(e.group)}}})}return t},defineDynamicGroup:function(){var e=this.groupFilter();if(e.length>0){e.forEach(function(e){if(!f.g.cG.hasOwnProperty(e)){f.g.cG[e]={}}f.g.setDynamicCookiesToGroup(e)})}},getGroupObject:function(e,t){var i={},n=t.cookie;i.group=e;i.selected=t.declaration>0?!1:!0;if(document.location.host!==t.domain){n=t.cookie+"$%bc%$"+t.domain}return{name:n,cObject:i}},setDynamicCookiesToGroup:function(i){if(p.thirdPartyScriptDefinition!==u){p.thirdPartyScriptDefinition.forEach(function(e){if(e.group!==undefined&&e.group===i){var t=f.g.getGroupObject(i,e);f.g.cG[i][t.name]=t.cObject}})}},c:function(e){var t=f.g.cHG(e);if(t!==!1){if(GDPR_LC.Cookies!==u&&GDPR_LC.Cookies.list!==u){var i=v(t);var n=v(t[i]);var o=f.g.cUc(e);this.setUserConsentForCookieGroup(i,n,o);if(t[c.S]!==u){return{shopifyTracking:o}}}return!0}return!1},setUserConsentForCookieGroup:function(i,e,n){e.forEach(function(e){if(GDPR_LC.Cookies.list[e]!==u){var t=f.g.gN(e);if(t!==!1){t.checked=n}}f.g.cG[i][e].selected=n})},gN:function(e){var t=k(l,'#banner-wrapper .banner-body__content [id="input_'+e+'"]');if(t===d){GDPR_LC.console.error("GDPR_LC.groups => getCookieNode > node _","#input_"+e);return!1}return t},cUc:function(e){var t=f.g.gN(e);var i=!1;if(t!==!1){i=t.checked}return i},cHG:function(e){var t=v(f.g.cG);var i=!1;for(var n=0;n1e3){GDPR_LC.lastConsentSetting=Date.now();if(window?.Shopify?.customerPrivacy?.setTrackingConsent&&GDPR_LC.userConsentSetting){const t=function(t){if(typeof GDPR_LC?.userConsentSetting?.type_0==="object"){if(typeof GDPR_LC.userConsentSetting[t]==="object"){return!GDPR_LC.userConsentSetting[t].false&&!!GDPR_LC.userConsentSetting[t].true}return false}return Object.keys(GDPR_LC.Cookies.list).filter(e=>GDPR_LC.Cookies.list[e].type===t&&!GDPR_LC.Cookies.list[e].userSetting).length===0};const i={analytics:t("type_1"),marketing:t("type_2"),sale_of_data:t("type_2"),preferences:t("type_0")};window.Shopify.customerPrivacy.setTrackingConsent(i,()=>{})}}}catch(e){GDPR_LC.console.error("GDPR_LC.ShopifyConsentTracking => setTrackingConsent",e)}},gTC:function(){try{if(f.SCT.tCI){return p[c.S].trackingConsent.gTC()!=="no_interaction"}}catch(e){GDPR_LC.console.error("GDPR_LC.ShopifyConsentTracking => getTrackingConsent",e)}return!1},hasMinConsent:function(){var e=false;if(D()){if(GDPR_LC!==u&&GDPR_LC.userConsentSetting!==null&&GDPR_LC.userConsentSetting.type_1!==null&&GDPR_LC.userConsentSetting.type_1.true!==null){e=GDPR_LC.userConsentSetting.type_1.true===1}if(GDPR_LC!==u&&GDPR_LC.userConsentSetting!==null&&GDPR_LC.userConsentSetting.type_2!==null&&GDPR_LC.userConsentSetting.type_2.true!==null){e=GDPR_LC.userConsentSetting.type_2.true===1||e===true}}return e},uCT:function(){try{if(f.SCT.tCI||f.SCT.hasMinConsent()){return p[c.S].trackingConsent.userCanBeTracked()}}catch(e){GDPR_LC.console.error("GDPR_LC.ShopifyConsentTracking => userCanBeTracked",e)}return!1},cTCI:function(){if(p[c.S]!==u){if(p[c.S].trackingConsent!==u){return!0}}return!1}};f.ShopifyTrekkie=function(){var e=f.SCT.gUT();var t=o();GDPR_LC.SCT.sTC(t);var i=!1;if(e===!0&&t){var n=e.userCanBeTracked&&e.userTrackingConsent;if(n&&t){i=!0}}else if(t){i=!0}else{GDPR_LC.SCT.sTC(!1)}if(i){r()}function o(){if(D()){return f.SCT.hasMinConsent()}var t=!1,i="userSetting",n=!1;var e=v(GDPR_LC.g.cG[c.s]);if(GDPR_LC.Cookies===u){if("GDPR_legal_cookie"in a){n=C("GDPR_legal_cookie")}}if(GDPR_LC.Cookies!==u&&GDPR_LC.Cookies.list!==u&&GDPR_LC.Cookies.list!==null){n=GDPR_LC.Cookies.list}if(n!==!1&&e!==u){var o=v(n);e.forEach(function(e){if(!!n[e]&&n[e][i]&&n[e]!==u){t=!0}})}if(t===false&&window.GDPR_LC.userConsentSetting!==null&&window.GDPR_LC.userConsentSetting!==undefined){var s=window.GDPR_LC.userConsentSetting;var r=false;if(s.type_1!==null&&s.type_1.false!==undefined&&s.type_1.false===0||s.type_2!==undefined&&s.type_2.false!==undefined&&s.type_2.false===0){r=true}t=r}return t}function s(){var t=!1;S(l,"script.analytics").filter(function(e){if(e.innerHTML.indexOf("trekkie")!==-1){t=e}});if(t===!1){GDPR_LC.console.error("GDPR_LC.ShopifyTrekkie => getTrekkieScript > not found Shopify trekkie script:","script.analytics")}return t}function r(){var e=s();if(e!==!1&&typeof ShopifyAnalytics.lib.integrations!=="object"){delete window.trekkie;GDPR_LC.console.log("shopify trekkie re-init");var t=new Function(e.innerHTML.toString());t()}}};GDPR_LC.ShopifyTrekkie();GDPR_googleFacebookPixelCustomSourceTagManagerTrackData=GDPR_googleFacebookPixelCustomSourceTagManagerTrackData||{};if(p._GDPR_TREKKI===undefined){p._GDPR_TREKKI={}}(function e(){p._GDPR_TREKKI.update=function(){var i={};v(p._GDPR_TREKKI).forEach(function(e){var t={};t[e]=p._GDPR_TREKKI[e];Object.assign(i,t)});h("_GDPR_TREKKI",i);p._GDPR_TREKKI.resetFromSession()};p._GDPR_TREKKI.resetFromSession=function(){var t={};if("_GDPR_TREKKI"in sessionStorage){t=y("_GDPR_TREKKI")}if(!!t){v(t).forEach(function(e){p._GDPR_TREKKI[e]=t[e]})}}})();l.bc_timer=p.performance.now();l.bc_timestamp=Date.now();l._GDPR_Setting={scriptPath:"https://gdpr-legal-cookie.beeclever.app"};p[c[3]]=p[c[3]]={global:{exprire_BC_COOKIE:30,localStorage:"GDPR_legal_cookie",delExpires:new Date(1e3).toUTCString(),expires:864e5,defaultSetting:0,defaltInterval:100,defaultIntervalMaxLength:1e3,defaultCountIterate:5,defaultEndIterate:15,defaultTimerCount:60,currentIteration:0,hasSetting:!1,domains:["www."+location.host.replace("www.",""),".www."+location.host.replace("www.","")],bannerIsSet:!1,timerIsSet:!1,customScriptSet:!1,googleSet:!1,facebookSet:!1,googleElements:[],flags:{},checkCookieStackInit:!1,inProgress:false,bannerOpen:false},Defaults:{providerDefaults:{0:"Shop provider",1:"Third-Party"},recommendationDefaults:{0:"Essential",1:"Statistik",2:"Marketing"},duration:"Session"},Cookie:{emptyDescription:"",defaultOwner:"Shopify",defaultRecommendation:0,defaultDuration:"Session",defaultRecommendationUnknowCookie:2,translations:{default:{type_0:"Essentiell",type_1:"Analytics & Marketing"},type_0:"Essentiell",type_1:"Analytics",type_2:"Marketing"}},const:{GDPR_legal_cookie_setList:!1,GDPR_legal_cookie:{list:{cookieList:[]}},observedElements:[],GDPR_banner_wrapper:d,GDPR_cookie_banner_flag:d,GDPR_cookie_tabs:d,GDPR_cookie_event:{isSet:!1}},extensions:{bc_XMLRequests:{isLoaded:!1,path:l._GDPR_Setting.scriptPath+"/js/extensions/xmlRequest.js"},bc_GDPR_TREKKI:{isLoaded:!1,path:l._GDPR_Setting.scriptPath+"/js/extensions/GDPR_trekkie.js"},GDPR_googleFacebookPixelCustomSourceTagManager:{isLoaded:!1,path:l._GDPR_Setting.scriptPath+"/js/extensions/"+c[8]+".js"}},log:{level_1:[]}};f.docCookies={};GDPR_LC.Cookies=GDPR_LC.Cookies||{};GDPR_LC.Cookies.list=GDPR_LC.Cookies.list||{};f.setCookiesFromDocument=d;f.setDocCookies=d;!function(){var e=l.location.host.split(".");e[e.length-2]=e[e.length-2]+"."+e.pop();var t=e.pop();function i(e){p[c[3]].global.domains.push(e)}i(t);i("."+t);while(e.length>0){t=e.pop()+"."+t;i(t);i("."+t)}}();window._GDPR_TREKKI.resetFromSession();window.GDPR_HELPER={saveAndUpdateData:function(){if(_GDPR_VAL.global.bannerOpen===false&&_GDPR_VAL.global.inProgress===false){_GDPR_VAL.global.inProgress=!0;g("GDPR_legal_cookie",GDPR_LC.Cookies.list);_GDPR_VAL.global.inProgress=!1}},scriptExist:function(t){S(l,"script").forEach(function(e){if(e.hasAttribute("src")&&e.getAttribute("src")!==d){if(e.getAttribute("src").includes(t)){return!0}}});return!1},loadScript:function e(t,i,n){n=r(n,!0);i=i+t;if(p.GDPR_HELPER.scriptExist(i)===!1){var o=l.createElement("script");o.async=n;o.setAttribute("whiteListed",!0);o.src=i;l.head.appendChild(o)}},loadExtensions:function e(){if(bc_tagManagerData.facebook.load.params===undefined&&bc_tagManagerData.google.load.params.length===0){return}var i=!1;var t=p[c[3]].extensions[c[8]];if(!t.isLoaded&&GDPR_LC.Cookies!==u&&GDPR_LC.Cookies.list!==u){var n=v(p[c[4]])||[];n.forEach(function(e){var t=GDPR_LC.Cookies.list[e];if(t!==u&&t.userSetting&&t.name!=="_bc_c_set"){i=!0}});if(i&&!p.GDPR_HELPER.scriptExist(t.path)){p.GDPR_HELPER.loadScript(t.path,"",!1);t.isLoaded=!0}var o=setInterval(function(){if(typeof GDPR_googleFacebookPixelCustomSourceTagManager==="function"){GDPR_googleFacebookPixelCustomSourceTagManager("any");clearInterval(o)}},200)}}};(function(){GDPR_LC.Cookies.settingExist=!1;GDPR_LC.Cookies.getSettingExist=function(){return GDPR_LC.Cookies.settingExist};GDPR_LC.Cookies.setSettingExist=function(e){GDPR_LC.Cookies.settingExist=e};GDPR_LC.Cookies.cookieTypes=[];GDPR_LC.Cookies.setCookieTypes=function(e){var t=!1;for(var i=0;i0;){--t;var i=e[t],n=i.indexOf("=");if(n!==-1){var o=i.substring(0,n).replace(/\s+/g,"");f.docCookies[o]=i.substring(n+1).replace(/\s+/g,"")}}}};f.setCookiesFromDocument=function(){f.setDocCookies();for(var e in f.docCookies){var t=GDPR_LC.Cookies.list[e],i={},n="value",o="update",s="isDocumentCookie";i[n]=f.docCookies[e];if(t===u){GDPR_LC.console.log("new document Cookie",e);new x(e,i,!0)}else if(t[n]!==i[n]){if(t[o]!==u){t[o](n,i[n]);t[o](s,!0)}}}};var T={shopifyCookies:v(GDPR_LC.g.cG.shopify),customizerCookies:["_design_overrides_token","identity-state","preview_theme","new_theme_editor_disabled","request_method","online_store_editor_user_locale"],cookieList:[],pushToWhitList:function(){this.createCookieList();this.push(this.cookieList,window.GDPR_whiteList)},resetDefault:function(){if(GDPR_LC.Cookies.list[this.customizerCookies[0]]!==u){this.customizerCookies.forEach(function(e){delete GDPR_LC.Cookies.list[e]})}},createCookieList:function(){window.GDPR_whiteList=window.GDPR_whiteList||[];this.push(this.shopifyCookies,this.cookieList);this.push(this.customizerCookies,this.cookieList)},push:function(e,t){e.forEach(function(e){t.push(e)})}};T.createCookieList();if(window.Shopify!==u&&Shopify.preview_host!==u){T.pushToWhitList()}function E(e){if(window.GDPR_LC.userConsentSetting!==null&&window.GDPR_LC.userConsentSetting[e.type]!==undefined){if(window.GDPR_LC.userConsentSetting[e.type].true===1&&window.GDPR_LC.userConsentSetting[e.type].false===0){return!0}else{return!1}}else{return e.userSetting}}var x=function e(t,i,n){let o=false;window.GDPR_whiteList.forEach(function(e){if(e===t){o=true}else{if(e.includes("<>")){if(t.startsWith(e.split("<>")[0])){o=true;if(!!U[e]||!!BC_JSON_ObjectBypass[e]){i=Object.assign(i,U[e]||BC_JSON_ObjectBypass[e])}}}}});this.name=t;this.value="";if(i.value!==u&&i.value!==u){this.value=i.value}this.description=i.description||"";this.domain=i.domain||l.location.hostname;this.duration=i.duration||"Session";this.expires=i.expires||0;this.secure="";if(i.secure!==undefined){this.secure=i.secure}this.sameSite=i.sameSite||"Lax";this.lastChange=i.lastChange||Date.now();this.path=i.path||"/";this.provider=i.provider||"Third-party";this.recommendation=2;if(i.recommendation!==undefined){this.recommendation=parseInt(i.recommendation)}this.countRecursions=0;this.set=2;if(i.set!==u){this.set=+i.set}this.type=i.type||"type_"+this.set;if(i.type!==undefined&&i.type!=="type_"+this.set){this.type="type_"+this.set}this.isDocumentCookie=n;if(!GDPR_LC.Cookies.includesType(this.type)){GDPR_LC.Cookies.cookieTypes.push(this.type)}if(BC_JSON_ObjectBypass._bc_c_set!==u&&(BC_JSON_ObjectBypass._bc_c_set.optIn==="!1"||BC_JSON_ObjectBypass._bc_c_set.optIn===!1)){this.userSetting=!0}else{if(i.userSetting===!0){this.userSetting=!0}else{this.userSetting=+this.set===0}}if(GDPR_LC.Cookies!==u&&!this.userSetting&&GDPR_LC.Cookies.list!==u&&GDPR_LC.Cookies.list._bc_c_set!==u){var s=GDPR_LC.Cookies.list._bc_c_set;if(s.type_all!==u){this.userSetting=s.type_all}else if(s[this.type]!==u){this.userSetting=s[this.type]}}if(t==="_bc_c_set"){var r=this;v(i).forEach(function(e){if(r[e]===u&&e!=="ShopifyMinConsent"){r[e]=i[e]}else if(e==="ShopifyMinConsent"){r[e]=window.BC_JSON_ObjectBypass._bc_c_set.ShopifyMinConsent||false}})}this.isInTab=!1;this.all=i.all||!1;GDPR_LC.Cookies.setCookieTypes=this.set;if(GDPR_LC.localStorageDataExist===false){this.userSetting=E(this)}GDPR_LC.Cookies.list[this.name.toString()]=this;this.remove()};x.prototype={setCountRecursions:function e(){this.countRecursions++},resetRecursion:function e(){this.countRecursions=0},update:function e(t,i,n){if(n===u){n=!1}if(i!==u&&this[t]!==u&&this[t].toString()!==i.toString()){this[t]=i;this.setUpdate(this.userSetting,n);window.GDPR_HELPER.saveAndUpdateData()}this.remove()},setUpdate:function e(t,i){i=i||!1;if(i){this.lastChange=Date.now();this.userSetting=t}},toString:function e(){var t="="+this.value+";",i="path="+this.path+";",n="",o="",s="",r="";if(this.domain!==u&&this.domain!==window.location.host){n="domain="+this.domain.replace("www.","")+";"}if(this.expires>0){o="max-age="+this.expires+";"}if(this.secure){s="Secure;"}if(this.sameSite){r="SameSite="+this.sameSite+";"}return t+i+n+o+s+r},remove:function e(){if(this.set===0||this.userSetting){return}G.remove(this.name);f.CookieStack.push(this.name)},recover:function e(){f.setCookiesFromDocument();if(this.name in f.docCookies&&this.name!=="_bc_c_set"){this.setUpdate(!0)}else{if(this.value!==""||this.isDocumentCookie||this.name==="_bc_c_set"){G.set(this.name,this.toString());GDPR_LC.console.log("Cookie => recover",this.name,this.toString())}}},getExpires:function e(){var t="Session";if(this.expires!=d&&parseInt(this.expires)!==0){var i=parseInt(this.expires);var n=Math.floor(i/(3600*24));i-=n*3600*24;var o=Math.floor(i/3600);i-=o*3600;var s=Math.floor(i/60);i-=s*60;t="";if(n!==0){t=n+"d"}else if(o>0){t=o+"h"}else if(s>0){t=s+"m"}else if(i>0){t=i+"s"}}return t},template:function e(t,i){var n=GDPR_LC.g.cHG(this.name),o=data_gdpr_legal_banner_content,s="",r="",a="",c="",e="",l,d=this.name;if(this.userSetting){s=='checked=""'}if(+this.set>0){r=""+""+o.buttons.accept_single+""+''+'
'+'"+"
"+""+""}if(n!==!1){a=""+"Group"+""+v(n)[0]+""+""}if(v(n)[0]&&v(n)[0].includes("google")){if(!o.hasOwnProperty("google_privacy_label")){o.google_privacy_label="More information"}if(!o.hasOwnProperty("google_privacy_link_title")){o.google_privacy_link_title="Privacy at Google"}c=""+""+o.google_privacy_label+""+''+o.google_privacy_link_title+""+""}if(this.name.indexOf("$%bc%$")!==-1){d=this.name.split("$%bc%$")[0]}l=o.tabs.domain!==undefined?o.tabs.domain:"Domain";let p=this.provider;let f=i[this.name]?.description||this.description||" ";let u=this.getExpires();return`${r}${a||""}${c||""}
${o.tabs.name}
${o.tabs.provider}${p}
${o.tabs.description}${f}
${l}${this.domain}
${o.tabs.duration}${u}
`}};l.Cookie=l.Cookie||x;f.CookieStackFunction=function(){this.size=0;this.cookies={}};f.CookieStackFunction.prototype={delete:function e(t){var i=f.CookieStack;delete i.cookies[t];i.setSize()},includes:function e(t){return t.toString()in f.CookieStack.cookies},size:function e(){return f.CookieStack.size},setSize:function e(){f.CookieStack.size=Array.from(Object.keys(f.CookieStack.cookies)).length},push:function e(t){if(t==="_bc_c_set"){return}var i=f.CookieStack;if(!(t in i.cookies)){i.cookies[t.replace(/\s+/g,"")]=!1;i.setSize()}},checkStack:function e(){if(!p[c[3]].global.checkCookieStackInit){p[c[3]].global.checkCookieStackInit=!0;f.setCookiesFromDocument();var t=f.CookieStack,i=GDPR_LC.Cookies.list;v(t.cookies).forEach(function(e){t.updateCookieStack(e);if(e in i){if(i[e].userSetting){t["delete"](e)}else{i[e].remove()}}if(!e in GDPR_LC.docCookies){t["delete"](e)}});p[c[3]].global.checkCookieStackInit=!1}},scriptAddOnload:function e(){for(var t in f.srcList){var i=k(l,'[src="'+t+'"]');if(i!==d){delete f.srcList[t];f.CookieStack.checkStack("init from script tag")}}},updateCookieStack:function e(t){var i=f.CookieStack,n=GDPR_LC.Cookies.list[t.replace(/\s+/g,"")],o=i.includes(t);if(!(t in f.docCookies)){if(o){i["delete"](t)}if(n!==u&&n.setUpdate!==u){n.setUpdate(!1)}}else{if(!o){i.push(t)}if(n.countRecursions<3){n.remove();n.setCountRecursions()}}}};f.CookieStack=new f.CookieStackFunction;var I=function(){b(c[2]);b(c[3]);b(c[1]);b(c[4]);b(c[6]);b(c[5]);b(c[8]);b("GDPR_Trekkie");b(c[7]);console.log("Update GDPR_legal_cookie LocalStorage element");return!0};(function(){(function(){for(var e in BC_JSON_ObjectBypass){if(!GDPR_LC.Cookies.list.hasOwnProperty(e)){new x(e,BC_JSON_ObjectBypass[e],!1)}}})();(function(){if(p.thirdPartyScriptDefinition!==u){var e=document.location.host;for(var t=p.thirdPartyScriptDefinition.length-1;t>0;t--){var i=p.thirdPartyScriptDefinition[t];var n=i.cookie;var o=i.provider||"";var s=i.description||"";var r=i.domain;var a=i.expires||0;var c=i.expires||0;var l=i.declaration;if(e!==r){n=n+"$%bc%$"+r}GDPR_LC.console.log("name",n,"domain",r,"cookieName",n);if(!GDPR_LC.Cookies.list.hasOwnProperty(n)){var d={};d.provider=o;d.description=s;d.domain=r;d.expires=a;d.duration=c;d.set=l;new x(n,d,!1)}else{continue}}f.thirdPartyScriptsIsSet=true}})();(function(){if("GDPR_legal_cookie"in localStorage){var i=JSON.parse(localStorage.getItem("GDPR_legal_cookie"));Array.from(Object.keys(i)).forEach(function(e){var t=e.toString();new x(t,i[t],false)})}})();if(window.Shopify!==u&&Shopify.preview_host===undefined){T.resetDefault()}GDPR_LC.setCookiesFromDocument()})();var B=function e(){this.shopifyTrekkieIsInit=!1;this.defaultTime=30;this.maxTime=2e3;this.timerIsSet=!1;this.iterateTimer=d;this.runs=0;this.maxRuns=3};B.prototype={start:function e(){if(l.CookieHandler.timerIsSet===!1){l.CookieHandler.TimeOutManager()}},reset:function e(){l.bc_timer=p.performance.now();l.CookieHandler.runs=0;l.CookieHandler.defaultTime=100;if(l.CookieHandler.timerIsSet===!1){l.CookieHandler.start()}},Timer:function e(){if(!l.CookieHandler.timerIsSet){l.CookieHandler.timerIsSet=!0;var t=l.CookieHandler.defaultTime;var i=setInterval(function(){f.CookieStack.checkStack();l.CookieHandler.currentIteration++;if(l.CookieHandler.runs0){if(l.CookieHandler.runs>0){l.CookieHandler.runs--}else{l.CookieHandler.runs=0}}else{l.CookieHandler.runs=l.CookieHandler.maxRuns}clearInterval(i);t+=t/2;l.CookieHandler.TimeOutManager()}else{window.GDPR_HELPER.saveAndUpdateData();clearInterval(i)}},t)}},TimeOutManager:function e(){if(!l.CookieHandler.timerIsSet){if(l.CookieHandler.defaultTime>l.CookieHandler.maxTime){return}l.CookieHandler.timerIsSet=!1;l.CookieHandler.Timer()}}};l.CookieHandler=new B;l.CookieHandler.start();f.banner=function(){this.banner=k(l,"div#banner-wrapper");this.node_banner_flag=k(l,"div#cookie-banner_flag");this.node_banner_tagWithLink=S(l,"a").filter(function(e){if(e.getAttribute("href")!==null&&e.getAttribute("href").toUpperCase().match(/\/\?ID=GDPR_769769DD5C4DA8EFB4D18BF16CA2C677/i)){return e}});this.node_tab=k(this.banner,".banner-body__content .tabs");this.node_essential=k(this.banner,".cookie_tab__wrapper.essential");this.node_marketing=k(this.banner,".cookie_tab__wrapper.marketing");this.node_toggleButtonSelectAll=k(this.banner,"#input_all_cookies");this.button_all=k(this.banner,"#all_accept");this.button_essenc=k(this.banner,"#essential_accept");this.button_checkAll=k(this.banner,'[for="input_all_cookies"]');this.node_saveButton=k(this.banner,".btn-manage__save");this.node_individualSettings=k(this.banner,".btn-manage");this.countEssentialCookies=0;this.countMarketingCookies=0;this.countSelectedCookie=0;this.hasSelected=!1;this.optIn=BC_JSON_ObjectBypass._bc_c_set.optIn;this.tabTypes={};this.selectedCookies=[];this.shopifyTracking=!1;this.userSettingType=0;this.selectedCookiesIncludes=function(t){this.selectedCookies.forEach(function(e){if(e===t){return!0}});return!1};setTimeout(function(){window.GDPR_LC_Banner.init()},200)};f.banner.prototype={init:function(){if(window.Shopify!==u&&Shopify.preview_host===undefined){T.resetDefault()}this.hiddenAllElements();this.setTagWithLinkAttributes();if(!p[c[3]]["const"].GDPR_cookie_event.isSet){this.banner.style.top=0;this.banner.style.left=0;this.eventForIndividualSetting();this.eventForSave();this.eventForEssentialSetting();this.eventForAcceptAllSetting();this.addEvents();p[c[3]]["const"].GDPR_cookie_event.isSet=!0;this.generateBannerContent();this.replaceBeecleverLink();f.CookieStack.checkStack()}},replaceBeecleverLink:function(){var e=document.querySelector('[href="https://gdpr-legal-cookie.myshopify.com/"]');if(e!==null&&e.innerText.indexOf("beeclever")!==-1){e.parentElement.innerHTML='GDPR legal Cookie'}},shopifyMinConsentHiddenElements:function(){if(BC_JSON_ObjectBypass["_bc_c_set"]["ShopifyMinConsent"]){var e=document.querySelectorAll("#banner-wrapper .toggle");var t=document.querySelectorAll("#banner-wrapper #dynamicrows_type_1 tr:nth-child(1)");var i=document.querySelectorAll("#banner-wrapper #dynamicrows_type_2 tr:nth-child(1)");function n(e){Array.from(e).forEach(function(e){e.style.display="none"})}n(e);n(t);n(i)}},generateBannerContent:function(){this.setTabTypes();if(data_gdpr_legal_banner_content!==undefined){this.generateDynamicTypeHeader();this.generateDynamicContent();setTimeout(function(){window.GDPR_LC_Banner.setCookieCounters();window.GDPR_LC_Banner.shopifyMinConsentHiddenElements()},50)}this.setInputsFromUserSetting();this.checkHasSettings()},resetBanner:function(){v(GDPR_LC.Cookies.list).forEach(function(e){GDPR_LC.Cookies.list[e].isInTab=false});this.tabTypes={};this.generateBannerContent();this.helpers.setVisibility(this.banner,!0)},addEvents:function(){this.node_banner_flag&&this.node_banner_flag.addEventListener("click",function(){window.GDPR_LC_Banner.toggleBanner(!0)})},toggleBanner:function(e){if(e){setTimeout(function(){(function(){window.GDPR_LC_Banner.checkHasNewCookiesForBanner()})()},10)}this.helpers.setVisibility(this.banner,e);if(this.node_banner_tagWithLink.length===0){this.helpers.setVisibility(this.node_banner_flag,!e)}},checkHasSettings:function(){if(window.GDPR_LC_checkHasSettings===undefined){var e=0;var t=window.GDPR_LC.userConsentSetting!==null&&window.GDPR_LC.userConsentSetting.version!==undefined?window.GDPR_LC.userConsentSetting.version:C("GDPR_LC_Version");var i=Date.now();var n=2592e6;var o=false;function s(){e=window.GDPR_LC.userConsentSetting!==null&&window.GDPR_LC.userConsentSetting.date!==undefined?window.GDPR_LC.userConsentSetting.date:0}s();if(t!==null&&O>+t){if(window.GDPR_LC.userConsentSetting!==null){I();o=true}else{j(true);M();s()}}if(window.GDPR_LC.userConsentSetting===null){o=true}if(i-e>n){o=true}var r=S(this.banner,".banner-footer a");r.forEach(function(e){if(e.hasAttribute("href")){if(e.getAttribute("href")===document.location.pathname){o=false}}});this.toggleBanner(o);window.GDPR_LC_checkHasSettings=true}},setInputsFromUserSetting:function(){var e=this.helpers.getInputNodes();var s=!1;if(GDPR_LC.Cookies.list._bc_c_set.type_all!==u){s=GDPR_LC.Cookies.list._bc_c_set.type_all}e.forEach(function(e){if(e.getAttribute("onclick")===d){var t=e.getAttribute("name"),i=GDPR_LC.Cookies.list[t],n=!1,o=!1;if(t!==d&&i!==undefined){if(GDPR_LC.Cookies.list._bc_c_set[i.type]!==u){n=GDPR_LC.Cookies.list._bc_c_set[i.type]}if(s||n||i.userSetting){o=!0}e.checked=o}}})},setTagWithLinkAttributes:function(){if(this.node_banner_tagWithLink.length>0){var e=this;this.node_banner_tagWithLink.forEach(function(e){e.setAttribute("data-bc_gdpr-linkTag","/?id=GDPR_769769dd5c4da8efb4d18bf16ca2c677");e.setAttribute("href","#banner-wrapper");e.classList.add("no-transition","js-no-transition")});Array.from(document.querySelectorAll("[data-bc_gdpr-linkTag]")).forEach(function(e){let t=e.cloneNode(true);e.parentElement.replaceChild(t,e);t.addEventListener("click",function(e){e.preventDefault();window.GDPR_LC_Banner.toggleBanner(!0)})})}},hiddenAllElements:function(){this.helpers.setVisibility(this.banner,!1);this.helpers.setVisibility(this.node_banner_flag,!1)},helpers:{setVisibility:function e(t,i,n){n=n||"flex";GDPR_LC_Banner.helpers.setBannerIsOpen(t,i);if(i&&t!==null){t.removeAttribute(t.getAttribute("hidden"));t.removeAttribute("hidden");w(t,!0,n)}else if(!i&&t!==null){w(t,!1,n)}},setBannerIsOpen:function(e,t){if(e==GDPR_LC_Banner.banner){window._GDPR_VAL.global.bannerOpen=t;if(!t&&!!GDPR_LC_Banner.fireCallback&&!window._GDPR_VAL.global.bannerOpen){GDPR_LC_Banner.fireCallback=false,document.dispatchEvent(new CustomEvent("bc_banner:banner_closed"))}else if(!t&&!GDPR_LC_Banner.fireCallback){GDPR_LC_Banner.fireCallback=true}}},getInputNodes:function e(){return S(l,"#banner-wrapper .banner-body__content > .tabs input")}},setTabTypes:function(){var e=v(GDPR_LC.Cookies.list),n=!1,o=this.tabTypes;e.forEach(function(e){var t=GDPR_LC.Cookies.list[e];if(t.type!==undefined){var i=!1;v(o).forEach(function(e){if(e===t.set){i=!0}});if(!i&&o[t.set]===undefined){o[t.set]=t.type;n=!0}}});if(n){if(data_gdpr_legal_banner_content!==undefined&&data_gdpr_legal_banner_content.cookieType!==undefined){if(this.tabTypes[0]!==d&&this.tabTypes[0]!==undefined){this.tabTypes[0]=data_gdpr_legal_banner_content.cookieType.type_0}else{this.tabTypes[0]=d}if(this.tabTypes[1]!==d&&this.tabTypes[1]!==undefined){this.tabTypes[1]=data_gdpr_legal_banner_content.cookieType.type_1}else{this.tabTypes[1]=d}if(this.tabTypes[2]!==d&&this.tabTypes[2]!==undefined){this.tabTypes[2]=data_gdpr_legal_banner_content.cookieType.type_2}else{this.tabTypes[2]=d}}else{if(this.tabTypes[0]!==d&&this.tabTypes[0]!==undefined){this.tabTypes[0]=p[c[3]].Cookie.translations.type_0}else{this.tabTypes[0]=d}if(this.tabTypes[1]!==d&&this.tabTypes[1]!==undefined){this.tabTypes[1]=p[c[3]].Cookie.translations.type_1}else{this.tabTypes[1]=d}if(this.tabTypes[2]!==d&&this.tabTypes[2]!==undefined){this.tabTypes[2]=p[c[3]].Cookie.translations.type_2}else{this.tabTypes[2]=false}}}else{Object.assign(this.tabTypes,JSON.parse('{ "0" : "'+p[c[3]].Cookie.translations.default.type_0+'" }'));Object.assign(this.tabTypes,JSON.parse('{ "1" : "'+p[c[3]].Cookie.translations.default.type_1+'" }'))}},generateDynamicTypeHeader:function(){var t=k(this.banner,".banner-main_header.list-type");t.innerHTML="";v(this.tabTypes).forEach(function(e){window.GDPR_LC_Banner.setDynamicTypeHeader(e,t)})},setDynamicTypeHeader:function(e,t){if(this.tabTypes[e]===d){return}var i=l.createElement("p");i.innerText=this.tabTypes[e].toString();t.appendChild(i)},generateDynamicContent:function(){var t=k(this.banner,".banner-body__content .tabs");t.innerHTML="";v(this.tabTypes).forEach(function(e){window.GDPR_LC_Banner.setDynamicContent(e,t)})},setDynamicContent:function(n,e){if(this.tabTypes[n]===d){return}var o=this.countEssentialCookies,t=!1,s=l.createElement("div"),r=!1,a=!1;v(GDPR_LC.Cookies.list).forEach(function(e){var t=GDPR_LC.Cookies.list[e];if(+t.set===+n&&!t.isInTab){var i=l.createElement("div");if(t.userSetting){r=!0}if(t.template===undefined){return}i.innerHTML=""+""+t.template(n,window.BC_JSON_ObjectBypass)+""+"
";s.appendChild(i);o++;t.isInTab=!0}if(t.name==="_bc_c_set"){if(t.type_all!==u){if(t.type_all||t[n]!==u&&t[n]){a=!0}}}});if(r||a){t='checked=""'}else{t=""}var i=l.createElement("div"),c="";if(+n===0){if(data_gdpr_legal_banner_content.essential!==u){c=data_gdpr_legal_banner_content.essential}else{c="Essential"}}else if(+n===1){if(data_gdpr_legal_banner_content.statistic!==u){c=data_gdpr_legal_banner_content.statistic}else if(data_gdpr_legal_banner_content.statistics!==u){c=data_gdpr_legal_banner_content.statistics}else{c="Statistics"}}else if(+n===2){if(data_gdpr_legal_banner_content.marketing!==u){c=data_gdpr_legal_banner_content.marketing}else{c="Marketing"}}i.setAttribute("class","cookie_tab__wrapper_header");i.innerHTML='

'+""+window.GDPR_LC_Banner.tabTypes[n]+""+"

"+"

"+c+"

";if(n>0){i.innerHTML+='
'+""+'"+"
"}i.innerHTML+="
"+''+data_gdpr_legal_banner_content.details+''+""+'"+"
";e.appendChild(i)},checkHasNewCookiesForBanner:function(){var t=!1;v(GDPR_LC.Cookies.list).forEach(function(e){if(!GDPR_LC.Cookies.list[e].isInTab){t=!0}});if(t){window.GDPR_LC_Banner.resetBanner()}},setCookieCounters:function(){for(var e in this.tabTypes){var t=[];var i=0;if(+e===0){t=S(l,"#banner-wrapper #dynamicrows_type_"+e+" div");k(l,"#banner-wrapper #summary_"+e+" .counter").innerText=" "+"("+" "+t.length+" "+")"}else{t=S(l,"#banner-wrapper #dynamicrows_type_"+e+" input");t.filter(function(e){if(e.checked){i++}});var n=k(l,"#banner-wrapper #summary_"+e+" .counter");if(n!==d){n.innerText=" "+"("+" "+i+" "+data_gdpr_legal_banner_content.buttons.how_many_are_accepted+" "+t.length+" "+")"}else{GDPR_LC.console.log("setCookieCounter undefined node",e)}}}},checkCheckboxChange:function(e){if(e.hasAttribute("data-dynamicrows")){this.shopifyTracking=GDPR_LC.g.c(e.getAttribute("name"));var t=k(l,"#"+e.getAttribute("data-dynamicrows")),i=S(t," input").filter(function(e){if(e.hasAttribute("data-row")){return}return window.GDPR_LC_Banner.prepareRecoverCookies(e)});k(l,"#"+e.getAttribute("data-parent")).checked=i.length>0;GDPR_LC.console.log("Banner => checkCheckboxChange",i.length)}else{if(e.hasAttribute("data-row")){var n=S(l,"#"+e.getAttribute("data-row")+" input");var o=e.checked;var s=n.length;for(var r=0;r=0;i--){var n=window.scriptElementsHidden.splice(0,1)[0];if(Array.isArray(n)){e(n.src)}else if(n.hasAttribute("src")){e(n.getAttribute("src"))}}}},saveUserSettings:function(t){this.toggleBanner(!1);var e=window.GDPR_LC_Banner.helpers.getInputNodes(),i=v(f.docCookies),n=!1;function o(e,t){if(GDPR_LC.Cookies.list[e]!==u){t=GDPR_LC.Cookies.list[e].set===0?true:t;GDPR_LC.Cookies.list[e].update("userSetting",t,true);GDPR_LC.Cookies.list[e].update("isInTab",!1);if(t===!1){f.CookieStack.push(e)}else{f.CookieStack.delete(e)}if(!(GDPR_LC.Cookies.list[e].name in i)&&GDPR_LC.Cookies.list[e].userSetting){GDPR_LC.Cookies.list[e].recover()}else{GDPR_LC.Cookies.list[e].remove()}if(p[c[4]][e]!==u){n=!0}}}if(typeof t==="boolean"){Array.from(Object.keys(GDPR_LC.Cookies.list)).forEach(function(e){o(e,t)})}else{e.forEach(function(e){o(e.getAttribute("name"),e.checked)})}GDPR_LC.Cookies.list._bc_c_set.userSettingType=window.GDPR_LC_Banner.userSettingType;GDPR_LC.Cookies.list._bc_c_set.lastChange=Date.now();GDPR_LC.Cookies.list._bc_c_set.userConsent=true;g(c[7],O.toString());g("GDPR_legal_cookie",GDPR_LC.Cookies.list);window.GDPR_LC.DEBUGGER=window.GDPR_LC.DEBUGGER||[];window.GDPR_LC.DEBUGGER.push(GDPR_LC.Cookies.list);window.GDPR_HELPER.saveAndUpdateData();j();M();window.GDPR_LC_Banner.sendConsent();f.CookieStack.checkStack();l.CookieHandler.reset();GDPR_LC_Banner.reInitScripts();setTimeout(function(){GDPR_LC.ShopifyTrekkie();if(typeof p[c[2]]==="function"){L()}GDPR_HELPER.loadExtensions()},200)}};l.addEventListener("click",f.setCookiesFromDocument);p.onload=function(){f.CookieStack.checkStack()};var A=function(){if(window.Shopify!==u&&typeof Shopify.Checkout==="undefined"){g(c[2],p[c[2]]);g(c[3],p[c[3]]);g(c[1],p[c[1]]);g(c[4],p[c[4]]);g(c[5],p[c[5]]);g(c[6],p[c[6]]);if(typeof p[c[8]]!=="undefined"){g(c[8],p[c[8]].toString())}if(typeof GDPR_Trekkie!=="undefined"){g("GDPR_Trekkie",GDPR_Trekkie.toString())}}};A();if(window.Shopify!==u&&typeof Shopify.Checkout!=="undefined"){if(typeof Shopify.Checkout.step!=="undefined"){if(Shopify.Checkout.step==="thank_you"){p[c[4]]=C(c[4]);tagManagerKeys=v(p[c[4]]);p[c[5]]=C(c[5]);p[c[1]]=C(c[1])}}}L();if(_GDPR_VAL.stackIntervalIsSet===u){setInterval(function(){f.CookieStack.checkStack()},500);_GDPR_VAL.stackIntervalIsSet=true}Array.from(document.head.querySelectorAll('[bc_empty_script_tag=""]')).forEach(function(e){e.remove()})}})();document.addEventListener("DOMContentLoaded",function(){function r(t,e){var i;if(typeof Symbol==="undefined"||t[Symbol.iterator]==null){if(Array.isArray(t)||(i=c(t))||e&&t&&typeof t.length==="number"){if(i)t=i;var n=0;var o=function e(){};return{s:o,n:function e(){if(n>=t.length)return{done:true};return{done:false,value:t[n++]}},e:function e(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var s=true,r=false,a;return{s:function e(){i=t[Symbol.iterator]()},n:function e(){var t=i.next();s=t.done;return t},e:function e(t){r=true;a=t},f:function e(){try{if(!s&&i.return!=null)i.return()}finally{if(r)throw a}}}}function c(e,t){if(!e)return;if(typeof e==="string")return n(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);if(i==="Object"&&e.constructor)i=e.constructor.name;if(i==="Map"||i==="Set")return Array.from(e);if(i==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return n(e,t)}function n(e,t){if(t==null||t>e.length)t=e.length;for(var i=0,n=new Array(t);i{const t=e.detail.category;unblockCategoryIframes(t)});document.addEventListener("visitorConsentCollected",i=>{const n={marketingAllowed:"marketing",analyticsAllowed:"analytics",preferencesAllowed:"preferences"};Object.keys(n).forEach(e=>{if(i.detail[e]){const t=new CustomEvent("bc::UnblockIframesForCategory",{detail:{category:n[e]}});document.dispatchEvent(t)}})});function handleCategoryConsent(e){const t={analytics:"input_all_cookies_type_1",marketing:"input_all_cookies_type_2"};const i=t[e];if(!i){console.warn(`No button ID found for category: ${e}`);return}const n=document.getElementById(i);if(!n){console.error(`Button element not found for ID: ${i}`);return}const o=document.querySelector(".banner-main_buttons .btn-accept.btn-manage__save");if(!o){console.error("Save/Close button not found.");return}n.checked=true;if(window.GDPR_LC_Banner&&typeof window.GDPR_LC_Banner.checkCheckboxChange==="function"){window.GDPR_LC_Banner.checkCheckboxChange(n)}else{console.error("GDPR_LC_Banner or checkCheckboxChange function not found.");return}o.click()}