1"use strict";(globalThis.webpackChunk_N_E=globalThis.webpackChunk_N_E||[]).push([[7654],{77654:(e,t,r)=>{r.r(t),r.d(t,{default:()=>_});var n=r(87448),s=r(97783),o=r(23796),u=r(5453),a=r(30289);function i(e){let t,r,n=(0,s.c)(18),{comlink:u,draft:a,published:i,livePreviewEnabled:_,version:v}=e,[l,d]=(0,o.useState)(a),[f,p]=(0,o.useState)(i),[h,m]=(0,o.useState)(v);n[0]!==u||n[1]!==a||n[2]!==_||n[3]!==l?._rev||n[4]!==f?._rev||n[5]!==h?._rev||n[6]!==i||n[7]!==v?(t=()=>{h?._rev!==v?._rev&&((0,o.startTransition)(()=>m(v)),v&&u?.post("presentation/refresh",{source:"mutation",livePreviewEnabled:_,document:c(v)})),l?._rev!==a?._rev&&((0,o.startTransition)(()=>d(a)),a&&u?.post("presentation/refresh",{source:"mutation",livePreviewEnabled:_,document:c(a)})),f?._rev!==i?._rev&&((0,o.startTransition)(()=>p(i)),i&&u?.post("presentation/refresh",{source:"mutation",livePreviewEnabled:_,document:c(i)}))},n[0]=u,n[1]=a,n[2]=_,n[3]=l?._rev,n[4]=f?._rev,n[5]=h?._rev,n[6]=i,n[7]=v,n[8]=t):t=n[8];let T=l?._rev,b=f?._rev,k=h?._rev;return n[9]!==u||n[10]!==a||n[11]!==_||n[12]!==i||n[13]!==T||n[14]!==b||n[15]!==k||n[16]!==v?(r=[u,a,_,T,b,i,k,v],n[9]=u,n[10]=a,n[11]=_,n[12]=i,n[13]=T,n[14]=b,n[15]=k,n[16]=v,n[17]=r):r=n[17],(0,o.useEffect)(t,r),null}function c(e){let{_id:t,_type:r,_rev:n,slug:s}=e;return{_id:t,_type:r,_rev:n,slug:s}}var _=(0,o.memo)(function(e){let t,r=(0,s.c)(9),{comlink:o,type:c,previewKitConnection:_,loadersConnection:v}=e;r[0]!==e.id?(t=(0,u.IM)(e.id),r[0]=e.id,r[1]=t):t=r[1];let l=t,{selectedReleaseId:d}=(0,a.QO2)(),{draft:f,published:p,ready:h,version:m}=(0,a.zX2)(l,c,"low",d),T="connected"===_||"connected"===v;if(h&&f||p){let e;return r[2]!==o||r[3]!==f||r[4]!==l||r[5]!==T||r[6]!==p||r[7]!==m?(e=(0,n.jsx)(i,{comlink:o,draft:f,livePreviewEnabled:T,published:p,version:m},l),r[2]=o,r[3]=f,r[4]=l,r[5]=T,r[6]=p,r[7]=m,r[8]=e):e=r[8],e}return 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.