var privacyBanner=function(n){"use strict";var e=function(){return e=Object.assign||function(n){for(var e,t=1,o=arguments.length;t0&&r[r.length-1])||6!==c[0]&&2!==c[0])){a=0;continue}if(3===c[0]&&(!r||c[1]>r[0]&&c[1]n.length)&&(e=n.length);for(var t=0,o=Array(e);t3?(r=h===o)&&(s=a[(c=a[4])?5:(c=3,3)],a[4]=a[5]=n):a[0]<=f&&((r=t<2&&fo||o>h)&&(a[4]=t,a[5]=o,p.n=h,c=0))}if(r||t>1)return i;throw d=!0,o}return function(r,u,h){if(l>1)throw TypeError("Generator is already running");for(d&&1===u&&f(u,h),c=u,s=h;(e=c<2?n:s)||!d;){a||(c?c<3?(c>1&&(p.n=-1),f(c,s)):p.n=s:p.v=s);try{if(l=2,a){if(c||(r="next"),e=a[r]){if(!(e=e.call(a,s)))throw TypeError("iterator result is not an object");if(!e.done)return e;s=e.value,c<2&&(c=0)}else 1===c&&(e=a.return)&&e.call(a),c<2&&(s=TypeError("The iterator does not provide a '"+r+"' method"),c=1);a=n}else if((e=(d=p.n<0)?s:t.call(o,p))!==i)break}catch(e){a=n,c=1,s=e}finally{l=1}}return{value:e,done:d}}}(t,r,a),!0),l}var i={};function c(){}function s(){}function l(){}e=Object.getPrototypeOf;var u=[][o]?e(e([][o]())):(g(e={},o,(function(){return this})),e),d=l.prototype=c.prototype=Object.create(u);function p(n){return Object.setPrototypeOf?Object.setPrototypeOf(n,l):(n.__proto__=l,g(n,r,"GeneratorFunction")),n.prototype=Object.create(d),n}return s.prototype=l,g(d,"constructor",l),g(l,"constructor",s),s.displayName="GeneratorFunction",g(l,r,"GeneratorFunction"),g(d),g(d,r,"Generator"),g(d,o,(function(){return this})),g(d,"toString",(function(){return"[object Generator]"})),(h=function(){return{w:a,m:p}})()}function m(n,e,t,o,r){var a=y(n,e,t,o,r);return a.next().then((function(n){return n.done?n.value:a.next()}))}function y(n,e,t,o,r){return new v(h().w(n,e,t,o),r||Promise)}function v(n,e){function t(o,a,i,c){try{var s=n[o](a),l=s.value;return l instanceof r?e.resolve(l.v).then((function(n){t("next",n,i,c)}),(function(n){t("throw",n,i,c)})):e.resolve(l).then((function(n){s.value=n,i(s)}),(function(n){return t("throw",n,i,c)}))}catch(n){c(n)}}var o;this.next||(g(v.prototype),g(v.prototype,"function"==typeof Symbol&&Symbol.asyncIterator||"@asyncIterator",(function(){return this}))),g(this,"_invoke",(function(n,r,a){function i(){return new e((function(e,o){t(n,a,e,o)}))}return o=o?o.then(i,i):i()}),!0)}function g(n,e,t,o){var r=Object.defineProperty;try{r({},"",{})}catch(n){r=0}g=function(n,e,t,o){if(e)r?r(n,e,{value:t,enumerable:!o,configurable:!o,writable:!o}):n[e]=t;else{function a(e,t){g(n,e,(function(n){return this._invoke(e,t,n)}))}a("next",0),a("throw",1),a("return",2)}},g(n,e,t,o)}function b(n){var e=Object(n),t=[];for(var o in e)t.unshift(o);return function n(){for(;t.length;)if((o=t.pop())in e)return n.value=o,n.done=!1,n;return n.done=!0,n}}function w(n){if(null!=n){var e=n["function"==typeof Symbol&&Symbol.iterator||"@@iterator"],t=0;if(e)return e.call(n);if("function"==typeof n.next)return n;if(!isNaN(n.length))return{next:function(){return n&&t>=n.length&&(n=void 0),{value:n&&n[t++],done:!n}}}}throw new TypeError(typeof n+" is not iterable")}function C(n,e){return C=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,e){return n.__proto__=e,n},C(n,e)}function x(n,e){return function(n){if(Array.isArray(n))return n}(n)||function(n,e){var t=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=t){var o,r,a,i,c=[],s=!0,l=!1;try{if(a=(t=t.call(n)).next,0===e){if(Object(t)!==t)return;s=!1}else for(;!(s=(o=a.call(t)).done)&&(c.push(o.value),c.length!==e);s=!0);}catch(n){l=!0,r=n}finally{try{if(!s&&null!=t.return&&(i=t.return(),Object(i)!==i))return}finally{if(l)throw r}}return c}}(n,e)||function(n,e){if(n){if("string"==typeof n)return a(n,e);var t={}.toString.call(n).slice(8,-1);return"Object"===t&&n.constructor&&(t=n.constructor.name),"Map"===t||"Set"===t?Array.from(n):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?a(n,e):void 0}}(n,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function k(n){var e=function(n,e){if("object"!=typeof n||!n)return n;var t=n[Symbol.toPrimitive];if(void 0!==t){var o=t.call(n,e);if("object"!=typeof o)return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(n)}(n,"string");return"symbol"==typeof e?e:e+""}function _(n){return _="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},_(n)}function I(n){var e="function"==typeof Map?new Map:void 0;return I=function(n){if(null===n||!function(n){try{return-1!==Function.toString.call(n).indexOf("[native code]")}catch(e){return"function"==typeof n}}(n))return n;if("function"!=typeof n)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(n))return e.get(n);e.set(n,t)}function t(){return function(n,e,t){if(f())return Reflect.construct.apply(null,arguments);var o=[null];o.push.apply(o,e);var r=new(n.bind.apply(n,o));return t&&C(r,t.prototype),r}(n,arguments,d(this).constructor)}return t.prototype=Object.create(n.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),C(t,n)},I(n)}function E(){var n=h(),e=n.m(E),t=(Object.getPrototypeOf?Object.getPrototypeOf(e):e.__proto__).constructor;function o(n){var e="function"==typeof n&&n.constructor;return!!e&&(e===t||"GeneratorFunction"===(e.displayName||e.name))}var a={throw:1,return:2,break:3,continue:3};function i(n){var e,t;return function(o){e||(e={stop:function(){return t(o.a,2)},catch:function(){return o.v},abrupt:function(n,e){return t(o.a,a[n],e)},delegateYield:function(n,r,a){return e.resultName=r,t(o.d,w(n),a)},finish:function(n){return t(o.f,n)}},t=function(n,t,r){o.p=e.prev,o.n=e.next;try{return n(t,r)}finally{e.next=o.n}}),e.resultName&&(e[e.resultName]=o.v,e.resultName=void 0),e.sent=o.v,e.next=o.n;try{return n.call(this,e)}finally{o.p=e.prev,o.n=e.next}}}return(E=function(){return{wrap:function(e,t,o,r){return n.w(i(e),t,o,r&&r.reverse())},isGeneratorFunction:o,mark:n.m,awrap:function(n,e){return new r(n,e)},AsyncIterator:v,async:function(n,e,t,r,a){return(o(e)?y:m)(i(n),e,t,r,a)},keys:b,values:w}})()}"function"==typeof SuppressedError&&SuppressedError;var D=function(n){function e(t){var o;return(o=n.call(this,t)||this).name="ConsentValidationError",Object.setPrototypeOf(o,e.prototype),o}return p(e,n),l(e)}(I(TypeError)),O="trackingConsentAccepted",A="trackingConsentDeclined",T="firstPartyMarketingConsentAccepted",S="thirdPartyMarketingConsentAccepted",B="analyticsConsentAccepted",P="preferencesConsentAccepted",M="firstPartyMarketingConsentDeclined",R="thirdPartyMarketingConsentDeclined",j="analyticsConsentDeclined",H="preferencesConsentDeclined",L="visitorConsentCollected",N="consentTrackingApiLoaded",F="yes",W="no",q="no_interaction",U="",z="",G="1",J="0",V="p",K="a",X="m",$="t",Z="m",Y="a",Q="p",nn="s",en="marketing",tn="analytics",on="preferences",rn="sale_of_data",an="email",cn="headlessStorefront",sn="rootDomain",ln="checkoutRootDomain",un="storefrontRootDomain",dn="storefrontAccessToken",pn="isExtensionToken",fn="metafields",hn="customerAccountRequestInfo",mn=function(){return"undefined"==typeof window},yn=function(){return"undefined"!=typeof __CtaTestEnv__&&"true"===__CtaTestEnv__},vn=l((function(){}));vn.warn=function(n){yn()||console.warn(n)},vn.error=function(n){yn()||console.error(n)},vn.info=function(n){yn()||console.info(n)},vn.debug=function(n){yn()||console.debug(n)},vn.trace=function(n){yn()||console.trace(n)};var gn=vn;function bn(n,e){if(null===n)return"null";if(Array.isArray(n))return"["+n.map((function(n){return bn(n,!0)})).join(",")+"]";if("object"===_(n)){var t=[];for(var o in n)n.hasOwnProperty(o)&&void 0!==n[o]&&""!==n[o]&&t.push(o+":"+bn(n[o],!0));var r=t.join(",");return e?"{"+r+"}":r}return"string"==typeof n?JSON.stringify(n):""+n}function wn(n){try{return decodeURIComponent(n)}catch(n){return""}}var Cn="_tracking_consent";function xn(n,e){void 0===e&&(e=!1);for(var t=function(){try{return document.cookie}catch(n){return!1}}()?document.cookie.split("; "):[],o=0;o=0;r--){var a=Tn(t[r]);if(a){o=a;break}}return On=o,o}function Tn(n){var e,t;if(n)return null===(e=n.serverTiming)||void 0===e||null===(t=e.find((function(n){return"_cmp"==n.name})))||void 0===t?void 0:t.description}function Sn(){return window}function Bn(){var n,e,t=Sn();return!0===(null==t||null===(n=t.Shopify)||void 0===n||null===(e=n.customerPrivacy)||void 0===e?void 0:e.backendConsentEnabled)}function Pn(){var n,e,t=Sn();return null==t||null===(n=t.Shopify)||void 0===n||null===(e=n.customerPrivacy)||void 0===e?void 0:e.serverTimingSupportVerified}function Mn(){if(!mn()){var n,e,t=null===(n=window.Shopify)||void 0===n||null===(e=n.customerPrivacy)||void 0===e?void 0:e.injectedConsent;return t?wn(t):void 0}}function Rn(n,e){void 0!==n.granular_consent&&function(n){var e=n[X],t=n[$],o=n[K],r=n[V];!0===e?jn(T):!1===e&&jn(M);!0===t?jn(S):!1===t&&jn(R);!0===o?jn(B):!1===o&&jn(j);!0===r?jn(P):!1===r&&jn(H);var a=function(n){var e={marketingAllowed:n[X],saleOfDataAllowed:n[$],analyticsAllowed:n[K],preferencesAllowed:n[V],firstPartyMarketingAllowed:n[X],thirdPartyMarketingAllowed:n[$]};return e}(n);jn(L,a);var i=[o,r,e,t];i.every((function(n){return!0===n}))&&jn(O);i.every((function(n){return!1===n}))&&jn(A)}(e)}function jn(n,e){if(!mn())try{document.dispatchEvent(new CustomEvent(n,{detail:e||{}}))}catch(e){console.error('[Shopify Customer Privacy] Error in event listener for "'+n+'":',e)}}function Hn(){var n,e,t,o;if(void 0!==(n=mn()?Mn():((o=null===(e=window.Shopify)||void 0===e||null===(t=e.customerPrivacy)||void 0===t?void 0:t.cachedConsent)?wn(o):void 0)||Mn()||new URLSearchParams(window.location.search).get("_cs")||void 0||xn(Cn)||function(){var n;if(!(n=Bn()&&En(An)||En(Dn))){var e=void 0;try{e=sessionStorage.getItem("consentHeader")}catch(n){}return e||void 0}try{n=decodeURIComponent(n)}catch(n){}return n}()))return function(n){if("%"==n.slice(0,1))try{n=decodeURIComponent(n)}catch(n){}var e=n.slice(0,1);if("{"==e)return function(n){var e,t;try{t=JSON.parse(n)}catch(n){return}if("2.1"!==t.v)return;if(null===(e=t.con)||void 0===e||!e.CMP)return;return t}(n);if("3"==e)return function(n){var e,t,o=n.slice(1).split("_"),r=x(o,5),a=r[0],i=r[1],c=r[2],s=r[3],l=r[4];try{e=o[5]?JSON.parse(o.slice(5).join("_")):void 0}catch(n){}if(l){for(var d=l.replace(/\*/g,"/").replace(/-/g,"+"),p=atob(d),f="",h=0;h { ... }). See '+le+" for documentation.");var o=function(n){if(!n)return null;try{return fe()?document.referrer:""}catch(n){return""}}(n.analytics),r=function(n){if(!n)return null;if(!fe())return"/";try{return window.location.pathname+window.location.search}catch(n){return"/"}}(n.analytics);return ae(0,Object.assign(Object.assign({granular_consent:n},null!==o&&{referrer:o}),null!==r&&{landing_page:r}),e)}function de(){var n=new In;if(Vn()&&n.produce("getTrackingConsent",Yn),Wn())return U;var e=Nn();return e[Z]===G&&e[Y]===G?F:e[Z]===J||e[Y]===J?W:q}function pe(){return Wn(n=Ln())?"":n.region||"";var n}function fe(){try{if(""===document.referrer)return!0;var n=document.createElement("a");return n.href=document.referrer,window.location.hostname!=n.hostname}catch(n){return!0}}function he(){return!!Wn()||Kn()&&Vn()}function me(){return Zn()?"string"==typeof navigator.globalPrivacyControl?"1"!==navigator.globalPrivacyControl:"boolean"==typeof navigator.globalPrivacyControl?!navigator.globalPrivacyControl:null:null}function ye(){return $n()&&de()===q}function ve(){return!1===me()?W:(n=Fn(),Wn()?U:n===z?q:qn(n));var n}function ge(){return!0}function be(n){return function(n){var e=Ln();if(!Wn(e)&&e.cus){var t=e.cus[encodeURIComponent(n)];return t?decodeURIComponent(t):t}}(n)}function we(){for(var n={},e=Nn(),t=0,o=Object.keys(e);t0)t=u.substring(0,d).trim(),o=u.substring(d+1).trim();else t=u.trim()||"unknown error",o=(null===(c=n.error)||void 0===c?void 0:c.message)||(null===(s=n.error)||void 0===s?void 0:s.error)||(null===(l=n.error)||void 0===l?void 0:l.toString())||"No error message available"}return JSON.stringify({payloadVersion:5,notifier:{name:"ConsentTrackingAPI",version:"latest",url:"-"},events:[{exceptions:[{errorClass:t,message:o,stacktrace:[{file:"consent-tracking-api.js",lineNumber:"1",method:r}],type:"browserjs"}],context:n.context||"general",app:{id:"ConsentTrackingAPI",version:"latest"},metaData:{request:{shopId:n.shopId,shopUrl:window.location.href},device:{userAgent:window.navigator.userAgent},"Additional Notes":n.notes},unhandled:!1}]})}(n);e.send(t)}({error:n,context:null!=e?e:"",shopId:Ie()||(null===(o=window.Shopify)||void 0===o?void 0:o.shop),notes:null!=t?t:""})}catch(n){}}function _e(n){return function(){try{return n.apply(void 0,arguments)}catch(n){throw n instanceof D||ke(n),n}}}function Ie(){try{var n,e=null===(n=document.getElementById("shopify-features"))||void 0===n?void 0:n.textContent;return e?JSON.parse(e).shopId:null}catch(n){return null}}function Ee(){return Kn()}function De(){return Vn()}function Oe(){return Jn()}function Ae(){return Xn()}var Te,Se,Be,Pe,Me,Re;function je(n){return void 0===n&&(n={useBugsnagReporting:!1}),function(n){var e=n.useBugsnagReporting;Fn()!=J&&!1===me()&&ue({sale_of_data:!1},(function(){return!1}));var t={analyticsProcessingAllowed:Vn,currentVisitorConsent:we,doesMerchantSupportGranularConsent:ge,firstPartyMarketingAllowed:Ee,getCCPAConsent:ve,getRegion:pe,getTrackingConsent:de,getTrackingConsentMetafield:be,marketingAllowed:Ee,preferencesProcessingAllowed:Jn,saleOfDataAllowed:Ae,saleOfDataRegion:Zn,setTrackingConsent:ue,shouldShowBanner:$n,shouldShowGDPRBanner:ye,thirdPartyMarketingAllowed:Ae,userCanBeTracked:he,consentId:Ce,unstable:{},__metadata__:{name:"@shopify/consent-tracking-api",version:Yn,description:"Shopify Consent Tracking API"}};if(!e)return t;var o=["unstable"];for(var r in t)t.hasOwnProperty(r)&&(t[r]=o.includes(r)?t[r]:_e(t[r]));return t}(n)}!function(n){n.BottomCenter="bottom_center",n.BottomFullWidth="bottom_full_width",n.BottomLeft="bottom_left",n.BottomRight="bottom_right",n.Center="center"}(Te||(Te={})),function(n){n.Custom="custom",n.Dark="dark",n.Light="light"}(Se||(Se={})),function(n){n[n.Yes=1]="Yes",n[n.No=0]="No"}(Be||(Be={})),function(n){n.StylesContainerId="shopify-pc__banner__styles",n.DialogId="shopify-pc__banner",n.DialogClass="shopify-pc__banner__dialog",n.WrapperClass="shopify-pc__banner__wrapper",n.BodyClass="shopify-pc__banner__body",n.BodyTitleId="shopify-pc__banner__body-title",n.BodyCopyPolicyLinkId="shopify-pc__banner__body-policy-link",n.ButtonsClass="shopify-pc__banner__btns",n.ButtonsGranularClass="shopify-pc__banner__btns-granular",n.ButtonAcceptId="shopify-pc__banner__btn-accept",n.ButtonAcceptClass="shopify-pc__banner__btn-accept",n.ButtonDeclineId="shopify-pc__banner__btn-decline",n.ButtonDeclineClass="shopify-pc__banner__btn-decline",n.ButtonManagePrefsId="shopify-pc__banner__btn-manage-prefs",n.ButtonManagePrefsClass="shopify-pc__banner__btn-manage-prefs"}(Pe||(Pe={})),function(n){n.StylesContainerId="shopify-pc__prefs__styles",n.OverlayId="shopify-pc__prefs__overlay",n.OverlayClass="shopify-pc__prefs__overlay",n.WrapperId="shopify-pc__prefs",n.WrapperClass="shopify-pc__prefs",n.DialogId="shopify-pc__prefs__dialog",n.DialogClass="shopify-pc__prefs__dialog",n.DialogScrollableClass="shopify-pc__prefs__scrollable",n.HeaderTitleId="shopify-pc__prefs__header-title",n.HeaderActionsClass="shopify-pc__prefs__header-actions",n.HeaderSaveId="shopify-pc__prefs__header-save",n.HeaderAcceptId="shopify-pc__prefs__header-accept",n.HeaderDeclineId="shopify-pc__prefs__header-decline",n.HeaderCloseId="shopify-pc__prefs__header-close",n.HeaderCloseClass="shopify-pc__prefs__header-close",n.IntroClass="shopify-pc__prefs__intro",n.IntroMainClass="shopify-pc__prefs__intro-main",n.IntroExplainWrapperClass="shopify-pc__prefs__intro-explain",n.IntroExplainAcceptClass="shopify-pc__prefs__intro-explain-accept",n.IntroExplainDeclineClass="shopify-pc__prefs__intro-explain-decline",n.OptionWrapperClass="shopify-pc__prefs__options",n.OptionClass="shopify-pc__prefs__option",n.OptionEssentialId="shopify-pc__prefs__essential",n.OptionEssentialInputId="shopify-pc__prefs__essential-input",n.OptionMarketingId="shopify-pc__prefs__marketing",n.OptionMarketingInputId="shopify-pc__prefs__marketing-input",n.OptionAnalyticsId="shopify-pc__prefs__analytics",n.OptionAnalyticsInputId="shopify-pc__prefs__analytics-input",n.OptionPreferencesId="shopify-pc__prefs__preferences",n.OptionPreferencesInputId="shopify-pc__prefs__preferences-input"}(Me||(Me={})),function(n){n.Black="#333",n.White="#fff",n.Gray="#ccc",n.Green="#3AA83A",n.LightGray="#F7F8F9",n.DarkGray="#36454F",n.VeryDarkGray="#666",n.VeryLightGray="#e5e5e5"}(Re||(Re={}));var He=function(n){return"\n border: 1px solid ".concat(n.button.borderColor,";\n color: ").concat(n.button.fontColor,";\n background: ").concat(n.button.backgroundColor,";\n ")};function Le(n,e,t,o){void 0===e&&(e="0,0,100,100"),void 0===t&&(t="0,0,0,100"),void 0===o&&(o="0,0,100,100");var r=n.split(","),a=r[0],i=r[1],c=r[2],s=r[3],l=e.split(","),u=l[0],d=l[1],p=l[2],f=l[3],h=t.split(","),m=h[0],y=h[1],v=h[2],g=h[3],b=o.split(","),w=b[0],C=b[1],x=b[2],k=b[3],_={hue:Number(a),saturation:Number(i),lightness:Number(c),alpha:Number(s)},I={hue:Number(u),saturation:Number(d),lightness:Number(p),alpha:Number(f)},E={hue:Number(m),saturation:Number(y),lightness:Number(v),alpha:Number(g)},D={hue:Number(w),saturation:Number(C),lightness:Number(x),alpha:Number(k)},O={hue:_.hue,saturation:_.saturation,lightness:_.lightness,alpha:_.alpha-10},A={hue:I.hue,saturation:I.saturation,lightness:I.lightness<50?I.lightness+14:I.lightness-12,alpha:I.alpha},T={hue:201,saturation:I.lightness<50?60:90,lightness:I.lightness<50?60:80,alpha:I.lightness<50?80:100};return{font:Ne(_),fontSubdued:Ne(O),buttonFont:Ne(E),buttonBackground:Ne(D),background:Ne(I),divider:Ne(A),focused:Ne(T)}}function Ne(n){return"hsl(".concat(n.hue,"deg, ").concat(n.saturation,"%, ").concat(n.lightness,"%, ").concat(n.alpha,"%)")}function Fe(n,e,t,o,r){var a="0,0,0,100",i="0,0,100,100",c=Le("0,0,12,100","0,0,100,100","0,0,12,100","0,0,100,100"),s=Le("0,0,100,87","0,0,12,100","0,0,100,87","0,0,12,100"),l=Le(null!=e?e:a,null!=t?t:i,null!=o?o:a,null!=r?r:i),u=function(){switch(n){case Se.Light:return c;case Se.Dark:return s;case Se.Custom:return l;default:return c}}();return{backgroundColor:u.background,fontColor:u.font,fontSubduedColor:u.fontSubdued,sectionDivider:u.divider,iconColor:u.font,focused:u.focused,button:{borderColor:u.buttonFont,backgroundColor:u.buttonBackground,fontColor:u.buttonFont},primaryButton:{borderColor:u.buttonBackground,backgroundColor:u.buttonFont,fontColor:u.buttonBackground}}}function We(n){var e=n.bannerData,t=n.selectorPrefix,o=t?"".concat(t," "):"",r=Fe(e.theme.theme,e.theme.fontColor,e.theme.backgroundColor,e.theme.buttonFontColor,e.theme.buttonBackgroundColor),a=function(n,e,t){var o="1280px",r="\n ".concat(t,".").concat(Pe.WrapperClass," {\n display: flex;\n align-items: center;\n justify-content: space-between;\n flex-direction: column;\n }\n "),a="\n position: fixed;\n z-index: 2000000;\n box-shadow: 0px 4px 10px rgb(63 63 68 / 40%);\n max-height: 90%;\n box-sizing: border-box;\n opacity: 1;\n padding: 32px;\n background-color: ".concat(e.backgroundColor,";\n overflow: auto;\n -ms-overflow-style: none;\n scrollbar-width: none;\n border: none;\n text-align: left;\n "),i=function(){var n="\n ".concat(t,".").concat(Pe.ButtonsClass," {\n flex-direction: column;\n gap: 3px;\n }\n ").concat(t,".").concat(Pe.ButtonsGranularClass," :nth-child(1) {\n order: 3;\n }\n ").concat(t,".").concat(Pe.ButtonsGranularClass," :nth-child(2) {\n order: 1;\n }\n ").concat(t,".").concat(Pe.ButtonsGranularClass," :nth-child(3) {\n order: 2;\n }\n ");return"\n @media only screen and (max-width: 480px) {\n ".concat(n,"\n }\n ")},c="\n ".concat(t,".").concat(Pe.DialogClass," {\n ").concat(a,"\n bottom: 0%;\n width: 100%;\n }\n ").concat(t,".").concat(Pe.DialogClass," button {\n margin: 0 10px 0 0;\n }\n @media only screen and (max-width: ").concat(o,") {\n ").concat(t,".").concat(Pe.DialogClass," button {\n margin: 15px 10px 0 0;\n }\n }\n ").concat(r,"\n ").concat(t,".").concat(Pe.WrapperClass," {\n flex-direction: row;\n }\n @media only screen and (max-width: ").concat(o,") {\n ").concat(t,".").concat(Pe.WrapperClass," {\n flex-direction: column;\n }\n }\n ").concat(t,".").concat(Pe.BodyClass," {\n margin-right: 5%;\n margin-bottom: 0;\n }\n @media only screen and (max-width: ").concat(o,") {\n ").concat(t,".").concat(Pe.BodyClass," {\n margin-right: 0;\n margin-bottom: 10px;\n width: 100%;\n }\n }\n ").concat(t,".").concat(Pe.ButtonsClass," {\n display: flex;\n min-width: 580px;\n flex-direction: row;\n gap: 20px;\n }\n @media only screen and (max-width: ").concat(o,") {\n ").concat(t,".").concat(Pe.ButtonsClass," {\n min-width: auto;\n width: 100%;\n justify-content: flex-end;\n }\n }\n ").concat(i(),"\n "),s="\n ".concat(t,".").concat(Pe.DialogClass," {\n ").concat(a,"\n top: 50%;\n left: 25%;\n width: 50%;\n transform: translate(0, -50%);\n min-width: 280px;\n border-radius: 3px;\n }\n ").concat(r,"\n @media only screen and (max-width: 1300px) {\n ").concat(t,".").concat(Pe.DialogClass," {\n left: 15%;\n width: 70%;\n }\n }\n @media only screen and (max-width: 900px) {\n ").concat(t,".").concat(Pe.DialogClass," {\n left: 5%;\n width: 90%;\n }\n }\n ").concat(t,".").concat(Pe.BodyClass," {\n width: 100%;\n margin-bottom: 10px;\n }\n ").concat(t,".").concat(Pe.ButtonsClass," {\n display: flex;\n width: 100%;\n justify-content: flex-end;\n flex-direction: row;\n gap: 20px;\n }\n ").concat(i(),"\n "),l="\n ".concat(t,".").concat(Pe.DialogClass," {\n ").concat(a,"\n bottom: 0;\n left: 0;\n max-width: 650px;\n border-top-right-radius: 3px;\n }\n ").concat(r,"\n ").concat(t,".").concat(Pe.BodyClass," {\n width: 100%;\n margin-bottom: 10px;\n }\n ").concat(t,".").concat(Pe.ButtonsClass," {\n display: flex;\n justify-content: flex-end;\n width: 100%;\n flex-direction: row;\n gap: 20px;\n }\n ").concat(i(),"\n "),u="\n ".concat(t,".").concat(Pe.DialogClass," {\n ").concat(a,"\n bottom: 0;\n right: 0;\n max-width: 650px;\n border-top-left-radius: 3px;\n }\n ").concat(r,"\n ").concat(t,".").concat(Pe.BodyClass," {\n width: 100%;\n margin-bottom: 10px;\n }\n ").concat(t,".").concat(Pe.ButtonsClass," {\n display: flex;\n justify-content: flex-end;\n width: 100%;\n flex-direction: row;\n gap: 20px;\n }\n ").concat(i(),"\n "),d="\n ".concat(t,".").concat(Pe.DialogClass," {\n ").concat(a,"\n bottom: 0;\n left: 25%;\n width: 50%;\n min-width: 280px;\n border-top-right-radius: 3px;\n border-top-left-radius: 3px;\n }\n ").concat(r,"\n @media only screen and (max-width: 1300px) {\n ").concat(t,".").concat(Pe.DialogClass," {\n left: 15%;\n width: 70%;\n }\n }\n @media only screen and (max-width: 900px) {\n ").concat(t,".").concat(Pe.DialogClass," {\n left: 5%;\n width: 90%;\n }\n }\n ").concat(t,".").concat(Pe.BodyClass," {\n width: 100%;\n margin-bottom: 10px;\n }\n ").concat(t,".").concat(Pe.ButtonsClass," {\n display: flex;\n width: 100%;\n justify-content: flex-end;\n flex-direction: row;\n gap: 20px;\n }\n ").concat(t,".").concat(Pe.DialogClass," h2 {\n line-height: initial;\n }\n ").concat(i(),"\n ");switch(n){case Te.BottomFullWidth:return c;case Te.Center:return s;case Te.BottomLeft:return l;case Te.BottomRight:return u;case Te.BottomCenter:return d;default:return c}}(e.position,r,o),i=function(n,e){if(n===Se.Custom)return{accept:He(e),decline:He(e),manage:(t=e,"\n border: none;\n color: ".concat(t.fontColor,";\n background: transparent;\n "))};var t,o=n===Se.Dark,r=Re.White,a=Re.Black;return{accept:"\n background: ".concat(o?Re.Black:r,";\n color: ").concat(o?Re.White:a,";\n "),decline:"\n background: ".concat(o?Re.Black:r,";\n color: ").concat(o?Re.White:a,";\n "),manage:"\n background: transparent;\n border: none;\n color: ".concat(o?Re.White:Re.Black,";\n ")}}(e.theme.theme,r);return"\n ".concat(o,".").concat(Pe.DialogClass," h2 {\n color: ").concat(r.fontColor,";\n font-family: inherit;\n font-size: 120%;\n margin: 0 0 .5em 0;\n padding: 0;\n font-weight: bold;\n }\n ").concat(o,".").concat(Pe.DialogClass," p {\n color: ").concat(r.fontColor,";\n font-family: inherit;\n line-height: 1.3;\n margin: 0;\n padding: 0;\n }\n ").concat(o,".").concat(Pe.DialogClass," a {\n color: ").concat(r.fontColor,";\n text-decoration: underline;\n }\n ").concat(o,".").concat(Pe.DialogClass," button {\n border: none;\n text-decoration: none;\n font-family: inherit;\n padding: 10px 25px;\n margin-top: 15px;\n font-size: 100%;\n flex-basis: 50%;\n border-radius: 2px;\n line-height: 120%;\n height: unset;\n text-align: center;\n }\n ").concat(o,".").concat(Pe.DialogClass," button:focus {\n outline: none;\n box-shadow: 0 0 0 4px ").concat(r.focused,";\n }\n ").concat(o,".").concat(Pe.DialogClass," button:hover {\n cursor: pointer;\n }\n ").concat(o,".").concat(Pe.DialogClass," button.").concat(Pe.ButtonAcceptClass," {\n border: 1px solid ").concat(r.button.borderColor,";\n ").concat(i.accept,"\n }\n ").concat(o,".").concat(Pe.DialogClass," button.").concat(Pe.ButtonManagePrefsClass," {\n text-decoration: underline;\n padding: 0;\n ").concat(i.manage,"\n }\n ").concat(o,".").concat(Pe.DialogClass," button.").concat(Pe.ButtonManagePrefsClass,":focus {\n box-shadow: none;\n }\n ").concat(o,".").concat(Pe.DialogClass," button.").concat(Pe.ButtonManagePrefsClass,":focus span {\n outline: 2px solid ").concat(r.focused,";\n }\n ").concat(o,".").concat(Pe.DialogClass," button.").concat(Pe.ButtonDeclineClass," {\n border: 1px solid ").concat(r.button.borderColor,";\n ").concat(i.decline,"\n }\n ").concat(o,".").concat(Pe.BodyClass," p a:focus {\n outline: 2px solid ").concat(r.focused,";\n box-shadow: none;\n }\n ").concat(a,"\n ")}var qe="8e9cb600c40a8849ba2b6151bb05805c";function Ue(n,e,t){var o;try{!function(n){var e=new XMLHttpRequest;e.open("POST","https://error-analytics-production.shopifysvc.com",!0),e.setRequestHeader("Content-Type","application/json"),e.setRequestHeader("Bugsnag-Api-Key",qe),e.setRequestHeader("Bugsnag-Payload-Version","5");var t=function(n){var e=function(n){return n.stackTrace||n.stack||n.description||n.name}(n.error),t=n.error&&"string"==typeof n.error.name&&n.error.name.trim()||"",o=n.error&&"string"==typeof n.error.message&&n.error.message.trim()||"",r=(e||"unknown error").split("\n")[0],a=t||"Error",i=o||r;return JSON.stringify({payloadVersion:5,notifier:{name:"privacyBanner",version:"latest",url:"-"},events:[{exceptions:[{errorClass:a.trim(),message:(i||"").trim(),stacktrace:[{file:"storefront-banner.js",lineNumber:"1",method:e}],type:"browserjs"}],context:n.context||"general",app:{id:"privacyBanner",version:"latest"},metaData:{request:{shopId:n.shopId,shopUrl:window.location.href},device:{userAgent:window.navigator.userAgent},"Additional Notes":n.notes},unhandled:!1}]})}(n);e.send(t)}({error:n,context:e,shopId:ze()||(null===(o=window.Shopify)||void 0===o?void 0:o.shop),notes:t})}catch(n){}}function ze(){var n;try{var e=null===(n=null===document||void 0===document?void 0:document.getElementById("shopify-features"))||void 0===n?void 0:n.textContent;return e?JSON.parse(e).shopId:null}catch(n){return null}}function Ge(n){var e=window.location.search.substring(1);if(0===e.length)return null;var t=e.split("&").map((function(n){return n.split("=")})),o=t.filter((function(e){return e[0]===n}))[0];return(o?o[1]:null)||null}function Je(n){var e={marketing:n.marketing,analytics:n.analytics,preferences:n.preferences,sale_of_data:n.sale_of_data};n.storefrontAccessToken&&(e.headlessStorefront=!0,e.checkoutRootDomain=n.checkoutRootDomain,e.storefrontRootDomain=n.storefrontRootDomain,e.storefrontAccessToken=n.storefrontAccessToken),ue(e,n.callback)}var Ve=function(){var n=we();return n.marketing===U&&n.analytics===U&&n.preferences===U},Ke=["127.0.0.1"],Xe=function(){var n,e=$n()&&Ve();return!window.location.pathname.match(/\/password$/)&&(n=window.location.hostname||window.location.host||"",!Ke.some((function(e){return n.startsWith(e)})))&&e},$e=function(){return"1"===Ge("preview_privacy_banner")},Ze=function(){var n;return Boolean(!0===(null===(n=null===window||void 0===window?void 0:window.Shopify)||void 0===n?void 0:n.previewMode))&&Ve()},Ye=function(){return $e()||Ze()},Qe=function(){function n(){}return n.getServerData=function(n,e,r,a){return t(this,void 0,void 0,(function(){return o(this,(function(t){return this.domain=n,this.accessToken=e||this.liquidAccessToken(),this.locale=r,this.country=a,[2,this.getDataFromStorefrontApi()]}))}))},n.getEmbeddedData=function(){var n=document.getElementById("scb4127");if(n)return JSON.parse(n.textContent||"")},n.fetchParams=function(n){var e=n.accessToken,t=n.unlocalized,o=this.currentLanguage(),r=this.currentCountry(),a=!o||!r||t?"":"@inContext(language: ".concat(o,", country: ").concat(r,")"),i=Ye();return{headers:{"content-type":"application/json","x-shopify-storefront-access-token":e},body:JSON.stringify({query:"\n query bannerQuery ($isPreviewMode: Boolean = ".concat(i,") ").concat(a," {\n consentManagement {\n banner {\n enabled\n position\n policyLinkText\n policyLinkUrl\n title\n text\n buttonPrefsOpenText\n buttonAcceptText\n buttonDeclineText\n regionVisibility @include(if: $isPreviewMode)\n theme {\n theme\n fontColor\n backgroundColor\n buttonFontColor\n buttonBackgroundColor\n }\n preferences {\n title\n introTitle\n introText\n buttonAcceptText\n buttonDeclineText\n buttonSaveText\n bulletPoints {\n enabled\n title\n firstText\n secondText\n thirdText\n }\n purposes {\n essentialName\n essentialDesc\n performanceName\n performanceDesc\n preferencesName\n preferencesDesc\n marketingName\n marketingDesc\n }\n }\n }\n }\n }"),variables:{isPreviewMode:Ye()}}),method:"POST"}},n.getDataFromStorefrontApi=function(n){return t(this,void 0,void 0,(function(){var t,r,a,i,c,s,l,u;return o(this,(function(o){switch(o.label){case 0:if(!this.accessToken)throw new Error("Missing access token");return t=/^(localhost|127\.0\.0\.1)(:|$)/.test(this.domain||"")?"http":"https",r=this.domain?"".concat(t,"://").concat(this.domain):"",a="".concat(r,"/api/unstable/graphql.json"),[4,fetch(a,this.fetchParams({accessToken:this.accessToken,unlocalized:n}))];case 1:return 200!==(i=o.sent()).status?[3,3]:[4,i.json()];case 2:if((c=o.sent()).errors){if((s=c.errors.find((function(n){return"argumentLiteralsIncompatible"===n.extensions.code||"variableLiteralsIncompatible"===n.extensions.code})))&&!n)return l=s.message||"",u=l.includes("Directive 'inContext'")&&l.includes("invalid value"),window.Weglot||u?console.log("Banner localization error",s.message):Ue(new Error(s.message),"DataFetching"),[2,this.getDataFromStorefrontApi(!0)];throw new Error(c.errors[0].message)}return[2,e({},c.data.consentManagement.banner)];case 3:throw new Error("Could not reach the server")}}))}))},n.liquidAccessToken=function(){var n=document.documentElement.querySelector("#shopify-features");if(n){var e=JSON.parse(n.textContent||"").accessToken;if(e)return e;console.warn("Could not find liquid access token")}else console.warn("Could not find liquid access token")},n.currentLanguage=function(){var n=this.locale;if(n){n=n.replace("-","_").toUpperCase();return["PT_BR","PT_PT","ZH_CN","ZH_TW"].includes(n)||(n=n.split("_")[0]),n}},n.currentCountry=function(){var n;return null===(n=this.country)||void 0===n?void 0:n.toUpperCase()},n}();function nt(n,e,t){return(e=function(n){var e=function(n,e){if("object"!=_(n)||!n)return n;var t=n[Symbol.toPrimitive];if(void 0!==t){var o=t.call(n,e);if("object"!=_(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(n)}(n,"string");return"symbol"==_(e)?e:e+""}(e))in n?Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[e]=t,n}function et(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(n);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),t.push.apply(t,o)}return t}function tt(n){for(var e=1;e