1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4713],{4713:(e,t,n)=>{n.r(t),n.d(t,{default:()=>eI});var r=n(95155),i=n(43377),a=n(12115),l=n(54557),o=n(7250),s=n(47242),d=n(36356),u=n(71286),p=n(70954),c=n(7161),f=n(55067),h=n(43890),m=n(17336),x=n(10883),g=n(33015),y=n(57348),I=n(71311),w=n(78735),j=n(44537),b=n(54457),_=n(50793),v=n(18343),P=n(1125),S=n(98175),E=n(94372),$=n(93917),k=n(90621),z=n(90330),T=n(83060),G=n(24323),C=n(44987),M=n(25386),N=n(60245);class O extends Error{constructor({message:e,context:t,helpId:n,cause:r}){super(e),this.name="PaneResolutionError",this.context=t,this.helpId=n,this.cause=r}}let B=new WeakMap;function R(e){let t=B.get(e);if(t)return t;let n=(0,I.Ak)();return B.set(e,n),n}let D=e=>!!e&&"function"==typeof e?.then,L=e=>!!(0,l.u4i)(e)&&"function"==typeof e.serialize,Z=e=>(t,n,r)=>{try{return e(t,n,r)}catch(e){throw e instanceof O?e:new O({message:"string"==typeof e?.message?e.message:"",context:n,cause:e})}},A=e=>(...t)=>e(...t).pipe((0,w.H)(1),(0,j.B)());function Y(e){let t=Z(A(e((e,n,r)=>{if(!e)throw new O({message:"Pane returned no child",context:n,helpId:"structure-item-returned-no-child"});return D(e)||(0,c.A)(e)?(0,f.H)(e).pipe((0,b.n)(e=>t(e,n,r))):L(e)?t(e.serialize(n),n,r):"function"==typeof e?t(e(n.id,n),n,r):(0,h.of)(e)})));return t}let H=new WeakMap;function J(e,t){let n=H.get(e)||new Map;if(n){let e=n.get(t);if(e)return e}let r=e[t];if("function"!=typeof r)throw Error(`Expected property \`${t}\` to be a function but got ${typeof r} instead.`);let i=r.bind(e);return n.set(t,i),H.set(e,n),i}async function F(e){let t=new Map,n=Y(e=>(n,r,i)=>{let a=n&&`${R(n)}-${r.path.join("__")}`,l=a&&t.get(a);if(l)return l;let o=e(n,r,i);return a&&t.set(a,o),o}),r=[[{id:`__edit__${e.params.id}`,params:{...p(e.params,["id"]),type:e.params.type},payload:e.payload}]];async function i({currentId:e,flatIndex:t,intent:r,params:a,parent:l,path:o,payload:s,unresolvedPane:d,levelIndex:u,structureContext:p}){if(!d)return[];let{id:c,type:f,...h}=a,x=await (0,m._)(n(d,{id:e,splitIndex:0,parent:l,path:o,index:t,params:{},payload:void 0,structureContext:p},t));return"document"===x.type&&x.id===c?[{panes:[...o.slice(0,o.length-1).map(e=>[{id:e}]),[{id:c,params:h,payload:s}]],depthIndex:o.length,levelIndex:u}]:x.canHandleIntent?.(r,a,{pane:x,index:t})||"documentList"===x.type&&x.schemaTypeName===f&&"_type == $type"===x.options.filter?[{panes:[...o.map(e=>[{id:e}]),[{id:a.id,params:h,payload:s}]],depthIndex:o.length,levelIndex:u}]:"list"===x.type&&x.child&&x.items?(await Promise.all(x.items.map((e,n)=>"divider"===e.type?Promise.resolve([]):i({currentId:e._id||e.id,flatIndex:t+1,intent:r,params:a,parent:x,path:[...o,e.id],payload:s,unresolvedPane:"function"==typeof x.child?J(x,"child"):x.child,levelIndex:n,structureContext:p})))).flat():[]}let a=(await i({currentId:"root",flatIndex:0,levelIndex:0,intent:e.intent,params:e.params,parent:null,path:[],payload:e.payload,unresolvedPane:e.rootPaneNode,structureContext:e.structureContext})).sort((e,t)=>e.depthIndex===t.depthIndex?e.levelIndex-t.levelIndex:e.depthIndex-t.depthIndex)[0];return a?a.panes:r}let W=(e,t)=>{let n=e.replace(/^__edit__/,""),{params:r,payload:i,structureContext:{resolveDocumentNode:a}}=t,{type:l,template:o}=r;if(!l)throw Error(`Document type for document with ID ${n} was not provided in the router params.`);let s=a({schemaType:l,documentId:n}).id("editor");return o&&(s=s.initialValueTemplate(o,i)),s.serialize()},V=e=>{let t={type:e.type,id:e.routerPaneSibling.id,params:e.routerPaneSibling.params||{},payload:e.routerPaneSibling.payload||null,flatIndex:e.flatIndex,groupIndex:e.groupIndex,siblingIndex:e.siblingIndex,path:e.path,paneNode:"resolvedMeta"===e.type?R(e.paneNode):null};return`metaHash(${JSON.stringify(t)})`};function K(e){return e?.panes||[]}function q(){return new y.m(1)}function Q(e){let t=e.reduce(U,[]),n=t.length,r=e.map(r=>{let{groupIndex:i,flatIndex:a,siblingIndex:l,routerPaneSibling:o,path:d}=r,u=o.id,p=t[i+1];return{active:i===n-2,childItemId:p?.[0].id??null,index:a,itemId:o.id,groupIndex:i,key:`${"loading"===r.type?"unknown":r.paneNode.id}-${u}-${l}`,pane:"loading"===r.type?s.Gp:r.paneNode,params:o.params||{},path:d.join(";"),payload:o.payload,selected:a===e.length-1,siblingIndex:l}});return{paneDataItems:r,routerPanes:t,resolvedPanes:r.map(X)}}function X(e){return e.pane}function U(e,t){let n=e[t.groupIndex]||[];return n[t.siblingIndex]=t.routerPaneSibling,e[t.groupIndex]=n,e}async function ee(e,t,n){if(t&&n)return{id:t,type:n};if(!t&&n)return{id:(0,k.A)(),type:n};if(t&&!n){let n=await (0,m._)(e.resolveTypeForDocument(t));return{id:t,type:n}}throw new O({message:"Neither document `id` or `type` was provided when trying to resolve intent."})}let et={}
1,en=(0,a.memo)(function(){let e,t,n=(0,i.c)(7),{navigate:r}=(0,u.rd)(),o=(0,u.ks)(er),{rootPaneNode:d,structureContext:p}=(0,s.pl)(),c=(0,l.q3J)(),[f,h]=(0,a.useState)(null);if(f)throw f;return n[0]!==c||n[1]!==o||n[2]!==r||n[3]!==d||n[4]!==p?(e=()=>{if(o){let{intent:e,params:t,payload:n}=o,i=!1;return(async function(){let{id:a,type:l}=await ee(c,"string"==typeof t.id?t.id:void 0,"string"==typeof t.type?t.type:void 0);if(i)return;let o=await F({intent:e,params:{...t,id:a,type:l},payload:n,rootPaneNode:d,structureContext:p});i||r({panes:o},{replace:!0})})().catch(h),()=>{i=!0}}},t=[c,o,r,d,p],n[0]=c,n[1]=o,n[2]=r,n[3]=d,n[4]=p,n[5]=e,n[6]=t):(e=n[5],t=n[6]),(0,a.useEffect)(e,t),null});function er(e){let t="string"==typeof e.intent?e.intent:void 0;return t?{intent:t,params:(0,l.u4i)(e.params)?e.params:et,payload:e.payload}:void 0}let ei=C.I4.span` 2 &:not(:last-child)::after { 3 content: ' â '; 4 opacity: 0.5; 5 } 6`;function ea(e){let t,n,a,s,u,p,c,f,h,m,x,g,y,I,w,j,b,_,v,P,S,E,$,k,G,C,M,N,B,R,D=(0,i.c)(74),{error:L}=e;if(!(L instanceof O))throw L;let{cause:Z}=L,{t:A}=(0,l.Bdt)(d.Z7),Y=Z?.stack||L.stack;D[0]!==Z||D[1]!==L.message||D[2]!==Y?(t=Y&&!(Z instanceof d.LV)&&!L.message.includes("Module build failed:"),D[0]=Z,D[1]=L.message,D[2]=Y,D[3]=t):t=D[3];let H=t;if(D[4]!==Z||D[5]!==L.helpId||D[6]!==A){let e,t=Z instanceof d.LV?Z.path:[];p=Z instanceof d.LV&&Z.helpId||L.helpId,u=eo,s=T.Zp,c="fill",f="auto",h=4,m="border",x="critical",a=T.mc,D[25]!==A?(e=A("structure-error.header.text"),D[25]=A,D[26]=e):e=D[26],D[27]!==e?(v=(0,r.jsx)(T.DZ,{as:"h2",children:e}),D[27]=e,D[28]=v):v=D[28],n=T.Zp,g=4,y=4,I=2,w="auto",j=1,b="inherit",_=t.length>0&&(0,r.jsxs)(T.BJ,{space:2,children:[(0,r.jsx)(T.EY,{size:1,weight:"medium",children:A("structure-error.structure-path.label")}),(0,r.jsx)(T.Cy,{children:t.slice(1).map(el)})]}),D[4]=Z,D[5]=L.helpId,D[6]=A,D[7]=n,D[8]=a,D[9]=s,D[10]=u,D[11]=p,D[12]=c,D[13]=f,D[14]=h,D[15]=m,D[16]=x,D[17]=g,D[18]=y,D[19]=I,D[20]=w,D[21]=j,D[22]=b,D[23]=_,D[24]=v}else n=D[7],a=D[8],s=D[9],u=D[10],p=D[11],c=D[12],f=D[13],h=D[14],m=D[15],x=D[16],g=D[17],y=D[18],I=D[19],w=D[20],j=D[21],b=D[22],_=D[23],v=D[24];return D[29]!==A?(P=A("structure-error.error.label"),D[29]=A,D[30]=P):P=D[30],D[31]!==P?(S=(0,r.jsx)(T.EY,{size:1,weight:"medium",children:P}),D[31]=P,D[32]=S):S=D[32],D[33]!==L.message||D[34]!==H||D[35]!==Y?(E=H?Y.replace(/\(\.\.\.\)\./g,`(...) 7 .`).replace(/__WEBPACK_IMPORTED_MODULE_\d+_+/g,"").replace(/___default\./g,".").replace(RegExp(` \\(https?:\\/\\/${window.location.host}`,"g")," ("):L.message,D[33]=L.message,D[34]=H,D[35]=Y,D[36]=E):E=D[36],D[37]!==E?($=(0,r.jsx)(T.Cy,{children:E}),D[37]=E,D[38]=$):$=D[38],D[39]!==S||D[40]!==$?(k=(0,r.jsxs)(T.BJ,{marginTop:4,space:2,children:[S,$]}),D[39]=S,D[40]=$,D[41]=k):k=D[41],D[42]!==p||D[43]!==A?(G=p&&(0,r.jsx)(T.az,{marginTop:4,children:(0,r.jsx)(T.EY,{children:(0,r.jsx)("a",{href:(0,o.iB)(p),rel:"noopener noreferrer",target:"_blank",children:A("structure-error.docs-link.text")})})}),D[42]=p,D[43]=A,D[44]=G):G=D[44],D[45]!==A?(C=A("structure-error.reload-button.text"),D[45]=A,D[46]=C):C=D[46],D[47]!==u||D[48]!==C?(M=(0,r.jsx)(T.az,{marginTop:4,children:(0,r.jsx)(o.$n,{text:C,icon:z.Fjq,tone:"primary",onClick:u})}),D[47]=u,D[48]=C,D[49]=M):M=D[49],D[50]!==n||D[51]!==k||D[52]!==g||D[53]!==G||D[54]!==M||D[55]!==y||D[56]!==I||D[57]!==w||D[58]!==j||D[59]!==b||D[60]!==_?(N=(0,r.jsxs)(n,{marginTop:g,padding:y,radius:I,overflow:w,shadow:j,tone:b,children:[_,k,G,M]}),D[50]=n,D[51]=k,D[52]=g,D[53]=G,D[54]=M,D[55]=y,D[56]=I,D[57]=w,D[58]=j,D[59]=b,D[60]=_,D[61]=N):N=D[61],D[62]!==a||D[63]!==N||D[64]!==v?(B=(0,r.jsxs)(a,{children:[v,N]}),D[62]=a,D[63]=N,D[64]=v,D[65]=B):B=D[65],D[66]!==s||D[67]!==c||D[68]!==f||D[69]!==h||D[70]!==m||D[71]!==x||D[72]!==B?(R=(0,r.jsx)(s,{height:c,overflow:f,padding:h,sizing:m,tone:x,children:B}),D[66]=s,D[67]=c,D[68]=f,D[69]=h,D[70]=m,D[71]=x,D[72]=B,D[73]=R):R=D[73],R}function el(e,t){return(0,r.jsx)(ei,{children:e},`${e}-${t}`)}function eo(){window.location.reload()}function es(){let e,t,n,a,o,s,u,p,c=(0,i.c)(17),{t:f}=(0,l.Bdt)(d.Z7);return c[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,r.jsx)(T.az,{children:(0,r.jsx)(T.EY,{size:1,children:(0,r.jsx)(z.sAQ,{})})}),c[0]=e):e=c[0],c[1]!==f?(t=f("no-document-types-screen.title"),c[1]=f,c[2]=t):t=c[2],c[3]!==t?(n=(0,r.jsx)(T.EY,{as:"h1",size:1,weight:"medium",children:t}),c[3]=t,c[4]=n):n=c[4],c[5]!==f?(a=f("no-document-types-screen.subtitle"),c[5]=f,c[6]=a):a=c[6],c[7]!==a?(o=(0,r.jsx)(T.EY,{as:"p",muted:!0,size:1,children:a}),c[7]=a,c[8]=o):o=c[8],c[9]!==f?(s=f("no-document-types-screen.link-text"),c[9]=f,c[10]=s):s=c[10],c[11]!==s?(u=(0,r.jsx)(T.EY,{as:"p",muted:!0,size:1,children:(0,r.jsx)("a",{href:"https://www.sanity.io/docs/create-a-schema-and-configure-sanity-studio",target:"_blank",rel:"noreferrer",children:s})}),c[11]=s,c[12]=u):u=c[12],c[13]!==n||c[14]!==o||c[15]!==u?(p=(0,r.jsx)(T.Zp,{height:"fill",children:(0,r.jsx)(T.so,{align:"center",height:"fill",justify:"center",padding:4,sizing:"border",children:(0,r.jsx)(T.mc,{width:0,children:(0,r.jsx)(T.Zp,{padding:4,radius:2,shadow:1,tone:"caution",children:(0,r.jsxs)(T.so,{children:[e,(0,r.jsxs)(T.BJ,{flex:1,marginLeft:3,space:3,children:[n,o,u]})]})})})})}),c[13]=n,c[14]=o,c[15]=u,c[16]=p):p=c[16],p}let ed=e=>
7{let t,n,r=(0,i.c)(7),{documentId:o,documentType:u}=e,{selectedReleaseId:p}=(0,l.QO2)(),c=(0,l.zX2)(o,u,"default",p),f=(0,l.I07)(),{t:h}=(0,l.Bdt)(d.Z7),m=!c?.published&&!c?.draft,x=c?.version||c?.draft||c?.published,g=f.get(u),{value:y,isLoading:I}=(0,l.MOl)({enabled:!!x,schemaType:g,value:x}),{lastRevisionDocument:w}=(0,s.c0)(o,u),j=w&&!x?"":m?h("browser-document-title.new-document",{schemaType:g?.title||g?.name}):y?.title||h("browser-document-title.untitled-document"),b=c.ready&&!I,_=ec(j);return r[0]!==_||r[1]!==b?(t=()=>{b&&(document.title=_)},r[0]=_,r[1]=b,r[2]=t):t=r[2],r[3]!==j||r[4]!==_||r[5]!==b?(n=[j,b,_],r[3]=j,r[4]=_,r[5]=b,r[6]=n):n=r[6],(0,a.useEffect)(t,n),null},eu=e=>{let t,n,r=(0,i.c)(5),{title:l}=e,o=ec(l);return r[0]!==o?(t=()=>{document.title=o},r[0]=o,r[1]=t):t=r[1],r[2]!==o||r[3]!==l?(n=[o,l],r[2]=o,r[3]=l,r[4]=n):n=r[4],(0,a.useEffect)(t,n),null},ep=e=>{let t,n=(0,i.c)(8),{resolvedPanes:a}=e;if(!a?.length)return null;let l=a[a.length-1];if(l===s.Gp){let e;return n[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,r.jsx)(eu,{}),n[0]=e):e=n[0],e}if(function(e){return e!==s.Gp&&"document"===e.type}(l)){let e;if(l?.title){let e;return n[1]!==l.title?(e=(0,r.jsx)(eu,{title:l.title}),n[1]=l.title,n[2]=e):e=n[2],e}return n[3]!==l.options.id||n[4]!==l.options.type?(e=(0,r.jsx)(ed,{documentId:l.options.id,documentType:l.options.type}),n[3]=l.options.id,n[4]=l.options.type,n[5]=e):e=n[5],e}let o=l?.title;return n[6]!==o?(t=(0,r.jsx)(eu,{title:o}),n[6]=o,n[7]=t):t=n[7],t};function ec(e){let t,n=(0,i.c)(3),r=(0,s.pl)().structureContext.title;return n[0]!==e||n[1]!==r?(t=[e,r].filter(ef),n[0]=e,n[1]=r,n[2]=t):t=n[2],t.join(" | ")}function ef(e){return e}let eh=(0,C.I4)(s.bt)` 8 min-height: 100%; 9 min-width: 320px; 10`,em=(0,M.v_)("mod+s"),ex=(0,a.memo)(function(e){let t,n,d,p,c,f,m,y,I,w,j,k,z=(0,i.c)(31),{onPaneChange:C}=e,{push:M}=(0,G.dj)(),B=(0,l.I07)(),{layoutCollapsed:D,setLayoutCollapsed:L}=(0,s.pl)(),{paneDataItems:Z,resolvedPanes:A}=function(){let e,t,n,r=(0,i.c)(6),[l,d]=(0,a.useState)();if(l)throw l;let{structureContext:p,rootPaneNode:c}=(0,s.pl)();r[0]===Symbol.for("react.memo_cache_sentinel")?(e={paneDataItems:[],resolvedPanes:[],routerPanes:[]},r[0]=e):e=r[0];let[f,m]=(0,a.useState)(e),y=function(){let e,t,n,r=(0,i.c)(6),[l]=(0,a.useState)(q);r[0]!==l?(e=l.asObservable().pipe((0,_.T)(K)),r[0]=l,r[1]=e):e=r[1];let o=e,{state:s}=(0,u.rd)();
10return r[2]!==s||r[3]!==l?(t=()=>{l.next(s)},n=[s,l],r[2]=s,r[3]=l,r[4]=t,r[5]=n):(t=r[4],n=r[5]),(0,a.useEffect)(t,n),o}();return r[1]!==c||r[2]!==y||r[3]!==p?(t=()=>{let e=(function({routerPanesStream:e,rootPaneNode:t,initialCacheState:n={cacheKeysByFlatIndex:[],flattenedRouterPanes:[],resolvedPaneCache:new Map,resolvePane:()=>g.t},structureContext:r}){return e.pipe((0,_.T)(e=>[[{id:"root"}],...e]),(0,_.T)(e=>e.flatMap((e,t)=>e.map((e,n)=>({routerPaneSibling:e,groupIndex:t,siblingIndex:n}))).map((e,t)=>({...e,flatIndex:t}))),(0,v.Z)([]),(0,P.N)(function(e,t){var n,r=!1;e.subscribe((0,S._)(t,function(e){var i=n;n=e,r&&t.next([i,e]),r=!0}))}),(0,_.T)(([e,t])=>{for(let n=0;n<t.length;n++)if(!N(e[n],t[n]))return{flattenedRouterPanes:t,diffIndex:n};return{flattenedRouterPanes:t,diffIndex:t.length}}),(0,E.S)((e,t)=>{let{cacheKeysByFlatIndex:n,resolvedPaneCache:r}=e,{flattenedRouterPanes:i,diffIndex:a}=t,l=n.slice(0,a+1),o=n.slice(a+1),s=new Set(l.flatMap(e=>Array.from(e)));for(let e of o.flatMap(e=>Array.from(e)).filter(e=>!s.has(e)))r.delete(e);return{flattenedRouterPanes:i,cacheKeysByFlatIndex:n,resolvedPaneCache:r,resolvePane:Y(e=>(t,i,a)=>{let l=t&&`${R(t)}-contextHash(${JSON.stringify({id:i.id,parentId:parent&&R(parent),path:i.path,index:i.index,splitIndex:i.splitIndex,serializeOptionsIndex:i.serializeOptions?.index,serializeOptionsPath:i.serializeOptions?.path})})`,o=l&&r.get(l);if(o)return o;let s=e(t,i,a);if(!l)return s;let d=n[a]||new Set;return d.add(l),n[a]=d,r.set(l,s),s})}},n),(0,b.n)(({flattenedRouterPanes:e,resolvePane:n})=>(function e({unresolvedPane:t,flattenedRouterPanes:n,parent:r,path:i,resolvePane:a,structureContext:l}){let[s,...d]=n,u=d[0],p={id:s.routerPaneSibling.id,splitIndex:s.siblingIndex,parent:r,path:[...i,s.routerPaneSibling.id],index:s.flatIndex,params:s.routerPaneSibling.params||{},payload:s.routerPaneSibling.payload,structureContext:l};try{return a(t,p,s.flatIndex).pipe((0,b.n)(n=>{let o,c={type:"resolvedMeta",...s,paneNode:n,path:p.path},f=d.map((e,t)=>({type:"loading",path:[...p.path,...d.slice(t).map((t,n)=>`[${e.flatIndex+n}]`)],paneNode:null,...e}));return d.length?(o=u?.routerPaneSibling.id.startsWith("__edit__")?e({unresolvedPane:W,flattenedRouterPanes:d,parent:r,path:p.path,resolvePane:a,structureContext:l}):s.groupIndex===u?.groupIndex?e({unresolvedPane:t,flattenedRouterPanes:d,parent:r,path:i,resolvePane:a,structureContext:l}):e({unresolvedPane:"function"==typeof n.child?J(n,"child"):n.child,flattenedRouterPanes:d,parent:n,path:p.path,resolvePane:a,structureContext:l}),(0,x.x)((0,h.of)([c,...f]),o.pipe((0,_.T)(e=>[c,...e])))):(0,h.of)([c])}))}catch(e){if(e instanceof O&&(e.context&&console.warn(`Pane resolution error at index ${e.context.index}${e.context.splitIndex>0?` for split pane index ${e.context.splitIndex}`:""}: ${e.message}${e.helpId?` - see ${(0,o.iB)(e.helpId)}`:""}`,e),"structure-item-returned-no-child"===e.helpId))return(0,h.of)([]);throw e}})({unresolvedPane:t,flattenedRouterPanes:e,parent:null,path:[],resolvePane:n,structureContext:r}))).pipe((0,E.S)((e,t)=>t.map((t,n)=>{let r=e[n];return r&&"loading"===t.type&&r.routerPaneSibling.id===t.routerPaneSibling.id?r:t}),[]),(0,$.F)((e,t)=>{if(e.length!==t.length)return!1;for(let n=0;n<t.length;n++){let r=e[n],i=t[n];if(V(r)!==V(i))return!1}return!0}))})({rootPaneNode:c,routerPanesStream:y,structureContext:p}).pipe((0,_.T)(Q)).subscribe({next:e=>m(e),error:e=>d(e)});return()=>e.unsubscribe()},n=[c,y,p],r[1]=c,r[2]=y,r[3]=p,r[4]=t,r[5]=n):(t=r[4],n=r[5]),(0,a.useEffect)(t,n),f}(),H=(0,u.ks)(eg),{sanity:F}=(0,T.DP)(),{media:X}=F,[U,ee]=(0,a.useState)(null);z[0]!==L?(t=()=>L(!0),z[0]=L,z[1]=t):t=z[1];let et=t;z[2]!==L?(n=()=>L(!1),z[2]=L,z[3]=n):n=z[3];let en=n;if(z[4]!==C||z[5]!==A?(d=()=>{A.length&&C(A)},p=[C,A],z[4]=C,z[5]=A,z[6]=d,z[7]=p):(d=z[6],p=z[7]),(0,a.useEffect)(d,p),z[8]!==M?(c=()=>{let e=e=>{em(e)&&(e.preventDefault(),M({closable:!0,id:"auto-save-message",status:"info",title:"Your work is automatically saved!",duration:4e3}))};return window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)},f=[M],z[8]=M,z[9]=c,z[10]=f):(c=z[9],f=z[10]),(0,a.useEffect)(c,f),!B._original?.types.some(l.Xhw)){let e;return z[11]===Symbol.for("react.memo_cache_sentinel")?(e=(0,r.jsx)(es,{}),z[11]=e):e=z[11],e}let er=U||null,ei=D?void 0:"fill",ea=X[1];return z[12]!==Z?(m=Z.map(ey),z[12]=Z,z[13]=m):m=z[13],z[14]!==H||z[15]!==
10Z.length?(y=Z.length<=1&&H&&(0,r.jsx)(s.RG,{paneKey:"intent-resolver"}),z[14]=H,z[15]=Z.length,z[16]=y):y=z[16],z[17]!==et||z[18]!==en||z[19]!==X[1]||z[20]!==m||z[21]!==y||z[22]!==ei?(I=(0,r.jsxs)(eh,{flex:1,height:ei,minWidth:ea,onCollapse:et,onExpand:en,children:[m,y]}),z[17]=et,z[18]=en,z[19]=X[1],z[20]=m,z[21]=y,z[22]=ei,z[23]=I):I=z[23],z[24]!==A?(w=(0,r.jsx)(ep,{resolvedPanes:A}),z[24]=A,z[25]=w):w=z[25],z[26]===Symbol.for("react.memo_cache_sentinel")?(j=(0,r.jsx)("div",{"data-portal":"",ref:ee}),z[26]=j):j=z[26],z[27]!==I||z[28]!==w||z[29]!==er?(k=(0,r.jsxs)(T.GD,{element:er,children:[I,w,j]}),z[27]=I,z[28]=w,z[29]=er,z[30]=k):k=z[30],k});function eg(e){return"string"==typeof e.intent}function ey(e){let{active:t,childItemId:n,groupIndex:i,itemId:l,key:o,pane:d,index:u,params:p,path:c,payload:f,siblingIndex:h,selected:m}=e;return(0,r.jsx)(a.Fragment,{children:d===s.Gp?(0,r.jsx)(s.RG,{paneKey:o,path:c,selected:m}):(0,r.jsx)(s.Gt,{active:t,groupIndex:i,index:u,pane:d,childItemId:n,itemId:l,paneKey:o,params:p,payload:f,path:c,selected:m,siblingIndex:h})},`${d===s.Gp?"loading":d.type}-${u}`)}function eI(e){let t,n,u,p,c,f,h,m=(0,i.c)(14),{tool:x}=e,{options:g}=x,{unstable_sources:y}=(0,l.hA9)(),[I]=y;m[0]!==g?(t=g||{},m[0]=g,m[1]=t):t=m[1];let{source:w,defaultDocumentNode:j,structure:b}=t;m[2]===Symbol.for("react.memo_cache_sentinel")?(n=[],m[2]=n):n=m[2],(0,a.useEffect)(ew,n),m[3]===Symbol.for("react.memo_cache_sentinel")?(u={error:null},m[3]=u):u=m[3];let[_,v]=(0,a.useState)(u),{error:P}=_;if(P){let e;return m[4]!==P?(e=(0,r.jsx)(ea,{error:P}),m[4]=P,m[5]=e):e=m[5],e}let S=w||I.name;return m[6]===Symbol.for("react.memo_cache_sentinel")?(p=(0,r.jsx)(ex,{onPaneChange:s.GG}),c=(0,r.jsx)(en,{}),m[6]=p,m[7]=c):(p=m[6],c=m[7]),m[8]!==j||m[9]!==b?(f=(0,r.jsxs)(d.$l,{defaultDocumentNode:j,structure:b,children:[p,c]}),m[8]=j,m[9]=b,m[10]=f):f=m[10],m[11]!==S||m[12]!==f?(h=(0,r.jsx)(o.tH,{onCatch:v,children:(0,r.jsx)(l.NeO,{name:S,children:f})}),m[11]=S,m[12]=f,m[13]=h):h=m[13],h}function ew(){return(0,s.GG)([]),ej}function ej(){return(0,s.GG)([])}}}]);
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.