PageSourceSearch

https://tasalon.com/cdn/shop/t/37/assets/layout-localization.js?v=176638201558068749401788315927

js tasalon.com collected 2026-10-08 11:00:58 UTC 1,129 bytes, 1 lines download raw bytes

1import{ECXHelper}from"@theme/helper";import{ECXCustomComponent}from"@theme/component";var VAR_LOCALIZATION_CACHE=new Map;class ECXLocalization extends ECXCustomComponent{constructor(){super()}async init(){Shopify.designMode?await this.getSearchResults():new IntersectionObserver((async(e,t)=>{e[0].isIntersecting&&(await this.getSearchResults(),t.unobserve(this))}).bind(this),{threshold:.25}).observe(this)}async getSearchResults(){ECXHelper.loadScript(this.dataset.jsFileId,this.dataset.jsFile,async function(){var e=this.dataset.url.replace(/\s/g,"-").toLowerCase(),t=VAR_LOCALIZATION_CACHE.get(e);t?this.innerHTML=t:(t=await this.fetchResults(),VAR_LOCALIZATION_CACHE.set(e,t),this.innerHTML=t)}.bind(this))}async fetchResults(){return fetch(this.dataset.url).then(e=>e.text()).then(e=>{var t=document.createElement("div"),e=(t.innerHTML=e,t.querySelector("#"+this.dataset.sectionId));return e&&e.innerHTML.trim().length?e.innerHTML:""}).catch(e=>(console.error(e),""))}connectedCallback(){this.init()}}customElements.get("ecx-localization")||customElements.define("ecx-localization",ECXLocalization);export{ECXLocalization};

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.