PageSourceSearch

https://www.theartnewspaper.com/_next/static/chunks/6579.1ed5243da6ca823c.js

js theartnewspaper.com collected 2026-09-24 08:27:29 UTC 2,501 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6579],{56579:(e,n,a)=>{a.r(n),a.d(n,{default:()=>u});var t=a(94186),o=a(75828);let s=(0,o.createServerReference)("7f5f82853ed1d93a84a2eff7c0b399dee081dd1b31",o.callServer,void 0,o.findSourceMapURL,"setPerspectiveCookie");var i=a(76046),r=a(12115),l=a(84880),c=a(55086);let d={"handshake/syn":t.Tx,"handshake/syn-ack":t.Rr,"handshake/ack":t.IM,"channel/response":t._K,"channel/heartbeat":t.vd,"channel/disconnect":t.FS,"overlay/focus":"visual-editing/focus","overlay/navigate":"visual-editing/navigate","overlay/toggle":"visual-editing/toggle","presentation/toggleOverlay":"presentation/toggle-overlay"},v={[t.Tx]:"handshake/syn",[t.Rr]:"handshake/syn-ack",[t.IM]:"handshake/ack",[t._K]:"channel/response",[t.vd]:"channel/heartbeat",[t.FS]:"channel/disconnect","visual-editing/focus":"overlay/focus","visual-editing/navigate":"overlay/navigate","visual-editing/toggle":"overlay/toggle","presentation/toggle-overlay":"presentation/toggleOverlay"},h=e=>{let{data:n}=e;return n&&"object"==typeof n&&"domain"in n&&"type"in n&&"from"in n&&"to"in n&&("sanity/channels"===n.domain&&(n.domain=t.V2),"overlays"===n.to&&(n.to="visual-editing"),"overlays"===n.from&&(n.from="visual-editing"),n.channelId=n.connectionId,delete n.connectionId,n.type=d[n.type]??n.type),e},p=e=>{let{channelId:n,...a}=e,o={...a,connectionId:n};return o.domain===t.V2&&(o.domain="sanity/channels"),"visual-editing"===o.to&&(o.to="overlays"),"visual-editing"===o.from&&(o.from="overlays"),o.type=v[o.type]??o.type,"channel/response"===o.type&&o.responseTo&&!o.data&&(o.data={responseTo:o.responseTo}),("handshake/syn"===o.type||"handshake/syn-ack"===o.type||"handshake/ack"===o.type)&&(o.data={id:o.connectionId}),o},y=({context:e},n)=>{let{sources:a,targetOrigin:t}=e,o=p(n.message);a.forEach(e=>{e.postMessage(o,{targetOrigin:t})})},g=()=>({listen:(0,t.CC)(h),requestMachine:(0,t.tP)().provide({actions:{"send message":y}})});function u(e){let{draftModeEnabled:n,draftModePerspective:a}=e,o=(0,i.useRouter)(),d=(0,l.J)((e,t)=>{n&&e!==a&&s(e).then(()=>{t.aborted||o.refresh()}).catch(e=>console.error("Failed to set the preview perspective cookie",e))});return(0,r.useEffect)(()=>{let e;let n=(0,t.RM)({name:"loaders",connectTo:"presentation"},(0,t.Uc)().provide({actors:g()}));n.on("loader/perspective",n=>{e?.abort(),e=new AbortController,d(n.perspective,e.signal)});let a=n.start();return(0,c.El)(n),()=>{a()}},[d]),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.