PageSourceSearch

https://starrycherry.fun/_next/static/chunks/pages/_app-8fa6cf914f502eb7.js

js starrycherry.fun collected 2026-10-04 19:26:51 UTC 244,968 bytes, 330 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[888],{8417:function(e,t,r){"use strict";r.d(t,{Z:function(){return H}});var n=function(){function e(e){var t=this;this._insertTag=function(e){var r;r=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,r),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){if(this.ctr%(this.isSpeedy?65e3:1)==0){var t;this._insertTag(((t=document.createElement("style")).setAttribute("data-emotion",this.key),void 0!==this.nonce&&t.setAttribute("nonce",this.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t))}var r=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(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]}(r);try{n.insertRule(e,n.cssRules.length)}catch(i){}}else r.appendChild(document.createTextNode(e));this.ctr++}
vendor: 4,402 bytes, line 1
1,t.flush=function(){this.tags.forEach(function(e){return e.parentNode&&e.parentNode.removeChild(e)}),this.tags=[],this.ctr=0},e}(),i=Math.abs,o=String.fromCharCode,a=Object.assign;function s(e,t,r){return e.replace(t,r)}function l(e,t){return e.indexOf(t)}function u(e,t){return 0|e.charCodeAt(t)}function c(e,t,r){return e.slice(t,r)}function d(e){return e.length}function h(e,t){return t.push(e),e}var p=1,f=1,m=0,g=0,b=0,v="";function y(e,t,r,n,i,o,a){return{value:e,root:t,parent:r,type:n,props:i,children:o,line:p,column:f,length:a,return:""}}function x(e,t){return a(y("",null,null,"",null,null,0),e,{length:-e.length},t)}function k(){return b=g<m?u(v,g++):0,f++,10===b&&(f=1,p++),b}function S(){return u(v,g)}function w(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 _(e){return p=f=1,m=d(v=e),g=0,[]}function C(e){var t,r;return(t=g-1,r=function e(t){for(;k();)switch(b){case t:return g;case 34:case 39:34!==t&&39!==t&&e(b);break;case 40:41===t&&e(t);break;case 92:k()}return g}(91===e?e+2:40===e?e+1:e),c(v,t,r)).trim()}var P="-ms-",A="-moz-",E="-webkit-",T="comm",j="rule",z="decl",R="@keyframes";function B(e,t){for(var r="",n=e.length,i=0;i<n;i++)r+=t(e[i],i,e,t)||"";return r}function $(e,t,r,n){switch(e.type){case"@import":case z:return e.return=e.return||e.value;case T:return"";case R:return e.return=e.value+"{"+B(e.children,n)+"}";case j:e.value=e.props.join(",")}return d(r=B(e.children,n))?e.return=e.value+"{"+r+"}":""}function M(e,t,r,n,o,a,l,u,d,h,p){for(var f=o-1,m=0===o?a:[""],g=m.length,b=0,v=0,x=0;b<n;++b)for(var k=0,S=c(e,f+1,f=i(v=l[b])),w=e;k<g;++k)(w=(v>0?m[k]+" "+S:s(S,/&\f/g,m[k])).trim())&&(d[x++]=w);return y(e,t,r,0===o?j:u,d,h,p)}function D(e,t,r,n){return y(e,t,r,z,c(e,0,n),c(e,n+1,-1),n)}var F=function(e,t,r){for(var n=0,i=0;n=i,i=S(),38===n&&12===i&&(t[r]=1),!w(i);)k();return c(v,e,g)},I=function(e,t){var r=-1,n=44;do switch(w(n)){case 0:38===n&&12===S()&&(t[r]=1),e[r]+=F(g-1,t,r);break;case 2:e[r]+=C(n);break;case 4:if(44===n){e[++r]=58===S()?"&\f":"",t[r]=e[r].length;break}default:e[r]+=o(n)}while(n=k());return e},V=function(e,t){var r;return r=I(_(e),t),v="",r},L=new WeakMap,O=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,r=e.parent,n=e.column===r.column&&e.line===r.line;"rule"!==r.type;)if(!(r=r.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||L.get(r))&&!n){L.set(e,!0);for(var i=[],o=V(t,i),a=r.props,s=0,l=0;s<o.length;s++)for(var u=0;u<a.length;u++,l++)e.props[l]=i[s]?o[s].replace(/&\f/g,a[u]):a[u]+" "+o[s]}}},W=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}},N=[function(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case z:e.return=function e(t,r){switch(45^u(t,0)?(((r<<2^u(t,0))<<2^u(t,1))<<2^u(t,2))<<2^u(t,3):0){case 5103:return E+"print-"+t+t;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return E+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return E+t+A+t+P+t+t;case 6828:case 4268:return E+t+P+t+t;case 6165:return E+t+P+"flex-"+t+t;case 5187:return E+t+s(t,/(\w+).+(:[^]+)/,E+"box-$1$2"+P+"flex-$1$2")+t;case 5443:return E+t+P+"flex-item-"+s(t,/flex-|-self/,"")+t;case 4675:return E+t+P+"flex-line-pack"+s(t,/align-content|flex-|-self/,"")+t;case 5548:return E+t+P+s(t,"shrink","negative")+t;case 5292:return E+t+P+s(t,"basis","preferred-size")+t;case 6060:return E+"box-"+s(t,"-grow","")+E+t+P+s(t,"grow","positive")+t;case 4554:return E+s(t,/([^-])(transform)/g,"$1"+E+"$2")+t;case 6187:return s(s(s(t,/(zoom-|grab)/,E+"$1"),/(image-set)/,E+"$1"),t,"")+t;case 5495:case 3959:return s(t,/(image-set\([^]*)/,E+"$1$`$1");case 4968:return s(s(t,/(.+:)(flex-)?(.*)/,E+"box-pack:$3"+P+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+E+t+t;case 4095:case 3583:case 4068:case 2532:return s(t,/(.+)-inline(.+)/,E+"$1$2")+t;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(d(t)-1-r>6)switch(u(t,r+1)){case 109:if(45!==u(t,r+4))break;
1case 102:return s(t,/(.+:)(.+)-([^]+)/,"$1"+E+"$2-$3$1"+A+(108==u(t,r+3)?"$3":"$2-$3"))+t;case 115:return~l(t,"stretch")?e(s(t,"stretch","fill-available"),r)+t:t}break;case 4949:if(115!==u(t,r+1))break;case 6444:switch(u(t,d(t)-3-(~l(t,"!important")&&10))){case 107:return s(t,":",":"+E)+t;case 101:return s(t,/(.+:)([^;!]+)(;|!.+)?/,"$1"+E+(45===u(t,14)?"inline-":"")+"box$3$1"+E+"$2$3$1"+P+"$2box$3")+t}break;case 5936:switch(u(t,r+11)){case 114:return E+t+P+s(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return E+t+P+s(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return E+t+P+s(t,/[svh]\w+-[tblr]{2}/,"lr")+t}return E+t+P+t+t}return t}(e.value,e.length);break;case R:return B([x(e,{value:s(e.value,"@","@"+E)})],n);case j:if(e.length)return e.props.map(function(t){var r;switch(r=t,(r=/(::plac\w+|:read-\w+)/.exec(r))?r[0]:r){case":read-only":case":read-write":return B([x(e,{props:[s(t,/:(read-\w+)/,":"+A+"$1")]})],n);case"::placeholder":return B([x(e,{props:[s(t,/:(plac\w+)/,":"+E+"input-$1")]}),x(e,{props:[s(t,/:(plac\w+)/,":"+A+"$1")]}),x(e,{props:[s(t,/:(plac\w+)/,P+"input-$1")]})],n)}return""}).join("")}}],H=function(e){var t,r,i,a,m,x=e.key;if("css"===x){var P=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(P,function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))})}var A=e.stylisPlugins||N,E={},j=[];a=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+x+' "]'),function(e){for(var t=e.getAttribute("data-emotion").split(" "),r=1;r<t.length;r++)E[t[r]]=!0;j.push(e)});var z=(r=(t=[O,W].concat(A,[$,(i=function(e){m.insert(e)},function(e){!e.root&&(e=e.return)&&i(e)})])).length,function(e,n,i,o){for(var a="",s=0;s<r;s++)a+=t[s](e,n,i,o)||"";return a}),R=function(e){var t,r;return B((r=function e(t,r,n,i,a,m,x,_,P){for(var A,E=0,j=0,z=x,R=0,B=0,$=0,F=1,I=1,V=1,L=0,O="",W=a,N=m,H=i,U=O;I;)switch($=L,L=k()){case 40:if(108!=$&&58==u(U,z-1)){-1!=l(U+=s(C(L),"&","&\f"),"&\f")&&(V=-1);break}case 34:case 39:case 91:U+=C(L);break;case 9:case 10:case 13:case 32:U+=function(e){for(;b=S();)if(b<33)k();else break;return w(e)>2||w(b)>3?"":" "}($);break;case 92:U+=function(e,t){for(var r;--t&&k()&&!(b<48)&&!(b>102)&&(!(b>57)||!(b<65))&&(!(b>70)||!(b<97)););return r=g+(t<6&&32==S()&&32==k()),c(v,e,r)}(g-1,7);continue;case 47:switch(S()){case 42:case 47:h(y(A=function(e,t){for(;k();)if(e+b===57)break;else if(e+b===84&&47===S())break;return"/*"+c(v,t,g-1)+"*"+o(47===e?e:k())}(k(),g),r,n,T,o(b),c(A,2,-2),0),P);break;default:U+="/"}break;case 123*F:_[E++]=d(U)*V;case 125*F:case 59:case 0:switch(L){case 0:case 125:I=0;case 59+j:B>0&&d(U)-z&&h(B>32?D(U+";",i,n,z-1):D(s(U," ","")+";",i,n,z-2),P);break;case 59:U+=";";default:if(h(H=M(U,r,n,E,j,a,_,O,W=[],N=[],z),m),123===L){if(0===j)e(U,r,H,H,W,m,z,_,N);else switch(99===R&&110===u(U,3)?100:R){case 100:case 109:case 115:e(t,H,H,i&&h(M(t,H,H,0,0,a,_,O,a,W=[],z),N),a,N,z,_,i?W:N);break;default:e(U,H,H,H,[""],N,0,_,N)}}}E=j=B=0,F=V=1,O=U="",z=x;break;case 58:z=1+d(U),B=$;default:if(F<1){if(123==L)--F;else if(125==L&&0==F++&&125==(b=g>0?u(v,--g):0,f--,10===b&&(f=1,p--),b))continue}switch(U+=o(L),L*F){case 38:V=j>0?1:(U+="\f",-1);break;case 44:_[E++]=(d(U)-1)*V,V=1;break;case 64:45===S()&&(U+=C(k())),R=S(),j=z=d(O=U+=function(e){for(;!w(S());)k();return c(v,e,g)}(g)),L++;break;case 45:45===$&&2==d(U)&&(F=0)}}return m}("",null,null,null,[""],t=_(t=e),0,[0],t),v="",r),z)},F={key:x,sheet:new n({key:x,container:a,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:E,registered:{},insert:function(e,t,r,n){m=r,R(e?e+"{"+t.styles+"}":t.styles),n&&(F.inserted[t.name]=!0)}};return F.sheet.hydrate(j),F}},5042:function(e,t){"use strict";t.Z=function(e){var t=Object.create(null);return function(r){return void 0===t[r]&&(t[r]=e(r)),t[r]}}},1683:function(e,t,r){"use strict";r.d(t,{T:function(){return u},a:function(){return d},w:function(){return l}});var n=r(7294),i=r(8417),o=r(7462),a=function(e){var t=new WeakMap;return function(r){if(t.has(r))return t.get(r);var n=e(r);return t.set(r,n),n}};r(8137),r(7278);var s=(0,n.createContext)("undefined"!=typeof HTMLElement?(0,i.Z)({key:"css"}):null);s.Provider;var l=function(e){return(0,n.forwardRef)(function(t,r){return e(t,(0,n.useContext)(s),r)})},u=(0,n.createContext)({}),c=a(function(e){return a(function(t){return"function"==typeof t?t(e):(0,o.Z)({},e,t)})}),d=function(e){var t=(0,n.useContext)(u);return e.theme!==t&&(t=c(t)(e.theme)),(0,n.createElement)(u.Provider,{value:t},e.children)}},917:function(e,t,r){"use strict";r.d(t,{F4:function(){return c},xB:function(){return l}});var n=r(7294);r(8417);var i=r(1683);r(8679);var o=r(444),a=r(8137),s=r(7278),l=(0,i.w)(function(e,t){var r=e.styles,l=(0,a.O)([r],void 0,(0,n.useContext)(i.T)),u=(0,n.useRef)();return(0,s.j)(function(){var e=t.key+"-global",r=new t.sheet.constructor({key:e,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),n=!1,i=document.querySelector('style[data-emotion="'+e+" "+l.name+'"]');return t.sheet.tags.length&&(r.before=t.sheet.tags[0]),null!==i&&(n=!0,i.setAttribute("data-emotion",e),r.hydrate([i])),u.current=[r,n],function(){r.flush()}},[t]),(0,s.j)(function(){var e=u.current,r=e[0];if(e[1]){e[1]=!1;return}if(void 0!==l.next&&(0,o.My)(t,l.next,!0),r.tags.length){var n=r.tags[r.tags.length-1].nextElementSibling;r.before=n,r.flush()}t.insert("",l,r,!1)},[t,l.name]),null});function u(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return(0,a.O)(t)}var c=function(){var e=u.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_"}}}},8137:function(e,t,r){"use strict";r.d(t,{O:function(){return m}});var n,i=function(e){for(var t,r=0,n=0,i=e.length;i>=4;++n,i-=4)t=(65535&(t=255&e.charCodeAt(n)|(255&e.charCodeAt(++n))<<8|(255&e.charCodeAt(++n))<<16|(255&e.charCodeAt(++n))<<24))*1540483477+((t>>
1>16)*59797<<16),t^=t>>>24,r=(65535&t)*1540483477+((t>>>16)*59797<<16)^(65535&r)*1540483477+((r>>>16)*59797<<16);switch(i){case 3:r^=(255&e.charCodeAt(n+2))<<16;case 2:r^=(255&e.charCodeAt(n+1))<<8;case 1:r^=255&e.charCodeAt(n),r=(65535&r)*1540483477+((r>>>16)*59797<<16)}return r^=r>>>13,(((r=(65535&r)*1540483477+((r>>>16)*59797<<16))^r>>>15)>>>0).toString(36)},o={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},a=r(5042),s=/[A-Z]|^ms/g,l=/_EMO_([^_]+?)_([^]*?)_EMO_/g,u=function(e){return 45===e.charCodeAt(1)},c=function(e){return null!=e&&"boolean"!=typeof e},d=(0,a.Z)(function(e){return u(e)?e:e.replace(s,"-$&").toLowerCase()}),h=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(l,function(e,t,r){return n={name:t,styles:r,next:n},t})}return 1===o[e]||u(e)||"number"!=typeof t||0===t?t:t+"px"};function p(e,t,r){if(null==r)return"";if(void 0!==r.__emotion_styles)return r;switch(typeof r){case"boolean":return"";case"object":if(1===r.anim)return n={name:r.name,styles:r.styles,next:n},r.name;if(void 0!==r.styles){var i=r.next;if(void 0!==i)for(;void 0!==i;)n={name:i.name,styles:i.styles,next:n},i=i.next;return r.styles+";"}return function(e,t,r){var n="";if(Array.isArray(r))for(var i=0;i<r.length;i++)n+=p(e,t,r[i])+";";else for(var o in r){var a=r[o];if("object"!=typeof a)null!=t&&void 0!==t[a]?n+=o+"{"+t[a]+"}":c(a)&&(n+=d(o)+":"+h(o,a)+";");else if(Array.isArray(a)&&"string"==typeof a[0]&&(null==t||void 0===t[a[0]]))for(var s=0;s<a.length;s++)c(a[s])&&(n+=d(o)+":"+h(o,a[s])+";");else{var l=p(e,t,a);switch(o){case"animation":case"animationName":n+=d(o)+":"+l+";";break;default:n+=o+"{"+l+"}"}}}return n}(e,t,r);case"function":if(void 0!==e){var o=n,a=r(e);return n=o,p(e,t,a)}}if(null==t)return r;var s=t[r];return void 0!==s?s:r}var f=/label:\s*([^\s;\n{]+)\s*(;|$)/g,m=function(e,t,r){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var o,a=!0,s="";n=void 0;var l=e[0];null==l||void 0===l.raw?(a=!1,s+=p(r,t,l)):s+=l[0];for(var u=1;u<e.length;u++)s+=p(r,t,e[u]),a&&(s+=l[u]);f.lastIndex=0;for(var c="";null!==(o=f.exec(s));)c+="-"+o[1];return{name:i(s)+c,styles:s,next:n}}},7278:function(e,t,r){"use strict";r.d(t,{L:function(){return a},j:function(){return s}});var n,i=r(7294),o=!!(n||(n=r.t(i,2))).useInsertionEffect&&(n||(n=r.t(i,2))).useInsertionEffect,a=o||function(e){return e()},s=o||i.useLayoutEffect},444:function(e,t,r){"use strict";function n(e,t,r){var n="";return r.split(" ").forEach(function(r){void 0!==e[r]?t.push(e[r]+";"):n+=r+" "}),n}r.d(t,{My:function(){return o},fp:function(){return n},hC:function(){return i}});var i=function(e,t,r){var n=e.key+"-"+t.name;!1===r&&void 0===e.registered[n]&&(e.registered[n]=t.styles)},o=function(e,t,r){i(e,t,r);var n=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var o=t;do e.insert(t===o?"."+n:"",o,e.sheet,!0),o=o.next;while(void 0!==o)}}},8679:function(e,t,r){"use strict";var n=r(9864),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return n.isMemo(e)?a:s[e.$$typeof]||i}s[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[n.Memo]=a;var u=Object.defineProperty,c=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,h=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,f=Object.prototype;e.exports=function e(t,r,n){if("string"!=typeof r){if(f){var i=p(r);i&&i!==f&&e(t,i,n)}var a=c(r);d&&(a=a.concat(d(r)));for(var s=l(t),m=l(r),g=0;g<a.length;++g){var b=a[g];
1if(!o[b]&&!(n&&n[b])&&!(m&&m[b])&&!(s&&s[b])){var v=h(r,b);try{u(t,b,v)}catch(y){}}}}return t}},8554:function(e,t,r){e=r.nmd(e);var n,i,o,a,s,l,u,c,d,h,p="__lodash_hash_undefined__",f="[object Arguments]",m="[object Function]",g="[object Object]",b=/^\[object .+?Constructor\]$/,v=/^(?:0|[1-9]\d*)$/,y={};y["[object Float32Array]"]=y["[object Float64Array]"]=y["[object Int8Array]"]=y["[object Int16Array]"]=y["[object Int32Array]"]=y["[object Uint8Array]"]=y["[object Uint8ClampedArray]"]=y["[object Uint16Array]"]=y["[object Uint32Array]"]=!0,y[f]=y["[object Array]"]=y["[object ArrayBuffer]"]=y["[object Boolean]"]=y["[object DataView]"]=y["[object Date]"]=y["[object Error]"]=y[m]=y["[object Map]"]=y["[object Number]"]=y[g]=y["[object RegExp]"]=y["[object Set]"]=y["[object String]"]=y["[object WeakMap]"]=!1;var x="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g,k="object"==typeof self&&self&&self.Object===Object&&self,S=x||k||Function("return this")(),w=t&&!t.nodeType&&t,_=w&&e&&!e.nodeType&&e,C=_&&_.exports===w,P=C&&x.process,A=function(){try{var e=_&&_.require&&_.require("util").types;if(e)return e;return P&&P.binding&&P.binding("util")}catch(t){}}(),E=A&&A.isTypedArray,T=Array.prototype,j=Function.prototype,z=Object.prototype,R=S["__core-js_shared__"],B=j.toString,$=z.hasOwnProperty,M=(l=/[^.]+$/.exec(R&&R.keys&&R.keys.IE_PROTO||""))?"Symbol(src)_1."+l:"",D=z.toString,F=B.call(Object),I=RegExp("^"+B.call($).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),V=C?S.Buffer:void 0,L=S.Symbol,O=S.Uint8Array,W=V?V.allocUnsafe:void 0,N=(u=Object.getPrototypeOf,c=Object,function(e){return u(c(e))}),H=Object.create,U=z.propertyIsEnumerable,q=T.splice,G=L?L.toStringTag:void 0,Y=function(){try{var e=eh(Object,"defineProperty");return e({},"",{}),e}catch(t){}}(),X=V?V.isBuffer:void 0,Z=Math.max,J=Date.now,K=eh(S,"Map"),Q=eh(Object,"create"),ee=function(){function e(){}return function(t){if(!e_(t))return{};if(H)return H(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}}();function et(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function er(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function en(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function ei(e){var t=this.__data__=new er(e);this.size=t.size}function eo(e,t,r){(void 0===r||eb(e[t],r))&&(void 0!==r||t in e)||es(e,t,r)}function ea(e,t){for(var r=e.length;r--;)if(eb(e[r][0],t))return r;return -1}function es(e,t,r){"__proto__"==t&&Y?Y(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}et.prototype.clear=function(){this.__data__=Q?Q(null):{},this.size=0},et.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},et.prototype.get=function(e){var t=this.__data__;if(Q){var r=t[e];return r===p?void 0:r}return $.call(t,e)?t[e]:void 0},et.prototype.has=function(e){var t=this.__data__;return Q?void 0!==t[e]:$.call(t,e)},et.prototype.set=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=Q&&void 0===t?p:t,this},er.prototype.clear=function(){this.__data__=[],this.size=0},er.prototype.delete=function(e){var t=this.__data__,r=ea(t,e);return!(r<0)&&(r==t.length-1?t.pop():q.call(t,r,1),--this.size,!0)},er.prototype.get=function(e){var t=this.__data__,r=ea(t,e);return r<0?void 0:t[r][1]},er.prototype.has=function(e){return ea(this.__data__,e)>-1},er.prototype.set=function(e,t){var r=this.__data__,n=ea(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this},en.prototype.clear=function(){this.size=0,this.__data__={hash:new et,map:new(K||er),string:new et}},en.prototype.delete=function(e){var t=ed(this,e).delete(e);return this.size-=t?1:0,t},en.prototype.get=function(e){return ed(this,e).get(e)},en.prototype.has=function(e){return ed(this,e).has(e)},en.prototype.set=function(e,t){var r=ed(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this},ei.prototype.clear=function(){this.__data__=new er,this.size=0},ei.prototype.delete=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r},ei.prototype.get=function(e){return this.__data__.get(e)},ei.prototype.has=function(e){return this.__data__.has(e)},ei.prototype.set=function(e,t){var r=this.__data__;if(r instanceof er){var n=r.__data__;if(!K||n.length<199)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new en(n)}return r.set(e,t),this.size=r.size,this};var el=function(e,t,r){for(var n=-1,i=Object(e),o=r(e),a=o.length;a--;){var s=o[++n];if(!1===t(i[s],s,i))break}return e};
1function eu(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":G&&G in Object(e)?function(e){var t=$.call(e,G),r=e[G];try{e[G]=void 0;var n=!0}catch(i){}var o=D.call(e);return n&&(t?e[G]=r:delete e[G]),o}(e):D.call(e)}function ec(e){return eC(e)&&eu(e)==f}function ed(e,t){var r,n=e.__data__;return("string"==(r=typeof t)||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==t:null===t)?n["string"==typeof t?"string":"hash"]:n.map}function eh(e,t){var r=null==e?void 0:e[t];return!(!e_(r)||M&&M in r)&&(eS(r)?I:b).test(function(e){if(null!=e){try{return B.call(e)}catch(t){}try{return e+""}catch(r){}}return""}(r))?r:void 0}function ep(e,t){var r=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==r||"symbol"!=r&&v.test(e))&&e>-1&&e%1==0&&e<t}function ef(e){var t=e&&e.constructor,r="function"==typeof t&&t.prototype||z;return e===r}function em(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var eg=(n=Y?function(e,t){return Y(e,"toString",{configurable:!0,enumerable:!1,value:function(){return t},writable:!0})}:eT,i=0,o=0,function(){var e=J(),t=16-(e-o);if(o=e,t>0){if(++i>=800)return arguments[0]}else i=0;return n.apply(void 0,arguments)});function eb(e,t){return e===t||e!=e&&t!=t}var ev=ec(function(){return arguments}())?ec:function(e){return eC(e)&&$.call(e,"callee")&&!U.call(e,"callee")},ey=Array.isArray;function ex(e){return null!=e&&ew(e.length)&&!eS(e)}var ek=X||function(){return!1};function eS(e){if(!e_(e))return!1;var t=eu(e);return t==m||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}function ew(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}function e_(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function eC(e){return null!=e&&"object"==typeof e}var eP=E?function(e){return E(e)}:function(e){return eC(e)&&ew(e.length)&&!!y[eu(e)]};function eA(e){return ex(e)?function(e,t){var r=ey(e),n=!r&&ev(e),i=!r&&!n&&ek(e),o=!r&&!n&&!i&&eP(e),a=r||n||i||o,s=a?function(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}(e.length,String):[],l=s.length;for(var u in e)(t||$.call(e,u))&&!(a&&("length"==u||i&&("offset"==u||"parent"==u)||o&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||ep(u,l)))&&s.push(u);return s}(e,!0):function(e){if(!e_(e))return function(e){var t=[];if(null!=e)for(var r in Object(e))t.push(r);return t}(e);var t=ef(e),r=[];for(var n in e)"constructor"==n&&(t||!$.call(e,n))||r.push(n);return r}(e)}var eE=(d=function(e,t,r,n){!function e(t,r,n,i,o){t!==r&&el(r,function(a,s){if(o||(o=new ei),e_(a))(function(e,t,r,n,i,o,a){var s=em(e,r),l=em(t,r),u=a.get(l);if(u){eo(e,r,u);return}var c=o?o(s,l,r+"",e,t,a):void 0,d=void 0===c;if(d){var h,p,f=ey(l),m=!f&&ek(l),b=!f&&!m&&eP(l);c=l,f||m||b?ey(s)?c=s:eC(s)&&ex(s)?c=function(e,t){var r=-1,n=e.length;for(t||(t=Array(n));++r<n;)t[r]=e[r];return t}(s):m?(d=!1,c=function(e,t){if(t)return e.slice();var r=e.length,n=W?W(r):new e.constructor(r);return e.copy(n),n}(l,!0)):b?(d=!1,p=new(h=l.buffer).constructor(h.byteLength),new O(p).set(new O(h)),c=new l.constructor(p,l.byteOffset,l.length)):c=[]:function(e){if(!eC(e)||eu(e)!=g)return!1;var t=N(e);if(null===t)return!0;var r=$.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&B.call(r)==F}(l)||ev(l)?(c=s,ev(s)?c=function(e,t,r,n){var i=!r;r||(r={});for(var o=-1,a=t.length;++o<a;){var s=t[o],l=n?n(r[s],e[s],s,r,e):void 0;void 0===l&&(l=e[s]),i?es(r,s,l):function(e,t,r){var n=e[t];$.call(e,t)&&eb(n,r)&&(void 0!==r||t in e)||es(e,t,r)}(r,s,l)}return r}(s,eA(s)):(!e_(s)||eS(s))&&(c="function"!=typeof l.constructor||ef(l)?{}:ee(N(l)))):d=!1}d&&(a.set(l,c),i(c,l,n,o,a),a.delete(l)),eo(e,r,c)})(t,r,s,n,e,i,o);else{var l=i?i(em(t,s),a,s+"",t,r,o):void 0;void 0===l&&(l=a),eo(t,s,l)}},eA)}(e,t,r,n)},eg((a=h=function(e,t){var r=-1,n=t.length,i=n>1?t[n-1]:void 0,o=n>2?t[2]:void 0;for(i=d.length>3&&"function"==typeof i?(n--,i):void 0,o&&function(e,t,r){if(!e_(r))return!1;var n=typeof t;return("number"==n?!!(ex(r)&&ep(t,r.length)):"string"==n&&(t in r))&&eb(r[t],e)}(t[0],t[1],o)&&(i=n<3?void 0:i,n=1),e=Object(e);++r<n;){var a=t[r];a&&d(e,a,r,i)}return e},s=Z((s=void 0,a.length-1),0),function(){for(var e=arguments,t=-1,r=Z(e.length-s,0),n=Array(r);++t<r;)n[t]=e[s+t];t=-1;for(var i=Array(s+1);++t<s;)i[t]=e[t];return i[s]=eT(n),function(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}(a,this,i)}),h+""));function eT(e){return e}e.exports=eE},6840:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_app",function(){return r(2973)}])},2973:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return dm}});var n,i,o,a,s,l,u,c,d,h,p,f,m,g,b,v,y,x,k,S,w,_,C,P,A=r(5893);r(4744);var E=r(917),T=`
2  :root {
3    --chakra-vh: 100vh;
4  }
5
6  @supports (height: -webkit-fill-available) {
7    :root {
8      --chakra-vh: -webkit-fill-available;
9    }
10  }
11
12  @supports (height: -moz-fill-available) {
13    :root {
14      --chakra-vh: -moz-fill-available;
15    }
16  }
17
18  @supports (height: 100dvh) {
19    :root {
20      --chakra-vh: 100dvh;
21    }
22  }
23`,j=()=>(0,A.jsx)(E.xB,{styles:T}),z=()=>(0,A.jsx)(E.xB,{styles:`
24      html {
25        line-height: 1.5;
26        -webkit-text-size-adjust: 100%;
27        font-family: system-ui, sans-serif;
28        -webkit-font-smoothing: antialiased;
29        text-rendering: optimizeLegibility;
30        -moz-osx-font-smoothing: grayscale;
31        touch-action: manipulation;
32      }
33
34      body {
35        position: relative;
36        min-height: 100%;
37        font-feature-settings: 'kern';
38      }
39
40      *,
41      *::before,
42      *::after {
43        border-width: 0;
44        border-style: solid;
45        box-sizing: border-box;
46      }
47
48      main {
49        display: block;
50      }
51
52      hr {
53        border-top-width: 1px;
54        box-sizing: content-box;
55        height: 0;
56        overflow: visible;
57      }
58
59      pre,
60      code,
61      kbd,
62      samp {
63        font-family: SFMono-Regular,  Menlo, Monaco, Consolas, monospace;
64        font-size: 1em;
65      }
66
67      a {
68        background-color: transparent;
69        color: inherit;
70        text-decoration: inherit;
71      }
72
73      abbr[title] {
74        border-bottom: none;
75        text-decoration: underline;
76        -webkit-text-decoration: underline dotted;
77        text-decoration: underline dotted;
78      }
79
80      b,
81      strong {
82        font-weight: bold;
83      }
84
85      small {
86        font-size: 80%;
87      }
88
89      sub,
90      sup {
91        font-size: 75%;
92        line-height: 0;
93        position: relative;
94        vertical-align: baseline;
95      }
96
97      sub {
98        bottom: -0.25em;
99      }
100
101      sup {
102        top: -0.5em;
103      }
104
105      img {
106        border-style: none;
107      }
108
109      button,
110      input,
111      optgroup,
112      select,
113      textarea {
114        font-family: inherit;
115        font-size: 100%;
116        line-height: 1.15;
117        margin: 0;
118      }
119
120      button,
121      input {
122        overflow: visible;
123      }
124
125      button,
126      select {
127        text-transform: none;
128      }
129
130      button::-moz-focus-inner,
131      [type="button"]::-moz-focus-inner,
132      [type="reset"]::-moz-focus-inner,
133      [type="submit"]::-moz-focus-inner {
134        border-style: none;
135        padding: 0;
136      }
137
138      fieldset {
139        padding: 0.35em 0.75em 0.625em;
140      }
141
142      legend {
143        box-sizing: border-box;
144        color: inherit;
145        display: table;
146        max-width: 100%;
147        padding: 0;
148        white-space: normal;
149      }
150
151      progress {
152        vertical-align: baseline;
153      }
154
155      textarea {
156        overflow: auto;
157      }
158
159      [type="checkbox"],
160      [type="radio"] {
161        box-sizing: border-box;
162        padding: 0;
163      }
164
165      [type="number"]::-webkit-inner-spin-button,
166      [type="number"]::-webkit-outer-spin-button {
167        -webkit-appearance: none !important;
168      }
169
170      input[type="number"] {
171        -moz-appearance: textfield;
172      }
173
174      [type="search"] {
175        -webkit-appearance: textfield;
176        outline-offset: -2px;
177      }
178
179      [type="search"]::-webkit-search-decoration {
180        -webkit-appearance: none !important;
181      }
182
183      ::-webkit-file-upload-button {
184        -webkit-appearance: button;
185        font: inherit;
186      }
187
188      details {
189        display: block;
190      }
191
192      summary {
193        display: list-item;
194      }
195
196      template {
197        display: none;
198      }
199
200      [hidden] {
201        display: none !important;
202      }
203
204      body,
205      blockquote,
206      dl,
207      dd,
208      h1,
209      h2,
210      h3,
211      h4,
212      h5,
213      h6,
214      hr,
215      figure,
216      p,
217      pre {
218        margin: 0;
219      }
220
221      button {
222        background: transparent;
223        padding: 0;
224      }
225
226      fieldset {
227        margin: 0;
228        padding: 0;
229      }
230
231      ol,
232      ul {
233        margin: 0;
234        padding: 0;
235      }
236
237      textarea {
238        resize: vertical;
239      }
240
241      button,
242      [role="button"] {
243        cursor: pointer;
244      }
245
246      button::-moz-focus-inner {
247        border: 0 !important;
248      }
249
250      table {
251        border-collapse: collapse;
252      }
253
254      h1,
255      h2,
256      h3,
257      h4,
258      h5,
259      h6 {
260        font-size: inherit;
261        font-weight: inherit;
262      }
263
264      button,
265      input,
266      optgroup,
267      select,
268      textarea {
269        padding: 0;
270        line-height: inherit;
271        color: inherit;
272      }
273
274      img,
275      svg,
276      video,
277      canvas,
278      audio,
279      iframe,
280      embed,
281      object {
282        display: block;
283      }
284
285      img,
286      video {
287        max-width: 100%;
288        height: auto;
289      }
290
291      [data-js-focus-visible] :focus:not([data-focus-visible-added]):not
291([data-focus-visible-disabled]) {
292        outline: none;
293        box-shadow: none;
294      }
295
296      select::-ms-expand {
297        display: none;
298      }
299
300      ${T}
301    `}),R=r(5227),[B,$]=(0,R.k)({strict:!1,name:"PortalManagerContext"});function M(e){let{children:t,zIndex:r}=e;return(0,A.jsx)(B,{value:{zIndex:r},children:t})}M.displayName="PortalManager";var D=r(2498),F=r(7294),I=r(3179),V=r(1759),L=r(6597),O=r(1683);function W(e){let{cssVarsRoot:t,theme:r,children:n}=e,i=(0,F.useMemo)(()=>(0,I.c0)(r),[r]);return(0,A.jsxs)(O.a,{theme:i,children:[(0,A.jsx)(N,{root:t}),n]})}function N({root:e=":host, :root"}){let t=[e,"[data-theme]"].join(",");return(0,A.jsx)(E.xB,{styles:e=>({[t]:e.__cssVars})})}var[H,U]=function(e={}){let{strict:t=!0,errorMessage:r="useContext: `context` is undefined. Seems you forgot to wrap component within the Provider",name:n}=e,i=(0,F.createContext)(void 0);return i.displayName=n,[i.Provider,function e(){var n;let o=(0,F.useContext)(i);if(!o&&t){let a=Error(r);throw a.name="ContextError",null==(n=Error.captureStackTrace)||n.call(Error,a,e),a}return o},i]}({name:"StylesContext",errorMessage:"useStyles: `styles` is undefined. Seems you forgot to wrap the components in `<StylesProvider />` "});function q(){let{colorMode:e}=(0,D.If)();return(0,A.jsx)(E.xB,{styles:t=>{let r=(0,V.Wf)(t,"styles.global"),n=(0,L.Pu)(r,{theme:t,colorMode:e});if(!n)return;let i=(0,I.iv)(n)(t);return i}})}var G={light:"chakra-ui-light",dark:"chakra-ui-dark"},Y="chakra-ui-color-mode",X={ssr:!1,type:"localStorage",get(e){let t;if(!(null==globalThis?void 0:globalThis.document))return e;try{t=localStorage.getItem(Y)||e}catch(r){}return t||e},set(e){try{localStorage.setItem(Y,e)}catch(t){}}},Z=r(6245),J=()=>{};function K(e,t){return"cookie"===e.type&&e.ssr?e.get(t):t}function Q(e){let{value:t,children:r,options:{useSystemColorMode:n,initialColorMode:i,disableTransitionOnChange:o}={},colorModeManager:a=X}=e,s="dark"===i?"dark":"light",[l,u]=(0,F.useState)(()=>K(a,s)),[c,d]=(0,F.useState)(()=>K(a)),{getSystemTheme:h,setClassName:p,setDataset:f,addListener:m}=(0,F.useMemo)(()=>(function(e={}){let{preventTransition:t=!0}=e,r={setDataset:e=>{let n=t?r.preventTransition():void 0;document.documentElement.dataset.theme=e,document.documentElement.style.colorScheme=e,null==n||n()},setClassName(e){document.body.classList.add(e?G.dark:G.light),document.body.classList.remove(e?G.light:G.dark)},query:()=>window.matchMedia("(prefers-color-scheme: dark)"),getSystemTheme(e){var t;let n=null!=(t=r.query().matches)?t:"dark"===e;return n?"dark":"light"},addListener(e){let t=r.query(),n=t=>{e(t.matches?"dark":"light")};return"function"==typeof t.addListener?t.addListener(n):t.addEventListener("change",n),()=>{"function"==typeof t.removeListener?t.removeListener(n):t.removeEventListener("change",n)}},preventTransition(){let e=document.createElement("style");return e.appendChild(document.createTextNode("*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),document.head.appendChild(e),()=>{window.getComputedStyle(document.body),requestAnimationFrame(()=>{requestAnimationFrame(()=>{document.head.removeChild(e)})})}}};return r})({preventTransition:o}),[o]),g="system"!==i||l?l:c,b=(0,F.useCallback)(e=>{let t="system"===e?h():e;u(t),p("dark"===t),f(t),a.set(t)},[a,h,p,f]);(0,Z.G)(()=>{"system"===i&&d(h())},[]),(0,F.useEffect)(()=>{let e=a.get();if(e){b(e);return}if("system"===i){b("system");return}b(s)},[a,s,i,b]);let v=(0,F.useCallback)(()=>{b("dark"===g?"light":"dark")},[g,b]);(0,F.useEffect)(()=>{if(n)return m(b)},[n,m,b]);let y=(0,F.useMemo)(()=>({colorMode:null!=t?t:g,toggleColorMode:t?J:v,setColorMode:t?J:b,forced:void 0!==t}),[g,v,b,t]);return(0,A.jsx)(D.kc.Provider,{value:y,children:r})}Q.displayName="ColorModeProvider";var ee=(0,F.createContext)({getDocument:()=>document,getWindow:()=>window});function et(e){let{children:t,environment:r,disabled:n}=e,i=(0,F.useRef)(null),o=(0,F.useMemo)(()=>r||{getDocument:()=>{var e,t;return null!=(t=null==(e=i.current)?void 0:e.ownerDocument)?t:document},getWindow:()=>{var e,t;return null!=(t=null==(e=i.current)?void 0:e.ownerDocument.defaultView)?t:window}},[r]);return(0,A.jsxs)(ee.Provider,{value:o,children:[t,(!n||!r)&&(0,A.jsx)("span",{id:"__chakra_env",hidden:!0,ref:i})]})}ee.displayName="EnvironmentContext",et.displayName="EnvironmentProvider";var er=e=>{let{children:t,colorModeManager:r,portalZIndex:n,resetCSS:i=!0,theme:o={},environment:a,cssVarsRoot:s,disableEnvironment:l}=e,u=(0,A.jsx)(et,{environment:a,disabled:l,children:t});return(0,A.jsx)(W,{theme:o,cssVarsRoot:s,children:(0,A.jsxs)(Q,{colorModeManager:r,options:o.config,children:[i?(0,A.jsx)(z,{}):(0,A.jsx)(j,{}),(0,A.jsx)(q,{}),n?(0,A.jsx)(M,{zIndex:n,children:u}):u]})})},en={letterSpacings:{tighter:"-0.05em",tight:"-0.025em",normal:"0",wide:"0.025em",wider:"0.05em",widest:"0.1em"},lineHeights:{normal:"normal",none:1,shorter:1.25,short:1.375,base:1.5,tall:1.625,taller:"2",3:".75rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem"},fontWeights:{hairline:100,thin:200,light:300,normal:400,medium:500,semibold:600,bold:700,extrabold:800,black:900},fonts:{heading:'-apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',body:'-apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',mono:'SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace'},fontSizes:{"3xs":"0.45rem","2xs":"0.625rem",xs:"0.75rem",sm:"0.875rem",md:"1rem",lg:"1.125rem",xl:"1.25rem","2xl":"1.5rem","3xl":"1.875rem","4xl":"2.25rem","5xl":"3rem","6xl":"3.75rem","7xl":"4.5rem","8xl":"6rem","9xl":"8rem"}},ei={px:"1px",.5:"0.125rem",1:"0.25rem",1.5:"0.375rem",2:"0.5rem",2.5:"0.625rem",3:"0.75rem",3.5:"0.875rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem",12:"3rem",14:"3.5rem",16:"4rem",20:"5rem",24:"6rem",28:"7rem",32:"8rem",36:"9rem",40:"10rem",44:"11rem",48:"12rem",52:"13rem",56:"14rem",60:"15rem",64:"16rem",72:"18rem",80:"20rem",96:"24rem"},eo={...ei,max:"max-content",min:"min-content",full:"100%","3xs":"14rem","2xs":"16rem",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem","8xl":"90rem",prose:"60ch",container:{sm:"640px",md:"768px",lg:"1024px",xl:"1280px"}},ea={breakpoints:{base:"0em",sm:"30em",md:"48em",lg:"62em",xl:"80em","2xl":"96em"},zIndices:{hide:-1,auto:"auto",base:0,docked:10,dropdown:1e3,sticky:1100,banner:1200,overlay:1300,modal:1400,popover:1500,skipLink:1600,toast:1700,tooltip:1800},radii:{none:"0",sm:"0.125rem",base:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"}
301,blur:{none:0,sm:"4px",base:"8px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},colors:{transparent:"transparent",current:"currentColor",black:"#000000",white:"#FFFFFF",whiteAlpha:{50:"rgba(255, 255, 255, 0.04)",100:"rgba(255, 255, 255, 0.06)",200:"rgba(255, 255, 255, 0.08)",300:"rgba(255, 255, 255, 0.16)",400:"rgba(255, 255, 255, 0.24)",500:"rgba(255, 255, 255, 0.36)",600:"rgba(255, 255, 255, 0.48)",700:"rgba(255, 255, 255, 0.64)",800:"rgba(255, 255, 255, 0.80)",900:"rgba(255, 255, 255, 0.92)"},blackAlpha:{50:"rgba(0, 0, 0, 0.04)",100:"rgba(0, 0, 0, 0.06)",200:"rgba(0, 0, 0, 0.08)",300:"rgba(0, 0, 0, 0.16)",400:"rgba(0, 0, 0, 0.24)",500:"rgba(0, 0, 0, 0.36)",600:"rgba(0, 0, 0, 0.48)",700:"rgba(0, 0, 0, 0.64)",800:"rgba(0, 0, 0, 0.80)",900:"rgba(0, 0, 0, 0.92)"},gray:{50:"#F7FAFC",100:"#EDF2F7",200:"#E2E8F0",300:"#CBD5E0",400:"#A0AEC0",500:"#718096",600:"#4A5568",700:"#2D3748",800:"#1A202C",900:"#171923"},red:{50:"#FFF5F5",100:"#FED7D7",200:"#FEB2B2",300:"#FC8181",400:"#F56565",500:"#E53E3E",600:"#C53030",700:"#9B2C2C",800:"#822727",900:"#63171B"},orange:{50:"#FFFAF0",100:"#FEEBC8",200:"#FBD38D",300:"#F6AD55",400:"#ED8936",500:"#DD6B20",600:"#C05621",700:"#9C4221",800:"#7B341E",900:"#652B19"},yellow:{50:"#FFFFF0",100:"#FEFCBF",200:"#FAF089",300:"#F6E05E",400:"#ECC94B",500:"#D69E2E",600:"#B7791F",700:"#975A16",800:"#744210",900:"#5F370E"},green:{50:"#F0FFF4",100:"#C6F6D5",200:"#9AE6B4",300:"#68D391",400:"#48BB78",500:"#38A169",600:"#2F855A",700:"#276749",800:"#22543D",900:"#1C4532"},teal:{50:"#E6FFFA",100:"#B2F5EA",200:"#81E6D9",300:"#4FD1C5",400:"#38B2AC",500:"#319795",600:"#2C7A7B",700:"#285E61",800:"#234E52",900:"#1D4044"},blue:{50:"#ebf8ff",100:"#bee3f8",200:"#90cdf4",300:"#63b3ed",400:"#4299e1",500:"#3182ce",600:"#2b6cb0",700:"#2c5282",800:"#2a4365",900:"#1A365D"},cyan:{50:"#EDFDFD",100:"#C4F1F9",200:"#9DECF9",300:"#76E4F7",400:"#0BC5EA",500:"#00B5D8",600:"#00A3C4",700:"#0987A0",800:"#086F83",900:"#065666"},purple:{50:"#FAF5FF",100:"#E9D8FD",200:"#D6BCFA",300:"#B794F4",400:"#9F7AEA",500:"#805AD5",600:"#6B46C1",700:"#553C9A",800:"#44337A",900:"#322659"},pink:{50:"#FFF5F7",100:"#FED7E2",200:"#FBB6CE",300:"#F687B3",400:"#ED64A6",500:"#D53F8C",600:"#B83280",700:"#97266D",800:"#702459",900:"#521B41"},linkedin:{50:"#E8F4F9",100:"#CFEDFB",200:"#9BDAF3",300:"#68C7EC",400:"#34B3E4",500:"#00A0DC",600:"#008CC9",700:"#0077B5",800:"#005E93",900:"#004471"},facebook:{50:"#E8F4F9",100:"#D9DEE9",200:"#B7C2DA",300:"#6482C0",400:"#4267B2",500:"#385898",600:"#314E89",700:"#29487D",800:"#223B67",900:"#1E355B"},messenger:{50:"#D0E6FF",100:"#B9DAFF",200:"#A2CDFF",300:"#7AB8FF",400:"#2E90FF",500:"#0078FF",600:"#0063D1",700:"#0052AC",800:"#003C7E",900:"#002C5C"},whatsapp:{50:"#dffeec",100:"#b9f5d0",200:"#90edb3",300:"#65e495",400:"#3cdd78",500:"#22c35e",600:"#179848",700:"#0c6c33",800:"#01421c",900:"#001803"},twitter:{50:"#E5F4FD",100:"#C8E9FB",200:"#A8DCFA",300:"#83CDF7",400:"#57BBF5",500:"#1DA1F2",600:"#1A94DA",700:"#1681BF",800:"#136B9E",900:"#0D4D71"},telegram:{50:"#E3F2F9",100:"#C5E4F3",200:"#A2D4EC",300:"#7AC1E4",400:"#47A9DA",500:"#0088CC",600:"#007AB8",700:"#006BA1",800:"#005885",900:"#003F5E"}},...en,sizes:eo,shadows:{xs:"0 0 0 1px rgba(0, 0, 0, 0.05)",sm:"0 1px 2px 0 rgba(0, 0, 0, 0.05)",base:"0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06)",md:"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)",lg:"0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)",xl:"0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)","2xl":"0 25px 50px -12px rgba(0, 0, 0, 0.25)",outline:"0 0 0 3px rgba(66, 153, 225, 0.6)",inner:"inset 0 2px 4px 0 rgba(0,0,0,0.06)",none:"none","dark-lg":"rgba(0, 0, 0, 0.1) 0px 0px 0px 1px, rgba(0, 0, 0, 0.2) 0px 5px 10px, rgba(0, 0, 0, 0.4) 0px 15px 40px"},space:ei,borders:{none:0,"1px":"1px solid","2px":"2px solid","4px":"4px solid","8px":"8px solid"},transition:{property:{common:"background-color, border-color, color, fill, stroke, opacity, box-shadow, transform",colors:"background-color, border-color, color, fill, stroke",dimensions:"width, height",position:"left, right, top, bottom",background:"background-color, background-image, background-position"},easing:{"ease-in":"cubic-bezier(0.4, 0, 1, 1)","ease-out":"cubic-bezier(0, 0, 0.2, 1)","ease-in-out":"cubic-bezier(0.4, 0, 0.2, 1)"},duration:{"ultra-fast":"50ms",faster:"100ms",fast:"150ms",normal:"200ms",slow:"300ms",slower:"400ms","ultra-slow":"500ms"}}};function es(e,t={}){let r=!1;function n(t){let r=["container","root"].includes(null!=t?t:"")?[e]:[e,t],n=r.filter(Boolean).join("__"),i=`chakra-${n}`,o={className:i,selector:`.${i}`,toString:()=>t};return o}return{parts:function(...i){for(let o of(!function(){if(!r){r=!0;return}throw Error("[anatomy] .part(...) should only be called once. Did you mean to use .extend(...) ?")}(),i))t[o]=n(o);return es(e,t)},toPart:n,extend:function(...r){for(let i of r)i in t||(t[i]=n(i));return es(e,t)},selectors:function(){let e=Object.fromEntries(Object.entries(t).map(([e,t])=>[e,t.selector]));return e},classnames:function(){let e=Object.fromEntries(Object.entries(t).map(([e,t])=>[e,t.className]));return e},get keys(){return Object.keys(t)},__type:{}}}var el=es("accordion").parts("root","container","button","panel").extend("icon"),eu=es("alert").parts("title","description","container").extend("icon","spinner"),ec=es("avatar").parts("label","badge","container").extend("excessLabel","group"),ed=es("breadcrumb").parts("link","item","container").extend("separator");es("button").parts();var eh=es("checkbox").parts("control","icon","container").extend("label");es("progress").parts("track","filledTrack").extend("label");var ep=es("drawer").parts("overlay","dialogContainer","dialog").extend("header","closeButton","body","footer"),ef=es("editable").parts("preview","input","textarea"),em=es("form").parts("container","requiredIndicator","helperText"),eg=es("formError").parts("text","icon"),eb=es("input").parts("addon","field","element"),ev=es("list").parts("container","item","icon"),ey=es("menu").parts("button","list","item").extend("groupTitle","command","divider"),ex=es("modal").parts("overlay","dialogContainer","dialog").extend("header","closeButton","body","footer"),ek=es("numberinput").parts("root","field","stepperGroup","stepper");es("pininput").parts("field");var eS=es("popover").parts("content","header","body","footer").extend("popper","arrow","closeButton"),ew=es("progress").parts("label","filledTrack","track"),e_=es("radio").parts("container","control","label"),eC=es("select").parts("field","icon"),eP=es("slider").parts("container","track","thumb","filledTrack","mark"),eA=es("stat").parts("container","label","helpText","number","icon"),eE=es("switch").parts("container","track","thumb"),eT=es("table").parts("table","thead","tbody","tr","th","td","tfoot","caption"),ej=es("tabs").parts("root","tab","tablist","tabpanel","tabpanels","indicator"),ez=es("tag").parts("container","label","closeButton"),eR=es("card").parts("container","header","body","footer");function eB(e){let t=function(e,t="-"){return e.replace(/\s+/g,t)}(e.toString());return t.includes("\\.")?e:Number.isInteger(parseFloat(e.toString()))?e:t.replace(".","\\.")}function e$(e,t){var r,n;let i=function(e,t=""){return`--${function(e,t=""){return[t,eB(e)].filter(
301Boolean).join("-")}(e,t)}`}(e,null==t?void 0:t.prefix);return{variable:i,reference:(r="string"==typeof(n=null==t?void 0:t.fallback)?n:null==n?void 0:n.reference,`var(${eB(i)}${r?`, ${r}`:""})`)}}var eM=r(5432);function eD(e){return(0,eM.Kn)(e)&&e.reference?e.reference:String(e)}var eF=(e,...t)=>t.map(eD).join(` ${e} `).replace(/calc/g,""),eI=(...e)=>`calc(${eF("+",...e)})`,eV=(...e)=>`calc(${eF("-",...e)})`,eL=(...e)=>`calc(${eF("*",...e)})`,eO=(...e)=>`calc(${eF("/",...e)})`,eW=e=>{let t=eD(e);return null==t||Number.isNaN(parseFloat(t))?eL(t,-1):String(t).startsWith("-")?String(t).slice(1):`-${t}`},eN=Object.assign(e=>({add:(...t)=>eN(eI(e,...t)),subtract:(...t)=>eN(eV(e,...t)),multiply:(...t)=>eN(eL(e,...t)),divide:(...t)=>eN(eO(e,...t)),negate:()=>eN(eW(e)),toString:()=>e.toString()}),{add:eI,subtract:eV,multiply:eL,divide:eO,negate:eW}),{defineMultiStyleConfig:eH,definePartsStyle:eU}=(0,I.D)(eE.keys),eq=e$("switch-track-width"),eG=e$("switch-track-height"),eY=e$("switch-track-diff"),eX=eN.subtract(eq,eG),eZ=e$("switch-thumb-x"),eJ=e$("switch-bg"),eK=(0,I.k0)(e=>{let{colorScheme:t}=e;return{borderRadius:"full",p:"0.5",width:[eq.reference],height:[eG.reference],transitionProperty:"common",transitionDuration:"fast",[eJ.variable]:"colors.gray.300",_dark:{[eJ.variable]:"colors.whiteAlpha.400"},_focusVisible:{boxShadow:"outline"},_disabled:{opacity:.4,cursor:"not-allowed"},_checked:{[eJ.variable]:`colors.${t}.500`,_dark:{[eJ.variable]:`colors.${t}.200`}},bg:eJ.reference}}),eQ=(0,I.k0)({bg:"white",transitionProperty:"transform",transitionDuration:"normal",borderRadius:"inherit",width:[eG.reference],height:[eG.reference],_checked:{transform:`translateX(${eZ.reference})`}}),e0=eU(e=>({container:{[eY.variable]:eX,[eZ.variable]:eY.reference,_rtl:{[eZ.variable]:eN(eY).negate().toString()}},track:eK(e),thumb:eQ})),e1=eH({baseStyle:e0,sizes:{sm:eU({container:{[eq.variable]:"1.375rem",[eG.variable]:"sizes.3"}}),md:eU({container:{[eq.variable]:"1.875rem",[eG.variable]:"sizes.4"}}),lg:eU({container:{[eq.variable]:"2.875rem",[eG.variable]:"sizes.6"}})},defaultProps:{size:"md",colorScheme:"blue"}});function e5(e,t){return r=>"dark"===r.colorMode?t:e}function e2(e){let{orientation:t,vertical:r,horizontal:n}=e;return t?"vertical"===t?r:n:{}}var{defineMultiStyleConfig:e4,definePartsStyle:e3}=(0,I.D)(eT.keys),e6=e3({table:{fontVariantNumeric:"lining-nums tabular-nums",borderCollapse:"collapse",width:"full"},th:{fontFamily:"heading",fontWeight:"bold",textTransform:"uppercase",letterSpacing:"wider",textAlign:"start"},td:{textAlign:"start"},caption:{mt:4,fontFamily:"heading",textAlign:"center",fontWeight:"medium"}}),e9=(0,I.k0)({"&[data-is-numeric=true]":{textAlign:"end"}}),e7={simple:e3(e=>{let{colorScheme:t}=e;return{th:{color:e5("gray.600","gray.400")(e),borderBottom:"1px",borderColor:e5(`${t}.100`,`${t}.700`)(e),...e9},td:{borderBottom:"1px",borderColor:e5(`${t}.100`,`${t}.700`)(e),...e9},caption:{color:e5("gray.600","gray.100")(e)},tfoot:{tr:{"&:last-of-type":{th:{borderBottomWidth:0}}}}}}),striped:e3(e=>{let{colorScheme:t}=e;return{th:{color:e5("gray.600","gray.400")(e),borderBottom:"1px",borderColor:e5(`${t}.100`,`${t}.700`)(e),...e9},td:{borderBottom:"1px",borderColor:e5(`${t}.100`,`${t}.700`)(e),...e9},caption:{color:e5("gray.600","gray.100")(e)},tbody:{tr:{"&:nth-of-type(odd)":{"th, td":{borderBottomWidth:"1px",borderColor:e5(`${t}.100`,`${t}.700`)(e)},td:{background:e5(`${t}.100`,`${t}.700`)(e)}}}},tfoot:{tr:{"&:last-of-type":{th:{borderBottomWidth:0}}}}}}),unstyled:(0,I.k0)({})},e8=e4({baseStyle:e6,variants:e7,sizes:{sm:e3({th:{px:"4",py:"1",lineHeight:"4",fontSize:"xs"},td:{px:"4",py:"2",fontSize:"sm",lineHeight:"4"},caption:{px:"4",py:"2",fontSize:"xs"}}),md:e3({th:{px:"6",py:"3",lineHeight:"4",fontSize:"xs"},td:{px:"6",py:"4",lineHeight:"5"},caption:{px:"6",py:"2",fontSize:"sm"}}),lg:e3({th:{px:"8",py:"4",lineHeight:"5",fontSize:"sm"},td:{px:"8",py:"5",lineHeight:"6"},caption:{px:"6",py:"2",fontSize:"md"}})},defaultProps:{variant:"simple",size:"md",colorScheme:"gray"}});function te(e,t,r){return Math.min(Math.max(e,r),t)}
301var tt=class extends Error{constructor(e){super(`Failed to parse color: "${e}"`)}};function tr(e){if("string"!=typeof e)throw new tt(e);if("transparent"===e.trim().toLowerCase())return[0,0,0,0];let t=e.trim();t=tc.test(e)?function(e){let t=e.toLowerCase().trim(),r=ti[function(e){let t=5381,r=e.length;for(;r;)t=33*t^e.charCodeAt(--r);return(t>>>0)%2341}(t)];if(!r)throw new tt(e);return`#${r}`}(e):e;let r=ta.exec(t);if(r){let n=Array.from(r).slice(1);return[...n.slice(0,3).map(e=>parseInt(to(e,2),16)),parseInt(to(n[3]||"f",2),16)/255]}let i=ts.exec(t);if(i){let o=Array.from(i).slice(1);return[...o.slice(0,3).map(e=>parseInt(e,16)),parseInt(o[3]||"ff",16)/255]}let a=tl.exec(t);if(a){let s=Array.from(a).slice(1);return[...s.slice(0,3).map(e=>parseInt(e,10)),parseFloat(s[3]||"1")]}let l=tu.exec(t);if(l){let[u,c,d,h]=Array.from(l).slice(1).map(parseFloat);if(te(0,100,c)!==c||te(0,100,d)!==d)throw new tt(e);return[...th(u,c,d),Number.isNaN(h)?1:h]}throw new tt(e)}let tn=e=>parseInt(e.replace(/_/g,""),36),ti="1q29ehhb 1n09sgk7 1kl1ekf_ _yl4zsno 16z9eiv3 1p29lhp8 _bd9zg04 17u0____ _iw9zhe5 _to73___ _r45e31e _7l6g016 _jh8ouiv _zn3qba8 1jy4zshs 11u87k0u 1ro9yvyo 1aj3xael 1gz9zjz0 _3w8l4xo 1bf1ekf_ _ke3v___ _4rrkb__ 13j776yz _646mbhl _nrjr4__ _le6mbhl 1n37ehkb _m75f91n _qj3bzfz 1939yygw 11i5z6x8 _1k5f8xs 1509441m 15t5lwgf _ae2th1n _tg1ugcv 1lp1ugcv 16e14up_ _h55rw7n _ny9yavn _7a11xb_ 1ih442g9 _pv442g9 1mv16xof 14e6y7tu 1oo9zkds 17d1cisi _4v9y70f _y98m8kc 1019pq0v 12o9zda8 _348j4f4 1et50i2o _8epa8__ _ts6senj 1o350i2o 1mi9eiuo 1259yrp0 1ln80gnw _632xcoy 1cn9zldc _f29edu4 1n490c8q _9f9ziet 1b94vk74 _m49zkct 1kz6s73a 1eu9dtog _q58s1rz 1dy9sjiq __u89jo3 _aj5nkwg _ld89jo3 13h9z6wx _qa9z2ii _l119xgq _bs5arju 1hj4nwk9 1qt4nwk9 1ge6wau6 14j9zlcw 11p1edc_ _ms1zcxe _439shk6 _jt9y70f _754zsow 1la40eju _oq5p___ _x279qkz 1fa5r3rv _yd2d9ip _424tcku _8y1di2_ _zi2uabw _yy7rn9h 12yz980_ __39ljp6 1b59zg0x _n39zfzp 1fy9zest _b33k___ _hp9wq92 1il50hz4 _io472ub _lj9z3eo 19z9ykg0 _8t8iu3a 12b9bl4a 1ak5yw0o _896v4ku _tb8k8lv _s59zi6t _c09ze0p 1lg80oqn 1id9z8wb _238nba5 1kq6wgdi _154zssg _tn3zk49 _da9y6tc 1sg7cv4f _r12jvtt 1gq5fmkz 1cs9rvci _lp9jn1c _xw1tdnb 13f9zje6 16f6973h _vo7ir40 _bt5arjf _rc45e4t _hr4e100 10v4e100 _hc9zke2 _w91egv_ _sj2r1kk 13c87yx8 _vqpds__ _ni8ggk8 _tj9yqfb 1ia2j4r4 _7x9b10u 1fc9ld4j 1eq9zldr _5j9lhpx _ez9zl6o _md61fzm".split(" ").reduce((e,t)=>{let r=tn(t.substring(0,3)),n=tn(t.substring(3)).toString(16),i="";for(let o=0;o<6-n.length;o++)i+="0";return e[r]=`${i}${n}`,e},{}),to=(e,t)=>Array.from(Array(t)).map(()=>e).join(""),ta=RegExp(`^#${to("([a-f0-9])",3)}([a-f0-9])?$`,"i"),ts=RegExp(`^#${to("([a-f0-9]{2})",3)}([a-f0-9]{2})?$`,"i"),tl=RegExp(`^rgba?\\(\\s*(\\d+)\\s*${to(",\\s*(\\d+)\\s*",2)}(?:,\\s*([\\d.]+))?\\s*\\)$`,"i"),tu=/^hsla?\(\s*([\d.]+)\s*,\s*([\d.]+)%\s*,\s*([\d.]+)%(?:\s*,\s*([\d.]+))?\s*\)$/i,tc=/^[a-z]+$/i,td=e=>Math.round(255*e),th=(e,t,r)=>{let n=r/100;if(0===t)return[n,n,n].map(td);let i=(e%360+360)%360/60,o=(1-Math.abs(2*n-1))*(t/100),a=o*(1-Math.abs(i%2-1)),s=0,l=0,u=0;i>=0&&i<1?(s=o,l=a):i>=1&&i<2?(s=a,l=o):i>=2&&i<3?(l=o,u=a):i>=3&&i<4?(l=a,u=o):i>=4&&i<5?(s=a,u=o):i>=5&&i<6&&(s=o,u=a);let c=n-o/2,d=s+c,h=l+c,p=u+c;return[d,h,p].map(td)};var tp=e=>0===Object.keys(e).length,tf=(e,t,r)=>{let n=function(e,t,r,n,i){for(t=t.split?t.split("."):t,n=0;n<t.length;n++)e=e?e[t[n]]:i;return e===i?r:e}(e,`colors.${t}`,t);try{return!function(e){let[t,r,n,i]=tr(e),o=e=>{let t=te(0,255,e).toString(16);return 1===t.length?`0${t}`:t};o(t),o(r),o(n),i<1&&o(Math.round(255*i))}(n),n}catch{return null!=r?r:"#000000"}},tm=e=>{let[t,r,n]=tr(e);return(299*t+587*r+114*n)/1e3},tg=e=>t=>{let r=tf(t,e),n=tm(r);return n<128?"dark":"light"},tb=e=>t=>"dark"===tg(e)(t),tv=(e,t)=>r=>{let n=tf(r,e);return function(e,t){let[r,n,i,o]=tr(e);return`rgba(${te(0,255,r).toFixed()}, ${te(0,255,n).toFixed()}, ${te(0,255,i).toFixed()}, ${parseFloat(te(0,1,o-t).toFixed(3))})`}(n,1-t)};function ty(e="1rem",t="rgba(255, 255, 255, 0.15)"){return{backgroundImage:`linear-gradient(
302    45deg,
303    ${t} 25%,
304    transparent 25%,
305    transparent 50%,
306    ${t} 50%,
307    ${t} 75%,
308    transparent 75%,
309    transparent
310  )`,backgroundSize:`${e} ${e}`}}var tx=()=>`#${Math.floor(16777215*Math.random()).toString(16).padEnd(6,"0")}`,tk=(0,I.gJ)("tabs-color"),tS=(0,I.gJ)("tabs-bg"),tw=(0,I.gJ)("tabs-border-color"),{defineMultiStyleConfig:t_,definePartsStyle:tC}=(0,I.D)(ej.keys),tP=(0,I.k0)(e=>{let{orientation:t}=e;return{display:"vertical"===t?"flex":"block"}}),tA=(0,I.k0)(e=>{let{isFitted:t}=e;return{flex:t?1:void 0,transitionProperty:"common",transitionDuration:"normal",_focusVisible:{zIndex:1,boxShadow:"outline"},_disabled:{cursor:"not-allowed",opacity:.4}}}),tE=(0,I.k0)(e=>{let{align:t="start",orientation:r}=e;return{justifyContent:({end:"flex-end",center:"center",start:"flex-start"})[t],flexDirection:"vertical"===r?"column":"row"}}),tT=(0,I.k0)({p:4}),tj=t_({baseStyle:tC(e=>({root:tP(e),tab:tA(e),tablist:tE(e),tabpanel:tT})),sizes:{sm:tC({tab:{py:1,px:4,fontSize:"sm"}}),md:tC({tab:{fontSize:"md",py:2,px:4}}),lg:tC({tab:{fontSize:"lg",py:3,px:4}})},variants:{line:tC(e=>{let{colorScheme:t,orientation:r}=e,n="vertical"===r?"borderStart":"borderBottom";return{tablist:{[n]:"2px solid",borderColor:"inherit"},tab:{[n]:"2px solid",borderColor:"transparent",["vertical"===r?"marginStart":"marginBottom"]:"-2px",_selected:{[tk.variable]:`colors.${t}.600`,_dark:{[tk.variable]:`colors.${t}.300`},borderColor:"currentColor"},_active:{[tS.variable]:"colors.gray.200",_dark:{[tS.variable]:"colors.whiteAlpha.300"}},_disabled:{_active:{bg:"none"}},color:tk.reference,bg:tS.reference}}}),enclosed:tC(e=>{let{colorScheme:t}=e;return{tab:{borderTopRadius:"md",border:"1px solid",borderColor:"transparent",mb:"-1px",[tw.variable]:"transparent",_selected:{[tk.variable]:`colors.${t}.600`,[tw.variable]:"colors.white",_dark:{[tk.variable]:`colors.${t}.300`,[tw.variable]:"colors.gray.800"},borderColor:"inherit",borderBottomColor:tw.reference}
310,color:tk.reference},tablist:{mb:"-1px",borderBottom:"1px solid",borderColor:"inherit"}}}),"enclosed-colored":tC(e=>{let{colorScheme:t}=e;return{tab:{border:"1px solid",borderColor:"inherit",[tS.variable]:"colors.gray.50",_dark:{[tS.variable]:"colors.whiteAlpha.50"},mb:"-1px",_notLast:{marginEnd:"-1px"},_selected:{[tS.variable]:"colors.white",[tk.variable]:`colors.${t}.600`,_dark:{[tS.variable]:"colors.gray.800",[tk.variable]:`colors.${t}.300`},borderColor:"inherit",borderTopColor:"currentColor",borderBottomColor:"transparent"},color:tk.reference,bg:tS.reference},tablist:{mb:"-1px",borderBottom:"1px solid",borderColor:"inherit"}}}),"soft-rounded":tC(e=>{let{colorScheme:t,theme:r}=e;return{tab:{borderRadius:"full",fontWeight:"semibold",color:"gray.600",_selected:{color:tf(r,`${t}.700`),bg:tf(r,`${t}.100`)}}}}),"solid-rounded":tC(e=>{let{colorScheme:t}=e;return{tab:{borderRadius:"full",fontWeight:"semibold",[tk.variable]:"colors.gray.600",_dark:{[tk.variable]:"inherit"},_selected:{[tk.variable]:"colors.white",[tS.variable]:`colors.${t}.600`,_dark:{[tk.variable]:"colors.gray.800",[tS.variable]:`colors.${t}.300`}},color:tk.reference,bg:tS.reference}}}),unstyled:tC({})},defaultProps:{size:"md",variant:"line",colorScheme:"blue"}}),tz=(0,I.k0)({px:1,textTransform:"uppercase",fontSize:"xs",borderRadius:"sm",fontWeight:"bold"}),tR=(0,I.gJ)("badge-bg"),tB=(0,I.gJ)("badge-color"),t$=(0,I.k0)(e=>{let{colorScheme:t,theme:r}=e,n=tv(`${t}.500`,.6)(r);return{[tR.variable]:`colors.${t}.500`,[tB.variable]:"colors.white",_dark:{[tR.variable]:n,[tB.variable]:"colors.whiteAlpha.800"},bg:tR.reference,color:tB.reference}}),tM=(0,I.k0)(e=>{let{colorScheme:t,theme:r}=e,n=tv(`${t}.200`,.16)(r);return{[tR.variable]:`colors.${t}.100`,[tB.variable]:`colors.${t}.800`,_dark:{[tR.variable]:n,[tB.variable]:`colors.${t}.200`},bg:tR.reference,color:tB.reference}}),tD=(0,I.k0)(e=>{let{colorScheme:t,theme:r}=e,n=tv(`${t}.200`,.8)(r);return{[tB.variable]:`colors.${t}.500`,_dark:{[tB.variable]:n},color:tB.reference,boxShadow:`inset 0 0 0px 1px ${tB.reference}`}}),tF=(0,I.fj)({baseStyle:tz,variants:{solid:t$,subtle:tM,outline:tD},defaultProps:{variant:"subtle",colorScheme:"gray"}}),{defineMultiStyleConfig:tI,definePartsStyle:tV}=(0,I.D)(ez.keys),tL=tV({container:(0,I.k0)({fontWeight:"medium",lineHeight:1.2,outline:0,borderRadius:"md",_focusVisible:{boxShadow:"outline"}}),label:(0,I.k0)({lineHeight:1.2,overflow:"visible"}),closeButton:(0,I.k0)({fontSize:"lg",w:"5",h:"5",transitionProperty:"common",transitionDuration:"normal",borderRadius:"full",marginStart:"1.5",marginEnd:"-1",opacity:.5,_disabled:{opacity:.4},_focusVisible:{boxShadow:"outline",bg:"rgba(0, 0, 0, 0.14)"},_hover:{opacity:.8},_active:{opacity:1}})}),tO={sm:tV({container:{minH:"5",minW:"5",fontSize:"xs",px:"2"},closeButton:{marginEnd:"-2px",marginStart:"0.35rem"}}),md:tV({container:{minH:"6",minW:"6",fontSize:"sm",px:"2"}}),lg:tV({container:{minH:"8",minW:"8",fontSize:"md",px:"3"}})},tW=tI({variants:{subtle:tV(e=>{var t;return{container:null==(t=tF.variants)?void 0:t.subtle(e)}}),solid:tV(e=>{var t;return{container:null==(t=tF.variants)?void 0:t.solid(e)}}),outline:tV(e=>{var t;return{container:null==(t=tF.variants)?void 0:t.outline(e)}})},baseStyle:tL,sizes:tO,defaultProps:{size:"md",variant:"subtle",colorScheme:"gray"}}),{definePartsStyle:tN,defineMultiStyleConfig:tH}=(0,I.D)(eb.keys),tU=tN({field:{width:"100%",minWidth:0,outline:0,position:"relative",appearance:"none",transitionProperty:"common",transitionDuration:"normal",_disabled:{opacity:.4,cursor:"not-allowed"}}}),tq={lg:(0,I.k0)({fontSize:"lg",px:"4",h:"12",borderRadius:"md"}),md:(0,I.k0)({fontSize:"md",px:"4",h:"10",borderRadius:"md"}),sm:(0,I.k0)({fontSize:"sm",px:"3",h:"8",borderRadius:"sm"}),xs:(0,I.k0)({fontSize:"xs",px:"2",h:"6",borderRadius:"sm"})};function tG(e){let{focusBorderColor:t,errorBorderColor:r}=e;return{focusBorderColor:t||e5("blue.500","blue.300")(e),errorBorderColor:r||e5("red.500","red.300")(e)}}var tY=tH({baseStyle:tU,sizes:{lg:tN({field:tq.lg,addon:tq.lg}),md:tN({field:tq.md,addon:tq.md}),sm:tN({field:tq.sm,addon:tq.sm}
310),xs:tN({field:tq.xs,addon:tq.xs})},variants:{outline:tN(e=>{let{theme:t}=e,{focusBorderColor:r,errorBorderColor:n}=tG(e);return{field:{border:"1px solid",borderColor:"inherit",bg:"inherit",_hover:{borderColor:e5("gray.300","whiteAlpha.400")(e)},_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:tf(t,n),boxShadow:`0 0 0 1px ${tf(t,n)}`},_focusVisible:{zIndex:1,borderColor:tf(t,r),boxShadow:`0 0 0 1px ${tf(t,r)}`}},addon:{border:"1px solid",borderColor:e5("inherit","whiteAlpha.50")(e),bg:e5("gray.100","whiteAlpha.300")(e)}}}),filled:tN(e=>{let{theme:t}=e,{focusBorderColor:r,errorBorderColor:n}=tG(e);return{field:{border:"2px solid",borderColor:"transparent",bg:e5("gray.100","whiteAlpha.50")(e),_hover:{bg:e5("gray.200","whiteAlpha.100")(e)},_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:tf(t,n)},_focusVisible:{bg:"transparent",borderColor:tf(t,r)}},addon:{border:"2px solid",borderColor:"transparent",bg:e5("gray.100","whiteAlpha.50")(e)}}}),flushed:tN(e=>{let{theme:t}=e,{focusBorderColor:r,errorBorderColor:n}=tG(e);return{field:{borderBottom:"1px solid",borderColor:"inherit",borderRadius:"0",px:"0",bg:"transparent",_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:tf(t,n),boxShadow:`0px 1px 0px 0px ${tf(t,n)}`},_focusVisible:{borderColor:tf(t,r),boxShadow:`0px 1px 0px 0px ${tf(t,r)}`}},addon:{borderBottom:"2px solid",borderColor:"inherit",borderRadius:"0",px:"0",bg:"transparent"}}}),unstyled:tN({field:{bg:"transparent",px:"0",height:"auto"},addon:{bg:"transparent",px:"0",height:"auto"}})},defaultProps:{size:"md",variant:"outline"}}),tX=(0,I.k0)({...null==(i=tY.baseStyle)?void 0:i.field,paddingY:"2",minHeight:"20",lineHeight:"short",verticalAlign:"top"}),tZ={outline:(0,I.k0)(e=>{var t,r;return null!=(r=null==(t=tY.variants)?void 0:t.outline(e).field)?r:{}}),flushed:(0,I.k0)(e=>{var t,r;return null!=(r=null==(t=tY.variants)?void 0:t.flushed(e).field)?r:{}}),filled:(0,I.k0)(e=>{var t,r;return null!=(r=null==(t=tY.variants)?void 0:t.filled(e).field)?r:{}}),unstyled:null!=(a=null==(o=tY.variants)?void 0:o.unstyled.field)?a:{}},tJ={xs:null!=(l=null==(s=tY.sizes)?void 0:s.xs.field)?l:{},sm:null!=(c=null==(u=tY.sizes)?void 0:u.sm.field)?c:{},md:null!=(h=null==(d=tY.sizes)?void 0:d.md.field)?h:{},lg:null!=(f=null==(p=tY.sizes)?void 0:p.lg.field)?f:{}},tK=(0,I.fj)({baseStyle:tX,sizes:tJ,variants:tZ,defaultProps:{size:"md",variant:"outline"}}),tQ=e$("tooltip-bg"),t0=e$("tooltip-fg"),t1=e$("popper-arrow-bg"),t5=(0,I.k0)({bg:tQ.reference,color:t0.reference,[tQ.variable]:"colors.gray.700",[t0.variable]:"colors.whiteAlpha.900",_dark:{[tQ.variable]:"colors.gray.300",[t0.variable]:"colors.gray.9
31000"},[t1.variable]:tQ.reference,px:"2",py:"0.5",borderRadius:"sm",fontWeight:"medium",fontSize:"sm",boxShadow:"md",maxW:"xs",zIndex:"tooltip"}),t2=(0,I.fj)({baseStyle:t5}),{defineMultiStyleConfig:t4,definePartsStyle:t3}=(0,I.D)(ew.keys),t6=(0,I.k0)(e=>{let{colorScheme:t,theme:r,isIndeterminate:n,hasStripe:i}=e,o=e5(ty(),ty("1rem","rgba(0,0,0,0.1)"))(e),a=e5(`${t}.500`,`${t}.200`)(e),s=`linear-gradient(
311    to right,
312    transparent 0%,
313    ${tf(r,a)} 50%,
314    transparent 100%
315  )`;return{...!n&&i&&o,...n?{bgImage:s}:{bgColor:a}}}),t9=(0,I.k0)({lineHeight:"1",fontSize:"0.25em",fontWeight:"bold",color:"white"}),t7=(0,I.k0)(e=>({bg:e5("gray.100","whiteAlpha.300")(e)})),t8=(0,I.k0)(e=>({transitionProperty:"common",transitionDuration:"slow",...t6(e)})),re=t3(e=>({label:t9,filledTrack:t8(e),track:t7(e)})),rt=t4({sizes:{xs:t3({track:{h:"1"}}),sm:t3({track:{h:"2"}}),md:t3({track:{h:"3"}}),lg:t3({track:{h:"4"}})},baseStyle:re,defaultProps:{size:"md",colorScheme:"blue"}}),rr=e=>"function"==typeof e;function rn(e,...t){return rr(e)?e(...t):e}var{definePartsStyle:ri,defineMultiStyleConfig:ro}=(0,I.D)(eh.keys),ra=(0,I.gJ)("checkbox-size"),rs=(0,I.k0)(e=>{let{colorScheme:t}=e;return{w:ra.reference,h:ra.reference,transitionProperty:"box-shadow",transitionDuration:"normal",border:"2px solid",borderRadius:"sm",borderColor:"inherit",color:"white",_checked:{bg:e5(`${t}.500`,`${t}.200`)(e),borderColor:e5(`${t}.500`,`${t}.200`)(e),color:e5("white","gray.900")(e),_hover:{bg:e5(`${t}.600`,`${t}.300`)(e),borderColor:e5(`${t}.600`,`${t}.300`)(e)},_disabled:{borderColor:e5("gray.200","transparent")(e),bg:e5("gray.200","whiteAlpha.300")(e),color:e5("gray.500","whiteAlpha.500")(e)}},_indeterminate:{bg:e5(`${t}.500`,`${t}.200`)(e),borderColor:e5(`${t}.500`,`${t}.200`)(e),color:e5("white","gray.900")(e)},_disabled:{bg:e5("gray.100","whiteAlpha.100")(e),borderColor:e5("gray.100","transparent")(e)},_focusVisible:{boxShadow:"outline"},_invalid:{borderColor:e5("red.500","red.300")(e)}}}),rl=(0,I.k0)({_disabled:{cursor:"not-allowed"}}),ru=(0,I.k0)({userSelect:"none",_disabled:{opacity:.4}}),rc=(0,I.k0)({transitionProperty:"transform",transitionDuration:"normal"}),rd=ro({baseStyle:ri(e=>({icon:rc,container:rl,control:rn(rs,e),label:ru})),sizes:{sm:ri({control:{[ra.variable]:"sizes.3"},label:{fontSize:"sm"},icon:{fontSize:"3xs"}}),md:ri({control:{[ra.variable]:"sizes.4"},label:{fontSize:"md"},icon:{fontSize:"2xs"}}),lg:ri({control:{[ra.variable]:"sizes.5"},label:{fontSize:"lg"},icon:{fontSize:"2xs"}})},defaultProps:{size:"md",colorScheme:"blue"}}),{defineMultiStyleConfig:rh,definePartsStyle:rp}=(0,I.D)(e_.keys),rf=(0,I.k0)(e=>{var t;let r=null==(t=rn(rd.baseStyle,e))?void 0:t.control;return{...r,borderRadius:"full",_checked:{...null==r?void 0:r._checked,_before:{content:'""',display:"inline-block",pos:"relative",w:"50%",h:"50%",borderRadius:"50%",bg:"currentColor"}}}}),rm=rh({baseStyle:rp(e=>{var t,r;return{label:null==(t=rd.baseStyle)?void 0:t.call(rd,e).label,container:null==(r=rd.baseStyle)?void 0:r.call(rd,e).container,control:rf(e)}}),sizes:{md:rp({control:{w:"4",h:"4"},label:{fontSize:"md"}}),lg:rp({control:{w:"5",h:"5"},label:{fontSize:"lg"}}),sm:rp({control:{width:"3",height:"3"},label:{fontSize:"sm"}})},defaultProps:{size:"md",colorScheme:"blue"}}),{defineMultiStyleConfig:rg,definePartsStyle:rb}=(0,I.D)(eC.keys),rv=(0,I.gJ)("select-bg"),ry=rb({field:(0,I.k0)({...null==(m=tY.baseStyle)?void 0:m.field,appearance:"none",paddingBottom:"1px",lineHeight:"normal",bg:rv.reference,[rv.variable]:"colors.white",_dark:{[rv.variable]:"colors.gray.700"},"> option, > optgroup":{bg:rv.reference}}),icon:(0,I.k0)({width:"6",height:"100%",insetEnd:"2",position:"relative",color:"currentColor",fontSize:"xl",_disabled:{opacity:.5}})}),rx=(0,I.k0)({paddingInlineEnd:"8"}),rk=rg({baseStyle:ry,sizes:{lg:{...null==(g=tY.sizes)?void 0:g.lg,field:{...null==(b=tY.sizes)?void 0:b.lg.field,...rx}},md:{...null==(v=tY.sizes)?void 0:v.md,field:{...null==(y=tY.sizes)?void 0:y.md.field,...rx}},sm:{...null==(x=tY.sizes)?void 0:x.sm,field:{...null==(k=tY.sizes)?void 0:k.sm.field,...rx}},xs:{...null==(S=tY.sizes)?void 0:S.xs,field:{...null==(w=tY.sizes)?void 0:w.xs.field,...rx},icon:{insetEnd:"1"}}},variants:tY.variants,defaultProps:tY.defaultProps}),rS=(0,I.gJ)("skeleton-start-color"),rw=(0,I.gJ)("skeleton-end-color"),r_=(0,I.k0)({[rS.variable]:"colors.gray.100",[rw.variable]:"colors.gray.400",_dark:{[rS.variable]:"colors.gray.800",[rw.variable]:"colors.gray.600"},background:rS.reference,borderColor:rw.reference,opacity:.7,borderRadius:"sm"}),rC=(0,I.fj)({baseStyle:r_}),rP=(0,I.gJ)("skip-link-bg"),rA=(0,I.k0)({borderRadius:"md",fontWeight:"semibold",_focusVisible:{boxShadow:"outline",padding:"4",position:"fixed",top:"6",insetStart:"6",[rP.variable]:"colors.white",_dark:{[rP.variable]:"colors.gray.700"},bg:rP.reference}}),rE=(0,I.fj)({baseStyle:rA}),{defineMultiStyleConfig:rT,definePartsStyle:rj}=(0,I.D)(eP.keys),rz=(0,I.gJ)("slider-thumb-size"),rR=(0,I.gJ)("slider-track-size"),rB=(0,I.gJ)("slider-bg"),r$=(0,I.k0)(e=>{let{orientation:t}=e;
315return{display:"inline-block",position:"relative",cursor:"pointer",_disabled:{opacity:.6,cursor:"default",pointerEvents:"none"},...e2({orientation:t,vertical:{h:"100%"},horizontal:{w:"100%"}})}}),rM=(0,I.k0)(e=>{let t=e2({orientation:e.orientation,horizontal:{h:rR.reference},vertical:{w:rR.reference}});return{...t,overflow:"hidden",borderRadius:"sm",[rB.variable]:"colors.gray.200",_dark:{[rB.variable]:"colors.whiteAlpha.200"},_disabled:{[rB.variable]:"colors.gray.300",_dark:{[rB.variable]:"colors.whiteAlpha.300"}},bg:rB.reference}}),rD=(0,I.k0)(e=>{let{orientation:t}=e,r=e2({orientation:t,vertical:{left:"50%",transform:"translateX(-50%)",_active:{transform:"translateX(-50%) scale(1.15)"}},horizontal:{top:"50%",transform:"translateY(-50%)",_active:{transform:"translateY(-50%) scale(1.15)"}}});return{...r,w:rz.reference,h:rz.reference,display:"flex",alignItems:"center",justifyContent:"center",position:"absolute",outline:0,zIndex:1,borderRadius:"full",bg:"white",boxShadow:"base",border:"1px solid",borderColor:"transparent",transitionProperty:"transform",transitionDuration:"normal",_focusVisible:{boxShadow:"outline"},_disabled:{bg:"gray.300"}}}),rF=(0,I.k0)(e=>{let{colorScheme:t}=e;return{width:"inherit",height:"inherit",[rB.variable]:`colors.${t}.500`,_dark:{[rB.variable]:`colors.${t}.200`},bg:rB.reference}}),rI=rT({baseStyle:rj(e=>({container:r$(e),track:rM(e),thumb:rD(e),filledTrack:rF(e)})),sizes:{lg:rj({container:{[rz.variable]:"sizes.4",[rR.variable]:"sizes.1"}}),md:rj({container:{[rz.variable]:"sizes.3.5",[rR.variable]:"sizes.1"}}),sm:rj({container:{[rz.variable]:"sizes.2.5",[rR.variable]:"sizes.0.5"}})},defaultProps:{size:"md",colorScheme:"blue"}}),rV=e$("spinner-size"),rL=(0,I.k0)({width:[rV.reference],height:[rV.reference]}),rO={xs:(0,I.k0)({[rV.variable]:"sizes.3"}),sm:(0,I.k0)({[rV.variable]:"sizes.4"}),md:(0,I.k0)({[rV.variable]:"sizes.6"}),lg:(0,I.k0)({[rV.variable]:"sizes.8"}),xl:(0,I.k0)({[rV.variable]:"sizes.12"})},rW=(0,I.fj)({baseStyle:rL,sizes:rO,defaultProps:{size:"md"}}),{defineMultiStyleConfig:rN,definePartsStyle:rH}=(0,I.D)(eA.keys),rU=rN({baseStyle:rH({container:{},label:(0,I.k0)({fontWeight:"medium"}),helpText:(0,I.k0)({opacity:.8,marginBottom:"2"}),number:(0,I.k0)({verticalAlign:"baseline",fontWeight:"semibold"}),icon:(0,I.k0)({marginEnd:1,w:"3.5",h:"3.5",verticalAlign:"middle"})}),sizes:{md:rH({label:{fontSize:"sm"},helpText:{fontSize:"sm"},number:{fontSize:"2xl"}})},defaultProps:{size:"md"}}),rq=(0,I.gJ)("kbd-bg"),rG=(0,I.k0)({[rq.variable]:"colors.gray.100",_dark:{[rq.variable]:"colors.whiteAlpha.100"},bg:rq.reference,borderRadius:"md",borderWidth:"1px",borderBottomWidth:"3px",fontSize:"0.8em",fontWeight:"bold",lineHeight:"normal",px:"0.4em",whiteSpace:"nowrap"}),rY=(0,I.fj)({baseStyle:rG}),rX=(0,I.k0)({transitionProperty:"common",transitionDuration:"fast",transitionTimingFunction:"ease-out",cursor:"pointer",textDecoration:"none",outline:"none",color:"inherit",_hover:{textDecoration:"underline"},_focusVisible:{boxShadow:"outline"}}),rZ=(0,I.fj)({baseStyle:rX}),{defineMultiStyleConfig:rJ,definePartsStyle:rK}=(0,I.D)(ev.keys),rQ=rJ({baseStyle:rK({icon:(0,I.k0)({marginEnd:"2",display:"inline",verticalAlign:"text-bottom"})})}),{defineMultiStyleConfig:r0,definePartsStyle:r1}=(0,I.D)(ey.keys),r5=(0,I.gJ)("menu-bg"),r2=(0,I.gJ)("menu-shadow"),r4=(0,I.k0)({[r5.variable]:"#fff",[r2.variable]:"shadows.sm",_dark:{[r5.variable]:"colors.gray.700",[r2.variable]:"shadows.dark-lg"},color:"inherit",minW:"3xs",py:"2",zIndex:1,borderRadius:"md",borderWidth:"1px",bg:r5.reference,boxShadow:r2.reference}),r3=(0,I.k0)({py:"1.5",px:"3",transitionProperty:"background",transitionDuration:"ultra-fast",transitionTimingFunction:"ease-in",_focus:{[r5.variable]:"colors.gray.100",_dark:{[r5.variable]:"colors.whiteAlpha.100"}},_active:{[r5.variable]:"colors.gray.200",_dark:{[r5.variable]:"colors.whiteAlpha.200"}},_expanded:{[r5.variable]:"colors.gray.100",_dark:{[r5.variable]:"colors.whiteAlpha.100"}},_disabled:{opacity:.4,cursor:"not-allowed"},bg:r5.reference}),r6=(0,I.k0)({mx:4,my:2,fontWeight:"semibold",fontSize:"sm"}),r9=(0,I.k0)({opacity:.6}),r7=(0,I.k0)({border:0,borderBottom:"1px solid",borderColor:"inherit",my:"2",opacity:.6}),r8=r0({baseStyle:r1({button:(0,I.k0)({transitionProperty:"common",transitionDuration:"normal"}),list:r4,item:r3,groupTitle:r6,command:r9,divider:r7})}),{defineMultiStyleConfig:ne,definePartsStyle:nt}=(0,I.D)(ex.keys),nr=(0,I.k0)({bg:"blackAlpha.600",zIndex:"modal"}),nn=(0,I.k0)(e=>{let{isCentered:t,scrollBehavior:r}=e;return{display:"flex",zIndex:"modal",justifyContent:"center",alignItems:t?"center":"flex-start",overflow:"inside"===r?"hidden":"auto",overscrollBehaviorY:"none"}}),ni=(0,I.k0)(e=>{let{scrollBehavior:t}=e;return{borderRadius:"md",bg:e5("white","gray.700")(e),color:"inherit",my:"16",zIndex:"modal",maxH:"inside"===t?"calc(100% - 7.5rem)":void 0,boxShadow:e5("lg","dark-lg")(e)}}),no=(0,I.k0)({px:"6",py:"4",fontSize:"xl",fontWeight:"semibold"}),na=(0,I.k0)({position:"absolute",top:"2",insetEnd:"3"}),ns=(0,I.k0)(e=>{let{scrollBehavior:t}=e;return{px:"6",py:"2",flex:"1",overflow:"inside"===t?"auto":void 0}}),nl=(0,I.k0)({px:"6",py:"4"});function nu(e){return"full"===e?nt({dialog:{maxW:"100vw",minH:"$100vh",my:"0",borderRadius:"0"}}):nt({dialog:{maxW:e}})}var nc=ne({baseStyle:nt(e=>({overlay:nr,dialogContainer:rn(nn,e),dialog:rn(ni,e),header:no,closeButton:na,body:rn(ns,e),footer:nl})),sizes:{xs:nu("xs"),sm:nu("sm"),md:nu("md"),lg:nu("lg"),xl:nu("xl"),"2xl":nu("2xl"),"3xl":nu("3xl"),"4xl":nu("4xl"),"5xl":nu("5xl"),"6xl":nu("6xl"),full:nu("full")},defaultProps:{size:"md"}}),{defineMultiStyleConfig:nd,definePartsStyle:nh}=(0,I.D)(ek.keys),np=e$("number-input-stepper-width"),nf=e$("number-input-input-padding"),nm=eN(np).add("0.5rem").toString(),ng=e$("number-input-bg"),nb=e$("number-input-color"),nv=e$("number-input-border-color"),ny=(0,I.k0)({[np.variable]:"sizes.6",[nf.variable]:nm}),nx=(0,I.k0)(e=>{var t,r;return null!=(r=null==(t=rn(tY.baseStyle,e))?void 0:t.field)?r:{}}),nk=(0,I.k0)({width:np.reference}),nS=(0,I.k0)({borderStart:"1px solid",borderStartColor:nv.reference,color:nb.reference,bg:ng.reference,[nb.variable]:"colors.chakra-body-text",[nv.variable]:"colors.chakra-border-color",_dark:{[nb.variable]:"colors.whiteAlpha.800",[nv.variable]:"colors.whiteAlpha.300"},_active:{[ng.variable]:"colors.gray.200",_dark:{[ng.variable]:"colors.whiteAlpha.300"}},_disabled:{opacity:.4,cursor:"not-allowed"}});function nw(e){var t,r,n;let i=null==(t=tY.sizes)?void 0:t[e],o={lg:"md",md:"md",sm:"sm",xs:"sm"},a=null!=(n=null==(r=i.field)?void 0:r.fontSize)?n:"md",s=en.fontSizes[a];return nh({field:{...i.field,paddingInlineEnd:nf.reference,verticalAlign:"top"},stepper:{fontSize:eN(s).multiply(.75).toString(),_first:{borderTopEndRadius:o[e]},_last:{borderBottomEndRadius:o[e],mt:"-1px",borderTopWidth:1}}})}var n_=nd({baseStyle:nh(e=>{var t;return{root:ny,field:null!=(t=rn(nx,e))?t:{},stepperGroup:nk,stepper:nS}}),sizes:{xs:nw("xs"),sm:nw("sm"),md:nw("md"),lg:nw("lg")},variants:tY.variants,defaultProps:tY.defaultProps}),nC=(0,I.k0)({...null==(_=tY.baseStyle)?void 0:_.field,textAlign:"center"}),nP={lg:(0,I.k0)({fontSize:"lg",w:12,h:12,borderRadius:"md"}),md:(0,I.k0)({fontSize:"md",w:10,h:10,borderRadius:"md"}),sm:(0,I.k0)({fontSize:"sm",w:8,h:8,borderRadius:"sm"}),xs:(0,I.k0)({fontSize:"xs",w:6,h:6,borderRadius:"sm"})},nA={outline:(0,I.k0)(e=>{var t,r,n;return null!=(n=null==(r=rn(null==(t=tY.variants)?void 0:t.outline,e))?void 0:r.field)?n:{}}),flushed:(0,I.k0)(e=>{var t,r,n;return null!=(n=null==(r=rn(null==(t=tY.variants)?void 0:t.flushed,e))?void 0:r.field)?n:{}}),filled:(0,I.k0)(e=>{var t,r,n;return null!=(n=null==(r=rn(null==(t=tY.variants)?void 0:t.filled,e))?void 0:r.field)?n:{}}),unstyled:null!=(P=null==(C=tY.variants)?void 0:C.unstyled.field)?P:{}},nE=(0,I.fj)({baseStyle:nC,sizes:nP,variants:nA,defaultProps:tY.defaultProps}),{defineMultiStyleConfig:nT,definePartsStyle:nj}=(0,I.D)(eS.keys),nz=e$("popper-bg"),nR=e$("popper-arrow-bg"),nB=e$("popper-arrow-shadow-color"),n$=nT({baseStyle:nj({popper:(0,I.k0)({zIndex:10}),content:(0,I.k0)({[nz.variable]:"colors.white",bg:nz.reference,[nR.variable]:nz.reference,[nB.variable]:"colors.gray.200",_dark:{[nz.variable]:"colors.gray.700",[nB.variable]:"colors.whiteAlpha.300"},width:"xs",border:"1px solid",borderColor:"inherit",borderRadius:"md",boxShadow:"sm",zIndex:"inherit",_focusVisible:{outline:0,boxShadow:"outline"}}),header:(0,I.k0)({px:3,py:2,borderBottomWidth:"1px"}),body:(0,I.k0)({px:3,py:2}),footer:(0,I.k0)({px:3,py:2,borderTopWidth:"1px"}),closeButton:(0,I.k0)({position:"absolute",borderRadius:"md",top:1,insetEnd:2,padding:2})})}),{definePartsStyle:nM,defineMultiStyleConfig:nD}
315=(0,I.D)(ep.keys),nF=(0,I.gJ)("drawer-bg"),nI=(0,I.gJ)("drawer-box-shadow");function nV(e){return"full"===e?nM({dialog:{maxW:"100vw",h:"100vh"}}):nM({dialog:{maxW:e}})}var nL=(0,I.k0)({bg:"blackAlpha.600",zIndex:"overlay"}),nO=(0,I.k0)({display:"flex",zIndex:"modal",justifyContent:"center"}),nW=(0,I.k0)(e=>{let{isFullHeight:t}=e;return{...t&&{height:"100vh"},zIndex:"modal",maxH:"100vh",color:"inherit",[nF.variable]:"colors.white",[nI.variable]:"shadows.lg",_dark:{[nF.variable]:"colors.gray.700",[nI.variable]:"shadows.dark-lg"},bg:nF.reference,boxShadow:nI.reference}}),nN=(0,I.k0)({px:"6",py:"4",fontSize:"xl",fontWeight:"semibold"}),nH=(0,I.k0)({position:"absolute",top:"2",insetEnd:"3"}),nU=(0,I.k0)({px:"6",py:"2",flex:"1",overflow:"auto"}),nq=(0,I.k0)({px:"6",py:"4"}),nG=nD({baseStyle:nM(e=>({overlay:nL,dialogContainer:nO,dialog:rn(nW,e),header:nN,closeButton:nH,body:nU,footer:nq})),sizes:{xs:nV("xs"),sm:nV("md"),md:nV("lg"),lg:nV("2xl"),xl:nV("4xl"),full:nV("full")},defaultProps:{size:"xs"}}),{definePartsStyle:nY,defineMultiStyleConfig:nX}=(0,I.D)(ef.keys),nZ=nX({baseStyle:nY({preview:(0,I.k0)({borderRadius:"md",py:"1",transitionProperty:"common",transitionDuration:"normal"}),input:(0,I.k0)({borderRadius:"md",py:"1",transitionProperty:"common",transitionDuration:"normal",width:"full",_focusVisible:{boxShadow:"outline"},_placeholder:{opacity:.6}}),textarea:(0,I.k0)({borderRadius:"md",py:"1",transitionProperty:"common",transitionDuration:"normal",width:"full",_focusVisible:{boxShadow:"outline"},_placeholder:{opacity:.6}})})}),{definePartsStyle:nJ,defineMultiStyleConfig:nK}=(0,I.D)(em.keys),nQ=(0,I.gJ)("form-control-color"),n0=nK({baseStyle:nJ({container:{width:"100%",position:"relative"},requiredIndicator:(0,I.k0)({marginStart:"1",[nQ.variable]:"colors.red.500",_dark:{[nQ.variable]:"colors.red.300"},color:nQ.reference}),helperText:(0,I.k0)({mt:"2",[nQ.variable]:"colors.gray.600",_dark:{[nQ.variable]:"colors.whiteAlpha.600"},color:nQ.reference,lineHeight:"normal",fontSize:"sm"})})}),{definePartsStyle:n1,defineMultiStyleConfig:n5}=(0,I.D)(eg.keys),n2=(0,I.gJ)("form-error-color"),n4=n5({baseStyle:n1({text:(0,I.k0)({[n2.variable]:"colors.red.500",_dark:{[n2.variable]:"colors.red.300"},color:n2.reference,mt:"2",fontSize:"sm",lineHeight:"normal"}),icon:(0,I.k0)({marginEnd:"0.5em",[n2.variable]:"colors.red.500",_dark:{[n2.variable]:"colors.red.300"},color:n2.reference})})}),n3=(0,I.k0)({fontSize:"md",marginEnd:"3",mb:"2",fontWeight:"medium",transitionProperty:"common",transitionDuration:"normal",opacity:1,_disabled:{opacity:.4}}),n6=(0,I.fj)({baseStyle:n3}),n9=(0,I.k0)({fontFamily:"heading",fontWeight:"bold"}),n7={"4xl":(0,I.k0)({fontSize:["6xl",null,"7xl"],lineHeight:1}),"3xl":(0,I.k0)({fontSize:["5xl",null,"6xl"],lineHeight:1}),"2xl":(0,I.k0)({fontSize:["4xl",null,"5xl"],lineHeight:[1.2,null,1]}),xl:(0,I.k0)({fontSize:["3xl",null,"4xl"],lineHeight:[1.33,null,1.2]}),lg:(0,I.k0)({fontSize:["2xl",null,"3xl"],lineHeight:[1.33,null,1.2]}),md:(0,I.k0)({fontSize:"xl",lineHeight:1.2}),sm:(0,I.k0)({fontSize:"md",lineHeight:1.2}),xs:(0,I.k0)({fontSize:"sm",lineHeight:1.2})},n8=(0,I.fj)({baseStyle:n9,sizes:n7,defaultProps:{size:"xl"}}),{defineMultiStyleConfig:ie,definePartsStyle:it}=(0,I.D)(ed.keys),ir=ie({baseStyle:it({link:(0,I.k0)({transitionProperty:"common",transitionDuration:"fast",transitionTimingFunction:"ease-out",cursor:"pointer",textDecoration:"none",outline:"none",color:"inherit",_hover:{textDecoration:"underline"},_focusVisible:{boxShadow:"outline"}})})}),ii=(0,I.k0)({lineHeight:"1.2",borderRadius:"md",fontWeight:"semibold",transitionProperty:"common",transitionDuration:"normal",_focusVisible:{boxShadow:"outline"},_disabled:{opacity:.4,cursor:"not-allowed",boxShadow:"none"},_hover:{_disabled:{bg:"initial"}}}),io=(0,I.k0)(e=>{let{colorScheme:t,theme:r}=e;if("gray"===t)return{color:e5("inherit","whiteAlpha.900")(e),_hover:{bg:e5("gray.100","whiteAlpha.200")(e)},_active:{bg:e5("gray.200","whiteAlpha.300")(e)}};let n=tv(`${t}.200`,.12)(r),i=tv(`${t}.200`,.24)(r);return{color:e5(`${t}.600`,`${t}.200`)(e),bg:"transparent",_hover:{bg:e5(`${t}.50`,n)(e)},_active:{bg:e5(`${t}.100`,i)(e)}}}),ia=(0,I.k0)(e=>{let{colorScheme:t}=e,r=e5("gray.200","whiteAlpha.300")(e);return{border:"1px solid",borderColor:"gray"===t?r:"currentColor",".chakra-button__group[data-attached][data-orientation=horizontal] > &:not(:last-of-type)":{marginEnd:"-1px"},".chakra-button__group[data-attached][data-orientation=vertical] > &:not(:last-of-type)":{marginBottom:"-1px"},...rn(io,e)}}),is={yellow:{bg:"yellow.400",color:"black",hoverBg:"yellow.500",activeBg:"yellow.600"},cyan:{bg:"cyan.400",color:"black",hoverBg:"cyan.500",activeBg:"cyan.600"}},il=(0,I.k0)(e=>{var t;let{colorScheme:r}=e;if("gray"===r){let n=e5("gray.100","whiteAlpha.200")(e);return{bg:n,_hover:{bg:e5("gray.200","whiteAlpha.300")(e),_disabled:{bg:n}},_active:{bg:e5("gray.300","whiteAlpha.400")(e)}}}let{bg:i=`${r}.500`,color:o="white",hoverBg:a=`${r}.600`,activeBg:s=`${r}.700`}=null!=(t=is[r])?t:{},l=e5(i,`${r}.200`)(e);return{bg:l,color:e5(o,"gray.800")(e),_hover:{bg:e5(a,`${r}.300`)(e),_disabled:{bg:l}},_active:{bg:e5(s,`${r}.400`)(e)}}}),iu=(0,I.k0)(e=>{let{colorScheme:t}=e;return{padding:0,height:"auto",lineHeight:"normal",verticalAlign:"baseline",color:e5(`${t}.500`,`${t}.200`)(e),_hover:{textDecoration:"underline",_disabled:{textDecoration:"none"}},_active:{color:e5(`${t}.700`,`${t}.500`)(e)}}}),ic=(0,I.k0)({bg:"none",color:"inherit",display:"inline",lineHeight:"inherit",m:"0",p:"0"}),id={lg:(0,I.k0)({h:"12",minW:"12",fontSize:"lg",px:"6"}),md:(0,I.k0)({h:"10",minW:"10",fontSize:"md",px:"4"}),sm:(0,I.k0)({h:"8",minW:"8",fontSize:"sm",px:"3"}),xs:(0,I.k0)({h:"6",minW:"6",fontSize:"xs",px:"2"})},ih=(0,I.fj)({baseStyle:ii,variants:{ghost:io,outline:ia,solid:il,link:iu,unstyled:ic},sizes:id,defaultProps:{variant:"solid",size:"md",colorScheme:"gray"}}),{definePartsStyle:ip,defineMultiStyleConfig:im}=(0,I.D)(eR.keys),ig=(0,I.gJ)("card-bg"),ib=(0,I.gJ)("card-padding"),iv=(0,I.gJ)("card-shadow"),iy=(0,I.gJ)("card-radius"),ix=(0,I.gJ)("card-border-width","0"),ik=(0,I.gJ)("card-border-color"),iS=ip({container:{[ig.variable]:"colors.chakra-body-bg",backgroundColor:ig.reference,boxShadow:iv.reference,borderRadius:iy.reference,color:"chakra-body-text",borderWidth:ix.reference,borderColor:ik.reference},body:{padding:ib.reference,flex:"1 1 0%"},header:{padding:ib.reference},footer:{padding:ib.reference}}),iw={sm:ip({container:{[iy.variable]:"radii.base",[ib.variable]:"space.3"}}),md:ip({container:{[iy.variable]:"radii.md",[ib.variable]:"space.5"}}),lg:ip({container:{[iy.variable]:"radii.xl",[ib.variable]:"space.7"}})},i_=im({baseStyle:iS,variants:{elevated:ip({container:{[iv.variable]:"shadows.base",_dark:{[ig.variable]:"colors.gray.700"}}}),outline:ip({container:{[ix.variable]:"1px",[ik.variable]:"colors.chakra-border-color"}}),filled:ip({container:{[ig.variable]:"colors.chakra-subtle-bg"}}),unstyled:{body:{[ib.variable]:0},header:{[ib.variable]:0},footer:{[ib.variable]:0}}},sizes:iw,defaultProps:{variant:"elevated",size:"md"}}),iC=e$("close-button-size"),iP=e$("close-button-bg"),iA=(0,I.k0)({w:[iC.reference],h:[iC.reference],borderRadius:"md",transitionProperty:"common",transitionDuration:"normal",_disabled:{opacity:.4,cursor:"not-allowed",boxShadow:"none"}
315,_hover:{[iP.variable]:"colors.blackAlpha.100",_dark:{[iP.variable]:"colors.whiteAlpha.100"}},_active:{[iP.variable]:"colors.blackAlpha.200",_dark:{[iP.variable]:"colors.whiteAlpha.200"}},_focusVisible:{boxShadow:"outline"},bg:iP.reference}),iE={lg:(0,I.k0)({[iC.variable]:"sizes.10",fontSize:"md"}),md:(0,I.k0)({[iC.variable]:"sizes.8",fontSize:"xs"}),sm:(0,I.k0)({[iC.variable]:"sizes.6",fontSize:"2xs"})},iT=(0,I.fj)({baseStyle:iA,sizes:iE,defaultProps:{size:"md"}}),{variants:ij,defaultProps:iz}=tF,iR=(0,I.k0)({fontFamily:"mono",fontSize:"sm",px:"0.2em",borderRadius:"sm"}),iB=(0,I.fj)({baseStyle:iR,variants:ij,defaultProps:iz}),i$=(0,I.k0)({w:"100%",mx:"auto",maxW:"prose",px:"4"}),iM=(0,I.fj)({baseStyle:i$}),iD=(0,I.k0)({opacity:.6,borderColor:"inherit"}),iF=(0,I.k0)({borderStyle:"solid"}),iI=(0,I.k0)({borderStyle:"dashed"}),iV=(0,I.fj)({baseStyle:iD,variants:{solid:iF,dashed:iI},defaultProps:{variant:"solid"}}),{definePartsStyle:iL,defineMultiStyleConfig:iO}=(0,I.D)(el.keys),iW=iO({baseStyle:iL({container:(0,I.k0)({borderTopWidth:"1px",borderColor:"inherit",_last:{borderBottomWidth:"1px"}}),button:(0,I.k0)({transitionProperty:"common",transitionDuration:"normal",fontSize:"md",_focusVisible:{boxShadow:"outline"},_hover:{bg:"blackAlpha.50"},_disabled:{opacity:.4,cursor:"not-allowed"},px:"4",py:"2"}),panel:(0,I.k0)({pt:"2",px:"4",pb:"5"}),icon:(0,I.k0)({fontSize:"1.25em"})})}),{definePartsStyle:iN,defineMultiStyleConfig:iH}=(0,I.D)(eu.keys),iU=(0,I.gJ)("alert-fg"),iq=(0,I.gJ)("alert-bg");function iG(e){let{theme:t,colorScheme:r}=e,n=tv(`${r}.200`,.16)(t);return{light:`colors.${r}.100`,dark:n}}var iY=iH({baseStyle:iN({container:{bg:iq.reference,px:"4",py:"3"},title:{fontWeight:"bold",lineHeight:"6",marginEnd:"2"},description:{lineHeight:"6"},icon:{color:iU.reference,flexShrink:0,marginEnd:"3",w:"5",h:"6"},spinner:{color:iU.reference,flexShrink:0,marginEnd:"3",w:"5",h:"5"}}),variants:{subtle:iN(e=>{let{colorScheme:t}=e,r=iG(e);return{container:{[iU.variable]:`colors.${t}.500`,[iq.variable]:r.light,_dark:{[iU.variable]:`colors.${t}.200`,[iq.variable]:r.dark}}}}),"left-accent":iN(e=>{let{colorScheme:t}=e,r=iG(e);return{container:{[iU.variable]:`colors.${t}.500`,[iq.variable]:r.light,_dark:{[iU.variable]:`colors.${t}.200`,[iq.variable]:r.dark},paddingStart:"3",borderStartWidth:"4px",borderStartColor:iU.reference}}}),"top-accent":iN(e=>{let{colorScheme:t}=e,r=iG(e);return{container:{[iU.variable]:`colors.${t}.500`,[iq.variable]:r.light,_dark:{[iU.variable]:`colors.${t}.200`,[iq.variable]:r.dark},pt:"2",borderTopWidth:"4px",borderTopColor:iU.reference}}}),solid:iN(e=>{let{colorScheme:t}=e;return{container:{[iU.variable]:"colors.white",[iq.variable]:`colors.${t}
315.500`,_dark:{[iU.variable]:"colors.gray.900",[iq.variable]:`colors.${t}.200`},color:iU.reference}}})},defaultProps:{variant:"subtle",colorScheme:"blue"}}),{definePartsStyle:iX,defineMultiStyleConfig:iZ}=(0,I.D)(ec.keys),iJ=(0,I.gJ)("avatar-border-color"),iK=(0,I.gJ)("avatar-bg"),iQ=(0,I.k0)({borderRadius:"full",border:"0.2em solid",[iJ.variable]:"white",_dark:{[iJ.variable]:"colors.gray.800"},borderColor:iJ.reference}),i0=(0,I.k0)({[iK.variable]:"colors.gray.200",_dark:{[iK.variable]:"colors.whiteAlpha.400"},bgColor:iK.reference}),i1=(0,I.gJ)("avatar-background"),i5=(0,I.k0)(e=>{let{name:t,theme:r}=e,n=t?function(e){var t;let r=tx();return!e||tp(e)?r:e.string&&e.colors?function(e,t){let r=0;if(0===e.length)return t[0];for(let n=0;n<e.length;n+=1)r=e.charCodeAt(n)+((r<<5)-r),r&=r;return r=(r%t.length+t.length)%t.length,t[r]}(e.string,e.colors):e.string&&!e.colors?function(e){let t=0;if(0===e.length)return t.toString();for(let r=0;r<e.length;r+=1)t=e.charCodeAt(r)+((t<<5)-t),t&=t;let n="#";for(let i=0;i<3;i+=1){let o=t>>8*i&255;n+=`00${o.toString(16)}`.substr(-2)}return n}(e.string):e.colors&&!e.string?(t=e.colors)[Math.floor(Math.random()*t.length)]:r}({string:t}):"colors.gray.400",i=tb(n)(r),o="white";return i||(o="gray.800"),{bg:i1.reference,"&:not([data-loaded])":{[i1.variable]:n},color:o,[iJ.variable]:"colors.white",_dark:{[iJ.variable]:"colors.gray.800"},borderColor:iJ.reference,verticalAlign:"top"}});function i2(e){let t="100%"!==e?eo[e]:void 0;return iX({container:{width:e,height:e,fontSize:`calc(${null!=t?t:e} / 2.5)`},excessLabel:{width:e,height:e},label:{fontSize:`calc(${null!=t?t:e} / 2.5)`,lineHeight:"100%"!==e?null!=t?t:e:void 0}})}var i4=iZ({baseStyle:iX(e=>({badge:rn(iQ,e),excessLabel:rn(i0,e),container:rn(i5,e)})),sizes:{"2xs":i2(4),xs:i2(6),sm:i2(8),md:i2(12),lg:i2(16),xl:i2(24),"2xl":i2(32),full:i2("100%")},defaultProps:{size:"md"}}),i3={colors:{"chakra-body-text":{_light:"gray.800",_dark:"whiteAlpha.900"},"chakra-body-bg":{_light:"white",_dark:"gray.800"},"chakra-border-color":{_light:"gray.200",_dark:"whiteAlpha.300"},"chakra-subtle-bg":{_light:"gray.100",_dark:"gray.700"},"chakra-placeholder-color":{_light:"gray.500",_dark:"whiteAlpha.400"}}},i6={global:{body:{fontFamily:"body",color:"chakra-body-text",bg:"chakra-body-bg",transitionProperty:"background-color",transitionDuration:"normal",lineHeight:"base"},"*::placeholder":{color:"chakra-placeholder-color"},"*, *::before, &::after":{borderColor:"chakra-border-color",wordWrap:"break-word"}}},i9={useSystemColorMode:!1,initialColorMode:"light",cssVarPrefix:"chakra"},i7={semanticTokens:i3,direction:"ltr",...ea,components:{Accordion:iW,Alert:iY,Avatar:i4,Badge:tF,Breadcrumb:ir,Button:ih,Checkbox:rd,CloseButton:iT,Code:iB,Container:iM,Divider:iV,Drawer:nG,Editable:nZ,Form:n0,FormError:n4,FormLabel:n6,Heading:n8,Input:tY,Kbd:rY,Link:rZ,List:rQ,Menu:r8,Modal:nc,NumberInput:n_,PinInput:nE,Popover:n$,Progress:rt,Radio:rm,Select:rk,Skeleton:rC,SkipLink:rE,Slider:rI,Spinner:rW,Stat:rU,Switch:e1,Table:e8,Tabs:tj,Tag:tW,Textarea:tK,Tooltip:t2,Card:i_},styles:i6,config:i9},i8={semanticTokens:i3,direction:"ltr",components:{},...ea,styles:i6,config:i9},oe=(e,t)=>e.find(e=>e.id===t);function ot(e,t){let r=or(e,t),n=r?e[r].findIndex(e=>e.id===t):-1;return{position:r,index:n}}function or(e,t){for(let[r,n]of Object.entries(e))if(oe(n,t))return r}function on(e,t){let r=(0,F.useRef)(!1),n=(0,F.useRef)(!1);(0,F.useEffect)(()=>{let t=r.current,i=t&&n.current;if(i)return e();n.current=!0},t),(0,F.useEffect)(()=>(r.current=!0,()=>{r.current=!1}),[])}let oi=(0,F.createContext)(null),oo=(0,F.createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),oa=(0,F.createContext)({}),os="undefined"!=typeof document,ol=os?F.useLayoutEffect:F.useEffect,ou=(0,F.createContext)({strict:!1});function oc(e){return"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}function od(e){return"string"==typeof e||Array.isArray(e)}function oh(e){return"object"==typeof e&&"function"==typeof e.start}let op=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],of=["initial",...op];function om(e){return oh(e.animate)||of.some(t=>od(e[t]))}function og(e){return Boolean(om(e)||e.variants)}function ob(e){return Array.isArray(e)?e.join(" "):e}let ov={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"]},oy={};for(let ox in ov)oy[ox]={isEnabled:e=>ov[ox].some(t=>!!e[t])};function ok(e){let t=(0,F.useRef)(null);return null===t.current&&(t.current=e()),t.current}let oS={hasAnimatedSinceResize:!0,hasEverUpdated:!1},ow=1,o_=(0,F.createContext)({}),oC=(0,F.createContext)({}),oP=Symbol.for("motionComponentSymbol"),oA=["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 oE(e){if("string"!=typeof e||e.includes("-"));else if(oA.indexOf(e)>-1||/[A-Z]/.test(e))return!0;return!1}let oT={},oj=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],oz=new Set(oj);function oR(e,{layout:t,layoutId:r}){return oz.has(e)||e.startsWith("origin")||(t||void 0!==r)&&(!!oT[e]||"opacity"===e)}let oB=e=>Boolean(e&&e.getVelocity),o$={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},oM=oj.length,oD=e=>t=>"string"==typeof t&&t.startsWith(e),oF=oD("--"),oI=oD("var(--"),oV=(e,t)=>t&&"number"==typeof e?t.transform(e):e,oL=(e,t,r)=>
315Math.min(Math.max(r,e),t),oO={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},oW={...oO,transform:e=>oL(0,1,e)},oN={...oO,default:1},oH=e=>Math.round(1e5*e)/1e5,oU=/(-)?([\d]*\.?[\d])+/g,oq=/(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,oG=/^(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function oY(e){return"string"==typeof e}let oX=e=>({test:t=>oY(t)&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),oZ=oX("deg"),oJ=oX("%"),oK=oX("px"),oQ=oX("vh"),o0=oX("vw"),o1={...oJ,parse:e=>oJ.parse(e)/100,transform:e=>oJ.transform(100*e)},o5={...oO,transform:Math.round},o2={borderWidth:oK,borderTopWidth:oK,borderRightWidth:oK,borderBottomWidth:oK,borderLeftWidth:oK,borderRadius:oK,radius:oK,borderTopLeftRadius:oK,borderTopRightRadius:oK,borderBottomRightRadius:oK,borderBottomLeftRadius:oK,width:oK,maxWidth:oK,height:oK,maxHeight:oK,size:oK,top:oK,right:oK,bottom:oK,left:oK,padding:oK,paddingTop:oK,paddingRight:oK,paddingBottom:oK,paddingLeft:oK,margin:oK,marginTop:oK,marginRight:oK,marginBottom:oK,marginLeft:oK,rotate:oZ,rotateX:oZ,rotateY:oZ,rotateZ:oZ,scale:oN,scaleX:oN,scaleY:oN,scaleZ:oN,skew:oZ,skewX:oZ,skewY:oZ,distance:oK,translateX:oK,translateY:oK,translateZ:oK,x:oK,y:oK,z:oK,perspective:oK,transformPerspective:oK,opacity:oW,originX:o1,originY:o1,originZ:oK,zIndex:o5,fillOpacity:oW,strokeOpacity:oW,numOctaves:o5};function o4(e,t,r,n){let{style:i,vars:o,transform:a,transformOrigin:s}=e,l=!1,u=!1,c=!0;for(let d in t){let h=t[d];if(oF(d)){o[d]=h;continue}let p=o2[d],f=oV(h,p);if(oz.has(d)){if(l=!0,a[d]=f,!c)continue;h!==(p.default||0)&&(c=!1)}else d.startsWith("origin")?(u=!0,s[d]=f):i[d]=f}if(!t.transform&&(l||n?i.transform=function(e,{enableHardwareAcceleration:t=!0,allowTransformNone:r=!0},n,i){let o="";for(let a=0;a<oM;a++){let s=oj[a];if(void 0!==e[s]){let l=o$[s]||s;o+=`${l}(${e[s]}) `}}return t&&!e.z&&(o+="translateZ(0)"),o=o.trim(),i?o=i(e,n?"":o):r&&n&&(o="none"),o}(e.transform,r,c,n):i.transform&&(i.transform="none")),u){let{originX:m="50%",originY:g="50%",originZ:b=0}=s;i.transformOrigin=`${m} ${g} ${b}`}}let o3=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function o6(e,t,r){for(let n in t)oB(t[n])||oR(n,r)||(e[n]=t[n])}function o9(e,t,r){let n={},i=function(e,t,r){let n=e.style||{},i={};return o6(i,n,e),Object.assign(i,function({transformTemplate:e},t,r){return(0,F.useMemo)(()=>{let n=o3();return o4(n,t,{enableHardwareAcceleration:!r},e),Object.assign({},n.vars,n.style)},[t])}(e,t,r)),e.transformValues?e.transformValues(i):i}(e,t,r);return e.drag&&!1!==e.dragListener&&(n.draggable=!1,i.userSelect=i.WebkitUserSelect=i.WebkitTouchCallout="none",i.touchAction=!0===e.drag?"none":`pan-${"x"===e.drag?"y":"x"}`),void 0===e.tabIndex&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=i,n}let o7=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","transformValues","custom","inherit","onLayoutAnimationStart","onLayoutAnimationComplete","onLayoutMeasure","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","ignoreStrict","viewport"]);function o8(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||o7.has(e)}let ae=e=>!o8(e);try{(n=require("@emotion/is-prop-valid").default)&&(ae=e=>e.startsWith("on")?!o8(e):n(e))}catch(at){}function ar(e,t,r){return"string"==typeof e?e:oK.transform(t+r*e)}let an={offset:"stroke-dashoffset",array:"stroke-dasharray"},ai={offset:"strokeDashoffset",array:"strokeDasharray"};function ao(e,{attrX:t,attrY:r,originX:n,originY:i,pathLength:o,pathSpacing:a=1,pathOffset:s=0,...l},u,c,d){if(o4(e,l,u,d),c){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:h,style:p,dimensions:f}=e;h.transform&&(f&&(p.transform=h.transform),delete h.transform),f&&(void 0!==n||void 0!==i||p.transform)&&(p.transformOrigin=function(e,t,r){let n=ar(t,e.x,e.width),i=ar(r,e.y,e.height);return`${n} ${i}`}(f,void 0!==n?n:.5,void 0!==i?i:.5)),void 0!==t&&(h.x=t),void 0!==r&&(h.y=r),void 0!==o&&function(e,t,r=1,n=0,i=!0){e.pathLength=1;let o=i?an:ai;e[o.offset]=oK.transform(-n);let a=oK.transform(t),s=oK.transform(r);e[o.array]=`${a} ${s}`}(h,o,a,s,!1)}let aa=()=>({...o3(),attrs:{}}),as=e=>"string"==typeof e&&"svg"===e.toLowerCase();function al(e,t,r,n){let i=(0,F.useMemo)(()=>{let r=aa();return ao(r,t,{enableHardwareAcceleration:!1},as(n),e.transformTemplate),{...r.attrs,style:{...r.style}}},[t]);if(e.style){let o={};o6(o,e.style,e),i.style={...o,...i.style}}return i}let au=e=>e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();function ac(e,{style:t,vars:r},n,i){for(let o in Object.assign(e.style,t,i&&i.getProjectionStyles(n)),r)e.style.setProperty(o,r[o])}let ad=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"]);function ah(e,t,r,n){for(let i in ac(e,t,void 0,n),t.attrs)e.setAttribute(ad.has(i)?i:au(i),t.attrs[i])}function ap(e,t){let{style:r}=e,n={};for(let i in r)(oB(r[i])||t.style&&oB(t.style[i])||oR(i,e))&&(n[i]=r[i]);return n}function af(e,t){let r=ap(e,t);for(let n in e)if(oB(e[n])||oB(t[n])){let i="x"===n||"y"===n?"attr"+n.toUpperCase():n;r[i]=e[n]}return r}function am(e,t,r,n={},i={}){return"function"==typeof t&&(t=t(void 0!==r?r:e.custom,n,i)),"string"==typeof t&&(t=e.variants&&e.variants[t]),"function"==typeof t&&(t=t(void 0!==r?r:e.custom,n,i)),t}let ag=e=>Array.isArray(e),ab=e=>Boolean(e&&"object"==typeof e&&e.mix&&e.toValue),av=e=>ag(e)?e[e.length-1]||0:e;function ay(e){let t=oB(e)?e.get():e;return ab(t)?t.toValue():t}let ax=e=>(t,r)=>{let n=(0,F.useContext)(oa),i=(0,F.useContext)(oi),o=()=>(function({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:r},n,i,o){let a={latestValues:function(e,t,r,n){let i={},o=n(e,{});for(let a in o)i[a]=ay(o[a]);let{initial:s,animate:l}=e,u=om(e),c=og(e);t&&c&&!u&&!1!==e.inherit&&(void 0===s&&(s=t.initial),void 0===l&&(l=t.animate));let d=!!r&&!1===r.initial;d=d||!1===s;let h=d?l:s;if(h&&"boolean"!=typeof h&&!oh(h)){let p=Array.isArray(h)?h:[h];p.forEach(t=>{let r=am(e,t);if(!r)return;let{transitionEnd:n,transition:o,...a}=r;for(let s in a){let l=a[s];if(Array.isArray(l)){let u=d?l.length-1:0;l=l[u]}null!==l&&(i[s]=l)}for(let c in n)i[c]=n[c]})}return i}(n,i,o,e),renderState:t()};return r&&(a.mount=e=>r(n,e,a)),a})(e,t,n,i);return r?o():ok(o)},ak={useVisualState:ax({scrapeMotionValuesFromProps:af,createRenderState:aa,onMount:(e,t,{renderState:r,latestValues:n})=>{try{r.dimensions="function"==typeof t.getBBox?t.getBBox():t.getBoundingClientRect()}catch(i){r.dimensions={x:0,y:0,width:0,height:0}}ao(r,n,{enableHardwareAcceleration:!1},as(t.tagName),e.transformTemplate),ah(t,r)}})},aS={useVisualState:ax({scrapeMotionValuesFromProps:ap,createRenderState:o3})};function aw(e,t,r,n={passive:!0}){return e.addEventListener(t,r,n),()=>e.removeEventListener(t,r)}let a_=e=>"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary;function aC(e,t="page"){return{point:{x:e[t+"X"],y:e[t+"Y"]}}}let aP=e=>t=>a_(t)&&e(t,aC(t));function aA(e,t,r,n){return aw(e,t,aP(r),n)}let aE=(e,t)=>r=>
315t(e(r)),aT=(...e)=>e.reduce(aE);function aj(e){let t=null;return()=>{let r=()=>{t=null};return null===t&&(t=e,r)}}let az=aj("dragHorizontal"),aR=aj("dragVertical");function aB(e){let t=!1;if("y"===e)t=aR();else if("x"===e)t=az();else{let r=az(),n=aR();r&&n?t=()=>{r(),n()}:(r&&r(),n&&n())}return t}function a$(){let e=aB(!0);return!e||(e(),!1)}class aM{constructor(e){this.isMounted=!1,this.node=e}update(){}}let aD={delta:0,timestamp:0},aF=!0,aI=!1,aV=!1,aL=["read","update","preRender","render","postRender"],aO=aL.reduce((e,t)=>(e[t]=function(e){let t=[],r=[],n=0,i=!1,o=!1,a=new WeakSet,s={schedule:(e,o=!1,s=!1)=>{let l=s&&i,u=l?t:r;return o&&a.add(e),-1===u.indexOf(e)&&(u.push(e),l&&i&&(n=t.length)),e},cancel:e=>{let t=r.indexOf(e);-1!==t&&r.splice(t,1),a.delete(e)},process:l=>{if(i){o=!0;return}if(i=!0,[t,r]=[r,t],r.length=0,n=t.length)for(let u=0;u<n;u++){let c=t[u];c(l),a.has(c)&&(s.schedule(c),e())}i=!1,o&&(o=!1,s.process(l))}};return s}(()=>aI=!0),e),{}),aW=aL.reduce((e,t)=>{let r=aO[t];return e[t]=(e,t=!1,n=!1)=>(aI||aG(),r.schedule(e,t,n)),e},{}),aN=aL.reduce((e,t)=>(e[t]=aO[t].cancel,e),{}),aH=aL.reduce((e,t)=>(e[t]=()=>aO[t].process(aD),e),{}),aU=e=>aO[e].process(aD),aq=e=>{aI=!1,aD.delta=aF?1e3/60:Math.max(Math.min(e-aD.timestamp,40),1),aD.timestamp=e,aV=!0,aL.forEach(aU),aV=!1,aI&&(aF=!1,requestAnimationFrame(aq))},aG=()=>{aI=!0,aF=!0,aV||requestAnimationFrame(aq)};function aY(e,t){let r="onHover"+(t?"Start":"End"),n=(n,i)=>{if("touch"===n.type||a$())return;let o=e.getProps();e.animationState&&o.whileHover&&e.animationState.setActive("whileHover",t),o[r]&&aW.update(()=>o[r](n,i))};return aA(e.current,"pointer"+(t?"enter":"leave"),n,{passive:!e.getProps()[r]})}let aX=(e,t)=>!!t&&(e===t||aX(e,t.parentElement)),aZ=e=>e;function aJ(e,t){if(!t)return;let r=new PointerEvent("pointer"+e);t(r,aC(r))}let aK=new WeakMap,aQ=new WeakMap,a0=e=>{let t=aK.get(e.target);t&&t(e)},a1=e=>{e.forEach(a0)},a5={some:0,all:1};function a2(e,t){if(!Array.isArray(t))return!1;let 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}let a4=e=>/^\-?\d*\.?\d+$/.test(e),a3=e=>/^0[^.\s]+$/.test(e);function a6(e,t){-1===e.indexOf(t)&&e.push(t)}function a9(e,t){let r=e.indexOf(t);r>-1&&e.splice(r,1)}class a7{constructor(){this.subscriptions=[]}add(e){return a6(this.subscriptions,e),()=>a9(this.subscriptions,e)}notify(e,t,r){let n=this.subscriptions.length;if(n){if(1===n)this.subscriptions[0](e,t,r);else for(let i=0;i<n;i++){let o=this.subscriptions[i];o&&o(e,t,r)}}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}let a8=e=>!isNaN(parseFloat(e));class se{constructor(e,t={}){this.version="10.2.5",this.timeDelta=0,this.lastUpdated=0,this.canTrackVelocity=!1,this.events={},this.updateAndNotify=(e,t=!0)=>{this.prev=this.current,this.current=e;let{delta:r,timestamp:n}=aD;this.lastUpdated!==n&&(this.timeDelta=r,this.lastUpdated=n,aW.postRender(this.scheduleVelocityCheck)),this.prev!==this.current&&this.events.change&&this.events.change.notify(this.current),this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()),t&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.scheduleVelocityCheck=()=>aW.postRender(this.velocityCheck),this.velocityCheck=({timestamp:e})=>{e!==this.lastUpdated&&(this.prev=this.current,this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=e,this.canTrackVelocity=a8(this.current),this.owner=t.owner}onChange(e){return this.on("change",e)}on(e,t){this.events[e]||(this.events[e]=new a7);let r=this.events[e].add(t);return"change"===e?()=>{r(),aW.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(let e in this.events)this.events[e].clear()}attach(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}set(e,t=!0){t&&this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e,t)}setWithVelocity(e,t,r){this.set(t),this.prev=e,this.timeDelta=r}jump(e){this.updateAndNotify(e),this.prev=e,this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){var e,t;return this.canTrackVelocity?(e=parseFloat(this.current)-parseFloat(this.prev),(t=this.timeDelta)?e*(1e3/t):0):0}start(e){return this.stop(),new Promise(t=>{this.hasAnimated=!0,this.animation=e(t),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function st(e,t){return new se(e,t)}let sr=(e,t)=>
315r=>Boolean(oY(r)&&oG.test(r)&&r.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(r,t)),sn=(e,t,r)=>n=>{if(!oY(n))return n;let[i,o,a,s]=n.match(oU);return{[e]:parseFloat(i),[t]:parseFloat(o),[r]:parseFloat(a),alpha:void 0!==s?parseFloat(s):1}},si=e=>oL(0,255,e),so={...oO,transform:e=>Math.round(si(e))},sa={test:sr("rgb","red"),parse:sn("red","green","blue"),transform:({red:e,green:t,blue:r,alpha:n=1})=>"rgba("+so.transform(e)+", "+so.transform(t)+", "+so.transform(r)+", "+oH(oW.transform(n))+")"},ss={test:sr("#"),parse:function(e){let t="",r="",n="",i="";return e.length>5?(t=e.substring(1,3),r=e.substring(3,5),n=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),r=e.substring(2,3),n=e.substring(3,4),i=e.substring(4,5),t+=t,r+=r,n+=n,i+=i),{red:parseInt(t,16),green:parseInt(r,16),blue:parseInt(n,16),alpha:i?parseInt(i,16)/255:1}},transform:sa.transform},sl={test:sr("hsl","hue"),parse:sn("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:r,alpha:n=1})=>"hsla("+Math.round(e)+", "+oJ.transform(oH(t))+", "+oJ.transform(oH(r))+", "+oH(oW.transform(n))+")"},su={test:e=>sa.test(e)||ss.test(e)||sl.test(e),parse:e=>sa.test(e)?sa.parse(e):sl.test(e)?sl.parse(e):ss.parse(e),transform:e=>oY(e)?e:e.hasOwnProperty("red")?sa.transform(e):sl.transform(e)},sc="${c}",sd="${n}";function sh(e){"number"==typeof e&&(e=`${e}`);let t=[],r=0,n=0,i=e.match(oq);i&&(r=i.length,e=e.replace(oq,sc),t.push(...i.map(su.parse)));let o=e.match(oU);return o&&(n=o.length,e=e.replace(oU,sd),t.push(...o.map(oO.parse))),{values:t,numColors:r,numNumbers:n,tokenised:e}}function sp(e){return sh(e).values}function sf(e){let{values:t,numColors:r,tokenised:n}=sh(e),i=t.length;return e=>{let t=n;for(let o=0;o<i;o++)t=t.replace(o<r?sc:sd,o<r?su.transform(e[o]):oH(e[o]));return t}}let sm=e=>"number"==typeof e?0:e,sg={test:function(e){var t,r;return isNaN(e)&&oY(e)&&((null===(t=e.match(oU))||void 0===t?void 0:t.length)||0)+((null===(r=e.match(oq))||void 0===r?void 0:r.length)||0)>0},parse:sp,createTransformer:sf,getAnimatableNone:function(e){let t=sp(e),r=sf(e);return r(t.map(sm))}},sb=new Set(["brightness","contrast","saturate","opacity"]);function sv(e){let[t,r]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;let[n]=r.match(oU)||[];if(!n)return e;let i=r.replace(n,""),o=sb.has(t)?1:0;return n!==r&&(o*=100),t+"("+o+i+")"}let sy=/([a-z-]*)\(.*?\)/g,sx={...sg,getAnimatableNone:e=>{let t=e.match(sy);return t?t.map(sv).join(" "):e}},sk={...o2,color:su,backgroundColor:su,outlineColor:su,fill:su,stroke:su,borderColor:su,borderTopColor:su,borderRightColor:su,borderBottomColor:su,borderLeftColor:su,filter:sx,WebkitFilter:sx},sS=e=>sk[e];function sw(e,t){let r=sS(e);return r!==sx&&(r=sg),r.getAnimatableNone?r.getAnimatableNone(t):void 0}let s_=e=>t=>t.test(e),sC=[oO,oK,oJ,oZ,o0,oQ,{test:e=>"auto"===e,parse:e=>e}],sP=e=>sC.find(s_(e)),sA=[...sC,su,sg],sE=e=>sA.find(s_(e));function sT(e,t,r){let n=e.getProps();return am(n,t,void 0!==r?r:n.custom,function(e){let t={};return e.values.forEach((e,r)=>t[r]=e.get()),t}(e),function(e){let t={};return e.values.forEach((e,r)=>t[r]=e.getVelocity()),t}(e))}function sj(e){return Boolean(oB(e)&&e.add)}let sz="data-"+au("framerAppearId"),sR=e=>1e3*e,sB=e=>e/1e3,s$={current:!1},sM=([e,t,r,n])=>`cubic-bezier(${e}, ${t}, ${r}, ${n})`,sD={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:sM([0,.65,.55,1]),circOut:sM([.55,0,1,.45]),backIn:sM([.31,.01,.66,-.59]),backOut:sM([.33,1.53,.69,.99])},sF={waapi:()=>Object.hasOwnProperty.call(Element.prototype,"animate")},sI={},sV={};for(let sL in sF)sV[sL]=()=>(void 0===sI[sL]&&(sI[sL]=sF[sL]()),sI[sL]);let sO=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,sW=e=>t=>1-e(1-t),sN=e=>e*e,sH=sW(sN),sU=sO(sN),sq=(e,t,r)=>-r*e+r*t+e;function sG(e,t,r){return(r<0&&(r+=1),r>1&&(r-=1),r<1/6)?e+(t-e)*6*r:r<.5?t:r<2/3?e+(t-e)*(2/3-r)*6:e}let sY=(e,t,r)=>{let n=e*e;return Math.sqrt(Math.max(0,r*(t*t-n)+n))},sX=[ss,sa,sl],sZ=e=>sX.find(t=>t.test(e));function sJ(e){let t=sZ(e);aZ(Boolean(t),`'${e}' is not an animatable color. Use the equivalent color code instead.`);let r=t.parse(e);return t===sl&&(r=function({hue:e,saturation:t,lightness:r,alpha:n}){e/=360,r/=100;let i=0,o=0,a=0;if(t/=100){let s=r<.5?r*(1+t):r+t-r*t,l=2*r-s;i=sG(l,s,e+1/3),o=sG(l,s,e),a=sG(l,s,e-1/3)}else i=o=a=r;return{red:Math.round(255*i),green:Math.round(255*o),blue:Math.round(255*a),alpha:n}}(r)),r}let sK=(e,t)=>{let r=sJ(e),n=sJ(t),i={...r};return e=>(i.red=sY(r.red,n.red,e),i.green=sY(r.green,n.green,e),i.blue=sY(r.blue,n.blue,e),i.alpha=sq(r.alpha,n.alpha,e),sa.transform(i))};function sQ(e,t){return"number"==typeof e?r=>sq(e,t,r):su.test(e)?sK(e,t):s5(e,t)}let s0=(e,t)=>{let r=[...e],n=r.length,i=e.map((e,r)=>sQ(e,t[r]));return e=>{for(let t=0;t<n;t++)r[t]=i[t](e);return r}},s1=(e,t)=>{let r={...e,...t},n={};for(let i in r)void 0!==e[i]&&void 0!==t[i]&&(n[i]=sQ(e[i],t[i]));return e=>{for(let t in n)r[t]=n[t](e);return r}},s5=(e,t)=>{let r=sg.createTransformer(t),n=sh(e),i=sh(t),o=n.numColors===i.numColors&&n.numNumbers>=i.numNumbers;return o?aT(s0(n.values,i.values),r):(aZ(!0,`Complex values '${e}' and '${t}
315' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),r=>`${r>0?t:e}`)},s2=(e,t,r)=>{let n=t-e;return 0===n?1:(r-e)/n},s4=(e,t)=>r=>sq(e,t,r);function s3(e,t,{clamp:r=!0,ease:n,mixer:i}={}){let o=e.length;aZ(o===t.length,"Both input and output ranges must be the same length"),aZ(!n||!Array.isArray(n)||n.length===o-1,"Array of easing functions must be of length `input.length - 1`, as it applies to the transitions **between** the defined values."),e[0]>e[o-1]&&(e=[...e].reverse(),t=[...t].reverse());let a=function(e,t,r){let n=[],i=r||function(e){if("number"==typeof e);else if("string"==typeof e)return su.test(e)?sK:s5;else if(Array.isArray(e))return s0;else if("object"==typeof e)return s1;return s4}(e[0]),o=e.length-1;for(let a=0;a<o;a++){let s=i(e[a],e[a+1]);if(t){let l=Array.isArray(t)?t[a]:t;s=aT(l,s)}n.push(s)}return n}(t,n,i),s=a.length,l=t=>{let r=0;if(s>1)for(;r<e.length-2&&!(t<e[r+1]);r++);let n=s2(e[r],e[r+1],t);return a[r](n)};return r?t=>l(oL(e[0],e[o-1],t)):l}let s6=(e,t,r)=>(((1-3*r+3*t)*e+(3*r-6*t))*e+3*t)*e;function s9(e,t,r,n){if(e===t&&r===n)return aZ;let i=t=>(function(e,t,r,n,i){let o,a;let s=0;do(o=s6(a=t+(r-t)/2,n,i)-e)>0?r=a:t=a;while(Math.abs(o)>1e-7&&++s<12);return a})(t,0,1,e,r);return e=>0===e||1===e?e:s6(i(e),t,n)}let s7=e=>1-Math.sin(Math.acos(e)),s8=sW(s7),le=sO(s8),lt=s9(.33,1.53,.69,.99),lr=sW(lt),ln=sO(lr),li=e=>(e*=2)<1?.5*lr(e):.5*(2-Math.pow(2,-10*(e-1))),lo={linear:aZ,easeIn:sN,easeInOut:sU,easeOut:sH,circIn:s7,circInOut:le,circOut:s8,backIn:lr,backInOut:ln,backOut:lt,anticipate:li},la=e=>{if(Array.isArray(e)){aZ(4===e.length,"Cubic bezier arrays must contain four numerical values.");let[t,r,n,i]=e;return s9(t,r,n,i)}return"string"==typeof e?(aZ(void 0!==lo[e],`Invalid easing type '${e}'`),lo[e]):e},ls=e=>Array.isArray(e)&&"number"!=typeof e[0];function ll({duration:e=300,keyframes:t,times:r,ease:n="easeInOut"}){let i=ls(n)?n.map(la):la(n),o={done:!1,value:t[0]},a=(r&&r.length===t.length?r:function(e){let t=[0];return function(e,t){let r=e[e.length-1];for(let n=1;n<=t;n++){let i=s2(0,t,n);e.push(sq(r,1,i))}}(t,e.length-1),t}(t)).map(t=>t*e),s=s3(a,t,{ease:Array.isArray(i)?i:t.map(()=>i||sU).splice(0,t.length-1)});return{calculatedDuration:e,next:t=>(o.value=s(t),o.done=t>=e,o)}}function lu(e,t,r){var n,i;let o=Math.max(t-5,0);return n=r-e(o),(i=t-o)?n*(1e3/i):0}function lc(e,t){return e*Math.sqrt(1-t*t)}let ld=["duration","bounce"],lh=["stiffness","damping","mass"];function lp(e,t){return t.some(t=>void 0!==e[t])}function lf({keyframes:e,restDelta:t,restSpeed:r,...n}){let i;let o=e[0],a=e[e.length-1],s={done:!1,value:o},{stiffness:l,damping:u,mass:c,velocity:d,duration:h,isResolvedFromDuration:p}=function(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!lp(e,lh)&&lp(e,ld)){let r=function({duration:e=800,bounce:t=.25,velocity:r=0,mass:n=1}){let i,o;aZ(e<=sR(10),"Spring duration must be 10 seconds or less");let a=1-t;a=oL(.05,1,a),e=oL(.01,10,sB(e)),a<1?(i=t=>{let n=t*a,i=n*e,o=lc(t,a);return .001-(n-r)/o*Math.exp(-i)},o=t=>{let n=t*a,o=n*e,s=Math.pow(a,2)*Math.pow(t,2)*e,l=lc(Math.pow(t,2),a),u=-i(t)+.001>0?-1:1;return u*((o*r+r-s)*Math.exp(-o))/l}):(i=t=>{let n=Math.exp(-t*e),i=(t-r)*e+1;return -.001+n*i},o=t=>{let n=Math.exp(-t*e),i=(r-t)*(e*e);return n*i});let s=5/e,l=function(e,t,r){let n=r;for(let i=1;i<12;i++)n-=e(n)/t(n);return n}(i,o,s);if(e=sR(e),isNaN(l))return{stiffness:100,damping:10,duration:e};{let u=Math.pow(l,2)*n;return{stiffness:u,damping:2*a*Math.sqrt(n*u),duration:e}}}(e);(t={...t,...r,velocity:0,mass:1}).isResolvedFromDuration=!0}return t}(n),f=d?-sB(d):0,m=u/(2*Math.sqrt(l*c)),g=a-o,b=sB(Math.sqrt(l/c)),v=5>Math.abs(g);if(r||(r=v?.01:2),t||(t=v?.005:.5),m<1){let y=lc(b,m);i=e=>a-Math.exp(-m*b*e)*((f+m*b*g)/y*Math.sin(y*e)+g*Math.cos(y*e))}else if(1===m)i=e=>a-Math.exp(-b*e)*(g+(f+b*g)*e);else{let x=b*Math.sqrt(m*m-1);i=e=>{let t=Math.min(x*e,300);return a-Math.exp(-m*b*e)*((f+m*b*g)*Math.sinh(t)+x*g*Math.cosh(t))/x}}
315return{calculatedDuration:p&&h||null,next:e=>{let n=i(e);if(p)s.done=e>=h;else{let o=f;0!==e&&(o=m<1?lu(i,e,n):0);let l=Math.abs(o)<=r,u=Math.abs(a-n)<=t;s.done=l&&u}return s.value=s.done?a:n,s}}}function lm({keyframes:e,velocity:t=0,power:r=.8,timeConstant:n=325,bounceDamping:i=10,bounceStiffness:o=500,modifyTarget:a,min:s,max:l,restDelta:u=.5,restSpeed:c}){let d,h;let p=e[0],f={done:!1,value:p},m=e=>void 0!==s&&e<s||void 0!==l&&e>l,g=e=>void 0===s?l:void 0===l?s:Math.abs(s-e)<Math.abs(l-e)?s:l,b=r*t,v=p+b,y=void 0===a?v:a(v);y!==v&&(b=y-p);let x=e=>-b*Math.exp(-e/n),k=e=>y+x(e),S=e=>{let t=x(e),r=k(e);f.done=Math.abs(t)<=u,f.value=f.done?y:r},w=e=>{m(f.value)&&(d=e,h=lf({keyframes:[f.value,g(f.value)],velocity:lu(k,e,f.value),damping:i,stiffness:o,restDelta:u,restSpeed:c}))};return w(0),{calculatedDuration:null,next:e=>{let t=!1;return(h||void 0!==d||(t=!0,S(e),w(e)),void 0!==d&&e>d)?h.next(e-d):(t||S(e),f)}}}let lg=e=>{let t=({timestamp:t})=>e(t);return{start:()=>aW.update(t,!0),stop:()=>aN.update(t),now:()=>performance.now()}},lb={decay:lm,inertia:lm,tween:ll,keyframes:ll,spring:lf};
315function lv({autoplay:e=!0,delay:t=0,driver:r=lg,keyframes:n,type:i="keyframes",repeat:o=0,repeatDelay:a=0,repeatType:s="loop",onPlay:l,onStop:u,onComplete:c,onUpdate:d,...h}){let p,f,m;let g=lb[i]||ll;g!==ll&&"number"!=typeof n[0]&&(f=s3([0,100],n,{clamp:!1}),n=[0,100]);let b=g({...h,keyframes:n});"mirror"===s&&(m=g({...h,keyframes:[...n].reverse(),velocity:-(h.velocity||0)}));let v="idle",y=null,x=null;null===b.calculatedDuration&&o&&(b.calculatedDuration=function(e){let t=0,r=e.next(t);for(;!r.done&&t<2e4;)t+=50,r=e.next(t);return t}(b));let{calculatedDuration:k}=b,S=1/0,w=1/0;k&&(w=(S=k+a)*(o+1)-a);let _=0,C=e=>{if(null===x)return;_=Math.max((_=null!==y?y:e-x)-t,0),"finished"===v&&null===y&&(_=w);let r=_,n=b;if(o){let i=_/S,l=Math.floor(i),u=i%1;!u&&i>=1&&(u=1),1===u&&l--;let h=l%2;h&&("reverse"===s?(u=1-u,a&&(u-=a/S)):"mirror"===s&&(n=m));let g=_>=w?"reverse"===s&&h?0:1:oL(0,1,u);r=g*S}let C=n.next(r),{value:P,done:A}=C;d&&d(f?f(P):P),null!==k&&(A=_>=w);let E=null===y&&("finished"===v||"running"===v&&A);return E&&(v="finished",c&&c(),p&&p.stop()),C};e&&(()=>{p=r(C);let e=p.now();l&&l(),v="running",null!==y?x=e-y:x||(x=e),y=null,p.start()})();let P={get currentTime(){return sB(_)},set currentTime(newTime){null===y&&p?x=p.now()-sR(newTime):y=0},stop:()=>{u&&u(),p&&p.stop()},sample:e=>(x=0,C(e))};return P}let ly=new Set(["opacity","clipPath","filter","transform","backgroundColor"]),lx=(e,t)=>{var r;return"spring"===t.type||"backgroundColor"===e||!(!(r=t.ease)||Array.isArray(r)||"string"==typeof r&&sD[r])},lk={type:"spring",stiffness:500,damping:25,restSpeed:10},lS=e=>({type:"spring",stiffness:550,damping:0===e?2*Math.sqrt(550):30,restSpeed:10}),lw={type:"keyframes",duration:.8},l_={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},lC=(e,{keyframes:t})=>t.length>2?lw:oz.has(e)?e.startsWith("scale")?lS(t[1]):lk:l_,lP=(e,t)=>"zIndex"!==e&&!!("number"==typeof t||Array.isArray(t)||"string"==typeof t&&sg.test(t)&&!t.startsWith("url("));function lA(e){return 0===e||"string"==typeof e&&0===parseFloat(e)&&-1===e.indexOf(" ")}function lE(e){return"number"==typeof e?0:sw("",e)}function lT(e,t){return e[t]||e.default||e}let lj=(e,t,r,n={})=>i=>{let o=lT(n,e)||{},a=o.delay||n.delay||0,{elapsed:s=0}=n;s-=sR(a);let l=function(e,t,r,n){let i=lP(t,r),o=void 0!==n.from?n.from:e.get();return("none"===o&&i&&"string"==typeof r?o=sw(t,r):lA(o)&&"string"==typeof r?o=lE(r):!Array.isArray(r)&&lA(r)&&"string"==typeof o&&(r=lE(o)),Array.isArray(r))?(null===r[0]&&(r[0]=o),r):[o,r]}(t,e,r,o),u=l[0],c=l[l.length-1],d=lP(e,u),h=lP(e,c);aZ(d===h,`You are trying to animate ${e} from "${u}" to "${c}". ${u} is not an animatable value - to enable this animation set ${u} to a value animatable to ${c} via the \`style\` property.`);let p={keyframes:l,velocity:t.getVelocity(),...o,delay:-s,onUpdate:e=>{t.set(e),o.onUpdate&&o.onUpdate(e)},onComplete:()=>{i(),o.onComplete&&o.onComplete()}};if(!d||!h||s$.current||!1===o.type)return function({keyframes:e,delay:t,onUpdate:r,onComplete:n}){let i=()=>(r&&r(e[e.length-1]),n&&n(),{stop:()=>{},currentTime:0});return t?lv({keyframes:[0,1],duration:t,onComplete:i}):i()}(p);if(!function({when:e,delay:t,delayChildren:r,staggerChildren:n,staggerDirection:i,repeat:o,repeatType:a,repeatDelay:s,from:l,elapsed:u,...c}){return!!Object.keys(c).length}(o)&&(p={...p,...lC(e,p)}),p.duration&&(p.duration=sR(p.duration)),p.repeatDelay&&(p.repeatDelay=sR(p.repeatDelay)),t.owner&&t.owner.current instanceof HTMLElement&&!t.owner.getProps().onUpdate){let f=function(e,t,{onUpdate:r,onComplete:n,...i}){let o=sV.waapi()&&ly.has(t)&&!i.repeatDelay&&"mirror"!==i.repeatType&&0!==i.damping&&"inertia"!==i.type;if(!o)return!1;let{keyframes:a,duration:s=300,ease:l}=i;if(lx(t,i)){let u=lv({...i,repeat:0,delay:0}),c={done:!1,value:a[0]},d=[],h=0;for(;!c.done&&h<2e4;)d.push((c=u.sample(h)).value),h+=10;a=d,s=h-10,l="linear"}let p=function(e,t,r,{delay:n=0,duration:i,repeat:o=0,repeatType:a="loop",ease:s,times:l}={}){let u={[t]:r};return l&&(u.offset=l),e.animate(u,{delay:n,duration:i,easing:function(e){if(e)return Array.isArray(e)?sM(e):sD[e]}(s),fill:"both",iterations:o+1,direction:"reverse"===a?"alternate":"normal"})}(e.owner.current,t,a,{...i,duration:s,ease:l});return p.onfinish=()=>{e.set(function(e,{repeat:t,repeatType:r="loop"}){let n=t&&"loop"!==r&&t%2==1?0:e.length-1;return e[n]}(a,i)),aW.update(()=>p.cancel()),n&&n()},{get currentTime(){return sB(p.currentTime||0)},set currentTime(newTime){p.currentTime=sR(newTime)},stop:()=>{let{currentTime:t}=p;if(t){let r=lv({...i,autoplay:!1});e.setWithVelocity(r.sample(t-10).value,r.sample(t).value,10)}aW.update(()=>p.cancel())}}}(t,e,p);if(f)return f}return lv(p)};function lz(e,t,r={}){let n=sT(e,t,r.custom),{transition:i=e.getDefaultTransition()||{}}=n||{};r.transitionOverride&&(i=r.transitionOverride);let o=n?()=>lR(e,n,r):()=>Promise.resolve(),a=e.variantChildren&&e.variantChildren.size?(n=0)=>{let{delayChildren:o=0,staggerChildren:a,staggerDirection:s}=i;return function(e,t,r=0,n=0,i=1,o){let a=[],s=(e.variantChildren.size-1)*n,l=1===i?(e=0)=>e*n:(e=0)=>s-e*n;
315return Array.from(e.variantChildren).sort(lB).forEach((e,n)=>{e.notify("AnimationStart",t),a.push(lz(e,t,{...o,delay:r+l(n)}).then(()=>e.notify("AnimationComplete",t)))}),Promise.all(a)}(e,t,o+n,a,s,r)}:()=>Promise.resolve(),{when:s}=i;if(!s)return Promise.all([o(),a(r.delay)]);{let[l,u]="beforeChildren"===s?[o,a]:[a,o];return l().then(u)}}function lR(e,t,{delay:r=0,transitionOverride:n,type:i}={}){let{transition:o=e.getDefaultTransition(),transitionEnd:a,...s}=e.makeTargetAnimatable(t),l=e.getValue("willChange");n&&(o=n);let u=[],c=i&&e.animationState&&e.animationState.getState()[i];for(let d in s){let h=e.getValue(d),p=s[d];if(!h||void 0===p||c&&function({protectedKeys:e,needsAnimating:t},r){let n=e.hasOwnProperty(r)&&!0!==t[r];return t[r]=!1,n}(c,d))continue;let f={delay:r,elapsed:0,...o};if(window.HandoffAppearAnimations&&!h.hasAnimated){let m=e.getProps()[sz];m&&(f.elapsed=window.HandoffAppearAnimations(m,d,h,aW))}let g=h.start(lj(d,h,p,e.shouldReduceMotion&&oz.has(d)?{type:!1}:f));sj(l)&&(l.add(d),g=g.then(()=>l.remove(d))),u.push(g)}return Promise.all(u).then(()=>{a&&function(e,t){let r=sT(e,t),{transitionEnd:n={},transition:i={},...o}=r?e.makeTargetAnimatable(r,!1):{};for(let a in o={...o,...n}){var s;let l=av(o[a]);s=a,e.hasValue(s)?e.getValue(s).set(l):e.addValue(s,st(l))}}(e,a)})}function lB(e,t){return e.sortNodePosition(t)}let l$=[...op].reverse(),lM=op.length;function lD(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}let lF=0,lI=(e,t)=>Math.abs(e-t);class lV{constructor(e,t,{transformPagePoint:r}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let e=lW(this.lastMoveEventInfo,this.history),t=null!==this.startEvent,r=function(e,t){let r=lI(e.x,t.x),n=lI(e.y,t.y);return Math.sqrt(r**2+n**2)}(e.offset,{x:0,y:0})>=3;if(!t&&!r)return;let{point:n}=e,{timestamp:i}=aD;this.history.push({...n,timestamp:i});let{onStart:o,onMove:a}=this.handlers;t||(o&&o(this.lastMoveEvent,e),this.startEvent=this.lastMoveEvent),a&&a(this.lastMoveEvent,e)},this.handlePointerMove=(e,t)=>{this.lastMoveEvent=e,this.lastMoveEventInfo=lL(t,this.transformPagePoint),aW.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{if(this.end(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let{onEnd:r,onSessionEnd:n}=this.handlers,i=lW("pointercancel"===e.type?this.lastMoveEventInfo:lL(t,this.transformPagePoint),this.history);this.startEvent&&r&&r(e,i),n&&n(e,i)},!a_(e))return;this.handlers=t,this.transformPagePoint=r;let n=aC(e),i=lL(n,this.transformPagePoint),{point:o}=i,{timestamp:a}=aD;this.history=[{...o,timestamp:a}];let{onSessionStart:s}=t;s&&s(e,lW(i,this.history)),this.removeListeners=aT(aA(window,"pointermove",this.handlePointerMove),aA(window,"pointerup",this.handlePointerUp),aA(window,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),aN.update(this.updatePoint)}}function lL(e,t){return t?{point:t(e.point)}:e}function lO(e,t){return{x:e.x-t.x,y:e.y-t.y}}function lW({point:e},t){return{point:e,delta:lO(e,lN(t)),offset:lO(e,t[0]),velocity:function(e,t){if(e.length<2)return{x:0,y:0};let r=e.length-1,n=null,i=lN(e);for(;r>=0&&(n=e[r],!(i.timestamp-n.timestamp>sR(.1)));)r--;if(!n)return{x:0,y:0};let o=sB(i.timestamp-n.timestamp);if(0===o)return{x:0,y:0};let a={x:(i.x-n.x)/o,y:(i.y-n.y)/o};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}(t,0)}}function lN(e){return e[e.length-1]}function lH(e){return e.max-e.min}function lU(e,t=0,r=.01){return Math.abs(e-t)<=r}function lq(e,t,r,n=.5){e.origin=n,e.originPoint=sq(t.min,t.max,e.origin),e.scale=lH(r)/lH(t),(lU(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=sq(r.min,r.max,e.origin)-e.originPoint,(lU(e.translate)||isNaN(e.translate))&&(e.translate=0)}function lG(e,t,r,n){lq(e.x,t.x,r.x,n?n.originX:void 0),lq(e.y,t.y,r.y,n?n.originY:void 0)}function lY(e,t,r){e.min=r.min+t.min,e.max=e.min+lH(t)}function lX(e,t,r){e.min=t.min-r.min,e.max=e.min+lH(t)}function lZ(e,t,r){lX(e.x,t.x,r.x),lX(e.y,t.y,r.y)}function lJ(e,t,r){return{min:void 0!==t?e.min+t:void 0,max:void 0!==r?e.max+r-(e.max-e.min):void 0}}function lK(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 lQ(e,t,r){return{min:l0(e,t),max:l0(e,r)}}function l0(e,t){return"number"==typeof e?e:e[t]||0}let l1=()=>({translate:0,scale:1,origin:0,originPoint:0}),l5=()=>({x:l1(),y:l1()}),l2=()=>({min:0,max:0}),l4=()=>({x:l2(),y:l2()});function l3(e){return[e("x"),e("y")]}function l6({top:e,left:t,right:r,bottom:n}){return{x:{min:t,max:r},y:{min:e,max:n}}}function l9(e){return void 0===e||1===e}function l7({scale:e,scaleX:t,scaleY:r}){return!l9(e)||!l9(t)||!l9(r)}function l8(e){return l7(e)||ue(e)||e.z||e.rotate||e.rotateX||e.rotateY}function ue(e){var t,r;return(t=e.x)&&"0%"!==t||(r=e.y)&&"0%"!==r}function ut(e,t,r,n,i){return void 0!==i&&(e=n+i*(e-n)),n+r*(e-n)+t}function ur(e,t=0,r=1,n,i){e.min=ut(e.min,t,r,n,i),e.max=ut(e.max,t,r,n,i)}function un(e,{x:t,y:r}){ur(e.x,t.translate,t.scale,t.originPoint),ur(e.y,r.translate,r.scale,r.originPoint)}function ui(e){return Number.isInteger(e)?e:e>1.0000000000001||e<.999999999999?e:1}function uo(e,t){e.min=e.min+t,e.max=e.max+t}function ua(e,t,[r,n,i]){let o=void 0!==t[i]?t[i]:.5,a=sq(e.min,e.max,o);ur(e,t[r],t[n],a,t.scale)}let us=["x","scaleX","originX"],ul=["y","scaleY","originY"];function uu(e,t){ua(e.x,t,us),ua(e.y,t,ul)}function uc(e,t){return l6(function(e,t){if(!t)return e;let 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}}(e.getBoundingClientRect(),t))}let ud=new WeakMap;class uh{constructor(e){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=l4(),this.visualElement=e}start(e,{snapToCursor:t=!1}={}){let{presenceContext:r}=this.visualElement;if(r&&!1===r.isPresent)return;let n=e=>{this.stopAnimation(),t&&this.snapToCursor(aC(e,"page").point)},i=(e,t)=>{let{drag:r,dragPropagation:n,onDragStart:i}=this.getProps();if(r&&!n&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=aB(r),!this.openGlobalLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),l3(e=>{let t=this.getAxisMotionValue(e).get()||0;if(oJ.test(t)){let{projection:r}=this.visualElement;if(r&&r.layout){let n=r.layout.layoutBox[e];if(n){let i=lH(n);t=i*(parseFloat(t)/100)}}}this.originPoint[e]=t}),i&&aW.update(()=>i(e,t));let{animationState:o}=this.visualElement;o&&o.setActive("whileDrag",!0)},o=(e,t)=>{let{dragPropagation:r,dragDirectionLock:n,onDirectionLock:i,onDrag:o}=this.getProps();if(!r&&!this.openGlobalLock)return;let{offset:a}=t;if(n&&null===this.currentDirection){this.currentDirection=function(e,t=10){let r=null;return Math.abs(e.y)>t?r="y":Math.abs(e.x)>t&&(r="x"),r}(a),null!==this.currentDirection&&i&&i(this.currentDirection);return}this.updateAxis("x",t.point,a),this.updateAxis("y",t.point,a),this.visualElement.render(),o&&o(e,t)},a=(e,t)=>this.stop(e,t);this.panSession=new lV(e,{onSessionStart:n,onStart:i,onMove:o,onSessionEnd:a},{transformPagePoint:this.visualElement.getTransformPagePoint()})}stop(e,t){let r=this.isDragging;if(this.cancel(),!r)return;let{velocity:n}=t;this.startAnimation(n);let{onDragEnd:i}=this.getProps();i&&aW.update(()=>i(e,t))}cancel(){this.isDragging=!1;let{projection:e,animationState:t}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;let{dragPropagation:r}=this.getProps();!r&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),t&&t.setActive("whileDrag",!1)}updateAxis(e,t,r){let{drag:n}=this.getProps();if(!r||!up(e,n,this.currentDirection))return;let i=this.getAxisMotionValue(e),o=this.originPoint[e]+r[e];this.constraints&&this.constraints[e]&&(o=function(e,{min:t,max:r},n){return void 0!==t&&e<t?e=n?sq(t,e,n.min):Math.max(e,t):void 0!==r&&e>r&&(e=n?sq(r,e,n.max):Math.min(e,r)),e}(o,this.constraints[e],this.elastic[e])),i.set(o)}resolveConstraints(){let{dragConstraints:e,dragElastic:t}=this.getProps(),{layout:r}=this.visualElement.projection||{},n=this.constraints;e&&oc(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):e&&r?this.constraints=function(e,{top:t,left:r,bottom:n,right:i}){return{x:lJ(e.x,r,i),y:lJ(e.y,t,n)}}(r.layoutBox,e):this.constraints=!1,this.elastic=function(e=.35){return!1===e?e=0:!0===e&&(e=.35),{x:lQ(e,"left","right"),y:lQ(e,"top","bottom")}}(t),n!==this.constraints&&r&&this.constraints&&!this.hasMutatedConstraints&&l3(e=>{this.getAxisMotionValue(e)&&(this.constraints[e]=function(e,t){let r={};return void 0!==t.min&&(r.min=t.min-e.min),void 0!==t.max&&(r.max=t.max-e.min),r}(r.layoutBox[e],this.constraints[e]))})}resolveRefConstraints(){var e;let{dragConstraints:t,onMeasureDragConstraints:r}=this.getProps();if(!t||!oc(t))return!1;let n=t.current;aZ(null!==n,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");let{projection:i}=this.visualElement;if(!i||!i.layout)return!1;let o=function(e,t,r){let n=uc(e,r),{scroll:i}=t;return i&&(uo(n.x,i.offset.x),uo(n.y,i.offset.y)),n}(n,i.root,this.visualElement.getTransformPagePoint()),a={x:lK((e=i.layout.layoutBox).x,o.x),y:lK(e.y,o.y)};if(r){let s=r(function({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}(a));this.hasMutatedConstraints=!!s,s&&(a=l6(s))}return a}startAnimation(e){let{drag:t,dragMomentum:r,dragElastic:n,dragTransition:i,dragSnapToOrigin:o,onDragTransitionEnd:a}=this.getProps(),s=this.constraints||{},l=l3(a=>{if(!up(a,t,this.currentDirection))return;let l=s&&s[a]||{};o&&(l={min:0,max:0});let u={type:"inertia",velocity:r?e[a]:0,bounceStiffness:n?200:1e6,bounceDamping:n?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...i,...l};return this.startAxisValueAnimation(a,u)});return Promise.all(l).then(a)}startAxisValueAnimation(e,t){let r=this.getAxisMotionValue(e);return r.start(lj(e,r,0,t))}stopAnimation(){l3(e=>this.getAxisMotionValue(e).stop())}getAxisMotionValue(e){let t="_drag"+e.toUpperCase(),r=this.visualElement.getProps(),n=r[t];return n||this.visualElement.getValue(e,(r.initial?r.initial[e]:void 0)||0)}snapToCursor(e){l3(t=>{let{drag:r}=this.getProps();if(!up(t,r,this.currentDirection))return;let{projection:n}=this.visualElement,i=this.getAxisMotionValue(t);if(n&&n.layout){let{min:o,max:a}=n.layout.layoutBox[t];i.set(e[t]-sq(o,a,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:e,dragConstraints:t}=this.getProps(),{projection:r}=this.visualElement;if(!oc(t)||!r||!this.constraints)return;this.stopAnimation();let n={x:0,y:0};l3(e=>{let t=this.getAxisMotionValue(e);if(t){let r=t.get();n[e]=function(e,t){let r=.5,n=lH(e),i=lH(t);return i>n?r=s2(t.min,t.max-n,e.min):n>i&&(r=s2(e.min,e.max-i,t.min)),oL(0,1,r)}({min:r,max:r},this.constraints[e])}});let{transformTemplate:i}=this.visualElement.getProps();this.visualElement.current.style.transform=i?i({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.resolveConstraints(),l3(t=>{if(!up(t,e,null))return;let r=this.getAxisMotionValue(t),{min:i,max:o}=this.constraints[t];r.set(sq(i,o,n[t]))})}addListeners(){if(!this.visualElement.current)return;ud.set(this.visualElement,this);let e=this.visualElement.current,t=aA(e,"pointerdown",e=>{let{drag:t,dragListener:r=!0}=this.getProps();t&&r&&this.start(e)}),r=()=>{let{dragConstraints:e}=this.getProps();oc(e)&&(this.constraints=this.resolveRefConstraints())},{projection:n}=this.visualElement,i=n.addEventListener("measure",r);n&&!n.layout&&(n.root&&n.root.updateScroll(),n.updateLayout()),r();let o=aw(window,"resize",()=>this.scalePositionWithinConstraints()),a=n.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(l3(t=>{let r=this.getAxisMotionValue(t);r&&(this.originPoint[t]+=e[t].translate,r.set(r.get()+e[t].translate))}),this.visualElement.render())});return()=>{o(),t(),i(),a&&a()}}getProps(){let e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:r=!1,dragPropagation:n=!1,dragConstraints:i=!1,dragElastic:o=.35,dragMomentum:a=!0}=e;return{...e,drag:t,dragDirectionLock:r,dragPropagation:n,dragConstraints:i,dragElastic:o,dragMomentum:a}}}function up(e,t,r){return(!0===t||t===e)&&(null===r||r===e)}let uf=e=>(t,r)=>{e&&aW.update(()=>e(t,r))};function um(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}let ug={correct:(e,t)=>
315{if(!t.target)return e;if("string"==typeof e){if(!oK.test(e))return e;e=parseFloat(e)}let r=um(e,t.target.x),n=um(e,t.target.y);return`${r}% ${n}%`}},ub=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function uv(e,t,r=1){aZ(r<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);let[n,i]=function(e){let t=ub.exec(e);if(!t)return[,];let[,r,n]=t;return[r,n]}(e);if(!n)return;let o=window.getComputedStyle(t).getPropertyValue(n);return o?o.trim():oI(i)?uv(i,t,r+1):i}let uy="_$css",ux={correct:(e,{treeScale:t,projectionDelta:r})=>{let n=e,i=e.includes("var("),o=[];i&&(e=e.replace(ub,e=>(o.push(e),uy)));let a=sg.parse(e);if(a.length>5)return n;let s=sg.createTransformer(e),l="number"!=typeof a[0]?1:0,u=r.x.scale*t.x,c=r.y.scale*t.y;a[0+l]/=u,a[1+l]/=c;let d=sq(u,c,.5);"number"==typeof a[2+l]&&(a[2+l]/=d),"number"==typeof a[3+l]&&(a[3+l]/=d);let h=s(a);if(i){let p=0;h=h.replace(uy,()=>{let e=o[p];return p++,e})}return h}};class uk extends F.Component{componentDidMount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:r,layoutId:n}=this.props,{projection:i}=e;Object.assign(oT,uw),i&&(t.group&&t.group.add(i),r&&r.register&&n&&r.register(i),i.root.didUpdate(),i.addEventListener("animationComplete",()=>{this.safeToRemove()}),i.setOptions({...i.options,onExitComplete:()=>this.safeToRemove()})),oS.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){let{layoutDependency:t,visualElement:r,drag:n,isPresent:i}=this.props,o=r.projection;return o&&(o.isPresent=i,n||e.layoutDependency!==t||void 0===t?o.willUpdate():this.safeToRemove(),e.isPresent===i||(i?o.promote():o.relegate()||aW.postRender(()=>{let e=o.getStack();e&&e.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),!e.currentAnimation&&e.isLead()&&this.safeToRemove())}componentWillUnmount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:r}=this.props,{projection:n}=e;n&&(n.scheduleCheckAfterUnmount(),t&&t.group&&t.group.remove(n),r&&r.deregister&&r.deregister(n))}safeToRemove(){let{safeToRemove:e}=this.props;e&&e()}render(){return null}}function uS(e){let[t,r]=function(){let e=(0,F.useContext)(oi);if(null===e)return[!0,null];let{isPresent:t,onExitComplete:r,register:n}=e,i=(0,F.useId)();(0,F.useEffect)(()=>n(i),[]);let o=()=>r&&r(i);return!t&&r?[!1,o]:[!0]}(),n=(0,F.useContext)(o_);return F.createElement(uk,{...e,layoutGroup:n,switchLayoutGroup:(0,F.useContext)(oC),isPresent:t,safeToRemove:r})}let uw={borderRadius:{...ug,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:ug,borderTopRightRadius:ug,borderBottomLeftRadius:ug,borderBottomRightRadius:ug,boxShadow:ux};class u_{constructor(e){this.animations=e.filter(Boolean)}get currentTime(){return this.animations[0].currentTime}set currentTime(e){for(let t=0;t<this.animations.length;t++)this.animations[t].currentTime=e}stop(){this.animations.forEach(e=>e.stop())}}let uC=["TopLeft","TopRight","BottomLeft","BottomRight"],uP=uC.length,uA=e=>"string"==typeof e?parseFloat(e):e,uE=e=>"number"==typeof e||oK.test(e);function uT(e,t){return void 0!==e[t]?e[t]:e.borderRadius}let uj=uR(0,.5,s8),uz=uR(.5,.95,aZ);function uR(e,t,r){return n=>n<e?0:n>t?1:r(s2(e,t,n))}function uB(e,t){e.min=t.min,e.max=t.max}function u$(e,t){uB(e.x,t.x),uB(e.y,t.y)}function uM(e,t,r,n,i){return e-=t,e=n+1/r*(e-n),void 0!==i&&(e=n+1/i*(e-n)),e}function uD(e,t,[r,n,i],o,a){!function(e,t=0,r=1,n=.5,i,o=e,a=e){if(oJ.test(t)){t=parseFloat(t);let s=sq(a.min,a.max,t/100);t=s-a.min}if("number"!=typeof t)return;let l=sq(o.min,o.max,n);e===o&&(l-=t),e.min=uM(e.min,t,r,l,i),e.max=uM(e.max,t,r,l,i)}(e,t[r],t[n],t[i],t.scale,o,a)}let uF=["x","scaleX","originX"],uI=["y","scaleY","originY"];function uV(e,t,r,n){uD(e.x,t,uF,r?r.x:void 0,n?n.x:void 0),uD(e.y,t,uI,r?r.y:void 0,n?n.y:void 0)}function uL(e){return 0===e.translate&&1===e.scale}function uO(e){return uL(e.x)&&uL(e.y)}function uW(e,t){return e.x.min===t.x.min&&e.x.max===t.x.max&&e.y.min===t.y.min&&e.y.max===t.y.max}function uN(e){return lH(e.x)/lH(e.y)}class uH{constructor(){this.members=[]}add(e){a6(this.members,e),e.scheduleRender()}remove(e){if(a9(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){let t=this.members[this.members.length-1];t&&this.promote(t)}
315}relegate(e){let t;let r=this.members.findIndex(t=>e===t);if(0===r)return!1;for(let n=r;n>=0;n--){let i=this.members[n];if(!1!==i.isPresent){t=i;break}}return!!t&&(this.promote(t),!0)}promote(e,t){let r=this.lead;if(e!==r&&(this.prevLead=r,this.lead=e,e.show(),r)){r.instance&&r.scheduleRender(),e.scheduleRender(),e.resumeFrom=r,t&&(e.resumeFrom.preserveOpacity=!0),r.snapshot&&(e.snapshot=r.snapshot,e.snapshot.latestValues=r.animationValues||r.latestValues),e.root&&e.root.isUpdating&&(e.isLayoutDirty=!0);let{crossfade:n}=e.options;!1===n&&r.hide()}}exitAnimationComplete(){this.members.forEach(e=>{let{options:t,resumingFrom:r}=e;t.onExitComplete&&t.onExitComplete(),r&&r.options.onExitComplete&&r.options.onExitComplete()})}scheduleRender(){this.members.forEach(e=>{e.instance&&e.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function uU(e,t,r){let n="",i=e.x.translate/t.x,o=e.y.translate/t.y;if((i||o)&&(n=`translate3d(${i}px, ${o}px, 0) `),(1!==t.x||1!==t.y)&&(n+=`scale(${1/t.x}, ${1/t.y}) `),r){let{rotate:a,rotateX:s,rotateY:l}=r;a&&(n+=`rotate(${a}deg) `),s&&(n+=`rotateX(${s}deg) `),l&&(n+=`rotateY(${l}deg) `)}let u=e.x.scale*t.x,c=e.y.scale*t.y;return(1!==u||1!==c)&&(n+=`scale(${u}, ${c})`),n||"none"}let uq=(e,t)=>e.depth-t.depth;class uG{constructor(){this.children=[],this.isDirty=!1}add(e){a6(this.children,e),this.isDirty=!0}remove(e){a9(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(uq),this.isDirty=!1,this.children.forEach(e)}}let uY=["","X","Y","Z"],uX=0,uZ={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function uJ({attachResizeListener:e,defaultParent:t,measureScroll:r,checkIsScrollRoot:n,resetTransform:i}){return class{constructor(e,r={},n=null==t?void 0:t()){this.id=uX++,this.animationId=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.treeScale={x:1,y:1},this.eventHandlers=new Map,this.potentialNodes=new Map,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{uZ.totalNodes=uZ.resolvedTargetDeltas=uZ.recalculatedProjection=0,this.nodes.forEach(u0),this.nodes.forEach(u6),this.nodes.forEach(u9),this.nodes.forEach(u1),window.MotionDebug&&window.MotionDebug.record(uZ)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.elementId=e,this.latestValues=r,this.root=n?n.root||n:this,this.path=n?[...n.path,n]:[],this.parent=n,this.depth=n?n.depth+1:0,e&&this.root.registerPotentialNode(e,this);for(let i=0;i<this.path.length;i++)this.path[i].shouldResetTransform=!0;this.root===this&&(this.nodes=new uG)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new a7),this.eventHandlers.get(e).add(t)}notifyListeners(e,...t){let r=this.eventHandlers.get(e);r&&r.notify(...t)}hasListeners(e){return this.eventHandlers.has(e)}registerPotentialNode(e,t){this.potentialNodes.set(e,t)}mount(t,r=!1){if(this.instance)return;this.isSVG=t instanceof SVGElement&&"svg"!==t.tagName,this.instance=t;let{layoutId:n,layout:i,visualElement:o}=this.options;if(o&&!o.current&&o.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.elementId&&this.root.potentialNodes.delete(this.elementId),r&&(i||n)&&(this.isLayoutDirty=!0),e){let a;let s=()=>this.root.updateBlockedByResize=!1;e(t,()=>{this.root.updateBlockedByResize=!0,a&&a(),a=function(e,t){let r=performance.now(),n=({timestamp:i})=>{let o=i-r;o>=t&&(aN.read(n),e(o-t))};return aW.read(n,!0),()=>aN.read(n)}(s,250),oS.hasAnimatedSinceResize&&(oS.hasAnimatedSinceResize=!1,this.nodes.forEach(u3))})}n&&this.root.registerSharedNode(n,this),!1!==this.options.animate&&o&&(n||i)&&this.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t,hasRelativeTargetChanged:r,layout:n})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let i=this.options.transition||o.getDefaultTransition()||cn,{onLayoutAnimationStart:a,onLayoutAnimationComplete:s}=o.getProps(),l=!this.targetLayout||!uW(this.targetLayout,n)||r,u=!t&&r;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||u||t&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(e,u);let c={...lT(i,"layout"),onPlay:a,onComplete:s};(o.shouldReduceMotion||this.options.layoutRoot)&&(c.delay=0,c.type=!1),this.startAnimation(c)}else t||0!==this.animationProgress||u3(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=n})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let e=this.getStack();e&&e.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,aN.preRender(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.forEac
315h(u7),this.animationId++)}getTransformTemplate(){let{visualElement:e}=this.options;return e&&e.getProps().transformTemplate}willUpdate(e=!0){if(this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let t=0;t<this.path.length;t++){let r=this.path[t];r.shouldResetTransform=!0,r.updateScroll("snapshot"),r.options.layoutRoot&&r.willUpdate(!1)}let{layoutId:n,layout:i}=this.options;if(void 0===n&&!i)return;let o=this.getTransformTemplate();this.prevTransformTemplateValue=o?o(this.latestValues,""):void 0,this.updateSnapshot(),e&&this.notifyListeners("willUpdate")}didUpdate(){let e=this.isUpdateBlocked();if(e){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(u2);return}this.isUpdating&&(this.isUpdating=!1,this.potentialNodes.size&&(this.potentialNodes.forEach(ci),this.potentialNodes.clear()),this.nodes.forEach(u4),this.nodes.forEach(uK),this.nodes.forEach(uQ),this.clearAllSnapshots(),aH.update(),aH.preRender(),aH.render())}clearAllSnapshots(){this.nodes.forEach(u5),this.sharedNodes.forEach(u8)}scheduleUpdateProjection(){aW.preRender(this.updateProjection,!1,!0)}scheduleCheckAfterUnmount(){aW.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let e=0;e<this.path.length;e++){let t=this.path[e];t.updateScroll()}let r=this.layout;this.layout=this.measure(!1),this.layoutCorrected=l4(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:n}=this.options;n&&n.notify("LayoutMeasure",this.layout.layoutBox,r?r.layoutBox:void 0)}updateScroll(e="measure"){let t=Boolean(this.options.layoutScroll&&this.instance);this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===e&&(t=!1),t&&(this.scroll={animationId:this.root.animationId,phase:e,isRoot:n(this.instance),offset:r(this.instance)})}resetTransform(){if(!i)return;let e=this.isLayoutDirty||this.shouldResetTransform,t=this.projectionDelta&&!uO(this.projectionDelta),r=this.getTransformTemplate(),n=r?r(this.latestValues,""):void 0,o=n!==this.prevTransformTemplateValue;e&&(t||l8(this.latestValues)||o)&&(i(this.instance,n),this.shouldResetTransform=!1,this.scheduleRender())}measure(e=!0){var t;let r=this.measurePageBox(),n=this.removeElementScroll(r);return e&&(n=this.removeTransform(n)),co((t=n).x),co(t.y),{animationId:this.root.animationId,measuredBox:r,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:e}=this.options;if(!e)return l4();let t=e.measureViewportBox(),{scroll:r}=this.root;return r&&(uo(t.x,r.offset.x),uo(t.y,r.offset.y)),t}removeElementScroll(e){let t=l4();u$(t,e);for(let r=0;r<this.path.length;r++){let n=this.path[r],{scroll:i,options:o}=n;if(n!==this.root&&i&&o.layoutScroll){if(i.isRoot){u$(t,e);let{scroll:a}=this.root;a&&(uo(t.x,-a.offset.x),uo(t.y,-a.offset.y))}uo(t.x,i.offset.x),uo(t.y,i.offset.y)}}return t}applyTransform(e,t=!1){let r=l4();u$(r,e);for(let n=0;n<this.path.length;n++){let i=this.path[n];!t&&i.options.layoutScroll&&i.scroll&&i!==i.root&&uu(r,{x:-i.scroll.offset.x,y:-i.scroll.offset.y}),l8(i.latestValues)&&uu(r,i.latestValues)}return l8(this.latestValues)&&uu(r,this.latestValues),r}removeTransform(e){let t=l4();u$(t,e);for(let r=0;r<this.path.length;r++){let n=this.path[r];if(!n.instance||!l8(n.latestValues))continue;l7(n.latestValues)&&n.updateSnapshot();let i=l4(),o=n.measurePageBox();u$(i,o),uV(t,n.latestValues,n.snapshot?n.snapshot.layoutBox:void 0,i)}return l8(this.latestValues)&&uV(t,this.latestValues),t}setTargetDelta(e){this.targetDelta=e,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(e){this.options={...this.options,...e,crossfade:void 0===e.crossfade||e.crossfade}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}resolveTargetDelta(e=!1){var t,r,n,i;let o=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=o.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=o.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=o.isSharedProjectionDirty);let a=Boolean(this.resumingFrom)||this!==o,s=!(e||a&&this.isSharedProjectionDirty||this.isProjectionDirty||(null===(t=this.parent)||void 0===t?void 0:t.isProjectionDirty)||this.attemptToResolveRelativeTarget);if(s)return;let{layout:l,layoutId:u}=this.options;if(this.layout&&(l||u)){if(this.resolvedRelativeTargetAt=aD.timestamp,!this.targetDelta&&!this.relativeTarget){let c=this.getClosestProjectingParent();c&&c.layout?(this.relativeParent=c,this.relativeTarget=l4(),this.relativeTargetOrigin=l4(),lZ(this.relativeTargetOrigin,this.layout.layoutBox,c.layout.layoutBox),u$(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){if((this.target||(this.target=l4(),this.targetWithTransforms=l4()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target)?(this.relativeParent.resolvedRelativeTargetAt!==aD.timestamp&&this.relativeParent.resolveTargetDelta(!0),r=this.target,n=this.relativeTarget,i=this.relativeParent.target,lY(r.x,n.x,i.x),lY(r.y,n.y,i.y)):this.targetDelta?(Boolean(this.resumingFrom)?this.target=this.applyTransform(this.layout.layoutBox):u$(this.target,this.layout.layoutBox),un(this.target,this.targetDelta)):u$(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;let d=this.getClosestProjectingParent();d&&Boolean(d.resumingFrom)===Boolean(this.resumingFrom)&&!d.options.layoutScroll&&d.target?(this.relativeParent=d,this.relativeTarget=l4(),this.relativeTargetOrigin=l4(),lZ(this.relativeTargetOrigin,this.target,d.target),u$(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}uZ.resolvedTargetDeltas++}}}getClosestProjectingParent(){return!this.parent||l7(this.parent.latestValues)||ue(this.parent.latestValues)?void 0:this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return Boolean((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var e;let t=this.getLead(),r=Boolean(this.resumingFrom)||this!==t,n=!0;if((this.isProjectionDirty||(null===(e=this.parent)||void 0===e?void 0:e.isProjectionDirty))&&(n=!1),r&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(n=!1),this.resolvedRelativeTargetAt===aD.timestamp&&(n=!1),n)return;let{layout:i,layoutId:o}=this.options;if(this.isTreeAnimating=Boolean(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(i||o))return;u$(this.layoutCorrected,this.layout.layoutBox),function(e,t,r,n=!1){let i,o;let a=r.length;if(a){t.x=t.y=1;for(let s=0;s<a;s++){o=(i=r[s]).projectionDelta;let l=i.instance;(!l||!l.style||"contents"!==l.style.display)&&(n&&i.options.layoutScroll&&i.scroll&&i!==i.root&&uu(e,{x:-i.scroll.offset.x,y:-i.scroll.offset.y}),o&&(t.x*=o.x.scale,t.y*=o.y.scale,un(e,o)),n&&l8(i.latestValues)&&uu(e,i.latestValues))}t.x=ui(t.x),t.y=ui(t.y)}}(this.layoutCorrected,this.treeScale,this.path,r);let{target:a}=t;if(!a)return;this.projectionDelta||(this.projectionDelta=l5(),this.projectionDeltaWithTransform=l5());let s=this.treeScale.x,l=this.treeScale.y,u=this.projectionTransform;lG(this.projectionDelta,this.layoutCorrected,a,this.latestValues),this.projectionTransform=uU(this.projectionDelta,this.treeScale),(this.projectionTransform!==u||this.treeScale.x!==s||this.treeScale.y!==l)&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",a)),uZ.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(e=!0){if(this.options.scheduleRender&&this.options.scheduleRender(),e){let t=this.getStack();t&&t.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}setAnimationOrigin(e,t=!1){let r;let n=this.snapshot,i=n?n.latestValues:{},o={...this.latestValues},a=l5();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;let s=l4(),l=n?n.source:void 0,u=this.layout?this.layout.source:void 0,c=l!==u,d=this.getStack(),h=!d||d.members.length<=1,p=Boolean(c&&!h&&!0===this.options.crossfade&&!this.path.some(cr));this.animationProgress=0,this.mixTargetDelta=t=>{var n,l;let u=t/1e3;ce(a.x,e.x,u),ce(a.y,e.y,u),this.setTargetDelta(a),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(lZ(s,this.layout.layoutBox,this.relativeParent.layout.layoutBox),n=this.relativeTarget,l=this.relativeTargetOrigin,ct(n.x,l.x,s.x,u),ct(n.y,l.y,s.y,u),r&&uW(this.relativeTarget,r)&&(this.isProjectionDirty=!1),r||(r=l4()),u$(r,this.relativeTarget)),c&&(this.animationValues=o,function(e,t,r,n,i,o){i?(e.opacity=sq(0,void 0!==r.opacity?r.opacity:1,uj(n)),e.opacityExit=sq(void 0!==t.opacity?t.opacity:1,0,uz(n))):o&&(e.opacity=sq(void 0!==t.opacity?t.opacity:1,void 0!==r.opacity?r.opacity:1,n));for(let a=0;a<uP;a++){let s=`border${uC[a]}Radius`,l=uT(t,s),u=uT(r,s);if(void 0===l&&void 0===u)continue;l||(l=0),u||(u=0);let c=0===l||0===u||uE(l)===uE(u);c?(e[s]=Math.max(sq(uA(l),uA(u),n),0),(oJ.test(u)||oJ.test(l))&&(e[s]+="
315%")):e[s]=u}(t.rotate||r.rotate)&&(e.rotate=sq(t.rotate||0,r.rotate||0,n))}(o,i,this.latestValues,u,p,h)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=u},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(e){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(aN.update(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=aW.update(()=>{oS.hasAnimatedSinceResize=!0,this.currentAnimation=function(e,t,r={}){let n=oB(e)?e:st(e);return n.start(lj("",n,1e3,r)),n.animation||new u_([])}(0,0,{...e,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onComplete:()=>{e.onComplete&&e.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);let e=this.getStack();e&&e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let e=this.getLead(),{targetWithTransforms:t,target:r,layout:n,latestValues:i}=e;if(t&&r&&n){if(this!==e&&this.layout&&n&&ca(this.options.animationType,this.layout.layoutBox,n.layoutBox)){r=this.target||l4();let o=lH(this.layout.layoutBox.x);r.x.min=e.target.x.min,r.x.max=r.x.min+o;let a=lH(this.layout.layoutBox.y);r.y.min=e.target.y.min,r.y.max=r.y.min+a}u$(t,r),uu(t,i),lG(this.projectionDeltaWithTransform,this.layoutCorrected,t,i)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new uH);let r=this.sharedNodes.get(e);r.add(t);let n=t.options.initialPromotionConfig;t.promote({transition:n?n.transition:void 0,preserveFollowOpacity:n&&n.shouldPreserveFollowOpacity?n.shouldPreserveFollowOpacity(t):void 0})}isLead(){let e=this.getStack();return!e||e.lead===this}getLead(){var e;let{layoutId:t}=this.options;return t&&(null===(e=this.getStack())||void 0===e?void 0:e.lead)||this}getPrevLead(){var e;let{layoutId:t}=this.options;return t?null===(e=this.getStack())||void 0===e?void 0:e.prevLead:void 0}getStack(){let{layoutId:e}=this.options;if(e)return this.root.sharedNodes.get(e)}promote({needsReset:e,transition:t,preserveFollowOpacity:r}={}){let n=this.getStack();n&&n.promote(this,r),e&&(this.projectionDelta=void 0,this.needsReset=!0),t&&this.setOptions({transition:t})}relegate(){let e=this.getStack();return!!e&&e.relegate(this)}resetRotation(){let{visualElement:e}=this.options;if(!e)return;let t=!1,{latestValues:r}=e;if((r.rotate||r.rotateX||r.rotateY||r.rotateZ)&&(t=!0),!t)return;let n={};for(let i=0;i<uY.length;i++){let o="rotate"+uY[i];r[o]&&(n[o]=r[o],e.setStaticValue(o,0))}for(let a in e.render(),n)e.setStaticValue(a,n[a]);e.scheduleRender()}getProjectionStyles(e={}){var t,r;let n={};if(!this.instance||this.isSVG)return n;if(!this.isVisible)return{visibility:"hidden"};n.visibility="";let i=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,n.opacity="",n.pointerEvents=ay(e.pointerEvents)||"",n.transform=i?i(this.latestValues,""):"none",n;let o=this.getLead();if(!this.projectionDelta||!this.layout||!o.target){let a={};return this.options.layoutId&&(a.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,a.pointerEvents=ay(e.pointerEvents)||""),this.hasProjected&&!l8(this.latestValues)&&(a.transform=i?i({},""):"none",this.hasProjected=!1),a}let s=o.animationValues||o.latestValues;this.applyTransformsToTarget(),n.transform=uU(this.projectionDeltaWithTransform,this.treeScale,s),i&&(n.transform=i(s,n.transform));let{x:l,y:u}=this.projectionDelta;for(let c in n.transformOrigin=`${100*l.origin}% ${100*u.origin}% 0`,o.animationValues?n.opacity=o===this?null!==(r=null!==(t=s.opacity)&&void 0!==t?t:this.latestValues.opacity)&&void 0!==r?r:1:this.preserveOpacity?this.latestValues.opacity:s.opacityExit:n.opacity=o===this?void 0!==s.opacity?s.opacity:"":void 0!==s.opacityExit?s.opacityExit:0,oT){if(void 0===s[c])continue;let{correct:d,applyTo:h}=oT[c],p="none"===n.transform?s[c]:d(s[c],o);if(h){let f=h.length;for(let m=0;m<f;m++)n[h[m]]=p}else n[c]=p}return this.options.layoutId&&(n.pointerEvents=o===this?ay(e.pointerEvents)||"":"none"),n}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}
315resetTree(){this.root.nodes.forEach(e=>{var t;return null===(t=e.currentAnimation)||void 0===t?void 0:t.stop()}),this.root.nodes.forEach(u2),this.root.sharedNodes.clear()}}}function uK(e){e.updateLayout()}function uQ(e){var t;let r=(null===(t=e.resumeFrom)||void 0===t?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&r&&e.hasListeners("didUpdate")){let{layoutBox:n,measuredBox:i}=e.layout,{animationType:o}=e.options,a=r.source!==e.layout.source;"size"===o?l3(e=>{let t=a?r.measuredBox[e]:r.layoutBox[e],i=lH(t);t.min=n[e].min,t.max=t.min+i}):ca(o,r.layoutBox,n)&&l3(e=>{let t=a?r.measuredBox[e]:r.layoutBox[e],i=lH(n[e]);t.max=t.min+i});let s=l5();lG(s,n,r.layoutBox);let l=l5();a?lG(l,e.applyTransform(i,!0),r.measuredBox):lG(l,n,r.layoutBox);let u=!uO(s),c=!1;if(!e.resumeFrom){let d=e.getClosestProjectingParent();if(d&&!d.resumeFrom){let{snapshot:h,layout:p}=d;if(h&&p){let f=l4();lZ(f,r.layoutBox,h.layoutBox);let m=l4();lZ(m,n,p.layoutBox),uW(f,m)||(c=!0),d.options.layoutRoot&&(e.relativeTarget=m,e.relativeTargetOrigin=f,e.relativeParent=d)}}}e.notifyListeners("didUpdate",{layout:n,snapshot:r,delta:l,layoutDelta:s,hasLayoutChanged:u,hasRelativeTargetChanged:c})}else if(e.isLead()){let{onExitComplete:g}=e.options;g&&g()}e.options.transition=void 0}function u0(e){uZ.totalNodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=Boolean(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function u1(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function u5(e){e.clearSnapshot()}function u2(e){e.clearMeasurements()}function u4(e){let{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function u3(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0}function u6(e){e.resolveTargetDelta()}function u9(e){e.calcProjection()}function u7(e){e.resetRotation()}function u8(e){e.removeLeadSnapshot()}function ce(e,t,r){e.translate=sq(t.translate,0,r),e.scale=sq(t.scale,1,r),e.origin=t.origin,e.originPoint=t.originPoint}function ct(e,t,r,n){e.min=sq(t.min,r.min,n),e.max=sq(t.max,r.max,n)}function cr(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}let cn={duration:.45,ease:[.4,0,.1,1]};function ci(e,t){let r=e.root;for(let n=e.path.length-1;n>=0;n--)if(Boolean(e.path[n].instance)){r=e.path[n];break}let i=r&&r!==e.root?r.instance:document,o=i.querySelector(`[data-
315projection-id="${t}"]`);o&&e.mount(o,!0)}function co(e){e.min=Math.round(e.min),e.max=Math.round(e.max)}function ca(e,t,r){return"position"===e||"preserve-aspect"===e&&!lU(uN(t),uN(r),.2)}let cs=uJ({attachResizeListener:(e,t)=>aw(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),cl={current:void 0},cu=uJ({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!cl.current){let e=new cs(0,{});e.mount(window),e.setOptions({layoutScroll:!0}),cl.current=e}return cl.current},resetTransform:(e,t)=>{e.style.transform=void 0!==t?t:"none"},checkIsScrollRoot:e=>Boolean("fixed"===window.getComputedStyle(e).position)}),cc=new Set(["width","height","top","left","right","bottom","x","y"]),cd=e=>cc.has(e),ch=e=>Object.keys(e).some(cd),cp=e=>e===oO||e===oK,cf=(e,t)=>parseFloat(e.split(", ")[t]),cm=(e,t)=>(r,{transform:n})=>{if("none"===n||!n)return 0;let i=n.match(/^matrix3d\((.+)\)$/);if(i)return cf(i[1],t);{let o=n.match(/^matrix\((.+)\)$/);return o?cf(o[1],e):0}},cg=new Set(["x","y","z"]),cb=oj.filter(e=>!cg.has(e)),cv={width:({x:e},{paddingLeft:t="0",paddingRight:r="0"})=>e.max-e.min-parseFloat(t)-parseFloat(r),height:({y:e},{paddingTop:t="0",paddingBottom:r="0"})=>e.max-e.min-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:cm(4,13),y:cm(5,14)},cy=(e,t,r)=>{let n=t.measureViewportBox(),i=t.current,o=getComputedStyle(i),{display:a}=o,s={};"none"===a&&t.setStaticValue("display",e.display||"block"),r.forEach(e=>{s[e]=cv[e](n,o)}),t.render();let l=t.measureViewportBox();return r.forEach(r=>{let n=t.getValue(r);n&&n.jump(s[r]),e[r]=cv[r](l,o)}),e},cx=(e,t,r={},n={})=>{t={...t},n={...n};let i=Object.keys(t).filter(cd),o=[],a=!1,s=[];if(i.forEach(i=>{let l;let u=e.getValue(i);if(!e.hasValue(i))return;let c=r[i],d=sP(c),h=t[i];if(ag(h)){let p=h.length,f=null===h[0]?1:0;d=sP(c=h[f]);for(let m=f;m<p;m++)l?aZ(sP(h[m])===l,"All keyframes must be of the same type"):aZ((l=sP(h[m]))===d||cp(d)&&cp(l),"Keyframes must be of the same dimension as the current value")}else l=sP(h);if(d!==l){if(cp(d)&&cp(l)){let g=u.get();"string"==typeof g&&u.set(parseFloat(g)),"string"==typeof h?t[i]=parseFloat(h):Array.isArray(h)&&l===oK&&(t[i]=h.map(parseFloat))}else(null==d?void 0:d.transform)&&(null==l?void 0:l.transform)&&(0===c||0===h)?0===c?u.set(l.transform(c)):t[i]=d.transform(h):(a||(o=function(e){let t=[];return cb.forEach(r=>{let n=e.getValue(r);void 0!==n&&(t.push([r,n.get()]),n.set(r.startsWith("scale")?1:0))}),t.length&&e.render(),t}(e),a=!0),s.push(i),n[i]=void 0!==n[i]?n[i]:t[i],u.jump(h))}}),!s.length)return{target:t,transitionEnd:n};{let l=s.indexOf("height")>=0?window.pageYOffset:null,u=cy(t,e,s);return o.length&&o.forEach(([t,r])=>{e.getValue(t).set(r)}),e.render(),os&&null!==l&&window.scrollTo({top:l}),{target:u,transitionEnd:n}}},ck=(e,t,r,n)=>{var i,o;let a=function(e,{...t},r){let n=e.current;if(!(n instanceof Element))return{target:t,transitionEnd:r};for(let i in r&&(r={...r}),e.values.forEach(e=>{let t=e.get();if(!oI(t))return;let r=uv(t,n);r&&e.set(r)}),t){let o=t[i];if(!oI(o))continue;let a=uv(o,n);a&&(t[i]=a,r&&void 0===r[i]&&(r[i]=o))}return{target:t,transitionEnd:r}}(e,t,n);return t=a.target,n=a.transitionEnd,i=t,o=n,ch(i)?cx(e,i,r,o):{target:i,transitionEnd:o}},cS={current:null},cw={current:!1},c_=Object.keys(oy),cC=c_.length,cP=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],cA=of.length;class cE{constructor({parent:e,props:t,presenceContext:r,reducedMotionConfig:n,visualState:i},o={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},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.scheduleRender=()=>aW.render(this.render,!1,!0);let{latestValues:a,renderState:s}=i;this.latestValues=a,this.baseTarget={...a},this.initialValues=t.initial?{...a}:{},this.renderState=s,this.parent=e,this.props=t,this.presenceContext=r,this.depth=e?e.depth+1:0,this.reducedMotionConfig=n,this.options=o,this.isControllingVariants=om(t),this.isVariantNode=og(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=Boolean(e&&e.current);let{willChange:l,...u}=this.scrapeMotionValuesFromProps(t,{});for(let c in u){let d=u[c];void 0!==a[c]&&oB(d)&&(d.set(a[c],!1),sj(l)&&l.add(c))}}scrapeMotionValuesFromProps(e,t){return{}}mount(e){this.current=e,this.projection&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEac
315h((e,t)=>this.bindToMotionValue(t,e)),cw.current||function(){if(cw.current=!0,os){if(window.matchMedia){let e=window.matchMedia("(prefers-reduced-motion)"),t=()=>cS.current=e.matches;e.addListener(t),t()}else cS.current=!1}}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||cS.current),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){for(let e in this.projection&&this.projection.unmount(),aN.update(this.notifyUpdate),aN.render(this.render),this.valueSubscriptions.forEach(e=>e()),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this),this.events)this.events[e].clear();for(let t in this.features)this.features[t].unmount();this.current=null}bindToMotionValue(e,t){let r=oz.has(e),n=t.on("change",t=>{this.latestValues[e]=t,this.props.onUpdate&&aW.update(this.notifyUpdate,!1,!0),r&&this.projection&&(this.projection.isTransformDirty=!0)}),i=t.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(e,()=>{n(),i()})}sortNodePosition(e){return this.current&&this.sortInstanceNodePosition&&this.type===e.type?this.sortInstanceNodePosition(this.current,e.current):0}loadFeatures({children:e,...t},r,n,i,o){let a,s;for(let l=0;l<cC;l++){let u=c_[l],{isEnabled:c,Feature:d,ProjectionNode:h,MeasureLayout:p}=oy[u];h&&(a=h),c(t)&&(!this.features[u]&&d&&(this.features[u]=new d(this)),p&&(s=p))}if(!this.projection&&a){this.projection=new a(i,this.latestValues,this.parent&&this.parent.projection);let{layoutId:f,layout:m,drag:g,dragConstraints:b,layoutScroll:v,layoutRoot:y}=t;this.projection.setOptions({layoutId:f,layout:m,alwaysMeasureLayout:Boolean(g)||b&&oc(b),visualElement:this,scheduleRender:()=>this.scheduleRender(),animationType:"string"==typeof m?m:"both",initialPromotionConfig:o,layoutScroll:v,layoutRoot:y})}return s}updateFeatures(){for(let e in this.features){let t=this.features[e];t.isMounted?t.update(this.props,this.prevProps):(t.mount(),t.isMounted=!0)}}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):l4()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}makeTargetAnimatable(e,t=!0){return this.makeTargetAnimatableFromInstance(e,this.props,t)}update(e,t){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let r=0;r<cP.length;r++){let n=cP[r];this.propEventSubscriptions[n]&&(this.propEventSubscriptions[n](),delete this.propEventSubscriptions[n]);let i=e["on"+n];i&&(this.propEventSubscriptions[n]=this.on(n,i))}this.prevMotionValues=function(e,t,r){let{willChange:n}=t;for(let i in t){let o=t[i],a=r[i];if(oB(o))e.addValue(i,o),sj(n)&&n.add(i);else if(oB(a))e.addValue(i,st(o,{owner:e})),sj(n)&&n.remove(i);else if(a!==o){if(e.hasValue(i)){let s=e.getValue(i);s.hasAnimated||s.set(o)}else{let l=e.getStaticValue(i);e.addValue(i,st(void 0!==l?l:o,{owner:e}))}}}for(let u in r)void 0===t[u]&&e.removeValue(u);return t}(this,this.scrapeMotionValuesFromProps(e,this.prevProps),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}getVariantContext(e=!1){if(e)return this.parent?this.parent.getVariantContext():void 0;if(!this.isControllingVariants){let t=this.parent&&this.parent.getVariantContext()||{};return void 0!==this.props.initial&&(t.initial=this.props.initial),t}let r={};for(let n=0;n<cA;n++){let i=of[n],o=this.props[i];(od(o)||!1===o)&&(r[i]=o)}return r}addVariantChild(e){let t=this.getClosestVariantNode();if(t)return t.variantChildren&&t.variantChildren.add(e),()=>t.variantChildren.delete(e)}addValue(e,t){t!==this.values.get(e)&&(this.removeValue(e),this.bindToMotionValue(e,t)),this.values.set(e,t),this.latestValues[e]=t.get()}removeValue(e){this.values.delete(e);let t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let r=this.values.get(e);return void 0===r&&void 0!==t&&(r=st(t,{owner:this}),this.addValue(e,r)),r}readValue(e){return void 0===this.latestValues[e]&&this.current?this.readValueFromInstance(this.current,e,this.options):this.latestValues[e]}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){var t;let{initial:r}=this.props,n="string"==typeof r||"object"==typeof r?null===(t=am(this.props,r))||void 0===t?void 0:t[e]:void 0;if(r&&void 0!==n)return n;let i=this.getBaseTargetFromProps(this.props,e);return void 0===i||oB(i)?void 0!==this.initialValues[e]&&void 0===n?void 0:this.baseTarget[e]:i}on(e,t){return this.events[e]||(this.events[e]=new a7),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}}class cT extends cE{sortInstanceNodePosition(e,t){return 2&e.compareDocumentPosition(t)?1:-1}getBaseTargetFromProps(e,t){return e.style?e.style[t]:void 0}removeValueFromRenderState(e,{vars:t,style:r}){delete t[e],delete r[e]}makeTargetAnimatableFromInstance({transition:e,transitionEnd:t,...r},{transformValues:n},i){let o=function(e,t,r){let n={};for(let i in e){let o=function(e,t){if(!t)return;let r=t[e]||t.default||t;return r.from}(i,t);if(void 0!==o)n[i]=o;else{let a=r.getValue(i);a&&(n[i]=a.get())}}return n}(r,e||{},this);if(n&&(t&&(t=n(t)),r&&(r=n(r)),o&&(o=n(o))),i){!function(e,t,r){var n,i;let o=Object.keys(t).filter(t=>!e.hasValue(t)),a=o.length;if(a)for(let s=0;s<a;s++){let l=o[s],u=t[l],c=null;Array.isArray(u)&&(c=u[0]),null===c&&(c=null!==(i=null!==(n=r[l])&&void 0!==n?n:e.readValue(l))&&void 0!==i?i:t[l]),null!=c&&("string"==typeof c&&(a4(c)||a3(c))?c=parseFloat(c):!sE(c)&&sg.test(u)&&(c=sw(l,u)),e.addValue(l,st(c,{owner:e})),void 0===r[l]&&(r[l]=c),null!==c&&e.setBaseTarget(l,c))}}(this,r,o);let a=ck(this,r,o,t);t=a.transitionEnd,r=a.target}return{transition:e,transitionEnd:t,...r}}}class cj extends cT{readValueFromInstance(e,t){if(oz.has(t)){let r=sS(t);return r&&r.default||0}{let n=window.getComputedStyle(e),i=(oF(t)?n.getPropertyValue(t):n[t])||0;return"string"==typeof i?i.trim():i}}measureInstanceViewportBox(e,{transformPagePoint:t}){return uc(e,t)}build(e,t,r,n){o4(e,t,r,n.transformTemplate)}scrapeMotionValuesFromProps(e,t){return ap(e,t)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:e}=this.props;oB(e)&&(this.childSubscription=e.on("change",e=>{this.current&&(this.current.textContent=`${e}`)}))}renderInstance(e,t,r,n){ac(e,t,r,n)}}class cz extends cT{constructor(){super(...arguments),this.isSVGTag=!1}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(oz.has(t)){let r=sS(t);return r&&r.default||0}return t=ad.has(t)?t:au(t),e.getAttribute(t)}measureInstanceViewportBox(){return l4()}scrapeMotionValuesFromProps(e,t){return af(e,t)}
315build(e,t,r,n){ao(e,t,r,this.isSVGTag,n.transformTemplate)}renderInstance(e,t,r,n){ah(e,t,r,n)}mount(e){this.isSVGTag=as(e.tagName),super.mount(e)}}let cR=(e,t)=>oE(e)?new cz(t,{enableHardwareAcceleration:!1}):new cj(t,{enableHardwareAcceleration:!0}),cB={animation:{Feature:class extends aM{constructor(e){super(e),e.animationState||(e.animationState=function(e){let t=t=>Promise.all(t.map(({animation:t,options:r})=>(function(e,t,r={}){let n;if(e.notify("AnimationStart",t),Array.isArray(t)){let i=t.map(t=>lz(e,t,r));n=Promise.all(i)}else if("string"==typeof t)n=lz(e,t,r);else{let o="function"==typeof t?sT(e,t,r.custom):t;n=lR(e,o,r)}return n.then(()=>e.notify("AnimationComplete",t))})(e,t,r))),r={animate:lD(!0),whileInView:lD(),whileHover:lD(),whileTap:lD(),whileDrag:lD(),whileFocus:lD(),exit:lD()},n=!0,i=(t,r)=>{let n=sT(e,r);if(n){let{transition:i,transitionEnd:o,...a}=n;t={...t,...a,...o}}return t};function o(o,a){let s=e.getProps(),l=e.getVariantContext(!0)||{},u=[],c=new Set,d={},h=1/0;for(let p=0;p<lM;p++){var f;let m=l$[p],g=r[m],b=void 0!==s[m]?s[m]:l[m],v=od(b),y=m===a?g.isActive:null;!1===y&&(h=p);let x=b===l[m]&&b!==s[m]&&v;if(x&&n&&e.manuallyAnimateOnMount&&(x=!1),g.protectedKeys={...d},!g.isActive&&null===y||!b&&!g.prevProp||oh(b)||"boolean"==typeof b)continue;let k=(f=g.prevProp,"string"==typeof b?b!==f:!!Array.isArray(b)&&!a2(b,f)),S=k||m===a&&g.isActive&&!x&&v||p>h&&v,w=Array.isArray(b)?b:[b],_=w.reduce(i,{});!1===y&&(_={});let{prevResolvedValues:C={}}=g,P={...C,..._},A=e=>{S=!0,c.delete(e),g.needsAnimating[e]=!0};for(let E in P){let T=_[E],j=C[E];d.hasOwnProperty(E)||(T!==j?ag(T)&&ag(j)?!a2(T,j)||k?A(E):g.protectedKeys[E]=!0:void 0!==T?A(E):c.add(E):void 0!==T&&c.has(E)?A(E):g.protectedKeys[E]=!0)}g.prevProp=b,g.prevResolvedValues=_,g.isActive&&(d={...d,..._}),n&&e.blockInitialAnimation&&(S=!1),S&&!x&&u.push(...w.map(e=>({animation:e,options:{type:m,...o}})))}if(c.size){let z={};
315c.forEach(t=>{let r=e.getBaseTarget(t);void 0!==r&&(z[t]=r)}),u.push({animation:z})}let R=Boolean(u.length);return n&&!1===s.initial&&!e.manuallyAnimateOnMount&&(R=!1),n=!1,R?t(u):Promise.resolve()}return{animateChanges:o,setActive:function(t,n,i){var a;if(r[t].isActive===n)return Promise.resolve();null===(a=e.variantChildren)||void 0===a||a.forEach(e=>{var r;return null===(r=e.animationState)||void 0===r?void 0:r.setActive(t,n)}),r[t].isActive=n;let s=o(i,t);for(let l in r)r[l].protectedKeys={};return s},setAnimateFunction:function(r){t=r(e)},getState:()=>r}}(e))}updateAnimationControlsSubscription(){let{animate:e}=this.node.getProps();this.unmount(),oh(e)&&(this.unmount=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:e}=this.node.getProps(),{animate:t}=this.node.prevProps||{};e!==t&&this.updateAnimationControlsSubscription()}unmount(){}}},exit:{Feature:class extends aM{constructor(){super(...arguments),this.id=lF++}update(){if(!this.node.presenceContext)return;let{isPresent:e,onExitComplete:t,custom:r}=this.node.presenceContext,{isPresent:n}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===n)return;let i=this.node.animationState.setActive("exit",!e,{custom:null!=r?r:this.node.getProps().custom});t&&!e&&i.then(()=>t(this.id))}mount(){let{register:e}=this.node.presenceContext||{};e&&(this.unmount=e(this.id))}unmount(){}}},inView:{Feature:class extends aM{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();let{viewport:e={}}=this.node.getProps(),{root:t,margin:r,amount:n="some",once:i}=e,o={root:t?t.current:void 0,rootMargin:r,threshold:"number"==typeof n?n:a5[n]},a=e=>{let{isIntersecting:t}=e;if(this.isInView===t||(this.isInView=t,i&&!t&&this.hasEnteredView))return;t&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",t);let{onViewportEnter:r,onViewportLeave:n}=this.node.getProps(),o=t?r:n;o&&o(e)};return function(e,t,r){let n=function({root:e,...t}){let r=e||document;aQ.has(r)||aQ.set(r,{});let n=aQ.get(r),i=JSON.stringify(t);return n[i]||(n[i]=new IntersectionObserver(a1,{root:e,...t})),n[i]}(t);return aK.set(e,r),n.observe(e),()=>{aK.delete(e),n.unobserve(e)}}(this.node.current,o,a)}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;let{props:e,prevProps:t}=this.node,r=["amount","margin","root"].some(function({viewport:e={}},{viewport:t={}}={}){return r=>e[r]!==t[r]}(e,t));r&&this.startObserver()}unmount(){}}},tap:{Feature:class extends aM{constructor(){super(...arguments),this.removeStartListeners=aZ,this.removeEndListeners=aZ,this.removeAccessibleListeners=aZ,this.startPointerPress=(e,t)=>{if(this.removeEndListeners(),this.isPressing)return;let r=this.node.getProps(),n=(e,t)=>{if(!this.checkPressEnd())return;let{onTap:r,onTapCancel:n}=this.node.getProps();aW.update(()=>{aX(this.node.current,e.target)?r&&r(e,t):n&&n(e,t)})},i=aA(window,"pointerup",n,{passive:!(r.onTap||r.onPointerUp)}),o=aA(window,"pointercancel",(e,t)=>this.cancelPress(e,t),{passive:!(r.onTapCancel||r.onPointerCancel)});this.removeEndListeners=aT(i,o),this.startPress(e,t)},this.startAccessiblePress=()=>{let e=e=>{if("Enter"!==e.key||this.isPressing)return;let t=e=>{"Enter"===e.key&&this.checkPressEnd()&&aJ("up",(e,t)=>{let{onTap:r}=this.node.getProps();r&&aW.update(()=>r(e,t))})};this.removeEndListeners(),this.removeEndListeners=aw(this.node.current,"keyup",t),aJ("down",(e,t)=>{this.startPress(e,t)})},t=aw(this.node.current,"keydown",e),r=()=>{this.isPressing&&aJ("cancel",(e,t)=>this.cancelPress(e,t))},n=aw(this.node.current,"blur",r);this.removeAccessibleListeners=aT(t,n)}}startPress(e,t){this.isPressing=!0;let{onTapStart:r,whileTap:n}=this.node.getProps();n&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),r&&aW.update(()=>r(e,t))}checkPressEnd(){this.removeEndListeners(),this.isPressing=!1;let e=this.node.getProps();return e.whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!a$()}cancelPress(e,t){if(!this.checkPressEnd())return;let{onTapCancel:r}=this.node.getProps();r&&aW.update(()=>r(e,t))}mount(){let e=this.node.getProps(),t=aA(this.node.current,"pointerdown",this.startPointerPress,{passive:!(e.onTapStart||e.onPointerStart)}),r=aw(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=aT(t,r)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}},focus:{Feature:class extends aM{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(":focus-visible")}catch(t){e=!0}e&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=aT(aw(this.node.current,"focus",()=>this.onFocus()),aw(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}},hover:{Feature:class extends aM{mount(){this.unmount=aT(aY(this.node,!0),aY(this.node,!1))}unmount(){}}},pan:{Feature:class extends aM{constructor(){super(...arguments),this.removePointerDownListener=aZ}onPointerDown(e){this.session=new lV(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint()})}createPanHandlers(){let{onPanSessionStart:e,onPanStart:t,onPan:r,onPanEnd:n}=this.node.getProps();return{onSessionStart:uf(e),onStart:uf(t),onMove:r,onEnd:(e,t)=>{delete this.session,n&&aW.update(()=>n(e,t))}}}mount(){this.removePointerDownListener=aA(this.node.current,"pointerdown",e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}},drag:{Feature:class extends aM{constructor(e){super(e),this.removeGroupControls=aZ,this.removeListeners=aZ,this.controls=new uh(e)}mount(){let{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||aZ}unmount(){this.removeGroupControls(),this.removeListeners()}},ProjectionNode:cu,MeasureLayout:uS},layout:{ProjectionNode:cu,MeasureLayout:uS}},c$=function(e){function t(t,r={}){return function({preloadedFeatures:e,createVisualElement:t,useRender:r,useVisualState:n,Component:i}){e&&function(e){for(let t in e)oy[t]={...oy[t],...e[t]}}(e);let o=(0,F.forwardRef)(function(o,a){var s,l;let u;let c={...(0,F.useContext)(oo),...o,layoutId:function({layoutId:e}){let t=(0,F.useContext)(o_).id;return t&&void 0!==e?t+"-"+e:e}(o)},{isStatic:d}=c,h=function(e){let{initial:t,animate:r}=function(e,t){if(om(e)){let{initial:r,animate:n}=e;return{initial:!1===r||od(r)?r:void 0,animate:od(n)?n:void 0}}return!1!==e.inherit?t:{}}(e,(0,F.useContext)(oa));return(0,F.useMemo)(()=>({initial:t,animate:r}),[ob(t),ob(r)])}(o),p=d?void 0:ok(()=>
315{if(oS.hasEverUpdated)return ow++}),f=n(o,d);if(!d&&os){h.visualElement=function(e,t,r,n){let{visualElement:i}=(0,F.useContext)(oa),o=(0,F.useContext)(ou),a=(0,F.useContext)(oi),s=(0,F.useContext)(oo).reducedMotion,l=(0,F.useRef)();n=n||o.renderer,!l.current&&n&&(l.current=n(e,{visualState:t,parent:i,props:r,presenceContext:a,blockInitialAnimation:!!a&&!1===a.initial,reducedMotionConfig:s}));let u=l.current;(0,F.useInsertionEffect)(()=>{u&&u.update(r,a)}),ol(()=>{u&&u.render()}),(0,F.useEffect)(()=>{u&&u.updateFeatures()});let c=window.HandoffAppearAnimations?ol:F.useEffect;return c(()=>{u&&u.animationState&&u.animationState.animateChanges()}),u}(i,f,c,t);let m=(0,F.useContext)(oC),g=(0,F.useContext)(ou).strict;h.visualElement&&(u=h.visualElement.loadFeatures(c,g,e,p,m))}return F.createElement(oa.Provider,{value:h},u&&h.visualElement?F.createElement(u,{visualElement:h.visualElement,...c}):null,r(i,o,p,(s=h.visualElement,l=a,(0,F.useCallback)(e=>{e&&f.mount&&f.mount(e),s&&(e?s.mount(e):s.unmount()),l&&("function"==typeof l?l(e):oc(l)&&(l.current=e))},[s])),f,d,h.visualElement))});return o[oP]=i,o}(e(t,r))}if("undefined"==typeof Proxy)return t;let r=new Map;return new Proxy(t,{get:(e,n)=>(r.has(n)||r.set(n,t(n)),r.get(n))})}((e,t)=>(function(e,{forwardMotionProps:t=!1},r,n){let i=oE(e)?ak:aS;return{...i,preloadedFeatures:r,useRender:function(e=!1){let t=(t,r,n,i,{latestValues:o},a)=>{let s=oE(t)?al:o9,l=s(r,o,a,t),u=function(e,t,r){let n={};for(let i in e)("values"!==i||"object"!=typeof e.values)&&(ae(i)||!0===r&&o8(i)||!t&&!o8(i)||e.draggable&&i.startsWith("onDrag"))&&(n[i]=e[i]);return n}(r,"string"==typeof t,e),c={...u,...l,ref:i},{children:d}=r,h=(0,F.useMemo)(()=>oB(d)?d.get():d,[d]);return n&&(c["data-projection-id"]=n),(0,F.createElement)(t,{...c,children:h})};return t}(t),createVisualElement:n,Component:e}})(e,t,cB,cR));var cM=r(9513),cD={initial:e=>{let{position:t}=e,r=["top","bottom"].includes(t)?"y":"x",n=["top-right","bottom-right"].includes(t)?1:-1;return"bottom"===t&&(n=1),{opacity:0,[r]:24*n}},animate:{opacity:1,y:0,x:0,scale:1,transition:{duration:.4,ease:[.4,0,.2,1]}},exit:{opacity:0,scale:.85,transition:{duration:.2,ease:[.4,0,1,1]}}},cF=(0,F.memo)(e=>{var t;let{id:r,message:n,onCloseComplete:i,onRequestRemove:o,requestClose:a=!1,position:s="bottom",duration:l=5e3,containerStyle:u,motionVariants:c=cD,toastSpacing:d="0.5rem"}=e,[h,p]=(0,F.useState)(l),f=null===(t=(0,F.useContext)(oi))||t.isPresent;on(()=>{f||null==i||i()},[f]),on(()=>{p(l)},[l]);let m=()=>p(null),g=()=>p(l),b=()=>{f&&o()};(0,F.useEffect)(()=>{f&&a&&o()},[f,a,o]),function(e,t){let r=function(e,t=[]){let r=(0,F.useRef)(e);return(0,F.useEffect)(()=>{r.current=e}),(0,F.useCallback)((...e)=>{var t;return null==(t=r.current)?void 0:t.call(r,...e)},t)}(e);(0,F.useEffect)(()=>{if(null==t)return;let e=null;return e=window.setTimeout(()=>{r()},t),()=>{e&&window.clearTimeout(e)}},[t,r])}(b,h);let v=(0,F.useMemo)(()=>({pointerEvents:"auto",maxWidth:560,minWidth:300,margin:d,...u}),[u,d]),y=(0,F.useMemo)(()=>(function(e){let t=e.includes("right"),r=e.includes("left"),n="center";return t&&(n="flex-end"),r&&(n="flex-start"),{display:"flex",flexDirection:"column",alignItems:n}})(s),[s]);return(0,A.jsx)(c$.li,{layout:!0,className:"chakra-toast",variants:c,initial:"initial",animate:"animate",exit:"exit",onHoverStart:m,onHoverEnd:g,custom:{position:s},style:y,children:(0,A.jsx)(cM.m.div,{role:"status","aria-atomic":"true",className:"chakra-toast__inner",__css:v,children:(0,eM.Pu)(n,{id:r,onClose:b})})})});cF.displayName="ToastComponent";var cI=r(5059),cV=r(1628),cL={path:(0,A.jsxs)("g",{stroke:"currentColor",strokeWidth:"1.5",children:[(0,A.jsx)("path",{strokeLinecap:"round",fill:"none",d:"M9,9a3,3,0,1,1,4,2.829,1.5,1.5,0,0,0-1,1.415V14.25"}),(0,A.jsx)("path",{fill:"currentColor",strokeLinecap:"round",d:"M12,17.25a.375.375,0,1,0,.375.375A.375.375,0,0,0,12,17.25h0"}),(0,A.jsx)("circle",{fill:"none",strokeMiterlimit:"10",cx:"12",cy:"12",r:"11.25"})]}),viewBox:"0 0 24 24"},cO=(0,cI.G)((e,t)=>{let{as:r,viewBox:n,color:i="currentColor",focusable:o=!1,children:a,className:s,__css:l,...u}=e,c=(0,eM.cx)("chakra-icon",s),d=(0,cV.mq)("Icon",e),h={w:"1em",h:"1em",display:"inline-block",lineHeight:"1em",flexShrink:0,color:i,...l,...d},p={ref:t,focusable:o,className:c,__css:h},f=null!=n?n:cL.viewBox;if(r&&"string"!=typeof r)return(0,A.jsx)(cM.m.svg,{as:r,...p,...u});let m=null!=a?a:cL.path;return(0,A.jsx)(cM.m.svg,{verticalAlign:"middle",viewBox:f,...p,...u,children:m})});
315function cW(e){return(0,A.jsx)(cO,{viewBox:"0 0 24 24",...e,children:(0,A.jsx)("path",{fill:"currentColor",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"})})}cO.displayName="Icon";var cN=r(295),[cH,cU]=(0,R.k)({name:"AlertContext",hookName:"useAlertContext",providerName:"<Alert />"}),[cq,cG]=(0,R.k)({name:"AlertStylesContext",hookName:"useAlertStyles",providerName:"<Alert />"}),cY={info:{icon:function(e){return(0,A.jsx)(cO,{viewBox:"0 0 24 24",...e,children:(0,A.jsx)("path",{fill:"currentColor",d:"M12,0A12,12,0,1,0,24,12,12.013,12.013,0,0,0,12,0Zm.25,5a1.5,1.5,0,1,1-1.5,1.5A1.5,1.5,0,0,1,12.25,5ZM14.5,18.5h-4a1,1,0,0,1,0-2h.75a.25.25,0,0,0,.25-.25v-4.5a.25.25,0,0,0-.25-.25H10.5a1,1,0,0,1,0-2h1a2,2,0,0,1,2,2v4.75a.25.25,0,0,0,.25.25h.75a1,1,0,1,1,0,2Z"})})},colorScheme:"blue"},warning:{icon:cW,colorScheme:"orange"},success:{icon:function(e){return(0,A.jsx)(cO,{viewBox:"0 0 24 24",...e,children:(0,A.jsx)("path",{fill:"currentColor",d:"M12,0A12,12,0,1,0,24,12,12.014,12.014,0,0,0,12,0Zm6.927,8.2-6.845,9.289a1.011,1.011,0,0,1-1.43.188L5.764,13.769a1,1,0,1,1,1.25-1.562l4.076,3.261,6.227-8.451A1,1,0,1,1,18.927,8.2Z"})})},colorScheme:"green"},error:{icon:cW,colorScheme:"red"},loading:{icon:cN.$,colorScheme:"blue"}},cX=(0,cI.G)(function(e,t){var r;let{status:n="info",addRole:i=!0,...o}=(0,I.Lr)(e),a=null!=(r=e.colorScheme)?r:cY[n].colorScheme,s=(0,cV.jC)("Alert",{...e,colorScheme:a}),l={width:"100%",display:"flex",alignItems:"center",position:"relative",overflow:"hidden",...s.container};return(0,A.jsx)(cH,{value:{status:n},children:(0,A.jsx)(cq,{value:s,children:(0,A.jsx)(cM.m.div,{role:i?"alert":void 0,ref:t,...o,className:(0,eM.cx)("chakra-alert",e.className),__css:l})})})});function cZ(e){let{status:t}=cU(),r=cY[t].icon,n=cG(),i="loading"===t?n.spinner:n.icon;return(0,A.jsx)(cM.m.span,{display:"inherit",...e,className:(0,eM.cx)("chakra-alert__icon",e.className),__css:i,children:e.children||(0,A.jsx)(r,{h:"100%",w:"100%"})})}cX.displayName="Alert",cZ.displayName="AlertIcon";var cJ=(0,cI.G)(function(e,t){let r=cG();return(0,A.jsx)(cM.m.div,{ref:t,...e,className:(0,eM.cx)("chakra-alert__title",e.className),__css:r.title})});cJ.displayName="AlertTitle";var cK=(0,cI.G)(function(e,t){let r=cG(),n={display:"inline",...r.description};return(0,A.jsx)(cM.m.div,{ref:t,...e,className:(0,eM.cx)("chakra-alert__desc",e.className),__css:n})});function cQ(e){return(0,A.jsx)(cO,{focusable:"false","aria-hidden":!0,...e,children:(0,A.jsx)("path",{fill:"currentColor",d:"M.439,21.44a1.5,1.5,0,0,0,2.122,2.121L11.823,14.3a.25.25,0,0,1,.354,0l9.262,9.263a1.5,1.5,0,1,0,2.122-2.121L14.3,12.177a.25.25,0,0,1,0-.354l9.263-9.262A1.5,1.5,0,0,0,21.439.44L12.177,9.7a.25.25,0,0,1-.354,0L2.561.44A1.5,1.5,0,0,0,.439,2.561L9.7,
31511.823a.25.25,0,0,1,0,.354Z"})})}cK.displayName="AlertDescription";var c0=(0,cI.G)(function(e,t){let r=(0,cV.mq)("CloseButton",e),{children:n,isDisabled:i,__css:o,...a}=(0,I.Lr)(e);return(0,A.jsx)(cM.m.button,{type:"button","aria-label":"Close",ref:t,disabled:i,__css:{outline:0,display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,...r,...o},...a,children:n||(0,A.jsx)(cQ,{width:"1em",height:"1em"})})});c0.displayName="CloseButton";var c1=function(e){let t=e,r=new Set,n=e=>{t=e(t),r.forEach(e=>e())};return{getState:()=>t,subscribe:t=>(r.add(t),()=>{n(()=>e),r.delete(t)}),removeToast:(e,t)=>{n(r=>({...r,[t]:r[t].filter(t=>t.id!=e)}))},notify:(e,t)=>{let r=function(e,t={}){var r,n;c5+=1;let i=null!=(r=t.id)?r:c5,o=null!=(n=t.position)?n:"bottom";return{id:i,message:e,position:o,duration:t.duration,onCloseComplete:t.onCloseComplete,onRequestRemove:()=>c1.removeToast(String(i),o),status:t.status,requestClose:!1,containerStyle:t.containerStyle}}(e,t),{position:i,id:o}=r;return n(e=>{var t,n;let o=i.includes("top"),a=o?[r,...null!=(t=e[i])?t:[]]:[...null!=(n=e[i])?n:[],r];return{...e,[i]:a}}),o},update:(e,t)=>{e&&n(r=>{let n={...r},{position:i,index:o}=ot(n,e);return i&&-1!==o&&(n[i][o]={...n[i][o],...t,message:function(e={}){let{render:t,toastComponent:r=c2}=e,n=n=>"function"==typeof t?t({...n,...e}):(0,A.jsx)(r,{...n,...e});return n}(t)}),n})},closeAll:({positions:e}={})=>{n(t=>(null!=e?e:["bottom","bottom-right","bottom-left","top","top-left","top-right"]).reduce((e,r)=>(e[r]=t[r].map(e=>({...e,requestClose:!0})),e),{...t}))},close:e=>{n(t=>{let r=or(t,e);return r?{...t,[r]:t[r].map(t=>t.id==e?{...t,requestClose:!0}:t)}:t})},isActive:e=>Boolean(ot(c1.getState(),e).position)}}({top:[],"top-left":[],"top-right":[],"bottom-left":[],bottom:[],"bottom-right":[]}),c5=0,c2=e=>{let{status:t,variant:r="solid",id:n,title:i,isClosable:o,onClose:a,description:s,icon:l}=e,u=n?{root:`toast-${n}`,title:`toast-${n}-title`,description:`toast-${n}-description`}:void 0;return(0,A.jsxs)(cX,{addRole:!1,status:t,variant:r,id:null==u?void 0:u.root,alignItems:"start",borderRadius:"md",boxShadow:"lg",paddingEnd:8,textAlign:"start",width:"auto",children:[(0,A.jsx)(cZ,{children:l}),(0,A.jsxs)(cM.m.div,{flex:"1",maxWidth:"100%",children:[i&&(0,A.jsx)(cJ,{id:null==u?void 0:u.title,children:i}),s&&(0,A.jsx)(cK,{id:null==u?void 0:u.description,display:"block",children:s})]}),o&&(0,A.jsx)(c0,{size:"sm",onClick:a,position:"absolute",insetEnd:1,top:1})]})};function c4(){let e=(0,F.useRef)(!1);return ol(()=>(e.current=!0,()=>{e.current=!1}),[]),e}
315class c3 extends F.Component{getSnapshotBeforeUpdate(e){let t=this.props.childRef.current;if(t&&e.isPresent&&!this.props.isPresent){let r=this.props.sizeRef.current;r.height=t.offsetHeight||0,r.width=t.offsetWidth||0,r.top=t.offsetTop,r.left=t.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function c6({children:e,isPresent:t}){let r=(0,F.useId)(),n=(0,F.useRef)(null),i=(0,F.useRef)({width:0,height:0,top:0,left:0});return(0,F.useInsertionEffect)(()=>{let{width:e,height:o,top:a,left:s}=i.current;if(t||!n.current||!e||!o)return;n.current.dataset.motionPopId=r;let l=document.createElement("style");return document.head.appendChild(l),l.sheet&&l.sheet.insertRule(`
316          [data-motion-pop-id="${r}"] {
317            position: absolute !important;
318            width: ${e}px !important;
319            height: ${o}px !important;
320            top: ${a}px !important;
321            left: ${s}px !important;
322          }
323        `),()=>{document.head.removeChild(l)}},[t]),F.createElement(c3,{isPresent:t,childRef:n,sizeRef:i},F.cloneElement(e,{ref:n}))}let c9=({children:e,initial:t,isPresent:r,onExitComplete:n,custom:i,presenceAffectsLayout:o,mode:a})=>{let s=ok(c7),l=(0,F.useId)(),u=(0,F.useMemo)(()=>({id:l,initial:t,isPresent:r,custom:i,onExitComplete:e=>{for(let t of(s.set(e,!0),s.values()))if(!t)return;n&&n()},register:e=>(s.set(e,!1),()=>s.delete(e))}),o?void 0:[r]);return(0,F.useMemo)(()=>{s.forEach((e,t)=>s.set(t,!1))},[r]),F.useEffect(()=>{r||s.size||!n||n()},[r]),"popLayout"===a&&(e=F.createElement(c6,{isPresent:r},e)),F.createElement(oi.Provider,{value:u},e)};function c7(){return new Map}let c8=e=>e.key||"",de=({children:e,custom:t,initial:r=!0,onExitComplete:n,exitBeforeEnter:i,presenceAffectsLayout:o=!0,mode:a="sync"})=>{var s;aZ(!i,"Replace exitBeforeEnter with mode='wait'");let[l]=function(){let e=c4(),[t,r]=(0,F.useState)(0),n=(0,F.useCallback)(()=>{e.current&&r(t+1)},[t]),i=(0,F.useCallback)(()=>aW.postRender(n),[n]);return[i,t]}(),u=(0,F.useContext)(o_).forceRender;u&&(l=u);let c=c4(),d=function(e){let t=[];return F.Children.forEach(e,e=>{(0,F.isValidElement)(e)&&t.push(e)}),t}(e),h=d,p=new Set,f=(0,F.useRef)(h),m=(0,F.useRef)(new Map).current,g=(0,F.useRef)(!0);if(ol(()=>{g.current=!1,function(e,t){e.forEach(e=>{let r=c8(e);t.set(r,e)})}(d,m),f.current=h}),s=()=>{g.current=!0,m.clear(),p.clear()},(0,F.useEffect)(()=>()=>s(),[]),g.current)return F.createElement(F.Fragment,null,h.map(e=>F.createElement(c9,{key:c8(e),isPresent:!0,initial:!!r&&void 0,presenceAffectsLayout:o,mode:a},e)));h=[...h];let b=f.current.map(c8),v=d.map(c8),y=b.length;for(let x=0;x<y;x++){let k=b[x];-1===v.indexOf(k)&&p.add(k)}return"wait"===a&&p.size&&(h=[]),p.forEach(e=>{if(-1!==v.indexOf(e))return;let r=m.get(e);if(!r)return;let i=b.indexOf(e),s=()=>{m.delete(e),p.delete(e);let t=f.current.findIndex(t=>t.key===e);if(f.current.splice(t,1),!p.size){if(f.current=d,!1===c.current)return;l(),n&&n()}};h.splice(i,0,F.createElement(c9,{key:c8(r),isPresent:!1,onExitComplete:s,custom:t,presenceAffectsLayout:o,mode:a},r))}),h=h.map(e=>{let t=e.key;return p.has(t)?e:F.createElement(c9,{key:c8(e),isPresent:!0,presenceAffectsLayout:o,mode:a},e)}),F.createElement(F.Fragment,null,p.size?h:h.map(e=>(0,F.cloneElement)(e)))};var dt=r(3935),[dr,dn]=(0,R.k)({strict:!1,name:"PortalContext"}),di="chakra-portal",da=e=>(0,A.jsx)("div",{className:"chakra-portal-zIndex",style:{position:"absolute",zIndex:e.zIndex,top:0,left:0,right:0},children:e.children}),ds=e=>{let{appendToParentPortal:t,children:r}=e,[n,i]=(0,F.useState)(null),o=(0,F.useRef)(null),[,a]=(0,F.useState)({});(0,F.useEffect)(()=>a({}),[]);let s=dn(),l=$();(0,Z.G)(()=>{if(!n)return;let e=n.ownerDocument,r=t&&null!=s?s:e.body;if(!r)return;o.current=e.createElement("div"),o.current.className=di,r.appendChild(o.current),a({});let i=o.current;return()=>{r.contains(i)&&r.removeChild(i)}},[n]);let u=(null==l?void 0:l.zIndex)?(0,A.jsx)(da,{zIndex:null==l?void 0:l.zIndex,children:r}):r;return o.current?(0,dt.createPortal)((0,A.jsx)(dr,{value:o.current,children:u}),o.current):(0,A.jsx)("span",{ref:e=>{e&&i(e)}})},dl=e=>{let{children:t,containerRef:r,appendToParentPortal:n}=e,i=r.current,o=null!=i?i:"undefined"!=typeof window?document.body:void 0,a=(0,F.useMemo)(()=>{let e=null==i?void 0:i.ownerDocument.createElement("div");return e&&(e.className=di),e},[i]),[,s]=(0,F.useState)({});return((0,Z.G)(()=>s({}),[]),(0,Z.G)(()=>
323{if(a&&o)return o.appendChild(a),()=>{o.removeChild(a)}},[a,o]),o&&a)?(0,dt.createPortal)((0,A.jsx)(dr,{value:n?a:null,children:t}),a):null};function du(e){let t={appendToParentPortal:!0,...e},{containerRef:r,...n}=t;return r?(0,A.jsx)(dl,{containerRef:r,...n}):(0,A.jsx)(ds,{...n})}du.className=di,du.selector=".chakra-portal",du.displayName="Portal";var[dc,dd]=(0,R.k)({name:"ToastOptionsContext",strict:!1}),dh=e=>{let t=(0,F.useSyncExternalStore)(c1.subscribe,c1.getState,c1.getState),{motionVariants:r,component:n=cF,portalProps:i}=e,o=Object.keys(t),a=o.map(e=>{let i=t[e];return(0,A.jsx)("ul",{role:"region","aria-live":"polite",id:`chakra-toast-manager-${e}`,style:function(e){let t=e.includes("top")?"env(safe-area-inset-top, 0px)":void 0,r=e.includes("bottom")?"env(safe-area-inset-bottom, 0px)":void 0,n=e.includes("left")?void 0:"env(safe-area-inset-right, 0px)",i=e.includes("right")?void 0:"env(safe-area-inset-left, 0px)";return{position:"fixed",zIndex:5500,pointerEvents:"none",display:"flex",flexDirection:"column",margin:"top"===e||"bottom"===e?"0 auto":void 0,top:t,bottom:r,right:n,left:i}}(e),children:(0,A.jsx)(de,{initial:!1,children:i.map(e=>(0,A.jsx)(n,{motionVariants:r,...e},e.id))})},e)});return(0,A.jsx)(du,{...i,children:a})},dp=e=>function({children:t,theme:r=e,toastOptions:n,...i}){return(0,A.jsxs)(er,{theme:r,...i,children:[(0,A.jsx)(dc,{value:null==n?void 0:n.defaultOptions,children:t}),(0,A.jsx)(dh,{...n})]})},df=dp(i7);function dm(e){let{Component:t,pageProps:r}=e;return(0,A.jsx)(df,{children:(0,A.jsx)(t,{...r})})}dp(i8)},4744:function(){},9590:function(e){var t="undefined"!=typeof Element,r="function"==typeof Map,n="function"==typeof Set,i="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;e.exports=function(e,o){try{return function e(o,a){if(o===a)return!0;if(o&&a&&"object"==typeof o&&"object"==typeof a){var s,l,u,c;if(o.constructor!==a.constructor)return!1;if(Array.isArray(o)){if((s=o.length)!=a.length)return!1;for(l=s;0!=l--;)if(!e(o[l],a[l]))return!1;return!0}if(r&&o instanceof Map&&a instanceof Map){if(o.size!==a.size)return!1;for(c=o.entries();!(l=c.next()).done;)if(!a.has(l.value[0]))return!1;for(c=o.entries();!(l=c.next()).done;)if(!e(l.value[1],a.get(l.value[0])))return!1;return!0}if(n&&o instanceof Set&&a instanceof Set){if(o.size!==a.size)return!1;for(c=o.entries();!(l=c.next()).done;)if(!a.has(l.value[0]))return!1;return!0}if(i&&ArrayBuffer.isView(o)&&ArrayBuffer.isView(a)){if((s=o.length)!=a.length)return!1;for(l=s;0!=l--;)if(o[l]!==a[l])return!1;return!0}if(o.constructor===RegExp)return o.source===a.source&&o.flags===a.flags;if(o.valueOf!==Object.prototype.valueOf)return o.valueOf()===a.valueOf();if(o.toString!==Object.prototype.toString)return o.toString()===a.toString();if((s=(u=Object.keys(o)).length)!==Object.keys(a).length)return!1;for(l=s;0!=l--;)if(!Object.prototype.hasOwnProperty.call(a,u[l]))return!1;if(t&&o instanceof Element)return!1;for(l=s;0!=l--;)if(("_owner"!==u[l]&&"__v"!==u[l]&&"__o"!==u[l]||!o.$$typeof)&&!e(o[u[l]],a[u[l]]))return!1;return!0}return o!=o&&a!=a}(e,o)}catch(a){if((a.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw a}}},9921:function(e,t){"use strict";/** @license React v16.13.1
324 * react-is.production.min.js
325 *
326 * Copyright (c) Facebook, Inc. and its affiliates.
327 *
328 * This source code is licensed under the MIT license found in the
329 * LICENSE file in the root directory of this source tree.
330 */var r="function"==typeof Symbol&&Symbol.for,n=r?Symbol.for("react.element"):60103,i=r?Symbol.for("react.portal"):60106,o=r?Symbol.for("react.fragment"):60107,a=r?Symbol.for("react.strict_mode"):60108,s=r?Symbol.for("react.profiler"):60114,l=r?Symbol.for("react.provider"):60109,u=r?Symbol.for("react.context"):60110,c=r?Symbol.for("react.async_mode"):60111,d=r?Symbol.for("react.concurrent_mode"):60111,h=r?Symbol.for("react.forward_ref"):60112,p=r?Symbol.for("react.suspense"):60113,f=r?Symbol.for("react.suspense_list"):60120,m=r?Symbol.for("react.memo"):60115,g=r?Symbol.for("react.lazy"):60116,b=r?Symbol.for("react.block"):60121,v=r?Symbol.for("react.fundamental"):60117,y=r?Symbol.for("react.responder"):60118,x=r?Symbol.for("react.scope"):60119;function k(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case c:case d:case o:case s:case a:case p:return e;default:switch(e=e&&e.$$typeof){case u:case h:case g:case m:case l:return e;default:return t}}case i:return t}}}function S(e){return k(e)===d}t.AsyncMode=c,t.ConcurrentMode=d,t.ContextConsumer=u,t.ContextProvider=l,t.Element=n,t.ForwardRef=h,t.Fragment=o,t.Lazy=g,t.Memo=m,t.Portal=i,t.Profiler=s,t.StrictMode=a,t.Suspense=p,t.isAsyncMode=function(e){return S(e)||k(e)===c},t.isConcurrentMode=S,t.isContextConsumer=function(e){return k(e)===u},t.isContextProvider=function(e){return k(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},t.isForwardRef=function(e){return k(e)===h},t.isFragment=function(e){return k(e)===o},t.isLazy=function(e){return k(e)===g},t.isMemo=function(e){return k(e)===m},t.isPortal=function(e){return k(e)===i},t.isProfiler=function(e){return k(e)===s},t.isStrictMode=function(e){return k(e)===a},t.isSuspense=function(e){return k(e)===p},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===d||e===s||e===a||e===p||e===f||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===m||e.$$typeof===l||e.$$typeof===u||e.$$typeof===h||e.$$typeof===v||e.$$typeof===y||e.$$typeof===x||e.$$typeof===b)},t.typeOf=k},9864:function(e,t,r){"use strict";e.exports=r(9921)},7462:function(e,t,r){"use strict";function n(){return(n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];
330for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}r.d(t,{Z:function(){return n}})},2498:function(e,t,r){"use strict";r.d(t,{If:function(){return o},kc:function(){return i}});var n=r(7294),i=(0,n.createContext)({});function o(){let e=(0,n.useContext)(i);if(void 0===e)throw Error("useColorMode must be used within a ColorModeProvider");return e}i.displayName="ColorModeContext"},888:function(e,t,r){"use strict";function n(e){let t=Object.assign({},e);for(let r in t)void 0===t[r]&&delete t[r];return t}function i(e,...t){if(null==e)throw TypeError("Cannot convert undefined or null to object");let r={...e};for(let n of t)if(null!=n)for(let i in n)Object.prototype.hasOwnProperty.call(n,i)&&(i in r&&delete r[i],r[i]=n[i]);return r}r.d(t,{V8:function(){return i},oA:function(){return n}})},5227:function(e,t,r){"use strict";r.d(t,{k:function(){return i}});var n=r(7294);function i(e={}){let{name:t,strict:r=!0,hookName:i="useContext",providerName:o="Provider",errorMessage:a}=e,s=(0,n.createContext)(void 0);return s.displayName=t,[s.Provider,function e(){var t;let l=(0,n.useContext)(s);if(!l&&r){let u=Error(null!=a?a:`${i} returned \`undefined\`. Seems you forgot to wrap component within ${o}`);throw u.name="ContextError",null==(t=Error.captureStackTrace)||t.call(Error,u,e),u}return l},s]}},6245:function(e,t,r){"use strict";r.d(t,{G:function(){return i}});var n=r(7294),i=Boolean(null==globalThis?void 0:globalThis.document)?n.useLayoutEffect:n.useEffect},5432:function(e,t,r){"use strict";r.d(t,{Kn:function(){return i},PB:function(){return s},Pu:function(){return o},cx:function(){return n}});var n=(...e)=>e.filter(Boolean).join(" ");function i(e){let t=typeof e;return null!=e&&("object"===t||"function"===t)&&!Array.isArray(e)}function o(e,...t){return a(e)?e(...t):e}var a=e=>"function"==typeof e,s=e=>e?"":void 0},295:function(e,t,r){"use strict";r.d(t,{$:function(){return d}});var n=r(917),i=r(5059),o=r(1628),a=r(3179),s=r(9513),l=r(5432),u=r(5893),c=(0,n.F4)({"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}}),d=(0,i.G)((e,t)=>{let r=(0,o.mq)("Spinner",e),{label:n="Loading...",thickness:i="2px",speed:d="0.45s",emptyColor:h="transparent",className:p,...f}=(0,a.Lr)(e),m=(0,l.cx)("chakra-spinner",p),g={display:"inline-block",borderColor:"currentColor",borderStyle:"solid",borderRadius:"99999px",borderWidth:i,borderBottomColor:h,borderLeftColor:h,animation:`${c} ${d} linear infinite`,...r};return(0,u.jsx)(s.m.div,{ref:t,__css:g,className:m,...f,children:n&&(0,u.jsx)(s.m.span,{srOnly:!0,children:n})})});d.displayName="Spinner"},3179:function(e,t,r){"use strict";r.d(t,{D:function(){return eE},Lr:function(){return ej},Ud:function(){return eT},ZR:function(){return ek},c0:function(){return eb},cC:function(){return ey},fj:function(){return eA},gJ:function(){return et},iv:function(){return eC},k0:function(){return eP}});var n=r(5432),i=r(8554),o=e=>/!(important)?$/.test(e),a=e=>"string"==typeof e?e.replace(/!(important)?$/,"").trim():e,s=(e,t)=>r=>{let i=String(t),s=o(i),l=a(i),u=e?`${e}.${l}`:l,c=(0,n.Kn)(r.__cssMap)&&u in r.__cssMap?r.__cssMap[u].varRef:t;return c=a(c),s?`${c} !important`:c};function l(e){let{scale:t,transform:r,compose:n}=e,i=(e,i)=>{var o;let a=s(t,e)(i),l=null!=(o=null==r?void 0:r(a,i))?o:a;return n&&(l=n(l,i)),l};return i}var u=(...e)=>t=>e.reduce((e,t)=>t(e),t);function c(e,t){return r=>{let n={property:r,scale:e};return n.transform=l({scale:e,transform:t}),n}}var d=({rtl:e,ltr:t})=>r=>"rtl"===r.direction?e:t,h=["rotate(var(--chakra-rotate, 0))","scaleX(var(--chakra-scale-x, 1))","scaleY(var(--chakra-scale-y, 1))","skewX(var(--chakra-skew-x, 0))","skewY(var(--chakra-skew-y, 0))"],p={"--chakra-blur":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-brightness":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-contrast":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-grayscale":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-hue-rotate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-invert":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-saturate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-sepia":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-drop-shadow":"var(--chakra-empty,/*!*/ /*!*/)",filter:"var(--chakra-blur) var(--chakra-brightness) var(--chakra-contrast) var(--chakra-grayscale) var(--chakra-hue-rotate) var(--chakra-invert) var(--chakra-saturate) var(--chakra-sepia) var(--chakra-drop-shadow)"},f={backdropFilter:"var(--chakra-backdrop-blur) var(--chakra-backdrop-brightness) var(--chakra-backdrop-contrast) var(--chakra-backdrop-grayscale) var(--chakra-backdrop-hue-rotate) var(--chakra-backdrop-invert) var(--chakra-backdrop-opacity) var(--chakra-backdrop-saturate) var(--chakra-backdrop-sepia)","--chakra-backdrop-blur":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-brightness":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-contrast":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-grayscale":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-hue-rotate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-invert":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-opacity":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-saturate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-sepia":"var(--chakra-empty,/*!*/ /*!*/)"}
330,m={"row-reverse":{space:"--chakra-space-x-reverse",divide:"--chakra-divide-x-reverse"},"column-reverse":{space:"--chakra-space-y-reverse",divide:"--chakra-divide-y-reverse"}},g={"to-t":"to top","to-tr":"to top right","to-r":"to right","to-br":"to bottom right","to-b":"to bottom","to-bl":"to bottom left","to-l":"to left","to-tl":"to top left"},b=new Set(Object.values(g)),v=new Set(["none","-moz-initial","inherit","initial","revert","unset"]),y=e=>e.trim(),x=e=>"string"==typeof e&&e.includes("(")&&e.includes(")"),k=e=>{let t=parseFloat(e.toString()),r=e.toString().replace(String(t),"");return{unitless:!r,value:t,unit:r}},S=e=>t=>`${e}(${t})`,w={filter:e=>"auto"!==e?e:p,backdropFilter:e=>"auto"!==e?e:f,ring:e=>({"--chakra-ring-offset-shadow":"var(--chakra-ring-inset) 0 0 0 var(--chakra-ring-offset-width) var(--chakra-ring-offset-color)","--chakra-ring-shadow":"var(--chakra-ring-inset) 0 0 0 calc(var(--chakra-ring-width) + var(--chakra-ring-offset-width)) var(--chakra-ring-color)","--chakra-ring-width":w.px(e),boxShadow:"var(--chakra-ring-offset-shadow), var(--chakra-ring-shadow), var(--chakra-shadow, 0 0 #0000)"}),bgClip:e=>"text"===e?{color:"transparent",backgroundClip:"text"}:{backgroundClip:e},transform:e=>"auto"===e?["translateX(var(--chakra-translate-x, 0))","translateY(var(--chakra-translate-y, 0))",...h].join(" "):"auto-gpu"===e?["translate3d(var(--chakra-translate-x, 0), var(--chakra-translate-y, 0), 0)",...h].join(" "):e,vh:e=>"$100vh"===e?"var(--chakra-vh)":e,px(e){if(null==e)return e;let{unitless:t}=k(e);return t||"number"==typeof e?`${e}px`:e},fraction:e=>"number"!=typeof e||e>1?e:`${100*e}%`,float:(e,t)=>"rtl"===t.direction?({left:"right",right:"left"})[e]:e,degree(e){if(/^var\(--.+\)$/.test(e)||null==e)return e;let t="string"==typeof e&&!e.endsWith("deg");return"number"==typeof e||t?`${e}deg`:e},gradient:(e,t)=>(function(e,t){if(null==e||v.has(e))return e;let r=/(^[a-z-A-Z]+)\((.*)\)/g.exec(e),n=null==r?void 0:r[1],i=null==r?void 0:r[2];if(!n||!i)return e;let o=n.includes("-gradient")?n:`${n}-gradient`,[a,...s]=i.split(",").map(y).filter(Boolean);if((null==s?void 0:s.length)===0)return e;let l=a in g?g[a]:a;s.unshift(l);let u=s.map(e=>{if(b.has(e))return e;let r=e.indexOf(" "),[n,i]=-1!==r?[e.substr(0,r),e.substr(r+1)]:[e],o=x(i)?i:i&&i.split(" "),a=`colors.${n}`,s=a in t.__cssMap?t.__cssMap[a].varRef:n;return o?[s,...Array.isArray(o)?o:[o]].join(" "):s});return`${o}(${u.join(", ")})`})(e,null!=t?t:{}),blur:S("blur"),opacity:S("opacity"),brightness:S("brightness"),contrast:S("contrast"),dropShadow:S("drop-shadow"),grayscale:S("grayscale"),hueRotate:S("hue-rotate"),invert:S("invert"),saturate:S("saturate"),sepia:S("sepia"),bgImage(e){if(null==e)return e;let t=x(e)||v.has(e);return t?e:`url(${e})`},outline(e){let t="0"===String(e)||"none"===String(e);return null!==e&&t?{outline:"2px solid transparent",outlineOffset:"2px"}:{outline:e}},flexDirection(e){var t;let{space:r,divide:n}=null!=(t=m[e])?t:{},i={flexDirection:e};return r&&(i[r]=1),n&&(i[n]=1),i}},_={borderWidths:c("borderWidths"),borderStyles:c("borderStyles"),colors:c("colors"),borders:c("borders"),radii:c("radii",w.px),space:c("space",u(w.vh,w.px)),spaceT:c("space",u(w.vh,w.px)),degreeT:e=>({property:e,transform:w.degree}),prop:(e,t,r)=>({property:e,scale:t,...t&&{transform:l({scale:t,transform:r})}}),propT:(e,t)=>({property:e,transform:t}),sizes:c("sizes",u(w.vh,w.px)),sizesT:c("sizes",u(w.vh,w.fraction)),shadows:c("shadows"),logical:function(e){let{property:t,scale:r,transform:n}=e;return{scale:r,property:d(t),transform:r?l({scale:r,compose:n}):n}},blur:c("blur",w.blur)},C={background:_.colors("background"),backgroundColor:_.colors("backgroundColor"),backgroundImage:_.propT("backgroundImage",w.bgImage),backgroundSize:!0,backgroundPosition:!0,backgroundRepeat:!0,backgroundAttachment:!0,backgroundClip:{transform:w.bgClip},bgSize:_.prop("backgroundSize"),bgPosition:_.prop("backgroundPosition"),bg:_.colors("background"),bgColor:_.colors("backgroundColor"),bgPos:_.prop("backgroundPosition"),bgRepeat:_.prop("backgroundRepeat"),bgAttachment:_.prop("backgroundAttachment"),bgGradient:_.propT("backgroundImage",w.gradient),bgClip:{transform:w.bgClip}};Object.assign(C,{bgImage:C.backgroundImage,bgImg:C.backgroundImage});var P={border:_.borders("border"),borderWidth:_.borderWidths("borderWidth"),borderStyle:_.borderStyles("borderStyle"),borderColor:_.colors("borderColor"),borderRadius:_.radii("borderRadius"),borderTop:_.borders("borderTop"),borderBlockStart:_.borders("borderBlockStart"),borderTopLeftRadius:_.radii("borderTopLeftRadius"),borderStartStartRadius:_.logical({scale:"radii",property:{ltr:"borderTopLeftRadius",rtl:"borderTopRightRadius"}}),borderEndStartRadius:_.logical({scale:"radii",property:{ltr:"borderBottomLeftRadius",rtl:"borderBottomRightRadius"}}),borderTopRightRadius:_.radii("borderTopRightRadius"),borderStartEndRadius:_.logical({scale:"radii",property:{ltr:"borderTopRightRadius",rtl:"borderTopLeftRadius"}}),borderEndEndRadius:_.logical({scale:"radii",property:{ltr:"borderBottomRightRadius",rtl:"borderBottomLeftRadius"}}),borderRight:_.borders("borderRight"),borderInlineEnd:_.borders("borderInlineEnd"),borderBottom:_.borders("borderBottom"),borderBlockEnd:_.borders("borderBlockEnd"),borderBottomLeftRadius:_.radii("borderBottomLeftRadius"),borderBottomRightRadius:_.radii("borderBottomRightRadius"),borderLeft:_.borders("borderLeft"),borderInlineStart:{property:"borderInlineStart",scale:"borders"},borderInlineStartRadius:_.logical({scale:"radii",property:{ltr:["borderTopLeftRadius","borderBottomLeftRadius"],rtl:["borderTopRightRadius","borderBottomRightRadius"]}}),borderInlineEndRadius:_.logical({scale:"radii",property:{ltr:["borderTopRightRadius","borderBottomRightRadius"],rtl:["borderTopLeftRadius","borderBottomLeftRadius"]}}),borderX:_.borders(["borderLeft","borderRight"]),borderInline:_.borders("borderInline"),borderY:_.borders(["borderTop","borderBottom"]),borderBlock:_.borders("borderBlock"),borderTopWidth:_.borderWidths("borderTopWidth"),borderBlockStartWidth:_.borderWidths("borderBlockStartWidth"),borderTopColor:_.colors("borderTopColor"),borderBlockStartColor:_.colors("borderBlockStartColor"),borderTopStyle:_.borderStyles("borderTopStyle"),borderBlockStartStyle:_.borderStyles("borderBlockStartStyle"),borderBottomWidth:_.borderWidths("borderBottomWidth"),borderBlockEndWidth:_.borderWidths("borderBlockEndWidth"),borderBottomColor:_.colors("borderBottomColor"),borderBlockEndColor:_.colors("borderBlockEndColor"),borderBottomStyle:_.borderStyles("borderBottomStyle"),borderBlockEndStyle:_.borderStyles("borderBlockEndStyle"),borderLeftWidth:_.borderWidths("borderLeftWidth"),borderInlineStartWidth:_.borderWidths("borderInlineStartWidth"),borderLeftColor:_.colors("borderLeftColor"),borderInlineStartColor:_.colors("borderInlineStartColor"),borderLeftStyle:_.borderStyles("borderLeftStyle"),borderInlineStartStyle:_.borderStyles("borderInlineStartStyle"),borderRightWidth:_.borderWidths("borderRightWidth"),borderInlineEndWidth:_.borderWidths("borderInlineEndWidth"),borderRightColor:_.colors("borderRightColor"),borderInlineEndColor:_.colors("borderInlineEndColor"),borderRightStyle:_.borderStyles("borderRightStyle"),borderInlineEndStyle:_.borderStyles("borderInlineEndStyle"),borderTopRadius:_.radii(["borderTopLeftRadius","borderTopRightRadius"]),borderBottomRadius:_.radii(["borderBottomLeftRadius","borderBottomRightRadius"]),borderLeftRadius:_.radii(["borderTopLeftRadius","borderBottomLeftRadius"]),borderRightRadius:_.radii(["borderTopRightRadius","borderBottomRightRadius"])};Object.assign(P,{rounded:P.borderRadius,roundedTop:P.borderTopRadius,roundedTopLeft:P.borderTopLeftRadius,roundedTopRight:P.borderTopRightRadius,roundedTopStart:P.borderStartStartRadius,roundedTopEnd:P.borderStartEndRadius,roundedBottom:P.borderBottomRadius,roundedBottomLeft:P.borderBottomLeftRadius,roundedBottomRight:P.borderBottomRightRadius,roundedBottomStart:P.borderEndStartRadius,roundedBottomEnd:P.borderEndEndRadius,roundedLeft:P.borderLeftRadius,roundedRight:P.borderRightRadius,roundedStart:P.borderInlineStartRadius,roundedEnd:P.borderInlineEndRadius,borderStart:P.borderInlineStart,borderEnd:P.borderInlineEnd,borderTopStartRadius:P.borderStartStartRadius,borderTopEndRadius:P.borderStartEndRadius,borderBottomStartRadius:P.borderEndStartRadius,borderBottomEndRadius:P.borderEndEndRadius,borderStartRadius:P.borderInlineStartRadius,borderEndRadius:P.borderInlineEndRadius,borderStartWidth:P.borderInlineStartWidth,borderEndWidth:P.borderInlineEndWidth,borderStartColor:P.borderInlineStartColor,borderEndColor:P.borderInlineEndColor,borderStartStyle:P.borderInlineStartStyle,borderEndStyle:P.borderInlineEndStyle});var A={color:_.colors("color"),textColor:_.colors("color"),fill:_.colors("fill"),stroke:_.colors("stroke")}
330,E={boxShadow:_.shadows("boxShadow"),mixBlendMode:!0,blendMode:_.prop("mixBlendMode"),backgroundBlendMode:!0,bgBlendMode:_.prop("backgroundBlendMode"),opacity:!0};Object.assign(E,{shadow:E.boxShadow});var T={filter:{transform:w.filter},blur:_.blur("--chakra-blur"),brightness:_.propT("--chakra-brightness",w.brightness),contrast:_.propT("--chakra-contrast",w.contrast),hueRotate:_.degreeT("--chakra-hue-rotate"),invert:_.propT("--chakra-invert",w.invert),saturate:_.propT("--chakra-saturate",w.saturate),dropShadow:_.propT("--chakra-drop-shadow",w.dropShadow),backdropFilter:{transform:w.backdropFilter},backdropBlur:_.blur("--chakra-backdrop-blur"),backdropBrightness:_.propT("--chakra-backdrop-brightness",w.brightness),backdropContrast:_.propT("--chakra-backdrop-contrast",w.contrast),backdropHueRotate:_.degreeT("--chakra-backdrop-hue-rotate"),backdropInvert:_.propT("--chakra-backdrop-invert",w.invert),backdropSaturate:_.propT("--chakra-backdrop-saturate",w.saturate)},j={alignItems:!0,alignContent:!0,justifyItems:!0,justifyContent:!0,flexWrap:!0,flexDirection:{transform:w.flexDirection},flex:!0,flexFlow:!0,flexGrow:!0,flexShrink:!0,flexBasis:_.sizes("flexBasis"),justifySelf:!0,alignSelf:!0,order:!0,placeItems:!0,placeContent:!0,placeSelf:!0,gap:_.space("gap"),rowGap:_.space("rowGap"),columnGap:_.space("columnGap")};Object.assign(j,{flexDir:j.flexDirection});var z={gridGap:_.space("gridGap"),gridColumnGap:_.space("gridColumnGap"),gridRowGap:_.space("gridRowGap"),gridColumn:!0,gridRow:!0,gridAutoFlow:!0,gridAutoColumns:!0,gridColumnStart:!0,gridColumnEnd:!0,gridRowStart:!0,gridRowEnd:!0,gridAutoRows:!0,gridTemplate:!0,gridTemplateColumns:!0,gridTemplateRows:!0,gridTemplateAreas:!0,gridArea:!0},R={appearance:!0,cursor:!0,resize:!0,userSelect:!0,pointerEvents:!0,outline:{transform:w.outline},outlineOffset:!0,outlineColor:_.colors("outlineColor")},B={width:_.sizesT("width"),inlineSize:_.sizesT("inlineSize"),height:_.sizes("height"),blockSize:_.sizes("blockSize"),boxSize:_.sizes(["width","height"]),minWidth:_.sizes("minWidth"),minInlineSize:_.sizes("minInlineSize"),minHeight:_.sizes("minHeight"),minBlockSize:_.sizes("minBlockSize"),maxWidth:_.sizes("maxWidth"),maxInlineSize:_.sizes("maxInlineSize"),maxHeight:_.sizes("maxHeight"),maxBlockSize:_.sizes("maxBlockSize"),overflow:!0,overflowX:!0,overflowY:!0,overscrollBehavior:!0,overscrollBehaviorX:!0,overscrollBehaviorY:!0,display:!0,hideFrom:{scale:"breakpoints",transform:(e,t)=>{var r,n,i;let o=null!=(i=null==(n=null==(r=t.__breakpoints)?void 0:r.get(e))?void 0:n.minWQuery)?i:`@media screen and (min-width: ${e})`;return{[o]:{display:"none"}}}},hideBelow:{scale:"breakpoints",transform:(e,t)=>{var r,n,i;let o=null!=(i=null==(n=null==(r=t.__breakpoints)?void 0:r.get(e))?void 0:n.maxWQuery)?i:`@media screen and (max-width: ${e})`;return{[o]:{display:"none"}}}},verticalAlign:!0,boxSizing:!0,boxDecorationBreak:!0,float:_.propT("float",w.float),objectFit:!0,objectPosition:!0,visibility:!0,isolation:!0};Object.assign(B,{w:B.width,h:B.height,minW:B.minWidth,maxW:B.maxWidth,minH:B.minHeight,maxH:B.maxHeight,overscroll:B.overscrollBehavior,overscrollX:B.overscrollBehaviorX,overscrollY:B.overscrollBehaviorY});var $={listStyleType:!0,listStylePosition:!0,listStylePos:_.prop("listStylePosition"),listStyleImage:!0,listStyleImg:_.prop("listStyleImage")},M=(e=>{let t=new WeakMap,r=(r,n,i,o)=>{if(void 0===r)return e(r,n,i);t.has(r)||t.set(r,new Map);let a=t.get(r);if(a.has(n))return a.get(n);let s=e(r,n,i,o);return a.set(n,s),s};return r})(function(e,t,r,n){let i="string"==typeof t?t.split("."):[t];for(n=0;n<i.length&&e;n+=1)e=e[i[n]];return void 0===e?r:e}),D={border:"0px",clip:"rect(0, 0, 0, 0)",width:"1px",height:"1px",margin:"-1px",padding:"0px",overflow:"hidden",whiteSpace:"nowrap",position:"absolute"},F={position:"static",width:"auto",height:"auto",clip:"auto",padding:"0",margin:"0",overflow:"visible",whiteSpace:"normal"},I=(e,t,r)=>{let n={},i=M(e,t,{});for(let o in i){let a=o in r&&null!=r[o];a||(n[o]=i[o])}return n},V={position:!0,pos:_.prop("position"),zIndex:_.prop("zIndex","zIndices"),inset:_.spaceT("inset"),insetX:_.spaceT(["left","right"]),insetInline:_.spaceT("insetInline"),insetY:_.spaceT(["top","bottom"]),insetBlock:_.spaceT("insetBlock"),top:_.spaceT("top"),insetBlockStart:_.spaceT("insetBlockStart"),bottom:_.spaceT("bottom"),insetBlockEnd:_.spaceT("insetBlockEnd"),left:_.spaceT("left"),insetInlineStart:_.logical({scale:"space",property:{ltr:"left",rtl:"right"}}),right:_.spaceT("right"),insetInlineEnd:_.logical({scale:"space",property:{ltr:"right",rtl:"left"}})};Object.assign(V,{insetStart:V.insetInlineStart,insetEnd:V.insetInlineEnd});var L={ring:{transform:w.ring},ringColor:_.colors("--chakra-ring-color"),ringOffset:_.prop("--chakra-ring-offset-width"),ringOffsetColor:_.colors("--chakra-ring-offset-color"),ringInset:_.prop("--chakra-ring-inset")},O={margin:_.spaceT("margin"),marginTop:_.spaceT("marginTop"),marginBlockStart:_.spaceT("marginBlockStart"),marginRight:_.spaceT("marginRight"),marginInlineEnd:_.spaceT("marginInlineEnd"),marginBottom:_.spaceT("marginBottom"),marginBlockEnd:_.spaceT("marginBlockEnd"),marginLeft:_.spaceT("marginLeft"),marginInlineStart:_.spaceT("marginInlineStart"),marginX:_.spaceT(["marginInlineStart","marginInlineEnd"]),marginInline:_.spaceT("marginInline"),marginY:_.spaceT(["marginTop","marginBottom"]),marginBlock:_.spaceT("marginBlock"),padding:_.space("padding"),paddingTop:_.space("paddingTop"),paddingBlockStart:_.space("paddingBlockStart"),paddingRight:_.space("paddingRight"),paddingBottom:_.space("paddingBottom"),paddingBlockEnd:_.space("paddingBlockEnd"),paddingLeft:_.space("paddingLeft"),paddingInlineStart:_.space("paddingInlineStart"),paddingInlineEnd:_.space("paddingInlineEnd"),paddingX:_.space(["paddingInlineStart","paddingInlineEnd"]),paddingInline:_.space("paddingInline"),paddingY:_.space(["paddingTop","paddingBottom"]),paddingBlock:_.space("paddingBlock")};Object.assign(O,{m:O.margin,mt:O.marginTop,mr:O.marginRight,me:O.marginInlineEnd,marginEnd:O.marginInlineEnd,mb:O.marginBottom,ml:O.marginLeft,ms:O.marginInlineStart,marginStart:O.marginInlineStart,mx:O.marginX,my:O.marginY,p:O.padding,pt:O.paddingTop,py:O.paddingY,px:O.paddingX,pb:O.paddingBottom,pl:O.paddingLeft,ps:O.paddingInlineStart,paddingStart:O.paddingInlineStart,pr:O.paddingRight,pe:O.paddingInlineEnd,paddingEnd:O.paddingInlineEnd});var W={textDecorationColor:_.colors("textDecorationColor"),textDecoration:!0,textDecor:{property:"textDecoration"},textDecorationLine:!0,textDecorationStyle:!0,textDecorationThickness:!0,textUnderlineOffset:!0,textShadow:_.shadows("textShadow")},N={clipPath:!0,transform:_.propT("transform",w.transform),transformOrigin:!0,translateX:_.spaceT("--chakra-translate-x"),translateY:_.spaceT("--chakra-translate-y"),skewX:_.degreeT("--chakra-skew-x"),skewY:_.degreeT("--chakra-skew-y"),scaleX:_.prop("--chakra-scale-x"),scaleY:_.prop("--chakra-scale-y"),scale:_.prop(["--chakra-scale-x","--chakra-scale-y"]),rotate:_.degreeT("--chakra-rotate")},H={transition:!0,transitionDelay:!0,animation:!0,willChange:!0,transitionDuration:_.prop("transitionDuration","transition.duration"),transitionProperty:_.prop("transitionProperty","transition.property"),transitionTimingFunction:_.prop("transitionTimingFunction","transition.easing")},U={fontFamily:_.prop("fontFamily","fonts"),fontSize:_.prop("fontSize","fontSizes",w.px),fontWeight:_.prop("fontWeight","fontWeights"),lineHeight:_.prop("lineHeight","lineHeights"),letterSpacing:_.prop("letterSpacing","letterSpacings"),textAlign:!0,fontStyle:!0,textIndent:!0,wordBreak:!0,overflowWrap:!0,textOverflow:!0,textTransform:!0,whiteSpace:!0,isTruncated:{transform(e){if(!0===e)return{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}}},noOfLines:{static:{overflow:"hidden",textOverflow:"ellipsis",display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:"var(--chakra-line-clamp)"}
330,property:"--chakra-line-clamp"}},q={scrollBehavior:!0,scrollSnapAlign:!0,scrollSnapStop:!0,scrollSnapType:!0,scrollMargin:_.spaceT("scrollMargin"),scrollMarginTop:_.spaceT("scrollMarginTop"),scrollMarginBottom:_.spaceT("scrollMarginBottom"),scrollMarginLeft:_.spaceT("scrollMarginLeft"),scrollMarginRight:_.spaceT("scrollMarginRight"),scrollMarginX:_.spaceT(["scrollMarginLeft","scrollMarginRight"]),scrollMarginY:_.spaceT(["scrollMarginTop","scrollMarginBottom"]),scrollPadding:_.spaceT("scrollPadding"),scrollPaddingTop:_.spaceT("scrollPaddingTop"),scrollPaddingBottom:_.spaceT("scrollPaddingBottom"),scrollPaddingLeft:_.spaceT("scrollPaddingLeft"),scrollPaddingRight:_.spaceT("scrollPaddingRight"),scrollPaddingX:_.spaceT(["scrollPaddingLeft","scrollPaddingRight"]),scrollPaddingY:_.spaceT(["scrollPaddingTop","scrollPaddingBottom"])};function G(e){return(0,n.Kn)(e)&&e.reference?e.reference:String(e)}var Y=(e,...t)=>t.map(G).join(` ${e} `).replace(/calc/g,""),X=(...e)=>`calc(${Y("+",...e)})`,Z=(...e)=>`calc(${Y("-",...e)})`,J=(...e)=>`calc(${Y("*",...e)})`,K=(...e)=>`calc(${Y("/",...e)})`,Q=e=>{let t=G(e);return null==t||Number.isNaN(parseFloat(t))?J(t,-1):String(t).startsWith("-")?String(t).slice(1):`-${t}`},ee=Object.assign(e=>({add:(...t)=>ee(X(e,...t)),subtract:(...t)=>ee(Z(e,...t)),multiply:(...t)=>ee(J(e,...t)),divide:(...t)=>ee(K(e,...t)),negate:()=>ee(Q(e)),toString:()=>e.toString()}),{add:X,subtract:Z,multiply:J,divide:K,negate:Q});function et(e,t,r){let n=function(e,t=""){return function(e){let t=function(e,t="-"){return e.replace(/\s+/g,t)}(e.toString());return(function(e){if(e.includes("\\."))return e;let t=!Number.isInteger(parseFloat(e.toString()));return t?e.replace(".","\\."):e})(t).replace(/[!-,/:-@[-^`{-~]/g,"\\$&")}(`--${function(e,t=""){return[t,e].filter(Boolean).join("-")}(e,t)}`)}(e,r);return{variable:n,reference:`var(${n}${t?`, ${t}`:""})`}}function er(e){if(null==e)return e;let{unitless:t}=function(e){let t=parseFloat(e.toString()),r=e.toString().replace(String(t),"");return{unitless:!r,value:t,unit:r}}(e);return t||"number"==typeof e?`${e}px`:e}var en=(e,t)=>parseInt(e[1],10)>parseInt(t[1],10)?1:-1,ei=e=>Object.fromEntries(Object.entries(e).sort(en));function eo(e){let t=ei(e);return Object.assign(Object.values(t),t)}function ea(e){var t;return e?"number"==typeof(e=null!=(t=er(e))?t:e)?`${e+-.02}`:e.replace(/(\d+\.?\d*)/u,e=>`${parseFloat(e)+-.02}`):e}function es(e,t){let r=["@media screen"];return e&&r.push("and",`(min-width: ${er(e)})`),t&&r.push("and",`(max-width: ${er(t)})`),r.join(" ")}var el={hover:(e,t)=>`${e}:hover ${t}, ${e}[data-hover] ${t}`,focus:(e,t)=>`${e}:focus ${t}, ${e}[data-focus] ${t}`,focusVisible:(e,t)=>`${e}:focus-visible ${t}`,focusWithin:(e,t)=>`${e}:focus-within ${t}`,active:(e,t)=>`${e}:active ${t}, ${e}[data-active] ${t}`,disabled:(e,t)=>`${e}:disabled ${t}, ${e}[data-disabled] ${t}`,invalid:(e,t)=>`${e}:invalid ${t}, ${e}[data-invalid] ${t}`,checked:(e,t)=>`${e}:checked ${t}, ${e}[data-checked] ${t}`,indeterminate:(e,t)=>`${e}:indeterminate ${t}, ${e}[aria-checked=mixed] ${t}, ${e}[data-indeterminate] ${t}`,readOnly:(e,t)=>`${e}:read-only ${t}, ${e}[readonly] ${t}, ${e}[data-read-only] ${t}`,expanded:(e,t)=>`${e}:read-only ${t}, ${e}[aria-expanded=true] ${t}, ${e}[data-expanded] ${t}`,placeholderShown:(e,t)=>`${e}:placeholder-shown ${t}`},eu=e=>ed(t=>e(t,"&"),"[role=group]","[data-group]",".group"),ec=e=>ed(t=>e(t,"~ &"),"[data-peer]",".peer"),ed=(e,...t)=>t.map(e).join(", "),eh={_hover:"&:hover, &[data-hover]",_active:"&:active, &[data-active]",_focus:"&:focus, &[data-focus]",_highlighted:"&[data-highlighted]",_focusWithin:"&:focus-within",_focusVisible:"&:focus-visible, &[data-focus-visible]",_disabled:"&:disabled, &[disabled], &[aria-disabled=true], &[data-disabled]",_readOnly:"&[aria-readonly=true], &[readonly], &[data-readonly]",_before:"&::before",_after:"&::after",_empty:"&:empty",_expanded:"&[aria-expanded=true], &[data-expanded]",_checked:"&[aria-checked=true], &[data-checked]",_grabbed:"&[aria-grabbed=true], &[data-grabbed]",_pressed:"&[aria-pressed=true], &[data-pressed]",_invalid:"&[aria-invalid=true], &[data-invalid]",_valid:"&[data-valid], &[data-state=valid]",_loading:"&[data-loading], &[aria-busy=true]",_selected:"&[aria-selected=true], &[data-selected]",_hidden:"&[hidden], &[data-hidden]",_autofill:"&:-webkit-autofill",_even:"&:nth-of-type(even)",_odd:"&:nth-of-type(odd)",_first:"&:first-of-type",_last:"&:last-of-type",_notFirst:"&:not(:first-of-type)",_notLast:"&:not(:last-of-type)",_visited:"&:visited",_activeLink:"&[aria-current=page]",_activeStep:"&[aria-current=step]",_indeterminate:"&:indeterminate, &[aria-checked=mixed], &[data-indeterminate]",_groupHover:eu(el.hover),_peerHover:ec(el.hover),_groupFocus:eu(el.focus),_peerFocus:ec(el.focus),_groupFocusVisible:eu(el.focusVisible),_peerFocusVisible:ec(el.focusVisible),_groupActive:eu(el.active),_peerActive:ec(el.active),_groupDisabled:eu(el.disabled),_peerDisabled:ec(el.disabled),_groupInvalid:eu(el.invali
330d),_peerInvalid:ec(el.invalid),_groupChecked:eu(el.checked),_peerChecked:ec(el.checked),_groupFocusWithin:eu(el.focusWithin),_peerFocusWithin:ec(el.focusWithin),_peerPlaceholderShown:ec(el.placeholderShown),_placeholder:"&::placeholder",_placeholderShown:"&:placeholder-shown",_fullScreen:"&:fullscreen",_selection:"&::selection",_rtl:"[dir=rtl] &, &[dir=rtl]",_ltr:"[dir=ltr] &, &[dir=ltr]",_mediaDark:"@media (prefers-color-scheme: dark)",_mediaReduceMotion:"@media (prefers-reduced-motion: reduce)",_dark:".chakra-ui-dark &:not([data-theme]),[data-theme=dark] &:not([data-theme]),&[data-theme=dark]",_light:".chakra-ui-light &:not([data-theme]),[data-theme=light] &:not([data-theme]),&[data-theme=light]"},ep=Object.keys(eh);function ef(e,t){return et(String(e).replace(/\./g,"-"),void 0,t)}var em=["colors","borders","borderWidths","borderStyles","fonts","fontSizes","fontWeights","letterSpacings","lineHeights","radii","space","shadows","sizes","zIndices","transition","blur","breakpoints"];function eg(e,t=1/0){return((0,n.Kn)(e)||Array.isArray(e))&&t?Object.entries(e).reduce((e,[r,i])=>((0,n.Kn)(i)||Array.isArray(i)?Object.entries(eg(i,t-1)).forEach(([t,n])=>{e[`${r}.${t}`]=n}):e[r]=i,e),{}):e}function eb(e){var t;let r=function(e){let{__cssMap:t,__cssVars:r,__breakpoints:n,...i}=e;return i}(e),o=function(e,t){let r={};for(let n of t)n in e&&(r[n]=e[n]);return r}(r,em),a=r.semanticTokens,s=function({tokens:e,semanticTokens:t}){var r,n;let i=Object.entries(null!=(r=eg(e))?r:{}).map(([e,t])=>[e,{isSemantic:!1,value:t}]),o=Object.entries(null!=(n=eg(t,1))?n:{}).map(([e,t])=>[e,{isSemantic:!0,value:t}]);return Object.fromEntries([...i,...o])}({tokens:o,semanticTokens:a}),l=null==(t=r.config)?void 0:t.cssVarPrefix,{cssMap:u,cssVars:c}=function(e,t){let r={},o={};for(let[a,s]of Object.entries(e)){let{isSemantic:l,value:u}=s,{variable:c,reference:d}=ef(a,null==t?void 0:t.cssVarPrefix);if(!l){if(a.startsWith("space")){let h=a.split("."),[p,...f]=h,m=`${p}.-${f.join(".")}`,g=ee.negate(u),b=ee.negate(d);o[m]={value:g,var:c,varRef:b}}r[c]=u,o[a]={value:u,var:c,varRef:d};continue}let v=r=>{let n=String(a).split(".")[0],i=[n,r].join("."),o=e[i];if(!o)return r;let{reference:s}=ef(i,null==t?void 0:t.cssVarPrefix);return s},y=(0,n.Kn)(u)?u:{default:u};r=i(r,Object.entries(y).reduce((e,[t,r])=>{var n;let i=v(r);if("default"===t)return e[c]=i,e;let o=null!=(n=null==eh?void 0:eh[t])?n:t;return e[o]={[c]:i},e},{})),o[a]={value:d,var:c,varRef:d}}return{cssVars:r,cssMap:o}}(s,{cssVarPrefix:l});return Object.assign(r,{__cssVars:{"--chakra-ring-inset":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-ring-offset-width":"0px","--chakra-ring-offset-color":"#fff","--chakra-ring-color":"rgba(66, 153, 225, 0.6)","--chakra-ring-offset-shadow":"0 0 #0000","--chakra-ring-shadow":"0 0 #0000","--chakra-space-x-reverse":"0","--chakra-space-y-reverse":"0",...c},__cssMap:u,__breakpoints:function(e){var t;if(!e)return null;e.base=null!=(t=e.base)?t:"0px";let r=eo(e),i=Object.entries(e).sort(en).map(([e,t],r,n)=>{var i;let[,o]=null!=(i=n[r+1])?i:[];return o=parseFloat(o)>0?ea(o):void 0,{_minW:ea(t),breakpoint:e,minW:t,maxW:o,maxWQuery:es(null,o),minWQuery:es(t),minMaxQuery:es(t,o)}}),o=function(e){let t=Object.keys(ei(e));return new Set(t)}(e),a=Array.from(o.values());return{keys:o,normalized:r,isResponsive(e){let t=Object.keys(e);return t.length>0&&t.every(e=>o.has(e))},asObject:ei(e),asArray:eo(e),details:i,get:e=>i.find(t=>t.breakpoint===e),media:[null,...r.map(e=>es(e)).slice(1)],toArrayValue(e){if(!(0,n.Kn)(e))throw Error("toArrayValue: value must be an object");let t=a.map(t=>{var r;return null!=(r=e[t])?r:null});for(;null===function(e){let t=null==e?0:e.length;return t?e[t-1]:void 0}(t);)t.pop();return t},toObjectValue(e){if(!Array.isArray(e))throw Error("toObjectValue: value must be an array");return e.reduce((e,t,r)=>{let n=a[r];return null!=n&&null!=t&&(e[n]=t),e},{})}}}(r.breakpoints)}),r}var ev=i({},C,P,A,j,B,T,L,R,z,{srOnly:{transform:e=>!0===e?D:"focusable"===e?F:{}},layerStyle:{processResult:!0,transform:(e,t,r)=>I(t,`layerStyles.${e}`,r)},textStyle:{processResult:!0,transform:(e,t,r)=>I(t,`textStyles.${e}`,r)},apply:{processResult:!0,transform:(e,t,r)=>I(t,e,r)}},V,E,O,q,U,W,N,$,H);Object.keys(Object.assign({},O,B,j,z,V));var ey=[...Object.keys(ev),...ep],ex={...ev,...eh},ek=e=>e in ex,eS=e=>t=>{if(!t.__breakpoints)return e;let{isResponsive:r,toArrayValue:i,media:o}=t.__breakpoints,a={};for(let s in e){let l=(0,n.Pu)(e[s],t);
330if(null==l)continue;if(!Array.isArray(l=(0,n.Kn)(l)&&r(l)?i(l):l)){a[s]=l;continue}let u=l.slice(0,o.length).length;for(let c=0;c<u;c+=1){let d=null==o?void 0:o[c];if(!d){a[s]=l[c];continue}a[d]=a[d]||{},null!=l[c]&&(a[d][s]=l[c])}}return a},ew=(e,t)=>e.startsWith("--")&&"string"==typeof t&&!/^var\(--.+\)$/.test(t),e_=(e,t)=>{var r,n;if(null==t)return t;let i=t=>{var r,n;return null==(n=null==(r=e.__cssMap)?void 0:r[t])?void 0:n.varRef},o=e=>{var t;return null!=(t=i(e))?t:e},[a,s]=function(e){let t=[],r="",n=!1;for(let i=0;i<e.length;i++){let o=e[i];"("===o?(n=!0,r+=o):")"===o?(n=!1,r+=o):","!==o||n?r+=o:(t.push(r),r="")}return(r=r.trim())&&t.push(r),t}(t);return t=null!=(n=null!=(r=i(a))?r:o(s))?n:o(t)},eC=e=>t=>{let r=function(e){let{configs:t={},pseudos:r={},theme:o}=e,a=(e,s=!1)=>{var l,u,c;let d=(0,n.Pu)(e,o),h=eS(d)(o),p={};for(let f in h){let m=h[f],g=(0,n.Pu)(m,o);f in r&&(f=r[f]),ew(f,g)&&(g=e_(o,g));let b=t[f];if(!0===b&&(b={property:f}),(0,n.Kn)(g)){p[f]=null!=(l=p[f])?l:{},p[f]=i({},p[f],a(g,!0));continue}let v=null!=(c=null==(u=null==b?void 0:b.transform)?void 0:u.call(b,g,o,d))?c:g;v=(null==b?void 0:b.processResult)?a(v,!0):v;let y=(0,n.Pu)(null==b?void 0:b.property,o);if(!s&&(null==b?void 0:b.static)){let x=(0,n.Pu)(b.static,o);p=i({},p,x)}if(y&&Array.isArray(y)){for(let k of y)p[k]=v;continue}if(y){"&"===y&&(0,n.Kn)(v)?p=i({},p,v):p[y]=v;continue}if((0,n.Kn)(v)){p=i({},p,v);continue}p[f]=v}return p};return a}({theme:t,pseudos:eh,configs:ev});return r(e)};function eP(e){return e}function eA(e){return e}function eE(e){return{definePartsStyle:e=>e,defineMultiStyleConfig:t=>({parts:e,...t})}}function eT(e){return t=>{var r;let{variant:o,size:a,theme:s}=t,l=function(e){let t=e.__breakpoints;return function(e,r,o,a){var s,l,u;if(!t)return;let c={},d=(u=t.toArrayValue,Array.isArray(o)?o:(0,n.Kn)(o)?u(o):null!=o?[o]:void 0);if(!d)return c;let h=d.length,p=1===h,f=!!e.parts;for(let m=0;m<h;m++){let g=t.details[m],b=t.details[function(e,t){for(let r=t+1;r<e.length;r++)if(null!=e[r])return r;return -1}(d,m)],v=es(g.minW,null==b?void 0:b._minW),y=(0,n.Pu)(null==(s=e[r])?void 0:s[d[m]],a);if(y){if(f){null==(l=e.parts)||l.forEach(e=>{i(c,{[e]:p?y[e]:{[v]:y[e]}})});continue}if(!f){p?i(c,y):c[v]=y;continue}c[v]=y}}return c}}(s);return i({},(0,n.Pu)(null!=(r=e.baseStyle)?r:{},t),l(e,"sizes",a,t),l(e,"variants",o,t))}}function ej(e){return function(e,t=[]){let r=Object.assign({},e);for(let n of t)n in r&&delete r[n];return r}(e,["styleConfig","size","variant","colorScheme"])}},9513:function(e,t,r){"use strict";r.d(t,{m:function(){return T}});var n,i=r(3179),o=new Set([...i.cC,"textStyle","layerStyle","apply","noOfLines","focusBorderColor","errorBorderColor","as","__css","css","sx"]),a=new Set(["htmlWidth","htmlHeight","htmlSize","htmlTranslate"]);function s(e){return a.has(e)||!o.has(e)}var l=r(2498),u=r(1759),c=r(6597),d=r(888),h=r(7294),p=r(7462),f=r(5042),m=/^((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|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRen
330dering|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)-.*))$/,g=(0,f.Z)(function(e){return m.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&91>e.charCodeAt(2)}),b=r(1683),v=r(444),y=r(8137),x=r(7278),k=function(e){return"theme"!==e},S=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?g:k},w=function(e,t,r){var n;if(t){var i=t.shouldForwardProp;n=e.__emotion_forwardProp&&i?function(t){return e.__emotion_forwardProp(t)&&i(t)}:i}return"function"!=typeof n&&r&&(n=e.__emotion_forwardProp),n},_=function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;return(0,v.hC)(t,r,n),(0,x.L)(function(){return(0,v.My)(t,r,n)}),null},C=(function e(t,r){var n,i,o=t.__emotion_real===t,a=o&&t.__emotion_base||t;void 0!==r&&(n=r.label,i=r.target);var s=w(t,r,o),l=s||S(a),u=!l("as");return function(){var c=arguments,d=o&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==n&&d.push("label:"+n+";"),null==c[0]||void 0===c[0].raw)d.push.apply(d,c);else{d.push(c[0][0]);for(var f=c.length,m=1;m<f;m++)d.push(c[m],c[0][m])}var g=(0,b.w)(function(e,t,r){var n=u&&e.as||a,o="",c=[],p=e;if(null==e.theme){for(var f in p={},e)p[f]=e[f];p.theme=(0,h.useContext)(b.T)}"string"==typeof e.className?o=(0,v.fp)(t.registered,c,e.className):null!=e.className&&(o=e.className+" ");var m=(0,y.O)(d.concat(c),t.registered,p);o+=t.key+"-"+m.name,void 0!==i&&(o+=" "+i);var g=u&&void 0===s?S(n):l,x={};for(var k in e)(!u||"as"!==k)&&g(k)&&(x[k]=e[k]);return x.className=o,x.ref=r,(0,h.createElement)(h.Fragment,null,(0,h.createElement)(_,{cache:t,serialized:m,isStringTag:"string"==typeof n}),(0,h.createElement)(n,x))});return g.displayName=void 0!==n?n:"Styled("+("string"==typeof a?a:a.displayName||a.name||"Component")+")",g.defaultProps=t.defaultProps,g.__emotion_real=g,g.__emotion_base=a,g.__emotion_styles=d,g.__emotion_forwardProp=s,Object.defineProperty(g,"toString",{value:function(){return"."+i}}),g.withComponent=function(t,n){return e(t,(0,p.Z)({},r,n,{shouldForwardProp:w(g,n,!0)})).apply(void 0,d)},g}}).bind();["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach(function(e){C[e]=C(e)});var P=null!=(n=C.default)?n:C,A=({baseStyle:e})=>t=>{let{theme:r,css:n,__css:o,sx:a,...s}=t,l=(0,u.lw)(s,(e,t)=>(0,i.ZR)(t)),h=(0,c.Pu)(e,t),p=(0,d.V8)({},o,h,(0,u.YU)(l),a),f=(0,i.iv)(p)(t.theme);return n?[f,n]:f};function E(e,t){let{baseStyle:r,...n}=null!=t?t:{};n.shouldForwardProp||(n.shouldForwardProp=s);let i=A({baseStyle:r}
330),o=P(e,n)(i),a=h.forwardRef(function(e,t){let{colorMode:r,forced:n}=(0,l.If)();return h.createElement(o,{ref:t,"data-theme":n?r:void 0,...e})});return a}var T=function(){let e=new Map;return new Proxy(E,{apply:(e,t,r)=>E(...r),get:(t,r)=>(e.has(r)||e.set(r,E(r)),e.get(r))})}()},5059:function(e,t,r){"use strict";r.d(t,{G:function(){return i}});var n=r(7294);function i(e){return(0,n.forwardRef)(e)}},1628:function(e,t,r){"use strict";r.d(t,{jC:function(){return h},mq:function(){return d}});var n=r(1683),i=r(7294),o=r(2498),a=r(3179),s=r(1759),l=r(8554),u=r(9590);function c(e,t={}){var r;let{styleConfig:c,...d}=t,{theme:h,colorMode:p}=function(){let e=(0,o.If)(),t=function(){let e=(0,i.useContext)(n.T);if(!e)throw Error("useTheme: `theme` is undefined. Seems you forgot to wrap your app in `<ChakraProvider />` or `<ThemeProvider />`");return e}();return{...e,theme:t}}(),f=e?(0,s.Wf)(h,`components.${e}`):void 0,m=c||f,g=l({theme:h,colorMode:p},null!=(r=null==m?void 0:m.defaultProps)?r:{},(0,s.YU)((0,s.CE)(d,["children"]))),b=(0,i.useRef)({});if(m){let v=(0,a.Ud)(m),y=v(g),x=u(b.current,y);x||(b.current=y)}return b.current}function d(e,t={}){return c(e,t)}function h(e,t={}){return c(e,t)}},6597:function(e,t,r){"use strict";function n(e,...t){return"function"==typeof e?e(...t):e}r.d(t,{Pu:function(){return n}})},1759:function(e,t,r){"use strict";function n(e,t){let r={};return Object.keys(e).forEach(n=>{t.includes(n)||(r[n]=e[n])}),r}r.d(t,{CE:function(){return n},Wf:function(){return i},YU:function(){return a},lw:function(){return o}}),r(8554);var i=(e=>{let t=new WeakMap,r=(r,n,i,o)=>{if(void 0===r)return e(r,n,i);t.has(r)||t.set(r,new Map);let a=t.get(r);if(a.has(n))return a.get(n);let s=e(r,n,i,o);return a.set(n,s),s};return r})(function(e,t,r,n){let i="string"==typeof t?t.split("."):[t];for(n=0;n<i.length&&e;n+=1)e=e[i[n]];return void 0===e?r:e});function o(e,t){let r={};return Object.keys(e).forEach(n=>{let i=e[n],o=t(i,n,e);o&&(r[n]=i)}),r}var a=e=>o(e,e=>null!=e)}},function(e){var t=function(t){return e(e.s=t)};e.O(0,[774,179],function(){return t(6840),t(880)}),_N_E=e.O()}]);

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.