PageSourceSearch

https://innovitalespa.com/cdn/shop/t/28/assets/store-selector.js?v=36088188951445041851777579271

js innovitalespa.com collected 2026-10-08 09:07:44 UTC 2,308 bytes, 2 lines download raw bytes

1requestAnimationFrame(()=>{document.addEventListener("alpine:init",()=>{Alpine.store("xStoreSelector",{enabled:!1,currentSelected:"",appiledAll:!1,appliedProducts:[],appiledCollections:[],opened:"",selectedStore:localStorage.getItem("selectedStore")||"",show:!1,initStoreSelector(enabled,appiledAll,appliedProducts,appiledCollections){this.enabled=enabled,this.currentSelected=this.selectedStore,this.appiledAll=appiledAll,this.appliedProducts=appliedProducts,this.appiledCollections=appiledCollections},close(){this.show=!1},open(){this.show=!0,this.selectedStore!==""&&(this.currentSelected=this.selectedStore)},setStoreFirst(store,sectionId){this.currentSelected===""&&(this.currentSelected=store,this.setSelectedStore(sectionId))},setStore(store){this.currentSelected=store},getStore(){if(this.selectedStore!=="")return this.selectedStore.match(/^(.*)-(\d+)$/)[1]},getStoreText(){if(this.selectedStore!=="")return new DOMParser().parseFromString(this.selectedStore.match(/^(.*)-(\d+)$/)[1],"text/html").body.textContent||""},checkSelection(storeList){if(this.selectedStore!==""){let inSelection=!1;storeList.forEach(store=>{store===this.selectedStore&&(inSelection=!0)}),inSelection||(this.selectedStore=storeList[0])}},checkAvailability(storeAvailabilities){let store=this.getStore();if(storeAvailabilities)return storeAvailabilities[store]},setSelectedStore(sectionId){this.currentSelected&&(this.selectedStore=this.currentSelected,localStorage.setItem("selectedStore",this.selectedStore),document.querySelector("#store-selector-name-"+sectionId).innerHTML=this.getStore(),this.close())},canShow(productId,collectionIds){if(this.appiledAll){if(this.appliedProducts.length===0&&this.appiledCollections.length===0)return!0;if(this.appliedProducts.includes(Number(productId)))return!0;for(let i=0;i<collectionIds.length;i++)if(this.appiledCollections.includes(Number(collectionIds[i])))return!0}return!1},canShowProductPage(productId,collectionIds){if(this.appliedProducts.length===0&&this.appiledCollections.length===0)return!0;if(this.appliedProducts.includes(Number(productId)))return!0;for(let i=0;i<collectionIds.length;i++)if(this.appiledCollections.includes(Number(collectionIds[i])))return!0}})})});
2//# sourceMappingURL=/cdn/shop/t/28/assets/store-selector.js.map?v=36088188951445041851777579271

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.