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