@bitrise/bitkit-v2 0.3.32 → 0.3.34

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (41) hide show
  1. package/dist/bitkit-v2.css +1 -1
  2. package/dist/bitkit-v2.js +7607 -3325
  3. package/dist/bitkit-v2.umd.cjs +7 -8
  4. package/dist/main.d.ts +2 -4
  5. package/dist/providers/BitkitProvider.d.ts +3 -18
  6. package/dist/theme/breakpoints.d.ts +7 -0
  7. package/dist/theme/global-css.d.ts +2 -0
  8. package/dist/theme/index.d.ts +2 -4
  9. package/dist/theme/recipes/Button.recipe.d.ts +24 -0
  10. package/dist/theme/recipes/Input.recipe.d.ts +4 -0
  11. package/dist/theme/recipes/index.d.ts +25 -0
  12. package/dist/theme/semantic-tokens/index.d.ts +46 -0
  13. package/dist/theme/semantic-tokens/semanticColors.d.ts +2 -0
  14. package/dist/theme/semantic-tokens/semanticColors.json.d.ts +1045 -0
  15. package/dist/theme/semantic-tokens/shadows.d.ts +43 -0
  16. package/dist/theme/semantic-tokens/shadows.json.d.ts +44 -0
  17. package/dist/theme/slot-recipes/Field.recipe.d.ts +2 -0
  18. package/dist/theme/slot-recipes/index.d.ts +4 -0
  19. package/dist/theme/text-styles.d.ts +3 -0
  20. package/dist/theme/themeUtils.d.ts +4 -0
  21. package/dist/theme/tokens/colors.d.ts +2 -0
  22. package/dist/theme/tokens/colors.json.d.ts +112 -0
  23. package/dist/theme/tokens/fontSizes.d.ts +30 -0
  24. package/dist/theme/tokens/fontSizes.json.d.ts +32 -0
  25. package/dist/theme/tokens/fontWeights.d.ts +15 -0
  26. package/dist/theme/tokens/fontWeights.json.d.ts +17 -0
  27. package/dist/theme/tokens/fonts.d.ts +9 -0
  28. package/dist/theme/tokens/fonts.json.d.ts +11 -0
  29. package/dist/theme/tokens/index.d.ts +198 -0
  30. package/dist/theme/tokens/radii.d.ts +21 -0
  31. package/dist/theme/tokens/radii.json.d.ts +23 -0
  32. package/dist/theme/tokens/sizes.d.ts +48 -0
  33. package/dist/theme/tokens/sizesAndSpacing.json.d.ts +50 -0
  34. package/dist/theme/tokens/spacing.d.ts +48 -0
  35. package/dist/theme/tokens/zIndex.d.ts +30 -0
  36. package/dist/theme/tokens/zIndex.json.d.ts +32 -0
  37. package/package.json +21 -20
  38. package/dist/atoms/Button/Button.d.ts +0 -4
  39. package/dist/atoms/Button/Button.recepie.d.ts +0 -167
  40. package/dist/atoms/Button/index.d.ts +0 -2
  41. package/dist/atoms/index.d.ts +0 -1
@@ -1,4 +1,4 @@
1
- (function(pe,K){typeof exports=="object"&&typeof module<"u"?K(exports,require("react")):typeof define=="function"&&define.amd?define(["exports","react"],K):(pe=typeof globalThis<"u"?globalThis:pe||self,K(pe.BitriseBitkitV2={},pe.React))})(this,function(pe,K){"use strict";function fn(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:()=>e[t]})}}return r.default=e,Object.freeze(r)}const U=fn(K);function pn(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Le={exports:{}},Me={};/**
1
+ (function(je,ke){typeof exports=="object"&&typeof module<"u"?ke(exports,require("react")):typeof define=="function"&&define.amd?define(["exports","react"],ke):(je=typeof globalThis<"u"?globalThis:je||self,ke(je.BitriseBitkitV2={},je.React))})(this,(function(je,ke){"use strict";function fa(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const de=fa(ke);function ha(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var jt={exports:{}},St={};/**
2
2
  * @license React
3
3
  * react-jsx-runtime.production.js
4
4
  *
@@ -6,7 +6,7 @@
6
6
  *
7
7
  * This source code is licensed under the MIT license found in the
8
8
  * LICENSE file in the root directory of this source tree.
9
- */var jr;function gn(){if(jr)return Me;jr=1;var e=Symbol.for("react.transitional.element"),r=Symbol.for("react.fragment");function t(n,o,a){var s=null;if(a!==void 0&&(s=""+a),o.key!==void 0&&(s=""+o.key),"key"in o){a={};for(var i in o)i!=="key"&&(a[i]=o[i])}else a=o;return o=a.ref,{$$typeof:e,type:n,key:s,ref:o!==void 0?o:null,props:a}}return Me.Fragment=r,Me.jsx=t,Me.jsxs=t,Me}var Be={};/**
9
+ */var Gr;function ma(){if(Gr)return St;Gr=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function n(r,o,i){var s=null;if(i!==void 0&&(s=""+i),o.key!==void 0&&(s=""+o.key),"key"in o){i={};for(var a in o)a!=="key"&&(i[a]=o[a])}else i=o;return o=i.ref,{$$typeof:e,type:r,key:s,ref:o!==void 0?o:null,props:i}}return St.Fragment=t,St.jsx=n,St.jsxs=n,St}var It={};/**
10
10
  * @license React
11
11
  * react-jsx-runtime.development.js
12
12
  *
@@ -14,26 +14,25 @@
14
14
  *
15
15
  * This source code is licensed under the MIT license found in the
16
16
  * LICENSE file in the root directory of this source tree.
17
- */var $r;function bn(){return $r||($r=1,process.env.NODE_ENV!=="production"&&function(){function e(p){if(p==null)return null;if(typeof p=="function")return p.$$typeof===_?null:p.displayName||p.name||null;if(typeof p=="string")return p;switch(p){case g:return"Fragment";case C:return"Profiler";case k:return"StrictMode";case b:return"Suspense";case A:return"SuspenseList";case P:return"Activity"}if(typeof p=="object")switch(typeof p.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),p.$$typeof){case v:return"Portal";case x:return(p.displayName||"Context")+".Provider";case S:return(p._context.displayName||"Context")+".Consumer";case w:var T=p.render;return p=p.displayName,p||(p=T.displayName||T.name||"",p=p!==""?"ForwardRef("+p+")":"ForwardRef"),p;case M:return T=p.displayName||null,T!==null?T:e(p.type)||"Memo";case R:T=p._payload,p=p._init;try{return e(p(T))}catch{}}return null}function r(p){return""+p}function t(p){try{r(p);var T=!1}catch{T=!0}if(T){T=console;var I=T.error,H=typeof Symbol=="function"&&Symbol.toStringTag&&p[Symbol.toStringTag]||p.constructor.name||"Object";return I.call(T,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",H),r(p)}}function n(p){if(p===g)return"<>";if(typeof p=="object"&&p!==null&&p.$$typeof===R)return"<...>";try{var T=e(p);return T?"<"+T+">":"<...>"}catch{return"<...>"}}function o(){var p=z.A;return p===null?null:p.getOwner()}function a(){return Error("react-stack-top-frame")}function s(p){if(O.call(p,"key")){var T=Object.getOwnPropertyDescriptor(p,"key").get;if(T&&T.isReactWarning)return!1}return p.key!==void 0}function i(p,T){function I(){W||(W=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",T))}I.isReactWarning=!0,Object.defineProperty(p,"key",{get:I,configurable:!0})}function u(){var p=e(this.type);return ne[p]||(ne[p]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),p=this.props.ref,p!==void 0?p:null}function d(p,T,I,H,oe,Q,xe,Ce){return I=Q.ref,p={$$typeof:h,type:p,key:T,props:Q,_owner:oe},(I!==void 0?I:null)!==null?Object.defineProperty(p,"ref",{enumerable:!1,get:u}):Object.defineProperty(p,"ref",{enumerable:!1,value:null}),p._store={},Object.defineProperty(p._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(p,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(p,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:xe}),Object.defineProperty(p,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:Ce}),Object.freeze&&(Object.freeze(p.props),Object.freeze(p)),p}function c(p,T,I,H,oe,Q,xe,Ce){var m=T.children;if(m!==void 0)if(H)if(J(m)){for(H=0;H<m.length;H++)f(m[H]);Object.freeze&&Object.freeze(m)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else f(m);if(O.call(T,"key")){m=e(p);var y=Object.keys(T).filter(function(V){return V!=="key"});H=0<y.length?"{key: someKey, "+y.join(": ..., ")+": ...}":"{key: someKey}",F[m+H]||(y=0<y.length?"{"+y.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
17
+ */var Ur;function pa(){return Ur||(Ur=1,process.env.NODE_ENV!=="production"&&(function(){function e(O){if(O==null)return null;if(typeof O=="function")return O.$$typeof===P?null:O.displayName||O.name||null;if(typeof O=="string")return O;switch(O){case h:return"Fragment";case E:return"Profiler";case y:return"StrictMode";case v:return"Suspense";case T:return"SuspenseList";case k:return"Activity"}if(typeof O=="object")switch(typeof O.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),O.$$typeof){case m:return"Portal";case p:return(O.displayName||"Context")+".Provider";case b:return(O._context.displayName||"Context")+".Consumer";case S:var A=O.render;return O=O.displayName,O||(O=A.displayName||A.name||"",O=O!==""?"ForwardRef("+O+")":"ForwardRef"),O;case R:return A=O.displayName||null,A!==null?A:e(O.type)||"Memo";case w:A=O._payload,O=O._init;try{return e(O(A))}catch{}}return null}function t(O){return""+O}function n(O){try{t(O);var A=!1}catch{A=!0}if(A){A=console;var M=A.error,X=typeof Symbol=="function"&&Symbol.toStringTag&&O[Symbol.toStringTag]||O.constructor.name||"Object";return M.call(A,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",X),t(O)}}function r(O){if(O===h)return"<>";if(typeof O=="object"&&O!==null&&O.$$typeof===w)return"<...>";try{var A=e(O);return A?"<"+A+">":"<...>"}catch{return"<...>"}}function o(){var O=D.A;return O===null?null:O.getOwner()}function i(){return Error("react-stack-top-frame")}function s(O){if(L.call(O,"key")){var A=Object.getOwnPropertyDescriptor(O,"key").get;if(A&&A.isReactWarning)return!1}return O.key!==void 0}function a(O,A){function M(){ae||(ae=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",A))}M.isReactWarning=!0,Object.defineProperty(O,"key",{get:M,configurable:!0})}function l(){var O=e(this.type);return ie[O]||(ie[O]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),O=this.props.ref,O!==void 0?O:null}function c(O,A,M,X,ue,ne,ze,nt){return M=ne.ref,O={$$typeof:f,type:O,key:A,props:ne,_owner:ue},(M!==void 0?M:null)!==null?Object.defineProperty(O,"ref",{enumerable:!1,get:l}):Object.defineProperty(O,"ref",{enumerable:!1,value:null}),O._store={},Object.defineProperty(O._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(O,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(O,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:ze}),Object.defineProperty(O,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:nt}),Object.freeze&&(Object.freeze(O.props),Object.freeze(O)),O}function u(O,A,M,X,ue,ne,ze,nt){var C=A.children;if(C!==void 0)if(X)if(J(C)){for(X=0;X<C.length;X++)g(C[X]);Object.freeze&&Object.freeze(C)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else g(C);if(L.call(A,"key")){C=e(O);var I=Object.keys(A).filter(function(U){return U!=="key"});X=0<I.length?"{key: someKey, "+I.join(": ..., ")+": ...}":"{key: someKey}",V[C+X]||(I=0<I.length?"{"+I.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
18
18
  let props = %s;
19
19
  <%s {...props} />
20
20
  React keys must be passed directly to JSX without using spread:
21
21
  let props = %s;
22
- <%s key={someKey} {...props} />`,H,m,y,m),F[m+H]=!0)}if(m=null,I!==void 0&&(t(I),m=""+I),s(T)&&(t(T.key),m=""+T.key),"key"in T){I={};for(var B in T)B!=="key"&&(I[B]=T[B])}else I=T;return m&&i(I,typeof p=="function"?p.displayName||p.name||"Unknown":p),d(p,m,Q,oe,o(),I,xe,Ce)}function f(p){typeof p=="object"&&p!==null&&p.$$typeof===h&&p._store&&(p._store.validated=1)}var l=K,h=Symbol.for("react.transitional.element"),v=Symbol.for("react.portal"),g=Symbol.for("react.fragment"),k=Symbol.for("react.strict_mode"),C=Symbol.for("react.profiler"),S=Symbol.for("react.consumer"),x=Symbol.for("react.context"),w=Symbol.for("react.forward_ref"),b=Symbol.for("react.suspense"),A=Symbol.for("react.suspense_list"),M=Symbol.for("react.memo"),R=Symbol.for("react.lazy"),P=Symbol.for("react.activity"),_=Symbol.for("react.client.reference"),z=l.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,O=Object.prototype.hasOwnProperty,J=Array.isArray,re=console.createTask?console.createTask:function(){return null};l={react_stack_bottom_frame:function(p){return p()}};var W,ne={},le=l.react_stack_bottom_frame.bind(l,a)(),fe=re(n(a)),F={};Be.Fragment=g,Be.jsx=function(p,T,I,H,oe){var Q=1e4>z.recentlyCreatedOwnerStacks++;return c(p,T,I,!1,H,oe,Q?Error("react-stack-top-frame"):le,Q?re(n(p)):fe)},Be.jsxs=function(p,T,I,H,oe){var Q=1e4>z.recentlyCreatedOwnerStacks++;return c(p,T,I,!0,H,oe,Q?Error("react-stack-top-frame"):le,Q?re(n(p)):fe)}}()),Be}var Wr;function mn(){return Wr||(Wr=1,process.env.NODE_ENV==="production"?Le.exports=gn():Le.exports=bn()),Le.exports}var X=mn();function Dr(e){var r=Object.create(null);return function(t){return r[t]===void 0&&(r[t]=e(t)),r[t]}}var hn=/^((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|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|enableBackground|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)-.*))$/,vn=Dr(function(e){return hn.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91});function yn(e){if(e.sheet)return e.sheet;for(var r=0;r<document.styleSheets.length;r++)if(document.styleSheets[r].ownerNode===e)return document.styleSheets[r]}function xn(e){var r=document.createElement("style");return r.setAttribute("data-emotion",e.key),e.nonce!==void 0&&r.setAttribute("nonce",e.nonce),r.appendChild(document.createTextNode("")),r.setAttribute("data-s",""),r}var Sn=function(){function e(t){var n=this;this._insertTag=function(o){var a;n.tags.length===0?n.insertionPoint?a=n.insertionPoint.nextSibling:n.prepend?a=n.container.firstChild:a=n.before:a=n.tags[n.tags.length-1].nextSibling,n.container.insertBefore(o,a),n.tags.push(o)},this.isSpeedy=t.speedy===void 0?!0:t.speedy,this.tags=[],this.ctr=0,this.nonce=t.nonce,this.key=t.key,this.container=t.container,this.prepend=t.prepend,this.insertionPoint=t.insertionPoint,this.before=null}var r=e.prototype;return r.hydrate=function(n){n.forEach(this._insertTag)},r.insert=function(n){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(xn(this));var o=this.tags[this.tags.length-1];if(this.isSpeedy){var a=yn(o);try{a.insertRule(n,a.cssRules.length)}catch{}}else o.appendChild(document.createTextNode(n));this.ctr++},r.flush=function(){this.tags.forEach(function(n){var o;return(o=n.parentNode)==null?void 0:o.removeChild(n)}),this.tags=[],this.ctr=0},e}(),te="-ms-",Ye="-moz-",j="-webkit-",Nr="comm",ar="rule",sr="decl",kn="@import",zr="@keyframes",Cn="@layer",En=Math.abs,He=String.fromCharCode,wn=Object.assign;function Pn(e,r){return ee(e,0)^45?(((r<<2^ee(e,0))<<2^ee(e,1))<<2^ee(e,2))<<2^ee(e,3):0}function Vr(e){return e.trim()}function Rn(e,r){return(e=r.exec(e))?e[0]:e}function $(e,r,t){return e.replace(r,t)}function ir(e,r){return e.indexOf(r)}function ee(e,r){return e.charCodeAt(r)|0}function Ie(e,r,t){return e.slice(r,t)}function ge(e){return e.length}function lr(e){return e.length}function Ue(e,r){return r.push(e),e}function Tn(e,r){return e.map(r).join("")}var Xe=1,we=1,Lr=0,ae=0,q=0,Pe="";function Ge(e,r,t,n,o,a,s){return{value:e,root:r,parent:t,type:n,props:o,children:a,line:Xe,column:we,length:s,return:""}}function je(e,r){return wn(Ge("",null,null,"",null,null,0),e,{length:-e.length},r)}function An(){return q}function On(){return q=ae>0?ee(Pe,--ae):0,we--,q===10&&(we=1,Xe--),q}function ue(){return q=ae<Lr?ee(Pe,ae++):0,we++,q===10&&(we=1,Xe++),q}function be(){return ee(Pe,ae)}function qe(){return ae}function $e(e,r){return Ie(Pe,e,r)}function We(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 Yr(e){return Xe=we=1,Lr=ge(Pe=e),ae=0,[]}function Hr(e){return Pe="",e}function Ke(e){return Vr($e(ae-1,cr(e===91?e+2:e===40?e+1:e)))}function _n(e){for(;(q=be())&&q<33;)ue();return We(e)>2||We(q)>3?"":" "}function Fn(e,r){for(;--r&&ue()&&!(q<48||q>102||q>57&&q<65||q>70&&q<97););return $e(e,qe()+(r<6&&be()==32&&ue()==32))}function cr(e){for(;ue();)switch(q){case e:return ae;case 34:case 39:e!==34&&e!==39&&cr(q);break;case 40:e===41&&cr(e);break;case 92:ue();break}return ae}function Mn(e,r){for(;ue()&&e+q!==57;)if(e+q===84&&be()===47)break;return"/*"+$e(r,ae-1)+"*"+He(e===47?e:ue())}function Bn(e){for(;!We(be());)ue();return $e(e,ae)}function In(e){return Hr(Je("",null,null,null,[""],e=Yr(e),0,[0],e))}function Je(e,r,t,n,o,a,s,i,u){for(var d=0,c=0,f=s,l=0,h=0,v=0,g=1,k=1,C=1,S=0,x="",w=o,b=a,A=n,M=x;k;)switch(v=S,S=ue()){case 40:if(v!=108&&ee(M,f-1)==58){ir(M+=$(Ke(S),"&","&\f"),"&\f")!=-1&&(C=-1);break}case 34:case 39:case 91:M+=Ke(S);break;case 9:case 10:case 13:case 32:M+=_n(v);break;case 92:M+=Fn(qe()-1,7);continue;case 47:switch(be()){case 42:case 47:Ue(jn(Mn(ue(),qe()),r,t),u);break;default:M+="/"}break;case 123*g:i[d++]=ge(M)*C;case 125*g:case 59:case 0:switch(S){case 0:case 125:k=0;case 59+c:C==-1&&(M=$(M,/\f/g,"")),h>0&&ge(M)-f&&Ue(h>32?Xr(M+";",n,t,f-1):Xr($(M," ","")+";",n,t,f-2),u);break;case 59:M+=";";default:if(Ue(A=Ur(M,r,t,d,c,o,i,x,w=[],b=[],f),a),S===123)if(c===0)Je(M,r,A,A,w,a,f,i,b);else switch(l===99&&ee(M,3)===110?100:l){case 100:case 108:case 109:case 115:Je(e,A,A,n&&Ue(Ur(e,A,A,0,0,o,i,x,o,w=[],f),b),o,b,f,i,n?w:b);break;default:Je(M,A,A,A,[""],b,0,i,b)}}d=c=h=0,g=C=1,x=M="",f=s;break;case 58:f=1+ge(M),h=v;default:if(g<1){if(S==123)--g;else if(S==125&&g++==0&&On()==125)continue}switch(M+=He(S),S*g){case 38:C=c>0?1:(M+="\f",-1);break;case 44:i[d++]=(ge(M)-1)*C,C=1;break;case 64:be()===45&&(M+=Ke(ue())),l=be(),c=f=ge(x=M+=Bn(qe())),S++;break;case 45:v===45&&ge(M)==2&&(g=0)}}return a}function Ur(e,r,t,n,o,a,s,i,u,d,c){for(var f=o-1,l=o===0?a:[""],h=lr(l),v=0,g=0,k=0;v<n;++v)for(var C=0,S=Ie(e,f+1,f=En(g=s[v])),x=e;C<h;++C)(x=Vr(g>0?l[C]+" "+S:$(S,/&\f/g,l[C])))&&(u[k++]=x);return Ge(e,r,t,o===0?ar:i,u,d,c)}function jn(e,r,t){return Ge(e,r,t,Nr,He(An()),Ie(e,2,-2),0)}function Xr(e,r,t,n){return Ge(e,r,t,sr,Ie(e,0,n),Ie(e,n+1,-1),n)}function Re(e,r){for(var t="",n=lr(e),o=0;o<n;o++)t+=r(e[o],o,e,r)||"";return t}function $n(e,r,t,n){switch(e.type){case Cn:if(e.children.length)break;case kn:case sr:return e.return=e.return||e.value;case Nr:return"";case zr:return e.return=e.value+"{"+Re(e.children,n)+"}";case ar:e.value=e.props.join(",")}return ge(t=Re(e.children,n))?e.return=e.value+"{"+t+"}":""}function Wn(e){var r=lr(e);return function(t,n,o,a){for(var s="",i=0;i<r;i++)s+=e[i](t,n,o,a)||"";return s}}function Dn(e){return function(r){r.root||(r=r.return)&&e(r)}}var Nn=function(r,t,n){for(var o=0,a=0;o=a,a=be(),o===38&&a===12&&(t[n]=1),!We(a);)ue();return $e(r,ae)},zn=function(r,t){var n=-1,o=44;do switch(We(o)){case 0:o===38&&be()===12&&(t[n]=1),r[n]+=Nn(ae-1,t,n);break;case 2:r[n]+=Ke(o);break;case 4:if(o===44){r[++n]=be()===58?"&\f":"",t[n]=r[n].length;break}default:r[n]+=He(o)}while(o=ue());return r},Vn=function(r,t){return Hr(zn(Yr(r),t))},Gr=new WeakMap,Ln=function(r){if(!(r.type!=="rule"||!r.parent||r.length<1)){for(var t=r.value,n=r.parent,o=r.column===n.column&&r.line===n.line;n.type!=="rule";)if(n=n.parent,!n)return;if(!(r.props.length===1&&t.charCodeAt(0)!==58&&!Gr.get(n))&&!o){Gr.set(r,!0);for(var a=[],s=Vn(t,a),i=n.props,u=0,d=0;u<s.length;u++)for(var c=0;c<i.length;c++,d++)r.props[d]=a[u]?s[u].replace(/&\f/g,i[c]):i[c]+" "+s[u]}}},Yn=function(r){if(r.type==="decl"){var t=r.value;t.charCodeAt(0)===108&&t.charCodeAt(2)===98&&(r.return="",r.value="")}};function qr(e,r){switch(Pn(e,r)){case 5103:return j+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return j+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return j+e+Ye+e+te+e+e;case 6828:case 4268:return j+e+te+e+e;case 6165:return j+e+te+"flex-"+e+e;case 5187:return j+e+$(e,/(\w+).+(:[^]+)/,j+"box-$1$2"+te+"flex-$1$2")+e;case 5443:return j+e+te+"flex-item-"+$(e,/flex-|-self/,"")+e;case 4675:return j+e+te+"flex-line-pack"+$(e,/align-content|flex-|-self/,"")+e;case 5548:return j+e+te+$(e,"shrink","negative")+e;case 5292:return j+e+te+$(e,"basis","preferred-size")+e;case 6060:return j+"box-"+$(e,"-grow","")+j+e+te+$(e,"grow","positive")+e;case 4554:return j+$(e,/([^-])(transform)/g,"$1"+j+"$2")+e;case 6187:return $($($(e,/(zoom-|grab)/,j+"$1"),/(image-set)/,j+"$1"),e,"")+e;case 5495:case 3959:return $(e,/(image-set\([^]*)/,j+"$1$`$1");case 4968:return $($(e,/(.+:)(flex-)?(.*)/,j+"box-pack:$3"+te+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+j+e+e;case 4095:case 3583:case 4068:case 2532:return $(e,/(.+)-inline(.+)/,j+"$1$2")+e;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(ge(e)-1-r>6)switch(ee(e,r+1)){case 109:if(ee(e,r+4)!==45)break;case 102:return $(e,/(.+:)(.+)-([^]+)/,"$1"+j+"$2-$3$1"+Ye+(ee(e,r+3)==108?"$3":"$2-$3"))+e;case 115:return~ir(e,"stretch")?qr($(e,"stretch","fill-available"),r)+e:e}break;case 4949:if(ee(e,r+1)!==115)break;case 6444:switch(ee(e,ge(e)-3-(~ir(e,"!important")&&10))){case 107:return $(e,":",":"+j)+e;case 101:return $(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+j+(ee(e,14)===45?"inline-":"")+"box$3$1"+j+"$2$3$1"+te+"$2box$3")+e}break;case 5936:switch(ee(e,r+11)){case 114:return j+e+te+$(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return j+e+te+$(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return j+e+te+$(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return j+e+te+e+e}return e}var Hn=function(r,t,n,o){if(r.length>-1&&!r.return)switch(r.type){case sr:r.return=qr(r.value,r.length);break;case zr:return Re([je(r,{value:$(r.value,"@","@"+j)})],o);case ar:if(r.length)return Tn(r.props,function(a){switch(Rn(a,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Re([je(r,{props:[$(a,/:(read-\w+)/,":"+Ye+"$1")]})],o);case"::placeholder":return Re([je(r,{props:[$(a,/:(plac\w+)/,":"+j+"input-$1")]}),je(r,{props:[$(a,/:(plac\w+)/,":"+Ye+"$1")]}),je(r,{props:[$(a,/:(plac\w+)/,te+"input-$1")]})],o)}return""})}},Un=[Hn],Xn=function(r){var t=r.key;if(t==="css"){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(g){var k=g.getAttribute("data-emotion");k.indexOf(" ")!==-1&&(document.head.appendChild(g),g.setAttribute("data-s",""))})}var o=r.stylisPlugins||Un,a={},s,i=[];s=r.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),function(g){for(var k=g.getAttribute("data-emotion").split(" "),C=1;C<k.length;C++)a[k[C]]=!0;i.push(g)});var u,d=[Ln,Yn];{var c,f=[$n,Dn(function(g){c.insert(g)})],l=Wn(d.concat(o,f)),h=function(k){return Re(In(k),l)};u=function(k,C,S,x){c=S,h(k?k+"{"+C.styles+"}":C.styles),x&&(v.inserted[C.name]=!0)}}var v={key:t,sheet:new Sn({key:t,container:s,nonce:r.nonce,speedy:r.speedy,prepend:r.prepend,insertionPoint:r.insertionPoint}),nonce:r.nonce,inserted:a,registered:{},insert:u};return v.sheet.hydrate(i),v},Qe={exports:{}},D={};/** @license React v16.13.1
22
+ <%s key={someKey} {...props} />`,X,C,I,C),V[C+X]=!0)}if(C=null,M!==void 0&&(n(M),C=""+M),s(A)&&(n(A.key),C=""+A.key),"key"in A){M={};for(var N in A)N!=="key"&&(M[N]=A[N])}else M=A;return C&&a(M,typeof O=="function"?O.displayName||O.name||"Unknown":O),c(O,C,ne,ue,o(),M,ze,nt)}function g(O){typeof O=="object"&&O!==null&&O.$$typeof===f&&O._store&&(O._store.validated=1)}var d=ke,f=Symbol.for("react.transitional.element"),m=Symbol.for("react.portal"),h=Symbol.for("react.fragment"),y=Symbol.for("react.strict_mode"),E=Symbol.for("react.profiler"),b=Symbol.for("react.consumer"),p=Symbol.for("react.context"),S=Symbol.for("react.forward_ref"),v=Symbol.for("react.suspense"),T=Symbol.for("react.suspense_list"),R=Symbol.for("react.memo"),w=Symbol.for("react.lazy"),k=Symbol.for("react.activity"),P=Symbol.for("react.client.reference"),D=d.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,L=Object.prototype.hasOwnProperty,J=Array.isArray,G=console.createTask?console.createTask:function(){return null};d={react_stack_bottom_frame:function(O){return O()}};var ae,ie={},Q=d.react_stack_bottom_frame.bind(d,i)(),Z=G(r(i)),V={};It.Fragment=h,It.jsx=function(O,A,M,X,ue){var ne=1e4>D.recentlyCreatedOwnerStacks++;return u(O,A,M,!1,X,ue,ne?Error("react-stack-top-frame"):Q,ne?G(r(O)):Z)},It.jsxs=function(O,A,M,X,ue){var ne=1e4>D.recentlyCreatedOwnerStacks++;return u(O,A,M,!0,X,ue,ne?Error("react-stack-top-frame"):Q,ne?G(r(O)):Z)}})()),It}var Yr;function va(){return Yr||(Yr=1,process.env.NODE_ENV==="production"?jt.exports=ma():jt.exports=pa()),jt.exports}var Gt=va();function ba(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}function ya(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function Ea(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==void 0&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}var Oa=(function(){function e(n){var r=this;this._insertTag=function(o){var i;r.tags.length===0?r.insertionPoint?i=r.insertionPoint.nextSibling:r.prepend?i=r.container.firstChild:i=r.before:i=r.tags[r.tags.length-1].nextSibling,r.container.insertBefore(o,i),r.tags.push(o)},this.isSpeedy=n.speedy===void 0?!0:n.speedy,this.tags=[],this.ctr=0,this.nonce=n.nonce,this.key=n.key,this.container=n.container,this.prepend=n.prepend,this.insertionPoint=n.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(r){r.forEach(this._insertTag)},t.insert=function(r){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(Ea(this));var o=this.tags[this.tags.length-1];if(this.isSpeedy){var i=ya(o);try{i.insertRule(r,i.cssRules.length)}catch{}}else o.appendChild(document.createTextNode(r));this.ctr++},t.flush=function(){this.tags.forEach(function(r){var o;return(o=r.parentNode)==null?void 0:o.removeChild(r)}),this.tags=[],this.ctr=0},e})(),le="-ms-",Ut="-moz-",H="-webkit-",qr="comm",Fn="rule",Ln="decl",Ca="@import",Xr="@keyframes",Sa="@layer",Ia=Math.abs,Yt=String.fromCharCode,xa=Object.assign;function wa(e,t){return se(e,0)^45?(((t<<2^se(e,0))<<2^se(e,1))<<2^se(e,2))<<2^se(e,3):0}function Kr(e){return e.trim()}function ka(e,t){return(e=t.exec(e))?e[0]:e}function W(e,t,n){return e.replace(t,n)}function Mn(e,t){return e.indexOf(t)}function se(e,t){return e.charCodeAt(t)|0}function xt(e,t,n){return e.slice(t,n)}function Te(e){return e.length}function $n(e){return e.length}function qt(e,t){return t.push(e),e}function Ta(e,t){return e.map(t).join("")}var Xt=1,ot=1,Jr=0,ge=0,te=0,it="";function Kt(e,t,n,r,o,i,s){return{value:e,root:t,parent:n,type:r,props:o,children:i,line:Xt,column:ot,length:s,return:""}}function wt(e,t){return xa(Kt("",null,null,"",null,null,0),e,{length:-e.length},t)}function Ra(){return te}function Pa(){return te=ge>0?se(it,--ge):0,ot--,te===10&&(ot=1,Xt--),te}function ve(){return te=ge<Jr?se(it,ge++):0,ot++,te===10&&(ot=1,Xt++),te}function Re(){return se(it,ge)}function Jt(){return ge}function kt(e,t){return xt(it,e,t)}function Tt(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 Qr(e){return Xt=ot=1,Jr=Te(it=e),ge=0,[]}function Zr(e){return it="",e}function Qt(e){return Kr(kt(ge-1,Dn(e===91?e+2:e===40?e+1:e)))}function Va(e){for(;(te=Re())&&te<33;)ve();return Tt(e)>2||Tt(te)>3?"":" "}function Aa(e,t){for(;--t&&ve()&&!(te<48||te>102||te>57&&te<65||te>70&&te<97););return kt(e,Jt()+(t<6&&Re()==32&&ve()==32))}function Dn(e){for(;ve();)switch(te){case e:return ge;case 34:case 39:e!==34&&e!==39&&Dn(te);break;case 40:e===41&&Dn(e);break;case 92:ve();break}return ge}function _a(e,t){for(;ve()&&e+te!==57;)if(e+te===84&&Re()===47)break;return"/*"+kt(t,ge-1)+"*"+Yt(e===47?e:ve())}function Na(e){for(;!Tt(Re());)ve();return kt(e,ge)}function Fa(e){return Zr(Zt("",null,null,null,[""],e=Qr(e),0,[0],e))}function Zt(e,t,n,r,o,i,s,a,l){for(var c=0,u=0,g=s,d=0,f=0,m=0,h=1,y=1,E=1,b=0,p="",S=o,v=i,T=r,R=p;y;)switch(m=b,b=ve()){case 40:if(m!=108&&se(R,g-1)==58){Mn(R+=W(Qt(b),"&","&\f"),"&\f")!=-1&&(E=-1);break}case 34:case 39:case 91:R+=Qt(b);break;case 9:case 10:case 13:case 32:R+=Va(m);break;case 92:R+=Aa(Jt()-1,7);continue;case 47:switch(Re()){case 42:case 47:qt(La(_a(ve(),Jt()),t,n),l);break;default:R+="/"}break;case 123*h:a[c++]=Te(R)*E;case 125*h:case 59:case 0:switch(b){case 0:case 125:y=0;case 59+u:E==-1&&(R=W(R,/\f/g,"")),f>0&&Te(R)-g&&qt(f>32?to(R+";",r,n,g-1):to(W(R," ","")+";",r,n,g-2),l);break;case 59:R+=";";default:if(qt(T=eo(R,t,n,c,u,o,a,p,S=[],v=[],g),i),b===123)if(u===0)Zt(R,t,T,T,S,i,g,a,v);else switch(d===99&&se(R,3)===110?100:d){case 100:case 108:case 109:case 115:Zt(e,T,T,r&&qt(eo(e,T,T,0,0,o,a,p,o,S=[],g),v),o,v,g,a,r?S:v);break;default:Zt(R,T,T,T,[""],v,0,a,v)}}c=u=f=0,h=E=1,p=R="",g=s;break;case 58:g=1+Te(R),f=m;default:if(h<1){if(b==123)--h;else if(b==125&&h++==0&&Pa()==125)continue}switch(R+=Yt(b),b*h){case 38:E=u>0?1:(R+="\f",-1);break;case 44:a[c++]=(Te(R)-1)*E,E=1;break;case 64:Re()===45&&(R+=Qt(ve())),d=Re(),u=g=Te(p=R+=Na(Jt())),b++;break;case 45:m===45&&Te(R)==2&&(h=0)}}return i}function eo(e,t,n,r,o,i,s,a,l,c,u){for(var g=o-1,d=o===0?i:[""],f=$n(d),m=0,h=0,y=0;m<r;++m)for(var E=0,b=xt(e,g+1,g=Ia(h=s[m])),p=e;E<f;++E)(p=Kr(h>0?d[E]+" "+b:W(b,/&\f/g,d[E])))&&(l[y++]=p);return Kt(e,t,n,o===0?Fn:a,l,c,u)}function La(e,t,n){return Kt(e,t,n,qr,Yt(Ra()),xt(e,2,-2),0)}function to(e,t,n,r){return Kt(e,t,n,Ln,xt(e,0,r),xt(e,r+1,-1),r)}function st(e,t){for(var n="",r=$n(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function Ma(e,t,n,r){switch(e.type){case Sa:if(e.children.length)break;case Ca:case Ln:return e.return=e.return||e.value;case qr:return"";case Xr:return e.return=e.value+"{"+st(e.children,r)+"}";case Fn:e.value=e.props.join(",")}return Te(n=st(e.children,r))?e.return=e.value+"{"+n+"}":""}function $a(e){var t=$n(e);return function(n,r,o,i){for(var s="",a=0;a<t;a++)s+=e[a](n,r,o,i)||"";return s}}function Da(e){return function(t){t.root||(t=t.return)&&e(t)}}var Ha=function(t,n,r){for(var o=0,i=0;o=i,i=Re(),o===38&&i===12&&(n[r]=1),!Tt(i);)ve();return kt(t,ge)},Wa=function(t,n){var r=-1,o=44;do switch(Tt(o)){case 0:o===38&&Re()===12&&(n[r]=1),t[r]+=Ha(ge-1,n,r);break;case 2:t[r]+=Qt(o);break;case 4:if(o===44){t[++r]=Re()===58?"&\f":"",n[r]=t[r].length;break}default:t[r]+=Yt(o)}while(o=ve());return t},Ba=function(t,n){return Zr(Wa(Qr(t),n))},no=new WeakMap,za=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var n=t.value,r=t.parent,o=t.column===r.column&&t.line===r.line;r.type!=="rule";)if(r=r.parent,!r)return;if(!(t.props.length===1&&n.charCodeAt(0)!==58&&!no.get(r))&&!o){no.set(t,!0);for(var i=[],s=Ba(n,i),a=r.props,l=0,c=0;l<s.length;l++)for(var u=0;u<a.length;u++,c++)t.props[c]=i[l]?s[l].replace(/&\f/g,a[u]):a[u]+" "+s[l]}}},ja=function(t){if(t.type==="decl"){var n=t.value;n.charCodeAt(0)===108&&n.charCodeAt(2)===98&&(t.return="",t.value="")}};function ro(e,t){switch(wa(e,t)){case 5103:return H+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return H+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return H+e+Ut+e+le+e+e;case 6828:case 4268:return H+e+le+e+e;case 6165:return H+e+le+"flex-"+e+e;case 5187:return H+e+W(e,/(\w+).+(:[^]+)/,H+"box-$1$2"+le+"flex-$1$2")+e;case 5443:return H+e+le+"flex-item-"+W(e,/flex-|-self/,"")+e;case 4675:return H+e+le+"flex-line-pack"+W(e,/align-content|flex-|-self/,"")+e;case 5548:return H+e+le+W(e,"shrink","negative")+e;case 5292:return H+e+le+W(e,"basis","preferred-size")+e;case 6060:return H+"box-"+W(e,"-grow","")+H+e+le+W(e,"grow","positive")+e;case 4554:return H+W(e,/([^-])(transform)/g,"$1"+H+"$2")+e;case 6187:return W(W(W(e,/(zoom-|grab)/,H+"$1"),/(image-set)/,H+"$1"),e,"")+e;case 5495:case 3959:return W(e,/(image-set\([^]*)/,H+"$1$`$1");case 4968:return W(W(e,/(.+:)(flex-)?(.*)/,H+"box-pack:$3"+le+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+H+e+e;case 4095:case 3583:case 4068:case 2532:return W(e,/(.+)-inline(.+)/,H+"$1$2")+e;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(Te(e)-1-t>6)switch(se(e,t+1)){case 109:if(se(e,t+4)!==45)break;case 102:return W(e,/(.+:)(.+)-([^]+)/,"$1"+H+"$2-$3$1"+Ut+(se(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Mn(e,"stretch")?ro(W(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(se(e,t+1)!==115)break;case 6444:switch(se(e,Te(e)-3-(~Mn(e,"!important")&&10))){case 107:return W(e,":",":"+H)+e;case 101:return W(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+H+(se(e,14)===45?"inline-":"")+"box$3$1"+H+"$2$3$1"+le+"$2box$3")+e}break;case 5936:switch(se(e,t+11)){case 114:return H+e+le+W(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return H+e+le+W(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return H+e+le+W(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return H+e+le+e+e}return e}var Ga=function(t,n,r,o){if(t.length>-1&&!t.return)switch(t.type){case Ln:t.return=ro(t.value,t.length);break;case Xr:return st([wt(t,{value:W(t.value,"@","@"+H)})],o);case Fn:if(t.length)return Ta(t.props,function(i){switch(ka(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return st([wt(t,{props:[W(i,/:(read-\w+)/,":"+Ut+"$1")]})],o);case"::placeholder":return st([wt(t,{props:[W(i,/:(plac\w+)/,":"+H+"input-$1")]}),wt(t,{props:[W(i,/:(plac\w+)/,":"+Ut+"$1")]}),wt(t,{props:[W(i,/:(plac\w+)/,le+"input-$1")]})],o)}return""})}},Ua=[Ga],Ya=function(t){var n=t.key;if(n==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(h){var y=h.getAttribute("data-emotion");y.indexOf(" ")!==-1&&(document.head.appendChild(h),h.setAttribute("data-s",""))})}var o=t.stylisPlugins||Ua,i={},s,a=[];s=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(h){for(var y=h.getAttribute("data-emotion").split(" "),E=1;E<y.length;E++)i[y[E]]=!0;a.push(h)});var l,c=[za,ja];{var u,g=[Ma,Da(function(h){u.insert(h)})],d=$a(c.concat(o,g)),f=function(y){return st(Fa(y),d)};l=function(y,E,b,p){u=b,f(y?y+"{"+E.styles+"}":E.styles),p&&(m.inserted[E.name]=!0)}}var m={key:n,sheet:new Oa({key:n,container:s,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:i,registered:{},insert:l};return m.sheet.hydrate(a),m},en={exports:{}},z={};/** @license React v16.13.1
23
23
  * react-is.production.min.js
24
24
  *
25
25
  * Copyright (c) Facebook, Inc. and its affiliates.
26
26
  *
27
27
  * This source code is licensed under the MIT license found in the
28
28
  * LICENSE file in the root directory of this source tree.
29
- */var Kr;function Gn(){if(Kr)return D;Kr=1;var e=typeof Symbol=="function"&&Symbol.for,r=e?Symbol.for("react.element"):60103,t=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,a=e?Symbol.for("react.profiler"):60114,s=e?Symbol.for("react.provider"):60109,i=e?Symbol.for("react.context"):60110,u=e?Symbol.for("react.async_mode"):60111,d=e?Symbol.for("react.concurrent_mode"):60111,c=e?Symbol.for("react.forward_ref"):60112,f=e?Symbol.for("react.suspense"):60113,l=e?Symbol.for("react.suspense_list"):60120,h=e?Symbol.for("react.memo"):60115,v=e?Symbol.for("react.lazy"):60116,g=e?Symbol.for("react.block"):60121,k=e?Symbol.for("react.fundamental"):60117,C=e?Symbol.for("react.responder"):60118,S=e?Symbol.for("react.scope"):60119;function x(b){if(typeof b=="object"&&b!==null){var A=b.$$typeof;switch(A){case r:switch(b=b.type,b){case u:case d:case n:case a:case o:case f:return b;default:switch(b=b&&b.$$typeof,b){case i:case c:case v:case h:case s:return b;default:return A}}case t:return A}}}function w(b){return x(b)===d}return D.AsyncMode=u,D.ConcurrentMode=d,D.ContextConsumer=i,D.ContextProvider=s,D.Element=r,D.ForwardRef=c,D.Fragment=n,D.Lazy=v,D.Memo=h,D.Portal=t,D.Profiler=a,D.StrictMode=o,D.Suspense=f,D.isAsyncMode=function(b){return w(b)||x(b)===u},D.isConcurrentMode=w,D.isContextConsumer=function(b){return x(b)===i},D.isContextProvider=function(b){return x(b)===s},D.isElement=function(b){return typeof b=="object"&&b!==null&&b.$$typeof===r},D.isForwardRef=function(b){return x(b)===c},D.isFragment=function(b){return x(b)===n},D.isLazy=function(b){return x(b)===v},D.isMemo=function(b){return x(b)===h},D.isPortal=function(b){return x(b)===t},D.isProfiler=function(b){return x(b)===a},D.isStrictMode=function(b){return x(b)===o},D.isSuspense=function(b){return x(b)===f},D.isValidElementType=function(b){return typeof b=="string"||typeof b=="function"||b===n||b===d||b===a||b===o||b===f||b===l||typeof b=="object"&&b!==null&&(b.$$typeof===v||b.$$typeof===h||b.$$typeof===s||b.$$typeof===i||b.$$typeof===c||b.$$typeof===k||b.$$typeof===C||b.$$typeof===S||b.$$typeof===g)},D.typeOf=x,D}var N={};/** @license React v16.13.1
29
+ */var oo;function qa(){if(oo)return z;oo=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,s=e?Symbol.for("react.provider"):60109,a=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,g=e?Symbol.for("react.suspense"):60113,d=e?Symbol.for("react.suspense_list"):60120,f=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,h=e?Symbol.for("react.block"):60121,y=e?Symbol.for("react.fundamental"):60117,E=e?Symbol.for("react.responder"):60118,b=e?Symbol.for("react.scope"):60119;function p(v){if(typeof v=="object"&&v!==null){var T=v.$$typeof;switch(T){case t:switch(v=v.type,v){case l:case c:case r:case i:case o:case g:return v;default:switch(v=v&&v.$$typeof,v){case a:case u:case m:case f:case s:return v;default:return T}}case n:return T}}}function S(v){return p(v)===c}return z.AsyncMode=l,z.ConcurrentMode=c,z.ContextConsumer=a,z.ContextProvider=s,z.Element=t,z.ForwardRef=u,z.Fragment=r,z.Lazy=m,z.Memo=f,z.Portal=n,z.Profiler=i,z.StrictMode=o,z.Suspense=g,z.isAsyncMode=function(v){return S(v)||p(v)===l},z.isConcurrentMode=S,z.isContextConsumer=function(v){return p(v)===a},z.isContextProvider=function(v){return p(v)===s},z.isElement=function(v){return typeof v=="object"&&v!==null&&v.$$typeof===t},z.isForwardRef=function(v){return p(v)===u},z.isFragment=function(v){return p(v)===r},z.isLazy=function(v){return p(v)===m},z.isMemo=function(v){return p(v)===f},z.isPortal=function(v){return p(v)===n},z.isProfiler=function(v){return p(v)===i},z.isStrictMode=function(v){return p(v)===o},z.isSuspense=function(v){return p(v)===g},z.isValidElementType=function(v){return typeof v=="string"||typeof v=="function"||v===r||v===c||v===i||v===o||v===g||v===d||typeof v=="object"&&v!==null&&(v.$$typeof===m||v.$$typeof===f||v.$$typeof===s||v.$$typeof===a||v.$$typeof===u||v.$$typeof===y||v.$$typeof===E||v.$$typeof===b||v.$$typeof===h)},z.typeOf=p,z}var j={};/** @license React v16.13.1
30
30
  * react-is.development.js
31
31
  *
32
32
  * Copyright (c) Facebook, Inc. and its affiliates.
33
33
  *
34
34
  * This source code is licensed under the MIT license found in the
35
35
  * LICENSE file in the root directory of this source tree.
36
- */var Jr;function qn(){return Jr||(Jr=1,process.env.NODE_ENV!=="production"&&function(){var e=typeof Symbol=="function"&&Symbol.for,r=e?Symbol.for("react.element"):60103,t=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,a=e?Symbol.for("react.profiler"):60114,s=e?Symbol.for("react.provider"):60109,i=e?Symbol.for("react.context"):60110,u=e?Symbol.for("react.async_mode"):60111,d=e?Symbol.for("react.concurrent_mode"):60111,c=e?Symbol.for("react.forward_ref"):60112,f=e?Symbol.for("react.suspense"):60113,l=e?Symbol.for("react.suspense_list"):60120,h=e?Symbol.for("react.memo"):60115,v=e?Symbol.for("react.lazy"):60116,g=e?Symbol.for("react.block"):60121,k=e?Symbol.for("react.fundamental"):60117,C=e?Symbol.for("react.responder"):60118,S=e?Symbol.for("react.scope"):60119;function x(E){return typeof E=="string"||typeof E=="function"||E===n||E===d||E===a||E===o||E===f||E===l||typeof E=="object"&&E!==null&&(E.$$typeof===v||E.$$typeof===h||E.$$typeof===s||E.$$typeof===i||E.$$typeof===c||E.$$typeof===k||E.$$typeof===C||E.$$typeof===S||E.$$typeof===g)}function w(E){if(typeof E=="object"&&E!==null){var G=E.$$typeof;switch(G){case r:var ce=E.type;switch(ce){case u:case d:case n:case a:case o:case f:return ce;default:var Ee=ce&&ce.$$typeof;switch(Ee){case i:case c:case v:case h:case s:return Ee;default:return G}}case t:return G}}}var b=u,A=d,M=i,R=s,P=r,_=c,z=n,O=v,J=h,re=t,W=a,ne=o,le=f,fe=!1;function F(E){return fe||(fe=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),p(E)||w(E)===u}function p(E){return w(E)===d}function T(E){return w(E)===i}function I(E){return w(E)===s}function H(E){return typeof E=="object"&&E!==null&&E.$$typeof===r}function oe(E){return w(E)===c}function Q(E){return w(E)===n}function xe(E){return w(E)===v}function Ce(E){return w(E)===h}function m(E){return w(E)===t}function y(E){return w(E)===a}function B(E){return w(E)===o}function V(E){return w(E)===f}N.AsyncMode=b,N.ConcurrentMode=A,N.ContextConsumer=M,N.ContextProvider=R,N.Element=P,N.ForwardRef=_,N.Fragment=z,N.Lazy=O,N.Memo=J,N.Portal=re,N.Profiler=W,N.StrictMode=ne,N.Suspense=le,N.isAsyncMode=F,N.isConcurrentMode=p,N.isContextConsumer=T,N.isContextProvider=I,N.isElement=H,N.isForwardRef=oe,N.isFragment=Q,N.isLazy=xe,N.isMemo=Ce,N.isPortal=m,N.isProfiler=y,N.isStrictMode=B,N.isSuspense=V,N.isValidElementType=x,N.typeOf=w}()),N}var Qr;function Kn(){return Qr||(Qr=1,process.env.NODE_ENV==="production"?Qe.exports=Gn():Qe.exports=qn()),Qe.exports}var ur,Zr;function Jn(){if(Zr)return ur;Zr=1;var e=Kn(),r={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},t={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},n={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},o={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},a={};a[e.ForwardRef]=n,a[e.Memo]=o;function s(v){return e.isMemo(v)?o:a[v.$$typeof]||r}var i=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,c=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,l=Object.prototype;function h(v,g,k){if(typeof g!="string"){if(l){var C=f(g);C&&C!==l&&h(v,C,k)}var S=u(g);d&&(S=S.concat(d(g)));for(var x=s(v),w=s(g),b=0;b<S.length;++b){var A=S[b];if(!t[A]&&!(k&&k[A])&&!(w&&w[A])&&!(x&&x[A])){var M=c(g,A);try{i(v,A,M)}catch{}}}}return v}return ur=h,ur}Jn();var Qn=!0;function et(e,r,t){var n="";return t.split(" ").forEach(function(o){e[o]!==void 0?r.push(e[o]+";"):o&&(n+=o+" ")}),n}var dr=function(r,t,n){var o=r.key+"-"+t.name;(n===!1||Qn===!1)&&r.registered[o]===void 0&&(r.registered[o]=t.styles)},fr=function(r,t,n){dr(r,t,n);var o=r.key+"-"+t.name;if(r.inserted[t.name]===void 0){var a=t;do r.insert(t===a?"."+o:"",a,r.sheet,!0),a=a.next;while(a!==void 0)}};function Zn(e){for(var r=0,t,n=0,o=e.length;o>=4;++n,o-=4)t=e.charCodeAt(n)&255|(e.charCodeAt(++n)&255)<<8|(e.charCodeAt(++n)&255)<<16|(e.charCodeAt(++n)&255)<<24,t=(t&65535)*1540483477+((t>>>16)*59797<<16),t^=t>>>24,r=(t&65535)*1540483477+((t>>>16)*59797<<16)^(r&65535)*1540483477+((r>>>16)*59797<<16);switch(o){case 3:r^=(e.charCodeAt(n+2)&255)<<16;case 2:r^=(e.charCodeAt(n+1)&255)<<8;case 1:r^=e.charCodeAt(n)&255,r=(r&65535)*1540483477+((r>>>16)*59797<<16)}return r^=r>>>13,r=(r&65535)*1540483477+((r>>>16)*59797<<16),((r^r>>>15)>>>0).toString(36)}var eo={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,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},ro=/[A-Z]|^ms/g,to=/_EMO_([^_]+?)_([^]*?)_EMO_/g,rt=function(r){return r.charCodeAt(1)===45},tt=function(r){return r!=null&&typeof r!="boolean"},pr=Dr(function(e){return rt(e)?e:e.replace(ro,"-$&").toLowerCase()}),nt=function(r,t){switch(r){case"animation":case"animationName":if(typeof t=="string")return t.replace(to,function(n,o,a){return me={name:o,styles:a,next:me},o})}return eo[r]!==1&&!rt(r)&&typeof t=="number"&&t!==0?t+"px":t};function De(e,r,t){if(t==null)return"";var n=t;if(n.__emotion_styles!==void 0)return n;switch(typeof t){case"boolean":return"";case"object":{var o=t;if(o.anim===1)return me={name:o.name,styles:o.styles,next:me},o.name;var a=t;if(a.styles!==void 0){var s=a.next;if(s!==void 0)for(;s!==void 0;)me={name:s.name,styles:s.styles,next:me},s=s.next;var i=a.styles+";";return i}return no(e,r,t)}case"function":{if(e!==void 0){var u=me,d=t(e);return me=u,De(e,r,d)}break}}var c=t;if(r==null)return c;var f=r[c];return f!==void 0?f:c}function no(e,r,t){var n="";if(Array.isArray(t))for(var o=0;o<t.length;o++)n+=De(e,r,t[o])+";";else for(var a in t){var s=t[a];if(typeof s!="object"){var i=s;r!=null&&r[i]!==void 0?n+=a+"{"+r[i]+"}":tt(i)&&(n+=pr(a)+":"+nt(a,i)+";")}else if(Array.isArray(s)&&typeof s[0]=="string"&&(r==null||r[s[0]]===void 0))for(var u=0;u<s.length;u++)tt(s[u])&&(n+=pr(a)+":"+nt(a,s[u])+";");else{var d=De(e,r,s);switch(a){case"animation":case"animationName":{n+=pr(a)+":"+d+";";break}default:n+=a+"{"+d+"}"}}}return n}var ot=/label:\s*([^\s;{]+)\s*(;|$)/g,me;function gr(e,r,t){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var n=!0,o="";me=void 0;var a=e[0];if(a==null||a.raw===void 0)n=!1,o+=De(t,r,a);else{var s=a;o+=s[0]}for(var i=1;i<e.length;i++)if(o+=De(t,r,e[i]),n){var u=a;o+=u[i]}ot.lastIndex=0;for(var d="",c;(c=ot.exec(o))!==null;)d+="-"+c[1];var f=Zn(o)+d;return{name:f,styles:o,next:me}}var oo=function(r){return r()},at=U.useInsertionEffect?U.useInsertionEffect:!1,st=at||oo,it=at||U.useLayoutEffect,lt=U.createContext(typeof HTMLElement<"u"?Xn({key:"css"}):null);lt.Provider;var br=function(r){return K.forwardRef(function(t,n){var o=K.useContext(lt);return r(t,o,n)})},mr=U.createContext({}),hr={}.hasOwnProperty,vr="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",ao=function(r,t){var n={};for(var o in t)hr.call(t,o)&&(n[o]=t[o]);return n[vr]=r,n},so=function(r){var t=r.cache,n=r.serialized,o=r.isStringTag;return dr(t,n,o),st(function(){return fr(t,n,o)}),null},io=br(function(e,r,t){var n=e.css;typeof n=="string"&&r.registered[n]!==void 0&&(n=r.registered[n]);var o=e[vr],a=[n],s="";typeof e.className=="string"?s=et(r.registered,a,e.className):e.className!=null&&(s=e.className+" ");var i=gr(a,void 0,U.useContext(mr));s+=r.key+"-"+i.name;var u={};for(var d in e)hr.call(e,d)&&d!=="css"&&d!==vr&&(u[d]=e[d]);return u.className=s,t&&(u.ref=t),U.createElement(U.Fragment,null,U.createElement(so,{cache:r,serialized:i,isStringTag:typeof o=="string"}),U.createElement(o,u))}),lo=io,ct=function(r,t){var n=arguments;if(t==null||!hr.call(t,"css"))return U.createElement.apply(void 0,n);var o=n.length,a=new Array(o);a[0]=lo,a[1]=ao(r,t);for(var s=2;s<o;s++)a[s]=n[s];return U.createElement.apply(null,a)};(function(e){var r;r||(r=e.JSX||(e.JSX={}))})(ct||(ct={}));var ut=br(function(e,r){var t=e.styles,n=gr([t],void 0,U.useContext(mr)),o=U.useRef();return it(function(){var a=r.key+"-global",s=new r.sheet.constructor({key:a,nonce:r.sheet.nonce,container:r.sheet.container,speedy:r.sheet.isSpeedy}),i=!1,u=document.querySelector('style[data-emotion="'+a+" "+n.name+'"]');return r.sheet.tags.length&&(s.before=r.sheet.tags[0]),u!==null&&(i=!0,u.setAttribute("data-emotion",a),s.hydrate([u])),o.current=[s,i],function(){s.flush()}},[r]),it(function(){var a=o.current,s=a[0],i=a[1];if(i){a[1]=!1;return}if(n.next!==void 0&&fr(r,n.next,!0),s.tags.length){var u=s.tags[s.tags.length-1].nextElementSibling;s.before=u,s.flush()}r.insert("",n,s,!1)},[r,n.name]),null});function co(...e){return function(...t){e.forEach(n=>n?.(...t))}}const uo=(...e)=>e.map(r=>r?.trim?.()).filter(Boolean).join(" "),fo=/^on[A-Z]/;function yr(...e){let r={};for(let t of e){for(let n in r){if(fo.test(n)&&typeof r[n]=="function"&&typeof t[n]=="function"){r[n]=co(r[n],t[n]);continue}if(n==="className"||n==="class"){r[n]=uo(r[n],t[n]);continue}if(n==="style"){r[n]=Object.assign({},r[n]??{},t[n]??{});continue}r[n]=t[n]!==void 0?t[n]:r[n]}for(let n in t)r[n]===void 0&&(r[n]=t[n])}return r}function po(e,r){if(e!=null){if(typeof e=="function"){e(r);return}try{e.current=r}catch{throw new Error(`Cannot assign value '${r}' to ref '${e}'`)}}}function go(...e){return r=>{e.forEach(t=>{po(t,r)})}}function Ne(e){const r=Object.assign({},e);for(let t in r)r[t]===void 0&&delete r[t];return r}const Se=(...e)=>e.filter(Boolean).map(r=>r.trim()).join(" ");function bo(e){return e.default||e}const se=e=>e!=null&&typeof e=="object"&&!Array.isArray(e),he=e=>typeof e=="string",xr=e=>typeof e=="function";function mo(e){const r=U.version;return!he(r)||r.startsWith("18.")?e?.ref:e?.props?.ref}const dt=(...e)=>{const r=e.reduce((t,n)=>(n?.forEach(o=>t.add(o)),t),new Set([]));return Array.from(r)};function ho(e,r){return`${e} returned \`undefined\`. Seems you forgot to wrap component within ${r}`}function ft(e={}){const{name:r,strict:t=!0,hookName:n="useContext",providerName:o="Provider",errorMessage:a,defaultValue:s}=e,i=K.createContext(s);i.displayName=r;function u(){const d=K.useContext(i);if(!d&&t){const c=new Error(a??ho(n,o));throw c.name="ContextError",Error.captureStackTrace?.(c,u),c}return d}return[i.Provider,u,i]}const[vo,Sr]=ft({name:"ChakraContext",strict:!0,providerName:"<ChakraProvider />"});function yo(e){const{value:r,children:t}=e;return X.jsxs(vo,{value:r,children:[!r._config.disableLayers&&X.jsx(ut,{styles:r.layers.atRule}),X.jsx(ut,{styles:r._global}),t]})}const xo=(e,r)=>{const t={},n={},o=Object.keys(e);for(const a of o)r(a)?n[a]=e[a]:t[a]=e[a];return[n,t]},Te=(e,r)=>{const t=xr(r)?r:n=>r.includes(n);return xo(e,t)},So=new Set(["htmlWidth","htmlHeight","htmlSize","htmlTranslate"]);function ko(e){return typeof e=="string"&&So.has(e)}function Co(e,r,t){const{css:n,isValidProperty:o}=Sr(),{children:a,...s}=e,i=K.useMemo(()=>{const[l,h]=Te(s,S=>t(S,r.variantKeys)),[v,g]=Te(h,r.variantKeys),[k,C]=Te(g,o);return{forwardedProps:l,variantProps:v,styleProps:k,elementProps:C}},[r.variantKeys,t,s,o]),{css:u,...d}=i.styleProps,c=K.useMemo(()=>{const l={...i.variantProps};return r.variantKeys.includes("colorPalette")||(l.colorPalette=s.colorPalette),r.variantKeys.includes("orientation")||(l.orientation=s.orientation),r(l)},[r,i.variantProps,s.colorPalette,s.orientation]);return{styles:K.useMemo(()=>n(c,...Eo(u),d),[n,c,u,d]),props:{...i.forwardedProps,...i.elementProps,children:a}}}const Eo=e=>(Array.isArray(e)?e:[e]).filter(Boolean).flat(),wo=bo(vn),Po=e=>e!=="theme",Ro=(e,r,t)=>{let n;if(r){const o=r.shouldForwardProp;n=e.__emotion_forwardProp&&o?a=>e.__emotion_forwardProp(a)&&o(a):o}return typeof n!="function"&&t&&(n=e.__emotion_forwardProp),n};let To=typeof document<"u";const pt=({cache:e,serialized:r,isStringTag:t})=>{dr(e,r,t);const n=st(()=>fr(e,r,t));if(!To&&n!==void 0){let o=r.name,a=r.next;for(;a!==void 0;)o=Se(o,a.name),a=a.next;return X.jsx("style",{"data-emotion":Se(e.key,o),dangerouslySetInnerHTML:{__html:n},nonce:e.sheet.nonce})}return null},gt={path:["d"],text:["x","y"],circle:["cx","cy","r"],rect:["width","height","x","y","rx","ry"],ellipse:["cx","cy","rx","ry"],g:["transform"],stop:["offset","stopOpacity"]},Ao=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),kr=((e,r={},t={})=>{if(process.env.NODE_ENV!=="production"&&e===void 0)throw new Error(`You are trying to create a styled element with an undefined component.
37
- You may have forgotten to import it.`);if(Ao(gt,e)){t.forwardProps||(t.forwardProps=[]);const d=gt[e];t.forwardProps=dt([...t.forwardProps,...d])}const n=e.__emotion_real===e,o=n&&e.__emotion_base||e;let a,s;t!==void 0&&(a=t.label,s=t.target);let i=[];const u=br((d,c,f)=>{const{cva:l,isValidProperty:h}=Sr(),v=r.__cva__?r:l(r),g=Oo(e.__emotion_cva,v),k=W=>(ne,le)=>W.includes(ne)?!0:!le?.includes(ne)&&!h(ne);!t.shouldForwardProp&&t.forwardProps&&(t.shouldForwardProp=k(t.forwardProps));const C=(W,ne)=>{const le=typeof e=="string"&&e.charCodeAt(0)>96?wo:Po,fe=!ne?.includes(W)&&!h(W);return le(W)&&fe},S=Ro(e,t,n)||C,x=U.useMemo(()=>Object.assign({},t.defaultProps,Ne(d)),[d]),{props:w,styles:b}=Co(x,g,S);let A="",M=[b],R=w;if(w.theme==null){R={};for(let W in w)R[W]=w[W];R.theme=U.useContext(mr)}typeof w.className=="string"?A=et(c.registered,M,w.className):w.className!=null&&(A=Se(A,w.className));const P=gr(i.concat(M),c.registered,R);P.styles&&(A=Se(A,`${c.key}-${P.name}`)),s!==void 0&&(A=Se(A,s));const _=!S("as");let z=_&&w.as||o,O={};for(let W in w)if(!(_&&W==="as")){if(ko(W)){const ne=W.replace("html","").toLowerCase();O[ne]=w[W];continue}S(W)&&(O[W]=w[W])}let J=A.trim();J?O.className=J:Reflect.deleteProperty(O,"className"),O.ref=f;const re=t.forwardAsChild||t.forwardProps?.includes("asChild");if(w.asChild&&!re){const W=U.isValidElement(w.children)?U.Children.only(w.children):U.Children.toArray(w.children).find(U.isValidElement);if(!W)throw new Error("[chakra-ui > factory] No valid child found");z=W.type,O.children=null,Reflect.deleteProperty(O,"asChild"),O=yr(O,W.props),O.ref=go(f,mo(W))}return O.as&&re?(O.as=void 0,X.jsxs(U.Fragment,{children:[X.jsx(pt,{cache:c,serialized:P,isStringTag:typeof z=="string"}),X.jsx(z,{asChild:!0,...O,children:X.jsx(w.as,{children:O.children})})]})):X.jsxs(U.Fragment,{children:[X.jsx(pt,{cache:c,serialized:P,isStringTag:typeof z=="string"}),X.jsx(z,{...O})]})});return u.displayName=a!==void 0?a:`chakra(${typeof o=="string"?o:o.displayName||o.name||"Component"})`,u.__emotion_real=u,u.__emotion_base=o,u.__emotion_forwardProp=t.shouldForwardProp,u.__emotion_cva=r,Object.defineProperty(u,"toString",{value(){return s===void 0&&process.env.NODE_ENV!=="production"?"NO_COMPONENT_SELECTOR":`.${s}`}}),u}).bind(),Cr=new Map,Ze=new Proxy(kr,{apply(e,r,t){return kr(...t)},get(e,r){return Cr.has(r)||Cr.set(r,kr(r)),Cr.get(r)}}),Oo=(e,r)=>e&&!r?e:!e&&r?r:e.merge(r),_o=Object.freeze({});function Fo(e){const{key:r,recipe:t}=e,n=Sr();return K.useMemo(()=>{const o=t||(r!=null?n.getRecipe(r):{});return n.cva(structuredClone(o))},[r,t,n])}const Mo=e=>e.charAt(0).toUpperCase()+e.slice(1);function bt(e){const{key:r,recipe:t}=e,n=Mo(r||t.className||"Component"),[o,a]=ft({strict:!1,name:`${n}PropsContext`,providerName:`${n}PropsContext`});function s(d){const{unstyled:c,...f}=d,l=Fo({key:r,recipe:f.recipe||t}),[h,v]=K.useMemo(()=>l.splitVariantProps(f),[l,f]);return{styles:c?_o:l(h),className:l.className,props:v}}const i=(d,c)=>{const f=Ze(d,{},c),l=K.forwardRef((h,v)=>{const g=a(),k=K.useMemo(()=>yr(g,h),[h,g]),{styles:C,className:S,props:x}=s(k);return X.jsx(f,{...x,ref:v,css:[C,k.css],className:Se(S,k.className)})});return l.displayName=d.displayName||d.name,l};function u(){return o}return{withContext:i,PropsProvider:o,withPropsProvider:u,usePropsContext:a,useRecipeResult:s}}const er=Ze("span");function mt(e,r=[]){const t=Object.assign({},e);for(const n of r)n in t&&delete t[n];return t}const Bo=(e,r)=>{if(!e||typeof e!="string")return{invalid:!0,value:e};const[t,n]=e.split("/");if(!t||!n||t==="currentBg")return{invalid:!0,value:t};const o=r(`colors.${t}`),a=r.raw(`opacity.${n}`)?.value;if(!a&&isNaN(Number(n)))return{invalid:!0,value:t};const s=a?Number(a)*100+"%":`${n}%`,i=o??t;return{invalid:!1,color:i,value:`color-mix(in srgb, ${i} ${s}, transparent)`}},L=e=>(r,t)=>{const n=t.utils.colorMix(r);if(n.invalid)return{[e]:r};const o="--mix-"+e;return{[o]:n.value,[e]:`var(${o}, ${n.color})`}};function Er(e){if(e===null||typeof e!="object")return e;if(Array.isArray(e))return e.map(t=>Er(t));const r=Object.create(Object.getPrototypeOf(e));for(const t of Object.keys(e))r[t]=Er(e[t]);return r}function wr(e,r){if(r==null)return e;for(const t of Object.keys(r))if(!(r[t]===void 0||t==="__proto__"))if(!se(e[t])&&se(r[t]))Object.assign(e,{[t]:r[t]});else if(e[t]&&se(r[t]))wr(e[t],r[t]);else if(Array.isArray(r[t])&&Array.isArray(e[t])){let n=0;for(;n<r[t].length;n++)se(e[t][n])&&se(r[t][n])?wr(e[t][n],r[t][n]):e[t][n]=r[t][n]}else Object.assign(e,{[t]:r[t]});return e}function Ae(e,...r){for(const t of r)wr(e,t);return e}const Pr=e=>e!=null;function ve(e,r,t={}){const{stop:n,getKey:o}=t;function a(s,i=[]){if(se(s)||Array.isArray(s)){const u={};for(const[d,c]of Object.entries(s)){const f=o?.(d,c)??d,l=[...i,f];if(n?.(s,l))return r(s,i);const h=a(c,l);Pr(h)&&(u[f]=h)}return u}return r(s,i)}return a(e)}function Io(e,r){return Array.isArray(e)?e.map(t=>Pr(t)?r(t):t):se(e)?ve(e,t=>r(t)):Pr(e)?r(e):e}const rr=["value","type","description"],jo=e=>e&&typeof e=="object"&&!Array.isArray(e),$o=(...e)=>{const r=Ae({},...e.map(Er));return r.theme?.tokens&&ve(r.theme.tokens,t=>{const a=Object.keys(t).filter(i=>!rr.includes(i)).length>0,s=rr.some(i=>t[i]!=null);return a&&s&&(t.DEFAULT||(t.DEFAULT={}),rr.forEach(i=>{var u;t[i]!=null&&((u=t.DEFAULT)[i]||(u[i]=t[i]),delete t[i])})),t},{stop(t){return jo(t)&&Object.keys(t).some(n=>rr.includes(n)||n!==n.toLowerCase()&&n!==n.toUpperCase())}}),r},Wo=e=>e,ht=e=>e;function Do(){const e=r=>r;return new Proxy(e,{get(){return e}})}const vt=Do(),No=e=>e,zo=/[^a-zA-Z0-9_\u0081-\uffff-]/g;function Vo(e){return`${e}`.replace(zo,r=>`\\${r}`)}const Lo=/[A-Z]/g;function Yo(e){return e.replace(Lo,r=>`-${r.toLowerCase()}`)}function yt(e,r={}){const{fallback:t="",prefix:n=""}=r,o=Yo(["-",n,Vo(e)].filter(Boolean).join("-"));return{var:o,ref:`var(${o}${t?`, ${t}`:""})`}}const Ho=e=>/^var\(--.+\)$/.test(e),Z=(e,r)=>r!=null?`${e}(${r})`:r,ke=e=>{if(Ho(e)||e==null)return e;const r=typeof e=="string"&&!e.endsWith("deg");return typeof e=="number"||r?`${e}deg`:e},xt=e=>({values:["outside","inside","mixed","none"],transform(r,{token:t}){const n=t("colors.colorPalette.focusRing");return{inside:{"--focus-ring-color":n,[e]:{outlineOffset:"0px",outlineWidth:"var(--focus-ring-width, 1px)",outlineColor:"var(--focus-ring-color)",outlineStyle:"var(--focus-ring-style, solid)",borderColor:"var(--focus-ring-color)"}},outside:{"--focus-ring-color":n,[e]:{outlineWidth:"var(--focus-ring-width, 2px)",outlineOffset:"var(--focus-ring-offset, 2px)",outlineStyle:"var(--focus-ring-style, solid)",outlineColor:"var(--focus-ring-color)"}},mixed:{"--focus-ring-color":n,[e]:{outlineWidth:"var(--focus-ring-width, 3px)",outlineStyle:"var(--focus-ring-style, solid)",outlineColor:"color-mix(in srgb, var(--focus-ring-color), transparent 60%)",borderColor:"var(--focus-ring-color)"}},none:{"--focus-ring-color":n,[e]:{outline:"none"}}}[r]??{}}}),Uo=L("borderColor"),ye=e=>({transition:e,transitionTimingFunction:"cubic-bezier(0.4, 0, 0.2, 1)",transitionDuration:"150ms"}),Xo=Wo({hover:["@media (hover: hover)","&:is(:hover, [data-hover]):not(:disabled, [data-disabled])"],active:"&:is(:active, [data-active]):not(:disabled, [data-disabled], [data-state=open])",focus:"&:is(:focus, [data-focus])",focusWithin:"&:is(:focus-within, [data-focus-within])",focusVisible:"&:is(:focus-visible, [data-focus-visible])",disabled:"&:is(:disabled, [disabled], [data-disabled], [aria-disabled=true])",visited:"&:visited",target:"&:target",readOnly:"&:is([data-readonly], [aria-readonly=true], [readonly])",readWrite:"&:read-write",empty:"&:is(:empty, [data-empty])",checked:"&:is(:checked, [data-checked], [aria-checked=true], [data-state=checked])",enabled:"&:enabled",expanded:"&:is([aria-expanded=true], [data-expanded], [data-state=expanded])",highlighted:"&[data-highlighted]",complete:"&[data-complete]",incomplete:"&[data-incomplete]",dragging:"&[data-dragging]",before:"&::before",after:"&::after",firstLetter:"&::first-letter",firstLine:"&::first-line",marker:"&::marker",selection:"&::selection",file:"&::file-selector-button",backdrop:"&::backdrop",first:"&:first-of-type",last:"&:last-of-type",notFirst:"&:not(:first-of-type)",notLast:"&:not(:last-of-type)",only:"&:only-child",even:"&:nth-of-type(even)",odd:"&:nth-of-type(odd)",peerFocus:".peer:is(:focus, [data-focus]) ~ &",peerHover:".peer:is(:hover, [data-hover]):not(:disabled, [data-disabled]) ~ &",peerActive:".peer:is(:active, [data-active]):not(:disabled, [data-disabled]) ~ &",peerFocusWithin:".peer:focus-within ~ &",peerFocusVisible:".peer:is(:focus-visible, [data-focus-visible]) ~ &",peerDisabled:".peer:is(:disabled, [disabled], [data-disabled]) ~ &",peerChecked:".peer:is(:checked, [data-checked], [aria-checked=true], [data-state=checked]) ~ &",peerInvalid:".peer:is(:invalid, [data-invalid], [aria-invalid=true]) ~ &",peerExpanded:".peer:is([aria-expanded=true], [data-expanded], [data-state=expanded]) ~ &",peerPlaceholderShown:".peer:placeholder-shown ~ &",groupFocus:".group:is(:focus, [data-focus]) &",groupHover:".group:is(:hover, [data-hover]):not(:disabled, [data-disabled]) &",groupActive:".group:is(:active, [data-active]):not(:disabled, [data-disabled]) &",groupFocusWithin:".group:focus-within &",groupFocusVisible:".group:is(:focus-visible, [data-focus-visible]) &",groupDisabled:".group:is(:disabled, [disabled], [data-disabled]) &",groupChecked:".group:is(:checked, [data-checked], [aria-checked=true], [data-state=checked]) &",groupExpanded:".group:is([aria-expanded=true], [data-expanded], [data-state=expanded]) &",groupInvalid:".group:invalid &",indeterminate:"&:is(:indeterminate, [data-indeterminate], [aria-checked=mixed], [data-state=indeterminate])",required:"&:is([data-required], [aria-required=true])",valid:"&:is([data-valid], [data-state=valid])",invalid:"&:is([data-invalid], [aria-invalid=true], [data-state=invalid])",autofill:"&:autofill",inRange:"&:is(:in-range, [data-in-range])",outOfRange:"&:is(:out-of-range, [data-outside-range])",placeholder:"&::placeholder, &[data-placeholder]",placeholderShown:"&:is(:placeholder-shown, [data-placeholder-shown])",pressed:"&:is([aria-pressed=true], [data-pressed])",selected:"&:is([aria-selected=true], [data-selected])",grabbed:"&:is([aria-grabbed=true], [data-grabbed])",underValue:"&[data-state=under-value]",overValue:"&[data-state=over-value]",atValue:"&[data-state=at-value]",default:"&:default",optional:"&:optional",open:"&:is([open], [data-open], [data-state=open])",closed:"&:is([closed], [data-closed], [data-state=closed])",fullscreen:"&:is(:fullscreen, [data-fullscreen])",loading:"&:is([data-loading], [aria-busy=true])",hidden:"&:is([hidden], [data-hidden])",current:"&[data-current]",currentPage:"&[aria-current=page]",currentStep:"&[aria-current=step]",today:"&[data-today]",unavailable:"&[data-unavailable]",rangeStart:"&[data-range-start]",rangeEnd:"&[data-range-end]",now:"&[data-now]",topmost:"&[data-topmost]",motionReduce:"@media (prefers-reduced-motion: reduce)",motionSafe:"@media (prefers-reduced-motion: no-preference)",print:"@media print",landscape:"@media (orientation: landscape)",portrait:"@media (orientation: portrait)",dark:".dark &, .dark .chakra-theme:not(.light) &",light:":root &, .light &",osDark:"@media (prefers-color-scheme: dark)",osLight:"@media (prefers-color-scheme: light)",highContrast:"@media (forced-colors: active)",lessContrast:"@media (prefers-contrast: less)",moreContrast:"@media (prefers-contrast: more)",ltr:"[dir=ltr] &",rtl:"[dir=rtl] &",scrollbar:"&::-webkit-scrollbar",scrollbarThumb:"&::-webkit-scrollbar-thumb",scrollbarTrack:"&::-webkit-scrollbar-track",horizontal:"&[data-orientation=horizontal]",vertical:"&[data-orientation=vertical]",icon:"& :where(svg)",starting:"@starting-style"}),Oe=yt("bg-currentcolor"),St=e=>e===Oe.ref||e==="currentBg",Y=e=>({...e("colors"),currentBg:Oe}),Go=No({conditions:Xo,utilities:{background:{values:Y,shorthand:["bg"],transform(e,r){if(St(r.raw))return{background:Oe.ref};const t=L("background")(e,r);return{...t,[Oe.var]:t?.background}}},backgroundColor:{values:Y,shorthand:["bgColor"],transform(e,r){if(St(r.raw))return{backgroundColor:Oe.ref};const t=L("backgroundColor")(e,r);return{...t,[Oe.var]:t?.backgroundColor}}},backgroundSize:{shorthand:["bgSize"]},backgroundPosition:{shorthand:["bgPos"]},backgroundRepeat:{shorthand:["bgRepeat"]},backgroundAttachment:{shorthand:["bgAttachment"]},backgroundClip:{shorthand:["bgClip"],values:["text"],transform(e){return e==="text"?{color:"transparent",backgroundClip:"text"}:{backgroundClip:e}}},backgroundGradient:{shorthand:["bgGradient"],values(e){return{...e("gradients"),"to-t":"linear-gradient(to top, var(--gradient))","to-tr":"linear-gradient(to top right, var(--gradient))","to-r":"linear-gradient(to right, var(--gradient))","to-br":"linear-gradient(to bottom right, var(--gradient))","to-b":"linear-gradient(to bottom, var(--gradient))","to-bl":"linear-gradient(to bottom left, var(--gradient))","to-l":"linear-gradient(to left, var(--gradient))","to-tl":"linear-gradient(to top left, var(--gradient))"}},transform(e){return{"--gradient-stops":"var(--gradient-from), var(--gradient-to)","--gradient":"var(--gradient-via-stops, var(--gradient-stops))",backgroundImage:e}}},gradientFrom:{values:Y,transform:L("--gradient-from")},gradientTo:{values:Y,transform:L("--gradient-to")},gradientVia:{values:Y,transform(e,r){return{...L("--gradient-via")(e,r),"--gradient-via-stops":"var(--gradient-from), var(--gradient-via), var(--gradient-to)"}}},backgroundImage:{values(e){return{...e("gradients"),...e("assets")}},shorthand:["bgImg","bgImage"]},border:{values:"borders"},borderTop:{values:"borders"},borderLeft:{values:"borders"},borderBlockStart:{values:"borders"},borderRight:{values:"borders"},borderBottom:{values:"borders"},borderBlockEnd:{values:"borders"},borderInlineStart:{values:"borders",shorthand:["borderStart"]},borderInlineEnd:{values:"borders",shorthand:["borderEnd"]},borderInline:{values:"borders",shorthand:["borderX"]},borderBlock:{values:"borders",shorthand:["borderY"]},borderColor:{values:Y,transform:L("borderColor")},borderTopColor:{values:Y,transform:L("borderTopColor")},borderBlockStartColor:{values:Y,transform:L("borderBlockStartColor")},borderBottomColor:{values:Y,transform:L("borderBottomColor")},borderBlockEndColor:{values:Y,transform:L("borderBlockEndColor")},borderLeftColor:{values:Y,transform:L("borderLeftColor")},borderInlineStartColor:{values:Y,shorthand:["borderStartColor"],transform:L("borderInlineStartColor")},borderRightColor:{values:Y,transform:L("borderRightColor")},borderInlineEndColor:{values:Y,shorthand:["borderEndColor"],transform:L("borderInlineEndColor")},borderStyle:{values:"borderStyles"},borderTopStyle:{values:"borderStyles"},borderBlockStartStyle:{values:"borderStyles"},borderBottomStyle:{values:"borderStyles"},borderBlockEndStyle:{values:"borderStyles"},borderInlineStartStyle:{values:"borderStyles",shorthand:["borderStartStyle"]},borderInlineEndStyle:{values:"borderStyles",shorthand:["borderEndStyle"]},borderLeftStyle:{values:"borderStyles"},borderRightStyle:{values:"borderStyles"},borderRadius:{values:"radii",shorthand:["rounded"]},borderTopLeftRadius:{values:"radii",shorthand:["roundedTopLeft"]},borderStartStartRadius:{values:"radii",shorthand:["roundedStartStart","borderTopStartRadius"]},borderEndStartRadius:{values:"radii",shorthand:["roundedEndStart","borderBottomStartRadius"]},borderTopRightRadius:{values:"radii",shorthand:["roundedTopRight"]},borderStartEndRadius:{values:"radii",shorthand:["roundedStartEnd","borderTopEndRadius"]},borderEndEndRadius:{values:"radii",shorthand:["roundedEndEnd","borderBottomEndRadius"]},borderBottomLeftRadius:{values:"radii",shorthand:["roundedBottomLeft"]},borderBottomRightRadius:{values:"radii",shorthand:["roundedBottomRight"]},borderInlineStartRadius:{values:"radii",property:"borderRadius",shorthand:["roundedStart","borderStartRadius"],transform:e=>({borderStartStartRadius:e,borderEndStartRadius:e})},borderInlineEndRadius:{values:"radii",property:"borderRadius",shorthand:["roundedEnd","borderEndRadius"],transform:e=>({borderStartEndRadius:e,borderEndEndRadius:e})},borderTopRadius:{values:"radii",property:"borderRadius",shorthand:["roundedTop"],transform:e=>({borderTopLeftRadius:e,borderTopRightRadius:e})},borderBottomRadius:{values:"radii",property:"borderRadius",shorthand:["roundedBottom"],transform:e=>({borderBottomLeftRadius:e,borderBottomRightRadius:e})},borderLeftRadius:{values:"radii",property:"borderRadius",shorthand:["roundedLeft"],transform:e=>({borderTopLeftRadius:e,borderBottomLeftRadius:e})},borderRightRadius:{values:"radii",property:"borderRadius",shorthand:["roundedRight"],transform:e=>({borderTopRightRadius:e,borderBottomRightRadius:e})},borderWidth:{values:"borderWidths"},borderBlockStartWidth:{values:"borderWidths"},borderTopWidth:{values:"borderWidths"},borderBottomWidth:{values:"borderWidths"},borderBlockEndWidth:{values:"borderWidths"},borderRightWidth:{values:"borderWidths"},borderInlineWidth:{values:"borderWidths",shorthand:["borderXWidth"]},borderInlineStartWidth:{values:"borderWidths",shorthand:["borderStartWidth"]},borderInlineEndWidth:{values:"borderWidths",shorthand:["borderEndWidth"]},borderLeftWidth:{values:"borderWidths"},borderBlockWidth:{values:"borderWidths",shorthand:["borderYWidth"]},color:{values:Y,transform:L("color")},fill:{values:Y,transform:L("fill")},stroke:{values:Y,transform:L("stroke")},accentColor:{values:Y,transform:L("accentColor")},divideX:{values:{type:"string"},transform(e){return{"& > :not(style, [hidden]) ~ :not(style, [hidden])":{borderInlineStartWidth:e,borderInlineEndWidth:"0px"}}}},divideY:{values:{type:"string"},transform(e){return{"& > :not(style, [hidden]) ~ :not(style, [hidden])":{borderTopWidth:e,borderBottomWidth:"0px"}}}},divideColor:{values:Y,transform(e,r){return{"& > :not(style, [hidden]) ~ :not(style, [hidden])":Uo(e,r)}}},divideStyle:{property:"borderStyle",transform(e){return{"& > :not(style, [hidden]) ~ :not(style, [hidden])":{borderStyle:e}}}},boxShadow:{values:"shadows",shorthand:["shadow"]},boxShadowColor:{values:Y,transform:L("--shadow-color"),shorthand:["shadowColor"]},mixBlendMode:{shorthand:["blendMode"]},backgroundBlendMode:{shorthand:["bgBlendMode"]},opacity:{values:"opacity"},filter:{transform(e){return e!=="auto"?{filter:e}:{filter:"var(--blur) var(--brightness) var(--contrast) var(--grayscale) var(--hue-rotate) var(--invert) var(--saturate) var(--sepia) var(--drop-shadow)"}}},blur:{values:"blurs",transform:e=>({"--blur":Z("blur",e)})},brightness:{transform:e=>({"--brightness":Z("brightness",e)})},contrast:{transform:e=>({"--contrast":Z("contrast",e)})},grayscale:{transform:e=>({"--grayscale":Z("grayscale",e)})},hueRotate:{transform:e=>({"--hue-rotate":Z("hue-rotate",ke(e))})},invert:{transform:e=>({"--invert":Z("invert",e)})},saturate:{transform:e=>({"--saturate":Z("saturate",e)})},sepia:{transform:e=>({"--sepia":Z("sepia",e)})},dropShadow:{transform:e=>({"--drop-shadow":Z("drop-shadow",e)})},backdropFilter:{transform(e){return e!=="auto"?{backdropFilter:e}:{backdropFilter:"var(--backdrop-blur) var(--backdrop-brightness) var(--backdrop-contrast) var(--backdrop-grayscale) var(--backdrop-hue-rotate) var(--backdrop-invert) var(--backdrop-opacity) var(--backdrop-saturate) var(--backdrop-sepia)"}}},backdropBlur:{values:"blurs",transform:e=>({"--backdrop-blur":Z("blur",e)})},backdropBrightness:{transform:e=>({"--backdrop-brightness":Z("brightness",e)})},backdropContrast:{transform:e=>({"--backdrop-contrast":Z("contrast",e)})},backdropGrayscale:{transform:e=>({"--backdrop-grayscale":Z("grayscale",e)})},backdropHueRotate:{transform:e=>({"--backdrop-hue-rotate":Z("hue-rotate",ke(e))})},backdropInvert:{transform:e=>({"--backdrop-invert":Z("invert",e)})},backdropOpacity:{transform:e=>({"--backdrop-opacity":Z("opacity",e)})},backdropSaturate:{transform:e=>({"--backdrop-saturate":Z("saturate",e)})},backdropSepia:{transform:e=>({"--backdrop-sepia":Z("sepia",e)})},flexBasis:{values:"sizes"},gap:{values:"spacing"},rowGap:{values:"spacing",shorthand:["gapY"]},columnGap:{values:"spacing",shorthand:["gapX"]},flexDirection:{shorthand:["flexDir"]},gridGap:{values:"spacing"},gridColumnGap:{values:"spacing"},gridRowGap:{values:"spacing"},outlineColor:{values:Y,transform:L("outlineColor")},focusRing:xt("&:is(:focus, [data-focus])"),focusVisibleRing:xt("&:is(:focus-visible, [data-focus-visible])"),focusRingColor:{values:Y,transform:L("--focus-ring-color")},focusRingOffset:{values:"spacing",transform:e=>({"--focus-ring-offset":e})},focusRingWidth:{values:"borderWidths",property:"outlineWidth",transform:e=>({"--focus-ring-width":e})},focusRingStyle:{values:"borderStyles",property:"outlineStyle",transform:e=>({"--focus-ring-style":e})},aspectRatio:{values:"aspectRatios"},width:{values:"sizes",shorthand:["w"]},inlineSize:{values:"sizes"},height:{values:"sizes",shorthand:["h"]},blockSize:{values:"sizes"},boxSize:{values:"sizes",property:"width",transform:e=>({width:e,height:e})},minWidth:{values:"sizes",shorthand:["minW"]},minInlineSize:{values:"sizes"},minHeight:{values:"sizes",shorthand:["minH"]},minBlockSize:{values:"sizes"},maxWidth:{values:"sizes",shorthand:["maxW"]},maxInlineSize:{values:"sizes"},maxHeight:{values:"sizes",shorthand:["maxH"]},maxBlockSize:{values:"sizes"},hideFrom:{values:"breakpoints",transform:(e,{raw:r,token:t})=>({[t.raw(`breakpoints.${r}`)?`@breakpoint ${r}`:`@media screen and (min-width: ${e})`]:{display:"none"}})},hideBelow:{values:"breakpoints",transform(e,{raw:r,token:t}){return{[t.raw(`breakpoints.${r}`)?`@breakpoint ${r}Down`:`@media screen and (max-width: ${e})`]:{display:"none"}}}},overscrollBehavior:{shorthand:["overscroll"]},overscrollBehaviorX:{shorthand:["overscrollX"]},overscrollBehaviorY:{shorthand:["overscrollY"]},scrollbar:{values:["visible","hidden"],transform(e){switch(e){case"visible":return{msOverflowStyle:"auto",scrollbarWidth:"auto","&::-webkit-scrollbar":{display:"block"}};case"hidden":return{msOverflowStyle:"none",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}};default:return{}}}},scrollbarColor:{values:Y,transform:L("scrollbarColor")},scrollbarGutter:{values:"spacing"},scrollbarWidth:{values:"sizes"},scrollMargin:{values:"spacing"},scrollMarginTop:{values:"spacing"},scrollMarginBottom:{values:"spacing"},scrollMarginLeft:{values:"spacing"},scrollMarginRight:{values:"spacing"},scrollMarginX:{values:"spacing",transform:e=>({scrollMarginLeft:e,scrollMarginRight:e})},scrollMarginY:{values:"spacing",transform:e=>({scrollMarginTop:e,scrollMarginBottom:e})},scrollPadding:{values:"spacing"},scrollPaddingTop:{values:"spacing"},scrollPaddingBottom:{values:"spacing"},scrollPaddingLeft:{values:"spacing"},scrollPaddingRight:{values:"spacing"},scrollPaddingInline:{values:"spacing",shorthand:["scrollPaddingX"]},scrollPaddingBlock:{values:"spacing",shorthand:["scrollPaddingY"]},scrollSnapType:{values:{none:"none",x:"x var(--scroll-snap-strictness)",y:"y var(--scroll-snap-strictness)",both:"both var(--scroll-snap-strictness)"}},scrollSnapStrictness:{values:["mandatory","proximity"],transform:e=>({"--scroll-snap-strictness":e})},scrollSnapMargin:{values:"spacing"},scrollSnapMarginTop:{values:"spacing"},scrollSnapMarginBottom:{values:"spacing"},scrollSnapMarginLeft:{values:"spacing"},scrollSnapMarginRight:{values:"spacing"},listStylePosition:{shorthand:["listStylePos"]},listStyleImage:{values:"assets",shorthand:["listStyleImg"]},position:{shorthand:["pos"]},zIndex:{values:"zIndex"},inset:{values:"spacing"},insetInline:{values:"spacing",shorthand:["insetX"]},insetBlock:{values:"spacing",shorthand:["insetY"]},top:{values:"spacing"},insetBlockStart:{values:"spacing"},bottom:{values:"spacing"},insetBlockEnd:{values:"spacing"},left:{values:"spacing"},right:{values:"spacing"},insetInlineStart:{values:"spacing",shorthand:["insetStart"]},insetInlineEnd:{values:"spacing",shorthand:["insetEnd"]},ring:{transform(e){return{"--ring-offset-shadow":"var(--ring-inset) 0 0 0 var(--ring-offset-width) var(--ring-offset-color)","--ring-shadow":"var(--ring-inset) 0 0 0 calc(var(--ring-width) + var(--ring-offset-width)) var(--ring-color)","--ring-width":e,boxShadow:"var(--ring-offset-shadow), var(--ring-shadow), var(--shadow, 0 0 #0000)"}}},ringColor:{values:Y,transform:L("--ring-color")},ringOffset:{transform:e=>({"--ring-offset-width":e})},ringOffsetColor:{values:Y,transform:L("--ring-offset-color")},ringInset:{transform:e=>({"--ring-inset":e})},margin:{values:"spacing",shorthand:["m"]},marginTop:{values:"spacing",shorthand:["mt"]},marginBlockStart:{values:"spacing"},marginRight:{values:"spacing",shorthand:["mr"]},marginBottom:{values:"spacing",shorthand:["mb"]},marginBlockEnd:{values:"spacing"},marginLeft:{values:"spacing",shorthand:["ml"]},marginInlineStart:{values:"spacing",shorthand:["ms","marginStart"]},marginInlineEnd:{values:"spacing",shorthand:["me","marginEnd"]},marginInline:{values:"spacing",shorthand:["mx","marginX"]},marginBlock:{values:"spacing",shorthand:["my","marginY"]},padding:{values:"spacing",shorthand:["p"]},paddingTop:{values:"spacing",shorthand:["pt"]},paddingRight:{values:"spacing",shorthand:["pr"]},paddingBottom:{values:"spacing",shorthand:["pb"]},paddingBlockStart:{values:"spacing"},paddingBlockEnd:{values:"spacing"},paddingLeft:{values:"spacing",shorthand:["pl"]},paddingInlineStart:{values:"spacing",shorthand:["ps","paddingStart"]},paddingInlineEnd:{values:"spacing",shorthand:["pe","paddingEnd"]},paddingInline:{values:"spacing",shorthand:["px","paddingX"]},paddingBlock:{values:"spacing",shorthand:["py","paddingY"]},textDecoration:{shorthand:["textDecor"]},textDecorationColor:{values:Y,transform:L("textDecorationColor")},textShadow:{values:"shadows"},transform:{transform:e=>{let r=e;return e==="auto"&&(r="translateX(var(--translate-x, 0)) translateY(var(--translate-y, 0)) rotate(var(--rotate, 0)) scaleX(var(--scale-x, 1)) scaleY(var(--scale-y, 1)) skewX(var(--skew-x, 0)) skewY(var(--skew-y, 0))"),e==="auto-gpu"&&(r="translate3d(var(--translate-x, 0), var(--translate-y, 0), 0) rotate(var(--rotate, 0)) scaleX(var(--scale-x, 1)) scaleY(var(--scale-y, 1)) skewX(var(--skew-x, 0)) skewY(var(--skew-y, 0))"),{transform:r}}},skewX:{transform:e=>({"--skew-x":ke(e)})},skewY:{transform:e=>({"--skew-y":ke(e)})},scaleX:{transform:e=>({"--scale-x":e})},scaleY:{transform:e=>({"--scale-y":e})},scale:{transform(e){return e!=="auto"?{scale:e}:{scale:"var(--scale-x, 1) var(--scale-y, 1)"}}},spaceXReverse:{values:{type:"boolean"},transform(e){return{"& > :not(style, [hidden]) ~ :not(style, [hidden])":{"--space-x-reverse":e?"1":void 0}}}},spaceX:{property:"marginInlineStart",values:"spacing",transform:e=>({"& > :not(style, [hidden]) ~ :not(style, [hidden])":{"--space-x-reverse":"0",marginInlineStart:`calc(${e} * calc(1 - var(--space-x-reverse)))`,marginInlineEnd:`calc(${e} * var(--space-x-reverse))`}})},spaceYReverse:{values:{type:"boolean"},transform(e){return{"& > :not(style, [hidden]) ~ :not(style, [hidden])":{"--space-y-reverse":e?"1":void 0}}}},spaceY:{property:"marginTop",values:"spacing",transform:e=>({"& > :not(style, [hidden]) ~ :not(style, [hidden])":{"--space-y-reverse":"0",marginTop:`calc(${e} * calc(1 - var(--space-y-reverse)))`,marginBottom:`calc(${e} * var(--space-y-reverse))`}})},rotate:{transform(e){return e!=="auto"?{rotate:ke(e)}:{rotate:"var(--rotate-x, 0) var(--rotate-y, 0) var(--rotate-z, 0)"}}},rotateX:{transform(e){return{"--rotate-x":ke(e)}}},rotateY:{transform(e){return{"--rotate-y":ke(e)}}},translate:{transform(e){return e!=="auto"?{translate:e}:{translate:"var(--translate-x) var(--translate-y)"}}},translateX:{values:"spacing",transform:e=>({"--translate-x":e})},translateY:{values:"spacing",transform:e=>({"--translate-y":e})},transition:{values:["all","common","colors","opacity","position","backgrounds","size","shadow","transform"],transform(e){switch(e){case"all":return ye("all");case"position":return ye("left, right, top, bottom, inset-inline, inset-block");case"colors":return ye("color, background-color, border-color, text-decoration-color, fill, stroke");case"opacity":return ye("opacity");case"shadow":return ye("box-shadow");case"transform":return ye("transform");case"size":return ye("width, height");case"backgrounds":return ye("background, background-color, background-image, background-position");case"common":return ye("color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter");default:return{transition:e}}}},transitionDuration:{values:"durations"},transitionProperty:{values:{common:"background-color, border-color, color, fill, stroke, opacity, box-shadow, translate, transform",colors:"background-color, border-color, color, fill, stroke",size:"width, height",position:"left, right, top, bottom, inset-inline, inset-block",background:"background, background-color, background-image, background-position"}},transitionTimingFunction:{values:"easings"},animation:{values:"animations"},animationDuration:{values:"durations"},animationDelay:{values:"durations"},animationTimingFunction:{values:"easings"},fontFamily:{values:"fonts"},fontSize:{values:"fontSizes"},fontWeight:{values:"fontWeights"},lineHeight:{values:"lineHeights"},letterSpacing:{values:"letterSpacings"},textIndent:{values:"spacing"},truncate:{values:{type:"boolean"},transform(e){return e===!0?{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}:{}}},lineClamp:{transform(e){return e==="none"?{WebkitLineClamp:"unset"}:{overflow:"hidden",display:"-webkit-box",WebkitLineClamp:e,WebkitBoxOrient:"vertical",textWrap:"wrap"}}},borderSpacing:{values:e=>({...e("spacing"),auto:"var(--border-spacing-x, 0) var(--border-spacing-y, 0)"})},borderSpacingX:{values:"spacing",transform(e){return{"--border-spacing-x":e}}},borderSpacingY:{values:"spacing",transform(e){return{"--border-spacing-y":e}}},srOnly:{values:{type:"boolean"},transform(e){return qo[e]||{}}},debug:{values:{type:"boolean"},transform(e){return e?{outline:"1px solid blue !important","& > *":{outline:"1px solid red !important"}}:{}}},caretColor:{values:Y,transform:L("caretColor")},cursor:{values:"cursor"}}}),qo={true:{position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0"},false:{position:"static",width:"auto",height:"auto",padding:"0",margin:"0",overflow:"visible",clip:"auto",whiteSpace:"normal"}};var Ko="",Jo=Ko.split(","),Qo="WebkitAppearance,WebkitBorderBefore,WebkitBorderBeforeColor,WebkitBorderBeforeStyle,WebkitBorderBeforeWidth,WebkitBoxReflect,WebkitLineClamp,WebkitMask,WebkitMaskAttachment,WebkitMaskClip,WebkitMaskComposite,WebkitMaskImage,WebkitMaskOrigin,WebkitMaskPosition,WebkitMaskPositionX,WebkitMaskPositionY,WebkitMaskRepeat,WebkitMaskRepeatX,WebkitMaskRepeatY,WebkitMaskSize,WebkitOverflowScrolling,WebkitTapHighlightColor,WebkitTextFillColor,WebkitTextStroke,WebkitTextStrokeColor,WebkitTextStrokeWidth,WebkitTouchCallout,WebkitUserModify,WebkitUserSelect,accentColor,alignContent,alignItems,alignSelf,alignTracks,all,anchorName,anchorScope,animation,animationComposition,animationDelay,animationDirection,animationDuration,animationFillMode,animationIterationCount,animationName,animationPlayState,animationRange,animationRangeEnd,animationRangeStart,animationTimeline,animationTimingFunction,appearance,aspectRatio,backdropFilter,backfaceVisibility,background,backgroundAttachment,backgroundBlendMode,backgroundClip,backgroundColor,backgroundImage,backgroundOrigin,backgroundPosition,backgroundPositionX,backgroundPositionY,backgroundRepeat,backgroundSize,blockSize,border,borderBlock,borderBlockColor,borderBlockEnd,borderBlockEndColor,borderBlockEndStyle,borderBlockEndWidth,borderBlockStart,borderBlockStartColor,borderBlockStartStyle,borderBlockStartWidth,borderBlockStyle,borderBlockWidth,borderBottom,borderBottomColor,borderBottomLeftRadius,borderBottomRightRadius,borderBottomStyle,borderBottomWidth,borderCollapse,borderColor,borderEndEndRadius,borderEndStartRadius,borderImage,borderImageOutset,borderImageRepeat,borderImageSlice,borderImageSource,borderImageWidth,borderInline,borderInlineColor,borderInlineEnd,borderInlineEndColor,borderInlineEndStyle,borderInlineEndWidth,borderInlineStart,borderInlineStartColor,borderInlineStartStyle,borderInlineStartWidth,borderInlineStyle,borderInlineWidth,borderLeft,borderLeftColor,borderLeftStyle,borderLeftWidth,borderRadius,borderRight,borderRightColor,borderRightStyle,borderRightWidth,borderSpacing,borderStartEndRadius,borderStartStartRadius,borderStyle,borderTop,borderTopColor,borderTopLeftRadius,borderTopRightRadius,borderTopStyle,borderTopWidth,borderWidth,bottom,boxAlign,boxDecorationBreak,boxDirection,boxFlex,boxFlexGroup,boxLines,boxOrdinalGroup,boxOrient,boxPack,boxShadow,boxSizing,breakAfter,breakBefore,breakInside,captionSide,caret,caretColor,caretShape,clear,clip,clipPath,clipRule,color,colorInterpolationFilters,colorScheme,columnCount,columnFill,columnGap,columnRule,columnRuleColor,columnRuleStyle,columnRuleWidth,columnSpan,columnWidth,columns,contain,containIntrinsicBlockSize,containIntrinsicHeight,containIntrinsicInlineSize,containIntrinsicSize,containIntrinsicWidth,container,containerName,containerType,content,contentVisibility,counterIncrement,counterReset,counterSet,cursor,cx,cy,d,direction,display,dominantBaseline,emptyCells,fieldSizing,fill,fillOpacity,fillRule,filter,flex,flexBasis,flexDirection,flexFlow,flexGrow,flexShrink,flexWrap,float,floodColor,floodOpacity,font,fontFamily,fontFeatureSettings,fontKerning,fontLanguageOverride,fontOpticalSizing,fontPalette,fontSize,fontSizeAdjust,fontSmooth,fontStretch,fontStyle,fontSynthesis,fontSynthesisPosition,fontSynthesisSmallCaps,fontSynthesisStyle,fontSynthesisWeight,fontVariant,fontVariantAlternates,fontVariantCaps,fontVariantEastAsian,fontVariantEmoji,fontVariantLigatures,fontVariantNumeric,fontVariantPosition,fontVariationSettings,fontWeight,forcedColorAdjust,gap,grid,gridArea,gridAutoColumns,gridAutoFlow,gridAutoRows,gridColumn,gridColumnEnd,gridColumnGap,gridColumnStart,gridGap,gridRow,gridRowEnd,gridRowGap,gridRowStart,gridTemplate,gridTemplateAreas,gridTemplateColumns,gridTemplateRows,hangingPunctuation,height,hyphenateCharacter,hyphenateLimitChars,hyphens,imageOrientation,imageRendering,imageResolution,imeMode,initialLetter,initialLetterAlign,inlineSize,inset,insetBlock,insetBlockEnd,insetBlockStart,insetInline,insetInlineEnd,insetInlineStart,interpolateSize,isolation,justifyContent,justifyItems,justifySelf,justifyTracks,left,letterSpacing,lightingColor,lineBreak,lineClamp,lineHeight,lineHeightStep,listStyle,listStyleImage,listStylePosition,listStyleType,margin,marginBlock,marginBlockEnd,marginBlockStart,marginBottom,marginInline,marginInlineEnd,marginInlineStart,marginLeft,marginRight,marginTop,marginTrim,marker,markerEnd,markerMid,markerStart,mask,maskBorder,maskBorderMode,maskBorderOutset,maskBorderRepeat,maskBorderSlice,maskBorderSource,maskBorderWidth,maskClip,maskComposite,maskImage,maskMode,maskOrigin,maskPosition,maskRepeat,maskSize,maskType,masonryAutoFlow,mathDepth,mathShift,mathStyle,maxBlockSize,maxHeight,maxInlineSize,maxLines,maxWidth,minBlockSize,minHeight,minInlineSize,minWidth,mixBlendMode,objectFit,objectPosition,offset,offsetAnchor,offsetDistance,offsetPath,offsetPosition,offsetRotate,opacity,order,orphans,outline,outlineColor,outlineOffset,outlineStyle,outlineWidth,overflow,overflowAnchor,overflowBlock,overflowClipBox,overflowClipMargin,overflowInline,overflowWrap,overflowX,overflowY,overlay,overscrollBehavior,overscrollBehaviorBlock,overscrollBehaviorInline,overscrollBehaviorX,overscrollBehaviorY,padding,paddingBlock,paddingBlockEnd,paddingBlockStart,paddingBottom,paddingInline,paddingInlineEnd,paddingInlineStart,paddingLeft,paddingRight,paddingTop,page,pageBreakAfter,pageBreakBefore,pageBreakInside,paintOrder,perspective,perspectiveOrigin,placeContent,placeItems,placeSelf,pointerEvents,position,positionAnchor,positionArea,positionTry,positionTryFallbacks,positionTryOrder,positionVisibility,printColorAdjust,quotes,r,resize,right,rotate,rowGap,rubyAlign,rubyMerge,rubyPosition,rx,ry,scale,scrollBehavior,scrollMargin,scrollMarginBlock,scrollMarginBlockEnd,scrollMarginBlockStart,scrollMarginBottom,scrollMarginInline,scrollMarginInlineEnd,scrollMarginInlineStart,scrollMarginLeft,scrollMarginRight,scrollMarginTop,scrollPadding,scrollPaddingBlock,scrollPaddingBlockEnd,scrollPaddingBlockStart,scrollPaddingBottom,scrollPaddingInline,scrollPaddingInlineEnd,scrollPaddingInlineStart,scrollPaddingLeft,scrollPaddingRight,scrollPaddingTop,scrollSnapAlign,scrollSnapCoordinate,scrollSnapDestination,scrollSnapPointsX,scrollSnapPointsY,scrollSnapStop,scrollSnapType,scrollSnapTypeX,scrollSnapTypeY,scrollTimeline,scrollTimelineAxis,scrollTimelineName,scrollbarColor,scrollbarGutter,scrollbarWidth,shapeImageThreshold,shapeMargin,shapeOutside,shapeRendering,stopColor,stopOpacity,stroke,strokeDasharray,strokeDashoffset,strokeLinecap,strokeLinejoin,strokeMiterlimit,strokeOpacity,strokeWidth,tabSize,tableLayout,textAlign,textAlignLast,textAnchor,textBox,textBoxEdge,textBoxTrim,textCombineUpright,textDecoration,textDecorationColor,textDecorationLine,textDecorationSkip,textDecorationSkipInk,textDecorationStyle,textDecorationThickness,textEmphasis,textEmphasisColor,textEmphasisPosition,textEmphasisStyle,textIndent,textJustify,textOrientation,textOverflow,textRendering,textShadow,textSizeAdjust,textSpacingTrim,textTransform,textUnderlineOffset,textUnderlinePosition,textWrap,textWrapMode,textWrapStyle,timelineScope,top,touchAction,transform,transformBox,transformOrigin,transformStyle,transition,transitionBehavior,transitionDelay,transitionDuration,transitionProperty,transitionTimingFunction,translate,unicodeBidi,userSelect,vectorEffect,verticalAlign,viewTimeline,viewTimelineAxis,viewTimelineInset,viewTimelineName,viewTransitionName,visibility,whiteSpace,whiteSpaceCollapse,widows,width,willChange,wordBreak,wordSpacing,wordWrap,writingMode,x,y,zIndex,zoom,alignmentBaseline,baselineShift,colorInterpolation,colorRendering,glyphOrientationVertical",Zo=Qo.split(",").concat(Jo),ea=new Map(Zo.map(e=>[e,!0]));function ra(e){const r=Object.create(null);return t=>(r[t]===void 0&&(r[t]=e(t)),r[t])}var ta=/&|@/,na=ra(e=>ea.has(e)||e.startsWith("--")||ta.test(e));function kt(e,r){const t={};return ve(e,(n,o)=>{n&&(t[o.join(".")]=n.value)},{stop:r}),t}var Rr,Ct;function oa(){if(Ct)return Rr;Ct=1,Rr=a,a.default=a,a.stable=d,a.stableStringify=d;var e="[...]",r="[Circular]",t=[],n=[];function o(){return{depthLimit:Number.MAX_SAFE_INTEGER,edgesLimit:Number.MAX_SAFE_INTEGER}}function a(l,h,v,g){typeof g>"u"&&(g=o()),i(l,"",0,[],void 0,0,g);var k;try{n.length===0?k=JSON.stringify(l,h,v):k=JSON.stringify(l,f(h),v)}catch{return JSON.stringify("[unable to serialize, circular reference is too complex to analyze]")}finally{for(;t.length!==0;){var C=t.pop();C.length===4?Object.defineProperty(C[0],C[1],C[3]):C[0][C[1]]=C[2]}}return k}function s(l,h,v,g){var k=Object.getOwnPropertyDescriptor(g,v);k.get!==void 0?k.configurable?(Object.defineProperty(g,v,{value:l}),t.push([g,v,h,k])):n.push([h,v,l]):(g[v]=l,t.push([g,v,h]))}function i(l,h,v,g,k,C,S){C+=1;var x;if(typeof l=="object"&&l!==null){for(x=0;x<g.length;x++)if(g[x]===l){s(r,l,h,k);return}if(typeof S.depthLimit<"u"&&C>S.depthLimit){s(e,l,h,k);return}if(typeof S.edgesLimit<"u"&&v+1>S.edgesLimit){s(e,l,h,k);return}if(g.push(l),Array.isArray(l))for(x=0;x<l.length;x++)i(l[x],x,x,g,l,C,S);else{var w=Object.keys(l);for(x=0;x<w.length;x++){var b=w[x];i(l[b],b,x,g,l,C,S)}}g.pop()}}function u(l,h){return l<h?-1:l>h?1:0}function d(l,h,v,g){typeof g>"u"&&(g=o());var k=c(l,"",0,[],void 0,0,g)||l,C;try{n.length===0?C=JSON.stringify(k,h,v):C=JSON.stringify(k,f(h),v)}catch{return JSON.stringify("[unable to serialize, circular reference is too complex to analyze]")}finally{for(;t.length!==0;){var S=t.pop();S.length===4?Object.defineProperty(S[0],S[1],S[3]):S[0][S[1]]=S[2]}}return C}function c(l,h,v,g,k,C,S){C+=1;var x;if(typeof l=="object"&&l!==null){for(x=0;x<g.length;x++)if(g[x]===l){s(r,l,h,k);return}try{if(typeof l.toJSON=="function")return}catch{return}if(typeof S.depthLimit<"u"&&C>S.depthLimit){s(e,l,h,k);return}if(typeof S.edgesLimit<"u"&&v+1>S.edgesLimit){s(e,l,h,k);return}if(g.push(l),Array.isArray(l))for(x=0;x<l.length;x++)c(l[x],x,x,g,l,C,S);else{var w={},b=Object.keys(l).sort(u);for(x=0;x<b.length;x++){var A=b[x];c(l[A],A,x,g,l,C,S),w[A]=l[A]}if(typeof k<"u")t.push([k,h,l]),k[h]=w;else return w}g.pop()}}function f(l){return l=typeof l<"u"?l:function(h,v){return v},function(h,v){if(n.length>0)for(var g=0;g<n.length;g++){var k=n[g];if(k[1]===h&&k[0]===v){v=k[2],n.splice(g,1);break}}return l.call(this,h,v)}}return Rr}var aa=oa();const sa=pn(aa),de=e=>{const r=Object.create(null);function t(...n){const o=n.map(a=>sa(a)).join("|");return r[o]===void 0&&(r[o]=e(...n)),r[o]}return t},Et=16,tr="px",Tr="em",ze="rem";function wt(e=""){const r=new RegExp(String.raw`-?\d+(?:\.\d+|\d*)`),t=new RegExp(`${tr}|${Tr}|${ze}`);return e.match(new RegExp(`${r.source}(${t.source})`))?.[1]}function Pt(e=""){if(typeof e=="number")return`${e}px`;const r=wt(e);if(!r||r===tr)return e;if(r===Tr||r===ze)return`${parseFloat(e)*Et}${tr}`}function Rt(e=""){const r=wt(e);if(!r||r===ze)return e;if(r===Tr)return`${parseFloat(e)}${ze}`;if(r===tr)return`${parseFloat(e)/Et}${ze}`}const ia=e=>e.charAt(0).toUpperCase()+e.slice(1);function la(e){const r=ca(e),t=Object.fromEntries(r);function n(l){return t[l]}function o(l){return _e(n(l))}function a(){const l=Object.keys(t),h=ua(l),v=l.flatMap(g=>{const k=n(g),C=[`${g}Down`,_e({max:nr(k.min)})],S=[g,_e({min:k.min})],x=[`${g}Only`,o(g)];return[S,x,C]}).filter(([,g])=>g!=="").concat(h.map(([g,k])=>{const C=n(g),S=n(k);return[`${g}To${ia(k)}`,_e({min:C.min,max:nr(S.min)})]}));return Object.fromEntries(v)}function s(){const l=a();return Object.fromEntries(Object.entries(l))}const i=s(),u=l=>i[l];function d(){return["base",...Object.keys(t)]}function c(l){return _e({min:n(l).min})}function f(l){return _e({max:nr(n(l).min)})}return{values:Object.values(t),only:o,keys:d,conditions:i,getCondition:u,up:c,down:f}}function nr(e){const r=parseFloat(Pt(e)??"")-.04;return Rt(`${r}px`)}function ca(e){return Object.entries(e).sort(([,t],[,n])=>parseInt(t,10)<parseInt(n,10)?-1:1).map(([t,n],o,a)=>{let s=null;return o<=a.length-1&&(s=a[o+1]?.[1]),s!=null&&(s=nr(s)),[t,{name:t,min:Rt(n),max:s}]})}function ua(e){const r=[];return e.forEach((t,n)=>{let o=n;o++;let a=e[o];for(;a;)r.push([t,a]),o++,a=e[o]}),r}function _e({min:e,max:r}){return e==null&&r==null?"":["@media screen",e&&`(min-width: ${e})`,r&&`(max-width: ${r})`].filter(Boolean).join(" and ")}const da=(e,r)=>Object.fromEntries(Object.entries(e).map(([t,n])=>r(t,n))),fa=e=>{const{breakpoints:r,conditions:t={}}=e,n=da(t,(c,f)=>[`_${c}`,f]),o=Object.assign({},n,r.conditions);function a(){return Object.keys(o)}function s(c){return a().includes(c)||/^@|&|&$/.test(c)||c.startsWith("_")}function i(c){return c.filter(f=>f!=="base").sort((f,l)=>{const h=s(f),v=s(l);return h&&!v?1:!h&&v?-1:0})}function u(c){return c.startsWith("@breakpoint")?r.getCondition(c.replace("@breakpoint ","")):c}function d(c){return Reflect.get(o,c)||c}return{keys:a,sort:i,has:s,resolve:d,breakpoints:r.keys(),expandAtRule:u}},Tt=e=>({minMax:new RegExp(`(!?\\(\\s*min(-device-)?-${e})(.|
36
+ */var io;function Xa(){return io||(io=1,process.env.NODE_ENV!=="production"&&(function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,s=e?Symbol.for("react.provider"):60109,a=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,g=e?Symbol.for("react.suspense"):60113,d=e?Symbol.for("react.suspense_list"):60120,f=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,h=e?Symbol.for("react.block"):60121,y=e?Symbol.for("react.fundamental"):60117,E=e?Symbol.for("react.responder"):60118,b=e?Symbol.for("react.scope"):60119;function p(x){return typeof x=="string"||typeof x=="function"||x===r||x===c||x===i||x===o||x===g||x===d||typeof x=="object"&&x!==null&&(x.$$typeof===m||x.$$typeof===f||x.$$typeof===s||x.$$typeof===a||x.$$typeof===u||x.$$typeof===y||x.$$typeof===E||x.$$typeof===b||x.$$typeof===h)}function S(x){if(typeof x=="object"&&x!==null){var ee=x.$$typeof;switch(ee){case t:var pe=x.type;switch(pe){case l:case c:case r:case i:case o:case g:return pe;default:var rt=pe&&pe.$$typeof;switch(rt){case a:case u:case m:case f:case s:return rt;default:return ee}}case n:return ee}}}var v=l,T=c,R=a,w=s,k=t,P=u,D=r,L=m,J=f,G=n,ae=i,ie=o,Q=g,Z=!1;function V(x){return Z||(Z=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),O(x)||S(x)===l}function O(x){return S(x)===c}function A(x){return S(x)===a}function M(x){return S(x)===s}function X(x){return typeof x=="object"&&x!==null&&x.$$typeof===t}function ue(x){return S(x)===u}function ne(x){return S(x)===r}function ze(x){return S(x)===m}function nt(x){return S(x)===f}function C(x){return S(x)===n}function I(x){return S(x)===i}function N(x){return S(x)===o}function U(x){return S(x)===g}j.AsyncMode=v,j.ConcurrentMode=T,j.ContextConsumer=R,j.ContextProvider=w,j.Element=k,j.ForwardRef=P,j.Fragment=D,j.Lazy=L,j.Memo=J,j.Portal=G,j.Profiler=ae,j.StrictMode=ie,j.Suspense=Q,j.isAsyncMode=V,j.isConcurrentMode=O,j.isContextConsumer=A,j.isContextProvider=M,j.isElement=X,j.isForwardRef=ue,j.isFragment=ne,j.isLazy=ze,j.isMemo=nt,j.isPortal=C,j.isProfiler=I,j.isStrictMode=N,j.isSuspense=U,j.isValidElementType=p,j.typeOf=S})()),j}var so;function Ka(){return so||(so=1,process.env.NODE_ENV==="production"?en.exports=qa():en.exports=Xa()),en.exports}var Hn,ao;function Ja(){if(ao)return Hn;ao=1;var e=Ka(),t={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},n={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},r={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},o={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},i={};i[e.ForwardRef]=r,i[e.Memo]=o;function s(m){return e.isMemo(m)?o:i[m.$$typeof]||t}var a=Object.defineProperty,l=Object.getOwnPropertyNames,c=Object.getOwnPropertySymbols,u=Object.getOwnPropertyDescriptor,g=Object.getPrototypeOf,d=Object.prototype;function f(m,h,y){if(typeof h!="string"){if(d){var E=g(h);E&&E!==d&&f(m,E,y)}var b=l(h);c&&(b=b.concat(c(h)));for(var p=s(m),S=s(h),v=0;v<b.length;++v){var T=b[v];if(!n[T]&&!(y&&y[T])&&!(S&&S[T])&&!(p&&p[T])){var R=u(h,T);try{a(m,T,R)}catch{}}}}return m}return Hn=f,Hn}Ja();var Qa=!0;function Za(e,t,n){var r="";return n.split(" ").forEach(function(o){e[o]!==void 0?t.push(e[o]+";"):o&&(r+=o+" ")}),r}var lo=function(t,n,r){var o=t.key+"-"+n.name;(r===!1||Qa===!1)&&t.registered[o]===void 0&&(t.registered[o]=n.styles)},co=function(t,n,r){lo(t,n,r);var o=t.key+"-"+n.name;if(t.inserted[n.name]===void 0){var i=n;do t.insert(n===i?"."+o:"",i,t.sheet,!0),i=i.next;while(i!==void 0)}};function el(e){for(var t=0,n,r=0,o=e.length;o>=4;++r,o-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(o){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var tl={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,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},nl=/[A-Z]|^ms/g,rl=/_EMO_([^_]+?)_([^]*?)_EMO_/g,uo=function(t){return t.charCodeAt(1)===45},go=function(t){return t!=null&&typeof t!="boolean"},Wn=ba(function(e){return uo(e)?e:e.replace(nl,"-$&").toLowerCase()}),fo=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(rl,function(r,o,i){return Pe={name:o,styles:i,next:Pe},o})}return tl[t]!==1&&!uo(t)&&typeof n=="number"&&n!==0?n+"px":n};function Rt(e,t,n){if(n==null)return"";var r=n;if(r.__emotion_styles!==void 0)return r;switch(typeof n){case"boolean":return"";case"object":{var o=n;if(o.anim===1)return Pe={name:o.name,styles:o.styles,next:Pe},o.name;var i=n;if(i.styles!==void 0){var s=i.next;if(s!==void 0)for(;s!==void 0;)Pe={name:s.name,styles:s.styles,next:Pe},s=s.next;var a=i.styles+";";return a}return ol(e,t,n)}case"function":{if(e!==void 0){var l=Pe,c=n(e);return Pe=l,Rt(e,t,c)}break}}var u=n;return u}function ol(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=Rt(e,t,n[o])+";";else for(var i in n){var s=n[i];if(typeof s!="object"){var a=s;go(a)&&(r+=Wn(i)+":"+fo(i,a)+";")}else if(Array.isArray(s)&&typeof s[0]=="string"&&t==null)for(var l=0;l<s.length;l++)go(s[l])&&(r+=Wn(i)+":"+fo(i,s[l])+";");else{var c=Rt(e,t,s);switch(i){case"animation":case"animationName":{r+=Wn(i)+":"+c+";";break}default:r+=i+"{"+c+"}"}}}return r}var ho=/label:\s*([^\s;{]+)\s*(;|$)/g,Pe;function mo(e,t,n){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var r=!0,o="";Pe=void 0;var i=e[0];if(i==null||i.raw===void 0)r=!1,o+=Rt(n,t,i);else{var s=i;o+=s[0]}for(var a=1;a<e.length;a++)if(o+=Rt(n,t,e[a]),r){var l=i;o+=l[a]}ho.lastIndex=0;for(var c="",u;(u=ho.exec(o))!==null;)c+="-"+u[1];var g=el(o)+c;return{name:g,styles:o,next:Pe}}var il=function(t){return t()},po=de.useInsertionEffect?de.useInsertionEffect:!1,sl=po||il,vo=po||de.useLayoutEffect,bo=de.createContext(typeof HTMLElement<"u"?Ya({key:"css"}):null);bo.Provider;var yo=function(t){return ke.forwardRef(function(n,r){var o=ke.useContext(bo);return t(n,o,r)})},Eo=de.createContext({}),Bn={}.hasOwnProperty,zn="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",al=function(t,n){var r={};for(var o in n)Bn.call(n,o)&&(r[o]=n[o]);return r[zn]=t,r},ll=function(t){var n=t.cache,r=t.serialized,o=t.isStringTag;return lo(n,r,o),sl(function(){return co(n,r,o)}),null},cl=yo(function(e,t,n){var r=e.css;typeof r=="string"&&t.registered[r]!==void 0&&(r=t.registered[r]);var o=e[zn],i=[r],s="";typeof e.className=="string"?s=Za(t.registered,i,e.className):e.className!=null&&(s=e.className+" ");var a=mo(i,void 0,de.useContext(Eo));s+=t.key+"-"+a.name;var l={};for(var c in e)Bn.call(e,c)&&c!=="css"&&c!==zn&&(l[c]=e[c]);return l.className=s,n&&(l.ref=n),de.createElement(de.Fragment,null,de.createElement(ll,{cache:t,serialized:a,isStringTag:typeof o=="string"}),de.createElement(o,l))}),ul=cl,Oo=function(t,n){var r=arguments;if(n==null||!Bn.call(n,"css"))return de.createElement.apply(void 0,r);var o=r.length,i=new Array(o);i[0]=ul,i[1]=al(t,n);for(var s=2;s<o;s++)i[s]=r[s];return de.createElement.apply(null,i)};(function(e){var t;t||(t=e.JSX||(e.JSX={}))})(Oo||(Oo={}));var Co=yo(function(e,t){var n=e.styles,r=mo([n],void 0,de.useContext(Eo)),o=de.useRef();return vo(function(){var i=t.key+"-global",s=new t.sheet.constructor({key:i,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),a=!1,l=document.querySelector('style[data-emotion="'+i+" "+r.name+'"]');return t.sheet.tags.length&&(s.before=t.sheet.tags[0]),l!==null&&(a=!0,l.setAttribute("data-emotion",i),s.hydrate([l])),o.current=[s,a],function(){s.flush()}},[t]),vo(function(){var i=o.current,s=i[0],a=i[1];if(a){i[1]=!1;return}if(r.next!==void 0&&co(t,r.next,!0),s.tags.length){var l=s.tags[s.tags.length-1].nextElementSibling;s.before=l,s.flush()}t.insert("",r,s,!1)},[t,r.name]),null});function tn(e){const t=Object.assign({},e);for(let n in t)t[n]===void 0&&delete t[n];return t}const dl=(...e)=>e.filter(Boolean).map(t=>t.trim()).join(" "),fe=e=>e!=null&&typeof e=="object"&&!Array.isArray(e),Me=e=>typeof e=="string",jn=e=>typeof e=="function",gl=(...e)=>{const t=e.reduce((n,r)=>(r?.forEach(o=>n.add(o)),n),new Set([]));return Array.from(t)};function fl(e,t){return`${e} returned \`undefined\`. Seems you forgot to wrap component within ${t}`}function hl(e={}){const{name:t,strict:n=!0,hookName:r="useContext",providerName:o="Provider",errorMessage:i,defaultValue:s}=e,a=ke.createContext(s);a.displayName=t;function l(){const c=ke.useContext(a);if(!c&&n){const u=new Error(i??fl(r,o));throw u.name="ContextError",Error.captureStackTrace?.(u,l),u}return c}return[a.Provider,l,a]}const[ml]=hl({name:"ChakraContext",strict:!0,providerName:"<ChakraProvider />"});function pl(e){const{value:t,children:n}=e;return Gt.jsxs(ml,{value:t,children:[!t._config.disableLayers&&Gt.jsx(Co,{styles:t.layers.atRule}),Gt.jsx(Co,{styles:t._global}),n]})}const vl=(e,t)=>{const n={},r={},o=Object.keys(e);for(const i of o)t(i)?r[i]=e[i]:n[i]=e[i];return[r,n]},Gn=(e,t)=>{const n=jn(t)?t:r=>t.includes(r);return vl(e,n)};var So=e=>e[0],Io=e=>e[e.length-1],bl=(e,t)=>e.indexOf(t)!==-1,xo=(e,...t)=>e.concat(t),Un=(e,...t)=>e.filter(n=>!t.includes(n)),nn=(e,t)=>bl(e,t)?Un(e,t):xo(e,t);function wo(e,t,n={}){const{step:r=1,loop:o=!0}=n,i=t+r,s=e.length,a=s-1;return t===-1?r>0?0:a:i<0?o?a:0:i>=s?o?0:t>s?s:t:i}function yl(e,t,n={}){return e[wo(e,t,n)]}function El(e,t,n={}){const{step:r=1,loop:o=!0}=n;return wo(e,t,{step:-r,loop:o})}function Ol(e,t,n={}){return e[El(e,t,n)]}var ko=e=>e?.constructor.name==="Array",Cl=(e,t)=>{if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(!at(e[n],t[n]))return!1;return!0},at=(e,t)=>{if(Object.is(e,t))return!0;if(e==null&&t!=null||e!=null&&t==null)return!1;if(typeof e?.isEqual=="function"&&typeof t?.isEqual=="function")return e.isEqual(t);if(typeof e=="function"&&typeof t=="function")return e.toString()===t.toString();if(ko(e)&&ko(t))return Cl(Array.from(e),Array.from(t));if(typeof e!="object"||typeof t!="object")return!1;const n=Object.keys(t??Object.create(null)),r=n.length;for(let o=0;o<r;o++)if(!Reflect.has(e,n[o]))return!1;for(let o=0;o<r;o++){const i=n[o];if(!at(e[i],t[i]))return!1}return!0},Sl=e=>Array.isArray(e),Il=e=>e===!0||e===!1,To=e=>e!=null&&typeof e=="object",Yn=e=>To(e)&&!Sl(e),Ro=e=>typeof e=="function",xl=e=>e==null,rn=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),wl=e=>Object.prototype.toString.call(e),Po=Function.prototype.toString,kl=Po.call(Object),Tl=e=>{if(!To(e)||wl(e)!="[object Object]"||Vl(e))return!1;const t=Object.getPrototypeOf(e);if(t===null)return!0;const n=rn(t,"constructor")&&t.constructor;return typeof n=="function"&&n instanceof n&&Po.call(n)==kl},Rl=e=>typeof e=="object"&&e!==null&&"$$typeof"in e&&"props"in e,Pl=e=>typeof e=="object"&&e!==null&&"__v_isVNode"in e,Vl=e=>Rl(e)||Pl(e),Al=()=>{},Vo=(...e)=>(...t)=>{e.forEach(function(n){n?.(...t)})};function $e(e,t,...n){if(e in t){const o=t[e];return Ro(o)?o(...n):o}const r=new Error(`No matching key: ${JSON.stringify(e)} in ${JSON.stringify(Object.keys(t))}`);throw Error.captureStackTrace?.(r,$e),r}var Ao=(e,t)=>{try{return e()}catch(n){return n instanceof Error&&Error.captureStackTrace?.(n,Ao),t?.()}},{floor:_l,abs:_o,round:qn,min:Nl,max:Fl,pow:Ll,sign:Ml}=Math,Xn=e=>Number.isNaN(e),Kn=e=>Xn(e)?0:e,No=(e,t)=>(e%t+t)%t,$l=(e,t,n)=>qn((Kn(e)-t)/n)*n+t,Ve=(e,t,n)=>Nl(Fl(Kn(e),t),n),Dl=(e,t,n)=>(Kn(e)-t)/(n-t),Hl=(e,t,n,r)=>Ve($l(e*(n-t)+t,t,r),t,n),Fo=(e,t)=>{let n=e,r=t.toString(),o=r.indexOf("."),i=o>=0?r.length-o:0;if(i>0){let s=Ll(10,i);n=qn(n*s)/s}return n},Lo=(e,t,n,r)=>{const o=t!=null?Number(t):0,i=Number(n),s=(e-o)%r;let a=_o(s)*2>=r?e+Ml(s)*(r-_o(s)):e-s;if(a=Fo(a,r),!Xn(o)&&a<o)a=o;else if(!Xn(i)&&a>i){const l=_l((i-o)/r),c=o+l*r;a=l<=0||c<o?i:c}return Fo(a,r)},K=(e,t=0,n=10)=>{const r=Math.pow(n,t);return qn(e*r)/r};function Mo(e){if(!Tl(e)||e===void 0)return e;const t=Reflect.ownKeys(e).filter(r=>typeof r=="string"),n={};for(const r of t){const o=e[r];o!==void 0&&(n[r]=Mo(o))}return n}function $o(...e){const t=e.length===1?e[0]:e[1];(e.length===2?e[0]:!0)&&process.env.NODE_ENV!=="production"&&console.warn(t)}function Wl(e){if(!e)return;const t=e.selectionStart??0,n=e.selectionEnd??0;Math.abs(n-t)===0&&t===0&&e.setSelectionRange(e.value.length,e.value.length)}var Do=e=>Math.max(0,Math.min(1,e)),Bl=(e,t)=>e.map((n,r)=>e[(Math.max(t,0)+r)%e.length]),zl=()=>{},on=e=>typeof e=="object"&&e!==null,jl=1,Gl=9,Ul=11,he=e=>on(e)&&e.nodeType===jl&&typeof e.nodeName=="string",Ho=e=>on(e)&&e.nodeType===Gl,Yl=e=>on(e)&&e===e.window,Wo=e=>he(e)?e.localName||"":"#document";function ql(e){return["html","body","#document"].includes(Wo(e))}var Xl=e=>on(e)&&e.nodeType!==void 0,Pt=e=>Xl(e)&&e.nodeType===Ul&&"host"in e,Kl=e=>he(e)&&e.localName==="input",Jl=e=>!!e?.matches("a[href]"),Ql=e=>he(e)?e.offsetWidth>0||e.offsetHeight>0||e.getClientRects().length>0:!1,Zl=/(textarea|select)/;function ec(e){if(e==null||!he(e))return!1;try{return Kl(e)&&e.selectionStart!=null||Zl.test(e.localName)||e.isContentEditable||e.getAttribute("contenteditable")==="true"||e.getAttribute("contenteditable")===""}catch{return!1}}function Ke(e,t){if(!e||!t||!he(e)||!he(t))return!1;const n=t.getRootNode?.();if(e===t||e.contains(t))return!0;if(n&&Pt(n)){let r=t;for(;r;){if(e===r)return!0;r=r.parentNode||r.host}}return!1}function lt(e){return Ho(e)?e:Yl(e)?e.document:e?.ownerDocument??document}function tc(e){return lt(e).documentElement}function Se(e){return Pt(e)?Se(e.host):Ho(e)?e.defaultView??window:he(e)?e.ownerDocument?.defaultView??window:window}function nc(e){if(Wo(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Pt(e)&&e.host||tc(e);return Pt(t)?t.host:t}var Jn=new WeakMap;function rc(e){return Jn.has(e)||Jn.set(e,Se(e).getComputedStyle(e)),Jn.get(e)}var Qn=()=>typeof document<"u";function oc(){return navigator.userAgentData?.platform??navigator.platform}function ic(){const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?e.brands.map(({brand:t,version:n})=>`${t}/${n}`).join(" "):navigator.userAgent}var Zn=e=>Qn()&&e.test(oc()),sc=e=>Qn()&&e.test(ic()),Bo=()=>Qn()&&!!navigator.maxTouchPoints,ac=()=>Zn(/^iPhone/i),lc=()=>Zn(/^iPad/i)||jo()&&navigator.maxTouchPoints>1,zo=()=>ac()||lc(),jo=()=>Zn(/^Mac/i),cc=()=>sc(/Firefox/i);function uc(e){return e.composedPath?.()??e.nativeEvent?.composedPath?.()}function ct(e){return uc(e)?.[0]??e.target}var dc=e=>e.button===2||jo()&&e.ctrlKey&&e.button===0,gc=e=>"touches"in e&&e.touches.length>0;function Go(e,t="client"){const n=gc(e)?e.touches[0]||e.changedTouches[0]:e;return{x:n[`${t}X`],y:n[`${t}Y`]}}var De=(e,t,n,r)=>{const o=typeof e=="function"?e():e;return o?.addEventListener(t,n,r),()=>{o?.removeEventListener(t,n,r)}};function fc(e,t){const{type:n="HTMLInputElement",property:r="value"}=t,o=Se(e)[n].prototype;return Object.getOwnPropertyDescriptor(o,r)??{}}function hc(e){if(e.localName==="input")return"HTMLInputElement";if(e.localName==="textarea")return"HTMLTextAreaElement";if(e.localName==="select")return"HTMLSelectElement"}function er(e,t,n="value"){if(!e)return;const r=hc(e);r&&fc(e,{type:r,property:n}).set?.call(e,t),e.setAttribute(n,t)}function mc(e,t){const{value:n,bubbles:r=!0}=t;if(!e)return;const o=Se(e);e instanceof o.HTMLInputElement&&(er(e,`${n}`),e.dispatchEvent(new o.Event("input",{bubbles:r})))}function pc(e){return vc(e)?e.form:e.closest("form")}function vc(e){return e.matches("textarea, input, select, button")}function bc(e,t){if(!e)return;const n=pc(e),r=o=>{o.defaultPrevented||t()};return n?.addEventListener("reset",r,{passive:!0}),()=>n?.removeEventListener("reset",r)}function yc(e,t){const n=e?.closest("fieldset");if(!n)return;t(n.disabled);const r=Se(n),o=new r.MutationObserver(()=>t(n.disabled));return o.observe(n,{attributes:!0,attributeFilter:["disabled"]}),()=>o.disconnect()}function Uo(e,t){if(!e)return;const{onFieldsetDisabledChange:n,onFormReset:r}=t,o=[bc(e,r),yc(e,n)];return()=>o.forEach(i=>i?.())}var Ec=e=>he(e)&&e.tagName==="IFRAME",Oc=e=>parseInt(e.getAttribute("tabindex")||"0",10)<0,Yo="input:not([type='hidden']):not([disabled]), select:not([disabled]), textarea:not([disabled]), a[href], button:not([disabled]), [tabindex], iframe, object, embed, area[href], audio[controls], video[controls], [contenteditable]:not([contenteditable='false']), details > summary:first-of-type";function tr(e){return!e||e.closest("[inert]")?!1:e.matches(Yo)&&Ql(e)}function qo(e,t){if(!e)return[];const r=Array.from(e.querySelectorAll(Yo)).filter(Cc);return r.forEach((o,i)=>{if(Ec(o)&&o.contentDocument){const s=o.contentDocument.body,a=qo(s);r.splice(i,1,...a)}}),r.length,r}function Cc(e){return e!=null&&e.tabIndex>0?!0:tr(e)&&!Oc(e)}function nr(e){const{root:t,getInitialEl:n,filter:r,enabled:o=!0}=e;if(!o)return;let i=null;if(i||(i=typeof n=="function"?n():n),i||(i=t?.querySelector("[data-autofocus],[autofocus]")),!i){const s=qo(t);i=r?s.filter(r)[0]:s[0]}return i||t||void 0}function Xo(e){const t=new Set;function n(r){const o=globalThis.requestAnimationFrame(r);t.add(()=>globalThis.cancelAnimationFrame(o))}return n(()=>n(e)),function(){t.forEach(o=>o())}}function B(e){let t;const n=globalThis.requestAnimationFrame(()=>{t=e()});return()=>{globalThis.cancelAnimationFrame(n),t?.()}}function Sc(e,t,n){const r=B(()=>{e.removeEventListener(t,o,!0),n()}),o=()=>{r(),n()};return e.addEventListener(t,o,{once:!0,capture:!0}),r}function Ic(e,t){if(!e)return;const{attributes:n,callback:r}=t,o=e.ownerDocument.defaultView||window,i=new o.MutationObserver(s=>{for(const a of s)a.type==="attributes"&&a.attributeName&&n.includes(a.attributeName)&&r(a)});return i.observe(e,{attributes:!0,attributeFilter:n}),()=>i.disconnect()}function rr(e,t){const{defer:n}=t,r=n?B:i=>i(),o=[];return o.push(r(()=>{const i=typeof e=="function"?e():e;o.push(Ic(i,t))})),()=>{o.forEach(i=>i?.())}}function Ko(e){const t=()=>{const n=Se(e);e.dispatchEvent(new n.MouseEvent("click"))};cc()?Sc(e,"keyup",t):queueMicrotask(t)}function or(e){const t=nc(e);return ql(t)?lt(t).body:he(t)&&Jo(t)?t:or(t)}var xc=/auto|scroll|overlay|hidden|clip/,wc=new Set(["inline","contents"]);function Jo(e){const t=Se(e),{overflow:n,overflowX:r,overflowY:o,display:i}=t.getComputedStyle(e);return xc.test(n+o+r)&&!wc.has(i)}function kc(e){return e.scrollHeight>e.clientHeight||e.scrollWidth>e.clientWidth}function sn(e,t){const{rootEl:n,...r}=t||{};!e||!n||!Jo(n)||!kc(n)||e.scrollIntoView(r)}function Qo(e,t){const{left:n,top:r,width:o,height:i}=t.getBoundingClientRect(),s={x:e.x-n,y:e.y-r},a={x:Do(s.x/o),y:Do(s.y/i)};function l(c={}){const{dir:u="ltr",orientation:g="horizontal",inverted:d}=c,f=typeof d=="object"?d.x:d,m=typeof d=="object"?d.y:d;return g==="horizontal"?u==="rtl"||f?1-a.x:a.x:m?1-a.y:a.y}return{offset:s,percent:a,getPercentValue:l}}var ut="default",ir="",an=new WeakMap;function Tc(e={}){const{target:t,doc:n}=e,r=n??document,o=r.documentElement;return zo()?(ut==="default"&&(ir=o.style.webkitUserSelect,o.style.webkitUserSelect="none"),ut="disabled"):t&&(an.set(t,t.style.userSelect),t.style.userSelect="none"),()=>Rc({target:t,doc:r})}function Rc(e={}){const{target:t,doc:n}=e,o=(n??document).documentElement;if(zo()){if(ut!=="disabled")return;ut="restoring",setTimeout(()=>{Xo(()=>{ut==="restoring"&&(o.style.webkitUserSelect==="none"&&(o.style.webkitUserSelect=ir||""),ir="",ut="default")})},300)}else if(t&&an.has(t)){const i=an.get(t);t.style.userSelect==="none"&&(t.style.userSelect=i??""),t.getAttribute("style")===""&&t.removeAttribute("style"),an.delete(t)}}function Zo(e={}){const{defer:t,target:n,...r}=e,o=t?B:s=>s(),i=[];return i.push(o(()=>{const s=typeof n=="function"?n():n;i.push(Tc({...r,target:s}))})),()=>{i.forEach(s=>s?.())}}function Pc(e,t){const{onPointerMove:n,onPointerUp:r}=t,o=a=>{const l=Go(a),c=Math.sqrt(l.x**2+l.y**2),u=a.pointerType==="touch"?10:5;if(!(c<u)){if(a.pointerType==="mouse"&&a.button===0){i(a);return}n({point:l,event:a})}},i=a=>{const l=Go(a);r({point:l,event:a})},s=[De(e,"pointermove",o,!1),De(e,"pointerup",i,!1),De(e,"pointercancel",i,!1),De(e,"contextmenu",i,!1),Zo({doc:e})];return()=>{s.forEach(a=>a())}}function ln(e,t){return Array.from(e?.querySelectorAll(t)??[])}function Vc(e,t){return e?.querySelector(t)??null}var sr=e=>e.id;function Ac(e,t,n=sr){return e.find(r=>n(r)===t)}function ar(e,t,n=sr){const r=Ac(e,t,n);return r?e.indexOf(r):-1}function _c(e,t,n=!0){let r=ar(e,t);return r=n?(r+1)%e.length:Math.min(r+1,e.length-1),e[r]}function Nc(e,t,n=!0){let r=ar(e,t);return r===-1?n?e[e.length-1]:null:(r=n?(r-1+e.length)%e.length:Math.max(0,r-1),e[r])}var Fc=e=>e.split("").map(t=>{const n=t.charCodeAt(0);return n>0&&n<128?t:n>=128&&n<=255?`/x${n.toString(16)}`.replace("/","\\"):""}).join("").trim(),Lc=e=>Fc(e.dataset?.valuetext??e.textContent??""),Mc=(e,t)=>e.trim().toLowerCase().startsWith(t.toLowerCase());function $c(e,t,n,r=sr){const o=n?ar(e,n,r):-1;let i=n?Bl(e,o):e;return t.length===1&&(i=i.filter(a=>r(a)!==n)),i.find(a=>Mc(Lc(a),t))}function Dc(e,t){if(!e)return zl;const n=Object.keys(t).reduce((r,o)=>(r[o]=e.style.getPropertyValue(o),r),{});return Object.assign(e.style,t),()=>{Object.assign(e.style,n),e.style.length===0&&e.removeAttribute("style")}}function Hc(e,t){const{state:n,activeId:r,key:o,timeout:i=350,itemToId:s}=t,a=n.keysSoFar+o,c=a.length>1&&Array.from(a).every(m=>m===a[0])?a[0]:a;let u=e.slice();const g=$c(u,c,r,s);function d(){clearTimeout(n.timer),n.timer=-1}function f(m){n.keysSoFar=m,d(),m!==""&&(n.timer=+setTimeout(()=>{f(""),d()},i))}return f(a),g}var lr=Object.assign(Hc,{defaultOptions:{keysSoFar:"",timer:-1},isValidEvent:Wc});function Wc(e){return e.key.length===1&&!e.ctrlKey&&!e.metaKey}function Bc(e,t,n){const{signal:r}=t;return[new Promise((s,a)=>{const l=setTimeout(()=>{a(new Error(`Timeout of ${n}ms exceeded`))},n);r.addEventListener("abort",()=>{clearTimeout(l),a(new Error("Promise aborted"))}),e.then(c=>{r.aborted||(clearTimeout(l),s(c))}).catch(c=>{r.aborted||(clearTimeout(l),a(c))})}),()=>t.abort()]}function zc(e,t){const{timeout:n,rootNode:r}=t,o=Se(r),i=lt(r),s=new o.AbortController;return Bc(new Promise(a=>{const l=e();if(l){a(l);return}const c=new o.MutationObserver(()=>{const u=e();u&&u.isConnected&&(c.disconnect(),a(u))});c.observe(i.body,{childList:!0,subtree:!0})}),s,n)}function Vt(){return{and:(...e)=>function(n){return e.every(r=>n.guard(r))},or:(...e)=>function(n){return e.some(r=>n.guard(r))},not:e=>function(n){return!n.guard(e)}}}function cm(e){return e}function jc(){return{guards:Vt(),createMachine:e=>e,choose:e=>function({choose:n}){return n(e)?.actions}}}var F=()=>e=>Array.from(new Set(e)),$=(e,t=[])=>({parts:(...n)=>{if(Gc(t))return $(e,n);throw new Error("createAnatomy().parts(...) should only be called once. Did you mean to use .extendWith(...) ?")},extendWith:(...n)=>$(e,[...t,...n]),omit:(...n)=>$(e,t.filter(r=>!n.includes(r))),rename:n=>$(n,t),keys:()=>t,build:()=>[...new Set(t)].reduce((n,r)=>Object.assign(n,{[r]:{selector:[`&[data-scope="${dt(e)}"][data-part="${dt(r)}"]`,`& [data-scope="${dt(e)}"][data-part="${dt(r)}"]`].join(", "),attrs:{"data-scope":dt(e),"data-part":dt(r)}}}),{})}),dt=e=>e.replace(/([A-Z])([A-Z])/g,"$1-$2").replace(/([a-z])([A-Z])/g,"$1-$2").replace(/[\s_]+/g,"-").toLowerCase(),Gc=e=>e.length===0,Uc=Object.defineProperty,Yc=(e,t,n)=>t in e?Uc(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,cr=(e,t,n)=>Yc(e,t+"",n),qc=(e,t)=>{if(Object.keys(e).length!==Object.keys(t).length)return!1;for(let n in e)if(e[n]!==t[n])return!1;return!0},ur=class{toHexInt(){return this.toFormat("rgba").toHexInt()}getChannelValue(e){if(e in this)return this[e];throw new Error("Unsupported color channel: "+e)}getChannelValuePercent(e,t){const n=t??this.getChannelValue(e),{minValue:r,maxValue:o}=this.getChannelRange(e);return Dl(n,r,o)}getChannelPercentValue(e,t){const{minValue:n,maxValue:r,step:o}=this.getChannelRange(e),i=Hl(t,n,r,o);return Lo(i,n,r,o)}withChannelValue(e,t){const{minValue:n,maxValue:r}=this.getChannelRange(e);if(e in this){let o=this.clone();return o[e]=Ve(t,n,r),o}throw new Error("Unsupported color channel: "+e)}getColorAxes(e){let{xChannel:t,yChannel:n}=e,r=t||this.getChannels().find(s=>s!==n),o=n||this.getChannels().find(s=>s!==r),i=this.getChannels().find(s=>s!==r&&s!==o);return{xChannel:r,yChannel:o,zChannel:i}}incrementChannel(e,t){const{minValue:n,maxValue:r,step:o}=this.getChannelRange(e),i=Lo(Ve(this.getChannelValue(e)+t,n,r),n,r,o);return this.withChannelValue(e,i)}decrementChannel(e,t){return this.incrementChannel(e,-t)}isEqual(e){return qc(this.toJSON(),e.toJSON())&&this.getChannelValue("alpha")===e.getChannelValue("alpha")}},Xc=/^#[\da-f]+$/i,Kc=/^rgba?\((.*)\)$/,Jc=/[^#]/gi,ei=class An extends ur{constructor(t,n,r,o){super(),this.red=t,this.green=n,this.blue=r,this.alpha=o}static parse(t){let n=[];if(Xc.test(t)&&[4,5,7,9].includes(t.length)){const o=(t.length<6?t.replace(Jc,"$&$&"):t).slice(1).split("");for(;o.length>0;)n.push(parseInt(o.splice(0,2).join(""),16));n[3]=n[3]!==void 0?n[3]/255:void 0}const r=t.match(Kc);return r?.[1]&&(n=r[1].split(",").map(o=>Number(o.trim())).map((o,i)=>Ve(o,0,i<3?255:1))),n.length<3?void 0:new An(n[0],n[1],n[2],n[3]??1)}toString(t){switch(t){case"hex":return"#"+(this.red.toString(16).padStart(2,"0")+this.green.toString(16).padStart(2,"0")+this.blue.toString(16).padStart(2,"0")).toUpperCase();case"hexa":return"#"+(this.red.toString(16).padStart(2,"0")+this.green.toString(16).padStart(2,"0")+this.blue.toString(16).padStart(2,"0")+Math.round(this.alpha*255).toString(16).padStart(2,"0")).toUpperCase();case"rgb":return`rgb(${this.red}, ${this.green}, ${this.blue})`;case"css":case"rgba":return`rgba(${this.red}, ${this.green}, ${this.blue}, ${this.alpha})`;case"hsl":return this.toHSL().toString("hsl");case"hsb":return this.toHSB().toString("hsb");default:return this.toFormat(t).toString(t)}}toFormat(t){switch(t){case"rgba":return this;case"hsba":return this.toHSB();case"hsla":return this.toHSL();default:throw new Error("Unsupported color conversion: rgb -> "+t)}}toHexInt(){return this.red<<16|this.green<<8|this.blue}toHSB(){const t=this.red/255,n=this.green/255,r=this.blue/255,o=Math.min(t,n,r),i=Math.max(t,n,r),s=i-o,a=i===0?0:s/i;let l=0;if(s!==0){switch(i){case t:l=(n-r)/s+(n<r?6:0);break;case n:l=(r-t)/s+2;break;case r:l=(t-n)/s+4;break}l/=6}return new fr(K(l*360,2),K(a*100,2),K(i*100,2),K(this.alpha,2))}toHSL(){const t=this.red/255,n=this.green/255,r=this.blue/255,o=Math.min(t,n,r),i=Math.max(t,n,r),s=(i+o)/2,a=i-o;let l=-1,c=-1;if(a===0)l=c=0;else{switch(c=a/(s<.5?i+o:2-i-o),i){case t:l=(n-r)/a+(n<r?6:0);break;case n:l=(r-t)/a+2;break;case r:l=(t-n)/a+4;break}l/=6}return new gr(K(l*360,2),K(c*100,2),K(s*100,2),K(this.alpha,2))}clone(){return new An(this.red,this.green,this.blue,this.alpha)}getChannelFormatOptions(t){switch(t){case"red":case"green":case"blue":return{style:"decimal"};case"alpha":return{style:"percent"};default:throw new Error("Unknown color channel: "+t)}}formatChannelValue(t,n){let r=this.getChannelFormatOptions(t),o=this.getChannelValue(t);return new Intl.NumberFormat(n,r).format(o)}getChannelRange(t){switch(t){case"red":case"green":case"blue":return{minValue:0,maxValue:255,step:1,pageSize:17};case"alpha":return{minValue:0,maxValue:1,step:.01,pageSize:.1};default:throw new Error("Unknown color channel: "+t)}}toJSON(){return{r:this.red,g:this.green,b:this.blue,a:this.alpha}}getFormat(){return"rgba"}getChannels(){return An.colorChannels}};cr(ei,"colorChannels",["red","green","blue"]);var dr=ei,Qc=/hsl\(([-+]?\d+(?:.\d+)?\s*,\s*[-+]?\d+(?:.\d+)?%\s*,\s*[-+]?\d+(?:.\d+)?%)\)|hsla\(([-+]?\d+(?:.\d+)?\s*,\s*[-+]?\d+(?:.\d+)?%\s*,\s*[-+]?\d+(?:.\d+)?%\s*,\s*[-+]?\d(.\d+)?)\)/,ti=class _n extends ur{constructor(t,n,r,o){super(),this.hue=t,this.saturation=n,this.lightness=r,this.alpha=o}static parse(t){let n;if(n=t.match(Qc)){const[r,o,i,s]=(n[1]??n[2]).split(",").map(a=>Number(a.trim().replace("%","")));return new _n(No(r,360),Ve(o,0,100),Ve(i,0,100),Ve(s??1,0,1))}}toString(t){switch(t){case"hex":return this.toRGB().toString("hex");case"hexa":return this.toRGB().toString("hexa");case"hsl":return`hsl(${this.hue}, ${K(this.saturation,2)}%, ${K(this.lightness,2)}%)`;case"css":case"hsla":return`hsla(${this.hue}, ${K(this.saturation,2)}%, ${K(this.lightness,2)}%, ${this.alpha})`;case"hsb":return this.toHSB().toString("hsb");case"rgb":return this.toRGB().toString("rgb");default:return this.toFormat(t).toString(t)}}toFormat(t){switch(t){case"hsla":return this;case"hsba":return this.toHSB();case"rgba":return this.toRGB();default:throw new Error("Unsupported color conversion: hsl -> "+t)}}toHSB(){let t=this.saturation/100,n=this.lightness/100,r=n+t*Math.min(n,1-n);return t=r===0?0:2*(1-n/r),new fr(K(this.hue,2),K(t*100,2),K(r*100,2),K(this.alpha,2))}toRGB(){let t=this.hue,n=this.saturation/100,r=this.lightness/100,o=n*Math.min(r,1-r),i=(s,a=(s+t/30)%12)=>r-o*Math.max(Math.min(a-3,9-a,1),-1);return new dr(Math.round(i(0)*255),Math.round(i(8)*255),Math.round(i(4)*255),K(this.alpha,2))}clone(){return new _n(this.hue,this.saturation,this.lightness,this.alpha)}getChannelFormatOptions(t){switch(t){case"hue":return{style:"unit",unit:"degree",unitDisplay:"narrow"};case"saturation":case"lightness":case"alpha":return{style:"percent"};default:throw new Error("Unknown color channel: "+t)}}formatChannelValue(t,n){let r=this.getChannelFormatOptions(t),o=this.getChannelValue(t);return(t==="saturation"||t==="lightness")&&(o/=100),new Intl.NumberFormat(n,r).format(o)}getChannelRange(t){switch(t){case"hue":return{minValue:0,maxValue:360,step:1,pageSize:15};case"saturation":case"lightness":return{minValue:0,maxValue:100,step:1,pageSize:10};case"alpha":return{minValue:0,maxValue:1,step:.01,pageSize:.1};default:throw new Error("Unknown color channel: "+t)}}toJSON(){return{h:this.hue,s:this.saturation,l:this.lightness,a:this.alpha}}getFormat(){return"hsla"}getChannels(){return _n.colorChannels}};cr(ti,"colorChannels",["hue","saturation","lightness"]);var gr=ti,Zc=/hsb\(([-+]?\d+(?:.\d+)?\s*,\s*[-+]?\d+(?:.\d+)?%\s*,\s*[-+]?\d+(?:.\d+)?%)\)|hsba\(([-+]?\d+(?:.\d+)?\s*,\s*[-+]?\d+(?:.\d+)?%\s*,\s*[-+]?\d+(?:.\d+)?%\s*,\s*[-+]?\d(.\d+)?)\)/,ni=class Nn extends ur{constructor(t,n,r,o){super(),this.hue=t,this.saturation=n,this.brightness=r,this.alpha=o}static parse(t){let n;if(n=t.match(Zc)){const[r,o,i,s]=(n[1]??n[2]).split(",").map(a=>Number(a.trim().replace("%","")));return new Nn(No(r,360),Ve(o,0,100),Ve(i,0,100),Ve(s??1,0,1))}}toString(t){switch(t){case"css":return this.toHSL().toString("css");case"hex":return this.toRGB().toString("hex");case"hexa":return this.toRGB().toString("hexa");case"hsb":return`hsb(${this.hue}, ${K(this.saturation,2)}%, ${K(this.brightness,2)}%)`;case"hsba":return`hsba(${this.hue}, ${K(this.saturation,2)}%, ${K(this.brightness,2)}%, ${this.alpha})`;case"hsl":return this.toHSL().toString("hsl");case"rgb":return this.toRGB().toString("rgb");default:return this.toFormat(t).toString(t)}}toFormat(t){switch(t){case"hsba":return this;case"hsla":return this.toHSL();case"rgba":return this.toRGB();default:throw new Error("Unsupported color conversion: hsb -> "+t)}}toHSL(){let t=this.saturation/100,n=this.brightness/100,r=n*(1-t/2);return t=r===0||r===1?0:(n-r)/Math.min(r,1-r),new gr(K(this.hue,2),K(t*100,2),K(r*100,2),K(this.alpha,2))}toRGB(){let t=this.hue,n=this.saturation/100,r=this.brightness/100,o=(i,s=(i+t/60)%6)=>r-n*r*Math.max(Math.min(s,4-s,1),0);return new dr(Math.round(o(5)*255),Math.round(o(3)*255),Math.round(o(1)*255),K(this.alpha,2))}clone(){return new Nn(this.hue,this.saturation,this.brightness,this.alpha)}getChannelFormatOptions(t){switch(t){case"hue":return{style:"unit",unit:"degree",unitDisplay:"narrow"};case"saturation":case"brightness":case"alpha":return{style:"percent"};default:throw new Error("Unknown color channel: "+t)}}formatChannelValue(t,n){let r=this.getChannelFormatOptions(t),o=this.getChannelValue(t);return(t==="saturation"||t==="brightness")&&(o/=100),new Intl.NumberFormat(n,r).format(o)}getChannelRange(t){switch(t){case"hue":return{minValue:0,maxValue:360,step:1,pageSize:15};case"saturation":case"brightness":return{minValue:0,maxValue:100,step:1,pageSize:10};case"alpha":return{minValue:0,maxValue:1,step:.01,pageSize:.1};default:throw new Error("Unknown color channel: "+t)}}toJSON(){return{h:this.hue,s:this.saturation,b:this.brightness,a:this.alpha}}getFormat(){return"hsba"}getChannels(){return Nn.colorChannels}};cr(ni,"colorChannels",["hue","saturation","brightness"]);var fr=ni,eu="aliceblue:f0f8ff,antiquewhite:faebd7,aqua:00ffff,aquamarine:7fffd4,azure:f0ffff,beige:f5f5dc,bisque:ffe4c4,black:000000,blanchedalmond:ffebcd,blue:0000ff,blueviolet:8a2be2,brown:a52a2a,burlywood:deb887,cadetblue:5f9ea0,chartreuse:7fff00,chocolate:d2691e,coral:ff7f50,cornflowerblue:6495ed,cornsilk:fff8dc,crimson:dc143c,cyan:00ffff,darkblue:00008b,darkcyan:008b8b,darkgoldenrod:b8860b,darkgray:a9a9a9,darkgreen:006400,darkkhaki:bdb76b,darkmagenta:8b008b,darkolivegreen:556b2f,darkorange:ff8c00,darkorchid:9932cc,darkred:8b0000,darksalmon:e9967a,darkseagreen:8fbc8f,darkslateblue:483d8b,darkslategray:2f4f4f,darkturquoise:00ced1,darkviolet:9400d3,deeppink:ff1493,deepskyblue:00bfff,dimgray:696969,dodgerblue:1e90ff,firebrick:b22222,floralwhite:fffaf0,forestgreen:228b22,fuchsia:ff00ff,gainsboro:dcdcdc,ghostwhite:f8f8ff,gold:ffd700,goldenrod:daa520,gray:808080,green:008000,greenyellow:adff2f,honeydew:f0fff0,hotpink:ff69b4,indianred:cd5c5c,indigo:4b0082,ivory:fffff0,khaki:f0e68c,lavender:e6e6fa,lavenderblush:fff0f5,lawngreen:7cfc00,lemonchiffon:fffacd,lightblue:add8e6,lightcoral:f08080,lightcyan:e0ffff,lightgoldenrodyellow:fafad2,lightgrey:d3d3d3,lightgreen:90ee90,lightpink:ffb6c1,lightsalmon:ffa07a,lightseagreen:20b2aa,lightskyblue:87cefa,lightslategray:778899,lightsteelblue:b0c4de,lightyellow:ffffe0,lime:00ff00,limegreen:32cd32,linen:faf0e6,magenta:ff00ff,maroon:800000,mediumaquamarine:66cdaa,mediumblue:0000cd,mediumorchid:ba55d3,mediumpurple:9370d8,mediumseagreen:3cb371,mediumslateblue:7b68ee,mediumspringgreen:00fa9a,mediumturquoise:48d1cc,mediumvioletred:c71585,midnightblue:191970,mintcream:f5fffa,mistyrose:ffe4e1,moccasin:ffe4b5,navajowhite:ffdead,navy:000080,oldlace:fdf5e6,olive:808000,olivedrab:6b8e23,orange:ffa500,orangered:ff4500,orchid:da70d6,palegoldenrod:eee8aa,palegreen:98fb98,paleturquoise:afeeee,palevioletred:d87093,papayawhip:ffefd5,peachpuff:ffdab9,peru:cd853f,pink:ffc0cb,plum:dda0dd,powderblue:b0e0e6,purple:800080,rebeccapurple:663399,red:ff0000,rosybrown:bc8f8f,royalblue:4169e1,saddlebrown:8b4513,salmon:fa8072,sandybrown:f4a460,seagreen:2e8b57,seashell:fff5ee,sienna:a0522d,silver:c0c0c0,skyblue:87ceeb,slateblue:6a5acd,slategray:708090,snow:fffafa,springgreen:00ff7f,steelblue:4682b4,tan:d2b48c,teal:008080,thistle:d8bfd8,tomato:ff6347,turquoise:40e0d0,violet:ee82ee,wheat:f5deb3,white:ffffff,whitesmoke:f5f5f5,yellow:ffff00,yellowgreen:9acd32",tu=e=>{const t=new Map,n=e.split(",");for(let r=0;r<n.length;r++){const[o,i]=n[r].split(":");t.set(o,`#${i}`),o.includes("gray")&&t.set(o.replace("gray","grey"),`#${i}`)}return t},ri=tu(eu),cn=e=>{if(ri.has(e))return cn(ri.get(e));const t=dr.parse(e)||fr.parse(e)||gr.parse(e);if(!t){const n=new Error("Invalid color value: "+e);throw Error.captureStackTrace?.(n,cn),n}return t};const nu=["top","right","bottom","left"],Ge=Math.min,be=Math.max,un=Math.round,dn=Math.floor,Ae=e=>({x:e,y:e}),ru={left:"right",right:"left",bottom:"top",top:"bottom"},ou={start:"end",end:"start"};function hr(e,t,n){return be(e,Ge(t,n))}function He(e,t){return typeof e=="function"?e(t):e}function We(e){return e.split("-")[0]}function gt(e){return e.split("-")[1]}function mr(e){return e==="x"?"y":"x"}function pr(e){return e==="y"?"height":"width"}const iu=new Set(["top","bottom"]);function _e(e){return iu.has(We(e))?"y":"x"}function vr(e){return mr(_e(e))}function su(e,t,n){n===void 0&&(n=!1);const r=gt(e),o=vr(e),i=pr(o);let s=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(s=gn(s)),[s,gn(s)]}function au(e){const t=gn(e);return[br(e),t,br(t)]}function br(e){return e.replace(/start|end/g,t=>ou[t])}const oi=["left","right"],ii=["right","left"],lu=["top","bottom"],cu=["bottom","top"];function uu(e,t,n){switch(e){case"top":case"bottom":return n?t?ii:oi:t?oi:ii;case"left":case"right":return t?lu:cu;default:return[]}}function du(e,t,n,r){const o=gt(e);let i=uu(We(e),n==="start",r);return o&&(i=i.map(s=>s+"-"+o),t&&(i=i.concat(i.map(br)))),i}function gn(e){return e.replace(/left|right|bottom|top/g,t=>ru[t])}function gu(e){return{top:0,right:0,bottom:0,left:0,...e}}function si(e){return typeof e!="number"?gu(e):{top:e,right:e,bottom:e,left:e}}function fn(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function ai(e,t,n){let{reference:r,floating:o}=e;const i=_e(t),s=vr(t),a=pr(s),l=We(t),c=i==="y",u=r.x+r.width/2-o.width/2,g=r.y+r.height/2-o.height/2,d=r[a]/2-o[a]/2;let f;switch(l){case"top":f={x:u,y:r.y-o.height};break;case"bottom":f={x:u,y:r.y+r.height};break;case"right":f={x:r.x+r.width,y:g};break;case"left":f={x:r.x-o.width,y:g};break;default:f={x:r.x,y:r.y}}switch(gt(t)){case"start":f[s]-=d*(n&&c?-1:1);break;case"end":f[s]+=d*(n&&c?-1:1);break}return f}const fu=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:s}=n,a=i.filter(Boolean),l=await(s.isRTL==null?void 0:s.isRTL(t));let c=await s.getElementRects({reference:e,floating:t,strategy:o}),{x:u,y:g}=ai(c,r,l),d=r,f={},m=0;for(let h=0;h<a.length;h++){const{name:y,fn:E}=a[h],{x:b,y:p,data:S,reset:v}=await E({x:u,y:g,initialPlacement:r,placement:d,strategy:o,middlewareData:f,rects:c,platform:s,elements:{reference:e,floating:t}});u=b??u,g=p??g,f={...f,[y]:{...f[y],...S}},v&&m<=50&&(m++,typeof v=="object"&&(v.placement&&(d=v.placement),v.rects&&(c=v.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:o}):v.rects),{x:u,y:g}=ai(c,d,l)),h=-1)}return{x:u,y:g,placement:d,strategy:o,middlewareData:f}};async function At(e,t){var n;t===void 0&&(t={});const{x:r,y:o,platform:i,rects:s,elements:a,strategy:l}=e,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:g="floating",altBoundary:d=!1,padding:f=0}=He(t,e),m=si(f),y=a[d?g==="floating"?"reference":"floating":g],E=fn(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(y)))==null||n?y:y.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(a.floating)),boundary:c,rootBoundary:u,strategy:l})),b=g==="floating"?{x:r,y:o,width:s.floating.width,height:s.floating.height}:s.reference,p=await(i.getOffsetParent==null?void 0:i.getOffsetParent(a.floating)),S=await(i.isElement==null?void 0:i.isElement(p))?await(i.getScale==null?void 0:i.getScale(p))||{x:1,y:1}:{x:1,y:1},v=fn(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:b,offsetParent:p,strategy:l}):b);return{top:(E.top-v.top+m.top)/S.y,bottom:(v.bottom-E.bottom+m.bottom)/S.y,left:(E.left-v.left+m.left)/S.x,right:(v.right-E.right+m.right)/S.x}}const hu=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:i,platform:s,elements:a,middlewareData:l}=t,{element:c,padding:u=0}=He(e,t)||{};if(c==null)return{};const g=si(u),d={x:n,y:r},f=vr(o),m=pr(f),h=await s.getDimensions(c),y=f==="y",E=y?"top":"left",b=y?"bottom":"right",p=y?"clientHeight":"clientWidth",S=i.reference[m]+i.reference[f]-d[f]-i.floating[m],v=d[f]-i.reference[f],T=await(s.getOffsetParent==null?void 0:s.getOffsetParent(c));let R=T?T[p]:0;(!R||!await(s.isElement==null?void 0:s.isElement(T)))&&(R=a.floating[p]||i.floating[m]);const w=S/2-v/2,k=R/2-h[m]/2-1,P=Ge(g[E],k),D=Ge(g[b],k),L=P,J=R-h[m]-D,G=R/2-h[m]/2+w,ae=hr(L,G,J),ie=!l.arrow&&gt(o)!=null&&G!==ae&&i.reference[m]/2-(G<L?P:D)-h[m]/2<0,Q=ie?G<L?G-L:G-J:0;return{[f]:d[f]+Q,data:{[f]:ae,centerOffset:G-ae-Q,...ie&&{alignmentOffset:Q}},reset:ie}}}),mu=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:o,middlewareData:i,rects:s,initialPlacement:a,platform:l,elements:c}=t,{mainAxis:u=!0,crossAxis:g=!0,fallbackPlacements:d,fallbackStrategy:f="bestFit",fallbackAxisSideDirection:m="none",flipAlignment:h=!0,...y}=He(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const E=We(o),b=_e(a),p=We(a)===a,S=await(l.isRTL==null?void 0:l.isRTL(c.floating)),v=d||(p||!h?[gn(a)]:au(a)),T=m!=="none";!d&&T&&v.push(...du(a,h,m,S));const R=[a,...v],w=await At(t,y),k=[];let P=((r=i.flip)==null?void 0:r.overflows)||[];if(u&&k.push(w[E]),g){const G=su(o,s,S);k.push(w[G[0]],w[G[1]])}if(P=[...P,{placement:o,overflows:k}],!k.every(G=>G<=0)){var D,L;const G=(((D=i.flip)==null?void 0:D.index)||0)+1,ae=R[G];if(ae&&(!(g==="alignment"?b!==_e(ae):!1)||P.every(Z=>_e(Z.placement)===b?Z.overflows[0]>0:!0)))return{data:{index:G,overflows:P},reset:{placement:ae}};let ie=(L=P.filter(Q=>Q.overflows[0]<=0).sort((Q,Z)=>Q.overflows[1]-Z.overflows[1])[0])==null?void 0:L.placement;if(!ie)switch(f){case"bestFit":{var J;const Q=(J=P.filter(Z=>{if(T){const V=_e(Z.placement);return V===b||V==="y"}return!0}).map(Z=>[Z.placement,Z.overflows.filter(V=>V>0).reduce((V,O)=>V+O,0)]).sort((Z,V)=>Z[1]-V[1])[0])==null?void 0:J[0];Q&&(ie=Q);break}case"initialPlacement":ie=a;break}if(o!==ie)return{reset:{placement:ie}}}return{}}}};function li(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function ci(e){return nu.some(t=>e[t]>=0)}const pu=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...o}=He(e,t);switch(r){case"referenceHidden":{const i=await At(t,{...o,elementContext:"reference"}),s=li(i,n.reference);return{data:{referenceHiddenOffsets:s,referenceHidden:ci(s)}}}case"escaped":{const i=await At(t,{...o,altBoundary:!0}),s=li(i,n.floating);return{data:{escapedOffsets:s,escaped:ci(s)}}}default:return{}}}}},ui=new Set(["left","top"]);async function vu(e,t){const{placement:n,platform:r,elements:o}=e,i=await(r.isRTL==null?void 0:r.isRTL(o.floating)),s=We(n),a=gt(n),l=_e(n)==="y",c=ui.has(s)?-1:1,u=i&&l?-1:1,g=He(t,e);let{mainAxis:d,crossAxis:f,alignmentAxis:m}=typeof g=="number"?{mainAxis:g,crossAxis:0,alignmentAxis:null}:{mainAxis:g.mainAxis||0,crossAxis:g.crossAxis||0,alignmentAxis:g.alignmentAxis};return a&&typeof m=="number"&&(f=a==="end"?m*-1:m),l?{x:f*u,y:d*c}:{x:d*c,y:f*u}}const bu=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:i,placement:s,middlewareData:a}=t,l=await vu(t,e);return s===((n=a.offset)==null?void 0:n.placement)&&(r=a.arrow)!=null&&r.alignmentOffset?{}:{x:o+l.x,y:i+l.y,data:{...l,placement:s}}}}},yu=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:i=!0,crossAxis:s=!1,limiter:a={fn:y=>{let{x:E,y:b}=y;return{x:E,y:b}}},...l}=He(e,t),c={x:n,y:r},u=await At(t,l),g=_e(We(o)),d=mr(g);let f=c[d],m=c[g];if(i){const y=d==="y"?"top":"left",E=d==="y"?"bottom":"right",b=f+u[y],p=f-u[E];f=hr(b,f,p)}if(s){const y=g==="y"?"top":"left",E=g==="y"?"bottom":"right",b=m+u[y],p=m-u[E];m=hr(b,m,p)}const h=a.fn({...t,[d]:f,[g]:m});return{...h,data:{x:h.x-n,y:h.y-r,enabled:{[d]:i,[g]:s}}}}}},Eu=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:o,rects:i,middlewareData:s}=t,{offset:a=0,mainAxis:l=!0,crossAxis:c=!0}=He(e,t),u={x:n,y:r},g=_e(o),d=mr(g);let f=u[d],m=u[g];const h=He(a,t),y=typeof h=="number"?{mainAxis:h,crossAxis:0}:{mainAxis:0,crossAxis:0,...h};if(l){const p=d==="y"?"height":"width",S=i.reference[d]-i.floating[p]+y.mainAxis,v=i.reference[d]+i.reference[p]-y.mainAxis;f<S?f=S:f>v&&(f=v)}if(c){var E,b;const p=d==="y"?"width":"height",S=ui.has(We(o)),v=i.reference[g]-i.floating[p]+(S&&((E=s.offset)==null?void 0:E[g])||0)+(S?0:y.crossAxis),T=i.reference[g]+i.reference[p]+(S?0:((b=s.offset)==null?void 0:b[g])||0)-(S?y.crossAxis:0);m<v?m=v:m>T&&(m=T)}return{[d]:f,[g]:m}}}},Ou=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:o,rects:i,platform:s,elements:a}=t,{apply:l=()=>{},...c}=He(e,t),u=await At(t,c),g=We(o),d=gt(o),f=_e(o)==="y",{width:m,height:h}=i.floating;let y,E;g==="top"||g==="bottom"?(y=g,E=d===(await(s.isRTL==null?void 0:s.isRTL(a.floating))?"start":"end")?"left":"right"):(E=g,y=d==="end"?"top":"bottom");const b=h-u.top-u.bottom,p=m-u.left-u.right,S=Ge(h-u[y],b),v=Ge(m-u[E],p),T=!t.middlewareData.shift;let R=S,w=v;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(w=p),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(R=b),T&&!d){const P=be(u.left,0),D=be(u.right,0),L=be(u.top,0),J=be(u.bottom,0);f?w=m-2*(P!==0||D!==0?P+D:be(u.left,u.right)):R=h-2*(L!==0||J!==0?L+J:be(u.top,u.bottom))}await l({...t,availableWidth:w,availableHeight:R});const k=await s.getDimensions(a.floating);return m!==k.width||h!==k.height?{reset:{rects:!0}}:{}}}};function hn(){return typeof window<"u"}function ft(e){return di(e)?(e.nodeName||"").toLowerCase():"#document"}function ye(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Ne(e){var t;return(t=(di(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function di(e){return hn()?e instanceof Node||e instanceof ye(e).Node:!1}function Ie(e){return hn()?e instanceof Element||e instanceof ye(e).Element:!1}function Fe(e){return hn()?e instanceof HTMLElement||e instanceof ye(e).HTMLElement:!1}function gi(e){return!hn()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof ye(e).ShadowRoot}const Cu=new Set(["inline","contents"]);function _t(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=xe(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!Cu.has(o)}const Su=new Set(["table","td","th"]);function Iu(e){return Su.has(ft(e))}const xu=[":popover-open",":modal"];function mn(e){return xu.some(t=>{try{return e.matches(t)}catch{return!1}})}const wu=["transform","translate","scale","rotate","perspective"],ku=["transform","translate","scale","rotate","perspective","filter"],Tu=["paint","layout","strict","content"];function yr(e){const t=Er(),n=Ie(e)?xe(e):e;return wu.some(r=>n[r]?n[r]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||ku.some(r=>(n.willChange||"").includes(r))||Tu.some(r=>(n.contain||"").includes(r))}function Ru(e){let t=Ue(e);for(;Fe(t)&&!ht(t);){if(yr(t))return t;if(mn(t))return null;t=Ue(t)}return null}function Er(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const Pu=new Set(["html","body","#document"]);function ht(e){return Pu.has(ft(e))}function xe(e){return ye(e).getComputedStyle(e)}function pn(e){return Ie(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Ue(e){if(ft(e)==="html")return e;const t=e.assignedSlot||e.parentNode||gi(e)&&e.host||Ne(e);return gi(t)?t.host:t}function fi(e){const t=Ue(e);return ht(t)?e.ownerDocument?e.ownerDocument.body:e.body:Fe(t)&&_t(t)?t:fi(t)}function Nt(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const o=fi(e),i=o===((r=e.ownerDocument)==null?void 0:r.body),s=ye(o);if(i){const a=Or(s);return t.concat(s,s.visualViewport||[],_t(o)?o:[],a&&n?Nt(a):[])}return t.concat(o,Nt(o,[],n))}function Or(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function hi(e){const t=xe(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=Fe(e),i=o?e.offsetWidth:n,s=o?e.offsetHeight:r,a=un(n)!==i||un(r)!==s;return a&&(n=i,r=s),{width:n,height:r,$:a}}function Cr(e){return Ie(e)?e:e.contextElement}function mt(e){const t=Cr(e);if(!Fe(t))return Ae(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:i}=hi(t);let s=(i?un(n.width):n.width)/r,a=(i?un(n.height):n.height)/o;return(!s||!Number.isFinite(s))&&(s=1),(!a||!Number.isFinite(a))&&(a=1),{x:s,y:a}}const Vu=Ae(0);function mi(e){const t=ye(e);return!Er()||!t.visualViewport?Vu:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Au(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==ye(e)?!1:t}function Je(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),i=Cr(e);let s=Ae(1);t&&(r?Ie(r)&&(s=mt(r)):s=mt(e));const a=Au(i,n,r)?mi(i):Ae(0);let l=(o.left+a.x)/s.x,c=(o.top+a.y)/s.y,u=o.width/s.x,g=o.height/s.y;if(i){const d=ye(i),f=r&&Ie(r)?ye(r):r;let m=d,h=Or(m);for(;h&&r&&f!==m;){const y=mt(h),E=h.getBoundingClientRect(),b=xe(h),p=E.left+(h.clientLeft+parseFloat(b.paddingLeft))*y.x,S=E.top+(h.clientTop+parseFloat(b.paddingTop))*y.y;l*=y.x,c*=y.y,u*=y.x,g*=y.y,l+=p,c+=S,m=ye(h),h=Or(m)}}return fn({width:u,height:g,x:l,y:c})}function vn(e,t){const n=pn(e).scrollLeft;return t?t.left+n:Je(Ne(e)).left+n}function pi(e,t){const n=e.getBoundingClientRect(),r=n.left+t.scrollLeft-vn(e,n),o=n.top+t.scrollTop;return{x:r,y:o}}function _u(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const i=o==="fixed",s=Ne(r),a=t?mn(t.floating):!1;if(r===s||a&&i)return n;let l={scrollLeft:0,scrollTop:0},c=Ae(1);const u=Ae(0),g=Fe(r);if((g||!g&&!i)&&((ft(r)!=="body"||_t(s))&&(l=pn(r)),Fe(r))){const f=Je(r);c=mt(r),u.x=f.x+r.clientLeft,u.y=f.y+r.clientTop}const d=s&&!g&&!i?pi(s,l):Ae(0);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-l.scrollLeft*c.x+u.x+d.x,y:n.y*c.y-l.scrollTop*c.y+u.y+d.y}}function Nu(e){return Array.from(e.getClientRects())}function Fu(e){const t=Ne(e),n=pn(e),r=e.ownerDocument.body,o=be(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=be(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let s=-n.scrollLeft+vn(e);const a=-n.scrollTop;return xe(r).direction==="rtl"&&(s+=be(t.clientWidth,r.clientWidth)-o),{width:o,height:i,x:s,y:a}}const vi=25;function Lu(e,t){const n=ye(e),r=Ne(e),o=n.visualViewport;let i=r.clientWidth,s=r.clientHeight,a=0,l=0;if(o){i=o.width,s=o.height;const u=Er();(!u||u&&t==="fixed")&&(a=o.offsetLeft,l=o.offsetTop)}const c=vn(r);if(c<=0){const u=r.ownerDocument,g=u.body,d=getComputedStyle(g),f=u.compatMode==="CSS1Compat"&&parseFloat(d.marginLeft)+parseFloat(d.marginRight)||0,m=Math.abs(r.clientWidth-g.clientWidth-f);m<=vi&&(i-=m)}else c<=vi&&(i+=c);return{width:i,height:s,x:a,y:l}}const Mu=new Set(["absolute","fixed"]);function $u(e,t){const n=Je(e,!0,t==="fixed"),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=Fe(e)?mt(e):Ae(1),s=e.clientWidth*i.x,a=e.clientHeight*i.y,l=o*i.x,c=r*i.y;return{width:s,height:a,x:l,y:c}}function bi(e,t,n){let r;if(t==="viewport")r=Lu(e,n);else if(t==="document")r=Fu(Ne(e));else if(Ie(t))r=$u(t,n);else{const o=mi(e);r={x:t.x-o.x,y:t.y-o.y,width:t.width,height:t.height}}return fn(r)}function yi(e,t){const n=Ue(e);return n===t||!Ie(n)||ht(n)?!1:xe(n).position==="fixed"||yi(n,t)}function Du(e,t){const n=t.get(e);if(n)return n;let r=Nt(e,[],!1).filter(a=>Ie(a)&&ft(a)!=="body"),o=null;const i=xe(e).position==="fixed";let s=i?Ue(e):e;for(;Ie(s)&&!ht(s);){const a=xe(s),l=yr(s);!l&&a.position==="fixed"&&(o=null),(i?!l&&!o:!l&&a.position==="static"&&!!o&&Mu.has(o.position)||_t(s)&&!l&&yi(e,s))?r=r.filter(u=>u!==s):o=a,s=Ue(s)}return t.set(e,r),r}function Hu(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const s=[...n==="clippingAncestors"?mn(t)?[]:Du(t,this._c):[].concat(n),r],a=s[0],l=s.reduce((c,u)=>{const g=bi(t,u,o);return c.top=be(g.top,c.top),c.right=Ge(g.right,c.right),c.bottom=Ge(g.bottom,c.bottom),c.left=be(g.left,c.left),c},bi(t,a,o));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function Wu(e){const{width:t,height:n}=hi(e);return{width:t,height:n}}function Bu(e,t,n){const r=Fe(t),o=Ne(t),i=n==="fixed",s=Je(e,!0,i,t);let a={scrollLeft:0,scrollTop:0};const l=Ae(0);function c(){l.x=vn(o)}if(r||!r&&!i)if((ft(t)!=="body"||_t(o))&&(a=pn(t)),r){const f=Je(t,!0,i,t);l.x=f.x+t.clientLeft,l.y=f.y+t.clientTop}else o&&c();i&&!r&&o&&c();const u=o&&!r&&!i?pi(o,a):Ae(0),g=s.left+a.scrollLeft-l.x-u.x,d=s.top+a.scrollTop-l.y-u.y;return{x:g,y:d,width:s.width,height:s.height}}function Sr(e){return xe(e).position==="static"}function Ei(e,t){if(!Fe(e)||xe(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return Ne(e)===n&&(n=n.ownerDocument.body),n}function Oi(e,t){const n=ye(e);if(mn(e))return n;if(!Fe(e)){let o=Ue(e);for(;o&&!ht(o);){if(Ie(o)&&!Sr(o))return o;o=Ue(o)}return n}let r=Ei(e,t);for(;r&&Iu(r)&&Sr(r);)r=Ei(r,t);return r&&ht(r)&&Sr(r)&&!yr(r)?n:r||Ru(e)||n}const zu=async function(e){const t=this.getOffsetParent||Oi,n=this.getDimensions,r=await n(e.floating);return{reference:Bu(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function ju(e){return xe(e).direction==="rtl"}const Gu={convertOffsetParentRelativeRectToViewportRelativeRect:_u,getDocumentElement:Ne,getClippingRect:Hu,getOffsetParent:Oi,getElementRects:zu,getClientRects:Nu,getDimensions:Wu,getScale:mt,isElement:Ie,isRTL:ju};function Ci(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Uu(e,t){let n=null,r;const o=Ne(e);function i(){var a;clearTimeout(r),(a=n)==null||a.disconnect(),n=null}function s(a,l){a===void 0&&(a=!1),l===void 0&&(l=1),i();const c=e.getBoundingClientRect(),{left:u,top:g,width:d,height:f}=c;if(a||t(),!d||!f)return;const m=dn(g),h=dn(o.clientWidth-(u+d)),y=dn(o.clientHeight-(g+f)),E=dn(u),p={rootMargin:-m+"px "+-h+"px "+-y+"px "+-E+"px",threshold:be(0,Ge(1,l))||1};let S=!0;function v(T){const R=T[0].intersectionRatio;if(R!==l){if(!S)return s();R?s(!1,R):r=setTimeout(()=>{s(!1,1e-7)},1e3)}R===1&&!Ci(c,e.getBoundingClientRect())&&s(),S=!1}try{n=new IntersectionObserver(v,{...p,root:o.ownerDocument})}catch{n=new IntersectionObserver(v,p)}n.observe(e)}return s(!0),i}function Yu(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:a=typeof IntersectionObserver=="function",animationFrame:l=!1}=r,c=Cr(e),u=o||i?[...c?Nt(c):[],...Nt(t)]:[];u.forEach(E=>{o&&E.addEventListener("scroll",n,{passive:!0}),i&&E.addEventListener("resize",n)});const g=c&&a?Uu(c,n):null;let d=-1,f=null;s&&(f=new ResizeObserver(E=>{let[b]=E;b&&b.target===c&&f&&(f.unobserve(t),cancelAnimationFrame(d),d=requestAnimationFrame(()=>{var p;(p=f)==null||p.observe(t)})),n()}),c&&!l&&f.observe(c),f.observe(t));let m,h=l?Je(e):null;l&&y();function y(){const E=Je(e);h&&!Ci(h,E)&&n(),h=E,m=requestAnimationFrame(y)}return n(),()=>{var E;u.forEach(b=>{o&&b.removeEventListener("scroll",n),i&&b.removeEventListener("resize",n)}),g?.(),(E=f)==null||E.disconnect(),f=null,l&&cancelAnimationFrame(m)}}const qu=bu,Xu=yu,Ku=mu,Ju=Ou,Qu=pu,Zu=hu,ed=Eu,td=(e,t,n)=>{const r=new Map,o={platform:Gu,...n},i={...o.platform,_c:r};return fu(e,t,{...o,platform:i})};function Si(e=0,t=0,n=0,r=0){if(typeof DOMRect=="function")return new DOMRect(e,t,n,r);const o={x:e,y:t,width:n,height:r,top:t,right:e+n,bottom:t+r,left:e};return{...o,toJSON:()=>o}}function nd(e){if(!e)return Si();const{x:t,y:n,width:r,height:o}=e;return Si(t,n,r,o)}function rd(e,t){return{contextElement:he(e)?e:void 0,getBoundingClientRect:()=>{const n=e,r=t?.(n);return r||!n?nd(r):n.getBoundingClientRect()}}}var Ii=e=>({variable:e,reference:`var(${e})`}),xi={transformOrigin:Ii("--transform-origin"),arrowOffset:Ii("--arrow-offset")},od=e=>e==="top"||e==="bottom"?"y":"x";function id(e,t){return{name:"transformOrigin",fn(n){const{elements:r,middlewareData:o,placement:i,rects:s,y:a}=n,l=i.split("-")[0],c=od(l),u=o.arrow?.x||0,g=o.arrow?.y||0,d=t?.clientWidth||0,f=t?.clientHeight||0,m=u+d/2,h=g+f/2,y=Math.abs(o.shift?.y||0),E=s.reference.height/2,b=f/2,p=e.offset?.mainAxis??e.gutter,S=typeof p=="number"?p+b:p??b,v=y>S,T={top:`${m}px calc(100% + ${S}px)`,bottom:`${m}px ${-S}px`,left:`calc(100% + ${S}px) ${h}px`,right:`${-S}px ${h}px`}[l],R=`${m}px ${s.reference.y+E-a}px`,w=!!e.overlap&&c==="y"&&v;return r.floating.style.setProperty(xi.transformOrigin.variable,w?R:T),{data:{transformOrigin:w?R:T}}}}}var sd={name:"rects",fn({rects:e}){return{data:e}}},ad=e=>{if(e)return{name:"shiftArrow",fn({placement:t,middlewareData:n}){if(!n.arrow)return{};const{x:r,y:o}=n.arrow,i=t.split("-")[0];return Object.assign(e.style,{left:r!=null?`${r}px`:"",top:o!=null?`${o}px`:"",[i]:`calc(100% + ${xi.arrowOffset.reference})`}),{}}}};function ld(e){const[t,n]=e.split("-");return{side:t,align:n,hasAlign:n!=null}}function cd(e){return e.split("-")[0]}var ud={strategy:"absolute",placement:"bottom",listeners:!0,gutter:8,flip:!0,slide:!0,overlap:!1,sameWidth:!1,fitViewport:!1,overflowPadding:8,arrowPadding:4};function wi(e,t){const n=e.devicePixelRatio||1;return Math.round(t*n)/n}function Ir(e){return typeof e=="function"?e():e==="clipping-ancestors"?"clippingAncestors":e}function dd(e,t,n){const r=e||t.createElement("div");return Zu({element:r,padding:n.arrowPadding})}function gd(e,t){if(!xl(t.offset??t.gutter))return qu(({placement:n})=>{const r=(e?.clientHeight||0)/2,o=t.offset?.mainAxis??t.gutter,i=typeof o=="number"?o+r:o??r,{hasAlign:s}=ld(n),a=s?void 0:t.shift,l=t.offset?.crossAxis??a;return Mo({crossAxis:l,mainAxis:i,alignmentAxis:t.shift})})}function fd(e){if(!e.flip)return;const t=Ir(e.boundary);return Ku({...t?{boundary:t}:void 0,padding:e.overflowPadding,fallbackPlacements:e.flip===!0?void 0:e.flip})}function hd(e){if(!e.slide&&!e.overlap)return;const t=Ir(e.boundary);return Xu({...t?{boundary:t}:void 0,mainAxis:e.slide,crossAxis:e.overlap,padding:e.overflowPadding,limiter:ed()})}function md(e){return Ju({padding:e.overflowPadding,apply({elements:t,rects:n,availableHeight:r,availableWidth:o}){const i=t.floating,s=Math.round(n.reference.width),a=Math.round(n.reference.height);o=Math.floor(o),r=Math.floor(r),i.style.setProperty("--reference-width",`${s}px`),i.style.setProperty("--reference-height",`${a}px`),i.style.setProperty("--available-width",`${o}px`),i.style.setProperty("--available-height",`${r}px`)}})}function pd(e){if(e.hideWhenDetached)return Qu({strategy:"referenceHidden",boundary:Ir(e.boundary)??"clippingAncestors"})}function vd(e){return e?e===!0?{ancestorResize:!0,ancestorScroll:!0,elementResize:!0,layoutShift:!0}:e:{}}function bd(e,t,n={}){const r=rd(e,n.getAnchorRect);if(!t||!r)return;const o=Object.assign({},ud,n),i=t.querySelector("[data-part=arrow]"),s=[gd(i,o),fd(o),hd(o),dd(i,t.ownerDocument,o),ad(i),id({gutter:o.gutter,offset:o.offset,overlap:o.overlap},i),md(o),pd(o),sd],{placement:a,strategy:l,onComplete:c,onPositioned:u}=o,g=async()=>{if(!r||!t)return;const h=await td(r,t,{placement:a,middleware:s,strategy:l});c?.(h),u?.({placed:!0});const y=Se(t),E=wi(y,h.x),b=wi(y,h.y);t.style.setProperty("--x",`${E}px`),t.style.setProperty("--y",`${b}px`),o.hideWhenDetached&&(h.middlewareData.hide?.referenceHidden?(t.style.setProperty("visibility","hidden"),t.style.setProperty("pointer-events","none")):(t.style.removeProperty("visibility"),t.style.removeProperty("pointer-events")));const p=t.firstElementChild;if(p){const S=rc(p);t.style.setProperty("--z-index",S.zIndex)}},d=async()=>{n.updatePosition?(await n.updatePosition({updatePosition:g,floatingElement:t}),u?.({placed:!0})):await g()},f=vd(o.listeners),m=o.listeners?Yu(r,t,d,f):Al;return d(),()=>{m?.(),u?.({placed:!1})}}function Qe(e,t,n={}){const{defer:r,...o}=n,i=r?B:a=>a(),s=[];return s.push(i(()=>{const a=typeof e=="function"?e():e,l=typeof t=="function"?t():t;s.push(bd(a,l,o))})),()=>{s.forEach(a=>a?.())}}function yd(e){const t={each(n){for(let r=0;r<e.frames?.length;r+=1){const o=e.frames[r];o&&n(o)}},addEventListener(n,r,o){return t.each(i=>{try{i.document.addEventListener(n,r,o)}catch{}}),()=>{try{t.removeEventListener(n,r,o)}catch{}}},removeEventListener(n,r,o){t.each(i=>{try{i.document.removeEventListener(n,r,o)}catch{}})}};return t}function Ed(e){const t=e.frameElement!=null?e.parent:null;return{addEventListener:(n,r,o)=>{try{t?.addEventListener(n,r,o)}catch{}return()=>{try{t?.removeEventListener(n,r,o)}catch{}}},removeEventListener:(n,r,o)=>{try{t?.removeEventListener(n,r,o)}catch{}}}}var ki="pointerdown.outside",Ti="focus.outside";function Od(e){for(const t of e)if(he(t)&&tr(t))return!0;return!1}var Ri=e=>"clientY"in e;function Cd(e,t){if(!Ri(t)||!e)return!1;const n=e.getBoundingClientRect();return n.width===0||n.height===0?!1:n.top<=t.clientY&&t.clientY<=n.top+n.height&&n.left<=t.clientX&&t.clientX<=n.left+n.width}function Sd(e,t){return e.y<=t.y&&t.y<=e.y+e.height&&e.x<=t.x&&t.x<=e.x+e.width}function Pi(e,t){if(!t||!Ri(e))return!1;const n=t.scrollHeight>t.clientHeight,r=n&&e.clientX>t.offsetLeft+t.clientWidth,o=t.scrollWidth>t.clientWidth,i=o&&e.clientY>t.offsetTop+t.clientHeight,s={x:t.offsetLeft,y:t.offsetTop,width:t.clientWidth+(n?16:0),height:t.clientHeight+(o?16:0)},a={x:e.clientX,y:e.clientY};return Sd(s,a)?r||i:!1}function Id(e,t){const{exclude:n,onFocusOutside:r,onPointerDownOutside:o,onInteractOutside:i,defer:s}=t;if(!e)return;const a=lt(e),l=Se(e),c=yd(l),u=Ed(l);function g(b,p){if(!he(p)||!p.isConnected||Ke(e,p)||Cd(e,b))return!1;const S=a.querySelector(`[aria-controls="${e.id}"]`);if(S){const T=or(S);if(Pi(b,T))return!1}const v=or(e);return Pi(b,v)?!1:!n?.(p)}const d=new Set,f=Pt(e?.getRootNode());function m(b){function p(S){const v=s&&!Bo()?B:w=>w(),T=S??b,R=T?.composedPath?.()??[T?.target];v(()=>{const w=f?R[0]:ct(b);if(!(!e||!g(b,w))){if(o||i){const k=Vo(o,i);e.addEventListener(ki,k,{once:!0})}Vi(e,ki,{bubbles:!1,cancelable:!0,detail:{originalEvent:T,contextmenu:dc(T),focusable:Od(R),target:w}})}})}b.pointerType==="touch"?(d.forEach(S=>S()),d.add(De(a,"click",p,{once:!0})),d.add(u.addEventListener("click",p,{once:!0})),d.add(c.addEventListener("click",p,{once:!0}))):p()}const h=new Set,y=setTimeout(()=>{h.add(De(a,"pointerdown",m,!0)),h.add(u.addEventListener("pointerdown",m,!0)),h.add(c.addEventListener("pointerdown",m,!0))},0);function E(b){(s?B:S=>S())(()=>{const S=ct(b);if(!(!e||!g(b,S))){if(r||i){const v=Vo(r,i);e.addEventListener(Ti,v,{once:!0})}Vi(e,Ti,{bubbles:!1,cancelable:!0,detail:{originalEvent:b,contextmenu:!1,focusable:tr(S),target:S}})}})}return Bo()||(h.add(De(a,"focusin",E,!0)),h.add(u.addEventListener("focusin",E,!0)),h.add(c.addEventListener("focusin",E,!0))),()=>{clearTimeout(y),d.forEach(b=>b()),h.forEach(b=>b())}}function xd(e,t){const{defer:n}=t,r=n?B:i=>i(),o=[];return o.push(r(()=>{const i=typeof e=="function"?e():e;o.push(Id(i,t))})),()=>{o.forEach(i=>i?.())}}function Vi(e,t,n){const r=e.ownerDocument.defaultView||window,o=new r.CustomEvent(t,n);return e.dispatchEvent(o)}function wd(e,t){const n=r=>{r.key==="Escape"&&(r.isComposing||t?.(r))};return De(lt(e),"keydown",n,{capture:!0})}var Ai="layer:request-dismiss",Oe={layers:[],branches:[],count(){return this.layers.length},pointerBlockingLayers(){return this.layers.filter(e=>e.pointerBlocking)},topMostPointerBlockingLayer(){return[...this.pointerBlockingLayers()].slice(-1)[0]},hasPointerBlockingLayer(){return this.pointerBlockingLayers().length>0},isBelowPointerBlockingLayer(e){const t=this.indexOf(e),n=this.topMostPointerBlockingLayer()?this.indexOf(this.topMostPointerBlockingLayer()?.node):-1;return t<n},isTopMost(e){return this.layers[this.count()-1]?.node===e},getNestedLayers(e){return Array.from(this.layers).slice(this.indexOf(e)+1)},getLayersByType(e){return this.layers.filter(t=>t.type===e)},getNestedLayersByType(e,t){const n=this.indexOf(e);return n===-1?[]:this.layers.slice(n+1).filter(r=>r.type===t)},getParentLayerOfType(e,t){const n=this.indexOf(e);if(!(n<=0))return this.layers.slice(0,n).reverse().find(r=>r.type===t)},countNestedLayersOfType(e,t){return this.getNestedLayersByType(e,t).length},isInNestedLayer(e,t){return this.getNestedLayers(e).some(n=>Ke(n.node,t))},isInBranch(e){return Array.from(this.branches).some(t=>Ke(t,e))},add(e){this.layers.push(e),this.syncLayers()},addBranch(e){this.branches.push(e)},remove(e){const t=this.indexOf(e);t<0||(t<this.count()-1&&this.getNestedLayers(e).forEach(r=>Oe.dismiss(r.node,e)),this.layers.splice(t,1),this.syncLayers())},removeBranch(e){const t=this.branches.indexOf(e);t>=0&&this.branches.splice(t,1)},syncLayers(){this.layers.forEach((e,t)=>{e.node.style.setProperty("--layer-index",`${t}`),e.node.removeAttribute("data-nested"),e.node.removeAttribute("data-has-nested"),this.getParentLayerOfType(e.node,e.type)&&e.node.setAttribute("data-nested",e.type);const r=this.countNestedLayersOfType(e.node,e.type);r>0&&e.node.setAttribute("data-has-nested",e.type),e.node.style.setProperty("--nested-layer-count",`${r}`)})},indexOf(e){return this.layers.findIndex(t=>t.node===e)},dismiss(e,t){const n=this.indexOf(e);if(n===-1)return;const r=this.layers[n];Td(e,Ai,o=>{r.requestDismiss?.(o),o.defaultPrevented||r?.dismiss()}),kd(e,Ai,{originalLayer:e,targetLayer:t,originalIndex:n,targetIndex:t?this.indexOf(t):-1}),this.syncLayers()},clear(){this.remove(this.layers[0].node)}};function kd(e,t,n){const r=e.ownerDocument.defaultView||window,o=new r.CustomEvent(t,{cancelable:!0,bubbles:!0,detail:n});return e.dispatchEvent(o)}function Td(e,t,n){e.addEventListener(t,n,{once:!0})}var _i;function Ni(){Oe.layers.forEach(({node:e})=>{e.style.pointerEvents=Oe.isBelowPointerBlockingLayer(e)?"none":"auto"})}function Rd(e){e.style.pointerEvents=""}function Pd(e,t){const n=lt(e),r=[];return Oe.hasPointerBlockingLayer()&&!n.body.hasAttribute("data-inert")&&(_i=document.body.style.pointerEvents,queueMicrotask(()=>{n.body.style.pointerEvents="none",n.body.setAttribute("data-inert","")})),t?.forEach(o=>{const[i,s]=zc(()=>{const a=o();return he(a)?a:null},{timeout:1e3});i.then(a=>r.push(Dc(a,{pointerEvents:"auto"}))),r.push(s)}),()=>{Oe.hasPointerBlockingLayer()||(queueMicrotask(()=>{n.body.style.pointerEvents=_i,n.body.removeAttribute("data-inert"),n.body.style.length===0&&n.body.removeAttribute("style")}),r.forEach(o=>o()))}}function Vd(e,t){const{warnOnMissingNode:n=!0}=t;if(n&&!e){$o("[@zag-js/dismissable] node is `null` or `undefined`");return}if(!e)return;const{onDismiss:r,onRequestDismiss:o,pointerBlocking:i,exclude:s,debug:a,type:l="dialog"}=t,c={dismiss:r,node:e,type:l,pointerBlocking:i,requestDismiss:o};Oe.add(c),Ni();function u(h){const y=ct(h.detail.originalEvent);Oe.isBelowPointerBlockingLayer(e)||Oe.isInBranch(y)||(t.onPointerDownOutside?.(h),t.onInteractOutside?.(h),!h.defaultPrevented&&(a&&console.log("onPointerDownOutside:",h.detail.originalEvent),r?.()))}function g(h){const y=ct(h.detail.originalEvent);Oe.isInBranch(y)||(t.onFocusOutside?.(h),t.onInteractOutside?.(h),!h.defaultPrevented&&(a&&console.log("onFocusOutside:",h.detail.originalEvent),r?.()))}function d(h){Oe.isTopMost(e)&&(t.onEscapeKeyDown?.(h),!h.defaultPrevented&&r&&(h.preventDefault(),r()))}function f(h){if(!e)return!1;const y=typeof s=="function"?s():s,E=Array.isArray(y)?y:[y],b=t.persistentElements?.map(p=>p()).filter(he);return b&&E.push(...b),E.some(p=>Ke(p,h))||Oe.isInNestedLayer(e,h)}const m=[i?Pd(e,t.persistentElements):void 0,wd(e,d),xd(e,{exclude:f,onFocusOutside:g,onPointerDownOutside:u,defer:t.defer})];return()=>{Oe.remove(e),Ni(),Rd(e),m.forEach(h=>h?.())}}function bn(e,t){const{defer:n}=t,r=n?B:i=>i(),o=[];return o.push(r(()=>{const i=Ro(e)?e():e;o.push(Vd(i,t))})),()=>{o.forEach(i=>i?.())}}var Fi=$("color-picker",["root","label","control","trigger","positioner","content","area","areaThumb","valueText","areaBackground","channelSlider","channelSliderLabel","channelSliderTrack","channelSliderThumb","channelSliderValueText","channelInput","transparencyGrid","swatchGroup","swatchTrigger","swatchIndicator","swatch","eyeDropperTrigger","formatTrigger","formatSelect"]);Fi.build();var Ad=e=>e.ids?.hiddenInput??`color-picker:${e.id}:hidden-input`,_d=e=>e.ids?.control??`color-picker:${e.id}:control`,Nd=e=>e.ids?.trigger??`color-picker:${e.id}:trigger`,Fd=e=>e.ids?.content??`color-picker:${e.id}:content`,Ld=e=>e.ids?.positioner??`color-picker:${e.id}:positioner`,Md=e=>e.ids?.formatSelect??`color-picker:${e.id}:format-select`,$d=e=>e.ids?.area??`color-picker:${e.id}:area`,Dd=e=>e.ids?.areaThumb??`color-picker:${e.id}:area-thumb`,Hd=(e,t)=>e.ids?.channelSliderTrack?.(t)??`color-picker:${e.id}:slider-track:${t}`,Wd=(e,t)=>e.ids?.channelSliderThumb?.(t)??`color-picker:${e.id}:slider-thumb:${t}`,yn=e=>e.getById(Fd(e)),Bd=e=>e.getById(Dd(e)),zd=(e,t)=>e.getById(Wd(e,t)),jd=e=>e.getById(Md(e)),Li=e=>e.getById(Ad(e)),Gd=e=>e.getById($d(e)),Ud=(e,t,n)=>{const r=Gd(e);if(!r)return;const{getPercentValue:o}=Qo(t,r);return{x:o({dir:n,orientation:"horizontal"}),y:o({orientation:"vertical"})}},Yd=e=>e.getById(_d(e)),xr=e=>e.getById(Nd(e)),qd=e=>e.getById(Ld(e)),Xd=(e,t)=>e.getById(Hd(e,t)),Kd=(e,t,n,r)=>{const o=Xd(e,n);if(!o)return;const{getPercentValue:i}=Qo(t,o);return{x:i({dir:r,orientation:"horizontal"}),y:i({orientation:"vertical"})}},Jd=e=>[...ln(yn(e),"input[data-channel]"),...ln(Yd(e),"input[data-channel]")];function Qd(e,t){if(t==null)return"";if(t==="hex")return e.toString("hex");if(t==="css")return e.toString("css");if(t in e)return e.getChannelValue(t).toString();const n=e.getFormat()==="hsla";switch(t){case"hue":return n?e.toFormat("hsla").getChannelValue("hue").toString():e.toFormat("hsba").getChannelValue("hue").toString();case"saturation":return n?e.toFormat("hsla").getChannelValue("saturation").toString():e.toFormat("hsba").getChannelValue("saturation").toString();case"lightness":return e.toFormat("hsla").getChannelValue("lightness").toString();case"brightness":return e.toFormat("hsba").getChannelValue("brightness").toString();case"red":case"green":case"blue":return e.toFormat("rgba").getChannelValue(t).toString();default:return e.getChannelValue(t).toString()}}var Mi=e=>cn(e),Zd=/^[0-9a-fA-F]{3,8}$/;function eg(e){return Zd.test(e)}function tg(e){return e.startsWith("#")?e:eg(e)?`#${e}`:e}var{and:ng}=Vt();ng("isOpenControlled","closeOnSelect");function $i(e,t,n){const r=Jd(e);B(()=>{r.forEach(o=>{const i=o.dataset.channel;er(o,Qd(n||t,i))})})}function rg(e,t){const n=jd(e);n&&B(()=>er(n,t))}F()(["closeOnSelect","dir","disabled","format","defaultFormat","getRootNode","id","ids","initialFocusEl","inline","name","positioning","onFocusOutside","onFormatChange","onInteractOutside","onOpenChange","onPointerDownOutside","onValueChange","onValueChangeEnd","defaultOpen","open","positioning","required","readOnly","value","defaultValue","invalid","openAutoFocus"]),F()(["xChannel","yChannel"]),F()(["channel","orientation"]),F()(["value","disabled"]),F()(["value","respectAlpha"]),F()(["size"]);var Di=$("accordion").parts("root","item","itemTrigger","itemContent","itemIndicator");Di.build();var Hi=e=>e.ids?.root??`accordion:${e.id}`,Wi=(e,t)=>e.ids?.itemTrigger?.(t)??`accordion:${e.id}:trigger:${t}`,og=e=>e.getById(Hi(e)),En=e=>{const n=`[aria-controls][data-ownedby='${CSS.escape(Hi(e))}']:not([disabled])`;return ln(og(e),n)},ig=e=>So(En(e)),sg=e=>Io(En(e)),ag=(e,t)=>_c(En(e),Wi(e,t)),lg=(e,t)=>Nc(En(e),Wi(e,t)),{and:cg,not:ug}=Vt();cg("isExpanded","canToggle"),ug("isExpanded"),F()(["collapsible","dir","disabled","getRootNode","id","ids","multiple","onFocusChange","onValueChange","orientation","value","defaultValue"]),F()(["value","disabled"]);var Ft=(e,t)=>({x:e,y:t});function dg(e){const{x:t,y:n,width:r,height:o}=e,i=t+r/2,s=n+o/2;return{x:t,y:n,width:r,height:o,minX:t,minY:n,maxX:t+r,maxY:n+o,midX:i,midY:s,center:Ft(i,s)}}function gg(e){const t=Ft(e.minX,e.minY),n=Ft(e.maxX,e.minY),r=Ft(e.maxX,e.maxY),o=Ft(e.minX,e.maxY);return{top:t,right:n,bottom:r,left:o}}function fg(e,t){const n=dg(e),{top:r,right:o,left:i,bottom:s}=gg(n),[a]=t.split("-");return{top:[i,r,o,s],right:[r,o,s,i],bottom:[r,i,s,o],left:[o,r,i,s]}[a]}function hg(e,t){const{x:n,y:r}=t;let o=!1;for(let i=0,s=e.length-1;i<e.length;s=i++){const a=e[i].x,l=e[i].y,c=e[s].x,u=e[s].y;l>r!=u>r&&n<(c-a)*(r-l)/(u-l)+a&&(o=!o)}return o}var Bi=$("clipboard").parts("root","control","trigger","indicator","input","label");Bi.build(),F()(["getRootNode","id","ids","value","defaultValue","timeout","onStatusChange","onValueChange"]),F()(["copied"]);const mg=Fi.extendWith("view");var pg=Object.defineProperty,vg=(e,t,n)=>t in e?pg(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,_=(e,t,n)=>vg(e,typeof t!="symbol"?t+"":t,n),On={itemToValue(e){return typeof e=="string"?e:Yn(e)&&rn(e,"value")?e.value:""},itemToString(e){return typeof e=="string"?e:Yn(e)&&rn(e,"label")?e.label:On.itemToValue(e)},isItemDisabled(e){return Yn(e)&&rn(e,"disabled")?!!e.disabled:!1}},Cn=class ga{constructor(t){this.options=t,_(this,"items"),_(this,"indexMap",null),_(this,"copy",n=>new ga({...this.options,items:n??[...this.items]})),_(this,"isEqual",n=>at(this.items,n.items)),_(this,"setItems",n=>this.copy(n)),_(this,"getValues",(n=this.items)=>{const r=[];for(const o of n){const i=this.getItemValue(o);i!=null&&r.push(i)}return r}),_(this,"find",n=>{if(n==null)return null;const r=this.indexOf(n);return r!==-1?this.at(r):null}),_(this,"findMany",n=>{const r=[];for(const o of n){const i=this.find(o);i!=null&&r.push(i)}return r}),_(this,"at",n=>{if(!this.options.groupBy&&!this.options.groupSort)return this.items[n]??null;let r=0;const o=this.group();for(const[,i]of o)for(const s of i){if(r===n)return s;r++}return null}),_(this,"sortFn",(n,r)=>{const o=this.indexOf(n),i=this.indexOf(r);return(o??0)-(i??0)}),_(this,"sort",n=>[...n].sort(this.sortFn.bind(this))),_(this,"getItemValue",n=>n==null?null:this.options.itemToValue?.(n)??On.itemToValue(n)),_(this,"getItemDisabled",n=>n==null?!1:this.options.isItemDisabled?.(n)??On.isItemDisabled(n)),_(this,"stringifyItem",n=>n==null?null:this.options.itemToString?.(n)??On.itemToString(n)),_(this,"stringify",n=>n==null?null:this.stringifyItem(this.find(n))),_(this,"stringifyItems",(n,r=", ")=>{const o=[];for(const i of n){const s=this.stringifyItem(i);s!=null&&o.push(s)}return o.join(r)}),_(this,"stringifyMany",(n,r)=>this.stringifyItems(this.findMany(n),r)),_(this,"has",n=>this.indexOf(n)!==-1),_(this,"hasItem",n=>n==null?!1:this.has(this.getItemValue(n))),_(this,"group",()=>{const{groupBy:n,groupSort:r}=this.options;if(!n)return[["",[...this.items]]];const o=new Map;this.items.forEach((s,a)=>{const l=n(s,a);o.has(l)||o.set(l,[]),o.get(l).push(s)});let i=Array.from(o.entries());return r&&i.sort(([s],[a])=>{if(typeof r=="function")return r(s,a);if(Array.isArray(r)){const l=r.indexOf(s),c=r.indexOf(a);return l===-1?1:c===-1?-1:l-c}return r==="asc"?s.localeCompare(a):r==="desc"?a.localeCompare(s):0}),i}),_(this,"getNextValue",(n,r=1,o=!1)=>{let i=this.indexOf(n);if(i===-1)return null;for(i=o?Math.min(i+r,this.size-1):i+r;i<=this.size&&this.getItemDisabled(this.at(i));)i++;return this.getItemValue(this.at(i))}),_(this,"getPreviousValue",(n,r=1,o=!1)=>{let i=this.indexOf(n);if(i===-1)return null;for(i=o?Math.max(i-r,0):i-r;i>=0&&this.getItemDisabled(this.at(i));)i--;return this.getItemValue(this.at(i))}),_(this,"indexOf",n=>{if(n==null)return-1;if(!this.options.groupBy&&!this.options.groupSort)return this.items.findIndex(r=>this.getItemValue(r)===n);if(!this.indexMap){this.indexMap=new Map;let r=0;const o=this.group();for(const[,i]of o)for(const s of i){const a=this.getItemValue(s);a!=null&&this.indexMap.set(a,r),r++}}return this.indexMap.get(n)??-1}),_(this,"getByText",(n,r)=>{const o=r!=null?this.indexOf(r):-1,i=n.length===1;for(let s=0;s<this.items.length;s++){const a=this.items[(o+s+1)%this.items.length];if(!(i&&this.getItemValue(a)===r)&&!this.getItemDisabled(a)&&bg(this.stringifyItem(a),n))return a}}),_(this,"search",(n,r)=>{const{state:o,currentValue:i,timeout:s=350}=r,a=o.keysSoFar+n,c=a.length>1&&Array.from(a).every(m=>m===a[0])?a[0]:a,u=this.getByText(c,i),g=this.getItemValue(u);function d(){clearTimeout(o.timer),o.timer=-1}function f(m){o.keysSoFar=m,d(),m!==""&&(o.timer=+setTimeout(()=>{f(""),d()},s))}return f(a),g}),_(this,"update",(n,r)=>{let o=this.indexOf(n);return o===-1?this:this.copy([...this.items.slice(0,o),r,...this.items.slice(o+1)])}),_(this,"upsert",(n,r,o="append")=>{let i=this.indexOf(n);return i===-1?(o==="append"?this.append:this.prepend)(r):this.copy([...this.items.slice(0,i),r,...this.items.slice(i+1)])}),_(this,"insert",(n,...r)=>this.copy(Lt(this.items,n,...r))),_(this,"insertBefore",(n,...r)=>{let o=this.indexOf(n);if(o===-1)if(this.items.length===0)o=0;else return this;return this.copy(Lt(this.items,o,...r))}),_(this,"insertAfter",(n,...r)=>{let o=this.indexOf(n);if(o===-1)if(this.items.length===0)o=0;else return this;return this.copy(Lt(this.items,o+1,...r))}),_(this,"prepend",(...n)=>this.copy(Lt(this.items,0,...n))),_(this,"append",(...n)=>this.copy(Lt(this.items,this.items.length,...n))),_(this,"filter",n=>{const r=this.items.filter((o,i)=>n(this.stringifyItem(o),i,o));return this.copy(r)}),_(this,"remove",(...n)=>{const r=n.map(o=>typeof o=="string"?o:this.getItemValue(o));return this.copy(this.items.filter(o=>{const i=this.getItemValue(o);return i==null?!1:!r.includes(i)}))}),_(this,"move",(n,r)=>{const o=this.indexOf(n);return o===-1?this:this.copy(Sn(this.items,[o],r))}),_(this,"moveBefore",(n,...r)=>{let o=this.items.findIndex(s=>this.getItemValue(s)===n);if(o===-1)return this;let i=r.map(s=>this.items.findIndex(a=>this.getItemValue(a)===s)).sort((s,a)=>s-a);return this.copy(Sn(this.items,i,o))}),_(this,"moveAfter",(n,...r)=>{let o=this.items.findIndex(s=>this.getItemValue(s)===n);if(o===-1)return this;let i=r.map(s=>this.items.findIndex(a=>this.getItemValue(a)===s)).sort((s,a)=>s-a);return this.copy(Sn(this.items,i,o+1))}),_(this,"reorder",(n,r)=>this.copy(Sn(this.items,[n],r))),_(this,"compareValue",(n,r)=>{const o=this.indexOf(n),i=this.indexOf(r);return o<i?-1:o>i?1:0}),_(this,"range",(n,r)=>{let o=[],i=n;for(;i!=null;){if(this.find(i)&&o.push(i),i===r)return o;i=this.getNextValue(i)}return[]}),_(this,"getValueRange",(n,r)=>n&&r?this.compareValue(n,r)<=0?this.range(n,r):this.range(r,n):[]),_(this,"toString",()=>{let n="";for(const r of this.items){const o=this.getItemValue(r),i=this.stringifyItem(r),s=this.getItemDisabled(r),a=[o,i,s].filter(Boolean).join(":");n+=a+","}return n}),_(this,"toJSON",()=>({size:this.size,first:this.firstValue,last:this.lastValue})),this.items=[...t.items]}get size(){return this.items.length}get firstValue(){let t=0;for(;this.getItemDisabled(this.at(t));)t++;return this.getItemValue(this.at(t))}get lastValue(){let t=this.size-1;for(;this.getItemDisabled(this.at(t));)t--;return this.getItemValue(this.at(t))}*[Symbol.iterator](){yield*this.items}},bg=(e,t)=>!!e?.toLowerCase().startsWith(t.toLowerCase());function Lt(e,t,...n){return[...e.slice(0,t),...n,...e.slice(t)]}function Sn(e,t,n){t=[...t].sort((o,i)=>o-i);const r=t.map(o=>e[o]);for(let o=t.length-1;o>=0;o--)e=[...e.slice(0,t[o]),...e.slice(t[o]+1)];return n=Math.max(0,n-t.filter(o=>o<n).length),[...e.slice(0,n),...r,...e.slice(n)]}var pt=new WeakMap,In=new WeakMap,xn={},wr=0,zi=e=>e&&(e.host||zi(e.parentNode)),yg=(e,t)=>t.map(n=>{if(e.contains(n))return n;const r=zi(n);return r&&e.contains(r)?r:(console.error("[zag-js > ariaHidden] target",n,"in not contained inside",e,". Doing nothing"),null)}).filter(n=>!!n),Eg=new Set(["script","output","status","next-route-announcer"]),Og=e=>Eg.has(e.localName)||e.role==="status"||e.hasAttribute("aria-live")?!0:e.matches("[data-live-announcer]"),Cg=(e,t)=>{const{parentNode:n,markerName:r,controlAttribute:o}=t,i=yg(n,Array.isArray(e)?e:[e]);xn[r]||(xn[r]=new WeakMap);const s=xn[r],a=[],l=new Set,c=new Set(i),u=d=>{!d||l.has(d)||(l.add(d),u(d.parentNode))};i.forEach(u);const g=d=>{!d||c.has(d)||Array.prototype.forEach.call(d.children,f=>{if(l.has(f))g(f);else try{if(Og(f))return;const h=f.getAttribute(o)==="true",y=(pt.get(f)||0)+1,E=(s.get(f)||0)+1;pt.set(f,y),s.set(f,E),a.push(f),y===1&&h&&In.set(f,!0),E===1&&f.setAttribute(r,""),h||f.setAttribute(o,"true")}catch(m){console.error("[zag-js > ariaHidden] cannot operate on ",f,m)}})};return g(n),l.clear(),wr++,()=>{a.forEach(d=>{const f=pt.get(d)-1,m=s.get(d)-1;pt.set(d,f),s.set(d,m),f||(In.has(d)||d.removeAttribute(o),In.delete(d)),m||d.removeAttribute(r)}),wr--,wr||(pt=new WeakMap,pt=new WeakMap,In=new WeakMap,xn={})}},Sg=e=>(Array.isArray(e)?e[0]:e).ownerDocument.body,Ig=(e,t=Sg(e),n="data-aria-hidden")=>{if(t)return Cg(e,{parentNode:t,markerName:n,controlAttribute:"aria-hidden"})},xg=e=>{const t=requestAnimationFrame(()=>e());return()=>cancelAnimationFrame(t)};function wg(e,t={}){const{defer:n=!0}=t,r=n?xg:i=>i(),o=[];return o.push(r(()=>{const s=(typeof e=="function"?e():e).filter(Boolean);s.length!==0&&o.push(Ig(s))})),()=>{o.forEach(i=>i?.())}}var ji=$("combobox").parts("root","clearTrigger","content","control","input","item","itemGroup","itemGroupLabel","itemIndicator","itemText","label","list","positioner","trigger");ji.build();var Gi=e=>new Cn(e);Gi.empty=()=>new Cn({items:[]});var kg=e=>e.ids?.control??`combobox:${e.id}:control`,Tg=e=>e.ids?.input??`combobox:${e.id}:input`,Rg=e=>e.ids?.content??`combobox:${e.id}:content`,Pg=e=>e.ids?.positioner??`combobox:${e.id}:popper`,Vg=e=>e.ids?.trigger??`combobox:${e.id}:toggle-btn`,Ag=e=>e.ids?.clearTrigger??`combobox:${e.id}:clear-btn`,Ye=e=>e.getById(Rg(e)),vt=e=>e.getById(Tg(e)),Ui=e=>e.getById(Pg(e)),Yi=e=>e.getById(kg(e)),Mt=e=>e.getById(Vg(e)),qi=e=>e.getById(Ag(e)),$t=(e,t)=>{if(t==null)return null;const n=`[role=option][data-value="${CSS.escape(t)}"]`;return Vc(Ye(e),n)},Xi=e=>{const t=vt(e);e.isActiveElement(t)||t?.focus({preventScroll:!0})},_g=e=>{const t=Mt(e);e.isActiveElement(t)||t?.focus({preventScroll:!0})},{guards:Ng,createMachine:Fg,choose:Lg}=jc(),{and:re,not:Ee}=Ng;Fg({props({props:e}){return{loopFocus:!0,openOnClick:!1,defaultValue:[],closeOnSelect:!e.multiple,allowCustomValue:!1,alwaysSubmitOnEnter:!1,inputBehavior:"none",selectionBehavior:e.multiple?"clear":"replace",openOnKeyPress:!0,openOnChange:!0,composite:!0,navigate({node:t}){Ko(t)},collection:Gi.empty(),...e,positioning:{placement:"bottom",sameWidth:!0,...e.positioning},translations:{triggerLabel:"Toggle suggestions",clearTriggerLabel:"Clear value",...e.translations}}},initialState({prop:e}){return e("open")||e("defaultOpen")?"suggesting":"idle"},context({prop:e,bindable:t,getContext:n,getEvent:r}){return{currentPlacement:t(()=>({defaultValue:void 0})),value:t(()=>({defaultValue:e("defaultValue"),value:e("value"),isEqual:at,hash(o){return o.join(",")},onChange(o){const i=n(),s=i.get("selectedItems"),a=e("collection"),l=o.map(c=>s.find(g=>a.getItemValue(g)===c)||a.find(c));i.set("selectedItems",l),e("onValueChange")?.({value:o,items:l})}})),highlightedValue:t(()=>({defaultValue:e("defaultHighlightedValue")||null,value:e("highlightedValue"),onChange(o){const i=e("collection").find(o);e("onHighlightChange")?.({highlightedValue:o,highlightedItem:i})}})),inputValue:t(()=>{let o=e("inputValue")||e("defaultInputValue")||"";const i=e("defaultValue")||e("value")||[];if(!o.trim()&&!e("multiple")){const s=e("collection").stringifyMany(i);o=$e(e("selectionBehavior"),{preserve:o||s,replace:s,clear:""})}return{defaultValue:o,value:e("inputValue"),onChange(s){const a=r(),l=(a.previousEvent||a).src;e("onInputValueChange")?.({inputValue:s,reason:l})}}}),highlightedItem:t(()=>{const o=e("highlightedValue");return{defaultValue:e("collection").find(o)}}),selectedItems:t(()=>{const o=e("value")||e("defaultValue")||[];return{defaultValue:e("collection").findMany(o)}})}},computed:{isInputValueEmpty:({context:e})=>e.get("inputValue").length===0,isInteractive:({prop:e})=>!(e("readOnly")||e("disabled")),autoComplete:({prop:e})=>e("inputBehavior")==="autocomplete",autoHighlight:({prop:e})=>e("inputBehavior")==="autohighlight",hasSelectedItems:({context:e})=>e.get("value").length>0,valueAsString:({context:e,prop:t})=>t("collection").stringifyItems(e.get("selectedItems")),isCustomValue:({context:e,computed:t})=>e.get("inputValue")!==t("valueAsString")},watch({context:e,prop:t,track:n,action:r,send:o}){n([()=>e.hash("value")],()=>{r(["syncSelectedItems"])}),n([()=>e.get("inputValue")],()=>{r(["syncInputValue"])}),n([()=>e.get("highlightedValue")],()=>{r(["syncHighlightedItem","autofillInputValue"])}),n([()=>t("open")],()=>{r(["toggleVisibility"])}),n([()=>t("collection").toString()],()=>{o({type:"CHILDREN_CHANGE"})})},on:{"SELECTED_ITEMS.SYNC":{actions:["syncSelectedItems"]},"HIGHLIGHTED_VALUE.SET":{actions:["setHighlightedValue"]},"HIGHLIGHTED_VALUE.CLEAR":{actions:["clearHighlightedValue"]},"ITEM.SELECT":{actions:["selectItem"]},"ITEM.CLEAR":{actions:["clearItem"]},"VALUE.SET":{actions:["setValue"]},"INPUT_VALUE.SET":{actions:["setInputValue"]},"POSITIONING.SET":{actions:["reposition"]}},entry:Lg([{guard:"autoFocus",actions:["setInitialFocus"]}]),states:{idle:{tags:["idle","closed"],entry:["scrollContentToTop","clearHighlightedValue"],on:{"CONTROLLED.OPEN":{target:"interacting"},"TRIGGER.CLICK":[{guard:"isOpenControlled",actions:["setInitialFocus","highlightFirstSelectedItem","invokeOnOpen"]},{target:"interacting",actions:["setInitialFocus","highlightFirstSelectedItem","invokeOnOpen"]}],"INPUT.CLICK":[{guard:"isOpenControlled",actions:["highlightFirstSelectedItem","invokeOnOpen"]},{target:"interacting",actions:["highlightFirstSelectedItem","invokeOnOpen"]}],"INPUT.FOCUS":{target:"focused"},OPEN:[{guard:"isOpenControlled",actions:["invokeOnOpen"]},{target:"interacting",actions:["invokeOnOpen"]}],"VALUE.CLEAR":{target:"focused",actions:["clearInputValue","clearSelectedItems","setInitialFocus"]}}},focused:{tags:["focused","closed"],entry:["scrollContentToTop","clearHighlightedValue"],on:{"CONTROLLED.OPEN":[{guard:"isChangeEvent",target:"suggesting"},{target:"interacting"}],"INPUT.CHANGE":[{guard:re("isOpenControlled","openOnChange"),actions:["setInputValue","invokeOnOpen","highlightFirstItemIfNeeded"]},{guard:"openOnChange",target:"suggesting",actions:["setInputValue","invokeOnOpen","highlightFirstItemIfNeeded"]},{actions:["setInputValue"]}],"LAYER.INTERACT_OUTSIDE":{target:"idle"},"INPUT.ESCAPE":{guard:re("isCustomValue",Ee("allowCustomValue")),actions:["revertInputValue"]},"INPUT.BLUR":{target:"idle"},"INPUT.CLICK":[{guard:"isOpenControlled",actions:["highlightFirstSelectedItem","invokeOnOpen"]},{target:"interacting",actions:["highlightFirstSelectedItem","invokeOnOpen"]}],"TRIGGER.CLICK":[{guard:"isOpenControlled",actions:["setInitialFocus","highlightFirstSelectedItem","invokeOnOpen"]},{target:"interacting",actions:["setInitialFocus","highlightFirstSelectedItem","invokeOnOpen"]}],"INPUT.ARROW_DOWN":[{guard:re("isOpenControlled","autoComplete"),actions:["invokeOnOpen"]},{guard:"autoComplete",target:"interacting",actions:["invokeOnOpen"]},{guard:"isOpenControlled",actions:["highlightFirstOrSelectedItem","invokeOnOpen"]},{target:"interacting",actions:["highlightFirstOrSelectedItem","invokeOnOpen"]}],"INPUT.ARROW_UP":[{guard:"autoComplete",target:"interacting",actions:["invokeOnOpen"]},{guard:"autoComplete",target:"interacting",actions:["invokeOnOpen"]},{target:"interacting",actions:["highlightLastOrSelectedItem","invokeOnOpen"]},{target:"interacting",actions:["highlightLastOrSelectedItem","invokeOnOpen"]}],OPEN:[{guard:"isOpenControlled",actions:["invokeOnOpen"]},{target:"interacting",actions:["invokeOnOpen"]}],"VALUE.CLEAR":{actions:["clearInputValue","clearSelectedItems"]}}},interacting:{tags:["open","focused"],entry:["setInitialFocus"],effects:["scrollToHighlightedItem","trackDismissableLayer","trackPlacement","hideOtherElements"],on:{"CONTROLLED.CLOSE":[{guard:"restoreFocus",target:"focused",actions:["setFinalFocus"]},{target:"idle"}],CHILDREN_CHANGE:[{guard:"isHighlightedItemRemoved",actions:["clearHighlightedValue"]},{actions:["scrollToHighlightedItem"]}],"INPUT.HOME":{actions:["highlightFirstItem"]},"INPUT.END":{actions:["highlightLastItem"]},"INPUT.ARROW_DOWN":[{guard:re("autoComplete","isLastItemHighlighted"),actions:["clearHighlightedValue","scrollContentToTop"]},{actions:["highlightNextItem"]}],"INPUT.ARROW_UP":[{guard:re("autoComplete","isFirstItemHighlighted"),actions:["clearHighlightedValue"]},{actions:["highlightPrevItem"]}],"INPUT.ENTER":[{guard:re("isOpenControlled","isCustomValue",Ee("hasHighlightedItem"),Ee("allowCustomValue")),actions:["revertInputValue","invokeOnClose"]},{guard:re("isCustomValue",Ee("hasHighlightedItem"),Ee("allowCustomValue")),target:"focused",actions:["revertInputValue","invokeOnClose"]},{guard:re("isOpenControlled","closeOnSelect"),actions:["selectHighlightedItem","invokeOnClose"]},{guard:"closeOnSelect",target:"focused",actions:["selectHighlightedItem","invokeOnClose","setFinalFocus"]},{actions:["selectHighlightedItem"]}],"INPUT.CHANGE":[{guard:"autoComplete",target:"suggesting",actions:["setInputValue"]},{target:"suggesting",actions:["clearHighlightedValue","setInputValue"]}],"ITEM.POINTER_MOVE":{actions:["setHighlightedValue"]},"ITEM.POINTER_LEAVE":{actions:["clearHighlightedValue"]},"ITEM.CLICK":[{guard:re("isOpenControlled","closeOnSelect"),actions:["selectItem","invokeOnClose"]},{guard:"closeOnSelect",target:"focused",actions:["selectItem","invokeOnClose","setFinalFocus"]},{actions:["selectItem"]}],"LAYER.ESCAPE":[{guard:re("isOpenControlled","autoComplete"),actions:["syncInputValue","invokeOnClose"]},{guard:"autoComplete",target:"focused",actions:["syncInputValue","invokeOnClose"]},{guard:"isOpenControlled",actions:["invokeOnClose"]},{target:"focused",actions:["invokeOnClose","setFinalFocus"]}],"TRIGGER.CLICK":[{guard:"isOpenControlled",actions:["invokeOnClose"]},{target:"focused",actions:["invokeOnClose"]}],"LAYER.INTERACT_OUTSIDE":[{guard:re("isOpenControlled","isCustomValue",Ee("allowCustomValue")),actions:["revertInputValue","invokeOnClose"]},{guard:re("isCustomValue",Ee("allowCustomValue")),target:"idle",actions:["revertInputValue","invokeOnClose"]},{guard:"isOpenControlled",actions:["invokeOnClose"]},{target:"idle",actions:["invokeOnClose"]}],CLOSE:[{guard:"isOpenControlled",actions:["invokeOnClose"]},{target:"focused",actions:["invokeOnClose","setFinalFocus"]}],"VALUE.CLEAR":[{guard:"isOpenControlled",actions:["clearInputValue","clearSelectedItems","invokeOnClose"]},{target:"focused",actions:["clearInputValue","clearSelectedItems","invokeOnClose","setFinalFocus"]}]}},suggesting:{tags:["open","focused"],effects:["trackDismissableLayer","scrollToHighlightedItem","trackPlacement","hideOtherElements"],entry:["setInitialFocus"],on:{"CONTROLLED.CLOSE":[{guard:"restoreFocus",target:"focused",actions:["setFinalFocus"]},{target:"idle"}],CHILDREN_CHANGE:[{guard:"autoHighlight",actions:["highlightFirstItem"]},{guard:"isHighlightedItemRemoved",actions:["clearHighlightedValue"]}],"INPUT.ARROW_DOWN":{target:"interacting",actions:["highlightNextItem"]},"INPUT.ARROW_UP":{target:"interacting",actions:["highlightPrevItem"]},"INPUT.HOME":{target:"interacting",actions:["highlightFirstItem"]},"INPUT.END":{target:"interacting",actions:["highlightLastItem"]},"INPUT.ENTER":[{guard:re("isOpenControlled","isCustomValue",Ee("hasHighlightedItem"),Ee("allowCustomValue")),actions:["revertInputValue","invokeOnClose"]},{guard:re("isCustomValue",Ee("hasHighlightedItem"),Ee("allowCustomValue")),target:"focused",actions:["revertInputValue","invokeOnClose"]},{guard:re("isOpenControlled","closeOnSelect"),actions:["selectHighlightedItem","invokeOnClose"]},{guard:"closeOnSelect",target:"focused",actions:["selectHighlightedItem","invokeOnClose","setFinalFocus"]},{actions:["selectHighlightedItem"]}],"INPUT.CHANGE":{actions:["setInputValue"]},"LAYER.ESCAPE":[{guard:"isOpenControlled",actions:["invokeOnClose"]},{target:"focused",actions:["invokeOnClose"]}],"ITEM.POINTER_MOVE":{target:"interacting",actions:["setHighlightedValue"]},"ITEM.POINTER_LEAVE":{actions:["clearHighlightedValue"]},"LAYER.INTERACT_OUTSIDE":[{guard:re("isOpenControlled","isCustomValue",Ee("allowCustomValue")),actions:["revertInputValue","invokeOnClose"]},{guard:re("isCustomValue",Ee("allowCustomValue")),target:"idle",actions:["revertInputValue","invokeOnClose"]},{guard:"isOpenControlled",actions:["invokeOnClose"]},{target:"idle",actions:["invokeOnClose"]}],"TRIGGER.CLICK":[{guard:"isOpenControlled",actions:["invokeOnClose"]},{target:"focused",actions:["invokeOnClose"]}],"ITEM.CLICK":[{guard:re("isOpenControlled","closeOnSelect"),actions:["selectItem","invokeOnClose"]},{guard:"closeOnSelect",target:"focused",actions:["selectItem","invokeOnClose","setFinalFocus"]},{actions:["selectItem"]}],CLOSE:[{guard:"isOpenControlled",actions:["invokeOnClose"]},{target:"focused",actions:["invokeOnClose","setFinalFocus"]}],"VALUE.CLEAR":[{guard:"isOpenControlled",actions:["clearInputValue","clearSelectedItems","invokeOnClose"]},{target:"focused",actions:["clearInputValue","clearSelectedItems","invokeOnClose","setFinalFocus"]}]}}},implementations:{guards:{isInputValueEmpty:({computed:e})=>e("isInputValueEmpty"),autoComplete:({computed:e,prop:t})=>e("autoComplete")&&!t("multiple"),autoHighlight:({computed:e})=>e("autoHighlight"),isFirstItemHighlighted:({prop:e,context:t})=>e("collection").firstValue===t.get("highlightedValue"),isLastItemHighlighted:({prop:e,context:t})=>e("collection").lastValue===t.get("highlightedValue"),isCustomValue:({computed:e})=>e("isCustomValue"),allowCustomValue:({prop:e})=>!!e("allowCustomValue"),hasHighlightedItem:({context:e})=>e.get("highlightedValue")!=null,closeOnSelect:({prop:e})=>!!e("closeOnSelect"),isOpenControlled:({prop:e})=>e("open")!=null,openOnChange:({prop:e,context:t})=>{const n=e("openOnChange");return Il(n)?n:!!n?.({inputValue:t.get("inputValue")})},restoreFocus:({event:e})=>e.restoreFocus==null?!0:!!e.restoreFocus,isChangeEvent:({event:e})=>e.previousEvent?.type==="INPUT.CHANGE",autoFocus:({prop:e})=>!!e("autoFocus"),isHighlightedItemRemoved:({prop:e,context:t})=>!e("collection").has(t.get("highlightedValue"))},effects:{trackDismissableLayer({send:e,prop:t,scope:n}){return t("disableLayer")?void 0:bn(()=>Ye(n),{type:"listbox",defer:!0,exclude:()=>[vt(n),Mt(n),qi(n)],onFocusOutside:t("onFocusOutside"),onPointerDownOutside:t("onPointerDownOutside"),onInteractOutside:t("onInteractOutside"),onEscapeKeyDown(o){o.preventDefault(),o.stopPropagation(),e({type:"LAYER.ESCAPE",src:"escape-key"})},onDismiss(){e({type:"LAYER.INTERACT_OUTSIDE",src:"interact-outside",restoreFocus:!1})}})},hideOtherElements({scope:e}){return wg([vt(e),Ye(e),Mt(e),qi(e)])},trackPlacement({context:e,prop:t,scope:n}){const r=()=>Yi(n)||Mt(n),o=()=>Ui(n);return e.set("currentPlacement",t("positioning").placement),Qe(r,o,{...t("positioning"),defer:!0,onComplete(i){e.set("currentPlacement",i.placement)}})},scrollToHighlightedItem({context:e,prop:t,scope:n,event:r}){const o=vt(n);let i=[];const s=c=>{const u=r.current().type.includes("POINTER"),g=e.get("highlightedValue");if(u||!g)return;const d=Ye(n),f=t("scrollToIndexFn");if(f){const y=t("collection").indexOf(g);f({index:y,immediate:c,getElement:()=>$t(n,g)});return}const m=$t(n,g),h=B(()=>{sn(m,{rootEl:d,block:"nearest"})});i.push(h)},a=B(()=>s(!0));i.push(a);const l=rr(o,{attributes:["aria-activedescendant"],callback:()=>s(!1)});return i.push(l),()=>{i.forEach(c=>c())}}},actions:{reposition({context:e,prop:t,scope:n,event:r}){Qe(()=>Yi(n),()=>Ui(n),{...t("positioning"),...r.options,defer:!0,listeners:!1,onComplete(s){e.set("currentPlacement",s.placement)}})},setHighlightedValue({context:e,event:t}){t.value!=null&&e.set("highlightedValue",t.value)},clearHighlightedValue({context:e}){e.set("highlightedValue",null)},selectHighlightedItem(e){const{context:t,prop:n}=e,r=n("collection"),o=t.get("highlightedValue");if(!o||!r.has(o))return;const i=n("multiple")?nn(t.get("value"),o):[o];n("onSelect")?.({value:i,itemValue:o}),t.set("value",i);const s=$e(n("selectionBehavior"),{preserve:t.get("inputValue"),replace:r.stringifyMany(i),clear:""});t.set("inputValue",s)},scrollToHighlightedItem({context:e,prop:t,scope:n}){Xo(()=>{const r=e.get("highlightedValue");if(r==null)return;const o=$t(n,r),i=Ye(n),s=t("scrollToIndexFn");if(s){const a=t("collection").indexOf(r);s({index:a,immediate:!0,getElement:()=>$t(n,r)});return}sn(o,{rootEl:i,block:"nearest"})})},selectItem(e){const{context:t,event:n,flush:r,prop:o}=e;n.value!=null&&r(()=>{const i=o("multiple")?nn(t.get("value"),n.value):[n.value];o("onSelect")?.({value:i,itemValue:n.value}),t.set("value",i);const s=$e(o("selectionBehavior"),{preserve:t.get("inputValue"),replace:o("collection").stringifyMany(i),clear:""});t.set("inputValue",s)})},clearItem(e){const{context:t,event:n,flush:r,prop:o}=e;n.value!=null&&r(()=>{const i=Un(t.get("value"),n.value);t.set("value",i);const s=$e(o("selectionBehavior"),{preserve:t.get("inputValue"),replace:o("collection").stringifyMany(i),clear:""});t.set("inputValue",s)})},setInitialFocus({scope:e}){B(()=>{Xi(e)})},setFinalFocus({scope:e}){B(()=>{Mt(e)?.dataset.focusable==null?Xi(e):_g(e)})},syncInputValue({context:e,scope:t,event:n}){const r=vt(t);r&&(r.value=e.get("inputValue"),queueMicrotask(()=>{n.current().type!=="INPUT.CHANGE"&&Wl(r)}))},setInputValue({context:e,event:t}){e.set("inputValue",t.value)},clearInputValue({context:e}){e.set("inputValue","")},revertInputValue({context:e,prop:t,computed:n}){const r=t("selectionBehavior"),o=$e(r,{replace:n("hasSelectedItems")?n("valueAsString"):"",preserve:e.get("inputValue"),clear:""});e.set("inputValue",o)},setValue(e){const{context:t,flush:n,event:r,prop:o}=e;n(()=>{t.set("value",r.value);const i=$e(o("selectionBehavior"),{preserve:t.get("inputValue"),replace:o("collection").stringifyMany(r.value),clear:""});t.set("inputValue",i)})},clearSelectedItems(e){const{context:t,flush:n,prop:r}=e;n(()=>{t.set("value",[]);const o=$e(r("selectionBehavior"),{preserve:t.get("inputValue"),replace:r("collection").stringifyMany([]),clear:""});t.set("inputValue",o)})},scrollContentToTop({prop:e,scope:t}){const n=e("scrollToIndexFn");if(n){const r=e("collection").firstValue;n({index:0,immediate:!0,getElement:()=>$t(t,r)})}else{const r=Ye(t);if(!r)return;r.scrollTop=0}},invokeOnOpen({prop:e,event:t}){const n=Ki(t);e("onOpenChange")?.({open:!0,reason:n})},invokeOnClose({prop:e,event:t}){const n=Ki(t);e("onOpenChange")?.({open:!1,reason:n})},highlightFirstItem({context:e,prop:t,scope:n}){(Ye(n)?queueMicrotask:B)(()=>{const o=t("collection").firstValue;o&&e.set("highlightedValue",o)})},highlightFirstItemIfNeeded({computed:e,action:t}){e("autoHighlight")&&t(["highlightFirstItem"])},highlightLastItem({context:e,prop:t,scope:n}){(Ye(n)?queueMicrotask:B)(()=>{const o=t("collection").lastValue;o&&e.set("highlightedValue",o)})},highlightNextItem({context:e,prop:t}){let n=null;const r=e.get("highlightedValue"),o=t("collection");r?(n=o.getNextValue(r),!n&&t("loopFocus")&&(n=o.firstValue)):n=o.firstValue,n&&e.set("highlightedValue",n)},highlightPrevItem({context:e,prop:t}){let n=null;const r=e.get("highlightedValue"),o=t("collection");r?(n=o.getPreviousValue(r),!n&&t("loopFocus")&&(n=o.lastValue)):n=o.lastValue,n&&e.set("highlightedValue",n)},highlightFirstSelectedItem({context:e,prop:t}){B(()=>{const[n]=t("collection").sort(e.get("value"));n&&e.set("highlightedValue",n)})},highlightFirstOrSelectedItem({context:e,prop:t,computed:n}){B(()=>{let r=null;n("hasSelectedItems")?r=t("collection").sort(e.get("value"))[0]:r=t("collection").firstValue,r&&e.set("highlightedValue",r)})},highlightLastOrSelectedItem({context:e,prop:t,computed:n}){B(()=>{const r=t("collection");let o=null;n("hasSelectedItems")?o=r.sort(e.get("value"))[0]:o=r.lastValue,o&&e.set("highlightedValue",o)})},autofillInputValue({context:e,computed:t,prop:n,event:r,scope:o}){const i=vt(o),s=n("collection");if(!t("autoComplete")||!i||!r.keypress)return;const a=s.stringify(e.get("highlightedValue"));B(()=>{i.value=a||e.get("inputValue")})},syncSelectedItems(e){queueMicrotask(()=>{const{context:t,prop:n}=e,r=n("collection"),o=t.get("value"),i=o.map(a=>t.get("selectedItems").find(c=>r.getItemValue(c)===a)||r.find(a));t.set("selectedItems",i);const s=$e(n("selectionBehavior"),{preserve:t.get("inputValue"),replace:r.stringifyMany(o),clear:""});t.set("inputValue",s)})},syncHighlightedItem({context:e,prop:t}){const n=t("collection").find(e.get("highlightedValue"));e.set("highlightedItem",n)},toggleVisibility({event:e,send:t,prop:n}){t({type:n("open")?"CONTROLLED.OPEN":"CONTROLLED.CLOSE",previousEvent:e})}}}});function Ki(e){return(e.previousEvent||e).src}F()(["allowCustomValue","autoFocus","closeOnSelect","collection","composite","defaultHighlightedValue","defaultInputValue","defaultOpen","defaultValue","dir","disabled","disableLayer","form","getRootNode","highlightedValue","id","ids","inputBehavior","inputValue","invalid","loopFocus","multiple","name","navigate","onFocusOutside","onHighlightChange","onInputValueChange","onInteractOutside","onOpenChange","onOpenChange","onPointerDownOutside","onSelect","onValueChange","open","openOnChange","openOnClick","openOnKeyPress","placeholder","positioning","readOnly","required","scrollToIndexFn","selectionBehavior","translations","value","alwaysSubmitOnEnter"]),F()(["htmlFor"]),F()(["id"]),F()(["item","persistFocus"]);const Mg=ji.extendWith("empty");var kr=$("dialog").parts("trigger","backdrop","positioner","content","title","description","closeTrigger");kr.build(),F()(["aria-label","closeOnEscape","closeOnInteractOutside","dir","finalFocusEl","getRootNode","getRootNode","id","id","ids","initialFocusEl","modal","onEscapeKeyDown","onFocusOutside","onInteractOutside","onOpenChange","onPointerDownOutside","onRequestDismiss","defaultOpen","open","persistentElements","preventScroll","restoreFocus","role","trapFocus"]);var Ji=$("editable").parts("root","area","label","preview","input","editTrigger","submitTrigger","cancelTrigger","control");Ji.build(),F()(["activationMode","autoResize","dir","disabled","finalFocusEl","form","getRootNode","id","ids","invalid","maxLength","name","onEditChange","onFocusOutside","onInteractOutside","onPointerDownOutside","onValueChange","onValueCommit","onValueRevert","placeholder","readOnly","required","selectOnFocus","edit","defaultEdit","submitMode","translations","defaultValue","value"]);const Qi=$("field").parts("root","errorText","helperText","input","label","select","textarea","requiredIndicator");Qi.build();const Zi=$("fieldset").parts("root","errorText","helperText","legend");Zi.build();var es=$("file-upload").parts("root","dropzone","item","itemDeleteTrigger","itemGroup","itemName","itemPreview","itemPreviewImage","itemSizeText","label","trigger","clearTrigger");es.build(),F()(["accept","acceptedFiles","allowDrop","capture","defaultAcceptedFiles","dir","directory","disabled","getRootNode","id","ids","invalid","locale","maxFiles","maxFileSize","minFileSize","name","onFileAccept","onFileChange","onFileReject","preventDocumentDrop","required","transformFiles","translations","validate"]),F()(["file","type"]);var ts=$("listbox").parts("label","input","item","itemText","itemIndicator","itemGroup","itemGroupLabel","content","root","valueText");ts.build(),F()(["collection","defaultHighlightedValue","defaultValue","dir","disabled","deselectable","disallowSelectAll","getRootNode","highlightedValue","id","ids","loopFocus","onHighlightChange","onSelect","onValueChange","orientation","scrollToIndexFn","selectionMode","selectOnHighlight","typeahead","value"]),F()(["item","highlightOnHover"]),F()(["id"]),F()(["htmlFor"]),ts.extendWith("empty");var ns=$("menu").parts("arrow","arrowTip","content","contextTrigger","indicator","item","itemGroup","itemGroupLabel","itemIndicator","itemText","positioner","separator","trigger","triggerItem");ns.build();var rs=e=>e.ids?.trigger??`menu:${e.id}:trigger`,$g=e=>e.ids?.contextTrigger??`menu:${e.id}:ctx-trigger`,os=e=>e.ids?.content??`menu:${e.id}:content`,Dg=e=>e.ids?.positioner??`menu:${e.id}:popper`,Tr=(e,t)=>`${e.id}/${t}`,Ze=e=>e?.dataset.value??null,qe=e=>e.getById(os(e)),is=e=>e.getById(Dg(e)),wn=e=>e.getById(rs(e)),Hg=(e,t)=>t?e.getById(Tr(e,t)):null,Rr=e=>e.getById($g(e)),Dt=e=>{const n=`[role^="menuitem"][data-ownedby=${CSS.escape(os(e))}]:not([data-disabled])`;return ln(qe(e),n)},Wg=e=>So(Dt(e)),Bg=e=>Io(Dt(e)),Pr=(e,t)=>t?e.id===t||e.dataset.value===t:!1,zg=(e,t)=>{const n=Dt(e),r=n.findIndex(o=>Pr(o,t.value));return yl(n,r,{loop:t.loop??t.loopFocus})},jg=(e,t)=>{const n=Dt(e),r=n.findIndex(o=>Pr(o,t.value));return Ol(n,r,{loop:t.loop??t.loopFocus})},Gg=(e,t)=>{const n=Dt(e),r=n.find(o=>Pr(o,t.value));return lr(n,{state:t.typeaheadState,key:t.key,activeId:r?.id??null})},Ug=e=>!!e?.getAttribute("role")?.startsWith("menuitem")&&!!e?.hasAttribute("aria-controls"),Yg="menu:select";function qg(e,t){if(!e)return;const n=Se(e),r=new n.CustomEvent(Yg,{detail:{value:t}});e.dispatchEvent(r)}var{not:Ce,and:bt,or:Xg}=Vt();Ce("isSubmenu"),Xg("isOpenAutoFocusEvent","isArrowDownEvent"),bt(Ce("isTriggerItem"),"isOpenControlled"),Ce("isTriggerItem"),bt("isSubmenu","isOpenControlled"),Ce("isPointerSuspended"),bt(Ce("isPointerSuspended"),Ce("isTriggerItem")),bt(Ce("isTriggerItemHighlighted"),Ce("isHighlightedItemEditable"),"closeOnSelect","isOpenControlled"),bt(Ce("isTriggerItemHighlighted"),Ce("isHighlightedItemEditable"),"closeOnSelect"),bt(Ce("isTriggerItemHighlighted"),Ce("isHighlightedItemEditable"));function ss(e){let t=e.parent;for(;t&&t.context.get("isSubmenu");)t=t.refs.get("parent");t?.send({type:"CLOSE"})}function Kg(e,t){return e?hg(e,t):!1}function Jg(e,t,n){const r=Object.keys(e).length>0;if(!t)return null;if(!r)return Tr(n,t);for(const o in e){const i=e[o],s=rs(i.scope);if(s===t)return s}return Tr(n,t)}F()(["anchorPoint","aria-label","closeOnSelect","composite","defaultHighlightedValue","defaultOpen","dir","getRootNode","highlightedValue","id","ids","loopFocus","navigate","onEscapeKeyDown","onFocusOutside","onHighlightChange","onInteractOutside","onOpenChange","onPointerDownOutside","onRequestDismiss","onSelect","open","positioning","typeahead"]),F()(["closeOnSelect","disabled","value","valueText"]),F()(["htmlFor"]),F()(["id"]),F()(["checked","closeOnSelect","disabled","onCheckedChange","type","value","valueText"]);var as=$("popover").parts("arrow","arrowTip","anchor","trigger","indicator","positioner","content","title","description","closeTrigger");as.build(),F()(["autoFocus","closeOnEscape","closeOnInteractOutside","dir","getRootNode","id","ids","initialFocusEl","modal","onEscapeKeyDown","onFocusOutside","onInteractOutside","onOpenChange","onPointerDownOutside","onRequestDismiss","defaultOpen","open","persistentElements","portalled","positioning"]);var ls=$("radio-group").parts("root","label","item","itemText","itemControl","indicator");ls.build(),F()(["dir","disabled","form","getRootNode","id","ids","name","onValueChange","orientation","readOnly","value","defaultValue"]),F()(["value","disabled","invalid"]);var cs=$("rating-group").parts("root","label","item","control");cs.build(),F()(["allowHalf","autoFocus","count","dir","disabled","form","getRootNode","id","ids","name","onHoverChange","onValueChange","required","readOnly","translations","value","defaultValue"]),F()(["index"]);var us=$("select").parts("label","positioner","trigger","indicator","clearTrigger","item","itemText","itemIndicator","itemGroup","itemGroupLabel","list","content","root","control","valueText");us.build();var ds=e=>new Cn(e);ds.empty=()=>new Cn({items:[]});var Qg=e=>e.ids?.content??`select:${e.id}:content`,Zg=e=>e.ids?.trigger??`select:${e.id}:trigger`,ef=e=>e.ids?.clearTrigger??`select:${e.id}:clear-trigger`,tf=(e,t)=>e.ids?.item?.(t)??`select:${e.id}:option:${t}`,nf=e=>e.ids?.hiddenSelect??`select:${e.id}:select`,rf=e=>e.ids?.positioner??`select:${e.id}:positioner`,Vr=e=>e.getById(nf(e)),Ht=e=>e.getById(Qg(e)),kn=e=>e.getById(Zg(e)),of=e=>e.getById(ef(e)),gs=e=>e.getById(rf(e)),Ar=(e,t)=>t==null?null:e.getById(tf(e,t)),{and:Wt,not:et,or:sf}=Vt();sf("isTriggerArrowDownEvent","isTriggerEnterEvent"),Wt(et("multiple"),"hasSelectedItems"),et("multiple"),Wt(et("multiple"),"hasSelectedItems"),et("multiple"),et("multiple"),et("multiple"),et("multiple"),Wt("closeOnSelect","isOpenControlled"),Wt("hasHighlightedItem","loop","isLastItemHighlighted"),Wt("hasHighlightedItem","loop","isFirstItemHighlighted");function fs(e){const t=e.restoreFocus??e.previousEvent?.restoreFocus;return t==null||!!t}F()(["closeOnSelect","collection","composite","defaultHighlightedValue","defaultOpen","defaultValue","deselectable","dir","disabled","form","getRootNode","highlightedValue","id","ids","invalid","loopFocus","multiple","name","onFocusOutside","onHighlightChange","onInteractOutside","onOpenChange","onPointerDownOutside","onSelect","onValueChange","open","positioning","readOnly","required","scrollToIndexFn","value"]),F()(["item","persistFocus"]),F()(["id"]),F()(["htmlFor"]);var hs=$("slider").parts("root","label","thumb","valueText","track","range","control","markerGroup","marker","draggingIndicator");hs.build(),F()(["aria-label","aria-labelledby","dir","disabled","form","getAriaValueText","getRootNode","id","ids","invalid","max","min","minStepsBetweenThumbs","name","onFocusChange","onValueChange","onValueChangeEnd","orientation","origin","readOnly","step","thumbAlignment","thumbAlignment","thumbSize","value","defaultValue"]),F()(["index","name"]);var ms=$("switch").parts("root","label","control","thumb");ms.build(),F()(["checked","defaultChecked","dir","disabled","form","getRootNode","id","ids","invalid","label","name","onCheckedChange","readOnly","required","value"]);function ps(e,t=[]){const n=Object.assign({},e);for(const r of t)r in n&&delete n[r];return n}const af=(e,t)=>{if(!e||typeof e!="string")return{invalid:!0,value:e};const[n,r]=e.split("/");if(!n||!r||n==="currentBg")return{invalid:!0,value:n};const o=t(`colors.${n}`),i=t.raw(`opacity.${r}`)?.value;if(!i&&isNaN(Number(r)))return{invalid:!0,value:n};const s=i?Number(i)*100+"%":`${r}%`,a=o??n;return{invalid:!1,color:a,value:`color-mix(in srgb, ${a} ${s}, transparent)`}},Y=e=>(t,n)=>{const r=n.utils.colorMix(t);if(r.invalid)return{[e]:t};const o="--mix-"+e;return{[o]:r.value,[e]:`var(${o}, ${r.color})`}};function _r(e){if(e===null||typeof e!="object")return e;if(Array.isArray(e))return e.map(n=>_r(n));const t=Object.create(Object.getPrototypeOf(e));for(const n of Object.keys(e))t[n]=_r(e[n]);return t}function Nr(e,t){if(t==null)return e;for(const n of Object.keys(t))if(!(t[n]===void 0||n==="__proto__"))if(!fe(e[n])&&fe(t[n]))Object.assign(e,{[n]:t[n]});else if(e[n]&&fe(t[n]))Nr(e[n],t[n]);else if(Array.isArray(t[n])&&Array.isArray(e[n])){let r=0;for(;r<t[n].length;r++)fe(e[n][r])&&fe(t[n][r])?Nr(e[n][r],t[n][r]):e[n][r]=t[n][r]}else Object.assign(e,{[n]:t[n]});return e}function yt(e,...t){for(const n of t)Nr(e,n);return e}const Fr=e=>e!=null;function Le(e,t,n={}){const{stop:r,getKey:o}=n;function i(s,a=[]){if(fe(s)||Array.isArray(s)){const l={};for(const[c,u]of Object.entries(s)){const g=o?.(c,u)??c,d=[...a,g];if(r?.(s,d))return t(s,a);const f=i(u,d);Fr(f)&&(l[g]=f)}return l}return t(s,a)}return i(e)}function lf(e,t){return Array.isArray(e)?e.map(n=>Fr(n)?t(n):n):fe(e)?Le(e,n=>t(n)):Fr(e)?t(e):e}const Tn=["value","type","description"],cf=e=>e&&typeof e=="object"&&!Array.isArray(e),uf=(...e)=>{const t=yt({},...e.map(_r));return t.theme?.tokens&&Le(t.theme.tokens,n=>{const i=Object.keys(n).filter(a=>!Tn.includes(a)).length>0,s=Tn.some(a=>n[a]!=null);return i&&s&&(n.DEFAULT||(n.DEFAULT={}),Tn.forEach(a=>{var l;n[a]!=null&&((l=n.DEFAULT)[a]||(l[a]=n[a]),delete n[a])})),n},{stop(n){return cf(n)&&Object.keys(n).some(r=>Tn.includes(r)||r!==r.toLowerCase()&&r!==r.toUpperCase())}}),t},df=e=>e,vs=e=>e,gf=e=>e,ff=e=>e,hf=e=>e;function bs(){const e=t=>t;return new Proxy(e,{get(){return e}})}const Xe=bs(),ys=bs(),Es=e=>e,mf=/[^a-zA-Z0-9_\u0081-\uffff-]/g;function pf(e){return`${e}`.replace(mf,t=>`\\${t}`)}const vf=/[A-Z]/g;function bf(e){return e.replace(vf,t=>`-${t.toLowerCase()}`)}function Os(e,t={}){const{fallback:n="",prefix:r=""}=t,o=bf(["-",r,pf(e)].filter(Boolean).join("-"));return{var:o,ref:`var(${o}${n?`, ${n}`:""})`}}const yf=e=>/^var\(--.+\)$/.test(e),oe=(e,t)=>t!=null?`${e}(${t})`:t,tt=e=>{if(yf(e)||e==null)return e;const t=typeof e=="string"&&!e.endsWith("deg");return typeof e=="number"||t?`${e}deg`:e},Cs=e=>({values:["outside","inside","mixed","none"],transform(t,{token:n}){const r=n("colors.colorPalette.focusRing");return{inside:{"--focus-ring-color":r,[e]:{outlineOffset:"0px",outlineWidth:"var(--focus-ring-width, 1px)",outlineColor:"var(--focus-ring-color)",outlineStyle:"var(--focus-ring-style, solid)",borderColor:"var(--focus-ring-color)"}},outside:{"--focus-ring-color":r,[e]:{outlineWidth:"var(--focus-ring-width, 2px)",outlineOffset:"var(--focus-ring-offset, 2px)",outlineStyle:"var(--focus-ring-style, solid)",outlineColor:"var(--focus-ring-color)"}},mixed:{"--focus-ring-color":r,[e]:{outlineWidth:"var(--focus-ring-width, 3px)",outlineStyle:"var(--focus-ring-style, solid)",outlineColor:"color-mix(in srgb, var(--focus-ring-color), transparent 60%)",borderColor:"var(--focus-ring-color)"}},none:{"--focus-ring-color":r,[e]:{outline:"none"}}}[t]??{}}}),Ef=Y("borderColor"),Be=e=>({transition:e,transitionTimingFunction:"cubic-bezier(0.4, 0, 0.2, 1)",transitionDuration:"150ms"}),Of=df({hover:["@media (hover: hover)","&:is(:hover, [data-hover]):not(:disabled, [data-disabled])"],active:"&:is(:active, [data-active]):not(:disabled, [data-disabled], [data-state=open])",focus:"&:is(:focus, [data-focus])",focusWithin:"&:is(:focus-within, [data-focus-within])",focusVisible:"&:is(:focus-visible, [data-focus-visible])",disabled:"&:is(:disabled, [disabled], [data-disabled], [aria-disabled=true])",visited:"&:visited",target:"&:target",readOnly:"&:is([data-readonly], [aria-readonly=true], [readonly])",readWrite:"&:read-write",empty:"&:is(:empty, [data-empty])",checked:"&:is(:checked, [data-checked], [aria-checked=true], [data-state=checked])",enabled:"&:enabled",expanded:"&:is([aria-expanded=true], [data-expanded], [data-state=expanded])",highlighted:"&[data-highlighted]",complete:"&[data-complete]",incomplete:"&[data-incomplete]",dragging:"&[data-dragging]",before:"&::before",after:"&::after",firstLetter:"&::first-letter",firstLine:"&::first-line",marker:"&::marker",selection:"&::selection",file:"&::file-selector-button",backdrop:"&::backdrop",first:"&:first-of-type",last:"&:last-of-type",notFirst:"&:not(:first-of-type)",notLast:"&:not(:last-of-type)",only:"&:only-child",even:"&:nth-of-type(even)",odd:"&:nth-of-type(odd)",peerFocus:".peer:is(:focus, [data-focus]) ~ &",peerHover:".peer:is(:hover, [data-hover]):not(:disabled, [data-disabled]) ~ &",peerActive:".peer:is(:active, [data-active]):not(:disabled, [data-disabled]) ~ &",peerFocusWithin:".peer:focus-within ~ &",peerFocusVisible:".peer:is(:focus-visible, [data-focus-visible]) ~ &",peerDisabled:".peer:is(:disabled, [disabled], [data-disabled]) ~ &",peerChecked:".peer:is(:checked, [data-checked], [aria-checked=true], [data-state=checked]) ~ &",peerInvalid:".peer:is(:invalid, [data-invalid], [aria-invalid=true]) ~ &",peerExpanded:".peer:is([aria-expanded=true], [data-expanded], [data-state=expanded]) ~ &",peerPlaceholderShown:".peer:placeholder-shown ~ &",groupFocus:".group:is(:focus, [data-focus]) &",groupHover:".group:is(:hover, [data-hover]):not(:disabled, [data-disabled]) &",groupActive:".group:is(:active, [data-active]):not(:disabled, [data-disabled]) &",groupFocusWithin:".group:focus-within &",groupFocusVisible:".group:is(:focus-visible, [data-focus-visible]) &",groupDisabled:".group:is(:disabled, [disabled], [data-disabled]) &",groupChecked:".group:is(:checked, [data-checked], [aria-checked=true], [data-state=checked]) &",groupExpanded:".group:is([aria-expanded=true], [data-expanded], [data-state=expanded]) &",groupInvalid:".group:invalid &",indeterminate:"&:is(:indeterminate, [data-indeterminate], [aria-checked=mixed], [data-state=indeterminate])",required:"&:is([data-required], [aria-required=true])",valid:"&:is([data-valid], [data-state=valid])",invalid:"&:is([data-invalid], [aria-invalid=true], [data-state=invalid])",autofill:"&:autofill",inRange:"&:is(:in-range, [data-in-range])",outOfRange:"&:is(:out-of-range, [data-outside-range])",placeholder:"&::placeholder, &[data-placeholder]",placeholderShown:"&:is(:placeholder-shown, [data-placeholder-shown])",pressed:"&:is([aria-pressed=true], [data-pressed])",selected:"&:is([aria-selected=true], [data-selected])",grabbed:"&:is([aria-grabbed=true], [data-grabbed])",underValue:"&[data-state=under-value]",overValue:"&[data-state=over-value]",atValue:"&[data-state=at-value]",default:"&:default",optional:"&:optional",open:"&:is([open], [data-open], [data-state=open])",closed:"&:is([closed], [data-closed], [data-state=closed])",fullscreen:"&:is(:fullscreen, [data-fullscreen])",loading:"&:is([data-loading], [aria-busy=true])",hidden:"&:is([hidden], [data-hidden])",current:"&[data-current]",currentPage:"&[aria-current=page]",currentStep:"&[aria-current=step]",today:"&[data-today]",unavailable:"&[data-unavailable]",rangeStart:"&[data-range-start]",rangeEnd:"&[data-range-end]",now:"&[data-now]",topmost:"&[data-topmost]",motionReduce:"@media (prefers-reduced-motion: reduce)",motionSafe:"@media (prefers-reduced-motion: no-preference)",print:"@media print",landscape:"@media (orientation: landscape)",portrait:"@media (orientation: portrait)",dark:".dark &, .dark .chakra-theme:not(.light) &",light:":root &, .light &",osDark:"@media (prefers-color-scheme: dark)",osLight:"@media (prefers-color-scheme: light)",highContrast:"@media (forced-colors: active)",lessContrast:"@media (prefers-contrast: less)",moreContrast:"@media (prefers-contrast: more)",ltr:"[dir=ltr] &",rtl:"[dir=rtl] &",scrollbar:"&::-webkit-scrollbar",scrollbarThumb:"&::-webkit-scrollbar-thumb",scrollbarTrack:"&::-webkit-scrollbar-track",horizontal:"&[data-orientation=horizontal]",vertical:"&[data-orientation=vertical]",icon:"& :where(svg)",starting:"@starting-style"}),Et=Os("bg-currentcolor"),Ss=e=>e===Et.ref||e==="currentBg",q=e=>({...e("colors"),currentBg:Et}),Cf=Es({conditions:Of,utilities:{background:{values:q,shorthand:["bg"],transform(e,t){if(Ss(t.raw))return{background:Et.ref};const n=Y("background")(e,t);return{...n,[Et.var]:n?.background}}},backgroundColor:{values:q,shorthand:["bgColor"],transform(e,t){if(Ss(t.raw))return{backgroundColor:Et.ref};const n=Y("backgroundColor")(e,t);return{...n,[Et.var]:n?.backgroundColor}}},backgroundSize:{shorthand:["bgSize"]},backgroundPosition:{shorthand:["bgPos"]},backgroundRepeat:{shorthand:["bgRepeat"]},backgroundAttachment:{shorthand:["bgAttachment"]},backgroundClip:{shorthand:["bgClip"],values:["text"],transform(e){return e==="text"?{color:"transparent",backgroundClip:"text"}:{backgroundClip:e}}},backgroundGradient:{shorthand:["bgGradient"],values(e){return{...e("gradients"),"to-t":"linear-gradient(to top, var(--gradient))","to-tr":"linear-gradient(to top right, var(--gradient))","to-r":"linear-gradient(to right, var(--gradient))","to-br":"linear-gradient(to bottom right, var(--gradient))","to-b":"linear-gradient(to bottom, var(--gradient))","to-bl":"linear-gradient(to bottom left, var(--gradient))","to-l":"linear-gradient(to left, var(--gradient))","to-tl":"linear-gradient(to top left, var(--gradient))"}},transform(e){return{"--gradient-stops":"var(--gradient-from), var(--gradient-to)","--gradient":"var(--gradient-via-stops, var(--gradient-stops))",backgroundImage:e}}},gradientFrom:{values:q,transform:Y("--gradient-from")},gradientTo:{values:q,transform:Y("--gradient-to")},gradientVia:{values:q,transform(e,t){return{...Y("--gradient-via")(e,t),"--gradient-via-stops":"var(--gradient-from), var(--gradient-via), var(--gradient-to)"}}},backgroundImage:{values(e){return{...e("gradients"),...e("assets")}},shorthand:["bgImg","bgImage"]},border:{values:"borders"},borderTop:{values:"borders"},borderLeft:{values:"borders"},borderBlockStart:{values:"borders"},borderRight:{values:"borders"},borderBottom:{values:"borders"},borderBlockEnd:{values:"borders"},borderInlineStart:{values:"borders",shorthand:["borderStart"]},borderInlineEnd:{values:"borders",shorthand:["borderEnd"]},borderInline:{values:"borders",shorthand:["borderX"]},borderBlock:{values:"borders",shorthand:["borderY"]},borderColor:{values:q,transform:Y("borderColor")},borderTopColor:{values:q,transform:Y("borderTopColor")},borderBlockStartColor:{values:q,transform:Y("borderBlockStartColor")},borderBottomColor:{values:q,transform:Y("borderBottomColor")},borderBlockEndColor:{values:q,transform:Y("borderBlockEndColor")},borderLeftColor:{values:q,transform:Y("borderLeftColor")},borderInlineStartColor:{values:q,shorthand:["borderStartColor"],transform:Y("borderInlineStartColor")},borderRightColor:{values:q,transform:Y("borderRightColor")},borderInlineEndColor:{values:q,shorthand:["borderEndColor"],transform:Y("borderInlineEndColor")},borderStyle:{values:"borderStyles"},borderTopStyle:{values:"borderStyles"},borderBlockStartStyle:{values:"borderStyles"},borderBottomStyle:{values:"borderStyles"},borderBlockEndStyle:{values:"borderStyles"},borderInlineStartStyle:{values:"borderStyles",shorthand:["borderStartStyle"]},borderInlineEndStyle:{values:"borderStyles",shorthand:["borderEndStyle"]},borderLeftStyle:{values:"borderStyles"},borderRightStyle:{values:"borderStyles"},borderRadius:{values:"radii",shorthand:["rounded"]},borderTopLeftRadius:{values:"radii",shorthand:["roundedTopLeft"]},borderStartStartRadius:{values:"radii",shorthand:["roundedStartStart","borderTopStartRadius"]},borderEndStartRadius:{values:"radii",shorthand:["roundedEndStart","borderBottomStartRadius"]},borderTopRightRadius:{values:"radii",shorthand:["roundedTopRight"]},borderStartEndRadius:{values:"radii",shorthand:["roundedStartEnd","borderTopEndRadius"]},borderEndEndRadius:{values:"radii",shorthand:["roundedEndEnd","borderBottomEndRadius"]},borderBottomLeftRadius:{values:"radii",shorthand:["roundedBottomLeft"]},borderBottomRightRadius:{values:"radii",shorthand:["roundedBottomRight"]},borderInlineStartRadius:{values:"radii",property:"borderRadius",shorthand:["roundedStart","borderStartRadius"],transform:e=>({borderStartStartRadius:e,borderEndStartRadius:e})},borderInlineEndRadius:{values:"radii",property:"borderRadius",shorthand:["roundedEnd","borderEndRadius"],transform:e=>({borderStartEndRadius:e,borderEndEndRadius:e})},borderTopRadius:{values:"radii",property:"borderRadius",shorthand:["roundedTop"],transform:e=>({borderTopLeftRadius:e,borderTopRightRadius:e})},borderBottomRadius:{values:"radii",property:"borderRadius",shorthand:["roundedBottom"],transform:e=>({borderBottomLeftRadius:e,borderBottomRightRadius:e})},borderLeftRadius:{values:"radii",property:"borderRadius",shorthand:["roundedLeft"],transform:e=>({borderTopLeftRadius:e,borderBottomLeftRadius:e})},borderRightRadius:{values:"radii",property:"borderRadius",shorthand:["roundedRight"],transform:e=>({borderTopRightRadius:e,borderBottomRightRadius:e})},borderWidth:{values:"borderWidths"},borderBlockStartWidth:{values:"borderWidths"},borderTopWidth:{values:"borderWidths"},borderBottomWidth:{values:"borderWidths"},borderBlockEndWidth:{values:"borderWidths"},borderRightWidth:{values:"borderWidths"},borderInlineWidth:{values:"borderWidths",shorthand:["borderXWidth"]},borderInlineStartWidth:{values:"borderWidths",shorthand:["borderStartWidth"]},borderInlineEndWidth:{values:"borderWidths",shorthand:["borderEndWidth"]},borderLeftWidth:{values:"borderWidths"},borderBlockWidth:{values:"borderWidths",shorthand:["borderYWidth"]},color:{values:q,transform:Y("color")},fill:{values:q,transform:Y("fill")},stroke:{values:q,transform:Y("stroke")},accentColor:{values:q,transform:Y("accentColor")},divideX:{values:{type:"string"},transform(e){return{"& > :not(style, [hidden]) ~ :not(style, [hidden])":{borderInlineStartWidth:e,borderInlineEndWidth:"0px"}}}},divideY:{values:{type:"string"},transform(e){return{"& > :not(style, [hidden]) ~ :not(style, [hidden])":{borderTopWidth:e,borderBottomWidth:"0px"}}}},divideColor:{values:q,transform(e,t){return{"& > :not(style, [hidden]) ~ :not(style, [hidden])":Ef(e,t)}}},divideStyle:{property:"borderStyle",transform(e){return{"& > :not(style, [hidden]) ~ :not(style, [hidden])":{borderStyle:e}}}},boxShadow:{values:"shadows",shorthand:["shadow"]},boxShadowColor:{values:q,transform:Y("--shadow-color"),shorthand:["shadowColor"]},mixBlendMode:{shorthand:["blendMode"]},backgroundBlendMode:{shorthand:["bgBlendMode"]},opacity:{values:"opacity"},filter:{transform(e){return e!=="auto"?{filter:e}:{filter:"var(--blur) var(--brightness) var(--contrast) var(--grayscale) var(--hue-rotate) var(--invert) var(--saturate) var(--sepia) var(--drop-shadow)"}}},blur:{values:"blurs",transform:e=>({"--blur":oe("blur",e)})},brightness:{transform:e=>({"--brightness":oe("brightness",e)})},contrast:{transform:e=>({"--contrast":oe("contrast",e)})},grayscale:{transform:e=>({"--grayscale":oe("grayscale",e)})},hueRotate:{transform:e=>({"--hue-rotate":oe("hue-rotate",tt(e))})},invert:{transform:e=>({"--invert":oe("invert",e)})},saturate:{transform:e=>({"--saturate":oe("saturate",e)})},sepia:{transform:e=>({"--sepia":oe("sepia",e)})},dropShadow:{transform:e=>({"--drop-shadow":oe("drop-shadow",e)})},backdropFilter:{transform(e){return e!=="auto"?{backdropFilter:e}:{backdropFilter:"var(--backdrop-blur) var(--backdrop-brightness) var(--backdrop-contrast) var(--backdrop-grayscale) var(--backdrop-hue-rotate) var(--backdrop-invert) var(--backdrop-opacity) var(--backdrop-saturate) var(--backdrop-sepia)"}}},backdropBlur:{values:"blurs",transform:e=>({"--backdrop-blur":oe("blur",e)})},backdropBrightness:{transform:e=>({"--backdrop-brightness":oe("brightness",e)})},backdropContrast:{transform:e=>({"--backdrop-contrast":oe("contrast",e)})},backdropGrayscale:{transform:e=>({"--backdrop-grayscale":oe("grayscale",e)})},backdropHueRotate:{transform:e=>({"--backdrop-hue-rotate":oe("hue-rotate",tt(e))})},backdropInvert:{transform:e=>({"--backdrop-invert":oe("invert",e)})},backdropOpacity:{transform:e=>({"--backdrop-opacity":oe("opacity",e)})},backdropSaturate:{transform:e=>({"--backdrop-saturate":oe("saturate",e)})},backdropSepia:{transform:e=>({"--backdrop-sepia":oe("sepia",e)})},flexBasis:{values:"sizes"},gap:{values:"spacing"},rowGap:{values:"spacing",shorthand:["gapY"]},columnGap:{values:"spacing",shorthand:["gapX"]},flexDirection:{shorthand:["flexDir"]},gridGap:{values:"spacing"},gridColumnGap:{values:"spacing"},gridRowGap:{values:"spacing"},outlineColor:{values:q,transform:Y("outlineColor")},focusRing:Cs("&:is(:focus, [data-focus])"),focusVisibleRing:Cs("&:is(:focus-visible, [data-focus-visible])"),focusRingColor:{values:q,transform:Y("--focus-ring-color")},focusRingOffset:{values:"spacing",transform:e=>({"--focus-ring-offset":e})},focusRingWidth:{values:"borderWidths",property:"outlineWidth",transform:e=>({"--focus-ring-width":e})},focusRingStyle:{values:"borderStyles",property:"outlineStyle",transform:e=>({"--focus-ring-style":e})},aspectRatio:{values:"aspectRatios"},width:{values:"sizes",shorthand:["w"]},inlineSize:{values:"sizes"},height:{values:"sizes",shorthand:["h"]},blockSize:{values:"sizes"},boxSize:{values:"sizes",property:"width",transform:e=>({width:e,height:e})},minWidth:{values:"sizes",shorthand:["minW"]},minInlineSize:{values:"sizes"},minHeight:{values:"sizes",shorthand:["minH"]},minBlockSize:{values:"sizes"},maxWidth:{values:"sizes",shorthand:["maxW"]},maxInlineSize:{values:"sizes"},maxHeight:{values:"sizes",shorthand:["maxH"]},maxBlockSize:{values:"sizes"},hideFrom:{values:"breakpoints",transform:(e,{raw:t,token:n})=>({[n.raw(`breakpoints.${t}`)?`@breakpoint ${t}`:`@media screen and (min-width: ${e})`]:{display:"none"}})},hideBelow:{values:"breakpoints",transform(e,{raw:t,token:n}){return{[n.raw(`breakpoints.${t}`)?`@breakpoint ${t}Down`:`@media screen and (max-width: ${e})`]:{display:"none"}}}},overscrollBehavior:{shorthand:["overscroll"]},overscrollBehaviorX:{shorthand:["overscrollX"]},overscrollBehaviorY:{shorthand:["overscrollY"]},scrollbar:{values:["visible","hidden"],transform(e){switch(e){case"visible":return{msOverflowStyle:"auto",scrollbarWidth:"auto","&::-webkit-scrollbar":{display:"block"}};case"hidden":return{msOverflowStyle:"none",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}};default:return{}}}},scrollbarColor:{values:q,transform:Y("scrollbarColor")},scrollbarGutter:{values:"spacing"},scrollbarWidth:{values:"sizes"},scrollMargin:{values:"spacing"},scrollMarginTop:{values:"spacing"},scrollMarginBottom:{values:"spacing"},scrollMarginLeft:{values:"spacing"},scrollMarginRight:{values:"spacing"},scrollMarginX:{values:"spacing",transform:e=>({scrollMarginLeft:e,scrollMarginRight:e})},scrollMarginY:{values:"spacing",transform:e=>({scrollMarginTop:e,scrollMarginBottom:e})},scrollPadding:{values:"spacing"},scrollPaddingTop:{values:"spacing"},scrollPaddingBottom:{values:"spacing"},scrollPaddingLeft:{values:"spacing"},scrollPaddingRight:{values:"spacing"},scrollPaddingInline:{values:"spacing",shorthand:["scrollPaddingX"]},scrollPaddingBlock:{values:"spacing",shorthand:["scrollPaddingY"]},scrollSnapType:{values:{none:"none",x:"x var(--scroll-snap-strictness)",y:"y var(--scroll-snap-strictness)",both:"both var(--scroll-snap-strictness)"}},scrollSnapStrictness:{values:["mandatory","proximity"],transform:e=>({"--scroll-snap-strictness":e})},scrollSnapMargin:{values:"spacing"},scrollSnapMarginTop:{values:"spacing"},scrollSnapMarginBottom:{values:"spacing"},scrollSnapMarginLeft:{values:"spacing"},scrollSnapMarginRight:{values:"spacing"},listStylePosition:{shorthand:["listStylePos"]},listStyleImage:{values:"assets",shorthand:["listStyleImg"]},position:{shorthand:["pos"]},zIndex:{values:"zIndex"},inset:{values:"spacing"},insetInline:{values:"spacing",shorthand:["insetX"]},insetBlock:{values:"spacing",shorthand:["insetY"]},top:{values:"spacing"},insetBlockStart:{values:"spacing"},bottom:{values:"spacing"},insetBlockEnd:{values:"spacing"},left:{values:"spacing"},right:{values:"spacing"},insetInlineStart:{values:"spacing",shorthand:["insetStart"]},insetInlineEnd:{values:"spacing",shorthand:["insetEnd"]},ring:{transform(e){return{"--ring-offset-shadow":"var(--ring-inset) 0 0 0 var(--ring-offset-width) var(--ring-offset-color)","--ring-shadow":"var(--ring-inset) 0 0 0 calc(var(--ring-width) + var(--ring-offset-width)) var(--ring-color)","--ring-width":e,boxShadow:"var(--ring-offset-shadow), var(--ring-shadow), var(--shadow, 0 0 #0000)"}}},ringColor:{values:q,transform:Y("--ring-color")},ringOffset:{transform:e=>({"--ring-offset-width":e})},ringOffsetColor:{values:q,transform:Y("--ring-offset-color")},ringInset:{transform:e=>({"--ring-inset":e})},margin:{values:"spacing",shorthand:["m"]},marginTop:{values:"spacing",shorthand:["mt"]},marginBlockStart:{values:"spacing"},marginRight:{values:"spacing",shorthand:["mr"]},marginBottom:{values:"spacing",shorthand:["mb"]},marginBlockEnd:{values:"spacing"},marginLeft:{values:"spacing",shorthand:["ml"]},marginInlineStart:{values:"spacing",shorthand:["ms","marginStart"]},marginInlineEnd:{values:"spacing",shorthand:["me","marginEnd"]},marginInline:{values:"spacing",shorthand:["mx","marginX"]},marginBlock:{values:"spacing",shorthand:["my","marginY"]},padding:{values:"spacing",shorthand:["p"]},paddingTop:{values:"spacing",shorthand:["pt"]},paddingRight:{values:"spacing",shorthand:["pr"]},paddingBottom:{values:"spacing",shorthand:["pb"]},paddingBlockStart:{values:"spacing"},paddingBlockEnd:{values:"spacing"},paddingLeft:{values:"spacing",shorthand:["pl"]},paddingInlineStart:{values:"spacing",shorthand:["ps","paddingStart"]},paddingInlineEnd:{values:"spacing",shorthand:["pe","paddingEnd"]},paddingInline:{values:"spacing",shorthand:["px","paddingX"]},paddingBlock:{values:"spacing",shorthand:["py","paddingY"]},textDecoration:{shorthand:["textDecor"]},textDecorationColor:{values:q,transform:Y("textDecorationColor")},textShadow:{values:"shadows"},transform:{transform:e=>{let t=e;return e==="auto"&&(t="translateX(var(--translate-x, 0)) translateY(var(--translate-y, 0)) rotate(var(--rotate, 0)) scaleX(var(--scale-x, 1)) scaleY(var(--scale-y, 1)) skewX(var(--skew-x, 0)) skewY(var(--skew-y, 0))"),e==="auto-gpu"&&(t="translate3d(var(--translate-x, 0), var(--translate-y, 0), 0) rotate(var(--rotate, 0)) scaleX(var(--scale-x, 1)) scaleY(var(--scale-y, 1)) skewX(var(--skew-x, 0)) skewY(var(--skew-y, 0))"),{transform:t}}},skewX:{transform:e=>({"--skew-x":tt(e)})},skewY:{transform:e=>({"--skew-y":tt(e)})},scaleX:{transform:e=>({"--scale-x":e})},scaleY:{transform:e=>({"--scale-y":e})},scale:{transform(e){return e!=="auto"?{scale:e}:{scale:"var(--scale-x, 1) var(--scale-y, 1)"}}},spaceXReverse:{values:{type:"boolean"},transform(e){return{"& > :not(style, [hidden]) ~ :not(style, [hidden])":{"--space-x-reverse":e?"1":void 0}}}},spaceX:{property:"marginInlineStart",values:"spacing",transform:e=>({"& > :not(style, [hidden]) ~ :not(style, [hidden])":{"--space-x-reverse":"0",marginInlineStart:`calc(${e} * calc(1 - var(--space-x-reverse)))`,marginInlineEnd:`calc(${e} * var(--space-x-reverse))`}})},spaceYReverse:{values:{type:"boolean"},transform(e){return{"& > :not(style, [hidden]) ~ :not(style, [hidden])":{"--space-y-reverse":e?"1":void 0}}}},spaceY:{property:"marginTop",values:"spacing",transform:e=>({"& > :not(style, [hidden]) ~ :not(style, [hidden])":{"--space-y-reverse":"0",marginTop:`calc(${e} * calc(1 - var(--space-y-reverse)))`,marginBottom:`calc(${e} * var(--space-y-reverse))`}})},rotate:{transform(e){return e!=="auto"?{rotate:tt(e)}:{rotate:"var(--rotate-x, 0) var(--rotate-y, 0) var(--rotate-z, 0)"}}},rotateX:{transform(e){return{"--rotate-x":tt(e)}}},rotateY:{transform(e){return{"--rotate-y":tt(e)}}},translate:{transform(e){return e!=="auto"?{translate:e}:{translate:"var(--translate-x) var(--translate-y)"}}},translateX:{values:"spacing",transform:e=>({"--translate-x":e})},translateY:{values:"spacing",transform:e=>({"--translate-y":e})},transition:{values:["all","common","colors","opacity","position","backgrounds","size","shadow","transform"],transform(e){switch(e){case"all":return Be("all");case"position":return Be("left, right, top, bottom, inset-inline, inset-block");case"colors":return Be("color, background-color, border-color, text-decoration-color, fill, stroke");case"opacity":return Be("opacity");case"shadow":return Be("box-shadow");case"transform":return Be("transform");case"size":return Be("width, height");case"backgrounds":return Be("background, background-color, background-image, background-position");case"common":return Be("color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter");default:return{transition:e}}}},transitionDuration:{values:"durations"},transitionProperty:{values:{common:"background-color, border-color, color, fill, stroke, opacity, box-shadow, translate, transform",colors:"background-color, border-color, color, fill, stroke",size:"width, height",position:"left, right, top, bottom, inset-inline, inset-block",background:"background, background-color, background-image, background-position"}},transitionTimingFunction:{values:"easings"},animation:{values:"animations"},animationDuration:{values:"durations"},animationDelay:{values:"durations"},animationTimingFunction:{values:"easings"},fontFamily:{values:"fonts"},fontSize:{values:"fontSizes"},fontWeight:{values:"fontWeights"},lineHeight:{values:"lineHeights"},letterSpacing:{values:"letterSpacings"},textIndent:{values:"spacing"},truncate:{values:{type:"boolean"},transform(e){return e===!0?{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}:{}}},lineClamp:{transform(e){return e==="none"?{WebkitLineClamp:"unset"}:{overflow:"hidden",display:"-webkit-box",WebkitLineClamp:e,WebkitBoxOrient:"vertical",textWrap:"wrap"}}},borderSpacing:{values:e=>({...e("spacing"),auto:"var(--border-spacing-x, 0) var(--border-spacing-y, 0)"})},borderSpacingX:{values:"spacing",transform(e){return{"--border-spacing-x":e}}},borderSpacingY:{values:"spacing",transform(e){return{"--border-spacing-y":e}}},srOnly:{values:{type:"boolean"},transform(e){return Sf[e]||{}}},debug:{values:{type:"boolean"},transform(e){return e?{outline:"1px solid blue !important","& > *":{outline:"1px solid red !important"}}:{}}},caretColor:{values:q,transform:Y("caretColor")},cursor:{values:"cursor"}}}),Sf={true:{position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0"},false:{position:"static",width:"auto",height:"auto",padding:"0",margin:"0",overflow:"visible",clip:"auto",whiteSpace:"normal"}};var If="",xf=If.split(","),wf="WebkitAppearance,WebkitBorderBefore,WebkitBorderBeforeColor,WebkitBorderBeforeStyle,WebkitBorderBeforeWidth,WebkitBoxReflect,WebkitLineClamp,WebkitMask,WebkitMaskAttachment,WebkitMaskClip,WebkitMaskComposite,WebkitMaskImage,WebkitMaskOrigin,WebkitMaskPosition,WebkitMaskPositionX,WebkitMaskPositionY,WebkitMaskRepeat,WebkitMaskRepeatX,WebkitMaskRepeatY,WebkitMaskSize,WebkitOverflowScrolling,WebkitTapHighlightColor,WebkitTextFillColor,WebkitTextStroke,WebkitTextStrokeColor,WebkitTextStrokeWidth,WebkitTouchCallout,WebkitUserModify,WebkitUserSelect,accentColor,alignContent,alignItems,alignSelf,alignTracks,all,anchorName,anchorScope,animation,animationComposition,animationDelay,animationDirection,animationDuration,animationFillMode,animationIterationCount,animationName,animationPlayState,animationRange,animationRangeEnd,animationRangeStart,animationTimeline,animationTimingFunction,appearance,aspectRatio,backdropFilter,backfaceVisibility,background,backgroundAttachment,backgroundBlendMode,backgroundClip,backgroundColor,backgroundImage,backgroundOrigin,backgroundPosition,backgroundPositionX,backgroundPositionY,backgroundRepeat,backgroundSize,blockSize,border,borderBlock,borderBlockColor,borderBlockEnd,borderBlockEndColor,borderBlockEndStyle,borderBlockEndWidth,borderBlockStart,borderBlockStartColor,borderBlockStartStyle,borderBlockStartWidth,borderBlockStyle,borderBlockWidth,borderBottom,borderBottomColor,borderBottomLeftRadius,borderBottomRightRadius,borderBottomStyle,borderBottomWidth,borderCollapse,borderColor,borderEndEndRadius,borderEndStartRadius,borderImage,borderImageOutset,borderImageRepeat,borderImageSlice,borderImageSource,borderImageWidth,borderInline,borderInlineColor,borderInlineEnd,borderInlineEndColor,borderInlineEndStyle,borderInlineEndWidth,borderInlineStart,borderInlineStartColor,borderInlineStartStyle,borderInlineStartWidth,borderInlineStyle,borderInlineWidth,borderLeft,borderLeftColor,borderLeftStyle,borderLeftWidth,borderRadius,borderRight,borderRightColor,borderRightStyle,borderRightWidth,borderSpacing,borderStartEndRadius,borderStartStartRadius,borderStyle,borderTop,borderTopColor,borderTopLeftRadius,borderTopRightRadius,borderTopStyle,borderTopWidth,borderWidth,bottom,boxAlign,boxDecorationBreak,boxDirection,boxFlex,boxFlexGroup,boxLines,boxOrdinalGroup,boxOrient,boxPack,boxShadow,boxSizing,breakAfter,breakBefore,breakInside,captionSide,caret,caretColor,caretShape,clear,clip,clipPath,clipRule,color,colorInterpolationFilters,colorScheme,columnCount,columnFill,columnGap,columnRule,columnRuleColor,columnRuleStyle,columnRuleWidth,columnSpan,columnWidth,columns,contain,containIntrinsicBlockSize,containIntrinsicHeight,containIntrinsicInlineSize,containIntrinsicSize,containIntrinsicWidth,container,containerName,containerType,content,contentVisibility,counterIncrement,counterReset,counterSet,cursor,cx,cy,d,direction,display,dominantBaseline,emptyCells,fieldSizing,fill,fillOpacity,fillRule,filter,flex,flexBasis,flexDirection,flexFlow,flexGrow,flexShrink,flexWrap,float,floodColor,floodOpacity,font,fontFamily,fontFeatureSettings,fontKerning,fontLanguageOverride,fontOpticalSizing,fontPalette,fontSize,fontSizeAdjust,fontSmooth,fontStretch,fontStyle,fontSynthesis,fontSynthesisPosition,fontSynthesisSmallCaps,fontSynthesisStyle,fontSynthesisWeight,fontVariant,fontVariantAlternates,fontVariantCaps,fontVariantEastAsian,fontVariantEmoji,fontVariantLigatures,fontVariantNumeric,fontVariantPosition,fontVariationSettings,fontWeight,forcedColorAdjust,gap,grid,gridArea,gridAutoColumns,gridAutoFlow,gridAutoRows,gridColumn,gridColumnEnd,gridColumnGap,gridColumnStart,gridGap,gridRow,gridRowEnd,gridRowGap,gridRowStart,gridTemplate,gridTemplateAreas,gridTemplateColumns,gridTemplateRows,hangingPunctuation,height,hyphenateCharacter,hyphenateLimitChars,hyphens,imageOrientation,imageRendering,imageResolution,imeMode,initialLetter,initialLetterAlign,inlineSize,inset,insetBlock,insetBlockEnd,insetBlockStart,insetInline,insetInlineEnd,insetInlineStart,interpolateSize,isolation,justifyContent,justifyItems,justifySelf,justifyTracks,left,letterSpacing,lightingColor,lineBreak,lineClamp,lineHeight,lineHeightStep,listStyle,listStyleImage,listStylePosition,listStyleType,margin,marginBlock,marginBlockEnd,marginBlockStart,marginBottom,marginInline,marginInlineEnd,marginInlineStart,marginLeft,marginRight,marginTop,marginTrim,marker,markerEnd,markerMid,markerStart,mask,maskBorder,maskBorderMode,maskBorderOutset,maskBorderRepeat,maskBorderSlice,maskBorderSource,maskBorderWidth,maskClip,maskComposite,maskImage,maskMode,maskOrigin,maskPosition,maskRepeat,maskSize,maskType,masonryAutoFlow,mathDepth,mathShift,mathStyle,maxBlockSize,maxHeight,maxInlineSize,maxLines,maxWidth,minBlockSize,minHeight,minInlineSize,minWidth,mixBlendMode,objectFit,objectPosition,offset,offsetAnchor,offsetDistance,offsetPath,offsetPosition,offsetRotate,opacity,order,orphans,outline,outlineColor,outlineOffset,outlineStyle,outlineWidth,overflow,overflowAnchor,overflowBlock,overflowClipBox,overflowClipMargin,overflowInline,overflowWrap,overflowX,overflowY,overlay,overscrollBehavior,overscrollBehaviorBlock,overscrollBehaviorInline,overscrollBehaviorX,overscrollBehaviorY,padding,paddingBlock,paddingBlockEnd,paddingBlockStart,paddingBottom,paddingInline,paddingInlineEnd,paddingInlineStart,paddingLeft,paddingRight,paddingTop,page,pageBreakAfter,pageBreakBefore,pageBreakInside,paintOrder,perspective,perspectiveOrigin,placeContent,placeItems,placeSelf,pointerEvents,position,positionAnchor,positionArea,positionTry,positionTryFallbacks,positionTryOrder,positionVisibility,printColorAdjust,quotes,r,resize,right,rotate,rowGap,rubyAlign,rubyMerge,rubyPosition,rx,ry,scale,scrollBehavior,scrollMargin,scrollMarginBlock,scrollMarginBlockEnd,scrollMarginBlockStart,scrollMarginBottom,scrollMarginInline,scrollMarginInlineEnd,scrollMarginInlineStart,scrollMarginLeft,scrollMarginRight,scrollMarginTop,scrollPadding,scrollPaddingBlock,scrollPaddingBlockEnd,scrollPaddingBlockStart,scrollPaddingBottom,scrollPaddingInline,scrollPaddingInlineEnd,scrollPaddingInlineStart,scrollPaddingLeft,scrollPaddingRight,scrollPaddingTop,scrollSnapAlign,scrollSnapCoordinate,scrollSnapDestination,scrollSnapPointsX,scrollSnapPointsY,scrollSnapStop,scrollSnapType,scrollSnapTypeX,scrollSnapTypeY,scrollTimeline,scrollTimelineAxis,scrollTimelineName,scrollbarColor,scrollbarGutter,scrollbarWidth,shapeImageThreshold,shapeMargin,shapeOutside,shapeRendering,stopColor,stopOpacity,stroke,strokeDasharray,strokeDashoffset,strokeLinecap,strokeLinejoin,strokeMiterlimit,strokeOpacity,strokeWidth,tabSize,tableLayout,textAlign,textAlignLast,textAnchor,textBox,textBoxEdge,textBoxTrim,textCombineUpright,textDecoration,textDecorationColor,textDecorationLine,textDecorationSkip,textDecorationSkipInk,textDecorationStyle,textDecorationThickness,textEmphasis,textEmphasisColor,textEmphasisPosition,textEmphasisStyle,textIndent,textJustify,textOrientation,textOverflow,textRendering,textShadow,textSizeAdjust,textSpacingTrim,textTransform,textUnderlineOffset,textUnderlinePosition,textWrap,textWrapMode,textWrapStyle,timelineScope,top,touchAction,transform,transformBox,transformOrigin,transformStyle,transition,transitionBehavior,transitionDelay,transitionDuration,transitionProperty,transitionTimingFunction,translate,unicodeBidi,userSelect,vectorEffect,verticalAlign,viewTimeline,viewTimelineAxis,viewTimelineInset,viewTimelineName,viewTransitionName,visibility,whiteSpace,whiteSpaceCollapse,widows,width,willChange,wordBreak,wordSpacing,wordWrap,writingMode,x,y,zIndex,zoom,alignmentBaseline,baselineShift,colorInterpolation,colorRendering,glyphOrientationVertical",kf=wf.split(",").concat(xf),Tf=new Map(kf.map(e=>[e,!0]));function Rf(e){const t=Object.create(null);return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}var Pf=/&|@/,Vf=Rf(e=>Tf.has(e)||e.startsWith("--")||Pf.test(e));function Is(e,t){const n={};return Le(e,(r,o)=>{r&&(n[o.join(".")]=r.value)},{stop:t}),n}var Lr,xs;function Af(){if(xs)return Lr;xs=1,Lr=i,i.default=i,i.stable=c,i.stableStringify=c;var e="[...]",t="[Circular]",n=[],r=[];function o(){return{depthLimit:Number.MAX_SAFE_INTEGER,edgesLimit:Number.MAX_SAFE_INTEGER}}function i(d,f,m,h){typeof h>"u"&&(h=o()),a(d,"",0,[],void 0,0,h);var y;try{r.length===0?y=JSON.stringify(d,f,m):y=JSON.stringify(d,g(f),m)}catch{return JSON.stringify("[unable to serialize, circular reference is too complex to analyze]")}finally{for(;n.length!==0;){var E=n.pop();E.length===4?Object.defineProperty(E[0],E[1],E[3]):E[0][E[1]]=E[2]}}return y}function s(d,f,m,h){var y=Object.getOwnPropertyDescriptor(h,m);y.get!==void 0?y.configurable?(Object.defineProperty(h,m,{value:d}),n.push([h,m,f,y])):r.push([f,m,d]):(h[m]=d,n.push([h,m,f]))}function a(d,f,m,h,y,E,b){E+=1;var p;if(typeof d=="object"&&d!==null){for(p=0;p<h.length;p++)if(h[p]===d){s(t,d,f,y);return}if(typeof b.depthLimit<"u"&&E>b.depthLimit){s(e,d,f,y);return}if(typeof b.edgesLimit<"u"&&m+1>b.edgesLimit){s(e,d,f,y);return}if(h.push(d),Array.isArray(d))for(p=0;p<d.length;p++)a(d[p],p,p,h,d,E,b);else{var S=Object.keys(d);for(p=0;p<S.length;p++){var v=S[p];a(d[v],v,p,h,d,E,b)}}h.pop()}}function l(d,f){return d<f?-1:d>f?1:0}function c(d,f,m,h){typeof h>"u"&&(h=o());var y=u(d,"",0,[],void 0,0,h)||d,E;try{r.length===0?E=JSON.stringify(y,f,m):E=JSON.stringify(y,g(f),m)}catch{return JSON.stringify("[unable to serialize, circular reference is too complex to analyze]")}finally{for(;n.length!==0;){var b=n.pop();b.length===4?Object.defineProperty(b[0],b[1],b[3]):b[0][b[1]]=b[2]}}return E}function u(d,f,m,h,y,E,b){E+=1;var p;if(typeof d=="object"&&d!==null){for(p=0;p<h.length;p++)if(h[p]===d){s(t,d,f,y);return}try{if(typeof d.toJSON=="function")return}catch{return}if(typeof b.depthLimit<"u"&&E>b.depthLimit){s(e,d,f,y);return}if(typeof b.edgesLimit<"u"&&m+1>b.edgesLimit){s(e,d,f,y);return}if(h.push(d),Array.isArray(d))for(p=0;p<d.length;p++)u(d[p],p,p,h,d,E,b);else{var S={},v=Object.keys(d).sort(l);for(p=0;p<v.length;p++){var T=v[p];u(d[T],T,p,h,d,E,b),S[T]=d[T]}if(typeof y<"u")n.push([y,f,d]),y[f]=S;else return S}h.pop()}}function g(d){return d=typeof d<"u"?d:function(f,m){return m},function(f,m){if(r.length>0)for(var h=0;h<r.length;h++){var y=r[h];if(y[1]===f&&y[0]===m){m=y[2],r.splice(h,1);break}}return d.call(this,f,m)}}return Lr}var _f=Af();const Nf=ha(_f),we=e=>{const t=Object.create(null);function n(...r){const o=r.map(i=>Nf(i)).join("|");return t[o]===void 0&&(t[o]=e(...r)),t[o]}return n},ws=16,Rn="px",Mr="em",Bt="rem";function ks(e=""){const t=new RegExp(String.raw`-?\d+(?:\.\d+|\d*)`),n=new RegExp(`${Rn}|${Mr}|${Bt}`);return e.match(new RegExp(`${t.source}(${n.source})`))?.[1]}function Ts(e=""){if(typeof e=="number")return`${e}px`;const t=ks(e);if(!t||t===Rn)return e;if(t===Mr||t===Bt)return`${parseFloat(e)*ws}${Rn}`}function Rs(e=""){const t=ks(e);if(!t||t===Bt)return e;if(t===Mr)return`${parseFloat(e)}${Bt}`;if(t===Rn)return`${parseFloat(e)/ws}${Bt}`}const Ff=e=>e.charAt(0).toUpperCase()+e.slice(1);function Lf(e){const t=Mf(e),n=Object.fromEntries(t);function r(d){return n[d]}function o(d){return Ot(r(d))}function i(){const d=Object.keys(n),f=$f(d),m=d.flatMap(h=>{const y=r(h),E=[`${h}Down`,Ot({max:Pn(y.min)})],b=[h,Ot({min:y.min})],p=[`${h}Only`,o(h)];return[b,p,E]}).filter(([,h])=>h!=="").concat(f.map(([h,y])=>{const E=r(h),b=r(y);return[`${h}To${Ff(y)}`,Ot({min:E.min,max:Pn(b.min)})]}));return Object.fromEntries(m)}function s(){const d=i();return Object.fromEntries(Object.entries(d))}const a=s(),l=d=>a[d];function c(){return["base",...Object.keys(n)]}function u(d){return Ot({min:r(d).min})}function g(d){return Ot({max:Pn(r(d).min)})}return{values:Object.values(n),only:o,keys:c,conditions:a,getCondition:l,up:u,down:g}}function Pn(e){const t=parseFloat(Ts(e)??"")-.04;return Rs(`${t}px`)}function Mf(e){return Object.entries(e).sort(([,n],[,r])=>parseInt(n,10)<parseInt(r,10)?-1:1).map(([n,r],o,i)=>{let s=null;return o<=i.length-1&&(s=i[o+1]?.[1]),s!=null&&(s=Pn(s)),[n,{name:n,min:Rs(r),max:s}]})}function $f(e){const t=[];return e.forEach((n,r)=>{let o=r;o++;let i=e[o];for(;i;)t.push([n,i]),o++,i=e[o]}),t}function Ot({min:e,max:t}){return e==null&&t==null?"":["@media screen",e&&`(min-width: ${e})`,t&&`(max-width: ${t})`].filter(Boolean).join(" and ")}const Df=(e,t)=>Object.fromEntries(Object.entries(e).map(([n,r])=>t(n,r))),Hf=e=>{const{breakpoints:t,conditions:n={}}=e,r=Df(n,(u,g)=>[`_${u}`,g]),o=Object.assign({},r,t.conditions);function i(){return Object.keys(o)}function s(u){return i().includes(u)||/^@|&|&$/.test(u)||u.startsWith("_")}function a(u){return u.filter(g=>g!=="base").sort((g,d)=>{const f=s(g),m=s(d);return f&&!m?1:!f&&m?-1:0})}function l(u){return u.startsWith("@breakpoint")?t.getCondition(u.replace("@breakpoint ","")):u}function c(u){return Reflect.get(o,u)||u}return{keys:i,sort:a,has:s,resolve:c,breakpoints:t.keys(),expandAtRule:l}},Ps=e=>({minMax:new RegExp(`(!?\\(\\s*min(-device-)?-${e})(.|
38
37
  )+\\(\\s*max(-device)?-${e}`,"i"),min:new RegExp(`\\(\\s*min(-device)?-${e}`,"i"),maxMin:new RegExp(`(!?\\(\\s*max(-device)?-${e})(.|
39
- )+\\(\\s*min(-device)?-${e}`,"i"),max:new RegExp(`\\(\\s*max(-device)?-${e}`,"i")}),pa=Tt("width"),ga=Tt("height"),At=e=>({isMin:It(e.minMax,e.maxMin,e.min),isMax:It(e.maxMin,e.minMax,e.max)}),{isMin:Ar,isMax:Ot}=At(pa),{isMin:Or,isMax:_t}=At(ga),Ft=/print/i,Mt=/^print$/i,ba=/(-?\d*\.?\d+)(ch|em|ex|px|rem)/,ma=/(\d)/,Ve=Number.MAX_VALUE,ha={ch:8.8984375,em:16,rem:16,ex:8.296875,px:1};function Bt(e){const r=ba.exec(e)||(Ar(e)||Or(e)?ma.exec(e):null);if(!r)return Ve;if(r[0]==="0")return 0;const t=parseFloat(r[1]),n=r[2];return t*(ha[n]||1)}function It(e,r,t){return n=>e.test(n)||!r.test(n)&&t.test(n)}function va(e,r){const t=Ft.test(e),n=Mt.test(e),o=Ft.test(r),a=Mt.test(r);return t&&o?!n&&a?1:n&&!a?-1:e.localeCompare(r):t?1:o?-1:null}const ya=de((e,r)=>{const t=va(e,r);if(t!==null)return t;const n=Ar(e)||Or(e),o=Ot(e)||_t(e),a=Ar(r)||Or(r),s=Ot(r)||_t(r);if(n&&s)return-1;if(o&&a)return 1;const i=Bt(e),u=Bt(r);return i===Ve&&u===Ve?e.localeCompare(r):i===Ve?1:u===Ve?-1:i!==u?i>u?o?-1:1:o?1:-1:e.localeCompare(r)});function jt(e){return e.sort(([r],[t])=>ya(r,t))}function $t(e){const r=[],t=[],n={};for(const[s,i]of Object.entries(e))s.startsWith("@media")?r.push([s,i]):s.startsWith("@container")?t.push([s,i]):se(i)?n[s]=$t(i):n[s]=i;const o=jt(r),a=jt(t);return{...n,...Object.fromEntries(o),...Object.fromEntries(a)}}const Wt=/\s*!(important)?/i,xa=e=>he(e)?Wt.test(e):!1,Sa=e=>he(e)?e.replace(Wt,"").trim():e;function Dt(e){const{transform:r,conditions:t,normalize:n}=e,o=Ea(e);return de(function(...s){const i=o(...s),u=n(i),d=Object.create(null);return ve(u,(c,f)=>{const l=xa(c);if(c==null)return;const[h,...v]=t.sort(f).map(t.resolve);l&&(c=Sa(c));let g=r(h,c)??Object.create(null);g=ve(g,k=>he(k)&&l?`${k} !important`:k,{getKey:k=>t.expandAtRule(k)}),ka(d,v.flat(),g)}),$t(d)})}function ka(e,r,t){let n=e;for(const o of r)o&&(n[o]||(n[o]=Object.create(null)),n=n[o]);Ae(n,t)}function Ca(...e){return e.filter(r=>se(r)&&Object.keys(Ne(r)).length>0)}function Ea(e){function r(t){const n=Ca(...t);return n.length===1?n:n.map(o=>e.normalize(o))}return de(function(...n){return Ae({},...r(n))})}const Nt=e=>({base:{},variants:{},defaultVariants:{},compoundVariants:[],...e});function wa(e){const{css:r,conditions:t,normalize:n,layers:o}=e;function a(i={}){const{base:u,variants:d,defaultVariants:c,compoundVariants:f}=Nt(i),l=Dt({conditions:t,normalize:n,transform(S,x){return d[S]?.[x]}}),h=(S={})=>{const x=n({...c,...Ne(S)});let w={...u};Ae(w,l(x));const b=s(f,x);return o.wrap("recipes",r(w,b))},v=Object.keys(d),g=S=>{const x=mt(S,["recipe"]),[w,b]=Te(x,v);return v.includes("colorPalette")||(w.colorPalette=S.colorPalette||c.colorPalette),v.includes("orientation")&&(b.orientation=S.orientation),[w,b]},k=Object.fromEntries(Object.entries(d).map(([S,x])=>[S,Object.keys(x)]));return Object.assign(S=>r(h(S)),{className:i.className,__cva__:!0,variantMap:k,variantKeys:v,raw:h,config:i,splitVariantProps:g,merge(S){return a(Pa(e)(this,S))}})}function s(i,u){let d={};return i.forEach(c=>{Object.entries(c).every(([l,h])=>l==="css"?!0:(Array.isArray(h)?h:[h]).some(g=>u[l]===g))&&(d=r(d,c.css))}),d}return a}function Pa(e){const{css:r}=e;return function(n,o){const a=Nt(o.config),s=dt(n.variantKeys,Object.keys(o.variants)),i=r(n.base,a.base),u=Object.fromEntries(s.map(l=>[l,r(n.config.variants[l],a.variants[l])])),d=Ae(n.config.defaultVariants,a.defaultVariants),c=[...n.compoundVariants,...a.compoundVariants];return{className:Se(n.className,o.className),base:i,variants:u,defaultVariants:d,compoundVariants:c}}}const Ra={reset:"reset",base:"base",tokens:"tokens",recipes:"recipes"},zt={reset:0,base:1,tokens:2,recipes:3};function Ta(e){const r=e.layers??Ra,n=Object.values(r).sort((o,a)=>zt[o]-zt[a]);return{names:n,atRule:`@layer ${n.join(", ")};`,wrap(o,a){return e.disableLayers?a:{[`@layer ${r[o]}`]:a}}}}function Aa(e){const{utility:r,normalize:t}=e,{hasShorthand:n,resolveShorthand:o}=r;return function(a){return ve(a,t,{stop:s=>Array.isArray(s),getKey:n?o:void 0})}}function Oa(e){const{preflight:r}=e;if(!r)return{};const{scope:t="",level:n="parent"}=se(r)?r:{};let o="";t&&n==="parent"?o=`${t} `:t&&n==="element"&&(o=`&${t}`);const a={"*":{margin:"0px",padding:"0px",font:"inherit",wordWrap:"break-word",WebkitTapHighlightColor:"transparent"},"*, *::before, *::after, *::backdrop":{boxSizing:"border-box",borderWidth:"0px",borderStyle:"solid",borderColor:"var(--global-color-border, currentColor)"},hr:{height:"0px",color:"inherit",borderTopWidth:"1px"},body:{minHeight:"100dvh",position:"relative"},img:{borderStyle:"none"},"img, svg, video, canvas, audio, iframe, embed, object":{display:"block",verticalAlign:"middle"},iframe:{border:"none"},"img, video":{maxWidth:"100%",height:"auto"},"p, h1, h2, h3, h4, h5, h6":{overflowWrap:"break-word"},"ol, ul":{listStyle:"none"},"code, kbd, pre, samp":{fontSize:"1em"},"button, [type='button'], [type='reset'], [type='submit']":{WebkitAppearance:"button",backgroundColor:"transparent",backgroundImage:"none"},"button, input, optgroup, select, textarea":{color:"inherit"},"button, select":{textTransform:"none"},table:{textIndent:"0px",borderColor:"inherit",borderCollapse:"collapse"},"*::placeholder":{opacity:"unset",color:"#9ca3af",userSelect:"none"},textarea:{resize:"vertical"},summary:{display:"list-item"},small:{fontSize:"80%"},"sub, sup":{fontSize:"75%",lineHeight:0,position:"relative",verticalAlign:"baseline"},sub:{bottom:"-0.25em"},sup:{top:"-0.5em"},dialog:{padding:"0px"},a:{color:"inherit",textDecoration:"inherit"},"abbr:where([title])":{textDecoration:"underline dotted"},"b, strong":{fontWeight:"bolder"},"code, kbd, samp, pre":{fontSize:"1em","--font-mono-fallback":"ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New'",fontFamily:"var(--global-font-mono, var(--font-mono-fallback))"},'input[type="text"], input[type="email"], input[type="search"], input[type="password"]':{WebkitAppearance:"none",MozAppearance:"none"},"input[type='search']":{WebkitAppearance:"textfield",outlineOffset:"-2px"},"::-webkit-search-decoration, ::-webkit-search-cancel-button":{WebkitAppearance:"none"},"::-webkit-file-upload-button":{WebkitAppearance:"button",font:"inherit"},'input[type="number"]::-webkit-inner-spin-button, input[type="number"]::-webkit-outer-spin-button':{height:"auto"},"input[type='number']":{MozAppearance:"textfield"},":-moz-ui-invalid":{boxShadow:"none"},":-moz-focusring":{outline:"auto"},"[hidden]:where(:not([hidden='until-found']))":{display:"none !important"}},s={[t||"html"]:{lineHeight:1.5,"--font-fallback":"ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'",WebkitTextSizeAdjust:"100%",WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",textRendering:"optimizeLegibility",touchAction:"manipulation",MozTabSize:"4",tabSize:"4",fontFamily:"var(--global-font-body, var(--font-fallback))"}};if(n==="element"){const i=Object.entries(a).reduce((u,[d,c])=>(u[d]={[o]:c},u),{});Object.assign(s,i)}else o?s[o]=a:Object.assign(s,a);return s}function _a(e){const{conditions:r,isValidProperty:t}=e;return function(o){return ve(o,a=>a,{getKey:(a,s)=>se(s)&&!r.has(a)&&!t(a)?Fa(a).map(i=>"&"+i).join(", "):a})}}function Fa(e){const r=[];let t=0,n="",o=!1;for(let a=0;a<e.length;a++){const s=e[a];if(s==="\\"&&!o){o=!0,n+=s;continue}if(o){o=!1,n+=s;continue}s==="("?t++:s===")"&&t--,s===","&&t===0?(r.push(n.trim()),n=""):n+=s}return n&&r.push(n.trim()),r}const Ma=(e={})=>{const r=o=>({base:e.base?.[o]??{},variants:{},defaultVariants:e.defaultVariants??{},compoundVariants:e.compoundVariants?Ba(e.compoundVariants,o):[]}),n=(e.slots??[]).map(o=>[o,r(o)]);for(const[o,a]of Object.entries(e.variants??{}))for(const[s,i]of Object.entries(a))n.forEach(([u,d])=>{var c;(c=d.variants)[o]??(c[o]={}),d.variants[o][s]=i[u]??{}});return Object.fromEntries(n)},Ba=(e,r)=>e.filter(t=>t.css[r]).map(t=>({...t,css:t.css[r]}));function Ia(e){const{cva:r}=e;return function(n={}){const o=Object.entries(Ma(n)).map(([f,l])=>[f,r(l)]);function a(f){const l=o.map(([h,v])=>[h,v(f)]);return Object.fromEntries(l)}const s=n.variants??{},i=Object.keys(s);function u(f){const l=mt(f,["recipe"]),[h,v]=Te(l,i);return i.includes("colorPalette")||(h.colorPalette=f.colorPalette||n.defaultVariants?.colorPalette),i.includes("orientation")&&(v.orientation=f.orientation),[h,v]}const d=Object.fromEntries(Object.entries(s).map(([f,l])=>[f,Object.keys(l)]));let c={};return n.className&&(c=Object.fromEntries(n.slots.map(f=>[f,`${n.className}__${f}`]))),Object.assign(a,{variantMap:d,variantKeys:i,splitVariantProps:u,classNameMap:c})}}const ja=()=>e=>Array.from(new Set(e)),$a=/([\0-\x1f\x7f]|^-?\d)|^-$|^-|[^\x80-\uFFFF\w-]/g,Wa=function(e,r){return r?e==="\0"?"�":e==="-"&&e.length===1?"\\-":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16):"\\"+e},Vt=e=>(e+"").replace($a,Wa),Lt=(e,r)=>{let t="",n=0,o="char",a="",s="";const i=[];for(;n<e.length;){const u=e[n];if(u==="{"){const c=e.indexOf("}",n);if(c===-1)break;const f=e.slice(n+1,c),l=r(f);t+=l??f,n=c+1;continue}if(o==="token"&&u===","){e[n]===""&&n++,o="fallback",i.push(o);const c=r(a);c?.endsWith(")")&&(t+=c.slice(0,-1)),a="",s="";continue}if(o==="fallback"&&s+u===", var("){const l=Da(e.slice(n+1))+n+1,h=e.slice(n+1,l);if(l===-1)break;t+=", var("+h+")",n=l+1,o=i.pop()??o,s="";continue}if(o==="token"||o==="fallback"){if(n++,u===")"){o=i.pop()??o??"char",s+=u;const c=a&&(r(a)??Vt(a));if(s){if(s=s.slice(1).trim(),!s.startsWith("token(")&&s.endsWith(")")&&(s=s.slice(0,-1)),s.includes("token(")){const l=Lt(s,r);l&&(s=l.slice(0,-1))}else if(s){const l=r(s);l&&(s=l)}}const f=t.at(-1);s?f?.trim()?t+=c.slice(0,-1)+(", "+s+")"):t+=s:t+=c||")",a="",s="",o="char";continue}o==="token"&&(a+=u),o==="fallback"&&(s+=u);continue}const d=e.indexOf("token(",n);if(d!==-1){const c=d+6;t+=e.slice(n,d),n=c,o="token",i.push(o);continue}t+=u,n++}return t},Da=e=>{let r=0;const t=["("];for(;r<e.length;){const n=e[r];if(n==="(")t.push(n);else if(n===")"&&(t.pop(),t.length===0))return r;r++}return r};function Yt(e){const r={};return e.forEach((t,n)=>{t instanceof Map?r[n]=Object.fromEntries(t):r[n]=t}),r}const Ht=/({([^}]*)})/g,Na=/[{}]/g,za=/\w+\.\w+/,Ut=e=>{if(!he(e))return[];const r=e.match(Ht);return r?r.map(t=>t.replace(Na,"")).map(t=>t.trim()):[]},Va=e=>Ht.test(e);function Xt(e){if(!e.extensions?.references)return e.extensions?.cssVar?.ref??e.value;const r=e.extensions.references??{};return e.value=Object.keys(r).reduce((t,n)=>{const o=r[n];if(o.extensions.conditions)return t;const a=Xt(o);return t.replace(`{${n}}`,a)},e.value),delete e.extensions.references,e.value}function Gt(e){return se(e)&&e.reference?e.reference:String(e)}const or=(e,...r)=>r.map(Gt).join(` ${e} `).replace(/calc/g,""),qt=(...e)=>`calc(${or("+",...e)})`,Kt=(...e)=>`calc(${or("-",...e)})`,_r=(...e)=>`calc(${or("*",...e)})`,Jt=(...e)=>`calc(${or("/",...e)})`,Qt=e=>{const r=Gt(e);return r!=null&&!Number.isNaN(parseFloat(r))?String(r).startsWith("-")?String(r).slice(1):`-${r}`:_r(r,-1)},Fe=Object.assign(e=>({add:(...r)=>Fe(qt(e,...r)),subtract:(...r)=>Fe(Kt(e,...r)),multiply:(...r)=>Fe(_r(e,...r)),divide:(...r)=>Fe(Jt(e,...r)),negate:()=>Fe(Qt(e)),toString:()=>e.toString()}),{add:qt,subtract:Kt,multiply:_r,divide:Jt,negate:Qt}),La={enforce:"pre",transform(e){const{prefix:r,allTokens:t,formatCssVar:n,formatTokenName:o,registerToken:a}=e;t.filter(({extensions:i})=>i.category==="spacing").forEach(i=>{const u=i.path.slice(),d=n(u,r);if(he(i.value)&&i.value==="0rem")return;const c=structuredClone(i);Object.assign(c.extensions,{negative:!0,prop:`-${i.extensions.prop}`,originalPath:u}),c.value=Fe.negate(d.ref);const f=c.path[c.path.length-1];f!=null&&(c.path[c.path.length-1]=`-${f}`),c.path&&(c.name=o(c.path)),a(c)})}},Ya=new Set(["spacing","sizes","borderWidths","fontSizes","radii"]),Ha=[La,{enforce:"post",transform(e){const{allTokens:r,registerToken:t,formatTokenName:n}=e,o=r.filter(({extensions:i})=>i.category==="colors"),a=new Map,s=new Map;o.forEach(i=>{const{colorPalette:u}=i.extensions;u&&(u.keys.forEach(d=>{a.set(n(d),d)}),u.roots.forEach(d=>{const c=n(d),f=s.get(c)||[];if(f.push(i),s.set(c,f),i.extensions.default&&d.length===1){const l=u.keys[0]?.filter(Boolean);if(!l.length)return;const h=d.concat(l);a.set(n(h),[])}}))}),a.forEach(i=>{const u=["colors","colorPalette",...i].filter(Boolean),d=n(u),c=n(u.slice(1));t({name:d,value:d,originalValue:d,path:u,extensions:{condition:"base",originalPath:u,category:"colors",prop:c,virtual:!0}},"pre")})}},{enforce:"post",transform(e){e.allTokens.filter(t=>Ya.has(t.extensions.category)&&!t.extensions.negative).forEach(t=>{Object.assign(t.extensions,{pixelValue:Pt(t.value)})})}},{enforce:"post",transform(e){e.allTokens=e.allTokens.filter(r=>r.value!=="")}}],Ua=[{type:"extensions",enforce:"pre",name:"tokens/css-var",transform(e,r){const{prefix:t,formatCssVar:n}=r,{negative:o,originalPath:a}=e.extensions,s=o?a:e.path;return{cssVar:n(s.filter(Boolean),t)}}},{enforce:"post",type:"value",name:"tokens/conditionals",transform(e,r){const{prefix:t,formatCssVar:n}=r,o=Ut(e.value);return o.length&&o.forEach(a=>{const s=n(a.split("."),t);e.value=e.value.replace(`{${s.ref}}`,s)}),e.value}},{type:"extensions",enforce:"pre",name:"tokens/colors/colorPalette",match(e){return e.extensions.category==="colors"&&!e.extensions.virtual},transform(e,r){let t=e.path.slice();if(t.pop(),t.shift(),t.length===0){const i=[...e.path];i.shift(),t=i}if(t.length===0)return{};const n=t.reduce((i,u,d,c)=>{const f=c.slice(0,d+1);return i.push(f),i},[]),o=t[0],a=r.formatTokenName(t),s=e.path.slice(e.path.indexOf(o)+1).reduce((i,u,d,c)=>(i.push(c.slice(d)),i),[]);return s.length===0&&s.push([""]),{colorPalette:{value:a,roots:n,keys:s}}}}],Zt=e=>se(e)&&Object.prototype.hasOwnProperty.call(e,"value");function Xa(e){return e?{breakpoints:Io(e,r=>({value:r})),sizes:Object.fromEntries(Object.entries(e).map(([r,t])=>[`breakpoint-${r}`,{value:t}]))}:{breakpoints:{},sizes:{}}}function Ga(e){const{prefix:r="",tokens:t={},semanticTokens:n={},breakpoints:o={}}=e,a=m=>m.join("."),s=(m,y)=>yt(m.join("-"),{prefix:y}),i=[],u=new Map,d=new Map,c=new Map,f=new Map,l=new Map,h=new Map,v=new Map,g=new Map,k=[];function C(m,y){i.push(m),u.set(m.name,m),y&&g.forEach(B=>{B.enforce===y&&p(B,m)})}const S=Xa(o),x=Ne({...t,breakpoints:S.breakpoints,sizes:{...t.sizes,...S.sizes}});function w(){ve(x,(m,y)=>{const B=y.includes("DEFAULT");y=en(y);const V=y[0],E=a(y),G=he(m)?{value:m}:m,ce={value:G.value,originalValue:G.value,name:E,path:y,extensions:{condition:"base",originalPath:y,category:V,prop:a(y.slice(1))}};B&&(ce.extensions.default=!0),C(ce)},{stop:Zt}),ve(n,(m,y)=>{const B=y.includes("DEFAULT");y=rn(en(y));const V=y[0],E=a(y),G=he(m.value)?{value:{base:m.value}}:m,ce={value:G.value.base||"",originalValue:G.value.base||"",name:E,path:y,extensions:{originalPath:y,category:V,conditions:G.value,condition:"base",prop:a(y.slice(1))}};B&&(ce.extensions.default=!0),C(ce)},{stop:Zt})}function b(m){return u.get(m)}function A(m){const{condition:y}=m.extensions;y&&(d.has(y)||d.set(y,new Set),d.get(y).add(m))}function M(m){const{category:y,prop:B}=m.extensions;y&&(v.has(y)||v.set(y,new Map),v.get(y).set(B,m))}function R(m){const{condition:y,negative:B,virtual:V,cssVar:E}=m.extensions;B||V||!y||!E||(c.has(y)||c.set(y,new Map),c.get(y).set(E.var,m.value))}function P(m){const{category:y,prop:B,cssVar:V,negative:E}=m.extensions;if(!y)return;h.has(y)||h.set(y,new Map);const G=E?m.extensions.conditions?m.originalValue:m.value:V.ref;h.get(y).set(B,G),l.set([y,B].join("."),G)}function _(m){const{colorPalette:y,virtual:B,default:V}=m.extensions;!y||B||y.roots.forEach(E=>{const G=a(E);f.has(G)||f.set(G,new Map);const ce=Ka([...m.path],[...E]),Ee=a(ce),Br=b(Ee);if(!Br||!Br.extensions.cssVar)return;const{var:ds}=Br.extensions.cssVar;if(f.get(G).set(ds,m.extensions.cssVar.ref),V&&E.length===1){const fs=a(["colors","colorPalette"]),cn=b(fs);if(!cn)return;const ps=a(m.path),un=b(ps);if(!un)return;const dn=y.keys[0]?.filter(Boolean);if(!dn.length)return;const Ir=a(E.concat(dn));f.has(Ir)||f.set(Ir,new Map),f.get(Ir).set(cn.extensions.cssVar.var,un.extensions.cssVar.ref)}})}let z={};function O(){i.forEach(m=>{A(m),M(m),R(m),P(m),_(m)}),z=Yt(h)}const J=(m,y)=>{if(!m||typeof m!="string")return{invalid:!0,value:m};const[B,V]=m.split("/");if(!B||!V)return{invalid:!0,value:B};const E=y(B),G=b(`opacity.${V}`)?.value;if(!G&&isNaN(Number(V)))return{invalid:!0,value:B};const ce=G?Number(G)*100+"%":`${V}%`,Ee=E??B;return{invalid:!1,color:Ee,value:`color-mix(in srgb, ${Ee} ${ce}, transparent)`}},re=de((m,y)=>l.get(m)??y),W=de(m=>z[m]||null),ne=de(m=>Lt(m,y=>{if(!y)return;if(y.includes("/")){const V=J(y,E=>re(E));if(V.invalid)throw new Error("Invalid color mix at "+y+": "+V.value);return V.value}const B=re(y);return B||(za.test(y)?Vt(y):y)})),le={prefix:r,allTokens:i,tokenMap:u,registerToken:C,getByName:b,formatTokenName:a,formatCssVar:s,flatMap:l,cssVarMap:c,categoryMap:v,colorPaletteMap:f,getVar:re,getCategoryValues:W,expandReferenceInValue:ne};function fe(...m){m.forEach(y=>{g.set(y.name,y)})}function F(...m){k.push(...m)}function p(m,y){if(y.extensions.references||xr(m.match)&&!m.match(y))return;const V=(E=>m.transform(E,le))(y);switch(!0){case m.type==="extensions":Object.assign(y.extensions,V);break;case m.type==="value":y.value=V;break;default:y[m.type]=V;break}}function T(m){k.forEach(y=>{y.enforce===m&&y.transform(le)})}function I(m){g.forEach(y=>{y.enforce===m&&i.forEach(B=>{p(y,B)})})}function H(){i.forEach(m=>{const y=qa(m);!y||y.length===0||y.forEach(B=>{C(B)})})}function oe(m){return Ut(m).map(B=>b(B)).filter(Boolean)}function Q(){i.forEach(m=>{if(!Va(m.value))return;const y=oe(m.value);m.extensions.references=y.reduce((B,V)=>(B[V.name]=V,B),{})})}function xe(){i.forEach(m=>{Xt(m)})}function Ce(){T("pre"),I("pre"),H(),Q(),xe(),T("post"),I("post"),O()}return w(),fe(...Ua),F(...Ha),Ce(),le}function en(e){return e[0]==="DEFAULT"?e:e.filter(r=>r!=="DEFAULT")}function rn(e){return e.filter(r=>r!=="base")}function qa(e){if(!e.extensions.conditions)return;const{conditions:r}=e.extensions,t=[];return ve(r,(n,o)=>{const a=rn(o);if(!a.length)return;const s=structuredClone(e);s.value=n,s.extensions.condition=a.join(":"),t.push(s)}),t}function Ka(e,r){const t=e.findIndex((n,o)=>r.every((a,s)=>e[o+s]===a));return t===-1||(e.splice(t,r.length),e.splice(t,0,"colorPalette")),e}ja()(["aspectRatios","zIndex","opacity","colors","fonts","fontSizes","fontWeights","lineHeights","letterSpacings","sizes","shadows","spacing","radii","cursor","borders","borderWidths","borderStyles","durations","easings","animations","blurs","gradients","breakpoints","assets"]);function Cs(e){return e}function Ja(e){return Object.fromEntries(Object.entries(e).map(([r,t])=>[r,t]))}function Qa(e){const r=Ja(e.config),t=e.tokens,n=new Map,o=new Map;function a(R,P){r[R]=P,s(R,P)}const s=(R,P)=>{const _=g(P);_&&(o.set(R,_),f(R,P))},i=()=>{for(const[R,P]of Object.entries(r))P&&s(R,P)},u=()=>{for(const[R,P]of Object.entries(r)){const{shorthand:_}=P??{};if(!_)continue;(Array.isArray(_)?_:[_]).forEach(O=>n.set(O,R))}},d=()=>{const R=Yt(t.colorPaletteMap);a("colorPalette",{values:Object.keys(R),transform:de(P=>R[P])})},c=new Map,f=(R,P)=>{if(!P)return;const _=g(P,O=>`type:Tokens["${O}"]`);if(typeof _=="object"&&_.type){c.set(R,new Set([`type:${_.type}`]));return}if(_){const O=new Set(Object.keys(_));c.set(R,O)}const z=c.get(R)??new Set;P.property&&c.set(R,z.add(`CssProperties["${P.property}"]`))},l=()=>{for(const[R,P]of Object.entries(r))P&&f(R,P)},h=(R,P)=>{const _=c.get(R)??new Set;c.set(R,new Set([..._,...P]))},v=()=>{const R=new Map;for(const[P,_]of c.entries()){if(_.size===0){R.set(P,["string"]);continue}const z=Array.from(_).map(O=>O.startsWith("CssProperties")?O:O.startsWith("type:")?O.replace("type:",""):JSON.stringify(O));R.set(P,z)}return R},g=(R,P)=>{const{values:_}=R,z=O=>{const J=P?.(O);return J?{[J]:J}:void 0};return he(_)?z?.(_)??t.getCategoryValues(_)??{}:Array.isArray(_)?_.reduce((O,J)=>(O[J]=J,O),{}):xr(_)?_(P?z:t.getCategoryValues):_},k=de((R,P)=>({[R]:R.startsWith("--")?t.getVar(P,P):P})),C=Object.assign(t.getVar,{raw:R=>t.getByName(R)}),S=de((R,P)=>{const _=b(R);he(P)&&!P.includes("_EMO_")&&(P=t.expandReferenceInValue(P));const z=r[_];if(!z)return k(_,P);const O=o.get(_)?.[P];if(!z.transform)return k(R,O??P);const J=re=>Bo(re,C);return z.transform(O??P,{raw:P,token:C,utils:{colorMix:J}})});function x(){u(),d(),i(),l()}x();const w=n.size>0,b=de(R=>n.get(R)??R);return{keys:()=>[...Array.from(n.keys()),...Object.keys(r)],hasShorthand:w,transform:S,shorthands:n,resolveShorthand:b,register:a,getTypes:v,addPropertyType:h}}const ie={};function tn(...e){const r=$o(...e),{theme:t={},utilities:n={},globalCss:o={},cssVarsRoot:a=":where(:root, :host)",cssVarsPrefix:s="chakra",preflight:i}=r,u=Ta(r),d=Ga({breakpoints:t.breakpoints,tokens:t.tokens,semanticTokens:t.semanticTokens,prefix:s}),c=la(t.breakpoints??ie),f=fa({conditions:r.conditions??ie,breakpoints:c}),l=Qa({config:n,tokens:d});function h(){const{textStyles:F,layerStyles:p,animationStyles:T}=t,I=Ne({textStyle:F,layerStyle:p,animationStyle:T});for(const[H,oe]of Object.entries(I)){const Q=kt(oe??ie,nn);l.register(H,{values:Object.keys(Q),transform(xe){return x(Q[xe])}})}}h(),l.addPropertyType("animationName",Object.keys(t.keyframes??ie));const v=new Set(["css",...l.keys(),...f.keys()]),g=de(F=>v.has(F)||na(F)),k=F=>Array.isArray(F)?F.reduce((p,T,I)=>{const H=f.breakpoints[I];return T!=null&&(p[H]=T),p},{}):F,C=Aa({utility:l,normalize:k}),S=_a({conditions:f,isValidProperty:g}),x=Dt({transform:l.transform,conditions:f,normalize:C}),w=wa({css:x,conditions:f,normalize:C,layers:u}),b=Ia({cva:w});function A(){const F={};for(const[p,T]of d.cssVarMap.entries()){const I=Object.fromEntries(T);if(Object.keys(I).length===0)continue;const H=p==="base"?a:f.resolve(p),oe=H.startsWith("@"),Q=x(S({[H]:oe?{[a]:I}:I}));Ae(F,Q)}return u.wrap("tokens",F)}function M(){const F=Object.fromEntries(Object.entries(t.keyframes??ie).map(([T,I])=>[`@keyframes ${T}`,I])),p=Object.assign({},F,x(S(o)));return u.wrap("base",p)}function R(F){return Te(F,g)}function P(){const F=Oa({preflight:i});return u.wrap("reset",F)}const _=Za(d),z=(F,p)=>_.get(F)?.value||p;z.var=(F,p)=>_.get(F)?.variable||p;function O(F,p){return t.recipes?.[F]??p}function J(F,p){return t.slotRecipes?.[F]??p}function re(F){return Object.hasOwnProperty.call(t.recipes??ie,F)}function W(F){return Object.hasOwnProperty.call(t.slotRecipes??ie,F)}function ne(F){return re(F)||W(F)}const le=[P(),M(),A()],fe={layerStyles:Fr(t.layerStyles??ie),textStyles:Fr(t.textStyles??ie),animationStyles:Fr(t.animationStyles??ie),tokens:on(d,Object.keys(t.tokens??ie),(F,p)=>!F.extensions.conditions&&!p.includes("colorPalette")),semanticTokens:on(d,Object.keys(t.semanticTokens??ie),F=>!!F.extensions.conditions),keyframes:an(t.keyframes??ie),breakpoints:an(t.breakpoints??ie)};return{$$chakra:!0,_config:r,_global:le,breakpoints:c,tokens:d,conditions:f,utility:l,token:z,properties:v,layers:u,isValidProperty:g,splitCssProps:R,normalizeValue:k,getTokenCss:A,getGlobalCss:M,getPreflightCss:P,css:x,cva:w,sva:b,getRecipe:O,getSlotRecipe:J,hasRecipe:ne,isRecipe:re,isSlotRecipe:W,query:fe}}function Za(e){const r=new Map;return e.allTokens.forEach(t=>{const{cssVar:n,virtual:o,conditions:a}=t.extensions,s=a||o?n.ref:t.value;r.set(t.name,{value:s,variable:n.ref})}),r}const nn=e=>se(e)&&"value"in e,Fr=e=>({list(){return Object.keys(kt(e,nn))},search(r){return this.list().filter(t=>t.includes(r))}}),on=(e,r,t)=>({categoryKeys:r,list(n){return Array.from(e.categoryMap.get(n)?.entries()??[]).reduce((o,[a,s])=>(t(s,a)&&o.push(a),o),[])},search(n,o){return this.list(n).filter(a=>a.includes(o))}}),an=e=>({list(){return Object.keys(e)},search(r){return this.list().filter(t=>t.includes(r))}}),es=ht({className:"chakra-button",base:{display:"inline-flex",appearance:"none",alignItems:"center",justifyContent:"center",userSelect:"none",position:"relative",borderRadius:"l2",whiteSpace:"nowrap",verticalAlign:"middle",borderWidth:"1px",borderColor:"transparent",cursor:"button",flexShrink:"0",outline:"0",lineHeight:"1.2",isolation:"isolate",fontWeight:"medium",transitionProperty:"common",transitionDuration:"moderate",focusVisibleRing:"outside",_disabled:{layerStyle:"disabled"},_icon:{flexShrink:"0"}},variants:{size:{"2xs":{h:"6",minW:"6",textStyle:"xs",px:"2",gap:"1",_icon:{width:"3.5",height:"3.5"}},xs:{h:"8",minW:"8",textStyle:"xs",px:"2.5",gap:"1",_icon:{width:"4",height:"4"}},sm:{h:"9",minW:"9",px:"3.5",textStyle:"sm",gap:"2",_icon:{width:"4",height:"4"}},md:{h:"10",minW:"10",textStyle:"sm",px:"4",gap:"2",_icon:{width:"5",height:"5"}},lg:{h:"11",minW:"11",textStyle:"md",px:"5",gap:"3",_icon:{width:"5",height:"5"}},xl:{h:"12",minW:"12",textStyle:"md",px:"5",gap:"2.5",_icon:{width:"5",height:"5"}},"2xl":{h:"16",minW:"16",textStyle:"lg",px:"7",gap:"3",_icon:{width:"6",height:"6"}}},variant:{solid:{bg:"colorPalette.solid",color:"colorPalette.contrast",borderColor:"transparent",_hover:{bg:"colorPalette.solid/90"},_expanded:{bg:"colorPalette.solid/90"}},subtle:{bg:"colorPalette.subtle",color:"colorPalette.fg",borderColor:"transparent",_hover:{bg:"colorPalette.muted"},_expanded:{bg:"colorPalette.muted"}},surface:{bg:"colorPalette.subtle",color:"colorPalette.fg",shadow:"0 0 0px 1px var(--shadow-color)",shadowColor:"colorPalette.muted",_hover:{bg:"colorPalette.muted"},_expanded:{bg:"colorPalette.muted"}},outline:{borderWidth:"1px",borderColor:"colorPalette.muted",color:"colorPalette.fg",_hover:{bg:"colorPalette.subtle"},_expanded:{bg:"colorPalette.subtle"}},ghost:{bg:"transparent",color:"colorPalette.fg",_hover:{bg:"colorPalette.subtle"},_expanded:{bg:"colorPalette.subtle"}},plain:{color:"colorPalette.fg"}}},defaultVariants:{size:"md",variant:"solid"}}),sn=Ze("div",{base:{position:"absolute",display:"flex",alignItems:"center",justifyContent:"center"},variants:{axis:{horizontal:{insetStart:"50%",translate:"-50%",_rtl:{translate:"50%"}},vertical:{top:"50%",translate:"0 -50%"},both:{insetStart:"50%",top:"50%",translate:"-50% -50%",_rtl:{translate:"50% -50%"}}}},defaultVariants:{axis:"both"}});sn.displayName="AbsoluteCenter";const rs=e=>e?"":void 0,{withContext:ts}=bt({key:"spinner"}),ns=ts("span"),os=U.forwardRef(function(r,t){const{spinner:n=X.jsx(ns,{size:"inherit",borderWidth:"0.125em",color:"inherit"}),spinnerPlacement:o="start",children:a,text:s,visible:i=!0,...u}=r;return i?s?X.jsxs(er,{ref:t,display:"contents",...u,children:[o==="start"&&n,s,o==="end"&&n]}):n?X.jsxs(er,{ref:t,display:"contents",...u,children:[X.jsx(sn,{display:"inline-flex",children:n}),X.jsx(er,{visibility:"hidden",display:"contents",children:a})]}):X.jsx(er,{ref:t,display:"contents",...u,children:a}):a}),{useRecipeResult:as,usePropsContext:ss}=bt({key:"button"}),is=K.forwardRef(function(r,t){const n=ss(),o=K.useMemo(()=>yr(n,r),[n,r]),a=as(o),{loading:s,loadingText:i,children:u,spinner:d,spinnerPlacement:c,...f}=a.props;return X.jsx(Ze.button,{type:"button",ref:t,...f,"data-loading":rs(s),disabled:s||f.disabled,className:Se(a.className,o.className),css:[a.styles,o.css],children:!o.asChild&&s?X.jsx(os,{spinner:d,text:i,spinnerPlacement:c,children:u}):u})}),ls=e=>X.jsx(is,{...e}),cs=ht({className:"bitkit-button",base:{...es.base,cursor:"pointer",borderRadius:"sm",fontFamily:"sans",fontWeight:"semibold","&:focus-visible":{boxShadow:"0 0 0 2px {colors.purple.70}"},"&:disabled":{cursor:"not-allowed",opacity:.6}},variants:{variant:{primary:{bg:"button.primary.bg",color:"button.primary.fg",_hover:{bg:"button.primary.bgHover",color:"button.primary.fgHover",_disabled:{bg:"button.primary.bgDisabled",color:"button.primary.fgDisabled"}},_active:{bg:"button.primary.bgActive",color:"button.primary.fgActive"},_disabled:{bg:"button.primary.bgDisabled",color:"button.primary.fgDisabled"}},secondary:{bg:"button.secondary.bg",color:"button.secondary.fg",border:"1px solid",borderColor:"border.strong",borderWidth:"1px",borderStyle:"solid",_hover:{bg:"button.secondary.bgHover",color:"button.secondary.fgHover",borderColor:"border.strong",_disabled:{bg:"button.secondary.bgDisabled",color:"button.secondary.fgDisabled",borderColor:"border.strong"}},_active:{bg:"button.secondary.bgActive",color:"button.secondary.fgActive",borderColor:"border.strong"},_disabled:{bg:"button.secondary.bgDisabled",color:"button.secondary.fgDisabled",borderColor:"border.strong"}},tertiary:{bg:"transparent",color:"button.tertiary.fg",_hover:{bg:"button.tertiary.bgHover",color:"button.tertiary.fgHover",_disabled:{bg:"transparent",color:"button.tertiary.fgDisabled"}},_active:{bg:"button.tertiary.bgActive",color:"button.tertiary.fgActive"},_disabled:{bg:"transparent",color:"button.tertiary.fgDisabled"}},"danger-primary":{bg:"button.dangerPrimary.bg",color:"button.dangerPrimary.fg",_hover:{bg:"button.dangerPrimary.bgHover",color:"button.dangerPrimary.fgHover",_disabled:{bg:"button.dangerPrimary.bgDisabled",color:"button.dangerPrimary.fgDisabled"}},_active:{bg:"button.dangerPrimary.bgActive",color:"button.dangerPrimary.fgActive"},_disabled:{bg:"button.dangerPrimary.bgDisabled",color:"button.dangerPrimary.fgDisabled"}},"danger-secondary":{bg:"button.dangerSecondary.bg",color:"button.dangerSecondary.fg",border:"1px solid",borderColor:"button.dangerSecondary.border",borderWidth:"1px",borderStyle:"solid",_hover:{bg:"button.dangerSecondary.bgHover",color:"button.dangerSecondary.fgHover",borderColor:"button.dangerSecondary.borderHover",_disabled:{bg:"button.dangerSecondary.bgDisabled",color:"button.dangerSecondary.fgDisabled",borderColor:"button.dangerSecondary.borderDisabled"}},_active:{bg:"button.dangerSecondary.bgActive",color:"button.dangerSecondary.fgActive",borderColor:"button.dangerSecondary.borderActive"},_disabled:{bg:"button.dangerSecondary.bgDisabled",color:"button.dangerSecondary.fgDisabled",borderColor:"button.dangerSecondary.borderDisabled"}},"danger-tertiary":{bg:"transparent",color:"button.dangerTertiary.fg",_hover:{bg:"button.dangerTertiary.bgHover",color:"button.dangerTertiary.fgHover",_disabled:{bg:"transparent",color:"button.dangerTertiary.fgDisabled"}},_active:{bg:"button.dangerTertiary.bgActive",color:"button.dangerTertiary.fgActive"},_disabled:{bg:"transparent",color:"button.dangerTertiary.fgDisabled"}}},size:{sm:{fontSize:"sm",height:"32px",minWidth:"32px",paddingX:"3",paddingY:"2",lineHeight:"tight"},md:{fontSize:"sm",height:"40px",minWidth:"40px",paddingX:"4",paddingY:"2.5",lineHeight:"tight"},lg:{fontSize:"md",height:"48px",minWidth:"48px",paddingX:"6",paddingY:"3",lineHeight:"normal"}}},defaultVariants:{variant:"primary",size:"md"}}),Mr={theme:{tokens:vt({colors:{neutral:{100:{value:"#FFFFFF"},95:{value:"#F6F4F6"},93:{value:"#EFEBEF"},90:{value:"#DFDAE1"},80:{value:"#C9C1CD"},70:{value:"#AFA4B4"},60:{value:"#94879B"},50:{value:"#7D7184"},40:{value:"#6B6071"},30:{value:"#49404F"},20:{value:"#362D39"},10:{value:"#201B22"}},purple:{95:{value:"#F9F2FD"},93:{value:"#F3E7F9"},90:{value:"#EAD4F2"},80:{value:"#D5ADEB"},70:{value:"#C289E6"},60:{value:"#AE63DE"},50:{value:"#9247C2"},40:{value:"#7B3BA5"},30:{value:"#5C2A7E"},20:{value:"#421560"},10:{value:"#2B0E3F"}},blue:{95:{value:"#ECF8FD"},93:{value:"#DEF2FC"},90:{value:"#C2E7FA"},80:{value:"#99D1F5"},70:{value:"#71B8EF"},60:{value:"#4F9BDE"},50:{value:"#2582D0"},40:{value:"#1066AC"},30:{value:"#044781"},20:{value:"#00315C"},10:{value:"#002442"}},turquoise:{95:{value:"#E9FBF9"},93:{value:"#D8F8F4"},90:{value:"#AEEFE8"},80:{value:"#8AE0D7"},70:{value:"#55CEC3"},60:{value:"#11BBA9"},50:{value:"#009E8E"},40:{value:"#007366"},30:{value:"#005248"},20:{value:"#003D36"},10:{value:"#002924"}},green:{95:{value:"#EEF9F1"},93:{value:"#E1F4E7"},90:{value:"#C3EACE"},80:{value:"#A1DEB2"},70:{value:"#77CF8F"},60:{value:"#4EB76C"},50:{value:"#2A9D4C"},40:{value:"#167231"},30:{value:"#0B5620"},20:{value:"#064217"},10:{value:"#042A0F"}},yellow:{95:{value:"#FFF6D1"},93:{value:"#FFEFAD"},90:{value:"#FBE074"},80:{value:"#F9CC15"},70:{value:"#EBBA00"},60:{value:"#D6A200"},50:{value:"#B27E00"},40:{value:"#875B00"},30:{value:"#613E00"},20:{value:"#4D2F00"},10:{value:"#2E1C00"}},orange:{95:{value:"#FFF4E5"},93:{value:"#FFE9CF"},90:{value:"#FFD5A3"},80:{value:"#FFB766"},70:{value:"#FD9730"},60:{value:"#ED720C"},50:{value:"#D45202"},40:{value:"#A33500"},30:{value:"#7A2200"},20:{value:"#661900"},10:{value:"#421000"}},red:{95:{value:"#FFF0F3"},93:{value:"#FFE5EB"},90:{value:"#FFCCD5"},80:{value:"#FFA8B5"},70:{value:"#FF8091"},60:{value:"#F7596C"},50:{value:"#D72D40"},40:{value:"#A91E2E"},30:{value:"#78111C"},20:{value:"#630811"},10:{value:"#47060C"}},brand:{neutral:{white:{value:"#FFFFFF"},light:{value:"#DBDBDB"},dark:{value:"#7C7C7C"},black:{value:"#000000"}},purple:{lightest:{value:"#F6EAFF"},light:{value:"#DEB4FF"},mid:{value:"#6A3C98"},dark:{value:"#500E82"},darkest:{value:"#3D125F"}},blue:{lightest:{value:"#D7F5FF"},light:{value:"#88E3FF"},mid:{value:"#005FBE"},dark:{value:"#11258E"}},teal:{lightest:{value:"#DBFFFD"},light:{value:"#95FFEC"},mid:{value:"#10C0C0"},dark:{value:"#106375"}},green:{lightest:{value:"#DBFFF3"},light:{value:"#95FFCC"},mid:{value:"#0FC382"},dark:{value:"#107557"}},yellow:{lightest:{value:"#FFF4CD"},light:{value:"#FFE27F"},mid:{value:"#FFC500"}},orange:{light:{value:"#FFD7C9"},mid:{value:"#FFA17F"},dark:{value:"#FF4400"}},red:{light:{value:"#FFD0EC"},mid:{value:"#FF9CD8"},dark:{value:"#E5113C"}}},transparent:{value:"transparent"}},fonts:{sans:{value:"Figtree, system-ui, sans-serif"},mono:{value:"Source Code Pro, Consolas, Monaco, monospace"},body:{value:"Figtree, system-ui, sans-serif"},heading:{value:"Figtree, system-ui, sans-serif"}},fontSizes:{xs:{value:"12px"},sm:{value:"14px"},md:{value:"16px"},lg:{value:"18px"},xl:{value:"20px"},"2xl":{value:"24px"}},fontWeights:{normal:{value:"400"},medium:{value:"500"},semibold:{value:"600"},bold:{value:"700"}},lineHeights:{tight:{value:"1.25"},normal:{value:"1.5"},relaxed:{value:"1.75"}},radii:{none:{value:"0"},sm:{value:"4px"},md:{value:"6px"},lg:{value:"8px"},xl:{value:"12px"},full:{value:"9999px"}},spacing:{1:{value:"4px"},2:{value:"8px"},3:{value:"12px"},4:{value:"16px"},5:{value:"20px"},6:{value:"24px"},8:{value:"32px"},10:{value:"40px"},12:{value:"48px"},16:{value:"64px"}},globalCss:{"html, body":{fontFamily:{value:"{fonts.body}"},color:{value:"{colors.text.body}"}}}}),semanticTokens:{colors:vt.colors({sys:{fg:{base:{value:"{colors.neutral.10}"},primary:{value:"{colors.purple.10}"},secondary:{value:"{colors.neutral.40}"},tertiary:{value:"{colors.neutral.60}"},subtle:{value:"{colors.neutral.70}"},minimal:{value:"{colors.neutral.80}"},positive:{value:"{colors.green.50}"},negative:{value:"{colors.red.50}"},onColor:{value:"{colors.neutral.100}"},onContrast:{value:"{colors.neutral.95}"},onDisabled:{value:"{colors.neutral.70}"},disabled:{value:"{colors.neutral.80}"}},primary:{base:{value:"{colors.purple.40}"},emphasized:{value:"{colors.purple.30}"},muted:{value:"{colors.purple.80}"},subtle:{value:"{colors.purple.93}"},disabled:{value:"{colors.neutral.90}"}},interactive:{base:{value:"{colors.purple.50}"},strong:{value:"{colors.purple.40}"},bold:{value:"{colors.purple.60}"},highlight:{value:"{colors.purple.70}"},muted:{value:"{colors.purple.80}"},moderate:{value:"{colors.purple.90}"},subtle:{value:"{colors.purple.93}"},minimal:{value:"{colors.purple.95}"},disabled:{value:"{colors.neutral.90}"}},neutral:{base:{value:"{colors.neutral.50}"},strong:{value:"{colors.neutral.40}"},bold:{value:"{colors.neutral.60}"},muted:{value:"{colors.neutral.80}"},moderate:{value:"{colors.neutral.90}"},subtle:{value:"{colors.neutral.93}"},minimal:{value:"{colors.neutral.95}"}},bg:{surface:{value:"{colors.neutral.100}"},contrast:{value:"{colors.neutral.10}"},moderate:{value:"{colors.neutral.90}"},subtle:{value:"{colors.neutral.93}"},minimal:{value:"{colors.neutral.95}"},disabled:{value:"{colors.neutral.95}"},transparent:{value:"transparent"}},border:{minimal:{value:"{colors.neutral.93}"},subtle:{value:"{colors.neutral.90}"},strong:{value:"{colors.neutral.80}"},emphasized:{value:"{colors.neutral.70}"},critical:{value:"{colors.red.50}"},onContrast:{value:"{colors.neutral.95}"},disabled:{value:"{colors.neutral.90}"}},info:{base:{value:"{colors.blue.50}"},strong:{value:"{colors.blue.40}"},bold:{value:"{colors.blue.60}"},muted:{value:"{colors.blue.80}"},moderate:{value:"{colors.blue.90}"},subtle:{value:"{colors.blue.93}"},minimal:{value:"{colors.blue.95}"}},success:{base:{value:"{colors.green.50}"},strong:{value:"{colors.green.40}"},bold:{value:"{colors.green.60}"},muted:{value:"{colors.green.80}"},moderate:{value:"{colors.green.90}"},subtle:{value:"{colors.green.93}"},minimal:{value:"{colors.green.95}"}},warning:{base:{value:"{colors.yellow.50}"},strong:{value:"{colors.yellow.40}"},bold:{value:"{colors.yellow.60}"},muted:{value:"{colors.yellow.80}"},moderate:{value:"{colors.yellow.90}"},subtle:{value:"{colors.yellow.93}"},minimal:{value:"{colors.yellow.95}"}},critical:{base:{value:"{colors.red.50}"},dark:{value:"{colors.red.20}"},strong:{value:"{colors.red.40}"},bold:{value:"{colors.red.60}"},muted:{value:"{colors.red.80}"},moderate:{value:"{colors.red.90}"},subtle:{value:"{colors.red.93}"},minimal:{value:"{colors.red.95}"}}},button:{primary:{bg:{value:"{colors.purple.40}"},bgHover:{value:"{colors.purple.30}"},bgActive:{value:"{colors.purple.60}"},bgDisabled:{value:"{colors.neutral.90}"},fg:{value:"{colors.neutral.100}"},fgHover:{value:"{colors.neutral.100}"},fgActive:{value:"{colors.neutral.100}"},fgDisabled:{value:"{colors.neutral.70}"}},secondary:{bg:{value:"{colors.neutral.100}"},bgHover:{value:"{colors.neutral.93}"},bgActive:{value:"{colors.purple.93}"},bgDisabled:{value:"{colors.neutral.95}"},border:{value:"{colors.neutral.80}"},borderHover:{value:"{colors.neutral.70}"},borderActive:{value:"{colors.purple.40}"},borderDisabled:{value:"{colors.neutral.90}"},fg:{value:"{colors.purple.10}"},fgHover:{value:"{colors.purple.10}"},fgActive:{value:"{colors.purple.40}"},fgDisabled:{value:"{colors.neutral.80}"}},tertiary:{bg:{value:"transparent"},bgHover:{value:"{colors.neutral.93}"},bgActive:{value:"{colors.purple.95}"},bgDisabled:{value:"transparent"},fg:{value:"{colors.purple.50}"},fgHover:{value:"{colors.purple.40}"},fgActive:{value:"{colors.purple.30}"},fgDisabled:{value:"{colors.neutral.80}"}},dangerPrimary:{bg:{value:"{colors.red.50}"},bgHover:{value:"{colors.red.40}"},bgActive:{value:"{colors.red.20}"},bgDisabled:{value:"{colors.neutral.90}"},fg:{value:"{colors.neutral.100}"},fgHover:{value:"{colors.neutral.100}"},fgActive:{value:"{colors.neutral.100}"},fgDisabled:{value:"{colors.neutral.70}"}},dangerSecondary:{bg:{value:"{colors.neutral.100}"},bgHover:{value:"{colors.red.95}"},bgActive:{value:"{colors.red.90}"},bgDisabled:{value:"{colors.neutral.95}"},border:{value:"{colors.red.50}"},borderHover:{value:"{colors.red.50}"},borderActive:{value:"{colors.red.40}"},borderDisabled:{value:"{colors.neutral.80}"},fg:{value:"{colors.red.50}"},fgHover:{value:"{colors.red.50}"},fgActive:{value:"{colors.red.40}"},fgDisabled:{value:"{colors.neutral.80}"}},dangerTertiary:{bg:{value:"transparent"},bgHover:{value:"{colors.red.95}"},bgActive:{value:"{colors.red.90}"},bgDisabled:{value:"transparent"},fg:{value:"{colors.red.50}"},fgHover:{value:"{colors.red.50}"},fgActive:{value:"{colors.red.40}"},fgDisabled:{value:"{colors.neutral.80}"}}},input:{text:{label:{value:"{colors.purple.10}"},value:{value:"{colors.neutral.10}"},placeholder:{value:"{colors.neutral.70}"},error:{value:"{colors.red.50}"}},checkbox:{selection:{value:"{colors.purple.50}"},selectionDisabled:{value:"{colors.neutral.90}"}},toggle:{frameOn:{value:"{colors.green.60}"},frameOff:{value:"{colors.neutral.60}"}}},text:{primary:{value:"{colors.purple.10}"},secondary:{value:"{colors.neutral.40}"},tertiary:{value:"{colors.neutral.60}"},body:{value:"{colors.neutral.10}"},helper:{value:"{colors.neutral.40}"},positive:{value:"{colors.green.50}"},negative:{value:"{colors.red.50}"},link:{value:"{colors.purple.50}"},linkHover:{value:"{colors.purple.40}"},onColor:{value:"{colors.neutral.100}"},onContrast:{value:"{colors.neutral.95}"},onDisabled:{value:"{colors.neutral.70}"},disabled:{value:"{colors.neutral.80}"}},icon:{primary:{value:"{colors.purple.10}"},secondary:{value:"{colors.neutral.40}"},tertiary:{value:"{colors.neutral.60}"},positive:{value:"{colors.green.50}"},negative:{value:"{colors.red.50}"},interactive:{value:"{colors.purple.50}"},interactiveHover:{value:"{colors.purple.40}"},onColor:{value:"{colors.neutral.100}"},onContrast:{value:"{colors.neutral.95}"},onDisabled:{value:"{colors.neutral.70}"},disabled:{value:"{colors.neutral.80}"}},background:{primary:{value:"{colors.neutral.100}"},secondary:{value:"{colors.neutral.95}"},tertiary:{value:"{colors.neutral.93}"},hover:{value:"{colors.neutral.93}"},active:{value:"{colors.neutral.90}"},selected:{value:"{colors.purple.95}"},selectedHover:{value:"{colors.purple.93}"},contrast:{value:"{colors.neutral.10}"},disabled:{value:"{colors.neutral.95}"}},border:{regular:{value:"{colors.neutral.90}"},minimal:{value:"{colors.neutral.93}"},strong:{value:"{colors.neutral.80}"},hover:{value:"{colors.neutral.70}"},focus:{value:"{colors.purple.70}"},selected:{value:"{colors.purple.50}"},error:{value:"{colors.red.50}"},onContrast:{value:"{colors.neutral.95}"},disabled:{value:"{colors.neutral.90}"}},utilities:{overlay:{value:"{colors.neutral.10}"},overlayLight:{value:"{colors.neutral.10}"},skeleton:{value:"{colors.neutral.93}"},skeletonStrong:{value:"{colors.neutral.80}"}}})},recipes:{button:cs}}},ln=tn(Go,Mr),us=({children:e,theme:r})=>X.jsx(yo,{value:r?tn(Mr,r):ln,children:e});pe.BitkitProvider=us,pe.Button=ls,pe.bitriseSystem=ln,pe.bitriseTheme=Mr,Object.defineProperty(pe,Symbol.toStringTag,{value:"Module"})});
38
+ )+\\(\\s*min(-device)?-${e}`,"i"),max:new RegExp(`\\(\\s*max(-device)?-${e}`,"i")}),Wf=Ps("width"),Bf=Ps("height"),Vs=e=>({isMin:Ms(e.minMax,e.maxMin,e.min),isMax:Ms(e.maxMin,e.minMax,e.max)}),{isMin:$r,isMax:As}=Vs(Wf),{isMin:Dr,isMax:_s}=Vs(Bf),Ns=/print/i,Fs=/^print$/i,zf=/(-?\d*\.?\d+)(ch|em|ex|px|rem)/,jf=/(\d)/,zt=Number.MAX_VALUE,Gf={ch:8.8984375,em:16,rem:16,ex:8.296875,px:1};function Ls(e){const t=zf.exec(e)||($r(e)||Dr(e)?jf.exec(e):null);if(!t)return zt;if(t[0]==="0")return 0;const n=parseFloat(t[1]),r=t[2];return n*(Gf[r]||1)}function Ms(e,t,n){return r=>e.test(r)||!t.test(r)&&n.test(r)}function Uf(e,t){const n=Ns.test(e),r=Fs.test(e),o=Ns.test(t),i=Fs.test(t);return n&&o?!r&&i?1:r&&!i?-1:e.localeCompare(t):n?1:o?-1:null}const Yf=we((e,t)=>{const n=Uf(e,t);if(n!==null)return n;const r=$r(e)||Dr(e),o=As(e)||_s(e),i=$r(t)||Dr(t),s=As(t)||_s(t);if(r&&s)return-1;if(o&&i)return 1;const a=Ls(e),l=Ls(t);return a===zt&&l===zt?e.localeCompare(t):a===zt?1:l===zt?-1:a!==l?a>l?o?-1:1:o?1:-1:e.localeCompare(t)});function $s(e){return e.sort(([t],[n])=>Yf(t,n))}function Ds(e){const t=[],n=[],r={};for(const[s,a]of Object.entries(e))s.startsWith("@media")?t.push([s,a]):s.startsWith("@container")?n.push([s,a]):fe(a)?r[s]=Ds(a):r[s]=a;const o=$s(t),i=$s(n);return{...r,...Object.fromEntries(o),...Object.fromEntries(i)}}const Hs=/\s*!(important)?/i,qf=e=>Me(e)?Hs.test(e):!1,Xf=e=>Me(e)?e.replace(Hs,"").trim():e;function Ws(e){const{transform:t,conditions:n,normalize:r}=e,o=Qf(e);return we(function(...s){const a=o(...s),l=r(a),c=Object.create(null);return Le(l,(u,g)=>{const d=qf(u);if(u==null)return;const[f,...m]=n.sort(g).map(n.resolve);d&&(u=Xf(u));let h=t(f,u)??Object.create(null);h=Le(h,y=>Me(y)&&d?`${y} !important`:y,{getKey:y=>n.expandAtRule(y)}),Kf(c,m.flat(),h)}),Ds(c)})}function Kf(e,t,n){let r=e;for(const o of t)o&&(r[o]||(r[o]=Object.create(null)),r=r[o]);yt(r,n)}function Jf(...e){return e.filter(t=>fe(t)&&Object.keys(tn(t)).length>0)}function Qf(e){function t(n){const r=Jf(...n);return r.length===1?r:r.map(o=>e.normalize(o))}return we(function(...r){return yt({},...t(r))})}const Bs=e=>({base:{},variants:{},defaultVariants:{},compoundVariants:[],...e});function Zf(e){const{css:t,conditions:n,normalize:r,layers:o}=e;function i(a={}){const{base:l,variants:c,defaultVariants:u,compoundVariants:g}=Bs(a),d=Ws({conditions:n,normalize:r,transform(b,p){return c[b]?.[p]}}),f=(b={})=>{const p=r({...u,...tn(b)});let S={...l};yt(S,d(p));const v=s(g,p);return o.wrap("recipes",t(S,v))},m=Object.keys(c),h=b=>{const p=ps(b,["recipe"]),[S,v]=Gn(p,m);return m.includes("colorPalette")||(S.colorPalette=b.colorPalette||u.colorPalette),m.includes("orientation")&&(v.orientation=b.orientation),[S,v]},y=Object.fromEntries(Object.entries(c).map(([b,p])=>[b,Object.keys(p)]));return Object.assign(b=>t(f(b)),{className:a.className,__cva__:!0,variantMap:y,variantKeys:m,raw:f,config:a,splitVariantProps:h,merge(b){return i(eh(e)(this,b))}})}function s(a,l){let c={};return a.forEach(u=>{Object.entries(u).every(([d,f])=>d==="css"?!0:(Array.isArray(f)?f:[f]).some(h=>l[d]===h))&&(c=t(c,u.css))}),c}return i}function eh(e){const{css:t}=e;return function(r,o){const i=Bs(o.config),s=gl(r.variantKeys,Object.keys(o.variants)),a=t(r.base,i.base),l=Object.fromEntries(s.map(d=>[d,t(r.config.variants[d],i.variants[d])])),c=yt(r.config.defaultVariants,i.defaultVariants),u=[...r.compoundVariants,...i.compoundVariants];return{className:dl(r.className,o.className),base:a,variants:l,defaultVariants:c,compoundVariants:u}}}const th={reset:"reset",base:"base",tokens:"tokens",recipes:"recipes"},zs={reset:0,base:1,tokens:2,recipes:3};function nh(e){const t=e.layers??th,r=Object.values(t).sort((o,i)=>zs[o]-zs[i]);return{names:r,atRule:`@layer ${r.join(", ")};`,wrap(o,i){return e.disableLayers?i:{[`@layer ${t[o]}`]:i}}}}function rh(e){const{utility:t,normalize:n}=e,{hasShorthand:r,resolveShorthand:o}=t;return function(i){return Le(i,n,{stop:s=>Array.isArray(s),getKey:r?o:void 0})}}function oh(e){const{preflight:t}=e;if(!t)return{};const{scope:n="",level:r="parent"}=fe(t)?t:{};let o="";n&&r==="parent"?o=`${n} `:n&&r==="element"&&(o=`&${n}`);const i={"*":{margin:"0px",padding:"0px",font:"inherit",wordWrap:"break-word",WebkitTapHighlightColor:"transparent"},"*, *::before, *::after, *::backdrop":{boxSizing:"border-box",borderWidth:"0px",borderStyle:"solid",borderColor:"var(--global-color-border, currentColor)"},hr:{height:"0px",color:"inherit",borderTopWidth:"1px"},body:{minHeight:"100dvh",position:"relative"},img:{borderStyle:"none"},"img, svg, video, canvas, audio, iframe, embed, object":{display:"block",verticalAlign:"middle"},iframe:{border:"none"},"img, video":{maxWidth:"100%",height:"auto"},"p, h1, h2, h3, h4, h5, h6":{overflowWrap:"break-word"},"ol, ul":{listStyle:"none"},"code, kbd, pre, samp":{fontSize:"1em"},"button, [type='button'], [type='reset'], [type='submit']":{WebkitAppearance:"button",backgroundColor:"transparent",backgroundImage:"none"},"button, input, optgroup, select, textarea":{color:"inherit"},"button, select":{textTransform:"none"},table:{textIndent:"0px",borderColor:"inherit",borderCollapse:"collapse"},"*::placeholder":{opacity:"unset",color:"#9ca3af",userSelect:"none"},textarea:{resize:"vertical"},summary:{display:"list-item"},small:{fontSize:"80%"},"sub, sup":{fontSize:"75%",lineHeight:0,position:"relative",verticalAlign:"baseline"},sub:{bottom:"-0.25em"},sup:{top:"-0.5em"},dialog:{padding:"0px"},a:{color:"inherit",textDecoration:"inherit"},"abbr:where([title])":{textDecoration:"underline dotted"},"b, strong":{fontWeight:"bolder"},"code, kbd, samp, pre":{fontSize:"1em","--font-mono-fallback":"ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New'",fontFamily:"var(--global-font-mono, var(--font-mono-fallback))"},'input[type="text"], input[type="email"], input[type="search"], input[type="password"]':{WebkitAppearance:"none",MozAppearance:"none"},"input[type='search']":{WebkitAppearance:"textfield",outlineOffset:"-2px"},"::-webkit-search-decoration, ::-webkit-search-cancel-button":{WebkitAppearance:"none"},"::-webkit-file-upload-button":{WebkitAppearance:"button",font:"inherit"},'input[type="number"]::-webkit-inner-spin-button, input[type="number"]::-webkit-outer-spin-button':{height:"auto"},"input[type='number']":{MozAppearance:"textfield"},":-moz-ui-invalid":{boxShadow:"none"},":-moz-focusring":{outline:"auto"},"[hidden]:where(:not([hidden='until-found']))":{display:"none !important"}},s={[n||"html"]:{lineHeight:1.5,"--font-fallback":"ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'",WebkitTextSizeAdjust:"100%",WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",textRendering:"optimizeLegibility",touchAction:"manipulation",MozTabSize:"4",tabSize:"4",fontFamily:"var(--global-font-body, var(--font-fallback))"}};if(r==="element"){const a=Object.entries(i).reduce((l,[c,u])=>(l[c]={[o]:u},l),{});Object.assign(s,a)}else o?s[o]=i:Object.assign(s,i);return s}function ih(e){const{conditions:t,isValidProperty:n}=e;return function(o){return Le(o,i=>i,{getKey:(i,s)=>fe(s)&&!t.has(i)&&!n(i)?sh(i).map(a=>"&"+a).join(", "):i})}}function sh(e){const t=[];let n=0,r="",o=!1;for(let i=0;i<e.length;i++){const s=e[i];if(s==="\\"&&!o){o=!0,r+=s;continue}if(o){o=!1,r+=s;continue}s==="("?n++:s===")"&&n--,s===","&&n===0?(t.push(r.trim()),r=""):r+=s}return r&&t.push(r.trim()),t}const ah=(e={})=>{const t=o=>({base:e.base?.[o]??{},variants:{},defaultVariants:e.defaultVariants??{},compoundVariants:e.compoundVariants?lh(e.compoundVariants,o):[]}),r=(e.slots??[]).map(o=>[o,t(o)]);for(const[o,i]of Object.entries(e.variants??{}))for(const[s,a]of Object.entries(i))r.forEach(([l,c])=>{var u;(u=c.variants)[o]??(u[o]={}),c.variants[o][s]=a[l]??{}});return Object.fromEntries(r)},lh=(e,t)=>e.filter(n=>n.css[t]).map(n=>({...n,css:n.css[t]}));function ch(e){const{cva:t}=e;return function(r={}){const o=Object.entries(ah(r)).map(([g,d])=>[g,t(d)]);function i(g){const d=o.map(([f,m])=>[f,m(g)]);return Object.fromEntries(d)}const s=r.variants??{},a=Object.keys(s);function l(g){const d=ps(g,["recipe"]),[f,m]=Gn(d,a);return a.includes("colorPalette")||(f.colorPalette=g.colorPalette||r.defaultVariants?.colorPalette),a.includes("orientation")&&(m.orientation=g.orientation),[f,m]}const c=Object.fromEntries(Object.entries(s).map(([g,d])=>[g,Object.keys(d)]));let u={};return r.className&&(u=Object.fromEntries(r.slots.map(g=>[g,`${r.className}__${g}`]))),Object.assign(i,{variantMap:c,variantKeys:a,splitVariantProps:l,classNameMap:u})}}const uh=()=>e=>Array.from(new Set(e)),dh=/([\0-\x1f\x7f]|^-?\d)|^-$|^-|[^\x80-\uFFFF\w-]/g,gh=function(e,t){return t?e==="\0"?"�":e==="-"&&e.length===1?"\\-":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16):"\\"+e},js=e=>(e+"").replace(dh,gh),Gs=(e,t)=>{let n="",r=0,o="char",i="",s="";const a=[];for(;r<e.length;){const l=e[r];if(l==="{"){const u=e.indexOf("}",r);if(u===-1)break;const g=e.slice(r+1,u),d=t(g);n+=d??g,r=u+1;continue}if(o==="token"&&l===","){e[r]===""&&r++,o="fallback",a.push(o);const u=t(i);u?.endsWith(")")&&(n+=u.slice(0,-1)),i="",s="";continue}if(o==="fallback"&&s+l===", var("){const d=fh(e.slice(r+1))+r+1,f=e.slice(r+1,d);if(d===-1)break;n+=", var("+f+")",r=d+1,o=a.pop()??o,s="";continue}if(o==="token"||o==="fallback"){if(r++,l===")"){o=a.pop()??o??"char",s+=l;const u=i&&(t(i)??js(i));if(s){if(s=s.slice(1).trim(),!s.startsWith("token(")&&s.endsWith(")")&&(s=s.slice(0,-1)),s.includes("token(")){const d=Gs(s,t);d&&(s=d.slice(0,-1))}else if(s){const d=t(s);d&&(s=d)}}const g=n.at(-1);s?g?.trim()?n+=u.slice(0,-1)+(", "+s+")"):n+=s:n+=u||")",i="",s="",o="char";continue}o==="token"&&(i+=l),o==="fallback"&&(s+=l);continue}const c=e.indexOf("token(",r);if(c!==-1){const u=c+6;n+=e.slice(r,c),r=u,o="token",a.push(o);continue}n+=l,r++}return n},fh=e=>{let t=0;const n=["("];for(;t<e.length;){const r=e[t];if(r==="(")n.push(r);else if(r===")"&&(n.pop(),n.length===0))return t;t++}return t};function Us(e){const t={};return e.forEach((n,r)=>{n instanceof Map?t[r]=Object.fromEntries(n):t[r]=n}),t}const Ys=/({([^}]*)})/g,hh=/[{}]/g,mh=/\w+\.\w+/,qs=e=>{if(!Me(e))return[];const t=e.match(Ys);return t?t.map(n=>n.replace(hh,"")).map(n=>n.trim()):[]},ph=e=>Ys.test(e);function Xs(e){if(!e.extensions?.references)return e.extensions?.cssVar?.ref??e.value;const t=e.extensions.references??{};return e.value=Object.keys(t).reduce((n,r)=>{const o=t[r];if(o.extensions.conditions)return n;const i=Xs(o);return n.replace(`{${r}}`,i)},e.value),delete e.extensions.references,e.value}function Ks(e){return fe(e)&&e.reference?e.reference:String(e)}const Vn=(e,...t)=>t.map(Ks).join(` ${e} `).replace(/calc/g,""),Js=(...e)=>`calc(${Vn("+",...e)})`,Qs=(...e)=>`calc(${Vn("-",...e)})`,Hr=(...e)=>`calc(${Vn("*",...e)})`,Zs=(...e)=>`calc(${Vn("/",...e)})`,ea=e=>{const t=Ks(e);return t!=null&&!Number.isNaN(parseFloat(t))?String(t).startsWith("-")?String(t).slice(1):`-${t}`:Hr(t,-1)},Ct=Object.assign(e=>({add:(...t)=>Ct(Js(e,...t)),subtract:(...t)=>Ct(Qs(e,...t)),multiply:(...t)=>Ct(Hr(e,...t)),divide:(...t)=>Ct(Zs(e,...t)),negate:()=>Ct(ea(e)),toString:()=>e.toString()}),{add:Js,subtract:Qs,multiply:Hr,divide:Zs,negate:ea}),vh={enforce:"pre",transform(e){const{prefix:t,allTokens:n,formatCssVar:r,formatTokenName:o,registerToken:i}=e;n.filter(({extensions:a})=>a.category==="spacing").forEach(a=>{const l=a.path.slice(),c=r(l,t);if(Me(a.value)&&a.value==="0rem")return;const u=structuredClone(a);Object.assign(u.extensions,{negative:!0,prop:`-${a.extensions.prop}`,originalPath:l}),u.value=Ct.negate(c.ref);const g=u.path[u.path.length-1];g!=null&&(u.path[u.path.length-1]=`-${g}`),u.path&&(u.name=o(u.path)),i(u)})}},bh=new Set(["spacing","sizes","borderWidths","fontSizes","radii"]),yh=[vh,{enforce:"post",transform(e){const{allTokens:t,registerToken:n,formatTokenName:r}=e,o=t.filter(({extensions:a})=>a.category==="colors"),i=new Map,s=new Map;o.forEach(a=>{const{colorPalette:l}=a.extensions;l&&(l.keys.forEach(c=>{i.set(r(c),c)}),l.roots.forEach(c=>{const u=r(c),g=s.get(u)||[];if(g.push(a),s.set(u,g),a.extensions.default&&c.length===1){const d=l.keys[0]?.filter(Boolean);if(!d.length)return;const f=c.concat(d);i.set(r(f),[])}}))}),i.forEach(a=>{const l=["colors","colorPalette",...a].filter(Boolean),c=r(l),u=r(l.slice(1));n({name:c,value:c,originalValue:c,path:l,extensions:{condition:"base",originalPath:l,category:"colors",prop:u,virtual:!0}},"pre")})}},{enforce:"post",transform(e){e.allTokens.filter(n=>bh.has(n.extensions.category)&&!n.extensions.negative).forEach(n=>{Object.assign(n.extensions,{pixelValue:Ts(n.value)})})}},{enforce:"post",transform(e){e.allTokens=e.allTokens.filter(t=>t.value!=="")}}],Eh=[{type:"extensions",enforce:"pre",name:"tokens/css-var",transform(e,t){const{prefix:n,formatCssVar:r}=t,{negative:o,originalPath:i}=e.extensions,s=o?i:e.path;return{cssVar:r(s.filter(Boolean),n)}}},{enforce:"post",type:"value",name:"tokens/conditionals",transform(e,t){const{prefix:n,formatCssVar:r}=t,o=qs(e.value);return o.length&&o.forEach(i=>{const s=r(i.split("."),n);e.value=e.value.replace(`{${s.ref}}`,s)}),e.value}},{type:"extensions",enforce:"pre",name:"tokens/colors/colorPalette",match(e){return e.extensions.category==="colors"&&!e.extensions.virtual},transform(e,t){let n=e.path.slice();if(n.pop(),n.shift(),n.length===0){const a=[...e.path];a.shift(),n=a}if(n.length===0)return{};const r=n.reduce((a,l,c,u)=>{const g=u.slice(0,c+1);return a.push(g),a},[]),o=n[0],i=t.formatTokenName(n),s=e.path.slice(e.path.indexOf(o)+1).reduce((a,l,c,u)=>(a.push(u.slice(c)),a),[]);return s.length===0&&s.push([""]),{colorPalette:{value:i,roots:r,keys:s}}}}],ta=e=>fe(e)&&Object.prototype.hasOwnProperty.call(e,"value");function Oh(e){return e?{breakpoints:lf(e,t=>({value:t})),sizes:Object.fromEntries(Object.entries(e).map(([t,n])=>[`breakpoint-${t}`,{value:n}]))}:{breakpoints:{},sizes:{}}}function Ch(e){const{prefix:t="",tokens:n={},semanticTokens:r={},breakpoints:o={}}=e,i=C=>C.join("."),s=(C,I)=>Os(C.join("-"),{prefix:I}),a=[],l=new Map,c=new Map,u=new Map,g=new Map,d=new Map,f=new Map,m=new Map,h=new Map,y=[];function E(C,I){a.push(C),l.set(C.name,C),I&&h.forEach(N=>{N.enforce===I&&O(N,C)})}const b=Oh(o),p=tn({...n,breakpoints:b.breakpoints,sizes:{...n.sizes,...b.sizes}});function S(){Le(p,(C,I)=>{const N=I.includes("DEFAULT");I=na(I);const U=I[0],x=i(I),ee=Me(C)?{value:C}:C,pe={value:ee.value,originalValue:ee.value,name:x,path:I,extensions:{condition:"base",originalPath:I,category:U,prop:i(I.slice(1))}};N&&(pe.extensions.default=!0),E(pe)},{stop:ta}),Le(r,(C,I)=>{const N=I.includes("DEFAULT");I=ra(na(I));const U=I[0],x=i(I),ee=Me(C.value)?{value:{base:C.value}}:C,pe={value:ee.value.base||"",originalValue:ee.value.base||"",name:x,path:I,extensions:{originalPath:I,category:U,conditions:ee.value,condition:"base",prop:i(I.slice(1))}};N&&(pe.extensions.default=!0),E(pe)},{stop:ta})}function v(C){return l.get(C)}function T(C){const{condition:I}=C.extensions;I&&(c.has(I)||c.set(I,new Set),c.get(I).add(C))}function R(C){const{category:I,prop:N}=C.extensions;I&&(m.has(I)||m.set(I,new Map),m.get(I).set(N,C))}function w(C){const{condition:I,negative:N,virtual:U,cssVar:x}=C.extensions;N||U||!I||!x||(u.has(I)||u.set(I,new Map),u.get(I).set(x.var,C.value))}function k(C){const{category:I,prop:N,cssVar:U,negative:x}=C.extensions;if(!I)return;f.has(I)||f.set(I,new Map);const ee=x?C.extensions.conditions?C.originalValue:C.value:U.ref;f.get(I).set(N,ee),d.set([I,N].join("."),ee)}function P(C){const{colorPalette:I,virtual:N,default:U}=C.extensions;!I||N||I.roots.forEach(x=>{const ee=i(x);g.has(ee)||g.set(ee,new Map);const pe=Ih([...C.path],[...x]),rt=i(pe),zr=v(rt);if(!zr||!zr.extensions.cssVar)return;const{var:sm}=zr.extensions.cssVar;if(g.get(ee).set(sm,C.extensions.cssVar.ref),U&&x.length===1){const am=i(["colors","colorPalette"]),ca=v(am);if(!ca)return;const lm=i(C.path),ua=v(lm);if(!ua)return;const da=I.keys[0]?.filter(Boolean);if(!da.length)return;const jr=i(x.concat(da));g.has(jr)||g.set(jr,new Map),g.get(jr).set(ca.extensions.cssVar.var,ua.extensions.cssVar.ref)}})}let D={};function L(){a.forEach(C=>{T(C),R(C),w(C),k(C),P(C)}),D=Us(f)}const J=(C,I)=>{if(!C||typeof C!="string")return{invalid:!0,value:C};const[N,U]=C.split("/");if(!N||!U)return{invalid:!0,value:N};const x=I(N),ee=v(`opacity.${U}`)?.value;if(!ee&&isNaN(Number(U)))return{invalid:!0,value:N};const pe=ee?Number(ee)*100+"%":`${U}%`,rt=x??N;return{invalid:!1,color:rt,value:`color-mix(in srgb, ${rt} ${pe}, transparent)`}},G=we((C,I)=>d.get(C)??I),ae=we(C=>D[C]||null),ie=we(C=>Gs(C,I=>{if(!I)return;if(I.includes("/")){const U=J(I,x=>G(x));if(U.invalid)throw new Error("Invalid color mix at "+I+": "+U.value);return U.value}const N=G(I);return N||(mh.test(I)?js(I):I)})),Q={prefix:t,allTokens:a,tokenMap:l,registerToken:E,getByName:v,formatTokenName:i,formatCssVar:s,flatMap:d,cssVarMap:u,categoryMap:m,colorPaletteMap:g,getVar:G,getCategoryValues:ae,expandReferenceInValue:ie};function Z(...C){C.forEach(I=>{h.set(I.name,I)})}function V(...C){y.push(...C)}function O(C,I){if(I.extensions.references||jn(C.match)&&!C.match(I))return;const U=(x=>C.transform(x,Q))(I);switch(!0){case C.type==="extensions":Object.assign(I.extensions,U);break;case C.type==="value":I.value=U;break;default:I[C.type]=U;break}}function A(C){y.forEach(I=>{I.enforce===C&&I.transform(Q)})}function M(C){h.forEach(I=>{I.enforce===C&&a.forEach(N=>{O(I,N)})})}function X(){a.forEach(C=>{const I=Sh(C);!I||I.length===0||I.forEach(N=>{E(N)})})}function ue(C){return qs(C).map(N=>v(N)).filter(Boolean)}function ne(){a.forEach(C=>{if(!ph(C.value))return;const I=ue(C.value);C.extensions.references=I.reduce((N,U)=>(N[U.name]=U,N),{})})}function ze(){a.forEach(C=>{Xs(C)})}function nt(){A("pre"),M("pre"),X(),ne(),ze(),A("post"),M("post"),L()}return S(),Z(...Eh),V(...yh),nt(),Q}function na(e){return e[0]==="DEFAULT"?e:e.filter(t=>t!=="DEFAULT")}function ra(e){return e.filter(t=>t!=="base")}function Sh(e){if(!e.extensions.conditions)return;const{conditions:t}=e.extensions,n=[];return Le(t,(r,o)=>{const i=ra(o);if(!i.length)return;const s=structuredClone(e);s.value=r,s.extensions.condition=i.join(":"),n.push(s)}),n}function Ih(e,t){const n=e.findIndex((r,o)=>t.every((i,s)=>e[o+s]===i));return n===-1||(e.splice(n,t.length),e.splice(n,0,"colorPalette")),e}uh()(["aspectRatios","zIndex","opacity","colors","fonts","fontSizes","fontWeights","lineHeights","letterSpacings","sizes","shadows","spacing","radii","cursor","borders","borderWidths","borderStyles","durations","easings","animations","blurs","gradients","breakpoints","assets"]);function pm(e){return e}function xh(e){return Object.fromEntries(Object.entries(e).map(([t,n])=>[t,n]))}function wh(e){const t=xh(e.config),n=e.tokens,r=new Map,o=new Map;function i(w,k){t[w]=k,s(w,k)}const s=(w,k)=>{const P=h(k);P&&(o.set(w,P),g(w,k))},a=()=>{for(const[w,k]of Object.entries(t))k&&s(w,k)},l=()=>{for(const[w,k]of Object.entries(t)){const{shorthand:P}=k??{};if(!P)continue;(Array.isArray(P)?P:[P]).forEach(L=>r.set(L,w))}},c=()=>{const w=Us(n.colorPaletteMap);i("colorPalette",{values:Object.keys(w),transform:we(k=>w[k])})},u=new Map,g=(w,k)=>{if(!k)return;const P=h(k,L=>`type:Tokens["${L}"]`);if(typeof P=="object"&&P.type){u.set(w,new Set([`type:${P.type}`]));return}if(P){const L=new Set(Object.keys(P));u.set(w,L)}const D=u.get(w)??new Set;k.property&&u.set(w,D.add(`CssProperties["${k.property}"]`))},d=()=>{for(const[w,k]of Object.entries(t))k&&g(w,k)},f=(w,k)=>{const P=u.get(w)??new Set;u.set(w,new Set([...P,...k]))},m=()=>{const w=new Map;for(const[k,P]of u.entries()){if(P.size===0){w.set(k,["string"]);continue}const D=Array.from(P).map(L=>L.startsWith("CssProperties")?L:L.startsWith("type:")?L.replace("type:",""):JSON.stringify(L));w.set(k,D)}return w},h=(w,k)=>{const{values:P}=w,D=L=>{const J=k?.(L);return J?{[J]:J}:void 0};return Me(P)?D?.(P)??n.getCategoryValues(P)??{}:Array.isArray(P)?P.reduce((L,J)=>(L[J]=J,L),{}):jn(P)?P(k?D:n.getCategoryValues):P},y=we((w,k)=>({[w]:w.startsWith("--")?n.getVar(k,k):k})),E=Object.assign(n.getVar,{raw:w=>n.getByName(w)}),b=we((w,k)=>{const P=v(w);Me(k)&&!k.includes("_EMO_")&&(k=n.expandReferenceInValue(k));const D=t[P];if(!D)return y(P,k);const L=o.get(P)?.[k];if(!D.transform)return y(w,L??k);const J=G=>af(G,E);return D.transform(L??k,{raw:k,token:E,utils:{colorMix:J}})});function p(){l(),c(),a(),d()}p();const S=r.size>0,v=we(w=>r.get(w)??w);return{keys:()=>[...Array.from(r.keys()),...Object.keys(t)],hasShorthand:S,transform:b,shorthands:r,resolveShorthand:v,register:i,getTypes:m,addPropertyType:f}}const me={};function kh(...e){const t=uf(...e),{theme:n={},utilities:r={},globalCss:o={},cssVarsRoot:i=":where(:root, :host)",cssVarsPrefix:s="chakra",preflight:a}=t,l=nh(t),c=Ch({breakpoints:n.breakpoints,tokens:n.tokens,semanticTokens:n.semanticTokens,prefix:s}),u=Lf(n.breakpoints??me),g=Hf({conditions:t.conditions??me,breakpoints:u}),d=wh({config:r,tokens:c});function f(){const{textStyles:V,layerStyles:O,animationStyles:A}=n,M=tn({textStyle:V,layerStyle:O,animationStyle:A});for(const[X,ue]of Object.entries(M)){const ne=Is(ue??me,oa);d.register(X,{values:Object.keys(ne),transform(ze){return p(ne[ze])}})}}f(),d.addPropertyType("animationName",Object.keys(n.keyframes??me));const m=new Set(["css",...d.keys(),...g.keys()]),h=we(V=>m.has(V)||Vf(V)),y=V=>Array.isArray(V)?V.reduce((O,A,M)=>{const X=g.breakpoints[M];return A!=null&&(O[X]=A),O},{}):V,E=rh({utility:d,normalize:y}),b=ih({conditions:g,isValidProperty:h}),p=Ws({transform:d.transform,conditions:g,normalize:E}),S=Zf({css:p,conditions:g,normalize:E,layers:l}),v=ch({cva:S});function T(){const V={};for(const[O,A]of c.cssVarMap.entries()){const M=Object.fromEntries(A);if(Object.keys(M).length===0)continue;const X=O==="base"?i:g.resolve(O),ue=X.startsWith("@"),ne=p(b({[X]:ue?{[i]:M}:M}));yt(V,ne)}return l.wrap("tokens",V)}function R(){const V=Object.fromEntries(Object.entries(n.keyframes??me).map(([A,M])=>[`@keyframes ${A}`,M])),O=Object.assign({},V,p(b(o)));return l.wrap("base",O)}function w(V){return Gn(V,h)}function k(){const V=oh({preflight:a});return l.wrap("reset",V)}const P=Th(c),D=(V,O)=>P.get(V)?.value||O;D.var=(V,O)=>P.get(V)?.variable||O;function L(V,O){return n.recipes?.[V]??O}function J(V,O){return n.slotRecipes?.[V]??O}function G(V){return Object.hasOwnProperty.call(n.recipes??me,V)}function ae(V){return Object.hasOwnProperty.call(n.slotRecipes??me,V)}function ie(V){return G(V)||ae(V)}const Q=[k(),R(),T()],Z={layerStyles:Wr(n.layerStyles??me),textStyles:Wr(n.textStyles??me),animationStyles:Wr(n.animationStyles??me),tokens:ia(c,Object.keys(n.tokens??me),(V,O)=>!V.extensions.conditions&&!O.includes("colorPalette")),semanticTokens:ia(c,Object.keys(n.semanticTokens??me),V=>!!V.extensions.conditions),keyframes:sa(n.keyframes??me),breakpoints:sa(n.breakpoints??me)};return{$$chakra:!0,_config:t,_global:Q,breakpoints:u,tokens:c,conditions:g,utility:d,token:D,properties:m,layers:l,isValidProperty:h,splitCssProps:w,normalizeValue:y,getTokenCss:T,getGlobalCss:R,getPreflightCss:k,css:p,cva:S,sva:v,getRecipe:L,getSlotRecipe:J,hasRecipe:ie,isRecipe:G,isSlotRecipe:ae,query:Z}}function Th(e){const t=new Map;return e.allTokens.forEach(n=>{const{cssVar:r,virtual:o,conditions:i}=n.extensions,s=i||o?r.ref:n.value;t.set(n.name,{value:s,variable:r.ref})}),t}const oa=e=>fe(e)&&"value"in e,Wr=e=>({list(){return Object.keys(Is(e,oa))},search(t){return this.list().filter(n=>n.includes(t))}}),ia=(e,t,n)=>({categoryKeys:t,list(r){return Array.from(e.categoryMap.get(r)?.entries()??[]).reduce((o,[i,s])=>(n(s,i)&&o.push(i),o),[])},search(r,o){return this.list(r).filter(i=>i.includes(o))}}),sa=e=>({list(){return Object.keys(e)},search(t){return this.list().filter(n=>n.includes(t))}});Di.extendWith("itemBody"),$("action-bar").parts("positioner","content","separator","selectionTrigger","closeTrigger"),$("alert").parts("title","description","root","indicator","content"),$("breadcrumb").parts("link","currentLink","item","list","root","ellipsis","separator"),$("blockquote").parts("root","icon","content","caption"),$("card").parts("root","header","body","footer","title","description"),$("data-list").parts("root","item","itemLabel","itemValue"),kr.extendWith("header","body","footer","backdrop"),kr.extendWith("header","body","footer","backdrop"),Ji.extendWith("textarea");const Rh=Qi.extendWith("requiredIndicator");Zi.extendWith("content"),es.extendWith("itemContent","dropzoneContent","fileText"),$("list").parts("root","item","indicator"),ns.extendWith("itemCommand"),$("select").parts("root","field","indicator"),as.extendWith("header","body","footer"),ls.extendWith("itemAddon","itemIndicator").extendWith("itemContent","itemDescription"),cs.extendWith("itemIndicator"),us.extendWith("indicatorGroup"),Mg.extendWith("indicatorGroup","empty"),hs.extendWith("markerIndicator"),$("stat").parts("root","label","helpText","valueText","valueUnit","indicator"),$("status").parts("root","indicator"),ms.extendWith("indicator"),$("table").parts("root","header","body","row","columnHeader","cell","footer","caption"),$("toast").parts("root","title","description","indicator","closeTrigger","actionTrigger"),$("tabs").parts("root","trigger","list","content","contentGroup","indicator"),$("tag").parts("root","label","closeTrigger","startElement","endElement"),$("timeline").parts("root","item","content","separator","indicator","connector","title","description"),mg.extendWith("channelText"),Bi.extendWith("valueText");const Ph={base:"0rem",tablet:"53rem",desktip:"80rem",wideDesktop:"101rem"},Vh=ff({"*":{"--global-font-mono":"fonts.mono","--global-font-body":"fonts.body"},body:{color:"text/body",textStyle:"body/lg/regular"},"a, summary, button, input, textarea, select, [tabindex]:not([tabindex='-1'])":{outline:"none",_focusVisible:{outline:"3px",outlineColor:"sys/interactive/highlight",outlineOffset:"0",outlineStyle:"solid"}}});function Br(e,t=""){const r={};return Object.keys(e).forEach(o=>{const i=e[o],s=t?`${t}/${o}`:o;i.value?r[s]=i:Object.assign(r,Br(i,s))}),{...r,...e}}const ce=e=>{const t=typeof e=="string"?parseInt(e,10):e;return Number.isNaN(t)?e:`${t/16}rem`},Ah=["primary","secondary","tertiary","danger-primary","danger-secondary","danger-tertiary"].reduce((e,t)=>{let n=t?.includes("secondary")?`{colors.button.${t}.border}`:`{colors.button.${t}.bg}`,r=t?.includes("secondary")?`{colors.button.${t}.border-disabled}`:`{colors.button.${t}.bg-disabled}`;return t?.includes("tertiary")&&(n="transparent",r="transparent"),e[t]={"&:hover":{backgroundColor:`{colors.button.${t}.bg-hover}`,borderColor:t?.includes("secondary")?`{colors.button.${t}.border-hover}`:`{colors.button.${t}.bg-hover}`,color:`{colors.button.${t}.fg-hover}`},"&:active":{backgroundColor:`{colors.button.${t}.bg-active}`,borderColor:t?.includes("secondary")?`{colors.button.${t}.border-active}`:`{colors.button.${t}.bg-active}`,color:`{colors.button.${t}.fg-active}`},_disabled:{backgroundColor:`{colors.button.${t}.bg-disabled}!`,borderColor:`${r}!`,color:`{colors.button.${t}.fg-disabled}!`,cursor:"not-allowed"},backgroundColor:`{colors.button.${t}.bg}`,borderColor:n,borderStyle:"solid",borderWidth:ce(1),color:`{colors.button.${t}.fg}`},e},{}),_h=vs({className:"button",base:{borderRadius:"4",cursor:"pointer",fontWeight:600,border:"1px solid transparent",display:"inline-flex",alignItems:"center",justifyContent:"center",gap:"8",position:"relative",_disabled:{cursor:"not-allowed"}},variants:{variant:Ah,size:{sm:{padding:ce(7),fontSize:ce(14),lineHeight:ce(20)},md:{paddingInline:ce(11),paddingBlock:ce(7),fontSize:ce(14),lineHeight:ce(24)},lg:{padding:ce(11),fontSize:ce(16),lineHeight:ce(24)}}},defaultVariants:{variant:"primary",size:"lg"}}),Nh={className:"input",base:{appearance:"none",background:"background/primary",borderColor:"border/regular",borderRadius:"4",borderWidth:ce(1),color:"input/text/inputValue",textStyle:"body/lg/regular",width:"100%",boxShadow:"inner",transition:"200ms",_placeholder:{color:"input/text/placeholder"},_hover:{borderColor:"border/hover"},_invalid:{borderColor:"border/error"},_disabled:{_hover:{borderColor:"border/disabled"},_placeholder:{color:"text/disabled"},color:"text/disabled",background:"background/disabled",cursor:"not-allowed"},_readOnly:{_hover:{borderColor:"border/regular"},background:"background/disabled"}},variants:{size:{md:{paddingInline:ce(11),paddingBlock:ce(7)},lg:{paddingInline:ce(15),paddingBlock:ce(11)}}},defaultVariants:{size:"lg"}},Fh=vs(Nh),Lh={button:_h,input:Fh},Mh={brand:{primary:{value:{_light:"{colors.pal.purple.30}"}}},separator:{primary:{value:{_light:"{colors.pal.neutral.90}"}}},sys:{fg:{base:{value:{_light:"{colors.pal.neutral.10}"}},primary:{value:{_light:"{colors.pal.purple.10}"}},secondary:{value:{_light:"{colors.pal.neutral.40}"}},tertiary:{value:{_light:"{colors.pal.neutral.60}"}},subtle:{value:{_light:"{colors.pal.neutral.70}"}},minimal:{value:{_light:"{colors.pal.neutral.80}"}},positive:{value:{_light:"{colors.pal.green.50}"}},negative:{value:{_light:"{colors.pal.red.50}"}},"on-color":{value:{_light:"{colors.pal.neutral.100}"}},"on-contrast":{value:{_light:"{colors.pal.neutral.95}"}},"on-disabled":{value:{_light:"{colors.pal.neutral.70}"}},disabled:{value:{_light:"{colors.pal.neutral.80}"}}},bg:{surface:{value:{_light:"{colors.pal.neutral.100}"}},contrast:{value:{_light:"{colors.pal.neutral.10}"}},moderate:{value:{_light:"{colors.pal.neutral.90}"}},subtle:{value:{_light:"{colors.pal.neutral.93}"}},minimal:{value:{_light:"{colors.pal.neutral.95}"}},disabled:{value:{_light:"{colors.pal.neutral.95}"}}},border:{minimal:{value:{_light:"{colors.pal.neutral.93}"}},subtle:{value:{_light:"{colors.pal.neutral.90}"}},strong:{value:{_light:"{colors.pal.neutral.80}"}},emphasized:{value:{_light:"{colors.pal.neutral.70}"}},critical:{value:{_light:"{colors.pal.red.50}"}},inverse:{value:{_light:"{colors.pal.neutral.100}"}},"on-contrast":{value:{_light:"{colors.pal.neutral.95}"}},disabled:{value:{_light:"{colors.pal.neutral.90}"}}},primary:{base:{value:{_light:"{colors.pal.purple.40}"}},emphasized:{value:{_light:"{colors.pal.purple.30}"}},contrast:{value:{_light:"{colors.pal.purple.10}"}},muted:{value:{_light:"{colors.pal.purple.80}"}},subtle:{value:{_light:"{colors.pal.purple.93}"}},disabled:{value:{_light:"{colors.pal.neutral.90}"}}},interactive:{base:{value:{_light:"{colors.pal.purple.50}"}},strong:{value:{_light:"{colors.pal.purple.40}"}},bold:{value:{_light:"{colors.pal.purple.60}"}},highlight:{value:{_light:"{colors.pal.purple.70}"}},muted:{value:{_light:"{colors.pal.purple.80}"}},moderate:{value:{_light:"{colors.pal.purple.90}"}},subtle:{value:{_light:"{colors.pal.purple.93}"}},minimal:{value:{_light:"{colors.pal.purple.95}"}},disabled:{value:{_light:"{colors.pal.neutral.90}"}}},info:{base:{value:{_light:"{colors.pal.blue.50}"}},strong:{value:{_light:"{colors.pal.blue.40}"}},bold:{value:{_light:"{colors.pal.blue.60}"}},muted:{value:{_light:"{colors.pal.blue.80}"}},moderate:{value:{_light:"{colors.pal.blue.90}"}},subtle:{value:{_light:"{colors.pal.blue.93}"}},minimal:{value:{_light:"{colors.pal.blue.95}"}}},success:{base:{value:{_light:"{colors.pal.green.50}"}},strong:{value:{_light:"{colors.pal.green.40}"}},bold:{value:{_light:"{colors.pal.green.60}"}},muted:{value:{_light:"{colors.pal.green.80}"}},moderate:{value:{_light:"{colors.pal.green.90}"}},subtle:{value:{_light:"{colors.pal.green.93}"}},minimal:{value:{_light:"{colors.pal.green.95}"}}},warning:{base:{value:{_light:"{colors.pal.yellow.50}"}},strong:{value:{_light:"{colors.pal.yellow.40}"}},bold:{value:{_light:"{colors.pal.yellow.60}"}},muted:{value:{_light:"{colors.pal.yellow.80}"}},moderate:{value:{_light:"{colors.pal.yellow.90}"}},subtle:{value:{_light:"{colors.pal.yellow.93}"}},minimal:{value:{_light:"{colors.pal.yellow.95}"}}},critical:{base:{value:{_light:"{colors.pal.red.50}"}},dark:{value:{_light:"{colors.pal.red.20}"}},strong:{value:{_light:"{colors.pal.red.40}"}},bold:{value:{_light:"{colors.pal.red.60}"}},muted:{value:{_light:"{colors.pal.red.80}"}},moderate:{value:{_light:"{colors.pal.red.90}"}},subtle:{value:{_light:"{colors.pal.red.93}"}},minimal:{value:{_light:"{colors.pal.red.95}"}}},neutral:{base:{value:{_light:"{colors.pal.neutral.50}"}},strong:{value:{_light:"{colors.pal.neutral.40}"}},bold:{value:{_light:"{colors.pal.neutral.60}"}},muted:{value:{_light:"{colors.pal.neutral.80}"}},moderate:{value:{_light:"{colors.pal.neutral.90}"}},subtle:{value:{_light:"{colors.pal.neutral.93}"}},minimal:{value:{_light:"{colors.pal.neutral.95}"}}},orange:{base:{value:{_light:"{colors.pal.orange.50}"}},strong:{value:{_light:"{colors.pal.orange.40}"}},bold:{value:{_light:"{colors.pal.orange.60}"}},muted:{value:{_light:"{colors.pal.orange.80}"}},moderate:{value:{_light:"{colors.pal.orange.90}"}},subtle:{value:{_light:"{colors.pal.orange.93}"}},minimal:{value:{_light:"{colors.pal.orange.95}"}}},turquoise:{base:{value:{_light:"{colors.pal.turquoise.50}"}},strong:{value:{_light:"{colors.pal.turquoise.40}"}},bold:{value:{_light:"{colors.pal.turquoise.60}"}},muted:{value:{_light:"{colors.pal.turquoise.80}"}},moderate:{value:{_light:"{colors.pal.turquoise.90}"}},subtle:{value:{_light:"{colors.pal.turquoise.93}"}},minimal:{value:{_light:"{colors.pal.turquoise.95}"}}}},button:{primary:{bg:{value:{_light:"{colors.sys.primary}"}},"bg-hover":{value:{_light:"{colors.sys.primary.emphasized}"}},"bg-active":{value:{_light:"{colors.sys.fg.primary}"}},"bg-disabled":{value:{_light:"{colors.sys.primary.disabled}"}},fg:{value:{_light:"{colors.sys.fg.on-color}"}},"fg-hover":{value:{_light:"{colors.sys.fg.on-color}"}},"fg-active":{value:{_light:"{colors.sys.fg.on-color}"}},"fg-disabled":{value:{_light:"{colors.sys.fg.on-disabled}"}}},secondary:{bg:{value:{_light:"{colors.sys.bg.surface}"}},"bg-hover":{value:{_light:"{colors.sys.bg.subtle}"}},"bg-active":{value:{_light:"{colors.sys.bg.moderate}"}},"bg-disabled":{value:{_light:"{colors.sys.bg.minimal}"}},fg:{value:{_light:"{colors.sys.fg.primary}"}},"fg-hover":{value:{_light:"{colors.sys.fg.primary}"}},"fg-active":{value:{_light:"{colors.sys.fg.primary}"}},"fg-disabled":{value:{_light:"{colors.sys.fg.disabled}"}},border:{value:{_light:"{colors.sys.border.strong}"}},"border-hover":{value:{_light:"{colors.sys.border.emphasized}"}},"border-active":{value:{_light:"{colors.sys.border.emphasized}"}},"border-disabled":{value:{_light:"{colors.sys.border.disabled}"}}},tertiary:{bg:{value:{_light:"{colors.sys.bg.transparent}"}},"bg-hover":{value:{_light:"{colors.sys.bg.subtle}"}},"bg-active":{value:{_light:"{colors.sys.bg.moderate}"}},"bg-disabled":{value:{_light:"{colors.sys.bg.transparent}"}},fg:{value:{_light:"{colors.sys.interactive}"}},"fg-hover":{value:{_light:"{colors.sys.interactive.strong}"}},"fg-active":{value:{_light:"{colors.sys.fg.primary}"}},"fg-disabled":{value:{_light:"{colors.sys.fg.disabled}"}}},"danger-primary":{bg:{value:{_light:"{colors.sys.critical}"}},"bg-hover":{value:{_light:"{colors.sys.critical.strong}"}},"bg-active":{value:{_light:"{colors.sys.critical.dark}"}},"bg-disabled":{value:{_light:"{colors.sys.primary.disabled}"}},fg:{value:{_light:"{colors.sys.fg.on-color}"}},"fg-hover":{value:{_light:"{colors.sys.fg.on-color}"}},"fg-active":{value:{_light:"{colors.sys.fg.on-color}"}},"fg-disabled":{value:{_light:"{colors.sys.fg.on-disabled}"}}},"danger-secondary":{bg:{value:{_light:"{colors.sys.bg.surface}"}},"bg-hover":{value:{_light:"{colors.sys.critical.minimal}"}},"bg-active":{value:{_light:"{colors.sys.critical.moderate}"}},"bg-disabled":{value:{_light:"{colors.sys.bg.minimal}"}},fg:{value:{_light:"{colors.sys.critical}"}},"fg-hover":{value:{_light:"{colors.sys.critical}"}},"fg-active":{value:{_light:"{colors.sys.critical.strong}"}},"fg-disabled":{value:{_light:"{colors.sys.fg.disabled}"}},border:{value:{_light:"{colors.sys.critical.muted}"}},"border-hover":{value:{_light:"{colors.sys.critical.muted}"}},"border-active":{value:{_light:"{colors.sys.critical}"}},"border-disabled":{value:{_light:"{colors.sys.border.disabled}"}}},"danger-tertiary":{bg:{value:{_light:"{colors.sys.bg.transparent}"}},"bg-hover":{value:{_light:"{colors.sys.critical.minimal}"}},"bg-active":{value:{_light:"{colors.sys.critical.moderate}"}},"bg-disabled":{value:{_light:"{colors.sys.bg.transparent}"}},fg:{value:{_light:"{colors.sys.critical}"}},"fg-hover":{value:{_light:"{colors.sys.critical}"}},"fg-active":{value:{_light:"{colors.sys.critical.strong}"}},"fg-disabled":{value:{_light:"{colors.sys.fg.disabled}"}}}},background:{primary:{value:{_light:"{colors.sys.bg.surface}"}},secondary:{value:{_light:"{colors.sys.bg.minimal}"}},tertiary:{value:{_light:"{colors.sys.bg.subtle}"}},hover:{value:{_light:"{colors.sys.bg.subtle}"}},active:{value:{_light:"{colors.sys.bg.moderate}"}},selected:{value:{_light:"{colors.sys.interactive.minimal}"}},"selected-hover":{value:{_light:"{colors.sys.interactive.subtle}"}},contrast:{value:{_light:"{colors.sys.bg.contrast}"}},disabled:{value:{_light:"{colors.sys.bg.disabled}"}}},border:{regular:{value:{_light:"{colors.sys.border.subtle}"}},minimal:{value:{_light:"{colors.sys.border.minimal}"}},strong:{value:{_light:"{colors.sys.border.strong}"}},hover:{value:{_light:"{colors.sys.border.emphasized}"}},focus:{value:{_light:"{colors.sys.interactive.highlight}"}},selected:{value:{_light:"{colors.sys.interactive}"}},error:{value:{_light:"{colors.sys.border.critical}"}},inverse:{value:{_light:"{colors.sys.border.inverse}"}},"on-contrast":{value:{_light:"{colors.sys.border.on-contrast}"}},disabled:{value:{_light:"{colors.sys.border.disabled}"}}},text:{primary:{value:{_light:"{colors.sys.fg.primary}"}},secondary:{value:{_light:"{colors.sys.fg.secondary}"}},tertiary:{value:{_light:"{colors.sys.fg.tertiary}"}},body:{value:{_light:"{colors.sys.fg}"}},link:{value:{_light:"{colors.sys.interactive}"}},"link-hover":{value:{_light:"{colors.sys.interactive.strong}"}},selected:{value:{_light:"{colors.sys.interactive}"}},positive:{value:{_light:"{colors.sys.fg.positive}"}},negative:{value:{_light:"{colors.sys.fg.negative}"}},"on-color":{value:{_light:"{colors.sys.fg.on-color}"}},"on-contrast":{value:{_light:"{colors.sys.fg.on-contrast}"}},"on-disabled":{value:{_light:"{colors.sys.fg.on-disabled}"}},disabled:{value:{_light:"{colors.sys.fg.disabled}"}}},icon:{primary:{value:{_light:"{colors.sys.fg.primary}"}},secondary:{value:{_light:"{colors.sys.fg.secondary}"}},tertiary:{value:{_light:"{colors.sys.fg.tertiary}"}},interactive:{value:{_light:"{colors.sys.interactive}"}},"interactive-hover":{value:{_light:"{colors.sys.interactive.strong}"}},positive:{value:{_light:"{colors.sys.fg.positive}"}},negative:{value:{_light:"{colors.sys.fg.negative}"}},"on-color":{value:{_light:"{colors.sys.fg.on-color}"}},"on-contrast":{value:{_light:"{colors.sys.fg.on-contrast}"}},"on-disabled":{value:{_light:"{colors.sys.fg.on-disabled}"}},disabled:{value:{_light:"{colors.sys.fg.disabled}"}}},input:{text:{label:{value:{_light:"{colors.sys.fg.primary}"}},inputValue:{value:{_light:"{colors.sys.fg}"}},placeholder:{value:{_light:"{colors.sys.fg.subtle}"}},helper:{value:{_light:"{colors.sys.fg.secondary}"}},error:{value:{_light:"{colors.sys.fg.negative}"}}}}},$h=ys.colors(Br(Mh)),Dh={formFocus:{value:{_light:"0 0.125rem 0.1875rem 0 rgba(0, 0, 0, 0.1) inset, 0 0 0 3px var(--colors-purple-70)"}},inner:{value:{_light:"0 0.125rem 0.1875rem 0 rgba(0, 0, 0, 0.1) inset"}},innerSmall:{value:{_light:"0 0.0625rem 0.125rem 0 rgba(0, 0, 0, 0.1) inset"}},large:{value:{_light:"0 0.125rem 1.5rem 0 rgba(0, 0, 0, 0.08)"}},medium:{value:{_light:"0 0.125rem 0.75rem 0 rgba(0, 0, 0, 0.06)"}},outline:{value:{_light:"0 0 0 3px var(--colors-purple-70)"}},small:{value:{_light:"0 0.125rem 0.25rem 0 rgba(0, 0, 0, 0.06)"}},tooltip:{value:{_light:"0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.2)"}}},Hh=ys.shadows(Dh),Wh={colors:$h,shadows:Hh},Bh={field:gf({className:"field",slots:Rh.keys(),base:{root:{width:"100%",_invalid:{width:"100%"}},label:{display:"block",color:"input/text/label",textStyle:"comp/input/label",marginBlockEnd:"4","& span":{marginInlineStart:"2",color:"input/text/helper",fontWeight:"normal"},"[data-disabled] &":{color:"text/disabled","& span":{color:"text/disabled"}}},errorText:{display:"block",marginBlockStart:"4",textStyle:"comp/input/helperText",color:"input/text/error"},helperText:{display:"block",marginBlockStart:"4",textStyle:"comp/input/helperText",color:"input/text/helper","[data-disabled] &":{color:"text/disabled"}}}})},zh=hf((e=>{const t={};return Object.keys(e).forEach(n=>{const r=n.replace(/\//g,".");t[r]=e[n]}),{...e,...t}})({"mono/code-2":{value:{fontFamily:"mono",fontSize:"0.75rem",lineHeight:"1rem",letterSpacing:"-0.009375rem"}},"mono/code-3":{value:{fontFamily:"mono",fontSize:"0.875rem",lineHeight:"1.25rem",letterSpacing:"-0.009375rem"}},"sans/size-1/normal":{value:{lineHeight:"1rem",fontSize:"0.75rem",letterSpacing:"0.009375rem"}},"sans/size-1/semibold":{value:{fontWeight:"600",lineHeight:"1rem",fontSize:"0.75rem",letterSpacing:"0.009375rem"}},"sans/size-1/bold":{value:{fontWeight:"700",lineHeight:"1rem",fontSize:"0.75rem",letterSpacing:"0.009375rem"}},"sans/size-1/uppercase-bold":{value:{fontWeight:"700",lineHeight:"1rem",fontSize:"0.75rem",letterSpacing:"0.009375rem",textTransform:"uppercase"}},"sans/size-2/normal":{value:{lineHeight:"1.25rem",fontSize:"0.875rem"}},"sans/size-2/normal-underline":{value:{lineHeight:"1.25rem",fontSize:"0.875rem",textDecoration:"underline"}},"sans/size-2/semibold":{value:{fontWeight:"600",lineHeight:"1.25rem",fontSize:"0.875rem"}},"sans/size-2/semibold-underline":{value:{fontWeight:"600",lineHeight:"1.25rem",fontSize:"0.875rem",textDecoration:"underline"}},"sans/size-2/bold":{value:{fontWeight:"700",lineHeight:"1.25rem",fontSize:"0.875rem"}},"sans/size-2/uppercase-normal":{value:{lineHeight:"1.25rem",fontSize:"0.875rem",letterSpacing:"0.009375rem",textTransform:"uppercase"}},"sans/size-2/uppercase-semibold":{value:{fontWeight:"600",lineHeight:"1.25rem",fontSize:"0.875rem",letterSpacing:"0.009375rem",textTransform:"uppercase"}},"sans/size-3/normal":{value:{lineHeight:"1.5rem",fontSize:"1rem"}},"sans/size-3/normal-underline":{value:{lineHeight:"1.5rem",fontSize:"1rem",textDecoration:"underline"}},"sans/size-3/semibold":{value:{fontWeight:"600",lineHeight:"1.5rem",fontSize:"1rem"}},"sans/size-3/semibold-underline":{value:{fontWeight:"600",lineHeight:"1.5rem",fontSize:"1rem",textDecoration:"underline"}},"sans/size-3/bold":{value:{fontWeight:"700",lineHeight:"1.5rem",fontSize:"1rem"}},"sans/size-4/normal":{value:{lineHeight:"1.75rem",fontSize:"1.1875rem"}},"sans/size-4/semibold":{value:{fontWeight:"600",lineHeight:"1.75rem",fontSize:"1.1875rem"}},"sans/size-4/bold":{value:{fontWeight:"700",lineHeight:"1.75rem",fontSize:"1.1875rem"}},"sans/size-5/normal":{value:{lineHeight:"2.25rem",fontSize:"1.5rem"}},"sans/size-5/semibold":{value:{fontWeight:"600",lineHeight:"2.25rem",fontSize:"1.5rem"}},"sans/size-5/bold":{value:{fontWeight:"700",lineHeight:"2.25rem",fontSize:"1.5rem"}},"sans/size-6/normal":{value:{lineHeight:"2.5rem",fontSize:"1.875rem"}},"sans/size-6/semibold":{value:{fontWeight:"600",lineHeight:"2.5rem",fontSize:"1.875rem"}},"sans/size-6/bold":{value:{fontWeight:"700",lineHeight:"2.5rem",fontSize:"1.875rem"}},"sans/size-7/semibold":{value:{fontWeight:"600",lineHeight:"3rem",fontSize:"2.25rem"}},"sans/size-7/bold":{value:{fontWeight:"700",lineHeight:"3rem",fontSize:"2.25rem"}},"sans/size-8/semibold":{value:{fontWeight:"600",lineHeight:"3.75rem",fontSize:"3rem"}},"sans/size-8/bold":{value:{fontWeight:"700",lineHeight:"3.75rem",fontSize:"3rem"}},"display/lg":{value:{fontWeight:"700",lineHeight:"3.75rem",fontSize:"3rem"}},"display/sm":{value:{fontWeight:"700",lineHeight:"3rem",fontSize:"2.25rem"}},"heading/h1":{value:{fontWeight:"700",lineHeight:"2.5rem",fontSize:"1.875rem"}},"heading/h2":{value:{fontWeight:"700",lineHeight:"2.25rem",fontSize:"1.5rem"}},"heading/h3":{value:{fontWeight:"700",lineHeight:"1.75rem",fontSize:"1.1875rem"}},"heading/h4":{value:{fontWeight:"700",lineHeight:"1.5rem",fontSize:"1rem"}},"heading/h5":{value:{fontWeight:"700",lineHeight:"1.25rem",fontSize:"0.875rem"}},"heading/h6":{value:{fontWeight:"700",lineHeight:"1rem",fontSize:"0.75rem",letterSpacing:"0.009375rem",textTransform:"uppercase"}},"body/sm/regular":{value:{lineHeight:"1rem",fontSize:"0.75rem",letterSpacing:"0.009375rem"}},"body/sm/semibold":{value:{fontWeight:"600",lineHeight:"1rem",fontSize:"0.75rem",letterSpacing:"0.009375rem"}},"body/md/regular":{value:{lineHeight:"1.25rem",fontSize:"0.875rem"}},"body/md/semibold":{value:{fontWeight:"600",lineHeight:"1.25rem",fontSize:"0.875rem"}},"body/md/underline":{value:{lineHeight:"1.25rem",fontSize:"0.875rem",textDecoration:"underline"}},"body/lg/regular":{value:{lineHeight:"1.5rem",fontSize:"1rem"}},"body/lg/semibold":{value:{fontWeight:"600",lineHeight:"1.5rem",fontSize:"1rem"}},"body/lg/underline":{value:{lineHeight:"1.5rem",fontSize:"1rem",textDecoration:"underline"}},"code/md":{value:{fontFamily:"mono",fontSize:"0.75rem",lineHeight:"1rem",letterSpacing:"-0.009375rem"}},"code/lg":{value:{fontFamily:"mono",fontSize:"0.875rem",lineHeight:"1.25rem",letterSpacing:"-0.009375rem"}},"comp/button/sm":{value:{fontWeight:"600",lineHeight:"1.25rem",fontSize:"0.875rem"}},"comp/button/md":{value:{fontWeight:"600",lineHeight:"1.25rem",fontSize:"0.875rem"}},"comp/button/lg":{value:{fontWeight:"600",lineHeight:"1.5rem",fontSize:"1rem"}},"comp/notification/title":{value:{fontWeight:"700",lineHeight:"1.5rem",fontSize:"1rem"}},"comp/notification/message":{value:{lineHeight:"1.5rem",fontSize:"1rem"}},"comp/notification/message-link":{value:{lineHeight:"1.5rem",fontSize:"1rem",textDecoration:"underline"}},"comp/notification/button":{value:{lineHeight:"1.25rem",fontSize:"0.875rem"}},"comp/input/label":{value:{fontWeight:"600",lineHeight:"1.25rem",fontSize:"0.875rem"}},"comp/input/helperText":{value:{lineHeight:"1rem",fontSize:"0.75rem",letterSpacing:"0.009375rem"}},"comp/link/md":{value:{lineHeight:"1.25rem",fontSize:"0.875rem"}},"comp/link/md-hover":{value:{lineHeight:"1.25rem",fontSize:"0.875rem",textDecoration:"underline"}},"comp/link/lg":{value:{lineHeight:"1.5rem",fontSize:"1rem"}},"comp/link/lg-hover":{value:{lineHeight:"1.5rem",fontSize:"1rem",textDecoration:"underline"}},"comp/data/sm":{value:{lineHeight:"1.5rem",fontSize:"1rem"}},"comp/data/md":{value:{fontWeight:"600",lineHeight:"2.25rem",fontSize:"1.5rem"}},"comp/data/lg":{value:{fontWeight:"600",lineHeight:"2.5rem",fontSize:"1.875rem"}},"comp/tabs/line":{value:{fontWeight:"700",lineHeight:"1.5rem",fontSize:"1rem"}},"comp/tabs/contained":{value:{fontWeight:"700",lineHeight:"1.5rem",fontSize:"1rem"}},"comp/tabs/contained-secondary":{value:{lineHeight:"1.25rem",fontSize:"0.875rem"}},"comp/tag/sm":{value:{lineHeight:"1rem",fontSize:"0.75rem",letterSpacing:"0.009375rem"}},"comp/tag/md":{value:{lineHeight:"1.25rem",fontSize:"0.875rem"}},"comp/badge/sm":{value:{fontWeight:"700",lineHeight:"1rem",fontSize:"0.75rem",letterSpacing:"0.009375rem",textTransform:"uppercase"}},"comp/dialog/title":{value:{fontWeight:"700",lineHeight:"2.25rem",fontSize:"1.5rem"}},"comp/dialog/label":{value:{fontWeight:"600",lineHeight:"1.25rem",fontSize:"0.875rem",letterSpacing:"0.009375rem",textTransform:"uppercase"}}})),jh={pal:{neutral:{10:{value:"#201b22"},20:{value:"#362d39"},30:{value:"#49404f"},40:{value:"#6b6071"},50:{value:"#7d7184"},60:{value:"#94879b"},70:{value:"#afa4b4"},80:{value:"#c9c1cd"},90:{value:"#dfdae1"},93:{value:"#efebef"},95:{value:"#f6f4f6"},100:{value:"#ffffff"}},purple:{10:{value:"#2b0e3f"},20:{value:"#421560"},30:{value:"#5c2a7e"},40:{value:"#7b3ba5"},50:{value:"#9247c2"},60:{value:"#ae63de"},70:{value:"#c289e6"},80:{value:"#d5adeb"},90:{value:"#ead4f2"},93:{value:"#f3e7f9"},95:{value:"#f9f2fd"}},red:{10:{value:"#47060c"},20:{value:"#630811"},30:{value:"#78111c"},40:{value:"#a91e2e"},50:{value:"#d72d40"},60:{value:"#f7596c"},70:{value:"#ff8091"},80:{value:"#ffa8b5"},90:{value:"#ffccd5"},93:{value:"#ffe5eb"},95:{value:"#fff0f3"}},orange:{10:{value:"#421000"},20:{value:"#661900"},30:{value:"#7a2200"},40:{value:"#a33500"},50:{value:"#d45202"},60:{value:"#ed720c"},70:{value:"#fd9730"},80:{value:"#ffb766"},90:{value:"#ffd5a3"},93:{value:"#ffe9cf"},95:{value:"#fff4e5"}},yellow:{10:{value:"#2e1c00"},20:{value:"#4d2f00"},30:{value:"#613e00"},40:{value:"#875b00"},50:{value:"#b27e00"},60:{value:"#d6a200"},70:{value:"#ebba00"},80:{value:"#f9cc15"},90:{value:"#fbe074"},93:{value:"#ffefad"},95:{value:"#fff6d1"}},green:{10:{value:"#042a0f"},20:{value:"#064217"},30:{value:"#0b5620"},40:{value:"#167231"},50:{value:"#2a9d4c"},60:{value:"#4eb76c"},70:{value:"#77cf8f"},80:{value:"#a1deb2"},90:{value:"#c3eace"},93:{value:"#e1f4e7"},95:{value:"#eef9f1"}},turquoise:{10:{value:"#002924"},20:{value:"#003d36"},30:{value:"#005248"},40:{value:"#007366"},50:{value:"#009e8e"},60:{value:"#11bba9"},70:{value:"#55cec3"},80:{value:"#8ae0d7"},90:{value:"#aeefe8"},93:{value:"#d8f8f4"},95:{value:"#e9fbf9"}},blue:{10:{value:"#002442"},20:{value:"#00315c"},30:{value:"#044781"},40:{value:"#1066ac"},50:{value:"#2582d0"},60:{value:"#4f9bde"},70:{value:"#71b8ef"},80:{value:"#99d1f5"},90:{value:"#c2e7fa"},93:{value:"#def2fc"},95:{value:"#ecf8fd"}}}},Gh=Xe.colors(Br(jh)),Uh={body:{value:'"Figtree Variable", sans-serif'},mono:{value:'"Source Code Pro Variable", monospace'}},Yh=Xe.fonts(Uh),qh={1:{value:"0.75rem"},2:{value:"0.875rem"},3:{value:"1rem"},4:{value:"1.1875rem"},5:{value:"1.5rem"},6:{value:"1.875rem"},7:{value:"2.25rem"},8:{value:"3rem"},base:{value:"1rem"}},Xh=Xe.fontSizes(qh),Kh={bold:{value:700},demiBold:{value:600},normal:{value:400},semibold:{value:600}},Jh=Xe.fontWeights(Kh),Qh={2:{value:"0.125rem"},4:{value:"0.25rem"},8:{value:"0.5rem"},12:{value:"0.75rem"},16:{value:"1rem"},24:{value:"1.5rem"}},Zh=Xe.radii(Qh),aa={1:{value:"0.0625rem"},2:{value:"0.125rem"},4:{value:"0.25rem"},6:{value:"0.375rem"},8:{value:"0.5rem"},12:{value:"0.75rem"},16:{value:"1rem"},20:{value:"1.25rem"},24:{value:"1.5rem"},32:{value:"2rem"},40:{value:"2.5rem"},48:{value:"3rem"},64:{value:"4rem"},96:{value:"6rem"},128:{value:"8rem"}},em=Xe.sizes(aa),tm=Xe.spacing(aa),nm={base:{value:0},dialog:{value:1300},dialogOverlay:{value:1299},fullDialog:{value:1200},fullDialogOverlay:{value:1199},header:{value:1100},hide:{value:-1},popover:{value:1400},tooltip:{value:1500}},rm=Xe.zIndex(nm),om=Es({preflight:!0,cssVarsPrefix:"",cssVarsRoot:":where(:root, :host)",globalCss:Vh,theme:{breakpoints:Ph,tokens:{colors:Gh,fonts:Yh,fontSizes:Xh,fontWeights:Jh,radii:Zh,sizes:em,spacing:tm,zIndex:rm},semanticTokens:Wh,slotRecipes:Bh,recipes:Lh,textStyles:zh}}),la=kh(Cf,om),im=e=>Gt.jsx(pl,{...e,value:la});je.BitkitProvider=im,je.bitriseTheme=la,Object.defineProperty(je,Symbol.toStringTag,{value:"Module"})}));