1!function(){var e,t,i,n,r,s={62409:function(e,t,i){"use strict";i.d(t,{P:function(){return l},X:function(){return c}});var n=i(42799),r=i(70392),s=i.n(r),o=i(20550),a=i(78097);class l{constructor(e,t,i){this.response=e,this.totalCount=t,this.remainingCount=i}}class c extends n.o{constructor(e){super(e),this.additionHappening=!1,this.init()}init(){if(this.parm.isEnabled){fetch(this.parm.getBasketInfoUrl,{method:"POST",headers:{"X-Requested-With":"XMLHttpRequest"}}).then((e=>{e.clone().json().then((e=>{var t=e.remainingCount;null!==t&&(window.remainingBasketCount=t),this.initializeBasket(e)}))}))}s().subscribe(o.r.addToBasket,((e,t)=>{this.addToBasketInternal(t)})),s().subscribe(o.r.removeFromBasket,((e,t)=>{this.removeFromBasketInternal(t)}))}addToBasketInternal(e){if(!this.additionHappening){this.additionHappening=!0;var t={"X-Requested-With":"XMLHttpRequest","Original-QS":window.location.search},i=new URLSearchParams(`?id=${e.id}&type=${e.type}`);fetch(this.parm.addToBasketUrl,{method:"POST",body:i,headers:t}).then((e=>{e.clone().json().then((e=>{var t=e.basketStatus.remainingCount;null!==t&&(window.remainingBasketCount=t),this.updateBasket(e.basketStatus);var i=e.formattedItem;if(null!==i){var n=new a.rY;n.id=i.id,n.name=i.basketItemProductFamilyName,n.variant=i.basketItemProductColorName,n.brand=i.brand,n.category=i.brandProductCategory,a.yY.pushBasketAddition(n,i.quantity)}}))})).catch((e=>{})).finally((()=>{this.additionHappening=!1}))}}removeFromBasketInternal(e){try{var t={"X-Requested-With":"XMLHttpRequest","Original-QS":window.location.search},i=new URLSearchParams(`?id=${e}`);fetch(this.parm.removeFromBasketUrl,{method:"POST",body:i,headers:t}).then((e=>{e.clone().json().then((e=>{var t=e.basketStatus.remainingCount;null!==t&&(window.remainingBasketCount=t),this.updateBasket(e.basketStatus),0===e.basketStatus.totalCount&&this.emptyBasket();var i=e.formattedItem;if(null!==i){var n=new a.rY;n.id=i.id,n.name=i.basketItemProductFamilyName,n.variant=i.basketItemProductColorName,n.brand=i.brand,n.category=i.brandProductCategory,a.yY.pushBasketRemoval(n,i.quantity)}}))}))}catch(e){}}initializeBasket(e){s().publish(o.r.basketInitialized,e)}updateBasket(e){s().publish(o.r.basketUpdated,e)}emptyBasket(){s().publish(o.r.basketEmpty,null)}static addToBasket(e){let t={id:e,type:arguments.length>1&&void 0!==arguments[1]?arguments[1]:null};s().publish(o.r.addToBasket,t)}static removeFromBasket(e){s().publish(o.r.removeFromBasket,e)}}},56471:function(e,t,i){"use strict";i.d(t,{l:function(){return l}});var n=i(62409),r=i(70392),s=i.n(r),o=i(20550),a=i(42799);class l extends a.o{constructor(e){super(e),this.SELECTOR_ROOT="[data-js='basket-summary-body']",this.SELECTOR_REMOVEBTN="[data-js='remove']",this.SELECTOR_ID=".js-id",this.SELECTOR_BASKET_ITEM="[data-js='basket-item']",this.init()}init(){this.setClickListeners(),s().subscribe(o.r.basketUpdated,((e,t)=>{this.element.closest("[data-in-header]")&&this.getSummary(!0)}))}refreshComponent(e){var t=(new DOMParser).parseFromString(e,"text/html"),i=document.querySelector(this.SELECTOR_ROOT),n=t.querySelector(this.SELECTOR_ROOT);i.replaceWith(n)}getSummary(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];var t=this.parm.getBasketSummaryUrl;e&&(t+="&displayedInHeader=true"),fetch(t,{method:"GET",headers:{"X-Requested-With":"XMLHttpRequest"}}).then((e=>{e.clone().text().then((e=>{this.refreshComponent(e)}))}))}setClickListeners(){this.element.addEventListener("click",(e=>{var t=e.target;if(t.closest(this.SELECTOR_REMOVEBTN)){var i=t.closest(this.SELECTOR_BASKET_ITEM).querySelector(this.SELECTOR_ID);i&&n.X.removeFromBasket(i.value.toString())}}))}}},25612:function(e,t,i){"use strict";i.d(t,{y:function(){return n}});class n{}n.defaultListerUpdated="DEFAULT_LISTER_UPDATED"},77120:function(e,t,i){"use strict";i.d(t,{P:function(){return n}});class n{}n.addFavorites="ADD_FAVORITES",n.deleteFavorites="DELETE_FAVORITES",n.dialogClosed="DIALOG_CLOSED"},58365:function(e,t,i){"use strict";i.d(t,{h:function(){return l}});var n=i(62409),r=i(70392),s=i.n(r),o=i(20550),a=i(42799);class l extends a.o{constructor(e){super(e),this.init()}init(){this.element.querySelectorAll("wc-header-basket").forEach((e=>{e.addEventListener("wc-basket-remove",(e=>{n.X.removeFromBasket(e.detail.id)}
1))})),s().subscribe(o.r.basketUpdated,(()=>{this.refreshBasketSummary()}))}refreshBasketSummary(){fetch(this.parm.getBasketSummaryUrl,{method:"GET",headers:{"X-Requested-With":"XMLHttpRequest"}}).then((e=>{e.clone().json().then((e=>{const t=window["basket-desktop"];t&&(t.updateBasketItems(e),t.openBasket());const i=window["basket-mobile"];i&&(i.updateBasketItems(e),i.openBasket())}))}))}}},50220:function(e,t,i){"use strict";i.d(t,{V:function(){return s}});var n=i(15539),r=i(24448);class s extends n.h{constructor(e){super(e),this.init()}init(){if(!this.element)return;const e=this.getStartSlide(this.parm),t=r.Z.getHomeCarouselOptions(e,this.parm.autoplay,this.parm.scrollInterval);this.initCarousel(t)}}},77370:function(e,t,i){"use strict";i.d(t,{a:function(){return r},b:function(){return n}});class n{constructor(e,t,i){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null;this.documentSetContainer=t,this.categorySelectionHtml=i,this.dataSheetInfos=e,this.encodedPreFilledWatermarkLines=n,this.eventCategory=r}}class r{}r.listerInitialized="IMS_ENTITY_DOWNLOADS_INITIALIZED",r.listerUpdated="IMS_ENTITY_DOWNLOADS_UPDATED",r.categorySelectionRequested="ENTITY_DOWNLOADS_CATEGORY_SELECTION_REQUESTED",r.categorySelectionDialogClosed="CATEGORY_SELECTION_DIALOG_CLOSED"},6910:function(e,t,i){"use strict";i.d(t,{I:function(){return o}});var n=i(42799),r=i(93973),s=i.n(r);class o extends n.o{constructor(e){super(e),this.SELECTOR_TRIGGER_LOGIN=".js-trigger-login",this.isAuthenticated=this.parm.isAuthenticated,this.init()}init(){this.isAuthenticated||document.addEventListener("click",(e=>{e.target.closest(this.SELECTOR_TRIGGER_LOGIN)&&this.login(e)})),this.parm.renderSsoCheckIFrame&&this.loadSsoCheckIFrame()}static getInstance(){if(!o.instance){let e=document.querySelector("[data-component-class='MyAccountManager']");o.instance=e?new o(e):null}return o.instance}login(e){if(this.parm.embeddedLoginEnabled){const e=document.querySelector('wc-dialog[name="login-dialog"]');e&&e.openDialog&&e.openDialog()}else{const e=new(s())(this.parm.loginUrl);e.setQuery("RedirectUri",window.location.href),window.location.href=e.toString()}}loadSsoCheckIFrame(){const e=document.querySelector(".js-sso-check-iframe");e&&e.setAttribute("src",e.dataset.src)}}},64866:function(e,t,i){"use strict";i.d(t,{u:function(){return p}});var n=i(70392),r=i.n(n),s=i(20550),o=i(21887),a=i(42799),l=i(62409),c=i(79234),u="[data-js='sample-request-button']",d="[data-js='popover-message']",h="disabled";class p extends a.o{constructor(e){super(e),this.sampleRequestButton=this.element.querySelector(u),this.sampleRequestButton.addEventListener("click",(()=>{this.addToBasket()})),this.init()}addToBasket(){this.sampleRequestButton.disabled=!0,this.currentSampleData&&this.currentSampleData.colorId&&l.X.addToBasket(this.currentSampleData.colorId,"look")}init(){r().subscribe(s.r.basketUpdated,((e,t)=>{var i=t.remainingCount;this.evaluateSampleState(i)})),r().subscribe(o.z.productColorChanged,((e,t)=>{if(t.shouldCheckSampleAvailability)this.checkSampleAvailability(t.colorId);else{this.currentSampleData=t;var i=window.remainingBasketCount;this.evaluateSampleState(i)}}))}checkSampleAvailability(e){let t={key:e};this.sampleRequestButton.disabled=!0;let i=new c.o(this.parm.checkAvailabilityUrl,t,!1);this.ajaxWrapper.doFetch(i).then((e=>e.clone().json().then((e=>{e.success&&(this.currentSampleData=e.sampleData,this.evaluateSampleState(e.remainingCount))}))))}evaluateSampleState(e){var t=this.evaluate(e);null!=t?(this.setPopoverText(t),this.updatePopoverBox(!1),this.sampleRequestButton.disabled=!0):(this.updatePopoverBox(!0),this.sampleRequestButton.disabled=!1)}evaluate(e){if(null===this.currentSampleData||void 0===this.currentSampleData)return null;if(null===this.currentSampleData.sampleAvailable||void 0===this.currentSampleData.sampleAvailable)return null;if(e<=0||!this.currentSampleData.sampleAvailable){if(!this.currentSampleData.sampleAvailable)return this.parm.sampleUnavailableDisclaimer;if(e<=0)return this.parm.maxItemsDisclaimer}return null}updatePopoverBox(e){e?this.sampleRequestButton.classList.contains(h)&&this.sampleRequestButton.classList.remove(h):this.sampleRequestButton.classList.contains(h)||this.sampleRequestButton.classList.add(h)}setPopoverText(e){this.element.querySelector(d).innerHTML=e}}},20550:function(e,t,i){"use strict";i.d(t,{r:function(){return n}});
1class n{}n.basketUpdated="BASKET_UPDATED",n.basketInitialized="BASKET_INITIALIZED",n.basketEmpty="BASKET_EMPTIED",n.addToBasket="BASKET_ADD",n.removeFromBasket="BASKET_REMOVE"},93790:function(e,t){"use strict";t.Z={onTriggerCloseAbsModal:"onTriggerCloseAbsModal",onCloseAbsModal:"closeAbsModal"}},74149:function(e,t,i){"use strict";i.d(t,{c:function(){return a}});var n=i(24820),r=i(93790),s=i(70392),o=i.n(s);class a extends n.H{constructor(e){super(e),this.SHOWMODAL_SELECTOR=".js-show-modal",this.CLOSEMODAL_SELECTOR=".js-close-modal",this.MODALCONTAINER_SELECTOR=".js-modal",this.ROOT_SELECTOR=":root",this.ISACTIVE_CLASS="is-active",this.OVERFLOWHIDDEN_CLASS="u-overflow-hidden",this.init()}init(){this.modalContainerElement=this.element.querySelector(this.MODALCONTAINER_SELECTOR),this.showModalElement=this.element.querySelector(this.SHOWMODAL_SELECTOR),this.showModalElement&&(this.handleClickCloseModal(),this.handleClickOutsideModal(),this.handleClickShowModal(),o().subscribe(r.Z.onTriggerCloseAbsModal,(()=>this.closeModal())))}handleClickOutsideModal(){document.addEventListener("click",(e=>{!this.modalContainerElement.contains(e.target)&&this.getIsActive()&&this.closeModal()}))}handleClickCloseModal(){const e=this.modalContainerElement.querySelectorAll(this.CLOSEMODAL_SELECTOR);0!==e.length&&e.forEach((e=>{e.addEventListener("click",(()=>{e.classList.contains("m-close")||o().publish(r.Z.onCloseAbsModal),this.closeModal()}))}))}handleClickShowModal(){this.showModalElement.addEventListener("click",(()=>{setTimeout((()=>{this.showModal()}))}))}getIsActive(){return this.modalContainerElement.classList.contains(this.ISACTIVE_CLASS)}closeModal(){this.modalContainerElement.classList.remove(this.ISACTIVE_CLASS),this.showHideOverflowRoot(!1)}showModal(){this.modalContainerElement.classList.toggle(this.ISACTIVE_CLASS),this.modalContainerElement.classList.contains(this.ISACTIVE_CLASS)?this.showHideOverflowRoot(!0):this.showHideOverflowRoot(!1)}getRootElement(){return document.querySelector(this.ROOT_SELECTOR)}showHideOverflowRoot(e){this.handleHidingScrollbar(e),this.getRootElement().classList.toggle(this.OVERFLOWHIDDEN_CLASS)}handleHidingScrollbar(e){if(e){let e=window.innerWidth-document.body.offsetWidth;0!=e&&(document.body.style.marginRight=`${e}px`)}else document.body.style.removeProperty("margin-right")}}},8136:function(e,t,i){"use strict";var n,r;i.d(t,{C9:function(){return n},pe:function(){return r},ZP:function(){return u},UT:function(){return l},Zj:function(){return a}}),function(e){e.SELECT_FILTER="Select filter",e.DESELECT_FILTER="Deselect filter",e.DELETE_FILTER="Delete filter",e.SHOW_MORE="Show more",e.SHOW_LESS="Show less",e.COLLAPSE="Collapse",e.EXPAND="Expand",e.SEARCH="Search",e.LOAD_MORE="Load more",e.LOADED="Loaded",e.DOWNLOAD="Download",e.OPEN_SEARCH="Open search",e.GO_NEXT="Go Next",e.GO_BACK="Go Back",e.GO_LAST="Go Last",e.GO_FIRST="Go First",e.SELECT_CATEGORY="Select category",e.DESELECT_CATEGORY="Deselect category"}(n||(n={})),function(e){e.SEARCH_RESULTS="Search Results"}(r||(r={}));const s=" | ";function o(e){const t=e.getAttribute("data-tracking");return t?JSON.parse(t):null}function a(){return l(decodeURIComponent(window.location.search))}function l(e){if(e)return(e=(e=(e=e.replace(/(filter=)|\"|(.in)|(any)|[?]/g,"")).replace(/[)]/g,"")).replace(/[(]|(.eq.)/g,"=")).trim().replace("==","=").replace(/=/g," = ").replace(/,/g,", ").replace(/\/|[&]/g,s)}class c{static formartedFilter(e){let t=[];for(var i=0;i<e.length;i++)t.push(`${e[i].category} = ${e[i].name}`);return t}static buildEventObject(e){if(!e.filters){const i=document.getElementsByClassName(c.SELECTORS.FILTERS),n=[];if(i&&i.length>0)for(var t=0;t<i.length;t++){const e=i[t].getAttribute("data-filter-category"),r=i[t].getAttribute("data-filter-name"),s=n.find((t=>t.category===e));s?s.name+=`, ${r}`:n.push({category:e,name:r})}e.filters=c.formartedFilter(n).join(s)}return{...{event:"ga-event",nonInteraction:!1,eventValue:void 0,eventLabel:void 0},...e}}static push(e){if(!e)return;if("wizard_steps"!==e.event&&!e.eventCategory){const t=document.getElementById(c.SELECTORS.EVENT_CATEGORY);if(!t||!t.value)return;e.eventCategory=t.value}const t="wizard_steps"===e.event?e:this.buildEventObject(e);"undefined"!=typeof dataLayer&&dataLayer&&t&&dataLayer.push(t)}static pushEvent(e,t){let i=a();this.push({eventAction:e,eventLabel:t,filters:i})}static onLoaded(e){c.push({eventAction:n.LOADED,searchResultsTotal:Number(e),eventLabel:e,f
1ilters:a()})}static onToggle(e,t){const i=o(e);if(!i)return;const{activeEvent:n,cancelEvent:r}=i,s=this.getSelectedSearchFilterItem(e);n.filters=s,r.filters=s,this.push(t?n:r)}static onCollapse(e,t){const i=o(e);if(!i)return;let r=i.eventAction;r=t?i.eventAction===n.COLLAPSE?n.COLLAPSE:n.SHOW_LESS:i.eventAction===n.SHOW_MORE?n.SHOW_MORE:n.EXPAND,this.pushEvent(r,i.eventLabel)}static getSelectedSearchFilterItem(e){const t=e.querySelectorAll(`${this.SELECTORS.SEARCH_FILTER_ITEM}:checked`);if(t&&t.length>0){let e=[];return t.forEach((t=>{e.push(t.value)})),e.join(",")}return""}static onSearchFiltersChange(e,t){e.querySelectorAll('[data-tracking="search-filter-item"]').forEach((e=>e.addEventListener("change",(i=>{c.push({event:"internalSearch",eventCategory:r.SEARCH_RESULTS,eventAction:i.target.checked?n.SELECT_FILTER:n.DESELECT_FILTER,eventLabel:i.target.value,epiServerComponent:t,filters:c.getSelectedSearchFilterItem(e)})}))))}static onSingleCalculationInteraction(e){const t={...e,event:"ga-event",eventCategory:"calculator",nonInteraction:!1,eventValue:void 0};c.push(t)}static onWizardStep(e,t,i){c.push({event:"wizard_steps",step:e,step_name:t,language:i})}}c.SELECTORS={EVENT_CATEGORY:"eventCategory",FILTERS:"gtm-filters",SEARCH_FILTER_ITEM:'[data-tracking="search-filter-item"]'};var u=c},33922:function(e,t){"use strict";class i{static getInstance(){return i.instance||(i.instance=new i),i.instance}constructor(){this.culture=this.getCulture()}getCulture(){let e=document.head.querySelector("[name~=currentCulture][content]");return e?e.content:null}getLanguage(){return this.culture}getCulturedNumber(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!this.culture)return e.toLocaleString();let i=t?"currency":"decimal";return e.toLocaleString(this.culture,{style:i,useGrouping:!1})}getIsoDateStringFromInput(e,t){if(""===t||null===t)return null;const i=document.querySelector(t);if(null===i)return null;const n=i.value;return""!==n?new Date(n.toString()).toISOString():null}}t.Z=i},85556:function(e,t,i){"use strict";i.d(t,{W:function(){return r}});var n=i(24820);class r extends n.H{constructor(e){super(e),this.iframe=null,this.body=null,this.init()}init(){this.iframe=this.element,this.iframe.contentDocument&&(this.body=this.iframe.contentDocument.querySelector("body")),this.adjustIframeOnLoad(),this.bindInnerIframePageLoaded()}adjustIframeOnLoad(){this.iframe.contentDocument&&(this.body=this.iframe.contentDocument.querySelector("body")),this.body&&this.body.children.length>0&&this.adjustIframeHeight(this.iframe),this.iframe.addEventListener("load",(()=>{this.adjustIframeHeight(this.iframe)}))}bindInnerIframePageLoaded(){this.iframe.contentDocument&&this.body&&this.body.classList.contains("js-iframe-loaded")&&this.adjustIframeHeight(this.iframe)}adjustIframeHeight(e){e.height=`${e.contentWindow.document.body.scrollHeight}px`}}},64198:function(e,t,i){"use strict";var n;function r(e,t){let i=t?`(max-width: ${e}px)`:`(min-width: ${e}px)`;return window.matchMedia(i).matches}function s(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,i=arguments.length>2?arguments[2]:void 0,n="";if(!e&&!t)return;e&&t&&(n=`(max-width: ${e}px) and (min-width: ${t+1}px)`),t||(n=`(max-width: ${e}px)`),e||(n=`(min-width: ${t+1}px)`);const r=window.matchMedia(n);void 0!==r.addEventListener?r.addEventListener("change",(e=>{i(e.matches)})):r.addListener((e=>{i(e.matches)}))}i.d(t,{OA:function(){return n},Sx:function(){return s},gF:function(){return r}}),function(e){e[e.mobile=426]="mobile",e[e.mobileLarge=568]="mobileLarge",e[e.tablet=740]="tablet",e[e.desktop=980]="desktop",e[e.wide=1300]="wide",e[e.huge=1600]="huge",e[e.breakpoint=1160]="breakpoint"}(n||(n={}))},24448:function(e,t,i){"use strict";var n=i(64198);t.Z=class{static getContentDownloadCarouselOptions(){const e={};return e[n.OA.desktop]={reInit:!0,perPage:2,autoWidth:!0},{perMove:1,perPage:4,arrows:!0,pagination:!1,breakpoints:e}}static getPatternsCarouselOptions(){const e={};return e[n.OA.desktop]={perPage:1,reInit:!0,type:"loop"},{perMove:1,perPage:4,pagination:!1,arrows:!1,autoWidth:!0,breakpoints:e}}
1static getDownloadCarouselOptions(){const e={};return e[n.OA.desktop]={reInit:!0,type:"loop",autoWidth:!0,arrows:!1},{pagination:!1,perMove:1,perPage:3,arrows:!0,breakpoints:e}}static getEquitoneCarouselOptions(e,t,i){return{autoplay:t,interval:i,start:e,arrows:!0,pagination:!1}}static getMatSpecCarouselOptions(){return{arrows:!1,pagination:!1,type:"loop"}}static getFluidCarouselOptions(){const e={};return e[n.OA.tablet]={focus:0},{type:"loop",perMove:1,perPage:1,focus:"center",arrows:!1,breakpoints:e,autoWidth:!0,pagination:!1}}static getRefCaseTeaserCarouselOptions(){return{type:"loop",perMove:1,arrows:!1,pagination:!1,autoWidth:!0}}static getHomeCarouselOptions(e,t,i){return{autoplay:t,interval:i,arrows:!1,type:"loop",pagination:!1,start:e}}static getProductPickerCarouselOptions(){const e={};return e[n.OA.mobile]={perPage:1},{perMove:1,perPage:5,autoWidth:!0,arrows:!0,pagination:!1,breakpoints:e,flickMaxPages:3}}static getInspContentCarouselOptions(){return{perPage:1,perMove:1,arrows:!1,drag:!1,pagination:!1}}static getInspCarouselOptions(e,t,i){const r={};return r[n.OA.wide]={perPage:6},r[n.OA.desktop]={perPage:4},r[n.OA.tablet]={perPage:3},r[n.OA.mobileLarge]={perPage:2},r[n.OA.mobile]={perPage:1},{perPage:7,start:e,autoplay:t,waitForTransition:!1,interval:i,autoHeight:!0,arrows:!0,pagination:!1,perMove:1,breakpoints:r}}static getRefMainCarouselOptions(){return{type:"loop",perPage:1,perMove:1,arrows:!1,pagination:!1}}static getRefSecondaryCarouselOptions(){const e={};return e[n.OA.desktop]={direction:"ltr",arrows:!1,reInit:!0,type:"slide"},{perPage:4,perMove:1,arrows:!0,pagination:!1,direction:"ttb",type:"slide",height:80,autoHeight:!0,isNavigation:!0,breakpoints:e}}static getAltRefSecondaryCarouselOptions(){const e={};return e[n.OA.desktop]={direction:"ltr",reInit:!0},{perPage:5,perMove:1,arrows:!1,pagination:!1,direction:"ttb",heightRatio:8,autoHeight:!0,isNavigation:!0,breakpoints:e}}static getColoursCarouselOptions(){const e={};return e[n.OA.wide]={perPage:4},e[n.OA.breakpoint]={perPage:3},e[n.OA.desktop]={perPage:1,arrows:!1,autoWidth:!0,type:"slide",reInit:!0},{perMove:3,perPage:5,arrows:!0,pagination:!1,breakpoints:e,flickMaxPages:4}}static getMaterialsCarouselOptions(){return{perMove:1,perPage:1,arrows:!0,pagination:!1,type:"loop"}}static getProductDetailIntroCarouselOptions(){return{pagination:!1,arrows:!0,type:"loop"}}static getRefCaseCarouselOptions(){const e={};return e[n.OA.tablet]={focus:0,perPage:1},{perMove:1,type:"loop",perPage:4,arrows:!1,breakpoints:e,pagination:!1,accessibility:!0,gap:"20px"}}static getCatNavBarCarouselOptions(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;const t={};return t[n.OA.wide]={perPage:6},t[n.OA.desktop]={perPage:4},t[n.OA.tablet]={perPage:2,reInit:!0,type:"loop",padding:{left:"40px",right:"40px"}},t[n.OA.mobileLarge]={perPage:1,padding:{left:"40px",right:"40px"}},t[n.OA.mobile]={perPage:1,padding:{left:"40px",right:"40px"}},{start:e,perPage:7,autoHeight:!0,arrows:!0,pagination:!1,perMove:1,breakpoints:t,width:"100%"}}static getGenericProductPickerCarouselOptions(){const e={};return e[n.OA.wide]={perPage:4,autoWidth:!1},e[n.OA.desktop]={autoWidth:!0,perPage:3},e[n.OA.mobileLarge]={perPage:1},{perMove:1,perPage:5,autoWidth:!0,arrows:!0,pagination:!1,breakpoints:e}}static getGenericProductPickerFinishCarouselOptions(){const e={};return e[n.OA.wide]={perPage:2},e[n.OA.desktop]={perPage:4},e[n.OA.tablet]={perPage:3},e[n.OA.mobileLarge]={perPage:2},{perMove:1,perPage:3,arrows:!0,autoWidth:!0,pagination:!1,breakpoints:e}}static loginDialogCarouselOptions(){const e={};return e[n.OA.tablet]={focus:0},{type:"loop",perMove:1,perPage:1,focus:"center",arrows:!0,breakpoints:e,width:"100%",pagination:!0,accessibility:!1}}static relatedContentCarouselOptions(e){const t={};return t[n.OA.tablet]={type:"loop",focus:0,perPage:1.3,drag:!0,arrows:!1},{type:"slide",perMove:1,perPage:4,arrows:!0,pagination:!1,accessibility:!0,gap:"20px",drag:e>4,breakpoints:t}}static getExteriorMainCarouselOptions(){const e={};return e[n.OA.desktop]={pagination:!0,classes:{pagination:"splide__pagination c-product-carou
1sel-exterior__pagination js-main-carousel-pagination",page:"splide__pagination__page c-product-carousel-exterior__pagination-btn"}},{perPage:1,perMove:1,arrows:!0,pagination:!1,breakpoints:e}}static getExteriorSecondaryCarouselOptions(){return{perPage:6,gap:"8px",perMove:1,arrows:!0,pagination:!1,type:"slide",isNavigation:!0}}static getExteriorColoursCarouselOptions(){const e={};return e[n.OA.mobileLarge]={perPage:6.3},e[n.OA.breakpoint]={perPage:8.3},{perMove:8,perPage:8,gap:"8px",arrows:!0,pagination:!1}}}},15539:function(e,t,i){"use strict";i.d(t,{W:function(){return c},h:function(){return u}});var n=i(49762),r=i.n(n),s=i(88333),o=i.n(s),a=i(64198),l=i(42799);class c extends l.o{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;super(e),this.element=e,this.SLIDES_SELECTOR=".js-carousel-slides",this.SLIDE_SELECTOR=".splide__slide",this.SLIDELIST_SELECTOR=".splide__list",this.PREV_SELECTOR=".js-carousel-prev",this.NEXT_SELECTOR=".js-carousel-next",this.CURRENT_SELECTOR=".js-carousel-current",this.TOTAL_SELECTOR=".js-carousel-total",this.IS_CURRENT_CLASS="is-current-slide",this.IS_CURRENT_CLASS_SELECTOR="."+this.IS_CURRENT_CLASS,this.HIDEBUTTONS_CLASS="splide-hide-buttons",this.REINIT_PROPERTY="reInit",this.element&&(this.initSlidesContainer(),this.setInitialHtml(),this.secondarySplide=t)}getSplide(){return this.splide}setDestroyReinitCallback(e){this.destroyReinitCallback=e}init(){}initSlidesContainer(){this.slides=this.element.querySelector(this.SLIDES_SELECTOR),this.slides}setInitialHtml(){this.slideList=this.element.querySelector(this.SLIDELIST_SELECTOR),this.initalInnerHtml=this.slideList.innerHTML}initCarousel(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(this.splideOptions=e,this.arrowPrev=this.element.querySelector(this.PREV_SELECTOR),this.arrowNext=this.element.querySelector(this.NEXT_SELECTOR),this.arrowNext&&this.arrowPrev&&(this.hasNavigation=!0),window.addEventListener("resize",r()((()=>{this.windowWidth!=window.innerWidth&&this.handleAmountReinit(),this.windowWidth=window.innerWidth}),500)),this.handleAmountReinit())return!0;this.handleMqReinit(e,t)||(this.initInnerCarousel(e,t),this.isCarouselInitted=!0)}initInnerCarousel(e,t){this.splide=new(o())(this.slides,e),this.updateCounters(),t?(this.handleMqSlides(),this.handleFullWidth()):this.handleButtonsVisibility(),this.splide.on("mounted",(()=>{this.onSplideInit&&this.onSplideInit()})),this.secondarySplide?this.splide.sync(this.secondarySplide).mount():this.splide.mount(),this.handleActiveClick&&this.handleClickInner(),this.hasNavigation&&(this.attachNavigate(this.arrowPrev,!1),this.attachNavigate(this.arrowNext,!0))}hideArrows(){this.hasNavigation&&(this.arrowNext.style.display="none",this.arrowNext.setAttribute("aria-hidden","true"),this.arrowPrev.style.display="none",this.arrowPrev.setAttribute("aria-hidden","true"))}showArrows(){this.hasNavigation&&(this.arrowNext.style.removeProperty("display"),this.arrowNext.removeAttribute("aria-hidden"),this.arrowPrev.style.removeProperty("display"),this.arrowPrev.removeAttribute("aria-hidden"))}handleAmountReinit(){if(this.element.dataset.destroy){let e=!1;const t=this.splideOptions.breakpoints;if(t){Object.keys(t).forEach(((i,n)=>{if(window.matchMedia(`(max-width: ${i}px)`).matches){if(!t[i].perPage)return;this.toggleDestroy(t[i].perPage),e=!0}}))}return e||this.toggleDestroy(this.splideOptions.perPage),!0}return!1}toggleDestroy(e){if(!e)return;const t=this.splide?this.splide.Components.Elements.getSlides(!1).length:this.element.querySelectorAll(this.SLIDE_SELECTOR).length,i=this.element.querySelector(this.SLIDES_SELECTOR);t<=e?(this.destroySplide(),this.hideArrows(),i.style.setProperty("--grid-carousel-amount",`${e}`),i.classList.add("is-active","is-destroyed")):(this.splide||this.initInnerCarousel(this.splideOptions,!1),this.showArrows(),i.classList.remove("is-destroyed"),i.style.removeProperty("--grid-carousel-amount"),setTimeout((()=>{this.splide.refresh()})))}handleMqReinit(e,t){const i={...e},n=e.breakpoints;if(!n)return;const r=Object.keys(n);let s=!1;return r.forEach(((r,o)=>{const a=n[r];
1if(a&&a[this.REINIT_PROPERTY]){Object.keys(a).forEach((e=>{i[e]=a[e]}));let n=window.matchMedia(`(max-width: ${r}px)`);n.matches&&(this.destroySplide(),this.initInnerCarousel(i,t),s=!0),this.isCarouselInitted||(void 0!==n.addEventListener?n.addEventListener("change",(()=>{this.changeMqlCallback(i,t,e,n)})):n.addListener((()=>{this.changeMqlCallback(i,t,e,n)})))}})),s}changeMqlCallback(e,t,i,n){this.destroySplide(!0),n.matches?this.initInnerCarousel(e,t):this.initInnerCarousel(i,t),this.destroyReinitCallback&&this.destroyReinitCallback(this.splide)}destroySplide(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];this.slideList.innerHTML=i?"":t||this.initalInnerHtml,this.splide&&(this.splide.destroy(!0),e&&this.splide.State.set("STATES.IDLE"),this.splide=null,this.secondarySplide=null)}handleMqSlides(){const e=a.OA,t=this.splideOptions.perPage;let i=this.getAmountFromOptions(this.splideOptions,e.huge,t),n=this.getAmountFromOptions(this.splideOptions,e.wide,i),r=this.getAmountFromOptions(this.splideOptions,e.desktop,n),s=this.getAmountFromOptions(this.splideOptions,e.tablet,r),o=this.getAmountFromOptions(this.splideOptions,e.mobileLarge,s),l=this.getAmountFromOptions(this.splideOptions,e.mobile,o);(0,a.gF)(e.huge,!1)&&(this.amountOfSlides=t),(0,a.gF)(e.huge,!0)&&(this.amountOfSlides=i),(0,a.gF)(e.wide,!0)&&(this.amountOfSlides=n),(0,a.gF)(e.desktop,!0)&&(this.amountOfSlides=r),(0,a.gF)(e.tablet,!0)&&(this.amountOfSlides=s),(0,a.gF)(e.mobileLarge,!0)&&(this.amountOfSlides=o),(0,a.gF)(e.mobile,!0)&&(this.amountOfSlides=l)}getAmountFromOptions(e,t,i){return e.breakpoints[t]?e.breakpoints[t].perPage:i}handleFullWidth(){this.splide.on("resize",(()=>{this.checkVisibilityButtons(),this.handleMqSlides(),setTimeout((()=>{this.calculateFullWidth()}),0)}))}calculateFullWidth(){const e=this.element.querySelector(this.SLIDELIST_SELECTOR).clientWidth,t=this.element.querySelectorAll(this.SLIDE_SELECTOR);if(t.length>=this.amountOfSlides)return;const i=e/t.length;t.forEach((e=>{e.style.width=`${i}px`}))}handleButtonsVisibility(){this.splide.on("mounted",(()=>{this.checkVisibilityButtons(),this.splide.on("resize",r()((()=>{this.checkVisibilityButtons()}),200))}))}checkVisibilityButtons(){this.splide.Components.Elements.getSlides(!0).some((e=>!e.isVisible()))?this.element.classList.remove(this.HIDEBUTTONS_CLASS):this.element.classList.add(this.HIDEBUTTONS_CLASS)}updateCounters(){let e=this.element.querySelector(this.CURRENT_SELECTOR),t=this.element.querySelector(this.TOTAL_SELECTOR);this.splide.on("mounted",(()=>{this.setSlideNumber(e,this.splide.index+1),this.setSlideNumber(t,this.splide.length)})),this.splide.on("move",(t=>{this.setSlideNumber(e,t+1)}))}attachNavigate(e,t){null!=e&&e.addEventListener("click",(e=>this.navigate(t)))}navigate(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.splide.go(e?">":"<")}setSlideNumber(e,t){null!=e&&(e.textContent=this.parseSlideNumber(t))}parseSlideNumber(e){return parseInt(e.toString()).toLocaleString("en",{minimumIntegerDigits:2})}getStartSlide(e){var t=0;if(e&&e.randomStartSlide){var i=this.slides.querySelectorAll(".c-carousel__slide").length;t=Math.floor(Math.random()*i)}return t}setActiveSlide(e){(!(arguments.length>1&&void 0!==arguments[1])||arguments[1])&&this.removeAllActiveClasses();this.splide.Components.Elements.getSlide(e).slide.classList.add(this.IS_CURRENT_CLASS)}handleActiveSlideClick(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;this.clickCallback=e,this.handleActiveClick=!0}handleClickInner(){this.splide.on("click",(e=>{this.removeAllActiveClasses(),e.slide.classList.add(this.IS_CURRENT_CLASS),this.clickCallback&&this.clickCallback(e.index)}))}removeAllActiveClasses(){this.splide.Components.Elements.getSlides(!0).forEach((e=>{e.slide.classList.remove(this.IS_CURRENT_CLASS)}))}setHeightOnResize(){const e=r()((()=>
1{if(!this.splide)return;const e=this.splide;let t=this.element.offsetHeight;const i=e.options;if("ttb"===i.direction&&i.autoHeight){const n=e.Components?.Layout;if(n&&"function"==typeof n.totalHeight){const r=Math.max(1,Math.ceil(Number(i.perPage)||1)),s=Math.min(e.length,r)-1;if(s>=0){const e=n.totalHeight(s);t=Math.max(t,Math.ceil(e))}}}e.options={height:t},this.checkVisibilityButtons()}),200);this.splide.off("resize.setHeightOnCarousel").off("resized.setHeightOnCarousel"),this.splide.on("resize.setHeightOnCarousel",e),this.splide.on("resized.setHeightOnCarousel",e)}onSplideInit(){}reInitCarousel(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;this.initSlidesContainer(),this.setInitialHtml(),this.secondarySplide=t,this.handleMqReinit(this.splideOptions,e)||this.initInnerCarousel(this.splideOptions,e)}}class u extends c{}},33876:function(e,t,i){"use strict";i.d(t,{Km:function(){return d},Vq:function(){return p},ir:function(){return h},vb:function(){return u}});var n=i(93672),r=i(24820),s=i(85556),o=i(21887),a=i(70392),l=i.n(a),c=i(58706);class u extends r.H{constructor(e){super(e),this.NEXT_SELECTOR=".js-next",this.DIALOG_HIDE_SELECTOR="data-a11y-dialog-hide",this.DIALOG_ID="data_a11y_dialog",this.DIALOG_SELECTOR='[role="document"]',this.HIDDEN_CLASS="u-hidden",this.hasListener=!1,this.dialogId=null,this.dialog=null,this.init()}init(){null===this.dialog&&(this.dialog=new n.Z(this.element),this.dialogId=this.element.dataset.a11yDialog,c.DialogManager.getInstance().register(this),this.dialog.on("show",((e,t)=>{this.onShow(e,t)})),this.dialog.on("hide",((e,t)=>{this.onHide(e,t)})),this.element.querySelector(this.NEXT_SELECTOR)&&this.element.querySelector(this.NEXT_SELECTOR).addEventListener("click",(e=>{let t=e.target.closest(this.DIALOG_SELECTOR),i=t.nextElementSibling;t.classList.add(this.HIDDEN_CLASS),i.classList.remove(this.HIDDEN_CLASS)})),l().subscribe(o.z.closeDialog,(()=>this.dialog.hide())))}reInit(){this.dialog.destroy(),this.dialog=new n.Z(this.element),this.dialog.on("show",((e,t)=>{this.onShow(e,t)})),this.dialog.on("hide",((e,t)=>{this.onHide(e,t)}))}onShow(e,t){document.documentElement.style.overflowY="hidden";let i=new Event(o.z.dialogShow);e.dispatchEvent(i)}onHide(e,t){document.documentElement.style.overflowY="";let i=new Event(o.z.dialogClose);e.dispatchEvent(i),l().publish(o.z.dialogClose),this.undoNextPage()}undoNextPage(){let e=this.element.querySelectorAll('[role="document"]');e.forEach((e=>{e.classList.add(this.HIDDEN_CLASS)})),e[0].classList.remove(this.HIDDEN_CLASS)}show(e){null===this.dialog&&this.init(),this.dialog.show(e)}hide(){null!==this.dialog&&this.dialog.hide()}}class d extends u{constructor(e){super(e)}preInit(){this.parm=this.getClientData()}getClientData(){var e=this.element.attributes[d.CLIENT_DATA_ATTRIBUTE],t=null;if(e)try{t=JSON.parse(e.value)}catch(i){t=e}return t}}d.CLIENT_DATA_ATTRIBUTE="data-component-parm";class h extends u{constructor(e){super(e),this.init()}init(){super.init()}onShow(e,t){super.onShow(e,t);let i=e.querySelector("iframe");
1i&&(new s.W(i),this.bindInnerIframeClose(i))}bindInnerIframeClose(e){let t=null;e.contentDocument&&(t=e.contentDocument.querySelector(`[${this.DIALOG_HIDE_SELECTOR}]`)),t&&(this.hasListener||(this.hasListener=!0,t.addEventListener("click",(e=>{this.dialog.hide()}))))}}class p extends u{constructor(e){super(e),this.init()}init(){super.init()}}},17400:function(e,t,i){"use strict";i.d(t,{v:function(){return r}});var n=i(24820);class r extends n.H{constructor(e){super(e),this.CLASS_TRIGGER="js-dropdown__trigger",this.SELECTOR_TRIGGER="."+this.CLASS_TRIGGER,this.CLASS_PANEL="js-dropdown__panel",this.SELECTOR_PANEL="."+this.CLASS_PANEL,this.CLASS_ACTIVE="is-active",this.init()}init(){this.element&&(this.triggerElement=this.element.querySelector(this.SELECTOR_TRIGGER),this.panelElement=this.element.querySelector(this.SELECTOR_PANEL),this.triggerElement&&this.panelElement&&(this.triggerElement.setAttribute("aria-haspopup",(!0).toString()),this.triggerElement.setAttribute("aria-expanded",(!1).toString()),this.panelElement.setAttribute("aria-hidden",(!0).toString()),this.panelElement.setAttribute("aria-labelledby",this.element.id),this.panelElement.setAttribute("tabindex","-1"),this.element.addEventListener("click",(e=>{var t=e.target;null!=t&&t.closest(this.SELECTOR_TRIGGER)&&(this.element.classList.contains(this.CLASS_ACTIVE)?this.closePanel():this.showPanel())})),document.addEventListener("click",(e=>{this.element.contains(e.target)||this.closePanel()})),document.addEventListener("keydown",(e=>{27===e.which&&(e.preventDefault(),this.closePanel())}))))}showPanel(){this.element.classList.add(this.CLASS_ACTIVE),this.triggerElement.setAttribute("aria-expanded",(!0).toString()),this.panelElement.setAttribute("aria-hidden",(!1).toString())}closePanel(){this.element.classList.remove(this.CLASS_ACTIVE),this.triggerElement.setAttribute("aria-expanded",(!1).toString()),this.panelElement.setAttribute("aria-hidden",(!0).toString())}}},21887:function(e,t,i){"use strict";i.d(t,{p:function(){return n},z:function(){return r}});class n{constructor(e,t,i){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;this.colorId=e,this.shouldCheckSampleAvailability=t,this.sampleAvailable=i,this.familyId=n}}class r{}r.productColorChanged="PRODUCT_COLOR_CHANGED",r.pollProductColor="POLL_PRODUCT_COLOR",r.dialogShow="dialog-show",r.dialogClose="dialog-hide",r.closeDialog="close-dialog"},12711:function(e,t,i){"use strict";i.d(t,{N:function(){return r},U:function(){return n}});class n{constructor(e,t,i){this.newValue=e,this.facetName=t,this.facetValueKey=i}}class r{}r.facetUpdated="FACET_UPDATED"},62583:function(e,t,i){"use strict";i.d(t,{U:function(){return o}});var n=i(24820),r=i(49762),s=i.n(r);class o extends n.H{constructor(e){super(e),this.LEFT_SELECTOR=".js-table-control-left",this.RIGHT_SELECTOR=".js-table-control-right",this.TABLE_SELECTOR=".js-responsive-table",this.TABLEWRAPPER_SELECTOR=".js-responsive-table-wrapper",this.COLUMN_SELECTOR=".js-responsive-column",this.HIDDEN_CLASS="u-hidden",this.CSS_VAR_POSITION_LEFT_HEADING="--table__heading-v2-sticky--left",this.CSS_VAR_POSITION_LEFT_CELL="--table__cell-v2-sticky--left",this.modifier=1,this.tableWidth=0,this.amountOfFixedColumns=0,this.init()}init(){this.leftControl=this.element.querySelector(this.LEFT_SELECTOR),this.rightControl=this.element.querySelector(this.RIGHT_SELECTOR),this.table=this.element.querySelector(this.TABLE_SELECTOR),this.tableWrapper=this.element.querySelector(this.TABLEWRAPPER_SELECTOR),this.stickyColumns=this.element.querySelectorAll('[data-sticky="true"]'),this.stickyHeadingColumns=this.element.querySelectorAll('thead [data-sticky="true"]'),this.amountOfFixedColumns=this.stickyHeadingColumns?this.stickyHeadingColumns.length:0,this.onScroll(),this.handleControlClicks(),document.addEventListener("onload",(e=>{this.setLeftPosition(),this.initTableProps(),this.controlNeeded=this.isControlNeeded(),this.controlNeeded&&(this.initScrollAmounts(),this.evaluateControls())}));new ResizeObserver((e=>{let t=e[0].contentRect;this.tableWidth!=t.width&&(this.tableWidth=t.width,this.toggleTableScrolling())})).observe(this.element)}toggleTableScrolling(){this.setLeftPosition(),this.initTableProps(),this.initScrollAmounts(),this.evaluateControls()}handleControlClicks(){this.leftControl.addEventListener("click",(()=>{this.onClickControl(this.leftScrollAmount),this.setStateDisabled(!0)})),this.rightControl.addEventListener("click",(()=>{this.onClickControl(this.rightScrollAmount),this.setStateDisabled(!0)}))}onClickControl(e){this.tableWrapper.scrollBy({left:e,behavior:"smooth"})}initColumns(){this.columns=new Array;let e=0;
1this.element.querySelectorAll(this.COLUMN_SELECTOR).forEach(((t,i)=>{this.amountOfFixedColumns-1<i?this.columns.push(t):e+=t.offsetWidth})),this.tableXbegin=Math.round(this.tableWrapper.getBoundingClientRect().left+e),this.tableXend=Math.round(this.tableWrapper.getBoundingClientRect().left+this.tableWrapperWidth)}setLeftPosition(){let e=0,t=this.amountOfFixedColumns;this.stickyColumns.forEach(((i,n)=>{n%t==0&&(e=0);const r=i.parentElement.parentElement;i.style.setProperty(r&&"THEAD"===r.tagName.toUpperCase()?this.CSS_VAR_POSITION_LEFT_HEADING:this.CSS_VAR_POSITION_LEFT_CELL,`${e}px`),e+=i.clientWidth}))}initScrollAmounts(){let e=0,t=0;this.initColumns();for(const i of this.columns){const n=Math.round(i.getBoundingClientRect().left);n<this.tableXbegin-this.modifier&&(e=n-this.tableXbegin);const r=i.getBoundingClientRect().width,s=Math.round(n+r);if(s>this.tableXend+this.modifier){t=s-this.tableXend;break}}this.leftScrollAmount=e,this.rightScrollAmount=t}initTableProps(){this.tableScrollWidth=this.tableWrapper.scrollWidth,this.tableWrapperWidth=this.tableWrapper.clientWidth,this.tableWrapperScrollLeft=this.tableWrapper.scrollLeft}evaluateControls(){const e=this.tableWrapperScrollLeft-this.modifier<=1;this.evaluateControl(this.leftControl,e);const t=this.tableWrapperScrollLeft+this.modifier>=this.tableScrollWidth-this.tableWrapperWidth;this.evaluateControl(this.rightControl,t)}evaluateControl(e,t){t?e.classList.add(this.HIDDEN_CLASS):e.classList.remove(this.HIDDEN_CLASS)}hideControls(){this.leftControl.classList.add(this.HIDDEN_CLASS),this.rightControl.classList.add(this.HIDDEN_CLASS)}isControlNeeded(){const e=this.tableWrapperWidth<this.tableScrollWidth;return e||this.hideControls(),e}setStateDisabled(e){e?(this.leftControl.setAttribute("disabled","true"),this.rightControl.setAttribute("disabled","true")):(this.leftControl.removeAttribute("disabled"),this.rightControl.removeAttribute("disabled"))}onScroll(){this.tableWrapper.addEventListener("scroll",s()((()=>{this.setStateDisabled(!1),this.tableWrapperScrollLeft=this.tableWrapper.scrollLeft,this.initScrollAmounts(),this.evaluateControls()}),100))}}},38297:function(e,t,i){"use strict";i.d(t,{Z:function(){return o}});var n=i(24820),r=i(49762),s=i.n(r);class o extends n.H{constructor(e){super(e),this.CTA__LEFT__SELECTOR=".js-tabs-left",this.CTA__RIGHT__SELECTOR=".js-tabs-right",this.CLASS__SCROLL="is-scrollable";let t=this.element.querySelectorAll('[role="tablist"]');t.length>0&&(this.navFirst=t[0]),this.init()}init(){this.setCTANavScrolling()}setCTANavScrolling(){this.ctaRight=this.navFirst.parentElement.querySelector(this.CTA__RIGHT__SELECTOR),this.ctaLeft=this.navFirst.parentElement.querySelector(this.CTA__LEFT__SELECTOR),this.ctaRight&&(this.ctaRight.addEventListener("click",(e=>{this.scrollLeft=!1,this.scrolling()})),this.ctaLeft.addEventListener("click",(e=>{this.scrollLeft=!0,this.scrolling()})),this.toggleDisableButtons(),this.toggleNavScrollButtons(),window.onresize=s()((()=>{this.toggleNavScrollButtons()}),250))}scrolling(){let e=this.scrollLeft?this.navFirst.offsetLeft-this.navFirst.clientWidth:this.navFirst.offsetLeft+this.navFirst.clientWidth;this.navFirst.scrollBy({left:e,behavior:"smooth"}),setInterval((()=>{this.toggleDisableButtons()}),200)}toggleNavScrollButtons(){let e=this.navFirst.scrollWidth>this.navFirst.clientWidth;this.navFirst.parentElement.classList.toggle(this.CLASS__SCROLL,e),this.toggleDisableButtons()}toggleDisableButtons(){this.ctaLeft.disabled=0===this.navFirst.scrollLeft,this.ctaRight.disabled=this.navFirst.scrollLeft+this.navFirst.clientWidth>=this.navFirst.scrollWidth}}},54701:function(e,t,i){"use strict";i.d(t,{Y:function(){return g}});var n=i(24820),r=i(49762),s=i.n(r);var o=class{constructor(e){this.RANGE_SELECTOR=".js-slider-range",this.CONTAINER_SELECTOR=".js-slider",this.MIN_ATTR="data-min",this.MAX_ATTR="data-max",this.STEP_ATTR="data-step",this.PRECISION_ATTR="data-precision",this.rootElement=e,this.sliderRange=e.querySelector(this.RANGE_SELECTOR),this.sliderRangeContainer=e.querySelector(this.CONTAINER_SELECTOR),this.init()}init(){this.sliderContainerWidth=this.sliderRangeContainer.offsetWidth;let e=this.sliderRangeContainer.getBoundingClientRect();this.sliderRangeLeftPos=e.left,this.sliderRangeRightPos=e.right,this.initSteps()}getLowestStepValue(){const e=this.getLowestStepData();return e?e.stepValue:this.min}getHighestStepValue(){const e=this.getHighestStepData();return e?e.stepValue:this.max}getLowestStepData(){return this.steps[0]}getHighestStepData(){return this.steps[this.steps.length-1]}getMinOrMaxStepIndex(e){const t=e?this.getHighestStepData():this.getLowestStepData();return t?t.stepIndex:null}initSteps(){if(this.steps=new Array,this.precision=this.getData(this.PRECISION_ATTR),this.max=this.getData(this.MAX_ATTR),this.min=this.getData(this.MIN_ATTR),this.step=this.getData(this.STEP_ATTR),this.step<=0)return;let e=0;for(let t=this.min;t<this.max;t+=this.step){let i=e*this.step/(this.max-this.min),n={stepIndex:e,stepPosStyle:100*i+"%",stepPosCoordinate:this.sliderRangeLeftPos+i*this.sliderContainerWidth,stepValue:this.rnd(t)};this.steps.push(n),e++}let t={stepIndex:this.steps.length,stepPosStyle:"100%",stepPosCoordinate:this.sliderRangeLeftPos+this.sliderContainerWidth,stepValue:this.max};this.steps.push(t)}getData(e){return this.rnd(parseFloat(this.rootElement.getAttribute(e).replace(",",".")))}rnd(e){return+e.toFixed(this.precision)}getStepDataAtIndex(e){return this.steps[e]}getClosestRangeData(e){return this.steps.reduce(((t,i)=>Math.abs(i.stepPosCoordinate-e)<Math.abs(t.stepPosCoordinate-e)?i:t))}getClosestRangeDataValue(e){const t=e;return this.steps.reduce(((e,i)=>Math.abs(i.stepValue-t)<Math.abs(e.stepValue-t)?i:e))}getSliderContainerWidth(){return this.sliderContainerWidth}getSliderRangeLeftPos(){return this.sliderRangeLeftPos}getSliderRangeRightPos(){return this.sliderRangeRightPos}setSliderRangeLeftPos(e){this.sliderRangeLeftPos=e}setSliderRangeRightPos(e){this.sliderRangeRightPos=e}setRangeLeftStyling(e){this.sliderRange.style.left=e}getOffsetIndex(){const e=+(this.steps.length/10).toFixed(0);return e<=1?0:e}getRangePrecision(){return this.precision}getMaxValue(){return this.max}getMinValue(){return this.min}setRangeWidthStyling(e,t){this.sliderRange.style.width=this.calcSliderWidth(e,t)}calcSliderWidth(e,t){return t-e+"%"}};var a=class{constructor(e,t,i){this.ACTIVE_CLASS="c-slider-range__handle--active",this.element=e,this.currentIndex=t,this.isMinBtn=i,this.init()}init(){this.leftStyling=this.element.style.left,this.posLeft=this.element.getBoundingClientRect().left}getIsMinBtn(){return this.isMinBtn}getElement(){return this.element}getLeftStyling(){return this.leftStyling}getLeftStylingNumber(){return parseInt(this.leftStyling.replace("%",""))}getPositionLeft(){return this.posLeft}getCurrentIndex(){return this.currentIndex}setMinMaxPosition(e,t){this.setPosition(e);const i=this.element.getBoundingClientRect();this.posLeft=t?i.right:i.left}setStepPosition(e,t){this.setPosition(e),this.posLeft=t}setPosition(e){this.leftStyling=e,this.element.style.left=e}removeActiveClass(){this.element.classList.remove(this.ACTIVE_CLASS)}addActiveClass(){this.element.classList.add(this.ACTIVE_CLASS)}setCurrentIndex(e){this.currentIndex=e}},l=i(33922);var c=class{constructor(e,t,i,n,r){this.MININPUT_SELECTOR=".js-slider-min",this.MAXINPUT_SELECTOR=".js-slider-max",this.MINFOCUS_CLASS="c-slider-wrapper--min-focused",this.MAXFOCUS_CLASS="c-slider-wrapper--max-focused",this.rootElement=t,this.focusClass=e?this.MINFOCUS_CLASS:this.MAXFOCUS_CLASS,this.input=t.querySelector(e?this.MININPUT_SELECTOR:this.MAXINPUT_SELECTOR),this.defaultValue=n,this.currentStepData=r,this.setUiValue(n),this.initChangeEvent(i),this.initFocusInEvent(),this.initFocusOutEvent()}getValue(){return this.internalValue}setInternalValue(e){this.internalValue=e}setUiValue(e){this.setInternalValue(e),this.input.value=l.Z.getInstance().getCulturedNumber(e)}initChangeEvent(e){this.input.addEventListener("change",(()=>{/[0-9]|\./.test(this.input.value)||this.setDefaultValue(),this.setInternalValue(parseFloat(this.input.value.replace(",","."))),this.input.blur(),e()}))}initFocusInEvent(){this.input.addEventListener("focusin",(()=>{this.input.select(),this.rootElement.classList.add(this.focusClass)}))}initFocusOutEvent(){this.input.addEventListener("focusout",(()=>{this.rootElement.classList.remove(this.focusClass)}))}setDefaultValue(){this.setUiValue(this.defaultValue)}getCurrentStepDataValue(){return this.currentStepData.stepValue}getCurrentStepDataIndex(){return this.currentStepData.stepIndex}setCurrentStepData(e){this.currentStepData=e}};var u=class{constructor(e,t,i,n,r){this.MINSELECTED_ATTRIBUTE="data-selected-min",this.MAXSELECTED_ATTRIBUTE="data-selected-max",this.onMinInputChange=()=>{this.handleOnChangeInput(!0,!0)},this.onMaxInputChange=()=>{this.handleOnChangeInput(!1,!0)},this.rootElement=e,this.sliderRange=t;const s=t.getMaxValue(),o=t.getMinValue(),a=t.getLowestStepData(),l=t.getHighestStepData();this.minInput=new c(!0,e,this.onMinInputChange,o,a),this.maxInput=new c(!1,e,this.onMaxInputChange,s,l),this.minBtn=i,this.maxBtn=n,this.getDataCallback=r}handleInitSelectedValues(){const e=this.sliderRange.getData(this.MINSELECTED_ATTRIBUTE);e&&(this.minInput.setUiValue(e),this.handleOnChangeInput(!0,!1));const t=this.sliderRange.getData(this.MAXSELECTED_ATTRIBUTE);t&&(this.maxInput.setUiValue(t),this.handleOnChangeInput(!1,!1))}
1handleOnChangeInput(e,t){const i=e?this.minInput:this.maxInput,n=e?this.maxInput:this.minInput,r=this.handleInputChange(i,n,e,t);r&&(this.setBtnProperties(e?this.minBtn:this.maxBtn,r),e&&this.sliderRange.setRangeLeftStyling(r.stepPosStyle))}setBtnProperties(e,t){e.setStepPosition(t.stepPosStyle,t.stepPosCoordinate),e.setCurrentIndex(t.stepIndex),this.sliderRange.setRangeWidthStyling(this.minBtn.getLeftStylingNumber(),this.maxBtn.getLeftStylingNumber())}handleInputChange(e,t,i,n){let r=this.sliderRange.getClosestRangeDataValue(e.getValue());const s=this.sliderRange.getOffsetIndex(),o=i?r.stepIndex+s:r.stepIndex-s,a=t.getCurrentStepDataIndex();if(this.assertOffsetIndexRespected(o,i,a)||(r=this.sliderRange.getStepDataAtIndex(i?a-s-1:a+s+1)),!r)return null;const l=t.getCurrentStepDataValue();return this.assertMinMaxRespected(i?r.stepValue:l,i?l:r.stepValue)?(e.setUiValue(r.stepValue),e.setCurrentStepData(r),this.callGetDataCallback(n),r):(e.setUiValue(e.getCurrentStepDataValue()),null)}assertOffsetIndexRespected(e,t,i){let n=!1;return n=t?e<i:i<e,n}callGetDataCallback(){(!(arguments.length>0&&void 0!==arguments[0])||arguments[0])&&this.getDataCallback(this.getSliderData())}assertMinMaxRespected(e,t){return!(e>=t)}setMaxInputValue(e){this.maxInput.setUiValue(e)}setMinInputValue(e){this.minInput.setUiValue(e)}getMinInput(){return this.minInput}getMaxInput(){return this.maxInput}setMinInputLowest(){const e=this.sliderRange.getLowestStepValue();this.setMinInputValue(e),this.minInput.setCurrentStepData(this.sliderRange.getLowestStepData())}setMaxInputHighest(){const e=this.sliderRange.getHighestStepValue();this.setMaxInputValue(e),this.maxInput.setCurrentStepData(this.sliderRange.getHighestStepData())}getSliderData(){const e=this.minInput.getValue(),t=this.maxInput.getValue();return{min:e,max:t,range:this.sliderRange.rnd(t-e)}}};class d extends n.H{constructor(e,t){super(e),this.HANDLEMIN_SELECTOR=".js-slider-handle-min",this.HANDLEMAX_SELECTOR=".js-slider-handle-max",this.MINFOCUSED_CLASS="c-slider-wrapper--min-focused",this.MAXFOCUSED_CLASS="c-slider-wrapper--max-focused",this.TIMEOUT_ATTRIBUTE="data-set-timeout",this.downPressMinBtnCallback=e=>{this.dragStartedMin=!0,this.element.classList.add(this.MINFOCUSED_CLASS),this.minBtn.addActiveClass(),e.preventDefault()},this.downPressMaxBtnCallback=e=>{this.dragStartedMax=!0,this.element.classList.add(this.MAXFOCUSED_CLASS),this.maxBtn.addActiveClass(),e.preventDefault()},this.releaseBtnCallback=e=>{(this.dragStartedMax||this.dragStartedMin)&&(this.dragStartedMax=!1,this.dragStartedMin=!1,this.minBtn.removeActiveClass(),this.maxBtn.removeActiveClass(),this.element.classList.remove(this.MINFOCUSED_CLASS),this.element.classList.remove(this.MAXFOCUSED_CLASS),this.sliderInputHandler.callGetDataCallback(),e.preventDefault())},this.touchMoveCallback=e=>{let t=e.touches[0].pageX;this.dragCallback(t,e)},this.mouseMoveCallback=e=>{let t=e.clientX;this.dragCallback(t,e)},this.timeOut=e.getAttribute(this.TIMEOUT_ATTRIBUTE),this.timeOut?setTimeout((()=>{this.initSlider(t)}),parseInt(this.timeOut)):this.initSlider(t)}init(){}initSlider(e){this.sliderRange=new o(this.element),this.minBtn=new a(this.element.querySelector(this.HANDLEMIN_SELECTOR),this.sliderRange.getMinOrMaxStepIndex(!1),!0),this.maxBtn=new a(this.element.querySelector(this.HANDLEMAX_SELECTOR),this.sliderRange.getMinOrMaxStepIndex(!0),!1),this.sliderInputHandler=new u(this.element,this.sliderRange,this.minBtn,this.maxBtn,e),this.minInput=this.sliderInputHandler.getMinInput(),this.maxInput=this.sliderInputHandler.getMaxInput(),this.setCurrentValues(),this.initEventHandling()}setCurrentValues(){this.sliderInputHandler.handleInitSelectedValues()}initEventHandling(){let e=document.querySelector("body");this.minBtn.getElement().addEventListener("touchstart",this.downPressMinBtnCallback,!1),this.maxBtn.getElement().addEventListener("touchstart",this.downPressMaxBtnCallback,!1),e.addEventListener("touchend",this.releaseBtnCallback,!1),e.addEventListener("touchmove",this.touchMoveCallback,{passive:!1}),this.minBtn.getElement().addEventListener("mousedown",this.downPressMinBtnCallback,!1),this.maxBtn.getElement().addEventListener("mousedown",this.downPressMaxBtnCallback,!1),e.addEventListener("mouseup",this.releaseBtnCallback,!1),e.addEventListener("mousemove",this.mouseMoveCallback,!1),this.handleResize()}handleResize(){window.addEventListener("resize",s()((()=>
1{this.sliderRange.init(),this.minBtn.init(),this.maxBtn.init()}),500))}dragCallback(e,t){this.dragStartedMin&&this.handleDragMinBtn(e,t),this.dragStartedMax&&this.handleDragMaxBtn(e,t)}handleDragMinBtn(e,t){if(t.preventDefault(),!this.isButtonPassingOther(e,this.maxBtn.getPositionLeft())){if(this.isButtonPassingMinMaxLimit(this.sliderRange.getSliderRangeLeftPos(),e))this.setRangeLeftStyling("0"),this.minBtn.setMinMaxPosition("0%",!0),this.minBtn.setCurrentIndex(this.sliderRange.getMinOrMaxStepIndex(!1)),this.sliderInputHandler.setMinInputLowest();else{let t=this.setDragConditions(e,this.minBtn,this.minInput);this.setRangeLeftStyling(t)}this.sliderRange.setRangeWidthStyling(this.minBtn.getLeftStylingNumber(),this.maxBtn.getLeftStylingNumber())}}handleDragMaxBtn(e,t){t.preventDefault(),this.isButtonPassingOther(this.minBtn.getPositionLeft(),e)||(this.isButtonPassingMinMaxLimit(e,this.sliderRange.getSliderRangeRightPos())?(this.maxBtn.setMinMaxPosition("100%",!1),this.maxBtn.setCurrentIndex(this.sliderRange.getMinOrMaxStepIndex(!0)),this.sliderInputHandler.setMaxInputHighest()):this.setDragConditions(e,this.maxBtn,this.maxInput),this.sliderRange.setRangeWidthStyling(this.minBtn.getLeftStylingNumber(),this.maxBtn.getLeftStylingNumber()))}setDragConditions(e,t,i){const n=this.calculatePosition(e,t);if(n)return t.setStepPosition(n.stepPosStyle,n.stepPosCoordinate),t.setCurrentIndex(n.stepIndex),i.setCurrentStepData(n),i.setUiValue(n.stepValue),n.stepPosStyle}calculatePosition(e,t){let i=this.sliderRange.getClosestRangeData(e);const n=this.sliderRange.getOffsetIndex();return t.getIsMinBtn()&&i.stepIndex+n>=this.maxBtn.getCurrentIndex()||!t.getIsMinBtn()&&i.stepIndex-n<=this.minBtn.getCurrentIndex()?null:i}setRangeLeftStyling(e){e&&this.sliderRange.setRangeLeftStyling(e)}isButtonPassingOther(e,t){return this.isLeftOperatorBiggerOrEqual(e,t)}isButtonPassingMinMaxLimit(e,t){return this.isLeftOperatorBiggerOrEqual(e,t)}isLeftOperatorBiggerOrEqual(e,t){return e>=t}}var h=d,p=i(12711),f=i(70392),m=i.n(f);class g{constructor(e){this.FACET_NAME_ATTR="data-facet-name",this.sliderValueChanged=e=>{const t=e.min+"-"+e.max,i=new p.U(!0,this.facetName,t);m().publish(p.N.facetUpdated,i)},this.slider=new h(e,this.sliderValueChanged),this.facetName=e.getAttribute(this.FACET_NAME_ATTR)}}},66162:function(e,t,i){"use strict";i.d(t,{w:function(){return l}});var n=i(24820),r=i(70392),s=i.n(r),o=i(12711),a=i(33922);class l extends n.H{constructor(e){super(e),this.init()}init(){this.input=this.element.querySelector("[data-js='spinner-input']"),this.step=parseFloat(this.input.getAttribute("data-step")),this.min=parseFloat(this.input.getAttribute("data-min")),this.max=parseFloat(this.input.getAttribute("data-max")),this.incrementer=this.element.querySelector(".js-spinner-incrementer"),this.decrementer=this.element.querySelector(".js-spinner-decrementer"),this.precision=parseInt(this.input.getAttribute("data-precision")),this.facetName=this.input.attributes.getNamedItem("data-number-facet-name").value,this.bindEvents()}bindEvents(){this.incrementer.addEventListener("click",(e=>{if(!this.input.value)return void this.setInputValue(this.min);let t=this.getInputValue();t+this.step>=this.max?this.setInputValue(this.max):this.setInputValue(t+this.step)})),this.decrementer.addEventListener("click",(e=>{if(!this.input.value)return void this.setInputValue(this.max);let t=this.getInputValue();t-this.step<=this.min?this.setInputValue(this.min):this.setInputValue(t-this.step)})),this.input.addEventListener("focusout",(()=>this.handleDirectInput())),this.input.addEventListener("change",(()=>{this.handleDirectInput()}))}handleDirectInput(){if(this.HandleEmptyValues())return;if(!/[0-9]|\./.test(this.input.value))return void(this.input.value="");const e=this.getInputValue();e<this.min?this.setInputValue(this.min):e>this.max?this.setInputValue(this.max):this.setInputValue(e)}setOnChange(e){const t=new o.U(!0,this.facetName,e);s().publish(o.N.facetUpdated,t)}setInputValue(e){const t=e.toFixed(this.precision),i=this.precision>0?a.Z.getInstance().getCulturedNumber(e):t;this.input.value=i,this.setOnChange(t)}
1getInputValue(){const e=this.input.value.replace(",",".");return parseFloat(e)}HandleEmptyValues(){return!!this.isNullOrWhitespace(this.input.value)&&(this.checkIfNewFacet()||s().publish(o.N.facetUpdated,this.previousFacet),!0)}checkIfNewFacet(){var e=document.querySelector("#currentQuery");if(null==e)return!0;var t=e.value,i=t.indexOf(this.facetName);if(-1===i)return!0;var n=t.indexOf("&",i),r=this.facetName.length,s=t.substring(i+r+4,n);return this.previousFacet=new o.U(!1,this.facetName,s),!1}isNullOrWhitespace(e){return null==e||e.replace(/\s/g,"").length<1}}},26404:function(e,t,i){"use strict";i.d(t,{Z:function(){return r}});var n=i(24820);class r extends n.H{constructor(e){super(e),this.anchorRegex=/^#[^ ]+$/,this.triggers=null,this.panels=null,this.activeClass="is-active",this.triggers=this.element.querySelectorAll(".js-tabs-trigger"),this.panels=this.element.querySelectorAll(".js-tabs-panel"),this.init()}init(){Array.from(this.triggers).forEach((e=>{null!==e&&e.addEventListener("click",(t=>{t.preventDefault();let i=e.hash;if(this.anchorRegex.test(i)){var n=this.element.querySelector(i);if(null!==n)if(e.classList.contains(this.activeClass))this.element.classList.contains("js-collapse-tabs")&&(this.disactivatePanel(n),e.classList.remove(this.activeClass),e.removeAttribute("tabindex"),e.setAttribute("aria-selected","false"));else{let t=e.parentElement.parentElement.querySelector('[aria-selected="true"]');t&&t.setAttribute("aria-selected","false"),e.setAttribute("aria-selected","true"),n.classList.contains(this.activeClass)?this.disactivatePanel(n):(e.setAttribute("tabindex","-1"),this.activatePanel(n,e))}}}))}))}disactivatePanel(e){e.classList.remove(this.activeClass)}activatePanel(e,t){null!==e&&null!=t&&(Array.from(this.panels).forEach((e=>{e.classList.remove(this.activeClass)})),Array.from(this.triggers).forEach((e=>{e.classList.remove(this.activeClass)})),e.classList.add(this.activeClass),t.classList.add(this.activeClass))}}},25831:function(e,t,i){"use strict";i.d(t,{Z:function(){return s}});var n=i(24820),r=i(8136);class s extends n.H{constructor(e){super(e),this.CLASS_TRIGGER="js-toggler__trigger",this.SELECTOR_TRIGGER="."+this.CLASS_TRIGGER,this.CLASS__CANCEL="js-toggler__cancel",this.SELECTOR_CANCEL="."+this.CLASS__CANCEL,this.CLASS_ACTIVE="is-active",this.init()}init(){this.element.addEventListener("click",(e=>{var t=e.target;null!=t&&(t.closest(this.SELECTOR_TRIGGER)?(this.element.classList.add(this.CLASS_ACTIVE),this.onTracking(!0)):t.closest(this.SELECTOR_CANCEL)&&(this.element.classList.remove(this.CLASS_ACTIVE),this.onTracking(!1)))})),document.addEventListener("click",(e=>{this.element.contains(e.target)||this.element.classList.remove(this.CLASS_ACTIVE)})),document.addEventListener("keydown",(e=>{27===e.which&&(e.preventDefault(),this.element.classList.remove(this.CLASS_ACTIVE))}))}onTracking(e){this.element.hasAttribute("data-tracking")&&r.ZP.onToggle(this.element,e)}}},78097:function(e,t,i){"use strict";i.d(t,{Q9:function(){return n},rY:function(){return r},yY:function(){return a}});class n{}class r{}var s;!function(e){e.Click="click",e.Detail="detail",e.Add="add",e.Remove="remove",e.Checkout="checkout",e.CheckoutOption="checkout_option",e.Purchase="purchase",e.Refund="refund",e.PromoClick="promo_click"}(s||(s={}));var o=window.dataLayer;class a{static GetBrandName(){const e=document.querySelector("meta[name='siteName']");return null!=e?e.attributes.getNamedItem("content").value:null}static pushProductDetailViewGA4(e){if(o.push({ecommerce:null}),o){const t={event:"view_item",ecommerce:{currency:"EUR",value:"0.00",items:[{item_id:e.id,item_name:e.name,item_category:e.category,item_category2:e.category2,item_variant:e.variant,price:"0.00"}]}};o.push(t)}}static pushProductDetailView(e,t){if(o){const r={event:"view_item",ecommerce:{currency:"EUR",value:0,items:[]}};for(var i=0;i<e.length;i++){var n={item_id:e[i].id,item_name:e[i].name,item_category:e[i].category,item_category2:e[i].category2,item_variant:e[i].variant??"",price:e[i].price??0};r.ecommerce.items.push(n)}this.addIfPresent(r.ecommerce,"item_list_name",t),o.push(r)}}static pushProductClicks(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(o){const i={event:"select_item",ecommerce:{items:[{item_id:e.id,item_name:e.name,item_category:e.category,item_category2:e.category2,item_variant:e.variant,price:e.price}]}};this.addIfPresent(i.ecommerce,"item_list_name",t),o.push(i)}}static pushProductImpressions(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(o){const r={event:"view_item_list",ecommerce:{items:[]}};for(var i=0;i<e.length;i++){var n={item_id:e[i].id,item_name:e[i].name,item_category:e[i].category,item_category2:e[i].category2,item_variant:e[i].variant,price:e[i].price};r.ecommerce.items.push(n)}this.addIfPresent(r.ecommerce,"item_list_name",t),o.push(r)}}static pushBasketAddition(e,t){this.GetBrandName();if(o){var i={event:"add_to_cart",ecommerce:{currency:"EUR",value:0,items:[{item_id:e.id,item_name:e.name,item_category:e.category,item_variant:e.variant,price:0}]}};this.addIfPresent(i.ecommerce.items[0],"item_category2",e.category2),o.push(i)}}static pushBasketRemoval(e,t){if(o){var i={event:"remove_from_cart",ecommerce:{currency:"EUR",value:0,items:[{item_id:e.id,item_name:e.name,item_category:e.category,item_variant:e.variant,price:0}]}};this.addIfPresent(i.ecommerce.items[0],"item_category2",e.category2),o.push(i)}}static pushCheckoutStep(e,t){if(o)if(1==t){e.reduce(((e,t)=>e+t.price*t.quantity),0);for(var i={event:"begin_checkout",ecommerce:{currency:"EUR",value:0,items:[]}},n=0;n<e.length;
1n++)var r={item_id:e[n].id,item_name:e[n].name,item_category:e[n].category,item_category2:e[n].category2,item_variant:e[n].variant,price:0};i.ecommerce.items.push(r),o.push(i)}else 2==t&&this.addShippingInfo(e,t)}static addShippingInfo(e,t){if(o){e.reduce(((e,t)=>e+t.price*t.quantity),0);for(var i={event:"add_shipping_info",ecommerce:{currency:"EUR",value:0,items:[]}},n=0;n<e.length;n++){var r={item_id:e[n].id,item_name:e[n].name,item_category:e[n].category,item_category2:e[n].category2,item_variant:e[n].variant,price:0};i.ecommerce.items.push(r)}o.push(i)}}static pushPurchases(e,t){if(o){e.reduce(((e,t)=>e+t.price*t.quantity),0);var i={event:"purchase",ecommerce:{value:0,tax:0,shipping:0,currency:"EUR",items:[]}};this.addIfPresent(i.ecommerce,"transaction_id",t);for(var n=0;n<e.length;n++){var r={item_id:e[n].id,item_name:e[n].name,item_category:e[n].category,item_category2:e[n].category2,item_variant:e[n].variant,price:0};i.ecommerce.items.push(r)}o.push(i)}}static pushSampleFlowData(e,t,i,n,r){if(o){var s={event:"sample_flow_data",event_params:{target_group:e,project_size:t,project_date:i,project_type:n,city:r}};o.push(s)}}static addIfPresent(e,t,i){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;this.isNullOrWhitespace(i)||(this.isNullOrWhitespace(n)?e[t]=i:(e[n]=new Object,this.addIfPresent(e[n],t,i)))}static isNullOrWhitespace(e){return null==e||e.toString().replace(/\s/g,"").length<1}static pushFaqToggle(e,t){if(!o)return;const i=e?"faq_expand":"faq_collapse";o.push({event:i,event_params:{eventLabel:t}})}}},79234:function(e,t,i){"use strict";i.d(t,{F:function(){return o},o:function(){return s}});var n=i(23201),r=i(9866);class s{constructor(e,t,i){this.method="POST",this.path=e,this.body=t,this.useSpinner=i}}class o{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this.element=e,this.SELECTOR_SPINNER=".js-spinner",this.alpineBinding=t}doFetch(e){const t=this.ensureLanguageParam(e.path),i=this.ensurePageReferenceParam(),n=e.useSpinner,r=e.method??"POST",s=e.spinnerElement,o="GET"===r?null:JSON.stringify(e.body);const a={...{"Content-type":"application/json","X-Requested-With":"XMLHttpRequest","Original-QS":window.location.search},...e.headers};return i&&(a["X-Context-PageReference"]=i),this.alpineBinding&&(a["X-AlpineBinding"]="true"),n&&(this.ensureSpinnerHandler(s),this.spinnerHandler.showSpinner(s)),fetch(t,{method:r,headers:a,body:o}).then((e=>e.status>=400?null:e)).catch((e=>{throw e})).finally((()=>{n&&this.spinnerHandler.hideSpinner(s)}))}ensureLanguageParam(e){let t,i=new URL(e,window.location.origin),n=new URLSearchParams(i.search);if(n.has("epslanguage"))return e;const r=document.querySelector("meta[name=currentCulture]");return r&&(t=r.getAttribute("content")),t||(t=document.querySelector("html").getAttribute("lang")),t?(n.append("epslanguage",t),i.search=n.toString(),i.pathname+i.search):e}ensureSpinnerHandler(e){e&&(this.spinnerHandler=n.Z.getInstance()),null==this.spinnerHandler&&this.element.matches(this.SELECTOR_SPINNER)&&(this.spinnerHandler=new r.Z(this.element)),null==this.spinnerHandler&&null!=this.element.querySelector(this.SELECTOR_SPINNER)&&(this.spinnerHandler=new r.Z(this.element.querySelector(this.SELECTOR_SPINNER)))}ensurePageReferenceParam(){var e=null;const t=document.querySelector("meta[name=pageReference]");return t&&(e=t.getAttribute("content")),e}}},340:function(e,t){"use strict";t.Z=class{constructor(){this.SPINNERBTN_SELECTOR=".js-spinner__btn",this.SPINNER_CLASS="c-spinner"}showSpinnerForElement(e){e&&e.classList.add(this.SPINNER_CLASS);let t=this.getButton(e);t&&t.setAttribute("disabled","true")}hideSpinnerForElement(e){e&&e.classList.remove(this.SPINNER_CLASS);let t=this.getButton(e);t&&t.removeAttribute("disabled")}getButton(e){return e.querySelector(this.SPINNERBTN_SELECTOR)}}},24820:function(e,t,i){"use strict";i.d(t,{H:function(){return s}});var n=i(79234),r=i(68442);class s{constructor(e){this.element=e,null!=this.element&&(this.ajaxWrapper=new n.F(this.element),this.importAndCompInitter=r.Z.getInstance(),this.preInit())}preInit(){}addBfCallBack(e){window.bfCallBacks.push(e)}reInitCompsOnDomChangeFor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.element,t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=new MutationObserver((n=>{this.importAndCompInitter.initAllPossibleCompsForContainer(e),t&&i.disconnect()}));i.observe(e,{childList:!0,subtree:!0})}}},42799:function(e,t,i){"use strict";i.d(t,{o:function(){return r}});var n=i(24820);class r extends n.H{constructor(e){super(e)}preInit(){this.parm=this.getClientData()}getClientData(){var e=this.element.attributes[r.CLIENT_DATA_ATTRIBUTE],t=null;if(e)try{t=JSON.parse(e.value)}catch(i){t=e}return t}}r.CLIENT_DATA_ATTRIBUTE="data-component-parm"},80841:function(e,t,i){"use strict";i.d(t,{r:function(){return n}});
1class n{constructor(){this.dialogs=new Map}static getInstance(){return n.instance||(n.instance=new n),n.instance}register(e){e&&e.dialogId&&(this.dialogs.has(e.dialogId),this.dialogs.set(e.dialogId,e))}get(e){let t=this.dialogs.get(e);if(t)return t}reInit(e,t){let i=this.get(e);i&&i.reInit()}}},68442:function(e,t,i){"use strict";var n=i(83340);class r{static getInstance(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return r.instance||(r.instance=new r(e,t,i)),r.instance}constructor(e,t,i){this.comComponents=e,this.dynamicComps=t,this.alpineComps=i}initAfterContentLoaded(){n.Z.initDynamicComponents(this.dynamicComps),n.Z.initializeComponents(this.comComponents),n.Z.initAlpine(this.alpineComps),n.Z.initWebcomponent()}initAllPossibleCompsForContainer(e){n.Z.initAlpine(this.alpineComps,null,e),n.Z.initDynamicComponents(this.dynamicComps,e),n.Z.initializeComponents(this.comComponents,e),n.Z.initWebcomponent(e)}}t.Z=r},9866:function(e,t,i){"use strict";var n=i(340);class r extends n.Z{constructor(e){super(),this.SPINNERROOT_CLASS="js-spinner",this.SPINNERROOT_SELECTOR=`.${this.SPINNERROOT_CLASS}`,this.element=e,this.init()}init(){this.element&&(this.rootSpinnerElement=this.element.classList.contains(this.SPINNERROOT_CLASS)?this.element:this.element.querySelector(this.SPINNERROOT_SELECTOR))}showSpinner(){this.showSpinnerForElement(this.rootSpinnerElement)}hideSpinner(){this.hideSpinnerForElement(this.rootSpinnerElement)}}t.Z=r},17305:function(){const e=["X-Trace-Id","x-trace-id"];function t(t){for(const i of e){const e=t(i);if(e)return e}return null}function i(e,t,i){if(!window.console)return;const n="font-weight:bold;padding:2px 6px;",r="padding:2px 8px;",s="background:none;color:inherit;padding:2px 0;",o=["%c Ajax Error: %c %s %c"],a=[`background:#ef4444;color:#fff;${n}`,`background:#7f1d1d;color:#fecaca;${r}`,e,s];t&&(o.push("\n%c Trace ID: %c %s %c"),a.push(`background:#6366f1;color:#fff;${n}`,`background:#312e81;color:#c7d2fe;${r}`,t,s));for(const[e,t]of Object.entries(i))o.push(`\n%c ${e}: %c %s %c`),a.push(`background:#0369a1;color:#fff;${n}`,s,String(t),s);window.console.error(o.join(""),...a)}const n=window.fetch;window.fetch=async function(){for(var e=arguments.length,r=new Array(e),s=0;s<e;s++)r[s]=arguments[s];const o=r[0]instanceof Request?r[0].url:String(r[0]);let a;try{a=await n(...r)}catch(e){throw i("Network error",null,{targetUrl:o,sourceUrl:document.URL,error:e.message}),e}const l=t((e=>a.headers.get(e)));return l&&a.status>=400&&i("HTTP error",l,{status:a.status,targetUrl:o,sourceUrl:document.URL}),a};const r=XMLHttpRequest.prototype.open,s=XMLHttpRequest.prototype.send;XMLHttpRequest.prototype.open=function(e,t){this.__url=t.toString();for(var i=arguments.length,n=new Array(i>2?i-2:0),s=2;s<i;s++)n[s-2]=arguments[s];return r.call(this,e,t,...n)},XMLHttpRequest.prototype.send=function(){this.addEventListener("readystatechange",(()=>{if(4!==this.readyState)return;const e=new Set(this.getAllResponseHeaders().split("\r\n").map((e=>e.split(":")[0].trim().toLowerCase())).filter(Boolean)),n=t((t=>e.has(t.toLowerCase())?this.getResponseHeader(t):null));n&&this.status>=400&&i("HTTP error",n,{status:this.status,targetUrl:this.__url,sourceUrl:document.URL})})),this.addEventListener("error",(()=>{i("Network error",null,{targetUrl:this.__url,sourceUrl:document.URL,error:"XHR network error"})}));for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];
1return s.call(this,...n)},document.addEventListener("DOMContentLoaded",(()=>{if(!window.console)return;const e=document.querySelector('meta[name="trace-id"]')?.content;e&&window.console.log("%c Page Trace ID: %c %s ","background:#6366f1;color:#fff;font-weight:bold;padding:2px 6px;","background:#1e1e2e;color:#cdd6f4;padding:2px 8px;",e)}))},23201:function(e,t,i){"use strict";var n=i(340);class r extends n.Z{static getInstance(){return r.instance||(r.instance=new r),r.instance}constructor(){super()}showSpinner(e){this.showSpinnerForElement(e)}hideSpinner(e){this.hideSpinnerForElement(e)}}t.Z=r},83340:function(e,t,i){"use strict";i.d(t,{Z:function(){return Ot}});i(17305);var n=i(93375);const r={"wc-btn-interactive":()=>i.e(3064).then(i.bind(i,93064)),"wc-btn-segmented":()=>Promise.all([i.e(6627),i.e(6497)]).then(i.bind(i,92576)),"wc-collapse":()=>i.e(6206).then(i.bind(i,6206)),"wc-copy-input":()=>i.e(3511).then(i.bind(i,43511)),"wc-dialog":()=>Promise.resolve().then(i.bind(i,99362)),"wc-facets":()=>Promise.all([i.e(6627),i.e(2687)]).then(i.bind(i,22687)),"wc-hotspot":()=>Promise.all([i.e(1052),i.e(6627),i.e(5442),i.e(3450),i.e(7225)]).then(i.bind(i,3563)),"wc-input-search":()=>Promise.resolve().then(i.bind(i,38985)),"wc-inspiration-slider":()=>Promise.all([i.e(6627),i.e(519),i.e(5442),i.e(8398)]).then(i.bind(i,78398)),"wc-lightbox":()=>i.e(7108).then(i.bind(i,77108)),"wc-lister":()=>Promise.all([i.e(6627),i.e(5442),i.e(8708),i.e(4350)]).then(i.bind(i,98708)),"wc-loadmore":()=>Promise.resolve().then(i.bind(i,46352)),"wc-message":()=>Promise.resolve().then(i.bind(i,50145)),"wc-mobile-only-dialog":()=>i.e(9551).then(i.bind(i,19551)),"wc-pagination":()=>i.e(58).then(i.bind(i,40058)),"wc-slider-columns":()=>Promise.all([i.e(519),i.e(1067)]).then(i.bind(i,61067)),"wc-slider-thumb":()=>Promise.all([i.e(519),i.e(5097)]).then(i.bind(i,85097)),"wc-slider-thumb-main":()=>Promise.all([i.e(519),i.e(6251)]).then(i.bind(i,6251)),"wc-sticky-menu":()=>i.e(6471).then(i.bind(i,36471)),"wc-tab":()=>i.e(3463).then(i.bind(i,23463)),"wc-tabs":()=>i.e(991).then(i.bind(i,80991)),"wc-tooltip":()=>i.e(2435).then(i.bind(i,82435)),"wc-video":()=>i.e(9343).then(i.bind(i,9343))};var s=class{static getHandleIntersect(e,t){const i=e;return(e,n)=>{e.forEach((e=>{const r=e.target,s=r.getAttribute("data-cancel-intersection");if(e.intersectionRatio>0||s||t){const e=r.getAttribute("data-component-class");for(const t of e.split(/[ ]+/)){const e=i.find((e=>e.class===t));if(e){e.importer().then((e=>{new e.default(r),r.classList.remove("c-spinner")}))}}n.unobserve(r)}else r.classList.add("c-spinner")}))}}},o={allImports:null,handleIntersect:()=>{},alpineImported:!1,initializeDynamicImports(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document,i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];const r=n.d;this.allImports=e?r.concat(e):r;const o=[];this.allImports.forEach((e=>{o.push(e.class)}));this.handleIntersect=s.getHandleIntersect(this.allImports,i);const a=new IntersectionObserver(this.handleIntersect,{root:null,rootMargin:"0px"});t.querySelectorAll("[data-component-class]").forEach((e=>{let t=!1;const i=e.getAttribute("data-component-class");for(const e of i.split(/[ ]+/))o.includes(e)&&(t=!0);t&&a.observe(e)}))},initAlpineComponents(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document;const i=window,n=[],r=[],s=t.querySelectorAll("[x-data]");e.forEach((e=>{s.forEach((t=>{t.getAttribute("x-data")===`${e.class}()`&&(n.push(e.importer()),r.push(e.class))}))})),Promise.all(n).then((e=>{e.forEach(((e,t)=>{i[`${r[t]}`]=function(){return(new e.default).getData()}})),this.importAlpineIfNeeded()}))},initAlpineWindowComps(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document;const i=window;for(const[t,n]of Object.entries(e))i[t]=function(){return n};this.importAlpineIfNeeded(t)},importAlpineIfNeeded(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;if(this.alpineImported)return;e.querySelector("[x-data]")&&(this.alpineImported=!0,i.e(6429).then(i.bind(i,26429)).then((e=>{this.alpineImported=!0;window.Alpine=e.default,e.default.start()})))},importWebcomponents(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;const t=r;Object.entries(t).forEach((i=>
1{let[n,r]=i;if(e.querySelector(n)){const e=t[n];e&&e()}}))}},a=i(24820),l=i(49762),c=i.n(l),u=i(8136);class d extends a.H{constructor(e){super(e),this.PARENT_SELECTOR=".js-collapse",this.CLASS_TRIGGER="js-collapse__trigger",this.SELECTOR_TRIGGER="."+this.CLASS_TRIGGER,this.CLASS_PANEL="js-collapse__panel",this.SELECTOR_PANEL="."+this.CLASS_PANEL,this.CLASS_SHOW="show",this.CLASS_ACTIVE="is-active",this.CLASS_SHOWING="is-showing",this.MAXHEIGHT_CSSVARIABLE="--set-collapse__max-height",this.timeOutRetries=15,this.timeOutInMs=50,this.handleTransitionsCallback=()=>{this.element.classList.remove(this.CLASS_SHOW),this.addRemoveVisibleClasses(!1)},this.handleTransitionTimerCallback=(e,t)=>{e++;let i=this.panelElement.offsetHeight;this.startTransitionTimer(i==t,e)};try{this.init()}catch{}}init(){this.triggerElement=this.getTriggerElement(),this.triggerElement&&(this.panelElement=this.element.querySelector(this.SELECTOR_PANEL),this.iconElement=this.triggerElement.querySelector("img"),this.triggerElement.setAttribute("aria-expanded",(!1).toString()),this.triggerElement.setAttribute("aria-controls",this.element.id),this.panelElement.setAttribute("aria-hidden",(!0).toString()),this.triggerElement.addEventListener("click",(e=>{var t=e.currentTarget;null!=t&&t.classList.contains(this.CLASS_TRIGGER)&&this.togglePanel(e)})),this.initializeReadMore(),window.onresize=c()((()=>{this.setMaxheight(),this.isActive()||this.initializeReadMore()}),250))}setMaxheight(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.panelElement&&(e?this.element.style.removeProperty(this.MAXHEIGHT_CSSVARIABLE):this.element.style.setProperty(this.MAXHEIGHT_CSSVARIABLE,this.panelElement.scrollHeight+"px"))}getTriggerElement(){let e=this.element.querySelector(this.SELECTOR_TRIGGER);if(null==e)return null;if(this.element.querySelector(this.SELECTOR_TRIGGER).closest(this.PARENT_SELECTOR)==this.element)return e;let t=this.element.querySelectorAll(this.SELECTOR_TRIGGER);return t.length>0?t[t.length-1]:null}initializeReadMore(){if(this.element.dataset.isReadMore){var e=window.getComputedStyle(this.panelElement);parseInt(e.getPropertyValue("max-height"),10)>=this.panelElement.scrollHeight?this.triggerElement.classList.add("u-hidden"):this.triggerElement.classList.remove("u-hidden")}}togglePanel(e){this.setMaxheight(),e.stopPropagation(),e.preventDefault();var t=this.isActive();this.triggerElement.setAttribute("aria-expanded",(!t).toString()),this.panelElement.setAttribute("aria-hidden",t.toString()),this.handleTransitions(this.isActive()),this.onTracking(t)}isActive(){return this.element.classList.contains(this.CLASS_SHOW)}handleTransitions(e){this.addRemoveVisibleClasses(!0),e?this.startTimeOut(this.handleTransitionsCallback,this.timeOutInMs):this.startTransitionTimer(!1,0)}startTransitionTimer(e,t){if(e||t==this.timeOutRetries)return this.addRemoveVisibleClasses(!1),void this.element.classList.add(this.CLASS_SHOW);let i=this.panelElement.offsetHeight;this.startTimeOut((()=>{this.handleTransitionTimerCallback(t,i)}),this.timeOutInMs)}startTimeOut(e,t){setTimeout(e,t)}addRemoveVisibleClasses(e){if(e)return this.element.classList.add(this.CLASS_ACTIVE),void this.element.classList.add(this.CLASS_SHOWING);this.element.classList.remove(this.CLASS_ACTIVE),this.element.classList.remove(this.CLASS_SHOWING)}onTracking(e){this.element.hasAttribute("data-tracking")&&u.ZP.onCollapse(this.element,e)}}var h=i(25831),p=i(26404),f=i(17400);const m=[{class:"AccountSwitcher",importer:()=>i.e(5696).then(i.bind(i,75696))},{class:"Bookmark",importer:()=>i.e(3975).then(i.bind(i,33975))},{class:"EntitySelector",importer:()=>i.e(5156).then(i.bind(i,15156))},{class:"GenericProductPicker",importer:()=>Promise.all([i.e(7277),i.e(3771)]).then(i.bind(i,3771))},{class:"SearchAutocomplete",importer:()=>i.e(2629).then(i.bind(i,32629))}];var g=i(58706),b=i(38297),v=(i(67236),i(5194)),y=i(47359);const S={closeEsc:"close-esc",mouseEvents:"mouse-events",closeClickOutside:"close-click-outside",forceStateClose:"force-close",forceStateOpen:"force-open",destroy:"destroy",replace:"replace",replaceTag:"replace-tag",forceStateRestore:"force-restore",toggleDocumentClass:"toggle-document-class",closeButton:"data-close-reveal",keepLastOpen:"mouse-events-keep-last"},E="wc-reveal";class C{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.options=Object.assign({closeClickOutside:!1,forceStateClose:!1,forceStateOpen:!1,destroy:!1,replace:!1,closeEsc:!1,mouseEvents:!1,forceStateRestore:!0},t),this.reveal=e,this.trigger=e.querySelector(":scope > summary, :scope > [slot=trigger]"),this._previousStates={},this.setObserver()}getMatchMedia(e,t){if(!e)return null;if(t&&!0===t)return{matches:!0};if(t&&t.startsWith("--")){let i=window.getComputedStyle(e).getPropertyValue(t);return window.matchMedia(i)}return t&&"matchMedia"in window?window.matchMedia(t):void 0}init(){let e=this.getMatchMedia(this.reveal,this.options.forceStateOpen),t=this.getMatchMedia(this.reveal,this.options.forceStateClose);e&&e.matches&&t&&t.matches?this.setState(!this.reveal.open):(e&&e.matches&&this.setState(!0),t&&t.matches&&this.setState(!1)),this.addListener(e,"for-open"),this.addListener(t,"for-close"),this.startObserver(),this.toggleChangeTag(this.options.destroy),this.toggleChangeTag(this.options.replace)}setObserver(){this.resizeObserver=new ResizeObserver(this.observeReveal.b
1ind(this)),this.width=document.body.clientWidth}startObserver(){this.resizeObserver.observe(document.body)}resizeObserver(){this.resizeObserver||this.resizeObserver.unobserve(this)}observeReveal(e){for(const t of e){const{width:e}=t.contentRect;if(e===this.width)return;[this.options.destroy,this.options.replace].forEach((e=>{this.toggleChangeTag(e)})),this.width=e}}toggleChangeTag(e){if(!e)return;const t=this.getMatchMedia(this.reveal,e),i=t&&t.matches;if(!this.isAnchorBtnToggling(i))if(!this.newRevealTrigger&&e&&this.createNewRevealTriggerWithReplaceTag(),this.setState("button"!==this.options.replaceTag.toLowerCase()&&i),i){if(!this.reveal.contains(this.currentRevealTrigger))return;this.reveal.replaceChild(this.newRevealTrigger,this.currentRevealTrigger)}else{if(!this.reveal.contains(this.newRevealTrigger))return;this.reveal.replaceChild(this.currentRevealTrigger,this.newRevealTrigger)}}isAnchorBtnToggling(e){const t=this.trigger.tagName.toLowerCase(),i=this.options.replaceTag.toLowerCase();if("a"!=t||"button"!=i)return!1;if(e){if(!this.trigger.hasAttribute("href"))return!0;const e=this.trigger.getAttribute("href");this.trigger.setAttribute("role","button"),this.trigger.setAttribute("temp-href",e),this.trigger.removeAttribute("href")}else{if(this.trigger.hasAttribute("href"))return!0;this.trigger.removeAttribute("role"),this.trigger.getAttribute("temp-href")&&this.trigger.setAttribute("href",this.trigger.getAttribute("temp-href"))}return!0}createNewRevealTriggerWithReplaceTag(){const e=this.options.replaceTag.toLowerCase()||"div";this.currentRevealTrigger=this.reveal.trigger,this.newRevealTrigger=document.createElement(e),Array.from(this.currentRevealTrigger.attributes).forEach((e=>{["type","aria-expanded","href"].includes(e.name)||this.newRevealTrigger.setAttribute(e.name,e.value)})),this.newRevealTrigger.innerHTML=this.currentRevealTrigger.innerHTML;const t=this.newRevealTrigger.querySelector(".wc-reveal-arrow");t&&(t.style.display="none")}addListener(e,t){e&&"addListener"in e&&e.addListener((e=>{e.matches?(this._previousStates[t]=this.reveal.open,this.reveal.open!==("for-open"===t)&&this.setState("for-open"===t)):this.options.forceStateRestore&&void 0!==this._previousStates[t]&&this.reveal.open!==this._previousStates[t]&&this.setState(this._previousStates[t])}))}toggle(e){const t={type:e};let i={view:window,cancelable:!0};void 0===e||(0,y.r)(this.trigger,"hoverCustom",t,i)}triggerClickToClose(){this.trigger&&setTimeout((()=>{this.toggle(),this.setState(!1)}))}setState(e){this.reveal.setOpen(e),this.options.toggleDocumentClass&&document.body.classList.toggle(this.options.toggleDocumentClass,e)}}class w extends v.x{constructor(){super(...arguments),this.options={},this.fsList=[],this.elements=[],this.closeOnEscHandlerCallback=void 0,this.mouseLeaveHandlerCallback=void 0,this.mouseEnterHandlerCallback=void 0,this.touchStartHandlerCallback=void 0,this.mouseUpHandlerCallback=void 0,this.touchendHandlerCallback=void 0,this.keyDownHandlerCallback=void 0,this.toggleHandlerCallback=void 0,this.closeRevealHandlerCallback=void 0,this.closeOnEscHandler=(e,t)=>{if("Escape"===e.key)for(let i of t)if(i.open){let t=new C(i,this.options),n=t.getMatchMedia(i,this.options.closeEsc);if(document.querySelectorAll("dialog[open]").length>0||i.closest("dialog[open]")||i.querySelectorAll(`${E}[open]`).length>0||i.querySelectorAll("details[open]").length>0)return;(!n||n&&n.matches)&&t.toggle(e.type)}},this.mouseLeaveHandler=(e,t)=>{if(!this.options.keepLastOpen&&e.currentTarget.open){let t=new C(e.currentTarget,this.options),i=t.getMatchMedia(e.currentTarget,this.options.mouseEvents);(!i||i&&i.matches)&&t.toggle(e.type)}},this.mouseEnterHandler=(e,t)=>{if(!e.currentTarget.open){this.options.keepLastOpen&&Array.from(t).forEach((e=>{e.open=!1}));let i=new C(e.currentTarget,this.options),n=i.getMatchMedia(e.currentTarget,this.options.mouseEvents);(!n||n&&n.matches)&&i.toggle(e.type)}},this.touchStartHandler=(e,t)=>{if(!e.currentTarget.open){let t=new C(e.currentTarget,this.options),i=t.getMatchMedia(e.currentTarget,this.options.mouseEvents);(!i||i&&i.matches)&&(e.preventDefault(),t.toggle(e.type))}},this.mouseUpHandler=(e,t)=>{for(let i of t)this.onClickoutToClose(i,e)},this.touchendHandler=(e,t)=>
1{for(let i of t)this.isClickOnAncestorRevealTrigger(e.target,i)||this.isChildOfParent(e.target,i)||!i.open||(i.removeAttribute("open"),i.querySelector(".c-nav__cta").setAttribute("aria-expanded","false")),this.onClickoutToClose(i,e)},this.keyDownHandler=(e,t)=>{if("Enter"===e.key||"Space"===e.code)for(let i of t)this.onClickoutToClose(i,e)}}functionCallOptions(){this.options={closeClickOutside:this.getAttributeValue(S.closeClickOutside),closeEsc:this.getAttributeValue(S.closeEsc),mouseEvents:this.getAttributeValue(S.mouseEvents),forceStateClose:this.getAttributeValue(S.forceStateClose),forceStateOpen:this.getAttributeValue(S.forceStateOpen),destroy:this.getAttributeValue(S.destroy),replace:this.getAttributeValue(S.replace),replaceTag:this.getAttributeValue(S.replaceTag),forceStateRestore:this.getAttributeValue(S.forceStateRestore),toggleDocumentClass:this.getAttributeValue(S.toggleDocumentClass),closeButton:S.closeButton,keepLastOpen:this.getAttributeValue(S.keepLastOpen)}}_init(){if(this.children.length){this.functionCallOptions(),this.elements=Array.from(this.querySelectorAll(`:scope details, :scope ${E}`)).filter((e=>e.closest("wc-reveal-utils")==this));for(let e of this.elements){let t=new C(e,this.options);t.init(),this.fsList.push(t)}this.bindCloseOnEsc(this.elements),this.bindMouse(this.elements),this.bindClickoutToClose(this.elements),this.bindToggleDocumentClass(this.elements),this.bindCloseReveal(this.elements)}}disconnectedCallback(){if(!(this.fsList&&this.fsList.length>0))for(let e of this.fsList)e.resizeObserver()}getAttributeValue(e){return!!this.hasAttribute(e)&&(""==this.getAttribute(e)||this.getAttribute(e))}toggleHandler(e,t){let i=[];i=t.open?[t]:[],document.body.classList.toggle(this.options.toggleDocumentClass,i.length>0)}closeRevealHandler(e,t){let i=e.target.closest(`[${S.closeButton}]`);t.forEach((e=>{if(!e.open)return;let t=new C(e,this.options);i?.closest(`${E}, details`)===e&&t.triggerClickToClose()}))}bindCloseOnEsc(e){this.options.closeEsc&&this.addCloseOnEscEvent(e)}bindMouse(e){this.options.mouseEvents&&(this.mouseLeaveHandlerCallback=t=>this.mouseLeaveHandler(t,e),this.mouseEnterHandlerCallback=t=>this.mouseEnterHandler(t,e),this.touchStartHandlerCallback=t=>this.touchStartHandler(t,e),e.forEach((e=>{this.addMouseEvents(e)})))}bindClickoutToClose(e){this.options.closeClickOutside&&this.addClickoutToCloseEvent(e)}bindToggleDocumentClass(e){this.options.toggleDocumentClass&&this.addToggleDocumentClassEvent(e)}bindCloseReveal(e){this.closeRevealHandlerCallback=t=>this.closeRevealHandler(t,e),this.addEventListener("click",this.closeRevealHandlerCallback,!1)}addCloseOnEscEvent(e){this.closeOnEscHandlerCallback=t=>this.closeOnEscHandler(t,e),document.documentElement.addEventListener("keydown",this.closeOnEscHandlerCallback,!1)}removeCloseOnEscEvent(){document.documentElement.removeEventListener("keydown",this.closeOnEscHandlerCallback)}addMouseEvents(e){e.addEventListener("mouseleave",this.mouseLeaveHandlerCallback,!1),e.addEventListener("mouseenter",this.mouseEnterHandlerCallback,!1),e.addEventListener("touchstart",this.touchStartHandlerCallback,!1)}removeMouseEvent(e){e.removeEventListener("mouseleave",this.mouseLeaveHandlerCallback),e.removeEventListener("mouseenter",this.mouseEnterHandlerCallback),e.removeEventListener("touchstart",this.touchStartHandlerCallback)}addClickoutToCloseEvent(e){this.mouseUpHandlerCallback=t=>this.mouseUpHandler(t,e),this.touchendHandlerCallback=t=>this.touchendHandler(t,e),this.keyDownHandlerCallback=t=>this.keyDownHandler(t,e),document.documentElement.addEventListener("mouseup",this.mouseUpHandlerCallback,!1),document.documentElement.addEventListener("touchend",this.touchendHandlerCallback,!1),this.addEventListener("keydown",this.keyDownHandlerCallback,!1)}removeClickoutToCloseEvent(){document.documentElement.removeEventListener("mouseup",this.mouseUpHandlerCallback),document.documentElement.removeEventListener("touchend",this.touchendHandlerCallback),this.removeEventListener("keydown",this.keyDownHandlerCallback)}addToggleDocumentClassEvent(e){this.toggleHandlerCallback=[],e.forEach((e=>{const t=t=>this.toggleHandler(t,e);this.toggleHandlerCallback.push(t),e.addEventListener("toggle",t)}))}removeToggleDocumentClassEvent(e){e.forEach(((e,t)=>{e.removeEventListener("toggle",this.toggleHandlerCallback[t])}))}isChildOfParent(e,t){for(;e&&e.parentNode;){if(e.parentNode===t)return!0;e=e.parentNode}return!1}isClickOnAncestorRevealTrigger(e,t){const i=e?.closest?.("[slot=trigger], summary");if(!i)return!1;
1const n=i.closest(`${E}, details`);return Boolean(n&&n!==t&&n.contains(t))}onClickoutToClose(e,t){let i=new C(e,this.options),n=i.getMatchMedia(e,this.options.closeClickOutside);n&&!n.matches||this.isClickOnAncestorRevealTrigger(t.target,e)||!this.isChildOfParent(t.target,e)&&e.open&&i.triggerClickToClose(e)}attributeChangedCallback(e,t,i){e===S.closeEsc?""===i?this.addCloseOnEscEvent(this.elements):this.removeCloseOnEscEvent():e===S.mouseEvents?""===i?(this.functionCallOptions(),this.bindMouse(this.elements)):null===i&&this.elements.forEach((e=>{this.functionCallOptions(),this.removeMouseEvent(e)})):e===S.closeClickOutside?""===i?(this.functionCallOptions(),this.addClickoutToCloseEvent(this.elements)):null===i&&(this.functionCallOptions(),this.removeClickoutToCloseEvent()):e===S.toggleDocumentClass&&(null!==i?this.addToggleDocumentClassEvent(this.elements):this.removeToggleDocumentClassEvent(this.elements))}static get observedAttributes(){return[S.closeEsc,S.mouseEvents,S.mouseEventsKeepLast,S.closeClickOutside,S.toggleDocumentClass]}}"undefined"!=typeof window&&"customElements"in window&&window.customElements.define("wc-reveal-utils",w);i(99362);var A=i(43322);function _(e){let{context:t,label:i="context-to-element",resolveDocument:n,defaultToDocument:r}=e,s=function(e){if(!e)return[];if(Array.isArray(e))return e;if(void 0!==e.nodeType)return[e];if("string"==typeof e&&(e=document.querySelectorAll(e)),void 0!==e.length)return[].slice.call(e,0);throw new TypeError("unexpected input "+String(e))}(t)[0];if(n&&s&&s.nodeType===Node.DOCUMENT_NODE&&(s=s.documentElement),!s&&r)return document.documentElement;if(!s)throw new TypeError(i+" requires valid options.context");if(s.nodeType!==Node.ELEMENT_NODE&&s.nodeType!==Node.DOCUMENT_FRAGMENT_NODE)throw new TypeError(i+" requires options.context to be an Element");return s}function L(){let{context:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=[];let i=_({label:"get/parents",context:e});for(;i;)t.push(i),i=i.parentNode,i&&i.nodeType!==Node.ELEMENT_NODE&&(i=null);return t}const x=["matches","webkitMatchesSelector","mozMatchesSelector","msMatchesSelector"];let T=null;function k(e,t){return T||function(e){x.some((function(t){return!!e[t]&&(T=t,!0)}))}(e),e[T](t)}var O=i(33450),R=i.n(O);const I=JSON.parse(JSON.stringify(R())),P=I.os.family||"",D="Android"===P,M="Windows"===P.slice(0,7),N="OS X"===P,B="iOS"===P,$="Blink"===I.layout,H="Gecko"===I.layout,j="Trident"===I.layout,F="EdgeHTML"===I.layout,q="WebKit"===I.layout,U=parseFloat(I.version),W=Math.floor(U);I.majorVersion=W,I.is={ANDROID:D,WINDOWS:M,OSX:N,IOS:B,BLINK:$,GECKO:H,TRIDENT:j,EDGE:F,WEBKIT:q,IE9:j&&9===W,IE10:j&&10===W,IE11:j&&11===W};var V=I;function z(e){const t=function(){const e={activeElement:document.activeElement,windowScrollTop:window.scrollTop,windowScrollLeft:window.scrollLeft,bodyScrollTop:document.body.scrollTop,bodyScrollLeft:document.body.scrollLeft},t=document.createElement("iframe");t.setAttribute("style","position:absolute; position:fixed; top:0; left:-2px; width:1px; height:1px; overflow:hidden;"),t.setAttribute("aria-live","off"),t.setAttribute("aria-busy","true"),t.setAttribute("aria-hidden","true"),document.body.appendChild(t);const i=t.contentWindow,n=i.document;n.open(),n.close();const r=n.createElement("div");return n.body.appendChild(r),e.iframe=t,e.wrapper=r,e.window=i,e.document=n,e}(),i={};return Object.keys(e).map((function(n){i[n]=function(e,t){e.wrapper.innerHTML="";const i="string"==typeof t.element?e.document.createElement(t.element):t.element(e.wrapper,e.document);let n=t.mutate&&t.mutate(i,e.wrapper,e.document);return n||!1===n||(n=i),!i.parentNode&&e.wrapper.appendChild(i),n&&n.focus&&n.focus(),t.validate?t.validate(i,n,e.document):e.document.activeElement===n}(t,e[n])})),function(e){e.activeElement===document.body?(document.activeElement&&document.activeElement.blur&&document.activeElement.blur(),V.is.IE10&&document.body.focus()):e.activeElement&&e.activeElement.focus&&e.activeElement.focus(),document.body.removeChild(e.iframe),window.scrollTop=e.windowScrollTop,window.scrollLeft=e.windowScrollLeft,document.body.scrollTop=e.bodyScrollTop,document.body.scrollLeft=e.bodyScrollLeft}(t),i}var G="1.4.1";const X="undefined"!=typeof window&&window.navigator.userAgent||"",Q="ally-supports-cache";let Z=function(e){let t;try{t=window.localStorage&&window.localStorage.getItem(e),t=t?JSON.parse(t):{}}catch(e){t={}}return t}(Q);Z.userAgent===X&&Z.version===G||(Z={}),Z.userAgent=X,Z.version=G;var K={get:function(){return Z},set:function(e){Object.keys(e).forEach((function(t){Z[t]=e[t]})),Z.time=(new Date).toISOString(),function(e,t){if(document.hasFocus())try{window.localStorage&&window.localStorage.setItem(e,JSON.stringify(t))}catch(e){}else try{window.localStorage&&window.localStorage.removeItem(e)}catch(e){}}(Q,Z)}};function Y(){let e;try{document.querySelector("html >>> :first-child"),e=">>>"}catch(t){try{document.querySelector("html /deep/ :first-child"),e="/deep/"}catch(t){e=""}}return e}var J="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",ee={element:"div",mutate:function(e){return e.innerHTML='<map name="image-map-tabindex-test"><area shape="rect" coords="63,19,144,45"></map><img usemap="#image-map-tabindex-test" tabindex="-1" alt="" src="'+J+'">',e.querySelector("area")}},te={element:"div",mutate:function(e){return e.innerHTML='<map name="image-map-tabindex-test"><area href="#void" tabindex="-1" shape="rect" coords="63,19,144,45"></map><img usemap="#image-map-tabindex-test" alt="" src="'+J+'">',!1},validate:function(e,t,i){if(V.is.GECKO)return!0;const n=e.querySelector("area");return n.focus(),i.activeElement===n}},ie={element:"div",mutate:function(e){return e.innerHTML='<map name="image-map-area-href-test"><area shape="rect" coords="63,19,144,45"></map><img usemap="#image-map-area-href-test" alt="" src="'+J+'">',e.querySelector("area")},validate:function(e,t,i){return!!V.is.GECKO||i.activeElement===t}}
1,ne=J,re={name:"can-focus-audio-without-controls",element:"audio",mutate:function(e){try{e.setAttribute("src",ne)}catch(e){}}},se={element:"div",mutate:function(e){return e.innerHTML='<map name="broken-image-map-test"><area href="#void" shape="rect" coords="63,19,144,45"></map><img usemap="#broken-image-map-test" alt="" src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ">',e.querySelector("area")}},oe={element:"a",mutate:function(e){return e.href="#void",e.innerHTML='<img ismap src="'+J+'" alt="">',e.querySelector("img")}},ae={element:"div",mutate:function(e){return e.innerHTML='<map name="image-map-tabindex-test"><area href="#void" shape="rect" coords="63,19,144,45"></map><img usemap="#image-map-tabindex-test" tabindex="-1" alt="" src="'+J+'">',e.querySelector("img")}};const le=!V.is.WEBKIT;var ce="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiBpZD0ic3ZnIj48dGV4dCB4PSIxMCIgeT0iMjAiIGlkPSJzdmctbGluay10ZXh0Ij50ZXh0PC90ZXh0Pjwvc3ZnPg==",ue={element:"object",mutate:function(e){e.setAttribute("type","image/svg+xml"),e.setAttribute("data",ce),e.setAttribute("width","200"),e.setAttribute("height","50"),e.style.visibility="hidden"}},de={name:"can-focus-object-svg",element:"object",mutate:function(e){e.setAttribute("type","image/svg+xml"),e.setAttribute("data",ce),e.setAttribute("width","200"),e.setAttribute("height","50")},validate:function(e,t,i){return!!V.is.GECKO||i.activeElement===e}};const he=!V.is.IE9;var pe={element:"div",mutate:function(e){return e.innerHTML='<map name="focus-redirect-img-usemap"><area href="#void" shape="rect" coords="63,19,144,45"></map><img usemap="#focus-redirect-img-usemap" alt="" src="'+J+'">',e.querySelector("img")},validate:function(e,t,i){const n=e.querySelector("area");return i.activeElement===n}};function fe(e){if(!(e.ownerSVGElement||"svg"===e.nodeName.toLowerCase()))return!1;const t=function(){const e=document.createElement("div");return e.innerHTML='<svg><foreignObject width="30" height="30">\n <input type="text"/>\n </foreignObject></svg>',e.firstChild.firstChild}();e.appendChild(t);const i=t.querySelector("input");return i.focus(),i.disabled=!0,e.removeChild(t),!0}function me(e){return'<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">'+e+"</svg>"}function ge(e,t,i){return function(e){if(!e.focus)try{HTMLElement.prototype.focus.call(e)}catch(t){fe(e)}}(t),i.activeElement===t}var be={element:"div",mutate:function(e){return e.innerHTML=me('<text focusable="true">a</text>'),e.querySelector("text")},validate:ge},ve={element:"div",mutate:function(e){return e.innerHTML=me('<text tabindex="0">a</text>'),e.querySelector("text")},validate:ge},ye={element:"div",mutate:function(e){return e.innerHTML=me('<text tabindex="-1">a</text>'),e.querySelector("text")},validate:ge},Se={element:"div",mutate:function(e){return e.innerHTML=me(['<g id="ally-test-target"><a xlink:href="#void"><text>link</text></a></g>','<use xlink:href="#ally-test-target" x="0" y="0" tabindex="-1" />'].join("")),e.querySelector("use")},validate:ge},Ee={element:"div",mutate:function(e){return e.innerHTML=me('<foreignObject tabindex="-1"><input type="text" /></foreignObject>'),e.querySelector("foreignObject")||e.getElementsByTagName("foreignObject")[0]},validate:ge};const Ce=Boolean(V.is.GECKO&&"undefined"!=typeof SVGElement&&SVGElement.prototype.focus);var we={element:"div",mutate:function(e){return e.innerHTML=me(""),e.firstChild},validate:ge},Ae=J,_e={element:"video",mutate:function(e){try{e.setAttribute("src",Ae)}catch(e){}}};const Le=V.is.GECKO||V.is.TRIDENT||V.is.EDGE;const xe={cssShadowPiercingDeepCombinator:Y,focusInZeroDimensionObject:function(){return le},focusObjectSwf:function(){return he},focusSvgInIframe:function(){return Ce},tabsequenceAreaAtImgPosition:function(){return Le}},Te={focusAreaImgTabindex:ee,focusAreaTabindex:te,focusAreaWithoutHref:ie,focusAudioWithoutControls:re,focusBrokenImageMap:se,focusChildrenOfFocusableFlexbox:{element:"div",mutate:function(e){return e.setAttribute("tabindex","-1"),e.setAttribute("style","display: -webkit-flex; display: -ms-flexbox; display: flex;"),e.innerHTML='<span style="display: block;">hello</span>',e.querySelector("span")}},focusFieldsetDisabled:{element:"fieldset",mutate:function(e){e.setAttribute("tabindex",0),e.setAttribute("disabled","disabled")}},focusFieldset:{element:"fieldset",mutate:function(e){e.innerHTML="<legend>legend</legend><p>content</p>"}},focusFlexboxContainer:{element:"span",mutate:function(e){e.setAttribute("style","display: -webkit-flex; display: -ms-flexbox; display: flex;"),e.innerHTML='<span style="display: block;">hello</span>'}},focusFormDisabled:{element:"form",mutate:function(e){e.setAttribute("tabindex",0),e.setAttribute("disabled","disabled")}},focusImgIsmap:oe,focusImgUsemapTabindex:ae,focusInHiddenIframe:{element:function(e,t){const i=t.createElement("iframe");e.appendChild(i);
1const n=i.contentWindow.document;return n.open(),n.close(),i},mutate:function(e){e.style.visibility="hidden";const t=e.contentWindow.document,i=t.createElement("input");return t.body.appendChild(i),i},validate:function(e){const t=e.contentWindow.document,i=t.querySelector("input");return t.activeElement===i}},focusInvalidTabindex:{element:"div",mutate:function(e){e.setAttribute("tabindex","invalid-value")}},focusLabelTabindex:{element:"label",mutate:function(e){e.setAttribute("tabindex","-1")},validate:function(e,t,i){e.offsetHeight;return e.focus(),i.activeElement===e}},focusObjectSvg:de,focusObjectSvgHidden:ue,focusRedirectImgUsemap:pe,focusRedirectLegend:{element:"fieldset",mutate:function(e){return e.innerHTML='<legend>legend</legend><input tabindex="-1"><input tabindex="0">',!1},validate:function(e,t,i){const n=e.querySelector('input[tabindex="-1"]'),r=e.querySelector('input[tabindex="0"]');return e.focus(),e.querySelector("legend").focus(),(i.activeElement===n?"focusable":i.activeElement===r&&"tabbable")||""}},focusScrollBody:{element:"div",mutate:function(e){return e.setAttribute("style","width: 100px; height: 50px; overflow: auto;"),e.innerHTML='<div style="width: 500px; height: 40px;">scrollable content</div>',e.querySelector("div")}},focusScrollContainerWithoutOverflow:{element:"div",mutate:function(e){e.setAttribute("style","width: 100px; height: 50px;"),e.innerHTML='<div style="width: 500px; height: 40px;">scrollable content</div>'}},focusScrollContainer:{element:"div",mutate:function(e){e.setAttribute("style","width: 100px; height: 50px; overflow: auto;"),e.innerHTML='<div style="width: 500px; height: 40px;">scrollable content</div>'}},focusSummary:{element:"details",mutate:function(e){return e.innerHTML="<summary>foo</summary><p>content</p>",e.firstElementChild}},focusSvgFocusableAttribute:be,focusSvgTabindexAttribute:ve,focusSvgNegativeTabindexAttribute:ye,focusSvgUseTabindex:Se,focusSvgForeignobjectTabindex:Ee,focusSvg:we,focusTabindexTrailingCharacters:{element:"div",mutate:function(e){e.setAttribute("tabindex","3x")}},focusTable:{element:"table",mutate:function(e,t,i){const n=i.createDocumentFragment();n.innerHTML="<tr><td>cell</td></tr>",e.appendChild(n)}},focusVideoWithoutControls:_e};let ke,Oe=null;function Re(){return Oe||(Oe=K.get(),Oe.time||(K.set(function(){const e=z(Te);return Object.keys(xe).forEach((function(t){e[t]=xe[t]()})),e}()),Oe=K.get()),Oe)}const Ie=/^\s*(-|\+)?[0-9]+\s*$/,Pe=/^\s*(-|\+)?[0-9]+.*$/;function De(e){ke||(ke=Re());const t=ke.focusTabindexTrailingCharacters?Pe:Ie,i=_({label:"is/valid-tabindex",resolveDocument:!0,context:e}),n=i.hasAttribute("tabindex"),r=i.hasAttribute("tabIndex");if(!n&&!r)return!1;if((i.ownerSVGElement||"svg"===i.nodeName.toLowerCase())&&!ke.focusSvgTabindexAttribute)return!1;if(ke.focusInvalidTabindex)return!0;const s=i.getAttribute(n?"tabindex":"tabIndex");return"-32768"!==s&&Boolean(s&&t.test(s))}function Me(e){if(!De(e))return null;const t=e.hasAttribute("tabindex")?"tabindex":"tabIndex",i=parseInt(e.getAttribute(t),10);return isNaN(i)?-1:i}function Ne(e){return[e.getPropertyValue("overflow"),e.getPropertyValue("overflow-x"),e.getPropertyValue("overflow-y")].some((e=>"auto"===e||"scroll"===e))}function Be(e){return e.display.indexOf("flex")>-1}function $e(e,t,i,n){return("div"===t||"span"===t)&&(!(i&&"div"!==i&&"span"!==i&&!Ne(n))&&(e.offsetHeight<e.scrollHeight||e.offsetWidth<e.scrollWidth))}let He;function je(){let{context:e,except:t={flexbox:!1,scrollable:!1,shadow:!1}}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};He||(He=Re());const i=_({label:"is/focus-relevant",resolveDocument:!0,context:e});if(!t.shadow&&i.shadowRoot)return!0;const n=i.nodeName.toLowerCase();if("input"===n&&"hidden"===i.type)return!1;if("input"===n||"select"===n||"button"===n||"textarea"===n)return!0;if("legend"===n&&He.focusRedirectLegend)return!0;if("label"===n)return!0;if("area"===n)return!0;if("a"===n&&i.hasAttribute("href"))return!0;if("object"===n&&i.hasAttribute("usemap"))return!1;if("object"===n){const e=i.getAttribute("type");if(!He.focusObjectSvg&&"image/svg+xml"===e)return!1;if(!He.focusObjectSwf&&"application/x-shockwave-flash"===e)return!1}if("iframe"===n||"object"===n)return!0;
1if("embed"===n||"keygen"===n)return!0;if(i.hasAttribute("contenteditable"))return!0;if("audio"===n&&(He.focusAudioWithoutControls||i.hasAttribute("controls")))return!0;if("video"===n&&(He.focusVideoWithoutControls||i.hasAttribute("controls")))return!0;if(He.focusSummary&&"summary"===n)return!0;const r=De(i);if("img"===n&&i.hasAttribute("usemap"))return r&&He.focusImgUsemapTabindex||He.focusRedirectImgUsemap;if(He.focusTable&&("table"===n||"td"===n))return!0;if(He.focusFieldset&&"fieldset"===n)return!0;const s="svg"===n,o=i.ownerSVGElement,a=i.getAttribute("focusable"),l=Me(i);if("use"===n&&null!==l&&!He.focusSvgUseTabindex)return!1;if("foreignobject"===n)return null!==l&&He.focusSvgForeignobjectTabindex;if(k(i,"svg a")&&i.hasAttribute("xlink:href"))return!0;if((s||o)&&i.focus&&!He.focusSvgNegativeTabindexAttribute&&l<0)return!1;if(s)return r||He.focusSvg||He.focusSvgInIframe||Boolean(He.focusSvgFocusableAttribute&&a&&"true"===a);if(o){if(He.focusSvgTabindexAttribute&&r)return!0;if(He.focusSvgFocusableAttribute)return"true"===a}if(r)return!0;const c=window.getComputedStyle(i,null);if(function(e){const t=e.webkitUserModify||"";return Boolean(t&&-1!==t.indexOf("write"))}(c))return!0;if(He.focusImgIsmap&&"img"===n&&i.hasAttribute("ismap")){const e=L({context:i}).some((e=>"a"===e.nodeName.toLowerCase()&&e.hasAttribute("href")));if(e)return!0}if(!t.scrollable&&He.focusScrollContainer)if(He.focusScrollContainerWithoutOverflow){if($e(i,n))return!0}else if(Ne(c))return!0;if(!t.flexbox&&He.focusFlexboxContainer&&Be(c))return!0;const u=i.parentElement;if(!t.scrollable&&u){const e=u.nodeName.toLowerCase(),t=window.getComputedStyle(u,null);if(He.focusScrollBody&&$e(u,n,e,t))return!0;if(He.focusChildrenOfFocusableFlexbox&&Be(t))return!0}return!1}je.except=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=function(t){return je({context:t,except:e})};return t.rules=je,t};var Fe=je.except({});function qe(e,t){if(e.findIndex)return e.findIndex(t);const i=e.length;if(0===i)return-1;for(let n=0;n<i;n++)if(t(e[n],n,e))return n;return-1}function Ue(e){return e?e.nodeType===Node.DOCUMENT_NODE?e:e.ownerDocument||document:document}let We,Ve;function ze(e){if("string"!=typeof We){const e=Y();e&&(We=", html "+e+" ")}return We?e+We+e.replace(/\s*,\s*/g,",").split(",").join(We):e}function Ge(e){const t=Ue(e).defaultView||window;if(!t.parent||t.parent===t)return null;try{return t.frameElement||function(e){if(Ve||(Ve=ze("object, iframe")),void 0!==e._frameElement)return e._frameElement;e._frameElement=null;const t=e.parent.document.querySelectorAll(Ve);return[].some.call(t,(function(t){return function(e){try{return e.contentDocument||e.contentWindow&&e.contentWindow.document||e.getSVGDocument&&e.getSVGDocument()||null}catch(e){return null}}(t)===e.document&&(e._frameElement=t,!0)})),e._frameElement}(t)}catch(e){return null}}const Xe=/^(area)$/;function Qe(e,t){return window.getComputedStyle(e,null).getPropertyValue(t)}function Ze(){let{context:e,except:t={notRendered:!1,cssDisplay:!1,cssVisibility:!1,detailsElement:!1,browsingContext:!1}}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const i=_({label:"is/visible",resolveDocument:!0,context:e}),n=i.nodeName.toLowerCase();if(!t.notRendered&&Xe.test(n))return!0;const r=L({context:i}),s="audio"===n&&!i.hasAttribute("controls");if(!t.cssDisplay&&function(e){return e.some((function(e){return"none"===Qe(e,"display")}))}(s?r.slice(1):r))return!1;if(!t.cssVisibility&&function(e){const t=qe(e,(function(e){const t=Qe(e,"visibility");return"hidden"===t||"collapse"===t}));if(-1===t)return!1;const i=qe(e,(function(e){return"visible"===Qe(e,"visibility")}));return-1===i||t<i}(r))return!1;if(!t.detailsElement&&function(e){let t=1;return"summary"===e[0].nodeName.toLowerCase()&&(t=2),e.slice(t).some((function(e){return"details"===e.nodeName.toLowerCase()&&!1===e.open}))}(r))return!1;if(!t.browsingContext){const e=Ge(i),n=Ze.except(t);if(e&&!n(e))return!1}return!0}Ze.except=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=function(t){return Ze({context:t,except:e})};return t.rules=Ze,t};var Ke=Ze.except({}),Ye=i(68587),Je=i.n(Ye);let et,tt,it;function nt(e){et||(et=Re());const t=_({label:"is/valid-area",context:e});if("area"!==t.nodeName.toLowerCase())return!1;const i=t.hasAttribute("tabindex");if(!et.focusAreaTabindex&&i)return!1;const n=function(e){const t=e.parentElement;return t.name&&"map"===t.nodeName.toLowerCase()&&Ue(e).querySelector('img[usemap="#'+Je()(t.name)+'"]')||null}(t);if(!n||!Ke(n))return!1;if(!et.focusBrokenImageMap&&(!n.complete||!n.naturalHeight||n.offsetWidth<=0||n.offsetHeight<=0))return!1;
1if(!et.focusAreaWithoutHref&&!t.href)return et.focusAreaTabindex&&i||et.focusAreaImgTabindex&&n.hasAttribute("tabindex");return!L({context:n}).slice(1).some((function(e){const t=e.nodeName.toLowerCase();return"button"===t||"a"===t}))}const rt={input:!0,select:!0,textarea:!0,button:!0,fieldset:!0,form:!0};let st;function ot(e){return"fieldset"===e.nodeName.toLowerCase()&&e.disabled}function at(e){return"form"===e.nodeName.toLowerCase()&&e.disabled}function lt(e){st||(st=Re());const t=_({label:"is/disabled",context:e});if(t.hasAttribute("data-ally-disabled"))return!0;if(!function(e){tt||(tt=Re(),tt.focusFieldsetDisabled&&delete rt.fieldset,tt.focusFormDisabled&&delete rt.form,it=new RegExp("^("+Object.keys(rt).join("|")+")$"));const t=_({label:"is/native-disabled-supported",context:e}).nodeName.toLowerCase();return Boolean(it.test(t))}(t))return!1;if(t.disabled)return!0;const i=L({context:t});return!!i.some(ot)||!(st.focusFormDisabled||!i.some(at))}function ct(){let{context:e,except:t={onlyFocusableBrowsingContext:!1,visible:!1}}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const i=_({label:"is/only-tabbable",resolveDocument:!0,context:e});if(!t.visible&&!Ke(i))return!1;if(!t.onlyFocusableBrowsingContext&&(V.is.GECKO||V.is.TRIDENT||V.is.EDGE)){const e=Ge(i);if(e&&Me(e)<0)return!1}const n=i.nodeName.toLowerCase(),r=Me(i);return"label"===n&&V.is.GECKO?null!==r&&r>=0:!!(V.is.GECKO&&i.ownerSVGElement&&!i.focus&&"a"===n&&i.hasAttribute("xlink:href")&&V.is.GECKO)}ct.except=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=function(t){return ct({context:t,except:e})};return t.rules=ct,t};var ut=ct.except({});let dt;function ht(){let{context:e,except:t={disabled:!1,visible:!1,onlyTabbable:!1}}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};dt||(dt=Re());const i=ut.rules.except({onlyFocusableBrowsingContext:!0,visible:t.visible}),n=_({label:"is/focusable",resolveDocument:!0,context:e});if(!Fe.rules({context:n,except:t})||function(e){const t=e.nodeName.toLowerCase();if("embed"===t||"keygen"===t)return!0;const i=Me(e);if(e.shadowRoot&&null===i)return!0;if("label"===t)return!dt.focusLabelTabindex||null===i;if("legend"===t)return null===i;if(dt.focusSvgFocusableAttribute&&(e.ownerSVGElement||"svg"===t)){const t=e.getAttribute("focusable");return t&&"false"===t}return"img"===t&&e.hasAttribute("usemap")?null===i||!dt.focusImgUsemapTabindex:"area"===t&&!nt(e)}(n))return!1;if(!t.disabled&<(n))return!1;if(!t.onlyTabbable&&i(n))return!1;if(!t.visible){const e={context:n,except:{}};if(dt.focusInHiddenIframe&&(e.except.browsingContext=!0),dt.focusObjectSvgHidden){"object"===n.nodeName.toLowerCase()&&(e.except.cssVisibility=!0)}if(!Ke.rules(e))return!1}const r=Ge(n);if(r){if(!("object"!==r.nodeName.toLowerCase()||dt.focusInZeroDimensionObject||r.offsetWidth&&r.offsetHeight))return!1}return!("svg"===n.nodeName.toLowerCase()&&dt.focusSvgInIframe&&!r&&null===n.getAttribute("tabindex"))}ht.except=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=function(t){return ht({context:t,except:e})};return t.rules=ht,t};var pt=ht.except({});function ft(e){const t=function(t){return t.shadowRoot||e(t)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP};return t.acceptNode=t,t}const mt=ft(Fe);function gt(){let{context:e,includeContext:t,includeOnlyTabbable:i,strategy:n}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e||(e=document.documentElement);const r=pt.rules.except({onlyTabbable:i}),s=Ue(e).createTreeWalker(e,NodeFilter.SHOW_ELEMENT,"all"===n?mt:ft(r),!1);let o=[];for(;s.nextNode();)s.currentNode.shadowRoot?(r(s.currentNode)&&o.push(s.currentNode),o=o.concat(gt({context:s.currentNode.shadowRoot,includeOnlyTabbable:i,strategy:n}))):o.push(s.currentNode);return t&&("all"===n?Fe(e)&&o.unshift(e):r(e)&&o.unshift(e)),o}let bt,vt;function yt(){let{context:e,includeContext:t,includeOnlyTabbable:i}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const n=(bt||(bt=Re()),"string"==typeof vt||(vt=(bt.focusTable?"table, td,":"")+(bt.focusFieldset?"fieldset,":"")+"svg a,a[href],area[href],input, select, textarea, button,iframe, object, embed,keygen,"+(bt.focusAudioWithoutControls?"audio,":"audio[controls],")+(bt.focusVideoWithoutControls?"video,":"video[controls],")+(bt.focusSummary?"summary,":"")+"[tabindex],[contenteditable]",vt=ze(vt)),vt),r=e.querySelectorAll(n),s=pt.rules.except({onlyTabbable:i}),o=[].filter.call(r,s);return t&&s(e)&&o.unshift(e),o}function St(){let{context:e,includeContext:t,includeOnlyTabbable:i,strategy:n="quick"}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const r={context:_({label:"query/focusable",resolveDocument:!0,defaultToDocument:!0,context:e}),includeContext:t,includeOnlyTabbable:i,strategy:n};if("quick"===n)return yt(r);if("strict"===n||"all"===n)return gt(r);throw new TypeError('query/focusable requires option.strategy to be one of ["quick", "strict", "all"]')}class Et extends v.x{constructor(){super()}_init(){Array.from(this.querySelectorAll("[data-focus-trap-ignore]")).map((e=>{const t=e.getAttribute("data-focus-trap-ignore");(0,A.WM)(e,e.getAttribute("data-focus-trap-ignore"))?(0,A.bd)(t,(t=>{t?e.setAttribute("inert",!0):e.removeAttribute("inert")}),document.window):e.setAttribute("inert",!0)}));const e=this.getAttribute("media");this.getAllFocusableEl(),(0,A.WM)(this,e)?(0,A.bd)(e,(e=>{e?this.addEventListener("keydown",this.listener):this.removeEventListener("keydown",this.listener)}),document.window):this.addEventListener("keydown",this.listener),new MutationObserver((e=>{e.forEach((e=>{null!==e.oldValue&&e.target.querySelector('[slot = "trigger"]')?.focus()})),this.getAllFocusableEl()})).observe(document,{attributeFilter:["open"],attributeOldValue:!0,subtree:!0})}getAllFocusableEl(){this.focusableEls=St({context:this,includeContext:!0,strategy:"quick"})}listener(e){var t=this.focusableEls[0],i=this.focusableEls[this.focusableEls.length-1];this.focusTrap(e,t,i)}focusTrap(e,t,i){"Tab"===e.key&&(e.shiftKey?document.activeElement===t&&(i.focus(),e.preventDefault()):document.activeElement===i&&(t.focus(),e.preventDefault()))}}customElements.define("wc-focus-trap",Et);var Ct=i(35854),wt=i(75399),At=i(86749);class _t extends Ct.C{constructor(){super(),this.id="",this._headerElement=this.querySelector("header"),this._resizeObserver=new ResizeObserver((()=>this._UpdateHeight()))}connectedCallback(){super.connectedCallback(this.id),(0,wt.sx)((()=>this._OnLoadPage()));const e=document.querySelectorAll(".c-pg-header__panel .c-nav--secondary > .c-doormat__inner > .c-nav__items > .c-nav__item > wc-reveal"),t=(e,t)=>{for(const t of e)"attributes"===t.type&&"open"===t.attributeName&&t.target.querySelectorAll(".c-nav__items .c-nav__item > wc-reveal").forEach(((e,t)=>{(0,At.WM)(e,At.Ec).matches&&(e.setOpen(!1),0===t&&e.setOpen(!0))}))};e.forEach((e=>{new MutationObserver(t).observe(e,{attributes:!0,childList:!1,subtree:!1})}
1))}disconnectedCallback(){super.disconnectedCallback(),this._headerElement&&this._resizeObserver.unobserve(this._headerElement)}createRenderRoot(){return this}_OnLoadPage(){this._headerElement&&(this._resizeObserver.observe(this._headerElement),this._UpdateHeight())}_UpdateHeight(){if(!this._headerElement)return;const e=this._headerElement.offsetHeight;document.documentElement.style.setProperty("--header-height",`${e}px`),(0,y.r)(this,"wc-header-height-updated",{headerHeightInt:e,headerHeightString:`${e}px`})}}customElements.define("wc-header",_t);var Lt=i(68687);class xt extends Ct.C{closeCallback;static get properties(){return{parm:{type:Object,attribute:"parm"}}}constructor(){super(),this.id=""}connectedCallback(){super.connectedCallback(this.id),this.basketTrigger=this.querySelector('[slot="trigger"]')}disconnectedCallback(){super.disconnectedCallback()}createRenderRoot(){return this}firstUpdated(){this._updateRoot()}_updateRoot(){const e=this.querySelector('slot[name="basket-content"]'),t=this.renderRoot.querySelector('[slot="basket-content"]');e&&t&&(e.prepend(t),t.style="display: block;")}updateBasketItems(e){this.parm.basketItems=e,this.requestUpdate("parm")}render(){var e=0;return this.parm?.basketItems?.forEach((t=>{e+=t.amount})),this.handleBasketIconAmount(e),Lt.dy` <div slot="basket-content" style="display: none;"> 2 ${this.parm?Lt.dy` 3 <div class="o-flex o-flex--jc-between u-pb-3 a-basket-doormat__heading"> 4 <div role="heading" aria-level="2" class="u-text-small">${this.parm.basketTitle}</div> 5 <span class="u-color-subtle">${e} ${this.parm.basketAmountSuffix}</span> 6 </div> 7 8 ${this.getBasketItems()} 9 10 <div class="a-basket-doormat__footer u-pb-3"> 11 ${e>0?Lt.dy` 12 <div class="u-text-center"> 13 <a href="${this.parm.checkoutUrl}" class="a-btn a-btn--primary a-btn--small"> 14 ${this.parm.ctaLabel} 15 </a> 16 </div>`:Lt.dy`<p>${this.parm.noItemsLabel}</p>`} 17 </div> 18 </div> 19 `:Lt.Ld} 20 </div>`}handleBasketIconAmount(e){const t=this.querySelector(".js-basket-amount");if(!t)return;const i=t.querySelector("span");e>0?i?i.innerText=e:t.insertAdjacentHTML("beforeend",`<span class="a-basket__amount js-basket-number">${e}</span>`):i?i.remove():Lt.Ld}openBasket(){this.basketTrigger&&(this.basketTrigger.click(),setTimeout((()=>{this.basketTrigger.closest("wc-reveal").hasAttribute("open")&&this.basketTrigger.click()}),this.parm?.closeTime||0))}handleRemoveClick(e){(0,y.r)(this,"wc-basket-remove",{id:e}),this.parm.basketItems=this.parm.basketItems.filter((t=>!(t.id==e&&t.amount<=1))),this.requestUpdate("parm")}getQuantityLabel(e){const t=this.parm.itemAmountLabel?.replace("{QuantityOfItem}",e);return t??e}getBasketItems(){return this.parm.basketItems?Lt.dy` 21 ${this.parm.basketItems.map(((e,t)=>Lt.dy`<article class="a-basket-doormat__item" data-basket-id="${e.id}"> 22 ${e.imgUrl?Lt.dy` <div class="a-basket-doormat__media"> 23 <img src="${e.imgUrl}" width="" height="" alt="" class="o-fit" /> 24 </div>`:Lt.Ld} 25 <span class="a-basket-doormat__category">${e.category}</span> 26 <span class="a-basket-doormat__amount"> 27 ${this.getQuantityLabel(e.amount)} 28 </span> 29 <h3 class="a-basket-doormat__title u-label-small u-text-ellipsis"> 30 ${e.title} 31 </h3> 32 <span class="a-basket-doormat__desc">${e.desc}</span> 33 34 <button 35 class="a-basket-doormat__cta a-link a-link--destructive" 36 type="button" 37 aria-label="Remove from basket" 38 title="Remove from basket"
39 data-basket-id="${e.id}" 40 @click="${t=>{this.handleRemoveClick(e.id)}}" 41 > 42 ${this.parm.removeLabel} 43 </button> 44 </article>`))} 45 `:Lt.dy``}}customElements.define("wc-header-basket",xt);i(38985),i(93385),i(50145),i(46352);var Tt=i(72071);class kt extends Tt.k{constructor(){super()}createRenderRoot(){return this}}customElements.define("wc-general",kt);var Ot={initializeComponents(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document;Array.from(t.querySelectorAll("[data-component-class]")).forEach((t=>{let i=t.getAttribute("data-component-class");for(const r of i.split(/[ ]+/)){var n=e[r];if(n)new n(t)}})),Rt(t),It(t)},initDynamicComponents(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document,i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];o.initializeDynamicImports(e,t,i)},initWebcomponent(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;o.importWebcomponents(e)},initAlpine(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:document,n=e?m.concat(e):m;o.initAlpineComponents(n,i),t&&o.initAlpineWindowComps(t,i),n||t||o.importAlpineIfNeeded(i)},initGlobalWindowSettings(){window.iconSymbolFile="/etex/images/svg/symbols.svg",window.pictogramSymbolFile="/etex/images/svg/pictogram-symbols.svg"},initializeActionMenu:function(e){Pt(g.ActionMenu,e,"js-action-menu")},initializeCollapse:Rt,initializeToggler:It,initializeTabs:function(e){Pt(p.Z,e,"js-tabs")},initializeScrollableElement:function(e){Pt(b.Z,e,"js-scrollable-element")},initializeDropdown:function(e){Pt(f.v,e,"js-dropdown")},initializeBfEventListener:function(){let e,t=window;t.bfCallBacks=[],window.addEventListener("pageshow",(e=>{e.persisted&&t.bfCallBacks.forEach((e=>{setTimeout((()=>{e()}))}))})),function t(i){window.Optanon||window.OneTrust?i():e=setTimeout((function(){t(i)}),100)}((function(){let t=document.querySelector("#onetrust-pc-sdk");if(!t)return void clearTimeout(e);let i=t.querySelector("#ot-category-title");i&&(i.setAttribute("role","heading"),i.setAttribute("aria-level","3"),i.outerHTML=i.outerHTML.replace(/^<h3/i,"<span").replace(/<\/h3>$/i,"</span>"));let n=t.querySelector("#ot-lst-title");n&&(n.setAttribute("role","heading"),n.setAttribute("aria-level","3"),n.outerHTML=n.outerHTML.replace(/^<h3/i,"<div").replace(/<\/h3>$/i,"</div>")),t.querySelectorAll(".ot-cat-grp .ot-cat-header").forEach((e=>{e.setAttribute("role","heading"),e.setAttribute("aria-level","4"),e.outerHTML=e.outerHTML.replace(/^<h4/i,"<div").replace(/<\/h4>$/i,"</div>")})),t.querySelectorAll(".ot-host-expand").forEach((e=>{e.setAttribute("role","heading"),e.setAttribute("aria-level","4"),e.outerHTML=e.outerHTML.replace(/^<h4/i,"<div").replace(/<\/h4>$/i,"</div>")})),clearTimeout(e)}))},isMobile(){let e=document.querySelector(".js-nav-trigger");if(e)return!this.isHidden(e)},isHidden(e){var t=window.getComputedStyle(e);return"none"===t.display||"hidden"===t.visibility},simpleSanitizeHtml(e){var t=document.createElement("textarea");return e&&"string"==typeof e&&(e=(e=e.replace(/</g,"<")).replace(/>/g,">"),t.innerHTML=e,e=t.textContent,t.textContent=""),e},decodeHtml(e){const t=document.createElement("textarea");return t.innerHTML=e,t.value},closestByClass(e,t){for(;!e.classList.contains(t);)if(!(e=e.parentNode))return null;return e}};function Rt(e){Pt(d,e,"js-collapse")}function It(e){Pt(h.Z,e,"js-toggler")}function Pt(e,t,i){Array.from(t.getElementsByClassName(i)).forEach((t=>{new e(t)}))}},58706:function(e,t,i){"use strict";i.r(t),i.d(t,{AbsModal:function(){return J.c},ActionMenu:function(){return X},ActionMenuCreatedEvent:function(){return Q},ActionMenuEvents:function(){return Z},AdjustIframeHeight:function(){return K.W},AppStore:function(){return f},BaseConfiguredDialog:function(){return B.Km},BaseDialog:function(){return B.vb},BasketManager:function(){return n.X},BasketSummary:function(){return ne.l},BasketUpdatedEventData:function(){return n.P},CSSMasonry:function(){return ae},CedralV1ReferenceCase:function(){return z},CheckoutForm:function(){return h},Deeplink:function(){return F},Dialog:function(){return B.Vq},DialogManager:function(){return le.r},DropDown:function(){return Y.v},DynamicHtml:function(){return m},EpiServerForm:function(){return l},FavoritesDialog:function(){return v},Header:function(){return re.h},HomeCarousel:function(){return y.V},IFrameDialog:function(){return B.ir},ImsCarousel:function(){return C},ImsEntityDownloadsContainer:function(){return x},ImsInstallationMethod:function(){return k},ImsPropertyTable:function(){return O},ImsSlatesPattern:function(){return R},ImsTabbedColorSize:function(){return P},ImsTabbedView:function(){return I},InspirationCarousel:function(){return D},InspirationContentCarousel:function(){return M},InspirationThumbnailCarousel:function(){return N},LoginDialog:function(){return $},MyAccountManager:function(){return H.I},ReadMore:function(){return ce},ReferenceCaseTeaser:function(){return V},ResponsiveTable:function(){return ee.U},RichText:function(){return j},SampleRequestCtaButton:function(){return se.u},SliderFilter:function(){return te.Y},SolutionFinder:function(){return q},SpinnerInput:function(){return ie.w},Tabs:function(){return _},WaterMark:function(){return W}});var n=i(62409),r=i(78097),s=i(24820),o=i(9866);class a{static bindEvents(e,t,i,n){e.addEventListener("focusin",(e=>{var r=e.target;null!=r&&r.classList.contains(t)&&a.changeHasValueState(r,!0,i,n)})),e.addEventListener("change",(e=>{const t=e.target;t&&(t.validity.valid&&""!==t.value||""!==t.placeholder)&&a.changeHasValueState(t,!0,i,n)})),e.addEventListener("focusout",(e=>{var r=e.target;null!=r&&r.classList.contains(t)&&(!r.required&&r.validity.valid&&""===r.value&&""===r.placeholder||r.required&&""===r.value&&""===r.placeholder||r.validity.valid&&""===r.value&&""===r.placeholder)&&a.changeHasValueState(r,!1,i,n)}))}static changeHasValueState(e,t,i,n){var r=e.closest(i);r&&(t?r.classList.add(n):r.classList.remove(n))}}class l extends s.H{constructor(e){super(e),this.TEXTBOX_CLASS="FormTextbox__Input",this.TEXTBOX_SELECTOR="."+this.TEXTBOX_CLASS,this.FORM_ELEMENT_CLASS="Form__Element",this.FORM_ELEMENT_SELECTOR="."+this.FORM_ELEMENT_CLASS,this.HAS_VALUE_CLASS="has-value",this.REFERRER_SELECTOR=".Form__Element_ReferringPage",this.SELECTOR_SPINNER=".js-spinner",this.init(),this.initializeSpinner()}initializeSpinner(){this.spinnerHandler=new o.Z(this.element)}init(){this.element&&(Array.from(this.element.querySelectorAll(this.REFERRER_SELECTOR)).forEac
45h((e=>{null!=e&&(e.value=window.location.href)})),Array.from(this.element.querySelectorAll(this.TEXTBOX_SELECTOR)).forEach((e=>{null!=e&&(""!==e.value||""!==e.value&&!e.validity.valid||""!=e.placeholder)&&a.changeHasValueState(e,!0,this.FORM_ELEMENT_SELECTOR,this.HAS_VALUE_CLASS)})),"undefined"!=typeof $$epiforms&&($$epiforms(".EPiServerForms").on("formsStartSubmitting",(e=>{null!==e&&"undefined"!=typeof dataLayer&&this.spinnerHandler.showSpinner()})),$$epiforms(".EPiServerForms").on("formsSubmitted",((e,t,i)=>{"undefined"!=typeof dataLayer&&(this.pushFormSubmitToDataLayer(e),this.spinnerHandler.hideSpinner()),document.getElementById("form-wrapper").scrollIntoView()}))),a.bindEvents(this.element,this.TEXTBOX_CLASS,this.FORM_ELEMENT_SELECTOR,this.HAS_VALUE_CLASS),this.replaceFormSubmitButton())}replaceFormSubmitButton(){"undefined"!=typeof $$epiforms&&$$epiforms(".EPiServerForms").on("formsNavigationNextStep formsNavigationPrevStep",((e,t,i)=>{$$epiforms(".is-active[data-js-step-name]").removeClass("is-active"),$$epiforms('[data-js-step-name="'+e.targetStep.elementName+'"]').addClass("is-active");var n=$$epiforms(`section[data-f-element-name="${e.targetStep.elementName}"]`).find("button[data-f-type='submitbutton']"),r=$$epiforms.find("[data-f-type='navigationbar']"),s=$$epiforms(r).find("[data-f-type='submitbutton']");if(n.length>0){const e=$$epiforms(n).text();$$epiforms(s).text(e),$$epiforms(s).removeClass("u-hidden"),$$epiforms(n).addClass("u-hidden")}else $$epiforms(s).addClass("u-hidden")}))}pushFormSubmitToDataLayer(e){var t=this.element.querySelector("[name='__FormCategory']"),i="";t&&(i=t.value),null!=dataLayer&&dataLayer.push({event:"formSuccess",formId:e.workingFormInfo.Id,formName:e.workingFormInfo.Name,formCategory:i,formPageUrl:window.location.href})}}var c=i(70392),u=i.n(c),d=i(20550);class h extends l{constructor(e){super(e),this.SELECTOR_CHECKOUTFORM="[data-component-class*='CheckoutForm']",this.SELECTOR_BASKETSUMMARY="[data-js='basket-summary']",this.SELECTOR_BASKET_TOTAL_ITEM="[data-js='total-item']",this.SELECTOR_BASKETITEM="[data-js='basket-item']",this.SELECTOR_SAMPLEID="[data-js='variant-id']",this.SELECTOR_PRODUCTFAMILYNAME="[data-js='product-family-name']",this.SELECTOR_VARIANTNAME="[data-js='variant-name']",this.SELECTOR_QUANTITY="[data-js='basket-item-quantity']",this.SELECTOR_CURRENTSTEP="input[name='__FormCurrentStepIndex']",this.SELECTOR_BRAND="[data-js='Brand']",this.SELECTOR_BRANDPRODUCTCATEGORY="[data-js='BrandProductCategory']",this.preventSubmit=!1,this.interestingFriendlyNames=["TargetGroup","ProjectSize","ProjectDate","ProjectType","City"],this.basketSummary=document.querySelector(this.SELECTOR_BASKETSUMMARY),null!=this.basketSummary&&this.monitorBasketChanged(),this.initializeCheckout(),this.addBfCallBack((()=>{location.reload()}))}initializeCheckout(){if(null!=this.element){this.replaceFormSubmitButton(),this.monitorEmptyBasket(),this.monitorBasketUpdates();var e=this.getBasketItems();if(null!=e&&e.length>0){var t=this.element.querySelector(this.SELECTOR_CURRENTSTEP);if(null!==t){var i=t.value;this.pushCheckoutStep(e,parseInt(i)+1)}$$epiforms(this.SELECTOR_CHECKOUTFORM).on("formsNavigationNextStep",(e=>{if(null!==e&&null!==e.targetStep){var t=e.targetStep.index+1,i=this.getBasketItems();this.pushCheckoutStep(i,t),this.collectAnalyticsData(e),this.spinnerHandler.hideSpinner()}})),$$epiforms(this.SELECTOR_CHECKOUTFORM).on("formsNavigationPrevStep",(e=>{if(null!==e&&null!==e.targetStep){var t=e.targetStep.index+1,i=this.getBasketItems();this.pushCheckoutStep(i,t)}})),$$epiforms(this.SELECTOR_CHECKOUTFORM).on("formsSubmitted",(e=>{if(null!==e&&!1!==e.isFinalizedSubmission){var t=this.getBasketItems(),i=e.timeStamp;r.yY.pushPurchases(t,i),this.pushAnalyticsData(),this.spinnerHandler.hideSpinner()}})),$$epiforms(this.SELECTOR_CHECKOUTFORM).on("formsStartSubmitting",(e=>{null!==e&&(this.preventSubmit&&e.preventDefault(),this.spinnerHandler.showSpinner())}))}}}monitorBasketChanged(){u().subscribe(d.r.basketInitialized,((e,t)=>{t.totalCount!==this.getBasketTotalItem()&&location.reload()}))}monitorEmptyBasket(){u().subscribe(d.r.basketEmpty,(()=>{this.redirectToHomePage()}))}monitorBasketUpdates(){u().subscribe(d.r.basketUpdated,((e,t)=>{0!=t.totalCount&&setTimeout((()=>{location.reload()}),0)}))}redirectToHomePage(){var e=this.element.getAttribute("data-startpage-url");this.preventSubmit=!0,location.assign(e)}getBasketItems(){var e=document.querySelector(this.SELECTOR_BASKETSUMMARY);
45if(null!=e){var t=e.querySelectorAll(this.SELECTOR_BASKETITEM);if(0!==t.length){for(var i=new Array,n=0;n<t.length;n++){var r=this.getProductInformation(t[n]);null!==r&&i.push(r)}return i}}}getProductInformation(e){var t=e.querySelector(this.SELECTOR_PRODUCTFAMILYNAME),i=e.querySelector(this.SELECTOR_VARIANTNAME),n=e.querySelector(this.SELECTOR_SAMPLEID),s=e.querySelector(this.SELECTOR_QUANTITY),o=e.querySelector(this.SELECTOR_BRAND),a=e.querySelector(this.SELECTOR_BRANDPRODUCTCATEGORY);if(null!==t&&null!==i&&null!==n&&null!==s){var l=s.attributes.getNamedItem("data-quantity").value,c=t.value,u=i.value,d=n.value,h=o.value,p=a.value,f=new r.rY;return f.name=c,f.variant=u,null!==d&&d.length>0&&(f.id=d),f.quantity=parseInt(l),f.brand=h,f.category=p,f}return null}getBasketTotalItem(){if(null==this.basketSummary)return 0;var e=this.basketSummary.querySelector(this.SELECTOR_BASKET_TOTAL_ITEM);return null==e?0:parseInt(e.getAttribute("value"))}pushCheckoutStep(e,t){r.yY.pushCheckoutStep(e,t)}collectAnalyticsData(e){let t=e.workingFormInfo;if(t){var i=epi.EPiServer.Forms.Data.loadFormDataFromStorage(t.Id);if(i)for(var n in t.ElementsInfo){var r=t.ElementsInfo[n].friendlyName;if(r){var s=this.interestingFriendlyNames.indexOf(r);if(-1!==s){var o=i[n];if(null!=o&&void 0!==o)switch(s){case 0:this.targetGroup=this.parseValue(o);break;case 1:this.projectSize=o;break;case 2:this.projectDate=this.parseValue(o);break;case 3:this.projectType=this.parseValue(o);break;case 4:this.city=o}}}}}}parseValue(e){return Array.isArray(e)&&e.length>0?e[0]:e}pushAnalyticsData(){(this.targetGroup||this.projectSize||this.projectDate||this.projectType||this.city)&&r.yY.pushSampleFlowData(this.targetGroup,this.projectSize,this.projectDate,this.projectType,this.city)}}var p=i(42799);class f extends p.o{constructor(e){super(e),this.element=e,this.init()}init(){i.e(5935).then(i.t.bind(i,97327,19)).then((e=>{const t=this.element.querySelector("iframe");if(t){const e=this.getQueryString(t);this.injectQueryString(t,e)}e.iframeResizer({log:!1,checkOrigin:!1},"iframe")}))}getQueryString(e){const t=[],i=e.getAttribute("src");if(!i)return"";const n=i.split("?")[1];if(n){const e=n.split("&");for(let i=0;i<e.length;i++)this.parm.queryParameters[e[i].split("=")[0]]||t.push(e[i])}if(this.parm.queryParameters)for(const e in this.parm.queryParameters){const i=e+"="+this.parm.queryParameters[e];t.push(i)}return t.join("&")}injectQueryString(e,t){let i=e.getAttribute("src");i||(i=""),i=i.split("?")[0],i+="?"+t,e.setAttribute("src",i)}}class m extends s.H{constructor(e){super(e),this.element=e,this.init()}init(){i.e(5935).then(i.t.bind(i,97327,19)).then((e=>{e.iframeResizer({log:!1,checkOrigin:!1},"iframe")}))}}var g=i(93672),b=i(77120);class v extends s.H{constructor(e){super(e),this.init()}init(){new g.Z(this.element),this.element.querySelector(".js-add-favorites").addEventListener("click",(()=>{u().publish(b.P.addFavorites)})),this.element.querySelector(".js-close-dialog").addEventListener("click",(()=>{u().publish(b.P.dialogClosed)}))}}var y=i(50220),S=i(15539),E=i(24448);class C extends S.h{constructor(e){super(e),this.init()}init(){if(!this.element)return;const e=E.Z.getFluidCarouselOptions();this.initCarousel(e)}}var w=i(49762),A=i.n(w);class _ extends s.H{constructor(e){super(e),this.anchorRegex=/^#[^ ]+$/,this.triggers=null,this.panels=null,this.activeClass="is-active",this.triggers=this.element.querySelectorAll(".js-tabs-trigger"),this.panels=this.element.querySelectorAll(".js-tabs-panel"),this.init()}init(){null===this.triggers||this.triggers.length<=0?this.element&&this.element.addEventListener("click",(e=>{let t=e.target,i=t.closest(".js-tabs-trigger");if(!i)return;e.preventDefault();let n=i.hash;this.anchorRegex.test(n)&&(t=this.element.querySelector(n),t&&(i.classList.contains(this.activeClass)?this.element.classList.contains("js-collapse-tabs")&&(this.disactivatePanel(t),i.classList.remove(this.activeClass),i.setAttribute("aria-selected","false")):(i.setAttribute("aria-selected","true"),t.classList.contains(this.activeClass)?this.disactivatePanel(t):this.activatePanel(t,i))))}
45)):Array.from(this.triggers).forEach((e=>{null!==e&&e.addEventListener("click",(t=>{t.preventDefault();let i=e.hash;if(this.anchorRegex.test(i)){var n=this.element.querySelector(i);if(n)if(e.classList.contains(this.activeClass))this.element.classList.contains("js-collapse-tabs")&&(this.disactivatePanel(n),e.classList.remove(this.activeClass),e.setAttribute("aria-selected","false"));else{let t=e.parentElement.parentElement.querySelector('[aria-selected="true"]');t&&t.setAttribute("aria-selected","false"),e.setAttribute("aria-selected","true"),n.classList.contains(this.activeClass)?this.disactivatePanel(n):this.activatePanel(n,e)}}}))})),window.addEventListener("resize",A()((()=>{document.querySelectorAll(`.js-collapse-tabs .${this.activeClass}`).forEach((function(e){e&&e.classList.remove(this.activeClass)}))}),300))}disactivatePanel(e){e.classList.remove(this.activeClass)}activatePanel(e,t){if(null===e||null==t)return;let i=this.getSiblings(e);Array.from(i).forEach((e=>{e.classList.remove(this.activeClass)}));let n=this.getSiblings(t);Array.from(n).forEach((e=>{e.classList.remove(this.activeClass)})),e.classList.add(this.activeClass),t.classList.add(this.activeClass)}getSiblings(e){var t=new Array;let i=e.parentElement.children;if(i.length<=1){i=e.parentElement.parentElement.children;for(let e=0;e<i.length;e++){const n=i[e].querySelector(".js-tabs-trigger");t.push(n)}}else for(let e=0;e<i.length;e++){const n=i[e];t.push(n)}return t}}var L=i(77370);class x extends s.H{constructor(e){super(e),this.hiddenClass="u-hidden",this.totalDownload=0,this.selectors={downloadHeader:".js-header",downloadBtnLabel:".js-download-btn-label"},this.init()}init(){if(!this.element)return;this.downloadHeader=this.element.querySelector(this.selectors.downloadHeader),this.downloadAllButtonLabel=this.element.querySelector(this.selectors.downloadBtnLabel);const e=this.downloadAllButtonLabel.innerHTML;u().subscribe(L.a.listerInitialized,((e,t)=>{0==t?this.hideElements():this.showElements()})),u().subscribe(L.a.listerUpdated,((t,i)=>{this.downloadAllButtonLabel.innerHTML=e,this.updateDownloadCount(i)}))}updateDownloadCount(e){this.totalDownload+=e,this.totalDownload>0&&this.downloadAllButtonLabel.insertAdjacentHTML("beforeend",` (${this.totalDownload})`)}hideElements(){this.element.classList.add(this.hiddenClass)}showElements(){this.element.classList.remove(this.hiddenClass),this.downloadHeader.classList.remove(this.hiddenClass)}}var T=i(79234);class k extends p.o{constructor(e){super(e),this.INSTALLATION_METHOD_CONTAINER=".js-container",this.init()}init(){this.fetchComponent()}fetchComponent(){var e=this.parm.updateUrl,t=new T.o(e,{catalogId:this.parm.catalogId,entityId:this.parm.entityId,isProduct:this.parm.isProduct},!1);this.ajaxWrapper.doFetch(t).then((e=>this.successAjaxCallback(e)))}successAjaxCallback(e){null!=e&&e.clone().text().then((e=>{this.element.querySelector(this.INSTALLATION_METHOD_CONTAINER).innerHTML+=e}))}}class O extends p.o{constructor(e){super(e),this.init()}init(){this.getProductItemPropertyTable()}getProductItemPropertyTable(){var e={ItemIds:this.parm.itemIds},t=new T.o(this.parm.updateUrl,e,!1);this.ajaxWrapper.doFetch(t).then((e=>this.successLoadMoreAjaxCallback(e)))}successLoadMoreAjaxCallback(e){null!=e&&e.clone().text().then((e=>{this.element.outerHTML=e}))}}class R extends S.h{constructor(e){super(e),this.init()}init(){if(!this.element)return;const e=E.Z.getPatternsCarouselOptions();this.initCarousel(e)}}class I extends s.H{constructor(e){super(e),this.anchorRegex=/^#[^ ]+$/,this.triggers=null,this.panels=null,this.activeClass="is-active",this.triggers=this.element.querySelectorAll(".js-tabs-trigger"),this.panels=this.element.querySelectorAll(".js-tabs-panel"),this.init()}init(){Array.from(this.triggers).forEach((e=>{null!==e&&e.addEventListener("click",(t=>{t.preventDefault();let i=e.hash;if(this.anchorRegex.test(i)){var n=this.element.querySelector(i);null!==n&&(e.classList.contains(this.activeClass)?this.element.classList.contains("js-collapse-tabs")&&(this.disactivatePanel(n),e.classList.remove(this.activeClass),e.setAttribute("aria-selected","false")):(e.setAttribute("aria-selected","true"),n.classList.contains(this.activeClass)?this.disactivatePanel(n):this.activatePanel(n,e)))}}))}))}disactivatePanel(e){e.classList.remove(this.activeClass)}activatePanel(e,t){if(null===e||null==t)return;let i=this.getSiblings(e);
45Array.from(i).forEach((e=>{e.classList.remove(this.activeClass)}));let n=this.getSiblings(t);Array.from(n).forEach((e=>{e.classList.remove(this.activeClass)})),e.classList.add(this.activeClass),t.classList.add(this.activeClass)}getSiblings(e){var t=new Array;let i=e.parentElement.children;if(i.length<=1){i=e.parentElement.parentElement.children;for(let e=0;e<i.length;e++){const n=i[e].querySelector(".js-tabs-trigger");t.push(n)}}else for(let e=0;e<i.length;e++){const n=i[e];t.push(n)}return t}}class P extends p.o{constructor(e){super(e),this.init()}init(){var e={itemIds:this.parm.itemIds},t=new T.o(this.parm.updateUrl,e,!1);this.ajaxWrapper.doFetch(t).then((e=>this.handleLoadMoreCallback(e)))}handleLoadMoreCallback(e){void 0!==e&&null!=e&&e.clone().text().then((e=>{this.element.innerHTML=e}))}}class D extends p.o{constructor(e){super(e),this.SELECTOR_MAIN_CAROUSEL=".js-inspiration-carousel",this.SELECTOR_THUMB_CAROUSEL=".js-inspiration-thumbnails-carousel",this.init()}init(){if(!this.element)return;if(!this.element.id)return;const e=new M(this.element.querySelector(this.SELECTOR_MAIN_CAROUSEL)).getSplide();new N(this.element.querySelector(this.SELECTOR_THUMB_CAROUSEL),this.parm,e)}}class M extends S.h{constructor(e){super(e),this.init()}init(){if(!this.element)return;const e=E.Z.getInspContentCarouselOptions();this.initCarousel(e)}}class N extends S.h{constructor(e,t,i){super(e),this.onClickCallback=e=>{this.mainCarousel.go(e)},this.parm=t,this.mainCarousel=i,this.init()}init(){if(!this.element)return;const e=this.getStartSlide(this.parm),t=E.Z.getInspCarouselOptions(e,this.parm.autoplay,this.parm.scrollInterval);this.initCarousel(t),this.handleActiveSlideClick(this.onClickCallback),this.initCarousel(t),this.setActiveSlide(e)}}var B=i(33876);
45class $ extends B.Km{constructor(e){super(e)}init(){super.init(),window.addEventListener("message",(e=>{"adb2cPageLoaded"==e.data.eventName&&(document.querySelector("#loginIframe").height=`${e.data.height}px`)}))}onShow(e,t){super.onShow(e,t);let i=e.querySelector("iframe");i&&(this.isContextualLogin(t)?i.src=this.getContextualLoginReturnUrl():i.src=this.parm.loginUrl)}isContextualLogin(e){if(!e)return!1;var t=e.target.closest("button");return!(!t||!t.hasAttribute("data-login-contextual"))}getContextualLoginReturnUrl(){let e=new URL(this.parm.loginUrl,window.location.origin);return e.searchParams.has("RedirectUri")&&e.searchParams.delete("RedirectUri"),e.searchParams.append("RedirectUri",window.location.href),e.href}}var H=i(6910);class j extends s.H{constructor(e){super(e),this.init()}init(){this.element.querySelector(".js-video")&&Promise.all([i.e(7277),i.e(6589),i.e(3504)]).then(i.bind(i,43504)).then((e=>{new e.LightBox(this.element).initVideos()}))}}class F extends s.H{constructor(e){super(e),this.init()}init(){u().subscribe(d.r.basketUpdated,(()=>{window.location.reload()}))}}class q extends p.o{constructor(e){super(e),this.SOLUTIONDATAATTRIBUTE_TEXT="data-sol-item-id",this.CATEGORY_URL="data-url",this.AMOUNT_PLACEHOLDER="{amount}",this.FOUND_ATTR="data-found",this.NOTFOUND_ATTR="data-not-found",this.SOLUTIONBTN_SELECTOR=".js-solution-finder-btn",this.SOLUTIONDATAATTRIBUTE_SELECTOR=`[${this.SOLUTIONDATAATTRIBUTE_TEXT}]`,this.RADIOBTN_SELECTOR=`${this.SOLUTIONDATAATTRIBUTE_SELECTOR}[type="radio"]`,this.CHECKBOX_SELECTOR=`${this.SOLUTIONDATAATTRIBUTE_SELECTOR}[type="checkbox"]`,this.DISABLED_CLASS="disabled",this.ATTRIBUTEDATAATRIBUTE_SELECTOR="[data-js='attribute-value']",this.handleRadioBtnChanges=e=>{var t=e.target.getAttribute(this.SOLUTIONDATAATTRIBUTE_TEXT);this.currentCategoryUrl=e.target.getAttribute(this.CATEGORY_URL),this.uncheckAllCheckboxes(),this.entityUpdate(t)},this.handleCheckboxChanges=()=>{this.createSelectedList()},this.init()}init(){this.initLocalisation(),this.initCheckboxes(),this.initRadioBtns(),this.solutionBtn=document.querySelector(this.SOLUTIONBTN_SELECTOR),this.uncheckAllCheckboxes(),this.unsetUnloadForFirefox()}unsetUnloadForFirefox(){window.onunload=function(){}}initLocalisation(){this.FOUND_TEXT=this.element.querySelector(`[${this.FOUND_ATTR}]`).getAttribute(this.FOUND_ATTR),this.NOTFOUND_TEXT=this.element.querySelector(`[${this.NOTFOUND_ATTR}]`).getAttribute(this.NOTFOUND_ATTR)}getFilledSolutionsFoundText(e){return this.FOUND_TEXT.replace(this.AMOUNT_PLACEHOLDER,e.toString())}initRadioBtns(){this.radioBtns=new Array,this.initInputs(this.radioBtns,this.RADIOBTN_SELECTOR,this.handleRadioBtnChanges)}initCheckboxes(){this.checkBoxes=new Array,this.initInputs(this.checkBoxes,this.CHECKBOX_SELECTOR,this.handleCheckboxChanges)}initInputs(e,t,i){this.makeList(t,e),e.forEach((e=>{e.addEventListener("change",i)}))}makeList(e,t){let i=document.querySelectorAll(e);for(let e=0;e<i.length;e++)t.push(i[e])}createSelectedList(){var e=this.getSelectedCategory(),t=this.getSelectedAttributeValues().map((e=>this.getIdFromItem(e))),i={categoryId:this.getIdFromItem(e),selection:t},n=new T.o(this.parm.attributeValuesUpdateUrl,i,!0);this.ajaxWrapper.doFetch(n).then((e=>e.clone().json().then((e=>{this.simulateDisableButton(e.totalResult,e.filter)}))))}getSelectedCategory(){return this.radioBtns.find((e=>e.checked))}getSelectedAttributeValues(){return this.checkBoxes.filter((e=>e.checked))}getIdFromItem(e){return e.getAttribute(this.SOLUTIONDATAATTRIBUTE_TEXT)}uncheckAllCheckboxes(){this.checkBoxes.forEach((e=>{e.checked=!1,e.parentElement.classList.add(this.DISABLED_CLASS)}))}enableAllValidCheckboxes(e){this.checkBoxes.filter((t=>{var i=e.find((e=>e.attribute===parseInt(t.id)));return null==i||i.enabled})).forEach((e=>{e.parentElement.classList.remove(this.DISABLED_CLASS)}))}simulateDisableButton(e,t){if(void 0===this.solutionBtn||null===this.solutionBtn)return;const i=this.solutionBtn.childNodes[1];this.solutionBtn.setAttribute("data-entities-found",e.toString()),e<1?(this.solutionBtn.classList.add(this.DISABLED_CLASS),this.solutionBtn.setAttribute(this.DISABLED_CLASS,"true"),i.innerText=this.NOTFOUND_TEXT):(this.solutionBtn.classList.remove(this.DISABLED_CLASS),this.solutionBtn.removeAttribute(this.DISABLED_CLASS),i.innerText=this.getFilledSolutionsFoundText(e),this.solutionBtn.href=this.filterListerPageUrl(t))}filterListerPageUrl(e){let t=new URL(this.currentCategoryUrl,this.parm.baseUrl);if(!this.isNullOrWhitespace(e)){var i=new URLSearchParams(t.search);i.append("filter",e),t.search=i.toString()}return t.toString()}entityUpdate(e){var t={categoryId:e},i=new T.o(this.parm.entityUpdateUrl,t,!0);this.ajaxWrapper.doFetch(i).then((e=>e.clone().json().then((e=>{var t=e.attributeValues;this.enableAllValidCheckboxes(t),this.simulateDisableButton(e.totalResult,null)}))))}isNullOrWhitespace(e){return null==e||e.replace(/\s/g,"").length<1}}var U=i(25612);class W{constructor(e){this.WATERMARKDOWNLOADTRIGGER="watermark-form-trigger-legacy",this.WATERMARKDOWNLOADTRIGGER_SELECTOR=`[data-js='${this.WATERMARKDOWNLOADTRIGGER}']`,this.WATERMARKDOWNLOADTRIGGER_CONTAINER="[data-js='watermark-trigger-container']",this.WATERMARKCLLOSETRIGGER="js-close-modal",e&&(this.element=e,this.init())}
45init(){this.bindWatermarkTrigger(),u().subscribe(U.y.defaultListerUpdated,(()=>{this.bindWatermarkTrigger()}))}bindWatermarkTrigger(){document.querySelectorAll(this.WATERMARKDOWNLOADTRIGGER_SELECTOR).forEach((e=>{e.addEventListener("click",(t=>{const i=t.currentTarget;if(!this.isDownloadTrigger(i))return;const n=e.getAttribute("data-js-watermark-form");this.showPopUp(n)}))}))}isDownloadTrigger(e){if(!e.attributes)return!1;var t=e.attributes.getNamedItem("data-js");return!!t&&t.value===this.WATERMARKDOWNLOADTRIGGER}showPopUp(e){const t=`<div class="u-1/1 c-watermarking-iframe__popup" tabindex="-1" role="dialog" aria-hidden="true" data-webid="pop-up-watermarking">\n <div class="o-modal" data-component-class="Modal">\n <div class="o-modal__body c-watermarking js-watermarking ">\n <div class="c-watermarking-iframe__wrapper">\n <iframe class="c-watermarking-iframe" src="${e}"></iframe>\n </div>\n </div>\n </div>\n </div>`;Promise.all([i.e(7277),i.e(6589),i.e(3504)]).then(i.bind(i,43504)).then((e=>{const i=new e.LightBox(this.element);i.open(t,{touch:!1,afterShow:e=>{const t=e.current.$content[0].querySelector("iframe");let n=null;t.contentDocument&&(n=t.contentDocument.querySelector("body")),n&&n.children.length>1&&this.handleIframeOnLoad(t,i),t.addEventListener("load",(()=>{this.handleIframeOnLoad(t,i)}))}})}))}handleIframeOnLoad(e,t){e.contentDocument.querySelector("body").classList.add("c-watermarking-iframe__popup-body"),e.height=e.contentWindow.document.body.scrollHeight+"px",e.contentDocument.querySelector("body").addEventListener("click",(e=>{e.target.classList.contains(this.WATERMARKCLLOSETRIGGER)&&t.close()}))}}class V extends s.H{constructor(e){super(e),this.init()}init(){var e=this.element.getElementsByClassName("js-reference-case-slider");e.length>0&&new z(e.item(0))}}class z extends S.h{constructor(e){super(e),this.init()}init(){if(!this.element)return;const e=E.Z.getRefCaseTeaserCarouselOptions();this.initCarousel(e)}}var G=i(71378);class X extends s.H{constructor(e){super(e),this.CONTENT__SELECTOR=".js-tooltip-content",this.MAX_WIDTH_ATTRIBUTE="data-max-width",this.init()}init(){const e=this.element.getAttribute(this.MAX_WIDTH_ATTRIBUTE);if(!this.element.querySelector(this.CONTENT__SELECTOR))return;let t={delay:[100,0],animation:"none",arrow:!1,trigger:"click",theme:"action-menu",allowHTML:!0,placement:"bottom-end",interactive:!0,content:()=>this.element.querySelector(this.CONTENT__SELECTOR).innerHTML,maxWidth:e||"300px",zIndex:"var(--brand__z-index--flyout)",appendTo:()=>document.querySelector("main"),onShow:()=>{u().publish(Z.actionMenuShown,new Q(this.element))}};this.tooltipInstance=(0,G.default)(this.element,t),this.tooltipInstance.popper.addEventListener("click",(e=>{this.tooltipInstance.hide()}))}}class Q{constructor(e){this.element=e}}class Z{}Z.actionMenuShown="action-menu-shown";var K=i(85556),Y=i(17400),J=i(74149),ee=i(62583),te=(i(38297),i(54701)),ie=i(66162),ne=(i(25831),i(56471)),re=i(58365),se=i(64866),oe=i(64198);class ae extends s.H{constructor(e){super(e),this.itemSelector=".js-cssmasonry-item",this.init()}init(){this.breakpoint=oe.OA[this.element.dataset.breakpoint],this.initObservers()}initObservers(){new ResizeObserver((e=>{for(let t in e)this.calculateMasonry()})).observe(this.element),new MutationObserver((e=>{this.calculateMasonry()})).observe(this.element,{childList:!0,subtree:!0,attributes:!0,characterData:!0})}calculateMasonry(){(!this.breakpoint||this.breakpoint&&(0,oe.gF)(this.breakpoint,!1))&&this.calculateMasonryItems()}calculateMasonryItems(){!function(e,t){let i=e.getElementsByTagName("img"),n=i.length;for(let e=0;e<i.length;e++)i[e].complete?n--:(i[e].addEventListener("load",(function(){n--,0==n&&t()})),i[e].addEventListener("error",(function(){n--,0==n&&t()}))),0==n&&t()}(this.element,(()=>{this.element.querySelectorAll(this.itemSelector).forEach((e=>{e.style.gridRowEnd=`span ${Math.ceil(e.getBoundingClientRect().height)}`}))}))}}var le=i(80841);class ce extends s.H{constructor(e){super(e),this.TRIGGER_SELECTOR=".js-read-more-content-trigger",this.CONTENT_SELECTOR=".js-read-more-content",this.TRUNCATE_CLASS="u-truncate-multiline",this.init()}init(){this.content=this.element.querySelector(this.CONTENT_SELECTOR),this.trigger=this.element.querySelector(this.TRIGGER_SELECTOR),this.ellipsisLines=this.element.dataset.lines?Number(this.element.dataset.lines):2,this.content&&(setTimeout((()=>{this.toggleReadMoreTrigger(),this.trigger.addEventListener("click",(e=>{this.handleReadMore()}))}),50),window.addEventListener("resize",(e=>{this.toggleReadMoreTrigger()}),!0))}toggleReadMoreTrigger(){this.trigger.hidden=this.content.scrollHeight===this.content.clientHeight}handleReadMore(){this.content.classList.remove(this.TRUNCATE_CLASS),this.toggleReadMoreTrigger()}}},93375:function(e,t,i){"use strict";i.d(t,{d:function(){return n}});const n=[{class:"Faq",importer:()=>Promise.all([i.e(7277),i.e(6589),i.e(3593)]).then(i.bind(i,43593))},{class:"ImsEntityIntro",importer:()=>Promise.all([i.e(7277),i.e(6589),i.e(5707)]).then(i.bind(i,5707))},{class:"ImsReferenceCaseDetailIntro",importer:()=>Promise.all([i.e(7277),i.e(6589),i.e(241)]).then(i.bind(i,60241))},{class:"Send2FriendDialog",importer:()=>i.e(4622).then(i.bind(i,24622))},{class:"MediaGrid",importer:()=>Promise.all([i.e(7277),i.e(6589),i.e(9382)]).then(i.bind(i,29382))},{class:"ReferenceCaseDetailIntro",importer:()=>Promise.all([i.e(7277),i.e(6589),i.e(6474)]).then(i.bind(i,46474))},{class:"Video",importer:()=>Promise.all([i.e(7277),i.e(6589),i.e(9514)]).then(i.bind(i,39514))},{class:"Popup",importer:()=>Promise.all([i.e(7277),i.e(6589),i.e(3384)]).then(i.bind(i,83384))},{class:"ImsReferenceCaseOverview",importer:()=>Promise.all([i.e(7277),i.e(2219),i.e(4503)]).then(i.bind(i,64503))},{class:"ReferenceCaseOverview",importer:()=>Promise.all([i.e(7277),i.e(2219),i.e(1270)]).then(i.bind(i,71270))},{class:"ImsProductDetailIntro",importer:()=>Promise.all([i.e(7277),i.e(3324)]).then(i.bind(i,23324))},{class:"SharingButtons",importer:()=>
45i.e(6410).then(i.bind(i,16410))},{class:"DefaultLister",importer:()=>Promise.all([i.e(7277),i.e(992)]).then(i.bind(i,50992))},{class:"ImsDownloadLister",importer:()=>Promise.all([i.e(7277),i.e(4897)]).then(i.bind(i,64897))},{class:"SocialMediaButtons",importer:()=>Promise.all([i.e(7277),i.e(4163)]).then(i.bind(i,94163))},{class:"ArticleLister",importer:()=>Promise.all([i.e(7277),i.e(6694)]).then(i.bind(i,66694))},{class:"ConsentCheckbox",importer:()=>Promise.all([i.e(7277),i.e(7352)]).then(i.bind(i,57352))},{class:"ImsEntityDownloadsAsync",importer:()=>Promise.all([i.e(7277),i.e(7407)]).then(i.bind(i,57407))},{class:"ReCaptcha",importer:()=>Promise.all([i.e(7277),i.e(5057)]).then(i.bind(i,25057))},{class:"ReferenceCaseCarousel",importer:()=>i.e(9447).then(i.bind(i,99447))},{class:"ImsReferenceCaseCarousel",importer:()=>i.e(8204).then(i.bind(i,88204))},{class:"RelatedLooks",importer:()=>Promise.all([i.e(7277),i.e(5981)]).then(i.bind(i,95981))},{class:"RelatedProducts",importer:()=>Promise.all([i.e(7277),i.e(7667)]).then(i.bind(i,67667))},{class:"RelatedReferenceCases",importer:()=>Promise.all([i.e(7277),i.e(5304)]).then(i.bind(i,45304))},{class:"RelatedSystems",importer:()=>Promise.all([i.e(7277),i.e(5174)]).then(i.bind(i,25174))},{class:"SearchResults",importer:()=>Promise.all([i.e(7277),i.e(127)]).then(i.bind(i,70127))},{class:"SearchResultsV2",importer:()=>Promise.all([i.e(7277),i.e(6375)]).then(i.bind(i,56375))},{class:"TrainingOverview",importer:()=>Promise.all([i.e(7277),i.e(5998)]).then(i.bind(i,15998))},{class:"ImsProductOverview",importer:()=>Promise.all([i.e(7277),i.e(2334)]).then(i.bind(i,52334))},{class:"ImsLister",importer:()=>Promise.all([i.e(7277),i.e(7484)]).then(i.bind(i,27484))},{class:"ImsEntityDownloads",importer:()=>Promise.all([i.e(7277),i.e(28)]).then(i.bind(i,60028))},{class:"ExportToExcelButton",importer:()=>Promise.all([i.e(7277),i.e(5695)]).then(i.bind(i,65695))},{class:"HubSpot",importer:()=>i.e(1044).then(i.bind(i,11044))},{class:"Tooltip",importer:()=>i.e(5187).then(i.bind(i,45187))},{class:"LoginDialogCarousel",importer:()=>i.e(4705).then(i.bind(i,84705))},{class:"DownloadCenter",importer:()=>Promise.all([i.e(7277),i.e(2979),i.e(4477)]).then(i.bind(i,54477))},{class:"EmptyResultDialog",importer:()=>Promise.all([i.e(7277),i.e(9217)]).then(i.bind(i,9217))},{class:"ErrorDialog",importer:()=>i.e(9026).then(i.bind(i,89026))},{class:"LoginIntroDialog",importer:()=>Promise.all([i.e(7277),i.e(2979)]).then(i.bind(i,32979))},{class:"LoginReturnDialog",importer:()=>i.e(6097).then(i.bind(i,66097))},{class:"WatermarkDialog",importer:()=>Promise.all([i.e(7277),i.e(1173)]).then(i.bind(i,71173))},{class:"DownloadLimitDialog",importer:()=>i.e(9409).then(i.bind(i,89409))},{class:"RequestDocumentDownload",importer:()=>i.e(3394).then(i.bind(i,53394))},{class:"CategorySelectionDialog",importer:()=>Promise.all([i.e(7277),i.e(437)]).then(i.bind(i,437))},{class:"ReporterAppEntityLister",importer:()=>Promise.all([i.e(7277),i.e(8689)]).then(i.bind(i,18689))},{class:"ReporterAppEntityListerBulkDownload",importer:()=>Promise.all([i.e(7277),i.e(1662)]).then(i.bind(i,11662))},{class:"ReporterAppEntityListerSelectionDownload",importer:()=>i.e(9488).then(i.bind(i,19488))},{class:"FavoriteCalculationsLister",importer:()=>Promise.all([i.e(7277),i.e(8689),i.e(7414)]).then(i.bind(i,47414))},{class:"CalculationDetail",importer:()=>i.e(8697).then(i.bind(i,8697))},{class:"DropdownSummary",importer:()=>i.e(1746).then(i.bind(i,81746))},{class:"DropdownSummaryState",importer:()=>i.e(5144).then(i.bind(i,5144))},{class:"CatalogSearch",importer:()=>Promise.all([i.e(7277),i.e(7635)]).then(i.bind(i,27635))},{class:"ToggleViewList",importer:()=>i.e(2349).then(i.bind(i,92349))},{class:"DocumentLister",importer:()=>Promise.all([i.e(7277),i.e(4654)]).then(i.bind(i,44654))},{class:"ArticlesSpotlight",importer:()=>Promise.all([i.e(7277),i.e(4931)]).then(i.bind(i,64931))},{class:"BookmarkNext",importer:()=>i.e(383).then(i.bind(i,10383))},{class:"SaveToDialog",importer:()=>i.e(3478).then(i.bind(i,13478))},{class:"MultiSelectToaster",importer:()=>
45i.e(3346).then(i.bind(i,63346))},{class:"CreateProject",importer:()=>Promise.all([i.e(1052),i.e(5410),i.e(6312),i.e(7873),i.e(5267)]).then(i.bind(i,35267))},{class:"ProjectListSmall",importer:()=>Promise.all([i.e(1052),i.e(5410),i.e(6312),i.e(7873),i.e(8241)]).then(i.bind(i,68241))},{class:"ProjectList",importer:()=>Promise.all([i.e(1052),i.e(5410),i.e(6312),i.e(7873),i.e(4540)]).then(i.bind(i,14540))},{class:"ProjectDetail",importer:()=>Promise.all([i.e(1052),i.e(5410),i.e(6312),i.e(7873),i.e(8353)]).then(i.bind(i,58353))},{class:"ProjectActionMenu",importer:()=>i.e(2837).then(i.bind(i,72837))},{class:"ProjectActivityLog",importer:()=>Promise.all([i.e(1052),i.e(5410),i.e(6312),i.e(7873),i.e(3574)]).then(i.bind(i,63574))},{class:"ProjectStateSelector",importer:()=>i.e(445).then(i.bind(i,90445))},{class:"ProjectDetailSummary",importer:()=>Promise.all([i.e(1052),i.e(5410),i.e(6312),i.e(7873),i.e(9688)]).then(i.bind(i,39688))},{class:"ProjectInformation",importer:()=>Promise.all([i.e(1052),i.e(5410),i.e(6312),i.e(7873),i.e(3252)]).then(i.bind(i,83252))},{class:"InstallationData",importer:()=>Promise.all([i.e(1052),i.e(5410),i.e(6312),i.e(7873),i.e(933)]).then(i.bind(i,80933))},{class:"ProjectUserList",importer:()=>Promise.all([i.e(1052),i.e(5410),i.e(6312),i.e(7873),i.e(8918)]).then(i.bind(i,28918))},{class:"FavoriteProjects",importer:()=>Promise.all([i.e(1052),i.e(5410),i.e(6312),i.e(7873),i.e(7463)]).then(i.bind(i,77463))},{class:"LeftNav",importer:()=>i.e(9649).then(i.bind(i,69649))},{class:"SystemCalculationCta",importer:()=>i.e(3387).then(i.bind(i,23387))},{class:"SystemSelectorToaster",importer:()=>i.e(7421).then(i.bind(i,7421))},{class:"DownloadListerMultiSelectToaster",importer:()=>i.e(7760).then(i.bind(i,87760))},{class:"EntityCompare",importer:()=>Promise.all([i.e(7277),i.e(9564)]).then(i.bind(i,99564))},{class:"EntityWizardCta",importer:()=>i.e(4578).then(i.bind(i,24578))},{class:"ProjectSetup",importer:()=>Promise.all([i.e(1052),i.e(5410),i.e(6312),i.e(7873),i.e(2900)]).then(i.bind(i,42900))},{class:"SetupNavigation",importer:()=>Promise.all([i.e(1052),i.e(5410),i.e(6312),i.e(7873),i.e(9121)]).then(i.bind(i,49121))},{class:"SetupBuildingHierarchy",importer:()=>Promise.all([i.e(1052),i.e(5410),i.e(6312),i.e(7873),i.e(4320)]).then(i.bind(i,64320))},{class:"ExternalProductsLister",importer:()=>Promise.all([i.e(7277),i.e(1052),i.e(5410),i.e(6312),i.e(7873),i.e(8371)]).then(i.bind(i,78371))},{class:"ProjectProductsTabsState",importer:()=>i.e(6194).then(i.bind(i,56194))},{class:"AddExternalProductDialog",importer:()=>i.e(551).then(i.bind(i,551))},{class:"EditExternalProductDialog",importer:()=>i.e(7254).then(i.bind(i,17254))},{class:"ManageDocumentsDialog",importer:()=>i.e(9912).then(i.bind(i,59912))},{class:"RemoveFavoritesDialog",importer:()=>i.e(1498).then(i.bind(i,41498))},{class:"RemoveFromProjectDialog",importer:()=>i.e(610).then(i.bind(i,80610))},{class:"EmptyResult",importer:()=>i.e(5651).then(i.bind(i,55651))},{class:"ProjectCalculations",importer:()=>Promise.all([i.e(7277),i.e(8689),i.e(9513)]).then(i.bind(i,29513))},{class:"HeaderAccount",importer:()=>i.e(3719).then(i.bind(i,63719))},{class:"Hotspot",importer:()=>i.e(7554).then(i.bind(i,47554))},{class:"ImsReferenceCaseListerV2",importer:()=>i.e(5809).then(i.bind(i,55809))},{class:"ImsProductOverviewV2",importer:()=>i.e(8103).then(i.bind(i,98103))},{class:"CountrySelector",importer:()=>i.e(3739).then(i.bind(i,43739))},{class:"PrescriptionTextGeneratorSendToEmail",importer:()=>Promise.all([i.e(7277),i.e(8864)]).then(i.bind(i,78864))},{class:"ImsColourWallLister",importer:()=>i.e(1717).then(i.bind(i,11717))},{class:"InspirationCarouselV2",importer:()=>i.e(4397).then(i.bind(i,34397))},{class:"SearchAutocompleteV2",importer:()=>i.e(5508).then(i.bind(i,95508))},{class:"LinkTimezone",importer:()=>i.e(8370).then(i.bind(i,98370))}]},46352:function(e,t,i){"use strict";i.r(t),i.d(t,{LoadMore:function(){return o}});var n=i(68687),r=i(47359),s=i(75399);class o extends n.oi{static get properties(){return{label:{type:Text,attribute:"label"},loadingLabel:{type:Text,attribute:"loading-label"},isSecondary:{type:Boolean,attribute:"îs-secondary"},amount:{type:Number,reflect:!0},maxAmount:{type:Number,attribute:"max-amount"},wrapperIds:{type:Array,attribute:"wrapper-ids"},loading:{type:Boolean},getSkeletonWrapperObjects:{type:Array}}}
45constructor(){super(),this.loading=!1,this.getSkeletonWrapperObjects=[],this.toggleLoading=this.toggleLoading.bind(this),this.handleClick=this.handleClick.bind(this)}connectedCallback(){super.connectedCallback(),this.getSkeletonWrapperObjects=(0,s.vd)(this.wrapperIds)}disconnectedCallback(){super.disconnectedCallback()}createRenderRoot(){return this}toggleLoading(e){this.loading=(0,s.t)(this.getSkeletonWrapperObjects,e)}handleClick(){this.toggleLoading(!0),(0,r.r)(this,"wc-load-more-clicked",{clicked:!0,callback:this.toggleLoading})}render(){return this.amount<this.maxAmount?n.dy`<button 46 class="a-btn${this.isSecondary?" a-btn--secondary":""}" 47 type="button" 48 @click=${this.handleClick} 49 ?disabled=${this.loading} 50 > 51 ${this.loading?this.loadingLabel:this.label} 52 </button>`:n.Ld}}customElements.define("wc-load-more",o)},67236:function(e,t,i){"use strict";var n=i(77905),r=i(68687),s=i(47359),o=i(96691),a=i(43322);const l="open";class c extends r.oi{static get properties(){return{open:{type:Boolean,attribute:"open"},preventBodyScrolling:{type:Text,attribute:"prevent-body-scroll"}}}constructor(){super(),this._render(),this._init()}_init(){if(this.trigger=this.getTrigger(),!this.trigger)return;this.setOpen(!1);let e=(0,n.y)();this.trigger?.setAttribute("aria-controls","content-"+e);let t=this.shadowRoot.querySelector("slot[name=content]");if(!t)return;let i=t.assignedElements();i&&i[0]&&(i[0].id="content-"+e,this.trigger.addEventListener("click",(e=>this.toggle(e))),this.trigger.addEventListener("hoverCustom",(e=>this.toggle(e))))}getTrigger(){let e=this.shadowRoot.querySelector("slot[name=trigger]");if(!e)return;let t=e.assignedElements();return t&&t[0]?t[0]:void 0}setOpen(e){this.open=e,this.trigger?.setAttribute("aria-expanded",e),this.toggleAttribute(l,e),this.preventBodyScrolling&&(0,a.bd)(this.preventBodyScrolling,(e=>{(0,o.R)(!!e&&this.open)}),document.window)}disconnectedCallback(){this.trigger&&this.trigger.removeEventListener("click",(e=>this.toggle(e)))}_render(){this.attachShadow({mode:"open"}),this.shadowRoot&&(this.shadowRoot.innerHTML='\n <style>\n :host ::slotted([slot=content]) {\n display: none;\n }\n\n :host([open]) ::slotted([slot=content]) {\n display: block;\n }\n </style>\n\n <slot name="trigger"></slot>\n <slot name="content"></slot>\n ')}toggle(e){const t=e.detail&&"object"==typeof e.detail?e.detail:null,i=e.currentTarget,n="a"===i.tagName.toLowerCase(),r=n&&i.hasAttribute("href");(0,a.b1)()&&t&&"false"===i.getAttribute("aria-expanded")&&e.preventDefault();r&&"click"===e.type&&this.open||(this.setOpen(!this.open),(0,s.r)(this,"toggle",{state:this.open})),n&&t&&(["mouseenter","mouseleave"].includes(t.type)?e.preventDefault():(0,s.r)(this,"click-header"))}}customElements.define("wc-reveal",c)},88333:function(e){var t;self,t=function(){return(()=>{"use strict";var e={311:(e,t,i)=>{i.r(t),i.d(t,{default:()=>Oe});var n={};function r(){return r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e},r.apply(this,arguments)}i.r(n),i.d(n,{CREATED:()=>q,DESTROYED:()=>z,IDLE:()=>W,MOUNTED:()=>U,MOVING:()=>V});var s=Object.keys;function o(e,t){s(e).some((function(i,n){return t(e[i],i,n)}))}function a(e){return s(e).map((function(t){return e[t]}))}function l(e){return"object"==typeof e}function c(e,t){var i=r({},e);return o(t,(function(e,t){l(e)?(l(i[t])||(i[t]={}),i[t]=c(i[t],e)):i[t]=e})),i}function u(e){return Array.isArray(e)?e:[e]}function d(e,t,i){return Math.min(Math.max(e,t>i?i:t),t>i?t:i)}function h(e,t){var i=0;return e.replace(/%s/g,(function(){return u(t)[i++]}))}function p(e){var t=typeof e;return"number"===t&&e>0?parseFloat(e)+"px":"string"===t?e:""}function f(e){return e<10?"0"+e:e}function m(e,t){if("string"==typeof t){var i=y("div",{});A(i,{position:"absolute",width:t}),C(e,i),t=i.clientWidth,E(i)}return+t||0}function g(e,t){return e?e.querySelector(t.split(" ")[0]):null}function b(e,t){return v(e,t)[0]}function v(e,t){return e?a(e.children).filter((function(e){return T(e,t.split(" ")[0])||e.tagName===t})):[]}function y(e,t){var i=document.createElement(e);return o(t,(function(e,t){return k(i,t,e)})),i}function S(e){var t=y("div",{});return t.innerHTML=e,t.firstChild}function E(e){u(e).forEach((function(e){if(e){var t=e.parentElement;t&&t.removeChild(e)}}))}function C(e,t){e&&e.appendChild(t)}function w(e,t){if(e&&t){var i=t.parentElement;i&&i.insertBefore(e,t)}}function A(e,t){e&&o(t,(function(t,i){null!==t&&(e.style[i]=t)}))}function _(e,t,i){e&&u(t).forEach((function(t){t&&e.classList[i?"remove":"add"](t)}))}function L(e,t){_(e,t,!1)}function x(e,t){_(e,t,!0)}function T(e,t){return!!e&&e.classList.contains(t)}function k(e,t,i){e&&e.setAttribute(t,i)}function O(e,t){return e?e.getAttribute(t):""}function R(e,t){u(t).forEach((function(t){u(e).forEach((function(e){return e&&e.removeAttribute(t)}))}
52))}function I(e){return e.getBoundingClientRect()}var P="slide",D="loop",M="fade";const N=function(e,t){var i,n;return{mount:function(){i=t.Elements.list,e.on("transitionend",(function(e){e.target===i&&n&&n()}),i)},start:function(r,s,o,a,l){var c=e.options,u=t.Controller.edgeIndex,d=c.speed;n=l,e.is(P)&&(0===o&&s>=u||o>=u&&0===s)&&(d=c.rewindSpeed||d),A(i,{transition:"transform "+d+"ms "+c.easing,transform:"translate("+a.x+"px,"+a.y+"px)"})}}},B=function(e,t){var i={mount:function(){n(e.index)},start:function(e,i,r,s,o){var a=t.Elements.track;A(a,{height:p(a.clientHeight)}),n(i),setTimeout((function(){o(),A(a,{height:""})}))}};function n(i){var n=e.options;A(t.Elements.slides[i],{transition:"opacity "+n.speed+"ms "+n.easing})}return i};function $(e,t){if(!e)throw new Error(t)}var H="splide",j={active:"is-active",visible:"is-visible",loading:"is-loading"},F={type:"slide",rewind:!1,speed:400,rewindSpeed:0,waitForTransition:!0,width:0,height:0,fixedWidth:0,fixedHeight:0,heightRatio:0,autoWidth:!1,autoHeight:!1,perPage:1,perMove:0,clones:0,start:0,focus:!1,gap:0,padding:0,arrows:!0,arrowPath:"",pagination:!0,autoplay:!1,interval:5e3,pauseOnHover:!0,pauseOnFocus:!0,resetProgress:!0,lazyLoad:!1,preloadPages:1,easing:"cubic-bezier(.42,.65,.27,.99)",keyboard:"global",drag:!0,dragAngleThreshold:30,swipeDistanceThreshold:150,flickVelocityThreshold:.6,flickPower:600,flickMaxPages:1,direction:"ltr",cover:!1,accessibility:!0,slideFocus:!0,isNavigation:!1,trimSpace:!0,updateOnMove:!1,throttle:100,destroy:!1,breakpoints:!1,classes:{root:H,slider:H+"__slider",track:H+"__track",list:H+"__list",slide:H+"__slide",container:H+"__slide__container",arrows:H+"__arrows",arrow:H+"__arrow",prev:H+"__arrow--prev",next:H+"__arrow--next",pagination:H+"__pagination",page:H+"__pagination__page",clone:H+"__slide--clone",progress:H+"__progress",bar:H+"__progress__bar",autoplay:H+"__autoplay",play:H+"__play",pause:H+"__pause",spinner:H+"__spinner",sr:H+"__sr"},i18n:{prev:"Previous slide",next:"Next slide",first:"Go to first slide",last:"Go to last slide",slideX:"Go to slide %s",pageX:"Go to page %s",play:"Start autoplay",pause:"Pause autoplay"}},q=1,U=2,W=3,V=4,z=5;function G(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var X=function(){function e(e,t,i){var r;void 0===t&&(t={}),void 0===i&&(i={}),this.root=e instanceof Element?e:document.querySelector(e),$(this.root,"An invalid element/selector was given."),this.Components=null,this.Event=function(){var e=[],t={on:function(t,i,n,r){void 0===n&&(n=null),void 0===r&&(r={}),t.split(" ").forEach((function(t){n&&n.addEventListener(t,i,r),e.push({event:t,handler:i,elm:n,options:r})}))},off:function(t,n){void 0===n&&(n=null),t.split(" ").forEach((function(t){e=e.filter((function(e){return!e||e.event!==t||e.elm!==n||(i(e),!1)}))}))},emit:function(t){for(var i=arguments.length,n=new Array(i>1?i-1:0),r=1;r<i;r++)n[r-1]=arguments[r];e.forEach((function(e){e.elm||e.event.split(".")[0]!==t||e.handler.apply(e,n)}))},destroy:function(){e.forEach(i),e=[]}};function i(e){e.elm&&e.elm.removeEventListener(e.event,e.handler,e.options)}return t}(),this.State=(r=q,{set:function(e){r=e},is:function(e){return e===r}}),this.STATES=n,this._o=c(F,t),this._i=0,this._c=i,this._e={},this._t=null}var t,i,r,s=e.prototype;return s.mount=function(e,t){var i=this;void 0===e&&(e=this._e),void 0===t&&(t=this._t),this.State.set(q),this._e=e,this._t=t,this.Components=function(e,t,i){var n={};return o(t,(function(t,i){n[i]=t(e,n,i.toLowerCase())})),i||(i=e.is(M)?B:N),n.Transition=i(e,n),n}(this,c(this._c,e),t);try{o(this.Components,(function(e,t){var n=e.required;void 0===n||n?e.mount&&e.mount():delete i.Components[t]}))}catch(e){return void e.message}var n=this.State;return n.set(U),o(this.Components,(function(e){e.mounted&&e.mounted()})),this.emit("mounted"),n.set(W),this.emit("ready"),A(this.root,{visibility:"visible"}),this.on("move drag",(function(){return n.set(V)})).on("moved dragged",(function(){return n.set(W)})),this},s.sync=function(e){return this.sibling=e,this},s.on=function(e,t,i,n){return void 0===i&&(i=null),void 0===n&&(n={}),this.Event.on(e,t,i,n),this},s.off=function(e,t){return void 0===t&&(t=null),this.Event.off(e,t),this},s.emit=function(e){for(var t,i=arguments.length,n=new Array(i>1?i-1:0),r=1;r<i;r++)n[r-1]=arguments[r];return(t=this.Event).emit.apply(t,[e].concat(n)),this},s.go=function(e,t){return void 0===t&&(t=this.options.waitForTransition),(this.State.is(W)||this.State.is(V)&&!t)&&this.Components.Controller.go(e,!1),this},s.is=function(e){return e===this._o.type},s.add=function(e,t){return void 0===t&&(t=-1),this.Components.Elements.add(e,t,this.refresh.bind(this)),this},s.remove=function(e){return this.Components.Elements.remove(e),this.refresh(),this}
52,s.refresh=function(){return this.emit("refresh:before").emit("refresh").emit("resize"),this},s.destroy=function(e){var t=this;if(void 0===e&&(e=!0),!this.State.is(q))return a(this.Components).reverse().forEach((function(t){t.destroy&&t.destroy(e)})),this.emit("destroy",e),this.Event.destroy(),this.State.set(z),this;this.on("ready",(function(){return t.destroy(e)}))},t=e,i=[{key:"index",get:function(){return this._i},set:function(e){this._i=parseInt(e)}},{key:"length",get:function(){return this.Components.Elements.length}},{key:"options",get:function(){return this._o},set:function(e){var t=this.State.is(q);t||this.emit("update"),this._o=c(this._o,e),t||this.emit("updated",this._o)}},{key:"classes",get:function(){return this._o.classes}},{key:"i18n",get:function(){return this._o.i18n}}],i&&G(t.prototype,i),r&&G(t,r),e}();const Q=function(e){var t=O(e.root,"data-splide");if(t)try{e.options=JSON.parse(t)}catch(e){e.message}return{mount:function(){e.State.is(q)&&(e.index=e.options.start)}}};var Z="rtl",K="ttb",Y="update.slide";const J=function(e,t){var i=e.root,n=e.classes,r=[];if(!i.id){window.splide=window.splide||{};var s=window.splide.uid||0;window.splide.uid=++s,i.id="splide"+f(s)}var l={mount:function(){var t=this;this.init(),e.on("refresh",(function(){t.destroy(),t.init()})).on("updated",(function(){x(i,c()),L(i,c())}))},destroy:function(){r.forEach((function(e){e.destroy()})),r=[],x(i,c())},init:function(){var e=this;!function(){l.slider=b(i,n.slider),l.track=g(i,"."+n.track),l.list=b(l.track,n.list),$(l.track&&l.list,"Track or list was not found."),l.slides=v(l.list,n.slide);var e=u(n.arrows);l.arrows={prev:g(e,"."+n.prev),next:g(e,"."+n.next)};var t=u(n.autoplay);l.bar=g(u(n.progress),"."+n.bar),l.play=g(t,"."+n.play),l.pause=g(t,"."+n.pause),l.track.id=l.track.id||i.id+"-track",l.list.id=l.list.id||i.id+"-list"}(),L(i,c()),this.slides.forEach((function(t,i){e.register(t,i,-1)}))},register:function(t,i,n){var s=function(e,t,i,n){var r=e.options.updateOnMove,s="ready.slide updated.slide resized.slide moved.slide"+(r?" move.slide":""),o={slide:n,index:t,realIndex:i,container:b(n,e.classes.container),isClone:i>-1,mount:function(){var o=this;this.isClone||(n.id=e.root.id+"-slide"+f(t+1)),e.on(s,(function(){return o.update()})).on(Y,c).on("click",(function(){return e.emit("click",o)}),n),r&&e.on("move.slide",(function(e){e===i&&l(!0,!1)})),A(n,{display:""}),this.styles=O(n,"style")||""},destroy:function(){e.off(s).off(Y).off("click",n),x(n,a(j)),c(),R(this.container,"style")},update:function(){l(this.isActive(),!1),l(this.isVisible(),!0)},isActive:function(){return e.index===t},isVisible:function(){var t=this.isActive();if(e.is(M)||t)return t;var i=Math.ceil,r=I(e.Components.Elements.track),s=I(n);return e.options.direction===K?r.top<=s.top&&s.bottom<=i(r.bottom):r.left<=s.left&&s.right<=i(r.right)},isWithin:function(i,n){var r=Math.abs(i-t);return e.is(P)||this.isClone||(r=Math.min(r,e.length-r)),r<n}};function l(t,i){var r=i?"visible":"active",s=j[r];t?(L(n,s),e.emit(""+r,o)):T(n,s)&&(x(n,s),e.emit(i?"hidden":"inactive",o))}function c(){k(n,"style",o.styles)}return o}(e,i,n,t);s.mount(),r.push(s)},getSlide:function(e){return r.filter((function(t){return t.index===e}))[0]},getSlides:function(e){return e?r:r.filter((function(e){return!e.isClone}))},getSlidesByPage:function(i){var n=t.Controller.toIndex(i),s=e.options,o=!1!==s.focus?1:s.perPage;return r.filter((function(e){var t=e.index;return n<=t&&t<n+o}))},add:function(e,t,i){if("string"==typeof e&&(e=S(e)),e instanceof Element){var n=this.slides[t];A(e,{display:"none"}),n?(w(e,n),this.slides.splice(t,0,e)):(C(this.list,e),this.slides.push(e)),function(e,t){var i=e.querySelectorAll("img"),n=i.length;if(n){var r=0;o(i,(function(e){e.onload=e.onerror=function(){++r===n&&t()}}))}else t()}(e,(function(){i&&i(e)}))}},remove:function(e){E(this.slides.splice(e,1)[0])},each:function(e){r.forEach(e)},get length(){return this.slides.length},get total(){return r.length}};function c(){var t=n.root,i=e.options;return[t+"--"+i.type,t+"--"+i.direction,i.drag?t+"--draggable":"",i.isNavigation?t+"--nav":"",j.active]}function u(e){return b(i,e)||b(l.slider,e)}return l};var ee=Math.floor;const te=function(e,t){var i,n,r={mount:function(){i=e.options,n=e.is(D),e.on("move",(function(t){e.index=t})).on("updated refresh",(function(t){i=t||i,e.index=d(e.index,0,r.edgeIndex)}))},go:function(e,i){var n=this.trim(this.parse(e));t.Track.go(n,this.rewind(n),i)},parse:function(t){var n=e.index,s=String(t).match(/([+\-<>]+)(\d+)?/),o=s?s[1]:"",a=s?parseInt(s[2]):0;switch(o){case"+":n+=a||1;break;case"-":n-=a||1;break;case">":case"<":n=function(e,t,n){if(e>-1)return r.toIndex(e);var s=i.perMove,o=n?-1:1;return s?t+s*o:r.toIndex(r.toPage(t)+o)}(a,n,"<"===o);break;default:n=parseInt(t)}return n},toIndex:function(t){if(s())return t;var n=e.length,r=i.perPage,o=t*r;return n-r<=(o-=(this.pageLength*r-n)*ee(o/n))&&o<n&&(o=n-r),o},toPage:function(t){if(s())return t;var n=e.length,r=i.perPage;return ee(n-r<=t&&t<n?(n-1)/r:t/r)}
52,trim:function(e){return n||(e=i.rewind?this.rewind(e):d(e,0,this.edgeIndex)),e},rewind:function(e){var t=this.edgeIndex;if(n){for(;e>t;)e-=t+1;for(;e<0;)e+=t+1}else e>t?e=0:e<0&&(e=t);return e},isRtl:function(){return i.direction===Z},get pageLength(){var t=e.length;return s()?t:Math.ceil(t/i.perPage)},get edgeIndex(){var t=e.length;return t?s()||i.isNavigation||n?t-1:t-i.perPage:0},get prevIndex(){var t=e.index-1;return(n||i.rewind)&&(t=this.rewind(t)),t>-1?t:-1},get nextIndex(){var t=e.index+1;return(n||i.rewind)&&(t=this.rewind(t)),e.index<t&&t<=this.edgeIndex||0===t?t:-1}};function s(){return!1!==i.focus}return r};var ie=Math.abs;const ne=function(e,t){var i,n,r,s=e.options.direction===K,o=e.is(M),a=e.options.direction===Z,l=!1,c=a?1:-1,u={sign:c,mount:function(){n=t.Elements,i=t.Layout,r=n.list},mounted:function(){var t=this;o||(this.jump(0),e.on("mounted resize updated",(function(){t.jump(e.index)})))},go:function(i,n,r){var s=p(i),a=e.index;e.State.is(V)&&l||(l=i!==n,r||e.emit("move",n,a,i),Math.abs(s-this.position)>=1||o?t.Transition.start(i,n,a,this.toCoord(s),(function(){h(i,n,a,r)})):i!==a&&"move"===e.options.trimSpace?t.Controller.go(i+i-a,r):h(i,n,a,r))},jump:function(e){this.translate(p(e))},translate:function(e){A(r,{transform:"translate"+(s?"Y":"X")+"("+e+"px)"})},cancel:function(){e.is(D)?this.shift():this.translate(this.position),A(r,{transition:""})},shift:function(){var t=ie(this.position),i=ie(this.toPosition(0)),n=ie(this.toPosition(e.length)),r=n-i;t<i?t+=r:t>n&&(t-=r),this.translate(c*t)},trim:function(t){return!e.options.trimSpace||e.is(D)?t:d(t,c*(i.totalSize()-i.size-i.gap),0)},toIndex:function(e){var t=this,i=0,r=1/0;return n.getSlides(!0).forEach((function(n){var s=n.index,o=ie(t.toPosition(s)-e);o<r&&(r=o,i=s)})),i},toCoord:function(e){return{x:s?0:e,y:s?e:0}},toPosition:function(e){var t=i.totalSize(e)-i.slideSize(e)-i.gap;return c*(t+this.offset(e))},offset:function(t){var n=e.options.focus,r=i.slideSize(t);return"center"===n?-(i.size-r)/2:-(parseInt(n)||0)*(r+i.gap)},get position(){var e=s?"top":a?"right":"left";return I(r)[e]-(I(n.track)[e]-i.padding[e]*c)}};function h(t,i,n,s){A(r,{transition:""}),l=!1,o||u.jump(i),s||e.emit("moved",i,n,t)}function p(e){return u.trim(u.toPosition(e))}return u},re=function(e,t){var i=[],n=0,r=t.Elements,s={mount:function(){var t=this;e.is(D)&&(o(),e.on("refresh:before",(function(){t.destroy()})).on("refresh",o).on("resize",(function(){n!==a()&&(t.destroy(),e.refresh())})))},destroy:function(){E(i),i=[]},get clones(){return i},get length(){return i.length}};function o(){s.destroy(),function(e){var t=r.length,n=r.register;if(t){for(var s=r.slides;s.length<e;)s=s.concat(s);s.slice(0,e).forEach((function(e,s){var o=l(e);C(r.list,o),i.push(o),n(o,s+t,s%t)})),s.slice(-e).forEach((function(r,o){var a=l(r);w(a,s[0]),i.push(a),n(a,o-e,(t+o-e%t)%t)}))}}(n=a())}function a(){var t=e.options;if(t.clones)return t.clones;var i=t.autoWidth||t.autoHeight?r.length:t.perPage,n=t.direction===K?"Height":"Width",s=m(e.root,t["fixed"+n]);return s&&(i=Math.ceil(r.track["client"+n]/s)),i*(t.drag?t.flickMaxPages+1:1)}function l(t){var i=t.cloneNode(!0);return L(i,e.classes.clone),R(i,"id"),i}return s};function se(e,t){var i;return function(){i||(i=setTimeout((function(){e(),i=null}),t))}}const oe=function(e,t){var i,n,r=t.Elements,o=e.options.direction===K,a=(i={mount:function(){e.on("resize load",se((function(){e.emit("resize")}),e.options.throttle),window).on("resize",c).on("updated refresh",l),l(),this.totalSize=o?this.totalHeight:this.totalWidth,this.slideSize=o?this.slideHeight:this.slideWidth},destroy:function(){R([r.list,r.track],"style")},get size(){return o?this.height:this.width}},n=o?function(e,t){var i,n,r=t.Elements,s=e.root;return{margin:"marginBottom",init:function(){this.resize()},resize:function(){n=e.options,i=r.track,this.gap=m(s,n.gap);var t=n.padding,o=m(s,t.top||t),a=m(s,t.bottom||t);this.padding={top:o,bottom:a},A(i,{paddingTop:p(o),paddingBottom:p(a)})},totalHeight:function(t){void 0===t&&(t=e.length-1);var i=r.getSlide(t);return i?I(i.slide).bottom-I(r.list).top+this.gap:0},slideWidth:function(){return m(s,n.fixedWidth||this.width)},slideHeight:function(e){if(n.autoHeight){var t=r.getSlide(e);return t?t.slide.offsetHeight:0}var i=n.fixedHeight||(this.height+this.gap)/n.perPage-this.gap;return m(s,i)},get width(){return i.clientWidth},get height(){var e=n.height||this.width*n.heightRatio;return $(e,'"height" or "heightRatio" is missing.'),m(s,e)-this.padding.top-this.padding.bottom}}}(e,t):function(e,t){var i,n=t.Elements,r=e.root,s=e.options;return{margin:"margin"+(s.direction===Z?"Left":"Right"),height:0,init:function(){this.resize()},resize:function(){s=e.options,i=n.track,this.gap=m(r,s.gap);var t=s.padding,o=m(r,t.left||t),a=m(r,t.right||t);this.padding={left:o,right:a},A(i,{paddingLeft:p(o),paddingRight:p(a)})},totalWidth:function(t){void 0===t&&(t=e.length-1);var i=n.getSlide(t),r=0;if(i){var o=I(i.slide),a=I(n.list);r=s.direction===Z?a.right-o.left:o.right-a.left,r+=this.gap}return r},slideWidth:function(e){if(s.autoWidth){var t=n.getSlide(e);return t?t.slide.offsetWidth:0}var i=s.fixedWidth||(this.width+this.gap)/s.perPage-this.gap;return m(r,i)},slideHeight:function(){var e=s.height||s.fixedHeight||this.width*s.heightRatio;return m(r,e)},get width(){return i.clientWidth-this.padding.left-this.padding.right}}}
52(e,t),s(n).forEach((function(e){i[e]||Object.defineProperty(i,e,Object.getOwnPropertyDescriptor(n,e))})),i);function l(){a.init(),A(e.root,{maxWidth:p(e.options.width)}),r.each((function(e){e.slide.style[a.margin]=p(a.gap)})),c()}function c(){var t=e.options;a.resize(),A(r.track,{height:p(a.height)});var i=t.autoHeight?null:p(a.slideHeight());r.each((function(e){A(e.container,{height:i}),A(e.slide,{width:t.autoWidth?null:p(a.slideWidth(e.index)),height:e.container?null:i})})),e.emit("resized")}return a};var ae=Math.abs;const le=function(e,t){var i,n,r,s,a=t.Track,l=t.Controller,c=e.options.direction===K,u=c?"y":"x",h={disabled:!1,mount:function(){var i=this,n=t.Elements,r=n.track;e.on("touchstart mousedown",p,r).on("touchmove mousemove",m,r,{passive:!1}).on("touchend touchcancel mouseleave mouseup dragend",g,r).on("mounted refresh",(function(){o(n.list.querySelectorAll("img, a"),(function(t){e.off("dragstart",t).on("dragstart",(function(e){e.preventDefault()}),t,{passive:!1})}))})).on("mounted updated",(function(){i.disabled=!e.options.drag}))}};function p(e){h.disabled||s||f(e)}function f(e){i=a.toCoord(a.position),n=b(e,{}),r=n}function m(t){if(n)if(r=b(t,n),s){if(t.cancelable&&t.preventDefault(),!e.is(M)){var o=i[u]+r.offset[u];a.translate(function(t){if(e.is(P)){var i=a.sign,n=i*a.trim(a.toPosition(0)),r=i*a.trim(a.toPosition(l.edgeIndex));(t*=i)<n?t=n-7*Math.log(n-t):t>r&&(t=r+7*Math.log(t-r)),t*=i}return t}(o))}}else(function(t){var i=t.offset;if(e.State.is(V)&&e.options.waitForTransition)return!1;var n=180*Math.atan(ae(i.y)/ae(i.x))/Math.PI;return c&&(n=90-n),n<e.options.dragAngleThreshold})(r)&&(e.emit("drag",n),s=!0,a.cancel(),f(t))}function g(){n=null,s&&(e.emit("dragged",r),function(i){var n=i.velocity[u],r=ae(n);if(r>0){var s=e.options,o=e.index,c=n<0?-1:1,h=o;if(!e.is(M)){var p=a.position;r>s.flickVelocityThreshold&&ae(i.offset[u])<s.swipeDistanceThreshold&&(p+=c*Math.min(r*s.flickPower,t.Layout.size*(s.flickMaxPages||1))),h=a.toIndex(p)}h===o&&r>.1&&(h=o+c*a.sign),e.is(P)&&(h=d(h,0,l.edgeIndex)),l.go(h,s.isNavigation)}}(r),s=!1)}function b(e,t){var i=e.timeStamp,n=e.touches,r=n?n[0]:e,s=r.clientX,o=r.clientY,a=t.to||{},l=a.x,c=void 0===l?s:l,u=a.y,d={x:s-c,y:o-(void 0===u?o:u)},h=i-(t.time||0);return{to:{x:s,y:o},offset:d,time:i,velocity:{x:d.x/h,y:d.y/h}}}return h},ce=function(e,t){var i=!1;function n(e){i&&(e.preventDefault(),e.stopPropagation(),e.stopImmediatePropagation())}return{required:e.options.drag,mount:function(){e.on("click",n,t.Elements.track,{capture:!0}).on("drag",(function(){i=!0})).on("dragged",(function(){setTimeout((function(){i=!1}))}))}}};var ue=1,de=2,he=3;const pe=function(e,t,i){var n,r,s,o=e.classes,a=e.root,l=t.Elements;function c(){var s=t.Controller,o=s.prevIndex,a=s.nextIndex,l=e.length>e.options.perPage||e.is(D);n.disabled=o<0||!l,r.disabled=a<0||!l,e.emit(i+":updated",n,r,o,a)}function u(t){return S('<button class="'+o.arrow+" "+(t?o.prev:o.next)+'" type="button"><svg xmlns="http://www.w3.org/2000/svg"\tviewBox="0 0 40 40"\twidth="40"\theight="40"><path d="'+(e.options.arrowPath||"m15.5 0.932-4.3 4.38 14.5 14.6-14.5 14.5 4.3 4.4 14.6-14.6 4.4-4.3-4.4-4.4-14.6-14.6z")+'" />')}return{required:e.options.arrows,mount:function(){n=l.arrows.prev,r=l.arrows.next,n&&r||!e.options.arrows||(n=u(!0),r=u(!1),s=!0,function(){var t=y("div",{class:o.arrows});C(t,n),C(t,r);var i=l.slider,s="slider"===e.options.arrows&&i?i:a;w(t,s.firstElementChild)}()),n&&r&&e.on("click",(function(){e.go("<")}),n).on("click",(function(){e.go(">")}),r).on("mounted move updated refresh",c),this.arrows={prev:n,next:r}},mounted:function(){e.emit(i+":mounted",n,r)},destroy:function(){R([n,r],"disabled"),s&&E(n.parentElement)}}};var fe="move.page",me="updated.page refresh.page";const ge=function(e,t,i){var n={},r=t.Elements,s={mount:function(){var t=e.options.pagination;if(t){n=function(){var t=e.options,i=e.classes,n=y("ul",{class:i.pagination}),s=r.getSlides(!1).filter((function(e){return!1!==t.focus||e.index%t.perPage==0})).map((function(t,s){var o=y("li",{}),a=y("button",{class:i.page,type:"button"});return C(o,a),C(n,o),e.on("click",(function(){e.go(">"+s)}),a),{li:o,button:a,page:s,Slides:r.getSlidesByPage(s)}}));return{list:n,items:s}}();var i=r.slider;C("slider"===t&&i?i:e.root,n.list),e.on(fe,o)}
52e.off(me).on(me,(function(){s.destroy(),e.options.pagination&&(s.mount(),s.mounted())}))},mounted:function(){if(e.options.pagination){var t=e.index;e.emit(i+":mounted",n,this.getItem(t)),o(t,-1)}},destroy:function(){E(n.list),n.items&&n.items.forEach((function(t){e.off("click",t.button)})),e.off(fe),n={}},getItem:function(e){return n.items[t.Controller.toPage(e)]},get data(){return n}};function o(t,r){var o=s.getItem(r),a=s.getItem(t),l=j.active;o&&x(o.button,l),a&&L(a.button,l),e.emit(i+":updated",n,o,a)}return s};var be="data-splide-lazy",ve="data-splide-lazy-srcset",ye="aria-current",Se="aria-controls",Ee="aria-label",Ce="aria-hidden",we="tabindex",Ae={ltr:{ArrowLeft:"<",ArrowRight:">",Left:"<",Right:">"},rtl:{ArrowLeft:">",ArrowRight:"<",Left:">",Right:"<"},ttb:{ArrowUp:"<",ArrowDown:">",Up:"<",Down:">"}};const _e=function(e,t){var i=e.i18n,n=t.Elements,r=[Ce,we,Se,Ee,ye,"role"],s={required:e.options.accessibility,mount:function(){e.on("visible",(function(e){o(e.slide,!0)})).on("hidden",(function(e){o(e.slide,!1)})).on("arrows:mounted",a).on("arrows:updated",l).on("pagination:mounted",c).on("pagination:updated",u).on("refresh",(function(){R(t.Clones.clones,r)})),e.options.isNavigation&&e.on("navigation:mounted navigation:updated",d).on("active",(function(e){p(e,!0)})).on("inactive",(function(e){p(e,!1)})),["play","pause"].forEach((function(e){var t=n[e];t&&(f(t)||k(t,"role","button"),k(t,Se,n.track.id),k(t,Ee,i[e]))}))},destroy:function(){var e=t.Arrows,i=e?e.arrows:{};R(n.slides.concat([i.prev,i.next,n.play,n.pause]),r)}};function o(t,i){k(t,Ce,!i),e.options.slideFocus&&k(t,we,i?0:-1)}function a(e,t){var i=n.track.id;k(e,Se,i),k(t,Se,i)}function l(t,n,r,s){var o=e.index,a=r>-1&&o<r?i.last:i.prev,l=s>-1&&o>s?i.first:i.next;k(t,Ee,a),k(n,Ee,l)}function c(t,n){n&&k(n.button,ye,!0),t.items.forEach((function(t){var n=e.options,r=h(!1===n.focus&&n.perPage>1?i.pageX:i.slideX,t.page+1),s=t.button,o=t.Slides.map((function(e){return e.slide.id}));k(s,Se,o.join(" ")),k(s,Ee,r)}))}function u(e,t,i){t&&R(t.button,ye),i&&k(i.button,ye,!0)}function d(e){n.each((function(t){var n=t.slide,r=t.realIndex;f(n)||k(n,"role","button");var s=r>-1?r:t.index,o=h(i.slideX,s+1),a=e.Components.Elements.getSlide(s);k(n,Ee,o),a&&k(n,Se,a.slide.id)}))}function p(e,t){var i=e.slide;t?k(i,ye,!0):R(i,ye)}function f(e){return"BUTTON"===e.tagName}return s};var Le="move.sync",xe="mouseup touchend",Te=[" ","Enter","Spacebar"],ke={Options:Q,Breakpoints:function(e){var t,i,n=e.options.breakpoints,r=se(o,50),s=[];function o(){var r,o=(r=s.filter((function(e){return e.mql.matches}))[0])?r.point:-1;if(o!==i){i=o;var a=e.State,l=n[o]||t,c=l.destroy;c?(e.options=t,e.destroy("completely"===c)):(a.is(z)&&e.mount(),e.options=l)}}return{required:n&&matchMedia,mount:function(){s=Object.keys(n).sort((function(e,t){return+e-+t})).map((function(e){return{point:e,mql:matchMedia("(max-width:"+e+"px)")}})),this.destroy(!0),addEventListener("resize",r),t=e.options,o()},destroy:function(e){e&&removeEventListener("resize",r)}}},Controller:te,Elements:J,Track:ne,Clones:re,Layout:oe,Drag:le,Click:ce,Autoplay:function(e,t,i){var n,r=[],s=t.Elements,o={required:e.options.autoplay,mount:function(){var t=e.options;s.slides.length>t.perPage&&(n=function(e,t,i){var n,r,s,o=window.requestAnimationFrame,a=!0,l=function l(c){a||(n||(n=c,s&&s<1&&(n-=s*t)),s=(r=c-n)/t,r>=t&&(n=0,s=1,e()),i&&i(s),o(l))};return{pause:function(){a=!0,n=0},play:function(e){n=0,e&&(s=0),a&&(a=!1,o(l))}}}((function(){e.go(">")}),t.interval,(function(t){e.emit(i+":playing",t),s.bar&&A(s.bar,{width:100*t+"%"})})),function(){var t=e.options,i=e.sibling,n=[e.root,i?i.root:null];t.pauseOnHover&&(a(n,"mouseleave",ue,!0),a(n,"mouseenter",ue,!1)),t.pauseOnFocus&&(a(n,"focusout",de,!0),a(n,"focusin",de,!1)),s.play&&e.on("click",(function(){o.play(de),o.play(he)}
52),s.play),s.pause&&a([s.pause],"click",he,!1),e.on("move refresh",(function(){o.play()})).on("destroy",(function(){o.pause()}))}(),this.play())},play:function(t){void 0===t&&(t=0),(r=r.filter((function(e){return e!==t}))).length||(e.emit(i+":play"),n.play(e.options.resetProgress))},pause:function(t){void 0===t&&(t=0),n.pause(),-1===r.indexOf(t)&&r.push(t),1===r.length&&e.emit(i+":pause")}};function a(t,i,n,r){t.forEach((function(t){e.on(i,(function(){o[r?"play":"pause"](n)}),t)}))}return o},Cover:function(e,t){function i(e){t.Elements.each((function(t){var i=b(t.slide,"IMG")||b(t.container,"IMG");i&&i.src&&n(i,e)}))}function n(e,t){A(e.parentElement,{background:t?"":'center/cover no-repeat url("'+e.src+'")'}),A(e,{display:t?"":"none"})}return{required:e.options.cover,mount:function(){e.on("lazyload:loaded",(function(e){n(e,!1)})),e.on("mounted updated refresh",(function(){return i(!1)}))},destroy:function(){i(!0)}}},Arrows:pe,Pagination:ge,LazyLoad:function(e,t,i){var n,r,s=e.options,a="sequential"===s.lazyLoad;function l(){r=[],n=0}function c(t){t=isNaN(t)?e.index:t,(r=r.filter((function(e){return!e.Slide.isWithin(t,s.perPage*(s.preloadPages+1))||(u(e.img,e.Slide),!1)})))[0]||e.off("moved."+i)}function u(t,i){L(i.slide,j.loading);var n=y("span",{class:e.classes.spinner});C(t.parentElement,n),t.onload=function(){h(t,n,i,!1)},t.onerror=function(){h(t,n,i,!0)},k(t,"srcset",O(t,ve)||""),k(t,"src",O(t,be)||"")}function d(){if(n<r.length){var e=r[n];u(e.img,e.Slide)}n++}function h(t,n,r,s){x(r.slide,j.loading),s||(E(n),A(t,{display:""}),e.emit(i+":loaded",t).emit("resize")),a&&d()}return{required:s.lazyLoad,mount:function(){e.on("mounted refresh",(function(){l(),t.Elements.each((function(e){o(e.slide.querySelectorAll("["+be+"], ["+ve+"]"),(function(t){t.src||t.srcset||(r.push({img:t,Slide:e}),A(t,{display:"none"}))}))})),a&&d()})),a||e.on("mounted refresh moved."+i,c)},destroy:l}},Keyboard:function(e){var t;return{mount:function(){e.on("mounted updated",(function(){var i=e.options,n=e.root,r=Ae[i.direction],s=i.keyboard;t&&(e.off("keydown",t),R(n,we)),s&&("focused"===s?(t=n,k(n,we,0)):t=document,e.on("keydown",(function(t){r[t.key]&&e.go(r[t.key])}),t))}))}}},Sync:function(e){var t=e.sibling,i=t&&t.options.isNavigation;function n(){e.on(Le,(function(e,i,n){t.off(Le).go(t.is(D)?n:e,!1),r()}))}function r(){t.on(Le,(function(t,i,r){e.off(Le).go(e.is(D)?r:t,!1),n()}))}function s(){t.Components.Elements.each((function(t){var i=t.slide,n=t.index;e.off(xe,i).on(xe,(function(e){e.button&&0!==e.button||o(n)}),i),e.off("keyup",i).on("keyup",(function(e){Te.indexOf(e.key)>-1&&(e.preventDefault(),o(n))}),i,{passive:!1})}))}function o(i){e.State.is(W)&&t.go(i)}return{required:!!t,mount:function(){n(),r(),i&&(s(),e.on("refresh",(function(){setTimeout((function(){s(),t.emit("navigation:updated",e)}))})))},mounted:function(){i&&t.emit("navigation:mounted",e)}}},A11y:_e},Oe=function(e){var t,i;function n(t,i){return e.call(this,t,i,ke)||this}return i=e,(t=n).prototype=Object.create(i.prototype),t.prototype.constructor=t,t.__proto__=i,n}(X)}},t={};function i(n){if(t[n])return t[n].exports;var r=t[n]={exports:{}};return e[n](r,r.exports,i),r.exports}return i.d=(e,t)=>{for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i(311)})()},e.exports=t()},93672:function(e,t,i){"use strict";i.d(t,{Z:function(){return r}});var n=['a[href]:not([tabindex^="-"])','area[href]:not([tabindex^="-"])','input:not([type="hidden"]):not([type="radio"]):not([disabled]):not([tabindex^="-"])','input[type="radio"]:not([disabled]):not([tabindex^="-"])','select:not([disabled]):not([tabindex^="-"])','textarea:not([disabled]):not([tabindex^="-"])','button:not([disabled]):not([tabindex^="-"])','iframe:not([tabindex^="-"])','audio[controls]:not([tabindex^="-"])','video[controls]:not([tabindex^="-"])','[contenteditable]:not([tabindex^="-"])','[tabindex]:not
52([tabindex^="-"])'];function r(e){this._show=this.show.bind(this),this._hide=this.hide.bind(this),this._maintainFocus=this._maintainFocus.bind(this),this._bindKeypress=this._bindKeypress.bind(this),this.$el=e,this.shown=!1,this._id=this.$el.getAttribute("data-a11y-dialog")||this.$el.id,this._previouslyFocused=null,this._listeners={},this.create()}function s(e,t){return i=(t||document).querySelectorAll(e),Array.prototype.slice.call(i);var i}function o(e){(e.querySelector("[autofocus]")||e).focus()}function a(){s("[data-a11y-dialog]").forEach((function(e){new r(e)}))}r.prototype.create=function(){return this.$el.setAttribute("aria-hidden",!0),this.$el.setAttribute("aria-modal",!0),this.$el.setAttribute("tabindex",-1),this.$el.hasAttribute("role")||this.$el.setAttribute("role","dialog"),this._openers=s('[data-a11y-dialog-show="'+this._id+'"]'),this._openers.forEach(function(e){e.addEventListener("click",this._show)}.bind(this)),this._closers=s("[data-a11y-dialog-hide]",this.$el).concat(s('[data-a11y-dialog-hide="'+this._id+'"]')),this._closers.forEach(function(e){e.addEventListener("click",this._hide)}.bind(this)),this._fire("create"),this},r.prototype.show=function(e){return this.shown||(this._previouslyFocused=document.activeElement,this.$el.removeAttribute("aria-hidden"),this.shown=!0,o(this.$el),document.body.addEventListener("focus",this._maintainFocus,!0),document.addEventListener("keydown",this._bindKeypress),this._fire("show",e)),this},r.prototype.hide=function(e){return this.shown?(this.shown=!1,this.$el.setAttribute("aria-hidden","true"),this._previouslyFocused&&this._previouslyFocused.focus&&this._previouslyFocused.focus(),document.body.removeEventListener("focus",this._maintainFocus,!0),document.removeEventListener("keydown",this._bindKeypress),this._fire("hide",e),this):this},r.prototype.destroy=function(){return this.hide(),this._openers.forEach(function(e){e.removeEventListener("click",this._show)}.bind(this)),this._closers.forEach(function(e){e.removeEventListener("click",this._hide)}.bind(this)),this._fire("destroy"),this._listeners={},this},r.prototype.on=function(e,t){return void 0===this._listeners[e]&&(this._listeners[e]=[]),this._listeners[e].push(t),this},r.prototype.off=function(e,t){var i=(this._listeners[e]||[]).indexOf(t);return i>-1&&this._listeners[e].splice(i,1),this},r.prototype._fire=function(e,t){(this._listeners[e]||[]).forEach(function(e){e(this.$el,t)}.bind(this))},r.prototype._bindKeypress=function(e){this.$el.contains(document.activeElement)&&(this.shown&&27===e.which&&"alertdialog"!==this.$el.getAttribute("role")&&(e.preventDefault(),this.hide(e)),this.shown&&9===e.which&&function(e,t){var i=function(e){return s(n.join(","),e).filter((function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)}))}(e),r=i.indexOf(document.activeElement);t.shiftKey&&0===r?(i[i.length-1].focus(),t.preventDefault()):t.shiftKey||r!==i.length-1||(i[0].focus(),t.preventDefault())}(this.$el,e))},r.prototype._maintainFocus=function(e){!this.shown||e.target.closest('[aria-modal="true"]')||e.target.closest("[data-a11y-dialog-ignore-focus-trap]")||o(this.$el)},"undefined"!=typeof document&&("loading"===document.readyState?document.addEventListener("DOMContentLoaded",a):window.requestAnimationFrame?window.requestAnimationFrame(a):window.setTimeout(a,16))},68587:function(e,t,i){var n;n=void 0!==i.g?i.g:this,e.exports=function(e){if(e.CSS&&e.CSS.escape)return e.CSS.escape;var t=function(e){if(0==arguments.length)throw new TypeError("`CSS.escape` requires an argument.");for(var t,i=String(e),n=i.length,r=-1,s="",o=i.charCodeAt(0);++r<n;)0!=(t=i.charCodeAt(r))?s+=t>=1&&t<=31||127==t||0==r&&t>=48&&t<=57||1==r&&t>=48&&t<=57&&45==o?"\\"+t.toString(16)+" ":0==r&&1==n&&45==t||!(t>=128||45==t||95==t||t>=48&&t<=57||t>=65&&t<=90||t>=97&&t<=122)?"\\"+i.charAt(r):i.charAt(r):s+="�";return s};return e.CSS||(e.CSS={}),e.CSS.escape=t,t}(n)},49762:function(e){function t(e,t,i){var n,r,s,o,a;function l(){var c=Date.now()-o;c<t&&c>=0?n=setTimeout(l,t-c):(n=null,i||(a=e.apply(s,r),s=r=null))}null==t&&(t=100);var c=function(){s=this,r=arguments,o=Date.now();var c=i&&!n;return n||(n=setTimeout(l,t)),c&&(a=e.apply(s,r),s=r=null),a};return c.clear=function(){n&&(clearTimeout(n),n=null)},c.flush=function(){n&&(a=e.apply(s,r),s=r=null,clearTimeout(n),n=null)},c}t.debounce=t,e.exports=t},33450:function(e,t,i){var n;e=i.nmd(e),function(){"use strict";var r={function:!0,object:!0},s=r[typeof window]&&window||this,o=s,a=r[typeof t]&&t,l=r.object&&e&&!e.nodeType&&e,c=a&&l&&"object"==typeof i.g&&i.g;!c||c.global!==c&&c.window!==c&&c.self!==c||(s=c);var u=Math.pow(2,53)-1,d=/\bOpera/,h=this,p=Object.prototype,f=p.hasOwnProperty,m=p.toString;function g(e){return(e=String(e)).charAt(0).toUpperCase()+e.slice(1)}function b(e){return e=w(e),/^(?:webOS|i(?:OS|P))/.test(e)?e:g(e)}function v(e,t){for(var i in e)f.call(e,i)&&t(e[i],i,e)}function y(e){return null==e?g(e):m.call(e).slice(8,-1)}function S(e,t){var i=null!=e?typeof e[t]:"number";return!(/^(?:boolean|number|string|undefined)$/.test(i)||"object"==i&&!e[t])}function E(e){return String(e).replace(/([ -])(?!$)/g,"$1?")}function C(e,t){var i=null;return function(e,t){var i=-1,n=e?e.length:0;if("number"==typeof n&&n>-1&&n<=u)for(;++i<n;)t(e[i],i,e);else v(e,t)}(e,(function(n,r){i=t(i,n,r,e)})),i}function w(e){return String(e).replace(/^ +| +$/g,"")}var A=function e(t){var i=s,n=t&&"object"==typeof t&&"String"!=y(t);
52n&&(i=t,t=null);var r=i.navigator||{},a=r.userAgent||"";t||(t=a);var l,c,u=n||h==o,p=n?!!r.likeChrome:/\bChrome\b/.test(t)&&!/internal|\n/i.test(m.toString()),f="Object",g=n?f:"ScriptBridgingProxyObject",A=n?f:"Environment",_=n&&i.java?"JavaPackage":y(i.java),L=n?f:"RuntimeObject",x=/\bJava/.test(_)&&i.java,T=x&&y(i.environment)==A,k=x?"a":"α",O=x?"b":"β",R=i.document||{},I=i.operamini||i.opera,P=d.test(P=n&&I?I["[[Class]]"]:y(I))?P:I=null,D=t,M=[],N=null,B=t==a,$=B&&I&&"function"==typeof I.version&&I.version(),H=C([{label:"EdgeHTML",pattern:"Edge"},"Trident",{label:"WebKit",pattern:"AppleWebKit"},"iCab","Presto","NetFront","Tasman","KHTML","Gecko"],(function(e,i){return e||RegExp("\\b"+(i.pattern||E(i))+"\\b","i").exec(t)&&(i.label||i)})),j=function(e){return C(e,(function(e,i){return e||RegExp("\\b"+(i.pattern||E(i))+"\\b","i").exec(t)&&(i.label||i)}))}(["Adobe AIR","Arora","Avant Browser","Breach","Camino","Epiphany","Fennec","Flock","Galeon","GreenBrowser","iCab","Iceweasel","K-Meleon","Konqueror","Lunascape","Maxthon",{label:"Microsoft Edge",pattern:"Edge"},"Midori","Nook Browser","PaleMoon","PhantomJS","Raven","Rekonq","RockMelt","SeaMonkey",{label:"Silk",pattern:"(?:Cloud9|Silk-Accelerated)"},"Sleipnir","SlimBrowser",{label:"SRWare Iron",pattern:"Iron"},"Sunrise","Swiftfox","WebPositive","Opera Mini",{label:"Opera Mini",pattern:"OPiOS"},"Opera",{label:"Opera",pattern:"OPR"},"Chrome",{label:"Chrome Mobile",pattern:"(?:CriOS|CrMo)"},{label:"Firefox",pattern:"(?:Firefox|Minefield)"},{label:"Firefox for iOS",pattern:"FxiOS"},{label:"IE",pattern:"IEMobile"},{label:"IE",pattern:"MSIE"},"Safari"]),F=W([{label:"BlackBerry",pattern:"BB10"},"BlackBerry",{label:"Galaxy S",pattern:"GT-I9000"},{label:"Galaxy S2",pattern:"GT-I9100"},{label:"Galaxy S3",pattern:"GT-I9300"},{label:"Galaxy S4",pattern:"GT-I9500"},"Google TV","Lumia","iPad","iPod","iPhone","Kindle",{label:"Kindle Fire",pattern:"(?:Cloud9|Silk-Accelerated)"},"Nexus","Nook","PlayBook","PlayStation 3","PlayStation 4","PlayStation Vita","TouchPad","Transformer",{label:"Wii U",pattern:"WiiU"},"Wii","Xbox One",{label:"Xbox 360",pattern:"Xbox"},"Xoom"]),q=function(e){return C(e,(function(e,i,n){return e||(i[F]||i[/^[a-z]+(?: +[a-z]+\b)*/i.exec(F)]||RegExp("\\b"+E(n)+"(?:\\b|\\w*\\d)","i").exec(t))&&n}))}({Apple:{iPad:1,iPhone:1,iPod:1},Archos:{},Amazon:{Kindle:1,"Kindle Fire":1},Asus:{Transformer:1},"Barnes & Noble":{Nook:1},BlackBerry:{PlayBook:1},Google:{"Google TV":1,Nexus:1},HP:{TouchPad:1},HTC:{},LG:{},Microsoft:{Xbox:1,"Xbox One":1},Motorola:{Xoom:1},Nintendo:{"Wii U":1,Wii:1},Nokia:{Lumia:1},Samsung:{"Galaxy S":1,"Galaxy S2":1,"Galaxy S3":1,"Galaxy S4":1},Sony:{"PlayStation 4":1,"PlayStation 3":1,"PlayStation Vita":1}}),U=function(e){return C(e,(function(e,i){var n=i.pattern||E(i);return!e&&(e=RegExp("\\b"+n+"(?:/[\\d.]+|[ \\w.]*)","i").exec(t))&&(e=function(e,t,i){var n={"10.0":"10",6.4:"10 Technical Preview",6.3:"8.1",6.2:"8",6.1:"Server 2008 R2 / 7","6.0":"Server 2008 / Vista",5.2:"Server 2003 / XP 64-bit",5.1:"XP",5.01:"2000 SP1","5.0":"2000","4.0":"NT","4.90":"ME"};return t&&i&&/^Win/i.test(e)&&!/^Windows Phone /i.test(e)&&(n=n[/[\d.]+$/.exec(e)])&&(e="Windows "+n),e=String(e),t&&i&&(e=e.replace(RegExp(t,"i"),i)),b(e.replace(/ ce$/i," CE").replace(/\bhpw/i,"web").replace(/\bMacintosh\b/,"Mac OS").replace(/_PowerPC\b/i," OS").replace(/\b(OS X) [^ \d]+/i,"$1").replace(/\bMac (OS X)\b/,"$1").replace(/\/(\d)/," $1").replace(/_/g,".").replace(/(?: BePC|[ .]*fc[ \d.]+)$/i,"").replace(/\bx86\.64\b/gi,"x86_64").replace(/\b(Windows Phone) OS\b/,"$1").replace(/\b(Chrome OS \w+) [\d.]+\b/,"$1").split(" on ")[0])}(e,n,i.label||i)),e}))}(["Windows Phone","Android","CentOS",{label:"Chrome OS",pattern:"CrOS"},"Debian","Fedora","FreeBSD","Gentoo","Haiku","Kubuntu","Linux Mint","OpenBSD","Red Hat","SuSE","Ubuntu","Xubuntu","Cygwin","Symbian OS","hpwOS","webOS ","webOS","Tablet OS","Linux","Mac OS X","Macintosh","Mac","Windows 98;","Windows "]);function W(e){return C(e,(function(e,i){var n=i.pattern||E(i);return!e&&(e=RegExp("\\b"+n+" *\\d+[.\\w_]*","i").exec(t)||RegExp("\\b"+n+"(?:; *(?:[a-z]+[_-])?[a-z]+\\d+|[^ ();-]*)","i").exec(t))&&((e=String(i.label&&!RegExp(n,"i").test(i.label)?i.label:e).split("/"))[1]&&
vendor: 4,354 bytes, line 52
52!/[\d.]+/.test(e[0])&&(e[0]+=" "+e[1]),i=i.label||i,e=b(e[0].replace(RegExp(n,"i"),i).replace(RegExp("; *(?:"+i+"[_-])?","i")," ").replace(RegExp("("+i+")[-_.]?(\\w)","i"),"$1 $2"))),e}))}if(H&&(H=[H]),q&&!F&&(F=W([q])),(l=/\bGoogle TV\b/.exec(F))&&(F=l[0]),/\bSimulator\b/i.test(t)&&(F=(F?F+" ":"")+"Simulator"),"Opera Mini"==j&&/\bOPiOS\b/.test(t)&&M.push("running in Turbo/Uncompressed mode"),"IE"==j&&/\blike iPhone OS\b/.test(t)?(q=(l=e(t.replace(/like iPhone OS/,""))).manufacturer,F=l.product):/^iP/.test(F)?(j||(j="Safari"),U="iOS"+((l=/ OS ([\d_]+)/i.exec(t))?" "+l[1].replace(/_/g,"."):"")):"Konqueror"!=j||/buntu/i.test(U)?q&&"Google"!=q&&(/Chrome/.test(j)&&!/\bMobile Safari\b/i.test(t)||/\bVita\b/.test(F))||/\bAndroid\b/.test(U)&&/^Chrome/.test(j)&&/\bVersion\//i.test(t)?(j="Android Browser",U=/\bAndroid\b/.test(U)?U:"Android"):"Silk"==j?(/\bMobi/i.test(t)||(U="Android",M.unshift("desktop mode")),/Accelerated *= *true/i.test(t)&&M.unshift("accelerated")):"PaleMoon"==j&&(l=/\bFirefox\/([\d.]+)\b/.exec(t))?M.push("identifying as Firefox "+l[1]):"Firefox"==j&&(l=/\b(Mobile|Tablet|TV)\b/i.exec(t))?(U||(U="Firefox OS"),F||(F=l[1])):j&&!(l=!/\bMinefield\b/i.test(t)&&/\b(?:Firefox|Safari)\b/.exec(j))||(j&&!F&&/[\/,]|^[^(]+?\)/.test(t.slice(t.indexOf(l+"/")+8))&&(j=null),(l=F||q||U)&&(F||q||/\b(?:Android|Symbian OS|Tablet OS|webOS)\b/.test(U))&&(j=/[a-z]+(?: Hat)?/i.exec(/\bAndroid\b/.test(U)?U:l)+" Browser")):U="Kubuntu",$||($=C(["(?:Cloud9|CriOS|CrMo|Edge|FxiOS|IEMobile|Iron|Opera ?Mini|OPiOS|OPR|Raven|Silk(?!/[\\d.]+$))","Version",E(j),"(?:Firefox|Minefield|NetFront)"],(function(e,i){return e||(RegExp(i+"(?:-[\\d.]+/|(?: for [\\w-]+)?[ /-])([\\d.]+[^ ();/_-]*)","i").exec(t)||0)[1]||null}))),(l=("iCab"==H&&parseFloat($)>3?"WebKit":/\bOpera\b/.test(j)&&(/\bOPR\b/.test(t)?"Blink":"Presto"))||/\b(?:Midori|Nook|Safari)\b/i.test(t)&&!/^(?:Trident|EdgeHTML)$/.test(H)&&"WebKit"||!H&&/\bMSIE\b/i.test(t)&&("Mac OS"==U?"Tasman":"Trident")||"WebKit"==H&&/\bPlayStation\b(?! Vita\b)/i.test(j)&&"NetFront")&&(H=[l]),"IE"==j&&(l=(/; *(?:XBLWP|ZuneWP)(\d+)/i.exec(t)||0)[1])?(j+=" Mobile",U="Windows Phone "+(/\+$/.test(l)?l:l+".x"),M.unshift("desktop mode")):/\bWPDesktop\b/i.test(t)?(j="IE Mobile",U="Windows Phone 8.x",M.unshift("desktop mode"),$||($=(/\brv:([\d.]+)/.exec(t)||0)[1])):"IE"!=j&&"Trident"==H&&(l=/\brv:([\d.]+)/.exec(t))&&(j&&M.push("identifying as "+j+($?" "+$:"")),j="IE",$=l[1]),B){if(S(i,"global"))if(x&&(D=(l=x.lang.System).getProperty("os.arch"),U=U||l.getProperty("os.name")+" "+l.getProperty("os.version")),u&&S(i,"system")&&(l=[i.system])[0]){U||(U=l[0].os||null);try{l[1]=i.require("ringo/engine").version,$=l[1].join("."),j="RingoJS"}catch(e){l[0].global.system==i.system&&(j="Narwhal")}}else"object"==typeof i.process&&!i.process.browser&&(l=i.process)?(j="Node.js",D=l.arch,U=l.platform,$=/[\d.]+/.exec(l.version)[0]):T&&(j="Rhino");else y(l=i.runtime)==g?(j="Adobe AIR",U=l.flash.system.Capabilities.os):y(l=i.phantom)==L?(j="PhantomJS",$=(l=l.version||null)&&l.major+"."+l.minor+"."+l.patch):"number"==typeof R.documentMode&&(l=/\bTrident\/(\d+)/i.exec(t))&&($=[$,R.documentMode],(l=+l[1]+4)!=$[1]&&(M.push("IE "+$[1]+" mode"),H&&(H[1]=""),$[1]=l),$="IE"==j?String($[1].toFixed(1)):$[0]);U=U&&b(U)}$&&(l=/(?:[ab]|dp|pre|[ab]\d+pre)(?:\d+\+?)?$/i.exec($)||/(?:alpha|beta)(?: ?\d)?/i.exec(t+";"+(B&&r.appMinorVersion))||/\bMinefield\b/i.test(t)&&"a")&&(N=/b/i.test(l)?"beta":"alpha",$=$.replace(RegExp(l+"\\+?$"),"")+("beta"==N?O:k)+(/\d+\+?/.exec(l)||"")),"Fennec"==j||"Firefox"==j&&/\b(?:Android|Firefox OS)\b/.test(U)?j="Firefox Mobile":"Maxthon"==j&&$?$=$.replace(/\.[\d.]+/,".x"):/\bXbox\b/i.test(F)?(U=null,"Xbox 360"==F&&/\bIEMobile\b/.test(t)&&M.unshift("mobile mode")):!/^(?:Chrome|IE|Opera)$/.test(j)&&(!j||F||/Browser|Mobi/.test(j))||"Windows CE"!=U&&!/Mobi/i.test(t)?"IE"==j&&B&&null===i.external?M.unshift("platform preview"):(/\bBlackBerry\b/.test(F)||/\bBB10\b/.test(t))&&(l=(RegExp(F.replace(/ +/g," *")+"/([.\\d]+)","i").exec(t)||0)[1]||$)?(U=((l=[l,/BB10/.test(t)])[1]?(F=null,q="BlackBerry"):"Device Software")+" "+l[0],$=null):this!=v&&"Wii"!=F&&(B&&I||/Opera/.test(j)&&/\b(?:MSIE|Firefox)\b/i.test(t)||"Firefox"==j&&/\bOS X (?:\d+\.){2,}/.test(U)||"IE"==j&&(U&&!/^Win/.test(U)&&$>5.5||/\bWindows XP\b/.test(U)&&$>8||8==$&&!/\bTrident\b/.test(t)))&&!d.test(l=e.call(v,t.replace(d,"")+";
52"))&&l.name&&(l="ing as "+l.name+((l=l.version)?" "+l:""),d.test(j)?(/\bIE\b/.test(l)&&"Mac OS"==U&&(U=null),l="identify"+l):(l="mask"+l,j=P?b(P.replace(/([a-z])([A-Z])/g,"$1 $2")):"Opera",/\bIE\b/.test(l)&&(U=null),B||($=null)),H=["Presto"],M.push(l)):j+=" Mobile",(l=(/\bAppleWebKit\/([\d.]+\+?)/i.exec(t)||0)[1])&&(l=[parseFloat(l.replace(/\.(\d)$/,".0$1")),l],"Safari"==j&&"+"==l[1].slice(-1)?(j="WebKit Nightly",N="alpha",$=l[1].slice(0,-1)):$!=l[1]&&$!=(l[2]=(/\bSafari\/([\d.]+\+?)/i.exec(t)||0)[1])||($=null),l[1]=(/\bChrome\/([\d.]+)/i.exec(t)||0)[1],537.36==l[0]&&537.36==l[2]&&parseFloat(l[1])>=28&&"WebKit"==H&&(H=["Blink"]),B&&(p||l[1])?(H&&(H[1]="like Chrome"),l=l[1]||((l=l[0])<530?1:l<532?2:l<532.05?3:l<533?4:l<534.03?5:l<534.07?6:l<534.1?7:l<534.13?8:l<534.16?9:l<534.24?10:l<534.3?11:l<535.01?12:l<535.02?"13+":l<535.07?15:l<535.11?16:l<535.19?17:l<536.05?18:l<536.1?19:l<537.01?20:l<537.11?"21+":l<537.13?23:l<537.18?24:l<537.24?25:l<537.36?26:"Blink"!=H?"27":"28")):(H&&(H[1]="like Safari"),l=(l=l[0])<400?1:l<500?2:l<526?3:l<533?4:l<534?"4+":l<535?5:l<537?6:l<538?7:l<601?8:"8"),H&&(H[1]+=" "+(l+="number"==typeof l?".x":/[.+]/.test(l)?"":"+")),"Safari"==j&&(!$||parseInt($)>45)&&($=l)),"Opera"==j&&(l=/\bzbov|zvav$/.exec(U))?(j+=" ",M.unshift("desktop mode"),"zvav"==l?(j+="Mini",$=null):j+="Mobile",U=U.replace(RegExp(" *"+l+"$"),"")):"Safari"==j&&/\bChrome\b/.exec(H&&H[1])&&(M.unshift("desktop mode"),j="Chrome Mobile",$=null,/\bOS X\b/.test(U)?(q="Apple",U="iOS 4.3+"):U=null),$&&0==$.indexOf(l=/[\d.]+$/.exec(U))&&t.indexOf("/"+l+"-")>-1&&(U=w(U.replace(l,""))),H&&!/\b(?:Avant|Nook)\b/.test(j)&&(/Browser|Lunascape|Maxthon/.test(j)||"Safari"!=j&&/^iOS/.test(U)&&/\bSafari\b/.test(H[1])||/^(?:Adobe|Arora|Breach|Midori|Opera|Phantom|Rekonq|Rock|Sleipnir|Web)/.test(j)&&H[1])&&(l=H[H.length-1])&&M.push(l),M.length&&(M=["("+M.join("; ")+")"]),q&&F&&F.indexOf(q)<0&&M.push("on "+q),F&&M.push((/^on /.test(M[M.length-1])?"":"on ")+F),U&&(l=/ ([\d.+]+)$/.exec(U),c=l&&"/"==U.charAt(U.length-l[0].length-1),U={architecture:32,family:l&&!c?U.replace(l[0],""):U,version:l?l[1]:null,toString:function(){var e=this.version;return this.family+(e&&!c?" "+e:"")+(64==this.architecture?" 64-bit":"")}}),(l=/\b(?:AMD|IA|Win|WOW|x86_|x)64\b/i.exec(D))&&!/\bi686\b/i.test(D)?(U&&(U.architecture=64,U.family=U.family.replace(RegExp(" *"+l),"")),j&&(/\bWOW64\b/i.test(t)||B&&/\w(?:86|32)$/.test(r.cpuClass||r.platform)&&!/\bWin64; x64\b/i.test(t))&&M.unshift("32-bit")):U&&/^OS X/.test(U.family)&&"Chrome"==j&&parseFloat($)>=39&&(U.architecture=64),t||(t=null);var V={};return V.description=t,V.layout=H&&H[0],V.manufacturer=q,V.name=j,V.prerelease=N,V.product=F,V.ua=t,V.version=j&&$,V.os=U||{architecture:null,family:null,version:null,toString:function(){return"null"}},V.parse=e,V.toString=function(){return this.description||""},V.version&&M.unshift($),V.name&&M.unshift(j),U&&j&&(U!=String(U).split(" ")[0]||U!=j.split(" ")[0]&&!F)&&M.push(F?"("+U+")":"on "+U),M.length&&(V.description=M.join(" ")),V}();s.platform=A,void 0===(n=function(){return A}.call(t,i,t,e))||(e.exports=n)}.call(this)},70392:function(e,t,i){e=i.nmd(e),function(i,n){"use strict";var r={};i.PubSub?r=i.PubSub:(i.PubSub=r,function(e){var t={},i=-1,n="*";function r(e){var t;for(t in e)if(Object.prototype.hasOwnProperty.call(e,t))return!0;return!1}function s(e){return function(){throw e}}function o(e,t,i){try{e(t,i)}catch(e){setTimeout(s(e),0)}}function a(e,t,i){e(t,i)}function l(e,i,n,r){var s,l=t[i],c=r?a:o;if(Object.prototype.hasOwnProperty.call(t,i))for(s in l)Object.prototype.hasOwnProperty.call(l,s)&&c(l[s],e,n)}function c(e,t,i){return function(){var r=String(e),s=r.lastIndexOf(".");for(l(e,e,t,i);-1!==s;)s=(r=r.substr(0,s)).lastIndexOf("."),l(e,r,t,i);l(e,n,t,i)}}function u(e){var i=String(e);return Boolean(Object.prototype.hasOwnProperty.call(t,i)&&r(t[i]))}function d(e){for(var t=String(e),i=u(t)||u(n),r=t.lastIndexOf(".");!i&&-1!==r;)r=(t=t.substr(0,r)).lastIndexOf("."),i=u(t);return i}function h(e,t,i,n){var r=c(e="symbol"==typeof e?e.toString():e,t,n);return!!d(e)&&(!0===i?r():setTimeout(r,0),!0)}e.publish=function(t,i){return h(t,i,!1,e.immediateExceptions)},e.publishSync=function(t,i){return h(t,i,!0,e.immediateExceptions)},e.subscribe=function(e,n){if("function"!=typeof n)return!1;e="symbol"==typeof e?e.toString():e,Object.prototype.hasOwnProperty.call(t,e)||(t[e]={});var r="uid_"+String(++i);return t[e][r]=n,r},e.subscribeAll=function(t){return e.subscribe(n,t)},e.subscribeOnce=function(t,i){var n=e.subscribe(t,(function(){e.unsubscribe(n),i.apply(this,arguments)}));return e},e.clearAllSubscriptions=function(){t={}},e.clearSubscriptions=function(e){var i;for(i in t)Object.prototype.hasOwnProperty.call(t,i)&&0===i.indexOf(e)&&delete t[i]},e.countSubscriptions=function(e){var i,n,r=0;for(i in t)if(Object.prototype.hasOwnProperty.call(t,i)&&0===i.indexOf(e)){for(n in t[i])r++;break}return r},e.getSubscriptions=function(e){var i,n=[];for(i in t)Object.prototype.hasOwnProperty.call(t,i)&&0===i.indexOf(e)&&n.push(i);return n},e.unsubscribe=function(i){var n,r,s,o=function(e){var i;for(i in t)if(Object.prototype.hasOwnProperty.call(t,i)&&0===i.indexOf(e))return!0;return!1},a="string"==typeof i&&(Object.prototype.hasOwnProperty.call(t,i)||o(i)),l=!a&&"string"==typeof i,c="function"==typeof i,u=!1;if(!a){for(n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(r=t[n],l&&r[i]){delete r[i],u=i;break}if(c)for(s in r)Object.prototype.hasOwnProperty.call(r,s)&&r[s]===i&&(delete r[s],u=!0)}return u}e.clearSubscriptions(i)}}(r)),void 0!==e&&e.exports&&(t=e.exports=r),t.PubSub=r,e.exports=t=r}("object"==typeof window&&window||this||i.g)},71378:function(e,t,i){"use strict";function n(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function r(e){return e instanceof n(e).Element||e instanceof Element}function s(e){return e instanceof n(e).HTMLElement||e instanceof HTMLElement}function o(e){return"undefined"!=typeof ShadowRoot&&(e instanceof n(e).ShadowRoot||e instanceof ShadowRoot)}i.r(t),i.d(t,{animateFill:function(){return vt},createSingleton:function(){return mt},default:function(){return Lt},delegate:function(){return bt},followCursor:function(){return Ct},hideAll:function(){return pt},inlinePositioning:function(){return wt},roundArrow:function(){return ve},sticky:function(){return At}});var a=Math.max,l=Math.min,c=Math.round;function u(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map((function(e){return e.brand+"/"+e.version})).join(" "):navigator.userAgent}function d(){return!/^((?!chrome|android).)*safari/i.test(u())}function h(e,t,i){void 0===t&&(t=!1),void 0===i&&(i=!1);var o=e.getBoundingClientRect(),a=1,l=1;t&&s(e)&&(a=e.offsetWidth>0&&c(o.width)/e.offsetWidth||1,l=e.offsetHeight>0&&c(o.height)/e.offsetHeight||1);
vendor: 4,354 bytes, line 52
52var u=(r(e)?n(e):window).visualViewport,h=!d()&&i,p=(o.left+(h&&u?u.offsetLeft:0))/a,f=(o.top+(h&&u?u.offsetTop:0))/l,m=o.width/a,g=o.height/l;return{width:m,height:g,top:f,right:p+m,bottom:f+g,left:p,x:p,y:f}}function p(e){var t=n(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function f(e){return e?(e.nodeName||"").toLowerCase():null}function m(e){return((r(e)?e.ownerDocument:e.document)||window.document).documentElement}function g(e){return h(m(e)).left+p(e).scrollLeft}function b(e){return n(e).getComputedStyle(e)}function v(e){var t=b(e),i=t.overflow,n=t.overflowX,r=t.overflowY;return/auto|scroll|overlay|hidden/.test(i+r+n)}function y(e,t,i){void 0===i&&(i=!1);var r,o,a=s(t),l=s(t)&&function(e){var t=e.getBoundingClientRect(),i=c(t.width)/e.offsetWidth||1,n=c(t.height)/e.offsetHeight||1;return 1!==i||1!==n}(t),u=m(t),d=h(e,l,i),b={scrollLeft:0,scrollTop:0},y={x:0,y:0};return(a||!a&&!i)&&(("body"!==f(t)||v(u))&&(b=(r=t)!==n(r)&&s(r)?{scrollLeft:(o=r).scrollLeft,scrollTop:o.scrollTop}:p(r)),s(t)?((y=h(t,!0)).x+=t.clientLeft,y.y+=t.clientTop):u&&(y.x=g(u))),{x:d.left+b.scrollLeft-y.x,y:d.top+b.scrollTop-y.y,width:d.width,height:d.height}}function S(e){var t=h(e),i=e.offsetWidth,n=e.offsetHeight;return Math.abs(t.width-i)<=1&&(i=t.width),Math.abs(t.height-n)<=1&&(n=t.height),{x:e.offsetLeft,y:e.offsetTop,width:i,height:n}}function E(e){return"html"===f(e)?e:e.assignedSlot||e.parentNode||(o(e)?e.host:null)||m(e)}function C(e){return["html","body","#document"].indexOf(f(e))>=0?e.ownerDocument.body:s(e)&&v(e)?e:C(E(e))}function w(e,t){var i;void 0===t&&(t=[]);var r=C(e),s=r===(null==(i=e.ownerDocument)?void 0:i.body),o=n(r),a=s?[o].concat(o.visualViewport||[],v(r)?r:[]):r,l=t.concat(a);return s?l:l.concat(w(E(a)))}function A(e){return["table","td","th"].indexOf(f(e))>=0}function _(e){return s(e)&&"fixed"!==b(e).position?e.offsetParent:null}function L(e){for(var t=n(e),i=_(e);i&&A(i)&&"static"===b(i).position;)i=_(i);return i&&("html"===f(i)||"body"===f(i)&&"static"===b(i).position)?t:i||function(e){var t=/firefox/i.test(u());if(/Trident/i.test(u())&&s(e)&&"fixed"===b(e).position)return null;var i=E(e);for(o(i)&&(i=i.host);s(i)&&["html","body"].indexOf(f(i))<0;){var n=b(i);if("none"!==n.transform||"none"!==n.perspective||"paint"===n.contain||-1!==["transform","perspective"].indexOf(n.willChange)||t&&"filter"===n.willChange||t&&n.filter&&"none"!==n.filter)return i;i=i.parentNode}return null}(e)||t}var x="top",T="bottom",k="right",O="left",R="auto",I=[x,T,k,O],P="start",D="end",M="clippingParents",N="viewport",B="popper",$="reference",H=I.reduce((function(e,t){return e.concat([t+"-"+P,t+"-"+D])}),[]),j=[].concat(I,[R]).reduce((function(e,t){return e.concat([t,t+"-"+P,t+"-"+D])}),[]),F=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function q(e){var t=new Map,i=new Set,n=[];function r(e){i.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!i.has(e)){var n=t.get(e);n&&r(n)}})),n.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){i.has(e.name)||r(e)})),n}var U={placement:"bottom",modifiers:[],strategy:"absolute"};function W(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];return!t.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}function V(e){void 0===e&&(e={});var t=e,i=t.defaultModifiers,n=void 0===i?[]:i,s=t.defaultOptions,o=void 0===s?U:s;return function(e,t,i){void 0===i&&(i=o);var s,a,l={placement:"bottom",orderedModifiers:[],options:Object.assign({},U,o),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},c=[],u=!1,d={state:l,setOptions:function(i){var s="function"==typeof i?i(l.options):i;h(),l.options=Object.assign({},o,l.options,s),l.scrollParents={reference:r(e)?w(e):e.contextElement?w(e.contextElement):[],popper:w(t)};var a,u,p=function(e){var t=q(e);return F.reduce((function(e,i){return e.concat(t.filter((function(e){return e.phase===i})))}),[])}((a=[].concat(n,l.options.modifiers),u=a.reduce((function(e,t){var i=e[t.name];return e[t.name]=i?Object.assign({},i,t,{options:Object.assign({},i.options,t.options),data:Object.assign({},i.data,t.data)}):t,e}),{}),Object.keys(u).map((function(e){return u[e]}))));return l.orderedModifiers=p.filter((function(e){return e.enabled}
vendor: 8,668 bytes, line 52
52)),l.orderedModifiers.forEach((function(e){var t=e.name,i=e.options,n=void 0===i?{}:i,r=e.effect;if("function"==typeof r){var s=r({state:l,name:t,instance:d,options:n}),o=function(){};c.push(s||o)}})),d.update()},forceUpdate:function(){if(!u){var e=l.elements,t=e.reference,i=e.popper;if(W(t,i)){l.rects={reference:y(t,L(i),"fixed"===l.options.strategy),popper:S(i)},l.reset=!1,l.placement=l.options.placement,l.orderedModifiers.forEach((function(e){return l.modifiersData[e.name]=Object.assign({},e.data)}));for(var n=0;n<l.orderedModifiers.length;n++)if(!0!==l.reset){var r=l.orderedModifiers[n],s=r.fn,o=r.options,a=void 0===o?{}:o,c=r.name;"function"==typeof s&&(l=s({state:l,options:a,name:c,instance:d})||l)}else l.reset=!1,n=-1}}},update:(s=function(){return new Promise((function(e){d.forceUpdate(),e(l)}))},function(){return a||(a=new Promise((function(e){Promise.resolve().then((function(){a=void 0,e(s())}))}))),a}),destroy:function(){h(),u=!0}};if(!W(e,t))return d;function h(){c.forEach((function(e){return e()})),c=[]}return d.setOptions(i).then((function(e){!u&&i.onFirstUpdate&&i.onFirstUpdate(e)})),d}}var z={passive:!0};function G(e){return e.split("-")[0]}function X(e){return e.split("-")[1]}function Q(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Z(e){var t,i=e.reference,n=e.element,r=e.placement,s=r?G(r):null,o=r?X(r):null,a=i.x+i.width/2-n.width/2,l=i.y+i.height/2-n.height/2;switch(s){case x:t={x:a,y:i.y-n.height};break;case T:t={x:a,y:i.y+i.height};break;case k:t={x:i.x+i.width,y:l};break;case O:t={x:i.x-n.width,y:l};break;default:t={x:i.x,y:i.y}}var c=s?Q(s):null;if(null!=c){var u="y"===c?"height":"width";switch(o){case P:t[c]=t[c]-(i[u]/2-n[u]/2);break;case D:t[c]=t[c]+(i[u]/2-n[u]/2)}}return t}var K={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Y(e){var t,i=e.popper,r=e.popperRect,s=e.placement,o=e.variation,a=e.offsets,l=e.position,u=e.gpuAcceleration,d=e.adaptive,h=e.roundOffsets,p=e.isFixed,f=a.x,g=void 0===f?0:f,v=a.y,y=void 0===v?0:v,S="function"==typeof h?h({x:g,y}):{x:g,y};g=S.x,y=S.y;var E=a.hasOwnProperty("x"),C=a.hasOwnProperty("y"),w=O,A=x,_=window;if(d){var R=L(i),I="clientHeight",P="clientWidth";if(R===n(i)&&"static"!==b(R=m(i)).position&&"absolute"===l&&(I="scrollHeight",P="scrollWidth"),s===x||(s===O||s===k)&&o===D)A=T,y-=(p&&R===_&&_.visualViewport?_.visualViewport.height:R[I])-r.height,y*=u?1:-1;if(s===O||(s===x||s===T)&&o===D)w=k,g-=(p&&R===_&&_.visualViewport?_.visualViewport.width:R[P])-r.width,g*=u?1:-1}var M,N=Object.assign({position:l},d&&K),B=!0===h?function(e,t){var i=e.x,n=e.y,r=t.devicePixelRatio||1;return{x:c(i*r)/r||0,y:c(n*r)/r||0}}({x:g,y},n(i)):{x:g,y};return g=B.x,y=B.y,u?Object.assign({},N,((M={})[A]=C?"0":"",M[w]=E?"0":"",M.transform=(_.devicePixelRatio||1)<=1?"translate("+g+"px, "+y+"px)":"translate3d("+g+"px, "+y+"px, 0)",M)):Object.assign({},N,((t={})[A]=C?y+"px":"",t[w]=E?g+"px":"",t.transform="",t))}var J={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var i=t.styles[e]||{},n=t.attributes[e]||{},r=t.elements[e];s(r)&&f(r)&&(Object.assign(r.style,i),Object.keys(n).forEach((function(e){var t=n[e];!1===t?r.removeAttribute(e):r.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,i={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,i.popper),t.styles=i,t.elements.arrow&&Object.assign(t.elements.arrow.style,i.arrow),function(){Object.keys(t.elements).forEach((function(e){var n=t.elements[e],r=t.attributes[e]||{},o=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:i[e]).reduce((function(e,t){return e[t]="",e}),{});s(n)&&f(n)&&(Object.assign(n.style,o),Object.keys(r).forEach((function(e){n.removeAttribute(e)})))}))}},requires:["computeStyles"]};var ee={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,i=e.options,n=e.name,r=i.offset,s=void 0===r?[0,0]:r,o=j.reduce((function(e,i){return e[i]=function(e,t,i){var n=G(e),r=[O,x].indexOf(n)>=0?-1:1,s="function"==typeof i?i(Object.assign({},t,{placement:e})):i,o=s[0],a=s[1];return o=o||0,a=(a||0)*r,[O,k].indexOf(n)>=0?{x:a,y:o}:{x:o,y:a}}(i,t.rects,s),e}),{}),a=o[t.placement],l=a.x,c=a.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[n]=o}},te={left:"right",right:"left",bottom:"top",top:"bottom"};function ie(e){return e.replace(/left|right|bottom|top/g,(function(e){return te[e]}))}var ne={start:"end",end:"start"};function re(e){return e.replace(/start|end/g,(function(e){return ne[e]}))}function se(e,t){var i=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(i&&o(i)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function oe(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function ae(e,t,i){return t===N?oe(function(e,t){var i=n(e),r=m(e),s=i.visualViewport,o=r.clientWidth,a=r.clientHeight,l=0,c=0;if(s){o=s.width,a=s.height;var u=d();(u||!u&&"fixed"===t)&&(l=s.offsetLeft,c=s.offsetTop)}return{width:o,height:a,x:l+g(e),y:c}}(e,i)):r(t)?function(e,t){var i=h(e,!1,"fixed"===t);return i.top=i.top+e.clientTop,i.left=i.left+e.clientLeft,i.bottom=i.top+e.clientHeight,i.right=i.left+e.clientWidth,i.width=e.clientWidth,i.height=e.clientHeight,i.x=i.left,i.y=i.top,i}(t,i):oe(function(e){var t,i=m(e),n=p(e),r=null==(t=e.ownerDocument)?void 0:t.body,s=a(i.scrollWidth,i.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),o=a(i.scrollHeight,i.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),l=-n.scrollLeft+g(e),c=-n.scrollTop;return"rtl"===b(r||i).direction&&(l+=a(i.clientWidth,r?r.clientWidth:0)-s),{width:s,height:o,x:l,y:c}}(m(e)))}function le(e,t,i,n){var o="clippingParents"===t?function(e){var t=w(E(e)),i=["absolute","fixed"].indexOf(b(e).position)>=0&&s(e)?L(e):e;return r(i)?t.filter((function(e){return r(e)&&se(e,i)&&"body"!==f(e)})):[]}(e):[].concat(t),c=[].concat(o,[i]),u=c[0],d=c.reduce((function(t,i){var r=ae(e,i,n);return t.top=a(r.top,t.top),t.right=l(r.right,t.right),t.bottom=l(r.bottom,t.bottom),t.left=a(r.left,t.left),t}),ae(e,u,n));return d.width=d.right-d.left,d.height=d.bottom-d.top,d.x=d.left,d.y=d.top,d}function ce(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function ue(e,t){return t.reduce((function(t,i){return t[i]=e,t}),{})}function de(e,t){void 0===t&&(t={});var i=t,n=i.placement,s=void 0===n?e.placement:n,o=i.strategy,a=void 0===o?e.strategy:o,l=i.boundary,c=void 0===l?M:l,u=i.rootBoundary,d=void 0===u?N:u,p=i.elementContext,f=void 0===p?B:p,g=i.altBoundary,b=void 0!==g&&g,v=i.padding,y=void 0===v?0:v,S=ce("number"!=typeof y?y:ue(y,I)),E=f===B?$:B,C=e.rects.popper,w=e.elements[b?E:f],A=le(r(w)?w:w.contextElement||m(e.elements.popper),c,d,a),_=h(e.elements.reference),L=Z({reference:_,element:C,strategy:"absolute",placement:s}),O=oe(Object.assign({},C,L)),R=f===B?O:_,P={top:A.top-R.top+S.top,bottom:R.bottom-A.bottom+S.bottom,left:A.left-R.left+S.left,right:R.right-A.right+S.right},D=e.modifiersData.offset;if(f===B&&D){var H=D[s];Object.keys(P).forEach((function(e){var t=[k,T].indexOf(e)>=0?1:-1,i=[x,T].indexOf(e)>=0?"y":"x";P[e]+=H[i]*t}))}return P}function he(e,t,i){return a(e,l(t,i))}var pe={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,i=e.options,n=e.name,r=i.mainAxis,s=void 0===r||r,o=i.altAxis,c=void 0!==o&&o,u=i.boundary,d=i.rootBoundary,h=i.altBoundary,p=i.padding,f=i.tether,m=void 0===f||f,g=i.tetherOffset,b=void 0===g?0:g,v=de(t,{boundary:u,rootBoundary:d,padding:p,altBoundary:h}),y=G(t.placement),E=X(t.placement),C=!E,w=Q(y),A="x"===w?"y":"x",_=t.modifiersData.popperOffsets,R=t.rects.reference,I=t.rects.popper,D="function"==typeof b?b(Object.assign({},t.rects,{placement:t.placement})):b,M="number"==typeof D?{mainAxis:D,altAxis:D}:Object.assign({mainAxis:0,altAxis:0},D),N=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,B={x:0,y:0};if(_){if(s){var $,H="y"===w?x:O,j="y"===w?T:k,F="y"===w?"height":"width",q=_[w],U=q+v[H],W=q-v[j],V=m?-I[F]/2:0,z=E===P?R[F]:I[F],Z=E===P?-I[F]:-R[F],K=t.elements.arrow,Y=m&&K?S(K):{width:0,height:0},J=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},ee=J[H],te=J[j],ie=he(0,R[F],Y[F]),ne=C?R[F]/2-V-ie-ee-M.mainAxis:z-ie-ee-M.mainAxis,re=C?-R[F]/2+V+ie+te+M.mainAxis:Z+ie+te+M.mainAxis,se=t.elements.arrow&&L(t.elements.arrow),oe=se?"y"===w?se.clientTop||0:se.clientLeft||0:0,ae=null!=($=null==N?void 0:N[w])?$:0,le=q+re-ae,ce=he(m?l(U,q+ne-
vendor: 4,851 bytes, line 52
52ae-oe):U,q,m?a(W,le):W);_[w]=ce,B[w]=ce-q}if(c){var ue,pe="x"===w?x:O,fe="x"===w?T:k,me=_[A],ge="y"===A?"height":"width",be=me+v[pe],ve=me-v[fe],ye=-1!==[x,O].indexOf(y),Se=null!=(ue=null==N?void 0:N[A])?ue:0,Ee=ye?be:me-R[ge]-I[ge]-Se+M.altAxis,Ce=ye?me+R[ge]+I[ge]-Se-M.altAxis:ve,we=m&&ye?function(e,t,i){var n=he(e,t,i);return n>i?i:n}(Ee,me,Ce):he(m?Ee:be,me,m?Ce:ve);_[A]=we,B[A]=we-me}t.modifiersData[n]=B}},requiresIfExists:["offset"]};var fe={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,i=e.state,n=e.name,r=e.options,s=i.elements.arrow,o=i.modifiersData.popperOffsets,a=G(i.placement),l=Q(a),c=[O,k].indexOf(a)>=0?"height":"width";if(s&&o){var u=function(e,t){return ce("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:ue(e,I))}(r.padding,i),d=S(s),h="y"===l?x:O,p="y"===l?T:k,f=i.rects.reference[c]+i.rects.reference[l]-o[l]-i.rects.popper[c],m=o[l]-i.rects.reference[l],g=L(s),b=g?"y"===l?g.clientHeight||0:g.clientWidth||0:0,v=f/2-m/2,y=u[h],E=b-d[c]-u[p],C=b/2-d[c]/2+v,w=he(y,C,E),A=l;i.modifiersData[n]=((t={})[A]=w,t.centerOffset=w-C,t)}},effect:function(e){var t=e.state,i=e.options.element,n=void 0===i?"[data-popper-arrow]":i;null!=n&&("string"!=typeof n||(n=t.elements.popper.querySelector(n)))&&se(t.elements.popper,n)&&(t.elements.arrow=n)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function me(e,t,i){return void 0===i&&(i={x:0,y:0}),{top:e.top-t.height-i.y,right:e.right-t.width+i.x,bottom:e.bottom-t.height+i.y,left:e.left-t.width-i.x}}function ge(e){return[x,k,T,O].some((function(t){return e[t]>=0}))}var be=V({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,i=e.instance,r=e.options,s=r.scroll,o=void 0===s||s,a=r.resize,l=void 0===a||a,c=n(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&u.forEach((function(e){e.addEventListener("scroll",i.update,z)})),l&&c.addEventListener("resize",i.update,z),function(){o&&u.forEach((function(e){e.removeEventListener("scroll",i.update,z)})),l&&c.removeEventListener("resize",i.update,z)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,i=e.name;t.modifiersData[i]=Z({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,i=e.options,n=i.gpuAcceleration,r=void 0===n||n,s=i.adaptive,o=void 0===s||s,a=i.roundOffsets,l=void 0===a||a,c={placement:G(t.placement),variation:X(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:r,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,Y(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:o,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,Y(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},J,ee,{name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,i=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var r=i.mainAxis,s=void 0===r||r,o=i.altAxis,a=void 0===o||o,l=i.fallbackPlacements,c=i.padding,u=i.boundary,d=i.rootBoundary,h=i.altBoundary,p=i.flipVariations,f=void 0===p||p,m=i.allowedAutoPlacements,g=t.options.placement,b=G(g),v=l||(b===g||!f?[ie(g)]:function(e){if(G(e)===R)return[];var t=ie(e);return[re(e),t,re(t)]}(g)),y=[g].concat(v).reduce((function(e,i){return e.concat(G(i)===R?function(e,t){void 0===t&&(t={});var i=t,n=i.placement,r=i.boundary,s=i.rootBoundary,o=i.padding,a=i.flipVariations,l=i.allowedAutoPlacements,c=void 0===l?j:l,u=X(n),d=u?a?H:H.filter((function(e){return X(e)===u})):I,h=d.filter((function(e){return c.indexOf(e)>=0}));0===h.length&&(h=d);var p=h.reduce((function(t,i){return t[i]=de(e,{placement:i,boundary:r,rootBoundary:s,padding:o})[G(i)],t}),{});return Object.keys(p).sort((function(e,t){return p[e]-p[t]}))}(t,{placement:i,boundary:u,rootBoundary:d,padding:c,flipVariations:f,allowedAutoPlacements:m}):i)}),[]),S=t.rects.reference,E=t.rects.popper,C=new Map,w=!0,A=y[0],_=0;_<y.length;_++){var L=y[_],D=G(L),M=X(L)===P,N=[x,T].indexOf(D)>=0,B=N?"width":"height",$=de(t,{placement:L,boundary:u,rootBoundary:d,altBoundary:h,padding:c}),F=N?M?k:O:M?T:x;S[B]>E[B]&&(F=ie(F));var q=ie(F),U=[];if(s&&U.push($[D]<=0),a&&U.push($[F]<=0,$[q]<=0),U.every((function(e){return e}))){A=L,w=!1;break}C.set(L,U)}if(w)for(var W=function(e){var t=y.find((function(t){var i=C.get(t);if(i)return i.slice(0,e).every((function(e){return e}))}));if(t)return A=t,"break"},V=f?3:1;V>0;
52V--){if("break"===W(V))break}t.placement!==A&&(t.modifiersData[n]._skip=!0,t.placement=A,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},pe,fe,{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,i=e.name,n=t.rects.reference,r=t.rects.popper,s=t.modifiersData.preventOverflow,o=de(t,{elementContext:"reference"}),a=de(t,{altBoundary:!0}),l=me(o,n),c=me(a,r,s),u=ge(l),d=ge(c);t.modifiersData[i]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}}]}),ve='<svg width="16" height="6" xmlns="http://www.w3.org/2000/svg"><path d="M0 6s1.796-.013 4.67-3.615C5.851.9 6.93.006 8 0c1.07-.006 2.148.887 3.343 2.385C14.233 6.005 16 6 16 6H0z"></svg>',ye="tippy-content",Se="tippy-backdrop",Ee="tippy-arrow",Ce="tippy-svg-arrow",we={passive:!0,capture:!0},Ae=function(){return document.body};function _e(e,t,i){if(Array.isArray(e)){var n=e[t];return n??(Array.isArray(i)?i[t]:i)}return e}function Le(e,t){var i={}.toString.call(e);return 0===i.indexOf("[object")&&i.indexOf(t+"]")>-1}function xe(e,t){return"function"==typeof e?e.apply(void 0,t):e}function Te(e,t){return 0===t?e:function(n){clearTimeout(i),i=setTimeout((function(){e(n)}),t)};var i}function ke(e,t){var i=Object.assign({},e);return t.forEach((function(e){delete i[e]})),i}function Oe(e){return[].concat(e)}function Re(e,t){-1===e.indexOf(t)&&e.push(t)}function Ie(e){return e.split("-")[0]}function Pe(e){return[].slice.call(e)}function De(e){return Object.keys(e).reduce((function(t,i){return void 0!==e[i]&&(t[i]=e[i]),t}),{})}function Me(){return document.createElement("div")}function Ne(e){return["Element","Fragment"].some((function(t){return Le(e,t)}))}function Be(e){return Le(e,"MouseEvent")}function $e(e){return!(!e||!e._tippy||e._tippy.reference!==e)}function He(e){return Ne(e)?[e]:function(e){return Le(e,"NodeList")}(e)?Pe(e):Array.isArray(e)?e:Pe(document.querySelectorAll(e))}function je(e,t){e.forEach((function(e){e&&(e.style.transitionDuration=t+"ms")}))}function Fe(e,t){e.forEach((function(e){e&&e.setAttribute("data-state",t)}))}function qe(e){var t,i=Oe(e)[0];return null!=i&&null!=(t=i.ownerDocument)&&t.body?i.ownerDocument:document}function Ue(e,t,i){var n=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach((function(t){e[n](t,i)}))}function We(e,t){for(var i=t;i;){var n;if(e.contains(i))return!0;i=null==i.getRootNode||null==(n=i.getRootNode())?void 0:n.host}return!1}var Ve={isTouch:!1},ze=0;function Ge(){Ve.isTouch||(Ve.isTouch=!0,window.performance&&document.addEventListener("mousemove",Xe))}function Xe(){var e=performance.now();e-ze<20&&(Ve.isTouch=!1,document.removeEventListener("mousemove",Xe)),ze=e}function Qe(){var e=document.activeElement;if($e(e)){var t=e._tippy;e.blur&&!t.state.isVisible&&e.blur()}}var Ze=!!("undefined"!=typeof window&&"undefined"!=typeof document)&&!!window.msCrypto;var Ke={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},Ye=Object.assign({appendTo:Ae,aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},Ke,{allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999}),Je=Object.keys(Ye);function et(e){var t=(e.plugins||[]).reduce((function(t,i){var n,r=i.name,s=i.defaultValue;r&&(t[r]=void 0!==e[r]?e[r]:null!=(n=Ye[r])?n:s);return t}),{});return Object.assign({},e,t)}function tt(e,t){var i=Object.assign({},t,{content:xe(t.content,[e])},t.ignoreAttributes?{}
52:function(e,t){return(t?Object.keys(et(Object.assign({},Ye,{plugins:t}))):Je).reduce((function(t,i){var n=(e.getAttribute("data-tippy-"+i)||"").trim();if(!n)return t;if("content"===i)t[i]=n;else try{t[i]=JSON.parse(n)}catch(e){t[i]=n}return t}),{})}(e,t.plugins));return i.aria=Object.assign({},Ye.aria,i.aria),i.aria={expanded:"auto"===i.aria.expanded?t.interactive:i.aria.expanded,content:"auto"===i.aria.content?t.interactive?null:"describedby":i.aria.content},i}var it=function(){return"innerHTML"};function nt(e,t){e[it()]=t}function rt(e){var t=Me();return!0===e?t.className=Ee:(t.className=Ce,Ne(e)?t.appendChild(e):nt(t,e)),t}function st(e,t){Ne(t.content)?(nt(e,""),e.appendChild(t.content)):"function"!=typeof t.content&&(t.allowHTML?nt(e,t.content):e.textContent=t.content)}function ot(e){var t=e.firstElementChild,i=Pe(t.children);return{box:t,content:i.find((function(e){return e.classList.contains(ye)})),arrow:i.find((function(e){return e.classList.contains(Ee)||e.classList.contains(Ce)})),backdrop:i.find((function(e){return e.classList.contains(Se)}))}}function at(e){var t=Me(),i=Me();i.className="tippy-box",i.setAttribute("data-state","hidden"),i.setAttribute("tabindex","-1");var n=Me();function r(i,n){var r=ot(t),s=r.box,o=r.content,a=r.arrow;n.theme?s.setAttribute("data-theme",n.theme):s.removeAttribute("data-theme"),"string"==typeof n.animation?s.setAttribute("data-animation",n.animation):s.removeAttribute("data-animation"),n.inertia?s.setAttribute("data-inertia",""):s.removeAttribute("data-inertia"),s.style.maxWidth="number"==typeof n.maxWidth?n.maxWidth+"px":n.maxWidth,n.role?s.setAttribute("role",n.role):s.removeAttribute("role"),i.content===n.content&&i.allowHTML===n.allowHTML||st(o,e.props),n.arrow?a?i.arrow!==n.arrow&&(s.removeChild(a),s.appendChild(rt(n.arrow))):s.appendChild(rt(n.arrow)):a&&s.removeChild(a)}return n.className=ye,n.setAttribute("data-state","hidden"),st(n,e.props),t.appendChild(i),i.appendChild(n),r(e.props,e.props),{popper:t,onUpdate:r}}at.$$tippy=!0;var lt=1,ct=[],ut=[];function dt(e,t){var i,n,r,s,o,a,l,c,u=tt(e,Object.assign({},Ye,et(De(t)))),d=!1,h=!1,p=!1,f=!1,m=[],g=Te(G,u.interactiveDebounce),b=lt++,v=(c=u.plugins).filter((function(e,t){return c.indexOf(e)===t})),y={id:b,reference:e,popper:Me(),popperInstance:null,props:u,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},plugins:v,clearDelayTimeouts:function(){clearTimeout(i),clearTimeout(n),cancelAnimationFrame(r)},setProps:function(t){0;if(y.state.isDestroyed)return;P("onBeforeUpdate",[y,t]),V();var i=y.props,n=tt(e,Object.assign({},i,De(t),{ignoreAttributes:!0}));y.props=n,W(),i.interactiveDebounce!==n.interactiveDebounce&&(N(),g=Te(G,n.interactiveDebounce));i.triggerTarget&&!n.triggerTarget?Oe(i.triggerTarget).forEach((function(e){e.removeAttribute("aria-expanded")})):n.triggerTarget&&e.removeAttribute("aria-expanded");M(),I(),C&&C(i,n);y.popperInstance&&(K(),J().forEach((function(e){requestAnimationFrame(e._tippy.popperInstance.forceUpdate)})));P("onAfterUpdate",[y,t])},setContent:function(e){y.setProps({content:e})},show:function(){0;var e=y.state.isVisible,t=y.state.isDestroyed,i=!y.state.isEnabled,n=Ve.isTouch&&!y.props.touch,r=_e(y.props.duration,0,Ye.duration);if(e||t||i||n)return;if(T().hasAttribute("disabled"))return;if(P("onShow",[y],!1),!1===y.props.onShow(y))return;y.state.isVisible=!0,x()&&(E.style.visibility="visible");I(),j(),y.state.isMounted||(E.style.transition="none");if(x()){var s=O();je([s.box,s.content],0)}a=function(){var e;if(y.state.isVisible&&!f){if(f=!0,E.offsetHeight,E.style.transition=y.props.moveTransition,x()&&y.props.animation){var t=O(),i=t.box,n=t.content;je([i,n],r),Fe([i,n],"visible")}D(),M(),Re(ut,y),null==(e=y.popperInstance)||e.forceUpdate(),P("onMount",[y]),y.props.animation&&x()&&function(e,t){q(e,t)}(r,(function(){y.state.isShown=!0,P("onShown",[y])}))}},function(){var e,t=y.props.appendTo,i=T();e=y.props.interactive&&t===Ae||"parent"===t?i.parentNode:xe(t,[i]);e.contains(E)||e.appendChild(E);y.state.isMounted=!0,K(),!1}()},hide:function(){0;var e=!y.state.isVisible,t=y.state.isDestroyed,i=!y.state.isEnabled,n=_e(y.props.duration,1,Ye.duration);if(e||t||i)return;if(P("onHide",[y],!1),!1===y.props.onHide(y))return;y.state.isVisible=!1,y.state.isShown=!1,f=!1,d=!1,x()&&(E.style.visibility="hidden");if(N(),F(),I(!0),x()){var r=O(),s=r.box,o=r.content;y.props.animation&&(je([s,o],n),Fe([s,o],"hidden"))}D(),M(),y.props.animation?x()&&function(e,t){q(e,(function(){!y.state.isVisible&&E.parentNode&&E.parentNode.contains(E)&&t()}))}(n,y.unmount):y.unmount()},hideWithInteractivity:function(e){0;k().addEventListener("mousemove",g),Re(ct,g),g(e)},enable:function(){y.state.isEnabled=!0},disable:function(){y.hide(),y.state.isEnabled=!1},unmount:function(){0;y.state.isVisible&&y.hide();if(!y.state.isMounted)return;
vendor: 4,317 bytes, line 52
52Y(),J().forEach((function(e){e._tippy.unmount()})),E.parentNode&&E.parentNode.removeChild(E);ut=ut.filter((function(e){return e!==y})),y.state.isMounted=!1,P("onHidden",[y])},destroy:function(){0;if(y.state.isDestroyed)return;y.clearDelayTimeouts(),y.unmount(),V(),delete e._tippy,y.state.isDestroyed=!0,P("onDestroy",[y])}};if(!u.render)return y;var S=u.render(y),E=S.popper,C=S.onUpdate;E.setAttribute("data-tippy-root",""),E.id="tippy-"+y.id,y.popper=E,e._tippy=y,E._tippy=y;var w=v.map((function(e){return e.fn(y)})),A=e.hasAttribute("aria-expanded");return W(),M(),I(),P("onCreate",[y]),u.showOnCreate&&ee(),E.addEventListener("mouseenter",(function(){y.props.interactive&&y.state.isVisible&&y.clearDelayTimeouts()})),E.addEventListener("mouseleave",(function(){y.props.interactive&&y.props.trigger.indexOf("mouseenter")>=0&&k().addEventListener("mousemove",g)})),y;function _(){var e=y.props.touch;return Array.isArray(e)?e:[e,0]}function L(){return"hold"===_()[0]}function x(){var e;return!(null==(e=y.props.render)||!e.$$tippy)}function T(){return l||e}function k(){var e=T().parentNode;return e?qe(e):document}function O(){return ot(E)}function R(e){return y.state.isMounted&&!y.state.isVisible||Ve.isTouch||s&&"focus"===s.type?0:_e(y.props.delay,e?0:1,Ye.delay)}function I(e){void 0===e&&(e=!1),E.style.pointerEvents=y.props.interactive&&!e?"":"none",E.style.zIndex=""+y.props.zIndex}function P(e,t,i){var n;(void 0===i&&(i=!0),w.forEach((function(i){i[e]&&i[e].apply(i,t)})),i)&&(n=y.props)[e].apply(n,t)}function D(){var t=y.props.aria;if(t.content){var i="aria-"+t.content,n=E.id;Oe(y.props.triggerTarget||e).forEach((function(e){var t=e.getAttribute(i);if(y.state.isVisible)e.setAttribute(i,t?t+" "+n:n);else{var r=t&&t.replace(n,"").trim();r?e.setAttribute(i,r):e.removeAttribute(i)}}))}}function M(){!A&&y.props.aria.expanded&&Oe(y.props.triggerTarget||e).forEach((function(e){y.props.interactive?e.setAttribute("aria-expanded",y.state.isVisible&&e===T()?"true":"false"):e.removeAttribute("aria-expanded")}))}function N(){k().removeEventListener("mousemove",g),ct=ct.filter((function(e){return e!==g}))}function B(t){if(!Ve.isTouch||!p&&"mousedown"!==t.type){var i=t.composedPath&&t.composedPath()[0]||t.target;if(!y.props.interactive||!We(E,i)){if(Oe(y.props.triggerTarget||e).some((function(e){return We(e,i)}))){if(Ve.isTouch)return;if(y.state.isVisible&&y.props.trigger.indexOf("click")>=0)return}else P("onClickOutside",[y,t]);!0===y.props.hideOnClick&&(y.clearDelayTimeouts(),y.hide(),h=!0,setTimeout((function(){h=!1})),y.state.isMounted||F())}}}function $(){p=!0}function H(){p=!1}function j(){var e=k();e.addEventListener("mousedown",B,!0),e.addEventListener("touchend",B,we),e.addEventListener("touchstart",H,we),e.addEventListener("touchmove",$,we)}function F(){var e=k();e.removeEventListener("mousedown",B,!0),e.removeEventListener("touchend",B,we),e.removeEventListener("touchstart",H,we),e.removeEventListener("touchmove",$,we)}function q(e,t){var i=O().box;function n(e){e.target===i&&(Ue(i,"remove",n),t())}if(0===e)return t();Ue(i,"remove",o),Ue(i,"add",n),o=n}function U(t,i,n){void 0===n&&(n=!1),Oe(y.props.triggerTarget||e).forEach((function(e){e.addEventListener(t,i,n),m.push({node:e,eventType:t,handler:i,options:n})}))}function W(){L()&&(U("touchstart",z,{passive:!0}),U("touchend",X,{passive:!0})),function(e){return e.split(/\s+/).filter(Boolean)}(y.props.trigger).forEach((function(e){if("manual"!==e)switch(U(e,z),e){case"mouseenter":U("mouseleave",X);break;case"focus":U(Ze?"focusout":"blur",Q);break;case"focusin":U("focusout",Q)}}))}function V(){m.forEach((function(e){var t=e.node,i=e.eventType,n=e.handler,r=e.options;t.removeEventListener(i,n,r)})),m=[]}function z(e){var t,i=!1;if(y.state.isEnabled&&!Z(e)&&!h){var n="focus"===(null==(t=s)?void 0:t.type);s=e,l=e.currentTarget,M(),!y.state.isVisible&&Be(e)&&ct.forEach((function(t){return t(e)})),"click"===e.type&&(y.props.trigger.indexOf("mouseenter")<0||d)&&!1!==y.props.hideOnClick&&y.state.isVisible?i=!0:ee(e),"click"===e.type&&(d=!i),i&&!n&&te(e)}}function G(e){var t=e.target,i=T().contains(t)||E.contains(t);if("mousemove"!==e.type||!i){var n=J().concat(E).map((function(e){var t,i=null==(t=e._tippy.popperInstance)?void 0:t.state;return i?{popperRect:e.getBoundingClientRect(),popperState:i,props:u}:null}
vendor: 6,229 bytes, line 52
52)).filter(Boolean);(function(e,t){var i=t.clientX,n=t.clientY;return e.every((function(e){var t=e.popperRect,r=e.popperState,s=e.props.interactiveBorder,o=Ie(r.placement),a=r.modifiersData.offset;if(!a)return!0;var l="bottom"===o?a.top.y:0,c="top"===o?a.bottom.y:0,u="right"===o?a.left.x:0,d="left"===o?a.right.x:0,h=t.top-n+l>s,p=n-t.bottom-c>s,f=t.left-i+u>s,m=i-t.right-d>s;return h||p||f||m}))})(n,e)&&(N(),te(e))}}function X(e){Z(e)||y.props.trigger.indexOf("click")>=0&&d||(y.props.interactive?y.hideWithInteractivity(e):te(e))}function Q(e){y.props.trigger.indexOf("focusin")<0&&e.target!==T()||y.props.interactive&&e.relatedTarget&&E.contains(e.relatedTarget)||te(e)}function Z(e){return!!Ve.isTouch&&L()!==e.type.indexOf("touch")>=0}function K(){Y();var t=y.props,i=t.popperOptions,n=t.placement,r=t.offset,s=t.getReferenceClientRect,o=t.moveTransition,l=x()?ot(E).arrow:null,c=s?{getBoundingClientRect:s,contextElement:s.contextElement||T()}:e,u={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(e){var t=e.state;if(x()){var i=O().box;["placement","reference-hidden","escaped"].forEach((function(e){"placement"===e?i.setAttribute("data-placement",t.placement):t.attributes.popper["data-popper-"+e]?i.setAttribute("data-"+e,""):i.removeAttribute("data-"+e)})),t.attributes.popper={}}}},d=[{name:"offset",options:{offset:r}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!o}},u];x()&&l&&d.push({name:"arrow",options:{element:l,padding:3}}),d.push.apply(d,(null==i?void 0:i.modifiers)||[]),y.popperInstance=be(c,E,Object.assign({},i,{placement:n,onFirstUpdate:a,modifiers:d}))}function Y(){y.popperInstance&&(y.popperInstance.destroy(),y.popperInstance=null)}function J(){return Pe(E.querySelectorAll("[data-tippy-root]"))}function ee(e){y.clearDelayTimeouts(),e&&P("onTrigger",[y,e]),j();var t=R(!0),n=_(),r=n[0],s=n[1];Ve.isTouch&&"hold"===r&&s&&(t=s),t?i=setTimeout((function(){y.show()}),t):y.show()}function te(e){if(y.clearDelayTimeouts(),P("onUntrigger",[y,e]),y.state.isVisible){if(!(y.props.trigger.indexOf("mouseenter")>=0&&y.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(e.type)>=0&&d)){var t=R(!1);t?n=setTimeout((function(){y.state.isVisible&&y.hide()}),t):r=requestAnimationFrame((function(){y.hide()}))}}else F()}}function ht(e,t){void 0===t&&(t={});var i=Ye.plugins.concat(t.plugins||[]);document.addEventListener("touchstart",Ge,we),window.addEventListener("blur",Qe);var n=Object.assign({},t,{plugins:i}),r=He(e).reduce((function(e,t){var i=t&&dt(t,n);return i&&e.push(i),e}),[]);return Ne(e)?r[0]:r}ht.defaultProps=Ye,ht.setDefaultProps=function(e){Object.keys(e).forEach((function(t){Ye[t]=e[t]}))},ht.currentInput=Ve;var pt=function(e){var t=void 0===e?{}:e,i=t.exclude,n=t.duration;ut.forEach((function(e){var t=!1;if(i&&(t=$e(i)?e.reference===i:e.popper===i.popper),!t){var r=e.props.duration;e.setProps({duration:n}),e.hide(),e.state.isDestroyed||e.setProps({duration:r})}}))},ft=Object.assign({},J,{effect:function(e){var t=e.state,i={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(t.elements.popper.style,i.popper),t.styles=i,t.elements.arrow&&Object.assign(t.elements.arrow.style,i.arrow)}}),mt=function(e,t){var i;void 0===t&&(t={});var n,r=e,s=[],o=[],a=t.overrides,l=[],c=!1;function u(){o=r.map((function(e){return Oe(e.props.triggerTarget||e.reference)})).reduce((function(e,t){return e.concat(t)}),[])}function d(){s=r.map((function(e){return e.reference}))}function h(e){r.forEach((function(t){e?t.enable():t.disable()}))}function p(e){return r.map((function(t){var i=t.setProps;return t.setProps=function(r){i(r),t.reference===n&&e.setProps(r)},function(){t.setProps=i}}))}function f(e,t){var i=o.indexOf(t);if(t!==n){n=t;var l=(a||[]).concat("content").reduce((function(e,t){return e[t]=r[i].props[t],e}),{});e.setProps(Object.assign({},l,{getReferenceClientRect:"function"==typeof l.getReferenceClientRect?l.getReferenceClientRect:function(){var e;return null==(e=s[i])?void 0:e.getBoundingClientRect()}}))}}h(!1),d(),u();var m={fn:function(){return{onDestroy:function(){h(!0)},onHidden:function(){n=null},onClickOutside:function(e){e.props.showOnCreate&&!c&&(c=!0,n=null)},onShow:function(e){e.props.showOnCreate&&!c&&(c=!0,f(e,s[0]))},onTrigger:function(e,t){f(e,t.currentTarget)}}}},g=ht(Me(),Object.assign({},ke(t,["overrides"]),{plugins:[m].concat(t.plugins||[]),triggerTarget:o,popperOptions:Object.assign({},t.popperOptions,{modifiers:[].concat((null==(i=t.popperOptions)?void 0:i.modifiers)||[],[ft])})})),b=g.show;g.show=function(e){if(b(),!n&&null==e)return f(g,s[0]);if(!n||null!=e){if("number"==typeof e)return s[e]&&f(g,s[e]);if(r.indexOf(e)>=0){var t=e.reference;return f(g,t)}return s.indexOf(e)>=0?f(g,e):void 0}},g.showNext=function(){var e=s[0];if(!n)return g.show(0);var t=s.indexOf(n);g.show(s[t+1]||e)},g.showPrevious=function(){var e=s[s.length-1];if(!n)return g.show(e);var t=s.indexOf(n),i=s[t-1]||e;g.show(i)};var v=g.setProps;return g.setProps=function(e){a=e.overrides||a,v(e)},g.setInstances=function(e){h(!0),l.forEach((function(e){return e()})),r=e,h(!1),d(),u(),l=p(g),g.setProps({triggerTarget:o})},l=p(g),g},gt={mouseover:"mouseenter",focusin:"focus",click:"click"};function bt(e,t){var i=[],n=[],r=!1,s=t.target,o=ke(t,["target"]),a=Object.assign({},o,{trigger:"manual",touch:!1}),l=Object.assign({touch:Ye.touch},o,{showOnCreate:!0}),c=ht(e,a);function u(e){if(e.target&&!r){var i=e.target.closest(s);if(i){var o=i.getAttribute("data-tippy-trigger")||t.trigger||Ye.trigger;if(!i._tippy&&!("touchstart"===e.type&&"boolean"==typeof l.touch||"touchstart"!==e.type&&o.indexOf(gt[e.type])<0)){var a=ht(i,l);a&&(n=n.concat(a))}}}}function d(e,t,n,r){void 0===r&&(r=!1),e.addEventListener(t,n,r),i.push({node:e,eventType:t,handler:n,options:r})}return Oe(c).forEach((function(e){var t=e.destroy,s=e.enable,o=e.disable;e.destroy=function(e){void 0===e&&(e=!0),e&&n.forEach((function(e){e.destroy()})),n=[],i.forEach((function(e){var t=e.node,i=e.eventType,n=e.handler,r=e.options;t.removeEventListener(i,n,r)})),i=[],t()}
vendor: 4,695 bytes, line 52
52,e.enable=function(){s(),n.forEach((function(e){return e.enable()})),r=!1},e.disable=function(){o(),n.forEach((function(e){return e.disable()})),r=!0},function(e){var t=e.reference;d(t,"touchstart",u,we),d(t,"mouseover",u),d(t,"focusin",u),d(t,"click",u)}(e)})),c}var vt={name:"animateFill",defaultValue:!1,fn:function(e){var t;if(null==(t=e.props.render)||!t.$$tippy)return{};var i=ot(e.popper),n=i.box,r=i.content,s=e.props.animateFill?function(){var e=Me();return e.className=Se,Fe([e],"hidden"),e}():null;return{onCreate:function(){s&&(n.insertBefore(s,n.firstElementChild),n.setAttribute("data-animatefill",""),n.style.overflow="hidden",e.setProps({arrow:!1,animation:"shift-away"}))},onMount:function(){if(s){var e=n.style.transitionDuration,t=Number(e.replace("ms",""));r.style.transitionDelay=Math.round(t/10)+"ms",s.style.transitionDuration=e,Fe([s],"visible")}},onShow:function(){s&&(s.style.transitionDuration="0ms")},onHide:function(){s&&Fe([s],"hidden")}}}};var yt={clientX:0,clientY:0},St=[];function Et(e){var t=e.clientX,i=e.clientY;yt={clientX:t,clientY:i}}var Ct={name:"followCursor",defaultValue:!1,fn:function(e){var t=e.reference,i=qe(e.props.triggerTarget||t),n=!1,r=!1,s=!0,o=e.props;function a(){return"initial"===e.props.followCursor&&e.state.isVisible}function l(){i.addEventListener("mousemove",d)}function c(){i.removeEventListener("mousemove",d)}function u(){n=!0,e.setProps({getReferenceClientRect:null}),n=!1}function d(i){var n=!i.target||t.contains(i.target),r=e.props.followCursor,s=i.clientX,o=i.clientY,a=t.getBoundingClientRect(),l=s-a.left,c=o-a.top;!n&&e.props.interactive||e.setProps({getReferenceClientRect:function(){var e=t.getBoundingClientRect(),i=s,n=o;"initial"===r&&(i=e.left+l,n=e.top+c);var a="horizontal"===r?e.top:n,u="vertical"===r?e.right:i,d="horizontal"===r?e.bottom:n,h="vertical"===r?e.left:i;return{width:u-h,height:d-a,top:a,right:u,bottom:d,left:h}}})}function h(){e.props.followCursor&&(St.push({instance:e,doc:i}),function(e){e.addEventListener("mousemove",Et)}(i))}function p(){0===(St=St.filter((function(t){return t.instance!==e}))).filter((function(e){return e.doc===i})).length&&function(e){e.removeEventListener("mousemove",Et)}(i)}return{onCreate:h,onDestroy:p,onBeforeUpdate:function(){o=e.props},onAfterUpdate:function(t,i){var s=i.followCursor;n||void 0!==s&&o.followCursor!==s&&(p(),s?(h(),!e.state.isMounted||r||a()||l()):(c(),u()))},onMount:function(){e.props.followCursor&&!r&&(s&&(d(yt),s=!1),a()||l())},onTrigger:function(e,t){Be(t)&&(yt={clientX:t.clientX,clientY:t.clientY}),r="focus"===t.type},onHidden:function(){e.props.followCursor&&(u(),c(),s=!0)}}}};var wt={name:"inlinePositioning",defaultValue:!1,fn:function(e){var t,i=e.reference;var n=-1,r=!1,s=[],o={name:"tippyInlinePositioning",enabled:!0,phase:"afterWrite",fn:function(r){var o=r.state;e.props.inlinePositioning&&(-1!==s.indexOf(o.placement)&&(s=[]),t!==o.placement&&-1===s.indexOf(o.placement)&&(s.push(o.placement),e.setProps({getReferenceClientRect:function(){return function(e){return function(e,t,i,n){if(i.length<2||null===e)return t;if(2===i.length&&n>=0&&i[0].left>i[1].right)return i[n]||t;switch(e){case"top":case"bottom":var r=i[0],s=i[i.length-1],o="top"===e,a=r.top,l=s.bottom,c=o?r.left:s.left,u=o?r.right:s.right;return{top:a,bottom:l,left:c,right:u,width:u-c,height:l-a};case"left":case"right":var d=Math.min.apply(Math,i.map((function(e){return e.left}))),h=Math.max.apply(Math,i.map((function(e){return e.right}))),p=i.filter((function(t){return"left"===e?t.left===d:t.right===h})),f=p[0].top,m=p[p.length-1].bottom;return{top:f,bottom:m,left:d,right:h,width:h-d,height:m-f};default:return t}}(Ie(e),i.getBoundingClientRect(),Pe(i.getClientRects()),n)}(o.placement)}})),t=o.placement)}};function a(){var t;r||(t=function(e,t){var i;return{popperOptions:Object.assign({},e.popperOptions,{modifiers:[].concat(((null==(i=e.popperOptions)?void 0:i.modifiers)||[]).filter((function(e){return e.name!==t.name})),[t])})}}(e.props,o),r=!0,e.setProps(t),r=!1)}return{onCreate:a,onAfterUpdate:a,onTrigger:function(t,i){if(Be(i)){var r=Pe(e.reference.getClientRects()),s=r.find((function(e){return e.left-2<=i.clientX&&e.right+2>=i.clientX&&e.top-2<=i.clientY&&e.bottom+2>=i.clientY})),o=r.indexOf(s);n=o>-1?o:n}},onHidden:function(){n=-1}}}};var At={name:"sticky",defaultValue:!1,fn:function(e){var t=e.reference,i=e.popper;function n(t){return!0===e.props.sticky||e.props.sticky===t}var r=null,s=null;function o(){var a=n("reference")?(e.popperInstance?e.popperInstance.state.elements.reference:t).getBoundingClientRect():null,l=n("popper")?i.getBoundingClientRect():null;(a&&_t(r,a)||l&&_t(s,l))&&e.popperInstance&&e.popperInstance.update(
52),r=a,s=l,e.state.isMounted&&requestAnimationFrame(o)}return{onMount:function(){e.props.sticky&&o()}}}};function _t(e,t){return!e||!t||(e.top!==t.top||e.right!==t.right||e.bottom!==t.bottom||e.left!==t.left)}ht.setDefaultProps({render:at});var Lt=ht},74467:function(e,t,i){var n,r;!function(s,o){"use strict";e.exports?e.exports=o():void 0===(r="function"==typeof(n=o)?n.call(t,i,t,e):n)||(e.exports=r)}(0,(function(e){"use strict";var t=e&&e.IPv6;return{best:function(e){var t,i,n=e.toLowerCase().split(":"),r=n.length,s=8;for(""===n[0]&&""===n[1]&&""===n[2]?(n.shift(),n.shift()):""===n[0]&&""===n[1]?n.shift():""===n[r-1]&&""===n[r-2]&&n.pop(),-1!==n[(r=n.length)-1].indexOf(".")&&(s=7),t=0;t<r&&""!==n[t];t++);if(t<s)for(n.splice(t,1,"0000");n.length<s;)n.splice(t,0,"0000");for(var o=0;o<s;o++){i=n[o].split("");for(var a=0;a<3&&("0"===i[0]&&i.length>1);a++)i.splice(0,1);n[o]=i.join("")}var l=-1,c=0,u=0,d=-1,h=!1;for(o=0;o<s;o++)h?"0"===n[o]?u+=1:(h=!1,u>c&&(l=d,c=u)):"0"===n[o]&&(h=!0,d=o,u=1);u>c&&(l=d,c=u),c>1&&n.splice(l,c,""),r=n.length;var p="";for(""===n[0]&&(p=":"),o=0;o<r&&(p+=n[o],o!==r-1);o++)p+=":";return""===n[r-1]&&(p+=":"),p},noConflict:function(){return e.IPv6===this&&(e.IPv6=t),this}}}))},97825:function(e,t,i){var n,r;!function(s,o){"use strict";e.exports?e.exports=o():void 0===(r="function"==typeof(n=o)?n.call(t,i,t,e):n)||(e.exports=r)}(0,(function(e){"use strict";var t=e&&e.SecondLevelDomains,i={list:{ac:" com gov mil net org ",ae:" ac co gov mil name net org pro sch ",af:" com edu gov net org ",al:" com edu gov mil net org ",ao:" co ed gv it og pb ",ar:" com edu gob gov int mil net org tur ",at:" ac co gv or ",au:" asn com csiro edu gov id net org ",ba:" co com edu gov mil net org rs unbi unmo unsa untz unze ",bb:" biz co com edu gov info net org store tv ",bh:" biz cc com edu gov info net org ",bn:" com edu gov net org ",bo:" com edu gob gov int mil net org tv ",br:" adm adv agr am arq art ato b bio blog bmd cim cng cnt com coop ecn edu eng esp etc eti far flog fm fnd fot fst g12 ggf gov imb ind inf jor jus lel mat med mil mus net nom not ntr odo org ppg pro psc psi qsl rec slg srv tmp trd tur tv vet vlog wiki zlg ",bs:" com edu gov net org ",bz:" du et om ov rg ",ca:" ab bc mb nb nf nl ns nt nu on pe qc sk yk ",ck:" biz co edu gen gov info net org ",cn:" ac ah bj com cq edu fj gd gov gs gx gz ha hb he hi hl hn jl js jx ln mil net nm nx org qh sc sd sh sn sx tj tw xj xz yn zj ",co:" com edu gov mil net nom org ",cr:" ac c co ed fi go or sa ",cy:" ac biz com ekloges gov ltd name net org parliament press pro tm ",do:" art com edu gob gov mil net org sld web ",dz:" art asso com edu gov net org pol ",ec:" com edu fin gov info med mil net org pro ",eg:" com edu eun gov mil name net org sci ",er:" com edu gov ind mil net org rochest w ",es:" com edu gob nom org ",et:" biz com edu gov info name net org ",fj:" ac biz com info mil name net org pro ",fk:" ac co gov net nom org ",fr:" asso com f gouv nom prd presse tm ",gg:" co net org ",gh:" com edu gov mil org ",gn:" ac com gov net org ",gr:" com edu gov mil net org ",gt:" com edu gob ind mil net org ",gu:" com edu gov net org ",hk:" com edu gov idv net org ",hu:" 2000 agrar bolt casino city co erotica erotika film forum games hotel info ingatlan jogasz konyvelo lakas media news org priv reklam sex shop sport suli szex tm tozsde utazas video ",id:" ac co go mil net or sch web ",il:" ac co gov idf k12 muni net org ",in:" ac co edu ernet firm gen gov i ind mil net nic org res ",iq:" com edu gov i mil net org ",ir:" ac co dnssec gov i id net org sch ",it:" edu gov ",je:" co net org ",jo:" com edu gov mil name net org sch ",jp:" ac ad co ed go gr lg ne or ",ke:" ac co go info me mobi ne or sc ",kh:" com edu gov mil net org per ",ki:" biz com de edu gov info mob net org tel ",km:" asso com coop edu gouv k medecin mil nom notaires pharmaciens presse tm veterinaire ",kn:" edu gov net org ",kr:" ac busan chungbuk chungnam co daegu daejeon es gangwon go gwangju gyeongbuk gyeonggi gyeongnam hs incheon jeju jeonbuk jeonnam k kg mil ms ne or pe re sc seoul ulsan ",kw:" com edu gov net org ",ky:" com edu gov net org ",kz:" com edu gov mil net org ",lb:" c
52om edu gov net org ",lk:" assn com edu gov grp hotel int ltd net ngo org sch soc web ",lr:" com edu gov net org ",lv:" asn com conf edu gov id mil net org ",ly:" com edu gov id med net org plc sch ",ma:" ac co gov m net org press ",mc:" asso tm ",me:" ac co edu gov its net org priv ",mg:" com edu gov mil nom org prd tm ",mk:" com edu gov inf name net org pro ",ml:" com edu gov net org presse ",mn:" edu gov org ",mo:" com edu gov net org ",mt:" com edu gov net org ",mv:" aero biz com coop edu gov info int mil museum name net org pro ",mw:" ac co com coop edu gov int museum net org ",mx:" com edu gob net org ",my:" com edu gov mil name net org sch ",nf:" arts com firm info net other per rec store web ",ng:" biz com edu gov mil mobi name net org sch ",ni:" ac co com edu gob mil net nom org ",np:" com edu gov mil net org ",nr:" biz com edu gov info net org ",om:" ac biz co com edu gov med mil museum net org pro sch ",pe:" com edu gob mil net nom org sld ",ph:" com edu gov i mil net ngo org ",pk:" biz com edu fam gob gok gon gop gos gov net org web ",pl:" art bialystok biz com edu gda gdansk gorzow gov info katowice krakow lodz lublin mil net ngo olsztyn org poznan pwr radom slupsk szczecin torun warszawa waw wroc wroclaw zgora ",pr:" ac biz com edu est gov info isla name net org pro prof ",ps:" com edu gov net org plo sec ",pw:" belau co ed go ne or ",ro:" arts com firm info nom nt org rec store tm www ",rs:" ac co edu gov in org ",sb:" com edu gov net org ",sc:" com edu gov net org ",sh:" co com edu gov net nom org ",sl:" com edu gov net org ",st:" co com consulado edu embaixada gov mil net org principe saotome store ",sv:" com edu gob org red ",sz:" ac co org ",tr:" av bbs bel biz com dr edu gen gov info k12 name net org pol tel tsk tv web ",tt:" aero biz cat co com coop edu gov info int jobs mil mobi museum name net org pro tel travel ",tw:" club com ebiz edu game gov idv mil net org ",mu:" ac co com gov net or org ",mz:" ac co edu gov org ",na:" co com ",nz:" ac co cri geek gen govt health iwi maori mil net org parliament school ",pa:" abo ac com edu gob ing med net nom org sld ",pt:" com edu gov int net nome org publ ",py:" com edu gov mil net org ",qa:" com edu gov mil net org ",re:" asso com nom ",ru:" ac adygeya altai amur arkhangelsk astrakhan bashkiria belgorod bir bryansk buryatia cbg chel chelyabinsk chita chukotka chuvashia com dagestan e-burg edu gov grozny int irkutsk ivanovo izhevsk jar joshkar-ola kalmykia kaluga kamchatka karelia kazan kchr kemerovo khabarovsk khakassia khv kirov koenig komi kostroma kranoyarsk kuban kurgan kursk lipetsk magadan mari mari-el marine mil mordovia mosreg msk murmansk nalchik net nnov nov novosibirsk nsk omsk orenburg org oryol penza perm pp pskov ptz rnd ryazan sakhalin samara saratov simbirsk smolensk spb stavropol stv surgut tambov tatarstan tom tomsk tsaritsyn tsk tula tuva tver tyumen udm udmurtia ulan-ude vladikavkaz vladimir vladivostok volgograd vologda voronezh vrn vyatka yakutia yamal yekaterinburg yuzhno-sakhalinsk ",rw:" ac co com edu gouv gov int mil net ",sa:" com edu gov med net org pub sch ",sd:" com edu gov info med net org tv ",se:" a ac b bd c d e f g h i k l m n o org p parti pp press r s t tm u w x y z ",sg:" com edu gov idn net org per ",sn:" art com edu gouv org perso univ ",sy:" com edu gov mil net news org ",th:" ac co go in mi net or ",tj:" ac biz co com edu go gov info int mil name net nic org test web ",tn:" agrinet com defense edunet ens fin gov ind info intl mincom nat net org perso rnrt rns rnu tourism ",tz:" ac co go ne or ",ua:" biz cherkassy chernigov chernovtsy ck cn co com crimea cv dn dnepropetrovsk donetsk dp edu gov if in ivano-frankivsk kh kharkov kherson khmelnitskiy kiev kirovograd km kr ks kv lg lugansk lutsk lviv me mk net nikolaev od odessa org pl poltava pp rovno rv sebastopol sumy te ternopil uzhgorod vinnica vn zaporizhzhe zhitomir zp zt ",ug:" ac co go ne or org sc ",uk:" ac bl british-library co cym gov govt icnet jet lea ltd me mil mod national-library-scotland nel net nhs nic nls org orgn parliament plc police sch scot soc ",us:" dni fed isa kids nsn ",uy:" com edu gub mil net org ",ve:" co com edu gob info mil net org web ",vi:" co com k12 net org ",vn:" ac biz com edu gov health info int name net org pro ",ye:" co com gov ltd me net org plc ",yu:" ac co edu gov org ",za:" ac agric alt bourse city co cybernet db edu gov grondar iaccess imt inca landesign law mil net ngo nis nom olivetti org pix school tm web ",zm:" ac co com edu gov net org sch ",com:"ar br cn de eu gb gr hu jpn kr no qc ru sa se uk us uy za ",net:"gb jp se uk ",org:"ae",de:"com "},has:function(e){var t=e.lastIndexOf(".");if(t<=0||t>=e.length-1)return!1;var n=e.lastIndexOf(".",t-1);if(n<=0||n>=t-1)return!1;var r=i.list[e.slice(t+1)];return!!r&&r.indexOf(" "+e.slice(n+1,t)+" ")>=0},is:function(e){var t=e.lastIndexOf(".");if(t<=0||t>=e.length-1)return!1;if(e.lastIndexOf(".",t-1)>=0)return!1;var n=i.list[e.slice(t+1)];return!!n&&n.indexOf(" "+e.slice(0,t)+" ")>=0},get:function(e){var t=e.lastIndexOf(".");if(t<=0||t>=e.length-1)return null;var n=e.lastIndexOf(".",t-1);if(n<=0||n>=t-1)return null;var r=i.list[e.slice(t+1)];return r?r.indexOf(" "+e.slice(n+1,t)+" ")<0?null:e.slice(n+1):null},noConflict:function(){return e.SecondLevelDomains===this&&(e.SecondLevelDomains=t),this}};return i}))},93973:function(e,t,i){var n,r,s;!function(o,a){"use strict";e.exports?e.exports=a(i(54182),i(74467),i(97825)):(r=[i(54182),i(74467),i(97825)],void 0===(s="function"==typeof(n=a)?n.apply(t,r):n)||(e.exports=s))}(0,(function(e,t,i,n){"use strict";var r=n&&n.URI;function s(e,t){var i=arguments.length>=1;if(!(this instanceof s))return i?arguments.length>=2?new s(e,t):new s(e):new s;if(void 0===e){if(i)throw new TypeError("undefined is not a valid argument for URI");e="undefined"!=typeof location?location.href+"":""}if(null===e&&i)throw new TypeError("null is not a valid argument for URI");return this.href(e),void 0!==t?this.absoluteTo(t):this}s.version="1.19.11";var o=s.prototype,a=Object.prototype.hasOwnProperty;function l(e){return e.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")}function c(e){return void 0===e?"Undefined":String(Object.prototype.toString.call(e)).slice(8,-1)}function u(e){return"Array"===c(e)}function d(e,t){var i,n,r={};if("RegExp"===c(t))r=null;else if(u(t))for(i=0,n=t.length;i<n;i++)r[t[i]]=!0;else r[t]=!0;for(i=0,n=e.length;i<n;
52i++){(r&&void 0!==r[e[i]]||!r&&t.test(e[i]))&&(e.splice(i,1),n--,i--)}return e}function h(e,t){var i,n;if(u(t)){for(i=0,n=t.length;i<n;i++)if(!h(e,t[i]))return!1;return!0}var r=c(t);for(i=0,n=e.length;i<n;i++)if("RegExp"===r){if("string"==typeof e[i]&&e[i].match(t))return!0}else if(e[i]===t)return!0;return!1}function p(e,t){if(!u(e)||!u(t))return!1;if(e.length!==t.length)return!1;e.sort(),t.sort();for(var i=0,n=e.length;i<n;i++)if(e[i]!==t[i])return!1;return!0}function f(e){return e.replace(/^\/+|\/+$/g,"")}function m(e){return escape(e)}function g(e){return encodeURIComponent(e).replace(/[!'()*]/g,m).replace(/\*/g,"%2A")}s._parts=function(){return{protocol:null,username:null,password:null,hostname:null,urn:null,port:null,path:null,query:null,fragment:null,preventInvalidHostname:s.preventInvalidHostname,duplicateQueryParameters:s.duplicateQueryParameters,escapeQuerySpace:s.escapeQuerySpace}},s.preventInvalidHostname=!1,s.duplicateQueryParameters=!1,s.escapeQuerySpace=!0,s.protocol_expression=/^[a-z][a-z0-9.+-]*$/i,s.idn_expression=/[^a-z0-9\._-]/i,s.punycode_expression=/(xn--)/i,s.ip4_expression=/^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$/,s.ip6_expression=/^\s*((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(%.+)?\s*$/,s.find_uri_expression=/\b((?:[a-z][\w-]+:(?:\/{1,3}|[a-z0-9%])|www\d{0,3}[.]|[a-z0-9.\-]+[.][a-z]{2,4}\/)(?:[^\s()<>]+|\(([^\s()<>]+|(\([^\s()<>]+\)))*\))+(?:\(([^\s()<>]+|(\([^\s()<>]+\)))*\)|[^\s`!()\[\]{};:'".,<>?«»ââââ]))/gi,s.findUri={start:/\b(?:([a-z][a-z0-9.+-]*:\/\/)|www\.)/gi,end:/[\s\r\n]|$/,trim:/[`!()\[\]{};:'".,<>?«»âââââ]+$/,parens:/(\([^\)]*\)|\[[^\]]*\]|\{[^}]*\}|<[^>]*>)/g},s.leading_whitespace_expression=/^[\x00-\x20\u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]+/,s.ascii_tab_whitespace=/[\u0009\u000A\u000D]+/g,s.defaultPorts={http:"80",https:"443",ftp:"21",gopher:"70",ws:"80",wss:"443"},s.hostProtocols=["http","https"],s.invalid_hostname_characters=/[^a-zA-Z0-9\.\-:_]/,s.domAttributes={a:"href",blockquote:"cite",link:"href",base:"href",script:"src",form:"action",img:"src",area:"href",iframe:"src",embed:"src",source:"src",track:"src",input:"src",audio:"src",video:"src"},s.getDomAttribute=function(e){if(e&&e.nodeName){var t=e.nodeName.toLowerCase();if("input"!==t||"image"===e.type)return s.domAttributes[t]}},s.encode=g,s.decode=decodeURIComponent,s.iso8859=function(){s.encode=escape,s.decode=unescape},s.unicode=function(){s.encode=g,s.decode=decodeURIComponent},s.characters={pathname:{encode:{expression:/%(24|26|2B|2C|3B|3D|3A|40)/gi,map:{"%24":"$","%26":"&","%2B":"+","%2C":",","%3B":";","%3D":"=","%3A":":","%40":"@"}},decode:{expression:/[\/\?#]/g,map:{"/":"%2F","?":"%3F","#":"%23"}}},reserved:{encode:{expression:/%(21|23|24|26|27|28|29|2A|2B|2C|2F|3A|3B|3D|3F|40|5B|5D)/gi,map:{"%3A":":","%2F":"/","%3F":"?","%23":"#","%5B":"[","%5D":"]","%40":"@","%21":"!","%24":"$","%26":"&","%27":"'","%28":"(","%29":")","%2A":"*","%2B":"+","%2C":",","%3B":";","%3D":"="}}},urnpath:{encode:{expression:/%(21|24|27|28|29|2A|2B|2C|3B|3D|40)/gi,map:{"%21":"!","%24":"$","%27":"'","%28":"(","%29":")","%2A":"*","%2B":"+","%2C":",","%3B":";","%3D":"=","%40":"@"}},decode:{expression:/[\/\?#:]/g,map:{"/":"%2F","?":"%3F","#":"%23",":":"%3A"}}}},s.encodeQuery=function(e,t){var i=s.encode(e+"");return void 0===t&&(t=s.escapeQuerySpace),t?i.replace(/%20/g,"+"):i},s.decodeQuery=function(e,t){e+="",void 0===t&&(t=s.escapeQuerySpace);try{return s.decode(t?e.replace(/\+/g,"%20"):e)}catch(t){return e}};var b,v={encode:"encode",decode:"decode"},y=function(e,t){return function(i){try{return s[t](i+"").replace(s.characters[e][t].expression,(function(i){return s.characters[e][t].map[i]}))}catch(e){return i}}};for(b in v)s[b+"PathSegment"]=y("pathname",v[b]),s[b+"UrnPathSegment"]=y("urnpath",v[b]);var S=function(e,t,i){return function(n){var r;r=i?function(e){return s[t](s[i](e))}:s[t];for(var o=(n+"").split(e),a=0,l=o.length;a<l;a++)o[a]=r(o[a]);return o.join(e)}};function E(e){return function(t,i){return void 0===t?this._parts[e]||"":(this._parts[e]=t||null,this.build(!i),this)}}function C(e,t){return function(i,n){return void 0===i?this._parts[e]||"":(null!==i&&(i+="").charAt(0)===t&&(i=i.substring(1)),this._parts[e]=i,this.build(!n),this)}}s.decodePath=S("/","decodePathSegment"),s.decodeUrnPath=S(":","decode
52UrnPathSegment"),s.recodePath=S("/","encodePathSegment","decode"),s.recodeUrnPath=S(":","encodeUrnPathSegment","decode"),s.encodeReserved=y("reserved","encode"),s.parse=function(e,t){var i;return t||(t={preventInvalidHostname:s.preventInvalidHostname}),(i=(e=(e=e.replace(s.leading_whitespace_expression,"")).replace(s.ascii_tab_whitespace,"")).indexOf("#"))>-1&&(t.fragment=e.substring(i+1)||null,e=e.substring(0,i)),(i=e.indexOf("?"))>-1&&(t.query=e.substring(i+1)||null,e=e.substring(0,i)),"//"===(e=(e=e.replace(/^(https?|ftp|wss?)?:+[/\\]*/i,"$1://")).replace(/^[/\\]{2,}/i,"//")).substring(0,2)?(t.protocol=null,e=e.substring(2),e=s.parseAuthority(e,t)):(i=e.indexOf(":"))>-1&&(t.protocol=e.substring(0,i)||null,t.protocol&&!t.protocol.match(s.protocol_expression)?t.protocol=void 0:"//"===e.substring(i+1,i+3).replace(/\\/g,"/")?(e=e.substring(i+3),e=s.parseAuthority(e,t)):(e=e.substring(i+1),t.urn=!0)),t.path=e,t},s.parseHost=function(e,t){e||(e="");var i,n,r=(e=e.replace(/\\/g,"/")).indexOf("/");if(-1===r&&(r=e.length),"["===e.charAt(0))i=e.indexOf("]"),t.hostname=e.substring(1,i)||null,t.port=e.substring(i+2,r)||null,"/"===t.port&&(t.port=null);else{var o=e.indexOf(":"),a=e.indexOf("/"),l=e.indexOf(":",o+1);-1!==l&&(-1===a||l<a)?(t.hostname=e.substring(0,r)||null,t.port=null):(n=e.substring(0,r).split(":"),t.hostname=n[0]||null,t.port=n[1]||null)}return t.hostname&&"/"!==e.substring(r).charAt(0)&&(r++,e="/"+e),t.preventInvalidHostname&&s.ensureValidHostname(t.hostname,t.protocol),t.port&&s.ensureValidPort(t.port),e.substring(r)||"/"},s.parseAuthority=function(e,t){return e=s.parseUserinfo(e,t),s.parseHost(e,t)},s.parseUserinfo=function(e,t){var i=e;-1!==e.indexOf("\\")&&(e=e.replace(/\\/g,"/"));var n,r=e.indexOf("/"),o=e.lastIndexOf("@",r>-1?r:e.length-1);return o>-1&&(-1===r||o<r)?(n=e.substring(0,o).split(":"),t.username=n[0]?s.decode(n[0]):null,n.shift(),t.password=n[0]?s.decode(n.join(":")):null,e=i.substring(o+1)):(t.username=null,t.password=null),e},s.parseQuery=function(e,t){if(!e)return{};if(!(e=e.replace(/&+/g,"&").replace(/^\?*&*|&+$/g,"")))return{};for(var i,n,r,o={},l=e.split("&"),c=l.length,u=0;u<c;u++)i=l[u].split("="),n=s.decodeQuery(i.shift(),t),r=i.length?s.decodeQuery(i.join("="),t):null,"__proto__"!==n&&(a.call(o,n)?("string"!=typeof o[n]&&null!==o[n]||(o[n]=[o[n]]),o[n].push(r)):o[n]=r);return o},s.build=function(e){var t="",i=!1;return e.protocol&&(t+=e.protocol+":"),e.urn||!t&&!e.hostname||(t+="//",i=!0),t+=s.buildAuthority(e)||"","string"==typeof e.path&&("/"!==e.path.charAt(0)&&i&&(t+="/"),t+=e.path),"string"==typeof e.query&&e.query&&(t+="?"+e.query),"string"==typeof e.fragment&&e.fragment&&(t+="#"+e.fragment),t},s.buildHost=function(e){var t="";return e.hostname?(s.ip6_expression.test(e.hostname)?t+="["+e.hostname+"]":t+=e.hostname,e.port&&(t+=":"+e.port),t):""},s.buildAuthority=function(e){return s.buildUserinfo(e)+s.buildHost(e)},s.buildUserinfo=function(e){var t="";return e.username&&(t+=s.encode(e.username)),e.password&&(t+=":"+s.encode(e.password)),t&&(t+="@"),t},s.buildQuery=function(e,t,i){var n,r,o,l,c="";for(r in e)if("__proto__"!==r&&a.call(e,r))if(u(e[r]))for(n={},o=0,l=e[r].length;o<l;o++)void 0!==e[r][o]&&void 0===n[e[r][o]+""]&&(c+="&"+s.buildQueryParameter(r,e[r][o],i),!0!==t&&(n[e[r][o]+""]=!0));else void 0!==e[r]&&(c+="&"+s.buildQueryParameter(r,e[r],i));return c.substring(1)},s.buildQueryParameter=function(e,t,i){return s.encodeQuery(e,i)+(null!==t?"="+s.encodeQuery(t,i):"")},s.addQuery=function(e,t,i){if("object"==typeof t)for(var n in t)a.call(t,n)&&s.addQuery(e,n,t[n]);else{if("string"!=typeof t)throw new TypeError("URI.addQuery() accepts an object, string as the name parameter");if(void 0===e[t])return void(e[t]=i);"string"==typeof e[t]&&(e[t]=[e[t]]),u(i)||(i=[i]),e[t]=(e[t]||[]).concat(i)}},s.setQuery=function(e,t,i){if("object"==typeof t)for(var n in t)a.call(t,n)&&s.setQuery(e,n,t[
52n]);else{if("string"!=typeof t)throw new TypeError("URI.setQuery() accepts an object, string as the name parameter");e[t]=void 0===i?null:i}},s.removeQuery=function(e,t,i){var n,r,o;if(u(t))for(n=0,r=t.length;n<r;n++)e[t[n]]=void 0;else if("RegExp"===c(t))for(o in e)t.test(o)&&(e[o]=void 0);else if("object"==typeof t)for(o in t)a.call(t,o)&&s.removeQuery(e,o,t[o]);else{if("string"!=typeof t)throw new TypeError("URI.removeQuery() accepts an object, string, RegExp as the first parameter");void 0!==i?"RegExp"===c(i)?!u(e[t])&&i.test(e[t])?e[t]=void 0:e[t]=d(e[t],i):e[t]!==String(i)||u(i)&&1!==i.length?u(e[t])&&(e[t]=d(e[t],i)):e[t]=void 0:e[t]=void 0}},s.hasQuery=function(e,t,i,n){switch(c(t)){case"String":break;case"RegExp":for(var r in e)if(a.call(e,r)&&t.test(r)&&(void 0===i||s.hasQuery(e,r,i)))return!0;return!1;case"Object":for(var o in t)if(a.call(t,o)&&!s.hasQuery(e,o,t[o]))return!1;return!0;default:throw new TypeError("URI.hasQuery() accepts a string, regular expression or object as the name parameter")}switch(c(i)){case"Undefined":return t in e;case"Boolean":return i===Boolean(u(e[t])?e[t].length:e[t]);case"Function":return!!i(e[t],t,e);case"Array":return!!u(e[t])&&(n?h:p)(e[t],i);case"RegExp":return u(e[t])?!!n&&h(e[t],i):Boolean(e[t]&&e[t].match(i));case"Number":i=String(i);case"String":return u(e[t])?!!n&&h(e[t],i):e[t]===i;default:throw new TypeError("URI.hasQuery() accepts undefined, boolean, string, number, RegExp, Function as the value parameter")}},s.joinPaths=function(){for(var e=[],t=[],i=0,n=0;n<arguments.length;n++){var r=new s(arguments[n]);e.push(r);for(var o=r.segment(),a=0;a<o.length;a++)"string"==typeof o[a]&&t.push(o[a]),o[a]&&i++}if(!t.length||!i)return new s("");var l=new s("").segment(t);return""!==e[0].path()&&"/"!==e[0].path().slice(0,1)||l.path("/"+l.path()),l.normalize()},s.commonPath=function(e,t){var i,n=Math.min(e.length,t.length);for(i=0;i<n;i++)if(e.charAt(i)!==t.charAt(i)){i--;break}return i<1?e.charAt(0)===t.charAt(0)&&"/"===e.charAt(0)?"/":"":("/"===e.charAt(i)&&"/"===t.charAt(i)||(i=e.substring(0,i).lastIndexOf("/")),e.substring(0,i+1))},s.withinString=function(e,t,i){i||(i={});var n=i.start||s.findUri.start,r=i.end||s.findUri.end,o=i.trim||s.findUri.trim,a=i.parens||s.findUri.parens,l=/[a-z0-9-]=["']?$/i;for(n.lastIndex=0;;){var c=n.exec(e);if(!c)break;var u=c.index;if(i.ignoreHtml){var d=e.slice(Math.max(u-3,0),u);if(d&&l.test(d))continue}for(var h=u+e.slice(u).search(r),p=e.slice(u,h),f=-1;;){var m=a.exec(p);if(!m)break;var g=m.index+m[0].length;f=Math.max(f,g)}if(!((p=f>-1?p.slice(0,f)+p.slice(f).replace(o,""):p.replace(o,"")).length<=c[0].length||i.ignore&&i.ignore.test(p))){var b=t(p,u,h=u+p.length,e);void 0!==b?(b=String(b),e=e.slice(0,u)+b+e.slice(h),n.lastIndex=u+b.length):n.lastIndex=h}}return n.lastIndex=0,e},s.ensureValidHostname=function(t,i){var n=!!t,r=!1;if(!!i&&(r=h(s.hostProtocols,i)),r&&!n)throw new TypeError("Hostname cannot be empty, if protocol is "+i);if(t&&t.match(s.invalid_hostname_characters)){if(!e)throw new TypeError('Hostname "'+t+'" contains characters other than [A-Z0-9.-:_] and Punycode.js is not available');if(e.toASCII(t).match(s.invalid_hostname_characters))throw new TypeError('Hostname "'+t+'" contains characters other than [A-Z0-9.-:_]')}},s.ensureValidPort=function(e){if(e){var t=Number(e);if(!(function(e){return/^[0-9]+$/.test(e)}(t)&&t>0&&t<65536))throw new TypeError('Port "'+e+'" is not a valid port')}},s.noConflict=function(e){if(e){var t={URI:this.noConflict()};return n.URITemplate&&"function"==typeof n.URITemplate.noConflict&&(t.URITemplate=n.URITemplate.noConflict()),n.IPv6&&"function"==typeof n.IPv6.noConflict&&(t.IPv6=n.IPv6.noConflict()),n.SecondLevelDomains&&"function"==typeof n.SecondLevelDomains.noConflict&&(t.SecondLevelDomains=n.SecondLevelDomains.noConflict()),t}return n.URI===this&&(n.URI=r),this},o.build=function(e){return!0===e?this._deferred_build=!0:(void 0===e||this._deferred_build)&&(this._string=s.build(this._parts),this._deferred_build=!1),this},o.clone=function(){return new s(this)},o.valueOf=o.toString=function(){return this.build(!1)._string},o.protocol=E("protocol"),o.username=E("username"),o.password=E("password"),o.hostname=E("hostname"),o.port=E("port"),o.query=C("query","?"),o.fragment=C("fragment","#"),o.search=function(e,t){var i=this.query(e,t);return"string"==typeof i&&i.length?"?"+i:i},o.hash=function(e,t){var i=this.fragment(e,t);return"string"==typeof i&&i.length?"#"+i:i},o.pathname=function(e,t){if(void 0===e||!0===e){var i=this._parts.path||(this._parts.hostname?"/":"");return e?(this._parts.urn?s.decodeUrnPath:s.decodePath)(i):i}return this._parts.urn?this._parts.path=e?s.recodeUrnPath(e):"":this._parts.path=e?s.recodePath(e):"/",this.build(!t),this},o.path=o.pathname,o.href=function(e,t){var i;if(void 0===e)return this.toString();this._string="",this._parts=s._parts();var n=e instanceof s,r="object"==typeof e&&(e.hostname||e.path||e.pathname);e.nodeName&&(e=e[s.getDomAttribute(e)]||"",r=!1);if(!n&&r&&void 0!==e.pathname&&(e=e.toString()),"string"==typeof e||e instanceof String)this._parts=s.parse(String(e),this._parts);else{if(!n&&!r)throw new TypeError("invalid input");var o=n?e._parts:e;for(i in o)"query"!==i&&a.call(this._parts,i)&&(this._parts[i]=o[i]);o.query&&this.query(o.query,!1)}return this.build(!t),this},o.is=function(e){var t=!1,n=!1,r=!1,o=!1,a=!1,l=!1,c=!1,u=!this._parts.urn;switch(this._parts.hostname&&(u=!1,n=s.ip4_expression.test(this._parts.hostname),r=s.ip6_expression.test(this._parts.hostname),a=(o=!(t=n||r))&&i&&i.has(this._parts.hostname),l=o&&s.idn_expression.test(this._parts.hostname),c=o&&s.punycode_expression.test(this._parts.hostname)),e.toLowerCase()){case"relative":return u;case"absolute":return!u;case"domain":case"name":return o;case"sld":return a;case"ip":return t;case"ip4":case"ipv4":case"inet4":return n;case"ip6":case"ipv6":case"inet6":return r;case"idn":return l;case"url":return!this._parts.urn;case"urn":return!!this._parts.urn;case"punycode":return c}return null};var w=o.protocol,A=o.port,_=o.hostname;o.protocol=function(e,t){if(e&&!(e=e.replace(/:(\/\/)?$/,"")).match(s.protocol_expression))throw new TypeError('Protocol "'+e+"\" contains characters other than [A-Z0-9.+-] or doesn't start with [A-Z]");return w.call(this,e,t)},o.scheme=o.protocol,o.port=function(e,t){return this._parts.urn?void 0===e?"":this:(void 0!==e&&(0===e&&(e=null),e&&(":"===(e+="").charAt(0)&&(e=e.substring(1)),s.ensureValidPort(e))),A.call(this,e,t))},o.hostname=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0!==e){var i={preventInvalidHostname:this._parts.preventInvalidHostname};if("/"!==s.parseHost(e,i))throw new TypeError('Hostname "'+e+'" contains characters other than [A-Z0-9.-]');e=i.hostname,this._parts.preventInvalidHostname&&s.ensureValidHostname(e,this._parts.protocol)}return _.call(this,e,t)},o.origin=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0===e){var i=this.protocol();return this.authority()?(i?i+"://":"")+this.authority():""}var n=s(e);return this.protocol(n.protocol()).authority(n.authority()).build(!t),this},o.host=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0===e)return this._parts.hostname?s.buildHost(this._parts):"";if("/"!==s.parseHost(e,this._parts))throw new TypeError('Hostname "'+e+'" contains characters other than [A-Z0-9.-]');return this.build(!t),this},o.authority=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0===e)return this._parts.hostname?s.buildAuthority(this._parts):"";if("/"!==s.parseAuthority(e,this._parts))throw new TypeError('Hostname "'+e+'" contains characters other than [A-Z0-9.-]');return this.build(!t),this},o.userinfo=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0===e){var i=s.buildUserinfo(this._parts);return i?i.substring(0,i.length-1):i}return"@"!==e[e.length-1]&&(e+="@"),s.parseUserinfo(e,this._parts),this.build(!t),this},o.resource=function(e,t){var i;return void 0===e?this.path()+this.search()+this.hash():(i=s.parse(e),this._parts.path=i.path,this._parts.query=i.query,this._parts.fragment=i.fragment,this.build(!t),this)},o.subdomain=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0===e){if(!this._parts.hostname||this.is("IP"))return"";var i=this._parts.hostname.length-this.domain().length-1;return this._parts.hostname.substring(0,i)||""}var n=this._parts.hostname.length-this.domain().length,r=this._parts.hostname.substring(0,n),o=new RegExp("^"+l(r));if(e&&"."!==e.charAt(e.length-1)&&(e+="."),-1!==e.indexOf(":"))throw new TypeError("Domains cannot contain colons");return e&&s.ensureValidHostname(e,this._parts.protocol),this._parts.hostname=this._parts.hostname.replace(o,e),this.build(!t),this},o.domain=function(e,t){if(this._parts.urn)return void 0===e?"":this;if("boolean"==typeof e&&(t=e,e=void 0),void 0===e){if(!this._parts.hostname||this.is("IP"))return"";var i=this._parts.hostname.match(/\./g);if(i&&i.length<2)return this._parts.hostname;var n=this._parts.hostname.length-this.tld(t).length-1;return n=this._parts.hostname.lastIndexOf(".",n-1)+1,this._parts.hostname.substring(n)||""}if(!e)throw new TypeError("cannot set domain empty");if(-1!==e.indexOf(":"))throw new TypeError("Domains cannot contain colons");if(s.ensureValidHostname(e,this._parts.protocol),!this._parts.hostname||this.is("IP"))this._parts.hostname=e;else{var r=new RegExp(l(this.domain())+"$");this._parts.hostname=this._parts.hostname.replace(r,e)}return this.build(!t),this},o.tld=function(e,t){if(this._parts.urn)return void 0===e?"":this;if("boolean"==typeof e&&(t=e,e=void 0),void 0===e){if(!this._parts.hostname||this.is("IP"))return"";var n=this._parts.hostname.lastIndexOf("."),r=this._parts.hostname.substring(n+1);return!0!==t&&i&&i.list[r.toLowerCase()]&&i.get(this._parts.hostname)||r}var s;if(!e)throw new TypeError("cannot set TLD empty");if(e.match(/[^a-zA-Z0-9-]/)){if(!i||!i.is(e))throw new TypeError('TLD "'+e+'" contains characters other than [A-Z0-9]');s=new RegExp(l(this.tld())+"$"),this._parts.hostname=this._parts.hostname.replace(s,e)}else{if(!this._parts.hostname||this.is("IP"))throw new ReferenceError("cannot set TLD on non-domain host");s=new RegExp(l(this.tld())+"$"),this._parts.hostname=this._parts.hostname.replace(s,e)}return this.build(!t),this},o.directory=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0===e||!0===e){if(!this._parts.path&&!this._parts.hostname)return"";if("/"===this._parts.path)return"/";var i=this._parts.path.length-this.filename().length-1,n=this._parts.path.substring(0,i)||
52(this._parts.hostname?"/":"");return e?s.decodePath(n):n}var r=this._parts.path.length-this.filename().length,o=this._parts.path.substring(0,r),a=new RegExp("^"+l(o));return this.is("relative")||(e||(e="/"),"/"!==e.charAt(0)&&(e="/"+e)),e&&"/"!==e.charAt(e.length-1)&&(e+="/"),e=s.recodePath(e),this._parts.path=this._parts.path.replace(a,e),this.build(!t),this},o.filename=function(e,t){if(this._parts.urn)return void 0===e?"":this;if("string"!=typeof e){if(!this._parts.path||"/"===this._parts.path)return"";var i=this._parts.path.lastIndexOf("/"),n=this._parts.path.substring(i+1);return e?s.decodePathSegment(n):n}var r=!1;"/"===e.charAt(0)&&(e=e.substring(1)),e.match(/\.?\//)&&(r=!0);var o=new RegExp(l(this.filename())+"$");return e=s.recodePath(e),this._parts.path=this._parts.path.replace(o,e),r?this.normalizePath(t):this.build(!t),this},o.suffix=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0===e||!0===e){if(!this._parts.path||"/"===this._parts.path)return"";var i,n,r=this.filename(),o=r.lastIndexOf(".");return-1===o?"":(i=r.substring(o+1),n=/^[a-z0-9%]+$/i.test(i)?i:"",e?s.decodePathSegment(n):n)}"."===e.charAt(0)&&(e=e.substring(1));var a,c=this.suffix();if(c)a=e?new RegExp(l(c)+"$"):new RegExp(l("."+c)+"$");else{if(!e)return this;this._parts.path+="."+s.recodePath(e)}return a&&(e=s.recodePath(e),this._parts.path=this._parts.path.replace(a,e)),this.build(!t),this},o.segment=function(e,t,i){var n=this._parts.urn?":":"/",r=this.path(),s="/"===r.substring(0,1),o=r.split(n);if(void 0!==e&&"number"!=typeof e&&(i=t,t=e,e=void 0),void 0!==e&&"number"!=typeof e)throw new Error('Bad segment "'+e+'", must be 0-based integer');if(s&&o.shift(),e<0&&(e=Math.max(o.length+e,0)),void 0===t)return void 0===e?o:o[e];if(null===e||void 0===o[e])if(u(t)){o=[];for(var a=0,l=t.length;a<l;a++)(t[a].length||o.length&&o[o.length-1].length)&&(o.length&&!o[o.length-1].length&&o.pop(),o.push(f(t[a])))}else(t||"string"==typeof t)&&(t=f(t),""===o[o.length-1]?o[o.length-1]=t:o.push(t));else t?o[e]=f(t):o.splice(e,1);return s&&o.unshift(""),this.path(o.join(n),i)},o.segmentCoded=function(e,t,i){var n,r,o;if("number"!=typeof e&&(i=t,t=e,e=void 0),void 0===t){if(u(n=this.segment(e,t,i)))for(r=0,o=n.length;r<o;r++)n[r]=s.decode(n[r]);else n=void 0!==n?s.decode(n):void 0;return n}if(u(t))for(r=0,o=t.length;r<o;r++)t[r]=s.encode(t[r]);else t="string"==typeof t||t instanceof String?s.encode(t):t;return this.segment(e,t,i)};var L=o.query;return o.query=function(e,t){if(!0===e)return s.parseQuery(this._parts.query,this._parts.escapeQuerySpace);if("function"==typeof e){var i=s.parseQuery(this._parts.query,this._parts.escapeQuerySpace),n=e.call(this,i);return this._parts.query=s.buildQuery(n||i,this._parts.duplicateQueryParameters,this._parts.escapeQuerySpace),this.build(!t),this}return void 0!==e&&"string"!=typeof e?(this._parts.query=s.buildQuery(e,this._parts.duplicateQueryParameters,this._parts.escapeQuerySpace),this.build(!t),this):L.call(this,e,t)},o.setQuery=function(e,t,i){var n=s.parseQuery(this._parts.query,this._parts.escapeQuerySpace);if("string"==typeof e||e instanceof String)n[e]=void 0!==t?t:null;else{if("object"!=typeof e)throw new TypeError("URI.addQuery() accepts an object, string as the name parameter");for(var r in e)a.call(e,r)&&(n[r]=e[r])}return this._parts.query=s.buildQuery(n,this._parts.duplicateQueryParameters,this._parts.escapeQuerySpace),"string"!=typeof e&&(i=t),this.build(!i),this},o.addQuery=function(e,t,i){var n=s.parseQuery(this._parts.query,this._parts.escapeQuerySpace);return s.addQuery(n,e,void 0===t?null:t),this._parts.query=s.buildQuery(n,this._parts.duplicateQueryParameters,this._parts.escapeQuerySpace),"string"!=typeof e&&(i=t),this.build(!i),this},o.removeQuery=function(e,t,i){var n=s.parseQuery(this._parts.query,this._parts.escapeQuerySpace);return s.removeQuery(n,e,t),this._parts.query=s.buildQuery(n,this._parts.duplicateQueryParameters,this._parts.escapeQuerySpace),"string"!=typeof e&&(i=t),this.build(!i),this},o.hasQuery=function(e,t,i){var n=s.parseQuery(this._parts.query,this._parts.escapeQuerySpace);return s.hasQuery(n,e,t,i)},o.setSearch=o.setQuery,o.addSearch=o.addQuery,o.removeSearch=o.removeQuery,o.hasSearch=o.hasQuery,o.normalize=function(){return this._parts.urn?this.normalizeProtocol(!1).normalizePath(!1).normalizeQuery(!1).normalizeFragment(!1).build():this.normalizeProtocol(!1).normalizeHostname(!1).normalizePort(!1).normalizePath(!1).normalizeQuery(!1).normalizeFragment(!1).build()},o.normalizeProtocol=function(e){return"string"==typeof this._parts.protocol&&(this._parts.protocol=this._parts.protocol.toLowerCase(),this.build(!e)),this},o.normalizeHostname=function(i){return this._parts.hostname&&(this.is("IDN")&&e?this._parts.hostname=e.toASCII(this._parts.hostname):this.is("IPv6")&&t&&(this._parts.hostname=t.best(this._parts.hostname)),this._parts.hostname=this._parts.hostname.toLowerCase(),this.build(!i)),this},o.normalizePort=function(e){return"string"==typeof this._parts.protocol&&this._parts.port===s.defaultPorts[this._parts.protocol]&&(this._parts.port=null,this.build(!e)),this},o.normalizePath=function(e){var t,i=this._parts.path;if(!i)return this;if(this._parts.urn)return this._parts.path=s.recodeUrnPath(this._parts.path),this.build(!e),this;if("/"===this._parts.path)return this;var n,r,o="";for("/"!==(i=s.recodePath(i)).charAt(0)&&(t=!0,i="/"+i),"/.."!==i.slice(-3)&&"/."!==i.slice(-2)||(i+="/"),i=i.replace(/(\/(\.\/)+)|(\/\.$)/g,"/").replace(/\/{2,}/g,"/"),t&&(o=i.substring(1).match(/^(\.\.\/)+/)||"")&&(o=o[0]);-1!==(n=i.search(/\/\.\.(\/|$)/));)0!==n?(-1===(r=i.substring(0,n).lastIndexOf("/"))&&(r=n),i=i.substring(0,r)+i.substring(n+3)):i=i.substring(3);return t&&this.is("relative")&&(i=o+i.substring(1)),this._parts.path=i,this.build(!e),this},o.normalizePathname=o.normalizePath,o.normalizeQuery=function(e){return"string"==typeof this._parts.query&&(this._parts.query.length?this.query(s.parseQuery(this._parts.query,this._parts.escapeQuerySpace)):this._parts.query=null,this.build(!e)),this},o.normalizeFragment=function(e){return this._parts.fragment||(this._parts.fragment=null,this.build(!e)),this},o.normalizeSearch=o.normalizeQuery,o.normalizeHash=o.normalizeFragment,o.iso8859=function(){var e=s.encode,t=s.decode;s.encode=escape,s.decode=decodeURIComponent;try{this.normalize()}finally{s.encode=e,s.decode=t}return this},o.unicode=function(){var e=s.encode,t=s.decode;s.encode=g,s.decode=unescape;try{this.normalize()}finally{s.encode=e,s.decode=t}return this},o.readable=function(){var t=this.clone();t.username("").password("").normalize();var i="";if(t._parts.protocol&&(i+=t._parts.protocol+"://"),t._parts.hostname&&(t.is("punycode")&&e?(i+=e.toUnicode(t._parts.hostname),t._parts.port&&(i+=":"+t._parts.port)):i+=t.host()),t._parts.hostname&&t._parts.path&&"/"!==t._parts.path.
52charAt(0)&&(i+="/"),i+=t.path(!0),t._parts.query){for(var n="",r=0,o=t._parts.query.split("&"),a=o.length;r<a;r++){var l=(o[r]||"").split("=");n+="&"+s.decodeQuery(l[0],this._parts.escapeQuerySpace).replace(/&/g,"%26"),void 0!==l[1]&&(n+="="+s.decodeQuery(l[1],this._parts.escapeQuerySpace).replace(/&/g,"%26"))}i+="?"+n.substring(1)}return i+=s.decodeQuery(t.hash(),!0)},o.absoluteTo=function(e){var t,i,n,r=this.clone(),o=["protocol","username","password","hostname","port"];if(this._parts.urn)throw new Error("URNs do not have any generally defined hierarchical components");if(e instanceof s||(e=new s(e)),r._parts.protocol)return r;if(r._parts.protocol=e._parts.protocol,this._parts.hostname)return r;for(i=0;n=o[i];i++)r._parts[n]=e._parts[n];return r._parts.path?(".."===r._parts.path.substring(-2)&&(r._parts.path+="/"),"/"!==r.path().charAt(0)&&(t=(t=e.directory())||(0===e.path().indexOf("/")?"/":""),r._parts.path=(t?t+"/":"")+r._parts.path,r.normalizePath())):(r._parts.path=e._parts.path,r._parts.query||(r._parts.query=e._parts.query)),r.build(),r},o.relativeTo=function(e){var t,i,n,r,o,a=this.clone().normalize();if(a._parts.urn)throw new Error("URNs do not have any generally defined hierarchical components");if(e=new s(e).normalize(),t=a._parts,i=e._parts,r=a.path(),o=e.path(),"/"!==r.charAt(0))throw new Error("URI is already relative");if("/"!==o.charAt(0))throw new Error("Cannot calculate a URI relative to another relative URI");if(t.protocol===i.protocol&&(t.protocol=null),t.username!==i.username||t.password!==i.password)return a.build();if(null!==t.protocol||null!==t.username||null!==t.password)return a.build();if(t.hostname!==i.hostname||t.port!==i.port)return a.build();if(t.hostname=null,t.port=null,r===o)return t.path="",a.build();if(!(n=s.commonPath(r,o)))return a.build();var l=i.path.substring(n.length).replace(/[^\/]*$/,"").replace(/.*?\//g,"../");return t.path=l+t.path.substring(n.length)||"./",a.build()},o.equals=function(e){var t,i,n,r,o,l=this.clone(),c=new s(e),d={};if(l.normalize(),c.normalize(),l.toString()===c.toString())return!0;if(n=l.query(),r=c.query(),l.query(""),c.query(""),l.toString()!==c.toString())return!1;if(n.length!==r.length)return!1;for(o in t=s.parseQuery(n,this._parts.escapeQuerySpace),i=s.parseQuery(r,this._parts.escapeQuerySpace),t)if(a.call(t,o)){if(u(t[o])){if(!p(t[o],i[o]))return!1}else if(t[o]!==i[o])return!1;d[o]=!0}for(o in i)if(a.call(i,o)&&!d[o])return!1;return!0},o.preventInvalidHostname=function(e){return this._parts.preventInvalidHostname=!!e,this},o.duplicateQueryParameters=function(e){return this._parts.duplicateQueryParameters=!!e,this},o.escapeQuerySpace=function(e){return this._parts.escapeQuerySpace=!!e,this},s}))},54182:function(e,t,i){var n;e=i.nmd(e),function(r){t&&t.nodeType,e&&e.nodeType;var s="object"==typeof i.g&&i.g;s.global!==s&&s.window!==s&&s.self;var o,a=2147483647,l=36,c=1,u=26,d=38,h=700,p=72,f=128,m="-",g=/^xn--/,b=/[^\x20-\x7E]/,v=/[\x2E\u3002\uFF0E\uFF61]/g,y={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},S=l-c,E=Math.floor,C=String.fromCharCode;function w(e){throw new RangeError(y[e])}function A(e,t){for(var i=e.length,n=[];i--;)n[i]=t(e[i]);return n}function _(e,t){var i=e.split("@"),n="";return i.length>1&&(n=i[0]+"@",e=i[1]),n+A((e=e.replace(v,".")).split("."),t).join(".")}function L(e){for(var t,i,n=[],r=0,s=e.length;r<s;)(t=e.charCodeAt(r++))>=55296&&t<=56319&&r<s?56320==(64512&(i=e.charCodeAt(r++)))?n.push(((1023&t)<<10)+(1023&i)+65536):(n.push(t),r--):n.push(t);return n}function x(e){return A(e,(function(e){var t="";return e>65535&&(t+=C((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+=C(e)})).join("")}function T(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function k(e,t,i){var n=0;for(e=i?E(e/h):e>>1,e+=E(e/t);e>S*u>>1;n+=l)e=E(e/S);return E(n+(S+1)*e/(e+d))}function O(e){var t,i,n,r,s,o,d,h,g,b,v,y=[],S=e.length,C=0,A=f,_=p;for((i=e.lastIndexOf(m))<0&&(i=0),n=0;n<i;++n)e.charCodeAt(n)>=128&&w("not-basic"),y.push(e.charCodeAt(n));for(r=i>0?i+1:0;r<S;){for(s=C,o=1,d=l;r>=S&&w("invalid-input"),((h=(v=e.charCodeAt(r++))-48<10?v-22:v-65<26?v-65:v-97<26?v-97:l)>=l||h>E((a-C)/o))&&w("overflow"),C+=h*o,!(h<(g=d<=_?c:d>=_+u?u:d-_));d+=l)o>E(a/(b=l-g))&&w("overflow"),o*=b;_=k(C-s,t=y.length+1,0==s),E(C/t)>a-A&&w("overflow"),A+=E(C/t),C%=t,y.splice(C++,0,A)}return x(y)}function R(e){var t,i,n,r,s,o,d,h,g,b,v,y,S,A,_,x=[];for(y=(e=L(e)).length,t=f,i=0,s=p,o=0;o<y;++o)(v=e[o])<128&&x.push(C(v));for(n=r=x.length,r&&x.push(m);n<y;){for(d=a,o=0;o<y;++o)(v=e[o])>=t&&v<d&&(d=v);for(d-t>E((a-i)/(S=n+1))&&w("overflow"),i+=(d-t)*S,t=d,o=0;o<y;++o)if((v=e[o])<t&&++i>a&&w("overflow"),v==t){for(h=i,g=l;!(h<(b=g<=s?c:g>=s+u?u:g-s));
52g+=l)_=h-b,A=l-b,x.push(C(T(b+_%A,0))),h=E(_/A);x.push(C(T(h,0))),s=k(i,S,n==r),i=0,++n}++i,++t}return x.join("")}o={version:"1.3.2",ucs2:{decode:L,encode:x},decode:O,encode:R,toASCII:function(e){return _(e,(function(e){return b.test(e)?"xn--"+R(e):e}))},toUnicode:function(e){return _(e,(function(e){return g.test(e)?O(e.slice(4).toLowerCase()):e}))}},void 0===(n=function(){return o}.call(t,i,t,e))||(e.exports=n)}()},72071:function(e,t,i){"use strict";i.d(t,{k:function(){return r}});var n=i(68687);class r extends n.oi{static get properties(){return{loadingEventName:{type:String,attribute:"loading"},showLoading:{type:Boolean,attribute:"show-loading"}}}constructor(){super()}connectedCallback(){super.connectedCallback(),this.setSkeletonLoading(),this.loadingEventName&&(this.boundRemoveSkeletonLoading=this.removeSkeletonLoading.bind(this),this.addEventListener(this.loadingEventName,this.boundRemoveSkeletonLoading))}disconnectedCallback(){super.disconnectedCallback(),this.loadingEventName&&this.boundRemoveSkeletonLoading&&this.removeEventListener(this.loadingEventName,this.boundRemoveSkeletonLoading)}createRenderRoot(){return this}firstUpdated(){}updated(e){super.updated(e),e.has("pageReady")&&this.pageReady&&this.removeSkeletonLoading()}setSkeletonLoading(){this.loadingEventName&&(this.setAttribute("aria-busy",!0),this.setAttribute("aria-live","assertive"),this.content=this.querySelectorAll(".js-general-content"),this.content&&this.content.forEach((e=>{e.setAttribute("aria-hidden",!0),e.classList.add("u-hide")})),this.skeleton=this.querySelectorAll(".js-general-skeleton"),this.skeleton)}removeSkeletonLoading(){this.showLoading||(this.setAttribute("aria-busy",!1),this.skeleton&&this.skeleton.forEach((e=>{e.setAttribute("aria-hidden",!0),e.classList.add("u-hide")})),this.content&&this.content.forEach((e=>{e.removeAttribute("aria-hidden"),e.classList.remove("u-hide")})))}}},5194:function(e,t,i){"use strict";i.d(t,{x:function(){return n}});class n extends HTMLElement{constructor(){super(),this._render()}_init(){}_render(){}connectedCallback(){this._init()}getAttributeValue(e){let t=this.getAttribute(e);return void 0===t||""===t||(t||!1)}static registerWebComponent(e){"undefined"!=typeof window&&"customElements"in window&&window.customElements.define(e,this)}}},99362:function(e,t,i){"use strict";i.r(t),i.d(t,{Animation:function(){return u},Dialog:function(){return h},Position:function(){return c},Size:function(){return d}});var n=i(68687),r=i(43322),s=i(41181),o=i(96691),a=i(35854),l=i(74873);const c={Left:"left",Right:"right",Bottom:"bottom",Top:"top",Center:"center"},u={FadeIn:"fadeIn",SlideIn:"slideIn"},d={Tiny:"tiny",Small:"small",Medium:"medium",Large:"large",Full:"full"};class h extends a.C{closeCallback;static get properties(){return{classList:{type:String,attribute:"class-list"},title:{type:String,attribute:"heading"},name:{type:String,attribute:"name",reflect:!0},closeOnEsc:{type:Boolean,attribute:"close-on-esc"},closeButton:{type:Boolean,attribute:"close-button"},alert:{type:Boolean,attribute:"alert"},openOnStart:{type:Boolean,attribute:"open-on-start"},backdropClickClose:{type:Boolean,attribute:"backdrop-click-close"},size:{type:String,attribute:"size",reflect:!0},position:{type:String,attribute:"position",reflect:!0},animation:{type:String,attribute:"animation",reflect:!0},disableBodyScroll:{type:Boolean,attribute:"disable-body-scroll"},dlwDialog:{type:Object},bodyScrolling:{type:Boolean,reflect:!0},open:{type:Boolean,reflect:!0},isLoading:{type:Boolean,attribute:"is-loading",reflect:!0},breadcrumbs:{type:Object,attribute:"breadcrumbs",reflect:!0},renderSkeletonHeading:{type:Boolean,attribute:"render-skeleton-heading",reflect:!0}}}constructor(){super(),(0,r.mI)(),this.size=this.size||this.alert?d.tiny:d.Medium,this.position=this.position||c.Center,this.animation=this.animation||u.FadeIn,this.name=this.name?.replaceAll(" ",""),this.resizeObserver=new ResizeObserver(this._ResizeObserver.bind(this))}connectedCallback(){super.connectedCallback(this.name),this.header=this.querySelector('[slot="header"]'),this.body=this.querySelector('[slot="body"]'),this.footer=this.querySelector('[slot="footer"]'),this.resizeObserver.observe(this.body),this.checkForEscape(this.dlwDialog)}disconnectedCallback(){super.disconnectedCallback(),this.resizeObserver.unobserve(this),(0,o.R)(!1)}createRenderRoot(){return this}firstUpdated(){if(this.dlwDialog=this.querySelector("dialog"),!this.dlwDialog)return;this._UpdateRoot(),this.dlwDialog.removeAttribute("open"),this.eventCloseListener();const e=this.dlwDialog.querySelectorAll("[data-dialog-close]");Array.from(e).forEach((e=>{e.addEventListener("click",(()=>{this.dlwDialog.close()}))})),this.eventClickDataDialogToOpen(),this.openOnStartFunction(),this.bodyWrapper=this.querySelector(".wc-dialog__body"),this.setShadows(),this.executeCallbacksOnInit(),this.ctaLoading=this.footer?.querySelector(".js-cta-loading"),this.handleLoading()}setShadows(){(0,l.Xy)(this.body,this.bodyWrapper)}toggleLoading(e){this.ctaLoading&&(this.isLoading=e,this.ctaLoading.classList.toggle("is-loading",e))}turnOffLoading(){this.toggleLoading(!1)}handleLoading(){this.ctaLoading&&this.ctaLoading.addEventListener("click",(()=>{this.toggleLoading(!0)}))}
52_UpdateRoot(){if(this.header){const e=this.renderRoot.querySelector('slot[name="header"]');e&&e?.prepend(this.header)}if(this.body){const e=this.renderRoot.querySelector('slot[name="body"]');e&&e?.prepend(this.body)}if(this.footer){const e=this.renderRoot.querySelector('slot[name="footer"]');e&&e?.prepend(this.footer)}}_ResizeObserver(e){for(const t of e)this.toggleBodyScrollbar()}toggleBodyScrollbar(){if(!this.bodyWrapper)return;const e=this.body.parentElement,t=e.scrollHeight>e.clientHeight;this.bodyWrapper.classList.toggle("a-scroll",t)}renderBreadcrumb(){if(!this.breadcrumbs)return"";if(this.isLoading){const e=Array(this.breadcrumbs.maxSteps).fill(n.dy`<span class="o-skel__item"> </span>`);return n.dy`<div class="o-skel wc-dialog__breadcrumb"> 53 <div class="o-skel__item"></div> 54 <div 55 class="o-flex o-gap-2 u-mbs-3 u-mbe-4 wc-dialog__breadcrumb-nav" 56 style="--skel--width: 100px;" 57 > 58 ${e} 59 </div> 60 </div>`}return n.dy` 61 <div class="wc-dialog__breadcrumb"> 62 ${this.breadcrumbs.maxSteps||this.breadcrumbs.currentStep?n.dy` <div class="a-progressbar"> 63 <progress 64 id="progress" 65 max=${this.breadcrumbs.maxSteps} 66 value=${this.breadcrumbs.currentStep} 67 ></progress> 68 </div>`:n.Ld} 69 70 <nav 71 class="m-breadcrumb wc-dialog__breadcrumb-nav" 72 aria-label="breadcrumbs" 73 role="navigation" 74 > 75 <ol class="m-breadcrumb__list"> 76 ${this.breadcrumbs.items.map(((e,t)=>n.dy` 77 <li class="m-breadcrumb__item"> 78 ${t>0?n.dy`<span class="m-breadcrumb__icon"> 79 ${(0,r.aT)(s.aX.ArrowRight,"u-icon-tiny")}</span 80 >`:n.Ld} 81 <span 82 class="a-link a-link--secondary" 83 aria-current=${"active"===e.state?"step":n.Ld} 84 > 85 ${this.getBreadcrumbLabel(e)} 86 </span> 87 </li> 88 `))} 89 </ol> 90 </nav> 91 </div> 92 `}getBreadcrumbLabel(e){var t=e.label;return t?.length>=56&&(t=`${t.slice(0,56)}...`),e.icon?n.dy`${(0,r.aT)(s.aX[e.icon],"u-icon-micro")}`:n.dy`${t}`}renderCloseButton(){return this.closeButton&&!this.alert?n.dy` 93 <div class="wc-dialog__close"> 94 <button 95 class="a-btn a-btn--tertiary a-btn--icon" 96 type="button" 97 aria-label="Close Dialog ${this.title}" 98 @click="${e=>this.dlwDialog.close()}" 99 > 100 ${(0,r.aT)(s.aX.Close,"u-icon-micro a-btn__icon")} 101 </button> 102 </div> 103 `:n.Ld}renderHeader(){const e=this.querySelector('[slot="header"]');if(this.renderSkeletonHeading)return n.dy`<header> 104 <div class="o-skel__item u-h4"> </div> 105 ${e?n.dy`<slot name="header" class="u-text-small"></slot>`:n.Ld} 106 </header>`;if(this.title||e){if(!this.title){const e=this.querySelector("h2, h3");e&&(e.id=`${this.name}-title`)}return n.dy`<header> 107 ${this.title?n.dy`<h3 id="${this.name}-title">${this.title}</h3>`:n.Ld} 108 ${e?n.dy`<slot name="header" class="u-text-small"></slot>`:n.Ld} 109 </header>`}}renderFooter(){if(this.querySelector('[slot="footer"]'))return n.dy`<footer><slot name="footer" class="a-btn-group"></slot></footer>`}eventCloseListener(){this.disableBodyScroll&&this.dlwDialog.addEventListener("close",(()=>{this.bodyScrolling=!1,this.open=!1,(0,o.R)(this.bodyScrolling),this.closeCallback&&this.closeCallback()}))}setCloseCallback(e){this.closeCallback=e}eventClickDataDialogToOpen(){document.addEventListener("click",(e=>{e.target.closest("[data-dialog-id]")?.attributes["data-dialog-id"].value===this.dlwDialog.id&&this.openDialog()}))}openOnStartFunction(){(this.openOnStart||"true"===this.openOnStart)&&this.openDialog()}handleBackdropClick(e){if(!this.backdropClickClose||this.alert)return;const t=e.composedPath().every((e=>e!==this.headerSlot?.parentElement&&e!==this.querySelector('slot[name="body"]')&&e!==this.footerSlot?.parentElement));e.target===this.dlwDialog&&t&&this.dlwDialog.close()}closeDialog(){this.dlwDialog.close()}openDialog(){this.dlwDialog&&this.dlwDialog.open||(this.dlwDialog.showModal(),this.disableBodyScroll&&(this.bodyScrolling=!0,this.open=!0,(0,o.R)(this.bodyScrolling),this.toggleBodyScrollbar()))}checkForEscape(){document.addEventListener("keydown",(e=>{"Escape"===e.code&&(this.isLoading||!this.closeOnEsc&&this.dlwDialog.open||this.alert&&this.dlwDialog.open)&&e.preventDefault()}))}setHeaderHtml(e){this.header.innerHTML=e}render(){return n.dy` <dialog 110 class="${this.classList}${this.isLoading?" o-skel":""}" 111 id="${this.name}" 112 aria-modal="${this.alert?"alertdialog":"dialog"}" 113 aria-labelledby="${this.name}-title" 114 aria-describedby="${this.alert?`${this.name}-desc`:n.Ld}" 115 ?is-loading-disabled=${this.isLoading} 116 aria-busy=${this.isLoading||n.Ld} 117 role="dialog" 118 @click="${e=>this.handleBackdropClick(e)}" 119 > 120 ${this.renderBreadcrumb()} ${this.renderCloseButton()} ${this.renderHeader()} 121 <div class="wc-dialog__body"> 122 <slot name="body" id="${this.alert?`${this.name}-desc`:n.Ld}"></slot> 123 </div> 124 ${this.renderFooter()} 125 </dialog>`}}customElements.define("wc-dialog",h)},78509:function(e,t,i){"use strict";var n=i(68687),r=i(43322),s=i(41181),o=i(47359);class a extends n.oi{static get properties(){return{closeOutside:{type:Boolean,attribute:"close-outside"},isDisabled:{type:Boolean,attribute:"disabled",reflect:!0},openOnLoad:{type:Boolean,attribute:"open-on-load"},showAmount:{type:Boolean,attribute:"show-amount"},showAmountRight:{type:Boolean,attribute:"show-amount-right"},labelSelected:{type:String,attribute:"selected-label"},checkboxes:{type:Object},isOpen:{type:Boolean},renderSkeleton:{type:Boolean,attribute:"render-skeleton"}}}constructor(){super()}connectedCallback(){super.connectedCallback(),this.checkboxes=this.querySelectorAll('input[type="checkbox"]'),this.keydownListener=e=>this._ToggleActions(e),this.clickListener=e=>this._ToggleActions(e),document.addEventListener("keydown",this.keydownListener),document.addEventListener("click",this.clickListener),this.checkboxes&&(this._SetAmountCheckedCheckboxes(),this.checkboxes.forEac
125h((e=>{e.addEventListener("change",this._HandleCheckboxChange.bind(this))})),this.addEventListener("external-change",this._HandleCheckboxChangeExternal.bind(this)))}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("keydown",this.keydownListener),document.removeEventListener("click",this.clickListener),this.checkboxes&&this.checkboxes.forEach((e=>{e.removeEventListener("change",this._HandleCheckboxChange.bind(this))}))}createRenderRoot(){return this}firstUpdated(){this._UpdateRoot()}willUpdate(){}_SetAmountCheckedCheckboxes(){this.checkedItems=Array.from(this.checkboxes).filter((e=>e.checked)),this.amount=this.checkedItems.length}_HandleCheckboxChange(e){this._SetAmountCheckedCheckboxes(),this.requestUpdate("amount"),(0,o.r)(this,"wc-floating-menu-updated",{selectedValues:this.checkedItems,allFilters:this.checkboxes})}_HandleCheckboxChangeExternal(e){this._SetAmountCheckedCheckboxes(),this.requestUpdate("amount")}_UpdateRoot(){this.isOpen=this.openOnLoad||!1;const e=this.renderRoot.querySelector('slot[name="summary"]'),t=this.querySelector('[slot="summary"]'),i=this.querySelector(".wc-floating-menu__amount"),n=(0,r.QP)(s.aX.ArrowDown,"u-icon-micro wc-floating-menu__icon");i&&(this.showAmountRight?t.append(i):t.prepend(i)),t.insertAdjacentHTML("beforeend",n),e.prepend(t);this.renderRoot.querySelector('slot[name="panel"]').prepend(this.querySelector('[slot="panel"]'))}_ToggleActions(e){if(this.isDisabled)return;this.closeOutside&&(e.composedPath().includes(this)||(this.isOpen=!1,this.querySelector("details").removeAttribute("open")));const t=this.querySelectorAll("[data-close]");t&&t.length>0&&t.forEach((t=>{t&&e.composedPath().includes(t)&&(this.isOpen=!1,this.querySelector("details").removeAttribute("open"))}))}render(){return n.dy`<details 126 part="details" 127 aria-disabled="${this.isDisabled||n.Ld}" 128 ?open="${this.isOpen}" 129 > 130 <summary part="summary" tabindex="${this.isDisabled?"-1":n.Ld}"> 131 ${this.checkboxes&&this.showAmount?n.dy`<span 132 class="wc-floating-menu__amount${this.amount&&0!=this.amount?"":" u-hide"}" 133 > 134 ${this.amount&&this.amount>0?n.dy`(${this.amount||0})`:""} 135 </span>`:n.Ld} 136 <slot name="summary"></slot> 137 </summary> 138 <div part="panel" aria-alive="polite" role="status"> 139 <slot name="panel"></slot> 140 </div> 141 </details> `}}customElements.define("wc-floating-menu",a)},93385:function(e,t,i){"use strict";var n=i(68687),r=i(43322),s=i(41181),o=i(47359);class a extends n.oi{static get properties(){return{required:{type:Boolean,attribute:"required"},placeholder:{type:String,attribute:"placeholder"},id:{type:String,attribute:"field-id"},webId:{type:String,attribute:"webid"},disabled:{type:Boolean,attribute:"disabled",reflect:!0},value:{type:String,attribute:"value",reflect:!0},isInvalid:{type:Boolean,attribute:"invalid",reflect:!0},describedby:{type:String,attribute:"describedby"},min:{type:Number,attribute:"min"},max:{type:Number,attribute:"max"},step:{type:Number,attribute:"step"}}}constructor(){super()}connectedCallback(){super.connectedCallback()}createRenderRoot(){return this}_StepUp(){const e=(Number(this.value)||0)+(this.step||1),t=e>this.max?this.max:e;this.updateValue(t)}_StepDown(){const e=(Number(this.value)||0)-(this.step||1),t=e<this.min?this.min:e;this.updateValue(t)}_handleChange(e,t){this.updateValue(e.target.value)}updateValue(e){this.value=e.toString(),(0,o.r)(this,"wc-input-number-updated",{id:this.id,value:this.value})}render(){return n.dy` 142 <input 143 type="number" 144 id="${this.id}" 145 .value=${this.value} 146 .disabled=${this.disabled||n.Ld} 147 aria-invalid=${this.isInvalid||n.Ld} 148 min="${this.min||n.Ld}" 149 max="${this.max||n.Ld}" 150 step="${this.step||n.Ld}" 151 placeholder="${this.placeholder||0}" 152 required=${this.required||n.Ld} 153 data-webid=${this.webId||n.Ld} 154 describedby="${this.describedby||n.Ld}" 155 @change=${e=>this._handleChange(e)} 156 /> 157 <button 158 class="a-btn a-btn--icon" 159 aria-label="increase" 160 type="button" 161 disabled=${this.disabled||n.Ld} 162 @click="${this._StepUp}" 163 > 164 ${(0,r.aT)(s.aX.ArrowUp,"u-icon-micro a-btn__icon")} 165 </button> 166 <button 167 class="a-btn a-btn--icon" 168 aria-label="decrease" 169 type="button" 170 disabled=${this.disabled||n.Ld} 171 @click="${this._StepDown}" 172 > 173 ${(0,r.aT)(s.aX.ArrowDown,"u-icon-micro a-btn__icon")} 174 </button> 175 `}}customElements.define("wc-input-number",a)},38985:function(e,t,i){"use strict";i.r(t),i.d(t,{InputSearch:function(){return u}});var n=i(68687),r=i(29805),s=i(43322),o=i(41181),a=i(47359),l=i(86749),c=(i(78509),i(71727));class u extends n.oi{SearchWidth="--doormat-search--width";static get properties(){return{required:{type:Boolean,attribute:"required"},placeholder:{type:String,attribute:"placeholder"},id:{type:String,attribute:"field-id"},searchLabel:{type:String,attribute:"label-search"},clearLabel:{type:String,attribute:"label-clear"},webId:{type:String,attribute:"webid"},disabled:{type:Boolean,attribute:"disabled",reflect:!0},value:{type:String,attribute:"value",reflect:!0},isInvalid:{type:Boolean,attribute:"invalid",reflect:!0},describedby:{type:String,attribute:"describedby"},searchType:{type:String,attribute:"search-type"},searchName:{type:String,attribute:"search-name"},dropdown:{type:Object,attribute:"dropdown",reflect:!0},minLength:{type:Number,attribute:"min-length"},labelAll:{type:String,attribute:"label-all"},labelSelected:{type:String,attribute:"label-selected"},isDesktop:{type:Boolean},disabledSubmit:{type:Boolean},amount:{type:Number,attribute:"amount"},label:{type:String},setSearchSize:{type:Boolean,attribute:"set-search-size"},useAutocomplete:{type:Boolean,attribute:"use-autocomplete"},inputIsFocused:{type:Boolean},autoCompleteHtml:{type:String},autoCompleteIsLoading:{type:Boolean},autoCompleteEmptyResults:{type:String,attribute:"autocomplete-empty-results"}}}constructor(){super(),this.width=null,this.observerFrame=null,this.resizeObserver=new ResizeObserver(this._ResizeObserver.bind(this))}connectedCallback(){super.connectedCallback(),this.label=this.labelAll,this.isDesktop=(0,l.WM)(this,l.JJ).matches,this.resizeObserver.observe(this),this.addEventListener("wc-floating-menu-updated",this._HandleLabel.bind(this)),this._CalculateInputSize(),this._SetLabel(),this.minLength=this.minLength||3,this.disabledSubmit=!this.value||this.value?.length<this.minLength,this.useAutocomplete&&document.addEventListener("click",this.clickListener)}disconnectedCallback(){super.disconnectedCallback(),this.observerFrame&&(cancelAnimationFrame(this.observerFrame),this.observerFrame=null),this.resizeObserver.unobserve(this),this.removeEventListener("wc-floating-menu-updated",this._HandleLabel.bind(this))}createRenderRoot(){return this}_CalculateInputSize(){if(!this.setSearchSize)return;const e=this.closest("header");e&&setTimeout((()=>{const t=this.closest("wc-reveal").getBoundingClientRect().left-e.querySelector(".c-pg-header__primary")?.getBoundingClientRect().left;this.closest("header").style.setProperty(this.SearchWidth,`${Math.round(t)}px`)}),100)}_SetLabel(){if(!this.dropdown)return;const e=this.dropdown.filter((e=>e.checked));this.label=e&&e.length>0?this.labelSelected:this.labelAll}_HandleLabel(e){this.label=e.detail.selectedValues&&e.detail.selectedValues.length?this.labelSelected:this.labelAll}_ResizeObserver(e){for(const t of e){const{width:e}=t.contentRect;if(e===this.width)continue;const i=null===this.width;this.width=e,i||this._ScheduleResizeActions()}}_ScheduleResizeActions(){this.observerFrame||(this.observerFrame=requestAnimationFrame((()=>{this.observerFrame=null,this.isConnected&&(this.isDesktop=(0,l.WM)(this,l.JJ).matches,this.isDesktop&&this._CalculateInputSize())})))}_SetFilter(){if(this.dropdown&&0!==this.dropdown.length)return n.dy` <wc-floating-menu 176 close-outside="true" 177 class="a-form-field__dropdown" 178 show-amount="true" 179 selected-label="${this.labelSelected||n.Ld}" 180 disabled="${this.disabled||n.Ld}" 181 > 182 <div slot="summary" class="a-btn">
183 <span class="a-btn__text u-txt-small"> ${this.label} </span> 184 </div> 185 <ul slot="panel"> 186 ${(0,r.r)(this.dropdown,(e=>n.dy`<li>${this._SetMultiSelect(e)}</li>`))} 187 </ul> 188 </wc-floating-menu>`}_SetMultiSelect(e){return n.dy` 189 <div class="a-form-field a-form-field--checkbox" data-webid="${e.webId||n.Ld}"> 190 <div class="a-form-field__field"> 191 <input 192 type="checkbox" 193 id="${e.id}" 194 name="${e.name||n.Ld}" 195 value="${e.value||n.Ld}" 196 .checked=${e.checked} 197 @input=${e.selectAll?e=>this._ToggleAllCheckbox(e):n.Ld} 198 /> 199 ${(0,s.aT)(o.aX.Available,"a-form-field__icon")} 200 201 <label for="${e.id}">${e.label}</label> 202 </div> 203 </div> 204 `}_ToggleAllCheckbox(e){const t=e.currentTarget.checked;this.dropdown=this.dropdown.map((e=>({...e,checked:t})))}_Clear(e){this.querySelector('input[type="search"]').focus(),this.value="",this.disabledSubmit=!0,(0,a.r)(this,"wc-input-search-updated",{value:this.value,dropdown:this.dropdown}),e.stopPropagation()}_Search(e){this.value&&("keypress"===e.type&&"Enter"!==e.key||this.disabledSubmit||(this.useAutocomplete&&(this.inputIsFocused=!1),(0,a.r)(this,"wc-input-search-submit",{value:this.value,dropdown:this.dropdown})))}_UpdateValue(e){this.value=e.target.value,this.disabledSubmit=this.value.trim().length<this.minLength,this.inputIsFocused=!0,this.disabledSubmit&&(this.autoCompleteHtml=""),this.useAutocomplete&&!this.disabledSubmit&&(this.autoCompleteIsLoading=!0),(0,a.r)(this,"wc-input-search-updated",{id:this.id,value:this.value,dropdown:this.dropdown,callback:this.inputSearchUpdatedCallback})}_InputFocused(e){this.inputIsFocused=!0}clickListener=e=>{!e.composedPath().includes(this)&&this.inputIsFocused&&(this.inputIsFocused=!1)};inputSearchUpdatedCallback=e=>{this.useAutocomplete&&(this.autoCompleteIsLoading=!1,!e||e.length<1?this.autoCompleteHtml=this.getAutocompleteNoResultsHtml():this.autoCompleteHtml=this.getAutocompleteResultsHtml(e))};getAutocompleteResultsHtml(e){return n.dy` 205 <ul> 206 ${e.map((e=>n.dy` 207 <li class="wc-input-search__autocomplete-li"> 208 <a class="wc-input-search__autocomplete-item" href="${e.link}"> 209 <span class="u-truncate-multi">${e.label}<span> 210 </a> 211 </li> 212 `))} 213 </ul> 214 `}getAutocompleteNoResultsHtml(){const e=this.autoCompleteEmptyResults.replace("{0}",this.value);return n.dy` <div class="m-rt u-pi-3 u-pb-3">${(0,c.A)(e)}</div> `}render(){return n.dy` 215 ${this.isDesktop?n.Ld:this._SetFilter()} 216 217 <div class="a-form-field__field"> 218 ${this.isDesktop?this._SetFilter():n.Ld} 219 220 <input 221 type="search" 222 id="${this.id}" 223 .value=${this.value||""} 224 .disabled=${this.disabled||n.Ld} 225 aria-invalid=${this.isInvalid||n.Ld} 226 placeholder="${this.placeholder||n.Ld}" 227 required=${this.required||n.Ld} 228 data-webid=${this.webId||n.Ld} 229 name=${this.searchName||n.Ld} 230 @input=${e=>this._UpdateValue(e)} 231 describedby="${this.describedby||n.Ld}" 232 @keypress=${e=>this._Search(e)} 233 @focusin=${e=>this._InputFocused(e)} 234 /> 235 ${this.useAutocomplete&&this.autoCompleteIsLoading?n.dy`<div class="u-spinner u-icon-micro a-form-field__prefix"></div>`:n.dy`${(0,s.aT)(o.aX.Search,"u-icon-micro a-form-field__prefix")}`} 236 ${this.value?.length>0?n.dy` <button 237 class="a-btn u-label-small a-form-field__clear" 238 type="button" 239 @click="${e=>this._Clear(e)}" 240 aria-label="${this.clearLabel||n.Ld}" 241 title="${this.clearLabel}" 242 > 243 ${(0,s.aT)(o.aX.Close,"u-icon-micro")} 244 </button>`:n.Ld} 245 ${this.searchLabel?n.dy` <button 246 class="a-link u-label-small a-form-field__submit u-white-space-nowrap" 247 type="${this.searchType||"button"}" 248 @click=${e=>this.searchType?n.Ld:this._Search(e)} 249 .disabled=${this.disabledSubmit} 250 > 251 ${this.searchLabel} 252 </button>`:n.Ld} 253 ${this.useAutocomplete?n.dy` 254 <div 255 class="wc-input-search__autocomplete ${this.inputIsFocused&&!this.disabledSubmit&&this.autoCompleteHtml?"":"u-hide"}" 256 > 257 ${this.autoCompleteHtml} 258 </div> 259 `:n.Ld} 260 </div> 261 `}}customElements.define("wc-input-search",u)}
261,50145:function(e,t,i){"use strict";i.r(t),i.d(t,{Message:function(){return a}});var n=i(68687),r=i(41181),s=i(43322),o=i(91759);class a extends n.oi{static closeBtn;static styles=n.iv` 262 slot { 263 display: flex; 264 } 265 `;static get properties(){return{icon:{type:String},closeLabel:{type:String,attribute:"close-label"},hideCloseLabel:{type:Boolean,attribute:"hide-close-label"},type:{type:String,attribute:!1},time:{type:Number,attribute:!1},message:{type:HTMLElement,attribute:!1},aside:{type:HTMLElement,attribute:!1}}}constructor(){super(),(0,s.mI)()}connectedCallback(){super.connectedCallback(),this._SetRootClasses(),this._SetSlotContent()}render(){return this.hasAside=!!this.aside,n.dy` <div class="m-rt wc-message__content"> 266 ${this.icon?(0,s.aT)(this.icon,"wc-message__icon u-icon-tiny"):n.Ld} 267 268 <slot name="message"></slot> 269 <slot name="aside"></slot> 270 271 ${(0,o.MG)(this.closeLabel)?n.Ld:n.dy` <button 272 class="a-btn a-btn--icon a-btn--small wc-message__close" 273 type="button" 274 @click=${()=>this._RemoveMessage()} 275 > 276 ${(0,s.aT)(r.aX.Close,"a-btn__icon")} 277 <span class="a-btn__label${this.hideCloseLabel?" u-sr":""}" 278 >${this.closeLabel}</span 279 > 280 </button>`} 281 </div>`}createRenderRoot(){return this}firstUpdated(){this._UpdateRoot()}_UpdateRoot(){if(this.message){this.renderRoot.querySelector('slot[name="message"]').prepend(this.message)}const e=this.renderRoot.querySelector('slot[name="aside"]');this.aside?e.prepend(this.aside):e.remove()}_SetSlotContent(){this.message=this.querySelector('[slot="message"]'),this.aside=this.querySelector('[slot="aside"]')}_SetRootClasses(){(0,o.MG)(this.closeLabel)||this.classList.add("has-close"),setTimeout((()=>{this.classList.add("active"),this.time&&setTimeout((()=>{this._removeMessage()}),`${this.time}`)}),"200")}_RemoveMessage(){this.classList.remove("active"),this.addEventListener("transitionend",(()=>{this.remove()}))}}customElements.define("wc-message",a)},35854:function(e,t,i){"use strict";i.d(t,{C:function(){return r}});var n=i(68687);class r extends n.oi{id;callbacks;constructor(){super()}connectedCallback(e){super.connectedCallback(),this.id=e;let t=window[e];t?(t.instance=this,this.callbacks=t.callbacks):(t={instance:this},window[e]=t)}disconnectedCallback(){super.disconnectedCallback(),window[this.id]=null}executeCallbacksOnInit(){this.callbacks&&this.callbacks.forEach((e=>{e()}))}}},47359:function(e,t,i){"use strict";function n(e,t,i,n=null){const r={bubbles:!0,composed:!0,detail:i};let s=n?{...r,...n}:r;e.dispatchEvent(new CustomEvent(t,s))}i.d(t,{r:function(){return n}})},41181:function(e,t,i){"use strict";i.d(t,{aX:function(){return n}});const n={AddPhoto:"AddPhoto",AddToCart:"AddToCart",AddUser:"AddUser",Add:"Add",CategoryFinder:"CategoryFinder",CompareArrows:"CompareArrows",Copy:"Copy",Delete:"Delete",Deselect:"Deselect",Download:"Download",Edit:"Edit",Link:"Link",Logout:"Logout",More:"More",New:"New",Pause:"Pause",Play:"Play",Print:"Print",Restart:"Restart",Save:"Save",Share:"Share",ShoppingCartAdd:"ShoppingCartAdd",Upload:"Upload",Call:"Call",Co2:"Co2",Empty:"Empty",Locked:"Locked",FiletypeCsv:"FiletypeCsv",FiletypeDoc:"FiletypeDoc",FiletypeDocx:"FiletypeDocx",FiletypeDwg:"FiletypeDwg",FiletypeFile:"FiletypeFile",FiletypePdf:"FiletypePdf",FiletypeTxt:"FiletypeTxt",FiletypeXml:"FiletypeXml",FiletypeXsl:"FiletypeXsl",FiletypeZip:"FiletypeZip",Belgium:"Belgium",Germany:"Germany",Italy:"Italy",Ukraine:"Ukraine",Globe:"Globe",FavoritesAdded:"FavoritesAdded",Favorites:"Favorites",Pin:"Pin",PushPinFilled:"PushPinFilled",SyncedOff:"SyncedOff",Synced:"Synced",ArrowDown:"ArrowDown",ArrowLeft:"ArrowLeft",ArrowRight:"ArrowRight",ArrowUp:"ArrowUp",BigArrowRight:"BigArrowRight",Close:"Close",DoubleArrowLeft:"DoubleArrowLeft",DoubleArrowRight:"DoubleArrowRight",Hamburger:"Hamburger",Home:"Home",OpenNewScreen:"OpenNewScreen",ShowOff:"ShowOff",Show:"Show",A
281ccess:"Access",Calculate:"Calculate",Calendar:"Calendar",Claims:"Claims",ColorBrightness:"ColorBrightness",ColorSaturation:"ColorSaturation",ColorTemp:"ColorTemp",File:"File",Folder:"Folder",Hand:"Hand",Inbox:"Inbox",Info:"Info",Installer:"Installer",Invoices:"Invoices",Location:"Location",Mail:"Mail",Mobile:"Mobile",Projects:"Projects",Referral:"Referral",Samples:"Samples",Schedule:"Schedule",Settings:"Settings",Support:"Support",Sustainability:"Sustainability",User:"User",Users:"Users",Facebook:"Facebook",Instagram:"Instagram",Linkedin:"Linkedin",Pinterest:"Pinterest",Twitter:"Twitter",Whatsapp:"Whatsapp",Youtube:"Youtube",Available:"Available",Check_circle:"Check_circle",CheckMinus:"CheckMinus",Error:"Error",Lock:"Lock",Unavailable:"Unavailable",Unlocked:"Unlocked",Warning:"Warning",DragHandle:"DragHandle",Filters:"Filters",GridView:"GridView",ListView:"ListView",Search:"Search",Sort:"Sort",TableView:"TableView"}},77905:function(e,t,i){"use strict";i.d(t,{x:function(){return r},y:function(){return n}});const n=()=>`wc-${function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:21,t="",i=crypto.getRandomValues(new Uint8Array(e|=0));for(;e--;)t+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[63&i[e]];return t}(10)}-${Date.now()}-${Math.floor(100*Math.random())}`,r=e=>{let t=0;if(0===e.length)return t;for(let i=0;i<e.length;i++){t=(t<<5)-t+e.charCodeAt(i),t|=0}return t}},75399:function(e,t,i){"use strict";i.d(t,{sx:function(){return n},t:function(){return s},vd:function(){return r}});const n=e=>{const t=document.querySelectorAll('link[rel="stylesheet"]'),i=[];t.forEach((e=>{e.sheet||i.push(new Promise((t=>{e.addEventListener("load",t)})))})),Promise.all(i).then((()=>{e()}))},r=e=>{let t=[];if("string"==typeof e){const i=document.querySelector(`#${e}`);t.push(i)}else e?.forEach((e=>{const i=document.querySelector(`#${e}`);i&&t.push(i)}));return t},s=(e,t)=>(e.forEach((e=>{e.classList.toggle("u-loading",t)})),t)},86749:function(e,t,i){"use strict";i.d(t,{Ec:function(){return r},JJ:function(){return n},WM:function(){return s}});const n="--mq-mob",r="--mq-tablet";function s(e,t){if(!e)return null;if(t&&!0===t)return{matches:!0};if(t&&t.startsWith("--")){let e=window.getComputedStyle(document.documentElement).getPropertyValue(t);return window.matchMedia(e)}return t&&"matchMedia"in window?window.matchMedia(t):void 0}},43322:function(e,t,i){"use strict";i.d(t,{mI:function(){return u},Ey:function(){return f},f6:function(){return p},WM:function(){return c},aT:function(){return d},QP:function(){return h},b1:function(){return m},bd:function(){return l}});var n=i(31782),r=i(71727);class s extends r.B{}s.directiveName="unsafeSVG",s.resultType=2;const o=(0,n.XM)(s);var a=i(68687);function l(e,t,i){let n=i??document.documentElement,r=getComputedStyle(n).getPropertyValue(e),s=window.matchMedia(""==r?e:r);t(s.matches),void 0!==s.addEventListener?s.addEventListener("change",(()=>t(s.matches))):s.addListener((()=>t(s.matches)))}function c(e,t=document.documentElement){if(e&&e.startsWith("--")){let i=window.getComputedStyle(t).getPropertyValue(e);return window.matchMedia(i).matches}}function u(){window.iconSymbolFile}function d(e,t,i){const n=t??a.Ld;return a.dy`<svg aria-hidden="true" class="${n}" ${i}> 282 ${o(`<use xlink:href="${window.iconSymbolFile}#${e}"></use>`)} 283 </svg>`}function h(e,t,i){return`<svg aria-hidden="true" class="${t??a.Ld}" ${i}>\n <use xlink:href="${window.iconSymbolFile}#${e}"></use>\n </svg>`}function p(e){return`\n<svg ${e} width="41" height="41" id="e3qSirTGXBQ1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 36 36" shape-rendering="geometricPrecision" text-rendering="geometricPrecision">\n <path id="marker-path" d="M34.8027,17.8152c0,9.3888-7.6111,17-17,17s-16.999966-7.6112-16.999966-17s7.611156-17.000014,16.999966-17.000014s17,7.611154,17,17.000014Z" fill="#fff" fill-opacity="0.1" stroke="#fff"/>\n <g id="marker-group" transform="translate(17.8028,17.815499) scale(1,1)">\n <g transform="translate(-17.8028,-17.815499)">\n <circle r="7.21275" transform="matrix(1 0 0-1 17.80255 17.81535)" fill="#fff"/>\n <circle r="9.32627" transform="translate(17.8028 17.8155)" fill="none" stroke="#fff"/>\n </g>\n </g>\n</svg>\n `}function f(){return window.fallbackImage}const m=()=>"ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0},74873:function(e,t,i){"use strict";i.d(t,{Fe:function(){return s},Xy:function(){return r},kr:function(){return n}});const n=(e,t=0)=>{"string"==typeof t&&(t="string"==typeof t?parseInt(t,10):t);new IntersectionObserver((i=>{if(i[0].isIntersecting){i[0].boundingClientRect.top<=t?e.classList.add("is-sticky"):e.classList.remove("is-sticky")}else e.classList.remove("is-sticky")}),{threshold:[0,1],rootMargin:`-${t||"0"}px 100px 0px 100px`}).observe(e)},r=(e,t)=>{const i=new IntersectionObserver((e=>{e.forEach((e=>{t.classList.toggle(`at-${e.target.getAttribute("position")}`,1==e.intersectionRatio)}))}),{root:null,rootMargin:"0px",threshold:.02}),n=document.createElement("div");n.setAttribute("position","start"),n.classList.add("a-scroll__start"),n.classList.add("js-scroll-start"),n.setAttribute("aria-hidden","true"),e.prepend(n),i.observe(n);const r=document.createElement("div");r.setAttribute("position","end"),r.classList.add("a-scroll__end"),r.classList.add("js-scroll-end"),r.setAttribute("aria-hidden","true"),e.append(r),i.observe(r)},s=e=>{const t=e.querySelector(".js-scroll-start");t&&t.remove();const i=e.querySelector(".js-scroll-end");i&&i.remove()}},91759:function(e,t,i){"use strict";function n(e){return null==e||""===e}i.d(t,{MG:function(){return n}})},96691:function(e,t,i){"use strict";function n(e){switch(e){case!0:document.documentElement.style.overflow="hidden";break;case!1:document.documentElement.style.overflow="";break;default:document.documentElement.style.overflow="hidden"===document.documentElement.style.overflow?"":"hidden"}}i.d(t,{R:function(){return n}})},73756:function(e,t,i){"use strict";i.d(t,{OR:function(){return s},_Y:function(){return a},fk:function(){return l},hl:function(){return u},i9:function(){return d},ws:function(){return h}});var n=i(33712);const{I:r}=n._$LH,s=e=>void 0===e.strings,o=()=>document.createComment(""),a=(e,t,i)=>{const n=e._$AA.parentNode,s=void 0===t?e._$AB:t._$AA;if(void 0===i){const t=n.insertBefore(o(),s),a=n.insertBefore(o(),s);i=new r(t,a,e,e.options)}else{const t=i._$AB.nextSibling,r=i._$AM,o=r!==e;if(o){let t;i._$AQ?.(e),i._$AM=e,void 0!==i._$AP&&(t=e._$AU)!==r._$AU&&i._$AP(t)}if(t!==s||o){let e=i._$AA;
283for(;e!==t;){const t=e.nextSibling;n.insertBefore(e,s),e=t}}}return i},l=function(e,t){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e;return e._$AI(t,i),e},c={},u=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:c;return e._$AH=t},d=e=>e._$AH,h=e=>{e._$AR(),e._$AA.remove()}},31782:function(e,t,i){"use strict";i.d(t,{XM:function(){return r},Xe:function(){return s},pX:function(){return n}});const n={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},r=e=>function(){for(var t=arguments.length,i=new Array(t),n=0;n<t;n++)i[n]=arguments[n];return{_$litDirective$:e,values:i}};class s{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,t,i){this._$Ct=e,this._$AM=t,this._$Ci=i}_$AS(e,t){return this.update(e,t)}update(e,t){return this.render(...t)}}},71727:function(e,t,i){"use strict";i.d(t,{A:function(){return o},B:function(){return s}});var n=i(33712),r=i(31782);class s extends r.Xe{constructor(e){if(super(e),this.it=n.Ld,e.type!==r.pX.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===n.Ld||null==e)return this._t=void 0,this.it=e;if(e===n.Jb)return e;if("string"!=typeof e)throw Error(this.constructor.directiveName+"() called with a non-string value");if(e===this.it)return this._t;this.it=e;const t=[e];return t.raw=t,this._t={_$litType$:this.constructor.resultType,strings:t,values:[]}}}s.directiveName="unsafeHTML",s.resultType=1;const o=(0,r.XM)(s)},33712:function(e,t,i){"use strict";i.d(t,{Jb:function(){return _},Ld:function(){return L},_$LH:function(){return j},dy:function(){return A},sY:function(){return q}});const n=globalThis,r=n.trustedTypes,s=r?r.createPolicy("lit-html",{createHTML:e=>e}):void 0,o="$lit$",a=`lit$${Math.random().toFixed(9).slice(2)}$`,l="?"+a,c=`<${l}>`,u=document,d=()=>u.createComment(""),h=e=>null===e||"object"!=typeof e&&"function"!=typeof e,p=Array.isArray,f=e=>p(e)||"function"==typeof e?.[Symbol.iterator],m="[ \t\n\f\r]",g=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,b=/-->/g,v=/>/g,y=RegExp(`>|${m}(?:([^\\s"'>=/]+)(${m}*=${m}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),S=/'/g,E=/"/g,C=/^(?:script|style|textarea|title)$/i,w=e=>function(t){for(var i=arguments.length,n=new Array(i>1?i-1:0),r=1;r<i;r++)n[r-1]=arguments[r];return{_$litType$:e,strings:t,values:n}},A=w(1),_=(w(2),w(3),Symbol.for("lit-noChange")),L=Symbol.for("lit-nothing"),x=new WeakMap,T=u.createTreeWalker(u,129);function k(e,t){if(!p(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==s?s.createHTML(t):t}const O=(e,t)=>{const i=e.length-1,n=[];let r,s=2===t?"<svg>":3===t?"<math>":"",l=g;for(let t=0;t<i;t++){const i=e[t];let u,d,h=-1,p=0;for(;p<i.length&&(l.lastIndex=p,d=l.exec(i),null!==d);)p=l.lastIndex,l===g?"!--"===d[1]?l=b:void 0!==d[1]?l=v:void 0!==d[2]?(C.test(d[2])&&(r=RegExp("</"+d[2],"g")),l=y):void 0!==d[3]&&(l=y):l===y?">"===d[0]?(l=r??g,h=-1):void 0===d[1]?h=-2:(h=l.lastIndex-d[2].length,u=d[1],l=void 0===d[3]?y:'"'===d[3]?E:S):l===E||l===S?l=y:l===b||l===v?l=g:(l=y,r=void 0);const f=l===y&&e[t+1].startsWith("/>")?" ":"";s+=l===g?i+c:h>=0?(n.push(u),i.slice(0,h)+o+i.slice(h)+a+f):i+a+(-2===h?t:f)}return[k(e,s+(e[i]||"<?>")+(2===t?"</svg>":3===t?"</math>":"")),n]};class R{constructor(e,t){let i,{strings:n,_$litType$:s}=e;this.parts=[];let c=0,u=0;const h=n.length-1,p=this.parts,[f,m]=O(n,s);if(this.el=R.createElement(f,t),T.currentNode=this.el.content,2===s||3===s){const e=this.el.content.firstChild;e.replaceWith(...e.childNodes)}for(;null!==(i=T.nextNode())&&p.length<h;){if(1===i.nodeType){if(i.hasAttributes())for(const e of i.getAttributeNames())if(e.endsWith(o)){const t=m[u++],n=i.getAttribute(e).split(a),r=/([.?@])?(.*)/.exec(t);p.push({type:1,index:c,name:r[2],strings:n,ctor:"."===r[1]?N:"?"===r[1]?B:"@"===r[1]?$:M}),i.removeAttribute(e)}else e.startsWith(a)&&(p.push({type:6,index:c}),i.removeAttribute(e));if(C.test(i.tagName)){const e=i.textContent.split(a),t=e.length-1;if(t>0){i.textContent=r?r.emptyScript:"";for(let n=0;n<t;n++)i.append(e[n],d()),T.nextNode(),p.push({type:2,index:++c});i.append(e[t],d())}}}else if(8===i.nodeType)if(i.data===l)p.push({type:2,index:c});else{let e=-1;for(;-1!==(e=i.data.indexOf(a,e+1));)p.push({type:7,index:c}),e+=a.length-1}c++}}static createElement(e,t){const i=u.createElement("template");return i.innerHTML=e,i}}function I(e,t){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e,n=arguments.length>3?arguments[3]:void 0;if(t===_)return t;let r=void 0!==n?i._$Co?.[n]:i._$Cl;const s=h(t)?void 0:t._$litDirective$;return r?.constructor!==s&&(r?._$AO?.(!1),void 0===s?r=void 0:(r=new s(e),r._$AT(e,i,n)),void 0!==n?(i._$Co??=[])[n]=r:i._$Cl=r),void 0!==r&&(t=I(e,r._$AS(e,t.values),r,n)),t}class P{constructor(e,t){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=t}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){const{el:{content:t},parts:i}=this._$AD,n=(e?.creationScope??u).importNode(t,!0);T.currentNode=n;let r=T.nextNode(),s=0,o=0,a=i[0];for(;void 0!==a;){if(s===a.index){let t;2===a.type?t=new D(r,r.nextSibling,this,e):1===a.type?t=new a.ctor(r,a.name,a.strings,this,e):6===a.type&&(t=new H(r,this,e)),this._$AV.push(t),a=i[++o]}s!==a?.index&&(r=T.nextNode(),s++)}return T.currentNode=u,n}p(e){let t=0;for(const i of this._$AV)void 0!==i&&(void 0!==i.strings?(i._$AI(e,i,t),t+=i.strings.length-2):i._$AI(e[t])),t++}}class D{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,t,i,n){this.type=2,this._$AH=L,this._$AN=void 0,this._$AA=e,this._$AB=t,this._$AM=i,this.options=n,this._$Cv=n?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode;const t=this._$AM;return void 0!==t&&11===e?.nodeType&&(e=t.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e){e=I(this,e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:this),h(e)?e===L||null==e||""===e?(this._$AH!==L&&this._$AR(),this._$AH=L):e!==this._$AH&&e!==_&&this._(e):void 0!==e._$litType$?this.$(e):void 0!==e.nodeType?this.T(e):f(e)?this.k(e):this._(e)}O(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}T(e){this._$AH!==e&&(this._$AR(),this._$AH=this.O(e))}_(e){this._$AH!==L&&h(this._$AH)?this._$AA.nextSibling.data=e:this.T(u.createTextNode(e)),this._$AH=e}$(e){const{values:t,_$litType$:i}=e,n="number"==typeof i?this._$AC(e):(void 0===i.el&&(i.el=R.createElement(k(i.h,i.h[0]),this.options)),i);if(this._$AH?._$AD===n)this._$AH.p(t);else{const e=new P(n,this),i=e.u(this.options);e.p(t),this.T(i),this._$AH=e}}_$AC(e){let t=x.get(e.strings);return void 0===t&&x.set(e.strings,t=new R(e)),t}k(e){p(this._$AH)||(this._$AH=[],this._$AR());const t=this._$AH;let i,n=0;for(const r of e)n===t.length?t.push(i=new D(this.O(d()),this.O(d()),this,this.options)):i=t[n],i._$AI(r),n++;n<t.length&&(this._$AR(i&&i._$AB.nextSibling,n),t.length=n)}_$AR(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this._$AA.nextSibling,t=arguments.length>1?arguments[1]:void 0;for(this._$AP?.(!1,!0,t);e!==this._$AB;){const t=e.nextSibling;e.remove(),e=t}}setConnected(e){void 0===this._$AM&&(this._$Cv=e,this._$AP?.(e))}}class M{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,t,i,n,r){this.type=1,this._$AH=L,this._$AN=void 0,this.element=e,this.name=t,this._$AM=n,this.options=r,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=L}_$AI(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this,i=arguments.length>2?arguments[2]:void 0,n=arguments.length>3?arguments[3]:void 0;const r=this.strings;let s=!1;if(void 0===r)e=I(this,e,t,0),s=!h(e)||e!==this._$AH&&e!==_,s&&(this._$AH=e);else{const n=e;let o,a;for(e=r[0],o=0;o<r.length-1;o++)a=I(this,n[i+o],t,o),a===_&&(a=this._$AH[o]),s||=!h(a)||a!==this._$AH[o],a===L?e=L:e!==L&&(e+=(a??"")+r[o+1]),this._$AH[o]=a}s&&!n&&this.j(e)}j(e){e===L?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}}class N extends M{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===L?void 0:e}}class B extends M{constructor(){super(...arguments),this.type=4}j(e){this.element.toggleAttribute(this.name,!!e&&e!==L)}}class $ extends M{constructor(e,t,i,n,r){super(e,t,i,n,r),this.type=5}_$AI(e){if((e=I(this,e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:this,0)??L)===_)return;const t=this._$AH,i=e===L&&t!==L||e.capture!==t.capture||e.once!==t.once||e.passive!==t.passive,n=e!==L&&(t===L||i);i&&this.element.removeEventListener(this.name,this,t),n&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}}class H{constructor(e,t,i){this.element=e,this.type=6,this._$AN=void 0,this._$AM=t,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(e){I(this,e)}}const j={M:o,P:a,A:l,C:1,L:O,R:P,D:f,V:I,I:D,H:M,N:B,U:$,B:N,F:H},F=n.litHtmlPolyfillSupport;F?.(R,D),(n.litHtmlVersions??=[]).push("3.3.2");const q=(e,t,i)=>{const n=i?.renderBefore??t;let r=n._$litPart$;if(void 0===r){const e=i?.renderBefore??null;n._$litPart$=r=new D(t.insertBefore(d(),e),e,void 0,i??{})}return r._$AI(e),r}},29805:function(e,t,i){"use strict";i.d(t,{r:function(){return a}});var n=i(33712),r=i(31782),s=i(73756);const o=(e,t,i)=>{const n=new Map;for(let r=t;r<=i;r++)n.set(e[r],r);return n},a=(0,r.XM)(class extends r.Xe{constructor(e){if(super(e),e.type!==r.pX.CHILD)throw Error("repeat() can only be used in text expressions")}
283dt(e,t,i){let n;void 0===i?i=t:void 0!==t&&(n=t);const r=[],s=[];let o=0;for(const t of e)r[o]=n?n(t,o):o,s[o]=i(t,o),o++;return{values:s,keys:r}}render(e,t,i){return this.dt(e,t,i).values}update(e,t){let[i,r,a]=t;const l=(0,s.i9)(e),{values:c,keys:u}=this.dt(i,r,a);if(!Array.isArray(l))return this.ut=u,c;const d=this.ut??=[],h=[];let p,f,m=0,g=l.length-1,b=0,v=c.length-1;for(;m<=g&&b<=v;)if(null===l[m])m++;else if(null===l[g])g--;else if(d[m]===u[b])h[b]=(0,s.fk)(l[m],c[b]),m++,b++;else if(d[g]===u[v])h[v]=(0,s.fk)(l[g],c[v]),g--,v--;else if(d[m]===u[v])h[v]=(0,s.fk)(l[m],c[v]),(0,s._Y)(e,h[v+1],l[m]),m++,v--;else if(d[g]===u[b])h[b]=(0,s.fk)(l[g],c[b]),(0,s._Y)(e,l[m],l[g]),g--,b++;else if(void 0===p&&(p=o(u,b,v),f=o(d,m,g)),p.has(d[m]))if(p.has(d[g])){const t=f.get(u[b]),i=void 0!==t?l[t]:null;if(null===i){const t=(0,s._Y)(e,l[m]);(0,s.fk)(t,c[b]),h[b]=t}else h[b]=(0,s.fk)(i,c[b]),(0,s._Y)(e,l[m],i),l[t]=null;b++}else(0,s.ws)(l[g]),g--;else(0,s.ws)(l[m]),m++;for(;b<=v;){const t=(0,s._Y)(e,h[v+1]);(0,s.fk)(t,c[b]),h[b++]=t}for(;m<=g;){const e=l[m++];null!==e&&(0,s.ws)(e)}return this.ut=u,(0,s.hl)(e,h),n.Jb}})},68687:function(e,t,i){"use strict";i.d(t,{oi:function(){return T},iv:function(){return l},dy:function(){return L.dy},Ld:function(){return L.Ld}});const n=globalThis,r=n.ShadowRoot&&(void 0===n.ShadyCSS||n.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,s=Symbol(),o=new WeakMap;class a{constructor(e,t,i){if(this._$cssResult$=!0,i!==s)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=t}get styleSheet(){let e=this.o;const t=this.t;if(r&&void 0===e){const i=void 0!==t&&1===t.length;i&&(e=o.get(t)),void 0===e&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),i&&o.set(t,e))}return e}toString(){return this.cssText}}const l=function(e){for(var t=arguments.length,i=new Array(t>1?t-1:0),n=1;n<t;n++)i[n-1]=arguments[n];const r=1===e.length?e[0]:i.reduce(((t,i,n)=>t+(e=>{if(!0===e._$cssResult$)return e.cssText;if("number"==typeof e)return e;throw Error("Value passed to 'css' function must be a 'css' function result: "+e+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+e[n+1]),e[0]);return new a(r,e,s)},c=(e,t)=>{if(r)e.adoptedStyleSheets=t.map((e=>e instanceof CSSStyleSheet?e:e.styleSheet));else for(const i of t){const t=document.createElement("style"),r=n.litNonce;void 0!==r&&t.setAttribute("nonce",r),t.textContent=i.cssText,e.appendChild(t)}},u=r?e=>e:e=>e instanceof CSSStyleSheet?(e=>{let t="";for(const i of e.cssRules)t+=i.cssText;return(e=>new a("string"==typeof e?e:e+"",void 0,s))(t)})(e):e,{is:d,defineProperty:h,getOwnPropertyDescriptor:p,getOwnPropertyNames:f,getOwnPropertySymbols:m,getPrototypeOf:g}=Object,b=globalThis,v=b.trustedTypes,y=v?v.emptyScript:"",S=b.reactiveElementPolyfillSupport,E=(e,t)=>e,C={toAttribute(e,t){switch(t){case Boolean:e=e?y:null;break;case Object:case Array:e=null==e?e:JSON.stringify(e)}return e},fromAttribute(e,t){let i=e;switch(t){case Boolean:i=null!==e;break;case Number:i=null===e?null:Number(e);break;case Object:case Array:try{i=JSON.parse(e)}catch(e){i=null}}return i}},w=(e,t)=>!d(e,t),A={attribute:!0,type:String,converter:C,reflect:!1,useDefault:!1,hasChanged:w};Symbol.metadata??=Symbol("metadata"),b.litPropertyMetadata??=new WeakMap;class _ extends HTMLElement{static addInitializer(e){this._$Ei(),(this.l??=[]).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:A;if(t.state&&(t.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(e)&&((t=Object.create(t)).wrapped=!0),this.elementProperties.set(e,t),!t.noAccessor){const i=Symbol(),n=this.getPropertyDescriptor(e,i,t);void 0!==n&&h(this.prototype,e,n)}}static getPropertyDescriptor(e,t,i){const{get:n,set:r}=p(this.prototype,e)??{get(){return this[t]},set(e){this[t]=e}};return{get:n,set(t){const s=n?.call(this);r?.call(this,t),this.requestUpdate(e,s,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??A}static _$Ei(){if(this.hasOwnProperty(E("elementProperties")))return;const e=g(this);e.finalize(),void 0!==e.l&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(E("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(E("properties"))){const e=this.properties,t=[...f(e),...m
283(e)];for(const i of t)this.createProperty(i,e[i])}const e=this[Symbol.metadata];if(null!==e){const t=litPropertyMetadata.get(e);if(void 0!==t)for(const[e,i]of t)this.elementProperties.set(e,i)}this._$Eh=new Map;for(const[e,t]of this.elementProperties){const i=this._$Eu(e,t);void 0!==i&&this._$Eh.set(i,e)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){const t=[];if(Array.isArray(e)){const i=new Set(e.flat(1/0).reverse());for(const e of i)t.unshift(u(e))}else void 0!==e&&t.push(u(e));return t}static _$Eu(e,t){const i=t.attribute;return!1===i?void 0:"string"==typeof i?i:"string"==typeof e?e.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise((e=>this.enableUpdating=e)),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach((e=>e(this)))}addController(e){(this._$EO??=new Set).add(e),void 0!==this.renderRoot&&this.isConnected&&e.hostConnected?.()}removeController(e){this._$EO?.delete(e)}_$E_(){const e=new Map,t=this.constructor.elementProperties;for(const i of t.keys())this.hasOwnProperty(i)&&(e.set(i,this[i]),delete this[i]);e.size>0&&(this._$Ep=e)}createRenderRoot(){const e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return c(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach((e=>e.hostConnected?.()))}enableUpdating(e){}disconnectedCallback(){this._$EO?.forEach((e=>e.hostDisconnected?.()))}attributeChangedCallback(e,t,i){this._$AK(e,i)}_$ET(e,t){const i=this.constructor.elementProperties.get(e),n=this.constructor._$Eu(e,i);if(void 0!==n&&!0===i.reflect){const r=(void 0!==i.converter?.toAttribute?i.converter:C).toAttribute(t,i.type);this._$Em=e,null==r?this.removeAttribute(n):this.setAttribute(n,r),this._$Em=null}}_$AK(e,t){const i=this.constructor,n=i._$Eh.get(e);if(void 0!==n&&this._$Em!==n){const e=i.getPropertyOptions(n),r="function"==typeof e.converter?{fromAttribute:e.converter}:void 0!==e.converter?.fromAttribute?e.converter:C;this._$Em=n;const s=r.fromAttribute(t,e.type);this[n]=s??this._$Ej?.get(n)??s,this._$Em=null}}requestUpdate(e,t,i){let n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],r=arguments.length>4?arguments[4]:void 0;if(void 0!==e){const s=this.constructor;if(!1===n&&(r=this[e]),i??=s.getPropertyOptions(e),!((i.hasChanged??w)(r,t)||i.useDefault&&i.reflect&&r===this._$Ej?.get(e)&&!this.hasAttribute(s._$Eu(e,i))))return;this.C(e,t,i)}!1===this.isUpdatePending&&(this._$ES=this._$EP())}C(e,t,i,n){let{useDefault:r,reflect:s,wrapped:o}=i;r&&!(this._$Ej??=new Map).has(e)&&(this._$Ej.set(e,n??t??this[e]),!0!==o||void 0!==n)||(this._$AL.has(e)||(this.hasUpdated||r||(t=void 0),this._$AL.set(e,t)),!0===s&&this._$Em!==e&&(this._$Eq??=new Set).add(e))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(e){Promise.reject(e)}const e=this.scheduleUpdate();return null!=e&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[e,t]of this._$Ep)this[e]=t;this._$Ep=void 0}const e=this.constructor.elementProperties;if(e.size>0)for(const[t,i]of e){const{wrapped:e}=i,n=this[t];!0!==e||this._$AL.has(t)||void 0===n||this.C(t,void 0,i,n)}}let e=!1;const t=this._$AL;try{e=this.shouldUpdate(t),e?(this.willUpdate(t),this._$EO?.forEach((e=>e.hostUpdate?.())),this.update(t)):this._$EM()}catch(t){throw e=!1,this._$EM(),t}e&&this._$AE(t)}willUpdate(e){}_$AE(e){this._$EO?.forEach((e=>e.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(e){return!0}update(e){this._$Eq&&=this._$Eq.forEach((e=>this._$ET(e,this[e]))),this._$EM()}updated(e){}firstUpdated(e){}}_.elementStyles=[],_.shadowRootOptions={mode:"open"},_[E("elementProperties")]=new Map,_[E("finalized")]=new Map,S?.({ReactiveElement:_}),(b.reactiveElementVersions??=[]).push("2.1.2");var L=i(33712);const x=globalThis;class T extends _{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const e=super.createRenderRoot();return this.renderOptions.renderBefore??=e.firstChild,e}update(e){const t=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=(0,L.sY)(t,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return L.Jb}}T._$litElement$=!0,T.finalized=!0,x.litElementHydrateSupport?.({LitElement:T});const k=x.litElementPolyfillSupport;k?.({LitElement:T});(x.litElementVersions??=[]).push("4.2.2")}},o={};function a(e){var t=o[e];if(void 0!==t)return t.exports;var i=o[e]={id:e,loaded:!1,exports:{}};return s[e].call(i.exports,i,i.exports,a),i.loaded=!0,i.exports}a.m=s,a.H={},a.G=function(e){Object.keys(a.H).map((function(t){a.H[t](e)}))}
vendor: 5,317 bytes, line 283
283,a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,{a:t}),t},t=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},a.t=function(i,n){if(1&n&&(i=this(i)),8&n)return i;if("object"==typeof i&&i){if(4&n&&i.__esModule)return i;if(16&n&&"function"==typeof i.then)return i}var r=Object.create(null);a.r(r);var s={};e=e||[null,t({}),t([]),t(t)];for(var o=2&n&&i;"object"==typeof o&&!~e.indexOf(o);o=t(o))Object.getOwnPropertyNames(o).forEach((function(e){s[e]=function(){return i[e]}}));return s.default=function(){return i},a.d(r,s),r},a.d=function(e,t){for(var i in t)a.o(t,i)&&!a.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},a.f={},a.e=function(e){return Promise.all(Object.keys(a.f).reduce((function(t,i){return a.f[i](e,t),t}),[]))},a.u=function(e){return"js/"+({504:"thumbnail",4530:"vimeoThumbnail",5390:"swiper",5410:"lightgallery",5578:"mediumZoom",5935:"iframe-resizer",6312:"zoom",6791:"video",8132:"plyr"}[e]||e)+"."+{28:"f4fd7cecda1cbd29b4f5",58:"39096d3dc2d0c3278061",127:"39f735fdbbf3dc392259",241:"58e32d6cb7fdeefc1ef7",383:"520ebf6974e99525a1f2",437:"edb5f8eee3ea695c85e9",445:"211d3b5c3f48fbee20fb",502:"92014f8ce17119dd583f",504:"d8341f98b23e6c60573f",519:"311c26a50cef3e112b80",551:"8859b26b8f55bd864cf9",610:"19fb132006d7c014ea61",914:"f74023846bdbab1cd687",933:"9aed07f4cc00bccdb28e",962:"e48be0174ecc3fa908bb",991:"c002f02466c3054d65ce",992:"29ea3b8e9a9a6a807119",1044:"f4694ad41c868ac6f866",1052:"9ea3dd7358ec2ef25dae",1067:"29088b40abce5bd477e7",1173:"bf7b8dd1e9b594ad8266",1270:"5971d4536e5415aba91a",1498:"bc39f140a95eb2949cd4",1662:"bf9ee9485bbc87945c7a",1717:"7ee8ac7c779dd6e260e7",1746:"330b61faeda1734c2c14",2219:"935dd8098d9295dc9144",2334:"e758a7da2753e3cc3491",2349:"bb7b3987053539c95e44",2435:"8da23fa0960861eaf98f",2629:"d18029cfd73ea422ab58",2633:"b9b6e7b5e0de4b5b8dda",2687:"02bb9207158f83927686",2837:"ba3991b055df6952e519",2900:"d9298f13c0fbcd09f64e",2979:"71d75eba3067b12743dc",3064:"d385f329b49cef06b09e",3089:"212904225dbc51e73aa5",3230:"629b86b5fbd2deb4645c",3252:"d2b5b5cdf384a5165be1",3324:"9c24ddfbc38d67650822",3330:"df9cabc074ef9d27f986",3346:"fc31c371a61a7d43250f",3384:"75fc691e1b06bdf4d979",3387:"2b890434f97cf105dc08",3394:"16e849fec00430333ee7",3450:"454630235d4e7757d970",3463:"4584461a77eb55827ce8",3478:"c21786c470007cd7f98b",3504:"59f091baa60c86cfe38d",3511:"7f18d0e9fa447dddca37",3574:"792fb34287c00f949e42",3593:"d2abbc6807521408d2a9",3719:"081cea4f7d2222d33a19",3739:"184dc320d49738a5f234",3771:"ec75a4ffc69ec6cc10e7",3865:"ae9fc14ab50f0cf542a5",3975:"c7d7ee5d8556ce2070ea",4094:"70fab45f1c9d1fd72a5d",4163:"4cc0f67b82910cb13e13",4320:"92d3e8d18ad0c4c79314",4350:"0454e387f73247ae061e",4397:"424962c4d02057327dd6",4416:"9ec4274fb7ac45e8edb0",4477:"6aa2d6f1944c9405380d",4503:"833ed9665d536f0b20a3",4512:"8bd08f0458ceaa4dd93e",4530:"96fbc35a3f155fec9ed9",4540:"cb71244a67680ac157cd",4578:"32b98b22e71d34e0052b",4622:"756c014d0bea9d7227f1",4654:"b340bd25cc3dc29d1256",4705:"2c4ca05d67a8d07adbe0",4897:"c1222f8a321f10314d22",4931:"24072fb1df135de7d7a7",5057:"32fd7fc9bf01a2f075fe",5097:"9680e76dde497a2436d7",5144:"0220a5562b2809e6b3b0",5156:"c0b4d32b494f0e9250ce",5174:"7c85f77561321aab8e83",5187:"95777a8ab374b569796f",5267:"bc2a0851d63c078b74f7",5304:"71468ac09476d7a30e5c",5372:"581435f4cedb90b2a6fc",5390:"926dea8eb78ebc5e1835",5410:"72661240c63ee7ea10c4",5442:"0c7c70cbaa07339a6a7a",5508:"78fe38c2eeefbdfe4bdc",5509:"accd338dd37111db0662",5548:"c9724066c8c3cf588a56",5578:"37e1f82192b58736c8fe",5613:"ddb9737f4f2e4bbd9d53",5651:"40a66d0ae50c256dbb28",5695:"0d68dcda6b00cafb0c01",5696:"27f7903a7a384e89a57d",5707:"89ed56b9eb9b257240fe",5809:"da22a7390701e34cccad",5935:"3d8840179d862bc15601",5981:"8540989dc4b6f002e84e",5998:"f98ee2a40fb441b68ea0",6097:"a9f8e3dbf404cb7e7237",6114:"42218002c3bfafa65805",6194:"552ba1fc227feb79a6f7",6206:"f0a624983cbcf98e8082",6251:"0661eb036c4a6045e3fa",6312:"216dc4f100418d732549",6375:"784e2030500583b0a11e",6410:"b262dd1fde7bce78c55d",6429:"4002bfa9af724657eed2",6471:"d439f94a2787ccddfd47",6474:"33b3f48bd8df91e0b247",6497:"63bab08c59cac6108bb9",6589:"8a2e19465bf39aed407d",6627:"d7b99bb5b9142916dfbe",6694:"74b6b8243aad824c0baa",6791:"42ce54e5af4d0f55e418",7108:"5d2abf4fb6dcf1fe5d0c",7135:"44629fbc0307339c5ffe",7225:"86ebb8da3952cb510abf",7252:"8f5573bc3fce9d304499",7254:"b95c85a77e95930f7337",7277:"baaaa89cbe02a4ff2088",7352:"3e29f43521cedd6a2693",7407:"cccb612cd6107c808339",7414:"5edc4214e361e2e2a592",7421:"507ef6f5c46649fb6e5e",7463:"0b60a83a7b5a814a7eeb",7484:"27d23d2088fdbcf30f4c",7554:"71f3425cf735bd9087cf",7635:"a40f52522f38d8e56312",7667:"1ea8fba141e26048b7d4",7758:"7fbeaedfe403d008dd7d",7760:"b1fe3735abecec9d209f",7873:"c11775da309c6cbb4043",8023:"55a63220b3315bf7d6dd",8047:"6f08f4d7d09635789cd0",8103:"09bb0f2df7cc53e2e41b",8132:"8a7a3d0161674f53037d",8204:"3c77cbf60a63c0f30b7b",8241:"0e64447e8fa53a078a45",8353:"046ee037aded0ae11073",8370:"349ad3f03019ce16384b",8371:"b51799ad9aae7c117475",8398:"fbbe7328a094ba640500",8440:"0a3f3dde5f62665fa5f2",8689:"6936a9f146201c572002",8697:"918a473848e492aedc7a",8708:"ed0d961a6487d7bfc14b",8733:"e1d62c328c6fe4ea1da6",8864:"4c66a167a929be92f60c",8918:"b077d8d4e3b1e4da3cf9",9026:"c7f9407fdaafd094be85",9121:"84fe8ff7415e0a5908cf",9151:"294164bca2
2831ae24b12be",9217:"f70b6648054db7ed1f9e",9343:"7dcdc6ba203cf63f564f",9382:"660696d5fc46cb8a2d4c",9409:"ec9cf511b61b58068e9c",9447:"8b084db48161b9b9338c",9477:"ad9e42cc27acedeab223",9481:"79f8b9b3197eedced520",9488:"439fe246612d3b447f87",9513:"2be55b4015935e790aa2",9514:"a95c5d4351a2be66408d",9530:"135e77f3701de0fde5fc",9551:"d4b7e5db8fcf4c8438c9",9564:"b56b0454f836d6259325",9649:"25954734bbe70387a4a2",9688:"f4a0dcf01f1f5e33b2e1",9723:"215026930bbfccdedcbf",9738:"ad8f79dcce71dc01d96e",9912:"b38ccb58f6ce8bd8c1a7"}[e]+".mjs"},a.miniCssF=function(e){return"css/bundle/"+e+"."+{58:"b2b1655897e5b943432b",502:"70d21909e84debb4aa25",914:"50d60a5caf53cec804fd",991:"b8c80c8fb86f4c48204b",1067:"ee5d415bde757418b982",2633:"4766be7dfc4ede99f00b",2687:"228842fc4160b39faf3c",3064:"7f0252ed477b9886fabd",3230:"89b5b37a1ebba17de1db",3330:"0f3a03669f221b6e2ae6",3511:"aeb000d89fd3396be68e",3865:"238dde8b87b90959a46d",4094:"0c5f7378a8ffd89219a2",4350:"1edead012ea4db0781cb",4416:"0754ef20cc5befbb48bc",4512:"f4a68f267fe8e89e63bf",5372:"ee5d415bde757418b982",5442:"589eff008c437a41a06c",5548:"8c5b220bf6f482881a90",5613:"818a2ddb6f935a87e3e8",6114:"33eed83e792ff9dedae0",6206:"4a3b8b9f1a11b6fe776f",6375:"b8c80c8fb86f4c48204b",6471:"cc3339e303efe9e8e725",6497:"27bb707292ffc1b71499",7135:"8c5b220bf6f482881a90",7225:"382c360e28a0a0f4caae",8398:"dbc1816f35e507841ed3",8733:"1a1039e2826d4fe6fe48",9151:"f57d63db0e68806c28bd",9477:"bc3ce895df2ff2517574",9481:"ca745de9d82e8e061a18",9530:"57b1e4998b794d526344",9551:"9779dd63989e68f1eee0",9723:"0d99afe0a9c0543cea18",9738:"8c5b220bf6f482881a90"}[e]+".chunk.css"},a.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i={},n="webpack:",a.l=function(e,t,r,s){if(i[e])i[e].push(t);else{var o,l;if(void 0!==r)for(var c=document.getElementsByTagName("script"),u=0;u<c.length;u++){var d=c[u];if(d.getAttribute("src")==e||d.getAttribute("data-webpack")==n+r){o=d;break}}o||(l=!0,(o=document.createElement("script")).charset="utf-8",o.timeout=120,a.nc&&o.setAttribute("nonce",a.nc),o.setAttribute("data-webpack",n+r),o.src=e),i[e]=[t];var h=function(t,n){o.onerror=o.onload=null,clearTimeout(p);var r=i[e];if(delete i[e],o.parentNode&&o.parentNode.removeChild(o),r&&r.forEach((function(e){return e(n)})),t)return t(n)},p=setTimeout(h.bind(null,void 0,{type:"timeout",target:o}),12e4);o.onerror=h.bind(null,o.onerror),o.onload=h.bind(null,o.onload),l&&document.head.appendChild(o)}},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e},a.j=9852,a.p="/etex/js/assets/",function(){if("undefined"!=typeof document){var e=function(e){return new Promise((function(t,i){var n=a.miniCssF(e),r=a.p+n;if(function(e,t){for(var i=document.getElementsByTagName("link"),n=0;n<i.length;n++){var r=(o=i[n]).getAttribute("data-href")||o.getAttribute("href");if("stylesheet"===o.rel&&(r===e||r===t))return o}var s=document.getElementsByTagName("style");for(n=0;n<s.length;n++){var o;if((r=(o=s[n]).getAttribute("data-href"))===e||r===t)return o}}(n,r))return t();!function(e,t,i,n,r){var s=document.createElement("link");s.rel="stylesheet",s.type="text/css",s.onerror=s.onload=function(i){if(s.onerror=s.onload=null,"load"===i.type)n();else{var o=i&&("load"===i.type?"missing":i.type),a=i&&i.target&&i.target.href||t,l=new Error("Loading CSS chunk "+e+" failed.\n("+a+")");l.code="CSS_CHUNK_LOAD_FAILED",l.type=o,l.request=a,s.parentNode&&s.parentNode.removeChild(s),r(l)}},s.href=t,i?i.parentNode.insertBefore(s,i.nextSibling):document.head.appendChild(s)}(e,r,null,t,i)}))},t={9852:0};a.f.miniCss=function(i,n){t[i]?n.push(t[i]):0!==t[i]&&{58:1,502:1,914:1,991:1,1067:1,2633:1,2687:1,3064:1,3230:1,3330:1,3511:1,3865:1,4094:1,4350:1,4416:1,4512:1,5372:1,5442:1,5548:1,5613:1,6114:1,6206:1,6375:1,6471:1,6497:1,7135:1,7225:1,8398:1,8733:1,9151:1,9477:1,9481:1,9530:1,9551:1,9723:1,9738:1}[i]&&n.push(t[i]=e(i).then((function(){t[i]=0}),(function(e){throw delete t[i],e})))}}}(),function(){var e={9852:0};a.f.j=function(t,i){var n=a.o(e,t)?e[t]:void 0;if(0!==n)if(n)i.push(n[2]);else if(/^(4350|5548|7135|9738)$/.test(t))e[t]=0;else{var r=new Promise((function(i,r){n=e[t]=[i,r]}));i.push(n[2]=r);var s=a.p+a.u(t),o=new Error;a.l(s,(function(i){if(a.o(e,t)&&(0!==(n=e[t])&&(e[t]=void 0),n)){var r=i&&("load"===i.type?"missing":i.type),s=i&&i.target&&i.target.src;o.message="Loading chunk "+t+" failed.\n("+r+": "+s+")",o.name="ChunkLoadError",o.type=r,o.request=s,n[1](o)}}),"chunk-"+t,t)}},a.H.j=function(t){if(!(a.o(e,t)&&void 0!==e[t]||/^(4350|5548|7135|9738)$/.test(t))){e[t]=null;var i=document.createElement("link");i.charset="utf-8",a.nc&&i.setAttribute("nonce",a.nc),i.rel="preload",i.as="script",i.href=a.p+a.u(t),document.head.appendChild(i)}};var t=function(t,i){var n,r,s=i[0],o=i[1],l=i[2],c=0;if(s.some((function(t){return 0!==e[t]}))){for(n in o)a.o(o,n)&&(a.m[n]=o[n]);if(l)l(a)}for(t&&t(i);c<s.length;c++)r=s[c],a.o(e,r)&&e[r]&&e[r][0](),e[r]=0},i=self.webpackChunkwebpack=self.webpackChunkwebpack||[];
283i.forEach(t.bind(null,0)),i.push=t.bind(null,i.push.bind(i))}(),r={1067:[5390],5097:[5390],6251:[5390],8398:[5390],9343:[8132]},a.f.preload=function(e){var t=r[e];Array.isArray(t)&&t.map(a.G)},function(){"use strict";var e={};a.r(e),a.d(e,{AbsModal:function(){return n.AbsModal},ActionMenu:function(){return n.ActionMenu},ActionMenuCreatedEvent:function(){return n.ActionMenuCreatedEvent},ActionMenuEvents:function(){return n.ActionMenuEvents},AdjustIframeHeight:function(){return n.AdjustIframeHeight},AppStore:function(){return n.AppStore},BaseConfiguredDialog:function(){return n.BaseConfiguredDialog},BaseDialog:function(){return n.BaseDialog},BasketManager:function(){return n.BasketManager},BasketSummary:function(){return n.BasketSummary},BasketUpdatedEventData:function(){return n.BasketUpdatedEventData},CSSMasonry:function(){return n.CSSMasonry},CedralV1ReferenceCase:function(){return n.CedralV1ReferenceCase},CheckoutForm:function(){return n.CheckoutForm},Deeplink:function(){return n.Deeplink},Dialog:function(){return n.Dialog},DialogManager:function(){return n.DialogManager},DropDown:function(){return n.DropDown},DynamicHtml:function(){return n.DynamicHtml},EpiServerForm:function(){return n.EpiServerForm},FavoritesDialog:function(){return n.FavoritesDialog},Header:function(){return n.Header},HomeCarousel:function(){return n.HomeCarousel},IFrameDialog:function(){return n.IFrameDialog},ImsCarousel:function(){return n.ImsCarousel},ImsEntityDownloadsContainer:function(){return n.ImsEntityDownloadsContainer},ImsInstallationMethod:function(){return n.ImsInstallationMethod},ImsPropertyTable:function(){return n.ImsPropertyTable},ImsSlatesPattern:function(){return n.ImsSlatesPattern},ImsTabbedColorSize:function(){return n.ImsTabbedColorSize},ImsTabbedView:function(){return n.ImsTabbedView},InspirationCarousel:function(){return n.InspirationCarousel},InspirationContentCarousel:function(){return n.InspirationContentCarousel},InspirationThumbnailCarousel:function(){return n.InspirationThumbnailCarousel},LoginDialog:function(){return n.LoginDialog},MyAccountManager:function(){return n.MyAccountManager},ReadMore:function(){return n.ReadMore},ReferenceCaseTeaser:function(){return n.ReferenceCaseTeaser},ResponsiveTable:function(){return n.ResponsiveTable},RichText:function(){return n.RichText},SampleRequestCtaButton:function(){return n.SampleRequestCtaButton},SliderFilter:function(){return n.SliderFilter},SolutionFinder:function(){return n.SolutionFinder},SpinnerInput:function(){return n.SpinnerInput},Tabs:function(){return n.Tabs},WaterMark:function(){return n.WaterMark}});var t={};a.r(t),a.d(t,{FavoriteProjectDetail:function(){return o},ProjectDetailCountryCompliance:function(){return l},ProjectDetailSpecPack:function(){return u}});var i=a(83340),n=a(58706),r=a(42799),s=a(79234);class o extends r.o{constructor(e){super(e),this.pinnedIconSelector=".js-pinned-icon",this.unPinnedIconSelector=".js-unpinned-icon",this.pinToggleLabelSelector="[data-js='toggle-pin-label']",this.hiddenClass="u-hidden",this.unPinLabelAttributeName="data-js-unpin-label",this.pinLabelAttributeName="data-js-pin-label",this.isFavorited=this.parm.isFavorited,this.refreshIcon(),this.init()}init(){this.element.addEventListener("click",(()=>{let e=this.isFavorited?this.parm.deleteFavoritesUrl:this.parm.addFavoritesUrl,t={id:this.parm.id,type:this.parm.type},i=new s.o(e,t,!0);this.ajaxWrapper.doFetch(i).then((e=>{e.ok&&(this.isFavorited=!this.isFavorited,this.refreshIcon())}))}))}refreshIcon(){var e=this.element.querySelector(this.pinnedIconSelector),t=this.element.querySelector(this.unPinnedIconSelector);if(!e&&!t)return;let i=this.element.querySelector(this.pinToggleLabelSelector);this.isFavorited?(e.classList.contains(this.hiddenClass)&&e.classList.remove(this.hiddenClass),e.classList.contains(this.hiddenClass)||t.classList.add(this.hiddenClass),i.textContent=i.getAttribute(this.unPinLabelAttributeName)):(e.classList.contains(this.hiddenClass)||e.classList.add(this.hiddenClass),e.classList.contains(this.hiddenClass)&&t.classList.remove(this.hiddenClass),i.textContent=i.getAttribute(this.pinLabelAttributeName))}}class l extends r.o{constructor(e){super(e),this.storageKey="country-compliance-discarded",this.bindEvents(),this.init()}init(){"undefined"!=typeof localStorage&&this.isMessageDiscardedForProject()||this.showBanner()}bindEvents(){this.element.querySelector("button:last-of-type").addEventListener("click",(e=>{this.setMessageDiscardedForProject()}))}
283showBanner(){this.element.classList.remove("u-hidden")}setMessageDiscardedForProject(){const e=localStorage.getItem(this.storageKey);let t=e?e.split(";"):new Array;t.includes(this.parm.projectId)||(t.push(this.parm.projectId),localStorage.setItem(this.storageKey,t.join(";")))}isMessageDiscardedForProject(){const e=localStorage.getItem(this.storageKey);if(e){return e.split(";").includes(this.parm.projectId)}return!1}}const c=[0,500,1200,2500];class u extends r.o{constructor(e){super(e),this.showingCreateBanner=!1,this.eligibilityRefreshInFlight=null,this.init()}init(){this.installEligibilityRefresh(),this.parm?.skipCardLoad?this.showingCreateBanner=!0:this.loadBannerAsync()}installEligibilityRefresh(){this.parm?.eligibilityUrl&&window.addEventListener("ProjectDetailLoaded",(e=>{this.onProjectDetailLoaded(e)}))}async onProjectDetailLoaded(e){const t=e.detail?.identifier??e.detail?.Identifier;if(!t||t!==this.parm.projectId)return;this.eligibilityRefreshInFlight&&await this.eligibilityRefreshInFlight;const i=this.refreshCreateEligibility();this.eligibilityRefreshInFlight=i;try{await i}finally{this.eligibilityRefreshInFlight===i&&(this.eligibilityRefreshInFlight=null)}}async refreshCreateEligibility(){for(const e of c){e>0&&await this.delay(e);const t=await this.fetchCanCreate();null!==t&&(t!==this.parm.canCreate&&(this.parm.canCreate=t,this.showingCreateBanner&&this.replaceCreateCallToAction()))}}async fetchCanCreate(){try{const e=await fetch(this.parm.eligibilityUrl,{credentials:"same-origin",headers:{Accept:"application/json"}});if(!e.ok)return null;const t=await e.json();return!0===t.canCreate||!0===t.CanCreate}catch{return null}}delay(e){return new Promise((t=>window.setTimeout(t,e)))}async loadBannerAsync(){try{let e=await this.fetchCard();if(e.authRefreshRequired&&(await this.refreshAuthInBackground(),await this.delay(500),e=await this.fetchCard(),e.authRefreshRequired&&(await this.delay(1e3),e=await this.fetchCard())),e.serviceUnavailable)return this.publishProjectPackCardLoaded(!1),void this.replaceBanner(this.buildUnavailableBanner());if(e.authRefreshRequired)return this.publishProjectPackCardLoaded(!1),void this.replaceBanner(this.buildUnavailableBanner());this.publishProjectPackCardLoaded(!0===e.hasPack),this.replaceBanner(this.buildBanner(e))}catch{this.publishProjectPackCardLoaded(!1),this.replaceBanner(this.buildCreateBanner())}}publishProjectPackCardLoaded(e){const t={hasPack:e};window.__projectPackCardLoadResult=t,window.dispatchEvent(new CustomEvent("ProjectPackCardLoaded",{detail:t}))}async fetchCard(){const e=await fetch(this.parm.cardUrl,{credentials:"same-origin",headers:{Accept:"application/json"}});if(!e.ok)throw new Error(`Failed to load specification pack card (${e.status}).`);return e.json()}refreshAuthInBackground(){return new Promise((e=>{if(!this.parm.hiddenSignInUrl)return void e();const t=document.createElement("iframe");t.setAttribute("aria-hidden","true"),t.setAttribute("tabindex","-1"),t.style.display="none",t.src=this.parm.hiddenSignInUrl,document.body.appendChild(t);let i=!1;const n=()=>{i||(i=!0,window.removeEventListener("message",r),t.remove(),e())},r=e=>{e.origin===window.location.origin&&"projectPackAuthRefreshCompleted"===e.data?.eventName&&n()};window.addEventListener("message",r),window.setTimeout(n,15e3)}))}buildBanner(e){return e.hasPack&&e.card?(this.showingCreateBanner=!1,this.buildExistingBanner(e.card)):this.buildCreateBanner()}buildUnavailableBanner(){const e=this.createSection("c-info-box c-info-box--boxed u-section-spacing js-spec-pack-banner","padding: 24px"),t=document.createElement("div");t.className="c-info-box__inner";const i=document.createElement("div");i.className="u-width-full";const n=document.createElement("p");n.className="u-h4 u-margin-bottom-none u-color-brand",n.textContent=this.parm.labels.unavailableTitle||"Specification pack temporarily unavailable";const r=document.createElement("p");return r.className="u-margin-bottom-none",r.textContent=this.parm.labels.unavailableDescription||"We can't reach the specification pack service right now. Please try again later.",i.appendChild(n),i.appendChild(r),t.appendChild(i),e.appendChild(t),e}buildExistingBanner(e){const t=this.createSection("c-info-box c-info-box--boxed u-section-spacing js-spec-pack-banner","padding: 24px"),i=document.createElement("div");
283i.className="c-info-box__inner";const n=document.createElement("div");n.className="u-width-full";const r=document.createElement("p");r.className="u-h4 u-margin-bottom-none u-color-brand",r.textContent=e.packName??"";const s=document.createElement("p");s.className="u-margin-bottom-none o-flex o-flex--align-items-center",s.style.gap="8px";const o=document.createElement("span");if(o.className="c-tag c-tag--reporter is-tag-gray u-margin-bottom-none",o.style.position="relative",o.style.top="-1px",o.textContent=e.packStatus??"",s.appendChild(o),s.appendChild(this.createSeparator()),s.appendChild(document.createTextNode(`${this.parm.labels.versionLabel} ${e.version??""}`)),s.appendChild(this.createSeparator()),s.appendChild(document.createTextNode(`${e.systemsCount} ${this.parm.labels.systemsSuffix}`)),e.expiryDate){const t=this.formatExpiryDate(e.expiryDate);t&&(s.appendChild(this.createSeparator()),s.appendChild(document.createTextNode(`${this.parm.labels.validUntilLabel} ${t}`)))}n.appendChild(r),n.appendChild(s);const a=document.createElement("aside");a.className="o-flex o-flex--align-items-center";const l=document.createElement("a");l.className="a-btn a-btn--primary",l.href=e.openPackUrl;const c=document.createElement("span");return c.className="a-btn__label",c.textContent=this.parm.labels.existingOpenButton,l.appendChild(c),a.appendChild(l),i.appendChild(n),i.appendChild(a),t.appendChild(i),t}buildCreateBanner(){this.showingCreateBanner=!0;const e=this.createSection("c-info-box c-info-box--boxed u-section-spacing u-bg-color-brand js-spec-pack-banner","padding: 20px"),t=document.createElement("div");t.className="c-info-box__inner";const i=document.createElement("div");i.className="u-width-full";const n=document.createElement("span");n.className="a-badge a-badge--default u-label-tiny u-margin-bottom-small",n.style.background="#ffffff",n.style.color="#b0007a",n.textContent=this.parm.labels.newTag;const r=document.createElement("p");r.className="u-h4 u-margin-bottom-none u-color-white",r.textContent=this.parm.labels.bannerTitle;const s=document.createElement("p");s.className="u-margin-bottom-none u-color-white",s.textContent=this.parm.labels.bannerDescription,i.appendChild(n),i.appendChild(r),i.appendChild(s);const o=document.createElement("aside");if(o.className="o-flex o-flex--align-items-center",o.appendChild(this.buildCreateCallToAction()),this.parm.moreInfoUrl){const e=document.createElement("a");e.className="a-link a-link--secondary u-color-white",e.href=this.parm.moreInfoUrl;const t=document.createElement("span");t.textContent=this.parm.labels.moreInfoLabel,e.appendChild(t),o.appendChild(e)}return t.appendChild(i),t.appendChild(o),e.appendChild(t),e}buildCreateCallToAction(){if(this.parm.canCreate){const e=document.createElement("form");if(e.method="post",e.action=this.parm.createProjectUrl,e.className="u-inline-block",this.parm.antiforgeryToken&&this.parm.antiforgeryFieldName){const t=document.createElement("input");t.type="hidden",t.name=this.parm.antiforgeryFieldName,t.value=this.parm.antiforgeryToken,e.appendChild(t)}const t=document.createElement("input");t.type="hidden",t.name="projectId",t.value=this.parm.projectId;const i=document.createElement("input");i.type="hidden",i.name="returnUrl",i.value=this.parm.returnUrl;const n=document.createElement("button");n.type="submit",n.className="a-btn a-btn--secondary u-mie-2",n.style.background="#ffffff",n.style.borderColor="#ffffff";const r=document.createElement("span");return r.className="a-btn__label",r.style.color="#b0007a",r.textContent=this.parm.labels.buttonLabel,n.appendChild(r),e.appendChild(t),e.appendChild(i),e.appendChild(n),e}const e=document.createElement("div");e.className="o-flex o-flex--align-items-center u-mie-2 c-spec-pack-tooltip",e.style.gap="8px",e.setAttribute("aria-label",this.parm.prerequisitesTooltip);const t=document.createElement("span");t.style.display="inline-flex";const i=document.createElement("button");i.type="button",i.className="a-btn a-btn--secondary",i.style.background="#ffffff",i.style.borderColor="#ffffff",i.style.pointerEvents="none",i.disabled=!0;const n=document.createElement("span");n.className="a-btn__label",n.style.color="#b0007a",n.textContent=this.parm.labels.buttonLabel,i.appendChild(n),t.appendChild(i);const r=document.createElement("span");r.setAttribute("aria-label",this.parm.prerequisitesTooltip),r.setAttribute("role","img"),r.style.display="inline-flex",r.style.alignItems="center",r.style.justifyContent="center",r.style.width="20px",r.style.height="20px",r.style.borderRadius="50%",r.style.border="1px solid #ffffff",r.style.color="#ffffff",r.style.fontSize="12px",r.style.fontWeight="700",r.textContent="i";const s=document.createElement("span");
283return s.className="c-spec-pack-tooltip__bubble",s.setAttribute("role","tooltip"),s.textContent=this.parm.prerequisitesTooltip,e.appendChild(t),e.appendChild(r),e.appendChild(s),e}replaceCreateCallToAction(){const e=this.element.querySelector("aside");if(!e)return;const t=this.buildCreateCallToAction(),i=e.firstElementChild;i?i.replaceWith(t):e.prepend(t)}createSection(e,t){const i=document.createElement("section");return i.className=e,i.setAttribute("style",t),i}createSeparator(){const e=document.createElement("span");return e.textContent="|",e}formatExpiryDate(e){const t=new Date(e);if(Number.isNaN(t.getTime()))return null;const i=this.parm.labels.cultureName||void 0;return new Intl.DateTimeFormat(i,{day:"2-digit",month:"2-digit",year:"numeric"}).format(t)}replaceBanner(e){this.element.replaceWith(e),this.element=e}}const d=[],h=[];var p=a(68442);i.Z.initializeBfEventListener(),i.Z.initGlobalWindowSettings(),document.addEventListener("DOMContentLoaded",(()=>{p.Z.getInstance({...e,...t},d,h).initAfterContentLoaded()}))}()}();
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.