1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,851364,e=>{"use strict";var t=e.i(23423),n=e.i(252311),r=e.i(623412),o=e.i(734842),i=e.i(617710);function a({pageId:e,sections:a,sharedBlocks:s={}}){return a&&0!==a.length?(0,t.jsx)("div",{"data-sanity-id":e,"data-sanity-type":"page","data-sanity-path":"sections",children:a.map((e,a)=>{let l=e?._key||a,d=`sections[${a}]`;if(e?._type==="sectionHero"){let r=e?.image?(0,i.urlForImage)(e.image).width(1600).height(600).fit("crop").url():null;return(0,t.jsxs)("section",{"data-sanity-path":d,className:"mb-12 rounded-xl overflow-hidden bg-primary-800",children:[r&&(0,t.jsx)(n.default,{src:r,alt:e?.heading||"",width:1600,height:600,className:"w-full h-64 md:h-80 object-cover"}),(0,t.jsxs)("div",{className:"p-6 md:p-10 text-white",children:[e?.heading&&(0,t.jsx)("h1",{className:"heading-1 mb-3",children:e.heading}),e?.subheading&&(0,t.jsx)("p",{className:"body text-white/80 mb-6 max-w-3xl",children:e.subheading}),e?.ctaLabel&&e?.ctaHref&&(0,t.jsx)("a",{href:e.ctaHref,className:"button cta inline-flex items-center",children:e.ctaLabel})]})]},l)}if(e?._type==="sectionRichText")return(0,t.jsxs)("section",{"data-sanity-path":d,className:"mb-12 bg-white rounded-xl p-6 md:p-10",children:[e?.title&&(0,t.jsx)("h2",{className:"heading-2 mb-4",children:e.title}),Array.isArray(e?.content)&&(0,t.jsx)(r.default,{content:e.content})]},l);if(e?._type==="sectionFaq")return(0,t.jsxs)("section",{"data-sanity-path":d,className:"mb-12 bg-white rounded-xl p-6 md:p-10",children:[e?.title&&(0,t.jsx)("h2",{className:"heading-2 mb-6",children:e.title}),(0,t.jsx)("div",{className:"space-y-4",children:(e?.items||[]).map((e,n)=>(0,t.jsxs)("details",{className:"group border border-gray-200 rounded-lg",children:[(0,t.jsxs)("summary",{className:"cursor-pointer select-none px-4 py-3 font-medium flex items-center justify-between",children:[(0,t.jsx)("span",{children:e?.question}),(0,t.jsx)("span",{className:"ml-4 text-gray-500 group-open:rotate-180 transition-transform",children:"â"})]}),(0,t.jsx)("div",{className:"px-4 pb-4",children:Array.isArray(e?.answer)&&(0,t.jsx)(r.default,{content:e.answer})})]},e?._key||n))})]},l);if(e?._type==="sectionBrokerCard"){let n=e.sharedBlockId?s[e.sharedBlockId]:null;return n?(0,t.jsx)("section",{"data-sanity-path":d,className:"mb-12",children:(0,t.jsx)(o.default,{data:n})},l):null}return(0,t.jsxs)("section",{"data-sanity-path":d,className:"mb-12 p-6 rounded-xl border border-dashed border-gray-300 text-gray-500",children:["Unknown section type: ",e?._type]},l)})}):null}e.s(["default",()=>a])},307407,(e,t,n)=>{t.exports=function(e,t,n,r){var o=n?n.call(r,e,t):void 0;if(void 0!==o)return!!o;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var i=Object.keys(e),a=Object.keys(t);if(i.length!==a.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(t),l=0;l<i.length;l++){var d=i[l];if(!s(d))return!1;var c=e[d],u=t[d];if(!1===(o=n?n.call(r,c,u,d):void 0)||void 0===o&&c!==u)return!1}return!0}},99535,(e,t,n)=>{t.exports=function(e,t,n,r){var o=-1,i=null==e?0:e.length;for(r&&i&&(n=e[++o]);++o<i;)n=t(n,e[o],o,e);return n}},630089,(e,t,n)=>{t.exports=function(e){return function(t){return null==e?void 0:e[t]}}},460255,(e,t,n)=>{t.exports=e.r(630089)({Ã:"A",Ã:"A",Ã:"A",Ã:"A",Ã:"A",Ã
:"A",à :"a",á:"a",â:"a",ã:"a",ä:"a",Ã¥:"a",Ã:"C",ç:"c",Ã:"D",ð:"d",Ã:"E",Ã:"E",Ã:"E",Ã:"E",è:"e",é:"e",ê:"e",ë:"e",Ã:"I",Ã:"I",Ã:"I",Ã:"I",ì:"i",Ã:"i",î:"i",ï:"i",Ã:"N",ñ:"n",Ã:"O",Ã:"O",Ã:"O",Ã:"O",Ã:"O",Ã:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ã:"U",Ã:"U",Ã:"U",Ã:"U",ù:"u",ú:"u",û:"u",ü:"u",Ã:"Y",ý:"y",ÿ:"y",Ã:"Ae",æ:"ae",Ã:"Th",þ:"th",Ã:"ss",Ä:"A",Ä:"A",Ä:"A",Ä:"a",Ä:"a",Ä
:"a",Ä:"C",Ä:"C",Ä:"C",Ä:"C",Ä:"c",Ä:"c",Ä:"c",Ä:"c",Ä:"D",Ä:"D",Ä:"d",Ä:"d",Ä:"E",Ä:"E",Ä:"E",Ä:"E",Ä:"E",Ä:"e",Ä:"e",Ä:"e",Ä:"e",Ä:"e",Ä:"G",Ä:"G",Ä :"G",Ä¢:"G",Ä:"g",Ä:"g",Ä¡:"g",Ä£:"g",Ĥ:"H",Ħ:"H",Ä¥:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Ä®:"I",İ:"I",Ä©:"i",Ä«:"i",Ä:"i",į:"i",ı:"i",Ä´:"J",ĵ:"j",Ķ:"K",Ä·:"k",ĸ:"k",Ĺ:"L",Ä»:"L",Ľ:"L",Ä¿:"L",Å:"L",ĺ:"l",ļ:"l",ľ:"l",Å:"l",Å:"l",Å:"N",Å
:"N",Å:"N",Å:"N",Å:"n",Å:"n",Å:"n",Å:"n",Å:"O",Å:"O",Å:"O",Å:"o",Å:"o",Å:"o",Å:"R",Å:"R",Å:"R",Å:"r",Å:"r",Å:"r",Å:"S",Å:"S",Å:"S",Å :"S",Å:"s",Å:"s",Å:"s",Å¡:"s",Å¢:"T",Ť:"T",Ŧ:"T",Å£:"t",Å¥:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Å®:"U",Ű:"U",Ų:"U",Å©:"u",Å«:"u",Å:"u",ů:"u",ű:"u",ų:"u",Å´:"W",ŵ:"w",Ŷ:"Y",Å·:"y",Ÿ:"Y",Ź:"Z",Å»:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Å:"Oe",Å:"oe",Å:"'n",Å¿:"s"})},762895,(e,t,n)=>{t.exports=e.g&&e.g.Object===Object&&e.g},810631,(e,t,n)=>{var r=e.r(762895),o="object"==typeof self&&self&&self.Object===Object&&self;
1t.exports=r||o||Function("return this")()},444656,(e,t,n)=>{t.exports=e.r(810631).Symbol},579907,(e,t,n)=>{t.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}},997251,(e,t,n)=>{t.exports=Array.isArray},155605,(e,t,n)=>{var r=e.r(444656),o=Object.prototype,i=o.hasOwnProperty,a=o.toString,s=r?r.toStringTag:void 0;t.exports=function(e){var t=i.call(e,s),n=e[s];try{e[s]=void 0;var r=!0}catch(e){}var o=a.call(e);return r&&(t?e[s]=n:delete e[s]),o}},858176,(e,t,n)=>{var r=Object.prototype.toString;t.exports=function(e){return r.call(e)}},239178,(e,t,n)=>{var r=e.r(444656),o=e.r(155605),i=e.r(858176),a=r?r.toStringTag:void 0;t.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":a&&a in Object(e)?o(e):i(e)}},495743,(e,t,n)=>{t.exports=function(e){return null!=e&&"object"==typeof e}},271179,(e,t,n)=>{var r=e.r(239178),o=e.r(495743);t.exports=function(e){return"symbol"==typeof e||o(e)&&"[object Symbol]"==r(e)}},560898,(e,t,n)=>{var r=e.r(444656),o=e.r(579907),i=e.r(997251),a=e.r(271179),s=1/0,l=r?r.prototype:void 0,d=l?l.toString:void 0;t.exports=function e(t){if("string"==typeof t)return t;if(i(t))return o(t,e)+"";if(a(t))return d?d.call(t):"";var n=t+"";return"0"==n&&1/t==-s?"-0":n}},415735,(e,t,n)=>{var r=e.r(560898);t.exports=function(e){return null==e?"":r(e)}},393010,(e,t,n)=>{var r=e.r(460255),o=e.r(415735),i=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u01
17f]/g,a=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");t.exports=function(e){return(e=o(e))&&e.replace(i,r).replace(a,"")}},441904,(e,t,n)=>{var r=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;t.exports=function(e){return e.match(r)||[]}},463373,(e,t,n)=>{var r=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;t.exports=function(e){return r.test(e)}},264782,(e,t,n)=>{var r="\ud800-\udfff",o="\\u2700-\\u27bf",i="a-z\\xdf-\\xf6\\xf8-\\xff",a="A-Z\\xc0-\\xd6\\xd8-\\xde",s="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",l="['â]",d="["+s+"]",c="["+i+"]",u="[^"+r+s+"\\d+"+o+i+a+"]",f="(?:\ud83c[\udde6-\uddff]){2}",h="[\ud800-\udbff][\udc00-\udfff]",p="["+a+"]",g="(?:"+c+"|"+u+")",m="(?:"+p+"|"+u+")",v="(?:"+l+"(?:d|ll|m|re|s|t|ve))?",y="(?:"+l+"(?:D|LL|M|RE|S|T|VE))?",w="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\ud83c[\udffb-\udfff])?",b="[\\ufe0e\\ufe0f]?",x="(?:\\u200d(?:"+["[^"+r+"]",f,h].join("|")+")"+b+w+")*",C="(?:"+["["+o+"]",f,h].join("|")+")"+(b+w+x),k=RegExp([p+"?"+c+"+"+v+"(?="+[d,p,"$"].join("|")+")",m+"+"+y+"(?="+[d,p+g,"$"].join("|")+")",p+"?"+g+"+"+v,p+"+"+y,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])|\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])|\\d+",C].join("|"),"g");t.exports=function(e){return e.match(k)||[]}},546699,(e,t,n)=>{var r=e.r(441904),o=e.r(463373),i=e.r(415735),a=e.r(264782);t.exports=function(e,t,n){return(e=i(e),void 0===(t=n?void 0:t))?o(e)?a(e):r(e):e.match(t)||[]}},248915,(e,t,n)=>{var r=e.r(99535),o=e.r(393010),i=e.r(546699),a=RegExp("['â]","g");t.exports=function(e){return function(t){return r(i(o(t).replace(a,"")),e,"")}}},993654,(e,t,n)=>{t.exports=function(e,t,n){var r=-1,o=e.length;t<0&&(t=-t>o?0:o+t),(n=n>o?o:n)<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var i=Array(o);++r<o;)i[r]=e[r+t];return i}},550068,(e,t,n)=>{var r=e.r(993654);t.exports=function(e,t,n){var o=e.length;return n=void 0===n?o:n,!t&&n>=o?e:r(e,t,n)}},889945,(e,t,n)=>{var r=RegExp("[\\u200d\ud800-\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");t.exports=function(e){return r.test(e)}},420193,(e,t,n)=>{t.exports=function(e){return e.split("")}},163591,(e,t,n)=>{var r="\ud800-\udfff",o="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",i="\ud83c[\udffb-\udfff]",a="[^"+r+"]",s="(?:\ud83c[\udde6-\uddff]){2}",l="[\ud800-\udbff][\udc00-\udfff]",d="(?:"+o+"|"+i+")?",c="[\\ufe0e\\ufe0f]?",u="(?:\\u200d(?:"+[a,s,l].join("|")+")"+c+d+")*",f=RegExp(i+"(?="+i+")|"+("(?:"+[a+o+"?",o,s,l,"["+r+"]"].join("|"))+")"+(c+d+u),"g");t.exports=function(e){return e.match(f)||[]}},822060,(e,t,n)=>{var r=e.r(420193),o=e.r(889945),i=e.r(163591);t.exports=function(e){return o(e)?i(e):r(e)}},737622,(e,t,n)=>{var r=e.r(550068),o=e.r(889945),i=e.r(822060),a=e.r(415735);t.exports=function(e){return function(t){var n=o(t=a(t))?i(t):void 0,s=n?n[0]:t.charAt(0),l=n?r(n,1).join(""):t.slice(1);return s[e]()+l}}},880470,(e,t,n)=>{t.exports=e.r(737622)("toUpperCase")},809004,(e,t,n)=>{var r=e.r(248915),o=e.r(880470);t.exports=r(function(e,t,n){return e+(n?" ":"")+o(t)})},918179,e=>{"use strict";let t,n,r,o,i,a,s,l,d,c,u;var f,h,p,g,m,v,y,w,b,x,C,k,j,M,L,S,_,R,E=e.i(23423),$=e.i(246630);let H="undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),V=new Uint8Array(16),I=[];for(let e=0;e<256;++e)I.push((e+256).toString(16).slice(1));let O=function(e,n,r){if(H&&!n&&!e)return H();let o=(e=e||{}).random??e.rng?.()??function(){if(!t){if("undefined"==typeof crypto||!crypto.getRandomValues)throw Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");t=crypto.getRandomValues.bind(crypto)}return t(V)}();if(o.length<16)throw Error("Random bytes length must be >= 16");if(o[6]=15&o[6]|64,o[8]=63&o[8]|128,n){if((r=r||0)<0||r+16>n.length)throw RangeError(`UUID byte range ${r}:${r+15} is out of buffer bounds`);for(let e=0;e<16;++e)n[r+e]=o[e];return n}
1return function(e,t=0){return(I[e[t+0]]+I[e[t+1]]+I[e[t+2]]+I[e[t+3]]+"-"+I[e[t+4]]+I[e[t+5]]+"-"+I[e[t+6]]+I[e[t+7]]+"-"+I[e[t+8]]+I[e[t+9]]+"-"+I[e[t+10]]+I[e[t+11]]+I[e[t+12]]+I[e[t+13]]+I[e[t+14]]+I[e[t+15]]).toLowerCase()}(o)};class A{constructor(e){this._process=e,this._active=!1,this._current=null,this._last=null}start(){this._active=!0,this.flush()}clear(){this._current&&(this._current.next=null,this._last=this._current)}enqueue(e){let t={value:e,next:null};if(this._current){this._last.next=t,this._last=t;return}this._current=t,this._last=t,this._active&&this.flush()}flush(){for(;this._current;){let e=this._current;this._process(e.value),this._current=e.next}this._last=null}}let B="xstate.init",z="xstate.stop";function T(e,t){return{type:`xstate.done.state.${e}`,output:t}}function W(e,t){return{type:`xstate.error.actor.${e}`,error:t,actorId:e}}function N(e){return{type:B,input:e}}function P(e){setTimeout(()=>{throw e})}let Z="function"==typeof Symbol&&Symbol.observable||"@@observable";function F(e){if(Y(e))return e;let t=[],n="";for(let r=0;r<e.length;r++){switch(e.charCodeAt(r)){case 92:n+=e[r+1],r++;continue;case 46:t.push(n),n="";continue}n+=e[r]}return t.push(n),t}function D(e){var t;return(t=e)&&"object"==typeof t&&"machine"in t&&"value"in t?e.value:"string"!=typeof e?e:function(e){if(1===e.length)return e[0];let t={},n=t;for(let t=0;t<e.length-1;t++)if(t===e.length-2)n[e[t]]=e[t+1];else{let r=n;n={},r[e[t]]=n}return t}(F(e))}function q(e,t){let n={},r=Object.keys(e);for(let o=0;o<r.length;o++){let i=r[o];n[i]=t(e[i],i,e,o)}return n}function U(e){var t;return void 0===e?[]:Y(t=e)?t:[t]}function G(e,t,n,r){return"function"==typeof e?e({context:t,event:n,self:r}):e}function Y(e){return Array.isArray(e)}function K(e){var t;return(Y(t=e)?t:[t]).map(e=>void 0===e||"string"==typeof e?{target:e}:e)}function X(e){if(void 0!==e&&""!==e)return U(e)}function J(e,t,n){let r="object"==typeof e,o=r?e:void 0;return{next:(r?e.next:e)?.bind(o),error:(r?e.error:t)?.bind(o),complete:(r?e.complete:n)?.bind(o)}}function Q(e,t){let n=t.match(/^xstate\.invoke\.(\d+)\.(.*)/);if(!n)return e.implementations.actors[t];let[,r,o]=n,i=e.getStateNodeById(o).config.invoke;return(Array.isArray(i)?i[r]:i).src}function ee(e,t){return`${e.sessionId}.${t}`}let et=0,en=!1,er=((r6={})[r6.NotStarted=0]="NotStarted",r6[r6.Running=1]="Running",r6[r6.Stopped=2]="Stopped",r6),eo={clock:{setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:e=>clearTimeout(e)},logger:console.log.bind(console),devTools:!1};class ei{constructor(e,t){this.logic=e,this._snapshot=void 0,this.clock=void 0,this.options=void 0,this.id=void 0,this.mailbox=new A(this._process.bind(this)),this.observers=new Set,this.eventListeners=new Map,this.logger=void 0,this._processingStatus=er.NotStarted,this._parent=void 0,this._syncSnapshot=void 0,this.ref=void 0,this._actorScope=void 0,this.systemId=void 0,this.sessionId=void 0,this.system=void 0,this._doneEvent=void 0,this.src=void 0,this._deferred=[];const n={...eo,...t},{clock:r,logger:o,parent:i,syncSnapshot:a,id:s,systemId:l,inspect:d}=n;this.system=i?i.system:function(e,t){let n=new Map,r=new Map,o=new WeakMap,i=new Set,a={},{clock:s,logger:l}=t,d={schedule:(e,t,n,r,o=Math.random().toString(36).slice(2))=>{let i={source:e,target:t,event:n,delay:r,id:o,startedAt:Date.now()},l=ee(e,o);c._snapshot._scheduledEvents[l]=i;let d=s.setTimeout(()=>{delete a[l],delete c._snapshot._scheduledEvents[l],c._relay(e,t,n)},r);a[l]=d},cancel:(e,t)=>{let n=ee(e,t),r=a[n];delete a[n],delete c._snapshot._scheduledEvents[n],void 0!==r&&s.clearTimeout(r)},cancelAll:e=>{for(let t in c._snapshot._scheduledEvents){let n=c._snapshot._scheduledEvents[t];n.source===e&&d.cancel(e,n.id)}}},c={_snapshot:{_scheduledEvents:(t?.snapshot&&t.snapshot.scheduler)??{}},_bookId:()=>`x:${et++}`,_register:(e,t)=>(n.set(e,t),e),_unregister:e=>{n.delete(e.sessionId);let t=o.get(e);void 0!==t&&(r.delete(t),o.delete(e))},get:e=>r.get(e),getAll:()=>Object.fromEntries(r.entries()),_set:(e,t)=>{let n=r.get(e);if(n&&n!==t)throw Error(`Actor with system ID '${e}' already exists.`);r.set(e,t),o.set(t,e)},inspect:e=>{let t=J(e);return i.add(t),{unsubscribe(){i.delete(t)}}},_sendInspectionEvent:t=>{if(!i.size)return;let n={...t,rootId:e.sessionId};
1i.forEach(e=>e.next?.(n))},_relay:(e,t,n)=>{c._sendInspectionEvent({type:"@xstate.event",sourceRef:e,actorRef:t,event:n}),t._send(n)},scheduler:d,getSnapshot:()=>({_scheduledEvents:{...c._snapshot._scheduledEvents}}),start:()=>{let e=c._snapshot._scheduledEvents;for(let t in c._snapshot._scheduledEvents={},e){let{source:n,target:r,event:o,delay:i,id:a}=e[t];d.schedule(n,r,o,i,a)}},_clock:s,_logger:l};return c}(this,{clock:r,logger:o}),d&&!i&&this.system.inspect(J(d)),this.sessionId=this.system._bookId(),this.id=s??this.sessionId,this.logger=t?.logger??this.system._logger,this.clock=t?.clock??this.system._clock,this._parent=i,this._syncSnapshot=a,this.options=n,this.src=n.src??e,this.ref=this,this._actorScope={self:this,id:this.id,sessionId:this.sessionId,logger:this.logger,defer:e=>{this._deferred.push(e)},system:this.system,stopChild:e=>{if(e._parent!==this)throw Error(`Cannot stop child actor ${e.id} of ${this.id} because it is not a child`);e._stop()},emit:e=>{let t=this.eventListeners.get(e.type),n=this.eventListeners.get("*");if(t||n)for(let r of[...t?t.values():[],...n?n.values():[]])try{r(e)}catch(e){P(e)}},actionExecutor:e=>{let t=()=>{if(this._actorScope.system._sendInspectionEvent({type:"@xstate.action",actorRef:this,action:{type:e.type,params:e.params}}),!e.exec)return;let t=en;try{en=!0,e.exec(e.info,e.params)}finally{en=t}};this._processingStatus===er.Running?t():this._deferred.push(t)}},this.send=this.send.bind(this),this.system._sendInspectionEvent({type:"@xstate.actor",actorRef:this}),l&&(this.systemId=l,this.system._set(l,this)),this._initState(t?.snapshot??t?.state),l&&"active"!==this._snapshot.status&&this.system._unregister(this)}_initState(e){try{this._snapshot=e?this.logic.restoreSnapshot?this.logic.restoreSnapshot(e,this._actorScope):e:this.logic.getInitialSnapshot(this._actorScope,this.options?.input)}catch(e){this._snapshot={status:"error",output:void 0,error:e}}}update(e,t){let n;for(this._snapshot=e;n=this._deferred.shift();)try{n()}catch(t){this._deferred.length=0,this._snapshot={...e,status:"error",error:t}}switch(this._snapshot.status){case"active":for(let t of this.observers)try{t.next?.(e)}catch(e){P(e)}break;case"done":var r;for(let t of this.observers)try{t.next?.(e)}catch(e){P(e)}this._stopProcedure(),this._complete(),this._doneEvent=(r=this.id,{type:`xstate.done.actor.${r}`,output:this._snapshot.output,actorId:r}),this._parent&&this.system._relay(this,this._parent,this._doneEvent);break;case"error":this._error(this._snapshot.error)}this.system._sendInspectionEvent({type:"@xstate.snapshot",actorRef:this,event:t,snapshot:e})}subscribe(e,t,n){let r=J(e,t,n);if(this._processingStatus!==er.Stopped)this.observers.add(r);else switch(this._snapshot.status){case"done":try{r.complete?.()}catch(e){P(e)}break;case"error":{let e=this._snapshot.error;if(r.error)try{r.error(e)}catch(e){P(e)}else P(e)}}return{unsubscribe:()=>{this.observers.delete(r)}}}on(e,t){let n=this.eventListeners.get(e);n||(n=new Set,this.eventListeners.set(e,n));let r=t.bind(void 0);return n.add(r),{unsubscribe:()=>{n.delete(r)}}}start(){if(this._processingStatus===er.Running)return this;this._syncSnapshot&&this.subscribe({next:e=>{"active"===e.status&&this.system._relay(this,this._parent,{type:`xstate.snapshot.${this.id}`,snapshot:e})},error:()=>{}}),this.system._register(this.sessionId,this),this.systemId&&this.system._set(this.systemId,this),this._processingStatus=er.Running;let e=N(this.options.input);switch(this.system._sendInspectionEvent({type:"@xstate.event",sourceRef:this._parent,actorRef:this,event:e}),this._snapshot.status){case"done":return this.update(this._snapshot,e),this;case"error":return this._error(this._snapshot.error),this}if(this._parent||this.system.start(),this.logic.start)try{this.logic.start(this._snapshot,this._actorScope)}catch(e){return this._snapshot={...this._snapshot,status:"error",error:e},this._error(e),this}return this.update(this._snapshot,e),this.options.devTools&&this.attachDevTools(),this.mailbox.start(),this}_process(e){let t,n;try{t=this.logic.transition(this._snapshot,e,this._actorScope)}catch(e){n={err:e}}if(n){let{err:e}=n;this._snapshot={...this._snapshot,status:"error",error:e},this._error(e);return}this.update(t,e),e.type===z&&(this._stopProcedure(),this._complete())}_stop(){return this._processingStatus===er.Stopped||((this.mailbox.clear(),this._processingStatus===er.NotStarted)?this._processingStatus=er.Stopped:this.mailbox.enqueue({type:z})),this}stop(){if(this._parent)throw Error("A non-root actor cannot be stopped directly.");return this._stop()}_complete(){for(let e of this.observers)try{e.complete?.()}catch(e){P(e)}this.observers.clear()}_reportError(e){if(!this.observers.size){this._parent||P(e);return}let t=!1;for(let n of this.observers){let r=n.error;t||=!r;try{r?.(e)}catch(e){P(e)}}this.observers.clear(),t&&P(e)}_error(e){this._stopProcedure(),this._reportError(e),this._parent&&this.system._relay(this,this._parent,W(this.id,e))}_stopProcedure(){return this._processingStatus!==er.Running||(this.system.scheduler.cancelAll(this),this.mailbox.clear(),this.mailbox=new A(this._process.bind(this)),this._processingStatus=er.Stopped,this.system._unregister(this)),this}_send(e){this._processingStatus!==er.Stopped&&this.mailbox.enqueue(e)}send(e){this.system._relay(void 0,this,e)}attachDevTools(){let{devTools:t}=this.options;t&&("function"==typeof t?t:t=>{if("undefined"==typeof window)return;let n=function(){let t="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:e.g;if(t.__xstate__)return t.__xstate__}();n&&n.register(t)})(this)}toJSON(){return{xstate$$type:1,id:this.id}}getPersistedSnapshot(e){return this.logic.getPersistedSnapshot(this._snapshot,e)}[Z](){return this}getSnapshot(){return this._snapshot}}function ea(e,...[t]){return new ei(e,t)}function es(e,t,n,r,{sendId:o}){return[t,{sendId:"function"==typeof o?o(n,r):o},void 0]}function el(e,t){e.defer(()=>{e.system.scheduler.cancel(e.self,t.sendId)})}function ed(e){function t(e,t){}return t.type="xstate.cancel",t.sendId=e,t.resolve=es,t.execute=el,t}function ec(e,t,n,r,{id:o,systemId:i,src:a,input:s,syncSnapshot:l}){let d,c,u="string"==typeof a?Q(t.machine,a):a,f="function"==typeof o?o(n):o;return u&&(c="function"==typeof s?s({context:t.context,event:n.event,self:e.self}
1):s,d=ea(u,{id:f,src:a,parent:e.self,syncSnapshot:l,systemId:i,input:c})),[eX(t,{children:{...t.children,[f]:d}}),{id:o,systemId:i,actorRef:d,src:a,input:c},void 0]}function eu(e,{actorRef:t}){t&&e.defer(()=>{t._processingStatus!==er.Stopped&&t.start()})}function ef(...[e,{id:t,systemId:n,input:r,syncSnapshot:o=!1}={}]){function i(e,t){}return i.type="xstate.spawnChild",i.id=t,i.systemId=n,i.src=e,i.input=r,i.syncSnapshot=o,i.resolve=ec,i.execute=eu,i}function eh(e,t,n,r,{actorRef:o}){let i="function"==typeof o?o(n,r):o,a="string"==typeof i?t.children[i]:i,s=t.children;return a&&(s={...s},delete s[a.id]),[eX(t,{children:s}),a,void 0]}function ep(e,t){if(t){if(e.system._unregister(t),t._processingStatus!==er.Running)return void e.stopChild(t);e.defer(()=>{e.stopChild(t)})}}function eg(e){function t(e,t){}return t.type="xstate.stopChild",t.actorRef=e,t.resolve=eh,t.execute=ep,t}function em(e,t,n,r){let{machine:o}=r,i="function"==typeof e,a=i?e:o.implementations.guards["string"==typeof e?e:e.type];if(!i&&!a)throw Error(`Guard '${"string"==typeof e?e:e.type}' is not implemented.'.`);if("function"!=typeof a)return em(a,t,n,r);let s={context:t,event:n},l=i||"string"==typeof e?void 0:"params"in e?"function"==typeof e.params?e.params({context:t,event:n}):e.params:void 0;return"check"in a?a.check(r,s,a):a(s,l)}let ev=e=>"atomic"===e.type||"final"===e.type;function ey(e){return Object.values(e.states).filter(e=>"history"!==e.type)}function ew(e,t){let n=[];if(t===e)return n;let r=e.parent;for(;r&&r!==t;)n.push(r),r=r.parent;return n}function eb(e){let t=new Set(e),n=ex(t);for(let e of t)if("compound"!==e.type||n.get(e)&&n.get(e).length){if("parallel"===e.type){for(let n of ey(e))if("history"!==n.type&&!t.has(n))for(let e of e_(n))t.add(e)}}else e_(e).forEach(e=>t.add(e));for(let e of t){let n=e.parent;for(;n;)t.add(n),n=n.parent}return t}function ex(e){let t=new Map;for(let n of e)t.has(n)||t.set(n,[]),n.parent&&(t.has(n.parent)||t.set(n.parent,[]),t.get(n.parent).push(n));return t}function eC(e,t){return function e(t,n){let r=n.get(t);if(!r)return{};if("compound"===t.type){let e=r[0];if(!e)return{};if(ev(e))return e.key}let o={};for(let t of r)o[t.key]=e(t,n);return o}(e,ex(eb(t)))}function ek(e,t){return"compound"===t.type?ey(t).some(t=>"final"===t.type&&e.has(t)):"parallel"===t.type?ey(t).every(t=>ek(e,t)):"final"===t.type}let ej=e=>"#"===e[0];function eM(e,t,n){let r=X(n.target),o=n.reenter??!1,i=function(e,t){if(void 0!==t)return t.map(t=>{if("string"!=typeof t)return t;if(ej(t))return e.machine.getStateNodeById(t);let n="."===t[0];if(n&&!e.parent)return e$(e,t.slice(1));let r=n?e.key+t:t;if(e.parent)try{return e$(e.parent,r)}catch(t){throw Error(`Invalid transition definition for state node '${e.id}': 2${t.message}`)}throw Error(`Invalid target: "${t}" is not a valid target from the root node. Did you mean ".${t}"?`)})}(e,r),a={...n,actions:U(n.actions),guard:n.guard,target:i,source:e,reenter
2:o,eventType:t,toJSON:()=>({...a,source:`#${e.id}`,target:i?i.map(e=>`#${e.id}`):void 0})};return a}function eL(e){let t=X(e.config.target);return t?{target:t.map(t=>"string"==typeof t?e$(e.parent,t):t)}:e.parent.initial}function eS(e){return"history"===e.type}function e_(e){let t=eR(e);for(let n of t)for(let r of ew(n,e))t.add(r);return t}function eR(e){let t=new Set;return!function e(n){if(!t.has(n)){if(t.add(n),"compound"===n.type)e(n.initial.target[0]);else if("parallel"===n.type)for(let t of ey(n))e(t)}}(e),t}function eE(e,t){if(ej(t))return e.machine.getStateNodeById(t);if(!e.states)throw Error(`Unable to retrieve child state '${t}' from '${e.id}'; no child states exist.`);let n=e.states[t];if(!n)throw Error(`Child state '${t}' does not exist on '${e.id}'`);return n}function e$(e,t){if("string"==typeof t&&ej(t))try{return e.machine.getStateNodeById(t)}catch{}let n=F(t).slice(),r=e;for(;n.length;){let e=n.shift();if(!e.length)break;r=eE(r,e)}return r}function eH(e,t){if("string"==typeof t){let n=e.states[t];if(!n)throw Error(`State '${t}' does not exist on '${e.id}'`);return[e,n]}let n=Object.keys(t),r=n.map(t=>eE(e,t)).filter(Boolean);return[e.machine.root,e].concat(r,n.reduce((n,r)=>{let o=eE(e,r);if(!o)return n;let i=eH(o,t[r]);return n.concat(i)},[]))}function eV(e,t){let n=e;for(;n.parent&&n.parent!==t;)n=n.parent;return n.parent===t}function eI(e,t,n){let r=new Set;for(let o of e){let e=!1,i=new Set;for(let a of r)if(function(e,t){let n=new Set(e),r=new Set(t);for(let e of n)if(r.has(e))return!0;for(let e of r)if(n.has(e))return!0;return!1}(eB([o],t,n),eB([a],t,n)))if(eV(o.source,a.source))i.add(a);else{e=!0;break}if(!e){for(let e of i)r.delete(e);r.add(o)}}return Array.from(r)}function eO(e,t){if(!e.target)return[];let n=new Set;for(let r of e.target)if(eS(r))if(t[r.id])for(let e of t[r.id])n.add(e);else for(let e of eO(eL(r),t))n.add(e);else n.add(r);return[...n]}function eA(e,t){let n=eO(e,t);if(!n)return;if(!e.reenter&&n.every(t=>t===e.source||eV(t,e.source)))return e.source;let r=function(e){let[t,...n]=e;for(let e of ew(t,void 0))if(n.every(t=>eV(t,e)))return e}(n.concat(e.source));return r||(e.reenter?void 0:e.source.machine.root)}function eB(e,t,n){let r=new Set;for(let o of e)if(o.target?.length){let e=eA(o,n);for(let n of(o.reenter&&o.source===e&&r.add(e),t))eV(n,e)&&r.add(n)}return[...r]}function ez(e,t,n,r,o,i){if(!e.length)return t;let a=new Set(t._nodes),s=t.historyValue,l=eI(e,a,s),d=t;o||([d,s]=function(e,t,n,r,o,i,a,s){let l,d=e,c=eB(r,o,i);for(let e of(c.sort((e,t)=>t.order-e.order),c))for(let t of function(e){return Object.keys(e.states).map(t=>e.states[t]).filter(e=>"history"===e.type)}(e)){let n;n="deep"===t.history?t=>ev(t)&&eV(t,e):t=>t.parent===e,(l??={...i})[t.id]=Array.from(o).filter(n)}for(let e of c)d=eN(d,t,n,[...e.exit,...e.invoke.map(e=>eg(e.id))],a,void 0),o.delete(e);return[d,l||i]}(d,r,n,l,a,s,i,n.actionExecutor)),d=function(e,t,n,r,o,i,a,s){let l=e,d=new Set,c=new Set;(function(e,t,n,r){for(let o of e){let e=eA(o,t);for(let i of o.target||[])!eS(i)&&(o.source!==i||o.source!==e||o.reenter)&&(r.add(i),n.add(i)),eT(i,t,n,r);for(let i of eO(o,t)){let a=ew(i,e);e?.type==="parallel"&&a.push(e),eW(r,t,n,a,!o.source.parent&&o.reenter?void 0:e)}}})(r,a,c,d),s&&c.add(e.machine.root);let u=new Set;for(let e of[...d].sort((e,t)=>e.order-t.order)){o.add(e);let r=[];for(let t of(r.push(...e.entry),e.invoke))r.push(ef(t.src,{...t,syncSnapshot:!!t.onSnapshot}));if(c.has(e)){let t=e.initial.actions;r.push(...t)}if(l=eN(l,t,n,r,i,e.invoke.map(e=>e.id)),"final"===e.type){let r=e.parent,a=r?.type==="parallel"?r:r?.parent,s=a||e;for(r?.type==="compound"&&i.push(T(r.id,void 0!==e.output?G(e.output,l.context,t,n.self):void 0));a?.type==="parallel"&&!u.has(a)&&ek(o,a);)u.add(a),i.push(T(a.id)),s=a,a=a.parent;if(a)continue;l=eX(l,{status:"done",output:function(e,t,n,r,o){if(void 0===r.output)return;let i=T(o.id,void 0!==o.output&&o.parent?G(o.output,e.context,t,n.self):void 0);return G(r.output,e.context,i,n.self)}(l,t,n,l.machine.root,s)})}}return l}(d=eN(d,r,n,l.flatMap(e=>e.actions),i,void 0),r,n,l,a,i,s,o);let c=[...a];"done"===d.status&&(d=eN(d,r,n,c.sort((e,t)=>
2t.order-e.order).flatMap(e=>e.exit),i,void 0));try{if(s===t.historyValue&&function(e,t){if(e.length!==t.size)return!1;for(let n of e)if(!t.has(n))return!1;return!0}(t._nodes,a))return d;return eX(d,{_nodes:c,historyValue:s})}catch(e){throw e}}function eT(e,t,n,r){var o,i,a,s;if(eS(e))if(t[e.id]){let a=t[e.id];for(let e of a)r.add(e),eT(e,t,n,r);for(let s of a){o=s,i=e.parent,eW(r,t,n,ew(o,i))}}else{let o=eL(e);for(let i of o.target)r.add(i),o===e.parent?.initial&&n.add(e.parent),eT(i,t,n,r);for(let i of o.target){a=i,s=e.parent,eW(r,t,n,ew(a,s))}}else if("compound"===e.type){let[o]=e.initial.target;eS(o)||(r.add(o),n.add(o)),eT(o,t,n,r),eW(r,t,n,ew(o,e))}else if("parallel"===e.type)for(let o of ey(e).filter(e=>!eS(e)))[...r].some(e=>eV(e,o))||(eS(o)||(r.add(o),n.add(o)),eT(o,t,n,r))}function eW(e,t,n,r,o){for(let i of r)if((!o||eV(i,o))&&e.add(i),"parallel"===i.type)for(let r of ey(i).filter(e=>!eS(e)))[...e].some(e=>eV(e,r))||(e.add(r),eT(r,t,n,e))}function eN(e,t,n,r,o,i){let a=i?[]:void 0,s=function e(t,n,r,o,i,a){let{machine:s}=t,l=t;for(let t of o){var d;let o="function"==typeof t,c=o?t:(d="string"==typeof t?t:t.type,s.implementations.actions[d]),u={context:l.context,event:n,self:r.self,system:r.system},f=o||"string"==typeof t?void 0:"params"in t?"function"==typeof t.params?t.params({context:l.context,event:n}):t.params:void 0;if(!c||!("resolve"in c)){r.actionExecutor({type:"string"==typeof t?t:"object"==typeof t?t.type:t.name||"(anonymous)",info:u,params:f,exec:c});continue}let[h,p,g]=c.resolve(r,l,u,f,c,i);l=h,"retryResolve"in c&&a?.push([c,p]),"execute"in c&&r.actionExecutor({type:c.type,info:u,params:p,exec:c.execute.bind(null,r,p)}),g&&(l=e(l,n,r,g,i,a))}return l}(e,t,n,r,{internalQueue:o,deferredActorIds:i},a);return a?.forEach(([e,t])=>{e.retryResolve(n,s,t)}),s}function eP(e,t,n,r){let o=e,i=[];function a(e,t,r){n.system._sendInspectionEvent({type:"@xstate.microstep",actorRef:n.self,event:t,snapshot:e,_transitions:r}),i.push(e)}if(t.type===z)return a(o=eX(eZ(o,t,n),{status:"stopped"}),t,[]),{snapshot:o,microstates:i};let s=t;if(s.type!==B){let t=s,l=t.type.startsWith("xstate.error.actor"),d=eF(t,o);if(l&&!d.length)return a(o=eX(e,{status:"error",error:t.error}),t,[]),{snapshot:o,microstates:i};a(o=ez(d,e,n,s,!1,r),t,d)}let l=!0;for(;"active"===o.status;){let e=l?function(e,t){let n=new Set;for(let r of e._nodes.filter(ev))e:for(let o of[r].concat(ew(r,void 0)))if(o.always){for(let r of o.always)if(void 0===r.guard||em(r.guard,e.context,t,e)){n.add(r);break e}}return eI(Array.from(n),new Set(e._nodes),e.historyValue)}(o,s):[],t=e.length?o:void 0;if(!e.length){if(!r.length)break;e=eF(s=r.shift(),o)}l=(o=ez(e,o,n,s,!1,r))!==t,a(o,s,e)}return"active"!==o.status&&eZ(o,s,n),{snapshot:o,microstates:i}}function eZ(e,t,n){return eN(e,t,n,Object.values(e.children).map(e=>eg(e)),[],void 0)}function eF(e,t){return t.machine.getTransitionData(t,e)}let eD=function(e){return function e(t,n){let r=D(t),o=D(n);return"string"==typeof o?"string"==typeof r&&o===r:"string"==typeof r?r in o:Object.keys(r).every(t=>t in o&&e(r[t],o[t]))}(e,this.value)},eq=function(e){return this.tags.has(e)},eU=function(e){let t=this.machine.getTransitionData(this,e);return!!t?.length&&t.some(e=>void 0!==e.target||e.actions.length)},eG=function(){let{_nodes:e,tags:t,machine:n,getMeta:r,toJSON:o,can:i,hasTag:a,matches:s,...l}=this;return{...l,tags:Array.from(t)}},eY=function(){return this._nodes.reduce((e,t)=>(void 0!==t.meta&&(e[t.id]=t.meta),e),{})};function eK(e,t){return{status:e.status,output:e.output,error:e.error,machine:t,context:e.context,_nodes:e._nodes,value:eC(t.root,e._nodes),tags:new Set(e._nodes.flatMap(e=>e.tags)),children:e.children,historyValue:e.historyValue||{},matches:eD,hasTag:eq,can:eU,getMeta:eY,toJSON:eG}}function eX(e,t={}){return eK({...e,...t},e.machine)}function eJ(e,t,n,r,{event:o,id:i,delay:a},{internalQueue:s}){let l,d=t.machine.implementations.delays;if("string"==typeof o)throw Error(`Only event objects may be used with raise; use raise({ type: "${o}" }) instead`);let c="function"==typeof o?o(n,r):o;if("string"==typeof a){let e=d&&d[a];l="function"==typeof e?e(n,r):e}else l="function"==typeof a?a(n,r):a;return"number"!=typeof l&&s.push(c),[t,{event:c,id:i,delay:l},void 0]}function eQ(e,t){let{event:n,delay:r,id:o}=t;if("number"==typeof r)return void e.defer(()=>{let t=e.self;e.system.scheduler.schedule(t,t,n,r,o)})}function e1(e,t){function n(e,t){}return n.type="xstate.raise",n.event=e,n.id=t?.id,n.delay=t?.delay,n.resolve=eJ,n.execute=eQ,n}let e0=new WeakMap,e5="xstate.observable.error",e2="xstate.observable.complete";function e3(e){return{config:e,transition:(e,t)=>{if("active"!==e.status)return e;switch(t.type){case e5:return{...e,status:"error",error:t.data,input:void 0,_subscription:void 0};case e2:return{...e,status:"done",input:void 0,_subscription:void 0};case z:return e._subscription.unsubscribe(),{...e,status:"stopped",input:void 0,_subscription:void 0};default:return e}},getInitialSnapshot:(e,t)=>
2({status:"active",output:void 0,error:void 0,context:void 0,input:t,_subscription:void 0}),start:(t,{self:n,system:r,emit:o})=>{"done"!==t.status&&(t._subscription=e({input:t.input,system:r,self:n,emit:o}).subscribe({next:e=>{n._parent&&r._relay(n,n._parent,e)},error:e=>{r._relay(n,n,{type:e5,data:e})},complete:()=>{r._relay(n,n,{type:e2})}}))},getPersistedSnapshot:({_subscription:e,...t})=>t,restoreSnapshot:e=>({...e,_subscription:void 0})}}let e4="xstate.promise.resolve",e6="xstate.promise.reject",e8=new WeakMap;function e9(e){return{config:e,transition:(e,t,n)=>{if("active"!==e.status)return e;switch(t.type){case e4:{let n=t.data;return{...e,status:"done",output:n,input:void 0}}case e6:return{...e,status:"error",error:t.data,input:void 0};case z:return e8.get(n.self)?.abort(),{...e,status:"stopped",input:void 0};default:return e}},start:(t,{self:n,system:r,emit:o})=>{if("active"!==t.status)return;let i=new AbortController;e8.set(n,i),Promise.resolve(e({input:t.input,system:r,self:n,signal:i.signal,emit:o})).then(e=>{"active"===n.getSnapshot().status&&(e8.delete(n),r._relay(n,n,{type:e4,data:e}))},e=>{"active"===n.getSnapshot().status&&(e8.delete(n),r._relay(n,n,{type:e6,data:e}))})},getInitialSnapshot:(e,t)=>({status:"active",output:void 0,error:void 0,input:t}),getPersistedSnapshot:e=>e,restoreSnapshot:e=>e}}let e7=(r9=void 0,{config:r8=e=>void 0,transition:(e,t,n)=>({...e,context:r8(e.context,t,n)}),getInitialSnapshot:(e,t)=>({status:"active",output:void 0,error:void 0,context:"function"==typeof r9?r9({input:t}):r9}),getPersistedSnapshot:e=>e,restoreSnapshot:e=>e});function te(e,t,n,r,{assignment:o}){if(!t.context)throw Error("Cannot assign to undefined `context`. Ensure that `context` is defined in the machine config.");let i={},a={context:t.context,event:n.event,spawn:function(e,{machine:t,context:n},r,o){return(i,a)=>{let s=((i,a)=>
2{if("string"!=typeof i)return ea(i,{id:a?.id,parent:e.self,syncSnapshot:a?.syncSnapshot,input:a?.input,src:i,systemId:a?.systemId});{let s=Q(t,i);if(!s)throw Error(`Actor logic '${i}' not implemented in machine '${t.id}'`);let l=ea(s,{id:a?.id,parent:e.self,syncSnapshot:a?.syncSnapshot,input:"function"==typeof a?.input?a.input({context:n,event:r,self:e.self}):a?.input,src:i,systemId:a?.systemId});return o[l.id]=l,l}})(i,a);return o[s.id]=s,e.defer(()=>{s._processingStatus!==er.Stopped&&s.start()}),s}}(e,t,n.event,i),self:e.self,system:e.system},s={};if("function"==typeof o)s=o(a,r);else for(let e of Object.keys(o)){let t=o[e];s[e]="function"==typeof t?t(a,r):t}let l=Object.assign({},t.context,s);return[eX(t,{context:l,children:Object.keys(i).length?{...t.children,...i}:t.children}),void 0,void 0]}function tt(e){function t(e,t){}return t.type="xstate.assign",t.assignment=e,t.resolve=te,t}let tn=new WeakMap;function tr(e,t,n){let r=tn.get(e);return r?t in r||(r[t]=n()):(r={[t]:n()},tn.set(e,r)),r[t]}let to={},ti=e=>"string"==typeof e?{type:e}:"function"==typeof e?"resolve"in e?{type:e.type}:{type:e.name}:e;class ta{constructor(e,t){if(this.config=e,this.key=void 0,this.id=void 0,this.type=void 0,this.path=void 0,this.states=void 0,this.history=void 0,this.entry=void 0,this.exit=void 0,this.parent=void 0,this.machine=void 0,this.meta=void 0,this.output=void 0,this.order=-1,this.description=void 0,this.tags=[],this.transitions=void 0,this.always=void 0,this.parent=t._parent,this.key=t._key,this.machine=t._machine,this.path=this.parent?this.parent.path.concat(this.key):[],this.id=this.config.id||[this.machine.id,...this.path].join("."),this.type=this.config.type||(this.config.states&&Object.keys(this.config.states).length?"compound":this.config.history?"history":"atomic"),this.description=this.config.description,this.order=this.machine.idMap.size,this.machine.idMap.set(this.id,this),this.states=this.config.states?q(this.config.states,(e,t)=>new ta(e,{_parent:this,_key:t,_machine:this.machine})):to,"compound"===this.type&&!this.config.initial)throw Error(`No initial state specified for compound state node "#${this.id}". Try adding { initial: "${Object.keys(this.states)[0]}" } to the state config.`);this.history=!0===this.config.history?"shallow":this.config.history||!1,this.entry=U(this.config.entry).slice(),this.exit=U(this.config.exit).slice(),this.meta=this.config.meta,this.output="final"!==this.type&&this.parent?void 0:this.config.output,this.tags=U(e.tags).slice()}_initialize(){this.transitions=function(e){let t=new Map;if(e.config.on)for(let n of Object.keys(e.config.on)){if(""===n)throw Error('Null events ("") cannot be specified as a transition key. Use `always: { ... }` instead.');let r=e.config.on[n];t.set(n,K(r).map(t=>eM(e,n,t)))}if(e.config.onDone){let n=`xstate.done.state.${e.id}`;t.set(n,K(e.config.onDone).map(t=>eM(e,n,t)))}for(let n of e.invoke){if(n.onDone){let r=`xstate.done.actor.${n.id}`;t.set(r,K(n.onDone).map(t=>eM(e,r,t)))}if(n.onError){let r=`xstate.error.actor.${n.id}`;t.set(r,K(n.onError).map(t=>eM(e,r,t)))}if(n.onSnapshot){let r=`xstate.snapshot.${n.id}`;t.set(r,K(n.onSnapshot).map(t=>eM(e,r,t)))}}for(let n of e.after){let e=t.get(n.eventType);e||(e=[],t.set(n.eventType,e)),e.push(n)}return t}(this),this.config.always&&(this.always=K(this.config.always).map(e=>eM(this,"",e))),Object.keys(this.states).forEach(e=>{this.states[e]._initialize()})}get definition(){return{id:this.id,key:this.key,version:this.machine.version,type:this.t
2ype,initial:this.initial?{target:this.initial.target,source:this,actions:this.initial.actions.map(ti),eventType:null,reenter:!1,toJSON:()=>({target:this.initial.target.map(e=>`#${e.id}`),source:`#${this.id}`,actions:this.initial.actions.map(ti),eventType:null})}:void 0,history:this.history,states:q(this.states,e=>e.definition),on:this.on,transitions:[...this.transitions.values()].flat().map(e=>({...e,actions:e.actions.map(ti)})),entry:this.entry.map(ti),exit:this.exit.map(ti),meta:this.meta,order:this.order||-1,output:this.output,invoke:this.invoke,description:this.description,tags:this.tags}}toJSON(){return this.definition}get invoke(){return tr(this,"invoke",()=>U(this.config.invoke).map((e,t)=>{var n,r;let{src:o,systemId:i}=e,a=e.id??(n=this.id,`${t}.${n}`),s="string"==typeof o?o:`xstate.invoke.${r=this.id,`${t}.${r}`}`;return{...e,src:s,id:a,systemId:i,toJSON(){let{onDone:t,onError:n,...r}=e;return{...r,type:"xstate.invoke",src:s,id:a}}}}))}get on(){return tr(this,"on",()=>[...this.transitions].flatMap(([e,t])=>t.map(t=>[e,t])).reduce((e,[t,n])=>(e[t]=e[t]||[],e[t].push(n),e),{}))}get after(){return tr(this,"delayedTransitions",()=>{var e;let t;return e=this,(t=e.config.after)?Object.keys(t).flatMap(n=>{var r;let o,i,a=t[n],s=Number.isNaN(+n)?n:+n,l=(r=e.id,i=(o={type:`xstate.after.${s}.${r}`}).type,e.entry.push(e1(o,{id:i,delay:s})),e.exit.push(ed(i)),i);return U("string"==typeof a?{target:a}:a).map(e=>({...e,event:l,delay:s}))}).map(t=>{let{delay:n}=t;return{...eM(e,t.event,t),delay:n}}):[]})}get initial(){return tr(this,"initial",()=>(function(e,t){let n="string"==typeof t?e.states[t]:t?e.states[t.target]:void 0;if(!n&&t)throw Error(`Initial state node "${t}" not found on parent state node #${e.id}`);let r={source:e,actions:t&&"string"!=typeof t?U(t.actions):[],eventType:null,reenter:!1,target:n?[n]:[],toJSON:()=>({...r,source:`#${e.id}`,target:n?[`#${n.id}`]:[]})};return r})(this,this.config.initial))}next(e,t){let n,r=t.type,o=[];for(let i of tr(this,`candidates-${r}`,()=>{var e;return e=this,e.transitions.get(r)||[...e.transitions.keys()].filter(e=>{if("*"===e)return!0;if(!e.endsWith(".*"))return!1;let t=e.split("."),n=r.split(".");for(let e=0;e<t.length;e++){let r=t[e],o=n[e];if("*"===r)return e===t.length-1;if(r!==o)return!1}return!0}).sort((e,t)=>t.length-e.length).flatMap(t=>e.transitions.get(t))})){let{guard:a}=i,s=e.context,l=!1;try{l=!a||em(a,s,t,e)}catch(t){let e="string"==typeof a?a:"object"==typeof a?a.type:void 0;throw Error(`Unable to evaluate guard ${e?`'${e}' `:""}in transition for event '${r}' in state node '${this.id}': 3${t.message}`)}if(l){o.push(...i.actions),n=i;break}}return n?[n]:void 0}get events(){return tr(this,"events",()=>{let{states:e}=this,t=new Set(this.ownEvents);if(e)for(let n of Object.keys(e)){let r=e[n];if(r.states)for(let e of r.events)t.add(`${e}`)}return Array.from(t)})}get ownEvents(){return Array.from(new Set([...this.transitions.keys()].filter(e=>this.transitions.get(e).some(e=>!(!e.target&&!e.actions.length&&!e.reenter)))))}}class ts{constructor(e,t){this.config=e,this.version=void 0,this.schemas=void 0,this.implementations=void 0,this.__xstatenode=!0,this.idMap=new Map,this.root=void 0,this.id=void 0,this.states=void 0,this.events=void 0,this.id=e.id||"(machine)",this.implementations={actors:t?.actors??{},actions:t?.actions??{},delays:t?.delays??{},guards:t?.guards??{}},this.version=this.config.version,this.schemas=this.config.schemas,this.transition=this.transition.bind(this),this.getInitialSnapshot=this.getInitialSnapshot.bind(this),this.getPersistedSnapshot=this.getPersistedSnapshot.bind(this),this.restoreSnapshot=this.restoreSnapshot.bind(this),this.start=this.start.bind(this),this.root=new ta(e,{_key:this.id,_machine:this}),this.root._initialize(),this.states=this.root.states,this.events=this.root.events}provide(e){let{actions:t,guards:n,actors:r,delays:o}=this.implementations;return new ts(this.config,{actions:{...t,...e.actions},guards:{...n,...e.guards},actors:{...r,...e.actors},delays:{...o,...e.delays}})}resolveState(e){var t;let n,r=(n=eb(eH(t=this.root,e.value)),eC(t,[...n])),o=eb(eH(this.root,r));return eK({_nodes:[...o],context:e.context||{},children:{},status:ek(o,this.root)?"done":e.status||"active",output:e.output,error:e.error,historyValue:e.historyValue},this)}transition(e,t,n){return eP(e,t,n,[]).snapshot}microstep(e,t,n){return eP(e,t,n,[]).microstates}getTransitionData(e,t){return function e(t,n,r,o){if("string"==typeof n){let e;return(e=eE(t,n).next(r,o))&&e.length?e:t.next(r,o)}if(1===Object.keys(n).length){let i,a;return(a=e(eE(t,(i=Object.keys(n))[0]),n[i[0]],r,o))&&a.length?a:t.next(r,o)}let i=[];for(let a of Object.keys(n)){let s=n[a];if(!s)continue;let l=e(eE(t,a),s,r,o);l&&i.push(...l)}return i.length?i:t.next(r,o)}(this.root,e.value,e,t)||[]}getPreInitialState(e,t,n){let{context:r}=this.config,o=eK({context:"function"!=typeof r&&r?r:{},_nodes:[this.root],children:{},status:"active"},this);return"function"==typeof r?eN(o,t,e,[tt(({spawn:e,event:t,self:n})=>r({spawn:e,input:t.input,self:n}))],n,void 0):o}getInitialSnapshot(e,t){let n=N(t),r=[],o=this.getPreInitialState(e,n,r),{snapshot:i}
3=eP(ez([{target:[...eR(this.root)],source:this.root,reenter:!0,actions:[],eventType:null,toJSON:null}],o,e,n,!0,r),n,e,r);return i}start(e){Object.values(e.children).forEach(e=>{"active"===e.getSnapshot().status&&e.start()})}getStateNodeById(e){let t=F(e),n=t.slice(1),r=ej(t[0])?t[0].slice(1):t[0],o=this.idMap.get(r);if(!o)throw Error(`Child state node '#${r}' does not exist on machine '${this.id}'`);return e$(o,n)}get definition(){return this.root.definition}toJSON(){return this.definition}getPersistedSnapshot(e,t){return function(e,t){let{_nodes:n,tags:r,machine:o,children:i,context:a,can:s,hasTag:l,matches:d,getMeta:c,toJSON:u,...f}=e,h={};for(let e in i){let n=i[e];h[e]={snapshot:n.getPersistedSnapshot(t),src:n.src,systemId:n.systemId,syncSnapshot:n._syncSnapshot}}return{...f,context:function e(t){let n;for(let r in t){let o=t[r];if(o&&"object"==typeof o)if("sessionId"in o&&"send"in o&&"ref"in o)(n??=Array.isArray(t)?t.slice():{...t})[r]={xstate$$type:1,id:o.id};else{let i=e(o);i!==o&&((n??=Array.isArray(t)?t.slice():{...t})[r]=i)}}return n??t}(a),children:h,historyValue:function(e){if("object"!=typeof e||null===e)return{};let t={};for(let n in e){let r=e[n];Array.isArray(r)&&(t[n]=r.map(e=>({id:e.id})))}return t}(f.historyValue)}}(e,t)}restoreSnapshot(e,t){let n={},r=e.children;Object.keys(r).forEach(e=>{let o=r[e],i=o.snapshot,a=o.src,s="string"==typeof a?Q(this,a):a;if(!s)return;let l=ea(s,{id:e,parent:t.self,syncSnapshot:o.syncSnapshot,snapshot:i,src:a,systemId:o.systemId});n[e]=l});let o=function(e,t){if(!t||"object"!=typeof t)return{};let n={};for(let r in t)for(let o of t[r]){let t=function(e,t){if(t instanceof ta)return t;try{return e.machine.getStateNodeById(t.id)}catch{}}(e,o);t&&(n[r]??=[],n[r].push(t))}return n}(this.root,e.historyValue),i=eK({...e,children:n,_nodes:Array.from(eb(eH(this.root,e.value))),historyValue:o},this),a=new Set;return!function e(t,n){if(!a.has(t))for(let r in a.add(t),t){let o=t[r];if(o&&"object"==typeof o){if("xstate$$type"in o&&1===o.xstate$$type){t[r]=n[o.id];continue}e(o,n)}}}(i.context,n),i}}function tl(e,t,n,r,{event:o}){return[t,{event:"function"==typeof o?o(n,r):o},void 0]}function td(e,{event:t}){e.defer(()=>e.emit(t))}function tc(e){function t(e,t){}return t.type="xstate.emit",t.event=e,t.resolve=tl,t.execute=td,t}let tu=((r7={}).Parent="#_parent",r7.Internal="#_internal",r7);function tf(e,t,n,r,{to:o,event:i,id:a,delay:s},l){let d,c,u=t.machine.implementations.delays;if("string"==typeof i)throw Error(`Only event objects may be used with sendTo; use sendTo({ type: "${i}" }) instead`);let f="function"==typeof i?i(n,r):i;if("string"==typeof s){let e=u&&u[s];d="function"==typeof e?e(n,r):e}else d="function"==typeof s?s(n,r):s;let h="function"==typeof o?o(n,r):o;if("string"==typeof h){if(!(c=h===tu.Parent?e.self._parent:h===tu.Internal?e.self:h.startsWith("#_")?t.children[h.slice(2)]:l.deferredActorIds?.includes(h)?h:t.children[h]))throw Error(`Unable to send event to actor '${h}' from machine '${t.machine.id}'.`)}else c=h||e.self;return[t,{to:c,targetId:"string"==typeof h?h:void 0,event:f,id:a,delay:d},void 0]}function th(e,t,n){"string"==typeof n.to&&(n.to=t.children[n.to])}function tp(e,t){e.defer(()=>{let{to:n,event:r,delay:o,id:i}=t;"number"==typeof o?e.system.scheduler.schedule(e.self,n,r,o,i):e.system._relay(e.self,n,"xstate.error"===r.type?W(e.self.id,r.data):r)})}function tg(e,t,n){function r(e,t){}return r.type="xstate.sendTo",r.to=e,r.event=t,r.id=n?.id,r.delay=n?.delay,r.resolve=tf,r.retryResolve=th,r.execute=tp,r}function tm(e,t){return tg(tu.Parent,e,t)}function tv(e,t,n,r,{collect:o}){let i=[],a=function(e){i.push(e)};return a.assign=(...e)=>{i.push(tt(...e))},a.cancel=(...e)=>{i.push(ed(...e))},a.raise=(...e)=>{i.push(e1(...e))},a.sendTo=(...e)=>{i.push(tg(...e))},a.sendParent=(...e)=>{i.push(tm(...e))},a.spawnChild=(...e)=>{i.push(ef(...e))},a.stopChild=(...e)=>{i.push(eg(...e))},a.emit=(...e)=>{i.push(tc(...e))},o({context:n.context,event:n.event,enqueue:a,check:e=>em(e,t.context,n.event,t),self:e.self,system:e.system},r),[t,void 0,i]}function ty(e){function t(e,t){}return t.type="xstate.enqueueActions",t.collect=e,t.resolve=tv,t}function tw(e,t,n,r,{value:o,label:i}){return[t,{value:"function"==typeof o?o(n,r):o,label:i},void 0]}function tb({logger:e},{value:t,label:n}){n?e(n,t):e(t)}function tx(e=({context:e,event:t})=>({context:e,event:t}),t){function n(e,t){}return n.type="xstate.log",n.value=e,n.label=t,n.resolve=tw,n.execute=tb,n}function tC(e,t){let n=U(t);if(!n.includes(e.type)){let t=1===n.length?`type "${n[0]}"`:`one of types "${n.join('", "')}"`;throw Error(`Expected event ${JSON.stringify(e)} to have ${t}`)}}function tk({schemas:e,actors:t,actions:n,guards:r,delays:o}){return{assign:tt,sendTo:tg,raise:e1,log:tx,cancel:ed,stopChild:eg,enqueueActions:ty,emit:tc,spawnChild:ef,createStateConfig:e=>e,createAction:e=>e,createMachine:i=>new ts({...i,schemas:e},{actors:t,actions:n,guards:r,delays:o})}}var tj=e.i(134549),tM=e.i(72518),tL=e.i(675814),tS=e.i(325416),t_=e.i(247435),tR=e.i(268999),tE=e.i(68190),t$=e.i(84974),tH=["addListener","removeListener"],tV=["addEventListener","removeEventListener"],tI=["on","off"];function tO(e,t,n,r){if((0,tE.isFunction)(n)&&(r=n,n=void 0),r)return tO(e,t,n).pipe((0,t$.mapOneOrManyArgs)(r));var o,i,a,s=(0,tM.__read)((o=e,(0,tE.isFunction)(o.addEventListener)&&(0,tE.isFunction)(o.removeEventListener))?tV.map(function(r){return function(o){return e[r](t,o,n)}}):(i=e,(0,tE.isFunction)(i.addListener)&&(0,tE.isFunction)(i.removeListener))?tH.map(tA(e,t)):(a=e,(0,tE.isFunction)(a.on)&&(0,tE.isFunction)(a.off))?tI.map(tA(e,t)):[],2),l=s[0],d=s[1];if(!l&&(0,tR.isArrayLike)(e))return(0,t_.mergeMap)(function(e){return tO(e,t,n)})((0,tL.innerFrom)(e));if(!l)throw TypeError("Invalid event target");return new tS.Observable(function(e){var t=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return e.next(1<t.length?t:t[0])};return l(t),function(){return d(t)}})}function tA(e,t){return function(n){return function(r){return e[n](t,r)}}}var tB=e.i(699579),tz=e.i(629513),tT=e.i(783587),tW=e.i(120315),tN=e.i(470787),tP=e.i(757982),tZ=e.i(1950);function tF(e){return e<=0?function(){return tZ.EMPTY}:(0,tW.operate)(function(t,n){var r=0;t.subscribe((0,tN.createOperatorSubscriber)(n,function(t){++r<=e&&(n.next(t),e<=r&&n.complete())}))})}var tD=e.i(441778);let tq=e=>({context:t})=>{let{count:n,include:r,exclude:o,responseType:i="message.received"}=e;return{count:n,domain:t.domain,from:t.connectTo,include:r?Array.isArray(r)?r:[r]:[],exclude:o?Array.isArray(o)?o:[o]:[],responseType:i,target:t.target,to:t.name}},tU=(0,tj.defer)(()=>tO(window,"message")),tG=e=>e3(({input:t})=>{var n,r,o;let i;return tU.pipe(e?(0,tB.map)(e):(0,tz.pipe)(),(0,tT.filter)(e=>{let{data:n}=e;
3return(!t.include.length||t.include.includes(n.type))&&(!t.exclude.length||!t.exclude.includes(n.type))&&n.domain===t.domain&&n.from===t.from&&n.to===t.to&&(!t.target||e.source===t.target)}),(0,tB.map)((i=t.responseType,e=>({type:i,message:e}))),t.count?(0,tz.pipe)((n=t.count,void 0===r&&(r=null),r=null!=r?r:n,(0,tW.operate)(function(e,t){var o=[],i=0;e.subscribe((0,tN.createOperatorSubscriber)(t,function(e){var a,s,l,d,c=null;i++%r==0&&o.push([]);try{for(var u=(0,tM.__values)(o),f=u.next();!f.done;f=u.next()){var h=f.value;h.push(e),n<=h.length&&(c=null!=c?c:[]).push(h)}}catch(e){a={error:e}}finally{try{f&&!f.done&&(s=u.return)&&s.call(u)}finally{if(a)throw a.error}}if(c)try{for(var p=(0,tM.__values)(c),g=p.next();!g.done;g=p.next()){var h=g.value;(0,tP.arrRemove)(o,h),t.next(h)}}catch(e){l={error:e}}finally{try{g&&!g.done&&(d=p.return)&&d.call(p)}finally{if(l)throw l.error}}},function(){var e,n;try{for(var r=(0,tM.__values)(o),i=r.next();!i.done;i=r.next()){var a=i.value;t.next(a)}}catch(t){e={error:t}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(e)throw e.error}}t.complete()},void 0,function(){o=null}))})),(o=e=>e,(0,tE.isFunction)(void 0)?(0,t_.mergeMap)(o,void 0,1):(0,t_.mergeMap)(o,1)),tF(t.count)):(0,tz.pipe)())}),tY="sanity/comlink",tK="comlink/response",tX="comlink/heartbeat",tJ="comlink/disconnect",tQ="comlink/handshake/syn",t1="comlink/handshake/syn-ack",t0="comlink/handshake/ack",t5=()=>tk({types:{},actors:{listen:e3(({input:e})=>{let t,n=e.signal?tO(e.signal,"abort").pipe((t=`Request ${e.requestId} aborted`,e=>e.pipe(tF(1),(0,tB.map)(()=>{throw Error(t)})))):tZ.EMPTY;return tO(window,"message").pipe((0,tT.filter)(t=>t.data?.type===tK&&t.data?.responseTo===e.requestId&&!!t.source&&e.sources.has(t.source)),tF(e.sources.size),(0,tW.operate)(function(e,t){(0,tL.innerFrom)(n).subscribe((0,tN.createOperatorSubscriber)(t,function(){return t.complete()},tD.noop)),t.closed||e.subscribe(t)}))})},actions:{"send message":({context:e},t)=>{let{sources:n,targetOrigin:r}=e,{message:o}=t;n.forEach(e=>{e.postMessage(o,{targetOrigin:r})})},"on success":tg(({context:e})=>e.parentRef,({context:e,self:t})=>(e.response&&e.resolvable?.resolve(e.response),{type:"request.success",requestId:t.id,response:e.response,responseTo:e.responseTo})),"on fail":tg(({context:e})=>e.parentRef,({context:e,self:t})=>(e.suppressWarnings||console.warn(`[@sanity/comlink] Received no response to message '${e.type}' on client '${e.from}' (ID: '${e.id}').`),e.resolvable?.reject(Error("No response received")),{type:"request.failed",requestId:t.id})),"on abort":tg(({context:e})=>e.parentRef,({context:e,self:t})=>(e.resolvable?.reject(Error("Request aborted")),{type:"request.aborted",requestId:t.id}))},guards:{expectsResponse:({context:e})=>e.expectResponse},delays:{initialTimeout:0,responseTimeout:({context:e})=>e.responseTimeout??3e3}}).createMachine({context:({input:e})=>({channelId:e.channelId,data:e.data,domain:e.domain,expectResponse:e.expectResponse??!1,from:e.from,id:`msg-${O()}`,parentRef:e.parentRef,resolvable:e.resolvable,response:null,responseTimeout:e.responseTimeout,responseTo:e.responseTo,signal:e.signal,sources:e.sources instanceof Set?e.sources:new Set([e.sources]),suppressWarnings:e.suppressWarnings,targetOrigin:e.targetOrigin,to:e.to,type:e.type}),initial:"idle",on:{abort:".aborted"},states:{idle:{after:{initialTimeout:[{target:"sending"}]}},sending:{entry:{type:"send message",params:({context:e})=>{let{channelId:t,data:n,domain:r,from:o,id:i,responseTo:a,to:s,type:l}=e;return{message:{channelId:t,data:n,domain:r,from:o,id:i,to:s,type:l,responseTo:a}}}},always:[{guard:"expectsResponse",target:"awaiting"},"success"]},awaiting:{invoke:{id:"listen for response",src:"listen",input:({context:e})=>({requestId:e.id,sources:e.sources,signal:e.signal}),onError:"aborted"},after:{responseTimeout:"failed"},on:{message:{actions:tt({response:({event:e})=>e.data.data,responseTo:({event:e})=>e.data.responseTo}),target:"success"}}},failed:{type:"final",entry:"on fail"},success:{type:"final",entry:"on success"},aborted:{type:"final",entry:"on abort"}},output:({context:e,self:t})=>({requestId:t.id,response:e.response,responseTo:e.responseTo})}),t2=()=>tk({types:{},actors:{requestMachine:t5(),listen:tG()},actions:{"buffer handshake":tt({handshakeBuffer:({event:e,context:t})=>(tC(e,"message.received"),[...t.handshakeBuffer,e])}),"buffer message":ty(({enqueue:e})=>{e.assign({buffer:({event:e,context:t})=>(tC(e,"post"),[...t.buffer,{data:e.data,resolvable:e.resolvable,options:e.options}])}),e.emit(({event:e})=>(tC(e,"post"),{type:"buffer.added",message:e.data}))}),"create request":tt({requests:({context:e,event:t,self:n,spawn:r})=>{tC(t,"request");let o=(Array.isArray(t.data)?t.data:[t.data]).map(t=>r("requestMachine",{id:`req-${O()}`,input:{channelId:e.channelId,data:t.data,domain:e.domain,expectResponse:t.expectResponse,from:e.name,parentRef:n,resolvable:t.resolvable,responseTimeout:t.options?.responseTimeout,responseTo:t.responseTo,signal:t.options?.signal,sources:e.target,suppressWarnings:t.o
3ptions?.suppressWarnings,targetOrigin:e.targetOrigin,to:e.connectTo,type:t.type}}));return[...e.requests,...o]}}),"emit heartbeat":tc(()=>({type:"heartbeat"})),"emit received message":ty(({enqueue:e})=>{e.emit(({event:e})=>(tC(e,"message.received"),{type:"message",message:e.message.data}))}),"emit status":tc((e,t)=>({type:"status",status:t.status})),"post message":e1(({event:e})=>(tC(e,"post"),{type:"request",data:{data:e.data.data,expectResponse:!!e.resolvable,type:e.data.type,resolvable:e.resolvable,options:e.options}})),"process pending handshakes":ty(({context:e,enqueue:t})=>{e.handshakeBuffer.forEach(e=>t.raise(e)),t.assign({handshakeBuffer:[]})}),"remove request":ty(({context:e,enqueue:t,event:n})=>{tC(n,["request.success","request.failed","request.aborted"]),eg(n.requestId),t.assign({requests:e.requests.filter(({id:e})=>e!==n.requestId)})}),"send response":e1(({event:e})=>(tC(e,["message.received","heartbeat.received"]),{type:"request",data:{type:tK,responseTo:e.message.data.id,data:void 0}})),"send handshake syn ack":e1({type:"request",data:{type:t1}}),"send pending messages":ty(({enqueue:e})=>{e.raise(({context:e})=>({type:"request",data:e.buffer.map(({data:e,resolvable:t,options:n})=>({data:e.data,type:e.type,expectResponse:!!t,resolvable:t,options:n}))})),e.emit(({context:e})=>({type:"buffer.flushed",messages:e.buffer.map(({data:e})=>e)})),e.assign({buffer:[]})}),"set connection config":tt({channelId:({event:e})=>(tC(e,"handshake.syn"),e.message.data.channelId),target:({event:e})=>(tC(e,"handshake.syn"),e.message.source||void 0),targetOrigin:({event:e})=>(tC(e,"handshake.syn"),e.message.origin)})},guards:{hasSource:({context:e})=>null!==e.target}}).createMachine({id:"node",context:({input:e})=>({buffer:[],channelId:null,connectTo:e.connectTo,domain:e.domain??tY,handshakeBuffer:[],name:e.name,requests:[],target:void 0,targetOrigin:null}),invoke:{id:"listen for handshake syn",src:"listen",input:tq({include:tQ,responseType:"handshake.syn"})},on:{"request.success":{actions:"remove request"},"request.failed":{actions:"remove request"},"request.aborted":{actions:"remove request"},"handshake.syn":{actions:"set connection config",target:".handshaking"}},initial:"idle",states:{idle:{entry:[{type:"emit status",params:{status:"idle"}}],on:{post:{actions:"buffer message"}}},handshaking:{guard:"hasSource",entry:["send handshake syn ack",{type:"emit status",params:{status:"handshaking"}}],invoke:[{id:"listen for handshake ack",src:"listen",input:tq({include:t0,count:1,responseType:"handshake.complete"}),onDone:"connected"},{id:"listen for disconnect",src:"listen",input:tq({include:tJ,count:1,responseType:"disconnect"})},{id:"listen for messages",src:"listen",input:tq({exclude:[tJ,tQ,t0,tX,tK]})}],on:{request:{actions:"create request"},post:{actions:"buffer message"},"message.received":{actions:"buffer handshake"},disconnect:{target:"idle"}}},connected:{entry:["process pending handshakes","send pending messages",{type:"emit status",params:{status:"connected"}}],invoke:[{id:"listen for messages",src:"listen",input:tq({exclude:[tJ,tQ,t0,tX,tK]})},{id:"listen for heartbeat",src:"listen",input:tq({include:tX,responseType:"heartbeat.received"})},{id:"listen for disconnect",src:"listen",input:tq({include:tJ,count:1,responseType:"disconnect"})}],on:{request:{actions:"create request"},post:{actions:"post message"},disconnect:{target:"idle"},"message.received":{actions:["send response","emit received message"]},"heartbeat.received":{actions:["send response","emit heartbeat"]}}}}}),t3={"handshake/syn":tQ,"handshake/syn-ack":t1,"handshake/ack":t0,"channel/response":tK,"channel/heartbeat":tX,"channel/disconnect":tJ,"overlay/focus":"visual-editing/focus","overlay/navigate":"visual-editing/navigate","overlay/toggle":"visual-editing/toggle","presentation/toggleOverlay":"presentation/toggle-overlay"},t4={[tQ]:"handshake/syn",[t1]:"handshake/syn-ack",[t0]:"handshake/ack",[tK]:"channel/response",[tX]:"channel/heartbeat",[tJ]:"channel/disconnect","visual-editing/focus":"overlay/focus","visual-editing/navigate":"overlay/navigate","visual-editing/toggle":"overlay/toggle","presentation/toggle-overlay":"presentation/toggleOverlay"},t6=e=>{let{data:t}=e;return t&&"object"==typeof t&&"domain"in t&&"type"in t&&"from"in t&&"to"in t&&("sanity/channels"===t.domain&&(t.domain=tY),"overlays"===t.to&&(t.to="visual-editing"),"overlays"===t.from&&(t.from="visual-editing"),t.channelId=t.connectionId,delete t.connectionId,t.type=t3[t.type]??t.type),e},t8=({context:e},t)=>{let{sources:n,targetOrigin:r}=e,o=(e=>{let{channelId:t,...n}=e,r={...n,connectionId:t};return r.domain===tY&&(r.domain="sanity/channels"),"visual-editing"===r.to&&(r.to="overlays"),"visual-editing"===r.from&&(r.from="overlays"),r.type=t4[r.type]??r.type,"channel/response"===r.type&&r.responseTo&&!r.data&&(r.data={responseTo:r.responseTo}),("handshake/syn"===r.type||"handshake/syn-ack"===r.type||"handshake/ack"===r.type)&&(r.data={id:r.connectionId}),r})(t.message);
3n.forEach(e=>{e.postMessage(o,{targetOrigin:r})})};function t9(){return window.self!==window.top}function t7(){return!!window.opener}var ne=e.i(372421),nt=e.i(399396),nn=e.i(376340);let nr=["gray","blue","purple","magenta","red","orange","yellow","green","cyan"],no=["50","100","200","300","400","500","600","700","800","900","950"],ni={sizes:[{distance:-4,size:19},{distance:-4,size:25},{distance:-8,size:33},{distance:-12,size:49}],focusRing:{offset:1,width:1}},na={textWeight:"medium",border:{width:1},focusRing:{offset:-1,width:1}},ns={border:{width:1},focusRing:{offset:-1,width:1},shadow:{outline:.5}},nl={dialog:{zOffset:600},popover:{zOffset:400},tooltip:{zOffset:200}},nd={border:{width:1},checkbox:{size:17,focusRing:{offset:-1,width:1}},radio:{size:17,markSize:9,focusRing:{offset:-1,width:1}},switch:{width:25,height:17,padding:5,transitionDurationMs:150,transitionTimingFunction:"ease-out",focusRing:{offset:1,width:1}},select:{focusRing:{offset:-1,width:1}},text:{focusRing:{offset:-1,width:1}}},nc=new WeakMap;function nu(e){let t=nc.get(e);if(t)return t;let n=nh(e,e.card.enabled),r={_blend:e._blend||(e.dark?"screen":"multiply"),_dark:e.dark,accent:n.accent,avatar:n.avatar,backdrop:e.base.shadow.ambient,badge:n.badge,bg:e.base.bg,border:e.base.border,button:{default:nf(e,e.button.default),ghost:nf(e,e.button.ghost),bleed:nf(e,e.button.bleed)},code:n.code,fg:e.base.fg,focusRing:e.base.focusRing,icon:n.muted.fg,input:{default:np(e.input.default),invalid:np(e.input.invalid)},kbd:n.kbd,link:n.link,muted:{...n.muted,bg:e.selectable?.default.enabled.bg2||e.base.bg},selectable:nf(e,e.selectable||e.muted),shadow:e.base.shadow,skeleton:{from:e.skeleton?.from||e.base.border,to:e.skeleton?.to||e.base.border},syntax:e.syntax};return nc.set(e,r),r}function nf(e,t){return{default:{enabled:nh(e,t.default.enabled),hovered:nh(e,t.default.hovered),pressed:nh(e,t.default.pressed),selected:nh(e,t.default.selected),disabled:nh(e,t.default.disabled)},neutral:{enabled:nh(e,t.default.enabled),hovered:nh(e,t.default.hovered),pressed:nh(e,t.default.pressed),selected:nh(e,t.default.selected),disabled:nh(e,t.default.disabled)},primary:{enabled:nh(e,t.primary.enabled),hovered:nh(e,t.primary.hovered),pressed:nh(e,t.primary.pressed),selected:nh(e,t.primary.selected),disabled:nh(e,t.primary.disabled)},suggest:{enabled:nh(e,t.primary.enabled),hovered:nh(e,t.primary.hovered),pressed:nh(e,t.primary.pressed),selected:nh(e,t.primary.selected),disabled:nh(e,t.primary.disabled)},positive:{enabled:nh(e,t.positive.enabled),hovered:nh(e,t.positive.hovered),pressed:nh(e,t.positive.pressed),selected:nh(e,t.positive.selected),disabled:nh(e,t.positive.disabled)},caution:{enabled:nh(e,t.caution.enabled),hovered:nh(e,t.caution.hovered),pressed:nh(e,t.caution.pressed),selected:nh(e,t.caution.selected),disabled:nh(e,t.caution.disabled)},critical:{enabled:nh(e,t.critical.enabled),hovered:nh(e,t.critical.hovered),pressed:nh(e,t.critical.pressed),selected:nh(e,t.critical.selected),disabled:nh(e,t.critical.disabled)}}}function nh(e,t){return{...t,avatar:{gray:{bg:e.spot.gray,fg:e.base.bg},blue:{bg:e.spot.blue,fg:e.base.bg},purple:{bg:e.spot.purple,fg:e.base.bg},magenta:{bg:e.spot.magenta,fg:e.base.bg},red:{bg:e.spot.red,fg:e.base.bg},orange:{bg:e.spot.orange,fg:e.base.bg},yellow:{bg:e.spot.yellow,fg:e.base.bg},green:{bg:e.spot.green,fg:e.base.bg},cyan:{bg:e.spot.cyan,fg:e.base.bg}},badge:{default:{bg:e.muted.default.enabled.bg,fg:e.muted.default.enabled.fg,dot:e.muted.default.enabled.muted.fg,icon:e.muted.default.enabled.muted.fg},neutral:{bg:e.muted.transparent.enabled.bg,fg:e.muted.transparent.enabled.fg,dot:e.muted.transparent.enabled.muted.fg,icon:e.muted.transparent.enabled.muted.fg},primary:{bg:e.muted.primary.enabled.bg,fg:e.muted.primary.enabled.fg,dot:e.muted.primary.enabled.muted.fg,icon:e.muted.primary.enabled.muted.fg},suggest:{bg:e.muted.primary.enabled.bg,fg:e.muted.primary.enabled.fg,dot:e.muted.primary.enabled.muted.fg,icon:e.muted.primary.enabled.muted.fg},positive:{bg:e.muted.positive.enabled.bg,fg:e.muted.positive.enabled.fg,dot:e.muted.positive.enabled.muted.fg,icon:e.muted.positive.enabled.muted.fg},caution:{bg:e.muted.caution.enabled.bg,fg:e.muted.caution.enabled.fg,dot:e.muted.caution.enabled.muted.fg,icon:e.muted.caution.enabled.muted.fg}
3,critical:{bg:e.muted.critical.enabled.bg,fg:e.muted.critical.enabled.fg,dot:e.muted.critical.enabled.muted.fg,icon:e.muted.critical.enabled.muted.fg}},kbd:{bg:e.muted.default.enabled.bg,fg:e.muted.default.enabled.fg,border:e.muted.default.enabled.border},muted:{...e.muted.default.enabled.muted,bg:t.bg2||t.bg},skeleton:{from:t.skeleton?.from||t.border,to:t.skeleton?.to||t.border}}}function np(e){return{enabled:ng(e.enabled),disabled:ng(e.disabled),readOnly:ng(e.readOnly),hovered:ng(e.hovered)}}function ng(e){return{bg:e.bg,border:e.border,fg:e.fg,muted:{bg:e.bg2},placeholder:e.placeholder}}let nm=new WeakMap;function nv(e){if(e.sanity.v2?._resolved)return e.sanity.v2;let t=nm.get(e);if(t)return t;let n={_version:2,_resolved:!0,avatar:{...ni,...e.sanity.avatar},button:{...na,...e.sanity.button},card:ns,color:nu(e.sanity.color),container:e.sanity.container,font:e.sanity.fonts,input:{...nd,...e.sanity.input,checkbox:{...nd.checkbox,...e.sanity.input.checkbox},radio:{...nd.radio,...e.sanity.input.radio},switch:{...nd.switch,...e.sanity.input.switch}},layer:e.sanity.layer??nl,media:e.sanity.media,radius:e.sanity.radius,shadow:e.sanity.shadows,space:e.sanity.space,style:e.sanity.styles};return nm.set(e,n),n}function ny(e){return 2===e._version}let nw=new WeakMap,nb=new WeakMap;function nx(e){let t=nb.get(e);if(t)return t;let{avatar:n,button:r,color:o,container:i,font:a,input:s,media:l,radius:d,shadow:c,space:u,style:f}=e;return{_version:0,avatar:n,button:r,container:i,color:{light:{transparent:nC(o.light.transparent),default:nC(o.light.default),primary:nC(o.light.primary),positive:nC(o.light.positive),caution:nC(o.light.caution),critical:nC(o.light.critical)},dark:{transparent:nC(o.dark.transparent),default:nC(o.dark.default),primary:nC(o.dark.primary),positive:nC(o.dark.positive),caution:nC(o.dark.caution),critical:nC(o.dark.critical)}},focusRing:s.text.focusRing,fonts:a,input:s,media:l,radius:d,shadows:c,space:u,styles:f,v2:e}}function nC(e){return{base:{bg:e.bg,fg:e.fg,border:e.border,focusRing:e.focu
3sRing,shadow:e.shadow},button:e.button,card:e.selectable.default,dark:e._dark,input:{default:nk(e.input.default),invalid:nk(e.input.invalid)},muted:{...e.button.ghost,transparent:e.button.ghost.default},solid:{...e.button.default,transparent:e.button.default.default},selectable:e.selectable,spot:{gray:e.avatar.gray.bg,blue:e.avatar.blue.bg,purple:e.avatar.purple.bg,magenta:e.avatar.magenta.bg,red:e.avatar.red.bg,orange:e.avatar.orange.bg,yellow:e.avatar.yellow.bg,green:e.avatar.green.bg,cyan:e.avatar.cyan.bg},syntax:e.syntax}}function nk(e){return{enabled:nj(e.enabled),disabled:nj(e.disabled),readOnly:nj(e.readOnly),hovered:nj(e.hovered)}}function nj(e){return{bg:e.bg,bg2:e.muted.bg,border:e.border,fg:e.fg,placeholder:e.placeholder}}let nM=["multiply","screen"],nL=["transparent","default","neutral","primary","suggest","positive","caution","critical"],nS=["default","neutral","primary","suggest","positive","caution","critical"],n_=["enabled","hovered","pressed","selected","disabled"],nR=["default","ghost","bleed"],nE=["default","invali
3d"],n$=["enabled","hovered","readOnly","disabled"];function nH(e){return no.includes(e)}function nV(e){return/^\d+%$/.test(e)}function nI(e){var t;let n=e.split("/"),r=n.shift()||"",[o,i]=r.split(" ");if(nH(o)){let e=n.shift()||"";return nV(i)?{type:"color",tint:o,mix:Number(i.slice(0,-1))/100}:nO(e)?{type:"color",tint:o,opacity:Number(e)}:{type:"color",tint:o}}if("black"===(t=o)||"white"===t){let e=n.shift()||"";return nV(i)?{type:"color",key:o,mix:Number(i.slice(0,-1))/100}:nO(e)?{type:"color",key:o,opacity:Number(e)}:{type:"color",key:o}}if(nr.includes(o)){let[e,t]=(r=n.shift()||"").split(" ");if(nH(e)){let r=n.shift()||"";return nV(t)?{type:"color",hue:o,tint:e,mix:Number(t.slice(0,-1))/100}:nO(r)?{type:"color",hue:o,tint:e,opacity:Number(r)}:{type:"color",hue:o,tint:e}}return{type:"hue",value:o}}if(nM.includes(o))return{type:"blendMode",value:o}}function nO(e){return"0"===e||/^0\.[0-9]+$/.test(e)||"1"===e}[...nr],[...nL],[...nS],[...n_],[...nE],[...n$];let nA=["500","500"];function nB(e,t=nA){var n;let r,{hue:o,scheme:i}=e,a=nI(t[+("light"!==i)]);if(!a||"color"!==a.type)throw Error(`Invalid color token: ${t[0]}`);return n={...a,hue:a.hue||o},r="",r="black"===n.key||"white"===n.key?n.key:`${n.hue}/${n.tint}`,void 0!==n.mix?`${r} ${100*n.mix}%`:(void 0!==n.opacity&&(r+=`/${n.opacity}`),r)}let nz={base:{"*":{_blend:["multiply","screen"],accent:{fg:["purple/600","purple/400"]},avatar:{"*":{_blend:["screen","multiply"],bg:["500","400"],fg:["white","black"]}},backdrop:["gray/200/0.5","black/0.5"],badge:{"*":{bg:["100","900"],fg:["600","400"],icon:["500","500"],dot:["500","500"]},positive:{bg:["200 50%","900"],fg:["600","500"]},caution:{bg:["200 50%","900"],fg:["600","500"]}},bg:["50","950"],border:["200","800"],code:{bg:["50","950"],fg:["600","400"]},fg:["800","200"],focusRing:["blue/500","blue/500"],icon:["600","400"],kbd:{bg:["white","black"],fg:["600","400"],border:["200","800"]},link:{fg:["blue/600","blue/300"]},muted:{bg:["50","950"],fg:["700 75%","300 75%"]},shadow:{outline:["500/0.3","500/0.4"],umbra:["gray/500/0.1","black/0.2"],penumbra:["gray/500/0.07","black/0.14"],ambient:["gray/500/0.06","black/0.12"]},skeleton:{from:["100","900"],to:["100 50%","900 50%"]}},transparent:{bg:["50","black"]},default:{bg:["white","950"],fg:["800","200"],muted:{fg:["600","400"]}},primary:{_hue:"blue"},suggest:{_hue:"purple"},positive:{_hue:"green",shadow:{outline:["500/0.4","500/0.4"]}},caution:{_hue:"yellow",shadow:{outline:["600/0.3","500/0.4"]}},critical:{_hue:"red"}},button:{default:{"*":{"*":{_blend:["screen","multiply"],accent:{fg:["purple/300","purple/700"]},avatar:{"*":{_blend:["screen","multiply"],bg:["500","400"],fg:["white","black"]}},badge:{"*":{bg:["900","100"],fg:["400","600"],dot:["500","500"],icon:["500","500"]}},bg:["500","400"],border:["500/0","400/0"],code:{bg:["500 20%","400 20%"],fg:["200","600"]},fg:["white","black"],icon:["100 70%","900 70%"],kbd:{bg:["black","white"],fg:["200","600"],border:["800","200"]},link:{fg:["blue/200","blue/600"]},muted:{bg:["950","50"],fg:["100 70%","900 70%"]},skeleton:{from:["900","100"],to:["900 50%","100 50%"]}},hovered:{bg:["600","300"],border:["700/0","300/0"]},pressed:{bg:["700","300"]},selected:{bg:["700","300"]},disabled:{_hue:"gray",accent:{fg:["100 70%","900 70%"]},avatar:{"*":{_blend:["screen","multiply"],bg:["gray/500","gray/400"],fg:["white","black"]}},badge:{"*":{bg:["gray/700","gray/300"],fg:["white","black"],dot:["white","black"],icon:["white","black"]}},bg:["300","600"],code:{bg:["950","50"],fg:["300","600"]},fg:["300","600"],muted:{bg:["950","50"],fg:["300","600"]},kbd:{bg:["black","white"],fg:["white","black"],border:["700","300"]},link:{fg:["100 70%","900 70%"]}}},default:{"*":{avatar:{"*":{_blend:["screen","multiply"],bg:["500","400"],fg:["white","black"]}},bg:["800","200"],muted:{bg:["950","50"],fg:["400","600"]}},hovered:{bg:["900","100"]},pressed:{bg:["black","white"]},selected:{bg:["black","white"]}}},ghost:{"*":{"*":{_blend:["multiply","screen"],accent:{fg:["purple/700 60%","purple/300 70%"]},avatar:{"*":{_blend:["screen","multiply"],bg:["500","400"],fg:["white","black"]}},badge:{"*":{bg:["100","900"],fg:["600","400"],dot:["500","500"],icon:["500","500"]}},bg:["50","950"],border:["100","900"],code:{bg:["500 10%","400 10%"],fg:["700 60%","400 60%"]},fg:["600","400"],icon:["700 60%","300 60%"],kbd:{bg:["white","black"],fg:["600","400"],border:["200","800"]},link:{fg:["blue/700 60%","blue/300 60%"]},muted:{bg:["100","950"],fg:["700 60%","300 60%"]},skeleton:{from:["100","900"],to:["100 50%","900 50%"]}},hovered:{bg:["100","900"],fg:["700","300"]},pressed:{bg:["200","800"],fg:["800","200"]},selected:{bg:["200","800"],fg:["800","200"]},disabled:{_hue:"gray",accent:{fg:["200","800"]},avatar:{"*":{_blend:["screen","multiply"],bg:["gray/100","gray/900"],fg:["white","black"]}}
3,badge:{"*":{_hue:"gray",bg:["50","950"],fg:["gray/200","gray/800"],dot:["gray/200","gray/800"],icon:["gray/200","gray/800"]}},border:["100","900"],code:{bg:["50","950"],fg:["200","800"]},fg:["400","600"],icon:["300","700"],muted:{fg:["300","700"]},kbd:{bg:["white","black"],fg:["200","800"],border:["100","900"]},link:{fg:["200","800"]}}},positive:{"*":{border:["600 20%","800"]}},caution:{"*":{border:["600 20%","800"]}}},bleed:{"*":{"*":{_blend:["multiply","screen"],accent:{fg:["purple/700 70%","purple/300 70%"]},avatar:{"*":{_blend:["screen","multiply"],bg:["500","400"],fg:["white","black"]}},badge:{"*":{bg:["100","900"],fg:["600","400"],dot:["500","500"],icon:["500","500"]}},bg:["white","black"],border:["white/0","black/0"],code:{bg:["50","950"],fg:["700 75%","300 75%"]},fg:["700","300"],icon:["700 75%","300 75%"],kbd:{bg:["white","black"],fg:["700","300"],border:["200","800"]},link:{fg:["blue/700 70%","blue/300 70%"]},muted:{bg:["100","950"],fg:["700 75%","300 75%"]},skeleton:{from:["100","900"],to:["100 50%","900 50%"]}},hovered:{bg:["50","900"],fg:["800","200"],icon:["800 70%","300 70%"]},pressed:{bg:["100","800"],fg:["800","200"],icon:["800 70%","200 70%"]},selected:{bg:["100","900"],fg:["800","200"],icon:["800 60%","200 60%"]},disabled:{_hue:"gray",accent:{fg:["200","800"]},avatar:{"*":{_blend:["screen","multiply"],bg:["gray/100","gray/900"],fg:["white","black"]}},badge:{"*":{_hue:"gray",bg:["50","950"],fg:["gray/200","gray/800"],dot:["gray/200","gray/800"],icon:["gray/200","gray/800"]}},code:{bg:["50","950"],fg:["200","800"]},fg:["400","600"],icon:["300","700"],muted:{fg:["400","600"]},kbd:{bg:["white","black"],fg:["200","800"],border:["100","900"]},link:{fg:["200","800"]}}}}},input:{"*":{"*":{_blend:["multiply","screen"],bg:["white","black"],border:["200","700"],fg:["black","200"],muted:{bg:["50","950"]},placeholder:["400","600"]},hovered:{border:["300","700"]},readOnly:{bg:["50","950"],border:["200","800"],fg:["800","200"]},disabled:{bg:["50","950"],fg:["400","600"],border:["100","900"],placeholder:["200","800 50%"]}},invalid:{"*":{_hue:"red",bg:["100","950"]}}},selectable:{"*":{"*":{_blend:["multiply","screen"],accent:{fg:["purple/700 70%","purple/300 70%"]},avatar:{"*":{_blend:["screen","multiply"],bg:["500","400"],fg:["white","black"]}},badge:{"*":{bg:["100","900"],fg:["600","400"],dot:["500","500"],icon:["500","500"]}},bg:["white","black"],border:["200","800"],code:{bg:["50","950"],fg:["600","400"]},fg:["700","300"],icon:["700 75%","300 75%"],kbd:{bg:["white","black"],fg:["600","400"],border:["200","800"]},link:{fg:["blue/700 70%","blue/300 70%"]},muted:{bg:["50","950"],fg:["700 75%","300 75%"]},skeleton:{from:["100","900"],to:["100 50%","900 50%"]}},hovered:{bg:["50","950"]},pressed:{bg:["100","900"]},selected:{_blend:["screen","multiply"],accent:{fg:["purple/300","purple/700"]},avatar:{"*":{_blend:["multiply","screen"],bg:["white","black"],fg:["black","white"]}},badge:{"*":{bg:["900","100"],fg:["400","600"],dot:["500","500"],icon:["500","500"]}},bg:["500","400"],border:["500 20%","400 20%"],code:{bg:["500 20%","400 20%"],fg:["200","600"]},fg:["white","black"],icon:["100 70%","900 70%"],kbd:{bg:["black","white"],fg:["200","600"],border:["800","200"]},link:{fg:["blue/200","blue/600"]},muted:{bg:["500 10%","400 10%"],fg:["100 70%","900 70%"]},skeleton:{from:["900","100"],to:["900 50%","100 50%"]}},disabled:{_hue:"gray",accent:{fg:["200","800"]},avatar:{"*":{_blend:["screen","multiply"],bg:["gray/100","gray/900"],fg:["white","black"]}},badge:{"*":{_hue:"gray",bg:["50","950"],fg:["gray/200","gray/800"],dot:["gray/200","gray/800"],icon:["gray/200","gray/800"]}},border:["100","900"],code:{bg:["50","950"],fg:["200","800"]},fg:["200","800"],icon:["200","800"],kbd:{bg:["white","black"],fg:["200","800"],border:["100","900"]},link:{fg:["200","800"]},muted:{bg:["50 50%","950 50%"],fg:["200","800"]}}},default:{selected:{_hue:"blue"}},critical:{disabled:{bg:["50 50%","950 50%"]}}},syntax:{atrule:["purple/600","purple/400"],attrName:["green/600","green/400"],attrValue:["yellow/600","yellow/400"],attribute:["yellow/600","yellow/400"],boolean:["purple/600","purple/400"],builtin:["purple/600","purple/400"],c
3data:["yellow/600","yellow/400"],char:["yellow/600","yellow/400"],class:["orange/600","orange/400"],className:["cyan/600","cyan/400"],comment:["gray/400","gray/600"],constant:["purple/600","purple/400"],deleted:["red/600","red/400"],entity:["red/600","red/400"],function:["green/600","green/400"],hexcode:["blue/600","blue/400"],id:["purple/600","purple/400"],important:["purple/600","purple/400"],inserted:["yellow/600","yellow/400"],keyword:["magenta/600","magenta/400"],number:["purple/600","purple/400"],operator:["magenta/600","magenta/400"],property:["blue/600","blue/400"],pseudoClass:["yellow/600","yellow/400"],pseudoElement:["yellow/600","yellow/400"],punctuation:["gray/600","gray/400"],regex:["blue/600","blue/400"],selector:["red/600","red/400"],string:["yellow/600","yellow/400"],symbol:["purple/600","purple/400"],tag:["red/600","red/400"],unit:["orange/600","orange/400"],url:["red/600","red/400"],variable:["red/600","red/400"]}};function nT(e){return!!(e&&"object"==typeof e&&!Array.isArray(e))}function nW(...e){let t=e.filter(Boolean);return 0===t.length?{}:t.reduce(nN,{})}function nN(e,t){for(let n of Object.keys(t)){let r=e[n],o=t[n];nT(r)&&nT(o)?e[n]=nW(r,o):e[n]=o}return e}function nP(e,t){let{scheme:n}=e,r={};for(let e of nL)r[e]=function(e,t){let{scheme:n,tone:r}=e,o=t?.color?.base?.[r],i={hue:o?._hue||"gray",scheme:n};return{_blend:(o?._blend||["multiply","screen"])[+("light"!==n)],_dark:"dark"===n,accent:{fg:nB(i,o?.accent?.fg)},avatar:nZ({scheme:n},o),backdrop:nB(i,o?.backdrop),badge:nD(o?.badge,{scheme:n},t),bg:nB(i,o?.bg),border:nB(i,o?.border),button:function(e,t){let{scheme:n,tone:r}=e,o={};for(let e of nR)o[e]=function(e,t){let{cardTone:n,mode:r,scheme:o}=e,i={};for(let e of nS)i[e]=function(e,t){let{cardTone:n,mode:r,scheme:o,tone:i}=e,a={};for(let e of n_)a[e]=function(e,t){let{cardTone:n,mode:r,tone:o,scheme:i,state:a}=e,s=t?.color?.base?.[n],l=t?.color?.button?.[r]?.[o]?.[a],d=l?._hue||s?._hue||"gray",c=l?._blend||["screen","multiply"],u={hue:d,scheme:i};return{_blend:c[+("light"!==i)],accent:{fg:nB(u,l?.accent?.fg)},avatar:nZ({scheme:i},l),badge:nD(l?.badge,{scheme:i},t),bg:nB(u,l?.bg),border:nB(u,l?.border),code:{bg:nB(u,l?.code?.bg),fg:nB(u,l?.code?.fg)},fg:nB(u,l?.fg),icon:nB(u,l?.icon),muted:{bg:nB(u,l?.muted?.bg),fg:nB(u,l?.muted?.fg)},kbd:{bg:nB(u,l?.kbd?.bg),fg:nB(u,l?.kbd?.fg),border:nB(u,l?.kbd?.border)},link:{fg:nB(u,l?.link?.fg)},skeleton:{from:nB(u,l?.skeleton?.from),to:nB(u,l?.skeleton?.to)}}}({cardTone:n,mode:r,tone:i,scheme:o,state:e},t);return a}({cardTone:n,mode:r,scheme:o,tone:e},t);return i}({cardTone:r,scheme:n,mode:e},t);return o}({scheme:n,tone:r},t),code:{bg:nB(i,o?.code?.bg),fg:nB(i,o?.code?.fg)},fg:nB(i,o?.fg),focusRing:nB(i,o?.focusRing),icon:nB(i,o?.icon),input:function(e,t){let{scheme:n,tone:r}=e;return{default:nq({mode:"default",scheme:n,tone:r},t),invalid:nq({mode:"invalid",scheme:n,tone:r},t)}}({scheme:n,tone:r},t),kbd:{bg:nB(i,o?.kbd?.bg),fg:nB(i,o?.kbd?.fg),border:nB(i,o?.kbd?.border)},link:{fg:nB(i,o?.link?.fg)},muted:{bg:nB(i,o?.muted?.bg),fg:nB(i,o?.muted?.fg)},selectable:function(e,t){let{scheme:n,tone:r}=e,o={};for(let e of nS)o[e]=function(e,t){let{cardTone:n,scheme:r,tone:o}=e,i={};for(let e of n_)i[e]=function(e,t){let{cardTone:n,scheme:r,state:o,tone:i}=e,a=t?.color?.base?.[n],s=t?.color?.selectable?.[i]?.[o],l=s?._hue||a?._hue||"gray",d=s?._blend||["screen","multiply"],c={hue:l,scheme:r};return{_blend:d[+("light"!==r)],accent:{fg:nB(c,s?.accent?.fg)},avatar:nZ({scheme:r},s),badge:nD(s?.badge,{scheme:r},t),bg:nB(c,s?.bg),border:nB(c,s?.border),code:{bg:nB(c,s?.code?.bg),fg:nB(c,s?.code?.fg)},fg:nB(c,s?.fg),icon:nB(c,s?.icon),muted:{bg:nB(c,s?.muted?.bg),fg:nB(c,s?.muted?.fg)},kbd:{bg:nB(c,s?.kbd?.bg),fg:nB(c,s?.kbd?.fg),border:nB(c,s?.kbd?.border)},link:{fg:nB(c,s?.link?.fg)},skeleton:{from:nB(c,s?.skeleton?.from),to:nB(c,s?.skeleton?.to)}}}({cardTone:n,tone:o,scheme:r,state:e},t);return i}({cardTone:r,scheme:n,tone:e},t);return o}({scheme:n,tone:r},t),shadow:function(e,t){let{scheme:n,tone:r}=e,o=t?.color?.base?.[r],i={hue:o?._hue||"gray",scheme:n};return{outline:nB(i,o?.shadow?.outline),umbra:nB(i,o?.shadow?.umbra),penumbra:nB(i,o?.shadow?.penumbra),ambient:nB(i,o?.shadow?.ambient)}}
3({scheme:n,tone:r},t),skeleton:{from:nB(i,o?.skeleton?.from),to:nB(i,o?.skeleton?.to)},syntax:function(e,t){let{scheme:n}=e,r=t?.color?.syntax,o={hue:"gray",scheme:n};return{atrule:nB(o,r?.atrule),attrName:nB(o,r?.attrName),attrValue:nB(o,r?.attrValue),attribute:nB(o,r?.attribute),boolean:nB(o,r?.boolean),builtin:nB(o,r?.builtin),cdata:nB(o,r?.cdata),char:nB(o,r?.char),class:nB(o,r?.class),className:nB(o,r?.className),comment:nB(o,r?.comment),constant:nB(o,r?.constant),deleted:nB(o,r?.deleted),doctype:nB(o,r?.doctype),entity:nB(o,r?.entity),function:nB(o,r?.function),hexcode:nB(o,r?.hexcode),id:nB(o,r?.id),important:nB(o,r?.important),inserted:nB(o,r?.inserted),keyword:nB(o,r?.keyword),number:nB(o,r?.number),operator:nB(o,r?.operator),prolog:nB(o,r?.prolog),property:nB(o,r?.property),pseudoClass:nB(o,r?.pseudoClass),pseudoElement:nB(o,r?.pseudoElement),punctuation:nB(o,r?.punctuation),regex:nB(o,r?.regex),selector:nB(o,r?.selector),string:nB(o,r?.string),symbol:nB(o,r?.symbol),tag:nB(o,r?.tag),unit:nB(o,r?.unit),url:nB(o,r?.url),variable:nB(o,r?.variable)}}({scheme:n},t)}}({scheme:n,tone:e},t);return r}function nZ(e,t){let{scheme:n}=e;return{gray:nF({color:"gray",scheme:n},t),blue:nF({color:"blue",scheme:n},t),purple:nF({color:"purple",scheme:n},t),magenta:nF({color:"magenta",scheme:n},t),red:nF({color:"red",scheme:n},t),orange:nF({color:"orange",scheme:n},t),yellow:nF({color:"yellow",scheme:n},t),green:nF({color:"green",scheme:n},t),cyan:nF({color:"cyan",scheme:n},t)}}function nF(e,t){let{color:n,scheme:r}=e,o=t?.avatar?.[n],i={hue:o?._hue||"gray",scheme:r};return{_blend:(o?._blend||["screen","multiply"])[+("light"!==r)],bg:nB(i,o?.bg),fg:nB(i,o?.fg)}}function nD(e,t,n){let{scheme:r}=t,o={};for(let t of nS)o[t]=function(e,t,n){let{scheme:r,tone:o}=t,i=e?.[o],a={hue:i?._hue||n?.color?.base?.[o]?._hue||"gray",scheme:r};return{bg:nB(a,i?.bg),fg:nB(a,i?.fg),dot:nB(a,i?.dot),icon:nB(a,i?.icon)}}(e,{scheme:r,tone:t},n);return o}function nq(e,t){let{mode:n,scheme:r,tone:o}=e;return{enabled:nU({mode:n,scheme:r,state:"enabled",cardTone:o},t),hovered:nU({mode:n,scheme:r,state:"hovered",cardTone:o},t),readOnly:nU({mode:n,scheme:r,state:"readOnly",cardTone:o},t),disabled:nU({mode:n,scheme:r,state:"disabled",cardTone:o},t)}}function nU(e,t){let{cardTone:n,mode:r,scheme:o,state:i}=e,a=t?.color?.base?.[n],s=t?.color?.input?.[r]?.[i],l=s?._hue||a?._hue||"gray",d=s?._blend||["screen","multiply"],c={hue:l,scheme:o};return{_blend:d[+("light"!==o)],bg:nB(c,s?.bg),border:nB(c,s?.border),fg:nB(c,s?.fg),muted:{bg:nB(c,s?.muted?.bg)},placeholder:nB(c,s?.placeholder)}}function nG(e,t=0,n=1){return Math.min(n,Math.max(t,e))}function nY(e,t,n,r,o){var i;return n*(1-(i=nG((o-e)/(t-e))))+r*i}function nK(e){return Math.round(e)}function nX(e){if(4===e.length){let t=e.slice(1,2),n=e.slice(2,3),r=e.slice(3,4);return{r:parseInt(t+t,16),g:parseInt(n+n,16),b:parseInt(r+r,16)}}return{r:parseInt(e.slice(1,3),16),g:parseInt(e.slice(3,5),16),b:parseInt(e.slice(5,7),16)}}function nJ(e){let t=nK(nG(Math.round(e.r),0,255)),n=nK(nG(Math.round(e.g),0,255)),r=nK(nG(Math.round(e.b),0,255));return"a"in e?`rgba(${t},${n},${r},${e.a})`:"#"+(0x1000000+(t<<16)+(n<<8)+r).toString(16).slice(1)}let nQ=/hsl\(\s*(\d+)\s*,\s*((\d+(?:\.\d+)?)%)\s*,\s*((\d+(?:\.\d+)?)%)\s*\)/i;function n1(e){var t;if(!e)return{r:0,g:0,b:0};if("string"!=typeof e)throw Error("parseColor: expected a string");if("#"===e[0]&&(4===e.length||7===e.length)&&function(e){for(let t of e)if(-1==="0123456789ABCDEFabcdef".indexOf(t))return!1;return!0}(e.slice(1)))return nX(e);if(e.startsWith("hsl(")){let n,r,o,i,a,s,l,d;return n=(t=function(e){let t=nQ.exec(e);if(!t)throw Error(`parseHsl: string is not a HSL color: "${e}"`);return{h:parseInt(t[1]),s:parseFloat(t[3]),l:parseFloat(t[5])}}(e)).s/100,i=(o=(1-Math.abs(2*(r=t.l/100)-1))*n)*(1-Math.abs(t.h/60%2-1)),a=r-o/2,s=0,l=0,d=0,0<=t.h&&t.h<60?(s=o,l=i,d=0):60<=t.h&&t.h<120?(s=i,l=o,d=0):120<=t.h&&t.h<180?(s=0,l=o,d=i):180<=t.h&&t.h<240?(s=0,l=i,d=o):240<=t.h&&t.h<300?(s=i,l=0,d=o):300<=t.h&&t.h<360&&(s=o,l=0,d=i),{r:Math.round((s+a)*255),g:Math.round((l+a)*255),b:Math.round((d+a)*255)}}if(e.startsWith("rgba(")){let t;return{r:parseInt((t=e.replace(/rgba\(|\)/g,"").split(","))[0]),g:parseInt(t[1]),b:parseInt(t[2]),a:parseFloat(t[3])}}throw Error(`parseColor: unexpected color format: "${e}"`)}let n0=[0,255];function n5(e,t){var n,r,o,i,a,s,l,d,c;let u,{bg:f,blendMode:h,colorPalette:p}=t;if("white"===f)throw Error("Cannot blend with white background");let g=nI(e);if(!g||"color"!==g.type)throw Error(`Invalid color token value: ${e}`);let m="";if("black"===g.key&&(m=n2(p.black)),"white"===g.key&&(m=n2(p.white)),g.hue&&g.tint&&(m=n2(p[g.hue][g.tint])),!m)throw Error(`Invalid color token value: ${e}`);let v=m,y={blendMode:h,bg:f,black:n2(p.black),white:n2(p.white)};try{if(m=function(e,t){var n,r,o,i,a,s;let{blendMode:l}=t,d=n1(e),c=n1(t.black),u=n1(t.white),f=t.bg?n1(t.bg):"multiply"===l?u:c,h={r:[c.r,u.r],g:[c.g,u.g],b:[c.b,u.b]},p={r:nG(nY(...h.r,...n0,f.r),...n0),g:nG(nY(...h.g,...n0,f.g),...n0),b:nG(nY(...h.b,...n0,f.b),...n0)},g={r:nG(nY(...h.r,...n0,d.r),...n0),g:nG(nY(...h.g,...n0,d.g),...n0),b:nG(nY(...h.b,...n0,d.b),...n0)},m="multiply"===l?{r:255*(p.r/255*(g.r/255)),g:255*(p.g/255*(g.g/255)),b:255*(p.b/255*(g.b/255))}:{r:255*((n=p.r/255)+(r=g.r/255)-n*r),g:255*((o=p.g/255)+(i=g.g/255)-o*i),b:255*((a=p.b/255)+(s=g.b/255)-a*s)};return nJ({r:nG(nY(...n0,...h.r,m.r),...h.r),g:nG(nY(...n0,...h.g,m.g),...h.g),b:nG(nY(...n0,...h.b,m.b),...h.b)})}(m,y),f&&void 0!==g.mix){let e=nX(f),t=nX(m);m=nJ((n=g.mix,{r:(r=e.r,o=t.r,r+(o-r)*n),g:(i=e.g,a=t.g,i+(a-i)*n),b:(s=e.b,l=t.b,s+(l-s)*n)}))}}catch(e){throw console.warn("could not blend",m,y),e}
3return"#aN"===m&&(console.warn(`invalid color token value: ${e}`),m=v),void 0!==g.opacity&&(d=m,c=g.opacity,u=n1(d),m=`rgba(${u.r},${u.g},${u.b},${c})`),m}function n2(e){return"string"==typeof e?e:e.hex}function n3(e,t){let n=Object.entries(t),[,r]=n.find(([e])=>"transparent"===e),[,o]=n.find(([e])=>"default"===e),i=n4(r,{colorPalette:e}),a=n4(o,{colorPalette:e}),s=a.bg;if("white"===s)throw Error("Cannot blend with white background");return Object.fromEntries([["transparent",i],["default",a],...n.filter(([e])=>"default"!==e&&"transparent"!==e).map(([t,n])=>[t,n4(n,{bg:s,colorPalette:e})])])}function n4(e,t){var n,r,o,i;let{colorPalette:a,bg:s}=t,l=e._blend||"multiply",d=n5(e.bg,{colorPalette:a,bg:s,blendMode:l}),c={colorPalette:a,bg:d,blendMode:l},u=(n=e.button,r={baseBg:d,blendMode:l,colorPalette:a},{default:n9(n.default,r),ghost:n9(n.ghost,r),bleed:n9(n.bleed,r)}),f=function(e,t){let n={};for(let i of nS){var r,o;n[i]=(r=e[i],o=t,{enabled:n7(r.enabled,o),hovered:n7(r.hovered,o),pressed:n7(r.pressed,o),selected:n7(r.selected,o),disabled:n7(r.disabled,o)})}return n}(e.selectable,{colorPalette:a,baseBg:d,blendMode:l}),h={outline:n5(e.shadow.outline,c),umbra:n5(e.shadow.umbra,{...c,bg:void 0,colorPalette:{...a,black:"#000000"}}),penumbra:n5(e.shadow.penumbra,{...c,bg:void 0,colorPalette:{...a,black:"#000000"}}),ambient:n5(e.shadow.ambient,{...c,bg:void 0,colorPalette:{...a,black:"#000000"}})};return{_blend:l,_dark:e._dark,accent:{fg:n5(e.accent.fg,c)},avatar:n6(e.avatar,{baseBg:d,colorPalette:a,blendMode:l}),backdrop:n5(e.backdrop,c),badge:n8(e.badge,{baseBg:d,colorPalette:a,blendMode:l}),bg:d,border:n5(e.border,c),button:u,code:{bg:n5(e.code.bg,c),fg:n5(e.code.fg,c)},fg:n5(e.fg,c),focusRing:n5(e.focusRing,c),icon:n5(e.icon,c),input:(o=e.input,i={baseBg:d,colorPalette:a,blendMode:l},{default:re(o.default,i),invalid:re(o.invalid,i)}),kbd:function(e,t){let{baseBg:n,blendMode:r,colorPalette:o}=t,i=n5(e.bg,{bg:n,blendMode:r,colorPalette:o}),a={bg:i,blendMode:r,colorPalette:o};return{bg:i,fg:n5(e.fg,a),border:n5(e.border,a)}}(e.kbd,{baseBg:d,colorPalette:a,blendMode:l}),link:{fg:n5(e.link.fg,c)},muted:{bg:n5(e.muted.bg,c),fg:n5(e.muted.fg,c)},shadow:h,skeleton:{from:n5(e.skeleton.from,c),to:n5(e.skeleton.to,c)},syntax:function(e,t){let{colorPalette:n,baseBg:r,blendMode:o}=t,i={colorPalette:n,bg:r,blendMode:o};return{atrule:n5(e.atrule,i),attrName:n5(e.attrName,i),attrValue:n5(e.attrValue,i),attribute:n5(e.attribute,i),boolean:n5(e.boolean,i),builtin:n5(e.builtin,i),cdata:n5(e.cdata,i),char:n5(e.char,i),class:n5(e.class,i),className:n5(e.className,i),comment:n5(e.comment,i),constant:n5(e.constant,i),deleted:n5(e.deleted,i),doctype:n5(e.doctype,i),entity:n5(e.entity,i),function:n5(e.function,i),hexcode:n5(e.hexcode,i),id:n5(e.id,i),important:n5(e.important,i),inserted:n5(e.inserted,i),keyword:n5(e.keyword,i),number:n5(e.number,i),operator:n5(e.operator,i),prolog:n5(e.prolog,i),property:n5(e.property,i),pseudoClass:n5(e.pseudoClass,i),pseudoElement:n5(e.pseudoElement,i),punctuation:n5(e.punctuation,i),regex:n5(e.regex,i),selector:n5(e.selector,i),string:n5(e.string,i),symbol:n5(e.symbol,i),tag:n5(e.tag,i),unit:n5(e.unit,i),url:n5(e.url,i),variable:n5(e.variable,i)}}(e.syntax,{baseBg:d,colorPalette:a,blendMode:l}),selectable:f}}function n6(e,t){let n={};for(let r of nr)n[r]=function(e,t){let{baseBg:n,blendMode:r,colorPalette:o}=t,i=e._blend||"multiply",a=n5(e.bg,{bg:n,blendMode:r,colorPalette:o});return{_blend:i,bg:a,fg:n5(e.fg,{bg:a,blendMode:i,colorPalette:o})}}(e[r],t);return n}function n8(e,t){let n={};for(let r of nS)n[r]=function(e,t){let{baseBg:n,blendMode:r,colorPalette:o}=t,i=n5(e.bg,{bg:n,blendMode:r,colorPalette:o}),a={bg:i,blendMode:r,colorPalette:o};return{bg:i,dot:n5(e.dot,a),fg:n5(e.fg,a),icon:n5(e.icon,a)}}(e[r],t);return n}function n9(e,t){let n={};for(let i of nS){var r,o;n[i]=(r=e[i],o=t,{enabled:n7(r.enabled,o),hovered:n7(r.hovered,o),pressed:n7(r.pressed,o),selected:n7(r.selected,o),disabled:n7(r.disabled,o)})}return n}function n7(e,t){let{baseBg:n,blendMode:r,colorPalette:o}=t,i=e._blend||"multiply",a=n5(e.bg,{bg:n,blendMode:r,colorPalette:o}),s={bg:a,blendMode:i,colorPalette:o};
3return{_blend:i,accent:{fg:n5(e.accent.fg,s)},avatar:n6(e.avatar,{baseBg:a,colorPalette:o,blendMode:i}),badge:n8(e.badge,{baseBg:a,colorPalette:o,blendMode:i}),bg:a,border:n5(e.border,s),code:{bg:n5(e.code.bg,s),fg:n5(e.code.fg,s)},fg:n5(e.fg,s),icon:n5(e.icon,s),link:{fg:n5(e.link.fg,s)},muted:{bg:n5(e.muted.bg,s),fg:n5(e.muted.fg,s)},kbd:{bg:n5(e.kbd.bg,s),fg:n5(e.kbd.fg,s),border:n5(e.kbd.border,s)},skeleton:{from:n5(e.skeleton?.from,s),to:n5(e.skeleton?.to,s)}}}function re(e,t){return{enabled:rt(e.enabled,t),hovered:rt(e.hovered,t),readOnly:rt(e.readOnly,t),disabled:rt(e.disabled,t)}}function rt(e,t){let{baseBg:n,blendMode:r,colorPalette:o}=t,i=e._blend||"multiply",a=n5(e.bg,{colorPalette:o,bg:n,blendMode:r}),s={colorPalette:o,bg:a,blendMode:i};return{_blend:i,bg:a,border:n5(e.border,s),fg:n5(e.fg,s),muted:{bg:n5(e.muted.bg,s)},placeholder:n5(e.placeholder,s)}}let rn=new Map;var rr=e.i(789192),ro=function(){return(ro=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function ri(e,t,n){if(n||2==arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}"function"==typeof SuppressedError&&SuppressedError,e.i(258061);var ra=e.i(307407),rs="-ms-",rl="-moz-",rd="-webkit-",rc="comm",ru="rule",rf="decl",rh="@keyframes",rp=Math.abs,rg=String.fromCharCode,rm=Object.assign;function rv(e,t){return(e=t.exec(e))?e[0]:e}function ry(e,t,n){return e.replace(t,n)}function rw(e,t,n){return e.indexOf(t,n)}function rb(e,t){return 0|e.charCodeAt(t)}function rx(e,t,n){return e.slice(t,n)}function rC(e){return e.length}function rk(e,t){return t.push(e),e}function rj(e,t){return e.filter(function(e){return!rv(e,t)})}var rM=1,rL=1,rS=0,r_=0,rR=0,rE="";function r$(e,t,n,r,o,i,a,s){return{value:e,root:t,parent:n,type:r,props:o,children:i,line:rM,column:rL,length:a,return:"",siblings:s}}function rH(e,t){return rm(r$("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function rV(e){for(;e.root;)e=rH(e.root,{children:[e]});rk(e,e.siblings)}function rI(){return rR=r_<rS?rb(rE,r_++):0,rL++,10===rR&&(rL=1,rM++),rR}function rO(){return rb(rE,r_)}function rA(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function rB(e){var t,n;return(t=r_-1,n=function e(t){for(;rI();)switch(rR){case t:return r_;case 34:case 39:34!==t&&39!==t&&e(rR);break;case 40:41===t&&e(t);break;case 92:rI()}return r_}(91===e?e+2:40===e?e+1:e),rx(rE,t,n)).trim()}function rz(e,t){for(var n="",r=0;r<e.length;r++)n+=t(e[r],r,e,t)||"";return n}function rT(e,t,n,r){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case rf:return e.return=e.return||e.value;case rc:return"";case rh:return e.return=e.value+"{"+rz(e.children,r)+"}";case ru:if(!rC(e.value=e.props.join(",")))return""}return rC(n=rz(e.children,r))?e.return=e.value+"{"+n+"}":""}function rW(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case rf:e.return=function e(t,n,r){var o;switch(o=n,45^rb(t,0)?(((o<<2^rb(t,0))<<2^rb(t,1))<<2^rb(t,2))<<2^rb(t,3):0){case 5103:return rd+"print-"+t+t;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return rd+t+t;case 4789:return rl+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return rd+t+rl+t+rs+t+t;case 5936:switch(rb(t,n+11)){case 114:return rd+t+rs+ry(t,/[svh]\w+-[tblr]{2}/,"tb")+t;
vendor: 16,162 bytes, line 3
3case 108:return rd+t+rs+ry(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return rd+t+rs+ry(t,/[svh]\w+-[tblr]{2}/,"lr")+t}case 6828:case 4268:case 2903:return rd+t+rs+t+t;case 6165:return rd+t+rs+"flex-"+t+t;case 5187:return rd+t+ry(t,/(\w+).+(:[^]+)/,rd+"box-$1$2"+rs+"flex-$1$2")+t;case 5443:return rd+t+rs+"flex-item-"+ry(t,/flex-|-self/g,"")+(rv(t,/flex-|baseline/)?"":rs+"grid-row-"+ry(t,/flex-|-self/g,""))+t;case 4675:return rd+t+rs+"flex-line-pack"+ry(t,/align-content|flex-|-self/g,"")+t;case 5548:return rd+t+rs+ry(t,"shrink","negative")+t;case 5292:return rd+t+rs+ry(t,"basis","preferred-size")+t;case 6060:return rd+"box-"+ry(t,"-grow","")+rd+t+rs+ry(t,"grow","positive")+t;case 4554:return rd+ry(t,/([^-])(transform)/g,"$1"+rd+"$2")+t;case 6187:return ry(ry(ry(t,/(zoom-|grab)/,rd+"$1"),/(image-set)/,rd+"$1"),t,"")+t;case 5495:case 3959:return ry(t,/(image-set\([^]*)/,rd+"$1$`$1");case 4968:return ry(ry(t,/(.+:)(flex-)?(.*)/,rd+"box-pack:$3"+rs+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+rd+t+t;case 4200:if(!rv(t,/flex-|baseline/))return rs+"grid-column-align"+rx(t,n)+t;break;case 2592:case 3360:return rs+ry(t,"template-","")+t;case 4384:case 3616:if(r&&r.some(function(e,t){return n=t,rv(e.props,/grid-\w+-end/)}))return~rw(t+(r=r[n].value),"span",0)?t:rs+ry(t,"-start","")+t+rs+"grid-row-span:"+(~rw(r,"span",0)?rv(r,/\d+/):rv(r,/\d+/)-rv(t,/\d+/))+";";return rs+ry(t,"-start","")+t;case 4896:case 4128:return r&&r.some(function(e){return rv(e.props,/grid-\w+-start/)})?t:rs+ry(ry(t,"-end","-span"),"span ","")+t;case 4095:case 3583:case 4068:case 2532:return ry(t,/(.+)-inline(.+)/,rd+"$1$2")+t;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(rC(t)-1-n>6)switch(rb(t,n+1)){case 109:if(45!==rb(t,n+4))break;case 102:return ry(t,/(.+:)(.+)-([^]+)/,"$1"+rd+"$2-$3$1"+rl+(108==rb(t,n+3)?"$3":"$2-$3"))+t;case 115:return~rw(t,"stretch",0)?e(ry(t,"stretch","fill-available"),n,r)+t:t}break;case 5152:case 5920:return ry(t,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(e,n,r,o,i,a,s){return rs+n+":"+r+s+(o?rs+n+"-span:"+(i?a:a-r)+s:"")+t});case 4949:if(121===rb(t,n+6))return ry(t,":",":"+rd)+t;break;case 6444:switch(rb(t,45===rb(t,14)?18:11)){case 120:return ry(t,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+rd+(45===rb(t,14)?"inline-":"")+"box$3$1"+rd+"$2$3$1"+rs+"$2box$3")+t;case 100:return ry(t,":",":"+rs)+t}break;case 5719:case 2647:case 2135:case 3927:case 2391:return ry(t,"scroll-","scroll-snap-")+t}return t}(e.value,e.length,n);return;case rh:return rz([rH(e,{value:ry(e.value,"@","@"+rd)})],r);case ru:if(e.length){var o,i;return o=n=e.props,i=function(t){switch(rv(t,r=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":rV(rH(e,{props:[ry(t,/:(read-\w+)/,":"+rl+"$1")]})),rV(rH(e,{props:[t]})),rm(e,{props:rj(n,r)});break;case"::placeholder":rV(rH(e,{props:[ry(t,/:(plac\w+)/,":"+rd+"input-$1")]})),rV(rH(e,{props:[ry(t,/:(plac\w+)/,":"+rl+"$1")]})),rV(rH(e,{props:[ry(t,/:(plac\w+)/,rs+"input-$1")]})),rV(rH(e,{props:[t]})),rm(e,{props:rj(n,r)})}return""},o.map(i).join("")}}}function rN(e,t,n,r,o,i,a,s,l,d,c,u){for(var f=o-1,h=0===o?i:[""],p=h.length,g=0,m=0,v=0;g<r;++g)for(var y=0,w=rx(e,f+1,f=rp(m=a[g])),b=e;y<p;++y)(b=(m>0?h[y]+" "+w:ry(w,/&\f/g,h[y])).trim())&&(l[v++]=b);return r$(e,t,n,0===o?ru:s,l,d,c,u)}function rP(e,t,n,r,o){return r$(e,t,n,rf,rx(e,0,r),rx(e,r+1,-1),r,o)}var rZ={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},rF=void 0!==rr.default&&void 0!==rr.default.env&&(rr.default.env.REACT_APP_SC_ATTR||rr.default.env.SC_ATTR)||"data-styled",rD="active",rq="data-styled-version",rU="6.1.19",rG="/*!sc*/\n",rY="undefined"!=typeof window&&"undefined"!=typeof document,rK=!!("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:void 0!==rr.default&&void 0!==rr.default.env&&void 0!==rr.default.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==rr.default.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==rr.default.env.REACT_APP_SC_DISABLE_SPEEDY&&rr.default.env.REACT_APP_SC_DISABLE_SPEEDY:void 0!==rr.default&&void 0!==rr.default.env&&void 0!==rr.default.env.SC_DISABLE_SPEEDY&&""!==rr.default.env.SC_DISABLE_SPEEDY&&"false"!==rr.default.env.SC_DISABLE_SPEEDY&&rr.default.env.SC_DISABLE_SPEEDY),rX=Object.freeze([]),rJ=Object.freeze({}),rQ=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),r1=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,r0=/(^-|-$)/g;function r5(e){return e.replace(r1,"-").replace(r0,"")}var r2=/(a)(d)/gi,r3=function(e){return String.fromCharCode(e+(e>25?39:97))};function r4(e){var t,n="";for(t=Math.abs(e);t>52;t=t/52|0)n=r3(t%52)+n;return(r3(t%52)+n).replace(r2,"$1-$2")}var r6,r8,r9,r7,oe,ot=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},on=function(e){return ot(5381,e)};function or(e){return"string"==typeof e}var oo="function"==typeof Symbol&&Symbol.for,oi=oo?Symbol.for("react.memo"):60115,oa=oo?Symbol.for("react.forward_ref"):60112,os={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},ol={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},od={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},oc=((oe={})[oa]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},oe[oi]=od,oe);function ou(e){return("type"in e&&e.type.$$typeof)===oi?od:"$$typeof"in e?oc[e.$$typeof]:os}var of=Object.defineProperty,oh=Object.getOwnPropertyNames,op=Object.getOwnPropertySymbols,og=Object.getOwnPropertyDescriptor,om=Object.getPrototypeOf,ov=Object.prototype;function oy(e){return"function"==typeof e}function ow(e){return"object"==typeof e&&"styledComponentId"in e}function ob(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function ox(e,t){if(0===e.length)return"";for(var n=e[0],r=1;r<e.length;r++)n+=t?t+e[r]:e[r];return n}function oC(e){return null!==e&&"object"==typeof e&&e.constructor.name===Object.name&&!("props"in e&&e.$$typeof)}function ok(e,t){Object.defineProperty(e,"toString",{value:t})}function oj(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(e," for more information.").concat(t.length>0?" Args: ".concat(t.join(", ")):""))}var oM=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}return e.prototype.indexOfGroup=function(e){for(var t=0,n=0;n<e;n++)t+=this.groupSizes[n];return t},e.prototype.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var n=this.groupSizes,r=n.length,o=r;e>=o;)if((o<<=1)<0)throw oj(16,"".concat(e));this.groupSizes=new Uint32Array(o),this.groupSizes.set(n),this.length=o;for(var i=r;i<o;i++)this.groupSizes[i]=0}for(var a=this.indexOfGroup(e+1),s=(i=0,t.length);i<s;i++)this.tag.insertRule(a,t[i])&&(this.groupSizes[e]++,a++)},e.prototype.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],n=this.indexOfGroup(e),r=n+t;this.groupSizes[e]=0;for(var o=n;o<r;o++)this.tag.deleteRule(n)}},e.prototype.getGroup=function(e){var t="";if(e>=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],r=this.indexOfGroup(e),o=r+n,i=r;i<o;i++)t+="".concat(this.tag.getRule(i)).concat(rG);return t},e}(),oL=new Map,oS=new Map,o_=1,oR=function(e){if(oL.has(e))return oL.get(e);for(;oS.has(o_);)o_++;var t=o_++;return oL.set(e,t),oS.set(t,e),t},oE=function(e,t){o_=t+1,oL.set(e,t),oS.set(t,e)},o$="style[".concat(rF,"][").concat(rq,'="').concat(rU,'"]'),oH=new RegExp("^".concat(rF,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),oV=function(e,t,n){for(var r,o=n.split(","),i=0,a=o.length;i<a;i++)(r=o[i])&&e.registerName(t,r)},oI=function(e,t){for(var n,r=(null!=(n=t.textContent)?n:"").split(rG),o=[],i=0,a=r.length;i<a;i++){var s=r[i].trim();if(s){var l=s.match(oH);if(l){var d=0|parseInt(l[1],10),c=l[2];0!==d&&(oE(c,d),oV(e,c,l[3]),e.getTag().insertRules(d,o)),o.length=0}else o.push(s)}}},oO=function(e){for(var t=document.querySelectorAll(o$),n=0,r=t.length;n<r;n++){var o=t[n];o&&o.getAttribute(rF)!==rD&&(oI(e,o),o.parentNode&&o.parentNode.removeChild(o))}};function oA(){return"undefined"!=typeof __webpack_nonce__?__webpack_nonce__:null}var oB=function(e){var t,n=document.head,r=e||n,o=document.createElement("style"),i=(t=Array.from(r.querySelectorAll("style[".concat(rF,"]"))))[t.length-1],a=void 0!==i?i.nextSibling:null;o.setAttribute(rF,rD),o.setAttribute(rq,rU);var s=oA();return s&&o.setAttribute("nonce",s),r.insertBefore(o,a),o},oz=function(){function e(e){this.element=oB(e),this.element.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,n=0,r=t.length;n<r;n++){var o=t[n];if(o.ownerNode===e)return o}throw oj(17)}(this.element),this.length=0}return e.prototype.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return!1}},e.prototype.deleteRule=function(e){this.sheet.deleteRule(e),this.length--},e.prototype.getRule=function(e){var t=this.sheet.cssRules[e];return t&&t.cssText?t.cssText:""},e}(),oT=function(){function e(e){this.element=oB(e),this.nodes=this.element.childNodes,this.length=0}return e.prototype.insertRule=function(e,t){if(e<=this.length&&e>=0){var n=document.createTextNode(t);return this.element.insertBefore(n,this.nodes[e]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},e.prototype.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},e}(),oW=function(){function e(e){this.rules=[],this.length=0}return e.prototype.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,!0)},e.prototype.deleteRule=function(e){this.rules.splice(e,1),this.length--},e.prototype.getRule=function(e){return e<this.length?this.rules[e]:""},e}(),oN=rY,oP={isServer:!rY,useCSSOMInjection:!rK},oZ=function(){function e(e,t,n){void 0===e&&(e=rJ),void 0===t&&(t={});var r=this;this.options=ro(ro({},oP),e),this.gs=t,this.names=new Map(n),this.server=!!e.isServer,!this.server&&rY&&oN&&(oN=!1,oO(this)),ok(this,function(){for(var e=r.getTag(),t=e.length,n="",o=0;o<t;o++)!function(t){var o=oS.get(t);if(void 0===o)return;var i=r.names.get(o),a=e.getGroup(t);if(void 0!==i&&i.size&&0!==a.length){var s="".concat(rF,".g").concat(t,'[id="').concat(o,'"]'),l="";void 0!==i&&i.forEach(function(e){e.length>0&&(l+="".concat(e,","))}),n+="".concat(a).concat(s,'{content:"').concat(l,'"}').concat(rG)}}(o);return n})}return e.registerId=function(e){return oR(e)},e.prototype.rehydrate=function(){!this.server&&rY&&oO(this)},e.prototype.reconstructWithOptions=function(t,n){return void 0===n&&(n=!0),new e(ro(ro({},this.options),t),this.gs,n&&this.names||void 0)},e.prototype.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},e.prototype.getTag=function(){var e,t,n;return this.tag||(this.tag=(t=(e=this.options).useCSSOMInjection,n=e.target,new oM(e.isServer?new oW(n):t?new oz(n):new oT(n))))},e.prototype.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},e.prototype.registerName=function(e,t){if(oR(e),this.names.has(e))this.names.get(e).add(t);else{var n=new Set;n.add(t),this.names.set(e,n)}},e.prototype.insertRules=function(e,t,n){this.registerName(e,t),this.getTag().insertRules(oR(e),n)},e.prototype.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},e.prototype.clearRules=function(e){this.getTag().clearGroup(oR(e)),this.clearNames(e)},e.prototype.clearTag=function(){this.tag=void 0},e}(),oF=/&/g,oD=/^\s*\/\/.*$/gm;function oq(e){var t,n,r,o=void 0===e?rJ:e,i=o.options,a=void 0===i?rJ:i,s=o.plugins,l=void 0===s?rX:s,d=function(e,r,o){return o.startsWith(n)&&o.endsWith(n)&&o.replaceAll(n,"").length>0?".".concat(t):e},c=l.slice();c.push(function(e){e.type===ru&&e.value.includes("&")&&(e.props[0]=e.props[0].replace(oF,n).replace(r,d))}),a.prefix&&c.push(rW),c.push(rT);var u=function(e,o,i,s){void 0===o&&(o=""),void 0===i&&(i=""),void 0===s&&(s="&"),t=s,n=o,r=RegExp("\\".concat(n,"\\b"),"g");var l,d,u,f,h,p,g=e.replace(oD,""),m=(h=function e(t,n,r,o,i,a,s,l,d){for(var c,u,f,h,p=0,g=0,m=s,v=0,y=0,w=0,b=1,x=1,C=1,k=0,j="",M=i,L=a,S=o,_=j;x;)switch(w=k,k=rI()){case 40:if(108!=w&&58==rb(_,m-1)){-1!=rw(_+=ry(rB(k),"&","&\f"),"&\f",rp(p?l[p-1]:0))&&(C=-1);break}case 34:case 39:case 91:_+=rB(k);break;case 9:case 10:case 13:case 32:_+=function(e){for(;rR=rO();)if(rR<33)rI();else break;return rA(e)>2||rA(rR)>3?"":" "}(w);break;case 92:_+=function(e,t){for(var n;--t&&rI()&&!(rR<48)&&!(rR>102)&&(!(rR>57)||!(rR<65))&&(!(rR>70)||!(rR<97)););return n=r_+(t<6&&32==rO()&&32==rI()),rx(rE,e,n)}(r_-1,7);continue;case 47:switch(rO()){case 42:case 47:rk((c=function(e,t){for(;rI();)if(e+rR===57)break;else if(e+rR===84&&47===rO())break;return"/*"+rx(rE,t,r_-1)+"*"+rg(47===e?e:rI())}(rI(),r_),u=n,f=r,h=d,r$(c,u,f,rc,rg(rR),rx(c,2,-2),0,h)),d);break;default:_+="/"}break;case 123*b:l[p++]=rC(_)*C;case 125*b:case 59:case 0:switch(k){case 0:case 125:x=0;case 59+g:-1==C&&(_=ry(_,/\f/g,"")),y>0&&rC(_)-m&&rk(y>32?rP(_+";",o,r,m-1,d):rP(ry(_," ","")+";",o,r,m-2,d),d);break;case 59:_+=";";default:if(rk(S=rN(_,n,r,p,g,i,l,j,M=[],L=[],m,a),a),123===k)if(0===g)e(_,n,S,S,M,a,m,l,L);else switch(99===v&&110===rb(_,3)?100:v){case 100:case 108:case 109:case 115:e(t,S,S,o&&rk(rN(t,S,S,0,0,i,l,j,i,M=[],m,L),L),i,L,m,l,o?M:L);break;default:e(_,S,S,S,[""],L,0,l,L)}}p=g=y=0,b=C=1,j=_="",m=s;break;case 58:m=1+rC(_),y=w;default:if(b<1){if(123==k)--b;else if(125==k&&0==b++&&125==(rR=r_>0?rb(rE,--r_):0,rL--,10===rR&&(rL=1,rM--),rR))continue}switch(_+=rg(k),k*b){case 38:C=g>0?1:(_+="\f",-1);break;case 44:l[p++]=(rC(_)-1)*C,C=1;break;case 64:45===rO()&&(_+=rB(rI())),v=rO(),g=m=rC(j=_+=function(e){for(;!rA(rO());)rI();return rx(rE,e,r_)}(r_)),k++;break;case 45:45===w&&2==rC(_)&&(b=0)}}return a}("",null,null,null,[""],(f=u=i||o?"".concat(i," ").concat(o," { ").concat(g," }"):g,rM=rL=1,rS=rC(rE=f),r_=0,u=[]),0,[0],u),rE="",h);a.namespace&&(m=function e(t,n){return t.map(function(t){return"rule"===t.type&&(t.value="".concat(n," ").concat(t.value),t.value=t.value.replaceAll(",",",".concat(n," ")),t.props=t.props.map(function(e){return"".concat(n," ").concat(e)})),Array.isArray(t.children)&&"@keyframes"!==t.type&&(t.children=e(t.children,n)),t})}(m,a.namespace));var v=[];return rz(m,(d=(l=c.concat((p=function(e){return v.push(e)},function(e){!e.root&&(e=e.return)&&p(e)}))).length,function(e,t,n,r){for(var o="",i=0;i<d;
3i++)o+=l[i](e,t,n,r)||"";return o})),v};return u.hash=l.length?l.reduce(function(e,t){return t.name||oj(15),ot(e,t.name)},5381).toString():"",u}var oU=new oZ,oG=oq(),oY=ne.default.createContext({shouldForwardProp:void 0,styleSheet:oU,stylis:oG}),oK=(oY.Consumer,ne.default.createContext(void 0));function oX(){return(0,ne.useContext)(oY)}function oJ(e){var t=(0,ne.useState)(e.stylisPlugins),n=t[0],r=t[1],o=oX().styleSheet,i=(0,ne.useMemo)(function(){var t=o;return e.sheet?t=e.sheet:e.target&&(t=t.reconstructWithOptions({target:e.target},!1)),e.disableCSSOMInjection&&(t=t.reconstructWithOptions({useCSSOMInjection:!1})),t},[e.disableCSSOMInjection,e.sheet,e.target,o]),a=(0,ne.useMemo)(function(){return oq({options:{namespace:e.namespace,prefix:e.enableVendorPrefixes},plugins:n})},[e.enableVendorPrefixes,e.namespace,n]);(0,ne.useEffect)(function(){(0,ra.default)(n,e.stylisPlugins)||r(e.stylisPlugins)},[e.stylisPlugins]);var s=(0,ne.useMemo)(function(){return{shouldForwardProp:e.shouldForwardProp,styleSheet:i,stylis:a}},[e.shouldForwardProp,i,a]);return ne.default.createElement(oY.Provider,{value:s},ne.default.createElement(oK.Provider,{value:a},e.children))}var oQ=function(){function e(e,t){var n=this;this.inject=function(e,t){void 0===t&&(t=oG);var r=n.name+t.hash;e.hasNameForId(n.id,r)||e.insertRules(n.id,r,t(n.rules,r,"@keyframes"))},this.name=e,this.id="sc-keyframes-".concat(e),this.rules=t,ok(this,function(){throw oj(12,String(n.name))})}return e.prototype.getName=function(e){return void 0===e&&(e=oG),this.name+e.hash},e}();function o1(e){for(var t="",n=0;n<e.length;n++){var r=e[n];if(1===n&&"-"===r&&"-"===e[0])return e;r>="A"&&r<="Z"?t+="-"+r.toLowerCase():t+=r}return t.startsWith("ms-")?"-"+t:t}var o0=function(e){return null==e||!1===e||""===e},o5=function(e){var t=[];for(var n in e){var r=e[n];e.hasOwnProperty(n)&&!o0(r)&&(Array.isArray(r)&&r.isCss||oy(r)?t.push("".concat(o1(n),":"),r,";"):oC(r)?t.push.apply(t,ri(ri(["".concat(n," {")],o5(r),!1),["}"],!1)):t.push("".concat(o1(n),": ").concat(null==r||"boolean"==typeof r||""===r?"":"number"!=typeof r||0===r||n in rZ||n.startsWith("--")?String(r).trim():"".concat(r,"px"),";")))}return t};function o2(e,t,n,r){if(o0(e))return[];if(ow(e))return[".".concat(e.styledComponentId)];if(oy(e))return!oy(e)||e.prototype&&e.prototype.isReactComponent||!t?[e]:o2(e(t),t,n,r);return e instanceof oQ?n?(e.inject(n,r),[e.getName(r)]):[e]:oC(e)?o5(e):Array.isArray(e)?Array.prototype.concat.apply(rX,e.map(function(e){return o2(e,t,n,r)})):[e.toString()]}function o3(e){for(var t=0;t<e.length;t+=1){var n=e[t];if(oy(n)&&!ow(n))return!1}return!0}var o4=on(rU),o6=function(){function e(e,t,n){this.rules=e,this.staticRulesId="",this.isStatic=(void 0===n||n.isStatic)&&o3(e),this.componentId=t,this.baseHash=ot(o4,t),this.baseStyle=n,oZ.registerId(t)}return e.prototype.generateAndInjectStyles=function(e,t,n){var r=this.baseStyle?this.baseStyle.generateAndInjectStyles(e,t,n):"";if(this.isStatic&&!n.hash)if(this.staticRulesId&&t.hasNameForId(this.componentId,this.staticRulesId))r=ob(r,this.staticRulesId);else{var o=ox(o2(this.rules,e,t,n)),i=r4(ot(this.baseHash,o)>>>0);if(!t.hasNameForId(this.componentId,i)){var a=n(o,".".concat(i),void 0,this.componentId);t.insertRules(this.componentId,i,a)}r=ob(r,i),this.staticRulesId=i}else{for(var s=ot(this.baseHash,n.hash),l="",d=0;d<this.rules.length;d++){var c=this.rules[d];if("string"==typeof c)l+=c;else if(c){var u=ox(o2(c,e,t,n));s=ot(s,u+d),l+=u}}if(l){var f=r4(s>>>0);t.hasNameForId(this.componentId,f)||t.insertRules(this.componentId,f,n(l,".".concat(f),void 0,this.componentId)),r=ob(r,f)}}return r},e}(),o8=ne.default.createContext(void 0);function o9(e){var t=ne.default.useContext(o8),n=(0,ne.useMemo)(function(){var n=e.theme;if(!n)throw oj(14);if(oy(n))return n(t);if(Array.isArray(n)||"object"!=typeof n)throw oj(8);return t?ro(ro({},t),n):n},[e.theme,t]);return e.children?ne.default.createElement(o8.Provider,{value:n},e.children):null}o8.Consumer;var o7={};function ie(e,t,n){var r,o,i,a,s=ow(e),l=!or(e),d=t.attrs,c=void 0===d?rX:d,u=t.componentId,f=void 0===u?(r=t.displayName,o=t.parentComponentId,o7[i="string"!=typeof r?"sc":r5(r)]=(o7[i]||0)+1,a="".concat(i,"-").concat(r4(on(rU+i+o7[i])>>>0)),o?"".concat(o,"-").concat(a):a):u,h=t.displayName,p=void 0===h?or(e)?"styled.".concat(e):"Styled(".concat(e.displayName||e.name||"Component",")"):h,g=t.displayName&&t.componentId?"".concat(r5(t.displayName),"-").concat(t.componentId):t.componentId||f,m=s&&e.attrs?e.attrs.concat(c).filter(
3Boolean):c,v=t.shouldForwardProp;if(s&&e.shouldForwardProp){var y=e.shouldForwardProp;if(t.shouldForwardProp){var w=t.shouldForwardProp;v=function(e,t){return y(e,t)&&w(e,t)}}else v=y}var b=new o6(n,g,s?e.componentStyle:void 0);function x(e,t){return function(e,t,n){var r,o,i=e.attrs,a=e.componentStyle,s=e.defaultProps,l=e.foldedComponentIds,d=e.styledComponentId,c=e.target,u=ne.default.useContext(o8),f=oX(),h=e.shouldForwardProp||f.shouldForwardProp,p=(void 0===(r=s)&&(r=rJ),t.theme!==r.theme&&t.theme||u||r.theme||rJ),g=function(e,t,n){for(var r,o=ro(ro({},t),{className:void 0,theme:n}),i=0;i<e.length;i+=1){var a=oy(r=e[i])?r(o):r;for(var s in a)o[s]="className"===s?ob(o[s],a[s]):"style"===s?ro(ro({},o[s]),a[s]):a[s]}return t.className&&(o.className=ob(o.className,t.className)),o}(i,t,p),m=g.as||c,v={};for(var y in g)void 0===g[y]||"$"===y[0]||"as"===y||"theme"===y&&g.theme===p||("forwardedAs"===y?v.as=g.forwardedAs:h&&!h(y,m)||(v[y]=g[y]));var w=(o=oX(),a.generateAndInjectStyles(g,o.styleSheet,o.stylis)),b=ob(l,d);return w&&(b+=" "+w),g.className&&(b+=" "+g.className),v[or(m)&&!rQ.has(m)?"class":"className"]=b,n&&(v.ref=n),(0,ne.createElement)(m,v)}(C,e,t)}x.displayName=p;var C=ne.default.forwardRef(x);return C.attrs=m,C.componentStyle=b,C.displayName=p,C.shouldForwardProp=v,C.foldedComponentIds=s?ob(e.foldedComponentIds,e.styledComponentId):"",C.styledComponentId=g,C.target=s?e.target:e,Object.defineProperty(C,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(t){this._foldedDefaultProps=s?function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var r=0;r<t.length;r++)!function e(t,n,r){if(void 0===r&&(r=!1),!r&&!oC(t)&&!Array.isArray(t))return n;if(Array.isArray(n))for(var o=0;o<n.length;o++)t[o]=e(t[o],n[o]);else if(oC(n))for(var o in n)t[o]=e(t[o],n[o]);return t}(e,t[r],!0);return e}({},e.defaultProps,t):t}}),ok(C,function(){return".".concat(C.styledComponentId)}),l&&function e(t,n,r){if("string"!=typeof n){if(ov){var o=om(n);o&&o!==ov&&e(t,o,r)}var i=oh(n);op&&(i=i.concat(op(n)));for(var a=ou(t),s=ou(n),l=0;l<i.length;++l){var d=i[l];if(!(d in ol||r&&r[d]||s&&d in s||a&&d in a)){var c=og(n,d);try{of(t,d,c)}catch(e){}}}}return t}(C,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),C}function it(e,t){for(var n=[e[0]],r=0,o=t.length;r<o;r+=1)n.push(t[r],e[r+1]);return n}var ir=function(e){return Object.assign(e,{isCss:!0})};function io(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return oy(e)||oC(e)?ir(o2(it(rX,ri([e],t,!0)))):0===t.length&&1===e.length&&"string"==typeof e[0]?o2(e):ir(o2(it(e,t)))}var ii=function(e){return function e(t,n,r){if(void 0===r&&(r=rJ),!n)throw oj(1,n);var o=function(e){for(var o=[],i=1;i<arguments.length;i++)o[i-1]=arguments[i];return t(n,r,io.apply(void 0,ri([e],o,!1)))};return o.attrs=function(o){return e(t,n,ro(ro({},r),{attrs:Array.prototype.concat(r.attrs,o).filter(Boolean)}))},o.withConfig=function(o){return e(t,n,ro(ro({},r),o))},o}(ie,e)};function ia(e,t){this.rules=e,this.componentId=t,this.isStatic=o3(e),oZ.registerId(this.componentId+1)}function is(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r=ox(io.apply(void 0,ri([e],t,!1)));return new oQ(r4(on(r)>>>0),r)}function il(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString();if(!t)return"";var n=oA(),r=ox([n&&'nonce="'.concat(n,'"'),"".concat(rF,'="true"'),"".concat(rq,'="').concat(rU,'"')].filter(Boolean)," ");return"<style ".concat(r,">").concat(t,"</style>")},this.getStyleTags=function(){if(e.sealed)throw oj(2);return e._emitSheetCSS()}
3,this.getStyleElement=function(){if(e.sealed)throw oj(2);var t,n=e.instance.toString();if(!n)return[];var r=((t={})[rF]="",t[rq]=rU,t.dangerouslySetInnerHTML={__html:n},t),o=oA();return o&&(r.nonce=o),[ne.default.createElement("style",ro({},r,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new oZ({isServer:!0}),this.sealed=!1}rQ.forEach(function(e){ii[e]=ii(e)}),ia.prototype.createStyles=function(e,t,n,r){var o=r(ox(o2(this.rules,t,n,r)),""),i=this.componentId+e;n.insertRules(i,i,o)},ia.prototype.removeStyles=function(e,t){t.clearRules(this.componentId+e)},ia.prototype.renderStyles=function(e,t,n,r){e>2&&oZ.registerId(this.componentId+e),this.removeStyles(e,n),this.createStyles(e,t,n,r)},il.prototype.collectStyles=function(e){if(this.sealed)throw oj(2);return ne.default.createElement(oJ,{sheet:this.instance},e)},il.prototype.interleaveWithNodeStream=function(e){throw oj(3)};var id=e.i(19675);let ic=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"access-denied",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{d:"M18.1568 6.84315C21.281 9.96734 21.281 15.0327 18.1568 18.1569C15.0326 21.281 9.96733 21.281 6.84313 18.1569C3.71894 15.0327 3.71894 9.96734 6.84313 6.84315C9.96733 3.71895 15.0326 3.71895 18.1568 6.84315ZM18.1568 6.84315L6.844 18.156",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),iu=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"activity",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{d:"M21 15H19L15.5 7L11 18L8 12L6 15H4",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),ih=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"add-circle",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{d:"M8 12.4H17M12.5 8V17M20.5 12.5C20.5 16.9183 16.9183 20.5 12.5 20.5C8.08172 20.5 4.5 16.9183 4.5 12.5C4.5 8.08172 8.08172 4.5 12.5 4.5C16.9183 4.5 20.5 8.08172 20.5 12.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),ip=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"add-comment",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{d:"M13 6.5H7.5C6.39543 6.5 5.5 7.39543 5.5 8.5V14.5C5.5 15.6046 6.39543 16.5 7.5 16.5H9.5V20.5L13.5 16.5H16.5C17.6046 16.5 18.5 15.6046 18.5 14.5V12M15 6.5H22M18.5 10V3",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),ig=(0,ne.forwardRef)(function(e,t){return(0,E.jsxs)("svg",{"data-sanity-icon":"add-document",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,E.jsx)("path",{d:"M11.5 4.5V9.5H6.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,E.jsx)("path",{d:"M11.5 4.5H18.5V12M11.5 4.5L6.5 9.5M11.5 4.5V9.5H6.5M6.5 9.5V19.5H11M20 17.5H16.5M16.5 17.5H13M16.5 17.5V14M16.5 17.5V21",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),im=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"add",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{d:"M12.5 5V20M5 12.5H20",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),iv=(0,ne.forwardRef)(function(e,t){return(0,E.jsxs)("svg",{"data-sanity-icon":"add-user",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,E.jsx)("path",{d:"M7.17857 15.2368C6.10714 15.7632 4.5 16.8158 4.5 20.5H19.5C19.5 16.8158 18.2589 15.943 16.8214 15.2368C15.75 14.7105 13.6071 14.7105 13.6071 13.1316C13.6071 11.5526 14.6786 10.7632 14.6786 8.65789C14.6786 6.55263 13.6071 5.5 12 5.5C10.3929 5.5 9.32142 6.55263 9.32142 8.65789C9.32142 10.7632 10.3929 11.5526 10.3929 13.1316C10.3929 14.7105 8.25 14.7105 7.17857 15.2368Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,E.jsx)("path",{d:"M20.5 6V13M17 9.5H24",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),iy=(0,ne.forwardRef)(function(e,t){return(0,E.jsxs)("svg",{"data-sanity-icon":"api",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,E.jsx)("path",{d:"M5.93047 13.2107L6.66782 10.3728H6.73089L7.45854 13.2107H5.93047ZM8.17164 16H9.66089L7.56041 9H5.93047L3.82999 16H5.20767L5.65396 14.2876H7.73505L8.17164 16Z",fill:"currentColor"}),(0,E.jsx)("path",{d:"M10.5389 9V16H11.9166V13.7782H13.0323C14.541 13.7782 15.5015 12.8517 15.5015 11.3964C15.5015 9.92654 14.5701 9 13.1003 9H10.5389ZM11.9166 10.1303H12.751C13.6533 10.1303 14.1044 10.5475 14.1044 11.3867C14.1044 12.2308 13.6533 12.6431 12.751 12.6431H11.9166V10.1303Z",fill:"currentColor"}),(0,E.jsx)("path",{d:"M21.1675 16V14.8164H19.717V10.1836H21.1675V9H16.8889V10.1836H18.3393V14.8164H16.8889V16H21.1675Z",fill:"currentColor"})]})}),iw=(0,ne.forwardRef)(function(e,t){return(0,E.jsxs)("svg",{"data-sanity-icon":"archive",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,E.jsx)("path",{d:"M12.5 10V17M20.5 7.5V20.5H4.5V7.5L7.5 4.5H17.5L20.5 7.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,E.jsx)("path",{d:"M4.5 7.5H20.5M16 14L12.5 17.5L9 14",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),ib=(0,ne.forwardRef)(function(e,t){return(0,E.jsxs)("svg",{"data-sanity-icon":"arrow-down",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,E.jsx)("path",{d:"M12.5 19.5V5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,E.jsx)("path",{d:"M18 14L12.5 19.5L7 14",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),ix=(0,ne.forwardRef)(function(e,t){return(0,E.jsxs)("svg",{"data-sanity-icon":"arrow-left",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,E.jsx)("path",{d:"M5.5 12.5H20",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,E.jsx)("path",{d:"M11 18L5.5 12.5L11 7",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),iC=(0,ne.forwardRef)(function(e,t){return(0,E.jsxs)("svg",{"data-sanity-icon":"arrow-right",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,E.jsx)("path",{d:"M19.5 12.5H5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,E.jsx)("path",{d:"M14 7L19.5 12.5L14 18",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),ik=(0,ne.forwardRef)(function(e,t){return(0,E.jsxs)("svg",{"data-sanity-icon":"arrow-top-right",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,E.jsx)("path",{d:"M16.5 8.5L7 18",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}
3),(0,E.jsx)("path",{d:"M9 8.5H16.5V16",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),ij=(0,ne.forwardRef)(function(e,t){return(0,E.jsxs)("svg",{"data-sanity-icon":"arrow-up",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,E.jsx)("path",{d:"M7 11L12.5 5.5L18 11",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,E.jsx)("path",{d:"M12.5 5.5V20",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),iM=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"asterisk",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{d:"M12.5 4V21M16.75 5.13879L8.25 19.8612M19.8612 8.25L5.13878 16.75M4.00002 12.5H21M5.13881 8.25L19.8612 16.75M8.25002 5.13879L16.75 19.8612",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),iL=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"bar-chart",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{d:"M5.5 5V19.5H20M8.5 18V13M11.5 18V9M14.5 18V11M17.5 18V7",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),iS=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"basket",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{d:"M8.5 10.5H5L6.5 19.5H18.5L20 10.5H16.5M8.5 10.5L10.2721 5.18377C10.4082 4.77543 10.7903 4.5 11.2208 4.5H13.7792C14.2097 4.5 14.5918 4.77543 14.7279 5.18377L16.5 10.5M8.5 10.5H16.5M8.5 10.5L9.5 19.5M16.5 10.5L15.5 19.5M12.5 10.5V19.5M19.5 13.5H5.5M19
316.5H6",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),i_=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"bell",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{d:"M10.5 17.5V18.5C10.5 20 11.5 20.5 12.5 20.5C13.5 20.5 14.5 20 14.5 18.5V17.5M5.5 17.5C6.5 16 6.5 15 6.5 12C6.5 8 8.5 5.5 12.5 5.5C16.5 5.5 18.5 8 18.5 12C18.5 15 18.5 16 19.5 17.5H5.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),iR=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"bill",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{d:"M6.50001 5.5C8.50003 5.5 8.50003 8 8.50003 8V9.5M6.50001 5.5C4.5 5.5 4.5 8 4.5 8L4.50001 9.5H8.50003M6.50001 5.5C6.50001 5.5 15.8333 5.5 17.6667 5.5C19.5 5.5 19.5 8.5 19.5 8.5V20L17.6667 19L15.8333 20L14 19L12.1667 20L10.3334 19L8.50003 20V9.5M11 12.5H15M11 9.5H16M11 15.5H16",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),iE=(0,ne.forwardRef)(function(e,t){return(0,E.jsxs)("svg",{"data-sanity-icon":"binary-document",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,E.jsx)("path",{d:"M11.5 4.5V9.5H6.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,E.jsx)("path",{d:"M9.5 12.5V17.5M11.5 4.5H18.5V20.5H6.5V9.5L11.5 4.5ZM12.5 12.5V17.5H15.5V12.5H12.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinecap:"square",strokeLinejoin:"round"})]})}),i$=(0,ne.forwardRef)(function(e,t){return(0,E.jsxs)("svg",{"data-sanity-icon":"block-content",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,E.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M21 7.60002L11 7.60003V6.40003L21 6.40002V7.60002Z",fill:"currentColor"}),(0,E.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M21 11.2667L12.4833 11.2667V10.0667L21 10.0667V11.2667Z",fill:"currentColor"}),(0,E.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M21 14.9334H13.9254V13.7334L21 13.7334V14.9334Z",fill:"currentColor"}),(0,E.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M21 18.6002H4V17.4002H21V18.6002Z",fill:"currentColor"}),(0,E.jsx)("path",{d:"M9.86438 15.6H11.2L8.27623 7.60003H6.92377L4 15.6H5.29072L6.0371 13.4767H9.12362L9.86438 15.6ZM7.53546 9.05255H7.63086L8.80374 12.4344H6.35698L7.53546 9.05255Z",fill:"currentColor"})]})}),iH=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"block-element",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{d:"M5 19.5H20M5 5.5H20M6.5 8.5H18.5V16.5H6.5V8.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),iV=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"blockquote",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{d:"M10 17.5H19M6 7.5H19M10 12.5H17M6.5 12V18",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),iI=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"bold",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{d:"M13.2087 18C15.5322 18 16.9731 16.793 16.9731 14.8844C16.9731 13.4812 15.9245 12.3949 14.4836 12.2892V12.1534C15.6001 11.9875 16.4526 10.9841 16.4526 9.82991C16.4526 8.14761 15.1927 7.11409 13.0804 7.11409H8.32019V18H13.2087ZM10.5985 8.85674H12.4995C13.5859 8.85674 14.212 9.37727 14.212 10.2448C14.212 11.1199 13.5406 11.6254 12.3109 11.6254H10.5985V8.85674ZM10.5985 16.2574V13.1643H12.575C13.9178 13.1643 14.6496 13.6924 14.6496 14.6882C14.6496 15.7066 13.9404 16.2574 12.6278 16.2574H10.5985Z",fill:"currentColor"})})}),iO=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"bolt",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{d:"M18 11.5L9 21L11 13.5H7L16 4L14 11.5H18Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),iA=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"book",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{d:"M19.5 18V7C19.5 7 18.5 6.5 16.5 6.5C14.5 6.5 12.5 7.5 12.5 7.5M19.5 18V18.5C19.5 18.5 18 18.5 16 18.5C14 18.5 12.5 18.5 12.5 18.5M19.5 18C19.5 18 18.5 17.5 16.5 17.5C14.5 17.5 12.5 18.5 12.5 18.5M5.5 18V7C5.5 7 6.5 6.5 8.5 6.5C10.5 6.5 12.5 7.5 12.5 7.5M5.5 18V18.5C5.5 18.5 7 18.5 9 18.5C11 18.5 12.5 18.5 12.5 18.5M5.5 18C5.5 18 6.5 17.5 8.5 17.5C10.5 17.5 12.5 18.5 12.5 18.5M12.5 18.5V7.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),iB=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"bookmark-filled",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{d:"M7.5 6.5V19.5L12.5 14.5L17.5 19.5V6.5C17.5 5.94772 17.0523 5.5 16.5 5.5H8.5C7.94772 5.5 7.5 5.94772 7.5 6.5Z",fill:"currentColor",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),iz=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"bookmark",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{d:"M7.5 6.5V19.5L12.5 14.5L17.5 19.5V6.5C17.5 5.94772 17.0523 5.5 16.5 5.5H8.5C7.94772 5.5 7.5 5.94772 7.5 6.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),iT=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"bottle",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{d:"M7.5 17.5L17.5 17.5M17.5 13C17.5 12.087 17.5 11.3518 17.5 11C17.5 8.5 14.5 9 14.5 7.37494L14.5 5.5M17.5 13C17.5 15.1229 17.5 18.7543 17.5 20.5022C17.5 21.0545 17.0523 21.5 16.5 21.5L8.5 21.5C7.94772 21.5 7.5 21.0547 7.5 20.5024C7.5 18.8157 7.5 15.3546 7.5 13M17.5 13L7.5 13M7.5 13C7.5 12.2538 7.5 11.5648 7.5 11C7.5 8.5 10.5 9 10.5 7.37494L10.5 5.5M10.5 5.5L10.5 3.99999C10.5 3.72385 10.7239 3.49999 11 3.49999L14 3.49999C14.2761 3.49999 14.5 3.72385 14.5 3.99999L14.5 5.5M10.5 5.5L14.5 5.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),iW=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"bug",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{d:"M8.5 9.5V8.9C8.16863 8.9 7.9 9.16863 7.9 9.5H8.5ZM16.5 9.5H17.1C17.1 9.16863 16.8314 8.9 16.5 8.9V9.5ZM8.5 10.1H9.5V8.9H8.5V10.1ZM9.5 10.1H15.5V8.9H9.5V10.1ZM15.5 10.1H16.5V8.9H15.5V10.1ZM15.9 9.5V13.5H17.1V9.5H15.9ZM15.9 13.5C15.9 14.395 15.678 15.0264 15.3758 15.4797C15.0711 15.9367 14.6605 16.2489 14.2317 16.4633C13.8005 16.6789 13.3621 16.7897 13.0264 16.8457C12.8599 16.8734 12.7226 16.887 12.6291 16.8937C12.5825 16.897 12.5472 16.8986 12.5249 16.8994C12.5138 16.8997 12.506 16.8999 12.5018 16.9C12.4997 16.9 12.4984 16.9 12.4981 16.9C12.498 16.9 12.4981 16.9 12.4984 16.9C12.4985 16.9 12.4987 16.9 12.499 16.9C12.4991 16.9 12.4994 16.9 12.4995 16.9C12.4997 16.9 12.5 16.9 12.5 17.5C12.5 18.1 12.5003 18.1 12.5006 18.1C12.5008 18.1 12.5011 18.1 12.5014 18.1C12.5019 18.1 12.5025 18.1 12.5031 18.1C12.5044 18.1 12.5059 18.1 12.5077 18.1C12.5112 18.0999 12.5157 18.0999 12.5212 18.0998C12.532 18.0996 12.5467 18.0993 12.5649 18.0987C12.6013 18.0975 12.6519 18.0951 12.7146 18.0907C12.8399 18.0817 13.0151 18.0641 13.2236 18.0293C13.6379 17.9603 14.1995 17.8211 14.7683 17.5367C15.3395 17.2511 15.9289 16.8133 16.3742 16.1453C16.822 15.4736 17.1 14.605 17.1 13.5H15.9ZM12.5 17.5C12.5 16.9 12.5003 16.9 12.5005 16.9C12.5006 16.9 12.5009 16.9 12.501 16.9C12.5013 16.9 12.5015 16.9 12.5016 16.9C12.5019 16.9 12.502 16.9 12.5019 16.9C12.5016 16.9 12.5003 16.9 12.4982 16.9C12.494 16.8999 12.4862 16.8997 12.4751 16.8994C12.4528 16.8986 12.4175 16.897 12.3709 16.8937C12.2774 16.887 12.1401 16.8734 11.9736 16.8457C11.6379 16.7897 11.1995 16.6789 10.7683 16.4633C10.3395 16.2489 9.92894 15.9367 9.62423 15.4797C9.32203 15.0264 9.1 14.395 9.1 13.5H7.9C7.9 14.605 8.17797 15.4736 8.62577 16.1453C9.07106 16.8133 9.66049 17.2511 10.2317 17.5367C10.8005 17.8211 11.3621 17.9603 11.7764 18.0293C11.9849 18.0641 12.1601 18.0817 12.2854 18.0907C12.3481 18.0951 12.3987 18.0975 12.4351 18.0987C12.4533 18.0993 12.468 18.0996 12.4788 18.0998C12.4843 18.0999 12.4888 18.0999 12.4923 18.1C12.4941 18.1 12.4956 18.1 12.4969 18.1C12.4975 18.1 12.4981 18.1 12.4986 18.1C12.4989 18.1 12.4992 18.1 12.4994 18.1C12.4997 18.1 12.5 18.1 12.5 17.5ZM9.1 13.5V9.5H7.9V13.5H9.1Z
3M9.5 9.5C10.1 9.5 10.1 9.50028 10.1 9.50055C10.1 9.50063 10.1 9.50089 10.1 9.50104C10.1 9.50134 10.1 9.5016 10.1 9.50182C10.1 9.50225 10.1 9.5025 10.1 9.50259C10.1 9.50276 10.1 9.50224 10.1 9.50107C10.1001 9.49872 10.1002 9.49374 10.1004 9.4863C10.1009 9.4714 10.102 9.44678 10.1043 9.41384C10.1091 9.34776 10.1188 9.24944 10.1387 9.12989C10.179 8.88793 10.2586 8.5745 10.4117 8.26833C10.5636 7.96451 10.782 7.67894 11.0984 7.46798C11.4111 7.25953 11.855 7.1 12.5 7.1V5.9C11.645 5.9 10.9639 6.11547 10.4328 6.46952C9.90549 6.82106 9.56143 7.28549 9.33834 7.73167C9.11643 8.1755 9.00846 8.61207 8.95504 8.93261C8.92809 9.09431 8.91438 9.23036 8.90738 9.32835C8.90388 9.37744 8.90203 9.41727 8.90107 9.44632C8.90058 9.46085 8.90031 9.47272 8.90017 9.48172C8.9001 9.48622 8.90005 9.49001 8.90003 9.49306C8.90002 9.49459 8.90001 9.49593 8.90001 9.49709C8.9 9.49767 8.9 9.4982 8.9 9.49869C8.9 9.49893 8.9 9.49926 8.9 9.49938C8.9 9.4997 8.9 9.5 9.5 9.5ZM12.5 7.1C13.145 7.1 13.5889 7.25953 13.9016 7.46798C14.218 7.67894 14.4364 7.96451 14.5883 8.26833C14.7414 8.5745 14.821 8.88793 14.8613 9.12989C14.8812 9.24944 14.8909 9.34776 14.8957 9.41384C14.898 9.44678 14.8991 9.4714 14.8996 9.4863C14.8998 9.49374 14.8999 9.49872 14.9 9.50107C14.9 9.50224 14.9 9.50276 14.9 9.50259C14.9 9.5025 14.9 9.50225 14.9 9.50182C14.9 9.5016 14.9 9.50134 14.9 9.50104C14.9 9.50089 14.9 9.50063 14.9 9.50055C14.9 9.50028 14.9 9.5 15.5 9.5C16.1 9.5 16.1 9.4997 16.1 9.49938C16.1 9.49926 16.1 9.49893 16.1 9.49869C16.1 9.4982 16.1 9.49767 16.1 9.49709C16.1 9.49593 16.1 9.49459 16.1 9.49306C16.0999 9.49001 16.0999 9.48622 16.0998 9.48172C16.0997 9.47272 16.0994 9.46085 16.0989 9.44632C16.098 9.41727 16.0961 9.37744 16.0926 9.32835C16.0856 9.23036 16.0719 9.09431 16.045 8.93261C15.9915 8.61207 15.8836 8.1755 15.6617 7.73167C15.4386 7.28549 15.0945 6.82106 14.5672 6.46952C14.0361 6.11547 13.355 5.9 12.5 5.9V7.1ZM11.9 9.5V17.5H13.1V9.5H11.9ZM8.5 9.9C7.71525 9.9 7.10887 9.51034 6.67426 9.07574C6.45859 8.86006 6.29547 8.64279 6.18673 8.47968C6.1327 8.39863 6.09302 8.33235 6.06782 8.28825C6.05524 8.26624 6.04634 8.24988 6.04113 8.24011C6.03853 8.23523 6.03685 8.232 6.0361 8.23055C6.03573 8.22983 6.03559 8.22955 6.03568 8.22973C6.03573 8.22982 6.03583 8.23003 6.03599 8.23035C6.03607 8.23051 6.03617 8.2307 6.03628 8.23092C6.03634 8.23103 6.03643 8.23122 6.03646 8.23127C6.03656 8.23147 6.03666 8.23167 5.5 8.5C4.96334 8.76833 4.96345 8.76855 4.96357 8.76877C4.96361 8.76886 4.96372 8.76909 4.96381 8.76926C4.96398 8.7696 4.96417 8.76997 4.96437 8.77038C4.96478 8.77119 4.96525 8.77212 4.96579 8.77317C4.96685 8.77527 4.96818 8.77786 4.96976 8.78092C4.97292 8.78704 4.9771 8.79505 4.98231 8.80481C4.99272 8.82434 5.00726 8.85094 5.02593 8.88362C5.06323 8.9489 5.1173 9.03887 5.18827 9.14532C5.32953 9.35721 5.54141 9.63994 5.82574 9.92426C6.39113 10.4897 7.28475 11.1 8.5 11.1V9.9ZM16.5 11.1C17.7153 11.1 18.6089 10.4897 19.1743 9.92426C19.4586 9.63994 19.6705 9.35721 19.8117 9.14532C19.8827 9.03887 19.9368 8.9489 19.9741 8.88362C19.9927 8.85094 20.0073 8.82434 20.0177 8.80481C20.0229 8.79505 20.0271 8.78704 20.0302 8.78092C20.0318 8.77786 20.0331 8.77527 20.0342 8.77317C20.0347 8.77212 20.0352 8.77119 20.0356 8.77038C20.0358 8.76997 20.036 8.7696 20.0362 8.76926C20.0363 8.76909 20.0364 8.76886 20.0364 8.76877C20.0365 8.76855 20.0367 8.76833 19.5 8.5C18.9633 8.23167 18.9634 8.23147 18.9635 8.23127C18.9636 8.23122 18.9637 8.23103 18.9637 8.23092C18.9638 8.2307 18.9639 8.23051 18.964 8.23035C18.9642 8.23003 18.9643 8.22982 18.9643 8.22973C18.9644 8.22955 18.9643 8.22983 18.9639 8.23055C18.9632 8.232 18.9615 8.23523 18.9589 8.24011C18.9537 8.24988 18.9448 8.26624 18.9322 8.28825C18.907 8.33235 18.8673 8.39863 18.8133 8.47968C18.7045 8.64279 18.5414 8.86006 18.3257 9.07574C17.8911 9.51034 17.2847 9.9 16.5 9.9V11.1ZM16.5 13.1H20V11.9H16.5V13.1ZM16.5 15.1C17.2847 15.1 17.8911 15.4897 18.3257 15.9243C18.5414 16.1399 18.7045 16.3572 18.8133 16.5203C18.8673 16.6014 18.907 16.6676 18.9322 16.7117C18.9448 16.7338 18.9537 16.7501 18.9589 16.7599C18.9615 16.7648 18.9632 16.768 18.9639 16.7694C18.9643 16.7702 18.9644 16.7705 18.9643 16.7703C18.9643 16.7702 18.9642 16.77 18.964 16.7697C18.9639 16.7695 18.9638 16.7693 18.9637 16.7691C18.9637 16.769 18.9636 16.7688 18.9635 16.7687C18.9634 16.7685 18.9633 16.7683 19.5 16.5C20.0367 16.2317 20.0365 16.2315 20.0364 16.2312C20.0364 16.2311 20.0363 16.2309 20.0362 16.2307C20.036 16.23
304 20.0358 16.23 20.0356 16.2296C20.0352 16.2288 20.0347 16.2279 20.0342 16.2268C20.0331 16.2247 20.0318 16.2221 20.0302 16.2191C20.0271 16.213 20.0229 16.205 20.0177 16.1952C20.0073 16.1757 19.9927 16.1491 19.9741 16.1164C19.9368 16.0511 19.8827 15.9611 19.8117 15.8547C19.6705 15.6428 19.4586 15.3601 19.1743 15.0757C18.6089 14.5103 17.7153 13.9 16.5 13.9V15.1ZM8.5 13.9C7.28475 13.9 6.39113 14.5103 5.82574 15.0757C5.54141 15.3601 5.32953 15.6428 5.18827 15.8547C5.1173 15.9611 5.06323 16.0511 5.02593 16.1164C5.00726 16.1491 4.99272 16.1757 4.98231 16.1952C4.9771 16.205 4.97292 16.213 4.96976 16.2191C4.96818 16.2221 4.96685 16.2247 4.96579 16.2268C4.96525 16.2279 4.96478 16.2288 4.96437 16.2296C4.96417 16.23 4.96398 16.2304 4.96381 16.2307C4.96372 16.2309 4.96361 16.2311 4.96357 16.2312C4.96345 16.2315 4.96334 16.2317 5.5 16.5C6.03666 16.7683 6.03656 16.7685 6.03646 16.7687C6.03643 16.7688 6.03634 16.769 6.03628 16.7691C6.03617 16.7693 6.03607 16.7695 6.03599 16.7697C6.03583 16.77 6.03573 16.7702 6.03568 16.7703C6.03559 16.7705 6.03573 16.7702 6.0361 16.7694C6.03685 16.768 6.03853 16.7648 6.04113 16.7599C6.04634 16.7501 6.05524 16.7338 6.06782 16.7117C6.09302 16.6676 6.1327 16.6014 6.18673 16.5203C6.29547 16.3572 6.45859 16.1399 6.67426 15.9243C7.10887 15.4897 7.71525 15.1 8.5 15.1V13.9ZM8.5 11.9H5V13.1H8.5V11.9Z",fill:"currentColor"})})}),iN=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"bulb-filled",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{d:"M16.4272 14.3368C15.8273 15.1773 15.5 16.1794 15.5 17.212V18.5C15.5 19.0523 15.0523 19.5 14.5 19.5H14V20.5C14 21.0523 13.5523 21.5 13 21.5H12C11.4477 21.5 11 21.0523 11 20.5V19.5H10.5C9.94772 19.5 9.5 19.0523 9.5 18.5V17.212C9.5 16.1794 9.17266 15.1773 8.57284 14.3368C7.60216 12.9767 7 11.94 7 10C7 7 9.5 4.5 12.5 4.5C15.5 4.5 18 7 18 10C18 11.94 17.3978 12.9767 16.4272 14.3368Z",fill:"currentColor",stroke:"currentColor",strokeWidth:1.2})})}),iP=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"bulb-outline",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{d:"M9.5 16.5H15.5M11 20V20.5C11 21.0523 11.4477 21.5 12 21.5H13C13.5523 21.5 14 21.0523 14 20.5V20M18 10C18 11.94 17.3978 12.9767 16.4272 14.3368C15.8273 15.1773 15.5 16.1794 15.5 17.212V18.5C15.5 19.0523 15.0523 19.5 14.5 19.5H10.5C9.94772 19.5 9.5 19.0523 9.5 18.5V17.212C9.5 16.1794 9.17266 15.1773 8.57284 14.3368C7.60216 12.9767 7 11.94 7 10C7 7 9.5 4.5 12.5 4.5C15.5 4.5 18 7 18 10Z",stroke:"currentColor",strokeWidth:1.2})})}),iZ=(0,ne.forwardRef)(function(e,t){return(0,E.jsxs)("svg",{"data-sanity-icon":"calendar",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,E.jsx)("path",{d:"M5.5 18.5H19.5V6.5H5.5V18.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,E.jsx)("path",{d:"M16.5 8V4M8.5 8V4M8 12.5H10M8 15.5H10M11.5 12.5H13.5M11.5 15.5H13.5M15 12.5H17M15 15.5H17M12.5 8V4M5.5 9.5H19.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),iF=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"case",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{d:"M9 8.5122V6C9 5.44772 9.44772 5 10 5H15C15.5523 5 16 5.44772 16 6V8.5122M4.5 12V18.5C4.5 19.0523 4.94772 19.5 5.5 19.5H19.5C20.0523 19.5 20.5 19.0523 20.5 18.5V12M4.5 12V9.5122C4.5 8.95991 4.94772 8.5122 5.5 8.5122H19.5C20.0523 8.5122 20.5 8.95991 20.5 9.5122V12M4.5 12L11.7978 14.7367C12.2505 14.9064 12.7495 14.9064 13.2022 14.7367L20.5 12",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),iD=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"chart-upward",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{d:"M5.5 5V19.5H20M7.5 16L11.5 11.5L15.5 14L19.5 8.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),iq=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"checkmark-circle",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{d:"M9.5 12.1316L11.7414 14.5L16 10M20.5 12.5C20.5 16.9183 16.9183 20.5 12.5 20.5C8.08172 20.5 4.5 16.9183 4.5 12.5C4.5 8.08172 8.08172 4.5 12.5 4.5C16.9183 4.5 20.5 8.08172 20.5 12.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),iU=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"checkmark",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{d:"M5.5 11.5L10.5 16.5L19.5 7.60001",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),iG=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"chevron-down",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{d:"M17 10L12.5 14.5L8 10",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),iY=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"chevron-left",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{d:"M15 17L10.5 12.5L15 8",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),iK=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"chevron-right",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{d:"M10 8L14.5 12.5L10 17",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),iX=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"chevron-up",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{d:"M8 15L12.5 10.5L17 15",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),iJ=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"circle",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("circle",{cx:12.5,cy:12.5,r:8,stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),iQ=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"clipboard",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{d:"M8 5.5H6.5V19.5H18.5V5.5H17M12.5 3C11.5 3 11.5 4.5 11 4.5C10 4.5 9.5 5 9.5 6.5H15.6C15.6 5 15 4.5 14 4.5C13.5 4.5 13.5 3 12.5 3Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),i1=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"clipboard-image",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{d:"M8 5.5H6.5V19.5H10.5M17 5.5H18.5V11.5M10.5 18.5L12.73 15.8983C13.1327 15.4285 13.8613 15.4335 14.2575 15.909L15.299 17.1588C15.6754 17.6105 16.3585 17.6415 16.7743 17.2257L16.9903 17.0097C17.2947 16.7053 17.7597 16.6298 18.1447 16.8223L20.5 18M10.5 11.5H20.5V21.5H10.5V11.5ZM12.5 3C11.5 3 11.5 4.5 11 4.5C10 4.5 9.5 5 9.5 6.5H15.6C15.6 5 15 4.5 14 4.5C13.5 4.5 13.5 3 12.5 3Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),i0=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"clock",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{d:"M12.5 8V12.5L15.5 15.5M20.5 12.5C20.5 16.9183 16.9183 20.5 12.5 20.5C8.08172 20.5 4.5 16.9183 4.5 12.5C4.5 8.08172 8.08172 4.5 12.5 4.5C16.9183 4.5 20.5 8.08172 20.5 12.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),i5=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"close-circle",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{d:"M9.5 15.5L12.5 12.5M12.5 12.5L15.5 9.5M12.5 12.5L9.5 9.5M12.5 12.5L15.5 15.5M20.5 12.5C20.5 16.9183 16.9183 20.5 12.5 20.5C8.08172 20.5 4.5 16.9183 4.5 12.5C4.5 8.08172 8.08172 4.5 12.5 4.5C16.9183 4.5 20.5 8.08172 20.5 12.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),i2=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"close",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{d:"M18 7L7 18M7 7L18 18",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),i3=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"code-block",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{d:"M11 15L8.5 12.5L11 10M14 10L16.5 12.5L14 15M5.5 6.5H19.5V18.5H5.5V6.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),i4=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"code",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{d:"M11 16L7.5 12.5L11 9M14 9L17.5 12.5L14 16",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),i6=(0,ne.forwardRef)(function(e,t){return(0,E.jsxs)("svg",{"data-sanity-icon":"cog",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,E.jsx)("path",{d:"M14.0666 6.19428L13.719 5.32531C13.5196 4.82685 13.0369 4.5 12.5 4.5C11.9631 4.5 11.4804 4.82685 11.281 5.32531L10.9334 6.19428C10.7984 6.53187 10.5328 6.80068 10.1969 6.93982C9.86098 7.07896 9.48313 7.07666 9.14894 6.93343L8.2887 6.56476C7.79525 6.35328 7.22276 6.46353 6.84315 6.84315C6.46353 7.22276 6.35328 7.79525 6.56476 8.2887L6.93343 9.14894C7.07666 9.48313 7.07896 9.86098 6.93982 10.1969C6.80068 10.5328 6.53187 10.7984 6.19428 10.9334L5.32531 11.281C4.82685 11.4804 4.5 11.9631 4.5 12.5C4.5 13.0369 4.82685 13.5196 5.32531 13.719L6.19428 14.0666C6.53187 14.2016 6.80068 14.4672 6.93982 14.8031C
37.07896 15.139 7.07666 15.5169 6.93343 15.8511L6.56476 16.7113C6.35328 17.2048 6.46353 17.7772 6.84315 18.1569C7.22276 18.5365 7.79525 18.6467 8.2887 18.4352L9.14894 18.0666C9.48314 17.9233 9.86099 17.921 10.1969 18.0602C10.5328 18.1993 10.7984 18.4681 10.9334 18.8057L11.281 19.6747C11.4804 20.1732 11.9631 20.5 12.5 20.5C13.0369 20.5 13.5196 20.1731 13.719 19.6747L14.0666 18.8057C14.2016 18.4681 14.4672 18.1993 14.8031 18.0602C15.139 17.921 15.5169 17.9233 15.8511 18.0666L16.7113 18.4352C17.2047 18.6467 17.7772 18.5365 18.1569 18.1569C18.5365 17.7772 18.6467 17.2047 18.4352 16.7113L18.0666 15.8511C17.9233 15.5169 17.921 15.139 18.0602 14.8031C18.1993 14.4672 18.4681 14.2016 18.8057 14.0666L19.6747 13.719C20.1731 13.5196 20.5 13.0369 20.5 12.5C20.5 11.9631 20.1731 11.4804 19.6747 11.281L18.8057 10.9334C18.4681 10.7984 18.1993 10.5328 18.0602 10.1969C17.921 9.86098 17.9233 9.48313 18.0666 9.14894L18.4352 8.2887C18.6467 7.79525 18.5365 7.22276 18.1569 6.84314C17.7772 6.46353 17.2048 6.35328 16.7113 6.56476L15.8511 6.93343C15.5169 7.07666 15.139 7.07896 14.8031 6.93982C14.4672 6.80068 14.2016 6.53187 14.0666 6.19428Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,E.jsx)("path",{d:"M16 12.5C16 14.433 14.433 16 12.5 16C10.567 16 9 14.433 9 12.5C9 10.567 10.567 9 12.5 9C14.433 9 16 10.567 16 12.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),i8=(0,ne.forwardRef)(function(e,t){return(0,E.jsxs)("svg",{"data-sanity-icon":"collapse",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,E.jsx)("path",{d:"M6 14.5L10.5 14.5V19M19 10.5H14.5L14.5 6",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,E.jsx)("path",{d:"M10.5 14.5L6 19M14.5 10.5L19 6",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),i9=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"color-wheel",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{d:"M9.43853 5.10896L11.1606 9.26642M13.8394 15.7336L15.5615 19.891M15.7336 11.1606L19.891 9.43853M9.26642 13.8394L5.10896 15.5615M5.3139 9.52342L9.23359 11.147M15.7664 13.853L19.6861 15.4766M13.853 9.23359L15.4766 5.3139M9.52342 19.6861L11.147 15.7664M20.5 12.5C20.5 16.9183 16.9183 20.5 12.5 20.5C8.08172 20.5 4.5 16.9183 4.5 12.5C4.5 8.08172 8.08172 4.5 12.5 4.5C16.9183 4.5 20.5 8.08172 20.5 12.5ZM16 12.5C16 14.433 14.433 16 12.5 16C10.567 16 9 14.433 9 12.5C9 10.567 10.567 9 12.5 9C14.433 9 16 10.567 16 12.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),i7=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"comment",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{d:"M7.5 16.5H9.5V20.5L13.5 16.5H17.5C18.6046 16.5 19.5 15.6046 19.5 14.5V8.5C19.5 7.39543 18.6046 6.5 17.5 6.5H7.5C6.39543 6.5 5.5 7.39543 5.5 8.5V14.5C5.5 15.6046 6.39543 16.5 7.5 16.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),ae=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"component",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{d:"M8.5 8.5L12.5 12.5M12.5 12.5L16.5 16.5M12.5 12.5L16.5 8.5M12.5 12.5L8.5 16.5M12.5 4L21 12.5L12.5 21L4 12.5L12.5 4Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),at=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"compose",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{d:"M17 6L19 8M14 5.5H5.5V19.5H19.5V11M9 16L9.5 13.5L19 4L21 6L11.5 15.5L9 16Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),an=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"compose-sparkles",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{d:"M11 3.5V5M11 5V6.5M11 5H12.5M11 5H9.5M17 9L9.5 16.5L9 19L11.5 18.5L19 11M17 9L19 7L21 9L19 11M17 9L19 11M4.5 10C4.5 10 5.72308 9.87692 6.3 9.3C6.87692 8.72308 7 7.5 7 7.5C7 7.5 7.12308 8.72308 7.7 9.3C8.27692 9.87692 9.5 10 9.5 10C9.5 10 8.27692 10.1231 7.7 10.7C7.12308 11.2769 7 12.5 7 12.5C7 12.5 6.87692 11.2769 6.3 10.7C5.72308 10.1231 4.5 10 4.5 10Z",stroke:"currentColor",strokeWidth:1.2,strokeLinecap:"round",strokeLinejoin:"round"})})}),ar=(0,ne.forwardRef)(function(e,t){return(0,E.jsxs)("svg",{"data-sanity-icon":"confetti",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,E.jsx)("path",{d:"M16.5 6.25C16.9142 6.25 17.25 5.91421 17.25 5.5C17.25 5.08579 16.9142 4.75 16.5 4.75C16.0858 4.75 15.75 5.08579 15.75 5.5C15.75 5.91421 16.0858 6.25 16.5 6.25Z",fill:"currentColor"}),(0,E.jsx)("path",{d:"M19.5 16.25C19.9142 16.25 20.25 15.9142 20.25 15.5C20.25 15.0858 19.9142 14.75 19.5 14.75C19.0858 14.75 18.75 15.0858 18.75 15.5C18.75 15.9142
319.0858 16.25 19.5 16.25Z",fill:"currentColor"}),(0,E.jsx)("path",{d:"M13 4C11 6 14.5 5.5 12.5 7.5M21 12C19 14 19.5 10.5 17.5 12.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,E.jsx)("path",{d:"M16.066 16.4904C15.3965 17.1598 13.1126 15.9613 10.9647 13.8135C8.81684 11.6656 7.61835 9.38165 8.28782 8.71218M16.066 16.4904C16.7355 15.8209 15.537 13.537 13.3891 11.3891C11.2412 9.2412 8.95729 8.04271 8.28782 8.71218M16.066 16.4904C15.8661 16.6902 15.6277 16.8474 15.3657 16.952L6.99288 20.296C6.26931 20.5849 5.44878 20.4193 4.9038 19.8744C4.35883 19.3294 4.19324 18.5089 4.48221 17.7853L7.82614 9.41242C7.93077 9.15042 8.08793 8.91208 8.28782 8.71218M20 5C20 14 11.5 5.32688 11.5 14.3269",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),ao=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"controls",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{d:"M6.5 5V7.5M6.5 7.5C5.39543 7.5 4.5 8.39543 4.5 9.5C4.5 10.6046 5.39543 11.5 6.5 11.5M6.5 7.5C7.60457 7.5 8.5 8.39543 8.5 9.5C8.5 10.6046 7.60457 11.5 6.5 11.5M6.5 11.5V20M12.5 5V13.5M12.5 13.5C11.3954 13.5 10.5 14.3954 10.5 15.5C10.5 16.6046 11.3954 17.5 12.5 17.5M12.5 13.5C13.6046 13.5 14.5 14.3954 14.5 15.5C14.5 16.6046 13.6046 17.5 12.5 17.5M12.5 17.5V20M18.5 5V7.5M18.5 7.5C17.3954 7.5 16.5 8.39543 16.5 9.5C16.5 10.6046 17.3954 11.5 18.5 11.5M18.5 7.5C19.6046 7.5 20.5 8.39543 20.5 9.5C20.5 10.6046 19.6046 11.5 18.5 11.5M18.5 11.5V20",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),ai=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"copy",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{d:"M8.5 8.5H5.5V20.5H16.5V16.5M19.5 4.5H8.5V16.5H19.5V4.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),aa=(0,ne.forwardRef)(function(e,t){return(0,E.jsxs)("svg",{"data-sanity-icon":"credit-card",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,E.jsx)("path",{d:"M20.5 9.5H4.5V11.5H20.5V9.5Z",fill:"currentColor",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,E.jsx)("path",{d:"M7 15.5H14M5.5 18.5H19.5C20.0523 18.5 20.5 18.0523 20.5 17.5V7.5C20.5 6.94772 20.0523 6.5 19.5 6.5H5.5C4.94772 6.5 4.5 6.94772 4.5 7.5V17.5C4.5 18.0523 4.94772 18.5 5.5 18.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),as=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"crop",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{d:"M9.5 5V15.5H20M5 9.5H15.5V20",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),al=(0,ne.forwardRef)(function(e,t){return(0,E.jsxs)("svg",{"data-sanity-icon":"cube",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,E.jsx)("path",{d:"M4.5 8L12.5 3L20.5 8V17L12.5 22L4.5 17V8Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,E.jsx)("path",{d:"M12.5 22V13M12.5 13L4.5 8M12.5 13L20.5 8",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),ad=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"dashboard",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{d:"M14.5 19.5V12.5M10.5 12.5V5.5M5.5 12.5H19.5M5.5 19.5H19.5V5.5H5.5V19.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),ac=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"database",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{d:"M18.5 7V17.5C18.5 19.0594 16.0504 20.5 12.5 20.5C8.9496 20.5 6.5 19.0594 6.5 17.5V7M18.5 7C18.5 8.45543 15.8137 9.5 12.5 9.5C9.18629 9.5 6.5 8.45543 6.5 7C6.5 5.54457 9.18629 4.5 12.5 4.5C15.8137 4.5 18.5 5.54457 18.5 7Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),au=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"desktop",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{d:"M4.5 13.5V15.5C4.5 16.0523 4.94772 16.5 5.5 16.5H12.5M4.5 13.5V6.5C4.5 5.94772 4.94772 5.5 5.5 5.5H19.5C20.0523 5.5 20.5 5.94772 20.5 6.5V13.5M4.5 13.5H20.5M20.5 13.5V15.5C20.5 16.0523 20.0523 16.5 19.5 16.5H12.5M12.5 16.5V19.5M12.5 19.5H8M12.5 19.5H17",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),af=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"diamond",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{d:"M21 10.5L12.5 21M21 10.5L18 5.5H11M21 10.5H16M12.5 21L4 10.5M12.5 21L9 10.5M12.5 21L16 10.5M4 10.5L7 5.5H11M4 10.5H9M9 10.5H12.5H16M9 10.5L11 5.5M16 10.5L14.5 5.5H11",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),ah=(0,ne.forwardRef)(function(e,t){return(0,E.jsxs)("svg",{"data-sanity-icon":"document",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,E.jsx)("path",{d:"M11.5 4.5V9.5H6.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,E.jsx)("path",{d:"M18.5 20.5H6.5V9.5L11.5 4.5H18.5V20.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),ap=(0,ne.forwardRef)(function(e,t){return(0,E.jsxs)("svg",{"data-sanity-icon":"document-pdf",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,E.jsx)("path",{d:"M12.7127 13.8012L12.7193 13.77C12.8488 13.2366 13.0117 12.5716 12.8845 11.969C12.7997 11.4937 12.4493 11.3084 12.1503 11.295C11.7977 11.2794 11.483 11.4803 11.4049 11.7726C11.2576 12.3082 11.3893 13.0402 11.6303 13.973C11.3268 14.6961 10.8425 15.7472 10.4877 16.3721C9.8271 16.7135 8.94113 17.2402 8.80946 17.9053C8.78268 18.028 8.81392
318.1842 8.88757 18.3248C8.97014 18.481 9.10181 18.6015 9.25579 18.6596C9.32274 18.6841 9.40308 18.7042 9.49681 18.7042C9.88959 18.7042 10.5256 18.3873 11.3736 16.9322C11.5031 16.8898 11.637 16.8452 11.7664 16.8006C12.3734 16.5953 13.0028 16.381 13.5718 16.2851C14.2012 16.622 14.9175 16.8385 15.404 16.8385C15.8861 16.8385 16.0758 16.5529 16.1472 16.381C16.2722 16.0797 16.2119 15.7004 16.0088 15.4973C15.7143 15.2072 14.9979 15.1313 13.882 15.2696C13.3331 14.9349 12.9738 14.4796 12.7127 13.8012ZM10.2645 17.1911C9.95431 17.6419 9.71998 17.8673 9.59278 17.9655C9.7423 17.691 10.0346 17.4009 10.2645 17.1911ZM12.2195 11.9355C12.3355 12.1341 12.3199 12.7345 12.2306 13.038C12.1213 12.5939 12.1056 11.9645 12.1704 11.8909L12.2195 11.9355ZM12.1837 14.6247C12.4225 15.0376 12.7238 15.3924 13.0563 15.6557C12.5743 15.7651 12.1346 15.9458 11.7419 16.1065C11.6481 16.1445 11.5566 16.1824 11.4674 16.2181C11.7642 15.6803 12.0119 15.071 12.1837 14.6247ZM15.6562 16.0864L15.6428 16.1065C15.6428 16.1065 15.4375 16.2315 14.6497 15.9213C15.5558 15.8789 15.6562 16.0864 15.6562 16.0864Z",fill:"currentColor"}),(0,E.jsx)("path",{d:"M11.5 4.5V9.5H6.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,E.jsx)("path",{d:"M11.5 4.5H18.5V20.5H6.5V9.5L11.5 4.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),ag=(0,ne.forwardRef)(function(e,t){return(0,E.jsxs)("svg",{"data-sanity-icon":"document-remove",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,E.jsx)("path",{d:"M11.5 4.5V9.5H6.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,E.jsx)("path",{d:"M6.5 14V20.5H18.5V14M6.5 11V9.5L11.5 4.5H18.5V11M3 12.5H22",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),am=(0,ne.forwardRef)(function(e,t){return(0,E.jsxs)("svg",{"data-sanity-icon":"document-sheet",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,E.jsx)("path",{d:"M11.5 4.5V9.5H6.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,E.jsx)("path",{d:"M10.4 19V16.4M10.4 16.4L10.4 13.4M10.4 16.4H8M10.4 16.4H14.4M10.4 13.4V11M10.4 13.4H8M10.4 13.4H14.4M14.4 19V16.4M14.4 16.4V13.4M14.4 16.4H17M14.4 13.4V11M14.4 13.4H17M11.5 4.5H18.5V20.5H6.5V9.5L11.5 4.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),av=(0,ne.forwardRef)(function(e,t){return(0,E.jsxs)("svg",{"data-sanity-icon":"documents",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,E.jsx)("path",{d:"M10.5 4.5V9.5H5.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,E.jsx)("path",{d:"M16.5 7.5H19.5V21.5H8.5V18.5M10.5 4.5H16.5V18.5H5.5V9.5L10.5 4.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),ay=(0,ne.forwardRef)(function(e,t){return(0,E.jsxs)("svg",{"data-sanity-icon":"document-text",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,E.jsx)("path",{d:"M11.5 4.5V9.5H6.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,E.jsx)("path",{d:"M16 13H9M14 16H9M11.5 4.5H18.5V20.5H6.5V9.5L11.5 4.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),aw=(0,ne.forwardRef)(function(e,t){return(0,E.jsxs)("svg",{"data-sanity-icon":"document-video",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,E.jsx)("path",{d:"M11.5 16.5V13.5L14 15L11.5 16.5Z",fill:"currentColor",stroke:"currentColor",strokeWidth:1.2}),(0,E.jsx)("path",{d:"M11.5 4.5V9.5H6.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,E.jsx)("path",{d:"M11.5 4.5H18.5V20.5H6.5V9.5L11.5 4.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),ab=(0,ne.forwardRef)(function(e,t){return(0,E.jsxs)("svg",{"data-sanity-icon":"document-word",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,E.jsx)("path",{d:"M12.4699 13.4588H12.5263L13.6328 17H14.5435L16 12H14.9952L14.0656 15.7214H14.0129L12.929 12H12.0672L10.9984 15.7214H10.9419L10.0124 12H9L10.4565 17H11.371L12.4699 13.4588Z",fill:"currentColor"}),(0,E.jsx)("path",{d:"M11.5 4.5V9.5H6.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}
3),(0,E.jsx)("path",{d:"M11.5 4.5H18.5V20.5H6.5V9.5L11.5 4.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),ax=(0,ne.forwardRef)(function(e,t){return(0,E.jsxs)("svg",{"data-sanity-icon":"document-zip",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,E.jsx)("path",{d:"M11.5 4.5V9.5H6.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,E.jsx)("path",{d:"M15 4.5L13.5 5L15.5 6L13.5 7L15.5 8L13.5 9L15.5 10L13.5 11L14.5 11.5V13M11.5 4.5H18.5V20.5H6.5V9.5L11.5 4.5ZM13.5 13H15.5L16 17H13L13.5 13Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),aC=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"dot",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("circle",{cx:12.5,cy:12.5,r:2.5,fill:"currentColor",stroke:"currentColor",strokeWidth:1.2})})}),ak=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"double-chevron-down",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{d:"M17 7.5C15.6332 8.86683 12.5 12 12.5 12L8 7.5M17 12.5C15.6332 13.8668 12.5 17 12.5 17L8 12.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),aj=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"double-chevron-left",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{d:"M12.5 17L8 12.5L12.5 8M17.5 17L13 12.5L17.5 8",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),aM=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"double-chevron-right",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{d:"M12.5 8L17 12.5L12.5 17M7.5 8L12 12.5L7.5 17",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),aL=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"double-chevron-up",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{d:"M8 12.5L12.5 8L17 12.5M8 17.5L12.5 13L17 17.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),aS=(0,ne.forwardRef)(function(e,t){return(0,E.jsxs)("svg",{"data-sanity-icon":"download",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,E.jsx)("path",{d:"M19.5 17V19.5H5.5V17M12.5 16L12.5 5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,E.jsx)("path",{d:"M17.5 11L12.5 16L7.5 11",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),a_=(0,ne.forwardRef)(function(e,t){return(0,E.jsxs)("svg",{"data-sanity-icon":"drag-handle",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,E.jsx)("path",{d:"M9.5 8C10.3284 8 11 7.32843 11 6.5C11 5.67157 10.3284 5 9.5 5C8.67157 5 8 5.67157 8 6.5C8 7.32843 8.67157 8 9.5 8Z",fill:"currentColor"}),(0,E.jsx)("path",{d:"M9.5 14C10.3284 14 11 13.3284 11 12.5C11 11.6716 10.3284 11 9.5 11C8.67157 11 8 11.6716 8 12.5C8 13.3284 8.67157 14 9.5 14Z",fill:"currentColor"}),(0,E.jsx)("path",{d:"M11 18.5C11 19.3284 10.3284 20 9.5 20C8.67157 20 8 19.3284 8 18.5C8 17.6716 8.67157 17 9.5 17C10.3284 17 11 17.6716 11 18.5Z",fill:"currentColor"}),(0,E.jsx)("path",{d:"M15.5 8C16.3284 8 17 7.32843 17 6.5C17 5.67157 16.3284 5 15.5 5C14.6716 5 14 5.67157 14 6.5C14 7.32843 14.6716 8 15.5 8Z",fill:"currentColor"}),(0,E.jsx)("path",{d:"M17 12.5C17 13.3284 16.3284 14 15.5 14C14.6716 14 14 13.3284 14 12.5C14 11.6716 14.6716 11 15.5 11C16.3284 11 17 11.6716 17 12.5Z",fill:"currentColor"}),(0,E.jsx)("path",{d:"M15.5 20C16.3284 20 17 19.3284 17 18.5C17 17.6716 16.3284 17 15.5 17C14.6716 17 14 17.6716 14 18.5C14 19.3284 14.6716 20 15.5 20Z",fill:"currentColor"})]})}),aR=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"drop",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{d:"M18.5 14.5C18.5 18
316 20.5 12.5 20.5C9 20.5 6.5 18 6.5 14.5C6.5 11 9.5 7.50001 12.5 4.5C15.5 7.5 18.5 11 18.5 14.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),aE=(0,ne.forwardRef)(function(e,t){return(0,E.jsxs)("svg",{"data-sanity-icon":"earth-americas",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,E.jsx)("path",{d:"M7 13L5.5 9L10 5H15V10L14 9H11L9.5 11L10.5 12H12V13L13 14.5H15.5L18.5 17L15.5 19.5L10.5 20V17L12.5 15L9 13L7 10.5V13Z",fill:"currentColor",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,E.jsx)("circle",{cx:12.5,cy:12.5,r:8,stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),a$=(0,ne.forwardRef)(function(e,t){return(0,E.jsxs)("svg",{"data-sanity-icon":"earth-globe",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,E.jsx)("path",{d:"M20.5 12.5C20.5 16.9183 16.9183 20.5 12.5 20.5C8.08172 20.5 4.5 16.9183 4.5 12.5C4.5 8.08172 8.08172 4.5 12.5 4.5C16.9183 4.5 20.5 8.08172 20.5 12.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,E.jsx)("path",{d:"M20.5 12.5H4.5M12.5 20.5C12.5 20.5 9.5 17.5 9.5 12.5C9.5 7.5 12.5 4.5 12.5 4.5C12.5 4.5 15.5 7.5 15.5 12.5C15.5 17.5 12.5 20.5 12.5 20.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),aH=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"edit",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{d:"M15 7L18 10M6 19L7 15L17 5L20 8L10 18L6 19Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),aV=(0,ne.forwardRef)(function(e,t){return(0,E.jsxs)("svg",{"data-sanity-icon":"ellipsis-horizontal",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,E.jsx)("path",{d:"M6.5 11C7.32843 11 8 11.6716 8 12.5C8 13.3284 7.32843 14 6.5 14C5.67157 14 5 13.3284 5 12.5C5 11.6716 5.67157 11 6.5 11Z",fill:"currentColor"}),(0,E.jsx)("path",{d:"M12.5 11C13.3284 11 14 11.6716 14 12.5C14 13.3284 13.3284 14 12.5 14C11.6716 14 11 13.3284 11 12.5C11 11.6716 11.6716 11 12.5 11Z",fill:"currentColor"}),(0,E.jsx)("path",{d:"M18.5 11C19.3284 11 20 11.6716 20 12.5C20 13.3284 19.3284 14 18.5 14C17.6716 14 17 13.3284 17 12.5C17 11.6716 17.6716 11 18.5 11Z",fill:"currentColor"})]})}),aI=(0,ne.forwardRef)(function(e,t){return(0,E.jsxs)("svg",{"data-sanity-icon":"ellipsis-vertical",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,E.jsx)("path",{d:"M14 6.5C14 7.32843 13.3284 8 12.5 8C11.6716 8 11 7.32843 11 6.5C11 5.67157 11.6716 5 12.5 5C13.3284 5 14 5.67157 14 6.5Z",fill:"currentColor"}),(0,E.jsx)("path",{d:"M14 12.5C14 13.3284 13.3284 14 12.5 14C11.6716 14 11 13.3284 11 12.5C11 11.6716 11.6716 11 12.5 11C13.3284 11 14 11.6716 14 12.5Z",fill:"currentColor"}),(0,E.jsx)("path",{d:"M14 18.5C14 19.3284 13.3284 20 12.5 20C11.6716 20 11 19.3284 11 18.5C11 17.6716 11.6716 17 12.5 17C13.3284 17 14 17.6716 14 18.5Z",fill:"currentColor"})]})}),aO=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"empty",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{d:"M12.5 21V19.1111M8.25 19.8614L9.19445 18.2255M5.13878 16.7501L6.77461 15.8057M4 12.5H5.8889M5.13872 8.2499L6.77455 9.19436M8.25004 5.13876L9.19449 6.7746M12.5 5.88891V4M15.8055 6.77465L16.75 5.1388M18.2254 9.19449L19.8612 8.25004M19.1111 12.5001H21M18.2254 15.8056L19.8612 16.7501M15.8056 18.2255L16.75 19.8614",stroke:"currentColor",strokeWidth:1.2})})}),aA=(0,ne.forwardRef)(function(e,t){return(0,E.jsxs)("svg",{"data-sanity-icon":"enter",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,E.jsx)("path",{d:"M6 14.5H19.5V7",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,E.jsx)("path",{d:"M10 18.5L6 14.5L10 10.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),aB=(0,ne.forwardRef)(function(e,t){return(0,E.jsxs)("svg",{"data-sanity-icon":"enter-right",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,E.jsx)("path",{d:"M19 14.5H5.5V7",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,E.jsx)("path",{d:"M15 18.5L19 14.5L15 10.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),az=(0,ne.forwardRef)(function(e,t){return(0,E.jsxs)("svg",{"data-sanity-icon":"envelope",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,E.jsx)("path",{d:"M20.5 18.5H4.5V6.5H20.5V18.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,E.jsx)("path",{d:"M20.5 18.5L17.75 15.5L15 12.5M4.5 18.5L10 12.5M20.5 6.5L12.5 15L4.5 6.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),aT=(0,ne.forwardRef)(function(e,t){return(0,E.jsxs)("svg",{"data-sanity-icon":"equal",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,E.jsx)("path",{d:"M7.5 4.5H3.5V20.5
3H7.5",stroke:"currentColor",strokeWidth:1.2}),(0,E.jsx)("path",{d:"M17.5 20.5L21.5 20.5L21.5 4.5L17.5 4.5",stroke:"currentColor",strokeWidth:1.2}),(0,E.jsx)("path",{d:"M9 10.5H16",stroke:"currentColor",strokeWidth:1.2}),(0,E.jsx)("path",{d:"M9 14.5H16",stroke:"currentColor",strokeWidth:1.2})]})}),aW=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"error-filled",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4 12.5C4 7.80558 7.80558 4 12.5 4C17.1944 4 21 7.80558 21 12.5C21 17.1944 17.1944 21 12.5 21C7.80558 21 4 17.1944 4 12.5ZM13 14.5V16H12V14.5H13ZM12 9V13H13V9H12Z",fill:"currentColor"})})}),aN=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"error-outline",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{d:"M12.5 16V14.5M12.5 9V13M20.5 12.5C20.5 16.9183 16.9183 20.5 12.5 20.5C8.08172 20.5 4.5 16.9183 4.5 12.5C4.5 8.08172 8.08172 4.5 12.5 4.5C16.9183 4.5 20.5 8.08172 20.5 12.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),aP=(0,ne.forwardRef)(function(e,t){return(0,E.jsxs)("svg",{"data-sanity-icon":"error-screen",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,E.jsx)("path",{d:"M10 8.5L15 13.5M15 8.5L10 13.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,E.jsx)("path",{d:"M12.5 16.5H5.5C4.94772 16.5 4.5 16.0523 4.5 15.5V6.5C4.5 5.94771 4.94772 5.5 5.5 5.5H19.5C20.0523 5.5 20.5 5.94772 20.5 6.5V15.5C20.5 16.0523 20.0523 16.5 19.5 16.5H12.5ZM12.5 16.5V19.5M12.5 19.5H8M12.5 19.5H17",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),aZ=(0,ne.forwardRef)(function(e,t){return(0,E.jsxs)("svg",{"data-sanity-icon":"expand",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,E.jsx)("path",{d:"M14 6.5H18.5V11M11 18.5H6.5V14",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,E.jsx)("path",{d:"M18.5 6.5L14 11M6.5 18.5L11 14",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),aF=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"eye-closed",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{d:"M7 15.5L5.5 17.5M20.5 12.5C19.8612 13.5647 19.041 14.6294 18.0008 15.501M18.0008 15.501C16.5985 16.676 14.7965 17.5 12.5 17.5M18.0008 15.501L18 15.5M18.0008 15.501L19.5 17.5M12.5 17.5C8.5 17.5 6 15 4.5 12.5M12.5 17.5V20M15.5 17L16.5 19.5M9.5 17L8.5 19.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),aD=(0,ne.forwardRef)(function(e,t){return(0,E.jsxs)("svg",{"data-sanity-icon":"eye-open",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,E.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.39999 12.5C9.39999 10.7879 10.7879 9.39999 12.5 9.39999C14.2121 9.39999 15.6 10.7879 15.6 12.5C15.6 14.2121 14.2121 15.6 12.5 15.6C10.7879 15.6 9.39999 14.2121 9.39999 12.5Z",fill:"currentColor"}),(0,E.jsx)("path",{d:"M12.5 7.5C8.5 7.5 6 10 4.5 12.5C6 15 8.5 17.5 12.5 17.5C16.5 17.5 19 15 20.5 12.5C19 10 16.5 7.5 12.5 7.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),aq=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"face-happy",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{d:"M10.5 9V12M14.5 9V12M8.5 14C8.5 14 9.50001 16.5 12.5 16.5C15.5 16.5 16.5 14 16.5 14M20.5 12.5C20.5 16.9183 16.9183 20.5 12.5 20.5C8.08172 20.5 4.5 16.9183 4.5 12.5C4.5 8.08172 8.08172 4.5 12.5 4.5C16.9183 4.5 20.5 8.08172 20.5 12.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),aU=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"face-indifferent",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{d:"M10.5 9V12M14.5 9V12M8.5 15.5C8.5 15.5 9.50001 15.5 12.5 15.5C15.5 15.5 16.5 15.5 16.5 15.5M20.5 12.5C20.5 16.9183 16.9183 20.5 12.5 20.5C8.08172 20.5 4.5 16.9183 4.5 12.5C4.5 8.08172 8.08172 4.5 12.5 4.5C16.9183 4.5 20.5 8.08172 20.5 12.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),aG=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"face-sad",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{d:"M10.5 9V12M14.5 9V12M8.5 16.5C8.5 16.5 9.50001 14.5 12.5 14.5C15.5 14.5 16.5 16.5 16.5 16.5M20.5 12.5C20.5 16.9183 16.9183 20.5 12.5 20.5C8.08172 20.5 4.5 16.9183 4.5 12.5C4.5 8.08172 8.08172 4.5 12.5 4.5C16.9183 4.5 20.5 8.08172 20.5 12.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),aY=(0,ne.forwardRef)(function(e,t){return(0,E.jsxs)("svg",{"data-sanity-icon":"feedback",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,E.jsx)("path",{d:"M10 11.5V12H9.5L9.5 11.5H10Z",fill:"currentColor"}),(0,E.jsx)("path",{d:"M13 11.5V12H12.5V11.5H13Z",fill:"currentColor"}),(0,E.jsx)("path",{d:"M16 11.5V12H15.5V11.5H16Z",fill:"currentColor"}),(0,E.jsx)("path",{d:"M10 11.5V12H9.5L9.5 11.5H10Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,E.jsx)("path",{d:"M13 11.5V12H12.5V11.5H13Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,E.jsx)("path",{d:"M16 11.5V12H15.5V11.5H16Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,E.jsx)("path",{d:"M7.5 16.5H9.5V20.5L13.5 16.5H17.5C18.6046 16.5 19.5 15.6046 19.5 14.5V8.5C19.5 7.39543 18.6046 6.5 17.5 6.5H7.5C6.39543 6.5 5.5 7.39543 5.5 8.5V14.5C5.5 15.6046 6.39543 16.5 7.5 16.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),aK=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"filter",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{d:"M6 7.5H19M8 12.5H17M10 17.5H15",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),aX=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"folder",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{d:"M11.5 8.5H19.5V18.5H5.5V5.5H10.5L11.5 8.5ZM11.5 8.5H5.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),aJ=(0,ne.forwardRef)(function(e,t){return(0,E.jsxs)("svg",{"data-sanity-icon":"generate",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,E.jsx)("path",{d:"M9 5.30423C6.33576 6.60253 4.5 9.33688 4.5 12.5C4.5 16.9183 8.08172 20.5 12.5 20.5C16.9
3183 20.5 20.5 16.9183 20.5 12.5C20.5 8.08172 16.9183 4.5 12.5 4.5V14.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,E.jsx)("path",{d:"M16 11L12.5 14.5L9 11",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),aQ=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"github",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.507 4C7.80286 4 4 7.8309 4 12.5702C4 16.3587 6.43663 19.5655 9.81687 20.7005C10.2395 20.7858 10.3943 20.5161 10.3943 20.2892C10.3943 20.0905 10.3804 19.4094 10.3804 18.6999C8.01391 19.2108 7.52112 17.6782 7.52112 17.6782C7.14081 16.685 6.57732 16.4297 6.57732 16.4297C5.80279 15.9047 6.63374 15.9047 6.63374 15.9047C7.49291 15.9615 7.94374 16.7844 7.94374 16.7844C8.70417 18.0897 9.92953 17.7209 10.4225 17.4938C10.4929 16.9404 10.7184 16.5573 10.9578 16.3445C9.07037 16.1459 7.08457 15.4081 7.08457 12.1161C7.08457 11.1796 7.42239 10.4134 7.95767 9.81757C7.87321 9.60478 7.57736 8.72489 8.04229 7.54724C8.04229 7.54724 8.76059 7.32017 10.3802 8.42695C11.0736 8.23935 11.7887 8.14392 12.507 8.14312C13.2253 8.14312 13.9576 8.24255 14.6337 8.42695C16.2535 7.32017 16.9718 7.54724 16.9718 7.54724C17.4367 8.72489 17.1407 9.60478 17.0562 9.81757C17.6056 10.4134 17.9295 11.1796 17.9295 12.1161C17.9295 15.4081 15.9437 16.1316 14.0422 16.3445C14.3521 16.6141 14.6196 17.1248 14.6196 17.9337C14.6196 19.0829 14.6057 20.0053 14.6057 20.289C14.6057 20.5161 14.7606 20.7858 15.1831 20.7006C18.5633 19.5653 21 16.3587 21 12.5702C21.0139 7.8309 17.1971 4 12.507 4Z",fill:"currentColor"})})}),a1=(0,ne.forwardRef)(function(e,t){return(0,E.jsxs)("svg",{"data-sanity-icon":"groq",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,E.jsx)("path",{d:"M13 13H21L13 21L13 13Z",fill:"currentColor"}),(0,E.jsx)("path",{d:"M12 12V4L4 12H12Z",fill:"currentColor"}),(0,E.jsx)("path",{d:"M12 13H4L12 21V13Z",fill:"currentColor"})]})}),a0=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"hash",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.33894 16.1002H5.44615L5.63077 14.9002H8.52356L9.26202 10.1002H6.36923L6.55384 8.90018H9.44663L9.89281 6H11.1069L10.6608 8.90018H15.4466L15.8928 6H17.1069L16.
36608 8.90018H19.5539L19.3693 10.1002H16.4761L15.7377 14.9002H18.6308L18.4462 16.1002H15.5531L15.1069 19H13.8928L14.3389 16.1002H9.55306L9.10693 19H7.89281L8.33894 16.1002ZM10.4761 10.1002L9.73767 14.9002H14.5236L15.262 10.1002H10.4761Z",fill:"currentColor"})})}),a5=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"heart-filled",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{d:"M17 16C15.8 17.3235 12.5 20.5 12.5 20.5C12.5 20.5 9.2 17.3235 8 16C5.2 12.9118 4.5 11.7059 4.5 9.5C4.5 7.29412 6.1 5.5 8.5 5.5C10.5 5.5 11.7 6.82353 12.5 8.14706C13.3 6.82353 14.5 5.5 16.5 5.5C18.9 5.5 20.5 7.29412 20.5 9.5C20.5 11.7059 19.8 12.9118 17 16Z",fill:"currentColor",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),a2=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"heart",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{d:"M17 16C15.8 17.3235 12.5 20.5 12.5 20.5C12.5 20.5 9.2 17.3235 8 16C5.2 12.9118 4.5 11.7059 4.5 9.5C4.5 7.29412 6.1 5.5 8.5 5.5C10.5 5.5 11.7 6.82353 12.5 8.14706C13.3 6.82353 14.5 5.5 16.5 5.5C18.9 5.5 20.5 7.29412 20.5 9.5C20.5 11.7059 19.8 12.9118 17 16Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),a3=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"help-circle",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{d:"M12.5 13C12.5 11 14 11.5 14 10C14 9.34375 13.5 8.5 12.5 8.5C11.5 8.5 11 9 10.5 9.5M12.5 16V14.5M20.5 12.5C20.5 16.9183 16.9183 20.5 12.5 20.5C8.08172 20.5 4.5 16.9183 4.5 12.5C4.5 8.08172 8.08172 4.5 12.5 4.5C16.9183 4.5 20.5 8.08172 20.5 12.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),a4=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"highlight",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{d:"M17.5311 13.7141L8.02451 8.22547M17.5311 13.7141L20.25 9.00478M17.5311 13.7141L16.5 15.5L13.232 16.134L12 18L11.4142 17.6485M8.02451 8.22547L10.75 3.50479M8.02451 8.22547L6.99999 9.99998L7.99999 13L6.99999 15L7.58576 15.3514M7.58576 15.3514L4.90192 20L10.0566 20L11.4142 17.6485M7.58576 15.3514L11.4142 17.6485M13 20H20",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),a6=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"home",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{d:"M14.5 18.5V12.5H10.5V18.5M5.5 11.5V18.5H19.5V11.5L12.5 5.5L5.5 11.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),a8=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"ice-cream",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{d:"M9.5 13.5L12.5 20.5L15.5 13.5M12.5 8.26389C11.9692 7.78885 11.2684 7.5 10.5 7.5C8.84315 7.5 7.5 8.84315 7.5 10.5C7.5 12.1569 8.84315 13.5 10.5 13.5C11.2684 13.5 11.9692 13.2111 12.5 12.7361M9.5 7.5C9.5 5.84315 10.8431 4.5 12.5 4.5C14.1569 4.5 15.5 5.84315 15.5 7.5M17.5 10.5C17.5 12.1569 16.1569 13.5 14.5 13.5C12.8431 13.5 11.5 12.1569 11.5 10.5C11.5 8.84315 12.8431 7.5 14.5 7.5C16.1569 7.5 17.5 8.84315 17.5 10.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),a9=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"image",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{d:"M5.5 15.5L8.79289 12.2071C9.18342 11.8166 9.81658 11.8166 10.2071 12.2071L12.8867 14.8867C13.2386 15.2386 13.7957 15.2782 14.1938 14.9796L15.1192 14.2856C15.3601 14.1049 15.6696 14.0424 15.9618 14.1154L19.5 15M5.5 6.5H19.5V18.5H5.5V6.5ZM15.5 10.5C15.5 11.0523 15.0523 11.5 14.5 11.5C13.9477 11.5 13.5 11.0523 13.5 10.5C13.5 9.94772 13.9477 9.5 14.5 9.5C15.0523 9.5 15.5 9.94772 15.5 10.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),a7=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"image-remove",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{d:"M5.5 11V6.5H19.5V11M5.5 14V18.5H19.5V14M3 12.5H22",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),se=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"images",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{d:"M18.5 7.5H20.5V19.5H6.5V17.5M4.5 14.5L7.79289 11.2071C8.18342 10.8166 8.81658 10.8166 9.20711 11.2071L11.8867 13.8867C12.2386 14.2386 12.7957 14.2782 13.1938 13.9796L14.1192 13.2856C14.3601 13.1049 14.6696 13.0424 14.9618 13.1154L18.5 14M4.5 5.5H18.5V17.5H4.5V5.5ZM14.5 9.5C14.5 10.0523 14.0523 10.5 13.5 10.5C12.9477 10.5 12.5 10.0523 12.5 9.5C12.5 8.94772 12.9477 8.5 13.5 8.5C14.0523 8.5 14.5 8.94772 14.5 9.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),st=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"inbox",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{d:"M9 8.5H8.17703C7.76813 8.5 7.40042 8.74895 7.24856 9.12861L5.5 13.5M5.5 13.5V17.5C5.5 18.0523 5.94302 18.5 6.4953 18.5C9.00381 18.5 15.5919 18.5 18.504 18.5C19.0563 18.5 19.5 18.0523 19.5 17.5V13.5M5.5 13.5H8.5L10 15.5H15L16.5 13.5H19.5M19.5 13.5L17.7514 9.12861C17.5996 8.74895 17.2319 8.5 16.823 8.5H16M12.5 5V12.5M12.5 12.5L15 10M12.5 12.5L10 10",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),sn=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"info-filled",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M21 12.5C21 17.1944 17.1944 21 12.5 21C7.80558 21 4 17.1944 4 12.5C4 7.80558 7.80558 4 12.5 4C17.1944 4 21 7.80558 21 12.5ZM12 10.5V9H13V10.5H12ZM13 16V12H12V16H13Z",fill:"currentColor"})})}),sr=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"info-outline",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{d:"M12.5 10.5V9M12.5 12V16M20.5 12.5C20.5 16.9183 16.9183 20.5 12.5 20.5C8.08172 20.5 4.5 16.9183 4.5 12.5C4.5 8.08172 8.08172 4.5 12.5 4.5C16.9183 4.5 20.5 8.08172 20.5 12.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),so=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"inl
3ine-element",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{d:"M5.5 5V20M19.5 5V20M8.5 6.5H16.5V18.5H8.5V6.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),si=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"inline",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{d:"M12.5 6.5H19.5V18.5H12.5M12.5 6.5H5.5V18.5H12.5M12.5 6.5V18.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),sa=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"insert-above",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{d:"M14.5 10.5556L10.5 10.5556M12.5 12.5L12.5 8.5M18.5 5.5L6.5 5.5M18.5 19.5L6.5 19.5L6.5 15.5L18.5 15.5L18.5 19.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinecap:"square",strokeLinejoin:"round"})})}),ss=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"insert-below",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{d:"M10.5 14.5H14.5M12.5 12.5V16.5M6.5 19.5H18.5M6.5 5.5H18.5V9.5H6.5V5.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinecap:"square",strokeLinejoin:"round"})})}),sl=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"italic",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{d:"M10.43 18H11.7276L13.4551 9.86763H12.1576L10.43 18ZM13.3042 8.29849C13.8021 8.29849 14.2095 7.89112 14.2095 7.39322C14.2095 6.89532 13.8021 6.48795 13.3042 6.48795C12.8063 6.48795 12.399 6.89532 12.399 7.39322C12.399 7.89112 12.8063 8.29849 13.3042 8.29849Z",fill:"currentColor"})})}),sd=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"joystick",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{d:"M9.5 16V14.5H15.5V16M13.5 10.5V14.5M11.5 10.5V14.5M15.5 7.5C15.5 9.15685 14.1569 10.5 12.5 10.5C10.8431 10.5 9.5 9.15685 9.5 7.5C9.5 5.84315 10.8431 4.5 12.5 4.5C14.1569 4.5 15.5 5.84315 15.5 7.5ZM18.5 19.5H6.5C5.94772 19.5 5.5 19.0523 5.5 18.5V17.5C5.5 16.9477 5.94772 16.5 6.5 16.5H18.5C19.0523 16.5 19.5 16.9477 19.5 17.5V18.5C19.5 19.0523 19.0523 19.5 18.5 19.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),sc=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"json",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{d:"M11 5.5H9.5C8.39543 5.5 7.5 6.39543 7.5 7.5V12.5M7.5 12.5H4M7.5 12.5V17.5C7.5 18.6046 8.39543 19.5 9.5 19.5H11M14 5.5H15.5C16.6046 5.5 17.5 6.39543 17.5 7.5V12.5M17.5 12.5H21M17.5 12.5V17.5C17.5 18.6046 16.6046 19.5 15.5 19.5H14",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),su=(0,ne.forwardRef)(function(e,t){return(0,E.jsxs)("svg",{"data-sanity-icon":"launch",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,E.jsx)("path",{d:"M12 7.5H6.5V18.5H17.5V13M19.5 5.5L10.5 14.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,E.jsx)("path",{d:"M14 5.5H19.5V11",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),sf=(0,ne.forwardRef)(function(e,t){return(0,E.jsxs)("svg",{"data-sanity-icon":"leave",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,E.jsx)("path",{d:"M14.5 15V18.5H5.5V6.5H14.5V10M9 12.5H21.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,E.jsx)("path",{d:"M18 9L21.5 12.5L18 16",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),sh=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"lemon",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{d:"M10.6569 10.3431L6.41422 14.5858C7.58579 15.7574 9.12132 16.3431 10.6569 16.3431M10.6569 10.3431L14.8995 6.1005C16.0711 7.27208 16.6569 8.80761 16.6569 10.3431M10.6569 10.3431L10.6569 16.3431M10.6569 10.3431L16.6569 10.3431M10.6569 10.3431L14.8995 14.5858M14.8995 14.5858C13.7279 15.7574 12.1924 16.3431 10.6569 16.3431M14.8995 14.5858C16.0711 13.4142 16.6569 11.8787 16.6569 10.3431M16.3137 4.68629C19.4379 7.81049 19.4379
312.8758 16.3137 16C13.1895 19.1242 8.12419 19.1242 5 16L16.3137 4.68629Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),sp=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"linkedin",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{d:"M20.0249 20H16.9137V15.1278C16.9137 13.9659 16.893 12.4704 15.2956 12.4704C13.6753 12.4704 13.4273 13.7362 13.4273 15.0432V19.9997H10.3162V9.98042H13.3028V11.3496H13.3447C13.6436 10.8386 14.0755 10.4182 14.5944 10.1332C15.1134 9.8482 15.6999 9.7092 16.2915 9.7312C19.4448 9.7312 20.0262 11.8054 20.0262 14.5036L20.0249 20ZM6.80572 8.6109C6.44863 8.6109 6.0996 8.50507 5.80265 8.30683C5.50571 8.10848 5.27427 7.82653 5.13757 7.4967C5.00086 7.16677 4.96502 6.80378 5.03463 6.45356C5.10423 6.10334 5.27613 5.78157 5.52858 5.52903C5.78103 5.2765 6.10271 5.10448 6.45293 5.03476C6.80315 4.96502 7.16614 5.00072 7.49607 5.13731C7.826 5.2739 8.10796 5.50526 8.30641 5.80212C8.50486 6.09894 8.6108 6.44798 8.6109 6.80507C8.6109 7.04216 8.56422 7.277 8.47352 7.49606C8.38283 7.71512 8.24995 7.91422 8.0823 8.08187C7.91466 8.24952 7.71567 8.3826 7.4966 8.4733C7.27765 8.5641 7.04281 8.61079 6.80572 8.6109ZM8.36136 20H5.24695V9.98042H8.36136V20Z",fill:"currentColor"})})}),sg=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"link",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{d:"M11 12.5L12.5 14C13.281 14.781 14.719 14.781 15.5 14L18.5 11C19.281 10.219 19.281 8.78105 18.5 8L18 7.5C17.2189 6.71895 15.781 6.71895 15 7.5L13 9.5M12 15.5L10 17.5C9.21895 18.281 7.78105 18.281 7 17.5L6.5 17C5.71895 16.219 5.71896 14.781 6.5 14L9.50001 11C10.2811 10.219 11.719 10.2189 12.5 11L14 12.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),sm=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"link-removed",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{d:"M18.5 11C19.281 10.219 19.281 8.78108 18.5 8.00003L18 7.50003C17.2189 6.71898 15.781 6.71898 15 7.50003L13 9.50003M15.5 14C14.7189 14.7811 13.281 14.7811 12.5 14M6.5 14C5.71895 14.7811 5.71894 16.219 6.49999 17L6.99999 17.5C7.78104 18.2811 9.21894 18.2811 9.99999 17.5L12 15.5M12.5 11C11.719 10.219 10.281 10.219 9.5 11M3 12.5H22",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),sv=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"list",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{d:"M6 6.5H19M6 14.5H19M6 10.5H19M6 18.5H19",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),sy=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"lock",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{d:"M15.5 11.5V8.5C15.5 6.5 14 5.5 12.5 5.5C11 5.5 9.5 6.5 9.5 8.5V11.5M7.5 11.5H17.5V19.5H7.5V11.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),sw=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"logo-js",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20 5H5V20H20V5ZM12.5254 16.1572C12.5254 17.4189 11.7742 18.1536 10.4792 18.1536C9.24243 18.1536 8.49121 17.4189 8.45801 16.2942V16.261H9.67407V16.2859C9.69897 16.7466 9.9729 17.0703 10.4626 17.0703C10.9939 17.0703 11.272 16.7507 11.272 16.1489V12.011H12.5254V16.1572ZM18.2893 16.2153C18.2893 17.4023 17.3679 18.1536 15.8738 18.1536C14.4419 18.1536 13.5371 17.4688 13.4666 16.4062L13.4624 16.3398H14.6702L14.6743 16.3813C14.72 16.8296 15.2056 17.1326 15.907 17.1326C16.5752 17.1326 17.0359 16.813 17.0359 16.3523V16.3481C17.0359 15.9539 16.7412 15.7339 15.9983 15.5803L15.3674 15.4517C14.1223 15.1985 13.5869 14.6174 13.5869 13.7085V13.7043C13.5869 12.592 14.5415 11.8574 15.8696 11.8574C17.2683 11.8574 18.0901 12.5962 18.1689 13.5964L18.1731 13.6504H16.9944L16.9861 13.6006C16.9155 13.1731 16.5005 12.8743 15.8696 12.8743C15.2512 12.8784 14.8403 13.1606 14.8403 13.6089V13.613C14.8403 14.0032 15.1309 14.2356 15.8364 14.3809L16.4714 14.5095C17.7373 14.771 18.2893 15.2773 18.2893 16.2112V16.2153Z",fill:"currentColor"})})}),sb=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"logo-ts",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20 5H5V20H20V5ZM11.0769 18H9.82349V13.0444H8.02637V12.011H12.874V13.0444H11.0769V18ZM18.2893 16.2153C18.2893 17.4023 17.3679 18.1536 15.8738 18.1536C14.4419 18.1536 13.5371 17.4688 13.4666 16.4062L13.4624 16.3398H14.6702L14.6743 16.3813C14.72 16.8296 15.2056 17.1326 15.907 17.1326C16.5752 17.1326 17.0359 16.813 17.0359 16.3523V16.3481C17.0359 15.9539 16.7412 15.7339 15.9983 15.5803L15.3674 15.4517C14.1223 15.1985 13.5869 14.6174 13.5869 13.7085V13.7043C13.5869 12.592 14.5415 11.8574 15.8696 11.8574C17.2683 11.8574 18.0901 12.5962 18.1689 13.5964L18.1731 13.6504H16.9944L16.9861 13.6006C16.9155 13.1731 16.5005 12.8743 15.8696 12.8743C15.2512 12.8784 14.8403 13.1606 14.8403 13.6089V13.613C14.8403 14.0032 15.1309 14.2356 15.8364 14.3809L16.4714 14.5095C17.7373 14.771 18.2893 15.2773 18.2893 16.2112V16.2153Z",fill:"currentColor"})})}),sx=(0,ne.forwardRef)(function(e,t){return(0,E.jsxs)("svg",{"data-sanity-icon":"marker",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,E.jsx)("path",{d:"M6.5 10.5C6.5 7 9 4.5 12.5 4.5C16 4.5 18.5 7 18.5 10.5C18.5 14 15.5 17.5 12.5 20.5C9.5 17.5 6.5 14 6.5 10.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,E.jsx)("path",{d:"M14 10.5C14 11.3284 13.3284 12 12.5 12C11.6716 12 11 11.3284 11 10.5C11 9.67157 11.6716 9 12.5 9C13.3284 9 14 9.67157 14 10.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),sC=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"marker-removed",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{d:"M7.39787 14C8.51075 16.2897 10.5054 18.5054 12.5 20.5C14.4946 18.5054 16.4892 16.2897 17.6021 14M6.52009 11C6.50681 10.8334 6.5 10.6667 6.5 10.5C6.5 7 9 4.5 12.5 4.5C16 4.5 18.5 7 18.5 10.5C18.5 10.6667 18.4932 10.8334 18.4799 11M3 12.5H22",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),sk=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"master-detail",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{d:"M9.5 6.5V10.5M9.5 10.5V14.5M9.5 10.5H5.5M9.5 14.5V18.5M9.5 14.5H5.5M5.5 6.5H19.5V18.5H5.5V6.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),sj=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"menu",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{d:"M6 7.5H19M6 17.5H19M6 12.5H19",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),sM=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"microphone",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{d:"M12.5 16.5C15.8137 16.5 18.5 13.8137 18.5 10.5V10M12.5 16.5C9.18629 16.5 6.5 13.8137 6.5 10.5V10M12.5 16.5V20.5M8 20.5H17M15.5 10.5C15.5 12.1569 14.1569 13.5 12.5 13.5C10.8431 13.5 9.5 12.1569 9.5 10.5V7.5C9.5 5.84315 10.8431 4.5 12.5 4.5C14.1569 4.5 15.5 5.84315 15.5 7.5V10.5Z",stroke:"currentColor",strokeWidth:1.2})})}),sL=(0,ne.forwardRef)(function(e,t){return(0,E.jsxs)("svg",{"data-sanity-icon":"microphone-slash",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,E.jsx)("path",{d:"M17.8162 14.412C18.6231 13.3173 19.1 11.9644 19.1 10.5V10H17.9V10.5C17.9 11.6324 17.5514 12.6834 16.9557 13.5516L17.8162 14.412Z",fill:"currentColor"}),(0,E.jsx)("path",{d:"M14.2171 15.6213L15.1446 16.5488C14.5091 16.8271 13.8213 17.0081 13.1 17.0731V19.9H17V21.1H7.99999V19.9H11.9V17.0731C8.53609 16.77 5.89999 13.9429 5.89999 10.5V10H7.09999V10.5C7.09999 13.4824 9.51766 15.9 12.5 15.9C13.1003 15.9 13.6777 15.802
31 14.2171 15.6213Z",fill:"currentColor"}),(0,E.jsx)("path",{d:"M15.6494 12.2453C15.9365 11.7283 16.1 11.1333 16.1 10.5V7.50002C16.1 5.5118 14.4882 3.90002 12.5 3.90002C11.0945 3.90002 9.87704 4.70551 9.2842 5.88007L10.2038 6.79966C10.5035 5.81583 11.4181 5.10002 12.5 5.10002C13.8255 5.10002 14.9 6.17454 14.9 7.50002V10.5C14.9 10.7968 14.8461 11.0811 14.7476 11.3435L15.6494 12.2453Z",fill:"currentColor"}),(0,E.jsx)("path",{d:"M8.89999 10.3042L12.6909 14.0951C12.6277 14.0984 12.564 14.1 12.5 14.1C10.5118 14.1 8.89999 12.4882 8.89999 10.5V10.3042Z",fill:"currentColor"}),(0,E.jsx)("path",{d:"M19 18L6 5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),sS=(0,ne.forwardRef)(function(e,t){return(0,E.jsxs)("svg",{"data-sanity-icon":"mobile-device",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,E.jsx)("path",{d:"M7.5 6.5C7.5 5.39543 8.39543 4.5 9.5 4.5H15.5C16.6046 4.5 17.5 5.39543 17.5 6.5V18.5C17.5 19.6046 16.6046 20.5 15.5 20.5H9.5C8.39543 20.5 7.5 19.6046 7.5 18.5V6.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,E.jsx)("path",{d:"M13.5 17.5C13.5 18.0523 13.0523 18.5 12.5 18.5C11.9477 18.5 11.5 18.0523 11.5 17.5C11.5 16.9477 11.9477 16.5 12.5 16.5C13.0523 16.5 13.5 16.9477 13.5 17.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),s_=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"moon",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{d:"M19.6065 16.1775C18.9417 16.387 18.234 16.5 17.5 16.5C13.634 16.5 10.5 13.366 10.5 9.5C10.5 7.54163 11.3042 5.77109 12.6004 4.50062C12.567 4.50021 12.5335 4.5 12.5 4.5C8.08172 4.5 4.5 8.08172 4.5 12.5C4.5 16.9183 8.08172 20.5 12.5 20.5C15.5924 20.5 18.275 18.7454 19.6065 16.1775Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),sR=(0,ne.forwardRef)(function(e,t){return(0,E.jsxs)("svg",{"data-sanity-icon":"number",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,E.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M21.0165 17.6336H3.83636V16.4336H21.0165V17.6336Z",fill:"currentColor"}),(0,E.jsx)("path",{d:"M7.09808 13.3967V7.508H5.74066L3.83636 8.78241V10.091L5.65277 8.88495H5.74066V13.3967H3.84125V14.5539H8.89984V13.3967H7.09808Z",fill:"currentColor"}),(0,E.jsx)("path",{d:"M9.81781 9.63202V9.66132H11.1069V9.62714C11.1069 8.95331 11.5756 8.49432 12.2739 8.49432C12.9575 8.49432 13.4018 8.89471 13.4018 9.50507C13.4018 9.9787 13.1528 10.3498 12.1909 11.3117L9.89594 13.5822V14.5539H14.8618V13.3869H11.7807V13.299L13.1577 11.9855C14.3491 10.843 14.7543 10.1838 14.7543 9.41229C14.7543 8.19159 13.7729 7.36639 12.3178 7.36639C10.8383 7.36639 9.81781 8.28436 9.81781 9.63202Z",fill:"currentColor"}),(0,E.jsx)("path",{d:"M17.6694 11.4631H18.5092C19.3198 11.4631 19.8422 11.8683 19.8422 12.4982C19.8422 13.1183 19.3295 13.5139 18.5239 13.5139C17.767 13.5139 17.2592 13.133 17.2104 12.5324H15.9262C15.9897 13.8508 17.0248 14.6955 18.5629 14.6955C20.1401 14.6955 21.2192 13.841 21.2192 12.591C21.2192 11.6584 20.6528 11.0334 19.7006 10.9211V10.8332C20.4721 10.6769 20.9457 10.0666 20.9457 9.23651C20.9457 8.12323 19.9741 7.36639 18.5434 7.36639C17.0541 7.36639 16.1118 8.17694 16.0629 9.50018H17.2983C17.3422 8.88007 17.8061 8.48456 18.4995 8.48456C19.2075 8.48456 19.6567 8.85565 19.6567 9.44159C19.6567 10.0324 19.1977 10.4182 18.4946 10.4182H17.6694V11.4631Z",fill:"currentColor"})]})}),sE=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"ok-hand",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{d:"M15.9957 11.5C14.8197 10.912 11.9957 9 10.4957 9C8.9957 9 5.17825 11.7674 6 13C7 14.5 9.15134 11.7256 10.4957 12C11.8401 12.2744 13 13.5 13 14.5C13 15.5 11.8401 16.939 10.4957 16.5C9.15134 16.061 8.58665 14.3415 7.4957 14C6.21272 13.5984 5.05843 14.6168 5.5 15.5C5.94157 16.3832 7.10688 17.6006 8.4957 19C9.74229 20.2561 11.9957 21.5 14.9957 20C17.9957 18.5 18.5 16.2498 18.5 13C18.5 11.5 13.7332 5.36875 11.9957 4.5C10.995
37 4 10 5 10.9957 6.5C11.614 7.43149 13.5 9.27705 14 10.3751M15.5 8C15.5 8 15.3707 7.5 14.9957 6C14.4957 4 15.9957 3.5 16.4957 4.5C17.1281 5.76491 18.2872 10.9147 18.4957 13",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),s$=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"olist",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{d:"M10 7.5H19M10 12.5H19M10 17.5H19M5 18.5H7.5L7 17.5L7.5 16.5H5M5 6.5H6.5V8.5M5 8.5H6.5M6.5 8.5H8M8 13.5H6L7 11.5H5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),sH=(0,ne.forwardRef)(function(e,t){return(0,E.jsxs)("svg",{"data-sanity-icon":"overage",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,E.jsx)("path",{d:"M18.5 11V6.5H14",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,E.jsx)("path",{d:"M6.5 18.5L9 16L12 13L18.5 6.5M3 13.5H22",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),sV=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"package",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{d:"M12.5 13V22M12.5 13L4.5 8M12.5 13L20.5 8M8.5 5.5L16.5 10.5M4.5 8L12.5 3L20.5 8V17L12.5 22L4.5 17V8Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),sI=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"panel-left",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{d:"M10.5 6.5H19.5V18.5H10.5M10.5 6.5H5.5V18.5H10.5M10.5 6.5V18.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),sO=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"panel-right",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{d:"M14.5 6.5H19.5V18.5H14.5M14.5 6.5H5.5V18.5H14.5M14.5 6.5V18.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),sA=(0,ne.forwardRef)(function(e,t){return(0,E.jsxs)("svg",{"data-sanity-icon":"pause",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,E.jsx)("path",{d:"M10.5 7.5H8.5V17.5H10.5V7.5Z",fill:"currentColor"}),(0,E.jsx)("path",{d:"M16.5 7.5H14.5V17.5H16.5V7.5Z",fill:"currentColor"}),(0,E.jsx)("path",{d:"M10.5 7.5H8.5V17.5H10.5V7.5Z",stroke:"currentColor",strokeWidth:1.2}),(0,E.jsx)("path",{d:"M16.5 7.5H14.5V17.5H16.5V7.5Z",stroke:"currentColor",strokeWidth:1.2})]})}),sB=(0,ne.forwardRef)(function(e,t){return(0,E.jsxs)("svg",{"data-sanity-icon":"pin-filled",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,E.jsx)("path",{d:"M17 15H8V13.5C8 12 10.5 11 10.5 11V9L8.5 7V6H16.5V7L14.5 9V11C14.5 11 17 12 17 13.5V15Z",fill:"currentColor",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,E.jsx)("path",{d:"M12 15L12.5 20L13 15",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),sz=(0,ne.forwardRef)(function(e,t){return(0,E.jsxs)("svg",{"data-sanity-icon":"pin",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,E.jsx)("path",{d:"M12 15L12.5 20L13 15",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,E.jsx)("path",{d:"M17 15H8V13.5C8 12 10.5 11 10.5 11V9L8.5 7V6H16.5V7L14.5 9V11C14.5 11 17 12 17 13.5V15Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),sT=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"pin-removed",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{d:"M7.39787 14C8.51075 16.2897 10.5054 18.5054 12.5 20.5C14.4946 18.5054 16.4892 16.2897 17.6021 14M6.52009 11C6.50681 10.8334 6.5 10.6667 6.5 10.5C6.5 7 9 4.5 12.5 4.5C16 4.5 18.5 7 18.5 10.5C18.5 10.6667 18.4932 10.8334 18.4799 11M3 12.5H22",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),sW=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"play",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{d:"M7.5 18.5V6.5L17.5 12.5L7.5 18.5Z",fill:"currentColor",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),sN=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"plug",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{d:"M13.25 8.5L16.75 5M16.25 11.5L19.75 8M9.25 15.5L5.25 19.5M7.75 14L9.75 12C8.25 10 8.75 9 9.75 8C10.15 7.6 11.25 6.5 11.25 6.5L18.25 13.5C18.25 13.5 17.3825 14.3675 16.75 15C15.75 16 14.75 16.5 12.75 15L10.75 17L7.75 14Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),sP=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"presentation",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{d:"M10.5 18H5.5V8.5H19.5V18H14.5M10.5 18L9 22M10.5 18H14.5M14.5 18L16 22M4.5 8.5H20.5V6.5H4.5V8.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),sZ=(0,ne.forwardRef)(function(e,t){return(0,E.jsxs)("svg",{"data-sanity-icon":"progress-50",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,E.jsx)("path",{d:"M17 12.5C17 14.9853 14.9853 17 12.5 17V8C14.9853 8 17 10.0147 17 12.5Z",fill:"currentColor",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}
3),(0,E.jsx)("path",{d:"M12.5 20.5C16.9183 20.5 20.5 16.9183 20.5 12.5C20.5 8.08172 16.9183 4.5 12.5 4.5C8.08172 4.5 4.5 8.08172 4.5 12.5C4.5 16.9183 8.08172 20.5 12.5 20.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),sF=(0,ne.forwardRef)(function(e,t){return(0,E.jsxs)("svg",{"data-sanity-icon":"progress-75",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,E.jsx)("path",{d:"M12.5 17C14.9853 17 17 14.9853 17 12.5C17 10.0147 14.9853 8 12.5 8V12.5H8C8 14.9853 10.0147 17 12.5 17Z",fill:"currentColor",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,E.jsx)("path",{d:"M20.5 12.5C20.5 16.9183 16.9183 20.5 12.5 20.5C8.08172 20.5 4.5 16.9183 4.5 12.5C4.5 8.08172 8.08172 4.5 12.5 4.5C16.9183 4.5 20.5 8.08172 20.5 12.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),sD=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"projects",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{d:"M21 17.5H14M17.5 14V21M5.5 14.5H10.5V19.5H5.5V14.5ZM14.5 5.5H19.5V10.5H14.5V5.5ZM5.5 5.5H10.5V10.5H5.5V5.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),sq=(0,ne.forwardRef)(function(e,t){return(0,E.jsxs)("svg",{"data-sanity-icon":"publish",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,E.jsx)("path",{d:"M4.99997 5.50006H20M12.5 9.00005V20",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,E.jsx)("path",{d:"M7.5 14L12.5 9.00006L17.5 14",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),sU=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"read-only",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{d:"M15 7L18 10M10 12L7 15L6 19L10 18L13 15M12 10L17 5L20 8L15 13M19 19L5 5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),sG=(0,ne.forwardRef)(function(e,t){return(0,E.jsxs)("svg",{"data-sanity-icon":"redo",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,E.jsx)("path",{d:"M19 9.5L10 9.5C7.51472 9.5 5.5 11.5147 5.5 14C5.5 16.4853 7.51472 18.5 10 18.5H19",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,E.jsx)("path",{d:"M15 13.5L19 9.5L15 5.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),sY=(0,ne.forwardRef)(function(e,t){return(0,E.jsxs)("svg",{"data-sanity-icon":"refresh",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,E.jsx)("path",{d:"M19.5 13.5C19.5 17.366 16.366 20.5 12.5 20.5C8.63401 20.5 5.5 17.366 5.5 13.5C5.5 9.63401 8.63401 6.5 12.5 6.5H15.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,E.jsx)("path",{d:"M11.5 10.5L15.5 6.5L11.5 2.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),sK=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"remove-circle",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{d:"M8 12.4H17M20.5 12.5C20.5 16.9183 16.9183 20.5 12.5 20.5C8.08172 20.5 4.5 16.9183 4.5 12.5C4.5 8.08172 8.08172 4.5 12.5 4.5C16.9183 4.5 20.5 8.08172 20.5 12.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),sX=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"remove",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{d:"M5 12.5H20",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),sJ=(0,ne.forwardRef)(function(e,t){return(0,E.jsxs)("svg",{"data-sanity-icon":"reset",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,E.jsx)("path",{d:"M7 11L4.56189 13.5L2 11",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,E.jsx)("path",{d:"M9.50001 15.5L15.5 9.5M9.5 9.5L15.5 15.5M4.56189 13.5C4.52104 13.1724 4.5 12.8387 4.5 12.5C4.5 8.08172 8.08172 4.5 12.5 4.5C16.9183 4.5 20.5 8.08172 20.5 12.5C20.5 16.9183 16.9183 20.5 12.5 20.5C9.75033 20.5 7.32466 19.1128 5.88468 17",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),sQ=(0,ne.forwardRef)(function(e,t){return(0,E.jsxs)("svg",{"data-sanity-icon":"restore",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,E.jsx)("path",{d:"M5.88468 17C7.32466 19.1128 9.75033 20.5 12.5 20.5C16.9
3183 20.5 20.5 16.9183 20.5 12.5C20.5 8.08172 16.9183 4.5 12.5 4.5C8.08172 4.5 4.5 8.08172 4.5 12.5V13.5M12.5 8V12.5L15.5 15.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,E.jsx)("path",{d:"M7 11L4.5 13.5L2 11",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),s1=(0,ne.forwardRef)(function(e,t){return(0,E.jsxs)("svg",{"data-sanity-icon":"retrieve",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,E.jsx)("path",{d:"M16 14L12.5 10.5L9 14M5.5 7.5H19.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,E.jsx)("path",{d:"M12.5 10.5L12.5 17.5M19.5 7.5V19.5H5.5V7.5L7.5 5.5H17.5L19.5 7.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),s0=(0,ne.forwardRef)(function(e,t){return(0,E.jsxs)("svg",{"data-sanity-icon":"retry",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,E.jsx)("path",{d:"M19 9.5L10 9.5C7.51472 9.5 5.5 11.5147 5.5 14C5.5 16.4853 7.51472 18.5 10 18.5H19",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,E.jsx)("path",{d:"M15 13.5L19 9.5L15 5.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),s5=(0,ne.forwardRef)(function(e,t){return(0,E.jsxs)("svg",{"data-sanity-icon":"revert",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,E.jsx)("path",{d:"M6 9.5L15 9.5C17.4853 9.5 19.5 11.5147 19.5 14C19.5 16.4853 17.4853 18.5 15 18.5H6",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,E.jsx)("path",{d:"M10 13.5L6 9.5L10 5.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),s2=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"robot",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{d:"M12.5 15.5V17.5M12.5 8.5V6.5M12.5 6.5C13.3284 6.5 14 5.82843 14 5C14 4.17157 13.3284 3.5 12.5 3.5C11.6716 3.5 11 4.17157 11 5C11 5.82843 11.6716 6.5 12.5 6.5ZM20.5 20.5V19.5C20.5 18.3954 19.6046 17.5 18.5 17.5H6.5C5.39543 17.5 4.5 18.3954 4.5 19.5V20.5H20.5ZM11.5 12C11.5 12.5523 11.0523 13 10.5 13C9.94772 13 9.5 12.5523 9.5 12C9.5 11.4477 9.94772 11 10.5 11C11.0523 11 11.5 11.4477 11.5 12ZM15.5 12C15.5 12.5523 15.0523 13 14.5 13C13.9477 13 13.5 12.5523 13.5 12C13.5 11.4477 13.9477 11 14.5 11C15.0523 11 15.5 11.4477 15.5 12ZM8.5 15.5H16.5C17.6046 15.5 18.5 14.6046 18.5 13.5V10.5C18.5 9.39543 17.6046 8.5 16.5 8.5H8.5C7.39543 8.5 6.5 9.39543 6.5 10.5V13.5C6.5 14.6046 7.39543 15.5 8.5 15.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),s3=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"rocket",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{d:"M12.5 20.5L15.5 14M11 9.49999L4.5 12.5M9 14C9 14 7.54688 14.9531 6.5 16C5.5 17 4.5 20.5 4.5 20.5C4.5 20.5 8 19.5 9 18.5C10 17.5 11 16 11 16M9 14C9 14 10.1 9.9 12.5 7.5C15.5 4.5 20.5 4.5 20.5 4.5C20.5 4.5 20.5 9.5 17.5 12.5C15.7492 14.2508 11 16 11 16L9 14ZM16.5 9.99999C16.5 10.8284 15.8284 11.5 15 11.5C14.1716 11.5 13.5 10.8284 13.5 9.99999C13.5 9.17157 14.1716 8.49999 15 8.49999C15.8284 8.49999 16.5 9.17157 16.5 9.99999Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),s4=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"schema",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{d:"M12.5 9.5V12.5M12.5 12.5H8.5V15.5M12.5 12.5H16.5V15.5M10.5 5.5H14.5V9.5H10.5V5.5ZM6.5 15.5H10.5V19.5H6.5V15.5ZM14.5 15.5H18.5V19.5H14.5V15.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),s6=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"search",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{d:"M15.0355 15.0355L20 20M16.5 11.5C16.5 14.2614 14.2614 16.5 11.5 16.5C8.73858 16.5 6.5 14.2614 6.5 11.5C6.5 8.73858 8.73858 6.5 11.5 6.5C14.2614 6.5 16.5 8.73858 16.5 11.5
3Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),s8=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"select",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{d:"M16 15L12.5 18.5L9 15M9 10L12.5 6.5L16 10",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),s9=(0,ne.forwardRef)(function(e,t){return(0,E.jsxs)("svg",{"data-sanity-icon":"share",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,E.jsx)("path",{d:"M15 10.5H18.5V19.5H6.5L6.5 10.5H10M12.5 16V3.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,E.jsx)("path",{d:"M9 7L12.5 3.5L16 7",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),s7=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"sort",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{d:"M8.5 18.5V6M16.5 19V6.5M12 15L8.5 18.5L5 15M13 10L16.5 6.5L20 10",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),le=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"sparkle",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{d:"M10.5 10.5C8.5 12.5 5 12.5 5 12.5C5 12.5 8.5 12.5 10.5 14.5C12.5 16.5 12.5 20 12.5 20C12.5 20 12.5 16.5 14.5 14.5C16.5 12.5 20 12.5 20 12.5C20 12.5 16.5 12.5 14.5 10.5C12.5 8.5 12.5 5 12.5 5C12.5 5 12.5 8.5 10.5 10.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),lt=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"sparkles",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{d:"M11 3.5V5M11 5V6.5M11 5H12.5M11 5H9.5M9.5 15C9.5 15 12.2308 14.7692 13.5 13.5C14.7692 12.2308 15 9.5 15 9.5C15 9.5 15.2308 12.2308 16.5 13.5C17.7692 14.7692 20.5 15 20.5 15C20.5 15 17.7692 15.2308 16.5 16.5C15.2308 17.7692 15 20.5 15 20.5C15 20.5 14.7692 17.7692 13.5 16.5C12.2308 15.2308 9.5 15 9.5 15ZM4.5 10C4.5 10 5.72308 9.87692 6.3 9.3C6.87692 8.72308 7 7.5 7 7.5C7 7.5 7.12308 8.72308 7.7 9.3C8.27692 9.87692 9.5 10 9.5 10C9.5 10 8.27692 10.1231 7.7 10.7C7.12308 11.2769 7 12.5 7 12.5C7 12.5 6.87692 11.2769 6.3 10.7C5.72308 10.1231 4.5 10 4.5 10Z",stroke:"currentColor",strokeWidth:1.2,strokeLinecap:"round",strokeLinejoin:"round"})})}),ln=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"spinner",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{d:"M4.5 12.5C4.5 16.9183 8.08172 20.5 12.5 20.5C16.9183 20.5 20.5 16.9183 20.5 12.5C20.5 8.08172 16.9183 4.5 12.5 4.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),lr=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"split-horizontal",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{d:"M19.5 10.5V20.5H5.5V10.5M19.5 10.5H5.5M19.5 10.5V4.5H5.5V10.5M12.5 13V15.5M12.5 18V15.5M12.5 15.5H15M12.5 15.5H10",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),lo=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"split-vertical",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{d:"M10.5 5.5V19.5M13 12.5H15.5M18 12.5H15.5M15.5 12.5V15M15.5 12.5V10M4.5 5.5H20.5V19.5H4.5V5.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),li=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"square",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("rect",{x:5.5,y:5.5,width:14,height:14,stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),la=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"stack-compact",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{d:"M5.5 15.5V18.5H19.5V15.5M5.5 15.5H19.5M5.5 15.5V9.5M19.5 15.5V9.5M5.5 9.5V6.5H19.5V9.5M5.5 9.5H19.5M5.5 12.5H19.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),ls=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"stack",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{d:"M5.5 12.5H19.5M5.5 18.5H19.5V6.5H5.5V18.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),ll=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"star-filled",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{d:"M12.5 5L14.3956 9.89092L19.6329 10.1824L15.5672 13.4966L16.9084 18.5676L12.5 15.725L8.09161 18.5676L9.43284 13.4966L5.36708 10.1824L10.6044 9.89092L12.5 5Z",fill:"currentColor",stroke:"currentColor",strokeLinejoin:"round"})})}),ld=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"star",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{d:"M12.5 5L14.3956 9.89092L19.6329 10.1824L15.5672 13.4966L16.9084 18.5676L12.5 15.725L8.09161 18.5676L9.43284 13.4966L5.36708 10.1824L10.6044 9.89092L12.5 5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),lc=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"stop",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("rect",{x:7.5,y:7.5,width:10,height:10,fill:"currentColor",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),lu=(0,ne.forwardRef)(function(e,t){return(0,E.jsxs)("svg",{"data-sanity-icon":"strikethrough",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,E.jsx)("path",{d:"M12.5656 7.73438C11.0656 7.73438 10.
30734 8.48438 10.0734 9.625C10.0734 10.2317 10.3649 10.6613 11.0519 11H8.90358C8.71703 10.6199 8.62813 10.1801 8.62813 9.67188C8.62813 7.75781 10.2297 6.46094 12.6125 6.46094C14.7922 6.46094 16.4172 7.75781 16.5344 9.57812H15.1203C14.925 8.42188 13.9719 7.73438 12.5656 7.73438Z",fill:"currentColor"}),(0,E.jsx)("path",{d:"M12.4875 18.2656C10.0969 18.2656 8.44844 17 8.3 15.0547H9.72188C9.89375 16.2344 11.0188 16.9844 12.6203 16.9844C14.1359 16.9844 15.2531 16.1641 15.2531 15.0469C15.2531 14.6375 15.1255 14.292 14.8589 14H16.5912C16.6638 14.266 16.6984 14.5566 16.6984 14.875C16.6984 16.9453 15.0656 18.2656 12.4875 18.2656Z",fill:"currentColor"}),(0,E.jsx)("path",{d:"M7 13.1H18V11.9H7V13.1Z",fill:"currentColor"})]})}),lf=(0,ne.forwardRef)(function(e,t){return(0,E.jsxs)("svg",{"data-sanity-icon":"string",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,E.jsx)("path",{d:"M11.6748 15.5227H13.1855L9.87842 6.36304H8.34863L5.0415 15.5227H6.50146L7.3457 13.0916H10.8369L11.6748 15.5227ZM9.04053 8.02612H9.14844L10.4751 11.8982H7.70752L9.04053 8.02612Z",fill:"currentColor"}),(0,E.jsx)("path",{d:"M16.8101 14.488C16.0674 14.488 15.5278 14.1262 15.5278 13.5042C15.5278 12.8948 15.9595 12.571 16.9116 12.5076L18.6001 12.3997V12.9773C18.6001 13.8342 17.8384 14.488 16.8101 14.488ZM16.4609 15.637C17.3687 15.637 18.124 15.2434 18.5366 14.5515H18.6445V15.5227H19.9585V10.8C19.9585 9.34009 18.981 8.47681 17.248 8.47681C15.6802 8.47681 14.563 9.23853 14.4233 10.4255H15.7437C15.896 9.93677 16.4229 9.65747 17.1846 9.65747C18.1177 9.65747 18.6001 10.0701 18.6001 10.8V11.3967L16.7275 11.5046C15.0835 11.6062 14.1567 12.3235 14.1567 13.5676C14.1567 14.8308 15.1279 15.637 16.4609 15.637Z",fill:"currentColor"}),(0,E.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M19.9585 18.637L5.0415 18.637V17.437L19.9585 17.437V18.637Z",fill:"currentColor"})]})}),lh=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"sun",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{d:"M19 12.5H22M3 12.5H6M12.5 6V3M12.5 22V19M17.3891 7.61091L19.5104 5.48959M5.48959 19.5104L7.61091 17.3891M7.61091 7.61091L5.48959 5.48959M19.5104 19.5104L17.3891 17.3891M16 12.5C16 14.433 14.433 16 12.5 16C10.567 16 9 14.433 9 12.5C9 10.567 10.567 9 12.5 9C14.433 9 16 10.567 16 12.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),lp=(0,ne.forwardRef)(function(e,t){return(0,E.jsxs)("svg",{"data-sanity-icon":"sync",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,E.jsx)("path",{d:"M13.5 4.5H12.5C8.08172 4.5 4.5 8.08172 4.5 12.5C4.5 15.6631 6.33576 18.3975 9 19.6958M11.5 20.5H12.5C16.9183 20.5 20.5 16.9183 20.5 12.5C20.5 9.33688 18.6642 6.60253 16 5.30423",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,E.jsx)("path",{d:"M14 17.5619L11.5 20.5L14.5 23.0619M11 7.43811L13.5 4.50001L10.5 1.93811",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),lg=(0,ne.forwardRef)(function(e,t){return(0,E.jsxs)("svg",{"data-sanity-icon":"tablet-device",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,E.jsx)("path",{d:"M5.5 5.5C5.5 4.94772 5.94772 4.5 6.5 4.5H18.5C19.0523 4.5 19.5 4.94772 19.5 5.5V19.5C19.5 20.0523 19.0523 20.5 18.5 20.5H6.5C5.94772 20.5 5.5 20.0523 5.5 19.5V5.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,E.jsx)("path",{d:"M13 18C13 18.2761 12.7761 18.5 12.5 18.5C12.2239 18.5 12 18.2761 12 18C12 17.7239 12.2239 17.5 12.5 17.5C12.7761 17.5 13 17.7239 13 18Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),lm=(0,ne.forwardRef)(function(e,t){return(0,E.jsxs)("svg",{"data-sanity-icon":"tag",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,E.jsx)("path",{d:"M12.5 20L5 20L5 12.5L12.5 5L20 12.5L12.5 20Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,E.jsx)("path",{d:"M11 15.5C11 16.3284 10.3284 17 9.5 17C8.67157 17 8 16.3284 8 15.5C8 14.6716 8.67157 14 9.5 14C10.3284 14 11 14.6716 11 15.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),lv=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"tags",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{d:"M12.1562 7.93179L13.9717 6.11633L20.3553 12.5L13.9717 18.8836L10.6855 18.8836M11.0283 18.8836L17.4119 12.5L11.0283 6.11633L4.64462 12.5L4.64462 18.8836L11.0283 18.8836ZM9.75153 15.0534C9.75153 15.7585 9.17992 16.3302 8.47481 16.3302C7.76969 16.3302 7.19808 15.7585 7.19808 15.0534C7.19808 14.3483 7.76969 13.7767 8.47481 13.7767C9.17992 13.7767 9.75153 14.3483 9.75153 15.0534Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),ly=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"target",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{d:"M12.5 3V10M22 12.5H15M12.5 22V15M3 12.5H10M19 12.5C19 16.
30899 16.0899 19 12.5 19C8.91015 19 6 16.0899 6 12.5C6 8.91015 8.91015 6 12.5 6C16.0899 6 19 8.91015 19 12.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),lw=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"task",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{d:"M20.5 10.75V19.75H4.5V10.75M20.5 10.75V5.75H17.5M20.5 10.75H4.5M4.5 10.75V5.75H7.5M7.5 5.75H17.5M7.5 5.75V8.25M7.5 5.75V3.25M17.5 5.75V8.25M17.5 5.75V3.25M9.7002 14.7358L11.7002 16.7358L15.3002 13.1758",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),lb=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"terminal",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{d:"M8.5 9.5L11.5 12.5L8.5 15.5M13 15.5H17M5.5 6.5H19.5V18.5H5.5V6.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),lx=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"text",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{d:"M7.5 9V6.5H17.5V9M12.5 18.5V6.5M10 18.5H15",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),lC=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"th-large",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{d:"M12.5 6.5V12.5M12.5 12.5V18.5M12.5 12.5H19.5M12.5 12.5H5.5M19.5 12.5V6.5H5.5V12.5M19.5 12.5V18.5H5.5V12.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),lk=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"th-list",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{d:"M9.5 6.5V10.5M9.5 10.5V14.5M9.5 10.5H19.5M9.5 10.5H5.5M9.5 14.5V18.5M9.5 14.5H19.5M9.5 14.5H5.5M5.5 6.5H19.5V18.5H5.5V6.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),lj=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"thumbs-down",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{d:"M9.5 15C9.5 15 12.5 16.5 12.5 18C12.5 19.5 13.5 19.5 13.5 19.5C13.5 19.5 14.5 19.5 14.5 18C14.5 16.5 14.5 15.5 14.5 15.5H18C18 15.5 18 15.5 18 15.5C18 15.5 19 15.5 19 14.5C19 13.5 19.5 14 19.5 13C19.5 12 19 11.5 19 10.5C19 9.5 18 9.5 18 8.5C18 7.5 17 7.5 16.5 7.5C16 7.5 9.5 7.5 9.5 7.5M9.5 7.5H6.5V15.5H9.5V7.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),lM=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"thumbs-up",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{d:"M9.5 10C9.5 10 12.5 8.5 12.5 7C12.5 5.5 13.5 5.5 13.5 5.5C13.5 5.5 14.5 5.5 14.5 7C14.5 8.5 14.5 9.5 14.5 9.5H18C18 9.5 18 9.5 18 9.5C18 9.5 19 9.5 19 10.5C19 11.5 19.5 11 19.5 12C19.5 13 19 13.5 19 14.5C19 15.5 18 15.5 18 16.5C18 17.5 17 17.5 16.5 17.5C16 17.5 9.5 17.5 9.5 17.5M9.5 17.5H6.5V9.5H9.5V17.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),lL=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"tiers",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{d:"M16.5 14.5L20.5 16.5L12.5 20.5L4.5 16.5L8.5 14.5M16.5 10.5L20.5 12.5L12.5 16.5L4.5 12.5L8.5 10.5M12.5 12.5L20.5 8.5L12.5 4.5L4.5 8.5L12.5 12.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),lS=(0,ne.forwardRef)(function(e,t){return(0,E.jsxs)("svg",{"data-sanity-icon":"timeline",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,E.jsx)("path",{d:"M12.5 5V20",stroke:"currentColor",strokeWidth:1.2}),(0,E.jsx)("path",{d:"M5 8.5H11M7 12.5H11M9 16.5H11M13 16.5H20M13 12.5H18M13 8.5H16",stroke:"currentColor",strokeWidth:1.2})]})}),l_=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"toggle-arrow-right",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{d:"M10.5 16V9L16 12.5L10.5 16Z",fill:"currentColor",stroke:"currentColor",strokeLinejoin:"round"})})}),lR=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"token",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{d:"M17.5711 12.5C17.5711 15.2614 15.3325 17.5 12.5711 17.5M7.57107 12.5C7.57107 9.73858 9.80964 7.5 12.5711 7.5M20.5 12.5C20.5 16.9183 16.9183 20.5 12.5 20.5C8.08172 20.5 4.5 16.9183 4.5 12.5C4.5 8.08172 8.08172 4.5 12.5 4.5C16.9183 4.5 20.5 8.08172 20.5 12.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),lE=(0,ne.forwardRef)(function(e,t){return(0,E.jsxs)("svg",{"data-sanity-icon":"transfer",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,E.jsx)("path",{d:"M19.5 16.5H6M5.5 8.5L19 8.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,E.jsx)("path",{d:"M16 13L19.5 16.5L16 20M9 12L5.5 8.5L9 5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),l$=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"translate",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.4 5.4H4V6.6H13.2189C13.1612 6.78478 13.0895 6.99578 13.0025 7.22211C12.7032 8.00031 12.2402 8.91125 11.5757 9.57574L10 11.1515L9.42426 10.5757C8.72102 9.8725 8.25297 9.16987 7.96199 8.64611C7.81668 8.38455 7.71617 8.16874 7.65305 8.02146C7.62151 7.94787 7.59937 7.89154 7.5857 7.85534C7.57886 7.83725 7.57415 7.8242 7.57144 7.81657L7.56886 7.80922C7.56886 7.80922 7.56921 7.81026 7 8C6.43079 8.18974 6.43091 8.19009 6.43091 8.19009L6.43133 8.19135L6.43206 8.19351L6.4341 8.19948L6.44052 8.21786C6.44587 8.23292 6.45336 8.25357 6.46313 8.27942C6.48266 8.33112 6.5113 8.40369 6.55008 8.49416C6.62758 8.67501 6.74582 8.92795 6.91301 9.22889C7.24703 9.83013 7.77898 10.6275 8.57574 11.4243L9.15147 12L4.57964 16.5718L4.57655 16.5749L4.57577 16.5757L5.4243 17.4242L5.42688 17.4216L10.0368 12.8117L12.6159 14.9609L13.3841 14.0391L10.8888 11.9597L12.4243 10.4243C13.2598 9.58875 13.7968 8.49969 14.1225 7.65289C14.2818 7.23863 14.395 6.87072 14.4696 6.6H16V5.4H10.6V4H9.4V5.4ZM17.4405 10L21.553 19.7672H20.2509L19.1279 17.1H14.8721L13.7491 19.7672H12.447L16.5595 10H17.4405ZM15.3773 15.9H18.6227L17 12.0462L15.37
373 15.9Z",fill:"currentColor"})})}),lH=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"trash",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{d:"M5 6.5H20M10 6.5V4.5C10 3.94772 10.4477 3.5 11 3.5H14C14.5523 3.5 15 3.94772 15 4.5V6.5M12.5 9V17M15.5 9L15 17M9.5 9L10 17M18.5 6.5L17.571 18.5767C17.5309 19.0977 17.0965 19.5 16.574 19.5H8.42603C7.90349 19.5 7.46905 19.0977 7.42898 18.5767L6.5 6.5H18.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),lV=(0,ne.forwardRef)(function(e,t){return(0,E.jsxs)("svg",{"data-sanity-icon":"trend-upward",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,E.jsx)("path",{d:"M4.5 18.5L11.5 10.5L13.5 14.5L20.5 6.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,E.jsx)("path",{d:"M20.5 11V6.5H16",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),lI=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"triangle-outline",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{d:"M20.5 18.5H4.5L12.5 5.5L20.5 18.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),lO=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"trolley",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{d:"M8 17.5L5.81763 6.26772C5.71013 5.81757 5.30779 5.5 4.84498 5.5H3M8 17.5H17M8 17.5C8.82843 17.5 9.5 18.1716 9.5 19C9.5 19.8284 8.82843 20.5 8 20.5C7.17157 20.5 6.5 19.8284 6.5 19C6.5 18.1716 7.17157 17.5 8 17.5ZM17 17.5C17.8284 17.5 18.5 18.1716 18.5 19C18.5 19.8284 17.8284 20.5 17 20.5C16.1716 20.5 15.5 19.8284 15.5 19C15.5 18.1716 16.1716 17.5 17 17.5ZM7.78357 14.5H17.5L19 7.5H6",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),lA=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"truncate",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{d:"M5 12.5H20M8.5 19.5L12.5 15.5L16.5 19.5M16.5 5.5L12.5 9.5L8.5 5.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),lB=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"twitter",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{d:"M18.8738 6.65751C18.1994 5.9447 17.2445 5.5 16.1857 5.5C14.1423 5.5 12.4857 7.15655 12.4857 9.2C12.4857 9.55263 12.535 9.89374 12.6272 10.2168C7.0826 9.56422 4.55703 6.02857 4.55703 6.02857C4.55703 6.02857 4.02846 9.2 6.14274 11.3143C5.08571 11.3143 4.55703 10.7857 4.55703 10.7857C4.55703 10.7857 4.55703 13.4286 7.19989 14.4857C6.67143 15.0143 5.61417 14.4857 5.61417 14.4857C5.97533 15.9303 7.45606 16.8562 8.82133 17.1358C6.67298 19.1676 3.5 18.7143 3.5 18.7143C5.14562 19.771 7.21334 20.3 9.31429 20.3C16.1214 20.3 19.8162 15.6315 19.8848 9.37762C20.8722 8.58943 22 7.08571 22 7.08571C22 7.08571 21.277 7.45458 19.6913 7.98315C21.277 6.92601 21.4714 5.5 21.4714 5.5C21.4714 5.5 20.4135 6.55789 18.8738 6.65751Z",fill:"currentColor"})})}),lz=(0,ne.forwardRef)(function(e,t){return(0,E.jsxs)("svg",{"data-sanity-icon":"ulist",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,E.jsx)("path",{d:"M7.10153 17.5C7.10153 17.8322 6.83221 18.1016 6.5 18.1016C6.16778 18.1016 5.89847 17.8322 5.89847 17.5C5.89847 17.1678 6.16778 16.8985 6.5 16.8985C6.83221 16.8985 7.10153 17.1678 7.10153 17.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,E.jsx)("path",{d:"M7.10153 7.49997C7.10153 7.83218 6.83221 8.1015 6.5 8.1015C6.16778 8.1015 5.89847 7.83218 5.89847 7.49997C5.89847 7.16775 6.16778 6.89844 6.5 6.89844C6.83221 6.89844 7.10153 7.16775 7.10153 7.49997Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,E.jsx)("path",{d:"M7.10153 12.5C7.10153 12.8322 6.83221 13.1015 6.5 13.1015C6.16778 13.1015 5.89847 12.8322 5.89847 12.5C5.89847 12.1678 6.16778 11.8984 6.5 11.8984C6.83221 11.8984 7.10153 12.1678 7.10153 12.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,E.jsx)("path",{d:"M10 7.5H19M10 17.5H19M10 12.5H19",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),lT=(0,ne.forwardRef)(function(e,t){return(0,E.jsxs)("svg",{"data-sanity-icon":"unarchive",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,E.jsx)("path",{d:"M12.5 10.5V18M20.5 7.5V20.5H4.5V7.5L7.5 4.5H17.5L20.5 7.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,E.jsx)("path",{d:"M4.5 7.5H20.5M16 14L12.5 10.5L9 14",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),lW=(0,ne.forwardRef)(function(e,t){return(0,E.jsxs)("svg",{"data-sanity-icon":"underline",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,E.jsx)("path",{d:"M9.52791 7.11407H8.17V14.2582C8.17 16.5817 9.79195 18.2565 12.4927 18.2565C15.1934 18.2565 16.8154 16.5817 16.8154 14.2582V7.11407H15.4574V14.1677C15.4574 15.8122 14.3787 17.0042 12.4927 17.0042C10.6067 17.0042 9.52791 15.8122 9.52791 14.1677V7.11407Z",fill:"currentColor"}),(0,E.jsx)("path",{d:"M7 20.5H18",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),lN=(0,ne.forwardRef)(function(e,t){return(0,E.jsxs)("svg",{"data-sanity-icon":"undo",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,E.jsx)("path",{d:"M6 9.5L15 9.5C17.4853 9.5 19.5 11.5147 19.5 14C19.5 16.4853 17.4853 18.5 15 18.5H6",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,E.jsx)("path",{d:"M10 13.5L6 9.5L10 5.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),lP=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"unknown",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{d:"M12.5 13C12.5 11 14 11.5 14 10C14 9.34375 13.5 8.5 12.5 8.5C11.5 8.5 11 9 10.5 9.5M12.5 16V14.5M5.5 5.5H19.5V19.5H5.5V5.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),lZ=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"unlink",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{d:"M15 13.5L17.5 11C18.281 10.219 18.281 8.78105 17.5 8L17 7.5C16.2189 6.71895 14.781 6.71895 14 7.5L11.5 10M10 11.5L7.5 14C6.71896 14.781 6.71895 16.219 7.5 17L8 17.5C8.78105 18.281 10.2189 18.281 11 17.5L13.5 15M9.5 8V5M8 9.5H5M17 15.5H20M15.5 17V20",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),lF=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"unlock",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{d:"M9.5 11.5V8.5C9.5 6.5 8 5.5 6.5 5.5C5 5.5 3.5 6.5 3.5 8.5V11.5M7.5 11.5H17.5V19.5H7.5V11.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),lD=(0,ne.forwardRef)(function(e,t){return(0,E.jsxs)("svg",{"data-sanity-icon":"unpublish",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,E.jsx)("path",{d:"M5 19.5H20M12.5 16V5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,E.jsx)("path",{d:"M17.5 11L12.5 16L7.5 11",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),lq=(0,ne.forwardRef)(function(e,t){return(0,E.jsxs)("svg",{"data-sanity-icon":"upload",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,E.jsx)("path",{d:"M12.5 6V15.5M5.5 15.5H19.5V19.5H5.5V15.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,E.jsx)("path",{d:"M7.5 11L12.5 6L17.5 11",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),lU=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"user",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{d:"M8 14.5C7 15 5.5 16 5.5 19.5H19.5C19.5 16 18.3416 15.1708 17 14.5C16 14 14 14 14 12.5C14 11 15 10.25 15 8.25C15 6.25 14 5.25 12.5 5.25C11 5.25 10 6.25 10 8.25C10 10.25 11 11 11 12.5C11 14 9 14 8 14.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),lG=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"users",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{d:"M17.5 18.5H2
31.5C21.5 15 20.8416 14.1708 19.5 13.5C18.5 13 16.5 12.5 16.5 11C16.5 9.5 17.5 9 17.5 7C17.5 5 16.5 4 15 4C13.6628 4 12.723 4.79472 12.5347 6.38415M4.5 20.5C4.5 17 5.5 16 6.5 15.5C7.5 15 9.5 14.5 9.5 13C9.5 11.5 8.5 11 8.5 9C8.5 7 9.5 6 11 6C12.5 6 13.5 7 13.5 9C13.5 11 12.5 11.5 12.5 13C12.5 14.5 14.5 15 15.5 15.5C16.8416 16.1708 17.5 17 17.5 20.5H4.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),lY=(0,ne.forwardRef)(function(e,t){return(0,E.jsxs)("svg",{"data-sanity-icon":"versions",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,E.jsx)("path",{d:"M10.5 7.5H7.5V17.5H10.5M7.5 9.5H4.5V15.5H7.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,E.jsx)("path",{d:"M20.5 19.5V5.5H10.5V19.5H20.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),lK=(0,ne.forwardRef)(function(e,t){return(0,E.jsxs)("svg",{"data-sanity-icon":"video",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,E.jsx)("path",{d:"M19.5 18.5H5.5V6.5H19.5V18.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,E.jsx)("path",{d:"M11.5 14.5V10.5L14.5 12.5L11.5 14.5Z",fill:"currentColor",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),lX=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"warning-filled",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.741 5.12635C13.7357 3.41736 11.2643 3.41736 10.259 5.12635L3.7558 16.1817C2.73624 17.915 3.98595 20.1 5.99683 20.1H19.0032C21.014 20.1 22.2637 17.915 21.2442 16.1817L14.741 5.12635ZM11.9 8.99998V13H13.1V8.99998H11.9ZM13.1 16V14.5H11.9V16H13.1Z",fill:"currentColor"})})}),lJ=(0,ne.forwardRef)(function(e,t){return(0,E.jsx)("svg",{"data-sanity-icon":"warning-outline",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,E.jsx)("path",{d:"M12.5 9V13M12.5 16V14.5M14.2239 5.43058L20.727 16.486C21.5113 17.8192 20.55 19.5 19.0032 19.5H5.99683C4.45 19.5 3.48869 17.8192 4.27297 16.486L10.7761 5.43058C11.5494 4.11596 13.4506 4.11596 14.2239 5.43058Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})});var lQ=e.i(387116),l1="undefined"!=typeof document?ne.useLayoutEffect:function(){};function l0(e,t){let n,r,o;if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if((n=e.length)!==t.length)return!1;for(r=n;0!=r--;)if(!l0(e[r],t[r]))return!1;return!0}if((n=(o=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!({}).hasOwnProperty.call(t,o[r]))return!1;for(r=n;0!=r--;){let n=o[r];if(("_owner"!==n||!e.$$typeof)&&!l0(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function l5(e){return"undefined"==typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function l2(e,t){let n=l5(e);return Math.round(t*n)/n}function l3(e){let t=ne.useRef(e);return l1(()=>{t.current=e}),t}function l4(e){void 0===e&&(e={});let{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:i,floating:a}={},transform:s=!0,whileElementsMounted:l,open:d}=e,[c,u]=ne.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[f,h]=ne.useState(r);l0(f,r)||h(r);let[p,g]=ne.useState(null),[m,v]=ne.useState(null),y=ne.useCallback(e=>{e!==C.current&&(C.current=e,g(e))},[]),w=ne.useCallback(e=>{e!==k.current&&(k.current=e,v(e))},[]),b=i||p,x=a||m,C=ne.useRef(null),k=ne.useRef(null),j=ne.useRef(c),M=null!=l,L=l3(l),S=l3(o),_=l3(d),R=ne.useCallback(()=>{if(!C.current||!k.current)return;let e={placement:t,strategy:n,middleware:f};S.current&&(e.platform=S.current),(0,lQ.computePosition)(C.current,k.current,e).then(e=>{let t={...e,isPositioned:!1!==_.current};E.current&&!l0(j.current,t)&&(j.current=t,nt.flushSync(()=>{u(t)}))})},[f,t,n,S,_]);l1(()=>{!1===d&&j.current.isPositioned&&(j.current.isPositioned=!1,u(e=>({...e,isPositioned:!1})))},[d]);let E=ne.useRef(!1);l1(()=>(E.current=!0,()=>{E.current=!1}),[]),l1(()=>
3{if(b&&(C.current=b),x&&(k.current=x),b&&x){if(L.current)return L.current(b,x,R);R()}},[b,x,R,L,M]);let $=ne.useMemo(()=>({reference:C,floating:k,setReference:y,setFloating:w}),[y,w]),H=ne.useMemo(()=>({reference:b,floating:x}),[b,x]),V=ne.useMemo(()=>{let e={position:n,left:0,top:0};if(!H.floating)return e;let t=l2(H.floating,c.x),r=l2(H.floating,c.y);return s?{...e,transform:"translate("+t+"px, "+r+"px)",...l5(H.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}},[n,s,H.floating,c.x,c.y]);return ne.useMemo(()=>({...c,update:R,refs:$,elements:H,floatingStyles:V}),[c,R,$,H,V])}let l6=(e,t)=>({...(0,lQ.offset)(e),options:[e,t]}),l8=(e,t)=>({...(0,lQ.shift)(e),options:[e,t]}),l9=(e,t)=>({...(0,lQ.flip)(e),options:[e,t]}),l7=(e,t)=>({name:"arrow",options:e,fn(t){let{element:n,padding:r}="function"==typeof e?e(t):e;return n&&({}).hasOwnProperty.call(n,"current")?null!=n.current?(0,lQ.arrow)({element:n.current,padding:r}).fn(t):{}:n?(0,lQ.arrow)({element:n,padding:r}).fn(t):{}},options:[e,t]});var de=e.i(285701),dt=e.i(800919),dn=[],dr="ResizeObserver loop completed with undelivered notifications.",di=function(){var e;"function"==typeof ErrorEvent?e=new ErrorEvent("error",{message:dr}):((e=document.createEvent("Event")).initEvent("error",!1,!1),e.message=dr),window.dispatchEvent(e)};(h=k||(k={})).BORDER_BOX="border-box",h.CONTENT_BOX="content-box",h.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box";var da=function(e){return Object.freeze(e)},ds=function(e,t){this.inlineSize=e,this.blockSize=t,da(this)},dl=function(){function e(e,t,n,r){return this.x=e,this.y=t,this.width=n,this.height=r,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,da(this)}return e.prototype.toJSON=function(){return{x:this.x,y:this.y,top:this.top,right:this.right,bottom:this.bottom,left:this.left,width:this.width,height:this.height}},e.fromRect=function(t){return new e(t.x,t.y,t.width,t.height)},e}(),dd=function(e){return e instanceof SVGElement&&"getBBox"in e},dc=function(e){if(dd(e)){var t=e.getBBox(),n=t.width,r=t.height;return!n&&!r}var o=e.offsetWidth,i=e.offsetHeight;return!(o||i||e.getClientRects().length)},du=function(e){if(e instanceof Element)return!0;var t,n=null==(t=null==e?void 0:e.ownerDocument)?void 0:t.defaultView;return!!(n&&e instanceof n.Element)},df=function(e){switch(e.tagName){case"INPUT":if("image"!==e.type)break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1},dh="undefined"!=typeof window?window:{},dp=new WeakMap,dg=/auto|scroll/,dm=/^tb|vertical/,dv=/msie|trident/i.test(dh.navigator&&dh.navigator.userAgent),dy=function(e){return parseFloat(e||"0")},dw=function(e,t,n){return void 0===e&&(e=0),void 0===t&&(t=0),void 0===n&&(n=!1),new ds((n?t:e)||0,(n?e:t)||0)},db=da({devicePixelContentBoxSize:dw(),borderBoxSize:dw(),contentBoxSize:dw(),contentRect:new dl(0,0,0,0)}),dx=function(e,t){if(void 0===t&&(t=!1),dp.has(e)&&!t)return dp.get(e);if(dc(e))return dp.set(e,db),db;var n=getComputedStyle(e),r=dd(e)&&e.ownerSVGElement&&e.getBBox(),o=!dv&&"border-box"===n.boxSizing,i=dm.test(n.writingMode||""),a=!r&&dg.test(n.overflowY||""),s=!r&&dg.test(n.overflowX||""),l=r?0:dy(n.paddingTop),d=r?0:dy(n.paddingRight),c=r?0:dy(n.paddingBottom),u=r?0:dy(n.paddingLeft),f=r?0:dy(n.borderTopWidth),h=r?0:dy(n.borderRightWidth),p=r?0:dy(n.borderBottomWidth),g=r?0:dy(n.borderLeftWidth),m=u+d,v=l+c,y=g+h,w=f+p,b=s?e.offsetHeight-w-e.clientHeight:0,x=a?e.offsetWidth-y-e.clientWidth:0,C=r?r.width:dy(n.width)-(o?m+y:0)-x,k=r?r.height:dy(n.height)-(o?v+w:0)-b,j=C+m+x+y,M=k+v+b+w,L=da({devicePixelContentBoxSize:dw(Math.round(C*devicePixelRatio),Math.round(k*devicePixelRatio),i),borderBoxSize:dw(j,M,i),contentBoxSize:dw(C,k,i),contentRect:new dl(u,l,C,k)});return dp.set(e,L),L},dC=function(e,t,n){var r=dx(e,n),o=r.borderBoxSize,i=r.contentBoxSize,a=r.devicePixelContentBoxSize;switch(t){case k.DEVICE_PIXEL_CONTENT_BOX:return a;case k.BORDER_BOX:return o;default:return i}},dk=function(e){var t=dx(e);this.target=e,this.contentRect=t.contentRect,this.borderBoxSize=da([t.borderBoxSize]),this.contentBoxSize=da([t.contentBoxSize]),this.devicePixelContentBoxSize=da([t.devicePixelContentBoxSize])},dj=function(e){if(dc(e))return 1/0;for(var t=0,n=e.parentNode;n;)t+=1,n=n.parentNode;return t},dM=function(){var e=1/0,t=[];dn.forEach(function(n){if(0!==n.activeTargets.length){var r=[];
3n.activeTargets.forEach(function(t){var n=new dk(t.target),o=dj(t.target);r.push(n),t.lastReportedSize=dC(t.target,t.observedBox),o<e&&(e=o)}),t.push(function(){n.callback.call(n.observer,r,n.observer)}),n.activeTargets.splice(0,n.activeTargets.length)}});for(var n=0;n<t.length;n++)(0,t[n])();return e},dL=function(e){dn.forEach(function(t){t.activeTargets.splice(0,t.activeTargets.length),t.skippedTargets.splice(0,t.skippedTargets.length),t.observationTargets.forEach(function(n){n.isActive()&&(dj(n.target)>e?t.activeTargets.push(n):t.skippedTargets.push(n))})})},dS=function(){var e=0;for(dL(0);dn.some(function(e){return e.activeTargets.length>0});)dL(e=dM());return dn.some(function(e){return e.skippedTargets.length>0})&&di(),e>0},d_=[],dR=function(e){if(!j){var t=0,n=document.createTextNode("");new MutationObserver(function(){return d_.splice(0).forEach(function(e){return e()})}).observe(n,{characterData:!0}),j=function(){n.textContent="".concat(t?t--:t++)}}d_.push(e),j()},dE=function(e){dR(function(){requestAnimationFrame(e)})},d$=0,dH={attributes:!0,characterData:!0,childList:!0,subtree:!0},dV=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],dI=function(e){return void 0===e&&(e=0),Date.now()+e},dO=!1,dA=new(function(){function e(){var e=this;this.stopped=!0,this.listener=function(){return e.schedule()}}return e.prototype.run=function(e){var t=this;if(void 0===e&&(e=250),!dO){dO=!0;var n=dI(e);dE(function(){var r=!1;try{r=dS()}finally{if(dO=!1,e=n-dI(),!d$)return;r?t.run(1e3):e>0?t.run(e):t.start()}})}},e.prototype.schedule=function(){this.stop(),this.run()},e.prototype.observe=function(){var e=this,t=function(){return e.observer&&e.observer.observe(document.body,dH)};document.body?t():dh.addEventListener("DOMContentLoaded",t)},e.prototype.start=function(){var e=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),dV.forEach(function(t){return dh.addEventListener(t,e.listener,!0)}))},e.prototype.stop=function(){var e=this;this.stopped||(this.observer&&this.observer.disconnect(),dV.forEach(function(t){return dh.removeEventListener(t,e.listener,!0)}),this.stopped=!0)},e}()),dB=function(e){!d$&&e>0&&dA.start(),(d$+=e)||dA.stop()},dz=function(){function e(e,t){this.target=e,this.observedBox=t||k.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return e.prototype.isActive=function(){var e,t=dC(this.target,this.observedBox,!0);return dd(e=this.target)||df(e)||"inline"!==getComputedStyle(e).display||(this.lastReportedSize=t),this.lastReportedSize.inlineSize!==t.inlineSize||this.lastReportedSize.blockSize!==t.blockSize},e}(),dT=function(e,t){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=e,this.callback=t},dW=new WeakMap,dN=function(e,t){for(var n=0;n<e.length;n+=1)if(e[n].target===t)return n;return -1},dP=function(){function e(){}return e.connect=function(e,t){var n=new dT(e,t);dW.set(e,n)},e.observe=function(e,t,n){var r=dW.get(e),o=0===r.observationTargets.length;0>dN(r.observationTargets,t)&&(o&&dn.push(r),r.observationTargets.push(new dz(t,n&&n.box)),dB(1),dA.schedule())},e.unobserve=function(e,t){var n=dW.get(e),r=dN(n.observationTargets,t),o=1===n.observationTargets.length;r>=0&&(o&&dn.splice(dn.indexOf(n),1),n.observationTargets.splice(r,1),dB(-1))},e.disconnect=function(e){var t=this,n=dW.get(e);n.observationTargets.slice().forEach(function(n){return t.unobserve(e,n.target)}),n.activeTargets.splice(0,n.activeTargets.length)},e}(),dZ=function(){function e(e){if(0==arguments.length)throw TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if("function"!=typeof e)throw TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");dP.connect(this,e)}return e.prototype.observe=function(e,t){if(0==arguments.length)throw TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!du(e))throw TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");dP.observe(this,e,t)},e.prototype.unobserve=function(e){if(0==arguments.length)throw TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!du(e))throw TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");dP.unobserve(this,e)},e.prototype.disconnect=function(){dP.disconnect(this)},e.toString=function(){return"function ResizeObserver () { [polyfill code] }"},e}();let dF=ne.default.createContext(!0);function dD(){throw Error("A function wrapped in useEffectEvent can't be called during rendering.")}let dq="use"in ne.default?()=>{try{return ne.default.use(dF)}catch{return!1}}:()=>!1;function dU(e){let t=ne.default.useRef(dD);return ne.default.useInsertionEffect(()=>{t.current=e},[e]),(...e)=>(dq()&&dD(),(0,t.current)(...e))}let dG=(f=void 0,nx({_version:2,avatar:(void 0)??ni,button:(void 0)??na,card:(void 0)??ns,color:(o={light:nP({scheme:"light"}
3,d={color:{base:function(e){let t={};for(let n of nL)t[n]=function(e,t){let n=nW(e?.base?.["*"],e?.base?.[t]),r=n._hue||e?.base?.[t]?._hue||"gray";return{...n,_hue:r,avatar:nr.reduce((e,t)=>({...e,[t]:nW({_hue:t},n.avatar?.["*"],n.avatar?.[t])}),{}),badge:nS.reduce((t,o)=>({...t,[o]:{_hue:e?.base?.[o]?._hue||r,...n.badge?.["*"],...n.badge?.[o]}}),{})}}(e,n);return t}(l=nW(nz,f?.color)),button:function(e){let t={};for(let n of nR)t[n]=function(e,t){let n={};for(let r of nS)n[r]=function(e,t,n){let r={};for(let o of n_)r[o]=function(e,t,n,r){let o=nW(e?.button?.[n]?.["*"]?.["*"],e?.button?.[n]?.[t]?.["*"],e?.button?.[n]?.["*"]?.[r],e?.button?.[n]?.[t]?.[r]),i=o._hue||e?.base?.[t]?._hue;return{...o,_hue:i,avatar:nr.reduce((e,t)=>({...e,[t]:nW({_hue:t},o.avatar?.["*"],o.avatar?.[t])}),{}),badge:nS.reduce((t,n)=>({...t,[n]:{_hue:e?.base?.[n]?._hue||i,...o.badge?.["*"],...o.badge?.[n]}}),{})}}(e,n,t,o);return r}(e,t,r);return n}(e,n);return t}(l),input:function(e){let t={};for(let n of nE)t[n]=function(e,t){let n={};for(let r of n$)n[r]=function(e,t,n){let r=nW(e?.input?.["*"]?.["*"],e?.
3input?.[t]?.["*"],e?.input?.["*"]?.[n],e?.input?.[t]?.[n]),o=r._hue||e?.input?.[t]?._hue;return{...r,_hue:o}}(e,t,r);return n}(e,n);return t}(l),selectable:function(e){let t={};for(let n of nS)t[n]=function(e,t){let n={_hue:e?.selectable?.[t]?._hue||e?.base?.[t]?._hue};for(let r of n_)n[r]=function(e,t,n){let r=nW(e?.selectable?.["*"]?.["*"],e?.selectable?.[t]?.["*"],e?.selectable?.["*"]?.[n],e?.selectable?.[t]?.[n]),o=r._hue||e?.base?.[t]?._hue;return{...r,_hue:o,avatar:nr.reduce((e,t)=>({...e,[t]:nW({_hue:t},r.avatar?.["*"],r.avatar?.[t])}),{}),badge:nS.reduce((t,n)=>({...t,[n]:{_hue:e?.base?.[n]?._hue||o,...r.badge?.["*"],...r.badge?.[n]}}),{})}}(e,t,r);return n}(e,n);return t}(l),syntax:l.syntax}}),dark:nP({scheme:"dark"},d)},p=void 0,{light:n3(r=p?.palette??{black:{title:"Black",hex:"#0d0e12"},white:{title:"White",hex:"#ffffff"},gray:{50:{title:"Gray 50",hex:"#f6f6f8"},100:{title:"Gray 100",hex:"#eeeef1"},200:{title:"Gray 200",hex:"#e3e4e8"},300:{title:"Gray 300",hex:"#bbbdc9"},400:{title:"Gray 400",hex:"#9499ad"},500:{title:"Gray 500",hex:"#727892"},600:{title:"Gray 600",hex:"#515870"},700:{title:"Gray 700",hex:"#383d51"},800:{title:"Gray 800",hex:"#252837"},900:{title:"Gray 900",hex:"#1b1d27"},950:{title:"Gray 950",hex:"#13141b"}},blue:{50:{title:"Blue 50",hex:"#f5f8ff"},100:{title:"Blue 100",hex:"#e5edff"},200:{title:"Blue 200",hex:"#dbe5ff"},300:{title:"Blue 300",hex:"#a8bfff"},400:{title:"Blue 400",hex:"#7595ff"},500:{title:"Blue 500",hex:"#556bfc"},600:{title:"Blue 600",hex:"#4043e7"},700:{title:"Blue 700",hex:"#2927aa"},800:{title:"Blue 800",hex:"#192457"},900:{title:"Blue 900",hex:"#161a41"},950:{title:"Blue 950",hex:"#101228"}},purple:{50:{title:"Purple 50",hex:"#f8f5ff"},100:{title:"Purple 100",hex:"#f1ebff"},200:{title:"Purple 200",hex:"#ece1fe"},300:{title:"Purple 300",hex:"#ccb1fc"},400:{title:"Purple 400",hex:"#b087f7"},500:{title:"Purple 500",hex:"#8f57ef"},600:{title:"Purple 600",hex:"#721fe5"},700:{title:"Purple 700",hex:"#4c1a9e"},800:{title:"Purple 800",hex:"#2f1862"},900:{title:"Purple 900",hex:"#23173f"},950:{title:"Purple 950",hex:"#181128"}},magenta:{50:{title:"Magenta 50",hex:"#fef6f9"},100:{title:"Magenta 100",hex:"#fde8ef"},200:{title:"Magenta 200",hex:"#fcdee9"},300:{title:"Magenta 300",hex:"#f7abc5"},400:{title:"Magenta 400",hex:"#f0709b"},500:{title:"Magenta 500",hex:"#e72767"},600:{title:"Magenta 600",hex:"#b11651"},700:{title:"Magenta 700",hex:"#7c1342"},800:{title:"Magenta 800",hex:"#4b1130"},900:{title:"Magenta 900",hex:"#341325"},950:{title:"Magenta 950",hex:"#1f0f14"}},red:{50:{title:"Red 50",hex:"#fff6f5"},100:{title:"Red 100",hex:"#ffe7e5"},200:{title:"Red 200",hex:"#ffdedc"},300:{title:"Red 300",hex:"#fdada5"},400:{title:"Red 400",hex:"#f77769"},500:{title:"Red 500",hex:"#ef4434"},600:{title:"Red 600",hex:"#cc2819"},700:{title:"Red 700",hex:"#8b2018"},800:{title:"Red 800",hex:"#4d1714"},900:{title:"Red 900",hex:"#321615"},950:{title:"Red 950",hex:"#1e1011"}},orange:{50:{title:"Orange 50",hex:"#fff7f0"},100:{title:"Orange 100",hex:"#ffeadb"},200:{title:"Orange 200",hex:"#ffddc7"},300:{title:"Orange 300",hex:"#ffb685"},400:{title:"Orange 400",hex:"#ff8e42"},500:{title:"Orange 500",hex:"#fa6400"},600:{title:"Orange 600",hex:"#b14802"},700:{title:"Orange 700",hex:"#7c3404"},800:{title:"Orange 800",hex:"#461e07"},900:{title:"Orange 900",hex:"#32160b"},950:{title:"Orange 950",hex:"#21120d"}},yellow:{50:{title:"Yellow 50",hex:"#fefae1"},100:{title:"Yellow 100",hex:"#fcf3bb"},200:{title:"Yellow 200",hex:"#f9e994"},300:{title:"Yellow 300",hex:"#f7d455"},400:{title:"Yellow 400",hex:"#f9bc15"},500:{title:"Yellow 500",hex:"#d28a04"},600:{title:"Yellow 600",hex:"#965908"},700:{title:"Yellow 700",hex:"#653a0b"},800:{title:"Yellow 800",hex:"#3b220c"},900:{title:"Yellow 900",hex:"#271a11"},950:{title:"Yellow 950",hex:"#181410"}},green:{50:{title:"Green 50",hex:"#e7fef5"},100:{title:"Green 100",hex:"#c5fce8"},200:{title:"Green 200",hex:"#a9f9dc"},300:{title:"Green 300",hex:"#59f3ba"},400:{title:"Green 400",hex:"#0ff0a1"},500:{title:"Green 500",hex:"#04b97a"},600:{title:"Green 600",hex:"#01794f"},700:{title:"Green 700",hex:"#015133"},800:{title:"Green 800",hex:"#023120"},900:{title:"Green 900",hex:"#06231a"},950:{title:"Green 950",hex:"#071715"}},cyan:{50:{title:"Cyan 50",hex:"#e7fefe"},100:{title:"Cyan 100",hex:"#c5fcfc"},200:{title:"Cyan 200",hex:"#96f8f8"},300:{title:"Cyan 300",hex:"#62efef"},400:{title:"Cyan 400",hex:"#18e2e2"},500:{title:"Cyan 500",hex:"#04b8be"},600:{title:"Cyan 600",hex:"#037782"},700:{title:"Cyan 700",hex:"#024950"},800:{title:"Cyan 800",hex:"#042f34"},900:{title:"Cyan 900",hex:"#072227"},950:{title:"Cyan 950",hex:"#0d181c"}}},o.light),dark:n3(r,o.dark)}
3),container:(void 0)??[320,640,960,1280,1600,1920],font:(void 0)??{code:{family:"ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace",weights:{regular:400,medium:500,semibold:600,bold:700},sizes:[{ascenderHeight:4,descenderHeight:4,fontSize:10,iconSize:17,lineHeight:15,letterSpacing:0},{ascenderHeight:5,descenderHeight:5,fontSize:13,iconSize:21,lineHeight:19,letterSpacing:0},{ascenderHeight:6,descenderHeight:6,fontSize:16,iconSize:25,lineHeight:23,letterSpacing:0},{ascenderHeight:7,descenderHeight:7,fontSize:19,iconSize:29,lineHeight:27,letterSpacing:0},{ascenderHeight:8,descenderHeight:8,fontSize:22,iconSize:33,lineHeight:31,letterSpacing:0}]},heading:{family:'Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Liberation Sans", Helvetica, Arial, system-ui, sans-serif',weights:{regular:700,medium:800,semibold:900,bold:900},sizes:[{ascenderHeight:5,descenderHeight:5,fontSize:13,iconSize:17,lineHeight:19,letterSpacing:0},{ascenderHeight:6,descenderHeight:6,fontSize:16,iconSize:25,lineHeight:23,letterSpacing:0},{ascenderHeight:7,descenderHeight:7,fontSize:21,iconSize:33,lineHeight:29,letterSpacing:0},{ascenderHeight:8,descenderHeight:8,fontSize:27,iconSize:41,lineHeight:35,letterSpacing:0},{ascenderHeight:9.5,descenderHeight:8.5,fontSize:33,iconSize:49,lineHeight:41,letterSpacing:0},{ascenderHeight:10.5,descenderHeight:9.5,fontSize:38,iconSize:53,lineHeight:47,letterSpacing:0}]},label:{family:'Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Liberation Sans", system-ui, sans-serif',weights:{regular:600,medium:700,semibold:800,bold:900},sizes:[{ascenderHeight:2,descenderHeight:2,fontSize:8.1,iconSize:13,lineHeight:10,letterSpacing:.5},{ascenderHeight:2,descenderHeight:2,fontSize:9.5,iconSize:15,lineHeight:11,letterSpacing:.5},{ascenderHeight:2,descenderHeight:2,fontSize:10.8,iconSize:17,lineHeight:12,letterSpacing:.5},{ascenderHeight:2,descenderHeight:2,fontSize:12.25,iconSize:19,lineHeight:13,letterSpacing:.5},{ascenderHeight:2,descenderHeight:2,fontSize:13.6,iconSize:21,lineHeight:14,letterSpacing:.5},{ascenderHeight:2,descenderHeight:2,fontSize:15,iconSize:23,lineHeight:15,letterSpacing:.5}]},text:{family:'Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Liberation Sans", Helvetica, Arial, system-ui, sans-serif',weights:{regular:400,medium:500,semibold:600,bold:700},sizes:[{ascenderHeight:4,descenderHeight:4,fontSize:10,iconSize:17,lineHeight:15,letterSpacing:0},{ascenderHeight:5,descenderHeight:5,fontSize:13,iconSize:21,lineHeight:19,letterSpacing:0},{ascenderHeight:6,descenderHeight:6,fontSize:15,iconSize:25,lineHeight:23,letterSpacing:0},{ascenderHeight:7,descenderHeight:7,fontSize:18,iconSize:29,lineHeight:27,letterSpacing:0},{ascenderHeight:8,descenderHeight:8,fontSize:21,iconSize:33,lineHeight:31,letterSpacing:0}]}},input:(void 0)??nd,layer:(void 0)??nl,media:(void 0)??[360,600,900,1200,1800,2400],radius:(void 0)??[0,1,3,6,9,12,21],shadow:(void 0)??[null,{umbra:[0,0,0,0],penumbra:[0,0,0,0],ambient:[0,0,0,0]},{umbra:[0,3,5,-2],penumbra:[0,6,10,0],ambient:[0,1,18,1]},{umbra:[0,7,8,-4],penumbra:[0,12,17,2],ambient:[0,5,22,4]},{umbra:[0,9,11,-5],penumbra:[0,18,28,2],ambient:[0,7,34,6]},{umbra:[0,11,15,-7],penumbra:[0,24,38,3],ambient:[0,9,46,8]}],space:(void 0)??[0,4,8,12,20,32,52,84,136,220],style:(void 0)??{button:{root:{transition:"background-color 100ms,border-color 100ms,color 100ms"}}}})),dY=[],dK={},dX={initial:{scale:.97,willChange:"transform"},hidden:{opacity:0},visible:{opacity:1,transition:{when:"beforeChildren",duration:.1}},scaleIn:{scale:1},scaleOut:{scale:.97}},dJ={hidden:{opacity:0},visible:{opacity:1}},dQ={type:"spring",visualDuration:.2,bounce:.25};function d1(e){return e instanceof Node&&e.nodeType===Node.ELEMENT_NODE}function d0(e){return d1(e)&&"A"===e.nodeName}function d5(e){return d1(e)&&"BUTTON"===e.nodeName}function d2(e,t){return e.contains(t)||e===t}function d3(e){return 0===e?0:`${e/16}rem`}function d4(e,t,n){return(t?.map(n)||[]).map((t,n)=>0===n?t:{[`@media screen and (min-width: ${e[n-1]}px)`]:t})}function d6(e,t){return void 0===e?t||dY:Array.isArray(e)?e:[e]}function d8(e,t,n=dY){if(!Array.isArray(n))throw Error("the property must be array of numbers");if(0===n.length)return null;let{media:r,space:o}=nv(e);return d4(r,n,e=>{var n;return n=d3(o[e]),t.reduce((e,t)=>
3(e[t]=n,e),{})})}function d9(e,t){let{$size:n,$weight:r}=t,{font:o,media:i}=nv(t.theme),{family:a,sizes:s,weights:l}=o[e],d=r&&l[r]||l.regular,c=s[2],u={position:"relative",fontFamily:a,fontWeight:`${d}`,padding:"1px 0",margin:0,"&:before":{content:'""',display:"block",height:0},"&:after":{content:'""',display:"block",height:0},"& > code, & > span":{display:"block"},"&:not([hidden])":{display:"block"}};return n?[u,...d4(i,n,e=>(function(e){let{ascenderHeight:t,descenderHeight:n,fontSize:r,iconSize:o,letterSpacing:i,lineHeight:a}=e,s=t+n,l=a-s,d=2*Math.floor(1.125*r/2)+1;return{fontSize:d3(r),lineHeight:`calc(${a} / ${r})`,letterSpacing:d3(i),transform:`translateY(${d3(n)})`,"&:before":{marginTop:`calc(${d3(0-s)} - 1px)`},"&:after":{marginBottom:"-1px"},"& svg:not([data-sanity-icon])":{fontSize:`calc(${d} / 16 * 1rem)`,margin:d3((l-d)/2)},"& [data-sanity-icon]":{fontSize:`calc(${o} / 16 * 1rem)`,margin:d3((l-o)/2)}}})(s[e]||c))]:(d9.warned||(console.warn("No size specified for responsive font",{fontKey:e,$size:n,props:t,base:u}),d9.warned=!0),[u])}function d7(e){let{media:t}=nv(e.theme);return d4(t,e.$align,e=>({textAlign:e}))}let ce="u">typeof globalThis?globalThis:"u">typeof window?window:"u">typeof self?self:e.g;function ct(e,t){let n=Symbol.for(e);if(typeof document>"u"){let n=(0,ne.createContext)(t);return n.displayName=e,n}return ce[n]=ce[n]||(0,ne.createContext)(t),ce[n]}let cn=ct("@sanity/ui/context/theme",null);function cr(e){let t,n,r,o,i=(0,$.c)(15),a=(0,ne.useContext)(cn),{children:s}=e,l=e.scheme??(a?.scheme||"light"),d=e.theme??(a?.theme||null),c=e.tone??(a?.tone||"default");t:{let e;if(!d){t=null;break t}i[0]!==d||i[1]!==l||i[2]!==c?(e={version:0,theme:d,scheme:l,tone:c},i[0]=d,i[1]=l,i[2]=c,i[3]=e):e=i[3],t=e}let u=t;n:{let e;if(!d){n=null;break n}i[4]!==d||i[5]!==l||i[6]!==c?(e=function(e,t,n){var r,o,i,a,s;let l,d=function(e,t,n){let r=rn.get(t);if(!r)return;let o=r.get(n);if(o)return o.get(e)}(e,t,n);if(d)return d;let c=ny(e)?nx(e):e,u=ny(e)?e:function(e){if(e.v2)return e.v2;let t=nw.get(e);if(t)return t;let{avatar:n,button:r,color:o,container:i,fonts:a,input:s,layer:l,media:d,radius:c,shadows:u,space:f,styles:h}=e,p={_version:2,avatar:{...ni,...n},button:{...na,...r},card:ns,color:{light:{transparent:nu(o.light.transparent),default:nu(o.light.default),neutral:nu(o.light.transparent),primary:nu(o.light.primary),suggest:nu(o.light.primary),positive:nu(o.light.positive),caution:nu(o.light.caution),critical:nu(o.light.critical)},dark:{transparent:nu(o.dark.transparent),default:nu(o.dark.default),neutral:nu(o.dark.transparent),primary:nu(o.dark.primary),suggest:nu(o.dark.primary),positive:nu(o.dark.positive),caution:nu(o.dark.caution),critical:nu(o.dark.critical)}},container:i,font:a,input:{...nd,...s,checkbox:{...nd.checkbox,...s.checkbox},radio:{...nd.radio,...s.radio},switch:{...nd.switch,...s.switch}},layer:l??nl,media:d,radius:c,shadow:u,space:f,style:h};return nw.set(e,p),p}(e),f=c.color[t]||c.color.light,h=f[n]||f.default,p=c.layer||nl,g=u.color[t]||u.color.light,m="neutral"in(r=g[n]||g.default).badge?r:{...r,badge:{...r.badge,neutral:r.badge.default,suggest:r.badge.primary},button:{bleed:{...r.button.bleed,neutral:r.button.bleed.default,suggest:r.button.bleed.primary},default:{...r.button.default,neutral:r.button.default.default,suggest:r.button.default.primary},ghost:{...r.button.ghost,neutral:r.button.ghost.default,suggest:r.button.ghost.primary}},selectable:{...r.selectable,neutral:r.selectable.default,suggest:r.selectable.primary}},v=u.layer||nl,y={sanity:{...c,color:h,layer:p,v2:{...u,_resolved:!0,color:m,layer:v}}};return o=e,i=t,a=n,s=y,rn.has(i)||rn.set(i,new Map),(l=rn.get(i)).has(a)||l.set(a,new WeakMap),l.get(a).set(o,s),y}(d,l,c),i[4]=d,i[5]=l,i[6]=c,i[7]=e):e=i[7],n=e}let f=n;if(!f){let e;return i[8]===Symbol.for("react.memo_cache_sentinel")?(e=(0,E.jsx)("pre",{children:'ThemeProvider: no "theme" property provided'}),i[8]=e):e=i[8],e}return i[9]!==s||i[10]!==f?(r=(0,E.jsx)(o9,{theme:f,children:s}),i[9]=s,i[10]=f,i[11]=r):r=i[11],i[12]!==r||i[13]!==u?(o=(0,E.jsx)(cn.Provider,{value:u,children:r}),i[12]=r,i[13]=u,i[14]=o):o=i[14],o}function co(){let e=(0,ne.useContext)(cn);
3if(!e)throw Error("useRootTheme(): missing context value");return e}function ci(e){let t,n=(0,$.c)(5),{children:r,scheme:o,tone:i}=e,a=co(),s=o||a.scheme;return n[0]!==r||n[1]!==a.theme||n[2]!==s||n[3]!==i?(t=(0,E.jsx)(cr,{scheme:s,theme:a.theme,tone:i,children:r}),n[0]=r,n[1]=a.theme,n[2]=s,n[3]=i,n[4]=t):t=n[4],t}function ca(){let e,t=(0,$.c)(2),n=function(){var e=(0,ne.useContext)(o8);if(!e)throw oj(18);return e}();return t[0]!==n?(e=nv(n),t[0]=n,t[1]=e):e=t[1],e}function cs(e){let{card:t,media:n}=nv(e.theme),r=`${t.border?.width??1}px solid var(--card-border-color)`;return d4(n,e.$border,e=>e?{"&&":{border:r}}:{"&&":{border:0}})}function cl(e){let{card:t,media:n}=nv(e.theme),r=`${t.border?.width??1}px solid var(--card-border-color)`;return d4(n,e.$borderTop,e=>e?{"&&":{borderTop:r}}:{"&&":{borderTop:0}})}function cd(e){let{card:t,media:n}=nv(e.theme),r=`${t.border?.width??1}px solid var(--card-border-color)`;return d4(n,e.$borderRight,e=>e?{"&&":{borderRight:r}}:{"&&":{borderRight:0}})}function cc(e){let{card:t,media:n}=nv(e.theme),r=`${t.border?.width??1}px solid var(--card-border-color)`;return d4(n,e.$borderBottom,e=>e?{"&&":{borderBottom:r}}:{"&&":{borderBottom:0}})}function cu(e){let{card:t,media:n}=nv(e.theme),r=`${t.border?.width??1}px solid var(--card-border-color)`;return d4(n,e.$borderLeft,e=>e?{"&&":{borderLeft:r}}:{"&&":{borderLeft:0}})}cr.displayName="ThemeProvider",ci.displayName="ThemeColorProvider";let cf={'&[data-as="ul"],&[data-as="ol"]':{listStyle:"none"}},ch={content:"content-box",border:"border-box"},cp={stretch:"stretch",fill:"100%"};function cg(e){let{media:t}=nv(e.theme);return d4(t,e.$display,e=>({"&:not([hidden])":{display:e}}))}function cm(e){let{media:t}=nv(e.theme);return d4(t,e.$sizing,e=>({boxSizing:ch[e]}))}function cv(e){let{media:t}=nv(e.theme);return d4(t,e.$height,e=>({height:cp[e]}))}function cy(e){let{media:t}=nv(e.theme);return d4(t,e.$overflow,e=>({overflow:e}))}let cw={minWidth:0,minHeight:0};function cb(){return[cw,cx]}function cx(e){let{media:t}=nv(e.theme);return e.$flex?d4(t,e.$flex,e=>({flex:`${e}`})):dY}let cC={"&&:not([hidden])":{display:"flex"}};function ck(e){let{media:t}=nv(e.theme);return d4(t,e.$align,e=>({alignItems:e}))}function cj(e){let{media:t,space:n}=nv(e.theme);return d4(t,e.$gap,e=>({gap:e?d3(n[e]):void 0}))}function cM(e){let{media:t}=nv(e.theme);return d4(t,e.$wrap,e=>({flexWrap:e}))}function cL(e){let{media:t}=nv(e.theme);return d4(t,e.$justify,e=>({justifyContent:e}))}function cS(e){let{media:t}=nv(e.theme);return d4(t,e.$direction,e=>({flexDirection:e}))}function c_(e){return`inset 0 0 0 ${e.width}px ${e.color}`}function cR(e){let{base:t,border:n,focusRing:r}=e,o=r.offset+r.width,i=0-r.offset,a=t?t.bg:"var(--card-bg-color)";return[i>0&&`inset 0 0 0 ${i}px var(--card-focus-ring-color)`,n&&c_(n),i<0&&`0 0 0 ${0-i}px ${a}`,o>0&&`0 0 0 ${o}px var(--card-focus-ring-color)`].filter(Boolean).join(",")}let cE={auto:"auto",full:"1 / -1"},c$={auto:"auto",full:"1 / -1"};function cH(e){let{media:t}=nv(e.theme);return d4(t,e.$row,e=>"number"==typeof e?{gridRow:`span ${e} / span ${e}`}:{gridRow:cE[e]})}function cV(e){let{media:t}=nv(e.theme);return d4(t,e.$rowStart,e=>({gridRowStart:`${e}`}))}function cI(e){let{media:t}=nv(e.theme);return d4(t,e.$rowEnd,e=>({gridRowEnd:`${e}`}))}function cO(e){let{media:t}=nv(e.theme);return d4(t,e.$column,e=>"number"==typeof e?{gridColumn:`span ${e} / span ${e}`}:{gridColumn:c$[e]})}function cA(e){let{media:t}=nv(e.theme);return d4(t,e.$columnStart,e=>({gridColumnStart:`${e}`}))}function cB(e){let{media:t}=nv(e.theme);return d4(t,e.$columnEnd,e=>({gridColumnEnd:`${e}`}))}let cz={"&&:not([hidden])":{display:"grid"},'&[data-as="ul"],&[data-as="ol"]':{listStyle:"none"}},cT={auto:"auto",min:"min-content",max:"max-content",fr:"minmax(0, 1fr)"},cW={auto:"auto",min:"min-content",max:"max-content",fr:"minmax(0, 1fr)"};function cN(e){let{media:t}=nv(e.theme);return d4(t,e.$autoFlow,e=>({gridAutoFlow:e}))}function cP(e){let{media:t}=nv(e.theme);return d4(t,e.$autoRows,e=>({gridAutoRows:e&&cW[e]}))}function cZ(e){let{media:t}=nv(e.theme);return d4(t,e.$autoCols,e=>({gridAutoColumns:e&&cT[e]}))}function cF(e){let{media:t}=nv(e.theme);return d4(t,e.$columns,e=>({gridTemplateColumns:e&&`repeat(${e},minmax(0,1fr));`}))}function cD(e){let{media:t}=nv(e.theme);return d4(t,e.$rows,e=>({gridTemplateRows:e&&`repeat(${e},minmax(0,1fr));`}))}
3function cq(e){let{media:t,space:n}=nv(e.theme);return d4(t,e.$gap,e=>({gridGap:e?d3(n[e]):void 0}))}function cU(e){let{media:t,space:n}=nv(e.theme);return d4(t,e.$gapX,e=>({columnGap:e?d3(n[e]):void 0}))}function cG(e){let{media:t,space:n}=nv(e.theme);return d4(t,e.$gapY,e=>({rowGap:e?d3(n[e]):void 0}))}function cY(e){let{$fontSize:t,$iconLeft:n,$iconRight:r,$padding:o,$space:i}=e,{font:a,media:s,space:l}=nv(e.theme),d=Math.max(o.length,i.length,t.length),c=[],u=[],f=[];for(let e=0;e<d;e+=1)f[e]=void 0===t[e]?f[e-1]:t[e],c[e]=void 0===o[e]?c[e-1]:o[e],u[e]=void 0===i[e]?u[e-1]:i[e];return d4(s,c,(e,t)=>{let o=a.text.sizes[f[t]]||a.text.sizes[2],i=o.lineHeight-o.ascenderHeight-o.descenderHeight,s=l[c[t]],d=l[u[t]],h={paddingTop:d3(s-o.ascenderHeight),paddingRight:d3(s),paddingBottom:d3(s-o.descenderHeight),paddingLeft:d3(s)};return r&&(h.paddingRight=d3(s+i+d)),n&&(h.paddingLeft=d3(s+i+d)),h})}function cK(e){return cY({...e,$iconRight:!0})}let cX=io` 4 &:not([hidden]) { 5 display: flex; 6 } 7 8 align-items: center; 9`;function cJ(){return cX}function cQ(e){let{$scheme:t,$tone:n,$weight:r}=e,{color:o,font:i}=nv(e.theme);return io` 10 appearance: none; 11 background: none; 12 border: 0; 13 border-radius: 0; 14 outline: none; 15 width: 100%; 16 box-sizing: border-box; 17 font-family: ${i.text.family}; 18 font-weight: ${r&&i.text.weights[r]||i.text.weights.regular}; 19 margin: 0; 20 position: relative; 21 z-index: 1; 22 display: block; 23 24 /* NOTE: This is a hack to disable Chromeâs autofill styles */ 25 &:-webkit-autofill, 26 &:-webkit-autofill:hover, 27 &:-webkit-autofill:focus, 28 &:-webkit-autofill:active { 29 -webkit-text-fill-color: var(--input-fg-color) !important; 30 transition: background-color 5000s; 31 transition-delay: 86400s /* 24h */; 32 } 33 34 /* &:is(textarea) */ 35 &[data-as='textarea'] { 36 resize: none; 37 } 38 39 color: var(--input-fg-color); 40 41 &::placeholder { 42 color: var(--input-placeholder-color); 43 } 44 45 &[data-scheme='${t}'][data-tone='${n}'] { 46 --input-fg-color: ${o.input.default.enabled.fg}; 47 --input-placeholder-color: ${o.input.default.enabled.placeholder}; 48 49 /* enabled */ 50 &:not(:invalid):not(:disabled):not(:read-only) { 51 --input-fg-color: ${o.input.default.enabled.fg}; 52 --input-placeholder-color: ${o.input.default.enabled.placeholder}; 53 } 54 55 /* disabled */ 56 &:not(:invalid):disabled { 57 --input-fg-color: ${o.input.default.disabled.fg}; 58 --input-placeholder-color: ${o.input.default.disabled.placeholder}; 59 } 60 61 /* invalid */ 62 &:invalid { 63 --input-fg-color: ${o.input.invalid.enabled.fg}; 64 --input-placeholder-color: ${o.input.invalid.enabled.placeholder}; 65 } 66 67 /* readOnly */ 68 &:read-only { 69 --input-fg-color: ${o.input.default.readOnly.fg}; 70 --input-placeholder-color: ${o.input.default.readOnly.placeholder}; 71 } 72 } 73 `}function c1(e){let{font:t,media:n}=nv(e.theme);return d4(n,e.$fontSize,e=>{let n=t.text.sizes[e]||t.text.sizes[2];return{fontSize:d3(n.fontSize),lineHeight:`${n.lineHeight/n.fontSize}`}})}function c0(e){let{$hasPrefix:t,$hasSuffix:n,$scheme:r,$tone:o,$unstableDisableFocusRing:i}=e,{color:a,input:s}=nv(e.theme);return io` 74 --input-box-shadow: none; 75 76 position: absolute; 77 top: 0; 78 left: 0; 79 right: 0; 80 bottom: 0; 81 display: block; 82 pointer-events: none; 83 z-index: 0; 84 85 background-color: var(--card-bg-color); 86 box-shadow: var(--input-box-shadow); 87 88 border-top-left-radius: ${t?0:void 0}; 89 border-bottom-left-radius: ${t?0:void 0}; 90 border-top-right-radius: ${n?0:void 0}; 91 border-bottom-right-radius: ${n?0:void 0}; 92 93 &[data-scheme='${r}'][data-tone='${o}'] { 94 --card-bg-color: ${a.input.default.enabled.bg}; 95 --card-fg-color: ${a.input.default.enabled.fg}; 96 97 /* enabled */ 98 *:not(:disabled) + &[data-border] { 99 --input-box-shadow: ${c_({color:a.input.default.enabled.border,width:s.border.width})}; 100 } 101 102 /* invalid */ 103 *:not(:disabled):invalid + & {
104 --card-bg-color: ${a.input.invalid.enabled.bg}; 105 --card-fg-color: ${a.input.invalid.enabled.fg}; 106 107 &[data-border] { 108 --input-box-shadow: ${c_({color:a.input.invalid.enabled.border,width:s.border.width})}; 109 } 110 } 111 112 /* focused */ 113 *:not(:disabled):focus + & { 114 &[data-border] { 115 --input-box-shadow: ${i?void 0:cR({border:{color:a.input.default.enabled.border,width:s.border.width},focusRing:s.text.focusRing})}; 116 } 117 118 &:not([data-border]) { 119 --input-box-shadow: ${i?void 0:cR({focusRing:s.text.focusRing})}; 120 } 121 } 122 123 /* disabled */ 124 *:not(:invalid):disabled + & { 125 --card-bg-color: ${a.input.default.disabled.bg} !important; 126 --card-fg-color: ${a.input.default.disabled.fg} !important; 127 --card-icon-color: ${a.input.default.disabled.fg} !important; 128 129 &[data-border] { 130 --input-box-shadow: ${c_({color:a.input.default.disabled.border,width:s.border.width})}; 131 } 132 } 133 134 *:invalid:disabled + & { 135 --card-bg-color: ${a.input.invalid.disabled.bg} !important; 136 --card-fg-color: ${a.input.invalid.disabled.fg} !important; 137 --card-icon-color: ${a.input.invalid.disabled.fg} !important; 138 139 &[data-border] { 140 --input-box-shadow: ${c_({color:a.input.invalid.disabled.border,width:s.border.width})}; 141 } 142 } 143 144 /* readOnly */ 145 *:not(:invalid):read-only + & { 146 --card-bg-color: ${a.input.default.readOnly.bg} !important; 147 --card-fg-color: ${a.input.default.readOnly.fg} !important; 148 } 149 150 *:invalid:read-only + & { 151 --card-bg-color: ${a.input.invalid.readOnly.bg} !important; 152 --card-fg-color: ${a.input.invalid.readOnly.fg} !important; 153 } 154 155 /* hovered */ 156 @media (hover: hover) { 157 *:not(:disabled):not(:read-only):not(:invalid):hover + & { 158 --card-bg-color: ${a.input.default.hovered.bg}; 159 --card-fg-color: ${a.input.default.hovered.fg}; 160 } 161 162 *:invalid:not(:disabled):not(:read-only):hover + & { 163 --card-bg-color: ${a.input.invalid.hovered.bg}; 164 --card-fg-color: ${a.input.invalid.hovered.fg}; 165 } 166 167 *:not(:disabled):not(:read-only):not(:invalid):not(:focus):hover + &[data-border] { 168 --input-box-shadow: ${c_({color:a.input.default.hovered.border,width:s.border.width})}; 169 } 170 171 *:invalid:not(:disabled):not(:read-only):not(:focus):hover + &[data-border] { 172 --input-box-shadow: ${c_({color:a.input.invalid.hovered.border,width:s.border.width})}; 173 } 174 } 175 } 176 `}function c5(e){let{theme:t}=e;return[d8(t,["padding"],e.$padding),d8(t,["paddingLeft","paddingRight"],e.$paddingX),d8(t,["paddingTop","paddingBottom"],e.$paddingY),d8(t,["paddingTop"],e.$paddingTop),d8(t,["paddingRight"],e.$paddingRight),d8(t,["paddingBottom"],e.$paddingBottom),d8(t,["paddingLeft"],e.$paddingLeft)].filter(Boolean)}function c2(e){let{media:t,radius:n}=nv(e.theme);return d4(t,e.$radius,e=>{let t=0;return"number"==typeof e&&(t=d3(n[e])),"full"===e&&(t="9999px"),{borderRadius:t}})}function c3(e,t){return`${e.map(d3).join(" ")} ${t}`}let c4=ii.span.withConfig({displayName:"SpanWithTextOverflow",componentId:"sc-ol2i3b-0"})`display:block;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;overflow:clip;`,c6=ii.div.withConfig({displayName:"StyledLabel",componentId:"sc-1luap7z-0"})(function(e){return d9("label",e)},d7,function(e){let{$accent:t,$muted:n}=e,{font:r}=nv(e.theme);return io` 177 text-transform: uppercase; 178 179 ${t&&io` 180 color: var(--card-accent-fg-color); 181 `} 182 183 ${n&&io` 184 color: var(--card-muted-fg-color); 185 `} 186 187 & code { 188 font-family: ${r.code.family}; 189 border-radius: 1px; 190 } 191 192 & a { 193 text-decoration: none; 194 border-radius: 1px; 195 } 196 197 & svg { 198 /* Certain popular CSS libraries changes the defaults for SVG display */ 199 /* Make sure SVGs are rendered as inline elements */ 200 display: inline; 201 } 202 203 & [data-sanity-icon] { 204 vertical-align: baseline; 205 } 206 `}),c8=(0,ne.forwardRef)(function(e,t){let n,r,o,i,a,s,l,d,c,u,f,h=(0,$.c)(26);h[0]!==e?({accent:n,align:r,children:o,muted:a,size:s,textOverflow:l,weight:d,...i}=e,h[0]=e,h[1]=n,h[2]=r,h[3]=o,h[4]=i,h[5]=a,h[6]=s,h[7]=l,h[8]=d):(n=h[1],r=h[2],o=h[3],i=h[4],a=h[5],s=h[6],l=h[7],d=h[8]);let p=void 0!==a&&a,g=void 0===s?2:s,m=o;if("ellipsis"===l){let e;h[9]!==m?(e=(0,E.jsx)(c4,{children:m}),h[9]=m,h[10]=e):e=h[10],m=e}else{let e;h[11]!==m?(e=(0,E.jsx)("span",{children:m}),h[11]=m,h[12]=e):e=h[12],m=e}return h[13]!==r?(c=d6(r),h[13]=r,h[14]=c):c=h[14],h[15]!==g?(u=d6(g),h[15]=g,h[16]=u):u=h[16],h[17]!==n||h[18]!==m||h[19]!==p||h[20]!==t||h[21]!==i||h[22]!==c||h[23]!==u||h[24]!==d?(f=(0,E.jsx)(c6,{"data-ui":"Label",...i,$accent:n,$align:c,$muted:p,$size:u,$weight:d,ref:t,children:m}),h[17]=n,h[18]=m,h[19]=p,h[20]=t,h[21]=i,h[22]=c,h[23]=u,h[24]=d,h[25]=f):f=h[25],f});c8.displayName="ForwardRef(Label)";
206let c9=ii.div.withConfig({displayName:"StyledAvatar",componentId:"sc-1rj7kl0-0"})(function(e){let{avatar:t,media:n}=nv(e.theme);return d4(n,e.$size,e=>{let n=t.sizes[e]||t.sizes[0];return{width:d3(n.size),height:d3(n.size),borderRadius:d3(n.size/2),"&>svg":{width:d3(n.size),height:d3(n.size),borderRadius:d3(n.size/2)}}})},function(e){let{$color:t}=e,{avatar:n}=nv(e.theme);return{"--avatar-bg-color":`var(--card-avatar-${t}-bg-color)`,"--avatar-fg-color":`var(--card-avatar-${t}-fg-color)`,backgroundColor:"var(--avatar-bg-color)",position:"relative",boxSizing:"border-box",userSelect:"none",boxShadow:"0 0 0 1px var(--card-bg-color)",'&[data-status="inactive"]':{opacity:"0.5"},"&>svg":{"&:not([hidden])":{display:"block"}},'&[data-as="button"]':{WebkitFontSmoothing:"inherit",appearance:"none",margin:0,padding:0,border:0,font:"inherit",color:"inherit",outline:"none","&:focus":{boxShadow:cR({focusRing:n.focusRing})},"&:focus:not(:focus-visible)":{boxShadow:"none"}}}}),c7=ii.div.withConfig({displayName:"Arrow",componentId:"sc-1rj7kl0-1"})(function(){return{position:"absolute",boxSizing:"border-box",zIndex:"0",opacity:"0",transition:"all 0.2s linear",transform:"rotate(-90deg) translate3d(0, 6px, 0)",left:0,right:0,top:0,bottom:0,"& > svg":{width:"11px",height:"7px",position:"absolute",top:"-5px",left:"50%",transform:"translateX(-6px)","&:not([hidden])":{display:"block"}},"[data-arrow-position='inside'] > &":{transform:"rotate(-90deg) translate3d(0, 6px, 0)",opacity:"0"},"[data-arrow-position='top'] > &":{opacity:"1",transform:"rotate(0deg)"},"[data-arrow-position='bottom'] > &":{opacity:"1",transform:"rotate(-180deg)"}}}),ue=ii.ellipse.withConfig({displayName:"BgStroke",componentId:"sc-1rj7kl0-2"})(function(){return{strokeWidth:"4px",stroke:"var(--card-bg-color)"}}),ut=ii.ellipse.withConfig({displayName:"Stroke",componentId:"sc-1rj7kl0-3"})(function(){return{strokeWidth:"2px",stroke:"var(--avatar-bg-color)",'[data-status="editing"] &':{strokeDasharray:"2 4",strokeLinecap:"round"}}}),un=ii.div.withConfig({displayName:"Initials",componentId:"sc-1rj7kl0-4"})(function(){return{width:"100%",height:"100%",color:"var(--avatar-fg-color)",alignItems:"center",justifyContent:"center",textTransform:"uppercase",textAlign:"center",borderRadius:"50%","&:not([hidden])":{display:"flex"}}}),ur=ii(c8).withConfig({displayName:"InitialsLabel",componentId:"sc-1rj7kl0-5"})({color:"inherit"}),uo=ii.svg.withConfig({displayName:"AvatarImage",componentId:"sc-1rj7kl0-6"})(function(){return{position:"relative"}});function ui(e){return 1===e?1:2===e?3:5*(3===e)}(0,ne.forwardRef)(function(e,t){let n,r,o,i,a,s,l,d,c,u,f,h,p,g,m,v,y,w,b,x,C=(0,$.c)(46);C[0]!==e?({__unstable_hideInnerStroke:n,as:i,color:c,src:d,title:h,initials:a,onImageLoadError:s,arrowPosition:o,animateArrowFrom:r,status:u,size:f,...l}=e,C[0]=e,C[1]=n,C[2]=r,C[3]=o,C[4]=i,C[5]=a,C[6]=s,C[7]=l,C[8]=d,C[9]=c,C[10]=u,C[11]=f,C[12]=h):(n=C[1],r=C[2],o=C[3],i=C[4],a=C[5],s=C[6],l=C[7],d=C[8],c=C[9],u=C[10],f=C[11],h=C[12]);let k=void 0===c?"gray":c,j=void 0===u?"online":u,M=void 0===f?1:f,{avatar:L}=ca(),S=id.default.isValidElementType(i)?i:"div",_=d6(M),R=(L.sizes[_[0]]||L.sizes[0]).size,H=R/2,V=(0,ne.useId)(),[I,O]=(0,ne.useState)(r||o||"inside"),[A,B]=(0,ne.useState)(!1),z=`avatar-image-${V}`;C[13]!==I||C[14]!==o?(p=()=>{if(I===o)return;let e=requestAnimationFrame(()=>O(o));return()=>cancelAnimationFrame(e)},g=[I,o],C[13]=I,C[14]=o,C[15]=p,C[16]=g):(p=C[15],g=C[16]),(0,ne.useEffect)(p,g),C[17]!==d?(m=()=>{d&&B(!1)},v=[d],C[17]=d,C[18]=m,C[19]=v):(m=C[18],v=C[19]),(0,ne.useEffect)(m,v),C[20]!==s?(y=()=>{B(!0),s&&s(Error("Avatar: the image failed to load"))},C[20]=s,C[21]=y):y=C[21];let T=y,W="string"==typeof S?S:void 0;C[22]!==k?(w=(0,E.jsx)(c7,{children:(0,E.jsx)("svg",{width:"11",height:"7",viewBox:"0 0 11 7",fill:"none",children:(0,E.jsx)("path",{d:"M6.67948 1.50115L11 7L0 7L4.32052 1.50115C4.92109 0.736796 6.07891 0.736795 6.67948 1.50115Z",fill:k})})}),C[22]=k,C[23]=w):w=C[23],C[24]!==n||C[25]!==H||C[26]!==R||C[27]!==T||C[28]!==A||C[29]!==z||C[30]!==d?(b=!A&&d&&(0,E.jsxs)(uo,{viewBox:`0 0 ${R} ${R}`,fill:"none",children:[(0,E.jsx)("defs",{children:(0,E.jsx)("pattern",{id:z,patternContentUnits:"objectBoundingBox",width:"1",height:"1",children:(0,E.jsx)("image",{href:d,width:"1",height:"1",onError:T})})}),(0,E.jsx)("circle",{cx:H,cy:H,r:H,fill:`url(#${z})`}),!n&&(0,E.jsx)(ue,{cx:H,cy:H,rx:H,ry:H,vectorEffect:"non-scaling-stroke"}),(0,E.jsx)(ut,{cx:H,cy:H,rx:H,ry:H,vectorEffect:"non-scaling-stroke"})]}),C[24]=n,C[25]=H,C[26]=R,C[27]=T,C[28]=A,C[29]=z,C[30]=d,C[31]=b):b=C[31];let N=(A||!d)&&a&&(0,E.jsx)(E.Fragment,{children:(0,E.jsx)(un,{children:(0,E.jsx)(ur,{forwardedAs:"span",size:_.map(ui),weight:"medium",children:a})})});return C[32]!==c9||C[33]!==I||C[34]!==S||C[35]!==k||C[36]!==t||C[37]!==l||C[38]!==_||C[39]!==j||C[40]!==w||C[41]!==b||C[42]!==N||C[43]!==W||C[44]!==h?(x=(0,E.jsxs)(c9,{as:S,"data-as":W,"data-ui":"Avatar",...l,$color:k,$size:_,"aria-label":h,"data-arrow-position":I,"data-status":j,ref:t,title:h,children:[w,b,N]}),C[32]=c9,C[33]=I,C[34]=S,C[35]=k,C[36]=t,C[37]=l,C[38]=_,C[39]=j,C[40]=w,C[41]=b,C[42]=N,C[43]=W,C[44]=h,C[45]=x):x=C[45],x}).displayName="ForwardRef(Avatar)";let ua=ii.div.withConfig({displayName:"StyledAvatarCounter",componentId:"sc-1ydx86y-0"})(function(e){let{avatar:t,media:n}=nv(e.theme);return d4(n,e.$size,e=>{let n=t.sizes[e];return n?{borderRadius:d3(n.size/2),minWidth:d3(n.size),height:d3(n.size)}:dK})},function(e){let{space:t}=nv(e.theme);return io` 207 align-items: center; 208 justify-content: center; 209 box-sizing: border-box; 210 user-select: none; 211 color: inherit; 212 color: var(--card-fg-color); 213 background: var(--card-bg-color); 214 box-shadow: 215 0 0 0 1px var(--card-bg-color), 216 inset 0 0 0 1px var(--card-hairline-hard-color); 217 padding: 0 ${d3(t[2])}; 218 219 &:not([hidden]) { 220 display: flex; 221 } 222 `}),us=(0,ne.forwardRef)(function(e,t){let n,r,o,i,a,s,l,d,c,u=(0,$.c)(20),{count:f,size:h}=e,p=void 0===h?1:h;if(u[0]!==t||u[1]!==p){let e=d6(p);r=ua,a=e,s="AvatarCounter",l=t,n=c8,o="span",i=e.map(ul),u[0]=t,u[1]=p,u[2]=n,u[3]=r,u[4]=o,u[5]=i,u[6]=a,u[7]=s,u[8]=l}else n=u[2],r=u[3],o=u[4],i=u[5],a=u[6],s=u[7],l=u[8];return u[9]!==n||u[10]!==f||u[11]!==o||u[12]!==i?(d=(0,E.jsx)(n,{as:o,size:i,weight:"medium",children:f}),u[9]=n,u[10]=f,u[11]=o,u[12]=i,u[13]=d):d=u[13],u[14]!==r||u[15]!==a||u[16]!==s||u[17]!==l||u[18]!==d?(c=(0,E.jsx)(r,{$size:a,"data-ui":s,ref:l,children:d}),u[14]=r,u[15]=a,u[16]=s,u[17]=l,u[18]=d,u[19]=c):c=u[19],c});function ul(e){return 1===e?1:2===e?3:5*(3===e)}us.displayName="ForwardRef(AvatarCounter)";let ud=io` 223 white-space: nowrap; 224 225 & > div { 226 vertical-align: top; 227 228 &:not([hidden]) { 229 display: inline-block; 230 } 231 } 232`,uc=ii.div.withConfig({displayName:"StyledAvatarStack",componentId:"sc-cysmbb-0"})(function(e){let{avatar:t,media:n}=nv(e.theme);return d4(n,e.$size,e=>{let n=t.sizes[e];return n?{"& > div + div":{marginLeft:d3(n.distance)}}:dK})},function(){return ud});(0,ne.forwardRef)(function(e,t){let n,r,o,i,a,s,l,d,c,u,f,h,p,g=(0,$.c)(38);g[0]!==e?({children:n,maxLength:o,size:i,...r}=e,g[0]=e,g[1]=n,g[2]=r,g[3]=o,g[4]=i):(n=g[1],r=g[2],o=g[3],i=g[4]);let m=void 0===o?4:o,v=void 0===i?1:i;if(g[5]!==n||g[6]!==m||g[7]!==t||g[8]!==r||g[9]!==v){let e,o,i=ne.Children.toArray(n).filter(ne.isValidElement),p=Math.max(m,0);g[18]!==v?(e=d6(v),g[18]=v,g[19]=e):e=g[19];let y=e,w=i.length,b=w-(p-1),x=b>1?i.slice(b,w):i;a=uc,s="AvatarStack",l=r,d=t,c=y,g[20]!==w||g[21]!==y?(u=0===w&&(0,E.jsx)("div",{children:(0,E.jsx)(us,{count:w,size:y})}),g[20]=w,g[21]=y,g[22]=u):u=g[22],g[23]!==b||g[24]!==w||g[25]!==y?(f=0!==w&&b>1&&(0,E.jsx)("div",{children:(0,E.jsx)(us,{count:b,size:y})}),g[23]=b,g[24]=w,g[25]=y,g[26]=f):f=g[26],g[27]!==y?(o=(e,t)=>(0,E.jsx)("div",{children:(0,ne.cloneElement)(e,{size:y})},String(t)),g[27]=y,g[28]=o):o=g[28],h=x.map(o),g[5]=n,g[6]=m,g[7]=t,g[8]=r,g[9]=v,g[10]=a,g[11]=s,g[12]=l,g[13]=d,g[14]=c,g[15]=u,g[16]=f,g[17]=h}else a=g[10],s=g[11],l=g[12],d=g[13],c=g[14],u=g[15],f=g[16],h=g[17];return g[29]!==a||g[30]!==s||g[31]!==l||g[32]!==d||g[33]!==c||g[34]!==u||g[35]!==f||g[36]!==h?(p=(0,E.jsxs)(a,{"data-ui":s,...l,ref:d,$size:c,children:[u,f,h]}),g[29]=a,g[30]=s,g[31]=l,g[32]=d,g[33]=c,g[34]=u,g[35]=f,g[36]=h,g[37]=p):p=g[37],p}).displayName="ForwardRef(AvatarStack)";let uu=ii.div.withConfig({displayName:"StyledBox",componentId:"sc-1hhky9f-0"})(function(){return cf},cb,function(){return[cm,cv,cy,cg]},function(){return[cH,cV,cI,cO,cA,cB]},function(e){let{theme:t}=e;return[d8(t,["margin"],e.$margin),d8(t,["marginLeft","marginRight"],e.$marginX),d8(t,["marginTop","marginBottom"],e.$marginY),d8(t,["marginTop"],e.$marginTop),d8(t,["marginRight"],e.$marginRight),d8(t,["marginBottom"],e.$marginBottom),d8(t,["marginLeft"],e.$marginLeft)].filter(
232Boolean)},c5),uf=(0,ne.forwardRef)(function(e,t){let n,r,o,i,a,s,l,d,c,u,f,h,p,g,m,v,y,w,b,x,C,k,j,M,L,S,_,R,H,V,I,O,A,B,z,T,W,N,P,Z,F,D,q,U,G,Y,K,X,J,Q,ee,et,en,er=(0,$.c)(109);er[0]!==e?({as:M,column:n,columnStart:o,columnEnd:r,display:L,flex:i,height:a,margin:S,marginX:u,marginY:f,marginTop:c,marginRight:d,marginBottom:s,marginLeft:l,overflow:h,padding:_,paddingX:y,paddingY:w,paddingTop:v,paddingRight:m,paddingBottom:p,paddingLeft:g,row:x,rowStart:k,rowEnd:C,sizing:j,...b}=e,er[0]=e,er[1]=n,er[2]=r,er[3]=o,er[4]=i,er[5]=a,er[6]=s,er[7]=l,er[8]=d,er[9]=c,er[10]=u,er[11]=f,er[12]=h,er[13]=p,er[14]=g,er[15]=m,er[16]=v,er[17]=y,er[18]=w,er[19]=b,er[20]=x,er[21]=C,er[22]=k,er[23]=j,er[24]=M,er[25]=L,er[26]=S,er[27]=_):(n=er[1],r=er[2],o=er[3],i=er[4],a=er[5],s=er[6],l=er[7],d=er[8],c=er[9],u=er[10],f=er[11],h=er[12],p=er[13],g=er[14],m=er[15],v=er[16],y=er[17],w=er[18],b=er[19],x=er[20],C=er[21],k=er[22],j=er[23],M=er[24],L=er[25],S=er[26],_=er[27]);let eo=void 0===M?"div":M,ei=void 0===L?"block":L,ea=void 0===S?0:S,es=void 0===_?0:_,el="string"==typeof eo?eo:void 0;return er[28]!==n?(R=d6(n),er[28]=n,er[29]=R):R=er[29],er[30]!==o?(H=d6(o),er[30]=o,er[31]=H):H=er[31],er[32]!==r?(V=d6(r),er[32]=r,er[33]=V):V=er[33],er[34]!==ei?(I=d6(ei),er[34]=ei,er[35]=I):I=er[35],er[36]!==i?(O=d6(i),er[36]=i,er[37]=O):O=er[37],er[38]!==a?(A=d6(a),er[38]=a,er[39]=A):A=er[39],er[40]!==ea?(B=d6(ea),er[40]=ea,er[41]=B):B=er[41],er[42]!==u?(z=d6(u),er[42]=u,er[43]=z):z=er[43],er[44]!==f?(T=d6(f),er[44]=f,er[45]=T):T=er[45],er[46]!==c?(W=d6(c),er[46]=c,er[47]=W):W=er[47],er[48]!==d?(N=d6(d),er[48]=d,er[49]=N):N=er[49],er[50]!==s?(P=d6(s),er[50]=s,er[51]=P):P=er[51],er[52]!==l?(Z=d6(l),er[52]=l,er[53]=Z):Z=er[53],er[54]!==h?(F=d6(h),er[54]=h,er[55]=F):F=er[55],er[56]!==es?(D=d6(es),er[56]=es,er[57]=D):D=er[57],er[58]!==y?(q=d6(y),er[58]=y,er[59]=q):q=er[59],er[60]!==w?(U=d6(w),er[60]=w,er[61]=U):U=er[61],er[62]!==v?(G=d6(v),er[62]=v,er[63]=G):G=er[63],er[64]!==m?(Y=d6(m),er[64]=m,er[65]=Y):Y=er[65],er[66]!==p?(K=d6(p),er[66]=p,er[67]=K):K=er[67],er[68]!==g?(X=d6(g),er[68]=g,er[69]=X):X=er[69],er[70]!==x?(J=d6(x),er[70]=x,er[71]=J):J=er[71],er[72]!==k?(Q=d6(k),er[72]=k,er[73]=Q):Q=er[73],er[74]!==C?(ee=d6(C),er[74]=C,er[75]=ee):ee=er[75],er[76]!==j?(et=d6(j),er[76]=j,er[77]=et):et=er[77],er[78]!==eo||er[79]!==e.children||er[80]!==t||er[81]!==b||er[82]!==A||er[83]!==B||er[84]!==z||er[85]!==T||er[86]!==W||er[87]!==N||er[88]!==P||er[89]!==Z||er[90]!==F||er[91]!==D||er[92]!==q||er[93]!==U||er[94]!==G||er[95]!==Y||er[96]!==K||er[97]!==X||er[98]!==J||er[99]!==Q||er[100]!==ee||er[101]!==et||er[102]!==el||er[103]!==R||er[104]!==H||er[105]!==V||er[106]!==I||er[107]!==O?(en=(0,E.jsx)(uu,{"data-as":el,"data-ui":"Box",...b,$column:R,$columnStart:H,$columnEnd:V,$display:I,$flex:O,$height:A,$margin:B,$marginX:z,$marginY:T,$marginTop:W,$marginRight:N,$marginBottom:P,$marginLeft:Z,$overflow:F,$padding:D,$paddingX:q,$paddingY:U,$paddingTop:G,$paddingRight:Y,$paddingBottom:K,$paddingLeft:X,$row:J,$rowStart:Q,$rowEnd:ee,$sizing:et,as:eo,ref:t,children:e.children}),er[78]=eo,er[79]=e.children,er[80]=t,er[81]=b,er[82]=A,er[83]=B,er[84]=z,er[85]=T,er[86]=W,er[87]=N,er[88]=P,er[89]=Z,er[90]=F,er[91]=D,er[92]=q,er[93]=U,er[94]=G,er[95]=Y,er[96]=K,er[97]=X,er[98]=J,er[99]=Q,er[100]=ee,er[101]=et,er[102]=el,er[103]=R,er[104]=H,er[105]=V,er[106]=I,er[107]=O,er[108]=en):en=er[108],en});uf.displayName="ForwardRef(Box)";let uh=ii.div.withConfig({displayName:"StyledText",componentId:"sc-11ov82j-0"})(function(e){return d9("text",e)},d7,function(e){let{$accent:t,$muted:n}=e,{font:r}=nv(e.theme);return io` 233 color: var(--card-fg-color); 234 235 ${t&&io` 236 color: var(--card-accent-fg-color); 237 `} 238 239 ${n&&io` 240 color: var(--card-muted-fg-color); 241 `} 242 243 & code { 244 font-family: ${r.code.family}; 245 border-radius: 1px; 246 background-color: var(--card-code-bg-color); 247 color: var(--card-code-fg-color); 248 } 249 250 & a { 251 text-decoration: none; 252 border-radius: 1px; 253 color: var(--card-link-color); 254 outline: none; 255 256 @media (hover: hover) { 257 &:hover { 258 text-decoration: underline; 259 } 260 } 261 262 &:focus { 263 box-shadow: 264 0 0 0 1px var(--card-bg-color), 265 0 0 0 3px var(--card-focus-ring-color); 266 } 267 268 &:focus:not(:focus-visible) { 269 box-shadow: none; 270 } 271 } 272 273 & strong { 274 font-weight: ${r.text.weights.bold}; 275 } 276 277 & svg { 278 /* Certain popular CSS libraries changes the defaults for SVG display */ 279 /* Make sure SVGs are rendered as inline elements */ 280 display: inline; 281 } 282 283 & [data-sanity-icon] { 284 vertical-align: baseline; 285 color: var(--card-icon-color); 286 287 & path { 288 vector-effect: non-scaling-stroke !important; 289 } 290 } 291 `}),up=(0,ne.forwardRef)(function(e,t){let n,r,o,i,a,s,l,d,c,u,f,h,p=(0,$.c)(26);p[0]!==e?({accent:i,align:n,children:r,muted:a,size:s,textOverflow:l,weight:d,...o}=e,p[0]=e,p[1]=n,p[2]=r,p[3]=o,p[4]=i,p[5]=a,p[6]=s,p[7]=l,p[8]=d):(n=p[1],r=p[2],o=p[3],i=p[4],a=p[5],s=p[6],l=p[7],d=p[8]);let g=void 0!==i&&i,m=void 0!==a&&a,v=void 0===s?2:s,y=r;if("ellipsis"===l){let e;p[9]!==y?(e=(0,E.jsx)(c4,{children:y}),p[9]=y,p[10]=e):e=p[10],y=e}return p[11]!==n?(c=d6(n),p[11]=n,p[12]=c):c=p[12],p[13]!==v?(u=d6(v),p[13]=v,p[14]=u):u=p[14],p[15]!==y?(f=(0,E.jsx)("span",{children:y}),p[15]=y,p[16]=f):f=p[16],p[17]!==g||p[18]!==m||p[19]!==t||p[20]!==o||p[21]!==c||p[22]!==u||p[23]!==f||p[24]!==d?(h=(0,E.jsx)(uh,{"data-ui":"Text",...o,$accent:g,$align:c,$muted:m,ref:t,$size:u,$weight:d,children:f}),p[17]=g,p[18]=m,p[19]=t,p[20]=o,p[21]=c,p[22]=u,p[23]=f,p[24]=d,p[25]=h):h=p[25],h});up.displayName="ForwardRef(Text)";let ug=ii(uf).withConfig({displayName:"StyledBadge",componentId:"sc-5u140l-0"}
291)(c2,function(e){let{$tone:t}=e;return{"--card-bg-color":`var(--card-badge-${t}-bg-color)`,"--card-fg-color":`var(--card-badge-${t}-fg-color)`,backgroundColor:"var(--card-bg-color)",cursor:"default","&:not([hidden])":{display:"inline-block",verticalAlign:"top"}}});(0,ne.forwardRef)(function(e,t){let n,r,o,i,a,s,l,d,c,u,f=(0,$.c)(21);if(f[0]!==e){let{children:t,fontSize:l,mode:d,padding:c,radius:u,tone:h,...p}=e;n=t,o=l,i=c,a=u,s=h,r=p,f[0]=e,f[1]=n,f[2]=r,f[3]=o,f[4]=i,f[5]=a,f[6]=s}else n=f[1],r=f[2],o=f[3],i=f[4],a=f[5],s=f[6];let h=void 0===o?1:o,p=void 0===i?1:i,g=void 0===a?"full":a,m=void 0===s?"default":s;return f[7]!==g?(l=d6(g),f[7]=g,f[8]=l):l=f[8],f[9]!==p?(d=d6(p),f[9]=p,f[10]=d):d=f[10],f[11]!==n||f[12]!==h?(c=(0,E.jsx)(up,{size:h,children:n}),f[11]=n,f[12]=h,f[13]=c):c=f[13],f[14]!==t||f[15]!==r||f[16]!==l||f[17]!==d||f[18]!==c||f[19]!==m?(u=(0,E.jsx)(ug,{"data-ui":"Badge",...r,$tone:m,$radius:l,padding:d,ref:t,children:c}),f[14]=t,f[15]=r,f[16]=l,f[17]=d,f[18]=c,f[19]=m,f[20]=u):u=f[20],u}).displayName="ForwardRef(Badge)";let um=ii(uf).withConfig({displayName:"StyledFlex",componentId:"sc-oxesg3-0"})(cb,function(){return[cC,ck,cj,cM,cL,cS]}),uv=(0,ne.forwardRef)(function(e,t){let n,r,o,i,a,s,l,d,c,u,f,h,p,g=(0,$.c)(27);g[0]!==e?({align:n,as:r,direction:s,gap:o,justify:i,wrap:l,...a}=e,g[0]=e,g[1]=n,g[2]=r,g[3]=o,g[4]=i,g[5]=a,g[6]=s,g[7]=l):(n=g[1],r=g[2],o=g[3],i=g[4],a=g[5],s=g[6],l=g[7]);let m=void 0===s?"row":s;return g[8]!==n?(d=d6(n),g[8]=n,g[9]=d):d=g[9],g[10]!==m?(c=d6(m),g[10]=m,g[11]=c):c=g[11],g[12]!==o?(u=d6(o),g[12]=o,g[13]=u):u=g[13],g[14]!==i?(f=d6(i),g[14]=i,g[15]=f):f=g[15],g[16]!==l?(h=d6(l),g[16]=l,g[17]=h):h=g[17],g[18]!==r||g[19]!==t||g[20]!==a||g[21]!==d||g[22]!==c||g[23]!==u||g[24]!==f||g[25]!==h?(p=(0,E.jsx)(um,{"data-ui":"Flex",...a,$align:d,$direction:c,$gap:u,$justify:f,$wrap:h,forwardedAs:r,ref:t}),g[18]=r,g[19]=t,g[20]=a,g[21]=d,g[22]=c,g[23]=u,g[24]=f,g[25]=h,g[26]=p):p=g[26],p});uv.displayName="ForwardRef(Flex)";let uy=is` 292 from { 293 transform: rotate(0deg); 294 } 295 296 to { 297 transform: rotate(360deg); 298 } 299`,uw=ii(up).withConfig({displayName:"StyledSpinner",componentId:"sc-124hnd0-0"})`& > span > svg{animation:${uy} 500ms linear infinite;}`,ub=(0,ne.forwardRef)(function(e,t){let n,r,o=(0,$.c)(4);return o[0]===Symbol.for("react.memo_cache_sentinel")?(n=(0,E.jsx)(ln,{}),o[0]=n):n=o[0],o[1]!==e||o[2]!==t?(r=(0,E.jsx)(uw,{"data-ui":"Spinner",...e,ref:t,children:n}),o[1]=e,o[2]=t,o[3]=r):r=o[3],r});function ux(e,t,n=!1){return{"--card-backdrop-color":e.backdrop,"--card-focus-ring-color":e.focusRing,"--card-shadow-outline-color":e.shadow.outline,"--card-shadow-umbra-color":e.shadow.umbra,"--card-shadow-penumbra-color":e.shadow.penumbra,"--card-shadow-ambient-color":e.shadow.ambient,"--card-accent-fg-color":t.accent.fg,"--card-avatar-gray-bg-color":t.avatar.gray.bg,"--card-avatar-gray-fg-color":t.avatar.gray.fg,"--card-avatar-blue-bg-color":t.avatar.blue.bg,"--card-avatar-blue-fg-color":t.avatar.blue.fg,"--card-avatar-purple-bg-color":t.avatar.purple.bg,"--card-avatar-purple-fg-color":t.avatar.purple.fg,"--card-avatar-magenta-bg-color":t.avatar.magenta.bg,"--card-avatar-magenta-fg-color":t.avatar.magenta.fg,"--card-avatar-red-bg-color":t.avatar.red.bg,"--card-avatar-red-fg-color":t.avatar.red.fg,"--card-avatar-orange-bg-color":t.avatar.orange.bg,"--card-avatar-orange-fg-color":t.avatar.orange.fg,"--card-avatar-yellow-bg-color":t.avatar.yellow.bg,"--card-avatar-yellow-fg-color":t.avatar.yellow.fg,"--card-avatar-green-bg-color":t.avatar.green.bg,"--card-avatar-green-fg-color":t.avatar.green.fg,"--card-avatar-cyan-bg-color":t.avatar.cyan.bg,"--card-avatar-cyan-fg-color":t.avatar.cyan.fg,"--card-bg-color":t.bg,"--card-bg-image":n?`repeating-conic-gradient(${t.bg} 0% 25%, ${t.muted.bg} 0% 50%)`:void 0,"--card-border-color":t.border,"--card-badge-default-bg-color":t.badge.default.bg,"--card-badge-default-dot-color":t.badge.default.dot,"--card-badge-default-fg-color":t.badge.default.fg,"--card-badge-default-icon-color":t.badge.default.icon,"--card-badge-neutral-bg-color":t.badge.neutral?.bg,"--card-badge-neutral-dot-color":t.badge.neutral?.dot,"--card-badge-neutral-fg-color":t.badge.neutral?.fg,"--card-badge-neutral-icon-color":t.badge.neutral?.icon,"--card-badge-primary-bg-color":t.badge.primary.bg,"--card-badge-primary-dot-color":t.badge.primary.dot,"--card-badge-primary-fg-color":t.badge.primary.fg,"--card-badge-primary-icon-color":t.badge.primary.icon,"--card-badge-suggest-bg-color":t.badge.suggest?.bg,"--card-badge-suggest-dot-color":t.badge.suggest?.dot,"--card-badge-suggest-fg-color":t.badge.suggest?.fg,"--card-badge-suggest-icon-color":t.badge.suggest?.icon,"--card-badge-positive-bg-color":t.badge.positive.bg,"--card-badge-positive-dot-color":t.badge.positive.dot,"--card-badge-positive-fg-color":t.badge.positive.fg,"--card-badge-positive-icon-color":t.badge.positive.icon,"--card-badge-caution-bg-color":t.badge.caution.bg,"--card-badge-caution-dot-color":t.badge.caution.dot,"--card-badge-caution-fg-color":t.badge.caution.fg,"--card-badge-caution-icon-color":t.badge.caution.icon,"--card-badge-critical-bg-color":t.badge.critical.bg,"--card-badge-critical-dot-color":t.badge.critical.dot,"--card-badge-critical-fg-color":t.badge.critical.fg,"--card-badge-critical-icon-color":t.badge.critical.icon,"--card-code-bg-color":t.code.bg,"--card-code-fg-color":t.code.fg,"--card-fg-color":t.fg,"--card-icon-color":t.icon,"--card-kbd-bg-color":t.kbd.bg,"--card-kbd-border-color":t.kbd.border,"--card-kbd-fg-color":t.kbd.fg,"--card-link-fg-color":t.link.fg,"--card-muted-bg-color":t.muted.bg,"--card-muted-fg-color":t.muted.fg,"--card-skeleton-color-from":t.skeleton.from,"--card-skeleton-color-to":t.skeleton.to,"--card-bg2-color":t.muted.bg,"--card-link-color":t.link.fg,"--card-hairline-soft-color":t.border,"--card-hairline-hard-color":t.border}}function uC(...e){return e.filter(Boolean).join(",")}ub.displayName="ForwardRef(Spinner)";let uk=ii.button.withConfig({displayName:"StyledButton",componentId:"sc-aaekt4-0"})(c2,function(e){let{$width:t}=e,{style:n}=nv(e.theme);return io` 300 ${n?.button}; 301 302 -webkit-font-smoothing: inherit; 303 appearance: none; 304 display: inline-flex; 305 align-items: center; 306 font: inherit; 307 border: 0; 308 outline: none; 309 user-select: none; 310 text-decoration: none; 311 border: 0; 312 box-sizing: border-box; 313 padding: 0; 314 margin: 0; 315 white-space: nowrap; 316 text-align: left; 317 position: relative; 318 vertical-align: top; 319 320 ${"fill"===t&&io` 321 width: -moz-available; 322 width: -webkit-fill-available; 323 width: stretch; 324 `} 325 326 & > span { 327 display: block; 328 flex: 1; 329 min-width: 0; 330 border-radius: inherit; 331 } 332 333 &::-moz-focus-inner { 334 border: 0; 335 padding: 0; 336 } 337 `},function(e){let{$mode:t}=e,{button:n,color:r,style:o}=nv(e.theme),i="ghost"===e.$mode,a=r.button[t]||r.button.default,s=a[e.$tone]||a.default,l={width:n.border.width,color:"var(--card-border-color)"},d;return[ux(r,s.enabled),{backgroundColor:"var(--card-bg-color)",color:"var(--card-fg-color)",boxShadow:c_(l),'&:disabled, &[data-disabled="true"]':ux(r,s.disabled),"&:not([data-disabled='true'])":{boxShadow:uC(c_(l),i?d:void 0),"&:focus":{boxShadow:cR({base:r,border:{width:2,color:r.bg},focusRing:n.focusRing})},"&:focus:not(:focus-visible)":{boxShadow:uC(c_(l),i?d:void 0)},"@media (hover: hover)":{"&:hover":ux(r,s.hovered),"&:active":ux(r,s.pressed),"&[data-hovered]":ux(r,s.hovered)},"&[data-selected]":ux(r,s.pressed)}}
337,o?.button?.root].filter(Boolean)}),uj=ii.div.withConfig({displayName:"LoadingBox",componentId:"sc-aaekt4-1"})`position:absolute;top:0;left:0;right:0;bottom:0;display:flex;align-items:center;justify-content:center;background-color:var(--card-bg-color);border-radius:inherit;z-index:1;box-shadow:inherit;`,uM=(0,ne.forwardRef)(function(e,t){let n,r,o,i,a,s,l,d,c,u,f,h,p,g,m,v,y,w,b,x,C,k,j,M,L,S,_,R,H,V,I,O,A,B,z,T,W,N,P,Z,F,D=(0,$.c)(86);D[0]!==e?({children:o,disabled:i,fontSize:g,icon:n,iconRight:r,justify:m,loading:a,mode:v,padding:y,paddingX:u,paddingY:f,paddingTop:c,paddingBottom:s,paddingLeft:l,paddingRight:d,radius:w,selected:p,space:b,text:j,textAlign:M,textWeight:L,tone:x,type:C,muted:k,width:S,...h}=e,D[0]=e,D[1]=n,D[2]=r,D[3]=o,D[4]=i,D[5]=a,D[6]=s,D[7]=l,D[8]=d,D[9]=c,D[10]=u,D[11]=f,D[12]=h,D[13]=p,D[14]=g,D[15]=m,D[16]=v,D[17]=y,D[18]=w,D[19]=b,D[20]=x,D[21]=C,D[22]=k,D[23]=j,D[24]=M,D[25]=L,D[26]=S):(n=D[1],r=D[2],o=D[3],i=D[4],a=D[5],s=D[6],l=D[7],d=D[8],c=D[9],u=D[10],f=D[11],h=D[12],p=D[13],g=D[14],m=D[15],v=D[16],y=D[17],w=D[18],b=D[19],x=D[20],C=D[21],k=D[22],j=D[23],M=D[24],L=D[25],S=D[26]);let q=void 0===g?1:g,U=void 0===m?"center":m,G=void 0===v?"default":v,Y=void 0===y?3:y,K=void 0===w?2:w,X=void 0===b?3:b,J=void 0===x?"default":x,Q=void 0===C?"button":C,ee=void 0!==k&&k,{button:et}=ca();D[27]!==U?(_=d6(U),D[27]=U,D[28]=_):_=D[28];let en=_;D[29]!==Y?(R=d6(Y),D[29]=Y,D[30]=R):R=D[30];let er=R;D[31]!==u?(H=d6(u),D[31]=u,D[32]=H):H=D[32];let eo=H;D[33]!==f?(V=d6(f),D[33]=f,D[34]=V):V=D[34];let ei=V;D[35]!==c?(I=d6(c),D[35]=c,D[36]=I):I=D[36];let ea=I;D[37]!==s?(O=d6(s),D[37]=s,D[38]=O):O=D[38];let es=O;D[39]!==l?(A=d6(l),D[39]=l,D[40]=A):A=D[40];let el=A;D[41]!==d?(B=d6(d),D[41]=d,D[42]=B):B=D[42];let ed=B;D[43]!==K?(z=d6(K),D[43]=K,D[44]=z):z=D[44];let ec=z;D[45]!==X?(T=d6(X),D[45]=X,D[46]=T):T=D[46];let eu=T;D[47]!==er||D[48]!==es||D[49]!==el||D[50]!==ed||D[51]!==ea||D[52]!==eo||D[53]!==ei?(W={padding:er,paddingX:eo,paddingY:ei,paddingTop:ea,paddingBottom:es,paddingLeft:el,paddingRight:ed},D[47]=er,D[48]=es,D[49]=el,D[50]=ed,D[51]=ea,D[52]=eo,D[53]=ei,D[54]=W):W=D[54];let ef=W,eh=!!(a||i),ep=p?"":void 0,eg=!!(a||i);return D[55]!==a?(N=!!a&&(0,E.jsx)(uj,{children:(0,E.jsx)(ub,{})}),D[55]=a,D[56]=N):N=D[56],D[57]!==n||D[58]!==r||D[59]!==ef||D[60]!==et||D[61]!==q||D[62]!==en||D[63]!==ee||D[64]!==eu||D[65]!==j||D[66]!==M||D[67]!==L?(P=(n||j||r)&&(0,E.jsx)(uf,{as:"span",...ef,children:(0,E.jsxs)(uv,{as:"span",justify:en,gap:eu,children:[n&&(0,E.jsxs)(up,{size:q,children:[(0,ne.isValidElement)(n)&&n,(0,id.isValidElementType)(n)&&(0,E.jsx)(n,{})]}),j&&(0,E.jsx)(uf,{children:(0,E.jsx)(up,{muted:ee,align:M,size:q,textOverflow:"ellipsis",weight:L??et.textWeight,children:j})}),r&&(0,E.jsxs)(up,{size:q,children:[(0,ne.isValidElement)(r)&&r,(0,id.isValidElementType)(r)&&(0,E.jsx)(r,{})]})]})}),D[57]=n,D[58]=r,D[59]=ef,D[60]=et,D[61]=q,D[62]=en,D[63]=ee,D[64]=eu,D[65]=j,D[66]=M,D[67]=L,D[68]=P):P=D[68],D[69]!==ef||D[70]!==o?(Z=o&&(0,E.jsx)(uf,{as:"span",...ef,children:o}),D[69]=ef,D[70]=o,D[71]=Z):Z=D[71],D[72]!==G||D[73]!==ec||D[74]!==t||D[75]!==h||D[76]!==eh||D[77]!==ep||D[78]!==eg||D[79]!==N||D[80]!==P||D[81]!==Z||D[82]!==J||D[83]!==Q||D[84]!==S?(F=(0,E.jsxs)(uk,{"data-ui":"Button",...h,$mode:G,$radius:ec,$tone:J,"data-disabled":eh,"data-selected":ep,disabled:eg,ref:t,type:Q,$width:S,children:[N,P,Z]}),D[72]=G,D[73]=ec,D[74]=t,D[75]=h,D[76]=eh,D[77]=ep,D[78]=eg,D[79]=N,D[80]=P,D[81]=Z,D[82]=J,D[83]=Q,D[84]=S,D[85]=F):F=D[85],F});uM.displayName="ForwardRef(Button)";let uL=ii(uf).withConfig({displayName:"StyledCard",componentId:"sc-osnro2-0"})(function(){return[cs,cl,cd,cc,cu]},c2,function(e){let{card:t,media:n,shadow:r}=nv(e.theme);return d4(n,e.$shadow,e=>(function(e,t=1){if(!e)return dK;let n=`0 0 0 ${d3(t)} var(--card-shadow-outline-color)`,r=c3(e.umbra,"var(--card-shadow-umbra-color)"),o=c3(e.penumbra,"var(--card-shadow-penumbra-color)"),i=c3(e.ambient,"var(--card-shadow-ambient-color)");return{boxShadow:`${n}, ${r}, ${o}, ${i}`}})(r[e],t.shadow.outline))},function(e){return[function(e){let{$checkered:t}=e,{space:n}=nv(e.theme);return io` 338 ${t&&io` 339 background-size: ${n[3]}px ${n[3]}px; 340 background-position: 50% 50%; 341 background-image: var(--card-bg-image); 342 `} 343 344 &[data-as='button'] { 345 -webkit-font-smoothing: inherit; 346 appearance: none; 347 outline: none; 348 font: inherit; 349 text-align: inherit; 350 border: 0; 351 width: -moz-available; 352 width: -webkit-fill-available; 353 width: stretch; 354 } 355 356 /* &:is(a) */ 357 &[data-as='a'] { 358 outline: none; 359 text-decoration: none; 360 } 361 362 /* &:is(pre) */ 363 &[data-as='pre'] { 364 font: inherit; 365 } 366 `}(e),function(e){let{$checkered:t,$focusRing:n,$muted:r}=e,{card:o,color:i,style:a}=nv(e.theme),s={width:o.border.width,color:"var(--card-border-color)"};return io` 367 color-scheme: ${i._dark?"dark":"light"}; 368 369 ${ux(i,i,t)} 370 371 background-color: ${r?"var(--card-muted-bg-color)":"var(--card-bg-color)"}; 372 color: var(--card-fg-color); 373 374 /* &:is(button) */ 375 &[data-as='button'] { 376 --card-focus-ring-box-shadow: none; 377 378 cursor: default; 379 box-shadow: var(--card-focus-ring-box-shadow); 380 381 &:disabled { 382 ${ux(i,i.selectable.default.disabled,t)} 383 } 384 385 &:not(:disabled) { 386 &[data-pressed] { 387 ${ux(i,i.selectable.default.pressed,t)} 388 } 389 390 &[data-selected] { 391 ${ux(i,i.selectable.default.selected,t)} 392 } 393 394 @media (hover: hover) {
395 &:not([data-pressed]):not([data-selected]) { 396 &[data-hovered], 397 &:hover { 398 ${ux(i,i.selectable.default.hovered,t)} 399 } 400 401 &:active { 402 ${ux(i,i.selectable.default.pressed,t)} 403 } 404 } 405 } 406 407 &:focus-visible { 408 --card-focus-ring-box-shadow: ${n?cR({base:i,border:s,focusRing:o.focusRing}):void 0}; 409 } 410 } 411 } 412 413 /* &:is(a) */ 414 &[data-as='a'] { 415 cursor: pointer; 416 box-shadow: var(--card-focus-ring-box-shadow); 417 418 &[data-disabled] { 419 ${ux(i,i.selectable.default.disabled,t)} 420 } 421 422 &:not([data-disabled]) { 423 &[data-pressed] { 424 ${ux(i,i.selectable.default.pressed,t)} 425 } 426 427 &[data-selected] { 428 ${ux(i,i.selectable.default.selected,t)} 429 } 430 431 @media (hover: hover) { 432 &:not([data-pressed]):not([data-selected]) { 433 &[data-hovered], 434 &:hover { 435 ${ux(i,i.selectable.default.hovered,t)} 436 } 437 438 &:active { 439 ${ux(i,i.selectable.default.pressed,t)} 440 } 441 } 442 } 443 444 &:focus-visible { 445 --card-focus-ring-box-shadow: ${n?cR({base:i,border:s,focusRing:o.focusRing}):void 0}; 446 } 447 } 448 } 449 450 ${a?.card?.root} 451 `}(e)]}),uS=(0,ne.forwardRef)(function(e,t){let n,r,o,i,a,s,l,d,c,u,f,h,p,g,m,v,y,w,b,x,C,k,j,M,L,S=(0,$.c)(56);S[0]!==e?({__unstable_checkered:p,__unstable_focusRing:g,as:n,border:r,borderTop:s,borderRight:a,borderBottom:o,borderLeft:i,muted:l,pressed:d,radius:m,scheme:u,selected:f,shadow:h,tone:v,...c}=e,S[0]=e,S[1]=n,S[2]=r,S[3]=o,S[4]=i,S[5]=a,S[6]=s,S[7]=l,S[8]=d,S[9]=c,S[10]=u,S[11]=f,S[12]=h,S[13]=p,S[14]=g,S[15]=m,S[16]=v):(n=S[1],r=S[2],o=S[3],i=S[4],a=S[5],s=S[6],l=S[7],d=S[8],c=S[9],u=S[10],f=S[11],h=S[12],p=S[13],g=S[14],m=S[15],v=S[16]);let _=void 0!==p&&p,R=void 0!==g&&g,H=void 0===m?0:m,V=void 0===v?"default":v,I=(0,id.isValidElementType)(n)?n:"div",O=co(),A="inherit"===V?O.tone:V,B="string"==typeof I?I:void 0,z=O.scheme;S[17]!==r?(y=d6(r),S[17]=r,S[18]=y):y=S[18],S[19]!==s?(w=d6(s),S[19]=s,S[20]=w):w=S[20],S[21]!==a?(b=d6(a),S[21]=a,S[22]=b):b=S[22],S[23]!==o?(x=d6(o),S[23]=o,S[24]=x):x=S[24],S[25]!==i?(C=d6(i),S[25]=i,S[26]=C):C=S[26],S[27]!==H?(k=d6(H),S[27]=H,S[28]=k):k=S[28],S[29]!==h?(j=d6(h),S[29]=h,S[30]=j):j=S[30];let T=_?"":void 0,W=d?"":void 0,N=f?"":void 0;return S[31]!==I||S[32]!==_||S[33]!==R||S[34]!==l||S[35]!==t||S[36]!==c||S[37]!==O.scheme||S[38]!==f||S[39]!==C||S[40]!==k||S[41]!==j||S[42]!==T||S[43]!==W||S[44]!==N||S[45]!==B||S[46]!==y||S[47]!==w||S[48]!==b||S[49]!==x||S[50]!==A?(M=(0,E.jsx)(uL,{"data-as":B,"data-scheme":z,"data-ui":"Card","data-tone":A,...c,$border:y,$borderTop:w,$borderRight:b,$borderBottom:x,$borderLeft:C,$checkered:_,$focusRing:R,$muted:l,$radius:k,$shadow:j,$tone:A,"data-checkered":T,"data-pressed":W,"data-selected":N,forwardedAs:I,ref:t,selected:f}),S[31]=I,S[32]=_,S[33]=R,S[34]=l,S[35]=t,S[36]=c,S[37]=O.scheme,S[38]=f,S[39]=C,S[40]=k,S[41]=j,S[42]=T,S[43]=W,S[44]=N,S[45]=B,S[46]=y,S[47]=w,S[48]=b,S[49]=x,S[50]=A,S[51]=M):M=S[51],S[52]!==u||S[53]!==M||S[54]!==A?(L=(0,E.jsx)(ci,{scheme:u,tone:A,children:M}),S[52]=u,S[53]=M,S[54]=A,S[55]=L):L=S[55],L});function u_(e,t,n){let r,o,i,a=(0,$.c)(9),s=void 0===t?uR:t;a[0]!==n||a[1]!==s||a[2]!==e?(r=t=>{if(!e)return;let r=t.target;if(!(r instanceof Node))return;let o=n?.();if(!o||o.contains(r)){for(let e of s().flat())if(e&&(r===e||e.contains(r)))return;e(t)}},a[0]=n,a[1]=s,a[2]=e,a[3]=r):r=a[3];let l=dU(r),d=!!e;a[4]!==d||a[5]!==l?(o=()=>{if(!d)return;let e=e=>l(e);return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}},a[4]=d,a[5]=l,a[6]=o):o=a[6],a[7]!==d?(i=[d],a[7]=d,a[8]=i):i=a[8],(0,ne.useEffect)(o,i),(0,ne.useDebugValue)(e?"MouseDown On":"MouseDown Off")}function uR(){return dY}function uE(e,t){let n,r,o=(0,$.c)(4);o[0]!==t||o[1]!==e?(n=()=>{e.current?.setCustomValidity(t||"")},r=[t,e],o[0]=t,o[1]=e,o[2]=n,o[3]=r):(n=o[2],r=o[3]),(0,ne.useEffect)(n,r)}uS.displayName="ForwardRef(Card)";let u$="u">typeof document&&"u">typeof window&&window.ResizeObserver?window.ResizeObserver:dZ,uH=(c=new WeakMap,u=new WeakMap,{subscribe(e,t){let n=u.get(e)||[],r=c.get(e);return u.has(e)||(u.set(e,n),r=({subscribe(e,t){let n=new u$(([e])=>{t({_contentRect:e.contentRect,border:{width:e.borderBoxSize[0].inlineSize,height:e.borderBoxSize[0].blockSize},content:{width:e.contentRect.width,height:e.contentRect.height}})});return n.observe(e),()=>{n.unobserve(e),n.disconnect()}}}).subscribe(e,e=>{for(let t of n)t(e)})),n.push(t),()=>{let e=n.indexOf(t);e>-1&&n.splice(e,1),0===n.length&&r&&r()}}});function uV(e){let t,n,r=(0,$.c)(3),[o,i]=(0,ne.useState)(null);return r[0]!==e?(t=()=>{if(e)return uH.subscribe(e,i)},n=[e],r[0]=e,r[1]=t,r[2]=n):(t=r[1],n=r[2]),(0,ne.useEffect)(t,n),o}function uI(e,t){let n,r,o,i=(0,$.c)(7);i[0]!==e?(n=t=>e(t),i[0]=e,i[1]=n):n=i[1];let a=dU(n);i[2]!==a||i[3]!==t?(r=()=>{let e=e=>a(e);return window.addEventListener("keydown",e,t),()=>window.removeEventListener("keydown",e,t)},i[2]=a,i[3]=t,i[4]=r):r=i[4],i[5]!==t?(o=[t],i[5]=t,i[6]=o):o=i[6],(0,ne.useEffect)(r,o)}function uO(e,t){let n,r,o=(0,$.c)(4);return(0,ne.useDebugValue)(e),o[0]!==e?(n=t=>{let n=window.matchMedia(e);return n.addEventListener("change",t),()=>n.removeEventListener("change",t)},o[0]=e,o[1]=n):n=o[1],o[2]!==e?(r=()=>window.matchMedia(e).matches,o[2]=e,o[3]=r):r=o[3],(0,ne.useSyncExternalStore)(n,r,t)}function uA(){return 0}function uB(){let e,t,n,r,o=(0,$.c)(2),{media:i}=ca();o[0]!==i?(n=i.length,r=()=>{if(!t){t=[];for(let r=n;r>-1;r-=1){var e;let n=0===(e=r)?`screen and (max-width: ${i[e]-1}px)`:e===i.length?`screen and (min-width: ${i[e-1]}px)`:`screen and (min-width: ${i[e-1]}px) and (max-width: ${i[e]-1}px)`;t.push({index:r,mq:window.matchMedia(n)})}}return t},e={getSnapshot:()=>{for(let{index:e,mq:t}of r())if(t.matches)return e;return 0},subscribe:e=>{let t=[];for(let{mq:n}of r()){let r=()=>{n.matches&&e()};
451n.addEventListener("change",r),t.push(()=>n.removeEventListener("change",r))}return()=>{for(let e of t)e()}}},o[0]=i,o[1]=e):e=o[1];let a=e;return(0,ne.useSyncExternalStore)(a.subscribe,a.getSnapshot,uA)}function uz(e){return uO("(prefers-color-scheme: dark)",void 0===e?uT:e)}function uT(){return!1}function uW(e){return uO("(prefers-reduced-motion: reduce)",void 0===e?uN:e)}function uN(){return!1}let uP=ii.div.withConfig({displayName:"StyledCheckbox",componentId:"sc-1l5mt2l-0"})(function(){return io` 452 position: relative; 453 display: inline-block; 454 `}),uZ=ii.input.withConfig({displayName:"Input",componentId:"sc-1l5mt2l-1"})(function(e){let{color:t,input:n,radius:r}=nv(e.theme),{focusRing:o}=n.checkbox;return io` 455 position: absolute; 456 top: 0; 457 left: 0; 458 width: 100%; 459 height: 100%; 460 outline: none; 461 opacity: 0; 462 z-index: 1; 463 padding: 0; 464 margin: 0; 465 466 & + span { 467 position: relative; 468 display: block; 469 height: ${d3(n.checkbox.size)}; 470 width: ${d3(n.checkbox.size)}; 471 box-sizing: border-box; 472 box-shadow: ${c_({color:t.input.default.enabled.border,width:n.border.width})}; 473 border-radius: ${d3(r[2])}; 474 line-height: 1; 475 background-color: ${t.input.default.enabled.bg}; 476 477 & > svg { 478 display: block; 479 position: absolute; 480 opacity: 0; 481 height: 100%; 482 width: 100%; 483 484 & > path { 485 vector-effect: non-scaling-stroke; 486 stroke-width: 1.5px !important; 487 } 488 } 489 } 490 491 &:checked + span { 492 background: ${t.input.default.enabled.fg}; 493 box-shadow: ${c_({color:t.input.default.enabled.fg,width:n.border.width})}; 494 color: ${t.input.default.enabled.bg}; 495 } 496 497 /* focus */ 498 &:not(:disabled):focus:focus-visible + span { 499 box-shadow: ${cR({focusRing:o})}; 500 } 501 502 /* focus when checked - uses a different offset */ 503 &:not(:disabled):focus:focus-visible&:checked + span { 504 box-shadow: ${cR({focusRing:{width:1,offset:1}})}; 505 } 506 507 &[data-error] + span { 508 background-color: ${t.input.invalid.enabled.border}; 509 box-shadow: ${c_({width:n.border.width,color:t.input.invalid.enabled.muted.bg})}; 510 color: ${t.input.default.disabled.fg}; 511 } 512 &[data-error]&:checked + span { 513 background-color: ${t.input.invalid.enabled.muted.bg}; 514 color: ${t.input.default.enabled.bg}; 515 } 516 &[data-error]&:checked&:not(:disabled):focus:focus-visible + span { 517 box-shadow: ${cR({border:{width:n.border.width,color:t.input.invalid.readOnly.muted.bg},focusRing:{width:1,offset:1}})}; 518 } 519 520 &:disabled + span { 521 background-color: ${t.input.default.disabled.bg}; 522 box-shadow: ${c_({width:n.border.width,color:t.input.default.disabled.border})}; 523 color: ${t.input.default.disabled.fg}; 524 } 525 &:disabled&:checked + span { 526 background-color: ${t.input.default.disabled.muted.bg}; 527 } 528 529 &[data-read-only] + span { 530 background-color: ${t.input.default.readOnly.bg}; 531 box-shadow: ${c_({width:n.border.width,color:t.input.default.readOnly.border})}; 532 color: ${t.input.default.readOnly.fg}; 533 } 534 535 &[data-read-only]&:checked + span { 536 background-color: ${t.input.default.readOnly.muted.bg}; 537 } 538 539 &:checked + span > svg:first-child { 540 opacity: 1; 541 } 542 &:indeterminate + span > svg:last-child { 543 opacity: 1; 544 } 545 `});function uF({theme:e}){let{color:{syntax:t}}=nv(e);return{"&.atrule":{color:t.atrule},"&.attr-name":{color:t.attrName},"&.attr-value":{color:t.attrValue},"&.attribute":{color:t.attribute},"&.boolean":{color:t.boolean},"&.builtin":{color:t.builtin},"&.cdata":{color:t.cdata},"&.char":{color:t.char},"&.class":{color:t.class},"&.class-name":{color:t.className},"&.comment":{color:t.comment},"&.constant":{color:t.constant},"&.deleted":{color:t.deleted},"&.doctype":{color:t.doctype},"&.entity":{color:t.entity},"&.function":{color:t.function},"&.hexcode":{color:t.hexcode},"&.id":{color:t.id},"&.important":{color:t.important},"&.inserted":{color:t.inserted},"&.keyword":{color:t.keyword},"&.number":{color:t.number},"&.operator":{color:t.operator},"&.prolog":{color:t.prolog},"&.property":{color:t.property},"&.pseudo-class":{color:t.pseudoClass},"&.pseudo-element":{color:t.pseudoElement},"&.punctuation":{color:t.punctuation},"&.regex":{color:t.regex},"&.selector":{color:t.selector},"&.string":{color:t.string},"&.symbol":{color:t.symbol},"&.tag":{color:t.tag},"&.unit":{color:t.unit},"&.url":{color:t.url},"&.variable":{color:t.variable}}}(0,ne.forwardRef)(function(e,t){let n,r,o,i,a,s,l,d,c,u,f,h,p,g,m=(0,$.c)(25);m[0]!==e?({checked:n,className:r,disabled:i,indeterminate:a,customValidity:o,readOnly:s,style:d,...l}=e,m[0]=e,m[1]=n,m[2]=r,m[3]=o,m[4]=i,m[5]=a,m[6]=s,m[7]=l,m[8]=d):(n=m[1],r=m[2],o=m[3],i=m[4],a=m[5],s=m[6],l=m[7],d=m[8]);let v=(0,ne.useRef)(null);m[9]===Symbol.for("react.memo_cache_sentinel")?(c=()=>v.current,m[9]=c):c=m[9],(0,ne.useImperativeHandle)(t,c),m[10]!==a?(u=()=>{v.current&&(v.current.indeterminate=a||!1)},f=[a],m[10]=a,m[11]=u,m[12]=f):(u=m[11],f=m[12]),(0,ne.useEffect)(u,f),uE(v,o);let y=!i&&s?"":void 0,w=o?"":void 0,b=i||s;return m[13]!==n||m[14]!==s||m[15]!==l||m[16]!==y||m[17]!==w||m[18]!==b?(h=(0,E.jsx)(uZ,{"data-read-only":y,"data-error":w,...l,checked:n,disabled:b,type:"checkbox",readOnly:s,ref:v}),m[13]=n,m[14]=s,m[15]=l,m[16]=y,m[17]=w,m[18]=b,m[19]=h):h=m[19],m[20]===Symbol.for("react.memo_cache_sentinel")?(p=(0,E.jsxs)("span",{children:[(0,E.jsx)(iU,{}),(0,E.jsx)(sX,{})]}),m[20]=p):p=m[20],m[21]!==r||m[22]!==d||m[23]!==h?(g=(0,E.jsxs)(uP,{className:r,"data-ui":"Checkbox",style:d,children:[h,p]}),m[21]=r,m[22]=d,m[23]=h,m[24]=g):g=m[24],g}).displayName="ForwardRef(Checkbox)";let uD=(0,ne.lazy)(()=>e.A(150620)),uq=ii.pre.withConfig({displayName:"StyledCode",componentId:"sc-4dymyn-0"})(function(){return io` 546 color: var(--card-code-fg-color); 547 548 & code { 549 font-family: inherit; 550 551 &.refractor .token { 552 ${uF} 553 } 554 } 555 556 & a { 557 color: inherit; 558 text-decoration: underline; 559 border-radius: 1px; 560 } 561 562 & svg { 563 /* Certain popular CSS libraries changes the defaults for SVG display */ 564 /* Make sure SVGs are rendered as inline elements */ 565 display: inline; 566 } 567 568 & [data-sanity-icon] { 569 vertical-align: baseline; 570 } 571 `},function(e){return d9("code",e)});(0,ne.forwardRef)(function(e,t){let n,r,o,i,a,s,l,d,c,u,f=(0,$.c)(22);f[0]!==e?({children:n,language:r,size:i,weight:a,...o}=e,f[0]=e,f[1]=n,f[2]=r,f[3]=o,f[4]=i,f[5]=a):(n=f[1],r=f[2],o=f[3],i=f[4],a=f[5]);let h=void 0===i?2:i;return f[6]!==h?(s=d6(h),f[6]=h,f[7]=s):s=f[7],f[8]!==n?(l=(0,E.jsx)("code",{children:n}),f[8]=n,f[9]=l):l=f[9],f[10]!==n||f[11]!==r?(d=(0,E.jsx)(uD,{language:r,value:n}),f[10]=n,f[11]=r,f[12]=d):d=f[12],f[13]!==l||f[14]!==d?(c=(0,E.jsx)(ne.Suspense,{fallback:l,children:d}),f[13]=l,f[14]=d,f[15]=c):c=f[15],f[16]!==t||f[17]!==o||f[18]!==s||f[19]!==c||f[20]!==a?(u=(0,E.jsx)(uq,{"data-ui":"Code",...o,$size:s,$weight:a,ref:t,children:c}),f[16]=t,f[17]=o,f[18]=s,f[19]=c,f[20]=a,f[21]=u):u=f[21],u}).displayName="ForwardRef(Code)";let uU={width:"100%",margin:"0 auto"},uG=ii(uf).withConfig({displayName:"StyledContainer",componentId:"sc-wyroop-0"})(function(){return uU}
571,function(e){let{container:t,media:n}=nv(e.theme);return d4(n,e.$width,e=>({maxWidth:"auto"===e?"none":d3(t[e])}))}),uY=(0,ne.forwardRef)(function(e,t){let n,r,o,i,a,s=(0,$.c)(11);s[0]!==e?({as:n,width:o,...r}=e,s[0]=e,s[1]=n,s[2]=r,s[3]=o):(n=s[1],r=s[2],o=s[3]);let l=void 0===o?2:o;return s[4]!==l?(i=d6(l),s[4]=l,s[5]=i):i=s[5],s[6]!==n||s[7]!==t||s[8]!==r||s[9]!==i?(a=(0,E.jsx)(uG,{"data-ui":"Container",...r,$width:i,forwardedAs:n,ref:t}),s[6]=n,s[7]=t,s[8]=r,s[9]=i,s[10]=a):a=s[10],a});uY.displayName="ForwardRef(Container)";let uK=ii(uf).withConfig({displayName:"StyledGrid",componentId:"sc-v8t8oz-0"})(function(){return[cz,cN,cP,cZ,cF,cD,cq,cU,cG]}),uX=(0,ne.forwardRef)(function(e,t){let n,r,o,i,a,s,l,d,c,u,f,h,p,g,m,v,y,w,b,x,C=(0,$.c)(42);C[0]!==e?({as:n,autoRows:i,autoCols:r,autoFlow:o,columns:s,gap:l,gapX:d,gapY:c,rows:f,children:a,...u}=e,C[0]=e,C[1]=n,C[2]=r,C[3]=o,C[4]=i,C[5]=a,C[6]=s,C[7]=l,C[8]=d,C[9]=c,C[10]=u,C[11]=f):(n=C[1],r=C[2],o=C[3],i=C[4],a=C[5],s=C[6],l=C[7],d=C[8],c=C[9],u=C[10],f=C[11]);let k="string"==typeof n?n:void 0;return C[12]!==i?(h=d6(i),C[12]=i,C[13]=h):h=C[13],C[14]!==r?(p=d6(r),C[14]=r,C[15]=p):p=C[15],C[16]!==o?(g=d6(o),C[16]=o,C[17]=g):g=C[17],C[18]!==s?(m=d6(s),C[18]=s,C[19]=m):m=C[19],C[20]!==l?(v=d6(l),C[20]=l,C[21]=v):v=C[21],C[22]!==d?(y=d6(d),C[22]=d,C[23]=y):y=C[23],C[24]!==c?(w=d6(c),C[24]=c,C[25]=w):w=C[25],C[26]!==f?(b=d6(f),C[26]=f,C[27]=b):b=C[27],C[28]!==n||C[29]!==a||C[30]!==t||C[31]!==u||C[32]!==k||C[33]!==h||C[34]!==p||C[35]!==g||C[36]!==m||C[37]!==v||C[38]!==y||C[39]!==w||C[40]!==b?(x=(0,E.jsx)(uK,{"data-as":k,"data-ui":"Grid",...u,$autoRows:h,$autoCols:p,$autoFlow:g,$columns:m,$gap:v,$gapX:y,$gapY:w,$rows:b,forwardedAs:n,ref:t,children:a}),C[28]=n,C[29]=a,C[30]=t,C[31]=u,C[32]=k,C[33]=h,C[34]=p,C[35]=g,C[36]=m,C[37]=v,C[38]=y,C[39]=w,C[40]=b,C[41]=x):x=C[41],x});uX.displayName="ForwardRef(Grid)";let uJ=ii.div.withConfig({displayName:"StyledHeading",componentId:"sc-137lwim-0"})(function(e){let{$accent:t,$muted:n}=e,{font:r}=nv(e.theme);return io` 572 ${t&&io` 573 color: var(--card-accent-fg-color); 574 `} 575 576 ${n&&io` 577 color: var(--card-muted-fg-color); 578 `} 579 580 & code { 581 font-family: ${r.code.family}; 582 border-radius: 1px; 583 } 584 585 & a { 586 text-decoration: none; 587 border-radius: 1px; 588 color: var(--card-link-color); 589 outline: none; 590 591 @media (hover: hover) { 592 &:hover { 593 text-decoration: underline; 594 } 595 } 596 597 &:focus { 598 box-shadow: 599 0 0 0 1px var(--card-bg-color), 600 0 0 0 3px var(--card-focus-ring-color); 601 } 602 603 &:focus:not(:focus-visible) { 604 box-shadow: none; 605 } 606 } 607 608 & strong { 609 font-weight: ${r.heading.weights.bold}; 610 } 611 612 & svg { 613 /* Certain popular CSS libraries changes the defaults for SVG display */ 614 /* Make sure SVGs are rendered as inline elements */ 615 display: inline; 616 } 617 618 & [data-sanity-icon] { 619 vertical-align: baseline; 620 } 621 `},d7,function(e){return d9("heading",e)});(0,ne.forwardRef)(function(e,t){let n,r,o,i,a,s,l,d,c,u,f,h,p=(0,$.c)(26);p[0]!==e?({accent:i,align:n,children:r,muted:a,size:s,textOverflow:l,weight:d,...o}=e,p[0]=e,p[1]=n,p[2]=r,p[3]=o,p[4]=i,p[5]=a,p[6]=s,p[7]=l,p[8]=d):(n=p[1],r=p[2],o=p[3],i=p[4],a=p[5],s=p[6],l=p[7],d=p[8]);let g=void 0!==i&&i,m=void 0!==a&&a,v=void 0===s?2:s,y=r;if("ellipsis"===l){let e;p[9]!==y?(e=(0,E.jsx)(c4,{children:y}),p[9]=y,p[10]=e):e=p[10],y=e}return p[11]!==n?(c=d6(n),p[11]=n,p[12]=c):c=p[12],p[13]!==v?(u=d6(v),p[13]=v,p[14]=u):u=p[14],p[15]!==y?(f=(0,E.jsx)("span",{children:y}),p[15]=y,p[16]=f):f=p[16],p[17]!==g||p[18]!==m||p[19]!==t||p[20]!==o||p[21]!==c||p[22]!==u||p[23]!==f||p[24]!==d?(h=(0,E.jsx)(uJ,{"data-ui":"Heading",...o,$accent:g,$align:c,$muted:m,$size:u,$weight:d,ref:t,children:f}),p[17]=g,p[18]=m,p[19]=t,p[20]=o,p[21]=c,p[22]=u,p[23]=f,p[24]=d,p[25]=h):h=p[25],h}).displayName="ForwardRef(Heading)";let uQ=ii(uf).withConfig({displayName:"StyledInline",componentId:"sc-1pkiy6j-0"})(function(){return{lineHeight:"0","&&:not([hidden])":{display:"block"},"& > div":{display:"inline-block",verticalAlign:"middle"}}}
621,function(e){let{media:t,space:n}=nv(e.theme);return d4(t,e.$space,e=>{let t=d3(.5===e?n[1]/2:n[e]);return{margin:`-${t} 0 0 -${t}`,"& > div":{padding:`${t} 0 0 ${t}`}}})}),u1=(0,ne.forwardRef)(function(e,t){let n,r,o,i,a,s,l,d=(0,$.c)(15);d[0]!==e?({as:n,children:r,space:i,...o}=e,d[0]=e,d[1]=n,d[2]=r,d[3]=o,d[4]=i):(n=d[1],r=d[2],o=d[3],i=d[4]),d[5]!==r?(a=ne.Children.map(r,u0),d[5]=r,d[6]=a):a=d[6];let c=a;return d[7]!==i?(s=d6(i),d[7]=i,d[8]=s):s=d[8],d[9]!==n||d[10]!==c||d[11]!==o||d[12]!==s||d[13]!==t?(l=(0,E.jsx)(uQ,{"data-ui":"Inline",...o,$space:s,forwardedAs:n,ref:t,children:c}),d[9]=n,d[10]=c,d[11]=o,d[12]=s,d[13]=t,d[14]=l):l=d[14],l});function u0(e){return e&&(0,E.jsx)("div",{children:e})}u1.displayName="ForwardRef(Inline)";let u5=ii.kbd.withConfig({displayName:"StyledKBD",componentId:"sc-1w7yd8w-0"})(c2,function(){return io` 622 --card-bg-color: var(--card-kbd-bg-color); 623 --card-border-color: var(--card-kbd-border-color); 624 --card-fg-color: var(--card-kbd-fg-color); 625 626 box-shadow: inset 0 0 0 1px var(--card-border-color); 627 background: var(--card-bg-color); 628 font: inherit; 629 630 vertical-align: top; 631 632 &:not([hidden]) { 633 display: inline-block; 634 } 635 `}),u2=(0,ne.forwardRef)(function(e,t){let n,r,o,i,a,s,l,d,c,u=(0,$.c)(19);u[0]!==e?({children:n,fontSize:o,padding:i,radius:a,...r}=e,u[0]=e,u[1]=n,u[2]=r,u[3]=o,u[4]=i,u[5]=a):(n=u[1],r=u[2],o=u[3],i=u[4],a=u[5]);let f=void 0===o?0:o,h=void 0===i?1:i,p=void 0===a?2:a;return u[6]!==p?(s=d6(p),u[6]=p,u[7]=s):s=u[7],u[8]!==n||u[9]!==f?(l=(0,E.jsx)(up,{as:"span",size:f,weight:"semibold",children:n}),u[8]=n,u[9]=f,u[10]=l):l=u[10],u[11]!==h||u[12]!==l?(d=(0,E.jsx)(uf,{as:"span",padding:h,children:l}),u[11]=h,u[12]=l,u[13]=d):d=u[13],u[14]!==t||u[15]!==r||u[16]!==s||u[17]!==d?(c=(0,E.jsx)(u5,{"data-ui":"KBD",...r,$radius:s,ref:t,children:d}),u[14]=t,u[15]=r,u[16]=s,u[17]=d,u[18]=c):c=u[18],c});u2.displayName="ForwardRef(KBD)";let u3={name:"@sanity/ui/origin",fn({middlewareData:e,placement:t,rects:n}){let[r]=t.split("-"),o=n.floating.width,i=n.floating.height,a=e.shift?.x||0,s=e.shift?.y||0;if(o<=0||i<=0)return{};let{originX:l,originY:d}=["bottom","top"].includes(r)?{originX:u4(.5-a/o,0,1),originY:+("bottom"!==r)}:{originX:+("left"===r),originY:u4(.5-s/i,0,1)};return{data:{originX:l,originY:d}}}};function u4(e,t,n){return Math.min(Math.max(e,t),n)}function u6(e,t,n){let r=t.x-e.x,o=t.y-e.y;return u8(e,t,Math.min(1,n/Math.sqrt(r*r+o*o)))}function u8(e,t,n){return{x:e.x+(t.x-e.x)*n,y:e.y+(t.y-e.y)*n}}let u9=ii.div.withConfig({displayName:"StyledArrow",componentId:"sc-12vzy6c-0"})(({$w:e})=>io` 636 position: absolute; 637 width: ${e}px; 638 height: ${e}px; 639 640 :empty + & { 641 display: none; 642 } 643 644 & > svg { 645 display: block; 646 line-height: 0; 647 transform-origin: ${e/2}px ${e/2}px; 648 } 649 650 [data-placement^='top'] > & { 651 bottom: -${e}px; 652 653 & > svg { 654 transform: rotate(0); 655 } 656 } 657 658 [data-placement^='right'] > & { 659 left: -${e}px; 660 661 & > svg { 662 transform: rotate(90deg); 663 } 664 } 665 666 [data-placement^='left'] > & { 667 right: -${e}px; 668 669 & > svg { 670 transform: rotate(-90deg); 671 } 672 } 673 674 [data-placement^='bottom'] > & { 675 top: -${e}px; 676 677 & > svg { 678 transform: rotate(180deg); 679 } 680 } 681 `),u7=ii.path.withConfig({displayName:"StrokePath",componentId:"sc-12vzy6c-1"})`stroke:var(--card-shadow-outline-color);`,fe=ii.path.withConfig({displayName:"ShapePath",componentId:"sc-12vzy6c-2"})`fill:var(--card-bg-color);`,ft=(0,ne.forwardRef)(function(e,t){let n,r,o,i,a,s,l,d,c,u,f=(0,$.c)(29);f[0]!==e?({width:i,height:n,radius:o,...r}=e,f[0]=e,f[1]=n,f[2]=r,f[3]=o,f[4]=i):(n=f[1],r=f[2],o=f[3],i=f[4]);let h=void 0===o?0:o,{card:p}=ca(),g=p.shadow.outline,m=i/2;f[5]!==m||f[6]!==n||f[7]!==h||f[8]!==i?(a=(function(e){let t=e.length,n=[];for(let r=0;r<t;r+=1){let t=e[r],o=e[r-1],i=e[r+1];if(o&&t.radius){let e=u6(t,o,t.radius),r=u6(t,i,t.radius),a=u8(e,t,.5),s=u8(t,r,.5);n.push({type:"point",...e}),n.push({type:"curve",curveEnd:r,startControl:a,endControl:s})}else n.push({type:"point",...t})}return n})([{x:0,y:0},{x:h,y:0,radius:h},{x:m,y:n-1,radius:h},{x:i-h,y:0,radius:h},{x:i,y:0}]).map((e,t)=>"point"===e.type?`${0===t?"M":"L"} ${e.x} ${e.y}`:"curve"===e.type?`C ${e.startControl.x} ${e.startControl.y} ${e.endControl.x} ${e.endControl.y} ${e.curveEnd.x} ${e.curveEnd.y}`:"").join(" "),f[5]=m,f[6]=n,f[7]=h,f[8]=i,f[9]=a):a=f[9];let v=a,y=`${v}`,w=`${v} M ${i} -1 M 0 -1 Z`,b=`0 0 ${i} ${i}`;f[10]!==g||f[11]!==i?(s=(0,E.jsx)("mask",{id:"stroke-mask",children:(0,E.jsx)("rect",{x:0,y:g,width:i,height:i,fill:"white"})}),f[10]=g,f[11]=i,f[12]=s):s=f[12];let x=2*g;return f[13]!==y||f[14]!==x?(l=(0,E.jsx)(u7,{d:y,mask:"url(#stroke-mask)",strokeWidth:x}),f[13]=y,f[14]=x,f[15]=l):l=f[15],f[16]!==w?(d=(0,E.jsx)(fe,{d:w}),f[16]=w,f[17]=d):d=f[17],f[18]!==b||f[19]!==s||f[20]!==l||f[21]!==d||f[22]!==i?(c=(0,E.jsxs)("svg",{width:i,height:i,viewBox:b,children:[s,l,d]}),f[18]=b,f[19]=s,f[20]=l,f[21]=d,f[22]=i,f[23]=c):c=f[23],f[24]!==t||f[25]!==r||f[26]!==c||f[27]!==i?(u=(0,E.jsx)(u9,{...r,$w:i,ref:t,children:c}),f[24]=t,f[25]=r,f[26]=c,f[27]=i,f[28]=u):u=f[28],u});ft.displayName="ForwardRef(Arrow)";let fn=ct("@sanity/ui/context/boundaryElement",null);function fr(e){return!!(e&&"object"==typeof e&&!Array.isArray(e))}let fo={version:0,element:null};function fi(){let e=(0,ne.useContext)(fn);if(e&&(!fr(e)||0!==e.version))throw Error("useBoundaryElement(): the context value is not compatible");return e||fo}function fa(e){if(!fr(e)||0!==e.version)throw Error("the context value is not compatible");if(!e)throw Error("components using `useLayer()` should be wrapped in a <LayerProvider>.");
681if(0===e.version)return e;throw Error("could not get layer context")}(0,ne.forwardRef)(function(e,t){let n,r,o,i,a,s,l,d,c=(0,$.c)(18),u=ca();c[0]!==e?({children:r,media:n,...o}=e,c[0]=e,c[1]=n,c[2]=r,c[3]=o):(n=c[1],r=c[2],o=c[3]);let f=n??u.media,[h,p]=(0,ne.useState)(null),g=uV(h)?.border.width??window.innerWidth;if(c[4]!==f||c[5]!==g){let e=function(e,t){let n=[];for(let r=0;r<e.length;r+=1)e[r]>t&&n.push(r);return n}(f,g);i=e.length?e.join(" "):void 0,c[4]=f,c[5]=g,c[6]=i}else i=c[6];let m=i;if(c[7]!==f||c[8]!==g){let e=function(e,t){let n=[];for(let r=0;r<e.length;r+=1)e[r]<=t&&n.push(r);return n}(f,g);a=e.length?e.join(" "):void 0,c[7]=f,c[8]=g,c[9]=a}else a=c[9];let v=a;return c[10]!==h?(s=()=>h,l=[h],c[10]=h,c[11]=s,c[12]=l):(s=c[11],l=c[12]),(0,ne.useImperativeHandle)(t,s,l),c[13]!==r||c[14]!==m||c[15]!==v||c[16]!==o?(d=(0,E.jsx)("div",{"data-ui":"ElementQuery",...o,"data-eq-max":m,"data-eq-min":v,ref:p,children:r}),c[13]=r,c[14]=m,c[15]=v,c[16]=o,c[17]=d):d=c[17],d}).displayName="ForwardRef(ElementQuery)";let fs=ct("@sanity/ui/context/layer",null);function fl(e){let t,n,r,o,i,a,s,l,d=(0,$.c)(21),{children:c,zOffset:u}=e,f=void 0===u?0:u,h=(0,ne.useContext)(fs);d[0]!==h?(t=h&&fa(h),d[0]=h,d[1]=t):t=d[1];let p=t,g=p?.registerChild,m=(p?.level??0)+1;d[2]!==f?(n=d6(f),d[2]=f,d[3]=n):n=d[3];let v=n,y=v.length-1,w=Math.min(uB(),y),b=p?p.zIndex+v[w]:v[w];d[4]===Symbol.for("react.memo_cache_sentinel")?(r={},d[4]=r):r=d[4];let[,x]=(0,ne.useState)(r),[C,k]=(0,ne.useState)(0),j=0===C;d[5]!==g||d[6]!==x?(o=e=>{let t=g?.(e);return void 0!==e?x(t=>{let n=t[e]??0,r={...t,[e]:n+1};return k(Object.keys(r).length),r}):k(fc),()=>{void 0!==e?x(t=>{let n={...t};return 1===n[e]?(delete n[e],k(Object.keys(n).length)):n[e]=n[e]-1,n}):k(fd),t?.()}},d[5]=g,d[6]=x,d[7]=o):o=d[7];let M=o;d[8]!==m||d[9]!==g?(i=()=>g?.(m),a=[m,g],d[8]=m,d[9]=g,d[10]=i,d[11]=a):(i=d[10],a=d[11]),(0,ne.useEffect)(i,a),d[12]!==j||d[13]!==m||d[14]!==M||d[15]!==C||d[16]!==b?(s={version:0,isTopLayer:j,level:m,registerChild:M,size:C,zIndex:b},d[12]=j,d[13]=m,d[14]=M,d[15]=C,d[16]=b,d[17]=s):s=d[17];let L=s;return d[18]!==c||d[19]!==L?(l=(0,E.jsx)(fs.Provider,{value:L,children:c}),d[18]=c,d[19]=L,d[20]=l):l=d[20],l}function fd(e){return e-1}function fc(e){return e+1}function fu(){let e=(0,$.c)(2),t=(0,ne.useContext)(fs);if(!t)throw Error("useLayer(): missing context value");try{let n;return e[0]!==t?(n=fa(t),e[0]=t,e[1]=n):n=e[1],n}catch(e){throw e instanceof Error?Error(`useLayer(): ${e.message}`):Error(`useLayer(): ${e}`)}}fl.displayName="LayerProvider";let ff=ii.div.withConfig({displayName:"StyledLayer",componentId:"sc-16kojrv-0"})({position:"relative"}),fh=(0,ne.forwardRef)(function(e,t){let n,r,o,i,a,s,l,d,c,u,f,h=(0,$.c)(22);h[0]!==e?({children:n,onActivate:r,onFocus:o,style:a,...i}=e,h[0]=e,h[1]=n,h[2]=r,h[3]=o,h[4]=i,h[5]=a):(n=h[1],r=h[2],o=h[3],i=h[4],a=h[5]);let p=void 0===a?dK:a,{zIndex:g,isTopLayer:m}=fu(),v=(0,ne.useRef)(null),y=(0,ne.useRef)(null),w=(0,ne.useRef)(m);h[6]===Symbol.for("react.memo_cache_sentinel")?(s=()=>y.current,h[6]=s):s=h[6],(0,ne.useImperativeHandle)(t,s),h[7]!==m||h[8]!==r?(l=()=>{w.current!==m&&m&&r?.({activeElement:v.current}),w.current=m},d=[m,r],h[7]=m,h[8]=r,h[9]=l,h[10]=d):(l=h[9],d=h[10]),(0,ne.useEffect)(l,d),h[11]!==m||h[12]!==o?(c=e=>{o?.(e);let t=y.current,n=document.activeElement;!m||!t||!n||d1(n)&&d2(t,n)&&(v.current=n)},h[11]=m,h[12]=o,h[13]=c):c=h[13];let b=c;return h[14]!==p||h[15]!==g?(u={...p,zIndex:g},h[14]=p,h[15]=g,h[16]=u):u=h[16],h[17]!==n||h[18]!==b||h[19]!==i||h[20]!==u?(f=(0,E.jsx)(ff,{...i,"data-ui":"Layer",onFocus:b,ref:y,style:u,children:n}),h[17]=n,h[18]=b,h[19]=i,h[20]=u,h[21]=f):f=h[21],f}),fp=(0,ne.forwardRef)(function(e,t){let n,r,o,i,a,s=(0,$.c)(11);s[0]!==e?({children:n,zOffset:o,...r}=e,s[0]=e,s[1]=n,s[2]=r,s[3]=o):(n=s[1],r=s[2],o=s[3]);let l=void 0===o?1:o;return s[4]!==n||s[5]!==t||s[6]!==r?(i=(0,E.jsx)(fh,{...r,ref:t,children:n}),s[4]=n,s[5]=t,s[6]=r,s[7]=i):i=s[7],s[8]!==i||s[9]!==l?(a=(0,E.jsx)(fl,{zOffset:l,children:i}),s[8]=i,s[9]=l,s[10]=a):a=s[10],a});fp.displayName="ForwardRef(Layer)";let fg="@sanity/ui/context/portal",fm=Symbol.for(`${fg}/element`);ce[fm]=null;
681let fv=ct(fg,{version:0,boundaryElement:null,get element(){return typeof document>"u"?null:(ce[fm]||(ce[fm]=document.createElement("div"),ce[fm].setAttribute("data-portal",""),document.body.appendChild(ce[fm])),ce[fm])}});function fy(){let e=(0,ne.useContext)(fv);if(!e)throw Error("usePortal(): missing context value");if(!fr(e)||0!==e.version)throw Error("usePortal(): the context value is not compatible");return e}function fw(e){let t,n=(0,$.c)(3),{children:r,__unstable_name:o}=e,i=fy(),a=(o?i.elements&&i.elements[o]:i.element)||i.elements?.default;return a?(n[0]!==r||n[1]!==a?(t=(0,nt.createPortal)(r,a),n[0]=r,n[1]=a,n[2]=t):t=n[2],t):null}function fb(e){let t,n,r=(0,$.c)(7),{boundaryElement:o,children:i,element:a,__unstable_elements:s}=e,l=(0,ne.useSyncExternalStore)(fk,fC,fx),d=o||null,c=a||l;r[0]!==s||r[1]!==d||r[2]!==c?(t={version:0,boundaryElement:d,element:c,elements:s},r[0]=s,r[1]=d,r[2]=c,r[3]=t):t=r[3];let u=t;return r[4]!==i||r[5]!==u?(n=(0,E.jsx)(fv.Provider,{value:u,children:i}),r[4]=i,r[5]=u,r[6]=n):n=r[6],n}function fx(){return null}function fC(){return document.body}fw.displayName="Portal",fb.displayName="PortalProvider";let fk=()=>()=>{},fj=ii.div.withConfig({displayName:"StyledSrOnly",componentId:"sc-mubr0c-0"})`display:block;width:0;height:0;position:absolute;overflow:hidden;overflow:clip;`;(0,ne.forwardRef)(function(e,t){let n,r=(0,$.c)(4),{as:o,children:i}=e;return r[0]!==o||r[1]!==i||r[2]!==t?(n=(0,E.jsx)(fj,{"aria-hidden":!0,as:o,"data-ui":"SrOnly",ref:t,children:i}),r[0]=o,r[1]=i,r[2]=t,r[3]=n):n=r[3],n}).displayName="ForwardRef(SrOnly)";let fM=ii.div.withConfig({displayName:"StyledVirtualList",componentId:"sc-dlqsj4-0"})`position:relative;`,fL=ii.div.withConfig({displayName:"ItemWrapper",componentId:"sc-dlqsj4-1"})`position:absolute;left:0;right:0;`;function fS(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(n=(t=Object.getOwnPropertyDescriptor(e,"ref")?.get)&&"isReactWarning"in t&&t.isReactWarning)?e.props.ref:e.props.ref||e.ref}(0,ne.forwardRef)(function(e,t){let n,r,o,i,a,s,l,d,c,u,f,h,p,g,m,v,y,w,b,x=(0,$.c)(44);x[0]!==e?({as:a,gap:s,getItemKey:n,items:l,onChange:r,renderItem:o,...i}=e,x[0]=e,x[1]=n,x[2]=r,x[3]=o,x[4]=i,x[5]=a,x[6]=s,x[7]=l):(n=x[1],r=x[2],o=x[3],i=x[4],a=x[5],s=x[6],l=x[7]);let C=void 0===a?"div":a,k=void 0===s?0:s;x[8]!==l?(d=void 0===l?[]:l,x[8]=l,x[9]=d):d=x[9];let j=d,{space:M}=ca(),L=(0,ne.useRef)(null),S=(0,ne.useRef)(null),[_,R]=(0,ne.useState)(0),[H,V]=(0,ne.useState)(0),[I,O]=(0,ne.useState)(-1);x[10]===Symbol.for("react.memo_cache_sentinel")?(c=()=>L.current,x[10]=c):c=x[10],(0,ne.useImperativeHandle)(t,c),x[11]===Symbol.for("react.memo_cache_sentinel")?(u=()=>{if(!S.current)return;let e=S.current.firstChild;e instanceof HTMLElement&&O(e.offsetHeight)},x[11]=u):u=x[11],x[12]!==o?(f=[o],x[12]=o,x[13]=f):f=x[13],(0,ne.useEffect)(u,f),x[14]===Symbol.for("react.memo_cache_sentinel")?(h=()=>
681{if(!L.current)return;let e=function(e){let t=e;for(;t&&!function(e){if(!(e instanceof Element))return!1;let t=window.getComputedStyle(e);return t.overflowX.includes("auto")||t.overflowX.includes("scroll")||t.overflowY.includes("auto")||t.overflowY.includes("scroll")}(t);)t=t.parentNode;return t}(L.current.parentNode);if(e){if(!(e instanceof HTMLElement))return;let t=()=>{R(e.scrollTop)};e.addEventListener("scroll",t,{passive:!0});let n=new u$(e=>{V(e[0].contentRect.height)});return n.observe(e),t(),()=>{e.removeEventListener("scroll",t),n.unobserve(e),n.disconnect()}}let t=()=>{R(window.scrollY)},n=()=>{V(window.innerHeight)};return window.addEventListener("scroll",t,{passive:!0}),window.addEventListener("resize",n),V(window.innerHeight),t(),()=>{window.removeEventListener("scroll",t),window.removeEventListener("resize",n)}},p=[],x[14]=h,x[15]=p):(h=x[14],p=x[15]),(0,ne.useEffect)(h,p);let A=j.length,B=I?A*(I+M[k])-M[k]:0,z=B?Math.max(Math.floor(_/B*A)-2,0):0,T=B?Math.ceil((_+H)/B*A)+1:0;x[16]!==z||x[17]!==k||x[18]!==I||x[19]!==r||x[20]!==H||x[21]!==_||x[22]!==M||x[23]!==T?(m=()=>{r&&r({fromIndex:z,gap:M[k],itemHeight:I,scrollHeight:H,scrollTop:_,toIndex:T})},g=[z,k,I,r,H,_,M,T],x[16]=z,x[17]=k,x[18]=I,x[19]=r,x[20]=H,x[21]=_,x[22]=M,x[23]=T,x[24]=g,x[25]=m):(g=x[24],m=x[25]),(0,ne.useEffect)(m,g),x[26]!==z||x[27]!==k||x[28]!==n||x[29]!==I||x[30]!==j||x[31]!==o||x[32]!==M||x[33]!==T?(v={fromIndex:z,gap:k,itemHeight:I,space:M,toIndex:T,getItemKey:n,items:j,renderItem:o},x[26]=z,x[27]=k,x[28]=n,x[29]=I,x[30]=j,x[31]=o,x[32]=M,x[33]=T,x[34]=v):v=x[34];let W=function(e){let t,n=(0,$.c)(21),{fromIndex:r,gap:o,getItemKey:i,itemHeight:a,items:s,renderItem:l,space:d,toIndex:c}=e;if(!l||0===s.length)return null;if(-1===a){let e,t;return n[0]!==s[0]||n[1]!==l?(e=l(s[0]),n[0]=s[0],n[1]=l,n[2]=e):e=n[2],n[3]!==e?(t=[(0,E.jsx)(fL,{children:e},0)],n[3]=e,n[4]=t):t=n[4],t}if(n[5]!==r||n[6]!==o||n[7]!==i||n[8]!==a||n[9]!==s||n[10]!==l||n[11]!==d||n[12]!==c){let e;n[14]!==r||n[15]!==o||n[16]!==i||n[17]!==a||n[18]!==l||n[19]!==d?(e=(e,t)=>{let n=r+t,s=l(e),c=i?i(e,n):n;return(0,E.jsx)(fL,{style:{top:n*(a+d[o])},children:s},c)},n[14]=r,n[15]=o,n[16]=i,n[17]=a,n[18]=l,n[19]=d,n[20]=e):e=n[20],t=s.slice(r,c).map(e),n[5]=r,n[6]=o,n[7]=i,n[8]=a,n[9]=s,n[10]=l,n[11]=d,n[12]=c,n[13]=t}else t=n[13];return t}(v);return x[35]!==B?(y={height:B},x[35]=B,x[36]=y):y=x[36],x[37]!==W||x[38]!==y?(w=(0,E.jsx)("div",{ref:S,style:y,children:W}),x[37]=W,x[38]=y,x[39]=w):w=x[39],x[40]!==C||x[41]!==i||x[42]!==w?(b=(0,E.jsx)(fM,{as:C,"data-ui":"VirtualList",...i,ref:L,children:w}),x[40]=C,x[41]=i,x[42]=w,x[43]=b):b=x[43],b}).displayName="ForwardRef(VirtualList)";let f_=[0,0,0,0],fR={top:["bottom","left","right"],"top-start":["bottom-start","left-start","right-start"],"top-end":["bottom-end","left-end","right-end"],bottom:["top","left","right"],"bottom-start":["top-start","left-start","right-start"],"bottom-end":["top-end","left-end","right-end"],left:["right","top","bottom"],"left-start":["right-start","top-start","bottom-start"],"left-end":["right-end","top-end","bottom-end"],right:["left","top","bottom"],"right-start":["left-start","top-start","bottom-start"],"right-end":["left-end","top-end","bottom-end"]},fE=ii(de.motion.create(uS)).withConfig({displayName:"MotionCard",componentId:"sc-ihg31s-0"})`&:not([hidden]){display:flex;}flex-direction:column;width:max-content;min-width:min-content;will-change:transform;`,f$=ii(de.motion.create(uv)).withConfig({displayName:"MotionFlex",componentId:"sc-ihg31s-1"})`will-change:opacity;`,fH=(0,ne.forwardRef)(function(e,t){let n,r,o,i,a,s,l,d,c,u,f,h,p,g,m,v,y,w,b,x,C,k,j,M,L,S,_,R,H,V,I,O=(0,$.c)(66);O[0]!==e?({__unstable_margins:l,animate:n,arrow:r,arrowRef:o,arrowX:i,arrowY:a,children:s,padding:f,placement:h,originX:d,originY:c,overflow:u,radius:p,scheme:m,shadow:v,strategy:y,style:w,tone:b,width:x,x:C,y:k,...g}=e,O[0]=e,O[1]=n,O[2]=r,O[3]=o,O[4]=i,O[5]=a,O[6]=s,O[7]=l,O[8]=d,O[9]=c,O[10]=u,O[11]=f,O[12]=h,O[13]=p,O[14]=g,O[15]=m,O[16]=v,O[17]=y,O[18]=w,O[19]=b,O[20]=x,O[21]=C,O[22]=k):(n=O[1],r=O[2],o=O[3],i=O[4],a=O[5],s=O[6],l=O[7],d=O[8],c=O[9],u=O[10],f=O[11],h=O[12],p=O[13],g=O[14],m=O[15],v=O[16],y=O[17],w=O[18],b=O[19],x=O[20],C=O[21],k=O[22]);let{zIndex:A}=fu(),B=l||f_,z=(C??0)+B[3],T=(k??0)+B[0],W=n?"transform":void 0;O[23]!==d||O[24]!==c||O[25]!==y||O[26]!==w||O[27]!==W||O[28]!==x||O[29]!==z||O[30]!==T||O[31]!==A?(j={left:z,originX:d,originY:c,position:y,top:T,width:x,zIndex:A,willChange:W,...w},O[23]=d,O[24]=c,O[25]=y,O[26]=w,O[27]=W,O[28]=x,O[29]=z,O[30]=T,O[31]=A,O[32]=j):j=O[32];let N=j,P=null!==i?i:void 0,Z=null!==a?a:void 0;O[33]!==P||O[34]!==Z?(M={left:P,top:Z,right:void 0,bottom:void 0},O[33]=P,O[34]=Z,O[35]=M):M=O[35];let F=M,D=g;return O[36]!==n?(L=n?["hidden","initial"]:void 0,O[36]=n,O[37]=L):L=O[37],O[38]!==n?(S=n?["visible","scaleIn"]:void 0,O[38]=n,O[39]=S):S=O[39],O[40]!==n?(_=n?["hidden","scaleOut"]:void 0,O[40]=n,O[41]=_):_=O[41],O[42]!==s||O[43]!==f?(R=(0,E.jsx)(uv,{direction:"column",flex:1,padding:f,children:s}),O[42]=s,O[43]=f,O[44]=R):R=O[44],O[45]!==u||O[46]!==R?(H=(0,E.jsx)(f$,{"data-ui":"Popover__wrapper",direction:"column",flex:1,overflow:u,variants:dJ,transition:dQ,children:R}),O[45]=u,O[46]=R,O[47]=H):H=O[47],O[48]!==r||O[49]!==o||O[50]!==F?(V=r&&(0,E.jsx)(ft,{ref:o,style:F,width:19,height:8,radius:2}),O[48]=r,O[49]=o,O[50]=F,O[51]=V):V=O[51],O[52]!==h||O[53]!==p||O[54]!==t||O[55]!==N||O[56]!==m||O[57]!==v||O[58]!==H||O[59]!==V||O[60]!==D||O[61]!==L||O[62]!==S||O[63]!==_||O[64]!==b?(I=(0,E.jsxs)(fE,{"data-ui":"Popover",...D,"data-placement":h,radius:p,ref:t,scheme:m,shadow:v,sizing:"border",style:N,tone:b,variants:dX,transition:dQ,initial:L,animate:S,exit:_,children:[H,V]}),O[52]=h,O[53]=p,O[54]=t,O[55]=N,O[56]=m,O[57]=v,O[58]=H,O[59]=V,O[60]=D,O[61]=L,O[62]=S,O[63]=_,O[64]=b,O[65]=I):I=O[65],I});fH.displayName="ForwardRef(PopoverCard)";let fV=()=>{let e,t=(0,$.c)(2),{zIndex:n}=fu();return t[0]!==n?(e=(0,E.jsx)("div",{style:{height:"100vh",inset:0,position:"fixed",width:"100vw",zIndex:n}}),t[0]=n,t[1]=e):e=t[1],e},fI=(0,ne.forwardRef)(function(e,t){let n,r,o,i,a,s,l,d,c,u,f,h,p,g,m,v,y,w,b,x,C,k,j,M,L,S,_,R,H,V,I,O,A,B,z,T,W,N,P,Z,F,D,q,U,G,Y,K,X,J,Q,ee,et,en,er,eo,ei,ea,es=(0,$.c)(126),{container:el,layer:ed}=ca(),ec=fi();if(es[0]!==e){let{__unstable_margins:t,animate:E,arrow:$,boundaryElement:V,children:I,constrainSize:O,content:A,disabled:B,fallbackPlacements:z,matchReferenceWidth:T,floatingBoundary:W,modal:N,onActivate:P,open:Z,overflow:F,padding:D,placement:q,placementStrategy:U,portal:G,preventOverflow:Y,radius:K,referenceBoundary:X,referenceElement:J,scheme:Q,shadow:ee,tone:et,width:en,zOffset:er,updateRef:eo,...ei}=e;y=t,w=E,C=$,n=V,s=I,k=O,l=A,d=B,r=z,c=T,o=W,u=N,f=Z,j=F,h=D,M=q,L=U,p=G,S=Y,_=K,i=X,g=J,v=Q,R=ee,b=et,x=en,a=er,H=eo,m=ei,es[0]=e,es[1]=n,es[2]=r,es[3]=o,es[4]=i,es[5]=a,es[6]=s,es[7]=l,es[8]=d,es[9]=c,es[10]=u,es[11]=f,es[12]=h,es[13]=p,es[14]=g,es[15]=m,es[16]=v,es[17]=y,es[18]=w,es[19]=b,es[20]=x,es[21]=C,es[22]=k,es[23]=j,es[24]=M,es[25]=L,es[26]=S,es[27]=_,es[28]=R,es[29]=H}else n=es[1],r=es[2],o=es[3],i=es[4],a=es[5],s=es[6],l=es[7],d=es[8],c=es[9],u=es[10],f=es[11],h=es[12],p=es[13],g=es[14],m=es[15],v=es[16],y=es[17],w=es[18],b=es[19],x=es[20],C=es[21],k=es[22],j=es[23],M=es[24],L=es[25],S=es[26],_=es[27],R=es[28],H=es[29];let eu=void 0===y?f_:y,ef=void 0!==w&&w,eh=void 0!==C&&C,ep=void 0!==k&&k,eg=void 0===j?"hidden":j,em=void 0===M?"bottom":M,ev=void 0===L?"flip":L,ey=void 0===S||S,ew=void 0===_?3:_,eb=void 0===R?3:R,ex=void 0===b?"inherit":b,eC=void 0===x?"auto":
681x,ek=n??ec?.element,ej=r??fR[e.placement??"bottom"],eM=o??e.boundaryElement??ec.element,eL=i??e.boundaryElement??ec.element,eS=a??ed.popover.zOffset,e_=!uW()&&ef,eR=uV(ek)?.border;es[30]!==h?(V=d6(h),es[30]=h,es[31]=V):V=es[31];let eE=V;es[32]!==ew?(I=d6(ew),es[32]=ew,es[33]=I):I=es[33];let e$=I;es[34]!==eb?(O=d6(eb),es[34]=eb,es[35]=O):O=es[35];let eH=O,eV=d6(eC);es[36]!==eS?(A=d6(eS),es[36]=eS,es[37]=A):A=es[37];let eI=A,eO=(0,ne.useRef)(null),eA=(0,ne.useRef)(null);es[38]===Symbol.for("react.memo_cache_sentinel")?(B=()=>eO.current,es[38]=B):B=es[38],(0,ne.useImperativeHandle)(t,B);let eB=uB(),ez=ep||ey?eR?.width:void 0,eT=function(e){let{container:t,mediaIndex:n,width:r}=e,o=r[n],i=void 0===o?r[r.length-1]:o;return"number"==typeof i?t[i]:void 0}({container:el,mediaIndex:eB,width:eV}),eW=(0,ne.useRef)(eT);es[39]!==eT?(z=()=>{eW.current=eT},T=[eT],es[39]=eT,es[40]=z,es[41]=T):(z=es[40],T=es[41]),(0,ne.useEffect)(z,T),es[42]!==ez||es[43]!==eT?(W=function(e){let{boundaryWidth:t,currentWidth:n}=e;if(void 0!==n||void 0!==t)return Math.min(n??1/0,(t||1/0)-8)}({boundaryWidth:ez,currentWidth:eT}),es[42]=ez,es[43]=eT,es[44]=W):W=es[44];let eN=W,eP=(0,ne.useRef)(eN);es[45]!==eN?(N=()=>{eP.current=eN},P=[eN],es[45]=eN,es[46]=N,es[47]=P):(N=es[46],P=es[47]),(0,ne.useEffect)(N,P);let eZ=(0,ne.useRef)(void 0);es[48]!==c||es[49]!==eN||es[50]!==f||es[51]!==eT?(Z=()=>{let e=eO.current;if(!f||!e)return;let t=eZ.current;c?void 0!==t&&(e.style.width=`${t}px`):void 0!==eT&&(e.style.width=`${eT}px`),"number"==typeof eN&&(e.style.maxWidth=`${eN}px`)},F=[eT,c,eN,f],es[48]=c,es[49]=eN,es[50]=f,es[51]=eT,es[52]=Z,es[53]=F):(Z=es[52],F=es[53]),(0,ne.useEffect)(Z,F);let[eF,eD]=(0,ne.useState)(void 0);es[54]!==e_||es[55]!==eh||es[56]!==ep||es[57]!==ej||es[58]!==eM||es[59]!==eu||es[60]!==c||es[61]!==em||es[62]!==ev||es[63]!==ey||es[64]!==eL?(D={animate:e_,arrowProp:eh,arrowRef:eA,constrainSize:ep,fallbackPlacements:ej,floatingBoundary:eM,margins:eu,matchReferenceWidth:c,maxWidthRef:eP,placementProp:em,placementStrategy:ev,preventOverflow:ey,referenceBoundary:eL,referenceWidthRef:eZ,rootBoundary:"viewport",setReferenceWidth:eD,widthRef:eW},es[54]=e_,es[55]=eh,es[56]=ep,es[57]=ej,es[58]=eM,es[59]=eu,es[60]=c,es[61]=em,es[62]=ev,es[63]=ey,es[64]=eL,es[65]=D):D=es[65];let eq=function(e){let t,n=(0,$.c)(42),{animate:r,arrowProp:o,arrowRef:i,constrainSize:a,fallbackPlacements:s,floatingBoundary:l,margins:d,matchReferenceWidth:c,maxWidthRef:u,placementProp:f,placementStrategy:h,preventOverflow:p,referenceBoundary:g,referenceWidthRef:m,rootBoundary:v,setReferenceWidth:y,widthRef:w}=e;if(n[0]!==r||n[1]!==o||n[2]!==i||n[3]!==a||n[4]!==s||n[5]!==l||n[6]!==d||n[7]!==c||n[8]!==u||n[9]!==f||n[10]!==h||n[11]!==p||n[12]!==g||n[13]!==m||n[14]!==v||n[15]!==y||n[16]!==w){let e,b,x,C;if(t=[],a||p)if("autoPlacement"===h){let e,r,o;n[18]!==s||n[19]!==f?(r={allowedPlacements:[f].concat(s)},e={...(0,lQ.autoPlacement)(r),options:[r,o]},n[18]=s,n[19]=f,n[20]=e):e=n[20],t.push(e)}else{let e,r=l||void 0;n[21]!==s||n[22]!==v||n[23]!==r?(e=l9({boundary:r,fallbackPlacements:s,padding:4,rootBoundary:v}),n[21]=s,n[22]=v,n[23]=r,n[24]=e):e=n[24],t.push(e)}if(n[25]===Symbol.for("react.memo_cache_sentinel")?(e=l6({mainAxis:4}),n[25]=e):e=n[25],t.push(e),a||c){let e,r=l||void 0;n[26]!==a||n[27]!==d||n[28]!==c||n[29]!==u||n[30]!==m||n[31]!==y||n[32]!==r||n[33]!==w?(e=function(e){let{constrainSize:t,margins:n,matchReferenceWidth:r,maxWidthRef:o,padding:i=0,referenceWidthRef:a,setReferenceWidth:s,widthRef:l}=e;return{name:"@sanity/ui/size",async fn(d){let{elements:c,placement:u,platform:f,rects:h}=d,{floating:p,reference:g}=h,m=await (0,lQ.detectOverflow)(d,{altBoundary:!0,boundary:e.boundaryElement||void 0,elementContext:"floating",padding:i,rootBoundary:"viewport"}),v=1/0,y=1/0,w=p.width,b=p.height;u.includes("top")&&(v=w-(m.left+m.right),y=b-m.top),u.includes("right")&&(v=w-m.right,y=b-(m.top+m.bottom)),u.includes("bottom")&&(v=w-(m.left+m.right),y=b-m.bottom),u.includes("left")&&(v=w-m.left,y=b-(m.top+m.bottom));let x=v-n[1]-n[3],C=y-n[0]-n[2],k=g.width-n[1]-n[3];a.current=k,s(k),r?c.floating.style.width=`${k}px`:void 0!==l.current&&(c.floating.style.width=`${l.current}px`),t&&(c.floating.style.maxWidth=`${Math.min(x,o.current??1/0)}px`,c.floating.style.maxHeight=`${C}px`);let j=await f.getDimensions(c.floating),M=j.height;return w!==j.width||b!==M?{reset:{rects:!0}}:{}}}}({boundaryElement:r,constrainSize:a,margins:d,matchReferenceWidth:c,maxWidthRef:u,padding:4,referenceWidthRef:m,setReferenceWidth:y,widthRef:w}),n[26]=a,n[27]=d,n[28]=c,n[29]=u,n[30]=m,n[31]=y,n[32]=r,n[33]=w,n[34]=e):e=n[34],t.push(e)}if(p){let e,r=l||void 0;n[35]!==v||n[36]!==r?(e=l8({boundary:r,rootBoundary:v,padding:4}),n[35]=v,n[36]=r,n[37]=e):e=n[37],t.push(e)}if(o){let e;n[38]!==i?(e=l7({element:i,padding:4}
681),n[38]=i,n[39]=e):e=n[39],t.push(e)}r&&t.push(u3);let k=g||void 0;n[40]!==k?(x={boundary:k,padding:4,strategy:"referenceHidden"},b={...(0,lQ.hide)(x),options:[x,C]},n[40]=k,n[41]=b):b=n[41],t.push(b),n[0]=r,n[1]=o,n[2]=i,n[3]=a,n[4]=s,n[5]=l,n[6]=d,n[7]=c,n[8]=u,n[9]=f,n[10]=h,n[11]=p,n[12]=g,n[13]=m,n[14]=v,n[15]=y,n[16]=w,n[17]=t}else t=n[17];return t}(D);es[66]!==g?(q=g?{reference:g}:void 0,es[66]=g,es[67]=q):q=es[67],es[68]!==eq||es[69]!==em||es[70]!==q?(U={middleware:eq,placement:em,whileElementsMounted:lQ.autoUpdate,elements:q},es[68]=eq,es[69]=em,es[70]=q,es[71]=U):U=es[71];let{x:eU,y:eG,middlewareData:eY,placement:eK,refs:eX,strategy:eJ,update:eQ}=l4(U),e1=eY.hide?.referenceHidden,e0=eY.arrow?.x,e5=eY.arrow?.y,e2=eY["@sanity/ui/origin"]?.originX,e3=eY["@sanity/ui/origin"]?.originY;es[72]===Symbol.for("react.memo_cache_sentinel")?(G=e=>{eA.current=e},es[72]=G):G=es[72];let e4=G;es[73]!==eX?(Y=e=>{eO.current=e,eX.setFloating(e)},es[73]=eX,es[74]=Y):Y=es[74];let e6=Y;es[75]!==s?(K=s?fS(s):null,es[75]=s,es[76]=K):K=es[76],es[77]!==eX.reference.current?(X=()=>eX.reference.current,es[77]=eX.reference.current,es[78]=X):X=es[78],(0,ne.useImperativeHandle)(K,X);t:{let e;if(g){J=s;break t}if(!s){J=null;break t}es[79]!==s||es[80]!==eX.setReference?(e=(0,ne.cloneElement)(s,{ref:eX.setReference}),es[79]=s,es[80]=eX.setReference,es[81]=e):e=es[81],J=e}let e8=J;if(es[82]!==eQ?(Q=()=>eQ,ee=[eQ],es[82]=eQ,es[83]=Q,es[84]=ee):(Q=es[83],ee=es[84]),(0,ne.useImperativeHandle)(H,Q,ee),d){let e;return es[85]!==s?(e=s||(0,E.jsx)(E.Fragment,{}),es[85]=s,es[86]=e):e=es[86],e}es[87]!==u?(et=u&&(0,E.jsx)(fV,{}),es[87]=u,es[88]=et):et=es[88];let e9=c?eF:eT;es[89]!==e_||es[90]!==eh||es[91]!==e0||es[92]!==e5||es[93]!==l||es[94]!==eu||es[95]!==e2||es[96]!==e3||es[97]!==eg||es[98]!==eE||es[99]!==eK||es[100]!==e$||es[101]!==e1||es[102]!==m||es[103]!==v||es[104]!==e6||es[105]!==eH||es[106]!==eJ||es[107]!==e9||es[108]!==ex||es[109]!==eU||es[110]!==eG?(en=(0,E.jsx)(fH,{...m,__unstable_margins:eu,animate:e_,arrow:eh,arrowRef:e4,arrowX:e0,arrowY:e5,hidden:e1,overflow:eg,padding:eE,placement:eK,radius:e$,ref:e6,scheme:v,shadow:eH,originX:e2,originY:e3,strategy:eJ,tone:ex,width:e9,x:eU,y:eG,children:l}),es[89]=e_,es[90]=eh,es[91]=e0,es[92]=e5,es[93]=l,es[94]=eu,es[95]=e2,es[96]=e3,es[97]=eg,es[98]=eE,es[99]=eK,es[100]=e$,es[101]=e1,es[102]=m,es[103]=v,es[104]=e6,es[105]=eH,es[106]=eJ,es[107]=e9,es[108]=ex,es[109]=eU,es[110]=eG,es[111]=en):en=es[111],es[112]!==et||es[113]!==en||es[114]!==eI?(er=(0,E.jsxs)(fl,{zOffset:eI,children:[et,en]}),es[112]=et,es[113]=en,es[114]=eI,es[115]=er):er=es[115];let e7=er;es[116]!==f||es[117]!==e7||es[118]!==p?(eo=f&&(p?(0,E.jsx)(fw,{__unstable_name:"string"==typeof p?p:void 0,children:e7}):e7),es[116]=f,es[117]=e7,es[118]=p,es[119]=eo):eo=es[119];let te=eo;return es[120]!==e_||es[121]!==te?(ei=e_?(0,E.jsx)(dt.AnimatePresence,{children:te}):te,es[120]=e_,es[121]=te,es[122]=ei):ei=es[122],es[123]!==e8||es[124]!==ei?(ea=(0,E.jsxs)(E.Fragment,{children:[ei,e8]}),es[123]=e8,es[124]=ei,es[125]=ea):ea=es[125],ea});fI.displayName="ForwardRef(Popover)";let fO=ii.div.withConfig({displayName:"StyledRadio",componentId:"sc-ccrwkf-0"})(function(){return io` 682 position: relative; 683 684 &:not([hidden]) { 685 display: inline-block; 686 } 687 688 &[data-read-only] { 689 outline: 1px solid red; 690 } 691 `}),fA=ii.input.withConfig({displayName:"Input",componentId:"sc-ccrwkf-1"})(function(e){let{color:t,input:n}=nv(e.theme),r=(n.radio.size-n.radio.markSize)/2;return io` 692 appearance: none; 693 position: absolute; 694 top: 0; 695 left: 0; 696 opacity: 0; 697 height: 100%; 698 width: 100%; 699 outline: none; 700 z-index: 1; 701 padding: 0; 702 margin: 0; 703 border-radius: ${d3(n.radio.size/2)}; 704 border: none; 705 706 /* enabled */ 707 & + span { 708 display: block; 709 position: relative; 710 height: ${d3(n.radio.size)}; 711 width: ${d3(n.radio.size)}; 712 border-radius: ${d3(n.radio.size/2)}; 713 background: ${t.input.default.enabled.bg}; 714 box-shadow: ${c_({color:t.input.default.enabled.border,width:n.border.width})}; 715 716 &::after { 717 content: ''; 718 position: absolute; 719 top: ${d3(r)}; 720 left: ${d3(r)}; 721 height: ${d3(n.radio.markSize)}; 722 width: ${d3(n.radio.markSize)}; 723 border-radius: ${d3(n.radio.markSize/2)}; 724 background: ${t.input.default.enabled.fg}; 725 opacity: 0; 726 } 727 } 728 729 /* focused */ 730 &:not(:disabled):focus + span { 731 box-shadow: ${cR({border:{width:n.border.width,color:t.input.default.enabled.border},focusRing:n.radio.focusRing})}; 732 } 733 734 &:not(:disabled):focus:not(:focus-visible) + span { 735 box-shadow: ${c_({color:t.input.default.enabled.border,width:n.border.width})}; 736 } 737 738 &:checked + span::after { 739 opacity: 1; 740 } 741 742 /* customValidity */ 743 &[data-error] + span { 744 background-color: ${t.input.invalid.enabled.border}; 745 box-shadow: ${c_({width:n.border.width,color:t.input.invalid.enabled.muted.bg})}; 746 &::after { 747 background: ${t.input.invalid.enabled.muted.bg}; 748 } 749 } 750 751 /* read only */ 752 &[data-read-only] + span { 753 box-shadow: 0 0 0 1px ${t.input.default.readOnly.border}; 754 background: ${t.input.default.readOnly.bg}; 755 756 &::after { 757 background: ${t.input.default.readOnly.border}; 758 } 759 } 760 761 /* disabled */ 762 &:not([data-read-only]):disabled + span { 763 box-shadow: 0 0 0 1px ${t.input.default.disabled.border}; 764 background: ${t.input.default.disabled.bg}; 765 766 &::after { 767 background: ${t.input.default.disabled.border}; 768 } 769 } 770 `});function fB(e){let{font:t}=nv(e.theme);return io` 771 -webkit-font-smoothing: antialiased; 772 appearance: none; 773 border: 0; 774 font-family: ${t.text.family}; 775 color: inherit; 776 width: 100%; 777 outline: none; 778 margin: 0; 779 780 &:disabled { 781 opacity: 1; 782 } 783 `}
783function fz(e){let{color:t,input:n}=nv(e.theme);return io` 784 /* enabled */ 785 background-color: ${t.input.default.enabled.bg}; 786 color: ${t.input.default.enabled.fg}; 787 box-shadow: ${c_({color:t.input.default.enabled.border,width:n.border.width})}; 788 789 /* hovered */ 790 @media (hover: hover) { 791 &:not(:disabled):hover { 792 background-color: ${t.input.default.hovered.bg}; 793 color: ${t.input.default.hovered.fg}; 794 box-shadow: ${c_({color:t.input.default.hovered.border,width:n.border.width})}; 795 } 796 } 797 798 /* focused */ 799 &:not(:disabled):focus { 800 box-shadow: ${cR({border:{width:n.border.width,color:t.input.default.enabled.border},focusRing:n.select.focusRing})}; 801 } 802 803 /* read-only */ 804 &[data-read-only] { 805 background-color: ${t.input.default.readOnly.bg}; 806 color: ${t.input.default.readOnly.fg}; 807 box-shadow: ${c_({color:t.input.default.readOnly.border,width:n.border.width})}; 808 } 809 810 /* disabled */ 811 &:not([data-read-only]):disabled { 812 background-color: ${t.input.default.disabled.bg}; 813 color: ${t.input.default.disabled.fg}; 814 box-shadow: ${c_({color:t.input.default.disabled.border,width:n.border.width})}; 815 } 816 `}function fT(e){let{$fontSize:t}=e,{font:n,media:r}=nv(e.theme);return d4(r,t,e=>{var t;return{fontSize:d3((t=n.text.sizes[e]||n.text.sizes[2]).fontSize),lineHeight:`${d3(t.lineHeight)}`}})}(0,ne.forwardRef)(function(e,t){let n,r,o,i,a,s,l,d,c,u,f=(0,$.c)(19);f[0]!==e?({className:n,disabled:o,style:s,customValidity:r,readOnly:i,...a}=e,f[0]=e,f[1]=n,f[2]=r,f[3]=o,f[4]=i,f[5]=a,f[6]=s):(n=f[1],r=f[2],o=f[3],i=f[4],a=f[5],s=f[6]);let h=(0,ne.useRef)(null);f[7]===Symbol.for("react.memo_cache_sentinel")?(l=()=>h.current,f[7]=l):l=f[7],(0,ne.useImperativeHandle)(t,l),uE(h,r);let p=!o&&i?"":void 0,g=r?"":void 0,m=o||i;return f[8]!==i||f[9]!==a||f[10]!==p||f[11]!==g||f[12]!==m?(d=(0,E.jsx)(fA,{"data-read-only":p,"data-error":g,...a,disabled:m,readOnly:i,ref:h,type:"radio"}),f[8]=i,f[9]=a,f[10]=p,f[11]=g,f[12]=m,f[13]=d):d=f[13],f[14]===Symbol.for("react.memo_cache_sentinel")?(c=(0,E.jsx)("span",{}),f[14]=c):c=f[14],f[15]!==n||f[16]!==s||f[17]!==d?(u=(0,E.jsxs)(fO,{className:n,"data-ui":"Radio",style:s,children:[d,c]}),f[15]=n,f[16]=s,f[17]=d,f[18]=u):u=f[18],u}).displayName="ForwardRef(Radio)";let fW=ii.div.withConfig({displayName:"StyledSelect",componentId:"sc-5mxno7-0"})(function(){return io` 817 position: relative; 818 width: -moz-available; 819 width: -webkit-fill-available; 820 width: stretch; 821 822 &:not([hidden]) { 823 display: inline-block; 824 } 825 `}),fN=ii.select.withConfig({displayName:"Input",componentId:"sc-5mxno7-1"})(function(){return[c2,fB,fz,fT,cK]}),fP=ii(uf).withConfig({displayName:"IconBox",componentId:"sc-5mxno7-2"})(function(e){let{color:t}=nv(e.theme);return io` 826 pointer-events: none; 827 position: absolute; 828 top: 0; 829 right: 0; 830 831 /* enabled */ 832 --card-fg-color: ${t.input.default.enabled.fg}; 833 834 /* hover */ 835 @media (hover: hover) { 836 select:not(disabled):not(:read-only):hover + && { 837 --card-fg-color: ${t.input.default.hovered.fg}; 838 } 839 } 840 841 /* disabled */ 842 select:disabled + && { 843 --card-fg-color: ${t.input.default.disabled.fg}; 844 } 845 846 /* read-only */ 847 select[data-read-only] + && { 848 --card-fg-color: ${t.input.default.readOnly.fg}; 849 } 850 `});(0,ne.forwardRef)(function(e,t){let n,r,o,i,a,s,l,d,c,u,f,h,p,g,m,v,y,w,b,x=(0,$.c)(37);x[0]!==e?({children:n,customValidity:r,disabled:o,fontSize:s,padding:l,radius:d,readOnly:i,space:c,...a}=e,x[0]=e,x[1]=n,x[2]=r,x[3]=o,x[4]=i,x[5]=a,x[6]=s,x[7]=l,x[8]=d,x[9]=c):(n=x[1],r=x[2],o=x[3],i=x[4],a=x[5],s=x[6],l=x[7],d=x[8],c=x[9]);let C=void 0===s?2:s,k=void 0===l?3:l,j=void 0===d?2:d,M=void 0===c?3:c,L=(0,ne.useRef)(null);x[10]===Symbol.for("react.memo_cache_sentinel")?(u=()=>L.current,x[10]=u):u=x[10],(0,ne.useImperativeHandle)(t,u),uE(L,r);let S=!o&&i?"":void 0;x[11]!==C?(f=d6(C),x[11]=C,x[12]=f):f=x[12],x[13]!==k?(h=d6(k),x[13]=k,x[14]=h):h=x[14],x[15]!==j?(p=d6(j),x[15]=j,x[16]=p):p=x[16],x[17]!==M?(g=d6(M),x[17]=M,x[18]=g):g=x[18];let _=o||i;return x[19]!==n||x[20]!==a||x[21]!==_||x[22]!==S||x[23]!==f||x[24]!==h||x[25]!==p||x[26]!==g?(m=(0,E.jsx)(fN,{"data-read-only":S,"data-ui":"Select",...a,$fontSize:f,$padding:h,$radiu
850s:p,$space:g,disabled:_,ref:L,children:n}),x[19]=n,x[20]=a,x[21]=_,x[22]=S,x[23]=f,x[24]=h,x[25]=p,x[26]=g,x[27]=m):m=x[27],x[28]===Symbol.for("react.memo_cache_sentinel")?(v=(0,E.jsx)(iG,{}),x[28]=v):v=x[28],x[29]!==C?(y=(0,E.jsx)(up,{size:C,children:v}),x[29]=C,x[30]=y):y=x[30],x[31]!==k||x[32]!==y?(w=(0,E.jsx)(fP,{padding:k,children:y}),x[31]=k,x[32]=y,x[33]=w):w=x[33],x[34]!==m||x[35]!==w?(b=(0,E.jsxs)(fW,{"data-ui":"Select",children:[m,w]}),x[34]=m,x[35]=w,x[36]=b):b=x[36],b}).displayName="ForwardRef(Select)";let fZ={"&&:not([hidden])":{display:"grid"},'&[data-as="ul"],&[data-as="ol"]':{listStyle:"none"},gridTemplateColumns:"minmax(0, 1fr)",gridAutoRows:"min-content"},fF=ii(uf).withConfig({displayName:"StyledStack",componentId:"sc-8dpfq2-0"})(function(){return fZ},function(e){let{media:t,space:n}=nv(e.theme);return d4(t,e.$space,e=>({gridGap:d3(n[e])}))}),fD=(0,ne.forwardRef)(function(e,t){let n,r,o,i,a,s=(0,$.c)(12);s[0]!==e?({as:n,space:o,...r}=e,s[0]=e,s[1]=n,s[2]=r,s[3]=o):(n=s[1],r=s[2],o=s[3]);let l="string"==typeof n?n:void 0;return s[4]!==o?(i=d6(o),s[4]=o,s[5]=i):i=s[5],s[6]!==n||s[7]!==t||s[8]!==r||s[9]!==l||s[10]!==i?(a=(0,E.jsx)(fF,{"data-as":l,"data-ui":"Stack",...r,$space:i,forwardedAs:n,ref:t}),s[6]=n,s[7]=t,s[8]=r,s[9]=l,s[10]=i,s[11]=a):a=s[11],a});fD.displayName="ForwardRef(Stack)";let fq=ii.span.withConfig({displayName:"StyledSwitch",componentId:"sc-dw1foe-0"})(function(){return io` 851 position: relative; 852 &:not([hidden]) { 853 display: inline-block; 854 } 855 `}),fU=ii.input.withConfig({displayName:"Input",componentId:"sc-dw1foe-1"})(function(){return io` 856 position: absolute; 857 top: 0; 858 right: 0; 859 bottom: 0; 860 left: 0; 861 opacity: 0; 862 height: 100%; 863 width: 100%; 864 outline: none; 865 padding: 0; 866 margin: 0; 867 868 /* Place the input element above the representation element */ 869 z-index: 1; 870 `}),fG=ii.span.withConfig({displayName:"Representation",componentId:"sc-dw1foe-2"})(function(e){let{color:t,input:n}=nv(e.theme);return io` 871 --switch-bg-color: ${t.input.default.enabled.border}; 872 --switch-fg-color: ${t.input.default.enabled.bg}; 873 --switch-box-shadow: none; 874 875 &:not([hidden]) { 876 display: block; 877 } 878 position: relative; 879 width: ${d3(n.switch.width)}; 880 height: ${d3(n.switch.height)}; 881 border-radius: ${d3(n.switch.height/2)}; 882 883 /* Make sure itâs not possible to interact with the wrapper element */ 884 pointer-events: none; 885 886 &:after { 887 content: ''; 888 display: block; 889 position: absolute; 890 top: 0; 891 left: 0; 892 right: 0; 893 bottom: 0; 894 z-index: 1; 895 box-shadow: var(--switch-box-shadow); 896 border-radius: inherit; 897 } 898 899 /* Focus styles */ 900 input:focus + && { 901 --switch-box-shadow: ${cR({focusRing:n.switch.focusRing})}; 902 } 903 904 input:focus:not(:focus-visible) + && { 905 --switch-box-shadow: none; 906 } 907 908 input:checked + && { 909 --switch-bg-color: ${t.input.default.enabled.fg}; 910 --switch-fg-color: ${t.input.default.enabled.bg}; 911 } 912 913 @media (hover: hover) { 914 input:not(:disabled):hover + && { 915 --switch-bg-color: ${t.input.default.hovered.border}; 916 --switch-fg-color: ${t.input.default.hovered.bg}; 917 } 918 919 input:not(:disabled):checked:hover + && { 920 --switch-bg-color: ${t.input.default.enabled.fg}; 921 --switch-fg-color: ${t.input.default.enabled.bg}; 922 } 923 } 924 925 input:not([data-read-only]):disabled + && { 926 --switch-bg-color: ${t.input.default.disabled.border}; 927 --switch-fg-color: ${t.input.default.disabled.bg}; 928 } 929 930 input[data-read-only]:disabled + && { 931 --switch-bg-color: ${t.input.default.readOnly.border}; 932 --switch-fg-color: ${t.input.default.readOnly.bg}; 933 } 934 935 input:checked[data-read-only]:disabled + && { 936 --switch-bg-color: ${t.input.default.readOnly.fg}; 937 --switch-fg-color: ${t.input.default.readOnly.bg}; 938 } 939 `}),fY=ii.span.withConfig({displayName:"Track",componentId:"sc-dw1foe-3"})(function(e){let{input:t}=nv(e.theme);return io` 940 &:not([hidden]) { 941 display: block; 942 } 943 background-color: var(--switch-bg-color); 944 position: absolute; 945 left: 0; 946 top: 0; 947 width: ${d3(t.switch.width)}; 948 height: ${d3(t.switch.height)}; 949 border-radius: ${d3(t.switch.height/2)}; 950 `}),fK=ii.span.withConfig({displayName:"Thumb",componentId:"sc-dw1foe-4"})(function(e){let{$indeterminate:t}
950=e,{input:n}=nv(e.theme),r=n.switch.width,o=n.switch.height,i=n.switch.padding,a=o-2*n.switch.padding,s=r-2*i-a,l=r/2-a/2-i,d=!0!==t&&!0===e.$checked;return io` 951 &:not([hidden]) { 952 display: block; 953 } 954 position: absolute; 955 left: ${d3(i)}; 956 top: ${d3(i)}; 957 height: ${d3(a)}; 958 width: ${d3(a)}; 959 border-radius: ${d3(a/2)}; 960 transition-property: transform; 961 transition-duration: ${n.switch.transitionDurationMs}ms; 962 transition-timing-function: ${n.switch.transitionTimingFunction}; 963 background: var(--switch-fg-color); 964 transform: translate3d(0, 0, 0); 965 box-shadow: 0px 1px 0px 0px rgba(0, 0, 0, 0.05); 966 967 ${d&&io` 968 transform: translate3d(${s}px, 0, 0); 969 `} 970 971 ${t&&io` 972 transform: translate3d(${l}px, 0, 0); 973 `} 974 `});(0,ne.forwardRef)(function(e,t){let n,r,o,i,a,s,l,d,c,u,f,h,p,g,m=(0,$.c)(26);m[0]!==e?({checked:n,className:r,disabled:o,indeterminate:i,readOnly:a,style:l,...s}=e,m[0]=e,m[1]=n,m[2]=r,m[3]=o,m[4]=i,m[5]=a,m[6]=s,m[7]=l):(n=m[1],r=m[2],o=m[3],i=m[4],a=m[5],s=m[6],l=m[7]);let v=(0,ne.useRef)(null);m[8]===Symbol.for("react.memo_cache_sentinel")?(d=()=>v.current,m[8]=d):d=m[8],(0,ne.useImperativeHandle)(t,d),m[9]!==i?(c=()=>{v.current&&(v.current.indeterminate=i||!1)},u=[i],m[9]=i,m[10]=c,m[11]=u):(c=m[10],u=m[11]),(0,ne.useEffect)(c,u);let y=!o&&a?"":void 0,w=!0!==i&&n,b=o||a;return m[12]!==s||m[13]!==y||m[14]!==w||m[15]!==b?(f=(0,E.jsx)(fU,{"data-read-only":y,...s,checked:w,disabled:b,type:"checkbox",ref:v}),m[12]=s,m[13]=y,m[14]=w,m[15]=b,m[16]=f):f=m[16],m[17]===Symbol.for("react.memo_cache_sentinel")?(h=(0,E.jsx)(fY,{}),m[17]=h):h=m[17],m[18]!==n||m[19]!==i?(p=(0,E.jsxs)(fG,{"aria-hidden":!0,"data-name":"representation",children:[h,(0,E.jsx)(fK,{$checked:n,$indeterminate:i})]}),m[18]=n,m[19]=i,m[20]=p):p=m[20],m[21]!==r||m[22]!==l||m[23]!==f||m[24]!==p?(g=(0,E.jsxs)(fq,{className:r,"data-ui":"Switch",style:l,children:[f,p]}),m[21]=r,m[22]=l,m[23]=f,m[24]=p,m[25]=g):g=m[25],g}).displayName="ForwardRef(Switch)";let fX=ii.span.withConfig({displayName:"StyledTextArea",componentId:"sc-1d6h1o8-0"})(cJ),fJ=ii.span.withConfig({displayName:"InputRoot",componentId:"sc-1d6h1o8-1"})`flex:1;min-width:0;display:block;position:relative;`,fQ=ii.textarea.withConfig({displayName:"Input",componentId:"sc-1d6h1o8-2"})(cY,cQ,c1),f1=ii.div.withConfig({displayName:"Presentation",componentId:"sc-1d6h1o8-3"})(c2,c0);(0,ne.forwardRef)(function(e,t){let n,r,o,i,a,s,l,d,c,u,f,h,p,g,m,v,y,w=(0,$.c)(35);w[0]!==e?({border:i,customValidity:r,disabled:a,fontSize:s,padding:l,radius:d,weight:c,__unstable_disableFocusRing:n,...o}=e,w[0]=e,w[1]=n,w[2]=r,w[3]=o,w[4]=i,w[5]=a,w[6]=s,w[7]=l,w[8]=d,w[9]=c):(n=w[1],r=w[2],o=w[3],i=w[4],a=w[5],s=w[6],l=w[7],d=w[8],c=w[9]);let b=void 0===i||i,x=void 0!==a&&a,C=void 0===s?2:s,k=void 0===l?3:l,j=void 0===d?2:d,M=(0,ne.useRef)(null),L=co();w[10]===Symbol.for("react.memo_cache_sentinel")?(u=()=>M.current,w[10]=u):u=w[10],(0,ne.useImperativeHandle)(t,u),uE(M,r);let S=L.scheme,_=L.tone;w[11]!==C?(f=d6(C),w[11]=C,w[12]=f):f=w[12],w[13]!==k?(h=d6(k),w[13]=k,w[14]=h):h=w[14];let R=L.scheme;w[15]===Symbol.for("react.memo_cache_sentinel")?(p=d6(0),w[15]=p):p=w[15],w[16]!==x||w[17]!==o||w[18]!==L.scheme||w[19]!==L.tone||w[20]!==f||w[21]!==h||w[22]!==c?(g=(0,E.jsx)(fQ,{"data-as":"textarea","data-scheme":S,"data-tone":_,...o,$fontSize:f,$padding:h,$scheme:R,$space:p,$tone:L.tone,$weight:c,disabled:x,ref:M}),w[16]=x,w[17]=o,w[18]=L.scheme,w[19]=L.tone,w[20]=f,w[21]=h,w[22]=c,w[23]=g):g=w[23],w[24]!==j?(m=d6(j),w[24]=j,w[25]=m):m=w[25];let H=b?"":void 0;return w[26]!==n||w[27]!==L.scheme||w[28]!==L.tone||w[29]!==m||w[30]!==H?(v=(0,E.jsx)(f1,{$radius:m,$unstableDisableFocusRing:n,$scheme:L.scheme,$tone:L.tone,"data-border":H,"data-scheme":L.scheme,"data-tone":L.tone}),w[26]=n,w[27]=L.scheme,w[28]=L.tone,w[29]=m,w[30]=H,w[31]=v):v=w[31],w[32]!==g||w[33]!==v?(y=(0,E.jsx)(fX,{"data-ui":"TextArea",children:(0,E.jsxs)(fJ,{children:[g,v]})}),w[32]=g,w[33]=v,w[34]=y):y=w[34],y}).displayName="ForwardRef(TextArea)";let f0={zIndex:2},f5=ii(uS).attrs({forwardedAs:"span"}).withConfig({displayName:"StyledTextInput",componentId:"sc-h62wco-0"})(cJ),f2=ii.span.withConfig({displayName:"InputRoot",componentId:"sc-h62wco-1"})`flex:1;min-width:0;display:block;position:relative;`,f3=ii(uS).attrs({forwardedAs:"span"}).withConfig({displayName:"Prefix",componentId:"sc-h62wco-2"})`border-top-right-radius:0;border-bottom-right-radius:0;& >
974 span{display:block;margin:-1px;}`,f4=ii(uS).attrs({forwardedAs:"span"}).withConfig({displayName:"Suffix",componentId:"sc-h62wco-3"})`border-top-left-radius:0;border-bottom-left-radius:0;& > span{display:block;margin:-1px;}`,f6=ii.input.withConfig({displayName:"Input",componentId:"sc-h62wco-4"})(cY,cQ,c1),f8=ii.span.withConfig({displayName:"Presentation",componentId:"sc-h62wco-5"})(c2,c0),f9=ii(uf).withConfig({displayName:"LeftBox",componentId:"sc-h62wco-6"})`position:absolute;top:0;left:0;`,f7=ii(uf).withConfig({displayName:"RightBox",componentId:"sc-h62wco-7"})`position:absolute;top:0;right:0;`,he=ii(uS).withConfig({displayName:"RightCard",componentId:"sc-h62wco-8"})`background-color:transparent;position:absolute;top:0;right:0;`,ht=ii(uM).withConfig({displayName:"TextInputClearButton",componentId:"sc-h62wco-9"})({"&:not([hidden])":{display:"block"}}),hn=(0,ne.forwardRef)(function(e,t){let n,r,o,i,a,s,l,d,c,u,f,h,p,g,m,v,y,w,b,x,C,k,j,M,L,S,_,R,H,V,I,O,A,B,z,T=(0,$.c)(92);T[0]!==e?({__unstable_disableFocusRing:o,border:f,clearButton:i,disabled:h,fontSize:p,icon:n,iconRight:r,onClear:s,padding:g,prefix:l,radius:m,readOnly:d,space:v,suffix:u,customValidity:a,type:y,weight:w,...c}=e,T[0]=e,T[1]=n,T[2]=r,T[3]=o,T[4]=i,T[5]=a,T[6]=s,T[7]=l,T[8]=d,T[9]=c,T[10]=u,T[11]=f,T[12]=h,T[13]=p,T[14]=g,T[15]=m,T[16]=v,T[17]=y,T[18]=w):(n=T[1],r=T[2],o=T[3],i=T[4],a=T[5],s=T[6],l=T[7],d=T[8],c=T[9],u=T[10],f=T[11],h=T[12],p=T[13],g=T[14],m=T[15],v=T[16],y=T[17],w=T[18]);let W=void 0===f||f,N=void 0!==h&&h,P=void 0===p?2:p,Z=void 0===g?3:g,F=void 0===m?2:m,D=void 0===v?3:v,q=void 0===y?"text":y,U=(0,ne.useRef)(null),G=co();T[19]!==P?(b=d6(P),T[19]=P,T[20]=b):b=T[20];let Y=b;T[21]!==Z?(x=d6(Z),T[21]=Z,T[22]=x):x=T[22];let K=x;T[23]!==F?(C=d6(F),T[23]=F,T[24]=C):C=T[24];let X=C;T[25]!==D?(k=d6(D),T[25]=D,T[26]=k):k=T[26];let J=k,Q=!!i,ee=!!n,et=!!r,en=!!u,er=!!l;T[27]===Symbol.for("react.memo_cache_sentinel")?(j=()=>U.current,T[27]=j):j=T[27],(0,ne.useImperativeHandle)(t,j),uE(U,a),T[28]!==s?(M=e=>{e.preventDefault(),e.stopPropagation(),s&&s(),U.current?.focus()},T[28]=s,T[29]=M):M=T[29];let eo=M;T[30]!==l||T[31]!==X?(L=l&&(0,E.jsx)(f3,{borderTop:!0,borderLeft:!0,borderBottom:!0,radius:X,sizing:"border",tone:"inherit",children:(0,E.jsx)("span",{children:l})}),T[30]=l,T[31]=X,T[32]=L):L=T[32];let ei=L,ea=W?"":void 0;T[33]!==n||T[34]!==Y||T[35]!==K?(S=n&&(0,E.jsx)(f9,{padding:K,children:(0,E.jsxs)(up,{size:Y,children:[(0,ne.isValidElement)(n)&&n,(0,id.isValidElementType)(n)&&(0,E.jsx)(n,{})]})}),T[33]=n,T[34]=Y,T[35]=K,T[36]=S):S=T[36],T[37]!==Q||T[38]!==r||T[39]!==Y||T[40]!==K?(_=!Q&&r&&(0,E.jsx)(f7,{padding:K,children:(0,E.jsxs)(up,{size:Y,children:[(0,ne.isValidElement)(r)&&r,(0,id.isValidElementType)(r)&&(0,E.jsx)(r,{})]})}),T[37]=Q,T[38]=r,T[39]=Y,T[40]=K,T[41]=_):_=T[41],T[42]!==er||T[43]!==en||T[44]!==o||T[45]!==X||T[46]!==G.scheme||T[47]!==G.tone||T[48]!==ea||T[49]!==S||T[50]!==_?(R=(0,E.jsxs)(f8,{$hasPrefix:er,$unstableDisableFocusRing:o,$hasSuffix:en,$radius:X,$scheme:G.scheme,$tone:G.tone,"data-border":ea,"data-scheme":G.scheme,"data-tone":G.tone,children:[S,_]}),T[42]=er,T[43]=en,T[44]=o,T[45]=X,T[46]=G.scheme,T[47]=G.tone,T[48]=ea,T[49]=S,T[50]=_,T[51]=R):R=T[51];let es=R;T[52]!==K?(H=K.map(ho),T[52]=K,T[53]=H):H=T[53];let el=H;T[54]!==K?(V=K.map(hi),T[54]=K,T[55]=V):V=T[55];let ed=V,ec="object"==typeof i?i:dK;T[56]!==i||T[57]!==el||T[58]!==ed||T[59]!==ec||T[60]!==a||T[61]!==N||T[62]!==Y||T[63]!==eo||T[64]!==X||T[65]!==d?(I=!N&&!d&&i&&(0,E.jsx)(he,{forwardedAs:"span",padding:el,style:f0,tone:a?"critical":"inherit",children:(0,E.jsx)(ht,{"aria-label":"Clear","data-qa":"clear-button",fontSize:Y,icon:i2,mode:"bleed",padding:ed,radius:X,...ec,onClick:eo,onMouseDown:hr})}),T[56]=i,T[57]=el,T[58]=ed,T[59]=ec,T[60]=a,T[61]=N,T[62]=Y,T[63]=eo,T[64]=X,T[65]=d,T[66]=I):I=T[66];let eu=I;T[67]!==X||T[68]!==u?(O=u&&(0,E.jsx)(f4,{borderTop:!0,borderRight:!0,borderBottom:!0,radius:X,sizing:"border",tone:"inherit",children:(0,E.jsx)("span",{children:u})}),T[67]=X,T[68]=u,T[69]=O):O=T[69];let ef=O,eh=et||Q;return T[70]!==ee||T[71]!==N||T[72]!==Y||T[73]!==K||T[74]!==d||T[75]!==c||T[76]!==G.scheme||T[77]!==G.tone||T[78]!==J||T[79]!==eh||T[80]!==q||T[81]!==w?(A=(0,E.jsx)(f6,{"data-as":"input","data-scheme":G.scheme,"data-tone":G.tone,...c,$fontSize:Y,$iconLeft:ee,$iconRight:eh,$padding:K,$scheme:G.scheme,$space:J,$tone:G.tone,$weight:w,disabled:N,readOnly:d,ref:U,type:q}),T[70]=ee,T[71]=N,T[72]=Y,T[73]=K,T[74]=d,T[75]=c,T[76]=G.scheme,T[77]=G.tone,T[78]=J,T[79]=eh,T[80]=q,T[81]=w,T[82]=A):A=T[82],T[83]!==eu||T[84]!==es||T[85]!==A?(B=(0,E.jsxs)(f2,{children:[A,es,eu]}),T[83]=eu,T[84]=es,T[85]=A,T[86]=B):B=T[86],T[87]!==ei||T[88]!==G.tone||T[89]!==ef||T[90]!==B?(z=(0,E.jsxs)(f5,{"data-ui":"TextInput",tone
974:G.tone,children:[ei,B,ef]}),T[87]=ei,T[88]=G.tone,T[89]=ef,T[90]=B,T[91]=z):z=T[91],z});function hr(e){e.preventDefault(),e.stopPropagation()}function ho(e){return 0===e?0:1===e||2===e?1:e-2}function hi(e){return 0===e||1===e?0:2===e?1:e-1}hn.displayName="ForwardRef(TextInput)";let ha={top:["top-end","top-start","bottom","left","right"],"top-start":["top","top-end","bottom-start","left-start","right-start"],"top-end":["top","top-start","bottom-end","left-end","right-end"],bottom:["bottom-end","bottom-start","top","left","right"],"bottom-start":["bottom","bottom-end","top-start","left-start","right-start"],"bottom-end":["bottom","bottom-start","top-end","left-end","right-end"],left:["left-end","left-start","right","top","bottom"],"left-start":["left","left-end","right-start","top-start","bottom-start"],"left-end":["left","left-start","right-end","top-end","bottom-end"],right:["right-end","right-start","left","top","bottom"],"right-start":["right","right-end","left-start","top-start","bottom-start"],"right-end":["right","right-start","left-end","top-end","bottom-end"]},hs=ii(de.motion.create(uS)).withConfig({displayName:"MotionCard",componentId:"sc-1xn138w-0"})`will-change:transform;`,hl=(0,ne.forwardRef)(function(e,t){let n,r,o,i,a,s,l,d,c,u,f,h,p,g,m,v,y,w,b,x,C,k,j=(0,$.c)(48);j[0]!==e?({animate:n,arrow:r,arrowRef:o,arrowX:i,arrowY:a,children:s,originX:l,originY:d,padding:c,placement:u,radius:f,scheme:p,shadow:g,style:m,...h}=e,j[0]=e,j[1]=n,j[2]=r,j[3]=o,j[4]=i,j[5]=a,j[6]=s,j[7]=l,j[8]=d,j[9]=c,j[10]=u,j[11]=f,j[12]=h,j[13]=p,j[14]=g,j[15]=m):(n=j[1],r=j[2],o=j[3],i=j[4],a=j[5],s=j[6],l=j[7],d=j[8],c=j[9],u=j[10],f=j[11],h=j[12],p=j[13],g=j[14],m=j[15]);let M=n?"transform":void 0;j[16]!==l||j[17]!==d||j[18]!==m||j[19]!==M?(v={originX:l,originY:d,willChange:M,...m},j[16]=l,j[17]=d,j[18]=m,j[19]=M,j[20]=v):v=j[20];let L=v,S=null!==i?i:void 0,_=null!==a?a:void 0;j[21]!==S||j[22]!==_?(y={left:S,top:_,right:void 0,bottom:void 0},j[21]=S,j[22]=_,j[23]=y):y=j[23];let R=y,H=h;return j[24]!==n?(w=n?["hidden","initial"]:void 0,j[24]=n,j[25]=w):w=j[25],j[26]!==n?(b=n?["visible","scaleIn"]:void 0,j[26]=n,j[27]=b):b=j[27],j[28]!==n?(x=n?["hidden","scaleOut"]:void 0,j[28]=n,j[29]=x):x=j[29],j[30]!==r||j[31]!==o||j[32]!==R?(C=r&&(0,E.jsx)(ft,{ref:o,style:R,width:15,height:6,radius:2}),j[30]=r,j[31]=o,j[32]=R,j[33]=C):C=j[33],j[34]!==s||j[35]!==c||j[36]!==u||j[37]!==f||j[38]!==t||j[39]!==L||j[40]!==p||j[41]!==g||j[42]!==H||j[43]!==w||j[44]!==b||j[45]!==x||j[46]!==C?(k=(0,E.jsxs)(hs,{"data-ui":"Tooltip__card",...H,"data-placement":u,padding:c,radius:f,ref:t,scheme:p,shadow:g,style:L,variants:dX,transition:dQ,initial:w,animate:b,exit:x,children:[s,C]}),j[34]=s,j[35]=c,j[36]=u,j[37]=f,j[38]=t,j[39]=L,j[40]=p,j[41]=g,j[42]=H,j[43]=w,j[44]=b,j[45]=x,j[46]=C,j[47]=k):k=j[47],k});hl.displayName="ForwardRef(TooltipCard)";let hd=ct("@sanity/ui/context/tooltipDelayGroup",null),hc=ii(fp).withConfig({displayName:"StyledTooltip",componentId:"sc-13f2zvh-0"})`pointer-events:none;`,hu=(0,ne.forwardRef)(function(e,t){let n,r,o,i,a,s,l,d,c,u,f,h,p,g,m,v,y,w,b,x,C,k,j,M,L,S,_,R,H,V,I,O,A,B,z,T,W,N,P,Z,F,D,q,U,G,Y,K,X,J,Q,ee=(0,$.c)(137),et=fi(),{layer:en}=ca();ee[0]!==e?({animate:f,arrow:h,boundaryElement:n,children:i,content:a,disabled:l,fallbackPlacements:r,padding:p,placement:g,portal:d,radius:m,scheme:u,shadow:v,zOffset:o,delay:s,...c}=e,ee[0]=e,ee[1]=n,ee[2]=r,ee[3]=o,ee[4]=i,ee[5]=a,ee[6]=s,ee[7]=l,ee[8]=d,ee[9]=c,ee[10]=u,ee[11]=f,ee[12]=h,ee[13]=p,ee[14]=g,ee[15]=m,ee[16]=v):(n=ee[1],r=ee[2],o=ee[3],i=ee[4],a=ee[5],s=ee[6],l=ee[7],d=ee[8],c=ee[9],u=ee[10],f=ee[11],h=ee[12],p=ee[13],g=ee[14],m=ee[15],v=ee[16]);let er=void 0!==f&&f,eo=void 0!==h&&h,ei=void 0===p?2:p,ea=void 0===g?"bottom":g,es=void 0===m?2:m,el=void 0===v?2:v,ed=n??et?.element,ec=r??ha[e.placement??"bottom"],eu=o??en.tooltip.zOffset,ef=!uW()&&er;ee[17]!==ec?(y=d6(ec),ee[17]=ec,ee[18]=y):y=ee[18];let eh=y,ep=(0,ne.useRef)(null),[eg,em]=(0,ne.useState)(null),ev=(0,ne.useRef)(null),[ey,ew]=(0,ne.useState)(0);ee[19]===Symbol.for("react.memo_cache_sentinel")?(w=()=>ep.current,ee[19]=w):w=ee[19],(0,ne.useImperativeHandle)(t,w);let eb=fy(),ex="string"==typeof d?eb.elements?.[d]||null:eb.element;ee[20]!==ef||ee[21]!==eo||ee[22]!==ed||ee[23]!==eh?(b={animate:ef,arrowProp:eo,arrowRef:ev,boundaryElement:ed,fallbackPlacements:eh,rootBoundary:"viewport"},ee[20]=ef,ee[21]=eo,ee[22]=ed,ee[23]=eh,ee[24]=b):b=ee[24];let eC=function(e){let t,n=(0,$.c)(17),{animate:r,arrowProp:o,arrowRef:i,boundaryElement:a,fallbackPlacements:s,rootBoundary:l}=e;if(n[0]!==r||n[1]!==o||n[2]!==i||n[3]!==a||n[4]!==s||n[5]!==l){let e,d,c;t=[];let u=a||void 0;
974n[7]!==s||n[8]!==l||n[9]!==u?(e=l9({boundary:u,fallbackPlacements:s,padding:4,rootBoundary:l}),n[7]=s,n[8]=l,n[9]=u,n[10]=e):e=n[10],t.push(e),n[11]===Symbol.for("react.memo_cache_sentinel")?(d=l6({mainAxis:4}),n[11]=d):d=n[11],t.push(d);let f=a||void 0;if(n[12]!==l||n[13]!==f?(c=l8({boundary:f,rootBoundary:l,padding:4}),n[12]=l,n[13]=f,n[14]=c):c=n[14],t.push(c),o){let e;n[15]!==i?(e=l7({element:i,padding:4}),n[15]=i,n[16]=e):e=n[16],t.push(e)}r&&t.push(u3),n[0]=r,n[1]=o,n[2]=i,n[3]=a,n[4]=s,n[5]=l,n[6]=t}else t=n[6];return t}(b);ee[25]!==eg?(x={reference:eg},ee[25]=eg,ee[26]=x):x=ee[26],ee[27]!==eC||ee[28]!==ea||ee[29]!==x?(C={middleware:eC,placement:ea,whileElementsMounted:lQ.autoUpdate,elements:x},ee[27]=eC,ee[28]=ea,ee[29]=x,ee[30]=C):C=ee[30];let{floatingStyles:ek,placement:ej,middlewareData:eM,refs:eL,update:eS}=l4(C),e_=eM.arrow?.x,eR=eM.arrow?.y,eE=eM["@sanity/ui/origin"]?.originX,e$=eM["@sanity/ui/origin"]?.originY,eH=(0,ne.useId)(),[eV,eI]=function(e){let t,n,r=(0,$.c)(3),[o,i]=(0,ne.useState)(e),a=(0,ne.useRef)(void 0);r[0]===Symbol.for("react.memo_cache_sentinel")?(t=(e,t)=>{let n=()=>{i(e)};if(a.current&&(clearTimeout(a.current),a.current=void 0),!t)return n();a.current=setTimeout(n,t)},r[0]=t):t=r[0];let s=t;return r[1]!==o?(n=[o,s],r[1]=o,r[2]=n):n=r[2],n}(!1),eO=(0,ne.useContext)(hd);ee[31]!==eO?(k=eO||{},ee[31]=eO,ee[32]=k):k=ee[32];let{setIsGroupActive:eA,setOpenTooltipId:eB}=k,ez=eV||eO?.openTooltipId===eH,eT=null!==eO,eW="number"==typeof s?s:s?.open||0,eN="number"==typeof s?s:s?.close||0,eP=eT?eO.openDelay:eW,eZ=eT?eO.closeDelay:eN;ee[33]!==eZ||ee[34]!==eT||ee[35]!==eP||ee[36]!==eA||ee[37]!==eI||ee[38]!==eB||ee[39]!==eH?(j=(e,t)=>{if(eT)if(e){let n=t?0:eP;eA?.(e,n),eB?.(eH,n)}else{let n=eZ>200?eZ:200;eA?.(e,n),eB?.(null,t?0:eZ)}else eI(e,t?0:e?eP:eZ)},ee[33]=eZ,ee[34]=eT,ee[35]=eP,ee[36]=eA,ee[37]=eI,ee[38]=eB,ee[39]=eH,ee[40]=j):j=ee[40];let eF=j;ee[41]!==i?.props||ee[42]!==eF?(M=e=>{eF(!1),i?.props?.onBlur?.(e)},ee[41]=i?.props,ee[42]=eF,ee[43]=M):M=ee[43];let eD=M;ee[44]!==i?.props||ee[45]!==eF?(L=e=>{eF(!1,!0),i?.props.onClick?.(e)},ee[44]=i?.props,ee[45]=eF,ee[46]=L):L=ee[46];let eq=L;ee[47]!==i?.props||ee[48]!==eF?(S=e=>{eF(!1,!0),i?.props.onContextMenu?.(e)},ee[47]=i?.props,ee[48]=eF,ee[49]=S):S=ee[49];let eU=S;ee[50]!==i?.props||ee[51]!==eF?(_=e=>{eF(!0),i?.props?.onFocus?.(e)},ee[50]=i?.props,ee[51]=eF,ee[52]=_):_=ee[52];let eG=_;ee[53]!==i?.props||ee[54]!==eF?(R=e=>{eF(!0),i?.props?.onMouseEnter?.(e)},ee[53]=i?.props,ee[54]=eF,ee[55]=R):R=ee[55];let eY=R;ee[56]!==i?.props||ee[57]!==eF?(H=e=>{eF(!1),i?.props?.onMouseLeave?.(e)},ee[56]=i?.props,ee[57]=eF,ee[58]=H):H=ee[58];let eK=H;ee[59]!==eF||ee[60]!==eT||ee[61]!==eg||ee[62]!==ez?(V={handleIsOpenChange:eF,referenceElement:eg,showTooltip:ez,isInsideGroup:eT},ee[59]=eF,ee[60]=eT,ee[61]=eg,ee[62]=ez,ee[63]=V):V=ee[63],function(e){let t,n,r,o=(0,$.c)(10),{handleIsOpenChange:i,referenceElement:a,showTooltip:s,isInsideGroup:l}=e;o[0]!==i||o[1]!==a?(t=(e,t)=>{a&&(a===e||e instanceof Node&&a.contains(e)||(i(!1),t()))},o[0]=i,o[1]=a,o[2]=t):t=o[2];let d=dU(t);o[3]!==l||o[4]!==d||o[5]!==s?(n=()=>{if(!s||l)return;let e=t=>{d(t.target,()=>window.removeEventListener("mousemove",e))};return window.addEventListener("mousemove",e),()=>window.removeEventListener("mousemove",e)},o[3]=l,o[4]=d,o[5]=s,o[6]=n):n=o[6],o[7]!==l||o[8]!==s?(r=[l,s],o[7]=l,o[8]=s,o[9]=r):r=o[9],(0,ne.useEffect)(n,r)}(V),ee[64]!==l||ee[65]!==eF||ee[66]!==ez?(I=()=>{l&&ez&&eF(!1)},O=[l,eF,ez],ee[64]=l,ee[65]=eF,ee[66]=ez,ee[67]=I,ee[68]=O):(I=ee[67],O=ee[68]),(0,ne.useEffect)(I,O),ee[69]!==a||ee[70]!==eF||ee[71]!==ez?(A=()=>{!a&&ez&&eF(!1)},B=[a,eF,ez],ee[69]=a,ee[70]=eF,ee[71]=ez,ee[72]=A,ee[73]=B):(A=ee[72],B=ee[73]),(0,ne.useEffect)(A,B),ee[74]!==eF||ee[75]!==ez?(z=()=>{if(!ez)return;let e=function(e){"Escape"===e.key&&eF(!1,!0)};return window.addEventListener("keydown",e),()=>{window.removeEventListener("keydown",e)}},T=[eF,ez],ee[74]=eF,ee[75]=ez,ee[76]=z,ee[77]=T):(z=ee[76],T=ee[77]),(0,ne.useEffect)(z,T),ee[78]!==ed||ee[79]!==ex?.offsetWidth?(W=()=>{ew(Math.min(...ed?[ed.offsetWidth]:[],ex?.offsetWidth||document.body.offsetWidth)-8)},ee[78]=ed,ee[79]=ex?.offsetWidth,ee[80]=W):W=ee[80],ee[81]!==ed||ee[82]!==ex?(N=[ed,ex],ee[81]=ed,ee[82]=ex,ee[83]=N):N=ee[83],(0,ne.useLayoutEffect)(W,N),ee[84]!==eS?(P=e=>{ev.current=e,eS()},ee[84]=eS,ee[85]=P):P=ee[85];let eX=P;ee[86]!==eL?(Z=e=>{ep.current=e,eL.setFloating(e)},ee[86]=eL,ee[87]=Z):Z=ee[87];let eJ=Z;t:{let e;if(!i){F=null;break t}ee[88]!==i||ee[89]!==eD||ee[90]!==eq||ee[91]!==eU||ee[92]!==eG||ee[93]!==eY||ee[94]!==eK?(e=(0,ne.cloneElement)(i,{onBlur:eD,onFocus:eG,onMouseEnter:eY,onMouseLeave:eK,onClick:eq,onContextMenu:eU,ref:em}),ee[88]=i,ee[89]=eD,ee[90]=eq,ee[91]=eU,ee[92]=eG,ee[93]=eY,ee[94]=eK,ee[95]=e):e=ee[95],F=e}let eQ=F;if(ee[96]!==i?(D=i?fS(i):null,ee[96]=i,ee[97]=D):D=ee[97],ee[98]!==eg?
974(q=()=>eg,U=[eg],ee[98]=eg,ee[99]=q,ee[100]=U):(q=ee[99],U=ee[100]),(0,ne.useImperativeHandle)(D,q,U),!eQ){let e;return ee[101]===Symbol.for("react.memo_cache_sentinel")?(e=(0,E.jsx)(E.Fragment,{}),ee[101]=e):e=ee[101],e}if(l)return eQ;let e1=ey>0?`${ey}px`:void 0;ee[102]!==ek||ee[103]!==e1?(G={...ek,maxWidth:e1},ee[102]=ek,ee[103]=e1,ee[104]=G):G=ee[104],ee[105]!==ef||ee[106]!==eo||ee[107]!==e_||ee[108]!==eR||ee[109]!==a||ee[110]!==eE||ee[111]!==e$||ee[112]!==ei||ee[113]!==ej||ee[114]!==es||ee[115]!==c||ee[116]!==u||ee[117]!==eX||ee[118]!==eJ||ee[119]!==el?(Y=(0,E.jsx)(hl,{...c,animate:ef,arrow:eo,arrowRef:eX,arrowX:e_,arrowY:eR,originX:eE,originY:e$,padding:ei,placement:ej,radius:es,ref:eJ,scheme:u,shadow:el,children:a}),ee[105]=ef,ee[106]=eo,ee[107]=e_,ee[108]=eR,ee[109]=a,ee[110]=eE,ee[111]=e$,ee[112]=ei,ee[113]=ej,ee[114]=es,ee[115]=c,ee[116]=u,ee[117]=eX,ee[118]=eJ,ee[119]=el,ee[120]=Y):Y=ee[120],ee[121]!==c||ee[122]!==eJ||ee[123]!==G||ee[124]!==Y||ee[125]!==eu?(K=(0,E.jsx)(hc,{"data-ui":"Tooltip",...c,ref:eJ,style:G,zOffset:eu,children:Y}),ee[121]=c,ee[122]=eJ,ee[123]=G,ee[124]=Y,ee[125]=eu,ee[126]=K):K=ee[126];let e0=K;ee[127]!==d||ee[128]!==ez||ee[129]!==e0?(X=ez&&(d?(0,E.jsx)(fw,{__unstable_name:"string"==typeof d?d:void 0,children:e0}):e0),ee[127]=d,ee[128]=ez,ee[129]=e0,ee[130]=X):X=ee[130];let e5=X;return ee[131]!==ef||ee[132]!==e5?(J=ef?(0,E.jsx)(dt.AnimatePresence,{children:e5}):e5,ee[131]=ef,ee[132]=e5,ee[133]=J):J=ee[133],ee[134]!==eQ||ee[135]!==J?(Q=(0,E.jsxs)(E.Fragment,{children:[J,eQ]}),ee[134]=eQ,ee[135]=J,ee[136]=Q):Q=ee[136],Q});hu.displayName="ForwardRef(Tooltip)";let hf=ii.kbd.withConfig({displayName:"StyledHotkeys",componentId:"sc-b37mge-0"})`font:inherit;padding:1px;&:not([hidden]){display:block;}`,hh=ii(u2).withConfig({displayName:"Key",componentId:"sc-b37mge-1"})`&:not([hidden]){display:block;}`,hp=(0,ne.forwardRef)(function(e,t){let n,r,o,i,a,s,l,d,c,u,f=(0,$.c)(26);f[0]!==e?({fontSize:n,keys:r,padding:o,radius:i,space:s,...a}=e,f[0]=e,f[1]=n,f[2]=r,f[3]=o,f[4]=i,f[5]=a,f[6]=s):(n=f[1],r=f[2],o=f[3],i=f[4],a=f[5],s=f[6]);let h=void 0===s?.5:s;f[7]!==h?(l=d6(h),f[7]=h,f[8]=l):l=f[8];let p=l;if(!r||0===r.length){let e;return f[9]===Symbol.for("react.memo_cache_sentinel")?(e=(0,E.jsx)(E.Fragment,{}),f[9]=e):e=f[9],e}if(f[10]!==n||f[11]!==r||f[12]!==o||f[13]!==i){let e;f[15]!==n||f[16]!==o||f[17]!==i?(e=(e,t)=>(0,E.jsx)(hh,{fontSize:n,padding:o,radius:i,children:e},t),f[15]=n,f[16]=o,f[17]=i,f[18]=e):e=f[18],d=r.map(e),f[10]=n,f[11]=r,f[12]=o,f[13]=i,f[14]=d}else d=f[14];return f[19]!==p||f[20]!==d?(c=(0,E.jsx)(u1,{as:"span",space:p,children:d}),f[19]=p,f[20]=d,f[21]=c):c=f[21],f[22]!==t||f[23]!==a||f[24]!==c?(u=(0,E.jsx)(hf,{"data-ui":"Hotkeys",...a,ref:t,children:c}),f[22]=t,f[23]=a,f[24]=c,f[25]=u):u=f[25],u});hp.displayName="ForwardRef(Hotkeys)";let hg=ct("@sanity/ui/context/menu",null);function hm(e){return d0(e)&&"true"!==e.getAttribute("data-disabled")||d5(e)&&!e.disabled}function hv(e){return e.filter(hm)}let hy=[];function hw(){}let hb=ii(uf).withConfig({displayName:"StyledMenu",componentId:"sc-xt0tnv-0"})`outline:none;overflow:auto;`,hx=(0,ne.forwardRef)(function(e,t){let n,r,o,i,a,s,l,d,c,u,f,h,p,g,m,v,y,w,b,x,C,k,j,M=(0,$.c)(49);if(M[0]!==e){let{children:t,focusFirst:p,focusLast:g,onClickOutside:m,onEscape:v,onItemClick:y,onItemSelect:w,onKeyDown:b,originElement:x,padding:C,registerElement:k,shouldFocus:j,space:L,...S}=e;r=t,o=m,i=v,a=y,s=w,l=b,d=x,f=C,c=k,n=j,h=L,u=S,M[0]=e,M[1]=n,M[2]=r,M[3]=o,M[4]=i,M[5]=a,M[6]=s,M[7]=l,M[8]=d,M[9]=c,M[10]=u,M[11]=f,M[12]=h}else n=M[1],r=M[2],o=M[3],i=M[4],a=M[5],s=M[6],l=M[7],d=M[8],c=M[9],u=M[10],f=M[11],h=M[12];let L=void 0===f?1:f,S=void 0===h?1:h,_=n??(e.focusFirst&&"first"||e.focusLast&&"last"||null),R=(0,ne.useRef)(null);M[13]===Symbol.for("react.memo_cache_sentinel")?(p=()=>R.current,M[13]=p):p=M[13],(0,ne.useImperativeHandle)(t,p);let{isTopLayer:H}=fu();M[14]!==l||M[15]!==d||M[16]!==_?(g={onKeyDown:l,originElement:d,shouldFocus:_,rootElementRef:R},M[14]=l,M[15]=d,M[16]=_,M[17]=g):g=M[17];let{activeElement:V,activeIndex:I,handleItemMouseEnter:O,handleItemMouseLeave:A,handleKeyDown:B,mount:z}=function(e){let t,n,r,o,i,a,s,l,d,c=(0,$.c)(21),{onKeyDown:u,originElement:f,shouldFocus:h,rootElementRef:p}=e;c[0]===Symbol.for("react.memo_cache_sentinel")?(t=[],c[0]=t):t=c[0];let g=(0,ne.useRef)(t),[m,v]=(0,ne.useState)(-1),y=(0,ne.useRef)(m),[w,b]=(0,ne.useState)(null);c[1]===Symbol.for("react.memo_cache_sentinel")?(n=e=>{v(e),y.current=e,b(g.current[e]||null)},c[1]=n):n=c[1];let x=n;c[2]!==p?(r=(e,t)=>
974e?(-1===g.current.indexOf(e)&&(g.current.push(e),function(e,t){if(!e)return;let n=new WeakMap;for(let r of t)n.set(r,function(e,t){let n=[],r=t;for(;r!==e;){let t=r.parentElement;if(!t)break;let o=Array.from(t.childNodes).indexOf(r);if(n.unshift(o),t===e)break;r=t}return n}(e,r));t.sort((e,t)=>{let r=n.get(e)||hy,o=n.get(t)||hy,i=Math.max(r.length,o.length);for(let e=0;e<i;e+=1){let t=r[e]||-1,n=o[e]||-1;if(t!==n)return t-n}return 0})}(p.current,g.current)),t&&x(g.current.indexOf(e)),()=>{let t=g.current.indexOf(e);t>-1&&g.current.splice(t,1)}):hw,c[2]=p,c[3]=r):r=c[3];let C=r;c[4]!==u||c[5]!==f?(o=e=>{if("Tab"===e.key){f&&f.focus();return}if("Home"===e.key){e.preventDefault(),e.stopPropagation();let t=hv(g.current)[0];if(!t)return;x(g.current.indexOf(t));return}if("End"===e.key){e.preventDefault(),e.stopPropagation();let t=hv(g.current),n=t[t.length-1];if(!n)return;x(g.current.indexOf(n));return}if("ArrowUp"===e.key){e.preventDefault(),e.stopPropagation();let t=hv(g.current),n=t.length;if(0===n)return;let r=g.current[y.current],o=t.indexOf(r),i=t[o=(o-1+n)%n];x(g.current.indexOf(i));return}if("ArrowDown"===e.key){e.preventDefault(),e.stopPropagation();let t=hv(g.current),n=t.length;if(0===n)return;let r=g.current[y.current],o=t.indexOf(r),i=t[o=(o+1)%n];x(g.current.indexOf(i));return}u&&u(e)},c[4]=u,c[5]=f,c[6]=o):o=c[6];let k=o;c[7]===Symbol.for("react.memo_cache_sentinel")?(i=e=>{let t=e.currentTarget;x(g.current.indexOf(t))},c[7]=i):i=c[7];let j=i;c[8]!==p?(a=()=>{x(-2),p.current?.focus()},c[8]=p,c[9]=a):a=c[9];let M=a;return c[10]!==m||c[11]!==p||c[12]!==h?(s=()=>{if(!p.current)return;let e=requestAnimationFrame(()=>{if(-1===m){if("first"===h){let e=hv(g.current)[0];e&&x(g.current.indexOf(e))}if("last"===h){let e=hv(g.current),t=e[e.length-1];t&&x(g.current.indexOf(t))}return}(g.current[m]||null)?.focus()});return()=>cancelAnimationFrame(e)},l=[m,p,x,h],c[10]=m,c[11]=p,c[12]=h,c[13]=s,c[14]=l):(s=c[13],l=c[14]),(0,ne.useEffect)(s,l),c[15]!==w||c[16]!==m||c[17]!==M||c[18]!==k||c[19]!==C?(d={activeElement:w,activeIndex:m,handleItemMouseEnter:j,handleItemMouseLeave:M,handleKeyDown:k,mount:C},c[15]=w,c[16]=m,c[17]=M,c[18]=k,c[19]=C,c[20]=d):d=c[20],d}(g),T=(0,ne.useRef)(null);M[18]!==c?(m=e=>{T.current&&(T.current(),T.current=null),R.current=e,R.current&&c&&(T.current=c(R.current))},M[18]=c,M[19]=m):m=M[19];let W=m;M[20]!==I||M[21]!==s?(v=()=>{s&&s(I)},y=[I,s],M[20]=I,M[21]=s,M[22]=v,M[23]=y):(v=M[22],y=M[23]),(0,ne.useEffect)(v,y),M[24]===Symbol.for("react.memo_cache_sentinel")?(w=()=>[R.current],M[24]=w):w=M[24],u_(H&&o,w),M[25]!==H||M[26]!==i?(b=e=>{H&&"Escape"===e.key&&(e.stopPropagation(),i&&i())},M[25]=H,M[26]=i,M[27]=b):b=M[27],uI(b),M[28]!==V||M[29]!==O||M[30]!==A||M[31]!==z||M[32]!==o||M[33]!==i||M[34]!==a||M[35]!==c?(x={version:2,activeElement:V,mount:z,onClickOutside:o,onEscape:i,onItemClick:a,onItemMouseEnter:O,onItemMouseLeave:A,registerElement:c},M[28]=V,M[29]=O,M[30]=A,M[31]=z,M[32]=o,M[33]=i,M[34]=a,M[35]=c,M[36]=x):x=M[36];let N=x;return M[37]!==r||M[38]!==S?(C=(0,E.jsx)(fD,{space:S,children:r}),M[37]=r,M[38]=S,M[39]=C):C=M[39],M[40]!==B||M[41]!==W||M[42]!==L||M[43]!==u||M[44]!==C?(k=(0,E.jsx)(hb,{"data-ui":"Menu",...u,onKeyDown:B,padding:L,ref:W,role:"menu",tabIndex:-1,children:C}),M[40]=B,M[41]=W,M[42]=L,M[43]=u,M[44]=C,M[45]=k):k=M[45],M[46]!==k||M[47]!==N?(j=(0,E.jsx)(hg.Provider,{value:N,children:k}),M[46]=k,M[47]=N,M[48]=j):j=M[48],j});hx.displayName="ForwardRef(Menu)";let hC=ii.hr.withConfig({displayName:"MenuDivider",componentId:"sc-uhoxwu-0"})`height:1px;border:0;background:var(--card-hairline-soft-color);margin:0;`;hC.displayName="MenuDivider";let hk=ii(uf).withConfig({displayName:"Selectable",componentId:"sc-1w01ang-0"})(c2,function(){return io` 975 background-color: inherit; 976 color: inherit; 977 978 &[data-as='button'] { 979 -webkit-font-smoothing: inherit; 980 appearance: none; 981 outline: none; 982 font: inherit; 983 text-align: inherit; 984 border: 0; 985 width: -moz-available; 986 width: -webkit-fill-available; 987 width: stretch; 988 } 989 990 /* &:is(a) */ 991 &[data-as='a'] { 992 text-decoration: none; 993 } 994 `}
994,function(e){let{$tone:t}=e,{color:n,style:r}=nv(e.theme),o=n.selectable[t];return io` 995 ${ux(n,o.enabled)} 996 997 background-color: var(--card-bg-color); 998 color: var(--card-fg-color); 999 outline: none; 1000 1001 /* &:is(button) */ 1002 &[data-as='button'] { 1003 &:disabled { 1004 ${ux(n,o.disabled)} 1005 } 1006 1007 &:not(:disabled) { 1008 &[aria-pressed='true'] { 1009 ${ux(n,o.pressed)} 1010 } 1011 1012 &[data-selected], 1013 &[aria-selected='true'] > & { 1014 ${ux(n,o.selected)} 1015 } 1016 1017 @media (hover: hover) { 1018 &:not([data-selected]) { 1019 &[data-hovered], 1020 &:hover { 1021 ${ux(n,o.hovered)} 1022 } 1023 1024 &:active { 1025 ${ux(n,o.pressed)} 1026 } 1027 } 1028 } 1029 } 1030 } 1031 1032 /* &:is(a) */ 1033 &[data-as='a'] { 1034 &[data-disabled] { 1035 ${ux(n,o.disabled)} 1036 } 1037 1038 &:not([data-disabled]) { 1039 &[data-pressed] { 1040 ${ux(n,o.pressed)} 1041 } 1042 1043 &[data-selected] { 1044 ${ux(n,o.selected)} 1045 } 1046 1047 @media (hover: hover) { 1048 &:not([data-selected]) { 1049 &[data-hovered], 1050 &:hover { 1051 ${ux(n,o.hovered)} 1052 } 1053 &:active { 1054 ${ux(n,o.pressed)} 1055 } 1056 } 1057 } 1058 } 1059 } 1060 1061 ${r?.card?.root} 1062 `});function hj(){let e=(0,ne.useContext)(hg);if(!e)throw Error("useMenu(): missing context value");if(!fr(e)||2!==e.version)throw Error("useMenu(): the context value is not compatible");return e}function hM(e){let t,n,r,o,i,a,s,l,d,c,u,f,h,p,g,m,v,y,w,b,x,C,k,j,M,L,S,_,R,H,V,I,O,A,B,z,T=(0,$.c)(81);T[0]!==e?({as:s,children:n,fontSize:l,icon:t,menu:r,onClick:o,padding:d,popover:i,radius:c,space:u,text:h,tone:f,...a}=e,T[0]=e,T[1]=t,T[2]=n,T[3]=r,T[4]=o,T[5]=i,T[6]=a,T[7]=s,T[8]=l,T[9]=d,T[10]=c,T[11]=u,T[12]=f,T[13]=h):(t=T[1],n=T[2],r=T[3],o=T[4],i=T[5],a=T[6],s=T[7],l=T[8],d=T[9],c=T[10],u=T[11],f=T[12],h=T[13]);let W=void 0===s?"button":s,N=void 0===l?1:l,P=void 0===d?3:d,Z=void 0===c?2:c,F=void 0===u?3:u,D=void 0===f?"default":f,q=hj(),{scheme:U}=co(),{activeElement:G,mount:Y,onClickOutside:K,onEscape:X,onItemClick:J,onItemMouseEnter:Q,registerElement:ee}=q,et=Q??q.onItemMouseEnter,[en,er]=(0,ne.useState)(null),[eo,ei]=(0,ne.useState)(!1),[ea,es]=(0,ne.useState)(null),el=!!G&&G===en,[ed,ec]=(0,ne.useState)(!1);T[14]!==et?(p=e=>{ec(!1),et(e),ei(!0)},T[14]=et,T[15]=p):p=T[15];let eu=p;T[16]!==en?(g=e=>{"ArrowLeft"===e.key&&(e.stopPropagation(),ei(!1),requestAnimationFrame(()=>{en?.focus()}))},T[16]=en,T[17]=g):g=T[17];let ef=g;T[18]!==o?(m=e=>{o?.(e),es("first"),ei(!0)},T[18]=o,T[19]=m):m=T[19];let eh=m;T[20]!==J?(v=()=>{ei(!1),J?.()},T[20]=J,T[21]=v):v=T[21];let ep=v;T[22]===Symbol.for("react.memo_cache_sentinel")?(y=()=>ec(!0),T[22]=y):y=T[22];let eg=y;T[23]!==Y||T[24]!==en?(w=()=>Y(en),b=[Y,en],T[23]=Y,T[24]=en,T[25]=w,T[26]=b):(w=T[25],b=T[26]),(0,ne.useEffect)(w,b),T[27]!==el?(x=()=>{el||ei(!1)},C=[el],T[27]=el,T[28]=x,T[29]=C):(x=T[28],C=T[29]),(0,ne.useEffect)(x,C),T[30]!==eo?(k=()=>{eo||ec(!1)},j=[eo],T[30]=eo,T[31]=k,T[32]=j):(k=T[31],j=T[32]),(0,ne.useEffect)(k,j),T[33]!==ea?(M=()=>{if(!ea)return;let e=requestAnimationFrame(()=>es(null));return()=>cancelAnimationFrame(e)},L=[ea],T[33]=ea,T[34]=M,T[35]=L):(M=T[34],L=T[35]),(0,ne.useEffect)(M,L),T[36]!==n||T[37]!==ep||T[38]!==ef||T[39]!==r||T[40]!==K||T[41]!==X||T[42]!==ee||T[43]!==ea?(S=(0,E.jsx)(hx,{...r,onClickOutside:K,onEscape:X,onItemClick:ep,onKeyDown:ef,onMouseEnter:eg,registerElement:ee,shouldFocus:ea,children:n}),T[36]=n,T[37]=ep,T[38]=ef,T[39]=r,T[40]=K,T[41]=X,T[42]=ee,T[43]=ea,T[44]=S):S=T[44];let em=S;T[45]===Symbol.for("react.memo_cache_sentinel")?(_=e=>{let t=e.currentTarget;if(document.activeElement===t&&"ArrowRight"===e.key){es("first"),ei(!0),ec(!0);return}},T[45]=_):_=T[45];let ev=_,ey="button"===W?ed:void 0,ew="button"!==W?ed:void 0,eb=!ed&&el?"":void 0;T[46]!==Z?(R=d6(Z),T[46]=Z,T[47]=R):R=T[47];let ex="button"===W?"button":void 0;return T[48]!==t||T[49]!==N?(H=t&&(0,E.jsxs)(up,{size:N,children:[(0,ne.isValidElement)(t)&&t,(0,id.isValidElementType)(t)&&(0,E.jsx)(t,{})]}),T[48]=t,T[49]=N,T[50]=H):H=T[50],T[51]!==N||T[52]!==h?(V=(0,E.jsx)(uf,{flex:1,children:(0,E.jsx)(up,{size:N,textOverflow:"ellipsis",weight:"medium",children:h})}),T[51]=N,T[52]=h,T[53]=V):V=T[53],T[54]===Symbol.for("react.memo_cache_sentinel")?(I=(0,E.jsx)(iK,{}),T[54]=I):I=T[54],T[55]!==N?(O=(0,E.jsx)(up,{size:N,children:I}),T[55]=N,T[56]=O):O=T[56],T[57]!==P||T[58]!==F||T[59]!==H||T[60]!==V||T[61]!==O?(A=(0,E.jsxs)(uv,{gap:F,padding:P,children:[H,V,O]}),T[57]=P,T[58]=F,T[59]=H,T[60]=V,T[61]=O,T[62]=A):A=T[62],T[63]!==W||T[64]!==eh||T[65]!==eu||T[66]!==a||T[67]!==U||T[68]!==ey||T[69]!==ew||T[70]!==eb||T[71]!==R||T[72]!==ex||T[73]!==A||T[74]!==D?(B=(0,E.jsx)(hk,{"data-as":W,"data-ui":"MenuGroup",forwardedAs:W,...a,"aria-pressed":ey,"data-pressed":ew,"data-selected":eb,$radius:R,$tone:D,$scheme:U,onClick:eh,onKeyDown:ev,onMouseEnter:eu,ref:er,tabIndex:-1,type:ex,children:A}),T[63]=W,T[64]=eh,T[65]=eu,T[66]=a,T[67]=U,T[68]=ey,T[69]=ew,T[70]=eb,T[71]=R,T[72]=ex,T[73]=A,T[74]=D,T[75]=B):B=T[75],T[76]!==em||T[77]!==eo||T[78]!==i||T[79]!==B?(z=(0,E.jsx)(fI,{...i,content:em,"data-ui":"MenuGroup__popover",open:eo,children:B}),T[76]=em,T[77]=eo,T[78]=i,T[79]=B,T[80]=z):z=T[80],z}hk.displayName="Selectable",hM.displayName="MenuGroup";let hL=(0,ne.forwardRef)(function(e,t){let n,r,o,i,a,s,l,d,c,u,f,h,p,g,m,v,y,w,b,x,C,k,j,M,L,S,_,R,H,V,I,O,A,B,z=(0,$.c)(75);z[0]!==e?({as:v,children:o,disabled:i,fontSize:y,hotkeys:a,icon:n,iconRight:r,onClick:s,padding:w,paddingX:f,paddingY:h,paddingTop:u,paddingRight:c,paddingBottom:l,paddingLeft:d,pressed:p,radius:b,selected:m,space:x,text:k,tone:C,...g}=e,z[0]=e,z[1]=n,z[2]=r,z[3]=o,z[4]=i,z[5]=a,z[6]=s,z[7]=l,z[8]=d,z[9]=c,z[10]=u,z[11]=f,z[12]=h,z[13]=p,z[14]=g,z[15]=m,z[16]=v,z[17]=y,z[18]=w,z[19]=b,z[20]=x,z[21]=C,z[22]=k):(n=z[1],r=z[2],o=z[3],i=z[4],a=z[5],s=z[6],l=z[7],d=z[8],c=z[9],u=z[10],f=z[11],h=z[12],p=z[13],g=z[14],m=z[15],v=z[16],y=z[17],w=z[18],b=z[19],x=z[20],C=z[21],k=z[22]);let T=void 0===v?"button":v,W=void 0===y?1:y,N=void 0===w?3:w,P=void 0===b?2:b,Z=void 0===x?3:x,F=void 0===C?"default":C,{scheme:D}=co(),q=hj(),{activeElement:U,mount:G,onItemClick:Y,onItemMouseEnter:K,onItemMouseLeave:X}=q,J=K??q.onItemMouseEnter,Q=X??q.onItemMouseLeave,[ee,et]=(0,ne.useState)(null),en=!!U&&U===ee,er=(0,ne.useRef)(null);z[23]===Symbol.for("react.memo_cache_sentinel")?(j=()=>er.current,z[23]=j):j=z[23],(0,ne.useImperativeHandle)(t,j),z[24]!==G||z[25]!==ee||z[26]!==m?(M=()=>G(ee,m),L=[G,ee,m],z[24]=G,z[25]=ee,z[26]=m,z[27]=M,z[28]=L):(M=z[27],L=z[28]),(0,ne.useEffect)(M,L),z[29]!==i||z[30]!==s||z[31]!==Y?(S=e=>{i||(s&&s(e),Y&&Y())},z[29]=i,z[30]=s,z[31]=Y,z[32]=S):S=z[32];let eo=S;z[33]!==N||z[34]!==l||z[35]!==d||z[36]!==c||z[37]!==u||z[38]!==f||z[39]!==h?(_={padding:N,paddingX:f,paddingY:h,paddingTop:u,paddingRight:c,paddingBottom:l,paddingLeft:d},z[33]=N,z[34]=l,z[35]=d,z[36]=c,z[37]=u,z[38]=f,z[39]=h,z[40]=_):_=z[40];let ei=_;z[41]!==W?(R=d6(W).map(hS),z[41]=W,z[42]=R):R=z[42];let ea=R;z[43]===Symbol.for("react.memo_cache_sentinel")?(H=e=>{er.current=e,et(e)},z[43]=H):H=z[43];let es=H,el="button"!==T&&p?"":void 0,ed=en?"":void 0,ec=i?"":void 0;z[44]!==P?(V=d6(P),z[44]=P,z[45]=V):V=z[45],z[46]===Symbol.for("react.memo_cache_sentinel")?(I=d6(0),z[46]=I):I=z[46];let eu=i?"default":F,ef="button"===T?"button":void 0;return z[47]!==n||z[48]!==r||z[49]!==W||z[50]!==a||z[51]!==ea||z[52]!==ei||z[53]!==Z||z[54]!==k?(O=(n||k||r)&&(0,E.jsxs)(uv,{as:"span",gap:Z,align:"center",...ei,children:[n&&(0,E.jsxs)(up,{size:W,children:[(0,ne.isValidElement)(n)&&n,(0,id.isValidElementType)(n)&&(0,E.jsx)(n,{})]}
1062),k&&(0,E.jsx)(uf,{flex:1,children:(0,E.jsx)(up,{size:W,textOverflow:"ellipsis",weight:"medium",children:k})}),a&&(0,E.jsx)(hp,{fontSize:ea,keys:a,style:{marginTop:-4,marginBottom:-4}}),r&&(0,E.jsxs)(up,{size:W,children:[(0,ne.isValidElement)(r)&&r,(0,id.isValidElementType)(r)&&(0,E.jsx)(r,{})]})]}),z[47]=n,z[48]=r,z[49]=W,z[50]=a,z[51]=ea,z[52]=ei,z[53]=Z,z[54]=k,z[55]=O):O=z[55],z[56]!==o||z[57]!==ei?(A=o&&(0,E.jsx)(uf,{as:"span",...ei,children:o}),z[56]=o,z[57]=ei,z[58]=A):A=z[58],z[59]!==T||z[60]!==i||z[61]!==eo||z[62]!==J||z[63]!==Q||z[64]!==g||z[65]!==D||z[66]!==el||z[67]!==ed||z[68]!==ec||z[69]!==V||z[70]!==eu||z[71]!==ef||z[72]!==O||z[73]!==A?(B=(0,E.jsxs)(hk,{"data-ui":"MenuItem",role:"menuitem",...g,"data-pressed":el,"data-selected":ed,"data-disabled":ec,forwardedAs:T,$radius:V,$padding:I,$tone:eu,$scheme:D,disabled:i,onClick:eo,onMouseEnter:J,onMouseLeave:Q,ref:es,tabIndex:-1,type:ef,children:[O,A]}),z[59]=T,z[60]=i,z[61]=eo,z[62]=J,z[63]=Q,z[64]=g,z[65]=D,z[66]=el,z[67]=ed,z[68]=ec,z[69]=V,z[70]=eu,z[71]=ef,z[72]=O,z[73]=A,z[74]=B):B=z[74],B});function hS(e){return e-1}hL.displayName="ForwardRef(MenuItem)";let h_=ii(uM).withConfig({displayName:"CustomButton",componentId:"sc-1kns779-0"})`max-width:100%;`,hR=(0,ne.forwardRef)(function(e,t){let n,r,o,i,a,s,l,d,c,u,f,h,p,g,m,v,y=(0,$.c)(30);y[0]!==e?({icon:r,id:o,focused:n,fontSize:c,label:i,onClick:a,onFocus:s,padding:u,selected:d,...l}=e,y[0]=e,y[1]=n,y[2]=r,y[3]=o,y[4]=i,y[5]=a,y[6]=s,y[7]=l,y[8]=d,y[9]=c,y[10]=u):(n=y[1],r=y[2],o=y[3],i=y[4],a=y[5],s=y[6],l=y[7],d=y[8],c=y[9],u=y[10]);let w=void 0===c?1:c,b=void 0===u?2:u,x=(0,ne.useRef)(null),C=(0,ne.useRef)(!1);y[11]===Symbol.for("react.memo_cache_sentinel")?(f=()=>x.current,y[11]=f):f=y[11],(0,ne.useImperativeHandle)(t,f),y[12]===Symbol.for("react.memo_cache_sentinel")?(h=()=>{C.current=!1},y[12]=h):h=y[12];let k=h;y[13]!==s?(p=e=>{C.current=!0,s&&s(e)},y[13]=s,y[14]=p):p=y[14];let j=p;y[15]!==n?(g=()=>{n&&!C.current&&(x.current&&x.current.focus(),C.current=!0)},m=[n],y[15]=n,y[16]=g,y[17]=m):(g=y[16],m=y[17]),(0,ne.useEffect)(g,m);let M=d?"true":"false",L=d?0:-1;return y[18]!==w||y[19]!==j||y[20]!==r||y[21]!==o||y[22]!==i||y[23]!==a||y[24]!==b||y[25]!==l||y[26]!==d||y[27]!==M||y[28]!==L?(v=(0,E.jsx)(h_,{"data-ui":"Tab",...l,"aria-selected":M,fontSize:w,icon:r,id:o,mode:"bleed",onClick:a,onBlur:k,onFocus:j,padding:b,ref:x,role:"tab",selected:d,tabIndex:L,text:i,type:"button"}),y[18]=w,y[19]=j,y[20]=r,y[21]=o,y[22]=i,y[23]=a,y[24]=b,y[25]=l,y[26]=d,y[27]=M,y[28]=L,y[29]=v):v=y[29],v});hR.displayName="ForwardRef(Tab)";let hE=ii(u1).withConfig({displayName:"CustomInline",componentId:"sc-5cm04m-0"})`& > div{display:inline-block;vertical-align:middle;max-width:100%;box-sizing:border-box;}`,h$=(0,ne.forwardRef)(function(e,t){let n,r,o,i,a,s=(0,$.c)(15);s[0]!==e?({children:n,...r}=e,s[0]=e,s[1]=n,s[2]=r):(n=s[1],r=s[2]);let[l,d]=(0,ne.useState)(-1);if(s[3]!==n||s[4]!==l){let e,t=ne.Children.toArray(n).filter(ne.isValidElement);s[6]!==l?(e=(e,t)=>(0,ne.cloneElement)(e,{focused:l===t,key:t,onFocus:()=>d(t)}),s[6]=l,s[7]=e):e=s[7],o=t.map(e),s[3]=n,s[4]=l,s[5]=o}else o=s[5];let c=o,u=c.length;s[8]!==u?(i=e=>{"ArrowLeft"===e.key&&d(e=>(e+u-1)%u),"ArrowRight"===e.key&&d(e=>(e+1)%u)},s[8]=u,s[9]=i):i=s[9];let f=i;return s[10]!==f||s[11]!==t||s[12]!==r||s[13]!==c?(a=(0,E.jsx)(hE,{"data-ui":"TabList",...r,onKeyDown:f,ref:t,role:"tablist",children:c}),s[10]=f,s[11]=t,s[12]=r,s[13]=c,s[14]=a):a=s[14],a});function hH(e){return e.split(/[[.\]]/g).filter(Boolean).map(e=>{var t;return e.includes("==")?function(e){let[t,n]=e.split("==");if("_key"!==t)throw Error(`Currently only "_key" is supported as path segment. Found ${t}`);if(typeof n>"u")throw Error('Invalid path segment, expected `key=="value"`');return{_key:n.replace(/^['"]/,"").replace(/['"]$/,"")}}(e):hV.test(t=e)?Number(t):t})}h$.displayName="ForwardRef(TabList)";let hV=/^-?\d+$/,hI=/^[a-z_$]+/;function hO(e){return e.map((e,t)=>{var n;return n=0===t,Array.isArray(e)?`[${e[0]}:${e[1]||""}]`:"number"==typeof e?`[${e}]`:"object"==typeof e&&"_key"in e&&"string"==typeof e._key?`[_key==${JSON.stringify(e._key)}]`:"string"==typeof e&&hI.test(e)?n?e:`.${e}`:`['${e}']`}).join("")}function hA(e){if("createIfNotExists"in e)return{type:"createIfNotExists",document:e.createIfNotExists};if("createOrReplace"in e)return{type:"createOrReplace",document:e.createOrReplace};if("create"in e)return{type:"create",document:e.create};
1062if("delete"in e)return{id:e.delete.id,type:"delete"};if("patch"in e){var t,n,r,o,i,a;return{type:"patch",id:e.patch.id,patches:[..."set"in(n=t=e.patch)?Object.keys(n.set).map(e=>({path:hH(e),op:{type:"set",value:n.set[e]}})):[],..."setIfMissing"in(r=t)?Object.keys(r.setIfMissing).map(e=>({path:hH(e),op:{type:"setIfMissing",value:r.setIfMissing[e]}})):[],..."unset"in(o=t)?o.unset.map(e=>({path:hH(e),op:{type:"unset"}})):[],..."inc"in(i=t)?Object.keys(i.inc).map(e=>({path:hH(e),op:{type:"inc",amount:i.inc[e]}})):[],..."inc"in(a=t)?Object.keys(a.dec).map(e=>({path:hH(e),op:{type:"dec",amount:a.dec[e]}})):[],...function(e){if(!("insert"in e))return[];let t=function(e){let t=hB.filter(t=>t in e);if(t.length>1)throw Error(`Insert patch is ambiguous. Should only contain one of: ${hB.join(", ")}, instead found ${t.join(", ")}`);return t[0]}(e.insert);if(!t)throw Error("Insert patch missing position");let n=hH(e.insert[t]),r=n.pop();return[{path:n,op:{type:"insert",position:t,referenceItem:r,items:e.insert.items}}]}(t)]}}throw Error(`Unknown mutation: ${JSON.stringify(e)}`)}let hB=["before","replace","after"];function hz(e){return hW(e)}function hT(e){return e.flatMap(hz)}function hW(e){if("create"===e.type||"createIfNotExists"===e.type||"createOrReplace"===e.type)return{[e.type]:e.document};if("delete"===e.type)return{delete:{id:e.id}};let t=e.options?.ifRevision;return e.patches.map(n=>({patch:{id:e.id,...t&&{ifRevisionID:t},...function(e){let{path:t,op:n}=e;if("unset"===n.type)return{unset:[hO(t)]};if("insert"===n.type)return{insert:{[n.position]:hO([...t,n.referenceItem]),items:n.items}};if("diffMatchPatch"===n.type)return{diffMatchPatch:{[hO(t)]:n.value}};if("inc"===n.type)return{inc:{[hO(t)]:n.amount}};if("dec"===n.type)return{dec:{[hO(t)]:n.amount}};if("set"===n.type||"setIfMissing"===n.type)return{[n.type]:{[hO(t)]:n.value}};if("truncate"===n.type){let e=[n.startIndex,"number"==typeof n.endIndex?n.endIndex:""].join(":");return{unset:[`${hO(t)}[${e}]`]}}if("upsert"===n.type)return{unset:n.items.map(e=>hO([...t,{_key:e._key}])),insert:{[n.position]:hO([...t,n.referenceItem]),items:n.items}};if("assign"===n.type)return{set:Object.fromEntries(Object.keys(n.value).map(e=>[hO(t.concat(e)),n.value[e]]))};if("unassign"===n.type)return{unset:n.keys.map(e=>hO(t.concat(e)))};if("replace"===n.type)return{insert:{replace:hO(t.concat(n.referenceItem)),items:n.items}};if("remove"===n.type)return{unset:[hO(t.concat(n.referenceItem))]};throw Error(`Unknown operation type ${n.type}`)}(n)}}))}function hN(e){return Array.isArray(e)?e:[e]}var hP=Object.freeze({__proto__:null,decode:function(e){return hA(e)},decodeAll:function(e){return e.map(hA)},encode:hz,encodeAll:hT,encodeMutation:hW,encodeTransaction:function(e){return{transactionId:e.id,mutations:hT(e.mutations)}}});function hZ(e,t,n){return{type:"insert",referenceItem:n,position:t,items:hN(e)}}function hF(e,t){return{type:"truncate",startIndex:e,endIndex:t}}function hD(e){return{type:"remove",referenceItem:e}}function hq(e,t){return{path:"string"==typeof e?hH(e):e,op:t}}let hU=ea(e7),hG=hU,hY=new Set,hK=/_key\s*==\s*['"](.*)['"]/,hX=/^\d*:\d*$/;function hJ(e){return"number"==typeof e||"string"==typeof e&&/^\[\d+\]$/.test(e)}function hQ(e){return"string"==typeof e?hK.test(e.trim()):"object"==typeof e&&"_key"in e}let h1=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,h0=/_key\s*==\s*['"](.*)['"]/;function h5(e,t,n){let r="string"==typeof t?function(e){if("string"!=typeof e)throw Error("Path is not a string");let t=e.match(h1);if(!t)throw Error("Invalid path string");return t.map(h2)}(t):t;if(!Array.isArray(r))throw Error("Path must be an array or a string");let o=e;for(let e=0;e<r.length;e++){let t=r[e];if(hJ(t)){if(!Array.isArray(o))return n;o=o[t]}if(hQ(t)){if(!Array.isArray(o))return n;o=o.find(e=>e._key===t._key)}if("string"==typeof t&&(o="object"==typeof o&&null!==o?o[t]:void 0),typeof o>"u")return n}return o}function h2(e){return hJ(e)?Number(e.replace(/[^\d]/g,"")):hQ(e)?{_key:e.match(h0)[1]}:!function(e){if("string"==typeof e&&hX.test(e))return!0;
1062if(!Array.isArray(e)||2!==e.length)return!1;let[t,n]=e;return("number"==typeof t||""===t)&&("number"==typeof n||""===n)}(e)?e:function(e){let[t,n]=e.split(":").map(e=>""===e?e:Number(e));return[t,n]}(e)}function h3(){return(0,ne.useSyncExternalStore)(h8,h6,h4)}function h4(){return hU}function h6(){return hG}function h8(e){return hY.add(e),()=>hY.delete(e)}function h9(){let e,t=(0,$.c)(2),n=h3();return t[0]!==n?(e=n===hU,t[0]=n,t[1]=e):e=t[1],!e}function h7(e,t){let n;return(...r)=>{clearTimeout(n),n=setTimeout(()=>{e.apply(e,r)},t)}}function pe(e,t){let n=t9(),r=t7();if(t===hU||!n&&!r)throw Error("The `useDocuments` hook cannot be used in this context");let o=(0,nn.getDraftId)(e),i=(0,nn.getPublishedId)(e),a=t.getSnapshot().context?.documents,s=a?.[o],l=a?.[i],d=s||l;if(!d)throw Error(`Document "${e}" not found`);let c=s.getSnapshot().context?.local||l.getSnapshot().context?.local,u=new Promise(e=>{if(c)e(c);else{let t=d.on("ready",n=>{let{snapshot:r}=n;e(r||null),t.unsubscribe()})}});return{draftDoc:s,draftId:o,getSnapshot:()=>u,publishedDoc:l,publishedId:i,get snapshot(){if(!c)throw Error(`Snapshot for document "${e}" not found`);return c}}}function pt(){let e,t,n,r=(0,$.c)(7),o=h3();r[0]!==o?(e=e=>({id:e,commit:()=>{let{draftDoc:t}=pe(e,o);t.send({type:"submit"})},get:t=>{let{snapshot:n}=pe(e,o);return t?h5(n,t):n},getSnapshot:function(e,t){let{getSnapshot:n}=pe(e,t);return n}(e,o),patch:async(t,n)=>{let r=pe(e,o),{draftDoc:i,draftId:a,getSnapshot:s,publishedId:l}=r,{commit:d=!0}=n||{},c=await ("function"==typeof t?t({draftId:a,publishedId:l,get snapshot(){return r.snapshot},getSnapshot:s}):t),u=await s();if(!u)throw Error(`Snapshot for document "${e}" not found`);i.send({type:"mutate",mutations:[{type:"createIfNotExists",document:{...u,_id:a}},{type:"patch",id:a,patches:hN(c),...{}}]}),d&&("object"==typeof d&&"debounce"in d?h7(()=>i.send({type:"submit"}),d.debounce)():i.send({type:"submit"}))}}),r[0]=o,r[1]=e):e=r[1];let i=e;r[2]!==o?(t=(e,t,n)=>{let{draftDoc:r}=pe(e,o),{commit:i}=n||{},a=void 0===i||i;r.send({type:"mutate",mutations:t}),a&&("object"==typeof a&&"debounce"in a?h7(()=>r.send({type:"submit"}),a.debounce)():r.send({type:"submit"}))},r[2]=o,r[3]=t):t=r[3];let a=t;return r[4]!==i||r[5]!==a?(n={getDocument:i,mutateDocument:a},r[4]=i,r[5]=a,r[6]=n):n=r[6],n}function pn(e){let t=(()=>{if(i)return i;i=[];for(let e=0;e<256;++e)i[e]=(e+256).toString(16).slice(1);return i})();return(function(e=16){let t=new Uint8Array(e);return function(e){let t="undefined"!=typeof window&&"crypto"in window?window.crypto:globalThis.crypto;if(!t||!t.getRandomValues)throw Error("WebCrypto not available in this environment");t.getRandomValues(e)}(t),t})(e).reduce((e,n)=>e+t[n],"").slice(0,e)}function pr(e){let t,n,r="string"==typeof e?e:e.path,o=r.lastIndexOf("."),i=r.substring(o+1,r.length);if(!i.indexOf("["))throw Error("Invalid path: not an array");let a=r.lastIndexOf("["),s=r.substring(0,a);if(i.includes("_key")){let e=i.indexOf('"')+1,r=i.indexOf('"',e);t=i.substring(e,r),n=!0}else{let e=i.indexOf("[")+1,r=i.indexOf("]",e);t=i.substring(e,r),n=!1}if(!s||!t)throw Error("Invalid path");return{path:s,key:t,hasExplicitKey:n}}async function po(e,t,n){if(!e.type)throw Error("Node type is missing");let{path:r,key:o}=pr(e),i=await t.getSnapshot(),a=h5(i,r),s=h5(i,e.path),l=a.findIndex(e=>e._key===o),d=-1,c="before";if("first"===n){if(0===l)return[];d=0,c="before"}else if("last"===n){if(l===a.length-1)return[];d=-1,c="after"}else if("next"===n){if(l===a.length-1)return[];d=l,c="after"}else if("previous"===n){if(0===l)return[];d=l-1,c="before"}return[hq(r,hF(l,l+1)),hq(r,hZ(s,c,d))]}function pi(e){return{lang:e?.lang??M?.lang,message:e?.message,abortEarly:e?.abortEarly??M?.abortEarly,abortPipeEarly:e?.abortPipeEarly??M?.abortPipeEarly}}function pa(e,t,n,r,o){var i,a,s,l;let d,c=o&&"input"in o?o.input:n.value,u=o?.expected??e.expects??null,f=o?.received??("string"==(d=typeof c)?`"${c}"`:"number"===d||"bigint"===d||"boolean"===d?`${c}`:"object"===d||"function"===d?(c&&Object.getPrototypeOf(c)?.constructor?.name)??"null":d),h={kind:e.kind,type:e.type,input:c,expected:u,received:f,message:`Invalid ${t}: ${u?`Expected ${u} but r`:"R"}eceived ${f}`,requirement:e.requirement,path:o?.path,issues:o?.issues,lang:r.lang,abortEarly:r.abortEarly,abortPipeEarly:r.abortPipeEarly},p="schema"===e.kind,g=o?.message??e.message??(i=e.reference,a=h.lang,_?.get(i)?.get(a))??(p?(s=h.lang,S?.get(s)):null)??r.message??(l=h.lang,L?.get(l));void 0!==g&&(h.message="function"==typeof g?g(h):g),p&&(n.typed=!1),n.issues?n.issues.push(h):n.issues=[h]}function ps(e){return{version:1,vendor:"valibot",validate:t=>e["~run"]({value:t},pi())}}
1062var pl=class extends Error{constructor(e){super(e[0].message),this.name="ValiError",this.issues=e}};function pd(e,t){return{kind:"validation",type:"min_length",reference:pd,async:!1,expects:`>=${e}`,requirement:e,message:t,"~run"(e,t){return e.typed&&e.value.length<this.requirement&&pa(this,"length",e,t,{received:`${e.value.length}`}),e}}}function pc(e,t,n){return"function"==typeof e.fallback?e.fallback(t,n):e.fallback}function pu(e,t,n){return"function"==typeof e.default?e.default(t,n):e.default}function pf(e,t){return{kind:"schema",type:"object",reference:pf,expects:"Object",async:!1,entries:e,message:t,get"~standard"(){return ps(this)},"~run"(e,t){let n=e.value;if(n&&"object"==typeof n)for(let r in e.typed=!0,e.value={},this.entries){let o=this.entries[r];if(r in n||("exact_optional"===o.type||"optional"===o.type||"nullish"===o.type)&&void 0!==o.default){let i=r in n?n[r]:pu(o),a=o["~run"]({value:i},t);if(a.issues){let o={type:"object",origin:"value",input:n,key:r,value:i};for(let t of a.issues)t.path?t.path.unshift(o):t.path=[o],e.issues?.push(t);if(e.issues||(e.issues=a.issues),t.abortEarly){e.typed=!1;break}}a.typed||(e.typed=!1),e.value[r]=a.value}else if(void 0!==o.fallback)e.value[r]=pc(o);else if("exact_optional"!==o.type&&"optional"!==o.type&&"nullish"!==o.type&&(pa(this,"key",e,t,{input:void 0,expected:`"${r}"`,path:[{type:"object",origin:"key",input:n,key:r,value:n[r]}]}),t.abortEarly))break}else pa(this,"type",e,t);return e}}}function ph(e,t){return{kind:"schema",type:"optional",reference:ph,expects:`(${e.expects} | undefined)`,async:!1,wrapped:e,default:t,get"~standard"(){return ps(this)},"~run"(e,t){return void 0===e.value&&(void 0!==this.default&&(e.value=pu(this,e,t)),void 0===e.value)?(e.typed=!0,e):this.wrapped["~run"](e,t)}}}function pp(e){return{kind:"schema",type:"string",reference:pp,expects:"string",async:!1,message:e,get"~standard"(){return ps(this)},"~run"(e,t){return"string"==typeof e.value?e.typed=!0:pa(this,"type",e,t),e}}}function pg(...e){return{...e[0],pipe:e,get"~standard"(){return ps(this)},"~run"(t,n){for(let r of e)if("metadata"!==r.kind){if(t.issues&&("schema"===r.kind||"transformation"===r.kind)){t.typed=!1;break}t.issues&&(n.abortEarly||n.abortPipeEarly)||(t=r["~run"](t,n))}return t}}}function pm(e,t,n){let r=e["~run"]({value:t},pi(n));return{typed:r.typed,success:!r.issues,output:r.value,issues:r.issues}}let pv=pg(pp(),pd(1)),py=ph(pv),pw=pf({baseUrl:pv,dataset:py,id:pv,path:pv,projectId:py,tool:py,type:py,workspace:py,perspective:{...g=pp(),fallback:"drafts",get"~standard"(){return ps(this)},"~run"(e,t){let n=g["~run"](e,t);return n.issues?{typed:!0,value:pc(this,n,t)}:n}}}),pb=/^([\w-]+):(0|[1-9][0-9]*)$/,px=/^([\w-]+):([0-9]+),([0-9]+)$/,pC=/^([\w-]+):([\w-]+)$/,pk=pg(pp(),pd(1)),pj=pf({origin:pk,href:pk,data:ph(function e(t,n,r){return{kind:"schema",type:"record",reference:e,expects:"Object",async:!1,key:t,value:n,message:r,get"~standard"(){return ps(this)},"~run"(e,t){let n=e.value;if(n&&"object"==typeof n){for(let r in e.typed=!0,e.value={},n)if(Object.hasOwn(n,r)&&"__proto__"!==r&&"prototype"!==r&&"constructor"!==r){let o=n[r],i=this.key["~run"]({value:r},t);if(i.issues){let a={type:"object",origin:"key",input:n,key:r,value:o};for(let t of i.issues)t.path=[a],e.issues?.push(t);if(e.issues||(e.issues=i.issues),t.abortEarly){e.typed=!1;break}}let a=this.value["~run"]({value:o},t);if(a.issues){let i={type:"object",origin:"value",input:n,key:r,value:o};for(let t of a.issues)t.path?t.path.unshift(i):t.path=[i],e.issues?.push(t);if(e.issues||(e.issues=a.issues),t.abortEarly){e.typed=!1;break}}i.typed&&a.typed||(e.typed=!1),i.typed&&(e.value[i.value]=a.value)}}else pa(this,"type",e,t);return e}}}(pp(),function e(){return{kind:"schema",type:"unknown",reference:e,expects:"unknown",async:!1,get"~standard"(){return ps(this)},"~run":e=>(e.typed=!0,e)}}()))});function pM(e){let t=pm(pw,e);if(t.success)return t.output;let n=pm(pj,e);if(n.success)try{let e=new URL(n.output.href,typeof document>"u"?"https://example.com":location.origin);return e.searchParams.size>0?function(e,t,n){let r=e["~run"]({value:t},pi(void 0));
1062if(r.issues)throw new pl(r.issues);return r.value}(pw,Object.fromEntries(e.searchParams.entries())):n.output}catch(e){return console.error("Failed to parse sanity node",e),n.output}}var pL={0:8203,1:8204,2:8205,3:8290,4:8291,5:8288,6:65279,7:8289,8:119155,9:119156,a:119157,b:119158,c:119159,d:119160,e:119161,f:119162},pS={0:8203,1:8204,2:8205,3:65279},p_=[,,,,].fill(String.fromCodePoint(pS[0])).join(""),pR=Object.fromEntries(Object.entries(pS).map(e=>e.reverse())),pE=Object.fromEntries(Object.entries(pL).map(e=>e.reverse())),p$=`${Object.values(pL).map(e=>`\\u{${e.toString(16)}}`).join("")}`,pH=RegExp(`[${p$}]{4,}`,"gu");let pV=[];for(let e=0;e<256;++e)pV.push((e+256).toString(16).slice(1));let pI=new Uint8Array(16);var pO="u">typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto);function pA(e,t,r){if(pO&&!e)return pO();let o=(e=e||{}).random??e.rng?.()??function(){if(!n){if(typeof crypto>"u"||!crypto.getRandomValues)throw Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");n=crypto.getRandomValues.bind(crypto)}return n(pI)}();if(o.length<16)throw Error("Random bytes length must be >= 16");return o[6]=15&o[6]|64,o[8]=63&o[8]|128,function(e,t=0){return(pV[e[t+0]]+pV[e[t+1]]+pV[e[t+2]]+pV[e[t+3]]+"-"+pV[e[t+4]]+pV[e[t+5]]+"-"+pV[e[t+6]]+pV[e[t+7]]+"-"+pV[e[t+8]]+pV[e[t+9]]+"-"+pV[e[t+10]]+pV[e[t+11]]+pV[e[t+12]]+pV[e[t+13]]+pV[e[t+14]]+pV[e[t+15]]).toLowerCase()}(o)}function pB(e){let t=e.getBoundingClientRect();return{x:t.x+scrollX,y:t.y+scrollY,w:t.width,h:t.height}}function pz(e,t,n){return"x"===n?{x:e.x+t,y:e.y,w:e.w-2*t,h:e.h}:{x:e.x,y:e.y+t,w:e.w,h:e.h-2*t}}function pT(e,t){return e.x===t.x&&e.y===t.y&&e.w===t.w&&e.h===t.h}function pW(e,t){let n=e.x-t.x,r=e.y-t.y;return Math.sqrt(n*n+r*r)}function pN(e,t,n){let r,o,i={x:e.x1,y:e.y1};if(t.some(e=>{var t;let r,o;return t=pz(e,Math.min(e.w,e.h)/10,"horizontal"===n?"x":"y"),r=i.x>=t.x&&i.x<=t.x+t.w,o=i.y>=t.y&&i.y<=t.y+t.h,r&&o}))return null;for(let a of t){let t=function(e,t){let n=[{x1:t.x,y1:t.y,x2:t.x+t.w,y2:t.y},{x1:t.x+t.w,y1:t.y,x2:t.x+t.w,y2:t.y+t.h},{x1:t.x+t.w,y1:t.y+t.h,x2:t.x,y2:t.y+t.h},{x1:t.x,y1:t.y+t.h,x2:t.x,y2:t.y}],r=[];for(let t=0;t<n.length;t++){let o=function(e,t){let{x1:n,y1:r,x2:o,y2:i}=e,{x1:a,y1:s,x2:l,y2:d}=t;if(n===o&&r===i||a===l&&s===d)return!1;let c=(d-s)*(o-n)-(l-a)*(i-r);if(0===c)return!1;let u=((l-a)*(r-s)-(d-s)*(n-a))/c,f=((o-n)*(r-s)-(i-r)*(n-a))/c;return!(u<0)&&!(u>1)&&!(f<0)&&!(f>1)&&{x:n+u*(o-n),y:r+u*(i-r)}}(e,n[t]);if(o){let e=!1;for(let t=0;t<r.length;t++)r[t].x===o.x&&r[t].y===o.y&&(e=!0);e||r.push(o)}}return 0!==r.length&&r.sort((t,n)=>pW(t,{x:e.x1,y:e.y1})-pW(n,{x:e.x1,y:e.y1}))}(e,pz(a,Math.min(a.w,a.h)/10,"horizontal"===n?"x":"y"));if(t){let e=t[0];r?pW(i,e)<pW(i,r)&&(r=e,o=a):(r=e,o=a)}}return o||null}function pP(e,t,n){let{x:r,y:o,w:i,h:a}=e,{x:s,y:l}=n;return{x:s+(r-s)*t,y:l+(o-l)*t,w:i*t,h:a*t}}function pZ(e){let t=Math.max(0,Math.min(...e.map(e=>e.y))),n=Math.min(document.body.scrollHeight,Math.max(...e.map(e=>e.y+e.h)));return{min:t,max:n,height:n-t}}function pF(e,t){return t.find(t=>pT(pB(t.elements.element),e))?.sanity}function pD(e,t,n){return Object.values(t).every(e=>null===e)?null:"horizontal"===n?{left:t.left?{rect:t.left,sanity:pF(t.left,e)}:null,right:t.right?{rect:t.right,sanity:pF(t.right,e)}:null}:{top:t.top?{rect:t.top,sanity:pF(t.top,e)}:null,bottom:t.bottom?{rect:t.bottom,sanity:pF(t.bottom,e)}:null}}function pq(e){let t=document.body.getBoundingClientRect();return{x:Math.max(t.x,Math.min(e.clientX,t.x+t.width)),y:e.clientY+window.scrollY}}function pU(e,t,n){let r=pB(t),o=[...t.querySelectorAll(":where(h1, h2, h3, h4, p, a, img, span, button):not(:has(*))")];e.x<=r.x&&(e.x=r.x),e.x>=r.x+r.w&&(e.x=r.x+r.w),e.y>=r.y+r.h&&(e.y=r.y+r.h),e.y<=r.y&&(e.y=r.y);let i=o.map(e=>{let t=pP(pB(e),n,{x:r.x,y:r.y});return{x:t.x-r.x,y:t.y-r.y,w:t.w,h:t.h,tagName:e.tagName}});return{offsetX:(r.x-e.x)*n,offsetY:(r.y-e.y)*n,w:r.w*n,h:r.h*n,maxWidth:r.w*n*.75,childRects:i}}async function pG(e,t,n,r,o){return new Promise(i=>{e.addEventListener("transitionend",()=>{setTimeout(()=>{r({type:"overlay/dragEndMinimapTransition"})},2*o),i()},{once:!0}),r({type:"overlay/dragStartMinimapTransition"}),r({type:"overlay/dragToggleMinimap",display:!0}),document.body.style.overflow="hidden",document.body.style.height="100%",document.documentElement.style.overflow="initial",document.documentElement.style.height="100%",setTimeout(()=>{e.style.transformOrigin="50% 0px",e.style.transition="transform 150ms ease",e.style.transform=`translate3d(0px, ${-n+scrollY}px, 0px) scale(${t})`},25)})}function pY(e){let t,n,r=(t=Math.max(0,Math.min(...e.map(e=>e.x))),{min:t,max:n=Math.min(document.body.offsetWidth,Math.max(...e.map(e=>e.x+e.w))),width:n-t}),o=pZ(e),i=r.min>8&&r.min+r.width<=window.innerWidth-8,a=o.min>8&&o.min+o.height<=document.body.scrollHeight-8,s=i&&a;return{x:s?r.min-8:r.min,y:s?o.min-8:o.min,w:s?r.width+16:r.width,h:s?o.height+16:o.height}}async function pK(e,t,n,r,o,i){return new Promise(a=>{if(1===new DOMMatrix(window.getComputedStyle(t).transform).a)return;let s=n-window.innerHeight,l=scrollY;(e-=window.innerHeight/2)<0&&(e=0),t.addEventListener("transitionend",()=>{t.style.transition="none",t.style.transform="none",scrollTo({top:e,behavior:"instant"}),setTimeout(()=>{r({type:"overlay/dragEndMinimapTransition"}),r({type:"overlay/dragToggleMinimap",display:!1})},2*o),a()},{once:!0}),r({type:"overlay/dragStartMinimapTransition"}),t.style.transform=`translateY(${Math.max(l-e,-s+l)}px) scale(1)`,i&&(document.body.style.overflow=i.body.overflow,document.body.style.height=i.body.height,document.documentElement.style.overflow=i.documentElement.overflow,document.documentElement.style.height=i.documentElement.height)})}let pX=!1,pJ={y:0},pQ={x:0,y:0},p1=typeof document>"u"?0:document.documentElement.scrollHeight,p0=null,p5=e=>e instanceof HTMLElement||e instanceof SVGElement,p2=e=>e&&p5(e)?e.dataset?.sanityOverlayElement?e:p2(e.parentElement):null;function p3(e){return pH.lastIndex=0,pH.test(e)}function p4(e,t=!1){return p3(e)?function(e,t=!1){try{let n=function(e){let t=e.match(pH);if(t)return function(e,t=!1){let n=Array.from(e);if(n.length%2==0){if(n.length%4||!e.startsWith(p_))return function(e,t){var n;let r=[];for(let t=.5*e.length;t--;){let n=`${pE[e[2*t].codePointAt(0)]}${pE[e[2*t+1].codePointAt(0)]}`;r.unshift(String.fromCharCode(parseInt(n,16)))}let o=[],i=[r.join("")],a=10;for(;i.length;){let e=i.shift();try{if(o.push(JSON.parse(e)),t)break}catch(r){if(!a--)throw r;let t=+(null==(n=r.message.match(/\sposition\s(\d+)$/))?void 0:n[1]);if(!t)throw r;i.unshift(e.substring(0,t),e.substring(t))}}return o}(n,t)}
1062else throw Error("Encoded data has invalid length");let r=[];for(let e=.25*n.length;e--;){let t=n.slice(4*e,4*e+4).map(e=>pR[e.codePointAt(0)]).join("");r.unshift(String.fromCharCode(parseInt(t,4)))}if(t){r.shift();let e=r.indexOf("\0");return -1===e&&(e=r.length),[JSON.parse(r.slice(0,e).join(""))]}return r.join("").split("\0").filter(Boolean).map(e=>JSON.parse(e))}(t[0],!0)[0]}(e);return n&&"sanity.io"===n.origin?(t&&(n.href=n.href?.replace(".alt","")),n):null}catch(t){return console.error("Failed to decode stega for string: ",e,"with the original error: ",t),null}}(e,t):null}function p6(e){return"path"in e}function p8(e){if(!e.length||!e.map(e=>p6(e)).every((e,t,n)=>e===n[0]))return;if(!p6(e[0]))return e[0];let t=e.filter(p6),n=e[0],r=["projectId","dataset","id","baseUrl","workspace","tool"];for(let e=1;e<t.length;e++){let o=t[e];if(r.some(e=>o[e]!==n?.[e])){n=void 0;break}n={...n,path:function(e,t){let n=e.split("."),r=t.split("."),o=Math.min(n.length,r.length);return n=n.slice(0,o).reverse(),r=r.slice(0,o).reverse(),n.reduce((e,t,n)=>t===r[n]?[...e,t]:[],[]).reverse().join(".")}(n.path,o.path)}}return n}function p9(e){let t=e.lastIndexOf(".");return e.substring(t,e.length).includes("[")}function p7(e){if(!p9(e))return null;let t=e.split(".");return t[t.length-1]=t[t.length-1].replace(/\[.*?\]/g,"[]"),t.join(".")}function ge(e,t){return!!p9(e.path)&&!!p9(t.path)&&p7(e.path)===p7(t.path)}function gt(e,t,n,r){if(!e.getAttribute("data-sanity")||e.getAttribute("data-sanity-drag-disable")||!t||!p6(t)||!p9(t.path))return null;let o=e.getAttribute("data-sanity-drag-group"),i=[...n].reduce((e,n)=>{let i=r.get(n),a=n.getAttribute("data-sanity-drag-disable"),s=n.getAttribute("data-sanity-drag-group"),l=null!==n.getAttribute("data-sanity");return i?.sanity&&!a&&p6(i.sanity)&&ge(t,i.sanity)&&(null===o||o===s)&&l&&e.push(i),e},[]);return i.length<=1?null:i}let gn=(0,ne.createContext)(null);var gr=e.i(809004);function go(e){let t=function e(t){var n;return!!(n=t)&&("object"==typeof n||"function"==typeof n)&&("reference"===t.name||e(t.type))}(e)&&1===(e.to??[]).length?e.to[0].icon:void 0;return e.icon??e.type?.icon??t}function gi(e,t){return{query:"change query"===t.type?t.query:e.query,groups:"select group"===t.type?e.groups.map(e=>({...e,selected:t.name===e.name})):e.groups,views:"toggle view"===t.type?e.views.map(e=>({...e,selected:t.name===e.name})):e.views}}let ga="all-items",gs={gridTemplateColumns:"repeat(auto-fill, minmax(118px, 1fr))",alignItems:"start"};function gl(e){let t,n,r,o,i,a,s,l,d,c,u,f,h,p,g,m,v=(0,$.c)(54),y=void 0===e.showIcons||e.showIcons,w=void 0===e.filter||"auto"===e.filter?e.schemaTypes.length>5:e.filter;v[0]!==e.groups||v[1]!==e.labels?(t=e.groups?[{name:ga,title:e.labels["insert-menu.filter.all-items"],selected:!0},...e.groups.map(gu)]:[],v[0]=e.groups,v[1]=e.labels,v[2]=t):t=v[2],v[3]!==e.views?(n=e.views??[{name:"list"}],v[3]=e.views,v[4]=n):n=v[4],v[5]!==n?(r=n.map(gc),v[5]=n,v[6]=r):r=v[6],v[7]!==t||v[8]!==r?(o={query:"",groups:t,views:r},v[7]=t,v[8]=r,v[9]=o):o=v[9];let[b,x]=(0,ne.useReducer)(gi,o);if(v[10]!==e||v[11]!==w||v[12]!==y||v[13]!==b.groups||v[14]!==b.query||v[15]!==b.views){var C,k,j;let t,n,r,o=(C=e.schemaTypes,k=b.query,j=b.groups,C.filter(e=>{var t,n;let r,o;return t=e,(!(r=j.find(e=>e.selected))||r.name===ga||r.of?.includes(t.name))&&(n=e,o=k.trim().toLowerCase(),n.title?n.title?.toLowerCase().includes(o):n.name.includes(o))})),p=b.views.find(gd),g=w||b.views.length>1,m=b.groups&&b.groups.length>0,M=g||m;s=hx,h=0,a=uv,c="column",u="fill",v[25]!==M?(t=M?{style:{borderBottom:"1px solid var(--card-border-color)"},paddingBottom:1}:{},v[25]=M,v[26]=t):t=v[26],v[27]!==e.labels||v[28]!==w||v[29]!==g||v[30]!==b.query||v[31]!==b.views?(n=g?(0,E.jsxs)(uv,{flex:"none",align:"center",paddingTop:1,paddingX:1,gap:1,children:[w?(0,E.jsx)(uf,{flex:1,children:(0,E.jsx)(hn,{autoFocus:!0,border:!1,fontSize:1,icon:s6,onChange:e=>{x({type:"change query",query:e.target.value})},placeholder:e.labels["insert-menu.search.placeholder"],value:b.query})}):null,b.views.length>1?(0,E.jsx)(uf,{flex:"none",children:(0,E.jsx)(gp,{views:b.views,onToggle:e=>{x({type:"toggle view",name:e})},labels:e.labels})}):null]}):null,v[27]=e.labels,v[28]=w,v[29]=g,v[30]=b.query,v[31]=b.views,v[32]=n):n=v[32],v[33]!==m||v[34]!==b.groups?(r=m?(0,E.jsx)(uf,{paddingTop:1,paddingX:1,children:(0,E.jsx)(h$,{space:1,children:b.groups.map(e=>(0,E.jsx)(hR,{id:`${e.name}-tab`,"aria-controls":`${e.name}-panel`,label:e.title??(0,gr.default)(e.name),selected:e.selected,onClick:()=>{x({type:"select group",name:e.name})}},e.name))})}):null,v[33]=m,v[34]=b.groups,v[35]=r):r=v[35],v[36]!==t||v[37]!==n||v[38]!==r?(f=(0,E.jsxs)(uf,{...t,children:[n,r]}),v[36]=t,v[37]=n,v[38]=r,v[39]=f):f=v[39],i=uf,l=1,d=0===o.length?(0,E.jsx)(uf,{padding:2,children:(0,E.jsx)(up,{muted:!0,size:1,children:e.labels["insert-menu.search.no-results"]})}):p?"grid"===p.name?(0,E.jsx)(uX,{autoRows:"auto",flex:1,gap:1,style:gs,children:o.map(t=>(0,E.jsx)(gm,{icon:y?go(t):void 0,onClick:()=>{e.onSelect(t)},previewImageUrl:p.previewImageUrl?.(t.name),schemaType:t}
1062,t.name))}):(0,E.jsx)(fD,{flex:1,space:1,children:o.map(t=>(0,E.jsx)(hL,{icon:y?go(t):void 0,onClick:()=>{e.onSelect(t)},text:t.title??(0,gr.default)(t.name)},t.name))}):null,v[10]=e,v[11]=w,v[12]=y,v[13]=b.groups,v[14]=b.query,v[15]=b.views,v[16]=i,v[17]=a,v[18]=s,v[19]=l,v[20]=d,v[21]=c,v[22]=u,v[23]=f,v[24]=h}else i=v[16],a=v[17],s=v[18],l=v[19],d=v[20],c=v[21],u=v[22],f=v[23],h=v[24];return v[40]!==i||v[41]!==l||v[42]!==d?(p=(0,E.jsx)(i,{padding:l,children:d}),v[40]=i,v[41]=l,v[42]=d,v[43]=p):p=v[43],v[44]!==a||v[45]!==p||v[46]!==c||v[47]!==u||v[48]!==f?(g=(0,E.jsxs)(a,{direction:c,height:u,children:[f,p]}),v[44]=a,v[45]=p,v[46]=c,v[47]=u,v[48]=f,v[49]=g):g=v[49],v[50]!==s||v[51]!==g||v[52]!==h?(m=(0,E.jsx)(s,{padding:h,children:g}),v[50]=s,v[51]=g,v[52]=h,v[53]=m):m=v[53],m}function gd(e){return e.selected}function gc(e,t){return{...e,selected:0===t}}function gu(e){return{...e,selected:!1}}let gf={grid:lC,list:lz},gh={grid:"insert-menu.toggle-grid-view.tooltip",list:"insert-menu.toggle-list-view.tooltip"};function gp(e){let t,n,r,o,i=(0,$.c)(11),a=e.views.findIndex(gg),s=e.views[a+1]??e.views[0],l=e.labels[gh[s.name]];i[0]!==l?(t=(0,E.jsx)(up,{size:1,children:l}),i[0]=l,i[1]=t):t=i[1];let d=gf[s.name];return i[2]!==s.name||i[3]!==e?(n=()=>{e.onToggle(s.name)},i[2]=s.name,i[3]=e,i[4]=n):n=i[4],i[5]!==d||i[6]!==n?(r=(0,E.jsx)(uM,{mode:"bleed",icon:d,onClick:n}),i[5]=d,i[6]=n,i[7]=r):r=i[7],i[8]!==t||i[9]!==r?(o=(0,E.jsx)(hu,{content:t,placement:"top",portal:!0,children:r}),i[8]=t,i[9]=r,i[10]=o):o=i[10],o}function gg(e){return e.selected}function gm(e){let t,n,r,o,i,a,s,l,d,c=(0,$.c)(19),[u,f]=(0,ne.useState)(!1),h=e.icon;c[0]===Symbol.for("react.memo_cache_sentinel")?(t={overflow:"hidden"},c[0]=t):t=c[0],c[1]===Symbol.for("react.memo_cache_sentinel")?(n={backgroundColor:"var(--card-muted-bg-color)",paddingBottom:"66.6%",position:"relative"},c[1]=n):n=c[1],c[2]!==h?(r=(0,id.isValidElementType)(h)?(0,E.jsx)(uv,{align:"center",justify:"center",style:{position:"absolute",top:0,left:0,width:"100%",height:"100%"},children:(0,E.jsx)(up,{size:1,children:(0,E.jsx)(h,{})})}):null,c[2]=h,c[3]=r):r=c[3],c[4]!==u||c[5]!==e.previewImageUrl?(o=!e.previewImageUrl||u?null:(0,E.jsx)("img",{src:e.previewImageUrl,style:{objectFit:"contain",width:"100%",height:"100%",position:"absolute",inset:0},onError:()=>{f(!0)}}),c[4]=u,c[5]=e.previewImageUrl,c[6]=o):o=c[6],c[7]===Symbol.for("react.memo_cache_sentinel")?(i=(0,E.jsx)("div",{style:{position:"absolute",top:0,left:0,width:"100%",height:"100%",boxShadow:"inset 0 0 0 0.5px var(--card-fg-color)",opacity:.1}}),c[7]=i):i=c[7],c[8]!==r||c[9]!==o?(a=(0,E.jsxs)(uf,{flex:"none",style:n,children:[r,o,i]}),c[8]=r,c[9]=o,c[10]=a):a=c[10];let p=e.schemaType.title??e.schemaType.name;return c[11]!==p?(s=(0,E.jsx)(uf,{flex:1,padding:2,children:(0,E.jsx)(up,{size:1,weight:"medium",children:p})}),c[11]=p,c[12]=s):s=c[12],c[13]!==a||c[14]!==s?(l=(0,E.jsxs)(uv,{direction:"column",gap:1,padding:1,children:[a,s]}),c[13]=a,c[14]=s,c[15]=l):l=c[15],c[16]!==e.onClick||c[17]!==l?(d=(0,E.jsx)(hL,{padding:0,radius:2,onClick:e.onClick,style:t,children:l}),c[16]=e.onClick,c[17]=l,c[18]=d):d=c[18],d}function gv(e){if(!e)return(0,E.jsx)(al,{});if("string"===e.type)return(0,E.jsx)(lf,{});if("number"===e.type)return(0,E.jsx)(sR,{});let{value:t}=e;if("icon"in e&&e.icon)return(0,E.jsx)("div",{dangerouslySetInnerHTML:{__html:e.icon}});let{type:n}=t;if("string"===n)return(0,E.jsx)(lf,{});if("boolean"===n)return(0,E.jsx)(iq,{});if("number"===n)return(0,E.jsx)(sR,{});if("array"===n||"union"===n)return(Array.isArray(t.of)?t.of:[t.of]).some(e=>"name"in e&&"block"===e.name)?(0,E.jsx)(i$,{}):(0,E.jsx)(lk,{});if("object"===n){if("image"===e.name)return(0,E.jsx)(a9,{});if("block"===e.name)return(0,E.jsx)(lf,{})}return(0,E.jsx)(al,{})}let gy=io` 1063 overflow-y: scroll; 1064 overscroll-behavior: contain; 1065 -ms-overflow-style: none; 1066 scrollbar-width: none; 1067 1068 &:before { 1069 content: ''; 1070 display: block; 1071 height: calc(100% + 1px); 1072 position: absolute; 1073 top: 0; 1074 width: 100%; 1075 z-index: -1; 1076 } 1077`,gw=ii.div` 1078 height: 100%; 1079 inset: 0; 1080 pointer-events: all; 1081 position: fixed; 1082 width: 100%; 1083 display: flex; 1084 justify-content: center; 1085 align-items: center; 1086 1087 ${e=>e.$blockScroll&&gy} 1088`,gb=ii.div` 1089 background: transparent; 1090 height: 100%; 1091 inset: 0; 1092 position: absolute; 1093 width: 100%; 1094`,gx=e=>{let t,n=(0,$.c)(2);return n[0]!==e?(t=(0,E.jsx)(fw,{children:(0,E.jsx)(gC,{...e})}),n[0]=e,n[1]=t):t=n[1],t},gC=e=>{let t,n,r=(0,$.c)(7),{children:o,onDismiss:i,setBoundaryElement:a,blockScroll:s}=e,l=void 0===s||s;return r[0]!==i?(t=(0,E.jsx)(gb,{onMouseDownCapture:()=>{i?.()}}),r[0]=i,r[1]=t):t=r[1],r[2]!==l||r[3]!==o||r[4]!==a||r[5]!==t?(n=(0,E.jsxs)(gw,{"data-sanity-overlay-element":!0,ref:a,onClick:g
1094k,$blockScroll:l,children:[t,o]}),r[2]=l,r[3]=o,r[4]=a,r[5]=t,r[6]=n):n=r[6],n};function gk(e){e.stopPropagation()}function gj(e){return{type:"log",name:e.name,version:e.version,description:e.description,maxSampleRate:e.maxSampleRate,schema:void 0}}let gM={"Visual Editing Drag Sequence Completed":gj({name:"Visual Editing Drag Sequence Completed",description:"An array is successfully reordered using drag and drop.",version:1}),"Visual Editing Drag Minimap Enabled":gj({name:"Visual Editing Drag Minimap Enabled",description:"The zoomed-out minimap view is enabled during a drag sequence.",version:1}),"Visual Editing Context Menu Item Removed":gj({name:"Visual Editing Context Menu Item Removed",description:"An item is removed using the Context Menu.",version:1}),"Visual Editing Context Menu Item Duplicated":gj({name:"Visual Editing Context Menu Item Duplicated",description:"An item is duplicated using the Context Menu.",version:1}),"Visual Editing Context Menu Item Moved":gj({name:"Visual Editing Context Menu Item Moved",description:"An item is moved using the Context Menu.",version:1}),"Visual Editing Context Menu Item Inserted":gj({name:"Visual Editing Context Menu Item Inserted",description:"An item is inserted using the Context Menu.",version:1}),"Visual Editing Insert Menu Item Inserted":gj({name:"Visual Editing Insert Menu Item Inserted",description:"An item is inserted using the Insert Menu.",version:1}),"Visual Editing Overlay Clicked":gj({name:"Visual Editing Overlay Clicked",description:"An Overlay is clicked.",version:1})},gL=(0,ne.createContext)(void 0);function gS(){let e=(0,ne.useContext)(gL);if(!e)throw Error("Telemetry context is missing");return e}let g_={"insert-menu.filter.all-items":"All","insert-menu.search.no-results":"No results","insert-menu.search.placeholder":"Filter typesâ¦","insert-menu.toggle-grid-view.tooltip":"Toggle grid view","insert-menu.toggle-list-view.tooltip":"Toggle list view"},gR=e=>{let t,n,r,o,i=(0,$.c)(11),{node:a,onSelect:s}=e;i[0]!==a.options?.insertMenu?(t=a.options?.insertMenu||{},i[0]=a.options?.insertMenu,i[1]=t):t=i[1];let l=t;i[2]!==l.views?(n=l.views?.map(gE),i[2]=l.views,i[3]=n):n=i[3];let d=n;return i[4]!==a.of?(r=a.of.map(g$),i[4]=a.of,i[5]=r):r=i[5],i[6]!==l||i[7]!==s||i[8]!==r||i[9]!==d?(o=(0,E.jsx)(gl,{...l,labels:g_,schemaTypes:r,onSelect:s,views:d}),i[6]=l,i[7]=s,i[8]=r,i[9]=d,i[10]=o):o=i[10],o};function gE(e){return"grid"===e.name?{...e,previewImageUrl:t=>e.previewImageUrls?.[t]}:e}function g$(e){return{...e,icon:gv(e)}}let gH=e=>{let t,n,r,o,i,a=(0,$.c)(10);return a[0]!==e?({children:t,style:r,...n}=e,a[0]=e,a[1]=t,a[2]=n,a[3]=r):(t=a[1],n=a[2],r=a[3]),a[4]!==r?(o={...r,pointerEvents:"all"},a[4]=r,a[5]=o):o=a[5],a[6]!==t||a[7]!==n||a[8]!==o?(i=(0,E.jsx)("div",{style:o,"data-sanity-overlay-element":!0,...n,children:t}),a[6]=t,a[7]=n,a[8]=o,a[9]=i):i=a[9],i};function gV(e){if(!(e.tabIndex>0||0===e.tabIndex&&null!==e.getAttribute("tabIndex")||(d0(e)?!!e.href&&"ignore"!==e.rel:d1(e)&&"INPUT"===e.nodeName?"hidden"!==e.type&&"file"!==e.type&&!e.disabled:!!(d5(e)||d1(e)&&"SELECT"===e.nodeName||d1(e)&&"TEXTAREA"===e.nodeName)&&!e.disabled)))return!1;try{e.focus()}catch{}return document.activeElement===e}function gI(e){for(let t=0;t<e.childNodes.length;t++){let n=e.childNodes[t];if(d1(n)&&(gV(n)||gI(n)))return!0}return!1}ne.Component;let gO=ii.div.withConfig({displayName:"StyledAutocomplete",componentId:"sc-1igauft-0"})`line-height:0;`,gA=ii(uf).withConfig({displayName:"ListBox",componentId:"sc-1igauft-1"})`& > ul{list-style:none;padding:0;margin:0;}`,gB=is` 1095 from { 1096 transform: rotate(0deg); 1097 } 1098 1099 to { 1100 transform: rotate(360deg); 1101 } 1102`,gz=ii(ln).withConfig({displayName:"AnimatedSpinnerIcon",componentId:"sc-1igauft-2"})`animation:${gB} 500ms linear infinite;`;function gT(e){let t,n,r,o=(0,$.c)(11),{children:i,id:a,onSelect:s,selected:l,value:d}=e;o[0]!==s||o[1]!==d?(t=()=>{setTimeout(()=>{s(d)},0)},o[0]=s,o[1]=d,o[2]=t):t=o[2];let c=t;o[3]!==c?(n=e=>{var t;"Enter"!==e.key||d0(t=e.currentTarget)||d5(t)||c()},o[3]=c,o[4]=n):n=o[4];let u=n;
1102return o[5]!==i||o[6]!==c||o[7]!==u||o[8]!==a||o[9]!==l?(r=(0,E.jsx)("li",{"aria-selected":l,"data-ui":"AutocompleteOption",id:a,role:"option",onClick:c,onKeyDown:u,children:i}),o[5]=i,o[6]=c,o[7]=u,o[8]=a,o[9]=l,o[10]=r):r=o[10],r}function gW(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 gN=["Control","Shift","Alt","Enter","Home","End","PageUp","PageDown","Meta","Tab","CapsLock"],gP=["bottom-start","top-start"],gZ=(e,t)=>t?t.value:e,gF=(e,t)=>t.value.toLowerCase().indexOf(e.toLowerCase())>-1;function gD({renderPopover:e,content:t,hidden:n,inputElement:r,onMouseEnter:o,onMouseLeave:i,resultsPopoverElementRef:a}){return e({content:t,hidden:n,inputElement:r,onMouseEnter:o,onMouseLeave:i},a)}function gq(e){return 0===e?0:1===e||2===e?1:e-2}function gU(e){return Math.max(e-1,0)}(0,ne.forwardRef)(function(e,t){let n,r,o,i,a,s,l,d,c,u,f,h,p,g,m,v,y,w,b,x,C,k,j,M,L,S,_,R,H,V,I,O,A,B,z,T,W,N,P,Z,F,D,q,U,G,Y,K,X,J,Q,ee,et,en,er,eo,ei,ea,es,el,ed,ec,eu,ef,eh,ep=(0,$.c)(181);ep[0]!==e?({border:k,customValidity:n,disabled:r,filterOption:o,fontSize:j,icon:i,id:a,listBox:M,loading:s,onBlur:l,onChange:d,onFocus:c,onQueryChange:u,onSelect:f,openButton:h,openOnFocus:p,options:g,padding:L,popover:S,prefix:m,radius:_,readOnly:v,relatedElements:y,renderOption:w,renderPopover:b,renderValue:R,suffix:C,value:H,...x}=e,ep[0]=e,ep[1]=n,ep[2]=r,ep[3]=o,ep[4]=i,ep[5]=a,ep[6]=s,ep[7]=l,ep[8]=d,ep[9]=c,ep[10]=u,ep[11]=f,ep[12]=h,ep[13]=p,ep[14]=g,ep[15]=m,ep[16]=v,ep[17]=y,ep[18]=w,ep[19]=b,ep[20]=x,ep[21]=C,ep[22]=k,ep[23]=j,ep[24]=M,ep[25]=L,ep[26]=S,ep[27]=_,ep[28]=R,ep[29]=H):(n=ep[1],r=ep[2],o=ep[3],i=ep[4],a=ep[5],s=ep[6],l=ep[7],d=ep[8],c=ep[9],u=ep[10],f=ep[11],h=ep[12],p=ep[13],g=ep[14],m=ep[15],v=ep[16],y=ep[17],w=ep[18],b=ep[19],x=ep[20],C=ep[21],k=ep[22],j=ep[23],M=ep[24],L=ep[25],S=ep[26],_=ep[27],R=ep[28],H=ep[29]);let eg=void 0===k||k,em=void 0===j?2:j,ev=void 0===M?dK:M,ey=void 0===L?3:L,ew=void 0===S?dK:S,eb=void 0===_?2:_,ex=void 0===R?gZ:R,eC=H||null,ek=H||null;ep[30]!==eC||ep[31]!==ek?(V={activeValue:eC,focused:!1,listFocused:!1,query:null,value:ek},ep[30]=eC,ep[31]=ek,ep[32]=V):V=ep[32];let[ej,eM]=(0,ne.useReducer)(gW,V),{activeValue:eL,focused:eS,listFocused:e_,query:eR,value:eE}=ej;ep[33]!==em||ep[34]!==ey?(I=e=>{let{value:t}=e;return(0,E.jsx)(uS,{"data-as":"button",padding:ey,radius:2,tone:"inherit",children:(0,E.jsx)(up,{size:em,textOverflow:"ellipsis",children:t})})},ep[33]=em,ep[34]=ey,ep[35]=I):I=ep[35];let e$="function"==typeof w?w:I,eH="function"==typeof o?o:gF,eV=(0,ne.useRef)(null),eI=(0,ne.useRef)(null),eO=(0,ne.useRef)(null),eA=(0,ne.useRef)(null),[eB,ez]=(0,ne.useState)(null);ep[36]===Symbol.for("react.memo_cache_sentinel")?(O=e=>{(0,ne.startTransition)(()=>ez(e))},ep[36]=O):O=ep[36];let eT=O,eW=(0,ne.useRef)(!1),eN=(0,ne.useRef)(eE),eP=(0,ne.useRef)(H),eZ=(0,ne.useRef)(!1);ep[37]!==eB?(A=()=>eB,B=[eB],ep[37]=eB,ep[38]=A,ep[39]=B):(A=ep[38],B=ep[39]),(0,ne.useImperativeHandle)(eO,A,B),ep[40]!==eB?(z=()=>eB,T=[eB],ep[40]=eB,ep[41]=z,ep[42]=T):(z=ep[41],T=ep[42]),(0,ne.useImperativeHandle)(t,z,T);let eF=`${a}-listbox`,eD=Array.isArray(g)?g:dY,eq=d6(ey);ep[43]!==eD||ep[44]!==eE?(W=null!==eE?eD.find(e=>e.value===eE):void 0,ep[43]=eD,ep[44]=eE,ep[45]=W):W=ep[45];let eU=W;if(ep[46]!==eH||ep[47]!==eD||ep[48]!==eR){let e;ep[50]!==eH||ep[51]!==eR?(e=e=>!eR||eH(eR,e),ep[50]=eH,ep[51]=eR,ep[52]=e):e=ep[52],N=eD.filter(e),ep[46]=eH,ep[47]=eD,ep[48]=eR,ep[49]=N}else N=ep[49];let eG=N,eY=eG.length,eK=eL?`${a}-option-${eL}`:void 0,eX=null!==eR&&s||eS&&null!==eR;ep[53]!==l||ep[54]!==u||ep[55]!==y?(P=e=>{setTimeout(()=>{if(eZ.current)return;let t=(y||[]).concat(eV.current?[eV.current]:[],eI.current?[eI.current]:[]),n=!1;if(document.activeElement){for(let e of t)if(e===document.activeElement||e.contains(document.activeElement)){n=!0;break}}!1===n&&(eM({type:"root/blur"}),eZ.current=!1,u&&u(null),l&&l(e))},0)},ep[53]=l,ep[54]=u,ep[55]=y,ep[56]=P):P=ep[56];let eJ=P;ep[57]===Symbol.for("react.memo_cache_sentinel")?(Z=e=>{let t=eA.current,n=e.target instanceof HTMLElement?e.target:null,r=t?.contains(n)||!1;r!==eW.current&&(eW.current=r,eM({type:"root/setListFocused",listFocused:r}))},ep[57]=Z):Z=ep[57];let eQ=Z;ep[58]!==d||ep[59]!==u||ep[60]!==f?(F=e=>{eM({type:"value/change",value:e}),eZ.current=!1,f&&f(e),eN.current=e,d&&d(e),u&&u(null),eO.current?.focus()},ep[58]=d,ep[59]=u,ep[60]=f,ep[61]=F):F=ep[61];let e1=F;ep[62]!==eL||ep[63]!==eG||ep[64]!==eY||ep[65]!==u?(D=e=>{if("ArrowDown"===e.key){if(e.preventDefault(),!eY)return;let t=eG.find(e=>e.value===eL),n=t?eG.indexOf(t):-1,r=eG[(n+1)%eY];r&&eM({type:"root/setActiveValue",value:r.value,listFocused:!0});return}if("ArrowUp"===e.key){if(e.preventDefault(),!eY)return;let t=eG.find(e=>e.value===eL),n=t?eG.indexOf(t):-1,r=eG[-1===n?eY-1:(eY+n-1)%eY];r&&eM({type:"root/setActiveValue",value:r.value,listFocused:!0});return}if("Escape"===e.key){eM({type:"root/escape"}),eZ.current=!1,u&&u(null),eO.current?.focus();return}let t=e.target,n=eA.current;
1102if((n===t||n?.contains(t))&&!gN.includes(e.key))return void eO.current?.focus()},ep[62]=eL,ep[63]=eG,ep[64]=eY,ep[65]=u,ep[66]=D):D=ep[66];let e0=D;ep[67]!==u?(q=e=>{let t=e.currentTarget.value;eM({type:"input/change",query:t}),u&&u(t)},ep[67]=u,ep[68]=q):q=ep[68];let e5=q;ep[69]!==eU||ep[70]!==ex||ep[71]!==eE?(U=()=>{eM({type:"root/open",query:eE?ex(eE,eU):""})},ep[69]=eU,ep[70]=ex,ep[71]=eE,ep[72]=U):U=ep[72];let e2=U;ep[73]!==e2||ep[74]!==eS||ep[75]!==c||ep[76]!==p?(G=e=>{eS||(eM({type:"input/focus"}),c&&c(e),p&&e2())},ep[73]=e2,ep[74]=eS,ep[75]=c,ep[76]=p,ep[77]=G):G=ep[77];let e3=G;ep[78]===Symbol.for("react.memo_cache_sentinel")?(Y=()=>{eZ.current=!0},ep[78]=Y):Y=ep[78];let e4=Y;ep[79]===Symbol.for("react.memo_cache_sentinel")?(K=()=>{eZ.current=!1},ep[79]=K):K=ep[79];let e6=K;ep[80]!==d||ep[81]!==u?(X=()=>{eM({type:"root/clear"}),eN.current="",d&&d(""),u&&u(null),eO.current?.focus()},ep[80]=d,ep[81]=u,ep[82]=X):X=ep[82];let e8=X;ep[83]===Symbol.for("react.memo_cache_sentinel")?(J=()=>{eM({type:"input/focus"})},ep[83]=J):J=ep[83];let e9=J;ep[84]!==H?(Q=()=>{if(H!==eP.current){eP.current=H,void 0!==H&&(eM({type:"value/change",value:H}),eN.current=H);return}H!==eN.current&&(eN.current=H||null,eM({type:"value/change",value:H||null}))},ee=[H],ep[84]=H,ep[85]=Q,ep[86]=ee):(Q=ep[85],ee=ep[86]),(0,ne.useEffect)(Q,ee),ep[87]!==eS?(et=()=>{!eS&&eN.current&&eM({type:"root/setActiveValue",value:eN.current})},en=[eS],ep[87]=eS,ep[88]=et,ep[89]=en):(et=ep[88],en=ep[89]),(0,ne.useEffect)(et,en),ep[90]!==eL||ep[91]!==eG?(er=()=>{let e=eA.current;if(!e)return;let t=eG.find(e=>e.value===eL);if(t){let n=eG.indexOf(t),r=e.childNodes[n];if(r){if(document.activeElement&&r.contains(document.activeElement))return;gI(r)}}},eo=[eL,eG],ep[90]=eL,ep[91]=eG,ep[92]=er,ep[93]=eo):(er=ep[92],eo=ep[93]),(0,ne.useEffect)(er,eo);t:{if(!s&&!r&&eE){let e;ep[94]===Symbol.for("react.memo_cache_sentinel")?(e={"aria-label":"Clear",onFocus:e9},ep[94]=e):e=ep[94],ei=e;break t}ei=void 0}let e7=ei,te=eq.map(gq),tt=eq.map(gU),tn="object"==typeof h?h:dK;ep[95]!==e2||ep[96]!==tn?(ea=e=>{let t;e2(),tn.onClick&&tn.onClick(e),t=requestAnimationFrame(()=>eO.current?.focus()),()=>{cancelAnimationFrame(t)}},ep[95]=e2,ep[96]=tn,ep[97]=ea):ea=ep[97];let tr=ea;ep[98]!==r||ep[99]!==eX||ep[100]!==em||ep[101]!==tr||ep[102]!==h||ep[103]!==te||ep[104]!==tt||ep[105]!==tn||ep[106]!==v?(es=r||v||!h?void 0:(0,E.jsx)(uf,{"aria-hidden":eX,padding:te,children:(0,E.jsx)(uM,{"aria-label":"Open",disabled:eX,fontSize:em,icon:iG,mode:"bleed",padding:tt,...tn,onClick:tr})}),ep[98]=r,ep[99]=eX,ep[100]=em,ep[101]=tr,ep[102]=h,ep[103]=te,ep[104]=tt,ep[105]=tn,ep[106]=v,ep[107]=es):es=ep[107];let to=es;n:{if(null===eR){if(null!==eE){let e;ep[108]!==eU||ep[109]!==ex||ep[110]!==eE?(e=ex(eE,eU),ep[108]=eU,ep[109]=ex,ep[110]=eE,ep[111]=e):e=ep[111],el=e;break n}el="";break n}el=eR}let ti=el;ep[112]!==e_?(ed=e=>{"Tab"===e.key&&e_&&eO.current?.focus()},ep[112]=e_,ep[113]=ed):ed=ep[113];let ta=ed;r:{let e,t,n;if(0===eG.length){ec=null;break r}if(ep[114]!==eL||ep[115]!==eU||ep[116]!==eG||ep[117]!==e1||ep[118]!==a||ep[119]!==e_||ep[120]!==s||ep[121]!==e$){let t;ep[123]!==eL||ep[124]!==eU||ep[125]!==e1||ep[126]!==a||ep[127]!==e_||ep[128]!==s||ep[129]!==e$?(t=e=>{let t=null!==eL?e.value===eL:eU===e;return(0,E.jsx)(gT,{id:`${a}-option-${e.value}`,onSelect:e1,selected:t,value:e.value,children:(0,ne.cloneElement)(e$(e),{disabled:s,selected:t,tabIndex:e_&&t?0:-1})},e.value)},ep[123]=eL,ep[124]=eU,ep[125]=e1,ep[126]=a,ep[127]=e_,ep[128]=s,ep[129]=e$,ep[130]=t):t=ep[130],e=eG.map(t),ep[114]=eL,ep[115]=eU,ep[116]=eG,ep[117]=e1,ep[118]=a,ep[119]=e_,ep[120]=s,ep[121]=e$,ep[122]=e}else e=ep[122];ep[131]!==eF||ep[132]!==e?(t=(0,E.jsx)(fD,{as:"ul","aria-multiselectable":!1,"data-ui":"AutoComplete__resultsList",id:eF,ref:eA,role:"listbox",space:1,children:e}),ep[131]=eF,ep[132]=e,ep[133]=t):t=ep[133],ep[134]!==ta||ep[135]!==ev||ep[136]!==t?(n=(0,E.jsx)(gA,{"data-ui":"AutoComplete__results",onKeyDown:ta,padding:1,...ev,tabIndex:-1,children:t}),ep[134]=ta,ep[135]=ev,ep[136]=t,ep[137]=n):n=ep[137],ec=n}let ts=ec;o:{let e;if(b){let e,t=!eX;ep[138]!==ts||ep[139]!==e4||ep[140]!==e6||ep[141]!==eB||ep[142]!==b||ep[143]!==t?(e=(0,E.jsx)(gD,{content:ts,hidden:t,inputElement:eB,onMouseEnter:e4,onMouseLeave:e6,resultsPopoverElementRef:eI,renderPopover:b}),ep[138]=ts,ep[139]=e4,ep[140]=e6,ep[141]=eB,ep[142]=b,ep[143]=t,ep[144]=e):e=ep[144],eu=e;break o}if(0===eY){eu=null;break o}ep[145]!==ts||ep[146]!==eX||ep[147]!==e4||ep[148]!==e6||ep[149]!==eB||ep[150]!==ew||ep[151]!==eb?(e=(0,E.jsx)(fI,{arrow:!1,constrainSize:!0,content:ts,fallbackPlacements:gP,matchReferenceWidth:!0,onMouseEnter:e4,onMouseLeave:e6,open:eX,overflow:"auto",placement:"bottom-start",portal:!0,radius:eb,ref:eI,referenceElement:eB,...ew}),ep[145]=ts,ep[146]=eX,ep[147]=e4,ep[148]=e6,ep[149]=eB,ep[150]=ew,ep[151]=eb,ep[152]=e):e=ep[152],eu=e}let tl=eu,td=s&&gz,tc=C||to;return ep[153]!==eK||ep[154]!==eg||ep[155]!==e7||ep[156]!==n||ep[157]!==r||ep[158]!==eX||ep[159]!==em||ep[160]!==e8||ep[161]!==e5||ep[162]!==e3||ep[163]!==i||ep[164]!==a||ep[165]!==ti||ep[166]!==eF||ep[167]!==eq||ep[168]!==m||ep[169]!==eb||ep[170]!==v||ep[171]!==x||ep[172]!==td||ep[173]!==tc?(ef=(0,E.jsx)(hn,{...x,"aria-activedescendant":eK,"aria-autocomplete":"list","aria-expanded":eX,"aria-owns":eF,autoCapitalize:"off",autoComplete:"off",autoCorrect:"off",border:eg,clearButton:e7,customValidity:n,disabled:r,fontSize:em,icon:i,iconRight:td,id:a,inputMode:"search",onChange:e5,onClear:e8,onFocus:e3,padding:eq,prefix:m,radiu
1102s:eb,readOnly:v,ref:eT,role:"combobox",spellCheck:!1,suffix:tc,value:ti}),ep[153]=eK,ep[154]=eg,ep[155]=e7,ep[156]=n,ep[157]=r,ep[158]=eX,ep[159]=em,ep[160]=e8,ep[161]=e5,ep[162]=e3,ep[163]=i,ep[164]=a,ep[165]=ti,ep[166]=eF,ep[167]=eq,ep[168]=m,ep[169]=eb,ep[170]=v,ep[171]=x,ep[172]=td,ep[173]=tc,ep[174]=ef):ef=ep[174],ep[175]!==eJ||ep[176]!==eQ||ep[177]!==e0||ep[178]!==tl||ep[179]!==ef?(eh=(0,E.jsxs)(gO,{"data-ui":"Autocomplete",onBlur:eJ,onFocus:eQ,onKeyDown:e0,ref:eV,children:[ef,tl]}),ep[175]=eJ,ep[176]=eQ,ep[177]=e0,ep[178]=tl,ep[179]=ef,ep[180]=eh):eh=ep[180],eh}).displayName="ForwardRef(Autocomplete)";let gG=ii.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;`,gY=ii(uM).withConfig({displayName:"ExpandButton",componentId:"sc-1es8h8q-1"})`appearance:none;margin:-4px;`;(0,ne.forwardRef)(function(e,t){let n,r,o,i,a,s,l,d,c,u,f,h,p,g=(0,$.c)(29);g[0]!==e?({children:n,maxLength:r,separator:i,space:a,...o}=e,g[0]=e,g[1]=n,g[2]=r,g[3]=o,g[4]=i,g[5]=a):(n=g[1],r=g[2],o=g[3],i=g[4],a=g[5]);let m=void 0===a?2:a;g[6]!==m?(s=d6(m),g[6]=m,g[7]=s):s=g[7];let v=s,[y,w]=(0,ne.useState)(!1),b=(0,ne.useRef)(null),x=(0,ne.useRef)(null);g[8]===Symbol.for("react.memo_cache_sentinel")?(l=()=>w(!1),g[8]=l):l=g[8];let C=l;g[9]===Symbol.for("react.memo_cache_sentinel")?(d=()=>w(!0),g[9]=d):d=g[9];let k=d;g[10]===Symbol.for("react.memo_cache_sentinel")?(c=()=>[b.current,x.current],g[10]=c):c=g[10],u_(C,c),g[11]!==n?(u=ne.Children.toArray(n).filter(ne.isValidElement),g[11]=n,g[12]=u):u=g[12];let j=u;g[13]!==r||g[14]!==y||g[15]!==j||g[16]!==v?(f={collapse:C,expand:k,expandElementRef:b,maxLength:r,open:y,popoverElementRef:x,rawItems:j,space:v},g[13]=r,g[14]=y,g[15]=j,g[16]=v,g[17]=f):f=g[17];let M=function(e){let t=(0,$.c)(28),{collapse:n,expand:r,expandElementRef:o,maxLength:i,open:a,popoverElementRef:s,rawItems:l,space:d}=e,c=l.length;if(i&&c>i){let e,u=Math.ceil(i/2),f=Math.floor(i/2);if(t[0]!==f||t[1]!==u||t[2]!==n||t[3]!==r||t[4]!==o||t[5]!==c||t[6]!==a||t[7]!==s||t[8]!==l||t[9]!==d){let i,h,p,g,m=l.slice(0,u-1);t[11]!==f||t[12]!==u||t[13]!==c||t[14]!==l?(i=l.slice(u-1,c-f),t[11]=f,t[12]=u,t[13]=c,t[14]=l,t[15]=i):i=t[15],t[16]!==d||t[17]!==i?(h=(0,E.jsx)(fD,{as:"ol",overflow:"auto",padding:d,space:d,children:i}),t[16]=d,t[17]=i,t[18]=h):h=t[18];let v=a?n:r;t[19]!==o||t[20]!==a||t[21]!==v?(p=(0,E.jsx)(gY,{fontSize:1,mode:"bleed",onClick:v,padding:1,ref:o,selected:a,text:"â¦"}),t[19]=o,t[20]=a,t[21]=v,t[22]=p):p=t[22],t[23]!==a||t[24]!==s||t[25]!==h||t[26]!==p?(g=(0,E.jsx)(fI,{constrainSize:!0,content:h,open:a,placement:"top",portal:!0,ref:s,children:p},"button"),t[23]=a,t[24]=s,t[25]=h,t[26]=p,t[27]=g):g=t[27],e=[...m,g,...l.slice(c-f)],t[0]=f,t[1]=u,t[2]=n,t[3]=r,t[4]=o,t[5]=c,t[6]=a,t[7]=s,t[8]=l,t[9]=d,t[10]=e}else e=t[10];return e}return l}(f);if(g[18]!==M||g[19]!==i||g[20]!==v){let e;g[22]!==i||g[23]!==v?(e=(e,t)=>(0,E.jsxs)(ne.Fragment,{children:[t>0&&(0,E.jsx)(uf,{"aria-hidden":!0,as:"li",paddingX:v,children:i||(0,E.jsx)(up,{muted:!0,children:"/"})}),(0,E.jsx)(uf,{as:"li",children:e})]},t),g[22]=i,g[23]=v,g[24]=e):e=g[24],h=M.map(e),g[18]=M,g[19]=i,g[20]=v,g[21]=h}else h=g[21];return g[25]!==t||g[26]!==o||g[27]!==h?(p=(0,E.jsx)(gG,{"data-ui":"Breadcrumbs",...o,ref:t,children:h}),g[25]=t,g[26]=o,g[27]=h,g[28]=p):p=g[28],p}).displayName="ForwardRef(Breadcrumbs)";let gK=ct("@sanity/ui/context/dialog",{version:0});function gX(e,t,n){return!e||!t||d2(e,n)||d2(t,n)}let gJ=ii(fp).withConfig({displayName:"StyledDialog",componentId:"sc-4n4xb3-0"})(c5,function({theme:e}){let{color:t}=nv(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}=nv(e.theme);return d4(t,e.$position,e=>({"&&":{position:e}}))},function(e){return e.$animate?io` 1103 @keyframes zoomIn { 1104 from { 1105 opacity: 0; 1106 transform: scale(0.95); 1107 } 1108 to { 1109 opacity: 1; 1110 transform: scale(1); 1111 } 1112 }
1113 @keyframes fadeIn { 1114 from { 1115 opacity: 0; 1116 } 1117 to { 1118 opacity: 1; 1119 } 1120 } 1121 1122 animation: fadeIn 200ms ease-out; 1123 // Animates the dialog card. 1124 & > [data-ui='DialogCard'] { 1125 animation: zoomIn 200ms ease-out; 1126 } 1127 `:io``}),gQ=ii(uY).withConfig({displayName:"DialogContainer",componentId:"sc-4n4xb3-1"})`&:not([hidden]){display:flex;}width:100%;height:100%;flex-direction:column;align-items:center;justify-content:center;`,g1=ii(uS).withConfig({displayName:"DialogCardRoot",componentId:"sc-4n4xb3-2"})`&:not([hidden]){display:flex;}width:100%;min-height:0;max-height:100%;overflow:hidden;overflow:clip;`,g0=ii(uv).withConfig({displayName:"DialogLayout",componentId:"sc-4n4xb3-3"})`flex:1;min-height:0;width:100%;`,g5=ii(uf).withConfig({displayName:"DialogHeader",componentId:"sc-4n4xb3-4"})`position:relative;z-index:2;`,g2=ii(uf).withConfig({displayName:"DialogContent",componentId:"sc-4n4xb3-5"})`position:relative;z-index:1;overflow:auto;outline:none;`,g3=ii(uf).withConfig({displayName:"DialogFooter",componentId:"sc-4n4xb3-6"})`position:relative;z-index:3;`,g4=(0,ne.forwardRef)(function(e,t){let n,r,o,i,a,s,l,d,c,u,f,h,p,g,m,v,y=(0,$.c)(44),{__unstable_autoFocus:w,__unstable_hideCloseButton:b,children:x,contentRef:C,footer:k,header:j,id:M,onClickOutside:L,onClose:S,portal:_,radius:R,scheme:H,shadow:V,width:I}=e,O=fy(),A=_?O.elements?.[_]||null:O.element,B=fi().element;y[0]!==R?(n=d6(R),y[0]=R,y[1]=n):n=y[1];let z=n;y[2]!==V?(r=d6(V),y[2]=V,y[3]=r):r=y[3];let T=r;y[4]!==I?(o=d6(I),y[4]=I,y[5]=o):o=y[5];let W=o,N=(0,ne.useRef)(null),P=(0,ne.useRef)(null),{isTopLayer:Z}=fu(),F=`${M}_label`,D=!!S&&!1===b,q=!!j||D;return y[6]===Symbol.for("react.memo_cache_sentinel")?(i=()=>N.current,y[6]=i):i=y[6],(0,ne.useImperativeHandle)(t,i),y[7]===Symbol.for("react.memo_cache_sentinel")?(a=()=>P.current,y[7]=a):a=y[7],(0,ne.useImperativeHandle)(C,a),y[8]!==w?(s=()=>{w&&N.current&&gI(N.current)},l=[w,N],y[8]=w,y[9]=s,y[10]=l):(s=y[9],l=y[10]),(0,ne.useEffect)(s,l),y[11]!==B||y[12]!==Z||y[13]!==S||y[14]!==A?(d=e=>{if(!Z||!S)return;let t=document.activeElement;t&&!gX(B,A,t)||"Escape"===e.key&&(e.preventDefault(),e.stopPropagation(),S())},y[11]=B,y[12]=Z,y[13]=S,y[14]=A,y[15]=d):d=y[15],uI(d),y[16]!==B||y[17]!==Z||y[18]!==L||y[19]!==A?(c=Z&&L&&(e=>{let t=e.target;t&&!gX(B,A,t)||L()}),y[16]=B,y[17]=Z,y[18]=L,y[19]=A,y[20]=c):c=y[20],y[21]===Symbol.for("react.memo_cache_sentinel")?(u=()=>[N.current],y[21]=u):u=y[21],u_(c,u),y[22]!==j||y[23]!==F||y[24]!==S||y[25]!==D||y[26]!==q?(f=q&&(0,E.jsx)(g5,{children:(0,E.jsxs)(uv,{al
1127ign:"flex-start",padding:3,children:[(0,E.jsx)(uf,{flex:1,padding:2,children:j&&(0,E.jsx)(up,{id:F,size:1,weight:"semibold",children:j})}),D&&(0,E.jsx)(uf,{flex:"none",children:(0,E.jsx)(uM,{"aria-label":"Close dialog",disabled:!S,icon:i2,mode:"bleed",onClick:S,padding:2})})]})}),y[22]=j,y[23]=F,y[24]=S,y[25]=D,y[26]=q,y[27]=f):f=y[27],y[28]!==x?(h=(0,E.jsx)(g2,{flex:1,ref:P,tabIndex:-1,children:x}),y[28]=x,y[29]=h):h=y[29],y[30]!==k?(p=k&&(0,E.jsx)(g3,{children:k}),y[30]=k,y[31]=p):p=y[31],y[32]!==f||y[33]!==h||y[34]!==p?(g=(0,E.jsxs)(g0,{direction:"column",children:[f,h,p]}),y[32]=f,y[33]=h,y[34]=p,y[35]=g):g=y[35],y[36]!==z||y[37]!==H||y[38]!==T||y[39]!==g?(m=(0,E.jsx)(g1,{radius:z,ref:N,scheme:H,shadow:T,children:g}),y[36]=z,y[37]=H,y[38]=T,y[39]=g,y[40]=m):m=y[40],y[41]!==m||y[42]!==W?(v=(0,E.jsx)(gQ,{"data-ui":"DialogCard",width:W,children:m}),y[41]=m,y[42]=W,y[43]=v):v=y[43],v});g4.displayName="ForwardRef(DialogCard)",(0,ne.forwardRef)(function(e,t){let n,r,o,i,a,s,l,d,c,u,f,h,p,g,m,v,y,w,b,x,C,k,j,M,L,S,_,R,H,V,I,O,A,B=(0,$.c)(70),z=(0,ne.useContext)(gK),{layer:T}=ca();B[0]!==e?({__unstable_autoFocus:m,__unstable_hideCloseButton:v,cardRadius:y,cardShadow:w,children:o,contentRef:i,footer:a,header:s,id:l,onActivate:d,onClickOutside:c,onClose:u,onFocus:f,padding:b,portal:h,position:n,scheme:g,width:x,zOffset:r,animate:C,...p}=e,B[0]=e,B[1]=n,B[2]=r,B[3]=o,B[4]=i,B[5]=a,B[6]=s,B[7]=l,B[8]=d,B[9]=c,B[10]=u,B[11]=f,B[12]=h,B[13]=p,B[14]=g,B[15]=m,B[16]=v,B[17]=y,B[18]=w,B[19]=b,B[20]=x,B[21]=C):(n=B[1],r=B[2],o=B[3],i=B[4],a=B[5],s=B[6],l=B[7],d=B[8],c=B[9],u=B[10],f=B[11],h=B[12],p=B[13],g=B[14],m=B[15],v=B[16],y=B[17],w=B[18],b=B[19],x=B[20],C=B[21]);let W=void 0===m||m,N=void 0!==v&&v,P=void 0===y?4:y,Z=void 0===w?3:w,F=void 0===b?3:b,D=void 0===x?0:x,q=void 0!==C&&C,U=n??(z.position||"fixed"),G=r??(z.zOffset||T.dialog.zOffset),Y=!uW()&&q,K=fy(),X=h?K.elements?.[h]||null:K.element,J=fi().element;B[22]!==P?(k=d6(P),B[22]=P,B[23]=k):k=B[23];let Q=k;B[24]!==F?(j=d6(F),B[24]=F,B[25]=j):j=B[25];let ee=j;B[26]!==U?(M=d6(U),B[26]=U,B[27]=M):M=B[27];let et=M;B[28]!==D?(L=d6(D),B[28]=D,B[29]=L):L=B[29];let en=L;B[30]!==G?(S=d6(G),B[30]=G,B[31]=S):S=B[31];let er=S,eo=(0,ne.useRef)(null),ei=(0,ne.useRef)(null),ea=(0,ne.useRef)(null),es=(0,ne.useRef)(null);B[32]!==f?(_=e=>{f?.(e);let t=e.target,n=ea.current;n&&t===eo.current?function e(t){for(let n=t.childNodes.length-1;n>=0;n--){let r=t.childNodes[n];if(d1(r)&&(gV(r)||e(r)))return!0}return!1}(n):n&&t===ei.current?gI(n):d1(e.target)&&(es.current=e.target)},B[32]=f,B[33]=_):_=B[33];let el=_,ed=`${l}_label`,ec=(0,ne.useRef)(void 0);B[34]!==J||B[35]!==X?(R=()=>{ec.current&&clearTimeout(ec.current),ec.current=setTimeout(()=>{let e=document.activeElement;if(e&&!gX(J,X,e)){let e=es.current;if(!e||!document.body.contains(e)){let e=ea.current;e&&gI(e);return}
1127e.focus()}},0)},B[34]=J,B[35]=X,B[36]=R):R=B[36];let eu=R;return B[37]===Symbol.for("react.memo_cache_sentinel")?(H=(0,E.jsx)("div",{ref:eo,tabIndex:0}),B[37]=H):H=B[37],B[38]!==W||B[39]!==Q||B[40]!==Z||B[41]!==o||B[42]!==i||B[43]!==a||B[44]!==s||B[45]!==N||B[46]!==l||B[47]!==c||B[48]!==u||B[49]!==h||B[50]!==g||B[51]!==en?(V=(0,E.jsx)(g4,{__unstable_autoFocus:W,__unstable_hideCloseButton:N,contentRef:i,footer:a,header:s,id:l,onClickOutside:c,onClose:u,portal:h,radius:Q,ref:ea,scheme:g,shadow:Z,width:en,children:o}),B[38]=W,B[39]=Q,B[40]=Z,B[41]=o,B[42]=i,B[43]=a,B[44]=s,B[45]=N,B[46]=l,B[47]=c,B[48]=u,B[49]=h,B[50]=g,B[51]=en,B[52]=V):V=B[52],B[53]===Symbol.for("react.memo_cache_sentinel")?(I=(0,E.jsx)("div",{ref:ei,tabIndex:0}),B[53]=I):I=B[53],B[54]!==Y||B[55]!==el||B[56]!==eu||B[57]!==l||B[58]!==ed||B[59]!==d||B[60]!==ee||B[61]!==et||B[62]!==t||B[63]!==p||B[64]!==V||B[65]!==er?(O=(0,E.jsxs)(gJ,{...p,$animate:Y,$padding:ee,$position:et,"aria-labelledby":ed,"aria-modal":!0,"data-ui":"Dialog",id:l,onActivate:d,onClick:eu,onFocus:el,ref:t,role:"dialog",zOffset:er,children:[H,V,I]}),B[54]=Y,B[55]=el,B[56]=eu,B[57]=l,B[58]=ed,B[59]=d,B[60]=ee,B[61]=et,B[62]=t,B[63]=p,B[64]=V,B[65]=er,B[66]=O):O=B[66],B[67]!==h||B[68]!==O?(A=(0,E.jsx)(fw,{__unstable_name:h,children:O}),B[67]=h,B[68]=O,B[69]=A):A=B[69],A}).displayName="ForwardRef(Dialog)";let g6=(0,ne.forwardRef)(function(e,t){let n,r,o,i,a,s,l,d,c,u,f,h,p,g,m,v,y,w,b,x,C,k,j,M=(0,$.c)(62),{__unstable_disableRestoreFocusOnClose:L,boundaryElement:S,button:_,id:R,menu:H,onClose:V,onOpen:I,placement:O,popoverScheme:A,portal:B,popover:z,popoverRadius:T,preventOverflow:W}=e,N=void 0!==L&&L,P=void 0===B||B,[Z,F]=(0,ne.useState)(!1),[D,q]=(0,ne.useState)(null),[U,G]=(0,ne.useState)(null);M[0]===Symbol.for("react.memo_cache_sentinel")?(n=[],M[0]=n):n=M[0];let[Y,K]=(0,ne.useState)(n),X=(0,ne.useRef)(Z);M[1]!==I||M[2]!==Z?(r=()=>{I&&Z&&!X.current&&I()},o=[I,Z],M[1]=I,M[2]=Z,M[3]=r,M[4]=o):(r=M[3],o=M[4]),(0,ne.useEffect)(r,o),M[5]!==V||M[6]!==Z?(i=()=>{V&&!Z&&X.current&&V()},a=[V,Z],M[5]=V,M[6]=Z,M[7]=i,M[8]=a):(i=M[7],a=M[8]),(0,ne.useEffect)(i,a),M[9]!==Z?(s=()=>{X.current=Z},l=[Z],M[9]=Z,M[10]=s,M[11]=l):(s=M[10],l=M[11]),(0,ne.useEffect)(s,l),M[12]===Symbol.for("react.memo_cache_sentinel")?(d=()=>{F(g8),q(null)},M[12]=d):d=M[12];let J=d;M[13]!==Z?(c=e=>{Z&&e.preventDefault()},M[13]=Z,M[14]=c):c=M[14];let Q=c;M[15]===Symbol.for("react.memo_cache_sentinel")?(u=e=>{if("ArrowDown"===e.key||"Enter"===e.key||" "===e.key){e.preventDefault(),F(!0),q("first");return}if("ArrowUp"===e.key){e.preventDefault(),F(!0),q("last");return}},M[15]=u):u=M[15];let ee=u;M[16]!==U||M[17]!==Y?(f=e=>{let t=e.target;if(t instanceof Node&&!(U&&(t===U||U.contains(t)))){for(let e of Y)if(t===e||e.contains(t))return;F(!1)}},M[16]=U,M[17]=Y,M[18]=f):f=M[18];let et=f;M[19]!==U||M[20]!==N?(h=()=>{F(!1),!N&&U&&U.focus()},M[19]=U,M[20]=N,M[21]=h):h=M[21];let en=h;M[22]!==Y?(p=e=>{let t=e.relatedTarget;if(t instanceof Node){for(let e of Y)if(e===t||e.contains(t))return;F(!1)}},M[22]=Y,M[23]=p):p=M[23];let er=p;M[24]!==U||M[25]!==N?(g=()=>{F(!1),!N&&U&&U.focus()},M[24]=U,M[25]=N,M[26]=g):g=M[26];let eo=g;M[27]===Symbol.for("react.memo_cache_sentinel")?(m=e=>(K(t=>t.concat([e])),()=>K(t=>t.filter(t=>t!==e))),M[27]=m):m=M[27];let ei=m;M[28]!==U||M[29]!==er||M[30]!==eo||M[31]!==et||M[32]!==en||M[33]!==R||M[34]!==H||M[35]!==D?(v=H&&(0,ne.cloneElement)(H,{"aria-labelledby":R,onBlurCapture:er,onClickOutside:et,onEscape:en,onItemClick:eo,originElement:U,registerElement:ei,shouldFocus:D}),M[28]=U,M[29]=er,M[30]=eo,M[31]=et,M[32]=en,M[33]=R,M[34]=H,M[35]=D,M[36]=v):v=M[36];let ea=v;M[37]!==_||M[38]!==Q||M[39]!==R||M[40]!==Z?(y=_&&(0,ne.cloneElement)(_,{"data-ui":"MenuButton",id:R,onClick:J,onKeyDown:ee,onMouseDown:Q,"aria-haspopup":!0,"aria-expanded":Z,ref:G,selected:_.props.selected??Z}),M[37]=_,M[38]=Q,M[39]=R,M[40]=Z,M[41]=y):y=M[41];let es=y;M[42]!==U?(w=()=>U,b=[U],M[42]=U,M[43]=w,M[44]=b):(w=M[43],b=M[44]),(0,ne.useImperativeHandle)(t,w,b),M[45]!==z?(x=z||{},M[45]=z,M[46]=x):x=M[46],M[47]!==S||M[48]!==O||M[49]!==T||M[50]!==A||M[51]!==P||M[52]!==W||M[53]!==x?(C={boundaryElement:S,overflow:"auto",placement:O,portal:P,preventOverflow:W,radius:T,scheme:A,...x},M[47]=S,M[48]=O,M[49]=T,M[50]=A,M[51]=P,M[52]=W,M[53]=x,M[54]=C):C=M[54];let el=C;return M[55]!==es?(k=es||(0,E.jsx)(E.Fragment,{}),M[55]=es,M[56]=k):k=M[56],M[57]!==ea||M[58]!==Z||M[59]!==el||M[60]!==k?(j=(0,E.jsx)(fI,{"data-ui":"MenuButton__popover",...el,content:ea,open:Z,children:k}),M[57]=ea,M[58]=Z,M[59]=el,M[60]=k,M[61]=j):j=M[61],j});function g8(e){return!e}g6.displayName="ForwardRef(MenuButton)";let g9=is` 1128 0% { 1129 background-position: 100%; 1130 } 1131 100% { 1132 background-position: -100%; 1133 } 1134`,g7=io` 1135 background-image: linear-gradient( 1136 to right, 1137 var(--card-skeleton-color-from), 1138 var(--card-skeleton-color-to), 1139 var(--card-skeleton-color-from), 1140 var(--card-skeleton-color-from), 1141 var(--card-skeleton-color-from) 1142 ); 1143 background-position: 100%; 1144 background-size: 200% 100%; 1145 background-attachment: fixed; 1146 animation-name: ${g9}; 1147 animation-timing-function: ease-in-out; 1148 animation-iteration-count: infinite; 1149 animation-duration: 2000ms; 1150`,me=io` 1151 opacity: ${({$visible:e})=>+!!e}; 1152 transition: opacity 200ms ease-in; 1153 1154 @media screen and (prefers-reduced-motion: no-preference) { 1155 ${({$animated:e})=>e?g7:io` 1156 background-color: var(--card-skeleton-color-from); 1157 `} 1158 } 1159 1160 @media screen and (prefers-reduced-motion: reduce) { 1161 background-color: var(--card-skeleton-color-from); 1162 } 1163`,mt=ii(uf).withConfig({displayName:"StyledSkeleton",componentId:"sc-ebtpni-0"})(c2,me),mn=(0,ne.forwardRef)(function(e,t){let n,r,o,i,a,s,l,d,c=(0,$.c)(16);c[0]!==e?({animated:i,delay:n,radius:r,...o}=e,c[0]=e,c[1]=n,c[2]=r,c[3]=o,c[4]=i):(n=c[1],r=c[2],o=c[3],i=c[4]);let u=void 0!==i&&i,[f,h]=(0,ne.useState)(!n);c[5]!==n?(a=()=>
1163{if(!n)return;let e=setTimeout(()=>{h(!0)},n);return()=>{clearTimeout(e)}},s=[n],c[5]=n,c[6]=a,c[7]=s):(a=c[6],s=c[7]),(0,ne.useEffect)(a,s),c[8]!==r?(l=d6(r),c[8]=r,c[9]=l):l=c[9];let p=!n||f;return c[10]!==u||c[11]!==t||c[12]!==o||c[13]!==l||c[14]!==p?(d=(0,E.jsx)(mt,{...o,$animated:u,$radius:l,$visible:p,ref:t}),c[10]=u,c[11]=t,c[12]=o,c[13]=l,c[14]=p,c[15]=d):d=c[15],d});mn.displayName="ForwardRef(Skeleton)";let mr=ii(mn).withConfig({displayName:"StyledSkeleton",componentId:"sc-2p7a1v-0"})(e=>{let{$size:t,$style:n}=e,{font:r,media:o}=nv(e.theme),i=r[n];return d4(o,t,e=>{let t=i.sizes[e];return{height:t.lineHeight-t.ascenderHeight-t.descenderHeight}})});(0,ne.forwardRef)(function(e,t){let n,r,o,i,a=(0,$.c)(9);a[0]!==e?({size:r,...n}=e,a[0]=e,a[1]=n,a[2]=r):(n=a[1],r=a[2]);let s=void 0===r?2:r;a[3]!==s?(o=d6(s),a[3]=s,a[4]=o):o=a[4];let l=o;return a[5]!==l||a[6]!==t||a[7]!==n?(i=(0,E.jsx)(mr,{...n,$size:l,ref:t,$style:"text"}),a[5]=l,a[6]=t,a[7]=n,a[8]=i):i=a[8],i}).displayName="ForwardRef(TextSkeleton)",(0,ne.forwardRef)(function(e,t){let n,r,o,i,a=(0,$.c)(9);a[0]!==e?({size:r,...n}=e,a[0]=e,a[1]=n,a[2]=r):(n=a[1],r=a[2]);let s=void 0===r?2:r;a[3]!==s?(o=d6(s),a[3]=s,a[4]=o):o=a[4];let l=o;return a[5]!==l||a[6]!==t||a[7]!==n?(i=(0,E.jsx)(mr,{...n,$size:l,ref:t,$style:"label"}),a[5]=l,a[6]=t,a[7]=n,a[8]=i):i=a[8],i}).displayName="ForwardRef(LabelSkeleton)",(0,ne.forwardRef)(function(e,t){let n,r,o,i,a=(0,$.c)(9);a[0]!==e?({size:r,...n}=e,a[0]=e,a[1]=n,a[2]=r):(n=a[1],r=a[2]);let s=void 0===r?2:r;a[3]!==s?(o=d6(s),a[3]=s,a[4]=o):o=a[4];let l=o;return a[5]!==l||a[6]!==t||a[7]!==n?(i=(0,E.jsx)(mr,{...n,$size:l,ref:t,$style:"heading"}),a[5]=l,a[6]=t,a[7]=n,a[8]=i):i=a[8],i}).displayName="ForwardRef(HeadingSkeleton)",(0,ne.forwardRef)(function(e,t){let n,r,o,i,a=(0,$.c)(9);a[0]!==e?({size:r,...n}=e,a[0]=e,a[1]=n,a[2]=r):(n=a[1],r=a[2]);let s=void 0===r?2:r;a[3]!==s?(o=d6(s),a[3]=s,a[4]=o):o=a[4];let l=o;return a[5]!==l||a[6]!==t||a[7]!==n?(i=(0,E.jsx)(mr,{...n,$size:l,ref:t,$style:"code"}),a[5]=l,a[6]=t,a[7]=n,a[8]=i):i=a[8],i}).displayName="ForwardRef(CodeSkeleton)",(0,ne.forwardRef)(function(e,t){let n,r,o,i=(0,$.c)(9);i[0]!==e?({flex:n,...r}=e,i[0]=e,i[1]=n,i[2]=r):(n=i[1],r=i[2]);let a=void 0===e.tabIndex?0:e.tabIndex;return i[3]!==n||i[4]!==e.children||i[5]!==t||i[6]!==r||i[7]!==a?(o=(0,E.jsx)(uf,{"data-ui":"TabPanel",...r,flex:n,ref:t,role:"tabpanel",tabIndex:a,children:e.children}),i[3]=n,i[4]=e.children,i[5]=t,i[6]=r,i[7]=a,i[8]=o):o=i[8],o}).displayName="ForwardRef(TabPanel)";let mo={error:"critical",warning:"caution",success:"positive",info:"neutral"},mi={error:"critical",warning:"caution",success:"positive",info:"neutral"},ma=ii(uv).withConfig({displayName:"TextBox",componentId:"sc-1rr7rxo-0"})`overflow-x:auto;`,ms=ii(uS).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);}`,ml=ii.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;`,md=ii(uS).withConfig({displayName:"LoadingBarMask",componentId:"sc-1rr7rxo-3"})`position:absolute;top:0;left:-${2}px;right:-${2}px;bottom:${2}px;z-index:1;`,mc=ii(uS).withConfig({displayName:"LoadingBarProgress",componentId:"sc-1rr7rxo-4"})`display:block;height:100%;width:100%;transform-origin:0% 50%;background-color:${e=>{let{color:t}=nv(e.theme);return t.button.default[e.tone].enabled.bg}};`,mu={error:"alert",warning:"alert",success:"alert",info:"alert"};function mf(e){let t,n,r,o,i,a,s,l,d,c,u,f,h,p,g,m,v,y,w,b,x=(0,$.c)(50);x[0]!==e?({closable:t,description:n,duration:r,onClose:o,radius:s,title:l,status:a,updatedAt:d,...i}=e,x[0]=e,x[1]=t,x[2]=n,x[3]=r,x[4]=o,x[5]=i,x[6]=a,x[7]=s,x[8]=l,x[9]=d):(t=x[1],n=x[2],r=x[3],o=x[4],i=x[5],a=x[6],s=x[7],l=x[8],d=x[9]);let C=void 0===s?3:s,k=a?mo[a]:"default",j=a?mi[a]:"default",M=a?mu[a]:"status",L=.26*!uW();x[10]!==L?(c=L?{type:"spring",visualDuration:L,bounce:.25}:{duration:0},x[10]=L,x[11]=c):c=x[11];let S=c,_=r&&isFinite(r)&&r<20736e5;x[12]===Symbol.for("react.memo_cache_sentinel")?(u=["hidden","initial"],x[12]=u):u=x[12];let R=u;x[13]===Symbol.for("react.memo_cache_sentinel")?(f=["visible","slideIn"],x[13]=f):f=x[13];let H=f;x[14]===Symbol.for("react.memo_cache_sentinel")?(h=["hidden","slideOut"],x[14]=h):h=x[14];let V=h,I=_?"":void 0;return x[15]!==l?(p=l&&(0,E.jsx)(up,{size:1,weight:"medium",children:l}),x[15]=l,x[16]=p):p=x[16],x[17]!==n||x[18]!==S?(g=n&&(0,E.jsx)(mv,{muted:!0,size:1,variants:mp,transition:S,children:n}),x[17]=n,x[18]=S,x[19]=g):g=x[19],x[20]!==p||x[21]!==g?(m=(0,E.jsx)(ma,{flex:1,padding:3,children:(0,E.jsxs)(fD,{space:3,children:[p,g]})}),x[20]=p,x[21]=g,x[22]=m):m=x[22],x[23]!==j||x[24]!==t||x[25]!==o?(v=t&&(0,E.jsx)(uf,{padding:1,children:(0,E.jsx)(uM,{as:"button",icon:i2,mode:"bleed",padding:2,tone:j,onClick:o,style:{verticalAlign:"top"}})}),x[23]=j,x[24]=t,x[25]=o,x[26]=v):v=x[26],x[27]!==m||x[28]!==v||x[29]!==S?(y=(0,E.jsxs)(mm,{align:"flex-start",variants:mp,transition:S,children:[m,v]}),x[27]=m,x[28]=v,x[29]=S,x[30]=y):y=x[30],x[31]!==k||x[32]!==r||x[33]!==_||x[34]!==o||x[35]!==C||x[36]!==S||x[37]!==d||x[38]!==L?(w=_&&(0,E.jsxs)(my,{variants:mp,transition:S,children:[(0,E.jsx)(md,{tone:k,radius:C}),(0,E.jsx)(mw,{tone:k,initial:{scaleX:0},animate:{scaleX:1},transition:{delay:L,duration:r/1e3,ease:"linear"},onAnimationComplete:o},`progress-${d}`)]}),x[31]=k,x[32]=r,x[33]=_,x[34]=o,x[35]=C,x[36]=S,x[37]=d,x[38]=L,x[39]=w):w=x[39],x[40]!==k||x[41]!==C||x[42]!==i||x[43]!==M||x[44]!==y||x[45]!==w||x[46]!==I||x[47]!==S||x[48]!==L?(b=(0,E.jsxs)(mg,{"data-ui":"Toast",role:M,...i,"data-has-duration":I,custom:L,radius:C,shadow:2,tone:k,forwardedAs:"li",layout:"position",variants:mh,initial:R,animate:H,exit:V,transition:S,children:[y,w]}),x[40]=k,x[41]=C,x[42]=i,x[43]=M,x[44]=y,x[45]=w,x[46]=I,x[47]=S,x[48]=L,x[49]=b):b=x[49],b}mf.displayName="Toast";let mh={initial:{y:32,scale:.5,zIndex:1},hidden:{opacity:0}
1163,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}},mp={initial:{willChange:"transform"},hidden:{opacity:0},visible:{opacity:1}},mg=de.motion.create(ms),mm=de.motion.create(uv),mv=de.motion.create(up),my=de.motion.create(ml),mw=de.motion.create(mc);ct("@sanity/ui/context/toast",null);ii(uX).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 mb(e){if("treeitem"===e.getAttribute("role")&&e.focus(),"none"===e.getAttribute("role")){let t=e.firstChild;t&&t instanceof HTMLElement&&t.focus()}}let mx=ct("@sanity/ui/context/tree",null);(0,ne.forwardRef)(function(e,t){let n,r,o,i,a,s,l,d,c,u,f,h,p,g,m,v,y,w,b,x,C,k=(0,$.c)(37);k[0]!==e?({children:n,space:i,onFocus:r,...o}=e,k[0]=e,k[1]=n,k[2]=r,k[3]=o,k[4]=i):(n=k[1],r=k[2],o=k[3],i=k[4]);let j=void 0===i?1:i,M=(0,ne.useRef)(null),[L,S]=(0,ne.useState)(null),_=(0,ne.useRef)(L);k[5]===Symbol.for("react.memo_cache_sentinel")?(a=[],k[5]=a):a=k[5];let R=a;k[6]===Symbol.for("react.memo_cache_sentinel")?(s=[],k[6]=s):s=k[6];let[H,V]=(0,ne.useState)(s);k[7]===Symbol.for("react.memo_cache_sentinel")?(l={},k[7]=l):l=k[7];let[I,O]=(0,ne.useState)(l),A=(0,ne.useRef)(I);k[8]===Symbol.for("react.memo_cache_sentinel")?(d=()=>M.current,k[8]=d):d=k[8],(0,ne.useImperativeHandle)(t,d),k[9]!==L?(c=()=>{_.current=L},u=[L],k[9]=L,k[10]=c,k[11]=u):(c=k[10],u=k[11]),(0,ne.useEffect)(c,u),k[12]!==I?(f=()=>{A.current=I},h=[I],k[12]=I,k[13]=f,k[14]=h):(f=k[13],h=k[14]),(0,ne.useEffect)(f,h),k[15]===Symbol.for("react.memo_cache_sentinel")?(p=(e,t,n,r)=>(O(r=>({...r,[t]:{element:e,expanded:n}})),r&&S(e),()=>{O(e=>{let n={...e};return delete n[t],n})}),k[15]=p):p=k[15];let B=p;k[16]===Symbol.for("react.memo_cache_sentinel")?(g=(e,t)=>{O(n=>{let r=n[e];return r?{...n,[e]:{...r,expanded:t}}:n})},k[16]=g):g=k[16];let z=g,T=L||H[0]||null;k[17]!==j||k[18]!==I||k[19]!==T?(m={version:0,focusedElement:T,level:0,path:R,registerItem:B,setExpanded:z,setFocusedElement:S,space:j,state:I},k[17]=j,k[18]=I,k[19]=T,k[20]=m):m=k[20];let W=m;k[21]!==H?(v=e=>{if(_.current){if("ArrowDown"===e.key){e.preventDefault();let t=function(e,t,n){let r=t.indexOf(n),o=t.slice(r),i=t.length;for(let t=1;t<i;t+=1){if(!o[t])continue;let n=o[t].getAttribute("data-tree-key");if(!n)continue;let r=n.split("/");r.pop();let i=[],a=!0;for(let t=0;t<r.length;t+=1){i.push(r[t]);let n=i.join("/");if(!e[n]?.expanded){a=!1;break}}if(a)return o[t]}return null}(A.current,H,_.current);t&&(mb(t),S(t));return}if("ArrowUp"===e.key){e.preventDefault();let t=function(e,t,n){let r=t.indexOf(n),o=t.slice(0,r),i=o.length;for(let t=i-1;t>=0;t-=1){let n=o[t].getAttribute("data-tree-key");if(!n)continue;let r=n.split("/");r.pop();let i=[],a=!0;for(let t=0;t<r.length;t+=1){i.push(r[t]);let n=i.join("/");if(!e[n]?.expanded){a=!1;break}}if(a)return o[t]}return null}(A.current,H,_.current);t&&(mb(t),S(t));return}if("ArrowLeft"===e.key){e.preventDefault();let t=_.current.getAttribute("data-tree-key");if(!t)return;let n=A.current[t];if(!n)return;if(n.expanded)O(e=>{let n=e[t];return n?{...e,[t]:{...n,expanded:!1}}:e});else{let e=t.split("/");e.pop();let n=e.join("/"),r=n&&A.current[n];r&&(r.element.focus(),S(r.element))}return}if("ArrowRight"===e.key){e.preventDefault();let t=_.current.getAttribute("data-tree-key");if(!t)return;A.current[t]?.expanded||O(e=>{let n=e[t];return n?{...e,[t]:{...n,expanded:!0}}:e});return}}},k[21]=H,k[22]=v):v=k[22];let N=v;k[23]!==r?(y=e=>{S(e.target),r?.(e)},k[23]=r,k[24]=y):y=k[24];let P=y;return k[25]===Symbol.for("react.memo_cache_sentinel")?(w=()=>{M.current&&V(Array.from(M.current.querySelectorAll('[data-ui="TreeItem"]')))},k[25]=w):w=k[25],k[26]!==n?(b=[n],k[26]=n,k[27]=b):b=k[27],(0,ne.useEffect)(w,b),k[28]!==n||k[29]!==P||k[30]!==N||k[31]!==o||k[32]!==j?(x=(0,E.jsx)(fD,{as:"ul","data-ui":"Tree",...o,onFocus:P,onKeyDown:N,ref:M,role:"tree",space:j,children:n}),k[28]=n,k[29]=P,k[30]=N,k[31]=o,k[32]=j,k[33]=x):x=k[33],k[34]!==W||k[35]!==x?(C=(0,E.jsx)(mx.Provider,{value:W,children:x}),k[34]=W,k[35]=x,k[36]=C):C=k[36],C}).displayName="ForwardRef(Tree)";ii(up).withConfig({displayName:"ToggleArrowText",componentId:"sc-iiskig-2"})`& > svg{transition:transform 100ms;}`;let mC=e=>"object"==typeof e&&null!=e&&1===e.nodeType,mk=(e,t)=>
1163(!t||"hidden"!==e)&&"visible"!==e&&"clip"!==e,mj=(e,t)=>{if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){let n,r=getComputedStyle(e,null);return mk(r.overflowY,t)||mk(r.overflowX,t)||!!(n=(e=>{if(!e.ownerDocument||!e.ownerDocument.defaultView)return null;try{return e.ownerDocument.defaultView.frameElement}catch(e){return null}})(e))&&(n.clientHeight<e.scrollHeight||n.clientWidth<e.scrollWidth)}return!1},mM=(e,t,n,r,o,i,a,s)=>i<e&&a>t||i>e&&a<t?0:i<=e&&s<=n||a>=t&&s>=n?i-e-r:a>t&&s<n||i<e&&s>n?a-t+o:0,mL=e=>{let t=e.parentElement;return null==t?e.getRootNode().host||null:t},mS=(e,t)=>{var n,r,o,i;let a;if("undefined"==typeof document)return[];let{scrollMode:s,block:l,inline:d,boundary:c,skipOverflowHiddenElements:u}=t,f="function"==typeof c?c:e=>e!==c;if(!mC(e))throw TypeError("Invalid target");let h=document.scrollingElement||document.documentElement,p=[],g=e;for(;mC(g)&&f(g);){if((g=mL(g))===h){p.push(g);break}null!=g&&g===document.body&&mj(g)&&!mj(document.documentElement)||null!=g&&mj(g,u)&&p.push(g)}let m=null!=(r=null==(n=window.visualViewport)?void 0:n.width)?r:innerWidth,v=null!=(i=null==(o=window.visualViewport)?void 0:o.height)?i:innerHeight,{scrollX:y,scrollY:w}=window,{height:b,width:x,top:C,right:k,bottom:j,left:M}=e.getBoundingClientRect(),{top:L,right:S,bottom:_,left:R}={top:parseFloat((a=window.getComputedStyle(e)).scrollMarginTop)||0,right:parseFloat(a.scrollMarginRight)||0,bottom:parseFloat(a.scrollMarginBottom)||0,left:parseFloat(a.scrollMarginLeft)||0},E="start"===l||"nearest"===l?C-L:"end"===l?j+_:C+b/2-L+_,$="center"===d?M+x/2-R+S:"end"===d?k+S:M-R,H=[];for(let e=0;e<p.length;e++){let t=p[e],{height:n,width:r,top:o,right:i,bottom:a,left:c}=t.getBoundingClientRect();if("if-needed"===s&&C>=0&&M>=0&&j<=v&&k<=m&&(t===h&&!mj(t)||C>=o&&j<=a&&M>=c&&k<=i))break;let u=getComputedStyle(t),f=parseInt(u.borderLeftWidth,10),g=parseInt(u.borderTopWidth,10),L=parseInt(u.borderRightWidth,10),S=parseInt(u.borderBottomWidth,10),_=0,R=0,V="offsetWidth"in t?t.offsetWidth-t.clientWidth-f-L:0,I="offsetHeight"in t?t.offsetHeight-t.clientHeight-g-S:0,O="offsetWidth"in t?0===t.offsetWidth?0:r/t.offsetWidth:0,A="offsetHeight"in t?0===t.offsetHeight?0:n/t.offsetHeight:0;if(h===t)_="start"===l?E:"end"===l?E-v:"nearest"===l?mM(w,w+v,v,g,S,w+E,w+E+b,b):E-v/2,R="start"===d?$:"center"===d?$-m/2:"end"===d?$-m:mM(y,y+m,m,f,L,y+$,y+$+x,x),_=Math.max(0,_+w),R=Math.max(0,R+y);else{_="start"===l?E-o-g:"end"===l?E-a+S+I:"nearest"===l?mM(o,a,n,g,S+I,E,E+b,b):E-(o+n/2)+I/2,R="start"===d?$-c-f:"center"===d?$-(c+r/2)+V/2:"end"===d?$-i+L+V:mM(c,i,r,f,L+V,$,$+x,x);let{scrollLeft:e,scrollTop:s}=t;_=0===A?0:Math.max(0,Math.min(s+_/A,t.scrollHeight-n/A+I)),R=0===O?0:Math.max(0,Math.min(e+R/O,t.scrollWidth-r/O+V)),E+=s-_,$+=e-R}H.push({el:t,top:_,left:R})}return H};var m_=e.i(767300),mR=e.i(800223),mE=e.i(341520);function m$(e){let[t,n]=e;return[t,n]}function mH(e,t){let n=e,r=t,o=n.length,i=r.length;if(0===o||0===i)return 0;o>i?n=n.substring(o-i):o<i&&(r=r.substring(0,o));let a=Math.min(o,i);if(n===r)return a;let s=0,l=1;for(let e=0;-1!==e;){let t=n.substring(a-l);if(-1===(e=r.indexOf(t)))break;l+=e,(0===e||n.substring(a-l)===r.substring(0,l))&&(s=l,l++)}return s}function mV(e,t){if(!e||!t||e[0]!==t[0])return 0;let n=0,r=Math.min(e.length,t.length),o=r,i=0;for(;n<o;)e.substring(i,o)===t.substring(i,o)?i=n=o:r=o,o=Math.floor((r-n)/2+n);return o}function mI(e,t){if(!e||!t||e[e.length-1]!==t[t.length-1])return 0;let n=0,r=Math.min(e.length,t.length),o=r,i=0;for(;n<o;)e.substring(e.length-o,e.length-i)===t.substring(t.length-o,t.length-i)?i=n=o:r=o,o=Math.floor((r-n)/2+n);return o}function mO(e){let t=e.charCodeAt(0);return t>=56320&&t<=57343}function mA(e,t,n,r,o){let i=e.substring(0,n),a=t.substring(0,r),s=e.substring(n),l=t.substring(r),d=mF(i,a,{checkLines:!1,deadline:o}),c=mF(s,l,{checkLines:!1,deadline:o});return d.concat(c)}function mB(e,t,n){let r=e.slice(n,n+Math.floor(e.length/4)),o=-1,i="",a,s,l,d;for(;-1!==(o=t.indexOf(r,o+1));){let r=mV(e.slice(n),t.slice(o)),c=mI(e.slice(0,n),t.slice(0,o));i.length<c+r&&(i=t.slice(o-c,o)+t.slice(o,o+r),a=e.slice(0,n-c),s=e.slice(n+r),l=t.slice(0,o-c),d=t.slice(o+r))}return 2*i.length>=e.length?[a||"",s||"",l||"",d||"",i||""]:null}var mz=Object.defineProperty,mT=Object.getOwnPropertySymbols,mW=Object.prototype.hasOwnProperty,mN=Object.prototype.propertyIsEnumerable,mP=(e,t,n)=>t in e?mz(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;function mZ(e,t,n){if(null===e||null===t)throw Error("Null input. (diff)");let r=mF(e,t,function(e){let t;var n,r={checkLines:!0,deadline:(n=e.timeout||1,t=1,"u">typeof n&&(t=n<=0?Number.MAX_VALUE:n),Date.now()+1e3*t)},o=e;for(var i in o||(o={}))mW.call(o,i)&&mP(r,i,o[i]);if(mT)for(var i of mT(o))mN.call(o,i)&&mP(r,i,o[i]);return r}(n||{}));return function(e){for(let t=0;t<e.length;t++){let[n,r]=e[t];if(0===r.length)continue;let o=r[0];(function(e){let t=e.charCodeAt(0);return t>=55296&&t<=56319})(r[r.length-1])&&0===n&&mU(e,t,1),mO(o)&&0===n&&mU(e,t,-1)}for(let t=0;t<e.length;t++)0===e[t][1].length&&e.splice(t,1)}(r),r}function mF(e,t,n){let r=e,o=t;if(r===o)return r?[[0,r]]:[];let i=mV(r,o),a=r.substring(0,i);i=mI(r=r.substring(i),o=o.substring(i));let s=r.substring(r.length-i),l=function(e,t,n){let r;if(!e)return[[1,t]];if(!t)return[[-1,e]];let o=e.length>t.length?e:t,i=e.length>t.length?t:e,a=o.indexOf(i);if(-1!==a)return r=[[1,o.substring(0,a)],[0,i],[1,o.substring(a+i.length)]],e.length>t.length&&(r[0][0]=-1,r[2][0]=-1),r;if(1===i.length)return[[-1,e],[1,t]];let s=function(e,t,n=1){let r,o,i,a,s;if(n<=0)return null;let l=e.length>t.length?e:t,d=e.length>t.length?t:e;if(l.length<4||2*d.length<l.length)return null;
1163let c=mB(l,d,Math.ceil(l.length/4)),u=mB(l,d,Math.ceil(l.length/2));if(c&&u)r=c[4].length>u[4].length?c:u;else{if(!c&&!u)return null;u?c||(r=u):r=c}if(!r)throw Error("Unable to find a half match.");return e.length>t.length?(o=r[0],i=r[1],a=r[2],s=r[3]):(a=r[0],s=r[1],o=r[2],i=r[3]),[o,i,a,s,r[4]]}(e,t);if(s){let e=s[0],t=s[1],r=s[2],o=s[3],i=s[4],a=mF(e,r,n),l=mF(t,o,n);return a.concat([[0,i]],l)}return n.checkLines&&e.length>100&&t.length>100?function(e,t,n){let r=e,o=t,i=function(e,t){let n=[],r={};function o(e){let t="",o=0,a=-1,s=n.length;for(;a<e.length-1;){-1===(a=e.indexOf(` 1164`,o))&&(a=e.length-1);let l=e.slice(o,a+1);(r.hasOwnProperty?r.hasOwnProperty(l):void 0!==r[l])?t+=String.fromCharCode(r[l]):(s===i&&(l=e.slice(o),a=e.length),t+=String.fromCharCode(s),r[l]=s,n[s++]=l),o=a+1}return t}n[0]="";let i=4e4,a=o(e);return i=65535,{chars1:a,chars2:o(t),lineArray:n}}(r,o);r=i.chars1,o=i.chars2;let a=i.lineArray,s=mF(r,o,{checkLines:!1,deadline:n.deadline});(function(e,t){for(let n=0;n<e.length;n++){let r=e[n][1],o=[];for(let e=0;e<r.length;e++)o[e]=t[r.charCodeAt(e)];e[n][1]=o.join("")}})(s,a),(s=mG(s)).push([0,""]);let l=0,d=0,c=0,u="",f="";for(;l<s.length;){switch(s[l][0]){case 1:c++,f+=s[l][1];break;case -1:d++,u+=s[l][1];break;case 0:if(d>=1&&c>=1){s.splice(l-d-c,d+c),l=l-d-c;let e=mF(u,f,{checkLines:!1,deadline:n.deadline});for(let t=e.length-1;t>=0;t--)s.splice(l,0,e[t]);l+=e.length}c=0,d=0,u="",f="";break;default:throw Error("Unknown diff operation.")}l++}return s.pop(),s}(e,t,n):function(e,t,n){let r=e.length,o=t.length,i=Math.ceil((r+o)/2),a=2*i,s=Array(a),l=Array(a);for(let e=0;e<a;e++)s[e]=-1,l[e]=-1;s[i+1]=0,l[i+1]=0;let d=r-o,c=d%2!=0,u=0,f=0,h=0,p=0;for(let g=0;g<i&&!(Date.now()>n);g++){for(let h=-g+u;h<=g-f;h+=2){let p,m=i+h,v=(p=h===-g||h!==g&&s[m-1]<s[m+1]?s[m+1]:s[m-1]+1)-h;for(;p<r&&v<o&&e.charAt(p)===t.charAt(v);)p++,v++;if(s[m]=p,p>r)f+=2;else if(v>o)u+=2;else if(c){let o=i+d-h;if(o>=0&&o<a&&-1!==l[o]&&p>=r-l[o])return mA(e,t,p,v,n)}}for(let u=-g+h;u<=g-p;u+=2){let f,m=i+u,v=(f=u===-g||u!==g&&l[m-1]<l[m+1]?l[m+1]:l[m-1]+1)-u;for(;f<r&&v<o&&e.charAt(r-f-1)===t.charAt(o-v-1);)f++,v++;if(l[m]=f,f>r)p+=2;else if(v>o)h+=2;else if(!c){let o=i+d-u;if(o>=0&&o<a&&-1!==s[o]){let a=s[o],l=i+a-o;if(a>=(f=r-f))return mA(e,t,a,l,n)}}}}return[[-1,e],[1,t]]}(e,t,n.deadline)}(r=r.substring(0,r.length-i),o=o.substring(0,o.length-i),n);return a&&l.unshift([0,a]),s&&l.push([0,s]),l=m0(l)}function mD(e,t,n){return 1===n?e+t:t+e}function mq(e,t){return 1===t?[e.substring(0,e.length-1),e[e.length-1]]:[e.substring(1),e[0]]}function mU(e,t,n){var r,o;let i=1===n?-1:1,a=null,s=null,l=t+n;for(;l>=0&&l<e.length&&(null===a||null===s);l+=n){let[r,o]=e[l];if(0!==o.length){if(1===r){null===a&&(a=l);continue}else if(-1===r){null===s&&(s=l);continue}else if(0===r){if(null===a&&null===s){let[r,o]=mq(e[t][1],n);e[t][1]=r,e[l][1]=mD(e[l][1],o,i);return}break}}}if(null!==a&&null!==s&&(r=a,o=s,1===n?e[r][1][e[r][1].length-1]===e[o][1][e[o][1].length-1]:e[r][1][0]===e[o][1][0])){let[r,o]=mq(e[a][1],i),[l]=mq(e[s][1],i);e[a][1]=r,e[s][1]=l,e[t][1]=mD(e[t][1],o,n);return}let[d,c]=mq(e[t][1],n);e[t][1]=d,null===a?(e.splice(l,0,[1,c]),null!==s&&s>=l&&s++):e[a][1]=mD(e[a][1],c,i),null===s?e.splice(l,0,[-1,c]):e[s][1]=mD(e[s][1],c,i)}function mG(e){let t=e.map(e=>m$(e)),n=!1,r=[],o=0,i=null,a=0,s=0,l=0,d=0,c=0;for(;a<t.length;)0===t[a][0]?(r[o++]=a,s=d,l=c,d=0,c=0,i=t[a][1]):(1===t[a][0]?d+=t[a][1].length:c+=t[a][1].length,i&&i.length<=Math.max(s,l)&&i.length<=Math.max(d,c)&&(t.splice(r[o-1],0,[-1,i]),t[r[o-1]+1][0]=1,o--,a=--o>0?r[o-1]:-1,s=0,l=0,d=0,c=0,i=null,n=!0)),a++;for(n&&(t=m0(t)),t=m1(t),a=1;a<t.length;){if(-1===t[a-1][0]&&1===t[a][0]){let e=t[a-1][1],n=t[a][1],r=mH(e,n),o=mH(n,e);r>=o?(r>=e.length/2||r>=n.length/2)&&(t.splice(a,0,[0,n.substring(0,r)]),t[a-1][1]=e.substring(0,e.length-r),t[a+1][1]=n.substring(r),a++):(o>=e.length/2||o>=n.length/2)&&(t.splice(a,0,[0,e.substring(0,o)]),t[a-1][0]=1,t[a-1][1]=n.substring(0,n.length-o),t[a+1][0]=-1,t[a+1][1]=e.substring(o),a++),a++}a++}return t}let mY=/[^a-zA-Z0-9]/,mK=/\s/,mX=/[\r\n]/,mJ=/\n\r?\n$/,mQ=/^\r?\n\r?\n/;function m1(e){let t=e.map(e=>m$(e));function n(e,t){if(!e||!t)return 6;let n=e.charAt(e.length-1),r=t.charAt(0),o=n.match(mY),i=r.match(mY),a=o&&n.match(mK
1164),s=i&&r.match(mK),l=a&&n.match(mX),d=s&&r.match(mX),c=l&&e.match(mJ),u=d&&t.match(mQ);return c||u?5:l||d?4:o&&!a&&s?3:a||s?2:o||i?1:0}let r=1;for(;r<t.length-1;){if(0===t[r-1][0]&&0===t[r+1][0]){let e=t[r-1][1],o=t[r][1],i=t[r+1][1],a=mI(e,o);if(a){let t=o.substring(o.length-a);e=e.substring(0,e.length-a),o=t+o.substring(0,o.length-a),i=t+i}let s=e,l=o,d=i,c=n(e,o)+n(o,i);for(;o.charAt(0)===i.charAt(0);){e+=o.charAt(0),o=o.substring(1)+i.charAt(0),i=i.substring(1);let t=n(e,o)+n(o,i);t>=c&&(c=t,s=e,l=o,d=i)}t[r-1][1]!==s&&(s?t[r-1][1]=s:(t.splice(r-1,1),r--),t[r][1]=l,d?t[r+1][1]=d:(t.splice(r+1,1),r--))}r++}return t}function m0(e){let t=e.map(e=>m$(e));t.push([0,""]);let n=0,r=0,o=0,i="",a="",s;for(;n<t.length;)switch(t[n][0]){case 1:o++,a+=t[n][1],n++;break;case -1:r++,i+=t[n][1],n++;break;case 0:r+o>1?(0!==r&&0!==o&&(0!==(s=mV(a,i))&&(n-r-o>0&&0===t[n-r-o-1][0]?t[n-r-o-1][1]+=a.substring(0,s):(t.splice(0,0,[0,a.substring(0,s)]),n++),a=a.substring(s),i=i.substring(s)),0!==(s=mI(a,i))&&(t[n][1]=a.substring(a.length-s)+t[n][1],a=a.substring(0,a.length-s),i=i.substring(0,i.length-s))),n-=r+o,t.splice(n,r+o),i.length&&(t.splice(n,0,[-1,i]),n++),a.length&&(t.splice(n,0,[1,a]),n++),n++):0!==n&&0===t[n-1][0]?(t[n-1][1]+=t[n][1],t.splice(n,1)):n++,o=0,r=0,i="",a="";break;default:throw Error("Unknown diff operation")}""===t[t.length-1][1]&&t.pop();let l=!1;for(n=1;n<t.length-1;)0===t[n-1][0]&&0===t[n+1][0]&&(t[n][1].substring(t[n][1].length-t[n-1][1].length)===t[n-1][1]?(t[n][1]=t[n-1][1]+t[n][1].substring(0,t[n][1].length-t[n-1][1].length),t[n+1][1]=t[n-1][1]+t[n+1][1],t.splice(n-1,1),l=!0):t[n][1].substring(0,t[n+1][1].length)===t[n+1][1]&&(t[n-1][1]+=t[n+1][1],t[n][1]=t[n][1].substring(t[n+1][1].length)+t[n+1][1],t.splice(n+1,1),l=!0)),n++;return l&&(t=m0(t)),t}var m5=Object.defineProperty,m2=Object.getOwnPropertySymbols,m3=Object.prototype.hasOwnProperty,m4=Object.prototype.propertyIsEnumerable,m6=(e,t,n)=>t in e?m5(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,m8=(e,t)=>{for(var n in t||(t={}))m3.call(t,n)&&m6(e,n,t[n]);if(m2)for(var n of m2(t))m4.call(t,n)&&m6(e,n,t[n]);return e};let m9={threshold:.5,distance:1e3};function m7(e,t,n,r={}){if(null===e||null===t||null===n)throw Error("Null input. (match())");let o=Math.max(0,Math.min(n,e.length));return e===t?0:e.length?e.substring(o,o+t.length)===t?o:function(e,t,n,r={}){if(t.length>32)throw Error("Pattern too long for this browser.");let o=m8(m8({},m9),r),i=function(e){let t={};for(let n=0;n<e.length;n++)t[e.charAt(n)]=0;for(let n=0;n<e.length;n++)t[e.charAt(n)]|=1<<e.length-n-1;return t}(t);function a(e,r){let i=e/t.length,a=Math.abs(n-r);return o.distance?i+a/o.distance:a?1:i}let s=o.threshold,l=e.indexOf(t,n);-1!==l&&(s=Math.min(a(0,l),s),-1!==(l=e.lastIndexOf(t,n+t.length))&&(s=Math.min(a(0,l),s)));let d=1<<t.length-1;l=-1;let c,u,f=t.length+e.length,h=[];for(let r=0;r<t.length;r++){for(c=0,u=f;c<u;)a(r,n+u)<=s?c=u:f=u,u=Math.floor((f-c)/2+c);f=u;let o=Math.max(1,n-u+1),p=Math.min(n+u,e.length)+t.length,g=Array(p+2);g[p+1]=(1<<r)-1;for(let t=p;t>=o;t--){let c=i[e.charAt(t-1)];if(0===r?g[t]=(g[t+1]<<1|1)&c:g[t]=(g[t+1]<<1|1)&c|((h[t+1]|h[t])<<1|1)|h[t+1],g[t]&d){let e=a(r,t-1);if(e<=s)if(s=e,(l=t-1)>n)o=Math.max(1,2*n-l);else break}}if(a(r+1,n)>s)break;h=g}return l}(e,t,o,r):-1}function ve(e){let t=[];for(let n=0;n<e.length;n++)1!==e[n][0]&&(t[n]=e[n][1]);return t.join("")}function vt(e){let t=[];for(let n=0;n<e.length;n++)-1!==e[n][0]&&(t[n]=e[n][1]);return t.join("")}function vn(e,t){let n=0,r=0,o=0,i=0,a;for(a=0;a<e.length&&(1!==e[a][0]&&(n+=e[a][1].length),-1!==e[a][0]&&(r+=e[a][1].length),!(n>t));a++)o=n,i=r;return e.length!==a&&-1===e[a][0]?i:i+(t-o)}function vr(e){let t=0;for(let n=0;n<e.length;n++){let r=e.codePointAt(n);if(typeof r>"u")throw Error("Failed to get codepoint");t+=vo(r)}return t}function vo(e){return e<=127?1:e<=2047?2:e<=65535?3:4}function vi(e,t){return{diffs:[],start1:e,start2:t,utf8Start1:e,utf8Start2:t,length1:0,length2:0,utf8Length1:0,utf8Length2:0}}var va=Object.defineProperty,vs=Object.getOwnPropertySymbols,vl=Object.prototype.hasOwnProperty,vd=Object.prototype.propertyIsEnumerable,vc=(e,t,n)=>t in e?va(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,vu=(e,t)=>
1164{for(var n in t||(t={}))vl.call(t,n)&&vc(e,n,t[n]);if(vs)for(var n of vs(t))vd.call(t,n)&&vc(e,n,t[n]);return e};let vf={margin:4};function vh(e={}){return vu(vu({},vf),e)}function vp(e,t,n){if(0===t.length)return[];let r=[],o=vi(0,0),i=0,a=0,s=0,l=0,d=0,c=e,u=e;for(let e=0;e<t.length;e++){let f=t[e],[h,p]=f,g=p.length,m=vr(p);switch(!i&&0!==h&&(o.start1=a,o.start2=s,o.utf8Start1=l,o.utf8Start2=d),h){case 1:o.diffs[i++]=f,o.length2+=g,o.utf8Length2+=m,u=u.substring(0,s)+p+u.substring(s);break;case -1:o.length1+=g,o.utf8Length1+=m,o.diffs[i++]=f,u=u.substring(0,s)+u.substring(s+g);break;case 0:g<=2*n.margin&&i&&t.length!==e+1?(o.diffs[i++]=f,o.length1+=g,o.length2+=g,o.utf8Length1+=m,o.utf8Length2+=m):g>=2*n.margin&&i&&(vg(o,c,n),r.push(o),o=vi(-1,-1),i=0,c=u,a=s,l=d);break;default:throw Error("Unknown diff type")}1!==h&&(a+=g,l+=m),-1!==h&&(s+=g,d+=m)}return i&&(vg(o,c,n),r.push(o)),r}function vg(e,t,n){if(0===t.length)return;let r=t.substring(e.start2,e.start2+e.length1),o=0;for(;t.indexOf(r)!==t.lastIndexOf(r)&&r.length<32-n.margin-n.margin;)o+=n.margin,r=t.substring(e.start2-o,e.start2+e.length1+o);o+=n.margin;let i=e.start2-o;i>=1&&mO(t[i])&&i--;let a=t.substring(i,e.start2);a&&e.diffs.unshift([0,a]);let s=a.length,l=vr(a),d=e.start2+e.length1+o;d<t.length&&mO(t[d])&&d++;let c=t.substring(e.start2+e.length1,d);c&&e.diffs.push([0,c]);let u=c.length,f=vr(c);e.start1-=s,e.start2-=s,e.utf8Start1-=l,e.utf8Start2-=l,e.length1+=s+u,e.length2+=s+u,e.utf8Length1+=l+f,e.utf8Length2+=l+f}let vm=/^@@ -(\d+),?(\d*) \+(\d+),?(\d*) @@$/;function vv(e){return parseInt(e,10)}function vy(e){let t,n,r,{utf8Length1:o,utf8Length2:i,utf8Start1:a,utf8Start2:s,diffs:l}=e;t=0===o?`${a},0`:1===o?`${a+1}`:`${a+1},${o}`,n=0===i?`${s},0`:1===i?`${s+1}`:`${s+1},${i}`;let d=[`@@ -${t} +${n} @@ 1165`];for(let e=0;e<l.length;e++){switch(l[e][0]){case 1:r="+";break;case -1:r="-";break;case 0:r=" ";break;default:throw Error("Unknown patch operation.")}d[e+1]=`${r+encodeURI(l[e][1])} 1166`}return d.join("").replace(/%20/g," ")}var vw=e.g&&e.g.Object===Object&&e.g,vb="object"==typeof self&&self&&self.Object===Object&&self,vx=vw||vb||Function("return this")(),vC=vx.Symbol,vk=Object.prototype,vj=vk.hasOwnProperty,vM=vk.toString,vL=vC?vC.toStringTag:void 0;let vS=function(e){var t=vj.call(e,vL),n=e[vL];try{e[vL]=void 0;var r=!0}catch(e){}var o=vM.call(e);return r&&(t?e[vL]=n:delete e[vL]),o};var v_=Object.prototype.toString,vR=vC?vC.toStringTag:void 0;let vE=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":vR&&vR in Object(e)?vS(e):v_.call(e)},v$=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)},vH=function(e){if(!v$(e))return!1;var t=vE(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t};var vV=vx["__core-js_shared__"],vI=(m=/[^.]+$/.exec(vV&&vV.keys&&vV.keys.IE_PROTO||""))?"Symbol(src)_1."+m:"",vO=Function.prototype.toString;let vA=function(e){if(null!=e){try{return vO.call(e)}catch(e){}try{return e+""}catch(e){}}return""};var vB=/^\[object .+?Constructor\]$/,vz=Object.prototype,vT=Function.prototype.toString,vW=vz.hasOwnProperty,vN=RegExp("^"+vT.call(vW).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");let vP=function(e){return!!v$(e)&&(!vI||!(vI in e))&&(vH(e)?vN:vB).test(vA(e))},vZ=function(e,t){var n=null==e?void 0:e[t];return vP(n)?n:void 0};var vF=function(){try{var e=vZ(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();let vD=function(e,t,n){"__proto__"==t&&vF?vF(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n},vq=function(e,t,n,r){for(var o=-1,i=null==e?0:e.length;++o<i;){var a=e[o];t(r,a,n(a),e)}return r},vU=function(e,t,n){for(var r=-1,o=Object(e),i=n(e),a=i.length;a--;){var s=i[++r];if(!1===t(o[s],s,o))break}return e},vG=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r},vY=function(e){return null!=e&&"object"==typeof e},vK=function(e){return vY(e)&&"[object Arguments]"==vE(e)};var vX=Object.prototype,vJ=vX.hasOwnProperty,vQ=vX.propertyIsEnumerable,v1=vK(function(){return arguments}())?vK:function(e){return vY(e)&&vJ.call(e,"callee")&&!vQ.call(e,"callee")},v0=Array.isArray;let v5=function(){return!1};var v2=/^(?:0|[1-9]\d*)$/;let v3=function(e,t){var n=typeof e;return!!(t=null==t?0x1fffffffffffff:t)&&("number"==n||"symbol"!=n&&v2.test(e))&&e>-1&&e%1==0&&e<t},v4=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=0x1fffffffffffff};var v6={};
1166v6["[object Float32Array]"]=v6["[object Float64Array]"]=v6["[object Int8Array]"]=v6["[object Int16Array]"]=v6["[object Int32Array]"]=v6["[object Uint8Array]"]=v6["[object Uint8ClampedArray]"]=v6["[object Uint16Array]"]=v6["[object Uint32Array]"]=!0,v6["[object Arguments]"]=v6["[object Array]"]=v6["[object ArrayBuffer]"]=v6["[object Boolean]"]=v6["[object DataView]"]=v6["[object Date]"]=v6["[object Error]"]=v6["[object Function]"]=v6["[object Map]"]=v6["[object Number]"]=v6["[object Object]"]=v6["[object RegExp]"]=v6["[object Set]"]=v6["[object String]"]=v6["[object WeakMap]"]=!1;var v8=function(){try{return!1}catch(e){}}(),v9=v8&&v8.isTypedArray,v7=v9?function(e){return v9(e)}:function(e){return vY(e)&&v4(e.length)&&!!v6[vE(e)]},ye=Object.prototype.hasOwnProperty;let yt=function(e,t){var n=v0(e),r=!n&&v1(e),o=!n&&!r&&v5(e),i=!n&&!r&&!o&&v7(e),a=n||r||o||i,s=a?vG(e.length,String):[],l=s.length;for(var d in e)(t||ye.call(e,d))&&!(a&&("length"==d||o&&("offset"==d||"parent"==d)||i&&("buffer"==d||"byteLength"==d||"byteOffset"==d)||v3(d,l)))&&s.push(d);return s};var yn=Object.prototype;let yr=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||yn)};var yo=(v=Object.keys,y=Object,function(e){return v(y(e))}),yi=Object.prototype.hasOwnProperty;let ya=function(e){if(!yr(e))return yo(e);var t=[];for(var n in Object(e))yi.call(e,n)&&"constructor"!=n&&t.push(n);return t},ys=function(e){return null!=e&&v4(e.length)&&!vH(e)},yl=function(e){return ys(e)?yt(e):ya(e)};var yd=(w=function(e,t){return e&&vU(e,t,yl)},function(e,t){if(null==e)return e;if(!ys(e))return w(e,t);for(var n=e.length,r=-1,o=Object(e);++r<n&&!1!==t(o[r],r,o););return e});let yc=function(e,t,n,r){return yd(e,function(e,o,i){t(r,e,n(e),i)}),r},yu=function(e,t){return e===t||e!=e&&t!=t},yf=function(e,t){for(var n=e.length;n--;)if(yu(e[n][0],t))return n;return -1};var yh=Array.prototype.splice;function yp(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}yp.prototype.clear=function(){this.__data__=[],this.size=0},yp.prototype.delete=function(e){var t=this.__data__,n=yf(t,e);return!(n<0)&&(n==t.length-1?t.pop():yh.call(t,n,1),--this.size,!0)},yp.prototype.get=function(e){var t=this.__data__,n=yf(t,e);return n<0?void 0:t[n][1]},yp.prototype.has=function(e){return yf(this.__data__,e)>-1},yp.prototype.set=function(e,t){var n=this.__data__,r=yf(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this};var yg=vZ(vx,"Map"),ym=vZ(Object,"create"),yv=Object.prototype.hasOwnProperty,yy=Object.prototype.hasOwnProperty;function yw(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}yw.prototype.clear=function(){this.__data__=ym?ym(null):{},this.size=0},yw.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=!!t,t},yw.prototype.get=function(e){var t=this.__data__;if(ym){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return yv.call(t,e)?t[e]:void 0},yw.prototype.has=function(e){var t=this.__data__;return ym?void 0!==t[e]:yy.call(t,e)},yw.prototype.set=function(e,t){var n=this.__data__;return this.size+=+!this.has(e),n[e]=ym&&void 0===t?"__lodash_hash_undefined__":t,this};let yb=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e},yx=function(e,t){var n=e.__data__;return yb(t)?n["string"==typeof t?"string":"hash"]:n.map};function yC(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function yk(e){var t=this.__data__=new yp(e);this.size=t.size}function yj(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new yC;++t<n;)this.add(e[t])}yC.prototype.clear=function(){this.size=0,this.__data__={hash:new yw,map:new(yg||yp),string:new yw}},yC.prototype.delete=function(e){var t=yx(this,e).delete(e);return this.size-=!!t,t},yC.prototype.get=function(e){return yx(this,e).get(e)},yC.prototype.has=function(e){return yx(this,e).has(e)},yC.prototype.set=function(e,t){var n=yx(this,e),r=n.size;return n.set(e,t),this.size+=+(n.size!=r),this},yk.prototype.clear=function(){this.__data__=new yp,this.size=0},yk.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},yk.prototype.get=function(e){return this.__data__.get(e)},yk.prototype.has=function(e){return this.__data__.has(e)},yk.prototype.set=function(e,t){var n=this.__data__;if(n instanceof yp){var r=n.__data__;if(!yg||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new yC(r)}return n.set(e,t),this.size=n.size,this},yj.prototype.add=yj.prototype.push=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},yj.prototype.has=function(e){return this.__data__.has(e)};let yM=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}
1166,yL=function(e,t,n,r,o,i){var a=1&n,s=e.length,l=t.length;if(s!=l&&!(a&&l>s))return!1;var d=i.get(e),c=i.get(t);if(d&&c)return d==t&&c==e;var u=-1,f=!0,h=2&n?new yj:void 0;for(i.set(e,t),i.set(t,e);++u<s;){var p=e[u],g=t[u];if(r)var m=a?r(g,p,u,t,e,i):r(p,g,u,e,t,i);if(void 0!==m){if(m)continue;f=!1;break}if(h){if(!yM(t,function(e,t){if(!h.has(t)&&(p===e||o(p,e,n,r,i)))return h.push(t)})){f=!1;break}}else if(!(p===g||o(p,g,n,r,i))){f=!1;break}}return i.delete(e),i.delete(t),f};var yS=vx.Uint8Array;let y_=function(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n},yR=function(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n};var yE=vC?vC.prototype:void 0,y$=yE?yE.valueOf:void 0;let yH=function(e,t,n,r,o,i,a){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)break;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":if(e.byteLength!=t.byteLength||!i(new yS(e),new yS(t)))break;return!0;case"[object Boolean]":case"[object Date]":case"[object Number]":return yu(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var s=y_;case"[object Set]":var l=1&r;if(s||(s=yR),e.size!=t.size&&!l)break;var d=a.get(e);if(d)return d==t;r|=2,a.set(e,t);var c=yL(s(e),s(t),r,o,i,a);return a.delete(e),c;case"[object Symbol]":if(y$)return y$.call(e)==y$.call(t)}return!1},yV=function(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e},yI=function(e,t,n){var r=t(e);return v0(e)?r:yV(r,n(e))},yO=function(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n<r;){var a=e[n];t(a,n,e)&&(i[o++]=a)}return i};var yA=Object.prototype.propertyIsEnumerable,yB=Object.getOwnPropertySymbols,yz=yB?function(e){return null==e?[]:yO(yB(e=Object(e)),function(t){return yA.call(e,t)})}:function(){return[]};let yT=function(e){return yI(e,yl,yz)};var yW=Object.prototype.hasOwnProperty;let yN=function(e,t,n,r,o,i){var a=1&n,s=yT(e),l=s.length;if(l!=yT(t).length&&!a)return!1;for(var d=l;d--;){var c=s[d];if(!(a?c in t:yW.call(t,c)))return!1}var u=i.get(e),f=i.get(t);if(u&&f)return u==t&&f==e;var h=!0;i.set(e,t),i.set(t,e);for(var p=a;++d<l;){var g=e[c=s[d]],m=t[c];if(r)var v=a?r(m,g,c,t,e,i):r(g,m,c,e,t,i);if(!(void 0===v?g===m||o(g,m,n,r,i):v)){h=!1;break}p||(p="constructor"==c)}if(h&&!p){var y=e.constructor,w=t.constructor;y!=w&&"constructor"in e&&"constructor"in t&&!("function"==typeof y&&y instanceof y&&"function"==typeof w&&w instanceof w)&&(h=!1)}return i.delete(e),i.delete(t),h};var yP=vZ(vx,"DataView"),yZ=vZ(vx,"Promise"),yF=vZ(vx,"Set"),yD=vZ(vx,"WeakMap"),yq="[object Map]",yU="[object Promise]",yG="[object Set]",yY="[object WeakMap]",yK="[object DataView]",yX=vA(yP),yJ=vA(yg),yQ=vA(yZ),y1=vA(yF),y0=vA(yD),y5=vE;(yP&&y5(new yP(new ArrayBuffer(1)))!=yK||yg&&y5(new yg)!=yq||yZ&&y5(yZ.resolve())!=yU||yF&&y5(new yF)!=yG||yD&&y5(new yD)!=yY)&&(y5=function(e){var t=vE(e),n="[object Object]"==t?e.constructor:void 0,r=n?vA(n):"";if(r)switch(r){case yX:return yK;case yJ:return yq;case yQ:return yU;case y1:return yG;case y0:return yY}return t});let y2=y5;var y3="[object Arguments]",y4="[object Array]",y6="[object Object]",y8=Object.prototype.hasOwnProperty;let y9=function(e,t,n,r,o,i){var a=v0(e),s=v0(t),l=a?y4:y2(e),d=s?y4:y2(t);l=l==y3?y6:l,d=d==y3?y6:d;var c=l==y6,u=d==y6,f=l==d;if(f&&v5(e)){if(!v5(t))return!1;a=!0,c=!1}if(f&&!c)return i||(i=new yk),a||v7(e)?yL(e,t,n,r,o,i):yH(e,t,l,n,r,o,i);if(!(1&n)){var h=c&&y8.call(e,"__wrapped__"),p=u&&y8.call(t,"__wrapped__");
1166if(h||p){var g=h?e.value():e,m=p?t.value():t;return i||(i=new yk),o(g,m,n,r,i)}}return!!f&&(i||(i=new yk),yN(e,t,n,r,o,i))},y7=function e(t,n,r,o,i){return t===n||(null!=t&&null!=n&&(vY(t)||vY(n))?y9(t,n,r,o,e,i):t!=t&&n!=n)},we=function(e,t,n,r){var o=n.length,i=o,a=!r;if(null==e)return!i;for(e=Object(e);o--;){var s=n[o];if(a&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++o<i;){var l=(s=n[o])[0],d=e[l],c=s[1];if(a&&s[2]){if(void 0===d&&!(l in e))return!1}else{var u=new yk;if(r)var f=r(d,c,l,e,t,u);if(!(void 0===f?y7(c,d,3,r,u):f))return!1}}return!0},wt=function(e){return e==e&&!v$(e)},wn=function(e){for(var t=yl(e),n=t.length;n--;){var r=t[n],o=e[r];t[n]=[r,o,wt(o)]}return t},wr=function(e,t){return function(n){return null!=n&&n[e]===t&&(void 0!==t||e in Object(n))}},wo=function(e){var t=wn(e);return 1==t.length&&t[0][2]?wr(t[0][0],t[0][1]):function(n){return n===e||we(n,e,t)}},wi=function(e){return"symbol"==typeof e||vY(e)&&"[object Symbol]"==vE(e)};var wa=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ws=/^\w*$/;let wl=function(e,t){if(v0(e))return!1;var n=typeof e;return!!("number"==n||"symbol"==n||"boolean"==n||null==e||wi(e))||ws.test(e)||!wa.test(e)||null!=t&&e in Object(t)};function wd(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw TypeError("Expected a function");var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(wd.Cache||yC),n}wd.Cache=yC;var wc=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,wu=/\\(\\)?/g,wf=(x=(b=wd(function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(wc,function(e,n,r,o){t.push(r?o.replace(wu,"$1"):n||e)}),t},function(e){return 500===x.size&&x.clear(),e})).cache,b);let wh=function(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o};var wp=1/0,wg=vC?vC.prototype:void 0,wm=wg?wg.toString:void 0;let wv=function e(t){if("string"==typeof t)return t;if(v0(t))return wh(t,e)+"";if(wi(t))return wm?wm.call(t):"";var n=t+"";return"0"==n&&1/t==-wp?"-0":n},wy=function(e,t){return v0(e)?e:wl(e,t)?[e]:wf(null==e?"":wv(e))};var ww=1/0;let wb=function(e){if("string"==typeof e||wi(e))return e;var t=e+"";return"0"==t&&1/e==-ww?"-0":t},wx=function(e,t){t=wy(t,e);for(var n=0,r=t.length;null!=e&&n<r;)e=e[wb(t[n++])];return n&&n==r?e:void 0},wC=function(e,t,n){var r=null==e?void 0:wx(e,t);return void 0===r?n:r},wk=function(e,t){return null!=e&&t in Object(e)},wj=function(e,t,n){t=wy(t,e);for(var r=-1,o=t.length,i=!1;++r<o;){var a=wb(t[r]);if(!(i=null!=e&&n(e,a)))break;e=e[a]}return i||++r!=o?i:!!(o=null==e?0:e.length)&&v4(o)&&v3(a,o)&&(v0(e)||v1(e))},wM=function(e){return e},wL=function(e){var t;return wl(e)?(t=wb(e),function(e){return null==e?void 0:e[t]}):function(t){return wx(t,e)}},wS=function(e){if("function"==typeof e)return e;if(null==e)return wM;if("object"==typeof e){var t,n;return v0(e)?(t=e[0],n=e[1],wl(t)&&wt(n)?wr(wb(t),n):function(e){var r=wC(e,t);return void 0===r&&r===n?null!=e&&wj(e,t,wk):y7(n,r,3)}):wo(e)}return wL(e)};var w_=Object.prototype.hasOwnProperty,wR=(C=function(e,t,n){w_.call(e,n)?e[n].push(t):vD(e,n,[t])},function(e,t){return(v0(e)?vq:yc)(e,C,wS(t,2),{})});let wE=["Value","Copy","Blank","ReturnIntoArray","ReturnIntoObject","ReturnIntoObjectSameKey","PushField","PushElement","PushParent","Pop","PushFieldCopy","PushFieldBlank","PushElementCopy","PushElementBlank","ReturnIntoObjectPop","ReturnIntoObjectSameKeyPop","ReturnIntoArrayPop","ObjectSetFieldValue","ObjectCopyField","ObjectDeleteField","ArrayAppendValue","ArrayAppendSlice","StringAppendString","StringAppendSlice"];class w${model;root;patch;i;inputStack;outputStack;constructor(e,t,n){this.model=e,this.root=t,this.patch=n,this.i=0,this.inputStack=[],this.outputStack=[]}read(){return this.patch[this.i++]}process(){for(this.inputStack.push({value:this.root}),this.outputStack.push({value:this.root});this.i<this.patch.length;){let e=this.read(),t=wE[e];if(!t)throw Error(`Unknown opcode: ${e}`);this[`process${t}`].apply(this)}let e=this.outputStack.pop();return this.finalizeOutput(e)}inputEntry(){return this.inputStack[this.inputStack.length-1]}inputKey(e,t){return e.keys||(e.keys=this.model.objectGetKeys(e.value).sort()),e.keys[t]}outputEntry(){return this.outputStack[this.outputStack.length-1]}outputArray(){let e=this.outputEntry();return e.writeValue||(e.writeValue=this.model.copyArray(e.value)),e.writeValue}outputObject(){let e=this.outputEntry();return e.writeValue||(e.writeValue=this.model.copyObject(e.value)),e.writeValue}outputString(){let e=this.outputEntry();return e.writeValue||(e.writeValue=this.model.copyString(e.value)),e.writeValue}finalizeOutput(e){return e.writeValue?this.model.finalize(e.writeValue):e.value}processValue(){let e=this.model.wrap(this.read());this.outputStack.push({value:e})}processCopy(){let e=this.inputEntry();this.outputStack.push({value:e.value})}processBlank(){this.outputStack.push({value:null})}processReturnIntoArray(){let e=this.outputStack.pop(),t=this.finalizeOutput(e),n=this.outputArray();this.model.arrayAppendValue(n,t)}processReturnIntoObject(){let e=this.read(),t=this.outputStack.pop(),n=this.finalizeOutput(t);n=this.model.markChanged(n);let r=this.outputObject();this.model.objectSetField(r,e,n)}processReturnIntoObjectSameKey(){let e=this.inputEntry(),t=this.outputStack.pop(),n=this.finalizeOutput(t),r=this.outputObject();this.model.objectSetField(r,e.key,n)}processPushField(){let e=this.read(),t=this.inputEntry(),n=this.inputKey(t,e),r=this.model.objectGetField(t.value,n);this.inputStack.push({value:r,key:n})}processPushElement(){let e=this.read(),t=this.inputEntry(),n=this.model.arrayGetElement(t.value,e);this.inputStack.push({value:n})}processPop(){this.inputStack.pop()}processPushFieldCopy(){this.processPushField(),this.processCopy()}processPushFieldBlank(){this.processPushField(),this.processBlank()}processPushElementCopy(){this.processPushElement(),this.processCopy()}processPushElementBlank(){this.processPushElement(),this.processBlank()}processReturnIntoObjectPop(){this.processReturnIntoObject(),this.processPop()}processReturnIntoObjectSameKeyPop(){this.processReturnIntoObjectSameKey(),this.processPop()}processReturnIntoArrayPop(){this.processReturnIntoArray(),this.processPop()}processObjectSetFieldValue(){this.processValue(),this.processReturnIntoObject()}processObjectCopyField(){this.processPushField(),this.processCopy(),this.processReturnIntoObjectSameKey(),this.processPop()}processObjectDeleteField(){let e=this.read(),t=this.inputEntry(),n=this.inputKey(t,e),r=this.outputObject();this.model.objectDeleteField(r,n)}processArrayAppendValue(){let e=this.model.wrap(this.read()),t=this.outputArray();this.model.arrayAppendValue(t,e)}processArrayAppendSlice(){let e=this.read(),t=this.read(),n=this.outputArray(),r=this.inputEntry().value;this.model.arrayAppendSlice(n,r,e,t)}processStringAppendString(){let e=this.model.wrap(this.read()),t=this.outputString();this.model.stringAppendValue(t,e)}processStringAppendSlice(){let e=this.read(),t=this.read(),n=this.outputString(),r=this.inputEntry().value;this.model.stringAppendSlice(n,r,e,t)}}function wH(e){return e>>16?4:e>>11?3:e>>7?2:1}function wV(e,t,n=0){let r=n,o=0;for(o=n;r<t;o++){let t=wH(e.codePointAt(o));4===t&&o++,r+=t}return o}class wI{wrap(e){return e}finalize(e){return Array.isArray(e)?e:e.data}markChanged(e){return e}objectGetKeys(e){return Object.keys(e)}
1166objectGetField(e,t){return e[t]}arrayGetElement(e,t){return e[t]}copyObject(e){let t={type:"object",data:{}};if(null!==e)for(let[n,r]of Object.entries(e))t.data[n]=r;return t}copyArray(e){return null===e?[]:e.slice()}copyString(e){return{type:"string",data:null===e?"":e}}objectSetField(e,t,n){e.data[t]=n}objectDeleteField(e,t){delete e.data[t]}arrayAppendValue(e,t){e.push(t)}arrayAppendSlice(e,t,n,r){e.push(...t.slice(n,r))}stringAppendSlice(e,t,n,r){let o=wV(t,n),i=wV(t,r,o);e.data+=t.slice(o,i)}stringAppendValue(e,t){e.data+=t}}var wO=e.i(693553),wA=e.i(209833),wB=e.i(16194),wz=e.i(198140),wT=1,wW={};function wN(e){return e in wW&&(delete wW[e],!0)}var wP=function(e){var t=wT++;return wW[t]=!0,R||(R=Promise.resolve()),R.then(function(){return wN(t)&&e()}),t},wZ=function(e){wN(e)},wF={setImmediate:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=wF.delegate;return((null==n?void 0:n.setImmediate)||wP).apply(void 0,(0,tM.__spreadArray)([],(0,tM.__read)(e)))},clearImmediate:function(e){var t=wF.delegate;return((null==t?void 0:t.clearImmediate)||wZ)(e)},delegate:void 0},wD=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.scheduler=t,r.work=n,r}return(0,tM.__extends)(t,e),t.prototype.requestAsyncId=function(t,n,r){return(void 0===r&&(r=0),null!==r&&r>0)?e.prototype.requestAsyncId.call(this,t,n,r):(t.actions.push(this),t._scheduled||(t._scheduled=wF.setImmediate(t.flush.bind(t,void 0))))},t.prototype.recycleAsyncId=function(t,n,r){if(void 0===r&&(r=0),null!=r?r>0:this.delay>0)return e.prototype.recycleAsyncId.call(this,t,n,r);var o,i=t.actions;null!=n&&(null==(o=i[i.length-1])?void 0:o.id)!==n&&(wF.clearImmediate(n),t._scheduled===n&&(t._scheduled=void 0))},t}(wz.AsyncAction),wq=new(function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,tM.__extends)(t,e),t.prototype.flush=function(e){this._active=!0;var t,n=this._scheduled;this._scheduled=void 0;var r=this.actions;e=e||r.shift();do if(t=e.execute(e.state,e.delay))break;while((e=r[0])&&e.id===n&&r.shift())if(this._active=!1,t){for(;(e=r[0])&&e.id===n&&r.shift();)e.unsubscribe();throw t}},t}(e.i(86234).AsyncScheduler))(wD);function wU(e){if("patch"===e.type)return e.id;if("create"===e.type)return e.document._id;if("delete"===e.type)return e.id;if("createIfNotExists"===e.type||"createOrReplace"===e.type)return e.document._id;throw Error("Invalid mutation type")}let wG=(e=21)=>{let t="",n=crypto.getRandomValues(new Uint8Array(e));for(;e--;)t+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[63&n[e]];return t};function wY(e){return"string"==typeof e?._key}function wK(e){return"object"==typeof e&&"_key"in e&&"string"==typeof e._key}function wX(e){return"number"==typeof e||wK(e)}function wJ(e,t){if(0===e.length)return t;let n=t;for(let t of e){if(wX(t)){if(!Array.isArray(n))return;if(wK(t)){n=n.find(e=>e._key===t._key);continue}n=n[t];continue}n=n[t]}return n}let wQ=/^[a-z_$]+/;function w1(e){return e.map((e,t)=>{var n;return n=0===t,Array.isArray(e)?`[${e[0]}:${e[1]||""}]`:"number"==typeof e?`[${e}]`:wK(e)?`[_key==${JSON.stringify(e._key)}]`:"string"==typeof e&&wQ.test(e)?n?e:`.${e}`:`['${e}']`}).join("")}function w0(e){return null!==e&&"object"==typeof e&&!Array.isArray(e)}function w5(e,t){if("number"==typeof t){var n=e.length,r=t;if(0===n&&(-1===r||0===r))return 0;let o=r<0?n+r:r;return o>=n||o<0?null:o}if(wK(t)){let n=e.findIndex(e=>(null!==e&&"object"==typeof e&&"string"==typeof e._key&&e._key||null)===t._key);return -1===n?null:n}throw Error(`Expected path segment to be addressing a single array item either by numeric index or by '_key'. Instead saw ${JSON.stringify(t)}`)}function w2(e,t,n,r){let o=e.slice();return o.splice(t,n,...r||[]),o}function w3(e,t){var n;if(!Array.isArray(t))throw TypeError('Cannot apply "insert()" on non-array value');let r=w5(t,e.referenceItem);if(null===r)throw Error(`Found no matching array element to insert ${e.position}`);return 0===t.length?e.items:w2(t,(n=e.position,"before"===n?r:r+1),0,e.items)}let w4=Object.prototype.hasOwnProperty.call.bind(Object.prototype.hasOwnProperty);var w6=Object.freeze({__proto__:null,assign:function(e,t){if(!w0(t))throw TypeError('Cannot apply "assign()" on non-object value');return!function(e){for(let t in e)if(w4(e,t))return!1;return!0}(e.value)?{...t,...e.value}:t},dec:function(e,t){if("number"!=typeof t)throw TypeError('Cannot apply "dec()" on non-numeric value');return t-e.amount},diffMatchPatch:function(e,t){if("string"!=typeof t)throw TypeError('Cannot apply "diffMatchPatch()" on non-string value');return function(e,t,n={}){if("string"==typeof e)throw Error("Patches must be an array - pass the patch to `parsePatch()` first");let r=t;if(0===e.length)return[r,[]];let o=function(e,t,n={}){let r=0,o=0;function i(e){for(;r<e;){let e=t.codePointAt(o);if(typeof e>"u")return o;r+=vo(e),e>65535?o+=2:o+=1}if(!n.allowExceedingIndices&&r!==e)throw Error("Failed to determine byte offset");return o}let a=[];for(let t of e)a.push({diffs:t.diffs.map(e=>m$(e)),start1:i(t.start1),start2:i(t.start2),utf8Start1:t.utf8Start1,utf8Start2:t.utf8Start2,length1:t.length1,length2:t.length2,utf8Length1:t.utf8Length1,utf8Length2:t.utf8Length2});return a}(e,r,{allowExceedingIndices:n.allowExceedingIndices}),i=n.margin||4,a=n.deleteThreshold||.4,s=function(e,t=4){let n="";for(let e=1;e<=t;e++)n+=String.fromCharCode(e);for(let n of e)n.start1+=t,n.start2+=t,n.utf8Start1+=t,n.utf8Start2+=t;let r=e[0],o=r.diffs;if(0===o.length||0!==o[0][0])o.unshift([0,n]),r.start1-=t,r.start2-=t,r.utf8Start1-=t,r.utf8Start2-=t,r.length1+=t,r.length2+=t,r.utf8Length1+=t,r.utf8Length2+=t;else if(t>o[0][1].length){let e=o[0][1].length,i=t-e;o[0][1]=n.substring(e)+o[0][1],r.start1-=i,r.start2-=i,r.utf8Start1-=i,r.utf8Start2-=i,r.length1+=i,r.length2+=i,r.utf8Length1+=i,r.utf8Length2+=i}if(0===(o=(r=e[e.length-1]).diffs).length||0!==o[o.length-1][0])o.push([0,n]),r.length1+=t,r.length2+=t,r.utf8Length1+=t,r.utf8Length2+=t;else if(t>o[o.length-1][1].length){let e=t-o[o.length-1][1].length;o[o.length-1][1]+=n.substring(0,e),r.length1+=e,r.length2+=e,r.utf8Length1+=e,r.utf8Length2+=e}return n}(o,i);r=s+r+s,function(e,t=4){for(let n=0;n<e.length;n++){if(e[n].length1<=32)continue;let r=e[n];e.splice(n--,1);let o=r.start1,i=r.start2,a="";for(;0!==r.diffs.length;){let s=vi(o-a.length,i-a.length),l=!0;if(""!==a){let e=vr(a);s.length1=a.length,s.utf8Length1=e,s.length2=a.length,s.utf8Length2=e,s.diffs.push([0,a])}for(;0!==r.diffs.length&&s.length1<32-t;){let e=r.diffs[0][0],n=r.diffs[0][1],a=vr(n);if(1===e){s.length2+=n.length,s.utf8Length2+=a,i+=n.length;let e=r.diffs.shift();e&&s.diffs.push(e),l=!1}else -1===e&&1===s.diffs.length&&0===s.diffs[0][0]&&n.length>64?(s.length1+=n.length,s.utf8Length1+=a,o+=n.length,l=!1,s.diffs.push([e,n]),r.diffs.shift()):(a=vr(n=n.substring(0,32-s.length1-t)),s.length1+=n.length,s.utf8Length1+=a,o+=n.length,0===e?(s.length2+=n.length,s.utf8Length2+=a,i+=n.length):l=!1,s.diffs.push([e,n]),n===r.diffs[0][1]?r.diffs.shift():r.diffs[0][1]=r.diffs[0][1].substring(n.length))}a=(a=vt(s.diffs)).substring(a.length-t);let d=ve(r.diffs).substring(0,t),c=vr(d);""!==d&&(s.length1+=d.length,s.length2+=d.length,s.utf8Length1+=c,s.utf8Length2+=c,0!==s.diffs.length&&0===s.diffs[s.diffs.length-1][0]?s.diffs[s.diffs.length-1][1]+=d:s.diffs.push([0,d]
1166)),l||e.splice(++n,0,s)}}}(o,i);let l=0,d=[];for(let e=0;e<o.length;e++){let t=o[e].start2+l,n=ve(o[e].diffs),i,s=-1;if(n.length>32?-1!==(i=m7(r,n.substring(0,32),t))&&(-1===(s=m7(r,n.substring(n.length-32),t+n.length-32))||i>=s)&&(i=-1):i=m7(r,n,t),-1===i)d[e]=!1,l-=o[e].length2-o[e].length1;else{let c;if(d[e]=!0,l=i-t,c=-1===s?r.substring(i,i+n.length):r.substring(i,s+32),n===c)r=r.substring(0,i)+vt(o[e].diffs)+r.substring(i+n.length);else{let t=mZ(n,c,{checkLines:!1});if(n.length>32&&function(e){let t=0,n=0,r=0;for(let o=0;o<e.length;o++){let i=e[o][0],a=e[o][1];switch(i){case 1:n+=a.length;break;case -1:r+=a.length;break;case 0:t+=Math.max(n,r),n=0,r=0;break;default:throw Error("Unknown diff operation.")}}return t+Math.max(n,r)}(t)/n.length>a)d[e]=!1;else{t=m1(t);let n=0,a=0;for(let s=0;s<o[e].diffs.length;s++){let l=o[e].diffs[s];0!==l[0]&&(a=vn(t,n)),1===l[0]?r=r.substring(0,i+a)+l[1]+r.substring(i+a):-1===l[0]&&(r=r.substring(0,i+a)+r.substring(i+vn(t,n+l[1].length))),-1!==l[0]&&(n+=l[1].length)}}}}}return[r=r.substring(s.length,r.length-s.length),d]}(function(e){if(!e)return[];let t=[],n=e.split(` 1167`),r=0;for(;r<n.length;){let e=n[r].match(vm);if(!e)throw Error(`Invalid patch string: ${n[r]}`);let o=vi(vv(e[1]),vv(e[3]));for(t.push(o),""===e[2]?(o.start1--,o.utf8Start1--,o.length1=1,o.utf8Length1=1):"0"===e[2]?(o.length1=0,o.utf8Length1=0):(o.start1--,o.utf8Start1--,o.utf8Length1=vv(e[2]),o.length1=o.utf8Length1),""===e[4]?(o.start2--,o.utf8Start2--,o.length2=1,o.utf8Length2=1):"0"===e[4]?(o.length2=0,o.utf8Length2=0):(o.start2--,o.utf8Start2--,o.utf8Length2=vv(e[4]),o.length2=o.utf8Length2),r++;r<n.length;){let e,t=n[r],i=t.charAt(0);if("@"===i)break;if(""===i){r++;continue}try{e=decodeURI(t.slice(1))}catch(e){throw Error(`Illegal escape in parse: ${t}`)}let a=vr(e)-e.length;if("-"===i)o.diffs.push([-1,e]),o.length1-=a;else if("+"===i)o.diffs.push([1,e]),o.length2-=a;else if(" "===i)o.diffs.push([0,e]),o.length1-=a,o.length2-=a;else throw Error(`Invalid patch mode "${i}" in: ${e}`);r++}}return t}(e.value),t)[0]},inc:function(e,t){if("number"!=typeof t)throw TypeError('Cannot apply "inc()" on non-numeric value');return t+e.amount},insert:w3,remove:function(e,t){if(!Array.isArray(t))throw TypeError('Cannot apply "remove()" on non-array value');let n=w5(t,e.referenceItem);if(null===n)throw Error("Found no matching array element to replace");return w2(t,n,1,[])},replace:function(e,t){if(!Array.isArray(t))throw TypeError('Cannot apply "replace()" on non-array value');let n=w5(t,e.referenceItem);if(null===n)throw Error("Found no matching array element to replace");return w2(t,n,e.items.length,e.items)},set:function(e,t){return e.value},setIfMissing:function(e,t){return t??e.value},truncate:function(e,t){if(!Array.isArray(t))throw TypeError('Cannot apply "truncate()" on non-array value');return"number"==typeof e.endIndex?t.slice(0,e.startIndex).concat(t.slice(e.endIndex)):t.slice(0,e.startIndex)},unassign:function(e,t){if(!w0(t))throw TypeError('Cannot apply "unassign()" on non-object value');return 0===e.keys.length?t:function(e,t){let n={...e};for(let e of t)delete n[e];return n}(t,e.keys)},unset:function(e){},upsert:function(e,t){if(!Array.isArray(t))throw TypeError('Cannot apply "upsert()" on non-array value');
1167if(0===e.items.length)return t;let n=[],r=[];if(e.items.forEach((e,o)=>{let i=t.findIndex(t=>t?._key===e._key);i>=0?n[i]=o:r.push(e)}),0===n.length&&0==r.length)return t;let o=[...t];for(let t of n)o[t]=e.items[n[t]];return w3({type:"insert",items:r,referenceItem:e.referenceItem,position:e.position},o)}});function w8(e,t){return e.reduce((e,t)=>w9(t,e),t)}function w9(e,t){return function e(t,n,r){if(!(t.length>0)){if(!(n.type in w6))throw Error(`Invalid operation type: "${n.type}"`);return w6[n.type](n,r)}let[o,...i]=t;if(wX(o)&&Array.isArray(r)){var a=o,s=i,l=n,d=r;let t=w5(d,a);if(null===t||-1===t)return d;let c=d[t],u=e(s,l,c);return u===c?d:w2(d,t,1,[u])}if("string"==typeof o&&w0(r)){var c=o,u=i,f=n,h=r;let t=h[c];if(void 0===t&&u.length>0)return h;let a=e(u,f,t);return a===t?h:{...h,[c]:a}}throw Error(`Cannot apply operation of type "${n.type}" to path ${w1(t)} on ${typeof r} value`)}(e.path,e.op,t)}function w7(e){return"_id"in e}function be(e,t){return t.reduce((e,t)=>{let n=bt(e,t);if("error"===n.status)throw Error(n.message);return"noop"===n.status?e:n.after},e)}function bt(e,t){if("create"===t.type)return function(e,t){var n;if(e)return{status:"error",message:"Document already exist"};let r=(n=t.document,w7(n)?n:{...n,_id:wG()});return{status:"created",id:r._id,after:r}}(e,t);if("createIfNotExists"===t.type){return n=e,w7((r=t).document)?n?{status:"noop"}:{status:"created",id:r.document._id,after:r.document}:{status:"error",message:"Cannot createIfNotExists on document without _id"}}if("delete"===t.type){return o=e,i=t,o?i.id!==o._id?{status:"error",message:"Delete mutation targeted wrong document"}:{status:"deleted",id:i.id,before:o,after:void 0}:{status:"noop"}}if("createOrReplace"===t.type){return a=e,w7((s=t).document)?a?{status:"updated",id:s.document._id,before:a,after:s.document}:{status:"created",id:s.document._id,after:s.document}:{status:"error",message:"Cannot createIfNotExists on document without _id"}}if("patch"===t.type){var n,r,o,i,a,s,l=e,d=t;if(!l)return{status:"error",message:"Cannot apply patch on nonexistent document"};let c=function(e,t){if(e.options?.ifRevision&&t._rev!==e.options.ifRevision)throw Error("Revision mismatch");if(e.id!==t._id)throw Error(`Document id mismatch. Refusing to apply mutation for document with id="${e.id}" on the given document with id="${t._id}"`);return w8(e.patches,t)}(d,l);return l===c?{status:"noop"}:{status:"updated",id:d.id,before:l,after:c}}throw Error(`Invalid mutation type: ${t.type}`)}function bn(e,t,n){let r=[];for(let n of e.slice().reverse()){if(t(n))return r;r.push(n)}return r.reverse()}function br(e,t){return w1(e)===w1(t)}function bo(e,t){let n=e;return t.reduce((e,t)=>{let r=n;if(n=w9(t,n),"set"===t.op.type&&"string"==typeof t.op.value){let n=wJ(t.path,r);if("string"==typeof n){let r={...t,op:{type:"diffMatchPatch",value:(function(e,t,n){if("string"==typeof e&&"string"==typeof t){let n=mZ(e,t,{checkLines:!0});return n.length>2&&(n=function(e,t=4){let n=e.map(e=>m$(e)),r=!1,o=[],i=0,a=null,s=0,l=!1,d=!1,c=!1,u=!1;for(;s<n.length;)0===n[s][0]?(n[s][1].length<t&&(c||u)?(o[i++]=s,l=c,d=u,a=n[s][1]):(i=0,a=null),c=!1,u=!1):(-1===n[s][0]?u=!0:c=!0,a&&(l&&d&&c&&u||a.length<t/2&&3===function(...e){return e.reduce((e,t)=>e+ +!!t,0)}(l,d,c,u))&&(n.splice(o[i-1],0,[-1,a]),n[o[i-1]+1][0]=1,i--,a=null,l&&d?(c=!0,u=!0,i=0):(s=--i>0?o[i-1]:-1,c=!1,u=!1),r=!0)),s++;return r&&(n=m0(n)),n}(n=mG(n))),vp(e,n,vh(void 0))}if(e&&Array.isArray(e)&&typeof t>"u")return vp(ve(e),e,vh(void 0));if("string"==typeof e&&t&&Array.isArray(t))return vp(e,t,vh(void 0));throw Error("Unknown call format to make()")})(n,t.op.value).map(vy).join("")}};return e.flatMap(e=>br(e.path,t.path)&&"diffMatchPatch"===e.op.type?[]:e).concat(r)}}return e.push(t),e},[])}function bi(e,t,n,r){let o=t,i=r.map(t=>{let n=t.mutations.flatMap(t=>{if(wU(t)!==e)return[];let n=o;return o=be(o,[t]),n&&"patch"===t.type?{type:"dmpified",mutation:{...t,dmpPatches:bo(n,t.patches),original:t.patches}}:t});return{...t,mutations:n}}),a=n;return i.map(t=>{let n=[];return t.mutations.forEach(t=>{if("dmpified"===t.type)try{a=w8(t.mutation.dmpPatches,a),n.push(t)}catch{console.warn("Failed to apply dmp patch, falling back to original");try{a=w8(t.mutation.original,a),n.push(t)}catch(t){throw Error(`Failed to apply patch for document "${e}": ${t.message}`)}}else a=be(a,[t])})}),[r.map(t=>({...t,mutations:t.mutations.map(t=>"patch"!==t.type||wU(t)!==e?t:{...t,patches:t.patches.map(e=>"set"!==e.op.type?e:{...e,op:{...e.op,value:wJ(e.path,a)}})})})),a]}function ba(e){var t=e;if("create"===t.type||"createIfNotExists"===t.type||"createOrReplace"===t.type)return{[t.type]:t.document};
1167if("delete"===t.type)return{delete:{id:t.id}};let n=t.options?.ifRevision;return t.patches.map(e=>({patch:{id:t.id,...n&&{ifRevisionID:n},...function(e){let{path:t,op:n}=e;if("unset"===n.type)return{unset:[w1(t)]};if("insert"===n.type)return{insert:{[n.position]:w1([...t,n.referenceItem]),items:n.items}};if("diffMatchPatch"===n.type)return{diffMatchPatch:{[w1(t)]:n.value}};if("inc"===n.type)return{inc:{[w1(t)]:n.amount}};if("dec"===n.type)return{dec:{[w1(t)]:n.amount}};if("set"===n.type||"setIfMissing"===n.type)return{[n.type]:{[w1(t)]:n.value}};if("truncate"===n.type){let e=[n.startIndex,"number"==typeof n.endIndex?n.endIndex:""].join(":");return{unset:[`${w1(t)}[${e}]`]}}if("upsert"===n.type)return{unset:n.items.map(e=>w1([...t,{_key:e._key}])),insert:{[n.position]:w1([...t,n.referenceItem]),items:n.items}};if("assign"===n.type)return{set:Object.fromEntries(Object.keys(n.value).map(e=>[w1(t.concat(e)),n.value[e]]))};if("unassign"===n.type)return{unset:n.keys.map(e=>w1(t.concat(e)))};if("replace"===n.type)return{insert:{replace:w1(t.concat(n.referenceItem)),items:n.items}};if("remove"===n.type)return{unset:[w1(t.concat(n.referenceItem))]};throw Error(`Unknown operation type ${n.type}`)}(e)}}))}function bs(e){let t=e.listen('*[!(_id in path("_.**"))]',{},{events:["welcome","mutation","reconnect"],includeResult:!1,includePreviousRevision:!1,visibility:"transaction",effectFormat:"mendoza",includeMutations:!1}).pipe((0,wO.share)({resetOnRefCountZero:!0})),n=t.pipe((0,tT.filter)(e=>"reconnect"===e.type)),r=t.pipe((0,tT.filter)(e=>"welcome"===e.type)),o=t.pipe((0,tT.filter)(e=>"mutation"===e.type)),i=(0,mE.merge)(r,n).pipe((0,wA.shareReplay)({bufferSize:1,refCount:!0})).pipe((0,tT.filter)(e=>"welcome"===e.type));return(0,mE.merge)(i,o,n)}let bl=tk({types:{},actions:{"assign error to context":tt({error:({event:e})=>e}),"clear error from context":tt({error:void 0}),"connect to server-sent events":e1({type:"connect"}),"listen to server-sent events":ef("server-sent events",{id:"listener",input:({context:e})=>({listener:e.sharedListener||bs(e.client),id:e.id})}),"stop listening to server-sent events":eg("listener"),"buffer remote mutation events":tt({mutationEvents:({event:e,context:t})=>(tC(e,"mutation"),[...t.mutationEvents,e])}),"restore stashed changes":tt({stagedChanges:({event:e,context:t})=>(tC(e,"xstate.done.actor.submitTransactions"),t.stashedChanges),stashedChanges:[]}),"rebase fetched remote snapshot":ty(({enqueue:e})=>{e.assign(({event:e,context:t})=>{tC(e,"xstate.done.actor.getDocument");let n=t.remote,r=e.output,o=!1;for(let e of t.mutationEvents)e.effects?.apply&&(e.previousRev||"appear"===e.transition)&&(o||e.previousRev!==r?._rev||(o=!0),o&&(r=bd(r,e.effects.apply,e.resultRev)));t.cache&&(!t.cache.has(t.id)||t.cache.get(t.id)._rev!==r?._rev)&&t.cache.set(t.id,r);let[i,a]=bi(t.id,null===n?void 0:n,null===r?void 0:r,t.stagedChanges);return{remote:r,local:a,stagedChanges:i,mutationEvents:[]}}),e.sendParent(({context:e})=>({type:"rebased.remote",id:e.id,document:e.remote}))}),"apply mendoza patch":tt(({event:e,context:t})=>{tC(e,"mutation");let n=t.remote;if(e.transactionId===n?._rev)return{};let r=bd(n,e.effects.apply,e.resultRev);t.cache&&(!t.cache.has(t.id)||t.cache.get(t.id)._rev!==r?._rev)&&t.cache.set(t.id,r);let[o,i]=bi(t.id,null===n?void 0:n,null===r?void 0:r,t.stagedChanges);return{remote:r,local:i,stagedChanges:o}}),"increment fetch attempts":tt({fetchRemoteSnapshotAttempts:({context:e})=>e.fetchRemoteSnapshotAttempts+1}),"reset fetch attempts":tt({fetchRemoteSnapshotAttempts:0}),"increment submit attempts":tt({submitTransactionsAttempts:({context:e})=>e.submitTransactionsAttempts+1}),"reset submit attempts":tt({submitTransactionsAttempts:0}),"stage mutation":tt({stagedChanges:({event:e,context:t})=>(tC(e,"mutate"),[...t.stagedChanges,{transaction:!1,mutations:e.mutations}])}),"stash mutation":tt({stashedChanges:({event:e,context:t})=>(tC(e,"mutate"),[...t.stashedChanges,{transaction:!1,mutations:e.mutations}])}),"rebase local snapshot":ty(({enqueue:e})=>{e.assign({local:({event:e,context:t})=>{var n;tC(e,"mutate");let r=new Map;
1167return t.local&&r.set(t.id,t.local),n=function(e,t){let n=Object.create(null);for(let r of e){let e=wU(r);if(!e)throw Error("Unable to get document id from mutation");let o=n[e]?.after||t.get(e),i=bt(o,r);if("error"===i.status)throw Error(i.message);"noop"!==i.status&&("updated"===i.status||"created"===i.status||"deleted"===i.status)&&(e in n||(n[e]={before:o,after:void 0,muts:[]}),n[e].after=i.after)}return Object.entries(n).map(([e,{before:t,after:n,muts:r}])=>({id:e,status:n?t?"updated":"created":"deleted",mutations:r,before:t,after:n}))}(e.mutations,r),n.forEach(e=>{("created"===e.status||"updated"===e.status)&&r.set(e.id,e.after),"deleted"===e.status&&r.delete(e.id)}),r.get(t.id)}}),e.sendParent(({context:e})=>({type:"rebased.local",id:e.id,document:e.local}))}),"send pristine event to parent":tm(({context:e})=>({type:"pristine",id:e.id})),"send sync event to parent":tm(({context:e})=>({type:"sync",id:e.id,document:e.remote})),"send mutation event to parent":tm(({context:e,event:t})=>(tC(t,"mutation"),{type:"mutation",id:e.id,previousRev:t.previousRev,resultRev:t.resultRev,effects:t.effects}))},actors:{"server-sent events":e3(({input:e})=>{let{listener:t,id:n}=e;return(0,tj.defer)(()=>t).pipe((0,tT.filter)(e=>"welcome"===e.type||"reconnect"===e.type||"mutation"===e.type&&e.documentId===n),(0,wB.observeOn)(wq))}),"fetch remote snapshot":e9(async({input:e,signal:t})=>{let{client:n,id:r}=e;return await n.getDocument(r,{signal:t}).catch(e=>{if(!(e instanceof Error&&"AbortError"===e.name))throw e})}),"submit mutations as transactions":e9(async({input:e,signal:t})=>{let{client:n,transactions:r}=e;for(let e of r){var o;if(t.aborted)return;await n.dataRequest("mutate",{transactionId:(o=e).id,mutations:o.mutations.flatMap(ba)},{visibility:"async",returnDocuments:!1,signal:t}).catch(e=>{if(!(e instanceof Error&&"AbortError"===e.name))throw e})}})},delays:{fetchRemoteSnapshotTimeout:({context:e})=>1e3*Math.pow(2,e.fetchRemoteSnapshotAttempts),submitTransactionsTimeout:({context:e})=>1e3*Math.pow(2,e.submitTransactionsAttempts)}}).createMachine({id:"document-mutator",context:({input:e})=>({client:e.client.withConfig({allowReconfigure:!1}),sharedListener:e.sharedListener,id:e.id,remote:void 0,local:void 0,mutationEvents:[],stagedChanges:[],stashedChanges:[],error:void 0,fetchRemoteSnapshotAttempts:0,submitTransactionsAttempts:0,cache:e.cache}),entry:["connect to server-sent events"],on:{mutate:{actions:["rebase local snapshot","stage mutation"]}},initial:"disconnected",states:{disconnected:{on:{connect:{target:"connecting",actions:["listen to server-sent events"]}}},connecting:{on:{welcome:"connected",reconnect:"reconnecting",error:"connectFailure"},tags:["busy"]},connectFailure:{on:{connect:{target:"connecting",actions:["listen to server-sent events"]}},entry:["stop listening to server-sent events","assign error to context"],exit:["clear error from context"],tags:["error"]},reconnecting:{on:{welcome:{target:"connected"},error:{target:"connectFailure"}},tags:["busy","error"]},connected:{on:{mutation:{actions:["buffer remote mutation events"]},reconnect:"reconnecting"},entry:["clear error from context"],initial:"loading",states:{loading:{invoke:{src:"fetch remote snapshot",id:"getDocument",input:({context:e})=>({client:e.client,id:e.id}),onError:{target:"loadFailure"},onDone:{target:"loaded",actions:["rebase fetched remote snapshot","reset fetch attempts"]}},tags:["busy"]},loaded:{entry:["send sync event to parent"],on:{mutation:{actions:["apply mendoza patch","send mutation event to parent"]}},initial:"pristine",states:{pristine:{on:{mutate:{actions:["rebase local snapshot","stage mutation"],target:"dirty"}},tags:["ready"]},dirty:{on:{submit:"submitting"},tags:["ready"]},submitting:{on:{mutate:{actions:["rebase local snapshot","stash mutation"]}},invoke:{src:"submit mutations as transactions",id:"submitTransactions",input:({context:e})=>{var t,n;let r,o,i=new Map;return i.set(e.id,e.remote),{client:e.client,transactions:(t=e.stagedChanges,n=e=>!e.transaction,r=[],o=[],t.forEach(e=>{n(e)?o.push(e):(o.length>0&&r.push(o),o=[],r.push([e]))}),o.length>0&&r.push(o),r).flatMap(e=>({...e[0],mutations:e.flatMap(e=>e.mutations)})).map(e=>({...e,mutations:Object.values(wR(e.mutations,wU)).flatMap(e=>{var t,n;return(0===(n=0===(t=e).length?t:t.reduce((e,t)=>
1167"delete"===t.type?[t]:(e.push(t),e),[])).length?n:n.reduce((e,t)=>("createIfNotExists"!==t.type?e.push(t):bn(e,e=>"delete"===e.type).find(e=>"createIfNotExists"===e.type)||e.push(t),e),[])).flat().reduce((e,t)=>{let n=e[e.length-1];return n&&"patch"!==n.type||"patch"!==t.type?e.concat(t):e.slice(0,-1).concat({...t,patches:(n?.patches||[]).concat(t.patches)})},[])})})).map(e=>({...e,mutations:e.mutations.map(e=>"patch"!==e.type?e:{...e,patches:e.patches.reduce((e,t)=>{if("unset"!==t.op.type)return e.push(t),e;let n=e.filter(e=>{var n,r;return n=t.path,r=e.path,!(n.length<=r.length&&n.every((e,t)=>{var n,o;return n=e,o=function(e,t){if(t<0||t>=e.length)throw Error("Index out of bounds");return e[t]}(r,t),wY(n)&&wY(o)?n._key===o._key:"number"==typeof n?Number(n)===Number(o):n===o}))});return n.push(t),n},[]).reduceRight((e,t)=>(e.find(e=>{var n,r;return n=e.op,("set"===(r=t.op).type||"unset"===r.type)&&("set"===n.type||"unset"===n.type)&&br(e.path,t.path)})||e.unshift(t),e),[]).reduce((e,t)=>("setIfMissing"!==t.op.type?e.push(t):bn(e,e=>"unset"===e.op.type).find(e=>"setIfMissing"===e.op.type&&br(e.path,t.path))||e.push(t),e),[])})})).map(e=>{var t;return{...e,mutations:(t=i,e.mutations.map((e,n)=>{var r,o;return"patch"===e.type?(r=t.get(e.id),o=e,r?{...o,patches:bo(r,o.patches)}:o):e}))}}).map(e=>e.transaction&&void 0!==e.id?{id:e.id,mutations:e.mutations}:{mutations:e.mutations})}},onError:{target:"submitFailure"},onDone:{target:"pristine",actions:["restore stashed changes","reset submit attempts","send pristine event to parent"]}},tags:["busy","ready"]},submitFailure:{exit:["clear error from context"],after:{submitTransactionsTimeout:{actions:["increment submit attempts"],target:"submitting"}},on:{retry:"submitting"},tags:["error","ready"]}}},loadFailure:{exit:["clear error from context"],after:{fetchRemoteSnapshotTimeout:{actions:["increment fetch attempts"],target:"loading"}},on:{retry:"loading"},tags:["error"]}}}}});function bd(e,t,n){var r;let o=(r=function(e){if(!e)return null;let{_rev:t,...n}=e;return n}(e),new w$(new wI,r,t).process());return o?Object.assign(o,{_rev:n}):null}let bc=tk({types:{},actions:{"emit sync event":tc(({event:e})=>(tC(e,"sync"),e)),"emit mutation event":tc(({event:e})=>(tC(e,"mutation"),e)),"emit rebased event":tc(({event:e})=>(tC(e,["rebased.local","rebased.remote"]),e)),"emit pristine event":tc(({event:e})=>(tC(e,["pristine"]),e)),"add document actor":tt({documents:({context:e,event:t,spawn:n})=>{tC(t,"observe");let r=t.documentId;return e.documents[r]?e.documents:{...e.documents,[r]:n("documentMutatorMachine",{input
1167:{id:r,client:e.client,sharedListener:e.sharedListener||bs(e.client)},id:r})}}}),"stop remote snapshot":eg(({context:e,event:t})=>(tC(t,"unobserve"),e.documents[t.documentId])),"remove remote snapshot from context":tt({documents:({context:e,event:t})=>{if(tC(t,"unobserve"),!e.documents[t.documentId])return e.documents;let{[t.documentId]:n,...r}=e.documents;return r}})},actors:{documentMutatorMachine:bl}}).createMachine({id:"dataset-mutator",context:({input:e})=>({documents:{},client:e.client,sharedListener:e.sharedListener}),on:{sync:{actions:["emit sync event"]},mutation:{actions:["emit mutation event"]},"rebased.*":{actions:["emit rebased event"]},pristine:{actions:["emit pristine event"]},observe:{actions:["add document actor"]},unobserve:{actions:["stop remote snapshot","remove remote snapshot from context"]}},initial:"pristine",states:{pristine:{}}}),bu=e=>{let t,n,r,o,i=(0,$.c)(8),{comlink:a,history:s}=e;return i[0]!==a||i[1]!==s?(t=()=>a?.on("presentation/navigate",e=>{s?.update(e)}),n=[a,s],i[0]=a,i[1]=s,i[2]=t,i[3]=n):(t=i[2],n=i[3]),(0,ne.useEffect)(t,n),i[4]!==a||i[5]!==s?(r=()=>{if(s)return s.subscribe(e=>{e.title=e.title||document.title,a?.post("visual-editing/navigate",e)})},o=[a,s],i[4]=a,i[5]=s,i[6]=r,i[7]=o):(r=i[6],o=i[7]),(0,ne.useEffect)(r,o),null},bf=e=>{let t,n,r=(0,$.c)(3),{comlink:o}=e;return r[0]!==o?(t=()=>{let e=()=>{o.post("visual-editing/meta",{title:document.title})},t=new MutationObserver(t=>{let[n]=t;"TITLE"===n.target.nodeName&&e()});return t.observe(document.head,{subtree:!0,characterData:!0,childList:!0}),e(),()=>t.disconnect()},n=[o],r[0]=o,r[1]=t,r[2]=n):(t=r[1],n=r[2]),(0,ne.useEffect)(t,n),null};function bh(e){let t=new CustomEvent("sanity/dragEnd",{detail:e,cancelable:!0});window.dispatchEvent(t)}let bp=(0,ne.createContext)(null);function bg(){let e=(0,ne.useContext)(bp);if(!e)throw Error("Schema context is missing");return e}function bm(e,t,n,r){if(!e.type)throw Error("Node type is missing");return()=>t.patch(()=>(function(e,t,n){let{path:r,key:o}=pr(e);return[hq(r,hZ([{_type:t,_key:pn()}],n,{_key:o}))]})(e,n,r))}function bv(e){let{node:t,doc:n}=e;return n?[{type:"action",label:"Duplicate",icon:ai,action:function(e,t){if(!e.type)throw Error("Node type is missing");return()=>t.patch(async({getSnapshot:t})=>(function(e,t,n="after"){let{path:r,key:o}=pr(e);return[hq(r,hZ({...h5(t,e.path),_key:pn()},n,{_key:o}))]})(e,await t()))}(t,n),telemetryEvent:"Visual Editing Context Menu Item Duplicated"}]:[]}function by(e){let{node:t,doc:n}=e;return n?[{type:"action",label:"Remove",icon:sX,action:function(e,t){if(!e.type)throw Error("Node type is missing");return()=>t.patch(async({getSnapshot:t})=>(function(e,t){let{path:n,key:r}=pr(e),o=h5(t,n).findIndex(e=>e._key===r);return[hq(n,hF(o,o+1))]})(e,await t()))}(t,n),telemetryEvent:"Visual Editing Context Menu Item Removed"}]:[]}async function bw(e,t=!0){let{node:n,doc:r}=e;if(!r)return[];let o=[],i=[],[a,s,l,d]=await Promise.all([po(n,r,"previous"),po(n,r,"next"),po(n,r,"first"),po(n,r,"last")]);return l.length&&i.push({type:"action",label:"To top",icon:sq,action:()=>r.patch(l),telemetryEvent:"Visual Editing Context Menu Item Moved"}),a.length&&i.push({type:"action",label:"Up",icon:ij,action:()=>r.patch(a),telemetryEvent:"Visual Editing Context Menu Item Moved"}),s.length&&i.push({type:"action",label:"Down",icon:ib,action:()=>r.patch(s),telemetryEvent:"Visual Editing Context Menu Item Moved"}),d.length&&i.push({type:"action",label:"To bottom",icon:lD,action:()=>r.patch(d),telemetryEvent:"Visual Editing Context Menu Item Moved"}),i.length&&(o.push({type:"group",label:"Move",icon:s7,items:i}),t&&o.push({type:"divider"})),o}async function bb(e){let{node:t,field:n,doc:r}=e,o=[];return o.push(...bv(e)),o.push(...by(e)),o.push(...await bw(e)),o.push({type:"action",label:"Insert before",icon:sa,action:bm(t,r,n.name,"before"),telemetryEvent:"Visual Editing Context Menu Item Inserted"}),o.push({type:"action",label:"Insert after",icon:ss,action:bm(t,r,n.name,"after"),telemetryEvent:"Visual Editing Context Menu Item Inserted"}),o}let bx=e=>{let t,n,r,o,i,a=(0,$.c)(12),{label:s,parent:l,width:d,onSelect:c,boundaryElement:u}=e;return a[0]===Symbol.for("react.memo_cache_sentinel")?(t=["left-start","right","left","right-end","left-end","bottom","top"],a[0]=t):t=a[0],a[1]===Symbol.for("react.memo_cache_sentinel")?(n=[4,4,4,4],a[1]=n):n=a[1],a[2]!==u||a[3]!==d?(r={arrow:!1,constrainSize:!0,floatingBoundary:u,padding:0,placement:"right-start",fallbackPlacements:t,preventOverflow:!0,width:d,__unstable_margins:n},a[2]=u,a[3]=d,a[4]=r):r=a[4],a[5]!==c||a[6]!==l?(o=(0,E.jsx)(gR,{node:l,onSelect:c}
1167),a[5]=c,a[6]=l,a[7]=o):o=a[7],a[8]!==s||a[9]!==r||a[10]!==o?(i=(0,E.jsx)(hM,{fontSize:1,icon:ss,padding:2,popover:r,space:2,text:s,children:o}),a[8]=s,a[9]=r,a[10]=o,a[11]=i):i=a[11],i};async function bC(e){let{doc:t,node:n,parent:r}=e,o=[];if(o.push(...bv(e)),o.push(...by(e)),o.push(...await bw(e)),r.options?.insertMenu){let e=(r.options.insertMenu||{}).views?.some(e=>"grid"===e.name)?0:void 0;o.push({type:"custom",component:({boundaryElement:o,sendTelemetry:i})=>(0,E.jsx)(bx,{label:"Insert before",onSelect:e=>{bm(n,t,e.name,"before")(),i("Visual Editing Context Menu Item Inserted",null)},parent:r,width:e,boundaryElement:o})}),o.push({type:"custom",component:({boundaryElement:o,sendTelemetry:i})=>(0,E.jsx)(bx,{label:"Insert after",onSelect:e=>{bm(n,t,e.name,"after")(),i("Visual Editing Context Menu Item Inserted",null)},parent:r,width:e,boundaryElement:o})})}else o.push({type:"group",label:"Insert before",icon:sa,items:r.of.filter(e=>"unionOption"===e.type).map(e=>({type:"action",icon:gv(e),label:"block"===e.name?"Paragraph":e.title||e.name,action:bm(n,t,e.name,"before"),telemetryEvent:"Visual Editing Context Menu Item Inserted"}))}),o.push({type:"group",label:"Insert after",icon:ss,items:r.of.filter(e=>"unionOption"===e.type).map(e=>({type:"action",label:"block"===e.name?"Paragraph":e.title||e.name,icon:gv(e),action:bm(n,t,e.name,"after"),telemetryEvent:"Visual Editing Context Menu Item Inserted"}))});return o}let bk=[-4,4,-4,4];function bj(e){let t,n=(0,$.c)(27),{node:r,onDismiss:o,boundaryElement:i}=e,a=gS();n[0]!==r||n[1]!==o||n[2]!==a?(t=()=>{"action"===r.type&&(r.action?.(),o?.(),r.telemetryEvent&&a(r.telemetryEvent,null))},n[0]=r,n[1]=o,n[2]=a,n[3]=t):t=n[3];let s=t;if("divider"===r.type){let e;return n[4]===Symbol.for("react.memo_cache_sentinel")?(e=(0,E.jsx)(hC,{}),n[4]=e):e=n[4],e}if("action"===r.type){let e,t=!r.action;return n[5]!==r.hotkeys||n[6]!==r.icon||n[7]!==r.label||n[8]!==s||n[9]!==t?(e=(0,E.jsx)(hL,{fontSize:1,hotkeys:r.hotkeys,icon:r.icon,padding:2,space:2,text:r.label,disabled:t,onClick:s}),n[5]=r.hotkeys,n[6]=r.icon,n[7]=r.label,n[8]=s,n[9]=t,n[10]=e):e=n[10],e}if("group"===r.type){let e,t,a,s=r.icon;n[11]===Symbol.for("react.memo_cache_sentinel")?(e={arrow:!1,constrainSize:!0,placement:"right-start",fallbackPlacements:["left-start","right","left","right-end","left-end","bottom","top"],preventOverflow:!0,__unstable_margins:bk},n[11]=e):e=n[11];let l=r.label;if(n[12]!==i||n[13]!==r.items||n[14]!==o){let e;n[16]!==i||n[17]!==o?(e=(e,t)=>(0,E.jsx)(bj,{node:e,onDismiss:o,boundaryElement:i},t),n[16]=i,n[17]=o,n[18]=e):e=n[18],t=r.items.map(e),n[12]=i,n[13]=r.items,n[14]=o,n[15]=t}else t=n[15];return n[19]!==r.icon||n[20]!==r.label||n[21]!==t?(a=(0,E.jsx)(hM,{fontSize:1,icon:s,padding:2,popover:e,space:2,text:l,children:t}),n[19]=r.icon,n[20]=r.label,n[21]=t,n[22]=a):a=n[22],a}if("custom"===r.type){let e,{component:t}=r;return n[23]!==t||n[24]!==i||n[25]!==a?(e=(0,E.jsx)(t,{boundaryElement:i,sendTelemetry:a}),n[23]=t,n[24]=i,n[25]=a,n[26]=e):e=n[26],e}return null}let bM=e=>{let t,n,r,o,i,a,s,l,d,c,u,f,h,p,g,m=(0,$.c)(43),{node:v,onDismiss:y,position:w}=e,{x:b,y:x}=w,[C,k]=(0,ne.useState)(null),{getField:j}=bg(),{getDocument:M}=pt();m[0]!==j||m[1]!==v?(t=j(v),m[0]=j,m[1]=v,m[2]=t):t=m[2];let{field:L,parent:S}=t,_=L?.title||L?.name||"Unknown type",[R,H]=(0,ne.useState)(void 0);m[3]!==L||m[4]!==M||m[5]!==v||m[6]!==S?(n=()=>{(async()=>{let e=M(v.id);e&&H(await function(e){let{node:t,field:n,parent:r,doc:o}=e;return n?.type==="arrayItem"?bb({node:t,field:n,doc:o}):r?.type==="union"?bC({node:t,parent:r,doc:o}):Promise.resolve([])}({node:v,field:L,parent:S,doc:e}))})()},r=[L,v,S,M],m[3]=L,m[4]=M,m[5]=v,m[6]=S,m[7]=n,m[8]=r):(n=m[7],r=m[8]),(0,ne.useEffect)(n,r),m[9]!==b||m[10]!==x?(o={getBoundingClientRect:()=>({bottom:x,left:b,right:b,top:x,width:0,height:0})},m[9]=b,m[10]=x,m[11]=o):o=m[11];let V=o;m[12]!==L?(i=gv(L),m[12]=L,m[13]=i):i=m[13];let I=i;m[14]===Symbol.for("react.memo_cache_sentinel")?(a={minWidth:120,maxWidth:160},m[14]=a):a=m[14],m[15]!==I||m[16]!==R?(s=(0,E.jsx)(uf,{flex:"none",children:R?(0,E.jsx)(up,{size:1,children:I}):(0,E.jsx)(ub,{size:1})}),m[15]=I,m[16]=R,m[17]=s):s=m[17];let O=R?_:"Loading...";m[18]!==O?(l=(0,E.jsx)(fD,{flex:1,space:2,children:(0,E.jsx)(up,{size:1,weight:"semibold",children:O})}),m[18]=O,m[19]=l):l=m[19],m[20]!==s||m[21]!==l?(d=(0,E.jsxs)(uv,{gap:2,padding:2,children:[s,l]}),m[20]=s,m[21]=l,m[22]=d):d=m[22],m[23]!==C||m[24]!==R||m[25]!==y?(c=R&&(0,E.jsxs)(E.Fragment,{children:[(0,E.jsx)(hC,{}),R.map((e,t)=>(0,E.jsx)(bj,{node:e,onDismiss:y,boundaryElement:C},t))]}),m[23]=C,m[24]=R,m[25]=y,m[26]=c):c=m[26],m[27]!==d||m[28]!==c?(u=(0,E.jsxs)(hx,{style:a,children:[d,c]}),m[27]=d,m[28]=c,m[29]=u):u=m[29];let A=`${b}-${x}`;return m[30]!==b||m[31]!==x?(f={position:"absolute",left:b,top:x},m[30]=b,m[31]=x,m[32]=f):f=m[32],m[33]!==A||m[34]!==f?(h=(0,E.jsx)("div",{style:f},A),m[33]=A,m[34]=f,m[35]=h):h=m[35],m[36]!==V||m[37]!==u||m[38]!==h?(p=(0,E.jsx)(fI,{__unstable_margins:bk,arrow:!1,open:!0,placement:"right-start",referenceElement:V,content:u,children:h}),m[36]=V,m[37]=u,m[38]=h,m[39]=p):p=m[39],m[40]!==y||m[41]!==p?(g=(0,E.jsx)(gx,{setBoundaryElement:k,onDismiss:y,children:p}),m[40]=y,m[41]=p,m[42]=g):g=m[42],g},bL=(0,ne.createContext)(null),bS=ii(uS)` 1168 background-color: var(--overlay-bg); 1169 border-radius: 3px; 1170 pointer-events: none; 1171 position: absolute; 1172 will-change: transform;
1173 box-shadow: var(--overlay-box-shadow); 1174 transition: none; 1175 1176 --overlay-bg: transparent; 1177 --overlay-box-shadow: inset 0 0 0 1px transparent; 1178 1179 [data-overlays] & { 1180 --overlay-bg: color-mix(in srgb, transparent 95%, var(--card-focus-ring-color)); 1181 --overlay-box-shadow: inset 0 0 0 2px 1182 color-mix(in srgb, transparent 50%, var(--card-focus-ring-color)); 1183 } 1184 1185 [data-fading-out] & { 1186 transition: 1187 box-shadow 1550ms, 1188 background-color 1550ms; 1189 1190 --overlay-bg: rgba(0, 0, 255, 0); 1191 --overlay-box-shadow: inset 0 0 0 1px transparent; 1192 } 1193 1194 &[data-focused] { 1195 --overlay-box-shadow: inset 0 0 0 1px var(--card-focus-ring-color); 1196 } 1197 1198 &[data-hovered]:not([data-focused]) { 1199 transition: none; 1200 --overlay-box-shadow: inset 0 0 0 2px var(--card-focus-ring-color); 1201 } 1202 1203 /* [data-unmounted] & { 1204 --overlay-box-shadow: inset 0 0 0 1px var(--card-focus-ring-color); 1205 } */ 1206 1207 :link { 1208 text-decoration: none; 1209 } 1210`,b_=ii(uv)` 1211 bottom: 100%; 1212 cursor: pointer; 1213 pointer-events: none; 1214 position: absolute; 1215 right: 0; 1216 1217 [data-hovered]:not([data-menu-open]) & { 1218 pointer-events: all; 1219 } 1220 1221 [data-flipped] & { 1222 bottom: auto; 1223 top: 100%; 1224 } 1225`,bR=ii(uv)` 1226 top: 100%; 1227 cursor: pointer; 1228 pointer-events: none; 1229 position: absolute; 1230 left: 0; 1231 1232 gap: 4px; 1233 padding: 4px 0; 1234 flex-wrap: wrap; 1235 1236 [data-hovered]:not([data-menu-open]) & { 1237 pointer-events: all; 1238 } 1239 1240 [data-flipped] & { 1241 top: calc(100% + 2rem); 1242 } 1243`,bE=ii(uv)` 1244 margin: -0.5rem; 1245 1246 [data-hovered]:not([data-menu-open]) & { 1247 pointer-events: all; 1248 } 1249`,b$=ii(uv)` 1250 bottom: 100%; 1251 cursor: pointer; 1252 pointer-events: none; 1253 position: absolute; 1254 left: 0; 1255 1256 [data-hovered]:not([data-menu-open]) & { 1257 pointer-events: all; 1258 } 1259 1260 [data-flipped] & { 1261 bottom: auto; 1262 top: 100%; 1263 } 1264`,bH=ii(uS)` 1265 cursor: pointer; 1266 background-color: var(--card-focus-ring-color); 1267 right: 0; 1268 border-radius: 3px; 1269 1270 & [data-ui='Text'] { 1271 color: #fff; 1272 white-space: nowrap; 1273 } 1274`,bV=ii(uv)` 1275 display: flex; 1276 align-items: center; 1277 background-color: var(--card-focus-ring-color); 1278 right: 0; 1279 border-radius: 3px; 1280 & [data-ui='Text'], 1281 & [data-sanity-icon] { 1282 color: #fff; 1283 white-space: nowrap; 1284 } 1285`,bI=ii.div` 1286 position: absolute; 1287 inset: 0; 1288 pointer-events: all; 1289`,bO=e=>{let t,n,r,o,i,a,s,l,d,c,u,f,h,p,g,m,v,y=(0,$.c)(60),{id:w,element:b,focused:x,componentResolver:C,node:k,showActions:j,draggable:M,targets:L,elementType:S,comlink:_,onActivateExclusivePlugin:R,onMenuOpenChange:H,inFrame:V}=e,{getField:I,getType:O}=bg();y[0]!==O||y[1]!==k?(t=O(k),y[0]=O,y[1]=k,y[2]=t):t=y[2];let A=t;y[3]!==k?(n="path"in k?function(e){let{id:t,type:n,path:r,baseUrl:o,tool:i,workspace:a,perspective:s}=e,[l,d]=(0,nn.createEditUrl)({baseUrl:o,workspace:a,tool:i,type:n,id:t,path:r?function(e){let t="";for(let n of e){if("string"==typeof n){t&&(t+="."),t+=n;continue}if("number"==typeof n){t&&(t+=":"),t+=`${n}`;continue}if(null!==n&&Array.isArray(n)){t&&(t+=":"),t+=`${n.join(",")}}`;continue}if(n._key){t&&(t+=":"),t+=`${n._key}`;continue}}return t}(nn.studioPath.fromString(r)):[]}).split("?"),c=new URLSearchParams(d),u=s||c.get("perspective");return"drafts"===u?c.delete("perspective"):u&&c.set("perspective",u),`${l}?${c}`}(k):k.href,y[3]=k,y[4]=n):n=y[4];let B=n,z=function(){let e=(0,ne.useContext)(bL);if(!e)throw Error("Preview Snapshots context is missing");return e}();t:{let e;if(!("path"in k)){r=void 0;break t}y[5]!==k||y[6]!==z?(e=z.find(e=>e._id===k.id)?.title,y[5]=k,y[6]=z,y[7]=e):e=y[7],r=e}let T=r;y[8]!==b||y[9]!==x||y[10]!==I||y[11]!==O?(o=function(e,t){let n=O(e),{field:r,parent:o}=I(e);if(!("id"in e)||!r||!n)return;let i=r.value.type;return{document:n,element:b,targetElement:t||b,field:r,focused:!!x,node:e,parent:o,type:i}},y[8]=b,y[9]=x,y[10]=I,y[11]=O,y[12]=o):o=y[12];let W=o;if(y[13]!==S||y[14]!==W||y[15]!==k?(i="element"===S?W(k):void 0,y[13]=S,y[14]=W,y[15]=k,y[16]=i):i=y[16],y[17]!==W||y[18]!==L){let e;y[20]!==W?(e=e=>W(e.sanity,e.element),y[20]=W,y[21]=e):e=y[21],a=L.map(e).filter(bT),y[17]=W,y[18]=L,y[19]=a}else a=y[19];y[22]!==i||y[23]!==a?(s={legacyComponentContext:i,pluginContexts:a},y[22]=i,y[23]=a,y[24]=s):s=y[24];let N=s,P=function(e,t){let n,r=(0,$.c)(3);if(r[0]!==e||r[1]!==t){t:{if(!e){n=void 0;break t}let r=t?.(e);if(!r){n=void 0;break t}if((0,ne.isValidElement)(r)){n=r;break t}n=(Array.isArray(r)?r:[r]).map(bB)}r[0]=e,r[1]=t,r[2]=n}else n=r[2];return n}(N.legacyComponentContext,C),Z=function(e,t){let n,r=(0,$.c)(5);if(r[0]!==e||r[1]!==t){let o;r[3]!==t?(o=e=>{let n={id:pA(),context:e,hud:[],exclusive:[]};return t?.forEach(t=>{t.guard?.(e)&&("hud"===t.type&&n.hud.push(t),"exclusive"===t.type&&n.exclusive.push(t))}),n},r[3]=t,r[4]=o):o=r[4],n=e.map(o),r[0]=e,r[1]=t,r[2]=n}else n=r[2];return n}(N.pluginContexts,e.plugins);y[25]!==A?(l=A?.icon?(0,E.jsx)("div",{dangerouslySetInnerHTML:{__html:A.icon}}):(0,E.jsx)(ah,{}),y[25]=A,y[26]=l):l=y[26];let F=l,D=(0,ne.useId)();y[27]!==Z?(d=Z?.some(bW),y[27]=Z,y[28]=d):d=y[28];let q=d||Z?.length>1;y[29]!==w?(c=()=>{window.dispatchEvent(new CustomEvent("sanity-overlay/label-click",{detail:{id:w}}))},y[29]=w,y[30]=c):c=y[30];let U=c;return y[31]!==B||y[32]!==V||y[33]!==j?(u=j?(0,E.jsx)(b_,{gap:1,paddingY:1,children:(0,E.jsx)(bz,{inFrame:V,href:B})}):null,y[31]=B,y[32]=V,y[33]=j,y[34]=u):u=y[34],y[35]!==_||y[36]!==M||y[37]!==U||y[38]!==F||y[39]!==D||y[40]!==Z||y[41]!==R||y[42]!==H||y[43]!==q||y[44]!==T?(f=(T||q)&&(0,E.jsx)(b$,{gap:1,paddingY:1,onClick:U,children:(0,E.jsxs)(bV,{gap:2,padding:2,children:[M&&(0,E.jsx)(uf,{marginRight:1,children:(0,E.jsx)(up,{className:"drag-handle",size:0,children:(0,E.jsx)(a_,{})})}),(0,E.jsx)(up,{size:0,children:F}),T&&(0,E.jsx)(up,{size:1,weight:"medium",children:T}),q&&(0,E.jsx)(uf,{paddingLeft:2,onClick:bN,children:(0,E.jsx)(bE,{children:(0,E.jsx)(g6,{id:D,popover:{animate:!0,placement:"bottom-start",constrainSize:!0,tone:"default"},onOpen:()=>{H?.(!0)},onClose:()=>{H?.(!1)},button:(0,E.jsx)(uM,{icon:aI,tone:"primary",padding:2}),menu:(0,E.jsx)(hx,{paddingY:0,children:(0,E.jsx)(gH,{children:Z?.map((e,t)=>(0,E.jsxs)(ne.Fragment,{children:[(0,E.jsxs)(fD,{role:"group",paddingY:1,space:0,children:[(0,E.jsx)(hL,{paddingY:2,text:(0,E.jsx)(uf,{paddingY:2,children:(0,E.jsx)(up,{muted:!0,size:1,style:{textTransform:"capitalize"},children:`${e.context.document.name}: ${e.context.field?.name}`})}),onClick:()=>{e.context.node&&_?.post("visual-editing/focus",e.context.node)}}),e.exclusive.map(t=>
1289t.component?(0,E.jsx)(hL,{paddingY:2,icon:t.icon||(0,E.jsx)(sN,{}),text:(0,E.jsx)(uf,{paddingY:2,children:(0,E.jsx)(up,{size:1,children:t.title||t.name})}),onClick:()=>R?.(t,e.context)},t.name):null)]}),t<Z.length-1&&(0,E.jsx)(hC,{})]},e.id))})})})})})]})}),y[35]=_,y[36]=M,y[37]=U,y[38]=F,y[39]=D,y[40]=Z,y[41]=R,y[42]=H,y[43]=q,y[44]=T,y[45]=f):f=y[45],y[46]!==Z?(h=Z?.map(bP),y[46]=Z,y[47]=h):h=y[47],y[48]!==h?(p=(0,E.jsx)(bR,{children:h}),y[48]=h,y[49]=p):p=y[49],y[50]!==u||y[51]!==f||y[52]!==p?(g=(0,E.jsxs)(gH,{children:[u,f,p]}),y[50]=u,y[51]=f,y[52]=p,y[53]=g):g=y[53],y[54]!==P||y[55]!==N.legacyComponentContext?(m=Array.isArray(P)?P.map((e,t)=>{let{component:n,props:r}=e;return(0,E.jsx)(n,{PointerEvents:gH,...N.legacyComponentContext,...r},t)}):P,y[54]=P,y[55]=N.legacyComponentContext,y[56]=m):m=y[56],y[57]!==g||y[58]!==m?(v=(0,E.jsxs)(E.Fragment,{children:[g,m]}),y[57]=g,y[58]=m,y[59]=v):v=y[59],v},bA=(0,ne.memo)(function(e){let t,n,r,o,i,a,s,l,d,c,u,f,h,p=(0,$.c)(39),{draggable:g,focused:m,hovered:v,rect:y,wasMaybeCollapsed:w,enableScrollIntoView:b,inFrame:x}=e,C=(0,ne.useRef)(null),k=(0,ne.useRef)(!1),j=`${y.w}px`,M=`${y.h}px`,L=`translate(${y.x}px, ${y.y}px)`;p[0]!==j||p[1]!==M||p[2]!==L?(t={width:j,height:M,transform:L},p[0]=j,p[1]=M,p[2]=L,p[3]=t):t=p[3];let S=t;p[4]!==b||p[5]!==m||p[6]!==w?(n=()=>{if(!k.current&&!w&&!0===m&&C.current&&b){let e=C.current;!function(e,t){let n;if(!e.isConnected||!(e=>{let t=e;for(;t&&t.parentNode;){if(t.parentNode===document)return!0;t=t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}return!1})(e))return;let r={top:parseFloat((n=window.getComputedStyle(e)).scrollMarginTop)||0,right:parseFloat(n.scrollMarginRight)||0,bottom:parseFloat(n.scrollMarginBottom)||0,left:parseFloat(n.scrollMarginLeft)||0};if("object"==typeof t&&"function"==typeof t.behavior)return t.behavior(mS(e,t));let o="boolean"==typeof t||null==t?void 0:t.behavior;for(let{el:n,top:i,left:a}of mS(e,!1===t?{block:"end",inline:"nearest"}:t===Object(t)&&0!==Object.keys(t).length?t:{block:"start",inline:"nearest"})){let e=i-r.top+r.bottom,t=a-r.left+r.right;n.scroll({top:e,left:t,behavior:o})}}(C.current,{behavior:t=>{0!==t.length&&e.scrollIntoView({behavior:"smooth",block:"center",inline:"nearest"})},scrollMode:"if-needed",block:"center",inline:"nearest"})}k.current=!0===m},r=[m,w,b],p[4]=b,p[5]=m,p[6]=w,p[7]=n,p[8]=r):(n=p[7],r=p[8]),(0,ne.useEffect)(n,r);let[_,R]=(0,ne.useState)(!1);p[9]!==v?(o=()=>{if(!C.current||!v)return;let e=new IntersectionObserver(e=>{let[t]=e;R(t.boundingClientRect.top<0)},{threshold:1});return e.observe(C.current),()=>e.disconnect()},p[9]=v,p[10]=o):o=p[10],p[11]!==v||p[12]!==_?(i=[v,_],p[11]=v,p[12]=_,p[13]=i):i=p[13],(0,ne.useEffect)(o,i);let[H,V]=(0,ne.useState)(null);p[14]===Symbol.for("react.memo_cache_sentinel")?(a=()=>{V(null),window.dispatchEvent(new CustomEvent("sanity-overlay/exclusive-plugin-closed"))},p[14]=a):a=p[14];let I=a;p[15]===Symbol.for("react.memo_cache_sentinel")?(s=(e,t)=>{V({plugin:e,context:t})},p[15]=s):s=p[15];let O=s,A=H?.plugin.component,[B,z]=(0,ne.useState)(!1);p[16]===Symbol.for("react.memo_cache_sentinel")?(l=()=>{(0,ne.startTransition)(()=>z(!1))},p[16]=l):l=p[16],p[17]!==v?(d=[v],p[17]=v,p[18]=d):d=p[18],(0,ne.useEffect)(l,d),p[19]!==A||p[20]!==B?(c=B||A?(0,E.jsx)(gC,{onDismiss:I,blockScroll:B}):null,p[19]=A,p[20]=B,p[21]=c):c=p[21];let T=m?"":void 0,W=v?"":void 0,N=_?"":void 0,P=g?"":void 0,Z=B?"":void 0;return p[22]!==A||p[23]!==H||p[24]!==v||p[25]!==x||p[26]!==e?(u=A?(0,E.jsx)(bI,{"data-sanity-overlay-element":!0,onClick:bZ,children:(0,E.jsx)(A,{...H.context,closeExclusiveView:I})}):v?(0,E.jsx)(bO,{...e,inFrame:x,onActivateExclusivePlugin:O,onMenuOpenChange:z}):null,p[22]=A,p[23]=H,p[24]=v,p[25]=x,p[26]=e,p[27]=u):u=p[27],p[28]!==S||p[29]!==T||p[30]!==W||p[31]!==N||p[32]!==P||p[33]!==Z||p[34]!==u?(f=(0,E.jsx)(bS,{"data-focused":T,"data-hovered":W,"data-flipped":N,"data-draggable":P,"data-menu-open":Z,ref:C,style:S,children:u}),p[28]=S,p[29]=T,p[30]=W,p[31]=N,p[32]=P,p[33]=Z,p[34]=u,p[35]=f):f=p[35],p[36]!==c||p[37]!==f?(h=(0,E.jsxs)(E.Fragment,{children:[c,f]}),p[36]=c,p[37]=f,p[38]=h):h=p[38],h});function bB(e){return"object"==typeof e&&"component"in e?e:{component:e,props:{}}}let bz=(0,ne.memo)(function(e){let t,n,r,o=(0,$.c)(8),{inFrame:i}=e,a=(0,ne.useSyncExternalStore)(bF,bD);o[0]!==e.href||o[1]!==a?(t=function e(t,n){try{let r=new URL(t,typeof location>"u"?void 0:location.origin);if(r.hash){let t=new URL(e(r.hash.slice(1),n));return`${r.origin}${r.pathname}${r.search}#${t.pathname}${t.search}`}return r.searchParams.set("preview",n),r.toString()}catch{return t}}(e.href,a),o[0]=e.href,o[1]=a,o[2]=t):t=o[2];let s=t,l=i?void 0:"_blank",d=i?"noopener":"noopener noreferrer";return o[3]===Symbol.for("react.memo_cache_sentinel")?(n=(0,E.jsx)(bH,{padding:2,children:(0,E.jsx)(up,{size:1,weight:"medium",children:"Open in Studio"})}),o[3]=n):n=o[3],o[4]!==s||o[5]!==l||o[6]!==d?(r=(0,E.jsx)(uf,{as:"a",href:s,target:l,rel:d,children:n}),o[4]=s,o[5]=l,o[6]=d,o[7]=r):r=o[7],r});function bT(e){return void 0!==e}function bW(e){return e.exclusive.length>0}function bN(e){e.stopPropagation()}function bP(e){return(0,E.jsx)(ne.Fragment,{children:e.hud.map(t=>{let n=t.component;return n?(0,E.jsx)(n,{...e.context},t.name):null})},e.id)}function bZ(e){e.stopPropagation()}function bF(e){let t=()=>e();return window.addEventListener("popstate",t),()=>window.removeEventListener("popstate",t)}function bD(){return window.location.href}let bq=e=>{let t,n=(0,$.c)(5),{dragGroupRect:r}=e,o=`${r.y}px`,i=`${r.x}px`,a=`${r.w-1}px`,s=`${r.h-1}px`;return n[0]!==o||n[1]!==i||n[2]!==a||n[3]!==s?(t=(0,E.jsx)("div",{style:{position:"absolute",top:o,left:i,width:a,height:s,border:"1px dashed #f0709b",pointerEvents:"none"}}),n[0]=o,n[1]=i,n[2]=a,n[3]=s,n[4]=t):t=n[4],t},bU=e=>{let t,n=(0,$.c)(4),{dragInsertPosition:r}=e;if(null===r)return;let o=r?.left||r?.right?"horizontal":"vertical",i=0,a=0,s=0,l=0;if("horizontal"===o){let{left:e,right:t}=r;if(s=6,t&&e){let n=e.rect.x+e.rect.w,r=t.rect.x,o=.0125*Math.min(t.rect.h,e.rect.h);i=.5*n+.5*r-3,a=e.rect.y+o,l=Math.min(t.rect.h,e.rect.h)-2*o}else if(t&&!e){let e=.0125*t.rect.h;i=t.rect.x-3,a=t.rect.y+e,l=t.rect.h-2*e}else if(e&&!t){let t=.0125*e.rect.h;i=e.rect.x+e.rect.w-3,a=e.rect.y+t,l=e.rect.h-2*t}}else{let{bottom:e,top:t}=r;if(e&&t){let n=Math.min(t.rect.x,e.rect.x),r=t.rect.y+t.rect.h,o=e.rect.y,d=.0125*Math.min(e.rect.w,t.rect.w);l=6,i=n+d,a=.5*r+.5*o-3,s=Math.max(e.rect.w,t.rect.w)-2*d}else if(e&&!t){let t=.0125*e.rect.w;i=e.rect.x+t,a=e.rect.y-3,s=e.rect.w-2*t,l=6}else if(t&&!e){let e=.0125*t.rect.w;i=t.rect.x+e,a=t.rect.y+t.rect.h-3,s=t.rect.w-2*e,l=6}}let d=`${s}px`,c=`${l}px`,u=`translate(${i}px, ${a}px)`;return n[0]!==d||n[1]!==c||n[2]!==u?(t=(0,E.jsx)("div",{style:{position:"absolute",width:d,height:c,transform:u,background:"#556bfc",border:"2px s
1289olid white",borderRadius:"999px",zIndex:"999999"}}),n[0]=d,n[1]=c,n[2]=u,n[3]=t):t=n[3],t},bG=ii.div` 1290 --drag-preview-opacity: 0.98; 1291 --drag-preview-skeleton-stroke: #ffffff; 1292 1293 @media (prefers-color-scheme: dark) { 1294 --drag-preview-skeleton-stroke: #383d51; 1295 } 1296 1297 position: fixed; 1298 display: grid; 1299 transform: ${({$scaleFactor:e,$width:t,$height:n})=>`translate(calc(var(--drag-preview-x) - ${t/2}px), calc(var(--drag-preview-y) - ${n/2}px)) scale(${e})`}; 1300 width: ${({$width:e})=>`${e}px`}; 1301 height: ${({$height:e})=>`${e}px`}; 1302 z-index: 9999999; 1303 opacity: var(--drag-preview-opacity); 1304 cursor: move; 1305 1306 .drag-preview-content-wrapper { 1307 position: relative; 1308 width: 100%; 1309 height: 100%; 1310 container-type: inline-size; 1311 } 1312 1313 [data-ui='card'] { 1314 position: relative; 1315 width: 100%; 1316 height: 100%; 1317 } 1318 1319 .drag-preview-skeleton { 1320 position: absolute; 1321 inset: 0; 1322 1323 rect { 1324 stroke: var(--drag-preview-skeleton-stroke); 1325 } 1326 } 1327 1328 .drag-preview-handle { 1329 position: absolute; 1330 top: 4cqmin; 1331 left: 4cqmin; 1332 width: 6cqmin; 1333 fill: var(--drag-preview-handle-fill); 1334 } 1335`,bY=e=>{var t,n,r;let o,i,a,s,l,d,c,u,f,h,p,g,m,v,y,w,b,x,C,k,j,M=(0,$.c)(50),{skeleton:L}=e,S=Math.min(L.maxWidth,window.innerWidth/2),_=L.w>S?S/L.w:1,R=L.offsetX*_,H=L.offsetY*_,V=uz(),I=ca(),O=I.radius[~~(t=L.w,r=(t-0)*((n=I.radius.length-2)-1)/1920+1,r<1?1:r>n?n:r)];if(M[0]!==R||M[1]!==H||M[2]!==V||M[3]!==O||M[4]!==_||M[5]!==L.childRects||M[6]!==L.h||M[7]!==L.w){let e=L.childRects.filter(bK),t=L.childRects.filter(bX);i=bG,s=L.w,l=L.h,d=R,c=H,u=_,o=uS,g=O,m=4,v="hidden",y="transparent",w=V?"dark":"light",p="drag-preview-content-wrapper",f="drag-preview-skeleton",h=`0 0 ${L.w} ${L.h}`,a=[...e,...t],M[0]=R,M[1]=H,M[2]=V,M[3]=O,M[4]=_,M[5]=L.childRects,M[6]=L.h,M[7]=L.w,M[8]=o,M[9]=i,M[10]=a,M[11]=s,M[12]=l,M[13]=d,M[14]=c,M[15]=u,M[16]=f,M[17]=h,M[18]=p,M[19]=g,M[20]=m,M[21]=v,M[22]=y,M[23]=w}else o=M[8],i=M[9],a=M[10],s=M[11],l=M[12],d=M[13],c=M[14],u=M[15],f=M[16],h=M[17],p=M[18],g=M[19],m=M[20],v=M[21],y=M[22],w=M[23];return M[24]!==a||M[25]!==I.color?(b=a.map((e,t)=>(0,E.jsx)("rect",{x:e.x,y:e.y,width:e.w,height:e.h,fill:I.color.skeleton.from},t)),M[24]=a,M[25]=I.color,M[26]=b):b=M[26],M[27]!==b||M[28]!==f||M[29]!==h?(x=(0,E.jsx)("svg",{className:f,viewBox:h,children:b}),M[27]=b,M[28]=f,M[29]=h,M[30]=x):x=M[30],M[31]!==x||M[32]!==p?(C=(0,E.jsx)("div",{className:p,children:x}),M[31]=x,M[32]=p,M[33]=C):C=M[33],M[34]!==o||M[35]!==C||M[36]!==g||M[37]!==m||M[38]!==v||M[39]!==y||M[40]!==w?(k=(0,E.jsx)(o,{radius:g,shadow:m,overflow:v,tone:y,scheme:w,children:C}),M[34]=o,M[35]=C,M[36]=g,M[37]=m,M[38]=v,M[39]=y,M[40]=w,M[41]=k):k=M[41],M[42]!==i||M[43]!==s||M[44]!==l||M[45]!==d||M[46]!==c||M[47]!==u||M[48]!==k?(j=(0,E.jsx)(i,{$width:s,$height:l,$offsetX:d,$offsetY:c,$scaleFactor:u,children:k}),M[42]=i,M[43]=s,M[44]=l,M[45]=d,M[46]=c,M[47]=u,M[48]=k,M[49]=j):j=M[49],j};function bK(e){return"IMG"===e.tagName}function bX(e){return"IMG"!==e.tagName}let bJ=ii(uS)` 1336 position: fixed; 1337 bottom: 2rem; 1338 left: 2rem; 1339`,bQ=()=>{let e,t,n=(0,$.c)(2);return n[0]===Symbol.for("react.memo_cache_sentinel")?(e={zIndex:"999999"},n[0]=e):e=n[0],n[1]===Symbol.for("react.memo_cache_sentinel")?(t=(0,E.jsx)(bJ,{padding:2,shadow:2,radius:2,style:e,children:(0,E.jsxs)(uv,{al
1339ign:"center",gap:2,children:[(0,E.jsx)(hp,{keys:["Shift"]}),(0,E.jsx)(up,{size:1,children:"Zoom Out"}),(0,E.jsx)(aZ,{})]})}),n[1]=t):t=n[1],t};function b1(e,t){let{type:n}=t,{contextMenu:r,focusPath:o,perspective:i,isDragging:a,dragInsertPosition:s,dragShowMinimap:l,dragShowMinimapPrompt:d,dragSkeleton:c,dragMinimapTransition:u,dragGroupRect:f}=e,h=!1;if("presentation/focus"===n){let n=e.focusPath;n!==(o=t.data.path)&&(h=n.slice(o.length).startsWith("["))}return"presentation/perspective"===n&&(i=t.data.perspective),"element/contextmenu"===n&&(r="sanity"in t?{node:t.sanity,position:t.position}:null),("element/click"===n||"element/mouseleave"===n||"overlay/blur"===n||"presentation/blur"===n||"presentation/focus"===n)&&(r=null),"overlay/dragUpdateInsertPosition"===n&&(s=t.insertPosition),"overlay/dragStart"===n&&(a=!0),"overlay/dragUpdateSkeleton"===t.type&&(c=t.skeleton),"overlay/dragEnd"===n&&(a=!1),"overlay/dragToggleMinimapPrompt"===t.type&&(d=t.display),"overlay/dragStartMinimapTransition"===n&&(u=!0),"overlay/dragEndMinimapTransition"===n&&(u=!1),"overlay/dragUpdateGroupRect"===n&&(f=t.groupRect),"overlay/dragToggleMinimap"===n&&(l=t.display),{...e,contextMenu:r,elements:((e,t)=>{let{type:n}=t;switch(n){case"element/register":return e.find(e=>e.id===t.id)?e:[...e,{id:t.id,activated:!1,element:t.element,focused:!1,hovered:!1,rect:t.rect,sanity:t.sanity,dragDisabled:t.dragDisabled,targets:t.targets,elementType:t.elementType}];case"element/activate":return e.map(e=>e.id===t.id?{...e,activated:!0}:e);case"element/update":return e.map(e=>e.id===t.id?{...e,sanity:t.sanity,rect:t.rect,targets:t.targets,elementType:t.elementType}:e);case"element/unregister":return e.filter(e=>e.id!==t.id);case"element/deactivate":return e.map(e=>e.id===t.id?{...e,activated:!1,hovered:!1}:e);case"element/mouseenter":return e.map(e=>e.id===t.id?{...e,rect:t.rect,hovered:!0}:{...e,hovered:!1});case"element/mouseleave":return e.map(e=>e.id===t.id?{...e,hovered:!1}:e);case"element/updateRect":return e.map(e=>e.id===t.id?{...e,rect:t.rect}:e);case"element/click":return e.map(e=>({...e,focused:e.id===t.id&&"clicked"}));case"overlay/reset-mouse-state":return e.map(e=>({...e,focused:!1,hovered:!1}));case"overlay/blur":return e.map(e=>({...e,focused:!1}));case"presentation/blur":return e.map(e=>({...e,focused:!1}));case"presentation/focus":{let n=e.find(e=>"clicked"===e.focused);return e.map(e=>{let r="path"in e.sanity&&e.sanity.id===t.data.id&&e.sanity.path===t.data.path;return n&&e===n&&r?e:{...e,focused:r&&n?"duplicate":r}})}default:return e}})(e.elements,t),dragInsertPosition:s,dragSkeleton:c,dragGroupRect:f,isDragging:a,focusPath:o,perspective:i,wasMaybeCollapsed:h,dragShowMinimap:l,dragShowMinimapPrompt:d,dragMinimapTransition:u}}let b0=function(e){let t,n,r,o,i,a,s,l=(0,$.c)(13),{comlink:d,children:c}=e;l[0]===Symbol.for("react.memo_cache_sentinel")?(t=[],l[0]=t):t=l[0];let[u,f]=(0,ne.useState)(t);l[1]!==d?(n=async e=>{if(d)try{let t=await d.fetch("visual-editing/preview-snapshots",void 0,{signal:e,suppressWarnings:!0});f(t.snapshots)}catch{}},l[1]=d,l[2]=n):n=l[2];let h=n;return l[3]!==d||l[4]!==h?(r=()=>{if(!d)return;let e=new AbortController,t=d.onStatus(()=>{h(e.signal)},"connected");return()=>{e.abort(),t()}},o=[d,h],l[3]=d,l[4]=h,l[5]=r,l[6]=o):(r=l[5],o=l[6]),(0,ne.useEffect)(r,o),l[7]!==d?(i=()=>d?.on("presentation/preview-snapshots",e=>{f(e.snapshots)}),a=[d],l[7]=d,l[8]=i,l[9]=a):(i=l[8],a=l[9]),(0,ne.useEffect)(i,a),l[10]!==c||l[11]!==u?(s=(0,E.jsx)(bL.Provider,{value:u,children:c}),l[10]=c,l[11]=u,l[12]=s):s=l[12],s};function b5(e){return"document"===e.type}function b2(e){return"type"===e.type}let b3=function(e){let t,n,r,o,i,a,s,l,d,c,u,f=(0,$.c)(22),{comlink:h,children:p,elements:g}=e;f[0]===Symbol.for("react.memo_cache_sentinel")?(t=new Map,f[0]=t):t=f[0];let[m,v]=(0,ne.useState)(t),[y,w]=(0,ne.useState)(null);f[1]!==h?(n=()=>{if(!h)return;let e=async function(e){if(h)try{let t=await h.fetch("visual-editing/schema",void 0,{signal:e,suppressWarnings:!0});w(t.schema)}catch{}},t=new AbortController,n=h.onStatus(()=>{e(t.signal)},"connected");return()=>{t.abort(),n()}},r=[h],f[1]=h,f[2]=n,f[3]=r):(n=f[2],r=f[3]),(0,ne.useEffect)(n,r),f[4]===Symbol.for("react.memo_cache_sentinel")?(o=[],f[4]=o):o=f[4];let b=(0,ne.useRef)(o),x=(0,ne.useDeferredValue)(g);f[5]!==x?(i=x.reduce((e,t)=>
1339{let{sanity:n}=t;if(!("id"in n)||!n.path.includes("[_key=="))return e;let r=n.path.split(".").toReversed().reduce((e,t)=>e.length?[t,...e]:t.includes("[_key==")?[t]:[],[]).join(".");return e.find(e=>e.id===n.id&&e.path===r)||e.push({id:n.id,path:r}),e},[]),f[5]=x,f[6]=i):i=f[6];let C=i,k=(0,ne.useRef)(null);f[7]!==h||f[8]!==C?(a=()=>{if(!C.length||!h)return;let e=async(e,t)=>{let n=b.current;try{b.current=e;let n=await h.fetch("visual-editing/schema-union-types",{paths:e},{signal:t,suppressWarnings:!0});if(t.aborted)return;v(n.types),k.current=null}catch{}t.aborted&&(b.current=n)};C.some(e=>!b.current.find(t=>{let{id:n,path:r}=t;return n===e.id&&r===e.path}))&&(k.current?.abort(),k.current=new AbortController,e(C,k.current.signal))},s=[h,C],f[7]=h,f[8]=C,f[9]=a,f[10]=s):(a=f[9],s=f[10]),(0,ne.useEffect)(a,s),f[11]!==y?(l=(e,t)=>{if(!y||"string"!=typeof e&&(!("path"in e)||!Array.isArray(y)))return;let n="string"==typeof e?e:e.type;return y.filter("document"===(t||"document")?b5:b2).find(e=>e.name===n)},f[11]=y,f[12]=l):l=f[12];let j=l;f[13]!==j||f[14]!==m?(d=e=>{if(!("path"in e))return{field:void 0,parent:void 0};let t=j(e);if(!t)return{field:void 0,parent:void 0};let n=e.path.split(".").flatMap(b4);try{return function t(n,r,o,i){let a=void 0===i?[]:i;if(!n)return{field:void 0,parent:void 0};let[s,...l]=r;if("fields"in n){let e=n.fields[s];if(!e&&"rest"in n)return t(n.rest,r,n,a);if(!l.length)return{field:e,parent:o};if(!e)throw Error(`[@sanity/visual-editing] No field could be resolved at path: "${[...a,...r].join(".")}"`);return t(e.value,l,n,[...a,s])}if("array"===n.type)return t(n.of,r,n,a);if("arrayItem"===n.type)return l.length?t(n.value,l,n,[...a,s]):{field:n,parent:o};if("union"===n.type){let r=s.startsWith("[_key==")?m?.get(e.id)?.get([a.join("."),s].filter(Boolean).join("")):s;return t(n.of.find(e=>"unionOption"===e.type?e.name===r:e),l,n,[...a,s])}if("unionOption"===n.type)return s?t(n.value,r,n,a):{field:n,parent:o};if("inline"===n.type)return t(j(n.name,"type").value,r,n,a);throw Error(`[@sanity/visual-editing] No field could be resolved at path: "${[...a,...r].join(".")}"`)}(t,n,void 0)}catch(e){return e instanceof Error&&console.warn(e.message),{field:void 0,parent:void 0}}},f[13]=j,f[14]=m,f[15]=d):d=f[15];let M=d;f[16]!==M||f[17]!==j?(c={getField:M,getType:j},f[16]=M,f[17]=j,f[18]=c):c=f[18];let L=c;return f[19]!==p||f[20]!==L?(u=(0,E.jsx)(bp.Provider,{value:L,children:p}),f[19]=p,f[20]=L,f[21]=u):u=f[21],u};function b4(e){return e.includes("[")?e.split(/(\[.+\])/,2):[e]}let b6=(a={},s=new Set,{getState:()=>a,setState:e=>{a=e(a),s.forEach(e=>e())},subscribe:e=>(s.add(e),()=>s.delete(e))}),b8=e=>{let t,n,r,o,i,a,s=(0,$.c)(11),{comlink:l,children:d}=e;s[0]!==l?(t=()=>l?.on("presentation/shared-state",b9),n=[l],s[0]=l,s[1]=t,s[2]=n):(t=s[1],n=s[2]),(0,ne.useEffect)(t,n),s[3]!==l?(r=()=>{(async function(){let e=await l?.fetch("visual-editing/shared-state",void 0,{suppressWarnings:!0});e&&b6.setState(()=>e.state)})().catch(b7)},o=[l],s[3]=l,s[4]=r,s[5]=o):(r=s[4],o=s[5]),(0,ne.useEffect)(r,o),s[6]!==l?(i={comlink:l,store:b6},s[6]=l,s[7]=i):i=s[7];let c=i;return s[8]!==d||s[9]!==c?(a=(0,E.jsx)(gn.Provider,{value:c,children:d}),s[8]=d,s[9]=c,s[10]=a):a=s[10],a};function b9(e){"value"in e?b6.setState(t=>({...t,[e.key]:e.value})):b6.setState(t=>Object.fromEntries(Object.entries(t).filter(t=>{let[n]=t;return n!==e.key})))}function b7(e){console.debug(e),console.warn("[@sanity/visual-editing]: Failed to fetch shared state. Check your version of `sanity` is up-to-date")}let xe=e=>{let t,n,r=(0,$.c)(5),{children:o,comlink:i}=e;r[0]!==i?(t=(e,t)=>{if(!i)return;let n=gM[e];if(n)i.post("visual-editing/telemetry-log",{event:n,data:t});else throw Error(`Telemetry event: ${e} does not exist`)},r[0]=i,r[1]=t):t=r[1];let a=t;return r[2]!==o||r[3]!==a?(n=(0,E.jsx)(gL.Provider,{value:a,children:o}),r[2]=o,r[3]=a,r[4]=n):n=r[4],n};function xt(){}function xn(e){return e.id}function xr(e){return!!e}function xo(e){let{sanity:t}=e;return t&&"id"in t?t:null}let xi=ii.div` 1340 background-color: transparent; 1341 direction: ltr; 1342 inset: 0; 1343 pointer-events: none; 1344 position: absolute; 1345 width: 100%; 1346 height: 100%; 1347 z-index: ${({$zIndex:e})=>e??"9999999"}; 1348`;function xa(e){let t,n;return t=requestAnimationFrame(()=>{n=requestAnimationFrame(e)}),()=>{void 0!==t&&cancelAnimationFrame(t),void 0!==n&&cancelAnimationFrame(n)}}let xs=e=>{let t,n,r,o,i,a=(0,$.c)(8),{documentIds:s}=e;a[0]===Symbol.for("react.memo_cache_sentinel")?(t=[],a[0]=t):t=a[0];let[l,d]=(0,ne.useState)(t);a[1]!==s?(n=()=>{(0,ne.startTransition)(()=>d(e=>{let t=Array.from(new Set(s));return e.length===t.length&&e.reduce(xx,t)?.length===0?e:t}))},r=[s],a[1]=s,a[2]=n,a[3]=r):(n=a[2],r=a[3]),(0,ne.useEffect)(n,r);let c=h3();return a[4]!==c||a[5]!==l?(o=()=>{for(let e of l)c.send({type:"observe",documentId:(0,nn.getDraftId)(e)}),c.send({type:"observe",documentId:(0,nn.getPublishedId)(e)});return()=>{for(let e of l)c.send({type:"unobserve",documentId:(0,nn.getDraftId)(e)}),c.send({type:"unobserve",documentId:(0,nn.getPublishedId)(e)})}},i=[c,l],a[4]=c,a[5]=l,a[6]=o,a[7]=i):(o=a[6],i=a[7]),(0,ne.useEffect)(o,i),null},xl=e=>{var t;let n,r,o,i,a,s,l,d,c=(0,$.c)(12),{comlink:u,dispatch:f,inFrame:h,inPopUp:p,onDrag:g,overlayEnabled:m,rootElement:v}=e,{dispatchDragEndEvent:y}=function(){let e,t,n,r=(0,$.c)(4),{getDocument:o}=pt();return r[0]!==o?(e=()=>{let e=e=>{let{insertPosition:t,target:n,preventInsertDefault:r}=e.detail;if(r)return;let i=function(e){if(e){let{top:t,right:n,bottom:r,left:o}=e;if(o||t)return{node:(o??t).sanity,position:"after"};if(n||r)return{node:(n??r).sanity,position:"before"}}}(t);if(i){let e=o(n.id),{node:t,position:r}=i,{key:a,hasExplicitKey:s}=pr(n),{path:l,key:d}=pr(t);l&&d&&d!==a&&e.patch(async e=>{let{getSnapshot:t}=e,o=h5(await t(),n.path);return s?[hq(l,hD({_key:a})),hq(l,hZ(o,r,{_key:d}))]:[hq(l,hD(~~a)),hq(l,hZ(o,r,d>a?~~d-1:~~d))]})}};return window.addEventListener("sanity/dragEnd",e),()=>{window.removeEventListener("sanity/dragEnd",e)}},t=[o],r[0]=o,r[1]=e,r[2]=t):(e=r[1],t=r[2]),(0,ne.useEffect)(e,t),r[3]===Symbol.for("react.memo_cache_sentinel")?(n={dispatchDragEndEvent:bh},r[3]=n):n=r[3],n}(),w=gS();c[0]!==u||c[1]!==f||c[2]!==y||c[3]!==g||c[4]!==w?(n=e=>{if("element/click"===e.type){let{sanity:t}=e;u?.post("visual-editing/focus",t),w("Visual Editing Overlay Clicked",null)}else if("overlay/activate"===e.type)u?.post("visual-editing/toggle",{enabled:!0});else if("overlay/deactivate"===e.type)u?.post("visual-editing/toggle",{enabled:!1});else if("overlay/dragEnd"===e.type){let{insertPosition:t,target:n,dragGroup:r,flow:o,preventInsertDefault:i}=e;y({insertPosition:t,target:n,dragGroup:r,flow:o,preventInsertDefault:i}),t&&w("Visual Editing Drag Sequence Completed",null)}else if("overlay/dragUpdateCursorPosition"===e.type)return void g(e.x,e.y);else if("overlay/dragToggleMinimap"===e.type&&!0===e.display)w("Visual Editing Drag Minimap Enabled",null);else if("overlay/setCursor"===e.type){let{element:t,cursor:n}=e;n?t.style.cursor=n:t.style.removeProperty("cursor")}f(e)},c[0]=u,c[1]=f,c[2]=y,c[3]=g,c[4]=w,c[5]=n):n=c[5];let b=(t=n,s=(0,$.c)(7),l=(0,ne.useRef)(void 0),d=h9(),s[0]!==v||s[1]!==t||s[2]!==h||s[3]!==p||s[4]!==d?(i=()=>
1348{if(v)return l.current=function({handler:e,overlayElement:t,inFrame:n,inPopUp:r,optimisticActorReady:o}){let i=!1,a=new Map,s=new WeakMap,l=new Set,d=new WeakMap,c=new WeakMap,u,f,h,p=!1,g=[],m=()=>g[g.length-1];function v(e,t){e.removeEventListener("click",t.click,{capture:!0}),e.removeEventListener("contextmenu",t.contextmenu,{capture:!0}),e.removeEventListener("mousemove",t.mousemove,{capture:!0}),e.removeEventListener("mousedown",t.mousedown,{capture:!0}),e.removeEventListener("mouseenter",t.mouseenter),e.removeEventListener("mouseleave",t.mouseleave)}function y({id:t,elements:n,handlers:r}){let{element:o,measureElement:i}=n;o.addEventListener("click",r.click,{capture:!0}),o.addEventListener("contextmenu",r.contextmenu,{capture:!0}),o.addEventListener("mousemove",r.mousemove,{once:!0,capture:!0}),o.addEventListener("mousedown",r.mousedown,{capture:!0}),u.observe(i),e({type:"element/activate",id:t})}function w({id:t,elements:n,handlers:r}){let{element:o,measureElement:i}=n;v(o,r),u.unobserve(i),g=g.filter(e=>e!==o),e({type:"element/deactivate",id:t})}function b(t){if(!(!n&&!r||!o))for(let n of g){if(t===n){let n=s.get(t)?.sanity;if(!n||!p6(n))return;if(gt(t,n,l,s)){let n=t.style.cursor;n&&c.set(t,n),e({type:"overlay/setCursor",element:t,cursor:"move"});continue}}x(n)}}function x(t){let n=c.get(t);e({type:"overlay/setCursor",element:t,cursor:n})}function C(c){for(let u of function e(t){let n=[];function r(e,t,n,r){let o=function(e){if("object"==typeof e&&null!==e)return pM(e);try{let t=JSON.parse(e);return pM(t)}catch{let t=e.split(";").reduce((e,t)=>{let[n,r]=t.split("=");if(!n||t.includes("=")&&!r)return e;switch(n){case"id":e.id=r;break;case"type":e.type=r;break;case"path":e.path=nn.studioPath.toString(function(e){let t=[];for(let n of e.split(".")){let e=pb.exec(n);if(e){t.push(e[1],Number(e[2]));continue}let r=px.exec(n);if(r){t.push(r[1],[Number(r[2]),Number(r[3])]);continue}let o=pC.exec(n);if(o){t.push(o[1],{_key:o[2]});continue}t.push(n)}return t}(r));break;case"base":e.baseUrl=decodeURIComponent(r);break;case"perspective":e.perspective=r;break;case"tool":e.tool=r;break;case"workspace":e.workspace=r;break;case"projectId":e.projectId=r;break;case"dataset":e.dataset=r}return e},{});if(!pw["~run"]({value:t},{abortEarly:!0}).issues)return t;return}}(t);if(!o)return;let i=function e(t){let{display:n}=window.getComputedStyle(t);if("inline"!==n)return t;let r=t.parentElement;return r?e(r):null}(e);if(i)return{elements:{element:e,measureElement:i},sanity:o,reason:n,preventGrouping:r}}if(t)for(let o of t.childNodes)!function t(o,i){let a=function(t){let{nodeType:n,parentElement:o,textContent:i}=t;if(t.nodeType===Node.ELEMENT_NODE&&t.dataset?.sanityEditTarget!==void 0){let n=p8(e(t).map(e=>"element"===e.type?e.commonSanity:void 0).filter(e=>void 0!==e));if(n)return{reason:"edit-target",elements:{element:t,measureElement:t},sanity:n}}else if(n===Node.TEXT_NODE&&o&&i){let e=p4(i);return e?r(o,e,"stega-text",!0):void 0}else if(t.nodeType===Node.ELEMENT_NODE){if("SCRIPT"===t.tagName||"SANITY-VISUAL-EDITING"===t.tagName)return;if(t.dataset?.sanity)return r(t,t.dataset.sanity,"data-attribute",!!(t.textContent&&p3(t.textContent)));if(t.dataset?.sanityEditInfo)return r(t,t.dataset.sanityEditInfo,"data-attribute",!!(t.textContent&&p3(t.textContent)));if("IMG"===t.tagName){let e=p4(t.alt,!0);return e?r(t,e,"stega-attribute"):void 0}if("TIME"===t.tagName){let e=p4(t.dateTime,!0);return e?r(t,e,"stega-attribute"):void 0}if("SVG"===t.tagName.toUpperCase()){if(!t.ariaLabel)return;let e=p4(t.ariaLabel,!0);return e?r(t,e,"stega-attribute"):void 0}}}(o),s=i;if(o.nodeType===Node.ELEMENT_NODE&&o.dataset?.sanityEditGroup!==void 0&&(s={type:"group",elements:{element:o,measureElement:o},targets:[]},n.push(s)),a){let e={elements:a.elements,sanity:a.sanity,reason:a.reason};s&&!a.preventGrouping?s.targets.push(e):n.push({elements:a.elements,type:"element",targets:[e]})}if(o.nodeType===Node.ELEMENT_NODE&&"IMG"!==o.tagName&&"SCRIPT"!==o.tagName&&"SANITY-VISUAL-EDITING"!==o.tagName)for(let e of o.childNodes)t(e,s)}(o,void 0);return n.map(e=>{if(0===e.targets.length&&"group"===e.type)return{...e,commonSanity:void 0};let t=1===e.targets.length?e.targets[0].sanity:p8(e.targets.map(({s
1348anity:e})=>e).filter(e=>void 0!==e))||e.targets[0].sanity;return t?{...e,commonSanity:t}:null}).filter(e=>null!==e)}(c)){if("group"===u.type){for(let e of u.targets){let t=s.get(e.elements.element);t&&"element"===t.type&&k(e.elements.element)}0===u.targets.length&&k(u.elements.element)}if(!u.commonSanity)continue;let{element:c}=u.elements;s.has(c)?function(t){let{element:n}=t.elements,r=s.get(n);r&&(s.set(n,{...r,sanity:t.commonSanity}),e({type:"element/update",elementType:r.type,id:r.id,rect:pB(n),sanity:t.commonSanity,targets:t.targets.map(e=>({sanity:e.sanity,element:e.elements.element}))}))}(u):function({type:c,elements:u,commonSanity:h,targets:v}){let{element:w,measureElement:C}=u,k={click(t){let r=t.target;if(w===m()&&w.contains(r)){n&&(t.preventDefault(),t.stopPropagation());let r=s.get(w)?.sanity;r&&!p&&e({type:"element/click",id:j,sanity:r})}},contextmenu(t){if(!("path"in h)||!n&&!r||!o||!h.path.split(".").pop()?.includes("[_key=="))return;let i=t.target;w===m()&&w.contains(i)&&((n||r)&&(t.preventDefault(),t.stopPropagation()),e({type:"element/contextmenu",id:j,position:{x:t.clientX,y:t.clientY},sanity:h}))},mousedown(t){if(t.preventDefault(),t.currentTarget!==g.at(-1)||w.getAttribute("data-sanity-drag-disable")||!n&&!r||!o)return;let i=s.get(w)?.sanity;if(!i||!p6(i)||!p9(i.path))return;let a=gt(w,h,l,s);a&&function(e){var t;let{mouseEvent:n,element:r,overlayGroup:o,handler:i,target:a,onSequenceStart:s,onSequenceEnd:l}=e;if(0!==n.button)return;window.focus();let d=o.map(e=>pB(e.elements.element)),c=r.getAttribute("data-sanity-drag-flow")||((t=d).some(e=>t.filter(t=>!pT(e,t)).some(t=>e.y===t.y))?"horizontal":"vertical"),u=r.getAttribute("data-sanity-drag-group"),f=!!r.getAttribute("data-sanity-drag-minimap-disable"),h=!!r.getAttribute("data-sanity-drag-prevent-default"),p=r.getAttribute("data-unstable_sanity-drag-document-height"),g=r.getAttribute("data-unstable_sanity-drag-group-height"),m=null,v=pq(n),y=document.body,{minYScaled:w,scaleFactor:b}=function(e,t){let n=t||pZ(e).height,r=(n+=200)>window.innerHeight?window.innerHeight/n:1,{min:o}=pZ(e.map(e=>pP(e,r,{x:window.innerWidth/2,y:0})));return{scaleFactor:r,minYScaled:o-100*r}}(d,g?~~g:null),x=!1,C=!1,k=!0;pX||(p0={body:{overflow:window.getComputedStyle(document.body).overflow,height:window.getComputedStyle(document.body).height},documentElement:{overflow:window.getComputedStyle(document.documentElement).overflow,height:window.getComputedStyle(document.documentElement).height}},p1=p?~~p:document.documentElement.scrollHeight);let j=setInterval(()=>{d=o.map(e=>pB(e.elements.element))},150),M=()=>{b>=1||(i({type:"overlay/dragUpdateSkeleton",skeleton:pU(pQ,r,b)}),i({type:"overlay/dragToggleMinimapPrompt",display:!1}),pG(y,b,w,i,150).then(()=>{setTimeout(()=>{i({type:"overlay/dragUpdateGroupRect",groupRect:pY(d)})},300)}))},L=e=>{Math.abs(e.deltaY)>=10&&b<1&&!pX&&!C&&!f&&k&&(i({type:"overlay/dragToggleMinimapPrompt",display:!0}),C=!0),!e.shiftKey||pX||f||(window.dispatchEvent(new CustomEvent("unstable_sanity/dragApplyMinimap")),pX=!0,setTimeout(()=>{M()},50))},S=e=>{if(e.preventDefault(),pJ=function(e){let t=document.body,n=window.getComputedStyle(t).transform;if("none"===n)return{x:e.x,y:e.y};let r=new DOMMatrix(n).inverse(),o=new DOMPoint(e.x,e.y).matrixTransform(r);return{x:o.x,y:o.y}}(pQ=pq(e)),4>Math.abs(pW(pQ,v)))return;if(!x){let e=pY(d),t=pU(pQ,r,1);i({type:"overlay/dragStart",flow:c}),i({type:"overlay/dragUpdateSkeleton",skeleton:t}),i({type:"overlay/dragUpdateGroupRect",groupRect:e}),x=!0,s()}i({type:"overlay/dragUpdateCursorPosition",x:pQ.x,y:pQ.y}),!e.shiftKey||pX||f||(window.dispatchEvent(new CustomEvent("unstable_sanity/dragApplyMinimap")),pX=!0,setTimeout(()=>{M()},50));let t=function(e,t,n){if("horizontal"===n){let r={x1:e.x,y1:e.y,x2:e.x-1e8,y2:e.y},o={x1:e.x,y1:e.y,x2:e.x+1e8,y2:e.y};return{left:pN(r,t,n),right:pN(o,t,n)}}{let r={x1:e.x,y1:e.y,x2:e.x,y2:e.y-1e8},o={x1:e.x,y1:e.y,x2:e.x,y2:e.y+1e8};return{top:pN(r,t,n),bottom:pN(o,t,n)}}}(pQ,d,c);JSON.stringify(m)!==JSON.stringify(t)&&i({type:"overlay/dragUpdateInsertPosition",insertPosition:pD(o,m=t,c)})},_=()=>{k=!1,i({type:"overlay/dragEnd",target:a,insertPosition:m?pD(o,m,c):null,dragGroup:u,flow:c,preventInsertDefault:h}),C&&i({type:"overlay/dragToggleMinimapPrompt",display:!1}),pX||(clearInterval(j),l(),V(),H()),$()},R=e=>{"Shift"===e.key&&pX&&(pX=!1,i({type:"overlay/dragUpdateSkeleton",skeleton:pU(pQ,r,1/b)}),window.dispatchEvent(new CustomEvent("unstable_sanity/dragResetMinimap")),setTimeout(()=>{pK(pJ.y,y,p1,i,150,p0)},50),i({type:"overlay/dragUpdateGroupRect",groupRect:null}),k||(clearInterval(j),$(),V(),H(),l()))},E=()=>{i({type:"overlay/dragUpdateGroupRect",groupRect:null}),window.dispatchEvent(new CustomEvent("unstable_sanity/dragResetMinimap")),setTimeout(()=>{pK(pJ.y,y,p1,i,150,p0).then(()=>{pX=!1})},50),clearInterval(j),$(),V(),H(),l()},$=()=>{window.removeEventListener("mousemove",S),window.removeEventListener("wheel",L),window.removeEventListener("mouseup",_)},H=()=>{window.removeEventListener("keyup",R)},V=()=>{window.removeEventListener("blur",E)};window.addEventListener("blur",E),window.addEventListener("keyup",R),window.addEventListener("wheel",L),window.addEventListener("mousemove",S),window.addEventListener("mouseup",_)}({element:w,handler:e,mouseEvent:t,overlayGroup:a,target:i,onSequenceStart:()=>{p=!0},onSequenceEnd:()=>{setTimeout(()=>{p=!1},250)}})},mousemove(e){k.mouseenter(e);let t=e.currentTarget;t&&(t.addEventListener("mouseenter",k.mouseenter),t.addEventListener("mouseleave",k.mouseleave))},mouseenter(){document.querySelector("vercel-live-feedback")&&w.closest("[data-vercel-edit-info]")||w.closest("[data-vercel-edit-target]")||(g.push(w),e({type:"element/mouseenter",id:j,rect:pB(w)}),b(w))},mouseleave(n){function r(){g.pop();let t=m();if(e({type:"element/mouseleave",id:j}),t){b(t);let n=s.get(t);n&&e({type:"element/mouseenter",id:n.id,rect:pB(t)})}x(w)}let{relatedTarget:o}=n,i=p2(o),a=t.contains(i);if(p5(i)&&a)return function e(t){let n=o=>{let{relatedTarget:i}=o;p2(i)?i&&p5(i)&&(t.removeEventListener("mouseleave",n),e(i)):(t.removeEventListener("mouseleave",n),r())};t.addEventListener("mouseleave",n)}(i);r()}},j=pA(),M={type:c,id:j,elements:u,sanity:h,handlers:k};l.add(w),d.set(C,w),a.set(j,w),s.set(w,M),f?.observe(w),e({type:"element/register",elementType:c,id:j,element:w,rect:pB(w),sanity:h,dragDisabled:!!w.getAttribute("data-sanity-drag-disable"),targets:v.map(e=>({sanity:e.sanity,element:e.elements.element}))}),i&&y(M)}(u)}}function k(t){let n=s.get(t);if(n){let{id:r,handlers:o}=n;v(t,o),u.unobserve(t),s.delete(t),l.delete(t),a.delete(r),e({type:"element/unregister",id:r})}}function j(t){let n=s.get(t);n&&e({type:"element/updateRect",id:n.id,rect:pB(t)})}function M(e){if(i)for(let t of e){let{target:e}=t,n=p5(e)&&s.get(e);n&&(t.isIntersecting?y(n):w(n))}}function L(t){let n=p2(t.target);if(n){"capture"===n.dataset.sanityOverlayElement&&(t.preventDefault(),t.stopPropagation());return}g=[],e({type:"overlay/blur"})}function S(){g=[],e({type:"overlay/reset-mouse-state"})}function _(){for(let e of l)j(e)}function R(t){"Escape"===t.key&&(g=[],e({type:"overlay/blur"}))}function E(e){let{target:t}=e;if(!(t===window.document||!p5(t)))for(let e of l)t.contains(e)&&j(e)}function $(){i||(f=new IntersectionObserver(M,{threshold:.3}
1348),l.forEach(e=>f.observe(e)),e({type:"overlay/activate"}),i=!0)}function H(){i&&(f?.disconnect(),l.forEach(e=>{let t=s.get(e);t&&w(t)}),e({type:"overlay/deactivate"}),i=!1)}function V(t){let{id:n}=t.detail,r=a.get(n);if(!r)return;let o=s.get(r)?.sanity;o&&e({type:"element/click",id:n,sanity:o})}return window.document.fonts.ready.then(()=>{for(let e of l)j(e)}),window.addEventListener("click",L),window.addEventListener("contextmenu",L),window.addEventListener("sanity-overlay/exclusive-plugin-closed",S),window.addEventListener("sanity-overlay/label-click",V),window.addEventListener("keydown",R),window.addEventListener("resize",_),window.addEventListener("scroll",E,{capture:!0,passive:!0}),u=new ResizeObserver(function(e){for(let t of e){let e=t.target;if(p5(e)){let t=d.get(e);if(!t)return;j(t)}}}),(h=new MutationObserver(function(e){let n=!1;for(let r of e){let{target:e,type:o}=r,i="characterData"===o?e.parentElement:e;if(!(i===t||t.contains(i))&&(n=!0,p5(i))){let e=i.parentElement?.closest("[data-sanity-edit-group]")||null;C({childNodes:[p5(e)?e:i]})}}if(n)for(let e of l)e.isConnected||k(e),s.get(e)?.type!=="group"||e.hasAttribute("data-sanity-edit-group")||k(e)})).observe(document.body,{attributes:!0,characterData:!0,childList:!0,subtree:!0}),C(document.body),$(),{activate:$,deactivate:H,destroy:function(){window.removeEventListener("click",L),window.removeEventListener("contextmenu",L),window.removeEventListener("sanity-overlay/exclusive-plugin-closed",S),window.removeEventListener("sanity-overlay/label-click",V),window.removeEventListener("keydown",R),window.removeEventListener("resize",_),window.removeEventListener("scroll",E),h.disconnect(),u.disconnect(),l.forEach(e=>{k(e)}),a.clear(),l.clear(),g=[],H()}}}({handler:t,overlayElement:v,inFrame:h,inPopUp:p,optimisticActorReady:d}),()=>{l.current?.destroy(),l.current=void 0}},a=[v,t,h,p,d],s[0]=v,s[1]=t,s[2]=h,s[3]=p,s[4]=d,s[5]=i,s[6]=a):(i=s[5],a=s[6]),(0,ne.useEffect)(i,a),l);return c[6]!==b.current||c[7]!==m?(r=()=>{m?b.current?.activate():b.current?.deactivate()},c[6]=b.current,c[7]=m,c[8]=r):r=c[8],c[9]!==b||c[10]!==m?(o=[b,m],c[9]=b,c[10]=m,c[11]=o):o=c[11],(0,ne.useEffect)(r,o),null};function xd(e){let t,n,r,o,i,a,s,l,d,c,u,f,h,p,g,m,v,y,w,b,x,C,k,j,M,L,S,_,R,H,V,I,O=(0,$.c)(77),{comlink:A,comlinkStatus:B,componentResolver:z,inFrame:T,inPopUp:W,zIndex:N}=e,P=uz();O[0]===Symbol.for("react.memo_cache_sentinel")?(t={contextMenu:null,dragInsertPosition:null,dragShowMinimap:!1,dragShowMinimapPrompt:!1,dragSkeleton:null,elements:[],focusPath:"",isDragging:!1,perspective:"published",wasMaybeCollapsed:!1,dragMinimapTransition:!1,dragGroupRect:null},O[0]=t):t=O[0];let[Z,F]=(0,ne.useReducer)(b1,t),{contextMenu:D,dragInsertPosition:q,dragShowMinimap:U,dragShowMinimapPrompt:G,dragSkeleton:Y,elements:K,isDragging:X,perspective:J,wasMaybeCollapsed:Q,dragMinimapTransition:ee,dragGroupRect:et}=Z,[en,er]=(0,ne.useState)(null),[eo,ei]=(0,ne.useState)(!0);O[1]!==A?(n=()=>{let e=[A?.on("presentation/focus",e=>{F({type:"presentation/focus",data:e})}),A?.on("presentation/blur",e=>{F({type:"presentation/blur",data:e})}),A?.on("presentation/toggle-overlay",()=>{ei(xy)})].filter(Boolean);return()=>e.forEach(xv)},r=[A],O[1]=A,O[2]=n,O[3]=r):(n=O[2],r=O[3]),(0,ne.useEffect)(n,r),(L=(0,$.c)(4))[0]!==A||L[1]!==F?(j=()=>{let e=new AbortController;A?.fetch("visual-editing/fetch-perspective",void 0,{signal:e.signal,suppressWarnings:!0}).then(e=>{F({type:"presentation/perspective",data:e})}).catch(xt);let t=A?.on("presentation/perspective",e=>{F({type:"presentation/perspective",data:e})});return()=>{t?.(),e.abort()}},M=[A,F],L[0]=A,L[1]=F,L[2]=j,L[3]=M):(j=L[2],M=L[3]),(0,ne.useEffect)(j,M),H=(0,$.c)(7),V=(0,ne.useRef)(void 0),H[0]!==A?(S=(e,t)=>{A?.post("visual-editing/documents",{documents:e,perspective:t})},H[0]=A,H[1]=S):S=H[1],I=S,H[2]!==K||H[3]!==J||H[4]!==I?(_=()=>{let e=K.map(xo).filter(xr),t=new Set(e.map(xn));if(!V.current||!function(e,t){if(e===t)return!0;if(e.size!==t.size)return!1;for(let n of e)if(!t.has(n))return!1;return!0}(t,V.current.nodeIds)||J!==V.current.perspective){let n=Array.from(t).map(t=>{let{type:n,projectId:r,dataset:o}=e.find(e=>e.id===t);return r&&o?{_id:t,_type:n,_projectId:r,_dataset:o}:{_id:t,_type:n}});V.current={nodeIds:t,perspective:J},I(n,J)}},R=[K,J,I],H[2]=K,H[3]=J,H[4]=I,H[5]=_,H[6]=R):(_=H[5],R=H[6]),(0,ne.useEffect)(_,R),O[4]!==en?(o=(e,t)=>{en&&(en.style.setProperty("--drag-preview-x",`${e}px`),en.style.setProperty("--drag-preview-y",`${t-window.scrollY}px`))},O[4]=en,O[5]=o):o=O[5];let ea=o;O[6]===Symbol.for("react.memo_cache_sentinel")?(i=()=>{let e=!1,t=t=>{xb(t)&&e&&(e=!1,ei(xg))},n=t=>{var n,r;if(xb(t)){if(t.ctrlKey||t.metaKey||t.shiftKey)return;e||(e=!0,ei(xp))}n=["mod","\\"],r=t,n.every(e=>xw[e]?r[xw[e]]:r.key===e.toUpperCase())&&ei(xh)},r=()=>{e&&(e=!1,ei(xf))};return window.addEventListener("click",xm),window.addEventListener("keydown",n),window.addEventListener("keyup",t),window.addEventListener("blur",r),()=>{window.removeEventListener("click",xm),window.removeEventListener("keydown",n),window.removeEventListener("keyup",t),window.removeEventListener("blur",r)}},a=[ei],O[6]=i,O[7]=a):(i=O[6],a=O[7]),(0,ne.useEffect)(i,a);let[es,el]=(0,ne.useState)(!1),[ed,ec]=(0,ne.useState)(!1),eu=(0,ne.useRef)(void 0);O[8]!==eo?(s=()=>
1348{if(eo)return xa(()=>{el(!0),xa(()=>{ec(!0),eu.current=setTimeout(()=>{ec(!1),el(!1)},1500)})});eu.current&&(clearTimeout(eu.current),(0,ne.startTransition)(()=>{el(!1),ec(!1)}))},l=[eo],O[8]=eo,O[9]=s,O[10]=l):(s=O[9],l=O[10]),(0,ne.useEffect)(s,l),O[11]!==K?(d=K.flatMap(xu),O[11]=K,O[12]=d):d=O[12];let ef=d;O[13]===Symbol.for("react.memo_cache_sentinel")?(c=()=>{F({type:"overlay/blur"})},O[13]=c):c=O[13];let eh=c,ep=h9(),eg=ep?z:void 0,[em,ev]=(0,ne.useState)(!1);!em&&T&&"connected"===B&&ev(!0);t:{let t;if(X){let e;O[14]===Symbol.for("react.memo_cache_sentinel")?(e=[],O[14]=e):e=O[14],u=e;break t}O[15]!==A||O[16]!==eg||O[17]!==ee||O[18]!==U||O[19]!==K||O[20]!==T||O[21]!==X||O[22]!==ep||O[23]!==e.plugins||O[24]!==em||O[25]!==Q?(t=K.filter(xc).map(t=>{let{id:n,element:r,focused:o,hovered:i,rect:a,sanity:s,dragDisabled:l,targets:d,elementType:c}=t,u=!l&&!!r.getAttribute("data-sanity")&&ep&&K.some(e=>"id"in e.sanity&&"id"in s&&ge(e.sanity,s)&&e.sanity.path!==s.path);return(0,E.jsx)(bA,{comlink:A,componentResolver:eg,plugins:e.plugins,element:r,enableScrollIntoView:!X&&!ee&&!U,id:n,focused:o,hovered:i,node:s,rect:a,showActions:!em,draggable:u,isDragging:X||ee,wasMaybeCollapsed:o&&Q,targets:d,elementType:c,inFrame:T},n)}),O[15]=A,O[16]=eg,O[17]=ee,O[18]=U,O[19]=K,O[20]=T,O[21]=X,O[22]=ep,O[23]=e.plugins,O[24]=em,O[25]=Q,O[26]=t):t=O[26],u=t}let ey=u,ew=P?"dark":"light",eb=ed?"":void 0,ex=es?"":void 0;return O[27]!==ef||O[28]!==J?(f=(0,E.jsx)(xs,{documentIds:ef,perspective:J}),O[27]=ef,O[28]=J,O[29]=f):f=O[29],O[30]!==A||O[31]!==T||O[32]!==W||O[33]!==eo||O[34]!==en||O[35]!==ea?(h=(0,E.jsx)(xl,{comlink:A,dispatch:F,inFrame:T,inPopUp:W,onDrag:ea,overlayEnabled:eo,rootElement:en}),O[30]=A,O[31]=T,O[32]=W,O[33]=eo,O[34]=en,O[35]=ea,O[36]=h):h=O[36],O[37]!==D?(p=D&&(0,E.jsx)(bM,{...D,onDismiss:eh}),O[37]=D,O[38]=p):p=O[38],O[39]!==et||O[40]!==q||O[41]!==ee||O[42]!==G||O[43]!==X?(g=X&&!ee&&(0,E.jsxs)(E.Fragment,{children:[q&&(0,E.jsx)(bU,{dragInsertPosition:q}),G&&(0,E.jsx)(bQ,{}),et&&(0,E.jsx)(bq,{dragGroupRect:et})]}),O[39]=et,O[40]=q,O[41]=ee,O[42]=G,O[43]=X,O[44]=g):g=O[44],O[45]!==Y||O[46]!==X?(m=X&&Y&&(0,E.jsx)(bY,{skeleton:Y}),O[45]=Y,O[46]=X,O[47]=m):m=O[47],O[48]!==ey||O[49]!==eb||O[50]!==ex||O[51]!==f||O[52]!==h||O[53]!==p||O[54]!==g||O[55]!==m||O[56]!==N?(v=(0,E.jsxs)(xi,{"data-fading-out":eb,"data-overlays":ex,ref:er,$zIndex:N,children:[f,h,p,ey,g,m]}),O[48]=ey,O[49]=eb,O[50]=ex,O[51]=f,O[52]=h,O[53]=p,O[54]=g,O[55]=m,O[56]=N,O[57]=v):v=O[57],O[58]!==A||O[59]!==v?(y=(0,E.jsx)(b8,{comlink:A,children:v}),O[58]=A,O[59]=v,O[60]=y):y=O[60],O[61]!==A||O[62]!==y?(w=(0,E.jsx)(b0,{comlink:A,children:y}),O[61]=A,O[62]=y,O[63]=w):w=O[63],O[64]!==A||O[65]!==K||O[66]!==w?(b=(0,E.jsx)(b3,{comlink:A,elements:K,children:w}),O[64]=A,O[65]=K,O[66]=w,O[67]=b):b=O[67],O[68]!==en||O[69]!==b?(x=(0,E.jsx)(fl,{children:(0,E.jsx)(fb,{element:en,children:b})}),O[68]=en,O[69]=b,O[70]=x):x=O[70],O[71]!==ew||O[72]!==x?(C=(0,E.jsx)(cr,{scheme:ew,theme:dG,tone:"transparent",children:x}),O[71]=ew,O[72]=x,O[73]=C):C=O[73],O[74]!==A||O[75]!==C?(k=(0,E.jsx)(xe,{comlink:A,children:C}),O[74]=A,O[75]=C,O[76]=k):k=O[76],k}function xc(e){return e.activated||e.focused}function xu(e){return"id"in e.sanity?[e.sanity.id]:[]}function xf(e){return!e}function xh(e){return!e}function xp(e){return!e}function xg(e){return!e}function xm(e){let t=e.target;if((d0(t)||d1(t)&&t.closest("a"))&&e.altKey){e.preventDefault(),e.stopPropagation();let t=new MouseEvent(e.type,{...e,altKey:!1,bubbles:!0,cancelable:!0});e.target?.dispatchEvent(t)}}function xv(e){return e()}function xy(e){return!e}let xw={alt:"altKey",ctrl:"ctrlKey",mod:"u">typeof window&&/Mac|iPod|iPhone|iPad/.test(window.navigator.platform)?"metaKey":"ctrlKey",shift:"shiftKey"};function xb(e){return"Alt"===e.key}function xx(e,t){return e.filter(e=>e!==t)}let xC=e=>{let t,n,r=(0,$.c)(4),{comlink:o,refresh:i}=e,a=(0,ne.useRef)(0),s=(0,ne.useRef)(0);return r[0]!==o||r[1]!==i?(t=()=>o.on("presentation/refresh",e=>{if("manual"===e.source){clearTimeout(a.current);let t=i(e);if(!1===t)return;o.post("visual-editing/refreshing",e);let n=!1;a.current=window.setTimeout(()=>{o.post("visual-editing/refreshed",e),n=!0},3e3),t?.finally?.(()=>{n||(clearTimeout(a.current),o.post("visual-editing/refreshed",e))})}else if("mutation"===e.source){clearTimeout(s.current);let t=i(e);if(!1===t)return;o.post("visual-editing/refreshing",e),s.current=window.setTimeout(()=>{let t=i(e);!1!==t&&(o.post("visual-editing/refreshing",e),t?.finally?.(()=>{o.post("visual-editing/refreshed",e)})||o.post("visual-editing/refreshed",e))},1e3),t?.finally?.(()=>{o.post("visual-editing/refreshed",e)})||o.post("visual-editing/refreshed",e)}}),n=[o,i],r[0]=o,r[1]=i,r[2]=t,r[3]=n):(t=r[2],n=r[3]),(0,ne.useEffect)(t,n),null};function xk(e){let{data:t,origin:n}=e;t&&"object"==typeof t&&"domain"in t&&"sanity/channels"===t.domain&&"from"in t&&"presentation"===t.from&&"type"in t&&"presentation/status"===t.type&&window.parent.postMessage({domain:"sanity/channels",type:"visual-editing/status",data:{origin:location.origin}},n)}function xj(){console.warn("[@sanity/visual-editing] Package version mismatch detected: Please update your Sanity studio to prevent potential compatibility issues.")}function xM(){}let xL=e=>{var t;let n,r,o,i,a,s,l,d,c,u,f,h=(0,$.c)(23),{components:p,plugins:g,history:m,portal:v,refresh:y,zIndex:w}=e,b=void 0===v||v,[x,C]=(0,ne.useState)(null),[k,j]=(0,ne.useState)(null);h[0]===Symbol.for("react.memo_cache_sentinel")?(n=()=>{(0,ne.startTransition)(()=>{C(t9()),j(t7())})},r=[],h[0]=n,h[1]=r):(n=h[0],r=h[1]),(0,ne.useEffect)(n,r);let[M,L]=(0,ne.useState)(null);h[2]!==b?(o=()=>
1348{if(!1===b)return;let e=document.createElement("sanity-visual-editing");return document.documentElement.appendChild(e),(0,ne.startTransition)(()=>L(e)),()=>{(0,ne.startTransition)(()=>L(null)),document.documentElement.contains(e)&&document.documentElement.removeChild(e)}},i=[b],h[2]=b,h[3]=o,h[4]=i):(o=h[3],i=h[4]),(0,ne.useEffect)(o,i);let[S,_]=function(e){let t,n,r,o,i,a=(0,$.c)(9),s=void 0===e||e,[l,d]=(0,ne.useState)(),[c,u]=(0,ne.useState)("idle");return a[0]!==s?(t=()=>{if(!s)return;let e=((e,t=t2())=>{let n,r=ea(t,{input:e}),o=new Map,i=new Map;r.on("message",({message:e})=>{let t=o.get(e.type);if(t)return void t.forEach(t=>t(e.data));let n=i.get(e.type);n?n.add(e):i.set(e.type,new Set([e]))});let a=()=>{r.stop()};return{actor:r,fetch:(e,t,n)=>{let o,i,{responseTimeout:a=1e4,signal:s,suppressWarnings:l}=n||{},d="function"==typeof Promise.withResolvers?Promise.withResolvers():{promise:new Promise((e,t)=>{o=e,i=t}),resolve:o,reject:i};return r.send({type:"post",data:{type:e,data:t},resolvable:d,options:{responseTimeout:a,signal:s,suppressWarnings:l}}),d.promise},machine:t,on:(e,t,n)=>{let r=o.get(e)||new Set;o.has(e)||o.set(e,r),r.add(t);let a=i.get(e);if(a){let r=n?.replay??1;Array.from(a).slice(-r).forEach(({data:e})=>t(e)),i.delete(e)}return()=>{r.delete(t)}},onStatus:(e,t)=>{let o=r.on("status",r=>{n=r.status,t&&r.status!==t||e(r.status)});return n&&e(n),()=>o.unsubscribe()},post:(e,t)=>{r.send({type:"post",data:{type:e,data:t}})},start:()=>(r.start(),a),stop:a}})({name:"visual-editing",connectTo:"presentation"},t2().provide({actors:{listen:tG(t6),requestMachine:t5().provide({actions:{"send message":t8}})}})),t=e.onStatus(()=>u("connected"),"connected");(0,ne.startTransition)(()=>d(e));let n=e.start();return()=>{t(),n(),(0,ne.startTransition)(()=>d(void 0))}},n=[s],a[0]=s,a[1]=t,a[2]=n):(t=a[1],n=a[2]),(0,ne.useEffect)(t,n),a[3]!==c?(r=()=>{if("connected"===c)return;let e=new AbortController;return window.addEventListener("message",xk,{signal:e.signal}),()=>{e.abort()}},o=[c],a[3]=c,a[4]=r,a[5]=o):(r=a[4],o=a[5]),(0,ne.useEffect)(r,o),a[6]!==l||a[7]!==c?(i=[l,c],a[6]=l,a[7]=c,a[8]=i):i=a[8],i}(!0===x||!0===k);t="connected"===_?S:void 0,(f=(0,$.c)(3))[0]!==t?(c=()=>{let e,n,r,o;if(!t)return;let i=(e=new m_.ReplaySubject(1),n=new mR.Subject,t.fetch("visual-editing/snapshot-welcome",void 0,{suppressWarnings:!0}).then(t=>{e.next(t.event)}).catch(()=>{}
1348),t.on("presentation/snapshot-event",t=>{"reconnect"===t.event.type&&e.next(t.event),"mutation"===t.event.type&&n.next(t.event)}),(0,mE.merge)(e,n)),a=ea(bc.provide({actors:{documentMutatorMachine:(r=e9(async({input:e,signal:n})=>{let{id:r}=e,{snapshot:o}=await t.fetch("visual-editing/fetch-snapshot",{documentId:r},{signal:n});return o}),o=e9(async({input:e})=>{let{transactions:n}=e;for(let e of n){let n=hP.encodeTransaction(e);return t.post("visual-editing/mutate",n)}}),bl.provide({actions:{"send sync event to parent":ty(({enqueue:e})=>{e.sendParent(({context:e})=>({type:"sync",id:e.id,document:e.remote})),e.emit(({context:e})=>({type:"ready",snapshot:e.local}))})},actors:{"fetch remote snapshot":r,"submit mutations as transactions":o}}))}}),{input:{client:{withConfig:xM},sharedListener:i}});a.start();let s=new AbortController;return t.fetch("visual-editing/features",void 0,{signal:s.signal,suppressWarnings:!0}).then(e=>{e.features.optimistic&&function(e){for(let t of(hG=e,hY))t()}(a)}).catch(xj),()=>{a.stop(),s.abort()}},u=[t],f[0]=t,f[1]=c,f[2]=u):(c=f[1],u=f[2]),(0,ne.useEffect)(c,u),h[5]!==S||h[6]!==_||h[7]!==p||h[8]!==x||h[9]!==k||h[10]!==g||h[11]!==w?(a=null!==x&&null!==k&&(0,E.jsx)(xd,{comlink:S,comlinkStatus:_,componentResolver:p,plugins:g,inFrame:x,inPopUp:k,zIndex:w}),h[5]=S,h[6]=_,h[7]=p,h[8]=x,h[9]=k,h[10]=g,h[11]=w,h[12]=a):a=h[12],h[13]!==S||h[14]!==m||h[15]!==y?(s=S&&(0,E.jsxs)(E.Fragment,{children:[(0,E.jsx)(bu,{comlink:S,history:m}),(0,E.jsx)(bf,{comlink:S}),y&&(0,E.jsx)(xC,{comlink:S,refresh:y})]}),h[13]=S,h[14]=m,h[15]=y,h[16]=s):s=h[16],h[17]!==a||h[18]!==s?(l=(0,E.jsxs)(E.Fragment,{children:[a,s]}),h[17]=a,h[18]=s,h[19]=l):l=h[19];let R=l;return!1!==b&&M?(h[20]!==R||h[21]!==M?(d=(0,nt.createPortal)(R,M),h[20]=R,h[21]=M,h[22]=d):d=h[22],d):R};function xS(){return(0,E.jsx)(xL,{zIndex:40,portal:!0})}xL.displayName="VisualEditing",e.s(["default",()=>xS],918179)}]);
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.