PageSourceSearch

https://museumsaotearoa.org.nz/_nuxt/BhePaDUO.js

js museumsaotearoa.org.nz collected 2026-10-02 08:33:49 UTC 1,223 bytes, 1 lines download raw bytes

1import{u,aa as w,C as d,ab as b,ac as v}from"./kCopOqGd.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},n=new Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="295437c9-5a4a-430a-b4e7-b8616aa1cf75",e._sentryDebugIdIdentifier="sentry-dbid-295437c9-5a4a-430a-b4e7-b8616aa1cf75")}catch{}})();async function y({query:e,params:n,livePreview:c=!0}){const l=u(),{data:a}=await w(e,n);return d(()=>{if(l.previewIsActive&&c){const r=v(),i=b("preview");!i.client.config().token&&r.public.SANITY_PREVIEW_TOKEN&&(i.client=i.client.withConfig({token:r.public.SANITY_PREVIEW_TOKEN}));const s=i.client.withConfig({perspective:"previewDrafts"}),f=!!s.config().token;console.info(`[Preview] Active — token present: ${f}`),f||console.warn("[Preview] No token available — drafts will not be visible"),s.fetch(e,n).then(t=>{a.value=t}).catch(t=>{console.warn("[Preview] Initial fetch failed:",t.message)});try{i.client.listen(e,n).subscribe(t=>{setTimeout(()=>
1{s.fetch(e,n).then(o=>{a.value=o}).catch(o=>{console.warn("[Preview] Re-fetch failed:",o.message)})},900)})}catch(t){console.warn("[Preview] Live listener failed:",t.message)}}}),a}export{y as u};

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.