PageSourceSearch

https://myka.ng/assets/vendor-ui-DA_r9yXk.js

js myka.ng collected 2026-10-09 22:41:14 UTC 524,054 bytes, 11 lines download raw bytes

vendor: 5,227 bytes, line 1
1import{r as g,R as Tl,j as S,a as Vo}from"./vendor-react-DfYGAhtm.js";function gu(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var cb=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|popover|popoverTarget|popoverTargetAction|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|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)-.*))$/,db=gu(function(e){return cb.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91});function ub(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 fb(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 pb=(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.prepe
vendor: 6,001 bytes, line 1
1nd,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(fb(this));var o=this.tags[this.tags.length-1];if(this.isSpeedy){var i=ub(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})(),Ae="-ms-",uo="-moz-",q="-webkit-",bu="comm",Ys="rule",Zs="decl",hb="@import",vu="@keyframes",mb="@layer",gb=Math.abs,Do=String.fromCharCode,bb=Object.assign;function vb(e,t){return Ce(e,0)^45?(((t<<2^Ce(e,0))<<2^Ce(e,1))<<2^Ce(e,2))<<2^Ce(e,3):0}function yu(e){return e.trim()}function yb(e,t){return(e=t.exec(e))?e[0]:e}function K(e,t,r){return e.replace(t,r)}function es(e,t){return e.indexOf(t)}function Ce(e,t){return e.charCodeAt(t)|0}function dn(e,t,r){return e.slice(t,r)}function nt(e){return e.length}function Qs(e){return e.length}function On(e,t){return t.push(e),e}function xb(e,t){return e.map(t).join("")}var Mo=1,Er=1,xu=0,De=0,de=0,Nr="";function Lo(e,t,r,n,o,i,s){return{value:e,root:t,parent:r,type:n,props:o,children:i,line:Mo,column:Er,length:s,return:""}}function Gr(e,t){return bb(Lo("",null,null,"",null,null,0),e,{length:-e.length},t)}function wb(){return de}function kb(){return de=De>0?Ce(Nr,--De):0,Er--,de===10&&(Er=1,Mo--),de}function Le(){return de=De<xu?Ce(Nr,De++):0,Er++,de===10&&(Er=1,Mo++),de}function at(){return Ce(Nr,De)}function Xn(){return De}function wn(e,t){return dn(Nr,e,t)}function un(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 wu(e){return Mo=Er=1,xu=nt(Nr=e),De=0,[]}function ku(e){return Nr="",e}function Yn(e){return yu(wn(De-1,ts(e===91?e+2:e===40?e+1:e)))}function Sb(e){for(;(de=at())&&de<33;)Le();return un(e)>2||un(de)>3?"":" "}function Cb(e,t){for(;--t&&Le()&&!(de<48||de>102||de>57&&de<65||de>70&&de<97););return wn(e,Xn()+(t<6&&at()==32&&Le()==32))}function ts(e){for(;Le();)switch(de){case e:return De;case 34:case 39:e!==34&&e!==39&&ts(de);break;case 40:e===41&&ts(e);break;case 92:Le();break}return De}function Pb(e,t){for(;Le()&&e+de!==57;)if(e+de===84&&at()===47)break;return"/*"+wn(t,De-1)+"*"+Do(e===47?e:Le())}function Tb(e){for(;!un(at());)Le();return wn(e,De)}function Rb(e){return ku(Zn("",null,null,null,[""],e=wu(e),0,[0],e))}function Zn(e,t,r,n,o,i,s,a,l){for(var c=0,d=0,u=s,f=0,p=0,h=0,m=1,b=1,v=1,x=0,y="",k=o,w=i,C=n,E=y;b;)switch(h=x,x=Le()){case 40:if(h!=108&&Ce(E,u-1)==58){es(E+=K(Yn(x),"&","&\f"),"&\f")!=-1&&(v=-1);break}case 34:case 39:case 91:E+=Yn(x);break;case 9:case 10:case 13:case 32:E+=Sb(h);break;case 92:E+=Cb(Xn()-1,7);continue;case 47:switch(at()){case 42:case 47:On(Eb(Pb(Le(),Xn()),t,r),l);break;default:E+="/"}break;case 123*m:a[c++]=nt(E)*v;case 125*m:case 59:case 0:switch(x){case 0:case 125:b=0;case 59+d:v==-1&&(E=K(E,/\f/g,"")),p>0&&nt(E)-u&&On(p>32?El(E+";",n,r,u-1):El(K(E," ","")+";",n,r,u-2),l);break;case 59:E+=";";default:if(On(C=Rl(E,t,r,c,d,o,a,y,k=[],w=[],u),i),x===123)if(d===0)Zn(E,t,C,C,k,i,u,a,w);else switch(f===99&&Ce(E,3)===110?100:f){case 100:case 108:case 109:case 115:Zn(e,C,C,n&&On(Rl(e,C,C,0,0,o,a,y,o,k=[],u),w),o,w,u,a,n?k:w);break;default:Zn(E,C,C,C,[""],w,0,a,w)}}c=d=p=0,m=v=1,y=E="",u=s;break;case 58:u=1+nt(E),p=h;default:if(m<1){if(x==123)--m;else if(x==125&&m++==0&&kb()==125)continue}switch(E+=Do(x),x*m){case 38:v=d>0?1:(E+="\f",-1);break;case 44:a[c++]=(nt(E)-1)*v,v=1;break;case 64:at()===45&&(E+=Yn(Le())),f=at(),d=u=nt(y=E+=Tb(Xn())),x++;break;case 45:h===45&&nt(E)==2&&(m=0)}}return i}function Rl(e,t,r,n,o,i,s,a,l,c,d){for(var u=o-1,f=o===0?i:[""],p=Qs(f),h=0,m=0,b=0;h<n;++h)for(var v=0,x=dn(e,u+1,u=gb(m=s[h])),y=e;v<p;++v)(y=yu(m>0?f[v]+" "+x:K(x,/&\f/g,f[v])))&&(l[b++]=y);return Lo(e,t,r,o===0?Ys:a,l,c,d)}function Eb(e,t,r){return Lo(e,t,r,bu,Do(wb()),dn(e,2,-2),0)}function El(e,t,r,n){return Lo(e,t,r,Zs,dn(e,0,n),dn(e,n+1,-1),n)}function Pr(e,t){for(var r="",n=Qs(e),o=0;o<n;o++)r+=t(e[o],o,e,t)||"";return r}function Ab(e,t,r,n){switch(e.type){case mb:if(e.children.length)break;case hb:case Zs:return e.return=e.return||e.value;case bu:return"";case vu:return e.return=e.value+"{"+Pr(e.children,n)+"}";case Ys:e.value=e.props.join(",")}return nt(r=Pr(e.children,n))?e.return=e.value+"{"+r+"}":""}function Ib(e){var t=Qs(e);return function(r,n,o,i){for(var s="",a=0;a<t;a++)s+=e[a](r,n,o,i)||"";return s}}function zb(e){return function(t){t.root||(t=t.return)&&e(t)}}var Nb=function(t,r,n){for(var o=0,i=0;o=i,i=at(),o===38&&i===12&&(r[n]=1),!un(i);)Le();return wn(t,De)},Ob=function(t,r){var n=-1,o=44;do switch(un(o)){case 0:o===38&&at()===12&&(r[n]=1),t[n]+=Nb(De-1,r,n);break;case 2:t[n]+=Yn(o);break;case 4:if(o===44){t[++n]=at()===58?"&\f":"",r[n]=t[n].length;break}default:t[n]+=Do(o)}while(o=Le());return t},_b=function(t,r){return ku(Ob(wu(t),r))},Al=new WeakMap,Vb=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&&!Al.get(n))&&!o){Al.set(t,!0);for(var i=[],s=_b(r,i),a=n.props,l=0,c=0;l<s.length;l++)for(var d=0;d<a.length;d++,c++)t.props[c]=i[l]?s[l].replace(/&\f/g,a[d]):a[d]+" "+s[l]}}},Db=function(t){if(t.type==="decl"){var r=t.value;r.charCodeAt(0)===108&&r.charCodeAt(2)===98&&(t.return="",t.value="")}};function Su(e,t){switch(vb(e,t)){case 5103:return q+"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 q+e+e;
vendor: 5,754 bytes, line 1
1case 5349:case 4246:case 4810:case 6968:case 2756:return q+e+uo+e+Ae+e+e;case 6828:case 4268:return q+e+Ae+e+e;case 6165:return q+e+Ae+"flex-"+e+e;case 5187:return q+e+K(e,/(\w+).+(:[^]+)/,q+"box-$1$2"+Ae+"flex-$1$2")+e;case 5443:return q+e+Ae+"flex-item-"+K(e,/flex-|-self/,"")+e;case 4675:return q+e+Ae+"flex-line-pack"+K(e,/align-content|flex-|-self/,"")+e;case 5548:return q+e+Ae+K(e,"shrink","negative")+e;case 5292:return q+e+Ae+K(e,"basis","preferred-size")+e;case 6060:return q+"box-"+K(e,"-grow","")+q+e+Ae+K(e,"grow","positive")+e;case 4554:return q+K(e,/([^-])(transform)/g,"$1"+q+"$2")+e;case 6187:return K(K(K(e,/(zoom-|grab)/,q+"$1"),/(image-set)/,q+"$1"),e,"")+e;case 5495:case 3959:return K(e,/(image-set\([^]*)/,q+"$1$`$1");case 4968:return K(K(e,/(.+:)(flex-)?(.*)/,q+"box-pack:$3"+Ae+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+q+e+e;case 4095:case 3583:case 4068:case 2532:return K(e,/(.+)-inline(.+)/,q+"$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(nt(e)-1-t>6)switch(Ce(e,t+1)){case 109:if(Ce(e,t+4)!==45)break;case 102:return K(e,/(.+:)(.+)-([^]+)/,"$1"+q+"$2-$3$1"+uo+(Ce(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~es(e,"stretch")?Su(K(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Ce(e,t+1)!==115)break;case 6444:switch(Ce(e,nt(e)-3-(~es(e,"!important")&&10))){case 107:return K(e,":",":"+q)+e;case 101:return K(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+q+(Ce(e,14)===45?"inline-":"")+"box$3$1"+q+"$2$3$1"+Ae+"$2box$3")+e}break;case 5936:switch(Ce(e,t+11)){case 114:return q+e+Ae+K(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return q+e+Ae+K(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return q+e+Ae+K(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return q+e+Ae+e+e}return e}var Mb=function(t,r,n,o){if(t.length>-1&&!t.return)switch(t.type){case Zs:t.return=Su(t.value,t.length);break;case vu:return Pr([Gr(t,{value:K(t.value,"@","@"+q)})],o);case Ys:if(t.length)return xb(t.props,function(i){switch(yb(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Pr([Gr(t,{props:[K(i,/:(read-\w+)/,":"+uo+"$1")]})],o);case"::placeholder":return Pr([Gr(t,{props:[K(i,/:(plac\w+)/,":"+q+"input-$1")]}),Gr(t,{props:[K(i,/:(plac\w+)/,":"+uo+"$1")]}),Gr(t,{props:[K(i,/:(plac\w+)/,Ae+"input-$1")]})],o)}return""})}},Lb=[Mb],Fb=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(m){var b=m.getAttribute("data-emotion");b.indexOf(" ")!==-1&&(document.head.appendChild(m),m.setAttribute("data-s",""))})}var o=t.stylisPlugins||Lb,i={},s,a=[];s=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+r+' "]'),function(m){for(var b=m.getAttribute("data-emotion").split(" "),v=1;v<b.length;v++)i[b[v]]=!0;a.push(m)});var l,c=[Vb,Db];{var d,u=[Ab,zb(function(m){d.insert(m)})],f=Ib(c.concat(o,u)),p=function(b){return Pr(Rb(b),f)};l=function(b,v,x,y){d=x,p(b?b+"{"+v.styles+"}":v.styles),y&&(h.inserted[v.name]=!0)}}var h={key:r,sheet:new pb({key:r,container:s,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:i,registered:{},insert:l};return h.sheet.hydrate(a),h},bi={exports:{}},Y={};var Il;function Wb(){if(Il)return Y;Il=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,s=e?Symbol.for("react.provider"):60109,a=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,d=e?Symbol.for("react.forward_ref"):60112,u=e?Symbol.for("react.suspense"):60113,f=e?Symbol.for("react.suspense_list"):60120,p=e?Symbol.for("react.memo"):60115,h=e?Symbol.for("react.lazy"):60116,m=e?Symbol.for("react.block"):60121,b=e?Symbol.for("react.fundamental"):60117,v=e?Symbol.for("react.responder"):60118,x=e?Symbol.for("react.scope"):60119;function y(w){if(typeof w=="object"&&w!==null){var C=w.$$typeof;switch(C){case t:switch(w=w.type,w){case l:case c:case n:case i:case o:case u:return w;default:switch(w=w&&w.$$typeof,w){case a:case d:case h:case p:case s:return w;default:return C}}case r:return C}}}function k(w){return y(w)===c}return Y.AsyncMode=l,Y.ConcurrentMode=c,Y.ContextConsumer=a,Y.ContextProvider=s,Y.Element=t,Y.ForwardRef=d,Y.Fragment=n,Y.Lazy=h,Y.Memo=p,Y.Portal=r,Y.Profiler=i,Y.StrictMode=o,Y.Suspense=u,Y.isAsyncMode=function(w){return k(w)||y(w)===l},Y.isConcurrentMode=k,Y.isContextConsumer=function(w){return y(w)===a},Y.isContextProvider=function(w){return y(w)===s},Y.isElement=function(w){return typeof w=="object"&&w!==null&&w.$$typeof===t},Y.isForwardRef=function(w){return y(w)===d},Y.isFragment=function(w){return y(w)===n},Y.isLazy=function(w){return y(w)===h},Y.isMemo=function(w){return y(w)===p},Y.isPortal=function(w){return y(w)===r},Y.isProfiler=function(w){return y(w)===i},Y.isStrictMode=function(w){return y(w)===o},Y.isSuspense=function(w){return y(w)===u},Y.isValidElementType=function(w){return typeof w=="string"||typeof w=="function"||w===n||w===c||w===i||w===o||w===u||w===f||typeof w=="object"&&w!==null&&(w.$$typeof===h||w.$$typeof===p||w.$$typeof===s||w.$$typeof===a||w.$$typeof===d||w.$$typeof===b||w.$$typeof===v||w.$$typeof===x||w.$$typeof===m)},Y.typeOf=y,Y}var zl;function $b(){return zl||(zl=1,bi.exports=Wb()),bi.exports}var vi,Nl;function Bb(){if(Nl)return vi;Nl=1;var e=$b(),t={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0}
vendor: 5,325 bytes, line 1
1,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 s(h){return e.isMemo(h)?o:i[h.$$typeof]||t}var a=Object.defineProperty,l=Object.getOwnPropertyNames,c=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,u=Object.getPrototypeOf,f=Object.prototype;function p(h,m,b){if(typeof m!="string"){if(f){var v=u(m);v&&v!==f&&p(h,v,b)}var x=l(m);c&&(x=x.concat(c(m)));for(var y=s(h),k=s(m),w=0;w<x.length;++w){var C=x[w];if(!r[C]&&!(b&&b[C])&&!(k&&k[C])&&!(y&&y[C])){var E=d(m,C);try{a(h,C,E)}catch{}}}}return h}return vi=p,vi}Bb();var jb=!0;function Cu(e,t,r){var n="";return r.split(" ").forEach(function(o){e[o]!==void 0?t.push(e[o]+";"):o&&(n+=o+" ")}),n}var Js=function(t,r,n){var o=t.key+"-"+r.name;(n===!1||jb===!1)&&t.registered[o]===void 0&&(t.registered[o]=r.styles)},ea=function(t,r,n){Js(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 Hb(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 Gb={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},Ub=/[A-Z]|^ms/g,qb=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Pu=function(t){return t.charCodeAt(1)===45},Ol=function(t){return t!=null&&typeof t!="boolean"},yi=gu(function(e){return Pu(e)?e:e.replace(Ub,"-$&").toLowerCase()}),_l=function(t,r){switch(t){case"animation":case"animationName":if(typeof r=="string")return r.replace(qb,function(n,o,i){return ot={name:o,styles:i,next:ot},o})}return Gb[t]!==1&&!Pu(t)&&typeof r=="number"&&r!==0?r+"px":r};function fn(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 ot={name:o.name,styles:o.styles,next:ot},o.name;var i=r;if(i.styles!==void 0){var s=i.next;if(s!==void 0)for(;s!==void 0;)ot={name:s.name,styles:s.styles,next:ot},s=s.next;var a=i.styles+";";return a}return Kb(e,t,r)}case"function":{if(e!==void 0){var l=ot,c=r(e);return ot=l,fn(e,t,c)}break}}var d=r;if(t==null)return d;var u=t[d];return u!==void 0?u:d}function Kb(e,t,r){var n="";if(Array.isArray(r))for(var o=0;o<r.length;o++)n+=fn(e,t,r[o])+";";else for(var i in r){var s=r[i];if(typeof s!="object"){var a=s;t!=null&&t[a]!==void 0?n+=i+"{"+t[a]+"}":Ol(a)&&(n+=yi(i)+":"+_l(i,a)+";")}else if(Array.isArray(s)&&typeof s[0]=="string"&&(t==null||t[s[0]]===void 0))for(var l=0;l<s.length;l++)Ol(s[l])&&(n+=yi(i)+":"+_l(i,s[l])+";");else{var c=fn(e,t,s);switch(i){case"animation":case"animationName":{n+=yi(i)+":"+c+";";break}default:n+=i+"{"+c+"}"}}}return n}var Vl=/label:\s*([^\s;{]+)\s*(;|$)/g,ot;function Fo(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="";ot=void 0;var i=e[0];if(i==null||i.raw===void 0)n=!1,o+=fn(r,t,i);else{var s=i;o+=s[0]}for(var a=1;a<e.length;a++)if(o+=fn(r,t,e[a]),n){var l=i;o+=l[a]}Vl.lastIndex=0;for(var c="",d;(d=Vl.exec(o))!==null;)c+="-"+d[1];var u=Hb(o)+c;return{name:u,styles:o,next:ot}}var Xb=function(t){return t()},Tu=Tl.useInsertionEffect?Tl.useInsertionEffect:!1,Ru=Tu||Xb,Dl=Tu||g.useLayoutEffect,Eu=g.createContext(typeof HTMLElement<"u"?Fb({key:"css"}):null);Eu.Provider;var ta=function(t){return g.forwardRef(function(r,n){var o=g.useContext(Eu);return t(r,o,n)})},ra=g.createContext({}),na={}.hasOwnProperty,rs="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Yb=function(t,r){var n={};for(var o in r)na.call(r,o)&&(n[o]=r[o]);return n[rs]=t,n},Zb=function(t){var r=t.cache,n=t.serialized,o=t.isStringTag;return Js(r,n,o),Ru(function(){return ea(r,n,o)}),null},Qb=ta(function(e,t,r){var n=e.css;typeof n=="string"&&t.registered[n]!==void 0&&(n=t.registered[n]);var o=e[rs],i=[n],s="";typeof e.className=="string"?s=Cu(t.registered,i,e.className):e.className!=null&&(s=e.className+" ");var a=Fo(i,void 0,g.useContext(ra));s+=t.key+"-"+a.name;var l={};for(var c in e)na.call(e,c)&&c!=="css"&&c!==rs&&(l[c]=e[c]);return l.className=s,r&&(l.ref=r),g.createElement(g.Fragment,null,g.createElement(Zb,{cache:t,serialized:a,isStringTag:typeof o=="str
1ing"}),g.createElement(o,l))}),Jb=Qb,Ml=function(t,r){var n=arguments;if(r==null||!na.call(r,"css"))return g.createElement.apply(void 0,n);var o=n.length,i=new Array(o);i[0]=Jb,i[1]=Yb(t,r);for(var s=2;s<o;s++)i[s]=n[s];return g.createElement.apply(null,i)};(function(e){var t;t||(t=e.JSX||(e.JSX={}))})(Ml||(Ml={}));var Ll=ta(function(e,t){var r=e.styles,n=Fo([r],void 0,g.useContext(ra)),o=g.useRef();return Dl(function(){var i=t.key+"-global",s=new t.sheet.constructor({key:i,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),a=!1,l=document.querySelector('style[data-emotion="'+i+" "+n.name+'"]');return t.sheet.tags.length&&(s.before=t.sheet.tags[0]),l!==null&&(a=!0,l.setAttribute("data-emotion",i),s.hydrate([l])),o.current=[s,a],function(){s.flush()}},[t]),Dl(function(){var i=o.current,s=i[0],a=i[1];if(a){i[1]=!1;return}if(n.next!==void 0&&ea(t,n.next,!0),s.tags.length){var l=s.tags[s.tags.length-1].nextElementSibling;s.before=l,s.flush()}t.insert("",n,s,!1)},[t,n.name]),null});function ev(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return Fo(t)}function _2(){var e=ev.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}function tv(...e){return function(...r){e.forEach(n=>n?.(...r))}}const rv=(...e)=>e.map(t=>t?.trim?.()).filter(Boolean).join(" "),nv=/^on[A-Z]/;function pn(...e){let t={};for(let r of e){for(let n in t){if(nv.test(n)&&typeof t[n]=="function"&&typeof r[n]=="function"){t[n]=tv(t[n],r[n]);continue}if(n==="className"||n==="class"){t[n]=rv(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 ov=parseInt(g.version.split(".")[0],10),iv=ov>=19;function xi(e,t){if(e!=null){if(typeof e=="function")return e(t);try{e.current=t}catch{throw new Error(`Cannot assign value '${t}' to ref '${e}'`)}}}function sv(...e){const t=e.filter(r=>r!=null);if(iv){const r=new Map;return n=>(t.forEach(o=>{const i=xi(o,n);i&&r.set(o,i)}),()=>{t.forEach(o=>{const i=r.get(o);i&&typeof i=="function"?i():xi(o,null)}),r.clear()})}else return r=>{t.forEach(n=>{xi(n,r)})}}function Or(e){const t=Object.assign({},e);for(let r in t)t[r]===void 0&&delete t[r];return t}const Ve=e=>e!=null&&typeof e=="object"&&!Array.isArray(e),$e=e=>typeof e=="string",oa=e=>typeof e=="function",pe=(...e)=>{const t=[];for(let r=0;r<e.length;r++){const n=e[r];if(!$e(n))continue;const o=n.trim();o&&t.push(o)}return t.join(" ")};function av(e){return e.default||e}function lv(e){const t=g.version;return!$e(t)||t.startsWith("18.")?e?.ref:e?.props?.ref}const ia=(...e)=>{const t=e.reduce((r,n)=>(n?.forEach(o=>r.add(o)),r),new Set([]));return Array.from(t)};function cv(e,t){return`${e} returned \`undefined\`. Seems you forgot to wrap component within ${t}`}function nn(e={}){const{name:t,strict:r=!0,hookName:n="useContext",providerName:o="Provider",errorMessage:i,defaultValue:s}=e,a=g.createContext(s);a.displayName=t;function l(){const c=g.useContext(a);if(!c&&r){const d=new Error(i??cv(n,o));throw d.name="ContextError",Error.captureStackTrace?.(d,l),d}return c}return[a.Provider,l,a]}const[dv,ar]=nn({name:"ChakraContext",strict:!0,providerName:"<ChakraProvider />"});function V2(e){const{value:t,children:r}=e;return S.jsxs(dv,{value:t,children:[!t._config.disableLayers&&S.jsx(Ll,{styles:t.layers.atRule}),S.jsx(Ll,{styles:t._global}),r]})}const uv=(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]},Tr=(e,t)=>{const r=oa(t)?t:n=>t.includes(n);return uv(e,r)},fv=new Set(["htmlWidth","htmlHeight","htmlSize","htmlTranslate"]);function pv(e){return typeof e=="string"&&fv.has(e)}function hv(e,t,r){const{css:n,isValidProperty:o}=ar(),{children:i,...s}=e,a=g.useMemo(()=>{const[f,p]=Tr(s,x=>r(x,t.variantKeys)),[h,m]=Tr(p,t.variantKeys),[b,v]=Tr(m,o);return{forwardedProps:f,variantProps:h,styleProps:b,elementProps:v}},[t.variantKeys,r,s,o]),{css:l,...c}=a.styleProps,d=g.useMemo(()=>{const f={...a.variantProps},p=t.variantKeys.includes("colorPalette"),h=t.variantKeys.includes("orientation");return p||(f.colorPalette=s.colorPalette),h||(f.orientation=s.orientation),t(f)},[t,a.variantProps,s.colorPalette,s.orientation]);return{styles:g.useMemo(()=>n(d,...mv(l),c),[n,d,l,c]),props:{...a.forwardedProps,...a.elementProps,children:i}}}const mv=e=>
1(Array.isArray(e)?e:[e]).filter(Boolean).flat(),gv=av(db),bv=gv,vv=e=>e!=="theme",yv=(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 xv=typeof document<"u";const Fl=({cache:e,serialized:t,isStringTag:r})=>{Js(e,t,r);const n=Ru(()=>ea(e,t,r));if(!xv&&n!==void 0){let o=t.name,i=t.next;for(;i!==void 0;)o=pe(o,i.name),i=i.next;return S.jsx("style",{"data-emotion":pe(e.key,o),dangerouslySetInnerHTML:{__html:n},nonce:e.sheet.nonce})}return null},Wl={path:["d"],text:["x","y"],circle:["cx","cy","r"],rect:["width","height","x","y","rx","ry"],ellipse:["cx","cy","rx","ry"],g:["transform"],stop:["offset","stopOpacity"]},wv=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),kv=(e,t={},r={})=>{if(wv(Wl,e)){r.forwardProps||(r.forwardProps=[]);const c=Wl[e];r.forwardProps=ia([...r.forwardProps,...c])}const n=e.__emotion_real===e,o=n&&e.__emotion_base||e;let i,s;r!==void 0&&(i=r.label,s=r.target);let a=[];const l=ta((c,d,u)=>{const{cva:f,isValidProperty:p}=ar(),h=t.__cva__?t:f(t),m=Cv(e.__emotion_cva,h),b=O=>(B,te)=>O.includes(B)?!0:!te?.includes(B)&&!p(B);!r.shouldForwardProp&&r.forwardProps&&(r.shouldForwardProp=b(r.forwardProps));const v=(O,B)=>{const te=typeof e=="string"&&e.charCodeAt(0)>96?bv:vv,H=!B?.includes(O)&&!p(O);return te(O)&&H},x=yv(e,r,n)||v,y=g.useMemo(()=>Object.assign({},r.defaultProps,Or(c)),[c]),{props:k,styles:w}=hv(y,m,x);let C="",E=[w],P=k;if(k.theme==null){P={};for(let O in k)P[O]=k[O];P.theme=g.useContext(ra)}typeof k.className=="string"?C=Cu(d.registered,E,k.className):k.className!=null&&(C=pe(C,k.className));const R=Fo(a.concat(E),d.registered,P);R.styles&&(C=pe(C,`${d.key}-${R.name}`)),s!==void 0&&(C=pe(C,s));const T=!x("as");let A=T&&k.as||o,I={};for(let O in k)if(!(T&&O==="as")){if(pv(O)){const B=O.replace("html","").toLowerCase();I[B]=k[O];continue}x(O)&&(I[O]=k[O])}let _=C.trim();_?I.className=_:Reflect.deleteProperty(I,"className"),I.ref=u;const L=r.forwardAsChild||r.forwardProps?.includes("asChild");if(k.asChild&&!L){const O=g.isValidElement(k.children)?g.Children.only(k.children):g.Children.toArray(k.children).find(g.isValidElement);if(!O)throw new Error("[chakra-ui > factory] No valid child found");A=O.type,I.children=null,Reflect.deleteProperty(I,"asChild"),I=pn(I,O.props),I.ref=sv(u,lv(O))}return I.as&&L?(I.as=void 0,S.jsxs(g.Fragment,{children:[S.jsx(Fl,{cache:d,serialized:R,isStringTag:typeof A=="string"}),S.jsx(A,{asChild:!0,...I,children:S.jsx(k.as,{children:I.children})})]})):S.jsxs(g.Fragment,{children:[S.jsx(Fl,{cache:d,serialized:R,isStringTag:typeof A=="string"}),S.jsx(A,{...I})]})});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`.${s}`}}),l},wi=kv.bind(),ki=new Map,Sv=new Proxy(wi,{apply(e,t,r){return wi(...r)},get(e,t){return ki.has(t)||ki.set(t,wi(t)),ki.get(t)}}),X=Sv,Cv=(e,t)=>e&&!t?e:!e&&t?t:e.merge(t),Au=X("div");Au.displayName="Box";const Iu=g.forwardRef(function(t,r){const{size:n,...o}=t;return S.jsx(Au,{...o,ref:r,boxSize:n,css:{display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,flexGrow:0,...t.css}})});Iu.displayName="Square";const zu=g.forwardRef(function(t,r){const{size:n,...o}=t;return S.jsx(Iu,{size:n,ref:r,borderRadius:"9999px",...o})});zu.displayName="Circle";const Nu=Object.freeze({}),Pv=Object.freeze({});function Ou(e){const{key:t,recipe:r}=e,n=ar();return g.useMemo(()=>{const o=r||(t!=null?n.getRecipe(t):{});return n.cva(structuredClone(o))},[t,r,n])}const Tv=e=>e.charAt(0).toUpperCase()+e.slice(1);function et(e){const{key:t,recipe:r}=e,n=Tv(t||r.className||"Component"),[o,i]=nn({strict:!1,name:`${n}PropsContext`,providerName:`${n}PropsContext`});function s(c){const{unstyled:d,...u}=c,f=Ou({key:t,recipe:u.recipe||r}),[p,h]=g.useMemo(()=>f.splitVariantProps(u),[f,u]);return{styles:d?Nu:f(p),className:f.className,props:h}}const a=(c,d)=>{const u=X(c,{},d),f=g.forwardRef((p,h)=>{const m=i(),b=g.useMemo(()=>pn(m,p),[p,m]),{styles:v,className:x,props:y}=s(b);return S.jsx(u,{...y,ref:h,css:[v,b.css],className:pe(x,b.className)})});return f.displayName=c.displayName||c.name,f};function l(){return o}return{withContext:a,PropsProvider:o,withPropsProvider:l,usePropsContext:i,useRecipeResult:s}}const _u=g.forwardRef(function(t,r){const{templateAreas:n,column:o,row:i,autoFlow:s,autoRows:a,templateRows:l,autoColumns:c,templateColumns:d,inline:u,...f}=t;return S.jsx(X.div,{...f,ref:r,css:[{display:u?"inline-grid":"grid",gridTemplateAreas:n,gridAutoColumns:c,gridColumn:o,gridRow:i,gridAutoFlow:s,gridAutoRows:a,gridTemplateRows:l,gridTemplateColumns:d},t.css]})});_u.displayName="Grid";function Rv(e){return e==null?[]:Array.isArray(e)?e:[e]}var Ev=e=>e[0],Av=e=>e[e.length-1],Iv=(e,...t)=>e.concat(t),zv=(e,...t)=>e.filter(r=>!t.includes(r)),$l=e=>e?.constructor.name==="Array",Nv=(e,t)=>{if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++)if(!sa(e[r],t[r]))return!1;return!0},sa=(e,t)=>{if(Object.is(e,t))return!0;
1if(e==null&&t!=null||e!=null&&t==null)return!1;if(typeof e?.isEqual=="function"&&typeof t?.isEqual=="function")return e.isEqual(t);if(typeof e=="function"&&typeof t=="function")return e.toString()===t.toString();if($l(e)&&$l(t))return Nv(Array.from(e),Array.from(t));if(typeof e!="object"||typeof t!="object")return!1;const r=Object.keys(t??Object.create(null)),n=r.length;for(let o=0;o<n;o++)if(!Reflect.has(e,r[o]))return!1;for(let o=0;o<n;o++){const i=r[o];if(!sa(e[i],t[i]))return!1}return!0},Ov=e=>e!=null&&typeof e=="object",Vu=e=>typeof e=="number"&&!Number.isNaN(e),Qn=e=>typeof e=="string",Kt=e=>typeof e=="function",_v=e=>e==null,Du=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),Vv=e=>Object.prototype.toString.call(e),Mu=Function.prototype.toString,Dv=Mu.call(Object),Mv=e=>{if(!Ov(e)||Vv(e)!="[object Object]"||Wv(e))return!1;const t=Object.getPrototypeOf(e);if(t===null)return!0;const r=Du(t,"constructor")&&t.constructor;return typeof r=="function"&&r instanceof r&&Mu.call(r)==Dv},Lv=e=>typeof e=="object"&&e!==null&&"$$typeof"in e&&"props"in e,Fv=e=>typeof e=="object"&&e!==null&&"__v_isVNode"in e,Wv=e=>Lv(e)||Fv(e),$v=e=>e(),Bv=()=>{},ns=(...e)=>(...t)=>{e.forEach(function(r){r?.(...t)})},jv=e=>Number.isNaN(e),Hv=e=>jv(e)?0:e,Gv=(e,t,r)=>(Hv(e)-t)/(r-t),Nt=e=>typeof e=="number"?`${e}px`:e;function aa(e){if(!Mv(e)||e===void 0)return e;const t=Reflect.ownKeys(e).filter(n=>typeof n=="string"),r={};for(const n of t){const o=e[n];o!==void 0&&(r[n]=aa(o))}return r}function fo(...e){e.length===1?e[0]:e[1],e.length===2&&e[0]}function Uv(e,t){if(e==null)throw new Error(t())}function qv(e,t){return`${e} returned \`undefined\`. Seems you forgot to wrap component within ${t}`}function Ee(e={}){const{name:t,strict:r=!0,hookName:n="useContext",providerName:o="Provider",errorMessage:i,defaultValue:s}=e,a=g.createContext(s);a.displayName=t;function l(){const c=g.useContext(a);if(!c&&r){const d=new Error(i??qv(n,o));throw d.name="ContextError",Du(Error,"captureStackTrace")&&Kt(Error.captureStackTrace)&&Error.captureStackTrace(d,l),d}return c}return[a.Provider,l,a]}const[D2,ft]=Ee({name:"EnvironmentContext",hookName:"useEnvironmentContext",providerName:"<EnvironmentProvider />",strict:!1,defaultValue:{getRootNode:()=>document,getDocument:()=>document,getWindow:()=>window}});var Kv=(...e)=>e.map(t=>t?.trim?.()).filter(Boolean).join(" "),Xv=/((?:--)?(?:\w+-?)+)\s*:\s*([^;]*)/g,Bl=e=>{const t={};let r;for(;r=Xv.exec(e);)t[r[1]]=r[2];return t},Yv=(e,t)=>{if(Qn(e)){if(Qn(t))return`${e};${t}`;e=Bl(e)}else Qn(t)&&(t=Bl(t));return Object.assign({},e??{},t??{})};function M(...e){let t={};for(let r of e){if(!r)continue;for(let o in t){if(o.startsWith("on")&&typeof t[o]=="function"&&typeof r[o]=="function"){t[o]=ns(r[o],t[o]);continue}if(o==="className"||o==="class"){t[o]=Kv(t[o],r[o]);continue}if(o==="style"){t[o]=Yv(t[o],r[o]);continue}t[o]=r[o]!==void 0?r[o]:t[o]}for(let o in r)t[o]===void 0&&(t[o]=r[o]);const n=Object.getOwnPropertySymbols(r);for(let o of n)t[o]=r[o]}return t}function Zv(e,t,r){let n=[],o;return i=>{const s=e(i);return(s.length!==n.length||s.some((l,c)=>!sa(n[c],l)))&&(n=s,o=t(s,i)),o}}var lr=".",Lu="#",jl=new WeakMap,Fu=new WeakMap;function os(e){return e.join(lr)}function Qv(e){return e.includes(lr)}function Wu(e){return e.startsWith(Lu)}function Jv(e){return Wu(e)?e.slice(Lu.length):e}function $u(e,t){return e?`${e}${lr}${t}`:t}function ey(e){const t=new Map,r=new Map,n=(o,i)=>{t.set(o,i);const s=i.id;if(s){if(r.has(s))throw new Error(`Duplicate state id: ${s}`);r.set(s,o)}const a=i.states;if(a)for(const[l,c]of Object.entries(a)){if(!c)continue;const d=$u(o,l);n(d,c)}};for(const[o,i]of Object.entries(e.states))i&&n(o,i);return{index:t,idIndex:r}}function kn(e){const t=jl.get(e);if(t)return t;const{index:r,idIndex:n}=ey(e);return jl.set(e,r),Fu.set(e,n),r}function ty(e,t){return kn(e),Fu.get(e)?.get(t)}function la(e){return e?String(e).split(lr).filter(Boolean):[]}function po(e,t){if(!t)return[];const r=kn(e),n=la(t),o=[],i=[];for(const s of n){i.push(s);const a=os(i),l=r.get(a);if(!l)break;o.push({path:a,state:l})}return o}function Si(e,t){const r=kn(e),n=la(t);if(!n.length)return t;const o=[];for(const a of n){o.push(a);const l=os(o);if(!r.has(l))return t}let i=os(o),s=r.get(i);for(;s?.initial;){const a=`${i}${lr}${s.initial}`,l=r.get(a);if(!l)break;i=a,s=l}return i}function ry(e,t){return kn(e).has(t)}function Hl(e,t,r){const n=String(t);if(Wu(n)){const o=Jv(n),i=ty(e,o);if(!i)throw new Error(`Unknown state id: ${o}`);return Si(e,i)}if(!Qv(n)&&r){const o=la(r);for(let i=o.length;i>=1;i--){const s=o.slice(0,i).join(lr),a=$u(s,n);if(ry(e,a))return Si(e,a)}}return Si(e,n)}function ny(e,t,r){const n=po(e,t);for(let i=n.length-1;i>=0;i--){const a=n[i]?.state.on?.[r];if(a)return{transitions:a,source:n[i]?.path}}return{transitions:e.on?.[r],source:void 0}}function oy(e,t,r,n){const o=t?po(e,t):[],i=po(e,r);let s=0;for(;s<o.length&&s<i.length&&o[s]?.path===i[s]?.path;)s+=1;let a=o.slice(s).reverse(),l=i.slice(s);const c=o.at(-1)?.path===i.at(-1)?.path;return n&&c&&(a=o.slice().reverse(),l=i),{exiting:a,entering:l}}function iy(e,t){return e?e===t||e.startsWith(`${t}${lr}`):!1}function sy(e,t,r){return po(e,t).some(n=>n.state.tags?.includes(r))}function ca(){return{and:(...e)=>function(r){return e.every(n=>r.guard(n))},or:(...e)=>function(r){return e.some(n=>r.guard(n))},not:e=>function(r){return!r.guard(e)}}}function Tt(e){return kn(e),e}
1var mr=(e=>(e.NotStarted="Not Started",e.Started="Started",e.Stopped="Stopped",e))(mr||{}),Ci="__init__",ay=Object.defineProperty,ly=(e,t,r)=>t in e?ay(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Pi=(e,t,r)=>ly(e,typeof t!="symbol"?t+"":t,r),Ti=(...e)=>t=>e.reduce((r,n)=>n(r),t),kt=()=>{},Wo=e=>typeof e=="object"&&e!==null,j=e=>e?"":void 0,Bu=e=>e?"true":void 0,cy=1,dy=9,uy=11,ve=e=>Wo(e)&&e.nodeType===cy&&typeof e.nodeName=="string",$o=e=>Wo(e)&&e.nodeType===dy,fy=e=>Wo(e)&&e===e.window,ju=e=>ve(e)?e.localName||"":"#document";function py(e){return["html","body","#document"].includes(ju(e))}var hy=e=>Wo(e)&&e.nodeType!==void 0,rr=e=>hy(e)&&e.nodeType===uy&&"host"in e,my=e=>ve(e)&&e.localName==="input",gy=e=>ve(e)?e.offsetWidth>0||e.offsetHeight>0||e.getClientRects().length>0:!1;function vr(e){if(!e)return!1;const t=e.getRootNode();return Qt(t)===e}var by=/(textarea|select)/;function vy(e){if(e==null||!ve(e))return!1;try{return my(e)&&e.selectionStart!=null||by.test(e.localName)||e.isContentEditable||e.getAttribute("contenteditable")==="true"||e.getAttribute("contenteditable")===""}catch{return!1}}function hn(e,t){if(!e||!t||!ve(e)||!ve(t))return!1;const r=t.getRootNode?.();if(e===t||e.contains(t))return!0;if(r&&rr(r)){let n=t;for(;n;){if(e===n)return!0;n=n.parentNode||n.host}}return!1}function _e(e){return $o(e)?e:fy(e)?e.document:e?.ownerDocument??document}function yy(e){return _e(e).documentElement}function Re(e){return rr(e)?Re(e.host):$o(e)?e.defaultView??window:ve(e)?e.ownerDocument?.defaultView??window:window}function Qt(e){let t=e.activeElement;for(;t?.shadowRoot;){const r=t.shadowRoot.activeElement;if(!r||r===t)break;t=r}return t}function xy(e){if(ju(e)==="html")return e;const t=e.assignedSlot||e.parentNode||rr(e)&&e.host||yy(e);return rr(t)?t.host:t}function da(e){let t;try{if(t=e.getRootNode({composed:!0}),$o(t)||rr(t))return t}catch{}return e.ownerDocument??document}var Ri=new WeakMap;function nr(e){return Ri.has(e)||Ri.set(e,Re(e).getComputedStyle(e)),Ri.get(e)}
1var ua=new Set(["menu","listbox","dialog","grid","tree","region"]),wy=e=>ua.has(e),Hu=e=>e.getAttribute("aria-controls")?.split(" ")||[];function Gu(e,t){const r=new Set,n=da(e),o=i=>{const s=i.querySelectorAll("[aria-controls]");for(const a of s){if(a.getAttribute("aria-expanded")!=="true")continue;const l=Hu(a);for(const c of l){if(!c||r.has(c))continue;r.add(c);const d=n.getElementById(c);if(d){const u=d.getAttribute("role"),f=d.getAttribute("aria-modal")==="true";if(u&&wy(u)&&!f&&(d===t||d.contains(t)||o(d)))return!0}}}return!1};return o(e)}function Uu(e,t){const r=da(e),n=new Set,o=i=>{const s=i.querySelectorAll("[aria-controls]");for(const a of s){if(a.getAttribute("aria-expanded")!=="true")continue;const l=Hu(a);for(const c of l){if(!c||n.has(c))continue;n.add(c);const d=r.getElementById(c);if(d){const u=d.getAttribute("role"),f=d.getAttribute("aria-modal")==="true";u&&ua.has(u)&&!f&&(t(d),o(d))}}}};o(e)}function ky(e){const t=new Set;return Uu(e,r=>{e.contains(r)||t.add(r)}),Array.from(t)}function Sy(e){const t=e.getAttribute("role");return!!(t&&ua.has(t))}function Cy(e){return e.hasAttribute("aria-controls")&&e.getAttribute("aria-expanded")==="true"}function Py(e){return Cy(e)?!0:!!e.querySelector?.('[aria-controls][aria-expanded="true"]')}function Ty(e){if(!e.id)return!1;const t=da(e),r=CSS.escape(e.id),n=`[aria-controls~="${r}"][aria-expanded="true"], [aria-controls="${r}"][aria-expanded="true"]`;return!!(t.querySelector(n)&&Sy(e))}var Bo=()=>typeof document<"u";function Ry(){return navigator.userAgentData?.platform??navigator.platform}function Ey(){const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?e.brands.map(({brand:t,version:r})=>`${t}/${r}`).join(" "):navigator.userAgent}var fa=e=>Bo()&&e.test(Ry()),Ay=e=>Bo()&&e.test(Ey()),Iy=e=>Bo()&&e.test(navigator.vendor),Gl=()=>Bo()&&!!navigator.maxTouchPoints,zy=()=>fa(/^iPhone/i),Ny=()=>fa(/^iPad/i)||jo()&&navigator.maxTouchPoints>1,qu=()=>zy()||Ny(),Oy=()=>jo()||qu(),jo=()=>fa(/^Mac/i),pa=()=>Oy()&&Iy(/apple/i),_y=()=>Ay(/Android/i);function Vy(e){return e.composedPath?.()??e.nativeEvent?.composedPath?.()}function Pe(e){return Vy(e)?.[0]??e.target}function Dy(e){return e.pointerType===""&&e.isTrusted?!0:_y()&&e.pointerType?e.type==="click"&&e.buttons===1:e.detail===0&&!e.pointerType}var My=e=>e.button===0,Ly=e=>e.button===2||jo()&&e.ctrlKey&&e.button===0,Fy=e=>"touches"in e&&e.touches.length>0,Wy={Up:"ArrowUp",Down:"ArrowDown",Esc:"Escape"," ":"Space",",":"Comma",Left:"ArrowLeft",Right:"ArrowRight"},Ul={ArrowLeft:"ArrowRight",ArrowRight:"ArrowLeft"};function $y(e,t={}){const{dir:r="ltr",orientation:n="horizontal"}=t;let o=e.key;return o=Wy[o]??o,r==="rtl"&&n==="horizontal"&&o in Ul&&(o=Ul[o]),o}function By(e,t="client"){const r=Fy(e)?e.touches[0]||e.changedTouches[0]:e;return{x:r[`${t}X`],y:r[`${t}Y`]}}var be=(e,t,r,n)=>{const o=typeof e=="function"?e():e;return o?.addEventListener(t,r,n),()=>{o?.removeEventListener(t,r,n)}};function jy(e,t){const{type:r="HTMLInputElement",property:n="value"}=t,o=Re(e)[r].prototype;return Object.getOwnPropertyDescriptor(o,n)??{}}function ha(e,t){if(!e)return;jy(e,{type:"HTMLInputElement",property:"checked"}).set?.call(e,t),t?e.setAttribute("checked",""):e.removeAttribute("checked")}function Ku(e,t){const{checked:r,bubbles:n=!0}=t;if(!e)return;const o=Re(e);if(!(e instanceof o.HTMLInputElement))return;ha(e,r);const i=new o.Event("click",{bubbles:n});e.dispatchEvent(Ky(i))}function Hy(e){return e.matches("textarea, input, select, button")}function Gy(e,t){if(!e)return;const r=Hy(e)?e.form:e.closest("form"),n=o=>{o.defaultPrevented||t()};return r?.addEventListener("reset",n,{passive:!0}),()=>r?.removeEventListener("reset",n)}function Uy(e,t){const r=e?.closest("fieldset");if(!r)return;t(r.disabled);const n=Re(r),o=new n.MutationObserver(()=>t(r.disabled));return o.observe(r,{attributes:!0,attributeFilter:["disabled"]}),()=>o.disconnect()}function Xu(e,t){if(!e)return;const{onFieldsetDisabledChange:r,onFormReset:n}=t,o=[Gy(e,n),Uy(e,r)];return()=>o.forEach(i=>i?.())}var Yu=Symbol.for("zag.changeEvent");function qy(e){return Object.prototype.hasOwnProperty.call(e,Yu)}function Ky(e){return qy(e)||Object.defineProperty(e,Yu,{value:!0}),e}var Zu=e=>ve(e)&&e.tagName==="IFRAME",Xy=/^(audio|video|details)$/;function Qu(e){const t=e.getAttribute("tabindex");return t?parseInt(t,10):NaN}var Yy=e=>!Number.isNaN(Qu(e)),Zy=e=>Qu(e)<0;function Qy(e,t){if(!t)return null;if(t===!0)return e.shadowRoot||null;const r=t(e);return(r===!0?e.shadowRoot:r)||null}function Ju(e,t,r){const n=[...e],o=[...e],i=new Set,s=new Map;e.forEach((l,c)=>s.set(l,c));let a=0;for(;a<o.length;){const l=o[a++];if(!l||i.has(l))continue;i.add(l);const c=Qy(l,t);if(c){const d=Array.from(c.querySelectorAll(Ho)).filter(r),u=s.get(l);if(u!==void 0){const f=u+1;n.splice(f,0,...d),d.forEach((p,h)=>{s.set(p,f+h)});for(let p=f+d.length;p<n.length;p++)s.set(n[p],p)}else{const f=n.length;n.push(...d),d.forEach((p,h)=>{s.set(p,f+h)})}o.push(...d)}}return n}
1var Ho="input:not([type='hidden']):not([disabled]), select:not([disabled]), textarea:not([disabled]), a[href], button:not([disabled]), [tabindex], iframe, object, embed, area[href], audio[controls], video[controls], [contenteditable]:not([contenteditable='false']), details > summary:first-of-type",ef=(e,t={})=>{if(!e)return[];const{includeContainer:r=!1,getShadowRoot:n}=t,o=Array.from(e.querySelectorAll(Ho));(r==!0||r=="if-empty"&&o.length===0)&&ve(e)&&St(e)&&o.unshift(e);const s=[];for(const a of o)if(St(a)){if(Zu(a)&&a.contentDocument){const l=a.contentDocument.body;s.push(...ef(l,{getShadowRoot:n}));continue}s.push(a)}return n?Ju(s,n,St):s};function St(e){return!ve(e)||e.closest("[inert]")?!1:e.matches(Ho)&&gy(e)}function _r(e,t={}){if(!e)return[];const{includeContainer:r,getShadowRoot:n}=t,o=Array.from(e.querySelectorAll(Ho));r&&Xt(e)&&o.unshift(e);const i=[];for(const s of o)if(Xt(s)){if(Zu(s)&&s.contentDocument){const a=s.contentDocument.body;i.push(..._r(a,{getShadowRoot:n}));continue}i.push(s)}if(n){const s=Ju(i,n,Xt);return!s.length&&r?o:s}return!i.length&&r?o:i}function Xt(e){return ve(e)&&e.tabIndex>0?!0:St(e)&&!Zy(e)}function Jy(e,t={}){const r=_r(e,t),n=r[0]||null,o=r[r.length-1]||null;return[n,o]}function ex(e,t={}){const{current:r,getShadowRoot:n}=t,o=_r(e,{getShadowRoot:n}),i=e?.ownerDocument||document,s=r??Qt(i);if(!s)return null;const a=o.indexOf(s);return o[a+1]||null}function Ur(e){return e.tabIndex<0&&(Xy.test(e.localName)||vy(e))&&!Yy(e)?0:e.tabIndex}function ql(e){const{root:t,getInitialEl:r,filter:n,enabled:o=!0}=e;if(!o)return;let i=null;if(i||(i=typeof r=="function"?r():r),i||(i=t?.querySelector("[data-autofocus],[autofocus]")),!i){const s=_r(t);i=n?s.filter(n)[0]:s[0]}return i||t||void 0}var tx=class tf{constructor(){Pi(this,"id",null),Pi(this,"fn_cleanup"),Pi(this,"cleanup",()=>{this.cancel()})}static create(){return new tf}request(t){this.cancel(),this.id=globalThis.requestAnimationFrame(()=>{this.id=null,this.fn_cleanup=t?.()})}cancel(){this.id!==null&&(globalThis.cancelAnimationFrame(this.id),this.id=null),this.fn_cleanup?.(),this.fn_cleanup=void 0}isActive(){return this.id!==null}};function he(e){const t=tx.create();return t.request(e),t.cleanup}function ma(e){const t=new Set;function r(n){const o=globalThis.requestAnimationFrame(n);t.add(()=>globalThis.cancelAnimationFrame(o))}return r(()=>r(e)),function(){t.forEach(o=>o())}}function rx(e,t){if(!e)return;const{attributes:r,callback:n}=t,o=e.ownerDocument.defaultView||window,i=new o.MutationObserver(s=>{for(const a of s)a.type==="attributes"&&a.attributeName&&r.includes(a.attributeName)&&n(a)});return i.observe(e,{attributes:!0,attributeFilter:r}),()=>i.disconnect()}function nx(e,t){const{defer:r}=t,n=r?he:i=>i(),o=[];return o.push(n(()=>{const i=typeof e=="function"?e():e;o.push(rx(i,t))}
1)),()=>{o.forEach(i=>i?.())}}function ox(e,t){const{callback:r}=t;if(!e)return;const n=e.ownerDocument.defaultView||window,o=new n.MutationObserver(r);return o.observe(e,{childList:!0,subtree:!0}),()=>o.disconnect()}function rf(e,t){const{defer:r}=t,n=r?he:i=>i(),o=[];return o.push(n(()=>{const i=typeof e=="function"?e():e;o.push(ox(i,t))})),()=>{o.forEach(i=>i?.())}}function is(e){const t=xy(e);return py(t)?_e(t).body:ve(t)&&ax(t)?t:is(t)}var ix=/auto|scroll|overlay|hidden|clip/,sx=new Set(["inline","contents"]);function ax(e){const t=Re(e),{overflow:r,overflowX:n,overflowY:o,display:i}=t.getComputedStyle(e);return ix.test(r+o+n)&&!sx.has(i)}function nf(e){const{pointerNode:t,keyboardNode:r=t,onPress:n,onPressStart:o,onPressEnd:i,isValidKey:s=x=>x.key==="Enter"}=e;if(!t)return kt;const a=Re(t);let l=kt,c=kt,d=kt;const u=x=>({point:By(x),event:x});function f(x){o?.(u(x))}function p(x){i?.(u(x))}const m=be(t,"pointerdown",x=>{c();const k=be(a,"pointerup",C=>{const E=Pe(C);hn(t,E)?n?.(u(C)):i?.(u(C))},{passive:!n,once:!0}),w=be(a,"pointercancel",p,{passive:!i,once:!0});c=Ti(k,w),vr(r)&&x.pointerType==="mouse"&&x.preventDefault(),f(x)},{passive:!o}),b=be(r,"focus",v);l=Ti(m,b);function v(){const x=C=>{if(!s(C))return;const E=R=>
1{if(!s(R))return;const T=new a.PointerEvent("pointerup"),A=u(T);n?.(A),i?.(A)};c(),c=be(r,"keyup",E);const P=new a.PointerEvent("pointerdown");f(P)},y=()=>{const C=new a.PointerEvent("pointercancel");p(C)},k=be(r,"keydown",x),w=be(r,"blur",y);d=Ti(k,w)}return()=>{l(),c(),d()}}function lx(e,t={}){const{triggerElement:r,onFocus:n,onFocusEnter:o,getShadowRoot:i}=t,s=e?.ownerDocument||document,a=s.body;function l(c){if(c.key!=="Tab")return;let d=null;const[u,f]=Jy(e,{includeContainer:!0,getShadowRoot:i}),p=ex(a,{current:r,getShadowRoot:i}),h=!u&&!f;c.shiftKey&&vr(p)?(o?.(),d=f):c.shiftKey&&(vr(u)||h)?d=r:!c.shiftKey&&vr(r)?(o?.(),d=u):!c.shiftKey&&(vr(f)||h)&&(d=p),d&&(c.preventDefault(),typeof n=="function"?n(d):d.focus())}return be(s,"keydown",l,!0)}function cx(e,t){const{defer:r,triggerElement:n,...o}=t,i=r?he:a=>a(),s=[];return s.push(i(()=>{const a=typeof e=="function"?e():e,l=typeof n=="function"?n():n;s.push(lx(a,{triggerElement:l,...o}))})),()=>{s.forEach(a=>a?.())}}function dx(e,t){return Array.from(e?.querySelectorAll(t)??[])}var of=e=>e.id;function ux(e,t,r=of){return e.find(n=>r(n)===t)}function sf(e,t,r=of){const n=ux(e,t,r);return n?e.indexOf(n):-1}function fx(e,t,r=!0){let n=sf(e,t);return n=r?(n+1)%e.length:Math.min(n+1,e.length-1),e[n]}function px(e,t,r=!0){let n=sf(e,t);return n===-1?r?e[e.length-1]:null:(n=r?(n-1+e.length)%e.length:Math.max(0,n-1),e[n])}function hx(e,t,r){const n=e.getAttribute(t),o=n!=null;return n===r?kt:(e.setAttribute(t,r),()=>{o?e.setAttribute(t,n):e.removeAttribute(t)})}function mn(e,t){if(!e)return kt;const r=Object.keys(t).reduce((n,o)=>(n[o]=e.style.getPropertyValue(o),n),{});return gx(r,t)?kt:(Object.assign(e.style,t),()=>{Object.assign(e.style,r),e.style.length===0&&e.removeAttribute("style")})}function mx(e,t,r){if(!e)return kt;const n=e.style.getPropertyValue(t);return n===r?kt:(e.style.setProperty(t,r),()=>{e.style.setProperty(t,n),e.style.length===0&&e.removeAttribute("style")})}function gx(e,t){return Object.keys(e).every(r=>e[r]===t[r])}var af={border:"0",clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:"0",position:"absolute",width:"1px",whiteSpace:"nowrap",wordWrap:"normal"};function bx(e,t,r){const{signal:n}=t;return[new Promise((s,a)=>{const l=setTimeout(()=>{a(new Error(`Timeout of ${r}ms exceeded`))},r);n.addEventListener("abort",()=>{clearTimeout(l),a(new Error("Promise aborted"))}),e.then(c=>{n.aborted||(clearTimeout(l),s(c))}).catch(c=>{n.aborted||(clearTimeout(l),a(c))})}),()=>t.abort()]}function vx(e,t){const{timeout:r,rootNode:n}=t,o=Re(n),i=_e(n),s=new o.AbortController;return bx(new Promise(a=>{const l=e();if(l){a(l);return}const c=new o.MutationObserver(()=>{const d=e();d&&d.isConnected&&(c.disconnect(),a(d))});c.observe(i.body,{childList:!0,subtree:!0})}),s,r)}function yx(e){const t=()=>e.getRootNode?.()??document,r=()=>_e(t());return{...e,getRootNode:t,getDoc:r,getWin:()=>r().defaultView??window,getActiveElement:()=>Qt(t()),isActiveElement:vr,getById:s=>t().getElementById(s)}}function Vr(...e){return t=>{const r=[];for(const n of e)if(typeof n=="function"){const o=n(t);typeof o=="function"&&r.push(o)}else n&&(n.current=t);if(r.length)return()=>{for(const n of r)n()}}}function xx(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}const Ei=e=>{const t=g.memo(g.forwardRef((r,n)=>{const{asChild:o,children:i,...s}=r;if(!o)return g.createElement(e,{...s,ref:n},i);if(!g.isValidElement(i))return null;const a=g.Children.only(i),l=xx(a);return g.cloneElement(a,{...M(s,a.props),ref:n?Vr(n,l):l})}));return t.displayName=e.displayName||e.name,t},wx=()=>{const e=new Map;return new Proxy(Ei,{apply(t,r,n){return Ei(n[0])},get(t,r){const n=r;return e.has(n)||e.set(n,Ei(n)),e.get(n)}})},$=wx(),[M2,Wt]=Ee({name:"LocaleContext",hookName:"useLocaleContext",providerName:"<LocaleProvider />",strict:!1,defaultValue:{dir:"ltr",locale:"en-US"}}),{withContext:kx}=et({key:"heading"}),Sx=kx("h2");Sx.displayName="Heading";const ye=()=>(e,t)=>t.reduce((r,n)=>{const[o,i]=r,s=n;return i[s]!==void 0&&(o[s]=i[s]),delete i[s],[o,i]},[{},{...e}]),Go=e=>ye()(e,["immediate","lazyMount","onExitComplete","present","skipAnimationOnMount","unmountOnExit"]);function Cx(e,t){const{state:r,send:n,context:o}=e,i=r.matches("mounted","unmountSuspended");return{skip:!o.get("initial"),present:i,setNode(s){s&&n({type:"NODE.SET",node:s})},unmount(){n({type:"UNMOUNT"})}}}var Px=Tt({props({props:e}){return{...e,present:!!e.present}},initialState({prop:e}){return e("present")?"mounted":"unmounted"},refs(){return{node:null,styles:null}},context({bindable:e}){return{unmountAnimationName:e(()=>({defaultValue:null})),prevAnimationName:e(()=>({defaultValue:null})),present:e(()=>({defaultValue:!1})),initial:e(()=>({sync:!0,defaultValue:!1}))}},exit:["cleanupNode"],watch({track:e,prop:t,send:r}){e([()=>t("present")],()=>{r({type:"PRESENCE.CHANGED"})})},on:{"NODE.SET":{actions:["setupNode"]},"PRESENCE.CHANGED":{actions:["setInitial","syncPresence"]}},states:{mounted:{on:{UNMOUNT:{target:"unmounted",actions:["clearPrevAnimationName","invokeOnExitComplete"]},"UNMOUNT.SUSPEND":{target:"unmountSuspended"}}}
1,unmountSuspended:{effects:["trackAnimationEvents"],on:{MOUNT:{target:"mounted",actions:["setPrevAnimationName"]},UNMOUNT:{target:"unmounted",actions:["clearPrevAnimationName","invokeOnExitComplete"]}}},unmounted:{on:{MOUNT:{target:"mounted",actions:["setPrevAnimationName"]}}}},implementations:{actions:{setInitial:({context:e})=>{e.get("initial")||queueMicrotask(()=>{e.set("initial",!0)})},invokeOnExitComplete:({prop:e,refs:t})=>{e("onExitComplete")?.();const r=t.get("node");if(!r)return;const n=Re(r),o=new n.CustomEvent("exitcomplete",{bubbles:!1});r.dispatchEvent(o)},setupNode:({refs:e,event:t})=>{e.get("node")!==t.node&&(e.set("node",t.node),e.set("styles",nr(t.node)))},cleanupNode:({refs:e})=>{e.set("node",null),e.set("styles",null)},syncPresence:({context:e,refs:t,send:r,prop:n})=>{const o=n("present");if(o)return r({type:"MOUNT",src:"presence.changed"});const i=t.get("node");if(!o&&i?.ownerDocument.visibilityState==="hidden")return r({type:"UNMOUNT",src:"visibilitychange"});he(()=>{const s=_n(t.get("styles"));e.set("unmountAnimationName",s),s==="none"||s===e.get("prevAnimationName")||t.get("styles")?.display==="none"||t.get("styles")?.animationDuration==="0s"?r({type:"UNMOUNT",src:"presence.changed"}):r({type:"UNMOUNT.SUSPEND"})})},setPrevAnimationName:({context:e,refs:t})=>{he(()=>{e.set("prevAnimationName",_n(t.get("styles")))})},clearPrevAnimationName:({context:e})=>{e.set("prevAnimationName",null)}},effects:{trackAnimationEvents:({context:e,refs:t,send:r,prop:n})=>{const o=t.get("node");if(!o)return;const i=c=>{(c.composedPath?.()?.[0]??c.target)===o&&e.set("prevAnimationName",_n(t.get("styles")))},s=c=>{const d=_n(t.get("styles"));Pe(c)===o&&d===e.get("unmountAnimationName")&&!n("present")&&r({type:"UNMOUNT",src:"animationend"})},a=c=>{Pe(c)===o&&!n("present")&&r({type:"UNMOUNT",src:"animationcancel"})};o.addEventListener("animationstart",i),o.addEventListener("animationcancel",a),o.addEventListener("animationend",s);const l=mn(o,{animationFillMode:"forwards"});return()=>{o.removeEventListener("animationstart",i),o.removeEventListener("animationcancel",a),o.removeEventListener("animationend",s),ma(()=>l())}}}}});function _n(e){return e?.animationName||"none"}function Tx(e){return new Proxy({},{get(t,r){return r==="style"?n=>e({style:n}).style:e}})}var lf=typeof globalThis.document<"u"?g.useLayoutEffect:g.useEffect;function ho(e){const t=e().value??e().defaultValue,r=e().isEqual??Object.is,[n]=g.useState(t),[o,i]=g.useState(n),s=e().value!==void 0,a=g.useRef(o);a.current=s?e().value:o;const l=g.useRef(a.current);lf(()=>{l.current=a.current},[o,e().value]);const c=u=>{const f=l.current,p=Kt(u)?u(f):u;e().debug&&console.log(`[bindable > ${e().debug}] setValue`,{next:p,prev:f}),s||i(p),r(p,f)||e().onChange?.(p,f)};function d(){return s?e().value:o}return{initial:n,ref:a,get:d,set(u){(e().sync?Vo.flushSync:$v)(()=>c(u))},invoke(u,f){e().onChange?.(u,f)},hash(u){return e().hash?.(u)??String(u)}}}ho.cleanup=e=>{g.useEffect(()=>e,[])};ho.ref=e=>{const t=g.useRef(e);return{get:()=>t.current,set:r=>{t.current=r}}};function Rx(e){const t=g.useRef(e);return{get(r){return t.current[r]},set(r,n){t.current[r]=n}}}var Ex=(e,t)=>{const r=g.useRef(!1),n=g.useRef(!1);g.useEffect(()=>{if(r.current&&n.current)return t();n.current=!0},[...(e??[]).map(o=>typeof o=="function"?o():o)]),g.useEffect(()=>(r.current=!0,()=>{r.current=!1}),[])};function Rt(e,t={}){const r=g.useMemo(()=>{const{id:A,ids:I,getRootNode:_}=t;return yx({id:A,ids:I,getRootNode:_})},[t]),n=(...A)=>{e.debug&&console.log(...A)},o=e.props?.({props:aa(t),scope:r})??t,i=Ax(o),s=e.context?.({prop:i,bindable:ho,scope:r,flush:Kl,getContext(){return l},getComputed(){return w},getRefs(){return m},getEvent(){return p()}}),a=cf(s),l={get(A){return a.current?.[A].ref.current},set(A,I){a.current?.[A].set(I)},initial(A){return a.current?.[A].initial},hash(A){const I=a.current?.[A].get();return a.current?.[A].hash(I)}},c=g.useRef(new Map),d=g.useRef(null),u=g.useRef(null),f=g.useRef({type:""}),p=()=>({...f.current,current(){return f.current},previous(){return u.current}}),h=()=>
1({...C,matches(...A){return A.some(I=>iy(C.ref.current,I))},hasTag(A){return sy(e,C.ref.current,A)}}),m=Rx(e.refs?.({prop:i,context:l})??{}),b=()=>({state:h(),context:l,event:p(),prop:i,send:T,action:v,guard:x,track:Ex,refs:m,computed:w,flush:Kl,scope:r,choose:k}),v=A=>{const I=Kt(A)?A(b()):A;if(!I)return;const _=I.map(L=>{const O=e.implementations?.actions?.[L];return O||fo(`[zag-js] No implementation found for action "${JSON.stringify(L)}"`),O});for(const L of _)L?.(b())},x=A=>Kt(A)?A(b()):e.implementations?.guards?.[A](b()),y=A=>{const I=Kt(A)?A(b()):A;if(!I)return;const _=I.map(O=>{const B=e.implementations?.effects?.[O];return B||fo(`[zag-js] No implementation found for effect "${JSON.stringify(O)}"`),B}),L=[];for(const O of _){const B=O?.(b());B&&L.push(B)}return()=>L.forEach(O=>O?.())},k=A=>Rv(A).find(I=>{let _=!I.guard;return Qn(I.guard)?_=!!x(I.guard):Kt(I.guard)&&(_=I.guard(b())),_}),w=A=>{Uv(e.computed,()=>"[zag-js] No computed object found on machine");const I=e.computed[A];return I({context:l,event:p(),prop:i,refs:m,scope:r,computed:w})},C=ho(()=>({defaultValue:Hl(e,e.initialState({prop:i})),onChange(A,I){const{exiting:_,entering:L}=oy(e,I,A,d.current?.reenter);if(_.forEach(O=>{c.current.get(O.path)?.(),c.current.delete(O.path)}),_.forEach(O=>{v(O.state?.exit)}
1),v(d.current?.actions),L.forEach(O=>{const B=y(O.state?.effects);B&&c.current.set(O.path,B)}),I===Ci){v(e.entry);const O=y(e.effects);O&&c.current.set(Ci,O)}L.forEach(O=>{v(O.state?.entry)})}})),E=g.useRef(void 0),P=g.useRef(mr.NotStarted);lf(()=>{queueMicrotask(()=>{const _=P.current===mr.Started;P.current=mr.Started,n(_?"rehydrating...":"initializing...");const L=E.current??C.initial;C.invoke(L,_?C.get():Ci)});const A=c.current,I=C.ref.current;return()=>{n("unmounting..."),E.current=I,P.current=mr.Stopped,A.forEach(_=>_?.()),c.current=new Map,d.current=null,queueMicrotask(()=>{v(e.exit)})}},[]);const R=()=>"ref"in C?C.ref.current:C.get(),T=A=>{queueMicrotask(()=>{if(P.current!==mr.Started)return;u.current=f.current,f.current=A;let I=R();const{transitions:_,source:L}=ny(e,I,A.type),O=k(_);if(!O)return;d.current=O;const B=Hl(e,O.target??I,L);n("transition",A.type,O.target||I,`(${O.actions})`),B!==I?Vo.flushSync(()=>C.set(B)):O.reenter?C.invoke(I,I):v(O.actions??[])})};return e.watch?.(b()),{state:h(),send:T,context:l,prop:i,scope:r,refs:m,computed:w,event:p(),getStatus:()=>P.current}}function cf(e){const t=g.useRef(e);return t.current=e,t}function Ax(e){const t=cf(e);return function(n){return t.current[n]}}function Kl(e){queueMicrotask(()=>{Vo.flushSync(()=>e())})}var $t=Tx(e=>e);function df(e,t={}){const{sync:r=!1}=t,n=Ix(e);return g.useCallback((...o)=>r?queueMicrotask(()=>n.current?.(...o)):n.current?.(...o),[r,n])}function Ix(e){const t=g.useRef(e);return t.current=e,t}const Sn=(e={})=>{const{lazyMount:t,unmountOnExit:r,present:n,skipAnimationOnMount:o=!1,...i}=e,s=g.useRef(!1),a={...i,present:n,onExitComplete:df(e.onExitComplete)},l=Rt(Px,a),c=Cx(l);c.present&&(s.current=!0);const d=!c.present&&!s.current&&t||r&&!c.present&&s.current,u=()=>({"data-state":c.skip&&o?void 0:n?"open":"closed",hidden:!c.present});return{ref:c.setNode,getPresenceProps:u,present:c.present,unmounted:d}},[Uo,Dr]=Ee({name:"PresenceContext",hookName:"usePresenceContext",providerName:"<PresenceProvider />"}),Qr=X("span");Qr.displayName="Span";const{withContext:zx}=et({key:"text"}),Nx=zx("p");Nx.displayName="Text";function Ox(e,t=[]){const r=g.useRef(()=>{throw new Error("Cannot call an event handler while rendering.")});return g.useInsertionEffect(()=>{r.current=e}),g.useCallback((...n)=>r.current?.(...n),t)}function _x(e,t){try{return e.addEventListener("change",t),()=>e.removeEventListener("change",t)}catch{return e.addListener(t),()=>e.removeListener(t)}}function Vx(e,t={}){const{fallback:r=[],ssr:n=!0,getWindow:o}=t,i=Ox(o),s=Array.isArray(e)?e:[e],a=r?.filter(d=>d!=null),[l,c]=g.useState(()=>s.map((d,u)=>{if(!n){const{media:f,matches:p}=(o?.()??window).matchMedia(d);return{media:f,matches:p}}return{media:d,matches:!!a[u]}}));return g.useEffect(()=>{const d=i()??window;c(h=>{const m=s.map(b=>{const{media:v,matches:x}=d.matchMedia(b);return{media:v,matches:x}});return h.every((b,v)=>b.matches===m[v].matches&&b.media===m[v].media)?h:m});const u=s.map(h=>d.matchMedia(h)),f=h=>{c(m=>m.slice().map(b=>b.media===h.media?{...b,matches:h.matches}:b))},p=u.map(h=>_x(h,f));return()=>p.forEach(h=>h())},[i]),l.map(d=>d.matches)}function Dx(e={}){e.fallback||(e.fallback="base");const t=ar();let r=!1;const o=[{name:"base",min:"0px"},...t.breakpoints.values.map(l=>({name:l.name,min:l.min}))].map(({min:l,name:c})=>{const d={breakpoint:c,query:`(min-width: ${l})`,fallback:!r};return c===e.fallback&&(r=!0),d}).filter(({breakpoint:l})=>!!e.breakpoints?.includes(l)),i=o.map(({fallback:l})=>l),a=Vx(o.map(l=>l.query),{fallback:i,ssr:e.ssr}).lastIndexOf(!0);return o[a]?.breakpoint??e.fallback}function L2(e,t){const n=ar().normalizeValue(e),o=Dx({breakpoints:Object.keys(n),...t});return n[o]}const[uf,qo]=Ee({name:"AccordionContext",hookName:"useAccordionContext",providerName:"<AccordionProvider />"}),[Mx]=Ee({name:"AccordionItemContext",hookName:"useAccordionItemContext",providerName:"<AccordionItemProvider />"}),Lx=e=>ye()(e,["collapsedHeight","collapsedWidth","defaultOpen","disabled","id","ids","lazyMount","onExitComplete","onOpenChange","open","unmountOnExit"]);var F=(e,t=[])=>({parts:(...r)=>{if(Fx(t))return F(e,r);throw new Error("createAnatomy().parts(...) should only be called once. Did you mean to use .extendWith(...) ?")},extendWith:(...r)=>F(e,[...t,...r]),omit:(...r)=>F(e,t.filter(n=>!r.includes(n))),rename:r=>F(r,t),keys:()=>t,build:()=>[...new Set(t)].reduce((r,n)=>Object.assign(r,{[n]:{selector:[`&[data-scope="${dr(e)}"][data-part="${dr(n)}"]`,`& [data-scope="${dr(e)}"][data-part="${dr(n)}"]`].join(", "),attrs:{"data-scope":dr(e),"data-part":dr(n)}}}),{})}),dr=e=>e.replace(/([A-Z])([A-Z])/g,"$1-$2").replace(/([a-z])([A-Z])/g,"$1-$2").replace(/[\s_]+/g,"-").toLowerCase(),Fx=e=>e.length===0,ff=F("collapsible").parts("root","trigger","content","indicator"),
1Vn=ff.build(),Wx=e=>e.ids?.root??`collapsible:${e.id}`,ss=e=>e.ids?.content??`collapsible:${e.id}:content`,$x=e=>e.ids?.trigger??`collapsible:${e.id}:trigger`,qr=e=>e.getById(ss(e));function Bx(e,t){const{state:r,send:n,context:o,scope:i,prop:s}=e,a=r.matches("open")||r.matches("closing"),l=r.matches("open"),c=r.matches("closed"),{width:d,height:u}=o.get("size"),f=!!s("disabled"),p=s("collapsedHeight"),h=s("collapsedWidth"),m=p!=null,b=h!=null,v=m||b,x=!o.get("initial")&&l;return{disabled:f,visible:a,open:l,measureSize(){n({type:"size.measure"})},setOpen(y){r.matches("open")!==y&&n({type:y?"open":"close"})},getRootProps(){return t.element({...Vn.root.attrs,"data-state":l?"open":"closed",dir:s("dir"),id:Wx(i)})},getContentProps(){return t.element({...Vn.content.attrs,id:ss(i),"data-collapsible":"","data-state":x?void 0:l?"open":"closed","data-disabled":j(f),"data-has-collapsed-size":j(v),hidden:!a&&!v,dir:s("dir"),style:{"--height":Nt(u),"--width":Nt(d),"--collapsed-height":Nt(p),"--collapsed-width":Nt(h),...c&&m&&{overflow:"hidden",minHeight:Nt(p),maxHeight:Nt(p)},...c&&b&&{overflow:"hidden",minWidth:Nt(h),maxWidth:Nt(h)}}})},getTriggerProps(){return t.element({...Vn.trigger.attrs,id:$x(i),dir:s("dir"),type:"button","data-state":l?"open":"closed","data-disabled":j(f),"aria-controls":ss(i),"aria-expanded":a||!1,onClick(y){y.defaultPrevented||f||n({type:l?"close":"open"})}})},getIndicatorProps(){return t.element({...Vn.indicator.attrs,dir:s("dir"),"data-state":l?"open":"closed","data-disabled":j(f)})}}}var jx=Tt({initialState({prop:e}){return e("open")||e("defaultOpen")?"open":"closed"},context({bindable:e}){return{size:e(()=>({defaultValue:{height:0,width:0},sync:!0})),initial:e(()=>({defaultValue:!1}))}},refs(){return{cleanup:void 0,stylesRef:void 0}},watch({track:e,prop:t,action:r}){e([()=>t("open")],()=>{r(["setInitial","computeSize","toggleVisibility"])})},exit:["cleanupNode"],states:{closed:{effects:["trackTabbableElements"],on:{"controlled.open":{target:"open"},open:[{guard:"isOpenControlled",actions:["invokeOnOpen"]},{target:"open",actions:["setInitial","computeSize","invokeOnOpen"]}]}},closing:{effects:["trackExitAnimation"],on:{"controlled.close":{target:"closed"},"controlled.open":{target:"open"},open:[{guard:"isOpenControlled",actions:["invokeOnOpen"]},{target:"open",actions:["setInitial","invokeOnOpen"]}],close:[{guard:"isOpenControlled",actions:["invokeOnExitComplete"]},{target:"closed",actions:["setInitial","computeSize","invokeOnExitComplete"]}],"animation.end":{target:"closed",actions:["invokeOnExitComplete","clearInitial"]}}},open:{effects:["trackEnterAnimation"],on:{"controlled.close":{target:"closing"},close:[{guard:"isOpenControlled",actions:["invokeOnClose"]},{target:"closing",actions:["setInitial","computeSize","invokeOnClose"]}],"size.measure":{actions:["measureSize"]},"animation.end":{actions:["clearInitial"]}}}},implementations:{guards:{isOpenControlled:({prop:e})=>e("open")!=null},effects:{trackEnterAnimation:({send:e,scope:t})=>{let r;const n=he(()=>{const o=qr(t);if(!o)return;const i=nr(o).animationName;if(!i||i==="none"){e({type:"animation.end"});return}const a=l=>{Pe(l)===o&&e({type:"animation.end"})};o.addEventListener("animationend",a),r=()=>{o.removeEventListener("animationend",a)}});return()=>{n(),r?.()}},trackExitAnimation:({send:e,scope:t})=>{let r;const n=he(()=>{const o=qr(t);if(!o)return;const i=nr(o).animationName;if(!i||i==="none"){e({type:"animation.end"});return}const a=c=>{Pe(c)===o&&e({type:"animation.end"})};o.addEventListener("animationend",a);const l=mn(o,{animationFillMode:"forwards"});r=()=>{o.removeEventListener("animationend",a),ma(()=>l())}});return()=>{n(),r?.()}},trackTabbableElements:({scope:e,prop:t})=>{if(!t("collapsedHeight")&&!t("collapsedWidth"))return;const r=qr(e);if(!r)return;const n=()=>{const a=_r(r).map(l=>hx(l,"inert",""));return()=>{a.forEach(l=>l())}};let o=n();const i=rf(r,{callback(){o(),o=n()}});return()=>{o(),i()}}},actions:{setInitial:({context:e,flush:t})=>{t(()=>{e.set("initial",!0)})},clearInitial:({context:e})=>{e.set("initial",!1)},cleanupNode:({refs:e})=>{e.set("stylesRef",null)},measureSize:({context:e,scope:t})=>{const r=qr(t);if(!r)return;const{height:n,width:o}=r.getBoundingClientRect();e.set("size",{height:n,width:o})},computeSize:({refs:e,scope:t,context:r})=>{e.get("cleanup")?.();const n=he(()=>{const o=qr(t);if(!o)return;const i=o.hidden;o.style.animationName="none",o.style.animationDuration="0s",o.hidden=!1;const s=o.getBoundingClientRect();r.set("size",{height:s.height,width:s.width}),r.get("initial")&&(o.style.animationName="",o.style.animationDuration=""),o.hidden=i});e.set("cleanup",n)},invokeOnOpen:({prop:e})=>{e("onOpenChange")?.({open:!0})},invokeOnClose:({prop:e})=>{e("onOpenChange")?.({open:!1})},invokeOnExitComplete:({prop:e})=>{e("onExitComplete")?.()},toggleVisibility:({prop:e,send:t})=>{t({type:e("open")?"controlled.open":"controlled.close"})}}}});const Hx=(e={})=>{const{lazyMount:t,unmountOnExit:r,...n}=e,o=g.useId(),i=g.useRef(!1),{dir:s}=Wt(),{getRootNode:a}=ft(),l={id:o,dir:s,getRootNode:a,...n},c=Rt(jx,l),d=Bx(c,$t);d.visible&&(i.current=!0);const u=!d.visible&&!i.current&&t||r&&!d.visible&&i.current;return{...d,isUnmounted:u}},[pf,Ko]=Ee({name:"CollapsibleContext",hookName:"useCollapsibleContext",providerName:"<CollapsibleProvider />"}),ga=g.forwardRef((e,t)=>
vendor: 12,500 bytes, line 1
1{const[r,n]=Lx(e),o=Hx(r),i=M(o.getRootProps(),n);return S.jsx(pf,{value:o,children:S.jsx($.div,{...i,ref:t})})});ga.displayName="CollapsibleRoot";var hf=F("color-picker",["root","label","control","trigger","positioner","content","area","areaThumb","valueText","areaBackground","channelSlider","channelSliderLabel","channelSliderTrack","channelSliderThumb","channelSliderValueText","channelInput","transparencyGrid","swatchGroup","swatchTrigger","swatchIndicator","swatch","eyeDropperTrigger","formatTrigger","formatSelect"]);hf.build();const Gx=["top","right","bottom","left"],Dt=Math.min,Me=Math.max,mo=Math.round,Dn=Math.floor,lt=e=>({x:e,y:e}),Ux={left:"right",right:"left",bottom:"top",top:"bottom"};function as(e,t,r){return Me(e,Dt(t,r))}function Ct(e,t){return typeof e=="function"?e(t):e}function Pt(e){return e.split("-")[0]}function Mr(e){return e.split("-")[1]}function ba(e){return e==="x"?"y":"x"}function va(e){return e==="y"?"height":"width"}function st(e){const t=e[0];return t==="t"||t==="b"?"y":"x"}function ya(e){return ba(st(e))}function qx(e,t,r){r===void 0&&(r=!1);const n=Mr(e),o=ya(e),i=va(o);let s=o==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(s=go(s)),[s,go(s)]}function Kx(e){const t=go(e);return[ls(e),t,ls(t)]}function ls(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}const Xl=["left","right"],Yl=["right","left"],Xx=["top","bottom"],Yx=["bottom","top"];function Zx(e,t,r){switch(e){case"top":case"bottom":return r?t?Yl:Xl:t?Xl:Yl;case"left":case"right":return t?Xx:Yx;default:return[]}}function Qx(e,t,r,n){const o=Mr(e);let i=Zx(Pt(e),r==="start",n);return o&&(i=i.map(s=>s+"-"+o),t&&(i=i.concat(i.map(ls)))),i}function go(e){const t=Pt(e);return Ux[t]+e.slice(t.length)}function Jx(e){return{top:0,right:0,bottom:0,left:0,...e}}function mf(e){return typeof e!="number"?Jx(e):{top:e,right:e,bottom:e,left:e}}function bo(e){const{x:t,y:r,width:n,height:o}=e;return{width:n,height:o,top:r,left:t,right:t+n,bottom:r+o,x:t,y:r}}function Zl(e,t,r){let{reference:n,floating:o}=e;const i=st(t),s=ya(t),a=va(s),l=Pt(t),c=i==="y",d=n.x+n.width/2-o.width/2,u=n.y+n.height/2-o.height/2,f=n[a]/2-o[a]/2;let p;switch(l){case"top":p={x:d,y:n.y-o.height};break;case"bottom":p={x:d,y:n.y+n.height};break;case"right":p={x:n.x+n.width,y:u};break;case"left":p={x:n.x-o.width,y:u};break;default:p={x:n.x,y:n.y}}switch(Mr(t)){case"start":p[s]-=f*(r&&c?-1:1);break;case"end":p[s]+=f*(r&&c?-1:1);break}return p}async function e0(e,t){var r;t===void 0&&(t={});const{x:n,y:o,platform:i,rects:s,elements:a,strategy:l}=e,{boundary:c="clippingAncestors",rootBoundary:d="viewport",elementContext:u="floating",altBoundary:f=!1,padding:p=0}=Ct(t,e),h=mf(p),b=a[f?u==="floating"?"reference":"floating":u],v=bo(await i.getClippingRect({element:(r=await(i.isElement==null?void 0:i.isElement(b)))==null||r?b:b.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(a.floating)),boundary:c,rootBoundary:d,strategy:l})),x=u==="floating"?{x:n,y:o,width:s.floating.width,height:s.floating.height}:s.reference,y=await(i.getOffsetParent==null?void 0:i.getOffsetParent(a.floating)),k=await(i.isElement==null?void 0:i.isElement(y))?await(i.getScale==null?void 0:i.getScale(y))||{x:1,y:1}:{x:1,y:1},w=bo(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:x,offsetParent:y,strategy:l}):x);return{top:(v.top-w.top+h.top)/k.y,bottom:(w.bottom-v.bottom+h.bottom)/k.y,left:(v.left-w.left+h.left)/k.x,right:(w.right-v.right+h.right)/k.x}}const t0=50,r0=async(e,t,r)=>{const{placement:n="bottom",strategy:o="absolute",middleware:i=[],platform:s}=r,a=s.detectOverflow?s:{...s,detectOverflow:e0},l=await(s.isRTL==null?void 0:s.isRTL(t));let c=await s.getElementRects({reference:e,floating:t,strategy:o}),{x:d,y:u}=Zl(c,n,l),f=n,p=0;const h={};for(let m=0;m<i.length;m++){const b=i[m];if(!b)continue;const{name:v,fn:x}=b,{x:y,y:k,data:w,reset:C}=await x({x:d,y:u,initialPlacement:n,placement:f,strategy:o,middlewareData:h,rects:c,platform:a,elements:{reference:e,floating:t}});d=y??d,u=k??u,h[v]={...h[v],...w},C&&p<t0&&(p++,typeof C=="object"&&(C.placement&&(f=C.placement),C.rects&&(c=C.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:o}):C.rects),{x:d,y:u}=Zl(c,f,l)),m=-1)}return{x:d,y:u,placement:f,strategy:o,middlewareData:h}},n0=e=>({name:"arrow",options:e,async fn(t){const{x:r,y:n,placement:o,rects:i,platform:s,elements:a,middlewareData:l}=t,{element:c,padding:d=0}=Ct(e,t)||{};if(c==null)return{};const u=mf(d),f={x:r,y:n},p=ya(o),h=va(p),m=await s.getDimensions(c),b=p==="y",v=b?"top":"left",x=b?"bottom":"right",y=b?"clientHeight":"clientWidth",k=i.reference[h]+i.reference[p]-f[p]-i.floating[h],w=f[p]-i.reference[p],C=await(s.getOffsetParent==null?void 0:s.getOffsetParent(c));let E=C?C[y]:0;(!E||!await(s.isElement==null?void 0:s.isElement(C)))&&(E=a.floating[y]||i.floating[h]);const P=k/2-w/2,R=E/2-m[h]/2-1,T=Dt(u[v],R),A=Dt(u[x],R),I=T,_=E-m[h]-A,L=E/2-m[h]/2+P,O=as(I,L,_),B=!l.arrow&&Mr(o)!=null&&L!==O&&i.reference[h]/2-(L<I?T:A)-m[h]/2<0,te=B?L<I?L-I:L-_:0;return{[p]:f[p]+te,data:{[p]:O,centerOffset:L-O-te,...B&&{alignmentOffset:te}},reset:B}}}),o0=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var r,n;const{placement:o,middlewareData:i,rects:s,initialPlacement:a,platform:l,elements:c}=t,{mainAxis:d=!0,crossAxis:u=!0,fallbackPlacements:f,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:h="none",flipAlignment:m=!0,...b}=Ct(e,t);if((r=i.arrow)!=null&&r.alignmentOffset)return{};const v=Pt(o),x=st(a),y=Pt(a)===a,k=await(l.isRTL==null?void 0:l.isRTL(c.floating)),w=f||(y||!m?[go(a)]:Kx(a)),C=h!=="none";!f&&C&&w.push(...Qx(a,m,h,k));const E=[a,...w],P=await l.detectOverflow(t,b),R=[];let T=((n=i.flip)==null?void 0:n.overflows)||[];if(d&&R.push(P[v]),u){const L=qx(o,s,k);R.push(P[L[0]],P[L[1]])}if(T=[...T,{placement:o,overflows:R}],!R.every(L=>L<=0)){var A,I;const L=(((A=i.flip)==null?void 0:A.index)||0)+1,O=E[L];if(O&&(!(u==="alignment"?x!==st(O):!1)||T.every(H=>st(H.placement)===x?H.overflows[0]>0:!0)))return{data:{index:L,overflows:T},reset:{placement:O}};let B=(I=T.filter(te=>te.overflows[0]<=0).sort((te,H)=>te.overflows[1]-H.overflows[1])[0])==null?void 0:I.placement;if(!B)switch(p){case"bestFit":{var _;const te=(_=T.filter(H=>{if(C){const D=st(H.placement);return D===x||D==="y"}return!0}).map(H=>[H.placement,H.overflows.filter(D=>D>0).reduce((D,U)=>D+U,0)]).sort((H,D)=>H[1]-D[1])[0])==null?void 0:_[0];te&&(B=te);break}case"initialPlacement":B=a;break}if(o!==B)return{reset:{placement:B}}}return{}}}};function Ql(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Jl(e){return Gx.some(t=>e[t]>=0)}const i0=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:r,platform:n}=t,{strategy:o="referenceHidden",...i}=Ct(e,t);switch(o){case"referenceHidden":{const s=await n.detectOverflow(t,{...i,elementContext:"reference"}),a=Ql(s,r.reference);return{data:{referenceHiddenOffsets:a,referenceHidden:Jl(a)}}}case"escaped":{const s=await n.detectOverflow(t,{...i,altBoundary:!0}),a=Ql(s,r.floating);return{data:{escapedOffsets:a,escaped:Jl(a)}}}default:return{}}}}},gf=new Set(["left","top"]);async function s0(e,t){const{placement:r,platform:n,elements:o}=e,i=await(n.isRTL==null?void 0:n.isRTL(o.floating)),s=Pt(r),a=Mr(r),l=st(r)==="y",c=gf.has(s)?-1:1,d=i&&l?-1:1,u=Ct(t,e);let{mainAxis:f,crossAxis:p,alignmentAxis:h}=typeof u=="number"?{mainAxis:u,crossAxis:0,alignmentAxis:null}:{mainAxis:u.mainAxis||0,crossAxis:u.crossAxis||0,alignmentAxis:u.alignmentAxis};return a&&typeof h=="number"&&(p=a==="end"?h*-1:h),l?{x:p*d,y:f*c}:{x:f*c,y:p*d}}const a0=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var r,n;const{x:o,y:i,placement:s,middlewareData:a}=t,l=await s0(t,e);return s===((r=a.offset)==null?void 0:r.placement)&&(n=a.arrow)!=null&&n.alignmentOffset?{}:{x:o+l.x,y:i+l.y,data:{...l,placement:s}}}}},l0=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:r,y:n,placement:o,platform:i}=t,{mainAxis:s=!0,crossAxis:a=!1,limiter:l={fn:v=>{let{x,y}=v;return{x,y}}},...c}=Ct(e,t),d={x:r,y:n},u=await i.detectOverflow(t,c),f=st(Pt(o)),p=ba(f);let h=d[p],m=d[f];if(s){const v=p==="y"?"top":"left",x=p==="y"?"bottom":"right",y=h+u[v],k=h-u[x];h=as(y,h,k)}if(a){const v=f==="y"?"top":"left",x=f==="y"?"bottom":"right",y=m+u[v],k=m-u[x];m=as(y,m,k)}const b=l.fn({...t,[p]:h,[f]:m});return{...b,data:{x:b.x-r,y:b.y-n,enabled:{[p]:s,[f]:a}}}}}},c0=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:r,y:n,placement:o,rects:i,middlewareData:s}=t,{offset:a=0,mainAxis:l=!0,crossAxis:c=!0}=Ct(e,t),d={x:r,y:n},u=st(o),f=ba(u);let p=d[f],h=d[u];const m=Ct(a,t),b=typeof m=="number"?{mainAxis:m,crossAxis:0}:{mainAxis:0,crossAxis:0,...m};if(l){const y=f==="y"?"height":"width",k=i.reference[f]-i.floating[y]+b.mainAxis,w=i.reference[f]+i.reference[y]-b.mainAxis;p<k?p=k:p>w&&(p=w)}if(c){var v,x;const y=f==="y"?"width":"height",k=gf.has(Pt(o)),w=i.reference[u]-i.floating[y]+(k&&((v=s.offset)==null?void 0:v[u])||0)+(k?0:b.crossAxis),C=i.reference[u]+i.reference[y]+(k?0:((x=s.offset)==null?void 0:x[u])||0)-(k?b.crossAxis:0);h<w?h=w:h>C&&(h=C)}return{[f]:p,[u]:h}}}},d0=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var r,n;const{placement:o,rects:i,platform:s,elements:a}=t,{apply:l=()=>{},...c}=Ct(e,t),d=await s.detectOverflow(t,c),u=Pt(o),f=Mr(o),p=st(o)==="y",{width:h,height:m}=i.floating;let b,v;u==="top"||u==="bottom"?(b=u,v=f===(await(s.isRTL==null?void 0:s.isRTL(a.floating))?"start":"end")?"left":"right"):(v=u,b=f==="end"?"top":"bottom");const x=m-d.top-d.bottom,y=h-d.left-d.right,k=Dt(m-d[b],x),w=Dt(h-d[v],y),C=!t.middlewareData.shift;let E=k,P=w;if((r=t.middlewareData.shift)!=null&&r.enabled.x&&(P=y),(n=t.middlewareData.shift)!=null&&n.enabled.y&&(E=x),C&&!f){const T=Me(d.left,0),A=Me(d.right,0),I=Me(d.top,0),_=Me(d.bottom,0);p?P=h-2*(T!==0||A!==0?T+A:Me(d.left,d.right)):E=m-2*(I!==0||_!==0?I+_:Me(d.top,d.bottom))}await l({...t,availableWidth:P,availableHeight:E});const R=await s.getDimensions(a.floating);return h!==R.width||m!==R.height?{reset:{rects:!0}}:{}}}};function Xo(){return typeof window<"u"}function Lr(e){return bf(e)?(e.nodeName||"").toLowerCase():"#document"}function Fe(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function pt(e){var t;return(t=(bf(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function bf(e){return Xo()?e instanceof Node||e instanceof Fe(e).Node:!1}function Qe(e){return Xo()?e instanceof Element||e instanceof Fe(e).Element:!1}function Et(e){return Xo()?e instanceof HTMLElement||e instanceof Fe(e).HTMLElement:!1}function ec(e){return!Xo()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Fe(e).ShadowRoot}function Cn(e){const{overflow:t,overflowX:r,overflowY:n,display:o}=Je(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&o!=="inline"&&o!=="contents"}function u0(e){return/^(table|td|th)$/.test(Lr(e))}function Yo(e){try{if(e.matches(":popover-open"))return!0}catch{}try{return e.matches(":modal")}catch{return!1}}const f0=/transform|translate|scale|rotate|perspective|filter/,p0=/paint|layout|strict|content/,jt=e=>!!e&&e!=="none";let Ai;function xa(e){const t=Qe(e)?Je(e):e;return jt(t.transform)||jt(t.translate)||jt(t.scale)||jt(t.rotate)||jt(t.perspective)||!wa()&&(jt(t.backdropFilter)||jt(t.filter))||f0.test(t.willChange||"")||p0.test(t.contain||"")}function h0(e){let t=Mt(e);for(;Et(t)&&!Ar(t);){if(xa(t))return t;if(Yo(t))return null;t=Mt(t)}return null}function wa(){return Ai==null&&(Ai=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),Ai}function Ar(e){return/^(html|body|#document)$/.test(Lr(e))}function Je(e){return Fe(e).getComputedStyle(e)}function Zo(e){return Qe(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Mt(e){if(Lr(e)==="html")return e;const t=e.assignedSlot||e.parentNode||ec(e)&&e.host||pt(e);return ec(t)?t.host:t}function vf(e){const t=Mt(e);return Ar(t)?e.ownerDocument?e.ownerDocument.body:e.body:Et(t)&&Cn(t)?t:vf(t)}function gn(e,t,r){var n;t===void 0&&(t=[]),r===void 0&&(r=!0);const o=vf(e),i=o===((n=e.ownerDocument)==null?void 0:n.body),s=Fe(o);if(i){const a=cs(s);
vendor: 4,109 bytes, line 1
1return t.concat(s,s.visualViewport||[],Cn(o)?o:[],a&&r?gn(a):[])}else return t.concat(o,gn(o,[],r))}function cs(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function yf(e){const t=Je(e);let r=parseFloat(t.width)||0,n=parseFloat(t.height)||0;const o=Et(e),i=o?e.offsetWidth:r,s=o?e.offsetHeight:n,a=mo(r)!==i||mo(n)!==s;return a&&(r=i,n=s),{width:r,height:n,$:a}}function ka(e){return Qe(e)?e:e.contextElement}function Rr(e){const t=ka(e);if(!Et(t))return lt(1);const r=t.getBoundingClientRect(),{width:n,height:o,$:i}=yf(t);let s=(i?mo(r.width):r.width)/n,a=(i?mo(r.height):r.height)/o;return(!s||!Number.isFinite(s))&&(s=1),(!a||!Number.isFinite(a))&&(a=1),{x:s,y:a}}const m0=lt(0);function xf(e){const t=Fe(e);return!wa()||!t.visualViewport?m0:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function g0(e,t,r){return t===void 0&&(t=!1),!r||t&&r!==Fe(e)?!1:t}function or(e,t,r,n){t===void 0&&(t=!1),r===void 0&&(r=!1);const o=e.getBoundingClientRect(),i=ka(e);let s=lt(1);t&&(n?Qe(n)&&(s=Rr(n)):s=Rr(e));const a=g0(i,r,n)?xf(i):lt(0);let l=(o.left+a.x)/s.x,c=(o.top+a.y)/s.y,d=o.width/s.x,u=o.height/s.y;if(i){const f=Fe(i),p=n&&Qe(n)?Fe(n):n;let h=f,m=cs(h);for(;m&&n&&p!==h;){const b=Rr(m),v=m.getBoundingClientRect(),x=Je(m),y=v.left+(m.clientLeft+parseFloat(x.paddingLeft))*b.x,k=v.top+(m.clientTop+parseFloat(x.paddingTop))*b.y;l*=b.x,c*=b.y,d*=b.x,u*=b.y,l+=y,c+=k,h=Fe(m),m=cs(h)}}return bo({width:d,height:u,x:l,y:c})}function Qo(e,t){const r=Zo(e).scrollLeft;return t?t.left+r:or(pt(e)).left+r}function wf(e,t){const r=e.getBoundingClientRect(),n=r.left+t.scrollLeft-Qo(e,r),o=r.top+t.scrollTop;return{x:n,y:o}}function b0(e){let{elements:t,rect:r,offsetParent:n,strategy:o}=e;const i=o==="fixed",s=pt(n),a=t?Yo(t.floating):!1;if(n===s||a&&i)return r;let l={scrollLeft:0,scrollTop:0},c=lt(1);const d=lt(0),u=Et(n);if((u||!u&&!i)&&((Lr(n)!=="body"||Cn(s))&&(l=Zo(n)),u)){const p=or(n);c=Rr(n),d.x=p.x+n.clientLeft,d.y=p.y+n.clientTop}const f=s&&!u&&!i?wf(s,l):lt(0);return{width:r.width*c.x,height:r.height*c.y,x:r.x*c.x-l.scrollLeft*c.x+d.x+f.x,y:r.y*c.y-l.scrollTop*c.y+d.y+f.y}}function v0(e){return Array.from(e.getClientRects())}function y0(e){const t=pt(e),r=Zo(e),n=e.ownerDocument.body,o=Me(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),i=Me(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight);let s=-r.scrollLeft+Qo(e);const a=-r.scrollTop;return Je(n).direction==="rtl"&&(s+=Me(t.clientWidth,n.clientWidth)-o),{width:o,height:i,x:s,y:a}}const tc=25;function x0(e,t){const r=Fe(e),n=pt(e),o=r.visualViewport;let i=n.clientWidth,s=n.clientHeight,a=0,l=0;if(o){i=o.width,s=o.height;const d=wa();(!d||d&&t==="fixed")&&(a=o.offsetLeft,l=o.offsetTop)}const c=Qo(n);if(c<=0){const d=n.ownerDocument,u=d.body,f=getComputedStyle(u),p=d.compatMode==="CSS1Compat"&&parseFloat(f.marginLeft)+parseFloat(f.marginRight)||0,h=Math.abs(n.clientWidth-u.clientWidth-p);h<=tc&&(i-=h)}else c<=tc&&(i+=c);return{width:i,height:s,x:a,y:l}}function w0(e,t){const r=or(e,!0,t==="fixed"),n=r.top+e.clientTop,o=r.left+e.clientLeft,i=Et(e)?Rr(e):lt(1),s=e.clientWidth*i.x,a=e.clientHeight*i.y,l=o*i.x,c=n*i.y;return{width:s,height:a,x:l,y:c}}function rc(e,t,r){let n;if(t==="viewport")n=x0(e,r);else if(t==="document")n=y0(pt(e));else if(Qe(t))n=w0(t,r);else{const o=xf(e);n={x:t.x-o.x,y:t.y-o.y,width:t.width,height:t.height}}return bo(n)}function kf(e,t){const r=Mt(e);return r===t||!Qe(r)||Ar(r)?!1:Je(r).position==="fixed"||kf(r,t)}function k0(e,t){const r=t.get(e);if(r)return r;let n=gn(e,[],!1).filter(a=>Qe(a)&&Lr(a)!=="body"),o=null;const i=Je(e).position==="fixed";let s=i?Mt(e):e;for(;Qe(s)&&!Ar(s);){const a=Je(s),l=xa(s);!l&&a.position==="fixed"&&(o=null),(i?!l&&!o:!l&&a.position==="static"&&!!o&&(o.position==="absolute"||o.position==="fixed")||Cn(s)&&!l&&kf(e,s))?n=n.filter(d=>d!==s):o=a,s=Mt(s)}return t.set(e,n),n}function S0(e){let{element:t,boundary:r,rootBoundary:n,strategy:o}=e;const s=[...r==="clippingAncestors"?Yo(t)?[]:k0(t,this._c):[].concat(r),n],a=rc(t,s[0],o);let l=a.top,c=a.right,d=a.bottom,u=a.left;for(let f=1;f<s.length;
vendor: 30,421 bytes, line 1
1f++){const p=rc(t,s[f],o);l=Me(p.top,l),c=Dt(p.right,c),d=Dt(p.bottom,d),u=Me(p.left,u)}return{width:c-u,height:d-l,x:u,y:l}}function C0(e){const{width:t,height:r}=yf(e);return{width:t,height:r}}function P0(e,t,r){const n=Et(t),o=pt(t),i=r==="fixed",s=or(e,!0,i,t);let a={scrollLeft:0,scrollTop:0};const l=lt(0);function c(){l.x=Qo(o)}if(n||!n&&!i)if((Lr(t)!=="body"||Cn(o))&&(a=Zo(t)),n){const p=or(t,!0,i,t);l.x=p.x+t.clientLeft,l.y=p.y+t.clientTop}else o&&c();i&&!n&&o&&c();const d=o&&!n&&!i?wf(o,a):lt(0),u=s.left+a.scrollLeft-l.x-d.x,f=s.top+a.scrollTop-l.y-d.y;return{x:u,y:f,width:s.width,height:s.height}}function Ii(e){return Je(e).position==="static"}function nc(e,t){if(!Et(e)||Je(e).position==="fixed")return null;if(t)return t(e);let r=e.offsetParent;return pt(e)===r&&(r=r.ownerDocument.body),r}function Sf(e,t){const r=Fe(e);if(Yo(e))return r;if(!Et(e)){let o=Mt(e);for(;o&&!Ar(o);){if(Qe(o)&&!Ii(o))return o;o=Mt(o)}return r}let n=nc(e,t);for(;n&&u0(n)&&Ii(n);)n=nc(n,t);return n&&Ar(n)&&Ii(n)&&!xa(n)?r:n||h0(e)||r}const T0=async function(e){const t=this.getOffsetParent||Sf,r=this.getDimensions,n=await r(e.floating);return{reference:P0(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function R0(e){return Je(e).direction==="rtl"}const E0={convertOffsetParentRelativeRectToViewportRelativeRect:b0,getDocumentElement:pt,getClippingRect:S0,getOffsetParent:Sf,getElementRects:T0,getClientRects:v0,getDimensions:C0,getScale:Rr,isElement:Qe,isRTL:R0};function Cf(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function A0(e,t){let r=null,n;const o=pt(e);function i(){var a;clearTimeout(n),(a=r)==null||a.disconnect(),r=null}function s(a,l){a===void 0&&(a=!1),l===void 0&&(l=1),i();const c=e.getBoundingClientRect(),{left:d,top:u,width:f,height:p}=c;if(a||t(),!f||!p)return;const h=Dn(u),m=Dn(o.clientWidth-(d+f)),b=Dn(o.clientHeight-(u+p)),v=Dn(d),y={rootMargin:-h+"px "+-m+"px "+-b+"px "+-v+"px",threshold:Me(0,Dt(1,l))||1};let k=!0;function w(C){const E=C[0].intersectionRatio;if(E!==l){if(!k)return s();E?s(!1,E):n=setTimeout(()=>{s(!1,1e-7)},1e3)}E===1&&!Cf(c,e.getBoundingClientRect())&&s(),k=!1}try{r=new IntersectionObserver(w,{...y,root:o.ownerDocument})}catch{r=new IntersectionObserver(w,y)}r.observe(e)}return s(!0),i}function I0(e,t,r,n){n===void 0&&(n={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:a=typeof IntersectionObserver=="function",animationFrame:l=!1}=n,c=ka(e),d=o||i?[...c?gn(c):[],...t?gn(t):[]]:[];d.forEach(v=>{o&&v.addEventListener("scroll",r,{passive:!0}),i&&v.addEventListener("resize",r)});const u=c&&a?A0(c,r):null;let f=-1,p=null;s&&(p=new ResizeObserver(v=>{let[x]=v;x&&x.target===c&&p&&t&&(p.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var y;(y=p)==null||y.observe(t)})),r()}),c&&!l&&p.observe(c),t&&p.observe(t));let h,m=l?or(e):null;l&&b();function b(){const v=or(e);m&&!Cf(m,v)&&r(),m=v,h=requestAnimationFrame(b)}return r(),()=>{var v;d.forEach(x=>{o&&x.removeEventListener("scroll",r),i&&x.removeEventListener("resize",r)}),u?.(),(v=p)==null||v.disconnect(),p=null,l&&cancelAnimationFrame(h)}}const z0=a0,N0=l0,O0=o0,_0=d0,V0=i0,D0=n0,M0=c0,L0=(e,t,r)=>{const n=new Map,o={platform:E0,...r},i={...o.platform,_c:n};return r0(e,t,{...o,platform:i})};function oc(e=0,t=0,r=0,n=0){if(typeof DOMRect=="function")return new DOMRect(e,t,r,n);const o={x:e,y:t,width:r,height:n,top:t,right:e+r,bottom:t+n,left:e};return{...o,toJSON:()=>o}}function F0(e){if(!e)return oc();const{x:t,y:r,width:n,height:o}=e;return oc(t,r,n,o)}function W0(e,t){return{contextElement:ve(e)?e:e?.contextElement,getBoundingClientRect:()=>{const r=e,n=t?.(r);return n||!r?F0(n):r.getBoundingClientRect()}}}var Kr=e=>({variable:e,reference:`var(${e})`}),wt={arrowSize:Kr("--arrow-size"),arrowSizeHalf:Kr("--arrow-size-half"),arrowBg:Kr("--arrow-background"),transformOrigin:Kr("--transform-origin"),arrowOffset:Kr("--arrow-offset")},$0=e=>e==="top"||e==="bottom"?"y":"x";function B0(e,t){return{name:"transformOrigin",fn(r){const{elements:n,middlewareData:o,placement:i,rects:s,y:a}=r,l=i.split("-")[0],c=$0(l),d=o.arrow?.x||0,u=o.arrow?.y||0,f=t?.clientWidth||0,p=t?.clientHeight||0,h=d+f/2,m=u+p/2,b=Math.abs(o.shift?.y||0),v=s.reference.height/2,x=p/2,y=e.offset?.mainAxis??e.gutter,k=typeof y=="number"?y+x:y??x,w=b>k,C={top:`${h}px calc(100% + ${k}px)`,bottom:`${h}px ${-k}px`,left:`calc(100% + ${k}px) ${m}px`,right:`${-k}px ${m}px`}[l],E=`${h}px ${s.reference.y+v-a}px`,P=!!e.overlap&&c==="y"&&w;return n.floating.style.setProperty(wt.transformOrigin.variable,P?E:C),{data:{transformOrigin:P?E:C}}}}}var j0={name:"rects",fn({rects:e}){return{data:e}}},H0=e=>{if(e)return{name:"shiftArrow",fn({placement:t,middlewareData:r}){if(!r.arrow)return{};const{x:n,y:o}=r.arrow,i=t.split("-")[0];return Object.assign(e.style,{left:n!=null?`${n}px`:"",top:o!=null?`${o}px`:"",[i]:`calc(100% + ${wt.arrowOffset.reference})`}),{}}}};function G0(e){const[t,r]=e.split("-");return{side:t,align:r,hasAlign:r!=null}}var U0={strategy:"absolute",placement:"bottom",listeners:!0,gutter:8,flip:!0,slide:!0,overlap:!1,sameWidth:!1,fitViewport:!1,overflowPadding:8,arrowPadding:4};function ic(e,t){const r=e.devicePixelRatio||1;return Math.round(t*r)/r}function yr(e,t){return e!=null&&Math.abs(e-t)<.5}function Sa(e){return typeof e=="function"?e():e==="clipping-ancestors"?"clippingAncestors":e}function q0(e,t,r){const n=e||t.createElement("div");return D0({element:n,padding:r.arrowPadding})}function K0(e,t){if(!_v(t.offset??t.gutter))return z0(({placement:r})=>{const n=(e?.clientHeight||0)/2,o=t.offset?.mainAxis??t.gutter,i=typeof o=="number"?o+n:o??n,{hasAlign:s}=G0(r),a=s?void 0:t.shift,l=t.offset?.crossAxis??a;return aa({crossAxis:l,mainAxis:i,alignmentAxis:t.shift})})}function X0(e){if(!e.flip)return;const t=Sa(e.boundary);return O0({...t?{boundary:t}:void 0,padding:e.overflowPadding,fallbackPlacements:e.flip===!0?void 0:e.flip})}function Y0(e){if(!e.slide&&!e.overlap)return;const t=Sa(e.boundary);return N0({...t?{boundary:t}:void 0,mainAxis:e.slide,crossAxis:e.overlap,padding:e.overflowPadding,limiter:M0()})}function Z0(e){if(e.sizeMiddleware===!1&&!e.sameWidth&&!e.fitViewport)return;let t,r,n,o;return _0({padding:e.overflowPadding,apply({elements:i,rects:s,availableHeight:a,availableWidth:l}){const c=i.floating,d=Math.round(s.reference.width),u=Math.round(s.reference.height);l=Math.floor(l),a=Math.floor(a),yr(t,d)||(c.style.setProperty("--reference-width",`${d}px`),t=d),yr(r,u)||(c.style.setProperty("--reference-height",`${u}px`),r=u),yr(n,l)||(c.style.setProperty("--available-width",`${l}px`),n=l),yr(o,a)||(c.style.setProperty("--available-height",`${a}px`),o=a)}})}function Q0(e){if(e.hideWhenDetached)return V0({strategy:"referenceHidden",boundary:Sa(e.boundary)??"clippingAncestors"})}function J0(e){return e?e===!0?{ancestorResize:!0,ancestorScroll:!0,elementResize:!0,layoutShift:!0}:e:{}}function ew(e,t,r={}){const n=r.getAnchorElement?.()??e,o=W0(n,r.getAnchorRect);if(!t||!o)return;const i=Object.assign({},U0,r),s=t.querySelector("[data-part=arrow]"),a=[K0(s,i),X0(i),Y0(i),q0(s,t.ownerDocument,i),H0(s),B0({gutter:i.gutter,offset:i.offset,overlap:i.overlap},s),Z0(i),Q0(i),j0],{placement:l,strategy:c,onComplete:d,onPositioned:u}=i;let f,p,h=!1;const m=async()=>{if(!o||!t)return;const y=await L0(o,t,{placement:l,middleware:a,strategy:c});d?.(y);const k=Re(t),w=ic(k,y.x),C=ic(k,y.y);if(t.style.transform=`translate3d(${w}px, ${C}px, 0)`,yr(f,w)||(t.style.setProperty("--x",`${w}px`),f=w),yr(p,C)||(t.style.setProperty("--y",`${C}px`),p=C),i.hideWhenDetached&&(y.middlewareData.hide?.referenceHidden?(t.style.setProperty("visibility","hidden"),t.style.setProperty("pointer-events","none")):(t.style.removeProperty("visibility"),t.style.removeProperty("pointer-events"))),!h){const E=t.firstElementChild;E&&(t.style.setProperty("--z-index",nr(E).zIndex),h=!0)}},b=async()=>{r.updatePosition?(await r.updatePosition({updatePosition:m,floatingElement:t}),u?.({placed:!0})):await m()},v=J0(i.listeners),x=i.listeners?I0(o,t,b,v):Bv;return b(),()=>{x?.(),u?.({placed:!1})}}function sc(e,t,r={}){const{defer:n,...o}=r,i=n?he:a=>a(),s=[];return s.push(i(()=>{const a=typeof e=="function"?e():e,l=typeof t=="function"?t():t;s.push(ew(a,l,o))})),()=>{s.forEach(a=>a?.())}}var tw={bottom:"rotate(45deg)",left:"rotate(135deg)",top:"rotate(225deg)",right:"rotate(315deg)"};function rw(e={}){const{placement:t,sameWidth:r,fitViewport:n,strategy:o="absolute"}=e;return{arrow:{position:"absolute",width:wt.arrowSize.reference,height:wt.arrowSize.reference,[wt.arrowSizeHalf.variable]:`calc(${wt.arrowSize.reference} / 2)`,[wt.arrowOffset.variable]:`calc(${wt.arrowSizeHalf.reference} * -1)`},arrowTip:{transform:t?tw[t.split("-")[0]]:void 0,background:wt.arrowBg.reference,top:"0",left:"0",width:"100%",height:"100%",position:"absolute",zIndex:"inherit"},floating:{position:o,isolation:"isolate",minWidth:r?void 0:"max-content",width:r?"var(--reference-width)":void 0,maxWidth:n?"var(--available-width)":void 0,maxHeight:n?"var(--available-height)":void 0,pointerEvents:t?void 0:"none",top:"0px",left:"0px",transform:t?"translate3d(var(--x), var(--y), 0)":"translate3d(0, -100vh, 0)",zIndex:"var(--z-index)"}}}function nw(e){const t={each(r){for(let n=0;n<e.frames?.length;n+=1){const o=e.frames[n];o&&r(o)}},addEventListener(r,n,o){return t.each(i=>{try{i.document.addEventListener(r,n,o)}catch{}}),()=>{try{t.removeEventListener(r,n,o)}catch{}}},removeEventListener(r,n,o){t.each(i=>{try{i.document.removeEventListener(r,n,o)}catch{}})}};return t}function ow(e){const t=e.frameElement!=null?e.parent:null;return{addEventListener:(r,n,o)=>{try{t?.addEventListener(r,n,o)}catch{}return()=>{try{t?.removeEventListener(r,n,o)}catch{}}},removeEventListener:(r,n,o)=>{try{t?.removeEventListener(r,n,o)}catch{}}}}var ac="pointerdown.outside",lc="focus.outside";function iw(e){for(const t of e)if(ve(t)&&St(t))return!0;return!1}var Pf=e=>"clientY"in e;function sw(e,t){if(!Pf(t)||!e)return!1;const r=e.getBoundingClientRect();return r.width===0||r.height===0?!1:r.top<=t.clientY&&t.clientY<=r.top+r.height&&r.left<=t.clientX&&t.clientX<=r.left+r.width}function aw(e,t){return e.y<=t.y&&t.y<=e.y+e.height&&e.x<=t.x&&t.x<=e.x+e.width}function cc(e,t){if(!t||!Pf(e))return!1;const r=t.scrollHeight>t.clientHeight,n=r&&e.clientX>t.offsetLeft+t.clientWidth,o=t.scrollWidth>t.clientWidth,i=o&&e.clientY>t.offsetTop+t.clientHeight,s={x:t.offsetLeft,y:t.offsetTop,width:t.clientWidth+(r?16:0),height:t.clientHeight+(o?16:0)},a={x:e.clientX,y:e.clientY};return aw(s,a)?n||i:!1}function lw(e,t){const{exclude:r,onFocusOutside:n,onPointerDownOutside:o,onInteractOutside:i,defer:s,followControlledElements:a=!0}=t;if(!e)return;const l=_e(e),c=Re(e),d=nw(c),u=ow(c);function f(y,k){if(!ve(k)||!k.isConnected||hn(e,k)||sw(e,y)||a&&Gu(e,k))return!1;const w=l.querySelector(`[aria-controls="${e.id}"]`);if(w){const E=is(w);if(cc(y,E))return!1}const C=is(e);return cc(y,C)?!1:!r?.(k)}const p=new Set,h=rr(e?.getRootNode());function m(y){function k(w){const C=s&&!Gl()?he:R=>R(),E=w??y,P=E?.composedPath?.()??[E?.target];C(()=>{const R=h?P[0]:Pe(y);if(!(!e||!f(y,R))){if(o||i){const T=ns(o,i);e.addEventListener(ac,T,{once:!0})}dc(e,ac,{bubbles:!1,cancelable:!0,detail:{originalEvent:E,contextmenu:Ly(E),focusable:iw(P),target:R}})}})}y.pointerType==="touch"?(p.forEach(w=>w()),p.add(be(l,"click",k,{once:!0})),p.add(u.addEventListener("click",k,{once:!0})),p.add(d.addEventListener("click",k,{once:!0}))):k()}const b=new Set,v=setTimeout(()=>{b.add(be(l,"pointerdown",m,!0)),b.add(u.addEventListener("pointerdown",m,!0)),b.add(d.addEventListener("pointerdown",m,!0))},0);function x(y){(s?he:w=>w())(()=>{const w=y?.composedPath?.()??[y?.target],C=h?w[0]:Pe(y);if(!(!e||!f(y,C))){if(n||i){const E=ns(n,i);e.addEventListener(lc,E,{once:!0})}dc(e,lc,{bubbles:!1,cancelable:!0,detail:{originalEvent:y,contextmenu:!1,focusable:St(C),target:C}})}})}return Gl()||(b.add(be(l,"focusin",x,!0)),b.add(u.addEventListener("focusin",x,!0)),b.add(d.addEventListener("focusin",x,!0))),()=>{clearTimeout(v),p.forEach(y=>y()),b.forEach(y=>y())}}function cw(e,t){const{defer:r}=t,n=r?he:i=>i(),o=[];return o.push(n(()=>{const i=typeof e=="function"?e():e;o.push(lw(i,t))})),()=>{o.forEach(i=>i?.())}}function dc(e,t,r){const n=e.ownerDocument.defaultView||window,o=new n.CustomEvent(t,r);return e.dispatchEvent(o)}function dw(e,t){const r=n=>{n.key==="Escape"&&(n.isComposing||t?.(n))};return be(_e(e),"keydown",r,{capture:!0})}var uc="layer:request-dismiss",je={layers:[],branches:[],recentlyRemoved:new Set,count(){return this.layers.length},pointerBlockingLayers(){return this.layers.filter(e=>e.pointerBlocking)},topMostPointerBlockingLayer(){return[...this.pointerBlockingLayers()].slice(-1)[0]},hasPointerBlockingLayer(){return this.pointerBlockingLayers().length>0},isBelowPointerBlockingLayer(e){const t=this.indexOf(e),r=this.topMostPointerBlockingLayer()?this.indexOf(this.topMostPointerBlockingLayer()?.node):-1;return t<r},isTopMost(e){return this.layers[this.count()-1]?.node===e},getNestedLayers(e){return Array.from(this.layers).slice(this.indexOf(e)+1)},getLayersByType(e){return this.layers.filter(t=>t.type===e)},getNestedLayersByType(e,t){const r=this.indexOf(e);return r===-1?[]:this.layers.slice(r+1).filter(n=>n.type===t)},getParentLayerOfType(e,t){const r=this.indexOf(e);if(!(r<=0))return this.layers.slice(0,r).reverse().find(n=>n.type===t)},countNestedLayersOfType(e,t){return this.getNestedLayersByType(e,t).length},isInNestedLayer(e,t){return!!(this.getNestedLayers(e).some(n=>hn(n.node,t))||this.recentlyRemoved.size>0)},isInBranch(e){return Array.from(this.branches).some(t=>hn(t,e))},add(e){this.layers.push(e),this.syncLayers()},addBranch(e){this.branches.push(e)},remove(e){const t=this.indexOf(e);t<0||(this.recentlyRemoved.add(e),ma(()=>this.recentlyRemoved.delete(e)),t<this.count()-1&&this.getNestedLayers(e).forEach(n=>je.dismiss(n.node,e)),this.layers.splice(t,1),this.syncLayers())},removeBranch(e){const t=this.branches.indexOf(e);t>=0&&this.branches.splice(t,1)},syncLayers(){this.layers.forEach((e,t)=>{e.node.style.setProperty("--layer-index",`${t}`),e.node.removeAttribute("data-nested"),e.node.removeAttribute("data-has-nested"),this.getParentLayerOfType(e.node,e.type)&&e.node.setAttribute("data-nested",e.type);const n=this.countNestedLayersOfType(e.node,e.type);n>0&&e.node.setAttribute("data-has-nested",e.type),e.node.style.setProperty("--nested-layer-count",`${n}`)})},indexOf(e){return this.layers.findIndex(t=>t.node===e)},dismiss(e,t){const r=this.indexOf(e);if(r===-1)return;const n=this.layers[r];fw(e,uc,o=>{n.requestDismiss?.(o),o.defaultPrevented||n?.dismiss()}),uw(e,uc,{originalLayer:e,targetLayer:t,originalIndex:r,targetIndex:t?this.indexOf(t):-1}),this.syncLayers()},clear(){this.remove(this.layers[0].node)}};function uw(e,t,r){const n=e.ownerDocument.defaultView||window,o=new n.CustomEvent(t,{cancelable:!0,bubbles:!0,detail:r});return e.dispatchEvent(o)}function fw(e,t,r){e.addEventListener(t,r,{once:!0})}var fc;function pc(){je.layers.forEach(({node:e})=>{e.style.pointerEvents=je.isBelowPointerBlockingLayer(e)?"none":"auto"})}function pw(e){e.style.pointerEvents=""}function hw(e,t){const r=_e(e),n=[];return je.hasPointerBlockingLayer()&&!r.body.hasAttribute("data-inert")&&(fc=document.body.style.pointerEvents,queueMicrotask(()=>{r.body.style.pointerEvents="none",r.body.setAttribute("data-inert","")})),t?.forEach(o=>{const[i,s]=vx(()=>{const a=o();return ve(a)?a:null},{timeout:1e3});i.then(a=>n.push(mn(a,{pointerEvents:"auto"}))),n.push(s)}),()=>{je.hasPointerBlockingLayer()||(queueMicrotask(()=>{r.body.style.pointerEvents=fc,r.body.removeAttribute("data-inert"),r.body.style.length===0&&r.body.removeAttribute("style")}),n.forEach(o=>o()))}}function mw(e,t){const{warnOnMissingNode:r=!0}=t;if(r&&!e){fo("[@zag-js/dismissable] node is `null` or `undefined`");return}if(!e)return;const{onDismiss:n,onRequestDismiss:o,pointerBlocking:i,exclude:s,debug:a,type:l="dialog"}=t,c={dismiss:n,node:e,type:l,pointerBlocking:i,requestDismiss:o};je.add(c),pc();function d(m){const b=Pe(m.detail.originalEvent);je.isBelowPointerBlockingLayer(e)||je.isInBranch(b)||(t.onPointerDownOutside?.(m),t.onInteractOutside?.(m),!m.defaultPrevented&&(a&&console.log("onPointerDownOutside:",m.detail.originalEvent),n?.()))}function u(m){const b=Pe(m.detail.originalEvent);je.isInBranch(b)||(t.onFocusOutside?.(m),t.onInteractOutside?.(m),!m.defaultPrevented&&(a&&console.log("onFocusOutside:",m.detail.originalEvent),n?.()))}function f(m){je.isTopMost(e)&&(t.onEscapeKeyDown?.(m),!m.defaultPrevented&&n&&(m.preventDefault(),n()))}function p(m){if(!e)return!1;const b=typeof s=="function"?s():s,v=Array.isArray(b)?b:[b],x=t.persistentElements?.map(y=>y()).filter(ve);return x&&v.push(...x),v.some(y=>hn(y,m))||je.isInNestedLayer(e,m)}const h=[i?hw(e,t.persistentElements):void 0,dw(e,f),cw(e,{exclude:p,onFocusOutside:u,onPointerDownOutside:d,defer:t.defer})];return()=>{je.remove(e),pc(),pw(e),h.forEach(m=>m?.())}}function Tf(e,t){const{defer:r}=t,n=r?he:i=>i(),o=[];return o.push(n(()=>{const i=Kt(e)?e():e;o.push(mw(i,t))})),()=>{o.forEach(i=>i?.())}}var Rf=F("date-picker").parts("clearTrigger","content","control","input","label","monthSelect","nextTrigger","positioner","presetTrigger","prevTrigger","rangeText","root","table","tableBody","tableCell","tableCellTrigger","tableHead","tableHeader","tableRow","trigger","view","viewControl","viewTrigger","yearSelect");Rf.build();var Ef=F("splitter").parts("root","panel","resizeTrigger","resizeTriggerIndicator");Ef.build();var gw=Object.defineProperty,bw=(e,t,r)=>t in e?gw(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,oe=(e,t,r)=>bw(e,typeof t!="symbol"?t+"":t,r),hc={activateTrap(e,t){if(e.length>0){const n=e[e.length-1];n!==t&&n.pause()}const r=e.indexOf(t);r===-1||e.splice(r,1),e.push(t)},deactivateTrap(e,t){const r=e.indexOf(t);r!==-1&&e.splice(r,1),e.length>0&&e[e.length-1].unpause()}},vw=[],yw=class{constructor(e,t){oe(this,"trapStack"),oe(this,"config"),oe(this,"doc"),oe(this,"state",{containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0}),oe(this,"portalContainers",new Set),oe(this,"listenerCleanups",[]),oe(this,"handleFocus",n=>{const o=Pe(n),i=this.findContainerIndex(o,n)>=0;if(i||$o(o))i&&(this.state.mostRecentlyFocusedNode=o);else{n.stopImmediatePropagation();let s,a=!0;if(this.state.mostRecentlyFocusedNode)if(Ur(this.state.mostRecentlyFocusedNode)>0){const l=this.findContainerIndex(this.state.mostRecentlyFocusedNode),{tabbableNodes:c}=this.state.containerGroups[l];if(c.length>0){const d=c.findIndex(u=>u===this.state.mostRecentlyFocusedNode);d>=0&&(this.config.isKeyForward(this.state.recentNavEvent)?d+1<c.length&&(s=c[d+1],a=!1):d-1>=0&&(s=c[d-1],a=!1))}}else this.state.containerGroups.some(l=>l.tabbableNodes.some(c=>Ur(c)>0))||(a=!1);else a=!1;a&&(s=this.findNextNavNode({target:this.state.mostRecentlyFocusedNode,isBackward:this.config.isKeyBackward(this.state.recentNavEvent)})),s?this.tryFocus(s):this.tryFocus(this.state.mostRecentlyFocusedNode||this.getInitialFocusNode())}this.state.recentNavEvent=void 0}),oe(this,"handlePointerDown",n=>{const o=Pe(n);if(!(this.findContainerIndex(o,n)>=0)){if(Xr(this.config.clickOutsideDeactivates,n)){this.deactivate({returnFocus:this.config.returnFocusOnDeactivate});return}Xr(this.config.allowOutsideClick,n)||n.preventDefault()}}),oe(this,"handleClick",n=>{const o=Pe(n);this.findContainerIndex(o,n)>=0||Xr(this.config.clickOutsideDeactivates,n)||Xr(this.config.allowOutsideClick,n)||(n.preventDefault(),n.stopImmediatePropagation())}),oe(this,"handleTabKey",n=>{if(this.config.isKeyForward(n)||this.config.isKeyBackward(n)){this.state.recentNavEvent=n;const o=this.config.isKeyBackward(n),i=this.findNextNavNode({event:n,isBackward:o});if(!i)return;zi(n)&&n.preventDefault(),this.tryFocus(i)}}),oe(this,"handleEscapeKey",n=>{kw(n)&&Xr(this.config.escapeDeactivates,n)!==!1&&(n.preventDefault(),this.deactivate())}),oe(this,"_mutationObserver"),oe(this,"setupMutationObserver",()=>{const n=this.doc.defaultView||window;this._mutationObserver=new n.MutationObserver(o=>{o.some(a=>Array.from(a.removedNodes).some(c=>c===this.state.mostRecentlyFocusedNode))&&this.tryFocus(this.getInitialFocusNode()),o.some(a=>a.type==="attributes"&&(a.attributeName==="aria-controls"||a.attributeName==="aria-expanded")?!0:a.type==="childList"&&a.addedNodes.length>0?Array.from(a.addedNodes).some(l=>{if(l.nodeType!==Node.ELEMENT_NODE)return!1;const c=l;return Py(c)?!0:c.id&&!this.state.containers.some(d=>d.contains(c))?Ty(c):!1}):!1)&&this.state.active&&!this.state.paused&&(this.updateTabbableNodes(),this.updatePortalContainers())})}),oe(this,"updateObservedNodes",()=>{this._mutationObserver?.disconnect(),this.state.active&&!this.state.paused&&(this.state.containers.map(n=>{this._mutationObserver?.observe(n,{subtree:!0,childList:!0,attributes:!0,attributeFilter:["aria-controls","aria-expanded"]})}),this.portalContainers.forEach(n=>{this.observePortalContainer(n)}))}),oe(this,"getInitialFocusNode",()=>{let n=this.getNodeForOption("initialFocus",{hasFallback:!0});if(n===!1)return!1;if(n===void 0||n&&!St(n)){const o=Qt(this.doc);if(o&&this.findContainerIndex(o)>=0)n=o;else{const i=this.state.tabbableGroups[0];n=i&&i.firstTabbableNode||this.getNodeForOption("fallbackFocus")}}else n===null&&(n=this.getNodeForOption("fallbackFocus"));if(!n)throw new Error("Your focus-trap needs to have at least one focusable element");return n.isConnected||(n=this.getNodeForOption("fallbackFocus")),n}),oe(this,"tryFocus",n=>{if(n!==!1&&n!==Qt(this.doc)){if(!n||!n.focus){this.tryFocus(this.getInitialFocusNode());return}n.focus({preventScroll:!!this.config.preventScroll}),this.state.mostRecentlyFocusedNode=n,Sw(n)&&n.select()}}),oe(this,"deactivate",n=>{if(!this.state.active)return this;const o={onDeactivate:this.config.onDeactivate,onPostDeactivate:this.config.onPostDeactivate,checkCanReturnFocus:this.config.checkCanReturnFocus,...n};clearTimeout(this.state.delayInitialFocusTimer),this.state.delayInitialFocusTimer=void 0,this.removeListeners(),this.state.active=!1,this.state.paused=!1,this.updateObservedNodes(),hc.deactivateTrap(this.trapStack,this),this.portalContainers.clear();const i=this.getOption(o,"onDeactivate"),s=this.getOption(o,"onPostDeactivate"),a=this.getOption(o,"checkCanReturnFocus"),l=this.getOption(o,"returnFocus","returnFocusOnDeactivate");i?.();const c=()=>{mc(()=>{if(l){const d=this.getReturnFocusNode(this.state.nodeFocusedBeforeActivation);this.tryFocus(d)}s?.()})};if(l&&a){const d=this.getReturnFocusNode(this.state.nodeFocusedBeforeActivation);return a(d).then(c,c),this}return c(),this}),oe(this,"pause",n=>{if(this.state.paused||!this.state.active)return this;const o=this.getOption(n,"onPause"),i=this.getOption(n,"onPostPause");return this.state.paused=!0,o?.(),this.removeListeners(),this.updateObservedNodes(),i?.(),this}),oe(this,"unpause",n=>{if(!this.state.paused||!this.state.active)return this;const o=this.getOption(n,"onUnpause"),i=this.getOption(n,"onPostUnpause");return this.state.paused=!1,o?.(),this.updateTabbableNodes(),this.addListeners(),this.updateObservedNodes(),i?.(),this}),oe(this,"updateContainerElements",n=>(this.state.containers=Array.isArray(n)?n.filter(Boolean):[n].filter(Boolean),this.state.active&&this.updateTabbableNodes(),this.updateObservedNodes(),this)),oe(this,"getReturnFocusNode",n=>{const o=this.getNodeForOption("setReturnFocus",{params:[n]});return o||(o===!1?!1:n)}),oe(this,"getOption",(n,o,i)=>n&&n[o]!==void 0?n[o]:this.config[i||o]),oe(this,"getNodeForOption",(n,{hasFallback:o=!1,params:i=[]}={})=>{let s=this.config[n];if(typeof s=="function"&&(s=s(...i)),s===!0&&(s=void 0),!s){if(s===void 0||s===!1)return s;throw new Error(`\`${n}\` was specified but was not a node, or did not return a node`)}let a=s;if(typeof s=="string"){try{a=this.doc.querySelector(s)}catch(l){throw new Error(`\`${n}\` appears to be an invalid selector; error="${l.message}"`)}if(!a&&!o)throw new Error(`\`${n}\` as selector refers to no known node`)}return a}),oe(this,"findNextNavNode",n=>{const{event:o,isBackward:i=!1}=n,s=n.target||Pe(o);this.updateTabbableNodes();let a=null;if(this.state.tabbableGroups.length>0){const l=this.findContainerIndex(s,o),c=l>=0?this.state.containerGroups[l]:void 0;if(l<0)i?a=this.state.tabbableGroups[this.state.tabbableGroups.length-1].lastTabbableNode:a=this.state.tabbableGroups[0].firstTabbableNode;else if(i){let d=this.state.tabbableGroups.findIndex(({firstTabbableNode:u})=>s===u);if(d<0&&(c?.container===s||St(s)&&!Xt(s)&&!c?.nextTabbableNode(s,!1))&&(d=l),d>=0){const u=d===0?this.state.tabbableGroups.length-1:d-1,f=this.state.tabbableGroups[u];a=Ur(s)>=0?f.lastTabbableNode:f.lastDomTabbableNode}else zi(o)||(a=c?.nextTabbableNode(s,!1))}else{let d=this.state.tabbableGroups.findIndex(({lastTabbableNode:u})=>s===u);if(d<0&&(c?.container===s||St(s)&&!Xt(s)&&!c?.nextTabbableNode(s))&&(d=l),d>=0){const u=d===this.state.tabbableGroups.length-1?0:d+1,f=this.state.tabbableGroups[u];a=Ur(s)>=0?f.firstTabbableNode:f.firstDomTabbableNode}else zi(o)||(a=c?.nextTabbableNode(s))}}else a=this.getNodeForOption("fallbackFocus");return a}),this.trapStack=t.trapStack||vw;const r={returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,followControlledElements:!0,isKeyForward:xw,isKeyBackward:ww,...t};this.doc=r.document||_e(Array.isArray(e)?e[0]:e),this.config=r,this.updateContainerElements(e),this.setupMutationObserver()}addPortalContainer(e){const t=e.parentElement;t&&!this.portalContainers.has(t)&&(this.portalContainers.add(t),this.state.active&&!this.state.paused&&this.observePortalContainer(t))}observePortalContainer(e){this._mutationObserver?.observe(e,{subtree:!0,childList:!0,attributes:!0,attributeFilter:["aria-controls","aria-expanded"]})}updatePortalContainers(){this.config.followControlledElements&&this.state.containers.forEach(e=>{ky(e).forEach(r=>{this.addPortalContainer(r)})})}get active(){return this.state.active}get paused(){return this.state.paused}findContainerIndex(e,t){const r=typeof t?.composedPath=="function"?t.composedPath():void 0;return this.state.containerGroups.findIndex(({container:n,tabbableNodes:o})=>n.contains(e)||r?.includes(n)||o.find(i=>i===e)||this.isControlledElement(n,e))}isControlledElement(e,t){return this.config.followControlledElements?Gu(e,t):!1}updateTabbableNodes(){if(this.state.containerGroups=this.state.containers.map(e=>{const t=_r(e,{getShadowRoot:this.config.getShadowRoot}),r=ef(e,{getShadowRoot:this.config.getShadowRoot}),n=t[0],o=t[t.length-1],i=n,s=o;let a=!1;for(let c=0;c<t.length;c++)if(Ur(t[c])>0){a=!0;break}function l(c,d=!0){const u=t.indexOf(c);if(u>=0)return t[u+(d?1:-1)];const f=r.indexOf(c);if(!(f<0)){if(d){for(let p=f+1;p<r.length;p++)if(Xt(r[p]))return r[p]}else for(let p=f-1;p>=0;p--)if(Xt(r[p]))return r[p]}}return{container:e,tabbableNodes:t,focusableNodes:r,posTabIndexesFound:a,firstTabbableNode:n,lastTabbableNode:o,firstDomTabbableNode:i,lastDomTabbableNode:s,nextTabbableNode:l}}),this.state.tabbableGroups=this.state.containerGroups.filter(e=>e.tabbableNodes.length>0),this.state.tabbableGroups.length<=0&&!this.getNodeForOption("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(this.state.containerGroups.find(e=>e.posTabIndexesFound)&&this.state.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")}addListeners(){if(this.state.active)return hc.activateTrap(this.trapStack,this),this.state.delayInitialFocusTimer=this.config.delayInitialFocus?mc(()=>{this.tryFocus(this.getInitialFocusNode())}):this.tryFocus(this.getInitialFocusNode()),this.listenerCleanups.push(be(this.doc,"focusin",this.handleFocus,!0),be(this.doc,"mousedown",this.handlePointerDown,{capture:!0,passive:!1}),be(this.doc,"touchstart",this.handlePointerDown,{capture:!0,passive:!1}),be(this.doc,"click",this.handleClick,{capture:!0,passive:!1}),be(this.doc,"keydown",this.handleTabKey,{capture:!0,passive:!1}),be(this.doc,"keydown",this.handleEscapeKey)),this}removeListeners(){if(this.state.active)return this.listenerCleanups.forEach(e=>e()),this.listenerCleanups=[],this}activate(e){if(this.state.active)return this;const t=this.getOption(e,"onActivate"),r=this.getOption(e,"onPostActivate"),n=this.getOption(e,"checkCanFocusTrap");n||this.updateTabbableNodes(),this.state.active=!0,this.state.paused=!1,this.state.nodeFocusedBeforeActivation=Qt(this.doc),t?.();const o=()=>{n&&this.updateTabbableNodes(),this.addListeners(),this.updateObservedNodes(),r?.()};return n?(n(this.state.containers.concat()).then(o,o),this):(o(),this)}},Ca=e=>e?.type==="keydown",zi=e=>Ca(e)&&e?.key==="Tab",xw=e=>Ca(e)&&e.key==="Tab"&&!e?.shiftKey,ww=e=>Ca(e)&&e.key==="Tab"&&e?.shiftKey,Xr=(e,...t)=>typeof e=="function"?e(...t):e,kw=e=>!e.isComposing&&e.key==="Escape",mc=e=>setTimeout(e,0),Sw=e=>e.localName==="input"&&"select"in e&&typeof e.select=="function";function Af(e,t={}){let r;const n=he(()=>{const i=(Array.isArray(e)?e:[e]).map(a=>typeof a=="function"?a():a).filter(a=>a!=null);if(i.length===0)return;const s=i[0];r=new yw(i,{escapeDeactivates:!1,allowOutsideClick:!0,preventScroll:!0,returnFocusOnDeactivate:!0,delayInitialFocus:!1,fallbackFocus:s,...t,document:_e(s)});try{r.activate()}catch{}});return function(){r?.deactivate(),n()}}const[Jo,If]=Ee({name:"RenderStrategyContext",hookName:"useRenderStrategyContext",providerName:"<RenderStrategyPropsProvider />"}),ei=e=>ye()(e,["lazyMount","unmountOnExit"]),[Cw,Pa]=Ee({name:"AccordionItemPropsContext",hookName:"useAccordionItemPropsContext",providerName:"<AccordionItemPropsProvider />"}),Pw=ye(),zf=g.forwardRef((e,t)=>{const[r,n]=Pw(e,["value","disabled"]),o=qo(),i=If(),s=M(o.getItemProps(r),n),a=o.getItemState(r),l=o.getItemContentProps(r);return S.jsx(Cw,{value:r,children:S.jsx(Mx,{value:a,children:S.jsx(ga,{ref:t,open:a.expanded,ids:{content:l.id},...i,...s})})})});zf.displayName="AccordionItem";const Ta=g.forwardRef((e,t)=>
1{const r=Ko();if(r.isUnmounted)return null;const n=M(r.getContentProps(),e);return S.jsx($.div,{...n,ref:t})});Ta.displayName="CollapsibleContent";const Tw=ye(),Nf=g.forwardRef((e,t)=>{const r=qo(),n=Pa(),o=r.getItemContentProps(n),[,i]=Tw(o,["hidden","data-state"]),s=M(i,e);return S.jsx(Ta,{ref:t,...s})});Nf.displayName="AccordionItemContent";const Of=g.forwardRef((e,t)=>{const r=qo(),n=Pa(),o=M(r.getItemIndicatorProps(n),e);return S.jsx($.div,{...o,ref:t})});Of.displayName="AccordionItemIndicator";const _f=g.forwardRef((e,t)=>{const r=qo(),n=Pa(),o=Ko(),i=r.getItemTriggerProps(n),s=M({...i,"aria-controls":o.isUnmounted?void 0:i["aria-controls"]},e);return S.jsx($.button,{...s,ref:t})});_f.displayName="AccordionItemTrigger";var Vf=F("accordion").parts("root","item","itemTrigger","itemContent","itemIndicator"),Yr=Vf.build(),vo=e=>e.ids?.root??`accordion:${e.id}`,Rw=(e,t)=>e.ids?.item?.(t)??`accordion:${e.id}:item:${t}`,Ni=(e,t)=>e.ids?.itemContent?.(t)??`accordion:${e.id}:content:${t}`,yo=(e,t)=>e.ids?.itemTrigger?.(t)??`accordion:${e.id}:trigger:${t}`,Ew=e=>e.getById(vo(e)),ti=e=>{const r=`[data-controls][data-ownedby='${CSS.escape(vo(e))}']:not([disabled])`;return dx(Ew(e),r)},Aw=e=>Ev(ti(e)),Iw=e=>Av(ti(e)),zw=(e,t)=>fx(ti(e),yo(e,t)),Nw=(e,t)=>px(ti(e),yo(e,t));function Ow(e,t){const{send:r,context:n,prop:o,scope:i,computed:s}=e,a=n.get("focusedValue"),l=n.get("value"),c=o("multiple");function d(f){let p=f;!c&&p.length>1&&(p=[p[0]]),r({type:"VALUE.SET",value:p})}function u(f){return{expanded:l.includes(f.value),focused:a===f.value,disabled:!!(f.disabled??o("disabled"))}}return{focusedValue:a,value:l,setValue:d,getItemState:u,getRootProps(){return t.element({...Yr.root.attrs,dir:o("dir"),id:vo(i),"data-orientation":o("orientation")})},getItemProps(f){const p=u(f);return t.element({...Yr.item.attrs,dir:o("dir"),id:Rw(i,f.value),"data-state":p.expanded?"open":"closed","data-focus":j(p.focused),"data-disabled":j(p.disabled),"data-orientation":o("orientation")})},getItemContentProps(f){const p=u(f);return t.element({...Yr.itemContent.attrs,dir:o("dir"),role:"region",id:Ni(i,f.value),"aria-labelledby":yo(i,f.value),hidden:!p.expanded,"data-state":p.expanded?"open":"closed","data-disabled":j(p.disabled),"data-focus":j(p.focused),"data-orientation":o("orientation")})},getItemIndicatorProps(f){const p=u(f);return t.element({...Yr.itemIndicator.attrs,dir:o("dir"),"aria-hidden":!0,"data-state":p.expanded?"open":"closed","data-disabled":j(p.disabled),"data-focus":j(p.focused),"data-orientation":o("orientation")})},getItemTriggerProps(f){const{value:p}=f,h=u(f);return t.button({...Yr.itemTrigger.attrs,type:"button",dir:o("dir"),id:yo(i,p),"aria-controls":Ni(i,p),"data-controls":Ni(i,p),"aria-expanded":h.expanded,disabled:h.disabled,"data-orientation":o("orientation"),"aria-disabled":h.disabled,"data-state":h.expanded?"open":"closed","data-ownedby":vo(i),onFocus(){h.disabled||r({type:"TRIGGER.FOCUS",value:p})},onBlur(){h.disabled||r({type:"TRIGGER.BLUR"})},onClick(m){h.disabled||(pa()&&m.currentTarget.focus(),r({type:"TRIGGER.CLICK",value:p}))},onKeyDown(m){if(m.defaultPrevented||h.disabled)return;const b={ArrowDown(){s("isHorizontal")||r({type:"GOTO.NEXT",value:p})},ArrowUp(){s("isHorizontal")||r({type:"GOTO.PREV",value:p})},ArrowRight(){s("isHorizontal")&&r({type:"GOTO.NEXT",value:p})},ArrowLeft(){s("isHorizontal")&&r({type:"GOTO.PREV",value:p})},Home(){r({type:"GOTO.FIRST",value:p})},End(){r({type:"GOTO.LAST",value:p})}},v=$y(m,{dir:o("dir"),orientation:o("orientation")}),x=b[v];x&&(x(m),m.preventDefault())}})}}}var{and:_w,not:Vw}=ca(),Dw=Tt({props({props:e}){return{collapsible:!1,multiple:!1,orientation:"vertical",defaultValue:[],...e}},initialState(){return"idle"},context({prop:e,bindable:t}){return{focusedValue:t(()=>({defaultValue:null,sync:!0,onChange(r){e("onFocusChange")?.({value:r})}})),value:t(()=>({defaultValue:e("defaultValue"),value:e("value"),onChange(r){e("onValueChange")?.({value:r})}}))}},computed:{isHorizontal:({prop:e})=>e("orientation")==="horizontal"},on:{"VALUE.SET":{actions:["setValue"]}},states:{idle:{on:{"TRIGGER.FOCUS":{target:"focused",actions:["setFocusedValue"]}}},focused:{on:{"GOTO.NEXT":{actions:["focusNextTrigger"]},"GOTO.PREV":{actions:["focusPrevTrigger"]},"TRIGGER.CLICK":[{guard:_w("isExpanded","canToggle"),actions:["collapse"]},{guard:Vw("isExpanded"),actions:["expand"]}
1],"GOTO.FIRST":{actions:["focusFirstTrigger"]},"GOTO.LAST":{actions:["focusLastTrigger"]},"TRIGGER.BLUR":{target:"idle",actions:["clearFocusedValue"]}}}},implementations:{guards:{canToggle:({prop:e})=>!!e("collapsible")||!!e("multiple"),isExpanded:({context:e,event:t})=>e.get("value").includes(t.value)},actions:{collapse({context:e,prop:t,event:r}){const n=t("multiple")?zv(e.get("value"),r.value):[];e.set("value",n)},expand({context:e,prop:t,event:r}){const n=t("multiple")?Iv(e.get("value"),r.value):[r.value];e.set("value",n)},focusFirstTrigger({scope:e}){Aw(e)?.focus()},focusLastTrigger({scope:e}){Iw(e)?.focus()},focusNextTrigger({context:e,scope:t}){const r=e.get("focusedValue");if(!r)return;zw(t,r)?.focus()},focusPrevTrigger({context:e,scope:t}){const r=e.get("focusedValue");if(!r)return;Nw(t,r)?.focus()},setFocusedValue({context:e,event:t}){e.set("focusedValue",t.value)},clearFocusedValue({context:e}){e.set("focusedValue",null)},setValue({context:e,event:t}){e.set("value",t.value)},coarseValue({context:e,prop:t}){!t("multiple")&&e.get("value").length>1&&(fo("The value of accordion should be a single value when multiple is false."),e.set("value",[e.get("value")[0]]))}}}});const Mw=e=>{const t=g.useId(),{getRootNode:r}=ft(),{dir:n}=Wt(),o={id:t,dir:n,getRootNode:r,...e},i=Rt(Dw,o);return Ow(i,$t)},Lw=ye(),Df=g.forwardRef((e,t)=>{const[r,n]=ei(e),[o,i]=Lw(n,["collapsible","defaultValue","disabled","id","ids","multiple","onFocusChange","onValueChange","orientation","value"]),s=Mw(o),a=M(s.getRootProps(),i);return S.jsx(uf,{value:s,children:S.jsx(Jo,{value:r,children:S.jsx($.div,{...a,ref:t})})})});Df.displayName="AccordionRoot";const Fw=ye(),Mf=g.forwardRef((e,t)=>{const[r,n]=ei(e),[{value:o},i]=Fw(n,["value"]),s=M(o.getRootProps(),i);return S.jsx(uf,{value:o,children:S.jsx(Jo,{value:r,children:S.jsx($.div,{...s,ref:t})})})});Mf.displayName="AccordionRootProvider";const[Lf,Ff]=Ee({name:"AvatarContext",hookName:"useAvatarContext",providerName:"<AvatarProvider />"}),Wf=g.forwardRef((e,t)=>{const r=Ff(),n=M(r.getFallbackProps(),e);return S.jsx($.span,{...n,ref:t})});Wf.displayName="AvatarFallback";const $f=g.forwardRef((e,t)=>{const r=Ff(),n=M(r.getImageProps(),e);return S.jsx($.img,{...n,ref:t})});$f.displayName="AvatarImage";var Bf=F("avatar").parts("root","image","fallback"),Oi=Bf.build(),jf=e=>e.ids?.root??`avatar:${e.id}`,Hf=e=>e.ids?.image??`avatar:${e.id}:image`,Ww=e=>e.ids?.fallback??`avatar:${e.id}:fallback`,$w=e=>e.getById(jf(e)),ds=e=>e.getById(Hf(e));function Bw(e,t){const{state:r,send:n,prop:o,scope:i}=e,s=r.matches("loaded");return{loaded:s,setSrc(a){ds(i)?.setAttribute("src",a)},setLoaded(){n({type:"img.loaded",src:"api"})},setError(){n({type:"img.error",src:"api"})},getRootProps(){return t.element({...Oi.root.attrs,dir:o("dir"),id:jf(i)})},getImageProps(){return t.img({...Oi.image.attrs,hidden:!s,dir:o("dir"),id:Hf(i),"data-state":s?"visible":"hidden",onLoad(){n({type:"img.loaded",src:"element"})},onError(){n({type:"img.error",src:"element"})}})},getFallbackProps(){return t.element({...Oi.fallback.attrs,dir:o("dir"),id:Ww(i),hidden:s,"data-state":s?"hidden":"visible"})}}}var jw=Tt({initialState(){return"loading"},effects:["trackImageRemoval","trackSrcChange"],on:{"src.change":{target:"loading"},"img.unmount":{target:"error"}},states:{loading:{entry:["checkImageStatus"],on:{"img.loaded":{target:"loaded",actions:["invokeOnLoad"]},"img.error":{target:"error",actions:["invokeOnError"]}}},error:{on:{"img.loaded":{target:"loaded",actions:["invokeOnLoad"]}}},loaded:{on:{"img.error":{target:"error",actions:["invokeOnError"]}}}},implementations:{actions:{invokeOnLoad({prop:e}){e("onStatusChange")?.({status:"loaded"})},invokeOnError({prop:e}){e("onStatusChange")?.({status:"error"})},checkImageStatus({send:e,scope:t}){const r=ds(t);if(!r?.complete)return;const n=Hw(r)?"img.loaded":"img.error";e({type:n,src:"ssr"})}},effects:{trackImageRemoval({send:e,scope:t}){const r=$w(t);return rf(r,{callback(n){Array.from(n[0].removedNodes).find(s=>s.nodeType===Node.ELEMENT_NODE&&s.matches("[data-scope=avatar][data-part=image]"))&&e({type:"img.unmount"})}})},trackSrcChange({send:e,scope:t}){const r=ds(t);return nx(r,{attributes:["src","srcset"],callback(){e({type:"src.change"})}})}}}});
1function Hw(e){return e.complete&&e.naturalWidth!==0&&e.naturalHeight!==0}const Gw=e=>{const t=g.useId(),{getRootNode:r}=ft(),{dir:n}=Wt(),o={id:t,dir:n,getRootNode:r,...e},i=Rt(jw,o);return Bw(i,$t)},Uw=ye(),Gf=g.forwardRef((e,t)=>{const[r,n]=Uw(e,["id","ids","onStatusChange"]),o=Gw(r),i=M(o.getRootProps(),n);return S.jsx(Lf,{value:o,children:S.jsx($.div,{...i,ref:t})})});Gf.displayName="AvatarRoot";const qw=ye(),Uf=g.forwardRef((e,t)=>{const[{value:r},n]=qw(e,["value"]),o=M(r.getRootProps(),n);return S.jsx(Lf,{value:r,children:S.jsx($.div,{...o,ref:t})})});Uf.displayName="AvatarRootProvider";var ur=new WeakMap,Mn=new WeakMap,Ln={},_i=0,qf=e=>e&&(e.host||qf(e.parentNode)),Kw=(e,t)=>t.map(r=>{if(e.contains(r))return r;const n=qf(r);return n&&e.contains(n)?n:(console.error("[zag-js > ariaHidden] target",r,"in not contained inside",e,". Doing nothing"),null)}).filter(r=>!!r),Xw=new Set(["script","output","status","next-route-announcer"]),Yw=e=>Xw.has(e.localName)||e.role==="status"||e.hasAttribute("aria-live")?!0:e.matches("[data-live-announcer]"),Zw=(e,t)=>{const{parentNode:r,markerName:n,controlAttribute:o,explicitBooleanValue:i,followControlledElements:s=!0}=t,a=Kw(r,Array.isArray(e)?e:[e]);Ln[n]||(Ln[n]=new WeakMap);const l=Ln[n],c=[],d=new Set,u=new Set(a),f=h=>{!h||d.has(h)||(d.add(h),f(h.parentNode))};a.forEach(h=>{f(h),s&&ve(h)&&Uu(h,m=>{f(m)})});const p=h=>{!h||u.has(h)||Array.prototype.forEach.call(h.children,m=>{if(d.has(m))p(m);else try{if(Yw(m))return;const b=m.getAttribute(o),v=i?b==="true":b!==null&&b!=="false",x=(ur.get(m)||0)+1,y=(l.get(m)||0)+1;ur.set(m,x),l.set(m,y),c.push(m),x===1&&v&&Mn.set(m,!0),y===1&&m.setAttribute(n,""),v||m.setAttribute(o,i?"true":"")}catch(b){console.error("[zag-js > ariaHidden] cannot operate on ",m,b)}})};return p(r),d.clear(),_i++,()=>{c.forEach(h=>{const m=ur.get(h)-1,b=l.get(h)-1;ur.set(h,m),l.set(h,b),m||(Mn.has(h)||h.removeAttribute(o),Mn.delete(h)),b||h.removeAttribute(n)}),_i--,_i||(ur=new WeakMap,ur=new WeakMap,Mn=new WeakMap,Ln={})}},Qw=e=>(Array.isArray(e)?e[0]:e).ownerDocument.body,Jw=(e,t=Qw(e),r="data-aria-hidden",n=!0)=>{if(t)return Zw(e,{parentNode:t,markerName:r,controlAttribute:"aria-hidden",explicitBooleanValue:!0,followControlledElements:n})},ek=e=>{const t=requestAnimationFrame(()=>e());return()=>cancelAnimationFrame(t)};function Kf(e,t={}){const{defer:r=!0}=t,n=r?ek:i=>i(),o=[];return o.push(n(()=>{const s=(typeof e=="function"?e():e).filter(Boolean);s.length!==0&&o.push(Jw(s))})),()=>{o.forEach(i=>i?.())}}var Vi="data-scroll-lock";function tk(e){const t=e.getBoundingClientRect().left;return Math.round(t)+e.scrollLeft?"paddingLeft":"paddingRight"}function gc(e){const r=nr(e)?.scrollbarGutter;return r==="stable"||r?.startsWith("stable ")===!0}function Xf(e){const t=e??document,r=t.defaultView??window,{documentElement:n,body:o}=t;if(o.hasAttribute(Vi))return;const s=gc(n)||gc(o),a=r.innerWidth-n.clientWidth;o.setAttribute(Vi,"");const l=()=>mx(n,"--scrollbar-width",`${a}px`),c=tk(n),d=()=>{const p={overflow:"hidden"};return!s&&a>0&&(p[c]=`${a}px`),mn(o,p)},u=()=>{const{scrollX:p,scrollY:h,visualViewport:m}=r,b=m?.offsetLeft??0,v=m?.offsetTop??0,x={position:"fixed",overflow:"hidden",top:`${-(h-Math.floor(v))}px`,left:`${-(p-Math.floor(b))}px`,right:"0"};!s&&a>0&&(x[c]=`${a}px`);const y=mn(o,x);return()=>{y?.(),r.scrollTo({left:p,top:h,behavior:"instant"})}},f=[l(),qu()?u():d()];return()=>{f.forEach(p=>p?.()),o.removeAttribute(Vi)}}var Yf=F("carousel").parts("root","itemGroup","item","control","nextTrigger","prevTrigger","indicatorGroup","indicator","autoplayTrigger","progressText");Yf.build();const rk=Yf.extendWith("progressText","autoplayIndicator"),[Zf,ri]=Ee({name:"CheckboxContext",hookName:"useCheckboxContext",providerName:"<CheckboxProvider />"}),Qf=g.forwardRef((e,t)=>{const r=ri(),n=M(r.getControlProps(),e);return S.jsx($.div,{...n,ref:t})});Qf.displayName="CheckboxControl";var Jf=F("checkbox").parts("root","label","control","indicator"),Fn=Jf.build();function nk(e){return!(e.metaKey||!jo()&&e.altKey||e.ctrlKey||e.key==="Control"||e.key==="Shift"||e.key==="Meta")}var ok=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function ik(e,t,r){const n=r?Pe(r):null,o=_e(n),i=Re(n),s=Qt(o);return e=e||s instanceof i.HTMLInputElement&&!ok.has(s?.type)||s instanceof i.HTMLTextAreaElement||s instanceof i.HTMLElement&&s.isContentEditable,!(e&&t==="keyboard"&&r instanceof i.KeyboardEvent&&!Reflect.has(ak,r.key))}var ir=null,us=new Set,xo=new Map,sr=!1,fs=!1,sk=!1,ak={Tab:!0,Escape:!0};function Ra(e,t){for(let r of us)r(e,t)}function wo(e){sr=!0,nk(e)&&(ir="keyboard",Ra("keyboard",e))}function He(e){ir="pointer",(e.type==="mousedown"||e.type==="pointerdown")&&(sr=!0,Ra("pointer",e))}function ep(e){Dy(e)&&(sr=!0,ir="virtual")}function tp(e){const t=Pe(e);t===Re(t)||t===_e(t)||sk||!e.isTrusted||(!sr&&!fs&&(ir="virtual",Ra("virtual",e)),sr=!1,fs=!1)}function rp(){sr=!1,fs=!0}function lk(e){if(typeof window>"u"||xo.get(Re(e)))return;const t=Re(e),r=_e(e);
1let n=t.HTMLElement.prototype.focus;function o(){sr=!0,n.apply(this,arguments)}try{Object.defineProperty(t.HTMLElement.prototype,"focus",{configurable:!0,value:o})}catch{}r.addEventListener("keydown",wo,!0),r.addEventListener("keyup",wo,!0),r.addEventListener("click",ep,!0),t.addEventListener("focus",tp,!0),t.addEventListener("blur",rp,!1),typeof t.PointerEvent<"u"?(r.addEventListener("pointerdown",He,!0),r.addEventListener("pointermove",He,!0),r.addEventListener("pointerup",He,!0)):(r.addEventListener("mousedown",He,!0),r.addEventListener("mousemove",He,!0),r.addEventListener("mouseup",He,!0)),t.addEventListener("beforeunload",()=>{ck(e)},{once:!0}),xo.set(t,{focus:n})}var ck=(e,t)=>{const r=Re(e),n=_e(e),o=xo.get(r);if(o){try{Object.defineProperty(r.HTMLElement.prototype,"focus",{configurable:!0,value:o.focus})}catch{}n.removeEventListener("keydown",wo,!0),n.removeEventListener("keyup",wo,!0),n.removeEventListener("click",ep,!0),r.removeEventListener("focus",tp,!0),r.removeEventListener("blur",rp,!1),typeof r.PointerEvent<"u"?(n.removeEventListener("pointerdown",He,!0),n.removeEventListener("pointermove",He,!0),n.removeEventListener("pointerup",He,!0)):(n.removeEventListener("mousedown",He,!0),n.removeEventListener("mousemove",He,!0),n.removeEventListener("mouseup",He,!0)),xo.delete(r)}};function ko(){return ir==="keyboard"||ir==="virtual"}function np(e={}){const{isTextInput:t,autoFocus:r,onChange:n,root:o}=e;lk(o),n?.({isFocusVisible:r||ko(),modality:ir});const i=(s,a)=>{ik(!!t,s,a)&&n?.({isFocusVisible:ko(),modality:s})};return us.add(i),()=>{us.delete(i)}}var op=e=>e.ids?.root??`checkbox:${e.id}`,bc=e=>e.ids?.label??`checkbox:${e.id}:label`,dk=e=>e.ids?.control??`checkbox:${e.id}:control`,ps=e=>e.ids?.hiddenInput??`checkbox:${e.id}:input`,uk=e=>e.getById(op(e)),Jr=e=>e.getById(ps(e));function fk(e,t){const{send:r,context:n,prop:o,computed:i,scope:s}=e,a=!!o("disabled"),l=!!o("readOnly"),c=!!o("required"),d=!!o("invalid"),u=!a&&n.get("focused"),f=!a&&n.get("focusVisible"),p=i("checked"),h=i("indeterminate"),m=n.get("checked"),b={"data-active":j(n.get("active")),"data-focus":j(u),"data-focus-visible":j(f),"data-readonly":j(l),"data-hover":j(n.get("hovered")),"data-disabled":j(a),"data-state":h?"indeterminate":p?"checked":"unchecked","data-invalid":j(d),"data-required":j(c)};return{checked:p,disabled:a,indeterminate:h,focused:u,checkedState:m,setChecked(v){r({type:"CHECKED.SET",checked:v,isTrusted:!1})},toggleChecked(){r({type:"CHECKED.TOGGLE",checked:p,isTrusted:!1})},getRootProps(){return t.label({...Fn.root.attrs,...b,dir:o("dir"),id:op(s),htmlFor:ps(s),onPointerMove(){a||r({type:"CONTEXT.SET",context:{hovered:!0}})},onPointerLeave(){a||r({type:"CONTEXT.SET",context:{hovered:!1}})},onClick(v){Pe(v)===Jr(s)&&v.stopPropagation()}})},getLabelProps(){return t.element({...Fn.label.attrs,...b,dir:o("dir"),id:bc(s)})},getControlProps(){return t.element({...Fn.control.attrs,...b,dir:o("dir"),id:dk(s),"aria-hidden":!0})},getIndicatorProps(){return t.element({...Fn.indicator.attrs,...b,dir:o("dir"),hidden:!h&&!p})},getHiddenInputProps(){return t.input({id:ps(s),type:"checkbox",required:o("required"),defaultChecked:p,disabled:a,"aria-labelledby":bc(s),"aria-invalid":d,name:o("name"),form:o("form"),value:o("value"),style:af,onFocus(){const v=ko();r({type:"CONTEXT.SET",context:{focused:!0,focusVisible:v}})},onBlur(){r({type:"CONTEXT.SET",context:{focused:!1,focusVisible:!1}})},onClick(v){if(l){v.preventDefault();return}const x=v.currentTarget.checked;r({type:"CHECKED.SET",checked:x,isTrusted:!0})}})}}}var{not:vc}=ca(),pk=Tt({props({props:e}){return{value:"on",...e,defaultChecked:e.defaultChecked??!1}},initialState(){return"ready"},context({prop:e,bindable:t}){return{checked:t(()=>({defaultValue:e("defaultChecked"),value:e("checked"),onChange(r){e("onCheckedChange")?.({checked:r})}})),fieldsetDisabled:t(()=>({defaultValue:!1})),focusVisible:t(()=>({defaultValue:!1})),active:t(()=>({defaultValue:!1})),focused:t(()=>({defaultValue:!1})),hovered:t(()=>({defaultValue:!1}))}},watch({track:e,context:t,prop:r,action:n}){e([()=>r("disabled")],()=>{n(["removeFocusIfNeeded"])}),e([()=>t.get("checked")],()=>{n(["syncInputElement"])})},effects:["trackFormControlState","trackPressEvent","trackFocusVisible"],on:{"CHECKED.TOGGLE":[{guard:vc("isTrusted"),actions:["toggleChecked","dispatchChangeEvent"]},{actions:["toggleChecked"]}],"CHECKED.SET":[{guard:vc("isTrusted"),actions:["setChecked","dispatchChangeEvent"]},{actions:["setChecked"]}],"CONTEXT.SET":{actions:["setContext"]}},computed:{indeterminate:({context:e})=>
1Jn(e.get("checked")),checked:({context:e})=>hk(e.get("checked")),disabled:({context:e,prop:t})=>!!t("disabled")||e.get("fieldsetDisabled")},states:{ready:{}},implementations:{guards:{isTrusted:({event:e})=>!!e.isTrusted},effects:{trackPressEvent({context:e,computed:t,scope:r}){if(!t("disabled"))return nf({pointerNode:uk(r),keyboardNode:Jr(r),isValidKey:n=>n.key===" ",onPress:()=>e.set("active",!1),onPressStart:()=>e.set("active",!0),onPressEnd:()=>e.set("active",!1)})},trackFocusVisible({computed:e,scope:t}){if(!e("disabled"))return np({root:t.getRootNode?.()})},trackFormControlState({context:e,scope:t}){return Xu(Jr(t),{onFieldsetDisabledChange(r){e.set("fieldsetDisabled",r)},onFormReset(){e.set("checked",e.initial("checked"))}})}},actions:{setContext({context:e,event:t}){for(const r in t.context)e.set(r,t.context[r])},syncInputElement({context:e,computed:t,scope:r}){const n=Jr(r);n&&(ha(n,t("checked")),n.indeterminate=Jn(e.get("checked")))},removeFocusIfNeeded({context:e,prop:t}){t("disabled")&&e.get("focused")&&(e.set("focused",!1),e.set("focusVisible",!1))},setChecked({context:e,event:t}){e.set("checked",t.checked)},toggleChecked({context:e,computed:t}){const r=Jn(t("checked"))?!0:!t("checked");e.set("checked",r)},dispatchChangeEvent({computed:e,scope:t}){queueMicrotask(()=>{const r=Jr(t);Ku(r,{checked:e("checked")})})}}}});function Jn(e){return e==="indeterminate"}function hk(e){return Jn(e)?!1:!!e}const ip=Jf.extendWith("group");function mk(e){const{value:t,onChange:r,defaultValue:n}=e,[o,i]=g.useState(n),s=t!==void 0,a=s?t:o,l=g.useCallback(c=>(s||i(c),r?.(c)),[s,r]);return[a,l]}const[F2,sp]=Ee({name:"FieldsetContext",hookName:"useFieldsetContext",providerName:"<FieldsetProvider />",strict:!1});function gk(e={}){const t=sp(),{defaultValue:r,value:n,onValueChange:o,disabled:i=t?.disabled,readOnly:s,name:a,invalid:l=t?.invali
1d,maxSelectedValues:c}=e,d=!(i||s),u=df(o,{sync:!0}),[f,p]=mk({value:n,defaultValue:r||[],onChange:u}),h=k=>f.some(w=>String(w)===String(k)),m=k=>{h(k)?x(k):v(k)},b=c!=null&&f.length>=c,v=k=>{d&&(h(k)||b||p(f.concat(k)))},x=k=>{d&&p(f.filter(w=>String(w)!==String(k)))};return{isChecked:h,value:f,name:a,disabled:!!i,readOnly:!!s,invalid:!!l,setValue:p,addValue:v,toggleValue:m,getItemProps:k=>{const w=k.value!=null?h(k.value):void 0;return{checked:w,onCheckedChange(){k.value!=null&&m(k.value)},name:a,disabled:i||b&&!w,readOnly:s,invalid:l}}}}const[bk,vk]=Ee({name:"CheckboxGroupContext",hookName:"useCheckboxGroupContext",providerName:"<CheckboxGroupProvider />",strict:!1}),yk=ye(),ap=g.forwardRef((e,t)=>{const[r,n]=yk(e,["defaultValue","value","onValueChange","disabled","invalid","readOnly","name","maxSelectedValues"]),o=gk(r);return S.jsx(bk,{value:o,children:S.jsx($.div,{ref:t,role:"group",...n,...ip.build().group.attrs})})});ap.displayName="CheckboxGroup";const[xk,ht]=Ee({name:"FieldContext",hookName:"useFieldContext",providerName:"<FieldProvider />",strict:!1}),lp=g.forwardRef((e,t)=>{const r=ri(),n=M(r.getHiddenInputProps(),e),o=ht();return S.jsx($.input,{"aria-describedby":o?.ariaDescribedby,...n,ref:t})});lp.displayName="CheckboxHiddenInput";const cp=g.forwardRef((e,t)=>{const r=ri(),n=M(r.getLabelProps(),e);return S.jsx($.span,{...n,ref:t})});cp.displayName="CheckboxLabel";const wk=(e={})=>{const t=vk(),r=ht(),n=g.useMemo(()=>M(t?.getItemProps({value:e.value})??{},e),[e,t]),o=g.useId(),{getRootNode:i}=ft(),{dir:s}=Wt(),a={id:o,ids:{label:r?.ids.label,hiddenInput:r?.ids.control},dir:s,disabled:r?.disabled,readOnly:r?.readOnly,invalid:r?.invalid,required:r?.required,getRootNode:i,...n},l=Rt(pk,a);return fk(l,$t)},kk=ye(),dp=g.forwardRef((e,t)=>{const[r,n]=kk(e,["checked","defaultChecked","disabled","form","id","ids","invalid","name","onCheckedChange","readOnly","required","value"]),o=wk(r),i=M(o.getRootProps(),n);return S.jsx(Zf,{value:o,children:S.jsx($.label,{...i,ref:t})})});dp.displayName="CheckboxRoot";const Sk=ye(),up=g.forwardRef((e,t)=>{const[{value:r},n]=Sk(e,["value"]),o=M(r.getRootProps(),n);return S.jsx(Zf,{value:r,children:S.jsx($.label,{...o,ref:t})})});up.displayName="CheckboxRootProvider";var fp=F("clipboard").parts("root","control","trigger","indicator","input","label");fp.build();const pp=g.forwardRef((e,t)=>{const r=Ko(),n=M(r.getIndicatorProps(),e);return S.jsx($.div,{...n,ref:t})});pp.displayName="CollapsibleIndicator";const Ck=ye(),hp=g.forwardRef((e,t)=>{const[{value:r},n]=Ck(e,["value"]),o=M(r.getRootProps(),n);return S.jsx(pf,{value:r,children:S.jsx($.div,{...o,ref:t})})});hp.displayName="CollapsibleRootProvider";const mp=g.forwardRef((e,t)=>{const r=Ko(),n=M(r.getTriggerProps(),e);return S.jsx($.button,{...n,ref:t})});mp.displayName="CollapsibleTrigger";const Pk=hf.extendWith("view");var gp=F("combobox").parts("root","clearTrigger","content","control","input","item","itemGroup","itemGroupLabel","itemIndicator","itemText","label","list","positioner","trigger");gp.build();const Tk=gp.extendWith("empty"),Rk=Rf.extendWith("view","valueText"),[bp,At]=Ee({name:"DialogContext",hookName:"useDialogContext",providerName:"<DialogProvider />"}),Ea=g.forwardRef((e,t)=>{const r=At(),n=If(),o=Sn({...n,present:r.open}),i=M(r.getBackdropProps(),o.getPresenceProps(),e);return o.unmounted?null:S.jsx($.div,{...i,ref:Vr(o.ref,t)})});Ea.displayName="DialogBackdrop";const Aa=g.forwardRef((e,t)=>{const r=At(),n=M(r.getCloseTriggerProps(),e);return S.jsx($.button,{...n,ref:t})});Aa.displayName="DialogCloseTrigger";const Ia=g.forwardRef((e,t)=>{const r=At(),n=Dr(),o=M(r.getContentProps(),n.getPresenceProps(),e);return n.unmounted?null:S.jsx($.div,{...o,ref:Vr(n.ref,t)})});Ia.displayName="DialogContent";const za=g.forwardRef((e,t)=>{const r=At(),n=M(r.getDescriptionProps(),e);return S.jsx($.div,{...n,ref:t})});za.displayName="DialogDescription";const Na=g.forwardRef((e,t)=>{const r=At(),n=M(r.getPositionerProps(),e);return Dr().unmounted?null:S.jsx($.div,{...n,ref:t})});Na.displayName="DialogPositioner";var Oa=F("dialog").parts("trigger","backdrop","positioner","content","title","description","closeTrigger"),Ht=Oa.build(),vp=e
vendor: 4,184 bytes, line 1
1=>e.ids?.positioner??`dialog:${e.id}:positioner`,yp=e=>e.ids?.backdrop??`dialog:${e.id}:backdrop`,hs=e=>e.ids?.content??`dialog:${e.id}:content`,xp=e=>e.ids?.trigger??`dialog:${e.id}:trigger`,ms=e=>e.ids?.title??`dialog:${e.id}:title`,gs=e=>e.ids?.description??`dialog:${e.id}:description`,wp=e=>e.ids?.closeTrigger??`dialog:${e.id}:close`,Wn=e=>e.getById(hs(e)),Ek=e=>e.getById(vp(e)),Ak=e=>e.getById(yp(e)),Ik=e=>e.getById(xp(e)),zk=e=>e.getById(ms(e)),Nk=e=>e.getById(gs(e)),Ok=e=>e.getById(wp(e));function _k(e,t){const{state:r,send:n,context:o,prop:i,scope:s}=e,a=i("aria-label"),l=r.matches("open");return{open:l,setOpen(c){r.matches("open")!==c&&n({type:c?"OPEN":"CLOSE"})},getTriggerProps(){return t.button({...Ht.trigger.attrs,dir:i("dir"),id:xp(s),"aria-haspopup":"dialog",type:"button","aria-expanded":l,"data-state":l?"open":"closed","aria-controls":hs(s),onClick(c){c.defaultPrevented||n({type:"TOGGLE"})}})},getBackdropProps(){return t.element({...Ht.backdrop.attrs,dir:i("dir"),hidden:!l,id:yp(s),"data-state":l?"open":"closed"})},getPositionerProps(){return t.element({...Ht.positioner.attrs,dir:i("dir"),id:vp(s),style:{pointerEvents:l?void 0:"none"}})},getContentProps(){const c=o.get("rendered");return t.element({...Ht.content.attrs,dir:i("dir"),role:i("role"),hidden:!l,id:hs(s),tabIndex:-1,"data-state":l?"open":"closed","aria-modal":!0,"aria-label":a||void 0,"aria-labelledby":a||!c.title?void 0:ms(s),"aria-describedby":c.description?gs(s):void 0})},getTitleProps(){return t.element({...Ht.title.attrs,dir:i("dir"),id:ms(s)})},getDescriptionProps(){return t.element({...Ht.description.attrs,dir:i("dir"),id:gs(s)})},getCloseTriggerProps(){return t.button({...Ht.closeTrigger.attrs,dir:i("dir"),id:wp(s),type:"button",onClick(c){c.defaultPrevented||(c.stopPropagation(),n({type:"CLOSE"}))}})}}}var Vk=Tt({props({props:e,scope:t}){const r=e.role==="alertdialog",n=r?()=>Ok(t):void 0,o=typeof e.modal=="boolean"?e.modal:!0;return{role:"dialog",modal:o,trapFocus:o,preventScroll:o,closeOnInteractOutside:o&&!r,closeOnEscape:!0,restoreFocus:!0,initialFocusEl:n,...e}},initialState({prop:e}){return e("open")||e("defaultOpen")?"open":"closed"},context({bindable:e}){return{rendered:e(()=>({defaultValue:{title:!0,description:!0}}))}},watch({track:e,action:t,prop:r}){e([()=>r("open")],()=>{t(["toggleVisibility"])})},states:{open:{entry:["checkRenderedElements","syncZIndex"],effects:["trackDismissableElement","trapFocus","preventScroll","hideContentBelow"],on:{"CONTROLLED.CLOSE":{target:"closed"},CLOSE:[{guard:"isOpenControlled",actions:["invokeOnClose"]},{target:"closed",actions:["invokeOnClose"]}],TOGGLE:[{guard:"isOpenControlled",actions:["invokeOnClose"]},{target:"closed",actions:["invokeOnClose"]}]}},closed:{on:{"CONTROLLED.OPEN":{target:"open"},OPEN:[{guard:"isOpenControlled",actions:["invokeOnOpen"]},{target:"open",actions:["invokeOnOpen"]}],TOGGLE:[{guard:"isOpenControlled",actions:["invokeOnOpen"]},{target:"open",actions:["invokeOnOpen"]}]}}},implementations:{guards:{isOpenControlled:({prop:e})=>e("open")!=null},effects:{trackDismissableElement({scope:e,send:t,prop:r}){return Tf(()=>Wn(e),{type:"dialog",defer:!0,pointerBlocking:r("modal"),exclude:[Ik(e)],onInteractOutside(o){r("onInteractOutside")?.(o),r("closeOnInteractOutside")||o.preventDefault()},persistentElements:r("persistentElements"),onFocusOutside:r("onFocusOutside"),onPointerDownOutside:r("onPointerDownOutside"),onRequestDismiss:r("onRequestDismiss"),onEscapeKeyDown(o){r("onEscapeKeyDown")?.(o),r("closeOnEscape")||o.preventDefault()},onDismiss(){t({type:"CLOSE",src:"interact-outside"})}})},preventScroll({scope:e,prop:t}){if(t("preventScroll"))return Xf(e.getDoc())},trapFocus({scope:e,prop:t}){return t("trapFocus")?Af(()=>Wn(e),{preventScroll:!0,returnFocusOnDeactivate:!!t("restoreFocus"),initialFocus:t("initialFocusEl"),setReturnFocus:n=>t("finalFocusEl")?.()??n,getShadowRoot:!0}):void 0},hideContentBelow({scope:e,prop:t}){return t("modal")?Kf(()=>[Wn(e)],{defer:!0}):void 0}},actions:{checkRenderedElements({context:e,scope:t}){he(()=>{e.set("rendered",{title:!!zk(t),description:!!Nk(t)})})},syncZIndex({scope:e}){he(()=>{const t=Wn(e);if(!t)return;const r=nr(t);
1[Ek(e),Ak(e)].forEach(o=>{o?.style.setProperty("--z-index",r.zIndex),o?.style.setProperty("--layer-index",r.getPropertyValue("--layer-index"))})})},invokeOnClose({prop:e}){e("onOpenChange")?.({open:!1})},invokeOnOpen({prop:e}){e("onOpenChange")?.({open:!0})},toggleVisibility({prop:e,send:t,event:r}){t({type:e("open")?"CONTROLLED.OPEN":"CONTROLLED.CLOSE",previousEvent:r})}}}});const Dk=e=>{const t=g.useId(),{getRootNode:r}=ft(),{dir:n}=Wt(),o={id:t,getRootNode:r,dir:n,...e},i=Rt(Vk,o);return _k(i,$t)},kp=e=>{const[t,{children:r,...n}]=Go(e),[o]=ei(t),i=Dk(n),s=Sn(M({present:i.open},t));return S.jsx(bp,{value:i,children:S.jsx(Jo,{value:o,children:S.jsx(Uo,{value:s,children:r})})})},Sp=e=>{const[t,{value:r,children:n}]=Go(e),[o]=ei(t),i=Sn(M({present:r.open},t));return S.jsx(bp,{value:r,children:S.jsx(Jo,{value:o,children:S.jsx(Uo,{value:i,children:n})})})},_a=g.forwardRef((e,t)=>{const r=At(),n=M(r.getTitleProps(),e);return S.jsx($.h2,{...n,ref:t})});_a.displayName="DialogTitle";const Va=g.forwardRef((e,t)=>{const r=At(),n=Dr(),o=M({...r.getTriggerProps(),"aria-controls":n.unmounted?void 0:r.getTriggerProps()["aria-controls"]},e);return S.jsx($.button,{...o,ref:t})});Va.displayName="DialogTrigger";var Cp=F("editable").parts("root","area","label","preview","input","editTrigger","submitTrigger","cancelTrigger","control");Cp.build();const Pp=g.forwardRef((e,t)=>{const r=ht(),n=M(r.getErrorTextProps(),e);return r?.invalid?S.jsx($.span,{...n,ref:t}):null});Pp.displayName="FieldErrorText";const Tp=g.forwardRef((e,t)=>{const r=ht(),n=M(r?.getHelperTextProps(),e);return S.jsx($.span,{...n,ref:t})});Tp.displayName="FieldHelperText";const Rp=g.forwardRef((e,t)=>{const r=ht(),n=M(r?.getInputProps(),e);return S.jsx($.input,{...n,ref:t})});Rp.displayName="FieldInput";const Ep=g.forwardRef((e,t)=>{const r=ht(),n=M(r?.getLabelProps(),e);return S.jsx($.label,{...n,ref:t})});Ep.displayName="FieldLabel";const Mk=typeof window<"u"?g.useLayoutEffect:g.useEffect,Ap=F("field").parts("root","errorText","helperText","input","label","select","textarea","requiredIndicator"),Ot=Ap.build(),Lk=(e={})=>{const t=sp(),r=ft(),{ids:n,disabled:o=!!t?.disabled,invalid:i=!1,readOnly:s=!1,required:a=!1}=e,[l,c]=g.useState(!1),[d,u]=g.useState(!1),f=g.useId(),p=e.id??f,h=g.useRef(null),m=n?.control??`field::${p}`,b=n?.errorText??`field::${p}::error-text`,v=n?.helperText??`field::${p}
1::helper-text`,x=n?.label??`field::${p}::label`;Mk(()=>{const _=h.current;if(!_)return;const L=()=>{const te=r.getRootNode();c(!!te.getElementById(b)),u(!!te.getElementById(v))};L();const O=r.getWindow(),B=new O.MutationObserver(L);return B.observe(_,{childList:!0,subtree:!0}),()=>B.disconnect()},[r,b,v]);const y=g.useMemo(()=>{const _=[];return l&&i&&_.push(b),d&&_.push(v),_.join(" ")||void 0},[i,b,v,l,d]),k=g.useMemo(()=>()=>({...Ot.root.attrs,id:m,ref:h,role:"group","data-disabled":j(o),"data-invalid":j(i),"data-readonly":j(s)}),[o,i,s,m]),w=g.useMemo(()=>()=>({...Ot.label.attrs,id:x,"data-disabled":j(o),"data-invalid":j(i),"data-readonly":j(s),"data-required":j(a),htmlFor:p}),[o,i,s,a,p,x]),C=g.useMemo(()=>()=>({"aria-describedby":y,"aria-invalid":Bu(i),"data-invalid":j(i),"data-required":j(a),"data-readonly":j(s),id:p,required:a,disabled:o,readOnly:s}),[y,i,a,s,p,o]),E=g.useMemo(()=>()=>({...C(),...Ot.input.attrs}),[C]),P=g.useMemo(()=>()=>({...C(),...Ot.textarea.attrs}),[C]),R=g.useMemo(()=>()=>({...C(),...Ot.select.attrs}),[C]),T=g.useMemo(()=>()=>({id:v,...Ot.helperText.attrs,"data-disabled":j(o)}),[o,v]),A=g.useMemo(()=>()=>({id:b,...Ot.errorText.attrs,"aria-live":"polite"}),[b]),I=g.useMemo(()=>()=>({"aria-hidden":!0,...Ot.requiredIndicator.attrs}),[]);return{ariaDescribedby:y,ids:{root:m,control:p,label:x,errorText:b,helperText:v},refs:{rootRef:h},disabled:o,invalid:i,readOnly:s,required:a,getLabelProps:w,getRootProps:k,getInputProps:E,getTextareaProps:P,getSelectProps:R,getHelperTextProps:T,getErrorTextProps:A,getRequiredIndicatorProps:I}},Fk=ye(),Ip=g.forwardRef((e,t)=>{const[r,n]=Fk(e,["id","ids","disabled","invalid","readOnly","required"]),o=Lk(r),i=M(o.getRootProps(),n);return S.jsx(xk,{value:o,children:S.jsx($.div,{...i,ref:Vr(t,o.refs.rootRef)})})});Ip.displayName="FieldRoot";var Wk=e=>{if(!e)return;const t=nr(e),r=Re(e),n=_e(e),o=()=>{requestAnimationFrame(()=>{e.style.height="auto";let c;t.boxSizing==="content-box"?c=e.scrollHeight-(parseFloat(t.paddingTop)+parseFloat(t.paddingBottom)):c=e.scrollHeight+parseFloat(t.borderTopWidth)+parseFloat(t.borderBottomWidth),t.maxHeight!=="none"&&c>parseFloat(t.maxHeight)?(t.overflowY==="hidden"&&(e.style.overflowY="scroll"),c=parseFloat(t.maxHeight)):t.overflowY!=="hidden"&&(e.style.overflowY="hidden"),e.style.height=`${c}px`})};e.addEventListener("input",o),e.form?.addEventListener("reset",o);const i=Object.getPrototypeOf(e),s=Object.getOwnPropertyDescriptor(i,"value");s&&Object.defineProperty(e,"value",{...s,set(c){const d=s.get?.call(this);s.set?.call(this,c),o(),d!==c&&queueMicrotask(()=>{e.dispatchEvent(new r.InputEvent("input",{bubbles:!0}))})}});const a=new r.ResizeObserver(()=>{requestAnimationFrame(()=>o())});a.observe(e);const l=new r.MutationObserver(()=>o());return l.observe(e,{attributes:!0,attributeFilter:["rows","placeholder"]}),n.fonts?.addEventListener("loadingdone",o),()=>{e.removeEventListener("input",o),e.form?.removeEventListener("reset",o),n.fonts?.removeEventListener("loadingdone",o),a.disconnect(),l.disconnect()}};const zp=g.forwardRef((e,t)=>{const{autoresize:r,...n}=e,o=g.useRef(null),i=ht(),s=M(i?.getTextareaProps(),{style:{resize:r?"none":void 0}},n);return g.useEffect(()=>{if(r)return Wk(o.current)},[r]),S.jsx($.textarea,{...s,ref:Vr(t,o)})});zp.displayName="FieldTextarea";const Np=F("fieldset").parts("root","errorText","helperText","legend");Np.build();var Op=F("file-upload").parts("root","dropzone","item","itemDeleteTrigger","itemGroup","itemName","itemPreview","itemPreviewImage","itemSizeText","label","trigger","clearTrigger");Op.build();var _p=F("hoverCard").parts("arrow","arrowTip","trigger","positioner","content");_p.build();var Vp=F("tree-view").parts("branch","branchContent","branchControl","branchIndentGuide","branchIndicator","branchText","branchTrigger","item","itemIndicator","itemText","label","nodeCheckbox","nodeRenameInput","root","tree");Vp.build();var Dp=F("listbox").parts("label","input","item","itemText","itemIndicator","itemGroup","itemGroupLabel","content","root","valueText");Dp.build();const $k=Dp.extendWith("empty");var Mp=F("marquee").parts("root","viewport","content","edge","item");Mp.build();var Lp=F("menu").parts("arrow","arrowTip","content","contextTrigger","indicator","
1item","itemGroup","itemGroupLabel","itemIndicator","itemText","positioner","separator","trigger","triggerItem");Lp.build();const W2=e=>{const{children:t,disabled:r}=e,[n,o]=g.useState(e.container?.current),i=g.useSyncExternalStore(jk,()=>!1,()=>!0),{getRootNode:s}=ft();if(g.useEffect(()=>{o(()=>e.container?.current)},[e.container]),i||r)return S.jsx(S.Fragment,{children:t});const a=n??Bk(s);return S.jsx(S.Fragment,{children:g.Children.map(t,l=>Vo.createPortal(l,a))})},Bk=e=>{const t=e?.(),r=t.getRootNode();return rr(r)?r:_e(t).body},jk=()=>()=>{};var Fp=F("numberInput").parts("root","label","input","control","valueText","incrementTrigger","decrementTrigger","scrubber");Fp.build();var Wp=F("pinInput").parts("root","label","input","control");Wp.build();const[$p,mt]=Ee({name:"PopoverContext",hookName:"usePopoverContext",providerName:"<PopoverProvider />"}),Bp=g.forwardRef((e,t)=>{const r=mt(),n=M(r.getAnchorProps(),e);return S.jsx($.div,{...n,ref:t})});Bp.displayName="PopoverAnchor";const jp=g.forwardRef((e,t)=>{const r=mt(),n=M(r.getArrowProps(),e);return S.jsx($.div,{...n,ref:t})});jp.displayName="PopoverArrow";const Hp=g.forwardRef((e,t)=>{const r=mt(),n=M(r.getArrowTipProps(),e);return S.jsx($.div,{...n,ref:t})});Hp.displayName="PopoverArrowTip";const Gp=g.forwardRef((e,t)=>{const r=mt(),n=M(r.getCloseTriggerProps(),e);return S.jsx($.button,{...n,ref:t})});Gp.displayName="PopoverCloseTrigger";const Up=g.forwardRef((e,t)=>{const r=mt(),n=Dr(),o=M(r.getContentProps(),n.getPresenceProps(),e);return n.unmounted?null:S.jsx($.div,{...o,ref:Vr(n.ref,t)})});Up.displayName="PopoverContent";const qp=g.forwardRef((e,t)=>{const r=mt(),n=M(r.getDescriptionProps(),e);return S.jsx($.div,{...n,ref:t})});qp.displayName="PopoverDescription";const Kp=g.forwardRef((e,t)=>{const r=mt(),n=M(r.getIndicatorProps(),e);return S.jsx($.div,{...n,ref:t})});Kp.displayName="PopoverIndicator";const Xp=g.forwardRef((e,t)=>{const r=mt(),n=Dr(),o=M(r.getPositionerProps(),e);return n.unmounted?null:S.jsx($.div,{...o,ref:t})});Xp.displayName="PopoverPositioner";var Yp=F("popover").parts("arrow","arrowTip","anchor","trigger","indicator","positioner","content","title","description","closeTrigger"),tt=Yp.build(),Zp=e=>e.ids?.anchor??`popover:${e.id}:anchor`,Qp=e=>e.ids?.trigger??`popover:${e.id}:trigger`,bs=e=>e.ids?.content??`popover:${e.id}:content`,Jp=e=>e.ids?.positioner??`popover:${e.id}:popper`,Hk=e=>e.ids?.arrow??`popover:${e.id}:arrow`,vs=e=>e.ids?.title??`popover:${e.id}:title`,ys=e=>e.ids?.description??`popover:${e.id}:desc`,Gk=e=>e.ids?.closeTrigger??`popover:${e.id}:close`,yc=e=>e.getById(Zp(e)),fr=e=>e.getById(Qp(e)),pr=e=>e.getById(bs(e)),xc=e=>e.getById(Jp(e)),Uk=e=>e.getById(vs(e)),qk=e=>e.getById(ys(e));function Kk(e,t){const{state:r,context:n,send:o,computed:i,prop:s,scope:a}=e,l=r.matches("open"),c=n.get("currentPlacement"),d=i("currentPortalled"),u=n.get("renderedElements"),f=rw({...s("positioning"),placement:c});return{portalled:d,open:l,setOpen(p){r.matches("open")!==p&&o({type:p?"OPEN":"CLOSE"})},reposition(p={}){o({type:"POSITIONING.SET",options:p})},getArrowProps(){return t.element({id:Hk(a),...tt.arrow.attrs,dir:s("dir"),style:f.arrow})},getArrowTipProps(){return t.element({...tt.arrowTip.attrs,dir:s("dir"),style:f.arrowTip})},getAnchorProps(){return t.element({...tt.anchor.attrs,dir:s("dir"),id:Zp(a)})},getTriggerProps(){return t.button({...tt.trigger.attrs,dir:s("dir"),type:"button","data-placement":c,id:Qp(a),"aria-haspopup":"dialog","aria-expanded":l,"data-state":l?"open":"closed","aria-controls":bs(a),onPointerDown(p){My(p)&&pa()&&p.currentTarget.focus()},onClick(p){p.defaultPrevented||o({type:"TOGGLE"})},onBlur(p){o({type:"TRIGGER_BLUR",target:p.relatedTarget})}})},getIndicatorProps(){return t.element({...tt.indicator.attrs,dir:s("dir"),"data-state":l?"open":"closed"})},getPositionerProps(){return t.element({id:Jp(a),...tt.positioner.attrs,dir:s("dir"),style:f.floating})},getContentProps(){return t.element({...tt.content.attrs,dir:s("dir"),id:bs(a),tabIndex:-1,role:"dialog","aria-modal":Bu(s("modal")),hidden:!l,"data-state":l?"open":"closed","data-expanded":j(l),"aria-labelledby":u.title?vs(a):void 0,"aria-describedby":u.description?ys(a):void 0,"data-placement":c})},getTitleProps(){return t.element({...tt.title.attrs,id:vs(a),dir:s("dir")})},getDescriptionProps(){return t.element({...tt.description.attrs,id:ys(a),dir:s("dir")})},getCloseTriggerProps(){return t.button({...tt.closeTrigger.attrs,dir:s("dir"),id:Gk(a),type:"button","aria-label":"close",onClick(p){p.defaultPrevented||(p.stopPropagation(),o({type:"CLOSE"}))}})}}}var Xk=Tt({props({props:e}){return{closeOnInteractOutside:!0,closeOnEscape:!0,autoFocus:!0,modal:!1,portalled:!0,...e,positioning:{placement:"bottom",...e.positioning}}},initialState({prop:e}){return e("open")||e("defaultOpen")?"open":"closed"},context({bindable:e}){return{currentPlacement:e(()=>({defaultValue:void 0})),renderedElements:e(()=>({defaultValue:{title:!0,description:!0}
1}))}},computed:{currentPortalled:({prop:e})=>!!e("modal")||!!e("portalled")},watch({track:e,prop:t,action:r}){e([()=>t("open")],()=>{r(["toggleVisibility"])})},entry:["checkRenderedElements"],states:{closed:{on:{"CONTROLLED.OPEN":{target:"open",actions:["setInitialFocus"]},TOGGLE:[{guard:"isOpenControlled",actions:["invokeOnOpen"]},{target:"open",actions:["invokeOnOpen","setInitialFocus"]}],OPEN:[{guard:"isOpenControlled",actions:["invokeOnOpen"]},{target:"open",actions:["invokeOnOpen","setInitialFocus"]}]}},open:{effects:["trapFocus","preventScroll","hideContentBelow","trackDismissableElement","trackPositioning","proxyTabFocus"],on:{"CONTROLLED.CLOSE":{target:"closed",actions:["setFinalFocus"]},CLOSE:[{guard:"isOpenControlled",actions:["invokeOnClose"]},{target:"closed",actions:["invokeOnClose","setFinalFocus"]}],TOGGLE:[{guard:"isOpenControlled",actions:["invokeOnClose"]},{target:"closed",actions:["invokeOnClose"]}],"POSITIONING.SET":{actions:["reposition"]}}}},implementations:{guards:{isOpenControlled:({prop:e})=>e("open")!=null},effects:{trackPositioning({context:e,prop:t,scope:r}){e.set("currentPlacement",t("positioning").placement);const n=yc(r)??fr(r);return sc(n,()=>xc(r),{...t("positioning"),defer:!0,onComplete(i){e.set("currentPlacement",i.placement)}})},trackDismissableElement({send:e,prop:t,scope:r}){const n=()=>pr(r);let o=!0;return Tf(n,{type:"popover",pointerBlocking:t("modal"),exclude:fr(r),defer:!0,onEscapeKeyDown(i){t("onEscapeKeyDown")?.(i),!t("closeOnEscape")&&i.preventDefault()},onInteractOutside(i){t("onInteractOutside")?.(i),!i.defaultPrevented&&(o=!(i.detail.focusable||i.detail.contextmenu),t("closeOnInteractOutside")||i.preventDefault())},onPointerDownOutside:t("onPointerDownOutside"),onFocusOutside:t("onFocusOutside"),persistentElements:t("persistentElements"),onRequestDismiss:t("onRequestDismiss"),onDismiss(){e({type:"CLOSE",src:"interact-outside",restoreFocus:o})}})},proxyTabFocus({prop:e,scope:t}){return e("modal")||!e("portalled")?void 0:cx(()=>pr(t),{triggerElement:fr(t),defer:!0,getShadowRoot:!0,onFocus(n){n.focus({preventScroll:!0})}})},hideContentBelow({prop:e,scope:t}){return e("modal")?Kf(()=>[pr(t),fr(t)],{defer:!0}):void 0},preventScroll({prop:e,scope:t}){if(e("modal"))return Xf(t.getDoc())},trapFocus({prop:e,scope:t}){return e("modal")?Af(()=>pr(t),{initialFocus:()=>ql({root:pr(t),getInitialEl:e("initialFocusEl"),enabled:e("autoFocus")}),getShadowRoot:!0}):void 0}},actions:{reposition({event:e,prop:t,scope:r,context:n}){const o=yc(r)??fr(r);sc(o,()=>xc(r),{...t("positioning"),...e.options,defer:!0,listeners:!1,onComplete(s){n.set("currentPlacement",s.placement)}})},checkRenderedElements({context:e,scope:t}){he(()=>{Object.assign(e.get("renderedElements"),{title:!!Uk(t),description:!!qk(t)})})},setInitialFocus({prop:e,scope:t}){e("modal")||he(()=>{ql({root:pr(t),getInitialEl:e("initialFocusEl"),enabled:e("autoFocus")})?.focus({preventScroll:!0})})},setFinalFocus({event:e,scope:t}){const r=e.restoreFocus??e.previousEvent?.restoreFocus;r!=null&&!r||he(()=>{fr(t)?.focus({preventScroll:!0})})},invokeOnOpen({prop:e,flush:t}){t(()=>{e("onOpenChange")?.({open:!0})})},invokeOnClose({prop:e,flush:t}){t(()=>{e("onOpenChange")?.({open:!1})})},toggleVisibility({event:e,send:t,prop:r}){t({type:r("open")?"CONTROLLED.OPEN":"CONTROLLED.CLOSE",previousEvent:e})}}}});const Yk=e=>{const t=g.useId(),{getRootNode:r}=ft(),{dir:n}=Wt(),o={id:t,dir:n,getRootNode:r,...e},i=Rt(Xk,o);return Kk(i,$t)},Zk=e=>{const[t,{children:r,...n}]=Go(e),o=Yk(n),i=Sn(M({present:o.open},t));return S.jsx($p,{value:o,children:S.jsx(Uo,{value:i,children:r})})},Qk=e=>{const[t,{value:r,children:n}]=Go(e),o=Sn(M({present:r.open},t));return S.jsx($p,{value:r,children:S.jsx(Uo,{value:o,children:n})})},eh=g.forwardRef((e,t)=>{const r=mt(),n=M(r.getTitleProps(),e);return S.jsx($.div,{...n,ref:t})});eh.displayName="PopoverTitle";const th=g.forwardRef((e,t)=>{const r=mt(),n=Dr(),o=M({...r.getTriggerProps(),"aria-controls":n.unmounted?void 0:r.getTriggerProps()["aria-controls"]},e);return S.jsx($.button,{...o,ref:t})});th.displayName="PopoverTrigger";const[rh,ni]=Ee({name:"ProgressContext",hookName:"useProgressContext",providerName:"<ProgressProvider />"}),nh=g.forwardRef((e,t)=>
vendor: 4,890 bytes, line 1
1{const r=ni(),n=M(r.getLabelProps(),e);return S.jsx($.span,{...n,ref:t})});nh.displayName="ProgressLabel";const oh=g.forwardRef((e,t)=>{const r=ni(),n=M(r.getRangeProps(),e);return S.jsx($.div,{...n,ref:t})});oh.displayName="ProgressRange";var Da=F("progress").parts("root","label","track","range","valueText","view","circle","circleTrack","circleRange"),yt=Da.build(),Jk=e=>e.ids?.root??`progress-${e.id}`,eS=e=>e.ids?.track??`progress-${e.id}-track`,tS=e=>e.ids?.label??`progress-${e.id}-label`,rS=e=>e.ids?.circle??`progress-${e.id}-circle`;function nS(e,t){const{context:r,computed:n,prop:o,send:i,scope:s}=e,a=n("percent"),l=n("isIndeterminate")?"":n("formatter").format(a/100),c=o("max"),d=o("min"),u=o("orientation"),f=o("translations"),p=n("isIndeterminate"),h=r.get("value"),m=f?.value({value:h,max:c,percent:a,min:d,formatter:n("formatter")})??"",b=oS(h,c),v={role:"progressbar","aria-label":m,"data-max":c,"aria-valuemin":d,"aria-valuemax":c,"aria-valuenow":h??void 0,"data-orientation":u,"data-state":b},x=sS(e);return{value:h,valueAsString:m,min:d,max:c,percent:a,percentAsString:l,indeterminate:p,setValue(y){i({type:"VALUE.SET",value:y})},setToMax(){i({type:"VALUE.SET",value:c})},setToMin(){i({type:"VALUE.SET",value:d})},getRootProps(){return t.element({dir:o("dir"),...yt.root.attrs,id:Jk(s),"data-max":c,"data-value":h??void 0,"data-state":b,"data-orientation":u,style:{"--percent":p?void 0:a}})},getLabelProps(){return t.element({dir:o("dir"),id:tS(s),...yt.label.attrs,"data-orientation":u})},getValueTextProps(){return t.element({dir:o("dir"),"aria-live":"polite",...yt.valueText.attrs})},getTrackProps(){return t.element({dir:o("dir"),id:eS(s),...yt.track.attrs,...v})},getRangeProps(){return t.element({dir:o("dir"),...yt.range.attrs,"data-orientation":u,"data-state":b,style:{[n("isHorizontal")?"width":"height"]:p?void 0:`${a}%`}})},getCircleProps(){return t.element({dir:o("dir"),id:rS(s),...yt.circle.attrs,...v,...x.root})},getCircleTrackProps(){return t.element({dir:o("dir"),"data-orientation":u,...yt.circleTrack.attrs,...x.track})},getCircleRangeProps(){return t.element({dir:o("dir"),...yt.circleRange.attrs,...x.range,"data-state":b})},getViewProps(y){return t.element({dir:o("dir"),...yt.view.attrs,"data-state":y.state,hidden:y.state!==b})}}}function oS(e,t){return e==null?"indeterminate":e===t?"complete":"loading"}var wc={style:{"--radius":"calc(var(--size) / 2 - var(--thickness) / 2)",cx:"calc(var(--size) / 2)",cy:"calc(var(--size) / 2)",r:"var(--radius)",fill:"transparent",strokeWidth:"var(--thickness)"}},iS={style:{width:"var(--size)",height:"var(--size)"}};function sS(e){const{context:t,computed:r}=e;return{root:iS,track:wc,range:{opacity:t.get("value")===0?0:void 0,style:{...wc.style,"--percent":r("percent"),"--circumference":"calc(2 * 3.14159 * var(--radius))","--offset":"calc(var(--circumference) * (100 - var(--percent)) / 100)",strokeDashoffset:"calc(var(--circumference) * ((100 - var(--percent)) / 100))",strokeDasharray:r("isIndeterminate")?void 0:"var(--circumference)",transformOrigin:"center",transform:"rotate(-90deg)"}}}}var aS=Tt({props({props:e}){const t=e.min??0,r=e.max??100;return{orientation:"horizontal",...e,max:r,min:t,defaultValue:e.defaultValue!==void 0?e.defaultValue:dS(t,r),formatOptions:{style:"percent",...e.formatOptions},translations:{value:({value:n,percent:o,formatter:i})=>{if(n===null)return"loading...";if(i){const a=i.resolvedOptions().style==="percent"?o/100:n;return i.format(a)}return n.toString()},...e.translations}}},initialState(){return"idle"},entry:["validateContext"],context({bindable:e,prop:t}){return{value:e(()=>({defaultValue:t("defaultValue"),value:t("value"),onChange(r){t("onValueChange")?.({value:r})}}))}},computed:{isIndeterminate:({context:e})=>e.get("value")===null,percent({context:e,prop:t}){const r=e.get("value");return Vu(r)?Gv(r,t("min"),t("max"))*100:-1},formatter:Zv(({prop:e})=>[e("locale"),e("formatOptions")],([e,t])=>new Intl.NumberFormat(e,t)),isHorizontal:({prop:e})=>e("orientation")==="horizontal"},states:{idle:{on:{"VALUE.SET":{actions:["setValue"]}}}},implementations:{actions:{setValue:({context:e,event:t,prop:r})=>{const n=t.value===null?null:Math.max(0,Math.min(t.value,r("max")));e.set("value",n)},validateContext:({context:e,prop:t})=>{const r=t("max"),n=t("min"),o=e.get("value");if(o!=null){if(!Ma(r))throw new Error(`[progress] The max value passed \`${r}\` is not a valid number`);if(!lS(o,r))throw new Error(`[progress] The value passed \`${o}\` exceeds the max value \`${r}\``);if(!cS(o,n))throw new Error(`[progress] The value passed \`${o}\` exceeds the min value \`${n}\``)}}}}}),Ma=e=>Vu(e)&&!isNaN(e),lS=(e,t)=>Ma(e)&&e<=t,cS=(e,t)=>Ma(e)&&e>=t,dS=(e,t)=>e+(t-e)/2;const uS=e=>{const t=g.useId(),{getRootNode:r}=ft(),{dir:n,locale:o}=Wt(),i={id:t,dir:n,locale:o,getRootNode:r,...e},s=Rt(aS,i);return nS(s,$t)},fS=ye(),ih=g.forwardRef((e,t)=>
1{const[r,n]=fS(e,["defaultValue","formatOptions","id","ids","locale","max","min","onValueChange","orientation","translations","value"]),o=uS(r),i=M(o.getRootProps(),n);return S.jsx(rh,{value:o,children:S.jsx($.div,{...i,ref:t})})});ih.displayName="ProgressRoot";const pS=ye(),sh=g.forwardRef((e,t)=>{const[{value:r},n]=pS(e,["value"]),o=M(r.getRootProps(),n);return S.jsx(rh,{value:r,children:S.jsx($.div,{...o,ref:t})})});sh.displayName="ProgressRootProvider";const ah=g.forwardRef((e,t)=>{const r=ni(),n=M(r.getTrackProps(),e);return S.jsx($.div,{...n,ref:t})});ah.displayName="ProgressTrack";const lh=g.forwardRef((e,t)=>{const{children:r,...n}=e,o=ni(),i=M(o.getValueTextProps(),n);return S.jsx($.span,{...i,ref:t,children:r||o.percentAsString})});lh.displayName="ProgressValueText";var ch=F("qr-code").parts("root","frame","pattern","overlay","downloadTrigger");ch.build();var La=F("radio-group").parts("root","label","item","itemText","itemControl","indicator");La.build();var dh=F("rating-group").parts("root","label","item","control");dh.build();var uh=F("scroll-area").parts("root","viewport","content","scrollbar","thumb","corner");uh.build();const fh=La.rename("segment-group");fh.build();var ph=F("select").parts("label","positioner","trigger","indicator","clearTrigger","item","itemText","itemIndicator","itemGroup","itemGroupLabel","list","content","root","control","valueText");ph.build();var hh=F("slider").parts("root","label","thumb","valueText","track","range","control","markerGroup","marker","draggingIndicator");hh.build();const[mh,Fr]=Ee({name:"SwitchContext",hookName:"useSwitchContext",providerName:"<SwitchProvider />"}),gh=g.forwardRef((e,t)=>{const r=Fr(),n=M(r.getControlProps(),e);return S.jsx($.span,{...n,ref:t})});gh.displayName="SwitchControl";const bh=g.forwardRef((e,t)=>{const r=Fr(),n=M(r.getHiddenInputProps(),e),o=ht();return S.jsx($.input,{"aria-describedby":o?.ariaDescribedby,...n,ref:t})});bh.displayName="SwitchHiddenInput";const vh=g.forwardRef((e,t)=>{const r=Fr(),n=M(r.getLabelProps(),e);return S.jsx($.span,{...n,ref:t})});vh.displayName="SwitchLabel";var yh=F("switch").parts("root","label","control","thumb"),$n=yh.build(),xh=e=>e.ids?.root??`switch:${e.id}`,kc=e=>e.ids?.label??`switch:${e.id}:label`,hS=e=>e.ids?.thumb??`switch:${e.id}:thumb`,mS=e=>e.ids?.control??`switch:${e.id}:control`,xs=e=>e.ids?.hiddenInput??`switch:${e.id}:input`,gS=e=>e.getById(xh(e)),xr=e=>e.getById(xs(e));function bS(e,t){const{context:r,send:n,prop:o,scope:i}=e,s=!!o("disabled"),a=!!o("readOnly"),l=!!o("required"),c=!!r.get("checked"),d=!s&&r.get("focused"),u=!s&&r.get("focusVisible"),f=!s&&r.get("active"),p={"data-active":j(f),"data-focus":j(d),"data-focus-visible":j(u),"data-readonly":j(a),"data-hover":j(r.get("hovered")),"data-disabled":j(s),"data-state":c?"checked":"unchecked","data-invalid":j(o("invalid")),"data-required":j(l)};return{checked:c,disabled:s,focused:d,setChecked(h){n({type:"CHECKED.SET",checked:h,isTrusted:!1})},toggleChecked(){n({type:"CHECKED.TOGGLE",checked:c,isTrusted:!1})},getRootProps(){return t.label({...$n.root.attrs,...p,dir:o("dir"),id:xh(i),htmlFor:xs(i),onPointerMove(){s||n({type:"CONTEXT.SET",context:{hovered:!0}})},onPointerLeave(){s||n({type:"CONTEXT.SET",context:{hovered:!1}})},onClick(h){if(s)return;Pe(h)===xr(i)&&h.stopPropagation(),pa()&&xr(i)?.focus()}})},getLabelProps(){return t.element({...$n.label.attrs,...p,dir:o("dir"),id:kc(i)})},getThumbProps(){return t.element({...$n.thumb.attrs,...p,dir:o("dir"),id:hS(i),"aria-hidden":!0})},getControlProps(){return t.element({...$n.control.attrs,...p,dir:o("dir"),id:mS(i),"aria-hidden":!0})},getHiddenInputProps(){return t.input({id:xs(i),type:"checkbox",required:o("required"),defaultChecked:c,disabled:s,"aria-labelledby":kc(i),"aria-invalid":o("invalid"),name:o("name"),form:o("form"),value:o("value"),style:af,onFocus(){const h=ko();n({type:"CONTEXT.SET",context:{focused:!0,focusVisible:h}})},onBlur(){n({type:"CONTEXT.SET",context:{focused:!1,focusVisible:!1}})},onClick(h){if(a){h.preventDefault();return}const m=h.currentTarget.checked;n({type:"CHECKED.SET",checked:m,isTrusted:!0})}})}}}var{not:Sc}=ca(),vS=Tt({props({props:e}){return{defaultChecked:!1,label:"switch",value:"on",...e}},initialState(){return"ready"},context({prop:e,bindable:t}){return{checked:t(()=>({defaultValue:e("defaultChecked"),value:e("checked"),onChange(r){e("onCheckedChange")?.({checked:r})}})),fieldsetDisabled:t(()=>({defaultValue:!1})),focusVisible:t(()=>({defaultValue:!1})),active:t(()=>({defaultValue:!1})),focused:t(()=>({defaultValue:!1})),hovered:t(()=>({defaultValue:!1}))}},computed:{isDisabled:({context:e,prop:t})=>t("disabled")||e.get("fieldsetDisabled")},watch({track:e,prop:t,context:r,action:n}){e([()=>t("disabled")],()=>{n(["removeFocusIfNeeded"])}),e([()=>r.get("checked")],()=>{n(["syncInputElement"])})},effects:["trackFormControlState","trackPressEvent","trackFocusVisible"],on:{"CHECKED.TOGGLE":[{guard:Sc("isTrusted"),actions:["toggleChecked","dispatchChangeEvent"]},{actions:["toggleChecked"]}],"CHECKED.SET":[{guard:Sc("isTrusted"),actions:["setChecked","dispatchChangeEvent"]},{actions:["setChecked"]}],"CONTEXT.SET":{actions:["setContext"]}},states:{ready:{}},implementations:{guards:{isTrusted:({event:e})=>!!e.isTrusted},effects:{trackPressEvent({computed:e,scope:t,context:r}){if(!e("isDisabled"))return nf({pointerNode:gS(t),keyboardNode:xr(t),isValidKey:n=>n.key===" ",onPress:()=>r.set("active",!1),onPressStart:()=>r.set("active",!0),onPressEnd:()=>r.set("active",!1)})},trackFocusVisible({computed:e,scope:t}){if(!e("isDisabled"))return np({root:t.getRootNode()})},trackFormControlState({context:e,send:t,scope:r}){return Xu(xr(r),{onFieldsetDisabledChange(n){e.set("fieldsetDisabled",n)},onFormReset(){const n=e.initial("checked");t({type:"CHECKED.SET",checked:!!n,src:"form-reset"})}})}},actions:{setContext({context:e,event:t}){for(const r in t.context)e.set(r,t.context[r])},syncInputElement({context:e,scope:t}){const r=xr(t);
1r&&ha(r,!!e.get("checked"))},removeFocusIfNeeded({context:e,prop:t}){t("disabled")&&e.set("focused",!1)},setChecked({context:e,event:t}){e.set("checked",t.checked)},toggleChecked({context:e}){e.set("checked",!e.get("checked"))},dispatchChangeEvent({context:e,scope:t}){queueMicrotask(()=>{const r=xr(t);Ku(r,{checked:e.get("checked")})})}}}});const yS=e=>{const t=g.useId(),{getRootNode:r}=ft(),{dir:n}=Wt(),o=ht(),i={id:t,ids:{label:o?.ids.label,hiddenInput:o?.ids.control},dir:n,disabled:o?.disabled,readOnly:o?.readOnly,invalid:o?.invalid,required:o?.required,getRootNode:r,...e},s=Rt(vS,i);return bS(s,$t)},xS=ye(),wh=g.forwardRef((e,t)=>{const[r,n]=xS(e,["checked","defaultChecked","disabled","form","id","ids","invalid","label","name","onCheckedChange","readOnly","required","value"]),o=yS(r),i=M(o.getRootProps(),n);return S.jsx(mh,{value:o,children:S.jsx($.label,{...i,ref:t})})});wh.displayName="SwitchRoot";const wS=ye(),kh=g.forwardRef((e,t)=>{const[{value:r},n]=wS(e,["value"]),o=M(r.getRootProps(),n);return S.jsx(mh,{value:r,children:S.jsx($.label,{...o,ref:t})})});kh.displayName="SwitchRootProvider";const Sh=g.forwardRef((e,t)=>{const r=Fr(),n=M(r.getThumbProps(),e);return S.jsx($.span,{...n,ref:t})});Sh.displayName="SwitchThumb";var Ch=F("tagsInput").parts("root","label","control","input","clearTrigger","item","itemPreview","itemInput","itemText","itemDeleteTrigger");Ch.build();var Ph=F("tooltip").parts("trigger","arrow","arrowTip","positioner","content");Ph.build();function Fa(e,t=[]){const r=Object.assign({},e);for(const n of t)n in r&&delete r[n];return r}const kS=(e,t)=>{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=t.raw(`opacity.${n}`)?.value;if(!i&&isNaN(Number(n)))return{invalid:!0,value:r};const s=i?Number(i)*100+"%":`${n}%`,a=o??r;return{invalid:!1,color:a,value:`color-mix(in srgb, ${a} ${s}, transparent)`}},J=e=>(t,r)=>{const n=r.utils.colorMix(t);if(n.invalid)return{[e]:t};const o="--mix-"+e;return{[o]:n.value,[e]:`var(${o}, ${n.color})`}};function ws(e){if(e===null||typeof e!="object")return e;if(Array.isArray(e))return e.map(r=>ws(r));const t=Object.create(Object.getPrototypeOf(e));for(const r of Object.keys(e))t[r]=ws(e[r]);return t}function ks(e,t){if(t==null)return e;for(const r of Object.keys(t))if(!(t[r]===void 0||r==="__proto__"))if(!Ve(e[r])&&Ve(t[r]))Object.assign(e,{[r]:t[r]});else if(e[r]&&Ve(t[r]))ks(e[r],t[r]);else if(Array.isArray(t[r])&&Array.isArray(e[r])){let n=0;for(;n<t[r].length;n++)Ve(e[r][n])&&Ve(t[r][n])?ks(e[r][n],t[r][n]):e[r][n]=t[r][n]}else Object.assign(e,{[r]:t[r]});return e}function Wr(e,...t){for(const r of t)ks(e,r);return e}const Ss=e=>e!=null;function dt(e,t,r={}){const{stop:n,getKey:o}=r;function i(s,a=[]){if(Ve(s)||Array.isArray(s)){const l={};for(const[c,d]of Object.entries(s)){const u=o?.(c,d)??c,f=[...a,u];if(n?.(s,f))return t(s,a);const p=i(d,f);Ss(p)&&(l[u]=p)}return l}return t(s,a)}return i(e)}function Pn(e,t){return Array.isArray(e)?e.map(r=>Ss(r)?t(r):r):Ve(e)?dt(e,r=>t(r)):Ss(e)?t(e):e}const Bn=["value","type","description"],SS=e=>e&&typeof e=="object"&&!Array.isArray(e),Th=(...e)=>{const t=Wr({},...e.map(ws));return t.theme?.tokens&&dt(t.theme.tokens,r=>{const i=Object.keys(r).filter(a=>!Bn.includes(a)).length>0,s=Bn.some(a=>r[a]!=null);return i&&s&&(r.DEFAULT||(r.DEFAULT={}),Bn.forEach(a=>{var l;r[a]!=null&&((l=r.DEFAULT)[a]||(l[a]=r[a]),delete r[a])})),r},{stop(r){return SS(r)&&Object.keys(r).some(n=>Bn.includes(n)||n!==n.toLowerCase()&&n!==n.toUpperCase())}}),t},CS=e=>e,me=e=>e,W=e=>e,PS=e=>e,TS=e=>e,It=e=>e,RS=e=>e,ES=e=>e,AS=e=>e;function Rh(){const e=t=>t;return new Proxy(e,{get(){return e}})}const ue=Rh(),Wa=Rh(),Eh=e=>e,IS=/[^a-zA-Z0-9_\u0081-\uffff-]/g;function zS(e){return`${e}`.replace(IS,t=>`\\${t}`)}const NS=/[A-Z]/g;function OS(e){return e.replace(NS,t=>`-${t.toLowerCase()}`)}function Ah(e,t={}){const{fallback:r="",prefix:n=""}=t,o=OS(["-",n,zS(e)].filter(Boolean).join("-"));return{var:o,ref:`var(${o}${r?`, ${r}`:""})`}}const _S=e=>/^var\(--.+\)$/.test(e),ge=(e,t)=>
1t!=null?`${e}(${t})`:t,Gt=e=>{if(_S(e)||e==null)return e;const t=typeof e=="string"&&!e.endsWith("deg");return typeof e=="number"||t?`${e}deg`:e},Cc=e=>({values:["outside","inside","mixed","none"],transform(t,{token:r}){const n=r("colors.colorPalette.focusRing");return{inside:{"--focus-ring-color":n,[e]:{outlineOffset:"0px",outlineWidth:"var(--focus-ring-width, 1px)",outlineColor:"var(--focus-ring-color)",outlineStyle:"var(--focus-ring-style, solid)",borderColor:"var(--focus-ring-color)"}},outside:{"--focus-ring-color":n,[e]:{outlineWidth:"var(--focus-ring-width, 2px)",outlineOffset:"var(--focus-ring-offset, 2px)",outlineStyle:"var(--focus-ring-style, solid)",outlineColor:"var(--focus-ring-color)"}},mixed:{"--focus-ring-color":n,[e]:{outlineWidth:"var(--focus-ring-width, 3px)",outlineStyle:"var(--focus-ring-style, solid)",outlineColor:"color-mix(in srgb, var(--focus-ring-color), transparent 60%)",borderColor:"var(--focus-ring-color)"}},none:{"--focus-ring-color":n,[e]:{outline:"none"}}}[t]??{}}}),VS=J("borderColor"),xt=e=>({transition:e,transitionTimingFunction:"cubic-bezier(0.4, 0, 0.2, 1)",transitionDuration:"150ms"}),DS=CS({hover:["@media (hover: hover)","&:is(:hover, [data-hover]):not(:disabled, [data-disabled])"],active:"&:is(:active, [data-active]):not(:disabled, [data-disabled], [data-state=open])",focus:"&:is(:focus, [data-focus])",focusWithin:"&:is(:focus-within, [data-focus-within])",focusVisible:"&:is(:focus-visible, [data-focus-visible])",disabled:"&:is(:disabled, [disabled], [data-disabled], [aria-disabled=true])",visited:"&:visited",target:"&:target",readOnly:"&:is([data-readonly], [aria-readonly=true], [readonly])",readWrite:"&:read-write",empty:"&:is(:empty, [data-empty])",checked:"&:is(:checked, [data-checked], [aria-checked=true], [data-state=checked])",enabled:"&:enabled",expanded:"&:is([aria-expanded=true], [data-expanded], [data-state=expanded])",highlighted:"&[data-highlighted]",complete:"&[data-complete]",incomplete:"&[data-incomplete]",dragging:"&[data-dragging]",before:"&::before",after:"&::after",firstLetter:"&::first-letter",firstLine:"&::first-line",marker:"&::marker",selection:"&::selection",file:"&::file-selector-button",backdrop:"&::backdrop",first:"&:first-of-type",last:"&:last-of-type",notFirst:"&:not(:first-of-type)",notLast:"&:not(:last-of-type)",only:"&:only-child",even:"&:nth-of-type(even)",odd:"&:nth-of-type(odd)",peerFocus:".peer:is(:focus, [data-focus]) ~ &",peerHover:".peer:is(:hover, [data-hover]):not(:disabled, [data-disabled]) ~ &",peerActive:".peer:is(:active, [data-active]):not(:disabled, [data-disabled]) ~ &",peerFocusWithin:".peer:focus-within ~ &",peerFocusVisible:".peer:is(:focus-visible, [data-focus-visible]) ~ &",peerDisabled:".peer:is(:disabled, [disabled], [data-disabled]) ~ &",peerChecked:".peer:is(:checked, [data-checked], [aria-checked=true], [data-state=checked]) ~ &",peerInvalid:".peer:is(:invalid, [data-invalid], [aria-invalid=true]) ~ &",peerExpanded:".peer:is([aria-expanded=true], [data-expanded], [data-state=expanded]) ~ &",peerPlaceholderShown:".peer:placeholder-shown ~ &",groupFocus:".group:is(:focus, [data-focus]) &",groupHover:".group:is(:hover, [data-hover]):not(:disabled, [data-disabled]) &",groupActive:".group:is(:active, [data-active]):not(:disabled, [data-disabled]) &",groupFocusWithin:".group:focus-within &",groupFocusVisible:".group:is(:focus-visible, [data-focus-visible]) &",groupDisabled:".group:is(:disabled, [disabled], [data-disabled]) &",groupChecked:".group:is(:checked, [data-checked], [aria-checked=true], [data-state=checked]) &",groupExpanded:".group:is([aria-expanded=true], [data-expanded], [data-state=expanded]) &",groupInvalid:".group:invalid &",indeterminate:"&:is(:indeterminate, [data-indeterminate], [aria-checked=mixed], [data-state=indeterminate])",required:"&:is([data-required], [aria-required=true])",valid:"&:is([data-valid], [data-state=valid])",invalid:"&:is([data-invalid], [aria-invalid=true], [data-state=invalid])",autofill:"&:autofill",inRange:"&:is(:in-range, [data-in-range])",outOfRange:"&:is(:out-of-range, [data-outside-range])",placeholder:"&::placeholder, &[data-placeholder]",placeholderShown:"&:is(:placeholder-shown, [data-placeholder-shown])",pressed:"&:is([aria-pressed=true], [data-pressed])",selected:"&:is([aria-selected=true], [data-selected])",grabbed:"&:is([aria-grabbed=true], [data-grabbed])",underValue:"&[data-state=under-value]",overValue:"&[data-state=over-value]",atValue:"&[data-state=at-value]",default:"&:default",optional:"&:optional",open:"&:is([open], [data-open], [data-state=open])",closed:"&:is([closed], [data-closed], [data-state=closed])",fullscreen:"&:is(:fullscreen, [data-fullscreen])",loading:"&:is([data-loading], [aria-busy=true])",hidden:"&:is([hidden], [data-hidden])",current:"&[data-current]",currentPage:"&[aria-current=page]",currentStep:"&[aria-current=step]",today:"&[data-today]",unavailable:"&[data-unavailable]",rangeStart:"&[data-range-start]",rangeEnd:"&[data-range-end]",now:"&[data-now]",topmost:"&[data-topmost]",motionReduce:"@media (prefers-reduced-motion: reduce)",motionSafe:"@media (prefers-reduced-motion: no-preference)",print:"@media print",landscape:"@media (orientation: landscape)",portrait:"@media (orientation: portrait)",dark:".dar
1k &, .dark .chakra-theme:not(.light) &",light:":root &, .light &",osDark:"@media (prefers-color-scheme: dark)",osLight:"@media (prefers-color-scheme: light)",highContrast:"@media (forced-colors: active)",lessContrast:"@media (prefers-contrast: less)",moreContrast:"@media (prefers-contrast: more)",ltr:"[dir=ltr] &",rtl:"[dir=rtl] &",scrollbar:"&::-webkit-scrollbar",scrollbarThumb:"&::-webkit-scrollbar-thumb",scrollbarTrack:"&::-webkit-scrollbar-track",horizontal:"&[data-orientation=horizontal]",vertical:"&[data-orientation=vertical]",icon:"& :where(svg)",starting:"@starting-style"}),wr=Ah("bg-currentcolor"),Pc=e=>e===wr.ref||e==="currentBg",Q=e=>({...e("colors"),currentBg:wr}),MS=Eh({conditions:DS,utilities:{background:{values:Q,shorthand:["bg"],transform(e,t){if(Pc(t.raw))return{background:wr.ref};const r=J("background")(e,t);return{...r,[wr.var]:r?.background}}},backgroundColor:{values:Q,shorthand:["bgColor"],transform(e,t){if(Pc(t.raw))return{backgroundColor:wr.ref};const r=J("backgroundColor")(e,t);return{...r,[wr.var]:r?.backgroundColor}}},backgroundSize:{shorthand:["bgSize"]},backgroundPosition:{shorthand:["bgPos"]},backgroundRepeat:{shorthand:["bgRepeat"]},backgroundAttachment:{shorthand:["bgAttachment"]},backgroundClip:{shorthand:["bgClip"],values:["text"],transform(e){return e==="text"?{color:"transparent",backgroundClip:"text"}:{backgroundClip:e}}},backgroundGradient:{shorthand:["bgGradient"],values(e){return{...e("gradients"),"to-t":"linear-gradient(to top, var(--gradient))","to-tr":"linear-gradient(to top right, var(--gradient))","to-r":"linear-gradient(to right, var(--gradient))","to-br":"linear-gradient(to bottom right, var(--gradient))","to-b":"linear-gradient(to bottom, var(--gradient))","to-bl":"linear-gradient(to bottom left, var(--gradient))","to-l":"linear-gradient(to left, var(--gradient))","to-tl":"linear-gradient(to top left, var(--gradient))"}},transform(e){return{"--gradient-stops":"var(--gradient-from), var(--gradient-to)","--gradient":"var(--gradient-via-stops, var(--gradient-stops))",backgroundImage:e}}},gradientFrom:{values:Q,transform:J("--gradient-from")},gradientTo:{values:Q,transform:J("--gradient-to")},gradientVia:{values:Q,transform(e,t){return{...J("--gradient-via")(e,t),"--gradient-via-stops":"var(--gradient-from), var(--gradient-via), var(--gradient-to)"}}},backgroundImage:{values(e){return{...e("gradients"),...e("assets")}},shorthand:["bgImg","bgImage"]},border:{values:"borders"},borderTop:{values:"borders"},borderLeft:{values:"borders"},borderBlockStart:{values:"borders"},borderRight:{values:"borders"},borderBottom:{values:"borders"},borderBlockEnd:{values:"borders"},borderInlineStart:{values:"borders",shorthand:["borderStart"]},borderInlineEnd:{values:"borders",shorthand:["borderEnd"]},borderInline:{values:"borders",shorthand:["borderX"]},borderBlock:{values:"borders",shorthand:["borderY"]},borderColor:{values:Q,transform:J("borderColor")},borderTopColor:{values:Q,transform:J("borderTopColor")},borderBlockStartColor:{values:Q,transform:J("borderBlockStartColor")},borderBottomColor:{values:Q,transform:J("borderBottomColor")},borderBlockEndColor:{values:Q,transform:J("borderBlockEndColor")},borderLeftColor:{values:Q,transform:J("borderLeftColor")},borderInlineStartColor:{values:Q,shorthand:["borderStartColor"],transform:J("borderInlineStartColor")},borderRightColor:{values:Q,transform:J("borderRightColor")},borderInlineEndColor:{values:Q,shorthand:["borderEndColor"],transform:J("borderInlineEndColor")},borderStyle:{values:"borderStyles"},borderTopStyle:{values:"borderStyles"},borderBlockStartStyle:{values:"borderStyles"},borderBottomStyle:{values:"borderStyles"},borderBlockEndStyle:{values:"borderStyles"},borderInlineStartStyle:{values:"borderStyles",shorthand:["borderStartStyle"]},borderInlineEndStyle:{values:"borderStyles",shorthand:["borderEndStyle"]},borderLeftStyle:{values:"borderStyles"},borderRightStyle:{values:"borderStyles"},borderRadius:{values:"radii",shorthand:["rounded"]},borderTopLeftRadius:{values:"radii",shorthand:["roundedTopLeft"]},borderStartStartRadius:{values:"radii",shorthand:["roundedStartStart","borderTopStartRadius"]},borderEndStartRadius:{values:"radii",shorthand:["roundedEndStart","borderBottomStartRadius"]},borderTopRightRadius:{values:"radii",shorthand:["roundedTopRight"]},borderStartEndRadius:{values:"radii",shorthand:["roundedStartEnd","borderTopEndRadius"]},borderEndEndRadius:{values:"radii",shorthand:["roundedEndEnd","borderBottomEndRadius"]},borderBottomLeftRadius:{values:"radii",shorthand:["roundedBottomLeft"]},borderBottomRightRadius:{values:"radii",shorthand:["roundedBottomRight"]},borderInlineStartRadius:{values:"radii",property:"borderRadius",shorthand:["roundedStart","borderStartRadius"],transform:e=>({borderStartStartRadius:e,borderEndStartRadius:e})},borderInlineEndRadius:{values:"radii",property:"borderRadius",shorthand:["roundedEnd","borderEndRadius"],transform:e=>({borderStartEndRadius:e,borderEndEndRadius:e})},borderTopRadius:{values:"radii",property:"borderRadius",shorthand:["roundedTop"],transform:e=>({borderTopLeftRadius:e,borderTopRightRadius:e})},borderBottomRadius:{values:"radii",property:"borderRadius",shorthand:["roundedBottom"],transform:e=>({borderBottomLeftRadius:e,borderBottomRightRadius:e})},borderLeftRadius:{values:"radii",property:"borderRadius",shorthand:["roundedLeft"],transform:e=>({borderTopLeftRadius:e,borderBottomLeftRadius:e})},borderRightRadius:{values:"radii",property:"borderRadius",shorthand:["roundedRight"],transform:e=>({borderTopRightRadius:e,borderBottomRightRadius:e})},borderWidth:{values:"borderWidths"},borderBlockStartWidth:{values:"borderWidths"},borderTopWidth:{values:"borderWidths"},borderBottomWidth:{values:"borderWidths"},borderBlockEndWidth:{values:"borderWidths"},borderRightWidth:{values:"borderWidths"},borderInlineWidth:{values:"borderWidths",shorthand:["borderXWidth"]},borderInlineStartWidth:{values:"borderWidths",shorthand:["borderStartWidth"]},borderInlineEndWidth:{values:"borderWidths",shorthand:["borderEndWidth"]},borderLeftWidth:{values:"borderWidths"},borderBlockWidth:{values:"borderWidths",shorthand:["borderYWidth"]},color:{values:Q,transform:J("color")},fill:{values:Q,transform:J("fill")},stroke:{values:Q,transform:J("stroke")},accentColor:{values:Q,transform:J("accentColor")},divideX:{values:{type:"string"},transform(e){return{"& > :not(style, [hidden]) ~ :not(style, [hidden])":{borderInlineStartWidth:e,borderInlineEndWidth:"0px"}}}},divideY:{values:{type:"string"},transform(e){return{"& > :not(style, [hidden]) ~ :not(style, [hidden])":{borderTopWidth:e,borderBottomWidth:"0px"}}}},divideColor:{values:Q,transform(e,t){return{"& > :not(style, [hidden]) ~ :not(style, [hidden])":VS(e,t)}}},divideStyle:{property:"borderStyle",transform(e){return{"& > :not(style, [hidden]) ~ :not(style, [hidden])":{borderStyle:e}}}},boxShadow:{values:"shadows",shorthand:["shadow"]}
1,boxShadowColor:{values:Q,transform:J("--shadow-color"),shorthand:["shadowColor"]},mixBlendMode:{shorthand:["blendMode"]},backgroundBlendMode:{shorthand:["bgBlendMode"]},opacity:{values:"opacity"},filter:{transform(e){return e!=="auto"?{filter:e}:{filter:"var(--blur) var(--brightness) var(--contrast) var(--grayscale) var(--hue-rotate) var(--invert) var(--saturate) var(--sepia) var(--drop-shadow)"}}},blur:{values:"blurs",transform:e=>({"--blur":ge("blur",e)})},brightness:{transform:e=>({"--brightness":ge("brightness",e)})},contrast:{transform:e=>({"--contrast":ge("contrast",e)})},grayscale:{transform:e=>({"--grayscale":ge("grayscale",e)})},hueRotate:{transform:e=>({"--hue-rotate":ge("hue-rotate",Gt(e))})},invert:{transform:e=>({"--invert":ge("invert",e)})},saturate:{transform:e=>({"--saturate":ge("saturate",e)})},sepia:{transform:e=>({"--sepia":ge("sepia",e)})},dropShadow:{transform:e=>({"--drop-shadow":ge("drop-shadow",e)})},backdropFilter:{transform(e){return e!=="auto"?{backdropFilter:e}:{backdropFilter:"var(--backdrop-blur) var(--backdrop-brightness) var(--backdrop-contrast) var(--backdrop-grayscale) var(--backdrop-hue-rotate) var(--backdrop-invert) var(--backdrop-opacity) var(--backdrop-saturate) var(--backdrop-sepia)"}}},backdropBlur:{values:"blurs",transform:e=>({"--backdrop-blur":ge("blur",e)})},backdropBrightness:{transform:e=>({"--backdrop-brightness":ge("brightness",e)})},backdropContrast:{transform:e=>({"--backdrop-contrast":ge("contrast",e)})},backdropGrayscale:{transform:e=>({"--backdrop-grayscale":ge("grayscale",e)})},backdropHueRotate:{transform:e=>({"--backdrop-hue-rotate":ge("hue-rotate",Gt(e))})},backdropInvert:{transform:e=>({"--backdrop-invert":ge("invert",e)})},backdropOpacity:{transform:e=>({"--backdrop-opacity":ge("opacity",e)})},backdropSaturate:{transform:e=>({"--backdrop-saturate":ge("saturate",e)})},backdropSepia:{transform:e=>({"--backdrop-sepia":ge("sepia",e)})},flexBasis:{values:"sizes"},gap:{values:"spacing"},rowGap:{values:"spacing",shorthand:["gapY"]},columnGap:{values:"spacing",shorthand:["gapX"]},flexDirection:{shorthand:["flexDir"]},gridGap:{values:"spacing"},gridColumnGap:{values:"spacing"},gridRowGap:{values:"spacing"},outlineColor:{values:Q,transform:J("outlineColor")},focusRing:Cc("&:is(:focus, [data-focus])"),focusVisibleRing:Cc("&:is(:focus-visible, [data-focus-visible])"),focusRingColor:{values:Q,transform:J("--focus-ring-color")},focusRingOffset:{values:"spacing",transform:e=>({"--focus-ring-offset":e})},focusRingWidth:{values:"borderWidths",property:"outlineWidth",transform:e=>({"--focus-ring-width":e})},focusRingStyle:{values:"borderStyles",property:"outlineStyle",transform:e=>({"--focus-ring-style":e})},aspectRatio:{values:"aspectRatios"},width:{values:"sizes",shorthand:["w"]},inlineSize:{values:"sizes"},height:{values:"sizes",shorthand:["h"]},blockSize:{values:"sizes"},boxSize:{values:"sizes",property:"width",transform:e=>({width:e,height:e})},minWidth:{values:"sizes",shorthand:["minW"]},minInlineSize:{values:"sizes"},minHeight:{values:"sizes",shorthand:["minH"]},minBlockSize:{values:"sizes"},maxWidth:{values:"sizes",shorthand:["maxW"]},maxInlineSize:{values:"sizes"},maxHeight:{values:"sizes",shorthand:["maxH"]},maxBlockSize:{values:"sizes"},hideFrom:{values:"breakpoints",transform:(e,{raw:t,token:r})=>({[r.raw(`breakpoints.${t}`)?`@breakpoint ${t}`:`@media screen and (min-width: ${e})`]:{display:"none"}})},hideBelow:{values:"breakpoints",transform(e,{raw:t,token:r}){return{[r.raw(`breakpoints.${t}`)?`@breakpoint ${t}Down`:`@media screen and (max-width: ${e})`]:{display:"none"}}}},overscrollBehavior:{shorthand:["overscroll"]},overscrollBehaviorX:{shorthand:["overscrollX"]},overscrollBehaviorY:{shorthand:["overscrollY"]},scrollbar:{values:["visible","hidden"],transform(e){switch(e){case"visible":return{msOverflowStyle:"auto",scrollbarWidth:"auto","&::-webkit-scrollbar":{display:"block"}};case"hidden":return{msOverflowStyle:"none",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}};default:return{}}}},scrollbarColor:{values:Q,transform:J("scrollbarColor")},scrollbarGutter:{values:"spacing"},scrollbarWidth:{values:"sizes"},scrollMargin:{values:"spacing"},scrollMarginTop:{values:"spacing"},scrollMarginBottom:{values:"spacing"},scrollMarginLeft:{values:"spacing"},scrollMarginRight:{values:"spacing"},scrollMarginX:{values:"spacing",transform:e=>({scrollMarginLeft:e,scrollMarginRight:e})},scrollMarginY:{values:"spacing",transform:e=>({scrollMarginTop:e,scrollMarginBottom:e})},scrollPadding:{values:"spacing"},scrollPaddingTop:{values:"spacing"},scrollPaddingBottom:{values:"spacing"},scrollPaddingLeft:{values:"spacing"},scrollPaddingRight:{values:"spacing"},scrollPaddingInline:{values:"spacing",shorthand:["scrollPaddingX"]},scrollPaddingBlock:{values:"spacing",shorthand:["scrollPaddingY"]},scrollSnapType:{values:{none:"none",x:"x var(--scroll-snap-strictness)",y:"y var(--scroll-snap-strictness)",both:"both var(--scroll-snap-strictness)"}},scrollSnapStrictness:{values:["mandatory","proximity"],transform:e=>({"--scroll-snap-strictness":e})},scrollSnapMargin:{values:"spacing"},scrollSnapMarginTop:{values:"spacing"},scrollSnapMarginBottom:{values:"spacing"},scrollSnapMarginLeft:{values:"spacing"},scrollSnapMarginRight:{values:"spacing"},listStylePosition:{shorthand:["listStylePos"]},listStyleImage:{values:"assets",shorthand:["listStyleImg"]},position:{shorthand:["pos"]},zIndex:{values:"zIndex"},inset:{values:"spacing"},insetInline:{values:"spacing",shorthand:["insetX"]},insetBlock:{values:"spacing",shorthand:["insetY"]},top:{values:"spacing"},insetBlockStart:{values:"spacing"},bottom:{values:"spacing"},insetBlockEnd:{values:"spacing"},left:{values:"spacing"},right:{values:"spacing"},insetInlineStart:{values:"spacing",shorthand:["insetStart"]},insetInlineEnd:{values:"spacing",shorthand:["insetEnd"]},ring:{transform(e){return{"--ring-offset-shadow":"var(--ring-inset) 0 0 0 var(--ring-offset-width) var(--ring-offset-color)","--ring-shadow":"var(--ring-inset) 0 0 0 calc(var(--ring-width) + var(--ring-offset-width)) var(--ring-color)","--ring-width":e,boxShadow:"var(--ring-offset-shadow), var(--ring-shadow), var(--shadow, 0 0 #0000)"}}},ringColor:{values:Q,transform:J("--ring-color")},ringOffset:{transform:e=>({"--ring-offset-width":e})},ringOffsetColor:{values:Q,transform:J("--ring-offset-color")},ringInset:{transform:e=>({"--ring-inset":e})},margin:{values:"spacing",shorthand:["m"]},marginTop:{values:"spacing",shorthand:["mt"]},marginBlockStart:{values:"spacing"},marginRight:{values:"spacing",shorthand:["mr"]},marginBottom:{values:"spacing",shorthand:["mb"]},marginBlockEnd:{values:"spacing"},marginLeft:{values:"spacing",shorthand:["ml"]},marginInlineStart:{values:"spacing",shorthand:["ms","marginStart"]},marginInlineEnd:{values:"spacing",shorthand:["me","marginEnd"]},marginInline:{values:"spacing",shorthand:["mx","marginX"]},marginBlock:{values:"spacing",shorthand:["my","marginY"]},padding:{values:"spacing",shorthand:["p"]},paddingTop:{values:"spacing",shorthand:["pt"]},paddingRight:{values:"spacing",shorthand:["pr"]},paddingBottom:{values:"spacing",shorthand:["pb"]},paddingBlockStart:{values:"spacing"},paddingBlockEnd:{values:"spacing"},paddingLeft:{values:"spacing",shorthand:["pl"]},paddingInlineStart:{values:"spacing",shorthand:["ps","paddingStart"]},paddingInlineEnd:{values:"spacing",shorthand:["pe","paddingEnd"]},paddingInline:{values:"spacing",shorthand:["px","paddingX"]},paddingBlock:{values:"spacing",shorthand:["py","paddingY"]},textDecoration:{shorthand:["textDecor"]},textDecorationColor:{values:Q,transform:J("textDecorationColor")},textShadow:{values:"shadows"},transform:{transform:e=>{let t=e;return e==="auto"&&(t="translateX(var(--translate-x, 0)) translateY(var(--translate-y, 0)) rotate(var(--rotate, 0)) scaleX(var(--scale-x, 1)) scaleY(var(--scale-y, 1)) skewX(var(--skew-x, 0)) skewY(var(--skew-y, 0))"),e==="auto-gpu"&&(t="translate3d(var(--translate-x, 0), var(--translate-y, 0), 0) rotate(var(--rotate, 0)) scaleX(var(--scale-x, 1)) scaleY(var(--scale-y, 1)) skewX(var(--skew-x, 0)) skewY(var(--skew-y, 0))"),{transform:t}}},skewX:{transform:e=>({"--skew-x":Gt(e)})},skewY:{transform:e=>({"--skew-y":Gt(e)})},scaleX:{transform:e=>({"--scale-x":e})},scaleY:{transform:e=>({"--scale-y":e})},scale:{transform(e){return e!=="auto"?{scale:e}:{scale:"var(--scale-x, 1) var(--scale-y, 1)"}}},spaceXReverse:{values:{type:"boolean"},transform(e){return{"& > :not(style, [hidden]) ~ :not(style, [hidden])":{"--space-x-reverse":e?"1":void 0}}}},spaceX:{property:"marginInlineStart",values:"spacing",transform:e=>({"& > :not(style, [hidden]) ~ :not(style, [hidden])":{"--space-x-reverse":"0",marginInlineStart:`calc(${e} * calc(1 - var(--space-x-reverse)))`,marginInlineEnd:`calc(${e} * var(--space-x-reverse))`}})}
1,spaceYReverse:{values:{type:"boolean"},transform(e){return{"& > :not(style, [hidden]) ~ :not(style, [hidden])":{"--space-y-reverse":e?"1":void 0}}}},spaceY:{property:"marginTop",values:"spacing",transform:e=>({"& > :not(style, [hidden]) ~ :not(style, [hidden])":{"--space-y-reverse":"0",marginTop:`calc(${e} * calc(1 - var(--space-y-reverse)))`,marginBottom:`calc(${e} * var(--space-y-reverse))`}})},rotate:{transform(e){return e!=="auto"?{rotate:Gt(e)}:{rotate:"var(--rotate-x, 0) var(--rotate-y, 0) var(--rotate-z, 0)"}}},rotateX:{transform(e){return{"--rotate-x":Gt(e)}}},rotateY:{transform(e){return{"--rotate-y":Gt(e)}}},translate:{transform(e){return e!=="auto"?{translate:e}:{translate:"var(--translate-x) var(--translate-y)"}}},translateX:{values:"spacing",transform:e=>({"--translate-x":e})},translateY:{values:"spacing",transform:e=>({"--translate-y":e})},transition:{values:["all","common","colors","opacity","position","backgrounds","size","shadow","transform"],transform(e){switch(e){case"all":return xt("all");case"position":return xt("left, right, top, bottom, inset-inline, inset-block");case"colors":return xt("color, background-color, border-color, text-decoration-color, fill, stroke");case"opacity":return xt("opacity");case"shadow":return xt("box-shadow");case"transform":return xt("transform");case"size":return xt("width, height");case"backgrounds":return xt("background, background-color, background-image, background-position");case"common":return xt("color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter");default:return{transition:e}}}},transitionDuration:{values:"durations"},transitionProperty:{values:{common:"background-color, border-color, color, fill, stroke, opacity, box-shadow, translate, transform",colors:"background-color, border-color, color, fill, stroke",size:"width, height",position:"left, right, top, bottom, inset-inline, inset-block",background:"background, background-color, background-image, background-position"}},transitionTimingFunction:{values:"easings"},animation:{values:"animations"},animationDuration:{values:"durations"},animationDelay:{values:"durations"},animationTimingFunction:{values:"easings"},fontFamily:{values:"fonts"},fontSize:{values:"fontSizes"},fontWeight:{values:"fontWeights"},lineHeight:{values:"lineHeights"},letterSpacing:{values:"letterSpacings"},textIndent:{values:"spacing"},truncate:{values:{type:"boolean"},transform(e){return e===!0?{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}:{}}},lineClamp:{transform(e){return e==="none"?{WebkitLineClamp:"unset"}:{overflow:"hidden",display:"-webkit-box",WebkitLineClamp:e,WebkitBoxOrient:"vertical",textWrap:"wrap"}}},borderSpacing:{values:e=>({...e("spacing"),auto:"var(--border-spacing-x, 0) var(--border-spacing-y, 0)"})},borderSpacingX:{values:"spacing",transform(e){return{"--border-spacing-x":e}}},borderSpacingY:{values:"spacing",transform(e){return{"--border-spacing-y":e}}},srOnly:{values:{type:"boolean"},transform(e){return LS[e]||{}}},debug:{values:{type:"boolean"},transform(e){return e?{outline:"1px solid blue !important","& > *":{outline:"1px solid red !important"}}:{}}},caretColor:{values:Q,transform:J("caretColor")},cursor:{values:"cursor"}}}),LS={true:{position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0"},false:{position:"static",width:"auto",height:"auto",padding:"0",margin:"0",overflow:"visible",clip:"auto",whiteSpace:"normal"}};var FS="",WS=FS.split(","),$S="WebkitAppearance,WebkitBorderBefore,WebkitBorderBeforeColor,WebkitBorderBeforeStyle,WebkitBorderBeforeWidth,WebkitBoxReflect,WebkitLineClamp,WebkitMask,WebkitMaskAttachment,WebkitMaskClip,WebkitMaskComposite,WebkitMaskImage,WebkitMaskOrigin,WebkitMaskPosition,WebkitMaskPositionX,WebkitMaskPositionY,WebkitMaskRepeat,WebkitMaskRepeatX,WebkitMaskRepeatY,WebkitMaskSize,WebkitOverflowScrolling,WebkitTapHighlightColor,WebkitTextFillColor,WebkitTextStroke,WebkitTextStrokeColor,WebkitTextStrokeWidth,WebkitTouchCallout,WebkitUserModify,WebkitUserSelect,accentColor,alignContent,alignItems,al
1ignSelf,alignTracks,all,anchorName,anchorScope,animation,animationComposition,animationDelay,animationDirection,animationDuration,animationFillMode,animationIterationCount,animationName,animationPlayState,animationRange,animationRangeEnd,animationRangeStart,animationTimeline,animationTimingFunction,appearance,aspectRatio,backdropFilter,backfaceVisibility,background,backgroundAttachment,backgroundBlendMode,backgroundClip,backgroundColor,backgroundImage,backgroundOrigin,backgroundPosition,backgroundPositionX,backgroundPositionY,backgroundRepeat,backgroundSize,blockSize,border,borderBlock,borderBlockColor,borderBlockEnd,borderBlockEndColor,borderBlockEndStyle,borderBlockEndWidth,borderBlockStart,borderBlockStartColor,borderBlockStartStyle,borderBlockStartWidth,borderBlockStyle,borderBlockWidth,borderBottom,borderBottomColor,borderBottomLeftRadius,borderBottomRightRadius,borderBottomStyle,borderBottomWidth,borderCollapse,borderColor,borderEndEndRadius,borderEndStartRadius,borderImage,borderImageOutset,borderImageRepeat,borderImageSlice,borderImageSource,borderImageWidth,borderInline,borderInlineColor,borderInlineEnd,borderInlineEndColor,borderInlineEndStyle,borderInlineEndWidth,borderInlineStart,borderInlineStartColor,borderInlineStartStyle,borderInlineStartWidth,borderInlineStyle,borderInlineWidth,borderLeft,borderLeftColor,borderLeftStyle,borderLeftWidth,borderRadius,borderRight,borderRightColor,borderRightStyle,borderRightWidth,borderSpacing,borderStartEndRadius,borderStartStartRadius,borderStyle,borderTop,borderTopColor,borderTopLeftRadius,borderTopRightRadius,borderTopStyle,borderTopWidth,borderWidth,bottom,boxAlign,boxDecorationBreak,boxDirection,boxFlex,boxFlexGroup,boxLines,boxOrdinalGroup,boxOrient,boxPack,boxShadow,boxSizing,breakAfter,breakBefore,breakInside,captionSide,caret,caretColor,caretShape,clear,clip,clipPath,clipRule,color,colorInterpolationFilters,colorScheme,columnCount,columnFill,columnGap,columnRule,columnRuleColor,columnRuleStyle,columnRuleWidth,columnSpan,columnWidth,columns,contain,containIntrinsicBlockSize,containIntrinsicHeight,containIntrinsicInlineSize,containIntrinsicSize,containIntrinsicWidth,container,containerName,containerType,content,contentVisibility,cornerShape,counterIncrement,counterReset,counterSet,cursor,cx,cy,d,direction,display,dominantBaseline,emptyCells,fieldSizing,fill,fillOpacity,fillRule,filter,flex,flexBasis,flexDirection,flexFlow,flexGrow,flexShrink,flexWrap,float,floodColor,floodOpacity,font,fontFamily,fontFeatureSettings,fontKerning,fontLanguageOverride,fontOpticalSizing,fontPalette,fontSize,fontSizeAdjust,fontSmooth,fontStretch,fontStyle,fontSynthesis,fontSynthesisPosition,fontSynthesisSmallCaps,fontSynthesisStyle,fontSynthesisWeight,fontVariant,fontVariantAlternates,fontVariantCaps,fontVariantEastAsian,fontVariantEmoji,fontVariantLigatures,fontVariantNumeric,fontVariantPosition,fontVariationSettings,fontWeight,forcedColorAdjust,gap,grid,gridArea,gridAutoColumns,gridAutoFlow,gridAutoRows,gridColumn,gridColumnEnd,gridColumnGap,gridColumnStart,gridGap,gridRow,gridRowEnd,gridRowGap,gridRowStart,gridTemplate,gridTemplateAreas,gridTemplateColumns,gridTemplateRows,hangingPunctuation,height,hyphenateCharacter,hyphenateLimitChars,hyphens,imageOrientation,imageRendering,imageResolution,imeMode,initialLetter,initialLetterAlign,inlineSize,inset,insetBlock,insetBlockEnd,insetBlockStart,insetInline,insetInlineEnd,insetInlineStart,interpolateSize,isolation,justifyContent,justifyItems,justifySelf,justifyTracks,left,letterSpacing,lightingColor,lineBreak,lineClamp,lineHeight,lineHeightStep,listStyle,listStyleImage,listStylePosition,listStyleType,margin,marginBlock,marginBlockEnd,marginBlockStart,marginBottom,marginInline,marginInlineEnd,marginInlineStart,marginLeft,marginRight,marginTop,marginTrim,marker,markerEnd,markerMid,markerStart,mask,maskBorder,maskBorderMode,maskBorderOutset,maskBorderRepeat,maskBorderSlice,maskBorderSource,maskBorderWidth,maskClip,maskComposite,maskImage,maskMode,maskOrigin,maskPosition,maskRepeat,maskSize,maskType,masonryAutoFlow,mathDepth,mathShift,mathStyle,maxBlockSize,maxHeight,maxInlineSize,maxLines,maxWidth,minBlockSize,minHeight,minInlineSize,minWidth,mixBlendMode,objectFit,objectPosition,offset,offsetAnchor,offsetDistance,offsetPath,offsetPosition,offsetRotate,opacity,order,orphans,outline,outlineColor,outlineOffset,outlineStyle,outlineWidth,overflow,overflowAnchor,overflowBlock,overflowClipBox,overflowClipMargin,overflowInline,overflowWrap,overflowX,overflowY,overlay,overscrollBehavior,overscrollBehaviorBlock,overscrollBehaviorInline,overscrollBehaviorX,overscrollBehaviorY,padding,paddingBlock,paddingBlockEnd,paddingBlockStart,paddingBottom,paddingInline,paddingInlineEnd,paddingInlineStart,paddingLeft,paddingRight,paddingTop,page,pageBreakAfter,pageBreakBefore,pageBreakInside,paintOrder,perspective,perspectiveOrigin,placeContent,placeItems,placeSelf,pointerEvents,position,positionAnchor,positionArea,positionTry,positionTryFallbacks,positionTryOrder,positionVisibility,printColorAdjust,quotes,r,resize,right,rotate,rowGap,rubyAlign,rubyMerge,rubyPosition,rx,ry,scale,scrollBehavior,scrollMargin,scrollMarginBlock,scrollMarginBlockEnd,scrollMarginBlockStart,scrollMarginBottom,scrollMarginInline,scrollMarginInlineEnd,scrollMarginInlineStart,scrollMarginLeft,scrollMarginRight,scrollMarginTop,scrollPadding,scrollPaddingBlock,scrollPaddingBlockEnd,scrollPaddingBlockStart,scrollPaddingBottom,scrollPaddingInline,scrollPaddingInlineEnd,scrollPaddingInlineStart,scrollPaddingLeft,scrollPaddingRight,scrollPaddingTop,scrollSnapAlign,scrollSnapCoordinate,
1scrollSnapDestination,scrollSnapPointsX,scrollSnapPointsY,scrollSnapStop,scrollSnapType,scrollSnapTypeX,scrollSnapTypeY,scrollTimeline,scrollTimelineAxis,scrollTimelineName,scrollbarColor,scrollbarGutter,scrollbarWidth,shapeImageThreshold,shapeMargin,shapeOutside,shapeRendering,stopColor,stopOpacity,stroke,strokeDasharray,strokeDashoffset,strokeLinecap,strokeLinejoin,strokeMiterlimit,strokeOpacity,strokeWidth,tabSize,tableLayout,textAlign,textAlignLast,textAnchor,textBox,textBoxEdge,textBoxTrim,textCombineUpright,textDecoration,textDecorationColor,textDecorationLine,textDecorationSkip,textDecorationSkipInk,textDecorationStyle,textDecorationThickness,textEmphasis,textEmphasisColor,textEmphasisPosition,textEmphasisStyle,textIndent,textJustify,textOrientation,textOverflow,textRendering,textShadow,textSizeAdjust,textSpacingTrim,textTransform,textUnderlineOffset,textUnderlinePosition,textWrap,textWrapMode,textWrapStyle,timelineScope,top,touchAction,transform,transformBox,transformOrigin,transformStyle,transition,transitionBehavior,transitionDelay,transitionDuration,transitionProperty,transitionTimingFunction,translate,unicodeBidi,userSelect,vectorEffect,verticalAlign,viewTimeline,viewTimelineAxis,viewTimelineInset,viewTimelineName,viewTransitionName,visibility,whiteSpace,whiteSpaceCollapse,widows,width,willChange,wordBreak,wordSpacing,wordWrap,writingMode,x,y,zIndex,zoom,alignmentBaseline,baselineShift,colorInterpolation,colorRendering,glyphOrientationVertical",BS=$S.split(",").concat(WS),jS=new Map(BS.map(e=>[e,!0]));function HS(e){const t=Object.create(null);return r=>(t[r]===void 0&&(t[r]=e(r)),t[r])}var GS=/&|@/,US=HS(e=>jS.has(e)||e.startsWith("--")||GS.test(e));function Ye(e,t){const r={};for(const n in e){const o=t(n,e[n]);r[o[0]]=o[1]}return r}function Ih(e,t){const r={};return dt(e,(n,o)=>{n&&(r[o.join(".")]=n.value)},{stop:t}),r}var qS=Object.defineProperty,KS=(e,t,r)=>t in e?qS(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Tc=(e,t,r)=>KS(e,typeof t!="symbol"?t+"":t,r);function So(e){if(e===null)return"null";if(e===void 0)return"undefined";const t=typeof e;return t==="string"?`s:${e}`:t==="number"?`n:${e}`:t==="boolean"?`b:${e}`:t==="function"?`f:${e.name||"anonymous"}`:Array.isArray(e)?`a:[${e.map(So).join(",")}]`:t==="object"?`o:{${Object.keys(e).sort().map(n=>`${n}:${So(e[n])}`).join(",")}}`:String(e)}class XS{constructor(t=500){Tc(this,"cache",new Map),Tc(this,"maxSize"),this.maxSize=t}get(t){const r=this.cache.get(t);return r!==void 0&&(this.cache.delete(t),this.cache.set(t,r)),r}set(t,r){if(this.cache.has(t))this.cache.delete(t);else if(this.cache.size>=this.maxSize){const n=this.cache.keys().next().value;n!==void 0&&this.cache.delete(n)}this.cache.set(t,r)}clear(){this.cache.clear()}}const ze=e=>{const t=new XS;function r(...n){const o=n.length===1?So(n[0]):n.map(So).join("|");let i=t.get(o);return i===void 0&&(i=e.apply(this,n),t.set(o,i)),i}return r},zh=16,Co="px",$a="em",on="rem";function Nh(e=""){const t=new RegExp(String.raw`-?\d+(?:\.\d+|\d*)`),r=new RegExp(`${Co}|${$a}|${on}`);return e.match(new RegExp(`${t.source}(${r.source})`))?.[1]}function Oh(e=""){if(typeof e=="number")return`${e}px`;const t=Nh(e);if(!t||t===Co)return e;if(t===$a||t===on)return`${parseFloat(e)*zh}${Co}`}function _h(e=""){const t=Nh(e);if(!t||t===on)return e;if(t===$a)return`${parseFloat(e)}${on}`;if(t===Co)return`${parseFloat(e)/zh}${on}`}const YS=e=>e.charAt(0).toUpperCase()+e.slice(1);function ZS(e){const t=QS(e),r=Object.fromEntries(t);function n(f){return r[f]}function o(f){return hr(n(f))}function i(){const f=Object.keys(r),p=JS(f),h=f.flatMap(m=>{const b=n(m),v=[`${m}Down`,hr({max:eo(b.min)})],x=[m,hr({min:b.min})],y=[`${m}Only`,o(m)];return[x,y,v]}).filter(([,m])=>m!=="").concat(p.map(([m,b])=>{const v=n(m),x=n(b);return[`${m}To${YS(b)}`,hr({min:v.min,max:eo(x.min)})]}));return Object.fromEntries(h)}function s(){const f=i();return Object.fromEntries(Object.entries(f))}const a=s(),l=f=>a[f];function c(){return ia(["base",...Object.keys(r)])}function d(f){return hr({min:n(f).min})}function u(f){return hr({max:eo(n(f).min)})}return{values:Object.values(r),only:o,keys:c,conditions:a,getCondition:l,up:d,down:u}}function eo(e){const t=parseFloat(Oh(e)??"")-.04;return _h(`${t}px`)}function QS(e){return Object.entries(e).sort(([,r],[,n])=>parseInt(r,10)<parseInt(n,10)?-1:1).map(([r,n],o,i)=>{let s=null;return o<=i.length-1&&(s=i[o+1]?.[1]),s!=null&&(s=eo(s)),[r,{name:r,min:_h(n),max:s}]})}function JS(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 hr({min:e,max:t}){return e==null&&t==null?"":["@media screen",e&&`(min-width: ${e})`,t&&`(max-width: ${t}
1)`].filter(Boolean).join(" and ")}const e1=/^@|&|&$/,t1=e=>{const{breakpoints:t,conditions:r={}}=e,n=Ye(r,(d,u)=>[`_${d}`,u]),o=Object.assign({},n,t.conditions);function i(){return Object.keys(o)}function s(d){return i().includes(d)||e1.test(d)||d.startsWith("_")}const a=ze(d=>d.filter(u=>u!=="base").sort((u,f)=>{const p=s(u),h=s(f);return p&&!h?1:!p&&h?-1:0}));function l(d){return d.startsWith("@breakpoint")?t.getCondition(d.replace("@breakpoint ","")):d}function c(d){return Reflect.get(o,d)||d}return{keys:i,sort:a,has:s,resolve:c,breakpoints:t.keys(),expandAtRule:l}},re=Object.freeze(Object.create(null)),r1=Object.freeze([]);function oi(){return Object.create(null)}const Vh=e=>({minMax:new RegExp(`(!?\\(\\s*min(-device-)?-${e})(.|
2)+\\(\\s*max(-device)?-${e}`,"i"),min:new RegExp(`\\(\\s*min(-device)?-${e}`,"i"),maxMin:new RegExp(`(!?\\(\\s*max(-device)?-${e})(.|
3)+\\(\\s*min(-device)?-${e}`,"i"),max:new RegExp(`\\(\\s*max(-device)?-${e}`,"i")}),n1=Vh("width"),o1=Vh("height"),Dh=e=>({isMin:Nc(e.minMax,e.maxMin,e.min),isMax:Nc(e.maxMin,e.minMax,e.max)}),{isMin:Cs,isMax:Rc}=Dh(n1),{isMin:Ps,isMax:Ec}=Dh(o1),Ac=/print/i,Ic=/^print$/i,i1=/(-?\d*\.?\d+)(ch|em|ex|px|rem)/,s1=/(\d)/,en=Number.MAX_VALUE,a1={ch:8.8984375,em:16,rem:16,ex:8.296875,px:1};function zc(e){const t=i1.exec(e)||(Cs(e)||Ps(e)?s1.exec(e):null);if(!t)return en;if(t[0]==="0")return 0;const r=parseFloat(t[1]),n=t[2];return r*(a1[n]||1)}function Nc(e,t,r){return n=>e.test(n)||!t.test(n)&&r.test(n)}function l1(e,t){const r=Ac.test(e),n=Ic.test(e),o=Ac.test(t),i=Ic.test(t);return r&&o?!n&&i?1:n&&!i?-1:e.localeCompare(t):r?1:o?-1:null}const c1=ze((e,t)=>{const r=l1(e,t);if(r!==null)return r;const n=Cs(e)||Ps(e),o=Rc(e)||Ec(e),i=Cs(t)||Ps(t),s=Rc(t)||Ec(t);if(n&&s)return-1;if(o&&i)return 1;const a=zc(e),l=zc(t);return a===en&&l===en?e.localeCompare(t):a===en?1:l===en?-1:a!==l?a>l?o?-1:1:o?1:-1:e.localeCompare(t)});function Oc(e){return e.sort(([t],[r])=>c1(t,r))}function Mh(e){const t=[],r=[],n={};for(const[s,a]of Object.entries(e))s.startsWith("@media")?t.push([s,a]):s.startsWith("@container")?r.push([s,a]):Ve(a)?n[s]=Mh(a):n[s]=a;const o=Oc(t),i=Oc(r);return{...n,...Object.fromEntries(o),...Object.fromEntries(i)}}const Lh=/\s*!(important)?/i,d1=ze(e=>$e(e)?Lh.test(e):!1),u1=ze(e=>$e(e)?e.replace(Lh,"").trim():e);function Fh(e){const{transform:t,conditions:r,normalize:n}=e,o=h1(e);return ze(function(...s){const a=o(...s),l=n(a),c=oi();return dt(l,(d,u)=>{if(d==null)return;const[f,...p]=r.sort(u).map(r.resolve),h=d1(d);h&&(d=u1(d));let m=t(f,d)??re;m=dt(m,b=>$e(b)&&h?`${b} !important`:b,{getKey:b=>r.expandAtRule(b)}),f1(c,p.flat(),m)}),Mh(c)})}function f1(e,t,r){let n=e;for(const o of t)o&&(n[o]||(n[o]=oi()),n=n[o]);Wr(n,r)}function p1(...e){return e.filter(t=>{if(!Ve(t))return!1;const r=Or(t);return Object.keys(r).length>0})}function h1(e){function t(r){const n=p1(...r);return n.length===1?n:n.map(o=>e.normalize(o))}return ze(function(...n){return Wr({},...t(n))})}const Wh=e=>({base:re,variants:re,defaultVariants:re,compoundVariants:[],...e});function m1(e){const{css:t,conditions:r,normalize:n,layers:o}=e;function i(a={}){const l=Wh(a),{base:c,defaultVariants:d,compoundVariants:u}=l,f=Ye(l.variants,(y,k)=>[y,Ye(k,(w,C)=>[w,n(C)])]),p=Fh({conditions:r,normalize:n,transform(y,k){return f[y]?.[k]}}),h=(y={})=>{const k=n({...d,...Or(y)});let w={...n(c)};Wr(w,p(k));const C=s(u,k);return o.wrap("recipes",t(w,C))},m=Object.keys(f),b=y=>{const k=Fa(y,["recipe"]),[w,C]=Tr(k,m),E=m.includes("colorPalette"),P=m.includes("orientation");return E||(w.colorPalette=y.colorPalette||d.colorPalette),P&&(C.orientation=y.orientation),[w,C]},v=Ye(f,(y,k)=>[y,Object.keys(k)]);return Object.assign(y=>t(h(y)),{className:a.className,__cva__:!0,variantMap:v,variantKeys:m,raw:h,config:a,splitVariantProps:b,merge(y){return i(g1(e)(this,y))}})}function s(a,l){let c=re;return a.forEach(d=>{Object.entries(d).every(([f,p])=>f==="css"?!0:(Array.isArray(p)?p:[p]).some(m=>l[f]===m))&&(c=t(c,d.css))}),c}return i}function g1(e){const{css:t}=e;return function(n,o){const i=Wh(o.config),s=ia(n.variantKeys,Object.keys(o.variants)
3),a=t(n.base,i.base),l=Object.fromEntries(s.map(f=>[f,t(n.config.variants[f],i.variants[f])])),c=Wr(n.config.defaultVariants,i.defaultVariants),d=[...n.compoundVariants,...i.compoundVariants];return{className:pe(n.className,o.className),base:a,variants:l,defaultVariants:c,compoundVariants:d}}}const b1={reset:"reset",base:"base",tokens:"tokens",recipes:"recipes"},_c={reset:0,base:1,tokens:2,recipes:3};function v1(e){const t=e.layers??b1,n=Object.values(t).sort((o,i)=>_c[o]-_c[i]);return{names:n,atRule:`@layer ${n.join(", ")};`,wrap(o,i){return e.disableLayers?i:{[`@layer ${t[o]}`]:i}}}}function y1(e){const{utility:t,normalize:r}=e,{hasShorthand:n,resolveShorthand:o}=t;return function(i){return dt(i,r,{stop:s=>Array.isArray(s),getKey:n?o:void 0})}}function x1(e){const{preflight:t}=e;if(!t)return{};const{scope:r="",level:n="parent"}=Ve(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"}},s={[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 a=Object.entries(i).reduce((l,[c,d])=>(l[c]={[o]:d},l),{});Object.assign(s,a)}else o?s[o]=i:Object.assign(s,i);return s}function w1(e){const{conditions:t,isValidProperty:r}=e,n=ze((o,i)=>r(o)?!i.split(",").every(s=>s==="base"||t.has(s)):!0);return function(i){return dt(i,s=>s,{getKey:(s,a)=>
3!Ve(a)||t.has(s)?s:n(s,Object.keys(a).join(","))?S1(s).map(l=>{const c=l.startsWith("&")?l.slice(1):l;return k1(c)?`${c} &`:`&${c}`}).join(", "):s})}}function k1(e){const t=e.toLowerCase();return t.startsWith(":host-context")||t.startsWith(":host")||t.startsWith("::slotted")}function S1(e){const t=[];let r=0,n="",o=!1;for(let i=0;i<e.length;i++){const s=e[i];if(s==="\\"&&!o){o=!0,n+=s;continue}if(o){o=!1,n+=s;continue}s==="("?r++:s===")"&&r--,s===","&&r===0?(t.push(n.trim()),n=""):n+=s}return n&&t.push(n.trim()),t}const C1=(e=re)=>{const t=o=>({base:e.base?.[o]??re,variants:oi(),defaultVariants:e.defaultVariants??re,compoundVariants:e.compoundVariants?P1(e.compoundVariants,o):r1}),n=(e.slots??[]).map(o=>[o,t(o)]);for(const[o,i]of Object.entries(e.variants??{}))for(const[s,a]of Object.entries(i))n.forEach(([l,c])=>{var d;(d=c.variants)[o]??(d[o]={}),c.variants[o][s]=a[l]??re});return Object.fromEntries(n)},P1=(e,t)=>e.filter(r=>r.css[t]).map(r=>({...r,css:r.css[t]}));function T1(e){const{cva:t}=e;return function(n=re){const o=Object.entries(C1(n)).map(([u,f])=>[u,t(f)]);function i(u){const f=o.map(([p,h])=>[p,h(u)]);return Object.fromEntries(f)}const s=n.variants??re,a=Object.keys(s);function l(u){const f=Fa(u,["recipe"]),[p,h]=Tr(f,a),m=a.includes("colorPalette"),b=a.includes("orientation");return m||(p.colorPalette=u.colorPalette||n.defaultVariants?.colorPalette),b&&(h.orientation=u.orientation),[p,h]}const c=Ye(s,(u,f)=>[u,Object.keys(f)]);let d={};return n.className&&(d=Object.fromEntries(n.slots.map(u=>[u,`${n.className}__${u}`]))),Object.assign(i,{variantMap:c,variantKeys:a,splitVariantProps:l,classNameMap:d})}}const R1=()=>e=>Array.from(new Set(e)),E1=/([\0-\x1f\x7f]|^-?\d)|^-$|^-|[^\x80-\uFFFF\w-]/g,A1=function(e,t){return t?e==="\0"?"�":e==="-"&&e.length===1?"\\-":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16):"\\"+e},$h=e=>(e+"").replace(E1,A1),Bh=(e,t)=>{let r="",n=0,o="char",i="",s="";const a=[];for(;n<e.length;){const l=e[n];if(l==="{"){const d=e.indexOf("}",n);if(d===-1)break;const u=e.slice(n+1,d),f=t(u);r+=f??u,n=d+1;continue}if(o==="token"&&l===","){e[n]===""&&n++,o="fallback",a.push(o);const d=t(i);d?.endsWith(")")&&(r+=d.slice(0,-1)),i="",s="";continue}if(o==="fallback"&&s+l===", var("){const f=I1(e.slice(n+1))+n+1,p=e.slice(n+1,f);if(f===-1)break;r+=", var("+p+")",n=f+1,o=a.pop()??o,s="";continue}if(o==="token"||o==="fallback"){if(n++,l===")"){o=a.pop()??o??"char",s+=l;const d=i&&(t(i)??$h(i));if(s){if(s=s.slice(1).trim(),!s.startsWith("token(")&&s.endsWith(")")&&(s=s.slice(0,-1)),s.includes("token(")){const f=Bh(s,t);f&&(s=f.slice(0,-1))}else if(s){const f=t(s);f&&(s=f)}}const u=r.at(-1);s?u?.trim()?r+=d.slice(0,-1)+(", "+s+")"):r+=s:r+=d||")",i="",s="",o="char";continue}o==="token"&&(i+=l),o==="fallback"&&(s+=l);continue}const c=e.indexOf("token(",n);if(c!==-1){const d=c+6;r+=e.slice(n,c),n=d,o="token",a.push(o);continue}r+=l,n++}return r},I1=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 jh(e){const t={};return e.forEach((r,n)=>{r instanceof Map?t[n]=Object.fromEntries(r):t[n]=r}),t}const Hh=/({([^}]*)})/g,z1=/[{}]/g,N1=/\w+\.\w+/,Gh=e=>{if(!$e(e))return[];const t=e.match(Hh);return t?t.map(r=>r.replace(z1,"").trim()):[]},O1=e=>Hh.test(e);function Uh(e){if(!e.extensions?.references)return e.extensions?.cssVar?.ref??e.value;const t=e.extensions.references??{};let r=e.value;const n=Object.keys(t);for(let o=0;o<n.length;o++){const i=n[o],s=t[i];if(s.extensions.conditions)continue;const a=Uh(s);r=r.replace(`{${i}}`,a)}return e.value=r,delete e.extensions.references,e.value}const _1=/calc/g;function qh(e){return Ve(e)&&e.reference?e.reference:String(e)}const ii=(e,...t)=>t.map(qh).join(` ${e} `).replace(_1,""),Vc=(...e)=>`calc(${ii("+",...e)})`,Dc=(...e)=>`calc(${ii("-",...e)})`,Ts=(...e)=>`calc(${ii("*",...e)})`,Mc=(...e)=>`calc(${ii("/",...e)})`,Lc=e=>{const t=qh(e);return t!=null&&!Number.isNaN(parseFloat(t))?String(t).startsWith("-")?String(t).slice(1):`-${t}`:Ts(t,-1)},gr=Object.assign(e=>({add:(...t)=>gr(Vc(e,...t)),subtract:(...t)=>gr(Dc(e,...t)),multiply:(...t)=>gr(Ts(e,...t)),divide:(...t)=>gr(Mc(e,...t)),negate:()=>gr(Lc(e)),toString:()=>e.toString()}),{add:Vc,subtract:Dc,multiply:Ts,divide:Mc,negate:Lc}),V1={enforce:"pre",transform(e){const{prefix:t,allTokens:r,formatCssVar:n,formatTokenName:o,registerToken:i}=e;r.filter(({extensions:a})=>a.category==="spacing").forEach(a=>{const l=a.path.slice(),c=n(l,t);if($e(a.value)&&a.value==="0rem")return;const d=[...a.path],u=d[d.length-1];u!=null&&(d[d.length-1]=`-${u}`);const f={...a,value:gr.negate(c.ref),name:o(d),path:d,extensions:{...a.extensions,negative:!0,prop:`-${a.extensions.prop}`,originalPath:l}};i(f)})}},D1=new Set(["spacing","sizes","borderWidths","fontSizes","radii"]),M1={enforce:"post",transform(e){e.allTokens.filter(r=>D1.has(r.extensions.category)&&!r.extensions.negative).forEach(r=>{Object.assign(r.extensions,{pixelValue:Oh(r.value)})})}},L1={enforce:"post",transform(e){const{allTokens:t,registerToken:r,formatTokenName:n}=e,o=t.filter(({extensions:a})=>a.category==="colors"),i=new Map,s=new Map;o.forEach(a=>{const{colorPalette:l}=a.extensions;l&&(l.keys.forEach(c=>{i.set(n(c),c)}
3),l.roots.forEach(c=>{const d=n(c),u=s.get(d)||[];if(u.push(a),s.set(d,u),a.extensions.default&&c.length===1){const f=l.keys[0]?.filter(Boolean);if(!f.length)return;const p=c.concat(f);i.set(n(p),[])}}))}),i.forEach(a=>{const l=["colors","colorPalette",...a].filter(Boolean),c=n(l),d=n(l.slice(1));r({name:c,value:c,originalValue:c,path:l,extensions:{condition:"base",originalPath:l,category:"colors",prop:d,virtual:!0}},"pre")})}},F1={enforce:"post",transform(e){e.allTokens=e.allTokens.filter(t=>t.value!=="")}},W1=[V1,L1,M1,F1],$1={type:"extensions",enforce:"pre",name:"tokens/css-var",transform(e,t){const{prefix:r,formatCssVar:n}=t,{negative:o,originalPath:i}=e.extensions,s=o?i:e.path;return{cssVar:n(s.filter(Boolean),r)}}},B1={enforce:"post",type:"value",name:"tokens/conditionals",transform(e,t){const{prefix:r,formatCssVar:n}=t,o=Gh(e.value);return o.length&&o.forEach(i=>{const s=n(i.split("."),r);e.value=e.value.replace(`{${s.ref}}`,s)}),e.value}},j1={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 a=[...e.path];a.shift(),r=a}if(r.length===0)return{};const n=r.reduce((a,l,c,d)=>{const u=d.slice(0,c+1);return a.push(u),a},[]),o=r[0],i=t.formatTokenName(r),s=e.path.slice(e.path.indexOf(o)+1).reduce((a,l,c,d)=>(a.push(d.slice(c)),a),[]);return s.length===0&&s.push([""]),{colorPalette:{value:i,roots:n,keys:s}}}},H1=[$1,B1,j1],Fc=e=>Ve(e)&&Object.prototype.hasOwnProperty.call(e,"value");function G1(e){return e?{breakpoints:Pn(e,t=>({value:t})),sizes:Ye(e,(t,r)=>[`breakpoint-${t}`,{value:r}])}:{breakpoints:{},sizes:{}}}function U1(e){const{prefix:t="",tokens:r={},semanticTokens:n={},breakpoints:o={}}=e,i=N=>N.join("."),s=(N,z)=>Ah(N.join("-"),{prefix:z}),a=[],l=new Map,c=new Map,d=new Map,u=new Map,f=new Map,p=new Map,h=new Map,m=new Map,b=[];function v(N,z){a.push(N),l.set(N.name,N),z&&m.forEach(G=>{G.enforce===z&&U(G,N)})}const x=G1(o),y=Or({...r,breakpoints:x.breakpoints,sizes:{...r.sizes,...x.sizes}});function k(){dt(y,(N,z)=>{const G=z.includes("DEFAULT");z=Wc(z);const Z=z[0],ie=i(z),xe=$e(N)?{value:N}:N,vt={value:xe.value,originalValue:xe.value,name:ie,path:z,extensions:{condition:"base",originalPath:z,category:Z,prop:i(z.slice(1))}};G&&(vt.extensions.default=!0),v(vt)},{stop:Fc}),dt(n,(N,z)=>{const G=z.includes("DEFAULT");z=Kh(Wc(z));const Z=z[0],ie=i(z),xe=$e(N.value)?{value:{base:N.value}}:N,vt={value:xe.value.base||"",originalValue:xe.value.base||"",name:ie,path:z,extensions:{originalPath:z,category:Z,conditions:xe.value,condition:"base",prop:i(z.slice(1))}};G&&(vt.extensions.default=!0),v(vt)},{stop:Fc})}function w(N){return l.get(N)}function C(N){const{condition:z}=N.extensions;z&&(c.has(z)||c.set(z,new Set),c.get(z).add(N))}function E(N){const{category:z,prop:G}=N.extensions;z&&(h.has(z)||h.set(z,new Map),h.get(z).set(G,N))}function P(N){const{condition:z,negative:G,virtual:Z,cssVar:ie}=N.extensions;G||Z||!z||!ie||(d.has(z)||d.set(z,new Map),d.get(z).set(ie.var,N.value))}function R(N){const{category:z,prop:G,cssVar:Z,negative:ie}=N.extensions;if(!z)return;p.has(z)||p.set(z,new Map);const xe=ie?N.extensions.conditions?N.originalValue:N.value:Z.ref;p.get(z).set(G,xe),f.set([z,G].join("."),xe)}function T(N){const{colorPalette:z,virtual:G,default:Z}=N.extensions;!z||G||z.roots.forEach(ie=>{const xe=i(ie);u.has(xe)||u.set(xe,new Map);const vt=K1([...N.path],[...ie]),Nn=i(vt),mi=w(Nn);if(!mi||!mi.extensions.cssVar)return;const{var:sb}=mi.extensions.cssVar;if(u.get(xe).set(sb,N.extensions.cssVar.ref),Z&&ie.length===1){const ab=i(["colors","colorPalette"]),Sl=w(ab);if(!Sl)return;const lb=i(N.path),Cl=w(lb);if(!Cl)return;const Pl=z.keys[0]?.filter(Boolean);if(!Pl.length)return;const gi=i(ie.concat(Pl));u.has(gi)||u.set(gi,new Map),u.get(gi).set(Sl.extensions.cssVar.var,Cl.extensions.cssVar.ref)}})}let A={};function I(){a.forEach(N=>{C(N),E(N),P(N),R(N),T(N)}),A=jh(p)}const _=(N,z)=>{if(!N||typeof N!="string")return{invalid:!0,value:N};const[G,Z]=N.split("/");
3if(!G||!Z)return{invalid:!0,value:G};const ie=z(G),xe=w(`opacity.${Z}`)?.value;if(!xe&&isNaN(Number(Z)))return{invalid:!0,value:G};const vt=xe?Number(xe)*100+"%":`${Z}%`,Nn=ie??G;return{invalid:!1,color:Nn,value:`color-mix(in srgb, ${Nn} ${vt}, transparent)`}},L=ze((N,z)=>f.get(N)??z),O=ze(N=>A[N]||null),B=ze(N=>Bh(N,z=>{if(!z)return;if(z.includes("/")){const Z=_(z,ie=>L(ie));if(Z.invalid)throw new Error("Invalid color mix at "+z+": "+Z.value);return Z.value}const G=L(z);return G||(N1.test(z)?$h(z):z)})),te={prefix:t,allTokens:a,tokenMap:l,registerToken:v,getByName:w,formatTokenName:i,formatCssVar:s,flatMap:f,cssVarMap:d,categoryMap:h,colorPaletteMap:u,getVar:L,getCategoryValues:O,expandReferenceInValue:B};function H(...N){N.forEach(z=>{m.set(z.name,z)})}function D(...N){b.push(...N)}function U(N,z){if(z.extensions.references||oa(N.match)&&!N.match(z))return;const Z=(ie=>N.transform(ie,te))(z);switch(!0){case N.type==="extensions":Object.assign(z.extensions,Z);break;case N.type==="value":z.value=Z;break;default:z[N.type]=Z;break}}function ae(N){b.forEach(z=>{z.enforce===N&&z.transform(te)})}function Ie(N){m.forEach(z=>{z.enforce===N&&a.forEach(G=>{U(z,G)})})}function zt(){a.forEach(N=>{const z=q1(N);!z||z.length===0||z.forEach(G=>{v(G)})})}function Hr(N){const z=Gh(N),G=[];for(let Z=0;Z<z.length;Z++){const ie=w(z[Z]);ie&&G.push(ie)}return G}function cr(){a.forEach(N=>{if(!O1(N.value))return;const z=Hr(N.value);N.extensions.references=z.reduce((G,Z)=>(G[Z.name]=Z,G),{})})}function hi(){a.forEach(N=>{Uh(N)})}function ib(){ae("pre"),Ie("pre"),zt(),cr(),hi(),ae("post"),Ie("post"),I()}return k(),H(...H1),D(...W1),ib(),te}function Wc(e){return e[0]==="DEFAULT"?e:e.filter(t=>t!=="DEFAULT")}function Kh(e){return e.filter(t=>t!=="base")}function q1(e){if(!e.extensions.conditions)return;const{conditions:t}=e.extensions,r=[];return dt(t,(n,o)=>{const i=Kh(o);if(!i.length)return;const s={...e,value:n,extensions:{...e.extensions,condition:i.join(":")}};r.push(s)}),r}function K1(e,t){const r=e.findIndex((n,o)=>t.every((i,s)=>e[o+s]===i));return r===-1||(e.splice(r,t.length),e.splice(r,0,"colorPalette")),e}R1()(["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 X1(e){return Ye(e,(t,r)=>[t,r])}function Y1(e){const t=X1(e.config),r=e.tokens,n=new Map,o=new Map;function i(P,R){t[P]=R,s(P,R)}const s=(P,R)=>{const T=m(R);T&&(o.set(P,T),u(P,R))},a=()=>{for(const[P,R]of Object.entries(t))R&&s(P,R)},l=()=>{for(const[P,R]of Object.entries(t)){const{shorthand:T}=R??{};if(!T)continue;(Array.isArray(T)?T:[T]).forEach(I=>n.set(I,P))}},c=()=>{const P=jh(r.colorPaletteMap);i("colorPalette",{values:Object.keys(P),transform:ze(R=>P[R])})},d=new Map,u=(P,R)=>{if(!R)return;const T=m(R,I=>`type:Tokens["${I}"]`);if(typeof T=="object"&&T.type){d.set(P,new Set([`type:${T.type}`]));return}if(T){const I=new Set(Object.keys(T));d.set(P,I)}const A=d.get(P)??new Set;R.property&&d.set(P,A.add(`CssProperties["${R.property}"]`))},f=()=>{for(const[P,R]of Object.entries(t))R&&u(P,R)},p=(P,R)=>{const T=d.get(P)??new Set;d.set(P,new Set([...T,...R]))},h=()=>{const P=new Map;for(const[R,T]of d.entries()){if(T.size===0){P.set(R,["string"]);continue}const A=Array.from(T).map(I=>I.startsWith("CssProperties")?I:I.startsWith("type:")?I.replace("type:",""):JSON.stringify(I));P.set(R,A)}return P},m=(P,R)=>{const{values:T}=P,A=I=>{const _=R?.(I);return _?{[_]:_}:void 0};if($e(T))return A?.(T)??r.getCategoryValues(T)??re;if(Array.isArray(T)){const I={};for(let _=0;_<T.length;_++)I[T[_]]=T[_];return I}return oa(T)?T(R?A:r.getCategoryValues):T},b=ze((P,R)=>({[P]:P.startsWith("--")?r.getVar(R,R):R})),v=Object.assign(r.getVar,{raw:P=>r.getByName(P)}),x=ze((P,R)=>{const T=w(P);$e(R)&&!R.includes("_EMO_")&&(R=r.expandReferenceInValue(R));const A=t[T];if(!A)return b(T,R);const I=o.get(T)?.[R];if(!A.transform)return b(P,I??R);const _=L=>kS(L,v);return A.transform(I??R,{raw:R,token:v,utils:{colorMix:_}})});function y(){l(),c(),a(),f()}y();const k=n.size>0,w=ze(P=>n.get(P)??P);return{keys:()=>[...Array.from(n.keys()),...Object.keys(t)],hasShorthand:k,transform:x,shorthands:n,resolveShorthand:w,register:i,getTypes:h,addPropertyType:p}}function Z1(...e){const t=Th(...e),{theme:r={},utilities:n={},globalCss:o={},cssVarsRoot:i=":where(:root, :host)",cssVarsPrefix:s="chakra",preflight:a}=t,l=v1(t),c=U1({breakpoints:r.breakpoints,tokens:r.tokens,semanticTokens:r.semanticTokens,prefix:s}),d=ZS(r.breakpoints??re),u=t1({conditions:t.conditions??re,breakpoints:d}),f=Y1({config:n,tokens:c});function p(){const{textStyles:D,layerStyles:U,animationStyles:ae}=r,Ie=Or({textStyle:D,layerStyle:U,animationStyle:ae});for(const[zt,Hr]of Object.entries(Ie)){const cr=Ih(Hr??re,Xh);f.register(zt,{values:Object.keys(cr),transform(hi){return y(cr[hi])}})}}p(),f.addPropertyType("animationName",Object.keys(r.keyframes??re));const h=new Set(["css",...f.keys(),...u.keys()]),m=ze(D=>h.has(D)||US(D)),b=D=>{if(Array.isArray(D)){const U=oi();for(let ae=0;ae<D.length;ae++){const Ie=D[ae];
3if(Ie!=null){const zt=u.breakpoints[ae];U[zt]=Ie}}return U}return D},v=y1({utility:f,normalize:b}),x=w1({conditions:u,isValidProperty:m}),y=Fh({transform:f.transform,conditions:u,normalize:v}),k=m1({css:y,conditions:u,normalize:v,layers:l}),w=T1({cva:k});function C(){const D={};for(const[U,ae]of c.cssVarMap.entries()){const Ie=Object.fromEntries(ae);if(Object.keys(Ie).length===0)continue;const zt=U==="base"?i:u.resolve(U),Hr=zt.startsWith("@"),cr=y(x({[zt]:Hr?{[i]:Ie}:Ie}));Wr(D,cr)}return l.wrap("tokens",D)}function E(){const D=Ye(r.keyframes??re,(ae,Ie)=>[`@keyframes ${ae}`,Ie]),U=Object.assign({},D,y(x(o)));return l.wrap("base",U)}function P(D){return Tr(D,m)}function R(){const D=x1({preflight:a});return l.wrap("reset",D)}const T=Q1(c),A=(D,U)=>T.get(D)?.value||U;A.var=(D,U)=>T.get(D)?.variable||U;function I(D,U){return r.recipes?.[D]??U}function _(D,U){return r.slotRecipes?.[D]??U}function L(D){return Object.hasOwnProperty.call(r.recipes??re,D)}function O(D){return Object.hasOwnProperty.call(r.slotRecipes??re,D)}function B(D){return L(D)||O(D)}const te=[R(),E(),C()],H={layerStyles:Di(r.layerStyles??re),textStyles:Di(r.textStyles??re),animationStyles:Di(r.animationStyles??re),tokens:$c(c,Object.keys(r.tokens??re),(D,U)=>!D.extensions.conditions&&!U.includes("colorPalette")),semanticTokens:$c(c,Object.keys(r.semanticTokens??re),D=>!!D.extensions.conditions),keyframes:Bc(r.keyframes??re),breakpoints:Bc(r.breakpoints??re)};return{$$chakra:!0,_config:t,_global:te,breakpoints:d,tokens:c,conditions:u,utility:f,token:A,properties:h,layers:l,isValidProperty:m,splitCssProps:P,normalizeValue:b,getTokenCss:C,getGlobalCss:E,getPreflightCss:R,css:y,cva:k,sva:w,getRecipe:I,getSlotRecipe:_,hasRecipe:B,isRecipe:L,isSlotRecipe:O,query:H}}function Q1(e){const t=new Map;return e.allTokens.forEach(r=>{const{cssVar:n,virtual:o,conditions:i}=r.extensions,s=i||o?n.ref:r.value;t.set(r.name,{value:s,variable:n.ref})}),t}const Xh=e=>Ve(e)&&"value"in e,Di=e=>({list(){return Object.keys(Ih(e,Xh))},search(t){return this.list().filter(r=>r.includes(t))}}),$c=(e,t,r)=>({categoryKeys:t,list(n){const o=e.categoryMap.get(n),i=o?[...o.entries()]:[],s=[];for(let a=0;a<i.length;a++){const[l,c]=i[a];r(c,l)&&s.push(l)}return s},search(n,o){return this.list(n).filter(i=>i.includes(o))}}),Bc=e=>({list(){return Object.keys(e)},search(t){return this.list().filter(r=>r.includes(t))}}),J1={sm:"480px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"},Mi="var(--chakra-empty, )",eC=TS({"*":{fontFeatureSettings:'"cv11"',"--ring-inset":Mi,"--ring-offset-width":"0px","--ring-offset-color":"#fff","--ring-color":"rgba(66, 153, 225, 0.6)","--ring-offset-shadow":"0 0 #0000","--ring-shadow":"0 0 #0000",...Object.fromEntries(["brightness","contrast","grayscale","hue-rotate","invert","saturate","sepia","drop-shadow"].map(e=>[`--${e}`,Mi])),...Object.fromEntries(["blur","brightness","contrast","grayscale","hue-rotate","invert","opacity","saturate","sepia"].map(e=>[`--backdrop-${e}`,Mi])),"--global-font-mono":"fonts.mono","--global-font-body":"fonts.body","--global-color-border":"colors.border"},html:{color:"fg",bg:"bg",lineHeight:"1.5",colorPalette:"gray"},"*::placeholder, *[data-placeholder]":{color:"fg.muted/80"},"*::selection":{bg:"colorPalette.emphasized/80"}}),tC=AS({"fill.muted":{value:{background:"colorPalette.muted",color:"colorPalette.fg"}},"fill.subtle":{value:{background:"colorPalette.subtle",color:"colorPalette.fg"}},"fill.surface":{value:{background:"colorPalette.subtle",color:"colorPalette.fg",boxShadow:"0 0 0px 1px var(--shadow-color)",boxShadowColor:"colorPalette.muted"}},"fill.solid":{value:{background:"colorPalette.solid",color:"colorPalette.contrast"}},"outline.subtle":{value:{color:"colorPalette.fg",boxShadow:"inset 0 0 0px 1px var(--shadow-color)",boxShadowColor:"colorPalette.subtle"}},"outline.solid":{value:{borderWidth:"1px",borderColor:"colorPalette.solid",color:"colorPalette.fg"}},"indicator.bottom":{value:{position:"relative","--indicator-color-fallback":"colors.colorPalette.solid",_before:{content:'""',position:"absolute",bottom:"var(--indicator-offset-y, 0)",insetInline:"var(--indicator-offset-x, 0)",height:"var(--indicator-thickness, 2px)",background:"var(--indicator-color, var(--indicator-color-fallback))"}}},"indicator.top":{value:{position:"relative","--indicator-color-fallback":"colors.colorPalette.solid",_before:{content:'""',position:"absolute",top:"var(--indicator-offset-y, 0)",insetInline:"var(--indicator-offset-x, 0)",height:"var(--indicator-thickness, 2px)",background:"var(--indicator-color, var(--indicator-color-fallback))"}}},"indicator.start":{value:{position:"relative","--indicator-color-fallback":"colors.colorPalette.solid",_before:{content:'""',position:"absolute",insetInlineStart:"var(--indicator-offset-x, 0)",insetBlock:"var(--indicator-offset-y, 0)",width:"var(--indicator-thickness, 2px)",background:"var(--indicator-color, var(--indicator-color-fallback))"}}},"indicator.end":{value:{position:"relative","--indicator-color-fallback":"colors.colorPalette.solid",_before:{content:'""',position:"absolute",insetInlineEnd:"var(--indicator-offset-x, 0)",insetBlock:"var(--indicator-offset-y, 0)",width:"var(--indicator-thickness, 2px)",background:"var(--indicator-color, var(--indicator-color-fallback))"}}},disabled:{value:{opacity:"0.5",cursor:"not-allowed"}},none:{value:{}}}),rC=ES({"slide-fade-in":{value:{transformOrigin:"var(--transform-origin)","&[data-placement^=top]":{animationName:"slide-from-bottom, fade-in"},"&[data-placement^=bottom]":{animationName:"slide-from-top, fade-in"},"&[data-placement^=left]":{animationName:"slide-from-right, fade-in"},"&[data-placement^=right]":{animationName:"slide-from-left, fade-in"}}}
vendor: 10,562 bytes, line 3
3,"slide-fade-out":{value:{transformOrigin:"var(--transform-origin)","&[data-placement^=top]":{animationName:"slide-to-bottom, fade-out"},"&[data-placement^=bottom]":{animationName:"slide-to-top, fade-out"},"&[data-placement^=left]":{animationName:"slide-to-right, fade-out"},"&[data-placement^=right]":{animationName:"slide-to-left, fade-out"}}},"scale-fade-in":{value:{transformOrigin:"var(--transform-origin)",animationName:"scale-in, fade-in"}},"scale-fade-out":{value:{transformOrigin:"var(--transform-origin)",animationName:"scale-out, fade-out"}}}),Ba=me({className:"chakra-badge",base:{display:"inline-flex",alignItems:"center",borderRadius:"l2",gap:"1",fontWeight:"medium",fontVariantNumeric:"tabular-nums",whiteSpace:"nowrap",userSelect:"none"},variants:{variant:{solid:{bg:"colorPalette.solid",color:"colorPalette.contrast"},subtle:{bg:"colorPalette.subtle",color:"colorPalette.fg"},outline:{color:"colorPalette.fg","--outline-shadow-legacy":"colors.colorPalette.muted","--outline-shadow":"colors.colorPalette.border",shadow:"inset 0 0 0px 1px var(--shadow-color)",shadowColor:"var(--outline-shadow, var(--outline-shadow-legacy))"},surface:{bg:"colorPalette.subtle",color:"colorPalette.fg",shadow:"inset 0 0 0px 1px var(--shadow-color)",shadowColor:"colorPalette.muted"},plain:{color:"colorPalette.fg"}},size:{xs:{textStyle:"2xs",px:"1",minH:"4"},sm:{textStyle:"xs",px:"1.5",minH:"5"},md:{textStyle:"sm",px:"2",minH:"6"},lg:{textStyle:"sm",px:"2.5",minH:"7"}}},defaultVariants:{variant:"subtle",size:"sm"}}),nC=me({className:"chakra-button",base:{display:"inline-flex",appearance:"none",alignItems:"center",justifyContent:"center",userSelect:"none",position:"relative",borderRadius:"l2",whiteSpace:"nowrap",verticalAlign:"middle",borderWidth:"1px",borderColor:"transparent",cursor:"button",flexShrink:"0",outline:"0",lineHeight:"1.2",isolation:"isolate",fontWeight:"medium",transitionProperty:"common",transitionDuration:"moderate",focusVisibleRing:"outside",_disabled:{layerStyle:"disabled"},_icon:{flexShrink:"0"}},variants:{size:{"2xs":{h:"6",minW:"6",textStyle:"xs",px:"2",gap:"1",_icon:{width:"3.5",height:"3.5"}},xs:{h:"8",minW:"8",textStyle:"xs",px:"2.5",gap:"1",_icon:{width:"4",height:"4"}},sm:{h:"9",minW:"9",px:"3.5",textStyle:"sm",gap:"2",_icon:{width:"4",height:"4"}},md:{h:"10",minW:"10",textStyle:"sm",px:"4",gap:"2",_icon:{width:"5",height:"5"}},lg:{h:"11",minW:"11",textStyle:"md",px:"5",gap:"3",_icon:{width:"5",height:"5"}},xl:{h:"12",minW:"12",textStyle:"md",px:"5",gap:"2.5",_icon:{width:"5",height:"5"}},"2xl":{h:"16",minW:"16",textStyle:"lg",px:"7",gap:"3",_icon:{width:"6",height:"6"}}},variant:{solid:{bg:"colorPalette.solid",color:"colorPalette.contrast",borderColor:"transparent",_hover:{bg:"colorPalette.solid/90"},_expanded:{bg:"colorPalette.solid/90"}},subtle:{bg:"colorPalette.subtle",color:"colorPalette.fg",borderColor:"transparent",_hover:{bg:"colorPalette.muted"},_expanded:{bg:"colorPalette.muted"}},surface:{bg:"colorPalette.subtle",color:"colorPalette.fg",shadow:"0 0 0px 1px var(--shadow-color)",shadowColor:"colorPalette.muted",_hover:{bg:"colorPalette.muted"},_expanded:{bg:"colorPalette.muted"}},outline:{borderWidth:"1px","--outline-color-legacy":"colors.colorPalette.muted","--outline-color":"colors.colorPalette.border",borderColor:"var(--outline-color, var(--outline-color-legacy))",color:"colorPalette.fg",_hover:{bg:"colorPalette.subtle"},_expanded:{bg:"colorPalette.subtle"}},ghost:{bg:"transparent",color:"colorPalette.fg",_hover:{bg:"colorPalette.subtle"},_expanded:{bg:"colorPalette.subtle"}},plain:{color:"colorPalette.fg"}}},defaultVariants:{size:"md",variant:"solid"}}),ke=me({className:"chakra-checkmark",base:{display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:"0",color:"white",borderWidth:"1px",borderColor:"transparent",borderRadius:"l1",cursor:"checkbox",focusVisibleRing:"outside",_icon:{boxSize:"full"},_invalid:{colorPalette:"red",borderColor:"border.error"},_disabled:{opacity:"0.5",cursor:"disabled"}},variants:{size:{xs:{boxSize:"3"},sm:{boxSize:"4"},md:{boxSize:"5",p:"0.5"},lg:{boxSize:"6",p:"0.5"}},variant:{solid:{borderColor:"border.emphasized","&:is([data-state=checked], [data-state=indeterminate])":{bg:"colorPalette.solid",color:"colorPalette.contrast",borderColor:"colorPalette.solid"}},outline:{borderColor:"border","&:is([data-state=checked], [data-state=indeterminate])":{color:"colorPalette.fg",borderColor:"colorPalette.solid"}},subtle:{bg:"colorPalette.muted",borderColor:"colorPalette.muted","&:is([data-state=checked], [data-state=indeterminate])":{color:"colorPalette.fg"}},plain:{"&:is([data-state=checked], [data-state=indeterminate])":{color:"colorPalette.fg"}},inverted:{borderColor:"border",color:"colorPalette.fg","&:is([data-state=checked], [data-state=indeterminate])":{borderColor:"colorPalette.solid"}}},filled:{true:{bg:"bg"}}},defaultVariants:{variant:"solid",size:"md"}}),{variants:oC,defaultVariants:iC}=Ba,sC=me({className:"chakra-code",base:{fontFamily:"mono",alignItems:"center",display:"inline-flex",borderRadius:"l2"},variants:oC,defaultVariants:iC}),Yh=me({className:"color-swatch",base:{boxSize:"var(--swatch-size)",shadow:"inset 0 0 0 1px rgba(0, 0, 0, 0.1)","--checker-size":"8px","--checker-bg":"colors.bg","--checker-fg":"colors.bg.emphasized",background:"linear-gradient(var(--color), var(--color)), repeating-conic-gradient(var(--checker-fg) 0%, var(--checker-fg) 25%, var(--checker-bg) 0%, var(--checker-bg) 50%) 0% 50% / var(--checker-size) var(--checker-size) !important",display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:"0"},variants:{size:{"2xs":{"--swatch-size":"sizes.3.5"},xs:{"--swatch-size":"sizes.4"},sm:{"--swatch-size":"sizes.4.5"},md:{"--swatch-size":"sizes.5"},lg:{"--swatch-size":"sizes.6"},xl:{"--swatch-size":"sizes.7"},"2xl":{"--swatch-size":"sizes.8"},inherit:{"--swatch-size":"inherit"},full:{"--swatch-size":"100%"}},shape:{square:{borderRadius:"none"},circle:{borderRadius:"full"},rounded:{borderRadius:"l1"}}},defaultVariants:{size:"md",shape:"rounded"}}),aC=me({className:"chakra-container",base:{position:"relative",maxWidth:"8xl",w:"100%",mx:"auto",px:{base:"4",md:"6",lg:"8"}},variants:{centerContent:{true:{display:"flex",flexDirection:"column",alignItems:"center"}},fluid:{true:{maxWidth:"full"}}}}),lC=me({className:"chakra-heading",base:{fontFamily:"heading",fontWeight:"semibold"},variants:{size:{xs:{textStyle:"xs"},sm:{textStyle:"sm"},md:{textStyle:"md"},lg:{textStyle:"lg"},xl:{textStyle:"xl"},"2xl":{textStyle:"2xl"},"3xl":{textStyle:"3xl"},"4xl":{textStyle:"4xl"},"5xl":{textStyle:"5xl"},"6xl":{textStyle:"6xl"},"7xl":{textStyle:"7xl"}}},defaultVariants:{size:"xl"}}),cC=me({className:"chakra-icon",base:{display:"inline-block",lineHeight:"1em",flexShrink:"0",color:"currentcolor",verticalAlign:"middle"},variants:{size:{inherit:{},xs:{boxSize:"3"},sm:{boxSize:"4"},md:{boxSize:"5"},lg:{boxSize:"6"},xl:{boxSize:"7"},"2xl":{boxSize:"8"}}},defaultVariants:{size:"inherit"}}),le=me({className:"chakra-input",base:{width:"100%",minWidth:"0",outline:"0",position:"relative",appearance:"none",textAlign:"start",borderRadius:"l2",_disabled:{layerStyle:"disabled"},height:"var(--input-height)",minW:"var(--input-height)","--focus-color":"colors.colorPalette.focusRing","--error-color":"colors.border.error",_invalid:{focusRingColor:"var(--error-color)",borderColor:"var(--error-color)"}},variants:{size:{"2xs":{textStyle:"xs",px:"2","--input-height":"sizes.7"},xs:{textStyle:"xs",px:"2","--input-height":"sizes.8"},sm:{textStyle:"sm",px:"2.5","--input-height":"sizes.9"},md:{textStyle:"sm",px:"3","--input-height":"sizes.10"},lg:{textStyle:"md",px:"4","--input-height":"sizes.11"},xl:{textStyle:"md",px:"4.5","--input-height":"sizes.12"},"2xl":{textStyle:"lg",px:"5","--input-height":"sizes.16"}},variant:{outline:{bg:"transparent",borderWidth:"1px",borderColor:"border",focusVisibleRing:"inside",focusRingColor:"var(--focus-color)"},subtle:{borderWidth:"1px",borderColor:"transparent",bg:"bg.muted",focusVisibleRing:"inside",focusRingColor:"var(--focus-color)"},flushed:{bg:"transparent",borderBottomWidth:"1px",borderBottomColor:"border",borderRadius:"0",px:"0",_focusVisible:{borderColor:"var(--focus-color)",boxShadow:"0px 1px 0px 0px var(--focus-color)",_invalid:{borderColor:"var(--error-color)",boxShadow:"0px 1px 0px 0px var(--error-color)"}}}}},defaultVariants:{size:"md",variant:"outline"}}),dC=me({className:"chakra-input-addon",base:{flex:"0 0 auto",width:"auto",display:"flex",alignItems:"center",whiteSpace:"nowrap",alignSelf:"stretch",borderRadius:"l2"},variants:{size:le.variants.size,variant:{outline:{borderWidth:"1px",borderColor:"border",bg:"bg.muted"},subtle:{borderWidth:"1px",borderColor:"transparent",bg:"bg.emphasized"},flushed:{borderBottom:"1px solid",borderColor:"inherit",borderRadius:"0",px:"0",bg:"transparent"}}},defaultVariants:{size:"md",variant:"outline"}}),uC=me({className:"chakra-kbd",base:{display:"inline-flex",alignItems:"center",fontWeight:"medium",fontFamily:"mono",flexShrink:"0",whiteSpace:"nowrap",wordSpacing:"-0.5em",userSelect:"none",px:"1",borderRadius:"l2"},variants:{variant:{raised:{bg:"colorPalette.subtle",color:"colorPalette.fg",borderWidth:"1px",borderBottomWidth:"2px",borderColor:"colorPalette.muted"},outline:{borderWidth:"1px",color:"colorPalette.fg"},subtle:{bg:"colorPalette.muted",color:"colorPalette.fg"},plain:{color:"colorPalette.fg"}},size:{sm:{textStyle:"xs",height:"4.5"},md:{textStyle:"sm",height:"5"},lg:{textStyle:"md",height:"6"}}},defaultVariants:{size:"md",variant:"raised"}}),fC=me({className:"chakra-link",base:{display:"inline-flex",alignItems:"center",outline:"none",gap:"1.5",cursor:"pointer",borderRadius:"l1",focusRing:"outside"},variants:{variant:{underline:{color:"colorPalette.fg",textDecoration:"underline",textUnderlineOffset:"3px",textDecorationColor:"currentColor/20"},plain:{color:"colorPalette.fg",_hover:{textDecoration:"underline",textUnderlineOffset:"3px",textDecorationColor:"currentColor/20"}}}},defaultVariants:{variant:"plain"}}),pC=me({className:"chakra-mark",base:{bg:"transparent",color:"inherit",whiteSpace:"nowrap"},variants:{variant:{subtle:{bg:"colorPalette.subtle",color:"inherit"},solid:{bg:"colorPalette.solid",color:"colorPalette.contrast"},text:{fontWeight:"medium"},plain:{}}}}),Se=me({className:"chakra-radiomark",base:{display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:0,verticalAlign:"top",color:"white",borderWidth:"1px",borderColor:"transparent",borderRadius:"full",cursor:"radio",_focusVisible:{outline:"2px s
3olid",outlineColor:"colorPalette.focusRing",outlineOffset:"2px"},_invalid:{colorPalette:"red",borderColor:"red.500"},_disabled:{opacity:"0.5",cursor:"disabled"},"& .dot":{height:"100%",width:"100%",borderRadius:"full",bg:"currentColor",scale:"0.4"}},variants:{variant:{solid:{borderWidth:"1px",borderColor:"border.emphasized",_checked:{bg:"colorPalette.solid",color:"colorPalette.contrast",borderColor:"colorPalette.solid"}},subtle:{borderWidth:"1px",bg:"colorPalette.muted",borderColor:"colorPalette.muted",color:"transparent",_checked:{color:"colorPalette.fg"}},outline:{borderWidth:"1px",borderColor:"inherit",_checked:{color:"colorPalette.fg",borderColor:"colorPalette.solid"},"& .dot":{scale:"0.6"}},inverted:{bg:"bg",borderWidth:"1px",borderColor:"inherit",_checked:{color:"colorPalette.solid",borderColor:"currentcolor"}}},size:{xs:{boxSize:"3"},sm:{boxSize:"4"},md:{boxSize:"5"},lg:{boxSize:"6"}},filled:{true:{bg:"bg"}}},defaultVariants:{variant:"solid",size:"md"}}),hC=me({className:"chakra-separator",base:{display:"block",borderColor:"border"},variants:{variant:{solid:{borderStyle:"solid"},dashed:{borderStyle:"dashed"},dotted:{borderStyle:"dotted"}},orientation:{vertical:{borderInlineStartWidth:"var(--separator-thickness)"},horizontal:{borderTopWidth:"var(--separator-thickness)"}},size:{xs:{"--separator-thickness":"0.5px"},sm:{"--separator-thickness":"1px"},md:{"--separator-thickness":"2px"},lg:{"--separator-thickness":"3px"}}},defaultVariants:{size:"sm",variant:"solid",orientation:"horizontal"}}),mC=me({className:"chakra-skeleton",base:{},variants:{loading:{true:{borderRadius:"l2",boxShadow:"none",backgroundClip:"padding-box",cursor:"default",color:"transparent",pointerEvents:"none",userSelect:"none",flexShrink:"0","&::before, &::after, *":{visibility:"hidden"}},false:{background:"unset",animation:"fade-in var(--fade-duration, 0.1s) ease-out !important"}},variant:{pulse:{background:"bg.emphasized",animation:"pulse",animationDuration:"var(--duration, 1.2s)"},shine:{"--animate-from":"200%","--animate-to":"-200%","--start-color":"colors.bg.muted","--end-color":"colors.bg.emphasized",backgroundImage:"linear-gradient(270deg,var(--start-color),var(--end-color),var(--end-color),var(--start-color))",backgroundSize:"400% 100%",animation:"bg-position var(--duration, 5s) ease-in-out infinite"},none:{animation:"none"}}},defaultVariants:{variant:"pulse",loading:!0}}),gC=me({className:"chakra-skip-nav",base:{display:"inline-flex",bg:"bg.panel",padding:"2.5",borderRadius:"l2",fontWeight:"semibold",focusVisibleRing:"outside",textStyle:"sm",userSelect:"none",border:"0",height:"1px",width:"1px",margin:"-1px",outline:"0",overflow:"hidden",position:"absolute",clip:"rect(0 0 0 0)",_focusVisible:{clip:"auto",width:"auto",height:"auto",position:"fixed",top:"6",insetStart:"6"}}}),bC=me({className:"chakra-spinner",base:{display:"inline-block",borderColor:"currentColor",borderStyle:"solid",borderWidth:"2px",borderRadius:"full",width:"var(--spinner-size)",height:"var(--spinner-size)",animation:"spin",animationDuration:"slowest","--spinner-track-color":"transparent",borderBottomColor:"var(--spinner-track-color)",borderInlineStartColor:"var(--spinner-track-color)"},variants:{size:{inherit:{"--spinner-size":"1em"},xs:{"--spinner-size":"sizes.3"},sm:{"--spinner-size":"sizes.4"},md:{"--spinner-size":"sizes.5"},lg:{"--spinner-size":"sizes.8"},xl:{"--spinner-size":"sizes.10"}}},defaultVariants:{size:"md"}}),vC=me({className:"chakra-textarea",base:{width:"100%",minWidth:"0",outline:"0",position:"relative",appearance:"none",textAlign:"start",borderRadius:"l2",_disabled:{layerStyle:"disabled"},"--focus-color":"colors.colorPalette.focusRing","--error-color":"colors.border.error",_invalid:{focusRingColor:"var(--error-color)",borderColor:"var(--error-color)"}},variants:{size:{xs:{textStyle:"xs",px:"2",py:"1.5",scrollPaddingBottom:"1.5"},sm:{textStyle:"sm",px:"2.5",py:"2",scrollPaddingBottom:"2"},md:{textStyle:"sm",px:"3",py:"2",scrollPaddingBottom:"2"},lg:{textStyle:"md",px:"4",py:"3",scrollPaddingBottom:"3"},xl:{textStyle:"md",px:"4.5",py:"3.5",scrollPaddingBottom:"3.5"}},variant:{outline:{bg:"transparent",borderWidth:"1px",borderColor:"border",focusVisibleRing:"inside"},subtle:{borderWidth:"1px",borderColor:"transparent",bg:"bg.muted",focusVisibleRing:"inside"},flushed:{bg:"transparent",borderBottomWidth:"1px",borderBottomColor:"border",borderRadius:"0",px:"0",_focusVisible:{borderColor:"var(--focus-color)",boxShadow:"0px 1px 0px 0px var(--focus-color)"}}}},defaultVariants:{size:"md",variant:"outline"}}),yC={badge:Ba,button:nC,code:sC,container:aC,heading:lC,input:le,inputAddon:dC,kbd:uC,link:fC,mark:pC,separator:hC,skeleton:mC,skipNavLink:gC,spinner:bC,textarea:vC,icon:cC,checkmark:ke,radiomark:Se,colorSwatch:Yh},xC=Wa
vendor: 2,400 bytes, line 3
3.colors({bg:{DEFAULT:{value:{_light:"{colors.white}",_dark:"{colors.black}"}},subtle:{value:{_light:"{colors.gray.50}",_dark:"{colors.gray.950}"}},muted:{value:{_light:"{colors.gray.100}",_dark:"{colors.gray.900}"}},emphasized:{value:{_light:"{colors.gray.200}",_dark:"{colors.gray.800}"}},inverted:{value:{_light:"{colors.black}",_dark:"{colors.white}"}},panel:{value:{_light:"{colors.white}",_dark:"{colors.gray.950}"}},error:{value:{_light:"{colors.red.50}",_dark:"{colors.red.950}"}},warning:{value:{_light:"{colors.orange.50}",_dark:"{colors.orange.950}"}},success:{value:{_light:"{colors.green.50}",_dark:"{colors.green.950}"}},info:{value:{_light:"{colors.blue.50}",_dark:"{colors.blue.950}"}}},fg:{DEFAULT:{value:{_light:"{colors.black}",_dark:"{colors.gray.50}"}},muted:{value:{_light:"{colors.gray.600}",_dark:"{colors.gray.400}"}},subtle:{value:{_light:"{colors.gray.400}",_dark:"{colors.gray.500}"}},inverted:{value:{_light:"{colors.gray.50}",_dark:"{colors.black}"}},error:{value:{_light:"{colors.red.500}",_dark:"{colors.red.400}"}},warning:{value:{_light:"{colors.orange.600}",_dark:"{colors.orange.300}"}},success:{value:{_light:"{colors.green.600}",_dark:"{colors.green.300}"}},info:{value:{_light:"{colors.blue.600}",_dark:"{colors.blue.300}"}}},border:{DEFAULT:{value:{_light:"{colors.gray.200}",_dark:"{colors.gray.800}"}},muted:{value:{_light:"{colors.gray.100}",_dark:"{colors.gray.900}"}},subtle:{value:{_light:"{colors.gray.50}",_dark:"{colors.gray.950}"}},emphasized:{value:{_light:"{colors.gray.300}",_dark:"{colors.gray.700}"}},inverted:{value:{_light:"{colors.gray.800}",_dark:"{colors.gray.200}"}},error:{value:{_light:"{colors.red.500}",_dark:"{colors.red.400}"}},warning:{value:{_light:"{colors.orange.500}",_dark:"{colors.orange.400}"}},success:{value:{_light:"{colors.green.500}",_dark:"{colors.green.400}"}},info:{value:{_light:"{colors.blue.500}",_dark:"{colors.blue.400}"}}},gray:{contrast:{value:{_light:"{colors.white}",_dark:"{colors.black}"}},fg:{value:{_light:"{colors.gray.800}",_dark:"{colors.gray.200}"}},subtle:{value:{_light:"{colors.gray.100}",_dark:"{colors.gray.900}"}},muted:{value:{_light:"{colors.gray.200}",_dark:"{colors.gray.800}"}},emphasized:{value:{_light:"{colors.gray.300}",_dark:"{colors.gray.700}"}},solid:{value:{_light:"{colors.gray.900}",_dark:"{colors.white}"}},focusRing:{value:{_light:"{colors.gray.400}",_dark:"{colors.gray.400}"}}
3,border:{value:{_light:"{colors.gray.200}",_dark:"{colors.gray.800}"}}},red:{contrast:{value:{_light:"white",_dark:"white"}},fg:{value:{_light:"{colors.red.700}",_dark:"{colors.red.300}"}},subtle:{value:{_light:"{colors.red.100}",_dark:"{colors.red.900}"}},muted:{value:{_light:"{colors.red.200}",_dark:"{colors.red.800}"}},emphasized:{value:{_light:"{colors.red.300}",_dark:"{colors.red.700}"}},solid:{value:{_light:"{colors.red.600}",_dark:"{colors.red.600}"}},focusRing:{value:{_light:"{colors.red.500}",_dark:"{colors.red.500}"}},border:{value:{_light:"{colors.red.500}",_dark:"{colors.red.400}"}}},orange:{contrast:{value:{_light:"white",_dark:"black"}},fg:{value:{_light:"{colors.orange.700}",_dark:"{colors.orange.300}"}},subtle:{value:{_light:"{colors.orange.100}",_dark:"{colors.orange.900}"}},muted:{value:{_light:"{colors.orange.200}",_dark:"{colors.orange.800}"}},emphasized:{value:{_light:"{colors.orange.300}",_dark:"{colors.orange.700}"}},solid:{value:{_light:"{colors.orange.600}",_dark:"{colors.orange.500}"}},focusRing:{value:{_light:"{colors.orange.500}",_dark:"{colors.orange.500}"}},border:{value:{_light:"{colors.orange.500}",_dark:"{colors.orange.400}"}}},green:{contrast:{value:{_light:"white",_dark:"white"}},fg:{value:{_light:"{colors.green.700}",_dark:"{colors.green.300}"}},subtle:{value:{_light:"{colors.green.100}",_dark:"{colors.green.900}"}},muted:{value:{_light:"{colors.green.200}",_dark:"{colors.green.800}"}},emphasized:{value:{_light:"{colors.green.300}",_dark:"{colors.green.700}"}},solid:{value:{_light:"{colors.green.600}",_dark:"{colors.green.600}"}},focusRing:{value:{_light:"{colors.green.500}",_dark:"{colors.green.500}"}},border:{value:{_light:"{colors.green.500}",_dark:"{colors.green.400}"}}},blue:{contrast:{value:{_light:"white",_dark:"white"}},fg:{value:{_light:"{colors.blue.700}",_dark:"{colors.blue.300}"}},subtle:{value:{_light:"{colors.blue.100}",_dark:"{colors.blue.900}"}},muted:{value:{_light:"{colors.blue.200}",_dark:"{colors.blue.800}"}},emphasized:{value:{_light:"{colors.blue.300}",_dark:"{colors.blue.700}"}},solid:{value:{_light:"{colors.blue.600}",_dark:"{colors.blue.600}"}},focusRing:{value:{_light:"{colors.blue.500}",_dark:"{colors.blue.500}"}},border:{value:{_light:"{colors.blue.500}",_dark:"{colors.blue.400}"}}},yellow:{contrast:{value:{_light:"black",_dark:"black"}},fg:{value:{_light:"{colors.yellow.800}",_dark:"{colors.yellow.300}"}},subtle:{value:{_light:"{colors.yellow.100}",_dark:"{colors.yellow.900}"}},muted:{value:{_light:"{colors.yellow.200}",_dark:"{colors.yellow.800}"}},emphasized:{value:{_light:"{colors.yellow.300}",_dark:"{colors.yellow.700}"}},solid:{value:{_light:"{colors.yellow.300}",_dark:"{colors.yellow.300}"}},focusRing:{value:{_light:"{colors.yellow.500}",_dark:"{colors.yellow.500}"}},border:{value:{_light:"{colors.yellow.500}",_dark:"{colors.yellow.500}"}}},teal:{contrast:{value:{_light:"white",_dark:"white"}},fg:{value:{_light:"{colors.teal.700}",_dark:"{colors.teal.300}"}},subtle:{value:{_light:"{colors.teal.100}",_dark:"{colors.teal.900}"}},muted:{value:{_light:"{colors.teal.200}",_dark:"{colors.teal.800}"}},emphasized:{value:{_light:"{colors.teal.300}",_dark:"{colors.teal.700}"}},solid:{value:{_light:"{colors.teal.600}",_dark:"{colors.teal.600}"}},focusRing:{value:{_light:"{colors.teal.500}",_dark:"{colors.teal.500}"}},border:{value:{_light:"{colors.teal.500}",_dark:"{colors.teal.400}"}}},purple:{contrast:{value:{_light:"white",_dark:"white"}},fg:{value:{_light:"{colors.purple.700}",_dark:"{colors.purple.300}"}},subtle:{value:{_light:"{colors.purple.100}",_dark:"{colors.purple.900}"}},muted:{value:{_light:"{colors.purple.200}",_dark:"{colors.purple.800}"}},emphasized:{value:{_light:"{colors.purple.300}",_dark:"{colors.purple.700}"}},solid:{value:{_light:"{colors.purple.600}",_dark:"{colors.purple.600}"}},focusRing:{value:{_light:"{colors.purple.500}",_dark:"{colors.purple.500}"}},border:{value:{_light:"{colors.purple.500}",_dark:"{colors.purple.400}"}}},pink:{contrast:{value:{_light:"white",_dark:"white"}},fg:{value:{_light:"{colors.pink.700}",_dark:"{colors.pink.300}"}},subtle:{value:{_light:"{colors.pink.100}",_dark:"{colors.pink.900}"}},muted:{value:{_light:"{colors.pink.200}",_dark:"{colors.pink.800}"}},emphasized:{value:{_light:"{colors.pink.300}",_dark:"{colors.pink.700}"}},solid:{value:{_light:"{colors.pink.600}",_dark:"{colors.pink.600}"}},focusRing:{value:{_light:"{colors.pink.500}",_dark:"{colors.pink.500}"}},border:{value:{_light:"{colors.pink.500}",_dark:"{colors.pink.400}"}}},cyan:{contrast:{value:{_light:"white",_dark:"white"}},fg:{value:{_light:"{colors.cyan.700}",_dark:"{colors.cyan.300}"}},subtle:{value:{_light:"{colors.cyan.100}",_dark:"{colors.cyan.900}"}},muted:{value:{_light:"{colors.cyan.200}",_dark:"{colors.cyan.800}"}},emphasized:{value:{_light:"{colors.cyan.300}",_dark:"{colors.cyan.700}"}},solid:{value:{_light:"{colors.cyan.600}",_dark:"{colors.cyan.600}"}},focusRing:{value:{_light:"{colors.cyan.500}
3",_dark:"{colors.cyan.500}"}},border:{value:{_light:"{colors.cyan.500}",_dark:"{colors.cyan.400}"}}}}),wC=Wa.radii({l1:{value:"{radii.xs}"},l2:{value:"{radii.sm}"},l3:{value:"{radii.md}"}}),kC=Wa.shadows({xs:{value:{_light:"0px 1px 2px {colors.gray.900/10}, 0px 0px 1px {colors.gray.900/20}",_dark:"0px 1px 1px {black/64}, 0px 0px 1px inset {colors.gray.300/20}"}},sm:{value:{_light:"0px 2px 4px {colors.gray.900/10}, 0px 0px 1px {colors.gray.900/30}",_dark:"0px 2px 4px {black/64}, 0px 0px 1px inset {colors.gray.300/30}"}},md:{value:{_light:"0px 4px 8px {colors.gray.900/10}, 0px 0px 1px {colors.gray.900/30}",_dark:"0px 4px 8px {black/64}, 0px 0px 1px inset {colors.gray.300/30}"}},lg:{value:{_light:"0px 8px 16px {colors.gray.900/10}, 0px 0px 1px {colors.gray.900/30}",_dark:"0px 8px 16px {black/64}, 0px 0px 1px inset {colors.gray.300/30}"}},xl:{value:{_light:"0px 16px 24px {colors.gray.900/10}, 0px 0px 1px {colors.gray.900/30}",_dark:"0px 16px 24px {black/64}, 0px 0px 1px inset {colors.gray.300/30}"}},"2xl":{value:{_light:"0px 24px 40px {colors.gray.9
300/16}, 0px 0px 1px {colors.gray.900/30}",_dark:"0px 24px 40px {black/64}, 0px 0px 1px inset {colors.gray.300/30}"}},inner:{value:{_light:"inset 0 2px 4px 0 {black/5}",_dark:"inset 0 2px 4px 0 black"}},inset:{value:{_light:"inset 0 0 0 1px {black/5}",_dark:"inset 0 0 0 1px {colors.gray.300/5}"}}}),SC=Vf.extendWith("itemBody"),CC=F("action-bar").parts("positioner","content","separator","selectionTrigger","closeTrigger"),PC=F("alert").parts("title","description","root","indicator","content"),TC=F("breadcrumb").parts("link","currentLink","item","list","root","ellipsis","separator"),RC=F("blockquote").parts("root","icon","content","caption"),EC=F("card").parts("root","header","body","footer","title","description"),AC=F("checkbox-card",["root","control","label","description","addon","indicator","content"]),IC=F("data-list").parts("root","item","itemLabel","itemValue"),zC=Rk.extendWith("indicatorGroup"),NC=Oa.extendWith("header","body","footer","backdrop"),OC=Oa.extendWith("header","body","footer","backdrop"),_C=Cp.extendWith("textarea"),VC=F("empty-state",["root","content","indicator","title","description"]),DC=Ap.extendWith("requiredIndicator"),MC=Np.extendWith("content"),LC=Op.extendWith("itemContent","dropzoneContent","fileText"),FC=F("list").parts("root","item","indicator"),WC=Lp.extendWith("itemCommand"),$C=F("select").parts("root","field","indicator"),BC=Yp.extendWith("header","body","footer"),Zh=La.extendWith("itemAddon","itemIndicator"),jC=Zh.extendWith("itemContent","itemDescription"),HC=dh.extendWith("itemIndicator"),GC=ph.extendWith("indicatorGroup"),UC=Tk.extendWith("indicatorGroup","empty"),qC=hh.extendWith("markerIndicator","markerLabel"),KC=F("stat").parts("root","label","helpText","valueText","valueUnit","indicator"),XC=F("status").parts("root","indicator"),YC=F("steps",["root","list","item","trigger","indicator","separator","content","title","description","nextTrigger","prevTrigger","progress"]),ZC=yh.extendWith("indicator"),QC=F("table").parts("root","header","body","row","columnHeader","cell","footer","caption"),JC=F("toast").parts("root","title","description","indicator","closeTrigger","actionTrigger"),eP=F("tabs").parts("root","trigger","list","content","contentGroup","indicator"),tP=F("tag").parts("root","label","closeTrigger","startElement","endElement"),rP=F("timeline").parts("root","item","content","separator","indicator","connector","title","description"),nP=Pk.extendWith("channelText"),oP=F("code-block",["root","content","title","header","footer","control","overlay","code","codeText","copyTrigger","copyIndicator","collapseTrigger","collapseIndicator","collapseText"]),iP=Ef.extendWith("resizeTriggerSeparator","resizeTriggerIndicator");fp.extendWith("valueText");const sP=$k,aP=W({className:"chakra-accordion",slots:SC.keys(),base:{root:{width:"full","--accordion-radius":"radii.l2"},item:{overflowAnchor:"none"},itemTrigger:{display:"flex",alignItems:"center",textAlign:"start",width:"full",outline:"0",gap:"3",fontWeight:"medium",borderRadius:"var(--accordion-radius)",_focusVisible:{outline:"2px solid",outlineColor:"colorPalette.focusRing"},_disabled:{layerStyle:"disabled"}},itemBody:{pt:"var(--accordion-padding-y)",pb:"calc(var(--accordion-padding-y) * 2)"},itemContent:{overflow:"hidden",borderRadius:"var(--accordion-radius)",_open:{animationName:"expand-height, fade-in",animationDuration:"moderate"},_closed:{animationName:"collapse-height, fade-out",animationDuration:"moderate"}},itemIndicator:{transition:"rotate 0.2s",transformOrigin:"center",color:"fg.subtle",_open:{rotate:"180deg"},_icon:{width:"1.2em",height:"1.2em"}}},variants:{variant:{outline:{item:{borderBottomWidth:"1px"}},subtle:{itemTrigger:{px:"var(--accordion-padding-x)"},itemContent:{px:"var(--accordion-padding-x)"},item:{borderRadius:"var(--accordion-radius)",_open:{bg:"colorPalette.subtle"}}},enclosed:{root:{borderWidth:"1px",borderRadius:"var(--accordion-radius)",divideY:"1px",overflow:"hidden"},itemTrigger:{px:"var(--accordion-padding-x)"},itemContent:{px:"var(--accordion-padding-x)"},item:{_open:{bg:"bg.subtle"}}},plain:{}},size:{sm:{root:{"--accordion-padding-x":"spacing.3","--accordion-padding-y":"spacing.2"},itemTrigger:{textStyle:"sm",py:"var(--accordion-padding-y)"}},md:{root:{"--accordion-padding-x":"spacing.4","--accordion-padding-y":"spacing.2"},itemTrigger:{textStyle:"md",py:"var(--accordion-padding-y)"}},lg:{root:{"--accordion-padding-x":"spacing.4.5","--accordion-padding-y":"spacing.2.5"},itemTrigger:{textStyle:"lg",py:"var(--accordion-padding-y)"}}}},defaultVariants:{size:"md",variant:"outline"}}),lP=W({className:"chakra-action-bar",slots:CC.keys(),base:{positioner:{position:"fixed",display:"flex",pointerEvents:"none",insetInline:"0","--action-bar-offset":"spacing.4"},content:{bg:"bg.panel",shadow:"md",display:"flex",alignItems:"center",gap:"3",borderRadius:"l3",py:"2.5",px:"3",pointerEvents:"auto",translate:"calc(-1 * var(--scrollbar-width) / 2) 0px",_open:{animationName:"slide-from-bottom, fade-in",animationDuration:"moderate"},_closed:{animationName:"slide-to-bottom, fade-out",animationDuration:"faster"}},separator:{width:"1px",height:"5",bg:"border"},selectionTrigger:{display:"inline-flex",alignItems:"center",gap:"2",alignSelf:"stretch",textStyle:"sm",px:"4",py:"1",borderRadius:"l2",borderWidth:"1px",borderStyle:"dashed"}},variants:{placement:{bottom:{positioner:{bottom:"calc(env(safe-area-inset-bottom) + var(--action-bar-offset))",justifyContent:"center"}},"bottom-start":{positioner:{bottom:"calc(env(safe-area-inset-bottom) + var(--action-bar-offset))",justifyContent:"flex-start",ps:"var(--action-bar-offset)"}},"bottom-end":{positioner:{bottom:"calc(env(safe-area-inset-bottom) + var(--action-bar-offset))",justifyContent:"flex-end",pe:"var(--action-bar-offset)"}}}},defaultVariants:{placement:"bottom"}}),cP=W({slots:PC.keys(),className:"chakra-alert",base:{root:{width:"full",display:"flex",alignItems:"flex-start",position:"relative",borderRadius:"l3"},title:{fontWeight:"medium"},description:{display:"inline"},indicator:{display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:"0",
vendor: 21,128 bytes, line 3
3width:"1em",height:"1em",_icon:{boxSize:"full"}},content:{display:"flex",flex:"1",gap:"1"}},variants:{status:{info:{root:{colorPalette:"blue"}},warning:{root:{colorPalette:"orange"}},success:{root:{colorPalette:"green"}},error:{root:{colorPalette:"red"}},neutral:{root:{colorPalette:"gray"}}},inline:{true:{content:{display:"inline-flex",flexDirection:"row",alignItems:"center"}},false:{content:{display:"flex",flexDirection:"column"}}},variant:{subtle:{root:{bg:"colorPalette.subtle",color:"colorPalette.fg"}},surface:{root:{bg:"colorPalette.subtle",color:"colorPalette.fg",shadow:"inset 0 0 0px 1px var(--shadow-color)",shadowColor:"colorPalette.muted"},indicator:{color:"colorPalette.fg"}},outline:{root:{color:"colorPalette.fg",shadow:"inset 0 0 0px 1px var(--shadow-color)","--outline-shadow-legacy":"colors.colorPalette.muted","--outline-shadow":"colors.colorPalette.border",shadowColor:"var(--outline-shadow, var(--outline-shadow-legacy))"},indicator:{color:"colorPalette.fg"}},solid:{root:{bg:"colorPalette.solid",color:"colorPalette.contrast"},indicator:{color:"colorPalette.contrast"}}},size:{sm:{root:{gap:"2",px:"3",py:"3",textStyle:"xs"},indicator:{textStyle:"lg"}},md:{root:{gap:"3",px:"4",py:"4",textStyle:"sm"},indicator:{textStyle:"xl"}},lg:{root:{gap:"3",px:"4",py:"4",textStyle:"md"},indicator:{textStyle:"2xl"}}}},defaultVariants:{status:"info",variant:"subtle",size:"md",inline:!1}}),dP=W({slots:Bf.keys(),className:"chakra-avatar",base:{root:{display:"inline-flex",alignItems:"center",justifyContent:"center",fontWeight:"medium",position:"relative",verticalAlign:"top",flexShrink:"0",userSelect:"none",width:"var(--avatar-size)",height:"var(--avatar-size)",fontSize:"var(--avatar-font-size)",borderRadius:"var(--avatar-radius)","&[data-group-item]":{borderWidth:"2px",borderColor:"bg"}},image:{width:"100%",height:"100%",objectFit:"cover",borderRadius:"var(--avatar-radius)"},fallback:{lineHeight:"1",textTransform:"uppercase",fontWeight:"medium",fontSize:"var(--avatar-font-size)",borderRadius:"var(--avatar-radius)"}},variants:{size:{full:{root:{"--avatar-size":"100%","--avatar-font-size":"100%"}},"2xs":{root:{"--avatar-font-size":"fontSizes.2xs","--avatar-size":"sizes.6"}},xs:{root:{"--avatar-font-size":"fontSizes.xs","--avatar-size":"sizes.8"}},sm:{root:{"--avatar-font-size":"fontSizes.sm","--avatar-size":"sizes.9"}},md:{root:{"--avatar-font-size":"fontSizes.md","--avatar-size":"sizes.10"}},lg:{root:{"--avatar-font-size":"fontSizes.md","--avatar-size":"sizes.11"}},xl:{root:{"--avatar-font-size":"fontSizes.lg","--avatar-size":"sizes.12"}},"2xl":{root:{"--avatar-font-size":"fontSizes.xl","--avatar-size":"sizes.16"}}},variant:{solid:{root:{bg:"colorPalette.solid",color:"colorPalette.contrast"}},subtle:{root:{bg:"colorPalette.muted",color:"colorPalette.fg"}},outline:{root:{color:"colorPalette.fg",borderWidth:"1px","--outline-shadow-legacy":"colors.colorPalette.muted","--outline-shadow":"colors.colorPalette.border",borderColor:"var(--outline-shadow, var(--outline-shadow-legacy))"}}},shape:{square:{},rounded:{root:{"--avatar-radius":"radii.l3"}},full:{root:{"--avatar-radius":"radii.full"}}},borderless:{true:{root:{"&[data-group-item]":{borderWidth:"0px"}}}}},defaultVariants:{size:"md",shape:"full",variant:"subtle"}}),uP=W({className:"chakra-blockquote",slots:RC.keys(),base:{root:{position:"relative",display:"flex",flexDirection:"column",gap:"2"},caption:{textStyle:"sm",color:"fg.muted"},icon:{boxSize:"5"}},variants:{justify:{start:{root:{alignItems:"flex-start",textAlign:"start"}},center:{root:{alignItems:"center",textAlign:"center"}},end:{root:{alignItems:"flex-end",textAlign:"end"}}},variant:{subtle:{root:{paddingX:"5",borderStartWidth:"4px",borderStartColor:"colorPalette.muted"},icon:{color:"colorPalette.fg"}},solid:{root:{paddingX:"5",borderStartWidth:"4px",borderStartColor:"colorPalette.solid"},icon:{color:"colorPalette.solid"}},plain:{root:{paddingX:"5"},icon:{color:"colorPalette.solid"}}}},defaultVariants:{variant:"subtle",justify:"start"}}),fP=W({className:"chakra-breadcrumb",slots:TC.keys(),base:{list:{display:"flex",alignItems:"center",wordBreak:"break-word",color:"fg.muted",listStyle:"none"},link:{outline:"0",textDecoration:"none",borderRadius:"l1",focusRing:"outside",display:"inline-flex",alignItems:"center",gap:"2"},item:{display:"inline-flex",alignItems:"center"},separator:{color:"fg.muted",opacity:"0.8",_icon:{boxSize:"1em"},_rtl:{rotate:"180deg"}},ellipsis:{display:"inline-flex",alignItems:"center",justifyContent:"center",_icon:{boxSize:"1em"}}},variants:{variant:{underline:{link:{color:"colorPalette.fg",textDecoration:"underline",textUnderlineOffset:"0.2em",textDecorationColor:"colorPalette.muted"},currentLink:{color:"colorPalette.fg"}},plain:{link:{color:"fg.muted",_hover:{color:"fg"}},currentLink:{color:"fg"}}},size:{sm:{list:{gap:"1",textStyle:"xs"}},md:{list:{gap:"1.5",textStyle:"sm"}},lg:{list:{gap:"2",textStyle:"md"}}}},defaultVariants:{variant:"plain",size:"md"}}),pP=W({className:"chakra-card",slots:EC.keys(),base:{root:{display:"flex",flexDirection:"column",position:"relative",minWidth:"0",wordWrap:"break-word",borderRadius:"l3",color:"fg",textAlign:"start"},title:{fontWeight:"semibold"},description:{color:"fg.muted",fontSize:"sm"},header:{paddingInline:"var(--card-padding)",paddingTop:"var(--card-padding)",display:"flex",flexDirection:"column",gap:"1.5"},body:{padding:"var(--card-padding)",flex:"1",display:"flex",flexDirection:"column"},footer:{display:"flex",alignItems:"center",gap:"2",paddingInline:"var(--card-padding)",paddingBottom:"var(--card-padding)"}},variants:{size:{sm:{root:{"--card-padding":"spacing.4"},title:{textStyle:"md"}},md:{root:{"--card-padding":"spacing.6"},title:{textStyle:"lg"}},lg:{root:{"--card-padding":"spacing.7"},title:{textStyle:"xl"}}},variant:{elevated:{root:{bg:"bg.panel",boxShadow:"md"}},outline:{root:{bg:"bg.panel",borderWidth:"1px",borderColor:"border"}},subtle:{root:{bg:"bg.muted"}}}},defaultVariants:{variant:"outline",size:"md"}}),hP=W({className:"carousel",slots:rk.keys(),base:{root:{position:"relative",display:"flex",gap:"2",_horizontal:{flexDirection:"column"},_vertical:{flexDirection:"row"}},item:{_horizontal:{width:"100%"},_vertical:{height:"100%"}},control:{display:"flex",alignItems:"center",_horizontal:{flexDirection:"row",width:"100%"},_vertical:{flexDirection:"column",height:"100%"}},indicatorGroup:{display:"flex",justifyContent:"center",gap:"3",_horizontal:{flexDirection:"row"},_vertical:{flexDirection:"column"}},indicator:{width:"2.5",height:"2.5",borderRadius:"full",bg:"colorPalette.subtle",cursor:"button",_current:{bg:"colorPalette.solid"}}},defaultVariants:{}}),mP=W({slots:ip.keys(),className:"chakra-checkbox",base:{root:{display:"inline-flex",gap:"2",alignItems:"center",verticalAlign:"top",position:"relative"},control:ke.base,label:{fontWeight:"medium",userSelect:"none",_disabled:{opacity:"0.5"}}},variants:{size:{xs:{root:{gap:"1.5"},label:{textStyle:"xs"},control:ke.variants?.size?.xs},sm:{root:{gap:"2"},label:{textStyle:"sm"},control:ke.variants?.size?.sm},md:{root:{gap:"2.5"},label:{textStyle:"sm"},control:ke.variants?.size?.md},lg:{root:{gap:"3"},label:{textStyle:"md"},control:ke.variants?.size?.lg}},variant:{outline:{control:ke.variants?.variant?.outline},solid:{control:ke.variants?.variant?.solid},subtle:{control:ke.variants?.variant?.subtle}}},defaultVariants:{variant:"solid",size:"md"}}),gP=W({slots:AC.keys(),className:"chakra-checkbox-card",base:{root:{display:"flex",flexDirection:"column",userSelect:"none",position:"relative",borderRadius:"l2",flex:"1",focusVisibleRing:"outside",_disabled:{opacity:"0.8"},_invalid:{outline:"2px solid",outlineColor:"border.error"}},control:{display:"inline-flex",flex:"1",position:"relative",borderRadius:"inherit",justifyContent:"var(--checkbox-card-justify)",alignItems:"var(--checkbox-card-align)"},label:{fontWeight:"medium",display:"flex",alignItems:"center",gap:"2",flex:"1",_disabled:{opacity:"0.5"}},description:{opacity:"0.64",textStyle:"sm",_disabled:{opacity:"0.5"}},addon:{_disabled:{opacity:"0.5"}},indicator:ke.base,content:{display:"flex",flexDirection:"column",flex:"1",gap:"1",justifyContent:"var(--checkbox-card-justify)",alignItems:"var(--checkbox-card-align)"}},variants:{size:{sm:{root:{textStyle:"sm"},control:{padding:"3",gap:"1.5"},addon:{px:"3",py:"1.5",borderTopWidth:"1px"},indicator:ke.variants?.size.sm},md:{root:{textStyle:"sm"},control:{padding:"4",gap:"2.5"},addon:{px:"4",py:"2",borderTopWidth:"1px"},indicator:ke.variants?.size.md},lg:{root:{textStyle:"md"},control:{padding:"4",gap:"3.5"},addon:{px:"4",py:"2",borderTopWidth:"1px"},indicator:ke.variants?.size.lg}},variant:{surface:{root:{borderWidth:"1px",borderColor:"border",_checked:{bg:"colorPalette.subtle",color:"colorPalette.fg",borderColor:"colorPalette.muted"},_disabled:{bg:"bg.muted"}},indicator:ke.variants?.variant.solid},subtle:{root:{bg:"bg.muted"},control:{_checked:{bg:"colorPalette.muted",color:"colorPalette.fg"}},indicator:ke.variants?.variant.plain},outline:{root:{borderWidth:"1px",borderColor:"border",_checked:{boxShadow:"0 0 0 1px var(--shadow-color)",boxShadowColor:"colorPalette.solid",borderColor:"colorPalette.solid"}},indicator:ke.variants?.variant.solid},solid:{root:{borderWidth:"1px",_checked:{bg:"colorPalette.solid",color:"colorPalette.contrast",borderColor:"colorPalette.solid"}},indicator:ke.variants?.variant.inverted}},justify:{start:{root:{"--checkbox-card-justify":"flex-start"}},end:{root:{"--checkbox-card-justify":"flex-end"}},center:{root:{"--checkbox-card-justify":"center"}}},align:{start:{root:{"--checkbox-card-align":"flex-start"},content:{textAlign:"start"}},end:{root:{"--checkbox-card-align":"flex-end"},content:{textAlign:"end"}},center:{root:{"--checkbox-card-align":"center"},content:{textAlign:"center"}}},orientation:{vertical:{control:{flexDirection:"column"}},horizontal:{control:{flexDirection:"row"}}}},defaultVariants:{size:"md",variant:"outline",align:"start",orientation:"horizontal"}}),bP=W({slots:oP.keys(),className:"code-block",base:{root:{colorPalette:"gray",rounded:"var(--code-block-radius)",overflow:"hidden",bg:"bg",color:"fg",borderWidth:"1px","--code-block-max-height":"320px","--code-block-bg":"colors.bg","--code-block-fg":"colors.fg","--code-block-obscured-opacity":"0.5","--code-block-obscured-blur":"1px","--code-block-line-number-width":"sizes.3","--code-block-line-number-margin":"spacing.4","--code-block-highlight-bg":"{colors.teal.focusRing/20}","--code-block-highlight-border":"colors.teal.focusRing","--code-block-highlight-added-bg":"{colors.green.focusRing/20}","--code-block-highlight-added-border":"colors.green.focusRing","--code-block-highlight-removed-bg":"{colors.red.focusRing/20}","--code-block-highlight-removed-border":"colors.red.focusRing"},header:{display:"flex",alignItems:"center",gap:"2",position:"relative",px:"var(--code-block-padding)",minH:"var(--code-block-header-height)",mb:"calc(var(--code-block-padding) / 2 * -1)"},title:{display:"inline-flex",alignItems:"center",gap:"1.5",flex:"1",color:"fg.muted"},control:{gap:"1.5",display:"inline-flex",alignItems:"center"},footer:{display:"flex",alignItems:"center",justifyContent:"center",gap:"2",px:"var(--code-block-padding)",minH:"var(--code-block-header-height)"},content:{position:"relative",colorScheme:"dark",borderBottomRadius:"var(--code-block-radius)",maxHeight:"var(--code-block-max-height)","& ::selection":{bg:"blue.500/40"},_expanded:{maxHeight:"unset"}},overlay:{"--bg":"{colors.black/50}",display:"flex",alignItems:"flex-end",justifyContent:"center",padding:"4",bgImage:"linear-gradient(0deg,var(--bg) 25%,transparent 100%)",color:"white",minH:"5rem",pos:"absolute",bottom:"0",insetInline:"0",zIndex:"1",fontWeight:"medium",_expanded:{display:"none"}},code:{fontFamily:"mono",lineHeight:"tall",whiteSpace:"pre",counterReset:"line 0",overflowX:"auto",overflowY:"hidden"},codeText:{px:"var(--code-block-padding)",py:"var(--code-block-padding)",position:"relative",display:"block",width:"100%","&[data-has-focused]":{"& [data-line]:not([data-focused])":{transitionProperty:"opacity, filter",transitionDuration:"moderate",transitionTimingFunction:"ease-in-out",opacity:"var(--code-block-obscured-opacity)",filter:"blur(var(--code-block-obscured-blur))"},"&:hover":{"--code-block-obscured-opacity":"1","--code-block-obscured-blur":"0px"}},"&[data-has-line-numbers][data-plaintext]":{paddingInlineStart:"calc(var(--code-block-line-number-width) + var(--code-block-line-number-margin) + var(--code-block-padding))"},"& [data-line]":{position:"relative",paddingInlineEnd:"var(--code-block-padding)","--highlight-bg":"var(--code-block-highlight-bg)","--highlight-border":"var(--code-block-highlight-border)","&[data-highlight], &[data-diff]":{display:"inline-block",width:"full","&:after":{content:"''",display:"block",position:"absolute",top:"0",insetStart:"calc(var(--code-block-padding) * -1)",insetEnd:"0px",width:"calc(100% + var(--code-block-padding) * 2)",height:"100%",bg:"var(--highlight-bg)",borderStartWidth:"2px",borderStartColor:"var(--highlight-border)"}},"&[data-diff='added']":{"--highlight-bg":"var(--code-block-highlight-added-bg)","--highlight-border":"var(--code-block-highlight-added-border)"},"&[data-diff='removed']":{"--highlight-bg":"var(--code-block-highlight-removed-bg)","--highlight-border":"var(--code-block-highlight-removed-border)"}},"&[data-word-wrap]":{"&[data-plaintext], & [data-line]":{whiteSpace:"pre-wrap",wordBreak:"break-all"}},"&[data-has-line-numbers]":{"--content":"counter(line)","& [data-line]:before":{content:"var(--content)",counterIncrement:"line",width:"var(--code-block-line-number-width)",marginRight:"var(--code-block-line-number-margin)",display:"inline-block",textAlign:"end",userSelect:"none",whiteSpace:"nowrap",opacity:.4},"& [data-diff='added']:before":{content:"'+'"},"& [data-diff='removed']:before":{content:"'-'"}}}},variants:{size:{sm:{root:{"--code-block-padding":"spacing.4","--code-block-radius":"radii.md","--code-block-header-height":"sizes.8"},title:{textStyle:"xs"},code:{fontSize:"xs"}},md:{root:{"--code-block-padding":"spacing.4","--code-block-radius":"radii.lg","--code-block-header-height":"sizes.10"},title:{textStyle:"xs"},code:{fontSize:"sm"}},lg:{root:{"--code-block-padding":"spacing.5","--code-block-radius":"radii.xl","--code-block-header-height":"sizes.12"},title:{textStyle:"sm"},code:{fontSize:"sm"}}}},defaultVariants:{size:"md"}}),vP=W({slots:ff.keys(),className:"chakra-collapsible",base:{content:{overflow:"hidden",_open:{animationName:"expand-height, fade-in",animationDuration:"moderate","&[data-has-collapsed-size]":{animationName:"expand-height"}},_closed:{animationName:"collapse-height, fade-out",animationDuration:"moderate","&[data-has-collapsed-size]":{animationName:"collapse-height"}}}}}),yP=W({className:"colorPicker",slots:nP.keys(),base:{root:{display:"flex",flexDirection:"column",gap:"1.5"},label:{color:"fg",fontWeight:"medium",textStyle:"sm",_disabled:{opacity:"0.5"}},valueText:{textAlign:"start"},control:{display:"flex",alignItems:"center",flexDirection:"row",gap:"2",position:"relative"},swatchTrigger:{display:"flex",alignItems:"center",justifyContent:"center"},trigger:{display:"flex",alignItems:"center",justifyContent:"center",flexDirection:"row",flexShrink:"0",gap:"2",textStyle:"sm",minH:"var(--input-height)",minW:"var(--input-height)",px:"1",rounded:"l2",_disabled:{opacity:"0.5"},"--focus-color":"colors.colorPalette.focusRing","&:focus-visible":{borderColor:"var(--focus-color)",outline:"1px solid var(--focus-color)"},"&[data-fit-content]":{"--input-height":"unset",px:"0",border:"0"}},content:{display:"flex",flexDirection:"column",bg:"bg.panel",borderRadius:"l3",boxShadow:"lg",width:"64",p:"4",gap:"3","--color-picker-z-index":"zIndex.popover",zIndex:"calc(var(--color-picker-z-index) + var(--layer-index, 0))",_open:{animationStyle:"slide-fade-in",animationDuration:"fast"},_closed:{animationStyle:"slide-fade-out",animationDuration:"faster"}},area:{height:"180px",borderRadius:"l2",overflow:"hidden"},areaThumb:{borderRadius:"full",height:"var(--thumb-size)",width:"var(--thumb-size)",borderWidth:"2px",borderColor:"white",shadow:"sm",focusVisibleRing:"mixed",focusRingColor:"white"},areaBackground:{height:"full"},channelSlider:{borderRadius:"l2",flex:"1"},channelSliderTrack:{height:"var(--slider-height)",borderRadius:"inherit",boxShadow:"inset 0 0 0 1px rgba(0,0,0,0.1)"},channelText:{textStyle:"xs",color:"fg.muted",fontWeight:"medium",textTransform:"capitalize"},swatchGroup:{display:"flex",flexDirection:"row",flexWrap:"wrap",gap:"2"},swatch:{...Yh.base,borderRadius:"l1"},swatchIndicator:{color:"white",rounded:"full"},channelSliderThumb:{borderRadius:"full",height:"var(--thumb-size)",width:"var(--thumb-size)",borderWidth:"2px",borderColor:"white",shadow:"sm",transform:"translate(-50%, -50%)",focusVisibleRing:"outside",focusRingOffset:"1px"},channelInput:{...le.base,"&::-webkit-inner-spin-button, &::-webkit-outer-spin-button":{WebkitAppearance:"none",margin:0}},formatSelect:{textStyle:"xs",textTransform:"uppercase",borderWidth:"1px",minH:"6",focusRing:"inside",rounded:"l2"},transparencyGrid:{borderRadius:"l2"},view:{display:"flex",flexDirection:"column",gap:"2"}},variants:{size:{"2xs":{channelInput:le.variants?.size?.["2xs"],swatch:{"--swatch-size":"sizes.4.5"},trigger:{"--input-height":"sizes.7"},area:{"--thumb-size":"sizes.3"},channelSlider:{"--slider-height":"sizes.3","--thumb-size":"sizes.3"}},xs:{channelInput:le.variants?.size?.xs,swatch:{"--swatch-size":"sizes.5"},trigger:{"--input-height":"sizes.8"},area:{"--thumb-size":"sizes.3.5"},channelSlider:{"--slider-height":"sizes.3.5","--thumb-size":"sizes.3.5"}},sm:{channelInput:le.variants?.size?.sm,swatch:{"--swatch-size":"sizes.6"},trigger:{"--input-height":"sizes.9"},area:{"--thumb-size":"sizes.3.5"},channelSlider:{"--slider-height":"sizes.3.5","--thumb-size":"sizes.3.5"}},md:{channelInput:le.variants?.size?.md,swatch:{"--swatch-size":"sizes.7"},trigger:{"--input-height":"sizes.10"},area:{"--thumb-size":"sizes.3.5"},channelSlider:{"--slider-height":"sizes.3.5","--thumb-size":"sizes.3.5"}},lg:{channelInput:le.variants?.size?.lg,swatch:{"--swatch-size":"sizes.7"},trigger:{"--input-height":"sizes.11"},area:{"--thumb-size":"sizes.3.5"},channelSlider:{"--slider-height":"sizes.3.5","--thumb-size":"sizes.3.5"}},xl:{channelInput:le.variants?.size?.xl,swatch:{"--swatch-size":"sizes.8"},trigger:{"--input-height":"sizes.12"},area:{"--thumb-size":"sizes.3.5"},channelSlider:{"--slider-height":"sizes.3.5","--thumb-size":"sizes.3.5"}},"2xl":{channelInput:le.variants?.size?.["2xl"],swatch:{"--swatch-size":"sizes.10"},trigger:{"--input-height":"sizes.16"},area:{"--thumb-size":"sizes.3.5"},channelSlider:{"--slider-height":"sizes.3.5","--thumb-size":"sizes.3.5"}}},variant:{outline:{channelInput:le.variants?.variant?.outline,trigger:{borderWidth:"1px"}},subtle:{channelInput:le.variants?.variant?.subtle,trigger:{borderWidth:"1px",borderColor:"transparent",bg:"bg.muted"}}}},defaultVariants:{size:"md",variant:"outline"}}),xP=W({className:"chakra-combobox",slots:UC.keys(),base:{root:{display:"flex",flexDirection:"column",gap:"1.5",width:"full"},label:{fontWeight:"medium",userSelect:"none",textStyle:"sm",_disabled:{layerStyle:"disabled"}},control:{pos:"relative","--padding-factor":"1","--combobox-input-padding-end":"var(--combobox-input-padding-x)","&:has([data-part=trigger]), &:has([data-part=clear-trigger])":{"--combobox-input-padding-end":"calc(var(--combobox-input-height) * var(--padding-factor))"},"&:has([data-part=trigger]):has([data-part=clear-trigger]:not([hidden]))":{"--padding-factor":"1.5"}},input:{display:"flex",alignItems:"center",justifyContent:"space-between",background:"bg.panel",width:"full",minH:"var(--combobox-input-height)",ps:"var(--combobox-input-padding-x)",pe:"var(--combobox-input-padding-end)","--input-height":"var(--combobox-input-height)",borderRadius:"l2",outline:0,userSelect:"none",textAlign:"start",_placeholderShown:{color:"fg.muted"},_disabled:{layerStyle:"disabled"},"--focus-color":"colors.colorPalette.focusRing","--error-color":"colors.border.error",_invalid:{focusRingColor:"var(--error-color)",borderColor:"var(--error-color)"}},trigger:{display:"inline-flex",alignItems:"center",justifyContent:"center","--input-height":"var(--combobox-input-height)"},clearTrigger:{color:"fg.muted",pointerEvents:"auto",focusVisibleRing:"inside",focusRingWidth:"2px",rounded:"l1"},indicatorGroup:{display:"flex",alignItems:"center",justifyContent:"center",gap:"1",pos:"absolute",insetEnd:"0",top:"0",bottom:"0",px:"var(--combobox-input-padding-x)",_icon:{boxSize:"var(--combobox-indicator-size)"},"[data-disabled] &":{opacity:.5}},content:{background:"bg.panel",display:"flex",flexDirection:"column","--combobox-z-index":"zIndex.popover",zIndex:"calc(var(--combobox-z-index) + var(--layer-index, 0))",borderRadius:"l2",outline:0,maxH:"96",overflowY:"auto",boxShadow:"md",_open:{animationStyle:"slide-fade-in",animationDuration:"fast"},_closed:{animationStyle:"slide-fade-out",animationDuration:"0s"},"&[data-empty]:not(:has([data-scope=combobox][data-part=empty]))":{opacity:0}
3},item:{position:"relative",userSelect:"none",display:"flex",alignItems:"center",gap:"2",py:"var(--combobox-item-padding-y)",px:"var(--combobox-item-padding-x)",cursor:"option",justifyContent:"space-between",flex:"1",textAlign:"start",borderRadius:"l1",_highlighted:{bg:"bg.emphasized/60"},_disabled:{pointerEvents:"none",opacity:"0.5"},_icon:{boxSize:"var(--combobox-indicator-size)"}},empty:{py:"var(--combobox-item-padding-y)",px:"var(--combobox-item-padding-x)"},itemText:{flex:"1"},itemGroup:{pb:"var(--combobox-item-padding-y)",_last:{pb:"0"}},itemGroupLabel:{fontWeight:"medium",py:"var(--combobox-item-padding-y)",px:"var(--combobox-item-padding-x)"}},variants:{variant:{outline:{input:{bg:"transparent",borderWidth:"1px",borderColor:"border",focusVisibleRing:"inside"}},subtle:{input:{borderWidth:"1px",borderColor:"transparent",bg:"bg.muted",focusVisibleRing:"inside"}},flushed:{input:{bg:"transparent",borderBottomWidth:"1px",borderBottomColor:"border",borderRadius:"0",px:"0",_focusVisible:{borderColor:"var(--focus-color)",boxShadow:"0px 1px 0px 0px var(--focus-color)"}},indicatorGroup:{px:"0"}}},size:{xs:{root:{"--combobox-input-height":"sizes.8","--combobox-input-padding-x":"spacing.2","--combobox-indicator-size":"sizes.3.5"},input:{textStyle:"xs"},content:{"--combobox-item-padding-x":"spacing.1.5","--combobox-item-padding-y":"spacing.1","--combobox-indicator-size":"sizes.3.5",p:"1",textStyle:"xs"},trigger:{textStyle:"xs",gap:"1"}},sm:{root:{"--combobox-input-height":"sizes.9","--combobox-input-padding-x":"spacing.2.5","--combobox-indicator-size":"sizes.4"},input:{textStyle:"sm"},content:{"--combobox-item-padding-x":"spacing.2","--combobox-item-padding-y":"spacing.1.5","--combobox-indicator-size":"sizes.4",p:"1",textStyle:"sm"},trigger:{textStyle:"sm",gap:"1"}},md:{root:{"--combobox-input-height":"sizes.10","--combobox-input-padding-x":"spacing.3","--combobox-indicator-size":"sizes.4"},input:{textStyle:"sm"},content:{"--combobox-item-padding-x":"spacing.2","--combobox-item-padding-y":"spacing.1.5","--combobox-indicator-size":"sizes.4",p:"1",textStyle:"sm"},itemIndicator:{display:"flex",alignItems:"center",justifyContent:"center"},trigger:{textStyle:"sm",gap:"2"}},lg:{root:{"--combobox-input-height":"sizes.12","--combobox-input-padding-x":"spacing.4","--combobox-indicator-size":"sizes.5"},input:{textStyle:"md"},content:{"--combobox-item-padding-y":"spacing.2","--combobox-item-padding-x":"spacing.3","--combobox-indicator-size":"sizes.5",p:"1.5",textStyle:"md"},trigger:{textStyle:"md",py:"3",gap:"2"}}}},defaultVariants:{size:"md",variant:"outline"}}),wP=W({slots:IC.keys(),className:"chakra-data-list",base:{itemLabel:{display:"flex",alignItems:"center",gap:"1"},itemValue:{display:"flex",minWidth:"0",flex:"1"}},variants:{orientation:{horizontal:{root:{display:"flex",flexDirection:"column"},item:{display:"inline-flex",alignItems:"center",gap:"4"},itemLabel:{minWidth:"120px"}},vertical:{root:{display:"flex",flexDirection:"column"},item:{display:"flex",flexDirection:"column",gap:"1"}}},size:{sm:{root:{gap:"3"},item:{textStyle:"xs"}},md:{root:{gap:"4"},item:{textStyle:"sm"}},lg:{root:{gap:"5"},item:{textStyle:"md"}}},variant:{subtle:{itemLabel:{color:"fg.muted"}},bold:{itemLabel:{fontWeight:"medium"},itemValue:{color:"fg.muted"}}}},defaultVariants:{size:"md",orientation:"vertical",variant:"subtle"}}),jc=It({display:"inline-flex",alignItems:"center",justifyContent:"center",boxSize:"var(--datepicker-nav-trigger-size)",borderRadius:"l2",color:"fg",focusVisibleRing:"inside",focusRingWidth:"2px",_hover:{bg:"colorPalette.subtle"},_focusVisible:{boxShadow:"0 0 0 2px var(--colors-color-palette-focus-ring)"},_disabled:{opacity:.5},_icon:{boxSize:"4"}}),kP=`url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")`,Hc=It({height:"var(--datepicker-select-height)",ps:"2",pe:"8",textStyle:"sm",borderWidth:"1px",borderRadius:"l2",outline:"none",focu
vendor: 6,054 bytes, line 3
3sVisibleRing:"inside",appearance:"none",fieldSizing:"content",backgroundImage:kP,backgroundRepeat:"no-repeat",backgroundPosition:"right 0.375rem center",backgroundSize:"1.25em"}),SP=W({className:"date-picker",slots:zC.keys(),base:{root:{display:"flex",flexDirection:"column",gap:"1.5",width:"full","--datepicker-indicators-offset":"sizes.3",_disabled:{opacity:.5}},label:{textStyle:"sm",fontWeight:"medium"},indicatorGroup:{position:"absolute",insetEnd:"var(--datepicker-indicators-offset)",top:"50%",transform:"translateY(-50%)",display:"flex",alignItems:"center",justifyContent:"center",gap:"1"},control:{display:"flex",alignItems:"center",gap:"2",width:"full",position:"relative"},input:{flex:"1",minWidth:"0",height:"var(--datepicker-input-height)","--input-height":"var(--datepicker-input-height)",px:"var(--datepicker-input-px)",textStyle:"sm",bg:"transparent",borderRadius:"l2",outline:"0",appearance:"none",color:"fg","--focus-color":"colors.colorPalette.focusRing","--error-color":"colors.border.error",_placeholder:{color:"fg.muted"},_invalid:{focusRingColor:"var(--error-color)",borderColor:"var(--error-color)"}},trigger:{display:"inline-flex",alignItems:"center",justifyContent:"center",width:"6",height:"6",borderRadius:"l1",color:"fg.muted",outline:"none",_hover:{color:"fg"},focusVisibleRing:"inside",focusRingWidth:"2px",_icon:{boxSize:"4"}},content:{display:"flex",flexDirection:"column",gap:"3",p:"3",minW:"18rem",bg:"bg.panel",borderRadius:"l2",boxShadow:"lg",color:"fg",maxHeight:"var(--available-height)","--date-picker-z-index":"zIndex.popover",zIndex:"calc(var(--date-picker-z-index) + var(--layer-index, 0))",outline:"none",_open:{animationStyle:"scale-fade-in",animationDuration:"fast"},_closed:{animationStyle:"scale-fade-out",animationDuration:"faster"}},view:{display:"flex",flexDirection:"column",gap:"3"},viewControl:{display:"flex",alignItems:"center",justifyContent:"space-between",gap:"2",height:"var(--datepicker-nav-trigger-size)"},viewTrigger:{display:"inline-flex",flex:"1",alignItems:"center",justifyContent:"center",gap:"1",py:"1.5",px:"2",textStyle:"sm",fontWeight:"semibold",borderRadius:"l2",focusVisibleRing:"inside",focusRingWidth:"2px",_hover:{bg:"colorPalette.subtle"}},prevTrigger:jc,nextTrigger:jc,rangeText:{textStyle:"sm",fontWeight:"semibold"},table:{borderCollapse:"separate",borderSpacing:"0"},tableHeader:{width:"var(--table-cell-size)",py:"2",textStyle:"xs",fontWeight:"medium",color:"fg.muted",textAlign:"center",textTransform:"uppercase","&[data-type='week-number']":{color:"fg.subtle"}},tableCell:{py:"0.5","&[data-type='week-number']":{color:"fg.subtle"}},tableCellTrigger:{display:"inline-flex",alignItems:"center",justifyContent:"center",minWidth:"var(--table-cell-size)",minHeight:"var(--table-cell-size)",textStyle:"sm",borderRadius:"l2",focusVisibleRing:"inside",focusRingWidth:"2px",focusRingOffset:"0px",cursor:"default",position:"relative",_hover:{bg:"colorPalette.subtle"},"[data-view=month] &, [data-view=year] &":{width:"calc(var(--table-cell-size) * 1.75)"},_today:{color:"colorPalette.fg",fontWeight:"semibold",textDecoration:"underline",textUnderlineOffset:"3px",textDecorationThickness:"2px"},_selected:{bg:"colorPalette.solid",color:"colorPalette.contrast",_hover:{bg:"colorPalette.solid"}},"&[data-in-range]":{bg:"colorPalette.subtle",color:"colorPalette.fg",borderRadius:"0",_hover:{bg:"colorPalette.subtle"}},"&[data-range-start]":{bg:"colorPalette.solid",color:"colorPalette.contrast",borderRadius:"0",borderStartRadius:"l2",_hover:{bg:"colorPalette.solid"}},"&[data-range-end]":{bg:"colorPalette.solid",color:"colorPalette.contrast",borderRadius:"0",borderEndRadius:"l2",_hover:{bg:"colorPalette.solid"}},"&[data-range-start][data-range-end]":{borderRadius:"l2"},"&[data-selected][data-in-range]":{bg:"colorPalette.solid",color:"colorPalette.contrast",borderRadius:"l2",_hover:{bg:"colorPalette.solid"}},_disabled:{opacity:.4}},monthSelect:Hc,yearSelect:Hc,clearTrigger:{display:"inline-flex",alignItems:"center",justifyContent:"center",width:"6",height:"6",flexShrink:0,textStyle:"xs",borderRadius:"l2",color:"fg.muted",_hover:{color:"fg"},focusVisibleRing:"inside",_icon:{width:"4",height:"4"}}},variants:{size:{xs:{root:{"--datepicker-input-height":"sizes.8","--datepicker-input-px":"sizes.2","--datepicker-indicators-offset":"sizes.2"},view:{"--table-cell-size":"sizes.8","--datepicker-nav-trigger-size":"sizes.7","--datepicker-select-height":"sizes.8"}},sm:{root:{"--datepicker-input-height":"sizes.9","--datepicker-input-px":"sizes.2.5","--datepicker-indicators-offset":"sizes.2.5"},view:{"--table-cell-size":"sizes.9","--datepicker-nav-trigger-size":"sizes.8","--datepicker-select-height":"sizes.9"}},md:{root:{"--datepicker-input-height":"sizes.10","--datepicker-input-px":"sizes.3"},view:{"--table-cell-size":"sizes.10","--datepicker-nav-trigger-size":"sizes.8","--datepicker-select-height":"sizes.10"}},lg:{root:{"--datepicker-input-height":"sizes.11","--datepicker-input-px":"sizes.4"},view:{"--table-cell-size":"sizes.10","--datepicker-nav-trigger-size":"sizes.9","--datepicker-select-height":"sizes.10"}},xl:{root:{"--datepicker-input-height":"sizes.12","--datepicker-input-px":"sizes.4.5"},view:{"--table-cell-size":"sizes.10","--datepicker-nav-trigger-size":"sizes.9","--datepicker-select-height":"sizes.10"}}},hideOutsideDays:{true:{tableCellTrigger:{"&[data-outside-range]":{visibility:"hidden"}}}},variant:{outline:{input:{bg:"transparent",borderWidth:"1px",borderColor:"border",focusVisibleRing:"inside",focusRingColor:"var(--focus-color)"}},subtle:{input:{borderWidth:"1px",borderColor:"transparent",bg:"bg.muted",focusVisibleRing:"inside",focusRingColor:"var(--focus-color)"}},flushed:{input:{bg:"transparent",borderBottomWidth:"1px",borderBottomColor:"border",borderRadius:"0",px:"0",_focusVisible:{borderColor:"var(--focus-color)",boxShadow:"0px 1px 0px 0px var(--focus-color)",_invalid:{borderColor:"var(--error-color)",boxShadow:"0px 1px 0px 0px var(--error-color)"}}},indicatorGroup:{insetEnd:"0"}}}},defaultVariants:{size:"md",variant:"outline"}}
vendor: 4,309 bytes, line 3
3),CP=W({slots:NC.keys(),className:"chakra-dialog",base:{backdrop:{bg:"blackAlpha.500",pos:"fixed",left:0,top:0,w:"100dvw",h:"100dvh",zIndex:"var(--z-index)",_open:{animationName:"fade-in",animationDuration:"slow"},_closed:{animationName:"fade-out",animationDuration:"moderate"}},positioner:{display:"flex",width:"100dvw",height:"100dvh",position:"fixed",left:0,top:0,"--dialog-z-index":"zIndex.popover",zIndex:"calc(var(--dialog-z-index) + var(--layer-index, 0))",justifyContent:"center",overscrollBehaviorY:"none"},content:{display:"flex",flexDirection:"column",position:"relative",width:"100%",outline:0,borderRadius:"l3",textStyle:"sm",my:"var(--dialog-margin, var(--dialog-base-margin))","--dialog-z-index":"zIndex.popover",zIndex:"calc(var(--dialog-z-index) + var(--layer-index, 0))",bg:"bg.panel",boxShadow:"lg",_open:{animationDuration:"moderate"},_closed:{animationDuration:"faster"}},header:{display:"flex",gap:"2",flex:0,px:"6",pt:"6",pb:"4"},body:{flex:"1",px:"6",pt:"2",pb:"6"},footer:{display:"flex",alignItems:"center",justifyContent:"flex-end",gap:"3",px:"6",pt:"2",pb:"4"},title:{textStyle:"lg",fontWeight:"semibold"},description:{color:"fg.muted"},closeTrigger:{pos:"absolute",top:"2",insetEnd:"2"}},variants:{placement:{center:{positioner:{alignItems:"center"},content:{"--dialog-base-margin":"auto",mx:"auto"}},top:{positioner:{alignItems:"flex-start"},content:{"--dialog-base-margin":"spacing.16",mx:"auto"}},bottom:{positioner:{alignItems:"flex-end"},content:{"--dialog-base-margin":"spacing.16",mx:"auto"}}},scrollBehavior:{inside:{positioner:{overflow:"hidden"},content:{maxH:"calc(100% - 7.5rem)"},body:{overflow:"auto"}},outside:{positioner:{overflow:"auto",pointerEvents:"auto"}}},size:{xs:{content:{maxW:"sm"}},sm:{content:{maxW:"md"}},md:{content:{maxW:"lg"}},lg:{content:{maxW:"2xl"}},xl:{content:{maxW:"4xl"}},cover:{positioner:{padding:"10"},content:{width:"100%",height:"100%","--dialog-margin":"0"}},full:{content:{maxW:"100dvw",minH:"100dvh","--dialog-margin":"0",borderRadius:"0"}}},motionPreset:{scale:{content:{_open:{animationName:"scale-in, fade-in"},_closed:{animationName:"scale-out, fade-out"}}},"slide-in-bottom":{content:{_open:{animationName:"slide-from-bottom, fade-in"},_closed:{animationName:"slide-to-bottom, fade-out"}}},"slide-in-top":{content:{_open:{animationName:"slide-from-top, fade-in"},_closed:{animationName:"slide-to-top, fade-out"}}},"slide-in-left":{content:{_open:{animationName:"slide-from-left, fade-in"},_closed:{animationName:"slide-to-left, fade-out"}}},"slide-in-right":{content:{_open:{animationName:"slide-from-right, fade-in"},_closed:{animationName:"slide-to-right, fade-out"}}},none:{}}},defaultVariants:{size:"md",scrollBehavior:"outside",placement:"top",motionPreset:"scale"}}),PP=W({slots:OC.keys(),className:"chakra-drawer",base:{backdrop:{bg:"blackAlpha.500",pos:"fixed",insetInlineStart:0,top:0,w:"100vw",h:"100dvh",zIndex:"var(--z-index)",_open:{animationName:"fade-in",animationDuration:"slow"},_closed:{animationName:"fade-out",animationDuration:"moderate"}},positioner:{display:"flex",width:"100vw",height:"100dvh",position:"fixed",insetInlineStart:0,top:0,"--drawer-z-index":"zIndex.popover",zIndex:"calc(var(--drawer-z-index) + var(--layer-index, 0))",overscrollBehaviorY:"none"},content:{display:"flex",flexDirection:"column",position:"relative",width:"100%",outline:0,"--drawer-z-index":"zIndex.popover",zIndex:"calc(var(--drawer-z-index) + var(--layer-index, 0))",textStyle:"sm",maxH:"100dvh",color:"inherit",bg:"bg.panel",boxShadow:"lg",_open:{animationDuration:"slowest",animationTimingFunction:"ease-in-smooth"},_closed:{animationDuration:"slower",animationTimingFunction:"ease-in-smooth"}},header:{display:"flex",alignItems:"center",gap:"2",flex:0,px:"6",pt:"6",pb:"4"},body:{px:"6",py:"2",flex:"1",overflow:"auto"},footer:{display:"flex",alignItems:"center",justifyContent:"flex-end",gap:"3",px:"6",pt:"2",pb:"4"},title:{flex:"1",textStyle:"lg",fontWeight:"semibold"},description:{color:"fg.muted"},closeTrigger:{pos:"absolute",top:"3",insetEnd:"2"}},variants:{size:{xs:{content:{maxW:"xs"}},sm:{content:{maxW:"md"}},md:{content:{maxW:"lg"}},lg:{content:{maxW:"2xl"}},xl:{content:{maxW:"4xl"}},full:{content:{maxW:"100vw",h:"100dvh"}}},placement:{start:{positioner:{justifyContent:"flex-start",alignItems:"stretch"}
vendor: 34,195 bytes, line 3
3,content:{_open:{animationName:{base:"slide-from-left-full, fade-in",_rtl:"slide-from-right-full, fade-in"}},_closed:{animationName:{base:"slide-to-left-full, fade-out",_rtl:"slide-to-right-full, fade-out"}}}},end:{positioner:{justifyContent:"flex-end",alignItems:"stretch"},content:{_open:{animationName:{base:"slide-from-right-full, fade-in",_rtl:"slide-from-left-full, fade-in"}},_closed:{animationName:{base:"slide-to-right-full, fade-out",_rtl:"slide-to-left-full, fade-out"}}}},top:{positioner:{justifyContent:"stretch",alignItems:"flex-start"},content:{maxW:"100%",_open:{animationName:"slide-from-top-full, fade-in"},_closed:{animationName:"slide-to-top-full, fade-out"}}},bottom:{positioner:{justifyContent:"stretch",alignItems:"flex-end"},content:{maxW:"100%",_open:{animationName:"slide-from-bottom-full, fade-in"},_closed:{animationName:"slide-to-bottom-full, fade-out"}}}},contained:{true:{positioner:{padding:"4"},content:{borderRadius:"l3"}}}},defaultVariants:{size:"xs",placement:"end"}}),Gc=It({fontSize:"inherit",fontWeight:"inherit",textAlign:"inherit",bg:"transparent",borderRadius:"l2"}),TP=W({slots:_C.keys(),className:"chakra-editable",base:{root:{display:"inline-flex",alignItems:"center",position:"relative",gap:"1.5",width:"full"},preview:{...Gc,py:"1",px:"1",display:"inline-flex",alignItems:"center",transitionProperty:"common",transitionDuration:"moderate",cursor:"text",_hover:{bg:"bg.muted"},_disabled:{userSelect:"none"}},input:{...Gc,outline:"0",py:"1",px:"1",transitionProperty:"common",transitionDuration:"normal",width:"full",focusVisibleRing:"inside",focusRingWidth:"2px",_placeholder:{opacity:.6}},control:{display:"inline-flex",alignItems:"center",gap:"1.5"}},variants:{size:{sm:{root:{textStyle:"sm"},preview:{minH:"8"},input:{minH:"8"}},md:{root:{textStyle:"sm"},preview:{minH:"9"},input:{minH:"9"}},lg:{root:{textStyle:"md"},preview:{minH:"10"},input:{minH:"10"}}}},defaultVariants:{size:"md"}}),RP=W({slots:VC.keys(),className:"chakra-empty-state",base:{root:{width:"full"},content:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},indicator:{display:"flex",alignItems:"center",justifyContent:"center",color:"fg.subtle",_icon:{boxSize:"1em"}},title:{fontWeight:"semibold"},description:{textStyle:"sm",color:"fg.muted"}},variants:{size:{sm:{root:{px:"4",py:"6"},title:{textStyle:"md"},content:{gap:"4"},indicator:{textStyle:"2xl"}},md:{root:{px:"8",py:"12"},title:{textStyle:"lg"},content:{gap:"6"},indicator:{textStyle:"4xl"}},lg:{root:{px:"12",py:"16"},title:{textStyle:"xl"},content:{gap:"8"},indicator:{textStyle:"6xl"}}}},defaultVariants:{size:"md"}}),EP=W({className:"chakra-field",slots:DC.keys(),base:{requiredIndicator:{color:"fg.error",lineHeight:"1"},root:{display:"flex",width:"100%",position:"relative",gap:"1.5"},label:{display:"flex",alignItems:"center",textAlign:"start",textStyle:"sm",fontWeight:"medium",gap:"1",userSelect:"none",_disabled:{opacity:"0.5"}},errorText:{display:"inline-flex",alignItems:"center",fontWeight:"medium",gap:"1",color:"fg.error",textStyle:"xs"},helperText:{color:"fg.muted",textStyle:"xs"}},variants:{orientation:{vertical:{root:{flexDirection:"column",alignItems:"flex-start"}},horizontal:{root:{flexDirection:"row",alignItems:"center",justifyContent:"space-between"},label:{flex:"0 0 var(--field-label-width, 80px)"}}}},defaultVariants:{orientation:"vertical"}}),AP=W({className:"fieldset",slots:MC.keys(),base:{root:{display:"flex",flexDirection:"column",width:"full"},content:{display:"flex",flexDirection:"column",width:"full"},legend:{color:"fg",fontWeight:"medium",_disabled:{opacity:"0.5"}},helperText:{color:"fg.muted",textStyle:"sm"},errorText:{display:"inline-flex",alignItems:"center",color:"fg.error",gap:"2",fontWeight:"medium",textStyle:"sm"}},variants:{size:{sm:{root:{spaceY:"2"},content:{gap:"1.5"},legend:{textStyle:"sm"}},md:{root:{spaceY:"4"},content:{gap:"4"},legend:{textStyle:"sm"}},lg:{root:{spaceY:"6"},content:{gap:"4"},legend:{textStyle:"md"}}}},defaultVariants:{size:"md"}}),IP=W({className:"chakra-file-upload",slots:LC.keys(),base:{root:{display:"flex",flexDirection:"column",gap:"4",width:"100%",alignItems:"flex-start"},label:{fontWeight:"medium",textStyle:"sm"},dropzone:{background:"bg",borderRadius:"l3",borderWidth:"2px",borderStyle:"dashed",display:"flex",alignItems:"center",flexDirection:"column",gap:"4",justifyContent:"center",minHeight:"2xs",px:"3",py:"2",transition:"backgrounds",focusVisibleRing:"outside",_hover:{bg:"bg.subtle"},_dragging:{bg:"colorPalette.subtle",borderStyle:"solid",borderColor:"colorPalette.solid"}},dropzoneContent:{display:"flex",flexDirection:"column",alignItems:"center",textAlign:"center",gap:"1",textStyle:"sm"},item:{pos:"relative",textStyle:"sm",animationName:"fade-in",animationDuration:"moderate",background:"bg",borderRadius:"l2",borderWidth:"1px",width:"100%",display:"flex",alignItems:"center",gap:"3",p:"4"},itemGroup:{width:"100%",display:"flex",flexDirection:"column",gap:"3",_empty:{display:"none"}},itemName:{color:"fg",fontWeight:"medium",lineClamp:"1"},itemContent:{display:"flex",flexDirection:"column",gap:"0.5",flex:"1"},itemSizeText:{color:"fg.muted",textStyle:"xs"},itemDeleteTrigger:{display:"flex",alignItems:"center",justifyContent:"center",alignSelf:"flex-start",boxSize:"5",p:"2px",color:"fg.muted",cursor:"button"},itemPreview:{color:"fg.muted",_icon:{boxSize:"4.5"}}},defaultVariants:{}}),zP=W({className:"chakra-hover-card",slots:_p.keys(),base:{content:{position:"relative",display:"flex",flexDirection:"column",textStyle:"sm","--hovercard-bg":"colors.bg.panel",bg:"var(--hovercard-bg)",boxShadow:"lg",maxWidth:"80",borderRadius:"l3","--hover-card-z-index":"zIndex.popover",zIndex:"calc(var(--hover-card-z-index) + var(--layer-index, 0))",transformOrigin:"var(--transform-origin)",outline:"0",_open:{animationStyle:"slide-fade-in",animationDuration:"fast"},_closed:{animationStyle:"slide-fade-out",animationDuration:"faster"}},arrow:{"--arrow-size":"sizes.3","--arrow-background":"var(--hovercard-bg)"},arrowTip:{borderTopWidth:"0.5px",borderLeftWidth:"0.5px"}},variants:{size:{xs:{content:{padding:"3"}},sm:{content:{padding:"4"}},md:{content:{padding:"5"}},lg:{content:{padding:"6"}}}},defaultVariants:{size:"md"}}),NP=W({className:"chakra-list",slots:FC.keys(),base:{root:{display:"flex",flexDirection:"column",gap:"var(--list-gap)","& :where(ul, ol)":{marginTop:"var(--list-gap)"}},item:{whiteSpace:"normal",display:"list-item"},indicator:{marginEnd:"2",minHeight:"1lh",flexShrink:0,display:"inline-block",verticalAlign:"middle"}},variants:{variant:{marker:{root:{listStyle:"revert"},item:{_marker:{color:"fg.subtle"}}},plain:{item:{alignItems:"flex-start",display:"inline-flex"}}},align:{center:{item:{alignItems:"center"}},start:{item:{alignItems:"flex-start"}},end:{item:{alignItems:"flex-end"}}}},defaultVariants:{variant:"marker"}}),OP=W({className:"chakra-listbox",slots:sP.keys(),base:{root:{display:"flex",flexDirection:"column",gap:"1.5",width:"full"},content:{display:"flex",maxH:"96",p:"1",gap:"1",textStyle:"sm",outline:"none",scrollPadding:"1",_horizontal:{flexDirection:"row",overflowX:"auto"},_vertical:{flexDirection:"column",overflowY:"auto"},"--listbox-item-padding-x":"spacing.2","--listbox-item-padding-y":"spacing.1.5"},item:{position:"relative",userSelect:"none",display:"flex",alignItems:"center",gap:"2",cursor:"pointer",justifyContent:"space-between",flex:"1",textAlign:"start",borderRadius:"l1",py:"var(--listbox-item-padding-y)",px:"var(--listbox-item-padding-x)",_highlighted:{outline:"2px solid",outlineColor:"border.emphasized"},_disabled:{pointerEvents:"none",opacity:"0.5"}},empty:{py:"var(--listbox-item-padding-y)",px:"var(--listbox-item-padding-x)"},itemText:{flex:"1"},itemGroup:{mt:"1.5",_first:{mt:"0"}},itemGroupLabel:{py:"1.5",px:"2",fontWeight:"medium"},label:{fontWeight:"medium",userSelect:"none",textStyle:"sm",_disabled:{layerStyle:"disabled"}},valueText:{lineClamp:"1",maxW:"80%"},itemIndicator:{display:"flex",alignItems:"center",justifyContent:"center",_icon:{boxSize:"4"}}},variants:{variant:{subtle:{content:{bg:"bg.panel",borderWidth:"1px",borderRadius:"l2"},item:{_hover:{bg:"bg.emphasized/60"},_selected:{bg:"bg.muted"}}},solid:{content:{bg:"bg.panel",borderWidth:"1px",borderRadius:"l2"},item:{_selected:{bg:"colorPalette.solid",color:"colorPalette.contrast"}}},plain:{}}},defaultVariants:{variant:"subtle"}}),_P=W({className:"chakra-marquee",slots:Mp.keys(),base:{root:{position:"relative",width:"100%","--marquee-edge-color":"colors.bg","--marquee-edge-size":"20%","&[data-paused]":{animationPlayState:"paused !important","& *":{animationPlayState:"paused !important"}}},viewport:{overflow:"hidden",display:"flex",width:"100%",height:"100%"},content:{display:"flex",minWidth:"max-content",animationTimingFunction:"linear",animationFillMode:"forwards",animationDuration:"var(--marquee-duration)",animationDelay:"var(--marquee-delay)",animationIterationCount:"var(--marquee-loop-count)",_motionReduce:{animation:"none !important"},"&[data-side='start'], &[data-side='end']":{animationName:"marqueeX"},"&[data-side='top'], &[data-side='bottom']":{animationName:"marqueeY"},"&[data-reverse]":{animationDirection:"reverse"},"&[data-orientation='horizontal']":{flexDirection:"row"},"&[data-orientation='vertical']":{flexDirection:"column"}},edge:{position:"absolute",zIndex:"1",pointerEvents:"none","&[data-side='start']":{width:"var(--marquee-edge-size)",insetY:"0",insetInlineStart:"0",background:"linear-gradient(to right, var(--marquee-edge-color, white), transparent)",_rtl:{background:"linear-gradient(to left, var(--marquee-edge-color, white), transparent)"}},"&[data-side='end']":{width:"var(--marquee-edge-size)",insetY:"0",insetInlineEnd:"0",background:"linear-gradient(to left, var(--marquee-edge-color, white), transparent)",_rtl:{background:"linear-gradient(to right, var(--marquee-edge-color, white), transparent)"}},"&[data-side='top']":{height:"var(--marquee-edge-size)",insetX:"0",top:"0",background:"linear-gradient(to bottom, var(--marquee-edge-color, white), transparent)"},"&[data-side='bottom']":{height:"var(--marquee-edge-size)",insetX:"0",bottom:"0",background:"linear-gradient(to top, var(--marquee-edge-color, white), transparent)"}}}}),VP=W({className:"chakra-menu",slots:WC.keys(),base:{content:{outline:0,"--menu-bg":"colors.bg.panel",bg:"var(--menu-bg)",boxShadow:"lg",color:"fg",maxHeight:"var(--available-height)","--menu-z-index":"zIndex.popover",zIndex:"calc(var(--menu-z-index) + var(--layer-index, 0))",borderRadius:"l2",overflow:"hidden",overflowY:"auto",_open:{animationStyle:"slide-fade-in",animationDuration:"fast"},_closed:{animationStyle:"slide-fade-out",animationDuration:"faster"}},item:{textDecoration:"none",color:"fg",userSelect:"none",borderRadius:"l1",width:"100%",display:"flex",cursor:"menuitem",alignItems:"center",textAlign:"start",position:"relative",flex:"0 0 auto",outline:0,_disabled:{layerStyle:"disabled"},"&[data-type]":{ps:"8"}},itemText:{flex:"1"},itemIndicator:{position:"absolute",insetStart:"2",transform:"translateY(-50%)",top:"50%"},itemGroupLabel:{px:"2",py:"1.5",fontWeight:"semibold",textStyle:"sm"},indicator:{display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:"0"},itemCommand:{opacity:"0.6",textStyle:"xs",ms:"auto",ps:"4",letterSpacing:"widest",fontFamily:"inherit"},separator:{height:"1px",bg:"bg.muted",my:"1",mx:"-1"},arrow:{"--arrow-size":"sizes.3","--arrow-background":"var(--menu-bg)"},arrowTip:{borderTopWidth:"1px",borderLeftWidth:"1px"}},variants:{variant:{subtle:{item:{_highlighted:{bg:"bg.emphasized/60"}}},solid:{item:{_highlighted:{bg:"colorPalette.solid",color:"colorPalette.contrast"}}}},size:{sm:{content:{minW:"8rem",padding:"1",scrollPadding:"1"},item:{gap:"1",textStyle:"xs",py:"1",px:"1.5"}},md:{content:{minW:"8rem",padding:"1.5",scrollPadding:"1.5"},item:{gap:"2",textStyle:"sm",py:"1.5",px:"2"}}}},defaultVariants:{size:"md",variant:"subtle"}}),tn=W({className:"chakra-select",slots:GC.keys(),base:{root:{display:"flex",flexDirection:"column",gap:"1.5",width:"full"},trigger:{display:"flex",alignItems:"center",justifyContent:"space-between",width:"full",minH:"var(--select-trigger-height)","--input-height":"var(--select-trigger-height)",px:"var(--select-trigger-padding-x)",borderRadius:"l2",userSelect:"none",textAlign:"start",focusVisibleRing:"inside",_placeholderShown:{color:"fg.muted/80"},_disabled:{layerStyle:"disabled"},_invalid:{borderColor:"border.error"}},indicatorGroup:{display:"flex",alignItems:"center",gap:"1",pos:"absolute",insetEnd:"0",top:"0",bottom:"0",px:"var(--select-trigger-padding-x)",pointerEvents:"none"},indicator:{display:"flex",alignItems:"center",justifyContent:"center",color:{base:"fg.muted",_disabled:"fg.subtle",_invalid:"fg.error"}},content:{background:"bg.panel",display:"flex",flexDirection:"column","--select-z-index":"zIndex.popover",zIndex:"calc(var(--select-z-index) + var(--layer-index, 0))",borderRadius:"l2",outline:0,maxH:"96",overflowY:"auto",boxShadow:"md",_open:{animationStyle:"slide-fade-in",animationDuration:"fast"},_closed:{animationStyle:"slide-fade-out",animationDuration:"fastest"}},item:{position:"relative",userSelect:"none",display:"flex",alignItems:"center",gap:"2",cursor:"option",justifyContent:"space-between",flex:"1",textAlign:"start",borderRadius:"l1",_highlighted:{bg:"bg.emphasized/60"},_disabled:{pointerEvents:"none",opacity:"0.5"},_icon:{width:"4",height:"4"}},control:{pos:"relative"},itemText:{flex:"1"},itemGroup:{_first:{mt:"0"}},itemGroupLabel:{py:"1",fontWeight:"medium"},label:{fontWeight:"medium",userSelect:"none",textStyle:"sm",_disabled:{layerStyle:"disabled"}},valueText:{lineClamp:"1",maxW:"80%"},clearTrigger:{color:"fg.muted",pointerEvents:"auto",focusVisibleRing:"inside",focusRingWidth:"2px",rounded:"l1"}},variants:{variant:{outline:{trigger:{bg:"transparent",borderWidth:"1px",borderColor:"border",_expanded:{borderColor:"border.emphasized"}}},subtle:{trigger:{borderWidth:"1px",borderColor:"transparent",bg:"bg.muted"}},ghost:{trigger:{bg:"transparent",_expanded:{bg:"bg.muted"}}}},size:{xs:{root:{"--select-trigger-height":"sizes.8","--select-trigger-padding-x":"spacing.2"},content:{p:"1",gap:"1",textStyle:"xs"},trigger:{textStyle:"xs",gap:"1"},item:{py:"1",px:"2"},itemGroupLabel:{py:"1",px:"2"},indicator:{_icon:{width:"3.5",height:"3.5"}}},sm:{root:{"--select-trigger-height":"sizes.9","--select-trigger-padding-x":"spacing.2.5"},content:{p:"1",textStyle:"sm"},trigger:{textStyle:"sm",gap:"1"},indicator:{_icon:{width:"4",height:"4"}},item:{py:"1",px:"1.5"},itemGroup:{mt:"1"},itemGroupLabel:{py:"1",px:"1.5"}},md:{root:{"--select-trigger-height":"sizes.10","--select-trigger-padding-x":"spacing.3"},content:{p:"1",textStyle:"sm"},itemGroup:{mt:"1.5"},item:{py:"1.5",px:"2"},itemIndicator:{display:"flex",alignItems:"center",justifyContent:"center"},itemGroupLabel:{py:"1.5",px:"2"},trigger:{textStyle:"sm",gap:"2"},indicator:{_icon:{width:"4",height:"4"}}},lg:{root:{"--select-trigger-height":"sizes.12","--select-trigger-padding-x":"spacing.4"},content:{p:"1.5",textStyle:"md"},itemGroup:{mt:"2"},item:{py:"2",px:"3"},itemGroupLabel:{py:"2",px:"3"},trigger:{textStyle:"md",py:"3",gap:"2"},indicator:{_icon:{width:"5",height:"5"}}}}},defaultVariants:{size:"md",variant:"outline"}}),DP=W({className:"chakra-native-select",slots:$C.keys(),base:{root:{height:"fit-content",display:"flex",width:"100%",position:"relative"},field:{width:"100%",minWidth:"0",outline:"0",appearance:"none",borderRadius:"l2","--error-color":"colors.border.error","--input-height":"var(--select-field-height)",height:"var(--select-field-height)",_disabled:{layerStyle:"disabled"},_invalid:{focusRingColor:"var(--error-color)",borderColor:"var(--error-color)"},focusVisibleRing:"inside",lineHeight:"normal","& > option, & > optgroup":{bg:"bg"}},indicator:{position:"absolute",display:"inline-flex",alignItems:"center",justifyContent:"center",pointerEvents:"none",top:"50%",transform:"translateY(-50%)",height:"100%",color:"fg.muted",_disabled:{opacity:"0.5"},_invalid:{color:"fg.error"},_icon:{width:"1em",height:"1em"}}},variants:{variant:{outline:{field:tn.variants?.variant.outline.trigger},subtle:{field:tn.variants?.variant.subtle.trigger},plain:{field:{bg:"transparent",color:"fg",focusRingWidth:"2px"}},ghost:{field:tn.variants?.variant.ghost.trigger}},size:{xs:{root:{"--select-field-height":"sizes.8"},field:{textStyle:"xs",ps:"2",pe:"6"},indicator:{textStyle:"sm",insetEnd:"1.5"}},sm:{root:{"--select-field-height":"sizes.9"},field:{textStyle:"sm",ps:"2.5",pe:"8"},indicator:{textStyle:"md",insetEnd:"2"}},md:{root:{"--select-field-height":"sizes.10"},field:{textStyle:"sm",ps:"3",pe:"8"},indicator:{textStyle:"lg",insetEnd:"2"}},lg:{root:{"--select-field-height":"sizes.11"},field:{textStyle:"md",ps:"4",pe:"8"},indicator:{textStyle:"xl",insetEnd:"3"}},xl:{root:{"--select-field-height":"sizes.12"},field:{textStyle:"md",ps:"4.5",pe:"10"},indicator:{textStyle:"xl",insetEnd:"3"}}}},defaultVariants:tn.defaultVariants}),Uc=It({display:"flex",justifyContent:"center",alignItems:"center",flex:"1",userSelect:"none",cursor:"button",lineHeight:"1",color:"fg.muted","--stepper-base-radius":"radii.l1","--stepper-radius":"calc(var(--stepper-base-radius) + 1px)",_icon:{boxSize:"1em"},_disabled:{opacity:"0.5"},_hover:{bg:"bg.muted"},_active:{bg:"bg.emphasized"}}),MP=W({className:"chakra-number-input",slots:Fp.keys(),base:{root:{position:"relative",zIndex:"0",isolation:"isolate"},input:{...le.base,verticalAlign:"top",pe:"calc(var(--stepper-width) + 0.5rem)"},control:{display:"flex",flexDirection:"column",position:"absolute",top:"0",insetEnd:"0px",margin:"1px",width:"var(--stepper-width)",height:"calc(100% - 2px)",zIndex:"1",borderStartWidth:"1px",divideY:"1px"},incrementTrigger:{...Uc,borderTopEndRadius:"var(--stepper-radius)"},decrementTrigger:{...Uc,borderBottomEndRadius:"var(--stepper-radius)"},valueText:{fontWeight:"medium",fontFeatureSettings:"pnum",fontVariantNumeric:"proportional-nums"}},variants:{size:{xs:{input:le.variants.size.xs,control:{fontSize:"2xs","--stepper-width":"sizes.4"}},sm:{input:le.variants.size.sm,control:{fontSize:"xs","--stepper-width":"sizes.5"}},md:{input:le.variants.size.md,control:{fontSize:"sm","--stepper-width":"sizes.6"}},lg:{input:le.variants.size.lg,control:{fontSize:"sm","--stepper-width":"sizes.6"}}},variant:Ye(le.variants.variant,(e,t)=>[e,{input:t}])},defaultVariants:{size:"md",variant:"outline"}}),{variants:qc,defaultVariants:LP}=le,FP=W({className:"chakra-pin-input",slots:Wp.keys(),base:{input:{...le.base,textAlign:"center",width:"var(--input-height)"},control:{display:"inline-flex",gap:"2",isolation:"isolate"}},variants:{size:Ye(qc.size,(e,t)=>[e,{input:{...t,px:"1"}}]),variant:Ye(qc.variant,(e,t)=>[e,{input:t}]),attached:{true:{control:{gap:"0",spaceX:"-1px"},input:{_notFirst:{borderStartRadius:"0"},_notLast:{borderEndRadius:"0"},_focusVisible:{zIndex:"1"}}}}},defaultVariants:LP}),WP=W({className:"chakra-popover",slots:BC.keys(),base:{content:{position:"relative",display:"flex",flexDirection:"column",textStyle:"sm","--popover-bg":"colors.bg.panel",bg:"var(--popover-bg)",boxShadow:"lg","--popover-size":"sizes.xs","--popover-mobile-size":"calc(100dvw - 1rem)",width:{base:"min(var(--popover-mobile-size), var(--popover-size))",sm:"var(--popover-size)"},borderRadius:"l3","--popover-z-index":"zIndex.popover",zIndex:"calc(var(--popover-z-index) + var(--layer-index, 0))",outline:"0",transformOrigin:"var(--transform-origin)",maxHeight:"var(--available-height)",_open:{animationStyle:"scale-fade-in",animationDuration:"fast"},_closed:{animationStyle:"scale-fade-out",animationDuration:"faster"}},header:{paddingInline:"var(--popover-padding)",paddingTop:"var(--popover-padding)"},body:{padding:"var(--popover-padding)",flex:"1"},footer:{display:"flex",alignItems:"center",paddingInline:"var(--popover-padding)",paddingBottom:"var(--popover-padding)"},arrow:{"--arrow-size":"sizes.3","--arrow-background":"var(--popover-bg)"},arrowTip:{borderTopWidth:"1px",borderLeftWidth:"1px"}},variants:{size:{xs:{content:{"--popover-padding":"spacing.3"}},sm:{content:{"--popover-padding":"spacing.4"}},md:{content:{"--popover-padding":"spacing.5"}},lg:{content:{"--popover-padding":"spacing.6"}}}},defaultVariants:{size:"md"}}),$P=W({slots:Da.keys(),className:"chakra-progress",base:{root:{textStyle:"sm",position:"relative"},track:{overflow:"hidden",position:"relative"},range:{display:"flex",alignItems:"center",justifyContent:"center",transitionProperty:"width, height",transitionDuration:"slow",height:"100%",bgColor:"var(--track-color)",_indeterminate:{"--animate-from-x":"-40%","--animate-to-x":"100%",position:"absolute",willChange:"left",minWidth:"50%",animation:"position 1s ease infinite normal none running",backgroundImage:"linear-gradient(to right, transparent 0%, var(--track-color) 50%, transparent 100%)"}},label:{display:"inline-flex",fontWeight:"medium",alignItems:"center",gap:"1"},valueText:{textStyle:"xs",lineHeight:"1",fontWeight:"medium"}},variants:{variant:{outline:{track:{shadow:"inset",bgColor:"bg.muted"},range:{bgColor:"colorPalette.solid"}},subtle:{track:{bgColor:"colorPalette.muted"},range:{bgColor:"colorPalette.solid/72"}}},shape:{square:{},rounded:{track:{borderRadius:"l1"}},full:{track:{borderRadius:"full"}}},striped:{true:{range:{backgroundImage:"linear-gradient(45deg, var(--stripe-color) 25%, transparent 25%, transparent 50%, var(--stripe-color) 50%, var(--stripe-color) 75%, transparent 75%, transparent)",backgroundSize:"var(--stripe-size) var(--stripe-size)","--stripe-size":"1rem","--stripe-color":{_light:"rgba(255, 255, 255, 0.3)",_dark:"rgba(0, 0, 0, 0.3)"}}}},animated:{true:{range:{"--animate-from":"var(--stripe-size)",animation:"bg-position 1s linear infinite"}}},size:{xs:{track:{h:"1.5"}},sm:{track:{h:"2"}},md:{track:{h:"2.5"}},lg:{track:{h:"3"}},xl:{track:{h:"4"}}}},defaultVariants:{variant:"outline",size:"md",shape:"rounded"}}),BP=W({className:"chakra-progress-circle",slots:Da.keys(),base:{root:{display:"inline-flex",textStyle:"sm",position:"relative"},circle:{_indeterminate:{animation:"spin 2s linear infinite"}},circleTrack:{"--track-color":"colors.colorPalette.muted",stroke:"var(--track-color)"},circleRange:{stroke:"colorPalette.solid",transitionProperty:"stroke-dashoffset, stroke-dasharray",transitionDuration:"0.6s",_indeterminate:{animation:"circular-progress 1.5s linear infinite"}},label:{display:"inline-flex"},valueText:{lineHeight:"1",fontWeight:"medium",letterSpacing:"tight",fontVariantNumeric:"tabular-nums"}},variants:{size:{xs:{circle:{"--size":"24px","--thickness":"4px"},valueText:{textStyle:"2xs"}},sm:{circle:{"--size":"32px","--thickness":"5px"},valueText:{textStyle:"2xs"}},md:{circle:{"--size":"40px","--thickness":"6px"},valueText:{textStyle:"xs"}},lg:{circle:{"--size":"48px","--thickness":"7px"},valueText:{textStyle:"sm"}},xl:{circle:{"--size":"64px","--thickness":"8px"},valueText:{textStyle:"sm"}}}},defaultVariants:{size:"md"}}),jP=W({slots:ch.keys(),className:"chakra-qr-code",base:{root:{position:"relative",width:"fit-content","--qr-code-overlay-size":"calc(var(--qr-code-size) / 3)"},frame:{width:"var(--qr-code-size)",height:"var(--qr-code-size)",fill:"currentColor"},overlay:{display:"flex",alignItems:"center",justifyContent:"center",width:"var(--qr-code-overlay-size)",height:"var(--qr-code-overlay-size)",padding:"1",bg:"bg",rounded:"l1"}},variants:{size:{"2xs":{root:{"--qr-code-size":"40px"}},xs:{root:{"--qr-code-size":"64px"}},sm:{root:{"--qr-code-size":"80px"}},md:{root:{"--qr-code-size":"120px"}},lg:{root:{"--qr-code-size":"160px"}},xl:{root:{"--qr-code-size":"200px"}},"2xl":{root:{"--qr-code-size":"240px"}},full:{root:{"--qr-code-size":"100%"}}}},defaultVariants:{size:"md"}}),HP=W({className:"chakra-radio-card",slots:jC.keys(),base:{root:{display:"flex",flexDirection:"column",gap:"1.5",isolation:"isolate"},item:{flex:"1",display:"flex",flexDirection:"column",userSelect:"none",position:"relative",borderRadius:"l2",_focus:{bg:"colorPalette.muted/20"},_disabled:{opacity:"0.5"},_checked:{zIndex:"1"}},label:{display:"inline-flex",fontWeight:"medium",textStyle:"sm",_disabled:{opacity:"0.5"}},itemText:{fontWeight:"medium",flex:"1"},itemDescription:{opacity:"0.64",textStyle:"sm"},itemControl:{display:"inline-flex",flex:"1",pos:"relative",rounded:"inherit",justifyContent:"var(--radio-card-justify)",alignItems:"var(--radio-card-align)",_disabled:{bg:"bg.muted"}},itemIndicator:Se.base,itemAddon:{roundedBottom:"inherit",_disabled:{color:"fg.muted"}},itemContent:{display:"flex",flexDirection:"column",flex:"1",gap:"1",justifyContent:"var(--radio-card-justify)",alignItems:"var(--radio-card-align)"}},variants:{size:{sm:{item:{textStyle:"sm"},itemControl:{padding:"3",gap:"1.5"},itemAddon:{px:"3",py:"1.5",borderTopWidth:"1px"},itemIndicator:Se.variants?.size.sm},md:{item:{textStyle:"sm"},itemControl:{padding:"4",gap:"2.5"},itemAddon:{px:"4",py:"2",borderTopWidth:"1px"},itemIndicator:Se.variants?.size.md},lg:{item:{textStyle:"md"},itemControl:{padding:"4",gap:"3.5"},itemAddon:{px:"4",py:"2",borderTopWidth:"1px"},itemIndicator:Se.variants?.size.lg}},variant:{surface:{item:{borderWidth:"1px",_checked:{bg:"colorPalette.subtle",color:"colorPalette.fg",borderColor:"colorPalette.muted"}},itemIndicator:Se.variants?.variant.solid},subtle:{item:{bg:"bg.muted"},itemControl:{_checked:{bg:"colorPalette.muted",color:"colorPalette.fg"}},itemIndicator:Se.variants?.variant.outline},outline:{item:{borderWidth:"1px",_checked:{boxShadow:"0 0 0 1px var(--shadow-color)",boxShadowColor:"colorPalette.solid",borderColor:"colorPalette.solid"}},itemIndicator:Se.variants?.variant.solid},solid:{item:{borderWidth:"1px",_checked:{bg:"colorPalette.solid",color:"colorPalette.contrast",borderColor:"colorPalette.solid"}},itemControl:{_disabled:{bg:"unset"}},itemIndicator:Se.variants?.variant.inverted}},justify:{start:{item:{"--radio-card-justify":"flex-start"}},end:{item:{"--radio-card-justify":"flex-end"}},center:{item:{"--radio-card-justify":"center"}}},align:{start:{item:{"--radio-card-align":"flex-start"},itemControl:{textAlign:"start"}},end:{item:{"--radio-card-align":"flex-end"},itemControl:{textAlign:"end"}},center:{item:{"--radio-card-align":"center"},itemControl:{textAlign:"center"}}},orientation:{vertical:{itemControl:{flexDirection:"column"}},horizontal:{itemControl:{flexDirection:"row"}}}},defaultVariants:{size:"md",variant:"outline",align:"start",orientation:"horizontal"}}),GP=W({className:"chakra-radio-group",slots:Zh.keys(),base:{item:{display:"inline-flex",alignItems:"center",position:"relative",fontWeight:"medium",_disabled:{cursor:"disabled"}},itemControl:Se.base,label:{userSelect:"none",textStyle:"sm",_disabled:{opacity:"0.5"}}},variants:{variant:{outline:{itemControl:Se.variants?.variant?.outline},subtle:{itemControl:Se.variants?.variant?.subtle},solid:{itemControl:Se.variants?.variant?.solid}},size:{xs:{item:{textStyle:"xs",gap:"1.5"},itemControl:Se.variants?.size?.xs},sm:{item:{textStyle:"sm",gap:"2"},itemControl:Se.variants?.size?.sm},md:{item:{textStyle:"sm",gap:"2.5"},itemControl:Se.variants?.size?.md},lg:{item:{textStyle:"md",gap:"3"},itemControl:Se.variants?.size?.lg}}},defaultVariants:{size:"md",variant:"solid"}}),UP=W({className:"chakra-rating-group",slots:HC.keys(),base:{root:{display:"inline-flex"},control:{display:"inline-flex",alignItems:"center"},item:{display:"inline-flex",alignItems:"center",justifyContent:"center",userSelect:"none"},itemIndicator:{display:"inline-flex",alignItems:"center",justifyContent:"center",width:"1em",height:"1em",position:"relative","--clip-path":{base:"inset(0 50% 0 0)",_rtl:"inset(0 0 0 50%)"},_icon:{stroke:"currentColor",width:"100%",height:"100%",display:"inline-block",flexShrink:0,position:"absolute",left:0,top:0},"& [data-bg]":{color:"bg.emphasized"},"& [data-fg]":{color:"transparent"},"&[data-highlighted]:not([data-half])":{"& [data-fg]":{color:"colorPalette.solid"}},"&[data-half]":{"& [data-fg]":{color:"colorPalette.solid",clipPath:"var(--clip-path)"}}}},variants:{size:{xs:{item:{textStyle:"sm"}},sm:{item:{textStyle:"md"}},md:{item:{textStyle:"xl"}},lg:{item:{textStyle:"2xl"}}}},defaultVariants:{size:"md"}}),qP=W({className:"chakra-scroll-area",slots:uh.keys(),base:{root:{display:"flex",flexDirection:"column",width:"100%",height:"100%",position:"relative",overflow:"hidden","--scrollbar-margin":"2px","--scrollbar-click-area":"calc(var(--scrollbar-size) + calc(var(--scrollbar-margin) * 2))"},viewport:{display:"flex",flexDirection:"column",height:"100%",width:"100%",borderRadius:"inherit",WebkitOverflowScrolling:"touch",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}},content:{minWidth:"100%"},scrollbar:{display:"flex",userSelect:"none",touchAction:"none",borderRadius:"full",colorPalette:"gray",transition:"opacity 150ms 300ms",position:"relative",margin:"var(--scrollbar-margin)","&:not([data-overflow-x], [data-overflow-y])":{display:"none"},bg:"{colors.colorPalette.solid/10}","--thumb-bg":"{colors.colorPalette.solid/25}","&:is(:hover, :active)":{"--thumb-bg":"{colors.colorPalette.solid/50}"},_before:{content:'""',position:"absolute"},_vertical:{width:"var(--scrollbar-size)",flexDirection:"column","&::before":{width:"var(--scrollbar-click-area)",height:"100%",insetInlineStart:"calc(var(--scrollbar-margin) * -1)"}},_horizontal:{height:"var(--scrollbar-size)",flexDirection:"row","&::before":{height:"var(--scrollbar-click-area)",width:"100%",top:"calc(var(--scrollbar-margin) * -1)"}}},thumb:{borderRadius:"inherit",bg:"var(--thumb-bg)",transition:"backgrounds",_vertical:{width:"full"},_horizontal:{height:"full"}},corner:{bg:"bg.muted",margin:"var(--scrollbar-margin)",opacity:0,transition:"opacity 150ms 300ms","&[data-hover]":{transitionDelay:"0ms",opacity:1}}},variants:{variant:{hover:{scrollbar:{opacity:"0","&[data-hover], &[data-scrolling]":{opacity:"1",transitionDuration:"faster",transitionDelay:"0ms"}}},always:{scrollbar:{opacity:"1"}}},size:{xs:{root:{"--scrollbar-size":"sizes.1"}},sm:{root:{"--scrollbar-size":"sizes.1.5"}},md:{root:{"--scrollbar-size":"sizes.2"}},lg:{root:{"--scrollbar-size":"sizes.3"}}}},defaultVariants:{size:"md",variant:"hover"}}),KP=W({className:"chakra-segment-group",slots:fh.keys(),base:{root:{"--segment-radius":"radii.l2","--segment-indicator-bg":{_light:"colors.bg",_dark:"colors.bg.emphasized"},"--segment-indicator-shadow":"shadows.sm",borderRadius:"var(--segment-radius)",display:"inline-flex",boxShadow:"inset",minW:"max-content",textAlign:"center",position:"relative",isolation:"isolate",bg:"bg.muted",_vertical:{flexDirection:"column"}},item:{display:"flex",alignItems:"center",justifyContent:"center",userSelect:"none",fontSize:"sm",position:"relative",color:"fg",borderRadius:"var(--segment-radius)",_disabled:{opacity:"0.5"},"&:has(input:focus-visible)":{focusRing:"outside"},_before:{content:'""',position:"absolute",bg:"border",transition:"opacity 0.2s"},_horizontal:{_before:{insetInlineStart:0,insetBlock:"1.5",width:"1px"}},_vertical:{_before:{insetBlockStart:0,insetInline:"1.5",height:"1px"}},"& + &[data-state=checked], &[data-state=checked] + &, &:first-of-type":{_before:{opacity:"0"}},"&[data-state=checked][data-ssr]":{shadow:"sm",bg:"bg",borderRadius:"var(--segment-radius)"}},indicator:{shadow:"var(--segment-indicator-shadow)",pos:"absolute",bg:"var(--segment-indicator-bg)",width:"var(--width)",height:"var(--height)",top:"var(--top)",left:"var(--left)",zIndex:-1,borderRadius:"var(--segment-radius)"}},variants:{size:{xs:{item:{textStyle:"xs",px:"3",gap:"1",height:"6"}},sm:{item:{textStyle:"sm",px:"4",gap:"2",height:"8"}},md:{item:{textStyle:"sm",px:"4",gap:"2",height:"10"}},lg:{item:{textStyle:"md",px:"4.5",gap:"3",height:"11"}}}},defaultVariants:{size:"md"}}),XP=W({className:"chakra-slider",slots:qC.keys(),base:{root:{display:"flex",flexDirection:"column",gap:"1",textStyle:"sm",position:"relative",isolation:"isolate",touchAction:"none"},label:{fontWeight:"medium",textStyle:"sm"},control:{display:"inline-flex",alignItems:"center",position:"relative"},track:{overflow:"hidden",borderRadius:"full",flex:"1"},range:{width:"inherit",height:"inherit",_disabled:{bg:"border.emphasized!"}},markerGroup:{position:"absolute!",zIndex:"1"},marker:{"--marker-bg":{base:"white",_underValue:"colors.bg"},display:"flex",alignItems:"center",gap:"calc(var(--slider-thumb-size) / 2)",color:"fg.muted",textStyle:"xs"},markerIndicator:{width:"var(--slider-marker-size)",height:"var(--slider-marker-size)",borderRadius:"full",bg:"var(--marker-bg)"},thumb:{width:"var(--slider-thumb-size)",height:"var(--slider-thumb-size)",display:"flex",alignItems:"center",justifyContent:"center",outline:0,zIndex:"2",borderRadius:"full",transition:"shadow",_focusVisible:{ring:"3px",ringColor:"colorPalette.focusRing/50"}}},variants:{size:{sm:{root:{"--slider-thumb-size":"sizes.4","--slider-track-size":"sizes.1.5","--slider-marker-center":"6px","--slider-marker-size":"sizes.1","--slider-marker-inset":"3px"}},md:{root:{"--slider-thumb-size":"sizes.5","--slider-track-size":"sizes.2","--slider-marker-center":"8px","--slider-marker-size":"sizes.1","--slider-marker-inset":"4px"}},lg:{root:{"--slider-thumb-size":"sizes.6","--slider-track-size":"sizes.2.5","--slider-marker-center":"9px","--slider-marker-size":"sizes.1.5","--slider-marker-inset":"5px"}}},variant:{outline:{track:{shadow:"inset",bg:"bg.emphasized/72"},range:{bg:"colorPalette.solid"},thumb:{borderWidth:"2px",borderColor:"colorPalette.solid",bg:"bg",_disabled:{bg:"border.emphasized",borderColor:"border.emphasized"}}},solid:{track:{bg:"colorPalette.subtle",_disabled:{bg:"bg.muted"}},range:{bg:"colorPalette.solid"},thumb:{bg:"colorPalette.solid",_disabled:{bg:"border.emphasized"}}}},orientation:{vertical:{root:{display:"inline-flex"},control:{flexDirection:"column",height:"100%",minWidth:"var(--slider-thumb-size)","&:has(.chakra-slider__markerLabel)":{marginEnd:"4"}},track:{width:"var(--slider-track-size)"},thumb:{left:"50%",translate:"-50% 0"},markerGroup:{insetStart:"var(--slider-marker-center)",insetBlock:"var(--slider-marker-inset)"},marker:{flexDirection:"row"}},horizontal:{control:{flexDirection:"row",width:"100%",minHeight:"var(--slider-thumb-size)","&:has(.chakra-sli
3der__markerLabel)":{marginBottom:"4"}},track:{height:"var(--slider-track-size)"},thumb:{top:"50%",translate:"0 -50%"},markerGroup:{top:"var(--slider-marker-center)",insetInline:"var(--slider-marker-inset)"},marker:{flexDirection:"column"}}}},defaultVariants:{size:"md",variant:"outline",orientation:"horizontal"}}),YP=W({slots:iP.keys(),className:"splitter",base:{resizeTrigger:{"--splitter-border-color":"colors.border","--splitter-thumb-color":"colors.bg","--splitter-thumb-size":"sizes.2","--splitter-thumb-inset":"calc(var(--splitter-thumb-size) * -0.5)","--splitter-border-size":"1px","--splitter-handle-size":"sizes.6",outline:"0",display:"grid",placeItems:"center",position:"relative",_focus:{"--splitter-border-color":"colors.border.emphasized","--splitter-thumb-color":"colors.colorPalette.subtle"},_dragging:{"--splitter-thumb-color":"colors.colorPalette.focusRing"},_horizontal:{minWidth:"var(--splitter-thumb-size)",marginInline:"var(--splitter-thumb-inset)"},_vertical:{minHeight:"var(--splitter-thumb-size)",marginBlock:"var(--splitter-thumb-inset)"}},resizeTriggerSeparator:{position:"absolute",bg:"var(--splitter-border-color)","[data-part='resize-trigger'][data-orientation=horizontal] &":{insetInlineEnd:"calc(var(--splitter-thumb-size) * 0.5)",insetBlock:"0",insetInlineStart:"auto",w:"var(--splitter-border-size)"},"[data-part='resize-trigger'][data-orientation=vertical] &":{insetBlockEnd:"calc(var(--splitter-thumb-size) * 0.5)",insetInline:"0",
3insetBlockStart:"auto",h:"var(--splitter-border-size)"}},resizeTriggerIndicator:{position:"relative",rounded:"full",bg:"var(--splitter-thumb-color)",shadow:"xs",borderWidth:"1px",zIndex:"1","[data-part='resize-trigger'][data-orientation=horizontal] &":{w:"full",h:"var(--splitter-handle-size)"},"[data-part='resize-trigger'][data-orientation=vertical] &":{w:"var(--splitter-handle-size)",h:"full"},"[data-part='resize-trigger'][data-focus]:focus-visible &":{outlineWidth:"2px",outlineColor:"colorPalette.focusRing",outlineStyle:"solid"},"[data-part='resize-trigger'][data-disabled] &":{visibility:"hidden"}}}}),ZP=W({className:"chakra-stat",slots:KC.keys(),base:{root:{display:"flex",flexDirection:"column",gap:"1",position:"relative",flex:"1"},label:{display:"inline-flex",gap:"1.5",alignItems:"center",color:"fg.muted",textStyle:"sm"},helpText:{color:"fg.muted",textStyle:"xs"},valueUnit:{color:"fg.muted",textStyle:"xs",fontWeight:"initial",letterSpacing:"initial"},valueText:{verticalAlign:"baseline",fontWeight:"semibold",letterSpacing:"tight",fontFeatureSettings:"pnum",fontVariantNumeric:"proportional-nums",display:"inline-flex",gap:"1"},indicator:{display:"inline-flex",alignItems:"center",justifyContent:"center",marginEnd:1,"& :where(svg)":{w:"1em",h:"1em"},"&[data-type=up]":{color:"fg.success"},"&[data-type=down]":{color:"fg.error"}}},variants:{size:{sm:{valueText:{textStyle:"xl"}},md:{valueText:{textStyle:"2xl"}},lg:{valueText:{textStyle:"3xl"}}}},defaultVariants:{size:"md"}}),QP=W({className:"chakra-status",slots:XC.keys(),base:{root:{display:"inline-flex",alignItems:"center",gap:"2"},indicator:{width:"0.64em",height:"0.64em",flexShrink:0,borderRadius:"full",forcedColorAdjust:"none",bg:"colorPalette.solid"}},variants:{size:{sm:{root:{textStyle:"xs"}},md:{root:{textStyle:"sm"}},lg:{root:{textStyle:"md"}}}},defaultVariants:{size:"md"}}),JP=W({className:"chakra-steps",slots:YC.keys(),base:{root:{display:"flex",width:"full"},list:{display:"flex",justifyContent:"space-between","--steps-gutter":"spacing.3","--steps-thickness":"2px"},title:{fontWeight:"medium",color:"fg"},description:{color:"fg.muted"},separator:{bg:"border",flex:"1"},indicator:{display:"flex",justifyContent:"center",alignItems:"center",flexShrink:"0",borderRadius:"full",fontWeight:"medium",width:"var(--steps-size)",height:"var(--steps-size)",_icon:{flexShrink:"0",width:"var(--steps-icon-size)",height:"var(--steps-icon-size)"}},item:{position:"relative",display:"flex",gap:"3",flex:"1 0 0","&:last-of-type":{flex:"initial","& [data-part=separator]":{display:"none"}}},trigger:{display:"flex",alignItems:"center",gap:"3",textAlign:"start",focusVisibleRing:"outside",borderRadius:"l2"},content:{focusVisibleRing:"outside"}},variants:{orientation:{vertical:{root:{flexDirection:"row",height:"100%"},list:{flexDirection:"column",alignItems:"flex-start"},separator:{position:"absolute",width:"var(--steps-thickness)",height:"100%",maxHeight:"calc(100% - var(--steps-size) - var(--steps-gutter) * 2)",top:"calc(var(--steps-size) + var(--steps-gutter))",insetStart:"calc(var(--steps-size) / 2 - 1px)"},item:{alignItems:"flex-start"}},horizontal:{root:{flexDirection:"column",width:"100%"},list:{flexDirection:"row",alignItems:"center"},separator:{width:"100%",height:"var(--steps-thickness)",marginX:"var(--steps-gutter)"},item:{alignItems:"center"}}},variant:{solid:{indicator:{_incomplete:{borderWidth:"var(--steps-thickness)"},_current:{bg:"colorPalette.muted",borderWidth:"var(--steps-thickness)",borderColor:"colorPalette.solid",color:"colorPalette.fg"},_complete:{bg:"colorPalette.solid",borderColor:"colorPalette.solid",color:"colorPalette.contrast"}},separator:{_complete:{bg:"colorPalette.solid"}}},subtle:{indicator:{_incomplete:{bg:"bg.muted"},_current:{bg:"colorPalette.muted",color:"colorPalette.fg"},_complete:{bg:"colorPalette.emphasized",color:"colorPalette.fg"}},separator:{_complete:{bg:"colorPalette.emphasized"}}}},size:{xs:{root:{gap:"2.5"},list:{"--steps-size":"sizes.6","--steps-icon-size":"sizes.3.5",textStyle:"xs"},title:{textStyle:"sm"}},sm:{root:{gap:"3"},list:{"--steps-size":"sizes.8","--steps-icon-size":"sizes.4",textStyle:"xs"},title:{textStyle:"sm"}},md:{root:{gap:"4"},list:{"--steps-size":"sizes.10","--steps-icon-size":"sizes.4",textStyle:"sm"},title:{textStyle:"sm"}},lg:{root:{gap:"6"},list:{"--steps-size":"sizes.11","--steps-icon-size":"sizes.5",textStyle:"md"},title:{textStyle:"md"}}}},defaultVariants:{size:"md",variant:"solid",orientation:"horizontal"}}
vendor: 13,592 bytes, line 3
3),eT=W({slots:ZC.keys(),className:"chakra-switch",base:{root:{display:"inline-flex",gap:"2.5",alignItems:"center",position:"relative",verticalAlign:"middle","--switch-diff":"calc(var(--switch-width) - var(--switch-height))","--switch-x":{base:"var(--switch-diff)",_rtl:"calc(var(--switch-diff) * -1)"}},label:{lineHeight:"1",userSelect:"none",fontSize:"sm",fontWeight:"medium",_disabled:{opacity:"0.5"}},indicator:{position:"absolute",height:"var(--switch-height)",width:"var(--switch-height)",fontSize:"var(--switch-indicator-font-size)",fontWeight:"medium",flexShrink:0,userSelect:"none",display:"grid",placeContent:"center",transition:"inset-inline-start 0.12s ease",insetInlineStart:"calc(var(--switch-x) - 2px)",_checked:{insetInlineStart:"2px"}},control:{display:"inline-flex",gap:"0.5rem",flexShrink:0,justifyContent:"flex-start",cursor:"switch",borderRadius:"full",position:"relative",width:"var(--switch-width)",height:"var(--switch-height)",transition:"backgrounds",_disabled:{opacity:"0.5",cursor:"not-allowed"},_invalid:{outline:"2px solid",outlineColor:"border.error",outlineOffset:"2px"}},thumb:{display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,transitionProperty:"translate",transitionDuration:"fast",borderRadius:"inherit",_checked:{translate:"var(--switch-x) 0"}}},variants:{variant:{solid:{control:{borderRadius:"full",bg:"bg.emphasized",focusVisibleRing:"outside",_checked:{bg:"colorPalette.solid"}},thumb:{bg:"white",width:"var(--switch-height)",height:"var(--switch-height)",scale:"0.8",boxShadow:"sm",_checked:{bg:"colorPalette.contrast"}}},raised:{control:{borderRadius:"full",height:"calc(var(--switch-height) / 2)",bg:"bg.muted",boxShadow:"inset",_checked:{bg:"colorPalette.solid/60"}},thumb:{width:"var(--switch-height)",height:"var(--switch-height)",position:"relative",top:"calc(var(--switch-height) * -0.25)",bg:"white",boxShadow:"xs",focusVisibleRing:"outside",_checked:{bg:"colorPalette.solid"}}}},size:{xs:{root:{"--switch-width":"sizes.6","--switch-height":"sizes.3","--switch-indicator-font-size":"fontSizes.xs"}},sm:{root:{"--switch-width":"sizes.8","--switch-height":"sizes.4","--switch-indicator-font-size":"fontSizes.xs"}},md:{root:{"--switch-width":"sizes.10","--switch-height":"sizes.5","--switch-indicator-font-size":"fontSizes.sm"}},lg:{root:{"--switch-width":"sizes.12","--switch-height":"sizes.6","--switch-indicator-font-size":"fontSizes.md"}}}},defaultVariants:{variant:"solid",size:"md"}}),tT=W({className:"chakra-table",slots:QC.keys(),base:{root:{fontVariantNumeric:"lining-nums tabular-nums",borderCollapse:"collapse",width:"full",textAlign:"start",verticalAlign:"top"},row:{_selected:{bg:"colorPalette.subtle"}},cell:{textAlign:"start",alignItems:"center"},columnHeader:{fontWeight:"medium",textAlign:"start",color:"fg"},caption:{fontWeight:"medium",textStyle:"xs"},footer:{fontWeight:"medium"}},variants:{interactive:{true:{body:{"& tr":{_hover:{bg:"colorPalette.subtle"}}}}},stickyHeader:{true:{header:{"& :where(tr)":{top:"var(--table-sticky-offset, 0)",position:"sticky",zIndex:1}}}},striped:{true:{row:{"&:nth-of-type(odd) td":{bg:"bg.muted"}}}},showColumnBorder:{true:{columnHeader:{"&:not(:last-of-type)":{borderInlineEndWidth:"1px"}},cell:{"&:not(:last-of-type)":{borderInlineEndWidth:"1px"}}}},variant:{line:{columnHeader:{borderBottomWidth:"1px"},cell:{borderBottomWidth:"1px"},row:{bg:"bg"}},outline:{root:{boxShadow:"0 0 0 1px {colors.border}"},columnHeader:{borderBottomWidth:"1px"},header:{bg:"bg.muted"},row:{"&:not(:last-of-type)":{borderBottomWidth:"1px"}},footer:{borderTopWidth:"1px"}}},size:{sm:{root:{textStyle:"sm"},columnHeader:{px:"2",py:"2"},cell:{px:"2",py:"2"}},md:{root:{textStyle:"sm"},columnHeader:{px:"3",py:"3"},cell:{px:"3",py:"3"}},lg:{root:{textStyle:"md"},columnHeader:{px:"4",py:"3"},cell:{px:"4",py:"3"}}}},defaultVariants:{variant:"line",size:"md"}}),rT=W({slots:eP.keys(),className:"chakra-tabs",base:{root:{"--tabs-trigger-radius":"radii.l2","--tabs-indicator-shadow":"shadows.xs","--tabs-indicator-bg":"colors.bg",position:"relative",_horizontal:{display:"block"},_vertical:{display:"flex"}},list:{display:"inline-flex",position:"relative",isolation:"isolate",minH:"var(--tabs-height)",_horizontal:{flexDirection:"row"},_vertical:{flexDirection:"column"}},trigger:{outline:"0",minW:"var(--tabs-height)",height:"var(--tabs-height)",display:"flex",alignItems:"center",fontWeight:"medium",position:"relative",cursor:"button",gap:"2",_focusVisible:{zIndex:1,outline:"2px solid",outlineColor:"colorPalette.focusRing"},_disabled:{cursor:"not-allowed",opacity:.5}},content:{focusVisibleRing:"inside",_horizontal:{width:"100%",pt:"var(--tabs-content-padding)"},_vertical:{height:"100%",ps:"var(--tabs-content-padding)"}},indicator:{width:"var(--width)",height:"var(--height)",borderRadius:"var(--tabs-trigger-radius)",bg:"var(--tabs-indicator-bg)",shadow:"var(--tabs-indicator-shadow)",zIndex:-1}},variants:{fitted:{true:{list:{display:"flex"},trigger:{flex:1,textAlign:"center",justifyContent:"center"}}},justify:{start:{list:{justifyContent:"flex-start"}},center:{list:{justifyContent:"center"}},end:{list:{justifyContent:"flex-end"}}},size:{sm:{root:{"--tabs-height":"sizes.9","--tabs-content-padding":"spacing.3"},trigger:{py:"1",px:"3",textStyle:"sm"}},md:{root:{"--tabs-height":"sizes.10","--tabs-content-padding":"spacing.4"},trigger:{py:"2",px:"4",textStyle:"sm"}},lg:{root:{"--tabs-height":"sizes.11","--tabs-content-padding":"spacing.4.5"},trigger:{py:"2",px:"4.5",textStyle:"md"}}},variant:{line:{list:{display:"flex",borderColor:"border",_horizontal:{borderBottomWidth:"1px"},_vertical:{borderEndWidth:"1px"}},trigger:{color:"fg.muted",_disabled:{_active:{bg:"initial"}},_selected:{color:"fg",_horizontal:{layerStyle:"indicator.bottom","--indicator-offset-y":"-1px","--indicator-color":"colors.colorPalette.solid"},_vertical:{layerStyle:"indicator.end","--indicator-offset-x":"-1px"}}}},subtle:{trigger:{borderRadius:"var(--tabs-trigger-radius)",color:"fg.muted",_selected:{bg:"colorPalette.subtle",color:"colorPalette.fg"}}},enclosed:{list:{bg:"bg.muted",padding:"1",borderRadius:"l3",minH:"calc(var(--tabs-height) - 4px)"},trigger:{justifyContent:"center",color:"fg.muted",borderRadius:"var(--tabs-trigger-radius)",_selected:{bg:"bg",color:"colorPalette.fg",shadow:"xs"}}},outline:{list:{"--line-thickness":"1px","--line-offset":"calc(var(--line-thickness) * -1)",borderColor:"border",display:"flex",_horizontal:{_before:{content:'""',position:"absolute",bottom:"0px",width:"100%",borderBottomWidth:"var(--line-thickness)",borderBottomColor:"border"}},_vertical:{_before:{content:'""',position:"absolute",insetInline:"var(--line-offset)",height:"calc(100% - calc(var(--line-thickness) * 2))",borderEndWidth:"var(--line-thickness)",borderEndColor:"border"}}},trigger:{color:"fg.muted",borderWidth:"1px",borderColor:"transparent",_selected:{bg:"currentBg",color:"colorPalette.fg"},_horizontal:{borderTopRadius:"var(--tabs-trigger-radius)",marginBottom:"var(--line-offset)",marginEnd:{_notLast:"var(--line-offset)"},_selected:{borderColor:"border",borderBottomColor:"transparent"}},_vertical:{borderStartRadius:"var(--tabs-trigger-radius)",marginEnd:"var(--line-offset)",marginBottom:{_notLast:"var(--line-offset)"},_selected:{borderColor:"border",borderEndColor:"transparent"}}}},plain:{trigger:{color:"fg.muted",_selected:{color:"colorPalette.fg"},borderRadius:"var(--tabs-trigger-radius)","&[data-selected][data-ssr]":{bg:"var(--tabs-indicator-bg)",shadow:"var(--tabs-indicator-shadow)",borderRadius:"var(--tabs-trigger-radius)"}}}}},defaultVariants:{size:"md",variant:"line"}}),jn=Ba.variants?.variant,nT=W({slots:tP.keys(),className:"chakra-tag",base:{root:{display:"inline-flex",alignItems:"center",verticalAlign:"top",maxWidth:"100%",userSelect:"none",borderRadius:"l2",focusVisibleRing:"outside"},label:{lineClamp:"1"},closeTrigger:{display:"flex",alignItems:"center",justifyContent:"center",outline:"0",borderRadius:"l1",color:"currentColor",focusVisibleRing:"inside",focusRingWidth:"2px"},startElement:{flexShrink:0,boxSize:"var(--tag-element-size)",ms:"var(--tag-element-offset)","&:has([data-scope=avatar])":{boxSize:"var(--tag-avatar-size)",ms:"calc(var(--tag-element-offset) * 1.5)"},_icon:{boxSize:"100%"}},endElement:{flexShrink:0,boxSize:"var(--tag-element-size)",me:"var(--tag-element-offset)",_icon:{boxSize:"100%"},"&:has(button)":{ms:"calc(var(--tag-element-offset) * -1)"}}},variants:{size:{sm:{root:{px:"1.5",minH:"4.5",gap:"1","--tag-avatar-size":"spacing.3","--tag-element-size":"spacing.3","--tag-element-offset":"-2px"},label:{textStyle:"xs"}},md:{root:{px:"1.5",minH:"5",gap:"1","--tag-avatar-size":"spacing.3.5","--tag-element-size":"spacing.3.5","--tag-element-offset":"-2px"},label:{textStyle:"xs"}},lg:{root:{px:"2",minH:"6",gap:"1.5","--tag-avatar-size":"spacing.4.5","--tag-element-size":"spacing.4","--tag-element-offset":"-3px"},label:{textStyle:"sm"}},xl:{root:{px:"2.5",minH:"8",gap:"1.5","--tag-avatar-size":"spacing.6","--tag-element-size":"spacing.4.5","--tag-element-offset":"-4px"},label:{textStyle:"sm"}}},variant:{subtle:{root:jn?.subtle},solid:{root:jn?.solid},outline:{root:jn?.outline},surface:{root:jn?.surface}}},defaultVariants:{size:"md",variant:"surface"}}),oT=W({slots:Ch.keys(),className:"tags-input",base:{root:{display:"flex",flexDirection:"column",gap:"1.5",width:"full"},label:{fontWeight:"medium",textStyle:"sm",_disabled:{opacity:"0.5"}},control:{"--focus-color":"colors.colorPalette.focusRing","--error-color":"colors.border.error",minH:"var(--tags-input-height)","--input-height":"var(--tags-input-height)",px:"var(--tags-input-px)",py:"var(--tags-input-py)",gap:"var(--tags-input-gap)",display:"flex",flexWrap:"wrap",alignItems:"center",borderRadius:"l2",pos:"relative",transitionProperty:"border-color, box-shadow",transitionDuration:"normal",_disabled:{opacity:"0.5"},_invalid:{borderColor:"var(--error-color)"}},input:{flex:"1",minWidth:"20",outline:"none",bg:"transparent",color:"fg",px:"calc(var(--tags-input-item-px) / 1.25)",height:"var(--tags-input-item-height)",_readOnly:{display:"none"}},item:{maxWidth:"100%",minWidth:"0"},itemText:{lineClamp:"1",minWidth:"0"},itemInput:{outline:"none",bg:"transparent",minWidth:"2ch",color:"inherit",px:"var(--tags-input-item-px)",height:"var(--tags-input-item-height)"},itemPreview:{height:"var(--tags-input-item-height)",userSelect:"none",display:"inline-flex",alignItems:"center",gap:"1",rounded:"l1",px:"var(--tags-input-item-px)",maxWidth:"100%"},itemDeleteTrigger:{display:"flex",alignItems:"center",justifyContent:"center",flexShrink:"0",boxSize:"calc(var(--tags-input-item-height) / 1.5)",cursor:{base:"button",_disabled:"initial"},me:"-1",opacity:"0.4",_hover:{opacity:"1"},"[data-highlighted] &":{opacity:"1"},_icon:{boxSize:"80%"}},clearTrigger:{display:"flex",alignItems:"center",justifyContent:"center",boxSize:"calc(var(--tags-input-item-height) / 1.5)",cursor:{base:"button",_disabled:"initial"},color:"fg.muted",focusVisibleRing:"inside",focusRingWidth:"2px",rounded:"l1",_icon:{boxSize:"5"}}},variants:{size:{xs:{root:{"--tags-input-height":"sizes.8","--tags-input-px":"spacing.1.5","--tags-input-py":"spacing.1","--tags-input-gap":"spacing.1","--tags-input-item-height":"sizes.6","--tags-input-item-px":"spacing.2",textStyle:"xs"}},sm:{root:{"--tags-input-height":"sizes.9","--tags-input-px":"spacing.1.5","--tags-input-py":"spacing.1","--tags-input-gap":"spacing.1","--tags-input-item-height":"sizes.6","--tags-input-item-px":"spacing.2",textStyle:"sm"}},md:{root:{"--tags-input-height":"sizes.10","--tags-input-px":"spacing.1.5","--tags-input-py":"spacing.1","--tags-input-gap":"spacing.1","--tags-input-item-height":"sizes.7","--tags-input-item-px":"spacing.2",textStyle:"sm"}},lg:{root:{"--tags-input-height":"sizes.11","--tags-input-px":"spacing.1.5","--tags-input-py":"spacing.1","--tags-input-gap":"spacing.1","--tags-input-item-height":"sizes.8","--tags-input-item-px":"spacing.2",textStyle:"md"}}},variant:{outline:{control:{borderWidth:"1px",bg:"bg",_focus:{outlineWidth:"1px",outlineStyle:"solid",outlineColor:"var(--focus-color)",borderColor:"var(--focus-color)",_invalid:{outlineColor:"var(--error-color)",borderColor:"var(--error-color)"}}},itemPreview:{bg:"colorPalette.subtle",_highlighted:{bg:"colorPalette.muted"}}},subtle:{control:{bg:"bg.muted",borderWidth:"1px",borderColor:"transparent",_focus:{outlineWidth:"1px",outlineStyle:"solid",outlineColor:"var(--focus-color)",borderColor:"var(--focus-color)",_invalid:{outlineColor:"var(--error-color)",borderColor:"var(--error-color)"}}},itemPreview:{bg:"bg",borderWidth:"1px",_highlighted:{bg:"colorPalette.subtle",borderColor:"colorPalette.emphasized"}}},flushed:{control:{borderRadius:"0",px:"0",bg:"transparent",borderBottomWidth:"1px",borderBottomColor:"border",_focus:{borderColor:"var(--focus-color)",boxShadow:"0px 1px 0px 0px var(--focus-color)"}},itemPreview:{bg:"colorPalette.subtle",_highlighted:{bg:"colorPalette.muted"}}}}},defaultVariants:{size:"md",variant:"outline"}}),iT=W({slots:rP.keys(),className:"chakra-timeline",base:{root:{display:"flex",flexDirection:"column",width:"full","--timeline-thickness":"1px","--timeline-gutter":"4px"},item:{"--timeline-content-gap":"spacing.6",display:"flex",position:"relative",alignItems:"flex-start",flexShrink:0,gap:"4",_last:{"--timeline-content-gap":"0"}},separator:{display:"var(--timeline-separator-display)",position:"absolute",borderStartWidth:"var(--timeline-thickness)",ms:"calc(-1 * var(--timeline-thickness) / 2)",insetInlineStart:"calc(var(--timeline-indicator-size) / 2)",insetBlock:"0",borderColor:"border"}
3,indicator:{outline:"2px solid {colors.bg}",position:"relative",flexShrink:"0",boxSize:"var(--timeline-indicator-size)",fontSize:"var(--timeline-font-size)",display:"flex",alignItems:"center",justifyContent:"center",borderRadius:"full",fontWeight:"medium"},connector:{alignSelf:"stretch",position:"relative"},content:{pb:"var(--timeline-content-gap)",display:"flex",flexDirection:"column",width:"full",gap:"2"},title:{display:"flex",fontWeight:"medium",flexWrap:"wrap",gap:"1.5",alignItems:"center",mt:"var(--timeline-margin)"},description:{color:"fg.muted",textStyle:"xs"}},variants:{variant:{subtle:{indicator:{bg:"colorPalette.muted"}},solid:{indicator:{bg:"colorPalette.solid",color:"colorPalette.contrast"}},outline:{indicator:{bg:"currentBg",borderWidth:"1px",borderColor:"colorPalette.muted"}},plain:{}},showLastSeparator:{true:{item:{_last:{"--timeline-separator-display":"initial"}}},false:{item:{_last:{"--timeline-separator-display":"none"}}}},size:{sm:{root:{"--timeline-indicator-size":"sizes.4","--timeline-font-size":"fontSizes.2xs"},title:{textStyle:"xs"}},md:{root:{"--timeline-indicator-size":"sizes.5","--timeline-font-size":"fontSizes.xs"},title:{textStyle:"sm"}},lg:{root:{"--timeline-indicator-size":"sizes.6","--timeline-font-size":"fontSizes.xs"},title:{mt:"0.5",textStyle:"sm"}},xl:{root:{"--timeline-indicator-size":"sizes.8","--timeline-font-size":"fontSizes.sm"},title:{mt:"1.5",textStyle:"sm"}}}},defaultVariants:{size:"md",variant:"solid",showLastSeparator:!1}}),sT=W({slots:JC.keys(),className:"chakra-toast",base:{root:{width:"full",display:"flex",alignItems:"flex-start",position:"relative",gap:"3",py:"4",ps:"4",pe:"6",borderRadius:"l2",translate:"var(--x) var(--y)",scale:"var(--scale)",zIndex:"var(--z-index)",height:"var(--height)",opacity:"var(--opacity)",willChange:"translate, opacity, scale",transition:"translate 400ms, scale 400ms, opacity 400ms, height 400ms, box-shadow 200ms",transitionTimingFunction:"cubic-bezier(0.21, 1.02, 0.73, 1)",_closed:{transition:"translate 400ms, scale 400ms, opacity 200ms",transitionTimingFunction:"cubic-bezier(0.06, 0.71, 0.55, 1)"},bg:"bg.panel",color:"fg",boxShadow:"xl","--toast-trigger-bg":"colors.bg.muted","&[data-type=warning]":{bg:"orange.solid",color:"orange.contrast","--toast-trigger-bg":"{white/10}","--toast-border-color":"{white/40}"},"&[data-type=success]":{bg:"green.solid",color:"green.contrast","--toast-trigger-bg":"{white/10}","--toast-border-color":"{white/40}"},"&[data-type=error]":{bg:"red.solid",color:"red.contrast","--toast-trigger-bg":"{white/10}","--toast-border-color":"{white/40}"}},title:{fontWeight:"medium",textStyle:"sm",marginEnd:"2"},description:{display:"inline",textStyle:"sm",opacity:"0.8"},indicator:{flexShrink:"0",boxSize:"5"},actionTrigger:{textStyle:"sm",fontWeight:"medium",height:"8",px:"3",borderRadius:"l2",alignSelf:"center",borderWidth:"1px",borderColor:"var(--toast-border-color, inherit)",transition:"background 200ms",_hover:{bg:"var(--toast-trigger-bg)"}},closeTrigger:{position:"absolute",top:"1",insetEnd:"1",padding:"1",display:"inline-flex",alignItems:"center",justifyContent:"center",color:"{currentColor/60}",borderRadius:"l2",textStyle:"md",transition:"background 200ms",_icon:{boxSize:"1em"}}}}),aT=W({slots:Ph.keys(),className:"chakra-tooltip",base:{content:{"--tooltip-bg":"colors.bg.inverted",bg:"var(--tooltip-bg)",color:"fg.inverted",px:"2.5",py:"1",borderRadius:"l2",fontWeight:"medium",textStyle:"xs",boxShadow:"md",maxW:"xs",zIndex:"tooltip",transformOrigin:"var(--transform-origin)",_open:{animationStyle:"scale-fade-in",animationDuration:"fast"},_closed:{animationStyle:"scale-fade-out",animationDuration:"fast"}},arrow:{"--arrow-size":"sizes.2","--arrow-background":"var(--tooltip-bg)"},arrowTip:{borderTopWidth:"1px",borderLeftWidth:"1px",borderColor:"var(--tooltip-bg)"}}}),Kc=It({display:"flex",alignItems:"center",gap:"var(--tree-item-gap)",rounded:"l2",userSelect:"none",position:"relative","--tree-depth":"calc(var(--depth) - 1)","--tree-indentation-offset":"calc(var(--tree-indentation) * var(--tree-depth))","--tree-icon-offset":"calc(var(--tree-icon-size) * var(--tree-depth) * 0.5)","--tree-offset":"calc(var(--tree-padding-inline) + var(--tree-indentation-offset) + var(--tree-icon-offset))",ps:"var(--tree-offset)",pe:"var(--tree-padding-inline)",py:"var(--tree-padding-block)",focusVisibleRing:"inside",focusRingColor:"border.emphasized",focusRingWidth:"2px","&:hover, &:focus-visible":{bg
3:"bg.muted"},_disabled:{layerStyle:"disabled"}}),Xc=It({flex:"1"}),Yc=It({_selected:{bg:"colorPalette.subtle",color:"colorPalette.fg"}}),Zc=It({_selected:{layerStyle:"fill.solid"}}),lT=W({slots:Vp.keys(),className:"chakra-tree-view",base:{root:{width:"full",display:"flex",flexDirection:"column",gap:"2"},tree:{display:"flex",flexDirection:"column","--tree-item-gap":"spacing.2",_icon:{boxSize:"var(--tree-icon-size)"}},label:{fontWeight:"medium",textStyle:"sm"},branch:{position:"relative"},branchContent:{position:"relative"},branchIndentGuide:{height:"100%",width:"1px",bg:"border",position:"absolute","--tree-depth":"calc(var(--depth) - 1)","--tree-indentation-offset":"calc(var(--tree-indentation) * var(--tree-depth))","--tree-offset":"calc(var(--tree-padding-inline) + var(--tree-indentation-offset))","--tree-icon-offset":"calc(var(--tree-icon-size) * 0.5 * var(--depth))",insetInlineStart:"calc(var(--tree-offset) + var(--tree-icon-offset))",zIndex:"1"},branchIndicator:{color:"fg.muted",transformOrigin:"center",transitionDuration:"normal",transitionProperty:"transform",transitionTimingFunction:"default",_open:{transform:"rotate(90deg)"}},branchTrigger:{display:"inline-flex",alignItems:"center",justifyContent:"center"},branchControl:Kc,item:Kc,itemText:Xc,branchText:Xc,nodeCheckbox:{display:"inline-flex"}},variants:{size:{md:{tree:{textStyle:"sm","--tree-indentation":"spacing.4","--tree-padding-inline":"spacing.3","--tree-padding-block":"spacing.1.5","--tree-icon-size":"spacing.4"}},sm:{tree:{textStyle:"sm","--tree-indentation":"spacing.4","--tree-padding-inline":"spacing.3","--tree-padding-block":"spacing.1","--tree-icon-size":"spacing.3"}},xs:{tree:{textStyle:"xs","--tree-indentation":"spacing.4","--tree-padding-inline":"spacing.2","--tree-padding-block":"spacing.1","--tree-icon-size":"spacing.3"}}},variant:{subtle:{branchControl:Yc,item:Yc},solid:{branchControl:Zc,item:Zc}},animateContent:{true:{branchContent:{_open:{animationName:"expand-height, fade-in",animationDuration:"moderate"},_closed:{animationName:"collapse-height, fade-out",animationDuration:"moderate"}}}}},defaultVariants:{size:"md",variant:"subtle"}}),cT={accordion:aP,actionBar:lP,alert:cP,avatar:dP,blockquote:uP,breadcrumb:fP,card:pP,carousel:hP,checkbox:mP,checkboxCard:gP,codeBlock:bP,collapsible:vP,dataList:wP,datePicker:SP,dialog:CP,drawer:PP,editable:TP,emptyState:RP,field:EP,fieldset:AP,fileUpload:IP,hoverCard:zP,list:NP,listbox:OP,menu:VP,nativeSelect:DP,numberInput:MP,pinInput:FP,popover:WP,progress:$P,progressCircle:BP,radioCard:HP,radioGroup:GP,ratingGroup:UP,scrollArea:qP,segmentGroup:KP,select:tn,combobox:xP,slider:XP,splitter:YP,stat:ZP,steps:JP,switch:eT,table:tT,tabs:rT,tag:nT,tagsInput:oT,toast:sT,tooltip:aT,status:QP,timeline:iT,colorPicker:yP,qrCode:jP,treeView:lT,marquee:_P},dT=RS({"2xs":{value:{fontSize:"2xs",lineHeight:"0.75rem"}},xs:{value:{fontSize:"xs",lineHeight:"1rem"}},sm:{value:{fontSize:"sm",lineHeight:"1.25rem"}},md:{value:{fontSize:"md",lineHeight:"1.5rem"}},lg:{value:{fontSize:"lg",lineHeight:"1.75rem"}},xl:{value:{fontSize:"xl",lineHeight:"1.875rem"}},"2xl":{value:{fontSize:"2xl",lineHeight:"2rem"}},"3xl":{value:{fontSize:"3xl",lineHeight:"2.375rem"}},"4xl":{value:{fontSize:"4xl",lineHeight:"2.75rem",letterSpacing:"-0.025em"}},"5xl":{value:{fontSize:"5xl",lineHeight:"3.75rem",letterSpacing:"-0.025em"}},"6xl":{value:{fontSize:"6xl",lineHeight:"4.5rem",letterSpacing:"-0.025em"}},"7xl":{value:{fontSize:"7xl",lineHeight:"5.75rem",letterSpacing:"-0.025em"}},none:{value:{}},label:{value:{fontSize:"sm",lineHeight:"1.25rem",fontWeight:"medium"}}}),uT=ue.animations({spin:{value:"spin 1s linear infinite"},ping:{value:"ping 1s cubic-bezier(0, 0, 0.2, 1) infinite"},pulse:{value:"pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite"},bounce:{value:"bounce 1s infinite"}}),fT=ue.aspectRatios({square:{value:"1 / 1"},landscape:{value:"4 / 3"},portrait:{value:"3 / 4"},wide:{value:"16 / 9"},ultrawide:{value:"18 / 5"},golden:{value:"1.618 / 1"}}),pT=ue.blurs({none:{value:" "},sm:{value:"4px"},md:{value:"8px"},lg:{value:"12px"},xl:{value:"16px"},"2xl":{value:"24px"},"3xl":{value:"40px"},"4xl":{value:"64px"}}
3),hT=ue.borders({xs:{value:"0.5px solid"},sm:{value:"1px solid"},md:{value:"2px solid"},lg:{value:"4px solid"},xl:{value:"8px solid"}}),mT=ue.colors({transparent:{value:"transparent"},current:{value:"currentColor"},black:{value:"#09090B"},white:{value:"#FFFFFF"},whiteAlpha:{50:{value:"rgba(255, 255, 255, 0.04)"},100:{value:"rgba(255, 255, 255, 0.06)"},200:{value:"rgba(255, 255, 255, 0.08)"},300:{value:"rgba(255, 255, 255, 0.16)"},400:{value:"rgba(255, 255, 255, 0.24)"},500:{value:"rgba(255, 255, 255, 0.36)"},600:{value:"rgba(255, 255, 255, 0.48)"},700:{value:"rgba(255, 255, 255, 0.64)"},800:{value:"rgba(255, 255, 255, 0.80)"},900:{value:"rgba(255, 255, 255, 0.92)"},950:{value:"rgba(255, 255, 255, 0.95)"}},blackAlpha:{50:{value:"rgba(0, 0, 0, 0.04)"},100:{value:"rgba(0, 0, 0, 0.06)"},200:{value:"rgba(0, 0, 0, 0.08)"},300:{value:"rgba(0, 0, 0, 0.16)"},400:{value:"rgba(0, 0, 0, 0.24)"},500:{value:"rgba(0, 0, 0, 0.36)"},600:{value:"rgba(0, 0, 0, 0.48)"},700:{value:"rgba(0, 0, 0, 0.64)"},800:{value:"rgba(0, 0, 0, 0.80)"},900:{value:"rgba(0, 0, 0, 0.92)"},950:{value:"rgba(0, 0, 0, 0.95)"}},gray:{50:{value:"#fafafa"},100:{value:"#f4f4f5"},200:{value:"#e4e4e7"},300:{value:"#d4d4d8"},400:{value:"#a1a1aa"},500:{value:"#71717a"},600:{value:"#52525b"},700:{value:"#3f3f46"},800:{value:"#27272a"},900:{value:"#18181b"},950:{value:"#111111"}},red:{50:{value:"#fef2f2"},100:{value:"#fee2e2"},200:{value:"#fecaca"},300:{value:"#fca5a5"},400:{value:"#f87171"},500:{value:"#ef4444"},600:{value:"#dc2626"},700:{value:"#991919"},800:{value:"#511111"},900:{value:"#300c0c"},950:{value:"#1f0808"}},orange:{50:{value:"#fff7ed"},100:{value:"#ffedd5"},200:{value:"#fed7aa"},300:{value:"#fdba74"},400:{value:"#fb923c"},500:{value:"#f97316"},600:{value:"#ea580c"},700:{value:"#92310a"},800:{value:"#6c2710"},900:{value:"#3b1106"},950:{value:"#220a04"}},yellow:{50:{value:"#fefce8"},100:{value:"#fef9c3"},200:{value:"#fef08a"},300:{value:"#fde047"},400:{value:"#facc15"},500:{value:"#eab308"},600:{value:"#ca8a04"},700:{value:"#845209"},800:{value:"#713f12"},900:{value:"#422006"},950:{value:"#281304"}},green:{50:{value:"#f0fdf4"},100:{value:"#dcfce7"},200:{value:"#bbf7d0"},300:{value:"#86efac"},400:{value:"#4ade80"},500:{value:"#22c55e"},600:{value:"#16a34a"},700:{value:"#116932"},800:{value:"#124a28"},900:{value:"#042713"},950:{value:"#03190c"}},teal:{50:{value:"#f0fdfa"},100:{value:"#ccfbf1"},200:{value:"#99f6e4"},300:{value:"#5eead4"},400:{value:"#2dd4bf"},500:{value:"#14b8a6"},600:{value:"#0d9488"},700:{value:"#0c5d56"},800:{value:"#114240"},900:{value:"#032726"},950:{value:"#021716"}},blue:{50:{value:"#eff6ff"},100:{value:"#dbeafe"},200:{value:"#bfdbfe"},300:{value:"#a3cfff"},400:{value:"#60a5fa"},500:{value:"#3b82f6"},600:{value:"#2563eb"},700:{value:"#173da6"},800:{value:"#1a3478"},900:{value:"#14204a"},950:{value:"#0c142e"}},cyan:{50:{value:"#ecfeff"},100:{value:"#cffafe"},200:{value:"#a5f3fc"},300:{value:"#67e8f9"},400:{value:"#22d3ee"},500:{value:"#06b6d4"},600:{value:"#0891b2"},700:{value:"#0c5c72"},800:{value:"#134152"},900:{value:"#072a38"},950:{value:"#051b24"}},purple:{50:{value:"#faf5ff"},100:{value:"#f3e8ff"},200:{value:"#e9d5ff"},300:{value:"#d8b4fe"},400:{value:"#c084fc"},500:{value:"#a855f7"},600:{value:"#9333ea"},700:{value:"#641ba3"},800:{value:"#4a1772"},900:{value:"#2f0553"},950:{value:"#1a032e"}},pink:{50:{value:"#fdf2f8"},100:{value:"#fce7f3"},200:{value:"#fbcfe8"},300:{value:"#f9a8d4"},400:{value:"#f472b6"},500:{value:"#ec4899"},600:{value:"#db2777"},700:{value:"#a41752"},800:{value:"#6d0e34"},900:{value:"#45061f"},950:{value:"#2c0514"}}}),gT=ue.cursor({button:{value:"pointer"},checkbox:{value:"default"},disabled:{value:"not-allowed"},menuitem:{value:"default"},option:{value:"default"},radio:{value:"default"},slider:{value:"default"},switch:{value:"pointer"}}),bT=ue.durations({fastest:{value:"50ms"},faster:{value:"100ms"},fast:{value:"150ms"},moderate:{value:"200ms"},slow:{value:"300ms"},slower:{value:"400ms"},slowest:{value:"500ms"}}),vT=ue.easings({"ease-in":{value:"cubic-bezier(0.42, 0, 1, 1)"},"ease-out":{value:"cubic-bezier(0, 0, 0.58, 1)"},"ease-in-out":{value:"cubic-bezier(0.42, 0, 0.58, 1)"},"ease-in-smooth":{value:"cubic-bezier(0.32, 0.72, 0, 1)"}}
vendor: 6,476 bytes, line 3
3),yT=ue.fontSizes({"2xs":{value:"0.625rem"},xs:{value:"0.75rem"},sm:{value:"0.875rem"},md:{value:"1rem"},lg:{value:"1.125rem"},xl:{value:"1.25rem"},"2xl":{value:"1.5rem"},"3xl":{value:"1.875rem"},"4xl":{value:"2.25rem"},"5xl":{value:"3rem"},"6xl":{value:"3.75rem"},"7xl":{value:"4.5rem"},"8xl":{value:"6rem"},"9xl":{value:"8rem"}}),xT=ue.fontWeights({thin:{value:"100"},extralight:{value:"200"},light:{value:"300"},normal:{value:"400"},medium:{value:"500"},semibold:{value:"600"},bold:{value:"700"},extrabold:{value:"800"},black:{value:"900"}}),Qc='-apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',wT=ue.fonts({heading:{value:`Inter, ${Qc}`},body:{value:`Inter, ${Qc}`},mono:{value:'SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace'}}),kT=PS({spin:{"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}},pulse:{"50%":{opacity:"0.5"}},ping:{"75%, 100%":{transform:"scale(2)",opacity:"0"}},bounce:{"0%, 100%":{transform:"translateY(-25%)",animationTimingFunction:"cubic-bezier(0.8,0,1,1)"},"50%":{transform:"none",animationTimingFunction:"cubic-bezier(0,0,0.2,1)"}},"bg-position":{from:{backgroundPosition:"var(--animate-from, 1rem) 0"},to:{backgroundPosition:"var(--animate-to, 0) 0"}},position:{from:{insetInlineStart:"var(--animate-from-x)",insetBlockStart:"var(--animate-from-y)"},to:{insetInlineStart:"var(--animate-to-x)",insetBlockStart:"var(--animate-to-y)"}},"circular-progress":{"0%":{strokeDasharray:"1, 400",strokeDashoffset:"0"},"50%":{strokeDasharray:"400, 400",strokeDashoffset:"-100%"},"100%":{strokeDasharray:"400, 400",strokeDashoffset:"-260%"}},"expand-height":{from:{height:"var(--collapsed-height, 0)"},to:{height:"var(--height)"}},"collapse-height":{from:{height:"var(--height)"},to:{height:"var(--collapsed-height, 0)"}},"expand-width":{from:{width:"var(--collapsed-width, 0)"},to:{width:"var(--width)"}},"collapse-width":{from:{width:"var(--width)"},to:{width:"var(--collapsed-width, 0)"}},"fade-in":{from:{opacity:0},to:{opacity:1}},"fade-out":{from:{opacity:1},to:{opacity:0}},"slide-from-left-full":{from:{translate:"-100% 0"},to:{translate:"0 0"}},"slide-from-right-full":{from:{translate:"100% 0"},to:{translate:"0 0"}},"slide-from-top-full":{from:{translate:"0 -100%"},to:{translate:"0 0"}},"slide-from-bottom-full":{from:{translate:"0 100%"},to:{translate:"0 0"}},"slide-to-left-full":{from:{translate:"0 0"},to:{translate:"-100% 0"}},"slide-to-right-full":{from:{translate:"0 0"},to:{translate:"100% 0"}},"slide-to-top-full":{from:{translate:"0 0"},to:{translate:"0 -100%"}},"slide-to-bottom-full":{from:{translate:"0 0"},to:{translate:"0 100%"}},"slide-from-top":{"0%":{translate:"0 -0.5rem"},to:{translate:"0"}},"slide-from-bottom":{"0%":{translate:"0 0.5rem"},to:{translate:"0"}},"slide-from-left":{"0%":{translate:"-0.5rem 0"},to:{translate:"0"}},"slide-from-right":{"0%":{translate:"0.5rem 0"},to:{translate:"0"}},"slide-to-top":{"0%":{translate:"0"},to:{translate:"0 -0.5rem"}},"slide-to-bottom":{"0%":{translate:"0"},to:{translate:"0 0.5rem"}},"slide-to-left":{"0%":{translate:"0"},to:{translate:"-0.5rem 0"}},"slide-to-right":{"0%":{translate:"0"},to:{translate:"0.5rem 0"}},"scale-in":{from:{scale:"0.95"},to:{scale:"1"}},"scale-out":{from:{scale:"1"},to:{scale:"0.95"}},marqueeX:{from:{transform:"translateX(0%)"},to:{transform:"translateX(var(--marquee-translate))"}},marqueeY:{from:{transform:"translateY(0%)"},to:{transform:"translateY(var(--marquee-translate))"}}}),ST=ue.letterSpacings({tighter:{value:"-0.05em"},tight:{value:"-0.025em"},wide:{value:"0.025em"},wider:{value:"0.05em"},widest:{value:"0.1em"}}),CT=ue.lineHeights({shorter:{value:1.25},short:{value:1.375},moderate:{value:1.5},tall:{value:1.625},taller:{value:2}}),PT=ue.radii({none:{value:"0"},"2xs":{value:"0.0625rem"},xs:{value:"0.125rem"},sm:{value:"0.25rem"},md:{value:"0.375rem"},lg:{value:"0.5rem"},xl:{value:"0.75rem"},"2xl":{value:"1rem"},"3xl":{value:"1.5rem"},"4xl":{value:"2rem"},full:{value:"9999px"}}),Qh=ue.spacing({.5:{value:"0.125rem"},1:{value:"0.25rem"},1.5:{value:"0.375rem"},2:{value:"0.5rem"},2.5:{value:"0.625rem"},3:{value:"0.75rem"},3.5:{value:"0.875rem"},4:{value:"1rem"},4.5:{value:"1.125rem"},5:{value:"1.25rem"},6:{value:"1.5rem"},7:{value:"1.75rem"},8:{value:"2rem"},9:{value:"2.25rem"},10:{value:"2.5rem"},11:{value:"2.75rem"},12:{value:"3rem"},14:{value:"3.5rem"},16:{value:"4rem"},20:{value:"5rem"},24:{value:"6rem"},28:{value:"7rem"},32:{value:"8rem"},36:{value:"9rem"},40:{value:"10rem"},44:{value:"11rem"},48:{value:"12rem"},52:{value:"13rem"},56:{value:"14rem"},60:{value:"15rem"},64:{value:"16rem"},72:{value:"18rem"},80:{value:"20rem"},96:{value:"24rem"}}),TT=ue.sizes({"3xs":{value:"14rem"},"2xs":{value:"16rem"},xs:{value:"20rem"},sm:{value:"24rem"},md:{value:"28rem"},lg:{value:"32rem"},xl:{value:"36rem"},"2xl":{value:"42rem"},"3xl":{value:"48rem"},"4xl":{value:"56rem"},"5xl":{value:"64rem"},"6xl":{value:"72rem"},"7xl":{value:"80rem"},"8xl":{value:"90rem"}}),RT=ue.sizes({max:{value:"max-content"},min:{value:"min-content"},fit:{value:"fit-content"},prose:{value:"60ch"},full:{value:"100%"},dvh:{value:"100dvh"},svh:{value:"100svh"},lvh:{value:"100lvh"},dvw:{value:"100dvw"},svw:{value:"100svw"},lvw:{value:"100lvw"},vw:{value:"100vw"},vh:{value:"100vh"}}),ET=ue.sizes({"1/2":{value:"50%"},"1/3":{value:"33.333333%"},"2/3":{value:"66.666667%"},"1/4":{value:"25%"},"3/4":{value:"75%"},"1/5":{value:"20%"},"2/5":{value:"40%"},"3/5":{value:"60%"},"4/5":{value:"80%"},"1/6":{value:"16.666667%"},"2/6":{value:"33.333333%"},"3/6":{value:"50%"},"4/6":{value:"66.666667%"},"5/6":{value:"83.333333%"},"1/12":{value:"8.333333%"},"2/12":{value:"16.666667%"},"3/12":{value:"25%"},"4/12":{value:"33.333333%"},"5/12":{value:"41.666667%"},"6/12":{value:"50%"},"7/12":{value:"58.333333%"},"8/12":{value:"66.666667%"},"9/12":{value:"75%"},"10/12":{value:"83.333333%"},"11/12":{value:"91.666667%"}}),AT=ue.sizes({...TT,...Qh,...ET,...RT}),IT=ue.zIndex({hide:{value:-1},base:{value:0},docked:{value:10},dropdown:{value:1e3},sticky:{value:1100},banner:{value:1200},overlay:{value:1300},modal:{value:1400},popover:{value:1500},skipNav:{value:1600},toast:{value:1700},tooltip:{value:1800},max:{value:2147483647}}),zT={aspectRatios:fT,animations:uT,blurs:pT,borders:hT,colors:mT,durations:bT,easings:vT,fonts:wT,fontSizes:yT,fontWeights:xT,letterSpacings:ST,lineHeights:CT,radii:PT,spacing:Qh,sizes:AT,zIndex:IT,curs
3or:gT},NT={colors:xC,shadows:kC,radii:wC},OT="chakra",_T=":where(html, .chakra-theme)",VT=Eh({preflight:!0,cssVarsPrefix:OT,cssVarsRoot:_T,globalCss:eC,theme:{breakpoints:J1,keyframes:kT,tokens:zT,semanticTokens:NT,recipes:yC,slotRecipes:cT,textStyles:dT,layerStyles:tC,animationStyles:rC}}),DT=Th(MS,VT);Z1(DT);function Jh(e){const{key:t,recipe:r}=e,n=ar();return g.useMemo(()=>{const o=r||(t!=null?n.getSlotRecipe(t):{});return n.sva(structuredClone(o))},[t,r,n])}const MT=e=>e.charAt(0).toUpperCase()+e.slice(1),qe=e=>{const{key:t,recipe:r}=e,n=MT(t||r.className||"Component"),[o,i]=nn({name:`${n}StylesContext`,errorMessage:`use${n}Styles returned is 'undefined'. Seems you forgot to wrap the components in "<${n}.Root />" `}),[s,a]=nn({name:`${n}ClassNameContext`,errorMessage:`use${n}ClassNames returned is 'undefined'. Seems you forgot to wrap the components in "<${n}.Root />" `,strict:!1}),[l,c]=nn({strict:!1,name:`${n}PropsContext`,providerName:`${n}PropsContext`,defaultValue:{}});function d(h){const{unstyled:m,...b}=h,v=Jh({key:t,recipe:b.recipe||r}),[x,y]=g.useMemo(()=>v.splitVariantProps(b),[b,v]);return{styles:g.useMemo(()=>m?Pv:v(x),[m,x,v]),classNames:v.classNameMap,props:y}}function u(h,m={}){const{defaultProps:b}=m,v=x=>{const y=c(),k=g.useMemo(()=>pn(b,y,x),[y,x]),{styles:w,classNames:C,props:E}=d(k);return S.jsx(o,{value:w,children:S.jsx(s,{value:C,children:S.jsx(h,{...E})})})};return v.displayName=h.displayName||h.name,v}return{StylesProvider:o,ClassNamesProvider:s,PropsProvider:l,usePropsContext:c,useRecipeResult:d,withProvider:(h,m,b)=>{const{defaultProps:v,...x}=b??{},y=X(h,{},x),k=g.forwardRef((w,C)=>{const E=c(),P=g.useMemo(()=>pn(v??{},E,w),[E,w]),{styles:R,props:T,classNames:A}=d(P),I=A[m],_=S.jsx(o,{value:R,children:S.jsx(s,{value:A,children:S.jsx(y,{ref:C,...T,css:[R[m],P.css],className:pe(P.className,I)})})});return b?.wrapElement?.(_,P)??_});return k.displayName=h.displayName||h.name,k},withContext:(h,m,b)=>{const v=X(h,{},b),x=g.forwardRef((y,k)=>{const{unstyled:w,...C}=y,E=i(),R=a()?.[m];return S.jsx(v,{...C,css:[!w&&m?E[m]:void 0,y.css],ref:k,className:pe(y.className,R)})});return x.displayName=h.displayName||h.name,x},withRootProvider:u,useStyles:i,useClassNames:a}},em=X("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"}});em.displayName="AbsoluteCenter";const LT=e=>S.jsx(X.svg,{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",...e,children:S.jsx("path",{d:"m6 9 6 6 6-6"})}),tm=e=>S.jsx(X.svg,{viewBox:"0 0 24 24",fill:"currentColor",...e,children:S.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18.7071 6.70711C19.0976 6.31658 19.0976 5.68342 18.7071 5.29289C18.3166 4.90237 17.6834 4.90237 17.2929 5.29289L12 10.5858L6.70711 5.29289C6.31658 4.90237 5.68342 4.90237 5.29289 5.29289C4.90237 5.68342 4.90237 6.31658 5.29289 6.70711L10.5858 12L5.29289 17.2929C4.90237 17.6834 4.90237 18.3166 5.29289 18.7071C5.68342 19.0976 6.31658 19.0976 6.70711 18.7071L12 13.4142L17.2929 18.7071C17.6834 19.0976 18.3166 19.0976 18.7071 18.7071C19.0976 18.3166 19.0976 17.6834 18.7071 17.2929L13.4142 12L18.7071 6.70711Z"})}),{withProvider:rm,withContext:Tn}=qe({key:"accordion"});rm(Mf,"root",{forwardAsChild:!0});const $2=rm(Df,"root",{forwardAsChild:!0}),B2=Tn(zf,"item",{forwardAsChild:!0}),j2=Tn(Nf,"itemContent",{forwardAsChild:!0}),H2=Tn("div","itemBody"),G2=Tn(_f,"itemTrigger",{forwardAsChild:!0}),U2=Tn(Of,"itemIndicator",{forwardAsChild:!0,defaultProps:{children:S.jsx(LT,{})}}),Jt=e=>e?"":void 0,FT=X("div",{base:{display:"inline-flex",gap:"var(--group-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"}}),nm=g.memo(g.forwardRef(function(t,r){const{align:n="center",justify:o="flex-start",children:i,wrap:s,skip:a,...l}=t,c=g.useMemo(()=>{let d=g.Children.toArray(i).filter(g.isValidElement);if(d.length===1)return d;const u=d.filter(p=>!a?.(p)),f=u.length;return u.length===1?d:d.map(p=>{const h=p.props;if(a?.(p))return p;const m=u.indexOf(p);return g.cloneElement(p,{...h,"data-group-item":"","data-first":Jt(m===0),"data-last":Jt(m===f-1),"data-between":Jt(m>0&&m<f-1),style:{"--group-count":f,"--group-index":m,...h?.style??{}}})})},[i,a]);return S.jsx(FT,{ref:r,alignItems:n,justifyContent:o,flexWrap:s,...l,className:pe("chakra-group",t.className),children:c})}));nm.displayName="Group";const{withProvider:om,withContext:WT,useStyles:$T,useClassNames:BT,PropsProvider:jT}=qe({key:"avatar"});om(Uf,"root",{forwardAsChild:!0});const q2=om(Gf,"root",{forwardAsChild:!0}),HT=X(Wf,{},{forwardAsChild:!0});function GT(e){return e.children||e.asChild?e.children:e.name?UT(e.name):S.jsx(qT,{})}function UT(e){const t=e.trim().split(" "),r=t[0]!=null?t[0]:"",n=t.length>1?t[t.length-1]:"";return r&&n?`${r.charAt(0)}${n.charAt(0)}`:r.charAt(0)}const K2=g.forwardRef(function(t,r){const n=$T(),o=BT(),{name:i,...s}=t;return S.jsx(HT,{ref:r,...s,className:pe(t.className,o.fallback),css:[n.fallback,t.css],children:GT(t)})}),X2=WT($f,"image",{forwardAsChild:!0,defaultProps:{draggable:"false",referrerPolicy:"no-referrer"}}),qT=g.forwardRef(function(t,r){return S.jsx(X.svg,{stroke:"currentColor",fill:"
3currentColor",strokeWidth:"0",viewBox:"0 0 24 24",height:"1.2em",width:"1.2em",ref:r,...t,children:S.jsx("path",{d:"M20 22H18V20C18 18.3431 16.6569 17 15 17H9C7.34315 17 6 18.3431 6 20V22H4V20C4 17.2386 6.23858 15 9 15H15C17.7614 15 20 17.2386 20 20V22ZM12 13C8.68629 13 6 10.3137 6 7C6 3.68629 8.68629 1 12 1C15.3137 1 18 3.68629 18 7C18 10.3137 15.3137 13 12 13ZM12 11C14.2091 11 16 9.20914 16 7C16 4.79086 14.2091 3 12 3C9.79086 3 8 4.79086 8 7C8 9.20914 9.79086 11 12 11Z"})})});g.forwardRef(function(t,r){const n=Jh({key:"avatar"}),[o,i]=g.useMemo(()=>n.splitVariantProps(t),[t,n]);return S.jsx(jT,{value:o,children:S.jsx(nm,{gap:"0",spaceX:"-3",ref:r,...i})})});const{withContext:KT}=et({key:"badge"}),XT=KT("span");XT.displayName="Badge";const{withContext:YT}=et({key:"spinner"}),im=YT("span");im.displayName="Spinner";const sm=g.forwardRef(function(t,r){const{spinner:n=S.jsx(im,{size:"inherit",borderWidth:"0.125em",color:"inherit"}),spinnerPlacement:o="start",children:i,text:s,visible:a=!0,...l}=t;return a?s?S.jsxs(Qr,{ref:r,display:"contents",...l,children:[o==="start"&&n,s,o==="end"&&n]}):n?S.jsxs(Qr,{ref:r,display:"contents",...l,children:[S.jsx(em,{display:"inline-flex",children:n}),S.jsx(Qr,{visibility:"hidden",display:"contents",children:i})]}):S.jsx(Qr,{ref:r,display:"contents",...l,children:i}):i});sm.displayName="Loader";const{useRecipeResult:ZT,usePropsContext:QT}=et({key:"button"}),am=g.forwardRef(function(t,r){const n=QT(),o=g.useMemo(()=>pn(n,t),[n,t]),i=ZT(o),{loading:s,loadingText:a,children:l,spinner:c,spinnerPlacement:d,...u}=i.props;return S.jsx(X.button,{type:"button",ref:r,...u,"data-loading":Jt(s),disabled:s||u.disabled,className:pe(i.className,o.className),css:[i.styles,o.css],children:!o.asChild&&s?S.jsx(sm,{spinner:c,text:a,spinnerPlacement:d,children:l}):l})});am.displayName="Button";const{withProvider:JT,withContext:Rn}=qe({key:"card"}),Y2=JT("div","root"),Z2=Rn("div","body"),Q2=Rn("div","header");Rn("div","footer");Rn("h3","title");Rn("p","description");const eR=X("div",{base:{display:"flex",alignItems:"center",justifyContent:"center"},variants:{inline:{true:{display:"inline-flex"}}}});eR.displayName="Center";const lm=g.forwardRef(function(t,r){const n=Ou({key:"checkmark",recipe:t.recipe}),[o,i]=n.splitVariantProps(t),{checked:s,indeterminate:a,disabled:l,unstyled:c,children:d,...u}=i,f=c?Nu:n(o);return S.jsx(X.svg,{ref:r,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"3px",strokeLinecap:"round",strokeLinejoin:"round","data-state":a?"indeterminate":s?"checked":"unchecked","data-disabled":Jt(l),css:[f,t.css],...u,children:a?S.jsx("path",{d:"M5 12h14"}):s?S.jsx("polyline",{points:"20 6 9 17 4 12"}):null})});lm.displayName="Checkmark";const{withProvider:cm,withContext:dm,useStyles:tR}=qe({key:"checkbox"});cm(up,"root",{forwardAsChild:!0});const J2=cm(dp,"root",{forwardAsChild:!0}),eN=dm(cp,"label",{forwardAsChild:!0}),rR=g.forwardRef(function(t,r){const{checked:n,indeterminate:o,...i}=t,s=ri(),a=tR();return n&&s.checked?S.jsx(X.svg,{ref:r,asChild:!0,...i,css:[a.indicator,t.css],children:n}):o&&s.indeterminate?S.jsx(X.svg,{ref:r,asChild:!0,...i,css:[a.indicator,t.css],children:o}):S.jsx(lm,{ref:r,checked:s.checked,indeterminate:s.indeterminate,disabled:s.disabled,unstyled:!0,...i,css:[a.indicator,t.css]})}),tN=dm(Qf,"control",{forwardAsChild:!0,defaultProps:{children:S.jsx(rR,{})}});X(ap,{base:{display:"flex",flexDirection:"column",gap:"1.5"}},{forwardAsChild:!0});const rN=lp,um=g.forwardRef(function(t,r){return S.jsx(am,{px:"0",py:"0",_icon:{fontSize:"1.2em"},ref:r,...t})});um.displayName="IconButton";const nR=g.forwardRef(function(t,r){return S.jsx(um,{variant:"ghost","aria-label":"Close",ref:r,...t,children:t.children??S.jsx(tm,{})})});nR.displayName="CloseButton";const{withProvider:fm,withContext:ja}=qe({key:"collapsible"});fm(hp,"root",{forwardAsChild:!0});const nN=fm(ga,"root",{forwardAsChild:!0}),oN=ja(mp,"trigger",{forwardAsChild:!0}),iN=ja(Ta,"content",{forwardAsChild:!0}),sN=ja(pp,"indicator",{forwardAsChild:!0});function oR(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{"&":Pn(r,o=>n[o])}}function iR(e){return g.Children.toArray(e).filter(t=>g.isValidElement(t))}const si=g.forwardRef(function(t,r){const{direction:n="column",align:o,justify:i,gap:s="0.5rem",wrap:a,children:l,separator:c,className:d,...u}=t,f=g.useMemo(()=>oR({gap:s,direction:n}),[s,n]),p=g.useMemo(()=>g.isValidElement(c)?iR(l).map((h,m,b)=>{const v=typeof h.key<"u"?h.key:m,x=c,y=g.cloneElement(x,{css:[f,x.props.css]});return S.jsxs(g.Fragment,{children:[h,m===b.length-1?null:y]},v)}):l,[l,c,f]);return S.jsx(X.div,{ref:r,display:"flex",alignItems:o,justifyContent:i,flexDirection:n,flexWrap:a,gap:c?void 0:s,className:pe("chakra-stack",d),...u,children:p})});si.displayName="Stack";const{withRootProvider:pm,withContext:gt}=qe({key:"dialog"});pm(Sp,{defaultProps:{unmountOnExit:!0,lazyMount:!0}});const aN=pm(kp,{defaultProps:{unmountOnExit:!0,lazyMount:!0}});gt(Va,"trigger",{forwardAsChild:!0});const lN=gt(Na,"positioner",{forwardAsChild:!0}),cN=gt(Ia,"content",{forwardAsChild:!0});gt(za,"description",{forwardAsChild:!0});const dN=gt(_a,"title",{forwardAsChild:!0}),uN=gt(Aa,"closeTrigger",{forwardAsChild:!0});g.forwardRef(function(t,r){const n=At();return S.jsx(X.button,{...t,ref:r,onClick:()=>n.setOpen(!1)})});const fN=gt(Ea,"backdrop",{forwardAsChild:!0}),pN=gt("div","body");gt("div","footer");const hN=gt("div","header"),{withRootProvider:hm,withContext:bt}=qe({key:"drawer"});hm(Sp,{defaultProps:{unmountOnExit:!0,lazyMount:!0}});const mN=hm(kp,{defaultProps:{unmountOnExit:!0,lazyMount:!0}});bt(Va,"trigger",{forwardAsChild:!0});const gN=bt(Na,"positioner",{forwardAsChild:!0}),bN=bt(Ia,"content",{forwardAsChild:!0});bt(za,"description",{forwardAsChild:!0});bt(_a,"title",{forwardAsChild:!0});bt(Aa,"closeTrigger",{forwardAsChild:!0});g.forwardRef(function(t,r){const n=At();return S.jsx(X.button,{...t,ref:r,onClick:()=>n.setOpen(!1)})});const vN=bt(Ea,"backdrop",{forwardAsChild:!0});bt("div","body");bt("div","footer");bt("div","header");const{useRecipeResult:sR}=et({key:"icon"}),mm=g.forwardRef(function(t,r){const{styles:n,className:o,props:i}=sR({asChild:!t.as,...t});return S.jsx(X.svg,{ref:r,focusable:!1,"aria-hidden":"true",...i,css:[n,t.css],className:pe(o,t.className)})});mm.displayName="Icon";function aR(e){const{viewBox:t="0 0 24 24",d:r,displayName:n,defaultProps:o={}}=e,i=g.Children.toArray(e.path),s=g.forwardRef((a,l)=>S.jsx(mm,{ref:l,asChild:!1,viewBox:t,...o,...a,children:i.length?i:S.jsx("path",{fill:"currentColor",d:r})}));return s.displayName=n,s}
3const{withProvider:lR,withContext:Ha,useStyles:cR,useClassNames:dR}=qe({key:"field"}),yN=lR(Ip,"root",{forwardAsChild:!0}),xN=Ha(Ep,"label",{forwardAsChild:!0});Ha(Tp,"helperText",{forwardAsChild:!0});const wN=Ha(Pp,"errorText",{forwardAsChild:!0});aR({d:"M11.983,0a12.206,12.206,0,0,0-8.51,3.653A11.8,11.8,0,0,0,0,12.207,11.779,11.779,0,0,0,11.8,24h.214A12.111,12.111,0,0,0,24,11.791h0A11.766,11.766,0,0,0,11.983,0ZM10.5,16.542a1.476,1.476,0,0,1,1.449-1.53h.027a1.527,1.527,0,0,1,1.523,1.47,1.475,1.475,0,0,1-1.449,1.53h-.027A1.529,1.529,0,0,1,10.5,16.542ZM11,12.5v-6a1,1,0,0,1,2,0v6a1,1,0,1,1-2,0Z",defaultProps:{boxSize:"1em"}});const kN=g.forwardRef(function(t,r){const{fallback:n,children:o="*",...i}=t,s=ht(),a=dR(),l=cR();return s?.required?S.jsx(X.span,{ref:r,"aria-hidden":"true",...i,className:pe(a.requiredIndicator,t.className),css:[l.requiredIndicator,t.css],children:o}):n}),uR=g.forwardRef(function(t,r){const{direction:n,align:o,justify:i,wrap:s,basis:a,grow:l,shrink:c,inline:d,...u}=t;return S.jsx(X.div,{ref:r,...u,css:{display:d?"inline-flex":"flex",flexDirection:n,alignItems:o,justifyContent:i,flexWrap:s,flexBasis:a,flexGrow:l,flexShrink:c,...t.css}})});uR.displayName="Flex";function Jc(e){return Pn(e,t=>t==="auto"?"auto":`span ${t}/span ${t}`)}const fR=g.forwardRef(function(t,r){const{area:n,colSpan:o,colStart:i,colEnd:s,rowEnd:a,rowSpan:l,rowStart:c,...d}=t,u=g.useMemo(()=>Or({gridArea:n,gridColumn:Jc(o),gridRow:Jc(l),gridColumnStart:i,gridColumnEnd:s,gridRowStart:c,gridRowEnd:a}),[n,o,i,s,a,l,c]);return S.jsx(X.div,{ref:r,css:[u,t.css],...d})});fR.displayName="GridItem";const pR=g.forwardRef(function(t,r){return S.jsx(si,{align:"center",...t,direction:"row",ref:r})});pR.displayName="HStack";const hR=g.forwardRef(function(t,r){const{align:n,fit:o="cover",...i}=t;return S.jsx(X.img,{ref:r,objectFit:o,objectPosition:n,className:pe("chakra-image",t.className),...i})});hR.displayName="Image";const{withContext:mR}=et({key:"input"}),SN=mR(Rp),{withContext:gR}=et({key:"link"}),bR=gR("a");bR.displayName="Link";const{withRootProvider:gm,withContext:Be}=qe({key:"popover"});gm(Qk);const CN=gm(Zk),PN=Be(th,"trigger",{forwardAsChild:!0}),TN=Be(Xp,"positioner",{forwardAsChild:!0}),RN=Be(Up,"content",{forwardAsChild:!0}),vR=Be(Hp,"arrowTip",{forwardAsChild:!0});Be(jp,"arrow",{forwardAsChild:!0,defaultProps:{children:S.jsx(vR,{})}});Be(Gp,"closeTrigger",{forwardAsChild:!0});Be(Kp,"indicator",{forwardAsChild:!0});Be(eh,"title",{forwardAsChild:!0});Be(qp,"description",{forwardAsChild:!0});Be("footer","footer");Be("header","header");Be("div","body");Be(Bp,void 0,{forwardAsChild:!0});const{withProvider:bm,withContext:ai}=qe({key:"progress"});bm(sh,"root",{forwardAsChild:!0});const EN=bm(ih,"root");ai(nh,"label",{forwardAsChild:!0});const AN=ai(ah,"track",{forwardAsChild:!0}),IN=ai(oh,"range",{forwardAsChild:!0});ai(lh,"valueText",{forwardAsChild:!0});const{useRecipeResult:yR}=et({key:"separator"}),xR=g.forwardRef(function(t,r){const{styles:n,className:o,props:i}=yR(t),s=t.orientation||"horizontal";return S.jsx(X.span,{ref:r,role:$e(s)?"separator":"presentation","aria-orientation":$e(s)?s:void 0,...Fa(i,["orientation"]),className:pe(o,t.className),css:[n,t.css]})});xR.displayName="Separator";const wR=g.forwardRef(function(t,r){const{columns:n,minChildWidth:o,...i}=t,s=ar(),a=o?SR(o,s):CR(n);return S.jsx(_u,{ref:r,templateColumns:a,...i})});wR.displayName="SimpleGrid";function kR(e){return typeof e=="number"?`${e}px`:e}function SR(e,t){return Pn(e,r=>{const n=t.tokens.getVar(`sizes.${r}`,kR(r));return r===null?null:`repeat(auto-fit, minmax(${n}, 1fr))`})}function CR(e){return Pn(e,t=>t===null?null:`repeat(${t}, minmax(0, 1fr))`)}const{withContext:PR}=et({key:"skeleton"}),Ga=PR("div");Ga.displayName="Skeleton";const TR=g.forwardRef(function(t,r){const{size:n,...o}=t;return S.jsx(zu,{size:n,asChild:!0,ref:r,children:S.jsx(Ga,{...o})})});TR.displayName="SkeletonCircle";const RR=g.forwardRef(function(t,r){const{loading:n=!0,noOfLines:o=3,gap:i,rootProps:s,...a}=t;return S.jsx(si,{gap:i,width:"full",ref:r,...s,children:Array.from({length:n?o:1}).map((l,c)=>S.jsx(Ga,{loading:n,height:n?"4":void 0,maxW:n?c===o-1&&o>1?"80%":"100%":void 0,...a},c))})});RR.displayName="SkeletonText";const{withProvider:vm,withContext:Ua,useStyles:ER}=qe({key:"switch"});vm(kh,"root",{forwardAsChild:!0});const zN=vm(wh,"root",{forwardAsChild:!0});Ua(vh,"label",{forwardAsChild:!0});const AR=Ua(Sh,"thumb",{forwardAsChild:!0}),NN=Ua(gh,"control",{forwardAsChild:!0,defaultProps:{children:S.jsx(AR,{})}});g.forwardRef(function(t,r){const n=Fr(),o=ER(),{fallback:i,children:s,unstyled:a,...l}=t;return S.jsx(X.span,{ref:r,"data-checked":Jt(n.checked),...l,css:[a?void 0:o.indicator,t.css],children:n.checked?s:i}
vendor: 60,115 bytes, line 3
3)});g.forwardRef(function(t,r){const n=Fr(),{fallback:o,children:i,...s}=t;return S.jsx(X.span,{ref:r,"data-checked":Jt(n.checked),...s,children:n.checked?i:o})});const ON=bh,{withProvider:IR,withContext:li}=qe({key:"tag"}),_N=IR("div","root"),VN=li("span","label");li("button","closeTrigger",{defaultProps:{children:S.jsx(tm,{})}});li("span","startElement");li("span","endElement");const{withContext:zR}=et({key:"textarea"}),NR=zR(zp);NR.displayName="Textarea";const OR=g.forwardRef(function(t,r){return S.jsx(si,{align:"center",...t,direction:"column",ref:r})});OR.displayName="VStack";const _R=g.forwardRef(function(t,r){const{gap:n="0.5rem",justify:o,direction:i,align:s,...a}=t;return S.jsx(X.div,{ref:r,display:"flex",flexWrap:"wrap",justifyContent:o,alignItems:s,flexDirection:i,gap:n,...a,className:pe("chakra-wrap",t.className)})});_R.displayName="Wrap";const VR=It({display:"flex",alignItems:"flex-start"}),DN=g.forwardRef(function(t,r){return S.jsx(X.div,{ref:r,css:[VR,t.css],...t,className:pe("chakra-wrap__listitem",t.className)})}),qa=g.createContext({});function Ka(e){const t=g.useRef(null);return t.current===null&&(t.current=e()),t.current}const DR=typeof window<"u",ym=DR?g.useLayoutEffect:g.useEffect,ci=g.createContext(null);function Xa(e,t){e.indexOf(t)===-1&&e.push(t)}function Po(e,t){const r=e.indexOf(t);r>-1&&e.splice(r,1)}const ut=(e,t,r)=>r>t?t:r<e?e:r;let Ya=()=>{};const Lt={},xm=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);function wm(e){return typeof e=="object"&&e!==null}const km=e=>/^0[^.\s]+$/u.test(e);function Sm(e){let t;return()=>(t===void 0&&(t=e()),t)}const Ue=e=>e,MR=(e,t)=>r=>t(e(r)),En=(...e)=>e.reduce(MR),bn=(e,t,r)=>{const n=t-e;return n===0?1:(r-e)/n};class Za{constructor(){this.subscriptions=[]}add(t){return Xa(this.subscriptions,t),()=>Po(this.subscriptions,t)}notify(t,r,n){const o=this.subscriptions.length;if(o)if(o===1)this.subscriptions[0](t,r,n);else for(let i=0;i<o;i++){const s=this.subscriptions[i];s&&s(t,r,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const We=e=>e*1e3,Ge=e=>e/1e3;function Cm(e,t){return t?e*(1e3/t):0}const Pm=(e,t,r)=>(((1-3*r+3*t)*e+(3*r-6*t))*e+3*t)*e,LR=1e-7,FR=12;function WR(e,t,r,n,o){let i,s,a=0;do s=t+(r-t)/2,i=Pm(s,n,o)-e,i>0?r=s:t=s;while(Math.abs(i)>LR&&++a<FR);return s}function An(e,t,r,n){if(e===t&&r===n)return Ue;const o=i=>WR(i,0,1,e,r);return i=>i===0||i===1?i:Pm(o(i),t,n)}const Tm=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,Rm=e=>t=>1-e(1-t),Em=An(.33,1.53,.69,.99),Qa=Rm(Em),Am=Tm(Qa),Im=e=>e>=1?1:(e*=2)<1?.5*Qa(e):.5*(2-Math.pow(2,-10*(e-1))),Ja=e=>1-Math.sin(Math.acos(e)),zm=Rm(Ja),Nm=Tm(Ja),$R=An(.42,0,1,1),BR=An(0,0,.58,1),Om=An(.42,0,.58,1),jR=e=>Array.isArray(e)&&typeof e[0]!="number",_m=e=>Array.isArray(e)&&typeof e[0]=="number",HR={linear:Ue,easeIn:$R,easeInOut:Om,easeOut:BR,circIn:Ja,circInOut:Nm,circOut:zm,backIn:Qa,backInOut:Am,backOut:Em,anticipate:Im},GR=e=>typeof e=="string",ed=e=>{if(_m(e)){Ya(e.length===4);const[t,r,n,o]=e;return An(t,r,n,o)}else if(GR(e))return HR[e];return e},Hn=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function UR(e,t){let r=new Set,n=new Set,o=!1,i=!1;const s=new WeakSet;let a={delta:0,timestamp:0,isProcessing:!1};function l(d){s.has(d)&&(c.schedule(d),e()),d(a)}const c={schedule:(d,u=!1,f=!1)=>{const h=f&&o?r:n;return u&&s.add(d),h.add(d),d},cancel:d=>{n.delete(d),s.delete(d)},process:d=>{if(a=d,o){i=!0;return}o=!0;const u=r;r=n,n=u,r.forEach(l),r.clear(),o=!1,i&&(i=!1,c.process(d))}};return c}const qR=40;function Vm(e,t){let r=!1,n=!0;const o={delta:0,timestamp:0,isProcessing:!1},i=()=>r=!0,s=Hn.reduce((y,k)=>(y[k]=UR(i),y),{}),{setup:a,read:l,resolveKeyframes:c,preUpdate:d,update:u,preRender:f,render:p,postRender:h}=s,m=()=>{const y=Lt.useManualTiming,k=y?o.timestamp:performance.now();r=!1,y||(o.delta=n?1e3/60:Math.max(Math.min(k-o.timestamp,qR),1)),o.timestamp=k,o.isProcessing=!0,a.process(o),l.process(o),c.process(o),d.process(o),u.process(o),f.process(o),p.process(o),h.process(o),o.isProcessing=!1,r&&t&&(n=!1,e(m))},b=()=>{r=!0,n=!0,o.isProcessing||e(m)};return{schedule:Hn.reduce((y,k)=>{const w=s[k];return y[k]=(C,E=!1,P=!1)=>(r||b(),w.schedule(C,E,P)),y},{}),cancel:y=>{for(let k=0;k<Hn.length;k++)s[Hn[k]].cancel(y)},state:o,steps:s}}const{schedule:ee,cancel:Ft,state:we,steps:Li}=Vm(typeof requestAnimationFrame<"u"?requestAnimationFrame:Ue,!0);let to;function KR(){to=void 0}const Ne={now:()=>(to===void 0&&Ne.set(we.isProcessing||Lt.useManualTiming?we.timestamp:performance.now()),to),set:e=>{to=e,queueMicrotask(KR)}},Dm=e=>t=>typeof t=="string"&&t.startsWith(e),Mm=Dm("--"),XR=Dm("var(--"),el=e=>XR(e)?YR.test(e.split("/*")[0].trim()):!1,YR=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function td(e){return typeof e!="string"?!1:e.split("/*")[0].includes("var(--")}const $r={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},vn={...$r,transform:e=>ut(0,1,e)},Gn={...$r,default:1},sn=e=>Math.round(e*1e5)/1e5,tl=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function ZR(e){return e==null}const QR=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,rl=(e,t)=>r=>!!(typeof r=="string"&&QR.test(r)&&r.startsWith(e)||t&&!ZR(r)&&Object.prototype.hasOwnProperty.call(r,t)),Lm=(e,t,r)=>n=>{if(typeof n!="string")return n;const[o,i,s,a]=n.match(tl);return{[e]:parseFloat(o),[t]:parseFloat(i),[r]:parseFloat(s),alpha:a!==void 0?parseFloat(a):1}},JR=e=>ut(0,255,e),Fi={...$r,transform:e=>Math.round(JR(e))},Yt={test:rl("rgb","red"),parse:Lm("red","green","blue"),transform:({red:e,green:t,blue:r,alpha:n=1})=>"rgba("+Fi.transform(e)+", "+Fi.transform(t)+", "+Fi.transform(r)+", "+sn(vn.transform(n))+")"};function eE(e){let t="",r="",n="",o="";return e.length>5?(t=e.substring(1,3),r=e.substring(3,5),n=e.substring(5,7),o=e.substring(7,9)):(t=e.substring(1,2),r=e.substring(2,3),n=e.substring(3,4),o=e.substring(4,5),t+=t,r+=r,n+=n,o+=o),{red:parseInt(t,16),green:parseInt(r,16),blue:parseInt(n,16),alpha:o?parseInt(o,16)/255:1}}const Rs={test:rl("#"),parse:eE,transform:Yt.transform},In=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),_t=In("deg"),ct=In("%"),V=In("px"),tE=In("vh"),rE=In("vw"),rd={...ct,parse:e=>ct.parse(e)/100,transform:e=>ct.transform(e*100)},kr={test:rl("hsl","hue"),parse:Lm("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:r,alpha:n=1})=>"hsla("+Math.round(e)+", "+ct.transform(sn(t))+", "+ct.transform(sn(r))+", "+sn(vn.transform(n))+")"},ce={test:e=>Yt.test(e)||Rs.test(e)||kr.test(e),parse:e=>Yt.test(e)?Yt.parse(e):kr.test(e)?kr.parse(e):Rs.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?Yt.transform(e):kr.transform(e),getAnimatableNone:e=>{const t=ce.parse(e);return t.alpha=0,ce.transform(t)}},nE=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function oE(e){return isNaN(e)&&typeof e=="string"&&(e.match(tl)?.length||0)+(e.match(nE)?.length||0)>0}const Fm="number",Wm="color",iE="var",sE="var(",nd="${}",aE=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function Ir(e){const t=e.toString(),r=[],n={color:[],number:[],var:[]},o=[];let i=0;const a=t.replace(aE,l=>(ce.test(l)?(n.color.push(i),o.push(Wm),r.push(ce.parse(l))):l.startsWith(sE)?(n.var.push(i),o.push(iE),r.push(l)):(n.number.push(i),o.push(Fm),r.push(parseFloat(l))),++i,nd)).split(nd);return{values:r,split:a,indexes:n,types:o}}function lE(e){return Ir(e).values}function $m({split:e,types:t}){const r=e.length;return n=>{let o="";for(let i=0;i<r;i++)if(o+=e[i],n[i]!==void 0){const s=t[i];s===Fm?o+=sn(n[i]):s===Wm?o+=ce.transform(n[i]):o+=n[i]}return o}}function cE(e){return $m(Ir(e))}const dE=e=>typeof e=="number"?0:ce.test(e)?ce.getAnimatableNone(e):e,uE=(e,t)=>typeof e=="number"?t?.trim().endsWith("/")?e:0:dE(e);function fE(e){const t=Ir(e);return $m(t)(t.values.map((n,o)=>uE(n,t.split[o])))}const Ze={test:oE,parse:lE,createTransformer:cE,getAnimatableNone:fE};function Wi(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+(t-e)*6*r:r<1/2?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function pE({hue:e,saturation:t,lightness:r,alpha:n}){e/=360,t/=100,r/=100;let o=0,i=0,s=0;if(!t)o=i=s=r;else{const a=r<.5?r*(1+t):r+t-r*t,l=2*r-a;o=Wi(l,a,e+1/3),i=Wi(l,a,e),s=Wi(l,a,e-1/3)}return{red:Math.round(o*255),green:Math.round(i*255),blue:Math.round(s*255),alpha:n}}function To(e,t){return r=>r>0?t:e}const ne=(e,t,r)=>e+(t-e)*r,$i=(e,t,r)=>{const n=e*e,o=r*(t*t-n)+n;return o<0?0:Math.sqrt(o)},hE=[Rs,Yt,kr],mE=e=>hE.find(t=>t.test(e));function od(e){const t=mE(e);if(!t)return!1;let r=t.parse(e);return t===kr&&(r=pE(r)),r}const id=(e,t)=>{const r=od(e),n=od(t);if(!r||!n)return To(e,t);const o={...r};return i=>(o.red=$i(r.red,n.red,i),o.green=$i(r.green,n.green,i),o.blue=$i(r.blue,n.blue,i),o.alpha=ne(r.alpha,n.alpha,i),Yt.transform(o))},Es=new Set(["none","hidden"]);function gE(e,t){return Es.has(e)?r=>r<=0?e:t:r=>r>=1?t:e}function bE(e,t){return r=>ne(e,t,r)}function nl(e){return typeof e=="number"?bE:typeof e=="string"?el(e)?To:ce.test(e)?id:xE:Array.isArray(e)?Bm:typeof e=="object"?ce.test(e)?id:vE:To}function Bm(e,t){const r=[...e],n=r.length,o=e.map((i,s)=>nl(i)(i,t[s]));return i=>{for(let s=0;s<n;s++)r[s]=o[s](i);return r}}function vE(e,t){const r={...e,...t},n={};for(const o in r)e[o]!==void 0&&t[o]!==void 0&&(n[o]=nl(e[o])(e[o],t[o]));return o=>{for(const i in n)r[i]=n[i](o);return r}}function yE(e,t){const r=[],n={color:0,var:0,number:0};for(let o=0;o<t.values.length;o++){const i=t.types[o],s=e.indexes[i][n[i]],a=e.values[s]??0;r[o]=a,n[i]++}return r}const xE=(e,t)=>{const r=Ze.createTransformer(t),n=Ir(e),o=Ir(t);return n.indexes.var.length===o.indexes.var.length&&n.indexes.color.length===o.indexes.color.length&&n.indexes.number.length>=o.indexes.number.length?Es.has(e)&&!o.values.length||Es.has(t)&&!n.values.length?gE(e,t):En(Bm(yE(n,o),o.values),r):To(e,t)};function jm(e,t,r){return typeof e=="number"&&typeof t=="number"&&typeof r=="number"?ne(e,t,r):nl(e)(e,t)}const wE=e=>{const t=({timestamp:r})=>e(r);return{start:(r=!0)=>ee.update(t,r),stop:()=>Ft(t),now:()=>we.isProcessing?we.timestamp:Ne.now()}},Hm=(e,t,r=10)=>{let n="";const o=Math.max(Math.round(t/r),2);for(let i=0;i<o;i++)n+=Math.round(e(i/(o-1))*1e4)/1e4+", ";return`linear(${n.substring(0,n.length-2)})`},Ro=2e4;function ol(e){let t=0;const r=50;let n=e.next(t);for(;!n.done&&t<Ro;)t+=r,n=e.next(t);return t>=Ro?1/0:t}function kE(e,t=100,r){const n=r({...e,keyframes:[0,t]}),o=Math.min(ol(n),Ro);return{type:"keyframes",ease:i=>n.next(o*i).value/t,duration:Ge(o)}}const se={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1};function As(e,t){return e*Math.sqrt(1-t*t)}const SE=12;function CE(e,t,r){let n=r;for(let o=1;o<SE;o++)n=n-e(n)/t(n);return n}const Bi=.001;function PE({duration:e=se.duration,bounce:t=se.bounce,velocity:r=se.velocity,mass:n=se.mass}){let o,i,s=1-t;s=ut(se.minDamping,se.maxDamping,s),e=ut(se.minDuration,se.maxDuration,Ge(e)),s<1?(o=c=>{const d=c*s,u=d*e,f=d-r,p=As(c,s),h=Math.exp(-u);return Bi-f/p*h},i=c=>{const u=c*s*e,f=u*r+r,p=Math.pow(s,2)*Math.pow(c,2)*e,h=Math.exp(-u),m=As(Math.pow(c,2),s);return(-o(c)+Bi>0?-1:1)*((f-p)*h)/m}):(o=c=>{const d=Math.exp(-c*e),u=(c-r)*e+1;return-Bi+d*u},i=c=>{const d=Math.exp(-c*e),u=(r-c)*(e*e);return d*u});const a=5/e,l=CE(o,i,a);if(e=We(e),isNaN(l))return{stiffness:se.stiffness,damping:se.damping,duration:e};{const c=Math.pow(l,2)*n;return{stiffness:c,damping:s*2*Math.sqrt(n*c),duration:e}}}const TE=["duration","bounce"],RE=["stiffness","damping","mass"];function sd(e,t){return t.some(r=>e[r]!==void 0)}function EE(e){let t={velocity:se.velocity,stiffness:se.stiffness,damping:se.damping,mass:se.mass,isResolvedFromDuration:!1,...e};if(!sd(e,RE)&&sd(e,TE))if(t.velocity=0,e.visualDuration){const r=e.visualDuration,n=2*Math.PI/(r*1.2),o=n*n,i=2*ut(.05,1,1-(e.bounce||0))*Math.sqrt(o);t={...t,mass:se.mass,stiffness:o,damping:i}}else{const r=PE({...e,velocity:0});t={...t,...r,mass:se.mass},t.isResolvedFromDuration=!0}return t}function Eo(e=se.visualDuration,t=se.bounce){const r=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:t}:e;let{restSpeed:n,restDelta:o}=r;const i=r.keyframes[0],s=r.keyframes[r.keyframes.length-1],a={done:!1,value:i},{stiffness:l,damping:c,mass:d,duration:u,velocity:f,isResolvedFromDuration:p}=EE({...r,velocity:-Ge(r.velocity||0)}),h=f||0,m=c/(2*Math.sqrt(l*d)),b=s-i,v=Ge(Math.sqrt(l/d)),x=Math.abs(b)<5;n||(n=x?se.restSpeed.granular:se.restSpeed.default),o||(o=x?se.restDelta.granular:se.restDelta.default);let y,k,w,C,E,P;if(m<1)w=As(v,m),C=(h+m*v*b)/w,y=T=>{const A=Math.exp(-m*v*T);return s-A*(C*Math.sin(w*T)+b*Math.cos(w*T))},E=m*v*C+b*w,P=m*v*b-C*w,k=T=>Math.exp(-m*v*T)*(E*Math.sin(w*T)+P*Math.cos(w*T));else if(m===1){y=A=>s-Math.exp(-v*A)*(b+(h+v*b)*A);const T=h+v*b;k=A=>Math.exp(-v*A)*(v*T*A-h)}else{const T=v*Math.sqrt(m*m-1);y=L=>{const O=Math.exp(-m*v*L),B=Math.min(T*L,300);return s-O*((h+m*v*b)*Math.sinh(B)+T*b*Math.cosh(B))/T};const A=(h+m*v*b)/T,I=m*v*A-b*T,_=m*v*b-A*T;k=L=>{const O=Math.exp(-m*v*L),B=Math.min(T*L,300);return O*(I*Math.sinh(B)+_*Math.cosh(B))}}const R={calculatedDuration:p&&u||null,velocity:T=>We(k(T)),next:T=>{if(!p&&m<1){const I=Math.exp(-m*v*T),_=Math.sin(w*T),L=Math.cos(w*T),O=s-I*(C*_+b*L),B=We(I*(E*_+P*L));return a.done=Math.abs(B)<=n&&Math.abs(s-O)<=o,a.value=a.done?s:O,a}const A=y(T);if(p)a.done=T>=u;else{const I=We(k(T));a.done=Math.abs(I)<=n&&Math.abs(s-A)<=o}return a.value=a.done?s:A,a},toString:()=>{const T=Math.min(ol(R),Ro),A=Hm(I=>R.next(T*I).value,T,30);return T+"ms "+A},toTransition:()=>{}};return R}Eo.applyToOptions=e=>{const t=kE(e,100,Eo);return e.ease=t.ease,e.duration=We(t.duration),e.type="keyframes",e};const AE=5;function Gm(e,t,r){const n=Math.max(t-AE,0);return Cm(r-e(n),t-n)}function Is({keyframes:e,velocity:t=0,power:r=.8,timeConstant:n=325,bounceDamping:o=10,bounceStiffness:i=500,modifyTarget:s,min:a,max:l,restDelta:c=.5,restSpeed:d}){const u=e[0],f={done:!1,value:u},p=P=>a!==void 0&&P<a||l!==void 0&&P>l,h=P=>a===void 0?l:l===void 0||Math.abs(a-P)<Math.abs(l-P)?a:l;let m=r*t;const b=u+m,v=s===void 0?b:s(b);v!==b&&(m=v-u);const x=P=>-m*Math.exp(-P/n),y=P=>v+x(P),k=P=>{const R=x(P),T=y(P);f.done=Math.abs(R)<=c,f.value=f.done?v:T};let w,C;const E=P=>{p(f.value)&&(w=P,C=Eo({keyframes:[f.value,h(f.value)],velocity:Gm(y,P,f.value),damping:o,stiffness:i,restDelta:c,restSpeed:d}))};return E(0),{calculatedDuration:null,next:P=>{let R=!1;return!C&&w===void 0&&(R=!0,k(P),E(P)),w!==void 0&&P>=w?C.next(P-w):(!R&&k(P),f)}}}function IE(e,t,r){const n=[],o=r||Lt.mix||jm,i=e.length-1;for(let s=0;s<i;s++){let a=o(e[s],e[s+1]);if(t){const l=Array.isArray(t)?t[s]||Ue:t;a=En(l,a)}n.push(a)}return n}function zE(e,t,{clamp:r=!0,ease:n,mixer:o}={}){const i=e.length;if(Ya(i===t.length),i===1)return()=>t[0];if(i===2&&t[0]===t[1])return()=>t[1];const s=e[0]===e[1];e[0]>e[i-1]&&(e=[...e].reverse(),t=[...t].reverse());const a=IE(t,n,o),l=a.length,c=d=>{if(s&&d<e[0])return t[0];let u=0;if(l>1)for(;u<e.length-2&&!(d<e[u+1]);u++);const f=bn(e[u],e[u+1],d);return a[u](f)};return r?d=>c(ut(e[0],e[i-1],d)):c}function NE(e,t){const r=e[e.length-1];for(let n=1;n<=t;n++){const o=bn(0,t,n);e.push(ne(r,1,o))}}function OE(e){const t=[0];return NE(t,e.length-1),t}function _E(e,t){return e.map(r=>r*t)}function VE(e,t){return e.map(()=>t||Om).splice(0,e.length-1)}function an({duration:e=300,keyframes:t,times:r,ease:n="easeInOut"}){const o=jR(n)?n.map(ed):ed(n),i={done:!1,value:t[0]},s=_E(r&&r.length===t.length?r:OE(t),e),a=zE(s,t,{ease:Array.isArray(o)?o:VE(t,o)});return{calculatedDuration:e,next:l=>(i.value=a(l),i.done=l>=e,i)}}const DE=e=>e!==null;function di(e,{repeat:t,repeatType:r="loop"},n,o=1){const i=e.filter(DE),a=o<0||t&&r!=="loop"&&t%2===1?0:i.length-1;return!a||n===void 0?i[a]:n}const ME={decay:Is,inertia:Is,tween:an,keyframes:an,spring:Eo};function Um(e){typeof e.type=="string"&&(e.type=ME[e.type])}class il{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(t=>{this.resolve=t})}notifyFinished(){this.resolve()}then(t,r){return this.finished.then(t,r)}}const LE=e=>e/100;class Ao extends il{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{const{motionValue:r}=this.options;r&&r.updatedAt!==Ne.now()&&this.tick(Ne.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),this.options.onStop?.())},this.options=t,this.initAnimation(),this.play(),t.autoplay===!1&&this.pause()}initAnimation(){const{options:t}=this;Um(t);const{type:r=an,repeat:n=0,repeatDelay:o=0,repeatType:i,velocity:s=0}=t;let{keyframes:a}=t;const l=r||an;l!==an&&typeof a[0]!="number"&&(this.mixKeyframes=En(LE,jm(a[0],a[1])),a=[0,100]);const c=l({...t,keyframes:a});i==="mirror"&&(this.mirroredGenerator=l({...t,keyframes:[...a].reverse(),velocity:-s})),c.calculatedDuration===null&&(c.calculatedDuration=ol(c));const{calculatedDuration:d}=c;this.calculatedDuration=d,this.resolvedDuration=d+o,this.totalDuration=this.resolvedDuration*(n+1)-o,this.generator=c}updateTime(t){const r=Math.round(t-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=r}tick(t,r=!1){const{generator:n,totalDuration:o,mixKeyframes:i,mirroredGenerator:s,resolvedDuration:a,calculatedDuration:l}=this;if(this.startTime===null)return n.next(0);const{delay:c=0,keyframes:d,repeat:u,repeatType:f,repeatDelay:p,type:h,onUpdate:m,finalKeyframe:b}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-o/this.speed,this.startTime)),r?this.currentTime=t:this.updateTime(t);const v=this.currentTime-c*(this.playbackSpeed>=0?1:-1),x=this.playbackSpeed>=0?v<0:v>o;this.currentTime=Math.max(v,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=o);let y=this.currentTime,k=n;if(u){const P=Math.min(this.currentTime,o)/a;let R=Math.floor(P),T=P%1;!T&&P>=1&&(T=1),T===1&&R--,R=Math.min(R,u+1),!!(R%2)&&(f==="reverse"?(T=1-T,p&&(T-=p/a)):f==="mirror"&&(k=s)),y=ut(0,1,T)*a}let w;x?(this.delayState.value=d[0],w=this.delayState):w=k.next(y),i&&!x&&(w.value=i(w.value));let{done:C}=w;!x&&l!==null&&(C=this.playbackSpeed>=0?this.currentTime>=o:this.currentTime<=0);const E=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&C);return E&&h!==Is&&(w.value=di(d,this.options,b,this.speed)),m&&m(w.value),E&&this.finish(),w}then(t,r){return this.finished.then(t,r)}get duration(){return Ge(this.calculatedDuration)}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+Ge(t)}get time(){return Ge(this.currentTime)}set time(t){t=We(t),this.currentTime=t,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state="paused",this.holdTime=t,this.tick(t))}getGeneratorVelocity(){const t=this.currentTime;if(t<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(t);const r=this.generator.next(t).value;return Gm(n=>this.generator.next(n).value,t,r)}get speed(){return this.playbackSpeed}set speed(t){const r=this.playbackSpeed!==t;r&&this.driver&&this.updateTime(Ne.now()),this.playbackSpeed=t,r&&this.driver&&(this.time=Ge(this.currentTime))}play(){if(this.isStopped)return;const{driver:t=wE,startTime:r}=this.options;this.driver||(this.driver=t(o=>this.tick(o))),this.options.onPlay?.();const n=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=n):this.holdTime!==null?this.startTime=n-this.holdTime:this.startTime||(this.startTime=r??n),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(Ne.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}attachTimeline(t){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),t.observe(this)}}function FE(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}const Zt=e=>e*180/Math.PI,zs=e=>{const t=Zt(Math.atan2(e[1],e[0]));return Ns(t)},WE={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:zs,rotateZ:zs,skewX:e=>Zt(Math.atan(e[1])),skewY:e=>Zt(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},Ns=e=>(e=e%360,e<0&&(e+=360),e),ad=zs,ld=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),cd=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),$E={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:ld,scaleY:cd,scale:e=>(ld(e)+cd(e))/2,rotateX:e=>Ns(Zt(Math.atan2(e[6],e[5]))),rotateY:e=>Ns(Zt(Math.atan2(-e[2],e[0]))),rotateZ:ad,rotate:ad,skewX:e=>Zt(Math.atan(e[4])),skewY:e=>Zt(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function Os(e){return e.includes("scale")?1:0}function _s(e,t){if(!e||e==="none")return Os(t);const r=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let n,o;if(r)n=$E,o=r;else{const a=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);n=WE,o=a}if(!o)return Os(t);const i=n[t],s=o[1].split(",").map(jE);return typeof i=="function"?i(s):s[i]}const BE=(e,t)=>{const{transform:r="none"}=getComputedStyle(e);return _s(r,t)};function jE(e){return parseFloat(e.trim())}const Br=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],jr=new Set(Br),dd=e=>e===$r||e===V,HE=new Set(["x","y","z"]),GE=Br.filter(e=>!HE.has(e));function UE(e){const t=[];return GE.forEach(r=>{const n=e.getValue(r);n!==void 0&&(t.push([r,n.get()]),n.set(r.startsWith("scale")?1:0))}),t}const Vt={width:({x:e},{paddingLeft:t="0",paddingRight:r="0",boxSizing:n})=>{const o=e.max-e.min;return n==="border-box"?o:o-parseFloat(t)-parseFloat(r)},height:({y:e},{paddingTop:t="0",paddingBottom:r="0",boxSizing:n})=>{const o=e.max-e.min;return n==="border-box"?o:o-parseFloat(t)-parseFloat(r)},top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:(e,{transform:t})=>_s(t,"x"),y:(e,{transform:t})=>_s(t,"y")};Vt.translateX=Vt.x;Vt.translateY=Vt.y;const er=new Set;let Vs=!1,Ds=!1,Ms=!1;function qm(){if(Ds){const e=Array.from(er).filter(n=>n.needsMeasurement),t=new Set(e.map(n=>n.element)),r=new Map;t.forEach(n=>{const o=UE(n);o.length&&(r.set(n,o),n.render())}),e.forEach(n=>n.measureInitialState()),t.forEach(n=>{n.render();const o=r.get(n);o&&o.forEach(([i,s])=>{n.getValue(i)?.set(s)})}),e.forEach(n=>n.measureEndState()),e.forEach(n=>{n.suspendedScrollY!==void 0&&window.scrollTo(0,n.suspendedScrollY)})}Ds=!1,Vs=!1,er.forEach(e=>e.complete(Ms)),er.clear()}function Km(){er.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(Ds=!0)})}function qE(){Ms=!0,Km(),qm(),Ms=!1}class sl{constructor(t,r,n,o,i,s=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=r,this.name=n,this.motionValue=o,this.element=i,this.isAsync=s}scheduleResolve(){this.state="scheduled",this.isAsync?(er.add(this),Vs||(Vs=!0,ee.read(Km),ee.resolveKeyframes(qm))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:r,element:n,motionValue:o}=this;if(t[0]===null){const i=o?.get(),s=t[t.length-1];if(i!==void 0)t[0]=i;else if(n&&r){const a=n.readValue(r,s);a!=null&&(t[0]=a)}t[0]===void 0&&(t[0]=s),o&&i===void 0&&o.set(t[0])}FE(t)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),er.delete(this)}cancel(){this.state==="scheduled"&&(er.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const KE=e=>e.startsWith("--");function Xm(e,t,r){KE(t)?e.style.setProperty(t,r):e.style[t]=r}const XE={};function Ym(e,t){const r=Sm(e);return()=>XE[t]??r()}const YE=Ym(()=>window.ScrollTimeline!==void 0,"scrollTimeline"),Zm=Ym(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),rn=([e,t,r,n])=>`cubic-bezier(${e}, ${t}, ${r}, ${n})`,ud={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:rn([0,.65,.55,1]),circOut:rn([.55,0,1,.45]),backIn:rn([.31,.01,.66,-.59]),backOut:rn([.33,1.53,.69,.99])};function Qm(e,t){if(e)return typeof e=="function"?Zm()?Hm(e,t):"ease-out":_m(e)?rn(e):Array.isArray(e)?e.map(r=>Qm(r,t)||ud.easeOut):ud[e]}function ZE(e,t,r,{delay:n=0,duration:o=300,repeat:i=0,repeatType:s="loop",ease:a="easeOut",times:l}={},c=void 0){const d={[t]:r};l&&(d.offset=l);const u=Qm(a,o);Array.isArray(u)&&(d.easing=u);const f={delay:n,duration:o,easing:Array.isArray(u)?"linear":u,fill:"both",iterations:i+1,direction:s==="reverse"?"alternate":"normal"};return c&&(f.pseudoElement=c),e.animate(d,f)}function Jm(e){return typeof e=="function"&&"applyToOptions"in e}function QE({type:e,...t}){return Jm(e)&&Zm()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}class eg extends il{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!t)return;const{element:r,name:n,keyframes:o,pseudoElement:i,allowFlatten:s=!1,finalKeyframe:a,onComplete:l}=t;this.isPseudoElement=!!i,this.allowFlatten=s,this.options=t,Ya(typeof t.type!="string");const c=QE(t);this.animation=ZE(r,n,o,c,i),c.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!i){const d=di(o,this.options,a,this.speed);this.updateMotionValue&&this.updateMotionValue(d),Xm(r,n,d),this.animation.cancel()}l?.(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:t}=this;t==="idle"||t==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){const t=this.options?.element;!this.isPseudoElement&&t?.isConnected&&this.animation.commitStyles?.()}get duration(){const t=this.animation.effect?.getComputedTiming?.().duration||0;return Ge(Number(t))}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+Ge(t)}get time(){return Ge(Number(this.animation.currentTime)||0)}set time(t){const r=this.finishedTime!==null;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=We(t),r&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(t){t<0&&(this.finishedTime=null),this.animation.playbackRate=t}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(t){this.manualStartTime=this.animation.startTime=t}attachTimeline({timeline:t,rangeStart:r,rangeEnd:n,observe:o}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,t&&YE()?(this.animation.timeline=t,r&&(this.animation.rangeStart=r),n&&(this.animation.rangeEnd=n),Ue):o(this)}}const tg={anticipate:Im,backInOut:Am,circInOut:Nm};function JE(e){return e in tg}function eA(e){typeof e.ease=="string"&&JE(e.ease)&&(e.ease=tg[e.ease])}const ji=10;class tA extends eg{constructor(t){eA(t),Um(t),super(t),t.startTime!==void 0&&t.autoplay!==!1&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){const{motionValue:r,onUpdate:n,onComplete:o,element:i,...s}=this.options;if(!r)return;if(t!==void 0){r.set(t);return}const a=new Ao({...s,autoplay:!1}),l=Math.max(ji,Ne.now()-this.startTime),c=ut(0,ji,l-ji),d=a.sample(l).value,{name:u}=this.options;i&&u&&Xm(i,u,d),r.setWithVelocity(a.sample(Math.max(0,l-c)).value,d,c),a.stop()}}const fd=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(Ze.test(e)||e==="0")&&!e.startsWith("url("));function rA(e){const t=e[0];if(e.length===1)return!0;for(let r=0;r<e.length;r++)if(e[r]!==t)return!0}function nA(e,t,r,n){const o=e[0];if(o===null)return!1;if(t==="display"||t==="visibility")return!0;const i=e[e.length-1],s=fd(o,t),a=fd(i,t);return!s||!a?!1:rA(e)||(r==="spring"||Jm(r))&&n}function Ls(e){e.duration=0,e.type="keyframes"}const rg=new Set(["opacity","clipPath","filter","transform"]),oA=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;function iA(e){for(let t=0;t<e.length;t++)if(typeof e[t]=="string"&&oA.test(e[t]))return!0;return!1}const sA=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),aA=Sm(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function lA(e){const{motionValue:t,name:r,repeatDelay:n,repeatType:o,damping:i,type:s,keyframes:a}=e;if(!(t?.owner?.current instanceof HTMLElement))return!1;const{onUpdate:c,transformTemplate:d}=t.owner.getProps();return aA()&&r&&(rg.has(r)||sA.has(r)&&iA(a))&&(r!=="transform"||!d)&&!c&&!n&&o!=="mirror"&&i!==0&&s!=="inertia"}const cA=40;class dA extends il{constructor({autoplay:t=!0,delay:r=0,type:n="keyframes",repeat:o=0,repeatDelay:i=0,repeatType:s="loop",keyframes:a,name:l,motionValue:c,element:d,...u}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=Ne.now();const f={autoplay:t,delay:r,type:n,repeat:o,repeatDelay:i,repeatType:s,name:l,motionValue:c,element:d,...u},p=d?.KeyframeResolver||sl;this.keyframeResolver=new p(a,(h,m,b)=>this.onKeyframesResolved(h,m,f,!b),l,c,d),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(t,r,n,o){this.keyframeResolver=void 0;const{name:i,type:s,velocity:a,delay:l,isHandoff:c,onUpdate:d}=n;this.resolvedAt=Ne.now();let u=!0;nA(t,i,s,a)||(u=!1,(Lt.instantAnimations||!l)&&d?.(di(t,n,r)),t[0]=t[t.length-1],Ls(n),n.repeat=0);const p={startTime:o?this.resolvedAt?this.resolvedAt-this.createdAt>cA?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:r,...n,keyframes:t},h=u&&!c&&lA(p),m=p.motionValue?.owner?.current;let b;if(h)try{b=new tA({...p,element:m})}catch{b=new Ao(p)}else b=new Ao(p);b.finished.then(()=>{this.notifyFinished()}).catch(Ue),this.pendingTimeline&&(this.stopTimeline=b.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=b}get finished(){return this._animation?this.animation.finished:this._finished}then(t,r){return this.finished.finally(t).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),qE()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(t){this.animation.time=t}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(t){this.animation.speed=t}get startTime(){return this.animation.startTime}attachTimeline(t){return this._animation?this.stopTimeline=this.animation.attachTimeline(t):this.pendingTimeline=t,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}function ng(e,t,r,n=0,o=1){const i=Array.from(e).sort((c,d)=>c.sortNodePosition(d)).indexOf(t),s=e.size,a=(s-1)*n;return typeof r=="function"?r(i,s):o===1?i*n:a-i*n}const uA=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function fA(e){const t=uA.exec(e);if(!t)return[,];const[,r,n,o]=t;return[`--${r??n}`,o]}function og(e,t,r=1){const[n,o]=fA(e);if(!n)return;const i=window.getComputedStyle(t).getPropertyValue(n);if(i){const s=i.trim();return xm(s)?parseFloat(s):s}return el(o)?og(o,t,r+1):o}const pA={type:"spring",stiffness:500,damping:25,restSpeed:10},hA=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),mA={type:"keyframes",duration:.8},gA={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},bA=(e,{keyframes:t})=>t.length>2?mA:jr.has(e)?e.startsWith("scale")?hA(t[1]):pA:gA;function ig(e,t){if(e?.inherit&&t){const{inherit:r,...n}=e;return{...t,...n}}return e}function al(e,t){const r=e?.[t]??e?.default??e;return r!==e?ig(r,e):r}const vA=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]);function yA(e){for(const t in e)if(!vA.has(t))return!0;return!1}const ll=(e,t,r,n={},o,i)=>s=>{const a=al(n,e)||{},l=a.delay||n.delay||0;let{elapsed:c=0}=n;c=c-We(l);const d={keyframes:Array.isArray(r)?r:[null,r],ease:"easeOut",velocity:t.getVelocity(),...a,delay:-c,onUpdate:f=>{t.set(f),a.onUpdate&&a.onUpdate(f)},onComplete:()=>{s(),a.onComplete&&a.onComplete()},name:e,motionValue:t,element:i?void 0:o};yA(a)||Object.assign(d,bA(e,d)),d.duration&&(d.duration=We(d.duration)),d.repeatDelay&&(d.repeatDelay=We(d.repeatDelay)),d.from!==void 0&&(d.keyframes[0]=d.from);let u=!1;if((d.type===!1||d.duration===0&&!d.repeatDelay)&&(Ls(d),d.delay===0&&(u=!0)),(Lt.instantAnimations||Lt.skipAnimations||o?.shouldSkipAnimations)&&(u=!0,Ls(d),d.delay=0),d.allowFlatten=!a.type&&!a.ease,u&&!i&&t.get()!==void 0){const f=di(d.keyframes,a);if(f!==void 0){ee.update(()=>{d.onUpdate(f),d.onComplete()});return}}return a.isSync?new Ao(d):new dA(d)};function pd(e){const t=[{},{}];return e?.values.forEach((r,n)=>{t[0][n]=r.get(),t[1][n]=r.getVelocity()}),t}function cl(e,t,r,n){if(typeof t=="function"){const[o,i]=pd(n);t=t(r!==void 0?r:e.custom,o,i)}if(typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"){const[o,i]=pd(n);t=t(r!==void 0?r:e.custom,o,i)}return t}function tr(e,t,r){const n=e.getProps();return cl(n,t,r!==void 0?r:n.custom,e)}const sg=new Set(["width","height","top","left","right","bottom",...Br]),hd=30,xA=e=>!isNaN(parseFloat(e));class wA{constructor(t,r={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=n=>{const o=Ne.now();if(this.updatedAt!==o&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(n),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(const i of this.dependents)i.dirty()},this.hasAnimated=!1,this.setCurrent(t),this.owner=r.owner}setCurrent(t){this.current=t,this.updatedAt=Ne.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=xA(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,r){this.events[t]||(this.events[t]=new Za);const n=this.events[t].add(r);return t==="change"?()=>{n(),ee.read(()=>{this.events.change.getSize()||this.stop()})}:n}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,r){this.passiveEffect=t,this.stopPassiveEffect=r}set(t){this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t)}setWithVelocity(t,r,n){this.set(r),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-n}jump(t,r=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,r&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(t){this.dependents||(this.dependents=new Set),this.dependents.add(t)}removeDependent(t){this.dependents&&this.dependents.delete(t)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const t=Ne.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>hd)return 0;const r=Math.min(this.updatedAt-this.prevUpdatedAt,hd);return Cm(parseFloat(this.current)-parseFloat(this.prevFrameValue),r)}start(t){return this.stop(),new Promise(r=>{this.hasAnimated=!0,this.animation=t(r),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function zr(e,t){return new wA(e,t)}const Fs=e=>Array.isArray(e);function kA(e,t,r){e.hasValue(t)?e.getValue(t).set(r):e.addValue(t,zr(r))}function SA(e){return Fs(e)?e[e.length-1]||0:e}function CA(e,t){const r=tr(e,t);let{transitionEnd:n={},transition:o={},...i}=r||{};i={...i,...n};for(const s in i){const a=SA(i[s]);kA(e,s,a)}}const Te=e=>!!(e&&e.getVelocity);function PA(e){return!!(Te(e)&&e.add)}function Ws(e,t){const r=e.getValue("willChange");if(PA(r))return r.add(t);if(!r&&Lt.WillChange){const n=new Lt.WillChange("auto");e.addValue("willChange",n),n.add(t)}}function dl(e){return e.replace(/([A-Z])/g,t=>`-${t.toLowerCase()}`)}const TA="framerAppearId",ag="data-"+dl(TA);function lg(e){return e.props[ag]}function RA({protectedKeys:e,needsAnimating:t},r){const n=e.hasOwnProperty(r)&&t[r]!==!0;return t[r]=!1,n}function cg(e,t,{delay:r=0,transitionOverride:n,type:o}={}){let{transition:i,transitionEnd:s,...a}=t;const l=e.getDefaultTransition();i=i?ig(i,l):l;const c=i?.reduceMotion;n&&(i=n);const d=[],u=o&&e.animationState&&e.animationState.getState()[o];for(const f in a){const p=e.getValue(f,e.latestValues[f]??null),h=a[f];if(h===void 0||u&&RA(u,f))continue;const m={delay:r,...al(i||{},f)},b=p.get();if(b!==void 0&&!p.isAnimating()&&!Array.isArray(h)&&h===b&&!m.velocity){ee.update(()=>p.set(h));continue}let v=!1;if(window.MotionHandoffAnimation){const k=lg(e);if(k){const w=window.MotionHandoffAnimation(k,f,ee);w!==null&&(m.startTime=w,v=!0)}}Ws(e,f);const x=c??e.shouldReduceMotion;p.start(ll(f,p,h,x&&sg.has(f)?{type:!1}:m,e,v));const y=p.animation;y&&d.push(y)}if(s){const f=()=>ee.update(()=>{s&&CA(e,s)});d.length?Promise.all(d).then(f):f()}return d}function $s(e,t,r={}){const n=tr(e,t,r.type==="exit"?e.presenceContext?.custom:void 0);let{transition:o=e.getDefaultTransition()||{}}=n||{};r.transitionOverride&&(o=r.transitionOverride);const i=n?()=>Promise.all(cg(e,n,r)):()=>Promise.resolve(),s=e.variantChildren&&e.variantChildren.size?(l=0)=>{const{delayChildren:c=0,staggerChildren:d,staggerDirection:u}=o;return EA(e,t,l,c,d,u,r)}:()=>Promise.resolve(),{when:a}=o;if(a){const[l,c]=a==="beforeChildren"?[i,s]:[s,i];return l().then(()=>c())}else return Promise.all([i(),s(r.delay)])}function EA(e,t,r=0,n=0,o=0,i=1,s){const a=[];for(const l of e.variantChildren)l.notify("AnimationStart",t),a.push($s(l,t,{...s,delay:r+(typeof n=="function"?0:n)+ng(e.variantChildren,l,n,o,i)}).then(()=>l.notify("AnimationComplete",t)));return Promise.all(a)}function AA(e,t,r={}){e.notify("AnimationStart",t);let n;if(Array.isArray(t)){const o=t.map(i=>$s(e,i,r));n=Promise.all(o)}else if(typeof t=="string")n=$s(e,t,r);else{const o=typeof t=="function"?tr(e,t,r.custom):t;n=Promise.all(cg(e,o,r))}return n.then(()=>{e.notify("AnimationComplete",t)})}const IA={test:e=>e==="auto",parse:e=>e},dg=e=>t=>t.test(e),ug=[$r,V,ct,_t,rE,tE,IA],md=e=>ug.find(dg(e));function zA(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||km(e):!0}const NA=new Set(["brightness","contrast","saturate","opacity"]);function OA(e){const[t,r]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[n]=r.match(tl)||[];if(!n)return e;const o=r.replace(n,"");let i=NA.has(t)?1:0;return n!==r&&(i*=100),t+"("+i+o+")"}const _A=/\b([a-z-]*)\(.*?\)/gu,Bs={...Ze,getAnimatableNone:e=>{const t=e.match(_A);return t?t.map(OA).join(" "):e}},js={...Ze,getAnimatableNone:e=>{const t=Ze.parse(e);return Ze.createTransformer(e)(t.map(n=>typeof n=="number"?0:typeof n=="object"?{...n,alpha:1}:n))}},gd={...$r,transform:Math.round},VA={rotate:_t,rotateX:_t,rotateY:_t,rotateZ:_t,scale:Gn,scaleX:Gn,scaleY:Gn,scaleZ:Gn,skew:_t,skewX:_t,skewY:_t,distance:V,translateX:V,translateY:V,translateZ:V,x:V,y:V,z:V,perspective:V,transformPerspective:V,opacity:vn,originX:rd,originY:rd,originZ:V},ul={borderWidth:V,borderTopWidth:V,borderRightWidth:V,borderBottomWidth:V,borderLeftWidth:V,borderRadius:V,borderTopLeftRadius:V,borderTopRightRadius:V,borderBottomRightRadius:V,borderBottomLeftRadius:V,width:V,maxWidth:V,height:V,maxHeight:V,top:V,right:V,bottom:V,left:V,inset:V,insetBlock:V,insetBlockStart:V,insetBlockEnd:V,insetInline:V,insetInlineStart:V,insetInlineEnd:V,padding:V,paddingTop:V,paddingRight:V,paddingBottom:V,paddingLeft:V,paddingBlock:V,paddingBlockStart:V,paddingBlockEnd:V,paddingInline:V,paddingInlineStart:V,paddingInlineEnd:V,margin:V,marginTop:V,marginRight:V,marginBottom:V,marginLeft:V,marginBlock:V,marginBlockStart:V,marginBlockEnd:V,marginInline:V,marginInlineStart:V,marginInlineEnd:V,fontSize:V,backgroundPositionX:V,backgroundPositionY:V,...VA,zIndex:gd,fillOpacity:vn,strokeOpacity:vn,numOctaves:gd},DA={...ul,color:ce,backgroundColor:ce,outlineColor:ce,fill:ce,stroke:ce,borderColor:ce,borderTopColor:ce,borderRightColor:ce,borderBottomColor:ce,borderLeftColor:ce,filter:Bs,WebkitFilter:Bs,mask:js,WebkitMask:js},fg=e=>DA[e],MA=new Set([Bs,js]);function pg(e,t){let r=fg(e);return MA.has(r)||(r=Ze),r.getAnimatableNone?r.getAnimatableNone(t):void 0}const LA=new Set(["auto","none","0"]);function FA(e,t,r){let n=0,o;for(;n<e.length&&!o;){const i=e[n];typeof i=="string"&&!LA.has(i)&&Ir(i).values.length&&(o=e[n]),n++}if(o&&r)for(const i of t)e[i]=pg(r,o)}class WA extends sl{constructor(t,r,n,o,i){super(t,r,n,o,i,!0)}readKeyframes(){const{unresolvedKeyframes:t,element:r,name:n}=this;if(!r||!r.current)return;super.readKeyframes();for(let d=0;d<t.length;d++){let u=t[d];if(typeof u=="string"&&(u=u.trim(),el(u))){const f=og(u,r.current);f!==void 0&&(t[d]=f),d===t.length-1&&(this.finalKeyframe=u)}}if(this.resolveNoneKeyframes(),!sg.has(n)||t.length!==2)return;const[o,i]=t,s=md(o),a=md(i),l=td(o),c=td(i);if(l!==c&&Vt[n]){this.needsMeasurement=!0;return}if(s!==a)if(dd(s)&&dd(a))for(let d=0;d<t.length;d++){const u=t[d];typeof u=="string"&&(t[d]=parseFloat(u))}else Vt[n]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:r}=this,n=[];for(let o=0;o<t.length;o++)(t[o]===null||zA(t[o]))&&n.push(o);n.length&&FA(t,n,r)}measureInitialState(){const{element:t,unresolvedKeyframes:r,name:n}=this;if(!t||!t.current)return;n==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=Vt[n](t.measureViewportBox(),window.getComputedStyle(t.current)),r[0]=this.measuredOrigin;const o=r[r.length-1];o!==void 0&&t.getValue(n,o).jump(o,!1)}measureEndState(){const{element:t,name:r,unresolvedKeyframes:n}=this;if(!t||!t.current)return;const o=t.getValue(r);o&&o.jump(this.measuredOrigin,!1);const i=n.length-1,s=n[i];n[i]=Vt[r](t.measureViewportBox(),window.getComputedStyle(t.current)),s!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=s),this.removedTransforms?.length&&this.removedTransforms.forEach(([a,l])=>{t.getValue(a).set(l)}),this.resolveNoneKeyframes()}}function hg(e,t,r){if(e==null)return[];if(e instanceof EventTarget)return[e];if(typeof e=="string"){let n=document;const o=r?.[e]??n.querySelectorAll(e);return o?Array.from(o):[]}return Array.from(e).filter(n=>n!=null)}const mg=(e,t)=>t&&typeof e=="number"?t.transform(e):e;function ro(e){return wm(e)&&"offsetHeight"in e&&!("ownerSVGElement"in e)}const{schedule:fl}=Vm(queueMicrotask,!1),Xe={x:!1,y:!1};function gg(){return Xe.x||Xe.y}function $A(e){return e==="x"||e==="y"?Xe[e]?null:(Xe[e]=!0,()=>{Xe[e]=!1}):Xe.x||Xe.y?null:(Xe.x=Xe.y=!0,()=>{Xe.x=Xe.y=!1})}function bg(e,t){const r=hg(e),n=new AbortController,o={passive:!0,...t,signal:n.signal};return[r,o,()=>n.abort()]}function BA(e){return!(e.pointerType==="touch"||gg())}function jA(e,t,r={}){const[n,o,i]=bg(e,r);return n.forEach(s=>{let a=!1,l=!1,c;const d=()=>{s.removeEventListener("pointerleave",h)},u=b=>{c&&(c(b),c=void 0),d()},f=b=>{a=!1,window.removeEventListener("pointerup",f),window.removeEventListener("pointercancel",f),l&&(l=!1,u(b))},p=()=>{a=!0,window.addEventListener("pointerup",f,o),window.addEventListener("pointercancel",f,o)},h=b=>{if(b.pointerType!=="touch"){if(a){l=!0;return}u(b)}},m=b=>{if(!BA(b))return;l=!1;const v=t(s,b);typeof v=="function"&&(c=v,s.addEventListener("pointerleave",h,o))};s.addEventListener("pointerenter",m,o),s.addEventListener("pointerdown",p,o)}),i}const vg=(e,t)=>t?e===t?!0:vg(e,t.parentElement):!1,pl=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1,HA=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function GA(e){return HA.has(e.tagName)||e.isContentEditable===!0}const UA=new Set(["INPUT","SELECT","TEXTAREA"]);function qA(e){return UA.has(e.tagName)||e.isContentEditable===!0}const no=new WeakSet;function bd(e){return t=>{t.key==="Enter"&&e(t)}}function Hi(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}const KA=(e,t)=>{const r=e.currentTarget;if(!r)return;const n=bd(()=>{if(no.has(r))return;Hi(r,"down");const o=bd(()=>{Hi(r,"up")}),i=()=>Hi(r,"cancel");r.addEventListener("keyup",o,t),r.addEventListener("blur",i,t)});r.addEventListener("keydown",n,t),r.addEventListener("blur",()=>r.removeEventListener("keydown",n),t)};function vd(e){return pl(e)&&!gg()}const yd=new WeakSet;function XA(e,t,r={}){const[n,o,i]=bg(e,r),s=a=>{const l=a.currentTarget;if(!vd(a)||yd.has(a))return;no.add(l),r.stopPropagation&&yd.add(a);const c=t(l,a),d=(p,h)=>{window.removeEventListener("pointerup",u),window.removeEventListener("pointercancel",f),no.has(l)&&no.delete(l),vd(p)&&typeof c=="function"&&c(p,{success:h})},u=p=>{d(p,l===window||l===document||r.useGlobalTarget||vg(l,p.target))},f=p=>{d(p,!1)};window.addEventListener("pointerup",u,o),window.addEventListener("pointercancel",f,o)};return n.forEach(a=>{(r.useGlobalTarget?window:a).addEventListener("pointerdown",s,o),ro(a)&&(a.addEventListener("focus",c=>KA(c,o)),!GA(a)&&!a.hasAttribute("tabindex")&&(a.tabIndex=0))}),i}function hl(e){return wm(e)&&"ownerSVGElement"in e}const oo=new WeakMap;let io;const yg=(e,t,r)=>(n,o)=>o&&o[0]?o[0][e+"Size"]:hl(n)&&"getBBox"in n?n.getBBox()[t]:n[r],YA=yg("inline","width","offsetWidth"),ZA=yg("block","height","offsetHeight");function QA({target:e,borderBoxSize:t}){oo.get(e)?.forEach(r=>{r(e,{get width(){return YA(e,t)},get height(){return ZA(e,t)}})})}function JA(e){e.forEach(QA)}function eI(){typeof ResizeObserver>"u"||(io=new ResizeObserver(JA))}function tI(e,t){io||eI();const r=hg(e);return r.forEach(n=>{let o=oo.get(n);o||(o=new Set,oo.set(n,o)),o.add(t),io?.observe(n)}),()=>{r.forEach(n=>{const o=oo.get(n);o?.delete(t),o?.size||io?.unobserve(n)})}}const so=new Set;let Sr;function rI(){Sr=()=>{const e={get width(){return window.innerWidth},get height(){return window.innerHeight}};so.forEach(t=>t(e))},window.addEventListener("resize",Sr)}function nI(e){return so.add(e),Sr||rI(),()=>{so.delete(e),!so.size&&typeof Sr=="function"&&(window.removeEventListener("resize",Sr),Sr=void 0)}}function xd(e,t){return typeof e=="function"?nI(e):tI(e,t)}function oI(e){return hl(e)&&e.tagName==="svg"}const iI=[...ug,ce,Ze],sI=e=>iI.find(dg(e)),wd=()=>({translate:0,scale:1,origin:0,originPoint:0}),Cr=()=>({x:wd(),y:wd()}),kd=()=>({min:0,max:0}),fe=()=>({x:kd(),y:kd()}),aI=new WeakMap;function ui(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}function yn(e){return typeof e=="string"||Array.isArray(e)}const ml=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],gl=["initial",...ml];function fi(e){return ui(e.animate)||gl.some(t=>yn(e[t]))}function xg(e){return!!(fi(e)||e.variants)}function lI(e,t,r){for(const n in t){const o=t[n],i=r[n];if(Te(o))e.addValue(n,o);else if(Te(i))e.addValue(n,zr(o,{owner:e}));else if(i!==o)if(e.hasValue(n)){const s=e.getValue(n);s.liveStyle===!0?s.jump(o):s.hasAnimated||s.set(o)}else{const s=e.getStaticValue(n);e.addValue(n,zr(s!==void 0?s:o,{owner:e}))}}for(const n in r)t[n]===void 0&&e.removeValue(n);return t}const Io={current:null},bl={current:!1},cI=typeof window<"u";function wg(){if(bl.current=!0,!!cI)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>Io.current=e.matches;e.addEventListener("change",t),t()}else Io.current=!1}const Sd=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];let zo={};function kg(e){zo=e}function dI(){return zo}class uI{scrapeMotionValuesFromProps(t,r,n){return{}}constructor({parent:t,props:r,presenceContext:n,reducedMotionConfig:o,skipAnimations:i,blockInitialAnimation:s,visualState:a},l={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=sl,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const p=Ne.now();this.renderScheduledAt<p&&(this.renderScheduledAt=p,ee.render(this.render,!1,!0))};const{latestValues:c,renderState:d}=a;this.latestValues=c,this.baseTarget={...c},this.initialValues=r.initial?{...c}:{},this.renderState=d,this.parent=t,this.props=r,this.presenceContext=n,this.depth=t?t.depth+1:0,this.reducedMotionConfig=o,this.skipAnimationsConfig=i,this.options=l,this.blockInitialAnimation=!!s,this.isControllingVariants=fi(r),this.isVariantNode=xg(r),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:u,...f}=this.scrapeMotionValuesFromProps(r,{},this);for(const p in f){const h=f[p];c[p]!==void 0&&Te(h)&&h.set(c[p])}}mount(t){if(this.hasBeenMounted)for(const r in this.initialValues)this.values.get(r)?.jump(this.initialValues[r]),this.latestValues[r]=this.initialValues[r];this.current=t,aI.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((r,n)=>this.bindToMotionValue(n,r)),this.reducedMotionConfig==="never"?this.shouldReduceMotion=!1:this.reducedMotionConfig==="always"?this.shouldReduceMotion=!0:(bl.current||wg(),this.shouldReduceMotion=Io.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,this.parent?.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){this.projection&&this.projection.unmount(),Ft(this.notifyUpdate),Ft(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this);for(const t in this.events)this.events[t].clear();for(const t in this.features){const r=this.features[t];r&&(r.unmount(),r.isMounted=!1)}this.current=null}addChild(t){this.children.add(t),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(t)}removeChild(t){this.children.delete(t),this.enteringChildren&&this.enteringChildren.delete(t)}bindToMotionValue(t,r){if(this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)(),r.accelerate&&rg.has(t)&&this.current instanceof HTMLElement){const{factory:s,keyframes:a,times:l,ease:c,duration:d}=r.accelerate,u=new eg({element:this.current,name:t,keyframes:a,times:l,ease:c,duration:We(d)}),f=s(u);this.valueSubscriptions.set(t,()=>{f(),u.cancel()});return}const n=jr.has(t);n&&this.onBindTransform&&this.onBindTransform();const o=r.on("change",s=>{this.latestValues[t]=s,this.props.onUpdate&&ee.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let i;typeof window<"u"&&window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,t,r)),this.valueSubscriptions.set(t,()=>{o(),i&&i(),r.owner&&r.stop()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}updateFeatures(){let t="animation";for(t in zo){const r=zo[t];if(!r)continue;const{isEnabled:n,Feature:o}=r;if(!this.features[t]&&o&&n(this.props)&&(this.features[t]=new o(this)),this.features[t]){const i=this.features[t];i.isMounted?i.update():(i.mount(),i.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):fe()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,r){this.latestValues[t]=r}update(t,r){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=r;for(let n=0;n<Sd.length;n++){const o=Sd[n];this.propEventSubscriptions[o]&&(this.propEventSubscriptions[o](),delete this.propEventSubscriptions[o]);const i="on"+o,s=t[i];s&&(this.propEventSubscriptions[o]=this.on(o,s))}this.prevMotionValues=lI(this,this.scrapeMotionValuesFromProps(t,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(t){const r=this.getClosestVariantNode();if(r)return r.variantChildren&&r.variantChildren.add(t),()=>r.variantChildren.delete(t)}addValue(t,r){const n=this.values.get(t);r!==n&&(n&&this.removeValue(t),this.bindToMotionValue(t,r),this.values.set(t,r),this.latestValues[t]=r.get())}removeValue(t){this.values.delete(t);const r=this.valueSubscriptions.get(t);r&&(r(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,r){if(this.props.values&&this.props.values[t])return this.props.values[t];let n=this.values.get(t);return n===void 0&&r!==void 0&&(n=zr(r===null?void 0:r,{owner:this}),this.addValue(t,n)),n}readValue(t,r){let n=this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:this.getBaseTargetFromProps(this.props,t)??this.readValueFromInstance(this.current,t,this.options);return n!=null&&(typeof n=="string"&&(xm(n)||km(n))?n=parseFloat(n):!sI(n)&&Ze.test(r)&&(n=pg(t,r)),this.setBaseTarget(t,Te(n)?n.get():n)),Te(n)?n.get():n}setBaseTarget(t,r){this.baseTarget[t]=r}getBaseTarget(t){const{initial:r}=this.props;let n;if(typeof r=="string"||typeof r=="object"){const i=cl(this.props,r,this.presenceContext?.custom);i&&(n=i[t])}if(r&&n!==void 0)return n;const o=this.getBaseTargetFromProps(this.props,t);return o!==void 0&&!Te(o)?o:this.initialValues[t]!==void 0&&n===void 0?void 0:this.baseTarget[t]}on(t,r){return this.events[t]||(this.events[t]=new Za),this.events[t].add(r)}notify(t,...r){this.events[t]&&this.events[t].notify(...r)}scheduleRenderMicrotask(){fl.render(this.render)}}class Sg extends uI{constructor(){super(...arguments),this.KeyframeResolver=WA}sortInstanceNodePosition(t,r){return t.compareDocumentPosition(r)&2?1:-1}getBaseTargetFromProps(t,r){const n=t.style;return n?n[r]:void 0}removeValueFromRenderState(t,{vars:r,style:n}){delete r[t],delete n[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;Te(t)&&(this.childSubscription=t.on("change",r=>{this.current&&(this.current.textContent=`${r}`)}))}}class Bt{constructor(t){this.isMounted=!1,this.node=t}update(){}}function Cg({top:e,left:t,right:r,bottom:n}){return{x:{min:t,max:r},y:{min:e,max:n}}}function fI({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function pI(e,t){if(!t)return e;const r=t({x:e.left,y:e.top}),n=t({x:e.right,y:e.bottom});return{top:r.y,left:r.x,bottom:n.y,right:n.x}}function Gi(e){return e===void 0||e===1}function Hs({scale:e,scaleX:t,scaleY:r}){return!Gi(e)||!Gi(t)||!Gi(r)}function qt(e){return Hs(e)||Pg(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function Pg(e){return Cd(e.x)||Cd(e.y)}function Cd(e){return e&&e!=="0%"}function No(e,t,r){const n=e-r,o=t*n;return r+o}function Pd(e,t,r,n,o){return o!==void 0&&(e=No(e,o,n)),No(e,r,n)+t}function Gs(e,t=0,r=1,n,o){e.min=Pd(e.min,t,r,n,o),e.max=Pd(e.max,t,r,n,o)}function Tg(e,{x:t,y:r}){Gs(e.x,t.translate,t.scale,t.originPoint),Gs(e.y,r.translate,r.scale,r.originPoint)}const Td=.999999999999,Rd=1.0000000000001;function hI(e,t,r,n=!1){const o=r.length;if(!o)return;t.x=t.y=1;let i,s;for(let a=0;a<o;a++){i=r[a],s=i.projectionDelta;const{visualElement:l}=i.options;l&&l.props.style&&l.props.style.display==="contents"||(n&&i.options.layoutScroll&&i.scroll&&i!==i.root&&(it(e.x,-i.scroll.offset.x),it(e.y,-i.scroll.offset.y)),s&&(t.x*=s.x.scale,t.y*=s.y.scale,Tg(e,s)),n&&qt(i.latestValues)&&ao(e,i.latestValues,i.layout?.layoutBox))}t.x<Rd&&t.x>Td&&(t.x=1),t.y<Rd&&t.y>Td&&(t.y=1)}function it(e,t){e.min+=t,e.max+=t}function Ed(e,t,r,n,o=.5){const i=ne(e.min,e.max,o);Gs(e,t,r,i,n)}function Ad(e,t){return typeof e=="string"?parseFloat(e)/100*(t.max-t.min):e}function ao(e,t,r){const n=r??e;Ed(e.x,Ad(t.x,n.x),t.scaleX,t.scale,t.originX),Ed(e.y,Ad(t.y,n.y),t.scaleY,t.scale,t.originY)}function Rg(e,t){return Cg(pI(e.getBoundingClientRect(),t))}function mI(e,t,r){const n=Rg(e,r),{scroll:o}=t;return o&&(it(n.x,o.offset.x),it(n.y,o.offset.y)),n}const gI={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},bI=Br.length;function vI(e,t,r){let n="",o=!0;for(let i=0;i<bI;i++){const s=Br[i],a=e[s];if(a===void 0)continue;let l=!0;if(typeof a=="number")l=a===(s.startsWith("scale")?1:0);else{const c=parseFloat(a);l=s.startsWith("scale")?c===1:c===0}if(!l||r){const c=mg(a,ul[s]);if(!l){o=!1;const d=gI[s]||s;n+=`${d}(${c}) `}r&&(t[s]=c)}}return n=n.trim(),r?n=r(t,o?"":n):o&&(n="none"),n}function vl(e,t,r){const{style:n,vars:o,transformOrigin:i}=e;let s=!1,a=!1;for(const l in t){const c=t[l];if(jr.has(l)){s=!0;continue}else if(Mm(l)){o[l]=c;continue}else{const d=mg(c,ul[l]);l.startsWith("origin")?(a=!0,i[l]=d):n[l]=d}}if(t.transform||(s||r?n.transform=vI(t,e.transform,r):n.transform&&(n.transform="none")),a){const{originX:l="50%",originY:c="50%",originZ:d=0}=i;n.transformOrigin=`${l} ${c} ${d}`}}function Eg(e,{style:t,vars:r},n,o){const i=e.style;let s;for(s in t)i[s]=t[s];o?.applyProjectionStyles(i,n);for(s in r)i.setProperty(s,r[s])}function Id(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const Zr={correct:(e,t)=>
vendor: 3,439 bytes, line 3
3{if(!t.target)return e;if(typeof e=="string")if(V.test(e))e=parseFloat(e);else return e;const r=Id(e,t.target.x),n=Id(e,t.target.y);return`${r}% ${n}%`}},yI={correct:(e,{treeScale:t,projectionDelta:r})=>{const n=e,o=Ze.parse(e);if(o.length>5)return n;const i=Ze.createTransformer(e),s=typeof o[0]!="number"?1:0,a=r.x.scale*t.x,l=r.y.scale*t.y;o[0+s]/=a,o[1+s]/=l;const c=ne(a,l,.5);return typeof o[2+s]=="number"&&(o[2+s]/=c),typeof o[3+s]=="number"&&(o[3+s]/=c),i(o)}},Us={borderRadius:{...Zr,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Zr,borderTopRightRadius:Zr,borderBottomLeftRadius:Zr,borderBottomRightRadius:Zr,boxShadow:yI};function Ag(e,{layout:t,layoutId:r}){return jr.has(e)||e.startsWith("origin")||(t||r!==void 0)&&(!!Us[e]||e==="opacity")}function yl(e,t,r){const n=e.style,o=t?.style,i={};if(!n)return i;for(const s in n)(Te(n[s])||o&&Te(o[s])||Ag(s,e)||r?.getValue(s)?.liveStyle!==void 0)&&(i[s]=n[s]);return i}function xI(e){return window.getComputedStyle(e)}class wI extends Sg{constructor(){super(...arguments),this.type="html",this.renderInstance=Eg}readValueFromInstance(t,r){if(jr.has(r))return this.projection?.isProjecting?Os(r):BE(t,r);{const n=xI(t),o=(Mm(r)?n.getPropertyValue(r):n[r])||0;return typeof o=="string"?o.trim():o}}measureInstanceViewportBox(t,{transformPagePoint:r}){return Rg(t,r)}build(t,r,n){vl(t,r,n.transformTemplate)}scrapeMotionValuesFromProps(t,r,n){return yl(t,r,n)}}const kI={offset:"stroke-dashoffset",array:"stroke-dasharray"},SI={offset:"strokeDashoffset",array:"strokeDasharray"};function CI(e,t,r=1,n=0,o=!0){e.pathLength=1;const i=o?kI:SI;e[i.offset]=`${-n}`,e[i.array]=`${t} ${r}`}const PI=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function Ig(e,{attrX:t,attrY:r,attrScale:n,pathLength:o,pathSpacing:i=1,pathOffset:s=0,...a},l,c,d){if(vl(e,a,c),l){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:u,style:f}=e;u.transform&&(f.transform=u.transform,delete u.transform),(f.transform||u.transformOrigin)&&(f.transformOrigin=u.transformOrigin??"50% 50%",delete u.transformOrigin),f.transform&&(f.transformBox=d?.transformBox??"fill-box",delete u.transformBox);for(const p of PI)u[p]!==void 0&&(f[p]=u[p],delete u[p]);t!==void 0&&(u.x=t),r!==void 0&&(u.y=r),n!==void 0&&(u.scale=n),o!==void 0&&CI(u,o,i,s,!1)}const zg=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]),Ng=e=>typeof e=="string"&&e.toLowerCase()==="svg";function TI(e,t,r,n){Eg(e,t,void 0,n);for(const o in t.attrs)e.setAttribute(zg.has(o)?o:dl(o),t.attrs[o])}function Og(e,t,r){const n=yl(e,t,r);for(const o in e)if(Te(e[o])||Te(t[o])){const i=Br.indexOf(o)!==-1?"attr"+o.charAt(0).toUpperCase()+o.substring(1):o;n[i]=e[o]}return n}class RI extends Sg{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=fe}getBaseTargetFromProps(t,r){return t[r]}readValueFromInstance(t,r){if(jr.has(r)){const n=fg(r);return n&&n.default||0}return r=zg.has(r)?r:dl(r),t.getAttribute(r)}scrapeMotionValuesFromProps(t,r,n){return Og(t,r,n)}
vendor: 30,433 bytes, line 3
3build(t,r,n){Ig(t,r,this.isSVGTag,n.transformTemplate,n.style)}renderInstance(t,r,n,o){TI(t,r,n,o)}mount(t){this.isSVGTag=Ng(t.tagName),super.mount(t)}}const EI=gl.length;function _g(e){if(!e)return;if(!e.isControllingVariants){const r=e.parent?_g(e.parent)||{}:{};return e.props.initial!==void 0&&(r.initial=e.props.initial),r}const t={};for(let r=0;r<EI;r++){const n=gl[r],o=e.props[n];(yn(o)||o===!1)&&(t[n]=o)}return t}function Vg(e,t){if(!Array.isArray(t))return!1;const r=t.length;if(r!==e.length)return!1;for(let n=0;n<r;n++)if(t[n]!==e[n])return!1;return!0}const AI=[...ml].reverse(),II=ml.length;function zI(e){return t=>Promise.all(t.map(({animation:r,options:n})=>AA(e,r,n)))}function NI(e){let t=zI(e),r=zd(),n=!0,o=!1;const i=c=>(d,u)=>{const f=tr(e,u,c==="exit"?e.presenceContext?.custom:void 0);if(f){const{transition:p,transitionEnd:h,...m}=f;d={...d,...m,...h}}return d};function s(c){t=c(e)}function a(c){const{props:d}=e,u=_g(e.parent)||{},f=[],p=new Set;let h={},m=1/0;for(let v=0;v<II;v++){const x=AI[v],y=r[x],k=d[x]!==void 0?d[x]:u[x],w=yn(k),C=x===c?y.isActive:null;C===!1&&(m=v);let E=k===u[x]&&k!==d[x]&&w;if(E&&(n||o)&&e.manuallyAnimateOnMount&&(E=!1),y.protectedKeys={...h},!y.isActive&&C===null||!k&&!y.prevProp||ui(k)||typeof k=="boolean")continue;if(x==="exit"&&y.isActive&&C!==!0){y.prevResolvedValues&&(h={...h,...y.prevResolvedValues});continue}const P=OI(y.prevProp,k);let R=P||x===c&&y.isActive&&!E&&w||v>m&&w,T=!1;const A=Array.isArray(k)?k:[k];let I=A.reduce(i(x),{});C===!1&&(I={});const{prevResolvedValues:_={}}=y,L={..._,...I},O=H=>{R=!0,p.has(H)&&(T=!0,p.delete(H)),y.needsAnimating[H]=!0;const D=e.getValue(H);D&&(D.liveStyle=!1)};for(const H in L){const D=I[H],U=_[H];if(h.hasOwnProperty(H))continue;let ae=!1;Fs(D)&&Fs(U)?ae=!Vg(D,U):ae=D!==U,ae?D!=null?O(H):p.add(H):D!==void 0&&p.has(H)?O(H):y.protectedKeys[H]=!0}y.prevProp=k,y.prevResolvedValues=I,y.isActive&&(h={...h,...I}),(n||o)&&e.blockInitialAnimation&&(R=!1);const B=E&&P;R&&(!B||T)&&f.push(...A.map(H=>{const D={type:x};if(typeof H=="string"&&(n||o)&&!B&&e.manuallyAnimateOnMount&&e.parent){const{parent:U}=e,ae=tr(U,H);if(U.enteringChildren&&ae){const{delayChildren:Ie}=ae.transition||{};D.delay=ng(U.enteringChildren,e,Ie)}}return{animation:H,options:D}}))}if(p.size){const v={};if(typeof d.initial!="boolean"){const x=tr(e,Array.isArray(d.initial)?d.initial[0]:d.initial);x&&x.transition&&(v.transition=x.transition)}p.forEach(x=>{const y=e.getBaseTarget(x),k=e.getValue(x);k&&(k.liveStyle=!0),v[x]=y??null}),f.push({animation:v})}let b=!!f.length;return n&&(d.initial===!1||d.initial===d.animate)&&!e.manuallyAnimateOnMount&&(b=!1),n=!1,o=!1,b?t(f):Promise.resolve()}function l(c,d){if(r[c].isActive===d)return Promise.resolve();e.variantChildren?.forEach(f=>f.animationState?.setActive(c,d)),r[c].isActive=d;const u=a(c);for(const f in r)r[f].protectedKeys={};return u}return{animateChanges:a,setActive:l,setAnimateFunction:s,getState:()=>r,reset:()=>{r=zd(),o=!0}}}function OI(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!Vg(t,e):!1}function Ut(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function zd(){return{animate:Ut(!0),whileInView:Ut(),whileHover:Ut(),whileTap:Ut(),whileDrag:Ut(),whileFocus:Ut(),exit:Ut()}}function qs(e,t){e.min=t.min,e.max=t.max}function Ke(e,t){qs(e.x,t.x),qs(e.y,t.y)}function Nd(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}const Dg=1e-4,_I=1-Dg,VI=1+Dg,Mg=.01,DI=0-Mg,MI=0+Mg;function Oe(e){return e.max-e.min}function LI(e,t,r){return Math.abs(e-t)<=r}function Od(e,t,r,n=.5){e.origin=n,e.originPoint=ne(t.min,t.max,e.origin),e.scale=Oe(r)/Oe(t),e.translate=ne(r.min,r.max,e.origin)-e.originPoint,(e.scale>=_I&&e.scale<=VI||isNaN(e.scale))&&(e.scale=1),(e.translate>=DI&&e.translate<=MI||isNaN(e.translate))&&(e.translate=0)}function ln(e,t,r,n){Od(e.x,t.x,r.x,n?n.originX:void 0),Od(e.y,t.y,r.y,n?n.originY:void 0)}function _d(e,t,r,n=0){const o=n?ne(r.min,r.max,n):r.min;e.min=o+t.min,e.max=e.min+Oe(t)}function FI(e,t,r,n){_d(e.x,t.x,r.x,n?.x),_d(e.y,t.y,r.y,n?.y)}function Vd(e,t,r,n=0){const o=n?ne(r.min,r.max,n):r.min;e.min=t.min-o,e.max=e.min+Oe(t)}function Oo(e,t,r,n){Vd(e.x,t.x,r.x,n?.x),Vd(e.y,t.y,r.y,n?.y)}function Dd(e,t,r,n,o){return e-=t,e=No(e,1/r,n),o!==void 0&&(e=No(e,1/o,n)),e}function WI(e,t=0,r=1,n=.5,o,i=e,s=e){if(ct.test(t)&&(t=parseFloat(t),t=ne(s.min,s.max,t/100)-s.min),typeof t!="number")return;let a=ne(i.min,i.max,n);e===i&&(a-=t),e.min=Dd(e.min,t,r,a,o),e.max=Dd(e.max,t,r,a,o)}function Md(e,t,[r,n,o],i,s){WI(e,t[r],t[n],t[o],t.scale,i,s)}const $I=["x","scaleX","originX"],BI=["y","scaleY","originY"];function Ld(e,t,r,n){Md(e.x,t,$I,r?r.x:void 0,n?n.x:void 0),Md(e.y,t,BI,r?r.y:void 0,n?n.y:void 0)}function Fd(e){return e.translate===0&&e.scale===1}function Lg(e){return Fd(e.x)&&Fd(e.y)}function Wd(e,t){return e.min===t.min&&e.max===t.max}function jI(e,t){return Wd(e.x,t.x)&&Wd(e.y,t.y)}function $d(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function Fg(e,t){return $d(e.x,t.x)&&$d(e.y,t.y)}function Bd(e){return Oe(e.x)/Oe(e.y)}function jd(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}function rt(e){return[e("x"),e("y")]}function HI(e,t,r){let n="";const o=e.x.translate/t.x,i=e.y.translate/t.y,s=r?.z||0;if((o||i||s)&&(n=`translate3d(${o}px, ${i}px, ${s}px) `),(t.x!==1||t.y!==1)&&(n+=`scale(${1/t.x}, ${1/t.y}) `),r){const{transformPerspective:c,rotate:d,rotateX:u,rotateY:f,skewX:p,skewY:h}=r;c&&(n=`perspective(${c}px) ${n}`),d&&(n+=`rotate(${d}deg) `),u&&(n+=`rotateX(${u}deg) `),f&&(n+=`rotateY(${f}deg) `),p&&(n+=`skewX(${p}deg) `),h&&(n+=`skewY(${h}deg) `)}const a=e.x.scale*t.x,l=e.y.scale*t.y;return(a!==1||l!==1)&&(n+=`scale(${a}, ${l})`),n||"none"}const Wg=["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"],GI=Wg.length,Hd=e=>typeof e=="string"?parseFloat(e):e,Gd=e=>typeof e=="number"||V.test(e);function UI(e,t,r,n,o,i){o?(e.opacity=ne(0,r.opacity??1,qI(n)),e.opacityExit=ne(t.opacity??1,0,KI(n))):i&&(e.opacity=ne(t.opacity??1,r.opacity??1,n));for(let s=0;s<GI;s++){const a=Wg[s];let l=Ud(t,a),c=Ud(r,a);if(l===void 0&&c===void 0)continue;l||(l=0),c||(c=0),l===0||c===0||Gd(l)===Gd(c)?(e[a]=Math.max(ne(Hd(l),Hd(c),n),0),(ct.test(c)||ct.test(l))&&(e[a]+="%")):e[a]=c}(t.rotate||r.rotate)&&(e.rotate=ne(t.rotate||0,r.rotate||0,n))}function Ud(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const qI=$g(0,.5,zm),KI=$g(.5,.95,Ue);function $g(e,t,r){return n=>n<e?0:n>t?1:r(bn(e,t,n))}function XI(e,t,r){const n=Te(e)?e:zr(e);return n.start(ll("",n,t,r)),n.animation}function xn(e,t,r,n={passive:!0}){return e.addEventListener(t,r,n),()=>e.removeEventListener(t,r)}const YI=(e,t)=>e.depth-t.depth;class ZI{constructor(){this.children=[],this.isDirty=!1}add(t){Xa(this.children,t),this.isDirty=!0}remove(t){Po(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(YI),this.isDirty=!1,this.children.forEach(t)}}function QI(e,t){const r=Ne.now(),n=({timestamp:o})=>{const i=o-r;i>=t&&(Ft(n),e(i-t))};return ee.setup(n,!0),()=>Ft(n)}function lo(e){return Te(e)?e.get():e}class JI{constructor(){this.members=[]}add(t){Xa(this.members,t);for(let r=this.members.length-1;r>=0;r--){const n=this.members[r];if(n===t||n===this.lead||n===this.prevLead)continue;const o=n.instance;(!o||o.isConnected===!1)&&!n.snapshot&&(Po(this.members,n),n.unmount())}t.scheduleRender()}remove(t){if(Po(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const r=this.members[this.members.length-1];r&&this.promote(r)}}relegate(t){for(let r=this.members.indexOf(t)-1;r>=0;r--){const n=this.members[r];if(n.isPresent!==!1&&n.instance?.isConnected!==!1)return this.promote(n),!0}return!1}promote(t,r){const n=this.lead;if(t!==n&&(this.prevLead=n,this.lead=t,t.show(),n)){n.updateSnapshot(),t.scheduleRender();const{layoutDependency:o}=n.options,{layoutDependency:i}=t.options;(o===void 0||o!==i)&&(t.resumeFrom=n,r&&(n.preserveOpacity=!0),n.snapshot&&(t.snapshot=n.snapshot,t.snapshot.latestValues=n.animationValues||n.latestValues),t.root?.isUpdating&&(t.isLayoutDirty=!0)),t.options.crossfade===!1&&n.hide()}}exitAnimationComplete(){this.members.forEach(t=>{t.options.onExitComplete?.(),t.resumingFrom?.options.onExitComplete?.()})}scheduleRender(){this.members.forEach(t=>t.instance&&t.scheduleRender(!1))}removeLeadSnapshot(){this.lead?.snapshot&&(this.lead.snapshot=void 0)}}const co={hasAnimatedSinceResize:!0,hasEverUpdated:!1},Ui=["","X","Y","Z"],ez=1e3;let tz=0;function qi(e,t,r,n){const{latestValues:o}=t;o[e]&&(r[e]=o[e],t.setStaticValue(e,0),n&&(n[e]=0))}function Bg(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const r=lg(t);if(window.MotionHasOptimisedAnimation(r,"transform")){const{layout:o,layoutId:i}=e.options;window.MotionCancelOptimisedAnimation(r,"transform",ee,!(o||i))}const{parent:n}=e;n&&!n.hasCheckedOptimisedAppear&&Bg(n)}function jg({attachResizeListener:e,defaultParent:t,measureScroll:r,checkIsScrollRoot:n,resetTransform:o}){return class{constructor(s={},a=t?.()){this.id=tz++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,this.nodes.forEach(oz),this.nodes.forEach(dz),this.nodes.forEach(uz),this.nodes.forEach(iz)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=s,this.root=a?a.root||a:this,this.path=a?[...a.path,a]:[],this.parent=a,this.depth=a?a.depth+1:0;for(let l=0;l<this.path.length;l++)this.path[l].shouldResetTransform=!0;this.root===this&&(this.nodes=new ZI)}addEventListener(s,a){return this.eventHandlers.has(s)||this.eventHandlers.set(s,new Za),this.eventHandlers.get(s).add(a)}notifyListeners(s,...a){const l=this.eventHandlers.get(s);l&&l.notify(...a)}hasListeners(s){return this.eventHandlers.has(s)}mount(s){if(this.instance)return;this.isSVG=hl(s)&&!oI(s),this.instance=s;const{layoutId:a,layout:l,visualElement:c}=this.options;if(c&&!c.current&&c.mount(s),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(l||a)&&(this.isLayoutDirty=!0),e){let d,u=0;const f=()=>this.root.updateBlockedByResize=!1;ee.read(()=>{u=window.innerWidth}),e(s,()=>{const p=window.innerWidth;p!==u&&(u=p,this.root.updateBlockedByResize=!0,d&&d(),d=QI(f,250),co.hasAnimatedSinceResize&&(co.hasAnimatedSinceResize=!1,this.nodes.forEach(Xd)))})}a&&this.root.registerSharedNode(a,this),this.options.animate!==!1&&c&&(a||l)&&this.addEventListener("didUpdate",({delta:d,hasLayoutChanged:u,hasRelativeLayoutChanged:f,layout:p})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const h=this.options.transition||c.getDefaultTransition()||gz,{onLayoutAnimationStart:m,onLayoutAnimationComplete:b}=c.getProps(),v=!this.targetLayout||!Fg(this.targetLayout,p),x=!u&&f;if(this.options.layoutRoot||this.resumeFrom||x||u&&(v||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const y={...al(h,"layout"),onPlay:m,onComplete:b};(c.shouldReduceMotion||this.options.layoutRoot)&&(y.delay=0,y.type=!1),this.startAnimation(y),this.setAnimationOrigin(d,x)}else u||Xd(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=p})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const s=this.getStack();s&&s.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),Ft(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(fz),this.animationId++)}getTransformTemplate(){const{visualElement:s}=this.options;return s&&s.getProps().transformTemplate}willUpdate(s=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&Bg(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let d=0;d<this.path.length;d++){const u=this.path[d];u.shouldResetTransform=!0,(typeof u.latestValues.x=="string"||typeof u.latestValues.y=="string")&&(u.isLayoutDirty=!0),u.updateScroll("snapshot"),u.options.layoutRoot&&u.willUpdate(!1)}const{layoutId:a,layout:l}=this.options;if(a===void 0&&!l)return;const c=this.getTransformTemplate();this.prevTransformTemplateValue=c?c(this.latestValues,""):void 0,this.updateSnapshot(),s&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){const l=this.updateBlockedByResize;this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),l&&this.nodes.forEach(az),this.nodes.forEach(qd);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(Kd);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(lz),this.nodes.forEach(cz),this.nodes.forEach(rz),this.nodes.forEach(nz)):this.nodes.forEach(Kd),this.clearAllSnapshots();const a=Ne.now();we.delta=ut(0,1e3/60,a-we.timestamp),we.timestamp=a,we.isProcessing=!0,Li.update.process(we),Li.preRender.process(we),Li.render.process(we),we.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,fl.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(sz),this.sharedNodes.forEach(pz)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,ee.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){ee.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!Oe(this.snapshot.measuredBox.x)&&!Oe(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let l=0;l<this.path.length;l++)this.path[l].updateScroll();const s=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected||(this.layoutCorrected=fe()),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:a}=this.options;a&&a.notify("LayoutMeasure",this.layout.layoutBox,s?s.layoutBox:void 0)}updateScroll(s="measure"){let a=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===s&&(a=!1),a&&this.instance){const l=n(this.instance);this.scroll={animationId:this.root.animationId,phase:s,isRoot:l,offset:r(this.instance),wasRoot:this.scroll?this.scroll.isRoot:l}}}resetTransform(){if(!o)return;const s=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,a=this.projectionDelta&&!Lg(this.projectionDelta),l=this.getTransformTemplate(),c=l?l(this.latestValues,""):void 0,d=c!==this.prevTransformTemplateValue;s&&this.instance&&(a||qt(this.latestValues)||d)&&(o(this.instance,c),this.shouldResetTransform=!1,this.scheduleRender())}measure(s=!0){const a=this.measurePageBox();let l=this.removeElementScroll(a);return s&&(l=this.removeTransform(l)),bz(l),{animationId:this.root.animationId,measuredBox:a,layoutBox:l,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:s}=this.options;if(!s)return fe();const a=s.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(vz))){const{scroll:c}=this.root;c&&(it(a.x,c.offset.x),it(a.y,c.offset.y))}return a}removeElementScroll(s){const a=fe();if(Ke(a,s),this.scroll?.wasRoot)return a;for(let l=0;l<this.path.length;l++){const c=this.path[l],{scroll:d,options:u}=c;c!==this.root&&d&&u.layoutScroll&&(d.wasRoot&&Ke(a,s),it(a.x,d.offset.x),it(a.y,d.offset.y))}return a}applyTransform(s,a=!1,l){const c=l||fe();Ke(c,s);for(let d=0;d<this.path.length;d++){const u=this.path[d];!a&&u.options.layoutScroll&&u.scroll&&u!==u.root&&(it(c.x,-u.scroll.offset.x),it(c.y,-u.scroll.offset.y)),qt(u.latestValues)&&ao(c,u.latestValues,u.layout?.layoutBox)}return qt(this.latestValues)&&ao(c,this.latestValues,this.layout?.layoutBox),c}removeTransform(s){const a=fe();Ke(a,s);for(let l=0;l<this.path.length;l++){const c=this.path[l];if(!qt(c.latestValues))continue;let d;c.instance&&(Hs(c.latestValues)&&c.updateSnapshot(),d=fe(),Ke(d,c.measurePageBox())),Ld(a,c.latestValues,c.snapshot?.layoutBox,d)}return qt(this.latestValues)&&Ld(a,this.latestValues),a}setTargetDelta(s){this.targetDelta=s,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(s){this.options={...this.options,...s,crossfade:s.crossfade!==void 0?s.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==we.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(s=!1){const a=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=a.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=a.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=a.isSharedProjectionDirty);const l=!!this.resumingFrom||this!==a;if(!(s||l&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:d,layoutId:u}=this.options;if(!this.layout||!(d||u))return;this.resolvedRelativeTargetAt=we.timestamp;const f=this.getClosestProjectingParent();f&&this.linkedParentVersion!==f.layoutVersion&&!f.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(this.options.layoutAnchor!==!1&&f&&f.layout?this.createRelativeTarget(f,this.layout.layoutBox,f.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=fe(),this.targetWithTransforms=fe()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),FI(this.target,this.relativeTarget,this.relativeParent.target,this.options.layoutAnchor||void 0)):this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):Ke(this.target,this.layout.layoutBox),Tg(this.target,this.targetDelta)):Ke(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,this.options.layoutAnchor!==!1&&f&&!!f.resumingFrom==!!this.resumingFrom&&!f.options.layoutScroll&&f.target&&this.animationProgress!==1?this.createRelativeTarget(f,this.target,f.target):this.relativeParent=this.relativeTarget=void 0))}getClosestProjectingParent(){if(!(!this.parent||Hs(this.parent.latestValues)||Pg(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(s,a,l){this.relativeParent=s,this.linkedParentVersion=s.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=fe(),this.relativeTargetOrigin=fe(),Oo(this.relativeTargetOrigin,a,l,this.options.layoutAnchor||void 0),Ke(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){const s=this.getLead(),a=!!this.resumingFrom||this!==s;let l=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(l=!1),a&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(l=!1),this.resolvedRelativeTargetAt===we.timestamp&&(l=!1),l)return;const{layout:c,layoutId:d}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(c||d))return;Ke(this.layoutCorrected,this.layout.layoutBox);const u=this.treeScale.x,f=this.treeScale.y;hI(this.layoutCorrected,this.treeScale,this.path,a),s.layout&&!s.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(s.target=s.layout.layoutBox,s.targetWithTransforms=fe());const{target:p}=s;if(!p){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(Nd(this.prevProjectionDelta.x,this.projectionDelta.x),Nd(this.prevProjectionDelta.y,this.projectionDelta.y)),ln(this.projectionDelta,this.layoutCorrected,p,this.latestValues),(this.treeScale.x!==u||this.treeScale.y!==f||!jd(this.projectionDelta.x,this.prevProjectionDelta.x)||!jd(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",p))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(s=!0){if(this.options.visualElement?.scheduleRender(),s){const a=this.getStack();a&&a.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=Cr(),this.projectionDelta=Cr(),this.projectionDeltaWithTransform=Cr()}setAnimationOrigin(s,a=!1){const l=this.snapshot,c=l?l.latestValues:{},d={...this.latestValues},u=Cr();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!a;const f=fe(),p=l?l.source:void 0,h=this.layout?this.layout.source:void 0,m=p!==h,b=this.getStack(),v=!b||b.members.length<=1,x=!!(m&&!v&&this.options.crossfade===!0&&!this.path.some(mz));this.animationProgress=0;let y;this.mixTargetDelta=k=>{const w=k/1e3;Yd(u.x,s.x,w),Yd(u.y,s.y,w),this.setTargetDelta(u),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Oo(f,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),hz(this.relativeTarget,this.relativeTargetOrigin,f,w),y&&jI(this.relativeTarget,y)&&(this.isProjectionDirty=!1),y||(y=fe()),Ke(y,this.relativeTarget)),m&&(this.animationValues=d,UI(d,c,this.latestValues,w,x,v)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=w},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(s){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(Ft(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=ee.update(()=>{co.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=zr(0)),this.motionValue.jump(0,!1),this.currentAnimation=XI(this.motionValue,[0,1e3],{...s,velocity:0,isSync:!0,onUpdate:a=>{this.mixTargetDelta(a),s.onUpdate&&s.onUpdate(a)},onStop:()=>{},onComplete:()=>{s.onComplete&&s.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const s=this.getStack();s&&s.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(ez),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const s=this.getLead();let{targetWithTransforms:a,target:l,layout:c,latestValues:d}=s;if(!(!a||!l||!c)){if(this!==s&&this.layout&&c&&Hg(this.options.animationType,this.layout.layoutBox,c.layoutBox)){l=this.target||fe();const u=Oe(this.layout.layoutBox.x);l.x.min=s.target.x.min,l.x.max=l.x.min+u;const f=Oe(this.layout.layoutBox.y);l.y.min=s.target.y.min,l.y.max=l.y.min+f}Ke(a,l),ao(a,d),ln(this.projectionDeltaWithTransform,this.layoutCorrected,a,d)}}registerSharedNode(s,a){this.sharedNodes.has(s)||this.sharedNodes.set(s,new JI),this.sharedNodes.get(s).add(a);const c=a.options.initialPromotionConfig;a.promote({transition:c?c.transition:void 0,preserveFollowOpacity:c&&c.shouldPreserveFollowOpacity?c.shouldPreserveFollowOpacity(a):void 0})}isLead(){const s=this.getStack();return s?s.lead===this:!0}getLead(){const{layoutId:s}=this.options;return s?this.getStack()?.lead||this:this}getPrevLead(){const{layoutId:s}=this.options;return s?this.getStack()?.prevLead:void 0}getStack(){const{layoutId:s}=this.options;if(s)return this.root.sharedNodes.get(s)}promote({needsReset:s,transition:a,preserveFollowOpacity:l}={}){const c=this.getStack();c&&c.promote(this,l),s&&(this.projectionDelta=void 0,this.needsReset=!0),a&&this.setOptions({transition:a})}relegate(){const s=this.getStack();return s?s.relegate(this):!1}resetSkewAndRotation(){const{visualElement:s}=this.options;if(!s)return;let a=!1;const{latestValues:l}=s;if((l.z||l.rotate||l.rotateX||l.rotateY||l.rotateZ||l.skewX||l.skewY)&&(a=!0),!a)return;const c={};l.z&&qi("z",s,c,this.animationValues);for(let d=0;d<Ui.length;d++)qi(`rotate${Ui[d]}`,s,c,this.animationValues),qi(`skew${Ui[d]}`,s,c,this.animationValues);s.render();for(const d in c)s.setStaticValue(d,c[d]),this.animationValues&&(this.animationValues[d]=c[d]);s.scheduleRender()}applyProjectionStyles(s,a){if(!this.instance||this.isSVG)return;if(!this.isVisible){s.visibility="hidden";return}const l=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,s.visibility="",s.opacity="",s.pointerEvents=lo(a?.pointerEvents)||"",s.transform=l?l(this.latestValues,""):"none";return}const c=this.getLead();if(!this.projectionDelta||!this.layout||!c.target){this.options.layoutId&&(s.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,s.pointerEvents=lo(a?.pointerEvents)||""),this.hasProjected&&!qt(this.latestValues)&&(s.transform=l?l({},""):"none",this.hasProjected=!1);return}s.visibility="";const d=c.animationValues||c.latestValues;this.applyTransformsToTarget();let u=HI(this.projectionDeltaWithTransform,this.treeScale,d);l&&(u=l(d,u)),s.transform=u;const{x:f,y:p}=this.projectionDelta;s.transformOrigin=`${f.origin*100}% ${p.origin*100}% 0`,c.animationValues?s.opacity=c===this?d.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:d.opacityExit:s.opacity=c===this?d.opacity!==void 0?d.opacity:"":d.opacityExit!==void 0?d.opacityExit:0;for(const h in Us){if(d[h]===void 0)continue;const{correct:m,applyTo:b,isCSSVariable:v}=Us[h],x=u==="none"?d[h]:m(d[h],c);if(b){const y=b.length;for(let k=0;k<y;k++)s[b[k]]=x}else v?this.options.visualElement.renderState.vars[h]=x:s[h]=x}this.options.layoutId&&(s.pointerEvents=c===this?lo(a?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(s=>s.currentAnimation?.stop()),this.root.nodes.forEach(qd),this.root.sharedNodes.clear()}}}function rz(e){e.updateLayout()}function nz(e){const t=e.resumeFrom?.snapshot||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners("didUpdate")){const{layoutBox:r,measuredBox:n}=e.layout,{animationType:o}=e.options,i=t.source!==e.layout.source;if(o==="size")rt(d=>{const u=i?t.measuredBox[d]:t.layoutBox[d],f=Oe(u);u.min=r[d].min,u.max=u.min+f});else if(o==="x"||o==="y"){const d=o==="x"?"y":"x";qs(i?t.measuredBox[d]:t.layoutBox[d],r[d])}else Hg(o,t.layoutBox,r)&&rt(d=>{const u=i?t.measuredBox[d]:t.layoutBox[d],f=Oe(r[d]);u.max=u.min+f,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[d].max=e.relativeTarget[d].min+f)});const s=Cr();ln(s,r,t.layoutBox);const a=Cr();i?ln(a,e.applyTransform(n,!0),t.measuredBox):ln(a,r,t.layoutBox);const l=!Lg(s);let c=!1;if(!e.resumeFrom){const d=e.getClosestProjectingParent();if(d&&!d.resumeFrom){const{snapshot:u,layout:f}=d;if(u&&f){const p=e.options.layoutAnchor||void 0,h=fe();Oo(h,t.layoutBox,u.layoutBox,p);const m=fe();Oo(m,r,f.layoutBox,p),Fg(h,m)||(c=!0),d.options.layoutRoot&&(e.relativeTarget=m,e.relativeTargetOrigin=h,e.relativeParent=d)}}}e.notifyListeners("didUpdate",{layout:r,snapshot:t,delta:a,layoutDelta:s,hasLayoutChanged:l,hasRelativeLayoutChanged:c})}else if(e.isLead()){const{onExitComplete:r}=e.options;r&&r()}e.options.transition=void 0}function oz(e){e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function iz(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function sz(e){e.clearSnapshot()}function qd(e){e.clearMeasurements()}function az(e){e.isLayoutDirty=!0,e.updateLayout()}function Kd(e){e.isLayoutDirty=!1}function lz(e){e.isAnimationBlocked&&e.layout&&!e.isLayoutDirty&&(e.snapshot=e.layout,e.isLayoutDirty=!0)}function cz(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function Xd(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function dz(e){e.resolveTargetDelta()}function uz(e){e.calcProjection()}
vendor: 12,979 bytes, lines 3-11
3function fz(e){e.resetSkewAndRotation()}function pz(e){e.removeLeadSnapshot()}function Yd(e,t,r){e.translate=ne(t.translate,0,r),e.scale=ne(t.scale,1,r),e.origin=t.origin,e.originPoint=t.originPoint}function Zd(e,t,r,n){e.min=ne(t.min,r.min,n),e.max=ne(t.max,r.max,n)}function hz(e,t,r,n){Zd(e.x,t.x,r.x,n),Zd(e.y,t.y,r.y,n)}function mz(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const gz={duration:.45,ease:[.4,0,.1,1]},Qd=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),Jd=Qd("applewebkit/")&&!Qd("chrome/")?Math.round:Ue;function eu(e){e.min=Jd(e.min),e.max=Jd(e.max)}function bz(e){eu(e.x),eu(e.y)}function Hg(e,t,r){return e==="position"||e==="preserve-aspect"&&!LI(Bd(t),Bd(r),.2)}function vz(e){return e!==e.root&&e.scroll?.wasRoot}const yz=jg({attachResizeListener:(e,t)=>xn(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),Ki={current:void 0},Gg=jg({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Ki.current){const e=new yz({});e.mount(window),e.setOptions({layoutScroll:!0}),Ki.current=e}return Ki.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),xl=g.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});function tu(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function xz(...e){return t=>{let r=!1;const n=e.map(o=>{const i=tu(o,t);return!r&&typeof i=="function"&&(r=!0),i});if(r)return()=>{for(let o=0;o<n.length;o++){const i=n[o];typeof i=="function"?i():tu(e[o],null)}}}}function wz(...e){return g.useCallback(xz(...e),e)}class kz extends g.Component{getSnapshotBeforeUpdate(t){const r=this.props.childRef.current;if(ro(r)&&t.isPresent&&!this.props.isPresent&&this.props.pop!==!1){const n=r.offsetParent,o=ro(n)&&n.offsetWidth||0,i=ro(n)&&n.offsetHeight||0,s=getComputedStyle(r),a=this.props.sizeRef.current;a.height=parseFloat(s.height),a.width=parseFloat(s.width),a.top=r.offsetTop,a.left=r.offsetLeft,a.right=o-a.width-a.left,a.bottom=i-a.height-a.top}return null}componentDidUpdate(){}render(){return this.props.children}}function Sz({children:e,isPresent:t,anchorX:r,anchorY:n,root:o,pop:i}){const s=g.useId(),a=g.useRef(null),l=g.useRef({width:0,height:0,top:0,left:0,right:0,bottom:0}),{nonce:c}=g.useContext(xl),d=e.props?.ref??e?.ref,u=wz(a,d);return g.useInsertionEffect(()=>{const{width:f,height:p,top:h,left:m,right:b,bottom:v}=l.current;if(t||i===!1||!a.current||!f||!p)return;const x=r==="left"?`left: ${m}`:`right: ${b}`,y=n==="bottom"?`bottom: ${v}`:`top: ${h}`;a.current.dataset.motionPopId=s;const k=document.createElement("style");c&&(k.nonce=c);const w=o??document.head;return w.appendChild(k),k.sheet&&k.sheet.insertRule(`
4          [data-motion-pop-id="${s}"] {
5            position: absolute !important;
6            width: ${f}px !important;
7            height: ${p}px !important;
8            ${x}px !important;
9            ${y}px !important;
10          }
11        `),()=>{a.current?.removeAttribute("data-motion-pop-id"),w.contains(k)&&w.removeChild(k)}},[t]),S.jsx(kz,{isPresent:t,childRef:a,sizeRef:l,pop:i,children:i===!1?e:g.cloneElement(e,{ref:u})})}const Cz=({children:e,initial:t,isPresent:r,onExitComplete:n,custom:o,presenceAffectsLayout:i,mode:s,anchorX:a,anchorY:l,root:c})=>{const d=Ka(Pz),u=g.useId();let f=!0,p=g.useMemo(()=>(f=!1,{id:u,initial:t,isPresent:r,custom:o,onExitComplete:h=>{d.set(h,!0);for(const m of d.values())if(!m)return;n&&n()},register:h=>(d.set(h,!1),()=>d.delete(h))}),[r,d,n]);return i&&f&&(p={...p}),g.useMemo(()=>{d.forEach((h,m)=>d.set(m,!1))},[r]),g.useEffect(()=>{!r&&!d.size&&n&&n()},[r]),e=S.jsx(Sz,{pop:s==="popLayout",isPresent:r,anchorX:a,anchorY:l,root:c,children:e}),S.jsx(ci.Provider,{value:p,children:e})};function Pz(){return new Map}function Ug(e=!0){const t=g.useContext(ci);if(t===null)return[!0,null];const{isPresent:r,onExitComplete:n,register:o}=t,i=g.useId();g.useEffect(()=>{if(e)return o(i)},[e]);const s=g.useCallback(()=>e&&n&&n(i),[i,n,e]);return!r&&n?[!1,s]:[!0]}const Un=e=>e.key||"";function ru(e){const t=[];return g.Children.forEach(e,r=>{g.isValidElement(r)&&t.push(r)}),t}const LN=({children:e,custom:t,initial:r=!0,onExitComplete:n,presenceAffectsLayout:o=!0,mode:i="sync",propagate:s=!1,anchorX:a="left",anchorY:l="top",root:c})=>{const[d,u]=Ug(s),f=g.useMemo(()=>ru(e),[e]),p=s&&!d?[]:f.map(Un),h=g.useRef(!0),m=g.useRef(f),b=Ka(()=>new Map),v=g.useRef(new Set),[x,y]=g.useState(f),[k,w]=g.useState(f);ym(()=>{h.current=!1,m.current=f;for(let P=0;P<k.length;P++){const R=Un(k[P]);p.includes(R)?(b.delete(R),v.current.delete(R)):b.get(R)!==!0&&b.set(R,!1)}},[k,p.length,p.join("-")]);const C=[];if(f!==x){let P=[...f];for(let R=0;R<k.length;R++){const T=k[R],A=Un(T);p.includes(A)||(P.splice(R,0,T),C.push(T))}return i==="wait"&&C.length&&(P=C),w(ru(P)),y(f),null}const{forceRender:E}=g.useContext(qa);return S.jsx(S.Fragment,{children:k.map(P=>{const R=Un(P),T=s&&!d?!1:f===k||p.includes(R),A=()=>{if(v.current.has(R))return;if(b.has(R))v.current.add(R),b.set(R,!0);else return;let I=!0;b.forEach(_=>{_||(I=!1)}),I&&(E?.(),w(m.current),s&&u?.(),n&&n())};return S.jsx(Cz,{isPresent:T,initial:!h.current||r?void 0:!1,custom:t,presenceAffectsLayout:o,mode:i,root:c,onExitComplete:T?void 0:A,anchorX:a,anchorY:l,children:P},R)})})},qg=g.createContext({strict:!1}),nu={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]};let ou=!1;function Tz(){if(ou)return;const e={};for(const t in nu)e[t]={isEnabled:r=>nu[t].some(n=>!!r[n])};kg(e),ou=!0}function Kg(){return Tz(),dI()}function Rz(e){const t=Kg();for(const r in e)t[r]={...t[r],...e[r]};kg(t)}const Ez=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","propagate","ignoreStrict","viewport"]);function _o(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||Ez.has(e)}let Xg=e=>!_o(e);function Az(e){typeof e=="function"&&(Xg=t=>t.startsWith("on")?!_o(t):e(t))}try{Az(require("@emotion/is-prop-valid").default)}catch{}function Iz(e,t,r){const n={};for(const o in e)o==="values"&&typeof e.values=="object"||Te(e[o])||(Xg(o)||r===!0&&_o(o)||!t&&!_o(o)||e.draggable&&o.startsWith("onDrag"))&&(n[o]=e[o]);return n}const pi=g.createContext({});function zz(e,t){if(fi(e)){const{initial:r,animate:n}=e;return{initial:r===!1||yn(r)?r:void 0,animate:yn(n)?n:void 0}}return e.inherit!==!1?t:{}}function Nz(e){const{initial:t,animate:r}=zz(e,g.useContext(pi));return g.useMemo(()=>({initial:t,animate:r}),[iu(t),iu(r)])}function iu(e){return Array.isArray(e)?e.join(" "):e}const wl=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function Yg(e,t,r){for(const n in t)!Te(t[n])&&!Ag(n,r)&&(e[n]=t[n])}function Oz({transformTemplate:e},t){return g.useMemo(()=>{const r=wl();return vl(r,t,e),Object.assign({},r.vars,r.style)},[t])}function _z(e,t){const r=e.style||{},n={};return Yg(n,r,e),Object.assign(n,Oz(e,t)),n}function Vz(e,t){const r={},n=_z(e,t);return e.drag&&e.dragListener!==!1&&(r.draggable=!1,n.userSelect=n.WebkitUserSelect=n.WebkitTouchCallout="none",n.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(r.tabIndex=0),r.style=n,r}const Zg=()=>({...wl(),attrs:{}});function Dz(e,t,r,n){const o=g.useMemo(()=>{const i=Zg();return Ig(i,t,Ng(n),e.transformTemplate,e.style),{...i.attrs,style:{...i.style}}},[t]);if(e.style){const i={};Yg(i,e.style,e),o.style={...i,...o.style}}return o}const Mz=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function kl(e){return typeof e!="string"||e.includes("-")?!1:!!(Mz.indexOf(e)>-1||/[A-Z]/u.test(e))}function Lz(e,t,r,{latestValues:n},o,i=!1,s){const l=(s??kl(e)?Dz:Vz)(t,n,o,e),c=Iz(t,typeof e=="string",i),d=e!==g.Fragment?{...c,...l,ref:r}:{},{children:u}=t,f=g.useMemo(()=>Te(u)?u.get():u,[u]);return g.createElement(e,{...d,children:f})}function Fz({scrapeMotionValuesFromProps:e,createRenderState:t},r,n,o){return{latestValues:Wz(r,n,o,e),renderState:t()}}function Wz(e,t,r,n){const o={},i=n(e,{});for(const f in i)o[f]=lo(i[f]);let{initial:s,animate:a}=e;const l=fi(e),c=xg(e);t&&c&&!l&&e.inherit!==!1&&(s===void 0&&(s=t.initial),a===void 0&&(a=t.animate));let d=r?r.initial===!1:!1;d=d||s===!1;const u=d?a:s;if(u&&typeof u!="boolean"&&!ui(u)){const f=Array.isArray(u)?u:[u];for(let p=0;p<f.length;p++){const h=cl(e,f[p]);if(h){const{transitionEnd:m,transition:b,...v}=h;for(const x in v){let y=v[x];if(Array.isArray(y)){const k=d?y.length-1:0;y=y[k]}y!==null&&(o[x]=y)}for(const x in m)o[x]=m[x]}}}return o}const Qg=e=>(t,r)=>{const n=g.useContext(pi),o=g.useContext(ci),i=()=>Fz(e,t,n,o);return r?i():Ka(i)},$z=Qg({scrapeMotionValuesFromProps:yl,createRenderState:wl}),Bz=Qg({scrapeMotionValuesFromProps:Og,createRenderState:Zg}),jz=Symbol.for("motionComponentSymbol");function Hz(e,t,r){const n=g.useRef(r);g.useInsertionEffect(()=>{n.current=r});const o=g.useRef(null);return g.useCallback(i=>{i&&e.onMount?.(i);const s=n.current;if(typeof s=="function")if(i){const a=s(i);typeof a=="function"&&(o.current=a)}else o.current?(o.current(),o.current=null):s(i);else s&&(s.current=i);t&&(i?t.mount(i):t.unmount())},[t])}const Jg=g.createContext({});function br(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function Gz(e,t,r,n,o,i){const{visualElement:s}=g.useContext(pi),a=g.useContext(qg),l=g.useContext(ci),c=g.useContext(xl),d=c.reducedMotion,u=c.skipAnimations,f=g.useRef(null),p=g.useRef(!1);n=n||a.renderer,!f.current&&n&&(f.current=n(e,{visualState:t,parent:s,props:r,presenceContext:l,blockInitialAnimation:l?l.initial===!1:!1,reducedMotionConfig:d,skipAnimations:u,isSVG:i}),p.current&&f.current&&(f.current.manuallyAnimateOnMount=!0));const h=f.current,m=g.useContext(Jg);h&&!h.projection&&o&&(h.type==="html"||h.type==="svg")&&Uz(f.current,r,o,m);const b=g.useRef(!1);g.useInsertionEffect(()=>{h&&b.current&&h.update(r,l)});const v=r[ag],x=g.useRef(!!v&&typeof window<"u"&&!window.MotionHandoffIsComplete?.(v)&&window.MotionHasOptimisedAnimation?.(v));return ym(()=>{p.current=!0,h&&(b.current=!0,window.MotionIsMounted=!0,h.updateFeatures(),h.scheduleRenderMicrotask(),x.current&&h.animationState&&h.animationState.animateChanges())}),g.useEffect(()=>{h&&(!x.current&&h.animationState&&h.animationState.animateChanges(),x.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(v)}),x.current=!1),h.enteringChildren=void 0)}),h}function Uz(e,t,r,n){const{layoutId:o,layout:i,drag:s,dragConstraints:a,layoutScroll:l,layoutRoot:c,layoutAnchor:d,layoutCrossfade:u}=t;e.projection=new r(e.latestValues,t["data-framer-portal-id"]?void 0:eb(e.parent)),e.projection.setOptions({layoutId:o,layout:i,alwaysMeasureLayout:!!s||a&&br(a),visualElement:e,animationType:typeof i=="string"?i:"both",initialPromotionConfig:n,crossfade:u,layoutScroll:l,layoutRoot:c,layoutAnchor:d})}function eb(e){if(e)return e.options.allowProjection!==!1?e.projection:eb(e.parent)}function Xi(e,{forwardMotionProps:t=!1,type:r}={},n,o){n&&Rz(n);const i=r?r==="svg":kl(e),s=i?Bz:$z;function a(c,d){let u;const f={...g.useContext(xl),...c,layoutId:qz(c)},{isStatic:p}=f,h=Nz(c),m=s(c,p);if(!p&&typeof window<"u"){Kz();const b=Xz(f);u=b.MeasureLayout,h.visualElement=Gz(e,m,f,o,b.ProjectionNode,i)}return S.jsxs(pi.Provider,{value:h,children:[u&&h.visualElement?S.jsx(u,{visualElement:h.visualElement,...f}):null,Lz(e,c,Hz(m,h.visualElement,d),m,p,t,i)]})}a.displayName=`motion.${typeof e=="string"?e:`create(${e.displayName??e.name??""})`}`;const l=g.forwardRef(a);return l[jz]=e,l}function qz({layoutId:e}){const t=g.useContext(qa).id;return t&&e!==void 0?t+"-"+e:e}function Kz(e,t){g.useContext(qg).strict}function Xz(e){const t=Kg(),{drag:r,layout:n}=t;if(!r&&!n)return{};const o={...r,...n};return{MeasureLayout:r?.isEnabled(e)||n?.isEnabled(e)?o.MeasureLayout:void 0,ProjectionNode:o.ProjectionNode}}
vendor: 20,830 bytes, line 11
11function Yz(e,t){if(typeof Proxy>"u")return Xi;const r=new Map,n=(i,s)=>Xi(i,s,e,t),o=(i,s)=>n(i,s);return new Proxy(o,{get:(i,s)=>s==="create"?n:(r.has(s)||r.set(s,Xi(s,void 0,e,t)),r.get(s))})}const Zz=(e,t)=>t.isSVG??kl(e)?new RI(t):new wI(t,{allowProjection:e!==g.Fragment});class Qz extends Bt{constructor(t){super(t),t.animationState||(t.animationState=NI(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();ui(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:r}=this.node.prevProps||{};t!==r&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}let Jz=0;class e2 extends Bt{constructor(){super(...arguments),this.id=Jz++,this.isExitComplete=!1}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:r}=this.node.presenceContext,{isPresent:n}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===n)return;if(t&&n===!1){if(this.isExitComplete){const{initial:i,custom:s}=this.node.getProps();if(typeof i=="string"){const a=tr(this.node,i,s);if(a){const{transition:l,transitionEnd:c,...d}=a;for(const u in d)this.node.getValue(u)?.jump(d[u])}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive("exit",!1);this.isExitComplete=!1;return}const o=this.node.animationState.setActive("exit",!t);r&&!t&&o.then(()=>{this.isExitComplete=!0,r(this.id)})}mount(){const{register:t,onExitComplete:r}=this.node.presenceContext||{};r&&r(this.id),t&&(this.unmount=t(this.id))}unmount(){}}const t2={animation:{Feature:Qz},exit:{Feature:e2}};function zn(e){return{point:{x:e.pageX,y:e.pageY}}}const r2=e=>t=>pl(t)&&e(t,zn(t));function cn(e,t,r,n){return xn(e,t,r2(r),n)}const tb=({current:e})=>e?e.ownerDocument.defaultView:null,su=(e,t)=>Math.abs(e-t);function n2(e,t){const r=su(e.x,t.x),n=su(e.y,t.y);return Math.sqrt(r**2+n**2)}const au=new Set(["auto","scroll"]);class rb{constructor(t,r,{transformPagePoint:n,contextWindow:o=window,dragSnapToOrigin:i=!1,distanceThreshold:s=3,element:a}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.lastRawMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=p=>{this.handleScroll(p.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=qn(this.lastRawMoveEventInfo,this.transformPagePoint));const p=Yi(this.lastMoveEventInfo,this.history),h=this.startEvent!==null,m=n2(p.offset,{x:0,y:0})>=this.distanceThreshold;if(!h&&!m)return;const{point:b}=p,{timestamp:v}=we;this.history.push({...b,timestamp:v});const{onStart:x,onMove:y}=this.handlers;h||(x&&x(this.lastMoveEvent,p),this.startEvent=this.lastMoveEvent),y&&y(this.lastMoveEvent,p)},this.handlePointerMove=(p,h)=>{this.lastMoveEvent=p,this.lastRawMoveEventInfo=h,this.lastMoveEventInfo=qn(h,this.transformPagePoint),ee.update(this.updatePoint,!0)},this.handlePointerUp=(p,h)=>{this.end();const{onEnd:m,onSessionEnd:b,resumeAnimation:v}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&v&&v(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const x=Yi(p.type==="pointercancel"?this.lastMoveEventInfo:qn(h,this.transformPagePoint),this.history);this.startEvent&&m&&m(p,x),b&&b(p,x)},!pl(t))return;this.dragSnapToOrigin=i,this.handlers=r,this.transformPagePoint=n,this.distanceThreshold=s,this.contextWindow=o||window;const l=zn(t),c=qn(l,this.transformPagePoint),{point:d}=c,{timestamp:u}=we;this.history=[{...d,timestamp:u}];const{onSessionStart:f}=r;f&&f(t,Yi(c,this.history)),this.removeListeners=En(cn(this.contextWindow,"pointermove",this.handlePointerMove),cn(this.contextWindow,"pointerup",this.handlePointerUp),cn(this.contextWindow,"pointercancel",this.handlePointerUp)),a&&this.startScrollTracking(a)}startScrollTracking(t){let r=t.parentElement;for(;r;){const n=getComputedStyle(r);(au.has(n.overflowX)||au.has(n.overflowY))&&this.scrollPositions.set(r,{x:r.scrollLeft,y:r.scrollTop}),r=r.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0}),window.addEventListener("scroll",this.onWindowScroll),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(t){const r=this.scrollPositions.get(t);if(!r)return;const n=t===window,o=n?{x:window.scrollX,y:window.scrollY}:{x:t.scrollLeft,y:t.scrollTop},i={x:o.x-r.x,y:o.y-r.y};i.x===0&&i.y===0||(n?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=i.x,this.lastMoveEventInfo.point.y+=i.y):this.history.length>0&&(this.history[0].x-=i.x,this.history[0].y-=i.y),this.scrollPositions.set(t,o),ee.update(this.updatePoint,!0))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),Ft(this.updatePoint)}}function qn(e,t){return t?{point:t(e.point)}:e}function lu(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Yi({point:e},t){return{point:e,delta:lu(e,nb(t)),offset:lu(e,o2(t)),velocity:i2(t,.1)}}function o2(e){return e[0]}function nb(e){return e[e.length-1]}function i2(e,t){if(e.length<2)return{x:0,y:0};let r=e.length-1,n=null;const o=nb(e);for(;r>=0&&(n=e[r],!(o.timestamp-n.timestamp>We(t)));)r--;if(!n)return{x:0,y:0};n===e[0]&&e.length>2&&o.timestamp-n.timestamp>We(t)*2&&(n=e[1]);const i=Ge(o.timestamp-n.timestamp);if(i===0)return{x:0,y:0};const s={x:(o.x-n.x)/i,y:(o.y-n.y)/i};return s.x===1/0&&(s.x=0),s.y===1/0&&(s.y=0),s}function s2(e,{min:t,max:r},n){return t!==void 0&&e<t?e=n?ne(t,e,n.min):Math.max(e,t):r!==void 0&&e>r&&(e=n?ne(r,e,n.max):Math.min(e,r)),e}function cu(e,t,r){return{min:t!==void 0?e.min+t:void 0,max:r!==void 0?e.max+r-(e.max-e.min):void 0}}function a2(e,{top:t,left:r,bottom:n,right:o}){return{x:cu(e.x,r,o),y:cu(e.y,t,n)}}function du(e,t){let r=t.min-e.min,n=t.max-e.max;return t.max-t.min<e.max-e.min&&([r,n]=[n,r]),{min:r,max:n}}function l2(e,t){return{x:du(e.x,t.x),y:du(e.y,t.y)}}function c2(e,t){let r=.5;const n=Oe(e),o=Oe(t);return o>n?r=bn(t.min,t.max-n,e.min):n>o&&(r=bn(e.min,e.max-o,t.min)),ut(0,1,r)}function d2(e,t){const r={};return t.min!==void 0&&(r.min=t.min-e.min),t.max!==void 0&&(r.max=t.max-e.min),r}const Ks=.35;function u2(e=Ks){return e===!1?e=0:e===!0&&(e=Ks),{x:uu(e,"left","right"),y:uu(e,"top","bottom")}}function uu(e,t,r){return{min:fu(e,t),max:fu(e,r)}}function fu(e,t){return typeof e=="number"?e:e[t]||0}const f2=new WeakMap;class p2{constructor(t){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=fe(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=t}start(t,{snapToCursor:r=!1,distanceThreshold:n}={}){const{presenceContext:o}=this.visualElement;if(o&&o.isPresent===!1)return;const i=u=>{r&&this.snapToCursor(zn(u).point),this.stopAnimation()},s=(u,f)=>{const{drag:p,dragPropagation:h,onDragStart:m}=this.getProps();if(p&&!h&&(this.openDragLock&&this.openDragLock(),this.openDragLock=$A(p),!this.openDragLock))return;this.latestPointerEvent=u,this.latestPanInfo=f,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),rt(v=>{let x=this.getAxisMotionValue(v).get()||0;if(ct.test(x)){const{projection:y}=this.visualElement;if(y&&y.layout){const k=y.layout.layoutBox[v];k&&(x=Oe(k)*(parseFloat(x)/100))}}this.originPoint[v]=x}),m&&ee.update(()=>m(u,f),!1,!0),Ws(this.visualElement,"transform");const{animationState:b}=this.visualElement;b&&b.setActive("whileDrag",!0)},a=(u,f)=>{this.latestPointerEvent=u,this.latestPanInfo=f;const{dragPropagation:p,dragDirectionLock:h,onDirectionLock:m,onDrag:b}=this.getProps();if(!p&&!this.openDragLock)return;const{offset:v}=f;if(h&&this.currentDirection===null){this.currentDirection=m2(v),this.currentDirection!==null&&m&&m(this.currentDirection);return}this.updateAxis("x",f.point,v),this.updateAxis("y",f.point,v),this.visualElement.render(),b&&ee.update(()=>b(u,f),!1,!0)},l=(u,f)=>{this.latestPointerEvent=u,this.latestPanInfo=f,this.stop(u,f),this.latestPointerEvent=null,this.latestPanInfo=null},c=()=>{const{dragSnapToOrigin:u}=this.getProps();(u||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:d}=this.getProps();this.panSession=new rb(t,{onSessionStart:i,onStart:s,onMove:a,onSessionEnd:l,resumeAnimation:c},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:d,distanceThreshold:n,contextWindow:tb(this.visualElement),element:this.visualElement.current})}stop(t,r){const n=t||this.latestPointerEvent,o=r||this.latestPanInfo,i=this.isDragging;if(this.cancel(),!i||!o||!n)return;const{velocity:s}=o;this.startAnimation(s);const{onDragEnd:a}=this.getProps();a&&ee.postRender(()=>a(n,o))}cancel(){this.isDragging=!1;const{projection:t,animationState:r}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.endPanSession();const{dragPropagation:n}=this.getProps();!n&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),r&&r.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(t,r,n){const{drag:o}=this.getProps();if(!n||!Kn(t,o,this.currentDirection))return;const i=this.getAxisMotionValue(t);let s=this.originPoint[t]+n[t];this.constraints&&this.constraints[t]&&(s=s2(s,this.constraints[t],this.elastic[t])),i.set(s)}resolveConstraints(){const{dragConstraints:t,dragElastic:r}=this.getProps(),n=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,o=this.constraints;t&&br(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&n?this.constraints=a2(n.layoutBox,t):this.constraints=!1,this.elastic=u2(r),o!==this.constraints&&!br(t)&&n&&this.constraints&&!this.hasMutatedConstraints&&rt(i=>{this.constraints!==!1&&this.getAxisMotionValue(i)&&(this.constraints[i]=d2(n.layoutBox[i],this.constraints[i]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:r}=this.getProps();if(!t||!br(t))return!1;const n=t.current,{projection:o}=this.visualElement;if(!o||!o.layout)return!1;const i=mI(n,o.root,this.visualElement.getTransformPagePoint());let s=l2(o.layout.layoutBox,i);if(r){const a=r(fI(s));this.hasMutatedConstraints=!!a,a&&(s=Cg(a))}return s}startAnimation(t){const{drag:r,dragMomentum:n,dragElastic:o,dragTransition:i,dragSnapToOrigin:s,onDragTransitionEnd:a}=this.getProps(),l=this.constraints||{},c=rt(d=>{if(!Kn(d,r,this.currentDirection))return;let u=l&&l[d]||{};(s===!0||s===d)&&(u={min:0,max:0});const f=o?200:1e6,p=o?40:1e7,h={type:"inertia",velocity:n?t[d]:0,bounceStiffness:f,bounceDamping:p,timeConstant:750,restDelta:1,restSpeed:10,...i,...u};return this.startAxisValueAnimation(d,h)});return Promise.all(c).then(a)}startAxisValueAnimation(t,r){const n=this.getAxisMotionValue(t);return Ws(this.visualElement,t),n.start(ll(t,n,0,r,this.visualElement,!1))}stopAnimation(){rt(t=>this.getAxisMotionValue(t).stop())}getAxisMotionValue(t){const r=`_drag${t.toUpperCase()}`,n=this.visualElement.getProps(),o=n[r];return o||this.visualElement.getValue(t,(n.initial?n.initial[t]:void 0)||0)}snapToCursor(t){rt(r=>{const{drag:n}=this.getProps();if(!Kn(r,n,this.currentDirection))return;const{projection:o}=this.visualElement,i=this.getAxisMotionValue(r);if(o&&o.layout){const{min:s,max:a}=o.layout.layoutBox[r],l=i.get()||0;i.set(t[r]-ne(s,a,.5)+l)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:r}=this.getProps(),{projection:n}=this.visualElement;if(!br(r)||!n||!this.constraints)return;this.stopAnimation();const o={x:0,y:0};rt(s=>{const a=this.getAxisMotionValue(s);if(a&&this.constraints!==!1){const l=a.get();o[s]=c2({min:l,max:l},this.constraints[s])}});const{transformTemplate:i}=this.visualElement.getProps();this.visualElement.current.style.transform=i?i({},""):"none",n.root&&n.root.updateScroll(),n.updateLayout(),this.constraints=!1,this.resolveConstraints(),rt(s=>{if(!Kn(s,t,null))return;const a=this.getAxisMotionValue(s),{min:l,max:c}=this.constraints[s];a.set(ne(l,c,o[s]))}),this.visualElement.render()}addListeners(){if(!this.visualElement.current)return;f2.set(this.visualElement,this);const t=this.visualElement.current,r=cn(t,"pointerdown",c=>{const{drag:d,dragListener:u=!0}=this.getProps(),f=c.target,p=f!==t&&qA(f);d&&u&&!p&&this.start(c)});let n;const o=()=>{const{dragConstraints:c}=this.getProps();br(c)&&c.current&&(this.constraints=this.resolveRefConstraints(),n||(n=h2(t,c.current,()=>this.scalePositionWithinConstraints())))},{projection:i}=this.visualElement,s=i.addEventListener("measure",o);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),ee.read(o);const a=xn(window,"resize",()=>this.scalePositionWithinConstraints()),l=i.addEventListener("didUpdate",(({delta:c,hasLayoutChanged:d})=>{this.isDragging&&d&&(rt(u=>{const f=this.getAxisMotionValue(u);f&&(this.originPoint[u]+=c[u].translate,f.set(f.get()+c[u].translate))}),this.visualElement.render())}));return()=>{a(),r(),s(),l&&l(),n&&n()}}getProps(){const t=this.visualElement.getProps(),{drag:r=!1,dragDirectionLock:n=!1,dragPropagation:o=!1,dragConstraints:i=!1,dragElastic:s=Ks,dragMomentum:a=!0}=t;return{...t,drag:r,dragDirectionLock:n,dragPropagation:o,dragConstraints:i,dragElastic:s,dragMomentum:a}}}function pu(e){let t=!0;return()=>{if(t){t=!1;return}e()}}function h2(e,t,r){const n=xd(e,pu(r)),o=xd(t,pu(r));return()=>{n(),o()}}function Kn(e,t,r){return(t===!0||t===e)&&(r===null||r===e)}function m2(e,t=10){let r=null;return Math.abs(e.y)>t?r="y":Math.abs(e.x)>t&&(r="x"),r}class g2 extends Bt{constructor(t){super(t),this.removeGroupControls=Ue,this.removeListeners=Ue,this.controls=new p2(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Ue}update(){const{dragControls:t}=this.node.getProps(),{dragControls:r}=this.node.prevProps||{};t!==r&&(this.removeGroupControls(),t&&(this.removeGroupControls=t.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}}const Zi=e=>(t,r)=>{e&&ee.update(()=>e(t,r),!1,!0)};class b2 extends Bt{constructor(){super(...arguments),this.removePointerDownListener=Ue}onPointerDown(t){this.session=new rb(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:tb(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:r,onPan:n,onPanEnd:o}=this.node.getProps();return{onSessionStart:Zi(t),onStart:Zi(r),onMove:Zi(n),onEnd:(i,s)=>{delete this.session,o&&ee.postRender(()=>o(i,s))}}}mount(){this.removePointerDownListener=cn(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}let Qi=!1;class v2 extends g.Component{componentDidMount(){const{visualElement:t,layoutGroup:r,switchLayoutGroup:n,layoutId:o}=this.props,{projection:i}=t;i&&(r.group&&r.group.add(i),n&&n.register&&o&&n.register(i),Qi&&i.root.didUpdate(),i.addEventListener("animationComplete",()=>{this.safeToRemove()}),i.setOptions({...i.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),co.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:r,visualElement:n,drag:o,isPresent:i}=this.props,{projection:s}=n;return s&&(s.isPresent=i,t.layoutDependency!==r&&s.setOptions({...s.options,layoutDependency:r}),Qi=!0,o||t.layoutDependency!==r||r===void 0||t.isPresent!==i?s.willUpdate():this.safeToRemove(),t.isPresent!==i&&(i?s.promote():s.relegate()||ee.postRender(()=>{const a=s.getStack();(!a||!a.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{visualElement:t,layoutAnchor:r}=this.props,{projection:n}=t;n&&(n.options.layoutAnchor=r,n.root.didUpdate(),fl.postRender(()=>{!n.currentAnimation&&n.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:r,switchLayoutGroup:n}=this.props,{projection:o}=t;Qi=!0,o&&(o.scheduleCheckAfterUnmount(),r&&r.group&&r.group.remove(o),n&&n.deregister&&n.deregister(o))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function ob(e){const[t,r]=Ug(),n=g.useContext(qa);return S.jsx(v2,{...e,layoutGroup:n,switchLayoutGroup:g.useContext(Jg),isPresent:t,safeToRemove:r})}const y2={pan:{Feature:b2},drag:{Feature:g2,ProjectionNode:Gg,MeasureLayout:ob}};function hu(e,t,r){const{props:n}=e;e.animationState&&n.whileHover&&e.animationState.setActive("whileHover",r==="Start");const o="onHover"+r,i=n[o];i&&ee.postRender(()=>i(t,zn(t)))}class x2 extends Bt{mount(){const{current:t}=this.node;t&&(this.unmount=jA(t,(r,n)=>(hu(this.node,n,"Start"),o=>hu(this.node,o,"End"))))}unmount(){}}class w2 extends Bt{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch{t=!0}!t||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=En(xn(this.node.current,"focus",()=>this.onFocus()),xn(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function mu(e,t,r){const{props:n}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&n.whileTap&&e.animationState.setActive("whileTap",r==="Start");const o="onTap"+(r==="End"?"":r),i=n[o];i&&ee.postRender(()=>i(t,zn(t)))}class k2 extends Bt{mount(){const{current:t}=this.node;if(!t)return;const{globalTapTarget:r,propagate:n}=this.node.props;this.unmount=XA(t,(o,i)=>(mu(this.node,i,"Start"),(s,{success:a})=>mu(this.node,s,a?"End":"Cancel")),{useGlobalTarget:r,stopPropagation:n?.tap===!1})}unmount(){}}const Xs=new WeakMap,Ji=new WeakMap,S2=e=>{const t=Xs.get(e.target);t&&t(e)},C2=e=>{e.forEach(S2)};function P2({root:e,...t}){const r=e||document;Ji.has(r)||Ji.set(r,{});const n=Ji.get(r),o=JSON.stringify(t);return n[o]||(n[o]=new IntersectionObserver(C2,{root:e,...t})),n[o]}function T2(e,t,r){const n=P2(t);return Xs.set(e,r),n.observe(e),()=>{Xs.delete(e),n.unobserve(e)}}const R2={some:0,all:1};class E2 extends Bt{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.stopObserver?.();const{viewport:t={}}=this.node.getProps(),{root:r,margin:n,amount:o="some",once:i}=t,s={root:r?r.current:void 0,rootMargin:n,threshold:typeof o=="number"?o:R2[o]},a=l=>{const{isIntersecting:c}=l;if(this.isInView===c||(this.isInView=c,i&&!c&&this.hasEnteredView))return;c&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",c);const{onViewportEnter:d,onViewportLeave:u}=this.node.getProps(),f=c?d:u;f&&f(l)};this.stopObserver=T2(this.node.current,s,a)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:r}=this.node;["amount","margin","root"].some(A2(t,r))&&this.startObserver()}unmount(){this.stopObserver?.(),this.hasEnteredView=!1,this.isInView=!1}}function A2({viewport:e={}},{viewport:t={}}={}){return r=>e[r]!==t[r]}const I2={inView:{Feature:E2},tap:{Feature:k2},focus:{Feature:w2},hover:{Feature:x2}},z2={layout:{ProjectionNode:Gg,MeasureLayout:ob}},N2={...t2,...I2,...y2,...z2},FN=Yz(N2,Zz);function WN(){!bl.current&&wg();const[e]=g.useState(Io.current);return e}export{RN as $,q2 as A,am as B,Y2 as C,mN as D,eR as E,uR as F,_u as G,pR as H,SN as I,EN as J,AN as K,bR as L,IN as M,aN as N,fN as O,W2 as P,lN as Q,cN as R,im as S,Nx as T,hN as U,OR as V,dN as W,pN as X,uN as Y,nR as Z,_2 as _,Au as a,TN as a0,CN as a1,PN as a2,_N as a3,VN as a4,J2 as a5,rN as a6,tN as a7,XT as a8,xR as a9,nN as aa,oN as ab,sN as ac,iN as ad,Q2 as ae,_R as af,DN as ag,zN as ah,ON as ai,NN as aj,AR as ak,yN as al,xN as am,kN as an,wN as ao,$2 as ap,B2 as aq,G2 as ar,U2 as as,j2 as at,H2 as au,eN as av,Z2 as b,Z1 as c,DT as d,Eh as e,X2 as f,K2 as g,si as h,Sx as i,V2 as j,LN as k,zu as l,FN as m,um as n,hR as o,vN as p,gN as q,bN as r,Ga as s,X as t,WN as u,mm as v,wR as w,NR as x,L2 as y,fR as z};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.