PageSourceSearch

https://www.navattic.com/_next/static/chunks/8945.185539d9b8d98c7a.js

js navattic.com collected 2026-09-24 08:31:08 UTC 20,650 bytes, 10 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8945],{78945:(e,t,n)=>{n.r(t),n.d(t,{default:()=>ey});var r=n(95155),i=n(11748),a=n(12115),l=n(81323),s=n(81220),o=n(51790),d=n(54398),p=n(83896),u=n(43734),c=n(78411),f=n(50384),h=n(86238),m=n(85755),x=n(28775),g=n(61270),y=n(43756),I=n(37305),w=n(54152),b=n(86494),j=n(40234),_=n(91436),v=n(63704),P=n(9618),S=n(96948),E=n(28400),k=n(98203),$=n(18362),z=n(74578),G=n(41876),T=n(96241),M=n(64509),N=n(59452),C=n(20647),D=n(97341),O=n(35138);class R 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 L=new WeakMap;function B(e){let t=L.get(e);if(t)return t;let n=(0,w.Ak)();return L.set(e,n),n}function Z(e){let t,n,r=(t=e((e,t,n)=>{if(!e)throw new R({message:"Pane returned no child",context:t,helpId:"structure-item-returned-no-child"});return e&&"function"==typeof e?.then||(0,f.A)(e)?(0,h.H)(e).pipe((0,_.n)(e=>r(e,t,n))):(0,l.u4i)(e)&&"function"==typeof e.serialize?r(e.serialize(t),t,n):"function"==typeof e?r(e(t.id,t),t,n):(0,m.of)(e)}),n=(...e)=>t(...e).pipe((0,b.H)(1),(0,j.B)()),(e,t,r)=>{try{return n(e,t,r)}catch(e){throw e instanceof R?e:new R({message:"string"==typeof e?.message?e.message:"",context:t,cause:e})}});return r}let A=new WeakMap;function Y(e,t){let n=A.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),A.set(e,n),i}async function H(e){let t=new Map,n=Z(e=>(n,r,i)=>{let a=n&&`${B(n)}-${r.path.join("__")}`,l=a&&t.get(a);if(l)return l;let s=e(n,r,i);return a&&t.set(a,s),s}),r=[[{id:`__edit__${e.params.id}`,params:{...c(e.params,["id"]),type:e.params.type},payload:e.payload}]];async function i({currentId:e,flatIndex:t,intent:r,params:a,parent:l,path:s,payload:o,unresolvedPane:d,levelIndex:p,structureContext:u}){if(!d)return[];let{id:c,type:f,...h}=a,m=await (0,x._)(n(d,{id:e,splitIndex:0,parent:l,path:s,index:t,params:{},payload:void 0,structureContext:u},t));return"document"===m.type&&m.id===c?[{panes:[...s.slice(0,s.length-1).map(e=>[{id:e}]),[{id:c,params:h,payload:o}]],depthIndex:s.length,levelIndex:p}]:m.canHandleIntent?.(r,a,{pane:m,index:t})||"documentList"===m.type&&m.schemaTypeName===f&&"_type == $type"===m.options.filter?[{panes:[...s.map(e=>[{id:e}]),[{id:a.id,params:h,payload:o}]],depthIndex:s.length,levelIndex:p}]:"list"===m.type&&m.child&&m.items?(await Promise.all(m.items.map((e,n)=>"divider"===e.type?Promise.resolve([]):i({currentId:e._id||e.id,flatIndex:t+1,intent:r,params:a,parent:m,path:[...s,e.id],payload:o,unresolvedPane:"function"==typeof m.child?Y(m,"child"):m.child,levelIndex:n,structureContext:u})))).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 J=(e,t)=>
1{let n=e.replace(/^__edit__/,""),{params:r,payload:i,structureContext:{resolveDocumentNode:a}}=t,{type:l,template:s}=r;if(!l)throw Error(`Document type for document with ID ${n} was not provided in the router params.`);let o=a({schemaType:l,documentId:n}).id("editor");return s&&(o=o.initialValueTemplate(s,i)),o.serialize()},F=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?B(e.paneNode):null};return`metaHash(${JSON.stringify(t)})`};function W(e){return e?.panes||[]}function V(){return new I.m(1)}function K(e){let t=e.reduce(Q,[]),n=t.length,r=e.map(r=>{let{groupIndex:i,flatIndex:a,siblingIndex:l,routerPaneSibling:s,path:d}=r,p=s.id,u=t[i+1];return{active:i===n-2,childItemId:u?.[0].id??null,index:a,itemId:s.id,groupIndex:i,key:`${"loading"===r.type?"unknown":r.paneNode.id}-${p}-${l}`,pane:"loading"===r.type?o.Gp:r.paneNode,params:s.params||{},path:d.join(";"),payload:s.payload,selected:a===e.length-1,siblingIndex:l,maximized:!1}});return{paneDataItems:r,routerPanes:t,resolvedPanes:r.map(q)}}function q(e){return e.pane}function Q(e,t){let n=e[t.groupIndex]||[];return n[t.siblingIndex]=t.routerPaneSibling,e[t.groupIndex]=n,e}async function X(e,t,n){if(t&&n)return{id:t,type:n};if(!t&&n)return{id:(0,z.A)(),type:n};if(t&&!n){let n=await (0,x._)(e.resolveTypeForDocument(t));return{id:t,type:n}}throw new R({message:"Neither document `id` or `type` was provided when trying to resolve intent."})}let U={},ee=(0,a.memo)(function(){let e,t,n=(0,i.c)(7),{navigate:r}=(0,p.rd)(),s=(0,p.ks)(et),{rootPaneNode:d,structureContext:u}=(0,o.pl)(),c=(0,l.q3J)(),[f,h]=(0,a.useState)(null);if(f)throw f;return n[0]!==c||n[1]!==s||n[2]!==r||n[3]!==d||n[4]!==u?(e=()=>{if(s){let{intent:e,params:t,payload:n}=s,i=!1;return(async function(){let{id:a,type:l}=await X(c,"string"==typeof t.id?t.id:void 0,"string"==typeof t.type?t.type:void 0);if(i)return;let s=await H({intent:e,params:{...t,id:a,type:l},payload:n,rootPaneNode:d,structureContext:u});i||r({panes:s},{replace:!0})})().catch(h),()=>{i=!0}}},t=[c,s,r,d,u],n[0]=c,n[1]=s,n[2]=r,n[3]=d,n[4]=u,n[5]=e,n[6]=t):(e=n[5],t=n[6]),(0,a.useEffect)(e,t),null});function et(e){let t="string"==typeof e.intent?e.intent:void 0;return t?{intent:t,params:(0,l.u4i)(e.params)?e.params:U,payload:e.payload}:void 0}let en=C.I4.span`
2  &:not(:last-child)::after {
3    content: ' ➝ ';
4    opacity: 0.5;
5  }
6`;function er(e){let t,n,a,o,p,u,c,f,h,m,x,g,y,I,w,b,j,_,v,P,S,E,k,$,z,N,C,D,O,L,B=(0,i.c)(74),{error:Z}=e;if(!(Z instanceof R))throw Z;let{cause:A}=Z,{t:Y}=(0,l.Bdt)(d.Z7),H=A?.stack||Z.stack;B[0]!==A||B[1]!==Z.message||B[2]!==H?(t=H&&!(A instanceof d.LV)&&!Z.message.includes("Module build failed:"),B[0]=A,B[1]=Z.message,B[2]=H,B[3]=t):t=B[3];let J=t;if(B[4]!==A||B[5]!==Z.helpId||B[6]!==Y){let e,t=A instanceof d.LV?A.path:[];u=A instanceof d.LV&&A.helpId||Z.helpId,p=ea,o=M.Zp,c="fill",f="auto",h=4,m="border",x="critical",a=M.mc,B[25]!==Y?(e=Y("structure-error.header.text"),B[25]=Y,B[26]=e):e=B[26],B[27]!==e?(v=(0,r.jsx)(M.DZ,{as:"h2",children:e}),B[27]=e,B[28]=v):v=B[28],n=M.Zp,g=4,y=4,I=2,w="auto",b=1,j="inherit",_=t.length>0&&(0,r.jsxs)(M.BJ,{space:2,children:[(0,r.jsx)(M.EY,{size:1,weight:"medium",children:Y("structure-error.structure-path.label")}),(0,r.jsx)(M.Cy,{children:t.slice(1).map(ei)})]}),B[4]=A,B[5]=Z.helpId,B[6]=Y,B[7]=n,B[8]=a,B[9]=o,B[10]=p,B[11]=u,B[12]=c,B[13]=f,B[14]=h,B[15]=m,B[16]=x,B[17]=g,B[18]=y,B[19]=I,B[20]=w,B[21]=b,B[22]=j,B[23]=_,B[24]=v}else n=B[7],a=B[8],o=B[9],p=B[10],u=B[11],c=B[12],f=B[13],h=B[14],m=B[15],x=B[16],g=B[17],y=B[18],I=B[19],w=B[20],b=B[21],j=B[22],_=B[23],v=B[24];return B[29]!==Y?(P=Y("structure-error.error.label"),B[29]=Y,B[30]=P):P=B[30],B[31]!==P?(S=(0,r.jsx)(M.EY,{size:1,weight:"medium",children:P}),B[31]=P,B[32]=S):S=B[32],B[33]!==Z.message||B[34]!==J||B[35]!==H?(E=J?H.replace(/\(\.\.\.\)\./g,`(...)
7  .`).replace(/__WEBPACK_IMPORTED_MODULE_\d+_+/g,"").replace(/___default\./g,".").replace(RegExp(` \\(https?:\\/\\/${window.location.host}`,"g")," ("):Z.message,B[33]=Z.message,B[34]=J,B[35]=H,B[36]=E):E=B[36],B[37]!==E?(k=(0,r.jsx)(M.Cy,{children:E}),B[37]=E,B[38]=k):k=B[38],B[39]!==S||B[40]!==k?($=(0,r.jsxs)(M.BJ,{marginTop:4,space:2,children:[S,k]}
7),B[39]=S,B[40]=k,B[41]=$):$=B[41],B[42]!==u||B[43]!==Y?(z=u&&(0,r.jsx)(M.az,{marginTop:4,children:(0,r.jsx)(M.EY,{children:(0,r.jsx)("a",{href:(0,G.i)(u),rel:"noopener noreferrer",target:"_blank",children:Y("structure-error.docs-link.text")})})}),B[42]=u,B[43]=Y,B[44]=z):z=B[44],B[45]!==Y?(N=Y("structure-error.reload-button.text"),B[45]=Y,B[46]=N):N=B[46],B[47]!==p||B[48]!==N?(C=(0,r.jsx)(M.az,{marginTop:4,children:(0,r.jsx)(s.$n,{text:N,icon:T.Fjq,tone:"primary",onClick:p})}),B[47]=p,B[48]=N,B[49]=C):C=B[49],B[50]!==n||B[51]!==$||B[52]!==g||B[53]!==z||B[54]!==C||B[55]!==y||B[56]!==I||B[57]!==w||B[58]!==b||B[59]!==j||B[60]!==_?(D=(0,r.jsxs)(n,{marginTop:g,padding:y,radius:I,overflow:w,shadow:b,tone:j,children:[_,$,z,C]}),B[50]=n,B[51]=$,B[52]=g,B[53]=z,B[54]=C,B[55]=y,B[56]=I,B[57]=w,B[58]=b,B[59]=j,B[60]=_,B[61]=D):D=B[61],B[62]!==a||B[63]!==D||B[64]!==v?(O=(0,r.jsxs)(a,{children:[v,D]}),B[62]=a,B[63]=D,B[64]=v,B[65]=O):O=B[65],B[66]!==o||B[67]!==c||B[68]!==f||B[69]!==h||B[70]!==m||B[71]!==x||B[72]!==O?(L=(0,r.jsx)(o,{height:c,overflow:f,padding:h,sizing:m,tone:x,children:O}),B[66]=o,B[67]=c,B[68]=f,B[69]=h,B[70]=m,B[71]=x,B[72]=O,B[73]=L):L=B[73],L}function ei(e,t){return(0,r.jsx)(en,{children:e},`${e}-${t}`)}function ea(){window.location.reload()}function el(){let e,t,n,a,s,o,p,u,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)(M.az,{children:(0,r.jsx)(M.EY,{size:1,children:(0,r.jsx)(T.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)(M.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?(s=(0,r.jsx)(M.EY,{as:"p",muted:!0,size:1,children:a}),c[7]=a,c[8]=s):s=c[8],c[9]!==f?(o=f("no-document-types-screen.link-text"),c[9]=f,c[10]=o):o=c[10],c[11]!==o?(p=(0,r.jsx)(M.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:o})}),c[11]=o,c[12]=p):p=c[12],c[13]!==n||c[14]!==s||c[15]!==p?(u=(0,r.jsx)(M.Zp,{height:"fill",children:(0,r.jsx)(M.so,{align:"center",height:"fill",justify:"center",padding:4,sizing:"border",children:(0,r.jsx)(M.mc,{width:0,children:(0,r.jsx)(M.Zp,{padding:4,radius:2,shadow:1,tone:"caution",children:(0,r.jsxs)(M.so,{children:[e,(0,r.jsxs)(M.BJ,{flex:1,marginLeft:3,space:3,children:[n,s,p]})]})})})})}),c[13]=n,c[14]=s,c[15]=p,c[16]=u):u=c[16],u}let es=e=>{let t,n,r=(0,i.c)(7),{documentId:s,documentType:p}=e,{selectedReleaseId:u}=(0,l.QO2)(),c=(0,l.zX2)(s,p,"default",u),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(p),{value:y,isLoading:I}=(0,l.MOl)({enabled:!!x,schemaType:g,value:x}),{lastRevisionDocument:w}=(0,o.c0)(s,p),b=w&&!x?"":m?h("browser-document-title.new-document",{schemaType:g?.title||g?.name}):y?.title||h("browser-document-title.untitled-document"),j=c.ready&&!I,_=ep(b);return r[0]!==_||r[1]!==j?(t=()=>{j&&(document.title=_)},r[0]=_,r[1]=j,r[2]=t):t=r[2],r[3]!==b||r[4]!==_||r[5]!==j?(n=[b,j,_],r[3]=b,r[4]=_,r[5]=j,r[6]=n):n=r[6],(0,a.useEffect)(t,n),null},eo=e=>{let t,n,r=(0,i.c)(5),{title:l}=e,s=ep(l);return r[0]!==s?(t=()=>{document.title=s}
7,r[0]=s,r[1]=t):t=r[1],r[2]!==s||r[3]!==l?(n=[s,l],r[2]=s,r[3]=l,r[4]=n):n=r[4],(0,a.useEffect)(t,n),null},ed=e=>{let t,n=(0,i.c)(8),{resolvedPanes:a}=e;if(!a?.length)return null;let l=a[a.length-1];if(l===o.Gp){let e;return n[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,r.jsx)(eo,{}),n[0]=e):e=n[0],e}if(function(e){return e!==o.Gp&&"document"===e.type}(l)){let e;if(l?.title){let e;return n[1]!==l.title?(e=(0,r.jsx)(eo,{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)(es,{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 s=l?.title;return n[6]!==s?(t=(0,r.jsx)(eo,{title:s}),n[6]=s,n[7]=t):t=n[7],t};function ep(e){let t,n=(0,i.c)(3),r=(0,o.pl)().structureContext.title;return n[0]!==e||n[1]!==r?(t=[e,r].filter(eu),n[0]=e,n[1]=r,n[2]=t):t=n[2],t.join(" | ")}function eu(e){return e}let ec=(0,C.I4)(o.bt)`
8  min-height: 100%;
9  min-width: 320px;
10`,ef=(0,D.v_)("mod+s"),eh=(0,a.memo)(function(e){let t,n,s,d,c,f,h,x,I,w,b,j,z,T,C,D,L,A=(0,i.c)(48),{onPaneChange:H}=e,{push:q}=(0,N.dj)(),Q=(0,l.I07)(),{navigate:X}=(0,p.rd)(),U=(0,p.ks)(),{layoutCollapsed:ee,setLayoutCollapsed:et}=(0,o.pl)(),en=function(){let e,t,n,r,l,s=(0,i.c)(15),[d,u]=(0,a.useState)(),[c,f]=(0,a.useState)(null);if(d)throw d;let{structureContext:h,rootPaneNode:x}=(0,o.pl)();s[0]===Symbol.for("react.memo_cache_sentinel")?(e={paneDataItems:[],resolvedPanes:[],routerPanes:[]},s[0]=e):e=s[0];let[I,w]=(0,a.useState)(e),b=function(){let e,t,n,r=(0,i.c)(6),[l]=(0,a.useState)(V);r[0]!==l?(e=l.asObservable().pipe((0,v.T)(W)),r[0]=l,r[1]=e):e=r[1];let s=e,{state:o}=(0,p.rd)();return r[2]!==o||r[3]!==l?(t=()=>{l.next(o)},n=[o,l],r[2]=o,r[3]=l,r[4]=t,r[5]=n):(t=r[4],n=r[5]),(0,a.useEffect)(t,n),s}();if(s[1]!==x||s[2]!==b||s[3]!==h?(t=()=>{let e=(function({routerPanesStream:e,rootPaneNode:t,initialCacheState:n={cacheKeysByFlatIndex:[],flattenedRouterPanes:[],resolvedPaneCache:new Map,resolvePane:()=>y.t},structureContext:r}){return e.pipe((0,v.T)(e=>[[{id:"root"}],...e]),(0,v.T)(e=>e.flatMap((e,t)=>e.map((e,n)=>({routerPaneSibling:e,groupIndex:t,siblingIndex:n}))).map((e,t)=>({...e,flatIndex:t}))),(0,P.Z)([]),(0,S.N)(function(e,t){var n,r=!1;e.subscribe((0,E._)(t,function(e){var i=n;n=e,r&&t.next([i,e]),r=!0}))}),(0,v.T)(([e,t])=>{for(let n=0;n<t.length;n++)if(!O(e[n],t[n]))return{flattenedRouterPanes:t,diffIndex:n};return{flattenedRouterPanes:t,diffIndex:t.length}}),(0,k.S)((e,t)=>{let{cacheKeysByFlatIndex:n,resolvedPaneCache:r}=e,{flattenedRouterPanes:i,diffIndex:a}=t,l=n.slice(0,a+1),s=n.slice(a+1),o=new Set(l.flatMap(e=>Array.from(e)));for(let e of s.flatMap(e=>Array.from(e)).filter(e=>!o.has(e)))r.delete(e);return{flattenedRouterPanes:i,cacheKeysByFlatIndex:n,resolvedPaneCache:r,resolvePane:Z(e=>(t,i,a)=>{let l=t&&`${B(t)}-contextHash(${JSON.stringify({id:i.id,parentId:parent&&B(parent),path:i.path,index:i.index,splitIndex:i.splitIndex,serializeOptionsIndex:i.serializeOptions?.index,serializeOptionsPath:i.serializeOptions?.path})})`,s=l&&r.get(l);if(s)return s;let o=e(t,i,a);if(!l)return o;let d=n[a]||new Set;return d.add(l),n[a]=d,r.set(l,o),o})}},n),(0,_.n)(({flattenedRouterPanes:e,resolvePane:n})=>(function e({unresolvedPane:t,flattenedRouterPanes:n,parent:r,path:i,resolvePane:a,structureContext:l}){let[s,...o]=n,d=o[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,_.n)(n=>{let u,c={type:"resolvedMeta",...s,paneNode:n,path:p.path},f=o.map((e,t)=>({type:"loading",path:[...p.path,...o.slice(t).map((t,n)=>`[${e.flatIndex+n}]`)],paneNode:null,...e}));return o.length?(u=d?.routerPaneSibling.id.startsWith("__edit__")?e({unresolvedPane:J,flattenedRouterPanes:o,parent:r,path:p.path,resolvePane:a,structureContext:l}):s.groupIndex===d?.groupIndex?e({unresolvedPane:t,flattenedRouterPanes:o,parent:r,path:i,resolvePane:a,structureContext:l}):e({unresolvedPane:"function"==typeof n.child?Y(n,"child"):n.child,flattenedRouterPanes:o,parent:n,path:p.path,resolvePane:a,structureContext:l}),(0,g.x)((0,m.of)([c,...f]),u.pipe((0,v.T)(e=>[c,...e])))):(0,m.of)([c])}))}catch(e){if(e instanceof R&&(e.context&&console.warn(`Pane resolution error at index ${e.context.
10index}${e.context.splitIndex>0?` for split pane index ${e.context.splitIndex}`:""}: ${e.message}${e.helpId?` - see ${(0,G.i)(e.helpId)}`:""}`,e),"structure-item-returned-no-child"===e.helpId))return(0,m.of)([]);throw e}})({unresolvedPane:t,flattenedRouterPanes:e,parent:null,path:[],resolvePane:n,structureContext:r}))).pipe((0,k.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(F(r)!==F(i))return!1}return!0}))})({rootPaneNode:x,routerPanesStream:b,structureContext:h}).pipe((0,v.T)(K)).subscribe({next:e=>w(e),error:e=>u(e)});return()=>e.unsubscribe()},n=[x,b,h],s[1]=x,s[2]=b,s[3]=h,s[4]=t,s[5]=n):(t=s[4],n=s[5]),(0,a.useEffect)(t,n),s[6]!==I.paneDataItems||s[7]!==c){let e;s[9]!==c?(e=e=>({...e,maximized:!!c&&e.key===c.key}),s[9]=c,s[10]=e):e=s[10],r=I.paneDataItems.map(e),s[6]=I.paneDataItems,s[7]=c,s[8]=r}else r=s[8];let j=r;return s[11]!==I||s[12]!==c||s[13]!==j?(l={...I,paneDataItems:j,maximizedPane:c,setMaximizedPane:f},s[11]=I,s[12]=c,s[13]=j,s[14]=l):l=s[14],l}(),{paneDataItems:er,resolvedPanes:ei,setMaximizedPane:ea,maximizedPane:es}=en,eo=(0,p.ks)(em),{sanity:ep}=(0,M.DP)(),{media:eu}=ep,[eh,ey]=(0,a.useState)(null);A[0]!==et?(t=()=>et(!0),A[0]=et,A[1]=t):t=A[1];let eI=t;A[2]!==et?(n=()=>et(!1),A[2]=et,A[3]=n):n=A[3];let ew=n;if(A[4]!==er){let e=er.findLastIndex(ex);s=-1===e?er:er.slice(e).filter(t=>t.groupIndex<=er[e].groupIndex),A[4]=er,A[5]=s}else s=A[5];let eb=s;A[6]!==H||A[7]!==ei?(d=()=>{ei.length&&H(ei)},c=[H,ei],A[6]=H,A[7]=ei,A[8]=d,A[9]=c):(d=A[8],c=A[9]),(0,a.useEffect)(d,c),A[10]!==q?(f=()=>{let e=e=>{ef(e)&&(e.preventDefault(),q({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)},h=[q],A[10]=q,A[11]=f,A[12]=h):(f=A[11],h=A[12]),(0,a.useEffect)(f,h);let ej=Q._original?.types.some(l.Xhw);A[13]!==X||A[14]!==U?.panes||A[15]!==ea?(x=e=>{if(!e)return;let t=U?.panes||[];if(e.maximized){ea(null),X({panes:t});return}if(e.pane!==o.Gp&&"document"===e.pane.type){let n=t.slice(0,e.groupIndex);ea(e),X({panes:n})}},A[13]=X,A[14]=U?.panes,A[15]=ea,A[16]=x):x=A[16];let e_=x,ev=(0,a.useRef)(-1);if(A[17]!==es||A[18]!==er||A[19]!==ea?(I=()=>{let e=er.findIndex(eg),t=ev.current;if(ev.current=e,es){if(es.pane!==o.Gp&&"document"!==es.pane.type)return void ea(null);if(-1!==e&&e!==t)return void ea(er[e]);er.some(e=>e.key===es.key)||ea(er.find(e=>e.groupIndex===es.groupIndex&&e.siblingIndex===es.siblingIndex&&e.pane!==o.Gp&&"document"===e.pane.type)||null)}},w=[es,er,ea],A[17]=es,A[18]=er,A[19]=ea,A[20]=I,A[21]=w):(I=A[20],w=A[21]),(0,a.useEffect)(I,w),!ej){let e;return A[22]===Symbol.for("react.memo_cache_sentinel")?(e=(0,r.jsx)(el,{}),A[22]=e):e=A[22],e}let eP=eh||null,eS=ee?void 0:"fill",eE=eu[1];if(A[23]!==e_||A[24]!==eb){let e;A[26]!==e_?(e=e=>{let{active:t,childItemId:n,groupIndex:i,itemId:l,key:s,pane:d,index:p,params:u,path:c,payload:f,siblingIndex:h,selected:m,maximized:x}=e;return(0,r.jsx)(a.Fragment,{children:d===o.Gp?(0,r.jsx)(o.RG,{paneKey:s,path:c,selected:m}):(0,r.jsx)(o.Gt,{active:t,groupIndex:i,index:p,pane:d,childItemId:n,itemId:l,paneKey:s,params:u,payload:f,path:c,selected:m,siblingIndex:h,maximized:x,onSetMaximizedPane:()=>e_(e)})},`${d===o.Gp?"loading":d.type}-${p}`)},A[26]=e_,A[27]=e):e=A[27],b=eb.map(e),A[23]=e_,A[24]=eb,A[25]=b}else b=A[25];return A[28]!==eo||A[29]!==er.length?(j=er.length<=1&&eo&&(0,r.jsx)(o.RG,{paneKey:"intent-resolver"}),A[28]=eo,A[29]=er.length,A[30]=j):j=A[30],A[31]!==eI||A[32]!==ew||A[33]!==eu[1]||A[34]!==eS||A[35]!==b||A[36]!==j?(z=(0,r.jsxs)(ec,{flex:1,height:eS,minWidth:eE,onCollapse:eI,onExpand:ew,children:[b,j]}),A[31]=eI,A[32]=ew,A[33]=eu[1],A[34]=eS,A[35]=b,A[36]=j,A[37]=z):z=A[37],A[38]!==ei?(T=(0,r.jsx)(ed,{resolvedPanes:ei}),A[38]=ei,A[39]=T):T=A[39],A[40]===Symbol.for("react.memo_cache_sentinel")?(C=(0,r.jsx)("div",{"data-portal":"",ref:ey}),A[40]=C):C=A[40],A[41]!==eP||A[42]!==z||A[43]!==T?(D=(0,r.jsxs)(M.GD,{element:eP,children:[z,T,C]}),A[41]=eP,A[42]=z,A[43]=T,A[44]=D):D=A[44],A[45]!==en||A[46]!==D?(L=(0,r.jsx)(u.N8,{value:en,children:D}),A[45]=en,A[46]=D,A[47]=L):L=A[47],L});function em(e){return"string"==typeof e.intent}function ex(e){return e.maximized}function eg(e){return e.selected}function ey(e){let t,n,p,u,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:b,structure:j}=t;m[2]===Symbol.for("react.memo_cache_sentinel")?(n=[],m[2]=n):n=m[2],(0,a.useEffect)(eI,n),m[3]===Symbol.for("react.memo_cache_sentinel")?(p={error:null},m[3]=p):p=m[3];let[_,v]=(0,a.useState)(p),{error:P}=_;if(P){let e;return m[4]!==P?(e=(0,r.jsx)(er,{error:P}
10),m[4]=P,m[5]=e):e=m[5],e}let S=w||I.name;return m[6]===Symbol.for("react.memo_cache_sentinel")?(u=(0,r.jsx)(eh,{onPaneChange:o.GG}),c=(0,r.jsx)(ee,{}),m[6]=u,m[7]=c):(u=m[6],c=m[7]),m[8]!==b||m[9]!==j?(f=(0,r.jsxs)(d.$l,{defaultDocumentNode:b,structure:j,children:[u,c]}),m[8]=b,m[9]=j,m[10]=f):f=m[10],m[11]!==S||m[12]!==f?(h=(0,r.jsx)(s.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 eI(){return(0,o.GG)([]),ew}function ew(){return(0,o.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.