1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4250],{94250:(e,r,t)=>{t.r(r),t.d(r,{default:()=>u});var a=t(91558),o=t(12247);let c=(0,o.createServerReference)("7f7995d5abb202a95f6a51a02603d6a793b9e575e6",o.callServer,void 0,o.findSourceMapURL,"setPerspectiveCookie");var l=t(2990),n=t(27541),s=t(7620),i=t(75629),p=t(34047);function u(e){let{projectId:r,dataset:t,draftModeEnabled:o,draftModePerspective:u}=e,f=(0,n.useRouter)();(0,s.useEffect)(()=>{(0,p.lc)(r,t)},[t,r]);let d=(0,i.J)((e,r)=>{o&&e!==u&&c(e).then(()=>{r.aborted||f.refresh()}).catch(e=>console.error("Failed to set the preview perspective cookie",e))});return(0,s.useEffect)(()=>{let e,r=(0,a.RM)({name:"loaders",connectTo:"presentation"},(0,a.Uc)().provide({actors:(0,l.jF)()}));r.on("loader/perspective",r=>{e?.abort(),e=new AbortController,d(r.perspective,e.signal)});let t=r.start();return(0,p.El)(r),()=>{t()}},[]),null}u.displayName="PresentationComlink"}}]);
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.