PageSourceSearch

https://dcportal.co.nz/static/dist/chunks/AOUAX5L7.js

js dcportal.co.nz collected 2026-10-10 02:06:59 UTC 2,210 bytes, 2 lines download raw bytes

vendor: 2,210 bytes, lines 1-2
1var v="lit-localize-status";var P=(t,...e)=>({strTag:!0,strings:t,values:e}),b=P,S=t=>typeof t!="string"&&"strTag"in t,f=(t,e,r)=>{let s=t[0];for(let o=1;o<t.length;o++)s+=e[r?r[o-1]:o-1],s+=t[o];return s};var c=(t=>S(t)?f(t.strings,t.values):t);var M=c,I=!1;function L(t){if(I)throw new Error("lit-localize can only be configured once");M=t,I=!0}var d=class{constructor(){this.settled=!1,this.promise=new Promise((e,r)=>{this._resolve=e,this._reject=r})}resolve(e){this.settled=!0,this._resolve(e)}reject(e){this.settled=!0,this._reject(e)}};var i=[];for(let t=0;t<256;t++)i[t]=(t>>4&15).toString(16)+(t&15).toString(16);function w(t){let e=0,r=8997,s=0,o=33826,n=0,l=40164,h=0,u=52210;for(let x=0;x<t.length;x++)r^=t.charCodeAt(x),e=r*435,s=o*435,n=l*435,h=u*435,n+=r<<8,h+=o<<8,s+=e>>>16,r=e&65535,n+=s>>>16,o=s&65535,u=h+(n>>>16)&65535,l=n&65535;return i[u>>8]+i[u&255]+i[l>>8]+i[l&255]+i[o>>8]+i[o&255]+i[r>>8]+i[r&255]}var V="�",R="h",N="s";function A(t,e){return(e?R:N)+w(typeof t=="string"?t:t.join(V))}var C=new WeakMap,y=new Map;function j(t,e,r){if(t){let s=r?.id??U(e),o=t[s];if(o){if(typeof o=="string")return o;if("strTag"in o)return f(o.strings,e.values,o.values);{let n=C.get(o);return n===void 0&&(n=o.values,C.set(o,n)),{...o,values:n.map(l=>e.values[l])}}}}return c(e)}function U(t){let e=typeof t=="string"?t:t.strings,r=y.get(e);return r===void 0&&(r=A(e,typeof t!="string"&&!("strTag"in t)),y.set(e,r)),r}function _(t){window.dispatchEvent(new CustomEvent(v,{detail:t}))}var g="",E,z,m,T,H,a=new d;a.resolve();var p=0,dt=t=>(L(((e,r)=>j(H,e,r))),g=z=t.sourceLocale,m=new Set(t.targetLocales),m.add(t.sourceLocale),T=t.loadLocale,{getLocale:W,setLocale:q}),W=()=>g,q=t=>{if(t===(E??g))return a.promise;if(!m||!T)throw new Error("Internal error");if(!m.has(t))throw new Error("Invalid locale code");p++;let e=p;return E=t,a.settled&&(a=new d),_({status:"loading",loadingLocale:t}),(t===z?Promise.resolve({templates:void 0}):T(t)).then(s=>{p===e&&(g=t,E=void 0,H=s.templates,_({status:"ready",readyLocale:t}),a.resolve())},s=>{p===e&&(_({status:"error",errorLocale:t,errorMessage:s.toString()}),a.reject(s))}),a.promise};export{v as a,b,M as c,dt as d};
2//# sourceMappingURL=AOUAX5L7.js.map

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.