1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]="01a0f74a-a0b7-7450-8c74-a85596a6b75c")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9603],{71849:(e,t,r)=>{r.d(t,{CQ:()=>S,M1:()=>j});var n=r(52787),s=r(99128),o=r(84578),u=r(97781),a=r(40170),i=r(81692),d=r(35833),l=r(82104),c=r(10575);r(44295);var p=r(71269),f=r(84329),g=r(30498),h=r(88679);r(71547);var v=r(332);function C(e){return function(){let t=(0,s.c)(2),r=(0,n.c)(),o;return t[0]===r?o=t[1]:(o=(...t)=>e(r,...t),t[0]=r,t[1]=o),o}}if(C(o.V1),C(o.ri),"u">typeof window&&window.self!==window.top&&!document.querySelector("[data-sanity-core]")){let e=new URLSearchParams(new URL(window.location.href).hash.slice(1)).get("mode"),t=document.createElement("script");t.src="core-ui--staging"===e?"https://core.sanity-cdn.work/bridge.js":"https://core.sanity-cdn.com/bridge.js",t.type="module",t.async=!0,document.head.appendChild(t)}let S=(0,c.createContext)(null);S.displayName="SDKStudioContext";let b=(0,c.createContext)({}),w=(0,c.createContext)(void 0),x=(0,c.createContext)(void 0),k=(0,c.createContext)(void 0);function m(e){let t,r=(0,s.c)(6),{instance:o,fallback:u,children:a}=e,i;return r[0]!==a||r[1]!==u?(i=(0,h.jsx)(c.Suspense,{fallback:u,children:a}),r[0]=a,r[1]=u,r[2]=i):i=r[2],r[3]!==o||r[4]!==i?(t=(0,h.jsx)(n.l.Provider,{value:o,children:i}),r[3]=o,r[4]=i,r[5]=t):t=r[5],t}let E=(0,h.jsx)(h.Fragment,{children:"Warning: No fallback provided. Please supply a fallback prop to ensure proper Suspense handling."});function j(e){let t,r,a,i=(0,s.c)(35),l,p,f,g;i[0]===e?(l=i[1],p=i[2],f=i[3],g=i[4]):({children:l,fallback:f,resource:g,...p}=e,i[0]=e,i[1]=l,i[2]=p,i[3]=f,i[4]=g);let v=(0,c.useContext)(x),C=(0,c.useContext)(w),S=(0,c.useContext)(n.l),b=(0,c.useContext)(k),{projectId:j,dataset:y,perspective:_}=p,P;i[5]!==p||i[6]!==S?(P=()=>S??(0,o._Q)(p),i[5]=p,i[6]=S,i[7]=P):P=i[7];let[N]=(0,c.useState)(P),R;e:{if(j&&y){let e;i[8]!==y||i[9]!==j?(e={projectId:j,dataset:y},i[8]=y,i[9]=j,i[10]=e):e=i[10],R=e;break e}if(y&&b){let e;i[11]!==y||i[12]!==b?(e={projectId:b,dataset:y},i[11]=y,i[12]=b,i[13]=e):e=i[13],R=e;break e}R=void 0}let I=R,K;t:{if(g){K=g;break t}if(I){K=I;break t}if(j){K=void 0;break t}K=C}let V=K,T;r:{if(V&&(0,u.u)(V)){T=V.projectId;break r}T=j??b}let D=T,F,B;i[14]!==V||i[15]!==N?(F=()=>{V&&(0,u.u)(V)&&(0,d.km)(N,V.projectId)},B=[N,V],i[14]=V,i[15]=N,i[16]=F,i[17]=B):(F=i[16],B=i[17]),(0,c.useEffect)(F,B);let U=(0,c.useRef)(null),W,q;i[18]!==N||i[19]!==S?(W=()=>(null!==U.current&&N===U.current.instance&&(clearTimeout(U.current.timeoutId),U.current=null),()=>{U.current={instance:N,timeoutId:setTimeout(()=>{N.isDisposed()||N===S||N.dispose()},0)}}),q=[N,S],i[18]=N,i[19]=S,i[20]=W,i[21]=q):(W=i[20],q=i[21]),(0,c.useEffect)(W,q);let A=void 0===f?E:f,G=_??v,L;return i[22]!==l||i[23]!==G?(L=(0,h.jsx)(x.Provider,{value:G,children:l}),i[22]=l,i[23]=G,i[24]=L):L=i[24],i[25]!==D||i[26]!==L?(t=(0,h.jsx)(k.Provider,{value:D,children:L}),i[25]=D,i[26]=L,i[27]=t):t=i[27],i[28]!==V||i[29]!==t?(r=(0,h.jsx)(w.Provider,{value:V,children:t}),i[28]=V,i[29]=t,i[30]=r):r=i[30],i[31]!==N||i[32]!==r||i[33]!==A?(a=(0,h.jsx)(m,{instance:N,fallback:A,children:r}),i[31]=N,i[32]=r,i[33]=A,i[34]=a):a=i[34],a}function y(e){return function(...t){let r=(0,n.c)(),s=e.getState(r,...t);if("pending"===s.getCurrent().status)throw e.resolveState(r,...t);let o=(0,c.useRef)(null),u=(0,c.useSyncExternalStore)(s.subscribe,()=>{let e=s.getCurrent(),t=o.current;return t&&(0,l.t)(t,e)?t:(o.current=e,e)});if("success"!==u.status)throw"error"===u.status?u.error:e.resolveState(r,...t);return{data:u.data,isFetching:u.isFetching,error:u.error,refetch:()=>e.refetch(r,...t)}}}function _(e){let t={status:"idle",data:void 0,error:void 0};return function(){let r=(0,n.c)(),[s,o]=(0,c.useState)(t),u=(0,c.useRef)(0),a=(0,c.useCallback)(t=>{let n=++u.current;return o(e=>({status:"pending",data:e.data,error:void 0})),e(r,t).then(({data:e})=>(n===u.current&&o({status:"success",data:e,error:void 0}),e),e=>{throw n===u.current&&o(t=>({status:"error",data:t.data,error:e})),e})},[r]),i=(0,c.useCallback)(()=>{u.current++,o(t)},[]);return{mutate:a,isPending:"pending"===s.status,error:s.error,data:s.data,reset:i}}}y(o.RS),y(o.pW),y(o.cU),_(o.WS),_(o.K3),(0,n.s)(a.d),(0,n.s)(a.s),(0,n.s)({getState:(e,t)=>
1{if(!t||"object"!=typeof t)throw Error('useClient() requires a configuration object with at least an "apiVersion" property. Example: useClient({ apiVersion: "2024-11-12" })');return(0,a.r)(e,t)},getConfig:e=>e}),i.C,i.E,i.x,i.T,y(o.E),_(o.xF),y(o.EJ);(0,n.s)({getState:(e,t)=>(0,o.hT)(e,t),shouldSuspend:(e,{path:t,...r})=>void 0===(0,o.hT)(e,r).getCurrent(),suspender:(e,t)=>(0,o.AK)(e,t),getConfig:p.D});(0,n.s)({getState:o.tf,shouldSuspend:(e,t)=>void 0===(0,o.tf)(e,t).getCurrent(),suspender:(e,t)=>(0,o.AK)(e,t),getConfig:p.D}),y(o.pK),y(o.Ys),y(o.kw),y(o.Zn),y(o.Cv),y(o.dt),(0,n.s)({getState:i.s,shouldSuspend:(e,t)=>void 0===(0,i.s)(e,t??{}).getCurrent(),suspender:(e,t)=>(0,f._)((0,i.s)(e,t??{}).observable.pipe((0,g.p)(Boolean)))}),(0,n.s)({getState:i.c,shouldSuspend:(e,t)=>void 0===(0,i.c)(e,t??{}).getCurrent(),suspender:(e,t)=>(0,f._)((0,i.c)(e,t??{}).observable.pipe((0,g.p)(Boolean)))}),(0,n.s)({getState:i.o,shouldSuspend:(e,t)=>void 0===(0,i.o)(e,t).getCurrent(),suspender:(e,t)=>(0,f._)((0,i.o)(e,t??{}).observable.pipe((0,g.p)(Boolean)))}),"u">typeof v&&v.env?v.env.PKG_VERSION:"u">typeof window&&window.ENV&&window.ENV?.PKG_VERSION}}]); 2//# chunkId=01a0f74a-a0b7-7450-8c74-a85596a6b75c
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.