PageSourceSearch

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

js zoo.ch collected 2026-10-01 11:48:20 UTC 4,669 bytes, 29 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]=`910d1570-ec9c-4314-afc4-73474757c5f6`,e._sentryDebugIdIdentifier=`sentry-dbid-910d1570-ec9c-4314-afc4-73474757c5f6`)}catch{}})();import{o as e,s as t}from"./B4swkjZV.js";import{D as n,Kt as r,On as i,Zn as a,b as o,ct as s,er as c,k as l,mt as u,v as d,wt as f,xn as p,y as m}from"./X1fH4ICN.js";import{f as h,h as g,i as _}from"./Y9E2WAYs.js";import{n as v}from"./CP69kYh6.js";import"./mMWmj98Q.js";import{n as y,t as b}from"./Bs_NWfAE.js";import{t as x}from"./CA_6EcIB.js";import{t as S}from"./DMsNY-gX.js";import{t as C}from"./DPps3iom.js";import{n as w,t as T}from"./fba5ZfXJ.js";import{a as E}from"./u7-rsu16.js";import{n as D,t as O}from"./CAEF7MPZ.js";import{t as k}from"./BcKn8bxJ.js";var A=Object.assign(l({__name:`CmsBlueprintLoader`,props:{page:{}},setup(e){let t=e;x(`
2  fragment Blueprints on EntryInterface {
3    ...BlueprintPageEncyclopedia
4    ...BlueprintPageAnimal
5    ...BlueprintPagePlant
6    ...BlueprintPage
7    ...BlueprintPageHabitat
8    ...BlueprintAgenda
9    ...BlueprintZooNewsOverview
10    ...BlueprintMediaReleasesOverview
11    ...BlueprintPageConservationProject
12    ...BlueprintPageResearchProject
13    ...BlueprintPageConservationFellow
14    ...BlueprintZooNews
15    ...BlueprintMediaReleases
16    ...BlueprintEventSeriesEntry
17    ...BlueprintEventSeriesDynamics
18    ...BlueprintEventSeriesVivenu
19    ...BlueprintDailyProgramScreen
20    ...BlueprintElephantScreen
21    ...BlueprintMicrosite
22    ...BlueprintSponsorShop
23    ...BlueprintPageGodparents
24    ...BlueprintPageGodparentDetail
25    ...BlueprintPageGodparentDetailFavorite
26  }
27`),t.page&&Object.keys(t.page).filter(e=>![`__typename`,`alternates`,`seotamic_meta`,`seotamic_social`].includes(e)).length===0&&console.warn(`Page with typename ${t.page.__typename} has no data. You probably forgot to add the respective blueprint fragment to the CmsBlueprintLoader.vue`);let n=e=>{if(!e)return;if(e===`Entry_Species_Animal`||e===`Entry_Species_Plant`)return`CmsBlueprintSpecies`;if(e===`Entry_EventSeries_EventSeriesDynamics`)return`CmsBlueprintEventSeriesDynamics`;if(e===`Entry_EventSeries_EventSeriesVivenu`)return`CmsBlueprintEventSeriesVivenu`;if(e===`Entry_Pages_GodparentDetailFavorite`)return`CmsBlueprintGodparentDetail`;let t=e.match(/^Entry_(.*)_(.*)$/);if(t)return`CmsBlueprint${t[2]}`};return(t,r)=>n(e.page.__typename)?(u(),d(f(n(e.page.__typename)),{key:0,page:e.page},null,8,[`page`])):m(``,!0)}}),{__name:`CmsBlueprintLoader`});function j(e){return``}function M(e){try{return decodeURI(e)}catch{return e}}function N(e,t,n){let r=new URL(e,t);if(!n)return r;let i=r.search?`&`:`?`;return r.search=r.search+i+n.slice(1),r}var P=()=>{let n=e(),r=t(),i=g(),a=j(i);return{attemptRedirect:async()=>{let e=String(r.public.BACKEND_URL||``).replace(/\/$/,``),t=String(r.public.APP_URL||``).replace(/\/$/,``);if(!e)return null;let o=M(i.path||`/`),s;try{s=await fetch(e+o,{redirect:`manual`})}catch{return null}if(s.status<300||s.status>=400)return null;let c=s.headers.get(`location`);if(!c)return null;let l=N(c,e,a),u=new URL(e).origin,d=t?new URL(t).origin:null,f=l.origin===u||d!==null&&l.origin===d;return await n.runWithContext(async()=>(f?await h(l.pathname+l.search+l.hash,{redirectCode:s.status}):await h(l.href,{redirectCode:s.status,external:!0}),!0))}}},F=l({__name:`[...uri]`,async setup(e){let t,l;k({middleware:[`microsite-layout`]});let{isMicrositeHost:d}=S(),{attemptRedirect:f}=P(),{data:h,suspense:g,isError:x,error:j,isSuccess:M}=C();if([t,l]=r(()=>g()),await t,l(),x.value){let e=j.value,t=e instanceof y,n=t&&e.networkError?e.response?.status??503:500;throw _({statusCode:n,statusText:e?.message||`Server error`,data:{graphQLErrors:t?e.graphQLErrors:void 0,networkError:t?e.networkError?.message:void 0,stack:void 0},fatal:!0})}if(M.value&&!h.value)throw _({statusCode:404,statusText:`Page not found`,fatal:!0});b(h);let N=p(E(h.value));T(N),v({bodyAttrs:{style:`${O(N)};background-color:${N.value?`var(--color-surface-subtle)`:`#fff`}`}});let F=w();return s(()=>{F.value=N.value}),(e,t)=>{let r=A;return i(h)?(u(),o(`div`,{key:0,style:c(i(O)(i(N))),class:a([i(d)?`relative flex flex-col`:`
28        relative isolate min-h-screen
29      `,i(D)(i(N)),`text-themed-text`])},[i(d)?m(``,!0):(u(),o(`div`,{key:0,class:a([`fixed inset-0 -z-20`,i(N)?`bg-surface-subtle`:`bg-white`]),"aria-hidden":`true`},null,2)),n(r,{page:i(h)},null,8,[`page`])],6)):m(``,!0)}}});
29export{F as default};

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.