1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2142],{42142:(e,t,n)=>{n.r(t),n.d(t,{default:()=>r});var s=n(21803),i=n(8107),a=n(4339),u=n(89225),o=n(14637),p=n(40142),c=n(91337),r=(0,s.memo)(e=>{let{comlink:t}=e,n=(0,p.tH7)({apiVersion:c.mG});return(0,s.useEffect)(()=>{let e=n.listen('*[!(_id in path("_.**"))]',{},{effectFormat:"mendoza",events:["welcome","mutation","reconnect"],includePreviousRevision:!1,includeResult:!1,tag:"presentation-documents",visibility:"transaction"}).pipe((0,i.p)(e=>"welcome"===e.type||"reconnect"===e.type||"mutation"===e.type)),s=e.pipe((0,i.p)(e=>"welcome"===e.type),(0,a.t)({bufferSize:1,refCount:!1})),p=t.on("visual-editing/snapshot-welcome",async()=>({event:await new Promise(e=>{s.pipe((0,u.$)()).subscribe(t=>{e(t)})})})),c=e.pipe((0,i.p)(e=>"reconnect"===e.type)),r=e.pipe((0,i.p)(e=>"mutation"===e.type)),l=(0,o.h)(s,r,c).subscribe(e=>{t.post({type:"presentation/snapshot-event",data:{event:e}})});return()=>{p(),l.unsubscribe()}},[n,t]),(0,s.useEffect)(()=>t.on("visual-editing/fetch-snapshot",async e=>({snapshot:await n.getDocument(e.documentId,{tag:"document.snapshots"})})),[n,t]),(0,s.useEffect)(()=>t.on("visual-editing/mutate",async e=>n.dataRequest("mutate",e,{visibility:"async",returnDocuments:!0})),[n,t]),null})}}]);
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.