PageSourceSearch

https://zoo.ch/_nuxt/jgu4gSqp.js

js zoo.ch collected 2026-10-01 11:47:22 UTC 4,675 bytes, 30 lines download raw bytes

1(function(){try{var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{};e.SENTRY_RELEASE={id:`45cd1b50abb4a09678f0cd171d36dc2dec888a52`};var t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`21e2252c-b5be-4f76-bdf1-ef7402208d5c`,e._sentryDebugIdIdentifier=`sentry-dbid-21e2252c-b5be-4f76-bdf1-ef7402208d5c`)}catch{}})();import{n as e}from"./u-MKpIYT.js";import{o as t}from"./B4swkjZV.js";import{D as n,Kt as r,On as i,Pt as a,_ as o,b as s,ct as c,er as l,ft as u,g as d,k as f,mt as p,qt as m,tr as h,v as g,vn as _,xt as v,y}from"./X1fH4ICN.js";import{t as b}from"./BjijWbAW.js";import"./Y9E2WAYs.js";import{t as x}from"./C8HRF-kN.js";import{t as S}from"./B3siTBSS.js";import{t as C}from"./CA_6EcIB.js";import{t as w}from"./CB9Oq0wy.js";import{t as T}from"./BmSRvPM9.js";import{t as E}from"./BKrnRsQV.js";import{t as D}from"./D25FpGkh.js";import{t as O}from"./DWBk1_cv.js";var k=C(`
2  query ErrorSettings {
3    globals: globalSet(handle: "error_settings") {
4      ... on GlobalSet_ErrorSettings {
5        __typename
6        error_images {
7          url
8        }
9        background_pattern {
10          url
11        }
12      }
13    }
14  }
15`),A=()=>{let{$gql:e}=t(),n=x(`statamic-error-settings`,()=>null);return S({queryKey:[`statamic`,`error`],queryFn:async()=>{let t=await e(k,{}),r={error_images:t?.globals?.error_images??[],background_pattern:t?.globals?.background_pattern};return n.value=r,r},initialData:()=>n.value??void 0,refetchOnMount:!1,refetchOnWindowFocus:!1,refetchOnReconnect:!1,staleTime:1/0})},j=globalThis.setInterval,M={class:`h-full text-black max-md:mt-10`},N={key:1,class:`flex flex-row items-center justify-center-safe font-serif text-errortitle-xs leading-none md:text-errortitle-lg`},P={class:`relative -mx-2 max-h-24 max-w-24 grow md:-mx-4 md:max-h-48 md:max-w-48`},F={key:1},I={key:2},L={class:`text-center font-serif text-errortitle-xs font-bold md:text-errortitle-lg`},R=Object.assign(f({__name:`ErrorPage`,props:{title:{},images:{},patternSrc:{}},setup(e){let t=e,n=d(()=>!!t.images?.length),r=d(()=>t.title.split(``)),f=d(()=>({backgroundImage:`url(${t.patternSrc})`})),x=a();function S(){if(!t.images.length)return null;let e=Math.floor(O(x)*t.images.length);return t.images[e]??null}function C(){return t.images.length?t.images[Math.floor(Math.random()*t.images.length)]??null:null}let w=_(S()),T;return c(()=>{T=j(()=>{w.value=C()},3e3)}),u(()=>{clearInterval(T)}),(a,c)=>{let u=D;return p(),s(`div`,M,[e.patternSrc?(p(),s(`div`,{key:0,"aria-hidden":`true`,class:`pointer-events-none absolute inset-y-0 left-1/2 -z-10 w-screen -translate-x-1/2 bg-cover bg-center opacity-30`,style:l(i(f))},null,4)):y(``,!0),i(n)?(p(),s(`div`,N,[o(`span`,null,h(i(r)[0]),1),o(`div`,P,[i(w)?(p(),g(b,{key:0,"enter-active-class":`transition-all duration-500 absolute top-0`,"enter-from-class":`opacity-0 translate-y-full -rotate-30`,"enter-to-class":`opacity-100 translate-y-0 rotate-0`,"leave-active-class":`transition-all duration-500 relative`,"leave-from-class":`opacity-100 translate-y-0 rotate-0`,"leave-to-class":`opacity-0 -translate-y-full rotate-30`},{default:m(()=>[(p(),g(u,{key:i(w).url,src:i(w).url,"object-fit":`cover`},null,8,[`src`]))]),_:1})):(p(),s(`span`,F,h(i(r)[1]),1))]),o(`span`,null,h(i(r)[2]),1)])):(p(),s(`div`,I,[o(`h1`,L,h(t.title),1)])),v(a.$slots,`default`)])}}}),{__name:`ErrorPage`}),z=w(f({__name:`CmsError`,props:{page:{},randomImages:{},patternSource:{}},setup(e){return(t,r)=>{let i=E,a=R,o=T;return p(),g(o,{spacing:`module-big`,"surface-brightness":`light`,width:`narrow`,class:`relative flex-1`},{default:m(()=>[n(a,{title:e.page.title,images:e.randomImages??[],"pattern-src":e.patternSource??void 0},{default:m(()=>[n(i,{"motion-inert":``,richtext:e.page.richtext,class:`mt-flex-md text-left`},null,8,[`richtext`])]),_:1},8,[`title`,`images`,`pattern-src`])]),_:1})}}}),[[`__scopeId`,`data-v-090a9873`]]),B=f({__name:`CmsBlueprintErrorPage`,props:{page:{}},async setup(e){let t,n;C(`
16  fragment BlueprintErrorPage on Entry_ErrorPages_ErrorPage {
17    __typename
18    title
19    slug
20    seo {
21      ...SEO
22    }
23    richtext {
24        ...RichtextBardText
25        ...RichtextButton
26        ...RichtextVivenuLink
27        ...RichtextTable
28      }
29  }
30`);let{data:a,suspense:o}=A();try{[t,n]=r(()=>o()),await t,n()}catch{}let s=d(()=>a.value?.error_images.filter(e=>!!e.url)??[]);return(t,n)=>(p(),g(z,{page:e.page,"random-images":i(s),"pattern-source":i(a)?.background_pattern?.url},null,8,[`page`,`random-images`,`pattern-source`]))}}),V=e({default:()=>H}),H=Object.assign(B,{__name:`CmsBlueprintErrorPage`});export{V as n,H as t};

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.