function handlePlacementTopPush(){const e=[1399].includes(window.Shopify.theme.theme_store_id),t=["Be Yours"].includes(window.Shopify.theme.schema_name);return{handlePlacementTopPushLogic:function(a,n,r){if(e||t){switch(e?window.Shopify.theme.theme_store_id:window.Shopify.theme.schema_name){case 1399:case"Be Yours":document.body.insertAdjacentHTML("afterbegin",n)}}else{const e=['.header-container.drawer__header-container .header-wrapper:not([data-section-id="header"]):not(.wrapper-fluid)',".fadeout-overlay + #shopify-section-header","#shopify-section-header.header-wrapper",".site-header.is-moved-by-drawer","#shopify-section-pxs-announcement-bar","body[data-money-format][data-active-currency][data-predictive-search] #shopify-section-header.shopify-section.site-header__outer-wrapper.site-header__outer-wrapper--loaded",".site-header__wrapper:not(.site-header__wrapper--with-menu):not([data-site-header-wrapper])",".site-header.full--w",".PageContainer #shopify-section-announcement","nav.cbp-spmenu + .wrapper-container","#header > #headerWrapper","#PageContainer:not(.page-container)",".header-wrapper.header-wrapper--sticky",'div[data-section-type="header-section"] .header-wrapper.header-wrapper--overlay',".page__container.page__container--secondary","#shopify-section-static-header .header",".off-canvas--viewport .off-canvas--main-content","#shopify-section-announcement .announcement--root",".header.sticky .relative",'body[class^="kagami--"] .page__container',"body > #page","#page-wrap-content .container + #content","#shopify-section-side-nav + .page-container","#pageheader.pageheader.nav-shift",".bodywrap.cf #shopify-section-header + #content",".header.mm-fixed-top","#content_wrapper #header.mm-fixed-top ~ .header",".has-vertical-header .is-beside-vertical-header","#header-sticky-wrapper #header",'#shopify-section-header-classic div[data-enable_sticky="false"] #header',"#mobile-header-sticky-wrapper #mobile-header","#shopify-section-header__top-bar",'a[href="#main"] + #shopify-section-announcement-bar + #shopify-section-header.mount-header > main-header.header-holder',"#shopify-section-announcement-bar","body > #shopify-section-announcement",".header-container.drawer__header-container","body > .dbtfy ~ #PageContainer.page-container > #shopify-section-announcement",".body-cont #shopify-section-header > .cont-header.header-fixed-true","#shopify-section-header","#shopify-section-side-nav + .page-container","body.boxed",'body[class*="maxmin_"]',".page-wrapper","#content-holder #content","#shopify-section-static-header + .page-body-content",".header_wrap_icon_cart header.main_header.locked","#header-ontop.header-ontop + #header.header","body",'[data-section-id="header"]'];let t;a<500&&e.unshift(".page__container #header.header.header--absolute + #main.main"),a<650&&e.unshift("#SiteContainer #MainContent.main-content"),a<740&&e.unshift("body.shifter-enabled .shifter-page.is-moved-by-drawer > #content"),a<798&&e.unshift("body.mobile_nav-fixed--true #header.mobile_nav-fixed--true",'div[data-enable_sticky="false"] #mobile-header'),a<1e3&&e.unshift(".bodywrap.cf #shopify-section-header"),a>767&&e.unshift("#page-wrap #page-wrap-content");for(var o=0;o{setTimeout((()=>{document.getElementById(`${o}_background`).style.top=""}),200)}))}}else{var i=['.header-container.drawer__header-container .header-wrapper:not([data-section-id="header"]):not(.wrapper):not(.wrapper-fluid)',".fadeout-overlay + #shopify-section-header","#shopify-section-header.header-wrapper",".site-header.is-moved-by-drawer",".site-header.full--w",'div[data-section-type="header-section"] .header-wrapper.header-wrapper--sticky','div[data-section-type="header-section"] .header-wrapper.header-wrapper--overlay',"nav.cbp-spmenu + .wrapper-container","#header-ontop.header-ontop + #header.header",".header.container-fluid.perma-sticky",".header-section.sticky-header .header-section--wrapper.overlay-header-wrapper","body[data-new-gr-c-s-check-loaded][data-gr-ext-installed]","#PageContainer div:not(.header-sticky-wrapper) > #HeaderWrapper","#PageContainer:not(.drawer-page-content)",'body[class^="trademark--"]',"header#top.header.header--fluid","#shopify-section-static-header .header",".off-canvas--viewport .off-canvas--main-content","#shopify-section-announcement .announcement--root",".header.sticky .relative",'body[class^="kagami--"] .page__container',"body > #page","#page-wrap","#shopify-section-side-nav + .page-container","#pageheader.pageheader.nav-shift",".header.default-header.mm-fixed-top","#main-body.slideout-panel","#PageContainer.drawer-page-content:not(.page-container)","body.fixed-header.fixed-header--all","body.has-vertical-header.announcement-bar--hidden","#header-sticky-wrapper #header","#mobile-header-sticky-wrapper #mobile-header",".shopify-section.shopify-section-group-header-group-classic.jsHeader.header-section > .is-relative > #header-sticky-wrapper.header-sticky-wrapper > header#header.sticky--enabled","#shopify-section-sidebar + #content-holder","store-header.header[sticky]",'a[href="#main"] + #shopify-section-announcement-bar + #shopify-section-header.mount-header > main-header.header-holder',"#shopify-section-announcement-bar","body > #shopify-section-announcement","#shopify-section-header-top header-top-section.block","#shopify-section-header:not(.d-none)",".header_wrap_icon_cart header.main_header.locked",'.shopify-section.shopify-section-group-header-group.section-site-header > header.site-header[role="banner"][data-sticky-header]',"#wrapper theme-header.header-sticky--active","body"];let e;n<800&&i.unshift("#content_wrapper.mm-page.mm-slideout #shopify-section-header",".mm-page.mm-slideout #content_wrapper #shopify-section-header"),n<=740&&i.unshift("body.gridlock.shifter.shifter-enabled"),n<798&&i.unshift('div[data-enable_sticky="false"] #mobile-header'),n<992&&i.unshift("#site-content #shopify-section-header-mobile.header-mobile__placeholder");for(var s=0;s720&&n.push("#shopify-section-general-header .main-header-wrapper:not(.sticky-header-scrolled)"),e>=800&&r.push("#site-wrap #header #shopify-section-header > .row.clearfix","#site-wrap #header #shopify-section-header + .curr-switcher.js"),e<=948&&o.push("#MainQuickSearch .quick-search__container");let i="";n.length&&(i=n.join()+"{top:"+t+"px !important;}");let s="";r.length&&(s=r.join()+"{margin-top:"+t+"px;}");let d="";o.length&&(d=o.join()+"{padding-top:"+t+"px;}");let c=document.querySelector("#wrapper theme-header.header-sticky--active");c&&(c.style.marginTop="-1px");let l=document.querySelector(".header.header--layout-logo-center-nav-below.header--has-accounts.header--has-social-links.header--has-country-or-locale");l&&(l.style.marginTop="-1px",l.style.paddingBottom="1px"),document.body.insertAdjacentHTML("beforeend",'
")}function handleContentShiftTopPushSticky(){themeStoreIds=[411,798,838,855,857,868,871,887,1114,1190,1399,1608,1621,1662,2240,2348,2801,2821];let e=themeStoreIds.includes(window.Shopify.theme.theme_store_id);function t(e){var t=("; "+document.cookie).split("; "+e+"=");if(2==t.length)return t.pop().split(";").shift()}return{handleContentShiftTopPushStickyLogic:function(a,n){if(("fsb"!==n||"yes"!==sessionStorage.getItem("fsb_close_clicked"))&&!("qab"===n&&"yes"===t("qab_close_clicked")||"epb"===n&&"yes"===t("epb_close_clicked")))if(e){let e=window.hextomData.qabHeight?window.hextomData.qabHeight:0,t=window.hextomData.fsbHeight?window.hextomData.fsbHeight:0,a=window.hextomData.epbHeight?window.hextomData.epbHeight:0,r=Math.floor(e+t+a),o=document.getElementById(`${n}_theme_integration_styles`);switch(o?o.innerHTML="":(o=document.createElement("div"),o.id=`${n}_theme_integration_styles`,document.body.appendChild(o)),window.Shopify.theme.theme_store_id){case 411:if(!!!document.querySelector(".overlay-header-wrapper")){let e=document.createElement("style");e.textContent=`.shopify-section.shopify-section-group-header-group.header-section.sticky-header {top: ${r}px !important}`,o.appendChild(e)}break;case 798:{let e=document.querySelector(".product__meta-inner")?parseInt(window.getComputedStyle(document.querySelector(".product__meta-inner")).getPropertyValue("top"),10):0,t=document.createElement("style");t.textContent=`\n header.header-container.is-sticky #header {top: ${r}px !important;}\n .shopify-section.section-borderable {margin-top: ${r}px;}\n .header.header--default.header--transparent {top: 0 !important;}\n .product__meta-inner {top: ${r+e}px;}\n `,o.appendChild(t);break}case 838:{let e=document.body.classList.contains("site-header-sticky"),t=document.createElement("style");if(t.textContent=`${e?'.site-header.site-header-nav--open[role="banner"], ':""}.live-search.allow-scroll-while-locked.live-search--takeover.live-search--focused, #site-mobile-nav, .site-header.site-header-sticky--scrolled {top: ${r}px !important;}`,o.appendChild(t),"collection"==meta.page.pageType&&window.innerWidth<860){let t=document.querySelector('.site-header.site-header-nav--open[role="banner"]'),a=t&&e?t.offsetHeight:0,n=document.createElement("style");n.textContent=`.productgrid--utils.productgrid--utils--visible-mobile.productgrid--utils-container.productgrid--utils-sticky.productgrid--utils-box-shadow {top: ${a+r}px !important}`,o.appendChild(n)}break}case 855:{const e=document.documentElement;if("1"===getComputedStyle(e).getPropertyValue("--header-is-sticky").trim()){let e=document.querySelector("height-observer.collection-toolbar.full-bleed"),t=e?e.offsetHeight:0,a=document.querySelector("header").offsetHeight,n=document.createElement("style");n.textContent=`\n .shopify-section.shopify-section-group-header-group.shopify-section--header {top: ${r}px !important;}\n height-observer.collection-toolbar.full-bleed {top: ${r+a}px;}\n safe-sticky.facets-sidebar {top: ${r+a+t+20}px !important;}\n `,o.appendChild(n)}else{let e=document.querySelector("height-observer.collection-toolbar.full-bleed"),t=e?e.offsetHeight:0,a=document.createElement("style");a.textContent=`\n height-observer.collection-toolbar.full-bleed {top: ${r}px;}\n safe-sticky.facets-sidebar {top: ${r+t+20}px !important;}\n `,o.appendChild(a)}break}case 857:{let e=document.createElement("style");if(e.textContent=`.site-header.site-header--stuck.site-header--opening {top: ${r}px !important}`,o.appendChild(e),"collection"==meta.page.pageType)if(window.innerWidth>=770){let e=document.querySelector(".grid__item.medium-up--one-fifth.grid__item--sidebar");if(e){let t=e.style.top?parseInt(e.style.top,10):0,a=document.createElement("style");a.textContent=`.grid__item.medium-up--one-fifth.grid__item--sidebar {top: ${t+r}px !important}`,o.appendChild(a)}}else{let e=document.querySelector(".collection-filter");if(e){const t=e.style.top?parseInt(e.style.top,10):0;let a=document.createElement("style");const n=null!==document.getElementById("HeaderWrapper").querySelector("#StickyHeaderWrap");a.textContent=`\n .collection-filter {top: ${t+r+(n?0:10)}px !important}`,o.appendChild(a)}}break}case 868:{let e=document.createElement("style");if(e.textContent=`.header__wrapper.js__header__stuck {top: ${r}px !important}`,o.appendChild(e),"collection"==meta.page.pageType){let e=document.querySelector(".collection__nav.collection__nav--sort.collection__nav--filter"),t=e?parseInt(window.getComputedStyle(e).top,10):0,a=document.createElement("style");a.textContent=`.collection__nav.collection__nav--sort.collection__nav--filter {top: ${t+r}px !important}`,o.appendChild(a)}break}case 871:{const e=document.querySelector(".shopify-section.shopify-section-group-header-group.shopify-section__header").firstElementChild.getAttribute("data-section-settings").replace(/"/g,'"'),t=JSON.parse(e),a=()=>{let e=document.querySelector(".card.card--collapsed.card--sticky"),a=e&&e.style.top?parseInt(e.style.top,10):0,n=document.querySelector(".shopify-section.shopify-section-group-header-group.shopify-section__header"),i=n?n.offsetHeight:0,s=document.createElement("style");!0===t.useStickyHeader?s.textContent=`\n .shopify-section.shopify-section-group-header-group.shopify-section__header {top: ${r}px !important}\n .card.card--collapsed.card--sticky {top: ${r+a}px !important}\n .header__search-bar-wrapper.is-visible.is-fixed {top: ${r}px;}\n ${window.innerWidth<1e3?`.collection__toolbar {top: ${r+i}px;}`:""}\n #mobile-collection-filters {z-index: 1000005;}\n `:s.textContent=`\n .card.card--collapsed.card--sticky {top: ${r+10}px !important}\n .header__search-bar-wrapper.is-visible.is-fixed {top: ${r}px;}\n .collection__toolbar {top: ${r}px;}\n #mobile-collection-filters {z-index: 1000005;}\n `,o.appendChild(s)};a(),setTimeout((()=>{a()}),700),setTimeout((()=>{a()}),1400),setTimeout((()=>{a()}),2100);break}case 887:{let e=document.createElement("style");e.textContent=`body > .shopify-section.shopify-section-group-header-group.section-header.shopify-section-header-sticky:not(.shopify-section-header-hidden) {top: ${r}px !important}`,o.appendChild(e);break}case 1114:{let e=document.createElement("style");e.textContent=`.shopify-section.shopify-section-group-group-header.main-header {top: ${r}px !important}`,o.appendChild(e);break}case 1190:if("collection"==meta.page.pageType){let e=document.querySelector("safe-sticky.collection__facets-scroller"),t=e?parseInt(e.style.top,10):0,a=document.createElement("style");a.textContent=`safe-sticky.collection__facets-scroller {top: ${t+r}px !important}`,o.appendChild(a)}if("product"==meta.page.pageType&&window.innerWidth>1e3){let e=document.querySelector("safe-sticky.product-info"),t=e?parseInt(e.style.top,10):0,a=document.createElement("style");a.textContent=`safe-sticky.product-info {top: ${t+r}px !important}`,o.appendChild(a)}case 1399:if(null==document.querySelector("sticky-header.header-wrapper")){let e=document.createElement("style");e.textContent=`\n sticky-facet-filters {top: ${r+10}px !important}\n sticky-facet-filters.is--vertical-top {top: ${r}px !important}`,o.appendChild(e)}break;case 1492:{let e=document.createElement("style");e.textContent=`\n .section-header__main-bar.main-bar.w100.devices-hide.js-theme-header.stickynav.js-stickynav.sticky--active, .section-header__mobile.mobile-nav__mobile-header.stickynav.lg-hide.l0.z5.pt2.pb2.js-mobile-header.relative.sticky--active {top: ${r}px !important}`,o.appendChild(e);break}case 1608:{let e=document.createElement("style");e.textContent=`.shopify-section.shopify-section-group-header-group.section-header {top: ${r}px !important}`,o.appendChild(e);break}case 1621:{const e=document.createElement("style");if(e.textContent=`\n .header.header--layout-logo-center-nav-below.header--transparent.header--has-accounts.header--has-social-links.header--has-country-or-locale.is-sticky {position: relative; top: ${r}px !important}\n .header.header--layout-logo-center-nav-below.header--has-accounts.header--has-social-links.header--has-country-or-locale.is-sticky {position: relative; top: ${r}px !important;}\n ${window.innerWidth<=960?`#MainQuickSearch {margin-top: ${r}px !important}`:""}\n `,o.appendChild(e),"collection"==meta.page.pageType){const e=document.createElement("style");if(window.innerWidth>720){const t=document.querySelector(".filter-bar.filter-bar--sticky.animation--filter-bar.is-visible"),a=t?parseInt(window.getComputedStyle(t).top,10):0;e.textContent=`.filter-bar.filter-bar--sticky.animation--filter-bar.is-visible {top: ${a+r}px !important}`}else{const t=document.querySelector(".mobile-filters.active.mobile-filters--sticky.mobile-filters--has-grid.show.animation--mobile-filters.is-visible"),a=t?parseInt(window.getComputedStyle(t).top,10):0;e.textContent=`.mobile-filters.active.mobile-filters--sticky.mobile-filters--has-grid.show.animation--mobile-filters.is-visible {top: ${a+r}px !important}`}o.appendChild(e)}break}case 1662:{let e=document.createElement("style");e.textContent=`\n header {top: ${r}px !important}\n section.sticky.color__bg-body.color__text[x-ref="destop_filter"] {top: ${r}px !important;}\n `,o.appendChild(e);break}case 2240:{let e=document.createElement("style");if(e.textContent=`\n .no-border-when-sticky.has-shadow.ready.fixed {top: ${r}px !important;} \n #header-outer{ top: 0; transition: top 200ms ease-in-out;}\n @media only screen and (max-width: 770px) {\n #nav-outer {margin-top: ${r}px !important;} \n }\n `,o.appendChild(e),"product"==meta.page.pageType&&window.innerWidth>1e3){const e=document.getElementById("main-product-content"),t=e?parseInt(window.getComputedStyle(e).top,10):0,a=document.createElement("style");a.textContent=`#main-product-content {top: ${t+r}px !important}`,o.appendChild(a)}const t=document.getElementById(`${n}_background`),a=document.querySelector("html"),i={attributes:!0,attributeFilter:["class"]};new MutationObserver((e=>{e.forEach((e=>{"attributes"===e.type&&"class"===e.attributeName&&(a.classList.contains("search-compact-active")||a.classList.contains("m6pn-open")?t.style.zIndex="0":t.style.zIndex="100000")}))})).observe(a,i);break}case 2348:{let e,t=document.querySelector(".shopify-section.shopify-section-group-header-group.header__outer-wrapper");if(t&&(e=Array.from(t.getElementsByTagName("header")).find((e=>"true"===e.getAttribute("data-is-sticky"))),e)){let e=document.createElement("style");e.textContent=`.shopify-section.shopify-section-group-header-group.header__outer-wrapper {top: ${r}px !important}`,o.appendChild(e)}if("collection"==meta.page.pageType){let t=e?e.offsetHeight:0,a=document.createElement("style");a.textContent=`form.filter-form[data-filters-active="false"][data-filter-form][data-form-type="sidebar"] {top: ${r+t+10}px !important}`,o.appendChild(a)}if("product"==meta.page.pageType){let t=e?e.offsetHeight:0,a=document.createElement("style");a.textContent=`div.product__inner > div.product__top.product__primary > div.product__details.product__primary-right > div {top: ${r+t+10}px !important}`,o.appendChild(a)}let a=document.createElement("style");a.textContent=`.purchase-confirmation-popup__inner { top: ${r}px !important; }`,o.appendChild(a);break}case 2801:{let e=document.createElement("style");e.textContent=`\n .shopify-section.shopify-section-group-header-group.shopify-section-header{ top: ${r}px !important; }\n .product__info-container {top: ${r}px !important;}\n `,o.appendChild(e);break}case 2821:{let e=document.querySelector("header"),t=e?e.offsetHeight:0;if("collection"==meta.page.pageType){const e=document.body,a={attributes:!0,attributeFilter:["class"]};new MutationObserver((a=>{a.forEach((a=>{if("attributes"===a.type&&"class"===a.attributeName){let a=r;e.classList.contains("header-pinned")&&(a+=t);let n=document.getElementById("htPushFilterStyle");n?n.textContent="":(n=document.createElement("style"),n.id="htPushFilterStyle"),n.textContent=`\n #FacetFiltersContainer > div.sticky-element {top: ${a+10}px !important;}\n #ProductGridWrapper > div.sticky-element {top: ${a}px !important;}\n `,o.appendChild(n)}}))})).observe(e,a);let n=document.createElement("style");n.textContent=`\n #FacetFiltersContainer > div.sticky-element {top: ${r+t+10}px !important;}\n #ProductGridWrapper > div.sticky-element {top: ${r}px !important;}\n `,o.appendChild(n)}let a=document.createElement("style");a.textContent=`.shopify-section.shopify-section-group-header-group.header-section.header-sticky {top: ${r}px !important}`,o.appendChild(a);break}}}else{let e=window.hextomData.qabHeight?window.hextomData.qabHeight:0,t=window.hextomData.fsbHeight?window.hextomData.fsbHeight:0,r=window.hextomData.epbHeight?window.hextomData.epbHeight:0,o=Math.floor(t+e+r),i=[],s=[],d=[];i=["#page header.util + #shopify-section-header.header",".sticky-header #PageContainer #shopify-section-header.header-section"],s=[".site-header.site-header--homepage.site-header--transparent","#mobileNavBar","#StickyBar.sticky--active",".js-sticky-action-bar .action-area",".site-header.page-element:not(.is-moved-by-drawer)",".nav-mobile",".ajaxify-drawer",".sticky-navigation-container.sticky.stuck","#MobileNav:not(.site-header__drawer)",".header__close.fixed","#shopify-section-toolbar.toolbar-section",".nav-container.nav-sticky","#navbarStickyDesktop.nav-sticky",".site-header.has-scrolled",".site-header#header.header--has-scrolled",".site-header#header.header--is-standard.header--standard",".site-header#header.is-standard.header--standard",".site-header#header.header--is-hamburger.header--standard",".pageWrap #shopify-section-header nav.nav-hamburger.nav-main",".site-header.headroom",'body > article.header__section-wrapper[role="banner"] #shopify-section-header.section-header',"#site-header.site-header",'body[class^="trademark--"] .shopify-section__header','[data-header-sidebar="true"] .main-sidebar',".ui.sticky.top","header.hero-active .hero-image-header-wrap",".header.sticky .bar.fixed",'body[class^="kagami--"] #shopify-section-header',"#page header.util","body:not(.show-mobile-nav) #toolbar.docked","body.show-mobile-nav #mobile-nav .inner",'body.show-mobile-nav #mobile-nav #sub-nav-menu-2.sub-nav[data-is-subnav-for="menu-2"]',"#page-wrap-inner > #page-overlay + #page-wrap-content > .section-header","body.sticky-header .header .header-main-content[data-header-content]","#nav .wsmenu",".header_bot.enabled-sticky-menu.sticky",".\\#header.\\@sticky",".transition-body #shopify-section-header #NavDrawer.drawer.drawer--is-open",".transition-body #shopify-section-header #CartDrawer.drawer.drawer--is-open","#StickyHeaderWrap #SiteHeader.site-header--stuck",".header__mobile-nav",".searching .search-bar-wrapper","#shopify-section-header .coverheader",'#shopify-section-header header.header-section.scrolling[data-sticky="true"]',"#header.mobile-sticky-header--true","#header.mm-fixed-top.mobile-header.mm-slideout","#mm-0.mm-page.mm-slideout #header.mobile-header.mobile-sticky-header--false","#site-control.site-control",".nav-shift #page-banner.banner-under-header",".nav-shift .container #main","body.scrolled-down #pageheader.pageheader.cc-animate-init.cc-animate-complete","body.scrolled-down #pageheader.pageheader[data-cc-animate]","body.scrolled-down #pageheader.pageheader.cc-animate-init.cc-animate-complete + .header-search","body.scrolled-down #pageheader.pageheader[data-cc-animate] + .header-search","#shopify-section-general-header .main-header-wrapper + .header-drawer","#shopify-section-general-header.main-header-section","#shopify-section-general-header nav.drawer-nav.allow-scroll-while-locked[data-drawer-nav]",".header-section .stuckMenu.isStuck","header.header__wrapper.js-theme-header.stickynav.sticky--active","#shopify-section-mobile-navigation .shifter-navigation",".header-wrapper .sticky-header-wrapper.sticky","#mobile-header #mobile-nav.mobile-nav","header.is-sticky.st-visible",'header#top.header:not([role="banner"])',"header#velaHeader.velaHeader","body.fixed-header.fixed-header--all > header",".have-fixed .nav-bar",".header-bottom.on .header-panel",".have-fixed .nav-search",".mb-fixed .hd_mobile",".open-mn .hd_mobile .icon-menu, .open-user .close_user","html.open-mn .mn_mobile nav, html.open-user .mobile_customer nav","#sticky-wrapper.sticky-wrapper.is-sticky .wrapper-header-bt","#sticky-wrapper.sticky-wrapper.is-sticky .header-bottom[data-sticky-mb]","body > .body-content-wrapper > .shopify-section-group-header-group.section-header-navigation.shopify-section-header-sticky","body > .body-content-wrapper > .shopify-section-group-header-group.section-header-mobile.shopify-section-header-sticky","body > #navigation-mobile.halo-sidebar.halo-sidebar_menu",".header__search-bar-wrapper.is-fixed",".sticky-header.header-clone.act-scroll",".sticky-header-prepared.basel-top-bar-on .header-shop.act-scroll",".mobile_nav-fixed--false .page_banner",".header-container.sticky-header",".tt-stuck-nav.stuck",".tt-mobile-header-inline-stuck.stuck","header#top.scroll-to-fixed-fixed","header#header .header__content--sticky",".header--sticky.is-sticky .header__content",".stickyNav","#header-phantom.sticky-header.fixed-header","#sticky-info-product-template",".sticky-wrapper.is-sticky .header-sticky",".header__mobile.is-fixed","#shopify-section-header-sticky.header-sticky__placeholder","header#header-header.site-header","#shopify-section-pxs-announcement-bar + #shopify-section-header .main-header-wrapper",".sticky-header #PageContainer #shopify-section-header.header-section",".header-content .header-container.header-fixed .header-main",".header-content .header-container.header-mobile-fixed .header-main","body.site-header-sticky .site-header.site-header-sticky--scrolled","body.site-header-sticky .site-header.site-header-nav--open","body.site-header-sticky .site-header","#app-header.sticky-on.sticky",".mm-page.mm-slideout #content_wrapper + .mobile-search",".docked-navigation-container .docked-navigation-container__inner",".docked-mobile-navigation-container .docked-mobile-navigation-container__inner",'nav.navigation--sticky.navigation[aria-label="Primary Navigation"]',".site-header .header-bottom .header-mb.fixed",".kalles_2-0 #ntheader.live_stuck .ntheader_wrapper","#header.jsheader_sticky.menu_scroll_v1",".contentbody .menu_moblie.menu_mobilescroll",".site-header-wrapper.site-header--sticky",".body-cont #shopify-section-header > .cont-header.header-fixed-true","body.cc-animate-enabled[data-cc-animate-timeout] > #shopify-section-header.section-header","body.cc-animate-enabled[data-cc-animate-timeout].reveal-mobile-nav > .mobile-navigation-drawer","body.cc-animate-enabled[data-cc-animate-timeout].show-search #main-search.main-search",'body.has-sticky-header .header__wrapper.js__header__stuck[data-header-sticky="sticky"]',".header__drawer.drawer--visible[data-drawer] .drawer__content .drawer__inner[data-drawer-inner]",'div.navbar.w-nav[data-w-id][role="banner"]','.w-nav-overlay nav.nav-menu.w-nav-menu[data-nav-menu-open][role="navigation"]',"body > .page > #shopify-section-header.header__outer-wrapper",'body > .page > #shopify-section-header.header__outer-wrapper > header.header[data-is-sticky="true"][data-enable-sticky-header="true"] > .drawer-menu.active.visible',"body > .page > #shopify-section-header.header__outer-wrapper > header.header.is-sticky > .drawer-menu.animation.animation--drawer-menu.active.visible.animation--drawer-menu-revealed","body.body-with-sticky-header .header-wrapper.header-wrapper--fixed",".featured-collections__header.sticky__element.featured-collections__header",".container > .container__top-part .page__header.page__header--sticky",'.pageWrap > #shopify-section-announcement + #shopify-section-header.shopify-section.shopify-section-header header.site-header[data-section-id="header"][data-section-type="header"][data-header-height][data-scroll-lock-fill-gap]','.page-wrap > #shopify-section-announcement + #shopify-section-header.shopify-section.shopify-section-header header.site-header[data-section-id="header"][data-section-type="header"][data-header][data-header-height][data-scroll-lock-fill-gap]','#MainContent header.header-sticky .header[data-header-settings*="true"]',".\\#main-header.\\@sticky .\\#main-nav-container",".\\#main-header.\\@sticky .\\#main-header-inner",".js__header__stuck.js__header__stuck__backdrop[data-underline-current] .theme__header",'section.sf-header.stuck[data-section-id="header"][data-section-type="header"] .header__wrapper.absolute',"body.site-header-sticky #shopify-section-static-header.shopify-section.site-header-wrapper > section.site-header.site-navigation-layout-expanded[data-header-main]","body.site-header-sticky #shopify-section-static-header.shopify-section.site-header-wrapper > section.site-header.site-navigation-layout-drawer[data-header-main]","body > #shopify-section-header.shopify-section.shopify-section-header-sticky.animate:not(.shopify-section-header-hidden)",'body > #header[data-section-id="header"][data-section-type="header-section"].stickyHeader',"body > .shopify-section.shopify-section-group-header-group.section-header.shopify-section-header-sticky:not(.shopify-section-header-hidden)",'html[style*="--header-offset: 0px;"] body > #wrapper > .header-section > header#header.header-sticky--active',"body.has-scrolled .site-header--fixed",".container > .header-group > .shopify-section.shopify-section-group-header-group.page-header > .header__wrapper.js__header__stuck"],d=["body:not(.page-move--cart.mobile-drawer--open) #ajaxifyDrawer.is-visible","header.site-header.sticky:not(.ui)",".header.sticky-header--true",".header.sticky-header--false.is-absolute","#shopify-section-header.header header.sticky:not(.ui)","body:not(.mobile-drawer--open) .page-wrapper.page-element",".site-header.is-standard.shift--alert",".large--hide.medium-down--show.sticky-header:not(.ui)","#shopify-section-static-header.site-header-sticky--open","#shopify-section-static-header.visible",".site-navigation-wrapper + .site-mobile-nav .mobile-nav-panel",".site-header-main-content .live-search--takeover .live-search-form","body.colors--body-n-button-match .off-canvas--viewport .off-canvas--main-content","body:not(.js-drawer-open) .sticky-header.squished-header","#announcement-bar.table","body.meta-fixed #meta","header.main-header-wrap.main-header--minimal-sticky","#site-wrap #header #shopify-section-header + .curr-switcher.js",".main_nav_wrapper.sticky_nav.sticky_nav--stick",".main-nav__wrapper.sticky_nav.sticky_nav--stick",".header.header-fixed--true.is-absolute","#header.mobile_nav-fixed--true",'body.mobile_nav-fixed--false a#pagecontent[name="pagecontent"]',".mobile_nav-fixed--false.is-active #header","body.mobile_nav-fixed--true .shopify-section--slideshow.under-menu","body.mobile_nav-fixed--true .shopify-section--image-with-text-overlay.under-menu",'.mono-produit-true [class^="mobile-type-header"] nav.nav-bar',".wrap-all #headerApp",".group-header.sticky-menu.active","nav#page-menu.theme-modal > .inner",".body-cont #shopify-section-header > .cont-header.header-fixed-true nav.nav-bar",".halo-collection-content .toolbar.toolbar-fix","#shopify-section-header-custom .header-slim__content.is-fixed",'.drawer.drawer--right[role="dialog"][data-mobile-navigation-drawer]','#main-menu .main-menu-inner > .main-menu-panel-wrapper > #main-menu-panel.main-menu-panel > ul.main-menu-links[role="navigation"]',"#main-menu .main-menu-panel.main-menu-panel--child > ul.main-menu-links",".header__wrapper.inline-layout-true #header-wrapper.header__main-wrapper.stickynav.sticky--active","#mobile-header.header__mobile-container.stickynav.sticky--active",'body[data-theme-name="Beyond"] header-root.header--root[data-section-id="header"]',"#shopify-section-header.shopify-section header.site-header.site-header--fixed[data-site-header][data-section-id]","body.index header.is-absolute[data-desktop-header] > .header.header-fixed--true[data-header-is-absolute]",...document.querySelector("#wrapper theme-header.header.transparent--true.header-sticky--active")?['#wrapper div[role="main"][id="main-content"]']:[]],a<=480&&s.push("#ajaxifyModal"),a<650&&s.push("#shopify-section-header #header.header__wrapper .header__content"),a<=720&&s.push("body.is-mobile header.main-header.no-border[data-header]","body.is-mobile header.main-header[data-header]"),a<=768&&d.push("#navBar.nav-bar:not(.opened)"),a<=840&&d.push("body:not(.js-drawer-open) .medium-down--fixed"),a<=948&&(s.push("#shopify-section-sidebar main-sidebar.sidebar"),d.push("#content-holder #content","#MainQuickSearch .quick-search__container")),a<=1080&&s.push(".navigation.navigation-has-mega-nav"),a>720&&d.push("body:not(.js-drawer-open) .sticky-header.main-header-wrapper"),a>748&&d.push("#sidebar-holder #sidebar","#content-holder #content","#shopify-section-sidebar .sidebar__container-holder","#shopify-section-sidebar .sidebar__cart-handle"),a>=800&&(s.push("#nav + #content_wrapper.mm-page .content.container"),d.push(".mm-page.mm-slideout #content_wrapper #shopify-section-header + .index-sections .slideshow-section",".mm-page.mm-slideout #content_wrapper #shopify-section-header + .main_content_area .index-sections .slideshow-section",".mm-page.mm-slideout #content_wrapper #shopify-section-header + .index-sections .banner-section")),a>1e3&&(s.push(".bodywrap.cf .page-header.cf"),d.push(".bodywrap.cf .page-header.cf + #navbar.nav-style-out"));let c=document.querySelector('body[class^="warehouse"] #shopify-section-header');if(null!=c){"sticky"===getComputedStyle(c).position&&s.push('body[class^="warehouse"] #shopify-section-header')}let l=0;for(let a=0;a{for(const r of a)if("attributes"===r.type&&"class"===r.attributeName){if(!document.body.contains(t))return void n.disconnect();t.style.zIndex=(null==e?void 0:e.classList.contains("visible"))?"99":"301"}}));e&&n.observe(e,{attributes:!0,attributeFilter:["class"]});break}case 838:document.getElementById(`${a}_background`).style.zIndex=1251;break;case 871:break;case 1114:{const e=document.body,t=document.getElementById(`${a}_background`);if(!t)return;t.style.zIndex=1e6;const n=new MutationObserver((a=>{for(const r of a)if("attributes"===r.type&&"class"===r.attributeName){if(!document.body.contains(t))return void n.disconnect();t.style.zIndex=e.classList.contains("open-search")?"0":"1000000"}}));n.observe(e,{attributes:!0,attributeFilter:["class"]});break}case"Be Yours":case 1399:{const e=document.getElementById(`${a}_background`);e&&(e.style.zIndex="30");break}case 2348:{const e=document.getElementById(`${a}_background`);e&&(e.style.zIndex="519");break}}}else{let t=["#announcement-bar.table[data-parallax]","#PageContainer > .shopify-section.header-section.sticky-header",'body > article.header__section-wrapper[role="banner"] #shopify-section-header.section-header',"#NavDrawer",".drawer + .drawer__close","div[data-product-add-popdown-wrapper].product-add-popdown","#header-menu.drawer.header__drawer .drawer__content","#shopify-section-header.shopify-section.header--sticky",".drawer:not(.search-bar)","body > .js-slideout-overlay.site-overlay","#slideout-search-sidebar","#navBar",".header-toolbar.open-container",".navigation__container",".mobileMenu__overlay","#sidebar-cart",".SidebarMenu.Drawer","#pushy-menu",".nav-container.nav-main","#site-overlay",".mobilenav-overlay",".mobile-menu-overlay",".site-header-wrapper",".ajaxcart-draw",".overnav-overlay",".mobilemenu.dblclick","header.sticky",".nav.side-nav",'body[class^="kagami--"] .page__overlay','body[class^="focal--"] .page__overlay',"#sidebar #menu","#nav .dropdown-menu","#mobile-nav-return.mobile-nav-toggle",".main-header-wrap .main-header .mobile-dropdown",".page-header.cf + #navbar.nav-style-out",".header-cart.slide",".moTab-navigation",".cart-popup-wrapper",".mobile-nav-close","body[data-new-gr-c-s-check-loaded][data-gr-ext-installed] > #searchPopup",".mobile-nav-wrapper","#velaMenuMobile",'a[href="/cart"].dropdown_link + .cart_content',".basel-close-side",".mobile-nav-overlay",".panel-menu.mobile-main-menu","body > .page > #shopify-section-header.header__outer-wrapper","#shopify-section-popup .popup","#shopify-section-footer + .popup.js-popup",".wrap-all>.overlay","#shopify-section-header-vertical #mobile-header .mobile-header__content .mobile-menu",'aside[data-section-id="header-mobile"] .mobile-menu-container',".unero-off-canvas-layer",".site-header .mobile-navigation",".menu-mobile.navbar","#slide-side-menu",".translate-header #dropdown-cart","body > .background-overlay","header .wrapper-navigation > .main-menu.jas-mb-style",".wrapper-header #shopify-section-navigation .wrapper-navigation",".mask-overlay",".box_contentmenu_background","#search-overlay.search-overlay","nav.main-nav-bar",".header-slim__content .nav-mobile-overlay",".page__header.page__header--mobile.hide-desktop .overlay--nav",".page-wrap nav.nav-hamburger.nav-main[data-nav-main]",".\\#modal-popup","#MenuDrawer .modal__background",".predictive-search__overlay",".sf-menu-wrapper.sf-menu-wrapper-mobile",'body > a.page-shade[aria-label="Toggle menu"]',"#Cart-Drawer.side-panel.cart-drawer","body > .page-overlay","#top-search-wrapper","body > .page > #MainQuickSearch"];e<650&&t.unshift("#SiteContainer #header.header__wrapper"),e<768&&t.unshift(".cbp-spmenu.cbp-spmenu-vertical"),e<960&&t.unshift(".quick-cart__wrapper"),e<992&&t.unshift(".mobile__widget.mobile-header__nav .mobile__menu-wrapper"),e<1024&&t.unshift('.mono-produit-true [class^="mobile-type-header"]');for(let e=0;e{let n=document.getElementById(e);if(null===n)return;let r=new CustomEvent(t,{detail:a});n.dispatchEvent(r)};function qab_main_logic(){if(!qab_get_shop_domain().includes("myshopify.com"))return;if(window.qab_already_run="yes",qab_bar_index_previous=-1,qab_bar_index=-1,qab_bars=[],isPremium=!1,qab_built_in_fonts="Helvetica,Verdana,Courier,Times New Roman,Georgia,Brush Script MT,Serif",qab_loaded_fonts="",qab_bar_scored=!1,qab_bar_highest_score=0,qab_is_checkout_page())return;let e=document.createElement("style");e.textContent=qab_css_string,document.head.append(e);var t=window.location.pathname,a=qab_read_cookie("qab_previous_pathname");qab_write_cookie("qab_previous_pathname",window.location.pathname),t==a||null==a?(qab_remove_cookie("qab_close_clicked"),qab_get_bars_locally("skip_session_storage")):qab_get_bars_locally()}function get_locale(){return void 0===window.Shopify.locale?null:window.Shopify.locale.toLowerCase()}function qab_get_bars_remotely(){fetch(QAB_SERVER_URL+"qab_get_bars?shop="+qab_get_shop_domain(),{method:"GET",headers:{"Content-Type":"application/json"}}).then((e=>e.json())).then((e=>{qab_write_session_storage("qab_payload",JSON.stringify(e)),"yes"==e.shop_active&&(qab_bars=e.bars,isPremium=e.record,qab_cool_down())})).catch((e=>{console.error("Error:",e)}))}function qab_get_bars_locally(e){if("skip_session_storage"!=e){var t={},a=qab_read_session_storage("qab_payload");if(a&&(t=JSON.parse(a))&&"yes"===t.shop_active)return void qab_update_global_vars_and_render_bar(t)}(t=window.hextom_qab_config)&&0!=Object.keys(t).length?t.bars.some((function(e){return""!==e.countries||""!==e.exclude_countries}))?qab_get_bars_remotely():"yes"===t.shop_active&&qab_update_global_vars_and_render_bar(t):qab_get_bars_remotely()}function qab_update_global_vars_and_render_bar(e){qab_bars=e.bars,isPremium=e.record,qab_write_session_storage("qab_payload",JSON.stringify(e)),qab_cool_down()}function qab_cool_down(){if(document.getElementById("qab_placeholder")&&(document.getElementById("qab_placeholder").style.transition="height 0ms linear 300ms"),"yes"!==qab_read_cookie("qab_close_clicked"))if(qab_read_cookie("qab_cool_down_seconds")){if(document.getElementById("qab_placeholder")&&(document.getElementById("qab_placeholder").innerHTML=""),document.getElementById("qab_container")&&(document.getElementById("qab_container").innerHTML=""),qab_bar_index>-1){let e=document.getElementById("qab_placeholder"),t=document.getElementById("qab_container");null===e||"inserted"!==qab_bars[qab_bar_index].position&&"inserted_sticky"!==qab_bars[qab_bar_index].position?"top_cover"===qab_bars[qab_bar_index].position||"top_cover_nonsticky"===qab_bars[qab_bar_index].position?t&&(t.style.display="none"):"bottom_cover"===qab_bars[qab_bar_index].position&&(document.body.style.paddingBottom="0"):e.style.paddingBottom="0"}var e=parseFloat(qab_read_cookie("qab_cool_down_seconds"));setTimeout(qab_next_to_display,1e3*e)}else qab_next_to_display()}function ht_animate_opacity(e,t){let a=document.getElementById("qab_background"),n=1,r=1e3*t,o=null;requestAnimationFrame((function t(i){o||(o=i);let s,d=i-o;s=0==r?1:Math.min(d/r,1),"decrease"===e?n=1-s:"increase"===e&&(n=s),a.style.opacity=n,s<1?requestAnimationFrame(t):"decrease"===e&&(document.getElementById("qab_placeholder")&&(document.getElementById("qab_placeholder").innerHTML=""),document.getElementById("qab_container")&&(document.getElementById("qab_container").innerHTML=""))}))}function qab_next_to_display(){if(!qab_bar_scored)for(var e=0;eqab_bar_highest_score&&(qab_bar_highest_score=qab_bars[e].score);if(0!=qab_bar_highest_score){for(var t=qab_bar_index,a=0;;){if(t+=1,(a+=1)>qab_bars.length)return;if(t>=qab_bars.length&&(t=0),!(qab_get_bar_score(qab_bars[t])-1&&(!document.getElementById("qab_placeholder")||"inserted"!==qab_bars[qab_bar_index].position&&"inserted_sticky"!==qab_bars[qab_bar_index].position?"top_push"===qab_bars[qab_bar_index].position||"top_push_sticky"===qab_bars[qab_bar_index].position?setTimeout((function(){document.body.style.paddingTop="0"}),1e3*qab_bars[qab_bar_index].animation_time):"top_cover"===qab_bars[qab_bar_index].position||"top_cover_nonsticky"===qab_bars[qab_bar_index].position?setTimeout((function(){document.getElementById("qab_container")&&(document.getElementById("qab_container").style.display="none")}),1e3*qab_bars[qab_bar_index].animation_time):"bottom_cover"===qab_bars[qab_bar_index].position&&setTimeout((function(){document.body.style.paddingBottom="0"}),1e3*qab_bars[qab_bar_index].animation_time):setTimeout((function(){document.getElementById("qab_placeholder").style.paddingBottom="0"}),1e3*qab_bars[qab_bar_index].animation_time)));qab_bar_index_previous=qab_bar_index,qab_bar_index=t;break}}qab_load_font()}}function qab_get_bar_score(e){var t,a,n;let r=1;if("all"!=e.target_device){if("desktop"==e.target_device&&is_mobile())return 0;if("mobile"==e.target_device&&!is_mobile())return 0}if("any"!=e.source_page&&":"!=e.source_page.charAt(0)){var o=qab_get_source();if(o.indexOf("facebook")>-1&&e.source_page.indexOf("facebook")>-1)r+=1e3;else if(o.indexOf("pinterest")>-1&&window.location.href.indexOf("utm")>-1&&(window.location.href.indexOf("Pinterest")>-1||window.location.href.indexOf("pinterest")>-1))r+=1e3;else{if(-1==o.indexOf(e.source_page))return 0;r+=1e3}}if(":"===e.source_page.charAt(0)){for(var i=e.source_page.substring(1,e.source_page.length).split(","),s=!1,d=0;dl)return 0;if(b{let e=window.location.pathname;return!(!m.urls||m.urls!=e||(r+=15,0))})()||(()=>{let e=window.location.href.toLowerCase();if(m.keywords){let t=m.keywords.split(",").map((e=>e.trim())),a=!1,n=0;for(;n-1){a=!0;break}n++}if(!0===a)return r+=10,!0}return!1})()||m.home&&"home"===meta.page.pageType||(()=>{if(m.products.isTargeting)if(m.products.all){if("product"===meta.page.pageType)return!0}else{if(m.products.productIds){const e=m.products.productIds.split(",").map((e=>e.trim())),t=String(qab_get_product_id());if(!0===e.some((e=>e===t)))return r+=7,!0}if(m.products.tags){const e=m.products.tags.split(",").map((e=>e.trim())),t=qab_get_product_tags();if(e.some((e=>t.includes(e))))return r+=6,!0}if(m.products.collectionIds){const e=m.products.collectionIds.split(",").map((e=>e.trim())),t=qab_get_product_collection_ids();if(!0===e.some((e=>t.includes(Number(e)))))return r+=5,!0}}return!1})()||(()=>{if(m.collections.isTargeting)if(m.collections.all){if("collection"===meta.page.pageType)return!0}else{const e=m.collections.collectionIds.split(",").map((e=>e.trim())),t=String(qab_get_collection_id());if(!0===e.some((e=>e===t)))return r+=5,!0}return!1})()))return 0;r+=20}let p={};"{"==e.exclude_page.charAt(0)?p=JSON.parse(e.exclude_page):(p.products={isTargeting:!1,all:!0,tags:"",productIds:"",collectionIds:""},p.collections={isTargeting:!1,all:!0,collectionIds:""},p.noPages="noPages"==e.exclude_page,p.home="home"==e.exclude_page,p.products.isTargeting="product"==e.exclude_page,p.urls="/"==e.exclude_page.charAt(0)?e.exclude_page:"",p.keywords=":"==e.exclude_page.charAt(0)?e.exclude_page.substring(1):""),isPremium||(p.products.all=!0,p.collections.all=!0);if(!p.noPages){if(p.home&&void 0!==meta.page.pageType&&"home"===meta.page.pageType)return 0;if((()=>{if(p.products.isTargeting){if(p.products.all&&void 0!==meta.page.pageType&&"product"===meta.page.pageType)return!0;if(p.products.productIds){const e=p.products.productIds.split(",").map((e=>e.trim())),t=String(qab_get_product_id());if(!0===e.some((e=>e===t)))return!0}if(p.products.collectionIds){const e=p.products.collectionIds.split(",").map((e=>e.trim())),t=qab_get_product_collection_ids();if(!0===e.some((e=>t.includes(Number(e)))))return!0}if(p.products.tags){const e=p.products.tags.split(",").map((e=>e.trim())),t=qab_get_product_tags();if(e.some((e=>t.includes(e))))return!0}}return!1})())return 0;if((()=>{if(p.collections.isTargeting){if(p.collections.all&&void 0!==meta.page.pageType&&"collection"===meta.page.pageType)return!0;if(p.collections.collectionIds){const e=p.collections.collectionIds.split(",").map((e=>e.trim())),t=String(qab_get_collection_id());if(!0===e.some((e=>e===t)))return!0}}return!1})())return 0;if((()=>{let e=window.location.pathname;return p.urls===e})())return 0;if((()=>{let e=window.location.href.toLowerCase();if(p.keywords){let t=p.keywords.split(",").map((e=>e.trim())),a=!1,n=0;for(;n-1){a=!0;break}n++}if(a)return!0}return!1})())return 0}let _,h,u,g;if(!e.selected_customers_types&&e.selected_customers_type&&"number"==typeof e.selected_customers_spent)_={tag:"tag"==e.selected_customers_type,spent:"spent"==e.selected_customers_type},h={comparisonOperator:">=",value:e.selected_customers_spent};else{if(!e.selected_customers_types||!isJSONParsable(e.selected_customers_spent_object))return console.log("QAB: 700"),0;_=JSON.parse(e.selected_customers_types),h=JSON.parse(e.selected_customers_spent_object)}!e.excluded_customers_types&&e.excluded_customers_type&&"number"==typeof e.excluded_customers_spent?(u={tag:"tag"==e.excluded_customers_type,spent:"spent"==e.excluded_customers_type},g={comparisonOperator:"<=",value:e.excluded_customers_spent}):e.excluded_customers_types&&isJSONParsable(e.excluded_customers_spent_object)&&(u=JSON.parse(e.excluded_customers_types),g=JSON.parse(e.excluded_customers_spent_object));const y=parseFloat(qab_get_customer_spent());if((_.tag||_.spent||_.loggedIn)&&(null==(t=window.hextom_qab_meta)||t.hasOwnProperty("p2"),null==meta.page.customerId||null==(null==(a=window.hextom_qab_meta)?void 0:a.hasOwnProperty("p2"))))return 0;if(_.tag){if(!(qab_get_customer_tags().indexOf(e.selected_customers_tag)>-1))return 0;r+=10}if(_.loggedIn){if(null==meta.page.customerId)return 0;r+=10}if(_.spent){const e={">":(e,t)=>e>t,">=":(e,t)=>e>=t,"<":(e,t)=>ee<=t,"=":(e,t)=>e===t}[h.comparisonOperator];if(!e||!e(y,Math.round(100*h.value)))return 0;r+=10}if(u.loggedIn&&null!=meta.page.customerId)return 0;if(u.tag){if(qab_get_customer_tags().indexOf(e.excluded_customers_tag)>-1)return 0}if(u.spent&&null!=meta.page.customerId&&null!=(null==(n=window.hextom_qab_meta)?void 0:n.hasOwnProperty("p2"))){const e={">":(e,t)=>e>t,">=":(e,t)=>e>=t,"<":(e,t)=>ee<=t,"=":(e,t)=>e===t}[g.comparisonOperator];if(e&&e(y,Math.round(100*g.value)))return 0}return r}function qab_load_font(){if("inherit"==qab_bars[qab_bar_index].font)qab_render_bar();else if(qab_built_in_fonts.indexOf(qab_bars[qab_bar_index].font)>-1)qab_render_bar();else if(qab_loaded_fonts.indexOf(qab_bars[qab_bar_index].font)>-1)qab_render_bar();else{qab_loaded_fonts+=","+qab_bars[qab_bar_index].font;var e=document.createElement("link"),t=document.getElementsByTagName("head")[0];e.setAttribute("href","https://fonts.googleapis.com/css?family="+qab_bars[qab_bar_index].font.replace(/ /g,"+")),e.setAttribute("type","text/css"),e.setAttribute("rel","stylesheet"),e.onload=qab_render_bar,t.insertBefore(e,t.firstChild)}}const qab_get_product_id=()=>{var e;return(null==(e=window.hextom_qab_meta)?void 0:e.p3)||""},qab_get_product_collection_ids=()=>{var e;return Array.isArray(null==(e=window.hextom_qab_meta)?void 0:e.p4)&&window.hextom_qab_meta.p4.length?window.hextom_qab_meta.p4:""},qab_get_collection_id=()=>{var e;return(null==(e=window.hextom_qab_meta)?void 0:e.p5)||""},qab_get_product_tags=()=>{var e,t;return(null==(t=null==(e=window.hextom_qab_meta)?void 0:e.p1)?void 0:t.map((e=>e.split("").reverse().join(""))))||[]};function qab_get_customer_tags(){var e=window.hextom_qab_meta||{};if(!e.hasOwnProperty("p2"))return[];var t=e.p2.v2;if(!t)return[];var a=[];return t.forEach((function(e,t){a[t]=e.split("").reverse().join("")}),a),a}function qab_get_customer_spent(){var e=0,t=window.hextom_qab_meta||{};if(!t.hasOwnProperty("p2"))return e;var a=t.p2.v3||"0,0";return e=7*parseFloat(a.split(",")[0])+parseFloat(a.split(",")[1])}function hasContent(e){return null!=e&&e.trim().length>0&&null!=e}function qab_render_bar(){isJSONParsable(qab_bars[qab_bar_index].message)?(message=JSON.parse(qab_bars[qab_bar_index].message),isLegacy=!1):isLegacy=!0;let current_locale=get_locale();if(isLegacy)null!==current_locale&&qab_bars[qab_bar_index].locales.indexOf(current_locale)>-1&&(hasContent(qab_bars[qab_bar_index].translation[current_locale].message)&&(qab_bars[qab_bar_index].message=qab_bars[qab_bar_index].translation[current_locale].message),hasContent(qab_bars[qab_bar_index].translation[current_locale].button_text)&&(qab_bars[qab_bar_index].button_text=qab_bars[qab_bar_index].translation[current_locale].button_text));else if(!isLegacy){if(null!==current_locale&&qab_bars[qab_bar_index].locales.indexOf(current_locale)>-1)if("standard"==message.type||"marquee"==message.type)hasContent(qab_bars[qab_bar_index].translation[current_locale].message)&&(message.content=qab_bars[qab_bar_index].translation[current_locale].message),hasContent(qab_bars[qab_bar_index].translation[current_locale].button1)&&(message.buttonText=qab_bars[qab_bar_index].translation[current_locale].button1),hasContent(qab_bars[qab_bar_index].translation[current_locale].button2)&&(message.copyButtonTextAfter=qab_bars[qab_bar_index].translation[current_locale].button2);else if("sliding"==message.type)message.content=qab_bars[qab_bar_index].translation[current_locale].message.split(",");else if("stacked"==message.type){let e=qab_bars[qab_bar_index].translation[current_locale].message.split(",");message.bars.forEach(((t,a,n)=>{t.content=e[a]}))}if("standard"==message.type)qab_bars[qab_bar_index].message=message.content,qab_bars[qab_bar_index].button_text=message.buttonText,qab_bars[qab_bar_index].button_text2=message.copyButtonTextAfter,qab_bars[qab_bar_index].button_link=message.buttonLink,qab_bars[qab_bar_index].button_disable="none"==message.callToAction||!message.hasButton,qab_bars[qab_bar_index].entire_bar_clickable="none"!=message.callToAction&&message.entireBarIsClickable,qab_bars[qab_bar_index].button_link_insert_language_code=message.insertLanguageCode,qab_bars[qab_bar_index].new_tab=message.newTab,qab_bars[qab_bar_index].button_animation=isPremium?message.buttonAnimation:"";else if("stacked"==message.type)qab_bars[qab_bar_index].bar_padding=0;else if("sliding"==message.type&&isPremium){let e=document.getElementById("slidingStyle");null==e&&(e=document.createElement("style"),e.id="slidingStyle",document.body.appendChild(e)),e.innerHTML=`.qab_slide_message{\n position: relative;\n display: inline-block !important;\n animation-duration: ${message.duration}s;\n animation-name: qab_animation;\n animation-iteration-count: infinite;\n animation-timing-function: ease-in-out;\n animation-delay: 1ms;\n opacity: 0;\n }\n @keyframes qab_animation{\n 0%{\n opacity: 0;\n ${message.isSliding&&"rtl"==message.direction?"transform: translateX(calc(50vw + 50%));":""}\n ${message.isSliding&&"ltr"==message.direction?"transform: translateX(calc(-50vw + -50%));":""}\n ${message.isSliding&&"ttb"==message.direction?"transform: translateY(-200%);":""}\n ${message.isSliding&&"btt"==message.direction?"transform: translateY(200%);":""}\n }\n 1%{\n ${message.isFading?"opacity: 0;":" opacity: 1;"}\n }\n 5%{\n ${message.isFading?"opacity: 0;":" opacity: 1;"}\n ${message.isSliding&&"rtl"==message.direction?"transform: translateX(calc(50vw + 50%));":""}\n ${message.isSliding&&"ltr"==message.direction?"transform: translateX(calc(-50vw + -50%));":""}\n ${message.isSliding&&"ttb"==message.direction?"transform: translateY(-200%);":""}\n ${message.isSliding&&"btt"==message.direction?"transform: translateY(200%);":""}\n }\n 20%{\n opacity: 1;\n transform: translateX(0%);\n transform: translateY(0%);\n }\n 80%{\n opacity: 1;\n transform: translateX(0%);\n transform: translateY(0%);\n }\n 95%{\n ${message.isFading?"opacity: 0;":" opacity: 1;"} \n ${message.isSliding&&"rtl"==message.direction?"transform: translateX(calc(-50vw + -50%));":""}\n ${message.isSliding&&"ltr"==message.direction?"transform: translateX(calc(50vw + 50%));":""}\n ${message.isSliding&&"ttb"==message.direction?"transform: translateY(200%);":""}\n ${message.isSliding&&"btt"==message.direction?"transform: translateY(-200%);":""}\n }\n 100%{\n ${message.isFading?"opacity: 0;":" opacity: 1;"}\n ${message.isSliding&&"rtl"==message.direction?"transform: translateX(calc(-50vw + -50%));":""}\n ${message.isSliding&&"ltr"==message.direction?"transform: translateX(calc(50vw + 50%));":""}\n ${message.isSliding&&"ttb"==message.direction?"transform: translateY(200%);":""}\n ${message.isSliding&&"btt"==message.direction?"transform: translateY(-200%);":""}\n }\n }`}else if("marquee"==message.type&&isPremium){let e=document.getElementById("marqueeStyle");null==e&&(e=document.createElement("style"),e.id="marqueeStyle",document.body.appendChild(e)),e.innerHTML=`#ht_scroll_parent {display: inline-flex; animation: qab-text-horizontal-scroll ${650-42*message.speed}s linear infinite;}\n #ht_scroll_parent:hover{animation-play-state: paused;}\n @media (prefers-reduced-motion) { #ht_scroll_parent{ animation-play-state: paused;}}\n @keyframes qab-text-horizontal-scroll {\n 0% { transform: translateX(${"rtl"==message.direction?"0":"-80%"});opacity: 0;}\n 0.2% {opacity: 1;}\n 99.8% {opacity: 1;}\n 100% {transform: translateX(calc(${"rtl"==message.direction?"-90%":"0"}));opacity: 0;}`}}var browser_width=window.innerWidth||document.body.clientWidth;if(null===document.getElementById("qab_container")){var container_html='
';"top_push"===qab_bars[qab_bar_index].position?handlePlacementTopPush().handlePlacementTopPushLogic(browser_width,container_html,"qab"):"top_push_sticky"===qab_bars[qab_bar_index].position?handlePlacementTopPushSticky().handlePlacementTopPushStickyLogic(browser_width,container_html,"qab"):document.body.insertAdjacentHTML("beforeend",container_html)}let bar_html;qab_bar_index>-1&&qab_bar_index_previous>-1&&qab_bar_index_previous!=qab_bar_index&&qab_bars[qab_bar_index].position!=qab_bars[qab_bar_index_previous].position&&(null===document.getElementById("qab_placeholder")||"inserted"!==qab_bars[qab_bar_index_previous].position&&"inserted_sticky"!==qab_bars[qab_bar_index_previous].position?"top_push"===qab_bars[qab_bar_index_previous].position||"top_push_sticky"===qab_bars[qab_bar_index_previous].position?document.body.style.paddingTop="0":"top_cover"===qab_bars[qab_bar_index].position||"top_cover_nonsticky"===qab_bars[qab_bar_index].position?document.getElementById("qab_container").style.display="none":"bottom_cover"===qab_bars[qab_bar_index_previous].position&&(document.body.style.paddingBottom="0"):document.getElementById("qab_placeholder").style.paddingBottom="0");const bar=qab_bars[qab_bar_index],clickable=bar.button_disable&&bar.entire_bar_clickable,hasButton=!bar.button_disable&&!bar.entire_bar_clickable,closeable=bar.close_option,hasArrows=!(!message||!message.hasArrows)&&message.hasArrows,isMobile=window.outerWidth<770,arrowMargins=isMobile?"40px":"60px",arrowIconLeft=`\x3c!--!Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2025 Fonticons, Inc.--\x3e`,arrowIconRight=`\x3c!--!Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2025 Fonticons, Inc.--\x3e`,backgroundStyle=`style="opacity:0; margin:0; padding:0; left:0; height:auto; width:100%; z-index:1000000; position:relative; overflow:hidden; ${clickable?"cursor: pointer;":""}"`,barStyle='style="text-align:center; margin:0; padding:0; left:0; height:auto; width:100%; box-sizing:border-box; border:none;"',contentStyle='style="text-align:center; display:inline-block; width:100%;"',messageStyle='style="color:inherit;"',generalSlidingButtonStyle=`style="position: absolute; cursor: pointer; top: 50%; transform: translateY(-50%); color:${qab_bars[qab_bar_index].text_color}; display: flex; align-items: center; justify-content: center;`,buttonStyleLeft=`${generalSlidingButtonStyle} left: ${closeable?arrowMargins:"15px"};"`,buttonStyleRight=`${generalSlidingButtonStyle} right: ${closeable?arrowMargins:"15px"};"`,closeButtonHtml='
',buttonHtml='',arrowButtonsLeftHTML=`
${arrowIconLeft}
`,arrowButtonsRightHTML=`
${arrowIconRight}
`,onClick=clickable?'onclick="qab_button_on_click(event)";':"",closeButton=closeable?closeButtonHtml:"",button=hasButton?buttonHtml:"",arrowButtonLeft=hasArrows?arrowButtonsLeftHTML:"",arrowButtonRight=hasArrows?arrowButtonsRightHTML:"",createBarHtml=()=>`
\n
\n
\n \n ${button}\n
\n ${arrowButtonLeft}\n ${arrowButtonRight}\n
\n ${closeButton}\n
`;bar_html=createBarHtml(),document.getElementById("qab_placeholder")&&(document.getElementById("qab_placeholder").innerHTML=""),null!==document.getElementById("qab_container")&&(document.getElementById("qab_container").innerHTML="",document.getElementById("qab_container").style.display="block",document.getElementById("qab_container").style.color="inherit"),null===document.getElementById("qab_placeholder")||"inserted"!==qab_bars[qab_bar_index].position&&"inserted_sticky"!==qab_bars[qab_bar_index].position?document.getElementById("qab_container")&&(document.getElementById("qab_container").innerHTML=bar_html):document.getElementById("qab_placeholder").insertAdjacentHTML("beforeend",bar_html);var screen_width=window.innerWidth>0?window.innerWidth:screen.width,adjusted_font_size=parseFloat(qab_bars[qab_bar_index].font_size),adjusted_bar_padding=parseFloat(qab_bars[qab_bar_index].bar_padding);"all"==qab_bars[qab_bar_index].target_device&&(screen_width<=736&&adjusted_font_size>14?(adjusted_bar_padding=14*adjusted_bar_padding/adjusted_font_size,adjusted_font_size=14,adjusted_bar_padding>8&&(adjusted_bar_padding=8)):screen_width>736&&screen_width<=770&&adjusted_font_size>16&&(adjusted_bar_padding=16*adjusted_bar_padding/adjusted_font_size,adjusted_font_size=16,adjusted_bar_padding>10&&(adjusted_bar_padding=10)));var color=qab_bars[qab_bar_index].background_color,rgbaCol="rgba("+parseInt(color.slice(-6,-4),16)+","+parseInt(color.slice(-4,-2),16)+","+parseInt(color.slice(-2),16)+","+qab_bars[qab_bar_index].opacity+")";if(document.getElementById("qab_bar")&&(document.getElementById("qab_bar").style.backgroundColor=rgbaCol,document.getElementById("qab_bar").style.color=qab_bars[qab_bar_index].text_color,document.getElementById("qab_bar").style.fontSize=adjusted_font_size+"px",document.getElementById("qab_bar").style.lineHeight=1.25*adjusted_font_size+"px",document.getElementById("qab_bar").style.paddingTop=adjusted_bar_padding+"px",document.getElementById("qab_bar").style.paddingBottom=adjusted_bar_padding+"px",document.getElementById("qab_bar").style.fontFamily=qab_bars[qab_bar_index].font),document.getElementById("qab_content")&&(document.getElementById("qab_content").style.fontSize=adjusted_font_size+"px"),document.querySelector("#qab_close svg")&&(document.querySelector("#qab_close svg").style.fill=qab_bars[qab_bar_index].text_color,document.querySelector("#qab_close svg").style.width=1.5*adjusted_font_size,document.querySelector("#qab_close svg").style.height=1.5*adjusted_font_size),qab_bars[qab_bar_index].background_type?"color"==qab_bars[qab_bar_index].background_type?document.getElementById("qab_background").style.backgroundImage="":"gradient"==qab_bars[qab_bar_index].background_type?qab_bars[qab_bar_index].gradient_color_3&&qab_bars[qab_bar_index].gradient_color_3.trim().length>0?document.getElementById("qab_background").style.backgroundImage="linear-gradient("+qab_bars[qab_bar_index].gradient_degree+"deg, "+qab_bars[qab_bar_index].gradient_color_1+", "+qab_bars[qab_bar_index].gradient_color_2+", "+qab_bars[qab_bar_index].gradient_color_3+")":document.getElementById("qab_background").style.backgroundImage="linear-gradient("+qab_bars[qab_bar_index].gradient_degree+"deg, "+qab_bars[qab_bar_index].gradient_color_1+", "+qab_bars[qab_bar_index].gradient_color_2+")":"image_pattern"==qab_bars[qab_bar_index].background_type?document.getElementById("qab_background")&&(document.getElementById("qab_background").style.backgroundImage="url("+QAB_CDN_URL+qab_bars[qab_bar_index].background_pic+")",document.getElementById("qab_background").style.backgroundRepeat="repeat"):"image_fit"==qab_bars[qab_bar_index].background_type&&document.getElementById("qab_background")&&(document.getElementById("qab_background").style.backgroundImage="url("+QAB_CDN_URL+qab_bars[qab_bar_index].background_pic+")",document.getElementById("qab_background").style.backgroundRepeat="no-repeat",document.getElementById("qab_background").style.backgroundSize="cover",document.getElementById("qab_background").style.animationName="ht_image_fit_slider",document.getElementById("qab_background").style.animationDuration=qab_bars[qab_bar_index].background_moving_speed+"s",document.getElementById("qab_background").style.animationIterationCount="infinite",document.getElementById("qab_background").style.animationDirection="alternate"):qab_bars[qab_bar_index].background_pic&&(document.getElementById("qab_background").style.backgroundImage="url("+QAB_CDN_URL+qab_bars[qab_bar_index].background_pic+")"),document.getElementById("qab_message").style.fontSize=adjusted_font_size+"px",isLegacy||"standard"==(null==message?void 0:message.type)){if(document.getElementById("qab_message").innerHTML=qab_bars[qab_bar_index].message.replace("{{button}}",""),!1===qab_bars[qab_bar_index].button_disable&&!1===qab_bars[qab_bar_index].entire_bar_clickable){if(document.getElementById("qab_button").style.color=qab_bars[qab_bar_index].button_text_color,document.getElementById("qab_button").style.backgroundColor=qab_bars[qab_bar_index].button_background_color,"ht-emitting"===qab_bars[qab_bar_index].button_animation){var qab_emitting_box_shadow=qab_convertHex(qab_bars[qab_bar_index].button_background_color);let e=document.createElement("style");e.textContent="@-webkit-keyframes ht-emitting {13% {box-shadow: 0 0 5px 5px "+qab_emitting_box_shadow+";}25%,100% {box-shadow: 0 0 0 0 "+qab_emitting_box_shadow+";}}@keyframes ht-emitting {13% {box-shadow: 0 0 5px 5px "+qab_emitting_box_shadow+";}25%,100% {box-shadow: 0 0 0 0 "+qab_emitting_box_shadow+";}}",document.head.appendChild(e)}""!==qab_bars[qab_bar_index].button_animation&&(document.getElementById("qab_button").classList.add("ht-animated"),document.getElementById("qab_button").classList.add("ht-infinite"),document.getElementById("qab_button").classList.add(qab_bars[qab_bar_index].button_animation)),document.getElementById("qab_button").innerHTML=qab_bars[qab_bar_index].button_text}}else if("sliding"==(null==message?void 0:message.type)){let e;setTimeout((()=>{const e=document.getElementById("qab_left_button");e&&("ltr"==message.direction?e.addEventListener("click",t):e.addEventListener("click",a))}),100),setTimeout((()=>{const e=document.getElementById("qab_right_button");e&&("ltr"==message.direction?e.addEventListener("click",a):e.addEventListener("click",t))}),100),qab_message=document.getElementById("qab_message"),setBarHeightToTallestMessage();const t=()=>{qab_message.style.transition="opacity 225ms linear",qab_message.style.opacity="0%",setTimeout((()=>{clearInterval(e),qab_message.innerHTML="",qab_message.style.transition="",qab_message.style.opacity="100%",n(),e=setInterval((()=>{n()}),1e3*message.duration)}),225)},a=()=>{slidingIndex-2==-2?slidingIndex=message.content.length-2:slidingIndex-2==-1?slidingIndex=message.content.length-1:slidingIndex-=2,qab_message.style.transition="opacity 225ms linear",qab_message.style.opacity="0%",setTimeout((()=>{clearInterval(e),qab_message.innerHTML="",qab_message.style.transition="",qab_message.style.opacity="100%",n(),e=setInterval((()=>{n()}),1e3*message.duration)}),225)},n=()=>{qab_message||(qab_message=document.getElementById("qab_message")),qab_message.innerHTML=`
${message.content[slidingIndex]}
`,slidingIndex=slidingIndex==message.content.length-1?0:++slidingIndex};n(),isPremium&&(e=setInterval((()=>{n()}),1e3*message.duration))}else if("marquee"==(null==message?void 0:message.type)){let e="
";for(let t=0;t<45;t++)e+=""+message.content+"";e+="
",document.getElementById("qab_message").innerHTML=isPremium?e:message.content}else if("stacked"==(null==message?void 0:message.type)){let e="";message.bars.forEach(((t,a,n)=>{e+=`${message.bars[a].isClickable?``:""}
${message.bars[a].content}
${message.bars[a].isClickable?"
":""}`})),document.getElementById("qab_message").innerHTML=e}null===document.getElementById("qab_custom_code")&&document.body.insertAdjacentHTML("beforeend",'
');let qabCustomCode=document.getElementById("qab_custom_code");function executeScripts(element){const scripts=element.getElementsByTagName("script");for(let ht_i=0;ht_i")),isPremium||(document.getElementById("ht_slide")&&(document.getElementById("ht_slide").innerHTML=""),document.getElementById("ht_scroll")&&(document.getElementById("ht_scroll").innerHTML="",document.getElementById("ht_scroll_parent")&&(document.getElementById("ht_scroll_parent").innerHTML=document.getElementById("ht_scroll_parent").firstChild.innerHTML))),executeScripts(qabCustomCode),null!==document.getElementById("qab_placeholder")&&"inserted"===qab_bars[qab_bar_index].position?document.getElementById("qab_background").style.position="relative":null!==document.getElementById("qab_placeholder")&&"inserted_sticky"===qab_bars[qab_bar_index].position?document.getElementById("qab_background").style.position="fixed":"top_push_sticky"===qab_bars[qab_bar_index].position||"top_cover"===qab_bars[qab_bar_index].position?(document.getElementById("qab_background").style.position="fixed",document.getElementById("qab_background").style.top="0"):"top_cover_nonsticky"===qab_bars[qab_bar_index].position?(document.getElementById("qab_background").style.position="absolute",document.getElementById("qab_background").style.top="0"):"bottom_cover"===qab_bars[qab_bar_index].position&&(document.getElementById("qab_background").style.position="fixed",document.getElementById("qab_background").style.bottom="0"),ht_animate_opacity("increase",qab_bars[qab_bar_index].animation_time);var bar_element=document.getElementById("qab_bar");setTimeout((function(){try{bar_element.hidden=!0,bar_element.offsetHeight,bar_element.hidden=!1}catch(e){}}),0),setTimeout((function(){update_bar_height();new ResizeObserver((e=>{update_bar_height()})).observe(document.getElementById("qab_background"))}),0);var qab_cool_down_seconds=parseFloat(qab_bars[qab_bar_index].interval_time);if(qab_cool_down_seconds>0){var total_cool_down_seconds=parseFloat(qab_bars[qab_bar_index].interval_time)+parseFloat(qab_bars[qab_bar_index].show_time);qab_write_cookie("qab_cool_down_seconds",qab_cool_down_seconds,total_cool_down_seconds)}qab_bars[qab_bar_index].show_time>0&&setTimeout((function(){qab_cool_down(),triggerEvent("qab_placeholder","qab_fully_unloaded",qab_bars[qab_bar_index].position),triggerEvent("qab_container","qab_fully_unloaded",qab_bars[qab_bar_index].position),qab_remove_theme_integration(),(1===qab_bars.length||qab_bars[qab_bar_index+1]&&qab_bars[qab_bar_index].countries!==qab_bars[qab_bar_index+1].countries)&&qab_remove_container_height()}),1e3*qab_bars[qab_bar_index].show_time),handleZIndex(browser_width,qab_bars[qab_bar_index].position,"qab"),triggerEvent("qab_placeholder","qab_fully_loaded",[qab_bars[qab_bar_index].position]),triggerEvent("qab_container","qab_fully_loaded",[qab_bars[qab_bar_index].position]),window.addEventListener("fsbIsClosing",(()=>{handleContentShiftTopPushSticky().handleContentShiftTopPushStickyLogic(browser_width,"qab")})),window.addEventListener("epbIsClosing",(()=>{handleContentShiftTopPushSticky().handleContentShiftTopPushStickyLogic(browser_width,"qab")}))}function qab_button_on_click(e){if(e.preventDefault(),e.stopPropagation(),isPremium&&fetch(QAB_SERVER_URL+"qab_record_bar?shop="+qab_get_shop_domain()+"&bar_id="+qab_bars[qab_bar_index].bar_id+"&event=click",{method:"GET"}).then((function(e){if(!e.ok)throw new Error("Network response was not ok");return e.json()})).then((function(e){qab_write_cookie("qab_clicked_"+qab_bars[qab_bar_index].bar_id,"yes")})).catch((function(e){console.error("Fetch error:",e)})),isLegacy||"copy"!=message.callToAction){try{qab_link_address=new URL(qab_bars[qab_bar_index].button_link)}catch(t){}let e=new URL(window.location.href);if(!0===qab_bars[qab_bar_index].button_link_insert_language_code&&"object"==typeof qab_link_address&&e.origin===qab_link_address.origin&&"/"!=window.Shopify.routes.root){let e=qab_link_address.origin+qab_link_address.pathname,t="";qab_bars[qab_bar_index].button_link.length>e.length&&(t=qab_bars[qab_bar_index].button_link.substring(e.length,qab_bars[qab_bar_index].button_link.length));let a=qab_link_address.origin+(null!=window.Shopify.routes.root?window.Shopify.routes.root.slice(0,-1):"")+qab_link_address.pathname+t;qab_bars[qab_bar_index].new_tab?window.open(a,"_blank"):window.location=a}else qab_bars[qab_bar_index].new_tab?window.open(qab_bars[qab_bar_index].button_link,"_blank"):window.location=qab_bars[qab_bar_index].button_link}else{(function(e){navigator.clipboard.writeText(e).then((()=>{document.getElementById("qab_button")&&(document.getElementById("qab_button").innerHTML=qab_bars[qab_bar_index].button_text2)})).catch((e=>console.error("Failed to copy text: ",e)))})(message.buttonLink)}}function qab_convertHex(e){return e=e.replace("#",""),"rgba("+parseInt(e.substring(0,2),16)+","+parseInt(e.substring(2,4),16)+","+parseInt(e.substring(4,6),16)+",0.8)"}function qab_close_on_click(e){e.preventDefault(),e.stopPropagation(),triggerEvent("qab_placeholder","qab_fully_unloaded",[qab_bars[qab_bar_index].position]),triggerEvent("qab_container","qab_fully_unloaded",[qab_bars[qab_bar_index].position]),null!==document.getElementById("qab_placeholder")&&setTimeout((function(){document.getElementById("qab_placeholder").innerHTML=""}),100),setTimeout((function(){document.getElementById("qab_container").innerHTML=""}),100),null===document.getElementById("qab_placeholder")||"inserted"!==qab_bars[qab_bar_index].position&&"inserted_sticky"!==qab_bars[qab_bar_index].position?"top_cover"===qab_bars[qab_bar_index].position||"top_cover_nonsticky"===qab_bars[qab_bar_index].position?document.getElementById("qab_container").style.display="none":"bottom_cover"===qab_bars[qab_bar_index].position&&(document.body.style.paddingBottom="0"):document.getElementById("qab_placeholder").style.paddingBottom="0",qab_remove_theme_integration(),qab_remove_container_height(),"top_push_sticky"==qab_bars[qab_bar_index].position&&(window.hextomData.qabHeight=0,window.dispatchEvent(new CustomEvent("qabIsClosing"))),qab_write_cookie("qab_close_clicked","yes")}function qab_get_shop_domain(){if("object"==typeof Shopify&&Shopify.hasOwnProperty("shop"))return Shopify.shop;for(var e=document.getElementsByTagName("script"),t=0;t0&&-1==e.indexOf(t)?(qab_write_cookie("qab_source",e,28800),e):(qab_write_cookie("qab_source","",28800),"")}function qab_get_utm(e){if(qab_read_cookie("qab_utm")===e)return!0;var t=document.location.href;return t.length>0&&t.toLowerCase().indexOf(e.toLowerCase())>0&&(qab_write_cookie("qab_utm",e,28800),!0)}function qab_read_cookie(e){var t=("; "+document.cookie).split("; "+e+"=");if(2==t.length)return t.pop().split(";").shift()}function qab_write_cookie(e,t,a){if(a){var n=new Date;n.setTime(n.getTime()+1e3*a);var r="; expires="+n.toGMTString()}else r="";document.cookie=e+"="+t+r+"; path=/"}function qab_remove_cookie(e){document.cookie=e+"=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/"}function qab_read_session_storage(e){try{return sessionStorage.getItem(e)}catch(t){return null}}function qab_write_session_storage(e,t){try{sessionStorage.setItem(e,t)}catch(a){return}}function qab_is_checkout_page(){var e=window.location.hostname,t=window.location.pathname;return-1!==e.indexOf("checkout.shopify.com")||-1!==t.indexOf("checkout")&&-1!==t.indexOf("thank_you")}function qab_remove_theme_integration(){var e=document.getElementById("qab_theme_integration_styles");e&&e.parentNode.removeChild(e)}function qab_remove_container_height(){var e=document.getElementById("qab_container");e&&(parseFloat(e.style.height)>0&&(e.style.height="0"));var t=document.getElementById("qab_placeholder");t&&(parseFloat(t.style.height)>0&&(t.style.height="0"))}function is_mobile(){var e=!1;return(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|ipad|iris|kindle|Android|Silk|lge |maemo|midp|mmp|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i.test(navigator.userAgent)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(navigator.userAgent.substr(0,4)))&&(e=!0),e}function getOuterHeight(e){if(null===e)return 0;var t=e.offsetHeight,a=getComputedStyle(e);return t+=parseInt(a.marginTop)+parseInt(a.marginBottom),t-=1}function update_bar_height(){var e=getOuterHeight(document.getElementById("qab_bar"));window.hextomData=window.hextomData||{},"top_push_sticky"===qab_bars[qab_bar_index].position?window.hextomData.qabHeight=e:window.hextomData.qabHeight=0,null!==document.getElementById("qab_placeholder")&&"inserted"===qab_bars[qab_bar_index].position?document.getElementById("qab_placeholder").style.height=e.toString()+"px":null!==document.getElementById("qab_placeholder")&&"inserted_sticky"===qab_bars[qab_bar_index].position?(document.getElementById("qab_placeholder").style.height=e.toString()+"px",document.getElementById("qab_placeholder").style.paddingBottom=e.toString()+"px"):"top_push_sticky"===qab_bars[qab_bar_index].position?setTimeout((function(){document.getElementById("qab_container").style.height=e.toString()+"px"}),0):"top_cover"===qab_bars[qab_bar_index].position||"top_cover_nonsticky"===qab_bars[qab_bar_index].position?document.getElementById("qab_background").style.height=e.toString()+"px":"bottom_cover"===qab_bars[qab_bar_index].position&&(document.getElementById("qab_background").style.height=e.toString()+"px",document.body.style.paddingBottom=e.toString()+"px"),"top_push"===qab_bars[qab_bar_index].position?handleContentShiftTopPush(browser_width,e,"qab"):"top_push_sticky"===qab_bars[qab_bar_index].position&&handleContentShiftTopPushSticky().handleContentShiftTopPushStickyLogic(browser_width,"qab")}const setBarHeightToTallestMessage=()=>{let e,t=0,a=!1,n=document.getElementById("qab_bar");const r=document.getElementById("qab_background").cloneNode(!0);r.style.position="absolute",r.style.left="-9999px",r.style.top="0",r.style.visibility="hidden",document.body.appendChild(r);const o=r.querySelector("#qab_message"),i=document.createElement("style");document.head.appendChild(i),message.content.forEach((e=>{e.includes("{o.innerHTML=a,e=r.offsetHeight,t=Math.max(t,e),n.style.height=t+"px",n.style.alignContent="center"})),document.body.removeChild(r)};return{qab_button_on_click:qab_button_on_click,qab_close_on_click:qab_close_on_click}};if(!window.qab_already_run||"yes"!=window.qab_already_run)var hextom_qab_instance=hextom_qab();window.qab_button_on_click=function(e){hextom_qab_instance.qab_button_on_click(e)},window.qab_close_on_click=function(e){hextom_qab_instance.qab_close_on_click(e)};