PageSourceSearch

https://www.copilotkit.ai/_next/static/chunks/9683.51016906b1574d29.js

js copilotkit.ai collected 2026-10-02 03:07:19 UTC 39,420 bytes, 76 lines download raw bytes

1"use strict";(globalThis.webpackChunk_N_E=globalThis.webpackChunk_N_E||[]).push([[9683],{69683:(e,t,n)=>{n.d(t,{IU:()=>M,dj:()=>eu});var o=n(97380),r=n(87448),l=n(97783),i=n(91172),a=n(23796),c=n(70297),s=n(85032),u=n(75764);n(15036);function d(e){if(!(e.tabIndex>0||0===e.tabIndex&&null!==e.getAttribute("tabIndex")||((0,o.nY)(e)?!!e.href&&"ignore"!==e.rel:(0,o.A3)(e)?"hidden"!==e.type&&"file"!==e.type&&!e.disabled:!!((0,o.WE)(e)||(0,o.q4)(e)||(0,o.QY)(e))&&!e.disabled)))return!1;try{e.focus()}catch{}return document.activeElement===e}function f(e){for(let t=0;t<e.childNodes.length;t++){let n=e.childNodes[t];if((0,o.sb)(n)&&(d(n)||f(n)))return!0}return!1}let m=c.I4.div.withConfig({displayName:"StyledAutocomplete",componentId:"sc-1igauft-0"})`line-height:0;`,p=(0,c.I4)(o.az).withConfig({displayName:"ListBox",componentId:"sc-1igauft-1"})`& > ul{list-style:none;padding:0;margin:0;}`,h=(0,c.i7)`
2  from {
3    transform: rotate(0deg);
4  }
5
6  to {
7    transform: rotate(360deg);
8  }
9`,y=(0,c.I4)(i.Nl1).withConfig({displayName:"AnimatedSpinnerIcon",componentId:"sc-1igauft-2"})`animation:${h} 500ms linear infinite;`;function g(e){let t,n,i,a=(0,l.c)(11),{children:c,id:s,onSelect:u,selected:d,value:f}=e;a[0]!==u||a[1]!==f?(t=()=>{setTimeout(()=>{u(f)},0)},a[0]=u,a[1]=f,a[2]=t):t=a[2];let m=t;a[3]!==m?(n=e=>{"Enter"!==e.key||(0,o.zd)(e.currentTarget)||m()},a[3]=m,a[4]=n):n=a[4];let p=n;return a[5]!==c||a[6]!==m||a[7]!==p||a[8]!==s||a[9]!==d?(i=(0,r.jsx)("li",{"aria-selected":d,"data-ui":"AutocompleteOption",id:s,role:"option",onClick:m,onKeyDown:p,children:c}),a[5]=c,a[6]=m,a[7]=p,a[8]=s,a[9]=d,a[10]=i):i=a[10],i}function v(e,t){return"input/change"===t.type?{...e,activeValue:null,focused:!0,query:t.query}:"input/focus"===t.type?{...e,focused:!0}:"root/blur"===t.type?{...e,focused:!1,query:null}:"root/clear"===t.type?{...e,activeValue:null,query:null,value:null}:"root/escape"===t.type?{...e,focused:!1,query:null}:"root/open"===t.type?{...e,query:e.query||t.query}:"root/setActiveValue"===t.type?{...e,activeValue:t.value,listFocused:t.listFocused||e.listFocused}:"root/setListFocused"===t.type?{...e,listFocused:t.listFocused}:"value/change"===t.type?{...e,activeValue:t.value,query:null,value:t.value}:e}let b=["Control","Shift","Alt","Enter","Home","End","PageUp","PageDown","Meta","Tab","CapsLock"],x=["bottom-start","top-start"],w=(e,t)=>t?t.value:e,_=(e,t)=>t.value.toLowerCase().indexOf(e.toLowerCase())>-1;function k({renderPopover:e,content:t,hidden:n,inputElement:o,onMouseEnter:r,onMouseLeave:l,resultsPopoverElementRef:i}){return e({content:t,hidden:n,inputElement:o,onMouseEnter:r,onMouseLeave:l},i)}function I(e){return 0===e?0:1===e||2===e?1:e-2}function C(e){return Math.max(e-1,0)}(0,a.forwardRef)(function(e,t){let n,c,s,u,d,h,j,S,R,A,E,z,N,B,F,$,D,T,M,H,O,L,P,q,G,U,V,W,J,Y,Z,K,Q,X,ee,et,en,eo,er,el,ei,ea,ec,es,eu,ed,ef,em,ep,eh,ey,eg,ev,eb,ex,ew,e_,ek,eI,eC,ej,eS,eR,eA,eE=(0,l.c)(181);eE[0]!==e?({border:L,customValidity:n,disabled:c,filterOption:s,fontSize:P,icon:u,id:d,listBox:q,loading:h,onBlur:j,onChange:S,onFocus:R,onQueryChange:A,onSelect:E,openButton:z,openOnFocus:N,options:B,padding:G,popover:U,prefix:F,radius:V,readOnly:$,relatedElements:D,renderOption:T,renderPopover:M,renderValue:W,suffix:O,value:J,...H}=e,eE[0]=e,eE[1]=n,eE[2]=c,eE[3]=s,eE[4]=u,eE[5]=d,eE[6]=h,eE[7]=j,eE[8]=S,eE[9]=R,eE[10]=A,eE[11]=E,eE[12]=z,eE[13]=N,eE[14]=B,eE[15]=F,eE[16]=$,eE[17]=D,eE[18]=T,eE[19]=M,eE[20]=H,eE[21]=O,eE[22]=L,eE[23]=P,eE[24]=q,eE[25]=G,eE[26]=U,eE[27]=V,eE[28]=W,eE[29]=J):(n=eE[1],c=eE[2],s=eE[3],u=eE[4],d=eE[5],h=eE[6],j=eE[7],S=eE[8],R=eE[9],A=eE[10],E=eE[11],z=eE[12],N=eE[13],B=eE[14],F=eE[15],$=eE[16],D=eE[17],T=eE[18],M=eE[19],H=eE[20],O=eE[21],L=eE[22],P=eE[23],q=eE[24],G=eE[25],U=eE[26],V=eE[27],W=eE[28],J=eE[29]);let ez=void 0===L||L,eN=void 0===P?2:P,eB=void 0===q?o.sU:q,eF=void 0===G?3:G,e$=void 0===U?o.sU:U,eD=void 0===V?2:V,eT=void 0===W?w:W,eM=J||null,eH=J||null;eE[30]!==eM||eE[31]!==eH?(Y={activeValue:eM,focused:!1,listFocused:!1,query:null,value:eH},eE[30]=eM,eE[31]=eH,eE[32]=Y):Y=eE[32];
9let[eO,eL]=(0,a.useReducer)(v,Y),{activeValue:eP,focused:eq,listFocused:eG,query:eU,value:eV}=eO;eE[33]!==eN||eE[34]!==eF?(Z=e=>{let{value:t}=e;return(0,r.jsx)(o.Zp,{"data-as":"button",padding:eF,radius:2,tone:"inherit",children:(0,r.jsx)(o.EY,{size:eN,textOverflow:"ellipsis",children:t})})},eE[33]=eN,eE[34]=eF,eE[35]=Z):Z=eE[35];let eW="function"==typeof T?T:Z,eJ="function"==typeof s?s:_,eY=(0,a.useRef)(null),eZ=(0,a.useRef)(null),eK=(0,a.useRef)(null),eQ=(0,a.useRef)(null),[eX,e1]=(0,a.useState)(null);eE[36]===Symbol.for("react.memo_cache_sentinel")?(K=e=>{(0,a.startTransition)(()=>e1(e))},eE[36]=K):K=eE[36];let e0=K,e2=(0,a.useRef)(!1),e3=(0,a.useRef)(eV),e4=(0,a.useRef)(J),e5=(0,a.useRef)(!1);eE[37]!==eX?(Q=()=>eX,X=[eX],eE[37]=eX,eE[38]=Q,eE[39]=X):(Q=eE[38],X=eE[39]),(0,a.useImperativeHandle)(eK,Q,X),eE[40]!==eX?(ee=()=>eX,et=[eX],eE[40]=eX,eE[41]=ee,eE[42]=et):(ee=eE[41],et=eE[42]),(0,a.useImperativeHandle)(t,ee,et);let e6=`${d}-listbox`,e7=Array.isArray(B)?B:o.Ml,e8=(0,o.GB)(eF);eE[43]!==e7||eE[44]!==eV?(en=null!==eV?e7.find(e=>e.value===eV):void 0,eE[43]=e7,eE[44]=eV,eE[45]=en):en=eE[45];let e9=en;if(eE[46]!==eJ||eE[47]!==e7||eE[48]!==eU){let e;eE[50]!==eJ||eE[51]!==eU?(e=e=>!eU||eJ(eU,e),eE[50]=eJ,eE[51]=eU,eE[52]=e):e=eE[52],eo=e7.filter(e),eE[46]=eJ,eE[47]=e7,eE[48]=eU,eE[49]=eo}else eo=eE[49];let te=eo,tt=te.length,tn=eP?`${d}-option-${eP}`:void 0,to=null!==eU&&h||eq&&null!==eU;eE[53]!==j||eE[54]!==A||eE[55]!==D?(er=e=>{setTimeout(()=>{if(e5.current)return;let t=(D||[]).concat(eY.current?[eY.current]:[],eZ.current?[eZ.current]:[]),n=!1;if(document.activeElement){for(let e of t)if(e===document.activeElement||e.contains(document.activeElement)){n=!0;break}}!1===n&&(eL({type:"root/blur"}),e5.current=!1,A&&A(null),j&&j(e))},0)},eE[53]=j,eE[54]=A,eE[55]=D,eE[56]=er):er=eE[56];let tr=er;eE[57]===Symbol.for("react.memo_cache_sentinel")?(el=e=>{let t=eQ.current,n=e.target instanceof HTMLElement?e.target:null,o=t?.contains(n)||!1;o!==e2.current&&(e2.current=o,eL({type:"root/setListFocused",listFocused:o}))},eE[57]=el):el=eE[57];let tl=el;eE[58]!==S||eE[59]!==A||eE[60]!==E?(ei=e=>{eL({type:"value/change",value:e}),e5.current=!1,E&&E(e),e3.current=e,S&&S(e),A&&A(null),eK.current?.focus()},eE[58]=S,eE[59]=A,eE[60]=E,eE[61]=ei):ei=eE[61];let ti=ei;eE[62]!==eP||eE[63]!==te||eE[64]!==tt||eE[65]!==A?(ea=e=>{if("ArrowDown"===e.key){if(e.preventDefault(),!tt)return;let t=te.find(e=>e.value===eP),n=t?te.indexOf(t):-1,o=te[(n+1)%tt];o&&eL({type:"root/setActiveValue",value:o.value,listFocused:!0});return}if("ArrowUp"===e.key){if(e.preventDefault(),!tt)return;let t=te.find(e=>e.value===eP),n=t?te.indexOf(t):-1,o=te[-1===n?tt-1:(tt+n-1)%tt];o&&eL({type:"root/setActiveValue",value:o.value,listFocused:!0});return}if("Escape"===e.key){eL({type:"root/escape"}),e5.current=!1,A&&A(null),eK.current?.focus();return}let t=e.target,n=eQ.current;if((n===t||n?.contains(t))&&!b.includes(e.key))return void eK.current?.focus()},eE[62]=eP,eE[63]=te,eE[64]=tt,eE[65]=A,eE[66]=ea):ea=eE[66];let ta=ea;eE[67]!==A?(ec=e=>{let t=e.currentTarget.value;eL({type:"input/change",query:t}),A&&A(t)},eE[67]=A,eE[68]=ec):ec=eE[68];let tc=ec;eE[69]!==e9||eE[70]!==eT||eE[71]!==eV?(es=()=>{eL({type:"root/open",query:eV?eT(eV,e9):""})},eE[69]=e9,eE[70]=eT,eE[71]=eV,eE[72]=es):es=eE[72];let ts=es;eE[73]!==ts||eE[74]!==eq||eE[75]!==R||eE[76]!==N?(eu=e=>{eq||(eL({type:"input/focus"}),R&&R(e),N&&ts())},eE[73]=ts,eE[74]=eq,eE[75]=R,eE[76]=N,eE[77]=eu):eu=eE[77];let tu=eu;eE[78]===Symbol.for("react.memo_cache_sentinel")?(ed=()=>{e5.current=!0},eE[78]=ed):ed=eE[78];let td=ed;eE[79]===Symbol.for("react.memo_cache_sentinel")?(ef=()=>{e5.current=!1},eE[79]=ef):ef=eE[79];let tf=ef;eE[80]!==S||eE[81]!==A?(em=()=>{eL({type:"root/clear"}),e3.current="",S&&S(""),A&&A(null),eK.current?.focus()},eE[80]=S,eE[81]=A,eE[82]=em):em=eE[82];let tm=em;eE[83]===Symbol.for("react.memo_cache_sentinel")?(ep=()=>{eL({type:"input/focus"})},eE[83]=ep):ep=eE[83];let tp=ep;eE[84]!==J?(eh=()=>{if(J!==e4.current){e4.current=J,void 0!==J&&(eL({type:"value/change",value:J}),e3.current=J);return}J!==e3.current&&(e3.current=J||null,eL({type:"value/change",value:J||null}))},ey=[J],eE[84]=J,eE[85]=eh,eE[86]=ey):(eh=eE[85],ey=eE[86]),(0,a.useEffect)(eh,ey),eE[87]!==eq?(eg=()=>{!eq&&e3.current&&eL({type:"root/setActiveValue",value:e3.current})},ev=[eq],eE[87]=eq,eE[88]=eg,eE[89]=ev):(eg=eE[88],ev=eE[89]),(0,a.useEffect)(eg,ev),eE[90]!==eP||eE[91]!==te?(eb=()=>{let e=eQ.current;if(!e)return;let t=te.find(e=>e.value===eP);if(t){let n=te.indexOf(t),o=e.childNodes[n];if(o){if(document.activeElement&&o.contains(document.activeElement))return;f(o)}}},ex=[eP,te],eE[90]=eP,eE[91]=te,eE[92]=eb,eE[93]=ex):(eb=eE[92],ex=eE[93]),(0,a.useEffect)(eb,ex);e:{if(!h&&!c&&eV){let e;eE[94]===Symbol.for("react.memo_cache_sentinel")?(e={"aria-label":"Clear",onFocus:tp},eE[94]=e):e=eE[94],ew=e;break e}ew=void 0}let th=ew,ty=e8.map(I),tg=e8.map(C),tv="object"==typeof z?z:o.sU;eE[95]!==ts||eE[96]!==tv?(e_=e=>{ts(),tv.onClick&&tv.onClick(e),function(e){let t=requestAnimationFrame(e);()=>{cancelAnimationFrame(t)}}(()=>eK.current?.focus())},eE[95]=ts,eE[96]=tv,eE[97]=e_):e_=eE[97];let tb=e_;eE[98]!==c||eE[99]!==to||eE[100]!==eN||eE[101]!==tb||eE[102]!==z||eE[103]!==ty||eE[104]!==tg||eE[105]!==tv||eE[106]!==$?(ek=c||$||!z?void 0:(0,r.jsx)(o.az,{"aria-hidden":to,padding:ty,children:(0,r.jsx)(o.$n,{"aria-label":"Open",disabled:to,fontSize:eN,icon:i.D3D,mode:"bleed",padding:tg,...tv,onClick:tb})}),eE[98]=c,eE[99]=to,eE[100]=eN,eE[101]=tb,eE[102]=z,eE[103]=ty,eE[104]=tg,eE[105]=tv,eE[106]=$,eE[107]=ek):ek=eE[107];let tx=ek;t:{if(null===eU){if(null!==eV){let e;eE[108]!==e9||eE[109]!==eT||eE[110]!==eV?(e=eT(eV,e9),eE[108]=e9,eE[109]=eT,eE[110]=eV,eE[111]=e):e
9=eE[111],eI=e;break t}eI="";break t}eI=eU}let tw=eI;eE[112]!==eG?(eC=e=>{"Tab"===e.key&&eG&&eK.current?.focus()},eE[112]=eG,eE[113]=eC):eC=eE[113];let t_=eC;n:{let e,t,n;if(0===te.length){ej=null;break n}if(eE[114]!==eP||eE[115]!==e9||eE[116]!==te||eE[117]!==ti||eE[118]!==d||eE[119]!==eG||eE[120]!==h||eE[121]!==eW){let t;eE[123]!==eP||eE[124]!==e9||eE[125]!==ti||eE[126]!==d||eE[127]!==eG||eE[128]!==h||eE[129]!==eW?(t=e=>{let t=null!==eP?e.value===eP:e9===e;return(0,r.jsx)(g,{id:`${d}-option-${e.value}`,onSelect:ti,selected:t,value:e.value,children:(0,a.cloneElement)(eW(e),{disabled:h,selected:t,tabIndex:eG&&t?0:-1})},e.value)},eE[123]=eP,eE[124]=e9,eE[125]=ti,eE[126]=d,eE[127]=eG,eE[128]=h,eE[129]=eW,eE[130]=t):t=eE[130],e=te.map(t),eE[114]=eP,eE[115]=e9,eE[116]=te,eE[117]=ti,eE[118]=d,eE[119]=eG,eE[120]=h,eE[121]=eW,eE[122]=e}else e=eE[122];eE[131]!==e6||eE[132]!==e?(t=(0,r.jsx)(o.BJ,{as:"ul","aria-multiselectable":!1,"data-ui":"AutoComplete__resultsList",id:e6,ref:eQ,role:"listbox",space:1,children:e}),eE[131]=e6,eE[132]=e,eE[133]=t):t=eE[133],eE[134]!==t_||eE[135]!==eB||eE[136]!==t?(n=(0,r.jsx)(p,{"data-ui":"AutoComplete__results",onKeyDown:t_,padding:1,...eB,tabIndex:-1,children:t}),eE[134]=t_,eE[135]=eB,eE[136]=t,eE[137]=n):n=eE[137],ej=n}let tk=ej;o:{let e;if(M){let e,t=!to;eE[138]!==tk||eE[139]!==td||eE[140]!==tf||eE[141]!==eX||eE[142]!==M||eE[143]!==t?(e=(0,r.jsx)(k,{content:tk,hidden:t,inputElement:eX,onMouseEnter:td,onMouseLeave:tf,resultsPopoverElementRef:eZ,renderPopover:M}),eE[138]=tk,eE[139]=td,eE[140]=tf,eE[141]=eX,eE[142]=M,eE[143]=t,eE[144]=e):e=eE[144],eS=e;break o}if(0===tt){eS=null;break o}eE[145]!==tk||eE[146]!==to||eE[147]!==td||eE[148]!==tf||eE[149]!==eX||eE[150]!==e$||eE[151]!==eD?(e=(0,r.jsx)(o.AM,{arrow:!1,constrainSize:!0,content:tk,fallbackPlacements:x,matchReferenceWidth:!0,onMouseEnter:td,onMouseLeave:tf,open:to,overflow:"auto",placement:"bottom-start",portal:!0,radius:eD,ref:eZ,referenceElement:eX,...e$}),eE[145]=tk,eE[146]=to,eE[147]=td,eE[148]=tf,eE[149]=eX,eE[150]=e$,eE[151]=eD,eE[152]=e):e=eE[152],eS=e}let tI=eS,tC=h&&y,tj=O||tx;return eE[153]!==tn||eE[154]!==ez||eE[155]!==th||eE[156]!==n||eE[157]!==c||eE[158]!==to||eE[159]!==eN||eE[160]!==tm||eE[161]!==tc||eE[162]!==tu||eE[163]!==u||eE[164]!==d||eE[165]!==tw||eE[166]!==e6||eE[167]!==e8||eE[168]!==F||eE[169]!==eD||eE[170]!==$||eE[171]!==H||eE[172]!==tC||eE[173]!==tj?(eR=(0,r.jsx)(o.ks,{...H,"aria-activedescendant":tn,"aria-autocomplete":"list","aria-expanded":to,"aria-owns":e6,autoCapitalize:"off",autoComplete:"off",autoCorrect:"off",border:ez,clearButton:th,customValidity:n,disabled:c,fontSize:eN,icon:u,iconRight:tC,id:d,inputMode:"search",onChange:tc,onClear:tm,onFocus:tu,padding:e8,prefix:F,radius:eD,readOnly:$,ref:e0,role:"combobox",spellCheck:!1,suffix:tj,value:tw}),eE[153]=tn,eE[154]=ez,eE[155]=th,eE[156]=n,eE[157]=c,eE[158]=to,eE[159]=eN,eE[160]=tm,eE[161]=tc,eE[162]=tu,eE[163]=u,eE[164]=d,eE[165]=tw,eE[166]=e6,eE[167]=e8,eE[168]=F,eE[169]=eD,eE[170]=$,eE[171]=H,eE[172]=tC,eE[173]=tj,eE[174]=eR):eR=eE[174],eE[175]!==tr||eE[176]!==tl||eE[177]!==ta||eE[178]!==tI||eE[179]!==eR?(eA=(0,r.jsxs)(m,{"data-ui":"Autocomplete",onBlur:tr,onFocus:tl,onKeyDown:ta,ref:eY,children:[eR,tI]}),eE[175]=tr,eE[176]=tl,eE[177]=ta,eE[178]=tI,eE[179]=eR,eE[180]=eA):eA=eE[180],eA}).displayName="ForwardRef(Autocomplete)";let j=c.I4.ol.withConfig({displayName:"StyledBreadcrumbs",componentId:"sc-1es8h8q-0"})`margin:0;padding:0;display:flex;list-style:none;align-items:center;white-space:nowrap;line-height:0;`,S=(0,c.I4)(o.$n).withConfig({displayName:"ExpandButton",componentId:"sc-1es8h8q-1"})`appearance:none;margin:-4px;`;(0,a.forwardRef)(function(e,t){let n,i,c,s,u,d,f,m,p,h,y,g,v,b=(0,l.c)(29);b[0]!==e?({children:n,maxLength:i,separator:s,space:u,...c}=e,b[0]=e,b[1]=n,b[2]=i,b[3]=c,b[4]=s,b[5]=u):(n=b[1],i=b[2],c=b[3],s=b[4],u=b[5]);let x=void 0===u?2:u;b[6]!==x?(d=(0,o.GB)(x),b[6]=x,b[7]=d):d=b[7];let w=d,[_,k]=(0,a.useState)(!1),I=(0,a.useRef)(null),C=(0,a.useRef)(null);b[8]===Symbol.for("react.memo_cache_sentinel")?(f=()=>k(!1),b[8]=f):f=b[8];let R=f;b[9]===Symbol.for("react.memo_cache_sentinel")?(m=()=>k(!0),b[9]=m):m=b[9];let A=m;b[10]===Symbol.for("react.memo_cache_sentinel")?(p=()=>[I.current,C.current],b[10]=p):p=b[10],(0,o.PR)(R,p),b[11]!==n?(h=a.Children.toArray(n).filter(a.isValidElement),b[11]=n,b[12]=h):h=b[12];let E=h;
9b[13]!==i||b[14]!==_||b[15]!==E||b[16]!==w?(y={collapse:R,expand:A,expandElementRef:I,maxLength:i,open:_,popoverElementRef:C,rawItems:E,space:w},b[13]=i,b[14]=_,b[15]=E,b[16]=w,b[17]=y):y=b[17];let z=function(e){let t=(0,l.c)(28),{collapse:n,expand:i,expandElementRef:a,maxLength:c,open:s,popoverElementRef:u,rawItems:d,space:f}=e,m=d.length;if(c&&m>c){let e,l=Math.ceil(c/2),p=Math.floor(c/2);if(t[0]!==p||t[1]!==l||t[2]!==n||t[3]!==i||t[4]!==a||t[5]!==m||t[6]!==s||t[7]!==u||t[8]!==d||t[9]!==f){let c,h,y,g,v=d.slice(0,l-1);t[11]!==p||t[12]!==l||t[13]!==m||t[14]!==d?(c=d.slice(l-1,m-p),t[11]=p,t[12]=l,t[13]=m,t[14]=d,t[15]=c):c=t[15],t[16]!==f||t[17]!==c?(h=(0,r.jsx)(o.BJ,{as:"ol",overflow:"auto",padding:f,space:f,children:c}),t[16]=f,t[17]=c,t[18]=h):h=t[18];let b=s?n:i;t[19]!==a||t[20]!==s||t[21]!==b?(y=(0,r.jsx)(S,{fontSize:1,mode:"bleed",onClick:b,padding:1,ref:a,selected:s,text:"…"}),t[19]=a,t[20]=s,t[21]=b,t[22]=y):y=t[22],t[23]!==s||t[24]!==u||t[25]!==h||t[26]!==y?(g=(0,r.jsx)(o.AM,{constrainSize:!0,content:h,open:s,placement:"top",portal:!0,ref:u,children:y},"button"),t[23]=s,t[24]=u,t[25]=h,t[26]=y,t[27]=g):g=t[27],e=[...v,g,...d.slice(m-p)],t[0]=p,t[1]=l,t[2]=n,t[3]=i,t[4]=a,t[5]=m,t[6]=s,t[7]=u,t[8]=d,t[9]=f,t[10]=e}else e=t[10];return e}return d}(y);if(b[18]!==z||b[19]!==s||b[20]!==w){let e;b[22]!==s||b[23]!==w?(e=(e,t)=>(0,r.jsxs)(a.Fragment,{children:[t>0&&(0,r.jsx)(o.az,{"aria-hidden":!0,as:"li",paddingX:w,children:s||(0,r.jsx)(o.EY,{muted:!0,children:"/"})}),(0,r.jsx)(o.az,{as:"li",children:e})]},t),b[22]=s,b[23]=w,b[24]=e):e=b[24],g=z.map(e),b[18]=z,b[19]=s,b[20]=w,b[21]=g}else g=b[21];return b[25]!==t||b[26]!==c||b[27]!==g?(v=(0,r.jsx)(j,{"data-ui":"Breadcrumbs",...c,ref:t,children:g}),b[25]=t,b[26]=c,b[27]=g,b[28]=v):v=b[28],v}).displayName="ForwardRef(Breadcrumbs)";let R=(0,o.bz)("@sanity/ui/context/dialog",{version:0});function A(e,t,n){return!e||!t||(0,o.Q3)(e,n)||(0,o.Q3)(t,n)}let E=(0,c.I4)(o.Wd).withConfig({displayName:"StyledDialog",componentId:"sc-4n4xb3-0"})(o.l_,function({theme:e}){let{color:t}=(0,s.JW)(e);return{"&:not([hidden])":{display:"flex"},top:0,left:0,right:0,bottom:0,alignItems:"center",justifyContent:"center",outline:"none",background:t.backdrop}},function(e){let{media:t}=(0,s.JW)(e.theme);return(0,o.U1)(t,e.$position,e=>({"&&":{position:e}}))},function(e){return e.$animate?(0,c.AH)`
10    @keyframes zoomIn {
11      from {
12        opacity: 0;
13        transform: scale(0.95);
14      }
15      to {
16        opacity: 1;
17        transform: scale(1);
18      }
19    }
20    @keyframes fadeIn {
21      from {
22        opacity: 0;
23      }
24      to {
25        opacity: 1;
26      }
27    }
28
29    animation: fadeIn 200ms ease-out;
30    // Animates the dialog card.
31    & > [data-ui='DialogCard'] {
32      animation: zoomIn 200ms ease-out;
33    }
34  `:(0,c.AH)``}),z=(0,c.I4)(o.mc).withConfig({displayName:"DialogContainer",componentId:"sc-4n4xb3-1"})`&:not([hidden]){display:flex;}width:100%;height:100%;flex-direction:column;align-items:center;justify-content:center;`,N=(0,c.I4)(o.Zp).withConfig({displayName:"DialogCardRoot",componentId:"sc-4n4xb3-2"})`&:not([hidden]){display:flex;}width:100%;min-height:0;max-height:100%;overflow:hidden;overflow:clip;`,B=(0,c.I4)(o.so).withConfig({displayName:"DialogLayout",componentId:"sc-4n4xb3-3"})`flex:1;min-height:0;width:100%;`,F=(0,c.I4)(o.az).withConfig({displayName:"DialogHeader",componentId:"sc-4n4xb3-4"})`position:relative;z-index:2;`,$=(0,c.I4)(o.az).withConfig({displayName:"DialogContent",componentId:"sc-4n4xb3-5"})`position:relative;z-index:1;overflow:auto;outline:none;`,D=(0,c.I4)(o.az).withConfig({displayName:"DialogFooter",componentId:"sc-4n4xb3-6"})`position:relative;z-index:3;`,T=(0,a.forwardRef)(function(e,t){let n,c,s,u,d,m,p,h,y,g,v,b,x,w,_,k,I=(0,l.c)(44),{__unstable_autoFocus:C,__unstable_hideCloseButton:j,children:S,contentRef:R,footer:E,header:T,id:M,onClickOutside:H,onClose:O,portal:L,radius:P,scheme:q,shadow:G,width:U}=e,V=(0,o.WP)(),W=L?V.elements?.[L]||null:V.element,J=(0,o.$w)().element;I[0]!==P?(n=(0,o.GB)(P),I[0]=P,I[1]=n):n=I[1];let Y=n;I[2]!==G?(c=(0,o.GB)(G),I[2]=G,I[3]=c):c=I[3];let Z=c;I[4]!==U?(s=(0,o.GB)(U),I[4]=U,I[5]=s):s=I[5];let K=s,Q=(0,a.useRef)(null),X=(0,a.useRef)(null),{isTopLayer:ee}=(0,o.Z4)(),et=`${M}_label`,en=!!O&&!1===j,eo=!!T||en;return I[6]===Symbol.for("react.memo_cache_sentinel")?(u=()=>Q.current,I[6]=u):u=I[6],(0,a.useImperativeHandle)(t,u),I[7]===Symbol.for("react.memo_cache_sentinel")?(d=()=>X.current,I[7]=d):d=I[7],(0,a.useImperativeHandle)(R,d),I[8]!==C?(m=()=>{C&&Q.current&&f(Q.current)},p=[C,Q],I[8]=C,I[9]=m,I[10]=p):(m=I[9],p=I[10]),(0,a.useEffect)(m,p),I[11]!==J||I[12]!==ee||I[13]!==O||I[14]!==W?(h=e=>{if(!ee||!O)return;let t=document.activeElement;t&&!A(J,W,t)||"Escape"===e.key&&(e.preventDefault(),e.stopPropagation(),O())},I[11]=J,I[12]=ee,I[13]=O,I[14]=W,I[15]=h):h=I[15],(0,o.Pm)(h),I[16]!==J||I[17]!==ee||I[18]!==H||I[19]!==W?(y=ee&&H&&(e=>{let t=e.target;t&&!A(J,W,t)||H()}),I[16]=J,I[17]=ee,I[18]=H,I[19]=W,I[20]=y):y=I[20],I[21]===Symbol.for("react.memo_cache_sentinel")?(g=()=>[Q.current],I[21]=g):g=I[21],(0,o.PR)(y,g),I[22]!==T||I[23]!==et||I[24]!==O||I[25]!==en||I[26]!==eo?(v=eo&&(0,r.jsx)(F,{children:(0,r.jsxs)(o.so,{align:"flex-start",padding:3,children:[(0,r.jsx)(o.az,{flex:1,padding:2,children:T&&(0,r.jsx)(o.EY,{id:et,size:1,weight:"semibold",children:T})}),en&&(0,r.jsx)(o.az,{flex:"none",children:(0,r.jsx)(o.$n,{"aria-label":"Close dialog",disabled:!O,icon:i.USm,mode:"bleed",onClick:O,padding:2})})]})}),I[22]=T,I[23]=et,I[24]=O,I[25]=en,I[26]=eo,I[27]=v):v=I[27],I[28]!==S?(b=(0,r.jsx)($,{flex:1,ref:X,tabIndex:-1,
34children:S}),I[28]=S,I[29]=b):b=I[29],I[30]!==E?(x=E&&(0,r.jsx)(D,{children:E}),I[30]=E,I[31]=x):x=I[31],I[32]!==v||I[33]!==b||I[34]!==x?(w=(0,r.jsxs)(B,{direction:"column",children:[v,b,x]}),I[32]=v,I[33]=b,I[34]=x,I[35]=w):w=I[35],I[36]!==Y||I[37]!==q||I[38]!==Z||I[39]!==w?(_=(0,r.jsx)(N,{radius:Y,ref:Q,scheme:q,shadow:Z,children:w}),I[36]=Y,I[37]=q,I[38]=Z,I[39]=w,I[40]=_):_=I[40],I[41]!==_||I[42]!==K?(k=(0,r.jsx)(z,{"data-ui":"DialogCard",width:K,children:_}),I[41]=_,I[42]=K,I[43]=k):k=I[43],k});T.displayName="ForwardRef(DialogCard)",(0,a.forwardRef)(function(e,t){let n,i,c,s,u,m,p,h,y,g,v,b,x,w,_,k,I,C,j,S,z,N,B,F,$,D,M,H,O,L,P,q,G,U=(0,l.c)(70),V=(0,a.useContext)(R),{layer:W}=(0,o.M4)();U[0]!==e?({__unstable_autoFocus:_,__unstable_hideCloseButton:k,cardRadius:I,cardShadow:C,children:c,contentRef:s,footer:u,header:m,id:p,onActivate:h,onClickOutside:y,onClose:g,onFocus:v,padding:j,portal:b,position:n,scheme:w,width:S,zOffset:i,animate:z,...x}=e,U[0]=e,U[1]=n,U[2]=i,U[3]=c,U[4]=s,U[5]=u,U[6]=m,U[7]=p,U[8]=h,U[9]=y,U[10]=g,U[11]=v,U[12]=b,U[13]=x,U[14]=w,U[15]=_,U[16]=k,U[17]=I,U[18]=C,U[19]=j,U[20]=S,U[21]=z):(n=U[1],i=U[2],
34c=U[3],s=U[4],u=U[5],m=U[6],p=U[7],h=U[8],y=U[9],g=U[10],v=U[11],b=U[12],x=U[13],w=U[14],_=U[15],k=U[16],I=U[17],C=U[18],j=U[19],S=U[20],z=U[21]);let J=void 0===_||_,Y=void 0!==k&&k,Z=void 0===I?4:I,K=void 0===C?3:C,Q=void 0===j?3:j,X=void 0===S?0:S,ee=void 0!==z&&z,et=n??(V.position||"fixed"),en=i??(V.zOffset||W.dialog.zOffset),eo=!(0,o.jt)()&&ee,er=(0,o.WP)(),el=b?er.elements?.[b]||null:er.element,ei=(0,o.$w)().element;U[22]!==Z?(N=(0,o.GB)(Z),U[22]=Z,U[23]=N):N=U[23];let ea=N;U[24]!==Q?(B=(0,o.GB)(Q),U[24]=Q,U[25]=B):B=U[25];let ec=B;U[26]!==et?(F=(0,o.GB)(et),U[26]=et,U[27]=F):F=U[27];let es=F;U[28]!==X?($=(0,o.GB)(X),U[28]=X,U[29]=$):$=U[29];let eu=$;U[30]!==en?(D=(0,o.GB)(en),U[30]=en,U[31]=D):D=U[31];let ed=D,ef=(0,a.useRef)(null),em=(0,a.useRef)(null),ep=(0,a.useRef)(null),eh=(0,a.useRef)(null);U[32]!==v?(M=e=>{v?.(e);let t=e.target,n=ep.current;return n&&t===ef.current?void function e(t){for(let n=t.childNodes.length-1;n>=0;n--){let r=t.childNodes[n];if((0,o.sb)(r)&&(d(r)||e(r)))return!0}return!1}(n):n&&t===em.current?void f(n):void((0,o.sb)(e.target)&&(eh.current=e.target))},U[32]=v,U[33]=M):M=U[33];let ey=M,eg=`${p}_label`,ev=(0,a.useRef)(void 0);U[34]!==ei||U[35]!==el?(H=()=>{ev.current&&clearTimeout(ev.current),ev.current=setTimeout(()=>{let e=document.activeElement;if(e&&!A(ei,el,e)){let e=eh.current;if(!e||!document.body.contains(e)){let e=ep.current;e&&f(e);return}
34e.focus()}},0)},U[34]=ei,U[35]=el,U[36]=H):H=U[36];let eb=H;return U[37]===Symbol.for("react.memo_cache_sentinel")?(O=(0,r.jsx)("div",{ref:ef,tabIndex:0}),U[37]=O):O=U[37],U[38]!==J||U[39]!==ea||U[40]!==K||U[41]!==c||U[42]!==s||U[43]!==u||U[44]!==m||U[45]!==Y||U[46]!==p||U[47]!==y||U[48]!==g||U[49]!==b||U[50]!==w||U[51]!==eu?(L=(0,r.jsx)(T,{__unstable_autoFocus:J,__unstable_hideCloseButton:Y,contentRef:s,footer:u,header:m,id:p,onClickOutside:y,onClose:g,portal:b,radius:ea,ref:ep,scheme:w,shadow:K,width:eu,children:c}),U[38]=J,U[39]=ea,U[40]=K,U[41]=c,U[42]=s,U[43]=u,U[44]=m,U[45]=Y,U[46]=p,U[47]=y,U[48]=g,U[49]=b,U[50]=w,U[51]=eu,U[52]=L):L=U[52],U[53]===Symbol.for("react.memo_cache_sentinel")?(P=(0,r.jsx)("div",{ref:em,tabIndex:0}),U[53]=P):P=U[53],U[54]!==eo||U[55]!==ey||U[56]!==eb||U[57]!==p||U[58]!==eg||U[59]!==h||U[60]!==ec||U[61]!==es||U[62]!==t||U[63]!==x||U[64]!==L||U[65]!==ed?(q=(0,r.jsxs)(E,{...x,$animate:eo,$padding:ec,$position:es,"aria-labelledby":eg,"aria-modal":!0,"data-ui":"Dialog",id:p,onActivate:h,onClick:eb,onFocus:ey,ref:t,role:"dialog",zOffset:ed,children:[O,L,P]}),U[54]=eo,U[55]=ey,U[56]=eb,U[57]=p,U[58]=eg,U[59]=h,U[60]=ec,U[61]=es,U[62]=t,U[63]=x,U[64]=L,U[65]=ed,U[66]=q):q=U[66],U[67]!==b||U[68]!==q?(G=(0,r.jsx)(o.ZL,{__unstable_name:b,children:q}),U[67]=b,U[68]=q,U[69]=G):G=U[69],G}).displayName="ForwardRef(Dialog)";let M=(0,a.forwardRef)(function(e,t){let n,i,c,s,u,d,f,m,p,h,y,g,v,b,x,w,_,k,I,C,j,S,R,A=(0,l.c)(62),{__unstable_disableRestoreFocusOnClose:E,boundaryElement:z,button:N,id:B,menu:F,onClose:$,onOpen:D,placement:T,popoverScheme:M,portal:O,popover:L,popoverRadius:P,preventOverflow:q}=e,G=void 0!==E&&E,U=void 0===O||O,[V,W]=(0,a.useState)(!1),[J,Y]=(0,a.useState)(null),[Z,K]=(0,a.useState)(null);A[0]===Symbol.for("react.memo_cache_sentinel")?(n=[],A[0]=n):n=A[0];let[Q,X]=(0,a.useState)(n),ee=(0,a.useRef)(V);A[1]!==D||A[2]!==V?(i=()=>{D&&V&&!ee.current&&D()},c=[D,V],A[1]=D,A[2]=V,A[3]=i,A[4]=c):(i=A[3],c=A[4]),(0,a.useEffect)(i,c),A[5]!==$||A[6]!==V?(s=()=>{$&&!V&&ee.current&&$()},u=[$,V],A[5]=$,A[6]=V,A[7]=s,A[8]=u):(s=A[7],u=A[8]),(0,a.useEffect)(s,u),A[9]!==V?(d=()=>{ee.current=V},f=[V],A[9]=V,A[10]=d,A[11]=f):(d=A[10],f=A[11]),(0,a.useEffect)(d,f),A[12]===Symbol.for("react.memo_cache_sentinel")?(m=()=>{W(H),Y(null)},A[12]=m):m=A[12];let et=m;A[13]!==V?(p=e=>{V&&e.preventDefault()},A[13]=V,A[14]=p):p=A[14];let en=p;A[15]===Symbol.for("react.memo_cache_sentinel")?(h=e=>{if("ArrowDown"===e.key||"Enter"===e.key||" "===e.key){e.preventDefault(),W(!0),Y("first");return}if("ArrowUp"===e.key){e.preventDefault(),W(!0),Y("last");return}},A[15]=h):h=A[15];let eo=h;A[16]!==Z||A[17]!==Q?(y=e=>{let t=e.target;if(t instanceof Node&&!(Z&&(t===Z||Z.contains(t)))){for(let e of Q)if(t===e||e.contains(t))return;W(!1)}},A[16]=Z,A[17]=Q,A[18]=y):y=A[18];let er=y;A[19]!==Z||A[20]!==G?(g=()=>{W(!1),!G&&Z&&Z.focus()},A[19]=Z,A[20]=G,A[21]=g):g=A[21];let el=g;A[22]!==Q?(v=e=>{let t=e.relatedTarget;if(t instanceof Node){for(let e of Q)if(e===t||e.contains(t))return;W(!1)}},A[22]=Q,A[23]=v):v=A[23];let ei=v;A[24]!==Z||A[25]!==G?(b=()=>{W(!1),!G&&Z&&Z.focus()},A[24]=Z,A[25]=G,A[26]=b):b=A[26];let ea=b;A[27]===Symbol.for("react.memo_cache_sentinel")?(x=e=>(X(t=>t.concat([e])),()=>X(t=>t.filter(t=>t!==e))),A[27]=x):x=A[27];let ec=x;A[28]!==Z||A[29]!==ei||A[30]!==ea||A[31]!==er||A[32]!==el||A[33]!==B||A[34]!==F||A[35]!==J?(w=F&&(0,a.cloneElement)(F,{"aria-labelledby":B,onBlurCapture:ei,onClickOutside:er,onEscape:el,onItemClick:ea,originElement:Z,registerElement:ec,shouldFocus:J}),A[28]=Z,A[29]=ei,A[30]=ea,A[31]=er,A[32]=el,A[33]=B,A[34]=F,A[35]=J,A[36]=w):w=A[36];let es=w;A[37]!==N||A[38]!==en||A[39]!==B||A[40]!==V?(_=N&&(0,a.cloneElement)(N,{"data-ui":"MenuButton",id:B,onClick:et,onKeyDown:eo,onMouseDown:en,"aria-haspopup":!0,"aria-expanded":V,ref:K,selected:N.props.selected??V}),A[37]=N,A[38]=en,A[39]=B,A[40]=V,A[41]=_):_=A[41];let eu=_;A[42]!==Z?(k=()=>Z,I=[Z],A[42]=Z,A[43]=k,A[44]=I):(k=A[43],I=A[44]),(0,a.useImperativeHandle)(t,k,I),A[45]!==L?(C=L||{},A[45]=L,A[46]=C):C=A[46],A[47]!==z||A[48]!==T||A[49]!==P||A[50]!==M||A[51]!==U||A[52]!==q||A[53]!==C?(j={boundaryElement:z,overflow:"auto",placement:T,portal:U,preventOverflow:q,radius:P,scheme:M,...C},A[47]=z,A[48]=T,A[49]=P,A[50]=M,A[51]=U,A[52]=q,A[53]=C,A[54]=j):j=A[54];let ed=j;return A[55]!==eu?(S=eu||(0,r.jsx)(r.Fragment,{}),A[55]=eu,A[56]=S):S=A[56],A[57]!==es||A[58]!==V||A[59]!==ed||A[60]!==S?(R=(0,r.jsx)(o.AM,{"data-ui":"MenuButton__popover",...ed,content:es,open:V,children:S}),A[57]=es,A[58]=V,A[59]=ed,A[60]=S,A[61]=R):R=A[61],R});function H(e){return!e}M.displayName="ForwardRef(MenuButton)";let O=(0,c.i7)`
35  0% {
36    background-position: 100%;
37  }
38  100% {
39    background-position: -100%;
40  }
41`,L=(0,c.AH)`
42  background-image: linear-gradient(
43    to right,
44    var(--card-skeleton-color-from),
45    var(--card-skeleton-color-to),
46    var(--card-skeleton-color-from),
47    var(--card-skeleton-color-from),
48    var(--card-skeleton-color-from)
49  );
50  background-position: 100%;
51  background-size: 200% 100%;
52  background-attachment: fixed;
53  animation-name: ${O};
54  animation-timing-function: ease-in-out;
55  animation-iteration-count: infinite;
56  animation-duration: 2000ms;
57`,P=(0,c.AH)`
58  opacity: ${({$visible:e})=>+!!e};
59  transition: opacity 200ms ease-in;
60
61  @media screen and (prefers-reduced-motion: no-preference) {
62    ${({$animated:e})=>e?L:(0,c.AH)`
63            background-color: var(--card-skeleton-color-from);
64          `}
65  }
66
67  @media screen and (prefers-reduced-motion: reduce) {
68    background-color: var(--card-skeleton-color-from);
69  }
70`,q=(0,c.I4)(o.az).withConfig({displayName:"StyledSkeleton",componentId:"sc-ebtpni-0"})(o.gK,P),G=(0,a.forwardRef)(function(e,t){let n,i,c,s,u,d,f,m,p=(0,l.c)(16);p[0]!==e?({animated:s,delay:n,radius:i,...c}=e,p[0]=e,p[1]=n,p[2]=i,p[3]=c,p[4]=s):(n=p[1],i=p[2],c=p[3],s=p[4]);let h=void 0!==s&&s,[y,g]=(0,a.useState)(!n);p[5]!==n?(u=()=>{if(!n)return;let e=setTimeout(()=>{g(!0)},n);return()=>{clearTimeout(e)}}
70,d=[n],p[5]=n,p[6]=u,p[7]=d):(u=p[6],d=p[7]),(0,a.useEffect)(u,d),p[8]!==i?(f=(0,o.GB)(i),p[8]=i,p[9]=f):f=p[9];let v=!n||y;return p[10]!==h||p[11]!==t||p[12]!==c||p[13]!==f||p[14]!==v?(m=(0,r.jsx)(q,{...c,$animated:h,$radius:f,$visible:v,ref:t}),p[10]=h,p[11]=t,p[12]=c,p[13]=f,p[14]=v,p[15]=m):m=p[15],m});G.displayName="ForwardRef(Skeleton)";let U=(0,c.I4)(G).withConfig({displayName:"StyledSkeleton",componentId:"sc-2p7a1v-0"})(e=>{let{$size:t,$style:n}=e,{font:r,media:l}=(0,s.JW)(e.theme),i=r[n];return(0,o.U1)(l,t,e=>{let t=i.sizes[e];return{height:t.lineHeight-t.ascenderHeight-t.descenderHeight}})});(0,a.forwardRef)(function(e,t){let n,i,a,c,s=(0,l.c)(9);s[0]!==e?({size:i,...n}=e,s[0]=e,s[1]=n,s[2]=i):(n=s[1],i=s[2]);let u=void 0===i?2:i;s[3]!==u?(a=(0,o.GB)(u),s[3]=u,s[4]=a):a=s[4];let d=a;return s[5]!==d||s[6]!==t||s[7]!==n?(c=(0,r.jsx)(U,{...n,$size:d,ref:t,$style:"text"}),s[5]=d,s[6]=t,s[7]=n,s[8]=c):c=s[8],c}).displayName="ForwardRef(TextSkeleton)",(0,a.forwardRef)(function(e,t){let n,i,a,c,s=(0,l.c)(9);s[0]!==e?({size:i,...n}=e,s[0]=e,s[1]=n,s[2]=i):(n=s[1],i=s[2]);let u=void 0===i?2:i;s[3]!==u?(a=(0,o.GB)(u),s[3]=u,s[4]=a):a=s[4];let d=a;return s[5]!==d||s[6]!==t||s[7]!==n?(c=(0,r.jsx)(U,{...n,$size:d,ref:t,$style:"label"}),s[5]=d,s[6]=t,s[7]=n,s[8]=c):c=s[8],c}).displayName="ForwardRef(LabelSkeleton)",(0,a.forwardRef)(function(e,t){let n,i,a,c,s=(0,l.c)(9);s[0]!==e?({size:i,...n}=e,s[0]=e,s[1]=n,s[2]=i):(n=s[1],i=s[2]);let u=void 0===i?2:i;s[3]!==u?(a=(0,o.GB)(u),s[3]=u,s[4]=a):a=s[4];let d=a;return s[5]!==d||s[6]!==t||s[7]!==n?(c=(0,r.jsx)(U,{...n,$size:d,ref:t,$style:"heading"}),s[5]=d,s[6]=t,s[7]=n,s[8]=c):c=s[8],c}).displayName="ForwardRef(HeadingSkeleton)",(0,a.forwardRef)(function(e,t){let n,i,a,c,s=(0,l.c)(9);s[0]!==e?({size:i,...n}=e,s[0]=e,s[1]=n,s[2]=i):(n=s[1],i=s[2]);let u=void 0===i?2:i;s[3]!==u?(a=(0,o.GB)(u),s[3]=u,s[4]=a):a=s[4];let d=a;return s[5]!==d||s[6]!==t||s[7]!==n?(c=(0,r.jsx)(U,{...n,$size:d,ref:t,$style:"code"}),s[5]=d,s[6]=t,s[7]=n,s[8]=c):c=s[8],c}).displayName="ForwardRef(CodeSkeleton)",(0,a.forwardRef)(function(e,t){let n,i,a,c=(0,l.c)(9);c[0]!==e?({flex:n,...i}=e,c[0]=e,c[1]=n,c[2]=i):(n=c[1],i=c[2]);let s=void 0===e.tabIndex?0:e.tabIndex;return c[3]!==n||c[4]!==e.children||c[5]!==t||c[6]!==i||c[7]!==s?(a=(0,r.jsx)(o.az,{"data-ui":"TabPanel",...i,flex:n,ref:t,role:"tabpanel",tabIndex:s,children:e.children}),c[3]=n,c[4]=e.children,c[5]=t,c[6]=i,c[7]=s,c[8]=a):a=c[8],a}).displayName="ForwardRef(TabPanel)";let V={error:"critical",warning:"caution",success:"positive",info:"neutral"},W={error:"critical",warning:"caution",success:"positive",info:"neutral"},J=(0,c.I4)(o.so).withConfig({displayName:"TextBox",componentId:"sc-1rr7rxo-0"})`overflow-x:auto;`,Y=(0,c.I4)(o.Zp).withConfig({displayName:"StyledToast",componentId:"sc-1rr7rxo-1"})`pointer-events:all;width:100%;position:relative;overflow:hidden;overflow:clip;&[data-has-duration]{padding-bottom:calc(${2}px / 2);}`,Z=c.I4.div.withConfig({displayName:"LoadingBar",componentId:"sc-1rr7rxo-2"})`display:flex;position:absolute;bottom:0px;top:0px;left:0px;right:0px;pointer-events:none;z-index:-1;overflow:hidden;overflow:clip;background:transparent;align-items:flex-end;will-change:opacity;`,K=(0,c.I4)(o.Zp).withConfig({displayName:"LoadingBarMask",componentId:"sc-1rr7rxo-3"})`position:absolute;top:0;left:-${2}px;right:-${2}px;bottom:${2}px;z-index:1;`,Q=(0,c.I4)(o.Zp).withConfig({displayName:"LoadingBarProgress",componentId:"sc-1rr7rxo-4"})`display:block;height:100%;width:100%;transform-origin:0% 50%;background-color:${e=>{let{color:t}=(0,s.JW)(e.theme);return t.button.default[e.tone].enabled.bg}};`,X={error:"alert",warning:"alert",success:"alert",info:"alert"};function ee(e){let t,n,a,c,s,u,d,f,m,p,h,y,g,v,b,x,w,_,k,I,C=(0,l.c)(50);C[0]!==e?({closable:t,description:n,duration:a,onClose:c,radius:d,title:f,status:u,updatedAt:m,...s}=e,C[0]=e,C[1]=t,C[2]=n,C[3]=a,C[4]=c,C[5]=s,C[6]=u,C[7]=d,C[8]=f,C[9]=m):(t=C[1],n=C[2],a=C[3],c=C[4],s=C[5],u=C[6],d=C[7],f=C[8],m=C[9]);let j=void 0===d?3:d,S=u?V[u]:"default",R=u?W[u]:"default",A=u?X[u]:"status",E=.26*!(0,o.jt)();C[10]!==E?(p=E?{type:"spring",visualDuration:E,bounce:.25}:{duration:0},C[10]=E,C[11]=p):p=C[11];let z=p,N=a&&isFinite(a)&&a<20736e5;C[12]===Symbol.for("react.memo_cache_sentinel")?(h=["hidden","initial"],C[12]=h):h=C[12];let B=h;C[13]===Symbol.for("react.memo_cache_sentinel")?(y=["visible","slideIn"],C[13]=y):y=C[13];let F=y;C[14]===Symbol.for("react.memo_cache_sentinel")?(g=["hidden","slideOut"],C[14]=g):g=C[14];let $=g,D=N?"":void 0;return C[15]!==f?(v=f&&(0,r.jsx)(o.EY,{size:1,weight:"medium",children:f}),C[15]=f,C[16]=v):v=C[16],C[17]!==n||C[18]!==z?(b=n&&(0,r.jsx)(el,{muted:!0,size:1,variants:en,transition:z,children:n}),C[17]=n,C[18]=z,C[19]=b):b=C[19],C[20]!==v||C[21]!==b?(x=(0,r.jsx)(J,{flex:1,padding:3,children:(0,r.jsxs)(o.BJ,{space:3,children:[v,b]})}),C[20]=v,C[21]=b,C[22]=x):x=C[22],C[23]!==R||C[24]!==t||C[25]!==c?(w=t&&(0,r.jsx)(o.az,{padding:1,children:(0,r.jsx)(o.$n,{as:"button",icon:i.USm,mode:"bleed",padding:2,tone:R,onClick:c,style:{verticalAlign:"top"}})}),C[23]=R,C[24]=t,C[25]=c,C[26]=w):w=C[26],C[27]!==x||C[28]!==w||C[29]!==z?(_=(0,r.jsxs)(er,{align:"flex-start",variants:en,transition:z,children:[x,w]}),C[27]=x,C[28]=w,C[29]=z,C[30]=_):_=C[30],C[31]!==S||C[32]!==a||C[33]!==N||C[34]!==c||C[35]!==j||C[36]!==z||C[37]!==m||C[38]!==E?(k=N&&(0,r.jsxs)(ei,{variants:en,transition:z,children:[(0,r.jsx)(K,{tone:S,radius:j}),(0,r.jsx)(ea,{tone:S,initial:{scaleX:0},animate:{scaleX:1},transition:{delay:E,duration:a/1e3,ease:"linear"},onAnimationComplete:c},`progress-${m}`)]}),C[31]=S,C[32]=a,C[33]=N,C[34]=c,C[35]=j,C[36]=z,C[37]=m,C[38]=E,C[39]=k):k=C[39],C[40]!==S||C[41]!==j||C[42]!==s||C[43]!==A||C[44]!==_||C[45]!==k||C[46]!==D||C[47]!==z||C[48]!==E?(I=(0,r.jsxs)(eo,{"data-ui":"Toast",role:A,...s,"data-has-duration":D,custom:E,radius:j,shadow:2,tone:S,forwardedAs:"li",layout:"position",variants:et,initial:B,animate:F,exit:$,transition:z,children:[_,k]}),C[40]=S,C[41]=j,C[42]=s,C[43]=A,C[44]=_,C[45]=k,C[46]=D,C[47]=z,C[48]=E,C[49]=I):I=C[49],I}ee.displayName="Toast";let et={initial:{y:32,scale:.5,zIndex:1},hidden:{opacity:0}
70,visible:e=>e?{opacity:1,transition:{when:"beforeChildren",staggerChildren:e/3,duration:e/3}}:{opacity:1},slideIn:{y:0,scale:1},slideOut:{zIndex:0,scale:.75}},en={initial:{willChange:"transform"},hidden:{opacity:0},visible:{opacity:1}},eo=u.P.create(Y),er=u.P.create(o.so),el=u.P.create(o.EY),ei=u.P.create(Z),ea=u.P.create(Q),ec=(0,o.bz)("@sanity/ui/context/toast",null);let es=(0,c.I4)(o.xA).withConfig({displayName:"StyledLayer",componentId:"sc-1tbwn58-0"})`box-sizing:border-box;position:fixed;right:0;bottom:0;list-style:none;pointer-events:none;max-width:420px;width:100%;`;function eu(){let e=(0,a.useContext)(ec);if(!e)throw Error("useToast(): missing context value");if(!(0,o.u4)(e)||0!==e.version)throw Error("useToast(): the context value is not compatible");return e}function ed(e){if("treeitem"===e.getAttribute("role")&&e.focus(),"none"===e.getAttribute("role")){let t=e.firstChild;t&&t instanceof HTMLElement&&t.focus()}}let ef=(0,o.bz)("@sanity/ui/context/tree",null);(0,a.forwardRef)(function(e,t){let n,i,c,s,u,d,f,m,p,h,y,g,v,b,x,w,_,k,I,C,j,S=(0,l.c)(37);S[0]!==e?({children:n,space:s,onFocus:i,...c}=e,S[0]=e,S[1]=n,S[2]=i,S[3]=c,S[4]=s):(n=S[1],i=S[2],c=S[3],s=S[4]);let R=void 0===s?1:s,A=(0,a.useRef)(null),[E,z]=(0,a.useState)(null),N=(0,a.useRef)(E);S[5]===Symbol.for("react.memo_cache_sentinel")?(u=[],S[5]=u):u=S[5];let B=u;S[6]===Symbol.for("react.memo_cache_sentinel")?(d=[],S[6]=d):d=S[6];let[F,$]=(0,a.useState)(d);S[7]===Symbol.for("react.memo_cache_sentinel")?(f={},S[7]=f):f=S[7];let[D,T]=(0,a.useState)(f),M=(0,a.useRef)(D);S[8]===Symbol.for("react.memo_cache_sentinel")?(m=()=>A.current,S[8]=m):m=S[8],(0,a.useImperativeHandle)(t,m),S[9]!==E?(p=()=>{N.current=E},h=[E],S[9]=E,S[10]=p,S[11]=h):(p=S[10],h=S[11]),(0,a.useEffect)(p,h),S[12]!==D?(y=()=>{M.current=D},g=[D],S[12]=D,S[13]=y,S[14]=g):(y=S[13],g=S[14]),(0,a.useEffect)(y,g),S[15]===Symbol.for("react.memo_cache_sentinel")?(v=(e,t,n,o)=>(T(o=>({...o,[t]:{element:e,expanded:n}})),o&&z(e),()=>{T(e=>{let n={...e};return delete n[t],n})}),S[15]=v):v=S[15];let H=v;S[16]===Symbol.for("react.memo_cache_sentinel")?(b=(e,t)=>{T(n=>{let o=n[e];return o?{...n,[e]:{...o,expanded:t}}:n})},S[16]=b):b=S[16];let O=b,L=E||F[0]||null;S[17]!==R||S[18]!==D||S[19]!==L?(x={version:0,focusedElement:L,level:0,path:B,registerItem:H,setExpanded:O,setFocusedElement:z,space:R,state:D},S[17]=R,S[18]=D,S[19]=L,S[20]=x):x=S[20];let P=x;S[21]!==F?(w=e=>{if(N.current){if("ArrowDown"===e.key){e.preventDefault();let t=function(e,t,n){let o=t.indexOf(n),r=t.slice(o),l=t.length;for(let t=1;t<l;t+=1){if(!r[t])continue;let n=r[t].getAttribute("data-tree-key");if(!n)continue;let o=n.split("/");o.pop();let l=[],i=!0;for(let t=0;t<o.length;t+=1){l.push(o[t]);let n=l.join("/");if(!e[n]?.expanded){i=!1;break}}if(i)return r[t]}return null}(M.current,F,N.current);t&&(ed(t),z(t));return}if("ArrowUp"===e.key){e.preventDefault();let t=function(e,t,n){let o=t.indexOf(n),r=t.slice(0,o),l=r.length;for(let t=l-1;t>=0;t-=1){let n=r[t].getAttribute("data-tree-key");if(!n)continue;let o=n.split("/");o.pop();let l=[],i=!0;for(let t=0;t<o.length;t+=1){l.push(o[t]);let n=l.join("/");if(!e[n]?.expanded){i=!1;break}}if(i)return r[t]}return null}(M.current,F,N.current);t&&(ed(t),z(t));return}if("ArrowLeft"===e.key){e.preventDefault();let t=N.current.getAttribute("data-tree-key");if(!t)return;let n=M.current[t];if(!n)return;if(n.expanded)T(e=>{let n=e[t];return n?{...e,[t]:{...n,expanded:!1}}:e});else{let e=t.split("/");e.pop();let n=e.join("/"),o=n&&M.current[n];o&&(o.element.focus(),z(o.element))}return}if("ArrowRight"===e.key){e.preventDefault();let t=N.current.getAttribute("data-tree-key");if(!t)return;M.current[t]?.expanded||T(e=>{let n=e[t];return n?{...e,[t]:{...n,expanded:!0}}:e});return}}},S[21]=F,S[22]=w):w=S[22];let q=w;S[23]!==i?(_=e=>{z(e.target),i?.(e)},S[23]=i,S[24]=_):_=S[24];let G=_;return S[25]===Symbol.for("react.memo_cache_sentinel")?(k=()=>{A.current&&$(Array.from(A.current.querySelectorAll('[data-ui="TreeItem"]')))},S[25]=k):k=S[25],S[26]!==n?(I=[n],S[26]=n,S[27]=I):I=S[27],(0,a.useEffect)(k,I),S[28]!==n||S[29]!==G||S[30]!==q||S[31]!==c||S[32]!==R?(C=(0,r.jsx)(o.BJ,{as:"ul","data-ui":"Tree",...c,onFocus:G,onKeyDown:q,ref:A,role:"tree",space:R,children:n}),S[28]=n,S[29]=G,S[30]=q,S[31]=c,S[32]=R,S[33]=C):C=S[33],S[34]!==P||S[35]!==C?(j=(0,r.jsx)(ef.Provider,{value:P,children:C}),S[34]=P,S[35]=C,S[36]=j):j=S[36],j}).displayName="ForwardRef(Tree)";(0,c.I4)(o.az).attrs({forwardedAs:"a"}).withConfig({displayName:"TreeItemBox",componentId:"sc-iiskig-1"})(function(e){let{$level:t}=e,{space:n}=(0,s.JW)(e.theme);return(0,c.AH)`
71    padding-left: ${(0,o.D0)(n[2]*t)};
72
73    &[data-as='a'] {
74      text-decoration: none;
75    }
76  `}),(0,c.I4)(o.EY).withConfig({displayName:"ToggleArrowText",componentId:"sc-iiskig-2"})`& > svg{transition:transform 100ms;}`}}]);

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.