PageSourceSearch

https://xperf.ai/_next/static/chunks/33c4sw113xk03.js?dpl=dpl_AxzEtXn3Cz8cPov7kFDFpEDW6kWL

js xperf.ai collected 2026-10-05 13:20:19 UTC 778,165 bytes, 30 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,46301,(e,t,n)=>{"use strict";var r=e.r(14371).__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;n.c=function(e){return r.H.useMemoCache(e)}},15067,(e,t,n)=>{"use strict";t.exports=e.r(46301)},19921,(e,t,n)=>{"use strict";var r=Symbol.for("react.transitional.element"),i=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),l=Symbol.for("react.consumer"),d=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),h=Symbol.for("react.suspense_list"),f=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),g=Symbol.for("react.view_transition"),m=Symbol.for("react.client.reference");function v(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case o:case a:case s:case c:case h:case g:return e;default:switch(e=e&&e.$$typeof){case d:case u:case p:case f:case l:return e;default:return t}}case i:return t}}}n.ContextConsumer=l,n.ContextProvider=d,n.Element=r,n.ForwardRef=u,n.Fragment=o,n.Lazy=p,n.Memo=f,n.Portal=i,n.Profiler=a,n.StrictMode=s,n.Suspense=c,n.SuspenseList=h,n.isContextConsumer=function(e){return v(e)===l},n.isContextProvider=function(e){return v(e)===d},n.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},n.isForwardRef=function(e){return v(e)===u},n.isFragment=function(e){return v(e)===o},n.isLazy=function(e){return v(e)===p},n.isMemo=function(e){return v(e)===f},n.isPortal=function(e){return v(e)===i},n.isProfiler=function(e){return v(e)===a},n.isStrictMode=function(e){return v(e)===s},n.isSuspense=function(e){return v(e)===c},n.isSuspenseList=function(e){return v(e)===h},n.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===a||e===s||e===c||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===p||e.$$typeof===f||e.$$typeof===d||e.$$typeof===l||e.$$typeof===u||e.$$typeof===m||void 0!==e.getModuleId)||!1},n.typeOf=v},33824,(e,t,n)=>{"use strict";t.exports=e.r(19921)},70606,e=>{"use strict";var t,n,r=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|popover|popoverTarget|popoverTargetAction|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackgroun
1d|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,i=(t=function(e){return r.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&91>e.charCodeAt(2)},n=Object.create(null),function(e){return void 0===n[e]&&(n[e]=t(e)),n[e]});e.s(["default",0,i],70606)},78524,(e,t,n)=>{t.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},5918,(e,t,n)=>{t.exports=e.g&&e.g.Object===Object&&e.g},78974,(e,t,n)=>{var r=e.r(5918),i="object"==typeof self&&self&&self.Object===Object&&self;t.exports=r||i||Function("return this")()},28042,(e,t,n)=>{t.exports=e.r(78974).Symbol},84435,(e,t,n)=>{var r=e.r(28042),i=Object.prototype,o=i.hasOwnProperty,s=i.toString,a=r?r.toStringTag:void 0;t.exports=function(e){var t=o.call(e,a),n=e[a];try{e[a]=void 0;var r=!0}catch(e){}var i=s.call(e);return r&&(t?e[a]=n:delete e[a]),i}},33680,(e,t,n)=>{var r=Object.prototype.toString;t.exports=function(e){return r.call(e)}},16907,(e,t,n)=>{var r=e.r(28042),i=e.r(84435),o=e.r(33680),s=r?r.toStringTag:void 0;t.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":s&&s in Object(e)?i(e):o(e)}},62931,(e,t,n)=>{var r=e.r(16907),i=e.r(78524);t.exports=function(e){if(!i(e))return!1;var t=r(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},18309,(e,t,n)=>{t.exports=e.r(78974)["__core-js_shared__"]},99822,(e,t,n)=>{var r,i=e.r(18309),o=(r=/[^.]+$/.exec(i&&i.keys&&i.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";t.exports=function(e){return!!o&&o in e}},8829,(e,t,n)=>{var r=Function.prototype.toString;t.exports=function(e){if(null!=e){try{return r.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},43245,(e,t,n)=>{var r=e.r(62931),i=e.r(99822),o=e.r(78524),s=e.r(8829),a=/^\[object .+?Constructor\]$/,l=Object.prototype,d=Function.prototype.toString,u=l.hasOwnProperty,c=RegExp("^"+d.call(u).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(e){return!(!o(e)||i(e))&&(r(e)?c:a).test(s(e))}},92117,(e,t,n)=>{t.exports=function(e,t){return null==e?void 0:e[t]}},81511,(e,t,n)=>{var r=e.r(43245),i=e.r(92117);t.exports=function(e,t){var n=i(e,t);return r(n)?n:void 0}},99568,(e,t,n)=>{var r=e.r(81511);t.exports=function(){try{var e=r(Object,"defineProperty");return e({},"",{}),e}catch(e){}}()},6016,(e,t,n)=>{var r=e.r(99568);t.exports=function(e,t,n){"__proto__"==t&&r?r(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}},10812,(e,t,n)=>{t.exports=function(e,t,n,r){for(var i=-1,o=null==e?0:e.length;++i<o;){var s=e[i];t(r,s,n(s),e)}return r}},61060,(e,t,n)=>{t.exports=function(e){return function(t,n,r){for(var i=-1,o=Object(t),s=r(t),a=s.length;a--;){var l=s[e?a:++i];if(!1===n(o[l],l,o))break}return t}}},95018,(e,t,n)=>{t.exports=e.r(61060)()},55337,(e,t,n)=>{t.exports=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}},94022,(e,t,n)=>{t.exports=function(e){return null!=e&&"object"==typeof e}},38591,(e,t,n)=>{var r=e.r(16907),i=e.r(94022);t.exports=function(e){return i(e)&&"[object Arguments]"==r(e)}},10090,(e,t,n)=>{var r=e.r(38591),i=e.r(94022),o=Object.prototype,s=o.hasOwnProperty,a=o.propertyIsEnumerable;t.exports=r(function(){return arguments}())?r:function(e){return i(e)&&s.call(e,"callee")&&!a.call(e,"callee")}},78116,(e,t,n)=>{t.exports=Array.isArray},56024,(e,t,n)=>{t.exports=function(){return!1}},32816,(e,t,n)=>{var r=e.r(78974),i=e.r(56024),o=n&&!n.nodeType&&n,s=o&&t&&!t.nodeType&&t,a=s&&s.exports===o?r.Buffer:void 0;t.exports=(a?a.isBuffer:void 0)||i},60059,(e,t,n)=>
1{var r=/^(?:0|[1-9]\d*)$/;t.exports=function(e,t){var n=typeof e;return!!(t=null==t?0x1fffffffffffff:t)&&("number"==n||"symbol"!=n&&r.test(e))&&e>-1&&e%1==0&&e<t}},84800,(e,t,n)=>{t.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=0x1fffffffffffff}},42112,(e,t,n)=>{var r=e.r(16907),i=e.r(84800),o=e.r(94022),s={};s["[object Float32Array]"]=s["[object Float64Array]"]=s["[object Int8Array]"]=s["[object Int16Array]"]=s["[object Int32Array]"]=s["[object Uint8Array]"]=s["[object Uint8ClampedArray]"]=s["[object Uint16Array]"]=s["[object Uint32Array]"]=!0,s["[object Arguments]"]=s["[object Array]"]=s["[object ArrayBuffer]"]=s["[object Boolean]"]=s["[object DataView]"]=s["[object Date]"]=s["[object Error]"]=s["[object Function]"]=s["[object Map]"]=s["[object Number]"]=s["[object Object]"]=s["[object RegExp]"]=s["[object Set]"]=s["[object String]"]=s["[object WeakMap]"]=!1,t.exports=function(e){return o(e)&&i(e.length)&&!!s[r(e)]}},85466,(e,t,n)=>{t.exports=function(e){return function(t){return e(t)}}},91480,(e,t,n)=>{var r=e.r(5918),i=n&&!n.nodeType&&n,o=i&&t&&!t.nodeType&&t,s=o&&o.exports===i&&r.process;t.exports=function(){try{var e=o&&o.require&&o.require("util").types;if(e)return e;return s&&s.binding&&s.binding("util")}catch(e){}}()},5330,(e,t,n)=>{var r=e.r(42112),i=e.r(85466),o=e.r(91480),s=o&&o.isTypedArray;t.exports=s?i(s):r},90091,(e,t,n)=>{var r=e.r(55337),i=e.r(10090),o=e.r(78116),s=e.r(32816),a=e.r(60059),l=e.r(5330),d=Object.prototype.hasOwnProperty;t.exports=function(e,t){var n=o(e),u=!n&&i(e),c=!n&&!u&&s(e),h=!n&&!u&&!c&&l(e),f=n||u||c||h,p=f?r(e.length,String):[],g=p.length;for(var m in e)(t||d.call(e,m))&&!(f&&("length"==m||c&&("offset"==m||"parent"==m)||h&&("buffer"==m||"byteLength"==m||"byteOffset"==m)||a(m,g)))&&p.push(m);return p}},20092,(e,t,n)=>{var r=Object.prototype;t.exports=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||r)}},16158,(e,t,n)=>{t.exports=function(e,t){return function(n){return e(t(n))}}},94272,(e,t,n)=>{t.exports=e.r(16158)(Object.keys,Object)},68488,(e,t,n)=>{var r=e.r(20092),i=e.r(94272),o=Object.prototype.hasOwnProperty;t.exports=function(e){if(!r(e))return i(e);var t=[];for(var n in Object(e))o.call(e,n)&&"constructor"!=n&&t.push(n);return t}},22914,(e,t,n)=>{var r=e.r(62931),i=e.r(84800);t.exports=function(e){return null!=e&&i(e.length)&&!r(e)}},53349,(e,t,n)=>{var r=e.r(90091),i=e.r(68488),o=e.r(22914);t.exports=function(e){return o(e)?r(e):i(e)}},54798,(e,t,n)=>{var r=e.r(95018),i=e.r(53349);t.exports=function(e,t){return e&&r(e,t,i)}},67366,(e,t,n)=>{var r=e.r(22914);t.exports=function(e,t){return function(n,i){if(null==n)return n;if(!r(n))return e(n,i);for(var o=n.length,s=t?o:-1,a=Object(n);(t?s--:++s<o)&&!1!==i(a[s],s,a););return n}}},16110,(e,t,n)=>{var r=e.r(54798);t.exports=e.r(67366)(r)},28721,(e,t,n)=>{var r=e.r(16110);t.exports=function(e,t,n,i){return r(e,function(e,r,o){t(i,e,n(e),o)}),i}},65776,(e,t,n)=>{t.exports=function(){this.__data__=[],this.size=0}},43346,(e,t,n)=>{t.exports=function(e,t){return e===t||e!=e&&t!=t}},41664,(e,t,n)=>{var r=e.r(43346);t.exports=function(e,t){for(var n=e.length;n--;
1)if(r(e[n][0],t))return n;return -1}},15386,(e,t,n)=>{var r=e.r(41664),i=Array.prototype.splice;t.exports=function(e){var t=this.__data__,n=r(t,e);return!(n<0)&&(n==t.length-1?t.pop():i.call(t,n,1),--this.size,!0)}},57624,(e,t,n)=>{var r=e.r(41664);t.exports=function(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}},19301,(e,t,n)=>{var r=e.r(41664);t.exports=function(e){return r(this.__data__,e)>-1}},82947,(e,t,n)=>{var r=e.r(41664);t.exports=function(e,t){var n=this.__data__,i=r(n,e);return i<0?(++this.size,n.push([e,t])):n[i][1]=t,this}},90543,(e,t,n)=>{var r=e.r(65776),i=e.r(15386),o=e.r(57624),s=e.r(19301),a=e.r(82947);function l(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])}}l.prototype.clear=r,l.prototype.delete=i,l.prototype.get=o,l.prototype.has=s,l.prototype.set=a,t.exports=l},36142,(e,t,n)=>{var r=e.r(90543);t.exports=function(){this.__data__=new r,this.size=0}},8354,(e,t,n)=>{t.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},73064,(e,t,n)=>{t.exports=function(e){return this.__data__.get(e)}},92789,(e,t,n)=>{t.exports=function(e){return this.__data__.has(e)}},64138,(e,t,n)=>{t.exports=e.r(81511)(e.r(78974),"Map")},77902,(e,t,n)=>{t.exports=e.r(81511)(Object,"create")},38975,(e,t,n)=>{var r=e.r(77902);t.exports=function(){this.__data__=r?r(null):{},this.size=0}},43284,(e,t,n)=>{t.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=!!t,t}},50095,(e,t,n)=>{var r=e.r(77902),i=Object.prototype.hasOwnProperty;t.exports=function(e){var t=this.__data__;if(r){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return i.call(t,e)?t[e]:void 0}},84942,(e,t,n)=>{var r=e.r(77902),i=Object.prototype.hasOwnProperty;t.exports=function(e){var t=this.__data__;return r?void 0!==t[e]:i.call(t,e)}},55558,(e,t,n)=>{var r=e.r(77902);t.exports=function(e,t){var n=this.__data__;return this.size+=+!this.has(e),n[e]=r&&void 0===t?"__lodash_hash_undefined__":t,this}},98435,(e,t,n)=>{var r=e.r(38975),i=e.r(43284),o=e.r(50095),s=e.r(84942),a=e.r(55558);function l(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])}}l.prototype.clear=r,l.prototype.delete=i,l.prototype.get=o,l.prototype.has=s,l.prototype.set=a,t.exports=l},17416,(e,t,n)=>{var r=e.r(98435),i=e.r(90543),o=e.r(64138);t.exports=function(){this.size=0,this.__data__={hash:new r,map:new(o||i),string:new r}}},65867,(e,t,n)=>{t.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},76501,(e,t,n)=>{var r=e.r(65867);t.exports=function(e,t){var n=e.__data__;return r(t)?n["string"==typeof t?"string":"hash"]:n.map}},92520,(e,t,n)=>{var r=e.r(76501);t.exports=function(e){var t=r(this,e).delete(e);return this.size-=!!t,t}},49966,(e,t,n)=>{var r=e.r(76501);t.exports=function(e){return r(this,e).get(e)}},49884,(e,t,n)=>{var r=e.r(76501);t.exports=function(e){return r(this,e).has(e)}},84711,(e,t,n)=>{var r=e.r(76501);t.exports=function(e,t){var n=r(this,e),i=n.size;return n.set(e,t),this.size+=+(n.size!=i),this}},58774,(e,t,n)=>{var r=e.r(17416),i=e.r(92520),o=e.r(49966),s=e.r(49884),a=e.r(84711);function l(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])}}l.prototype.clear=r,l.prototype.delete=i,l.prototype.get=o,l.prototype.has=s,l.prototype.set=a,t.exports=l},89160,(e,t,n)=>{var r=e.r(90543),i=e.r(64138),o=e.r(58774);t.exports=function(e,t){var n=this.__data__;if(n instanceof r){var s=n.__data__;if(!i||s.length<199)return s.push([e,t]),this.size=++n.size,this;n=this.__data__=new o(s)}return n.set(e,t),this.size=n.size,this}},11796,(e,t,n)=>{var r=e.r(90543),i=e.r(36142),o=e.r(8354),s=e.r(73064),a=e.r(92789),l=e.r(89160);function d(e){var t=this.__data__=new r(e);this.size=t.size}d.prototype.clear=i,d.prototype.delete=o,d.prototype.get=s,d.prototype.has=a,d.prototype.set=l,t.exports=d},60220,(e,t,n)=>{t.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},77783,(e,t,n)=>{t.exports=function(e){return this.__data__.has(e)}},40848,(e,t,n)=>{var r=e.r(58774),i=e.r(60220),o=e.r(77783);function s(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new r;++t<n;)this.add(e[t])}s.prototype.add=s.prototype.push=i,s.prototype.has=o,t.exports=s},91739,(e,t,n)=>{t.exports=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}},58954,(e,t,n)=>{t.exports=function(e,t){return e.has(t)}},5729,(e,t,n)=>{var r=e.r(40848),i=e.r(91739),o=e.r(58954);t.exports=function(e,t,n,s,a,l){var d=1&n,u=e.length,c=t.length;if(u!=c&&!(d&&c>u))return!1;var h=l.get(e),f=l.get(t);if(h&&f)return h==t&&f==e;var p=-1,g=!0,m=2&n?new r:void 0;for(l.set(e,t),l.set(t,e);++p<u;){var v=e[p],y=t[p];if(s)var w=d?s(y,v,p,t,e,l):s(v,y,p,e,t,l);if(void 0!==w){if(w)continue;g=!1;break}if(m){if(!i(t,function(e,t){if(!o(m,t)&&(v===e||a(v,e,n,s,l)))return m.push(t)})){g=!1;break}}else if(!(v===y||a(v,y,n,s,l))){g=!1;break}}return l.delete(e),l.delete(t),g}}
1,39914,(e,t,n)=>{t.exports=e.r(78974).Uint8Array},40048,(e,t,n)=>{t.exports=function(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}},11432,(e,t,n)=>{t.exports=function(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}},31829,(e,t,n)=>{var r=e.r(28042),i=e.r(39914),o=e.r(43346),s=e.r(5729),a=e.r(40048),l=e.r(11432),d=r?r.prototype:void 0,u=d?d.valueOf:void 0;t.exports=function(e,t,n,r,d,c,h){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||!c(new i(e),new i(t)))break;return!0;case"[object Boolean]":case"[object Date]":case"[object Number]":return o(+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 f=a;case"[object Set]":var p=1&r;if(f||(f=l),e.size!=t.size&&!p)break;var g=h.get(e);if(g)return g==t;r|=2,h.set(e,t);var m=s(f(e),f(t),r,d,c,h);return h.delete(e),m;case"[object Symbol]":if(u)return u.call(e)==u.call(t)}return!1}},5836,(e,t,n)=>{t.exports=function(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}},80089,(e,t,n)=>{var r=e.r(5836),i=e.r(78116);t.exports=function(e,t,n){var o=t(e);return i(e)?o:r(o,n(e))}},94430,(e,t,n)=>{t.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,i=0,o=[];++n<r;){var s=e[n];t(s,n,e)&&(o[i++]=s)}return o}},26452,(e,t,n)=>{t.exports=function(){return[]}},41300,(e,t,n)=>{var r=e.r(94430),i=e.r(26452),o=Object.prototype.propertyIsEnumerable,s=Object.getOwnPropertySymbols;t.exports=s?function(e){return null==e?[]:r(s(e=Object(e)),function(t){return o.call(e,t)})}:i},24144,(e,t,n)=>{var r=e.r(80089),i=e.r(41300),o=e.r(53349);t.exports=function(e){return r(e,o,i)}},66457,(e,t,n)=>{var r=e.r(24144),i=Object.prototype.hasOwnProperty;t.exports=function(e,t,n,o,s,a){var l=1&n,d=r(e),u=d.length;if(u!=r(t).length&&!l)return!1;for(var c=u;c--;){var h=d[c];if(!(l?h in t:i.call(t,h)))return!1}var f=a.get(e),p=a.get(t);if(f&&p)return f==t&&p==e;var g=!0;a.set(e,t),a.set(t,e);for(var m=l;++c<u;){var v=e[h=d[c]],y=t[h];if(o)var w=l?o(y,v,h,t,e,a):o(v,y,h,e,t,a);if(!(void 0===w?v===y||s(v,y,n,o,a):w)){g=!1;break}m||(m="constructor"==h)}if(g&&!m){var b=e.constructor,x=t.constructor;b!=x&&"constructor"in e&&"constructor"in t&&!("function"==typeof b&&b instanceof b&&"function"==typeof x&&x instanceof x)&&(g=!1)}return a.delete(e),a.delete(t),g}},91654,(e,t,n)=>{t.exports=e.r(81511)(e.r(78974),"DataView")},13715,(e,t,n)=>{t.exports=e.r(81511)(e.r(78974),"Promise")},92408,(e,t,n)=>{t.exports=e.r(81511)(e.r(78974),"Set")},43031,(e,t,n)=>{t.exports=e.r(81511)(e.r(78974),"WeakMap")},54700,(e,t,n)=>{var r=e.r(91654),i=e.r(64138),o=e.r(13715),s=e.r(92408),a=e.r(43031),l=e.r(16907),d=e.r(8829),u="[object Map]",c="[object Promise]",h="[object Set]",f="[object WeakMap]",p="[object DataView]",g=d(r),m=d(i),v=d(o),y=d(s),w=d(a),b=l;
1(r&&b(new r(new ArrayBuffer(1)))!=p||i&&b(new i)!=u||o&&b(o.resolve())!=c||s&&b(new s)!=h||a&&b(new a)!=f)&&(b=function(e){var t=l(e),n="[object Object]"==t?e.constructor:void 0,r=n?d(n):"";if(r)switch(r){case g:return p;case m:return u;case v:return c;case y:return h;case w:return f}return t}),t.exports=b},23684,(e,t,n)=>{var r=e.r(11796),i=e.r(5729),o=e.r(31829),s=e.r(66457),a=e.r(54700),l=e.r(78116),d=e.r(32816),u=e.r(5330),c="[object Arguments]",h="[object Array]",f="[object Object]",p=Object.prototype.hasOwnProperty;t.exports=function(e,t,n,g,m,v){var y=l(e),w=l(t),b=y?h:a(e),x=w?h:a(t);b=b==c?f:b,x=x==c?f:x;var C=b==f,k=x==f,j=b==x;if(j&&d(e)){if(!d(t))return!1;y=!0,C=!1}if(j&&!C)return v||(v=new r),y||u(e)?i(e,t,n,g,m,v):o(e,t,b,n,g,m,v);if(!(1&n)){var M=C&&p.call(e,"__wrapped__"),L=k&&p.call(t,"__wrapped__");if(M||L){var S=M?e.value():e,E=L?t.value():t;return v||(v=new r),m(S,E,n,g,v)}}return!!j&&(v||(v=new r),s(e,t,n,g,m,v))}},96847,(e,t,n)=>{var r=e.r(23684),i=e.r(94022);t.exports=function e(t,n,o,s,a){return t===n||(null!=t&&null!=n&&(i(t)||i(n))?r(t,n,o,s,e,a):t!=t&&n!=n)}},29286,(e,t,n)=>{var r=e.r(11796),i=e.r(96847);t.exports=function(e,t,n,o){var s=n.length,a=s,l=!o;if(null==e)return!a;for(e=Object(e);s--;){var d=n[s];if(l&&d[2]?d[1]!==e[d[0]]:!(d[0]in e))return!1}for(;++s<a;){var u=(d=n[s])[0],c=e[u],h=d[1];if(l&&d[2]){if(void 0===c&&!(u in e))return!1}else{var f=new r;if(o)var p=o(c,h,u,e,t,f);if(!(void 0===p?i(h,c,3,o,f):p))return!1}}return!0}},40286,(e,t,n)=>{var r=e.r(78524);t.exports=function(e){return e==e&&!r(e)}},45866,(e,t,n)=>{var r=e.r(40286),i=e.r(53349);t.exports=function(e){for(var t=i(e),n=t.length;n--;){var o=t[n],s=e[o];t[n]=[o,s,r(s)]}return t}},90457,(e,t,n)=>{t.exports=function(e,t){return function(n){return null!=n&&n[e]===t&&(void 0!==t||e in Object(n))}}},32179,(e,t,n)=>{var r=e.r(29286),i=e.r(45866),o=e.r(90457);t.exports=function(e){var t=i(e);return 1==t.length&&t[0][2]?o(t[0][0],t[0][1]):function(n){return n===e||r(n,e,t)}}},92558,(e,t,n)=>{var r=e.r(16907),i=e.r(94022);t.exports=function(e){return"symbol"==typeof e||i(e)&&"[object Symbol]"==r(e)}},47562,(e,t,n)=>{var r=e.r(78116),i=e.r(92558),o=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,s=/^\w*$/;t.exports=function(e,t){if(r(e))return!1;var n=typeof e;return!!("number"==n||"symbol"==n||"boolean"==n||null==e||i(e))||s.test(e)||!o.test(e)||null!=t&&e in Object(t)}},28535,(e,t,n)=>{var r=e.r(58774);function i(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw TypeError("Expected a function");var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var s=e.apply(this,r);return n.cache=o.set(i,s)||o,s};return n.cache=new(i.Cache||r),n}i.Cache=r,t.exports=i},93613,(e,t,n)=>{var r=e.r(28535);t.exports=function(e){var t=r(e,function(e){return 500===n.size&&n.clear(),e}),n=t.cache;return t}},37344,(e,t,n)=>{var r=e.r(93613),i=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,o=/\\(\\)?/g;t.exports=r(function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(i,function(e,n,r,i){t.push(r?i.replace(o,"$1"):n||e)}),t})},39145,(e,t,n)=>{t.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}},73021,(e,t,n)=>{var r=e.r(28042),i=e.r(39145),o=e.r(78116),s=e.r(92558),a=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(o(t))return i(t,e)+"";if(s(t))return d?d.call(t):"";var n=t+"";return"0"==n&&1/t==-a?"-0":n}},53050,(e,t,n)=>{var r=e.r(73021);t.exports=function(e){return null==e?"":r(e)}},6205,(e,t,n)=>{var r=e.r(78116),i=e.r(47562),o=e.r(37344),s=e.r(53050);t.exports=function(e,t){return r(e)?e:i(e,t)?[e]:o(s(e))}},12232,(e,t,n)=>{var r=e.r(92558),i=1/0;t.exports=function(e){if("string"==typeof e||r(e))return e;var t=e+"";return"0"==t&&1/e==-i?"-0":t}},55902,(e,t,n)=>{var r=e.r(6205),i=e.r(12232);t.exports=function(e,t){t=r(t,e);for(var n=0,o=t.length;null!=e&&n<o;)e=e[i(t[n++])];return n&&n==o?e:void 0}},75194,(e,t,n)=>{var r=e.r(55902);t.exports=function(e,t,n){var i=null==e?void 0:r(e,t);return void 0===i?n:i}},14435,(e,t,n)=>{t.exports=function(e,t){return null!=e&&t in Object(e)}},32088,(e,t,n)=>{var r=e.r(6205),i=e.r(10090),o=e.r(78116),s=e.r(60059),a=e.r(84800),l=e.r(12232);t.exports=function(e,t,n){t=r(t,e);for(var d=-1,u=t.length,c=!1;++d<u;){var h=l(t[d]);if(!(c=null!=e&&n(e,h)))break;e=e[h]}return c||++d!=u?c:!!(u=null==e?0:e.length)&&a(u)&&s(h,u)&&(o(e)||i(e))}},30272,(e,t,n)=>{var r=e.r(14435),i=e.r(32088);t.exports=function(e,t){return null!=e&&i(e,t,r)}},79218,(e,t,n)=>{var r=e.r(96847),i=e.r(75194),o=e.r(30272),s=e.r(47562),a=e.r(40286),l=e.r(90457),d=e.r(12232);t.exports=function(e,t){return s(e)&&a(t)?l(d(e),t):function(n){var s=i(n,e);return void 0===s&&s===t?o(n,e):r(t,s,3)}}},40046,(e,t,n)=>{t.exports=function(e){return e}},43683,(e,t,n)=>{t.exports=function(e){return function(t){return null==t?void 0:t[e]}}},13419,(e,t,n)=>{var r=e.r(55902);t.exports=function(e){return function(t){return r(t,e)}}},33230,(e,t,n)=>{var r=e.r(43683),i=e.r(13419),o=e.r(47562),s=e.r(12232);t.exports=function(e){return o(e)?r(s(e)):i(e)}},60839,(e,t,n)=>{var r=e.r(32179),i=e.r(79218),o=e.r(40046),s=e.r(78116),a=e.r(33230);t.exports=function(e){return"function"==typeof e?e:null==e?o:"object"==typeof e?s(e)?i(e[0],e[1]):r(e):a(e)}},24516,(e,t,n)=>{var r=e.r(10812),i=e.r(28721),o=e.r(60839),s=e.r(78116);t.exports=function(e,t){return function(n,a){var l=s(n)?r:i,d=t?t():{};return l(n,e,o(a,2),d)}}},78379,(e,t,n)=>{var r=e.r(6016),i=e.r(24516),o=Object.prototype.hasOwnProperty;t.exports=i(function(e,t,n){o.call(e,n)?e[n].push(t):r(e,n,[t])})},46856,10412,31947,86769,48031,32163,60246,9937,e=>{"use strict";let t,n,r,i,o,s,a,l,d,u,c,h,f,p,g,m,v,y,w,b,x,C;var k,j,M,L,S,E,R,V,_,H,$,A,T,I,P,O,B,W=e.i(73001),N=e.i(15067);let z="u">typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),D=new Uint8Array(16),F=[];for(let e=0;e<256;++e)F.push((e+256).toString(16).slice(1));let Z=function(e,n,r){if(z&&!n&&!e)return z();var i=e,o=r;let s=(i=i||{}).random??i.rng?.()??function(){if(!t){if("u"<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(D)}();if(s.length<16)throw Error("Random bytes length must be >= 16");if(s[6]=15&s[6]|64,s[8]=63&s[8]|128,n){if((o=o||0)<0||o+16>n.length)throw RangeError(`UUID byte range ${o}:${o+15} is out of buffer bounds`);for(let e=0;e<16;++e)n[o+e]=s[e];return n}return function(e,t=0){return(F[e[t+0]]+F[e[t+1]]+F[e[t+2]]+F[e[t+3]]+"-"+F[e[t+4]]+F[e[t+5]]+"-"+F[e[t+6]]+F[e[t+7]]+"-"+F[e[t+8]]+F[e[t+9]]+"-"+F[e[t+10]]+F[e[t+11]]+F[e[t+12]]+F[e[t+13]]+F[e[t+14]]+F[e[t+15]]).toLowerCase()}(s)};class U{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 q="xstate.init",G="xstate.stop";function Y(e,t){return{type:`xstate.done.state.${e}`,output:t}}function X(e,t){return{type:`xstate.error.actor.${e}`,error:t,actorId:e}}function K(e){return{type:q,input:e}}function J(e){setTimeout(()=>{throw e})}let Q="function"==typeof Symbol&&Symbol.observable||"@@observable";function ee(e){if(eo(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 et(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}(ee(e))}function en(e,t){let n={},r=Object.keys(e);for(let i=0;i<r.length;i++){let o=r[i];n[o]=t(e[o],o,e,i)}return n}function er(e){var t;return void 0===e?[]:eo(t=e)?t:[t]}function ei(e,t,n,r){return"function"==typeof e?e({context:t,event:n,self:r}):e}function eo(e){return Array.isArray(e)}function es(e){var t;return(eo(t=e)?t:[t]).map(e=>void 0===e||"string"==typeof e?{target:e}:e)}function ea(e){if(void 0!==e&&""!==e)return er(e)}function el(e,t,n){let r="object"==typeof e,i=r?e:void 0;return{next:(r?e.next:e)?.bind(i),error:(r?e.error:t)?.bind(i),complete:(r?e.complete:n)?.bind(i)}}function ed(e,t){let n=t.match(/^xstate\.invoke\.(\d+)\.(.*)/);if(!n)return e.implementations.actors[t];let[,r,i]=n,o=e.getStateNodeById(i).config.invoke;return(Array.isArray(o)?o[r]:o).src}function eu(e,t){if(t===e||"*"===t)return!0;
1if(!t.endsWith(".*"))return!1;let n=t.split("."),r=e.split(".");for(let e=0;e<n.length;e++){let t=n[e],i=r[e];if("*"===t)return e===n.length-1;if(t!==i)return!1}return!0}function ec(e,t){return`${e.sessionId}.${t}`}let eh=0,ef=!1,ep=((j={})[j.NotStarted=0]="NotStarted",j[j.Running=1]="Running",j[j.Stopped=2]="Stopped",j),eg={clock:{setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:e=>clearTimeout(e)},logger:console.log.bind(console),devTools:!1};class em{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 U(this._process.bind(this)),this.observers=new Set,this.eventListeners=new Map,this.logger=void 0,this._processingStatus=ep.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={...eg,...t},{clock:r,logger:i,parent:o,syncSnapshot:s,id:a,systemId:l,inspect:d}=n;this.system=o?o.system:function(e,t){let n=new Map,r=new Map,i=new WeakMap,o=new Set,s={},{clock:a,logger:l}=t,d={schedule:(e,t,n,r,i=Math.random().toString(36).slice(2))=>{let o={source:e,target:t,event:n,delay:r,id:i,startedAt:Date.now()},l=ec(e,i);u._snapshot._scheduledEvents[l]=o;let d=a.setTimeout(()=>{delete s[l],delete u._snapshot._scheduledEvents[l],u._relay(e,t,n)},r);s[l]=d},cancel:(e,t)=>{let n=ec(e,t),r=s[n];delete s[n],delete u._snapshot._scheduledEvents[n],void 0!==r&&a.clearTimeout(r)},cancelAll:e=>{for(let t in u._snapshot._scheduledEvents){let n=u._snapshot._scheduledEvents[t];n.source===e&&d.cancel(e,n.id)}}},u={_snapshot:{_scheduledEvents:(t?.snapshot&&t.snapshot.scheduler)??{}},_bookId:()=>`x:${eh++}`,_register:(e,t)=>(n.set(e,t),e),_unregister:e=>{n.delete(e.sessionId);let t=i.get(e);void 0!==t&&(r.delete(t),i.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),i.set(t,e)},inspect:e=>{let t=el(e);return o.add(t),{unsubscribe(){o.delete(t)}}},_sendInspectionEvent:t=>{if(!o.size)return;let n={...t,rootId:e.sessionId};o.forEach(e=>e.next?.(n))},_relay:(e,t,n)=>{u._sendInspectionEvent({type:"@xstate.event",sourceRef:e,actorRef:t,event:n}),t._send(n)},scheduler:d,getSnapshot:()=>({_scheduledEvents:{...u._snapshot._scheduledEvents}}),start:()=>{let e=u._snapshot._scheduledEvents;for(let t in u._snapshot._scheduledEvents={},e){let{source:n,target:r,event:i,delay:o,id:s}=e[t];d.schedule(n,r,i,o,s)}},_clock:a,_logger:l};return u}(this,{clock:r,logger:i}
1),d&&!o&&this.system.inspect(el(d)),this.sessionId=this.system._bookId(),this.id=a??this.sessionId,this.logger=t?.logger??this.system._logger,this.clock=t?.clock??this.system._clock,this._parent=o,this._syncSnapshot=s,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){J(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=ef;try{ef=!0,e.exec(e.info,e.params)}finally{ef=t}};this._processingStatus===ep.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){J(e)}break;case"done":var r;for(let t of this.observers)try{t.next?.(e)}catch(e){J(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=el(e,t,n);if(this._processingStatus!==ep.Stopped)this.observers.add(r);else switch(this._snapshot.status){case"done":try{r.complete?.()}catch(e){J(e)}break;case"error":{let e=this._snapshot.error;if(r.error)try{r.error(e)}catch(e){J(e)}else J(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)}}}select(e,t=Object.is){return{subscribe:n=>{let r=el(n),i=e(this.getSnapshot());return this.subscribe(n=>{let o=e(n);t(i,o)||(i=o,r.next?.(o))})},get:()=>e(this.getSnapshot())}}start(){if(this._processingStatus===ep.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=ep.Running;let e=K(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===G&&(this._stopProcedure(),this._complete())}_stop(){return this._processingStatus===ep.Stopped||((this.mailbox.clear(),this._processingStatus===ep.NotStarted)?this._processingStatus=ep.Stopped:this.mailbox.enqueue({type:G})),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){J(e)}this.observers.clear(),this.eventListeners.clear()}_reportError(e){if(!this.observers.size){this._parent||J(e),this.eventListeners.clear();return}let t=!1;for(let n of this.observers){let r=n.error;t||=!r;try{r?.(e)}catch(e){J(e)}}this.observers.clear(),this.eventListeners.clear(),t&&J(e)}_error(e){this._stopProcedure(),this._reportError(e),this._parent&&this.system._relay(this,this._parent,X(this.id,e))}_stopProcedure(){return this._processingStatus!==ep.Running||(this.system.scheduler.cancelAll(this),this.mailbox.clear(),this.mailbox=new U(this._process.bind(this)),this._processingStatus=ep.Stopped,this.system._unregister(this)),this}_send(e){this._processingStatus!==ep.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("u"<typeof window)return;let n=function(){let t="u">typeof globalThis?globalThis:"u">typeof self?self:"u">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)}[Q](){return this}getSnapshot(){return this._snapshot}}function ev(e,...[t]){return new em(e,t)}function ey(e,t,n,r,{sendId:i}){return[t,{sendId:"function"==typeof i?i(n,r):i},void 0]}function ew(e,t){e.defer(()=>{e.system.scheduler.cancel(e.self,t.sendId)})}function eb(e){function t(e,t){}return t.type="xstate.cancel",t.sendId=e,t.resolve=ey,t.execute=ew,t}function ex(e,t,n,r,{id:i,systemId:o,src:s,input:a,syncSnapshot:l}){let d,u,c="string"==typeof s?ed(t.machine,s):s,h="function"==typeof i?i(n):i;return c&&(u="function"==typeof a?a({context:t.context,event:n.event,self:e.self}):a,d=ev(c,{id:h,src:s,parent:e.self,syncSnapshot:l,systemId:o,input:u})),[e7(t,{children:{...t.children,[h]:d}}),{id:i,systemId:o,actorRef:d,src:s,input:u},void 0]}function eC(e,{actorRef:t}){t&&e.defer(()=>{t._processingStatus!==ep.Stopped&&t.start()})}function ek(...[e,{id:t,systemId:n,input:r,syncSnapshot:i=!1}={}]){function o(e,t){}return o.type="xstate.spawnChild",o.id=t,o.systemId=n,o.src=e,o.input=r,o.syncSnapshot=i,o.resolve=ex,o.execute=eC,o}function ej(e,t,n,r,{actorRef:i}){let o="function"==typeof i?i(n,r):i,s="string"==typeof o?t.children[o]:o,a=t.children;return s&&(a={...a},delete a[s.id]),[e7(t,{children:a}),s,void 0]}function eM(e,t){if(t){if(!function e(t,n){let r=n.getSnapshot();if(r&&"children"in r)for(let n of Object.values(r.children))e(t,n);t.system._unregister(n)}(e,t),t._processingStatus!==ep.Running)return void e.stopChild(t);e.defer(()=>{e.stopChild(t)})}}function eL(e){function t(e,t){}return t.type="xstate.stopChild",t.actorRef=e,t.resolve=ej,t.execute=eM,t}function eS(e,{context:t,event:n},{guards:r}){return r.every(r=>eE(r,t,n,e))}function eE(e,t,n,r){let{machine:i}=r,o="function"==typeof e,s=o?e:i.implementations.guards["string"==typeof e?e:e.type];if(!o&&!s)throw Error(`Guard '${"string"==typeof e?e:e.type}' is not implemented.'.`);if("function"!=typeof s)return eE(s,t,n,r);let a={context:t,event:n},l=o||"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 s?s.check(r,a,s):s(a,l)}function eR(e){return"atomic"===e.type||"final"===e.type}function eV(e){return Object.values(e.states).filter(e=>"history"!==e.type)}function e_(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 eH(e){let t=new Set(e),n=e$(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 eV(e))if("history"!==n.type&&!t.has(n))for(let e of eW(n))t.add(e)}}
1else eW(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 e$(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 eA(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(eR(e))return e.key}let i={};for(let t of r)i[t.key]=e(t,n);return i}(e,e$(eH(t)))}function eT(e,t){return"compound"===t.type?eV(t).some(t=>"final"===t.type&&e.has(t)):"parallel"===t.type?eV(t).every(t=>eT(e,t)):"final"===t.type}let eI=e=>"#"===e[0];function eP(e,t,n){let r=ea(n.target),i=n.reenter??!1,o=function(e,t){if(void 0!==t)return t.map(t=>{if("string"!=typeof t)return t;if(eI(t))return e.machine.getStateNodeById(t);let n="."===t[0];if(n&&!e.parent)return eD(e,t.slice(1));let r=n?e.key+t:t;if(e.parent)try{return eD(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),s={...n,actions:er(n.actions),guard:n.guard,target:o,source:e,reenter
2:i,eventType:t,toJSON:()=>({...s,source:`#${e.id}`,target:o?o.map(e=>`#${e.id}`):void 0})};return s}function eO(e){let t=ea(e.config.target);return t?{target:t.map(t=>"string"==typeof t?eD(e.parent,t):t)}:"parallel"===e.parent.type?{target:[e.parent]}:e.parent.initial}function eB(e){return"history"===e.type}function eW(e){let t=eN(e);for(let n of t)for(let r of e_(n,e))t.add(r);return t}function eN(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 eV(n))e(t)}}(e),t}function ez(e,t){if(eI(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 eD(e,t){if("string"==typeof t&&eI(t))try{return e.machine.getStateNodeById(t)}catch{}let n=ee(t).slice(),r=e;for(;n.length;){let e=n.shift();if(!e.length)break;r=ez(r,e)}return r}function eF(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=>ez(e,t)).filter(Boolean);return[e.machine.root,e].concat(r,n.reduce((n,r)=>{let i=ez(e,r);if(!i)return n;let o=eF(i,t[r]);return n.concat(o)},[]))}function eZ(e,t){let n=e;for(;n.parent&&n.parent!==t;)n=n.parent;return n.parent===t}function eU(e,t,n){let r=new Set;for(let i of e){let e=!1,o=new Set;for(let s 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}(eY([i],t,n),eY([s],t,n)))if(eZ(i.source,s.source))o.add(s);else{e=!0;break}if(!e){for(let e of o)r.delete(e);r.add(i)}}return Array.from(r)}function eq(e,t){if(!e.target)return[];let n=new Set;for(let r of e.target)if(eB(r))if(t[r.id])for(let e of t[r.id])n.add(e);else for(let e of eq(eO(r),t))n.add(e);else n.add(r);return[...n]}function eG(e,t){let n=eq(e,t);if(!n)return;if(!e.reenter&&n.every(t=>t===e.source||eZ(t,e.source)))return e.source;let r=function(e){let[t,...n]=e;for(let e of e_(t,void 0))if(n.every(t=>eZ(t,e)))return e}(n.concat(e.source));return r||(e.reenter?void 0:e.source.machine.root)}function eY(e,t,n){let r=new Set;for(let i of e)if(i.target?.length){let e=eG(i,n);for(let n of(i.reenter&&i.source===e&&r.add(e),t))eZ(n,e)&&r.add(n)}return[...r]}function eX(e,t,n,r,i,o){let s=[];if(!e.length)return[t,s];let a=n.actionExecutor;n.actionExecutor=e=>{s.push(e),a(e)};try{let a=new Set(t._nodes),l=t.historyValue,d=eU(e,a,l),u=t;i||([u,l]=function(e,t,n,r,i,o,s,a){let l,d=e,u=eY(r,i,o);for(let e of(u.sort((e,t)=>t.order-e.order),u))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=>eR(t)&&eZ(t,e):t=>t.parent===e,(l??={...o})[t.id]=Array.from(i).filter(n)}for(let e of u)d=eQ(d,t,n,[...e.exit,...e.invoke.map(e=>eL(e.id))],s,void 0),i.delete(e);return[d,l||o]}(u,r,n,d,a,l,o,n.actionExecutor)),u=eQ(u,r,n,d.flatMap(e=>e.actions),o,void 0),u=function(e,t,n,r,i,o,s,a){let l=e,d=new Set,u=new Set;(function(e,t,n,r){for(let i of e){let e=eG(i,t);for(let o of i.target||[])!eB(o)&&(i.source!==o||i.source!==e||i.reenter)&&(r.add(o),n.add(o)),eK(o,t,n,r);for(let o of eq(i,t)){let s=e_(o,e);e?.type==="parallel"&&s.push(e),eJ(r,t,n,s,!i.source.parent&&i.reenter?void 0:e)}}})(r,s,u,d),a&&u.add(e.machine.root);let c=new Set;for(let e of[...d].sort((e,t)=>e.order-t.order)){i.add(e);let r=[];for(let t of(r.push(...e.entry),e.invoke))r.push(ek(t.src,{...t,syncSnapshot:!!t.onSnapshot}));if(u.has(e)){let t=e.initial.actions;r.push(...t)}if(l=eQ(l,t,n,r,o,e.invoke.map(e=>e.id)),"final"===e.type){let r=e.parent,s=r?.type==="parallel"?r:r?.parent,a=s||e;for(r?.type==="compound"&&o.push(Y(r.id,void 0!==e.output?ei(e.output,l.context,t,n.self):void 0));s?.type==="parallel"&&!c.has(s)&&eT(i,s);)c.add(s),o.push(Y(s.id)),a=s,s=s.parent;if(s)continue;l=e7(l,{status:"done",output:function(e,t,n,r,i){if(void 0===r.output)return;let o=Y(i.id,void 0!==i.output&&i.parent?ei(i.output,e.context,t,n.self):void 0);return ei(r.output,e.context,o,n.self)}(l,t,n,l.machine.root,a)})}}return l}(u,r,n,d,a,o,l,i);let c=[...a];"done"===u.status&&(u=eQ(u,r,n,c.sort((e,t)=>
2t.order-e.order).flatMap(e=>e.exit),o,void 0));try{if(l===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[u,s];return[e7(u,{_nodes:c,historyValue:l}),s]}catch(e){throw e}}finally{n.actionExecutor=a}}function eK(e,t,n,r){var i,o,s,a;if(eB(e))if(t[e.id]){let s=t[e.id];for(let e of s)r.add(e),eK(e,t,n,r);for(let a of s){i=a,o=e.parent,eJ(r,t,n,e_(i,o))}}else{let i=eO(e);for(let o of i.target)r.add(o),i===e.parent?.initial&&n.add(e.parent),eK(o,t,n,r);for(let o of i.target){s=o,a=e.parent,eJ(r,t,n,e_(s,a))}}else if("compound"===e.type){let[i]=e.initial.target;eB(i)||(r.add(i),n.add(i)),eK(i,t,n,r),eJ(r,t,n,e_(i,e))}else if("parallel"===e.type)for(let i of eV(e).filter(e=>!eB(e)))[...r].some(e=>eZ(e,i))||(eB(i)||(r.add(i),n.add(i)),eK(i,t,n,r))}function eJ(e,t,n,r,i){for(let o of r)if((!i||eZ(o,i))&&e.add(o),"parallel"===o.type)for(let r of eV(o).filter(e=>!eB(e)))[...e].some(e=>eZ(e,r))||(e.add(r),eK(r,t,n,e))}function eQ(e,t,n,r,i,o){let s=o?[]:void 0,a=function e(t,n,r,i,o,s){let{machine:a}=t,l=t;for(let t of i){var d;let i="function"==typeof t,u=i?t:(d="string"==typeof t?t:t.type,a.implementations.actions[d]),c={context:l.context,event:n,self:r.self,system:r.system},h=i||"string"==typeof t?void 0:"params"in t?"function"==typeof t.params?t.params({context:l.context,event:n}):t.params:void 0;if(!u||!("resolve"in u)){r.actionExecutor({type:"string"==typeof t?t:"object"==typeof t?t.type:t.name||"(anonymous)",info:c,params:h,exec:u});continue}let[f,p,g]=u.resolve(r,l,c,h,u,o);l=f,"retryResolve"in u&&s?.push([u,p]),"execute"in u&&r.actionExecutor({type:u.type,info:c,params:p,exec:u.execute.bind(null,r,p)}),g&&(l=e(l,n,r,g,o,s))}return l}(e,t,n,r,{internalQueue:i,deferredActorIds:o},s);return s?.forEach(([e,t])=>{e.retryResolve(n,a,t)}),a}function e1(e,t,n,r){let i=e,o=[];function s(e,t,r){n.system._sendInspectionEvent({type:"@xstate.microstep",actorRef:n.self,event:t,snapshot:e[0],_transitions:r}),o.push(e)}if(t.type===G)return s([i=e7(e0(i,t,n),{status:"stopped"}),[]],t,[]),{snapshot:i,microsteps:o};let a=t;if(a.type!==q){let t=a,l=t.type.startsWith("xstate.error.actor"),d=e5(t,i);if(l&&!d.length)return s([i=e7(e,{status:"error",error:t.error}),[]],t,[]),{snapshot:i,microsteps:o};let u=eX(d,e,n,a,!1,r);i=u[0],s(u,t,d)}let l=!0,d=e.machine.options?.maxIterations??1/0,u=0;for(;"active"===i.status;){if(++u>d)throw Error(`Infinite loop detected: the machine has processed more than ${d} microsteps without reaching a stable state. This usually happens when there's a cycle of transitions (e.g., eventless transitions or raised events causing state A -> B -> C -> A).`);let e=l?function(e,t){let n=new Set;for(let r of e._nodes.filter(eR))e:for(let i of[r].concat(e_(r,void 0)))if(i.always){for(let r of i.always)if(void 0===r.guard||eE(r.guard,e.context,t,e)){n.add(r);break e}}return eU(Array.from(n),new Set(e._nodes),e.historyValue)}(i,a):[],t=e.length?i:void 0;if(!e.length){if(!r.length)break;e=e5(a=r.shift(),i)}let o=eX(e,i,n,a,!1,r);l=(i=o[0])!==t,s(o,a,e)}return"active"!==i.status&&e0(i,a,n),{snapshot:i,microsteps:o}}function e0(e,t,n){return eQ(e,t,n,Object.values(e.children).map(e=>eL(e)),[],void 0)}function e5(e,t){return t.machine.getTransitionData(t,e)}let e2=function(e){return function e(t,n){let r=et(t),i=et(n);return"string"==typeof i?"string"==typeof r&&i===r:"string"==typeof r?r in i:Object.keys(r).every(t=>t in i&&e(r[t],i[t]))}(e,this.value)},e3=function(e){return this.tags.has(e)},e6=function(e){let t=this.machine.getTransitionData(this,e);return!!t?.length&&t.some(e=>void 0!==e.target||e.actions.length)},e4=function(){let{_nodes:e,tags:t,machine:n,getMeta:r,toJSON:i,can:o,hasTag:s,matches:a,...l}=this;return{...l,tags:Array.from(t)}},e8=function(){return this._nodes.reduce((e,t)=>(void 0!==t.meta&&(e[t.id]=t.meta),e),{})};function e9(e,t){return{status:e.status,output:e.output,error:e.error,machine:t,context:e.context,_nodes:e._nodes,value:eA(t.root,e._nodes),tags:new Set(e._nodes.flatMap(e=>e.tags)),children:e.children,historyValue:e.historyValue||{},matches:e2,hasTag:e3,can:e6,getMeta:e8,toJSON:e4}}function e7(e,t={}){return e9({...e,...t},e.machine)}function te(e,t,n,r,{event:i,id:o,delay:s},{internalQueue:a}){let l,d=t.machine.implementations.delays;if("string"==typeof i)throw Error(`Only event objects may be used with raise; use raise({ type: "${i}" }) instead`);let u="function"==typeof i?i(n,r):i;if("string"==typeof s){let e=d&&d[s];l="function"==typeof e?e(n,r):e}else l="function"==typeof s?s(n,r):s;return"number"!=typeof l&&a.push(u),[t,{event:u,id:o,delay:l},void 0]}function tt(e,t){let{event:n,delay:r,id:i}=t;if("number"==typeof r)return void e.defer(()=>{let t=e.self;e.system.scheduler.schedule(t,t,n,r,i)})}function tn(e,t){function n(e,t){}return n.type="xstate.raise",n.event=e,n.id=t?.id,n.delay=t?.delay,n.resolve=te,n.execute=tt,n}let tr="xstate.observable.error",ti="xstate.observable.complete";function to(e){return{config:e,transition:(e,t)=>{if("active"!==e.status)return e;switch(t.type){case tr:return{...e,status:"error",error:t.data,input:void 0,_subscription:void 0};case ti:return{...e,status:"done",input:void 0,_subscription:void 0};case G: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:i})=>{"done"!==t.status&&(t._subscription=e({input:t.input,system:r,self:n,emit:i}).subscribe({next:e=>{n._parent&&r._relay(n,n._parent,e)},error:e=>{r._relay(n,n,{type:tr,data:e})},complete:()=>{r._relay(n,n,{type:ti})}}))},getPersistedSnapshot:({_subscription:e,...t})=>t,restoreSnapshot:e=>({...e,_subscription:void 0})}}let ts="xstate.promise.resolve",ta="xstate.promise.reject",tl=new WeakMap;function td(e){return{config:e,transition:(e,t,n)=>{if("active"!==e.status)return e;switch(t.type){case ts:{let n=t.data;return{...e,status:"done",output:n,input:void 0}}case ta:return{...e,status:"error",error:t.data,input:void 0};case G:return tl.get(n.self)?.abort(),tl.delete(n.self),{...e,status:"stopped",input:void 0};default:return e}},start:(t,{self:n,system:r,emit:i})=>{if("active"!==t.status)return;let o=new AbortController;tl.set(n,o),Promise.resolve(e({input:t.input,system:r,self:n,signal:o.signal,emit:i})).then(e=>{"active"===n.getSnapshot().status&&(tl.delete(n),r._relay(n,n,{type:ts,data:e}))},e=>{"active"===n.getSnapshot().status&&(tl.delete(n),r._relay(n,n,{type:ta,data:e}))})},getInitialSnapshot:(e,t)=>({status:"active",output:void 0,error:void 0,input:t}),getPersistedSnapshot:e=>e,restoreSnapshot:e=>e}}let tu=(L=void 0,{config:M=e=>void 0,transition:(e,t,n)=>({...e,context:M(e.context,t,n)}),getInitialSnapshot:(e,t)=>({status:"active",output:void 0,error:void 0,context:"function"==typeof L?L({input:t}):L}),getPersistedSnapshot:e=>e,restoreSnapshot:e=>e});function tc(e,t,n,r,{assignment:i}){if(!t.context)throw Error("Cannot assign to undefined `context`. Ensure that `context` is defined in the machine config.");let o={},s={context:t.context,event:n.event,spawn:function(e,{machine:t,context:n},r,i){return(o,s)=>{let a=((o,s)=>{if("string"!=typeof o)return ev(o,{id:s?.id,parent:e.self,syncSnapshot:s?.syncSnapshot,input:s?.input,src:o,systemId:s?.systemId});{let a=ed(t,o);if(!a)throw Error(`Actor logic '${o}' not implemented in machine '${t.id}'`);let l=ev(a,{id:s?.id,parent:e.self,syncSnapshot:s?.syncSnapshot,input:"function"==typeof s?.input?s.input({context:n,event:r,self:e.self}):s?.input,src:o,systemId:s?.systemId});return i[l.id]=l,l}})(o,s);return i[a.id]=a,e.defer(()=>{a._processingStatus!==ep.Stopped&&a.start()}),a}}(e,t,n.event,o),self:e.self,system:e.system},a={};if("function"==typeof i)a=i(s,r);else for(let e of Object.keys(i)){let t=i[e];a[e]="function"==typeof t?t(s,r):t}let l=Object.assign({},t.context,a);return[e7(t,{context:l,children:Object.keys(o).length?{...t.children,...o}:t.children}),void 0,void 0]}function th(e){function t(e,t){}return t.type="xstate.assign",t.assignment=e,t.resolve=tc,t}let tf=new WeakMap;function tp(e,t,n){let r=tf.get(e);return r?t in r||(r[t]=n()):(r={[t]:n()},tf.set(e,r)),r[t]}let tg={},tm=e=>"string"==typeof e?{type:e}:"function"==typeof e?"resolve"in e?{type:e.type}:{type:e.name}:e;class tv{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?en(this.config.states,(e,t)=>new tv(e,{_parent:this,_key:t,_machine:this.machine})):tg,"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||
2!1,this.entry=er(this.config.entry).slice(),this.exit=er(this.config.exit).slice(),this.meta=this.config.meta,this.output="final"!==this.type&&this.parent?void 0:this.config.output,this.tags=er(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,es(r).map(t=>eP(e,n,t)))}if(e.config.onDone){let n=`xstate.done.state.${e.id}`;t.set(n,es(e.config.onDone).map(t=>eP(e,n,t)))}for(let n of e.invoke){if(n.onDone){let r=`xstate.done.actor.${n.id}`;t.set(r,es(n.onDone).map(t=>eP(e,r,t)))}if(n.onError){let r=`xstate.error.actor.${n.id}`;t.set(r,es(n.onError).map(t=>eP(e,r,t)))}if(n.onSnapshot){let r=`xstate.snapshot.${n.id}`;t.set(r,es(n.onSnapshot).map(t=>eP(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=es(this.config.always).map(e=>eP(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(tm),eventType:null,reenter:!1,toJSON:()=>({target:this.initial.target.map(e=>`#${e.id}`),source:`#${this.id}`,actions:this.initial.actions.map(tm),eventType:null})}:void 0,history:this.history,states:en(this.states,e=>e.definition),on:this.on,transitions:[...this.transitions.values()].flat().map(e=>({...e,actions:e.actions.map(tm)})),entry:this.entry.map(tm),exit:this.exit.map(tm),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 tp(this,"invoke",()=>er(this.config.invoke).map((e,t)=>{var n,r;let{src:i,systemId:o}=e,s=e.id??(n=this.id,`${t}.${n}`),a="string"==typeof i?i:`xstate.invoke.${r=this.id,`${t}.${r}`}`;return{...e,src:a,id:s,systemId:o,toJSON(){let{onDone:t,onError:n,...r}=e;return{...r,type:"xstate.invoke",src:a,id:s}}}}))}get on(){return tp(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 tp(this,"delayedTransitions",()=>{var e;let t;return e=this,(t=e.config.after)?Object.keys(t).flatMap(n=>{var r;let i,o,s=t[n],a=Number.isNaN(+n)?n:+n,l=(r=e.id,o=(i={type:`xstate.after.${a}.${r}`}).type,e.entry.push(tn(i,{id:o,delay:a})),e.exit.push(eb(o)),o);return er("string"==typeof s?{target:s}:s).map(e=>({...e,event:l,delay:a}))}).map(t=>{let{delay:n}=t;return{...eP(e,t.event,t),delay:n}}):[]})}get initial(){return tp(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?er(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,i=[];for(let o of tp(this,`candidates-${r}`,()=>{var e;let t,n;return e=this,t=e.transitions.get(r),n=[...e.transitions.keys()].filter(e=>e!==r&&eu(r,e)).sort((e,t)=>t.length-e.length).flatMap(t=>e.transitions.get(t)),t?[...t,...n]:n})){let{guard:s}=o,a=e.context,l=!1;try{l=!s||eE(s,a,t,e)}catch(t){let e="string"==typeof s?s:"object"==typeof s?s.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){i.push(...o.actions),n=o;break}}return n?[n]:void 0}get events(){return tp(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(Object.keys(Object.fromEntries(this.transitions)).filter(e=>this.transitions.get(e).some(e=>!(!e.target&&!e.actions.length&&!e.reenter)))))}}class ty{constructor(e,t){this.config=e,this.version=void 0,this.schemas=void 0,this.implementations=void 0,this.options=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.options={maxIterations:1/0,...this.config.options},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 tv(e,{_key:this.id,_machine:this}),this.root._initialize(),function(e){let t=[],n=r=>{Object.values(r).forEach(r=>{if(r.config.route&&r.config.id){let n=r.config.id,i=r.config.route.guard,o=({event:e})=>e.to===`#${n}`,s={...r.config.route,guard:i?function(e){function t(e,t){return!1}return t.check=eS,t.guards=e,t}([o,i]):o,target:`#${n}`};t.push(eP(e,"xstate.route",s))}r.states&&n(r.states)})};n(e.states),t.length>0&&e.transitions.set("xstate.route",t)}(this.root),this.states=this.root.states,this.events=this.root.events}provide(e){let{actions:t,guards:n,actors:r,delays:i}=this.implementations;return new ty(this.config,{actions:{...t,...e.actions},guards:{...n,...e.guards},actors:{...r,...e.actors},delays:{...i,...e.delays}})}resolveState(e){var t;let n,r=(n=eH(eF(t=this.root,e.value)),eA(t,[...n])),i=eH(eF(this.root,r));return e9({_nodes:[...i],context:e.context||{},children:{},status:eT(i,this.root)?"done":e.status||"active",output:e.output,error:e.error,historyValue:e.historyValue},this)}transition(e,t,n){return e1(e,t,n,[]).snapshot}microstep(e,t,n){return e1(e,t,n,[]).microsteps.map(([e])=>e)}getTransitionData(e,t){return function e(t,n,r,i){if("string"==typeof n){let e;return(e=ez(t,n).next(r,i))&&e.length?e:t.next(r,i)}if(1===Object.keys(n).length){let o,s;return(s=e(ez(t,(o=Object.keys(n))[0]),n[o[0]],r,i))&&s.length?s:t.next(r,i)}let o=[];for(let s of Object.keys(n)){let a=n[s];if(!a)continue;let l=e(ez(t,s),a,r,i);l&&o.push(...l)}return o.length?o:t.next(r,i)}(this.root,e.value,e,t)||[]}_getPreInitialState(e,t,n){let{context:r}=this.config,i=e9({context:"function"!=typeof r&&r?r:{},_nodes:[this.root],children:{},status:"active"},this);return"function"==typeof r?eQ(i,t,e,[th(({spawn:e,event:t,self:n})=>r({spawn:e,input:t.input,self:n}))],n,void 0):i}getInitialSnapshot(e,t){var n;let r=K(t),i=[],o=this._getPreInitialState(e,r,i),[s]=(n=this.root,eX([{target:[...eN(n)],source:n,reenter:!0,actions:[],eventType:null,toJSON:null}],o,e,r,!0,i)),{snapshot:a}=e1(s,r,e,i);return a}
3start(e){Object.values(e.children).forEach(e=>{"active"===e.getSnapshot().status&&e.start()})}getStateNodeById(e){let t=ee(e),n=t.slice(1),r=eI(t[0])?t[0].slice(1):t[0],i=this.idMap.get(r);if(!i)throw Error(`Child state node '#${r}' does not exist on machine '${this.id}'`);return eD(i,n)}get definition(){return this.root.definition}toJSON(){return this.definition}getPersistedSnapshot(e,t){return function(e,t){let{_nodes:n,tags:r,machine:i,children:o,context:s,can:a,hasTag:l,matches:d,getMeta:u,toJSON:c,...h}=e,f={};for(let e in o){let n=o[e];f[e]={snapshot:n.getPersistedSnapshot(t),src:n.src,systemId:n.systemId,syncSnapshot:n._syncSnapshot}}return{...h,context:function e(t){let n;for(let r in t){let i=t[r];if(i&&"object"==typeof i)if("sessionId"in i&&"send"in i&&"ref"in i)(n??=Array.isArray(t)?t.slice():{...t})[r]={xstate$$type:1,id:i.id};else{let o=e(i);o!==i&&((n??=Array.isArray(t)?t.slice():{...t})[r]=o)}}return n??t}(s),children:f,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}(h.historyValue)}}(e,t)}restoreSnapshot(e,t){let n={},r=e.children;Object.keys(r).forEach(e=>{let i=r[e],o=i.snapshot,s=i.src,a="string"==typeof s?ed(this,s):s;if(!a)return;let l=ev(a,{id:e,parent:t.self,syncSnapshot:i.syncSnapshot,snapshot:o,src:s,systemId:i.systemId});n[e]=l});let i=function(e,t){if(!t||"object"!=typeof t)return{};let n={};for(let r in t)for(let i of t[r]){let t=function(e,t){if(t instanceof tv)return t;try{return e.machine.getStateNodeById(t.id)}catch{}}(e,i);t&&(n[r]??=[],n[r].push(t))}return n}(this.root,e.historyValue),o=e9({...e,children:n,_nodes:Array.from(eH(eF(this.root,e.value))),historyValue:i},this),s=new Set;return!function e(t,n){if(!s.has(t))for(let r in s.add(t),t){let i=t[r];if(i&&"object"==typeof i){if("xstate$$type"in i&&1===i.xstate$$type){t[r]=n[i.id];continue}e(i,n)}}}(o.context,n),o}}function tw(e,t,n,r,{event:i}){return[t,{event:"function"==typeof i?i(n,r):i},void 0]}function tb(e,{event:t}){e.defer(()=>e.emit(t))}function tx(e){function t(e,t){}return t.type="xstate.emit",t.event=e,t.resolve=tw,t.execute=tb,t}let tC=((S={}).Parent="#_parent",S.Internal="#_internal",S);function tk(e,t,n,r,{to:i,event:o,id:s,delay:a},l){let d,u,c=t.machine.implementations.delays;if("string"==typeof o)throw Error(`Only event objects may be used with sendTo; use sendTo({ type: "${o}" }) instead`);let h="function"==typeof o?o(n,r):o;if("string"==typeof a){let e=c&&c[a];d="function"==typeof e?e(n,r):e}else d="function"==typeof a?a(n,r):a;let f="function"==typeof i?i(n,r):i;if("string"==typeof f){if(!(u=f===tC.Parent?e.self._parent:f===tC.Internal?e.self:f.startsWith("#_")?t.children[f.slice(2)]:l.deferredActorIds?.includes(f)?f:t.children[f]))throw Error(`Unable to send event to actor '${f}' from machine '${t.machine.id}'.`)}else u=f||e.self;return[t,{to:u,targetId:"string"==typeof f?f:void 0,event:h,id:s,delay:d},void 0]}function tj(e,t,n){"string"==typeof n.to&&(n.to=t.children[n.to])}function tM(e,t){e.defer(()=>{let{to:n,event:r,delay:i,id:o}=t;"number"==typeof i?e.system.scheduler.schedule(e.self,n,r,i,o):e.system._relay(e.self,n,"xstate.error"===r.type?X(e.self.id,r.data):r)})}function tL(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=tk,r.retryResolve=tj,r.execute=tM,r}function tS(e,t){return tL(tC.Parent,e,t)}function tE(e,t,n,r,{collect:i}){let o=[],s=function(e){o.push(e)};return s.assign=(...e)=>{o.push(th(...e))},s.cancel=(...e)=>{o.push(eb(...e))},s.raise=(...e)=>{o.push(tn(...e))},s.sendTo=(...e)=>{o.push(tL(...e))},s.sendParent=(...e)=>{o.push(tS(...e))},s.spawnChild=(...e)=>{o.push(ek(...e))},s.stopChild=(...e)=>{o.push(eL(...e))},s.emit=(...e)=>{o.push(tx(...e))},i({context:n.context,event:n.event,enqueue:s,check:e=>eE(e,t.context,n.event,t),self:e.self,system:e.system},r),[t,void 0,o]}function tR(e){function t(e,t){}return t.type="xstate.enqueueActions",t.collect=e,t.resolve=tE,t}function tV(e,t,n,r,{value:i,label:o}){return[t,{value:"function"==typeof i?i(n,r):i,label:o},void 0]}function t_({logger:e},{value:t,label:n}){n?e(n,t):e(t)}function tH(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=tV,n.execute=t_,n}function t$(e,t){let n=er(t);if(!n.some(t=>eu(e.type,t))){let t=1===n.length?`type matching "${n[0]}"`:`one of types matching "${n.join('", "')}"`;throw Error(`Expected event ${JSON.stringify(e)} to have ${t}`)}}function tA({schemas:e,actors:t,actions:n,guards:r,delays:i}){return{assign:th,sendTo:tL,raise:tn,log:tH,cancel:eb,stopChild:eL,enqueueActions:tR,emit:tx,spawnChild:ek,createStateConfig:e=>e,createAction:e=>e,createMachine:o=>new ty({...o,schemas:e},{actors:t,actions:n,guards:r,delays:i}),extend:o=>tA({schemas:e,actors:t,actions:{...n,...o.actions},guards:{...r,...o.guards},delays:{...i,...o.delays}})}}var tT=e.i(59862),tI=e.i(24627),tP=e.i(33482),tO=e.i(16165),tB=e.i(6298),tW=e.i(2435),tN=e.i(27540),tz=e.i(91607),tD=["addListener","removeListener"],tF=["addEventListener","removeEventListener"],tZ=["on","off"];function tU(e,t,n,r){if((0,tN.isFunction)(n)&&(r=n,n=void 0),r)return tU(e,t,n).pipe((0,tz.mapOneOrManyArgs)(r));var i,o,s,a=(0,tI.__read)((i=e,(0,tN.isFunction)(i.addEventListener)&&(0,tN.isFunction)(i.removeEventListener))?tF.map(function(r){return function(i){return e[r](t,i,n)}}):(o=e,(0,tN.isFunction)(o.addListener)&&(0,tN.isFunction)(o.removeListener))?tD.map(tq(e,t)):(s=e,(0,tN.isFunction)(s.on)&&(0,tN.isFunction)(s.off))?tZ.map(tq(e,t)):[],2),l=a[0],d=a[1];if(!l&&(0,tW.isArrayLike)(e))return(0,tB.mergeMap)(function(e){return tU(e,t,n)})((0,tP.innerFrom)(e));if(!l)throw TypeError("Invalid event target");return new tO.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 tq(e,t){return function(n){return function(r){return e[n](t,r)}}}var tG=e.i(13186),tY=e.i(13072),tX=e.i(80205),tK=e.i(66312),tJ=e.i(7560),tQ=e.i(7844),t1=e.i(62940),t0=e.i(82100);function t5(e){return e<=0?function(){return t0.EMPTY}:(0,tK.operate)(function(t,n){var r=0;t.subscribe((0,tJ.createOperatorSubscriber)(n,function(t){++r<=e&&(n.next(t),e<=r&&n.complete())}))})}var t2=e.i(50363);let t3=e=>({context:t})=>{let{count:n,include:r,exclude:i,responseType:o="message.received"}=e;return{count:n,domain:t.domain,from:t.connectTo,include:r?Array.isArray(r)?r:[r]:[],exclude:i?Array.isArray(i)?i:[i]:[],responseType:o,target:t.target,to:t.name}},t6=(0,tT.defer)(()=>tU(window,"message")),t4=e=>to(({input:t})=>{var n,r;let i;return t6.pipe(e?(0,tG.map)(e):(0,tY.pipe)(),(0,tX.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,tG.map)((i=t.responseType,e=>({type:i,message:e}))),t.count?(0,tY.pipe)((n=t.count,void 0===r&&(r=null),r=null!=r?r:n,(0,tK.operate)(function(e,t){var i=[],o=0;e.subscribe((0,tJ.createOperatorSubscriber)(t,function(e){var s,a,l,d,u=null;o++%r==0&&i.push([]);try{for(var c=(0,tI.__values)(i),h=c.next();!h.done;h=c.next()){var f=h.value;f.push(e),n<=f.length&&(u=null!=u?u:[]).push(f)}}catch(e){s={error:e}}finally{try{h&&!h.done&&(a=c.return)&&a.call(c)}finally{if(s)throw s.error}}if(u)try{for(var p=(0,tI.__values)(u),g=p.next();!g.done;g=p.next()){var f=g.value;(0,tQ.arrRemove)(i,f),t.next(f)}}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,tI.__values)(i),o=r.next();!o.done;o=r.next()){var s=o.value;t.next(s)}}catch(t){e={error:t}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(e)throw e.error}}t.complete()},void 0,function(){i=null}))})),(0,t1.concatMap)(e=>e),t5(t.count)):(0,tY.pipe)())}),t8="sanity/comlink",t9="comlink/response",t7="comlink/heartbeat",ne="comlink/disconnect",nt="comlink/handshake/syn",nn="comlink/handshake/syn-ack",nr="comlink/handshake/ack",ni=()=>tA({types:{},actors:{listen:to(({input:e})=>{let t,n=e.signal?tU(e.signal,"abort").pipe((t=`Request ${e.requestId} aborted`,e=>e.pipe(t5(1),(0,tG.map)(()=>{throw Error(t)})))):t0.EMPTY;return tU(window,"message").pipe((0,tX.filter)(t=>t.data?.type===t9&&t.data?.responseTo===e.requestId&&!!t.source&&e.sources.has(t.source)),t5(e.sources.size),(0,tK.operate)(function(e,t){(0,tP.innerFrom)(n).subscribe((0,tJ.createOperatorSubscriber)(t,function(){return t.complete()},t2.noop)),t.closed||e.subscribe(t)}))})},actions:{"send message":({context:e},t)=>{let{sources:n,targetOrigin:r}=e,{message:i}=t;n.forEach(e=>{e.postMessage(i,{targetOrigin:r})})},"on success":tL(({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":tL(({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":tL(({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-${Z()}`,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:i,id:o,responseTo:s,to:a,type:l}=e;return{message:{channelId:t,data:n,domain:r,from:i,id:o,to:a,type:l,responseTo:s}}}},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:th({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})}),no=()=>tA({types:{},actors:{requestMachine:ni(),listen:t4()},actions:{"buffer handshake":th({handshakeBuffer:({event:e,context:t})=>(t$(e,"message.received"),[...t.handshakeBuffer,e])}),"buffer message":tR(({enqueue:e})=>{e.assign({buffer:({event:e,context:t})=>(t$(e,"post"),[...t.buffer,{data:e.data,resolvable:e.resolvable,options:e.options}])}),e.emit(({event:e})=>(t$(e,"post"),{type:"buffer.added",message:e.data}))}),"create request":th({requests:({context:e,event:t,self:n,spawn:r})=>{t$(t,"request");let i=(Array.isArray(t.data)?t.data:[t.data]).map(t=>r("requestMachine",{id:`req-${Z()}`,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,...i]}}),"emit heartbeat":tx(()=>({type:"heartbeat"})),"emit received message":tR(({enqueue:e})=>{e.emit(({event:e})=>(t$(e,"message.received"),{type:"message",message:e.message.data}))}),"emit status":tx((e,t)=>({type:"status",status:t.status})),"post message":tn(({event:e})=>(t$(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":tR(({context:e,enqueue:t})=>{e.handshakeBuffer.forEach(e=>t.raise(e)),t.assign({handshakeBuffer:[]})}),"remove request":tR(({context:e,enqueue:t,event:n})=>{t$(n,["request.success","request.failed","request.aborted"]),eL(n.requestId),t.assign({requests:e.requests.filter(({id:e})=>e!==n.requestId)})}),"send response":tn(({event:e})=>(t$(e,["message.received","heartbeat.received"]),{type:"request",data:{type:t9,responseTo:e.message.data.id,data:void 0}})),"send handshake syn ack":tn({type:"request",data:{type:nn}}),"send pending messages":tR(({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":th({channelId:({event:e})=>(t$(e,"handshake.syn"),e.message.data.channelId),target:({event:e})=>(t$(e,"handshake.syn"),e.message.source||void 0),targetOrigin:({event:e})=>(t$(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??t8,handshakeBuffer:[],name:e.name,requests:[],target:void 0,targetOrigin:null}),invoke:{id:"listen for handshake syn",src:"listen",input:t3({include:nt,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:t3({include:nr,count:1,responseType:"handshake.complete"}),onDone:"connected"},{id:"listen for disconnect",src:"listen",input:t3({include:ne,count:1,responseType:"disconnect"})},{id:"listen for messages",src:"listen",input:t3({exclude:[ne,nt,nr,t7,t9]})}],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:t3({exclude:[ne,nt,nr,t7,t9]})},{id:"listen for heartbeat",src:"listen",input:t3({include:t7,responseType:"heartbeat.received"})},{id:"listen for disconnect",src:"listen",input:t3({include:ne,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"]}}}}}),ns=(e,t=no())=>{let n,r=ev(t,{input:e}),i=new Map,o=new Map;r.on("message",({message:e})=>{let t=i.get(e.type);if(t)return void t.forEach(t=>t(e.data));let n=o.get(e.type);n?n.add(e):o.set(e.type,new Set([e]))});let s=()=>{r.stop()};return{actor:r,fetch:(e,t,n)=>{let i,o,{responseTimeout:s=1e4,signal:a,suppressWarnings:l}=n||{},d="function"==typeof Promise.withResolvers?Promise.withResolvers():{promise:new Promise((e,t)=>{i=e,o=t}),resolve:i,reject:o};return r.send({type:"post",data:{type:e,data:t},resolvable:d,options:{responseTimeout:s,signal:a,suppressWarnings:l}}),d.promise},machine:t,on:(e,t,n)=>{let r=i.get(e)||new Set;i.has(e)||i.set(e,r),r.add(t);let s=o.get(e);if(s){let r=n?.replay??1;Array.from(s).slice(-r).forEach(({data:e})=>t(e)),o.delete(e)}return()=>{r.delete(t)}},onStatus:(e,t)=>{let i=r.on("status",r=>{n=r.status,t&&r.status!==t||e(r.status)});return n&&e(n),()=>i.unsubscribe()},post:(e,t)=>
3{r.send({type:"post",data:{type:e,data:t}})},start:()=>(r.start(),s),stop:s}};e.s(["DOMAIN",0,t8,"MSG_DISCONNECT",0,ne,"MSG_HANDSHAKE_ACK",0,nr,"MSG_HANDSHAKE_SYN",0,nt,"MSG_HANDSHAKE_SYN_ACK",0,nn,"MSG_HEARTBEAT",0,t7,"MSG_RESPONSE",0,t9,"createListenLogic",0,t4,"createNode",0,ns,"createNodeMachine",0,no,"createRequestMachine",0,ni],10412);let na={"handshake/syn":nt,"handshake/syn-ack":nn,"handshake/ack":nr,"channel/response":t9,"channel/heartbeat":t7,"channel/disconnect":ne,"overlay/focus":"visual-editing/focus","overlay/navigate":"visual-editing/navigate","overlay/toggle":"visual-editing/toggle","presentation/toggleOverlay":"presentation/toggle-overlay"},nl={[nt]:"handshake/syn",[nn]:"handshake/syn-ack",[nr]:"handshake/ack",[t9]:"channel/response",[t7]:"channel/heartbeat",[ne]:"channel/disconnect","visual-editing/focus":"overlay/focus","visual-editing/navigate":"overlay/navigate","visual-editing/toggle":"overlay/toggle","presentation/toggle-overlay":"presentation/toggleOverlay"},nd=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=t8),"overlays"===t.to&&(t.to="visual-editing"),"overlays"===t.from&&(t.from="visual-editing"),t.channelId=t.connectionId,delete t.connectionId,t.type=na[t.type]??t.type),e},nu=({context:e},t)=>{let{sources:n,targetOrigin:r}=e,i=(e=>{let{channelId:t,...n}=e,r={...n,connectionId:t};return r.domain===t8&&(r.domain="sanity/channels"),"visual-editing"===r.to&&(r.to="overlays"),"visual-editing"===r.from&&(r.from="overlays"),r.type=nl[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);n.forEach(e=>{e.postMessage(i,{targetOrigin:r})})},nc=()=>({listen:t4(nd),requestMachine:ni().provide({actions:{"send message":nu}})});function nh(){return window.self!==window.top}function nf(){return!!window.opener}e.s(["createCompatibilityActors",0,nc,"isMaybePreviewIframe",0,nh,"isMaybePreviewWindow",0,nf],31947);var np=e.i(14371),ng=e.i(68982),nm=e.i(87924);let nv=["gray","blue","purple","magenta","red","orange","yellow","green","cyan"],ny=["50","100","200","300","400","500","600","700","800","900","950"],nw={sizes:[{distance:-4,size:19},{distance:-4,size:25},{distance:-8,size:33},{distance:-12,size:49}],focusRing:{offset:1,width:1}},nb={textWeight:"medium",border:{width:1},focusRing:{offset:-1,width:1}},nx={border:{width:1},focusRing:{offset:-1,width:1},shadow:{outline:.5}},nC={dialog:{zOffset:600},popover:{zOffset:400},tooltip:{zOffset:200}},nk={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}}},nj=new WeakMap;function nM(e){let t=nj.get(e);if(t)return t;let n=nS(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:nL(e,e.button.default),ghost:nL(e,e.button.ghost),bleed:nL(e,e.button.bleed)},code:n.code,fg:e.base.fg,focusRing:e.base.focusRing,icon:n.muted.fg,input:{default:nE(e.input.default),invalid:nE(e.input.invalid)},kbd:n.kbd,link:n.link,muted:{...n.muted,bg:e.selectable?.default.enabled.bg2||e.base.bg},selectable:nL(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 nj.set(e,r),r}function nL(e,t){return{default:{enabled:nS(e,t.default.enabled),hovered:nS(e,t.default.hovered),pressed:nS(e,t.default.pressed),selected:nS(e,t.default.selected),disabled:nS(e,t.default.disabled)},neutral:{enabled:nS(e,t.default.enabled),hovered:nS(e,t.default.hovered),pressed:nS(e,t.default.pressed),selected:nS(e,t.default.selected),disabled:nS(e,t.default.disabled)},primary:{enabled:nS(e,t.primary.enabled),hovered:nS(e,t.primary.hovered),pressed:nS(e,t.primary.pressed),selected:nS(e,t.primary.selected),disabled:nS(e,t.primary.disabled)},suggest:{enabled:nS(e,t.primary.enabled),hovered:nS(e,t.primary.hovered),pressed:nS(e,t.primary.pressed),selected:nS(e,t.primary.selected),disabled:nS(e,t.primary.disabled)},positive:{enabled:nS(e,t.positive.enabled),hovered:nS(e,t.positive.hovered),pressed:nS(e,t.positive.pressed),selected:nS(e,t.positive.selected),disabled:nS(e,t.positive.disabled)},caution:{enabled:nS(e,t.caution.enabled),hovered:nS(e,t.caution.hovered),pressed:nS(e,t.caution.pressed),selected:nS(e,t.caution.selected),disabled:nS(e,t.caution.disabled)},critical:{enabled:nS(e,t.critical.enabled),hovered:nS(e,t.critical.hovered),pressed:nS(e,t.critical.pressed),selected:nS(e,t.critical.selected),disabled:nS(e,t.critical.disabled)}}}function nS(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}
3,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},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 nE(e){return{enabled:nR(e.enabled),disabled:nR(e.disabled),readOnly:nR(e.readOnly),hovered:nR(e.hovered)}}function nR(e){return{bg:e.bg,border:e.border,fg:e.fg,muted:{bg:e.bg2},placeholder:e.placeholder}}let nV=new WeakMap;function n_(e){if(e.sanity.v2?._resolved)return e.sanity.v2;let t=nV.get(e);if(t)return t;let n={_version:2,_resolved:!0,avatar:{...nw,...e.sanity.avatar},button:{...nb,...e.sanity.button},card:nx,color:nM(e.sanity.color),container:e.sanity.container,font:e.sanity.fonts,input:{...nk,...e.sanity.input,checkbox:{...nk.checkbox,...e.sanity.input.checkbox},radio:{...nk.radio,...e.sanity.input.radio},switch:{...nk.switch,...e.sanity.input.switch}},layer:e.sanity.layer??nC,media:e.sanity.media,radius:e.sanity.radius,shadow:e.sanity.shadows,space:e.sanity.space,style:e.sanity.styles};return nV.set(e,n),n}function nH(e){return 2===e._version}
3let n$=new WeakMap;function nA(e,t,n){Object.defineProperty(e,t,{get(){let r=n();return Object.defineProperty(e,t,{value:r,enumerable:!0,writable:!1,configurable:!1}),r},enumerable:!0,configurable:!0})}let nT=new WeakMap,nI=["transparent","default","primary","positive","caution","critical"];function nP(e,t){let n={};for(let r of nI)nA(n,r,()=>{var n;return{base:{bg:(n=t[e][r]).bg,fg:n.fg,border:n.border,focusRing:n.focusRing,shadow:n.shadow},button:n.button,card:n.selectable.default,dark:n._dark,input:{default:nB(n.input.default),invalid:nB(n.input.invalid)},muted:{...n.button.ghost,transparent:n.button.ghost.default},solid:{...n.button.default,transparent:n.button.default.default},selectable:n.selectable,spot:{gray:n.avatar.gray.bg,blue:n.avatar.blue.bg,purple:n.avatar.purple.bg,magenta:n.avatar.magenta.bg,red:n.avatar.red.bg,orange:n.avatar.orange.bg,yellow:n.avatar.yellow.bg,green:n.avatar.green.bg,cyan:n.avatar.cyan.bg},syntax:n.syntax}});return n}function nO(e){let t=nT.get(e);if(t)return t;let{avatar:n,button:r,color:i,container:o,font:s,input:a,media:l,radius:d,shadow:u,space:c,style:h}=e,f={};nA(f,"light",()=>nP("light",i)),nA(f,"dark",()=>nP("dark",i));let p={_version:0,avatar:n,button:r,container:o,color:f,focusRing:a.text.focusRing,fonts:s,input:a,media:l,radius:d,shadows:u,space:c,styles:h,v2:e};return nT.set(e,p),p}function nB(e){return{enabled:nW(e.enabled),disabled:nW(e.disabled),readOnly:nW(e.readOnly),hovered:nW(e.hovered)}}function nW(e){return{bg:e.bg,bg2:e.muted.bg,border:e.border,fg:e.fg,placeholder:e.placeholder}}let nN=["multiply","screen"],nz=["transparent","default","neutral","primary","suggest","positive","caution","critical"],nD=["default","neutral","primary","suggest","positive","caution","critical"],nF=["enabled","hovered","pressed","selected","disabled"],nZ=["default","ghost","bleed"],nU=["default","invali
3d"],nq=["enabled","hovered","readOnly","disabled"];function nG(e){return ny.includes(e)}function nY(e){return/^\d+%$/.test(e)}function nX(e){var t;let n=e.split("/"),r=n.shift()||"",[i,o]=r.split(" ");if(nG(i)){let e=n.shift()||"";return nY(o)?{type:"color",tint:i,mix:Number(o.slice(0,-1))/100}:nK(e)?{type:"color",tint:i,opacity:Number(e)}:{type:"color",tint:i}}if("black"===(t=i)||"white"===t){let e=n.shift()||"";return nY(o)?{type:"color",key:i,mix:Number(o.slice(0,-1))/100}:nK(e)?{type:"color",key:i,opacity:Number(e)}:{type:"color",key:i}}if(nv.includes(i)){let[e,t]=(r=n.shift()||"").split(" ");if(nG(e)){let r=n.shift()||"";return nY(t)?{type:"color",hue:i,tint:e,mix:Number(t.slice(0,-1))/100}:nK(r)?{type:"color",hue:i,tint:e,opacity:Number(r)}:{type:"color",hue:i,tint:e}}return{type:"hue",value:i}}if(nN.includes(i))return{type:"blendMode",value:i}}function nK(e){return"0"===e||/^0\.[0-9]+$/.test(e)||"1"===e}[...nv],[...nz],[...nD],[...nF],[...nU],[...nq];let nJ=["500","500"];function nQ(e,t=nJ){var n;let r,{hue:i,scheme:o}=e,s=nX(t[+("light"!==o)]);if(!s||"color"!==s.type)throw Error(`Invalid color token: ${t[0]}`);return n={...s,hue:s.hue||i},r="",r="black"===n.key||"white"===n.key?n.key:`${n.hue}/${n.tint}`,void 0===n.mix?(void 0!==n.opacity&&(r+=`/${n.opacity}`),r):`${r} ${100*n.mix}%`}let n1={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 n0(e){return!!(e&&"object"==typeof e&&!Array.isArray(e))}function n5(...e){let t=e.filter(Boolean);return 0===t.length?{}:t.reduce(n2,{})}function n2(e,t){for(let n of Object.keys(t)){let r=e[n],i=t[n];n0(r)&&n0(i)?e[n]=n5(r,i):e[n]=i}return e}function n3(e,t){let{scheme:n}=e,r={};for(let e of nz)nA(r,e,()=>(function(e,t){let{scheme:n,tone:r}=e,i=t?.color?.base?.[r],o={hue:i?._hue||"gray",scheme:n};return{_blend:(i?._blend||["multiply","screen"])[+("light"!==n)],_dark:"dark"===n,accent:{fg:nQ(o,i?.accent?.fg)},avatar:n6({scheme:n},i),backdrop:nQ(o,i?.backdrop),badge:n8(i?.badge,{scheme:n},t),bg:nQ(o,i?.bg),border:nQ(o,i?.border),button:function(e,t){let{scheme:n,tone:r}=e,i={};for(let e of nZ)i[e]=function(e,t){let{cardTone:n,mode:r,scheme:i}=e,o={};for(let e of nD)o[e]=function(e,t){let{cardTone:n,mode:r,scheme:i,tone:o}=e,s={};for(let e of nF)s[e]=function(e,t){let{cardTone:n,mode:r,tone:i,scheme:o,state:s}=e,a=t?.color?.base?.[n],l=t?.color?.button?.[r]?.[i]?.[s],d=l?._hue||a?._hue||"gray",u=l?._blend||["screen","multiply"],c={hue:d,scheme:o};return{_blend:u[+("light"!==o)],accent:{fg:nQ(c,l?.accent?.fg)},avatar:n6({scheme:o},l),badge:n8(l?.badge,{scheme:o},t),bg:nQ(c,l?.bg),border:nQ(c,l?.border),code:{bg:nQ(c,l?.code?.bg),fg:nQ(c,l?.code?.fg)},fg:nQ(c,l?.fg),icon:nQ(c,l?.icon),muted:{bg:nQ(c,l?.muted?.bg),fg:nQ(c,l?.muted?.fg)},kbd:{bg:nQ(c,l?.kbd?.bg),fg:nQ(c,l?.kbd?.fg),border:nQ(c,l?.kbd?.border)},link:{fg:nQ(c,l?.link?.fg)},skeleton:{from:nQ(c,l?.skeleton?.from),to:nQ(c,l?.skeleton?.to)}}}({cardTone:n,mode:r,tone:o,scheme:i,state:e},t);return s}({cardTone:n,mode:r,scheme:i,tone:e},t);return o}({cardTone:r,scheme:n,mode:e},t);return i}({scheme:n,tone:r},t),code:{bg:nQ(o,i?.code?.bg),fg:nQ(o,i?.code?.fg)},fg:nQ(o,i?.fg),focusRing:nQ(o,i?.focusRing),icon:nQ(o,i?.icon),input:function(e,t){let{scheme:n,tone:r}=e;return{default:n9({mode:"default",scheme:n,tone:r},t),invalid:n9({mode:"invalid",scheme:n,tone:r},t)}}({scheme:n,tone:r},t),kbd:{bg:nQ(o,i?.kbd?.bg),fg:nQ(o,i?.kbd?.fg),border:nQ(o,i?.kbd?.border)},link:{fg:nQ(o,i?.link?.fg)},muted:{bg:nQ(o,i?.muted?.bg),fg:nQ(o,i?.muted?.fg)},selectable:function(e,t){let{scheme:n,tone:r}=e,i={};for(let e of nD)i[e]=function(e,t){let{cardTone:n,scheme:r,tone:i}=e,o={};for(let e of nF)o[e]=function(e,t){let{cardTone:n,scheme:r,state:i,tone:o}=e,s=t?.color?.base?.[n],a=t?.color?.selectable?.[o]?.[i],l=a?._hue||s?._hue||"gray",d=a?._blend||["screen","multiply"],u={hue:l,scheme:r};return{_blend:d[+("light"!==r)],accent:{fg:nQ(u,a?.accent?.fg)},avatar:n6({scheme:r},a),badge:n8(a?.badge,{scheme:r},t),bg:nQ(u,a?.bg),border:nQ(u,a?.border),code:{bg:nQ(u,a?.code?.bg),fg:nQ(u,a?.code?.fg)},fg:nQ(u,a?.fg),icon:nQ(u,a?.icon),muted:{bg:nQ(u,a?.muted?.bg),fg:nQ(u,a?.muted?.fg)},kbd:{bg:nQ(u,a?.kbd?.bg),fg:nQ(u,a?.kbd?.fg),border:nQ(u,a?.kbd?.border)},link:{fg:nQ(u,a?.link?.fg)},skeleton:{from:nQ(u,a?.skeleton?.from),to:nQ(u,a?.skeleton?.to)}}}({cardTone:n,tone:i,scheme:r,state:e},t);return o}({cardTone:r,scheme:n,tone:e},t);return i}({scheme:n,tone:r},t),shadow:function(e,t){let{scheme:n,tone:r}=e,i=t?.color?.base?.[r],o={hue:i?._hue||"gray",scheme:n};return{outline:nQ(o,i?.shadow?.outline),umbra:nQ(o,i?.shadow?.umbra),penumbra:nQ(o,i?.shadow?.penumbra),ambient:nQ(o,i?.shadow?.ambient)}}
3({scheme:n,tone:r},t),skeleton:{from:nQ(o,i?.skeleton?.from),to:nQ(o,i?.skeleton?.to)},syntax:function(e,t){let{scheme:n}=e,r=t?.color?.syntax,i={hue:"gray",scheme:n};return{atrule:nQ(i,r?.atrule),attrName:nQ(i,r?.attrName),attrValue:nQ(i,r?.attrValue),attribute:nQ(i,r?.attribute),boolean:nQ(i,r?.boolean),builtin:nQ(i,r?.builtin),cdata:nQ(i,r?.cdata),char:nQ(i,r?.char),class:nQ(i,r?.class),className:nQ(i,r?.className),comment:nQ(i,r?.comment),constant:nQ(i,r?.constant),deleted:nQ(i,r?.deleted),doctype:nQ(i,r?.doctype),entity:nQ(i,r?.entity),function:nQ(i,r?.function),hexcode:nQ(i,r?.hexcode),id:nQ(i,r?.id),important:nQ(i,r?.important),inserted:nQ(i,r?.inserted),keyword:nQ(i,r?.keyword),number:nQ(i,r?.number),operator:nQ(i,r?.operator),prolog:nQ(i,r?.prolog),property:nQ(i,r?.property),pseudoClass:nQ(i,r?.pseudoClass),pseudoElement:nQ(i,r?.pseudoElement),punctuation:nQ(i,r?.punctuation),regex:nQ(i,r?.regex),selector:nQ(i,r?.selector),string:nQ(i,r?.string),symbol:nQ(i,r?.symbol),tag:nQ(i,r?.tag),unit:nQ(i,r?.unit),url:nQ(i,r?.url),variable:nQ(i,r?.variable)}}({scheme:n},t)}})({scheme:n,tone:e},t));return r}function n6(e,t){let{scheme:n}=e;return{gray:n4({color:"gray",scheme:n},t),blue:n4({color:"blue",scheme:n},t),purple:n4({color:"purple",scheme:n},t),magenta:n4({color:"magenta",scheme:n},t),red:n4({color:"red",scheme:n},t),orange:n4({color:"orange",scheme:n},t),yellow:n4({color:"yellow",scheme:n},t),green:n4({color:"green",scheme:n},t),cyan:n4({color:"cyan",scheme:n},t)}}function n4(e,t){let{color:n,scheme:r}=e,i=t?.avatar?.[n],o={hue:i?._hue||"gray",scheme:r};return{_blend:(i?._blend||["screen","multiply"])[+("light"!==r)],bg:nQ(o,i?.bg),fg:nQ(o,i?.fg)}}function n8(e,t,n){let{scheme:r}=t,i={};for(let t of nD)i[t]=function(e,t,n){let{scheme:r,tone:i}=t,o=e?.[i],s={hue:o?._hue||n?.color?.base?.[i]?._hue||"gray",scheme:r};return{bg:nQ(s,o?.bg),fg:nQ(s,o?.fg),dot:nQ(s,o?.dot),icon:nQ(s,o?.icon)}}(e,{scheme:r,tone:t},n);return i}function n9(e,t){let{mode:n,scheme:r,tone:i}=e;return{enabled:n7({mode:n,scheme:r,state:"enabled",cardTone:i},t),hovered:n7({mode:n,scheme:r,state:"hovered",cardTone:i},t),readOnly:n7({mode:n,scheme:r,state:"readOnly",cardTone:i},t),disabled:n7({mode:n,scheme:r,state:"disabled",cardTone:i},t)}}function n7(e,t){let{cardTone:n,mode:r,scheme:i,state:o}=e,s=t?.color?.base?.[n],a=t?.color?.input?.[r]?.[o],l=a?._hue||s?._hue||"gray",d=a?._blend||["screen","multiply"],u={hue:l,scheme:i};return{_blend:d[+("light"!==i)],bg:nQ(u,a?.bg),border:nQ(u,a?.border),fg:nQ(u,a?.fg),muted:{bg:nQ(u,a?.muted?.bg)},placeholder:nQ(u,a?.placeholder)}}function re(e,t=0,n=1){return Math.min(n,Math.max(t,e))}function rt(e,t,n,r,i){var o;return n*(1-(o=re((i-e)/(t-e))))+r*o}function rn(e){return Math.round(e)}function rr(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 ri(e){let t=rn(re(Math.round(e.r),0,255)),n=rn(re(Math.round(e.g),0,255)),r=rn(re(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 ro=/hsl\(\s*(\d+)\s*,\s*((\d+(?:\.\d+)?)%)\s*,\s*((\d+(?:\.\d+)?)%)\s*\)/i;function rs(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 rr(e);if(e.startsWith("hsl(")){let n,r,i,o,s,a,l,d;return n=(t=function(e){let t=ro.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,o=(i=(1-Math.abs(2*(r=t.l/100)-1))*n)*(1-Math.abs(t.h/60%2-1)),s=r-i/2,a=0,l=0,d=0,0<=t.h&&t.h<60?(a=i,l=o,d=0):60<=t.h&&t.h<120?(a=o,l=i,d=0):120<=t.h&&t.h<180?(a=0,l=i,d=o):180<=t.h&&t.h<240?(a=0,l=o,d=i):240<=t.h&&t.h<300?(a=o,l=0,d=i):300<=t.h&&t.h<360&&(a=i,l=0,d=o),{r:Math.round((a+s)*255),g:Math.round((l+s)*255),b:Math.round((d+s)*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 ra=[0,255];function rl(e,t){var n,r,i,o,s,a,l,d,u,c,h;let f,{bg:p,blendMode:g,colorPalette:m}=t;if("white"===p)throw Error("Cannot blend with white background");let v=nX(e);if(!v||"color"!==v.type)throw Error(`Invalid color token value: ${e}`);let y="";if("black"===v.key&&(y=rd(m.black)),"white"===v.key&&(y=rd(m.white)),v.hue&&v.tint&&(y=rd(m[v.hue][v.tint])),!y)throw Error(`Invalid color token value: ${e}`);let w=y,b={blendMode:g,bg:p,black:rd(m.black),white:rd(m.white)};try{y=function(e,t){var n,r,i,o,s,a;let{blendMode:l}=t,d=rs(e),u=rs(t.black),c=rs(t.white),h=t.bg?rs(t.bg):"multiply"===l?c:u,f={r:[u.r,c.r],g:[u.g,c.g],b:[u.b,c.b]},p={r:re(rt(...f.r,...ra,h.r),...ra),g:re(rt(...f.g,...ra,h.g),...ra),b:re(rt(...f.b,...ra,h.b),...ra)},g={r:re(rt(...f.r,...ra,d.r),...ra),g:re(rt(...f.g,...ra,d.g),...ra),b:re(rt(...f.b,...ra,d.b),...ra)},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*((i=p.g/255)+(o=g.g/255)-i*o),b:255*((s=p.b/255)+(a=g.b/255)-s*a)};return ri({r:re(rt(...ra,...f.r,m.r),...f.r),g:re(rt(...ra,...f.g,m.g),...f.g),b:re(rt(...ra,...f.b,m.b),...f.b)})}(y,b),p&&void 0!==v.mix&&(y=ri((n=rr(p),r=rr(y),i=v.mix,{r:(o=n.r,s=r.r,o+(s-o)*i),g:(a=n.g,l=r.g,a+(l-a)*i),b:(d=n.b,u=r.b,d+(u-d)*i)})))}catch(e){throw console.warn("could not blend",y,b),e}
3return"#aN"===y&&(console.warn(`invalid color token value: ${e}`),y=w),void 0!==v.opacity&&(c=y,h=v.opacity,f=rs(c),y=`rgba(${f.r},${f.g},${f.b},${h})`),y}function rd(e){return"string"==typeof e?e:e.hex}function ru(e,t){let n=rc(t.default,{colorPalette:e}),r=n.bg;if("white"===r)throw Error("Cannot blend with white background");let i={default:n};for(let n of nz){if("default"===n)continue;let o="transparent"===n?{colorPalette:e}:{bg:r,colorPalette:e};nA(i,n,()=>rc(t[n],o))}return i}function rc(e,t){var n,r,i,o;let{colorPalette:s,bg:a}=t,l=e._blend||"multiply",d=rl(e.bg,{colorPalette:s,bg:a,blendMode:l}),u={colorPalette:s,bg:d,blendMode:l},c=(n=e.button,r={baseBg:d,blendMode:l,colorPalette:s},{default:rp(n.default,r),ghost:rp(n.ghost,r),bleed:rp(n.bleed,r)}),h=function(e,t){let n={};for(let o of nD){var r,i;n[o]=(r=e[o],i=t,{enabled:rg(r.enabled,i),hovered:rg(r.hovered,i),pressed:rg(r.pressed,i),selected:rg(r.selected,i),disabled:rg(r.disabled,i)})}return n}(e.selectable,{colorPalette:s,baseBg:d,blendMode:l}),f={outline:rl(e.shadow.outline,u),umbra:rl(e.shadow.umbra,{...u,bg:void 0,colorPalette:{...s,black:"#000000"}}),penumbra:rl(e.shadow.penumbra,{...u,bg:void 0,colorPalette:{...s,black:"#000000"}}),ambient:rl(e.shadow.ambient,{...u,bg:void 0,colorPalette:{...s,black:"#000000"}})};return{_blend:l,_dark:e._dark,accent:{fg:rl(e.accent.fg,u)},avatar:rh(e.avatar,{baseBg:d,colorPalette:s,blendMode:l}),backdrop:rl(e.backdrop,u),badge:rf(e.badge,{baseBg:d,colorPalette:s,blendMode:l}),bg:d,border:rl(e.border,u),button:c,code:{bg:rl(e.code.bg,u),fg:rl(e.code.fg,u)},fg:rl(e.fg,u),focusRing:rl(e.focusRing,u),icon:rl(e.icon,u),input:(i=e.input,o={baseBg:d,colorPalette:s,blendMode:l},{default:rm(i.default,o),invalid:rm(i.invalid,o)}),kbd:function(e,t){let{baseBg:n,blendMode:r,colorPalette:i}=t,o=rl(e.bg,{bg:n,blendMode:r,colorPalette:i}),s={bg:o,blendMode:r,colorPalette:i};return{bg:o,fg:rl(e.fg,s),border:rl(e.border,s)}}(e.kbd,{baseBg:d,colorPalette:s,blendMode:l}),link:{fg:rl(e.link.fg,u)},muted:{bg:rl(e.muted.bg,u),fg:rl(e.muted.fg,u)},shadow:f,skeleton:{from:rl(e.skeleton.from,u),to:rl(e.skeleton.to,u)},syntax:function(e,t){let{colorPalette:n,baseBg:r,blendMode:i}=t,o={colorPalette:n,bg:r,blendMode:i};return{atrule:rl(e.atrule,o),attrName:rl(e.attrName,o),attrValue:rl(e.attrValue,o),attribute:rl(e.attribute,o),boolean:rl(e.boolean,o),builtin:rl(e.builtin,o),cdata:rl(e.cdata,o),char:rl(e.char,o),class:rl(e.class,o),className:rl(e.className,o),comment:rl(e.comment,o),constant:rl(e.constant,o),deleted:rl(e.deleted,o),doctype:rl(e.doctype,o),entity:rl(e.entity,o),function:rl(e.function,o),hexcode:rl(e.hexcode,o),id:rl(e.id,o),important:rl(e.important,o),inserted:rl(e.inserted,o),keyword:rl(e.keyword,o),number:rl(e.number,o),operator:rl(e.operator,o),prolog:rl(e.prolog,o),property:rl(e.property,o),pseudoClass:rl(e.pseudoClass,o),pseudoElement:rl(e.pseudoElement,o),punctuation:rl(e.punctuation,o),regex:rl(e.regex,o),selector:rl(e.selector,o),string:rl(e.string,o),symbol:rl(e.symbol,o),tag:rl(e.tag,o),unit:rl(e.unit,o),url:rl(e.url,o),variable:rl(e.variable,o)}}(e.syntax,{baseBg:d,colorPalette:s,blendMode:l}),selectable:h}}function rh(e,t){let n={};for(let r of nv)n[r]=function(e,t){let{baseBg:n,blendMode:r,colorPalette:i}=t,o=e._blend||"multiply",s=rl(e.bg,{bg:n,blendMode:r,colorPalette:i});return{_blend:o,bg:s,fg:rl(e.fg,{bg:s,blendMode:o,colorPalette:i})}}(e[r],t);return n}function rf(e,t){let n={};for(let r of nD)n[r]=function(e,t){let{baseBg:n,blendMode:r,colorPalette:i}=t,o=rl(e.bg,{bg:n,blendMode:r,colorPalette:i}),s={bg:o,blendMode:r,colorPalette:i};return{bg:o,dot:rl(e.dot,s),fg:rl(e.fg,s),icon:rl(e.icon,s)}}(e[r],t);return n}function rp(e,t){let n={};for(let o of nD){var r,i;n[o]=(r=e[o],i=t,{enabled:rg(r.enabled,i),hovered:rg(r.hovered,i),pressed:rg(r.pressed,i),selected:rg(r.selected,i),disabled:rg(r.disabled,i)})}return n}function rg(e,t){let{baseBg:n,blendMode:r,colorPalette:i}=t,o=e._blend||"multiply",s=rl(e.bg,{bg:n,blendMode:r,colorPalette:i}),a={bg:s,blendMode:o,colorPalette:i};return{_blend:o,accent:{fg:rl(e.accent.fg,a)},avatar:rh(e.avatar,{baseBg:s,colorPalette:i,blendMode:o}),badge:rf(e.badge,{baseBg:s,colorPalette:i,blendMode:o}),bg:s,border:rl(e.border,a),code:{bg:rl(e.code.bg,a),fg:rl(e.code.fg,a)},fg:rl(e.fg,a),icon:rl(e.icon,a),link:{fg:rl(e.link.fg,a)},muted:{bg:rl(e.muted.bg,a),fg:rl(e.muted.fg,a)},kbd:{bg:rl(e.kbd.bg,a),fg:rl(e.kbd.fg,a),border:rl(e.kbd.border,a)},skeleton:{from:rl(e.skeleton?.from,a),to:rl(e.skeleton?.to,a)}}}function rm(e,t){return{enabled:rv(e.enabled,t),hovered:rv(e.hovered,t),readOnly:rv(e.readOnly,t),disabled:rv(e.disabled,t)}}function rv(e,t){let{baseBg:n,blendMode:r,colorPalette:i}=t,o=e._blend||"multiply",s=rl(e.bg,{colorPalette:i,bg:n,blendMode:r}),a={colorPalette:i,bg:s,blendMode:o};return{_blend:o,bg:s,border:rl(e.border,a),fg:rl(e.fg,a),muted:{bg:rl(e.muted.bg,a)},placeholder:rl(e.placeholder,a)}}let ry=new Map;var rw=e.i(52625);let rb=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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"})})}),rx=(0,np.forwardRef)(function(e,t){return(0,W.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,W.jsx)("path",{d:"M21 15H19L15.5 7L11 18L8 12L6 15H4",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),rC=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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"})})}),rk=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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"})})}),rj=(0,np.forwardRef)(function(e,t){return(0,W.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,W.jsx)("path",{d:"M11.5 4.5V9.5H6.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,W.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"})]})}),rM=(0,np.forwardRef)(function(e,t){return(0,W.jsx)("svg",{"data-sanity-icon":"add",
3width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,W.jsx)("path",{d:"M12.5 5V20M5 12.5H20",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),rL=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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,W.jsx)("path",{d:"M20.5 6V13M17 9.5H24",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),rS=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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,W.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,W.jsx)("path",{d:"M21.1675 16V14.8164H19.717V10.1836H21.1675V9H16.8889V10.1836H18.3393V14.8164H16.8889V16H21.1675Z",fill:"currentColor"})]})}),rE=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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,W.jsx)("path",{d:"M4.5 7.5H20.5M16 14L12.5 17.5L9 14",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),rR=(0,np.forwardRef)(function(e,t){return(0,W.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,W.jsx)("path",{d:"M12.5 19.5V5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,W.jsx)("path",{d:"M18 14L12.5 19.5L7 14",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),rV=(0,np.forwardRef)(function(e,t){return(0,W.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,W.jsx)("path",{d:"M5.5 12.5H20",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,W.jsx)("path",{d:"M11 18L5.5 12.5L11 7",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),r_=(0,np.forwardRef)(function(e,t){return(0,W.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,W.jsx)("path",{d:"M19.5 12.5H5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,W.jsx)("path",{d:"M14 7L19.5 12.5L14 18",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),rH=(0,np.forwardRef)(function(e,t){return(0,W.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,W.jsx)("path",{d:"M16.5 8.5L7 18",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,W.jsx)("path",{d:"M9 8.5H16.5V16",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),r$=(0,np.forwardRef)(function(e,t){return(0,W.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,W.jsx)("path",{d:"M7 11L12.5 5.5L18 11",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,W.jsx)("path",{d:"M12.5 5.5V20",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),rA=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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"})})}),rT=(0,np.forwardRef)(function(e,t){return(0,W.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,W.jsx)("path",{d:"M5.5 5V19.5H20M8.5 18V13M11.5 18V9M14.5 18V11M17.5 18V7",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),rI=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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"})})}),rP=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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"})})}),rO=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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"})})}),rB=(0,np.forwardRef)(function(e,t){return(0,W.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,W.jsx)("path",{d:"M11.5 4.5V9.5H6.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,W.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"})]})}),rW=(0,np.forwardRef)(function(e,t){return(0,W.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,W.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M21 7.60002L11 7.60003V6.40003L21 6.40002V7.60002Z",fill:"currentColor"}),(0,W.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M21 11.2667L12.4833 11.2667V10.0667L21 10.0667V11.2667Z",fill:"currentColor"}),(0,W.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M21 14.9334H13.9254V13.7334L21 13.7334V14.9334Z",fill:"currentColor"}),(0,W.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M21 18.6002H4V17.4002H21V18.6002Z",fill:"currentColor"}),(0,W.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"})]})}),rN=(0,np.forwardRef)(function(e,t){return(0,W.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,W.jsx)("path",{d:"M5 19.5H20M5 5.5H20M6.5 8.5H18.5V16.5H6.5V8.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),rz=(0,np.forwardRef)(function(e,t){return(0,W.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,W.jsx)("path",{d:"M10 17.5H19M6 7.5H19M10 12.5H17M6.5 12V18",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),rD=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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"})})}),rF=(0,np.forwardRef)(function(e,t){return(0,W.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,W.jsx)("path",{d:"M18 11.5L9 21L11 13.5H7L16 4L14 11.5H18Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),rZ=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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"})})}),rU=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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"})})}),rq=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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"})})}),rG=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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"})})}),rY=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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"})})}),rX=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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})})}),rK=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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})})}),rJ=(0,np.forwardRef)(function(e,t){return(0,W.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,W.jsx)("path",{d:"M5.5 18.5H19.5V6.5H5.5V18.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,W.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"})]})}),rQ=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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"})})}),r1=(0,np.forwardRef)(function(e,t){return(0,W.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,W.jsx)("path",{d:"M5.5 5V19.5H20M7.5 16L11.5 11.5L15.5 14L19.5 8.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),r0=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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"})})}),r5=(0,np.forwardRef)(function(e,t){return(0,W.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,W.jsx)("path",{d:"M5.5 11.5L10.5 16.5L19.5 7.60001",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),r2=(0,np.forwardRef)(function(e,t){return(0,W.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,W.jsx)("path",{d:"M17 10L12.5 14.5L8 10",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),r3=(0,np.forwardRef)(function(e,t){return(0,W.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,W.jsx)("path",{d:"M15 17L10.5 12.5L15 8",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),r6=(0,np.forwardRef)(function(e,t){return(0,W.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,W.jsx)("path",{d:"M10 8L14.5 12.5L10 17",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),r4=(0,np.forwardRef)(function(e,t){return(0,W.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,W.jsx)("path",{d:"M8 15L12.5 10.5L17 15",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),r8=(0,np.forwardRef)(function(e,t){return(0,W.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,W.jsx)("circle",{cx:12.5,cy:12.5,r:8,stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),r9=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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"})})}),r7=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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"})})}),ie=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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"})})}),it=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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"})})}),ir=(0,np.forwardRef)(function(e,t){return(0,W.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,W.jsx)("path",{d:"M18 7L7 18M7 7L18 18",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),ii=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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"})})}),io=(0,np.forwardRef)(function(e,t){return(0,W.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,W.jsx)("path",{d:"M11 16L7.5 12.5L11 9M14 9L17.5 12.5L14 16",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),is=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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,W.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"})]})}),ia=(0,np.forwardRef)(function(e,t){return(0,W.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,W.jsx)("path",{d:"M6 14.5L10.5 14.5V19M19 10.5H14.5L14.5 6",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,W.jsx)("path",{d:"M10.5 14.5L6 19M14.5 10.5L19 6",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),il=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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"})})}),id=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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"})})}),iu=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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"})})}),ic=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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"})})}),ih=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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"})})}),ip=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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,W.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,W.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,W.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"})]})}),ig=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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"})})}),im=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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"})})}),iv=(0,np.forwardRef)(function(e,t){return(0,W.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,W.jsx)("path",{d:"M20.5 9.5H4.5V11.5H20.5V9.5Z",fill:"currentColor",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,W.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"})]})}),iy=(0,np.forwardRef)(function(e,t){return(0,W.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,W.jsx)("path",{d:"M9.5 5V15.5H20M5 9.5H15.5V20",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),iw=(0,np.forwardRef)(function(e,t){return(0,W.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,W.jsx)("path",{d:"M4.5 8L12.5 3L20.5 8V17L12.5 22L4.5 17V8Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,W.jsx)("path",{d:"M12.5 22V13M12.5 13L4.5 8M12.5 13L20.5 8",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),ib=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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"})})}),ix=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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"})})}),iC=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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"})})}),ik=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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",strokeLinecap:"round"})})}),ij=(0,np.forwardRef)(function(e,t){return(0,W.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,W.jsx)("path",{d:"M11.5 4.5V9.5H6.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,W.jsx)("path",{d:"M18.5 20.5H6.5V9.5L11.5 4.5H18.5V20.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),iM=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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,W.jsx)("path",{d:"M11.5 4.5V9.5H6.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,W.jsx)("path",{d:"M11.5 4.5H18.5V20.5H6.5V9.5L11.5 4.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),iL=(0,np.forwardRef)(function(e,t){return(0,W.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,W.jsx)("path",{d:"M11.5 4.5V9.5H6.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,W.jsx)("path",{d:"M6.5 14V20.5H18.5V14M6.5 11V9.5L11.5 4.5H18.5V11M3 12.5H22",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),iS=(0,np.forwardRef)(function(e,t){return(0,W.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,W.jsx)("path",{d:"M11.5 4.5V9.5H6.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,W.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"})]})}),iE=(0,np.forwardRef)(function(e,t){return(0,W.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,W.jsx)("path",{d:"M10.5 4.5V9.5H5.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,W.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"})]})}),iR=(0,np.forwardRef)(function(e,t){return(0,W.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,W.jsx)("path",{d:"M11.5 4.5V9.5H6.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,W.jsx)("path",{d:"M16 13H9M14 16H9M11.5 4.5H18.5V20.5H6.5V9.5L11.5 4.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),iV=(0,np.forwardRef)(function(e,t){return(0,W.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,W.jsx)("path",{d:"M11.5 16.5V13.5L14 15L11.5 16.5Z",fill:"currentColor",stroke:"currentColor",strokeWidth:1.2}),(0,W.jsx)("path",{d:"M11.5 4.5V9.5H6.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,W.jsx)("path",{d:"M11.5 4.5H18.5V20.5H6.5V9.5L11.5 4.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),i_=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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,W.jsx)("path",{d:"M11.5 4.5V9.5H6.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}
3),(0,W.jsx)("path",{d:"M11.5 4.5H18.5V20.5H6.5V9.5L11.5 4.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),iH=(0,np.forwardRef)(function(e,t){return(0,W.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,W.jsx)("path",{d:"M11.5 4.5V9.5H6.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,W.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"})]})}),i$=(0,np.forwardRef)(function(e,t){return(0,W.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,W.jsx)("circle",{cx:12.5,cy:12.5,r:2.5,fill:"currentColor",stroke:"currentColor",strokeWidth:1.2})})}),iA=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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"})})}),iT=(0,np.forwardRef)(function(e,t){return(0,W.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,W.jsx)("path",{d:"M12.5 17L8 12.5L12.5 8M17.5 17L13 12.5L17.5 8",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),iI=(0,np.forwardRef)(function(e,t){return(0,W.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,W.jsx)("path",{d:"M12.5 8L17 12.5L12.5 17M7.5 8L12 12.5L7.5 17",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),iP=(0,np.forwardRef)(function(e,t){return(0,W.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,W.jsx)("path",{d:"M8 12.5L12.5 8L17 12.5M8 17.5L12.5 13L17 17.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),iO=(0,np.forwardRef)(function(e,t){return(0,W.jsxs)("svg",{"data-sanity-icon":"double-quote",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,W.jsx)("path",{d:"M10.1764 6.22451C10.4867 6.10865 10.8319 6.26581 10.9479 6.57608C11.0636 6.88624 10.9064 7.23147 10.5964 7.34756C8.53413 8.35198 7.12778 11.0397 6.93117 13.3707C6.91621 13.5481 7.13247 13.6467 7.27806 13.5443C7.76531 13.2016 8.35885 13.0001 8.99968 12.9999C10.6562 13.0001 11.9994 14.3434 11.9997 15.9999C11.9995 17.6564 10.6562 18.9997 8.99968 18.9999C7.14062 18.9999 6.13458 18.2823 5.51726 17.0995C4.9297 15.9733 4.88735 14.5231 5.16863 13.1073C5.45257 11.6784 6.08038 10.2025 6.93523 8.96865C7.78582 7.74103 8.89804 6.70267 10.1764 6.22451Z",fill:"currentColor"}),(0,W.jsx)("path",{d:"M18.1767 6.22451C18.487 6.10865 18.8322 6.26581 18.9482 6.57608C19.0639 6.88624 18.9067 7.23147 18.5967 7.34756C16.5344 8.35198 15.1281 11.0397 14.9315 13.3707C14.9165 13.5481 15.1328 13.6467 15.2784 13.5443C15.7656 13.2016 16.3592 13.0001 17 12.9999C18.6565 13.0001 19.9998 14.3434 20 15.9999C19.9998 17.6564 18.6565 18.9997 17 18.9999C15.1409 18.9999 14.1349 18.2823 13.5176 17.0995C12.93 15.9733 12.8877 14.5231 13.1689 13.1073C13.4529 11.6784 14.0807 10.2025 14.9355 8.96865C15.7861 7.74103 16.8983 6.70267 18.1767 6.22451Z",fill:"currentColor"})]})}),iB=(0,np.forwardRef)(function(e,t){return(0,W.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,W.jsx)("path",{d:"M19.5 17V19.5H5.5V17M12.5 16L12.5 5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,W.jsx)("path",{d:"M17.5 11L12.5 16L7.5 11",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),iW=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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,W.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,W.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,W.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,W.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,W.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"})]})}),iN=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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"})})}),iz=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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,W.jsx)("circle",{cx:12.5,cy:12.5,r:8,stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),iD=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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,W.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"})]})}),iF=(0,np.forwardRef)(function(e,t){return(0,W.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,W.jsx)("path",{d:"M15 7L18 10M6 19L7 15L17 5L20 8L10 18L6 19Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),iZ=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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,W.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,W.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"})]})}),iU=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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,W.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,W.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"})]})}),iq=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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})})}),iG=(0,np.forwardRef)(function(e,t){return(0,W.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,W.jsx)("path",{d:"M6 14.5H19.5V7",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,W.jsx)("path",{d:"M10 18.5L6 14.5L10 10.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),iY=(0,np.forwardRef)(function(e,t){return(0,W.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,W.jsx)("path",{d:"M19 14.5H5.5V7",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,W.jsx)("path",{d:"M15 18.5L19 14.5L15 10.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),iX=(0,np.forwardRef)(function(e,t){return(0,W.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,W.jsx)("path",{d:"M20.5 18.5H4.5V6.5H20.5V18.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,W.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"})]})}),iK=(0,np.forwardRef)(function(e,t){return(0,W.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,W.jsx)("path",{d:"M7.5 4.5H3.5V20.5
3H7.5",stroke:"currentColor",strokeWidth:1.2}),(0,W.jsx)("path",{d:"M17.5 20.5L21.5 20.5L21.5 4.5L17.5 4.5",stroke:"currentColor",strokeWidth:1.2}),(0,W.jsx)("path",{d:"M9 10.5H16",stroke:"currentColor",strokeWidth:1.2}),(0,W.jsx)("path",{d:"M9 14.5H16",stroke:"currentColor",strokeWidth:1.2})]})}),iJ=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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"})})}),iQ=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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"})})}),i1=(0,np.forwardRef)(function(e,t){return(0,W.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,W.jsx)("path",{d:"M10 8.5L15 13.5M15 8.5L10 13.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,W.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"})]})}),i0=(0,np.forwardRef)(function(e,t){return(0,W.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,W.jsx)("path",{d:"M14 6.5H18.5V11M11 18.5H6.5V14",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,W.jsx)("path",{d:"M18.5 6.5L14 11M6.5 18.5L11 14",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),i5=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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"})})}),i2=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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,W.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"})]})}),i3=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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"})})}),i6=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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"})})}),i4=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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"})})}),i8=(0,np.forwardRef)(function(e,t){return(0,W.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,W.jsx)("path",{d:"M10 11.5V12H9.5L9.5 11.5H10Z",fill:"currentColor"}),(0,W.jsx)("path",{d:"M13 11.5V12H12.5V11.5H13Z",fill:"currentColor"}),(0,W.jsx)("path",{d:"M16 11.5V12H15.5V11.5H16Z",fill:"currentColor"}),(0,W.jsx)("path",{d:"M10 11.5V12H9.5L9.5 11.5H10Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,W.jsx)("path",{d:"M13 11.5V12H12.5V11.5H13Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,W.jsx)("path",{d:"M16 11.5V12H15.5V11.5H16Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,W.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"})]})}),i9=(0,np.forwardRef)(function(e,t){return(0,W.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,W.jsx)("path",{d:"M6 7.5H19M8 12.5H17M10 17.5H15",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),i7=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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"})})}),oe=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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,W.jsx)("path",{d:"M16 11L12.5 14.5L9 11",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),ot=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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"})})}),on=(0,np.forwardRef)(function(e,t){return(0,W.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,W.jsx)("path",{d:"M13 13H21L13 21L13 13Z",fill:"currentColor"}),(0,W.jsx)("path",{d:"M12 12V4L4 12H12Z",fill:"currentColor"}),(0,W.jsx)("path",{d:"M12 13H4L12 21V13Z",fill:"currentColor"})]})}),or=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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"})})}),oi=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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"})})}),oo=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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"})})}),os=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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"})})}),oa=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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"})})}),ol=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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"})})}),od=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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"})})}),ou=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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"})})}),oc=(0,np.forwardRef)(function(e,t){return(0,W.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,W.jsx)("path",{d:"M5.5 11V6.5H19.5V11M5.5 14V18.5H19.5V14M3 12.5H22",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),oh=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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"})})}),of=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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"})})}),op=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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"})})}),og=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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"})})}),om=(0,np.forwardRef)(function(e,t){return(0,W.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,W.jsx)("path",{d:"M5.5 5V20M19.5 5V20M8.5 6.5H16.5V18.5H8.5V6.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),ov=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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"})})}),oy=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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"})})}),ow=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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"})})}),ob=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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"})})}),ox=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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"})})}),oC=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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"})})}),ok=(0,np.forwardRef)(function(e,t){return(0,W.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,W.jsx)("path",{d:"M12 7.5H6.5V18.5H17.5V13M19.5 5.5L10.5 14.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,W.jsx)("path",{d:"M14 5.5H19.5V11",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),oj=(0,np.forwardRef)(function(e,t){return(0,W.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,W.jsx)("path",{d:"M14.5 15V18.5H5.5V6.5H14.5V10M9 12.5H21.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,W.jsx)("path",{d:"M18 9L21.5 12.5L18 16",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),oM=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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"})})}),oL=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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"})})}),oS=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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"})})}),oE=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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"})})}),oR=(0,np.forwardRef)(function(e,t){return(0,W.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,W.jsx)("path",{d:"M6 6.5H19M6 14.5H19M6 10.5H19M6 18.5H19",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),oV=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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"})})}),o_=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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"})})}),oH=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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"})})}),o$=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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,W.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"})]})}),oA=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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"})})}),oT=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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"})})}),oI=(0,np.forwardRef)(function(e,t){return(0,W.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,W.jsx)("path",{d:"M6 7.5H19M6 17.5H19M6 12.5H19",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),oP=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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})})}),oO=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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,W.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,W.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,W.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,W.jsx)("path",{d:"M19 18L6 5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),oB=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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,W.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"})]})}),oW=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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"})})}),oN=(0,np.forwardRef)(function(e,t){return(0,W.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,W.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M21.0165 17.6336H3.83636V16.4336H21.0165V17.6336Z",fill:"currentColor"}),(0,W.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,W.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,W.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"})]})}),oz=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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"})})}),oD=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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"})})}),oF=(0,np.forwardRef)(function(e,t){return(0,W.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,W.jsx)("path",{d:"M18.5 11V6.5H14",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,W.jsx)("path",{d:"M6.5 18.5L9 16L12 13L18.5 6.5M3 13.5H22",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),oZ=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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"})})}),oU=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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"})})}),oq=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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"})})}),oG=(0,np.forwardRef)(function(e,t){return(0,W.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,W.jsx)("path",{d:"M10.5 7.5H8.5V17.5H10.5V7.5Z",fill:"currentColor"}),(0,W.jsx)("path",{d:"M16.5 7.5H14.5V17.5H16.5V7.5Z",fill:"currentColor"}),(0,W.jsx)("path",{d:"M10.5 7.5H8.5V17.5H10.5V7.5Z",stroke:"currentColor",strokeWidth:1.2}),(0,W.jsx)("path",{d:"M16.5 7.5H14.5V17.5H16.5V7.5Z",stroke:"currentColor",strokeWidth:1.2})]})}),oY=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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,W.jsx)("path",{d:"M12 15L12.5 20L13 15",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),oX=(0,np.forwardRef)(function(e,t){return(0,W.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,W.jsx)("path",{d:"M12 15L12.5 20L13 15",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,W.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"})]})}),oK=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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"})})}),oJ=(0,np.forwardRef)(function(e,t){return(0,W.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,W.jsx)("path",{d:"M7.5 18.5V6.5L17.5 12.5L7.5 18.5Z",fill:"currentColor",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),oQ=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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"})})}),o1=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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"})})}),o0=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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,W.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"})]})}),o5=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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,W.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"})]})}),o2=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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"})})}),o3=(0,np.forwardRef)(function(e,t){return(0,W.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,W.jsx)("path",{d:"M4.99997 5.50006H20M12.5 9.00005V20",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,W.jsx)("path",{d:"M7.5 14L12.5 9.00006L17.5 14",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),o6=(0,np.forwardRef)(function(e,t){return(0,W.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,W.jsx)("path",{d:"M15 7L18 10M10 12L7 15L6 19L10 18L13 15M12 10L17 5L20 8L15 13M19 19L5 5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),o4=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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,W.jsx)("path",{d:"M15 13.5L19 9.5L15 5.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),o8=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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,W.jsx)("path",{d:"M11.5 10.5L15.5 6.5L11.5 2.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),o9=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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"})})}),o7=(0,np.forwardRef)(function(e,t){return(0,W.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,W.jsx)("path",{d:"M5 12.5H20",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),se=(0,np.forwardRef)(function(e,t){return(0,W.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,W.jsx)("path",{d:"M7 11L4.56189 13.5L2 11",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,W.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"})]})}),st=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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,W.jsx)("path",{d:"M7 11L4.5 13.5L2 11",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),sn=(0,np.forwardRef)(function(e,t){return(0,W.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,W.jsx)("path",{d:"M16 14L12.5 10.5L9 14M5.5 7.5H19.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,W.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"})]})}),sr=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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,W.jsx)("path",{d:"M15 13.5L19 9.5L15 5.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),si=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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,W.jsx)("path",{d:"M10 13.5L6 9.5L10 5.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),so=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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"})})}),ss=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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"})})}),sa=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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"})})}),sl=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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"})})}),sd=(0,np.forwardRef)(function(e,t){return(0,W.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,W.jsx)("path",{d:"M16 15L12.5 18.5L9 15M9 10L12.5 6.5L16 10",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),su=(0,np.forwardRef)(function(e,t){return(0,W.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,W.jsx)("path",{d:"M15 10.5H18.5V19.5H6.5L6.5 10.5H10M12.5 16V3.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,W.jsx)("path",{d:"M9 7L12.5 3.5L16 7",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),sc=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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"})})}),sh=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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"})})}),sf=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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"})})}),sp=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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"})})}),sg=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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"})})}),sm=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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"})})}),sv=(0,np.forwardRef)(function(e,t){return(0,W.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,W.jsx)("rect",{x:5.5,y:5.5,width:14,height:14,stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),sy=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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"})})}),sw=(0,np.forwardRef)(function(e,t){return(0,W.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,W.jsx)("path",{d:"M5.5 12.5H19.5M5.5 18.5H19.5V6.5H5.5V18.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),sb=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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"})})}),sx=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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"})})}),sC=(0,np.forwardRef)(function(e,t){return(0,W.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,W.jsx)("rect",{x:7.5,y:7.5,width:10,height:10,fill:"currentColor",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),sk=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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,W.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,W.jsx)("path",{d:"M7 13.1H18V11.9H7V13.1Z",fill:"currentColor"})]})}),sj=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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,W.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,W.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M19.9585 18.637L5.0415 18.637V17.437L19.9585 17.437V18.637Z",fill:"currentColor"})]})}),sM=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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"})})}),sL=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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,W.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"})]})}),sS=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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,W.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"})]})}),sE=(0,np.forwardRef)(function(e,t){return(0,W.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,W.jsx)("path",{d:"M12.5 20L5 20L5 12.5L12.5 5L20 12.5L12.5 20Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,W.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"})]})}),sR=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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"})})}),sV=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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"})})}),s_=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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"})})}),sH=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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"})})}),s$=(0,np.forwardRef)(function(e,t){return(0,W.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,W.jsx)("path",{d:"M7.5 9V6.5H17.5V9M12.5 18.5V6.5M10 18.5H15",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),sA=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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"})})}),sT=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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"})})}),sI=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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"})})}),sP=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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"})})}),sO=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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"})})}),sB=(0,np.forwardRef)(function(e,t){return(0,W.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,W.jsx)("path",{d:"M12.5 5V20",stroke:"currentColor",strokeWidth:1.2}),(0,W.jsx)("path",{d:"M5 8.5H11M7 12.5H11M9 16.5H11M13 16.5H20M13 12.5H18M13 8.5H16",stroke:"currentColor",strokeWidth:1.2})]})}),sW=(0,np.forwardRef)(function(e,t){return(0,W.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,W.jsx)("path",{d:"M10.5 16V9L16 12.5L10.5 16Z",fill:"currentColor",stroke:"currentColor",strokeLinejoin:"round"})})}),sN=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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"})})}),sz=(0,np.forwardRef)(function(e,t){return(0,W.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,W.jsx)("path",{d:"M19.5 16.5H6M5.5 8.5L19 8.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,W.jsx)("path",{d:"M16 13L19.5 16.5L16 20M9 12L5.5 8.5L9 5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),sD=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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"})})}),sF=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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"})})}),sZ=(0,np.forwardRef)(function(e,t){return(0,W.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,W.jsx)("path",{d:"M4.5 18.5L11.5 10.5L13.5 14.5L20.5 6.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,W.jsx)("path",{d:"M20.5 11V6.5H16",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),sU=(0,np.forwardRef)(function(e,t){return(0,W.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,W.jsx)("path",{d:"M20.5 18.5H4.5L12.5 5.5L20.5 18.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),sq=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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"})})}),sG=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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"})})}),sY=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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"})})}),sX=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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,W.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,W.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,W.jsx)("path",{d:"M10 7.5H19M10 17.5H19M10 12.5H19",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),sK=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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,W.jsx)("path",{d:"M4.5 7.5H20.5M16 14L12.5 10.5L9 14",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),sJ=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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,W.jsx)("path",{d:"M7 20.5H18",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),sQ=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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,W.jsx)("path",{d:"M10 13.5L6 9.5L10 5.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),s1=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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"})})}),s0=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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"})})}),s5=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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"})})}),s2=(0,np.forwardRef)(function(e,t){return(0,W.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,W.jsx)("path",{d:"M5 19.5H20M12.5 16V5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,W.jsx)("path",{d:"M17.5 11L12.5 16L7.5 11",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),s3=(0,np.forwardRef)(function(e,t){return(0,W.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,W.jsx)("path",{d:"M12.5 6V15.5M5.5 15.5H19.5V19.5H5.5V15.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,W.jsx)("path",{d:"M7.5 11L12.5 6L17.5 11",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),s6=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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"})})}),s4=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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"})})}),s8=(0,np.forwardRef)(function(e,t){return(0,W.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,W.jsx)("path",{d:"M10.5 7.5H7.5V17.5H10.5M7.5 9.5H4.5V15.5H7.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,W.jsx)("path",{d:"M20.5 19.5V5.5H10.5V19.5H20.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),s9=(0,np.forwardRef)(function(e,t){return(0,W.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,W.jsx)("path",{d:"M19.5 18.5H5.5V6.5H19.5V18.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,W.jsx)("path",{d:"M11.5 14.5V10.5L14.5 12.5L11.5 14.5Z",fill:"currentColor",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),s7=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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"})})}),ae=(0,np.forwardRef)(function(e,t){return(0,W.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,W.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 at=e.i(33824),an=e.i(65657);e.i(70606);var ar="-ms-",ai="-moz-",ao="-webkit-",as="comm",aa="rule",al="decl",ad="@keyframes",au=Math.abs,ac=String.fromCharCode,ah=Object.assign;function af(e,t){return(e=t.exec(e))?e[0]:e}function ap(e,t,n){return e.replace(t,n)}function ag(e,t,n){return e.indexOf(t,n)}function am(e,t){return 0|e.charCodeAt(t)}function av(e,t,n){return e.slice(t,n)}function ay(e){return e.length}function aw(e,t){return t.push(e),e}function ab(e,t){return e.filter(function(e){return!af(e,t)})}var ax=1,aC=1,ak=0,aj=0,aM=0,aL="";function aS(e,t,n,r,i,o,s,a){return{value:e,root:t,parent:n,type:r,props:i,children:o,line:ax,column:aC,length:s,return:"",siblings:a}}function aE(e,t){return ah(aS("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function aR(e){for(;e.root;)e=aE(e.root,{children:[e]});aw(e,e.siblings)}function aV(){return aM=aj<ak?am(aL,aj++):0,aC++,10===aM&&(aC=1,ax++),aM}function a_(){return am(aL,aj)}function aH(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 a$(e){var t,n;return(t=aj-1,n=function e(t){for(;aV();)switch(aM){case t:return aj;case 34:case 39:34!==t&&39!==t&&e(aM);break;case 40:41===t&&e(t);break;case 92:aV()}return aj}(91===e?e+2:40===e?e+1:e),av(aL,t,n)).trim()}function aA(e,t){for(var n="",r=0;r<e.length;r++)n+=t(e[r],r,e,t)||"";return n}function aT(e,t,n,r){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case"@namespace":case al:return e.return=e.return||e.value;case as:return"";case ad:return e.return=e.value+"{"+aA(e.children,r)+"}";case aa:if(!ay(e.value=e.props.join(",")))return""}return ay(n=aA(e.children,r))?e.return=e.value+"{"+n+"}":""}function aI(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case al:e.return=function e(t,n,r){var i;
vendor: 1,187 bytes, line 3
3switch(i=n,45^am(t,0)?(((i<<2^am(t,0))<<2^am(t,1))<<2^am(t,2))<<2^am(t,3):0){case 5103:return ao+"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 4215:case 6389:case 5109:case 5365:case 5621:case 3829:case 6391:case 5879:case 5623:case 6135:case 4599:return ao+t+t;case 4855:return ao+t.replace("add","source-over").replace("substract","source-out").replace("intersect","source-in").replace("exclude","xor")+t;case 4789:return ai+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return ao+t+ai+t+ar+t+t;case 5936:switch(am(t,n+11)){case 114:return ao+t+ar+ap(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return ao+t+ar+ap(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return ao+t+ar+ap(t,/[svh]\w+-[tblr]{2}/,"lr")+t}case 6828:case 4268:case 2903:return ao+t+ar+t+t;case 6165:return ao+t+ar+"flex-"+t+t;case 5187:return ao+t+ap(t,/(\w+).+(:[^]+)/,ao+"box-$1$2"+ar+"flex-$1$2")+t;case 5443:return ao+t+ar+"flex-item-"+ap(t,/flex-|-self/g,"")+(af(t,/flex-|baseline/)?"":ar+"grid-row-"+ap(t,/flex-|-self/g,""))+t;case 4675:return ao+t+ar+"flex-line-pack"+ap(t,/align-content|flex-|-self/g,"")+t;
3case 5548:return ao+t+ar+ap(t,"shrink","negative")+t;case 5292:return ao+t+ar+ap(t,"basis","preferred-size")+t;case 6060:return ao+"box-"+ap(t,"-grow","")+ao+t+ar+ap(t,"grow","positive")+t;case 4554:return ao+ap(t,/([^-])(transform)/g,"$1"+ao+"$2")+t;case 6187:return ap(ap(ap(t,/(zoom-|grab)/,ao+"$1"),/(image-set)/,ao+"$1"),t,"")+t;case 5495:case 3959:return ap(t,/(image-set\([^]*)/,ao+"$1$`$1");case 4968:return ap(ap(t,/(.+:)(flex-)?(.*)/,ao+"box-pack:$3"+ar+"flex-pack:$3"),/space-between/,"justify")+ao+t+t;case 4200:if(!af(t,/flex-|baseline/))return ar+"grid-column-align"+av(t,n)+t;break;case 2592:case 3360:return ar+ap(t,"template-","")+t;case 4384:case 3616:if(r&&r.some(function(e,t){return n=t,af(e.props,/grid-\w+-end/)}))return~ag(t+(r=r[n].value),"span",0)?t:ar+ap(t,"-start","")+t+ar+"grid-row-span:"+(~ag(r,"span",0)?af(r,/\d+/):af(r,/\d+/)-af(t,/\d+/))+";";return ar+ap(t,"-start","")+t;case 4896:case 4128:return r&&r.some(function(e){return af(e.props,/grid-\w+-start/)})?t:ar+ap(ap(t,"-end","-span"),"span ","")+t;case 4095:case 3583:case 4068:case 2532:return ap(t,/(.+)-inline(.+)/,ao+"$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(ay(t)-1-n>6)switch(am(t,n+1)){case 109:if(45!==am(t,n+4))break;case 102:return ap(t,/(.+:)(.+)-([^]+)/,"$1"+ao+"$2-$3$1"+ai+(108==am(t,n+3)?"$3":"$2-$3"))+t;case 115:return~ag(t,"stretch",0)?e(ap(t,"stretch","fill-available"),n,r)+t:t}break;case 5152:case 5920:return ap(t,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(e,n,r,i,o,s,a){return ar+n+":"+r+a+(i?ar+n+"-span:"+(o?s:s-r)+a:"")+t});case 4949:if(121===am(t,n+6))return ap(t,":",":"+ao)+t;break;case 6444:switch(am(t,45===am(t,14)?18:11)){case 120:return ap(t,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+ao+(45===am(t,14)?"inline-":"")+"box$3$1"+ao+"$2$3$1"+ar+"$2box$3")+t;case 100:return ap(t,":",":"+ar)+t}break;case 5719:case 2647:case 2135:case 3927:case 2391:return ap(t,"scroll-","scroll-snap-")+t}return t}(e.value,e.length,n);return;case ad:return aA([aE(e,{value:ap(e.value,"@","@"+ao)})],r);case aa:if(e.length){var i,o;return i=n=e.props,o=function(t){switch(af(t,r=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":aR(aE(e,{props:[ap(t,/:(read-\w+)/,":"+ai+"$1")]})),aR(aE(e,{props:[t]})),ah(e,{props:ab(n,r)});break;case"::placeholder":aR(aE(e,{props:[ap(t,/:(plac\w+)/,":"+ao+"input-$1")]})),aR(aE(e,{props:[ap(t,/:(plac\w+)/,":"+ai+"$1")]})),aR(aE(e,{props:[ap(t,/:(plac\w+)/,ar+"input-$1")]})),aR(aE(e,{props:[t]})),ah(e,{props:ab(n,r)})}return""},i.map(o).join("")}}}function aP(e,t,n,r,i,o,s,a,l,d,u,c){for(var h=i-1,f=0===i?o:[""],p=f.length,g=0,m=0,v=0;g<r;++g)for(var y=0,w=av(e,h+1,h=au(m=s[g])),b=e;y<p;++y)(b=(m>0?f[y]+" "+w:ap(w,/&\f/g,f[y])).trim())&&(l[v++]=b);return aS(e,t,n,0===i?aa:a,l,d,u,c)}function aO(e,t,n,r,i){return aS(e,t,n,al,av(e,0,r),av(e,r+1,-1),r,i)}let aB=void 0!==an.default&&void 0!==an.default.env&&(an.default.env.REACT_APP_SC_ATTR||an.default.env.SC_ATTR)||"data-styled",aW="active",aN="data-styled-version",az="6.4.3",aD="/*!sc*/\n",aF="u">typeof window&&"u">typeof document;function aZ(e){if(void 0!==an.default&&void 0!==an.default.env){let t=an.default.env[e];if(void 0!==t&&""!==t)return"false"!==t}}let aU=!!("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:null!=(T=null!=(A=aZ("REACT_APP_SC_DISABLE_SPEEDY"))?A:aZ("SC_DISABLE_SPEEDY"))?T:void 0!==an.default&&void 0!==an.default.env&&!1),aq="sc-keyframes-";function aG(e,...t){return Error(`An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#${e} for more information.${t.length>0?` Args: ${t.join(", ")}`:""}`)}let aY=new Map,aX=new Map,aK=1,aJ=e=>{if(aY.has(e))return aY.get(e);for(;aX.has(aK);)aK++;let t=aK++;return aY.set(e,t),aX.set(t,e),t},aQ=e=>aX.get(e),a1=(e,t)=>{aK=t+1,aY.set(e,t),aX.set(t,e)},a0=Object.freeze([]),a5=Object.freeze({}),a2=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,a3=/(^-|-$)/g;function a6(e){return e.replace(a2,"-").replace(a3,"")}let a4=/(a)(d)/gi,a8=e=>String.fromCharCode(e+(e>25?39:97));function a9(e){let t,n="";for(t=Math.abs(e);t>52;t=t/52|0)n=a8(t%52)+n;return(a8(t%52)+n).replace(a4,"$1-$2")}let a7=(e,t)=>{let n=t.length;for(;n;)e=33*e^t.charCodeAt(--n);return e};function le(e){return a9(a7(5381,e)>>>0)}function lt(e){return"string"==typeof e}let ln=Symbol.for("react.memo"),lr=Symbol.for("react.forward_ref"),li={contextType:!0,defaultProps:!0,displayName:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,propTypes:!0,type:!0},lo={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},ls={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},la={[lr]:{$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},[ln]:ls};
3function ll(e){return("type"in e&&e.type.$$typeof)===ln?ls:"$$typeof"in e?la[e.$$typeof]:li}let ld=Object.defineProperty,lu=Object.getOwnPropertyNames,lc=Object.getOwnPropertySymbols,lh=Object.getOwnPropertyDescriptor,lf=Object.getPrototypeOf,lp=Object.prototype;function lg(e){return"function"==typeof e}let lm=Symbol.for("react.forward_ref");function lv(e){return null!=e&&("object"==typeof e||"function"==typeof e)&&e.$$typeof===lm&&"styledComponentId"in e}function ly(e,t){return e&&t?e+" "+t:e||t||""}function lw(e,t){return e.join(t||"")}function lb(e){return null!==e&&"object"==typeof e&&e.constructor.name===Object.name&&!("props"in e&&e.$$typeof)}function lx(e,t){Object.defineProperty(e,"toString",{value:t})}let lC=class{constructor(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e,this._cGroup=0,this._cIndex=0}indexOfGroup(e){if(e===this._cGroup)return this._cIndex;let t=this._cIndex;if(e>this._cGroup)for(let n=this._cGroup;n<e;n++)t+=this.groupSizes[n];else for(let n=this._cGroup-1;n>=e;n--)t-=this.groupSizes[n];return this._cGroup=e,this._cIndex=t,t}insertRules(e,t){if(e>=this.groupSizes.length){let t=this.groupSizes,n=t.length,r=n;for(;e>=r;)if((r<<=1)<0)throw aG(16,`${e}`);this.groupSizes=new Uint32Array(r),this.groupSizes.set(t),this.length=r;for(let e=n;e<r;e++)this.groupSizes[e]=0}let n=this.indexOfGroup(e+1),r=0;for(let i=0,o=t.length;i<o;i++)this.tag.insertRule(n,t[i])&&(this.groupSizes[e]++,n++,r++);r>0&&this._cGroup>e&&(this._cIndex+=r)}clearGroup(e){if(e<this.length){let t=this.groupSizes[e],n=this.indexOfGroup(e),r=n+t;this.groupSizes[e]=0;for(let e=n;e<r;e++)this.tag.deleteRule(n);t>0&&this._cGroup>e&&(this._cIndex-=t)}}getGroup(e){let t="";if(e>=this.length||0===this.groupSizes[e])return t;let n=this.groupSizes[e],r=this.indexOfGroup(e),i=r+n;for(let e=r;e<i;e++)t+=this.tag.getRule(e)+aD;return t}},lk=`style[${aB}][${aN}="${az}"]`,lj=RegExp(`^${aB}\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)`),lM=e=>"u">typeof ShadowRoot&&e instanceof ShadowRoot||"host"in e&&11===e.nodeType,lL=e=>{if(!e)return document;if(lM(e))return e;if("getRootNode"in e){let t=e.getRootNode();if(lM(t))return t}return document},lS=(e,t,n)=>{let r,i=n.split(",");for(let n=0,o=i.length;n<o;n++)(r=i[n])&&e.registerName(t,r)},lE=(e,t)=>{var n;let r=(null!=(n=t.textContent)?n:"").split(aD),i=[];for(let t=0,n=r.length;t<n;t++){let n=r[t].trim();if(!n)continue;let o=n.match(lj);if(o){let t=0|parseInt(o[1],10),n=o[2];0!==t&&(a1(n,t),lS(e,n,o[3]),e.getTag().insertRules(t,i)),i.length=0}else i.push(n)}},lR=e=>{let t=lL(e.options.target).querySelectorAll(lk);for(let n=0,r=t.length;n<r;n++){let r=t[n];r&&r.getAttribute(aB)!==aW&&(lE(e,r),r.parentNode&&r.parentNode.removeChild(r))}},lV=!1,l_=(e,t)=>{let n,r=document.head,i=e||r,o=document.createElement("style"),s=(n=Array.from(i.querySelectorAll(`style[${aB}]`)))[n.length-1],a=void 0!==s?s.nextSibling:null;o.setAttribute(aB,aW),o.setAttribute(aN,az);let l=t||function(){if(!1!==lV)return lV;if("u">typeof document){let e=document.head.querySelector('meta[property="csp-nonce"]');if(e)return lV=e.nonce||e.getAttribute("content")||void 0;let t=document.head.querySelector('meta[name="sc-nonce"]');if(t)return lV=t.getAttribute("content")||void 0}return lV="u">typeof __webpack_nonce__?__webpack_nonce__:void 0}();return l&&o.setAttribute("nonce",l),i.insertBefore(o,a),o},lH=class{constructor(e,t){this.element=l_(e,t),this.element.appendChild(document.createTextNode("")),this.sheet=(e=>{var t;if(e.sheet)return e.sheet;let n=null!=(t=e.getRootNode().styleSheets)?t:document.styleSheets;for(let t=0,r=n.length;t<r;t++){let r=n[t];if(r.ownerNode===e)return r}throw aG(17)})(this.element),this.length=0}insertRule(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return!1}}deleteRule(e){this.sheet.deleteRule(e),this.length--}getRule(e){let t=this.sheet.cssRules[e];return t&&t.cssText?t.cssText:""}},l$=class{constructor(e,t){this.element=l_(e,t),this.nodes=this.element.childNodes,this.length=0}insertRule(e,t){if(e<=this.length&&e>=0){let n=document.createTextNode(t);return this.element.insertBefore(n,this.nodes[e]||null),this.length++,!0}return!1}deleteRule(e){this.element.removeChild(this.nodes[e]),this.length--}getRule(e){return e<this.length?this.nodes[e].textContent:""}},lA=aF,lT={isServer:!aF,useCSSOMInjection:!aU};class lI{static registerId(e){return aJ(e)}constructor(e=a5,t={},n){this.options=Object.assign(Object.assign({},lT),e),this.gs=t,this.keyframeIds=new Set,this.names=new Map(n),this.server=!!e.isServer,!this.server&&aF&&lA&&(lA=!1,lR(this)),lx(this,()=>(e=>{let t=e.getTag(),{length:n}=t,r="";for(let i=0;i<n;i++){let n=aQ(i);if(void 0===n)continue;let o=e.names.get(n);if(void 0===o||!o.size)continue;let s=t.getGroup(i);if(0===s.length)continue;let a=aB+".g"+i+'[id="'+n+'"]',l="";for(let e of o)e.length>0&&(l+=e+",");r+=s+a+'{content:"'+l+'"}'+aD}return r})(this))}rehydrate(){!this.server&&aF&&lR(this)}reconstructWithOptions(e,t=!0){let n=new lI(Object.assign(Object.assign({},this.options),e),this.gs,t&&this.names||void 0);return n.keyframeIds=new Set(this.keyframeIds),!this.server&&aF&&e.target!==this.options.target&&lL(this.options.target)!==lL(e.target)&&lR(n),n}allocateGSInstance(e){return this.gs[e]=(this.gs[e]||0)+1}getTag(){return this.tag||(this.tag=new lC((({useCSSOMInjection:e,target:t,nonce:n})=>e?new lH(t,n):new l$(t,n))(this.options)))}hasNameForId(e,t){var n,r;return null!=(r=null==(n=this.names.get(e))?void 0:n.has(t))&&r}registerName(e,t){aJ(e),e.startsWith(aq)&&this.keyframeIds.add(e);let n=this.names.get(e);n?n.add(t):this.names.set(e,new Set([t]))}
3insertRules(e,t,n){this.registerName(e,t),this.getTag().insertRules(aJ(e),n)}clearNames(e){this.names.has(e)&&this.names.get(e).clear()}clearRules(e){this.getTag().clearGroup(aJ(e)),this.clearNames(e)}clearTag(){this.tag=void 0}}let lP=new WeakSet,lO={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexShrink:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale: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};function lB(e){if(45===e.charCodeAt(0)&&45===e.charCodeAt(1))return e;let t="";for(let n=0;n<e.length;n++){let r=e.charCodeAt(n);t+=r>=65&&r<=90?"-"+String.fromCharCode(r+32):e[n]}return t.startsWith("ms-")?"-"+t:t}let lW=Symbol.for("sc-keyframes");function lN(e){return lg(e)&&!(e.prototype&&e.prototype.isReactComponent)}let lz=e=>null==e||!1===e||""===e,lD=Symbol.for("react.client.reference");function lF(e){return e.$$typeof===lD}function lZ(e,t,n,r,i=[]){if(lz(e))return i;let o=typeof e;if("string"===o)return i.push(e),i;if("function"===o)return lF(e)?i:lN(e)&&t?lZ(e(t),t,n,r,i):(i.push(e),i);if(Array.isArray(e)){for(let o=0;o<e.length;o++)lZ(e[o],t,n,r,i);return i}return lv(e)?i.push(`.${e.styledComponentId}`):"object"==typeof e&&null!==e&&lW in e?n?(e.inject(n,r),i.push(e.getName(r))):i.push(e):lF(e)||(lb(e)?e.toString!==Object.prototype.toString?i.push(e.toString()):function e(t,n){for(let r in t){let i=t[r];t.hasOwnProperty(r)&&!lz(i)&&(Array.isArray(i)&&lP.has(i)||lg(i)?n.push(lB(r)+":",i,";"):lb(i)?(n.push(r+" {"),e(i,n),n.push("}")):n.push(lB(r)+": "+(null==i||"boolean"==typeof i||""===i?"":"number"!=typeof i||0===i||r in lO||r.startsWith("--")?String(i).trim():i+"px")+";"))}}(e,i):i.push(e.toString())),i}let lU=a7(5381,az);class lq{constructor(e,t,n){this.rules=e,this.componentId=t,this.baseHash=a7(lU,t),this.baseStyle=n,lI.registerId(t)}generateAndInjectStyles(e,t,n){let r=this.baseStyle?this.baseStyle.generateAndInjectStyles(e,t,n):"";{let i="";for(let r=0;r<this.rules.length;r++){let o=this.rules[r];if("string"==typeof o)i+=o;else if(o)if(lN(o)){let r=o(e);"string"==typeof r?i+=r:null!=r&&!1!==r&&(i+=lw(lZ(r,e,t,n)))}else i+=lw(lZ(o,e,t,n))}if(i){this.dynamicNameCache||(this.dynamicNameCache=new Map);let e=n.hash?n.hash+i:i,o=this.dynamicNameCache.get(e);if(!o){if(o=a9(a7(a7(this.baseHash,n.hash),i)>>>0),this.dynamicNameCache.size>=200){let e=this.dynamicNameCache.keys().next().value;void 0!==e&&this.dynamicNameCache.delete(e)}this.dynamicNameCache.set(e,o)}if(!t.hasNameForId(this.componentId,o)){let e=n(i,"."+o,void 0,this.componentId);t.insertRules(this.componentId,o,e)}r=ly(r,o)}}return r}}let lG=/&/g;function lY(e,t){let n=0;for(;--t>=0&&92===e.charCodeAt(t);)n++;return!(1&~n)}function lX(e){let t=e.length,n="",r=0,i=0,o=0,s=!1,a=!1;for(let l=0;l<t;l++){let d=e.charCodeAt(l);if(0!==o||s||47!==d||42!==e.charCodeAt(l+1))if(s)42===d&&47===e.charCodeAt(l+1)&&(s=!1,l++);else if(34!==d&&39!==d||lY(e,l)){if(0===o)if(123===d)i++;else if(125===d){if(--i<0){a=!0;let n=l+1;for(;n<t;){let t=e.charCodeAt(n);if(59===t||10===t)break;n++}n<t&&59===e.charCodeAt(n)&&n++,i=0,l=n-1,r=n;continue}0===i&&(n+=e.substring(r,l+1),r=l+1)}else 59===d&&0===i&&(n+=e.substring(r,l+1),r=l+1)}else 0===o?o=d:o===d&&(o=0);else s=!0,l++}return a||0!==i||0!==o?(r<t&&0===i&&0===o&&(n+=e.substring(r)),n):e}let lK=new lI,lJ=function({options:e=a5,plugins:t=a0}=a5){var n,r,i;let o,s,a,l=(e,t,n)=>n.startsWith(s)&&n.endsWith(s)&&n.replaceAll(s,"").length>0?`.${o}`:e,d=t.slice();d.push(e=>{e.type===aa&&e.value.includes("&")&&(a||(a=RegExp(`\\${s}\\b`,"g")),e.props[0]=e.props[0].replace(lG,s).replace(a,l))}),e.prefix&&d.push(aI),d.push(aT);let u=[],c=(i=(r=d.concat((n=e=>u.push(e),function(e){!e.root&&(e=e.return)&&n(e)}))).length,function(e,t,n,o){for(var s="",a=0;a<i;a++)s+=r[a](e,t,n,o)||"";return s}),h=(t,n="",r="",i="&")=>{var l,d,h;o=i,s=n,a=void 0;let f=function(e){let t=-1!==e.indexOf("//"),n=-1!==e.indexOf("}");if(!t&&!n)return e;if(!t)return lX(e);let r=e.length,i="",o=0,s=0,a=0,l=0,d=0,u=!1;for(;s<r;){let t=e.charCodeAt(s);if(34!==t&&39!==t||lY(e,s))if(0===a)if(47===t&&s+1<r&&42===e.charCodeAt(s+1)){for(s+=2;s+1<r&&(42!==e.charCodeAt(s)||47!==e.charCodeAt(s+1));)s++;s+=2}else if(40!==t)if(41!==t)if(l>0)s++;else if(42===t&&s+1<r&&47===e.charCodeAt(s+1))i+=e.substring(o,s),s+=2,o=s,u=!0;else if(47===t&&s+1<r&&47===e.charCodeAt(s+1)){for(i+=e.substring(o,s);s<r&&10!==e.charCodeAt(s);)s++;o=s,u=!0}else 123===t?d++:125===t&&d--,s++;else l>0&&l--,s++;else l++,s++;else s++;
3else 0===a?a=t:a===t&&(a=0),s++}return u?(o<r&&(i+=e.substring(o)),0===d?i:lX(i)):0===d?e:lX(e)}(t),p=(h=function e(t,n,r,i,o,s,a,l,d){for(var u,c,h,f,p=0,g=0,m=a,v=0,y=0,w=0,b=1,x=1,C=1,k=0,j="",M=o,L=s,S=i,E=j;x;)switch(w=k,k=aV()){case 40:if(108!=w&&58==am(E,m-1)){-1!=ag(E+=ap(a$(k),"&","&\f"),"&\f",au(p?l[p-1]:0))&&(C=-1);break}case 34:case 39:case 91:E+=a$(k);break;case 9:case 10:case 13:case 32:E+=function(e){for(;aM=a_();)if(aM<33)aV();else break;return aH(e)>2||aH(aM)>3?"":" "}(w);break;case 92:E+=function(e,t){for(var n;--t&&aV()&&!(aM<48)&&!(aM>102)&&(!(aM>57)||!(aM<65))&&(!(aM>70)||!(aM<97)););return n=aj+(t<6&&32==a_()&&32==aV()),av(aL,e,n)}(aj-1,7);continue;case 47:switch(a_()){case 42:case 47:aw((u=function(e,t){for(;aV();)if(e+aM===57)break;else if(e+aM===84&&47===a_())break;return"/*"+av(aL,t,aj-1)+"*"+ac(47===e?e:aV())}(aV(),aj),c=n,h=r,f=d,aS(u,c,h,as,ac(aM),av(u,2,-2),0,f)),d),(5==aH(w||1)||5==aH(a_()||1))&&ay(E)&&" "!==av(E,-1,void 0)&&(E+=" ");break;default:E+="/"}break;case 123*b:l[p++]=ay(E)*C;case 125*b:case 59:case 0:switch(k){case 0:case 125:x=0;case 59+g:-1==C&&(E=ap(E,/\f/g,"")),y>0&&(ay(E)-m||0===b&&47===w)&&aw(y>32?aO(E+";",i,r,m-1,d):aO(ap(E," ","")+";",i,r,m-2,d),d);break;case 59:E+=";";default:if(aw(S=aP(E,n,r,p,g,o,l,j,M=[],L=[],m,s),s),123===k)if(0===g)e(E,n,S,S,M,s,m,l,L);else{switch(v){case 99:if(110===am(E,3))break;case 108:if(97===am(E,2))break;default:g=0;case 100:case 109:case 115:}g?e(t,S,S,i&&aw(aP(t,S,S,0,0,o,l,j,o,M=[],m,L),L),o,L,m,l,i?M:L):e(E,S,S,S,[""],L,0,l,L)}}p=g=y=0,b=C=1,j=E="",m=a;break;case 58:m=1+ay(E),y=w;default:if(b<1){if(123==k)--b;else if(125==k&&0==b++&&125==(aM=aj>0?am(aL,--aj):0,aC--,10===aM&&(aC=1,ax--),aM))continue}switch(E+=ac(k),k*b){case 38:C=g>0?1:(E+="\f",-1);break;case 44:l[p++]=(ay(E)-1)*C,C=1;break;case 64:45===a_()&&(E+=a$(aV())),v=a_(),g=m=ay(j=E+=function(e){for(;!aH(a_());)aV();return av(aL,e,aj)}(aj)),k++;break;case 45:45===w&&2==ay(E)&&(b=0)}}return s}("",null,null,null,[""],(d=l=r||n?r+" "+n+" { "+f+" }":f,ax=aC=1,ak=ay(aL=d),aj=0,l=[]),0,[0],l),aL="",h);return e.namespace&&(p=function e(t,n){let r=n+" ",i=","+r;for(let o=0;o<t.length;o++){let s=t[o];if("rule"===s.type){s.value=(r+s.value).replaceAll(",",i);let e=s.props,t=[];for(let n=0;n<e.length;n++)t[n]=r+e[n];s.props=t}Array.isArray(s.children)&&"@keyframes"!==s.type&&e(s.children,n)}return t}(p,e.namespace)),u=[],aA(p,c),u},f=5381;for(let e=0;e<t.length;e++)t[e].name||aG(15),f=a7(f,t[e].name);return(null==e?void 0:e.namespace)&&(f=a7(f,e.namespace)),(null==e?void 0:e.prefix)&&(f=a7(f,"p")),h.hash=5381!==f?f.toString():"",h}(),lQ=np.default.createContext({shouldForwardProp:void 0,styleSheet:lK,stylis:lJ,stylisPlugins:void 0});lQ.Consumer;let l1=np.default.createContext(void 0);function l0(e){let t=np.default.useContext(l1),n=np.default.useMemo(()=>(function(e,t){if(!e)throw aG(14);if(lg(e))return e(t);if(Array.isArray(e)||"object"!=typeof e)throw aG(8);return t?Object.assign(Object.assign({},t),e):e})(e.theme,t),[e.theme,t]);return e.children?np.default.createElement(l1.Provider,{value:n},e.children):null}l1.Consumer;let l5=Object.prototype.hasOwnProperty,l2={};function l3(e,t,n){var r,i;let o,s,a=lv(e),l=!lt(e),{attrs:d=a0,componentId:u=(r=t.displayName,i=t.parentComponentId,l2[o="string"!=typeof r?"sc":a6(r)]=(l2[o]||0)+1,s=o+"-"+le(az+o+l2[o]),i?i+"-"+s:s),displayName:c=lt(e)?`styled.${e}`:`Styled(${e.displayName||e.name||"Component"})`}=t,h=t.displayName&&t.componentId?a6(t.displayName)+"-"+t.componentId:t.componentId||u,f=a&&e.attrs?e.attrs.concat(d).filter(Boolean):d,{shouldForwardProp:p}=t;if(a&&e.shouldForwardProp){let n=e.shouldForwardProp;if(t.shouldForwardProp){let e=t.shouldForwardProp;p=(t,r)=>n(t,r)&&e(t,r)}else p=n}let g=new lq(n,h,a?e.componentStyle:void 0);function m(e,t){return function(e,t,n){let r,i,{attrs:o,componentStyle:s,defaultProps:a,foldedComponentIds:l,styledComponentId:d,target:u}=e,c=np.default.useContext(l1),h=np.default.useContext(lQ),f=e.shouldForwardProp||h.shouldForwardProp,p=function(e,t,n=a5){return e.theme!==n.theme&&e.theme||t||n.theme}(t,c,a)||a5;{let e=np.default.useRef(null),n=e.current;if(null!==n&&n[1]===p&&n[2]===h.styleSheet&&n[3]===h.stylis&&n[7]===s&&function(e,t,n){let r=0;for(let n in t)if(l5.call(t,n)&&(r++,e[n]!==t[n]))return!1;return r===n}(n[0],t,n[4]))r=n[5],i=n[6];else{var g,m,v;r=function(e,t,n){let r=Object.assign(Object.assign({},t),{className:void 0,theme:n}),i=e.length>1;for(let n=0;n<e.length;n++){let o=e[n],s=lg(o)?o(i?Object.assign({},r):r):o;for(let e in s)"className"===e?r.className=ly(r.className,s[e]):"style"===e?r.style=Object.assign(Object.assign({},r.style),s[e]):e in t&&void 0===t[e]||(r[e]=s[e])}return"className"in t&&"string"==typeof t.className&&(r.className=ly(r.className,t.className)),r}(o,t,p),g=r,m=h.styleSheet,v=h.stylis,i=s.generateAndInjectStyles(g,m,v);let n=0;for(let e in t)l5.call(t,e)&&n++;e.current=[t,p,h.styleSheet,h.stylis,n,r,i,s]}}let y=r.as||u,w=function(e,t,n,r){let i={};for(let o in e)void 0===e[o]||"$"===o[0]||"as"===o||"theme"===o&&e.theme===n||("forwardedAs"===o?i.as=e.forwardedAs:r&&!r(o,t)||(i[o]=e[o]));return i}(r,y,p,f),b=ly(l,d);return i&&(b+=" "+i),r.className&&(b+=" "+r.className),w[lt(y)&&y.includes("-")?"class":"className"]=b,n&&(w.ref=n),(0,np.createElement)(y,w)}(v,e,t)}m.displayName=c;let v=np.default.forwardRef(m);return v.attrs=f,v.componentStyle=g,v.displayName=c,v.shouldForwardProp=p,v.foldedComponentIds=a?ly(e.foldedComponentIds,e.styledComponentId):"",v.styledComponentId=h,v.target=a?e.target:e,Object.defineProperty(v,"defaultProps",{get(){return this._foldedDefaultProps},set(t){this._foldedDefaultProps=a?function(e,...t){for(let n of t)!function e(t,n,r=!1){if(!r&&!lb(t)&&!Array.isArray(t))return n;if(Array.isArray(n))for(let r=0;r<n.length;r++)t[r]=e(t[r],n[r]);else if(lb(n))for(let r in n)t[r]=e(t[r],n[r]);return t}(e,n,!0);return e}({},e.defaultProps,t):t}}),lx(v,()=>`.${v.styledComponentId}`),l&&function e(t,n,r){if("string"!=typeof n){let i=lf(n);i&&i!==lp&&e(t,i,r);let o=lu(n).concat(lc(n)),s=ll(t),a=ll(n);for(let e=0;e<o.length;++e){let i=o[e];if(!(i in lo||r&&r[i]||a&&i in a||s&&i in s)){let e=lh(n,i);try{ld(t,i,e)}catch(e){}}}}return t}(v,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),v}var l6=new Set(["a","abbr","address","area","article","aside","audio","b","bdi","bdo","blockquote","body","button","br","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","label","legend","li","main","map","mark","menu","meter","nav","object","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","slot","small","span","strong","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","switch","symbol","text","textPath","tspan","use"]);function l4(e,t){let n=[e[0]];for(let r=0,i=t.length;r<i;r+=1)n.push(t[r],e[r+1]);return n}let l8=e=>(lP.add(e),e);function l9(e,...t){return lg(e)||lb(e)?l8(lZ(l4(a0,[e,...t]))):0===t.length&&1===e.length&&"string"==typeof e[0]?lZ(e):l8(lZ(l4(e,t)))}let l7=e=>(function e(t,n,r=a5){if(!n)throw aG(1,n);let i=(e,...i)=>t(n,r,l9(e,...i));return i.attrs=i=>e(t,n,Object.assign(Object.assign({}
3,r),{attrs:Array.prototype.concat(r.attrs,i).filter(Boolean)})),i.withConfig=i=>e(t,n,Object.assign(Object.assign({},r),i)),i})(l3,e);l6.forEach(e=>{l7[e]=l7(e)});class de{constructor(e,t){this[I]=!0,this.inject=(e,t=lJ)=>{let n=this.getName(t);if(!e.hasNameForId(this.id,n)){let r=t(this.rules,n,"@keyframes");e.insertRules(this.id,n,r)}},this.name=e,this.id=aq+e,this.rules=t,aJ(this.id),lx(this,()=>{throw aG(12,String(this.name))})}getName(e=lJ){return e.hash?this.name+a9(e.hash>>>0):this.name}}function dt(e,...t){let n=lw(l9(e,...t));return new de(le(n),n)}I=lW;let dn=np.default.createContext(!0);function dr(){throw Error("A function wrapped in useEffectEvent can't be called during rendering.")}let di="use"in np.default?()=>{try{return np.default.use(dn)}catch{return!1}}:()=>!1;function ds(e){let t=np.default.useRef(dr);return np.default.useInsertionEffect(()=>{t.current=e},[e]),(...e)=>(di()&&dr(),(0,t.current)(...e))}var da=[],dl="ResizeObserver loop completed with undelivered notifications.",dd=function(){var e;"function"==typeof ErrorEvent?e=new ErrorEvent("error",{message:dl}):((e=document.createEvent("Event")).initEvent("error",!1,!1),e.message=dl),window.dispatchEvent(e)};(E=P||(P={})).BORDER_BOX="border-box",E.CONTENT_BOX="content-box",E.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box";var du=function(e){return Object.freeze(e)},dc=function(e,t){this.inlineSize=e,this.blockSize=t,du(this)},dh=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,du(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}(),df=function(e){return e instanceof SVGElement&&"getBBox"in e},dp=function(e){if(df(e)){var t=e.getBBox(),n=t.width,r=t.height;return!n&&!r}var i=e.offsetWidth,o=e.offsetHeight;return!(i||o||e.getClientRects().length)},dg=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)},dm=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},dv="u">typeof window?window:{},dy=new WeakMap,dw=/auto|scroll/,db=/^tb|vertical/,dx=/msie|trident/i.test(dv.navigator&&dv.navigator.userAgent),dC=function(e){return parseFloat(e||"0")},dk=function(e,t,n){return void 0===e&&(e=0),void 0===t&&(t=0),void 0===n&&(n=!1),new dc((n?t:e)||0,(n?e:t)||0)},dj=du({devicePixelContentBoxSize:dk(),borderBoxSize:dk(),contentBoxSize:dk(),contentRect:new dh(0,0,0,0)}),dM=function(e,t){if(void 0===t&&(t=!1),dy.has(e)&&!t)return dy.get(e);if(dp(e))return dy.set(e,dj),dj;var n=getComputedStyle(e),r=df(e)&&e.ownerSVGElement&&e.getBBox(),i=!dx&&"border-box"===n.boxSizing,o=db.test(n.writingMode||""),s=!r&&dw.test(n.overflowY||""),a=!r&&dw.test(n.overflowX||""),l=r?0:dC(n.paddingTop),d=r?0:dC(n.paddingRight),u=r?0:dC(n.paddingBottom),c=r?0:dC(n.paddingLeft),h=r?0:dC(n.borderTopWidth),f=r?0:dC(n.borderRightWidth),p=r?0:dC(n.borderBottomWidth),g=r?0:dC(n.borderLeftWidth),m=c+d,v=l+u,y=g+f,w=h+p,b=a?e.offsetHeight-w-e.clientHeight:0,x=s?e.offsetWidth-y-e.clientWidth:0,C=r?r.width:dC(n.width)-(i?m+y:0)-x,k=r?r.height:dC(n.height)-(i?v+w:0)-b,j=C+m+x+y,M=k+v+b+w,L=du({devicePixelContentBoxSize:dk(Math.round(C*devicePixelRatio),Math.round(k*devicePixelRatio),o),borderBoxSize:dk(j,M,o),contentBoxSize:dk(C,k,o),contentRect:new dh(c,l,C,k)});return dy.set(e,L),L},dL=function(e,t,n){var r=dM(e,n),i=r.borderBoxSize,o=r.contentBoxSize,s=r.devicePixelContentBoxSize;switch(t){case P.DEVICE_PIXEL_CONTENT_BOX:return s;case P.BORDER_BOX:return i;default:return o}},dS=function(e){var t=dM(e);this.target=e,this.contentRect=t.contentRect,this.borderBoxSize=du([t.borderBoxSize]),this.contentBoxSize=du([t.contentBoxSize]),this.devicePixelContentBoxSize=du([t.devicePixelContentBoxSize])},dE=function(e){if(dp(e))return 1/0;for(var t=0,n=e.parentNode;n;)t+=1,n=n.parentNode;return t},dR=function(){var e=1/0,t=[];
3da.forEach(function(n){if(0!==n.activeTargets.length){var r=[];n.activeTargets.forEach(function(t){var n=new dS(t.target),i=dE(t.target);r.push(n),t.lastReportedSize=dL(t.target,t.observedBox),i<e&&(e=i)}),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},dV=function(e){da.forEach(function(t){t.activeTargets.splice(0,t.activeTargets.length),t.skippedTargets.splice(0,t.skippedTargets.length),t.observationTargets.forEach(function(n){n.isActive()&&(dE(n.target)>e?t.activeTargets.push(n):t.skippedTargets.push(n))})})},d_=function(){var e=0;for(dV(0);da.some(function(e){return e.activeTargets.length>0});)dV(e=dR());return da.some(function(e){return e.skippedTargets.length>0})&&dd(),e>0},dH=[],d$=function(e){if(!O){var t=0,n=document.createTextNode("");new MutationObserver(function(){return dH.splice(0).forEach(function(e){return e()})}).observe(n,{characterData:!0}),O=function(){n.textContent="".concat(t?t--:t++)}}dH.push(e),O()},dA=function(e){d$(function(){requestAnimationFrame(e)})},dT=0,dI={attributes:!0,characterData:!0,childList:!0,subtree:!0},dP=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],dO=function(e){return void 0===e&&(e=0),Date.now()+e},dB=!1,dW=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),!dB){dB=!0;var n=dO(e);dA(function(){var r=!1;try{r=d_()}finally{if(dB=!1,e=n-dO(),!dT)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,dI)};document.body?t():dv.addEventListener("DOMContentLoaded",t)},e.prototype.start=function(){var e=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),dP.forEach(function(t){return dv.addEventListener(t,e.listener,!0)}))},e.prototype.stop=function(){var e=this;this.stopped||(this.observer&&this.observer.disconnect(),dP.forEach(function(t){return dv.removeEventListener(t,e.listener,!0)}),this.stopped=!0)},e}()),dN=function(e){!dT&&e>0&&dW.start(),(dT+=e)||dW.stop()},dz=function(){function e(e,t){this.target=e,this.observedBox=t||P.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return e.prototype.isActive=function(){var e,t=dL(this.target,this.observedBox,!0);return df(e=this.target)||dm(e)||"inline"!==getComputedStyle(e).display||(this.lastReportedSize=t),this.lastReportedSize.inlineSize!==t.inlineSize||this.lastReportedSize.blockSize!==t.blockSize},e}(),dD=function(e,t){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=e,this.callback=t},dF=new WeakMap,dZ=function(e,t){for(var n=0;n<e.length;n+=1)if(e[n].target===t)return n;return -1},dU=function(){function e(){}return e.connect=function(e,t){var n=new dD(e,t);dF.set(e,n)},e.observe=function(e,t,n){var r=dF.get(e),i=0===r.observationTargets.length;0>dZ(r.observationTargets,t)&&(i&&da.push(r),r.observationTargets.push(new dz(t,n&&n.box)),dN(1),dW.schedule())},e.unobserve=function(e,t){var n=dF.get(e),r=dZ(n.observationTargets,t),i=1===n.observationTargets.length;r>=0&&(i&&da.splice(da.indexOf(n),1),n.observationTargets.splice(r,1),dN(-1))},e.disconnect=function(e){var t=this,n=dF.get(e);n.observationTargets.slice().forEach(function(n){return t.unobserve(e,n.target)}),n.activeTargets.splice(0,n.activeTargets.length)},e}(),dq=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.");dU.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(!dg(e))throw TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");dU.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(!dg(e))throw TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");dU.unobserve(this,e)},e.prototype.disconnect=function(){dU.disconnect(this)},e.toString=function(){return"function ResizeObserver () { [polyfill code] }"},e}(),dG=e.i(41645);function dY(e,t,n){let r,{reference:i,floating:o}=e,s=(0,dG.getSideAxis)(t),a=(0,dG.getAlignmentAxis)(t),l=(0,dG.getAxisLength)(a),d=(0,dG.getSide)(t),u="y"===s,c=i.x+i.width/2-o.width/2,h=i.y+i.height/2-o.height/2,f=i[l]/2-o[l]/2;switch(d){case"top":r={x:c,y:i.y-o.height};break;case"bottom":r={x:c,y:i.y+i.height};break;case"right":r={x:i.x+i.width,y:h};break;case"left":r={x:i.x-o.width,y:h};break;default:r={x:i.x,y:i.y}}switch((0,dG.getAlignment)(t)){case"start":r[a]-=f*(n&&u?-1:1);break;case"end":r[a]+=f*(n&&u?-1:1)}return r}async function dX(e,t){var n;void 0===t&&(t={});let{x:r,y:i,platform:o,rects:s,elements:a,strategy:l}=e,{boundary:d="clippingAncestors",rootBoundary:u="viewport",elementContext:c="floating",altBoundary:h=!1,padding:f=0}
vendor: 4,472 bytes, line 3
3=(0,dG.evaluate)(t,e),p=(0,dG.getPaddingObject)(f),g=a[h?"floating"===c?"reference":"floating":c],m=(0,dG.rectToClientRect)(await o.getClippingRect({element:null==(n=await (null==o.isElement?void 0:o.isElement(g)))||n?g:g.contextElement||await (null==o.getDocumentElement?void 0:o.getDocumentElement(a.floating)),boundary:d,rootBoundary:u,strategy:l})),v="floating"===c?{x:r,y:i,width:s.floating.width,height:s.floating.height}:s.reference,y=await (null==o.getOffsetParent?void 0:o.getOffsetParent(a.floating)),w=await (null==o.isElement?void 0:o.isElement(y))&&await (null==o.getScale?void 0:o.getScale(y))||{x:1,y:1},b=(0,dG.rectToClientRect)(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:v,offsetParent:y,strategy:l}):v);return{top:(m.top-b.top+p.top)/w.y,bottom:(b.bottom-m.bottom+p.bottom)/w.y,left:(m.left-b.left+p.left)/w.x,right:(b.right-m.right+p.right)/w.x}}let dK=async(e,t,n)=>{let{placement:r="bottom",strategy:i="absolute",middleware:o=[],platform:s}=n,a=s.detectOverflow?s:{...s,detectOverflow:dX},l=await (null==s.isRTL?void 0:s.isRTL(t)),d=await s.getElementRects({reference:e,floating:t,strategy:i}),{x:u,y:c}=dY(d,r,l),h=r,f=0,p={};for(let n=0;n<o.length;n++){let g=o[n];if(!g)continue;let{name:m,fn:v}=g,{x:y,y:w,data:b,reset:x}=await v({x:u,y:c,initialPlacement:r,placement:h,strategy:i,middlewareData:p,rects:d,platform:a,elements:{reference:e,floating:t}});u=null!=y?y:u,c=null!=w?w:c,p[m]={...p[m],...b},x&&f<50&&(f++,"object"==typeof x&&(x.placement&&(h=x.placement),x.rects&&(d=!0===x.rects?await s.getElementRects({reference:e,floating:t,strategy:i}):x.rects),{x:u,y:c}=dY(d,h,l)),n=-1)}return{x:u,y:c,placement:h,strategy:i,middlewareData:p}};function dJ(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function dQ(e){return dG.sides.some(t=>e[t]>=0)}let d1=new Set(["left","top"]);async function d0(e,t){let{placement:n,platform:r,elements:i}=e,o=await (null==r.isRTL?void 0:r.isRTL(i.floating)),s=(0,dG.getSide)(n),a=(0,dG.getAlignment)(n),l="y"===(0,dG.getSideAxis)(n),d=d1.has(s)?-1:1,u=o&&l?-1:1,c=(0,dG.evaluate)(t,e),{mainAxis:h,crossAxis:f,alignmentAxis:p}="number"==typeof c?{mainAxis:c,crossAxis:0,alignmentAxis:null}:{mainAxis:c.mainAxis||0,crossAxis:c.crossAxis||0,alignmentAxis:c.alignmentAxis};return a&&"number"==typeof p&&(f="end"===a?-1*p:p),l?{x:f*u,y:h*d}:{x:h*d,y:f*u}}function d5(){return"u">typeof window}function d2(e){return d4(e)?(e.nodeName||"").toLowerCase():"#document"}function d3(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function d6(e){var t;return null==(t=(d4(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function d4(e){return!!d5()&&(e instanceof Node||e instanceof d3(e).Node)}function d8(e){return!!d5()&&(e instanceof Element||e instanceof d3(e).Element)}function d9(e){return!!d5()&&(e instanceof HTMLElement||e instanceof d3(e).HTMLElement)}function d7(e){return!(!d5()||"u"<typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof d3(e).ShadowRoot)}function ue(e){let{overflow:t,overflowX:n,overflowY:r,display:i}=ul(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&"inline"!==i&&"contents"!==i}function ut(e){try{if(e.matches(":popover-open"))return!0}catch(e){}try{return e.matches(":modal")}catch(e){return!1}}let un=/transform|translate|scale|rotate|perspective|filter/,ur=/paint|layout|strict|content/,ui=e=>!!e&&"none"!==e;function uo(e){let t=d8(e)?ul(e):e;return ui(t.transform)||ui(t.translate)||ui(t.scale)||ui(t.rotate)||ui(t.perspective)||!us()&&(ui(t.backdropFilter)||ui(t.filter))||un.test(t.willChange||"")||ur.test(t.contain||"")}function us(){return null==n&&(n="u">typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),n}function ua(e){return/^(html|body|#document)$/.test(d2(e))}function ul(e){return d3(e).getComputedStyle(e)}function ud(e){return d8(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function uu(e){if("html"===d2(e))return e;let t=e.assignedSlot||e.parentNode||d7(e)&&e.host||d6(e);return d7(t)?t.host:t}function uc(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);let i=function e(t){let n=uu(t);return ua(n)?t.ownerDocument?t.ownerDocument.body:t.body:d9(n)&&ue(n)?n:e(n)}(e),o=i===(null==(r=e.ownerDocument)?void 0:r.body),s=d3(i);if(!o)return t.concat(i,uc(i,[],n));{let e=uh(s);
3return t.concat(s,s.visualViewport||[],ue(i)?i:[],e&&n?uc(e):[])}}function uh(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function uf(e){let t=ul(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,i=d9(e),o=i?e.offsetWidth:n,s=i?e.offsetHeight:r,a=(0,dG.round)(n)!==o||(0,dG.round)(r)!==s;return a&&(n=o,r=s),{width:n,height:r,$:a}}function up(e){return d8(e)?e:e.contextElement}function ug(e){let t=up(e);if(!d9(t))return(0,dG.createCoords)(1);let n=t.getBoundingClientRect(),{width:r,height:i,$:o}=uf(t),s=(o?(0,dG.round)(n.width):n.width)/r,a=(o?(0,dG.round)(n.height):n.height)/i;return s&&Number.isFinite(s)||(s=1),a&&Number.isFinite(a)||(a=1),{x:s,y:a}}let um=(0,dG.createCoords)(0);function uv(e){let t=d3(e);return us()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:um}function uy(e,t,n,r){var i;void 0===t&&(t=!1),void 0===n&&(n=!1);let o=e.getBoundingClientRect(),s=up(e),a=(0,dG.createCoords)(1);t&&(r?d8(r)&&(a=ug(r)):a=ug(e));let l=(void 0===(i=n)&&(i=!1),r&&(!i||r===d3(s))&&i)?uv(s):(0,dG.createCoords)(0),d=(o.left+l.x)/a.x,u=(o.top+l.y)/a.y,c=o.width/a.x,h=o.height/a.y;if(s){let e=d3(s),t=r&&d8(r)?d3(r):r,n=e,i=uh(n);for(;i&&r&&t!==n;){let e=ug(i),t=i.getBoundingClientRect(),r=ul(i),o=t.left+(i.clientLeft+parseFloat(r.paddingLeft))*e.x,s=t.top+(i.clientTop+parseFloat(r.paddingTop))*e.y;d*=e.x,u*=e.y,c*=e.x,h*=e.y,d+=o,u+=s,i=uh(n=d3(i))}}return(0,dG.rectToClientRect)({width:c,height:h,x:d,y:u})}function uw(e,t){let n=ud(e).scrollLeft;return t?t.left+n:uy(d6(e)).left+n}function ub(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-uw(e,n),y:n.top+t.scrollTop}}function ux(e,t,n){var r;let i;if("viewport"===t)i=function(e,t){let n=d3(e),r=d6(e),i=n.visualViewport,o=r.clientWidth,s=r.clientHeight,a=0,l=0;if(i){o=i.width,s=i.height;let e=us();(!e||e&&"fixed"===t)&&(a=i.offsetLeft,l=i.offsetTop)}let d=uw(r);if(d<=0){let e=r.ownerDocument,t=e.body,n=getComputedStyle(t),i="CSS1Compat"===e.compatMode&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,s=Math.abs(r.clientWidth-t.clientWidth-i);s<=25&&(o-=s)}else d<=25&&(o+=d);return{width:o,height:s,x:a,y:l}}(e,n);else if("document"===t){let t,n,o,s,a,l,d;r=d6(e),t=d6(r),n=ud(r),o=r.ownerDocument.body,s=(0,dG.max)(t.scrollWidth,t.clientWidth,o.scrollWidth,o.clientWidth),a=(0,dG.max)(t.scrollHeight,t.clientHeight,o.scrollHeight,o.clientHeight),l=-n.scrollLeft+uw(r),d=-n.scrollTop,"rtl"===ul(o).direction&&(l+=(0,dG.max)(t.clientWidth,o.clientWidth)-s),i={width:s,height:a,x:l,y:d}}else if(d8(t)){let e,r,o,s,a,l;r=(e=uy(t,!0,"fixed"===n)).top+t.clientTop,o=e.left+t.clientLeft,s=d9(t)?ug(t):(0,dG.createCoords)(1),a=t.clientWidth*s.x,l=t.clientHeight*s.y,i={width:a,height:l,x:o*s.x,y:r*s.y}}else{let n=uv(e);i={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return(0,dG.rectToClientRect)(i)}function uC(e){return"static"===ul(e).position}function uk(e,t){if(!d9(e)||"fixed"===ul(e).position)return null;if(t)return t(e);let n=e.offsetParent;return d6(e)===n&&(n=n.ownerDocument.body),n}function uj(e,t){var n;let r=d3(e);if(ut(e))return r;if(!d9(e)){let t=uu(e);for(;t&&!ua(t);){if(d8(t)&&!uC(t))return t;t=uu(t)}return r}let i=uk(e,t);for(;i&&(n=i,/^(table|td|th)$/.test(d2(n)))&&uC(i);)i=uk(i,t);return i&&ua(i)&&uC(i)&&!uo(i)?r:i||function(e){let t=uu(e);for(;d9(t)&&!ua(t);){if(uo(t))return t;if(ut(t))break;t=uu(t)}return null}(e)||r}let uM=async function(e){let t=this.getOffsetParent||uj,n=this.getDimensions,r=await n(e.floating);return{reference:function(e,t,n){let r=d9(t),i=d6(t),o="fixed"===n,s=uy(e,!0,o,t),a={scrollLeft:0,scrollTop:0},l=(0,dG.createCoords)(0);if(r||!r&&!o)if(("body"!==d2(t)||ue(i))&&(a=ud(t)),r){let e=uy(t,!0,o,t);l.x=e.x+t.clientLeft,l.y=e.y+t.clientTop}else i&&(l.x=uw(i));o&&!r&&i&&(l.x=uw(i));let d=!i||r||o?(0,dG.createCoords)(0):ub(i,a);return{x:s.left+a.scrollLeft-l.x-d.x,y:s.top+a.scrollTop-l.y-d.y,width:s.width,height:s.height}}(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},uL={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e,o="fixed"===i,s=d6(r),a=!!t&&ut(t.floating);if(r===s||a&&o)return n;let l={scrollLeft:0,scrollTop:0},d=(0,dG.createCoords)(1),u=(0,dG.createCoords)(0),c=d9(r);if((c||!c&&!o)&&(("body"!==d2(r)||ue(s))&&(l=ud(r)),c)){let e=uy(r);d=ug(r),u.x=e.x+r.clientLeft,u.y=e.y+r.clientTop}let h=!s||c||o?(0,dG.createCoords)(0):ub(s,l);return{width:n.width*d.x,height:n.height*d.y,x:n.x*d.x-l.scrollLeft*d.x+u.x+h.x,y:n.y*d.y-l.scrollTop*d.y+u.y+h.y}},getDocumentElement:d6,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e,o=[..."clippingAncestors"===n?ut(t)?[]:function(e,t){let n=t.get(e);if(n)return n;let r=uc(e,[],!1).filter(e=>d8(e)&&"body"!==d2(e)),i=null,o="fixed"===ul(e).position,s=o?uu(e):e;for(;d8(s)&&!ua(s);){let t=ul(s),n=uo(s);n||"fixed"!==t.position||(i=null),(o?n||i:!(!n&&"static"===t.position&&i&&("absolute"===i.position||"fixed"===i.position)||ue(s)&&!n&&function e(t,n){let r=uu(t);return!(r===n||!d8(r)||ua(r))&&("fixed"===ul(r).position||e(r,n))}(e,s)))?i=t:r=r.filter(e=>e!==s),s=uu(s)}return t.set(e,r),r}(t,this._c):[].concat(n),r],s=ux(t,o[0],i),a=s.top,l=s.right,d=s.bottom,u=s.left;for(let e=1;e<o.length;e++){let n=ux(t,o[e],i);a=(0,dG.max)(n.top,a),l=(0,dG.min)(n.right,l),d=(0,dG.min)(n.bottom,d),u=(0,dG.max)(n.left,u)}return{width:l-u,height:d-a,x:u,y:a}},getOffsetParent:uj,getElementRects:uM,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:n}=uf(e);return{width:t,height:n}},getScale:ug,isElement:d8,isRTL:function(e){return"rtl"===ul(e).direction}};function uS(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function uE(e,t,n,r){let i;void 0===r&&(r={});let{ancestorScroll:o=!0,ancestorResize:s=!0,elementResize:a="function"==typeof ResizeObserver,layoutShift:l="function"==typeof IntersectionObserver,animationFrame:d=!1}=r,u=up(e),c=o||s?[...u?uc(u):[],...t?uc(t):[]]:[];
3c.forEach(e=>{o&&e.addEventListener("scroll",n,{passive:!0}),s&&e.addEventListener("resize",n)});let h=u&&l?function(e,t){let n,r=null,i=d6(e);function o(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return!function s(a,l){void 0===a&&(a=!1),void 0===l&&(l=1),o();let d=e.getBoundingClientRect(),{left:u,top:c,width:h,height:f}=d;if(a||t(),!h||!f)return;let p={rootMargin:-(0,dG.floor)(c)+"px "+-(0,dG.floor)(i.clientWidth-(u+h))+"px "+-(0,dG.floor)(i.clientHeight-(c+f))+"px "+-(0,dG.floor)(u)+"px",threshold:(0,dG.max)(0,(0,dG.min)(1,l))||1},g=!0;function m(t){let r=t[0].intersectionRatio;if(r!==l){if(!g)return s();r?s(!1,r):n=setTimeout(()=>{s(!1,1e-7)},1e3)}1!==r||uS(d,e.getBoundingClientRect())||s(),g=!1}try{r=new IntersectionObserver(m,{...p,root:i.ownerDocument})}catch(e){r=new IntersectionObserver(m,p)}r.observe(e)}(!0),o}(u,n):null,f=-1,p=null;a&&(p=new ResizeObserver(e=>{let[r]=e;r&&r.target===u&&p&&t&&(p.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var e;null==(e=p)||e.observe(t)})),n()}),u&&!d&&p.observe(u),t&&p.observe(t));let g=d?uy(e):null;return d&&function t(){let r=uy(e);g&&!uS(g,r)&&n(),g=r,i=requestAnimationFrame(t)}(),n(),()=>{var e;c.forEach(e=>{o&&e.removeEventListener("scroll",n),s&&e.removeEventListener("resize",n)}),null==h||h(),null==(e=p)||e.disconnect(),p=null,d&&cancelAnimationFrame(i)}}let uR=e=>({name:"arrow",options:e,async fn(t){let{x:n,y:r,placement:i,rects:o,platform:s,elements:a,middlewareData:l}=t,{element:d,padding:u=0}=(0,dG.evaluate)(e,t)||{};if(null==d)return{};let c=(0,dG.getPaddingObject)(u),h={x:n,y:r},f=(0,dG.getAlignmentAxis)(i),p=(0,dG.getAxisLength)(f),g=await s.getDimensions(d),m="y"===f,v=m?"clientHeight":"clientWidth",y=o.reference[p]+o.reference[f]-h[f]-o.floating[p],w=h[f]-o.reference[f],b=await (null==s.getOffsetParent?void 0:s.getOffsetParent(d)),x=b?b[v]:0;x&&await (null==s.isElement?void 0:s.isElement(b))||(x=a.floating[v]||o.floating[p]);let C=x/2-g[p]/2-1,k=(0,dG.min)(c[m?"top":"left"],C),j=(0,dG.min)(c[m?"bottom":"right"],C),M=x-g[p]-j,L=x/2-g[p]/2+(y/2-w/2),S=(0,dG.clamp)(k,L,M),E=!l.arrow&&null!=(0,dG.getAlignment)(i)&&L!==S&&o.reference[p]/2-(L<k?k:j)-g[p]/2<0,R=E?L<k?L-k:L-M:0;return{[f]:h[f]+R,data:{[f]:S,centerOffset:L-S-R,...E&&{alignmentOffset:R}},reset:E}}});var uV="u">typeof document?np.useLayoutEffect:function(){};function u_(e,t){let n,r,i;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(!u_(e[r],t[r]))return!1;return!0}if((n=(i=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!({}).hasOwnProperty.call(t,i[r]))return!1;for(r=n;0!=r--;){let n=i[r];if(("_owner"!==n||!e.$$typeof)&&!u_(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function uH(e){return"u"<typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function u$(e,t){let n=uH(e);return Math.round(t*n)/n}function uA(e){let t=np.useRef(e);return uV(()=>{t.current=e}),t}function uT(e){void 0===e&&(e={});let{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:i,elements:{reference:o,floating:s}={},transform:a=!0,whileElementsMounted:l,open:d}=e,[u,c]=np.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[h,f]=np.useState(r);u_(h,r)||f(r);let[p,g]=np.useState(null),[m,v]=np.useState(null),y=np.useCallback(e=>{e!==C.current&&(C.current=e,g(e))},[]),w=np.useCallback(e=>{e!==k.current&&(k.current=e,v(e))},[]),b=o||p,x=s||m,C=np.useRef(null),k=np.useRef(null),j=np.useRef(u),M=null!=l,L=uA(l),S=uA(i),E=uA(d),R=np.useCallback(()=>{var e,r;let i,o,s;if(!C.current||!k.current)return;let a={placement:t,strategy:n,middleware:h};S.current&&(a.platform=S.current),(e=C.current,r=k.current,i=new Map,s={...(o={platform:uL,...a}).platform,_c:i},dK(e,r,{...o,platform:s})).then(e=>{let t={...e,isPositioned:!1!==E.current};V.current&&!u_(j.current,t)&&(j.current=t,ng.flushSync(()=>{c(t)}))})},[h,t,n,S,E]);uV(()=>{!1===d&&j.current.isPositioned&&(j.current.isPositioned=!1,c(e=>({...e,isPositioned:!1})))},[d]);let V=np.useRef(!1);uV(()=>(V.current=!0,()=>{V.current=!1}),[]),uV(()=>
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 _=np.useMemo(()=>({reference:C,floating:k,setReference:y,setFloating:w}),[y,w]),H=np.useMemo(()=>({reference:b,floating:x}),[b,x]),$=np.useMemo(()=>{let e={position:n,left:0,top:0};if(!H.floating)return e;let t=u$(H.floating,u.x),r=u$(H.floating,u.y);return a?{...e,transform:"translate("+t+"px, "+r+"px)",...uH(H.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}},[n,a,H.floating,u.x,u.y]);return np.useMemo(()=>({...u,update:R,refs:_,elements:H,floatingStyles:$}),[u,R,_,H,$])}let uI=(e,t)=>{var n;let r=(void 0===(n=e)&&(n=0),{name:"offset",options:n,async fn(e){var t,r;let{x:i,y:o,placement:s,middlewareData:a}=e,l=await d0(e,n);return s===(null==(t=a.offset)?void 0:t.placement)&&null!=(r=a.arrow)&&r.alignmentOffset?{}:{x:i+l.x,y:o+l.y,data:{...l,placement:s}}}});return{name:r.name,fn:r.fn,options:[e,t]}},uP=(e,t)=>{var n;let r=(void 0===(n=e)&&(n={}),{name:"shift",options:n,async fn(e){let{x:t,y:r,placement:i,platform:o}=e,{mainAxis:s=!0,crossAxis:a=!1,limiter:l={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...d}=(0,dG.evaluate)(n,e),u={x:t,y:r},c=await o.detectOverflow(e,d),h=(0,dG.getSideAxis)((0,dG.getSide)(i)),f=(0,dG.getOppositeAxis)(h),p=u[f],g=u[h];if(s){let e="y"===f?"top":"left",t="y"===f?"bottom":"right",n=p+c[e],r=p-c[t];p=(0,dG.clamp)(n,p,r)}if(a){let e="y"===h?"top":"left",t="y"===h?"bottom":"right",n=g+c[e],r=g-c[t];g=(0,dG.clamp)(n,g,r)}let m=l.fn({...e,[f]:p,[h]:g});return{...m,data:{x:m.x-t,y:m.y-r,enabled:{[f]:s,[h]:a}}}}});return{name:r.name,fn:r.fn,options:[e,t]}},uO=(e,t)=>{var n;let r=(void 0===(n=e)&&(n={}),{name:"flip",options:n,async fn(e){var t,r,i,o,s;let{placement:a,middlewareData:l,rects:d,initialPlacement:u,platform:c,elements:h}=e,{mainAxis:f=!0,crossAxis:p=!0,fallbackPlacements:g,fallbackStrategy:m="bestFit",fallbackAxisSideDirection:v="none",flipAlignment:y=!0,...w}=(0,dG.evaluate)(n,e);if(null!=(t=l.arrow)&&t.alignmentOffset)return{};let b=(0,dG.getSide)(a),x=(0,dG.getSideAxis)(u),C=(0,dG.getSide)(u)===u,k=await (null==c.isRTL?void 0:c.isRTL(h.floating)),j=g||(C||!y?[(0,dG.getOppositePlacement)(u)]:(0,dG.getExpandedPlacements)(u)),M="none"!==v;!g&&M&&j.push(...(0,dG.getOppositeAxisPlacements)(u,y,v,k));let L=[u,...j],S=await c.detectOverflow(e,w),E=[],R=(null==(r=l.flip)?void 0:r.overflows)||[];if(f&&E.push(S[b]),p){let e=(0,dG.getAlignmentSides)(a,d,k);E.push(S[e[0]],S[e[1]])}if(R=[...R,{placement:a,overflows:E}],!E.every(e=>e<=0)){let e=((null==(i=l.flip)?void 0:i.index)||0)+1,t=L[e];if(t&&("alignment"!==p||x===(0,dG.getSideAxis)(t)||R.every(e=>(0,dG.getSideAxis)(e.placement)!==x||e.overflows[0]>0)))return{data:{index:e,overflows:R},reset:{placement:t}};let n=null==(o=R.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:o.placement;if(!n)switch(m){case"bestFit":{let e=null==(s=R.filter(e=>{if(M){let t=(0,dG.getSideAxis)(e.placement);return t===x||"y"===t}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:s[0];e&&(n=e);break}case"initialPlacement":n=u}if(a!==n)return{reset:{placement:n}}}return{}}});return{name:r.name,fn:r.fn,options:[e,t]}},uB=(e,t)=>{let n={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?uR({element:n.current,padding:r}).fn(t):{}:n?uR({element:n,padding:r}).fn(t):{}}};return{name:n.name,fn:n.fn,options:[e,t]}},uW=(0,np.createContext)({});function uN(e){let t=(0,np.useRef)(null);return null===t.current&&(t.current=e()),t.current}let uz="u">typeof window?np.useLayoutEffect:np.useEffect,uD=(0,np.createContext)(null),uF=e=>"object"==typeof e&&null!==e;function uZ(e){return uF(e)&&"offsetHeight"in e&&!("ownerSVGElement"in e)}var uU=np;let uq=(0,np.createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});function uG(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}class uY extends uU.Component{getSnapshotBeforeUpdate(e){let t=this.props.childRef.current;if(uZ(t)&&e.isPresent&&!this.props.isPresent&&!1!==this.props.pop){let e=t.offsetParent,n=uZ(e)&&e.offsetWidth||0,r=uZ(e)&&e.offsetHeight||0,i=getComputedStyle(t),o=this.props.sizeRef.current;o.height=parseFloat(i.height),o.width=parseFloat(i.width),o.top=t.offsetTop,o.left=t.offsetLeft,o.right=n-o.width-o.left,o.bottom=r-o.height-o.top,o.direction=i.direction}return null}componentDidUpdate(){}render(){return this.props.children}}function uX({children:e,isPresent:t,anchorX:n,anchorY:r,root:i,pop:o}){let s=(0,uU.useId)(),a=(0,uU.useRef)(null),l=(0,uU.useRef)({width:0,height:0,top:0,left:0,right:0,bottom:0,direction:"ltr"}),{nonce:d}=(0,uU.useContext)(uq),u=function(...e){return np.useCallback(function(...e){return t=>{let n=!1,r=e.map(e=>{let r=uG(e,t);return n||"function"!=typeof r||(n=!0),r});if(n)return()=>{for(let t=0;t<r.length;t++){let n=r[t];"function"==typeof n?n():uG(e[t],null)}}}}(...e),e)}(a,e.props?.ref??e?.ref);return(0,uU.useInsertionEffect)(()=>{let{width:e,height:u,top:c,left:h,right:f,bottom:p,direction:g}=l.current;if(t||!1===o||!a.current||!e||!u)return;
3let m="rtl"===g,v="left"===n?m?`right: ${f}`:`left: ${h}`:m?`left: ${h}`:`right: ${f}`,y="bottom"===r?`bottom: ${p}`:`top: ${c}`;a.current.dataset.motionPopId=s;let w=document.createElement("style");d&&(w.nonce=d);let b=i??document.head;return b.appendChild(w),w.sheet&&w.sheet.insertRule(`
4          [data-motion-pop-id="${s}"] {
5            position: absolute !important;
6            width: ${e}px !important;
7            height: ${u}px !important;
8            ${v}px !important;
9            ${y}px !important;
10          }
11        `),()=>{a.current?.removeAttribute("data-motion-pop-id"),b.contains(w)&&b.removeChild(w)}},[t]),(0,W.jsx)(uY,{isPresent:t,childRef:a,sizeRef:l,pop:o,children:!1===o?e:uU.cloneElement(e,{ref:u})})}let uK=({children:e,initial:t,isPresent:n,onExitComplete:r,custom:i,presenceAffectsLayout:o,mode:s,anchorX:a,anchorY:l,root:d})=>{let u=uN(uJ),c=(0,np.useId)(),h=(0,np.useRef)(n),f=(0,np.useRef)(r);uz(()=>{h.current=n,f.current=r});let p=!0,g=(0,np.useMemo)(()=>(p=!1,{id:c,initial:t,isPresent:n,custom:i,onExitComplete:e=>
11{for(let t of(u.set(e,!0),u.values()))if(!t)return;r&&r()},register:e=>(u.set(e,!1),()=>{u.delete(e),h.current||u.size||f.current?.()})}),[n,u,r]);return o&&p&&(g={...g}),(0,np.useMemo)(()=>{u.forEach((e,t)=>u.set(t,!1))},[n]),np.useEffect(()=>{n||u.size||!r||r()},[n]),e=(0,W.jsx)(uX,{pop:"popLayout"===s,isPresent:n,anchorX:a,anchorY:l,root:d,children:e}),(0,W.jsx)(uD.Provider,{value:g,children:e})};function uJ(){return new Map}function uQ(e=!0){let t=(0,np.useContext)(uD);if(null===t)return[!0,null];let{isPresent:n,onExitComplete:r,register:i}=t,o=(0,np.useId)();(0,np.useEffect)(()=>{if(e)return i(o)},[e]);let s=(0,np.useCallback)(()=>e&&r&&r(o),[o,r,e]);return!n&&r?[!1,s]:[!0]}let u1=e=>e.key||"";function u0(e){let t=[];return np.Children.forEach(e,e=>{(0,np.isValidElement)(e)&&t.push(e)}),t}let u5=({children:e,custom:t,initial:n=!0,onExitComplete:r,presenceAffectsLayout:i=!0,mode:o="sync",propagate:s=!1,anchorX:a="left",anchorY:l="top",root:d})=>{let[u,c]=uQ(s),h=(0,np.useMemo)(()=>u0(e),[e]),f=s&&!u?[]:h.map(u1),p=(0,np.useRef)(!0),g=(0,np.useRef)(h),m=uN(()=>new Map),v=(0,np.useRef)(new Set),[y,w]=(0,np.useState)(h),[b,x]=(0,np.useState)(h);uz(()=>{p.current=!1,g.current=h;for(let e=0;e<b.length;e++){let t=u1(b[e]);f.includes(t)?(m.delete(t),v.current.delete(t)):!0!==m.get(t)&&m.set(t,!1)}},[b,f.length,f.join("-")]);let C=[];if(h!==y){let e=[...h];for(let t=0;t<b.length;t++){let n=b[t],r=u1(n);f.includes(r)||(e.splice(t,0,n),C.push(n))}return"wait"===o&&C.length&&(e=C),x(u0(e)),w(h),null}let{forceRender:k}=(0,np.useContext)(uW);return(0,W.jsx)(W.Fragment,{children:b.map(e=>{let y=u1(e),w=(!s||!!u)&&(h===b||f.includes(y));return(0,W.jsx)(uK,{isPresent:w,initial:(!p.current||!!n)&&void 0,custom:t,presenceAffectsLayout:i,mode:o,root:d,onExitComplete:w?void 0:()=>{if(v.current.has(y)||!m.has(y))return;v.current.add(y),m.set(y,!0);let e=!0;m.forEach(t=>{t||(e=!1)}),e&&(k?.(),x(g.current),s&&c?.(),r&&r())},anchorX:a,anchorY:l,children:e},y)})})},u2=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],u3=new Set([...u2,"pathRotation"]),u6=(e,t,n)=>n>t?t:n<e?e:n,u4={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},u8={...u4,transform:e=>u6(0,1,e)},u9={...u4,default:1},u7=e=>Math.round(1e5*e)/1e5,ce=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,ct=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,cn=(e,t)=>n=>!!("string"==typeof n&&ct.test(n)&&n.startsWith(e)||t&&null!=n&&Object.prototype.hasOwnProperty.call(n,t)),cr=(e,t,n)=>r=>{if("string"!=typeof r)return r;let[i,o,s,a]=r.match(ce);return{[e]:parseFloat(i),[t]:parseFloat(o),[n]:parseFloat(s),alpha:void 0!==a?parseFloat(a):1}},ci={...u4,transform:e=>Math.round(u6(0,255,e))},co={test:cn("rgb","red"),parse:cr("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+ci.transform(e)+", "+ci.transform(t)+", "+ci.transform(n)+", "+u7(u8.transform(r))+")"},cs={test:cn("#"),parse:function(e){let t="",n="",r="",i="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),i=e.substring(4,5),t+=t,n+=n,r+=r,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:i?parseInt(i,16)/255:1}},transform:co.transform},ca=e=>({test:t=>"string"==typeof t&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),cl=ca("deg"),cd=ca("%"),cu=ca("px"),cc=ca("vh"),ch=ca("vw"),cf={...cd,parse:e=>cd.parse(e)/100,transform:e=>cd.transform(100*e)},cp={test:cn("hsl","hue"),parse:cr("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+cd.transform(u7(t))+", "+cd.transform(u7(n))+", "+u7(u8.transform(r))+")"},cg={test:e=>co.test(e)||cs.test(e)||cp.test(e),parse:e=>co.test(e)?co.parse(e):cp.test(e)?cp.parse(e):cs.parse(e),transform:e=>"string"==typeof e?e:e.hasOwnProperty("red")?co.transform(e):cp.transform(e),getAnimatableNone:e=>{let t=cg.parse(e);return t.alpha=0,cg.transform(t)}},cm=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,cv="number",cy="color",cw=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function cb(e){let t=e.toString(),n=[],r={color:[],number:[],var:[]},i=[],o=0,s=t.replace(cw,e=>(cg.test(e)?(r.color.push(o),i.push(cy),n.push(cg.parse(e))):e.startsWith("var(")?(r.var.push(o),i.push("var"),n.push(e)):(r.number.push(o),i.push(cv),n.push(parseFloat(e))),++o,"${}")).split("${}");return{values:n,split:s,indexes:r,types:i}}function cx({split:e,types:t}){let n=e.length;return r=>{let i="";for(let o=0;o<n;o++)if(i+=e[o],void 0!==r[o]){let e=t[o];e===cv?i+=u7(r[o]):e===cy?i+=cg.transform(r[o]):i+=r[o]}return i}}let cC={test:function(e){return isNaN(e)&&"string"==typeof e&&(e.match(ce)?.length||0)+(e.match(cm)?.length||0)>0},parse:function(e){return cb(e).values},createTransformer:function(e){return cx(cb(e))},getAnimatableNone:function(e){let t=cb(e);return cx(t)(t.values.map((e,n)=>((e,t)=>"number"==typeof e?t?.trim().endsWith("/")?e:0:"number"==typeof e?0:cg.test(e)?cg.getAnimatableNone(e):e)(e,t.split[n])))}},ck=new Set(["brightness","contrast","saturate","opacity"]);function cj(e){let[t,n]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;let[r]=n.match(ce)||[];if(!r)return e;let i=n.replace(r,""),o=+!!ck.has(t);return r!==n&&(o*=100),t+"("+o+i+")"}let cM=/\b([a-z-]*)\(.*?\)/gu,cL={...cC,getAnimatableNone:e=>{let t=e.match(cM);return t?t.map(cj).join(" "):e}},cS={...cC,getAnimatableNone:e=>{let t=cC.parse(e);return cC.createTransformer(e)(t.map(e=>"number"==typeof e?0:"object"==typeof e?{...e,alpha:1}:e))}},cE={...u4,transform:Math.round},cR={borderWidth:cu,borderTopWidth:cu,borderRightWidth:cu,borderBottomWidth:cu,borderLeftWidth:cu,borderRadius:cu,borderTopLeftRadius:cu,borderTopRightRadius:cu,borderBottomRightRadius:cu,borderBottomLeftRadius:cu,width:cu,maxWidth:cu,height:cu,maxHeight:cu,top:cu,right:cu,bottom:cu,left:cu,inset:cu,insetBlock:cu,insetBlockStart:cu,insetBlockEnd:cu,insetInline:cu,insetInlineStart:cu,insetInlineEnd:cu,padding:cu,paddingTop:cu,paddingRight:cu,paddingBottom:cu,paddingLeft:cu,paddingBlock:cu,paddingBlockStart:cu,paddingBlockEnd:cu,paddingInline:cu,paddingInlineStart:cu,paddingInlineEnd:cu,margin:cu,marginTop:cu,marginRight:cu,marginBottom:cu,marginLeft:cu,marginBlock:cu,marginBlockStart:cu,marginBlockEnd:cu,marginInline:cu,marginInlineStart:cu,marginInlineEnd:cu,fontSize:cu,backgroundPositionX:cu,backgroundPositionY:cu,rotate:cl,pathRotation:cl,rotateX:cl,rotateY:cl,rotateZ:cl,scale:u9,scaleX:u9,scaleY:u9,scaleZ:u9,skew:cl,skewX:cl,skewY:cl,distance:cu,translateX:cu,translateY:cu,translateZ:cu,x:cu,y:cu,z:cu,perspective:cu,transformPerspective:cu,opacity:u8,originX:cf,originY:cf,originZ:cu,zIndex:cE,fillOpacity:u8,strokeOpacity:u8,numOctaves:cE},cV={...cR,color:cg,backgroundColor:cg,outlineColor:cg,fill:cg,stroke:cg,borderColor:cg,borderTopColor:cg,borderRightColor:cg,borderBottomColor:cg,borderLeftColor:cg,filter:cL,WebkitFilter:cL,mask:cS,WebkitMask:cS},c_=e=>cV[e],cH=()=>({translate:0,scale:1,origin:0,originPoint:0}),c$=()=>({x:cH(),y:cH()}),cA=()=>({min:0,max:0}),cT=()=>({x:cA(),y:cA()}),cI=e=>!!(e&&e.getVelocity),cP=new Set(["width","height","top","left","right","bottom",...u2]),cO=e=>t=>t.test(e),cB=[u4,cu,cd,cl,ch,cc,{test:e=>"auto"===e,parse:e=>e}],cW=e=>cB.find(cO(e)),cN=()=>{},cz=()=>{};an.default;let cD=e=>t=>"string"==typeof t&&t.startsWith(e),cF=cD("--"),cZ=cD("var(--"),cU=e=>!!cZ(e)&&cq.test(e.split("/*")[0].trim()),cq=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function cG(e){return"string"==typeof e&&e.split("/*")[0].includes("var(--")}let cY=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u,cX=e=>180*e/Math.PI,cK=e=>cQ(cX(Math.atan2(e[1],e[0]))),cJ={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:cK,rotateZ:cK,skewX:e=>cX(Math.atan(e[1])),skewY:e=>cX(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},cQ=e=>((e%=360)<0&&(e+=360),e),c1=e=>
11Math.sqrt(e[0]*e[0]+e[1]*e[1]),c0=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),c5={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:c1,scaleY:c0,scale:e=>(c1(e)+c0(e))/2,rotateX:e=>cQ(cX(Math.atan2(e[6],e[5]))),rotateY:e=>cQ(cX(Math.atan2(-e[2],e[0]))),rotateZ:cK,rotate:cK,skewX:e=>cX(Math.atan(e[4])),skewY:e=>cX(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function c2(e){return+!!e.includes("scale")}function c3(e,t){let n,r;if(!e||"none"===e)return c2(t);let i=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);if(i)n=c5,r=i;else{let t=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);n=cJ,r=t}if(!r)return c2(t);let o=n[t],s=r[1].split(",").map(c6);return"function"==typeof o?o(s):s[o]}function c6(e){return parseFloat(e.trim())}let c4=e=>e===u4||e===cu,c8=new Set(["x","y","z"]),c9=u2.filter(e=>!c8.has(e)),c7={width:({x:e},{paddingLeft:t="0",paddingRight:n="0",boxSizing:r})=>{let i=e.max-e.min;return"border-box"===r?i:i-parseFloat(t)-parseFloat(n)},height:({y:e},{paddingTop:t="0",paddingBottom:n="0",boxSizing:r})=>{let i=e.max-e.min;return"border-box"===r?i:i-parseFloat(t)-parseFloat(n)},top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:(e,{transform:t})=>c3(t,"x"),y:(e,{transform:t})=>c3(t,"y")};c7.translateX=c7.x,c7.translateY=c7.y;let he=e=>e,ht={},hn=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function hr(e,t){let n=!1,r=!0,i={delta:0,timestamp:0,isProcessing:!1},o=()=>n=!0,s=hn.reduce((e,t)=>(e[t]=function(e){let t=new Set,n=new Set,r=!1,i=!1,o=new WeakSet,s={delta:0,timestamp:0,isProcessing:!1};function a(t){o.has(t)&&(l.schedule(t),e()),t(s)}let l={schedule:(e,i=!1,s=!1)=>{let a=s&&r?t:n;return i&&o.add(e),a.add(e),e},cancel:e=>{n.delete(e),o.delete(e)},process:e=>{if(s=e,r){i=!0;return}r=!0;let o=t;t=n,n=o,t.forEach(a),t.clear(),r=!1,i&&(i=!1,l.process(e))}};return l}(o),e),{}),{setup:a,read:l,resolveKeyframes:d,preUpdate:u,update:c,preRender:h,render:f,postRender:p}=s,g=()=>{let o=ht.useManualTiming,s=o?i.timestamp:performance.now();n=!1,o||(i.delta=r?1e3/60:Math.max(Math.min(s-i.timestamp,40),1)),i.timestamp=s,i.isProcessing=!0,a.process(i),l.process(i),d.process(i),u.process(i),c.process(i),h.process(i),f.process(i),p.process(i),i.isProcessing=!1,n&&t&&(r=!1,e(g))};return{schedule:hn.reduce((t,o)=>{let a=s[o];return t[o]=(t,o=!1,s=!1)=>(!n&&(n=!0,r=!0,i.isProcessing||e(g)),a.schedule(t,o,s)),t},{}),cancel:e=>{for(let t=0;t<hn.length;t++)s[hn[t]].cancel(e)},state:i,steps:s}}let{schedule:hi,cancel:ho,state:hs,steps:ha}=hr("u">typeof requestAnimationFrame?requestAnimationFrame:he,!0),hl=new Set,hd=!1,hu=!1,hc=!1;function hh(){if(hu){let e=Array.from(hl).filter(e=>e.needsMeasurement),t=new Set(e.map(e=>e.element)),n=new Map;t.forEach(e=>{let t,r=(t=[],c9.forEach(n=>{let r=e.getValue(n);void 0!==r&&(t.push([n,r.get()]),r.set(+!!n.startsWith("scale")))}),t);r.length&&(n.set(e,r),e.render())}),e.forEach(e=>e.measureInitialState()),t.forEach(e=>{e.render();let t=n.get(e);t&&t.forEach(([t,n])=>{e.getValue(t)?.set(n)})}),e.forEach(e=>e.measureEndState()),e.forEach(e=>{void 0!==e.suspendedScrollY&&window.scrollTo(0,e.suspendedScrollY)})}hu=!1,hd=!1,hl.forEach(e=>e.complete(hc)),hl.clear()}function hf(){hl.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(hu=!0)})}class hp{constructor(e,t,n,r,i,o=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...e],this.onComplete=t,this.name=n,this.motionValue=r,this.element=i,this.isAsync=o}scheduleResolve(){this.state="scheduled",this.isAsync?(hl.add(this),hd||(hd=!0,hi.read(hf),hi.resolveKeyframes(hh))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:e,name:t,element:n,motionValue:r}=this;if(null===e[0]){let i=r?.get(),o=e[e.length-1];if(void 0!==i)e[0]=i;else if(n&&t){let r=n.readValue(t,o);null!=r&&(e[0]=r)}void 0===e[0]&&(e[0]=o),r&&void 0===i&&r.set(e[0])}for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(e=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,e),hl.delete(this)}cancel(){"scheduled"===this.state&&(hl.delete(this),this.state="pending")}resume(){"pending"===this.state&&this.scheduleResolve()}}let hg=new Set([cL,cS]);function hm(e,t){let n=c_(e);return hg.has(n)||(n=cC),n.getAnimatableNone?n.getAnimatableNone(t):void 0}
11let hv=new Set(["auto","none","0"]);class hy extends hp{constructor(e,t,n,r,i){super(e,t,n,r,i,!0)}readKeyframes(){let{unresolvedKeyframes:e,element:t,name:n}=this;if(!t||!t.current)return;super.readKeyframes();for(let n=0;n<e.length;n++){let r=e[n];if("string"==typeof r&&cU(r=r.trim())){let i=function e(t,n,r=1){cz(r<=4,`Max CSS variable fallback depth detected in property "${t}". This may indicate a circular fallback dependency.`,"max-css-var-depth");let[i,o]=function(e){let t=cY.exec(e);if(!t)return[,];let[,n,r,i]=t;return[`--${n??r}`,i]}(t);if(!i)return;let s=window.getComputedStyle(n).getPropertyValue(i);if(s){let e=s.trim();return/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e)?parseFloat(e):e}return cU(o)?e(o,n,r+1):o}(r,t.current);void 0!==i&&(e[n]=i),n===e.length-1&&(this.finalKeyframe=r)}}if(this.resolveNoneKeyframes(),!cP.has(n)||2!==e.length)return;let[r,i]=e,o=cW(r),s=cW(i);if(cG(r)!==cG(i)&&c7[n]){this.needsMeasurement=!0;return}if(o!==s)if(c4(o)&&c4(s))for(let t=0;t<e.length;t++){let n=e[t];"string"==typeof n&&(e[t]=parseFloat(n))}else c7[n]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){let{unresolvedKeyframes:e,name:t}=this,n=[];for(let t=0;t<e.length;t++)(null===e[t]||function(e){if("number"==typeof e)return 0===e;if(null===e)return!0;return"none"===e||"0"===e||/^0[^.\s]+$/u.test(e)}(e[t]))&&n.push(t);n.length&&function(e,t,n){let r,i=0;for(;i<e.length&&!r;){let t=e[i];"string"==typeof t&&!hv.has(t)&&cb(t).values.length&&(r=e[i]),i++}if(r&&n)for(let i of t)e[i]=hm(n,r)}(e,n,t)}measureInitialState(){let{element:e,unresolvedKeyframes:t,name:n}=this;if(!e||!e.current)return;"height"===n&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=c7[n](e.measureViewportBox(),window.getComputedStyle(e.current)),t[0]=this.measuredOrigin;let r=t[t.length-1];void 0!==r&&e.getValue(n,r).jump(r,!1)}measureEndState(){let{element:e,name:t,unresolvedKeyframes:n}=this;if(!e||!e.current)return;let r=e.getValue(t);r&&r.jump(this.measuredOrigin,!1);let i=n.length-1,o=n[i];n[i]=c7[t](e.measureViewportBox(),window.getComputedStyle(e.current)),null!==o&&void 0===this.finalKeyframe&&(this.finalKeyframe=o),this.removedTransforms?.length&&this.removedTransforms.forEac
11h(([t,n])=>{e.getValue(t).set(n)}),this.resolveNoneKeyframes()}}let hw=e=>1e3*e;function hb(e,t){-1===e.indexOf(t)&&e.push(t)}function hx(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}class hC{constructor(){this.subscriptions=[]}add(e){return hb(this.subscriptions,e),()=>hx(this.subscriptions,e)}notify(e,t,n){let r=this.subscriptions.length;if(r)if(1===r)this.subscriptions[0](e,t,n);else for(let i=0;i<r;i++){let r=this.subscriptions[i];r&&r(e,t,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}function hk(e,t,n){t.startsWith("--")?e.style.setProperty(t,n):e.style[t]=n}function hj(e){let t;return()=>(void 0===t&&(t=e()),t)}let hM={};function hL(e,t){let n=hj(e);return()=>hM[t]??n()}let hS=hL(()=>void 0!==window.ScrollTimeline,"scrollTimeline"),hE=e=>null!==e;function hR(e,{repeat:t,repeatType:n="loop"},r,i=1){let o=e.filter(hE),s=i<0||t&&"loop"!==n&&t%2==1?0:o.length-1;return s&&void 0!==r?r:o[s]}class hV{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(e=>{this.resolve=e})}notifyFinished(){this.resolve()}then(e,t){return this.finished.then(e,t)}}let h_=e=>Array.isArray(e)&&"number"==typeof e[0],hH=hL(()=>{try{document.createElement("div").animate({opacity:0}
11,{easing:"linear(0, 1)"})}catch(e){return!1}return!0},"linearEasing"),h$=(e,t,n=10)=>{let r="",i=Math.max(Math.round(t/n),2);for(let t=0;t<i;t++)r+=Math.round(1e4*e(t/(i-1)))/1e4+", ";return`linear(${r.substring(0,r.length-2)})`},hA=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,hT={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:hA([0,.65,.55,1]),circOut:hA([.55,0,1,.45]),backIn:hA([.31,.01,.66,-.59]),backOut:hA([.33,1.53,.69,.99])};function hI(e){return"function"==typeof e&&"applyToOptions"in e}class hP extends hV{constructor(e){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!e)return;const{element:t,name:n,keyframes:r,pseudoElement:i,allowFlatten:o=!1,finalKeyframe:s,onComplete:a}=e;this.isPseudoElement=!!i,this.allowFlatten=o,this.options=e,cz("string"!=typeof e.type,'Mini animate() doesn\'t support "type" as a string.',"mini-spring");const l=function({type:e,...t}){return hI(e)&&hH()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}(e);this.animation=function(e,t,n,{delay:r=0,duration:i=300,repeat:o=0,repeatType:s="loop",ease:a="easeOut",times:l}={},d){let u={[t]:n};l&&(u.offset=l);let c=function e(t,n){if(t)return"function"==typeof t?hH()?h$(t,n):"ease-out":h_(t)?hA(t):Array.isArray(t)?t.map(t=>e(t,n)||hT.easeOut):hT[t]}(a,i);Array.isArray(c)&&(u.easing=c);let h={delay:r,duration:i,easing:Array.isArray(c)?"linear":c,fill:"both",iterations:o+1,direction:"reverse"===s?"alternate":"normal"};return d&&(h.pseudoElement=d),e.animate(u,h)}(t,n,r,l,i),!1===l.autoplay&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!i){let e=hR(r,this.options,s,this.speed);this.updateMotionValue&&this.updateMotionValue(e),hk(t,n,e),this.animation.cancel()}a?.(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),"finished"===this.state&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch(e){}}stop(){if(this.isStopped)return;this.isStopped=!0;let{state:e}=this;"idle"!==e&&"finished"!==e&&(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){let e=this.options?.element;!this.isPseudoElement&&e?.isConnected&&this.animation.commitStyles?.()}get duration(){return Number(this.animation.effect?.getComputedTiming?.().duration||0)/1e3}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+e/1e3}get time(){return(Number(this.animation.currentTime)||0)/1e3}set time(e){let t=null!==this.finishedTime;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=hw(e),t&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(e){e<0&&(this.finishedTime=null),this.animation.playbackRate=e}get state(){return null!==this.finishedTime?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(e){this.manualStartTime=this.animation.startTime=e}attachTimeline({timeline:e,rangeStart:t,rangeEnd:n,observe:r}){return(this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,e&&hS())?(this.animation.timeline=e,t&&(this.animation.rangeStart=t),n&&(this.animation.rangeEnd=n),he):r(this)}}let hO=new Set(["opacity","clipPath","filter","transform"]),{schedule:hB}=hr(queueMicrotask,!1);function hW(){r=void 0}let hN={now:()=>(void 0===r&&hN.set(hs.isProcessing||ht.useManualTiming?hs.timestamp:performance.now()),r),set:e=>{r=e,queueMicrotask(hW)}},hz=(e,t)=>t?1e3/t*e:0,hD;class hF{constructor(e,t={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=e=>{let t=hN.now();if(this.updatedAt!==t&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(e),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(let e of this.dependents)e.dirty()},this.hasAnimated=!1,this.setCurrent(e),this.owner=t.owner}setCurrent(e){this.current=e,this.updatedAt=hN.now(),null===this.canTrackVelocity&&void 0!==e&&(this.canTrackVelocity=!isNaN(parseFloat(this.current)))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on("change",e)}on(e,t){this.events[e]||(this.events[e]=new hC);let n=this.events[e].add(t);return"change"===e?()=>{n(),hi.read(()=>{this.events.change.getSize()||this.stop()})}:n}clearListeners(){for(let e in this.events)this.events[e].clear()}attach(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}set(e){this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e)}
11setWithVelocity(e,t,n){this.set(t),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-n}jump(e,t=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,t&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(e){this.dependents||(this.dependents=new Set),this.dependents.add(e)}removeDependent(e){this.dependents&&this.dependents.delete(e)}get(){return hD&&hD.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let e=hN.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||e-this.updatedAt>30)return 0;let t=Math.min(this.updatedAt-this.prevUpdatedAt,30);return hz(parseFloat(this.current)-parseFloat(this.prevFrameValue),t)}start(e){return this.stop(),new Promise(t=>{this.hasAnimated=!0,this.animation=e(t),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function hZ(e,t){return new hF(e,t)}let hU=[...cB,cg,cC],hq=new WeakMap;function hG(e){return null!==e&&"object"==typeof e&&"function"==typeof e.start}function hY(e){return"string"==typeof e||Array.isArray(e)}let hX=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],hK=["initial",...hX];function hJ(e){return hG(e.animate)||hK.some(t=>hY(e[t]))}function hQ(e){return!!(hJ(e)||e.variants)}let h1={current:null},h0={current:!1},h5="u">typeof window;function h2(e){let t=[{},{}];return e?.values.forEach((e,n)=>{t[0][n]=e.get(),t[1][n]=e.getVelocity()}),t}function h3(e,t,n,r){if("function"==typeof t){let[i,o]=h2(r);t=t(void 0!==n?n:e.custom,i,o)}if("string"==typeof t&&(t=e.variants&&e.variants[t]),"function"==typeof t){let[i,o]=h2(r);t=t(void 0!==n?n:e.custom,i,o)}return t}let h6=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],h4={};class h8{scrapeMotionValuesFromProps(e,t,n){return{}}constructor({parent:e,props:t,presenceContext:n,reducedMotionConfig:r,skipAnimations:i,blockInitialAnimation:o,visualState:s},a={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=hp,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{let e=hN.now();this.renderScheduledAt<e&&(this.renderScheduledAt=e,hi.render(this.render,!1,!0))};const{latestValues:l,renderState:d}=s;this.latestValues=l,this.baseTarget={...l},this.initialValues=t.initial?{...l}:{},this.renderState=d,this.parent=e,this.props=t,this.presenceContext=n,this.depth=e?e.depth+1:0,this.reducedMotionConfig=r,this.skipAnimationsConfig=i,this.options=a,this.blockInitialAnimation=!!o,this.isControllingVariants=hJ(t),this.isVariantNode=hQ(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);const{willChange:u,...c}=this.scrapeMotionValuesFromProps(t,{},this);for(const e in c){const t=c[e];void 0!==l[e]&&cI(t)&&t.set(l[e])}}mount(e){if(this.hasBeenMounted)for(let e in this.initialValues)this.values.get(e)?.jump(this.initialValues[e]),this.latestValues[e]=this.initialValues[e];this.current=e,hq.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEac
11h((e,t)=>this.bindToMotionValue(t,e)),"never"===this.reducedMotionConfig?this.shouldReduceMotion=!1:"always"===this.reducedMotionConfig?this.shouldReduceMotion=!0:(h0.current||function(){if(h0.current=!0,h5)if(window.matchMedia){let e=window.matchMedia("(prefers-reduced-motion)"),t=()=>h1.current=e.matches;e.addEventListener("change",t),t()}else h1.current=!1}(),this.shouldReduceMotion=h1.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,this.parent?.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){for(let e in this.projection&&this.projection.unmount(),ho(this.notifyUpdate),ho(this.render),this.valueSubscriptions.forEach(e=>e()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this),this.events)this.events[e].clear();for(let e in this.features){let t=this.features[e];t&&(t.unmount(),t.isMounted=!1)}this.current=null}addChild(e){this.children.add(e),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(e)}removeChild(e){this.children.delete(e),this.enteringChildren&&this.enteringChildren.delete(e)}bindToMotionValue(e,t){let n;if(this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)(),t.accelerate&&hO.has(e)&&this.current instanceof HTMLElement){let{factory:n,keyframes:r,times:i,ease:o,duration:s}=t.accelerate,a=new hP({element:this.current,name:e,keyframes:r,times:i,ease:o,duration:hw(s)}),l=n(a);this.valueSubscriptions.set(e,()=>{l(),a.cancel()});return}let r=u3.has(e);r&&this.onBindTransform&&this.onBindTransform();let i=t.on("change",t=>{this.latestValues[e]=t,this.props.onUpdate&&hi.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});"u">typeof window&&window.MotionCheckAppearSync&&(n=window.MotionCheckAppearSync(this,e,t)),this.valueSubscriptions.set(e,()=>{i(),n&&n()})}sortNodePosition(e){return this.current&&this.sortInstanceNodePosition&&this.type===e.type?this.sortInstanceNodePosition(this.current,e.current):0}updateFeatures(){let e="animation";for(e in h4){let t=h4[e];if(!t)continue;let{isEnabled:n,Feature:r}=t;if(!this.features[e]&&r&&n(this.props)&&(this.features[e]=new r(this)),this.features[e]){let t=this.features[e];t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):cT()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}update(e,t){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let t=0;t<h6.length;t++){let n=h6[t];this.propEventSubscriptions[n]&&(this.propEventSubscriptions[n](),delete this.propEventSubscriptions[n]);let r=e["on"+n];r&&(this.propEventSubscriptions[n]=this.on(n,r))}this.prevMotionValues=function(e,t,n){for(let r in t){let i=t[r],o=n[r];if(cI(i))e.addValue(r,i);else if(cI(o))e.addValue(r,hZ(i,{owner:e}));else if(o!==i)if(e.hasValue(r)){let t=e.getValue(r);!0===t.liveStyle?t.jump(i):t.hasAnimated||t.set(i)}else{let t=e.getStaticValue(r);e.addValue(r,hZ(void 0!==t?t:i,{owner:e}))}}for(let r in n)void 0===t[r]&&e.removeValue(r);return t}(this,this.scrapeMotionValuesFromProps(e,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(e){let t=this.getClosestVariantNode();if(t)return t.variantChildren&&t.variantChildren.add(e),()=>t.variantChildren.delete(e)}addValue(e,t){let n=this.values.get(e);t!==n&&(n&&this.removeValue(e),this.bindToMotionValue(e,t),this.values.set(e,t),this.latestValues[e]=t.get())}removeValue(e){this.values.delete(e);let t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let n=this.values.get(e);return void 0===n&&void 0!==t&&(n=hZ(null===t?void 0:t,{owner:this}),this.addValue(e,n)),n}readValue(e,t){let n=void 0===this.latestValues[e]&&this.current?this.getBaseTargetFromProps(this.props,e)??this.readValueFromInstance(this.current,e,this.options):this.latestValues[e];if(null!=n){let r,i;if("string"==typeof n&&(r=n,/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(r)||(i=n,/^0[^.\s]+$/u.test(i))))n=parseFloat(n);else{let r;r=n,!hU.find(cO(r))&&cC.test(t)&&(n=hm(e,t))}this.setBaseTarget(e,cI(n)?n.get():n)}return cI(n)?n.get():n}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){let t,{initial:n}=this.props;if("string"==typeof n||"object"==typeof n){let r=h3(this.props,n,this.presenceContext?.custom);r&&(t=r[e])}if(n&&void 0!==t)return t;let r=this.getBaseTargetFromProps(this.props,e);return void 0===r||cI(r)?void 0!==this.initialValues[e]&&void 0===t?void 0:this.baseTarget[e]:r}on(e,t){return this.events[e]||(this.events[e]=new hC),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}scheduleRenderMicrotask(){hB.render(this.render)}}class h9 extends h8{constructor(){super(...arguments),this.KeyframeResolver=hy}sortInstanceNodePosition(e,t){return 2&e.compareDocumentPosition(t)?1:-1}getBaseTargetFromProps(e,t){let n=e.style;return n?n[t]:void 0}removeValueFromRenderState(e,{vars:t,style:n}){delete t[e],delete n[e]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:e}=this.props;cI(e)&&(this.childSubscription=e.on("change",e=>{this.current&&(this.current.textContent=`${e}`)}))}}function h7(e){return e.replace(/([A-Z])/g,e=>`-${e.toLowerCase()}`)}let fe=(e,t)=>
11t&&"number"==typeof e?t.transform(e):e,ft={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},fn=u2.length;function fr(e,t,n){let{style:r,vars:i,transformOrigin:o}=e,s=!1,a=!1;for(let e in t){let n=t[e];if(u3.has(e)){s=!0;continue}if(cF(e)){i[e]=n;continue}{let t=fe(n,cR[e]);e.startsWith("origin")?(a=!0,o[e]=t):r[e]=t}}if(!t.transform&&(s||n?r.transform=function(e,t,n){let r="",i=!0;for(let o=0;o<fn;o++){let s=u2[o],a=e[s];if(void 0===a)continue;let l=!0;if("number"==typeof a)l=a===+!!s.startsWith("scale");else{let e=parseFloat(a);l=s.startsWith("scale")?1===e:0===e}if(!l||n){let e=fe(a,cR[s]);if(!l){i=!1;let t=ft[s]||s;r+=`${t}(${e}) `}n&&(t[s]=e)}}let o=e.pathRotation;return o&&(i=!1,r+=`rotate(${fe(o,cR.pathRotation)}) `),r=r.trim(),n?r=n(t,i?"":r):i&&(r="none"),r}(t,e.transform,n):r.transform&&(r.transform="none")),a){let{originX:e="50%",originY:t="50%",originZ:n=0}=o;r.transformOrigin=`${e} ${t} ${n}`}}let fi={offset:"stroke-dashoffset",array:"stroke-dasharray"},fo={offset:"strokeDashoffset",array:"strokeDasharray"},fs=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function fa(e,{attrX:t,attrY:n,attrScale:r,pathLength:i,pathSpacing:o=1,pathOffset:s=0,...a},l,d,u){if(fr(e,a,d),l){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:c,style:h}=e;for(let e of(c.transform&&(h.transform=c.transform,delete c.transform),(h.transform||c.transformOrigin)&&(h.transformOrigin=c.transformOrigin??"50% 50%",delete c.transformOrigin),h.transform&&(h.transformBox=u?.transformBox??"fill-box",delete c.transformBox),fs))void 0!==c[e]&&(h[e]=c[e],delete c[e]);void 0!==t&&(c.x=t),void 0!==n&&(c.y=n),void 0!==r&&(c.scale=r),void 0!==i&&function(e,t,n=1,r=0,i=!0){e.pathLength=1;let o=i?fi:fo;e[o.offset]=`${-r}`,e[o.array]=`${t} ${n}`}(c,i,o,s,!1)}let fl=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]),fd=e=>"string"==typeof e&&"svg"===e.toLowerCase();function fu(e,{style:t,vars:n},r,i){let o,s=e.style;for(o in t)s[o]=t[o];for(o in i?.applyProjectionStyles(s,r),n)s.setProperty(o,n[o])}let fc=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"];function fh(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}let ff={correct:(e,t)=>{if(!t.target)return e;if("string"==typeof e)if(!cu.test(e))return e;else e=parseFloat(e);let n=fh(e,t.target.x),r=fh(e,t.target.y);return`${n}% ${r}%`}},fp=(e,t,n)=>e+(t-e)*n,fg={borderRadius:{...ff,applyTo:[...fc]},borderTopLeftRadius:ff,borderTopRightRadius:ff,borderBottomLeftRadius:ff,borderBottomRightRadius:ff,boxShadow:{correct:(e,{treeScale:t,projectionDelta:n})=>{let r=cC.parse(e);if(r.length>5)return e;let i=cC.createTransformer(e),o=+("number"!=typeof r[0]),s=n.x.scale*t.x,a=n.y.scale*t.y;r[0+o]/=s,r[1+o]/=a;let l=fp(s,a,.5);return"number"==typeof r[2+o]&&(r[2+o]/=l),"number"==typeof r[3+o]&&(r[3+o]/=l),i(r)}}};function fm(e,{layout:t,layoutId:n}){return u3.has(e)||e.startsWith("origin")||(t||void 0!==n)&&(!!fg[e]||"opacity"===e)}function fv(e,t,n){let r=e.style,i=t?.style,o={};if(!r)return o;for(let t in r)(cI(r[t])||i&&cI(i[t])||fm(t,e)||n?.getValue(t)?.liveStyle!==void 0)&&(o[t]=r[t]);return o}function fy(e,t,n){let r=fv(e,t,n);for(let n in e)(cI(e[n])||cI(t[n]))&&(r[-1!==u2.indexOf(n)?"attr"+n.charAt(0).toUpperCase()+n.substring(1):n]=e[n]);return r}class fw extends h9{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=cT}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(u3.has(t)){let e=c_(t);return e&&e.default||0}return t=fl.has(t)?t:h7(t),e.getAttribute(t)}scrapeMotionValuesFromProps(e,t,n){return fy(e,t,n)}
11build(e,t,n){fa(e,t,this.isSVGTag,n.transformTemplate,n.style)}renderInstance(e,t,n,r){for(let n in fu(e,t,void 0,r),t.attrs)e.setAttribute(fl.has(n)?n:h7(n),t.attrs[n])}mount(e){this.isSVGTag=fd(e.tagName),super.mount(e)}}function fb({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function fx(e){return void 0===e||1===e}function fC({scale:e,scaleX:t,scaleY:n}){return!fx(e)||!fx(t)||!fx(n)}function fk(e){return fC(e)||fj(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function fj(e){var t,n;return(t=e.x)&&"0%"!==t||(n=e.y)&&"0%"!==n}function fM(e,t,n,r,i){return void 0!==i&&(e=r+i*(e-r)),r+n*(e-r)+t}function fL(e,t=0,n=1,r,i){e.min=fM(e.min,t,n,r,i),e.max=fM(e.max,t,n,r,i)}function fS(e,{x:t,y:n}){fL(e.x,t.translate,t.scale,t.originPoint),fL(e.y,n.translate,n.scale,n.originPoint)}function fE(e,t){e.min+=t,e.max+=t}function fR(e,t,n,r,i=.5){let o=fp(e.min,e.max,i);fL(e,t,n,o,r)}function fV(e,t){return"string"==typeof e?parseFloat(e)/100*(t.max-t.min):e}function f_(e,t,n){let r=n??e;fR(e.x,fV(t.x,r.x),t.scaleX,t.scale,t.originX),fR(e.y,fV(t.y,r.y),t.scaleY,t.scale,t.originY)}function fH(e,t){return fb(function(e,t){if(!t)return e;let n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}(e.getBoundingClientRect(),t))}class f$ extends h9{constructor(){super(...arguments),this.type="html",this.renderInstance=fu}readValueFromInstance(e,t){if(u3.has(t))return this.projection?.isProjecting?c2(t):((e,t)=>{let{transform:n="none"}=getComputedStyle(e);return c3(n,t)})(e,t);{let n=window.getComputedStyle(e),r=(cF(t)?n.getPropertyValue(t):n[t])||0;return"string"==typeof r?r.trim():r}}measureInstanceViewportBox(e,{transformPagePoint:t}){return fH(e,t)}build(e,t,n){fr(e,t,n.transformTemplate)}scrapeMotionValuesFromProps(e,t,n){return fv(e,t,n)}}let fA=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function fT(e){if("string"!=typeof e||e.includes("-"));else if(fA.indexOf(e)>-1||/[A-Z]/u.test(e))return!0;return!1}let fI=(0,np.createContext)({strict:!1}),fP=(0,np.createContext)({});function fO(e){return Array.isArray(e)?e.join(" "):e}let fB=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function fW(e,t,n){for(let r in t)cI(t[r])||fm(r,n)||(e[r]=t[r])}let fN=()=>({...fB(),attrs:{}}),fz=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","propagate","ignoreStrict","viewport"]);function fD(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||fz.has(e)}let fF=e=>!fD(e);try{R=e.r(70606).default,"function"==typeof R&&(fF=e=>e.startsWith("on")?!fD(e):R(e))}catch{}function fZ(e){return cI(e)?e.get():e}let fU=e=>(t,n)=>{let r=(0,np.useContext)(fP),i=(0,np.useContext)(uD),o=()=>(function({scrapeMotionValuesFromProps:e,createRenderState:t},n,r,i){return{latestValues:function(e,t,n,r){let i={},o=r(e,{});for(let e in o)i[e]=fZ(o[e]);let{initial:s,animate:a}=e,l=hJ(e),d=hQ(e);t&&d&&!l&&!1!==e.inherit&&(void 0===s&&(s=t.initial),void 0===a&&(a=t.animate));let u=!!n&&!1===n.initial,c=(u=u||!1===s)?a:s;if(c&&"boolean"!=typeof c&&!hG(c)){let t=Array.isArray(c)?c:[c];for(let n=0;n<t.length;n++){let r=h3(e,t[n]);if(r){let{transitionEnd:e,transition:t,...n}=r;for(let e in n){let t=n[e];if(Array.isArray(t)){let e=u?t.length-1:0;t=t[e]}null!==t&&(i[e]=t)}for(let t in e)i[t]=e[t]}}}return i}(n,r,i,e),renderState:t()}})(e,t,r,i);return n?o():uN(o)},fq=fU({scrapeMotionValuesFromProps:fv,createRenderState:fB}),fG=fU({scrapeMotionValuesFromProps:fy,createRenderState:fN}),fY={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},fX=!1;function fK(){return!function(){if(fX)return;let e={};for(let t in fY)e[t]={isEnabled:e=>fY[t].some(t=>!!e[t])};h4=e,fX=!0}(),h4}let fJ=Symbol.for("motionComponentSymbol"),fQ="data-"+h7("framerAppearId"),f1=(0,np.createContext)({});function f0(e){return e&&"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}function f5(e,{forwardMotionProps:t=!1,type:n}={},r,i){r&&function(e){let t=fK();for(let n in e)t[n]={...t[n],...e[n]};h4=t}(r);let o=n?"svg"===n:fT(e),s=o?fG:fq;function a(n,r){var a;let l,d,u,c={...(0,np.useContext)(uq),...n,layoutId:function({layoutId:e}){let t=(0,np.useContext)(uW).id;return t&&void 0!==e?t+"-"+e:e}(n)},{isStatic:h}=c,f=function(e){let{initial:t,animate:n}=function(e,t){if(hJ(e)){let{initial:t,animate:n}=e;return{initial:!1===t||hY(t)?t:void 0,animate:hY(n)?n:void 0}}return!1!==e.inherit?t:{}}(e,(0,np.useContext)(fP));return(0,np.useMemo)(()=>({initial:t,animate:n}),[fO(t),fO(n)])}(n),p=s(n,h);if(!h&&"u">typeof window){(0,np.useContext)(fI).strict;let t=function(e){let{drag:t,layout:n}=fK();if(!t&&!n)return{};let r={...t,...n};return{MeasureLayout:t?.isEnabled(e)||n?.isEnabled(e)?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}
11(c);l=t.MeasureLayout,f.visualElement=function(e,t,n,r,i,o){let{visualElement:s}=(0,np.useContext)(fP),a=(0,np.useContext)(fI),l=(0,np.useContext)(uD),d=(0,np.useContext)(uq),u=d.reducedMotion,c=d.skipAnimations,h=(0,np.useRef)(null),f=(0,np.useRef)(!1);r=r||a.renderer,!h.current&&r&&(h.current=r(e,{visualState:t,parent:s,props:n,presenceContext:l,blockInitialAnimation:!!l&&!1===l.initial,reducedMotionConfig:u,skipAnimations:c,isSVG:o}),f.current&&h.current&&(h.current.manuallyAnimateOnMount=!0));let p=h.current,g=(0,np.useContext)(f1);p&&!p.projection&&i&&("html"===p.type||"svg"===p.type)&&function(e,t,n,r){let{layoutId:i,layout:o,drag:s,dragConstraints:a,layoutScroll:l,layoutRoot:d,layoutAnchor:u,layoutCrossfade:c}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:function e(t){if(t)return!1!==t.options.allowProjection?t.projection:e(t.parent)}(e.parent)),e.projection.setOptions({layoutId:i,layout:o,alwaysMeasureLayout:!!s||a&&f0(a),visualElement:e,animationType:"string"==typeof o?o:"both",initialPromotionConfig:r,crossfade:c,layoutScroll:l,layoutRoot:d,layoutAnchor:u})}(h.current,n,i,g);let m=(0,np.useRef)(!1);(0,np.useInsertionEffect)(()=>{p&&m.current&&p.update(n,l)});let v=n[fQ],y=(0,np.useRef)(!!v&&"u">typeof window&&!window.MotionHandoffIsComplete?.(v)&&window.MotionHasOptimisedAnimation?.(v));return uz(()=>{f.current=!0,p&&(m.current=!0,window.MotionIsMounted=!0,p.updateFeatures(),p.scheduleRenderMicrotask(),y.current&&p.animationState&&p.animationState.animateChanges())}),(0,np.useEffect)(()=>{p&&(!y.current&&p.animationState&&p.animationState.animateChanges(),y.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(v)}),y.current=!1),p.enteringChildren=void 0)}),p}(e,p,c,i,t.ProjectionNode,o)}return(0,W.jsxs)(fP.Provider,{value:f,children:[l&&f.visualElement?(0,W.jsx)(l,{visualElement:f.visualElement,...c}):null,function(e,t,n,{latestValues:r},i,o=!1,s){let a=(s??fT(e)?function(e,t,n,r){let i=(0,np.useMemo)(()=>{let n=fN();return fa(n,t,fd(r),e.transformTemplate,e.style),{...n.attrs,style:{...n.style}}},[t]);if(e.style){let t={};fW(t,e.style,e),i.style={...t,...i.style}}return i}:function(e,t){let n,r,i={},o=(n=e.style||{},fW(r={},n,e),Object.assign(r,function({transformTemplate:e},t){return(0,np.useMemo)(()=>{let n=fB();return fr(n,t,e),Object.assign({},n.vars,n.style)},[t])}(e,t)),r);return e.drag&&!1!==e.dragListener&&(i.draggable=!1,o.userSelect=o.WebkitUserSelect=o.WebkitTouchCallout="none",o.touchAction=!0===e.drag?"none":`pan-${"x"===e.drag?"y":"x"}`),void 0===e.tabIndex&&(e.onTap||e.onTapStart||e.whileTap)&&(i.tabIndex=0),i.style=o,i})(t,r,i,e),l=function(e,t,n){let r={};for(let i in e)("values"!==i||"object"!=typeof e.values)&&!cI(e[i])&&(fF(i)||!0===n&&fD(i)||!t&&!fD(i)||e.draggable&&i.startsWith("onDrag"))&&(r[i]=e[i]);return r}(t,"string"==typeof e,o),d=e!==np.Fragment?{...l,...a,ref:n}:{},{children:u}=t,c=(0,np.useMemo)(()=>cI(u)?u.get():u,[u]);return(0,np.createElement)(e,{...d,children:c})}(e,n,(a=f.visualElement,d=(0,np.useRef)(r),(0,np.useInsertionEffect)(()=>{d.current=r}),u=(0,np.useRef)(null),(0,np.useCallback)(e=>{e&&p.onMount?.(e),a&&(e?a.mount(e):a.unmount());let t=d.current;if("function"==typeof t)if(e){let n=t(e);"function"==typeof n&&(u.current=n)}else u.current?(u.current(),u.current=null):t(e);else t&&(t.current=e)},[a])),p,h,t,o)]})}a.displayName=`motion.${"string"==typeof e?e:`create(${e.displayName??e.name??""})`}`;let l=(0,np.forwardRef)(a);return l[fJ]=e,l}class f2{constructor(e){this.isMounted=!1,this.node=e}update(){}}function f3(e,t,n){let r=e.getProps();return h3(r,t,void 0!==n?n:r.custom,e)}function f6(e,t){if(e?.inherit&&t){let{inherit:n,...r}=e;return{...t,...r}}return e}function f4(e,t){let n=e?.[t]??e?.default??e;return n!==e?f6(n,e):n}let f8=e=>Array.isArray(e);function f9(e,t){let n=e.getValue("willChange");if(cI(n)&&n.add)return n.add(t);if(!n&&ht.WillChange){let n=new ht.WillChange("auto");e.addValue("willChange",n),n.add(t)}}let f7=(...e)=>e.reduce((e,t)=>n=>t(e(n)));function pe(e,t,n){return(n<0&&(n+=1),n>1&&(n-=1),n<1/6)?e+(t-e)*6*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function pt(e,t){return n=>n>0?t:e}let pn=(e,t,n)=>{let r=e*e,i=n*(t*t-r)+r;return i<0?0:Math.sqrt(i)},pr=[cs,co,cp];function pi(e){let t=pr.find(t=>t.test(e));if(cN(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!t)return!1;let n=t.parse(e);return t===cp&&(n=function({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,n/=100;let i=0,o=0,s=0;if(t/=100){let r=n<.5?n*(1+t):n+t-n*t,a=2*n-r;i=pe(a,r,e+1/3),o=pe(a,r,e),s=pe(a,r,e-1/3)}else i=o=s=n;return{red:Math.round(255*i),green:Math.round(255*o),blue:Math.round(255*s),alpha:r}}(n)),n}let po=(e,t)=>{let n=pi(e),r=pi(t);if(!n||!r)return pt(e,t);let i={...n};return e=>(i.red=pn(n.red,r.red,e),i.green=pn(n.green,r.green,e),i.blue=pn(n.blue,r.blue,e),i.alpha=fp(n.alpha,r.alpha,e),co.transform(i))},ps=new Set(["none","hidden"]);function pa(e,t){return n=>fp(e,t,n)}function pl(e){return"number"==typeof e?pa:"string"==typeof e?cU(e)?pt:cg.test(e)?po:pc:Array.isArray(e)?pd:"object"==typeof e?cg.test(e)?po:pu:pt}function pd(e,t){let n=[...e],r=n.length,i=e.map((e,n)=>pl(e)(e,t[n]));return e=>{for(let t=0;t<r;t++)n[t]=i[t](e);return n}}function pu(e,t){let n={...e,...t},r={};for(let i in n)void 0!==e[i]&&void 0!==t[i]&&(r[i]=pl(e[i])(e[i],t[i]));return e=>{for(let t in r)n[t]=r[t](e);return n}}let pc=(e,t)=>{let n=cC.createTransformer(t),r=cb(e),i=cb(t);if(!(r.indexes.var.length===i.indexes.var.length&&r.indexes.color.length===i.indexes.color.length&&r.indexes.number.length>=i.indexes.number.length))return cN(!0,`Complex values '${e}' and '${t}
11' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`,"complex-values-different"),pt(e,t);if(ps.has(e)&&!i.values.length||ps.has(t)&&!r.values.length)return ps.has(e)?n=>n<=0?e:t:n=>n>=1?t:e;return f7(pd(function(e,t){let n=[],r={color:0,var:0,number:0};for(let i=0;i<t.values.length;i++){let o=t.types[i],s=e.indexes[o][r[o]],a=e.values[s]??0;n[i]=a,r[o]++}return n}(r,i),i.values),n)};function ph(e,t,n){return"number"==typeof e&&"number"==typeof t&&"number"==typeof n?fp(e,t,n):pl(e)(e,t)}let pf=e=>{let t=({timestamp:t})=>e(t);return{start:(e=!0)=>hi.update(t,e),stop:()=>ho(t),now:()=>hs.isProcessing?hs.timestamp:hN.now()}};function pp(e){let t=0,n=e.next(t);for(;!n.done&&t<2e4;)t+=50,n=e.next(t);return t>=2e4?1/0:t}let pg=.01,pm=2,pv=.005,py=.5;function pw(e,t){return e*Math.sqrt(1-t*t)}let pb=["duration","bounce"],px=["stiffness","damping","mass"];function pC(e,t){return t.some(t=>void 0!==e[t])}function pk(e=.3,t=.3){let n,r,i,o,s,a,l="object"!=typeof e?{visualDuration:e,keyframes:[0,1],bounce:t}:e,{restSpeed:d,restDelta:u}=l,c=l.keyframes[0],h=l.keyframes[l.keyframes.length-1],f={done:!1,value:c},{stiffness:p,damping:g,mass:m,duration:v,velocity:y,isResolvedFromDuration:w}=function(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!pC(e,px)&&pC(e,pb))if(t.velocity=0,e.visualDuration){let n=2*Math.PI/(1.2*e.visualDuration),r=n*n,i=2*u6(.05,1,1-(e.bounce||0))*Math.sqrt(r);t={...t,mass:1,stiffness:r,damping:i}}else{let n=function({duration:e=800,bounce:t=.3,velocity:n=0,mass:r=1}){let i,o;cN(e<=hw(10),"Spring duration must be 10 seconds or less","spring-duration-limit");let s=1-t;s=u6(.05,1,s),e=u6(.01,10,e/1e3),s<1?(i=t=>{let r=t*s,i=r*e;return .001-(r-n)/pw(t,s)*Math.exp(-i)},o=t=>{let r=t*s*e,o=Math.pow(s,2)*Math.pow(t,2)*e,a=Math.exp(-r),l=pw(Math.pow(t,2),s);return(r*n+n-o)*a*(-i(t)+.001>0?-1:1)/l}):(i=t=>-.001+Math.exp(-t*e)*((t-n)*e+1),o=t=>e*e*(n-t)*Math.exp(-t*e));let a=function(e,t,n){let r=n;for(let n=1;n<12;n++)r-=e(r)/t(r);return r}(i,o,5/e);if(e=hw(e),isNaN(a))return{stiffness:100,damping:10,duration:e};{let t=Math.pow(a,2)*r;return{stiffness:t,damping:2*s*Math.sqrt(r*t),duration:e}}}({...e,velocity:0});(t={...t,...n,mass:1}).isResolvedFromDuration=!0}return t}({...l,velocity:-((l.velocity||0)/1e3)}),b=y||0,x=g/(2*Math.sqrt(p*m)),C=h-c,k=Math.sqrt(p/m)/1e3,j=5>Math.abs(C);if(d||(d=j?pg:pm),u||(u=j?pv:py),x<1)i=pw(k,x),o=(b+x*k*C)/i,n=e=>h-Math.exp(-x*k*e)*(o*Math.sin(i*e)+C*Math.cos(i*e)),s=x*k*o+C*i,a=x*k*C-o*i,r=e=>Math.exp(-x*k*e)*(s*Math.sin(i*e)+a*Math.cos(i*e));else if(1===x){n=e=>h-Math.exp(-k*e)*(C+(b+k*C)*e);let e=b+k*C;r=t=>Math.exp(-k*t)*(k*e*t-b)}else{let e=k*Math.sqrt(x*x-1);n=t=>{let n=Math.exp(-x*k*t),r=Math.min(e*t,300);return h-n*((b+x*k*C)*Math.sinh(r)+e*C*Math.cosh(r))/e};let t=(b+x*k*C)/e,i=x*k*t-C*e,o=x*k*C-t*e;r=t=>{let n=Math.exp(-x*k*t),r=Math.min(e*t,300);return n*(i*Math.sinh(r)+o*Math.cosh(r))}}let M={calculatedDuration:w&&v||null,velocity:e=>hw(r(e)),next:e=>{if(!w&&x<1){let t=Math.exp(-x*k*e),n=Math.sin(i*e),r=Math.cos(i*e),l=h-t*(o*n+C*r);return f.done=Math.abs(hw(t*(s*n+a*r)))<=d&&Math.abs(h-l)<=u,f.value=f.done?h:l,f}let t=n(e);return w?f.done=e>=v:f.done=Math.abs(hw(r(e)))<=d&&Math.abs(h-t)<=u,f.value=f.done?h:t,f},toString:()=>{let e=Math.min(pp(M),2e4),t=h$(t=>M.next(e*t).value,e,30);return e+"ms "+t},toTransition:()=>{}};return M}function pj(e,t,n){let r=Math.max(t-5,0);return hz(n-e(r),t-r)}function pM({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:i=10,bounceStiffness:o=500,modifyTarget:s,min:a,max:l,restDelta:d=.5,restSpeed:u}){let c,h,f=e[0],p={done:!1,value:f},g=n*t,m=f+g,v=void 0===s?m:s(m);v!==m&&(g=v-f);let y=e=>-g*Math.exp(-e/r),w=e=>v+y(e),b=e=>{let t=y(e),n=w(e);p.done=Math.abs(t)<=d,p.value=p.done?v:n},x=e=>{let t;if(t=p.value,void 0!==a&&t<a||void 0!==l&&t>l){var n;c=e,h=pk({keyframes:[p.value,(n=p.value,void 0===a?l:void 0===l||Math.abs(a-n)<Math.abs(l-n)?a:l)],velocity:pj(w,e,p.value),damping:i,stiffness:o,restDelta:d,restSpeed:u})}};return x(0),{calculatedDuration:null,next:e=>{let t=!1;
11return(h||void 0!==c||(t=!0,b(e),x(e)),void 0!==c&&e>=c)?h.next(e-c):(t||b(e),p)}}}pk.applyToOptions=e=>{let t=function(e,t=100,n){let r=n({...e,keyframes:[0,t]}),i=Math.min(pp(r),2e4);return{type:"keyframes",ease:e=>r.next(i*e).value/t,duration:i/1e3}}(e,100,pk);return e.ease=t.ease,e.duration=hw(t.duration),e.type="keyframes",e};let pL=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e;function pS(e,t,n,r){return e===t&&n===r?he:i=>0===i||1===i?i:pL(function(e,t,n,r,i){let o,s,a=0;do(o=pL(s=t+(n-t)/2,r,i)-e)>0?n=s:t=s;while(Math.abs(o)>1e-7&&++a<12)return s}(i,0,1,e,n),t,r)}let pE=pS(.42,0,1,1),pR=pS(0,0,.58,1),pV=pS(.42,0,.58,1),p_=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,pH=e=>t=>1-e(1-t),p$=pS(.33,1.53,.69,.99),pA=pH(p$),pT=p_(pA),pI=e=>e>=1?1:(e*=2)<1?.5*pA(e):.5*(2-Math.pow(2,-10*(e-1))),pP=e=>1-Math.sin(Math.acos(e)),pO=pH(pP),pB=p_(pP),pW={linear:he,easeIn:pE,easeInOut:pV,easeOut:pR,circIn:pP,circInOut:pB,circOut:pO,backIn:pA,backInOut:pT,backOut:p$,anticipate:pI},pN=e=>{if(h_(e)){cz(4===e.length,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");let[t,n,r,i]=e;return pS(t,n,r,i)}return"string"==typeof e?(cz(void 0!==pW[e],`Invalid easing type '${e}'`,"invalid-easing-type"),pW[e]):e},pz=(e,t,n)=>{let r=t-e;return r?(n-e)/r:1};function pD({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){var i;let o,s=Array.isArray(r)&&"number"!=typeof r[0]?r.map(pN):pN(r),a={done:!1,value:t[0]},l=function(e,t,{clamp:n=!0,ease:r,mixer:i}={}){let o=e.length;if(cz(o===t.length,"Both input and output ranges must be the same length","range-length"),1===o)return()=>t[0];if(2===o&&t[0]===t[1])return()=>t[1];let s=e[0]===e[1];e[0]>e[o-1]&&(e=[...e].reverse(),t=[...t].reverse());let a=function(e,t,n){let r=[],i=n||ht.mix||ph,o=e.length-1;for(let n=0;n<o;n++){let o=i(e[n],e[n+1]);t&&(o=f7(Array.isArray(t)?t[n]||he:t,o)),r.push(o)}return r}(t,r,i),l=a.length,d=n=>{if(s&&n<e[0])return t[0];let r=0;if(l>1)for(;r<e.length-2&&!(n<e[r+1]);r++);let i=pz(e[r],e[r+1],n);return a[r](i)};return n?t=>d(u6(e[0],e[o-1],t)):d}((i=n&&n.length===t.length?n:(!function(e,t){let n=e[e.length-1];for(let r=1;r<=t;r++){let i=pz(0,t,r);e.push(fp(n,1,i))}}(o=[0],t.length-1),o),i.map(t=>t*e)),t,{ease:Array.isArray(s)?s:t.map(()=>s||pV).splice(0,t.length-1)});return{calculatedDuration:e,next:t=>(a.value=l(t),a.done=t>=e,a)}}let pF={decay:pM,inertia:pM,tween:pD,keyframes:pD,spring:pk};function pZ(e){"string"==typeof e.type&&(e.type=pF[e.type])}let pU=e=>e/100;class pq extends hV{constructor(e){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{let{motionValue:e}=this.options;e&&e.updatedAt!==hN.now()&&this.tick(hN.now()),this.isStopped=!0,"idle"!==this.state&&(this.teardown(),this.options.onStop?.())},this.options=e,this.initAnimation(),this.play(),!1===e.autoplay&&this.pause()}initAnimation(){let{options:e}=this;pZ(e);let{type:t=pD,repeat:n=0,repeatDelay:r=0,repeatType:i,velocity:o=0}=e,{keyframes:s}=e,a=t||pD;a!==pD&&"number"!=typeof s[0]&&(this.mixKeyframes=f7(pU,ph(s[0],s[1])),s=[0,100]);let l=a({...e,keyframes:s});"mirror"===i&&(this.mirroredGenerator=a({...e,keyframes:[...s].reverse(),velocity:-o})),null===l.calculatedDuration&&(l.calculatedDuration=pp(l));let{calculatedDuration:d}=l;this.calculatedDuration=d,this.resolvedDuration=d+r,this.totalDuration=this.resolvedDuration*(n+1)-r,this.generator=l}updateTime(e){let t=Math.round(e-this.startTime)*this.playbackSpeed;null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=t}tick(e,t=!1){let n,{generator:r,totalDuration:i,mixKeyframes:o,mirroredGenerator:s,resolvedDuration:a,calculatedDuration:l}=this;if(null===this.startTime)return r.next(0);let{delay:d=0,keyframes:u,repeat:c,repeatType:h,repeatDelay:f,type:p,onUpdate:g,finalKeyframe:m}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-i/this.speed,this.startTime)),t?this.currentTime=e:this.updateTime(e);let v=this.currentTime-d*(this.playbackSpeed>=0?1:-1),y=this.playbackSpeed>=0?v<0:v>i;this.currentTime=Math.max(v,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=i);let w=this.currentTime,b=r;if(c){let e=Math.min(this.currentTime,i)/a,t=Math.floor(e),n=e%1;!n&&e>=1&&(n=1),1===n&&t--,(t=Math.min(t,c+1))%2&&("reverse"===h?(n=1-n,f&&(n-=f/a)):"mirror"===h&&(b=s)),w=u6(0,1,n)*a}y?(this.delayState.value=u[0],n=this.delayState):n=b.next(w),o&&!y&&(n.value=o(n.value));let{done:x}=n;y||null===l||(x=this.playbackSpeed>=0?this.currentTime>=i:this.currentTime<=0);let C=null===this.holdTime&&("finished"===this.state||"running"===this.state&&x);return C&&p!==pM&&(n.value=hR(u,this.options,m,this.speed)),g&&g(n.value),C&&this.finish(),n}then(e,t){return this.finished.then(e,t)}get duration(){return this.calculatedDuration/1e3}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+e/1e3}get time(){return this.currentTime/1e3}set time(e){e=hw(e),this.currentTime=e,null===this.startTime||null!==this.holdTime||0===this.playbackSpeed?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state="paused",this.holdTime=e,this.tick(e))}getGeneratorVelocity(){let e=this.currentTime;if(e<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(e);let t=this.generator.next(e).value;return pj(e=>this.generator.next(e).value,e,t)}get speed(){return this.playbackSpeed}set speed(e){let t=this.playbackSpeed!==e;t&&this.driver&&this.updateTime(hN.now()),this.playbackSpeed=e,t&&this.driver&&(this.time=this.currentTime/1e3)}play(){if(this.isStopped)return;let{driver:e=pf,startTime:t}=this.options;this.driver||(this.driver=e(e=>this.tick(e))),this.options.onPlay?.();let n=this.driver.now();"finished"===this.state?(this.updateFinished(),this.startTime=n):null!==this.holdTime?this.startTime=n-this.holdTime:this.startTime||(this.startTime=t??n),"finished"===this.state&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(hN.now()),this.holdTime=this.currentTime}complete(){"running"!==this.state&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}attachTimeline(e){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),e.observe(this)}}let pG={anticipate:pI,backInOut:pT,circInOut:pB};class pY extends hP{constructor(e){!function(e){"string"==typeof e.ease&&e.ease in pG&&(e.ease=pG[e.ease])}(e),pZ(e),super(e),void 0!==e.startTime&&!1!==e.autoplay&&(this.startTime=e.startTime),this.options=e}updateMotionValue(e){let{motionValue:t,onUpdate:n,onComplete:r,element:i,...o}=this.options;if(!t)return;if(void 0!==e)return void t.set(e);let s=new pq({...o,autoplay:!1}),a=Math.max(10,hN.now()-this.startTime),l=u6(0,10,a-10),d=s.sample(a).value,{name:u}=this.options;i&&u&&hk(i,u,d),t.setWithVelocity(s.sample(Math.max(0,a-l)).value,d,l),s.stop()}}let pX=(e,t)=>"zIndex"!==t&&!!("number"==typeof e||Array.isArray(e)||"string"==typeof e&&(cC.test(e)||"0"===e)&&!e.startsWith("url("));function pK(e){e.duration=0,e.type="keyframes"}let pJ=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/,pQ=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),p1=hj(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));class p0 extends hV{constructor({autoplay:e=!0,delay:t=0,type:n="keyframes",repeat:r=0,repeatDelay:i=0,repeatType:
11o="loop",keyframes:s,name:a,motionValue:l,element:d,...u}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=hN.now();const c={autoplay:e,delay:t,type:n,repeat:r,repeatDelay:i,repeatType:o,name:a,motionValue:l,element:d,...u},h=d?.KeyframeResolver||hp;this.keyframeResolver=new h(s,(e,t,n)=>this.onKeyframesResolved(e,t,c,!n),a,l,d),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(e,t,n,r){let i;this.keyframeResolver=void 0;let{name:o,type:s,velocity:a,delay:l,isHandoff:d,onUpdate:u}=n;this.resolvedAt=hN.now();let c=!0;!function(e,t,n,r){let i=e[0];if(null===i)return!1;if("display"===t||"visibility"===t)return!0;let o=e[e.length-1],s=pX(i,t),a=pX(o,t);return cN(s===a,`You are trying to animate ${t} from "${i}" to "${o}". "${s?o:i}" is not an animatable value.`,"value-not-animatable"),!!s&&!!a&&(function(e){let t=e[0];if(1===e.length)return!0;for(let n=0;n<e.length;n++)if(e[n]!==t)return!0}(e)||("spring"===n||hI(n))&&r)}(e,o,s,a)&&(c=!1,(ht.instantAnimations||!l)&&u?.(hR(e,n,t)),e[0]=e[e.length-1],pK(n),n.repeat=0);let h={startTime:r?this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt:void 0,finalKeyframe:t,...n,keyframes:e},f=c&&!d&&function(e){let{motionValue:t,name:n,repeatDelay:r,repeatType:i,damping:o,type:s,keyframes:a}=e;if(!(t?.owner?.current instanceof HTMLElement))return!1;let{onUpdate:l,transformTemplate:d}=t.owner.getProps();return p1()&&n&&(hO.has(n)||pQ.has(n)&&function(e){for(let t=0;t<e.length;t++)if("string"==typeof e[t]&&pJ.test(e[t]))return!0;return!1}(a))&&("transform"!==n||!d)&&!l&&!r&&"mirror"!==i&&0!==o&&"inertia"!==s}(h),p=h.motionValue?.owner?.current;if(f)try{i=new pY({...h,element:p})}catch{i=new pq(h)}else i=new pq(h);i.finished.then(()=>{this.notifyFinished()}).catch(he),this.pendingTimeline&&(this.stopTimeline=i.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=i}get finished(){return this._animation?this.animation.finished:this._finished}then(e,t){return this.finished.finally(e).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),hc=!0,hf(),hh(),hc=!1),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(e){this.animation.time=e}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(e){this.animation.speed=e}get startTime(){return this.animation.startTime}attachTimeline(e){return this._animation?this.stopTimeline=this.animation.attachTimeline(e):this.pendingTimeline=e,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}let p5={type:"spring",stiffness:500,damping:25,restSpeed:10},p2={type:"keyframes",duration:.8},p3={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},p6=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]),p4=(e,t,n,r={},i,o)=>s=>{let a=f4(r,e)||{},l=a.delay||r.delay||0,{elapsed:d=0}=r;d-=hw(l);let u={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...a,delay:-d,onUpdate:e=>{t.set(e),a.onUpdate&&a.onUpdate(e)},onComplete:()=>{s(),a.onComplete&&a.onComplete()},name:e,motionValue:t,element:o?void 0:i};!function(e){for(let t in e)if(!p6.has(t))return!0;return!1}(a)&&Object.assign(u,((e,{keyframes:t})=>t.length>2?p2:u3.has(e)?e.startsWith("scale")?{type:"spring",stiffness:550,damping:0===t[1]?2*Math.sqrt(550):30,restSpeed:10}:p5:p3)(e,u)),u.duration&&(u.duration=hw(u.duration)),u.repeatDelay&&(u.repeatDelay=hw(u.repeatDelay)),void 0!==u.from&&(u.keyframes[0]=u.from);let c=!1;if(!1!==u.type&&(0!==u.duration||u.repeatDelay)||(pK(u),0===u.delay&&(c=!0)),(ht.instantAnimations||ht.skipAnimations||i?.shouldSkipAnimations||a.skipAnimations)&&(c=!0,pK(u),u.delay=0),u.allowFlatten=!a.type&&!a.ease,c&&!o&&void 0!==t.get()){let e=hR(u.keyframes,a);if(void 0!==e)return void hi.update(()=>{u.onUpdate(e),u.onComplete()})}return a.isSync?new pq(u):new p0(u)};function p8(e,t,{delay:n=0,transitionOverride:r,type:i}={}){let{transition:o,transitionEnd:s,...a}=t,l=e.getDefaultTransition();o=o?f6(o,l):l;let d=o?.reduceMotion,u=o?.skipAnimations;r&&(o=r);let c=[],h=i&&e.animationState&&e.animationState.getState()[i],f=o?.path;for(let t in f&&f.animateVisualElement(e,a,o,n,c),a){let r=e.getValue(t,e.latestValues[t]??null),i=a[t];if(void 0===i||h&&function({protectedKeys:e,needsAnimating:t},n){let r=e.hasOwnProperty(n)&&!0!==t[n];return t[n]=!1,r}(h,t))continue;let s={delay:n,...f4(o||{},t)};u&&(s.skipAnimations=!0);let l=r.get();if(void 0!==l&&!r.isAnimating()&&!Array.isArray(i)&&i===l&&!s.velocity){hi.update(()=>r.set(i));continue}let f=!1;if(window.MotionHandoffAnimation){let n=e.props[fQ];if(n){let e=window.MotionHandoffAnimation(n,t,hi);null!==e&&(s.startTime=e,f=!0)}}f9(e,t);let p=d??e.shouldReduceMotion;r.start(p4(t,r,i,p&&cP.has(t)?{type:!1}:s,e,f));let g=r.animation;g&&c.push(g)}if(s){let t=()=>hi.update(()=>{s&&function(e,t){let{transitionEnd:n={},transition:r={},...i}=f3(e,t)||{};for(let t in i={...i,...n}){var o;let n=f8(o=i[t])?o[o.length-1]||0:o;e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,hZ(n))}}(e,s)});c.length?Promise.all(c).then(t):t()}return c}function p9(e,t,n,r=0,i=1){let o=Array.from(e).sort((e,t)=>
11e.sortNodePosition(t)).indexOf(t),s=e.size,a=(s-1)*r;return"function"==typeof n?n(o,s):1===i?o*r:a-o*r}function p7(e,t,n={}){let r=f3(e,t,"exit"===n.type?e.presenceContext?.custom:void 0),{transition:i=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(i=n.transitionOverride);let o=r?()=>Promise.all(p8(e,r,n)):()=>Promise.resolve(),s=e.variantChildren&&e.variantChildren.size?(r=0)=>{let{delayChildren:o=0,staggerChildren:s,staggerDirection:a}=i;return function(e,t,n=0,r=0,i=0,o=1,s){let a=[];for(let l of e.variantChildren)l.notify("AnimationStart",t),a.push(p7(l,t,{...s,delay:n+("function"==typeof r?0:r)+p9(e.variantChildren,l,r,i,o)}).then(()=>l.notify("AnimationComplete",t)));return Promise.all(a)}(e,t,r,o,s,a,n)}:()=>Promise.resolve(),{when:a}=i;if(!a)return Promise.all([o(),s(n.delay)]);{let[e,t]="beforeChildren"===a?[o,s]:[s,o];return e().then(()=>t())}}let ge=hK.length;function gt(e,t){if(!Array.isArray(t))return!1;let n=t.length;if(n!==e.length)return!1;for(let r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}let gn=[...hX].reverse(),gr=hX.length;function gi(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function go(){return{animate:gi(!0),whileInView:gi(),whileHover:gi(),whileTap:gi(),whileDrag:gi(),whileFocus:gi(),exit:gi()}}let gs=0;function ga(e){return[e("x"),e("y")]}function gl(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)}let gd={x:!1,y:!1};function gu(e){return e.max-e.min}function gc(e,t,n,r=.5){e.origin=r,e.originPoint=fp(t.min,t.max,e.origin),e.scale=gu(n)/gu(t),e.translate=fp(n.min,n.max,e.origin)-e.originPoint,(e.scale>=.9999&&e.scale<=1.0001||isNaN(e.scale))&&(e.scale=1),(e.translate>=-.01&&e.translate<=.01||isNaN(e.translate))&&(e.translate=0)}function gh(e,t,n,r){gc(e.x,t.x,n.x,r?r.originX:void 0),gc(e.y,t.y,n.y,r?r.originY:void 0)}function gf(e,t,n,r=0){e.min=(r?fp(n.min,n.max,r):n.min)+t.min,e.max=e.min+gu(t)}function gp(e,t,n,r=0){let i=r?fp(n.min,n.max,r):n.min;e.min=t.min-i,e.max=e.min+gu(t)}function gg(e,t,n,r){gp(e.x,t.x,n.x,r?.x),gp(e.y,t.y,n.y,r?.y)}function gm(e){return uF(e)&&"ownerSVGElement"in e}function gv(e,t,n){if(null==e)return[];if(e instanceof EventTarget)return[e];if("string"==typeof e){let r=document;t&&(r=t.current);let i=n?.[e]??r.querySelectorAll(e);return i?Array.from(i):[]}return Array.from(e).filter(e=>null!=e)}let gy=new WeakMap,gw=(e,t,n)=>(r,i)=>i&&i[0]?i[0][e+"Size"]:gm(r)&&"getBBox"in r?r.getBBox()[t]:r[n],gb=gw("inline","width","offsetWidth"),gx=gw("block","height","offsetHeight");function gC({target:e,borderBoxSize:t}){gy.get(e)?.forEach(n=>{n(e,{get width(){return gb(e,t)},get height(){return gx(e,t)}})})}function gk(e){e.forEach(gC)}let gj=new Set;function gM(e,t){let n;return"function"==typeof e?(gj.add(e),o||(o=()=>{let e={get width(){return window.innerWidth},get height(){return window.innerHeight}};gj.forEach(t=>t(e))},window.addEventListener("resize",o)),()=>{gj.delete(e),gj.size||"function"!=typeof o||(window.removeEventListener("resize",o),o=void 0)}):(!i&&"u">typeof ResizeObserver&&(i=new ResizeObserver(gk)),(n=gv(e)).forEac
11h(e=>{let n=gy.get(e);n||(n=new Set,gy.set(e,n)),n.add(t),i?.observe(e)}),()=>{n.forEach(e=>{let n=gy.get(e);n?.delete(t),n?.size||i?.unobserve(e)})})}let gL=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]),gS=new Set(["INPUT","SELECT","TEXTAREA"]),gE=e=>"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary;function gR(e){return{point:{x:e.pageX,y:e.pageY}}}function gV(e,t,n,r){return gl(e,t,e=>gE(e)&&n(e,gR(e)),r)}let g_=({current:e})=>e?e.ownerDocument.defaultView:null,gH=(e,t)=>Math.abs(e-t),g$=new Set(["auto","scroll"]);class gA{constructor(e,t,{transformPagePoint:n,contextWindow:r=window,dragSnapToOrigin:i=!1,distanceThreshold:o=3,element:s}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.lastRawMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=e=>{this.handleScroll(e.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{var e,t;if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=gT(this.lastRawMoveEventInfo,this.transformPagePoint));let n=gP(this.lastMoveEventInfo,this.history),r=null!==this.startEvent,i=(e=n.offset,t={x:0,y:0},Math.sqrt(gH(e.x,t.x)**2+gH(e.y,t.y)**2)>=this.distanceThreshold);if(!r&&!i)return;let{point:o}=n,{timestamp:s}=hs;this.history.push({...o,timestamp:s});let{onStart:a,onMove:l}=this.handlers;r||(a&&a(this.lastMoveEvent,n),this.startEvent=this.lastMoveEvent),l&&l(this.lastMoveEvent,n)},this.handlePointerMove=(e,t)=>{this.lastMoveEvent=e,this.lastRawMoveEventInfo=t,this.lastMoveEventInfo=gT(t,this.transformPagePoint),hi.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{this.end();let{onEnd:n,onSessionEnd:r,resumeAnimation:i}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&i&&i(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let o=gP("pointercancel"===e.type?this.lastMoveEventInfo:gT(t,this.transformPagePoint),this.history);this.startEvent&&n&&n(e,o),r&&r(e,o)},!gE(e))return;this.dragSnapToOrigin=i,this.handlers=t,this.transformPagePoint=n,this.distanceThreshold=o,this.contextWindow=r||window;const a=gT(gR(e),this.transformPagePoint),{point:l}=a,{timestamp:d}=hs;this.history=[{...l,timestamp:d}];const{onSessionStart:u}=t;u&&u(e,gP(a,this.history));const c={passive:!0,capture:!0};this.removeListeners=f7(gV(this.contextWindow,"pointermove",this.handlePointerMove,c),gV(this.contextWindow,"pointerup",this.handlePointerUp,c),gV(this.contextWindow,"pointercancel",this.handlePointerUp,c)),s&&this.startScrollTracking(s)}startScrollTracking(e){let t=e.parentElement;for(;t;){let e=getComputedStyle(t);(g$.has(e.overflowX)||g$.has(e.overflowY))&&this.scrollPositions.set(t,{x:t.scrollLeft,y:t.scrollTop}),t=t.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0}),window.addEventListener("scroll",this.onWindowScroll),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(e){let t=this.scrollPositions.get(e);if(!t)return;let n=e===window,r=n?{x:window.scrollX,y:window.scrollY}:{x:e.scrollLeft,y:e.scrollTop},i={x:r.x-t.x,y:r.y-t.y};(0!==i.x||0!==i.y)&&(n?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=i.x,this.lastMoveEventInfo.point.y+=i.y):this.history.length>0&&(this.history[0].x-=i.x,this.history[0].y-=i.y),this.scrollPositions.set(e,r),hi.update(this.updatePoint,!0))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),ho(this.updatePoint)}}function gT(e,t){return t?{point:t(e.point)}:e}function gI(e,t){return{x:e.x-t.x,y:e.y-t.y}}function gP({point:e},t){return{point:e,delta:gI(e,gO(t)),offset:gI(e,t[0]),velocity:function(e){if(e.length<2)return{x:0,y:0};let t=e.length-1,n=null,r=gO(e);for(;t>=0&&(n=e[t],!(r.timestamp-n.timestamp>hw(.1)));)t--;if(!n)return{x:0,y:0};n===e[0]&&e.length>2&&r.timestamp-n.timestamp>2*hw(.1)&&(n=e[1]);let i=(r.timestamp-n.timestamp)/1e3;if(0===i)return{x:0,y:0};let o={x:(r.x-n.x)/i,y:(r.y-n.y)/i};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}(t)}}function gO(e){return e[e.length-1]}function gB(e,t,n){return{min:void 0!==t?e.min+t:void 0,max:void 0!==n?e.max+n-(e.max-e.min):void 0}}function gW(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,r]=[r,n]),{min:n,max:r}}function gN(e,t,n){return{min:gz(e,t),max:gz(e,n)}}function gz(e,t){return"number"==typeof e?e:e[t]||0}let gD=new WeakMap;class gF{constructor(e){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=cT(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=e}start(e,{snapToCursor:t=!1,distanceThreshold:n}={}){let{presenceContext:r}=this.visualElement;if(r&&!1===r.isPresent)return;let i=e=>{t&&this.snapToCursor(gR(e).point),this.stopAnimation()},o=(e,t)=>{let{drag:n,dragPropagation:r,onDragStart:i}=this.getProps();if(n&&!r&&(this.openDragLock&&this.openDragLock(),this.openDragLock=function(e){if("x"===e||"
11y"===e)if(gd[e])return null;else return gd[e]=!0,()=>{gd[e]=!1};return gd.x||gd.y?null:(gd.x=gd.y=!0,()=>{gd.x=gd.y=!1})}(n),!this.openDragLock))return;this.latestPointerEvent=e,this.latestPanInfo=t,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),ga(e=>{let t=this.getAxisMotionValue(e).get()||0;if(cd.test(t)){let{projection:n}=this.visualElement;if(n&&n.layout){let r=n.layout.layoutBox[e];r&&(t=gu(r)*(parseFloat(t)/100))}}this.originPoint[e]=t}),i&&hi.update(()=>i(e,t),!1,!0),f9(this.visualElement,"transform");let{animationState:o}=this.visualElement;o&&o.setActive("whileDrag",!0)},s=(e,t)=>{this.latestPointerEvent=e,this.latestPanInfo=t;let{dragPropagation:n,dragDirectionLock:r,onDirectionLock:i,onDrag:o}=this.getProps();if(!n&&!this.openDragLock)return;let{offset:s}=t;if(r&&null===this.currentDirection){this.currentDirection=function(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}(s),null!==this.currentDirection&&i&&i(this.currentDirection);return}this.updateAxis("x",t.point,s),this.updateAxis("y",t.point,s),this.visualElement.render(),o&&hi.update(()=>o(e,t),!1,!0)},a=(e,t)=>{this.latestPointerEvent=e,this.latestPanInfo=t,this.stop(e,t),this.latestPointerEvent=null,this.latestPanInfo=null},l=()=>{let{dragSnapToOrigin:e}=this.getProps();(e||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:d}=this.getProps();this.panSession=new gA(e,{onSessionStart:i,onStart:o,onMove:s,onSessionEnd:a,resumeAnimation:l},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:d,distanceThreshold:n,contextWindow:g_(this.visualElement),element:this.visualElement.current})}stop(e,t){let n=e||this.latestPointerEvent,r=t||this.latestPanInfo,i=this.isDragging;if(this.cancel(),!i||!r||!n)return;let{velocity:o}=r;this.startAnimation(o);let{onDragEnd:s}=this.getProps();s&&hi.postRender(()=>s(n,r))}cancel(){this.isDragging=!1;let{projection:e,animationState:t}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.endPanSession();let{dragPropagation:n}=this.getProps();!n&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),t&&t.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(e,t,n){let{drag:r}=this.getProps();if(!n||!gU(e,r,this.currentDirection))return;let i=this.getAxisMotionValue(e),o=this.originPoint[e]+n[e];this.constraints&&this.constraints[e]&&(o=function(e,{min:t,max:n},r){return void 0!==t&&e<t?e=r?fp(t,e,r.min):Math.max(e,t):void 0!==n&&e>n&&(e=r?fp(n,e,r.max):Math.min(e,n)),e}(o,this.constraints[e],this.elastic[e])),i.set(o)}resolveConstraints(){let{dragConstraints:e,dragElastic:t}=this.getProps(),n=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,r=this.constraints;e&&f0(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):e&&n?this.constraints=function(e,{top:t,left:n,bottom:r,right:i}){return{x:gB(e.x,n,i),y:gB(e.y,t,r)}}(n.layoutBox,e):this.constraints=!1,this.elastic=function(e=.35){return!1===e?e=0:!0===e&&(e=.35),{x:gN(e,"left","right"),y:gN(e,"top","bottom")}}(t),r!==this.constraints&&!f0(e)&&n&&this.constraints&&!this.hasMutatedConstraints&&ga(e=>{var t,r;let i;!1!==this.constraints&&this.getAxisMotionValue(e)&&(this.constraints[e]=(t=n.layoutBox[e],r=this.constraints[e],i={},void 0!==r.min&&(i.min=r.min-t.min),void 0!==r.max&&(i.max=r.max-t.min),i))})}resolveRefConstraints(){var e;let{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!f0(t))return!1;let r=t.current;cz(null!==r,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");let{projection:i}=this.visualElement;if(!i||!i.layout)return!1;i.root&&(i.root.scroll=void 0,i.root.updateScroll());let o=function(e,t,n){let r=fH(e,n),{scroll:i}=t;return i&&(fE(r.x,i.offset.x),fE(r.y,i.offset.y)),r}(r,i.root,this.visualElement.getTransformPagePoint()),s=(e=i.layout.layoutBox,{x:gW(e.x,o.x),y:gW(e.y,o.y)});if(n){let e=n(function({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}(s));this.hasMutatedConstraints=!!e,e&&(s=fb(e))}return s}startAnimation(e){let{drag:t,dragMomentum:n,dragElastic:r,dragTransition:i,dragSnapToOrigin:o,onDragTransitionEnd:s}=this.getProps(),a=this.constraints||{};return Promise.all(ga(s=>{if(!gU(s,t,this.currentDirection))return;let l=a&&a[s]||{};(!0===o||o===s)&&(l={min:0,max:0});let d={type:"inertia",velocity:n?e[s]:0,bounceStiffness:r?200:1e6,bounceDamping:r?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...i,...l};return this.startAxisValueAnimation(s,d)})).then(s)}startAxisValueAnimation(e,t){let n=this.getAxisMotionValue(e);return f9(this.visualElement,e),n.start(p4(e,n,0,t,this.visualElement,!1))}stopAnimation(){ga(e=>this.getAxisMotionValue(e).stop())}getAxisMotionValue(e){let t=`_drag${e.toUpperCase()}`;return this.visualElement.getProps()[t]||this.visualElement.getValue(e,this.visualElement.latestValues[e]??0)}snapToCursor(e){ga(t=>{let{drag:n}=this.getProps();if(!gU(t,n,this.currentDirection))return;let{projection:r}=this.visualElement,i=this.getAxisMotionValue(t);if(r&&r.layout){let{min:n,max:o}=r.layout.layoutBox[t],s=i.get()||0;i.set(e[t]-fp(n,o,.5)+s)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:e,dragConstraints:t}=this.getProps(),{projection:n}=this.visualElement;if(!f0(t)||!n||!this.constraints)return;this.stopAnimation();let r={x:0,y:0};ga(e=>{let t=this.getAxisMotionValue(e);if(t&&!1!==this.constraints){var n,i;let o,s,a,l=t.get();r[e]=(n={min:l,max:l},i=this.constraints[e],o=.5,s=gu(n),(a=gu(i))>s?o=pz(i.min,i.max-s,n.min):s>a&&(o=pz(n.min,n.max-a,i.min)),u6(0,1,o))}});let{transformTemplate:i}=this.visualElement.getProps();this.visualElement.current.style.transform=i?i({},""):"none",n.root&&n.root.updateScroll(),n.updateLayout(),this.constraints=!1,this.resolveConstraints(),ga(t=>{if(!gU(t,e,null))return;let n=this.getAxisMotionValue(t),{min:i,max:o}=this.constraints[t];n.set(fp(i,o,r[t]))}),this.visualElement.render()}addListeners(){let e;if(!this.visualElement.current)return;gD.set(this.visualElement,this);let t=this.visualElement.current,n=gV(t,"pointerdown",e=>{let{drag:n,dragListener:r=!0}=this.getProps(),i=e.target,o=i!==t&&(gS.has(i.tagName)||!0===i.isContentEditable);n&&r&&!o&&this.start(e)}),r=()=>{var n,r,i;let o,s,{dragConstraints:a}=this.getProps();f0(a)&&a.current&&(this.constraints=this.resolveRefConstraints(),e||(n=t,r=a.current,o=gM(n,gZ(i=()=>this.scalePositionWithinConstraints())),s=gM(r,gZ(i)),e=()=>{o(),s()}))},{projection:i}=this.visualElement,o=i.addEventListener("measure",r);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),hi.read(r);let s=gl(window,"resize",()=>this.scalePositionWithinConstraints()),a=i.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(ga(t=>{let n=this.getAxisMotionValue(t);n&&(this.originPoint[t]+=e[t].translate,n.set(n.get()+e[t].translate))}),this.visualElement.render())});return()=>{s(),n(),o(),a&&a(),e&&e()}}getProps(){let e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:n=!1,dragPropagation:r=!1,dragConstraints:i=!1,dragElastic:o=.35,dragMomentum:s=!0}=e;return{...e,drag:t,dragDirectionLock:n,dragPropagation:r,dragConstraints:i,dragElastic:o,dragMomentum:s}}}function gZ(e){let t=!0;return()=>{if(t){t=!1;return}e()}}function gU(e,t,n){return(!0===t||t===e)&&(null===n||n===e)}let gq=e=>(t,n)=>{e&&hi.update(()=>e(t,n),!1,!0)},gG={hasAnimatedSinceResize:!0,hasEverUpdated:!1};var gY=np;let gX=!1;class gK extends gY.Component{componentDidMount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:n,layoutId:r}=this.props,{projection:i}=e;i&&(t.group&&t.group.add(i),n&&n.register&&r&&n.register(i),gX&&i.root.didUpdate(),i.addEventListener("animationComplete",()=>{this.safeToRemove()}),i.setOptions({...i.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),gG.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){let{layoutDependency:t,visualElement:n,drag:r,isPresent:i}=this.props,{projection:o}=n;return o&&(o.isPresent=i,e.layoutDependency!==t&&o.setOptions({...o.options,layoutDependency:t}),gX=!0,r||e.layoutDependency!==t||void 0===t||e.isPresent!==i?o.willUpdate():this.safeToRemove(),e.isPresent!==i&&(i?o.promote():o.relegate()||hi.postRender(()=>{let e=o.getStack();e&&e.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{visualElement:e,layoutAnchor:t}=this.props,{projection:n}=e;n&&(n.options.layoutAnchor=t,n.root.didUpdate(),hB.postRender(()=>{!n.currentAnimation&&n.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:n}=this.props,{projection:r}=e;gX=!0,r&&(r.scheduleCheckAfterUnmount(),t&&t.group&&t.group.remove(r),n&&n.deregister&&n.deregister(r))}safeToRemove(){let{safeToRemove:e}=this.props;e&&e()}render(){return null}}function gJ(e){let[t,n]=uQ(),r=(0,gY.useContext)(uW);return(0,W.jsx)(gK,{...e,layoutGroup:r,switchLayoutGroup:(0,gY.useContext)(f1),isPresent:t,safeToRemove:n})}let gQ=fc.length,g1=e=>"string"==typeof e?parseFloat(e):e,g0=e=>"number"==typeof e||cu.test(e);function g5(e,t){return void 0!==e[t]?e[t]:e.borderRadius}let g2=g6(0,.5,pO),g3=g6(.5,.95,he);
11function g6(e,t,n){return r=>r<e?0:r>t?1:n(pz(e,t,r))}function g4(e,t){e.min=t.min,e.max=t.max}function g8(e,t){g4(e.x,t.x),g4(e.y,t.y)}function g9(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function g7(e,t,n,r,i){return e-=t,e=r+1/n*(e-r),void 0!==i&&(e=r+1/i*(e-r)),e}function me(e,t,[n,r,i],o,s){!function(e,t=0,n=1,r=.5,i,o=e,s=e){if(cd.test(t)&&(t=parseFloat(t),t=fp(s.min,s.max,t/100)-s.min),"number"!=typeof t)return;let a=fp(o.min,o.max,r);e===o&&(a-=t),e.min=g7(e.min,t,n,a,i),e.max=g7(e.max,t,n,a,i)}(e,t[n],t[r],t[i],t.scale,o,s)}let mt=["x","scaleX","originX"],mn=["y","scaleY","originY"];function mr(e,t,n,r){me(e.x,t,mt,n?n.x:void 0,r?r.x:void 0),me(e.y,t,mn,n?n.y:void 0,r?r.y:void 0)}function mi(e){return 0===e.translate&&1===e.scale}function mo(e){return mi(e.x)&&mi(e.y)}function ms(e,t){return e.min===t.min&&e.max===t.max}function ma(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function ml(e,t){return ma(e.x,t.x)&&ma(e.y,t.y)}function md(e){return gu(e.x)/gu(e.y)}function mu(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class mc{constructor(){this.members=[]}add(e){hb(this.members,e);for(let t=this.members.length-1;t>=0;t--){let n=this.members[t];if(n===e||n===this.lead||n===this.prevLead)continue;let r=n.instance;r&&!1!==r.isConnected||n.snapshot||(hx(this.members,n),n.unmount())}e.scheduleRender()}remove(e){if(hx(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){let e=this.members[this.members.length-1];e&&this.promote(e)}}relegate(e){for(let t=this.members.indexOf(e)-1;t>=0;t--){let e=this.members[t];if(!1!==e.isPresent&&e.instance?.isConnected!==!1)return this.promote(e),!0}return!1}promote(e,t){let n=this.lead;if(e!==n&&(this.prevLead=n,this.lead=e,e.show(),n)){n.updateSnapshot(),e.scheduleRender();let{layoutDependency:r}=n.options,{layoutDependency:i}=e.options;(void 0===r||r!==i)&&(e.resumeFrom=n,t&&(n.preserveOpacity=!0),n.snapshot&&(e.snapshot=n.snapshot,e.snapshot.latestValues=n.animationValues||n.latestValues),e.root?.isUpdating&&(e.isLayoutDirty=!0)),!1===e.options.crossfade&&n.hide()}}exitAnimationComplete(){this.members.forEach(e=>{e.options.onExitComplete?.(),e.resumingFrom?.options.onExitComplete?.()})}scheduleRender(){this.members.forEach(e=>e.instance&&e.scheduleRender(!1))}removeLeadSnapshot(){this.lead?.snapshot&&(this.lead.snapshot=void 0)}}let mh=(e,t)=>e.depth-t.depth;class mf{constructor(){this.children=[],this.isDirty=!1}add(e){hb(this.children,e),this.isDirty=!0}remove(e){hx(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(mh),this.isDirty=!1,this.children.forEach(e)}}let mp=["","X","Y","Z"],mg=0;function mm(e,t,n,r){let{latestValues:i}=t;i[e]&&(n[e]=i[e],t.setStaticValue(e,0),r&&(r[e]=0))}function mv({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(e={},n=t?.()){this.id=mg++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,this.nodes.forEach(mb),this.nodes.forEach(mR),this.nodes.forEach(mV),this.nodes.forEach(mx)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=e,this.root=n?n.root||n:this,this.path=n?[...n.path,n]:[],this.parent=n,this.depth=n?n.depth+1:0;for(let e=0;e<this.path.length;e++)this.path[e].shouldResetTransform=!0;this.root===this&&(this.nodes=new mf)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new hC),this.eventHandlers.get(e).add(t)}notifyListeners(e,...t){let n=this.eventHandlers.get(e);n&&n.notify(...t)}hasListeners(e){return this.eventHandlers.has(e)}mount(t){if(this.instance)return;this.isSVG=gm(t)&&!(gm(t)&&"svg"===t.tagName),this.instance=t;let{layoutId:n,layout:r,visualElement:i}=this.options;if(i&&!i.current&&i.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(r||n)&&(this.isLayoutDirty=!0),e){let n,r=0,i=()=>this.root.updateBlockedByResize=!1;hi.read(()=>{r=window.innerWidth}),e(t,()=>{let e=window.innerWidth;if(e!==r){let t,o;r=e,this.root.updateBlockedByResize=!0,n&&n(),t=hN.now(),o=({timestamp:e})=>{let n=e-t;n>=250&&(ho(o),i(n-250))},hi.setup(o,!0),n=()=>ho(o),gG.hasAnimatedSinceResize&&(gG.hasAnimatedSinceResize=!1,this.nodes.forEac
11h(mE))}})}n&&this.root.registerSharedNode(n,this),!1!==this.options.animate&&i&&(n||r)&&this.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t,hasRelativeLayoutChanged:n,layout:r})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let o=this.options.transition||i.getDefaultTransition()||mI,{onLayoutAnimationStart:s,onLayoutAnimationComplete:a}=i.getProps(),l=!this.targetLayout||!ml(this.targetLayout,r),d=!t&&n;if(this.options.layoutRoot||this.resumeFrom||d||t&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);let t={...f4(o,"layout"),onPlay:s,onComplete:a};(i.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t),this.setAnimationOrigin(e,d,t.path)}else t||mE(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=r})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let e=this.getStack();e&&e.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),ho(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){!this.isUpdateBlocked()&&(this.isUpdating=!0,this.nodes&&this.nodes.forEach(m_),this.animationId++)}getTransformTemplate(){let{visualElement:e}=this.options;return e&&e.getProps().transformTemplate}willUpdate(e=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&function e(t){if(t.hasCheckedOptimisedAppear=!0,t.root===t)return;let{visualElement:n}=t.options;if(!n)return;let r=n.props[fQ];if(window.MotionHasOptimisedAnimation(r,"transform")){let{layout:e,layoutId:n}=t.options;window.MotionCancelOptimisedAnimation(r,"transform",hi,!(e||n))}let{parent:i}=t;i&&!i.hasCheckedOptimisedAppear&&e(i)}(this),this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let e=0;e<this.path.length;e++){let t=this.path[e];t.shouldResetTransform=!0,("string"==typeof t.latestValues.x||"string"==typeof t.latestValues.y)&&(t.isLayoutDirty=!0),t.updateScroll("snapshot"),t.options.layoutRoot&&t.willUpdate(!1)}let{layoutId:t,layout:n}=this.options;if(void 0===t&&!n)return;let r=this.getTransformTemplate();this.prevTransformTemplateValue=r?r(this.latestValues,""):void 0,this.updateSnapshot(),e&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){let e=this.updateBlockedByResize;this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),e&&this.nodes.forEach(mj),this.nodes.forEach(mk);return}if(this.animationId<=this.animationCommitId)return void this.nodes.forEach(mM);this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(mL),this.nodes.forEach(mS),this.nodes.forEach(my),this.nodes.forEach(mw)):this.nodes.forEach(mM),this.clearAllSnapshots();let e=hN.now();hs.delta=u6(0,1e3/60,e-hs.timestamp),hs.timestamp=e,hs.isProcessing=!0,ha.update.process(hs),ha.preRender.process(hs),ha.render.process(hs),hs.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,hB.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(mC),this.sharedNodes.forEach(mH)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,hi.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){hi.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure(),!this.snapshot||gu(this.snapshot.measuredBox.x)||gu(this.snapshot.measuredBox.y)||(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let e=0;e<this.path.length;e++)this.path[e].updateScroll();let e=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected||(this.layoutCorrected=cT()),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:t}=this.options;t&&t.notify("LayoutMeasure",this.layout.layoutBox,e?e.layoutBox:void 0)}updateScroll(e="measure"){let t=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===e&&(t=!1),t&&this.instance){let t=r(this.instance);this.scroll={animationId:this.root.animationId,phase:e,isRoot:t,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:t}}}resetTransform(){if(!i)return;let e=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,t=this.projectionDelta&&!mo(this.projectionDelta),n=this.getTransformTemplate(),r=n?n(this.latestValues,""):void 0,o=r!==this.prevTransformTemplateValue;e&&this.instance&&(t||fk(this.latestValues)||o)&&(i(this.instance,r),this.shouldResetTransform=!1,this.scheduleRender())}measure(e=!0){var t;let n=this.measurePageBox(),r=this.removeElementScroll(n);return e&&(r=this.removeTransform(r)),mB((t=r).x),mB(t.y),{animationId:this.root.animationId,measuredBox:n,layoutBox:r,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:e}=this.options;if(!e)return cT();let t=e.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(mN))){let{scroll:e}=this.root;e&&(fE(t.x,e.offset.x),fE(t.y,e.offset.y))}return t}removeElementScroll(e){let t=cT();if(g8(t,e),this.scroll?.wasRoot)return t;for(let n=0;n<this.path.length;n++){let r=this.path[n],{scroll:i,options:o}=r;r!==this.root&&i&&o.layoutScroll&&(i.wasRoot&&g8(t,e),fE(t.x,i.offset.x),fE(t.y,i.offset.y))}return t}applyTransform(e,t=!1,n){let r=n||cT();g8(r,e);for(let e=0;e<this.path.length;e++){let n=this.path[e];!t&&n.options.layoutScroll&&n.scroll&&n!==n.root&&(fE(r.x,-n.scroll.offset.x),fE(r.y,-n.scroll.offset.y)),fk(n.latestValues)&&f_(r,n.latestValues,n.layout?.layoutBox)}return fk(this.latestValues)&&f_(r,this.latestValues,this.layout?.layoutBox),r}removeTransform(e){let t=cT();g8(t,e);for(let e=0;e<this.path.length;e++){let n,r=this.path[e];fk(r.latestValues)&&(r.instance&&(fC(r.latestValues)&&r.updateSnapshot(),g8(n=cT(),r.measurePageBox())),mr(t,r.latestValues,r.snapshot?.layoutBox,n))}return fk(this.latestValues)&&mr(t,this.latestValues),t}setTargetDelta(e){this.targetDelta=e,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(e){this.options={...this.options,...e,crossfade:void 0===e.crossfade||e.crossfade}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==hs.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(e=!1){let t=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=t.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=t.
11isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=t.isSharedProjectionDirty);let n=!!this.resumingFrom||this!==t;if(!(e||n&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:r,layoutId:i}=this.options;if(!this.layout||!(r||i))return;this.resolvedRelativeTargetAt=hs.timestamp;let o=this.getClosestProjectingParent();if(o&&this.linkedParentVersion!==o.layoutVersion&&!o.options.layoutRoot&&this.removeRelativeTarget(),this.targetDelta||this.relativeTarget||(!1!==this.options.layoutAnchor&&o&&o.layout?this.createRelativeTarget(o,this.layout.layoutBox,o.layout.layoutBox):this.removeRelativeTarget()),this.relativeTarget||this.targetDelta){if(this.target||(this.target=cT(),this.targetWithTransforms=cT()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target){var s,a,l,d;this.forceRelativeParentToResolveTarget(),s=this.target,a=this.relativeTarget,l=this.relativeParent.target,d=this.options.layoutAnchor||void 0,gf(s.x,a.x,l.x,d?.x),gf(s.y,a.y,l.y,d?.y)}else this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):g8(this.target,this.layout.layoutBox),fS(this.target,this.targetDelta)):g8(this.target,this.layout.layoutBox);this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,!1!==this.options.layoutAnchor&&o&&!!o.resumingFrom==!!this.resumingFrom&&!o.options.layoutScroll&&o.target&&1!==this.animationProgress?this.createRelativeTarget(o,this.target,o.target):this.relativeParent=this.relativeTarget=void 0)}}getClosestProjectingParent(){if(!(!this.parent||fC(this.parent.latestValues)||fj(this.parent.latestValues)))if(this.parent.isProjecting())return this.parent;else return this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(e,t,n){this.relativeParent=e,this.linkedParentVersion=e.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=cT(),this.relativeTargetOrigin=cT(),gg(this.relativeTargetOrigin,t,n,this.options.layoutAnchor||void 0),g8(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){let e=this.getLead(),t=!!this.resumingFrom||this!==e,n=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(n=!1),t&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(n=!1),this.resolvedRelativeTargetAt===hs.timestamp&&(n=!1),n)return;let{layout:r,layoutId:i}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(r||i))return;g8(this.layoutCorrected,this.layout.layoutBox);let o=this.treeScale.x,s=this.treeScale.y;!function(e,t,n,r=!1){let i,o,s=n.length;if(s){t.x=t.y=1;for(let a=0;a<s;a++){o=(i=n[a]).projectionDelta;let{visualElement:s}=i.options;(!s||!s.props.style||"contents"!==s.props.style.display)&&(r&&i.options.layoutScroll&&i.scroll&&i!==i.root&&(fE(e.x,-i.scroll.offset.x),fE(e.y,-i.scroll.offset.y)),o&&(t.x*=o.x.scale,t.y*=o.y.scale,fS(e,o)),r&&fk(i.latestValues)&&f_(e,i.latestValues,i.layout?.layoutBox))}t.x<1.0000000000001&&t.x>.999999999999&&(t.x=1),t.y<1.0000000000001&&t.y>.999999999999&&(t.y=1)}}(this.layoutCorrected,this.treeScale,this.path,t),e.layout&&!e.target&&(1!==this.treeScale.x||1!==this.treeScale.y)&&(e.target=e.layout.layoutBox,e.targetWithTransforms=cT());let{target:a}=e;if(!a){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(g9(this.prevProjectionDelta.x,this.projectionDelta.x),g9(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),gh(this.projectionDelta,this.layoutCorrected,a,this.latestValues),this.treeScale.x===o&&this.treeScale.y===s&&mu(this.projectionDelta.x,this.prevProjectionDelta.x)&&mu(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",a))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(e=!0){if(this.options.visualElement?.scheduleRender(),e){let e=this.getStack();e&&e.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=c$(),this.projectionDelta=c$(),this.projectionDeltaWithTransform=c$()}setAnimationOrigin(e,t=!1,n){let r,i=this.snapshot,o=i?i.latestValues:{},s={...this.latestValues},a=c$();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;let l=cT(),d=(i?i.source:void 0)!==(this.layout?this.layout.source:void 0),u=this.getStack(),c=!u||u.members.length<=1,h=!!(d&&!c&&!0===this.options.crossfade&&!this.path.some(mT));this.animationProgress=0;let f=n?.interpolateProjection(e);this.mixTargetDelta=t=>{let n=t/1e3,i=f?.(n);if(i?(a.x.translate=i.x,a.x.scale=fp(e.x.scale,1,n),a.x.origin=e.x.origin,a.x.originPoint=e.x.originPoint,a.y.translate=i.y,a.y.scale=fp(e.y.scale,1,n),a.y.origin=e.y.origin,a.y.originPoint=e.y.originPoint):(m$(a.x,e.x,n),m$(a.y,e.y,n)),this.setTargetDelta(a),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var u,p,g,m,v,y;gg(l,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),g=this.relativeTarget,m=this.relativeTargetOrigin,v=l,y=n,mA(g.x,m.x,v.x,y),mA(g.y,m.y,v.y,y),r&&(u=this.relativeTarget,p=r,ms(u.x,p.x)&&ms(u.y,p.y))&&(this.isProjectionDirty=!1),r||(r=cT()),g8(r,this.relativeTarget)}d&&(this.animationValues=s,function(e,t,n,r,i,o){i?(e.opacity=fp(0,n.opacity??1,g2(r)),e.o
11pacityExit=fp(t.opacity??1,0,g3(r))):o&&(e.opacity=fp(t.opacity??1,n.opacity??1,r));for(let i=0;i<gQ;i++){let o=fc[i],s=g5(t,o),a=g5(n,o);(void 0!==s||void 0!==a)&&(s||(s=0),a||(a=0),0===s||0===a||g0(s)===g0(a)?(e[o]=Math.max(fp(g1(s),g1(a),r),0),(cd.test(a)||cd.test(s))&&(e[o]+="%")):e[o]=a)}(t.rotate||n.rotate)&&(e.rotate=fp(t.rotate||0,n.rotate||0,r))}(s,o,this.latestValues,n,h,c)),i&&void 0!==i.rotate&&(this.animationValues||(this.animationValues=s),this.animationValues.pathRotation=i.rotate),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=n},this.mixTargetDelta(1e3*!!this.options.layoutRoot)}startAnimation(e){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(ho(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=hi.update(()=>{var t,n,r;let i;gG.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=hZ(0)),this.motionValue.jump(0,!1),this.currentAnimation=(t=this.motionValue,n=[0,1e3],r={...e,velocity:0,isSync:!0,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onComplete:()=>{e.onComplete&&e.onComplete(),this.completeAnimation()}},(i=cI(t)?t:hZ(t)).start(p4("",i,n,r)),i.animation),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let e=this.getStack();e&&e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let e=this.getLead(),{targetWithTransforms:t,target:n,layout:r,latestValues:i}=e;if(t&&n&&r){if(this!==e&&this.layout&&r&&mW(this.options.animationType,this.layout.layoutBox,r.layoutBox)){n=this.target||cT();let t=gu(this.layout.layoutBox.x);n.x.min=e.target.x.min,n.x.max=n.x.min+t;let r=gu(this.layout.layoutBox.y);n.y.min=e.target.y.min,n.y.max=n.y.min+r}g8(t,n),f_(t,i),gh(this.projectionDeltaWithTransform,this.layoutCorrected,t,i)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new mc),this.sharedNodes.get(e).add(t);let n=t.options.initialPromotionConfig;t.promote({transition:n?n.transition:void 0,preserveFollowOpacity:n&&n.shouldPreserveFollowOpacity?n.shouldPreserveFollowOpacity(t):void 0})}isLead(){let e=this.getStack();return!e||e.lead===this}getLead(){let{layoutId:e}=this.options;return e&&this.getStack()?.lead||this}getPrevLead(){let{layoutId:e}=this.options;return e?this.getStack()?.prevLead:void 0}getStack(){let{layoutId:e}=this.options;if(e)return this.root.sharedNodes.get(e)}promote({needsReset:e,transition:t,preserveFollowOpacity:n}={}){let r=this.getStack();r&&r.promote(this,n),e&&(this.projectionDelta=void 0,this.needsReset=!0),t&&this.setOptions({transition:t})}relegate(){let e=this.getStack();return!!e&&e.relegate(this)}resetSkewAndRotation(){let{visualElement:e}=this.options;if(!e)return;let t=!1,{latestValues:n}=e;if((n.z||n.rotate||n.rotateX||n.rotateY||n.rotateZ||n.skewX||n.skewY)&&(t=!0),!t)return;let r={};n.z&&mm("z",e,r,this.animationValues);for(let t=0;t<mp.length;t++)mm(`rotate${mp[t]}`,e,r,this.animationValues),mm(`skew${mp[t]}`,e,r,this.animationValues);for(let t in e.render(),r)e.setStaticValue(t,r[t]),this.animationValues&&(this.animationValues[t]=r[t]);e.scheduleRender()}applyProjectionStyles(e,t){if(!this.instance||this.isSVG)return;if(!this.isVisible){e.visibility="hidden";return}let n=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,e.visibility="",e.opacity="",e.pointerEvents=fZ(t?.pointerEvents)||"",e.transform=n?n(this.latestValues,""):"none";return}let r=this.getLead();if(!this.projectionDelta||!this.layout||!r.target){this.options.layoutId&&(e.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,e.pointerEvents=fZ(t?.pointerEvents)||""),this.hasProjected&&!fk(this.latestValues)&&(e.transform=n?n({},""):"none",this.hasProjected=!1);return}e.visibility="";let i=r.animationValues||r.latestValues;this.applyTransformsToTarget();
11let o=function(e,t,n){let r="",i=e.x.translate/t.x,o=e.y.translate/t.y,s=n?.z||0;if((i||o||s)&&(r=`translate3d(${i}px, ${o}px, ${s}px) `),(1!==t.x||1!==t.y)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){let{transformPerspective:e,rotate:t,pathRotation:i,rotateX:o,rotateY:s,skewX:a,skewY:l}=n;e&&(r=`perspective(${e}px) ${r}`),t&&(r+=`rotate(${t}deg) `),i&&(r+=`rotate(${i}deg) `),o&&(r+=`rotateX(${o}deg) `),s&&(r+=`rotateY(${s}deg) `),a&&(r+=`skewX(${a}deg) `),l&&(r+=`skewY(${l}deg) `)}let a=e.x.scale*t.x,l=e.y.scale*t.y;return(1!==a||1!==l)&&(r+=`scale(${a}, ${l})`),r||"none"}(this.projectionDeltaWithTransform,this.treeScale,i);n&&(o=n(i,o)),e.transform=o;let{x:s,y:a}=this.projectionDelta;for(let t in e.transformOrigin=`${100*s.origin}% ${100*a.origin}% 0`,r.animationValues?e.opacity=r===this?i.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:i.opacityExit:e.opacity=r===this?void 0!==i.opacity?i.opacity:"":void 0!==i.opacityExit?i.opacityExit:0,fg){if(void 0===i[t])continue;let{correct:n,applyTo:s,isCSSVariable:a}=fg[t],l="none"===o?i[t]:n(i[t],r);if(s){let t=s.length;for(let n=0;n<t;n++)e[s[n]]=l}else a?this.options.visualElement.renderState.vars[t]=l:e[t]=l}this.options.layoutId&&(e.pointerEvents=r===this?fZ(t?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(e=>e.currentAnimation?.stop()),this.root.nodes.forEach(mk),this.root.sharedNodes.clear()}}}function my(e){e.updateLayout()}function mw(e){let t=e.resumeFrom?.snapshot||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners("didUpdate")){let{layoutBox:n,measuredBox:r}=e.layout,{animationType:i}=e.options,o=t.source!==e.layout.source;if("size"===i)ga(e=>{let r=o?t.measuredBox[e]:t.layoutBox[e],i=gu(r);r.min=n[e].min,r.max=r.min+i});else if("x"===i||"y"===i){let e="x"===i?"y":"x";g4(o?t.measuredBox[e]:t.layoutBox[e],n[e])}else mW(i,t.layoutBox,n)&&ga(r=>{let i=o?t.measuredBox[r]:t.layoutBox[r],s=gu(n[r]);i.max=i.min+s,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[r].max=e.relativeTarget[r].min+s)});let s=c$();gh(s,n,t.layoutBox);let a=c$();o?gh(a,e.applyTransform(r,!0),t.measuredBox):gh(a,n,t.layoutBox);let l=!mo(s),d=!1;if(!e.resumeFrom){let r=e.getClosestProjectingParent();if(r&&!r.resumeFrom){let{snapshot:i,layout:o}=r;if(i&&o){let s=e.options.layoutAnchor||void 0,a=cT();gg(a,t.layoutBox,i.layoutBox,s);let l=cT();gg(l,n,o.layoutBox,s),ml(a,l)||(d=!0),r.options.layoutRoot&&(e.relativeTarget=l,e.relativeTargetOrigin=a,e.relativeParent=r)}}}e.notifyListeners("didUpdate",{layout:n,snapshot:t,delta:a,layoutDelta:s,hasLayoutChanged:l,hasRelativeLayoutChanged:d})}else if(e.isLead()){let{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function mb(e){e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function mx(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function mC(e){e.clearSnapshot()}function mk(e){e.clearMeasurements()}function mj(e){e.isLayoutDirty=!0,e.updateLayout()}function mM(e){e.isLayoutDirty=!1}function mL(e){e.isAnimationBlocked&&e.layout&&!e.isLayoutDirty&&(e.snapshot=e.layout,e.isLayoutDirty=!0)}function mS(e){let{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function mE(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function mR(e){e.resolveTargetDelta()}function mV(e){e.calcProjection()}function m_(e){e.resetSkewAndRotation()}function mH(e){e.removeLeadSnapshot()}function m$(e,t,n){e.translate=fp(t.translate,0,n),e.scale=fp(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function mA(e,t,n,r){e.min=fp(t.min,n.min,r),e.max=fp(t.max,n.max,r)}function mT(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}let mI={duration:.45,ease:[.4,0,.1,1]},mP=e=>"u">typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),mO=mP("applewebkit/")&&!mP("chrome/")?Math.round:he;function mB(e){e.min=mO(e.min),e.max=mO(e.max)}function mW(e,t,n){return"position"===e||"preserve-aspect"===e&&!(.2>=Math.abs(md(t)-md(n)))}function mN(e){return e!==e.root&&e.scroll?.wasRoot}let mz=mv({attachResizeListener:(e,t)=>gl(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),mD={current:void 0},mF=mv({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>
11{if(!mD.current){let e=new mz({});e.mount(window),e.setOptions({layoutScroll:!0}),mD.current=e}return mD.current},resetTransform:(e,t)=>{e.style.transform=void 0!==t?t:"none"},checkIsScrollRoot:e=>"fixed"===window.getComputedStyle(e).position});function mZ(e,t){let n=gv(e),r=new AbortController;return[n,{passive:!0,...t,signal:r.signal},()=>r.abort()]}function mU(e,t,n){let{props:r}=e;e.animationState&&r.whileHover&&e.animationState.setActive("whileHover","Start"===n);let i=r["onHover"+n];i&&hi.postRender(()=>i(t,gR(t)))}let mq=(e,t)=>!!t&&(e===t||mq(e,t.parentElement)),mG=new WeakSet;function mY(e){return t=>{"Enter"===t.key&&e(t)}}function mX(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}function mK(e){return gE(e)&&!(gd.x||gd.y)}let mJ=new WeakSet;function mQ(e,t,n){let{props:r}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&r.whileTap&&e.animationState.setActive("whileTap","Start"===n);let i=r["onTap"+("End"===n?"":n)];i&&hi.postRender(()=>i(t,gR(t)))}let m1=new WeakMap,m0=new WeakMap,m5=e=>{let t=m1.get(e.target);t&&t(e)},m2=e=>{e.forEach(m5)},m3={some:0,all:1},m6=function(e,t){if("u"<typeof Proxy)return f5;let n=new Map,r=(n,r)=>f5(n,r,e,t);return new Proxy((e,t)=>r(e,t),{get:(i,o)=>"create"===o?r:(n.has(o)||n.set(o,f5(o,void 0,e,t)),n.get(o))})}({animation:{Feature:class extends f2{constructor(e){super(e),e.animationState||(e.animationState=function(e){let t=t=>Promise.all(t.map(({animation:t,options:n})=>(function(e,t,n={}){let r;if(e.notify("AnimationStart",t),Array.isArray(t))r=Promise.all(t.map(t=>p7(e,t,n)));else if("string"==typeof t)r=p7(e,t,n);else{let i="function"==typeof t?f3(e,t,n.custom):t;r=Promise.all(p8(e,i,n))}return r.then(()=>{e.notify("AnimationComplete",t)})})(e,t,n))),n=go(),r=!0,i=!1,o=t=>(n,r)=>{let i=f3(e,r,"exit"===t?e.presenceContext?.custom:void 0);if(i){let{transition:e,transitionEnd:t,...r}=i;n={...n,...r,...t}}return n};function s(s){let{props:a}=e,l=function e(t){if(!t)return;if(!t.isControllingVariants){let n=t.parent&&e(t.parent)||{};return void 0!==t.props.initial&&(n.initial=t.props.initial),n}let n={};for(let e=0;e<ge;e++){let r=hK[e],i=t.props[r];(hY(i)||!1===i)&&(n[r]=i)}return n}(e.parent)||{},d=[],u=new Set,c={},h=1/0;for(let t=0;t<gr;t++){var f,p;let g=gn[t],m=n[g],v=void 0!==a[g]?a[g]:l[g],y=hY(v),w=g===s?m.isActive:null;!1===w&&(h=t);let b=v===l[g]&&v!==a[g]&&y;if(b&&(r||i)&&e.manuallyAnimateOnMount&&(b=!1),m.protectedKeys={...c},!m.isActive&&null===w||!v&&!m.prevProp||hG(v)||"boolean"==typeof v)continue;if("exit"===g&&m.isActive&&!0!==w){m.prevResolvedValues&&(c={...c,...m.prevResolvedValues});continue}let x=(f=m.prevProp,"string"==typeof(p=v)?p!==f:!!Array.isArray(p)&&!gt(p,f)),C=x||g===s&&m.isActive&&!b&&y||t>h&&y,k=!1,j=Array.isArray(v)?v:[v],M=j.reduce(o(g),{});!1===w&&(M={});let{prevResolvedValues:L={}}=m,S={...L,...M},E=t=>{C=!0,u.has(t)&&(k=!0,u.delete(t)),m.needsAnimating[t]=!0;let n=e.getValue(t);n&&(n.liveStyle=!1)};for(let e in S){let t=M[e],n=L[e];if(!c.hasOwnProperty(e))(f8(t)&&f8(n)?!gt(t,n)||x:t!==n)?null!=t?E(e):u.add(e):void 0!==t&&u.has(e)?E(e):m.protectedKeys[e]=!0}m.prevProp=v,m.prevResolvedValues=M,m.isActive&&(c={...c,...M}),(r||i)&&e.blockInitialAnimation&&(C=!1);let R=b&&x,V=!R||k;C&&V&&d.push(...j.map(t=>{let n={type:g};if("string"==typeof t&&(r||i)&&!R&&e.manuallyAnimateOnMount&&e.parent){let{parent:r}=e,i=f3(r,t);if(r.enteringChildren&&i){let{delayChildren:t}=i.transition||{};n.delay=p9(r.enteringChildren,e,t)}}return{animation:t,options:n}}))}if(u.size){let t={};if("boolean"!=typeof a.initial){let n=f3(e,Array.isArray(a.initial)?a.initial[0]:a.initial);n&&n.transition&&(t.transition=n.transition)}u.forEach(n=>{let r=e.getBaseTarget(n),i=e.getValue(n);i&&(i.liveStyle=!0),t[n]=r??null}),d.push({animation:t})}let g=!!d.length;return r&&(!1===a.initial||a.initial===a.animate)&&!e.manuallyAnimateOnMount&&(g=!1),r=!1,i=!1,g?t(d):Promise.resolve()}return{animateChanges:s,setActive:function(t,r){if(n[t].isActive===r)return Promise.resolve();e.variantChildren?.forEach(e=>e.animationState?.setActive(t,r)),n[t].isActive=r;let i=s(t);for(let e in n)n[e].protectedKeys={};return i},setAnimateFunction:function(n){t=n(e)},getState:()=>n,reset:()=>{n=go(),i=!0}}}(e))}updateAnimationControlsSubscription(){let{animate:e}=this.node.getProps();hG(e)&&(this.unmountControls=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:e}=this.node.getProps(),{animate:t}=this.node.prevProps||{};e!==t&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}},exit:{Feature:class extends f2{constructor(){super(...arguments),this.id=gs++,this.isExitComplete=!1}update(){if(!this.node.presenceContext)return;let{isPresent:e,onExitComplete:t}=this.node.presenceContext,{isPresent:n}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===n)return;if(e&&!1===n){if(this.isExitComplete){let{initial:e,custom:t}=this.node.getProps();if("string"==typeof e||"object"==typeof e&&null!==e&&!Array.isArray(e)){let n=f3(this.node,e,t);if(n){let{transition:e,transitionEnd:t,...r}=n;for(let e in r)this.node.getValue(e)?.jump(r[e])}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive("exit",!1);this.isExitComplete=!1;return}let r=this.node.animationState.setActive("exit",!e);t&&!e&&r.then(()=>
11{this.isExitComplete=!0,t(this.id)})}mount(){let{register:e,onExitComplete:t}=this.node.presenceContext||{};t&&t(this.id),e&&(this.unmount=e(this.id))}unmount(){}}},inView:{Feature:class extends f2{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){var e;let t;this.stopObserver?.();let{viewport:n={}}=this.node.getProps(),{root:r,margin:i,amount:o="some",once:s}=n,a={root:r?r.current:void 0,rootMargin:i,threshold:"number"==typeof o?o:m3[o]},l=e=>{let{isIntersecting:t}=e;if(this.isInView===t||(this.isInView=t,s&&!t&&this.hasEnteredView))return;t&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",t);let{onViewportEnter:n,onViewportLeave:r}=this.node.getProps(),i=t?n:r;i&&i(e)};this.stopObserver=(e=this.node.current,t=function({root:e,...t}){let n=e||document;m0.has(n)||m0.set(n,{});let r=m0.get(n),i=JSON.stringify(t);return r[i]||(r[i]=new IntersectionObserver(m2,{root:e,...t})),r[i]}(a),m1.set(e,l),t.observe(e),()=>{m1.delete(e),t.unobserve(e)})}mount(){this.startObserver()}update(){if("u"<typeof IntersectionObserver)return;let{props:e,prevProps:t}=this.node;["amount","margin","root"].some(function({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}(e,t))&&this.startObserver()}unmount(){this.stopObserver?.(),this.hasEnteredView=!1,this.isInView=!1}}},tap:{Feature:class extends f2{mount(){let{current:e}=this.node;if(!e)return;let{globalTapTarget:t,propagate:n}=this.node.props;this.unmount=function(e,t,n={}){let[r,i,o]=mZ(e,n),s=e=>{let r=e.currentTarget;if(!mK(e)||mJ.has(e))return;mG.add(r),n.stopPropagation&&mJ.add(e);let o=t(r,e),s={...i,capture:!0},a=(e,t)=>{window.removeEventListener("pointerup",l,s),window.removeEventListener("pointercancel",d,s),mG.has(r)&&mG.delete(r),mK(e)&&"function"==typeof o&&o(e,{success:t})},l=e=>{a(e,r===window||r===document||n.useGlobalTarget||mq(r,e.target))},d=e=>{a(e,!1)};window.addEventListener("pointerup",l,s),window.addEventListener("pointercancel",d,s)};return r.forEach(e=>{((n.useGlobalTarget?window:e).addEventListener("pointerdown",s,i),uZ(e))&&(e.addEventListener("focus",e=>((e,t)=>{let n=e.currentTarget;if(!n)return;let r=mY(()=>{if(mG.has(n))return;mX(n,"down");let e=mY(()=>{mX(n,"up")});n.addEventListener("keyup",e,t),n.addEventListener("blur",()=>mX(n,"cancel"),t)});n.addEventListener("keydown",r,t),n.addEventListener("blur",()=>n.removeEventListener("keydown",r),t)})(e,i)),gL.has(e.tagName)||!0===e.isContentEditable||e.hasAttribute("tabindex")||(e.tabIndex=0))}),o}(e,(e,t)=>(mQ(this.node,t,"Start"),(e,{success:t})=>mQ(this.node,e,t?"End":"Cancel")),{useGlobalTarget:t,stopPropagation:n?.tap===!1})}unmount(){}}},focus:{Feature:class extends f2{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(":focus-visible")}catch(t){e=!0}e&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=f7(gl(this.node.current,"focus",()=>this.onFocus()),gl(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}},hover:{Feature:class extends f2{mount(){let{current:e}=this.node;e&&(this.unmount=function(e,t,n={}){let[r,i,o]=mZ(e,n);return r.forEach(e=>{let n,r=!1,o=!1,s=t=>{n&&(n(t),n=void 0),e.removeEventListener("pointerleave",l)},a=e=>{r=!1,window.removeEventListener("pointerup",a),window.removeEventListener("pointercancel",a),o&&(o=!1,s(e))},l=e=>{if("touch"!==e.pointerType){if(r){o=!0;return}s(e)}};e.addEventListener("pointerenter",r=>{if("touch"===r.pointerType||gd.x||gd.y)return;o=!1;let s=t(e,r);"function"==typeof s&&(n=s,e.addEventListener("pointerleave",l,i))},i),e.addEventListener("pointerdown",()=>{r=!0,window.addEventListener("pointerup",a,i),window.addEventListener("pointercancel",a,i)},i)}),o}(e,(e,t)=>(mU(this.node,t,"Start"),e=>mU(this.node,e,"End"))))}unmount(){}}},pan:{Feature:class extends f2{constructor(){super(...arguments),this.removePointerDownListener=he}onPointerDown(e){this.session=new gA(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:g_(this.node)})}createPanHandlers(){let{onPanSessionStart:e,onPanStart:t,onPan:n,onPanEnd:r}=this.node.getProps();return{onSessionStart:gq(e),onStart:gq(t),onMove:gq(n),onEnd:(e,t)=>{delete this.session,r&&hi.postRender(()=>r(e,t))}}}mount(){this.removePointerDownListener=gV(this.node.current,"pointerdown",e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}},drag:{Feature:class extends f2{constructor(e){super(e),this.removeGroupControls=he,this.removeListeners=he,this.controls=new gF(e)}mount(){let{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||he}update(){let{dragControls:e}=this.node.getProps(),{dragControls:t}=this.node.prevProps||{};e!==t&&(this.removeGroupControls(),e&&(this.removeGroupControls=e.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}},ProjectionNode:mF,MeasureLayout:gJ},layout:{ProjectionNode:mF,MeasureLayout:gJ}},(e,t)=>t.isSVG??fT(e)?new fw(t):new f$(t,{allowProjection:e!==np.Fragment}
11)),m4=(w={...k=void 0,color:{base:function(e){let t={};for(let n of nz)t[n]=function(e,t){let n=n5(e?.base?.["*"],e?.base?.[t]),r=n._hue||e?.base?.[t]?._hue||"gray";return{...n,_hue:r,avatar:nv.reduce((e,t)=>({...e,[t]:n5({_hue:t},n.avatar?.["*"],n.avatar?.[t])}),{}),badge:nD.reduce((t,i)=>({...t,[i]:{_hue:e?.base?.[i]?._hue||r,...n.badge?.["*"],...n.badge?.[i]}}),{})}}(e,n);return t}(y=n5(n1,k?.color)),button:function(e){let t={};for(let n of nZ)t[n]=function(e,t){let n={};for(let r of nD)n[r]=function(e,t,n){let r={};for(let i of nF)r[i]=function(e,t,n,r){let i=n5(e?.button?.[n]?.["*"]?.["*"],e?.button?.[n]?.[t]?.["*"],e?.button?.[n]?.["*"]?.[r],e?.button?.[n]?.[t]?.[r]),o=i._hue||e?.base?.[t]?._hue;return{...i,_hue:o,avatar:nv.reduce((e,t)=>({...e,[t]:n5({_hue:t},i.avatar?.["*"],i.avatar?.[t])}),{}),badge:nD.reduce((t,n)=>({...t,[n]:{_hue:e?.base?.[n]?._hue||o,...i.badge?.["*"],...i.badge?.[n]}}),{})}}(e,n,t,i);return r}(e,t,r);return n}(e,n);return t}(y),input:function(e){let t={};for(let n of nU)t[n]=function(e,t){let n={};for(let r of nq)n[r]=function(e,t,n){let r=n5(e?.input?.["*"]?.["*"],e?.
11input?.[t]?.["*"],e?.input?.["*"]?.[n],e?.input?.[t]?.[n]),i=r._hue||e?.input?.[t]?._hue;return{...r,_hue:i}}(e,t,r);return n}(e,n);return t}(y),selectable:function(e){let t={};for(let n of nD)t[n]=function(e,t){let n={_hue:e?.selectable?.[t]?._hue||e?.base?.[t]?._hue};for(let r of nF)n[r]=function(e,t,n){let r=n5(e?.selectable?.["*"]?.["*"],e?.selectable?.[t]?.["*"],e?.selectable?.["*"]?.[n],e?.selectable?.[t]?.[n]),i=r._hue||e?.base?.[t]?._hue;return{...r,_hue:i,avatar:nv.reduce((e,t)=>({...e,[t]:n5({_hue:t},r.avatar?.["*"],r.avatar?.[t])}),{}),badge:nD.reduce((t,n)=>({...t,[n]:{_hue:e?.base?.[n]?._hue||i,...r.badge?.["*"],...r.badge?.[n]}}),{})}}(e,t,r);return n}(e,n);return t}(y),syntax:y.syntax}},nA(b={},"light",()=>n3({scheme:"light"},w)),nA(b,"dark",()=>n3({scheme:"dark"},w)),nO({_version:2,avatar:(void 0)??nw,button:(void 0)??nb,card:(void 0)??nx,color:(h=b,V=void 0,f=V?.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"}}},nA(p={},"light",()=>ru(f,h.light)),nA(p,"dark",()=>ru(f,h.dark)),p),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}
11,{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)??nk,layer:(void 0)??nC,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"}}}})),m8=[],m9={},m7={initial:{scale:.97,willChange:"transform"},hidden:{opacity:0},visible:{opacity:1,transition:{when:"beforeChildren",duration:.1}},scaleIn:{scale:1},scaleOut:{scale:.97}},ve={hidden:{opacity:0},visible:{opacity:1}},vt={type:"spring",visualDuration:.2,bounce:.25};function vn(e){return e instanceof Node&&e.nodeType===Node.ELEMENT_NODE}function vr(e){return vn(e)&&"A"===e.nodeName}function vi(e){return vn(e)&&"BUTTON"===e.nodeName}function vo(e,t){return e.contains(t)||e===t}function vs(e){return 0===e?0:`${e/16}rem`}function va(e,t,n){return(t?.map(n)||[]).map((t,n)=>0===n?t:{[`@media screen and (min-width: ${e[n-1]}px)`]:t})}function vl(e,t){return void 0===e?t||m8:Array.isArray(e)?e:[e]}function vd(e,t,n=m8){if(!Array.isArray(n))throw Error("the property must be array of numbers");if(0===n.length)return null;let{media:r,space:i}=n_(e);return va(r,n,e=>{var n;return n=vs(i[e]),t.reduce((e,t)=>(e[t]=n,e),{})})}function vu(e,t){let{$size:n,$weight:r}=t,{font:i,media:o}=n_(t.theme),{family:s,sizes:a,weights:l}=i[e],d=r&&l[r]||l.regular,u=a[2],c={position:"relative",fontFamily:s,fontWeight:`${d}`,padding:"1px 0",margin:0,"&:before":{content:'""',display:"block",height:0}
11,"&:after":{content:'""',display:"block",height:0},"& > code, & > span":{display:"block"},"&:not([hidden])":{display:"block"}};return n?[c,...va(o,n,e=>(function(e){let{ascenderHeight:t,descenderHeight:n,fontSize:r,iconSize:i,letterSpacing:o,lineHeight:s}=e,a=t+n,l=s-a,d=2*Math.floor(1.125*r/2)+1;return{fontSize:vs(r),lineHeight:`calc(${s} / ${r})`,letterSpacing:vs(o),transform:`translateY(${vs(n)})`,"&:before":{marginTop:`calc(${vs(0-a)} - 1px)`},"&:after":{marginBottom:"-1px"},"& svg:not([data-sanity-icon])":{fontSize:`calc(${d} / 16 * 1rem)`,margin:vs((l-d)/2)},"& [data-sanity-icon]":{fontSize:`calc(${i} / 16 * 1rem)`,margin:vs((l-i)/2)}}})(a[e]||u))]:(vu.warned||=(console.warn("No size specified for responsive font",{fontKey:e,$size:n,props:t,base:c}),!0),[c])}function vc(e){let{media:t}=n_(e.theme);return va(t,e.$align,e=>({textAlign:e}))}let vh="u">typeof globalThis?globalThis:"u">typeof window?window:"u">typeof self?self:e.g;function vf(e,t){let n=Symbol.for(e);if(typeof document>"u"){let n=(0,np.createContext)(t);return n.displayName=e,n}return vh[n]=vh[n]||(0,np.createContext)(t),vh[n]}let vp=vf("@sanity/ui/context/theme",null);function vg(e){let t,n,r=(0,rw.c)(15),i=(0,np.useContext)(vp),{children:o}=e,s=e.scheme??(i?.scheme||"light"),a=e.theme??(i?.theme||null),l=e.tone??(i?.tone||"default"),d;t:{let e;if(!a){d=null;break t}r[0]!==a||r[1]!==s||r[2]!==l?(e={version:0,theme:a,scheme:s,tone:l},r[0]=a,r[1]=s,r[2]=l,r[3]=e):e=r[3],d=e}let u=d,c;n:{let e;if(!a){c=null;break n}r[4]!==a||r[5]!==s||r[6]!==l?(e=function(e,t,n){var r,i,o,s,a;let l,d=function(e,t,n){let r=ry.get(t);if(!r)return;let i=r.get(n);if(i)return i.get(e)}(e,t,n);if(d)return d;let u=nH(e)?nO(e):e,c=nH(e)?e:function(e){if(e.v2)return e.v2;let t=n$.get(e);if(t)return t;let{avatar:n,button:r,color:i,container:o,focusRing:s,fonts:a,input:l,layer:d,media:u,radius:c,shadows:h,space:f,styles:p}=e,g={_version:2,avatar:{...nw,...n},button:{...nb,...r},card:nx,color:{light:{transparent:nM(i.light.transparent),default:nM(i.light.default),neutral:nM(i.light.transparent),primary:nM(i.light.primary),suggest:nM(i.light.primary),positive:nM(i.light.positive),caution:nM(i.light.caution),critical:nM(i.light.critical)},dark:{transparent:nM(i.dark.transparent),default:nM(i.dark.default),neutral:nM(i.dark.transparent),primary:nM(i.dark.primary),suggest:nM(i.dark.primary),positive:nM(i.dark.positive),caution:nM(i.dark.caution),critical:nM(i.dark.critical)}},container:o,font:a,input:{...nk,...l,checkbox:{...nk.checkbox,...l.checkbox},radio:{...nk.radio,...l.radio},switch:{...nk.switch,...l.switch}},layer:d??nC,media:u,radius:c,shadow:h,space:f,style:p};return n$.set(e,g),g}(e),h=u.layer||nC,f=c.color[t]||c.color.light,p="neutral"in(r=f[n]||f.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}},g=c.layer||nC,{color:m,...v}=u,y={...v,layer:h,v2:{...c,_resolved:!0,color:p,layer:g}};nA(y,"color",()=>{let e=u.color[t]||u.color.light;return e[n]||e.default});let w={sanity:y};return i=e,o=t,s=n,a=w,ry.has(o)||ry.set(o,new Map),(l=ry.get(o)).has(s)||l.set(s,new WeakMap),l.get(s).set(i,a),w}(a,s,l),r[4]=a,r[5]=s,r[6]=l,r[7]=e):e=r[7],c=e}let h=c;if(!h){let e;return r[8]===Symbol.for("react.memo_cache_sentinel")?(e=(0,W.jsx)("pre",{children:'ThemeProvider: no "theme" property provided'}),r[8]=e):e=r[8],e}return r[9]!==o||r[10]!==h?(t=(0,W.jsx)(l0,{theme:h,children:o}),r[9]=o,r[10]=h,r[11]=t):t=r[11],r[12]!==t||r[13]!==u?(n=(0,W.jsx)(vp.Provider,{value:u,children:t}),r[12]=t,r[13]=u,r[14]=n):n=r[14],n}function vm(){let e=(0,np.useContext)(vp);if(!e)throw Error("useRootTheme(): missing context value");return e}function vv(e){let t=(0,rw.c)(5),{children:n,scheme:r,tone:i}=e,o=vm(),s=r||o.scheme,a;return t[0]!==n||t[1]!==o.theme||t[2]!==s||t[3]!==i?(a=(0,W.jsx)(vg,{scheme:s,theme:o.theme,tone:i,children:n}),t[0]=n,t[1]=o.theme,t[2]=s,t[3]=i,t[4]=a):a=t[4],a}function vy(){return n_(function(){let e=np.default.useContext(l1);if(!e)throw aG(18);return e}())}function vw(e){let{card:t,media:n}=n_(e.theme),r=`${t.border?.width??1}px solid var(--card-border-color)`;return va(n,e.$border,e=>e?{"&&":{border:r}}:{"&&":{border:0}})}function vb(e){let{card:t,media:n}=n_(e.theme),r=`${t.border?.width??1}px solid var(--card-border-color)`;return va(n,e.$borderTop,e=>e?{"&&":{borderTop:r}}:{"&&":{borderTop:0}})}function vx(e){let{card:t,media:n}=n_(e.theme),r=`${t.border?.width??1}px solid var(--card-border-color)`;return va(n,e.$borderRight,e=>e?{"&&":{borderRight:r}}:{"&&":{borderRight:0}})}function vC(e){let{card:t,media:n}=n_(e.theme),r=`${t.border?.width??1}px solid var(--card-border-color)`;return va(n,e.$borderBottom,e=>e?{"&&":{borderBottom:r}}:{"&&":{borderBottom:0}})}function vk(e){let{card:t,media:n}=n_(e.theme),r=`${t.border?.width??1}px solid var(--card-border-color)`;return va(n,e.$borderLeft,e=>e?{"&&":{borderLeft:r}}:{"&&":{borderLeft:0}})}vg.displayName="ThemeProvider",vv.displayName="ThemeColorProvider";let vj={'&[data-as="ul"],&[data-as="ol"]':{listStyle:"none"}},vM={content:"content-box",border:"border-box"},vL={stretch:"stretch",fill:"100%"};function vS(e){let{media:t}=n_(e.theme);return va(t,e.$display,e=>({"&:not([hidden])":{display:e}}))}function vE(e){let{media:t}=n_(e.theme);return va(t,e.$sizing,e=>({boxSizing:vM[e]}))}function vR(e){let{media:t}=n_(e.theme);return va(t,e.$height,e=>({height:vL[e]}))}function vV(e){let{media:t}=n_(e.theme);return va(t,e.$overflow,e=>({overflow:e}))}let v_={minWidth:0,minHeight:0};function vH(){return[v_,v$]}function v$(e){let{media:t}=n_(e.theme);return e.$flex?va(t,e.$flex,e=>({flex:`${e}`})):m8}let vA={"&&:not([hidden])":{display:"flex"}};function vT(e){let{media:t}=n_(e.theme);return va(t,e.$align,e=>({alignItems:e}))}
11function vI(e){let{media:t,space:n}=n_(e.theme);return va(t,e.$gap,e=>({gap:e?vs(n[e]):void 0}))}function vP(e){let{media:t}=n_(e.theme);return va(t,e.$wrap,e=>({flexWrap:e}))}function vO(e){let{media:t}=n_(e.theme);return va(t,e.$justify,e=>({justifyContent:e}))}function vB(e){let{media:t}=n_(e.theme);return va(t,e.$direction,e=>({flexDirection:e}))}function vW(e){return`inset 0 0 0 ${e.width}px ${e.color}`}function vN(e){let{base:t,border:n,focusRing:r}=e,i=r.offset+r.width,o=0-r.offset,s=t?t.bg:"var(--card-bg-color)";return[o>0&&`inset 0 0 0 ${o}px var(--card-focus-ring-color)`,n&&vW(n),o<0&&`0 0 0 ${0-o}px ${s}`,i>0&&`0 0 0 ${i}px var(--card-focus-ring-color)`].filter(Boolean).join(",")}let vz={auto:"auto",full:"1 / -1"},vD={auto:"auto",full:"1 / -1"};function vF(e){let{media:t}=n_(e.theme);return va(t,e.$row,e=>"number"==typeof e?{gridRow:`span ${e} / span ${e}`}:{gridRow:vz[e]})}function vZ(e){let{media:t}=n_(e.theme);return va(t,e.$rowStart,e=>({gridRowStart:`${e}`}))}function vU(e){let{media:t}=n_(e.theme);return va(t,e.$rowEnd,e=>({gridRowEnd:`${e}`}))}function vq(e){let{media:t}=n_(e.theme);return va(t,e.$column,e=>"number"==typeof e?{gridColumn:`span ${e} / span ${e}`}:{gridColumn:vD[e]})}function vG(e){let{media:t}=n_(e.theme);return va(t,e.$columnStart,e=>({gridColumnStart:`${e}`}))}function vY(e){let{media:t}=n_(e.theme);return va(t,e.$columnEnd,e=>({gridColumnEnd:`${e}`}))}let vX={"&&:not([hidden])":{display:"grid"},'&[data-as="ul"],&[data-as="ol"]':{listStyle:"none"}},vK={auto:"auto",min:"min-content",max:"max-content",fr:"minmax(0, 1fr)"},vJ={auto:"auto",min:"min-content",max:"max-content",fr:"minmax(0, 1fr)"};function vQ(e){let{media:t}=n_(e.theme);return va(t,e.$autoFlow,e=>({gridAutoFlow:e}))}function v1(e){let{media:t}=n_(e.theme);return va(t,e.$autoRows,e=>({gridAutoRows:e&&vJ[e]}))}function v0(e){let{media:t}=n_(e.theme);return va(t,e.$autoCols,e=>({gridAutoColumns:e&&vK[e]}))}function v5(e){let{media:t}=n_(e.theme);return va(t,e.$columns,e=>({gridTemplateColumns:e&&`repeat(${e},minmax(0,1fr));`}))}function v2(e){let{media:t}=n_(e.theme);return va(t,e.$rows,e=>({gridTemplateRows:e&&`repeat(${e},minmax(0,1fr));`}))}function v3(e){let{media:t,space:n}=n_(e.theme);return va(t,e.$gap,e=>({gridGap:e?vs(n[e]):void 0}))}function v6(e){let{media:t,space:n}=n_(e.theme);return va(t,e.$gapX,e=>({columnGap:e?vs(n[e]):void 0}))}function v4(e){let{media:t,space:n}=n_(e.theme);return va(t,e.$gapY,e=>({rowGap:e?vs(n[e]):void 0}))}function v8(e){let{$fontSize:t,$iconLeft:n,$iconRight:r,$padding:i,$space:o}=e,{font:s,media:a,space:l}=n_(e.theme),d=Math.max(i.length,o.length,t.length),u=[],c=[],h=[];for(let e=0;e<d;e+=1)h[e]=void 0===t[e]?h[e-1]:t[e],u[e]=void 0===i[e]?u[e-1]:i[e],c[e]=void 0===o[e]?c[e-1]:o[e];return va(a,u,(e,t)=>{let i=s.text.sizes[h[t]]||s.text.sizes[2],o=i.lineHeight-i.ascenderHeight-i.descenderHeight,a=l[u[t]],d=l[c[t]],f={paddingTop:vs(a-i.ascenderHeight),paddingRight:vs(a),paddingBottom:vs(a-i.descenderHeight),paddingLeft:vs(a)};return r&&(f.paddingRight=vs(a+o+d)),n&&(f.paddingLeft=vs(a+o+d)),f})}function v9(e){return v8({...e,$iconRight:!0})}let v7=l9`&:not([hidden]){display:flex;}align-items:center;`;function ye(){return v7}function yt(e){let{$scheme:t,$tone:n,$weight:r}=e,{color:i,font:o}=n_(e.theme);return l9`appearance:none;background:none;border:0;border-radius:0;outline:none;width:100%;box-sizing:border-box;font-family:${o.text.family};font-weight:${r&&o.text.weights[r]||o.text.weights.regular};margin:0;position:relative;z-index:1;display:block;&:-webkit-autofill,&:-webkit-autofill:hover,&:-webkit-autofill:focus,&:-webkit-autofill:active{-webkit-text-fill-color:var(--input-fg-color) !important;transition:background-color 5000s;transition-delay:86400s;}&[data-as='textarea']{resize:none;}color:var(--input-fg-color);&::placeholder{color:var(--input-placeholder-color);}&[data-scheme='${t}'][data-tone='${n}']{--input-fg-color:${i.input.default.enabled.fg};--input-placeholder-color:${i.input.default.enabled.placeholder};&:not(:invalid):not(:disabled):not(:read-only){--input-fg-color:${i.input.default.enabled.fg};--input-placeholder-color:${i.input.default.enabled.placeholder};}&:not(:invalid):disabled{--input-fg-color:${i.input.default.disabled.fg};--input-placeholder-color:${i.input.default.disabled.placeholder};}&:invalid{--input-fg-color:${i.input.invalid.enabled.fg};--input-placeholder-color:${i.input.invalid.enabled.placeholder};}&:read-only{--input-fg-color:${i.input.default.readOnly.fg};--input-placeholder-color:${i.input.default.readOnly.placeholder};}}`}function yn(e){let{font:t,media:n}=n_(e.theme);return va(n,e.$fontSize,e=>{let n=t.text.sizes[e]||t.text.sizes[2];return{fontSize:vs(n.fontSize),lineHeight:`${n.lineHeight/n.fontSize}`}})}function yr(e){let{$hasPrefix:t,$hasSuffix:n,$scheme:r,$tone:i,$unstableDisableFocusRing:o}=e,{color:s,input:a}=n_(e.theme);return l9`--input-box-shadow:none;position:absolute;top:0;left:0;right:0;bottom:0;display:block;pointer-events:none;z-index:0;background-color:var(--card-bg-color);box-shadow:var(--input-box-shadow);border-top-left-radius:${t?0:void 0};border-bottom-left-radius:${t?0:void 0};border-top-right-radius:${n?0:void 0};border-bottom-right-radius:${n?0:void 0};&[data-scheme='${r}'][data-tone='${i}']{--card-bg-color:${s.input.default.enabled.bg};--card-fg-color:${s.input.default.enabled.fg};*:not(:disabled) + &[data-border]{--input-box-shadow:${vW({color:s.input.default.enabled.border,width:a.border.width})};}*:not(:disabled):invalid + &{--card-bg-color:${s.input.invalid.enabled.bg};--card-fg-color:${s.input.invalid.enabled.fg};&[data-border]{--input-box-shadow:${vW({color:s.input.invalid.enabled.border,width:a.border.width})};}}*:not(:disabled):focus + &{&[data-border]{--input-box-shadow:${o?void 0:vN({border:{color:s.input.default.enabled.border,width:a.border.width},focusRing:a.text.focusRing})};}&:not([data-border]){--input-box-shadow:${o?void 0:vN({focusRing:a.text.focusRing})};}}*:not(:invalid):disabled + &{--card-bg-color:${s.input.default.disabled.bg} !important;--card-fg-color:${s.input.default.disabled.fg} !important;--card-icon-color:${s.input.default.disabled.fg} !important;&[data-border]{--input-box-shadow:${vW({color:s.input.default.disabled.border,width:a.border.width})};}}*:invalid:disabled + &{--card-bg-color:${s.input.invalid.disabled.bg} !important;--card-fg-color:${s.input.invalid.disabled.fg} !important;--card-icon-color:${s.input.invalid.disabled.fg} !important;&[data-border]{--input-box-shadow:${vW({color:s.input.invalid.disabled.border,width:a.border.width})};}}*:not(:invalid):read-only + &{--card-bg-color:${s.input.default.readOnly.bg} !important;--card-fg-color:${s.input.default.readOnly.fg} !important;}*:invalid:read-only + &{--card-bg-color:${s.input.invalid.readOnly.bg} !important;--card-fg-color:${s.input.invalid.readOnly.fg} !important;}@media (hover:hover){*:not(:disabled):not(:read-only):not(:invalid):hover + &{--card-bg-color:${s.input.default.hovered.bg};--card-fg-color:${s.input.default.hovered.fg};}*:invalid:not(:disabled):not(:read-only):hover + &{--card-bg-color:${s.input.invalid.hovered.bg};--card-fg-color:${s.input.invalid.hovered.fg};}
11*:not(:disabled):not(:read-only):not(:invalid):not(:focus):hover + &[data-border]{--input-box-shadow:${vW({color:s.input.default.hovered.border,width:a.border.width})};}*:invalid:not(:disabled):not(:read-only):not(:focus):hover + &[data-border]{--input-box-shadow:${vW({color:s.input.invalid.hovered.border,width:a.border.width})};}}}`}function yi(e){let{theme:t}=e;return[vd(t,["padding"],e.$padding),vd(t,["paddingLeft","paddingRight"],e.$paddingX),vd(t,["paddingTop","paddingBottom"],e.$paddingY),vd(t,["paddingTop"],e.$paddingTop),vd(t,["paddingRight"],e.$paddingRight),vd(t,["paddingBottom"],e.$paddingBottom),vd(t,["paddingLeft"],e.$paddingLeft)].filter(Boolean)}function yo(e){let{media:t,radius:n}=n_(e.theme);return va(t,e.$radius,e=>{let t=0;return"number"==typeof e&&(t=vs(n[e])),"full"===e&&(t="9999px"),{borderRadius:t}})}function ys(e,t){return`${e.map(vs).join(" ")} ${t}`}let ya=l7.span.withConfig({displayName:"SpanWithTextOverflow",componentId:"sc-xkyu3h-0"})`display:block;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;overflow:clip;`,yl=l7.div.withConfig({displayName:"StyledBox",componentId:"sc-7yq461-0"})(function(){return vj},vH,function(){return[vE,vR,vV,vS]},function(){return[vF,vZ,vU,vq,vG,vY]},function(e){let{theme:t}=e;return[vd(t,["margin"],e.$margin),vd(t,["marginLeft","marginRight"],e.$marginX),vd(t,["marginTop","marginBottom"],e.$marginY),vd(t,["marginTop"],e.$marginTop),vd(t,["marginRight"],e.$marginRight),vd(t,["marginBottom"],e.$marginBottom),vd(t,["marginLeft"],e.$marginLeft)].filter(Boolean)},yi),yd=(0,np.forwardRef)(function(e,t){let n,r,i,o,s,a,l,d,u,c,h,f,p,g,m,v,y,w,b,x,C,k,j,M,L,S=(0,rw.c)(115),E,R,V,_,H,$,A,T,I,P,O,B,N,z,D,F,Z,U,q,G,Y,X,K,J,Q,ee,et,en,er,ei,eo,es,ea;S[0]===e?(E=S[1],R=S[2],V=S[3],_=S[4],H=S[5],$=S[6],A=S[7],T=S[8],I=S[9],P=S[10],O=S[11],B=S[12],N=S[13],z=S[14],D=S[15],F=S[16],Z=S[17],U=S[18],q=S[19],G=S[20],Y=S[21],X=S[22],K=S[23],J=S[24],Q=S[25],ee=S[26],et=S[27],en=S[28],er=S[29],ei=S[30],eo=S[31],es=S[32],ea=S[33]):({as:ei,gridColumn:T,column:E,gridColumnStart:P,columnStart:V,gridColumnEnd:I,columnEnd:R,display:eo,flex:A,height:z,margin:es,marginX:q,marginY:G,marginTop:U,marginRight:Z,marginBottom:D,marginLeft:F,overflow:Y,padding:ea,paddingX:ee,paddingY:et,paddingTop:Q,paddingRight:J,paddingBottom:X,paddingLeft:K,gridRow:O,row:_,gridRowStart:N,rowStart:$,gridRowEnd:B,rowEnd:H,sizing:er,...en}=e,S[0]=e,S[1]=E,S[2]=R,S[3]=V,S[4]=_,S[5]=H,S[6]=$,S[7]=A,S[8]=T,S[9]=I,S[10]=P,S[11]=O,S[12]=B,S[13]=N,S[14]=z,S[15]=D,S[16]=F,S[17]=Z,S[18]=U,S[19]=q,S[20]=G,S[21]=Y,S[22]=X,S[23]=K,S[24]=J,S[25]=Q,S[26]=ee,S[27]=et,S[28]=en,S[29]=er,S[30]=ei,S[31]=eo,S[32]=es,S[33]=ea);let el=void 0===ei?"div":ei,ed=void 0===eo?"block":eo,eu=void 0===es?0:es,ec=void 0===ea?0:ea,eh=void 0===T?E:T,ef=void 0===P?V:P,ep=void 0===I?R:I,eg=void 0===O?_:O,em=void 0===N?$:N,ev=void 0===B?H:B,ey="string"==typeof el?el:void 0,ew;return S[34]===eh?ew=S[35]:(ew=vl(eh),S[34]=eh,S[35]=ew),S[36]===ef?n=S[37]:(n=vl(ef),S[36]=ef,S[37]=n),S[38]===ep?r=S[39]:(r=vl(ep),S[38]=ep,S[39]=r),S[40]===ed?i=S[41]:(i=vl(ed),S[40]=ed,S[41]=i),S[42]===A?o=S[43]:(o=vl(A),S[42]=A,S[43]=o),S[44]===z?s=S[45]:(s=vl(z),S[44]=z,S[45]=s),S[46]===eu?a=S[47]:(a=vl(eu),S[46]=eu,S[47]=a),S[48]===q?l=S[49]:(l=vl(q),S[48]=q,S[49]=l),S[50]===G?d=S[51]:(d=vl(G),S[50]=G,S[51]=d),S[52]===U?u=S[53]:(u=vl(U),S[52]=U,S[53]=u),S[54]===Z?c=S[55]:(c=vl(Z),S[54]=Z,S[55]=c),S[56]===D?h=S[57]:(h=vl(D),S[56]=D,S[57]=h),S[58]===F?f=S[59]:(f=vl(F),S[58]=F,S[59]=f),S[60]===Y?p=S[61]:(p=vl(Y),S[60]=Y,S[61]=p),S[62]===ec?g=S[63]:(g=vl(ec),S[62]=ec,S[63]=g),S[64]===ee?m=S[65]:(m=vl(ee),S[64]=ee,S[65]=m),S[66]===et?v=S[67]:(v=vl(et),S[66]=et,S[67]=v),S[68]===Q?y=S[69]:(y=vl(Q),S[68]=Q,S[69]=y),S[70]===J?w=S[71]:(w=vl(J),S[70]=J,S[71]=w),S[72]===X?b=S[73]:(b=vl(X),S[72]=X,S[73]=b),S[74]===K?x=S[75]:(x=vl(K),S[74]=K,S[75]=x),S[76]===eg?C=S[77]:(C=vl(eg),S[76]=eg,S[77]=C),S[78]===em?k=S[79]:(k=vl(em),S[78]=em,S[79]=k),S[80]===ev?j=S[81]:(j=vl(ev),S[80]=ev,S[81]=j),S[82]===er?M=S[83]:(M=vl(er),S[82]=er,S[83]=M),S[84]!==el||S[85]!==e.children||S[86]!==t||S[87]!==en||S[88]!==s||S[89]!==a||S[90]!==l||S[91]!==d||S[92]!==u||S[93]!==c||S[94]!==h||S[95]!==f||S[96]!==p||S[97]!==g||S[98]!==m||S[99]!==v||S[100]!==y||S[101]!==w||S[102]!==b||S[103]!==x||S[104]!==C||S[105]!==k||S[106]!==j||S[107]!==M||S[108]!==ey||S[109]!==ew||S[110]!==n||S[111]!==r||S[112]!==i||S[113]!==o?(L=(0,W.jsx)(yl,{"data-as":ey,"data-ui":"Box",...en,$column:ew,$columnStart:n,$columnEnd:r,$display:i,$flex:o,$height:s,$margin:a,$marginX:l,$marginY:d,$marginTop:u,$marginRight:c,$marginBottom:h,$marginLeft:f,$overflow:p,$padding:g,$paddingX:m,$paddingY:v,$paddingTop:y,$paddingRight:w,$paddingBottom:b,$paddingLeft:x,$row:C,$rowStart:k,$rowEnd:j,$sizing:M,as:el,ref:t,children:e.children}),S[84]=el,S[85]=e.children,S[86]=t,S[87]=en,S[88]=s,S[89]=a,S[90]=l,S[91]=d,S[92]=u,S[93]=c,S[94]=h,S[95]=f,S[96]=p,S[97]=g,S[98]=m,S[99]=v,S[100]=y,S[101]=w,S[102]=b,S[103]=x,S[104]=C,S[105]=k,S[106]=j,S[107]=M,S[108]=ey,S[109]=ew,S[110]=n,S[111]=r,S[112]=i,S[113]=o,S[114]=L):L=S[114],L});yd.displayName="ForwardRef(Box)";let yu=l7.div.withConfig({displayName:"StyledText",componentId:"sc-aca14k-0"})(function(e){return vu("text",e)},vc,function(e){let{$accent:t,$muted:n}=e,{font:r}=n_(e.theme);return l9`color:var(--card-fg-color);${t&&l9`color:var(--card-accent-fg-color);`} ${n&&l9`color:var(--card-muted-fg-color);`} & code{font-family:${r.code.family};border-radius:1px;background-color:var(--card-code-bg-color);color:var(--card-code-fg-color);}& a{text-decoration:none;border-radius:1px;color:var(--card-link-color);outline:none;@media (hover:hover){&:hover{text-decoration:underline;}}
11&:focus{box-shadow:0 0 0 1px var(--card-bg-color),0 0 0 3px var(--card-focus-ring-color);}&:focus:not(:focus-visible){box-shadow:none;}}& strong{font-weight:${r.text.weights.bold};}& svg{display:inline;}& [data-sanity-icon]{vertical-align:baseline;color:var(--card-icon-color);& path{vector-effect:non-scaling-stroke !important;}}`}),yc=(0,np.forwardRef)(function(e,t){let n,r,i,o,s=(0,rw.c)(26),a,l,d,u,c,h,f,p;s[0]===e?(a=s[1],l=s[2],d=s[3],u=s[4],c=s[5],h=s[6],f=s[7],p=s[8]):({accent:u,align:a,children:l,muted:c,size:h,textOverflow:f,weight:p,...d}=e,s[0]=e,s[1]=a,s[2]=l,s[3]=d,s[4]=u,s[5]=c,s[6]=h,s[7]=f,s[8]=p);let g=void 0!==u&&u,m=void 0!==c&&c,v=void 0===h?2:h,y=l;if("ellipsis"===f){let e;s[9]===y?e=s[10]:(e=(0,W.jsx)(ya,{children:y}),s[9]=y,s[10]=e),y=e}return s[11]===a?n=s[12]:(n=vl(a),s[11]=a,s[12]=n),s[13]===v?r=s[14]:(r=vl(v),s[13]=v,s[14]=r),s[15]===y?i=s[16]:(i=(0,W.jsx)("span",{children:y}),s[15]=y,s[16]=i),s[17]!==g||s[18]!==m||s[19]!==t||s[20]!==d||s[21]!==n||s[22]!==r||s[23]!==i||s[24]!==p?(o=(0,W.jsx)(yu,{"data-ui":"Text",...d,$accent:g,$align:n,$muted:m,ref:t,$size:r,$weight:p,children:i}),s[17]=g,s[18]=m,s[19]=t,s[20]=d,s[21]=n,s[22]=r,s[23]=i,s[24]=p,s[25]=o):o=s[25],o});yc.displayName="ForwardRef(Text)";let yh=l7(yd).withConfig({displayName:"StyledFlex",componentId:"sc-r9nqck-0"})(vH,function(){return[vA,vT,vI,vP,vO,vB]}),yf=(0,np.forwardRef)(function(e,t){let n,r,i,o,s,a=(0,rw.c)(27),l,d,u,c,h,f,p;a[0]===e?(l=a[1],d=a[2],u=a[3],c=a[4],h=a[5],f=a[6],p=a[7]):({align:l,as:d,direction:f,gap:u,justify:c,wrap:p,...h}=e,a[0]=e,a[1]=l,a[2]=d,a[3]=u,a[4]=c,a[5]=h,a[6]=f,a[7]=p);let g=void 0===f?"row":f,m;return a[8]===l?m=a[9]:(m=vl(l),a[8]=l,a[9]=m),a[10]===g?n=a[11]:(n=vl(g),a[10]=g,a[11]=n),a[12]===u?r=a[13]:(r=vl(u),a[12]=u,a[13]=r),a[14]===c?i=a[15]:(i=vl(c),a[14]=c,a[15]=i),a[16]===p?o=a[17]:(o=vl(p),a[16]=p,a[17]=o),a[18]!==d||a[19]!==t||a[20]!==h||a[21]!==m||a[22]!==n||a[23]!==r||a[24]!==i||a[25]!==o?(s=(0,W.jsx)(yh,{"data-ui":"Flex",...h,$align:m,$direction:n,$gap:r,$justify:i,$wrap:o,forwardedAs:d,ref:t}),a[18]=d,a[19]=t,a[20]=h,a[21]=m,a[22]=n,a[23]=r,a[24]=i,a[25]=o,a[26]=s):s=a[26],s});yf.displayName="ForwardRef(Flex)";let yp=dt`from{transform:rotate(0deg);}to{transform:rotate(360deg);}`,yg=l7(yc).withConfig({displayName:"StyledSpinner",componentId:"sc-jtkakc-0"})`& > span > svg{animation:${yp} 500ms linear infinite;}`,ym=(0,np.forwardRef)(function(e,t){let n,r=(0,rw.c)(4),i;return r[0]===Symbol.for("react.memo_cache_sentinel")?(i=(0,W.jsx)(sp,{}),r[0]=i):i=r[0],r[1]!==e||r[2]!==t?(n=(0,W.jsx)(yg,{"data-ui":"Spinner",...e,ref:t,children:i}),r[1]=e,r[2]=t,r[3]=n):n=r[3],n});function yv(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 yy(...e){return e.filter(Boolean).join(",")}ym.displayName="ForwardRef(Spinner)";let yw=l7.button.withConfig({displayName:"StyledButton",componentId:"sc-u1hrlw-0"})(yo,function(e){let{$width:t}=e,{style:n}=n_(e.theme);return l9`${n?.button};-webkit-font-smoothing:inherit;appearance:none;display:inline-flex;align-items:center;font:inherit;border:0;outline:none;user-select:none;text-decoration:none;border:0;box-sizing:border-box;padding:0;margin:0;white-space:nowrap;text-align:left;position:relative;vertical-align:top;${"fill"===t&&l9`width:-moz-available;width:-webkit-fill-available;width:stretch;`} & >
11 span{display:block;flex:1;min-width:0;border-radius:inherit;}&::-moz-focus-inner{border:0;padding:0;}`},function(e){let{$mode:t}=e,{button:n,color:r,style:i}=n_(e.theme);e.$mode;let o=r.button[t]||r.button.default,s=o[e.$tone]||o.default,a={width:n.border.width,color:"var(--card-border-color)"};return[yv(r,s.enabled),{backgroundColor:"var(--card-bg-color)",color:"var(--card-fg-color)",boxShadow:vW(a),'&:disabled, &[data-disabled="true"]':yv(r,s.disabled),"&:not([data-disabled='true'])":{boxShadow:yy(vW(a),void 0),"&:focus":{boxShadow:vN({base:r,border:{width:2,color:r.bg},focusRing:n.focusRing})},"&:focus:not(:focus-visible)":{boxShadow:yy(vW(a),void 0)},"@media (hover: hover)":{"&:hover":yv(r,s.hovered),"&:active":yv(r,s.pressed),"&[data-hovered]":yv(r,s.hovered)},"&[data-selected]":yv(r,s.pressed)}},i?.button?.root].filter(Boolean)}),yb=l7.div.withConfig({displayName:"LoadingBox",componentId:"sc-u1hrlw-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;`,yx=(0,np.forwardRef)(function(e,t){let n,r,i,o=(0,rw.c)(87),s,a,l,d,u,c,h,f,p,g,m,v,y,w,b,x,C,k,j,M,L,S,E,R,V,_,H;o[0]===e?(s=o[1],a=o[2],l=o[3],d=o[4],u=o[5],c=o[6],h=o[7],f=o[8],p=o[9],g=o[10],m=o[11],v=o[12],y=o[13],w=o[14],b=o[15],x=o[16],C=o[17],k=o[18],j=o[19],M=o[20],L=o[21],S=o[22],E=o[23],R=o[24],V=o[25],_=o[26],H=o[27]):({children:l,disabled:d,fontSize:b,icon:s,iconRight:a,justify:x,loading:c,mode:C,padding:k,paddingX:m,paddingY:v,paddingTop:g,paddingBottom:h,paddingLeft:f,paddingRight:p,radius:j,selected:w,gap:u,space:M,text:R,textAlign:V,textWeight:_,tone:L,type:S,muted:E,width:H,...y}=e,o[0]=e,o[1]=s,o[2]=a,o[3]=l,o[4]=d,o[5]=u,o[6]=c,o[7]=h,o[8]=f,o[9]=p,o[10]=g,o[11]=m,o[12]=v,o[13]=y,o[14]=w,o[15]=b,o[16]=x,o[17]=C,o[18]=k,o[19]=j,o[20]=M,o[21]=L,o[22]=S,o[23]=E,o[24]=R,o[25]=V,o[26]=_,o[27]=H);let $=void 0===b?1:b,A=void 0===x?"center":x,T=void 0===C?"default":C,I=void 0===k?3:k,P=void 0===j?2:j,O=void 0===M?3:M,B=void 0===L?"default":L,N=void 0===S?"button":S,z=void 0!==E&&E,{button:D}=vy(),F;o[28]===A?F=o[29]:(F=vl(A),o[28]=A,o[29]=F);let Z=F,U;o[30]===I?U=o[31]:(U=vl(I),o[30]=I,o[31]=U);let q=U,G;o[32]===m?G=o[33]:(G=vl(m),o[32]=m,o[33]=G);let Y=G,X;o[34]===v?X=o[35]:(X=vl(v),o[34]=v,o[35]=X);let K=X,J;o[36]===g?J=o[37]:(J=vl(g),o[36]=g,o[37]=J);let Q=J,ee;o[38]===h?ee=o[39]:(ee=vl(h),o[38]=h,o[39]=ee);let et=ee,en;o[40]===f?en=o[41]:(en=vl(f),o[40]=f,o[41]=en);let er=en,ei;o[42]===p?ei=o[43]:(ei=vl(p),o[42]=p,o[43]=ei);let eo=ei,es;o[44]===P?es=o[45]:(es=vl(P),o[44]=P,o[45]=es);let ea=es,el=void 0===u?O:u,ed;o[46]===el?ed=o[47]:(ed=vl(el),o[46]=el,o[47]=ed);let eu=ed,ec;o[48]!==q||o[49]!==et||o[50]!==er||o[51]!==eo||o[52]!==Q||o[53]!==Y||o[54]!==K?(ec={padding:q,paddingX:Y,paddingY:K,paddingTop:Q,paddingBottom:et,paddingLeft:er,paddingRight:eo},o[48]=q,o[49]=et,o[50]=er,o[51]=eo,o[52]=Q,o[53]=Y,o[54]=K,o[55]=ec):ec=o[55];let eh=ec,ef=!!(c||d),ep=w?"":void 0,eg=!!(c||d),em;return o[56]===c?em=o[57]:(em=!!c&&(0,W.jsx)(yb,{children:(0,W.jsx)(ym,{})}),o[56]=c,o[57]=em),o[58]!==s||o[59]!==a||o[60]!==eh||o[61]!==D||o[62]!==$||o[63]!==Z||o[64]!==z||o[65]!==eu||o[66]!==R||o[67]!==V||o[68]!==_?(n=(s||R||a)&&(0,W.jsx)(yd,{as:"span",...eh,children:(0,W.jsxs)(yf,{as:"span",justify:Z,gap:eu,children:[s&&(0,W.jsxs)(yc,{size:$,children:[(0,np.isValidElement)(s)&&s,(0,at.isValidElementType)(s)&&(0,W.jsx)(s,{})]}),R&&(0,W.jsx)(yd,{children:(0,W.jsx)(yc,{muted:z,align:V,size:$,textOverflow:"ellipsis",weight:_??D.textWeight,children:R})}),a&&(0,W.jsxs)(yc,{size:$,children:[(0,np.isValidElement)(a)&&a,(0,at.isValidElementType)(a)&&(0,W.jsx)(a,{})]})]})}),o[58]=s,o[59]=a,o[60]=eh,o[61]=D,o[62]=$,o[63]=Z,o[64]=z,o[65]=eu,o[66]=R,o[67]=V,o[68]=_,o[69]=n):n=o[69],o[70]!==eh||o[71]!==l?(r=l&&(0,W.jsx)(yd,{as:"span",...eh,children:l}),o[70]=eh,o[71]=l,o[72]=r):r=o[72],o[73]!==T||o[74]!==ea||o[75]!==t||o[76]!==y||o[77]!==ef||o[78]!==ep||o[79]!==eg||o[80]!==em||o[81]!==n||o[82]!==r||o[83]!==B||o[84]!==N||o[85]!==H?(i=(0,W.jsxs)(yw,{"data-ui":"Button",...y,$mode:T,$radius:ea,$tone:B,"data-disabled":ef,"data-selected":ep,disabled:eg,ref:t,type:N,$width:H,children:[em,n,r]}),o[73]=T,o[74]=ea,o[75]=t,o[76]=y,o[77]=ef,o[78]=ep,o[79]=eg,o[80]=em,o[81]=n,o[82]=r,o[83]=B,o[84]=N,o[85]=H,o[86]=i):i=o[86],i});yx.displayName="ForwardRef(Button)";let yC=l7(yd).withConfig({displayName:"StyledCard",componentId:"sc-5721dn-0"})(function(){return[vw,vb,vx,vC,vk]},yo,function(e){let{card:t,media:n,shadow:r}=n_(e.theme);return va(n,e.$shadow,e=>(function(e,t=1){return e?{boxShadow:`0 0 0 ${vs(t)} var(--card-shadow-outline-color), ${ys(e.umbra,"var(--card-shadow-umbra-color)")}, ${ys(e.penumbra,"var(--card-shadow-penumbra-color)")}, ${ys(e.ambient,"var(--card-shadow-ambient-color)")}`}:m9})(r[e],t.shadow.outline))},function(e){return[function(e){let{$checkered:t}=e,{space:n}=n_(e.theme);return l9`${t&&l9`background-size:${n[3]}px ${n[3]}px;background-position:50% 50%;background-image:var(--card-bg-image);`} &[data-as='button']{-webkit-font-smoothing:inherit;appearance:none;outline:none;font:inherit;text-align:inherit;border:0;width:-moz-available;width:-webkit-fill-available;width:stretch;}&[data-as='a']{outline:none;text-decoration:none;}&[data-as='pre']{font:inherit;}`}(e),function(e){let{$checkered:t,$focusRing:n,$muted:r}=e,{card:i,color:o,style:s}=n_(e.theme),a={width:i.border.width,color:"var(--card-border-color)"};return l9`color-scheme:${o._dark?"dark":"light"};${yv(o,o,t)} background-color:${r?"var(--card-muted-bg-color)":"var(--card-bg-color)"};color:var(--card-fg-color);&[data-as='button']{--card-focus-ring-box-shadow:none;cursor:default;box-shadow:var(--card-focus-ring-box-shadow);&:disabled{${yv(o,o.selectable.default.disabled,t)}}&:not(:disabled){&[data-pressed]{${yv(o,o.selectable.default.pressed,t)}}&[data-selected]{${yv(o,o.selectable.default.selected,t)}}
11@media (hover:hover){&:not([data-pressed]):not([data-selected]){&[data-hovered],&:hover{${yv(o,o.selectable.default.hovered,t)}}&:active{${yv(o,o.selectable.default.pressed,t)}}}}&:focus-visible{--card-focus-ring-box-shadow:${n?vN({base:o,border:a,focusRing:i.focusRing}):void 0};}}}&[data-as='a']{cursor:pointer;box-shadow:var(--card-focus-ring-box-shadow);&[data-disabled]{${yv(o,o.selectable.default.disabled,t)}}&:not([data-disabled]){&[data-pressed]{${yv(o,o.selectable.default.pressed,t)}}&[data-selected]{${yv(o,o.selectable.default.selected,t)}}@media (hover:hover){&:not([data-pressed]):not([data-selected]){&[data-hovered],&:hover{${yv(o,o.selectable.default.hovered,t)}}&:active{${yv(o,o.selectable.default.pressed,t)}}}}&:focus-visible{--card-focus-ring-box-shadow:${n?vN({base:o,border:a,focusRing:i.focusRing}):void 0};}}}${s?.card?.root}`}(e)]}),yk=(0,np.forwardRef)(function(e,t){let n,r,i,o,s,a,l,d=(0,rw.c)(56),u,c,h,f,p,g,m,v,y,w,b,x,C,k,j,M;d[0]===e?(u=d[1],c=d[2],h=d[3],f=d[4],p=d[5],g=d[6],m=d[7],v=d[8],y=d[9],w=d[10],b=d[11],x=d[12],C=d[13],k=d[14],j=d[15],M=d[16]):({__unstable_checkered:C,__unstable_focusRing:k,as:u,border:c,borderTop:g,borderRight:p,borderBottom:h,borderLeft:f,muted:m,pressed:v,radius:j,scheme:w,selected:b,shadow:x,tone:M,...y}=e,d[0]=e,d[1]=u,d[2]=c,d[3]=h,d[4]=f,d[5]=p,d[6]=g,d[7]=m,d[8]=v,d[9]=y,d[10]=w,d[11]=b,d[12]=x,d[13]=C,d[14]=k,d[15]=j,d[16]=M);let L=void 0!==C&&C,S=void 0!==k&&k,E=void 0===j?0:j,R=void 0===M?"default":M,V=(0,at.isValidElementType)(u)?u:"div",_=vm(),H="inherit"===R?_.tone:R,$="string"==typeof V?V:void 0,A=_.scheme,T;d[17]===c?T=d[18]:(T=vl(c),d[17]=c,d[18]=T),d[19]===g?n=d[20]:(n=vl(g),d[19]=g,d[20]=n),d[21]===p?r=d[22]:(r=vl(p),d[21]=p,d[22]=r),d[23]===h?i=d[24]:(i=vl(h),d[23]=h,d[24]=i),d[25]===f?o=d[26]:(o=vl(f),d[25]=f,d[26]=o),d[27]===E?s=d[28]:(s=vl(E),d[27]=E,d[28]=s),d[29]===x?a=d[30]:(a=vl(x),d[29]=x,d[30]=a);let I=L?"":void 0,P=v?"":void 0,O=b?"":void 0,B;return d[31]!==V||d[32]!==L||d[33]!==S||d[34]!==m||d[35]!==t||d[36]!==y||d[37]!==_.scheme||d[38]!==b||d[39]!==o||d[40]!==s||d[41]!==a||d[42]!==I||d[43]!==P||d[44]!==O||d[45]!==$||d[46]!==T||d[47]!==n||d[48]!==r||d[49]!==i||d[50]!==H?(B=(0,W.jsx)(yC,{"data-as":$,"data-scheme":A,"data-ui":"Card","data-tone":H,...y,$border:T,$borderTop:n,$borderRight:r,$borderBottom:i,$borderLeft:o,$checkered:L,$focusRing:S,$muted:m,$radius:s,$shadow:a,$tone:H,"data-checkered":I,"data-pressed":P,"data-selected":O,forwardedAs:V,ref:t,selected:b}),d[31]=V,d[32]=L,d[33]=S,d[34]=m,d[35]=t,d[36]=y,d[37]=_.scheme,d[38]=b,d[39]=o,d[40]=s,d[41]=a,d[42]=I,d[43]=P,d[44]=O,d[45]=$,d[46]=T,d[47]=n,d[48]=r,d[49]=i,d[50]=H,d[51]=B):B=d[51],d[52]!==w||d[53]!==B||d[54]!==H?(l=(0,W.jsx)(vv,{scheme:w,tone:H,children:B}),d[52]=w,d[53]=B,d[54]=H,d[55]=l):l=d[55],l});function yj(e,t=()=>m8,n){let r=ds(r=>{if(!e)return;let i=r.target;if(!(i instanceof Node))return;let o=n?.();if(!o||o.contains(i)){for(let e of t().flat())if(e&&(i===e||e.contains(i)))return;e(r)}}),i=!!e;(0,np.useEffect)(()=>{if(!i)return;let e=e=>r(e);return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}},[i]),(0,np.useDebugValue)(e?"MouseDown On":"MouseDown Off")}function yM(e,t){(0,np.useEffect)(()=>{e.current?.setCustomValidity(t||"")},[t,e])}yk.displayName="ForwardRef(Card)";let yL="u">typeof document&&"u">typeof window&&window.ResizeObserver?window.ResizeObserver:dq,yS=(x=new WeakMap,C=new WeakMap,{subscribe(e,t){let n=C.get(e)||[],r=x.get(e);return C.has(e)||(C.set(e,n),r=({subscribe(e,t){let n=new yL(([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 yE(e){let[t,n]=(0,np.useState)(null);return(0,np.useEffect)(()=>{if(e)return yS.subscribe(e,n)},[e]),t}function yR(e,t){let n=ds(t=>e(t));(0,np.useEffect)(()=>{let e=e=>n(e);return window.addEventListener("keydown",e,t),()=>window.removeEventListener("keydown",e,t)},[t])}function yV(e,t){return(0,np.useDebugValue)(e),(0,np.useSyncExternalStore)((0,np.useCallback)(t=>{let n=window.matchMedia(e);return n.addEventListener("change",t),()=>n.removeEventListener("change",t)},[e]),()=>window.matchMedia(e).matches,t)}function y_(){return 0}function yH(){let{media:e}=vy(),t=(0,np.useMemo)(()=>{let t,n,r;return t=e.length,r=()=>{if(!n){n=[];for(let i=t;i>-1;--i){var r;let t=0===(r=i)?`screen and (max-width: ${e[r]-1}px)`:r===e.length?`screen and (min-width: ${e[r-1]}px)`:`screen and (min-width: ${e[r-1]}px) and (max-width: ${e[r]-1}px)`;n.push({index:i,mq:window.matchMedia(t)})}}return n}
11,{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()};n.addEventListener("change",r),t.push(()=>n.removeEventListener("change",r))}return()=>{for(let e of t)e()}}}},[e]);return(0,np.useSyncExternalStore)(t.subscribe,t.getSnapshot,y_)}function y$(e=()=>!1){return yV("(prefers-color-scheme: dark)",e)}function yA(e=()=>!1){return yV("(prefers-reduced-motion: reduce)",e)}let yT=l7(yd).withConfig({displayName:"StyledGrid",componentId:"sc-p9qx07-0"})(function(){return[vX,vQ,v1,v0,v5,v2,v3,v6,v4]}),yI=(0,np.forwardRef)(function(e,t){let n,r,i,o,s,a,l=(0,rw.c)(44),d,u,c,h,f,p,g,m,v,y,w,b,x;l[0]===e?(d=l[1],u=l[2],c=l[3],h=l[4],f=l[5],p=l[6],g=l[7],m=l[8],v=l[9],y=l[10],w=l[11],b=l[12],x=l[13]):({as:d,autoRows:h,autoCols:u,autoFlow:c,columns:p,gridTemplateColumns:y,gap:g,gapX:m,gapY:v,rows:x,gridTemplateRows:w,children:f,...b}=e,l[0]=e,l[1]=d,l[2]=u,l[3]=c,l[4]=h,l[5]=f,l[6]=p,l[7]=g,l[8]=m,l[9]=v,l[10]=y,l[11]=w,l[12]=b,l[13]=x);let C="string"==typeof d?d:void 0,k;l[14]===h?k=l[15]:(k=vl(h),l[14]=h,l[15]=k),l[16]===u?n=l[17]:(n=vl(u),l[16]=u,l[17]=n),l[18]===c?r=l[19]:(r=vl(c),l[18]=c,l[19]=r);let j=void 0===y?p:y,M;l[20]===j?M=l[21]:(M=vl(j),l[20]=j,l[21]=M),l[22]===g?i=l[23]:(i=vl(g),l[22]=g,l[23]=i),l[24]===m?o=l[25]:(o=vl(m),l[24]=m,l[25]=o),l[26]===v?s=l[27]:(s=vl(v),l[26]=v,l[27]=s);let L=void 0===w?x:w,S;return l[28]===L?S=l[29]:(S=vl(L),l[28]=L,l[29]=S),l[30]!==d||l[31]!==f||l[32]!==t||l[33]!==b||l[34]!==C||l[35]!==k||l[36]!==S||l[37]!==n||l[38]!==r||l[39]!==M||l[40]!==i||l[41]!==o||l[42]!==s?(a=(0,W.jsx)(yT,{"data-as":C,"data-ui":"Grid",...b,$autoRows:k,$autoCols:n,$autoFlow:r,$columns:M,$gap:i,$gapX:o,$gapY:s,$rows:S,forwardedAs:d,ref:t,children:f}),l[30]=d,l[31]=f,l[32]=t,l[33]=b,l[34]=C,l[35]=k,l[36]=S,l[37]=n,l[38]=r,l[39]=M,l[40]=i,l[41]=o,l[42]=s,l[43]=a):a=l[43],a});yI.displayName="ForwardRef(Grid)";let yP=l7(yd).withConfig({displayName:"StyledInline",componentId:"sc-aabqmb-0"})(function(){return{lineHeight:"0","&&:not([hidden])":{display:"block"},"& > div":{display:"inline-block",verticalAlign:"middle"}}},function(e){let{media:t,space:n}=n_(e.theme);return va(t,e.$space,e=>{let t=vs(.5===e?n[1]/2:n[e]);return{margin:`-${t} 0 0 -${t}`,"& > div":{padding:`${t} 0 0 ${t}`}}})}),yO=(0,np.forwardRef)(function(e,t){let n,r=(0,rw.c)(16),i,o,s,a,l;r[0]===e?(i=r[1],o=r[2],s=r[3],a=r[4],l=r[5]):({as:i,children:o,gap:a,space:s,...l}=e,r[0]=e,r[1]=i,r[2]=o,r[3]=s,r[4]=a,r[5]=l);let d=void 0===a?s:a,u;r[6]===o?u=r[7]:(u=np.Children.map(o,yB),r[6]=o,r[7]=u);let c=u,h;return r[8]===d?h=r[9]:(h=vl(d),r[8]=d,r[9]=h),r[10]!==i||r[11]!==c||r[12]!==l||r[13]!==h||r[14]!==t?(n=(0,W.jsx)(yP,{"data-ui":"Inline",...l,$space:h,forwardedAs:i,ref:t,children:c}),r[10]=i,r[11]=c,r[12]=l,r[13]=h,r[14]=t,r[15]=n):n=r[15],n});function yB(e){return e&&(0,W.jsx)("div",{children:e})}yO.displayName="ForwardRef(Inline)";let yW=l7.kbd.withConfig({displayName:"StyledKBD",componentId:"sc-ielwjm-0"})(yo,function(){return l9`--card-bg-color:var(--card-kbd-bg-color);--card-border-color:var(--card-kbd-border-color);--card-fg-color:var(--card-kbd-fg-color);box-shadow:inset 0 0 0 1px var(--card-border-color);background:var(--card-bg-color);font:inherit;vertical-align:top;&:not([hidden]){display:inline-block;}`}),yN=(0,np.forwardRef)(function(e,t){let n,r,i,o=(0,rw.c)(19),s,a,l,d,u;o[0]===e?(s=o[1],a=o[2],l=o[3],d=o[4],u=o[5]):({children:s,fontSize:l,padding:d,radius:u,...a}=e,o[0]=e,o[1]=s,o[2]=a,o[3]=l,o[4]=d,o[5]=u);let c=void 0===l?0:l,h=void 0===d?1:d,f=void 0===u?2:u,p;return o[6]===f?p=o[7]:(p=vl(f),o[6]=f,o[7]=p),o[8]!==s||o[9]!==c?(n=(0,W.jsx)(yc,{as:"span",size:c,weight:"semibold",children:s}),o[8]=s,o[9]=c,o[10]=n):n=o[10],o[11]!==h||o[12]!==n?(r=(0,W.jsx)(yd,{as:"span",padding:h,children:n}),o[11]=h,o[12]=n,o[13]=r):r=o[13],o[14]!==t||o[15]!==a||o[16]!==p||o[17]!==r?(i=(0,W.jsx)(yW,{"data-ui":"KBD",...a,$radius:p,ref:t,children:r}),o[14]=t,o[15]=a,o[16]=p,o[17]=r,o[18]=i):i=o[18],i});yN.displayName="ForwardRef(KBD)";let yz={name:"@sanity/ui/origin",fn({middlewareData:e,placement:t,rects:n}
11){let[r]=t.split("-"),i=n.floating.width,o=n.floating.height,s=e.shift?.x||0,a=e.shift?.y||0;if(i<=0||o<=0)return{};let{originX:l,originY:d}=["bottom","top"].includes(r)?{originX:yD(.5-s/i,0,1),originY:+("bottom"!==r)}:{originX:+("left"===r),originY:yD(.5-a/o,0,1)};return{data:{originX:l,originY:d}}}};function yD(e,t,n){return Math.min(Math.max(e,t),n)}function yF(e,t,n){let r=t.x-e.x,i=t.y-e.y;return yZ(e,t,Math.min(1,n/Math.sqrt(r*r+i*i)))}function yZ(e,t,n){return{x:e.x+(t.x-e.x)*n,y:e.y+(t.y-e.y)*n}}let yU=l7.div.withConfig({displayName:"StyledArrow",componentId:"sc-d20m08-0"})(({$w:e})=>l9`position:absolute;width:${e}px;height:${e}px;:empty + &{display:none;}& > svg{display:block;line-height:0;transform-origin:${e/2}px ${e/2}px;}[data-placement^='top'] > &{bottom:-${e}px;& > svg{transform:rotate(0);}}[data-placement^='right'] > &{left:-${e}px;& > svg{transform:rotate(90deg);}}[data-placement^='left'] > &{right:-${e}px;& > svg{transform:rotate(-90deg);}}[data-placement^='bottom'] > &{top:-${e}px;& > svg{transform:rotate(180deg);}}`),yq=l7.path.withConfig({displayName:"StrokePath",componentId:"sc-d20m08-1"})`stroke:var(--card-shadow-outline-color);`,yG=l7.path.withConfig({displayName:"ShapePath",componentId:"sc-d20m08-2"})`fill:var(--card-bg-color);`,yY=(0,np.forwardRef)(function(e,t){let n,r,i,o=(0,rw.c)(29),s,a,l,d;o[0]===e?(s=o[1],a=o[2],l=o[3],d=o[4]):({width:d,height:s,radius:l,...a}=e,o[0]=e,o[1]=s,o[2]=a,o[3]=l,o[4]=d);let u=void 0===l?0:l,{card:c}=vy(),h=c.shadow.outline,f=d/2,p;o[5]!==f||o[6]!==s||o[7]!==u||o[8]!==d?(p=(function(e){let t=e.length,n=[];for(let r=0;r<t;r+=1){let t=e[r],i=e[r-1],o=e[r+1];if(i&&t.radius){let e=yF(t,i,t.radius),r=yF(t,o,t.radius),s=yZ(e,t,.5),a=yZ(t,r,.5);n.push({type:"point",...e}),n.push({type:"curve",curveEnd:r,startControl:s,endControl:a})}else n.push({type:"point",...t})}return n})([{x:0,y:0},{x:u,y:0,radius:u},{x:f,y:s-1,radius:u},{x:d-u,y:0,radius:u},{x:d,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(" "),o[5]=f,o[6]=s,o[7]=u,o[8]=d,o[9]=p):p=o[9];let g=p,m=`${g}`,v=`${g} M ${d} -1 M 0 -1 Z`,y=`0 0 ${d} ${d}`,w;o[10]!==h||o[11]!==d?(w=(0,W.jsx)("mask",{id:"stroke-mask",children:(0,W.jsx)("rect",{x:0,y:h,width:d,height:d,fill:"white"})}),o[10]=h,o[11]=d,o[12]=w):w=o[12];let b=2*h,x;return o[13]!==m||o[14]!==b?(x=(0,W.jsx)(yq,{d:m,mask:"url(#stroke-mask)",strokeWidth:b}),o[13]=m,o[14]=b,o[15]=x):x=o[15],o[16]===v?n=o[17]:(n=(0,W.jsx)(yG,{d:v}),o[16]=v,o[17]=n),o[18]!==y||o[19]!==w||o[20]!==x||o[21]!==n||o[22]!==d?(r=(0,W.jsxs)("svg",{width:d,height:d,viewBox:y,children:[w,x,n]}),o[18]=y,o[19]=w,o[20]=x,o[21]=n,o[22]=d,o[23]=r):r=o[23],o[24]!==t||o[25]!==a||o[26]!==r||o[27]!==d?(i=(0,W.jsx)(yU,{...a,$w:d,ref:t,children:r}),o[24]=t,o[25]=a,o[26]=r,o[27]=d,o[28]=i):i=o[28],i});yY.displayName="ForwardRef(Arrow)";let yX=vf("@sanity/ui/context/boundaryElement",null);function yK(e){return!!(e&&"object"==typeof e&&!Array.isArray(e))}let yJ={version:0,element:null};function yQ(){let e=(0,np.useContext)(yX);if(e&&(!yK(e)||0!==e.version))throw Error("useBoundaryElement(): the context value is not compatible");return e||yJ}function y1(e){if(!yK(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>.");if(0===e.version)return e;throw Error("could not get layer context")}let y0=vf("@sanity/ui/context/layer",null);function y5(e){let t,n=(0,rw.c)(21),{children:r,zOffset:i}=e,o=void 0===i?0:i,s=(0,np.useContext)(y0),a;n[0]===s?a=n[1]:(a=s&&y1(s),n[0]=s,n[1]=a);let l=a,d=l?.registerChild,u=(l?.level??0)+1,c;n[2]===o?c=n[3]:(c=vl(o),n[2]=o,n[3]=c);let h=c,f=h.length-1,p=Math.min(yH(),f),g=l?l.zIndex+h[p]:h[p],m;n[4]===Symbol.for("react.memo_cache_sentinel")?(m={},n[4]=m):m=n[4];let[,v]=(0,np.useState)(m),[y,w]=(0,np.useState)(0),b=0===y,x;n[5]!==d||n[6]!==v?(x=e=>{let t=d?.(e);return void 0===e?w(y3):v(t=>{let n=t[e]??0,r={...t,[e]:n+1};return w(Object.keys(r).length),r}),()=>{void 0===e?w(y2):v(t=>{let n={...t};return 1===n[e]?(delete n[e],w(Object.keys(n).length)):n[e]=n[e]-1,n}),t?.()}},n[5]=d,n[6]=v,n[7]=x):x=n[7];
11let C=x,k,j;n[8]!==u||n[9]!==d?(k=()=>d?.(u),j=[u,d],n[8]=u,n[9]=d,n[10]=k,n[11]=j):(k=n[10],j=n[11]),(0,np.useEffect)(k,j),n[12]!==b||n[13]!==u||n[14]!==C||n[15]!==y||n[16]!==g?(t={version:0,isTopLayer:b,level:u,registerChild:C,size:y,zIndex:g},n[12]=b,n[13]=u,n[14]=C,n[15]=y,n[16]=g,n[17]=t):t=n[17];let M=t,L;return n[18]!==r||n[19]!==M?(L=(0,W.jsx)(y0.Provider,{value:M,children:r}),n[18]=r,n[19]=M,n[20]=L):L=n[20],L}function y2(e){return e-1}function y3(e){return e+1}function y6(){let e=(0,np.useContext)(y0);if(!e)throw Error("useLayer(): missing context value");try{return y1(e)}catch(e){throw e instanceof Error?Error(`useLayer(): ${e.message}`):Error(`useLayer(): ${e}`)}}y5.displayName="LayerProvider";let y4=l7.div.withConfig({displayName:"StyledLayer",componentId:"sc-h90030-0"})({position:"relative"}),y8=(0,np.forwardRef)(function(e,t){let n,r,i,o,s=(0,rw.c)(22),a,l,d,u,c;s[0]===e?(a=s[1],l=s[2],d=s[3],u=s[4],c=s[5]):({children:a,onActivate:l,onFocus:d,style:c,...u}=e,s[0]=e,s[1]=a,s[2]=l,s[3]=d,s[4]=u,s[5]=c);let h=void 0===c?m9:c,{zIndex:f,isTopLayer:p}=y6(),g=(0,np.useRef)(null),m=(0,np.useRef)(null),v=(0,np.useRef)(p),y;s[6]===Symbol.for("react.memo_cache_sentinel")?(y=()=>m.current,s[6]=y):y=s[6],(0,np.useImperativeHandle)(t,y),s[7]!==p||s[8]!==l?(n=()=>{v.current!==p&&p&&l?.({activeElement:g.current}),v.current=p},r=[p,l],s[7]=p,s[8]=l,s[9]=n,s[10]=r):(n=s[9],r=s[10]),(0,np.useEffect)(n,r),s[11]!==p||s[12]!==d?(i=e=>{d?.(e);let t=m.current,n=document.activeElement;!p||!t||!n||vn(n)&&vo(t,n)&&(g.current=n)},s[11]=p,s[12]=d,s[13]=i):i=s[13];let w=i,b;return s[14]!==h||s[15]!==f?(b={...h,zIndex:f},s[14]=h,s[15]=f,s[16]=b):b=s[16],s[17]!==a||s[18]!==w||s[19]!==u||s[20]!==b?(o=(0,W.jsx)(y4,{...u,"data-ui":"Layer",onFocus:w,ref:m,style:b,children:a}),s[17]=a,s[18]=w,s[19]=u,s[20]=b,s[21]=o):o=s[21],o}),y9=(0,np.forwardRef)(function(e,t){let n,r=(0,rw.c)(11),i,o,s;r[0]===e?(i=r[1],o=r[2],s=r[3]):({children:i,zOffset:s,...o}=e,r[0]=e,r[1]=i,r[2]=o,r[3]=s);let a=void 0===s?1:s,l;return r[4]!==i||r[5]!==t||r[6]!==o?(l=(0,W.jsx)(y8,{...o,ref:t,children:i}),r[4]=i,r[5]=t,r[6]=o,r[7]=l):l=r[7],r[8]!==l||r[9]!==a?(n=(0,W.jsx)(y5,{zOffset:a,children:l}),r[8]=l,r[9]=a,r[10]=n):n=r[10],n});y9.displayName="ForwardRef(Layer)";let y7="@sanity/ui/context/portal",we=Symbol.for(`${y7}/element`);vh[we]=null;let wt=vf(y7,{version:0,boundaryElement:null,get element(){return typeof document>"u"?null:(vh[we]||(vh[we]=document.createElement("div"),vh[we].setAttribute("data-portal",""),document.body.appendChild(vh[we])),vh[we])}});function wn(){let e=(0,np.useContext)(wt);if(!e)throw Error("usePortal(): missing context value");if(!yK(e)||0!==e.version)throw Error("usePortal(): the context value is not compatible");return e}function wr(e){let{children:t,__unstable_name:n}=e,r=wn(),i=(n?r.elements&&r.elements[n]:r.element)||r.elements?.default;return i?(0,ng.createPortal)(t,i):null}function wi(e){let t=(0,rw.c)(7),{boundaryElement:n,children:r,element:i,__unstable_elements:o}=e,s=(0,np.useSyncExternalStore)(wa,ws,wo),a=n||null,l=i||s,d;t[0]!==o||t[1]!==a||t[2]!==l?(d={version:0,boundaryElement:a,element:l,elements:o},t[0]=o,t[1]=a,t[2]=l,t[3]=d):d=t[3];let u=d,c;return t[4]!==r||t[5]!==u?(c=(0,W.jsx)(wt.Provider,{value:u,children:r}),t[4]=r,t[5]=u,t[6]=c):c=t[6],c}function wo(){return null}function ws(){return document.body}wr.displayName="Portal",wi.displayName="PortalProvider";let wa=()=>()=>{};function wl(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}let wd=[0,0,0,0],wu={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","to
11p-start","bottom-start"],"right-end":["left-end","top-end","bottom-end"]},wc=l7(m6.create(yk)).withConfig({displayName:"MotionCard",componentId:"sc-5mkek4-0"})`&:not([hidden]){display:flex;}flex-direction:column;width:max-content;min-width:min-content;will-change:transform;`,wh=l7(m6.create(yf)).withConfig({displayName:"MotionFlex",componentId:"sc-5mkek4-1"})`will-change:opacity;`,wf=(0,np.forwardRef)(function(e,t){let n,r,i,o,s,a,l=(0,rw.c)(66),d,u,c,h,f,p,g,m,v,y,w,b,x,C,k,j,M,L,S,E,R,V;l[0]===e?(d=l[1],u=l[2],c=l[3],h=l[4],f=l[5],p=l[6],g=l[7],m=l[8],v=l[9],y=l[10],w=l[11],b=l[12],x=l[13],C=l[14],k=l[15],j=l[16],M=l[17],L=l[18],S=l[19],E=l[20],R=l[21],V=l[22]):({__unstable_margins:g,animate:d,arrow:u,arrowRef:c,arrowX:h,arrowY:f,children:p,padding:w,placement:b,originX:m,originY:v,overflow:y,radius:x,scheme:k,shadow:j,strategy:M,style:L,tone:S,width:E,x:R,y:V,...C}=e,l[0]=e,l[1]=d,l[2]=u,l[3]=c,l[4]=h,l[5]=f,l[6]=p,l[7]=g,l[8]=m,l[9]=v,l[10]=y,l[11]=w,l[12]=b,l[13]=x,l[14]=C,l[15]=k,l[16]=j,l[17]=M,l[18]=L,l[19]=S,l[20]=E,l[21]=R,l[22]=V);let{zIndex:_}=y6(),H=g||wd,$=(R??0)+H[3],A=(V??0)+H[0],T=d?"transform":void 0,I;l[23]!==m||l[24]!==v||l[25]!==M||l[26]!==L||l[27]!==T||l[28]!==E||l[29]!==$||l[30]!==A||l[31]!==_?(I={left:$,originX:m,originY:v,position:M,top:A,width:E,zIndex:_,willChange:T,...L},l[23]=m,l[24]=v,l[25]=M,l[26]=L,l[27]=T,l[28]=E,l[29]=$,l[30]=A,l[31]=_,l[32]=I):I=l[32];let P=I,O=null===h?void 0:h,B=null===f?void 0:f,N;l[33]!==O||l[34]!==B?(N={left:O,top:B,right:void 0,bottom:void 0},l[33]=O,l[34]=B,l[35]=N):N=l[35];let z=N,D=C,F;return l[36]===d?F=l[37]:(F=d?["hidden","initial"]:void 0,l[36]=d,l[37]=F),l[38]===d?n=l[39]:(n=d?["visible","scaleIn"]:void 0,l[38]=d,l[39]=n),l[40]===d?r=l[41]:(r=d?["hidden","scaleOut"]:void 0,l[40]=d,l[41]=r),l[42]!==p||l[43]!==w?(i=(0,W.jsx)(yf,{direction:"column",flex:1,padding:w,children:p}),l[42]=p,l[43]=w,l[44]=i):i=l[44],l[45]!==y||l[46]!==i?(o=(0,W.jsx)(wh,{"data-ui":"Popover__wrapper",direction:"column",flex:1,overflow:y,variants:ve,transition:vt,children:i}),l[45]=y,l[46]=i,l[47]=o):o=l[47],l[48]!==u||l[49]!==c||l[50]!==z?(s=u&&(0,W.jsx)(yY,{ref:c,style:z,width:19,height:8,radius:2}),l[48]=u,l[49]=c,l[50]=z,l[51]=s):s=l[51],l[52]!==b||l[53]!==x||l[54]!==t||l[55]!==P||l[56]!==k||l[57]!==j||l[58]!==o||l[59]!==s||l[60]!==D||l[61]!==F||l[62]!==n||l[63]!==r||l[64]!==S?(a=(0,W.jsxs)(wc,{"data-ui":"Popover",...D,"data-placement":b,radius:x,ref:t,scheme:k,shadow:j,sizing:"border",style:P,tone:S,variants:m7,transition:vt,initial:F,animate:n,exit:r,children:[o,s]}),l[52]=b,l[53]=x,l[54]=t,l[55]=P,l[56]=k,l[57]=j,l[58]=o,l[59]=s,l[60]=D,l[61]=F,l[62]=n,l[63]=r,l[64]=S,l[65]=a):a=l[65],a});wf.displayName="ForwardRef(PopoverCard)";let wp=()=>{let e=(0,rw.c)(2),{zIndex:t}=y6(),n;return e[0]===t?n=e[1]:(n=(0,W.jsx)("div",{style:{height:"100vh",inset:0,position:"fixed",width:"100vw",zIndex:t}}),e[0]=t,e[1]=n),n},wg=(0,np.forwardRef)(function(e,t){let n,r,i,o,s,a,l,d=(0,rw.c)(126),{container:u,layer:c}=vy(),h=yQ(),f,p,g,m,v,y,w,b,x,C,k,j,M,L,S,E,R,V,_,H,$,A,T,I,P,O,B,N,z;if(d[0]!==e){let{__unstable_margins:t,animate:n,arrow:r,boundaryElement:i,children:o,constrainSize:s,content:a,disabled:l,fallbackPlacements:u,matchReferenceWidth:c,floatingBoundary:h,modal:W,onActivate:D,open:F,overflow:Z,padding:U,placement:q,placementStrategy:G,portal:Y,preventOverflow:X,radius:K,referenceBoundary:J,referenceElement:Q,scheme:ee,shadow:et,tone:en,width:er,zOffset:ei,updateRef:eo,...es}=e;R=t,V=n,$=r,f=i,y=o,A=s,w=a,b=l,p=u,x=c,g=h,C=W,k=F,T=Z,j=U,I=q,P=G,M=Y,O=X,B=K,m=J,L=Q,E=ee,N=et,_=en,H=er,v=ei,z=eo,S=es,d[0]=e,d[1]=f,d[2]=p,d[3]=g,d[4]=m,d[5]=v,d[6]=y,d[7]=w,d[8]=b,d[9]=x,d[10]=C,d[11]=k,d[12]=j,d[13]=M,d[14]=L,d[15]=S,d[16]=E,d[17]=R,d[18]=V,d[19]=_,d[20]=H,d[21]=$,d[22]=A,d[23]=T,d[24]=I,d[25]=P,d[26]=O,d[27]=B,d[28]=N,d[29]=z}else f=d[1],p=d[2],g=d[3],m=d[4],v=d[5],y=d[6],w=d[7],b=d[8],x=d[9],C=d[10],k=d[11],j=d[12],M=d[13],L=d[14],S=d[15],E=d[16],R=d[17],V=d[18],_=d[19],H=d[20],$=d[21],A=d[22],T=d[23],I=d[24],P=d[25],O=d[26],B=d[27],N=d[28],z=d[29];let D=void 0===R?wd:R,F=void 0!==V&&V,Z=void 0!==$&&$,U=void 0!==A&&A,q=void 0===T?"hidden":T,G=void 0===I?"bottom":I,Y=void 0===P?"flip":P,X=void 0===O||O,K=void 0===B?3:B,J=void 0===N?3:N,Q=void 0===_?"inherit":_,ee=void 0===H?"auto":H,et=f??h?.element,en=p??wu[e.placement??"bottom"],er=g??e.boundaryElement??h.element,ei=m??e.boundaryElement??h.element,eo=v??c.popover.zOffset,es=!yA()&&F,ea=yE(et)?.border,el;d[30]===j?el=d[31]:(el=vl(j),d[30]=j,d[31]=el);let ed=el,eu;d[32]===K?eu=d[33]:(eu=vl(K),d[32]=K,d[33]=eu);let ec=eu,eh;d[34]===J?eh=d[35]:(eh=vl(J),d[34]=J,d[35]=eh);let ef=eh,ep=vl(ee),eg;d[36]===eo?eg=d[37]:(eg=vl(eo),d[36]=eo,d[37]=eg);let em=eg,ev=(0,np.useRef)(null),ey=(0,np.useRef)(null),ew;d[38]===Symbol.for("react.memo_cache_sentinel")?(ew=()=>ev.current,d[38]=ew):ew=d[38],(0,np.useImperativeHandle)(t,ew);
11let eb=yH(),ex=U||X?ea?.width:void 0,eC=function(e){let{container:t,mediaIndex:n,width:r}=e,i=r[n],o=void 0===i?r[r.length-1]:i;return"number"==typeof o?t[o]:void 0}({container:u,mediaIndex:eb,width:ep}),ek=(0,np.useRef)(eC),ej,eM;d[39]===eC?(ej=d[40],eM=d[41]):(ej=()=>{ek.current=eC},eM=[eC],d[39]=eC,d[40]=ej,d[41]=eM),(0,np.useEffect)(ej,eM),d[42]!==ex||d[43]!==eC?(n=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:ex,currentWidth:eC}),d[42]=ex,d[43]=eC,d[44]=n):n=d[44];let eL=n,eS=(0,np.useRef)(eL),eE,eR;d[45]===eL?(eE=d[46],eR=d[47]):(eE=()=>{eS.current=eL},eR=[eL],d[45]=eL,d[46]=eE,d[47]=eR),(0,np.useEffect)(eE,eR);let eV=(0,np.useRef)(void 0),e_,eH;d[48]!==x||d[49]!==eL||d[50]!==k||d[51]!==eC?(e_=()=>{let e=ev.current;if(!k||!e)return;let t=eV.current;x?void 0!==t&&(e.style.width=`${t}px`):void 0!==eC&&(e.style.width=`${eC}px`),"number"==typeof eL&&(e.style.maxWidth=`${eL}px`)},eH=[eC,x,eL,k],d[48]=x,d[49]=eL,d[50]=k,d[51]=eC,d[52]=e_,d[53]=eH):(e_=d[52],eH=d[53]),(0,np.useEffect)(e_,eH);let[e$,eA]=(0,np.useState)(void 0),eT;d[54]!==es||d[55]!==Z||d[56]!==U||d[57]!==en||d[58]!==er||d[59]!==D||d[60]!==x||d[61]!==G||d[62]!==Y||d[63]!==X||d[64]!==ei?(eT={animate:es,arrowProp:Z,arrowRef:ey,constrainSize:U,fallbackPlacements:en,floatingBoundary:er,margins:D,matchReferenceWidth:x,maxWidthRef:eS,placementProp:G,placementStrategy:Y,preventOverflow:X,referenceBoundary:ei,referenceWidthRef:eV,rootBoundary:"viewport",setReferenceWidth:eA,widthRef:ek},d[54]=es,d[55]=Z,d[56]=U,d[57]=en,d[58]=er,d[59]=D,d[60]=x,d[61]=G,d[62]=Y,d[63]=X,d[64]=ei,d[65]=eT):eT=d[65];let eI=function(e){let t=(0,rw.c)(42),{animate:n,arrowProp:r,arrowRef:i,constrainSize:o,fallbackPlacements:s,floatingBoundary:a,margins:l,matchReferenceWidth:d,maxWidthRef:u,placementProp:c,placementStrategy:h,preventOverflow:f,referenceBoundary:p,referenceWidthRef:g,rootBoundary:m,setReferenceWidth:v,widthRef:y}=e,w;if(t[0]!==n||t[1]!==r||t[2]!==i||t[3]!==o||t[4]!==s||t[5]!==a||t[6]!==l||t[7]!==d||t[8]!==u||t[9]!==c||t[10]!==h||t[11]!==f||t[12]!==p||t[13]!==g||t[14]!==m||t[15]!==v||t[16]!==y){var b,x,C,k,j,M;let e,L;if(w=[],o||f)if("autoPlacement"===h){let e,n;t[18]!==s||t[19]!==c?(e={name:(n={name:"autoPlacement",options:C=b={allowedPlacements:[c].concat(s)},async fn(e){var t,n,r,i;let{rects:o,middlewareData:s,placement:a,platform:l,elements:d}=e,{crossAxis:u=!1,alignment:c,allowedPlacements:h=dG.placements,autoAlignment:f=!0,...p}=(0,dG.evaluate)(C,e),g=void 0!==c||h===dG.placements?((i=c||null)?[...h.filter(e=>(0,dG.getAlignment)(e)===i),...h.filter(e=>(0,dG.getAlignment)(e)!==i)]:h.filter(e=>(0,dG.getSide)(e)===e)).filter(e=>!i||(0,dG.getAlignment)(e)===i||!!f&&(0,dG.getOppositeAlignmentPlacement)(e)!==e):h,m=await l.detectOverflow(e,p),v=(null==(t=s.autoPlacement)?void 0:t.index)||0,y=g[v];if(null==y)return{};let w=(0,dG.getAlignmentSides)(y,o,await (null==l.isRTL?void 0:l.isRTL(d.floating)));if(a!==y)return{reset:{placement:g[0]}};let b=[m[(0,dG.getSide)(y)],m[w[0]],m[w[1]]],x=[...(null==(n=s.autoPlacement)?void 0:n.overflows)||[],{placement:y,overflows:b}],k=g[v+1];if(k)return{data:{index:v+1,overflows:x},reset:{placement:k}};let j=x.map(e=>{let t=(0,dG.getAlignment)(e.placement);return[e.placement,t&&u?e.overflows.slice(0,2).reduce((e,t)=>e+t,0):e.overflows[0],e.overflows]}).sort((e,t)=>e[1]-t[1]),M=(null==(r=j.filter(e=>e[2].slice(0,(0,dG.getAlignment)(e[0])?2:3).every(e=>e<=0))[0])?void 0:r[0])||j[0][0];return M!==a?{data:{index:v+1,overflows:x},reset:{placement:M}}:{}}}).name,fn:n.fn,options:[b,x]},t[18]=s,t[19]=c,t[20]=e):e=t[20],w.push(e)}else{let e=a||void 0,n;t[21]!==s||t[22]!==m||t[23]!==e?(n=uO({boundary:e,fallbackPlacements:s,padding:4,rootBoundary:m}),t[21]=s,t[22]=m,t[23]=e,t[24]=n):n=t[24],w.push(n)}if(t[25]===Symbol.for("react.memo_cache_sentinel")?(e=uI({mainAxis:4}),t[25]=e):e=t[25],w.push(e),o||d){let e=a||void 0,n;t[26]!==o||t[27]!==l||t[28]!==d||t[29]!==u||t[30]!==g||t[31]!==v||t[32]!==e||t[33]!==y?(n=function(e){let{constrainSize:t,margins:n,matchReferenceWidth:r,maxWidthRef:i,padding:o=0,referenceWidthRef:s,setReferenceWidth:a,widthRef:l}=e;return{name:"@sanity/ui/size",async fn(d){let{elements:u,placement:c,platform:h,rects:f}=d,{floating:p,reference:g}=f,m=await dX(d,{altBoundary:!0,boundary:e.boundaryElement||void 0,elementContext:"floating",padding:o,rootBoundary:"viewport"}),v=1/0,y=1/0,w=p.width,b=p.height;c.includes("top")&&(v=w-(m.left+m.right),y=b-m.top),c.includes("right")&&(v=w-m.right,y=b-(m.top+m.bottom)),c.includes("bottom")&&(v=w-(m.left+m.right),y=b-m.bottom),c.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];s.current=k,a(k),r?u.floating.style.width=`${k}px`:void 0!==l.current&&(u.floating.style.width=`${l.current}px`),t&&(u.floating.style.maxWidth=`${Math.min(x,i.current??1/0)}px`,u.floating.style.maxHeight=`${C}px`);let j=await h.getDimensions(u.floating),M=j.height;return w!==j.width||b!==M?{reset:{rects:!0}}:{}}}}({boundaryElement:e,constrainSize:o,margins:l,matchReferenceWidth:d,maxWidthRef:u,padding:4,referenceWidthRef:g,setReferenceWidth:v,widthRef:y}),t[26]=o,t[27]=l,t[28]=d,t[29]=u,t[30]=g,t[31]=v,t[32]=e,t[33]=y,t[34]=n):n=t[34],w.push(n)}if(f){let e=a||void 0,n;t[35]!==m||t[36]!==e?(n=uP({boundary:e,rootBoundary:m,padding:4}),t[35]=m,t[36]=e,t[37]=n):n=t[37],w.push(n)}if(r){let e;t[38]===i?e=t[39]:(e=uB({element:i,padding:4}),t[38]=i,t[39]=e),w.push(e)}n&&w.push(yz);let S=p||void 0,E;t[40]===S?E=t[41]:(E={name:(L={name:"hide",options:M=k={boundary:S,padding:4,strategy:"referenceHidden"},async fn(e){let{rects:t,platform:n}=e,{strategy:r="referenceHidden",...i}=(0,dG.evaluate)(M,e);switch(r){case"referenceHidden":{let r=dJ(await n.detectOverflow(e,{...i,elementContext:"reference"}),t.reference);return{data:{referenceHiddenOffsets:r,referenceHidden:dQ(r)}}}case"escaped":{let r=dJ(await n.detectOverflow(e,{...i,altBoundary:!0}),t.floating);return{data:{escapedOffsets:r,escaped:dQ(r)}}}default:return{}}}}).name,fn:L.fn,options:[k,j]},t[40]=S,t[41]=E),w.push(E),t[0]=n,t[1]=r,t[2]=i,t[3]=o,t[4]=s,t[5]=a,t[6]=l,t[7]=d,t[8]=u,t[9]=c,t[10]=h,t[11]=f,t[12]=p,t[13]=g,t[14]=m,t[15]=v,t[16]=y,t[17]=w}else w=t[17];return w}(eT),eP;d[66]===L?eP=d[67]:(eP=L?{reference:L}:void 0,d[66]=L,d[67]=eP),d[68]!==eI||d[69]!==G||d[70]!==eP?(r={middleware:eI,placement:G,whileElementsMounted:uE,elements:eP},d[68]=eI,d[69]=G,d[70]=eP,d[71]=r):r=d[71];let{x:eO,y:eB,middlewareData:eW,placement:eN,refs:ez,strategy:eD,update:eF}=uT(r),eZ=eW.hide?.referenceHidden,eU=eW.arrow?.x,eq=eW.arrow?.y,eG=eW["@sanity/ui/origin"]?.originX,eY=eW["@sanity/ui/origin"]?.originY,e
11X;d[72]===Symbol.for("react.memo_cache_sentinel")?(eX=e=>{ey.current=e},d[72]=eX):eX=d[72];let eK=eX,eJ;d[73]===ez?eJ=d[74]:(eJ=e=>{ev.current=e,ez.setFloating(e)},d[73]=ez,d[74]=eJ);let eQ=eJ,e1;d[75]===y?e1=d[76]:(e1=y?wl(y):null,d[75]=y,d[76]=e1),d[77]===ez.reference.current?i=d[78]:(i=()=>ez.reference.current,d[77]=ez.reference.current,d[78]=i),(0,np.useImperativeHandle)(e1,i);t:{let e;if(L){o=y;break t}if(!y){o=null;break t}d[79]!==y||d[80]!==ez.setReference?(e=(0,np.cloneElement)(y,{ref:ez.setReference}),d[79]=y,d[80]=ez.setReference,d[81]=e):e=d[81],o=e}let e0=o,e5,e2;if(d[82]===eF?(e5=d[83],e2=d[84]):(e5=()=>eF,e2=[eF],d[82]=eF,d[83]=e5,d[84]=e2),(0,np.useImperativeHandle)(z,e5,e2),b){let e;return d[85]===y?e=d[86]:(e=y||(0,W.jsx)(W.Fragment,{}),d[85]=y,d[86]=e),e}d[87]===C?s=d[88]:(s=C&&(0,W.jsx)(wp,{}),d[87]=C,d[88]=s);let e3=x?e$:eC,e6;d[89]!==es||d[90]!==Z||d[91]!==eU||d[92]!==eq||d[93]!==w||d[94]!==D||d[95]!==eG||d[96]!==eY||d[97]!==q||d[98]!==ed||d[99]!==eN||d[100]!==ec||d[101]!==eZ||d[102]!==S||d[103]!==E||d[104]!==eQ||d[105]!==ef||d[106]!==eD||d[107]!==e3||d[108]!==Q||d[109]!==eO||d[110]!==eB?(e6=(0,W.jsx)(wf,{...S,__unstable_margins:D,animate:es,arrow:Z,arrowRef:eK,arrowX:eU,arrowY:eq,hidden:eZ,overflow:q,padding:ed,placement:eN,radius:ec,ref:eQ,scheme:E,shadow:ef,originX:eG,originY:eY,strategy:eD,tone:Q,width:e3,x:eO,y:eB,children:w}),d[89]=es,d[90]=Z,d[91]=eU,d[92]=eq,d[93]=w,d[94]=D,d[95]=eG,d[96]=eY,d[97]=q,d[98]=ed,d[99]=eN,d[100]=ec,d[101]=eZ,d[102]=S,d[103]=E,d[104]=eQ,d[105]=ef,d[106]=eD,d[107]=e3,d[108]=Q,d[109]=eO,d[110]=eB,d[111]=e6):e6=d[111],d[112]!==s||d[113]!==e6||d[114]!==em?(a=(0,W.jsxs)(y5,{zOffset:em,children:[s,e6]}),d[112]=s,d[113]=e6,d[114]=em,d[115]=a):a=d[115];let e4=a,e8;d[116]!==k||d[117]!==e4||d[118]!==M?(e8=k&&(M?(0,W.jsx)(wr,{__unstable_name:"string"==typeof M?M:void 0,children:e4}):e4),d[116]=k,d[117]=e4,d[118]=M,d[119]=e8):e8=d[119];let e9=e8,e7;return d[120]!==es||d[121]!==e9?(e7=es?(0,W.jsx)(u5,{children:e9}):e9,d[120]=es,d[121]=e9,d[122]=e7):e7=d[122],d[123]!==e0||d[124]!==e7?(l=(0,W.jsxs)(W.Fragment,{children:[e7,e0]}),d[123]=e0,d[124]=e7,d[125]=l):l=d[125],l});wg.displayName="ForwardRef(Popover)";let wm={"&&:not([hidden])":{display:"grid"},'&[data-as="ul"],&[data-as="ol"]':{listStyle:"none"},gridTemplateColumns:"minmax(0, 1fr)",gridAutoRows:"min-content"},wv=l7(yd).withConfig({displayName:"StyledStack",componentId:"sc-tusrcx-0"})(function(){return wm},function(e){let{media:t,space:n}=n_(e.theme);return va(t,e.$space,e=>({gridGap:vs(n[e])}))}),wy=(0,np.forwardRef)(function(e,t){let n,r=(0,rw.c)(13),i,o,s,a;r[0]===e?(i=r[1],o=r[2],s=r[3],a=r[4]):({as:i,gap:s,space:o,...a}=e,r[0]=e,r[1]=i,r[2]=o,r[3]=s,r[4]=a);let l=void 0===s?o:s,d="string"==typeof i?i:void 0,u;return r[5]===l?u=r[6]:(u=vl(l),r[5]=l,r[6]=u),r[7]!==i||r[8]!==t||r[9]!==a||r[10]!==d||r[11]!==u?(n=(0,W.jsx)(wv,{"data-as":d,"data-ui":"Stack",...a,$space:u,forwardedAs:i,ref:t}),r[7]=i,r[8]=t,r[9]=a,r[10]=d,r[11]=u,r[12]=n):n=r[12],n});wy.displayName="ForwardRef(Stack)";let ww={zIndex:2},wb=l7(yk).attrs({forwardedAs:"span"}).withConfig({displayName:"StyledTextInput",componentId:"sc-p5vqj0-0"})(ye),wx=l7.span.withConfig({displayName:"InputRoot",componentId:"sc-p5vqj0-1"})`flex:1;min-width:0;display:block;position:relative;`,wC=l7(yk).attrs({forwardedAs:"span"}).withConfig({displayName:"Prefix",componentId:"sc-p5vqj0-2"})`border-top-right-radius:0;border-bottom-right-radius:0;& > span{display:block;margin:-1px;}`,wk=l7(yk).attrs({forwardedAs:"span"}).withConfig({displayName:"Suffix",componentId:"sc-p5vqj0-3"})`border-top-left-radius:0;border-bottom-left-radius:0;& > span{display:block;margin:-1px;}`,wj=l7.input.withConfig({displayName:"Input",componentId:"sc-p5vqj0-4"})(v8,yt,yn),wM=l7.span.withConfig({displayName:"Presentation",componentId:"sc-p5vqj0-5"})(yo,yr),wL=l7(yd).withConfig({displayName:"LeftBox",componentId:"sc-p5vqj0-6"})`position:absolute;top:0;left:0;`,wS=l7(yd).withConfig({displayName:"RightBox",componentId:"sc-p5vqj0-7"})`position:absolute;top:0;right:0;`,wE=l7(yk).withConfig({displayName:"RightCard",componentId:"sc-p5vqj0-8"})`background-color:transparent;position:absolute;top:0;right:0;`,wR=l7(yx).withConfig({displayName:"TextInputClearButton",componentId:"sc-p5vqj0-9"})({"&:not([hidden])":{display:"block"}}),wV=(0,np.forwardRef)(function(e,t){let n,r,i,o,s,a=(0,rw.c)(93),l,d,u,c,h,f,p,g,m,v,y,w,b,x,C,k,j,M,L;a[0]===e?(l=a[1],d=a[2],u=a[3],c=a[4],h=a[5],f=a[6],p=a[7],g=a[8],m=a[9],v=a[10],y=a[11],w=a[12],b=a[13],x=a[14],C=a[15],k=a[16],j=a[17],M=a[18],L=a[19]):({__unstable_disableFocusRing:u,border:w,clearButton:c,disabled:b,fontSize:x,gap:f,icon:l,iconRight:d,onClear:p,padding:C,prefix:g,radius:k,readOnly:m,space:j,suffix:y,customValidity:h,type:M,weight:L,...v}=e,a[0]=e,a[1]=l,a[2]=d,a[3]=u,a[4]=c,a[5]=h,a[6]=f,a[7]=p,a[8]=g,a[9]=m,a[10]=v,a[11]=y,a[12]=w,a[13]=b,a[14]=x,a[15]=C,a[16]=k,a[17]=j,a[18]=M,a[19]=L);let S=void 0===w||w,E=void 0!==b&&b,R=void 0===x?2:x,V=void 0===C?3:C,_=void 0===k?2:k,H=void 0===j?3:j,$=void 0===M?"text":M,A=(0,np.useRef)(null),T=vm(),I;a[20]===R?I=a[21]:(I=vl(R),a[20]=R,a[21]=I);let P=I,O;a[22]===V?O=a[23]:(O=vl(V),a[22]=V,a[23]=O);let B=O,N;a[24]===_?N=a[25]:(N=vl(_),a[24]=_,a[25]=N);let z=N,D=void 0===f?H:f,F;a[26]===D?F=a[27]:(F=vl(D),a[26]=D,a[27]=F);let Z=F,U=!!c,q=!!l,G=!!d,Y=!!y,X=!!g,K;a[28]===Symbol.for("react.memo_cache_sentinel")?(K=()=>A.current,a[28]=K):K=a[28],(0,np.useImperativeHandle)(t,K),yM(A,h),a[29]===p?n=a[30]:(n=e=>{e.preventDefault(),e.stopPropagation(),p&&p(),A.current?.focus()},a[29]=p,a[30]=n);let J=n,Q;a[31]!==g||a[32]!==z?(Q=g&&(0,W.jsx)(wC,{borderTop:!0,borderLeft:!0,borderBottom:!0,radius:z,sizing:"border",tone:"inherit",children:(0,W.jsx)("span",{children:g})}),a[31]=g,a[32]=z,a[33]=Q):Q=a[33];let ee=Q,et=S?"":void 0,en;a[34]!==l||a[35]!==P||a[36]!==B?(en=l&&(0,W.jsx)(wL,{padding:B,children:(0,W.jsxs)(yc,{size:P,children:[(0,np.isValidElement)(l)&&l,(0,at.isValidElementType)(l)&&(0,W.jsx)(l,{})]})}),a[34]=l,a[35]=P,a[36]=B,a[37]=en):en=a[37],a[38]!==U||a[39]!==d||a[40]!==P||a[41]!==B?(r=!U&&d&&(0,W.jsx)(wS,{padding:B,children:(0,W.jsxs)(yc,{size:P,children:[(0,np.isValidElement)(d)&&d,(0,at.isValidElementType)(d)&&(0,W.jsx)(d,{})]})}),a[38]=U,a[39]=d,a[40]=P,a[41]=B,a[42]=r):r=a[42],a[43]!==X||a[44]!==Y||a[45]!==u||a[46]!==z||a[47]!==T.scheme||a[48]!==T.tone||a[49]!==et||a[50]!==en||a[51]!==r?(i=(0,W.jsxs)(wM,{$hasPrefix:X,$unstableDisableFocusRing:u,$hasSuffix:Y,$radius:z,$scheme:T.scheme,$tone:T.tone,"data-border":et,"data-scheme":T.scheme,"data-tone":T.tone,children:[en,r]}),a[43]=X,a[44]=Y,a[45]=u,a[46]=z,a[47]=T.scheme,a[48]=T.tone,a[49]=et,a[50]=en,a[51]=r,a[52]=i):i=a[52];let er=i,ei;a[53]===B?ei=a[54]:(ei=B.map(wH),a[53]=B,a[54]=ei);let eo=ei,es;a[55]===B?es=a[56]:(es=B.map(w$),a[55]=B,a[56]=es);let ea=es,el="object"==typeof c?c:m9,ed;a[57]!==c||a[58]!==eo||a[59]!==ea||a[60]!==el||a[61]!==h||a[62]!==E||a[63]!==P||a[64]!==J||a[65]!==z||a[66]!==m?(ed=!E&&!m&&c&&(0,W.jsx)(wE,{forwardedAs:"span",padding:eo,style:ww,tone:h?"critical":"inherit",children:(0,W.jsx)(wR,{"aria-label":"Clear","data-qa":"clear-button",fontSize:P,icon:ir,mode:"bleed",padding:ea,radius:z,...el,onClick:J,onMouseDown:w_})}),a[57]=c,a[58]=eo,a[59]=ea,a[60]=el,a[61]=h,a[62]=E,a[63]=P,a[64]=J,a[65]=z,a[66]=m,a[67]=ed):ed=a[67];let eu=ed,ec;a[68]!==z||a[69]!==y?(ec=y&&(0,W.jsx)(wk,{borderTop:!0,borderRight:!0,borderBottom:!0,radius:z,sizing:"border",tone:"inherit",children:(0,W.jsx)("span",{children:y})}),a[68]=z,a[69]=y,a[70]=ec):ec=a[70];let eh=ec,ef=G||U,ep;return a[71]!==q||a[72]!==E||a[73]!==P||a[74]!==B||a[75]!==m||a[76]!==v||a[77]!==T.scheme||a[78]!==T.tone||a[79]!==Z||a[80]!==ef||a[81]!==$||a[82]!==L?(ep=(0,W.jsx)(wj,{"data-as":"input","data-scheme":T.scheme,"data-tone":T.tone,...v,$fontSize:P,$iconLeft:q,$iconRight:ef,$padding:B,$scheme:T.scheme,$space:Z,$tone:T.tone,$weight:L,disabled:E,readOnly:m,ref:A,type:$}),a[71]=q,a[72]=E,a[73]=P,a[74]=B,a[75]=m,a[76]=v,a[77]=T.scheme,a[78]=T.tone,a[79]=Z,a[80]=ef,a[81]=$,a[82]=L,a[83]=ep):ep=a[83],a[84]!==eu||a[85]!==er||a[86]!==ep?(o=(0,W.jsxs)(wx,{children:[ep,er,eu]}),a[84]=eu,a[85]=er,a[86]=ep,a[87]=o):o=a[87],a[88]!==ee||a[89]!==T.tone||a[90]!==eh||a[91]!==o?(s=(0,W.jsxs)(wb,{"data-ui":"TextInput",tone
11:T.tone,children:[ee,o,eh]}),a[88]=ee,a[89]=T.tone,a[90]=eh,a[91]=o,a[92]=s):s=a[92],s});function w_(e){e.preventDefault(),e.stopPropagation()}function wH(e){return 0===e?0:1===e||2===e?1:e-2}function w$(e){return 0===e||1===e?0:2===e?1:e-1}wV.displayName="ForwardRef(TextInput)";let wA={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"]},wT=l7(m6.create(yk)).withConfig({displayName:"MotionCard",componentId:"sc-ae1zod-0"})`will-change:transform;`,wI=(0,np.forwardRef)(function(e,t){let n,r,i,o,s=(0,rw.c)(48),a,l,d,u,c,h,f,p,g,m,v,y,w,b,x;s[0]===e?(a=s[1],l=s[2],d=s[3],u=s[4],c=s[5],h=s[6],f=s[7],p=s[8],g=s[9],m=s[10],v=s[11],y=s[12],w=s[13],b=s[14],x=s[15]):({animate:a,arrow:l,arrowRef:d,arrowX:u,arrowY:c,children:h,originX:f,originY:p,padding:g,placement:m,radius:v,scheme:w,shadow:b,style:x,...y}=e,s[0]=e,s[1]=a,s[2]=l,s[3]=d,s[4]=u,s[5]=c,s[6]=h,s[7]=f,s[8]=p,s[9]=g,s[10]=m,s[11]=v,s[12]=y,s[13]=w,s[14]=b,s[15]=x);let C=a?"transform":void 0,k;s[16]!==f||s[17]!==p||s[18]!==x||s[19]!==C?(k={originX:f,originY:p,willChange:C,...x},s[16]=f,s[17]=p,s[18]=x,s[19]=C,s[20]=k):k=s[20];let j=k,M=null===u?void 0:u,L=null===c?void 0:c,S;s[21]!==M||s[22]!==L?(S={left:M,top:L,right:void 0,bottom:void 0},s[21]=M,s[22]=L,s[23]=S):S=s[23];let E=S,R=y,V;return s[24]===a?V=s[25]:(V=a?["hidden","initial"]:void 0,s[24]=a,s[25]=V),s[26]===a?n=s[27]:(n=a?["visible","scaleIn"]:void 0,s[26]=a,s[27]=n),s[28]===a?r=s[29]:(r=a?["hidden","scaleOut"]:void 0,s[28]=a,s[29]=r),s[30]!==l||s[31]!==d||s[32]!==E?(i=l&&(0,W.jsx)(yY,{ref:d,style:E,width:15,height:6,radius:2}),s[30]=l,s[31]=d,s[32]=E,s[33]=i):i=s[33],s[34]!==h||s[35]!==g||s[36]!==m||s[37]!==v||s[38]!==t||s[39]!==j||s[40]!==w||s[41]!==b||s[42]!==R||s[43]!==V||s[44]!==n||s[45]!==r||s[46]!==i?(o=(0,W.jsxs)(wT,{"data-ui":"Tooltip__card",...R,"data-placement":m,padding:g,radius:v,ref:t,scheme:w,shadow:b,style:j,variants:m7,transition:vt,initial:V,animate:n,exit:r,children:[h,i]}),s[34]=h,s[35]=g,s[36]=m,s[37]=v,s[38]=t,s[39]=j,s[40]=w,s[41]=b,s[42]=R,s[43]=V,s[44]=n,s[45]=r,s[46]=i,s[47]=o):o=s[47],o});wI.displayName="ForwardRef(TooltipCard)";let wP=vf("@sanity/ui/context/tooltipDelayGroup",null),wO=l7(y9).withConfig({displayName:"StyledTooltip",componentId:"sc-hx8o7p-0"})`pointer-events:none;`,wB=(0,np.forwardRef)(function(e,t){let n,r,i,o,s,a,l,d,u,c,h,f,p,g,m,v=(0,rw.c)(137),y=yQ(),{layer:w}=vy(),b,x,C,k,j,M,L,S,E,R,V,_,H,$,A,T;v[0]===e?(b=v[1],x=v[2],C=v[3],k=v[4],j=v[5],M=v[6],L=v[7],S=v[8],E=v[9],R=v[10],V=v[11],_=v[12],H=v[13],$=v[14],A=v[15],T=v[16]):({animate:V,arrow:_,boundaryElement:b,children:k,content:j,disabled:L,fallbackPlacements:x,padding:H,placement:$,portal:S,radius:A,scheme:R,shadow:T,zOffset:C,delay:M,...E}=e,v[0]=e,v[1]=b,v[2]=x,v[3]=C,v[4]=k,v[5]=j,v[6]=M,v[7]=L,v[8]=S,v[9]=E,v[10]=R,v[11]=V,v[12]=_,v[13]=H,v[14]=$,v[15]=A,v[16]=T);let I=void 0!==V&&V,P=void 0!==_&&_,O=void 0===H?2:H,B=void 0===$?"bottom":$,N=void 0===A?2:A,z=void 0===T?2:T,D=b??y?.element,F=x??wA[e.placement??"bottom"],Z=C??w.tooltip.zOffset,U=!yA()&&I,q;v[17]===F?q=v[18]:(q=vl(F),v[17]=F,v[18]=q);let G=q,Y=(0,np.useRef)(null),[X,K]=(0,np.useState)(null),J=(0,np.useRef)(null),[Q,ee]=(0,np.useState)(0),et;v[19]===Symbol.for("react.memo_cache_sentinel")?(et=()=>Y.current,v[19]=et):et=v[19],(0,np.useImperativeHandle)(t,et);let en=wn(),er="string"==typeof S?en.elements?.[S]||null:en.element,ei;v[20]!==U||v[21]!==P||v[22]!==D||v[23]!==G?(ei={animate:U,arrowProp:P,arrowRef:J,boundaryElement:D,fallbackPlacements:G,rootBoundary:"viewport"},v[20]=U,v[21]=P,v[22]=D,v[23]=G,v[24]=ei):ei=v[24];let eo=function(e){let t=(0,rw.c)(17),{animate:n,arrowProp:r,arrowRef:i,boundaryElement:o,fallbackPlacements:s,rootBoundary:a}=e,l;if(t[0]!==n||t[1]!==r||t[2]!==i||t[3]!==o||t[4]!==s||t[5]!==a){let e;l=[];let d=o||void 0,u;t[7]!==s||t[8]!==a||t[9]!==d?(u=uO({boundary:d,fallbackPlacements:s,padding:4,rootBoundary:a}),t[7]=s,t[8]=a,t[9]=d,t[10]=u):u=t[10],l.push(u),t[11]===Symbol.for("react.memo_cache_sentinel")?(e=uI({mainAxis:4}),t[11]=e):e=t[11],l.push(e);let c=o||void 0,h;if(t[12]!==a||t[13]!==c?(h=uP({boundary:c,rootBoundary:a,padding:4}),t[12]=a,t[13]=c,t[14]=h):h=t[14],l.push(h),r){let e;t[15]===i?e=t[16]:(e=uB({element:i,padding:4}),t[15]=i,t[16]=e),l.push(e)}n&&l.push(yz),t[0]=n,t[1]=r,t[2]=i,t[3]=o,t[4]=s,t[5]=a,t[6]=l}else l=t[6];return l}(ei),es;v[25]===X?es=v[26]:(es={reference:X},v[25]=X,v[26]=es),v[27]!==eo||v[28]!==B||v[29]!==es?(n={middleware:eo,placement:B,whileElementsMounted:uE,elements:es},v[27]=eo,v[28]=B,v[29]=es,v[30]=n):n=v[30];let{floatingStyles:ea,placement:el,middlewareData:ed,refs:eu,update:ec}=uT(n),eh=ed.arrow?.x,ef=ed.arrow?.y,ep=ed["@sanity/ui/origin"]?.originX,eg=ed["@sanity/ui/origin"]?.originY,em=(0,np.useId)(),[ev,ey]=function(e){let[t,n]=(0,np.useState)(e),r=(0,np.useRef)(void 0),i=(0,np.useCallback)((e,t)=>{let i=()=>{n(e)};if(r.current&&=void clearTimeout(r.current),!t)return i();r.current=setTimeout(i,t)},[]);return(0,np.useEffect)(()=>()=>{r.current&&clearTimeout(r.current)},[]),[t,i]}(!1),ew=(0,np.useContext)(wP),eb;v[31]===ew?eb=v[32]:(eb=ew||{},v[31]=ew,v[32]=eb);let{setIsGroupActive:ex,setOpenTooltipId:eC}=eb,ek=ev||ew?.openTooltipId===em,ej=null!==ew,eM="number"==typeof M?M:M?.open||0,eL="number"==typeof M?M:M?.close||0,eS=ej?ew.openDelay:eM,eE=ej?ew.closeDelay:eL,eR;v[33]!==eE||v[34]!==ej||v[35]!==eS||v[36]!==ex||v[37]!==ey||v[38]!==eC||v[39]!==em?(eR=(e,t)=>{if(ej)if(e){let n=t?0:eS;ex?.(e,n),eC?.(em,n)}else ex?.(e,eE>200?eE:200),eC?.(null,t?0:eE);else ey(e,t?0:e?eS:eE)},v[33]=eE,v[34]=ej,v[35]=eS,v[36]=ex,v[37]=ey,v[38]=eC,v[39]=em,v[40]=eR):eR=v[40];let eV=eR,e_;v[41]!==k?.props||v[42]!==eV?(e_=e=>{eV(!1),k?.props?.onBlur?.(e)},v[41]=k?.props,v[42]=eV,v[43]=e_):e_=v[43],k?.props;let eH=e_,e$;v[44]!==k?.props||v[45]!==eV?(e$=e=>{eV(!1,!0),k?.props.onClick?.(e)},v[44]=k?.props,v[45]=eV,v[46]=e$):e$=v[46],k?.props;let eA=e$,eT;v[47]!==k?.props||v[48]!==eV?(eT=e=>{eV(!1,!0),k?.props.onContextMenu?.(e)},v[47]=k?.props,v[48]=eV,v[49]=eT):eT=v[49],k?.props;let eI=eT,eP;v[50]!==k?.props||v[51]!==eV?(eP=e=>{eV(!0),k?.props?.onFocus?.(e)},v[50]=k?.props,v[51]=eV,v[52]=eP):eP=v[52],k?.props;let eO=eP,eB;v[53]!==k?.props||v[54]!==eV?(eB=e=>{eV(!0),k?.props?.onMouseEnter?.(e)},v[53]=k?.props,v[54]=eV,v[55]=eB):eB=v[55],k?.props;let eW=eB,eN;v[56]!==k?.props||v[57]!==eV?(eN=e=>{eV(!1),k?.props?.onMouseLeave?.(e)},v[56]=k?.props,v[57]=eV,v[58]=eN):eN=v[58],k?.props;let ez=eN,eD;
11v[59]!==eV||v[60]!==ej||v[61]!==X||v[62]!==ek?(eD={handleIsOpenChange:eV,referenceElement:X,showTooltip:ek,isInsideGroup:ej},v[59]=eV,v[60]=ej,v[61]=X,v[62]=ek,v[63]=eD):eD=v[63],function(e){let t,n=(0,rw.c)(10),{handleIsOpenChange:r,referenceElement:i,showTooltip:o,isInsideGroup:s}=e,a;n[0]!==r||n[1]!==i?(a=(e,t)=>{i&&(i===e||e instanceof Node&&i.contains(e)||(r(!1),t()))},n[0]=r,n[1]=i,n[2]=a):a=n[2];let l=ds(a),d;n[3]!==s||n[4]!==l||n[5]!==o?(d=()=>{if(!o||s)return;let e=t=>{l(t.target,()=>window.removeEventListener("mousemove",e))};return window.addEventListener("mousemove",e),()=>window.removeEventListener("mousemove",e)},n[3]=s,n[4]=l,n[5]=o,n[6]=d):d=n[6],n[7]!==s||n[8]!==o?(t=[s,o],n[7]=s,n[8]=o,n[9]=t):t=n[9],(0,np.useEffect)(d,t)}(eD),v[64]!==L||v[65]!==eV||v[66]!==ek?(r=()=>{L&&ek&&eV(!1)},i=[L,eV,ek],v[64]=L,v[65]=eV,v[66]=ek,v[67]=r,v[68]=i):(r=v[67],i=v[68]),(0,np.useEffect)(r,i),v[69]!==j||v[70]!==eV||v[71]!==ek?(o=()=>{!j&&ek&&eV(!1)},s=[j,eV,ek],v[69]=j,v[70]=eV,v[71]=ek,v[72]=o,v[73]=s):(o=v[72],s=v[73]),(0,np.useEffect)(o,s),v[74]!==eV||v[75]!==ek?(a=()=>{if(!ek)return;let e=function(e){"Escape"===e.key&&eV(!1,!0)};return window.addEventListener("keydown",e),()=>{window.removeEventListener("keydown",e)}},l=[eV,ek],v[74]=eV,v[75]=ek,v[76]=a,v[77]=l):(a=v[76],l=v[77]),(0,np.useEffect)(a,l),v[78]!==D||v[79]!==er?.offsetWidth?(d=()=>{ee(Math.min(...D?[D.offsetWidth]:[],er?.offsetWidth||document.body.offsetWidth)-8)},v[78]=D,v[79]=er?.offsetWidth,v[80]=d):d=v[80],v[81]!==D||v[82]!==er?(u=[D,er],v[81]=D,v[82]=er,v[83]=u):u=v[83],(0,np.useLayoutEffect)(d,u),v[84]===ec?c=v[85]:(c=e=>{J.current=e,ec()},v[84]=ec,v[85]=c);let eF=c,eZ;v[86]===eu?eZ=v[87]:(eZ=e=>{Y.current=e,eu.setFloating(e)},v[86]=eu,v[87]=eZ);let eU=eZ,eq;t:{let e;if(!k){eq=null;break t}v[88]!==k||v[89]!==eH||v[90]!==eA||v[91]!==eI||v[92]!==eO||v[93]!==eW||v[94]!==ez?(e=(0,np.cloneElement)(k,{onBlur:eH,onFocus:eO,onMouseEnter:eW,onMouseLeave:ez,onClick:eA,onContextMenu:eI,ref:K}),v[88]=k,v[89]=eH,v[90]=eA,v[91]=eI,v[92]=eO,v[93]=eW,v[94]=ez,v[95]=e):e=v[95],eq=e}let eG=eq,eY;if(v[96]===k?eY=v[97]:(eY=k?wl(k):null,v[96]=k,v[97]=eY),v[98]===X?(h=v[99],f=v[100]):(h=()=>X,f=[X],v[98]=X,v[99]=h,v[100]=f),(0,np.useImperativeHandle)(eY,h,f),!eG){let e;return v[101]===Symbol.for("react.memo_cache_sentinel")?(e=(0,W.jsx)(W.Fragment,{}),v[101]=e):e=v[101],e}if(L)return eG;let eX=Q>0?`${Q}px`:void 0,eK;v[102]!==ea||v[103]!==eX?(eK={...ea,maxWidth:eX},v[102]=ea,v[103]=eX,v[104]=eK):eK=v[104],v[105]!==U||v[106]!==P||v[107]!==eh||v[108]!==ef||v[109]!==j||v[110]!==ep||v[111]!==eg||v[112]!==O||v[113]!==el||v[114]!==N||v[115]!==E||v[116]!==R||v[117]!==eF||v[118]!==eU||v[119]!==z?(p=(0,W.jsx)(wI,{...E,animate:U,arrow:P,arrowRef:eF,arrowX:eh,arrowY:ef,originX:ep,originY:eg,padding:O,placement:el,radius:N,ref:eU,scheme:R,shadow:z,children:j}),v[105]=U,v[106]=P,v[107]=eh,v[108]=ef,v[109]=j,v[110]=ep,v[111]=eg,v[112]=O,v[113]=el,v[114]=N,v[115]=E,v[116]=R,v[117]=eF,v[118]=eU,v[119]=z,v[120]=p):p=v[120],v[121]!==E||v[122]!==eU||v[123]!==eK||v[124]!==p||v[125]!==Z?(g=(0,W.jsx)(wO,{"data-ui":"Tooltip",...E,ref:eU,style:eK,zOffset:Z,children:p}),v[121]=E,v[122]=eU,v[123]=eK,v[124]=p,v[125]=Z,v[126]=g):g=v[126];let eJ=g,eQ;v[127]!==S||v[128]!==ek||v[129]!==eJ?(eQ=ek&&(S?(0,W.jsx)(wr,{__unstable_name:"string"==typeof S?S:void 0,children:eJ}):eJ),v[127]=S,v[128]=ek,v[129]=eJ,v[130]=eQ):eQ=v[130];let e1=eQ,e0;return v[131]!==U||v[132]!==e1?(e0=U?(0,W.jsx)(u5,{children:e1}):e1,v[131]=U,v[132]=e1,v[133]=e0):e0=v[133],v[134]!==eG||v[135]!==e0?(m=(0,W.jsxs)(W.Fragment,{children:[e0,eG]}),v[134]=eG,v[135]=e0,v[136]=m):m=v[136],m});wB.displayName="ForwardRef(Tooltip)";let wW=l7.kbd.withConfig({displayName:"StyledHotkeys",componentId:"sc-j9kh17-0"})`font:inherit;padding:1px;&:not([hidden]){display:block;}`,wN=l7(yN).withConfig({displayName:"Key",componentId:"sc-j9kh17-1"})`&:not([hidden]){display:block;}`,wz=(0,np.forwardRef)(function(e,t){let n,r,i,o=(0,rw.c)(27),s,a,l,d,u,c,h;o[0]===e?(s=o[1],a=o[2],l=o[3],d=o[4],u=o[5],c=o[6],h=o[7]):({fontSize:s,gap:a,keys:l,padding:d,radius:u,space:h,...c}=e,o[0]=e,o[1]=s,o[2]=a,o[3]=l,o[4]=d,o[5]=u,o[6]=c,o[7]=h);let f=void 0===a?void 0===h?.5:h:a,p;o[8]===f?p=o[9]:(p=vl(f),o[8]=f,o[9]=p);let g=p;if(!l||0===l.length){let e;return o[10]===Symbol.for("react.memo_cache_sentinel")?(e=(0,W.jsx)(W.Fragment,{}),o[10]=e):e=o[10],e}if(o[11]!==s||o[12]!==l||o[13]!==d||o[14]!==u){let e;o[16]!==s||o[17]!==d||o[18]!==u?(e=(e,t)=>(0,W.jsx)(wN,{fontSize:s,padding:d,radius:u,children:e},t),o[16]=s,o[17]=d,o[18]=u,o[19]=e):e=o[19],n=l.map(e),o[11]=s,o[12]=l,o[13]=d,o[14]=u,o[15]=n}else n=o[15];return o[20]!==g||o[21]!==n?(r=(0,W.jsx)(yO,{as:"span",gap:g,children:n}),o[20]=g,o[21]=n,o[22]=r):r=o[22],o[23]!==t||o[24]!==c||o[25]!==r?(i=(0,W.jsx)(wW,{"data-ui":"Hotkeys",...c,ref:t,children:r}),o[23]=t,o[24]=c,o[25]=r,o[26]=i):i=o[26],i});wz.displayName="ForwardRef(Hotkeys)";let wD=vf("@sanity/ui/context/menu",null);function wF(e){return vr(e)&&"true"!==e.getAttribute("data-disabled")||vi(e)&&!e.disabled}function wZ(e){return e.filter(wF)}let wU=[],wq=l7(yd).withConfig({displayName:"StyledMenu",componentId:"sc-hkwd9h-0"})`outline:none;overflow:auto;`,wG=(0,np.forwardRef)(function(e,t){let n,r,i,o,s,a=(0,rw.c)(50),l,d,u,c,h,f,p,g,m,v,y,w,b;if(a[0]!==e){let{children:t,focusFirst:n,focusLast:r,onClickOutside:i,onEscape:o,onItemClick:s,onItemSelect:x,onKeyDown:C,originElement:k,padding:j,registerElement:M,shouldFocus:L,gap:S,space:E,...R}=e;d=t,c=i,h=o,f=s,p=x,g=C,m=k,w=j,v=M,l=L,u=S,b=E,y=R,a[0]=e,a[1]=l,a[2]=d,a[3]=u,a[4]=c,a[5]=h,a[6]=f,a[7]=p,a[8]=g,a[9]=m,a[10]=v,a[11]=y,a[12]=w,a[13]=b}else l=a[1],d=a[2],u=a[3],c=a[4],h=a[5],f=a[6],p=a[7],g=a[8],m=a[9],v=a[10],y=a[11],w=a[12],b=a[13];let x=void 0===w?1:w,C=void 0===u?void 0===b?1:b:u,k=l??(e.focusFirst&&"first"||e.focusLast&&"last"||null),j=(0,np.useRef)(null),M;a[14]===Symbol.for("react.memo_cache_sentinel")?(M=()=>j.current,a[14]=M):M=a[14],(0,np.useImperativeHandle)(t,M);let{isTopLayer:L}=y6(),S;a[15]!==g||a[16]!==m||a[17]!==k?(S={onKeyDown:g,originElement:m,shouldFocus:k,rootElementRef:j},a[15]=g,a[16]=m,a[17]=k,a[18]=S):S=a[18];let{activeElement:E,activeIndex:R,handleItemMouseEnter:V,handleItemMouseLeave:_,handleKeyDown:H,mount:$}=function(e){let{onKeyDown:t,originElement:n,shouldFocus:r,rootElementRef:i}=e,o=(0,np.useRef)([]),[s,a]=(0,np.useState)(-1),l=(0,np.useRef)(s),[d,u]=(0,np.useState)(null),c=(0,np.useCallback)(e=>{a(e),l.current=e,u(o.current[e]||null)},[]),h=(0,np.useCallback)((e,t)=>e?(-1===o.current.indexOf(e)&&(o.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 i=Array.from(t.childNodes).indexOf(r);if(n.unshift(i),t===e)break;r=t}return n}(e,r));t.sort((e,t)=>
11{let r=n.get(e)||wU,i=n.get(t)||wU,o=Math.max(r.length,i.length);for(let e=0;e<o;e+=1){let t=r[e]||-1,n=i[e]||-1;if(t!==n)return t-n}return 0})}(i.current,o.current)),t&&c(o.current.indexOf(e)),()=>{let t=o.current.indexOf(e);t>-1&&o.current.splice(t,1)}):()=>void 0,[i,c]),f=(0,np.useCallback)(e=>{if("Tab"===e.key){n&&n.focus();return}if("Home"===e.key){e.preventDefault(),e.stopPropagation();let t=wZ(o.current)[0];if(!t)return;c(o.current.indexOf(t));return}if("End"===e.key){e.preventDefault(),e.stopPropagation();let t=wZ(o.current),n=t[t.length-1];if(!n)return;c(o.current.indexOf(n));return}if("ArrowUp"===e.key){e.preventDefault(),e.stopPropagation();let t=wZ(o.current),n=t.length;if(0===n)return;let r=o.current[l.current],i=t.indexOf(r),s=t[i=(i-1+n)%n];c(o.current.indexOf(s));return}if("ArrowDown"===e.key){e.preventDefault(),e.stopPropagation();let t=wZ(o.current),n=t.length;if(0===n)return;let r=o.current[l.current],i=t.indexOf(r),s=t[i=(i+1)%n];c(o.current.indexOf(s));return}t&&t(e)},[t,n,c]),p=(0,np.useCallback)(e=>{let t=e.currentTarget;c(o.current.indexOf(t))},[c]),g=(0,np.useCallback)(()=>{c(-2),i.current?.focus()},[i,c]);return(0,np.useEffect)(()=>{if(!i.current)return;let e=requestAnimationFrame(()=>{if(-1===s){if("first"===r){let e=wZ(o.current)[0];e&&c(o.current.indexOf(e))}if("last"===r){let e=wZ(o.current),t=e[e.length-1];t&&c(o.current.indexOf(t))}return}(o.current[s]||null)?.focus()});return()=>cancelAnimationFrame(e)},[s,i,c,r]),{activeElement:d,activeIndex:s,handleItemMouseEnter:p,handleItemMouseLeave:g,handleKeyDown:f,mount:h}}(S),A=(0,np.useRef)(null),T;a[19]===v?T=a[20]:(T=e=>{A.current&&=(A.current(),null),j.current=e,j.current&&v&&(A.current=v(j.current))},a[19]=v,a[20]=T);let I=T,P,O;a[21]!==R||a[22]!==p?(P=()=>{p&&p(R)},O=[R,p],a[21]=R,a[22]=p,a[23]=P,a[24]=O):(P=a[23],O=a[24]),(0,np.useEffect)(P,O),a[25]===Symbol.for("react.memo_cache_sentinel")?(n=()=>[j.current],a[25]=n):n=a[25],yj(L&&c,n),a[26]!==L||a[27]!==h?(r=e=>{L&&"Escape"===e.key&&(e.stopPropagation(),h&&h())},a[26]=L,a[27]=h,a[28]=r):r=a[28],yR(r),a[29]!==E||a[30]!==V||a[31]!==_||a[32]!==$||a[33]!==c||a[34]!==h||a[35]!==f||a[36]!==v?(i={version:2,activeElement:E,mount:$,onClickOutside:c,onEscape:h,onItemClick:f,onItemMouseEnter:V,onItemMouseLeave:_,registerElement:v},a[29]=E,a[30]=V,a[31]=_,a[32]=$,a[33]=c,a[34]=h,a[35]=f,a[36]=v,a[37]=i):i=a[37];let B=i,N;return a[38]!==d||a[39]!==C?(N=(0,W.jsx)(wy,{gap:C,children:d}),a[38]=d,a[39]=C,a[40]=N):N=a[40],a[41]!==H||a[42]!==I||a[43]!==x||a[44]!==y||a[45]!==N?(o=(0,W.jsx)(wq,{"data-ui":"Menu",...y,onKeyDown:H,padding:x,ref:I,role:"menu",tabIndex:-1,children:N}),a[41]=H,a[42]=I,a[43]=x,a[44]=y,a[45]=N,a[46]=o):o=a[46],a[47]!==o||a[48]!==B?(s=(0,W.jsx)(wD.Provider,{value:B,children:o}),a[47]=o,a[48]=B,a[49]=s):s=a[49],s});wG.displayName="ForwardRef(Menu)";let wY=l7.hr.withConfig({displayName:"StyledMenuDivider",componentId:"sc-bemnwm-0"})`height:1px;border:0;background:var(--card-hairline-soft-color);margin:0;`;wY.displayName="MenuDivider";let wX=l7(yd).withConfig({displayName:"Selectable",componentId:"sc-q5xa1z-0"})(yo,function(){return l9`background-color:inherit;color:inherit;&[data-as='button']{-webkit-font-smoothing:inherit;appearance:none;outline:none;font:inherit;text-align:inherit;border:0;width:-moz-available;width:-webkit-fill-available;width:stretch;}&[data-as='a']{text-decoration:none;}`},function(e){let{$tone:t}=e,{color:n,style:r}=n_(e.theme),i=n.selectable[t];return l9`${yv(n,i.enabled)} background-color:var(--card-bg-color);color:var(--card-fg-color);outline:none;&[data-as='button']{&:disabled{${yv(n,i.disabled)}}&:not(:disabled){&[aria-pressed='true']{${yv(n,i.pressed)}}&[data-selected],&[aria-selected='true'] > &{${yv(n,i.selected)}}@media (hover:hover){&:not([data-selected]){&[data-hovered],&:hover{${yv(n,i.hovered)}}&:active{${yv(n,i.pressed)}}}}}}&[data-as='a']{&[data-disabled]{${yv(n,i.disabled)}}&:not([data-disabled]){&[data-pressed]{${yv(n,i.pressed)}}&[data-selected]{${yv(n,i.selected)}}@media (hover:hover){&:not([data-selected]){&[data-hovered],&:hover{${yv(n,i.hovered)}}&:active{${yv(n,i.pressed)}}}}}}${r?.card?.root}`});function wK(){let e=(0,np.useContext)(wD);if(!e)throw Error("useMenu(): missing context value");if(!yK(e)||2!==e.version)throw Error("useMenu(): the context value is not compatible");return e}function wJ(e){let t,n,r,i,o,s,a,l,d,u,c,h,f,p=(0,rw.c)(82),g,m,v,y,w,b,x,C,k,j,M,L,S,E;p[0]===e?(g=p[1],m=p[2],v=p[3],y=p[4],w=p[5],b=p[6],x=p[7],C=p[8],k=p[9],j=p[10],M=p[11],L=p[12],S=p[13],E=p[14]):({as:C,children:m,fontSize:k,icon:g,menu:y,onClick:w,padding:j,popover:b,radius:M,gap:v,space:L,text:E,tone:S,...x}=e,p[0]=e,p[1]=g,p[2]=m,p[3]=v,p[4]=y,p[5]=w,p[6]=b,p[7]=x,p[8]=C,p[9]=k,p[10]=j,p[11]=M,p[12]=L,p[13]=S,p[14]=E);let R=void 0===C?"button":C,V=void 0===k?1:k,_=void 0===j?3:j,H=void 0===M?2:M,$=void 0===L?3:L,A=void 0===S?"default":S,T=void 0===v?$:v,I=wK(),{scheme:P}=vm(),{activeElement:O,mount:B,onClickOutside:N,onEscape:z,onItemClick:D,onItemMouseEnter:F,registerElement:Z}=I,U=F??I.onItemMouseEnter,[q,G]=(0,np.useState)(null),[Y,X]=(0,np.useState)(!1),[K,J]=(0,np.useState)(null),Q=!!O&&O===q,[ee,et]=(0,np.useState)(!1),en;p[15]===U?en=p[16]:(en=e=>{et(!1),U(e),X(!0)},p[15]=U,p[16]=en);let er=en,ei;p[17]===q?ei=p[18]:(ei=e=>{"ArrowLeft"===e.key&&(e.stopPropagation(),X(!1),requestAnimationFrame(()=>{q?.focus()}))},p[17]=q,p[18]=ei);let eo=ei,es;p[19]===w?es=p[20]:(es=e=>{w?.(e),J("first"),X(!0)},p[19]=w,p[20]=es);let ea=es,el;p[21]===D?el=p[22]:(el=()=>{X(!1),D?.()},p[21]=D,p[22]=el);let ed=el,eu;p[23]===Symbol.for("react.memo_cache_sentinel")?(eu=()=>et(!0),p[23]=eu):eu=p[23];let ec=eu,eh,ef;p[24]!==B||p[25]!==q?(eh=()=>B(q),ef=[B,q],p[24]=B,p[25]=q,p[26]=eh,p[27]=ef):(eh=p[26],ef=p[27]),(0,np.useEffect)(eh,ef),p[28]===Q?(t=p[29],n=p[30]):(t=()=>{Q||X(!1)},n=[Q],p[28]=Q,p[29]=t,p[30]=n),(0,np.useEffect)(t,n),p[31]===Y?(r=p[32],i=p[33]):(r=()=>{Y||et(!1)},i=[Y],p[31]=Y,p[32]=r,p[33]=i),(0,np.useEffect)(r,i),p[34]===K?(o=p[35],s=p[36]):(o=()=>
11{if(!K)return;let e=requestAnimationFrame(()=>J(null));return()=>cancelAnimationFrame(e)},s=[K],p[34]=K,p[35]=o,p[36]=s),(0,np.useEffect)(o,s),p[37]!==m||p[38]!==ed||p[39]!==eo||p[40]!==y||p[41]!==N||p[42]!==z||p[43]!==Z||p[44]!==K?(a=(0,W.jsx)(wG,{...y,onClickOutside:N,onEscape:z,onItemClick:ed,onKeyDown:eo,onMouseEnter:ec,registerElement:Z,shouldFocus:K,children:m}),p[37]=m,p[38]=ed,p[39]=eo,p[40]=y,p[41]=N,p[42]=z,p[43]=Z,p[44]=K,p[45]=a):a=p[45];let ep=a,eg;p[46]===Symbol.for("react.memo_cache_sentinel")?(eg=e=>{let t=e.currentTarget;if(document.activeElement===t&&"ArrowRight"===e.key){J("first"),X(!0),et(!0);return}},p[46]=eg):eg=p[46];let em=eg,ev="button"===R?ee:void 0,ey="button"===R?void 0:ee,ew=!ee&&Q?"":void 0,eb;p[47]===H?eb=p[48]:(eb=vl(H),p[47]=H,p[48]=eb);let ex="button"===R?"button":void 0,eC;return p[49]!==g||p[50]!==V?(eC=g&&(0,W.jsxs)(yc,{size:V,children:[(0,np.isValidElement)(g)&&g,(0,at.isValidElementType)(g)&&(0,W.jsx)(g,{})]}),p[49]=g,p[50]=V,p[51]=eC):eC=p[51],p[52]!==V||p[53]!==E?(l=(0,W.jsx)(yd,{flex:1,children:(0,W.jsx)(yc,{size:V,textOverflow:"ellipsis",weight:"medium",children:E})}),p[52]=V,p[53]=E,p[54]=l):l=p[54],p[55]===Symbol.for("react.memo_cache_sentinel")?(d=(0,W.jsx)(r6,{}),p[55]=d):d=p[55],p[56]===V?u=p[57]:(u=(0,W.jsx)(yc,{size:V,children:d}),p[56]=V,p[57]=u),p[58]!==_||p[59]!==T||p[60]!==eC||p[61]!==l||p[62]!==u?(c=(0,W.jsxs)(yf,{gap:T,padding:_,children:[eC,l,u]}),p[58]=_,p[59]=T,p[60]=eC,p[61]=l,p[62]=u,p[63]=c):c=p[63],p[64]!==R||p[65]!==ea||p[66]!==er||p[67]!==x||p[68]!==P||p[69]!==ev||p[70]!==ey||p[71]!==ew||p[72]!==eb||p[73]!==ex||p[74]!==c||p[75]!==A?(h=(0,W.jsx)(wX,{"data-as":R,"data-ui":"MenuGroup",forwardedAs:R,...x,"aria-pressed":ev,"data-pressed":ey,"data-selected":ew,$radius:eb,$tone:A,$scheme:P,onClick:ea,onKeyDown:em,onMouseEnter:er,ref:G,tabIndex:-1,type:ex,children:c}),p[64]=R,p[65]=ea,p[66]=er,p[67]=x,p[68]=P,p[69]=ev,p[70]=ey,p[71]=ew,p[72]=eb,p[73]=ex,p[74]=c,p[75]=A,p[76]=h):h=p[76],p[77]!==ep||p[78]!==Y||p[79]!==b||p[80]!==h?(f=(0,W.jsx)(wg,{...b,content:ep,"data-ui":"MenuGroup__popover",open:Y,children:h}),p[77]=ep,p[78]=Y,p[79]=b,p[80]=h,p[81]=f):f=p[81],f}wX.displayName="Selectable",wJ.displayName="MenuGroup";let wQ=(0,np.forwardRef)(function(e,t){let n,r,i,o,s,a,l=(0,rw.c)(76),d,u,c,h,f,p,g,m,v,y,w,b,x,C,k,j,M,L,S,E,R,V,_;l[0]===e?(d=l[1],u=l[2],c=l[3],h=l[4],f=l[5],p=l[6],g=l[7],m=l[8],v=l[9],y=l[10],w=l[11],b=l[12],x=l[13],C=l[14],k=l[15],j=l[16],M=l[17],L=l[18],S=l[19],E=l[20],R=l[21],V=l[22],_=l[23]):({as:M,children:c,disabled:h,fontSize:L,hotkeys:p,icon:d,iconRight:u,onClick:g,padding:S,paddingX:b,paddingY:x,paddingTop:w,paddingRight:y,paddingBottom:m,paddingLeft:v,pressed:C,radius:E,selected:j,gap:f,space:R,text:_,tone:V,...k}=e,l[0]=e,l[1]=d,l[2]=u,l[3]=c,l[4]=h,l[5]=f,l[6]=p,l[7]=g,l[8]=m,l[9]=v,l[10]=y,l[11]=w,l[12]=b,l[13]=x,l[14]=C,l[15]=k,l[16]=j,l[17]=M,l[18]=L,l[19]=S,l[20]=E,l[21]=R,l[22]=V,l[23]=_);let H=void 0===M?"button":M,$=void 0===L?1:L,A=void 0===S?3:S,T=void 0===E?2:E,I=void 0===R?3:R,P=void 0===V?"default":V,O=void 0===f?I:f,{scheme:B}=vm(),N=wK(),{activeElement:z,mount:D,onItemClick:F,onItemMouseEnter:Z,onItemMouseLeave:U}=N,q=Z??N.onItemMouseEnter,G=U??N.onItemMouseLeave,[Y,X]=(0,np.useState)(null),K=!!z&&z===Y,J=(0,np.useRef)(null),Q;l[24]===Symbol.for("react.memo_cache_sentinel")?(Q=()=>J.current,l[24]=Q):Q=l[24],(0,np.useImperativeHandle)(t,Q),l[25]!==D||l[26]!==Y||l[27]!==j?(n=()=>D(Y,j),r=[D,Y,j],l[25]=D,l[26]=Y,l[27]=j,l[28]=n,l[29]=r):(n=l[28],r=l[29]),(0,np.useEffect)(n,r),l[30]!==h||l[31]!==g||l[32]!==F?(i=e=>{h||(g&&g(e),F&&F())},l[30]=h,l[31]=g,l[32]=F,l[33]=i):i=l[33];let ee=i,et;l[34]!==A||l[35]!==m||l[36]!==v||l[37]!==y||l[38]!==w||l[39]!==b||l[40]!==x?(et={padding:A,paddingX:b,paddingY:x,paddingTop:w,paddingRight:y,paddingBottom:m,paddingLeft:v},l[34]=A,l[35]=m,l[36]=v,l[37]=y,l[38]=w,l[39]=b,l[40]=x,l[41]=et):et=l[41];let en=et,er;l[42]===$?er=l[43]:(er=vl($).map(w1),l[42]=$,l[43]=er);let ei=er,eo;l[44]===Symbol.for("react.memo_cache_sentinel")?(eo=e=>{J.current=e,X(e)},l[44]=eo):eo=l[44];
11let es=eo,ea="button"!==H&&C?"":void 0,el=K?"":void 0,ed=h?"":void 0,eu;l[45]===T?eu=l[46]:(eu=vl(T),l[45]=T,l[46]=eu),l[47]===Symbol.for("react.memo_cache_sentinel")?(o=vl(0),l[47]=o):o=l[47];let ec=h?"default":P,eh="button"===H?"button":void 0,ef;return l[48]!==d||l[49]!==u||l[50]!==$||l[51]!==p||l[52]!==ei||l[53]!==en||l[54]!==O||l[55]!==_?(ef=(d||_||u)&&(0,W.jsxs)(yf,{as:"span",gap:O,align:"center",...en,children:[d&&(0,W.jsxs)(yc,{size:$,children:[(0,np.isValidElement)(d)&&d,(0,at.isValidElementType)(d)&&(0,W.jsx)(d,{})]}),_&&(0,W.jsx)(yd,{flex:1,children:(0,W.jsx)(yc,{size:$,textOverflow:"ellipsis",weight:"medium",children:_})}),p&&(0,W.jsx)(wz,{fontSize:ei,keys:p,style:{marginTop:-4,marginBottom:-4}}),u&&(0,W.jsxs)(yc,{size:$,children:[(0,np.isValidElement)(u)&&u,(0,at.isValidElementType)(u)&&(0,W.jsx)(u,{})]})]}),l[48]=d,l[49]=u,l[50]=$,l[51]=p,l[52]=ei,l[53]=en,l[54]=O,l[55]=_,l[56]=ef):ef=l[56],l[57]!==c||l[58]!==en?(s=c&&(0,W.jsx)(yd,{as:"span",...en,children:c}),l[57]=c,l[58]=en,l[59]=s):s=l[59],l[60]!==H||l[61]!==h||l[62]!==ee||l[63]!==q||l[64]!==G||l[65]!==k||l[66]!==B||l[67]!==ea||l[68]!==el||l[69]!==ed||l[70]!==eu||l[71]!==ec||l[72]!==eh||l[73]!==ef||l[74]!==s?(a=(0,W.jsxs)(wX,{"data-ui":"MenuItem",role:"menuitem",...k,"data-pressed":ea,"data-selected":el,"data-disabled":ed,forwardedAs:H,$radius:eu,$padding:o,$tone:ec,$scheme:B,disabled:h,onClick:ee,onMouseEnter:q,onMouseLeave:G,ref:es,tabIndex:-1,type:eh,children:[ef,s]}),l[60]=H,l[61]=h,l[62]=ee,l[63]=q,l[64]=G,l[65]=k,l[66]=B,l[67]=ea,l[68]=el,l[69]=ed,l[70]=eu,l[71]=ec,l[72]=eh,l[73]=ef,l[74]=s,l[75]=a):a=l[75],a});function w1(e){return e-1}wQ.displayName="ForwardRef(MenuItem)";let w0=l7(yx).withConfig({displayName:"CustomButton",componentId:"sc-epil5s-0"})`max-width:100%;`,w5=(0,np.forwardRef)(function(e,t){let n,r=(0,rw.c)(30),i,o,s,a,l,d,u,c,h,f;r[0]===e?(i=r[1],o=r[2],s=r[3],a=r[4],l=r[5],d=r[6],u=r[7],c=r[8],h=r[9],f=r[10]):({icon:o,id:s,focused:i,fontSize:h,label:a,onClick:l,onFocus:d,padding:f,selected:c,...u}=e,r[0]=e,r[1]=i,r[2]=o,r[3]=s,r[4]=a,r[5]=l,r[6]=d,r[7]=u,r[8]=c,r[9]=h,r[10]=f);let p=void 0===h?1:h,g=void 0===f?2:f,m=(0,np.useRef)(null),v=(0,np.useRef)(!1),y;r[11]===Symbol.for("react.memo_cache_sentinel")?(y=()=>m.current,r[11]=y):y=r[11],(0,np.useImperativeHandle)(t,y),r[12]===Symbol.for("react.memo_cache_sentinel")?(n=()=>{v.current=!1},r[12]=n):n=r[12];let w=n,b;r[13]===d?b=r[14]:(b=e=>{v.current=!0,d&&d(e)},r[13]=d,r[14]=b);let x=b,C,k;r[15]===i?(C=r[16],k=r[17]):(C=()=>{i&&!v.current&&(m.current&&m.current.focus(),v.current=!0)},k=[i],r[15]=i,r[16]=C,r[17]=k),(0,np.useEffect)(C,k);let j=c?"true":"false",M=c?0:-1,L;return r[18]!==p||r[19]!==x||r[20]!==o||r[21]!==s||r[22]!==a||r[23]!==l||r[24]!==g||r[25]!==u||r[26]!==c||r[27]!==j||r[28]!==M?(L=(0,W.jsx)(w0,{"data-ui":"Tab",...u,"aria-selected":j,fontSize:p,icon:o,id:s,mode:"bleed",onClick:l,onBlur:w,onFocus:x,padding:g,ref:m,role:"tab",selected:c,tabIndex:M,text:a,type:"button"}),r[18]=p,r[19]=x,r[20]=o,r[21]=s,r[22]=a,r[23]=l,r[24]=g,r[25]=u,r[26]=c,r[27]=j,r[28]=M,r[29]=L):L=r[29],L});w5.displayName="ForwardRef(Tab)";let w2=l7(yO).withConfig({displayName:"CustomInline",componentId:"sc-k5whbp-0"})`& > div{display:inline-block;vertical-align:middle;max-width:100%;box-sizing:border-box;}`,w3=(0,np.forwardRef)(function(e,t){let n=(0,rw.c)(15),r,i;n[0]===e?(r=n[1],i=n[2]):({children:r,...i}=e,n[0]=e,n[1]=r,n[2]=i);let[o,s]=(0,np.useState)(-1),a;if(n[3]!==r||n[4]!==o){let e=np.Children.toArray(r).filter(np.isValidElement),t;n[6]===o?t=n[7]:(t=(e,t)=>
11(0,np.cloneElement)(e,{focused:o===t,key:t,onFocus:()=>s(t)}),n[6]=o,n[7]=t),a=e.map(t),n[3]=r,n[4]=o,n[5]=a}else a=n[5];let l=a,d=l.length,u;n[8]===d?u=n[9]:(u=e=>{"ArrowLeft"===e.key&&s(e=>(e+d-1)%d),"ArrowRight"===e.key&&s(e=>(e+1)%d)},n[8]=d,n[9]=u);let c=u,h;return n[10]!==c||n[11]!==t||n[12]!==i||n[13]!==l?(h=(0,W.jsx)(w2,{"data-ui":"TabList",...i,onKeyDown:c,ref:t,role:"tablist",children:l}),n[10]=c,n[11]=t,n[12]=i,n[13]=l,n[14]=h):h=n[14],h});w3.displayName="ForwardRef(TabList)";e.i(78524);function w6(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):w4.test(t=e)?Number(t):t})}let w4=/^-?\d+$/;function w8(e){return"string"==typeof e?._key}function w9(e){return"object"==typeof e&&"_key"in e&&"string"==typeof e._key}function w7(e){return"number"==typeof e||w9(e)}let be=/^[a-z_$]+/;function bt(e){return e.map((e,t)=>{var n;return n=0===t,Array.isArray(e)?`[${e[0]}:${e[1]||""}]`:"number"==typeof e?`[${e}]`:w9(e)?`[_key==${JSON.stringify(e._key)}]`:"string"==typeof e&&be.test(e)?n?e:`.${e}`:`['${e}']`}).join("")}function bn(e){return Array.isArray(e)?e:[e]}function br(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};if("delete"in e)return{id:e.delete.id,type:"delete"};if("patch"in e){var t,n,r,i,o,s,a;return{type:"patch",id:e.patch.id,patches:[..."set"in(n=t=e.patch)?Object.keys(n.set).map(e=>({path:w6(e),op:{type:"set",value:n.set[e]}})):[],..."setIfMissing"in(r=t)?Object.keys(r.setIfMissing).map(e=>({path:w6(e),op:{type:"setIfMissing",value:r.setIfMissing[e]}})):[],..."unset"in(i=t)?i.unset.map(e=>({path:w6(e),op:{type:"unset"}})):[],..."inc"in(o=t)?Object.keys(o.inc).map(e=>({path:w6(e),op:{type:"inc",amount:o.inc[e]}})):[],..."inc"in(s=t)?Object.keys(s.dec).map(e=>({path:w6(e),op:{type:"dec",amount:s.dec[e]}})):[],...function(e){if(!("insert"in e))return[];let t=function(e){let t=bi.filter(t=>t in e);if(t.length>1)throw Error(`Insert patch is ambiguous. Should only contain one of: ${bi.join(", ")}, instead found ${t.join(", ")}`);return t[0]}(e.insert);if(!t)throw Error("Insert patch missing position");let n=w6(e.insert[t]),r=n.pop();return[{path:n,op:{type:"insert",position:t,referenceItem:r,items:e.insert.items}}]}(t),..."diffMatchPatch"in(a=t)?Object.keys(a.diffMatchPatch).map(e=>({path:w6(e),op:{type:"diffMatchPatch",value:a.diffMatchPatch[e]}})):[]]}}throw Error(`Unknown mutation: ${JSON.stringify(e)}`)}let bi=["before","replace","after"];function bo(e){return bl(e)}function bs(e){return e.flatMap(bo)}function ba(e){return{transactionId:e.id,mutations:bs(e.mutations)}}function bl(e){switch(e.type){case"create":case"createIfNotExists":case"createOrReplace":return{[e.type]:e.document};case"delete":return{delete:{id:e.id}};case"patch":{let t=e.options?.ifRevision;return e.patches.map(n=>({patch:{id:e.id,...t&&{ifRevisionID:t},...bd(n)}}))}}}function bd(e){let{path:t,op:n}=e;if("unset"===n.type)return{unset:[bt(t)]};if("insert"===n.type)return{insert:{[n.position]:bt([...t,n.referenceItem]),items:n.items}};if("diffMatchPatch"===n.type)return{diffMatchPatch:{[bt(t)]:n.value}};if("inc"===n.type)return{inc:{[bt(t)]:n.amount}};if("dec"===n.type)return{dec:{[bt(t)]:n.amount}};if("set"===n.type||"setIfMissing"===n.type)return{[n.type]:{[bt(t)]:n.value}};if("truncate"===n.type){let e=[n.startIndex,"number"==typeof n.endIndex?n.endIndex:""].join(":");return{unset:[`${bt(t)}[${e}]`]}}if("upsert"===n.type)return{unset:n.items.map(e=>bt([...t,{_key:e._key}])),insert:{[n.position]:bt([...t,n.referenceItem]),items:n.items}};if("assign"===n.type)return{set:Object.fromEntries(Object.keys(n.value).map(e=>[bt(t.concat(e)),n.value[e]]))};if("unassign"===n.type)return{unset:n.keys.map(e=>bt(t.concat(e)))};if("replace"===n.type)return{insert:{replace:bt(t.concat(n.referenceItem)),items:n.items}};if("remove"===n.type)return{unset:[bt(t.concat(n.referenceItem))]};throw"insertIfMissing"===n.type?Error("Patch type insertIfMissing is not supported by Sanity"):Error(`Unknown operation type ${n.type}`)}function bu(e){return null!==e&&"object"==typeof e&&!Array.isArray(e)}
11function bc(e,t){return{path:"string"==typeof e?w6(e):e,op:t}}function bh(e,t,n){return{type:"insert",referenceItem:n,position:t,items:bn(e)}}function bf(e,t){return{type:"truncate",startIndex:e,endIndex:t}}function bp(e){return{type:"remove",referenceItem:e}}var bg=Object.freeze({__proto__:null,decode:function(e){return br(e)},decodeAll:function(e){return e.map(br)},encode:bo,encodeAll:bs,encodeMutation:bl,encodePatch:bd,encodeTransaction:ba});let bm=ev(tu),bv=bm,by=new Set;function bw(e){return e===bm}function bb(e){for(let t of(bv=e,by))t()}e.s(["actor",()=>bv,"emptyActor",0,bm,"isEmptyActor",0,bw,"listeners",0,by,"setActor",0,bb],86769);let bx=/_key\s*==\s*['"](.*)['"]/,bC=/^\d*:\d*$/;function bk(e){return"number"==typeof e||"string"==typeof e&&/^\[\d+\]$/.test(e)}function bj(e){return"string"==typeof e?bx.test(e.trim()):"object"==typeof e&&"_key"in e}let bM=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,bL=/_key\s*==\s*['"](.*)['"]/;function bS(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(bM);if(!t)throw Error("Invalid path string");return t.map(bE)}(t):t;if(!Array.isArray(r))throw Error("Path must be an array or a string");let i=e;for(let e=0;e<r.length;e++){let t=r[e];if(bk(t)){if(!Array.isArray(i))return n;i=i[t]}if(bj(t)){if(!Array.isArray(i))return n;i=i.find(e=>e._key===t._key)}if("string"==typeof t&&(i="object"==typeof i&&null!==i?i[t]:void 0),typeof i>"u")return n}return i}function bE(e){return bk(e)?Number(e.replace(/[^\d]/g,"")):bj(e)?{_key:e.match(bL)[1]}:!function(e){if("string"==typeof e&&bC.test(e))return!0;if(!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 bR(){return(0,np.useSyncExternalStore)(bH,b_,bV)}function bV(){return bm}function b_(){return bv}function bH(e){return by.add(e),()=>by.delete(e)}function b$(){let e,t=(0,N.c)(2),n=bR();return t[0]!==n?(e=bw(n),t[0]=n,t[1]=e):e=t[1],!e}function bA(e,t){let n;return(...r)=>{clearTimeout(n),n=setTimeout(()=>{e.apply(e,r)},t)}}function bT(e,t){let n=nh(),r=nf();if(bw(t)||!n&&!r)throw Error("The `useDocuments` hook cannot be used in this context");let i=(0,nm.getDraftId)(e),o=(0,nm.getPublishedId)(e),s=t.getSnapshot().context?.documents,a=s?.[i],l=s?.[o],d=a||l;if(!d)throw Error(`Document "${e}" not found`);let u=a.getSnapshot().context?.local||l.getSnapshot().context?.local,c=new Promise(e=>{if(u)e(u);else{let t=d.on("ready",n=>{let{snapshot:r}=n;e(r||null),t.unsubscribe()})}});return{draftDoc:a,draftId:i,getSnapshot:()=>c,publishedDoc:l,publishedId:o,get snapshot(){if(!u)throw Error(`Snapshot for document "${e}" not found`);return u}}}function bI(){let e,t,n,r=(0,N.c)(7),i=bR();r[0]!==i?(e=e=>({id:e,commit:()=>{let{draftDoc:t}=bT(e,i);t.send({type:"submit"})},get:t=>{let{snapshot:n}=bT(e,i);return t?bS(n,t):n},getSnapshot:function(e,t){let{getSnapshot:n}=bT(e,t);return n}(e,i),patch:async(t,n)=>{let r=bT(e,i),{draftDoc:o,draftId:s,getSnapshot:a,publishedId:l}=r,{commit:d=!0}=n||{},u=await ("function"==typeof t?t({draftId:s,publishedId:l,get snapshot(){return r.snapshot},getSnapshot:a}):t),c=await a();if(!c)throw Error(`Snapshot for document "${e}" not found`);o.send({type:"mutate",mutations:[{type:"createIfNotExists",document:{...c,_id:s}},{type:"patch",id:s,patches:bn(u),...{}}]}),d&&("object"==typeof d&&"debounce"in d?bA(()=>o.send({type:"submit"}),d.debounce)():o.send({type:"submit"}))}}),r[0]=i,r[1]=e):e=r[1];let o=e;r[2]!==i?(t=(e,t,n)=>{let{draftDoc:r}=bT(e,i),{commit:o}=n||{},s=void 0===o||o;r.send({type:"mutate",mutations:t}),s&&("object"==typeof s&&"debounce"in s?bA(()=>r.send({type:"submit"}),s.debounce)():r.send({type:"submit"}))},r[2]=i,r[3]=t):t=r[3];let s=t;return r[4]!==o||r[5]!==s?(n={getDocument:o,mutateDocument:s},r[4]=o,r[5]=s,r[6]=n):n=r[6],n}function bP(e){let t=(()=>{if(g)return g;g=[];for(let e=0;e<256;++e)g[e]=(e+256).toString(16).slice(1);return g})();return(function(e=16){let t=new Uint8Array(e);return crypto.getRandomValues(t),t})(e).reduce((e,n)=>e+t[n],"").slice(0,e)}function bO(e){let t,n,r="string"==typeof e?e:e.path,i=r.lastIndexOf("."),o=r.substring(i+1,r.length);if(!o.indexOf("["))throw Error("Invalid path: not an array");let s=r.lastIndexOf("["),a=r.substring(0,s);if(o.includes("_key")){let e=o.indexOf('"')+1,r=o.indexOf('"',e);t=o.substring(e,r),n=!0}else{let e=o.indexOf("[")+1,r=o.indexOf("]",e);t=o.substring(e,r),n=!1}if(!a||!t)throw Error("Invalid path");return{path:a,key:t,hasExplicitKey:n}}function bB(e,t,n="after"){let{path:r,key:i}=bO(e);return[bc(r,bh({...bS(t,e.path),_key:bP()},n,{_key:i}))]}function bW(e,t){let{path:n,key:r}=bO(e),i=bS(t,n).findIndex(e=>e._key===r);return[bc(n,bf(i,i+1))]}function bN(e,t,n){let{path:r,key:i}=bO(e);return[bc(r,bh([{_type:t,_key:bP()}],n,{_key:i}))]}async function bz(e,t,n){if(!e.type)throw Error("Node type is missing");let{path:r,key:i}=bO(e),o=await t.getSnapshot(),s=bS(o,r),a=bS(o,e.path),l=s.findIndex(e=>e._key===i),d=-1,u="before";if("first"===n){if(0===l)return[];d=0,u="before"}else if("last"===n){if(l===s.length-1)return[];d=-1,u="after"}else if("next"===n){if(l===s.length-1)return[];d=l,u="after"}else if("previous"===n){if(0===l)return[];d=l-1,u="before"}return[bc(r,bf(l,l+1)),bc(r,bh(a,u,d))]}e.s(["get",0,bS,"getArrayDuplicatePatches",0,bB,"getArrayInsertPatches",0,bN,"getArrayItemKeyAndParentPath",0,bO,"getArrayMovePatches",0,bz,"getArrayRemovePatches",0,bW,"useDocuments",0,bI,"useOptimisticActor",0,bR,"useOptimisticActorReady",0,b$],48031);let bD={lang:void 0,message:void 0,abortEarly:void 0,abortPipeEarly:void 0};function bF(e){return e||s?{lang:e?.lang??s?.lang,message:e?.message,abortEarly:e?.abortEarly??s?.abortE
11arly,abortPipeEarly:e?.abortPipeEarly??s?.abortPipeEarly}:bD}function bZ(e,t,n,r,i){var o,s,u,c;let h,f=i&&"input"in i?i.input:n.value,p=i?.expected??e.expects??null,g=i?.received??("string"==(h=typeof f)?`"${f}"`:"number"===h||"bigint"===h||"boolean"===h?`${f}`:"object"===h||"function"===h?(f&&Object.getPrototypeOf(f)?.constructor?.name)??"null":h),m={kind:e.kind,type:e.type,input:f,expected:p,received:g,message:`Invalid ${t}: ${p?`Expected ${p} but r`:"R"}eceived ${g}`,requirement:e.requirement,path:i?.path,issues:i?.issues,lang:r.lang,abortEarly:r.abortEarly,abortPipeEarly:r.abortPipeEarly},v="schema"===e.kind,y=i?.message??e.message??(o=e.reference,s=m.lang,d?.get(o)?.get(s))??(v?(u=m.lang,l?.get(u)):null)??r.message??(c=m.lang,a?.get(c));void 0!==y&&(m.message="function"==typeof y?y(m):y),v&&(n.typed=!1),n.issues?n.issues.push(m):n.issues=[m]}let bU=new WeakMap;function bq(e){let t=bU.get(e);return t||(t={version:1,vendor:"valibot",validate:t=>e["~run"]({value:t},bF())},bU.set(e,t)),t}var bG=class extends Error{constructor(e){super(e[0].message),this.name="ValiError",this.issues=e}};function bY(e,t){return{kind:"validation",type:"min_length",reference:bY,async:!1,expects:`>=${e}`,requirement:e,message:t,"~run"(e,t){return e.typed&&e.value.length<this.requirement&&bZ(this,"length",e,t,{received:`${e.value.length}`}),e}}}
11let bX={abortEarly:!0};function bK(e,t,n){return"function"==typeof e.fallback?e.fallback(t,n):e.fallback}function bJ(e,t,n){return"function"==typeof e.default?e.default(t,n):e.default}function bQ(e,t){return{kind:"schema",type:"object",reference:bQ,expects:"Object",async:!1,entries:e,message:t,get"~standard"(){return bq(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 i=this.entries[r];if(r in n||("exact_optional"===i.type||"optional"===i.type||"nullish"===i.type)&&void 0!==i.default){let o=r in n?n[r]:bJ(i),s=i["~run"]({value:o},t);if(s.issues){let i={type:"object",origin:"value",input:n,key:r,value:o};for(let t of s.issues)t.path?t.path.unshift(i):t.path=[i],e.issues?.push(t);if(e.issues||(e.issues=s.issues),t.abortEarly){e.typed=!1;break}}s.typed||(e.typed=!1),e.value[r]=s.value}else if(void 0!==i.fallback)e.value[r]=bK(i);else if("exact_optional"!==i.type&&"optional"!==i.type&&"nullish"!==i.type&&(bZ(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 bZ(this,"type",e,t);return e}}}function b1(e,t){return{kind:"schema",type:"optional",reference:b1,expects:`(${e.expects} | undefined)`,async:!1,wrapped:e,default:t,get"~standard"(){return bq(this)},"~run"(e,t){return void 0===e.value&&(void 0!==this.default&&(e.value=bJ(this,e,t)),void 0===e.value)?(e.typed=!0,e):this.wrapped["~run"](e,t)}}}function b0(e){return{kind:"schema",type:"string",reference:b0,expects:"string",async:!1,message:e,get"~standard"(){return bq(this)},"~run"(e,t){return"string"==typeof e.value?e.typed=!0:bZ(this,"type",e,t),e}}}function b5(...e){return{...e[0],pipe:e,get"~standard"(){return bq(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 b2(e,t,n){let r=e["~run"]({value:t},bF(n));return{typed:r.typed,success:!r.issues,output:r.value,issues:r.issues}}let b3=b5(b0(),bY(1)),b6=b1(b3),b4=bQ({baseUrl:b3,dataset:b6,id:b3,path:b3,projectId:b6,tool:b6,type:b6,workspace:b6,perspective:{..._=b0(),fallback:"drafts",get"~standard"(){return bq(this)},"~run"(e,t){let n=_["~run"](e,t);return n.issues?{typed:!0,value:bK(this,n,t)}:n}}});function b8(e){return!b4["~run"]({value:e},bX).issues}function b9(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}let b7=/^([\w-]+):(0|[1-9][0-9]*)$/,xe=/^([\w-]+):([0-9]+),([0-9]+)$/,xt=/^([\w-]+):([\w-]+)$/,xn=b5(b0(),bY(1)),xr=bQ({origin:xn,href:xn,data:b1(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 bq(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.prototype.hasOwnProperty.call(n,r)&&"__proto__"!==r&&"prototype"!==r&&"constructor"!==r){let i=n[r],o=this.key["~run"]({value:r},t);if(o.issues){let s={type:"object",origin:"key",input:n,key:r,value:i};for(let t of o.issues)t.path=[s],e.issues?.push(t);if(e.issues||(e.issues=o.issues),t.abortEarly){e.typed=!1;break}}let s=this.value["~run"]({value:i},t);if(s.issues){let o={type:"object",origin:"value",input:n,key:r,value:i};for(let t of s.issues)t.path?t.path.unshift(o):t.path=[o],e.issues?.push(t);if(e.issues||(e.issues=s.issues),t.abortEarly){e.typed=!1;break}}o.typed&&s.typed||(e.typed=!1),o.typed&&(e.value[o.value]=s.value)}}else bZ(this,"type",e,t);return e}}}(b0(),function e(){return{kind:"schema",type:"unknown",reference:e,expects:"unknown",async:!1,get"~standard"(){return bq(this)},"~run":e=>(e.typed=!0,e)}}()))});function xi(e){let t=b2(b4,e);if(t.success)return t.output;let n=b2(xr,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){let n=e["~run"]({value:t},bF(void 0));if(n.issues)throw new bG(n.issues);return n.value}
11(b4,Object.fromEntries(e.searchParams.entries())):n.output}catch(e){return console.error("Failed to parse sanity node",e),n.output}}function xo(e){if("object"==typeof e&&null!==e)return xi(e);try{let t=JSON.parse(e);return xi(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=nm.studioPath.toString(function(e){let t=[];for(let n of e.split(".")){let e=b7.exec(n);if(e){t.push(e[1],Number(e[2]));continue}let r=xe.exec(n);if(r){t.push(r[1],[Number(r[2]),Number(r[3])]);continue}let i=xt.exec(n);if(i){t.push(i[1],{_key:i[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(b8(t))return t;return}}e.s(["createDataAttribute",0,function e(t){function n(e){return e?"string"==typeof e?nm.studioPath.fromString(e):e:[]}function r(e){if(!e.id)throw Error("`id` is required to create a data attribute");if(!e.type)throw Error("`type` is required to create a data attribute");if(!e.path||!e.path.length)throw Error("`path` is required to create a data attribute");return function(e){let{id:t,path:n,baseUrl:r,tool:i,workspace:o,type:s}=e;return b8(e)?[["id",(0,nm.getPublishedId)(t)],["type",s],["path",b9(nm.studioPath.fromString(n))],["base",encodeURIComponent(r)],["workspace",o],["tool",i]].filter(([,e])=>!!e).map(e=>e.join("=")).join(";"):void 0}({baseUrl:e.baseUrl||"/",workspace:e.workspace,tool:e.tool,type:e.type,id:e.id,path:"string"==typeof e.path?e.path:nm.studioPath.toString(e.path),perspective:e.perspective})}let i=e=>r({...t,path:[...n(t.path),...n(e)]});return i.toString=function(){return r(t)},i.combine=function(n){return e({...t,...n})},i.scope=function(r){return e({...t,path:[...n(t.path),...n(r)]})},i},"decodeSanityNodeData",0,xo,"pathToUrlString",0,b9],32163);var xs={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},xa={0:8203,1:8204,2:8205,3:65279},xl={0:String.fromCodePoint(xa[0]),1:String.fromCodePoint(xa[1]),2:String.fromCodePoint(xa[2]),3:String.fromCodePoint(xa[3])},xd=[,,,,].fill(String.fromCodePoint(xa[0])).join(""),xu=Object.fromEntries(Object.entries(xl).map(e=>[e[1],+e[0]])),xc=Object.fromEntries(Object.entries(xs).map(e=>e.reverse())),xh=`${Object.values(xs).map(e=>`\\u{${e.toString(16)}}`).join("")}`,xf=RegExp(`[${xh}]{4,}`,"gu");let xp=[];for(let e=0;e<256;++e)xp.push((e+256).toString(16).slice(1));let xg=new Uint8Array(16);var xm="u">typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto);function xv(e,t,n){return xm&&!e?xm():function(e){let t=(e=e||{}).random??e.rng?.()??function(){if(!u){if(typeof crypto>"u"||!crypto.getRandomValues)throw Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");u=crypto.getRandomValues.bind(crypto)}return u(xg)}();if(t.length<16)throw Error("Random bytes length must be >= 16");return t[6]=15&t[6]|64,t[8]=63&t[8]|128,function(e,t=0){return(xp[e[t+0]]+xp[e[t+1]]+xp[e[t+2]]+xp[e[t+3]]+"-"+xp[e[t+4]]+xp[e[t+5]]+"-"+xp[e[t+6]]+xp[e[t+7]]+"-"+xp[e[t+8]]+xp[e[t+9]]+"-"+xp[e[t+10]]+xp[e[t+11]]+xp[e[t+12]]+xp[e[t+13]]+xp[e[t+14]]+xp[e[t+15]]).toLowerCase()}(t)}(e)}function xy(e){let t=e.getBoundingClientRect();return{x:t.x+scrollX,y:t.y+scrollY,w:t.width,h:t.height}}function xw(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 xb(e,t){return e.x===t.x&&e.y===t.y&&e.w===t.w&&e.h===t.h}function xx(e,t){let n=e.x-t.x,r=e.y-t.y;return Math.sqrt(n*n+r*r)}function xC(e,t,n){let r,i,o={x:e.x1,y:e.y1};if(t.some(e=>{var t;let r,i;return t=xw(e,Math.min(e.w,e.h)/10,"horizontal"===n?"x":"y"),r=o.x>=t.x&&o.x<=t.x+t.w,i=o.y>=t.y&&o.y<=t.y+t.h,r&&i}))return null;for(let s 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 i=function(e,t){let{x1:n,y1:r,x2:i,y2:o}=e,{x1:s,y1:a,x2:l,y2:d}=t;if(n===i&&r===o||s===l&&a===d)return!1;let u=(d-a)*(i-n)-(l-s)*(o-r);if(0===u)return!1;let c=((l-s)*(r-a)-(d-a)*(n-s))/u,h=((i-n)*(r-a)-(o-r)*(n-s))/u;return!(c<0)&&!(c>1)&&!(h<0)&&!(h>1)&&{x:n+c*(i-n),y:r+c*(o-r)}}(e,n[t]);if(i){let e=!1;for(let t=0;t<r.length;t++)r[t].x===i.x&&r[t].y===i.y&&(e=!0);e||r.push(i)}}return 0!==r.length&&r.sort((t,n)=>xx(t,{x:e.x1,y:e.y1})-xx(n,{x:e.x1,y:e.y1}))}(e,xw(s,Math.min(s.w,s.h)/10,"horizontal"===n?"x":"y"));if(t){let e=t[0];r?xx(o,e)<xx(o,r)&&(r=e,i=s):(r=e,i=s)}}return i||null}function xk(e,t,n){let{x:r,y:i,w:o,h:s}=e,{x:a,y:l}=n;return{x:a+(r-a)*t,y:l+(i-l)*t,w:o*t,h:s*t}}function xj(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 xM(e,t){return t.find(t=>xb(xy(t.elements.element),e))?.sanity}function xL(e,t,n){return Object.values(t).every(e=>null===e)?null:"horizontal"===n?{left:t.left?{rect:t.left,sanity:xM(t.left,e)}:null,right:t.right?{rect:t.right,sanity:xM(t.right,e)}:null}:{top:t.top?{rect:t.top,sanity:xM(t.top,e)}:null,bottom:t.bottom?{rect:t.bottom,sanity:xM(t.bottom,e)}:null}}function xS(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 xE(e,t,n){let r=xy(t),i=[...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 o=i.map(e=>{let t=xk(xy(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:o}}async function xR(e,t,n,r,i){return new Promise(o=>{e.addEventListener("transitionend",()=>{setTimeout(()=>{r({type:"overlay/dragEndMinimapTransition"})},2*i),o()},{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 xV(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}),i=xj(e),o=r.min>8&&r.min+r.width<=window.innerWidth-8,s=i.min>8&&i.min+i.height<=document.body.scrollHeight-8,a=o&&s;return{x:a?r.min-8:r.min,y:a?i.min-8:i.min,w:a?r.width+16:r.width,h:a?i.height+16:i.height}}async function x_(e,t,n,r,i,o){return new Promise(s=>{if(1===new DOMMatrix(window.getComputedStyle(t).transform).a)return;let a=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*i),s()},{once:!0}),r({type:"overlay/dragStartMinimapTransition"}),t.style.transform=`translateY(${Math.max(l-e,-a+l)}px) scale(1)`,o&&(document.body.style.overflow=o.body.overflow,document.body.style.height=o.body.height,document.documentElement.style.overflow=o.documentElement.overflow,document.documentElement.style.height=o.documentElement.height)})}let xH=!1,x$={y:0},xA={x:0,y:0},xT=typeof document>"u"?0:document.documentElement.scrollHeight,xI=null,xP=e=>e instanceof HTMLElement||e instanceof SVGElement,xO=e=>e&&xP(e)?e.dataset?.sanityOverlayElement?e:xO(e.parentElement):null;function xB(e){return xf.lastIndex=0,xf.test(e)}function xW(e,t=!1){return xB(e)?function(e,t=!1){try{let n=function(e){let t=e.match(xf);if(t)return function(e,t=!1){let n=Array.from(e),r=1/0,i=-1;for(let e=0;e<n.length;++e)n[e]===xd[0]&&n[e+1]===xd[1]&&n[e+2]===xd[2]&&n[e+3]===xd[3]&&(r=Math.min(r,e),i=Math.max(i,e));if(-1===i)return function(e,t){var n;let r=[];for(let t=.5*e.length;t--;){let n=`${xc[e[2*t].codePointAt(0)]}${xc[e[2*t+1].codePointAt(0)]}`;r.unshift(String.fromCharCode(parseInt(n,16)))}let i=[],o=[r.join("")],s=10;for(;o.length;){let e=o.shift();try{if(i.push(JSON.parse(e)),t)break}catch(r){if(!s--)throw r;let t=+(null==(n=r.message.match(/\sposition\s(\d+)$/))?void 0:n[1]);if(!t)throw r;o.unshift(e.substring(0,t),e.substring(t))}}return i}(n,t);for(let e=r;e<=i;++e)if(!((n.length-e)%4))try{let r=n.slice(e+4),i=new Uint8Array(r.length/4);for(let e=0;e<i.length;e++)i[e]=xu[r[4*e]]<<6|xu[r[4*e+1]]<<4|xu[r[4*e+2]]<<2|xu[r[4*e+3]];let o=new TextDecoder().decode(i);if(t){let e=o.indexOf("\0");return -1===e&&(e=o.length),[JSON.parse(o.slice(0,e))]}
11return o.split("\0").filter(Boolean).map(e=>JSON.parse(e))}catch{}return[]}(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 xN(e){return"path"in e}function xz(e){if(!e.length||!e.map(e=>xN(e)).every((e,t,n)=>e===n[0]))return;if(!xN(e[0]))return e[0];let t=e.filter(xN),n=e[0],r=["projectId","dataset","id","baseUrl","workspace","tool"];for(let e=1;e<t.length;e++){let i=t[e];if(r.some(e=>i[e]!==n?.[e])){n=void 0;break}n={...n,path:function(e,t){let n=e.split("."),r=t.split("."),i=Math.min(n.length,r.length);return n=n.slice(0,i).reverse(),r=r.slice(0,i).reverse(),n.reduce((e,t,n)=>t===r[n]?[...e,t]:[],[]).reverse().join(".")}(n.path,i.path)}}return n}function xD(e){let t=e.lastIndexOf(".");return e.substring(t,e.length).includes("[")}function xF(e){if(!xD(e))return null;let t=e.split(".");return t[t.length-1]=t[t.length-1].replace(/\[.*?\]/g,"[]"),t.join(".")}function xZ(e,t){return!!xD(e.path)&&!!xD(t.path)&&xF(e.path)===xF(t.path)}function xU(e,t,n,r){if(!e.getAttribute("data-sanity")||e.getAttribute("data-sanity-drag-disable")||!t||!xN(t)||!xD(t.path))return null;let i=e.getAttribute("data-sanity-drag-group"),o=[...n].reduce((e,n)=>{let o=r.get(n),s=n.getAttribute("data-sanity-drag-disable"),a=n.getAttribute("data-sanity-drag-group"),l=null!==n.getAttribute("data-sanity");return o?.sanity&&!s&&xN(o.sanity)&&xZ(t,o.sanity)&&(null===i||i===a)&&l&&e.push(o),e},[]);return o.length<=1?null:o}function xq({handler:e,overlayElement:t,inFrame:n,inPopUp:r,optimisticActorReady:i}){let o=!1,s=new Map,a=new WeakMap,l=new Set,d=new WeakMap,u=new WeakMap,c,h,f,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:i,measureElement:o}=n;i.addEventListener("click",r.click,{capture:!0}),i.addEventListener("contextmenu",r.contextmenu,{capture:!0}),i.addEventListener("mousemove",r.mousemove,{once:!0,capture:!0}),i.addEventListener("mousedown",r.mousedown,{capture:!0}),c.observe(o),e({type:"element/activate",id:t})}function w({id:t,elements:n,handlers:r}){let{element:i,measureElement:o}=n;v(i,r),c.unobserve(o),g=g.filter(e=>e!==i),e({type:"element/deactivate",id:t})}function b(t){if(!(!n&&!r||!i))for(let n of g){if(t===n){let n=a.get(t)?.sanity;if(!n||!xN(n))return;if(xU(t,n,l,a)){let n=t.style.cursor;n&&u.set(t,n),e({type:"overlay/setCursor",element:t,cursor:"move"});continue}}x(n)}}function x(t){let n=u.get(t);e({type:"overlay/setCursor",element:t,cursor:n})}function C(u){for(let c of function e(t){let n=[];function r(e,t,n,r){let i=xo(t);if(!i)return;let o=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(o)return{elements:{element:e,measureElement:o},sanity:i,reason:n,preventGrouping:r}}if(t)for(let i of t.childNodes)!function t(i,o){let s=function(t){let{nodeType:n,parentElement:i,textContent:o}=t;if(t.nodeType===Node.ELEMENT_NODE&&t.dataset?.sanityEditTarget!==void 0){let n=xz(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&&i&&o){let e=xW(o);return e?r(i,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&&xB(t.textContent)));if(t.dataset?.sanityEditInfo)return r(t,t.dataset.sanityEditInfo,"data-attribute",!!(t.textContent&&xB(t.textContent)));if("IMG"===t.tagName){let e=xW(t.alt,!0);return e?r(t,e,"stega-attribute"):void 0}if("TIME"===t.tagName){let e=xW(t.dateTime,!0);return e?r(t,e,"stega-attribute"):void 0}if("SVG"===t.tagName.toUpperCase()){if(!t.ariaLabel)return;let e=xW(t.ariaLabel,!0);return e?r(t,e,"stega-attribute"):void 0}}}(i),a=o;if(i.nodeType===Node.ELEMENT_NODE&&i.dataset?.sanityEditGroup!==void 0&&(a={type:"group",elements:{element:i,measureElement:i},targets:[]},n.push(a)),s){let e={elements:s.elements,sanity:s.sanity,reason:s.reason};a&&!s.preventGrouping?a.targets.push(e):n.push({elements:s.elements,type:"element",targets:[e]})}if(i.nodeType===Node.ELEMENT_NODE&&"IMG"!==i.tagName&&"SCRIPT"!==i.tagName&&"SANITY-VISUAL-EDITING"!==i.tagName)for(let e of i.childNodes)t(e,a)}(i,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:xz(e.targets.map(({s
11anity:e})=>e).filter(e=>void 0!==e))||e.targets[0].sanity;return t?{...e,commonSanity:t}:null}).filter(e=>null!==e)}(u)){if("group"===c.type){for(let e of c.targets){let t=a.get(e.elements.element);t&&"element"===t.type&&k(e.elements.element)}0===c.targets.length&&k(c.elements.element)}if(!c.commonSanity)continue;let{element:u}=c.elements;a.has(u)?function(t){let{element:n}=t.elements,r=a.get(n);r&&(a.set(n,{...r,sanity:t.commonSanity}),e({type:"element/update",elementType:r.type,id:r.id,rect:xy(n),sanity:t.commonSanity,targets:t.targets.map(e=>({sanity:e.sanity,element:e.elements.element}))}))}(c):function({type:u,elements:c,commonSanity:f,targets:v}){let{element:w,measureElement:C}=c,k={click(t){let r=t.target;if(w===m()&&w.contains(r)){n&&(t.preventDefault(),t.stopPropagation());let r=a.get(w)?.sanity;r&&!p&&e({type:"element/click",id:j,sanity:r})}},contextmenu(t){if(!("path"in f)||!n&&!r||!i||!f.path.split(".").pop()?.includes("[_key=="))return;let o=t.target;w===m()&&w.contains(o)&&((n||r)&&(t.preventDefault(),t.stopPropagation()),e({type:"element/contextmenu",id:j,position:{x:t.clientX,y:t.clientY},sanity:f}))},mousedown(t){if(t.preventDefault(),t.currentTarget!==g.at(-1)||w.getAttribute("data-sanity-drag-disable")||!n&&!r||!i)return;let o=a.get(w)?.sanity;if(!o||!xN(o)||!xD(o.path))return;let s=xU(w,f,l,a);s&&function(e){var t;let{mouseEvent:n,element:r,overlayGroup:i,handler:o,target:s,onSequenceStart:a,onSequenceEnd:l}=e;if(0!==n.button)return;window.focus();let d=i.map(e=>xy(e.elements.element)),u=r.getAttribute("data-sanity-drag-flow")||((t=d).some(e=>t.filter(t=>!xb(e,t)).some(t=>e.y===t.y))?"horizontal":"vertical"),c=r.getAttribute("data-sanity-drag-group"),h=!!r.getAttribute("data-sanity-drag-minimap-disable"),f=!!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=xS(n),y=document.body,{minYScaled:w,scaleFactor:b}=function(e,t){let n=t||xj(e).height,r=(n+=200)>window.innerHeight?window.innerHeight/n:1,{min:i}=xj(e.map(e=>xk(e,r,{x:window.innerWidth/2,y:0})));return{scaleFactor:r,minYScaled:i-100*r}}(d,g?~~g:null),x=!1,C=!1,k=!0;xH||(xI={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}},xT=p?~~p:document.documentElement.scrollHeight);let j=setInterval(()=>{d=i.map(e=>xy(e.elements.element))},150),M=()=>{b>=1||(o({type:"overlay/dragUpdateSkeleton",skeleton:xE(xA,r,b)}),o({type:"overlay/dragToggleMinimapPrompt",display:!1}),xR(y,b,w,o,150).then(()=>{setTimeout(()=>{o({type:"overlay/dragUpdateGroupRect",groupRect:xV(d)})},300)}))},L=e=>{Math.abs(e.deltaY)>=10&&b<1&&!xH&&!C&&!h&&k&&(o({type:"overlay/dragToggleMinimapPrompt",display:!0}),C=!0),!e.shiftKey||xH||h||(window.dispatchEvent(new CustomEvent("unstable_sanity/dragApplyMinimap")),xH=!0,setTimeout(()=>{M()},50))},S=e=>{if(e.preventDefault(),x$=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(),i=new DOMPoint(e.x,e.y).matrixTransform(r);return{x:i.x,y:i.y}}(xA=xS(e)),4>Math.abs(xx(xA,v)))return;if(!x){let e=xV(d),t=xE(xA,r,1);o({type:"overlay/dragStart",flow:u}),o({type:"overlay/dragUpdateSkeleton",skeleton:t}),o({type:"overlay/dragUpdateGroupRect",groupRect:e}),x=!0,a()}o({type:"overlay/dragUpdateCursorPosition",x:xA.x,y:xA.y}),!e.shiftKey||xH||h||(window.dispatchEvent(new CustomEvent("unstable_sanity/dragApplyMinimap")),xH=!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},i={x1:e.x,y1:e.y,x2:e.x+1e8,y2:e.y};return{left:xC(r,t,n),right:xC(i,t,n)}}{let r={x1:e.x,y1:e.y,x2:e.x,y2:e.y-1e8},i={x1:e.x,y1:e.y,x2:e.x,y2:e.y+1e8};return{top:xC(r,t,n),bottom:xC(i,t,n)}}}(xA,d,u);JSON.stringify(m)!==JSON.stringify(t)&&o({type:"overlay/dragUpdateInsertPosition",insertPosition:xL(i,m=t,u)})},E=()=>{k=!1,o({type:"overlay/dragEnd",target:s,insertPosition:m?xL(i,m,u):null,dragGroup:c,flow:u,preventInsertDefault:f}),C&&o({type:"overlay/dragToggleMinimapPrompt",display:!1}
11),xH||(clearInterval(j),l(),$(),H()),_()},R=e=>{"Shift"===e.key&&xH&&(xH=!1,o({type:"overlay/dragUpdateSkeleton",skeleton:xE(xA,r,1/b)}),window.dispatchEvent(new CustomEvent("unstable_sanity/dragResetMinimap")),setTimeout(()=>{x_(x$.y,y,xT,o,150,xI)},50),o({type:"overlay/dragUpdateGroupRect",groupRect:null}),k||(clearInterval(j),_(),$(),H(),l()))},V=()=>{o({type:"overlay/dragUpdateGroupRect",groupRect:null}),window.dispatchEvent(new CustomEvent("unstable_sanity/dragResetMinimap")),setTimeout(()=>{x_(x$.y,y,xT,o,150,xI).then(()=>{xH=!1})},50),clearInterval(j),_(),$(),H(),l()},_=()=>{window.removeEventListener("mousemove",S),window.removeEventListener("wheel",L),window.removeEventListener("mouseup",E)},H=()=>{window.removeEventListener("keyup",R)},$=()=>{window.removeEventListener("blur",V)};window.addEventListener("blur",V),window.addEventListener("keyup",R),window.addEventListener("wheel",L),window.addEventListener("mousemove",S),window.addEventListener("mouseup",E)}({element:w,handler:e,mouseEvent:t,overlayGroup:s,target:o,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:xy(w)}),b(w))},mouseleave(n){function r(){g.pop();let t=m();if(e({type:"element/mouseleave",id:j}),t){b(t);let n=a.get(t);n&&e({type:"element/mouseenter",id:n.id,rect:xy(t)})}x(w)}let{relatedTarget:i}=n,o=xO(i),s=t.contains(o);if(xP(o)&&s)return function e(t){let n=i=>{let{relatedTarget:o}=i;xO(o)?o&&xP(o)&&(t.removeEventListener("mouseleave",n),e(o)):(t.removeEventListener("mouseleave",n),r())};t.addEventListener("mouseleave",n)}(o);r()}},j=xv(),M={type:u,id:j,elements:c,sanity:f,handlers:k};l.add(w),d.set(C,w),s.set(j,w),a.set(w,M),h?.observe(w),e({type:"element/register",elementType:u,id:j,element:w,rect:xy(w),sanity:f,dragDisabled:!!w.getAttribute("data-sanity-drag-disable"),targets:v.map(e=>({sanity:e.sanity,element:e.elements.element}))}),o&&y(M)}(c)}}function k(t){let n=a.get(t);if(n){let{id:r,handlers:i}=n;v(t,i),c.unobserve(t),a.delete(t),l.delete(t),s.delete(r),e({type:"element/unregister",id:r})}}function j(t){let n=a.get(t);n&&e({type:"element/updateRect",id:n.id,rect:xy(t)})}function M(e){if(o)for(let t of e){let{target:e}=t,n=xP(e)&&a.get(e);n&&(t.isIntersecting?y(n):w(n))}}function L(t){let n=xO(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 E(){for(let e of l)j(e)}function R(t){"Escape"===t.key&&(g=[],e({type:"overlay/blur"}))}function V(e){let{target:t}=e;if(!(t===window.document||!xP(t)))for(let e of l)t.contains(e)&&j(e)}function _(){o||(h=new IntersectionObserver(M,{threshold:.3}),l.forEach(e=>h.observe(e)),e({type:"overlay/activate"}),o=!0)}function H(){o&&(h?.disconnect(),l.forEach(e=>{let t=a.get(e);t&&w(t)}),e({type:"overlay/deactivate"}),o=!1)}function $(t){let{id:n}=t.detail,r=s.get(n);if(!r)return;let i=a.get(r)?.sanity;i&&e({type:"element/click",id:n,sanity:i})}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",$),window.addEventListener("keydown",R),window.addEventListener("resize",E),window.addEventListener("scroll",V,{capture:!0,passive:!0}),c=new ResizeObserver(function(e){for(let t of e){let e=t.target;if(xP(e)){let t=d.get(e);if(!t)return;j(t)}}}),(f=new MutationObserver(function(e){let n=!1;for(let r of e){let{target:e,type:i}=r,o="characterData"===i?e.parentElement:e;if(!(o===t||t.contains(o))&&(n=!0,xP(o))){let e=o.parentElement?.closest("[data-sanity-edit-group]")||null;C({childNodes:[xP(e)?e:o]})}}if(n)for(let e of l)e.isConnected||k(e),a.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",$),window.removeEventListener("keydown",R),window.removeEventListener("resize",E),window.removeEventListener("scroll",V),f.disconnect(),c.disconnect(),l.forEach(e
11=>{k(e)}),s.clear(),l.clear(),g=[],H()}}}let xG=(0,np.createContext)(null);function xY(e){return(0,W.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,children:(0,W.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.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}e.s(["SharedStateContext",0,xG,"createOverlayController",0,xq,"sanityNodesExistInSameArray",0,xZ,"useOptimistic",0,function(e,t){let n,r,i,o,s,a,l,d,u,c=(0,N.c)(17),[h,f]=(0,np.useState)(!0),[p,g]=(0,np.useState)(e),[m,v]=(0,np.useState)(null),[y,w]=(0,np.useState)(e),b=bR(),x=(0,np.useRef)(null);c[0]!==t?(n=()=>{x.current=(e,n)=>(Array.isArray(t)?t:[t]).reduce((t,n)=>n(t,{document:e.document,id:(0,nm.getPublishedId)(e.id),originalId:e.id,type:e.type}),n)},r=[t],c[0]=t,c[1]=n,c[2]=r):(n=c[1],r=c[2]),(0,np.useInsertionEffect)(n,r),c[3]!==e?(i=()=>w(e),c[3]=e,c[4]=i):i=c[4];let C=(0,np.useRef)(i);return c[5]!==e?(o=()=>{C.current=()=>w(e)},s=[e],c[5]=e,c[6]=o,c[7]=s):(o=c[6],s=c[7]),(0,np.useInsertionEffect)(o,s),c[8]!==b?(a=()=>{let e;if(bw(b))return;let t=b.on("rebased.local",t=>{let n={document:t.document,id:t.id,originalId:(0,nm.getPublishedId)(t.id),type:"mutate"};g(e=>x.current?x.current(n,e):e),v(n),C.current(),f(!1),clearTimeout(e)}),n=b.on("pristine",()=>{e=setTimeout(()=>{(0,np.startTransition)(()=>f(!0))},15e3)});return()=>{t.unsubscribe(),n.unsubscribe()}},l=[b],c[8]=b,c[9]=a,c[10]=l):(a=c[9],l=c[10]),(0,np.useEffect)(a,l),c[11]!==m||c[12]!==y||c[13]!==e||c[14]!==h?(d=()=>{if(!h){if(!m)throw Error("No last event found when syncing passthrough");y!==e&&(0,np.startTransition)(()=>{g(x.current?x.current(m,e):e),w(e)})}},u=[m,y,e,h],c[11]=m,c[12]=y,c[13]=e,c[14]=h,c[15]=d,c[16]=u):(d=c[15],u=c[16]),(0,np.useEffect)(d,u),h?e:p},"v4",0,xv],60246);let xX=function(e,t,n,r){var i=-1,o=null==e?0:e.length;for(r&&o&&(n=e[++i]);++i<o;)n=t(n,e[i],i,e);return n};var xK=(H={À:"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:"'n",ſ:"s"},function(e){return null==H?void 0:H[e]}),xJ=e.g&&e.g.Object===Object&&e.g,xQ="object"==typeof self&&self&&self.Object===Object&&self,x1=(xJ||xQ||Function("return this")()).Symbol;let x0=function(e,t){for(var n=-1,r=null==e?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i};var x5=Array.isArray,x2=Object.prototype,x3=x2.hasOwnProperty,x6=x2.toString,x4=x1?x1.toStringTag:void 0;let x8=function(e){var t=x3.call(e,x4),n=e[x4];try{e[x4]=void 0;var r=!0}catch(e){}var i=x6.call(e);return r&&(t?e[x4]=n:delete e[x4]),i};var x9=Object.prototype.toString,x7=x1?x1.toStringTag:void 0;let Ce=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":x7&&x7 in Object(e)?x8(e):x9.call(e)},Ct=function(e){return"symbol"==typeof e||null!=e&&"object"==typeof e&&"[object Symbol]"==Ce(e)};var Cn=1/0,Cr=x1?x1.prototype:void 0,Ci=Cr?Cr.toString:void 0;let Co=function e(t){if("string"==typeof t)return t;if(x5(t))return x0(t,e)+"";if(Ct(t))return Ci?Ci.call(t):"";var n=t+"";return"0"==n&&1/t==-Cn?"-0":n},Cs=function(e){return null==e?"":Co(e)};
11var Ca=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Cl=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g"),Cd=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Cu=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Cc="\\ud800-\\udfff",Ch="\\u2700-\\u27bf",Cf="a-z\\xdf-\\xf6\\xf8-\\xff",Cp="A-Z\\xc0-\\xd6\\xd8-\\xde",Cg="\\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",Cm="['’]",Cv="["+Cg+"]",Cy="["+Cf+"]",Cw="[^"+Cc+Cg+"\\d+"+Ch+Cf+Cp+"]",Cb="(?:\\ud83c[\\udde6-\\uddff]){2}",Cx="[\\ud800-\\udbff][\\udc00-\\udfff]",CC="["+Cp+"]",Ck="(?:"+Cy+"|"+Cw+")",Cj="(?:"+CC+"|"+Cw+")",CM="(?:"+Cm+"(?:d|ll|m|re|s|t|ve))?",CL="(?:"+Cm+"(?:D|LL|M|RE|S|T|VE))?",CS="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",CE="[\\ufe0e\\ufe0f]?",CR="(?:\\u200d(?:"+["[^"+Cc+"]",Cb,Cx].join("|")+")"+CE+CS+")*",CV="(?:"+["["+Ch+"]",Cb,Cx].join("|")+")"+(CE+CS+CR),C_=RegExp([CC+"?"+Cy+"+"+CM+"(?="+[Cv,CC,"$"].join("|")+")",Cj+"+"+CL+"(?="+[Cv,CC+Ck,"$"].join("|")+")",CC+"?"+Ck+"+"+CM,CC+"+"+CL,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])|\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])|\\d+",CV].join("|"),"g");let CH=function(e,t,n){if(e=Cs(e),void 0===(t=n?void 0:t)){var r;return(r=e,Cu.test(r))?e.match(C_)||[]:e.match(Cd)||[]}return e.match(t)||[]};var C$=RegExp("['’]","g");let CA=function(e,t,n){var r=-1,i=e.length;t<0&&(t=-t>i?0:i+t),(n=n>i?i:n)<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var o=Array(i);++r<i;)o[r]=e[r+t];return o},CT=function(e,t,n){var r=e.length;return n=void 0===n?r:n,!t&&n>=r?e:CA(e,t,n)};var CI=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");let CP=function(e){return CI.test(e)};var CO="\\ud800-\\udfff",CB="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",CW="\\ud83c[\\udffb-\\udfff]",CN="[^"+CO+"]",Cz="(?:\\ud83c[\\udde6-\\uddff]){2}",CD="[\\ud800-\\udbff][\\udc00-\\udfff]",CF="(?:"+CB+"|"+CW+")?",CZ="[\\ufe0e\\ufe0f]?",CU="(?:\\u200d(?:"+[CN,Cz,CD].join("|")+")"+CZ+CF+")*",Cq=RegExp(CW+"(?="+CW+")|"+("(?:"+[CN+CB+"?",CB,Cz,CD,"["+CO+"]"].join("|"))+")"+(CZ+CF+CU),"g");let CG=function(e){var t,n=CP(e=Cs(e))?CP(t=e)?t.match(Cq)||[]:t.split(""):void 0,r=n?n[0]:e.charAt(0),i=n?CT(n,1).join(""):e.slice(1);return r.toUpperCase()+i};var CY=($=function(e,t,n){return e+(n?" ":"")+CG(t)},function(e){var t;return xX(CH(((t=Cs(t=e))&&t.replace(Ca,xK).replace(Cl,"")).replace(C$,"")),$,"")});function CX(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 CK(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 CJ="all-items",CQ={gridTemplateColumns:"repeat(auto-fill, minmax(118px, 1fr))",alignItems:"start"};function C1(e){let t,n,r,i,o,s,a,l,d,u,c,h,f,p,g,m,v=(0,N.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:CJ,title:e.labels["insert-menu.filter.all-items"],selected:!0},...e.groups.map(C2)]:[],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(C5),v[5]=n,v[6]=r):r=v[6],v[7]!==t||v[8]!==r?(i={query:"",groups:t,views:r},v[7]=t,v[8]=r,v[9]=i):i=v[9];let[b,x]=(0,np.useReducer)(CK,i);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,i=(C=e.schemaTypes,k=b.query,j=b.groups,C.filter(e=>{var t,n;let r,i;return t=e,(!(r=j.find(e=>e.selected))||r.name===CJ||r.of?.includes(t.name))&&(n=e,i=k.trim().toLowerCase(),n.title?n.title?.toLowerCase().includes(i):n.name.includes(i))})),p=b.views.find(C0),g=w||b.views.length>1,m=b.groups&&b.groups.length>0,M=g||m;a=wG,f=0,s=yf,u="column",c="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[3
111]!==b.views?(n=g?(0,W.jsxs)(yf,{flex:"none",align:"center",paddingTop:1,paddingX:1,gap:1,children:[w?(0,W.jsx)(yd,{flex:1,children:(0,W.jsx)(wV,{autoFocus:!0,border:!1,fontSize:1,icon:xY,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,W.jsx)(yd,{flex:"none",children:(0,W.jsx)(C4,{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,W.jsx)(yd,{paddingTop:1,paddingX:1,children:(0,W.jsx)(w3,{space:1,children:b.groups.map(e=>(0,W.jsx)(w5,{id:`${e.name}-tab`,"aria-controls":`${e.name}-panel`,label:e.title??CY(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?(h=(0,W.jsxs)(yd,{...t,children:[n,r]}),v[36]=t,v[37]=n,v[38]=r,v[39]=h):h=v[39],o=yd,l=1,d=0===i.length?(0,W.jsx)(yd,{padding:2,children:(0,W.jsx)(yc,{muted:!0,size:1,children:e.labels["insert-menu.search.no-results"]})}):p?"grid"===p.name?(0,W.jsx)(yI,{autoRows:"auto",flex:1,gap:1,style:CQ,children:i.map(t=>(0,W.jsx)(C9,{icon:y?CX(t):void 0,onClick:()=>{e.onSelect(t)},previewImageUrl:p.previewImageUrl?.(t.name),schemaType:t},t.name))}):(0,W.jsx)(wy,{flex:1,space:1,children:i.map(t=>(0,W.jsx)(wQ,{icon:y?CX(t):void 0,onClick:()=>{e.onSelect(t)},text:t.title??CY(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]=o,v[17]=s,v[18]=a,v[19]=l,v[20]=d,v[21]=u,v[22]=c,v[23]=h,v[24]=f}else o=v[16],s=v[17],a=v[18],l=v[19],d=v[20],u=v[21],c=v[22],h=v[23],f=v[24];return v[40]!==o||v[41]!==l||v[42]!==d?(p=(0,W.jsx)(o,{padding:l,children:d}),v[40]=o,v[41]=l,v[42]=d,v[43]=p):p=v[43],v[44]!==s||v[45]!==p||v[46]!==u||v[47]!==c||v[48]!==h?(g=(0,W.jsxs)(s,{direction:u,height:c,children:[h,p]}),v[44]=s,v[45]=p,v[46]=u,v[47]=c,v[48]=h,v[49]=g):g=v[49],v[50]!==a||v[51]!==g||v[52]!==f?(m=(0,W.jsx)(a,{padding:f,children:g}),v[50]=a,v[51]=g,v[52]=f,v[53]=m):m=v[53],m}function C0(e){return e.selected}function C5(e,t){return{...e,selected:0===t}}function C2(e){return{...e,selected:!1}}let C3={grid:function(e){return(0,W.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,children:(0,W.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"})})},list:function(e){return(0,W.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,children:[(0,W.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,W.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,W.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,W.jsx)("path",{d:"M10 7.5H19M10 17.5H19M10 12.5H19",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}},C6={grid:"insert-menu.toggle-grid-view.tooltip",list:"insert-menu.toggle-list-view.tooltip"};function C4(e){let t,n,r,i,o=(0,N.c)(11),s=e.views.findIndex(C8),a=e.views[s+1]??e.views[0],l=e.labels[C6[a.name]];o[0]!==l?(t=(0,W.jsx)(yc,{size:1,children:l}),o[0]=l,o[1]=t):t=o[1];let d=C3[a.name];return o[2]!==a.name||o[3]!==e?(n=()=>{e.onToggle(a.name)},o[2]=a.name,o[3]=e,o[4]=n):n=o[4],o[5]!==d||o[6]!==n?(r=(0,W.jsx)(yx,{mode:"bleed",icon:d,onClick:n}),o[5]=d,o[6]=n,o[7]=r):r=o[7],o[8]!==t||o[9]!==r?(i=(0,W.jsx)(wB,{content:t,placement:"top",portal:!0,children:r}),o[8]=t,o[9]=r,o[10]=i):i=o[10],i}function C8(e){return e.selected}function C9(e){let t,n,r,i,o,s,a,l,d,u=(0,N.c)(20),[c,h]=(0,np.useState)(!1),f=e.icon,p=!!e.previewImageUrl&&!c;u[0]===Symbol.for("react.memo_cache_sentinel")?(t={overflow:"hidden"},u[0]=t):t=u[0],u[1]===Symbol.for("react.memo_cache_sentinel")?(n={backgroundColor:"var(--card-muted-bg-color)",paddingBottom:"66.6%",position:"relative"},u[1]=n):n=u[1],u[2]!==f||u[3]!==p?(r=(0,at.isValidElementType)(f)&&!p?(0,W.jsx)(yf,{align:"center",justify:"center",style:{position:"absolute",top:0,left:0,width:"100%",height:"100%"},children:(0,W.jsx)(yc,{size:1,children:(0,W.jsx)(f,{})})}):null,u[2]=f,u[3]=p,u[4]=r):r=u[4],u[5]!==p||u[6]!==e.previewImageUrl?(i=p?(0,W.jsx)("img",{src:e.previewImageUrl,style:{objectFit:"contain",width:"100%",height:"100%",position:"absolute",inset:0},onError:()=>{h(!0)}}):null,u[5]=p,u[6]=e.previewImageUrl,u[7]=i):i=u[7],u[8]===Symbol.for("react.memo_cache_sentinel")?(o=(0,W.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}}),u[8]=o):o=u[8],u[9]!==r||u[10]!==i?(s=(0,W.jsxs)(yd,{flex:"none",style:n,children:[r,i,o]}),u[9]=r,u[10]=i,u[11]=s):s=u[11];
11let g=e.schemaType.title??e.schemaType.name;return u[12]!==g?(a=(0,W.jsx)(yd,{flex:"none",paddingX:2,paddingY:1,children:(0,W.jsx)(yc,{size:1,weight:"medium",children:g})}),u[12]=g,u[13]=a):a=u[13],u[14]!==s||u[15]!==a?(l=(0,W.jsxs)(yf,{direction:"column",gap:1,padding:1,children:[s,a]}),u[14]=s,u[15]=a,u[16]=l):l=u[16],u[17]!==e.onClick||u[18]!==l?(d=(0,W.jsx)(wQ,{padding:0,radius:2,onClick:e.onClick,style:t,children:l}),u[17]=e.onClick,u[18]=l,u[19]=d):d=u[19],d}function C7(e){return(0,W.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,children:[(0,W.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M21 7.60002L11 7.60003V6.40003L21 6.40002V7.60002Z",fill:"currentColor"}),(0,W.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M21 11.2667L12.4833 11.2667V10.0667L21 10.0667V11.2667Z",fill:"currentColor"}),(0,W.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M21 14.9334H13.9254V13.7334L21 13.7334V14.9334Z",fill:"currentColor"}),(0,W.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M21 18.6002H4V17.4002H21V18.6002Z",fill:"currentColor"}),(0,W.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"})]})}function ke(e){return(0,W.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,children:(0,W.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"})})}function kt(e){return(0,W.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,children:[(0,W.jsx)("path",{d:"M4.5 8L12.5 3L20.5 8V17L12.5 22L4.5 17V8Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,W.jsx)("path",{d:"M12.5 22V13M12.5 13L4.5 8M12.5 13L20.5 8",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}function kn(e){return(0,W.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,children:(0,W.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"})})}function kr(e){return(0,W.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,children:[(0,W.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M21.0165 17.6336H3.83636V16.4336H21.0165V17.6336Z",fill:"currentColor"}),(0,W.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,W.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,W.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"})]})}function ki(e){return(0,W.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,children:[(0,W.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,W.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 
1115.637 16.4609 15.637Z",fill:"currentColor"}),(0,W.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M19.9585 18.637L5.0415 18.637V17.437L19.9585 17.437V18.637Z",fill:"currentColor"})]})}function ko(e){return(0,W.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,children:(0,W.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"})})}let ks=e=>{let t,n,r,i,o,s=(0,N.c)(10);return s[0]!==e?({children:t,style:r,...n}=e,s[0]=e,s[1]=t,s[2]=n,s[3]=r):(t=s[1],n=s[2],r=s[3]),s[4]!==r?(i={...r,pointerEvents:"all"},s[4]=r,s[5]=i):i=s[5],s[6]!==t||s[7]!==n||s[8]!==i?(o=(0,W.jsx)("div",{style:i,"data-sanity-overlay-element":!0,...n,children:t}),s[6]=t,s[7]=n,s[8]=i,s[9]=o):o=s[9],o};function ka(e){return{type:"log",name:e.name,version:e.version,description:e.description,maxSampleRate:e.maxSampleRate,schema:void 0}}let kl={"Visual Editing Drag Sequence Completed":ka({name:"Visual Editing Drag Sequence Completed",description:"An array is successfully reordered using drag and drop.",version:1}),"Visual Editing Drag Minimap Enabled":ka({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":ka({name:"Visual Editing Context Menu Item Removed",description:"An item is removed using the Context Menu.",version:1}),"Visual Editing Context Menu Item Duplicated":ka({name:"Visual Editing Context Menu Item Duplicated",description:"An item is duplicated using the Context Menu.",version:1}),"Visual Editing Context Menu Item Moved":ka({name:"Visual Editing Context Menu Item Moved",description:"An item is moved using the Context Menu.",version:1}),"Visual Editing Context Menu Item Inserted":ka({name:"Visual Editing Context Menu Item Inserted",description:"An item is inserted using the Context Menu.",version:1}),"Visual Editing Insert Menu Item Inserted":ka({name:"Visual Editing Insert Menu Item Inserted",description:"An item is inserted using the Insert Menu.",version:1}),"Visual Editing Overlay Clicked":ka({name:"Visual Editing Overlay Clicked",description:"An Overlay is clicked.",version:1})},kd=(0,np.createContext)(void 0);function ku(){let e=(0,np.useContext)(kd);if(!e)throw Error("Telemetry context is missing");return e}let kc=l9`
12  overflow-y: scroll;
13  overscroll-behavior: contain;
14  -ms-overflow-style: none;
15  scrollbar-width: none;
16
17  &:before {
18    content: '';
19    display: block;
20    height: calc(100% + 1px);
21    position: absolute;
22    top: 0;
23    width: 100%;
24    z-index: -1;
25  }
26`,kh=l7.div.withConfig({displayName:"PortalContainer",componentId:"sc-11pn4rs-0"})`height:100%;inset:0;pointer-events:all;position:fixed;width:100%;display:flex;justify-content:center;align-items:center;${e=>e.$blockScroll&&kc}`,kf=l7.div.withConfig({displayName:"PortalBackground",componentId:"sc-11pn4rs-1"})`background:transparent;height:100%;inset:0;position:absolute;width:100%;`,kp=e=>{let t,n=(0,N.c)(2);return n[0]!==e?(t=(0,W.jsx)(wr,{children:(0,W.jsx)(kg,{...e})}),n[0]=e,n[1]=t):t=n[1],t},kg=e=>{let t,n,r=(0,N.c)(7),{children:i,onDismiss:o,setBoundaryElement:s,blockScroll:a}=e,l=void 0===a||a;return r[0]!==o?(t=(0,W.jsx)(kf,{onMouseDownCapture:()=>{o?.()}}),r[0]=o,r[1]=t):t=r[1],r[2]!==l||r[3]!==i||r[4]!==s||r[5]!==t?(n=(0,W.jsxs)(kh,{"data-sanity-overlay-element":!0,ref:s,onClick:km,$blockScroll:l,children:[t,i]}),r[2]=l,r[3]=i,r[4]=s,r[5]=t,r[6]=n):n=r[6],n};function km(e){e.stopPropagation()}function kv(e){if(!e)return(0,W.jsx)(kt,{});if("string"===e.type)return(0,W.jsx)(ki,{});if("number"===e.type)return(0,W.jsx)(kr,{});let{value:t}=e;if("icon"in e&&e.icon)return(0,W.jsx)("div",{dangerouslySetInnerHTML:{__html:e.icon}});let{type:n}=t;if("string"===n)return(0,W.jsx)(ki,{});if("boolean"===n)return(0,W.jsx)(ke,{});if("number"===n)return(0,W.jsx)(kr,{});if("array"===n||"union"===n)return(Array.isArray(t.of)?t.of:[t.of]).some(e=>"name"in e&&"block"===e.name)?(0,W.jsx)(C7,{}):(0,W.jsx)(ko,{});if("object"===n){if("image"===e.name)return(0,W.jsx)(kn,{});if("block"===e.name)return(0,W.jsx)(ki,{})}return(0,W.jsx)(kt,{})}let ky={"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"},kw=e=>{let t,n,r,i,o=(0,N.c)(11),{node:s,onSelect:a}=e;o[0]!==s.options?.insertMenu?(t=s.options?.insertMenu||{},o[0]=s.options?.insertMenu,o[1]=t):t=o[1];let l=t;o[2]!==l.views?(n=l.views?.map(kb),o[2]=l.views,o[3]=n):n=o[3];let d=n;
26return o[4]!==s.of?(r=s.of.map(kx),o[4]=s.of,o[5]=r):r=o[5],o[6]!==l||o[7]!==a||o[8]!==r||o[9]!==d?(i=(0,W.jsx)(C1,{...l,labels:ky,schemaTypes:r,onSelect:a,views:d}),o[6]=l,o[7]=a,o[8]=r,o[9]=d,o[10]=i):i=o[10],i};function kb(e){return"grid"===e.name?{...e,previewImageUrl:t=>e.previewImageUrls?.[t]}:e}function kx(e){return{...e,icon:kv(e)}}function kC(e){return(0,W.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,children:[(0,W.jsx)("path",{d:"M12.5 19.5V5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,W.jsx)("path",{d:"M18 14L12.5 19.5L7 14",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}function kk(e){return(0,W.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,children:[(0,W.jsx)("path",{d:"M7 11L12.5 5.5L18 11",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,W.jsx)("path",{d:"M12.5 5.5V20",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}function kj(e){return(0,W.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,children:(0,W.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"})})}function kM(e){return(0,W.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,children:(0,W.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"})})}function kL(e){return(0,W.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,children:(0,W.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"})})}function kS(e){return(0,W.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,children:[(0,W.jsx)("path",{d:"M4.99997 5.50006H20M12.5 9.00005V20",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,W.jsx)("path",{d:"M7.5 14L12.5 9.00006L17.5 14",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}function kE(e){return(0,W.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,children:(0,W.jsx)("path",{d:"M5 12.5H20",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}function kR(e){return(0,W.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,children:(0,W.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"})})}function kV(e){return(0,W.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,children:[(0,W.jsx)("path",{d:"M5 19.5H20M12.5 16V5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,W.jsx)("path",{d:"M17.5 11L12.5 16L7.5 11",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}function k_(e){return(0,W.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,children:[(0,W.jsx)("path",{d:"M11.5 4.5V9.5H6.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,W.jsx)("path",{d:"M18.5 20.5H6.5V9.5L11.5 4.5H18.5V20.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}function kH(e){return(0,W.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,children:[(0,W.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,W.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,W.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,W.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,W.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,W.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"})]})}function k$(e){return(0,W.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,children:[(0,W.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,W.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,W.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"})]})}function kA(e){return(0,W.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,children:(0,W.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"})})}function kT(e){if(!(e.tabIndex>0||0===e.tabIndex&&null!==e.getAttribute("tabIndex")||(vr(e)?!!e.href&&"ignore"!==e.rel:vn(e)&&"INPUT"===e.nodeName?"hidden"
26!==e.type&&"file"!==e.type&&!e.disabled:!!(vi(e)||vn(e)&&"SELECT"===e.nodeName||vn(e)&&"TEXTAREA"===e.nodeName)&&!e.disabled)))return!1;try{e.focus()}catch{}return document.activeElement===e}function kI(e){for(let t=0;t<e.childNodes.length;t++){let n=e.childNodes[t];if(vn(n)&&(kT(n)||kI(n)))return!0}return!1}let kP=l7.div.withConfig({displayName:"StyledLabel",componentId:"sc-cvgwlt-0"})(function(e){return vu("label",e)},vc,function(e){let{$accent:t,$muted:n}=e,{font:r}=n_(e.theme);return l9`text-transform:uppercase;${t&&l9`color:var(--card-accent-fg-color);`} ${n&&l9`color:var(--card-muted-fg-color);`} & code{font-family:${r.code.family};border-radius:1px;}& a{text-decoration:none;border-radius:1px;}& svg{display:inline;}& [data-sanity-icon]{vertical-align:baseline;}`}),kO=(0,np.forwardRef)(function(e,t){let n,r,i,o=(0,rw.c)(26),s,a,l,d,u,c,h,f;o[0]===e?(s=o[1],a=o[2],l=o[3],d=o[4],u=o[5],c=o[6],h=o[7],f=o[8]):({accent:s,align:a,children:l,muted:u,size:c,textOverflow:h,weight:f,...d}=e,o[0]=e,o[1]=s,o[2]=a,o[3]=l,o[4]=d,o[5]=u,o[6]=c,o[7]=h,o[8]=f);let p=void 0!==u&&u,g=void 0===c?2:c,m=l;if("ellipsis"===h){let e;o[9]===m?e=o[10]:(e=(0,W.jsx)(ya,{children:m}),o[9]=m,o[10]=e),m=e}else{let e;o[11]===m?e=o[12]:(e=(0,W.jsx)("span",{children:m}),o[11]=m,o[12]=e),m=e}return o[13]===a?n=o[14]:(n=vl(a),o[13]=a,o[14]=n),o[15]===g?r=o[16]:(r=vl(g),o[15]=g,o[16]=r),o[17]!==s||o[18]!==m||o[19]!==p||o[20]!==t||o[21]!==d||o[22]!==n||o[23]!==r||o[24]!==f?(i=(0,W.jsx)(kP,{"data-ui":"Label",...d,$accent:s,$align:n,$muted:p,$size:r,$weight:f,ref:t,children:m}),o[17]=s,o[18]=m,o[19]=p,o[20]=t,o[21]=d,o[22]=n,o[23]=r,o[24]=f,o[25]=i):i=o[25],i});kO.displayName="ForwardRef(Label)";let kB=l7.div.withConfig({displayName:"StyledAvatar",componentId:"sc-jxq2u8-0"})(function(e){let{avatar:t,media:n}=n_(e.theme);return va(n,e.$size,e=>{let n=t.sizes[e]||t.sizes[0];return{width:vs(n.size),height:vs(n.size),borderRadius:vs(n.size/2),"&>svg":{width:vs(n.size),height:vs(n.size),borderRadius:vs(n.size/2)}}})},function(e){let{$color:t}=e,{avatar:n}=n_(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:vN({focusRing:n.focusRing})},"&:focus:not(:focus-visible)":{boxShadow:"none"}}}}),kW=l7.div.withConfig({displayName:"Arrow",componentId:"sc-jxq2u8-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)"}}}),kN=l7.ellipse.withConfig({displayName:"BgStroke",componentId:"sc-jxq2u8-2"})(function(){return{strokeWidth:"4px",stroke:"var(--card-bg-color)"}}),kz=l7.ellipse.withConfig({displayName:"Stroke",componentId:"sc-jxq2u8-3"})(function(){return{strokeWidth:"2px",stroke:"var(--avatar-bg-color)",'[data-status="editing"] &':{strokeDasharray:"2 4",strokeLinecap:"round"}}}),kD=l7.div.withConfig({displayName:"Initials",componentId:"sc-jxq2u8-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"}}}),kF=l7(kO).withConfig({displayName:"InitialsLabel",componentId:"sc-jxq2u8-5"})({color:"inherit"}),kZ=l7.svg.withConfig({displayName:"AvatarImage",componentId:"sc-jxq2u8-6"})(function(){return{position:"relative"}}
26);function kU(e){return 1===e?1:2===e?3:5*(3===e)}(0,np.forwardRef)(function(e,t){let n,r,i,o,s=(0,rw.c)(46),a,l,d,u,c,h,f,p,g,m,v,y;s[0]===e?(a=s[1],l=s[2],d=s[3],u=s[4],c=s[5],h=s[6],f=s[7],p=s[8],g=s[9],m=s[10],v=s[11],y=s[12]):({__unstable_hideInnerStroke:a,as:u,color:g,src:p,title:y,initials:c,onImageLoadError:h,arrowPosition:d,animateArrowFrom:l,status:m,size:v,...f}=e,s[0]=e,s[1]=a,s[2]=l,s[3]=d,s[4]=u,s[5]=c,s[6]=h,s[7]=f,s[8]=p,s[9]=g,s[10]=m,s[11]=v,s[12]=y);let w=void 0===g?"gray":g,b=void 0===m?"online":m,x=void 0===v?1:v,{avatar:C}=vy(),k=at.default.isValidElementType(u)?u:"div",j=vl(x),M=(C.sizes[j[0]]||C.sizes[0]).size,L=M/2,S=(0,np.useId)(),[E,R]=(0,np.useState)(l||d||"inside"),[V,_]=(0,np.useState)(!1),H=`avatar-image-${S}`,$,A;s[13]!==E||s[14]!==d?($=()=>{if(E===d)return;let e=requestAnimationFrame(()=>R(d));return()=>cancelAnimationFrame(e)},A=[E,d],s[13]=E,s[14]=d,s[15]=$,s[16]=A):($=s[15],A=s[16]),(0,np.useEffect)($,A),s[17]===p?(n=s[18],r=s[19]):(n=()=>{p&&_(!1)},r=[p],s[17]=p,s[18]=n,s[19]=r),(0,np.useEffect)(n,r),s[20]===h?i=s[21]:(i=()=>{_(!0),h&&h(Error("Avatar: the image failed to load"))},s[20]=h,s[21]=i);let T=i,I="string"==typeof k?k:void 0,P;s[22]===w?P=s[23]:(P=(0,W.jsx)(kW,{children:(0,W.jsx)("svg",{width:"11",height:"7",viewBox:"0 0 11 7",fill:"none",children:(0,W.jsx)("path",{d:"M6.67948 1.50115L11 7L0 7L4.32052 1.50115C4.92109 0.736796 6.07891 0.736795 6.67948 1.50115Z",fill:w})})}),s[22]=w,s[23]=P),s[24]!==a||s[25]!==L||s[26]!==M||s[27]!==T||s[28]!==V||s[29]!==H||s[30]!==p?(o=!V&&p&&(0,W.jsxs)(kZ,{viewBox:`0 0 ${M} ${M}`,fill:"none",children:[(0,W.jsx)("defs",{children:(0,W.jsx)("pattern",{id:H,patternContentUnits:"objectBoundingBox",width:"1",height:"1",children:(0,W.jsx)("image",{href:p,width:"1",height:"1",onError:T})})}),(0,W.jsx)("circle",{cx:L,cy:L,r:L,fill:`url(#${H})`}),!a&&(0,W.jsx)(kN,{cx:L,cy:L,rx:L,ry:L,vectorEffect:"non-scaling-stroke"}),(0,W.jsx)(kz,{cx:L,cy:L,rx:L,ry:L,vectorEffect:"non-scaling-stroke"})]}),s[24]=a,s[25]=L,s[26]=M,s[27]=T,s[28]=V,s[29]=H,s[30]=p,s[31]=o):o=s[31];let O=(V||!p)&&c&&(0,W.jsx)(W.Fragment,{children:(0,W.jsx)(kD,{children:(0,W.jsx)(kF,{forwardedAs:"span",size:j.map(kU),weight:"medium",children:c})})}),B;return s[32]!==kB||s[33]!==E||s[34]!==k||s[35]!==w||s[36]!==t||s[37]!==f||s[38]!==j||s[39]!==b||s[40]!==P||s[41]!==o||s[42]!==O||s[43]!==I||s[44]!==y?(B=(0,W.jsxs)(kB,{as:k,"data-as":I,"data-ui":"Avatar",...f,$color:w,$size:j,"aria-label":y,"data-arrow-position":E,"data-status":b,ref:t,title:y,children:[P,o,O]}),s[32]=kB,s[33]=E,s[34]=k,s[35]=w,s[36]=t,s[37]=f,s[38]=j,s[39]=b,s[40]=P,s[41]=o,s[42]=O,s[43]=I,s[44]=y,s[45]=B):B=s[45],B}).displayName="ForwardRef(Avatar)";let kq=l7.div.withConfig({displayName:"StyledAvatarCounter",componentId:"sc-s1txqz-0"})(function(e){let{avatar:t,media:n}=n_(e.theme);return va(n,e.$size,e=>{let n=t.sizes[e];return n?{borderRadius:vs(n.size/2),minWidth:vs(n.size),height:vs(n.size)}:m9})},function(e){let{space:t}=n_(e.theme);return l9`align-items:center;justify-content:center;box-sizing:border-box;user-select:none;color:inherit;color:var(--card-fg-color);background:var(--card-bg-color);box-shadow:0 0 0 1px var(--card-bg-color),inset 0 0 0 1px var(--card-hairline-hard-color);padding:0 ${vs(t[2])};&:not([hidden]){display:flex;}`}),kG=(0,np.forwardRef)(function(e,t){let n,r,i=(0,rw.c)(20),{count:o,size:s}=e,a=void 0===s?1:s,l,d,u,c,h,f,p;if(i[0]!==t||i[1]!==a){let e=vl(a);d=kq,h=e,f="AvatarCounter",p=t,l=kO,u="span",c=e.map(kY),i[0]=t,i[1]=a,i[2]=l,i[3]=d,i[4]=u,i[5]=c,i[6]=h,i[7]=f,i[8]=p}else l=i[2],d=i[3],u=i[4],c=i[5],h=i[6],f=i[7],p=i[8];return i[9]!==l||i[10]!==o||i[11]!==u||i[12]!==c?(n=(0,W.jsx)(l,{as:u,size:c,weight:"medium",children:o}),i[9]=l,i[10]=o,i[11]=u,i[12]=c,i[13]=n):n=i[13],i[14]!==d||i[15]!==h||i[16]!==f||i[17]!==p||i[18]!==n?(r=(0,W.jsx)(d,{$size:h,"data-ui":f,ref:p,children:n}),i[14]=d,i[15]=h,i[16]=f,i[17]=p,i[18]=n,i[19]=r):r=i[19],r});function kY(e){return 1===e?1:2===e?3:5*(3===e)}kG.displayName="ForwardRef(AvatarCounter)";let kX=l9`white-space:nowrap;& > div{vertical-align:top;&:not([hidden]){display:inline-block;}}`,kK=l7.div.withConfig({displayName:"StyledAvatarStack",componentId:"sc-ks59o1-0"})(function(e){let{avatar:t,media:n}=n_(e.theme);return va(n,e.$size,e=>{let n=t.sizes[e];return n?{"& > div + div":{marginLeft:vs(n.distance)}}:m9})},function(){return kX});(0,np.forwardRef)(function(e,t){let n,r=(0,rw.c)(38),i,o,s,a;r[0]===e?(i=r[1],o=r[2],s=r[3],a=r[4]):({children:i,maxLength:s,size:a,...o}=e,r[0]=e,r[1]=i,r[2]=o,r[3]=s,r[4]=a);let l=void 0===s?4:s,d=void 0===a?1:a,u,c,h,f,p,g,m,v;if(r[5]!==i||r[6]!==l||r[7]!==t||r[8]!==o||r[9]!==d){let e,n=np.Children.toArray(i).filter(np.isValidElement),s=Math.max(l,0),a;r[18]===d?a=r[19]:(a=vl(d),r[18]=d,r[19]=a);let y=a,w=n.length,b=w-(s-1),x=b>1?n.slice(b,w):n;u=kK,c="AvatarStack",h=o,f=t,p=y,r[20]!==w||r[21]!==y?(g=0===w&&(0,W.jsx)("div",{children:(0,W.jsx)(kG,{count:w,size:y})}),r[20]=w,r[21]=y,r[22]=g):g=r[22],r[23]!==b||r[24]!==w||r[25]!==y?(m=0!==w&&b>1&&(0,W.jsx)("div",{children:(0,W.jsx)(kG,{count:b,size:y})}),r[23]=b,r[24]=w,r[25]=y,r[26]=m):m=r[26],r[27]===y?e=r[28]:(e=(e,t)=>(0,W.jsx)("div",{children:(0,np.cloneElement)(e,{size:y})},String(t)),r[27]=y,r[28]=e),v=x.map(e),r[5]=i,r[6]=l,r[7]=t,r[8]=o,r[9]=d,r[10]=u,r[11]=c,r[12]=h,r[13]=f,r[14]=p,r[15]=g,r[16]=m,r[17]=v}else u=r[10],c=r[11],h=r[12],f=r[13],p=r[14],g=r[15],m=r[16],v=r[17];return r[29]!==u||r[30]!==c||r[31]!==h||r[32]!==f||r[33]!==p||r[34]!==g||r[35]!==m||r[36]!==v?(n=(0,W.jsxs)(u,{"data-ui":c,...h,ref:f,$size:p,children:[g,m,v]}),r[29]=u,r[30]=c,r[31]=h,r[32]=f,r[33]=p,r[34]=g,r[35]=m,r[36]=v,r[37]=n):n=r[37],n}).displayName="ForwardRef(AvatarStack)";let kJ=l7(yd).withConfig({displayName:"StyledBadge",componentId:"sc-p8fi74-0"}
26)(yo,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,np.forwardRef)(function(e,t){let n,r,i,o=(0,rw.c)(21),s,a,l,d,u,c;if(o[0]!==e){let{children:t,fontSize:n,mode:r,padding:i,radius:h,tone:f,...p}=e;s=t,l=n,d=i,u=h,c=f,a=p,o[0]=e,o[1]=s,o[2]=a,o[3]=l,o[4]=d,o[5]=u,o[6]=c}else s=o[1],a=o[2],l=o[3],d=o[4],u=o[5],c=o[6];let h=void 0===l?1:l,f=void 0===d?1:d,p=void 0===u?"full":u,g=void 0===c?"default":c,m;return o[7]===p?m=o[8]:(m=vl(p),o[7]=p,o[8]=m),o[9]===f?n=o[10]:(n=vl(f),o[9]=f,o[10]=n),o[11]!==s||o[12]!==h?(r=(0,W.jsx)(yc,{size:h,children:s}),o[11]=s,o[12]=h,o[13]=r):r=o[13],o[14]!==t||o[15]!==a||o[16]!==m||o[17]!==n||o[18]!==r||o[19]!==g?(i=(0,W.jsx)(kJ,{"data-ui":"Badge",...a,$tone:g,$radius:m,padding:n,ref:t,children:r}),o[14]=t,o[15]=a,o[16]=m,o[17]=n,o[18]=r,o[19]=g,o[20]=i):i=o[20],i}).displayName="ForwardRef(Badge)";let kQ=l7.div.withConfig({displayName:"StyledCheckbox",componentId:"sc-mje2ol-0"})(function(){return l9`position:relative;display:inline-block;`}),k1=l7.input.withConfig({displayName:"Input",componentId:"sc-mje2ol-1"})(function(e){let{color:t,input:n,radius:r}=n_(e.theme),{focusRing:i}=n.checkbox;return l9`position:absolute;top:0;left:0;width:100%;height:100%;outline:none;opacity:0;z-index:1;padding:0;margin:0;& + span{position:relative;display:block;height:${vs(n.checkbox.size)};width:${vs(n.checkbox.size)};box-sizing:border-box;box-shadow:${vW({color:t.input.default.enabled.border,width:n.border.width})};border-radius:${vs(r[2])};line-height:1;background-color:${t.input.default.enabled.bg};& > svg{display:block;position:absolute;opacity:0;height:100%;width:100%;& > path{vector-effect:non-scaling-stroke;stroke-width:1.5px !important;}}}&:checked + span{background:${t.input.default.enabled.fg};box-shadow:${vW({color:t.input.default.enabled.fg,width:n.border.width})};color:${t.input.default.enabled.bg};}&:not(:disabled):focus:focus-visible + span{box-shadow:${vN({focusRing:i})};}&:not(:disabled):focus:focus-visible&:checked + span{box-shadow:${vN({focusRing:{width:1,offset:1}})};}&[data-error] + span{background-color:${t.input.invalid.enabled.border};box-shadow:${vW({width:n.border.width,color:t.input.invalid.enabled.muted.bg})};color:${t.input.default.disabled.fg};}&[data-error]&:checked + span{background-color:${t.input.invalid.enabled.muted.bg};color:${t.input.default.enabled.bg};}&[data-error]&:checked&:not(:disabled):focus:focus-visible + span{box-shadow:${vN({border:{width:n.border.width,color:t.input.invalid.readOnly.muted.bg},focusRing:{width:1,offset:1}})};}&:disabled + span{background-color:${t.input.default.disabled.bg};box-shadow:${vW({width:n.border.width,color:t.input.default.disabled.border})};color:${t.input.default.disabled.fg};}&:disabled&:checked + span{background-color:${t.input.default.disabled.muted.bg};}&[data-read-only] + span{background-color:${t.input.default.readOnly.bg};box-shadow:${vW({width:n.border.width,color:t.input.default.readOnly.border})};color:${t.input.default.readOnly.fg};}&[data-read-only]&:checked + span{background-color:${t.input.default.readOnly.muted.bg};}&:checked + span > svg:first-child{opacity:1;}&:indeterminate + span > svg:last-child{opacity:1;}`});function k0({theme:e}){let{color:{syntax:t}}=n_(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,np.forwardRef)(function(e,t){let n,r,i,o,s=(0,rw.c)(25),a,l,d,u,c,h,f,p;s[0]===e?(a=s[1],l=s[2],d=s[3],u=s[4],c=s[5],h=s[6],f=s[7],p=s[8]):({checked:a,className:l,disabled:u,indeterminate:c,customValidity:d,readOnly:h,style:p,...f}=e,s[0]=e,s[1]=a,s[2]=l,s[3]=d,s[4]=u,s[5]=c,s[6]=h,s[7]=f,s[8]=p);let g=(0,np.useRef)(null),m;s[9]===Symbol.for("react.memo_cache_sentinel")?(m=()=>g.current,s[9]=m):m=s[9],(0,np.useImperativeHandle)(t,m),s[10]===c?(n=s[11],r=s[12]):(n=()=>{g.current&&(g.current.indeterminate=c||!1)},r=[c],s[10]=c,s[11]=n,s[12]=r),(0,np.useEffect)(n,r),yM(g,d);let v=!u&&h?"":void 0,y=d?"":void 0,w=u||h,b;return s[13]!==a||s[14]!==h||s[15]!==f||s[16]!==v||s[17]!==y||s[18]!==w?(b=(0,W.jsx)(k1,{"data-read-only":v,"data-error":y,...f,checked:a,disabled:w,type:"checkbox",readOnly:h,ref:g}),s[13]=a,s[14]=h,s[15]=f,s[16]=v,s[17]=y,s[18]=w,s[19]=b):b=s[19],s[20]===Symbol.for("react.memo_cache_sentinel")?(i=(0,W.jsxs)("span",{children:[(0,W.jsx)(r5,{}),(0,W.jsx)(o7,{})]}),s[20]=i):i=s[20],s[21]!==l||s[22]!==p||s[23]!==b?(o=(0,W.jsxs)(kQ,{className:l,"data-ui":"Checkbox",style:p,children:[b,i]}),s[21]=l,s[22]=p,s[23]=b,s[24]=o):o=s[24],o}).displayName="ForwardRef(Checkbox)";let k5=(0,np.lazy)(()=>e.A(11047)),k2=l7.pre.withConfig({displayName:"StyledCode",componentId:"sc-botxhl-0"})(function(){return l9`color:var(--card-code-fg-color);& code{font-family:inherit;&.refractor .token{${k0}}}& a{color:inherit;text-decoration:underline;border-radius:1px;}& svg{display:inline;}& [data-sanity-icon]{vertical-align:baseline;}`},function(e){return vu("code",e)});(0,np.forwardRef)(function(e,t){let n,r,i,o=(0,rw.c)(22),s,a,l,d,u;o[0]===e?(s=o[1],a=o[2],l=o[3],d=o[4],u=o[5]):({children:s,language:a,size:d,weight:u,...l}=e,o[0]=e,o[1]=s,o[2]=a,o[3]=l,o[4]=d,o[5]=u);let c=void 0===d?2:d,h;o[6]===c?h=o[7]:(h=vl(c),o[6]=c,o[7]=h);let f=u,p;return o[8]===s?p=o[9]:(p=(0,W.jsx)("code",{children:s}),o[8]=s,o[9]=p),o[10]!==s||o[11]!==a?(n=(0,W.jsx)(k5,{language:a,value:s}),o[10]=s,o[11]=a,o[12]=n):n=o[12],o[13]!==p||o[14]!==n?(r=(0,W.jsx)(np.Suspense,{fallback:p,children:n}),o[13]=p,o[14]=n,o[15]=r):r=o[15],o[16]!==t||o[17]!==l||o[18]!==h||o[19]!==f||o[20]!==r?(i=(0,W.jsx)(k2,{"data-ui":"Code",...l,$size:h,$weight:f,ref:t,children:r}),o[16]=t,o[17]=l,o[18]=h,o[19]=f,o[20]=r,o[21]=i):i=o[21],i}).displayName="ForwardRef(Code)";let k3={width:"100%",margin:"0 auto"},k6=l7(yd).withConfig({displayName:"StyledContainer",componentId:"sc-un6r8j-0"})(function(){return k3}
26,function(e){let{container:t,media:n}=n_(e.theme);return va(n,e.$width,e=>({maxWidth:"auto"===e?"none":vs(t[e])}))}),k4=(0,np.forwardRef)(function(e,t){let n,r=(0,rw.c)(11),i,o,s;r[0]===e?(i=r[1],o=r[2],s=r[3]):({as:i,width:s,...o}=e,r[0]=e,r[1]=i,r[2]=o,r[3]=s);let a=void 0===s?2:s,l;return r[4]===a?l=r[5]:(l=vl(a),r[4]=a,r[5]=l),r[6]!==i||r[7]!==t||r[8]!==o||r[9]!==l?(n=(0,W.jsx)(k6,{"data-ui":"Container",...o,$width:l,forwardedAs:i,ref:t}),r[6]=i,r[7]=t,r[8]=o,r[9]=l,r[10]=n):n=r[10],n});k4.displayName="ForwardRef(Container)";let k8=l7.div.withConfig({displayName:"StyledHeading",componentId:"sc-7dzjaf-0"})(function(e){let{$accent:t,$muted:n}=e,{font:r}=n_(e.theme);return l9`${t&&l9`color:var(--card-accent-fg-color);`} ${n&&l9`color:var(--card-muted-fg-color);`} & code{font-family:${r.code.family};border-radius:1px;}& a{text-decoration:none;border-radius:1px;color:var(--card-link-color);outline:none;@media (hover:hover){&:hover{text-decoration:underline;}}&:focus{box-shadow:0 0 0 1px var(--card-bg-color),0 0 0 3px var(--card-focus-ring-color);}&:focus:not(:focus-visible){box-shadow:none;}}& strong{font-weight:${r.heading.weights.bold};}& svg{display:inline;}& [data-sanity-icon]{vertical-align:baseline;}`},vc,function(e){return vu("heading",e)});(0,np.forwardRef)(function(e,t){let n,r,i,o,s=(0,rw.c)(26),a,l,d,u,c,h,f,p;s[0]===e?(a=s[1],l=s[2],d=s[3],u=s[4],c=s[5],h=s[6],f=s[7],p=s[8]):({accent:u,align:a,children:l,muted:c,size:h,textOverflow:f,weight:p,...d}=e,s[0]=e,s[1]=a,s[2]=l,s[3]=d,s[4]=u,s[5]=c,s[6]=h,s[7]=f,s[8]=p);let g=void 0!==u&&u,m=void 0!==c&&c,v=void 0===h?2:h,y=l;if("ellipsis"===f){let e;s[9]===y?e=s[10]:(e=(0,W.jsx)(ya,{children:y}),s[9]=y,s[10]=e),y=e}return s[11]===a?n=s[12]:(n=vl(a),s[11]=a,s[12]=n),s[13]===v?r=s[14]:(r=vl(v),s[13]=v,s[14]=r),s[15]===y?i=s[16]:(i=(0,W.jsx)("span",{children:y}),s[15]=y,s[16]=i),s[17]!==g||s[18]!==m||s[19]!==t||s[20]!==d||s[21]!==n||s[22]!==r||s[23]!==i||s[24]!==p?(o=(0,W.jsx)(k8,{"data-ui":"Heading",...d,$accent:g,$align:n,$muted:m,$size:r,$weight:p,ref:t,children:i}),s[17]=g,s[18]=m,s[19]=t,s[20]=d,s[21]=n,s[22]=r,s[23]=i,s[24]=p,s[25]=o):o=s[25],o}).displayName="ForwardRef(Heading)",(0,np.forwardRef)(function(e,t){let n,r=(0,rw.c)(18),i=vy(),o,s,a;r[0]===e?(o=r[1],s=r[2],a=r[3]):({children:s,media:o,...a}=e,r[0]=e,r[1]=o,r[2]=s,r[3]=a);let l=o??i.media,[d,u]=(0,np.useState)(null),c=yE(d)?.border.width??window.innerWidth,h;if(r[4]!==l||r[5]!==c){let e=function(e,t){let n=[];for(let r=0;r<e.length;r+=1)e[r]>t&&n.push(r);return n}(l,c);h=e.length?e.join(" "):void 0,r[4]=l,r[5]=c,r[6]=h}else h=r[6];let f=h,p;if(r[7]!==l||r[8]!==c){let e=function(e,t){let n=[];for(let r=0;r<e.length;r+=1)e[r]<=t&&n.push(r);return n}(l,c);p=e.length?e.join(" "):void 0,r[7]=l,r[8]=c,r[9]=p}else p=r[9];let g=p,m,v;return r[10]===d?(m=r[11],v=r[12]):(m=()=>d,v=[d],r[10]=d,r[11]=m,r[12]=v),(0,np.useImperativeHandle)(t,m,v),r[13]!==s||r[14]!==f||r[15]!==g||r[16]!==a?(n=(0,W.jsx)("div",{"data-ui":"ElementQuery",...a,"data-eq-max":f,"data-eq-min":g,ref:u,children:s}),r[13]=s,r[14]=f,r[15]=g,r[16]=a,r[17]=n):n=r[17],n}).displayName="ForwardRef(ElementQuery)",np.Component;let k9=l7.div.withConfig({displayName:"StyledSrOnly",componentId:"sc-wsuz6k-0"})`display:block;width:0;height:0;position:absolute;overflow:hidden;overflow:clip;`;(0,np.forwardRef)(function(e,t){let n=(0,rw.c)(4),{as:r,children:i}=e,o;return n[0]!==r||n[1]!==i||n[2]!==t?(o=(0,W.jsx)(k9,{"aria-hidden":!0,as:r,"data-ui":"SrOnly",ref:t,children:i}),n[0]=r,n[1]=i,n[2]=t,n[3]=o):o=n[3],o}).displayName="ForwardRef(SrOnly)";let k7=l7.div.withConfig({displayName:"StyledVirtualList",componentId:"sc-2o92jb-0"})`position:relative;`,je=l7.div.withConfig({displayName:"ItemWrapper",componentId:"sc-2o92jb-1"})`position:absolute;left:0;right:0;`;(0,np.forwardRef)(function(e,t){let n,r,i,o,s,a,l,d=(0,rw.c)(44),u,c,h,f,p,g,m;d[0]===e?(u=d[1],c=d[2],h=d[3],f=d[4],p=d[5],g=d[6],m=d[7]):({as:p,gap:g,getItemKey:u,items:m,onChange:c,renderItem:h,...f}=e,d[0]=e,d[1]=u,d[2]=c,d[3]=h,d[4]=f,d[5]=p,d[6]=g,d[7]=m);let v=void 0===p?"div":p,y=void 0===g?0:g,w;d[8]===m?w=d[9]:(w=void 0===m?[]:m,d[8]=m,d[9]=w);let b=w,{space:x}=vy(),C=(0,np.useRef)(null),k=(0,np.useRef)(null),[j,M]=(0,np.useState)(0),[L,S]=(0,np.useState)(0),[E,R]=(0,np.useState)(-1),V;d[10]===Symbol.for("react.memo_cache_sentinel")?(V=()=>C.current,d[10]=V):V=d[10],(0,np.useImperativeHandle)(t,V),d[11]===Symbol.for("react.memo_cache_sentinel")?(n=()=>
26{if(!k.current)return;let e=k.current.firstChild;e instanceof HTMLElement&&R(e.offsetHeight)},d[11]=n):n=d[11],d[12]===h?r=d[13]:(r=[h],d[12]=h,d[13]=r),(0,np.useEffect)(n,r),d[14]===Symbol.for("react.memo_cache_sentinel")?(i=()=>{if(!C.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}(C.current.parentNode);if(e){if(!(e instanceof HTMLElement))return;let t=()=>{M(e.scrollTop)};e.addEventListener("scroll",t,{passive:!0});let n=new yL(e=>{S(e[0].contentRect.height)});return n.observe(e),t(),()=>{e.removeEventListener("scroll",t),n.unobserve(e),n.disconnect()}}let t=()=>{M(window.scrollY)},n=()=>{S(window.innerHeight)};return window.addEventListener("scroll",t,{passive:!0}),window.addEventListener("resize",n),S(window.innerHeight),t(),()=>{window.removeEventListener("scroll",t),window.removeEventListener("resize",n)}},o=[],d[14]=i,d[15]=o):(i=d[14],o=d[15]),(0,np.useEffect)(i,o);let _=b.length,H=E?_*(E+x[y])-x[y]:0,$=H?Math.max(Math.floor(j/H*_)-2,0):0,A=H?Math.ceil((j+L)/H*_)+1:0,T,I;d[16]!==$||d[17]!==y||d[18]!==E||d[19]!==c||d[20]!==L||d[21]!==j||d[22]!==x||d[23]!==A?(I=()=>{c&&c({fromIndex:$,gap:x[y],itemHeight:E,scrollHeight:L,scrollTop:j,toIndex:A})},T=[$,y,E,c,L,j,x,A],d[16]=$,d[17]=y,d[18]=E,d[19]=c,d[20]=L,d[21]=j,d[22]=x,d[23]=A,d[24]=T,d[25]=I):(T=d[24],I=d[25]),(0,np.useEffect)(I,T),d[26]!==$||d[27]!==y||d[28]!==u||d[29]!==E||d[30]!==b||d[31]!==h||d[32]!==x||d[33]!==A?(s={fromIndex:$,gap:y,itemHeight:E,space:x,toIndex:A,getItemKey:u,items:b,renderItem:h},d[26]=$,d[27]=y,d[28]=u,d[29]=E,d[30]=b,d[31]=h,d[32]=x,d[33]=A,d[34]=s):s=d[34];let P=function(e){let t,n=(0,rw.c)(21),{fromIndex:r,gap:i,getItemKey:o,itemHeight:s,items:a,renderItem:l,space:d,toIndex:u}=e;if(!l||0===a.length)return null;if(-1===s){let e,t;return n[0]!==a[0]||n[1]!==l?(e=l(a[0]),n[0]=a[0],n[1]=l,n[2]=e):e=n[2],n[3]===e?t=n[4]:(t=[(0,W.jsx)(je,{children:e},0)],n[3]=e,n[4]=t),t}if(n[5]!==r||n[6]!==i||n[7]!==o||n[8]!==s||n[9]!==a||n[10]!==l||n[11]!==d||n[12]!==u){let e;n[14]!==r||n[15]!==i||n[16]!==o||n[17]!==s||n[18]!==l||n[19]!==d?(e=(e,t)=>{let n=r+t,a=l(e),u=o?o(e,n):n;return(0,W.jsx)(je,{style:{top:n*(s+d[i])},children:a},u)},n[14]=r,n[15]=i,n[16]=o,n[17]=s,n[18]=l,n[19]=d,n[20]=e):e=n[20],t=a.slice(r,u).map(e),n[5]=r,n[6]=i,n[7]=o,n[8]=s,n[9]=a,n[10]=l,n[11]=d,n[12]=u,n[13]=t}else t=n[13];return t}(s),O;return d[35]===H?O=d[36]:(O={height:H},d[35]=H,d[36]=O),d[37]!==P||d[38]!==O?(a=(0,W.jsx)("div",{ref:k,style:O,children:P}),d[37]=P,d[38]=O,d[39]=a):a=d[39],d[40]!==v||d[41]!==f||d[42]!==a?(l=(0,W.jsx)(k7,{as:v,"data-ui":"VirtualList",...f,ref:C,children:a}),d[40]=v,d[41]=f,d[42]=a,d[43]=l):l=d[43],l}).displayName="ForwardRef(VirtualList)";let jt=l7.div.withConfig({displayName:"StyledRadio",componentId:"sc-6sng01-0"})(function(){return l9`position:relative;&:not([hidden]){display:inline-block;}&[data-read-only]{outline:1px solid red;}`}),jn=l7.input.withConfig({displayName:"Input",componentId:"sc-6sng01-1"})(function(e){let{color:t,input:n}=n_(e.theme),r=(n.radio.size-n.radio.markSize)/2;return l9`appearance:none;position:absolute;top:0;left:0;opacity:0;height:100%;width:100%;outline:none;z-index:1;padding:0;margin:0;border-radius:${vs(n.radio.size/2)};border:none;& + span{display:block;position:relative;height:${vs(n.radio.size)};width:${vs(n.radio.size)};border-radius:${vs(n.radio.size/2)};background:${t.input.default.enabled.bg};box-shadow:${vW({color:t.input.default.enabled.border,width:n.border.width})};&::after{content:'';position:absolute;top:${vs(r)};left:${vs(r)};height:${vs(n.radio.markSize)};width:${vs(n.radio.markSize)};border-radius:${vs(n.radio.markSize/2)};background:${t.input.default.enabled.fg};opacity:0;}}&:not(:disabled):focus + span{box-shadow:${vN({border:{width:n.border.width,color:t.input.default.enabled.border},focusRing:n.radio.focusRing})};}&:not(:disabled):focus:not(:focus-visible) + span{box-shadow:${vW({color:t.input.default.enabled.border,width:n.border.width})};}&:checked + span::after{opacity:1;}&[data-error] + span{background-color:${t.input.invalid.enabled.border};box-shadow:${vW({width:n.border.width,color:t.input.invalid.enabled.muted.bg})};&::after{background:${t.input.invalid.enabled.muted.bg};}}&[data-read-only] + span{box-shadow:0 0 0 1px ${t.input.default.readOnly.border};background:${t.input.default.readOnly.bg};&::after{background:${t.input.default.readOnly.border};}}&:not([data-read-only]):disabled + span{box-shadow:0 0 0 1px ${t.input.default.disabled.border};background:${t.input.default.disabled.bg};&::after{background:${t.input.default.disabled.border};}}`});function jr(e){let{font:t}=n_(e.theme);return l9`-webkit-font-smoothing:antialiased;appearance:none;border:0;font-family:${t.text.family};color:inherit;width:100%;outline:none;margin:0;&:disabled{opacity:1;}`}
26function ji(e){let{color:t,input:n}=n_(e.theme);return l9`background-color:${t.input.default.enabled.bg};color:${t.input.default.enabled.fg};box-shadow:${vW({color:t.input.default.enabled.border,width:n.border.width})};@media (hover:hover){&:not(:disabled):hover{background-color:${t.input.default.hovered.bg};color:${t.input.default.hovered.fg};box-shadow:${vW({color:t.input.default.hovered.border,width:n.border.width})};}}&:not(:disabled):focus{box-shadow:${vN({border:{width:n.border.width,color:t.input.default.enabled.border},focusRing:n.select.focusRing})};}&[data-read-only]{background-color:${t.input.default.readOnly.bg};color:${t.input.default.readOnly.fg};box-shadow:${vW({color:t.input.default.readOnly.border,width:n.border.width})};}&:not([data-read-only]):disabled{background-color:${t.input.default.disabled.bg};color:${t.input.default.disabled.fg};box-shadow:${vW({color:t.input.default.disabled.border,width:n.border.width})};}`}function jo(e){let{$fontSize:t}=e,{font:n,media:r}=n_(e.theme);return va(r,t,e=>{var t;return{fontSize:vs((t=n.text.sizes[e]||n.text.sizes[2]).fontSize),lineHeight:`${vs(t.lineHeight)}`}})}(0,np.forwardRef)(function(e,t){let n,r,i=(0,rw.c)(19),o,s,a,l,d,u;i[0]===e?(o=i[1],s=i[2],a=i[3],l=i[4],d=i[5],u=i[6]):({className:o,disabled:a,style:u,customValidity:s,readOnly:l,...d}=e,i[0]=e,i[1]=o,i[2]=s,i[3]=a,i[4]=l,i[5]=d,i[6]=u);let c=(0,np.useRef)(null),h;i[7]===Symbol.for("react.memo_cache_sentinel")?(h=()=>c.current,i[7]=h):h=i[7],(0,np.useImperativeHandle)(t,h),yM(c,s);let f=!a&&l?"":void 0,p=s?"":void 0,g=a||l,m;return i[8]!==l||i[9]!==d||i[10]!==f||i[11]!==p||i[12]!==g?(m=(0,W.jsx)(jn,{"data-read-only":f,"data-error":p,...d,disabled:g,readOnly:l,ref:c,type:"radio"}),i[8]=l,i[9]=d,i[10]=f,i[11]=p,i[12]=g,i[13]=m):m=i[13],i[14]===Symbol.for("react.memo_cache_sentinel")?(n=(0,W.jsx)("span",{}),i[14]=n):n=i[14],i[15]!==o||i[16]!==u||i[17]!==m?(r=(0,W.jsxs)(jt,{className:o,"data-ui":"Radio",style:u,children:[m,n]}),i[15]=o,i[16]=u,i[17]=m,i[18]=r):r=i[18],r}).displayName="ForwardRef(Radio)";let js=l7.div.withConfig({displayName:"StyledSelect",componentId:"sc-a3ltm7-0"})(function(){return l9`position:relative;width:-moz-available;width:-webkit-fill-available;width:stretch;&:not([hidden]){display:inline-block;}`}),ja=l7.select.withConfig({displayName:"Input",componentId:"sc-a3ltm7-1"})(function(){return[yo,jr,ji,jo,v9]}),jl=l7(yd).withConfig({displayName:"IconBox",componentId:"sc-a3ltm7-2"})(function(e){let{color:t}=n_(e.theme);return l9`pointer-events:none;position:absolute;top:0;right:0;--card-fg-color:${t.input.default.enabled.fg};@media (hover:hover){select:not(disabled):not(:read-only):hover + &&{--card-fg-color:${t.input.default.hovered.fg};}}select:disabled + &&{--card-fg-color:${t.input.default.disabled.fg};}select[data-read-only] + &&{--card-fg-color:${t.input.default.readOnly.fg};}`});(0,np.forwardRef)(function(e,t){let n,r,i,o,s,a,l,d=(0,rw.c)(38),u,c,h,f,p,g,m,v,y,w;d[0]===e?(u=d[1],c=d[2],h=d[3],f=d[4],p=d[5],g=d[6],m=d[7],v=d[8],y=d[9],w=d[10]):({children:u,customValidity:c,disabled:h,fontSize:m,gap:f,padding:v,radius:y,readOnly:p,space:w,...g}=e,d[0]=e,d[1]=u,d[2]=c,d[3]=h,d[4]=f,d[5]=p,d[6]=g,d[7]=m,d[8]=v,d[9]=y,d[10]=w);let b=void 0===m?2:m,x=void 0===v?3:v,C=void 0===y?2:y,k=void 0===f?void 0===w?3:w:f,j=(0,np.useRef)(null),M;d[11]===Symbol.for("react.memo_cache_sentinel")?(M=()=>j.current,d[11]=M):M=d[11],(0,np.useImperativeHandle)(t,M),yM(j,c);let L=!h&&p?"":void 0,S;d[12]===b?S=d[13]:(S=vl(b),d[12]=b,d[13]=S),d[14]===x?n=d[15]:(n=vl(x),d[14]=x,d[15]=n),d[16]===C?r=d[17]:(r=vl(C),d[16]=C,d[17]=r),d[18]===k?i=d[19]:(i=vl(k),d[18]=k,d[19]=i);let E=h||p,R;return d[20]!==u||d[21]!==g||d[22]!==E||d[23]!==L||d[24]!==S||d[25]!==n||d[26]!==r||d[27]!==i?(R=(0,W.jsx)(ja,{"data-read-only":L,"data-ui":"Select",...g,$fontSize:S,$padding:n,$radius:r,$space:i,disabled:E,ref:j,children:u}),d[20]=u,d[21]=g,d[22]=E,d[23]=L,d[24]=S,d[25]=n,d[26]=r,d[27]=i,d[28]=R):R=d[28],d[29]===Symbol.for("react.memo_cache_sentinel")?(o=(0,W.jsx)(r2,{}),d[29]=o):o=d[29],d[30]===b?s=d[31]:(s=(0,W.jsx)(yc,{size:b,children:o}),d[30]=b,d[31]=s),d[32]!==x||d[33]!==s?(a=(0,W.jsx)(jl,{padding:x,children:s}),d[32]=x,d[33]=s,d[34]=a):a=d[34],d[35]!==R||d[36]!==a?(l=(0,W.jsxs)(js,{"data-ui":"Select",children:[R,a]}),d[35]=R,d[36]=a,d[37]=l):l=d[37],l}).displayName="ForwardRef(Select)";let jd=l7.span.withConfig({displayName:"StyledSwitch",componentId:"sc-2t29u1-0"})(function(){return l9`position:relative;&:not([hidden]){display:inline-block;}`}),ju=l7.input.withConfig({displayName:"Input",componentId:"sc-2t29u1-1"})(function(){return l9`position:absolute;top:0;right:0;bottom:0;left:0;opacity:0;height:100%;width:100%;outline:none;padding:0;margin:0;z-index:1;`}),jc=l7.span.withConfig({displayName:"Representation",componentId:"sc-2t29u1-2"}
26)(function(e){let{color:t,input:n}=n_(e.theme);return l9`--switch-bg-color:${t.input.default.enabled.border};--switch-fg-color:${t.input.default.enabled.bg};--switch-box-shadow:none;&:not([hidden]){display:block;}position:relative;width:${vs(n.switch.width)};height:${vs(n.switch.height)};border-radius:${vs(n.switch.height/2)};pointer-events:none;&:after{content:'';display:block;position:absolute;top:0;left:0;right:0;bottom:0;z-index:1;box-shadow:var(--switch-box-shadow);border-radius:inherit;}input:focus + &&{--switch-box-shadow:${vN({focusRing:n.switch.focusRing})};}input:focus:not(:focus-visible) + &&{--switch-box-shadow:none;}input:checked + &&{--switch-bg-color:${t.input.default.enabled.fg};--switch-fg-color:${t.input.default.enabled.bg};}@media (hover:hover){input:not(:disabled):hover + &&{--switch-bg-color:${t.input.default.hovered.border};--switch-fg-color:${t.input.default.hovered.bg};}input:not(:disabled):checked:hover + &&{--switch-bg-color:${t.input.default.enabled.fg};--switch-fg-color:${t.input.default.enabled.bg};}}input:not([data-read-only]):disabled + &&{--switch-bg-color:${t.input.default.disabled.border};--switch-fg-color:${t.input.default.disabled.bg};}input[data-read-only]:disabled + &&{--switch-bg-color:${t.input.default.readOnly.border};--switch-fg-color:${t.input.default.readOnly.bg};}input:checked[data-read-only]:disabled + &&{--switch-bg-color:${t.input.default.readOnly.fg};--switch-fg-color:${t.input.default.readOnly.bg};}`}),jh=l7.span.withConfig({displayName:"Track",componentId:"sc-2t29u1-3"})(function(e){let{input:t}=n_(e.theme);return l9`&:not([hidden]){display:block;}background-color:var(--switch-bg-color);position:absolute;left:0;top:0;width:${vs(t.switch.width)};height:${vs(t.switch.height)};border-radius:${vs(t.switch.height/2)};`}),jf=l7.span.withConfig({displayName:"Thumb",componentId:"sc-2t29u1-4"})(function(e){let{$indeterminate:t}=e,{input:n}=n_(e.theme),r=n.switch.width,i=n.switch.height,o=n.switch.padding,s=i-2*n.switch.padding,a=r-2*o-s,l=r/2-s/2-o,d=!0!==t&&!0===e.$checked;return l9`&:not([hidden]){display:block;}position:absolute;left:${vs(o)};top:${vs(o)};height:${vs(s)};width:${vs(s)};border-radius:${vs(s/2)};transition-property:transform;transition-duration:${n.switch.transitionDurationMs}ms;transition-timing-function:${n.switch.transitionTimingFunction};background:var(--switch-fg-color);transform:translate3d(0,0,0);box-shadow:0px 1px 0px 0px rgba(0,0,0,0.05);${d&&l9`transform:translate3d(${a}px,0,0);`} ${t&&l9`transform:translate3d(${l}px,0,0);`}`});(0,np.forwardRef)(function(e,t){let n,r,i,o,s,a=(0,rw.c)(26),l,d,u,c,h,f,p;a[0]===e?(l=a[1],d=a[2],u=a[3],c=a[4],h=a[5],f=a[6],p=a[7]):({checked:l,className:d,disabled:u,indeterminate:c,readOnly:h,style:p,...f}=e,a[0]=e,a[1]=l,a[2]=d,a[3]=u,a[4]=c,a[5]=h,a[6]=f,a[7]=p);let g=(0,np.useRef)(null),m;a[8]===Symbol.for("react.memo_cache_sentinel")?(m=()=>g.current,a[8]=m):m=a[8],(0,np.useImperativeHandle)(t,m),a[9]===c?(n=a[10],r=a[11]):(n=()=>{g.current&&(g.current.indeterminate=c||!1)},r=[c],a[9]=c,a[10]=n,a[11]=r),(0,np.useEffect)(n,r);let v=!u&&h?"":void 0,y=!0!==c&&l,w=u||h,b;return a[12]!==f||a[13]!==v||a[14]!==y||a[15]!==w?(b=(0,W.jsx)(ju,{"data-read-only":v,...f,checked:y,disabled:w,type:"checkbox",ref:g}),a[12]=f,a[13]=v,a[14]=y,a[15]=w,a[16]=b):b=a[16],a[17]===Symbol.for("react.memo_cache_sentinel")?(i=(0,W.jsx)(jh,{}),a[17]=i):i=a[17],a[18]!==l||a[19]!==c?(o=(0,W.jsxs)(jc,{"aria-hidden":!0,"data-name":"representation",children:[i,(0,W.jsx)(jf,{$checked:l,$indeterminate:c})]}),a[18]=l,a[19]=c,a[20]=o):o=a[20],a[21]!==d||a[22]!==p||a[23]!==b||a[24]!==o?(s=(0,W.jsxs)(jd,{className:d,"data-ui":"Switch",style:p,children:[b,o]}),a[21]=d,a[22]=p,a[23]=b,a[24]=o,a[25]=s):s=a[25],s}).displayName="ForwardRef(Switch)";let jp=l7.span.withConfig({displayName:"StyledTextArea",componentId:"sc-5c9kno-0"})(ye),jg=l7.span.withConfig({displayName:"InputRoot",componentId:"sc-5c9kno-1"})`flex:1;min-width:0;display:block;position:relative;`,jm=l7.textarea.withConfig({displayName:"Input",componentId:"sc-5c9kno-2"})(v8,yt,yn),jv=l7.div.withConfig({displayName:"Presentation",componentId:"sc-5c9kno-3"})(yo,yr);(0,np.forwardRef)(function(e,t){let n,r,i,o,s=(0,rw.c)(35),a,l,d,u,c,h,f,p,g;s[0]===e?(a=s[1],l=s[2],d=s[3],u=s[4],c=s[5],h=s[6],f=s[7],p=s[8],g=s[9]):({border:u,customValidity:l,disabled:c,fontSize:h,padding:f,radius:p,weight:g,__unstable_disableFocusRing:a,...d}=e,s[0]=e,s[1]=a,s[2]=l,s[3]=d,s[4]=u,s[5]=c,s[6]=h,s[7]=f,s[8]=p,s[9]=g);let m=void 0===u||u,v=void 0!==c&&c,y=void 0===h?2:h,w=void 0===f?3:f,b=void 0===p?2:p,x=(0,np.useRef)(null),C=vm(),k;s[10]===Symbol.for("react.memo_cache_sentinel")?(k=()=>x.current,s[10]=k):k=s[10],(0,np.useImperativeHandle)(t,k),yM(x,l);let j=C.scheme,M=C.tone,L;
26s[11]===y?L=s[12]:(L=vl(y),s[11]=y,s[12]=L),s[13]===w?n=s[14]:(n=vl(w),s[13]=w,s[14]=n);let S=C.scheme,E;s[15]===Symbol.for("react.memo_cache_sentinel")?(E=vl(0),s[15]=E):E=s[15],s[16]!==v||s[17]!==d||s[18]!==C.scheme||s[19]!==C.tone||s[20]!==L||s[21]!==n||s[22]!==g?(r=(0,W.jsx)(jm,{"data-as":"textarea","data-scheme":j,"data-tone":M,...d,$fontSize:L,$padding:n,$scheme:S,$space:E,$tone:C.tone,$weight:g,disabled:v,ref:x}),s[16]=v,s[17]=d,s[18]=C.scheme,s[19]=C.tone,s[20]=L,s[21]=n,s[22]=g,s[23]=r):r=s[23],s[24]===b?i=s[25]:(i=vl(b),s[24]=b,s[25]=i);let R=m?"":void 0,V;return s[26]!==a||s[27]!==C.scheme||s[28]!==C.tone||s[29]!==i||s[30]!==R?(V=(0,W.jsx)(jv,{$radius:i,$unstableDisableFocusRing:a,$scheme:C.scheme,$tone:C.tone,"data-border":R,"data-scheme":C.scheme,"data-tone":C.tone}),s[26]=a,s[27]=C.scheme,s[28]=C.tone,s[29]=i,s[30]=R,s[31]=V):V=s[31],s[32]!==r||s[33]!==V?(o=(0,W.jsx)(jp,{"data-ui":"TextArea",children:(0,W.jsxs)(jg,{children:[r,V]})}),s[32]=r,s[33]=V,s[34]=o):o=s[34],o}).displayName="ForwardRef(TextArea)";let jy=l7.div.withConfig({displayName:"StyledAutocomplete",componentId:"sc-890276-0"})`line-height:0;`,jw=l7(yd).withConfig({displayName:"ListBox",componentId:"sc-890276-1"})`& > ul{list-style:none;padding:0;margin:0;}`,jb=dt`from{transform:rotate(0deg);}to{transform:rotate(360deg);}`,jx=l7(sp).withConfig({displayName:"AnimatedSpinnerIcon",componentId:"sc-890276-2"})`animation:${jb} 500ms linear infinite;`;function jC(e){let t=(0,rw.c)(11),{children:n,id:r,onSelect:i,selected:o,value:s}=e,a;t[0]!==i||t[1]!==s?(a=()=>{setTimeout(()=>{i(s)},0)},t[0]=i,t[1]=s,t[2]=a):a=t[2];let l=a,d;t[3]===l?d=t[4]:(d=e=>{var t;"Enter"!==e.key||vr(t=e.currentTarget)||vi(t)||l()},t[3]=l,t[4]=d);let u=d,c;return t[5]!==n||t[6]!==l||t[7]!==u||t[8]!==r||t[9]!==o?(c=(0,W.jsx)("li",{"aria-selected":o,"data-ui":"AutocompleteOption",id:r,role:"option",onClick:l,onKeyDown:u,children:n}),t[5]=n,t[6]=l,t[7]=u,t[8]=r,t[9]=o,t[10]=c):c=t[10],c}function jk(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 jj=["Control","Shift","Alt","Enter","Home","End","PageUp","PageDown","Meta","Tab","CapsLock"],jM=["bottom-start","top-start"],jL=(e,t)=>t?t.value:e,jS=(e,t)=>t.value.toLowerCase().indexOf(e.toLowerCase())>-1;function jE({renderPopover:e,content:t,hidden:n,inputElement:r,onMouseEnter:i,onMouseLeave:o,resultsPopoverElementRef:s}){return e({content:t,hidden:n,inputElement:r,onMouseEnter:i,onMouseLeave:o},s)}function jR(e){return 0===e?0:1===e||2===e?1:e-2}function jV(e){return Math.max(e-1,0)}(0,np.forwardRef)(function(e,t){let n,r,i,o,s,a,l,d,u=(0,rw.c)(181),c,h,f,p,g,m,v,y,w,b,x,C,k,j,M,L,S,E,R,V,_,H,$,A,T,I,P,O,B;u[0]===e?(c=u[1],h=u[2],f=u[3],p=u[4],g=u[5],m=u[6],v=u[7],y=u[8],w=u[9],b=u[10],x=u[11],C=u[12],k=u[13],j=u[14],M=u[15],L=u[16],S=u[17],E=u[18],R=u[19],V=u[20],_=u[21],H=u[22],$=u[23],A=u[24],T=u[25],I=u[26],P=u[27],O=u[28],B=u[29]):({border:H,customValidity:c,disabled:h,filterOption:f,fontSize:$,icon:p,id:g,listBox:A,loading:m,onBlur:v,onChange:y,onFocus:w,onQueryChange:b,onSelect:x,openButton:C,openOnFocus:k,options:j,padding:T,popover:I,prefix:M,radius:P,readOnly:L,relatedElements:S,renderOption:E,renderPopover:R,renderValue:O,suffix:_,value:B,...V}=e,u[0]=e,u[1]=c,u[2]=h,u[3]=f,u[4]=p,u[5]=g,u[6]=m,u[7]=v,u[8]=y,u[9]=w,u[10]=b,u[11]=x,u[12]=C,u[13]=k,u[14]=j,u[15]=M,u[16]=L,u[17]=S,u[18]=E,u[19]=R,u[20]=V,u[21]=_,u[22]=H,u[23]=$,u[24]=A,u[25]=T,u[26]=I,u[27]=P,u[28]=O,u[29]=B);let N=void 0===H||H,z=void 0===$?2:$,D=void 0===A?m9:A,F=void 0===T?3:T,Z=void 0===I?m9:I,U=void 0===P?2:P,q=void 0===O?jL:O,G=B||null,Y=B||null,X;u[30]!==G||u[31]!==Y?(X={activeValue:G,focused:!1,listFocused:!1,query:null,value:Y},u[30]=G,u[31]=Y,u[32]=X):X=u[32];let[K,J]=(0,np.useReducer)(jk,X),{activeValue:Q,focused:ee,listFocused:et,query:en,value:er}=K,ei;u[33]!==z||u[34]!==F?(ei=e=>{let{value:t}=e;return(0,W.jsx)(yk,{"data-as":"button",padding:F,radius:2,tone:"inherit",children:(0,W.jsx)(yc,{size:z,textOverflow:"ellipsis",children:t})})},u[33]=z,u[34]=F,u[35]=ei):ei=u[35];let eo="function"==typeof E?E:ei,es="function"==typeof f?f:jS,ea=(0,np.useRef)(null),el=(0,np.useRef)(null),ed=(0,np.useRef)(null),eu=(0,np.useRef)(null),[ec,eh]=(0,np.useState)(null),ef;u[36]===Symbol.for("react.memo_cache_sentinel")?(ef=e=>{(0,np.startTransition)(()=>eh(e))},u[36]=ef):ef=u[36];let ep=ef,eg=(0,np.useRef)(!1),em=(0,np.useRef)(er),ev=(0,np.useRef)(B),ey=(0,np.useRef)(!1),ew,eb;u[37]===ec?(ew=u[38],eb=u[39]):(ew=()=>ec,eb=[ec],u[37]=ec,u[38]=ew,u[39]=eb),(0,np.useImperativeHandle)(ed,ew,eb),u[40]===ec?(n=u[41],r=u[42]):(n=()=>ec,r=[ec],u[40]=ec,u[41]=n,u[42]=r),(0,np.useImperativeHandle)(t,n,r);let ex=`${g}-listbox`,eC=Array.isArray(j)?j:m8,ek=vl(F),ej;u[43]!==eC||u[44]!==er?(ej=null===er?void 0:eC.find(e=>e.value===er),u[43]=eC,u[44]=er,u[45]=ej):ej=u[45];let eM=ej,eL;if(u[46]!==es||u[47]!==eC||u[48]!==en){let e;u[50]!==es||u[51]!==en?(e=e=>!en||es(en,e),u[50]=es,u[51]=en,u[52]=e):e=u[52],eL=eC.filter(e),u[46]=es,u[47]=eC,u[48]=en,u[49]=eL}else eL=u[49];let eS=eL,eE=eS.length,eR=Q?`${g}-option-${Q}`:void 0,eV=null!==en&&m||ee&&null!==en,e_;u[53]!==v||u[54]!==b||u[55]!==S?(e_=e=>{setTimeout(()=>{if(ey.current)return;let t=(S||[]).concat(ea.current?[ea.current]:[],el.current?[el.current]:[]),n=!1;if(document.activeElement){for(let e of t)if(e===document.activeElement||e.contains(document.activeElement)){n=!0;break}}!1===n&&(J({type:"root/blur"}),ey.current=!1,b&&b(null),v&&v(e))},0)},u[53]=v,u[54]=b,u[55]=S,u[56]=e_):e_=u[56];let eH=e_,e$;u[57]===Symbol.for("react.memo_cache_sentinel")?(e$=e=>{let t=eu.current,n=e.target instanceof HTMLElement?e.target:null,r=t?.contains(n)||!1;r!==eg.current&&(eg.current=r,J({type:"root/setListFocused",listFocused:r}))},u[57]=e$):e$=u[57];let eA=e$,eT;u[58]!==y||u[59]!==b||u[60]!==x?(eT=e=>{J({type:"value/change",value:e}),ey.current=!1,x&&x(e),em.current=e,y&&y(e),b&&b(null),ed.current?.focus()},u[58]=y,u[59]=b,u[60]=x,u[61]=eT):eT=u[61];let eI=eT,eP;u[62]!==Q||u[63]!==eS||u[64]!==eE||u[65]!==b?(eP=e=>{if("ArrowDown"===e.key){if(e.preventDefault(),!eE)return;let t=eS.find(e=>e.value===Q),n=t?eS.indexOf(t):-1,r=eS[(n+1)%eE];r&&J({type:"root/setActiveValue",value:r.value,listFocused:!0});return}if("ArrowUp"===e.key){if(e.preventDefault(),!eE)return;let t=eS.find(e=>e.value===Q),n=t?eS.indexOf(t):-1,r=eS[-1===n?eE-1:(eE+n-1)%eE];r&&J({type:"root/setActiveValue",value:r.value,listFocused:!0});return}if("Escape"===e.key){J({type:"root/escape"}),ey.current=!1,b&&b(null),ed.current?.focus();return}let t=e.target,n=eu.current;
26if((n===t||n?.contains(t))&&!jj.includes(e.key))return void ed.current?.focus()},u[62]=Q,u[63]=eS,u[64]=eE,u[65]=b,u[66]=eP):eP=u[66];let eO=eP,eB;u[67]===b?eB=u[68]:(eB=e=>{let t=e.currentTarget.value;J({type:"input/change",query:t}),b&&b(t)},u[67]=b,u[68]=eB);let eW=eB,eN;u[69]!==eM||u[70]!==q||u[71]!==er?(eN=()=>{J({type:"root/open",query:er?q(er,eM):""})},u[69]=eM,u[70]=q,u[71]=er,u[72]=eN):eN=u[72];let ez=eN,eD;u[73]!==ez||u[74]!==ee||u[75]!==w||u[76]!==k?(eD=e=>{ee||(J({type:"input/focus"}),w&&w(e),k&&ez())},u[73]=ez,u[74]=ee,u[75]=w,u[76]=k,u[77]=eD):eD=u[77];let eF=eD,eZ;u[78]===Symbol.for("react.memo_cache_sentinel")?(eZ=()=>{ey.current=!0},u[78]=eZ):eZ=u[78];let eU=eZ,eq;u[79]===Symbol.for("react.memo_cache_sentinel")?(eq=()=>{ey.current=!1},u[79]=eq):eq=u[79];let eG=eq,eY;u[80]!==y||u[81]!==b?(eY=()=>{J({type:"root/clear"}),em.current="",y&&y(""),b&&b(null),ed.current?.focus()},u[80]=y,u[81]=b,u[82]=eY):eY=u[82];let eX=eY,eK;u[83]===Symbol.for("react.memo_cache_sentinel")?(eK=()=>{J({type:"input/focus"})},u[83]=eK):eK=u[83];let eJ=eK,eQ,e1;u[84]===B?(eQ=u[85],e1=u[86]):(eQ=()=>{if(B!==ev.current){ev.current=B,void 0!==B&&(J({type:"value/change",value:B}),em.current=B);return}B!==em.current&&(em.current=B||null,J({type:"value/change",value:B||null}))},e1=[B],u[84]=B,u[85]=eQ,u[86]=e1),(0,np.useEffect)(eQ,e1),u[87]===ee?(i=u[88],o=u[89]):(i=()=>{!ee&&em.current&&J({type:"root/setActiveValue",value:em.current})},o=[ee],u[87]=ee,u[88]=i,u[89]=o),(0,np.useEffect)(i,o),u[90]!==Q||u[91]!==eS?(s=()=>{let e=eu.current;if(!e)return;let t=eS.find(e=>e.value===Q);if(t){let n=eS.indexOf(t),r=e.childNodes[n];if(r){if(document.activeElement&&r.contains(document.activeElement))return;kI(r)}}},a=[Q,eS],u[90]=Q,u[91]=eS,u[92]=s,u[93]=a):(s=u[92],a=u[93]),(0,np.useEffect)(s,a);t:{if(!m&&!h&&er){let e;u[94]===Symbol.for("react.memo_cache_sentinel")?(e={"aria-label":"Clear",onFocus:eJ},u[94]=e):e=u[94],l=e;break t}l=void 0}let e0=l,e5=ek.map(jR),e2=ek.map(jV),e3="object"==typeof C?C:m9,e6;u[95]!==ez||u[96]!==e3?(e6=e=>{ez(),e3.onClick&&e3.onClick(e),requestAnimationFrame(()=>ed.current?.focus())},u[95]=ez,u[96]=e3,u[97]=e6):e6=u[97];let e4=e6,e8;u[98]!==h||u[99]!==eV||u[100]!==z||u[101]!==e4||u[102]!==C||u[103]!==e5||u[104]!==e2||u[105]!==e3||u[106]!==L?(e8=h||L||!C?void 0:(0,W.jsx)(yd,{"aria-hidden":eV,padding:e5,children:(0,W.jsx)(yx,{"aria-label":"Open",disabled:eV,fontSize:z,icon:r2,mode:"bleed",padding:e2,...e3,onClick:e4})}),u[98]=h,u[99]=eV,u[100]=z,u[101]=e4,u[102]=C,u[103]=e5,u[104]=e2,u[105]=e3,u[106]=L,u[107]=e8):e8=u[107];let e9=e8,e7;n:{if(null===en){if(null!==er){let e;u[108]!==eM||u[109]!==q||u[110]!==er?(e=q(er,eM),u[108]=eM,u[109]=q,u[110]=er,u[111]=e):e=u[111],e7=e;break n}e7="";break n}e7=en}let te=e7,tt;u[112]===et?tt=u[113]:(tt=e=>{"Tab"===e.key&&et&&ed.current?.focus()},u[112]=et,u[113]=tt);let tn=tt,tr;r:{let e,t,n;if(0===eS.length){tr=null;break r}if(u[114]!==Q||u[115]!==eM||u[116]!==eS||u[117]!==eI||u[118]!==g||u[119]!==et||u[120]!==m||u[121]!==eo){let t;u[123]!==Q||u[124]!==eM||u[125]!==eI||u[126]!==g||u[127]!==et||u[128]!==m||u[129]!==eo?(t=e=>{let t=null===Q?eM===e:e.value===Q;return(0,W.jsx)(jC,{id:`${g}-option-${e.value}`,onSelect:eI,selected:t,value:e.value,children:(0,np.cloneElement)(eo(e),{disabled:m,selected:t,tabIndex:et&&t?0:-1})},e.value)},u[123]=Q,u[124]=eM,u[125]=eI,u[126]=g,u[127]=et,u[128]=m,u[129]=eo,u[130]=t):t=u[130],e=eS.map(t),u[114]=Q,u[115]=eM,u[116]=eS,u[117]=eI,u[118]=g,u[119]=et,u[120]=m,u[121]=eo,u[122]=e}else e=u[122];u[131]!==ex||u[132]!==e?(t=(0,W.jsx)(wy,{as:"ul","aria-multiselectable":!1,"data-ui":"AutoComplete__resultsList",id:ex,ref:eu,role:"listbox",space:1,children:e}),u[131]=ex,u[132]=e,u[133]=t):t=u[133],u[134]!==tn||u[135]!==D||u[136]!==t?(n=(0,W.jsx)(jw,{"data-ui":"AutoComplete__results",onKeyDown:tn,padding:1,...D,tabIndex:-1,children:t}),u[134]=tn,u[135]=D,u[136]=t,u[137]=n):n=u[137],tr=n}let ti=tr,to;i:{let e;if(R){let e=!eV,t;u[138]!==ti||u[139]!==eU||u[140]!==eG||u[141]!==ec||u[142]!==R||u[143]!==e?(t=(0,W.jsx)(jE,{content:ti,hidden:e,inputElement:ec,onMouseEnter:eU,onMouseLeave:eG,resultsPopoverElementRef:el,renderPopover:
26R}),u[138]=ti,u[139]=eU,u[140]=eG,u[141]=ec,u[142]=R,u[143]=e,u[144]=t):t=u[144],to=t;break i}if(0===eE){to=null;break i}u[145]!==ti||u[146]!==eV||u[147]!==eU||u[148]!==eG||u[149]!==ec||u[150]!==Z||u[151]!==U?(e=(0,W.jsx)(wg,{arrow:!1,constrainSize:!0,content:ti,fallbackPlacements:jM,matchReferenceWidth:!0,onMouseEnter:eU,onMouseLeave:eG,open:eV,overflow:"auto",placement:"bottom-start",portal:!0,radius:U,ref:el,referenceElement:ec,...Z}),u[145]=ti,u[146]=eV,u[147]=eU,u[148]=eG,u[149]=ec,u[150]=Z,u[151]=U,u[152]=e):e=u[152],to=e}let ts=to,ta=m&&jx,tl=_||e9,td;return u[153]!==eR||u[154]!==N||u[155]!==e0||u[156]!==c||u[157]!==h||u[158]!==eV||u[159]!==z||u[160]!==eX||u[161]!==eW||u[162]!==eF||u[163]!==p||u[164]!==g||u[165]!==te||u[166]!==ex||u[167]!==ek||u[168]!==M||u[169]!==U||u[170]!==L||u[171]!==V||u[172]!==ta||u[173]!==tl?(td=(0,W.jsx)(wV,{...V,"aria-activedescendant":eR,"aria-autocomplete":"list","aria-expanded":eV,"aria-owns":ex,autoCapitalize:"off",autoComplete:"off",autoCorrect:"off",border:N,clearButton:e0,customValidity:c,disabled:h,fontSize:z,icon:p,iconRight:ta,id:g,inputMode:"search",onChange:eW,onClear:eX,onFocus:eF,padding:ek,prefix:M,radius:U,readOnly:L,ref:ep,role:"combobox",spellCheck:!1,suffix:tl,value:te}),u[153]=eR,u[154]=N,u[155]=e0,u[156]=c,u[157]=h,u[158]=eV,u[159]=z,u[160]=eX,u[161]=eW,u[162]=eF,u[163]=p,u[164]=g,u[165]=te,u[166]=ex,u[167]=ek,u[168]=M,u[169]=U,u[170]=L,u[171]=V,u[172]=ta,u[173]=tl,u[174]=td):td=u[174],u[175]!==eH||u[176]!==eA||u[177]!==eO||u[178]!==ts||u[179]!==td?(d=(0,W.jsxs)(jy,{"data-ui":"Autocomplete",onBlur:eH,onFocus:eA,onKeyDown:eO,ref:ea,children:[td,ts]}),u[175]=eH,u[176]=eA,u[177]=eO,u[178]=ts,u[179]=td,u[180]=d):d=u[180],d}).displayName="ForwardRef(Autocomplete)";let j_=l7.ol.withConfig({displayName:"StyledBreadcrumbs",componentId:"sc-b0flr4-0"})`margin:0;padding:0;display:flex;list-style:none;align-items:center;white-space:nowrap;line-height:0;`,jH=l7(yx).withConfig({displayName:"ExpandButton",componentId:"sc-b0flr4-1"})`appearance:none;margin:-4px;`;(0,np.forwardRef)(function(e,t){let n,r,i=(0,rw.c)(30),o,s,a,l,d,u;i[0]===e?(o=i[1],s=i[2],a=i[3],l=i[4],d=i[5],u=i[6]):({children:o,gap:s,maxLength:a,separator:d,space:u,...l}=e,i[0]=e,i[1]=o,i[2]=s,i[3]=a,i[4]=l,i[5]=d,i[6]=u);let c=void 0===s?void 0===u?2:u:s,h;i[7]===c?h=i[8]:(h=vl(c),i[7]=c,i[8]=h);let f=h,[p,g]=(0,np.useState)(!1),m=(0,np.useRef)(null),v=(0,np.useRef)(null),y;i[9]===Symbol.for("react.memo_cache_sentinel")?(y=()=>g(!1),i[9]=y):y=i[9];let w=y,b;i[10]===Symbol.for("react.memo_cache_sentinel")?(b=()=>g(!0),i[10]=b):b=i[10];let x=b,C;i[11]===Symbol.for("react.memo_cache_sentinel")?(C=()=>[m.current,v.current],i[11]=C):C=i[11],yj(w,C),i[12]===o?n=i[13]:(n=np.Children.toArray(o).filter(np.isValidElement),i[12]=o,i[13]=n);let k=n,j;i[14]!==a||i[15]!==p||i[16]!==k||i[17]!==f?(j={collapse:w,expand:x,expandElementRef:m,maxLength:a,open:p,popoverElementRef:v,rawItems:k,space:f},i[14]=a,i[15]=p,i[16]=k,i[17]=f,i[18]=j):j=i[18];let M=function(e){let t=(0,rw.c)(28),{collapse:n,expand:r,expandElementRef:i,maxLength:o,open:s,popoverElementRef:a,rawItems:l,space:d}=e,u=l.length;if(o&&u>o){let e=Math.ceil(o/2),c=Math.floor(o/2),h;if(t[0]!==c||t[1]!==e||t[2]!==n||t[3]!==r||t[4]!==i||t[5]!==u||t[6]!==s||t[7]!==a||t[8]!==l||t[9]!==d){let o,f,p=l.slice(0,e-1),g;t[11]!==c||t[12]!==e||t[13]!==u||t[14]!==l?(g=l.slice(e-1,u-c),t[11]=c,t[12]=e,t[13]=u,t[14]=l,t[15]=g):g=t[15],t[16]!==d||t[17]!==g?(o=(0,W.jsx)(wy,{as:"ol",overflow:"auto",padding:d,gap:d,children:g}),t[16]=d,t[17]=g,t[18]=o):o=t[18];let m=s?n:r,v;t[19]!==i||t[20]!==s||t[21]!==m?(v=(0,W.jsx)(jH,{fontSize:1,mode:"bleed",onClick:m,padding:1,ref:i,selected:s,text:"…"}),t[19]=i,t[20]=s,t[21]=m,t[22]=v):v=t[22],t[23]!==s||t[24]!==a||t[25]!==o||t[26]!==v?(f=(0,W.jsx)(wg,{constrainSize:!0,content:o,open:s,placement:"top",portal:!0,ref:a,children:v},"button"),t[23]=s,t[24]=a,t[25]=o,t[26]=v,t[27]=f):f=t[27],h=[...p,f,...l.slice(u-c)],t[0]=c,t[1]=e,t[2]=n,t[3]=r,t[4]=i,t[5]=u,t[6]=s,t[7]=a,t[8]=l,t[9]=d,t[10]=h}else h=t[10];return h}return l}(j),L;if(i[19]!==M||i[20]!==d||i[21]!==f){let e;i[23]!==d||i[24]!==f?(e=(e,t)=>(0,W.jsxs)(np.Fragment,{children:[t>0&&(0,W.jsx)(yd,{"aria-hidden":!0,as:"li",paddingX:f,children:d||(0,W.jsx)(yc,{muted:!0,children:"/"})}),(0,W.jsx)(yd,{as:"li",children:e})]}
26,t),i[23]=d,i[24]=f,i[25]=e):e=i[25],L=M.map(e),i[19]=M,i[20]=d,i[21]=f,i[22]=L}else L=i[22];return i[26]!==t||i[27]!==l||i[28]!==L?(r=(0,W.jsx)(j_,{"data-ui":"Breadcrumbs",...l,ref:t,children:L}),i[26]=t,i[27]=l,i[28]=L,i[29]=r):r=i[29],r}).displayName="ForwardRef(Breadcrumbs)";let j$=vf("@sanity/ui/context/dialog",{version:0});function jA(e,t,n){return!e||!t||vo(e,n)||vo(t,n)}let jT=l7(y9).withConfig({displayName:"StyledDialog",componentId:"sc-7l6kmb-0"})(yi,function({theme:e}){let{color:t}=n_(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}=n_(e.theme);return va(t,e.$position,e=>({"&&":{position:e}}))},function(e){return e.$animate?l9`@keyframes zoomIn{from{opacity:0;transform:scale(0.95);}to{opacity:1;transform:scale(1);}}@keyframes fadeIn{from{opacity:0;}to{opacity:1;}}animation:fadeIn 200ms ease-out;& > [data-ui='DialogCard']{animation:zoomIn 200ms ease-out;}`:l9``}),jI=l7(k4).withConfig({displayName:"DialogContainer",componentId:"sc-7l6kmb-1"})`&:not([hidden]){display:flex;}width:100%;height:100%;flex-direction:column;align-items:center;justify-content:center;
26`,jP=l7(yk).withConfig({displayName:"DialogCardRoot",componentId:"sc-7l6kmb-2"})`&:not([hidden]){display:flex;}width:100%;min-height:0;max-height:100%;overflow:hidden;overflow:clip;`,jO=l7(yf).withConfig({displayName:"DialogLayout",componentId:"sc-7l6kmb-3"})`flex:1;min-height:0;width:100%;`,jB=l7(yd).withConfig({displayName:"DialogHeader",componentId:"sc-7l6kmb-4"})`position:relative;z-index:2;`,jW=l7(yd).withConfig({displayName:"DialogContent",componentId:"sc-7l6kmb-5"})`position:relative;z-index:1;overflow:auto;outline:none;`,jN=l7(yd).withConfig({displayName:"DialogFooter",componentId:"sc-7l6kmb-6"})`position:relative;z-index:3;`,jz=(0,np.forwardRef)(function(e,t){let n,r,i,o,s,a,l,d,u,c,h,f,p=(0,rw.c)(44),{__unstable_autoFocus:g,__unstable_hideCloseButton:m,children:v,contentRef:y,footer:w,header:b,id:x,onClickOutside:C,onClose:k,portal:j,radius:M,scheme:L,shadow:S,width:E}=e,R=wn(),V=j?R.elements?.[j]||null:R.element,_=yQ().element,H;p[0]===M?H=p[1]:(H=vl(M),p[0]=M,p[1]=H);let $=H,A;p[2]===S?A=p[3]:(A=vl(S),p[2]=S,p[3]=A);let T=A,I;p[4]===E?I=p[5]:(I=vl(E),p[4]=E,p[5]=I);let P=I,O=(0,np.useRef)(null),B=(0,np.useRef)(null),{isTopLayer:N}=y6(),z=`${x}_label`,D=!!k&&!1===m,F=!!b||D,Z;return p[6]===Symbol.for("react.memo_cache_sentinel")?(Z=()=>O.current,p[6]=Z):Z=p[6],(0,np.useImperativeHandle)(t,Z),p[7]===Symbol.for("react.memo_cache_sentinel")?(n=()=>B.current,p[7]=n):n=p[7],(0,np.useImperativeHandle)(y,n),p[8]===g?(r=p[9],i=p[10]):(r=()=>{g&&O.current&&kI(O.current)},i=[g,O],p[8]=g,p[9]=r,p[10]=i),(0,np.useEffect)(r,i),p[11]!==_||p[12]!==N||p[13]!==k||p[14]!==V?(o=e=>{if(!N||!k)return;let t=document.activeElement;t&&!jA(_,V,t)||"Escape"===e.key&&(e.preventDefault(),e.stopPropagation(),k())},p[11]=_,p[12]=N,p[13]=k,p[14]=V,p[15]=o):o=p[15],yR(o),p[16]!==_||p[17]!==N||p[18]!==C||p[19]!==V?(s=N&&C&&(e=>{let t=e.target;t&&!jA(_,V,t)||C()}),p[16]=_,p[17]=N,p[18]=C,p[19]=V,p[20]=s):s=p[20],p[21]===Symbol.for("react.memo_cache_sentinel")?(a=()=>[O.current],p[21]=a):a=p[21],yj(s,a),p[22]!==b||p[23]!==z||p[24]!==k||p[25]!==D||p[26]!==F?(l=F&&(0,W.jsx)(jB,{children:(0,W.jsxs)(yf,{align:"flex-start",padding:3,children:[(0,W.jsx)(yd,{flex:1,padding:2,children:b&&(0,W.jsx)(yc,{id:z,size:1,weight:"semibold",children:b})}),D&&(0,W.jsx)(yd,{flex:"none",children:(0,W.jsx)(yx,{"aria-label":"Close dialog",disabled:!k,icon:ir,mode:"bleed",onClick:k,padding:2})})]})}),p[22]=b,p[23]=z,p[24]=k,p[25]=D,p[26]=F,p[27]=l):l=p[27],p[28]===v?d=p[29]:(d=(0,W.jsx)(jW,{flex:1,ref:B,tabIndex:-1,children:v}),p[28]=v,p[29]=d),p[30]===w?u=p[31]:(u=w&&(0,W.jsx)(jN,{children:w}),p[30]=w,p[31]=u),p[32]!==l||p[33]!==d||p[34]!==u?(c=(0,W.jsxs)(jO,{direction:"column",children:[l,d,u]}),p[32]=l,p[33]=d,p[34]=u,p[35]=c):c=p[35],p[36]!==$||p[37]!==L||p[38]!==T||p[39]!==c?(h=(0,W.jsx)(jP,{radius:$,ref:O,scheme:L,shadow:T,children:c}
26),p[36]=$,p[37]=L,p[38]=T,p[39]=c,p[40]=h):h=p[40],p[41]!==h||p[42]!==P?(f=(0,W.jsx)(jI,{"data-ui":"DialogCard",width:P,children:h}),p[41]=h,p[42]=P,p[43]=f):f=p[43],f});jz.displayName="ForwardRef(DialogCard)",(0,np.forwardRef)(function(e,t){let n,r,i,o,s=(0,rw.c)(70),a=(0,np.useContext)(j$),{layer:l}=vy(),d,u,c,h,f,p,g,m,v,y,w,b,x,C,k,j,M,L,S,E,R;s[0]===e?(d=s[1],u=s[2],c=s[3],h=s[4],f=s[5],p=s[6],g=s[7],m=s[8],v=s[9],y=s[10],w=s[11],b=s[12],x=s[13],C=s[14],k=s[15],j=s[16],M=s[17],L=s[18],S=s[19],E=s[20],R=s[21]):({__unstable_autoFocus:k,__unstable_hideCloseButton:j,cardRadius:M,cardShadow:L,children:c,contentRef:h,footer:f,header:p,id:g,onActivate:m,onClickOutside:v,onClose:y,onFocus:w,padding:S,portal:b,position:d,scheme:C,width:E,zOffset:u,animate:R,...x}=e,s[0]=e,s[1]=d,s[2]=u,s[3]=c,s[4]=h,s[5]=f,s[6]=p,s[7]=g,s[8]=m,s[9]=v,s[10]=y,s[11]=w,s[12]=b,s[13]=x,s[14]=C,s[15]=k,s[16]=j,s[17]=M,s[18]=L,s[19]=S,s[20]=E,s[21]=R);let V=void 0===k||k,_=void 0!==j&&j,H=void 0===M?4:M,$=void 0===L?3:L,A=void 0===S?3:S,T=void 0===E?0:E,I=void 0!==R&&R,P=d??(a.position||"fixed"),O=u??(a.zOffset||l.dialog.zOffset),B=!yA()&&I,N=wn(),z=b?N.elements?.[b]||null:N.element,D=yQ().element,F;s[22]===H?F=s[23]:(F=vl(H),s[22]=H,s[23]=F);let Z=F,U;s[24]===A?U=s[25]:(U=vl(A),s[24]=A,s[25]=U);let q=U,G;s[26]===P?G=s[27]:(G=vl(P),s[26]=P,s[27]=G);let Y=G,X;s[28]===T?X=s[29]:(X=vl(T),s[28]=T,s[29]=X);let K=X,J;s[30]===O?J=s[31]:(J=vl(O),s[30]=O,s[31]=J);let Q=J,ee=(0,np.useRef)(null),et=(0,np.useRef)(null),en=(0,np.useRef)(null),er=(0,np.useRef)(null),ei;s[32]===w?ei=s[33]:(ei=e=>{w?.(e);let t=e.target,n=en.current;n&&t===ee.current?function e(t){for(let n=t.childNodes.length-1;n>=0;n--){let r=t.childNodes[n];if(vn(r)&&(kT(r)||e(r)))return!0}return!1}(n):n&&t===et.current?kI(n):vn(e.target)&&(er.current=e.target)},s[32]=w,s[33]=ei);let eo=ei,es=`${g}_label`,ea=(0,np.useRef)(void 0),el;s[34]!==D||s[35]!==z?(el=()=>{ea.current&&clearTimeout(ea.current),ea.current=setTimeout(()=>{let e=document.activeElement;if(e&&!jA(D,z,e)){let e=er.current;if(!e||!document.body.contains(e)){let e=en.current;e&&kI(e);return}
26e.focus()}},0)},s[34]=D,s[35]=z,s[36]=el):el=s[36];let ed=el,eu;return s[37]===Symbol.for("react.memo_cache_sentinel")?(eu=(0,W.jsx)("div",{ref:ee,tabIndex:0}),s[37]=eu):eu=s[37],s[38]!==V||s[39]!==Z||s[40]!==$||s[41]!==c||s[42]!==h||s[43]!==f||s[44]!==p||s[45]!==_||s[46]!==g||s[47]!==v||s[48]!==y||s[49]!==b||s[50]!==C||s[51]!==K?(n=(0,W.jsx)(jz,{__unstable_autoFocus:V,__unstable_hideCloseButton:_,contentRef:h,footer:f,header:p,id:g,onClickOutside:v,onClose:y,portal:b,radius:Z,ref:en,scheme:C,shadow:$,width:K,children:c}),s[38]=V,s[39]=Z,s[40]=$,s[41]=c,s[42]=h,s[43]=f,s[44]=p,s[45]=_,s[46]=g,s[47]=v,s[48]=y,s[49]=b,s[50]=C,s[51]=K,s[52]=n):n=s[52],s[53]===Symbol.for("react.memo_cache_sentinel")?(r=(0,W.jsx)("div",{ref:et,tabIndex:0}),s[53]=r):r=s[53],s[54]!==B||s[55]!==eo||s[56]!==ed||s[57]!==g||s[58]!==es||s[59]!==m||s[60]!==q||s[61]!==Y||s[62]!==t||s[63]!==x||s[64]!==n||s[65]!==Q?(i=(0,W.jsxs)(jT,{...x,$animate:B,$padding:q,$position:Y,"aria-labelledby":es,"aria-modal":!0,"data-ui":"Dialog",id:g,onActivate:m,onClick:ed,onFocus:eo,ref:t,role:"dialog",zOffset:Q,children:[eu,n,r]}),s[54]=B,s[55]=eo,s[56]=ed,s[57]=g,s[58]=es,s[59]=m,s[60]=q,s[61]=Y,s[62]=t,s[63]=x,s[64]=n,s[65]=Q,s[66]=i):i=s[66],s[67]!==b||s[68]!==i?(o=(0,W.jsx)(wr,{__unstable_name:b,children:i}),s[67]=b,s[68]=i,s[69]=o):o=s[69],o}).displayName="ForwardRef(Dialog)";let jD=(0,np.forwardRef)(function(e,t){let n,r,i,o,s,a,l,d,u=(0,rw.c)(62),{__unstable_disableRestoreFocusOnClose:c,boundaryElement:h,button:f,id:p,menu:g,onClose:m,onOpen:v,placement:y,popoverScheme:w,portal:b,popover:x,popoverRadius:C,preventOverflow:k}=e,j=void 0!==c&&c,M=void 0===b||b,[L,S]=(0,np.useState)(!1),[E,R]=(0,np.useState)(null),[V,_]=(0,np.useState)(null),H;u[0]===Symbol.for("react.memo_cache_sentinel")?(H=[],u[0]=H):H=u[0];let[$,A]=(0,np.useState)(H),T=(0,np.useRef)(L),I,P;u[1]!==v||u[2]!==L?(I=()=>{v&&L&&!T.current&&v()},P=[v,L],u[1]=v,u[2]=L,u[3]=I,u[4]=P):(I=u[3],P=u[4]),(0,np.useEffect)(I,P),u[5]!==m||u[6]!==L?(n=()=>{m&&!L&&T.current&&m()},r=[m,L],u[5]=m,u[6]=L,u[7]=n,u[8]=r):(n=u[7],r=u[8]),(0,np.useEffect)(n,r),u[9]===L?(i=u[10],o=u[11]):(i=()=>{T.current=L},o=[L],u[9]=L,u[10]=i,u[11]=o),(0,np.useEffect)(i,o),u[12]===Symbol.for("react.memo_cache_sentinel")?(s=()=>{S(jF),R(null)},u[12]=s):s=u[12];let O=s,B;u[13]===L?B=u[14]:(B=e=>{L&&e.preventDefault()},u[13]=L,u[14]=B);let N=B,z;u[15]===Symbol.for("react.memo_cache_sentinel")?(z=e=>{if("ArrowDown"===e.key||"Enter"===e.key||" "===e.key){e.preventDefault(),S(!0),R("first");return}if("ArrowUp"===e.key){e.preventDefault(),S(!0),R("last");return}},u[15]=z):z=u[15];let D=z,F;u[16]!==V||u[17]!==$?(F=e=>{let t=e.target;if(t instanceof Node&&!(V&&(t===V||V.contains(t)))){for(let e of $)if(t===e||e.contains(t))return;S(!1)}},u[16]=V,u[17]=$,u[18]=F):F=u[18];let Z=F,U;u[19]!==V||u[20]!==j?(U=()=>{S(!1),!j&&V&&V.focus()},u[19]=V,u[20]=j,u[21]=U):U=u[21];let q=U,G;u[22]===$?G=u[23]:(G=e=>{let t=e.relatedTarget;if(t instanceof Node){for(let e of $)if(e===t||e.contains(t))return;S(!1)}},u[22]=$,u[23]=G);let Y=G,X;u[24]!==V||u[25]!==j?(X=()=>{S(!1),!j&&V&&V.focus()},u[24]=V,u[25]=j,u[26]=X):X=u[26];let K=X,J;u[27]===Symbol.for("react.memo_cache_sentinel")?(J=e=>(A(t=>t.concat([e])),()=>A(t=>t.filter(t=>t!==e))),u[27]=J):J=u[27];let Q=J,ee;u[28]!==V||u[29]!==Y||u[30]!==K||u[31]!==Z||u[32]!==q||u[33]!==p||u[34]!==g||u[35]!==E?(ee=g&&(0,np.cloneElement)(g,{"aria-labelledby":p,onBlurCapture:Y,onClickOutside:Z,onEscape:q,onItemClick:K,originElement:V,registerElement:Q,shouldFocus:E}),u[28]=V,u[29]=Y,u[30]=K,u[31]=Z,u[32]=q,u[33]=p,u[34]=g,u[35]=E,u[36]=ee):ee=u[36];let et=ee,en;u[37]!==f||u[38]!==N||u[39]!==p||u[40]!==L?(en=f&&(0,np.cloneElement)(f,{"data-ui":"MenuButton",id:p,onClick:O,onKeyDown:D,onMouseDown:N,"aria-haspopup":!0,"aria-expanded":L,ref:_,selected:f.props.selected??L}),u[37]=f,u[38]=N,u[39]=p,u[40]=L,u[41]=en):en=u[41];let er=en,ei,eo;u[42]===V?(ei=u[43],eo=u[44]):(ei=()=>V,eo=[V],u[42]=V,u[43]=ei,u[44]=eo),(0,np.useImperativeHandle)(t,ei,eo),u[45]===x?a=u[46]:(a=x||{},u[45]=x,u[46]=a),u[47]!==h||u[48]!==y||u[49]!==C||u[50]!==w||u[51]!==M||u[52]!==k||u[53]!==a?(l={boun
26daryElement:h,overflow:"auto",placement:y,portal:M,preventOverflow:k,radius:C,scheme:w,...a},u[47]=h,u[48]=y,u[49]=C,u[50]=w,u[51]=M,u[52]=k,u[53]=a,u[54]=l):l=u[54];let es=l,ea;return u[55]===er?ea=u[56]:(ea=er||(0,W.jsx)(W.Fragment,{}),u[55]=er,u[56]=ea),u[57]!==et||u[58]!==L||u[59]!==es||u[60]!==ea?(d=(0,W.jsx)(wg,{"data-ui":"MenuButton__popover",...es,content:et,open:L,children:ea}),u[57]=et,u[58]=L,u[59]=es,u[60]=ea,u[61]=d):d=u[61],d});function jF(e){return!e}jD.displayName="ForwardRef(MenuButton)";let jZ=l9`background-image:linear-gradient( to right,var(--card-skeleton-color-from),var(--card-skeleton-color-to),var(--card-skeleton-color-from),var(--card-skeleton-color-from),var(--card-skeleton-color-from) );background-position:100%;background-size:200% 100%;background-attachment:fixed;animation-name:${dt`0%{background-position:100%;}100%{background-position:-100%;}`};animation-timing-function:ease-in-out;animation-iteration-count:infinite;animation-duration:2000ms;`,jU=l9`opacity:${({$visible:e})=>+!!e};transition:opacity 200ms ease-in;@media screen and (prefers-reduced-motion:no-preference){${({$animated:e})=>e?jZ:l9`background-color:var(--card-skeleton-color-from);`}}@media screen and (prefers-reduced-motion:reduce){background-color:var(--card-skeleton-color-from);}`,jq=l7(yd).withConfig({displayName:"StyledSkeleton",componentId:"sc-zuj2vq-0"})(yo,jU),jG=(0,np.forwardRef)(function(e,t){let n,r=(0,rw.c)(16),i,o,s,a;r[0]===e?(i=r[1],o=r[2],s=r[3],a=r[4]):({animated:a,delay:i,radius:o,...s}=e,r[0]=e,r[1]=i,r[2]=o,r[3]=s,r[4]=a);let l=void 0!==a&&a,[d,u]=(0,np.useState)(!i),c,h;r[5]===i?(c=r[6],h=r[7]):(c=()=>{if(!i)return;let e=setTimeout(()=>{u(!0)},i);return()=>{clearTimeout(e)}},h=[i],r[5]=i,r[6]=c,r[7]=h),(0,np.useEffect)(c,h),r[8]===o?n=r[9]:(n=vl(o),r[8]=o,r[9]=n);let f=!i||d,p;return r[10]!==l||r[11]!==t||r[12]!==s||r[13]!==n||r[14]!==f?(p=(0,W.jsx)(jq,{...s,$animated:l,$radius:n,$visible:f,ref:t}),r[10]=l,r[11]=t,r[12]=s,r[13]=n,r[14]=f,r[15]=p):p=r[15],p});jG.displayName="ForwardRef(Skeleton)";let jY=l7(jG).withConfig({displayName:"StyledSkeleton",componentId:"sc-9op362-0"})(e=>{let{$size:t,$style:n}=e,{font:r,media:i}=n_(e.theme),o=r[n];return va(i,t,e=>{let t=o.sizes[e];return{height:t.lineHeight-t.ascenderHeight-t.descenderHeight}})});(0,np.forwardRef)(function(e,t){let n=(0,rw.c)(9),r,i;n[0]===e?(r=n[1],i=n[2]):({size:i,...r}=e,n[0]=e,n[1]=r,n[2]=i);let o=void 0===i?2:i,s;n[3]===o?s=n[4]:(s=vl(o),n[3]=o,n[4]=s);let a=s,l;return n[5]!==a||n[6]!==t||n[7]!==r?(l=(0,W.jsx)(jY,{...r,$size:a,ref:t,$style:"text"}),n[5]=a,n[6]=t,n[7]=r,n[8]=l):l=n[8],l}).displayName="ForwardRef(TextSkeleton)",(0,np.forwardRef)(function(e,t){let n=(0,rw.c)(9),r,i;n[0]===e?(r=n[1],i=n[2]):({size:i,...r}=e,n[0]=e,n[1]=r,n[2]=i);let o=void 0===i?2:i,s;n[3]===o?s=n[4]:(s=vl(o),n[3]=o,n[4]=s);let a=s,l;return n[5]!==a||n[6]!==t||n[7]!==r?(l=(0,W.jsx)(jY,{...r,$size:a,ref:t,$style:"label"}),n[5]=a,n[6]=t,n[7]=r,n[8]=l):l=n[8],l}).displayName="ForwardRef(LabelSkeleton)",(0,np.forwardRef)(function(e,t){let n=(0,rw.c)(9),r,i;n[0]===e?(r=n[1],i=n[2]):({size:i,...r}=e,n[0]=e,n[1]=r,n[2]=i);let o=void 0===i?2:i,s;n[3]===o?s=n[4]:(s=vl(o),n[3]=o,n[4]=s);let a=s,l;return n[5]!==a||n[6]!==t||n[7]!==r?(l=(0,W.jsx)(jY,{...r,$size:a,ref:t,$style:"heading"}),n[5]=a,n[6]=t,n[7]=r,n[8]=l):l=n[8],l}).displayName="ForwardRef(HeadingSkeleton)",(0,np.forwardRef)(function(e,t){let n=(0,rw.c)(9),r,i;n[0]===e?(r=n[1],i=n[2]):({size:i,...r}=e,n[0]=e,n[1]=r,n[2]=i);let o=void 0===i?2:i,s;n[3]===o?s=n[4]:(s=vl(o),n[3]=o,n[4]=s);let a=s,l;return n[5]!==a||n[6]!==t||n[7]!==r?(l=(0,W.jsx)(jY,{...r,$size:a,ref:t,$style:"code"}),n[5]=a,n[6]=t,n[7]=r,n[8]=l):l=n[8],l}).displayName="ForwardRef(CodeSkeleton)",(0,np.forwardRef)(function(e,t){let n=(0,rw.c)(9),r,i;n[0]===e?(r=n[1],i=n[2]):({flex:r,...i}=e,n[0]=e,n[1]=r,n[2]=i);let o=void 0===e.tabIndex?0:e.tabIndex,s;return n[3]!==r||n[4]!==e.children||n[5]!==t||n[6]!==i||n[7]!==o?(s=(0,W.jsx)(yd,{"data-ui":"TabPanel",...i,flex:r,ref:t,role:"tabpanel",tabIndex:o,children:e.children}),n[3]=r,n[4]=e.children,n[5]=t,n[6]=i,n[7]=o,n[8]=s):s=n[8],s}).displayName="ForwardRef(TabPanel)";
26let jX={error:"critical",warning:"caution",success:"positive",info:"neutral"},jK={error:"critical",warning:"caution",success:"positive",info:"neutral"},jJ=l7(yf).withConfig({displayName:"TextBox",componentId:"sc-wezd9c-0"})`overflow-x:auto;`,jQ=l7(yk).withConfig({displayName:"StyledToast",componentId:"sc-wezd9c-1"})`pointer-events:all;width:100%;position:relative;overflow:hidden;overflow:clip;&[data-has-duration]{padding-bottom:calc(${2}px / 2);}`,j1=l7.div.withConfig({displayName:"LoadingBar",componentId:"sc-wezd9c-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;`,j0=l7(yk).withConfig({displayName:"LoadingBarMask",componentId:"sc-wezd9c-3"})`position:absolute;top:0;left:-${2}px;right:-${2}px;bottom:${2}px;z-index:1;`,j5=l7(yk).withConfig({displayName:"LoadingBarProgress",componentId:"sc-wezd9c-4"})`display:block;height:100%;width:100%;transform-origin:0% 50%;background-color:${e=>{let{color:t}=n_(e.theme);return t.button.default[e.tone].enabled.bg}};`,j2={error:"alert",warning:"alert",success:"alert",info:"alert"};function j3(e){let t,n,r,i,o,s,a=(0,rw.c)(50),l,d,u,c,h,f,p,g,m;a[0]===e?(l=a[1],d=a[2],u=a[3],c=a[4],h=a[5],f=a[6],p=a[7],g=a[8],m=a[9]):({closable:l,description:d,duration:u,onClose:c,radius:p,title:g,status:f,updatedAt:m,...h}=e,a[0]=e,a[1]=l,a[2]=d,a[3]=u,a[4]=c,a[5]=h,a[6]=f,a[7]=p,a[8]=g,a[9]=m);let v=void 0===p?3:p,y=f?jX[f]:"default",w=f?jK[f]:"default",b=f?j2[f]:"status",x=.26*!yA(),C;a[10]===x?C=a[11]:(C=x?{type:"spring",visualDuration:x,bounce:.25}:{duration:0},a[10]=x,a[11]=C);let k=C,j=u&&isFinite(u)&&u<20736e5,M;a[12]===Symbol.for("react.memo_cache_sentinel")?(M=["hidden","initial"],a[12]=M):M=a[12];let L=M,S;a[13]===Symbol.for("react.memo_cache_sentinel")?(S=["visible","slideIn"],a[13]=S):S=a[13];let E=S,R;a[14]===Symbol.for("react.memo_cache_sentinel")?(R=["hidden","slideOut"],a[14]=R):R=a[14];let V=R,_=j?"":void 0,H;return a[15]===g?H=a[16]:(H=g&&(0,W.jsx)(yc,{size:1,weight:"medium",children:g}),a[15]=g,a[16]=H),a[17]!==d||a[18]!==k?(t=d&&(0,W.jsx)(j7,{muted:!0,size:1,variants:j4,transition:k,children:d}),a[17]=d,a[18]=k,a[19]=t):t=a[19],a[20]!==H||a[21]!==t?(n=(0,W.jsx)(jJ,{flex:1,padding:3,children:(0,W.jsxs)(wy,{space:3,children:[H,t]})}),a[20]=H,a[21]=t,a[22]=n):n=a[22],a[23]!==w||a[24]!==l||a[25]!==c?(r=l&&(0,W.jsx)(yd,{padding:1,children:(0,W.jsx)(yx,{as:"button",icon:ir,mode:"bleed",padding:2,tone:w,onClick:c,style:{verticalAlign:"top"}})}),a[23]=w,a[24]=l,a[25]=c,a[26]=r):r=a[26],a[27]!==n||a[28]!==r||a[29]!==k?(i=(0,W.jsxs)(j9,{align:"flex-start",variants:j4,transition:k,children:[n,r]}),a[27]=n,a[28]=r,a[29]=k,a[30]=i):i=a[30],a[31]!==y||a[32]!==u||a[33]!==j||a[34]!==c||a[35]!==v||a[36]!==k||a[37]!==m||a[38]!==x?(o=j&&(0,W.jsxs)(Me,{variants:j4,transition:k,children:[(0,W.jsx)(j0,{tone:y,radius:v}),(0,W.jsx)(Mt,{tone:y,initial:{scaleX:0},animate:{scaleX:1},transition:{delay:x,duration:u/1e3,ease:"linear"},onAnimationComplete:c},`progress-${m}`)]}),a[31]=y,a[32]=u,a[33]=j,a[34]=c,a[35]=v,a[36]=k,a[37]=m,a[38]=x,a[39]=o):o=a[39],a[40]!==y||a[41]!==v||a[42]!==h||a[43]!==b||a[44]!==i||a[45]!==o||a[46]!==_||a[47]!==k||a[48]!==x?(s=(0,W.jsxs)(j8,{"data-ui":"Toast",role:b,...h,"data-has-duration":_,custom:x,radius:v,shadow:2,tone:y,forwardedAs:"li",layout:"position",variants:j6,initial:L,animate:E,exit:V,transition:k,children:[i,o]}),a[40]=y,a[41]=v,a[42]=h,a[43]=b,a[44]=i,a[45]=o,a[46]=_,a[47]=k,a[48]=x,a[49]=s):s=a[49],s}j3.displayName="Toast";let j6={initial:{y:32,scale:.5,zIndex:1},hidden:{opacity:0},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}},j4={initial:{willChange:"transform"},hidden:{opacity:0},visible:{opacity:1}},j8=m6.create(jQ),j9=m6.create(yf),j7=m6.create(yc),Me=m6.create(j1),Mt=m6.create(j5);vf("@sanity/ui/context/toast",null);l7(yI).withConfig({displayName:"StyledLayer",componentId:"sc-8z432x-0"})`box-sizing:border-box;position:fixed;right:0;bottom:0;list-style:none;pointer-events:none;max-width:420px;width:100%;`;function Mn(e){if("treeitem"===e.getAttribute("role")&&e.focus(),"none"===e.getAttribute("role")){let t=e.firstChild;t&&t instanceof HTMLElement&&t.focus()}}let Mr=vf("@sanity/ui/context/tree",null);(0,np.forwardRef)(function(e,t){let n,r,i,o,s,a,l,d,u=(0,rw.c)(38),c,h,f,p,g;u[0]===e?(c=u[1],h=u[2],f=u[3],p=u[4],g=u[5]):({children:c,gap:h,space:g,onF
26ocus:f,...p}=e,u[0]=e,u[1]=c,u[2]=h,u[3]=f,u[4]=p,u[5]=g);let m=void 0===h?void 0===g?1:g:h,v=(0,np.useRef)(null),[y,w]=(0,np.useState)(null),b=(0,np.useRef)(y),x;u[6]===Symbol.for("react.memo_cache_sentinel")?(x=[],u[6]=x):x=u[6];let C=x,k;u[7]===Symbol.for("react.memo_cache_sentinel")?(k=[],u[7]=k):k=u[7];let[j,M]=(0,np.useState)(k),L;u[8]===Symbol.for("react.memo_cache_sentinel")?(L={},u[8]=L):L=u[8];let[S,E]=(0,np.useState)(L),R=(0,np.useRef)(S),V;u[9]===Symbol.for("react.memo_cache_sentinel")?(V=()=>v.current,u[9]=V):V=u[9],(0,np.useImperativeHandle)(t,V),u[10]===y?(n=u[11],r=u[12]):(n=()=>{b.current=y},r=[y],u[10]=y,u[11]=n,u[12]=r),(0,np.useEffect)(n,r),u[13]===S?(i=u[14],o=u[15]):(i=()=>{R.current=S},o=[S],u[13]=S,u[14]=i,u[15]=o),(0,np.useEffect)(i,o),u[16]===Symbol.for("react.memo_cache_sentinel")?(s=(e,t,n,r)=>(E(r=>({...r,[t]:{element:e,expanded:n}})),r&&w(e),()=>{E(e=>{let n={...e};return delete n[t],n})}),u[16]=s):s=u[16];let _=s,H;u[17]===Symbol.for("react.memo_cache_sentinel")?(H=(e,t)=>{E(n=>{let r=n[e];return r?{...n,[e]:{...r,expanded:t}}:n})},u[17]=H):H=u[17];let $=H,A=y||j[0]||null,T;u[18]!==m||u[19]!==S||u[20]!==A?(T={version:0,focusedElement:A,level:0,path:C,registerItem:_,setExpanded:$,setFocusedElement:w,gap:m,space:m,state:S},u[18]=m,u[19]=S,u[20]=A,u[21]=T):T=u[21];let I=T,P;u[22]===j?P=u[23]:(P=e=>{if(b.current){if("ArrowDown"===e.key){e.preventDefault();let t=function(e,t,n){let r=t.indexOf(n),i=t.slice(r),o=t.length;for(let t=1;t<o;t+=1){if(!i[t])continue;let n=i[t].getAttribute("data-tree-key");if(!n)continue;let r=n.split("/");r.pop();let o=[],s=!0;for(let t=0;t<r.length;t+=1)if(o.push(r[t]),!e[o.join("/")]?.expanded){s=!1;break}if(s)return i[t]}return null}(R.current,j,b.current);t&&(Mn(t),w(t));return}if("ArrowUp"===e.key){e.preventDefault();let t=function(e,t,n){let r=t.indexOf(n),i=t.slice(0,r),o=i.length;for(let t=o-1;t>=0;--t){let n=i[t].getAttribute("data-tree-key");if(!n)continue;let r=n.split("/");r.pop();let o=[],s=!0;for(let t=0;t<r.length;t+=1)if(o.push(r[t]),!e[o.join("/")]?.expanded){s=!1;break}if(s)return i[t]}return null}(R.current,j,b.current);t&&(Mn(t),w(t));return}if("ArrowLeft"===e.key){e.preventDefault();let t=b.current.getAttribute("data-tree-key");if(!t)return;let n=R.current[t];if(!n)return;if(n.expanded)E(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&&R.current[n];r&&(r.element.focus(),w(r.element))}return}if("ArrowRight"===e.key){e.preventDefault();let t=b.current.getAttribute("data-tree-key");if(!t)return;R.current[t]?.expanded||E(e=>{let n=e[t];return n?{...e,[t]:{...n,expanded:!0}}:e});return}}},u[22]=j,u[23]=P);let O=P,B;u[24]===f?B=u[25]:(B=e=>{w(e.target),f?.(e)},u[24]=f,u[25]=B);let N=B,z;return u[26]===Symbol.for("react.memo_cache_sentinel")?(z=()=>{v.current&&M(Array.from(v.current.querySelectorAll('[data-ui="TreeItem"]')))},u[26]=z):z=u[26],u[27]===c?a=u[28]:(a=[c],u[27]=c,u[28]=a),(0,np.useEffect)(z,a),u[29]!==c||u[30]!==N||u[31]!==O||u[32]!==p||u[33]!==m?(l=(0,W.jsx)(wy,{as:"ul","data-ui":"Tree",...p,onFocus:N,onKeyDown:O,ref:v,role:"tree",gap:m,children:c}),u[29]=c,u[30]=N,u[31]=O,u[32]=p,u[33]=m,u[34]=l):l=u[34],u[35]!==I||u[36]!==l?(d=(0,W.jsx)(Mr.Provider,{value:I,children:l}),u[35]=I,u[36]=l,u[37]=d):d=u[37],d}).displayName="ForwardRef(Tree)";l7(yc).withConfig({displayName:"ToggleArrowText",componentId:"sc-v9loy0-2"})`& > svg{transition:transform 100ms;}`;let Mi=e=>"object"==typeof e&&null!=e&&1===e.nodeType,Mo=(e,t)=>(!t||"hidden"!==e)&&"visible"!==e&&"clip"!==e,Ms=(e,t)=>{if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){let n,r=getComputedStyle(e,null);return Mo(r.overflowY,t)||Mo(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},Ma=(e,t,n,r,i,o,s,a)=>o<e&&s>t||o>e&&s<t?0:o<=e&&a<=n||s>=t&&a>=n?o-e-r:s>t&&a<n||o<e&&a>n?s-t+i:0,Ml=e=>{let t=e.parentElement;return null==t?e.getRootNode().host||null:t},Md=(e,t)=>{var n,r,i,o;let s;if("u"<typeof document)return[];
26let{scrollMode:a,block:l,inline:d,boundary:u,skipOverflowHiddenElements:c}=t,h="function"==typeof u?u:e=>e!==u;if(!Mi(e))throw TypeError("Invalid target");let f=document.scrollingElement||document.documentElement,p=[],g=e;for(;Mi(g)&&h(g);){if((g=Ml(g))===f){p.push(g);break}null!=g&&g===document.body&&Ms(g)&&!Ms(document.documentElement)||null!=g&&Ms(g,c)&&p.push(g)}let m=null!=(r=null==(n=window.visualViewport)?void 0:n.width)?r:innerWidth,v=null!=(o=null==(i=window.visualViewport)?void 0:i.height)?o: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:E,left:R}={top:parseFloat((s=window.getComputedStyle(e)).scrollMarginTop)||0,right:parseFloat(s.scrollMarginRight)||0,bottom:parseFloat(s.scrollMarginBottom)||0,left:parseFloat(s.scrollMarginLeft)||0},V="start"===l||"nearest"===l?C-L:"end"===l?j+E:C+b/2-L+E,_="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:i,right:o,bottom:s,left:u}=t.getBoundingClientRect();if("if-needed"===a&&C>=0&&M>=0&&j<=v&&k<=m&&(t===f&&!Ms(t)||C>=i&&j<=s&&M>=u&&k<=o))break;let c=getComputedStyle(t),h=parseInt(c.borderLeftWidth,10),g=parseInt(c.borderTopWidth,10),L=parseInt(c.borderRightWidth,10),S=parseInt(c.borderBottomWidth,10),E=0,R=0,$="offsetWidth"in t?t.offsetWidth-t.clientWidth-h-L:0,A="offsetHeight"in t?t.offsetHeight-t.clientHeight-g-S:0,T="offsetWidth"in t?0===t.offsetWidth?0:r/t.offsetWidth:0,I="offsetHeight"in t?0===t.offsetHeight?0:n/t.offsetHeight:0;if(f===t)E="start"===l?V:"end"===l?V-v:"nearest"===l?Ma(w,w+v,v,g,S,w+V,w+V+b,b):V-v/2,R="start"===d?_:"center"===d?_-m/2:"end"===d?_-m:Ma(y,y+m,m,h,L,y+_,y+_+x,x),E=Math.max(0,E+w),R=Math.max(0,R+y);else{E="start"===l?V-i-g:"end"===l?V-s+S+A:"nearest"===l?Ma(i,s,n,g,S+A,V,V+b,b):V-(i+n/2)+A/2,R="start"===d?_-u-h:"center"===d?_-(u+r/2)+$/2:"end"===d?_-o+L+$:Ma(u,o,r,h,L+$,_,_+x,x);let{scrollLeft:e,scrollTop:a}=t;E=0===I?0:Math.max(0,Math.min(a+E/I,t.scrollHeight-n/I+A)),R=0===T?0:Math.max(0,Math.min(e+R/T,t.scrollWidth-r/T+$)),V+=a-E,_+=e-R}H.push({el:t,top:E,left:R})}return H};function Mu(e){return(0,W.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,children:[(0,W.jsx)("path",{d:"M14 6.5H18.5V11M11 18.5H6.5V14",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,W.jsx)("path",{d:"M18.5 6.5L14 11M6.5 18.5L11 14",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}var Mc=e.i(59454),Mh=e.i(91413),Mf=e.i(78480),Mp=e.i(78379);function Mg(e){let[t,n]=e;return[t,n]}function Mm(e,t){let n=e,r=t,i=n.length,o=r.length;if(0===i||0===o)return 0;i>o?n=n.substring(i-o):i<o&&(r=r.substring(0,i));let s=Math.min(i,o);if(n===r)return s;let a=0,l=1;for(let e=0;-1!==e;){let t=n.substring(s-l);if(-1===(e=r.indexOf(t)))break;l+=e,(0===e||n.substring(s-l)===r.substring(0,l))&&(a=l,l++)}return a}function Mv(e,t){if(!e||!t||e[0]!==t[0])return 0;let n=0,r=Math.min(e.length,t.length),i=r,o=0;for(;n<i;)e.substring(o,i)===t.substring(o,i)?o=n=i:r=i,i=Math.floor((r-n)/2+n);return i}function My(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),i=r,o=0;for(;n<i;)e.substring(e.length-i,e.length-o)===t.substring(t.length-i,t.length-o)?o=n=i:r=i,i=Math.floor((r-n)/2+n);return i}function Mw(e){let t=e.charCodeAt(0);return t>=56320&&t<=57343}function Mb(e,t,n,r,i){let o=e.substring(0,n),s=t.substring(0,r),a=e.substring(n),l=t.substring(r),d=ME(o,s,{checkLines:!1,deadline:i}),u=ME(a,l,{checkLines:!1,deadline:i});return d.concat(u)}function Mx(e,t,n){let r=e.slice(n,n+Math.floor(e.length/4)),i=-1,o="",s,a,l,d;for(;-1!==(i=t.indexOf(r,i+1));){let r=Mv(e.slice(n),t.slice(i)),u=My(e.slice(0,n),t.slice(0,i));o.length<u+r&&(o=t.slice(i-u,i)+t.slice(i,i+r),s=e.slice(0,n-u),a=e.slice(n+r),l=t.slice(0,i-u),d=t.slice(i+r))}return 2*o.length>=e.length?[s||"",a||"",l||"",d||"",o||""]:null}var MC=Object.defineProperty,Mk=Object.getOwnPropertySymbols,Mj=Object.prototype.hasOwnProperty,MM=Object.prototype.propertyIsEnumerable,ML=(e,t,n)=>t in e?MC(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;function MS(e,t,n){if(null===e||null===t)throw Error("Null input. (diff)");let r=ME(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)},i=e;for(var o in i||(i={}))Mj.call(i,o)&&ML(r,o,i[o]);if(Mk)for(var o of Mk(i))MM.call(i,o)&&ML(r,o,i[o]);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 i=r[0];(function(e){let t=e.charCodeAt(0);return t>=55296&&t<=56319})(r[r.length-1])&&0===n&&M_(e,t,1),Mw(i)&&0===n&&M_(e,t,-1)}for(let t=0;t<e.length;t++)0===e[t][1].length&&e.splice(t,1)}(r),r}function ME(e,t,n){let r=e,i=t;if(r===i)return r?[[0,r]]:[];let o=Mv(r,i),s=r.substring(0,o);o=My(r=r.substring(o),i=i.substring(o));let a=r.substring(r.length-o),l=function(e,t,n){let r;if(!e)return[[1,t]];if(!t)return[[-1,e]];let i=e.length>t.length?e:t,o=e.length>t.length?t:e,s=i.indexOf(o);if(-1!==s)return r=[[1,i.substring(0,s)],[0,o],[1,i.substring(s+o.length)]],e.length>t.length&&(r[0][0]=-1,r[2][0]=-1),r;if(1===o.length)return[[-1,e],[1,t]];let a=function(e,t,n=1){let r,i,o,s,a;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;let u=Mx(l,d,Math.ceil(l.length/4)),c=Mx(l,d,Math.ceil(l.length/2));if(u&&c)r=u[4].length>c[4].length?u:c;else{if(!u&&!c)return null;c?u||(r=c):r=u}if(!r)throw Error("Unable to find a half match.");return e.length>t.length?(i=r[0],o=r[1],s=r[2],a=r[3]):(s=r[0],a=r[1],i=r[2],o=r[3]),[i,o,s,a,r[4]]}(e,t);if(a){let e=a[0],t=a[1],r=a[2],i=a[3],o=a[4],s=ME(e,r,n),l=ME(t,i,n);return s.concat([[0,o]],l)}return n.checkLines&&e.length>100&&t.length>100?function(e,t,n){let r=e,i=t,o=function(e,t){let n=[],r={};function i(e){let t="",i=0,s=-1,a=n.length;for(;s<e.length-1;){-1===(s=e.indexOf(`
27`,i))&&(s=e.length-1);let l=e.slice(i,s+1);(r.hasOwnProperty?r.hasOwnProperty(l):void 0!==r[l])?t+=String.fromCharCode(r[l]):(a===o&&(l=e.slice(i),s=e.length),t+=String.fromCharCode(a),r[l]=a,n[a++]=l),i=s+1}return t}n[0]="";let o=4e4,s=i(e);return o=65535,{chars1:s,chars2:i(t),lineArray:n}}(r,i);r=o.chars1,i=o.chars2;let s=o.lineArray,a=ME(r,i,{checkLines:!1,deadline:n.deadline});(function(e,t){for(let n=0;n<e.length;n++){let r=e[n][1],i=[];for(let e=0;e<r.length;e++)i[e]=t[r.charCodeAt(e)];e[n][1]=i.join("")}})(a,s),(a=MH(a)).push([0,""]);let l=0,d=0,u=0,c="",h="";for(;l<a.length;){switch(a[l][0]){case 1:u++,h+=a[l][1];break;case -1:d++,c+=a[l][1];break;case 0:if(d>=1&&u>=1){a.splice(l-d-u,d+u),l=l-d-u;let e=ME(c,h,{checkLines:!1,deadline:n.deadline});for(let t=e.length-1;t>=0;t--)a.splice(l,0,e[t]);l+=e.length}u=0,d=0,c="",h="";break;default:throw Error("Unknown diff operation.")}l++}return a.pop(),a}(e,t,n):function(e,t,n){let r=e.length,i=t.length,o=Math.ceil((r+i)/2),s=2*o,a=Array(s),l=Array(s);for(let e=0;e<s;e++)a[e]=-1,l[e]=-1;a[o+1]=0,l[o+1]=0;let d=r-i,u=d%2!=0,c=0,h=0,f=0,p=0;for(let g=0;g<o&&!(Date.now()>n);g++){for(let f=-g+c;f<=g-h;f+=2){let p,m=o+f,v=(p=f===-g||f!==g&&a[m-1]<a[m+1]?a[m+1]:a[m-1]+1)-f;for(;p<r&&v<i&&e.charAt(p)===t.charAt(v);)p++,v++;if(a[m]=p,p>r)h+=2;else if(v>i)c+=2;else if(u){let i=o+d-f;if(i>=0&&i<s&&-1!==l[i]&&p>=r-l[i])return Mb(e,t,p,v,n)}}for(let c=-g+f;c<=g-p;c+=2){let h,m=o+c,v=(h=c===-g||c!==g&&l[m-1]<l[m+1]?l[m+1]:l[m-1]+1)-c;for(;h<r&&v<i&&e.charAt(r-h-1)===t.charAt(i-v-1);)h++,v++;if(l[m]=h,h>r)p+=2;else if(v>i)f+=2;else if(!u){let i=o+d-c;if(i>=0&&i<s&&-1!==a[i]){let s=a[i],l=o+s-i;if(s>=(h=r-h))return Mb(e,t,s,l,n)}}}}return[[-1,e],[1,t]]}(e,t,n.deadline)}(r=r.substring(0,r.length-o),i=i.substring(0,i.length-o),n);return s&&l.unshift([0,s]),a&&l.push([0,a]),l=MB(l)}function MR(e,t,n){return 1===n?e+t:t+e}function MV(e,t){return 1===t?[e.substring(0,e.length-1),e[e.length-1]]:[e.substring(1),e[0]]}function M_(e,t,n){var r,i;let o=1===n?-1:1,s=null,a=null,l=t+n;for(;l>=0&&l<e.length&&(null===s||null===a);l+=n){let[r,i]=e[l];if(0!==i.length){if(1===r){null===s&&(s=l);continue}else if(-1===r){null===a&&(a=l);continue}else if(0===r){if(null===s&&null===a){let[r,i]=MV(e[t][1],n);e[t][1]=r,e[l][1]=MR(e[l][1],i,o);return}break}}}if(null!==s&&null!==a&&(r=s,i=a,1===n?e[r][1][e[r][1].length-1]===e[i][1][e[i][1].length-1]:e[r][1][0]===e[i][1][0])){let[r,i]=MV(e[s][1],o),[l]=MV(e[a][1],o);e[s][1]=r,e[a][1]=l,e[t][1]=MR(e[t][1],i,n);return}let[d,u]=MV(e[t][1],n);e[t][1]=d,null===s?(e.splice(l,0,[1,u]),null!==a&&a>=l&&a++):e[s][1]=MR(e[s][1],u,o),null===a?e.splice(l,0,[-1,u]):e[a][1]=MR(e[a][1],u,o)}function MH(e){let t=e.map(e=>Mg(e)),n=!1,r=[],i=0,o=null,s=0,a=0,l=0,d=0,u=0;for(;s<t.length;)0===t[s][0]?(r[i++]=s,a=d,l=u,d=0,u=0,o=t[s][1]):(1===t[s][0]?d+=t[s][1].length:u+=t[s][1].length,o&&o.length<=Math.max(a,l)&&o.length<=Math.max(d,u)&&(t.splice(r[i-1],0,[-1,o]),t[r[i-1]+1][0]=1,i--,s=--i>0?r[i-1]:-1,a=0,l=0,d=0,u=0,o=null,n=!0)),s++;for(n&&(t=MB(t)),t=MO(t),s=1;s<t.length;){if(-1===t[s-1][0]&&1===t[s][0]){let e=t[s-1][1],n=t[s][1],r=Mm(e,n),i=Mm(n,e);r>=i?(r>=e.length/2||r>=n.length/2)&&(t.splice(s,0,[0,n.substring(0,r)]),t[s-1][1]=e.substring(0,e.length-r),t[s+1][1]=n.substring(r),s++):(i>=e.length/2||i>=n.length/2)&&(t.splice(s,0,[0,e.substring(0,i)]),t[s-1][0]=1,t[s-1][1]=n.substring(0,n.length-i),t[s+1][0]=-1,t[s+1][1]=e.substring(i),s++),s++}s++}return t}let M$=/[^a-zA-Z0-9]/,MA=/\s/,MT=/[\r\n]/,MI=/\n\r?\n$/,MP=/^\r?\n\r?\n/;function MO(e){let t=e.map(e=>Mg(e));function n(e,t){if(!e||!t)return 6;let n=e.charAt(e.length-1),r=t.charAt(0),i=n.match(M$),o=r.match(M$),s=i&&n.match(MA),a=o&&r.match(MA),l=s&&n.match(MT),d=a&&r.match(MT),u=l&&e.match(MI),c=d&&t.match(MP);return u||c?5:l||d?4:i&&!s&&a?3:s||a?2:i||o?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],i=t[r][1],o=t[r+1][1],s=My(e,i);if(s){let t=i.substring(i.length-s);e=e.substring(0,e.length-s),i=t+i.substring(0,i.length-s),o=t+o}let a=e,l=i,d=o,u=n(e,i)+n(i,o);for(;i.charAt(0)===o.charAt(0);){e+=i.charAt(0),i=i.substring(1)+o.charAt(0),o=o.substring(1);let t=n(e,i)+n(i,o);t>=u&&(u=t,a=e,l=i,d=o)}t[r-1][1]!==a&&(a?t[r-1][1]=a:(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 MB(e){let t=e.map(e=>Mg(e));t.push([0,""]);let n=0,r=0,i=0,o="",s="",a;for(;n<t.length;)switch(t[n][0]){case 1:i++,s+=t[n][1],n++;break;case -1:r++,o+=t[n][1],n++;break;case 0:r+i>1?(0!==r&&0!==i&&(0!==(a=Mv(s,o))&&(n-r-i>0&&0===t[n-r-i-1][0]?t[n-r-i-1][1]+=s.substring(0,a):(t.splice(0,0,[0,s.substring(0,a)]),n++),s=s.substring(a),o=o.substring(a)),0!==(a=My(s,o))&&(t[n][1]=s.substring(s.length-a)+t[n][1],s=s.substring(0,s.length-a),o=o.substring(0,o.length-a))),n-=r+i,t.splice(n,r+i),o.length&&(t.splice(n,0,[-1,o]),n++),s.length&&(t.splice(n,0,[1,s]),n++),n++):0!==n&&0===t[n-1][0]?(t[n-1][1]+=t[n][1],t.splice(n,1)):n++,i=0,r=0,o="",s="";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=MB(t)),t}var MW=Object.defineProperty,MN=Object.getOwnPropertySymbols,Mz=Object.prototype.hasOwnProperty,MD=Object.prototype.propertyIsEnumerable,MF=(e,t,n)=>t in e?MW(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,MZ=(e,t)=>{for(var n in t||(t={}
27))Mz.call(t,n)&&MF(e,n,t[n]);if(MN)for(var n of MN(t))MD.call(t,n)&&MF(e,n,t[n]);return e};let MU={threshold:.5,distance:1e3};function Mq(e,t,n,r={}){if(null===e||null===t||null===n)throw Error("Null input. (match())");let i=Math.max(0,Math.min(n,e.length));return e===t?0:e.length?e.substring(i,i+t.length)===t?i:function(e,t,n,r={}){if(t.length>32)throw Error("Pattern too long for this browser.");let i=MZ(MZ({},MU),r),o=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 s(e,r){let o=e/t.length,s=Math.abs(n-r);return i.distance?o+s/i.distance:s?1:o}let a=i.threshold,l=e.indexOf(t,n);-1!==l&&(a=Math.min(s(0,l),a),-1!==(l=e.lastIndexOf(t,n+t.length))&&(a=Math.min(s(0,l),a)));let d=1<<t.length-1;l=-1;let u,c,h=t.length+e.length,f=[];for(let r=0;r<t.length;r++){for(u=0,c=h;u<c;)s(r,n+c)<=a?u=c:h=c,c=Math.floor((h-u)/2+u);h=c;let i=Math.max(1,n-c+1),p=Math.min(n+c,e.length)+t.length,g=Array(p+2);g[p+1]=(1<<r)-1;for(let t=p;t>=i;t--){let u=o[e.charAt(t-1)];if(0===r?g[t]=(g[t+1]<<1|1)&u:g[t]=(g[t+1]<<1|1)&u|((f[t+1]|f[t])<<1|1)|f[t+1],g[t]&d){let e=s(r,t-1);if(e<=a)if(a=e,(l=t-1)>n)i=Math.max(1,2*n-l);else break}}if(s(r+1,n)>a)break;f=g}return l}(e,t,i,r):-1}function MG(e){let t=[];for(let n=0;n<e.length;n++)1!==e[n][0]&&(t[n]=e[n][1]);return t.join("")}function MY(e){let t=[];for(let n=0;n<e.length;n++)-1!==e[n][0]&&(t[n]=e[n][1]);return t.join("")}function MX(e,t){let n=0,r=0,i=0,o=0,s;for(s=0;s<e.length&&(1!==e[s][0]&&(n+=e[s][1].length),-1!==e[s][0]&&(r+=e[s][1].length),!(n>t));s++)i=n,o=r;return e.length!==s&&-1===e[s][0]?o:o+(t-i)}function MK(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+=MJ(r)}return t}function MJ(e){return e<=127?1:e<=2047?2:e<=65535?3:4}function MQ(e,t){return{diffs:[],start1:e,start2:t,utf8Start1:e,utf8Start2:t,length1:0,length2:0,utf8Length1:0,utf8Length2:0}}var M1=Object.defineProperty,M0=Object.getOwnPropertySymbols,M5=Object.prototype.hasOwnProperty,M2=Object.prototype.propertyIsEnumerable,M3=(e,t,n)=>t in e?M1(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,M6=(e,t)=>{for(var n in t||(t={}))M5.call(t,n)&&M3(e,n,t[n]);if(M0)for(var n of M0(t))M2.call(t,n)&&M3(e,n,t[n]);return e};let M4={margin:4};function M8(e={}){return M6(M6({},M4),e)}function M9(e,t,n){if(0===t.length)return[];let r=[],i=MQ(0,0),o=0,s=0,a=0,l=0,d=0,u=e,c=e;for(let e=0;e<t.length;e++){let h=t[e],[f,p]=h,g=p.length,m=MK(p);switch(!o&&0!==f&&(i.start1=s,i.start2=a,i.utf8Start1=l,i.utf8Start2=d),f){case 1:i.diffs[o++]=h,i.length2+=g,i.utf8Length2+=m,c=c.substring(0,a)+p+c.substring(a);break;case -1:i.length1+=g,i.utf8Length1+=m,i.diffs[o++]=h,c=c.substring(0,a)+c.substring(a+g);break;case 0:g<=2*n.margin&&o&&t.length!==e+1?(i.diffs[o++]=h,i.length1+=g,i.length2+=g,i.utf8Length1+=m,i.utf8Length2+=m):g>=2*n.margin&&o&&(M7(i,u,n),r.push(i),i=MQ(-1,-1),o=0,u=c,s=a,l=d);break;default:throw Error("Unknown diff type")}1!==f&&(s+=g,l+=m),-1!==f&&(a+=g,d+=m)}return o&&(M7(i,u,n),r.push(i)),r}function M7(e,t,n){if(0===t.length)return;let r=t.substring(e.start2,e.start2+e.length1),i=0;for(;t.indexOf(r)!==t.lastIndexOf(r)&&r.length<32-n.margin-n.margin;)i+=n.margin,r=t.substring(e.start2-i,e.start2+e.length1+i);i+=n.margin;let o=e.start2-i;o>=1&&Mw(t[o])&&o--;let s=t.substring(o,e.start2);s&&e.diffs.unshift([0,s]);let a=s.length,l=MK(s),d=e.start2+e.length1+i;d<t.length&&Mw(t[d])&&d++;let u=t.substring(e.start2+e.length1,d);u&&e.diffs.push([0,u]);let c=u.length,h=MK(u);e.start1-=a,e.start2-=a,e.utf8Start1-=l,e.utf8Start2-=l,e.length1+=a+c,e.length2+=a+c,e.utf8Length1+=l+h,e.utf8Length2+=l+h}let Le=/^@@ -(\d+),?(\d*) \+(\d+),?(\d*) @@$/;function Lt(e){return parseInt(e,10)}function Ln(e){let t,n,r,{utf8Length1:i,utf8Length2:o,utf8Start1:s,utf8Start2:a,diffs:l}=e;t=0===i?`${s},0`:1===i?`${s+1}`:`${s+1},${i}`,n=0===o?`${a},0`:1===o?`${a+1}`:`${a+1},${o}`;let d=[`@@ -${t} +${n} @@
28`];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])}
29`}return d.join("").replace(/%20/g," ")}function Lr(e,t){if("number"==typeof t){var n=e.length,r=t;if(0===n&&(-1===r||0===r))return 0;let i=r<0?n+r:r;return i>=n||i<0?null:i}if(w9(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 Li(e,t,n,r){let i=e.slice();return i.splice(t,n,...r||[]),i}function Lo(e,t){let n={...e};for(let e of t)delete n[e];return n}function Ls(e,t){var n;if(!Array.isArray(t))throw TypeError('Cannot apply "insert()" on non-array value');let r=Lr(t,e.referenceItem);if(null===r)throw Error(`Found no matching array element to insert ${e.position}`);return 0===t.length?e.items:Li(t,(n=e.position,"before"===n?r:r+1),0,e.
29items)}let La=Object.prototype.hasOwnProperty.call.bind(Object.prototype.hasOwnProperty);var Ll=Object.freeze({__proto__:null,assign:function(e,t){if(!bu(t))throw TypeError('Cannot apply "assign()" on non-object value');return!function(e){for(let t in e)if(La(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 i=function(e,t,n={}){let r=0,i=0;function o(e){for(;r<e;){let e=t.codePointAt(i);if(typeof e>"u")return i;r+=MJ(e),e>65535?i+=2:i+=1}if(!n.allowExceedingIndices&&r!==e)throw Error("Failed to determine byte offset");return i}let s=[];for(let t of e)s.push({diffs:t.diffs.map(e=>Mg(e)),start1:o(t.start1),start2:o(t.start2),utf8Start1:t.utf8Start1,utf8Start2:t.utf8Start2,length1:t.length1,length2:t.length2,utf8Length1:t.utf8Length1,utf8Length2:t.utf8Length2});return s}(e,r,{allowExceedingIndices:n.allowExceedingIndices}),o=n.margin||4,s=n.deleteThreshold||.4,a=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],i=r.diffs;if(0===i.length||0!==i[0][0])i.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>i[0][1].length){let e=i[0][1].length,o=t-e;i[0][1]=n.substring(e)+i[0][1],r.start1-=o,r.start2-=o,r.utf8Start1-=o,r.utf8Start2-=o,r.length1+=o,r.length2+=o,r.utf8Length1+=o,r.utf8Length2+=o}if(0===(i=(r=e[e.length-1]).diffs).length||0!==i[i.length-1][0])i.push([0,n]),r.length1+=t,r.length2+=t,r.utf8Length1+=t,r.utf8Length2+=t;else if(t>i[i.length-1][1].length){let e=t-i[i.length-1][1].length;i[i.length-1][1]+=n.substring(0,e),r.length1+=e,r.length2+=e,r.utf8Length1+=e,r.utf8Length2+=e}return n}(i,o);r=a+r+a,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 i=r.start1,o=r.start2,s="";for(;0!==r.diffs.length;){let a=MQ(i-s.length,o-s.length),l=!0;if(""!==s){let e=MK(s);a.length1=s.length,a.utf8Length1=e,a.length2=s.length,a.utf8Length2=e,a.diffs.push([0,s])}for(;0!==r.diffs.length&&a.length1<32-t;){let e=r.diffs[0][0],n=r.diffs[0][1],s=MK(n);if(1===e){a.length2+=n.length,a.utf8Length2+=s,o+=n.length;let e=r.diffs.shift();e&&a.diffs.push(e),l=!1}else -1===e&&1===a.diffs.length&&0===a.diffs[0][0]&&n.length>64?(a.length1+=n.length,a.utf8Length1+=s,i+=n.length,l=!1,a.diffs.push([e,n]),r.diffs.shift()):(s=MK(n=n.substring(0,32-a.length1-t)),a.length1+=n.length,a.utf8Length1+=s,i+=n.length,0===e?(a.length2+=n.length,a.utf8Length2+=s,o+=n.length):l=!1,a.diffs.push([e,n]),n===r.diffs[0][1]?r.diffs.shift():r.diffs[0][1]=r.diffs[0][1].substring(n.length))}s=(s=MY(a.diffs)).substring(s.length-t);let d=MG(r.diffs).substring(0,t),u=MK(d);""!==d&&(a.length1+=d.length,a.length2+=d.length,a.utf8Length1+=u,a.utf8Length2+=u,0!==a.diffs.length&&0===a.diffs[a.diffs.length-1][0]?a.diffs[a.diffs.length-1][1]+=d:a.diffs.push([0,d])),l||e.splice(++n,0,a)}}}(i,o);let l=0,d=[];for(let e=0;e<i.length;e++){let t=i[e].start2+l,n=MG(i[e].diffs),o,a=-1;if(n.length>32?-1!==(o=Mq(r,n.substring(0,32),t))&&(-1===(a=Mq(r,n.substring(n.length-32),t+n.length-32))||o>=a)&&(o=-1):o=Mq(r,n,t),-1===o)d[e]=!1,l-=i[e].length2-i[e].length1;else{let u;if(d[e]=!0,l=o-t,u=-1===a?r.substring(o,o+n.length):r.substring(o,a+32),n===u)r=r.substring(0,o)+MY(i[e].diffs)+r.substring(o+n.length);else{let t=MS(n,u,{checkLines:!1});if(n.length>32&&function(e){let t=0,n=0,r=0;for(let i=0;i<e.length;i++){let o=e[i][0],s=e[i][1];switch(o){case 1:n+=s.length;break;case -1:r+=s.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>s)d[e]=!1;else{t=MO(t);let n=0,s=0;for(let a=0;a<i[e].diffs.length;a++){let l=i[e].diffs[a];0!==l[0]&&(s=MX(t,n)),1===l[0]?r=r.substring(0,o+s)+l[1]+r.substring(o+s):-1===l[0]&&(r=r.substring(0,o+s)+r.
29substring(o+MX(t,n+l[1].length))),-1!==l[0]&&(n+=l[1].length)}}}}}return[r=r.substring(a.length,r.length-a.length),d]}(function(e){if(!e)return[];let t=[],n=e.split(`
30`),r=0;for(;r<n.length;){let e=n[r].match(Le);if(!e)throw Error(`Invalid patch string: ${n[r]}`);let i=MQ(Lt(e[1]),Lt(e[3]));for(t.push(i),""===e[2]?(i.start1--,i.utf8Start1--,i.length1=1,i.utf8Length1=1):"0"===e[2]?(i.length1=0,i.utf8Length1=0):(i.start1--,i.utf8Start1--,i.utf8Length1=Lt(e[2]),i.length1=i.utf8Length1),""===e[4]?(i.start2--,i.utf8Start2--,i.length2=1,i.utf8Length2=1):"0"===e[4]?(i.length2=0,i.utf8Length2=0):(i.start2--,i.utf8Start2--,i.utf8Length2=Lt(e[4]),i.length2=i.utf8Length2),r++;r<n.length;){let e,t=n[r],o=t.charAt(0);if("@"===o)break;if(""===o){r++;continue}try{e=decodeURI(t.slice(1))}catch(e){throw Error(`Illegal escape in parse: ${t}`)}let s=MK(e)-e.length;if("-"===o)i.diffs.push([-1,e]),i.length1-=s;else if("+"===o)i.diffs.push([1,e]),i.length2-=s;else if(" "===o)i.diffs.push([0,e]),i.length1-=s,i.length2-=s;else throw Error(`Invalid patch mode "${o}" 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:Ls,insertIfMissing:function(e,t){if(!Array.isArray(t))throw TypeError('Cannot apply "insertIfMissing()" on non-array value');
30if(0===e.items.length)return t;let n=e.items.filter(e=>!t.find(t=>e._key===t?._key));return 0===n.length?t:Ls({items:n,referenceItem:e.referenceItem,position:e.position},t)},remove:function(e,t){if(!Array.isArray(t))throw TypeError('Cannot apply "remove()" on non-array value');let n=Lr(t,e.referenceItem);if(null===n)throw Error("Found no matching array element to replace");return Li(t,n,1,[])},replace:function(e,t){if(!Array.isArray(t))throw TypeError('Cannot apply "replace()" on non-array value');let n=Lr(t,e.referenceItem);if(null===n)throw Error("Found no matching array element to replace");return Li(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(!bu(t))throw TypeError('Cannot apply "unassign()" on non-object value');return 0===e.keys.length?t:Lo(t,e.keys)},unset:function(e){},upsert:function(e,t){if(!Array.isArray(t))throw TypeError('Cannot apply "upsert()" on non-array value');
30if(0===e.items.length)return t;let n={},r=[];e.items.forEach((e,i)=>{let o=t.findIndex(t=>t?._key===e._key);o>=0?n[o]=i:r.push(e)});let i=Object.keys(n);if(0===i.length&&0==r.length)return t;let o=[...t];for(let t of i){let r=Number(t);o[r]=e.items[n[r]]}return Ls({items:r,referenceItem:e.referenceItem,position:e.position},o)}});function Ld(e,t){return e.reduce((e,t)=>Lu(t,e),t)}function Lu(e,t){return function e(t,n,r){if(!(t.length>0)){if(!(n.type in Ll))throw Error(`Invalid operation type: "${n.type}"`);return Ll[n.type](n,r)}let[i,...o]=t;if(w7(i)&&Array.isArray(r)){var s=i,a=o,l=n,d=r;let t=Lr(d,s);if(null===t||-1===t)return d;let u=d[t],c=e(a,l,u);return c===u?d:Li(d,t,1,void 0===c?[]:[c])}if("string"==typeof i&&bu(r)){var u=i,c=o,h=n,f=r;let t=f[u];if(void 0===t&&c.length>0)return f;let s=e(c,h,t);return void 0===s?Lo(f,[u]):s===t?f:{...f,[u]:s}}throw Error(`Cannot apply operation of type "${n.type}" to path ${bt(t)} on ${typeof r} value`)}(e.path,e.op,t)}function Lc(e){return"_id"in e}function Lh(e,t){if(0===e.length)return t;let n=t;for(let t of e){if(w7(t)){if(!Array.isArray(n))return;if(w9(t)){n=n.find(e=>e._key===t._key);continue}n=n[t];continue}n=n[t]}return n}let Lf=(e=21)=>{let t="",n=crypto.getRandomValues(new Uint8Array(e|=0));for(;e--;)t+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[63&n[e]];return t},Lp="u">typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),Lg=new Uint8Array(16),Lm=[];for(let e=0;e<256;++e)Lm.push((e+256).toString(16).slice(1));let Lv=function(e,t,n){if(Lp&&!t&&!e)return Lp();let r=(e=e||{}).random??e.rng?.()??function(){if(!c){if("u"<typeof crypto||!crypto.getRandomValues)throw Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");c=crypto.getRandomValues.bind(crypto)}return c(Lg)}();if(r.length<16)throw Error("Random bytes length must be >= 16");if(r[6]=15&r[6]|64,r[8]=63&r[8]|128,t){if((n=n||0)<0||n+16>t.length)throw RangeError(`UUID byte range ${n}:${n+15} is out of buffer bounds`);for(let e=0;e<16;++e)t[n+e]=r[e];return t}return function(e,t=0){return(Lm[e[t+0]]+Lm[e[t+1]]+Lm[e[t+2]]+Lm[e[t+3]]+"-"+Lm[e[t+4]]+Lm[e[t+5]]+"-"+Lm[e[t+6]]+Lm[e[t+7]]+"-"+Lm[e[t+8]]+Lm[e[t+9]]+"-"+Lm[e[t+10]]+Lm[e[t+11]]+Lm[e[t+12]]+Lm[e[t+13]]+Lm[e[t+14]]+Lm[e[t+15]]).toLowerCase()}(r)};function Ly(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")}function Lw(e,t){return t.reduce((e,t)=>{let n=Lb(e,t);if("error"===n.status)throw Error(n.message);return"noop"===n.status?e:n.after},e)}function Lb(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,Lc(n)?n:{...n,_id:Lf()});return{status:"created",id:r._id,after:r}}(e,t);if("createIfNotExists"===t.type){return n=e,Lc((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 i=e,o=t,i?o.id!==i._id?{status:"error",message:"Delete mutation targeted wrong document"}:{status:"deleted",id:o.id,before:i,after:void 0}:{status:"noop"}}if("createOrReplace"===t.type){return s=e,Lc((a=t).document)?s?{status:"updated",id:a.document._id,before:s,after:a.document}:{status:"created",id:a.document._id,after:a.document}:{status:"error",message:"Cannot createIfNotExists on document without _id"}}if("patch"===t.type){var n,r,i,o,s,a,l=e,d=t;if(!l)return{status:"error",message:"Cannot apply patch on nonexistent document"};let u=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 Ld(e.patches,t)}(d,l);return l===u?{status:"noop"}:{status:"updated",id:d.id,before:l,after:u}}throw Error(`Invalid mutation type: ${t.type}`)}function Lx(e,t,n){let r=[];for(let n of e.slice().reverse()){if(t(n))return r;r.push(n)}return r.reverse()}function LC(e,t){return bt(e)===bt(t)}function Lk(e,t){let n=e;return t.reduce((e,t)=>
30{let r=n;if(n=Lu(t,n),"set"===t.op.type&&"string"==typeof t.op.value){let n=Lh(t.path,r);if("string"==typeof n){let r={...t,op:{type:"diffMatchPatch",value:(function(e,t){if("string"==typeof e&&"string"==typeof t){let n=MS(e,t,{checkLines:!0});return n.length>2&&(n=function(e,t=4){let n=e.map(e=>Mg(e)),r=!1,i=[],o=0,s=null,a=0,l=!1,d=!1,u=!1,c=!1;for(;a<n.length;)0===n[a][0]?(n[a][1].length<t&&(u||c)?(i[o++]=a,l=u,d=c,s=n[a][1]):(o=0,s=null),u=!1,c=!1):(-1===n[a][0]?c=!0:u=!0,s&&(l&&d&&u&&c||s.length<t/2&&3===function(...e){return e.reduce((e,t)=>e+ +!!t,0)}(l,d,u,c))&&(n.splice(i[o-1],0,[-1,s]),n[i[o-1]+1][0]=1,o--,s=null,l&&d?(u=!0,c=!0,o=0):(a=--o>0?i[o-1]:-1,u=!1,c=!1),r=!0)),a++;return r&&(n=MB(n)),n}(n=MH(n))),M9(e,n,M8(void 0))}if(e&&Array.isArray(e)&&typeof t>"u")return M9(MG(e),e,M8(void 0));if("string"==typeof e&&t&&Array.isArray(t))return M9(e,t,M8(void 0));throw Error("Unknown call format to make()")})(n,t.op.value).map(Ln).join("")}};return e.flatMap(e=>LC(e.path,t.path)&&"diffMatchPatch"===e.op.type?[]:e).concat(r)}}return e.push(t),e},[])}function Lj(e,t,n,r){let i=t,o=r.map(t=>{let n=t.mutations.flatMap(t=>{if(Ly(t)!==e)return[];let n=i;return i=Lw(i,[t]),n&&"patch"===t.type?{type:"dmpified",mutation:{...t,dmpPatches:Lk(n,t.patches),original:t.patches}}:t});return{...t,mutations:n}}),s=n;return o.map(t=>{let n=[];return t.mutations.forEach(t=>{if("dmpified"===t.type)try{s=Ld(t.mutation.dmpPatches,s),n.push(t)}catch{console.warn("Failed to apply dmp patch, falling back to original");try{s=Ld(t.mutation.original,s),n.push(t)}catch(t){throw Error(`Failed to apply patch for document "${e}": ${t.message}`,{cause:t})}}else s=Lw(s,[t])})}),[r.map(t=>({...t,mutations:t.mutations.map(t=>"patch"!==t.type||Ly(t)!==e?t:{...t,patches:t.patches.map(e=>"set"!==e.op.type?e:{...e,op:{...e.op,value:Lh(e.path,s)}})})})),s]}let LM=["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 LL{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=LM[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 LS(e){return e>>16?4:e>>11?3:e>>7?2:1}function LE(e,t,n=0){let r=n,i=0;for(i=n;r<t;i++){let t=LS(e.codePointAt(i));4===t&&i++,r+=t}return i}class LR{wrap(e){return e}finalize(e){return Array.isArray(e)?e:e.data}markChanged(e){return e}objectGetKeys(e){return Object.keys(e)}
30objectGetField(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 i=LE(t,n),o=LE(t,r,i);e.data+=t.slice(i,o)}stringAppendValue(e,t){e.data+=t}}var LV=e.i(34671),L_=e.i(30214),LH=e.i(99798),L$=e.i(79357),LA=1,LT={};function LI(e){return e in LT&&(delete LT[e],!0)}var LP=function(e){var t=LA++;return LT[t]=!0,B||(B=Promise.resolve()),B.then(function(){return LI(t)&&e()}),t},LO=function(e){LI(e)},LB={setImmediate:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=LB.delegate;return((null==n?void 0:n.setImmediate)||LP).apply(void 0,(0,tI.__spreadArray)([],(0,tI.__read)(e)))},clearImmediate:function(e){var t=LB.delegate;return((null==t?void 0:t.clearImmediate)||LO)(e)},delegate:void 0},LW=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.scheduler=t,r.work=n,r}return(0,tI.__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=LB.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 i,o=t.actions;null!=n&&(null==(i=o[o.length-1])?void 0:i.id)!==n&&(LB.clearImmediate(n),t._scheduled===n&&(t._scheduled=void 0))},t}(L$.AsyncAction),LN=new(function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,tI.__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(45491).AsyncScheduler))(LW);function Lz(e){let t=e.listen('*[!(_id in path("_.**"))]',{},{events:["welcome","mutation","reconnect"],includeResult:!1,includePreviousRevision:!1,visibility:"transaction",effectFormat:"mendoza",includeMutations:!1}).pipe((0,LV.share)({resetOnRefCountZero:!0})),n=t.pipe((0,tX.filter)(e=>"reconnect"===e.type)),r=t.pipe((0,tX.filter)(e=>"welcome"===e.type)),i=t.pipe((0,tX.filter)(e=>"mutation"===e.type)),o=(0,Mf.merge)(r,n).pipe((0,L_.shareReplay)({bufferSize:1,refCount:!0})).pipe((0,tX.filter)(e=>"welcome"===e.type));return(0,Mf.merge)(o,i,n)}let LD=tA({types:{},actions:{"assign error to context":th({error:({event:e})=>e}),"clear error from context":th({error:void 0}),"connect to server-sent events":tn({type:"connect"}),"listen to server-sent events":ek("server-sent events",{id:"listener",input:({context:e})=>({listener:e.sharedListener||Lz(e.client),id:e.id})}),"stop listening to server-sent events":eL("listener"),"buffer remote mutation events":th({mutationEvents:({event:e,context:t})=>(t$(e,"mutation"),[...t.mutationEvents,e])}),"restore stashed changes":th({stagedChanges:({event:e,context:t})=>(t$(e,"xstate.done.actor.submitTransactions"),t.stashedChanges),stashedChanges:[]}),"rebase fetched remote snapshot":tR(({enqueue:e})=>{e.assign(({event:e,context:t})=>{t$(e,"xstate.done.actor.getDocument");let n=t.remote,r=e.output,i=!1;for(let e of t.mutationEvents)e.effects?.apply&&(e.previousRev||"appear"===e.transition)&&(i||e.previousRev!==r?._rev||(i=!0),i&&(r=LF(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[o,s]=Lj(t.id,null===n?void 0:n,null===r?void 0:r,t.stagedChanges);return{remote:r,local:s,stagedChanges:o,mutationEvents:[]}}),e.sendParent(({context:e})=>({type:"rebased.remote",id:e.id,document:e.remote}))}),"apply mendoza patch":th(({event:e,context:t})=>{t$(e,"mutation");let n=t.remote;if(e.transactionId===n?._rev)return{};let r=LF(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.i
30d,r);let[i,o]=Lj(t.id,null===n?void 0:n,null===r?void 0:r,t.stagedChanges);return{remote:r,local:o,stagedChanges:i}}),"increment fetch attempts":th({fetchRemoteSnapshotAttempts:({context:e})=>e.fetchRemoteSnapshotAttempts+1}),"reset fetch attempts":th({fetchRemoteSnapshotAttempts:0}),"increment submit attempts":th({submitTransactionsAttempts:({context:e})=>e.submitTransactionsAttempts+1}),"reset submit attempts":th({submitTransactionsAttempts:0}),"stage mutation":th({stagedChanges:({event:e,context:t})=>(t$(e,"mutate"),[...t.stagedChanges,{transaction:!1,mutations:e.mutations}])}),"stash mutation":th({stashedChanges:({event:e,context:t})=>(t$(e,"mutate"),[...t.stashedChanges,{transaction:!1,mutations:e.mutations}])}),"rebase local snapshot":tR(({enqueue:e})=>{e.assign({local:({event:e,context:t})=>{var n;t$(e,"mutate");let r=new Map;return t.local&&r.set(t.id,t.local),n=function(e,t){let n=Object.create(null);for(let r of e){let e=Ly(r);if(!e)throw Error("Unable to get document id from mutation");let i=n[e]?.after||t.get(e),o=Lb(i,r);if("error"===o.status)throw Error(o.message);"noop"!==o.status&&("updated"===o.status||"created"===o.status||"deleted"===o.status)&&(e in n||(n[e]={before:i,after:void 0,muts:[]}),t.set(e,o.after),n[e].after=o.after,n[e].muts.push(r))}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":tS(({context:e})=>({type:"pristine",id:e.id})),"send sync event to parent":tS(({context:e})=>({type:"sync",id:e.id,document:e.remote})),"send mutation event to parent":tS(({context:e,event:t})=>(t$(t,"mutation"),{type:"mutation",id:e.id,previousRev:t.previousRev,resultRev:t.resultRev,effects:t.effects}))},actors:{"server-sent events":to(({input:e})=>{let{listener:t,id:n}=e;return(0,tT.defer)(()=>t).pipe((0,tX.filter)(e=>"welcome"===e.type||"reconnect"===e.type||"mutation"===e.type&&e.documentId===n),(0,LH.observeOn)(LN))}),"fetch remote snapshot":td(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":td(async({input:e,signal:t})=>{let{client:n,transactions:r}=e;for(let e of r){if(t.aborted)return;await n.dataRequest("mutate",ba(e),{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,i,o=new Map;return o.set(e.id,e.remote),{client:e.client,transactions:(t=e.stagedChanges,n=e=>
30!e.transaction,r=[],i=[],t.forEach(e=>{n(e)?i.push(e):(i.length>0&&r.push(i),i=[],r.push([e]))}),i.length>0&&r.push(i),r).flatMap(e=>({...e[0],mutations:e.flatMap(e=>e.mutations)})).map(e=>{var t;return{...e,mutations:(t=e.mutations,Object.values((0,Mp.default)(t,Ly)).flatMap(e=>{var t,n;return(0===(n=0===(t=e).length?t:t.reduce((e,t)=>"delete"===t.type?[t]:(e.push(t),e),[])).length?n:n.reduce((e,t)=>("createIfNotExists"!==t.type?e.push(t):Lx(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,i;return n=e,i=function(e,t){if(t<0||t>=e.length)throw Error("Index out of bounds");return e[t]}(r,t),w8(n)&&w8(i)?n._key===i._key:"number"==typeof n?Number(n)===Number(i):n===i}))});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)&&LC(e.path,t.path)})||e.unshift(t),e),[]).reduce((e,t)=>("setIfMissing"!==t.op.type?e.push(t):Lx(e,e=>"unset"===e.op.type).find(e=>"setIfMissing"===e.op.type&&LC(e.path,t.path))||e.push(t),e),[])})})).map(e=>{var t;return{...e,mutations:(t=o,e.mutations.map((e,n)=>{var r,i;if("patch"!==e.type)return e;let o=t.get(e.id);return o?(r=o,{...i=e,patches:Lk(r,i.patches)}):e}))}}).map(e=>e.transaction&&void 0!==e.id?{id:e.id,mutations:e.mutations}:{id:Lv(),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 LF(e,t,n){var r;let i=(r=function(e){if(!e)return null;let{_rev:t,...n}=e;return n}(e),new LL(new LR,r,t).process());return i?Object.assign(i,{_rev:n}):null}let LZ=e=>{let t=td(async({input:t,signal:n})=>{let{id:r}=t,{snapshot:i}=await e.fetch("visual-editing/fetch-snapshot",{documentId:r},{signal:n});return i}),n=td(async({input:t})=>{let{transactions:n}=t;for(let t of n){let n=bg.encodeTransaction(t);return e.post("visual-editing/mutate",n)}});return LD.provide({actions:{"send sync event to parent":tR(({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":t,"submit mutations as transactions":n}})},LU=tA({types:{},actions:{"emit sync event":tx(({event:e})=>(t$(e,"sync"),e)),"emit mutation event":tx(({event:e})=>(t$(e,"mutation"),e)),"emit rebased event":tx(({event:e})=>(t$(e,["rebased.local","rebased.remote"]),e)),"emit pristine event":tx(({event:e})=>(t$(e,["pristine"]),e)),"add document actor":th({documents:({context:e,event:t,spawn:n})=>{t$(t,"observe");let r=t.documentId;return e.documents[r]?e.documents:{...e.documents,[r]:n("documentMutatorMachine",{input
30:{id:r,client:e.client,sharedListener:e.sharedListener||Lz(e.client)},id:r})}}}),"stop remote snapshot":eL(({context:e,event:t})=>(t$(t,"unobserve"),e.documents[t.documentId])),"remove remote snapshot from context":th({documents:({context:e,event:t})=>{if(t$(t,"unobserve"),!e.documents[t.documentId])return e.documents;let{[t.documentId]:n,...r}=e.documents;return r}})},actors:{documentMutatorMachine:LD}}).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:{}}}),Lq=e=>LU.provide({actors:{documentMutatorMachine:LZ(e)}});e.s(["createDatasetMutator",0,Lq,"createDocumentMutator",0,LZ],9937);let LG=new Set,LY=null;function LX(e){if(LY!==e)for(let t of(LY=e,LG))t()}let LK=e=>{let t,n,r,i,o=(0,N.c)(8),{comlink:s,history:a}=e;return o[0]!==s||o[1]!==a?(t=()=>s?.on("presentation/navigate",e=>{a?.update(e)}),n=[s,a],o[0]=s,o[1]=a,o[2]=t,o[3]=n):(t=o[2],n=o[3]),(0,np.useEffect)(t,n),o[4]!==s||o[5]!==a?(r=()=>{if(a)return a.subscribe(e=>{e.title=e.title||document.title,s?.post("visual-editing/navigate",e)})},i=[s,a],o[4]=s,o[5]=a,o[6]=r,o[7]=i):(r=o[6],i=o[7]),(0,np.useEffect)(r,i),null},LJ=new Set,LQ=null,L1=null,L0=null,L5=null,L2=new Set,L3=!1,L6=0;function L4(e){return L2.add(e),()=>L2.delete(e)}function L8(){return L3}let L9=e=>{let t,n,r=(0,N.c)(3),{comlink:i}=e;return r[0]!==i?(t=()=>{let e=()=>{i.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=[i],r[0]=i,r[1]=t,r[2]=n):(t=r[1],n=r[2]),(0,np.useEffect)(t,n),null};function L7(e){let t=new CustomEvent("sanity/dragEnd",{detail:e,cancelable:!0});window.dispatchEvent(t)}let Se=(0,np.createContext)(null);function St(){let e=(0,np.useContext)(Se);if(!e)throw Error("Schema context is missing");return e}function Sn(e,t,n,r){if(!e.type)throw Error("Node type is missing");return()=>t.patch(()=>bN(e,n,r))}function Sr(e){let{node:t,doc:n}=e;return n?[{type:"action",label:"Duplicate",icon:kj,action:function(e,t){if(!e.type)throw Error("Node type is missing");return()=>t.patch(async({getSnapshot:t})=>bB(e,await t()))}(t,n),telemetryEvent:"Visual Editing Context Menu Item Duplicated"}]:[]}function Si(e){let{node:t,doc:n}=e;return n?[{type:"action",label:"Remove",icon:kE,action:function(e,t){if(!e.type)throw Error("Node type is missing");return()=>t.patch(async({getSnapshot:t})=>bW(e,await t()))}(t,n),telemetryEvent:"Visual Editing Context Menu Item Removed"}]:[]}async function So(e,t=!0){let{node:n,doc:r}=e;if(!r)return[];let i=[],o=[],[s,a,l,d]=await Promise.all([bz(n,r,"previous"),bz(n,r,"next"),bz(n,r,"first"),bz(n,r,"last")]);return l.length&&o.push({type:"action",label:"To top",icon:kS,action:()=>r.patch(l),telemetryEvent:"Visual Editing Context Menu Item Moved"}),s.length&&o.push({type:"action",label:"Up",icon:kk,action:()=>r.patch(s),telemetryEvent:"Visual Editing Context Menu Item Moved"}),a.length&&o.push({type:"action",label:"Down",icon:kC,action:()=>r.patch(a),telemetryEvent:"Visual Editing Context Menu Item Moved"}),d.length&&o.push({type:"action",label:"To bottom",icon:kV,action:()=>r.patch(d),telemetryEvent:"Visual Editing Context Menu Item Moved"}),o.length&&(i.push({type:"group",label:"Move",icon:kR,items:o}),t&&i.push({type:"divider"})),i}async function Ss(e){let{node:t,field:n,doc:r}=e,i=[];return i.push(...Sr(e)),i.push(...Si(e)),i.push(...await So(e)),i.push({type:"action",label:"Insert before",icon:kM,action:Sn(t,r,n.name,"before"),telemetryEvent:"Visual Editing Context Menu Item Inserted"}),i.push({type:"action",label:"Insert after",icon:kL,action:Sn(t,r,n.name,"after"),telemetryEvent:"Visual Editing Context Menu Item Inserted"}),i}let Sa=e=>{let t,n,r,i,o,s=(0,N.c)(12),{label:a,parent:l,width:d,onSelect:u,boundaryElement:c}=e;return s[0]===Symbol.for("react.memo_cache_sentinel")?(t=["left-start","right","left","right-end","left-end","bottom","top"],s[0]=t):t=s[0],s[1]===Symbol.for("react.memo_cache_sentinel")?(n=[4,4,4,4],s[1]=n):n=s[1],s[2]!==c||s[3]!==d?(r={arrow:!1,constrainSize:!0,floatingBoundary:c,padding:0,placement:"right-start",fallbackPlacements:t,preventOverflow:!0,width:d,__unstable_margins:n},s[2]=c,s[3]=d,s[4]=r):r=s[4],s[5]!==u||s[6]!==l?(i=(0,W.jsx)(kw,{node:l,onSelect:u}),s[5]=u,s[6]=l,s[7]=i):i=s[7],s[8]!==a||s[9]!==r||s[10]!==i?(o=(0,W.jsx)(wJ,{fontSize:1,icon:kL,padding:2,popover:r,space
30:2,text:a,children:i}),s[8]=a,s[9]=r,s[10]=i,s[11]=o):o=s[11],o};async function Sl(e){let{doc:t,node:n,parent:r}=e,i=[];if(i.push(...Sr(e)),i.push(...Si(e)),i.push(...await So(e)),r.options?.insertMenu){let e=(r.options.insertMenu||{}).views?.some(e=>"grid"===e.name)?0:void 0;i.push({type:"custom",component:({boundaryElement:i,sendTelemetry:o})=>(0,W.jsx)(Sa,{label:"Insert before",onSelect:e=>{Sn(n,t,e.name,"before")(),o("Visual Editing Context Menu Item Inserted",null)},parent:r,width:e,boundaryElement:i})}),i.push({type:"custom",component:({boundaryElement:i,sendTelemetry:o})=>(0,W.jsx)(Sa,{label:"Insert after",onSelect:e=>{Sn(n,t,e.name,"after")(),o("Visual Editing Context Menu Item Inserted",null)},parent:r,width:e,boundaryElement:i})})}else i.push({type:"group",label:"Insert before",icon:kM,items:r.of.filter(e=>"unionOption"===e.type).map(e=>({type:"action",icon:kv(e),label:"block"===e.name?"Paragraph":e.title||e.name,action:Sn(n,t,e.name,"before"),telemetryEvent:"Visual Editing Context Menu Item Inserted"}))}),i.push({type:"group",label:"Insert after",icon:kL,items:r.of.filter(e=>"unionOption"===e.type).map(e=>({type:"action",label:"block"===e.name?"Paragraph":e.title||e.name,icon:kv(e),action:Sn(n,t,e.name,"after"),telemetryEvent:"Visual Editing Context Menu Item Inserted"}))});return i}let Sd=[-4,4,-4,4];function Su(e){let t,n=(0,N.c)(27),{node:r,onDismiss:i,boundaryElement:o}=e,s=ku();n[0]!==r||n[1]!==i||n[2]!==s?(t=()=>{"action"===r.type&&(r.action?.(),i?.(),r.telemetryEvent&&s(r.telemetryEvent,null))},n[0]=r,n[1]=i,n[2]=s,n[3]=t):t=n[3];let a=t;if("divider"===r.type){let e;return n[4]===Symbol.for("react.memo_cache_sentinel")?(e=(0,W.jsx)(wY,{}),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]!==a||n[9]!==t?(e=(0,W.jsx)(wQ,{fontSize:1,hotkeys:r.hotkeys,icon:r.icon,padding:2,space:2,text:r.label,disabled:t,onClick:a}),n[5]=r.hotkeys,n[6]=r.icon,n[7]=r.label,n[8]=a,n[9]=t,n[10]=e):e=n[10],e}if("group"===r.type){let e,t,s,a=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:Sd},n[11]=e):e=n[11];let l=r.label;if(n[12]!==o||n[13]!==r.items||n[14]!==i){let e;n[16]!==o||n[17]!==i?(e=(e,t)=>(0,W.jsx)(Su,{node:e,onDismiss:i,boundaryElement:o},t),n[16]=o,n[17]=i,n[18]=e):e=n[18],t=r.items.map(e),n[12]=o,n[13]=r.items,n[14]=i,n[15]=t}else t=n[15];return n[19]!==r.icon||n[20]!==r.label||n[21]!==t?(s=(0,W.jsx)(wJ,{fontSize:1,icon:a,padding:2,popover:e,space:2,text:l,children:t}),n[19]=r.icon,n[20]=r.label,n[21]=t,n[22]=s):s=n[22],s}if("custom"===r.type){let e,{component:t}=r;return n[23]!==t||n[24]!==o||n[25]!==s?(e=(0,W.jsx)(t,{boundaryElement:o,sendTelemetry:s}),n[23]=t,n[24]=o,n[25]=s,n[26]=e):e=n[26],e}return null}let Sc=e=>{let t,n,r,i,o,s,a,l,d,u,c,h,f,p,g,m=(0,N.c)(43),{node:v,onDismiss:y,position:w}=e,{x:b,y:x}=w,[C,k]=(0,np.useState)(null),{getField:j}=St(),{getDocument:M}=bI();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,E=L?.title||L?.name||"Unknown type",[R,V]=(0,np.useState)(void 0);m[3]!==L||m[4]!==M||m[5]!==v||m[6]!==S?(n=()=>{(async()=>{let e=M(v.id);e&&V(await function(e){let{node:t,field:n,parent:r,doc:i}=e;return n?.type==="arrayItem"?Ss({node:t,field:n,doc:i}):r?.type==="union"?Sl({node:t,parent:r,doc:i}):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,np.useEffect)(n,r),m[9]!==b||m[10]!==x?(i={getBoundingClientRect:()=>({bottom:x,left:b,right:b,top:x,width:0,height:0})},m[9]=b,m[10]=x,m[11]=i):i=m[11];let _=i;m[12]!==L?(o=kv(L),m[12]=L,m[13]=o):o=m[13];let H=o;m[14]===Symbol.for("react.memo_cache_sentinel")?(s={minWidth:120,maxWidth:160},m[14]=s):s=m[14],m[15]!==H||m[16]!==R?(a=(0,W.jsx)(yd,{flex:"none",children:R?(0,W.jsx)(yc,{size:1,children:H}):(0,W.jsx)(ym,{size:1})}),m[15]=H,m[16]=R,m[17]=a):a=m[17];let $=R?E:"Loading...";m[18]!==$?(l=(0,W.jsx)(wy,{flex:1,space:2,children:(0,W.jsx)(yc,{size:1,weight:"semibold",children:$})}),m[18]=$,m[19]=l):l=m[19],m[20]!==a||m[21]!==l?(d=(0,W.jsxs)(yf,{gap:2,padding:2,children:[a,l]}),m[20]=a,m[21]=l,m[22]=d):d=m[22],m[23]!==C||m[24]!==R||m[25]!==y?(u=R&&(0,W.jsxs)(W.Fragment,{children:[(0,W.jsx)(wY,{}),R.map((e,t)=>(0,W.jsx)(Su,{node:e,onDismiss:y,boundaryElement:C},t))]}),m[23]=C,m[24]=R,m[25]=y,m[26]=u):u=m[26],m[27]!==d||m[28]!==u?(c=(0,W.jsxs)(wG,{style:s,children:[d,u]}),m[27]=d,m[28]=u,m[29]=c):c=m[29];let A=`${b}-${x}`;return m[30]!==b||m[31]!==x?(h={position:"absolute",left:b,top:x},m[30]=b,m[31]=x,m[32]=h):h=m[32],m[33]!==A||m[34]!==h?(f=(0,W.jsx)("div",{style:h},A),m[33]=A,m[34]=h,m[35]=f):f=m[35],m[36]!==_||m[37]!==c||m[38]!==f?(p=(0,W.jsx)(wg,{__unstable_margins:Sd,arrow:!1,open:!0,placement:"right-start",referenceElement:_,content:c,children:f}),m[36]=_,m[37]=c,m[38]=f,m[39]=p):p=m[39],m[40]!==y||m[41]!==p?(g=(0,W.jsx)(kp,{setBoundaryElement:k,onDismiss:y,children:p}),m[40]=y,m[41]=p,m[42]=g):g=m[42],g},Sh=(0,np.createContext)(null),Sf=l7(yk).withConfig({displayName:"Root",componentId:"sc-e95gnt-0"})`background-color:var(--overlay-bg);border-radius:3px;pointer-events:none;position:absolute;will-change:transform;
30box-shadow:var(--overlay-box-shadow);transition:none;--overlay-bg:transparent;--overlay-box-shadow:inset 0 0 0 1px transparent;[data-overlays] &{--overlay-bg:color-mix(in srgb,transparent 95%,var(--card-focus-ring-color));--overlay-box-shadow:inset 0 0 0 2px color-mix(in srgb,transparent 50%,var(--card-focus-ring-color));}[data-fading-out] &{transition:box-shadow 1550ms,background-color 1550ms;--overlay-bg:rgba(0,0,255,0);--overlay-box-shadow:inset 0 0 0 1px transparent;}&[data-focused]{--overlay-box-shadow:inset 0 0 0 1px var(--card-focus-ring-color);}&[data-hovered]:not([data-focused]){transition:none;--overlay-box-shadow:inset 0 0 0 2px var(--card-focus-ring-color);}:link{text-decoration:none;}`,Sp=l7(yf).withConfig({displayName:"Actions",componentId:"sc-e95gnt-1"})`bottom:100%;cursor:pointer;pointer-events:none;position:absolute;right:0;[data-hovered]:not([data-menu-open]) &{pointer-events:all;}[data-flipped] &{bottom:auto;top:100%;}`,Sg=l7(yf).withConfig({displayName:"HUD",componentId:"sc-e95gnt-2"})`top:100%;cursor:pointer;pointer-events:none;position:absolute;left:0;gap:4px;padding:4px 0;flex-wrap:wrap;[data-hovered]:not([data-menu-open]) &{pointer-events:all;}[data-flipped] &{top:calc(100% + 2rem);}`,Sm=l7(yf).withConfig({displayName:"MenuWrapper",componentId:"sc-e95gnt-3"})`margin:-0.5rem;[data-hovered]:not([data-menu-open]) &{pointer-events:all;}`,Sv=l7(yf).withConfig({displayName:"Tab",componentId:"sc-e95gnt-4"})`bottom:100%;cursor:pointer;pointer-events:none;position:absolute;left:0;[data-hovered]:not([data-menu-open]) &{pointer-events:all;}[data-flipped] &{bottom:auto;top:100%;}`,Sy=l7(yk).withConfig({displayName:"ActionOpen",componentId:"sc-e95gnt-5"})`cursor:pointer;background-color:var(--card-focus-ring-color);right:0;border-radius:3px;& [data-ui='Text']{color:#fff;white-space:nowrap;}`,Sw=l7(yf).withConfig({displayName:"Labels",componentId:"sc-e95gnt-6"})`display:flex;align-items:center;background-color:var(--card-focus-ring-color);right:0;border-radius:3px;& [data-ui='Text'],& [data-sanity-icon]{color:#fff;white-space:nowrap;}`,Sb=l7.div.withConfig({displayName:"ExclusivePluginContainer",componentId:"sc-e95gnt-7"})`position:absolute;inset:0;pointer-events:all;`,Sx=e=>{let t,n,r,i,o,s,a,l,d,u,c,h,f,p,g,m,v,y=(0,N.c)(60),{id:w,element:b,focused:x,componentResolver:C,node:k,showActions:j,draggable:M,targets:L,elementType:S,comlink:E,onActivateExclusivePlugin:R,onMenuOpenChange:V,inFrame:_}=e,{getField:H,getType:$}=St();y[0]!==$||y[1]!==k?(t=$(k),y[0]=$,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:i,tool:o,workspace:s,perspective:a}=e,[l,d]=(0,nm.createEditUrl)({baseUrl:i,workspace:s,tool:o,type:n,id:t,path:r?b9(nm.studioPath.fromString(r)):[]}).split("?"),u=new URLSearchParams(d),c=a||u.get("perspective");return"drafts"===c?u.delete("perspective"):c&&u.set("perspective",c),`${l}?${u}`}(k):k.href,y[3]=k,y[4]=n):n=y[4];let T=n,I=function(){let e=(0,np.useContext)(Sh);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]!==I?(e=I.find(e=>e._id===k.id)?.title,y[5]=k,y[6]=I,y[7]=e):e=y[7],r=e}let P=r;y[8]!==b||y[9]!==x||y[10]!==H||y[11]!==$?(i=function(e,t){let n=$(e),{field:r,parent:i}=H(e);if(!("id"in e)||!r||!n)return;let o=r.value.type;return{document:n,element:b,targetElement:t||b,field:r,focused:!!x,node:e,parent:i,type:o}},y[8]=b,y[9]=x,y[10]=H,y[11]=$,y[12]=i):i=y[12];let O=i;if(y[13]!==S||y[14]!==O||y[15]!==k?(o="element"===S?O(k):void 0,y[13]=S,y[14]=O,y[15]=k,y[16]=o):o=y[16],y[17]!==O||y[18]!==L){let e;y[20]!==O?(e=e=>O(e.sanity,e.element),y[20]=O,y[21]=e):e=y[21],s=L.map(e).filter(SM),y[17]=O,y[18]=L,y[19]=s}else s=y[19];y[22]!==o||y[23]!==s?(a={legacyComponentContext:o,pluginContexts:s},y[22]=o,y[23]=s,y[24]=a):a=y[24];let B=a,z=function(e,t){let n,r=(0,N.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,np.isValidElement)(r)){n=r;break t}n=(Array.isArray(r)?r:[r]).map(Sk)}r[0]=e,r[1]=t,r[2]=n}else n=r[2];return n}(B.legacyComponentContext,C),D=function(e,t){let n,r=(0,N.c)(5);if(r[0]!==e||r[1]!==t){let i;r[3]!==t?(i=e=>{let n={id:xv(),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]=i):i=r[4],n=e.map(i),r[0]=e,r[1]=t,r[2]=n}else n=r[2];return n}(B.pluginContexts,e.plugins);y[25]!==A?(l=A?.icon?(0,W.jsx)("div",{dangerouslySetInnerHTML:{__html:A.icon}}):(0,W.jsx)(k_,{}),y[25]=A,y[26]=l):l=y[26];let F=l,Z=(0,np.useId)();y[27]!==D?(d=D?.some(SL),y[27]=D,y[28]=d):d=y[28];let U=d||D?.length>1;y[29]!==w?(u=()=>{window.dispatchEvent(new CustomEvent("sanity-overlay/label-click",{detail:{id:w}}))},y[29]=w,y[30]=u):u=y[30];let q=u;return y[31]!==T||y[32]!==_||y[33]!==j?(c=j?(0,W.jsx)(Sp,{gap:1,paddingY:1,children:(0,W.jsx)(Sj,{inFrame:_,href:T})}):null,y[31]=T,y[32]=_,y[33]=j,y[34]=c):c=y[34],y[35]!==E||y[36]!==M||y[37]!==q||y[38]!==F||y[39]!==Z||y[40]!==D||y[41]!==R||y[42]!==V||y[43]!==U||y[44]!==P?(h=(P||U)&&(0,W.jsx)(Sv,{gap:1,paddingY:1,onClick:q,children:(0,W.jsxs)(Sw,{gap:2,padding:2,children:[M&&(0,W.jsx)(yd,{marginRight:1,children:(0,W.jsx)(yc,{className:"drag-handle",size:0,children:(0,W.jsx)(kH,{})})}),(0,W.jsx)(yc,{size:0,children:F}),P&&(0,W.jsx)(yc,{size:1,weight:"medium",children:P}),U&&(0,W.jsx)(yd,{paddingLeft:2,onClick:SS,children:(0,W.jsx)(Sm,{children:(0,W.jsx)(jD,{id:Z,popover:{animate:!0,placement:"bottom-start",constrainSize:!0,tone:"default"},onOpen:()=>{V?.(!0)},onClose:()=>{V?.(!1)},button:(0,W.jsx)(yx,{icon:k$,tone:"primary",padding:2}),menu:(0,W.jsx)(wG,{paddingY:0,children:(0,W.jsx)(ks,{children:D?.map((e,t)=>(0,W.jsxs)(np.Fragment,{children:[(0,W.jsxs)(wy,{role:"group",paddingY:1,space:0,children:[(0,W.jsx)(wQ,{paddingY:2,text:(0,W.jsx)(yd,{paddingY:2,children:(0,W.jsx)(yc,{muted:!0,size:1,style:{textTransform:"capitalize"},children:`${e.context.document.name}: ${e.context.field?.name}`})}),onClick:()=>{e.context.node&&E?.post("visual-editing/focus",e.context.node)}}),e.exclusive.map(t=>
30t.component?(0,W.jsx)(wQ,{paddingY:2,icon:t.icon||(0,W.jsx)(kA,{}),text:(0,W.jsx)(yd,{paddingY:2,children:(0,W.jsx)(yc,{size:1,children:t.title||t.name})}),onClick:()=>R?.(t,e.context)},t.name):null)]}),t<D.length-1&&(0,W.jsx)(wY,{})]},e.id))})})})})})]})}),y[35]=E,y[36]=M,y[37]=q,y[38]=F,y[39]=Z,y[40]=D,y[41]=R,y[42]=V,y[43]=U,y[44]=P,y[45]=h):h=y[45],y[46]!==D?(f=D?.map(SE),y[46]=D,y[47]=f):f=y[47],y[48]!==f?(p=(0,W.jsx)(Sg,{children:f}),y[48]=f,y[49]=p):p=y[49],y[50]!==c||y[51]!==h||y[52]!==p?(g=(0,W.jsxs)(ks,{children:[c,h,p]}),y[50]=c,y[51]=h,y[52]=p,y[53]=g):g=y[53],y[54]!==z||y[55]!==B.legacyComponentContext?(m=Array.isArray(z)?z.map((e,t)=>{let{component:n,props:r}=e;return(0,W.jsx)(n,{PointerEvents:ks,...B.legacyComponentContext,...r},t)}):z,y[54]=z,y[55]=B.legacyComponentContext,y[56]=m):m=y[56],y[57]!==g||y[58]!==m?(v=(0,W.jsxs)(W.Fragment,{children:[g,m]}),y[57]=g,y[58]=m,y[59]=v):v=y[59],v},SC=(0,np.memo)(function(e){let t,n,r,i,o,s,a,l,d,u,c,h,f,p=(0,N.c)(39),{draggable:g,focused:m,hovered:v,rect:y,wasMaybeCollapsed:w,enableScrollIntoView:b,inFrame:x}=e,C=(0,np.useRef)(null),k=(0,np.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(Md(e,t));let i="boolean"==typeof t||null==t?void 0:t.behavior;for(let{el:n,top:o,left:s}of Md(e,!1===t?{block:"end",inline:"nearest"}:t===Object(t)&&0!==Object.keys(t).length?t:{block:"start",inline:"nearest"})){let e=o-r.top+r.bottom,t=s-r.left+r.right;n.scroll({top:e,left:t,behavior:i})}}(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,np.useEffect)(n,r);let[E,R]=(0,np.useState)(!1);p[9]!==v?(i=()=>{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]=i):i=p[10],p[11]!==v||p[12]!==E?(o=[v,E],p[11]=v,p[12]=E,p[13]=o):o=p[13],(0,np.useEffect)(i,o);let[V,_]=(0,np.useState)(null);p[14]===Symbol.for("react.memo_cache_sentinel")?(s=()=>{_(null),window.dispatchEvent(new CustomEvent("sanity-overlay/exclusive-plugin-closed"))},p[14]=s):s=p[14];let H=s;p[15]===Symbol.for("react.memo_cache_sentinel")?(a=(e,t)=>{_({plugin:e,context:t})},p[15]=a):a=p[15];let $=a,A=V?.plugin.component,[T,I]=(0,np.useState)(!1);p[16]===Symbol.for("react.memo_cache_sentinel")?(l=()=>{(0,np.startTransition)(()=>I(!1))},p[16]=l):l=p[16],p[17]!==v?(d=[v],p[17]=v,p[18]=d):d=p[18],(0,np.useEffect)(l,d),p[19]!==A||p[20]!==T?(u=T||A?(0,W.jsx)(kg,{onDismiss:H,blockScroll:T}):null,p[19]=A,p[20]=T,p[21]=u):u=p[21];let P=m?"":void 0,O=v?"":void 0,B=E?"":void 0,z=g?"":void 0,D=T?"":void 0;return p[22]!==A||p[23]!==V||p[24]!==v||p[25]!==x||p[26]!==e?(c=A?(0,W.jsx)(Sb,{"data-sanity-overlay-element":!0,onClick:SR,children:(0,W.jsx)(A,{...V.context,closeExclusiveView:H})}):v?(0,W.jsx)(Sx,{...e,inFrame:x,onActivateExclusivePlugin:$,onMenuOpenChange:I}):null,p[22]=A,p[23]=V,p[24]=v,p[25]=x,p[26]=e,p[27]=c):c=p[27],p[28]!==S||p[29]!==P||p[30]!==O||p[31]!==B||p[32]!==z||p[33]!==D||p[34]!==c?(h=(0,W.jsx)(Sf,{"data-focused":P,"data-hovered":O,"data-flipped":B,"data-draggable":z,"data-menu-open":D,ref:C,style:S,children:c}),p[28]=S,p[29]=P,p[30]=O,p[31]=B,p[32]=z,p[33]=D,p[34]=c,p[35]=h):h=p[35],p[36]!==u||p[37]!==h?(f=(0,W.jsxs)(W.Fragment,{children:[u,h]}),p[36]=u,p[37]=h,p[38]=f):f=p[38],f});function Sk(e){return"object"==typeof e&&"component"in e?e:{component:e,props:{}}}let Sj=(0,np.memo)(function(e){let t,n,r,i=(0,N.c)(8),{inFrame:o}=e,s=(0,np.useSyncExternalStore)(SV,S_);i[0]!==e.href||i[1]!==s?(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,s),i[0]=e.href,i[1]=s,i[2]=t):t=i[2];let a=t,l=o?void 0:"_blank",d=o?"noopener":"noopener noreferrer";return i[3]===Symbol.for("react.memo_cache_sentinel")?(n=(0,W.jsx)(Sy,{padding:2,children:(0,W.jsx)(yc,{size:1,weight:"medium",children:"Open in Studio"})}),i[3]=n):n=i[3],i[4]!==a||i[5]!==l||i[6]!==d?(r=(0,W.jsx)(yd,{as:"a",href:a,target:l,rel:d,children:n}),i[4]=a,i[5]=l,i[6]=d,i[7]=r):r=i[7],r});function SM(e){return void 0!==e}function SL(e){return e.exclusive.length>0}function SS(e){e.stopPropagation()}function SE(e){return(0,W.jsx)(np.Fragment,{children:e.hud.map(t=>{let n=t.component;return n?(0,W.jsx)(n,{...e.context},t.name):null})},e.id)}function SR(e){e.stopPropagation()}function SV(e){let t=()=>e();return window.addEventListener("popstate",t),()=>window.removeEventListener("popstate",t)}function S_(){return window.location.href}let SH=e=>{let t,n=(0,N.c)(5),{dragGroupRect:r}
30=e,i=`${r.y}px`,o=`${r.x}px`,s=`${r.w-1}px`,a=`${r.h-1}px`;return n[0]!==i||n[1]!==o||n[2]!==s||n[3]!==a?(t=(0,W.jsx)("div",{style:{position:"absolute",top:i,left:o,width:s,height:a,border:"1px dashed #f0709b",pointerEvents:"none"}}),n[0]=i,n[1]=o,n[2]=s,n[3]=a,n[4]=t):t=n[4],t},S$=e=>{let t,n=(0,N.c)(4),{dragInsertPosition:r}=e;if(null===r)return;let i=r?.left||r?.right?"horizontal":"vertical",o=0,s=0,a=0,l=0;if("horizontal"===i){let{left:e,right:t}=r;if(a=6,t&&e){let n=e.rect.x+e.rect.w,r=t.rect.x,i=.0125*Math.min(t.rect.h,e.rect.h);o=.5*n+.5*r-3,s=e.rect.y+i,l=Math.min(t.rect.h,e.rect.h)-2*i}else if(t&&!e){let e=.0125*t.rect.h;o=t.rect.x-3,s=t.rect.y+e,l=t.rect.h-2*e}else if(e&&!t){let t=.0125*e.rect.h;o=e.rect.x+e.rect.w-3,s=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,i=e.rect.y,d=.0125*Math.min(e.rect.w,t.rect.w);l=6,o=n+d,s=.5*r+.5*i-3,a=Math.max(e.rect.w,t.rect.w)-2*d}else if(e&&!t){let t=.0125*e.rect.w;o=e.rect.x+t,s=e.rect.y-3,a=e.rect.w-2*t,l=6}else if(t&&!e){let e=.0125*t.rect.w;o=t.rect.x+e,s=t.rect.y+t.rect.h-3,a=t.rect.w-2*e,l=6}}let d=`${a}px`,u=`${l}px`,c=`translate(${o}px, ${s}px)`;return n[0]!==d||n[1]!==u||n[2]!==c?(t=(0,W.jsx)("div",{style:{position:"absolute",width:d,height:u,transform:c,background:"#556bfc",border:"2px solid white",borderRadius:"999px",zIndex:"999999"}}),n[0]=d,n[1]=u,n[2]=c,n[3]=t):t=n[3],t},SA=l7.div.withConfig({displayName:"Root",componentId:"sc-1vb3dia-0"})`--drag-preview-opacity:0.98;--drag-preview-skeleton-stroke:#ffffff;@media (prefers-color-scheme:dark){--drag-preview-skeleton-stroke:#383d51;}position:fixed;display:grid;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})`};width:${({$width:e})=>`${e}px`};height:${({$height:e})=>`${e}px`};z-index:9999999;opacity:var(--drag-preview-opacity);cursor:move;.drag-preview-content-wrapper{position:relative;width:100%;height:100%;container-type:inline-size;}[data-ui='card']{position:relative;width:100%;height:100%;}.drag-preview-skeleton{position:absolute;inset:0;rect{stroke:var(--drag-preview-skeleton-stroke);}}.drag-preview-handle{position:absolute;top:4cqmin;left:4cqmin;width:6cqmin;fill:var(--drag-preview-handle-fill);}`,ST=e=>{var t,n;let r,i,o,s,a,l,d,u,c,h,f,p,g,m,v,y,w,b,x,C,k,j=(0,N.c)(50),{skeleton:M}=e,L=Math.min(M.maxWidth,window.innerWidth/2),S=M.w>L?L/M.w:1,E=M.offsetX*S,R=M.offsetY*S,V=y$(),_=vy(),H=_.radius[~~(n=(M.w-0)*((t=_.radius.length-2)-1)/1920+1,n<1?1:n>t?t:n)];if(j[0]!==E||j[1]!==R||j[2]!==V||j[3]!==H||j[4]!==S||j[5]!==M.childRects||j[6]!==M.h||j[7]!==M.w){let e=M.childRects.filter(SI),t=M.childRects.filter(SP);i=SA,s=M.w,a=M.h,l=E,d=R,u=S,r=yk,p=H,g=4,m="hidden",v="transparent",y=V?"dark":"light",f="drag-preview-content-wrapper",c="drag-preview-skeleton",h=`0 0 ${M.w} ${M.h}`,o=[...e,...t],j[0]=E,j[1]=R,j[2]=V,j[3]=H,j[4]=S,j[5]=M.childRects,j[6]=M.h,j[7]=M.w,j[8]=r,j[9]=i,j[10]=o,j[11]=s,j[12]=a,j[13]=l,j[14]=d,j[15]=u,j[16]=c,j[17]=h,j[18]=f,j[19]=p,j[20]=g,j[21]=m,j[22]=v,j[23]=y}else r=j[8],i=j[9],o=j[10],s=j[11],a=j[12],l=j[13],d=j[14],u=j[15],c=j[16],h=j[17],f=j[18],p=j[19],g=j[20],m=j[21],v=j[22],y=j[23];return j[24]!==o||j[25]!==_.color?(w=o.map((e,t)=>(0,W.jsx)("rect",{x:e.x,y:e.y,width:e.w,height:e.h,fill:_.color.skeleton.from},t)),j[24]=o,j[25]=_.color,j[26]=w):w=j[26],j[27]!==w||j[28]!==c||j[29]!==h?(b=(0,W.jsx)("svg",{className:c,viewBox:h,children:w}),j[27]=w,j[28]=c,j[29]=h,j[30]=b):b=j[30],j[31]!==b||j[32]!==f?(x=(0,W.jsx)("div",{className:f,children:b}),j[31]=b,j[32]=f,j[33]=x):x=j[33],j[34]!==r||j[35]!==x||j[36]!==p||j[37]!==g||j[38]!==m||j[39]!==v||j[40]!==y?(C=(0,W.jsx)(r,{radius:p,shadow:g,overflow:m,tone:v,scheme:y,children:x}),j[34]=r,j[35]=x,j[36]=p,j[37]=g,j[38]=m,j[39]=v,j[40]=y,j[41]=C):C=j[41],j[42]!==i||j[43]!==s||j[44]!==a||j[45]!==l||j[46]!==d||j[47]!==u||j[48]!==C?(k=(0,W.jsx)(i,{$width:s,$height:a,$offsetX:l,$offsetY:d,$scaleFactor:u,children:C}),j[42]=i,j[43]=s,j[44]=a,j[45]=l,j[46]=d,j[47]=u,j[48]=C,j[49]=k):k=j[49],k};function SI(e){return"IMG"===e.tagName}function SP(e){return"IMG"!==e.tagName}let SO=l7(yk).withConfig({displayName:"Root",componentId:"sc-1ys1jta-0"})`position:fixed;bottom:2rem;left:2rem;`,SB=()=>{let e,t,n=(0,N.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,W.jsx)(SO,{padding:2,shadow:2,radius:2,style:e,children:(0,W.jsxs)(yf,{align:"center",gap:2,children:[(0,W.jsx)(wz,{keys:["Shift"]}),(0,W.jsx)(yc,{size:1,children:"Zoom Out"}),(0,W.jsx)(Mu,{})]})}),n[1]=t):t=n[1],t};function SW(e,t){let{type:n}=t,{contextMenu:r,focusPath:i,perspective:o,isDragging:s,dragInsertPosition:a,dragShowMinimap:l,dragShowMinimapPrompt:d,dragSkeleton:u,dragMinimapTransition:c,dragGroupRect:h}=e,f=!1;if("presentation/focus"===n){let n=e.focusPath;n!==(i=t.data.path)&&(f=n.slice(i.length).startsWith("["))}return"presentation/perspective"===n&&(o=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&&(a=t.insertPosition),"overlay/dragStart"===n&&(s=!0),"overlay/dragUpdateSkeleton"===t.type&&(u=t.skeleton),"overlay/dragEnd"===n&&(s=!1),"overlay/dragToggleMinimapPrompt"===t.type&&(d=t.display),"overlay/dragStartMinimapTransition"===n&&(c=!0),"overlay/dragEndMinimapTransition"===n&&(c=!1),"overlay/dragUpdateGroupRect"===n&&(h=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=>
30{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:a,dragSkeleton:u,dragGroupRect:h,isDragging:s,focusPath:i,perspective:o,wasMaybeCollapsed:f,dragShowMinimap:l,dragShowMinimapPrompt:d,dragMinimapTransition:c}}let SN=function(e){let t,n,r,i,o,s,a,l=(0,N.c)(13),{comlink:d,children:u}=e;l[0]===Symbol.for("react.memo_cache_sentinel")?(t=[],l[0]=t):t=l[0];let[c,h]=(0,np.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});h(t.snapshots)}catch{}},l[1]=d,l[2]=n):n=l[2];let f=n;return l[3]!==d||l[4]!==f?(r=()=>{if(!d)return;let e=new AbortController,t=d.onStatus(()=>{f(e.signal)},"connected");return()=>{e.abort(),t()}},i=[d,f],l[3]=d,l[4]=f,l[5]=r,l[6]=i):(r=l[5],i=l[6]),(0,np.useEffect)(r,i),l[7]!==d?(o=()=>d?.on("presentation/preview-snapshots",e=>{h(e.snapshots)}),s=[d],l[7]=d,l[8]=o,l[9]=s):(o=l[8],s=l[9]),(0,np.useEffect)(o,s),l[10]!==u||l[11]!==c?(a=(0,W.jsx)(Sh.Provider,{value:c,children:u}),l[10]=u,l[11]=c,l[12]=a):a=l[12],a};function Sz(e){return"document"===e.type}function SD(e){return"type"===e.type}let SF=function(e){let t,n,r,i,o,s,a,l,d,u,c,h=(0,N.c)(22),{comlink:f,children:p,elements:g}=e;h[0]===Symbol.for("react.memo_cache_sentinel")?(t=new Map,h[0]=t):t=h[0];let[m,v]=(0,np.useState)(t),[y,w]=(0,np.useState)(null);h[1]!==f?(n=()=>{if(!f)return;let e=async function(e){if(f)try{let t=await f.fetch("visual-editing/schema",void 0,{signal:e,suppressWarnings:!0});w(t.schema)}catch{}},t=new AbortController,n=f.onStatus(()=>{e(t.signal)},"connected");return()=>{t.abort(),n()}},r=[f],h[1]=f,h[2]=n,h[3]=r):(n=h[2],r=h[3]),(0,np.useEffect)(n,r),h[4]===Symbol.for("react.memo_cache_sentinel")?(i=[],h[4]=i):i=h[4];let b=(0,np.useRef)(i),x=(0,np.useDeferredValue)(g);h[5]!==x?(o=x.reduce((e,t)=>{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},[]),h[5]=x,h[6]=o):o=h[6];let C=o,k=(0,np.useRef)(null);h[7]!==f||h[8]!==C?(s=()=>{if(!C.length||!f)return;let e=async(e,t)=>{let n=b.current;try{b.current=e;let n=await f.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))},a=[f,C],h[7]=f,h[8]=C,h[9]=s,h[10]=a):(s=h[9],a=h[10]),(0,np.useEffect)(s,a),h[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")?Sz:SD).find(e=>e.name===n)},h[11]=y,h[12]=l):l=h[12];let j=l;h[13]!==j||h[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(SZ);try{return function t(n,r,i,o){let s=void 0===o?[]:o;if(!n)return{field:void 0,parent:void 0};let[a,...l]=r;if("fields"in n){let e=n.fields[a];if(!e&&"rest"in n)return t(n.rest,r,n,s);if(!l.length)return{field:e,parent:i};if(!e)throw Error(`[@sanity/visual-editing] No field could be resolved at path: "${[...s,...r].join(".")}"`);return t(e.value,l,n,[...s,a])}if("array"===n.type)return t(n.of,r,n,s);if("arrayItem"===n.type)return l.length?t(n.value,l,n,[...s,a]):{field:n,parent:i};if("union"===n.type){let r=a.startsWith("[_key==")?m?.get(e.id)?.get([s.join("."),a].filter(Boolean).join("")):a;return t(n.of.find(e=>"unionOption"===e.type?e.name===r:e),l,n,[...s,a])}if("unionOption"===n.type)return a?t(n.value,r,n,s):{field:n,parent:i};if("inline"===n.type)return t(j(n.name,"type").value,r,n,s);throw Error(`[@sanity/visual-editing] No field could be resolved at path: "${[...s,...r].join(".")}"`)}(t,n,void 0)}catch(e){return e instanceof Error&&console.warn(e.message),{field:void 0,parent:void 0}}},h[13]=j,h[14]=m,h[15]=d):d=h[15];let M=d;h[16]!==M||h[17]!==j?(u={getField:M,getType:j},h[16]=M,h[17]=j,h[18]=u):u=h[18];let L=u;return h[19]!==p||h[20]!==L?(c=(0,W.jsx)(Se.Provider,{value:L,children:p}),h[19]=p,h[20]=L,h[21]=c):c=h[21],c};function SZ(e){return e.includes("[")?e.split(/(\[.+\])/,2):[e]}let SU=(m={},v=new Set,{getState:()=>m,setState:e=>
30{m=e(m),v.forEach(e=>e())},subscribe:e=>(v.add(e),()=>v.delete(e))}),Sq=e=>{let t,n,r,i,o,s,a=(0,N.c)(11),{comlink:l,children:d}=e;a[0]!==l?(t=()=>l?.on("presentation/shared-state",SG),n=[l],a[0]=l,a[1]=t,a[2]=n):(t=a[1],n=a[2]),(0,np.useEffect)(t,n),a[3]!==l?(r=()=>{(async function(){let e=await l?.fetch("visual-editing/shared-state",void 0,{suppressWarnings:!0});e&&SU.setState(()=>e.state)})().catch(SY)},i=[l],a[3]=l,a[4]=r,a[5]=i):(r=a[4],i=a[5]),(0,np.useEffect)(r,i),a[6]!==l?(o={comlink:l,store:SU},a[6]=l,a[7]=o):o=a[7];let u=o;return a[8]!==d||a[9]!==u?(s=(0,W.jsx)(xG.Provider,{value:u,children:d}),a[8]=d,a[9]=u,a[10]=s):s=a[10],s};function SG(e){"value"in e?SU.setState(t=>({...t,[e.key]:e.value})):SU.setState(t=>Object.fromEntries(Object.entries(t).filter(t=>{let[n]=t;return n!==e.key})))}function SY(e){console.debug(e),console.warn("[@sanity/visual-editing]: Failed to fetch shared state. Check your version of `sanity` is up-to-date")}let SX=e=>{let t,n,r=(0,N.c)(5),{children:i,comlink:o}=e;r[0]!==o?(t=(e,t)=>{if(!o)return;let n=kl[e];if(n)o.post("visual-editing/telemetry-log",{event:n,data:t});else throw Error(`Telemetry event: ${e} does not exist`)},r[0]=o,r[1]=t):t=r[1];let s=t;return r[2]!==i||r[3]!==s?(n=(0,W.jsx)(kd.Provider,{value:s,children:i}),r[2]=i,r[3]=s,r[4]=n):n=r[4],n};function SK(){}function SJ(e){let{id:t,type:n,projectId:r,dataset:i}=e;return r&&i?{_id:t,_type:n,_projectId:r,_dataset:i}:{_id:t,_type:n}}function SQ(e){return e.id}let S1=l7.div.withConfig({displayName:"Root",componentId:"sc-dwbgdv-0"})`background-color:transparent;direction:ltr;inset:0;pointer-events:none;position:absolute;width:100%;height:100%;z-index:${({$zIndex:e})=>e??"9999999"};`;function S0(e){let t,n;return t=requestAnimationFrame(()=>{n=requestAnimationFrame(e)}),()=>{void 0!==t&&cancelAnimationFrame(t),void 0!==n&&cancelAnimationFrame(n)}}let S5=e=>{let t,n,r,i,o,s=(0,N.c)(8),{documentIds:a}=e;s[0]===Symbol.for("react.memo_cache_sentinel")?(t=[],s[0]=t):t=s[0];let[l,d]=(0,np.useState)(t);s[1]!==a?(n=()=>{(0,np.startTransition)(()=>d(e=>{let t=Array.from(new Set(a));return e.length===t.length&&e.reduce(Es,t)?.length===0?e:t}))},r=[a],s[1]=a,s[2]=n,s[3]=r):(n=s[2],r=s[3]),(0,np.useEffect)(n,r);let u=bR();return s[4]!==u||s[5]!==l?(i=()=>{for(let e of l)u.send({type:"observe",documentId:(0,nm.getDraftId)(e)}),u.send({type:"observe",documentId:(0,nm.getPublishedId)(e)});return()=>{for(let e of l)u.send({type:"unobserve",documentId:(0,nm.getDraftId)(e)}),u.send({type:"unobserve",documentId:(0,nm.getPublishedId)(e)})}},o=[u,l],s[4]=u,s[5]=l,s[6]=i,s[7]=o):(i=s[6],o=s[7]),(0,np.useEffect)(i,o),null},S2=e=>{var t;let n,r,i,o,s,a,l,d,u=(0,N.c)(12),{comlink:c,dispatch:h,inFrame:f,inPopUp:p,onDrag:g,overlayEnabled:m,rootElement:v}=e,{dispatchDragEndEvent:y}=function(){let e,t,n,r=(0,N.c)(4),{getDocument:i}=bI();return r[0]!==i?(e=()=>{let e=e=>{let{insertPosition:t,target:n,preventInsertDefault:r}=e.detail;if(r)return;let o=function(e){if(e){let{top:t,right:n,bottom:r,left:i}=e;if(i||t)return{node:(i??t).sanity,position:"after"};if(n||r)return{node:(n??r).sanity,position:"before"}}}(t);if(o){let e=i(n.id),{node:t,position:r}=o,{key:s,hasExplicitKey:a}=bO(n),{path:l,key:d}=bO(t);l&&d&&d!==s&&e.patch(async e=>{let{getSnapshot:t}=e,i=bS(await t(),n.path);return a?[bc(l,bp({_key:s})),bc(l,bh(i,r,{_key:d}))]:[bc(l,bp(~~s)),bc(l,bh(i,r,d>s?~~d-1:~~d))]})}};return window.addEventListener("sanity/dragEnd",e),()=>{window.removeEventListener("sanity/dragEnd",e)}},t=[i],r[0]=i,r[1]=e,r[2]=t):(e=r[1],t=r[2]),(0,np.useEffect)(e,t),r[3]===Symbol.for("react.memo_cache_sentinel")?(n={dispatchDragEndEvent:L7},r[3]=n):n=r[3],n}(),w=ku();u[0]!==c||u[1]!==h||u[2]!==y||u[3]!==g||u[4]!==w?(n=e=>{if("element/click"===e.type){let{sanity:t}=e;c?.post("visual-editing/focus",t),w("Visual Editing Overlay Clicked",null)}else if("overlay/activate"===e.type)c?.post("visual-editing/toggle",{enabled:!0});else if("overlay/deactivate"===e.type)c?.post("visual-editing/toggle",{enabled:!1});else if("overlay/dragEnd"===e.type){let{insertPosition:t,target:n,dragGroup:r,flow:i,preventInsertDefault:o}=e;y({insertPosition:t,target:n,dragGroup:r,flow:i,preventInsertDefault:o}),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")}h(e)},u[0]=c,u[1]=h,u[2]=y,u[3]=g,u[4]=w,u[5]=n):n=u[5];let b=(t=n,a=(0,N.c)(7),l=(0,np.useRef)(void 0),d=b$(),a[0]!==v||a[1]!==t||a[2]!==f||a[3]!==p||a[4]!==d?(o=()=>
30{if(v)return l.current=xq({handler:t,overlayElement:v,inFrame:f,inPopUp:p,optimisticActorReady:d}),()=>{l.current?.destroy(),l.current=void 0}},s=[v,t,f,p,d],a[0]=v,a[1]=t,a[2]=f,a[3]=p,a[4]=d,a[5]=o,a[6]=s):(o=a[5],s=a[6]),(0,np.useEffect)(o,s),l);return u[6]!==b.current||u[7]!==m?(r=()=>{m?b.current?.activate():b.current?.deactivate()},u[6]=b.current,u[7]=m,u[8]=r):r=u[8],u[9]!==b||u[10]!==m?(i=[b,m],u[9]=b,u[10]=m,u[11]=i):i=u[11],(0,np.useEffect)(r,i),null};function S3(e){let t,n,r,i,o,s,a,l,d,u,c,h,f,p,g,m,v,y,w,b,x,C,k,j,M,L,S,E,R,V,_,H,$,A,T,I=(0,N.c)(77),{comlink:P,comlinkStatus:O,componentResolver:B,inFrame:z,inPopUp:D,zIndex:F,onPerspectiveChange:Z}=e,U=y$();I[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},I[0]=t):t=I[0];let[q,G]=(0,np.useReducer)(SW,t),{contextMenu:Y,dragInsertPosition:X,dragShowMinimap:K,dragShowMinimapPrompt:J,dragSkeleton:Q,elements:ee,isDragging:et,perspective:en,wasMaybeCollapsed:er,dragMinimapTransition:ei,dragGroupRect:eo}=q,[es,ea]=(0,np.useState)(null),[el,ed]=(0,np.useState)(!0);I[1]!==P?(n=()=>{let e=[P?.on("presentation/focus",e=>{G({type:"presentation/focus",data:e})}),P?.on("presentation/blur",e=>{G({type:"presentation/blur",data:e})}),P?.on("presentation/toggle-overlay",()=>{ed(Er)})].filter(Boolean);return()=>e.forEach(En)},r=[P],I[1]=P,I[2]=n,I[3]=r):(n=I[2],r=I[3]),(0,np.useEffect)(n,r),S=(0,N.c)(11),E=!!Z,S[0]!==G||S[1]!==Z?(j=e=>{G({type:"presentation/perspective",data:e}),Z?.(e.perspective)},S[0]=G,S[1]=Z,S[2]=j):j=S[2],R=(0,np.useEffectEvent)(j),S[3]!==P||S[4]!==R||S[5]!==E?(M=()=>{let e=new AbortController;P?.fetch("visual-editing/fetch-perspective",{handlesPerspectiveChange:E},{signal:e.signal,suppressWarnings:!0}).then(e=>{R(e)}).catch(SK);let t=P?.on("presentation/perspective",e=>{R(e)});return()=>{t?.(),e.abort()}},S[3]=P,S[4]=R,S[5]=E,S[6]=M):M=S[6],S[7]!==P||S[8]!==G||S[9]!==E?(L=[P,G,E],S[7]=P,S[8]=G,S[9]=E,S[10]=L):L=S[10],(0,np.useEffect)(M,L),$=(0,N.c)(7),A=(0,np.useRef)(void 0),$[0]!==P?(V=(e,t)=>{P?.post("visual-editing/documents",{documents:e,perspective:t})},$[0]=P,$[1]=V):V=$[1],T=V,$[2]!==ee||$[3]!==en||$[4]!==T?(_=()=>{let e,t,n=(e=[...ee].sort((e,t)=>{let n=e.rect.y-t.rect.y;return 0!==n?n:e.rect.x-t.rect.x}),t=new Set,e.reduce((e,n)=>{let{sanity:r}=n;return!(!r||!("id"in r)||t.has(r.id))&&(t.add(r.id),e.push(r)),e},[])),r=n.map(SQ),i=A.current?.orderedIds;if(!i||i.length!==r.length||r.some((e,t)=>e!==i[t])||en!==A.current?.perspective){let e=n.map(SJ);A.current={orderedIds:r,perspective:en},T(e,en)}},H=[ee,en,T],$[2]=ee,$[3]=en,$[4]=T,$[5]=_,$[6]=H):(_=$[5],H=$[6]),(0,np.useEffect)(_,H),I[4]!==es?(i=(e,t)=>{es&&(es.style.setProperty("--drag-preview-x",`${e}px`),es.style.setProperty("--drag-preview-y",`${t-window.scrollY}px`))},I[4]=es,I[5]=i):i=I[5];let eu=i;I[6]===Symbol.for("react.memo_cache_sentinel")?(o=()=>{let e=!1,t=t=>{Eo(t)&&e&&(e=!1,ed(Ee))},n=t=>{var n,r;if(Eo(t)){if(t.ctrlKey||t.metaKey||t.shiftKey)return;e||(e=!0,ed(S7))}n=["mod","\\"],r=t,n.every(e=>Ei[e]?r[Ei[e]]:r.key===e.toUpperCase())&&ed(S9)},r=()=>{e&&(e=!1,ed(S8))};return window.addEventListener("click",Et),window.addEventListener("keydown",n),window.addEventListener("keyup",t),window.addEventListener("blur",r),()=>{window.removeEventListener("click",Et),window.removeEventListener("keydown",n),window.removeEventListener("keyup",t),window.removeEventListener("blur",r)}},s=[ed],I[6]=o,I[7]=s):(o=I[6],s=I[7]),(0,np.useEffect)(o,s);let[ec,eh]=(0,np.useState)(!1),[ef,ep]=(0,np.useState)(!1),eg=(0,np.useRef)(void 0);I[8]!==el?(a=()=>{if(el)return S0(()=>{eh(!0),S0(()=>{ep(!0),eg.current=setTimeout(()=>{ep(!1),eh(!1)},1500)})});eg.current&&(clearTimeout(eg.current),(0,np.startTransition)(()=>{eh(!1),ep(!1)}))},l=[el],I[8]=el,I[9]=a,I[10]=l):(a=I[9],l=I[10]),(0,np.useEffect)(a,l),I[11]!==ee?(d=ee.flatMap(S4),I[11]=ee,I[12]=d):d=I[12];let em=d;I[13]===Symbol.for("react.memo_cache_sentinel")?(u=()=>{G({type:"overlay/blur"})},I[13]=u):u=I[13];let ev=u,ey=b$(),ew=ey?B:void 0,[eb,ex]=(0,np.useState)(!1);!eb&&z&&"connected"===O&&ex(!0);t:{let t;if(et){let e;I[14]===Symbol.for("react.memo_cache_sentinel")?(e=[],I[14]=e):e=I[14],c=e;break t}I[15]!==P||I[16]!==ew||I[17]!==ei||I[18]!==K||I[19]!==ee||I[20]!==z||I[21]!==et||I[22]!==ey||I[23]!==e.plugins||I[24]!==eb||I[25]!==er?(t=ee.filter(S6).map(t=>{let{id:n,element:r,focused:i,hovered:o,rect:s,sanity:a,dragDisabled:l,targets:d,elementType:u}=t,c=!l&&!!r.getAttribute("data-sanity")&&ey&&ee.some(e=>"id"in e.sanity&&"id"in a&&xZ(e.sanity,a)&&e.sanity.path!==a.path);return(0,W.jsx)(SC,{comlink:P,componentResolver:ew,plugins:e.plugins,element:r,enableScrollIntoView:!et&&!ei&&!K,id:n,focused:i,hovered:o,node:a,rect:s,showActions:!eb,draggable:c,isDragging:et||ei,wasMaybeCollapsed:i&&er,targets:d,elementType:u,inFrame:z},n)}),I[15]=P,I[16]=ew,I[17]=ei,I[18]=K,I[19]=ee,I[20]=z,I[21]=et,I[22]=ey,I[23]=e.plugins,I[24]=eb,I[25]=er,I[26]=t):t=I[26],c=t}let eC=c,ek=U?"dark":"light",ej=ef?"":void 0,eM=ec?"":void 0;return I[27]!==em||I[28]!==en?(h=(0,W.jsx)(S5,{documentIds:em,perspective:en}),I[27]=em,I[28]=en,I[29]=h):h=I[29],I[30]!==P||I[31]!==z||I[32]!==D||I[33]!==el||I[34]!==es||I[35]!==eu?(f=(0,W.jsx)(S2,{comlink:P,dispatch:G,inFrame:z,inPopUp:D,onDrag:eu,overlayEnabled:el,rootElement:es}),I[30]=P,I[31]=z,I[32]=D,I[33]=el,I[34]=es,I[35]=eu,I[36]=f):f=I[36],I[37]!==Y?(p=Y&&(0,W.jsx)(Sc,{...Y,onDismiss:ev}),I[37]=Y,I[38]=p):p=I[38],I[39]!==eo||I[40]!==X||I[41]!==ei||I[42]!==J||I[43]!==et?(g=et&&!ei&&(0,W.jsxs)(W.Fragment,{children:[X&&(0,W.jsx)(S$,{dragInsertPosition:X}),J&&(0,W.jsx)(SB,{}
30),eo&&(0,W.jsx)(SH,{dragGroupRect:eo})]}),I[39]=eo,I[40]=X,I[41]=ei,I[42]=J,I[43]=et,I[44]=g):g=I[44],I[45]!==Q||I[46]!==et?(m=et&&Q&&(0,W.jsx)(ST,{skeleton:Q}),I[45]=Q,I[46]=et,I[47]=m):m=I[47],I[48]!==eC||I[49]!==ej||I[50]!==eM||I[51]!==h||I[52]!==f||I[53]!==p||I[54]!==g||I[55]!==m||I[56]!==F?(v=(0,W.jsxs)(S1,{"data-fading-out":ej,"data-overlays":eM,ref:ea,$zIndex:F,children:[h,f,p,eC,g,m]}),I[48]=eC,I[49]=ej,I[50]=eM,I[51]=h,I[52]=f,I[53]=p,I[54]=g,I[55]=m,I[56]=F,I[57]=v):v=I[57],I[58]!==P||I[59]!==v?(y=(0,W.jsx)(Sq,{comlink:P,children:v}),I[58]=P,I[59]=v,I[60]=y):y=I[60],I[61]!==P||I[62]!==y?(w=(0,W.jsx)(SN,{comlink:P,children:y}),I[61]=P,I[62]=y,I[63]=w):w=I[63],I[64]!==P||I[65]!==ee||I[66]!==w?(b=(0,W.jsx)(SF,{comlink:P,elements:ee,children:w}),I[64]=P,I[65]=ee,I[66]=w,I[67]=b):b=I[67],I[68]!==es||I[69]!==b?(x=(0,W.jsx)(y5,{children:(0,W.jsx)(wi,{element:es,children:b})}),I[68]=es,I[69]=b,I[70]=x):x=I[70],I[71]!==ek||I[72]!==x?(C=(0,W.jsx)(vg,{scheme:ek,theme:m4,tone:"transparent",children:x}),I[71]=ek,I[72]=x,I[73]=C):C=I[73],I[74]!==P||I[75]!==C?(k=(0,W.jsx)(SX,{comlink:P,children:C}),I[74]=P,I[75]=C,I[76]=k):k=I[76],k}function S6(e){return e.activated||e.focused}function S4(e){return"id"in e.sanity?[e.sanity.id]:[]}function S8(e){return!e}function S9(e){return!e}function S7(e){return!e}function Ee(e){return!e}function Et(e){let t=e.target;if((vr(t)||vn(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 En(e){return e()}function Er(e){return!e}let Ei={alt:"altKey",ctrl:"ctrlKey",mod:"u">typeof window&&/Mac|iPod|iPhone|iPad/.test(window.navigator.platform)?"metaKey":"ctrlKey",shift:"shiftKey"};function Eo(e){return"Alt"===e.key}function Es(e,t){return e.filter(e=>e!==t)}let Ea=e=>{let t,n,r=(0,N.c)(4),{comlink:i,refresh:o}=e,s=(0,np.useRef)(0),a=(0,np.useRef)(0);return r[0]!==i||r[1]!==o?(t=()=>i.on("presentation/refresh",e=>{if("manual"===e.source){clearTimeout(s.current);let t=o(e);if(!1===t)return;i.post("visual-editing/refreshing",e);let n=!1;s.current=window.setTimeout(()=>{i.post("visual-editing/refreshed",e),n=!0},3e3),t?.finally?.(()=>{n||(clearTimeout(s.current),i.post("visual-editing/refreshed",e))})}else if("mutation"===e.source){clearTimeout(a.current);let t=o(e);if(!1===t)return;i.post("visual-editing/refreshing",e),a.current=window.setTimeout(()=>{let t=o(e);!1!==t&&(i.post("visual-editing/refreshing",e),t?.finally?.(()=>{i.post("visual-editing/refreshed",e)})||i.post("visual-editing/refreshed",e))},1e3),t?.finally?.(()=>{i.post("visual-editing/refreshed",e)})||i.post("visual-editing/refreshed",e)}}),n=[i,o],r[0]=i,r[1]=o,r[2]=t,r[3]=n):(t=r[2],n=r[3]),(0,np.useEffect)(t,n),null};function El(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 Ed(){console.warn("[@sanity/visual-editing] Package version mismatch detected: Please update your Sanity studio to prevent potential compatibility issues.")}function Eu(){}let Ec=(0,np.lazy)(()=>e.A(17087)),Eh=e=>{var t;let n,r,i,o,s,a,l,d,u,c,h,f,p,g,m=(0,N.c)(33),{components:v,plugins:y,history:w,portal:b,refresh:x,zIndex:C,onPerspectiveChange:k}=e,j=void 0===b||b,[M,L]=(0,np.useState)(null),[S,E]=(0,np.useState)(null);m[0]===Symbol.for("react.memo_cache_sentinel")?(n=()=>{(0,np.startTransition)(()=>{L(nh()),E(nf())})},r=[],m[0]=n,m[1]=r):(n=m[0],r=m[1]),(0,np.useEffect)(n,r);let[R,V]=(0,np.useState)(null);m[2]!==j?(i=()=>{if(!1===j)return;let e=document.createElement("sanity-visual-editing");return document.documentElement.appendChild(e),(0,np.startTransition)(()=>V(e)),()=>{(0,np.startTransition)(()=>V(null)),document.documentElement.contains(e)&&document.documentElement.removeChild(e)}},o=[j],m[2]=j,m[3]=i,m[4]=o):(i=m[3],o=m[4]),(0,np.useEffect)(i,o);let[_,H]=function(e){let t,n,r,i,o,s=(0,N.c)(9),a=void 0===e||e,[l,d]=(0,np.useState)(),[u,c]=(0,np.useState)("idle");return s[0]!==a?(t=()=>{if(!a)return;let e=ns({name:"visual-editing",connectTo:"presentation"},no().provide({actors:nc()})),t=e.onStatus(()=>c("connected"),"connected");(0,np.startTransition)(()=>d(e));let n=e.start();return()=>{t(),n(),(0,np.startTransition)(()=>d(void 0))}},n=[a],s[0]=a,s[1]=t,s[2]=n):(t=s[1],n=s[2]),(0,np.useEffect)(t,n),s[3]!==u?(r=()=>{if("connected"===u)return;let e=new AbortController;return window.addEventListener("message",El,{signal:e.signal}),()=>{e.abort()}},i=[u],s[3]=u,s[4]=r,s[5]=i):(r=s[4],i=s[5]),(0,np.useEffect)(r,i),s[6]!==l||s[7]!==u?(o=[l,u],s[6]=l,s[7]=u,s[8]=o):o=s[8],o}(!0===M||!0===S);t="connected"===H?_:void 0,(g=(0,N.c)(3))[0]!==t?(f=()=>{let e,n;if(!t)return;let r=(e=new Mc.ReplaySubject(1),n=new Mh.Subject,t.fetch("visual-editing/snapshot-welcome",void 0,{suppressWarnings:!0}).then(t=>{e.next(t.event)}).catch(()=>{}
30),t.on("presentation/snapshot-event",t=>{"reconnect"===t.event.type&&e.next(t.event),"mutation"===t.event.type&&n.next(t.event)}),(0,Mf.merge)(e,n)),i=ev(Lq(t),{input:{client:{withConfig:Eu},sharedListener:r}});i.start();let o=new AbortController;return t.fetch("visual-editing/features",void 0,{signal:o.signal,suppressWarnings:!0}).then(e=>{e.features.optimistic&&bb(i)}).catch(Ed),()=>{i.stop(),o.abort()}},p=[t],g[0]=t,g[1]=f,g[2]=p):(f=g[1],p=g[2]),(0,np.useEffect)(f,p);let $=(0,np.useDeferredValue)((0,np.useSyncExternalStore)(L4,L8,Ef),!1);m[5]!==H||m[6]!==M||m[7]!==S?(s=()=>{if("connected"===H)LX(S?"presentation-window":"presentation-iframe");else if(M||S){let e=setTimeout(Ep,1e3);return()=>{clearTimeout(e),LX(null)}}else LX("standalone");return Eg},a=[H,S,M],m[5]=H,m[6]=M,m[7]=S,m[8]=s,m[9]=a):(s=m[8],a=m[9]),(0,np.useEffect)(s,a),m[10]!==_||m[11]!==H||m[12]!==v||m[13]!==M||m[14]!==S||m[15]!==k||m[16]!==y||m[17]!==C?(l=null!==M&&null!==S&&(0,W.jsx)(S3,{comlink:_,comlinkStatus:H,componentResolver:v,onPerspectiveChange:k,plugins:y,inFrame:M,inPopUp:S,zIndex:C}),m[10]=_,m[11]=H,m[12]=v,m[13]=M,m[14]=S,m[15]=k,m[16]=y,m[17]=C,m[18]=l):l=m[18],m[19]!==_||m[20]!==w||m[21]!==x?(d=_&&(0,W.jsxs)(W.Fragment,{children:[(0,W.jsx)(LK,{comlink:_,history:w}),(0,W.jsx)(L9,{comlink:_}),x&&(0,W.jsx)(Ea,{comlink:_,refresh:x})]}),m[19]=_,m[20]=w,m[21]=x,m[22]=d):d=m[22],m[23]!==H||m[24]!==$?(u="connected"===H&&$&&(0,W.jsx)(np.Suspense,{children:(0,W.jsx)(Ec,{})}),m[23]=H,m[24]=$,m[25]=u):u=m[25],m[26]!==l||m[27]!==d||m[28]!==u?(c=(0,W.jsxs)(W.Fragment,{children:[l,d,u]}),m[26]=l,m[27]=d,m[28]=u,m[29]=c):c=m[29];let A=c;return!1!==j&&R?(m[30]!==A||m[31]!==R?(h=(0,ng.createPortal)(A,R),m[30]=A,m[31]=R,m[32]=h):h=m[32],h):A};function Ef(){return!1}function Ep(){return LX("standalone")}function Eg(){return LX(null)}Eh.displayName="VisualEditing",e.s(["VisualEditing",0,Eh,"addQueryListener",0,function(){if(L6++,!L3)for(let e of(L3=!0,L2))e();return()=>{if(0==--L6&&L3)for(let e of(L3=!1,L2))e()}},"comlink",()=>LQ,"comlinkDataset",()=>L0,"comlinkPerspective",()=>L5,"comlinkProjectId",()=>L1,"getSnapshot",0,function(){return LY},"setLoaderClientConfig",0,function(e,t){for(let n of(L1=e,L0=t,LJ))n()},"setLoaderComlink",0,function(e){for(let t of(LQ=e,LJ))t()},"setLoaderPerspective",0,function(e){for(let t of(L5=e,LJ))t()},"subscribe",0,function(e){return LG.add(e),()=>{LG.delete(e)}},"subscribe$1",0,function(e){return LJ.add(e),()=>LJ.delete(e)}],46856)}]);

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.