@nation-a/ui 0.1.0 → 0.1.2
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.
- package/dist/index.cjs.js +18 -1
- package/dist/index.es.js +4203 -1
- package/dist/types/Text/Text.d.ts +10 -0
- package/dist/types/index.d.ts +3 -1
- package/dist/types/ui/password-input.d.ts +21 -0
- package/dist/types/ui/tooltip.d.ts +1 -1
- package/package.json +10 -11
package/dist/index.cjs.js
CHANGED
|
@@ -1 +1,18 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const R=require("react/jsx-runtime"),C=require("react");function bn(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const D=bn(C),re=(...e)=>e.filter(Boolean).map(t=>t.trim()).join(" ");function xn(e,t){return`${e} returned \`undefined\`. Seems you forgot to wrap component within ${t}`}function vr(e={}){const{name:t,strict:r=!0,hookName:n="useContext",providerName:o="Provider",errorMessage:i,defaultValue:a}=e,s=C.createContext(a);s.displayName=t;function l(){var c;const f=C.useContext(s);if(!f&&r){const d=new Error(i??xn(n,o));throw d.name="ContextError",(c=Error.captureStackTrace)==null||c.call(Error,d,l),d}return f}return[s.Provider,l,s]}function Sn(...e){return function(...r){e.forEach(n=>n==null?void 0:n(...r))}}const wn=(...e)=>e.map(t=>{var r;return(r=t==null?void 0:t.trim)==null?void 0:r.call(t)}).filter(Boolean).join(" "),kn=/^on[A-Z]/;function St(...e){let t={};for(let r of e){for(let n in t){if(kn.test(n)&&typeof t[n]=="function"&&typeof r[n]=="function"){t[n]=Sn(t[n],r[n]);continue}if(n==="className"||n==="class"){t[n]=wn(t[n],r[n]);continue}if(n==="style"){t[n]=Object.assign({},t[n]??{},r[n]??{});continue}t[n]=r[n]!==void 0?r[n]:t[n]}for(let n in r)t[n]===void 0&&(t[n]=r[n])}return t}const Cn=Object.freeze({}),Pn=Object.freeze({});function br(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var En=/^((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)-.*))$/,Rn=br(function(e){return En.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91});function On(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 Tn(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 An=function(){function e(r){var n=this;this._insertTag=function(o){var i;n.tags.length===0?n.insertionPoint?i=n.insertionPoint.nextSibling:n.prepend?i=n.container.firstChild:i=n.before:i=n.tags[n.tags.length-1].nextSibling,n.container.insertBefore(o,i),n.tags.push(o)},this.isSpeedy=r.speedy===void 0?!0:r.speedy,this.tags=[],this.ctr=0,this.nonce=r.nonce,this.key=r.key,this.container=r.container,this.prepend=r.prepend,this.insertionPoint=r.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(n){n.forEach(this._insertTag)},t.insert=function(n){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(Tn(this));var o=this.tags[this.tags.length-1];if(this.isSpeedy){var i=On(o);try{i.insertRule(n,i.cssRules.length)}catch{}}else o.appendChild(document.createTextNode(n));this.ctr++},t.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}(),K="-ms-",Le="-moz-",$="-webkit-",xr="comm",wt="rule",kt="decl",jn="@import",Sr="@keyframes",Mn="@layer",_n=Math.abs,Ye=String.fromCharCode,In=Object.assign;function $n(e,t){return q(e,0)^45?(((t<<2^q(e,0))<<2^q(e,1))<<2^q(e,2))<<2^q(e,3):0}function wr(e){return e.trim()}function Nn(e,t){return(e=t.exec(e))?e[0]:e}function N(e,t,r){return e.replace(t,r)}function dt(e,t){return e.indexOf(t)}function q(e,t){return e.charCodeAt(t)|0}function Ae(e,t,r){return e.slice(t,r)}function le(e){return e.length}function Ct(e){return e.length}function Ie(e,t){return t.push(e),e}function Fn(e,t){return e.map(t).join("")}var Ue=1,ke=1,kr=0,ne=0,Y=0,Ce="";function Xe(e,t,r,n,o,i,a){return{value:e,root:t,parent:r,type:n,props:o,children:i,line:Ue,column:ke,length:a,return:""}}function Re(e,t){return In(Xe("",null,null,"",null,null,0),e,{length:-e.length},t)}function Wn(){return Y}function Bn(){return Y=ne>0?q(Ce,--ne):0,ke--,Y===10&&(ke=1,Ue--),Y}function ae(){return Y=ne<kr?q(Ce,ne++):0,ke++,Y===10&&(ke=1,Ue++),Y}function fe(){return q(Ce,ne)}function We(){return ne}function _e(e,t){return Ae(Ce,e,t)}function je(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 Cr(e){return Ue=ke=1,kr=le(Ce=e),ne=0,[]}function Pr(e){return Ce="",e}function Be(e){return wr(_e(ne-1,pt(e===91?e+2:e===40?e+1:e)))}function zn(e){for(;(Y=fe())&&Y<33;)ae();return je(e)>2||je(Y)>3?"":" "}function Vn(e,t){for(;--t&&ae()&&!(Y<48||Y>102||Y>57&&Y<65||Y>70&&Y<97););return _e(e,We()+(t<6&&fe()==32&&ae()==32))}function pt(e){for(;ae();)switch(Y){case e:return ne;case 34:case 39:e!==34&&e!==39&&pt(Y);break;case 40:e===41&&pt(e);break;case 92:ae();break}return ne}function Ln(e,t){for(;ae()&&e+Y!==57;)if(e+Y===84&&fe()===47)break;return"/*"+_e(t,ne-1)+"*"+Ye(e===47?e:ae())}function Dn(e){for(;!je(fe());)ae();return _e(e,ne)}function Hn(e){return Pr(ze("",null,null,null,[""],e=Cr(e),0,[0],e))}function ze(e,t,r,n,o,i,a,s,l){for(var f=0,c=0,d=a,u=0,m=0,g=0,p=1,x=1,w=1,b=0,y="",P=o,h=i,T=n,M=y;x;)switch(g=b,b=ae()){case 40:if(g!=108&&q(M,d-1)==58){dt(M+=N(Be(b),"&","&\f"),"&\f")!=-1&&(w=-1);break}case 34:case 39:case 91:M+=Be(b);break;case 9:case 10:case 13:case 32:M+=zn(g);break;case 92:M+=Vn(We()-1,7);continue;case 47:switch(fe()){case 42:case 47:Ie(Gn(Ln(ae(),We()),t,r),l);break;default:M+="/"}break;case 123*p:s[f++]=le(M)*w;case 125*p:case 59:case 0:switch(b){case 0:case 125:x=0;case 59+c:w==-1&&(M=N(M,/\f/g,"")),m>0&&le(M)-d&&Ie(m>32?Bt(M+";",n,r,d-1):Bt(N(M," ","")+";",n,r,d-2),l);break;case 59:M+=";";default:if(Ie(T=Wt(M,t,r,f,c,o,s,y,P=[],h=[],d),i),b===123)if(c===0)ze(M,t,T,T,P,i,d,s,h);else switch(u===99&&q(M,3)===110?100:u){case 100:case 108:case 109:case 115:ze(e,T,T,n&&Ie(Wt(e,T,T,0,0,o,s,y,o,P=[],d),h),o,h,d,s,n?P:h);break;default:ze(M,T,T,T,[""],h,0,s,h)}}f=c=m=0,p=w=1,y=M="",d=a;break;case 58:d=1+le(M),m=g;default:if(p<1){if(b==123)--p;else if(b==125&&p++==0&&Bn()==125)continue}switch(M+=Ye(b),b*p){case 38:w=c>0?1:(M+="\f",-1);break;case 44:s[f++]=(le(M)-1)*w,w=1;break;case 64:fe()===45&&(M+=Be(ae())),u=fe(),c=d=le(y=M+=Dn(We())),b++;break;case 45:g===45&&le(M)==2&&(p=0)}}return i}function Wt(e,t,r,n,o,i,a,s,l,f,c){for(var d=o-1,u=o===0?i:[""],m=Ct(u),g=0,p=0,x=0;g<n;++g)for(var w=0,b=Ae(e,d+1,d=_n(p=a[g])),y=e;w<m;++w)(y=wr(p>0?u[w]+" "+b:N(b,/&\f/g,u[w])))&&(l[x++]=y);return Xe(e,t,r,o===0?wt:s,l,f,c)}function Gn(e,t,r){return Xe(e,t,r,xr,Ye(Wn()),Ae(e,2,-2),0)}function Bt(e,t,r,n){return Xe(e,t,r,kt,Ae(e,0,n),Ae(e,n+1,-1),n)}function Se(e,t){for(var r="",n=Ct(e),o=0;o<n;o++)r+=t(e[o],o,e,t)||"";return r}function Yn(e,t,r,n){switch(e.type){case Mn:if(e.children.length)break;case jn:case kt:return e.return=e.return||e.value;case xr:return"";case Sr:return e.return=e.value+"{"+Se(e.children,n)+"}";case wt:e.value=e.props.join(",")}return le(r=Se(e.children,n))?e.return=e.value+"{"+r+"}":""}function Un(e){var t=Ct(e);return function(r,n,o,i){for(var a="",s=0;s<t;s++)a+=e[s](r,n,o,i)||"";return a}}function Xn(e){return function(t){t.root||(t=t.return)&&e(t)}}var qn=function(t,r,n){for(var o=0,i=0;o=i,i=fe(),o===38&&i===12&&(r[n]=1),!je(i);)ae();return _e(t,ne)},Kn=function(t,r){var n=-1,o=44;do switch(je(o)){case 0:o===38&&fe()===12&&(r[n]=1),t[n]+=qn(ne-1,r,n);break;case 2:t[n]+=Be(o);break;case 4:if(o===44){t[++n]=fe()===58?"&\f":"",r[n]=t[n].length;break}default:t[n]+=Ye(o)}while(o=ae());return t},Jn=function(t,r){return Pr(Kn(Cr(t),r))},zt=new WeakMap,Qn=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var r=t.value,n=t.parent,o=t.column===n.column&&t.line===n.line;n.type!=="rule";)if(n=n.parent,!n)return;if(!(t.props.length===1&&r.charCodeAt(0)!==58&&!zt.get(n))&&!o){zt.set(t,!0);for(var i=[],a=Jn(r,i),s=n.props,l=0,f=0;l<a.length;l++)for(var c=0;c<s.length;c++,f++)t.props[f]=i[l]?a[l].replace(/&\f/g,s[c]):s[c]+" "+a[l]}}},Zn=function(t){if(t.type==="decl"){var r=t.value;r.charCodeAt(0)===108&&r.charCodeAt(2)===98&&(t.return="",t.value="")}};function Er(e,t){switch($n(e,t)){case 5103:return $+"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 $+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return $+e+Le+e+K+e+e;case 6828:case 4268:return $+e+K+e+e;case 6165:return $+e+K+"flex-"+e+e;case 5187:return $+e+N(e,/(\w+).+(:[^]+)/,$+"box-$1$2"+K+"flex-$1$2")+e;case 5443:return $+e+K+"flex-item-"+N(e,/flex-|-self/,"")+e;case 4675:return $+e+K+"flex-line-pack"+N(e,/align-content|flex-|-self/,"")+e;case 5548:return $+e+K+N(e,"shrink","negative")+e;case 5292:return $+e+K+N(e,"basis","preferred-size")+e;case 6060:return $+"box-"+N(e,"-grow","")+$+e+K+N(e,"grow","positive")+e;case 4554:return $+N(e,/([^-])(transform)/g,"$1"+$+"$2")+e;case 6187:return N(N(N(e,/(zoom-|grab)/,$+"$1"),/(image-set)/,$+"$1"),e,"")+e;case 5495:case 3959:return N(e,/(image-set\([^]*)/,$+"$1$`$1");case 4968:return N(N(e,/(.+:)(flex-)?(.*)/,$+"box-pack:$3"+K+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+$+e+e;case 4095:case 3583:case 4068:case 2532:return N(e,/(.+)-inline(.+)/,$+"$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(le(e)-1-t>6)switch(q(e,t+1)){case 109:if(q(e,t+4)!==45)break;case 102:return N(e,/(.+:)(.+)-([^]+)/,"$1"+$+"$2-$3$1"+Le+(q(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~dt(e,"stretch")?Er(N(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(q(e,t+1)!==115)break;case 6444:switch(q(e,le(e)-3-(~dt(e,"!important")&&10))){case 107:return N(e,":",":"+$)+e;case 101:return N(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+$+(q(e,14)===45?"inline-":"")+"box$3$1"+$+"$2$3$1"+K+"$2box$3")+e}break;case 5936:switch(q(e,t+11)){case 114:return $+e+K+N(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return $+e+K+N(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return $+e+K+N(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return $+e+K+e+e}return e}var eo=function(t,r,n,o){if(t.length>-1&&!t.return)switch(t.type){case kt:t.return=Er(t.value,t.length);break;case Sr:return Se([Re(t,{value:N(t.value,"@","@"+$)})],o);case wt:if(t.length)return Fn(t.props,function(i){switch(Nn(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Se([Re(t,{props:[N(i,/:(read-\w+)/,":"+Le+"$1")]})],o);case"::placeholder":return Se([Re(t,{props:[N(i,/:(plac\w+)/,":"+$+"input-$1")]}),Re(t,{props:[N(i,/:(plac\w+)/,":"+Le+"$1")]}),Re(t,{props:[N(i,/:(plac\w+)/,K+"input-$1")]})],o)}return""})}},to=[eo],ro=function(t){var r=t.key;if(r==="css"){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(p){var x=p.getAttribute("data-emotion");x.indexOf(" ")!==-1&&(document.head.appendChild(p),p.setAttribute("data-s",""))})}var o=t.stylisPlugins||to,i={},a,s=[];a=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+r+' "]'),function(p){for(var x=p.getAttribute("data-emotion").split(" "),w=1;w<x.length;w++)i[x[w]]=!0;s.push(p)});var l,f=[Qn,Zn];{var c,d=[Yn,Xn(function(p){c.insert(p)})],u=Un(f.concat(o,d)),m=function(x){return Se(Hn(x),u)};l=function(x,w,b,y){c=b,m(x?x+"{"+w.styles+"}":w.styles),y&&(g.inserted[w.name]=!0)}}var g={key:r,sheet:new An({key:r,container:a,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:i,registered:{},insert:l};return g.sheet.hydrate(s),g};function no(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var $e={exports:{}},F={};/** @license React v16.13.1
|
|
2
|
+
* react-is.production.min.js
|
|
3
|
+
*
|
|
4
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
5
|
+
*
|
|
6
|
+
* This source code is licensed under the MIT license found in the
|
|
7
|
+
* LICENSE file in the root directory of this source tree.
|
|
8
|
+
*/var Vt;function oo(){if(Vt)return F;Vt=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,f=e?Symbol.for("react.concurrent_mode"):60111,c=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,u=e?Symbol.for("react.suspense_list"):60120,m=e?Symbol.for("react.memo"):60115,g=e?Symbol.for("react.lazy"):60116,p=e?Symbol.for("react.block"):60121,x=e?Symbol.for("react.fundamental"):60117,w=e?Symbol.for("react.responder"):60118,b=e?Symbol.for("react.scope"):60119;function y(h){if(typeof h=="object"&&h!==null){var T=h.$$typeof;switch(T){case t:switch(h=h.type,h){case l:case f:case n:case i:case o:case d:return h;default:switch(h=h&&h.$$typeof,h){case s:case c:case g:case m:case a:return h;default:return T}}case r:return T}}}function P(h){return y(h)===f}return F.AsyncMode=l,F.ConcurrentMode=f,F.ContextConsumer=s,F.ContextProvider=a,F.Element=t,F.ForwardRef=c,F.Fragment=n,F.Lazy=g,F.Memo=m,F.Portal=r,F.Profiler=i,F.StrictMode=o,F.Suspense=d,F.isAsyncMode=function(h){return P(h)||y(h)===l},F.isConcurrentMode=P,F.isContextConsumer=function(h){return y(h)===s},F.isContextProvider=function(h){return y(h)===a},F.isElement=function(h){return typeof h=="object"&&h!==null&&h.$$typeof===t},F.isForwardRef=function(h){return y(h)===c},F.isFragment=function(h){return y(h)===n},F.isLazy=function(h){return y(h)===g},F.isMemo=function(h){return y(h)===m},F.isPortal=function(h){return y(h)===r},F.isProfiler=function(h){return y(h)===i},F.isStrictMode=function(h){return y(h)===o},F.isSuspense=function(h){return y(h)===d},F.isValidElementType=function(h){return typeof h=="string"||typeof h=="function"||h===n||h===f||h===i||h===o||h===d||h===u||typeof h=="object"&&h!==null&&(h.$$typeof===g||h.$$typeof===m||h.$$typeof===a||h.$$typeof===s||h.$$typeof===c||h.$$typeof===x||h.$$typeof===w||h.$$typeof===b||h.$$typeof===p)},F.typeOf=y,F}var W={};/** @license React v16.13.1
|
|
9
|
+
* react-is.development.js
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
12
|
+
*
|
|
13
|
+
* This source code is licensed under the MIT license found in the
|
|
14
|
+
* LICENSE file in the root directory of this source tree.
|
|
15
|
+
*/var Lt;function io(){return Lt||(Lt=1,process.env.NODE_ENV!=="production"&&function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,f=e?Symbol.for("react.concurrent_mode"):60111,c=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,u=e?Symbol.for("react.suspense_list"):60120,m=e?Symbol.for("react.memo"):60115,g=e?Symbol.for("react.lazy"):60116,p=e?Symbol.for("react.block"):60121,x=e?Symbol.for("react.fundamental"):60117,w=e?Symbol.for("react.responder"):60118,b=e?Symbol.for("react.scope"):60119;function y(k){return typeof k=="string"||typeof k=="function"||k===n||k===f||k===i||k===o||k===d||k===u||typeof k=="object"&&k!==null&&(k.$$typeof===g||k.$$typeof===m||k.$$typeof===a||k.$$typeof===s||k.$$typeof===c||k.$$typeof===x||k.$$typeof===w||k.$$typeof===b||k.$$typeof===p)}function P(k){if(typeof k=="object"&&k!==null){var G=k.$$typeof;switch(G){case t:var ee=k.type;switch(ee){case l:case f:case n:case i:case o:case d:return ee;default:var he=ee&&ee.$$typeof;switch(he){case s:case c:case g:case m:case a:return he;default:return G}}case r:return G}}}var h=l,T=f,M=s,O=a,E=t,A=c,z=n,j=g,X=m,Z=r,B=i,J=o,oe=d,_=!1;function H(k){return _||(_=!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.")),L(k)||P(k)===l}function L(k){return P(k)===f}function ie(k){return P(k)===s}function ce(k){return P(k)===a}function ge(k){return typeof k=="object"&&k!==null&&k.$$typeof===t}function ye(k){return P(k)===c}function me(k){return P(k)===n}function Ze(k){return P(k)===g}function et(k){return P(k)===m}function S(k){return P(k)===r}function v(k){return P(k)===i}function I(k){return P(k)===o}function V(k){return P(k)===d}W.AsyncMode=h,W.ConcurrentMode=T,W.ContextConsumer=M,W.ContextProvider=O,W.Element=E,W.ForwardRef=A,W.Fragment=z,W.Lazy=j,W.Memo=X,W.Portal=Z,W.Profiler=B,W.StrictMode=J,W.Suspense=oe,W.isAsyncMode=H,W.isConcurrentMode=L,W.isContextConsumer=ie,W.isContextProvider=ce,W.isElement=ge,W.isForwardRef=ye,W.isFragment=me,W.isLazy=Ze,W.isMemo=et,W.isPortal=S,W.isProfiler=v,W.isStrictMode=I,W.isSuspense=V,W.isValidElementType=y,W.typeOf=P}()),W}var Dt;function ao(){return Dt||(Dt=1,process.env.NODE_ENV==="production"?$e.exports=oo():$e.exports=io()),$e.exports}var rt,Ht;function so(){if(Ht)return rt;Ht=1;var e=ao(),t={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},r={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},i={};i[e.ForwardRef]=n,i[e.Memo]=o;function a(g){return e.isMemo(g)?o:i[g.$$typeof]||t}var s=Object.defineProperty,l=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,c=Object.getOwnPropertyDescriptor,d=Object.getPrototypeOf,u=Object.prototype;function m(g,p,x){if(typeof p!="string"){if(u){var w=d(p);w&&w!==u&&m(g,w,x)}var b=l(p);f&&(b=b.concat(f(p)));for(var y=a(g),P=a(p),h=0;h<b.length;++h){var T=b[h];if(!r[T]&&!(x&&x[T])&&!(P&&P[T])&&!(y&&y[T])){var M=c(p,T);try{s(g,T,M)}catch{}}}}return g}return rt=m,rt}so();var co=!0;function Rr(e,t,r){var n="";return r.split(" ").forEach(function(o){e[o]!==void 0?t.push(e[o]+";"):o&&(n+=o+" ")}),n}var Pt=function(t,r,n){var o=t.key+"-"+r.name;(n===!1||co===!1)&&t.registered[o]===void 0&&(t.registered[o]=r.styles)},Et=function(t,r,n){Pt(t,r,n);var o=t.key+"-"+r.name;if(t.inserted[r.name]===void 0){var i=r;do t.insert(r===i?"."+o:"",i,t.sheet,!0),i=i.next;while(i!==void 0)}};function lo(e){for(var t=0,r,n=0,o=e.length;o>=4;++n,o-=4)r=e.charCodeAt(n)&255|(e.charCodeAt(++n)&255)<<8|(e.charCodeAt(++n)&255)<<16|(e.charCodeAt(++n)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(o){case 3:t^=(e.charCodeAt(n+2)&255)<<16;case 2:t^=(e.charCodeAt(n+1)&255)<<8;case 1:t^=e.charCodeAt(n)&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 uo={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},fo=/[A-Z]|^ms/g,po=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Or=function(t){return t.charCodeAt(1)===45},Gt=function(t){return t!=null&&typeof t!="boolean"},nt=br(function(e){return Or(e)?e:e.replace(fo,"-$&").toLowerCase()}),Yt=function(t,r){switch(t){case"animation":case"animationName":if(typeof r=="string")return r.replace(po,function(n,o,i){return ue={name:o,styles:i,next:ue},o})}return uo[t]!==1&&!Or(t)&&typeof r=="number"&&r!==0?r+"px":r};function Me(e,t,r){if(r==null)return"";var n=r;if(n.__emotion_styles!==void 0)return n;switch(typeof r){case"boolean":return"";case"object":{var o=r;if(o.anim===1)return ue={name:o.name,styles:o.styles,next:ue},o.name;var i=r;if(i.styles!==void 0){var a=i.next;if(a!==void 0)for(;a!==void 0;)ue={name:a.name,styles:a.styles,next:ue},a=a.next;var s=i.styles+";";return s}return mo(e,t,r)}case"function":{if(e!==void 0){var l=ue,f=r(e);return ue=l,Me(e,t,f)}break}}var c=r;if(t==null)return c;var d=t[c];return d!==void 0?d:c}function mo(e,t,r){var n="";if(Array.isArray(r))for(var o=0;o<r.length;o++)n+=Me(e,t,r[o])+";";else for(var i in r){var a=r[i];if(typeof a!="object"){var s=a;t!=null&&t[s]!==void 0?n+=i+"{"+t[s]+"}":Gt(s)&&(n+=nt(i)+":"+Yt(i,s)+";")}else if(Array.isArray(a)&&typeof a[0]=="string"&&(t==null||t[a[0]]===void 0))for(var l=0;l<a.length;l++)Gt(a[l])&&(n+=nt(i)+":"+Yt(i,a[l])+";");else{var f=Me(e,t,a);switch(i){case"animation":case"animationName":{n+=nt(i)+":"+f+";";break}default:n+=i+"{"+f+"}"}}}return n}var Ut=/label:\s*([^\s;{]+)\s*(;|$)/g,ue;function Rt(e,t,r){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var n=!0,o="";ue=void 0;var i=e[0];if(i==null||i.raw===void 0)n=!1,o+=Me(r,t,i);else{var a=i;o+=a[0]}for(var s=1;s<e.length;s++)if(o+=Me(r,t,e[s]),n){var l=i;o+=l[s]}Ut.lastIndex=0;for(var f="",c;(c=Ut.exec(o))!==null;)f+="-"+c[1];var d=lo(o)+f;return{name:d,styles:o,next:ue}}var go=function(t){return t()},Tr=D.useInsertionEffect?D.useInsertionEffect:!1,Ar=Tr||go,Xt=Tr||D.useLayoutEffect,jr=D.createContext(typeof HTMLElement<"u"?ro({key:"css"}):null);jr.Provider;var Ot=function(t){return C.forwardRef(function(r,n){var o=C.useContext(jr);return t(r,o,n)})},Tt=D.createContext({}),At={}.hasOwnProperty,mt="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",ho=function(t,r){var n={};for(var o in r)At.call(r,o)&&(n[o]=r[o]);return n[mt]=t,n},yo=function(t){var r=t.cache,n=t.serialized,o=t.isStringTag;return Pt(r,n,o),Ar(function(){return Et(r,n,o)}),null},vo=Ot(function(e,t,r){var n=e.css;typeof n=="string"&&t.registered[n]!==void 0&&(n=t.registered[n]);var o=e[mt],i=[n],a="";typeof e.className=="string"?a=Rr(t.registered,i,e.className):e.className!=null&&(a=e.className+" ");var s=Rt(i,void 0,D.useContext(Tt));a+=t.key+"-"+s.name;var l={};for(var f in e)At.call(e,f)&&f!=="css"&&f!==mt&&(l[f]=e[f]);return l.className=a,r&&(l.ref=r),D.createElement(D.Fragment,null,D.createElement(yo,{cache:t,serialized:s,isStringTag:typeof o=="string"}),D.createElement(o,l))}),bo=vo,qt=function(t,r){var n=arguments;if(r==null||!At.call(r,"css"))return D.createElement.apply(void 0,n);var o=n.length,i=new Array(o);i[0]=bo,i[1]=ho(t,r);for(var a=2;a<o;a++)i[a]=n[a];return D.createElement.apply(null,i)};(function(e){var t;t||(t=e.JSX||(e.JSX={}))})(qt||(qt={}));var Kt=Ot(function(e,t){var r=e.styles,n=Rt([r],void 0,D.useContext(Tt)),o=D.useRef();return Xt(function(){var i=t.key+"-global",a=new t.sheet.constructor({key:i,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),s=!1,l=document.querySelector('style[data-emotion="'+i+" "+n.name+'"]');return t.sheet.tags.length&&(a.before=t.sheet.tags[0]),l!==null&&(s=!0,l.setAttribute("data-emotion",i),a.hydrate([l])),o.current=[a,s],function(){a.flush()}},[t]),Xt(function(){var i=o.current,a=i[0],s=i[1];if(s){i[1]=!1;return}if(n.next!==void 0&&Et(t,n.next,!0),a.tags.length){var l=a.tags[a.tags.length-1].nextElementSibling;a.before=l,a.flush()}t.insert("",n,a,!1)},[t,n.name]),null});function xo(e,t){if(e!=null){if(typeof e=="function"){e(t);return}try{e.current=t}catch{throw new Error(`Cannot assign value '${t}' to ref '${e}'`)}}}function Mr(...e){return t=>{e.forEach(r=>{xo(r,t)})}}function Pe(e){const t=Object.assign({},e);for(let r in t)t[r]===void 0&&delete t[r];return t}function So(e){return e.default||e}const te=e=>e!=null&&typeof e=="object"&&!Array.isArray(e),wo=e=>/^var\(--.+\)$/.test(e),de=e=>typeof e=="string",jt=e=>typeof e=="function";function ko(e){var r;const t=D.version;return!de(t)||t.startsWith("18.")?e==null?void 0:e.ref:(r=e==null?void 0:e.props)==null?void 0:r.ref}const[Co,qe]=vr({name:"ChakraContext",strict:!0,providerName:"<ChakraProvider />"});function Po(e){const{value:t,children:r}=e;return R.jsxs(Co,{value:t,children:[!t._config.disableLayers&&R.jsx(Kt,{styles:t.layers.atRule}),R.jsx(Kt,{styles:t._global}),r]})}const Eo=(e,t)=>{const r={},n={},o=Object.keys(e);for(const i of o)t(i)?n[i]=e[i]:r[i]=e[i];return[n,r]},we=(e,t)=>{const r=jt(t)?t:n=>t.includes(n);return Eo(e,r)},Ro=new Set(["htmlWidth","htmlHeight","htmlSize","htmlTranslate"]);function Oo(e){return typeof e=="string"&&Ro.has(e)}function To(e,t,r){const{css:n,isValidProperty:o}=qe(),{children:i,...a}=e,s=C.useMemo(()=>{const[u,m]=we(a,b=>r(b,t.variantKeys)),[g,p]=we(m,t.variantKeys),[x,w]=we(p,o);return{forwardedProps:u,variantProps:g,styleProps:x,elementProps:w}},[t.variantKeys,r,a,o]),{css:l,...f}=s.styleProps,c=C.useMemo(()=>{const u={...s.variantProps};return t.variantKeys.includes("colorPalette")||(u.colorPalette=a.colorPalette),t.variantKeys.includes("orientation")||(u.orientation=a.orientation),t(u)},[t,s.variantProps,a.colorPalette,a.orientation]);return{styles:C.useMemo(()=>n(c,...Ao(l),f),[n,c,l,f]),props:{...s.forwardedProps,...s.elementProps,children:i}}}const Ao=e=>(Array.isArray(e)?e:[e]).filter(Boolean).flat(),jo=So(Rn),Mo=jo,_o=e=>e!=="theme",Io=(e,t,r)=>{let n;if(t){const o=t.shouldForwardProp;n=e.__emotion_forwardProp&&o?i=>e.__emotion_forwardProp(i)&&o(i):o}return typeof n!="function"&&r&&(n=e.__emotion_forwardProp),n};let $o=typeof document<"u";const Jt=({cache:e,serialized:t,isStringTag:r})=>{Pt(e,t,r);const n=Ar(()=>Et(e,t,r));if(!$o&&n!==void 0){let o=t.name,i=t.next;for(;i!==void 0;)o=re(o,i.name),i=i.next;return R.jsx("style",{"data-emotion":re(e.key,o),dangerouslySetInnerHTML:{__html:n},nonce:e.sheet.nonce})}return null},No=(e,t={},r={})=>{if(process.env.NODE_ENV!=="production"&&e===void 0)throw new Error(`You are trying to create a styled element with an undefined component.
|
|
16
|
+
You may have forgotten to import it.`);const n=e.__emotion_real===e,o=n&&e.__emotion_base||e;let i,a;r!==void 0&&(i=r.label,a=r.target);let s=[];const l=Ot((f,c,d)=>{var Z;const{cva:u,isValidProperty:m}=qe(),g=t.__cva__?t:u(t),p=Wo(e.__emotion_cva,g),x=B=>(J,oe)=>B.includes(J)?!0:!(oe!=null&&oe.includes(J))&&!m(J);!r.shouldForwardProp&&r.forwardProps&&(r.shouldForwardProp=x(r.forwardProps));const w=(B,J)=>{const oe=typeof e=="string"&&e.charCodeAt(0)>96?Mo:_o,_=!(J!=null&&J.includes(B))&&!m(B);return oe(B)&&_},b=Io(e,r,n)||w,y=D.useMemo(()=>Object.assign({},r.defaultProps,Pe(f)),[f]),{props:P,styles:h}=To(y,p,b);let T="",M=[h],O=P;if(P.theme==null){O={};for(let B in P)O[B]=P[B];O.theme=D.useContext(Tt)}typeof P.className=="string"?T=Rr(c.registered,M,P.className):P.className!=null&&(T=re(T,P.className));const E=Rt(s.concat(M),c.registered,O);T=re(T,`${c.key}-${E.name}`),a!==void 0&&(T=re(T,a));const A=!b("as");let z=A&&P.as||o,j={};for(let B in P)if(!(A&&B==="as")){if(Oo(B)){const J=B.replace("html","").toLowerCase();j[J]=P[B];continue}b(B)&&(j[B]=P[B])}j.className=T.trim(),j.ref=d;const X=r.forwardAsChild||((Z=r.forwardProps)==null?void 0:Z.includes("asChild"));if(P.asChild&&!X){const B=D.Children.only(P.children);z=B.type,j.children=null,Reflect.deleteProperty(j,"asChild"),j=St(j,B.props),j.ref=Mr(d,ko(B))}return j.as&&X?(j.as=void 0,R.jsxs(D.Fragment,{children:[R.jsx(Jt,{cache:c,serialized:E,isStringTag:typeof z=="string"}),R.jsx(z,{asChild:!0,...j,children:R.jsx(P.as,{children:j.children})})]})):R.jsxs(D.Fragment,{children:[R.jsx(Jt,{cache:c,serialized:E,isStringTag:typeof z=="string"}),R.jsx(z,{...j})]})});return l.displayName=i!==void 0?i:`chakra(${typeof o=="string"?o:o.displayName||o.name||"Component"})`,l.__emotion_real=l,l.__emotion_base=o,l.__emotion_forwardProp=r.shouldForwardProp,l.__emotion_cva=t,Object.defineProperty(l,"toString",{value(){return a===void 0&&process.env.NODE_ENV!=="production"?"NO_COMPONENT_SELECTOR":`.${a}`}}),l},ot=No.bind(),it=new Map,Fo=new Proxy(ot,{apply(e,t,r){return ot(...r)},get(e,t){return it.has(t)||it.set(t,ot(t)),it.get(t)}}),U=Fo,Wo=(e,t)=>e&&!t?e:!e&&t?t:e.merge(t);function _r(e){const{key:t,recipe:r}=e,n=qe();return C.useMemo(()=>{const o=r||(t!=null?n.getRecipe(t):{});return n.cva(structuredClone(o))},[t,r,n])}const Bo=e=>e.charAt(0).toUpperCase()+e.slice(1);function Ke(e){const{key:t,recipe:r}=e,n=Bo(t||r.className||"Component"),[o,i]=vr({strict:!1,name:`${n}PropsContext`,providerName:`${n}PropsContext`});function a(f){const{unstyled:c,...d}=f,u=_r({key:t,recipe:d.recipe||r}),[m,g]=C.useMemo(()=>u.splitVariantProps(d),[u,d]);return{styles:c?Cn:u(m),className:u.className,props:g}}const s=(f,c)=>{const d=U(f,{},c),u=C.forwardRef((m,g)=>{const p=i(),x=C.useMemo(()=>St(p,m),[m,p]),{styles:w,className:b,props:y}=a(x);return R.jsx(d,{...y,ref:g,css:[w,x.css],className:re(b,x.className)})});return u.displayName=f.displayName||f.name,u};function l(){return o}return{withContext:s,PropsProvider:o,withPropsProvider:l,usePropsContext:i,useRecipeResult:a}}const Ir=C.forwardRef(function(t,r){const{templateAreas:n,column:o,row:i,autoFlow:a,autoRows:s,templateRows:l,autoColumns:f,templateColumns:c,inline:d,...u}=t;return R.jsx(U.div,{...u,ref:r,css:[{display:d?"inline-grid":"grid",gridTemplateAreas:n,gridAutoColumns:f,gridColumn:o,gridRow:i,gridAutoFlow:a,gridAutoRows:s,gridTemplateRows:l,gridTemplateColumns:c},t.css]})});function zo(e,t){return`${e} returned \`undefined\`. Seems you forgot to wrap component within ${t}`}function Vo(e={}){const{name:t,strict:r=!0,hookName:n="useContext",providerName:o="Provider",errorMessage:i,defaultValue:a}=e,s=C.createContext(a);s.displayName=t;function l(){var c;const f=C.useContext(s);if(!f&&r){const d=new Error(i??zo(n,o));throw d.name="ContextError",(c=Error.captureStackTrace)==null||c.call(Error,d,l),d}return f}return[s.Provider,l,s]}function Lo(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function Do(...e){return t=>{for(const r of e)Lo(r,t)}}var Ho=(...e)=>(...t)=>{e.forEach(function(r){r==null||r(...t)})},at=e=>typeof e=="string",Go=Function.prototype.toString;Go.call(Object);var Yo=(...e)=>e.map(t=>{var r;return(r=t==null?void 0:t.trim)==null?void 0:r.call(t)}).filter(Boolean).join(" "),Uo=/((?:--)?(?:\w+-?)+)\s*:\s*([^;]*)/g,Qt=e=>{const t={};let r;for(;r=Uo.exec(e);)t[r[1]]=r[2];return t},Xo=(e,t)=>{if(at(e)){if(at(t))return`${e};${t}`;e=Qt(e)}else at(t)&&(t=Qt(t));return Object.assign({},e??{},t??{})};function $r(...e){let t={};for(let r of e){for(let n in t){if(n.startsWith("on")&&typeof t[n]=="function"&&typeof r[n]=="function"){t[n]=Ho(r[n],t[n]);continue}if(n==="className"||n==="class"){t[n]=Yo(t[n],r[n]);continue}if(n==="style"){t[n]=Xo(t[n],r[n]);continue}t[n]=r[n]!==void 0?r[n]:t[n]}for(let n in r)t[n]===void 0&&(t[n]=r[n])}return t}function qo(e){var n,o;let t=(n=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:n.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}const st=e=>{const t=C.memo(C.forwardRef((r,n)=>{const{asChild:o,children:i,...a}=r;if(!o)return C.createElement(e,{...a,ref:n},i);const s=C.Children.only(i);if(!C.isValidElement(s))return null;const l=qo(s);return C.cloneElement(s,{...$r(a,s.props),ref:n?Do(n,l):l})}));return t.displayName=e.displayName||e.name,t},Ko=()=>{const e=new Map;return new Proxy(st,{apply(t,r,n){return st(n[0])},get(t,r){const n=r;return e.has(n)||e.set(n,st(n)),e.get(n)}})},Jo=Ko(),Qo=C.forwardRef(function(t,r){const{appearance:n,style:o,className:i,hasBackground:a=!0,...s}=t;return R.jsx(U.div,{color:"fg",bg:a?"bg":void 0,colorPalette:"gray",...s,className:re("chakra-theme",n,i),style:{...o,colorScheme:n},ref:r})});function ct(e,t=[]){const r=C.useRef(()=>{throw new Error("Cannot call an event handler while rendering.")});return C.useInsertionEffect(()=>{r.current=e}),C.useCallback((...n)=>{var o;return(o=r.current)==null?void 0:o.call(r,...n)},t)}function Zo(e){const{value:t,defaultValue:r,onChange:n,shouldUpdate:o=(u,m)=>u!==m}=e,i=ct(n),a=ct(o),[s,l]=C.useState(r),f=t!==void 0,c=f?t:s,d=ct(u=>{const g=typeof u=="function"?u(c):u;a(c,g)&&(f||l(g),i(g))},[f,i,c,a]);return[c,d]}const[ws,ei]=Vo({name:"FieldContext",hookName:"useFieldContext",providerName:"<FieldProvider />",strict:!1}),Nr=C.forwardRef((e,t)=>{const r=ei(),n=$r(r==null?void 0:r.getInputProps(),e);return R.jsx(Jo.input,{...n,ref:t})});Nr.displayName="FieldInput";const ti=(e,t)=>{var l;if(!e||typeof e!="string")return{invalid:!0,value:e};const[r,n]=e.split("/");if(!r||!n||r==="currentBg")return{invalid:!0,value:r};const o=t(`colors.${r}`),i=(l=t.raw(`opacity.${n}`))==null?void 0:l.value;if(!i&&isNaN(Number(n)))return{invalid:!0,value:r};const a=i?Number(i)*100+"%":`${n}%`,s=o??r;return{invalid:!1,color:s,value:`color-mix(in srgb, ${s} ${a}, transparent)`}};function gt(e){if(e===null||typeof e!="object")return e;if(Array.isArray(e))return e.map(r=>gt(r));const t=Object.create(Object.getPrototypeOf(e));for(const r of Object.keys(e))t[r]=gt(e[r]);return t}function ht(e,t){if(t==null)return e;for(const r of Object.keys(t))if(!(t[r]===void 0||r==="__proto__"))if(!te(e[r])&&te(t[r]))Object.assign(e,{[r]:t[r]});else if(e[r]&&te(t[r]))ht(e[r],t[r]);else if(Array.isArray(t[r])&&Array.isArray(e[r])){let n=0;for(;n<t[r].length;n++)te(e[r][n])&&te(t[r][n])?ht(e[r][n],t[r][n]):e[r][n]=t[r][n]}else Object.assign(e,{[r]:t[r]});return e}function Ee(e,...t){for(const r of t)ht(e,r);return e}const Fr=e=>e,ri=e=>e,ni=(...e)=>Ee({},...e.map(gt)),oi=/[^a-zA-Z0-9_\u0081-\uffff-]/g;function ii(e){return`${e}`.replace(oi,t=>`\\${t}`)}const ai=/[A-Z]/g;function si(e){return e.replace(ai,t=>`-${t.toLowerCase()}`)}function ci(e,t={}){const{fallback:r="",prefix:n=""}=t,o=si(["-",n,ii(e)].filter(Boolean).join("-"));return{var:o,ref:`var(${o}${r?`, ${r}`:""})`}}var li="",ui=li.split(","),fi="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,accentColor,alignContent,alignItems,alignSelf,alignTracks,all,animation,animationComposition,animationDelay,animationDirection,animationDuration,animationFillMode,animationIterationCount,animationName,animationPlayState,animationRange,animationRangeEnd,animationRangeStart,animationTimingFunction,animationTimeline,appearance,aspectRatio,azimuth,backdropFilter,backfaceVisibility,background,backgroundAttachment,backgroundBlendMode,backgroundClip,backgroundColor,backgroundImage,backgroundOrigin,backgroundPosition,backgroundPositionX,backgroundPositionY,backgroundRepeat,backgroundSize,blockSize,border,borderBlock,borderBlockColor,borderBlockStyle,borderBlockWidth,borderBlockEnd,borderBlockEndColor,borderBlockEndStyle,borderBlockEndWidth,borderBlockStart,borderBlockStartColor,borderBlockStartStyle,borderBlockStartWidth,borderBottom,borderBottomColor,borderBottomLeftRadius,borderBottomRightRadius,borderBottomStyle,borderBottomWidth,borderCollapse,borderColor,borderEndEndRadius,borderEndStartRadius,borderImage,borderImageOutset,borderImageRepeat,borderImageSlice,borderImageSource,borderImageWidth,borderInline,borderInlineEnd,borderInlineColor,borderInlineStyle,borderInlineWidth,borderInlineEndColor,borderInlineEndStyle,borderInlineEndWidth,borderInlineStart,borderInlineStartColor,borderInlineStartStyle,borderInlineStartWidth,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,color,colorScheme,columnCount,columnFill,columnGap,columnRule,columnRuleColor,columnRuleStyle,columnRuleWidth,columnSpan,columnWidth,columns,contain,containIntrinsicSize,containIntrinsicBlockSize,containIntrinsicHeight,containIntrinsicInlineSize,containIntrinsicWidth,container,containerName,containerType,content,contentVisibility,counterIncrement,counterReset,counterSet,cursor,direction,display,emptyCells,filter,flex,flexBasis,flexDirection,flexFlow,flexGrow,flexShrink,flexWrap,float,font,fontFamily,fontFeatureSettings,fontKerning,fontLanguageOverride,fontOpticalSizing,fontPalette,fontVariationSettings,fontSize,fontSizeAdjust,fontSmooth,fontStretch,fontStyle,fontSynthesis,fontSynthesisPosition,fontSynthesisSmallCaps,fontSynthesisStyle,fontSynthesisWeight,fontVariant,fontVariantAlternates,fontVariantCaps,fontVariantEastAsian,fontVariantEmoji,fontVariantLigatures,fontVariantNumeric,fontVariantPosition,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,inputSecurity,inset,insetBlock,insetBlockEnd,insetBlockStart,insetInline,insetInlineEnd,insetInlineStart,isolation,justifyContent,justifyItems,justifySelf,justifyTracks,left,letterSpacing,lineBreak,lineClamp,lineHeight,lineHeightStep,listStyle,listStyleImage,listStylePosition,listStyleType,margin,marginBlock,marginBlockEnd,marginBlockStart,marginBottom,marginInline,marginInlineEnd,marginInlineStart,marginLeft,marginRight,marginTop,marginTrim,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,printColorAdjust,quotes,resize,right,rotate,rowGap,rubyAlign,rubyMerge,rubyPosition,scale,scrollbarColor,scrollbarGutter,scrollbarWidth,scrollBehavior,scrollMargin,scrollMarginBlock,scrollMarginBlockStart,scrollMarginBlockEnd,scrollMarginBottom,scrollMarginInline,scrollMarginInlineStart,scrollMarginInlineEnd,scrollMarginLeft,scrollMarginRight,scrollMarginTop,scrollPadding,scrollPaddingBlock,scrollPaddingBlockStart,scrollPaddingBlockEnd,scrollPaddingBottom,scrollPaddingInline,scrollPaddingInlineStart,scrollPaddingInlineEnd,scrollPaddingLeft,scrollPaddingRight,scrollPaddingTop,scrollSnapAlign,scrollSnapCoordinate,scrollSnapDestination,scrollSnapPointsX,scrollSnapPointsY,scrollSnapStop,scrollSnapType,scrollSnapTypeX,scrollSnapTypeY,scrollTimeline,scrollTimelineAxis,scrollTimelineName,shapeImageThreshold,shapeMargin,shapeOutside,tabSize,tableLayout,textAlign,textAlignLast,textCombineUpright,textDecoration,textDecorationColor,textDecorationLine,textDecorationSkip,textDecorationSkipInk,textDecorationStyle,textDecorationThickness,textEmphasis,textEmphasisColor,textEmphasisPosition,textEmphasisStyle,textIndent,textJustify,textOrientation,textOverflow,textRendering,textShadow,textSizeAdjust,textTransform,textUnderlineOffset,textUnderlinePosition,textWrap,timelineScope,top,touchAction,transform,transformBox,transformOrigin,transformStyle,transition,transitionBehavior,transitionDelay,transitionDuration,transitionProperty,transitionTimingFunction,translate,unicodeBidi,userSelect,verticalAlign,viewTimeline,viewTimelineAxis,viewTimelineInset,viewTimelineName,viewTransitionName,visibility,whiteSpace,whiteSpaceCollapse,widows,width,willChange,wordBreak,wordSpacing,wordWrap,writingMode,zIndex,zoom,alignmentBaseline,baselineShift,clipRule,colorInterpolation,colorRendering,dominantBaseline,fill,fillOpacity,fillRule,floodColor,floodOpacity,glyphOrientationVertical,lightingColor,marker,markerEnd,markerMid,markerStart,shapeRendering,stopColor,stopOpacity,stroke,strokeDasharray,strokeDashoffset,strokeLinecap,strokeLinejoin,strokeMiterlimit,strokeOpacity,strokeWidth,textAnchor,vectorEffect",di=fi.split(",").concat(ui),pi=new Map(di.map(e=>[e,!0]));function mi(e){const t=Object.create(null);return r=>(t[r]===void 0&&(t[r]=e(r)),t[r])}var gi=/&|@/,hi=mi(e=>pi.has(e)||e.startsWith("--")||gi.test(e));const yi=e=>e!=null;function pe(e,t,r={}){const{stop:n,getKey:o}=r;function i(a,s=[]){if(te(a)||Array.isArray(a)){const l={};for(const[f,c]of Object.entries(a)){const d=(o==null?void 0:o(f,c))??f,u=[...s,d];if(n!=null&&n(a,u))return t(a,s);const m=i(c,u);yi(m)&&(l[d]=m)}return l}return t(a,s)}return i(e)}function Q(e,t){return Array.isArray(e)?e.map(r=>t(r)):te(e)?pe(e,r=>t(r)):e!=null?t(e):e}function vi(e,t){const r={};return pe(e,(n,o)=>{n&&(r[o.join(".")]=n.value)},{stop:t}),r}var lt,Zt;function bi(){if(Zt)return lt;Zt=1,lt=i,i.default=i,i.stable=f,i.stableStringify=f;var e="[...]",t="[Circular]",r=[],n=[];function o(){return{depthLimit:Number.MAX_SAFE_INTEGER,edgesLimit:Number.MAX_SAFE_INTEGER}}function i(u,m,g,p){typeof p>"u"&&(p=o()),s(u,"",0,[],void 0,0,p);var x;try{n.length===0?x=JSON.stringify(u,m,g):x=JSON.stringify(u,d(m),g)}catch{return JSON.stringify("[unable to serialize, circular reference is too complex to analyze]")}finally{for(;r.length!==0;){var w=r.pop();w.length===4?Object.defineProperty(w[0],w[1],w[3]):w[0][w[1]]=w[2]}}return x}function a(u,m,g,p){var x=Object.getOwnPropertyDescriptor(p,g);x.get!==void 0?x.configurable?(Object.defineProperty(p,g,{value:u}),r.push([p,g,m,x])):n.push([m,g,u]):(p[g]=u,r.push([p,g,m]))}function s(u,m,g,p,x,w,b){w+=1;var y;if(typeof u=="object"&&u!==null){for(y=0;y<p.length;y++)if(p[y]===u){a(t,u,m,x);return}if(typeof b.depthLimit<"u"&&w>b.depthLimit){a(e,u,m,x);return}if(typeof b.edgesLimit<"u"&&g+1>b.edgesLimit){a(e,u,m,x);return}if(p.push(u),Array.isArray(u))for(y=0;y<u.length;y++)s(u[y],y,y,p,u,w,b);else{var P=Object.keys(u);for(y=0;y<P.length;y++){var h=P[y];s(u[h],h,y,p,u,w,b)}}p.pop()}}function l(u,m){return u<m?-1:u>m?1:0}function f(u,m,g,p){typeof p>"u"&&(p=o());var x=c(u,"",0,[],void 0,0,p)||u,w;try{n.length===0?w=JSON.stringify(x,m,g):w=JSON.stringify(x,d(m),g)}catch{return JSON.stringify("[unable to serialize, circular reference is too complex to analyze]")}finally{for(;r.length!==0;){var b=r.pop();b.length===4?Object.defineProperty(b[0],b[1],b[3]):b[0][b[1]]=b[2]}}return w}function c(u,m,g,p,x,w,b){w+=1;var y;if(typeof u=="object"&&u!==null){for(y=0;y<p.length;y++)if(p[y]===u){a(t,u,m,x);return}try{if(typeof u.toJSON=="function")return}catch{return}if(typeof b.depthLimit<"u"&&w>b.depthLimit){a(e,u,m,x);return}if(typeof b.edgesLimit<"u"&&g+1>b.edgesLimit){a(e,u,m,x);return}if(p.push(u),Array.isArray(u))for(y=0;y<u.length;y++)c(u[y],y,y,p,u,w,b);else{var P={},h=Object.keys(u).sort(l);for(y=0;y<h.length;y++){var T=h[y];c(u[T],T,y,p,u,w,b),P[T]=u[T]}if(typeof x<"u")r.push([x,m,u]),x[m]=P;else return P}p.pop()}}function d(u){return u=typeof u<"u"?u:function(m,g){return g},function(m,g){if(n.length>0)for(var p=0;p<n.length;p++){var x=n[p];if(x[1]===m&&x[0]===g){g=x[2],n.splice(p,1);break}}return u.call(this,m,g)}}return lt}var xi=bi();const Si=no(xi),se=e=>{const t=Object.create(null);function r(...n){const o=n.map(i=>Si(i)).join("|");return t[o]===void 0&&(t[o]=e(...n)),t[o]}return r},Wr=16,De="px",Mt="em",Te="rem";function Br(e=""){const t=new RegExp(String.raw`-?\d+(?:\.\d+|\d*)`),r=new RegExp(`${De}|${Mt}|${Te}`),n=e.match(new RegExp(`${t.source}(${r.source})`));return n==null?void 0:n[1]}function zr(e=""){if(typeof e=="number")return`${e}px`;const t=Br(e);if(!t||t===De)return e;if(t===Mt||t===Te)return`${parseFloat(e)*Wr}${De}`}function Vr(e=""){const t=Br(e);if(!t||t===Te)return e;if(t===Mt)return`${parseFloat(e)}${Te}`;if(t===De)return`${parseFloat(e)/Wr}${Te}`}const wi=e=>e.charAt(0).toUpperCase()+e.slice(1);function ki(e){const t=Ci(e),r=Object.fromEntries(t);function n(u){return r[u]}function o(u){return be(n(u))}function i(){const u=Object.keys(r),m=Pi(u),g=u.flatMap(p=>{const x=n(p),w=[`${p}Down`,be({max:Ve(x.min)})],b=[p,be({min:x.min})],y=[`${p}Only`,o(p)];return[b,y,w]}).filter(([,p])=>p!=="").concat(m.map(([p,x])=>{const w=n(p),b=n(x);return[`${p}To${wi(x)}`,be({min:w.min,max:Ve(b.min)})]}));return Object.fromEntries(g)}function a(){const u=i();return Object.fromEntries(Object.entries(u))}const s=a(),l=u=>s[u];function f(){return["base",...Object.keys(r)]}function c(u){return be({min:n(u).min})}function d(u){return be({max:Ve(n(u).min)})}return{values:Object.values(r),only:o,keys:f,conditions:s,getCondition:l,up:c,down:d}}function Ve(e){const t=parseFloat(zr(e)??"")-.04;return Vr(`${t}px`)}function Ci(e){return Object.entries(e).sort(([,r],[,n])=>parseInt(r,10)<parseInt(n,10)?-1:1).map(([r,n],o,i)=>{var s;let a=null;return o<=i.length-1&&(a=(s=i[o+1])==null?void 0:s[1]),a!=null&&(a=Ve(a)),[r,{name:r,min:Vr(n),max:a}]})}function Pi(e){const t=[];return e.forEach((r,n)=>{let o=n;o++;let i=e[o];for(;i;)t.push([r,i]),o++,i=e[o]}),t}function be({min:e,max:t}){return e==null&&t==null?"":["@media screen",e&&`(min-width: ${e})`,t&&`(max-width: ${t})`].filter(Boolean).join(" and ")}const Ei=(e,t)=>Object.fromEntries(Object.entries(e).map(([r,n])=>t(r,n))),Ri=e=>{const{breakpoints:t,conditions:r={}}=e,n=Ei(r,(c,d)=>[`_${c}`,d]),o=Object.assign({},n,t.conditions);function i(){return Object.keys(o)}function a(c){return i().includes(c)||/^@|&|&$/.test(c)||c.startsWith("_")}function s(c){return c.filter(d=>d!=="base").sort((d,u)=>{const m=a(d),g=a(u);return m&&!g?1:!m&&g?-1:0})}function l(c){return c.startsWith("@breakpoint")?t.getCondition(c.replace("@breakpoint ","")):c}function f(c){return Reflect.get(o,c)||c}return{keys:i,sort:s,has:a,resolve:f,breakpoints:t.keys(),expandAtRule:l}},Lr=e=>({minMax:new RegExp(`(!?\\(\\s*min(-device-)?-${e})(.|
|
|
17
|
+
)+\\(\\s*max(-device)?-${e}`,"i"),min:new RegExp(`\\(\\s*min(-device)?-${e}`,"i"),maxMin:new RegExp(`(!?\\(\\s*max(-device)?-${e})(.|
|
|
18
|
+
)+\\(\\s*min(-device)?-${e}`,"i"),max:new RegExp(`\\(\\s*max(-device)?-${e}`,"i")}),Oi=Lr("width"),Ti=Lr("height"),Dr=e=>({isMin:ir(e.minMax,e.maxMin,e.min),isMax:ir(e.maxMin,e.minMax,e.max)}),{isMin:yt,isMax:er}=Dr(Oi),{isMin:vt,isMax:tr}=Dr(Ti),rr=/print/i,nr=/^print$/i,Ai=/(-?\d*\.?\d+)(ch|em|ex|px|rem)/,ji=/(\d)/,Oe=Number.MAX_VALUE,Mi={ch:8.8984375,em:16,rem:16,ex:8.296875,px:1};function or(e){const t=Ai.exec(e)||(yt(e)||vt(e)?ji.exec(e):null);if(!t)return Oe;if(t[0]==="0")return 0;const r=parseFloat(t[1]),n=t[2];return r*(Mi[n]||1)}function ir(e,t,r){return n=>e.test(n)||!t.test(n)&&r.test(n)}function _i(e,t){const r=rr.test(e),n=nr.test(e),o=rr.test(t),i=nr.test(t);return r&&o?!n&&i?1:n&&!i?-1:e.localeCompare(t):r?1:o?-1:null}const Ii=se((e,t)=>{const r=_i(e,t);if(r!==null)return r;const n=yt(e)||vt(e),o=er(e)||tr(e),i=yt(t)||vt(t),a=er(t)||tr(t);if(n&&a)return-1;if(o&&i)return 1;const s=or(e),l=or(t);return s===Oe&&l===Oe?e.localeCompare(t):s===Oe?1:l===Oe?-1:s!==l?s>l?o?-1:1:o?1:-1:e.localeCompare(t)});function ar(e){return e.sort(([t],[r])=>Ii(t,r))}function Hr(e){const t=[],r=[],n={};for(const[a,s]of Object.entries(e))a.startsWith("@media")?t.push([a,s]):a.startsWith("@container")?r.push([a,s]):te(s)?n[a]=Hr(s):n[a]=s;const o=ar(t),i=ar(r);return{...n,...Object.fromEntries(o),...Object.fromEntries(i)}}const Gr=/\s*!(important)?/i,$i=e=>de(e)?Gr.test(e):!1,Ni=e=>de(e)?e.replace(Gr,"").trim():e;function Yr(e){const{transform:t,conditions:r,normalize:n}=e,o=Bi(e);return se(function(...a){const s=o(...a),l=n(s),f=Object.create(null);return pe(l,(c,d)=>{const u=$i(c);if(c==null)return;const[m,...g]=r.sort(d).map(r.resolve);u&&(c=Ni(c));let p=t(m,c)??Object.create(null);p=pe(p,x=>de(x)&&u?`${x} !important`:x,{getKey:x=>r.expandAtRule(x)}),Fi(f,g.flat(),p)}),Hr(f)})}function Fi(e,t,r){let n=e;for(const o of t)o&&(n[o]||(n[o]=Object.create(null)),n=n[o]);Ee(n,r)}function Wi(...e){return e.filter(t=>te(t)&&Object.keys(Pe(t)).length>0)}function Bi(e){function t(r){const n=Wi(...r);return n.length===1?n:n.map(o=>e.normalize(o))}return se(function(...n){return Ee({},...t(n))})}function Ur(e,t=[]){const r=Object.assign({},e);for(const n of t)n in r&&delete r[n];return r}const zi=(...e)=>{const t=e.filter(Boolean);return Array.from(new Set(t))},Xr=e=>({base:{},variants:{},defaultVariants:{},compoundVariants:[],...e});function Vi(e){const{css:t,conditions:r,normalize:n,layers:o}=e;function i(s={}){const{base:l,variants:f,defaultVariants:c,compoundVariants:d}=Xr(s),u=Yr({conditions:r,normalize:n,transform(b,y){var P;return(P=f[b])==null?void 0:P[y]}}),m=(b={})=>{const y=n({...c,...Pe(b)});let P={...l};Ee(P,u(y));const h=a(d,y);return o.wrap("recipes",t(P,h))},g=Object.keys(f),p=b=>{const y=Ur(b,["recipe"]),[P,h]=we(y,g);return g.includes("colorPalette")||(P.colorPalette=b.colorPalette||c.colorPalette),g.includes("orientation")&&(h.orientation=b.orientation),[P,h]},x=Object.fromEntries(Object.entries(f).map(([b,y])=>[b,Object.keys(y)]));return Object.assign(b=>t(m(b)),{className:s.className,__cva__:!0,variantMap:x,variantKeys:g,raw:m,config:s,splitVariantProps:p,merge(b){return i(Li(e)(this,b))}})}function a(s,l){let f={};return s.forEach(c=>{Object.entries(c).every(([u,m])=>u==="css"?!0:(Array.isArray(m)?m:[m]).some(p=>l[u]===p))&&(f=t(f,c.css))}),f}return i}function Li(e){const{css:t}=e;return function(n,o){const i=Xr(o.config),a=zi(n.variantKeys,Object.keys(o.variants)),s=t(n.base,i.base),l=Object.fromEntries(a.map(u=>[u,t(n.config.variants[u],i.variants[u])])),f=Ee(n.config.defaultVariants,i.defaultVariants),c=[...n.compoundVariants,...i.compoundVariants];return{className:re(n.className,o.className),base:s,variants:l,defaultVariants:f,compoundVariants:c}}}const Di={reset:"reset",base:"base",tokens:"tokens",recipes:"recipes"},sr={reset:0,base:1,tokens:2,recipes:3};function Hi(e){const t=e.layers??Di,n=Object.values(t).sort((o,i)=>sr[o]-sr[i]);return{names:n,atRule:`@layer ${n.join(", ")};`,wrap(o,i){return e.disableLayers?i:{[`@layer ${t[o]}`]:i}}}}function Gi(e){const{utility:t,normalize:r}=e,{hasShorthand:n,resolveShorthand:o}=t;return function(i){return pe(i,r,{stop:a=>Array.isArray(a),getKey:n?o:void 0})}}function Yi(e){const{preflight:t}=e;if(!t)return{};const{scope:r="",level:n="parent"}=te(t)?t:{};let o="";r&&n==="parent"?o=`${r} `:r&&n==="element"&&(o=`&${r}`);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"}},a={[r||"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 s=Object.entries(i).reduce((l,[f,c])=>(l[f]={[o]:c},l),{});Object.assign(a,s)}else o?a[o]=i:Object.assign(a,i);return a}function Ui(e){const{conditions:t,isValidProperty:r}=e;return function(o){return pe(o,i=>i,{getKey:(i,a)=>te(a)&&!t.has(i)&&!r(i)?Xi(i).map(s=>"&"+s).join(", "):i})}}function Xi(e){const t=[];let r=0,n="",o=!1;for(let i=0;i<e.length;i++){const a=e[i];if(a==="\\"&&!o){o=!0,n+=a;continue}if(o){o=!1,n+=a;continue}a==="("?r++:a===")"&&r--,a===","&&r===0?(t.push(n.trim()),n=""):n+=a}return n&&t.push(n.trim()),t}const qi=(e={})=>{const t=o=>{var i;return{base:((i=e.base)==null?void 0:i[o])??{},variants:{},defaultVariants:e.defaultVariants??{},compoundVariants:e.compoundVariants?Ki(e.compoundVariants,o):[]}},n=(e.slots??[]).map(o=>[o,t(o)]);for(const[o,i]of Object.entries(e.variants??{}))for(const[a,s]of Object.entries(i))n.forEach(([l,f])=>{var c;(c=f.variants)[o]??(c[o]={}),f.variants[o][a]=s[l]??{}});return Object.fromEntries(n)},Ki=(e,t)=>e.filter(r=>r.css[t]).map(r=>({...r,css:r.css[t]}));function Ji(e){const{cva:t}=e;return function(n={}){const o=Object.entries(qi(n)).map(([d,u])=>[d,t(u)]);function i(d){const u=o.map(([m,g])=>[m,g(d)]);return Object.fromEntries(u)}const a=n.variants??{},s=Object.keys(a);function l(d){var p;const u=Ur(d,["recipe"]),[m,g]=we(u,s);return s.includes("colorPalette")||(m.colorPalette=d.colorPalette||((p=n.defaultVariants)==null?void 0:p.colorPalette)),s.includes("orientation")&&(g.orientation=d.orientation),[m,g]}const f=Object.fromEntries(Object.entries(a).map(([d,u])=>[d,Object.keys(u)]));let c={};return n.className&&(c=Object.fromEntries(n.slots.map(d=>[d,`${n.className}__${d}`]))),Object.assign(i,{variantMap:f,variantKeys:s,splitVariantProps:l,classNameMap:c})}}const Qi=()=>e=>Array.from(new Set(e)),Zi=/([\0-\x1f\x7f]|^-?\d)|^-$|^-|[^\x80-\uFFFF\w-]/g,ea=function(e,t){return t?e==="\0"?"�":e==="-"&&e.length===1?"\\-":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16):"\\"+e},qr=e=>(e+"").replace(Zi,ea),Kr=(e,t)=>{let r="",n=0,o="char",i="",a="";const s=[];for(;n<e.length;){const l=e[n];if(l==="{"){const c=e.indexOf("}",n);if(c===-1)break;const d=e.slice(n+1,c),u=t(d);r+=u??d,n=c+1;continue}if(o==="token"&&l===","){e[n]===""&&n++,o="fallback",s.push(o);const c=t(i);c!=null&&c.endsWith(")")&&(r+=c.slice(0,-1)),i="",a="";continue}if(o==="fallback"&&a+l===", var("){const u=ta(e.slice(n+1))+n+1,m=e.slice(n+1,u);if(u===-1)break;r+=", var("+m+")",n=u+1,o=s.pop()??o,a="";continue}if(o==="token"||o==="fallback"){if(n++,l===")"){o=s.pop()??o??"char",a+=l;const c=i&&(t(i)??qr(i));if(a){if(a=a.slice(1).trim(),!a.startsWith("token(")&&a.endsWith(")")&&(a=a.slice(0,-1)),a.includes("token(")){const u=Kr(a,t);u&&(a=u.slice(0,-1))}else if(a){const u=t(a);u&&(a=u)}}const d=r.at(-1);a?d!=null&&d.trim()?r+=c.slice(0,-1)+(", "+a+")"):r+=a:r+=c||")",i="",a="",o="char";continue}o==="token"&&(i+=l),o==="fallback"&&(a+=l);continue}const f=e.indexOf("token(",n);if(f!==-1){const c=f+6;r+=e.slice(n,f),n=c,o="token",s.push(o);continue}r+=l,n++}return r},ta=e=>{let t=0;const r=["("];for(;t<e.length;){const n=e[t];if(n==="(")r.push(n);else if(n===")"&&(r.pop(),r.length===0))return t;t++}return t};function Jr(e){const t={};return e.forEach((r,n)=>{r instanceof Map?t[n]=Object.fromEntries(r):t[n]=r}),t}const Qr=/({([^}]*)})/g,ra=/[{}]/g,na=/\w+\.\w+/,Zr=e=>{if(!de(e))return[];const t=e.match(Qr);return t?t.map(r=>r.replace(ra,"")).map(r=>r.trim()):[]},oa=e=>Qr.test(e);function en(e){var r,n,o;if(!((r=e.extensions)!=null&&r.references))return((o=(n=e.extensions)==null?void 0:n.cssVar)==null?void 0:o.ref)??e.value;const t=e.extensions.references??{};return e.value=Object.keys(t).reduce((i,a)=>{const s=t[a];if(s.extensions.conditions)return i;const l=en(s);return i.replace(`{${a}}`,l)},e.value),delete e.extensions.references,e.value}function tn(e){return te(e)&&e.reference?e.reference:String(e)}const Je=(e,...t)=>t.map(tn).join(` ${e} `).replace(/calc/g,""),cr=(...e)=>`calc(${Je("+",...e)})`,lr=(...e)=>`calc(${Je("-",...e)})`,bt=(...e)=>`calc(${Je("*",...e)})`,ur=(...e)=>`calc(${Je("/",...e)})`,fr=e=>{const t=tn(e);return t!=null&&!Number.isNaN(parseFloat(t))?String(t).startsWith("-")?String(t).slice(1):`-${t}`:bt(t,-1)},xe=Object.assign(e=>({add:(...t)=>xe(cr(e,...t)),subtract:(...t)=>xe(lr(e,...t)),multiply:(...t)=>xe(bt(e,...t)),divide:(...t)=>xe(ur(e,...t)),negate:()=>xe(fr(e)),toString:()=>e.toString()}),{add:cr,subtract:lr,multiply:bt,divide:ur,negate:fr}),ia={enforce:"pre",transform(e){const{prefix:t,allTokens:r,formatCssVar:n,formatTokenName:o,registerToken:i}=e;r.filter(({extensions:s})=>s.category==="spacing").forEach(s=>{const l=s.path.slice(),f=n(l,t);if(de(s.value)&&s.value==="0rem")return;const c=structuredClone(s);Object.assign(c.extensions,{negative:!0,prop:`-${s.extensions.prop}`,originalPath:l}),c.value=xe.negate(f.ref);const d=c.path[c.path.length-1];d!=null&&(c.path[c.path.length-1]=`-${d}`),c.path&&(c.name=o(c.path)),i(c)})}},aa=new Set(["spacing","sizes","borderWidths","fontSizes","radii"]),sa={enforce:"post",transform(e){e.allTokens.filter(r=>aa.has(r.extensions.category)&&!r.extensions.negative).forEach(r=>{Object.assign(r.extensions,{pixelValue:zr(r.value)})})}},ca={enforce:"post",transform(e){const{allTokens:t,registerToken:r,formatTokenName:n}=e,o=t.filter(({extensions:s})=>s.category==="colors"),i=new Map,a=new Map;o.forEach(s=>{const{colorPalette:l}=s.extensions;l&&(l.keys.forEach(f=>{i.set(n(f),f)}),l.roots.forEach(f=>{var u;const c=n(f),d=a.get(c)||[];if(d.push(s),a.set(c,d),s.extensions.default&&f.length===1){const m=(u=l.keys[0])==null?void 0:u.filter(Boolean);if(!m.length)return;const g=f.concat(m);i.set(n(g),[])}}))}),i.forEach(s=>{const l=["colors","colorPalette",...s].filter(Boolean),f=n(l),c=n(l.slice(1));r({name:f,value:f,originalValue:f,path:l,extensions:{condition:"base",originalPath:l,category:"colors",prop:c,virtual:!0}},"pre")})}},la={enforce:"post",transform(e){e.allTokens=e.allTokens.filter(t=>t.value!=="")}},ua=[ia,ca,sa,la],fa={type:"extensions",enforce:"pre",name:"tokens/css-var",transform(e,t){const{prefix:r,formatCssVar:n}=t,{negative:o,originalPath:i}=e.extensions,a=o?i:e.path;return{cssVar:n(a.filter(Boolean),r)}}},da={enforce:"post",type:"value",name:"tokens/conditionals",transform(e,t){const{prefix:r,formatCssVar:n}=t,o=Zr(e.value);return o.length&&o.forEach(i=>{const a=n(i.split("."),r);e.value=e.value.replace(`{${a.ref}}`,a)}),e.value}},pa={type:"extensions",enforce:"pre",name:"tokens/colors/colorPalette",match(e){return e.extensions.category==="colors"&&!e.extensions.virtual},transform(e,t){let r=e.path.slice();if(r.pop(),r.shift(),r.length===0){const s=[...e.path];s.shift(),r=s}if(r.length===0)return{};const n=r.reduce((s,l,f,c)=>{const d=c.slice(0,f+1);return s.push(d),s},[]),o=r[0],i=t.formatTokenName(r),a=e.path.slice(e.path.indexOf(o)+1).reduce((s,l,f,c)=>(s.push(c.slice(f)),s),[]);return a.length===0&&a.push([""]),{colorPalette:{value:i,roots:n,keys:a}}}},ma=[fa,da,pa],dr=e=>te(e)&&Object.prototype.hasOwnProperty.call(e,"value");function ga(e){return e?{breakpoints:Q(e,t=>({value:t})),sizes:Object.fromEntries(Object.entries(e).map(([t,r])=>[`breakpoint-${t}`,{value:r}]))}:{breakpoints:{},sizes:{}}}function ha(e){const{prefix:t="",tokens:r={},semanticTokens:n={},breakpoints:o={}}=e,i=S=>S.join("."),a=(S,v)=>ci(S.join("-"),{prefix:v}),s=[],l=new Map,f=new Map,c=new Map,d=new Map,u=new Map,m=new Map,g=new Map,p=new Map,x=[];function w(S,v){s.push(S),l.set(S.name,S),v&&p.forEach(I=>{I.enforce===v&&L(I,S)})}const b=ga(o),y=Pe({...r,breakpoints:b.breakpoints,sizes:{...r.sizes,...b.sizes}});function P(){pe(y,(S,v)=>{const I=v.includes("DEFAULT");v=pr(v);const V=v[0],k=i(v),G=de(S)?{value:S}:S,ee={value:G.value,originalValue:G.value,name:k,path:v,extensions:{condition:"base",originalPath:v,category:V,prop:i(v.slice(1))}};I&&(ee.extensions.default=!0),w(ee)},{stop:dr}),pe(n,(S,v)=>{const I=v.includes("DEFAULT");v=rn(pr(v));const V=v[0],k=i(v),G=de(S.value)?{value:{base:S.value}}:S,ee={value:G.value.base||"",originalValue:G.value.base||"",name:k,path:v,extensions:{originalPath:v,category:V,conditions:G.value,condition:"base",prop:i(v.slice(1))}};I&&(ee.extensions.default=!0),w(ee)},{stop:dr})}function h(S){return l.get(S)}function T(S){const{condition:v}=S.extensions;v&&(f.has(v)||f.set(v,new Set),f.get(v).add(S))}function M(S){const{category:v,prop:I}=S.extensions;v&&(g.has(v)||g.set(v,new Map),g.get(v).set(I,S))}function O(S){const{condition:v,negative:I,virtual:V,cssVar:k}=S.extensions;I||V||!v||!k||(c.has(v)||c.set(v,new Map),c.get(v).set(k.var,S.value))}function E(S){const{category:v,prop:I,cssVar:V,negative:k}=S.extensions;if(!v)return;m.has(v)||m.set(v,new Map);const G=k?S.extensions.conditions?S.originalValue:S.value:V.ref;m.get(v).set(I,G),u.set([v,I].join("."),G)}function A(S){const{colorPalette:v,virtual:I,default:V}=S.extensions;!v||I||v.roots.forEach(k=>{var It;const G=i(k);d.has(G)||d.set(G,new Map);const ee=va([...S.path],[...k]),he=i(ee),ve=h(he);if(!ve||!ve.extensions.cssVar)return;const{var:hn}=ve.extensions.cssVar;if(d.get(G).set(hn,S.extensions.cssVar.ref),V&&k.length===1){const yn=i(["colors","colorPalette"]),$t=h(yn);if(!$t)return;const vn=i(S.path),Nt=h(vn);if(!Nt)return;const Ft=(It=v.keys[0])==null?void 0:It.filter(Boolean);if(!Ft.length)return;const tt=i(k.concat(Ft));d.has(tt)||d.set(tt,new Map),d.get(tt).set($t.extensions.cssVar.var,Nt.extensions.cssVar.ref)}})}let z={};function j(){s.forEach(S=>{T(S),M(S),O(S),E(S),A(S)}),z=Jr(m)}const X=(S,v)=>{var ve;if(!S||typeof S!="string")return{invalid:!0,value:S};const[I,V]=S.split("/");if(!I||!V)return{invalid:!0,value:I};const k=v(I),G=(ve=h(`opacity.${V}`))==null?void 0:ve.value;if(!G&&isNaN(Number(V)))return{invalid:!0,value:I};const ee=G?Number(G)*100+"%":`${V}%`,he=k??I;return{invalid:!1,color:he,value:`color-mix(in srgb, ${he} ${ee}, transparent)`}},Z=se((S,v)=>u.get(S)??v),B=se(S=>z[S]||null),J=se(S=>Kr(S,v=>{if(!v)return;if(v.includes("/")){const V=X(v,k=>Z(k));if(V.invalid)throw new Error("Invalid color mix at "+v+": "+V.value);return V.value}const I=Z(v);return I||(na.test(v)?qr(v):v)})),oe={prefix:t,allTokens:s,tokenMap:l,registerToken:w,getByName:h,formatTokenName:i,formatCssVar:a,flatMap:u,cssVarMap:c,categoryMap:g,colorPaletteMap:d,getVar:Z,getCategoryValues:B,expandReferenceInValue:J};function _(...S){S.forEach(v=>{p.set(v.name,v)})}function H(...S){x.push(...S)}function L(S,v){if(v.extensions.references||jt(S.match)&&!S.match(v))return;const V=(k=>S.transform(k,oe))(v);switch(!0){case S.type==="extensions":Object.assign(v.extensions,V);break;case S.type==="value":v.value=V;break;default:v[S.type]=V;break}}function ie(S){x.forEach(v=>{v.enforce===S&&v.transform(oe)})}function ce(S){p.forEach(v=>{v.enforce===S&&s.forEach(I=>{L(v,I)})})}function ge(){s.forEach(S=>{const v=ya(S);!v||v.length===0||v.forEach(I=>{w(I)})})}function ye(S){return Zr(S).map(I=>h(I)).filter(Boolean)}function me(){s.forEach(S=>{if(!oa(S.value))return;const v=ye(S.value);S.extensions.references=v.reduce((I,V)=>(I[V.name]=V,I),{})})}function Ze(){s.forEach(S=>{en(S)})}function et(){ie("pre"),ce("pre"),ge(),me(),Ze(),ie("post"),ce("post"),j()}return P(),_(...ma),H(...ua),et(),oe}function pr(e){return e[0]==="DEFAULT"?e:e.filter(t=>t!=="DEFAULT")}function rn(e){return e.filter(t=>t!=="base")}function ya(e){if(!e.extensions.conditions)return;const{conditions:t}=e.extensions,r=[];return pe(t,(n,o)=>{const i=rn(o);if(!i.length)return;const a=structuredClone(e);a.value=n,a.extensions.condition=i.join(":"),r.push(a)}),r}function va(e,t){const r=e.findIndex((n,o)=>t.every((i,a)=>e[o+a]===i));return r===-1||(e.splice(r,t.length),e.splice(r,0,"colorPalette")),e}Qi()(["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 ba(e){return Object.fromEntries(Object.entries(e).map(([t,r])=>[t,r]))}function xa(e){const t=ba(e.config),r=e.tokens,n=new Map,o=new Map;function i(O,E){t[O]=E,a(O,E)}const a=(O,E)=>{const A=p(E);A&&(o.set(O,A),d(O,E))},s=()=>{for(const[O,E]of Object.entries(t))E&&a(O,E)},l=()=>{for(const[O,E]of Object.entries(t)){const{shorthand:A}=E??{};if(!A)continue;(Array.isArray(A)?A:[A]).forEach(j=>n.set(j,O))}},f=()=>{const O=Jr(r.colorPaletteMap);i("colorPalette",{values:Object.keys(O),transform:se(E=>O[E])})},c=new Map,d=(O,E)=>{if(!E)return;const A=p(E,j=>`type:Tokens["${j}"]`);if(typeof A=="object"&&A.type){c.set(O,new Set([`type:${A.type}`]));return}if(A){const j=new Set(Object.keys(A));c.set(O,j)}const z=c.get(O)??new Set;E.property&&c.set(O,z.add(`CssProperties["${E.property}"]`))},u=()=>{for(const[O,E]of Object.entries(t))E&&d(O,E)},m=(O,E)=>{const A=c.get(O)??new Set;c.set(O,new Set([...A,...E]))},g=()=>{const O=new Map;for(const[E,A]of c.entries()){if(A.size===0){O.set(E,["string"]);continue}const z=Array.from(A).map(j=>j.startsWith("CssProperties")?j:j.startsWith("type:")?j.replace("type:",""):JSON.stringify(j));O.set(E,z)}return O},p=(O,E)=>{const{values:A}=O,z=j=>{const X=E==null?void 0:E(j);return X?{[X]:X}:void 0};return de(A)?(z==null?void 0:z(A))??r.getCategoryValues(A)??{}:Array.isArray(A)?A.reduce((j,X)=>(j[X]=X,j),{}):jt(A)?A(E?z:r.getCategoryValues):A},x=se((O,E)=>({[O]:O.startsWith("--")?r.getVar(E,E):E})),w=Object.assign(r.getVar,{raw:O=>r.getByName(O)}),b=se((O,E)=>{var Z;const A=h(O);de(E)&&!E.includes("_EMO_")&&(E=r.expandReferenceInValue(E));const z=t[A];if(!z)return x(A,E);const j=(Z=o.get(A))==null?void 0:Z[E];if(!z.transform)return x(O,j??E);const X=B=>ti(B,w);return z.transform(j??E,{raw:E,token:w,utils:{colorMix:X}})});function y(){l(),f(),s(),u()}y();const P=n.size>0,h=se(O=>n.get(O)??O);return{keys:()=>[...Array.from(n.keys()),...Object.keys(t)],hasShorthand:P,transform:b,shorthands:n,resolveShorthand:h,register:i,getTypes:g,addPropertyType:m}}function Sa(...e){const t=ni(...e),{theme:r={},utilities:n={},globalCss:o={},cssVarsRoot:i=":where(:root, :host)",cssVarsPrefix:a="chakra",preflight:s}=t,l=Hi(t),f=ha({breakpoints:r.breakpoints,tokens:r.tokens,semanticTokens:r.semanticTokens,prefix:a}),c=ki(r.breakpoints??{}),d=Ri({conditions:t.conditions??{},breakpoints:c}),u=xa({config:n,tokens:f});function m(){const{textStyles:_,layerStyles:H,animationStyles:L}=r,ie=Pe({textStyle:_,layerStyle:H,animationStyle:L});for(const[ce,ge]of Object.entries(ie)){const ye=vi(ge??{},me=>te(me)&&"value"in me);u.register(ce,{values:Object.keys(ye),transform(me){return y(ye[me])}})}}m(),u.addPropertyType("animationName",Object.keys(r.keyframes??{}));const g=new Set(["css",...u.keys(),...d.keys()]),p=se(_=>g.has(_)||hi(_)),x=_=>Array.isArray(_)?_.reduce((H,L,ie)=>{const ce=d.breakpoints[ie];return L!=null&&(H[ce]=L),H},{}):_,w=Gi({utility:u,normalize:x}),b=Ui({conditions:d,isValidProperty:p}),y=Yr({transform:u.transform,conditions:d,normalize:w}),P=Vi({css:y,conditions:d,normalize:w,layers:l}),h=Ji({cva:P});function T(){const _={};for(const[H,L]of f.cssVarMap.entries()){const ie=Object.fromEntries(L);if(Object.keys(ie).length===0)continue;const ce=H==="base"?i:d.resolve(H),ge=y(b({[ce]:ie}));Ee(_,ge)}return l.wrap("tokens",_)}function M(){const _=Object.fromEntries(Object.entries(r.keyframes??{}).map(([L,ie])=>[`@keyframes ${L}`,ie])),H=Object.assign({},_,y(b(o)));return l.wrap("base",H)}function O(_){return we(_,p)}function E(){const _=Yi({preflight:s});return l.wrap("reset",_)}const A=wa(f),z=(_,H)=>{var L;return((L=A.get(_))==null?void 0:L.value)||H};z.var=(_,H)=>{var L;return((L=A.get(_))==null?void 0:L.variable)||H};function j(_,H){var L;return((L=r.recipes)==null?void 0:L[_])??H}function X(_,H){var L;return((L=r.slotRecipes)==null?void 0:L[_])??H}function Z(_){return Object.hasOwnProperty.call(r.recipes??{},_)}function B(_){return Object.hasOwnProperty.call(r.slotRecipes??{},_)}function J(_){return Z(_)||B(_)}const oe=[E(),M(),T()];return{$$chakra:!0,_config:t,_global:oe,breakpoints:c,tokens:f,conditions:d,utility:u,token:z,properties:g,layers:l,isValidProperty:p,splitCssProps:O,normalizeValue:x,getTokenCss:T,getGlobalCss:M,getPreflightCss:E,css:y,cva:P,sva:h,getRecipe:j,getSlotRecipe:X,hasRecipe:J,isRecipe:Z,isSlotRecipe:B}}function wa(e){const t=new Map;return e.allTokens.forEach(r=>{const{cssVar:n,virtual:o,conditions:i}=r.extensions,a=i||o?n.ref:r.value;t.set(r.name,{value:a,variable:n.ref})}),t}const ka=Fr({"& > *:not(style)":{overflow:"hidden",position:"absolute",top:"0",right:"0",bottom:"0",left:"0",display:"flex",justifyContent:"center",alignItems:"center",width:"100%",height:"100%"},"& > img, & > video":{objectFit:"cover"}}),Ca=C.forwardRef(function(t,r){const{ratio:n=4/3,children:o,className:i,...a}=t,s=C.Children.only(o);return R.jsx(U.div,{ref:r,position:"relative",className:re("chakra-aspect-ratio",i),_before:{height:0,content:'""',display:"block",paddingBottom:Q(n,l=>`${1/l*100}%`)},...a,css:[ka,t.css],children:s})}),ut=e=>e?"":void 0,Pa=U("div",{base:{display:"inline-flex",gap:"0.5rem",isolation:"isolate",position:"relative","& [data-group-item]":{_focusVisible:{zIndex:1}}},variants:{orientation:{horizontal:{flexDirection:"row"},vertical:{flexDirection:"column"}},attached:{true:{gap:"0!"}},grow:{true:{display:"flex","& > *":{flex:1}}},stacking:{"first-on-top":{"& > [data-group-item]":{zIndex:"calc(var(--group-count) - var(--group-index))"}},"last-on-top":{"& > [data-group-item]":{zIndex:"var(--group-index)"}}}},compoundVariants:[{orientation:"horizontal",attached:!0,css:{"& > *[data-first]":{borderEndRadius:"0!",marginEnd:"-1px"},"& > *[data-between]":{borderRadius:"0!",marginEnd:"-1px"},"& > *[data-last]":{borderStartRadius:"0!"}}},{orientation:"vertical",attached:!0,css:{"& > *[data-first]":{borderBottomRadius:"0!",marginBottom:"-1px"},"& > *[data-between]":{borderRadius:"0!",marginBottom:"-1px"},"& > *[data-last]":{borderTopRadius:"0!"}}}],defaultVariants:{orientation:"horizontal"}}),nn=C.memo(C.forwardRef(function(t,r){const{align:n="center",justify:o="flex-start",children:i,wrap:a,skip:s,...l}=t,f=C.useMemo(()=>{let c=C.Children.toArray(i).filter(C.isValidElement);if(c.length===1)return c;const d=c.filter(m=>!(s!=null&&s(m))),u=d.length;return d.length===1?c:c.map(m=>{const g=m.props;if(s!=null&&s(m))return m;const p=d.indexOf(m);return C.cloneElement(m,{...g,"data-group-item":"","data-first":ut(p===0),"data-last":ut(p===u-1),"data-between":ut(p>0&&p<u-1),style:{"--group-count":u,"--group-index":p,...(g==null?void 0:g.style)??{}}})})},[i,s]);return R.jsx(Pa,{ref:r,alignItems:n,justifyContent:o,flexWrap:a,...l,className:re("chakra-group",t.className),children:f})})),Ea="cm,mm,Q,in,pc,pt,px,em,ex,ch,rem,lh,rlh,vw,vh,vmin,vmax,vb,vi,svw,svh,lvw,lvh,dvw,dvh,cqw,cqh,cqi,cqb,cqmin,cqmax,%",Ra=`(?:${Ea.split(",").join("|")})`,Oa=new RegExp(`^[+-]?[0-9]*.?[0-9]+(?:[eE][+-]?[0-9]+)?${Ra}$`),Ta=e=>typeof e=="string"&&Oa.test(e),Ne=e=>Ta(e)||wo(e)?e:`token(spacing.${e}, ${e})`,Aa=C.forwardRef(function(t,r){const{inline:n,inlineStart:o,inlineEnd:i,block:a,blockStart:s,blockEnd:l,...f}=t;return R.jsx(U.div,{ref:r,...f,css:{"--bleed-inline-start":Q(n??o,Ne),"--bleed-inline-end":Q(n??i,Ne),"--bleed-block-start":Q(a??s,Ne),"--bleed-block-end":Q(a??l,Ne),marginInlineStart:"calc(var(--bleed-inline-start, 0) * -1)",marginInlineEnd:"calc(var(--bleed-inline-end, 0) * -1)",marginBlockStart:"calc(var(--bleed-block-start, 0) * -1)",marginBlockEnd:"calc(var(--bleed-block-end, 0) * -1)"}})}),_t=U("div");_t.displayName="Box";const Fe=U("span"),on=U("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"}});on.displayName="AbsoluteCenter";const{withContext:ja}=Ke({key:"spinner"}),Ma=ja("span"),_a=D.forwardRef(function(t,r){const{spinner:n=R.jsx(Ma,{size:"inherit",borderWidth:"0.125em",color:"inherit"}),spinnerPlacement:o="start",children:i,text:a,visible:s=!0,...l}=t;return s?a?R.jsxs(Fe,{ref:r,display:"contents",...l,children:[o==="start"&&n,a,o==="end"&&n]}):n?R.jsxs(Fe,{ref:r,display:"contents",...l,children:[R.jsx(on,{display:"inline-flex",children:n}),R.jsx(Fe,{opacity:0,children:i})]}):R.jsx(Fe,{ref:r,display:"contents",...l,children:i}):i}),{useRecipeResult:Ia,usePropsContext:$a}=Ke({key:"button"}),Na=C.forwardRef(function(t,r){const n=$a(),o=C.useMemo(()=>St(n,t),[n,t]),i=Ia(o),{loading:a,loadingText:s,children:l,spinner:f,spinnerPlacement:c,...d}=i.props;return R.jsx(U.button,{type:"button",ref:r,...d,disabled:a||d.disabled,className:re(i.className,o.className),css:[i.styles,o.css],children:!o.asChild&&a?R.jsx(_a,{spinner:f,text:s,spinnerPlacement:c,children:l}):l})}),Fa=C.forwardRef(function(t,r){return R.jsx(Na,{px:"0",py:"0",_icon:{fontSize:"1.2em"},ref:r,...t})}),an=U("div",{base:{display:"flex",alignItems:"center",justifyContent:"center"},variants:{inline:{true:{display:"inline-flex"}}}});an.displayName="Center";function Wa(e){const{gap:t,direction:r}=e,n={column:{marginY:t,marginX:0,borderInlineStartWidth:0,borderTopWidth:"1px"},"column-reverse":{marginY:t,marginX:0,borderInlineStartWidth:0,borderTopWidth:"1px"},row:{marginX:t,marginY:0,borderInlineStartWidth:"1px",borderTopWidth:0},"row-reverse":{marginX:t,marginY:0,borderInlineStartWidth:"1px",borderTopWidth:0}};return{"&":Q(r,o=>n[o])}}function Ba(e){return C.Children.toArray(e).filter(t=>C.isValidElement(t))}const Qe=C.forwardRef(function(t,r){const{direction:n="column",align:o,justify:i,gap:a="0.5rem",wrap:s,children:l,separator:f,className:c,...d}=t,u=C.useMemo(()=>Wa({gap:a,direction:n}),[a,n]),m=C.useMemo(()=>f?Ba(l).map((g,p,x)=>{const w=typeof g.key<"u"?g.key:p,b=C.cloneElement(f,{css:[u,f.props.css]});return R.jsxs(C.Fragment,{children:[g,p===x.length-1?null:b]},w)}):l,[l,f,u]);return R.jsx(U.div,{ref:r,display:"flex",alignItems:o,justifyContent:i,flexDirection:n,flexWrap:s,gap:f?void 0:a,className:re("chakra-stack",c),...d,children:m})}),{withContext:za}=Ke({key:"container"}),Va=za("div"),La=C.forwardRef(function(t,r){const{direction:n,align:o,justify:i,wrap:a,basis:s,grow:l,shrink:f,inline:c,...d}=t;return R.jsx(U.div,{ref:r,...d,css:{display:c?"inline-flex":"flex",flexDirection:n,alignItems:o,justifyContent:i,flexWrap:a,flexBasis:s,flexGrow:l,flexShrink:f,...t.css}})}),Da=C.forwardRef(function(t,r){const{offsetX:n,offsetY:o,offset:i="0",placement:a="top-end",...s}=t,l=C.useMemo(()=>({display:"inline-flex",justifyContent:"center",alignItems:"center",position:"absolute",insetBlockStart:Q(a,f=>{const[c]=f.split("-");return{top:o??i,middle:"50%",bottom:"auto"}[c]}),insetBlockEnd:Q(a,f=>{const[c]=f.split("-");return{top:"auto",middle:"50%",bottom:o??i}[c]}),insetStart:Q(a,f=>{const[,c]=f.split("-");return{start:n??i,center:"50%",end:"auto"}[c]}),insetEnd:Q(a,f=>{const[,c]=f.split("-");return{start:"auto",center:"50%",end:n??i}[c]}),translate:Q(a,f=>{const[c,d]=f.split("-"),u={start:"-50%",center:"-50%",end:"50%"},m={top:"-50%",middle:"-50%",bottom:"50%"};return`${u[d]} ${m[c]}`})}),[i,n,o,a]);return R.jsx(U.div,{ref:r,css:l,...s})});function mr(e){return Q(e,t=>t==="auto"?"auto":`span ${t}/span ${t}`)}const Ha=C.forwardRef(function(t,r){const{area:n,colSpan:o,colStart:i,colEnd:a,rowEnd:s,rowSpan:l,rowStart:f,...c}=t,d=Pe({gridArea:n,gridColumn:mr(o),gridRow:mr(l),gridColumnStart:i,gridColumnEnd:a,gridRowStart:f,gridRowEnd:s});return R.jsx(U.div,{ref:r,css:d,...c})}),Ga=C.forwardRef(function(t,r){const{columns:n,minChildWidth:o,...i}=t,a=qe(),s=o?Ua(o,a):Xa(n);return R.jsx(Ir,{ref:r,templateColumns:s,...i})});function Ya(e){return typeof e=="number"?`${e}px`:e}function Ua(e,t){return Q(e,r=>{const n=t.tokens.getVar(`sizes.${r}`,Ya(r));return r===null?null:`repeat(auto-fit, minmax(${n}, 1fr))`})}function Xa(e){return Q(e,t=>t===null?null:`repeat(${t}, minmax(0, 1fr))`)}const{withContext:qa}=Ke({key:"input"}),Ka=qa(Nr),gr=C.forwardRef(function({unstyled:t,...r},n){const o=_r({key:"inputAddon",recipe:r.recipe}),[i,a]=o.splitVariantProps(r),s=t?Pn:o(i);return R.jsx(U.div,{ref:n,...a,css:[s,r.css]})}),ft=U("div",{base:{display:"flex",alignItems:"center",justifyContent:"center",position:"absolute",zIndex:2,color:"fg.muted",height:"full",fontSize:"sm",px:"3"},variants:{placement:{start:{insetInlineStart:"0"},end:{insetInlineEnd:"0"}}}}),Ja=C.forwardRef(function(t,r){const{startElement:n,startElementProps:o,endElement:i,endElementProps:a,startAddon:s,startAddonProps:l,endAddon:f,endAddonProps:c,children:d,startOffset:u="0px",endOffset:m="0px",...g}=t,p=C.Children.only(d),x=!!(s||f);return R.jsxs(nn,{width:"full",ref:r,attached:x,skip:w=>w.type===ft,...g,children:[s&&R.jsx(gr,{...l,children:s}),n&&R.jsx(ft,{pointerEvents:"none",...o,children:n}),C.cloneElement(p,{...n&&{ps:`calc(var(--input-height) - ${u})`},...i&&{pe:`calc(var(--input-height) - ${m})`},...d.props}),i&&R.jsx(ft,{placement:"end",...a,children:i}),f&&R.jsx(gr,{...c,children:f})]})}),xt=C.forwardRef(function(t,r){return R.jsx(Qe,{align:"center",...t,direction:"row",ref:r})}),Qa=C.forwardRef(function(t,r){return R.jsx(Qe,{align:"center",...t,direction:"column",ref:r})}),sn=C.forwardRef(function(t,r){const{gap:n="0.5rem",justify:o,direction:i,align:a,...s}=t;return R.jsx(U.div,{ref:r,display:"flex",flexWrap:"wrap",justifyContent:o,alignItems:a,flexDirection:i,gap:n,...s,className:re("chakra-wrap",t.className)})});sn.displayName="Wrap";const Za=Fr({display:"flex",alignItems:"flex-start"}),es=C.forwardRef(function(t,r){return R.jsx(U.div,{ref:r,css:[Za,t.css],...t,className:re("chakra-wrap__listitem",t.className)})});var ts={colors:{content:{neutral:{bold:{value:"{colors.neutral.1100}"},default:{value:"{colors.neutral.1000}"},subtle:{value:"{colors.neutral.900}"},subtlest:{value:"{colors.neutral.700}"},disabled:{value:"{colors.neutral.600}"},default_inverse:{value:"{colors.neutral.0}"}},neuroidPrimary:{default:{value:"{colors.purple.400}"},default_inverse:{value:"{colors.purple.800}"}},danger:{default:{value:"{colors.red.400}"}},warning:{default:{value:"{colors.yellow.400}"}},success:{default:{value:"{colors.green.400}"}},informative:{default:{value:"{colors.blue.400}"}},zoltarinaPrimary:{default:{value:"{colors.ohre.400}"},defult_inverse:{value:"{colors.ohre.900}"}},heydPrimary:{default:{value:"{colors.cyan.400}"},defult_inverse:{value:"{colors.cyan.1000}"}}},background:{neutral:{default:{value:"{colors.neutral.200}"},selected:{value:"{colors.neutral.300}"},disabled:{value:"{colors.neutral.400}"}},neuroidPrimary:{default:{value:"{colors.purple.600}"},selected:{value:"{colors.purple.700}"},disabled:{value:"{colors.neutral.400}"}},neuroidSecondary:{default:{value:"{colors.purple.300}"},selected:{value:"{colors.purple.400}"},disabled:{value:"{colors.neutral.400}"}},danger:{default:{value:"{colors.red.700}"},selected:{value:"{colors.red.800}"},disabled:{value:"{colors.neutral.400}"}},warning:{default:{value:"{colors.yellow.700}"},selected:{value:"{colors.yellow.800}"},disabled:{value:"{colors.neutral.400}"}},success:{default:{value:"{colors.green.700}"},selected:{value:"{colors.green.800}"},disabled:{value:"{colors.neutral.400}"}},informative:{default:{value:"{colors.blue.700}"},selected:{value:"{colors.blue.800}"},disabled:{value:"{colors.neutral.400}"}},zoltarinaPrimary:{default:{value:"{colors.ohre.400}"},selected:{value:"{colors.ohre.500}"},disabled:{value:"{colors.neutral.400}"}},zoltarinaSecondary:{default:{value:"{colors.ohre.200}"},selected:{value:"{colors.ohre.300}"},disabled:{value:"{colors.neutral.400}"}},heydPrimary:{default:{value:"{colors.cyan.500}"},selected:{value:"{colors.cyan.600}"},disabled:{value:"{colors.neutral.400}"}},heydSecondary:{default:{value:"{colors.cyan.200}"},selected:{value:"{colors.cyan.300}"},disabled:{value:"{colors.neutral.400}"}}},surface:{base:{value:"{colors.neutral.0}"},layer_1:{value:"{colors.neutral.100}"},layer_2:{value:"{colors.neutral.200}"}},shadow:{overlay:{value:"{colors.black.400A}"},raised:{value:"{colors.black.600A}"}},scrim:{default:{value:"{colors.black.600A}"}},skeleton:{default:{value:"{colors.neutral.100}"},subtle:{value:"{colors.neutral.200}"}},border:{neutral:{default:{value:"{colors.neutral.400}"},subtle:{value:"{colors.neutral.300}"},disabled:{value:"{colors.neutral.200}"}},neuroidPrimary:{default:{value:"{colors.purple.400}"}},danger:{default:{value:"{colors.red.400}"}},warning:{default:{value:"{colors.yellow.400}"}},success:{default:{value:"{colors.green.400}"}},informative:{default:{value:"{colors.blue.400}"}},zoltarinaPrimary:{default:{value:"{colors.ohre.400}"}},heydPrimary:{default:{value:"{colors.cyan.400}"}}}},shadows:{raised:{value:"0px 1px 3px 0px {colors.shadow.raised}"},overlay:{value:"0px 20px 25px -5px {colors.shadow.overlay}"}}},rs={colors:{neutral:{0:{value:"#080A0E"},100:{value:"#101216"},200:{value:"#181A1E"},300:{value:"#282A2E"},400:{value:"#383A3E"},500:{value:"#505256"},600:{value:"#64666A"},700:{value:"#787A7E"},800:{value:"#A0A2A6"},900:{value:"#B4B6BA"},1e3:{value:"#DADCE0"},1100:{value:"#FAFCFF"}},black:{"700A":{value:"rgba(0,0,0,0.8)"},"600A":{value:"rgba(0,0,0,0.6)"},"500A":{value:"rgba(0,0,0,0.4)"},"400A":{value:"rgba(0,0,0,0.32)"},"300A":{value:"rgba(0,0,0,0.2)"},"200A":{value:"rgba(0,0,0,0.12)"},"100A":{value:"rgba(0,0,0,0.08)"}},white:{"700A":{value:"rgba(255,255,255,0.8)"},"600A":{value:"rgba(255,255,255,0.6)"},"500A":{value:"rgba(255,255,255,0.4)"},"400A":{value:"rgba(255,255,255,0.32)"},"300A":{value:"rgba(255,255,255,0.2)"},"200A":{value:"rgba(255,255,255,0.12)"},"100A":{value:"rgba(255,255,255,0.08)"}},red:{100:{value:"#ffeceb"},200:{value:"#ffd5d2"},300:{value:"#fd9891"},400:{value:"#f87168"},500:{value:"#f15b50"},600:{value:"#e2483d"},700:{value:"#c9372c"},800:{value:"#87241c"},900:{value:"#5d1f1a"},1e3:{value:"#42221f"}},yellow:{100:{value:"#fff5eb"},200:{value:"#ffe9d2"},300:{value:"#fdc991"},400:{value:"#f8b268"},500:{value:"#f1a350"},600:{value:"#e2923d"},700:{value:"#c97d2c"},800:{value:"#87531c"},900:{value:"#5d3d1a"},1e3:{value:"#42311f"}},blue:{100:{value:"#ebf2ff"},200:{value:"#d2e1ff"},300:{value:"#91b5fd"},400:{value:"#6898f8"},500:{value:"#5086f1"},600:{value:"#3d74e2"},700:{value:"#2c60c9"},800:{value:"#1c4087"},900:{value:"#1a305d"},1e3:{value:"#1f2b42"}},green:{100:{value:"#ebfff5"},200:{value:"#9cfccc"},300:{value:"#47EB99"},400:{value:"#26d980"},500:{value:"#14b866"},600:{value:"#10934c"},700:{value:"#147042"},800:{value:"#125433"},900:{value:"#104129"},1e3:{value:"#0b2819"}},purple:{100:{value:"#f3ebff"},200:{value:"#e9ddfd"},300:{value:"#cbacfb"},400:{value:"#ac7cf8"},500:{value:"#8d4bf6"},600:{value:"#6d19f5"},700:{value:"#570ad1"},800:{value:"#4308a0"},900:{value:"#2f0670"},1e3:{value:"#1a033f"}},ohre:{100:{value:"#FFF8F1"},200:{value:"#FFE6C8"},300:{value:"#FFD3A0"},400:{value:"#FFC077"},500:{value:"#E2A763"},600:{value:"#C58F50"},700:{value:"#A8773F"},800:{value:"#8A6030"},900:{value:"#6D4B22"},1e3:{value:"#503617"}},cyan:{100:{value:"#ecffff"},200:{value:"#c1feff"},300:{value:"#96feff"},400:{value:"#6bfdff"},500:{value:"#3df1f3"},600:{value:"#2acfd1"},700:{value:"#1aadaf"},800:{value:"#0e8c8d"},900:{value:"#056a6b"},1e3:{value:"#004849"}}},borderWidths:{none:{value:"0px"},sm:{value:"1px"},md:{value:"2px"},lg:{value:"4px"}},spacing:{0:{value:"0rem"},1:{value:"0.25rem"},2:{value:"0.5rem"},3:{value:"0.75rem"},4:{value:"1rem"},6:{value:"1.5rem"},8:{value:"2rem"},12:{value:"3rem"},20:{value:"5rem"},30:{value:"7.5rem"},56:{value:"14rem"},72:{value:"18rem"},98:{value:"24rem"},128:{value:"32rem"},160:{value:"40rem"}},radii:{none:{value:"0px"},xs:{value:"2px"},sm:{value:"4px"},md:{value:"8px"},lg:{value:"16px"},full:{value:"9999px"}},fontSizes:{xs:{value:"0.75rem"},sm:{value:"0.875rem"},md:{value:"1rem"},lg:{value:"1.25rem"},xl:{value:"1.5rem"},"2xl":{value:"2rem"},"3xl":{value:"2.5rem"},"4xl":{value:"3rem"}},letterSpacings:{xs:{value:"-1.5px"},sm:{value:"-1.2px"},md:{value:"-1px"},lg:{value:"-0.8px"},xl:{value:"-0.6px"},"2xl":{value:"-0.4px"},"3xl":{value:"-0.2px"}},lineHeights:{md:{value:"1rem"},lg:{value:"1.25rem"},xl:{value:"1.5rem"},"2xl":{value:"1.75rem"},"3xl":{value:"2.25rem"},"4xl":{value:"2.75rem"},"5xl":{value:"3rem"}},fontWeights:{regular:{value:"400"},medium:{value:"500"},semibold:{value:"600"},bold:{value:"700"},regularItalic:{value:"Italic"},mediumItalic:{value:"Medium Italic"}},fonts:{inter:{value:"Inter"},notoSans:{value:"Noto Sans"}}},ns={body:{md:{value:{fontFamily:"notoSans",fontWeight:"regular",fontSize:"sm",lineHeight:"lg",letterSpacing:"3xl"}},lg:{value:{fontFamily:"notoSans",fontWeight:"regular",fontSize:"md",lineHeight:"xl",letterSpacing:"3xl"}},sm:{value:{fontSize:"xs",fontWeight:"regular",fontFamily:"notoSans",lineHeight:"md",letterSpacing:"3xl"}}},label:{sm:{value:{fontFamily:"notoSans",fontWeight:"medium",fontSize:"xs",lineHeight:"md",letterSpacing:"3xl"}},md:{value:{fontFamily:"notoSans",fontWeight:"medium",fontSize:"sm",lineHeight:"lg",letterSpacing:"3xl"}}},title:{sm:{value:{fontFamily:"notoSans",fontWeight:"medium",fontSize:"sm",lineHeight:"lg",letterSpacing:"2xl"}},md:{value:{fontFamily:"notoSans",fontWeight:"medium",fontSize:"md",lineHeight:"xl",letterSpacing:"xl"}},lg:{value:{fontFamily:"notoSans",fontWeight:"semibold",fontSize:"lg",lineHeight:"2xl",letterSpacing:"xl"}}},headline:{sm:{value:{fontFamily:"inter",fontWeight:"semibold",fontSize:"xl",lineHeight:"2xl",letterSpacing:"lg"}},md:{value:{fontFamily:"inter",fontWeight:"bold",fontSize:"2xl",lineHeight:"3xl",letterSpacing:"md"}}},display:{md:{value:{fontFamily:"inter",fontWeight:"bold",fontSize:"3xl",lineHeight:"4xl",letterSpacing:"sm"}},lg:{value:{fontFamily:"inter",fontWeight:"bold",fontSize:"4xl",lineHeight:"5xl",letterSpacing:"xs"}}}},os={semantic:ts,primitive:rs,textStyles:ns};const{primitive:cn,semantic:ln,textStyles:un}=os,fn={semantic:ln,primitive:cn,textStyles:un},is=ri({theme:{tokens:cn,semanticTokens:ln,textStyles:un}}),as=Sa(is),dn=C.createContext(fn),ss=()=>C.useContext(dn),cs=({children:e})=>R.jsx(dn.Provider,{value:fn,children:R.jsx(Po,{value:as,children:e})});var pn={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},hr=C.createContext&&C.createContext(pn),ls=["attr","size","title"];function us(e,t){if(e==null)return{};var r=fs(e,t),n,o;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)n=i[o],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function fs(e,t){if(e==null)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}function He(){return He=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},He.apply(this,arguments)}function yr(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function Ge(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?yr(Object(r),!0).forEach(function(n){ds(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):yr(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function ds(e,t,r){return t=ps(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ps(e){var t=ms(e,"string");return typeof t=="symbol"?t:t+""}function ms(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function mn(e){return e&&e.map((t,r)=>C.createElement(t.tag,Ge({key:r},t.attr),mn(t.child)))}function gn(e){return t=>C.createElement(gs,He({attr:Ge({},e.attr)},t),mn(e.child))}function gs(e){var t=r=>{var{attr:n,size:o,title:i}=e,a=us(e,ls),s=o||r.size||"1em",l;return r.className&&(l=r.className),e.className&&(l=(l?l+" ":"")+e.className),C.createElement("svg",He({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},r.attr,n,a,{className:l,style:Ge(Ge({color:e.color||r.color},r.style),e.style),height:s,width:s,xmlns:"http://www.w3.org/2000/svg"}),i&&C.createElement("title",null,i),e.children)};return hr!==void 0?C.createElement(hr.Consumer,null,r=>t(r)):t(pn)}function hs(e){return gn({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49"},child:[]},{tag:"path",attr:{d:"M14.084 14.158a3 3 0 0 1-4.242-4.242"},child:[]},{tag:"path",attr:{d:"M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143"},child:[]},{tag:"path",attr:{d:"m2 2 20 20"},child:[]}]})(e)}function ys(e){return gn({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0"},child:[]},{tag:"circle",attr:{cx:"12",cy:"12",r:"3"},child:[]}]})(e)}const vs=D.forwardRef(function(t,r){const{rootProps:n,defaultVisible:o,visible:i,onVisibleChange:a,visibilityIcon:s={on:R.jsx(ys,{}),off:R.jsx(hs,{})},...l}=t,[f,c]=Zo({value:i,defaultValue:o||!1,onChange:a}),d=D.useRef(null);return R.jsx(Ja,{endElement:R.jsx(bs,{disabled:l.disabled,onPointerDown:u=>{l.disabled||u.button===0&&(u.preventDefault(),c(!f))},children:f?s.off:s.on}),...n,children:R.jsx(Ka,{...l,ref:Mr(r,d),type:f?"text":"password"})})}),bs=D.forwardRef(function(t,r){return R.jsx(Fa,{tabIndex:-1,ref:r,me:"-2",aspectRatio:"square",size:"sm",variant:"ghost",height:"calc(100% - {spacing.2})","aria-label":"Toggle password visibility",...t})}),xs=D.forwardRef(function(t,r){const{max:n=4,value:o,...i}=t,a=o/n*100,{label:s,colorPalette:l}=Ss(a);return R.jsxs(Qe,{align:"flex-end",gap:"1",ref:r,...i,children:[R.jsx(xt,{width:"full",ref:r,...i,children:Array.from({length:n}).map((f,c)=>R.jsx(_t,{height:"1",flex:"1",rounded:"sm","data-selected":c<o?"":void 0,layerStyle:"fill.subtle",colorPalette:"gray",_selected:{colorPalette:l,layerStyle:"fill.solid"}},c))}),s&&R.jsx(xt,{textStyle:"xs",children:s})]})});function Ss(e){switch(!0){case e<33:return{label:"Low",colorPalette:"red"};case e<66:return{label:"Medium",colorPalette:"orange"};default:return{label:"High",colorPalette:"green"}}}exports.AspectRatio=Ca;exports.Bleed=Aa;exports.Box=_t;exports.Center=an;exports.Container=Va;exports.Flex=La;exports.Float=Da;exports.Grid=Ir;exports.GridItem=Ha;exports.Group=nn;exports.HStack=xt;exports.PasswordInput=vs;exports.PasswordStrengthMeter=xs;exports.SimpleGrid=Ga;exports.Stack=Qe;exports.Theme=Qo;exports.ThemeProvider=cs;exports.VStack=Qa;exports.Wrap=sn;exports.WrapItem=es;exports.useTheme=ss;
|