@saas-ui/storybook-addon 3.0.2 → 4.0.0-alpha.1
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +22 -0
- package/dist/ChakraProviderDecorator.d.ts +3 -1
- package/dist/ChakraProviderDecorator.js +47 -8
- package/dist/ChakraProviderDecorator.js.map +1 -1
- package/dist/ChakraProviderDecorator.mjs +30 -0
- package/dist/ChakraProviderDecorator.mjs.map +1 -0
- package/dist/arg-types.d.ts +1 -1
- package/dist/arg-types.js +3 -1
- package/dist/arg-types.js.map +1 -1
- package/dist/{arg-types.cjs → arg-types.mjs} +2 -4
- package/dist/arg-types.mjs.map +1 -0
- package/dist/color-mode/ColorModeSync.js +7 -5
- package/dist/color-mode/ColorModeSync.js.map +1 -1
- package/dist/color-mode/ColorModeSync.mjs +9 -0
- package/dist/color-mode/ColorModeSync.mjs.map +1 -0
- package/dist/color-mode/ColorModeTool.js +28 -6
- package/dist/color-mode/ColorModeTool.js.map +1 -1
- package/dist/color-mode/ColorModeTool.mjs +10 -0
- package/dist/color-mode/ColorModeTool.mjs.map +1 -0
- package/dist/constants.js +7 -1
- package/dist/constants.js.map +1 -1
- package/dist/{constants.cjs → constants.mjs} +2 -8
- package/dist/constants.mjs.map +1 -0
- package/dist/direction/DirectionTool.js +8 -6
- package/dist/direction/DirectionTool.js.map +1 -1
- package/dist/direction/DirectionTool.mjs +10 -0
- package/dist/direction/DirectionTool.mjs.map +1 -0
- package/dist/direction/useDirection.js +6 -4
- package/dist/direction/useDirection.js.map +1 -1
- package/dist/direction/useDirection.mjs +8 -0
- package/dist/direction/useDirection.mjs.map +1 -0
- package/dist/index.js +8 -1
- package/dist/index.js.map +1 -1
- package/dist/{index.cjs → index.mjs} +2 -9
- package/dist/index.mjs.map +1 -0
- package/dist/manager.d.ts +1 -1
- package/dist/manager.js +31 -8
- package/dist/manager.js.map +1 -1
- package/dist/manager.mjs +12 -0
- package/dist/manager.mjs.map +1 -0
- package/dist/preview.js +47 -8
- package/dist/preview.js.map +1 -1
- package/dist/preview.mjs +30 -0
- package/dist/preview.mjs.map +1 -0
- package/dist/theme/ThemeTool.js +29 -6
- package/dist/theme/ThemeTool.js.map +1 -1
- package/dist/theme/ThemeTool.mjs +12 -0
- package/dist/theme/ThemeTool.mjs.map +1 -0
- package/package.json +12 -13
- package/dist/ChakraProviderDecorator.cjs +0 -33
- package/dist/ChakraProviderDecorator.cjs.map +0 -1
- package/dist/ChakraProviderDecorator.d.cts +0 -3
- package/dist/arg-types.cjs.map +0 -1
- package/dist/arg-types.d.cts +0 -52
- package/dist/color-mode/ColorModeSync.cjs +0 -11
- package/dist/color-mode/ColorModeSync.cjs.map +0 -1
- package/dist/color-mode/ColorModeSync.d.cts +0 -6
- package/dist/color-mode/ColorModeTool.cjs +0 -32
- package/dist/color-mode/ColorModeTool.cjs.map +0 -1
- package/dist/color-mode/ColorModeTool.d.cts +0 -5
- package/dist/constants.cjs.map +0 -1
- package/dist/constants.d.cts +0 -11
- package/dist/direction/DirectionTool.cjs +0 -12
- package/dist/direction/DirectionTool.cjs.map +0 -1
- package/dist/direction/DirectionTool.d.cts +0 -8
- package/dist/direction/useDirection.cjs +0 -10
- package/dist/direction/useDirection.cjs.map +0 -1
- package/dist/direction/useDirection.d.cts +0 -6
- package/dist/index.cjs.map +0 -1
- package/dist/index.d.cts +0 -4
- package/dist/manager.cjs +0 -31
- package/dist/manager.cjs.map +0 -1
- package/dist/manager.d.cts +0 -2
- package/dist/preview.cjs +0 -33
- package/dist/preview.cjs.map +0 -1
- package/dist/preview.d.cts +0 -5
- package/dist/theme/ThemeTool.cjs +0 -12
- package/dist/theme/ThemeTool.cjs.map +0 -1
- package/dist/theme/ThemeTool.d.cts +0 -8
package/dist/preview.js
CHANGED
@@ -1,12 +1,51 @@
|
|
1
|
-
|
2
|
-
import { useEffect, useState } from 'react';
|
3
|
-
import { extendTheme, withDefaultColorScheme, useColorMode } from '@chakra-ui/react';
|
4
|
-
import { makeDecorator, addons } from '@storybook/preview-api';
|
5
|
-
import { theme, baseTheme, SaasProvider, useLocalStorage } from '@saas-ui/react';
|
6
|
-
import { jsxs, jsx } from 'react/jsx-runtime';
|
1
|
+
'use strict';
|
7
2
|
|
8
|
-
var Rt=Object.create;var le=Object.defineProperty;var It=Object.getOwnPropertyDescriptor;var $t=Object.getOwnPropertyNames;var zt=Object.getPrototypeOf,Et=Object.prototype.hasOwnProperty;var Ot=(r,e)=>()=>(e||r((e={exports:{}}).exports,e),e.exports);var Bt=(r,e,t,o)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of $t(e))!Et.call(r,n)&&n!==t&&le(r,n,{get:()=>e[n],enumerable:!(o=It(e,n))||o.enumerable});return r};var ir=(r,e,t)=>(t=r!=null?Rt(zt(r)):{},Bt(e||!r||!r.__esModule?le(t,"default",{value:r,enumerable:!0}):t,r));var Z=Ot((U,V)=>{var sa=200,ke="__lodash_hash_undefined__",la=800,ca=16,xe=9007199254740991,Te="[object Arguments]",da="[object Array]",ua="[object AsyncFunction]",fa="[object Boolean]",pa="[object Date]",ba="[object Error]",we="[object Function]",ga="[object GeneratorFunction]",ma="[object Map]",ha="[object Number]",ya="[object Null]",Ce="[object Object]",va="[object Proxy]",_a="[object RegExp]",Sa="[object Set]",ka="[object String]",xa="[object Undefined]",Ta="[object WeakMap]",wa="[object ArrayBuffer]",Ca="[object DataView]",Aa="[object Float32Array]",Ra="[object Float64Array]",Ia="[object Int8Array]",$a="[object Int16Array]",za="[object Int32Array]",Ea="[object Uint8Array]",Oa="[object Uint8ClampedArray]",Ba="[object Uint16Array]",ja="[object Uint32Array]",Ma=/[\\^$.*+?()[\]{}|]/g,Pa=/^\[object .+?Constructor\]$/,Wa=/^(?:0|[1-9]\d*)$/,m={};m[Aa]=m[Ra]=m[Ia]=m[$a]=m[za]=m[Ea]=m[Oa]=m[Ba]=m[ja]=!0;m[Te]=m[da]=m[wa]=m[fa]=m[Ca]=m[pa]=m[ba]=m[we]=m[ma]=m[ha]=m[Ce]=m[_a]=m[Sa]=m[ka]=m[Ta]=!1;var Ae=typeof global=="object"&&global&&global.Object===Object&&global,Fa=typeof self=="object"&&self&&self.Object===Object&&self,K=Ae||Fa||Function("return this")(),Re=typeof U=="object"&&U&&!U.nodeType&&U,X=Re&&typeof V=="object"&&V&&!V.nodeType&&V,Ie=X&&X.exports===Re,Br=Ie&&Ae.process,pe=function(){try{var r=X&&X.require&&X.require("util").types;return r||Br&&Br.binding&&Br.binding("util")}catch{}}(),be=pe&&pe.isTypedArray;function Da(r,e,t){switch(t.length){case 0:return r.call(e);case 1:return r.call(e,t[0]);case 2:return r.call(e,t[0],t[1]);case 3:return r.call(e,t[0],t[1],t[2])}return r.apply(e,t)}function Va(r,e){for(var t=-1,o=Array(r);++t<r;)o[t]=e(t);return o}function La(r){return function(e){return r(e)}}function Na(r,e){return r==null?void 0:r[e]}function Ha(r,e){return function(t){return r(e(t))}}var Ga=Array.prototype,qa=Function.prototype,dr=Object.prototype,jr=K["__core-js_shared__"],ur=qa.toString,R=dr.hasOwnProperty,ge=function(){var r=/[^.]+$/.exec(jr&&jr.keys&&jr.keys.IE_PROTO||"");return r?"Symbol(src)_1."+r:""}(),$e=dr.toString,Ua=ur.call(Object),Xa=RegExp("^"+ur.call(R).replace(Ma,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),lr=Ie?K.Buffer:void 0,me=K.Symbol,he=K.Uint8Array,ye=lr?lr.allocUnsafe:void 0,ze=Ha(Object.getPrototypeOf,Object),ve=Object.create,Ya=dr.propertyIsEnumerable,Ka=Ga.splice,O=me?me.toStringTag:void 0,cr=function(){try{var r=Vr(Object,"defineProperty");return r({},"",{}),r}catch{}}(),Qa=lr?lr.isBuffer:void 0,_e=Math.max,Za=Date.now,Ee=Vr(K,"Map"),Y=Vr(Object,"create"),Ja=function(){function r(){}return function(e){if(!j(e))return {};if(ve)return ve(e);r.prototype=e;var t=new r;return r.prototype=void 0,t}}();function B(r){var e=-1,t=r==null?0:r.length;for(this.clear();++e<t;){var o=r[e];this.set(o[0],o[1]);}}function ro(){this.__data__=Y?Y(null):{},this.size=0;}function eo(r){var e=this.has(r)&&delete this.__data__[r];return this.size-=e?1:0,e}function to(r){var e=this.__data__;if(Y){var t=e[r];return t===ke?void 0:t}return R.call(e,r)?e[r]:void 0}function ao(r){var e=this.__data__;return Y?e[r]!==void 0:R.call(e,r)}function oo(r,e){var t=this.__data__;return this.size+=this.has(r)?0:1,t[r]=Y&&e===void 0?ke:e,this}B.prototype.clear=ro;B.prototype.delete=eo;B.prototype.get=to;B.prototype.has=ao;B.prototype.set=oo;function I(r){var e=-1,t=r==null?0:r.length;for(this.clear();++e<t;){var o=r[e];this.set(o[0],o[1]);}}function no(){this.__data__=[],this.size=0;}function io(r){var e=this.__data__,t=fr(e,r);if(t<0)return !1;var o=e.length-1;return t==o?e.pop():Ka.call(e,t,1),--this.size,!0}function so(r){var e=this.__data__,t=fr(e,r);return t<0?void 0:e[t][1]}function lo(r){return fr(this.__data__,r)>-1}function co(r,e){var t=this.__data__,o=fr(t,r);return o<0?(++this.size,t.push([r,e])):t[o][1]=e,this}I.prototype.clear=no;I.prototype.delete=io;I.prototype.get=so;I.prototype.has=lo;I.prototype.set=co;function L(r){var e=-1,t=r==null?0:r.length;for(this.clear();++e<t;){var o=r[e];this.set(o[0],o[1]);}}function uo(){this.size=0,this.__data__={hash:new B,map:new(Ee||I),string:new B};}function fo(r){var e=br(this,r).delete(r);return this.size-=e?1:0,e}function po(r){return br(this,r).get(r)}function bo(r){return br(this,r).has(r)}function go(r,e){var t=br(this,r),o=t.size;return t.set(r,e),this.size+=t.size==o?0:1,this}L.prototype.clear=uo;L.prototype.delete=fo;L.prototype.get=po;L.prototype.has=bo;L.prototype.set=go;function N(r){var e=this.__data__=new I(r);this.size=e.size;}function mo(){this.__data__=new I,this.size=0;}function ho(r){var e=this.__data__,t=e.delete(r);return this.size=e.size,t}function yo(r){return this.__data__.get(r)}function vo(r){return this.__data__.has(r)}function _o(r,e){var t=this.__data__;if(t instanceof I){var o=t.__data__;if(!Ee||o.length<sa-1)return o.push([r,e]),this.size=++t.size,this;t=this.__data__=new L(o);}return t.set(r,e),this.size=t.size,this}N.prototype.clear=mo;N.prototype.delete=ho;N.prototype.get=yo;N.prototype.has=vo;N.prototype.set=_o;function So(r,e){var t=Fr(r),o=!t&&Wr(r),n=!t&&!o&&Me(r),i=!t&&!o&&!n&&We(r),l=t||o||n||i,s=l?Va(r.length,String):[],c=s.length;for(var d in r)(e||R.call(r,d))&&!(l&&(d=="length"||n&&(d=="offset"||d=="parent")||i&&(d=="buffer"||d=="byteLength"||d=="byteOffset")||Be(d,c)))&&s.push(d);return s}function Mr(r,e,t){(t!==void 0&&!gr(r[e],t)||t===void 0&&!(e in r))&&Dr(r,e,t);}function ko(r,e,t){var o=r[e];(!(R.call(r,e)&&gr(o,t))||t===void 0&&!(e in r))&&Dr(r,e,t);}function fr(r,e){for(var t=r.length;t--;)if(gr(r[t][0],e))return t;return -1}function Dr(r,e,t){e=="__proto__"&&cr?cr(r,e,{configurable:!0,enumerable:!0,value:t,writable:!0}):r[e]=t;}var xo=Mo();function pr(r){return r==null?r===void 0?xa:ya:O&&O in Object(r)?Po(r):No(r)}function Se(r){return Q(r)&&pr(r)==Te}function To(r){if(!j(r)||Vo(r))return !1;var e=Nr(r)?Xa:Pa;return e.test(Uo(r))}function wo(r){return Q(r)&&Pe(r.length)&&!!m[pr(r)]}function Co(r){if(!j(r))return Lo(r);var e=je(r),t=[];for(var o in r)o=="constructor"&&(e||!R.call(r,o))||t.push(o);return t}function Oe(r,e,t,o,n){r!==e&&xo(e,function(i,l){if(n||(n=new N),j(i))Ao(r,e,l,t,Oe,o,n);else {var s=o?o(Pr(r,l),i,l+"",r,e,n):void 0;s===void 0&&(s=i),Mr(r,l,s);}},Fe);}function Ao(r,e,t,o,n,i,l){var s=Pr(r,t),c=Pr(e,t),d=l.get(c);if(d){Mr(r,t,d);return}var p=i?i(s,c,t+"",r,e,l):void 0,y=p===void 0;if(y){var _=Fr(c),k=!_&&Me(c),F=!_&&!k&&We(c);p=c,_||k||F?Fr(s)?p=s:Xo(s)?p=Oo(s):k?(y=!1,p=$o(c,!0)):F?(y=!1,p=Eo(c,!0)):p=[]:Yo(c)||Wr(c)?(p=s,Wr(s)?p=Ko(s):(!j(s)||Nr(s))&&(p=Wo(c))):y=!1;}y&&(l.set(c,p),n(p,c,o,i,l),l.delete(c)),Mr(r,t,p);}function Ro(r,e){return Go(Ho(r,e,De),r+"")}var Io=cr?function(r,e){return cr(r,"toString",{configurable:!0,enumerable:!1,value:Zo(e),writable:!0})}:De;function $o(r,e){if(e)return r.slice();var t=r.length,o=ye?ye(t):new r.constructor(t);return r.copy(o),o}function zo(r){var e=new r.constructor(r.byteLength);return new he(e).set(new he(r)),e}function Eo(r,e){var t=e?zo(r.buffer):r.buffer;return new r.constructor(t,r.byteOffset,r.length)}function Oo(r,e){var t=-1,o=r.length;for(e||(e=Array(o));++t<o;)e[t]=r[t];return e}function Bo(r,e,t,o){var n=!t;t||(t={});for(var i=-1,l=e.length;++i<l;){var s=e[i],c=o?o(t[s],r[s],s,t,r):void 0;c===void 0&&(c=r[s]),n?Dr(t,s,c):ko(t,s,c);}return t}function jo(r){return Ro(function(e,t){var o=-1,n=t.length,i=n>1?t[n-1]:void 0,l=n>2?t[2]:void 0;for(i=r.length>3&&typeof i=="function"?(n--,i):void 0,l&&Fo(t[0],t[1],l)&&(i=n<3?void 0:i,n=1),e=Object(e);++o<n;){var s=t[o];s&&r(e,s,o,i);}return e})}function Mo(r){return function(e,t,o){for(var n=-1,i=Object(e),l=o(e),s=l.length;s--;){var c=l[r?s:++n];if(t(i[c],c,i)===!1)break}return e}}function br(r,e){var t=r.__data__;return Do(e)?t[typeof e=="string"?"string":"hash"]:t.map}function Vr(r,e){var t=Na(r,e);return To(t)?t:void 0}function Po(r){var e=R.call(r,O),t=r[O];try{r[O]=void 0;var o=!0;}catch{}var n=$e.call(r);return o&&(e?r[O]=t:delete r[O]),n}function Wo(r){return typeof r.constructor=="function"&&!je(r)?Ja(ze(r)):{}}function Be(r,e){var t=typeof r;return e=e==null?xe:e,!!e&&(t=="number"||t!="symbol"&&Wa.test(r))&&r>-1&&r%1==0&&r<e}function Fo(r,e,t){if(!j(t))return !1;var o=typeof e;return (o=="number"?Lr(t)&&Be(e,t.length):o=="string"&&e in t)?gr(t[e],r):!1}function Do(r){var e=typeof r;return e=="string"||e=="number"||e=="symbol"||e=="boolean"?r!=="__proto__":r===null}function Vo(r){return !!ge&&ge in r}function je(r){var e=r&&r.constructor,t=typeof e=="function"&&e.prototype||dr;return r===t}function Lo(r){var e=[];if(r!=null)for(var t in Object(r))e.push(t);return e}function No(r){return $e.call(r)}function Ho(r,e,t){return e=_e(e===void 0?r.length-1:e,0),function(){for(var o=arguments,n=-1,i=_e(o.length-e,0),l=Array(i);++n<i;)l[n]=o[e+n];n=-1;for(var s=Array(e+1);++n<e;)s[n]=o[n];return s[e]=t(l),Da(r,this,s)}}function Pr(r,e){if(!(e==="constructor"&&typeof r[e]=="function")&&e!="__proto__")return r[e]}var Go=qo(Io);function qo(r){var e=0,t=0;return function(){var o=Za(),n=ca-(o-t);if(t=o,n>0){if(++e>=la)return arguments[0]}else e=0;return r.apply(void 0,arguments)}}function Uo(r){if(r!=null){try{return ur.call(r)}catch{}try{return r+""}catch{}}return ""}function gr(r,e){return r===e||r!==r&&e!==e}var Wr=Se(function(){return arguments}())?Se:function(r){return Q(r)&&R.call(r,"callee")&&!Ya.call(r,"callee")},Fr=Array.isArray;function Lr(r){return r!=null&&Pe(r.length)&&!Nr(r)}function Xo(r){return Q(r)&&Lr(r)}var Me=Qa||Jo;function Nr(r){if(!j(r))return !1;var e=pr(r);return e==we||e==ga||e==ua||e==va}function Pe(r){return typeof r=="number"&&r>-1&&r%1==0&&r<=xe}function j(r){var e=typeof r;return r!=null&&(e=="object"||e=="function")}function Q(r){return r!=null&&typeof r=="object"}function Yo(r){if(!Q(r)||pr(r)!=Ce)return !1;var e=ze(r);if(e===null)return !0;var t=R.call(e,"constructor")&&e.constructor;return typeof t=="function"&&t instanceof t&&ur.call(t)==Ua}var We=be?La(be):wo;function Ko(r){return Bo(r,Fe(r))}function Fe(r){return Lr(r)?So(r,!0):Co(r)}var Qo=jo(function(r,e,t,o){Oe(r,e,t,o);});function Zo(r){return function(){return r}}function De(r){return r}function Jo(){return !1}V.exports=Qo;});var D="@saas-ui/storybook-addon2",ce=`${D}/direction-tool`,A={TOGGLE_COLOR_MODE:`${D}/toggleColorMode`,TOGGLE_DIRECTION:`${D}/toggleDirection`,SET_THEME:`${D}/setTheme`};function de(){let{setColorMode:r}=useColorMode();return useEffect(()=>{let e=addons.getChannel(),t=o=>r(o);return e.on(A.TOGGLE_COLOR_MODE,t),()=>{e.removeListener(A.TOGGLE_COLOR_MODE,t);}},[r]),null}var fe=(r="ltr")=>{let[e,t]=useState(r.toLowerCase());return useEffect(()=>{document.documentElement.dir=e;},[e]),useEffect(()=>{let o=addons.getChannel(),n=i=>t(i);return o.on(A.TOGGLE_DIRECTION,n),()=>{o.removeListener(A.TOGGLE_DIRECTION,n);}},[t]),e};function u(r,e={}){let t=!1;function o(){if(!t){t=!0;return}throw new Error("[anatomy] .part(...) should only be called once. Did you mean to use .extend(...) ?")}function n(...p){o();for(let y of p)e[y]=c(y);return u(r,e)}function i(...p){for(let y of p)y in e||(e[y]=c(y));return u(r,e)}function l(){return Object.fromEntries(Object.entries(e).map(([y,_])=>[y,_.selector]))}function s(){return Object.fromEntries(Object.entries(e).map(([y,_])=>[y,_.className]))}function c(p){let k=`chakra-${(["container","root"].includes(p!=null?p:"")?[r]:[r,p]).filter(Boolean).join("__")}`;return {className:k,selector:`.${k}`,toString:()=>p}}return {parts:n,toPart:c,extend:i,selectors:l,classnames:s,get keys(){return Object.keys(e)},__type:{}}}u("accordion").parts("root","container","button","panel").extend("icon");var Cr=u("alert").parts("title","description","container").extend("icon","spinner");u("avatar").parts("label","badge","container").extend("excessLabel","group");u("breadcrumb").parts("link","item","container").extend("separator");u("button").parts();u("checkbox").parts("control","icon","container").extend("label");u("progress").parts("track","filledTrack").extend("label");var Ar=u("drawer").parts("overlay","dialogContainer","dialog").extend("header","closeButton","body","footer");u("editable").parts("preview","input","textarea");u("form").parts("container","requiredIndicator","helperText");u("formError").parts("text","icon");var Rr=u("input").parts("addon","field","element","group");u("list").parts("container","item","icon");var Ir=u("menu").parts("button","list","item").extend("groupTitle","icon","command","divider"),$r=u("modal").parts("overlay","dialogContainer","dialog").extend("header","closeButton","body","footer");u("numberinput").parts("root","field","stepperGroup","stepper");u("pininput").parts("field");var zr=u("popover").parts("content","header","body","footer").extend("popper","arrow","closeButton"),Er=u("progress").parts("label","filledTrack","track");u("radio").parts("container","control","label");u("select").parts("field","icon");u("slider").parts("container","track","thumb","filledTrack","mark");u("stat").parts("container","label","helpText","number","icon");var Or=u("switch").parts("container","track","thumb","label");u("table").parts("table","thead","tbody","tr","th","td","tfoot","caption");u("tabs").parts("root","tab","tablist","tabpanel","tabpanels","indicator");u("tag").parts("container","label","closeButton");u("card").parts("container","header","body","footer");u("stepper").parts("stepper","step","title","description","indicator","separator","icon","number");function sr(r){let e=typeof r;return r!=null&&(e==="object"||e==="function")&&!Array.isArray(r)}ir(Z(),1);ir(Z(),1);var Qe=ir(Z(),1);ir(Z(),1);var rn=r=>/!(important)?$/.test(r),Ve=r=>typeof r=="string"?r.replace(/!(important)?$/,"").trim():r,en=(r,e)=>t=>{let o=String(e),n=rn(o),i=Ve(o),l=r?`${r}.${i}`:i,s=sr(t.__cssMap)&&l in t.__cssMap?t.__cssMap[l].varRef:e;return s=Ve(s),n?`${s} !important`:s};function Kr(r){let{scale:e,transform:t,compose:o}=r;return (i,l)=>{var s;let c=en(e,i)(l),d=(s=t==null?void 0:t(c,l))!=null?s:c;return o&&(d=o(d,l)),d}}var mr=(...r)=>e=>r.reduce((t,o)=>o(t),e);function x(r,e){return t=>{let o={property:t,scale:r};return o.transform=Kr({scale:r,transform:e}),o}}var tn=({rtl:r,ltr:e})=>t=>t.direction==="rtl"?r:e;function an(r){let{property:e,scale:t,transform:o}=r;return {scale:t,property:tn(e),transform:t?Kr({scale:t,compose:o}):o}}var qe=["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))"];function on(){return ["translateX(var(--chakra-translate-x, 0))","translateY(var(--chakra-translate-y, 0))",...qe].join(" ")}function nn(){return ["translate3d(var(--chakra-translate-x, 0), var(--chakra-translate-y, 0), 0)",...qe].join(" ")}var sn={"--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)"].join(" ")},ln={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)"].join(" "),"--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,/*!*/ /*!*/)"};function cn(r){return {"--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":r,boxShadow:["var(--chakra-ring-offset-shadow)","var(--chakra-ring-shadow)","var(--chakra-shadow, 0 0 #0000)"].join(", ")}}var dn={"row-reverse":{space:"--chakra-space-x-reverse",divide:"--chakra-divide-x-reverse"},"column-reverse":{space:"--chakra-space-y-reverse",divide:"--chakra-divide-y-reverse"}},Gr={"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"},un=new Set(Object.values(Gr)),qr=new Set(["none","-moz-initial","inherit","initial","revert","unset"]),fn=r=>r.trim();function pn(r,e){if(r==null||qr.has(r))return r;if(!(Ur(r)||qr.has(r)))return `url('${r}')`;let n=/(^[a-z-A-Z]+)\((.*)\)/g.exec(r),i=n==null?void 0:n[1],l=n==null?void 0:n[2];if(!i||!l)return r;let s=i.includes("-gradient")?i:`${i}-gradient`,[c,...d]=l.split(",").map(fn).filter(Boolean);if((d==null?void 0:d.length)===0)return r;let p=c in Gr?Gr[c]:c;d.unshift(p);let y=d.map(_=>{if(un.has(_))return _;let k=_.indexOf(" "),[F,or]=k!==-1?[_.substr(0,k),_.substr(k+1)]:[_],nr=Ur(or)?or:or&&or.split(" "),ie=`colors.${F}`,se=ie in e.__cssMap?e.__cssMap[ie].varRef:F;return nr?[se,...Array.isArray(nr)?nr:[nr]].join(" "):se});return `${s}(${y.join(", ")})`}var Ur=r=>typeof r=="string"&&r.includes("(")&&r.includes(")"),bn=(r,e)=>pn(r,e!=null?e:{});function gn(r){return /^var\(--.+\)$/.test(r)}var mn=r=>{let e=parseFloat(r.toString()),t=r.toString().replace(String(e),"");return {unitless:!t,value:e,unit:t}},C=r=>e=>`${r}(${e})`,f={filter(r){return r!=="auto"?r:sn},backdropFilter(r){return r!=="auto"?r:ln},ring(r){return cn(f.px(r))},bgClip(r){return r==="text"?{color:"transparent",backgroundClip:"text"}:{backgroundClip:r}},transform(r){return r==="auto"?on():r==="auto-gpu"?nn():r},vh(r){return r==="$100vh"?"var(--chakra-vh)":r},px(r){if(r==null)return r;let{unitless:e}=mn(r);return e||typeof r=="number"?`${r}px`:r},fraction(r){return typeof r!="number"||r>1?r:`${r*100}%`},float(r,e){let t={left:"right",right:"left"};return e.direction==="rtl"?t[r]:r},degree(r){if(gn(r)||r==null)return r;let e=typeof r=="string"&&!r.endsWith("deg");return typeof r=="number"||e?`${r}deg`:r},gradient:bn,blur:C("blur"),opacity:C("opacity"),brightness:C("brightness"),contrast:C("contrast"),dropShadow:C("drop-shadow"),grayscale:C("grayscale"),hueRotate:r=>C("hue-rotate")(f.degree(r)),invert:C("invert"),saturate:C("saturate"),sepia:C("sepia"),bgImage(r){return r==null||Ur(r)||qr.has(r)?r:`url(${r})`},outline(r){let e=String(r)==="0"||String(r)==="none";return r!==null&&e?{outline:"2px solid transparent",outlineOffset:"2px"}:{outline:r}},flexDirection(r){var e;let{space:t,divide:o}=(e=dn[r])!=null?e:{},n={flexDirection:r};return t&&(n[t]=1),o&&(n[o]=1),n}},a={borderWidths:x("borderWidths"),borderStyles:x("borderStyles"),colors:x("colors"),borders:x("borders"),gradients:x("gradients",f.gradient),radii:x("radii",f.px),space:x("space",mr(f.vh,f.px)),spaceT:x("space",mr(f.vh,f.px)),degreeT(r){return {property:r,transform:f.degree}},prop(r,e,t){return {property:r,scale:e,...e&&{transform:Kr({scale:e,transform:t})}}},propT(r,e){return {property:r,transform:e}},sizes:x("sizes",mr(f.vh,f.px)),sizesT:x("sizes",mr(f.vh,f.fraction)),shadows:x("shadows"),logical:an,blur:x("blur",f.blur)},hr={background:a.colors("background"),backgroundColor:a.colors("backgroundColor"),backgroundImage:a.gradients("backgroundImage"),backgroundSize:!0,backgroundPosition:!0,backgroundRepeat:!0,backgroundAttachment:!0,backgroundClip:{transform:f.bgClip},bgSize:a.prop("backgroundSize"),bgPosition:a.prop("backgroundPosition"),bg:a.colors("background"),bgColor:a.colors("backgroundColor"),bgPos:a.prop("backgroundPosition"),bgRepeat:a.prop("backgroundRepeat"),bgAttachment:a.prop("backgroundAttachment"),bgGradient:a.gradients("backgroundImage"),bgClip:{transform:f.bgClip}};Object.assign(hr,{bgImage:hr.backgroundImage,bgImg:hr.backgroundImage});var b={border:a.borders("border"),borderWidth:a.borderWidths("borderWidth"),borderStyle:a.borderStyles("borderStyle"),borderColor:a.colors("borderColor"),borderRadius:a.radii("borderRadius"),borderTop:a.borders("borderTop"),borderBlockStart:a.borders("borderBlockStart"),borderTopLeftRadius:a.radii("borderTopLeftRadius"),borderStartStartRadius:a.logical({scale:"radii",property:{ltr:"borderTopLeftRadius",rtl:"borderTopRightRadius"}}),borderEndStartRadius:a.logical({scale:"radii",property:{ltr:"borderBottomLeftRadius",rtl:"borderBottomRightRadius"}}),borderTopRightRadius:a.radii("borderTopRightRadius"),borderStartEndRadius:a.logical({scale:"radii",property:{ltr:"borderTopRightRadius",rtl:"borderTopLeftRadius"}}),borderEndEndRadius:a.logical({scale:"radii",property:{ltr:"borderBottomRightRadius",rtl:"borderBottomLeftRadius"}}),borderRight:a.borders("borderRight"),borderInlineEnd:a.borders("borderInlineEnd"),borderBottom:a.borders("borderBottom"),borderBlockEnd:a.borders("borderBlockEnd"),borderBottomLeftRadius:a.radii("borderBottomLeftRadius"),borderBottomRightRadius:a.radii("borderBottomRightRadius"),borderLeft:a.borders("borderLeft"),borderInlineStart:{property:"borderInlineStart",scale:"borders"},borderInlineStartRadius:a.logical({scale:"radii",property:{ltr:["borderTopLeftRadius","borderBottomLeftRadius"],rtl:["borderTopRightRadius","borderBottomRightRadius"]}}),borderInlineEndRadius:a.logical({scale:"radii",property:{ltr:["borderTopRightRadius","borderBottomRightRadius"],rtl:["borderTopLeftRadius","borderBottomLeftRadius"]}}),borderX:a.borders(["borderLeft","borderRight"]),borderInline:a.borders("borderInline"),borderY:a.borders(["borderTop","borderBottom"]),borderBlock:a.borders("borderBlock"),borderTopWidth:a.borderWidths("borderTopWidth"),borderBlockStartWidth:a.borderWidths("borderBlockStartWidth"),borderTopColor:a.colors("borderTopColor"),borderBlockStartColor:a.colors("borderBlockStartColor"),borderTopStyle:a.borderStyles("borderTopStyle"),borderBlockStartStyle:a.borderStyles("borderBlockStartStyle"),borderBottomWidth:a.borderWidths("borderBottomWidth"),borderBlockEndWidth:a.borderWidths("borderBlockEndWidth"),borderBottomColor:a.colors("borderBottomColor"),borderBlockEndColor:a.colors("borderBlockEndColor"),borderBottomStyle:a.borderStyles("borderBottomStyle"),borderBlockEndStyle:a.borderStyles("borderBlockEndStyle"),borderLeftWidth:a.borderWidths("borderLeftWidth"),borderInlineStartWidth:a.borderWidths("borderInlineStartWidth"),borderLeftColor:a.colors("borderLeftColor"),borderInlineStartColor:a.colors("borderInlineStartColor"),borderLeftStyle:a.borderStyles("borderLeftStyle"),borderInlineStartStyle:a.borderStyles("borderInlineStartStyle"),borderRightWidth:a.borderWidths("borderRightWidth"),borderInlineEndWidth:a.borderWidths("borderInlineEndWidth"),borderRightColor:a.colors("borderRightColor"),borderInlineEndColor:a.colors("borderInlineEndColor"),borderRightStyle:a.borderStyles("borderRightStyle"),borderInlineEndStyle:a.borderStyles("borderInlineEndStyle"),borderTopRadius:a.radii(["borderTopLeftRadius","borderTopRightRadius"]),borderBottomRadius:a.radii(["borderBottomLeftRadius","borderBottomRightRadius"]),borderLeftRadius:a.radii(["borderTopLeftRadius","borderBottomLeftRadius"]),borderRightRadius:a.radii(["borderTopRightRadius","borderBottomRightRadius"])};Object.assign(b,{rounded:b.borderRadius,roundedTop:b.borderTopRadius,roundedTopLeft:b.borderTopLeftRadius,roundedTopRight:b.borderTopRightRadius,roundedTopStart:b.borderStartStartRadius,roundedTopEnd:b.borderStartEndRadius,roundedBottom:b.borderBottomRadius,roundedBottomLeft:b.borderBottomLeftRadius,roundedBottomRight:b.borderBottomRightRadius,roundedBottomStart:b.borderEndStartRadius,roundedBottomEnd:b.borderEndEndRadius,roundedLeft:b.borderLeftRadius,roundedRight:b.borderRightRadius,roundedStart:b.borderInlineStartRadius,roundedEnd:b.borderInlineEndRadius,borderStart:b.borderInlineStart,borderEnd:b.borderInlineEnd,borderTopStartRadius:b.borderStartStartRadius,borderTopEndRadius:b.borderStartEndRadius,borderBottomStartRadius:b.borderEndStartRadius,borderBottomEndRadius:b.borderEndEndRadius,borderStartRadius:b.borderInlineStartRadius,borderEndRadius:b.borderInlineEndRadius,borderStartWidth:b.borderInlineStartWidth,borderEndWidth:b.borderInlineEndWidth,borderStartColor:b.borderInlineStartColor,borderEndColor:b.borderInlineEndColor,borderStartStyle:b.borderInlineStartStyle,borderEndStyle:b.borderInlineEndStyle});var hn={color:a.colors("color"),textColor:a.colors("color"),fill:a.colors("fill"),stroke:a.colors("stroke")},Xr={boxShadow:a.shadows("boxShadow"),mixBlendMode:!0,blendMode:a.prop("mixBlendMode"),backgroundBlendMode:!0,bgBlendMode:a.prop("backgroundBlendMode"),opacity:!0};Object.assign(Xr,{shadow:Xr.boxShadow});var yn={filter:{transform:f.filter},blur:a.blur("--chakra-blur"),brightness:a.propT("--chakra-brightness",f.brightness),contrast:a.propT("--chakra-contrast",f.contrast),hueRotate:a.propT("--chakra-hue-rotate",f.hueRotate),invert:a.propT("--chakra-invert",f.invert),saturate:a.propT("--chakra-saturate",f.saturate),dropShadow:a.propT("--chakra-drop-shadow",f.dropShadow),backdropFilter:{transform:f.backdropFilter},backdropBlur:a.blur("--chakra-backdrop-blur"),backdropBrightness:a.propT("--chakra-backdrop-brightness",f.brightness),backdropContrast:a.propT("--chakra-backdrop-contrast",f.contrast),backdropHueRotate:a.propT("--chakra-backdrop-hue-rotate",f.hueRotate),backdropInvert:a.propT("--chakra-backdrop-invert",f.invert),backdropSaturate:a.propT("--chakra-backdrop-saturate",f.saturate)},yr={alignItems:!0,alignContent:!0,justifyItems:!0,justifyContent:!0,flexWrap:!0,flexDirection:{transform:f.flexDirection},flex:!0,flexFlow:!0,flexGrow:!0,flexShrink:!0,flexBasis:a.sizes("flexBasis"),justifySelf:!0,alignSelf:!0,order:!0,placeItems:!0,placeContent:!0,placeSelf:!0,gap:a.space("gap"),rowGap:a.space("rowGap"),columnGap:a.space("columnGap")};Object.assign(yr,{flexDir:yr.flexDirection});var Ue={gridGap:a.space("gridGap"),gridColumnGap:a.space("gridColumnGap"),gridRowGap:a.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},vn={appearance:!0,cursor:!0,resize:!0,userSelect:!0,pointerEvents:!0,outline:{transform:f.outline},outlineOffset:!0,outlineColor:a.colors("outlineColor")},T={width:a.sizesT("width"),inlineSize:a.sizesT("inlineSize"),height:a.sizes("height"),blockSize:a.sizes("blockSize"),boxSize:a.sizes(["width","height"]),minWidth:a.sizes("minWidth"),minInlineSize:a.sizes("minInlineSize"),minHeight:a.sizes("minHeight"),minBlockSize:a.sizes("minBlockSize"),maxWidth:a.sizes("maxWidth"),maxInlineSize:a.sizes("maxInlineSize"),maxHeight:a.sizes("maxHeight"),maxBlockSize:a.sizes("maxBlockSize"),overflow:!0,overflowX:!0,overflowY:!0,overscrollBehavior:!0,overscrollBehaviorX:!0,overscrollBehaviorY:!0,display:!0,aspectRatio:!0,hideFrom:{scale:"breakpoints",transform:(r,e)=>{var t,o,n;return {[`@media screen and (min-width: ${(n=(o=(t=e.__breakpoints)==null?void 0:t.get(r))==null?void 0:o.minW)!=null?n:r})`]:{display:"none"}}}},hideBelow:{scale:"breakpoints",transform:(r,e)=>{var t,o,n;return {[`@media screen and (max-width: ${(n=(o=(t=e.__breakpoints)==null?void 0:t.get(r))==null?void 0:o._minW)!=null?n:r})`]:{display:"none"}}}},verticalAlign:!0,boxSizing:!0,boxDecorationBreak:!0,float:a.propT("float",f.float),objectFit:!0,objectPosition:!0,visibility:!0,isolation:!0};Object.assign(T,{w:T.width,h:T.height,minW:T.minWidth,maxW:T.maxWidth,minH:T.minHeight,maxH:T.maxHeight,overscroll:T.overscrollBehavior,overscrollX:T.overscrollBehaviorX,overscrollY:T.overscrollBehaviorY});var _n={listStyleType:!0,listStylePosition:!0,listStylePos:a.prop("listStylePosition"),listStyleImage:!0,listStyleImg:a.prop("listStyleImage")};function Sn(r,e,t,o){let n=typeof e=="string"?e.split("."):[e];for(o=0;o<n.length&&r;o+=1)r=r[n[o]];return r===void 0?t:r}var kn=r=>{let e=new WeakMap;return (o,n,i,l)=>{if(typeof o=="undefined")return r(o,n,i);e.has(o)||e.set(o,new Map);let s=e.get(o);if(s.has(n))return s.get(n);let c=r(o,n,i,l);return s.set(n,c),c}},xn=kn(Sn),Tn={border:"0px",clip:"rect(0, 0, 0, 0)",width:"1px",height:"1px",margin:"-1px",padding:"0px",overflow:"hidden",whiteSpace:"nowrap",position:"absolute"},wn={position:"static",width:"auto",height:"auto",clip:"auto",padding:"0",margin:"0",overflow:"visible",whiteSpace:"normal"},Hr=(r,e,t)=>{let o={},n=xn(r,e,{});for(let i in n)i in t&&t[i]!=null||(o[i]=n[i]);return o},Cn={srOnly:{transform(r){return r===!0?Tn:r==="focusable"?wn:{}}},layerStyle:{processResult:!0,transform:(r,e,t)=>Hr(e,`layerStyles.${r}`,t)},textStyle:{processResult:!0,transform:(r,e,t)=>Hr(e,`textStyles.${r}`,t)},apply:{processResult:!0,transform:(r,e,t)=>Hr(e,r,t)}},rr={position:!0,pos:a.prop("position"),zIndex:a.prop("zIndex","zIndices"),inset:a.spaceT("inset"),insetX:a.spaceT(["left","right"]),insetInline:a.spaceT("insetInline"),insetY:a.spaceT(["top","bottom"]),insetBlock:a.spaceT("insetBlock"),top:a.spaceT("top"),insetBlockStart:a.spaceT("insetBlockStart"),bottom:a.spaceT("bottom"),insetBlockEnd:a.spaceT("insetBlockEnd"),left:a.spaceT("left"),insetInlineStart:a.logical({scale:"space",property:{ltr:"left",rtl:"right"}}),right:a.spaceT("right"),insetInlineEnd:a.logical({scale:"space",property:{ltr:"right",rtl:"left"}})};Object.assign(rr,{insetStart:rr.insetInlineStart,insetEnd:rr.insetInlineEnd});var An={ring:{transform:f.ring},ringColor:a.colors("--chakra-ring-color"),ringOffset:a.prop("--chakra-ring-offset-width"),ringOffsetColor:a.colors("--chakra-ring-offset-color"),ringInset:a.prop("--chakra-ring-inset")},h={margin:a.spaceT("margin"),marginTop:a.spaceT("marginTop"),marginBlockStart:a.spaceT("marginBlockStart"),marginRight:a.spaceT("marginRight"),marginInlineEnd:a.spaceT("marginInlineEnd"),marginBottom:a.spaceT("marginBottom"),marginBlockEnd:a.spaceT("marginBlockEnd"),marginLeft:a.spaceT("marginLeft"),marginInlineStart:a.spaceT("marginInlineStart"),marginX:a.spaceT(["marginInlineStart","marginInlineEnd"]),marginInline:a.spaceT("marginInline"),marginY:a.spaceT(["marginTop","marginBottom"]),marginBlock:a.spaceT("marginBlock"),padding:a.space("padding"),paddingTop:a.space("paddingTop"),paddingBlockStart:a.space("paddingBlockStart"),paddingRight:a.space("paddingRight"),paddingBottom:a.space("paddingBottom"),paddingBlockEnd:a.space("paddingBlockEnd"),paddingLeft:a.space("paddingLeft"),paddingInlineStart:a.space("paddingInlineStart"),paddingInlineEnd:a.space("paddingInlineEnd"),paddingX:a.space(["paddingInlineStart","paddingInlineEnd"]),paddingInline:a.space("paddingInline"),paddingY:a.space(["paddingTop","paddingBottom"]),paddingBlock:a.space("paddingBlock")};Object.assign(h,{m:h.margin,mt:h.marginTop,mr:h.marginRight,me:h.marginInlineEnd,marginEnd:h.marginInlineEnd,mb:h.marginBottom,ml:h.marginLeft,ms:h.marginInlineStart,marginStart:h.marginInlineStart,mx:h.marginX,my:h.marginY,p:h.padding,pt:h.paddingTop,py:h.paddingY,px:h.paddingX,pb:h.paddingBottom,pl:h.paddingLeft,ps:h.paddingInlineStart,paddingStart:h.paddingInlineStart,pr:h.paddingRight,pe:h.paddingInlineEnd,paddingEnd:h.paddingInlineEnd});var Rn={textDecorationColor:a.colors("textDecorationColor"),textDecoration:!0,textDecor:{property:"textDecoration"},textDecorationLine:!0,textDecorationStyle:!0,textDecorationThickness:!0,textUnderlineOffset:!0,textShadow:a.shadows("textShadow")},In={clipPath:!0,transform:a.propT("transform",f.transform),transformOrigin:!0,translateX:a.spaceT("--chakra-translate-x"),translateY:a.spaceT("--chakra-translate-y"),skewX:a.degreeT("--chakra-skew-x"),skewY:a.degreeT("--chakra-skew-y"),scaleX:a.prop("--chakra-scale-x"),scaleY:a.prop("--chakra-scale-y"),scale:a.prop(["--chakra-scale-x","--chakra-scale-y"]),rotate:a.degreeT("--chakra-rotate")},$n={transition:!0,transitionDelay:!0,animation:!0,willChange:!0,transitionDuration:a.prop("transitionDuration","transition.duration"),transitionProperty:a.prop("transitionProperty","transition.property"),transitionTimingFunction:a.prop("transitionTimingFunction","transition.easing")},zn={fontFamily:a.prop("fontFamily","fonts"),fontSize:a.prop("fontSize","fontSizes",f.px),fontWeight:a.prop("fontWeight","fontWeights"),lineHeight:a.prop("lineHeight","lineHeights"),letterSpacing:a.prop("letterSpacing","letterSpacings"),textAlign:!0,fontStyle:!0,textIndent:!0,wordBreak:!0,overflowWrap:!0,textOverflow:!0,textTransform:!0,whiteSpace:!0,isTruncated:{transform(r){if(r===!0)return {overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}}},noOfLines:{static:{overflow:"hidden",textOverflow:"ellipsis",display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:"var(--chakra-line-clamp)"},property:"--chakra-line-clamp"}},En={scrollBehavior:!0,scrollSnapAlign:!0,scrollSnapStop:!0,scrollSnapType:!0,scrollMargin:a.spaceT("scrollMargin"),scrollMarginTop:a.spaceT("scrollMarginTop"),scrollMarginBottom:a.spaceT("scrollMarginBottom"),scrollMarginLeft:a.spaceT("scrollMarginLeft"),scrollMarginRight:a.spaceT("scrollMarginRight"),scrollMarginX:a.spaceT(["scrollMarginLeft","scrollMarginRight"]),scrollMarginY:a.spaceT(["scrollMarginTop","scrollMarginBottom"]),scrollPadding:a.spaceT("scrollPadding"),scrollPaddingTop:a.spaceT("scrollPaddingTop"),scrollPaddingBottom:a.spaceT("scrollPaddingBottom"),scrollPaddingLeft:a.spaceT("scrollPaddingLeft"),scrollPaddingRight:a.spaceT("scrollPaddingRight"),scrollPaddingX:a.spaceT(["scrollPaddingLeft","scrollPaddingRight"]),scrollPaddingY:a.spaceT(["scrollPaddingTop","scrollPaddingBottom"])};function Xe(r){return sr(r)&&r.reference?r.reference:String(r)}var vr=(r,...e)=>e.map(Xe).join(` ${r} `).replace(/calc/g,""),Le=(...r)=>`calc(${vr("+",...r)})`,Ne=(...r)=>`calc(${vr("-",...r)})`,Yr=(...r)=>`calc(${vr("*",...r)})`,He=(...r)=>`calc(${vr("/",...r)})`,Ge=r=>{let e=Xe(r);return e!=null&&!Number.isNaN(parseFloat(e))?String(e).startsWith("-")?String(e).slice(1):`-${e}`:Yr(e,-1)},J=Object.assign(r=>({add:(...e)=>J(Le(r,...e)),subtract:(...e)=>J(Ne(r,...e)),multiply:(...e)=>J(Yr(r,...e)),divide:(...e)=>J(He(r,...e)),negate:()=>J(Ge(r)),toString:()=>r.toString()}),{add:Le,subtract:Ne,multiply:Yr,divide:He,negate:Ge});function On(r,e="-"){return r.replace(/\s+/g,e)}function Bn(r){let e=On(r.toString());return Mn(jn(e))}function jn(r){return r.includes("\\.")?r:!Number.isInteger(parseFloat(r.toString()))?r.replace(".","\\."):r}function Mn(r){return r.replace(/[!-,/:-@[-^`{-~]/g,"\\$&")}function Pn(r,e=""){return [e,r].filter(Boolean).join("-")}function Wn(r,e){return `var(${r}${e?`, ${e}`:""})`}function Fn(r,e=""){return Bn(`--${Pn(r,e)}`)}function g(r,e,t){let o=Fn(r,t);return {variable:o,reference:Wn(o,e)}}var S={hover:(r,e)=>`${r}:hover ${e}, ${r}[data-hover] ${e}`,focus:(r,e)=>`${r}:focus ${e}, ${r}[data-focus] ${e}`,focusVisible:(r,e)=>`${r}:focus-visible ${e}`,focusWithin:(r,e)=>`${r}:focus-within ${e}`,active:(r,e)=>`${r}:active ${e}, ${r}[data-active] ${e}`,disabled:(r,e)=>`${r}:disabled ${e}, ${r}[data-disabled] ${e}`,invalid:(r,e)=>`${r}:invalid ${e}, ${r}[data-invalid] ${e}`,checked:(r,e)=>`${r}:checked ${e}, ${r}[data-checked] ${e}`,indeterminate:(r,e)=>`${r}:indeterminate ${e}, ${r}[aria-checked=mixed] ${e}, ${r}[data-indeterminate] ${e}`,readOnly:(r,e)=>`${r}:read-only ${e}, ${r}[readonly] ${e}, ${r}[data-read-only] ${e}`,expanded:(r,e)=>`${r}:read-only ${e}, ${r}[aria-expanded=true] ${e}, ${r}[data-expanded] ${e}`,placeholderShown:(r,e)=>`${r}:placeholder-shown ${e}`},E=r=>Ye(e=>r(e,"&"),"[role=group]","[data-group]",".group"),$=r=>Ye(e=>r(e,"~ &"),"[data-peer]",".peer"),Ye=(r,...e)=>e.map(r).join(", "),Ke={_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",_firstLetter:"&::first-letter",_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:E(S.hover),_peerHover:$(S.hover),_groupFocus:E(S.focus),_peerFocus:$(S.focus),_groupFocusVisible:E(S.focusVisible),_peerFocusVisible:$(S.focusVisible),_groupActive:E(S.active),_peerActive:$(S.active),_groupDisabled:E(S.disabled),_peerDisabled:$(S.disabled),_groupInvalid:E(S.invalid),_peerInvalid:$(S.invalid),_groupChecked:E(S.checked),_peerChecked:$(S.checked),_groupFocusWithin:E(S.focusWithin),_peerFocusWithin:$(S.focusWithin),_peerPlaceholderShown:$(S.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]",_horizontal:"&[data-orientation=horizontal]",_vertical:"&[data-orientation=vertical]"},Dn=Object.keys(Ke);var Ze=(0, Qe.default)({},hr,b,hn,yr,T,yn,An,vn,Ue,Cn,rr,Xr,h,En,zn,Rn,In,_n,$n);Object.assign({},h,T,yr,Ue,rr);[...Object.keys(Ze),...Dn];({...Ze,...Ke});function v(r){return {definePartsStyle(e){return e},defineMultiStyleConfig(e){return {parts:r,...e}}}}function M(r,e,t){return Math.min(Math.max(r,t),e)}var Qr=class extends Error{constructor(e){super(`Failed to parse color: "${e}"`);}},er=Qr;function Zr(r){if(typeof r!="string")throw new er(r);if(r.trim().toLowerCase()==="transparent")return [0,0,0,0];let e=r.trim();e=Zn.test(r)?Un(r):r;let t=Xn.exec(e);if(t){let l=Array.from(t).slice(1);return [...l.slice(0,3).map(s=>parseInt(tr(s,2),16)),parseInt(tr(l[3]||"f",2),16)/255]}let o=Yn.exec(e);if(o){let l=Array.from(o).slice(1);return [...l.slice(0,3).map(s=>parseInt(s,16)),parseInt(l[3]||"ff",16)/255]}let n=Kn.exec(e);if(n){let l=Array.from(n).slice(1);return [...l.slice(0,3).map(s=>parseInt(s,10)),parseFloat(l[3]||"1")]}let i=Qn.exec(e);if(i){let[l,s,c,d]=Array.from(i).slice(1).map(parseFloat);if(M(0,100,s)!==s)throw new er(r);if(M(0,100,c)!==c)throw new er(r);return [...Jn(l,s,c),Number.isNaN(d)?1:d]}throw new er(r)}function Gn(r){let e=5381,t=r.length;for(;t;)e=e*33^r.charCodeAt(--t);return (e>>>0)%2341}var Je=r=>parseInt(r.replace(/_/g,""),36),qn="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((r,e)=>{let t=Je(e.substring(0,3)),o=Je(e.substring(3)).toString(16),n="";for(let i=0;i<6-o.length;i++)n+="0";return r[t]=`${n}${o}`,r},{});function Un(r){let e=r.toLowerCase().trim(),t=qn[Gn(e)];if(!t)throw new er(r);return `#${t}`}var tr=(r,e)=>Array.from(Array(e)).map(()=>r).join(""),Xn=new RegExp(`^#${tr("([a-f0-9])",3)}([a-f0-9])?$`,"i"),Yn=new RegExp(`^#${tr("([a-f0-9]{2})",3)}([a-f0-9]{2})?$`,"i"),Kn=new RegExp(`^rgba?\\(\\s*(\\d+)\\s*${tr(",\\s*(\\d+)\\s*",2)}(?:,\\s*([\\d.]+))?\\s*\\)$`,"i"),Qn=/^hsla?\(\s*([\d.]+)\s*,\s*([\d.]+)%\s*,\s*([\d.]+)%(?:\s*,\s*([\d.]+))?\s*\)$/i,Zn=/^[a-z]+$/i,rt=r=>Math.round(r*255),Jn=(r,e,t)=>{let o=t/100;if(e===0)return [o,o,o].map(rt);let n=(r%360+360)%360/60,i=(1-Math.abs(2*o-1))*(e/100),l=i*(1-Math.abs(n%2-1)),s=0,c=0,d=0;n>=0&&n<1?(s=i,c=l):n>=1&&n<2?(s=l,c=i):n>=2&&n<3?(c=i,d=l):n>=3&&n<4?(c=l,d=i):n>=4&&n<5?(s=l,d=i):n>=5&&n<6&&(s=i,d=l);let p=o-i/2,y=s+p,_=c+p,k=d+p;return [y,_,k].map(rt)};function ri(r,e,t,o){return `rgba(${M(0,255,r).toFixed()}, ${M(0,255,e).toFixed()}, ${M(0,255,t).toFixed()}, ${parseFloat(M(0,1,o).toFixed(3))})`}function et(r,e){let[t,o,n,i]=Zr(r);return ri(t,o,n,i-e)}function tt(r){let[e,t,o,n]=Zr(r),i=l=>{let s=M(0,255,l).toString(16);return s.length===1?`0${s}`:s};return `#${i(e)}${i(t)}${i(o)}${n<1?i(Math.round(n*255)):""}`}function ei(r,e,t,o,n){for(e=e.split?e.split("."):e,o=0;o<e.length;o++)r=r?r[e[o]]:n;return r===n?t:r}var P=(r,e,t)=>{let o=ei(r,`colors.${e}`,e);try{return tt(o),o}catch{return t!=null?t:"#000000"}};var H=(r,e)=>t=>{let o=P(t,r);return et(o,1-e)};function _r(r,e){return t=>t.colorMode==="dark"?e:r}function at(r){return !Number.isInteger(parseFloat(r.toString()))}function ti(r,e="-"){return r.replace(/\s+/g,e)}function ot(r){let e=ti(r.toString());return e.includes("\\.")?r:at(r)?e.replace(".","\\."):r}function nt(r,e=""){return [e,ot(r)].filter(Boolean).join("-")}function it(r,e){return `var(${ot(r)}${e?`, ${e}`:""})`}function st(r,e=""){return `--${nt(r,e)}`}function W(r,e){let t=st(r,e==null?void 0:e.prefix);return {variable:t,reference:it(t,ai(e==null?void 0:e.fallback))}}function ai(r){return typeof r=="string"?r:r==null?void 0:r.reference}function lt(r){return typeof r=="function"}function z(r,...e){return lt(r)?r(...e):r}var{definePartsStyle:ht,defineMultiStyleConfig:ni}=v(Cr.keys),ct=g("alert-fg"),dt=g("alert-bg"),ae=g("alert-border");function ii(r){let{theme:e,colorScheme:t}=r,o=H(`${t}.600`,.16)(e);return {light:`colors.${t}.100`,dark:o}}function si(r){let{theme:e,colorScheme:t}=r,o=H(`${t}.300`,.16)(e);return {light:`colors.${t}.200`,dark:o}}var li=ht(r=>{let{colorScheme:e}=r,t=ii(r),o=si(r);return {container:{borderWidth:"1px",[ct.variable]:`colors.${e}.500`,[dt.variable]:t.light,[ae.variable]:o.light,_dark:{[ct.variable]:`colors.${e}.500`,[dt.variable]:t.dark,[ae.variable]:o.dark}}}}),ci=ht(()=>({container:{borderColor:ae.reference,borderRadius:"md",fontSize:"sm"},icon:{w:4,h:5},title:{fontSize:"sm",fontWeight:"medium"},description:{color:"muted"}})),di=ni({defaultProps:{size:"sm",colorScheme:"primary"},baseStyle:ci,variants:{subtle:li}}),yt=r=>{let{colorScheme:e,colorMode:t}=r,o=`${e}.500`,n=`${e}.600`;return e==="neutral"&&t==="dark"?(o="white",n="whiteAlpha.800"):e==="neutral"&&(o="black",n="blackAlpha.800"),{borderWidth:"1px",borderColor:o,boxShadow:"xs",bg:o,color:"white",fontWeight:"medium",_hover:{borderColor:n,bg:n},_dark:{boxShadow:"dark-xs"}}},ui=r=>({fontWeight:"medium",_checked:{bg:"blackAlpha.100"},_dark:{_checked:{bg:"whiteAlpha.100"}}}),fi=r=>{let{colorScheme:e}=r;return e==="gray"?{fontWeight:"medium"}:{fontWeight:"medium",color:`${e}.500`,_hover:{color:`${e}.400`,bg:"blackAlpha.50"},_dark:{color:`${e}.500`,_hover:{color:`${e}.400`,bg:"whiteAlpha.50"}}}},pi=r=>yt({...r,colorScheme:"primary"}),bi={borderWidth:"1px",borderColor:"gray.200",boxShadow:"xs",bg:"white",fontWeight:"medium",color:"inherit",_hover:{borderColor:"gray.300",bg:"gray.50"},_dark:{boxShadow:"dark-xs",borderColor:"gray.600",bg:"gray.700",_hover:{borderColor:"gray.500",bg:"gray.600"}}},gi={borderWidth:"1px",borderColor:"gray.200",bg:"gray.200",color:"black",fontWeight:"medium",_hover:{borderColor:"gray.300",bg:"gray.200"},_dark:{borderColor:"gray.700",bg:"gray.700",color:"white",_hover:{borderColor:"gray.600"}}},mi={lg:{h:"8",minW:"10",fontSize:"md",px:"4",rounded:"6"},md:{h:"7",minW:"8",fontSize:"sm",px:"3",rounded:"4"},sm:{h:"6",minW:"6",fontSize:"sm",px:"2",rounded:"3"},xs:{h:"5",minW:"4",fontSize:"xs",px:"1",rounded:"3"}},hi={defaultProps:{size:"md",variant:"secondary"},variants:{solid:yt,outline:fi,ghost:ui,primary:pi,secondary:bi,tertiary:gi},sizes:mi},vt=u("card").parts("container","header","title","subtitle","body","footer"),{definePartsStyle:wr}=v(vt.keys),yi=g("card-bg"),Jr=g("card-padding"),vi=g("card-shadow"),re=g("card-radius"),_i=g("card-border-width","0"),Sr=g("card-border-color"),Si={sm:wr({container:{[re.variable]:"radii.base",[Jr.variable]:"space.3"}}),md:wr({container:{[re.variable]:"radii.md",[Jr.variable]:"space.4"}}),lg:wr({container:{[re.variable]:"radii.xl",[Jr.variable]:"space.6"}})},ut=wr(r=>{let{isHoverable:e}=r;return {container:{[Sr.variable]:"colors.blackAlpha.200",[_i.variable]:"1px",[vi.variable]:"shadows.sm",_hover:e?{[Sr.variable]:"colors.blackAlpha.300"}:{},_dark:{[yi.variable]:"colors.gray.700",[Sr.variable]:"colors.whiteAlpha.50",_hover:e?{[Sr.variable]:"colors.whiteAlpha.300"}:{}}}}}),ki={parts:vt.keys,defaultProps:{variant:"elevated"},variants:{elevated:ut,shadow:ut},sizes:Si},xi={baseStyle:r=>{let{colorScheme:e}=r;return {control:{_checked:{borderColor:`${e}.500`,bg:`${e}.500`,color:"white"}}}}},Ti={size:"sm"},wi={defaultProps:Ti},{defineMultiStyleConfig:Ci,definePartsStyle:Ai}=v(Ar.keys),ft=g("drawer-bg"),Ri={bg:"blackAlpha.50"},Ii=r=>({borderRadius:"md",margin:"8px",borderWidth:"1px",borderColor:"chakra-border-color",backdropFilter:"blur(10px) contrast(100%) saturate(100%) brightness(200%)",[ft.variable]:"colors.whiteAlpha.800",fontSize:"md",_dark:{backdropFilter:"blur(10px) saturate(190%) contrast(70%) brightness(80%)",[ft.variable]:"colors.grayAlpha.700"}}),$i={px:"4",py:"3",fontSize:"md",fontWeight:"semibold"},zi={position:"absolute",top:"2",insetEnd:"3"},Ei=r=>({px:"4",py:"2"}),Oi={px:"3",py:"3"},Bi=Ai(r=>({overlay:Ri,dialog:z(Ii,r),header:$i,closeButton:zi,body:z(Ei,r),footer:Oi})),ji=Ci({baseStyle:Bi}),Mi=ji,Pi={defaultProps:{size:"lg"}},ee=g("kbd-bg"),Wi={[ee.variable]:"colors.blackAlpha.300",_dark:{[ee.variable]:"colors.whiteAlpha.300"},bg:ee.reference,borderRadius:"md",borderWidth:"0",borderBottomWidth:"0",padding:"1px",minW:"20px",textAlign:"center",":last-child":{mr:0}},Fi={defaultProps:{variant:"solid"},baseStyle:Wi},Di=Fi,{defineMultiStyleConfig:Vi,definePartsStyle:Li}=v(Ir.keys),w=g("menu-bg"),te=g("menu-shadow"),Ni={[w.variable]:"colors.whiteAlpha.500",[te.variable]:"shadows.lg",backdropFilter:"blur(10px) contrast(100%) saturate(190%)",_dark:{[w.variable]:"colors.grayAlpha.700",[te.variable]:"shadows.dark-lg",backdropFilter:"blur(10px) saturate(190%) contrast(70%) brightness(80%)"},py:"1",borderRadius:"md",borderWidth:"1px",bg:w.reference,boxShadow:te.reference},Hi={py:"1.5",px:"3",mx:"1",rounded:"md",fontSize:"sm",width:"calc(100% - 8px)",boxSizing:"border-box",bg:"transparent",_hover:{bg:w.reference,[w.variable]:"colors.grayAlpha.300"},_focus:{bg:w.reference,[w.variable]:"colors.grayAlpha.300"},_active:{bg:w.reference,[w.variable]:"colors.grayAlpha.300"},_expanded:{bg:w.reference,[w.variable]:"colors.grayAlpha.300"}},Gi={mx:4,my:2,fontWeight:"semibold",fontSize:"sm"},qi={transitionProperty:"common",transitionDuration:"normal"},Ui={my:"1"},Xi=Li({button:qi,list:Ni,item:Hi,groupTitle:Gi,divider:Ui}),Yi=Vi({baseStyle:Xi}),Ki=Yi,{defineMultiStyleConfig:Qi,definePartsStyle:Zi}=v($r.keys),Ji={bg:"blackAlpha.50"},rs=r=>({bg:"whiteAlpha.800",backdropFilter:"blur(10px) contrast(100%) saturate(100%) brightness(200%)",fontSize:"md",_dark:{bg:"grayAlpha.700",boxShadow:"dark-lg",backdropFilter:"blur(10px) saturate(190%) contrast(70%) brightness(80%)"}}),es={px:"4",py:"3",fontSize:"md",fontWeight:"semibold"},ts={position:"absolute",top:"2",insetEnd:"3"},as=r=>({px:"4",py:"2"}),os={px:"3",py:"3"},ns=Zi(r=>({overlay:Ji,dialog:z(rs,r),header:es,closeButton:ts,body:z(as,r),footer:os})),is=Qi({baseStyle:ns,defaultProps:{size:"md"}}),ss=is,{defineMultiStyleConfig:ls}=v(Er.keys),cs=ls({defaultProps:{colorScheme:"primary"},baseStyle:r=>{let{colorScheme:e}=r;return {track:{borderRadius:"md",bg:"gray.200",_dark:{bg:"gray.800"}},filledTrack:{bg:`${e}.500`}}}}),{defineMultiStyleConfig:ds,definePartsStyle:us}=v(zr.keys),kr=g("popper-bg"),fs=g("popper-arrow-bg"),pt=g("popper-arrow-shadow-color"),ps={[kr.variable]:"colors.whiteAlpha.800",bg:kr.reference,[fs.variable]:kr.reference,[pt.variable]:"colors.gray.200",backdropFilter:"blur(10px) contrast(100%) saturate(100%) brightness(200%)",_dark:{[kr.variable]:"colors.grayAlpha.700",[pt.variable]:"colors.whiteAlpha.300",backdropFilter:"blur(10px) saturate(190%) contrast(70%) brightness(80%)"}},bs=us(r=>({content:z(ps,r)})),gs=ds({baseStyle:bs,defaultProps:{size:"md"}}),ms=gs,hs={baseStyle:r=>{let{colorScheme:e}=r;return {control:{_checked:{borderColor:`${e}.500`,bg:`${e}.500`,color:"white"}}}}},ys={defaultProps:{colorScheme:"primary"},baseStyle:r=>{let{colorScheme:e}=r;return {filledTrack:{bg:`${e}.500`}}}},{defineMultiStyleConfig:vs,definePartsStyle:_s}=v(Or.keys),ar=W("switch-bg"),Ss=r=>{let{colorScheme:e}=r;return {[ar.variable]:"colors.gray.300",_dark:{[ar.variable]:"colors.whiteAlpha.300"},_checked:{[ar.variable]:`colors.${e}.500`,_dark:{[ar.variable]:`colors.${e}.500`}},bg:ar.reference}},ks={bg:"white",_dark:{bg:"blackAlpha.800",_checked:{bg:"white"}}},xs=_s(r=>({track:Ss(r),thumb:ks})),Ts=vs({baseStyle:xs,defaultProps:{size:"md",colorScheme:"primary"}}),ws=Ts,xr=W("tooltip-bg"),bt=W("tooltip-fg"),Cs=W("popper-arrow-bg"),As=r=>({display:"flex",[xr.variable]:"colors.white",[bt.variable]:"colors.blackAlpha.900",_dark:{[xr.variable]:"colors.gray.700",[bt.variable]:"colors.whiteAlpha.900"},px:"8px",py:"2px",bg:[xr.reference],[Cs.variable]:[xr.reference],borderRadius:"sm",fontWeight:"medium",fontSize:"xs",boxShadow:"md",maxW:"320px",zIndex:"tooltip",borderWidth:"1px"}),Rs={baseStyle:As},{definePartsStyle:Is}=v(Rr.keys);function $s(r){let{focusBorderColor:e,errorBorderColor:t}=r;return {focusBorderColor:e||_r("blue.500","blue.300")(r),errorBorderColor:t||_r("red.500","red.300")(r)}}var gt=g("input-border-radius"),Tr=g("input-height"),mt=g("input-padding"),_t=Is(r=>{let{theme:e}=r,{focusBorderColor:t,errorBorderColor:o}=$s(r);return {field:{border:"1px solid var(--chakra-colors-chakra-border-color)",bg:"inherit",_hover:{borderColor:"gray.300"},_invalid:{borderColor:P(e,o),boxShadow:"none"},_focusVisible:{zIndex:1,borderColor:P(e,t),boxShadow:"none"},_dark:{bg:"gray.900",borderColor:"chakra-border-color",_hover:{borderColor:"whiteAlpha.400"},_invalid:{borderColor:P(e,o)},_focusVisible:{borderColor:P(e,t)}}},addon:{borderColor:"inherit",bg:"gray.100",_dark:{borderColor:"whiteAlpha.50",bg:"whiteAlpha.300"}}}}),St={sm:{field:{[gt.variable]:"radii.sm",[Tr.variable]:"sizes.7"},addon:{[gt.variable]:"radii.sm",[Tr.variable]:"sizes.7"}},md:{field:{[mt.variable]:"space.3",[Tr.variable]:"sizes.9"},addon:{[mt.variable]:"space.3",[Tr.variable]:"sizes.9"}}},kt={defaultProps:{variant:"outline",size:"sm",focusBorderColor:"primary.500"},variants:{outline:_t},sizes:St},zs={baseStyle:{mb:1},variants:{horizontal:{mb:0,marginStart:"0.5rem"}}},oe=kt,Es=kt,Os={defaultProps:{focusBorderColor:"primary.500"},variants:{outline:_t},sizes:St},Bs={defaultProps:{focusBorderColor:"primary.500"},variants:{outline:r=>{var e,t;return (t=(e=oe.variants)==null?void 0:e.outline(r).field)!=null?t:{}}}},js=oe,xt={Alert:di,Button:hi,Card:ki,Checkbox:xi,CloseButton:wi,Drawer:Mi,Heading:Pi,Kbd:Di,Menu:Ki,Modal:ss,Progress:cs,Popover:ms,Radio:hs,Slider:ys,Switch:ws,Tooltip:Rs,Input:oe,PinInput:Os,FormLabel:zs,NumberInput:Es,Select:js,Textarea:Bs};var Ws={black:"#0e1012",primary:{50:"#f6f7fd",100:"#dcdff5",200:"#bec3ed",300:"#9aa1e2",400:"#858edd",500:"#6b75d0",600:"#5a63af",700:"#484f8d",800:"#3d4377",900:"#2c3056"},grayAlpha:{50:"rgba(249, 249, 250, 0.5)",100:"rgba(241, 241, 243, 0.5)",200:"rgba(231, 231, 234, 0.5)",300:"rgba(211, 212, 216, 0.5)",400:"rgba(171, 172, 181, 0.5)",500:"rgba(124, 126, 139, 0.5)",600:"rgba(81, 84, 101, 0.5)",700:"rgba(52, 54, 67, 0.5)",800:"rgba(30, 32, 39, 0.5)",900:"rgba(24, 25, 31, 0.5)"},gray:{50:"#f9f9fa",100:"#f1f1f3",200:"#e7e7ea",300:"#d3d4d8",400:"#abacb5",500:"#7c7e8b",600:"#515465",700:"#343643",800:"#1e2027",900:"#18191f"},purple:{50:"#f9f6fd",100:"#e5daf8",200:"#d3bef4",300:"#b795ec",400:"#a379e7",500:"#8952e0",600:"#7434db",700:"#6023c0",800:"#4f1d9e",900:"#3b1676"},pink:{50:"#fdf5f9",100:"#f8d9e7",200:"#f3b9d3",300:"#eb8db8",400:"#e56ba2",500:"#dc3882",600:"#c4246c",700:"#a01d58",800:"#7d1745",900:"#5d1133"},red:{50:"#fdf6f5",100:"#f8d9d8",200:"#f1b8b4",300:"#e98d87",400:"#e4726c",500:"#dc4a41",600:"#d2140a",700:"#ac0900",800:"#930800",900:"#6d0600"},orange:{50:"#fdfaf6",100:"#f9ebdb",200:"#f1d4b1",300:"#e6b273",400:"#dc9239",500:"#c37b24",600:"#a5681e",700:"#835318",800:"#674113",900:"#553610"},yellow:{50:"#fffefb",100:"#fff8e9",200:"#feecbd",300:"#fddc87",400:"#fbc434",500:"#d2a01e",600:"#a88018",700:"#836413",800:"#624b0e",900:"#513e0c"},green:{50:"#f7fdfb",100:"#d2f2e7",200:"#9fe3cd",300:"#64d2ad",400:"#1dbd88",500:"#0ea371",600:"#0c875e",700:"#096949",800:"#07563c",900:"#064731"},teal:{50:"#f1fcfc",100:"#c0f1f4",200:"#84e4e9",300:"#2dd1da",400:"#22b2ba",500:"#1d979e",600:"#187b80",700:"#125f64",800:"#0f5053",900:"#0d4244"},cyan:{50:"#f4fbfd",100:"#d0eef7",200:"#bae7f3",300:"#a2deee",400:"#53c2e1",500:"#2ab4d9",600:"#24a2c4",700:"#1e86a2",800:"#196e85",900:"#135567"},blue:{50:"#f1f6fd",100:"#cde0f6",200:"#a8c8f0",300:"#7fafe8",400:"#5896e1",500:"#347fdb",600:"#236abf",700:"#1b5192",800:"#164278",900:"#123662"},indigo:{50:"#f8f7fc",100:"#e1ddf5",200:"#c8c0ec",300:"#a89de2",400:"#9789dc",500:"#7f6ed4",600:"#6a58c9",700:"#5546a1",800:"#483c88",900:"#342b62"}},ne=Ws,Fs={heading:"InterVariable, sans-serif",body:"InterVariable, sans-serif"},Ds={xs:"0.75rem",sm:"0.8125rem",md:"0.875rem",lg:"1rem",xl:"1.125rem","2xl":"1.5rem","3xl":"1.875rem","4xl":"2.25rem","5xl":"3rem","6xl":"3.75rem","7xl":"4.5rem","8xl":"6rem","9xl":"8rem"},Vs={},Ls={container:{sm:"30em",md:"48em",lg:"62em",xl:"80em","2xl":"96em"}},Ns=Ls,Hs={xs:"rgb(0 0 0 / 7%) 0px 1px 1px","dark-xs":"rgb(0 0 0 / 7%) 0px 1px 1px",outline:`0 0 0 2px ${H(ne.primary[500],.6)({colors:ne})}`},Gs=Hs,qs={colors:{muted:{default:"gray.500",_dark:"gray.400"}}},Tt=extendTheme({colors:ne,fonts:Fs,fontSizes:Ds,textStyles:Vs,sizes:Ns,components:xt,shadows:Gs,semanticTokens:qs},withDefaultColorScheme({colorScheme:"primary",components:["Radio","Switch","Checkbox"]}));var Zs=extendTheme(Tt,theme),Js=()=>{let[r,e]=useLocalStorage("storybook.theme","1");return q.useEffect(()=>{let t=addons.getChannel(),o=n=>{e(n);};return t.on(A.SET_THEME,o),()=>{t.removeListener(A.SET_THEME,o);}},[e]),r},At=makeDecorator({name:"ChakraProviderDecorator",parameterName:"chakra",skipIfNoParametersOrOptions:!1,wrapper:(r,e,{parameters:t})=>{let {parameters:{saasui:o},globals:{[ce]:n}}=e,i=Js(),l=q.useCallback(()=>{switch(i){case"1":return theme;case"2":return Zs;default:return baseTheme}},[i]),s=(o==null?void 0:o.theme)||l();!!(o!=null&&o.theme);let d=o!=null&&o.theme?typeof o.theme=="function"?o.theme(e):o.theme:s,p=fe(n||(d==null?void 0:d.direction)),y=q.useMemo(()=>extendTheme({direction:p,styles:{global:{body:{minHeight:"var(--chakra-vh)"}}}},d),[d,p]);return jsxs(SaasProvider,{...o,theme:y,children:[jsx(de,{}),r(e)]})}});var tl={decorators:[At]},ud=tl;
|
3
|
+
var ht = require('react');
|
4
|
+
var react = require('@chakra-ui/react');
|
5
|
+
var previewApi = require('@storybook/preview-api');
|
6
|
+
var jsxRuntime = require('react/jsx-runtime');
|
9
7
|
|
10
|
-
|
8
|
+
function _interopNamespace(e) {
|
9
|
+
if (e && e.__esModule) return e;
|
10
|
+
var n = Object.create(null);
|
11
|
+
if (e) {
|
12
|
+
Object.keys(e).forEach(function (k) {
|
13
|
+
if (k !== 'default') {
|
14
|
+
var d = Object.getOwnPropertyDescriptor(e, k);
|
15
|
+
Object.defineProperty(n, k, d.get ? d : {
|
16
|
+
enumerable: true,
|
17
|
+
get: function () { return e[k]; }
|
18
|
+
});
|
19
|
+
}
|
20
|
+
});
|
21
|
+
}
|
22
|
+
n.default = e;
|
23
|
+
return Object.freeze(n);
|
24
|
+
}
|
25
|
+
|
26
|
+
var ht__namespace = /*#__PURE__*/_interopNamespace(ht);
|
27
|
+
|
28
|
+
var Ty=Object.create;var _o=Object.defineProperty,Py=Object.defineProperties,Ay=Object.getOwnPropertyDescriptor,Ey=Object.getOwnPropertyDescriptors,Ry=Object.getOwnPropertyNames,Nn=Object.getOwnPropertySymbols,My=Object.getPrototypeOf,us=Object.prototype.hasOwnProperty,jc=Object.prototype.propertyIsEnumerable;var $n=Math.pow,Dc=(e,t,r)=>t in e?_o(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,f=(e,t)=>{for(var r in t||(t={}))us.call(t,r)&&Dc(e,r,t[r]);if(Nn)for(var r of Nn(t))jc.call(t,r)&&Dc(e,r,t[r]);return e},v=(e,t)=>Py(e,Ey(t));var k=(e,t)=>{var r={};for(var o in e)us.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(e!=null&&Nn)for(var o of Nn(e))t.indexOf(o)<0&&jc.call(e,o)&&(r[o]=e[o]);return r};var Bc=(e,t)=>()=>(e&&(t=e(e=0)),t);var To=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Iy=(e,t)=>{for(var r in t)_o(e,r,{get:t[r],enumerable:!0});},zc=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of Ry(t))!us.call(e,n)&&n!==r&&_o(e,n,{get:()=>t[n],enumerable:!(o=Ay(t,n))||o.enumerable});return e};var zt=(e,t,r)=>(r=e!=null?Ty(My(e)):{},zc(t||!e||!e.__esModule?_o(r,"default",{value:e,enumerable:!0}):r,e)),Vy=e=>zc(_o({},"__esModule",{value:!0}),e);var pu=To(H=>{var ie=typeof Symbol=="function"&&Symbol.for,hs=ie?Symbol.for("react.element"):60103,gs=ie?Symbol.for("react.portal"):60106,Gn=ie?Symbol.for("react.fragment"):60107,Un=ie?Symbol.for("react.strict_mode"):60108,Kn=ie?Symbol.for("react.profiler"):60114,qn=ie?Symbol.for("react.provider"):60109,Yn=ie?Symbol.for("react.context"):60110,ys=ie?Symbol.for("react.async_mode"):60111,Xn=ie?Symbol.for("react.concurrent_mode"):60111,Zn=ie?Symbol.for("react.forward_ref"):60112,Jn=ie?Symbol.for("react.suspense"):60113,Yy=ie?Symbol.for("react.suspense_list"):60120,Qn=ie?Symbol.for("react.memo"):60115,ei=ie?Symbol.for("react.lazy"):60116,Xy=ie?Symbol.for("react.block"):60121,Zy=ie?Symbol.for("react.fundamental"):60117,Jy=ie?Symbol.for("react.responder"):60118,Qy=ie?Symbol.for("react.scope"):60119;function Ve(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case hs:switch(e=e.type,e){case ys:case Xn:case Gn:case Kn:case Un:case Jn:return e;default:switch(e=e&&e.$$typeof,e){case Yn:case Zn:case ei:case Qn:case qn:return e;default:return t}}case gs:return t}}}function mu(e){return Ve(e)===Xn}H.AsyncMode=ys;H.ConcurrentMode=Xn;H.ContextConsumer=Yn;H.ContextProvider=qn;H.Element=hs;H.ForwardRef=Zn;H.Fragment=Gn;H.Lazy=ei;H.Memo=Qn;H.Portal=gs;H.Profiler=Kn;H.StrictMode=Un;H.Suspense=Jn;H.isAsyncMode=function(e){return mu(e)||Ve(e)===ys};H.isConcurrentMode=mu;H.isContextConsumer=function(e){return Ve(e)===Yn};H.isContextProvider=function(e){return Ve(e)===qn};H.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===hs};H.isForwardRef=function(e){return Ve(e)===Zn};H.isFragment=function(e){return Ve(e)===Gn};H.isLazy=function(e){return Ve(e)===ei};H.isMemo=function(e){return Ve(e)===Qn};H.isPortal=function(e){return Ve(e)===gs};H.isProfiler=function(e){return Ve(e)===Kn};H.isStrictMode=function(e){return Ve(e)===Un};H.isSuspense=function(e){return Ve(e)===Jn};H.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===Gn||e===Xn||e===Kn||e===Un||e===Jn||e===Yy||typeof e=="object"&&e!==null&&(e.$$typeof===ei||e.$$typeof===Qn||e.$$typeof===qn||e.$$typeof===Yn||e.$$typeof===Zn||e.$$typeof===Zy||e.$$typeof===Jy||e.$$typeof===Qy||e.$$typeof===Xy)};H.typeOf=Ve;});var gu=To((P5,hu)=>{hu.exports=pu();});var wu=To((A5,Cu)=>{var vs=gu(),ev={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},tv={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},rv={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},xu={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},bs={};bs[vs.ForwardRef]=rv;bs[vs.Memo]=xu;function yu(e){return vs.isMemo(e)?xu:bs[e.$$typeof]||ev}var ov=Object.defineProperty,nv=Object.getOwnPropertyNames,vu=Object.getOwnPropertySymbols,iv=Object.getOwnPropertyDescriptor,av=Object.getPrototypeOf,bu=Object.prototype;function Su(e,t,r){if(typeof t!="string"){if(bu){var o=av(t);o&&o!==bu&&Su(e,o,r);}var n=nv(t);vu&&(n=n.concat(vu(t)));for(var i=yu(e),a=yu(t),s=0;s<n.length;++s){var l=n[s];if(!tv[l]&&!(r&&r[l])&&!(a&&a[l])&&!(i&&i[l])){var c=iv(t,l);try{ov(e,l,c);}catch(u){}}}}return e}Cu.exports=Su;});var Er=To((No,Tr)=>{var xv=200,Fu="__lodash_hash_undefined__",Sv=800,Cv=16,Wu=9007199254740991,Hu="[object Arguments]",wv="[object Array]",kv="[object AsyncFunction]",_v="[object Boolean]",Tv="[object Date]",Pv="[object Error]",Gu="[object Function]",Av="[object GeneratorFunction]",Ev="[object Map]",Rv="[object Number]",Mv="[object Null]",Uu="[object Object]",Iv="[object Proxy]",Vv="[object RegExp]",Ov="[object Set]",Nv="[object String]",$v="[object Undefined]",Lv="[object WeakMap]",Dv="[object ArrayBuffer]",jv="[object DataView]",Bv="[object Float32Array]",zv="[object Float64Array]",Fv="[object Int8Array]",Wv="[object Int16Array]",Hv="[object Int32Array]",Gv="[object Uint8Array]",Uv="[object Uint8ClampedArray]",Kv="[object Uint16Array]",qv="[object Uint32Array]",Yv=/[\\^$.*+?()[\]{}|]/g,Xv=/^\[object .+?Constructor\]$/,Zv=/^(?:0|[1-9]\d*)$/,K={};K[Bv]=K[zv]=K[Fv]=K[Wv]=K[Hv]=K[Gv]=K[Uv]=K[Kv]=K[qv]=!0;K[Hu]=K[wv]=K[Dv]=K[_v]=K[jv]=K[Tv]=K[Pv]=K[Gu]=K[Ev]=K[Rv]=K[Uu]=K[Vv]=K[Ov]=K[Nv]=K[Lv]=!1;var Ku=typeof global=="object"&&global&&global.Object===Object&&global,Jv=typeof self=="object"&&self&&self.Object===Object&&self,Do=Ku||Jv||Function("return this")(),qu=typeof No=="object"&&No&&!No.nodeType&&No,$o=qu&&typeof Tr=="object"&&Tr&&!Tr.nodeType&&Tr,Yu=$o&&$o.exports===qu,Cs=Yu&&Ku.process,Vu=function(){try{var e=$o&&$o.require&&$o.require("util").types;return e||Cs&&Cs.binding&&Cs.binding("util")}catch(t){}}(),Ou=Vu&&Vu.isTypedArray;function Qv(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)}function e0(e,t){for(var r=-1,o=Array(e);++r<e;)o[r]=t(r);return o}function t0(e){return function(t){return e(t)}}function r0(e,t){return e==null?void 0:e[t]}function o0(e,t){return function(r){return e(t(r))}}var n0=Array.prototype,i0=Function.prototype,di=Object.prototype,ws=Do["__core-js_shared__"],fi=i0.toString,it=di.hasOwnProperty,Nu=function(){var e=/[^.]+$/.exec(ws&&ws.keys&&ws.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),Xu=di.toString,a0=fi.call(Object),s0=RegExp("^"+fi.call(it).replace(Yv,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),ci=Yu?Do.Buffer:void 0,$u=Do.Symbol,Lu=Do.Uint8Array,Du=ci?ci.allocUnsafe:void 0,Zu=o0(Object.getPrototypeOf,Object),ju=Object.create,l0=di.propertyIsEnumerable,c0=n0.splice,Ht=$u?$u.toStringTag:void 0,ui=function(){try{var e=Es(Object,"defineProperty");return e({},"",{}),e}catch(t){}}(),u0=ci?ci.isBuffer:void 0,Bu=Math.max,d0=Date.now,Ju=Es(Do,"Map"),Lo=Es(Object,"create"),f0=function(){function e(){}return function(t){if(!Ut(t))return {};if(ju)return ju(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}}();function Gt(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var o=e[t];this.set(o[0],o[1]);}}function m0(){this.__data__=Lo?Lo(null):{},this.size=0;}function p0(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}function h0(e){var t=this.__data__;if(Lo){var r=t[e];return r===Fu?void 0:r}return it.call(t,e)?t[e]:void 0}function g0(e){var t=this.__data__;return Lo?t[e]!==void 0:it.call(t,e)}function y0(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=Lo&&t===void 0?Fu:t,this}Gt.prototype.clear=m0;Gt.prototype.delete=p0;Gt.prototype.get=h0;Gt.prototype.has=g0;Gt.prototype.set=y0;function at(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var o=e[t];this.set(o[0],o[1]);}}function v0(){this.__data__=[],this.size=0;}function b0(e){var t=this.__data__,r=mi(t,e);if(r<0)return !1;var o=t.length-1;return r==o?t.pop():c0.call(t,r,1),--this.size,!0}function x0(e){var t=this.__data__,r=mi(t,e);return r<0?void 0:t[r][1]}function S0(e){return mi(this.__data__,e)>-1}function C0(e,t){var r=this.__data__,o=mi(r,e);return o<0?(++this.size,r.push([e,t])):r[o][1]=t,this}at.prototype.clear=v0;at.prototype.delete=b0;at.prototype.get=x0;at.prototype.has=S0;at.prototype.set=C0;function Pr(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var o=e[t];this.set(o[0],o[1]);}}function w0(){this.size=0,this.__data__={hash:new Gt,map:new(Ju||at),string:new Gt};}function k0(e){var t=hi(this,e).delete(e);return this.size-=t?1:0,t}function _0(e){return hi(this,e).get(e)}function T0(e){return hi(this,e).has(e)}function P0(e,t){var r=hi(this,e),o=r.size;return r.set(e,t),this.size+=r.size==o?0:1,this}Pr.prototype.clear=w0;Pr.prototype.delete=k0;Pr.prototype.get=_0;Pr.prototype.has=T0;Pr.prototype.set=P0;function Ar(e){var t=this.__data__=new at(e);this.size=t.size;}function A0(){this.__data__=new at,this.size=0;}function E0(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}function R0(e){return this.__data__.get(e)}function M0(e){return this.__data__.has(e)}function I0(e,t){var r=this.__data__;if(r instanceof at){var o=r.__data__;if(!Ju||o.length<xv-1)return o.push([e,t]),this.size=++r.size,this;r=this.__data__=new Pr(o);}return r.set(e,t),this.size=r.size,this}Ar.prototype.clear=A0;Ar.prototype.delete=E0;Ar.prototype.get=R0;Ar.prototype.has=M0;Ar.prototype.set=I0;function V0(e,t){var r=Ps(e),o=!r&&Ts(e),n=!r&&!o&&rd(e),i=!r&&!o&&!n&&nd(e),a=r||o||n||i,s=a?e0(e.length,String):[],l=s.length;for(var c in e)(t||it.call(e,c))&&!(a&&(c=="length"||n&&(c=="offset"||c=="parent")||i&&(c=="buffer"||c=="byteLength"||c=="byteOffset")||ed(c,l)))&&s.push(c);return s}function ks(e,t,r){(r!==void 0&&!gi(e[t],r)||r===void 0&&!(t in e))&&As(e,t,r);}function O0(e,t,r){var o=e[t];(!(it.call(e,t)&&gi(o,r))||r===void 0&&!(t in e))&&As(e,t,r);}function mi(e,t){for(var r=e.length;r--;)if(gi(e[r][0],t))return r;return -1}function As(e,t,r){t=="__proto__"&&ui?ui(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r;}var N0=q0();function pi(e){return e==null?e===void 0?$v:Mv:Ht&&Ht in Object(e)?Y0(e):tb(e)}function zu(e){return jo(e)&&pi(e)==Hu}function $0(e){if(!Ut(e)||Q0(e))return !1;var t=Ms(e)?s0:Xv;return t.test(ib(e))}function L0(e){return jo(e)&&od(e.length)&&!!K[pi(e)]}function D0(e){if(!Ut(e))return eb(e);var t=td(e),r=[];for(var o in e)o=="constructor"&&(t||!it.call(e,o))||r.push(o);return r}function Qu(e,t,r,o,n){e!==t&&N0(t,function(i,a){if(n||(n=new Ar),Ut(i))j0(e,t,a,r,Qu,o,n);else {var s=o?o(_s(e,a),i,a+"",e,t,n):void 0;s===void 0&&(s=i),ks(e,a,s);}},id);}function j0(e,t,r,o,n,i,a){var s=_s(e,r),l=_s(t,r),c=a.get(l);if(c){ks(e,r,c);return}var u=i?i(s,l,r+"",e,t,a):void 0,d=u===void 0;if(d){var m=Ps(l),p=!m&&rd(l),g=!m&&!p&&nd(l);u=l,m||p||g?Ps(s)?u=s:ab(s)?u=G0(s):p?(d=!1,u=F0(l,!0)):g?(d=!1,u=H0(l,!0)):u=[]:sb(l)||Ts(l)?(u=s,Ts(s)?u=lb(s):(!Ut(s)||Ms(s))&&(u=X0(l))):d=!1;}d&&(a.set(l,u),n(u,l,o,i,a),a.delete(l)),ks(e,r,u);}function B0(e,t){return ob(rb(e,t,ad),e+"")}var z0=ui?function(e,t){return ui(e,"toString",{configurable:!0,enumerable:!1,value:ub(t),writable:!0})}:ad;function F0(e,t){if(t)return e.slice();var r=e.length,o=Du?Du(r):new e.constructor(r);return e.copy(o),o}function W0(e){var t=new e.constructor(e.byteLength);return new Lu(t).set(new Lu(e)),t}function H0(e,t){var r=t?W0(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}function G0(e,t){var r=-1,o=e.length;for(t||(t=Array(o));++r<o;)t[r]=e[r];return t}function U0(e,t,r,o){var n=!r;r||(r={});for(var i=-1,a=t.length;++i<a;){var s=t[i],l=o?o(r[s],e[s],s,r,e):void 0;l===void 0&&(l=e[s]),n?As(r,s,l):O0(r,s,l);}return r}function K0(e){return B0(function(t,r){var o=-1,n=r.length,i=n>1?r[n-1]:void 0,a=n>2?r[2]:void 0;for(i=e.length>3&&typeof i=="function"?(n--,i):void 0,a&&Z0(r[0],r[1],a)&&(i=n<3?void 0:i,n=1),t=Object(t);++o<n;){var s=r[o];s&&e(t,s,o,i);}return t})}function q0(e){return function(t,r,o){for(var n=-1,i=Object(t),a=o(t),s=a.length;s--;){var l=a[e?s:++n];if(r(i[l],l,i)===!1)break}return t}}function hi(e,t){var r=e.__data__;return J0(t)?r[typeof t=="string"?"string":"hash"]:r.map}function Es(e,t){var r=r0(e,t);return $0(r)?r:void 0}function Y0(e){var t=it.call(e,Ht),r=e[Ht];try{e[Ht]=void 0;var o=!0;}catch(i){}var n=Xu.call(e);return o&&(t?e[Ht]=r:delete e[Ht]),n}function X0(e){return typeof e.constructor=="function"&&!td(e)?f0(Zu(e)):{}}function ed(e,t){var r=typeof e;return t=t==null?Wu:t,!!t&&(r=="number"||r!="symbol"&&Zv.test(e))&&e>-1&&e%1==0&&e<t}function Z0(e,t,r){if(!Ut(r))return !1;var o=typeof t;return (o=="number"?Rs(r)&&ed(t,r.length):o=="string"&&t in r)?gi(r[t],e):!1}function J0(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function Q0(e){return !!Nu&&Nu in e}function td(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||di;return e===r}function eb(e){var t=[];if(e!=null)for(var r in Object(e))t.push(r);return t}function tb(e){return Xu.call(e)}function rb(e,t,r){return t=Bu(t===void 0?e.length-1:t,0),function(){for(var o=arguments,n=-1,i=Bu(o.length-t,0),a=Array(i);++n<i;)a[n]=o[t+n];n=-1;for(var s=Array(t+1);++n<t;)s[n]=o[n];return s[t]=r(a),Qv(e,this,s)}}function _s(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}var ob=nb(z0);function nb(e){var t=0,r=0;return function(){var o=d0(),n=Cv-(o-r);if(r=o,n>0){if(++t>=Sv)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}function ib(e){if(e!=null){try{return fi.call(e)}catch(t){}try{return e+""}catch(t){}}return ""}function gi(e,t){return e===t||e!==e&&t!==t}var Ts=zu(function(){return arguments}())?zu:function(e){return jo(e)&&it.call(e,"callee")&&!l0.call(e,"callee")},Ps=Array.isArray;function Rs(e){return e!=null&&od(e.length)&&!Ms(e)}function ab(e){return jo(e)&&Rs(e)}var rd=u0||db;function Ms(e){if(!Ut(e))return !1;var t=pi(e);return t==Gu||t==Av||t==kv||t==Iv}function od(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=Wu}function Ut(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}function jo(e){return e!=null&&typeof e=="object"}function sb(e){if(!jo(e)||pi(e)!=Uu)return !1;var t=Zu(e);if(t===null)return !0;var r=it.call(t,"constructor")&&t.constructor;return typeof r=="function"&&r instanceof r&&fi.call(r)==a0}var nd=Ou?t0(Ou):L0;function lb(e){return U0(e,id(e))}function id(e){return Rs(e)?V0(e,!0):D0(e)}var cb=K0(function(e,t,r,o){Qu(e,t,r,o);});function ub(e){return function(){return e}}function ad(e){return e}function db(){return !1}Tr.exports=cb;});var Nd=To((eO,Od)=>{var zx=typeof Element!="undefined",Fx=typeof Map=="function",Wx=typeof Set=="function",Hx=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function _i(e,t){if(e===t)return !0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return !1;var r,o,n;if(Array.isArray(e)){if(r=e.length,r!=t.length)return !1;for(o=r;o--!==0;)if(!_i(e[o],t[o]))return !1;return !0}var i;if(Fx&&e instanceof Map&&t instanceof Map){if(e.size!==t.size)return !1;for(i=e.entries();!(o=i.next()).done;)if(!t.has(o.value[0]))return !1;for(i=e.entries();!(o=i.next()).done;)if(!_i(o.value[1],t.get(o.value[0])))return !1;return !0}if(Wx&&e instanceof Set&&t instanceof Set){if(e.size!==t.size)return !1;for(i=e.entries();!(o=i.next()).done;)if(!t.has(o.value[0]))return !1;return !0}if(Hx&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(t)){if(r=e.length,r!=t.length)return !1;for(o=r;o--!==0;)if(e[o]!==t[o])return !1;return !0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf&&typeof e.valueOf=="function"&&typeof t.valueOf=="function")return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString&&typeof e.toString=="function"&&typeof t.toString=="function")return e.toString()===t.toString();if(n=Object.keys(e),r=n.length,r!==Object.keys(t).length)return !1;for(o=r;o--!==0;)if(!Object.prototype.hasOwnProperty.call(t,n[o]))return !1;if(zx&&e instanceof Element)return !1;for(o=r;o--!==0;)if(!((n[o]==="_owner"||n[o]==="__v"||n[o]==="__o")&&e.$$typeof)&&!_i(e[n[o]],t[n[o]]))return !1;return !0}return e!==e&&t!==t}Od.exports=function(t,r){try{return _i(t,r)}catch(o){if((o.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw o}};});function Ww(e){var t={};return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var rm,om=Bc(()=>{rm=Ww;});var nm={};Iy(nm,{default:()=>Uw});var Hw,Gw,Uw,im=Bc(()=>{om();Hw=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|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|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|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|inert|itemProp|itemScope|itemType|itemID|itemRef|on|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,Gw=rm(function(e){return Hw.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),Uw=Gw;});var pr="@saas-ui/storybook-addon2",Fc=`${pr}/direction-tool`,nt={TOGGLE_COLOR_MODE:`${pr}/toggleColorMode`,TOGGLE_DIRECTION:`${pr}/toggleDirection`,SET_THEME:`${pr}/setTheme`};function Wc(){let{setColorMode:e}=react.useColorMode();return ht.useEffect(()=>{let t=previewApi.addons.getChannel(),r=o=>e(o);return t.on(nt.TOGGLE_COLOR_MODE,r),()=>{t.removeListener(nt.TOGGLE_COLOR_MODE,r);}},[e]),null}var Gc=(e="ltr")=>{let[t,r]=ht.useState(e.toLowerCase());return ht.useEffect(()=>{document.documentElement.dir=t;},[t]),ht.useEffect(()=>{let o=previewApi.addons.getChannel(),n=i=>r(i);return o.on(nt.TOGGLE_DIRECTION,n),()=>{o.removeListener(nt.TOGGLE_DIRECTION,n);}},[r]),t};function jy(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function By(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==void 0&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}var Uc=function(){function e(r){var o=this;this._insertTag=function(n){var i;o.tags.length===0?o.insertionPoint?i=o.insertionPoint.nextSibling:o.prepend?i=o.container.firstChild:i=o.before:i=o.tags[o.tags.length-1].nextSibling,o.container.insertBefore(n,i),o.tags.push(n);},this.isSpeedy=r.speedy===void 0?!0:r.speedy,this.tags=[],this.ctr=0,this.nonce=r.nonce,this.key=r.key,this.container=r.container,this.prepend=r.prepend,this.insertionPoint=r.insertionPoint,this.before=null;}var t=e.prototype;return t.hydrate=function(o){o.forEach(this._insertTag);},t.insert=function(o){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(By(this));var n=this.tags[this.tags.length-1];if(this.isSpeedy){var a=jy(n);try{a.insertRule(o,a.cssRules.length);}catch(s){}}else n.appendChild(document.createTextNode(o));this.ctr++;},t.flush=function(){this.tags.forEach(function(o){return o.parentNode&&o.parentNode.removeChild(o)}),this.tags=[],this.ctr=0;},e}();var fe="-ms-",Po="-moz-",z="-webkit-",Ln="comm",hr="rule",gr="decl";var Kc="@import";var Dn="@keyframes";var qc="@layer";var Yc=Math.abs,Ft=String.fromCharCode,Xc=Object.assign;function Zc(e,t){return re(e,0)^45?(((t<<2^re(e,0))<<2^re(e,1))<<2^re(e,2))<<2^re(e,3):0}function jn(e){return e.trim()}function ds(e,t){return (e=t.exec(e))?e[0]:e}function j(e,t,r){return e.replace(t,r)}function Ao(e,t){return e.indexOf(t)}function re(e,t){return e.charCodeAt(t)|0}function vt(e,t,r){return e.slice(t,r)}function ye(e){return e.length}function yr(e){return e.length}function vr(e,t){return t.push(e),e}function fs(e,t){return e.map(t).join("")}var Bn=1,br=1,Jc=0,ve=0,oe=0,Sr="";function Eo(e,t,r,o,n,i,a){return {value:e,root:t,parent:r,type:o,props:n,children:i,line:Bn,column:br,length:a,return:""}}function Cr(e,t){return Xc(Eo("",null,null,"",null,null,0),e,{length:-e.length},t)}function Qc(){return oe}function eu(){return oe=ve>0?re(Sr,--ve):0,br--,oe===10&&(br=1,Bn--),oe}function be(){return oe=ve<Jc?re(Sr,ve++):0,br++,oe===10&&(br=1,Bn++),oe}function De(){return re(Sr,ve)}function Ro(){return ve}function wr(e,t){return vt(Sr,e,t)}function xr(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 zn(e){return Bn=br=1,Jc=ye(Sr=e),ve=0,[]}function Fn(e){return Sr="",e}function kr(e){return jn(wr(ve-1,ms(e===91?e+2:e===40?e+1:e)))}function tu(e){for(;(oe=De())&&oe<33;)be();return xr(e)>2||xr(oe)>3?"":" "}function ru(e,t){for(;--t&&be()&&!(oe<48||oe>102||oe>57&&oe<65||oe>70&&oe<97););return wr(e,Ro()+(t<6&&De()==32&&be()==32))}function ms(e){for(;be();)switch(oe){case e:return ve;case 34:case 39:e!==34&&e!==39&&ms(oe);break;case 40:e===41&&ms(e);break;case 92:be();break}return ve}function ou(e,t){for(;be()&&e+oe!==47+10;)if(e+oe===42+42&&De()===47)break;return "/*"+wr(t,ve-1)+"*"+Ft(e===47?e:be())}function nu(e){for(;!xr(De());)be();return wr(e,ve)}function su(e){return Fn(Wn("",null,null,null,[""],e=zn(e),0,[0],e))}function Wn(e,t,r,o,n,i,a,s,l){for(var c=0,u=0,d=a,m=0,p=0,g=0,y=1,b=1,x=1,S=0,C="",w=n,P=i,E=o,A=C;b;)switch(g=S,S=be()){case 40:if(g!=108&&re(A,d-1)==58){Ao(A+=j(kr(S),"&","&\f"),"&\f")!=-1&&(x=-1);break}case 34:case 39:case 91:A+=kr(S);break;case 9:case 10:case 13:case 32:A+=tu(g);break;case 92:A+=ru(Ro()-1,7);continue;case 47:switch(De()){case 42:case 47:vr(zy(ou(be(),Ro()),t,r),l);break;default:A+="/";}break;case 123*y:s[c++]=ye(A)*x;case 125*y:case 59:case 0:switch(S){case 0:case 125:b=0;case 59+u:x==-1&&(A=j(A,/\f/g,"")),p>0&&ye(A)-d&&vr(p>32?au(A+";",o,r,d-1):au(j(A," ","")+";",o,r,d-2),l);break;case 59:A+=";";default:if(vr(E=iu(A,t,r,c,u,n,s,C,w=[],P=[],d),i),S===123)if(u===0)Wn(A,t,E,E,w,i,d,s,P);else switch(m===99&&re(A,3)===110?100:m){case 100:case 108:case 109:case 115:Wn(e,E,E,o&&vr(iu(e,E,E,0,0,n,s,C,n,w=[],d),P),n,P,d,s,o?w:P);break;default:Wn(A,E,E,E,[""],P,0,s,P);}}c=u=p=0,y=x=1,C=A="",d=a;break;case 58:d=1+ye(A),p=g;default:if(y<1){if(S==123)--y;else if(S==125&&y++==0&&eu()==125)continue}switch(A+=Ft(S),S*y){case 38:x=u>0?1:(A+="\f",-1);break;case 44:s[c++]=(ye(A)-1)*x,x=1;break;case 64:De()===45&&(A+=kr(be())),m=De(),u=d=ye(C=A+=nu(Ro())),S++;break;case 45:g===45&&ye(A)==2&&(y=0);}}return i}function iu(e,t,r,o,n,i,a,s,l,c,u){for(var d=n-1,m=n===0?i:[""],p=yr(m),g=0,y=0,b=0;g<o;++g)for(var x=0,S=vt(e,d+1,d=Yc(y=a[g])),C=e;x<p;++x)(C=jn(y>0?m[x]+" "+S:j(S,/&\f/g,m[x])))&&(l[b++]=C);return Eo(e,t,r,n===0?hr:s,l,c,u)}function zy(e,t,r){return Eo(e,t,r,Ln,Ft(Qc()),vt(e,2,-2),0)}function au(e,t,r,o){return Eo(e,t,r,gr,vt(e,0,o),vt(e,o+1,-1),o)}function Wt(e,t){for(var r="",o=yr(e),n=0;n<o;n++)r+=t(e[n],n,e,t)||"";return r}function lu(e,t,r,o){switch(e.type){case qc:if(e.children.length)break;case Kc:case gr:return e.return=e.return||e.value;case Ln:return "";case Dn:return e.return=e.value+"{"+Wt(e.children,o)+"}";case hr:e.value=e.props.join(",");}return ye(r=Wt(e.children,o))?e.return=e.value+"{"+r+"}":""}function cu(e){var t=yr(e);return function(r,o,n,i){for(var a="",s=0;s<t;s++)a+=e[s](r,o,n,i)||"";return a}}function uu(e){return function(t){t.root||(t=t.return)&&e(t);}}function Hn(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var Fy=function(t,r,o){for(var n=0,i=0;n=i,i=De(),n===38&&i===12&&(r[o]=1),!xr(i);)be();return wr(t,ve)},Wy=function(t,r){var o=-1,n=44;do switch(xr(n)){case 0:n===38&&De()===12&&(r[o]=1),t[o]+=Fy(ve-1,r,o);break;case 2:t[o]+=kr(n);break;case 4:if(n===44){t[++o]=De()===58?"&\f":"",r[o]=t[o].length;break}default:t[o]+=Ft(n);}while(n=be());return t},Hy=function(t,r){return Fn(Wy(zn(t),r))},du=new WeakMap,Gy=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var r=t.value,o=t.parent,n=t.column===o.column&&t.line===o.line;o.type!=="rule";)if(o=o.parent,!o)return;if(!(t.props.length===1&&r.charCodeAt(0)!==58&&!du.get(o))&&!n){du.set(t,!0);for(var i=[],a=Hy(r,i),s=o.props,l=0,c=0;l<a.length;l++)for(var u=0;u<s.length;u++,c++)t.props[c]=i[l]?a[l].replace(/&\f/g,s[u]):s[u]+" "+a[l];}}},Uy=function(t){if(t.type==="decl"){var r=t.value;r.charCodeAt(0)===108&&r.charCodeAt(2)===98&&(t.return="",t.value="");}};function fu(e,t){switch(Zc(e,t)){case 5103:return z+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return z+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return z+e+Po+e+fe+e+e;case 6828:case 4268:return z+e+fe+e+e;case 6165:return z+e+fe+"flex-"+e+e;case 5187:return z+e+j(e,/(\w+).+(:[^]+)/,z+"box-$1$2"+fe+"flex-$1$2")+e;case 5443:return z+e+fe+"flex-item-"+j(e,/flex-|-self/,"")+e;case 4675:return z+e+fe+"flex-line-pack"+j(e,/align-content|flex-|-self/,"")+e;case 5548:return z+e+fe+j(e,"shrink","negative")+e;case 5292:return z+e+fe+j(e,"basis","preferred-size")+e;case 6060:return z+"box-"+j(e,"-grow","")+z+e+fe+j(e,"grow","positive")+e;case 4554:return z+j(e,/([^-])(transform)/g,"$1"+z+"$2")+e;case 6187:return j(j(j(e,/(zoom-|grab)/,z+"$1"),/(image-set)/,z+"$1"),e,"")+e;case 5495:case 3959:return j(e,/(image-set\([^]*)/,z+"$1$`$1");case 4968:return j(j(e,/(.+:)(flex-)?(.*)/,z+"box-pack:$3"+fe+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+z+e+e;case 4095:case 3583:case 4068:case 2532:return j(e,/(.+)-inline(.+)/,z+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(ye(e)-1-t>6)switch(re(e,t+1)){case 109:if(re(e,t+4)!==45)break;case 102:return j(e,/(.+:)(.+)-([^]+)/,"$1"+z+"$2-$3$1"+Po+(re(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return ~Ao(e,"stretch")?fu(j(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(re(e,t+1)!==115)break;case 6444:switch(re(e,ye(e)-3-(~Ao(e,"!important")&&10))){case 107:return j(e,":",":"+z)+e;case 101:return j(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+z+(re(e,14)===45?"inline-":"")+"box$3$1"+z+"$2$3$1"+fe+"$2box$3")+e}break;case 5936:switch(re(e,t+11)){case 114:return z+e+fe+j(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return z+e+fe+j(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return z+e+fe+j(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return z+e+fe+e+e}return e}var Ky=function(t,r,o,n){if(t.length>-1&&!t.return)switch(t.type){case gr:t.return=fu(t.value,t.length);break;case Dn:return Wt([Cr(t,{value:j(t.value,"@","@"+z)})],n);case hr:if(t.length)return fs(t.props,function(i){switch(ds(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Wt([Cr(t,{props:[j(i,/:(read-\w+)/,":"+Po+"$1")]})],n);case"::placeholder":return Wt([Cr(t,{props:[j(i,/:(plac\w+)/,":"+z+"input-$1")]}),Cr(t,{props:[j(i,/:(plac\w+)/,":"+Po+"$1")]}),Cr(t,{props:[j(i,/:(plac\w+)/,fe+"input-$1")]})],n)}return ""})}},qy=[Ky],ps=function(t){var r=t.key;if(r==="css"){var o=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(o,function(y){var b=y.getAttribute("data-emotion");b.indexOf(" ")!==-1&&(document.head.appendChild(y),y.setAttribute("data-s",""));});}var n=t.stylisPlugins||qy,i={},a,s=[];a=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+r+' "]'),function(y){for(var b=y.getAttribute("data-emotion").split(" "),x=1;x<b.length;x++)i[b[x]]=!0;s.push(y);});var l,c=[Gy,Uy];{var u,d=[lu,uu(function(y){u.insert(y);})],m=cu(c.concat(n,d)),p=function(b){return Wt(su(b),m)};l=function(b,x,S,C){u=S,p(b?b+"{"+x.styles+"}":x.styles),C&&(g.inserted[x.name]=!0);};}var g={key:r,sheet:new Uc({key:r,container:a,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:i,registered:{},insert:l};return g.sheet.hydrate(s),g};function _r(){return _r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o]);}return e},_r.apply(this,arguments)}var sv=!0;function ti(e,t,r){var o="";return r.split(" ").forEach(function(n){e[n]!==void 0?t.push(e[n]+";"):o+=n+" ";}),o}var Mo=function(t,r,o){var n=t.key+"-"+r.name;(o===!1||sv===!1)&&t.registered[n]===void 0&&(t.registered[n]=r.styles);},ri=function(t,r,o){Mo(t,r,o);var n=t.key+"-"+r.name;if(t.inserted[r.name]===void 0){var i=r;do t.insert(r===i?"."+n:"",i,t.sheet,!0),i=i.next;while(i!==void 0)}};function ku(e){for(var t=0,r,o=0,n=e.length;n>=4;++o,n-=4)r=e.charCodeAt(o)&255|(e.charCodeAt(++o)&255)<<8|(e.charCodeAt(++o)&255)<<16|(e.charCodeAt(++o)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(n){case 3:t^=(e.charCodeAt(o+2)&255)<<16;case 2:t^=(e.charCodeAt(o+1)&255)<<8;case 1:t^=e.charCodeAt(o)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16);}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var _u={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,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};var lv=/[A-Z]|^ms/g,cv=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Eu=function(t){return t.charCodeAt(1)===45},Tu=function(t){return t!=null&&typeof t!="boolean"},xs=Hn(function(e){return Eu(e)?e:e.replace(lv,"-$&").toLowerCase()}),Pu=function(t,r){switch(t){case"animation":case"animationName":if(typeof r=="string")return r.replace(cv,function(o,n,i){return Ye={name:n,styles:i,next:Ye},n})}return _u[t]!==1&&!Eu(t)&&typeof r=="number"&&r!==0?r+"px":r};function Io(e,t,r){if(r==null)return "";if(r.__emotion_styles!==void 0)return r;switch(typeof r){case"boolean":return "";case"object":{if(r.anim===1)return Ye={name:r.name,styles:r.styles,next:Ye},r.name;if(r.styles!==void 0){var o=r.next;if(o!==void 0)for(;o!==void 0;)Ye={name:o.name,styles:o.styles,next:Ye},o=o.next;var n=r.styles+";";return n}return uv(e,t,r)}case"function":{if(e!==void 0){var i=Ye,a=r(e);return Ye=i,Io(e,t,a)}break}}if(t==null)return r;var c=t[r];return c!==void 0?c:r}function uv(e,t,r){var o="";if(Array.isArray(r))for(var n=0;n<r.length;n++)o+=Io(e,t,r[n])+";";else for(var i in r){var a=r[i];if(typeof a!="object")t!=null&&t[a]!==void 0?o+=i+"{"+t[a]+"}":Tu(a)&&(o+=xs(i)+":"+Pu(i,a)+";");else if(Array.isArray(a)&&typeof a[0]=="string"&&(t==null||t[a[0]]===void 0))for(var s=0;s<a.length;s++)Tu(a[s])&&(o+=xs(i)+":"+Pu(i,a[s])+";");else {var l=Io(e,t,a);switch(i){case"animation":case"animationName":{o+=xs(i)+":"+l+";";break}default:o+=i+"{"+l+"}";}}}return o}var Au=/label:\s*([^\s;\n{]+)\s*(;|$)/g;var Ye,oi=function(t,r,o){if(t.length===1&&typeof t[0]=="object"&&t[0]!==null&&t[0].styles!==void 0)return t[0];var n=!0,i="";Ye=void 0;var a=t[0];a==null||a.raw===void 0?(n=!1,i+=Io(o,r,a)):i+=a[0];for(var s=1;s<t.length;s++)i+=Io(o,r,t[s]),n&&(i+=a[s]);Au.lastIndex=0;for(var c="",u;(u=Au.exec(i))!==null;)c+="-"+u[1];var d=ku(i)+c;return {name:d,styles:i,next:Ye}};var dv=function(t){return t()},fv=ht__namespace.useInsertionEffect?ht__namespace.useInsertionEffect:!1,ii=fv||dv;var ai=ht__namespace.createContext(typeof HTMLElement!="undefined"?ps({key:"css"}):null);ai.Provider;var si=function(t){return ht.forwardRef(function(r,o){var n=ht.useContext(ai);return t(r,n,o)})};var Vo=ht__namespace.createContext({});zt(wu());function Mu(){let e=ht.useContext(Vo);if(!e)throw Error("useTheme: `theme` is undefined. Seems you forgot to wrap your app in `<ChakraProvider />` or `<ThemeProvider />`");return e}var Ss=ht.createContext({});Ss.displayName="ColorModeContext";function Oo(){let e=ht.useContext(Ss);if(e===void 0)throw new Error("useColorMode must be used within a ColorModeProvider");return e}function Iu(){let e=Oo(),t=Mu();return v(f({},e),{theme:t})}function je(e){let t=typeof e;return e!=null&&(t==="object"||t==="function")&&!Array.isArray(e)}function Xe(e,...t){return bv(e)?e(...t):e}var bv=e=>typeof e=="function";zt(Er(),1);var zo=zt(Er(),1),yd=zt(Er(),1);var Si=zt(Er(),1);var fb=e=>/!(important)?$/.test(e),sd=e=>typeof e=="string"?e.replace(/!(important)?$/,"").trim():e,mb=(e,t)=>r=>{let o=String(t),n=fb(o),i=sd(o),a=e?`${e}.${i}`:i,s=je(r.__cssMap)&&a in r.__cssMap?r.__cssMap[a].varRef:t;return s=sd(s),n?`${s} !important`:s};function Ds(e){let{scale:t,transform:r,compose:o}=e;return (i,a)=>{var s;let l=mb(t,i)(a),c=(s=r==null?void 0:r(l,a))!=null?s:l;return o&&(c=o(c,a)),c}}var yi=(...e)=>t=>e.reduce((r,o)=>o(r),t);function Be(e,t){return r=>{let o={property:r,scale:e};return o.transform=Ds({scale:e,transform:t}),o}}var pb=({rtl:e,ltr:t})=>r=>r.direction==="rtl"?e:t;function hb(e){let{property:t,scale:r,transform:o}=e;return {scale:r,property:pb(t),transform:r?Ds({scale:r,compose:o}):o}}var md=["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))"];function gb(){return ["translateX(var(--chakra-translate-x, 0))","translateY(var(--chakra-translate-y, 0))",...md].join(" ")}function yb(){return ["translate3d(var(--chakra-translate-x, 0), var(--chakra-translate-y, 0), 0)",...md].join(" ")}var vb={"--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)"].join(" ")},bb={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)"].join(" "),"--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,/*!*/ /*!*/)"};function xb(e){return {"--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":e,boxShadow:["var(--chakra-ring-offset-shadow)","var(--chakra-ring-shadow)","var(--chakra-shadow, 0 0 #0000)"].join(", ")}}var Sb={"row-reverse":{space:"--chakra-space-x-reverse",divide:"--chakra-divide-x-reverse"},"column-reverse":{space:"--chakra-space-y-reverse",divide:"--chakra-divide-y-reverse"}},Vs={"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"},Cb=new Set(Object.values(Vs)),Os=new Set(["none","-moz-initial","inherit","initial","revert","unset"]),wb=e=>e.trim();function kb(e,t){if(e==null||Os.has(e))return e;if(!(Ns(e)||Os.has(e)))return `url('${e}')`;let n=/(^[a-z-A-Z]+)\((.*)\)/g.exec(e),i=n==null?void 0:n[1],a=n==null?void 0:n[2];if(!i||!a)return e;let s=i.includes("-gradient")?i:`${i}-gradient`,[l,...c]=a.split(",").map(wb).filter(Boolean);if((c==null?void 0:c.length)===0)return e;let u=l in Vs?Vs[l]:l;c.unshift(u);let d=c.map(m=>{if(Cb.has(m))return m;let p=m.indexOf(" "),[g,y]=p!==-1?[m.substr(0,p),m.substr(p+1)]:[m],b=Ns(y)?y:y&&y.split(" "),x=`colors.${g}`,S=x in t.__cssMap?t.__cssMap[x].varRef:g;return b?[S,...Array.isArray(b)?b:[b]].join(" "):S});return `${s}(${d.join(", ")})`}var Ns=e=>typeof e=="string"&&e.includes("(")&&e.includes(")"),_b=(e,t)=>kb(e,t!=null?t:{});function Tb(e){return /^var\(--.+\)$/.test(e)}var Pb=e=>{let t=parseFloat(e.toString()),r=e.toString().replace(String(t),"");return {unitless:!r,value:t,unit:r}},Ze=e=>t=>`${e}(${t})`,$={filter(e){return e!=="auto"?e:vb},backdropFilter(e){return e!=="auto"?e:bb},ring(e){return xb($.px(e))},bgClip(e){return e==="text"?{color:"transparent",backgroundClip:"text"}:{backgroundClip:e}},transform(e){return e==="auto"?gb():e==="auto-gpu"?yb():e},vh(e){return e==="$100vh"?"var(--chakra-vh)":e},px(e){if(e==null)return e;let{unitless:t}=Pb(e);return t||typeof e=="number"?`${e}px`:e},fraction(e){return typeof e!="number"||e>1?e:`${e*100}%`},float(e,t){let r={left:"right",right:"left"};return t.direction==="rtl"?r[e]:e},degree(e){if(Tb(e)||e==null)return e;let t=typeof e=="string"&&!e.endsWith("deg");return typeof e=="number"||t?`${e}deg`:e},gradient:_b,blur:Ze("blur"),opacity:Ze("opacity"),brightness:Ze("brightness"),contrast:Ze("contrast"),dropShadow:Ze("drop-shadow"),grayscale:Ze("grayscale"),hueRotate:e=>Ze("hue-rotate")($.degree(e)),invert:Ze("invert"),saturate:Ze("saturate"),sepia:Ze("sepia"),bgImage(e){return e==null||Ns(e)||Os.has(e)?e:`url(${e})`},outline(e){let t=String(e)==="0"||String(e)==="none";return e!==null&&t?{outline:"2px solid transparent",outlineOffset:"2px"}:{outline:e}},flexDirection(e){var t;let{space:r,divide:o}=(t=Sb[e])!=null?t:{},n={flexDirection:e};return r&&(n[r]=1),o&&(n[o]=1),n}},h={borderWidths:Be("borderWidths"),borderStyles:Be("borderStyles"),colors:Be("colors"),borders:Be("borders"),gradients:Be("gradients",$.gradient),radii:Be("radii",$.px),space:Be("space",yi($.vh,$.px)),spaceT:Be("space",yi($.vh,$.px)),degreeT(e){return {property:e,transform:$.degree}},prop(e,t,r){return f({property:e,scale:t},t&&{transform:Ds({scale:t,transform:r})})},propT(e,t){return {property:e,transform:t}},sizes:Be("sizes",yi($.vh,$.px)),sizesT:Be("sizes",yi($.vh,$.fraction)),shadows:Be("shadows"),logical:hb,blur:Be("blur",$.blur)},bi={background:h.colors("background"),backgroundColor:h.colors("backgroundColor"),backgroundImage:h.gradients("backgroundImage"),backgroundSize:!0,backgroundPosition:!0,backgroundRepeat:!0,backgroundAttachment:!0,backgroundClip:{transform:$.bgClip},bgSize:h.prop("backgroundSize"),bgPosition:h.prop("backgroundPosition"),bg:h.colors("background"),bgColor:h.colors("backgroundColor"),bgPos:h.prop("backgroundPosition"),bgRepeat:h.prop("backgroundRepeat"),bgAttachment:h.prop("backgroundAttachment"),bgGradient:h.gradients("backgroundImage"),bgClip:{transform:$.bgClip}};Object.assign(bi,{bgImage:bi.backgroundImage,bgImg:bi.backgroundImage});var F={border:h.borders("border"),borderWidth:h.borderWidths("borderWidth"),borderStyle:h.borderStyles("borderStyle"),borderColor:h.colors("borderColor"),borderRadius:h.radii("borderRadius"),borderTop:h.borders("borderTop"),borderBlockStart:h.borders("borderBlockStart"),borderTopLeftRadius:h.radii("borderTopLeftRadius"),borderStartStartRadius:h.logical({scale:"radii",property:{ltr:"borderTopLeftRadius",rtl:"borderTopRightRadius"}}),borderEndStartRadius:h.logical({scale:"radii",property:{ltr:"borderBottomLeftRadius",rtl:"borderBottomRightRadius"}}),borderTopRightRadius:h.radii("borderTopRightRadius"),borderStartEndRadius:h.logical({scale:"radii",property:{ltr:"borderTopRightRadius",rtl:"borderTopLeftRadius"}}),borderEndEndRadius:h.logical({scale:"radii",property:{ltr:"borderBottomRightRadius",rtl:"borderBottomLeftRadius"}}),borderRight:h.borders("borderRight"),borderInlineEnd:h.borders("borderInlineEnd"),borderBottom:h.borders("borderBottom"),borderBlockEnd:h.borders("borderBlockEnd"),borderBottomLeftRadius:h.radii("borderBottomLeftRadius"),borderBottomRightRadius:h.radii("borderBottomRightRadius"),borderLeft:h.borders("borderLeft"),borderInlineStart:{property:"borderInlineStart",scale:"borders"},borderInlineStartRadius:h.logical({scale:"radii",property:{ltr:["borderTopLeftRadius","borderBottomLeftRadius"],rtl:["borderTopRightRadius","borderBottomRightRadius"]}}),borderInlineEndRadius:h.logical({scale:"radii",property:{ltr:["borderTopRightRadius","borderBottomRightRadius"],rtl:["borderTopLeftRadius","borderBottomLeftRadius"]}}),borderX:h.borders(["borderLeft","borderRight"]),borderInline:h.borders("borderInline"),borderY:h.borders(["borderTop","borderBottom"]),borderBlock:h.borders("borderBlock"),borderTopWidth:h.borderWidths("borderTopWidth"),borderBlockStartWidth:h.borderWidths("borderBlockStartWidth"),borderTopColor:h.colors("borderTopColor"),borderBlockStartColor:h.colors("borderBlockStartColor"),borderTopStyle:h.borderStyles("borderTopStyle"),borderBlockStartStyle:h.borderStyles("borderBlockStartStyle"),borderBottomWidth:h.borderWidths("borderBottomWidth"),borderBlockEndWidth:h.borderWidths("borderBlockEndWidth"),borderBottomColor:h.colors("borderBottomColor"),borderBlockEndColor:h.colors("borderBlockEndColor"),borderBottomStyle:h.borderStyles("borderBottomStyle"),borderBlockEndStyle:h.borderStyles("borderBlockEndStyle"),borderLeftWidth:h.borderWidths("borderLeftWidth"),borderInlineStartWidth:h.borderWidths("borderInlineStartWidth"),borderLeftColor:h.colors("borderLeftColor"),borderInlineStartColor:h.colors("borderInlineStartColor"),borderLeftStyle:h.borderStyles("borderLeftStyle"),borderInlineStartStyle:h.borderStyles("borderInlineStartStyle"),borderRightWidth:h.borderWidths("borderRightWidth"),borderInlineEndWidth:h.borderWidths("borderInlineEndWidth"),borderRightColor:h.colors("borderRightColor"),borderInlineEndColor:h.colors("borderInlineEndColor"),borderRightStyle:h.borderStyles("borderRightStyle"),borderInlineEndStyle:h.borderStyles("borderInlineEndStyle"),borderTopRadius:h.radii(["borderTopLeftRadius","borderTopRightRadius"]),borderBottomRadius:h.radii(["borderBottomLeftRadius","borderBottomRightRadius"]),borderLeftRadius:h.radii(["borderTopLeftRadius","borderBottomLeftRadius"]),borderRightRadius:h.radii(["borderTopRightRadius","borderBottomRightRadius"])};Object.assign(F,{rounded:F.borderRadius,roundedTop:F.borderTopRadius,roundedTopLeft:F.borderTopLeftRadius,roundedTopRight:F.borderTopRightRadius,roundedTopStart:F.borderStartStartRadius,roundedTopEnd:F.borderStartEndRadius,roundedBottom:F.borderBottomRadius,roundedBottomLeft:F.borderBottomLeftRadius,roundedBottomRight:F.borderBottomRightRadius,roundedBottomStart:F.borderEndStartRadius,roundedBottomEnd:F.borderEndEndRadius,roundedLeft:F.borderLeftRadius,roundedRight:F.borderRightRadius,roundedStart:F.borderInlineStartRadius,roundedEnd:F.borderInlineEndRadius,borderStart:F.borderInlineStart,borderEnd:F.borderInlineEnd,borderTopStartRadius:F.borderStartStartRadius,borderTopEndRadius:F.borderStartEndRadius,borderBottomStartRadius:F.borderEndStartRadius,borderBottomEndRadius:F.borderEndEndRadius,borderStartRadius:F.borderInlineStartRadius,borderEndRadius:F.borderInlineEndRadius,borderStartWidth:F.borderInlineStartWidth,borderEndWidth:F.borderInlineEndWidth,borderStartColor:F.borderInlineStartColor,borderEndColor:F.borderInlineEndColor,borderStartStyle:F.borderInlineStartStyle,borderEndStyle:F.borderInlineEndStyle});var Ab={color:h.colors("color"),textColor:h.colors("color"),fill:h.colors("fill"),stroke:h.colors("stroke")},$s={boxShadow:h.shadows("boxShadow"),mixBlendMode:!0,blendMode:h.prop("mixBlendMode"),backgroundBlendMode:!0,bgBlendMode:h.prop("backgroundBlendMode"),opacity:!0};Object.assign($s,{shadow:$s.boxShadow});var Eb={filter:{transform:$.filter},blur:h.blur("--chakra-blur"),brightness:h.propT("--chakra-brightness",$.brightness),contrast:h.propT("--chakra-contrast",$.contrast),hueRotate:h.propT("--chakra-hue-rotate",$.hueRotate),invert:h.propT("--chakra-invert",$.invert),saturate:h.propT("--chakra-saturate",$.saturate),dropShadow:h.propT("--chakra-drop-shadow",$.dropShadow),backdropFilter:{transform:$.backdropFilter},backdropBlur:h.blur("--chakra-backdrop-blur"),backdropBrightness:h.propT("--chakra-backdrop-brightness",$.brightness),backdropContrast:h.propT("--chakra-backdrop-contrast",$.contrast),backdropHueRotate:h.propT("--chakra-backdrop-hue-rotate",$.hueRotate),backdropInvert:h.propT("--chakra-backdrop-invert",$.invert),backdropSaturate:h.propT("--chakra-backdrop-saturate",$.saturate)},xi={alignItems:!0,alignContent:!0,justifyItems:!0,justifyContent:!0,flexWrap:!0,flexDirection:{transform:$.flexDirection},flex:!0,flexFlow:!0,flexGrow:!0,flexShrink:!0,flexBasis:h.sizes("flexBasis"),justifySelf:!0,alignSelf:!0,order:!0,placeItems:!0,placeContent:!0,placeSelf:!0,gap:h.space("gap"),rowGap:h.space("rowGap"),columnGap:h.space("columnGap")};Object.assign(xi,{flexDir:xi.flexDirection});var pd={gridGap:h.space("gridGap"),gridColumnGap:h.space("gridColumnGap"),gridRowGap:h.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},Rb={appearance:!0,cursor:!0,resize:!0,userSelect:!0,pointerEvents:!0,outline:{transform:$.outline},outlineOffset:!0,outlineColor:h.colors("outlineColor")},ze={width:h.sizesT("width"),inlineSize:h.sizesT("inlineSize"),height:h.sizes("height"),blockSize:h.sizes("blockSize"),boxSize:h.sizes(["width","height"]),minWidth:h.sizes("minWidth"),minInlineSize:h.sizes("minInlineSize"),minHeight:h.sizes("minHeight"),minBlockSize:h.sizes("minBlockSize"),maxWidth:h.sizes("maxWidth"),maxInlineSize:h.sizes("maxInlineSize"),maxHeight:h.sizes("maxHeight"),maxBlockSize:h.sizes("maxBlockSize"),overflow:!0,overflowX:!0,overflowY:!0,overscrollBehavior:!0,overscrollBehaviorX:!0,overscrollBehaviorY:!0,display:!0,aspectRatio:!0,hideFrom:{scale:"breakpoints",transform:(e,t)=>{var r,o,n;return {[`@media screen and (min-width: ${(n=(o=(r=t.__breakpoints)==null?void 0:r.get(e))==null?void 0:o.minW)!=null?n:e})`]:{display:"none"}}}},hideBelow:{scale:"breakpoints",transform:(e,t)=>{var r,o,n;return {[`@media screen and (max-width: ${(n=(o=(r=t.__breakpoints)==null?void 0:r.get(e))==null?void 0:o._minW)!=null?n:e})`]:{display:"none"}}}},verticalAlign:!0,boxSizing:!0,boxDecorationBreak:!0,float:h.propT("float",$.float),objectFit:!0,objectPosition:!0,visibility:!0,isolation:!0};Object.assign(ze,{w:ze.width,h:ze.height,minW:ze.minWidth,maxW:ze.maxWidth,minH:ze.minHeight,maxH:ze.maxHeight,overscroll:ze.overscrollBehavior,overscrollX:ze.overscrollBehaviorX,overscrollY:ze.overscrollBehaviorY});var Mb={listStyleType:!0,listStylePosition:!0,listStylePos:h.prop("listStylePosition"),listStyleImage:!0,listStyleImg:h.prop("listStyleImage")};function Ib(e,t,r,o){let n=typeof t=="string"?t.split("."):[t];for(o=0;o<n.length&&e;o+=1)e=e[n[o]];return e===void 0?r:e}var Vb=e=>{let t=new WeakMap;return (o,n,i,a)=>{if(typeof o=="undefined")return e(o,n,i);t.has(o)||t.set(o,new Map);let s=t.get(o);if(s.has(n))return s.get(n);let l=e(o,n,i,a);return s.set(n,l),l}},Ob=Vb(Ib),Nb={border:"0px",clip:"rect(0, 0, 0, 0)",width:"1px",height:"1px",margin:"-1px",padding:"0px",overflow:"hidden",whiteSpace:"nowrap",position:"absolute"},$b={position:"static",width:"auto",height:"auto",clip:"auto",padding:"0",margin:"0",overflow:"visible",whiteSpace:"normal"},Is=(e,t,r)=>{let o={},n=Ob(e,t,{});for(let i in n)i in r&&r[i]!=null||(o[i]=n[i]);return o},Lb={srOnly:{transform(e){return e===!0?Nb:e==="focusable"?$b:{}}},layerStyle:{processResult:!0,transform:(e,t,r)=>Is(t,`layerStyles.${e}`,r)},textStyle:{processResult:!0,transform:(e,t,r)=>Is(t,`textStyles.${e}`,r)},apply:{processResult:!0,transform:(e,t,r)=>Is(t,e,r)}},Fo={position:!0,pos:h.prop("position"),zIndex:h.prop("zIndex","zIndices"),inset:h.spaceT("inset"),insetX:h.spaceT(["left","right"]),insetInline:h.spaceT("insetInline"),insetY:h.spaceT(["top","bottom"]),insetBlock:h.spaceT("insetBlock"),top:h.spaceT("top"),insetBlockStart:h.spaceT("insetBlockStart"),bottom:h.spaceT("bottom"),insetBlockEnd:h.spaceT("insetBlockEnd"),left:h.spaceT("left"),insetInlineStart:h.logical({scale:"space",property:{ltr:"left",rtl:"right"}}),right:h.spaceT("right"),insetInlineEnd:h.logical({scale:"space",property:{ltr:"right",rtl:"left"}})};Object.assign(Fo,{insetStart:Fo.insetInlineStart,insetEnd:Fo.insetInlineEnd});var Db={ring:{transform:$.ring},ringColor:h.colors("--chakra-ring-color"),ringOffset:h.prop("--chakra-ring-offset-width"),ringOffsetColor:h.colors("--chakra-ring-offset-color"),ringInset:h.prop("--chakra-ring-inset")},q={margin:h.spaceT("margin"),marginTop:h.spaceT("marginTop"),marginBlockStart:h.spaceT("marginBlockStart"),marginRight:h.spaceT("marginRight"),marginInlineEnd:h.spaceT("marginInlineEnd"),marginBottom:h.spaceT("marginBottom"),marginBlockEnd:h.spaceT("marginBlockEnd"),marginLeft:h.spaceT("marginLeft"),marginInlineStart:h.spaceT("marginInlineStart"),marginX:h.spaceT(["marginInlineStart","marginInlineEnd"]),marginInline:h.spaceT("marginInline"),marginY:h.spaceT(["marginTop","marginBottom"]),marginBlock:h.spaceT("marginBlock"),padding:h.space("padding"),paddingTop:h.space("paddingTop"),paddingBlockStart:h.space("paddingBlockStart"),paddingRight:h.space("paddingRight"),paddingBottom:h.space("paddingBottom"),paddingBlockEnd:h.space("paddingBlockEnd"),paddingLeft:h.space("paddingLeft"),paddingInlineStart:h.space("paddingInlineStart"),paddingInlineEnd:h.space("paddingInlineEnd"),paddingX:h.space(["paddingInlineStart","paddingInlineEnd"]),paddingInline:h.space("paddingInline"),paddingY:h.space(["paddingTop","paddingBottom"]),paddingBlock:h.space("paddingBlock")};Object.assign(q,{m:q.margin,mt:q.marginTop,mr:q.marginRight,me:q.marginInlineEnd,marginEnd:q.marginInlineEnd,mb:q.marginBottom,ml:q.marginLeft,ms:q.marginInlineStart,marginStart:q.marginInlineStart,mx:q.marginX,my:q.marginY,p:q.padding,pt:q.paddingTop,py:q.paddingY,px:q.paddingX,pb:q.paddingBottom,pl:q.paddingLeft,ps:q.paddingInlineStart,paddingStart:q.paddingInlineStart,pr:q.paddingRight,pe:q.paddingInlineEnd,paddingEnd:q.paddingInlineEnd});var jb={textDecorationColor:h.colors("textDecorationColor"),textDecoration:!0,textDecor:{property:"textDecoration"},textDecorationLine:!0,textDecorationStyle:!0,textDecorationThickness:!0,textUnderlineOffset:!0,textShadow:h.shadows("textShadow")},Bb={clipPath:!0,transform:h.propT("transform",$.transform),transformOrigin:!0,translateX:h.spaceT("--chakra-translate-x"),translateY:h.spaceT("--chakra-translate-y"),skewX:h.degreeT("--chakra-skew-x"),skewY:h.degreeT("--chakra-skew-y"),scaleX:h.prop("--chakra-scale-x"),scaleY:h.prop("--chakra-scale-y"),scale:h.prop(["--chakra-scale-x","--chakra-scale-y"]),rotate:h.degreeT("--chakra-rotate")},zb={transition:!0,transitionDelay:!0,animation:!0,willChange:!0,transitionDuration:h.prop("transitionDuration","transition.duration"),transitionProperty:h.prop("transitionProperty","transition.property"),transitionTimingFunction:h.prop("transitionTimingFunction","transition.easing")},Fb={fontFamily:h.prop("fontFamily","fonts"),fontSize:h.prop("fontSize","fontSizes",$.px),fontWeight:h.prop("fontWeight","fontWeights"),lineHeight:h.prop("lineHeight","lineHeights"),letterSpacing:h.prop("letterSpacing","letterSpacings"),textAlign:!0,fontStyle:!0,textIndent:!0,wordBreak:!0,overflowWrap:!0,textOverflow:!0,textTransform:!0,whiteSpace:!0,isTruncated:{transform(e){if(e===!0)return {overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}}},noOfLines:{static:{overflow:"hidden",textOverflow:"ellipsis",display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:"var(--chakra-line-clamp)"},property:"--chakra-line-clamp"}},Wb={scrollBehavior:!0,scrollSnapAlign:!0,scrollSnapStop:!0,scrollSnapType:!0,scrollMargin:h.spaceT("scrollMargin"),scrollMarginTop:h.spaceT("scrollMarginTop"),scrollMarginBottom:h.spaceT("scrollMarginBottom"),scrollMarginLeft:h.spaceT("scrollMarginLeft"),scrollMarginRight:h.spaceT("scrollMarginRight"),scrollMarginX:h.spaceT(["scrollMarginLeft","scrollMarginRight"]),scrollMarginY:h.spaceT(["scrollMarginTop","scrollMarginBottom"]),scrollPadding:h.spaceT("scrollPadding"),scrollPaddingTop:h.spaceT("scrollPaddingTop"),scrollPaddingBottom:h.spaceT("scrollPaddingBottom"),scrollPaddingLeft:h.spaceT("scrollPaddingLeft"),scrollPaddingRight:h.spaceT("scrollPaddingRight"),scrollPaddingX:h.spaceT(["scrollPaddingLeft","scrollPaddingRight"]),scrollPaddingY:h.spaceT(["scrollPaddingTop","scrollPaddingBottom"])};function hd(e){return je(e)&&e.reference?e.reference:String(e)}var Ci=(e,...t)=>t.map(hd).join(` ${e} `).replace(/calc/g,""),ld=(...e)=>`calc(${Ci("+",...e)})`,cd=(...e)=>`calc(${Ci("-",...e)})`,Ls=(...e)=>`calc(${Ci("*",...e)})`,ud=(...e)=>`calc(${Ci("/",...e)})`,dd=e=>{let t=hd(e);return t!=null&&!Number.isNaN(parseFloat(t))?String(t).startsWith("-")?String(t).slice(1):`-${t}`:Ls(t,-1)},Bo=Object.assign(e=>({add:(...t)=>Bo(ld(e,...t)),subtract:(...t)=>Bo(cd(e,...t)),multiply:(...t)=>Bo(Ls(e,...t)),divide:(...t)=>Bo(ud(e,...t)),negate:()=>Bo(dd(e)),toString:()=>e.toString()}),{add:ld,subtract:cd,multiply:Ls,divide:ud,negate:dd});function Hb(e,t="-"){return e.replace(/\s+/g,t)}function Gb(e){let t=Hb(e.toString());return Kb(Ub(t))}function Ub(e){return e.includes("\\.")?e:!Number.isInteger(parseFloat(e.toString()))?e.replace(".","\\."):e}function Kb(e){return e.replace(/[!-,/:-@[-^`{-~]/g,"\\$&")}function qb(e,t=""){return [t,e].filter(Boolean).join("-")}function Yb(e,t){return `var(${e}${t?`, ${t}`:""})`}function Xb(e,t=""){return Gb(`--${qb(e,t)}`)}function V(e,t,r){let o=Xb(e,r);return {variable:o,reference:Yb(o,t)}}function Zb(e){let t=parseFloat(e.toString()),r=e.toString().replace(String(t),"");return {unitless:!r,value:t,unit:r}}function fd(e){if(e==null)return e;let{unitless:t}=Zb(e);return t||typeof e=="number"?`${e}px`:e}function Jb(e,t){let r=["@media screen"];return e&&r.push("and",`(min-width: ${fd(e)})`),t&&r.push("and",`(max-width: ${fd(t)})`),r.join(" ")}var me={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}`},xt=e=>gd(t=>e(t,"&"),"[role=group]","[data-group]",".group"),st=e=>gd(t=>e(t,"~ &"),"[data-peer]",".peer"),gd=(e,...t)=>t.map(e).join(", "),js={_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",_firstLetter:"&::first-letter",_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:xt(me.hover),_peerHover:st(me.hover),_groupFocus:xt(me.focus),_peerFocus:st(me.focus),_groupFocusVisible:xt(me.focusVisible),_peerFocusVisible:st(me.focusVisible),_groupActive:xt(me.active),_peerActive:st(me.active),_groupDisabled:xt(me.disabled),_peerDisabled:st(me.disabled),_groupInvalid:xt(me.invalid),_peerInvalid:st(me.invalid),_groupChecked:xt(me.checked),_peerChecked:st(me.checked),_groupFocusWithin:xt(me.focusWithin),_peerFocusWithin:st(me.focusWithin),_peerPlaceholderShown:st(me.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]",_horizontal:"&[data-orientation=horizontal]",_vertical:"&[data-orientation=vertical]"},Qb=Object.keys(js);var Bs=(0, yd.default)({},bi,F,Ab,xi,ze,Eb,Db,Rb,pd,Lb,Fo,$s,q,Wb,Fb,jb,Bb,Mb,zb);Object.assign({},q,ze,xi,pd,Fo);var vd=[...Object.keys(Bs),...Qb],rx=f(f({},Bs),js),bd=e=>e in rx,ox=e=>t=>{if(!t.__breakpoints)return e;let{isResponsive:r,toArrayValue:o,media:n}=t.__breakpoints,i={};for(let a in e){let s=Xe(e[a],t);if(s==null)continue;if(s=je(s)&&r(s)?o(s):s,!Array.isArray(s)){i[a]=s;continue}let l=s.slice(0,n.length).length;for(let c=0;c<l;c+=1){let u=n==null?void 0:n[c];if(!u){i[a]=s[c];continue}i[u]=i[u]||{},s[c]!=null&&(i[u][a]=s[c]);}}return i};function nx(e){let t=[],r="",o=!1;for(let n=0;n<e.length;n++){let i=e[n];i==="("?(o=!0,r+=i):i===")"?(o=!1,r+=i):i===","&&!o?(t.push(r),r=""):r+=i;}return r=r.trim(),r&&t.push(r),t}function ix(e){return /^var\(--.+\)$/.test(e)}var ax=(e,t)=>e.startsWith("--")&&typeof t=="string"&&!ix(t),sx=(e,t)=>{var r,o;if(t==null)return t;let n=l=>{var c,u;return (u=(c=e.__cssMap)==null?void 0:c[l])==null?void 0:u.varRef},i=l=>{var c;return (c=n(l))!=null?c:l},[a,s]=nx(t);return t=(o=(r=n(a))!=null?r:i(s))!=null?o:i(t),t};function lx(e){let{configs:t={},pseudos:r={},theme:o}=e,n=(i,a=!1)=>{var s,l,c;let u=Xe(i,o),d=ox(u)(o),m={};for(let p in d){let g=d[p],y=Xe(g,o);p in r&&(p=r[p]),ax(p,y)&&(y=sx(o,y));let b=t[p];if(b===!0&&(b={property:p}),je(y)){m[p]=(s=m[p])!=null?s:{},m[p]=(0, zo.default)({},m[p],n(y,!0));continue}let x=(c=(l=b==null?void 0:b.transform)==null?void 0:l.call(b,y,o,u))!=null?c:y;x=b!=null&&b.processResult?n(x,!0):x;let S=Xe(b==null?void 0:b.property,o);if(!a&&(b!=null&&b.static)){let C=Xe(b.static,o);m=(0, zo.default)({},m,C);}if(S&&Array.isArray(S)){for(let C of S)m[C]=x;continue}if(S){S==="&"&&je(x)?m=(0, zo.default)({},m,x):m[S]=x;continue}if(je(x)){m=(0, zo.default)({},m,x);continue}m[p]=x;}return m};return n}var xd=e=>t=>lx({theme:t,pseudos:js,configs:Bs})(e);function T(e){return {definePartsStyle(t){return t},defineMultiStyleConfig(t){return f({parts:e},t)}}}function cx(e,t){if(Array.isArray(e))return e;if(je(e))return t(e);if(e!=null)return [e]}function ux(e,t){for(let r=t+1;r<e.length;r++)if(e[r]!=null)return r;return -1}function dx(e){let t=e.__breakpoints;return function(o,n,i,a){var s,l;if(!t)return;let c={},u=cx(i,t.toArrayValue);if(!u)return c;let d=u.length,m=d===1,p=!!o.parts;for(let g=0;g<d;g++){let y=t.details[g],b=t.details[ux(u,g)],x=Jb(y.minW,b==null?void 0:b._minW),S=Xe((s=o[n])==null?void 0:s[u[g]],a);if(S){if(p){(l=o.parts)==null||l.forEach(C=>{(0, Si.default)(c,{[C]:m?S[C]:{[x]:S[C]}});});continue}if(!p){m?(0, Si.default)(c,S):c[x]=S;continue}c[x]=S;}}return c}}function Sd(e){return t=>{var r;let{variant:o,size:n,theme:i}=t,a=dx(i);return (0, Si.default)({},Xe((r=e.baseStyle)!=null?r:{},t),a(e,"sizes",n,t),a(e,"variants",o,t))}}function I(e,t={}){let r=!1;function o(){if(!r){r=!0;return}throw new Error("[anatomy] .part(...) should only be called once. Did you mean to use .extend(...) ?")}function n(...u){o();for(let d of u)t[d]=l(d);return I(e,t)}function i(...u){for(let d of u)d in t||(t[d]=l(d));return I(e,t)}function a(){return Object.fromEntries(Object.entries(t).map(([d,m])=>[d,m.selector]))}function s(){return Object.fromEntries(Object.entries(t).map(([d,m])=>[d,m.className]))}function l(u){let p=`chakra-${(["container","root"].includes(u!=null?u:"")?[e]:[e,u]).filter(Boolean).join("__")}`;return {className:p,selector:`.${p}`,toString:()=>u}}return {parts:n,toPart:l,extend:i,selectors:a,classnames:s,get keys(){return Object.keys(t)},__type:{}}}I("accordion").parts("root","container","button","panel").extend("icon");var Wo=I("alert").parts("title","description","container").extend("icon","spinner");I("avatar").parts("label","badge","container").extend("excessLabel","group");I("breadcrumb").parts("link","item","container").extend("separator");I("button").parts();var zs=I("checkbox").parts("control","icon","container").extend("label");I("progress").parts("track","filledTrack").extend("label");var Fs=I("drawer").parts("overlay","dialogContainer","dialog").extend("header","closeButton","body","footer");I("editable").parts("preview","input","textarea");var Ws=I("form").parts("container","requiredIndicator","helperText");I("formError").parts("text","icon");var Kt=I("input").parts("addon","field","element","group");I("list").parts("container","item","icon");var Ho=I("menu").parts("button","list","item").extend("groupTitle","icon","command","divider"),Go=I("modal").parts("overlay","dialogContainer","dialog").extend("header","closeButton","body","footer");I("numberinput").parts("root","field","stepperGroup","stepper");I("pininput").parts("field");var Hs=I("popover").parts("content","header","body","footer").extend("popper","arrow","closeButton"),Uo=I("progress").parts("label","filledTrack","track"),Gs=I("radio").parts("container","control","label");I("select").parts("field","icon");var Us=I("slider").parts("container","track","thumb","filledTrack","mark");I("stat").parts("container","label","helpText","number","icon");var Ko=I("switch").parts("container","track","thumb","label");I("table").parts("table","thead","tbody","tr","th","td","tfoot","caption");I("tabs").parts("root","tab","tablist","tabpanel","tabpanels","indicator");I("tag").parts("container","label","closeButton");var Ks=I("card").parts("container","header","body","footer");I("stepper").parts("stepper","step","title","description","indicator","separator","icon","number");function qt(e,t,r){return Math.min(Math.max(e,r),t)}var qs=class extends Error{constructor(t){super(`Failed to parse color: "${t}"`);}},qo=qs;function Ys(e){if(typeof e!="string")throw new qo(e);if(e.trim().toLowerCase()==="transparent")return [0,0,0,0];let t=e.trim();t=Nx.test(e)?Rx(e):e;let r=Mx.exec(t);if(r){let a=Array.from(r).slice(1);return [...a.slice(0,3).map(s=>parseInt(Yo(s,2),16)),parseInt(Yo(a[3]||"f",2),16)/255]}let o=Ix.exec(t);if(o){let a=Array.from(o).slice(1);return [...a.slice(0,3).map(s=>parseInt(s,16)),parseInt(a[3]||"ff",16)/255]}let n=Vx.exec(t);if(n){let a=Array.from(n).slice(1);return [...a.slice(0,3).map(s=>parseInt(s,10)),parseFloat(a[3]||"1")]}let i=Ox.exec(t);if(i){let[a,s,l,c]=Array.from(i).slice(1).map(parseFloat);if(qt(0,100,s)!==s)throw new qo(e);if(qt(0,100,l)!==l)throw new qo(e);return [...$x(a,s,l),Number.isNaN(c)?1:c]}throw new qo(e)}function Ax(e){let t=5381,r=e.length;for(;r;)t=t*33^e.charCodeAt(--r);return (t>>>0)%2341}var Cd=e=>parseInt(e.replace(/_/g,""),36),Ex="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=Cd(t.substring(0,3)),o=Cd(t.substring(3)).toString(16),n="";for(let i=0;i<6-o.length;i++)n+="0";return e[r]=`${n}${o}`,e},{});function Rx(e){let t=e.toLowerCase().trim(),r=Ex[Ax(t)];if(!r)throw new qo(e);return `#${r}`}var Yo=(e,t)=>Array.from(Array(t)).map(()=>e).join(""),Mx=new RegExp(`^#${Yo("([a-f0-9])",3)}([a-f0-9])?$`,"i"),Ix=new RegExp(`^#${Yo("([a-f0-9]{2})",3)}([a-f0-9]{2})?$`,"i"),Vx=new RegExp(`^rgba?\\(\\s*(\\d+)\\s*${Yo(",\\s*(\\d+)\\s*",2)}(?:,\\s*([\\d.]+))?\\s*\\)$`,"i"),Ox=/^hsla?\(\s*([\d.]+)\s*,\s*([\d.]+)%\s*,\s*([\d.]+)%(?:\s*,\s*([\d.]+))?\s*\)$/i,Nx=/^[a-z]+$/i,wd=e=>Math.round(e*255),$x=(e,t,r)=>{let o=r/100;if(t===0)return [o,o,o].map(wd);let n=(e%360+360)%360/60,i=(1-Math.abs(2*o-1))*(t/100),a=i*(1-Math.abs(n%2-1)),s=0,l=0,c=0;n>=0&&n<1?(s=i,l=a):n>=1&&n<2?(s=a,l=i):n>=2&&n<3?(l=i,c=a):n>=3&&n<4?(l=a,c=i):n>=4&&n<5?(s=a,c=i):n>=5&&n<6&&(s=i,c=a);let u=o-i/2,d=s+u,m=l+u,p=c+u;return [d,m,p].map(wd)};function Lx(e,t,r,o){return `rgba(${qt(0,255,e).toFixed()}, ${qt(0,255,t).toFixed()}, ${qt(0,255,r).toFixed()}, ${parseFloat(qt(0,1,o).toFixed(3))})`}function kd(e,t){let[r,o,n,i]=Ys(e);return Lx(r,o,n,i-t)}function _d(e){let[t,r,o,n]=Ys(e),i=a=>{let s=qt(0,255,a).toString(16);return s.length===1?`0${s}`:s};return `#${i(t)}${i(r)}${i(o)}${n<1?i(Math.round(n*255)):""}`}function Dx(e,t,r,o,n){for(t=t.split?t.split("."):t,o=0;o<t.length;o++)e=e?e[t[o]]:n;return e===n?r:e}var ae=(e,t,r)=>{let o=Dx(e,`colors.${t}`,t);try{return _d(o),o}catch(n){return r!=null?r:"#000000"}};var te=(e,t)=>r=>{let o=ae(r,e);return kd(o,1-t)};function Y(e,t){return r=>r.colorMode==="dark"?t:e}function Td(e){return !Number.isInteger(parseFloat(e.toString()))}function jx(e,t="-"){return e.replace(/\s+/g,t)}function Pd(e){let t=jx(e.toString());return t.includes("\\.")?e:Td(e)?t.replace(".","\\."):e}function Ad(e,t=""){return [t,Pd(e)].filter(Boolean).join("-")}function Ed(e,t){return `var(${Pd(e)}${t?`, ${t}`:""})`}function Rd(e,t=""){return `--${Ad(e,t)}`}function Ue(e,t){let r=Rd(e,t==null?void 0:t.prefix);return {variable:r,reference:Ed(r,Bx(t==null?void 0:t.fallback))}}function Bx(e){return typeof e=="string"?e:e==null?void 0:e.reference}var xe=e=>e?"":void 0;var _=(...e)=>e.filter(Boolean).join(" ");var wi=zt(Er(),1);function Xs(e,t){let r={};return Object.keys(e).forEach(o=>{t.includes(o)||(r[o]=e[o]);}),r}function Md(e,t,r,o){let n=typeof t=="string"?t.split("."):[t];for(o=0;o<n.length&&e;o+=1)e=e[n[o]];return e===void 0?r:e}var Id=e=>{let t=new WeakMap;return (o,n,i,a)=>{if(typeof o=="undefined")return e(o,n,i);t.has(o)||t.set(o,new Map);let s=t.get(o);if(s.has(n))return s.get(n);let l=e(o,n,i,a);return s.set(n,l),l}},Zs=Id(Md);function ki(e,t){let r={};return Object.keys(e).forEach(o=>{let n=e[o];t(n,o,e)&&(r[o]=n);}),r}var Xo=e=>ki(e,t=>t!=null);function Vd(e){return typeof e=="function"}function se(e,...t){return Vd(e)?e(...t):e}function St(...e){return function(r){e.some(o=>(o==null||o(r),r==null?void 0:r.defaultPrevented));}}var $d=zt(Nd(),1);function Ux(e,t={}){var r;let d=t,{styleConfig:o}=d,n=k(d,["styleConfig"]),{theme:i,colorMode:a}=Iu(),s=e?Zs(i,`components.${e}`):void 0,l=o||s,c=(0, wi.default)({theme:i,colorMode:a},(r=l==null?void 0:l.defaultProps)!=null?r:{},Xo(Xs(n,["children"]))),u=ht.useRef({});if(l){let p=Sd(l)(c);(0, $d.default)(u.current,p)||(u.current=p);}return u.current}function Js(e,t={}){return Ux(e,t)}var Kx=new Set([...vd,"textStyle","layerStyle","apply","noOfLines","focusBorderColor","errorBorderColor","as","__css","css","sx"]),qx=new Set(["htmlWidth","htmlHeight","htmlSize","htmlTranslate"]);function Ld(e){return qx.has(e)||!Kx.has(e)}function Qs(e,...t){if(e==null)throw new TypeError("Cannot convert undefined or null to object");let r=f({},e);for(let o of t)if(o!=null)for(let n in o)Object.prototype.hasOwnProperty.call(o,n)&&(n in r&&delete r[n],r[n]=o[n]);return r}var Yx=/^((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|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,Dd=Hn(function(e){return Yx.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91});var Xx=Dd,Zx=function(t){return t!=="theme"},jd=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?Xx:Zx},Bd=function(t,r,o){var n;if(r){var i=r.shouldForwardProp;n=t.__emotion_forwardProp&&i?function(a){return t.__emotion_forwardProp(a)&&i(a)}:i;}return typeof n!="function"&&o&&(n=t.__emotion_forwardProp),n};var Jx=function(t){var r=t.cache,o=t.serialized,n=t.isStringTag;return Mo(r,o,n),ii(function(){return ri(r,o,n)}),null},zd=function e(t,r){var o=t.__emotion_real===t,n=o&&t.__emotion_base||t,i,a;r!==void 0&&(i=r.label,a=r.target);var s=Bd(t,r,o),l=s||jd(n),c=!l("as");return function(){var u=arguments,d=o&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(i!==void 0&&d.push("label:"+i+";"),u[0]==null||u[0].raw===void 0)d.push.apply(d,u);else {d.push(u[0][0]);for(var m=u.length,p=1;p<m;p++)d.push(u[p],u[0][p]);}var g=si(function(y,b,x){var S=c&&y.as||n,C="",w=[],P=y;if(y.theme==null){P={};for(var E in y)P[E]=y[E];P.theme=ht__namespace.useContext(Vo);}typeof y.className=="string"?C=ti(b.registered,w,y.className):y.className!=null&&(C=y.className+" ");var A=oi(d.concat(w),b.registered,P);C+=b.key+"-"+A.name,a!==void 0&&(C+=" "+a);var M=c&&s===void 0?jd(S):l,O={};for(var B in y)c&&B==="as"||M(B)&&(O[B]=y[B]);return O.className=C,O.ref=x,ht__namespace.createElement(ht__namespace.Fragment,null,ht__namespace.createElement(Jx,{cache:b,serialized:A,isStringTag:typeof S=="string"}),ht__namespace.createElement(S,O))});return g.displayName=i!==void 0?i:"Styled("+(typeof n=="string"?n:n.displayName||n.name||"Component")+")",g.defaultProps=t.defaultProps,g.__emotion_real=g,g.__emotion_base=n,g.__emotion_styles=d,g.__emotion_forwardProp=s,Object.defineProperty(g,"toString",{value:function(){return "."+a}}),g.withComponent=function(y,b){return e(y,_r({},r,b,{shouldForwardProp:Bd(g,b,!0)})).apply(void 0,d)},g}};var Qx=["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"],Zo=zd.bind();Qx.forEach(function(e){Zo[e]=Zo(e);});var Wd,eS=(Wd=Zo.default)!=null?Wd:Zo,tS=({baseStyle:e})=>t=>{let d=t,{theme:r,css:o,__css:n,sx:i}=d,a=k(d,["theme","css","__css","sx"]),s=ki(a,(m,p)=>bd(p)),l=se(e,t),c=Qs({},n,l,Xo(s),i),u=xd(c)(t.theme);return o?[u,o]:u};function Ti(e,t){let s=t!=null?t:{},{baseStyle:r}=s,o=k(s,["baseStyle"]);o.shouldForwardProp||(o.shouldForwardProp=Ld);let n=tS({baseStyle:r}),i=eS(e,o)(n);return ht__namespace.default.forwardRef(function(c,u){let{colorMode:d,forced:m}=Oo();return ht__namespace.default.createElement(i,f({ref:u,"data-theme":m?d:void 0},c))})}function rS(){let e=new Map;return new Proxy(Ti,{apply(t,r,o){return Ti(...o)},get(t,r){return e.has(r)||e.set(r,Ti(r)),e.get(r)}})}var Rr=rS();function Jo(e){return ht.forwardRef(e)}function Oe(e={}){let{strict:t=!0,errorMessage:r="useContext: `context` is undefined. Seems you forgot to wrap component within the Provider",name:o}=e,n=ht.createContext(void 0);n.displayName=o;function i(){var a;let s=ht.useContext(n);if(!s&&t){let l=new Error(r);throw l.name="ContextError",(a=Error.captureStackTrace)==null||a.call(Error,l,i),l}return s}return [n.Provider,i,n]}var Pi=(...e)=>e.filter(Boolean).join(" "),Hd={path:jsxRuntime.jsxs("g",{stroke:"currentColor",strokeWidth:"1.5",children:[jsxRuntime.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"}),jsxRuntime.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"}),jsxRuntime.jsx("circle",{fill:"none",strokeMiterlimit:"10",cx:"12",cy:"12",r:"11.25"})]}),viewBox:"0 0 24 24"},Ud=Jo((e,t)=>{let b=e,{as:r,viewBox:o,color:n="currentColor",focusable:i=!1,children:a,className:s,__css:l}=b,c=k(b,["as","viewBox","color","focusable","children","className","__css"]),u=Pi("chakra-icon",s),d=Js("Icon",e),m=f(f({w:"1em",h:"1em",display:"inline-block",lineHeight:"1em",flexShrink:0,color:n},l),d),p={ref:t,focusable:i,className:u,__css:m},g=o!=null?o:Hd.viewBox;if(r&&typeof r!="string")return jsxRuntime.jsx(Rr.svg,f(f({as:r},p),c));let y=a!=null?a:Hd.path;return jsxRuntime.jsx(Rr.svg,v(f(f({verticalAlign:"middle",viewBox:g},p),c),{children:y}))});Ud.displayName="Icon";function lS(e){let{viewBox:t="0 0 24 24",d:r,displayName:o,defaultProps:n={}}=e,i=ht.Children.toArray(e.path),a=Jo((s,l)=>jsxRuntime.jsx(Ud,v(f(f({ref:l,viewBox:t},n),s),{children:i.length?i:jsxRuntime.jsx("path",{fill:"currentColor",d:r})})));return a.displayName=o,a}var Se=e=>lS(f({viewBox:"0 0 24 24",defaultProps:{fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}},e));Se({displayName:"ChevronUpIcon",path:jsxRuntime.jsx("polyline",{points:"18 15 12 9 6 15"})});Se({displayName:"ChevronDownIcon",path:jsxRuntime.jsx("polyline",{points:"6 9 12 15 18 9"})});Se({displayName:"ChevronLeftIcon",path:jsxRuntime.jsx("polyline",{points:"15 18 9 12 15 6"})});Se({displayName:"ChevronRightIcon",path:jsxRuntime.jsx("polyline",{points:"9 18 15 12 9 6"})});Se({displayName:"ChevronDownIcon",path:jsxRuntime.jsxs("g",{fill:"none",children:[jsxRuntime.jsx("line",{x1:"3",y1:"12",x2:"21",y2:"12"}),jsxRuntime.jsx("line",{x1:"3",y1:"6",x2:"21",y2:"6"}),jsxRuntime.jsx("line",{x1:"3",y1:"18",x2:"21",y2:"18"})]})});var Xd=Se({displayName:"CloseIcon",path:jsxRuntime.jsxs("g",{children:[jsxRuntime.jsx("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),jsxRuntime.jsx("line",{x1:"6",y1:"6",x2:"18",y2:"18"})]})});Se({displayName:"FilterIcon",path:jsxRuntime.jsx("polygon",{points:"22 3 2 3 10 12.46 10 19 14 21 14 12.46 22 3"})});Se({displayName:"CalendarIcon",path:jsxRuntime.jsxs("g",{children:[jsxRuntime.jsx("rect",{x:"3",y:"4",width:"18",height:"18",rx:"2",ry:"2"}),jsxRuntime.jsx("line",{x1:"16",y1:"2",x2:"16",y2:"6"}),jsxRuntime.jsx("line",{x1:"8",y1:"2",x2:"8",y2:"6"}),jsxRuntime.jsx("line",{x1:"3",y1:"10",x2:"21",y2:"10"})]})});Se({displayName:"PlusIcon",path:jsxRuntime.jsxs("g",{children:[jsxRuntime.jsx("line",{x1:"12",y1:"5",x2:"12",y2:"19"}),jsxRuntime.jsx("line",{x1:"5",y1:"12",x2:"19",y2:"12"})]})});Se({displayName:"MinusIcon",path:jsxRuntime.jsx("g",{children:jsxRuntime.jsx("line",{x1:"5",y1:"12",x2:"19",y2:"12"})})});Se({displayName:"ViewOffIcon",path:jsxRuntime.jsxs("g",{children:[jsxRuntime.jsx("path",{d:"M17.94 17.94A10.07 10.07 0 0 1 12 20c-7 0-11-8-11-8a18.45 18.45 0 0 1 5.06-5.94M9.9 4.24A9.12 9.12 0 0 1 12 4c7 0 11 8 11 8a18.5 18.5 0 0 1-2.16 3.19m-6.72-1.07a3 3 0 1 1-4.24-4.24"}),jsxRuntime.jsx("line",{x1:"1",y1:"1",x2:"23",y2:"23"})]})});Se({displayName:"ViewOffIcon",path:jsxRuntime.jsxs("g",{children:[jsxRuntime.jsx("path",{d:"M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z"}),jsxRuntime.jsx("circle",{cx:"12",cy:"12",r:"3"})]})});var Zd=Se({displayName:"SearchIcon",path:jsxRuntime.jsxs("g",{children:[jsxRuntime.jsx("circle",{cx:"11",cy:"11",r:"8"}),jsxRuntime.jsx("line",{x1:"21",y1:"21",x2:"16.65",y2:"16.65"})]})});Se({displayName:"CheckIcon",path:jsxRuntime.jsx("g",{children:jsxRuntime.jsx("polyline",{points:"20 6 9 17 4 12"})})});var Jd=I("app-shell").parts("container","inner","main"),el=I("emptystate").parts("container","body","icon","title","descripton","actions","footer"),Qd=I("banner").parts("container","icon","content","title","description","actions","close"),ef=I("hotkeys").parts("container","group","groupTitle","item","command","then"),tf=I("loading-overlay").parts("overlay","text"),rf=I("nav-group").parts("container","title","icon","content"),of=I("nav-item").parts("item","link","inner","icon","label"),nf=I("nprogress").parts("container","bar"),af=I("persona").parts("container","details","avatar","label","secondaryLabel","tertiaryLabel"),sf=I("search-input").parts("input","reset"),lf=I("sidebar").parts("container","overlay","section","toggleWrapper","toggle");I("stepper").parts("container","steps","icon","content","title","separator");var cf=I("structured-list").parts("list","item","button","header","cell","icon"),tl=I("property").parts("property","label","value"),uf=I("select").parts("addon","field","element"),df=I("timeline").parts("container","item","separator","icon","dot","track","content");var{definePartsStyle:wS,defineMultiStyleConfig:kS}=T(Jd.keys),_S=wS({container:{},inner:{},main:{}}),TS=kS({defaultProps:{variant:"fullscreen"},variants:{static:{},fullscreen:{container:{position:"absolute",inset:0}}},baseStyle:_S}),{definePartsStyle:al,defineMultiStyleConfig:PS}=T(Qd.keys),AS=al({container:{px:4,py:3},content:{display:"flex",flex:1,flexDirection:["column",null,"row"]},title:{fontWeight:"bold",lineHeight:6,marginEnd:2},description:{lineHeight:6,marginEnd:2},actions:{marginEnd:2},icon:{flexShrink:0,marginEnd:3,w:5,h:6}}),ES=al(e=>{let{theme:t,colorScheme:r}=e;return {container:{bg:`${r}.100`,_dark:{bg:te(`${r}.200`,.16)(t)}},icon:{color:`${r}.500`,_dark:{color:`${r}.200`}}}}),RS=al(e=>{let{colorScheme:t}=e;return {container:{bg:`${t}.500`,color:"white"}}}),MS=PS({baseStyle:AS,variants:{subtle:ES,solid:RS},defaultProps:{variant:"subtle",colorScheme:"blue"}}),IS={baseStyle:{fontSize:"xs","[role=tooltip] > &":{ms:1,_before:{content:'"\u2022"',me:1,fontSize:"xs"}}}},{definePartsStyle:_f,defineMultiStyleConfig:VS}=T(el.keys),OS=_f(e=>{let{colorScheme:t}=e;return {icon:{boxSize:[10,null,12],color:`${t}.500`,_dark:{color:`${t}.200`}},title:{mt:8,fontWeight:"bold",fontSize:"xl"},actions:{mt:8}}}),NS=_f(e=>({body:{display:"flex",flexDirection:"column",textAlign:"center",alignItems:"center"}})),$S=VS({baseStyle:OS,variants:{centered:NS}}),{definePartsStyle:LS,defineMultiStyleConfig:DS}=T(Ws.keys),jS=LS({container:{display:"flex",alignItems:"center",flexDirection:"row-reverse",justifyContent:"flex-end"}}),BS=DS({variants:{horizontal:jS}}),zS={defaultProps:{spacing:4}},FS={baseStyle:{fontWeight:"semibold",mb:4}},{definePartsStyle:CN,defineMultiStyleConfig:WS}=T(ef.keys),HS=WS({baseStyle:{container:{fontSize:"md"},group:{my:2,py:2},groupTitle:{py:2,fontWeight:"semibold",fontSize:"sm"},item:{display:"flex",alignItems:"center",textAlign:"start",flex:"0 0 auto",py:2},then:{mr:1,fontSize:"sm",color:"muted"}}}),{defineMultiStyleConfig:GS,definePartsStyle:Mi}=T(tf.keys),US=Mi({overlay:{p:4},text:{}}),KS=Mi(()=>({overlay:{flex:1,height:"100%",bg:"whiteAlpha.400",_dark:{bg:"blackAlpha.400"}}})),qS=Mi(()=>({overlay:{position:"fixed",inset:0,zIndex:"modal",bg:"white",_dark:{bg:"gray.800"}}})),YS=Mi(()=>({overlay:{position:"absolute",inset:0,bg:"whiteAlpha.300",_dark:{bg:"blackAlpha.300"}}})),XS=GS({defaultProps:{variant:"fill"},baseStyle:US,variants:{fill:KS,fullscreen:qS,overlay:YS}}),{definePartsStyle:ZS,defineMultiStyleConfig:JS}=T(rf.keys),QS=ZS(e=>({container:{"&:not(:last-of-type)":{mb:4}},title:{display:"flex",alignItems:"center",px:3,my:1,height:6,fontSize:"sm",fontWeight:"medium",color:"muted",transitionProperty:"common",transitionDuration:"normal","&.sui-collapse-toggle .chakra-icon":{opacity:0},"&.sui-collapse-toggle":{cursor:"pointer",borderRadius:"md",_hover:{bg:"blackAlpha.100","& .chakra-icon":{opacity:1},_dark:{bg:"whiteAlpha.200"}}},"[data-compact] &":{opacity:0}},content:{}})),e1=JS({baseStyle:QS}),{definePartsStyle:tn,defineMultiStyleConfig:t1}=T(of.keys),r1=tn(e=>({item:{my:"2px",color:"gray.900",minW:1,_dark:{color:"whiteAlpha.900"}},link:{display:"flex",rounded:"md",justifyContent:"flex-start",alignItems:"center",textDecoration:"none",transitionProperty:"common",transitionDuration:"normal",minW:1,_hover:{textDecoration:"none"},_focusVisible:{outline:"none",boxShadow:"outline"}},inner:{display:"flex",flex:1,w:"100%",alignItems:"center",minW:1},label:{whiteSpace:"nowrap",textOverflow:"ellipsis",overflow:"hidden"},icon:{display:"flex",transitionProperty:"common",transitionDuration:"normal",alignItems:"center",justifyContent:"center",width:"4",ml:"-0.25rem",color:"currentColor"}})),o1=tn(e=>{let t={bg:"blackAlpha.200",_dark:{bg:"whiteAlpha.300"}};return {link:{_hover:{bg:"blackAlpha.100",_dark:{bg:"whiteAlpha.200"}},_active:t,["&[aria-current=page]"]:t},icon:{opacity:.8,"[data-active] &":{opacity:1}}}}),n1=tn(e=>{let{colorScheme:t,theme:r}=e,o={bg:te(`${t}.500`,.3)(r),fontWeight:"semibold",color:`${t}.600`,_dark:{bg:te(`${t}.500`,.3)(r),color:`${t}.100`}};return {link:{_hover:{bg:"blackAlpha.100",_dark:{bg:"whiteAlpha.200"}},_active:o,["&[aria-current=page]"]:o}}}),i1=tn(e=>{let{colorScheme:t}=e,r={bg:`${t}.500`};return {link:{_hover:{bg:"blackAlpha.100",_dark:{bg:"whiteAlpha.200"}},_active:r,["&[aria-current=page]"]:r,color:"white"},icon:{color:"white"},label:{}}}),a1=tn(e=>{let{colorScheme:t}=e,r={color:"inherit",_before:{content:'""',display:"block",position:"absolute",top:0,bottom:0,left:-3,width:"3px",bg:`${t}.500`}};return {item:{position:"relative"},link:{color:"muted",_hover:{color:"inherit",bg:"blackAlpha.100",_dark:{bg:"whiteAlpha.200"}},_active:r,["&[aria-current=page]"]:r},icon:{"[data-active] &":{color:"currentColor"}},label:{}}}),ff,mf,pf,hf,s1=t1({defaultProps:{size:"sm",colorScheme:"primary",variant:"neutral"},baseStyle:r1,sizes:{xs:{link:(ff=react.theme.components.Button.sizes)==null?void 0:ff.xs,icon:{me:1,fontSize:"xs"}},sm:{link:(mf=react.theme.components.Button.sizes)==null?void 0:mf.sm,icon:{me:2,fontSize:"sm"}},md:{link:(pf=react.theme.components.Button.sizes)==null?void 0:pf.md,icon:{me:2,fontSize:"md"}},lg:{link:(hf=react.theme.components.Button.sizes)==null?void 0:hf.lg,icon:{me:3,fontSize:"lg"}}},variants:{neutral:o1,subtle:n1,solid:i1,"left-accent":a1}}),{definePartsStyle:Tf,defineMultiStyleConfig:Pf}=T(nf.keys),l1=Tf(e=>{let{colorScheme:t}=e;return {bar:{bg:`${t}.500`,_dark:{bg:`${t}.300`}}}}),c1=Pf({defaultProps:{colorScheme:"teal"},baseStyle:l1}),{definePartsStyle:kt,defineMultiStyleConfig:u1}=T(af.keys),gf=e=>({color:"gray.500",overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",minW:0,_dark:{color:"whiteAlpha.600"}}),d1=kt(e=>({details:{minW:0},secondaryLabel:gf(),tertiaryLabel:gf()})),f1={"2xs":kt({details:{ms:2},label:{fontSize:"xs"},secondaryLabel:{display:"none"},tertiaryLabel:{display:"none"}}),xs:kt({details:{ms:2},label:{fontSize:"md"},secondaryLabel:{display:"none"},tertiaryLabel:{display:"none"}}),sm:kt({details:{ms:2},label:{fontSize:"md"},secondaryLabel:{fontSize:"sm"},tertiaryLabel:{display:"none"}}),md:kt({details:{ms:2},label:{fontSize:"md"},secondaryLabel:{fontSize:"sm"},tertiaryLabel:{display:"none"}}),lg:kt({details:{ms:3},label:{fontSize:"md"},secondaryLabel:{fontSize:"sm"},tertiaryLabel:{fontSize:"sm"}}),xl:kt({details:{ms:3},label:{fontSize:"xl"},secondaryLabel:{fontSize:"md"},tertiaryLabel:{fontSize:"md"}}),"2xl":kt({details:{ms:4},label:{fontSize:"2xl"},secondaryLabel:{fontSize:"lg"},tertiaryLabel:{fontSize:"lg"}})},m1=u1({defaultProps:{size:"md"},baseStyle:d1,sizes:f1}),{definePartsStyle:MN,defineMultiStyleConfig:p1}=T(tl.keys),h1=p1({baseStyle:{label:{display:"flex",flexDirection:"row",minWidth:"100px",width:"30%",marginEnd:2,py:2,color:"gray.500",_dark:{color:"gray.400"}}}}),{defineMultiStyleConfig:g1}=T(sf.keys),y1=g1({baseStyle:{input:{pr:8}},sizes:{sm:{reset:{fontSize:"0.7em"}},lg:{input:{pr:10}}}}),{definePartsStyle:sl,defineMultiStyleConfig:v1}=T(lf.keys),b1=sl(e=>{let{colorScheme:t}=e;return {container:{bg:t?`${t}.500`:"white",display:"flex",flexDirection:"column",borderRightWidth:"1px",_dark:{bg:t?`${t}.500`:"gray.800"}},overlay:{bg:"blackAlpha.200"}}}),x1=sl(e=>({container:{width:"280px",maxWidth:["100vw","320px"],minWidth:"220px",py:3,"&[data-collapsible]":{pt:14}},section:{px:3},toggleWrapper:{h:8,mb:4,display:"none","[data-collapsible] &":{display:"block"}}})),S1=sl(e=>({container:{width:"14",py:3},section:{px:3},toggleWrapper:{display:"none"}})),C1=v1({defaultProps:{variant:"default"},baseStyle:b1,variants:{default:x1,compact:S1}}),{definePartsStyle:lt,defineMultiStyleConfig:w1}=T(Kt.keys),Mr=V("input-height"),Ir=V("input-font-size"),Vr=V("input-padding"),Or=V("input-border-radius"),k1=lt({addon:{height:Mr.reference,fontSize:Ir.reference,px:Vr.reference,borderRadius:Or.reference},field:{width:"100%",height:Mr.reference,fontSize:Ir.reference,px:Vr.reference,borderRadius:Or.reference,minWidth:0,outline:0,position:"relative",appearance:"none",transitionProperty:"common",transitionDuration:"normal",_disabled:{opacity:.4,cursor:"not-allowed"}}}),wt={lg:{[Ir.variable]:"fontSizes.lg",[Vr.variable]:"space.4",[Or.variable]:"radii.md",[Mr.variable]:"sizes.12"},md:{[Ir.variable]:"fontSizes.md",[Vr.variable]:"space.4",[Or.variable]:"radii.md",[Mr.variable]:"sizes.10"},sm:{[Ir.variable]:"fontSizes.sm",[Vr.variable]:"space.3",[Or.variable]:"radii.sm",[Mr.variable]:"sizes.8"},xs:{[Ir.variable]:"fontSizes.xs",[Vr.variable]:"space.2",[Or.variable]:"radii.sm",[Mr.variable]:"sizes.6"}},_1={lg:lt({field:wt.lg,group:wt.lg}),md:lt({field:wt.md,group:wt.md}),sm:lt({field:wt.sm,group:wt.sm}),xs:lt({field:wt.xs,group:wt.xs})};function ll(e){let{focusBorderColor:t,errorBorderColor:r}=e;return {focusBorderColor:t||Y("blue.500","blue.300")(e),errorBorderColor:r||Y("red.500","red.300")(e)}}var T1=lt(e=>{let{theme:t}=e,{focusBorderColor:r,errorBorderColor:o}=ll(e);return {field:{border:"1px solid",borderColor:"inherit",bg:"inherit",_hover:{borderColor:Y("gray.300","whiteAlpha.400")(e)},_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:ae(t,o),boxShadow:`0 0 0 1px ${ae(t,o)}`},_focusVisible:{zIndex:1,borderColor:ae(t,r),boxShadow:`0 0 0 1px ${ae(t,r)}`}},addon:{border:"1px solid",borderColor:Y("inherit","whiteAlpha.50")(e),bg:Y("gray.100","whiteAlpha.300")(e)}}}),P1=lt(e=>{let{theme:t}=e,{focusBorderColor:r,errorBorderColor:o}=ll(e);return {field:{border:"2px solid",borderColor:"transparent",bg:Y("gray.100","whiteAlpha.50")(e),_hover:{bg:Y("gray.200","whiteAlpha.100")(e)},_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:ae(t,o)},_focusVisible:{bg:"transparent",borderColor:ae(t,r)}},addon:{border:"2px solid",borderColor:"transparent",bg:Y("gray.100","whiteAlpha.50")(e)}}}),A1=lt(e=>{let{theme:t}=e,{focusBorderColor:r,errorBorderColor:o}=ll(e);return {field:{borderBottom:"1px solid",borderColor:"inherit",borderRadius:"0",px:"0",bg:"transparent",_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:ae(t,o),boxShadow:`0px 1px 0px 0px ${ae(t,o)}`},_focusVisible:{borderColor:ae(t,r),boxShadow:`0px 1px 0px 0px ${ae(t,r)}`}},addon:{borderBottom:"2px solid",borderColor:"inherit",borderRadius:"0",px:"0",bg:"transparent"}}}),E1=lt({field:{bg:"transparent",px:"0",height:"auto"},addon:{bg:"transparent",px:"0",height:"auto"}}),R1={outline:T1,filled:P1,flushed:A1,unstyled:E1},_t=w1({baseStyle:k1,sizes:_1,variants:R1,defaultProps:{size:"md",variant:"outline"}}),{defineMultiStyleConfig:M1}=T(uf.keys),I1=M1({defaultProps:_t.defaultProps,baseStyle:_t.baseStyle,sizes:_t.sizes,variants:_t.variants}),{definePartsStyle:V1,defineMultiStyleConfig:O1}=T(cf.keys),N1=V1(e=>({item:{py:2,px:4},button:{transitionProperty:"common",transitionDuration:"normal",borderRadius:"inherit",outline:"none",_hover:{bg:"blackAlpha.50",_dark:{bg:"whiteAlpha.50"}},_focusVisible:{boxShadow:"outline"},_focus:{bg:"blackAlpha.50",_dark:{bg:"whiteAlpha.50"}},_active:{bg:"blackAlpha.100",_dark:{bg:"whiteAlpha.100"}}}})),$1=O1({defaultProps:{size:"md"},baseStyle:N1,sizes:{sm:{item:{py:1,px:1},button:{py:1,px:1},cell:{px:1},icon:{px:1}},md:{item:{py:2,px:2},button:{py:2,px:2},cell:{px:2},icon:{px:2}}}}),{definePartsStyle:cl,defineMultiStyleConfig:L1}=T(df.keys),D1=cl(e=>({container:{},item:{minHeight:"32px",position:"relative"},separator:{width:"24px",flexShrink:0},icon:{color:"gray.300",py:"7px",_dark:{color:"gray.600"}},dot:{width:"9px",height:"9px",bg:"currentColor",borderRadius:"full"},track:{bg:"gray.300",width:"1px",flex:1,_dark:{bg:"gray.600"}},content:{pt:"1px",px:"2"}})),j1=cl(e=>({icon:{}})),B1=cl(e=>({dot:{bg:"transparent",borderColor:"currentColor",borderWidth:"2px"}})),z1=L1({defaultProps:{variant:"solid",size:"sm"},baseStyle:D1,variants:{solid:j1,outline:B1},sizes:{sm:{icon:{minH:"8px",minW:"8px"}}}}),F1={baseStyle:{display:"inline-flex",alignItems:"center",justifyContent:"center"},variants:{outline:({colorScheme:e})=>({borderWidth:"1px",borderColor:e?`${e}.500`:"chakra-border-color",color:e?`${e}.500`:"currentColor"}),solid:({colorScheme:e="gray"})=>({bg:`${e}.500`,color:"white"})},sizes:{sm:{borderRadius:"sm",fontSize:"0.9em",w:6,h:6},md:{borderRadius:"md",fontSize:"1.1em",w:8,h:8},lg:{borderRadius:"md",fontSize:"1.3em",w:10,h:10}},defaultProps:{variant:"outline",size:"md"}},W1=I("navbar").parts("container","inner","brand","content","item","link"),{defineMultiStyleConfig:H1,definePartsStyle:G1}=T(W1.keys),yf=V("navbar-bg"),vf=V("navbar-text-color","currentColor"),rl=V("navbar-link-bg","transparent"),U1=["yellow","cyan"],K1=H1({baseStyle:G1(({colorScheme:e})=>{let t="currentColor";return e&&(t=U1.includes(e)?"colors.black":"colors.white"),{container:{display:"flex",[yf.variable]:e?`colors.${e}.500`:"chakra-body-bg",[vf.variable]:t,bg:yf.reference,color:vf.reference,zIndex:"overlay",width:"full",height:"auto",alignItems:"center",justifyContent:"center",data:{"& [data-menu-open=true]":{border:"none"}}},inner:{display:"flex",alignItems:"center",justifyContent:"space-between",width:"full",height:"var(--navbar-height)",px:6,gap:4,flexWrap:"nowrap"},toggle:{display:"flex",alignItems:"center",justifyContent:"center",width:6,height:"full",outline:"none",borderRadius:"sm"},brand:{display:"flex",alignItems:"center",justifyContent:"flex-start",height:"full",bg:"transparent",textDecoration:"none",color:"inherit",whiteSpace:"nowrap",boxSizing:"border-box"},content:{display:"flex",alignItems:"center",justifyContent:"flex-start",flex:1,listStyle:"none"},item:{display:"inline-flex",p:0},link:{bg:rl.reference,color:"current",display:"inline-flex",alignItems:"center",justifyContent:"center",textDecoration:"none",whiteSpace:"nowrap",boxSizing:"border-box",borderRadius:"md",transitionProperty:"common",transitionDuration:"normal",lineHeight:1,px:3,h:8,_focusVisible:{outline:"none",boxShadow:"outline"},_hover:{[rl.variable]:"colors.blackAlpha.100",textDecoration:"none",_dark:{[rl.variable]:"colors.whiteAlpha.200"}},_active:{fontWeight:"semibold"}}}})}),q1={SuiAppShell:TS,SuiBanner:MS,SuiCommand:IS,SuiEmptyState:$S,SuiFormLayout:zS,SuiForm:BS,SuiFormLegend:FS,SuiHotkeys:HS,SuiStructuredList:$1,SuiLoadingOverlay:XS,SuiNavGroup:e1,SuiNavItem:s1,SuiPersona:m1,SuiProperty:h1,SuiNProgress:c1,SuiSearchInput:y1,SuiSelect:I1,SuiSidebar:C1,SuiTimeline:z1,SuiIconBadge:F1,SuiNavbar:K1},ul=react.extendTheme({colors:{primary:react.theme.colors.blue},semanticTokens:{colors:{"presence.online":"green.500","presence.offline":"gray.400","presence.busy":"orange.500","presence.dnd":"red.500","presence.away":"gray.400"}},components:q1}),Y1={global:e=>({body:{WebkitFontSmoothing:"antialiased",TextRendering:"optimizelegibility"}})},ol={black:"#0e1012",gray:{50:"#f9fafa",100:"#f1f1f2",200:"#e7e7e8",300:"#d3d4d5",400:"#abadaf",500:"#7d7f83",600:"#52555a",700:"#33373d",800:"#1d2025",900:"#171a1d"},purple:{50:"#f9f6fd",100:"#e5daf8",200:"#d3bef4",300:"#b795ec",400:"#a379e7",500:"#8952e0",600:"#7434db",700:"#6023c0",800:"#4f1d9e",900:"#3b1676"},pink:{50:"#fdf5f9",100:"#f8d9e7",200:"#f3b9d3",300:"#eb8db8",400:"#e56ba2",500:"#dc3882",600:"#c4246c",700:"#a01d58",800:"#7d1745",900:"#5d1133"},red:{50:"#fdf6f5",100:"#f8d9d8",200:"#f1b8b4",300:"#e98d87",400:"#e4726c",500:"#dc4a41",600:"#d2140a",700:"#ac0900",800:"#930800",900:"#6d0600"},orange:{50:"#fdfaf6",100:"#f9ebdb",200:"#f1d4b1",300:"#e6b273",400:"#dc9239",500:"#c37b24",600:"#a5681e",700:"#835318",800:"#674113",900:"#553610"},yellow:{50:"#fffefb",100:"#fff8e9",200:"#feecbd",300:"#fddc87",400:"#fbc434",500:"#d2a01e",600:"#a88018",700:"#836413",800:"#624b0e",900:"#513e0c"},green:{50:"#f7fdfb",100:"#d2f2e7",200:"#9fe3cd",300:"#64d2ad",400:"#1dbd88",500:"#0ea371",600:"#0c875e",700:"#096949",800:"#07563c",900:"#064731"},teal:{50:"#f1fcfc",100:"#c0f1f4",200:"#84e4e9",300:"#2dd1da",400:"#22b2ba",500:"#1d979e",600:"#187b80",700:"#125f64",800:"#0f5053",900:"#0d4244"},cyan:{50:"#f4fbfd",100:"#d0eef7",200:"#bae7f3",300:"#a2deee",400:"#53c2e1",500:"#2ab4d9",600:"#24a2c4",700:"#1e86a2",800:"#196e85",900:"#135567"},blue:{50:"#f1f6fd",100:"#cde0f6",200:"#a8c8f0",300:"#7fafe8",400:"#5896e1",500:"#347fdb",600:"#236abf",700:"#1b5192",800:"#164278",900:"#123662"},indigo:{50:"#f8f7fc",100:"#e1ddf5",200:"#c8c0ec",300:"#a89de2",400:"#9789dc",500:"#7f6ed4",600:"#6a58c9",700:"#5546a1",800:"#483c88",900:"#342b62"}},nl=f({primary:ol.purple,secondary:ol.cyan},ol),X1={heading:"InterVariable, Inter, sans-serif",body:"InterVariable, Inter, sans-serif"},Z1={"3xs":"0.45rem","2xs":"0.625rem",xs:"0.75rem",sm:"0.8125rem",md:"0.875rem",lg:"1rem",xl:"1.125rem","2xl":"1.25rem","3xl":"1.5rem","4xl":"1.875rem","5xl":"2.25rem","6xl":"3rem","7xl":"3.75rem","8xl":"4.5rem","9xl":"6rem"},J1={h1:{fontSize:["5xl","6xl","7xl"],fontWeight:"extrabold",lineHeight:"1.2",letterSpacing:"-2%"},h2:{fontSize:["3xl","4xl","5xl"],fontWeight:"extrabold",lineHeight:"1.1",letterSpacing:"-1%"},h3:{fontSize:["lg","xl"],fontWeight:"extrabold",lineHeight:"1.1",letterSpacing:"-1%"},subtitle:{fontSize:["lg",null,"2xl"],fontWeight:"normal"}},Q1={container:{sm:"30em",md:"48em",lg:"62em",xl:"80em","2xl":"96em"}},eC=Q1,tC={outline:`0 0 0 2px ${te(nl.primary[500],.6)({colors:nl})}`},rC=tC,oC={colors:{"chakra-border-color":{_light:"gray.200",_dark:"whiteAlpha.200"},muted:{default:"gray.500",_dark:"gray.400"},neutral:{default:"black",_dark:"white"},"neutral-fg":{default:"white",_dark:"black"}}},nC={colors:nl,fonts:X1,fontSizes:Z1,textStyles:J1,sizes:eC,shadows:rC,semanticTokens:oC},{definePartsStyle:Af,defineMultiStyleConfig:iC}=T(Wo.keys),aC=Af(e=>{let{colorScheme:t}=e;return {container:{bg:"white",_dark:{bg:"black"},borderWidth:"1px"},icon:{color:`${t}.500`,_dark:{color:`${t}.500`},"& .chakra-spinner":{color:"black",_dark:{color:"white"}}},title:{fontWeight:"semibold",fontSize:"md"},description:{fontSize:"sm",color:"gray.500",_dark:{color:"gray.400"}}}}),sC=Af({container:{borderRadius:"md"}}),lC=iC({defaultProps:{size:"sm"},baseStyle:sC,variants:{snackbar:aC}}),Ef=e=>{let{colorScheme:t}=e;return t==="gray"?{base:Y("gray.100","whiteAlpha.300")(e),hover:Y("gray.200","whiteAlpha.400")(e),active:Y("gray.300","whiteAlpha.500")(e)}:t==="white"?{base:"whiteAlpha.900",hover:"whiteAlpha.700",active:"whiteAlpha.500"}:{base:Y(`${t}.500`,`${t}.500`)(e),hover:Y(`${t}.600`,`${t}.600`)(e),active:Y(`${t}.700`,`${t}.700`)(e)}},cC={yellow:{bg:"yellow.400",hoverBg:"yellow.500",activeBg:"yellow.600",color:"black"},cyan:{bg:"cyan.400",color:"black",hoverBg:"cyan.500",activeBg:"cyan.600"}},Ii=e=>{var t;let{colorScheme:r,colorMode:o}=e;if(r==="white")return {bg:"white",color:"black",_hover:{bg:"whiteAlpha.900",_dark:{bg:"whiteAlpha.900"},_disabled:{bg:"white"}},_active:{bg:"whiteAlpha.800",_dark:{bg:"whiteAlpha.800"}},_disabled:{color:"blackAlpha.700"}};if(r==="neutral")return {bg:"black",color:"white",_dark:{bg:"white",color:"black"},_hover:{bg:"blackAlpha.800",_disabled:{bg:"black"},_dark:{bg:"whiteAlpha.800",_disabled:{bg:"white"}}},_active:{bg:"blackAlpha.800",_dark:{bg:"whiteAlpha.800"}},_disabled:{color:"blackAlpha.700",_dark:{color:"whiteAlpha.700"}}};let{base:n,hover:i,active:a}=Ef(e),{color:s=r==="gray"?Y("black","white")(e):"white",bg:l=n,hoverBg:c=i,activeBg:u=a}=(t=cC[r])!=null?t:{};return {bg:l,color:s,_hover:{bg:c,_disabled:{bg:l}},_active:{bg:u}}},uC=e=>f({shadow:"md"},Ii(e)),Rf=e=>{let{colorScheme:t}=e,{base:r,hover:o,active:n}=Ef(e);return v(f({},Mf(e)),{borderColor:t==="gray"?o:r,borderWidth:"1px",_hover:{borderColor:t==="gray"?n:o}})},Mf=e=>{let{colorScheme:t,theme:r}=e;if(t==="gray")return {color:"inherit",_dark:{color:"whiteAlpha.900"},_hover:{bg:"blackAlpha.100",_dark:{bg:"whiteAlpha.200"}},_active:{bg:"blackAlpha.200",_dark:{bg:"whiteAlpha.300"}}};if(t==="white")return {color:"white",_hover:{bg:"whiteAlpha.200"},_active:"whiteAlpha.300"};let o=te(`${t}.200`,.12)(r),n=te(`${t}.200`,.24)(r);return {color:`${t}.600`,_dark:{color:`${t}.200`},bg:"transparent",_hover:{bg:`${t}.50`,_dark:{bg:o}},_active:{bg:`${t}.100`,_dark:{bg:n}}}},dC=e=>{let{colorScheme:t,theme:r}=e;if(t==="gray")return {color:"inherit",bg:"blackAlpha.100",_dark:{bg:"whiteAlpha.100",color:"whiteAlpha.900"},_hover:{bg:"blackAlpha.200",_dark:{color:"white.200"}},_active:{bg:"blackAlpha.300",_dark:{bg:"whiteAlpha.300"}}};let o=t==="white"?"white":Y(`${t}.500`,`${t}.200`)(e),n=te(o,.1)(r),i=te(o,.16)(r),a=te(o,.24)(r);return {color:t==="white"?"white":Y(`${t}.600`,`${t}.200`)(e),bg:n,_hover:{bg:i},_active:{bg:a}}},fC=e=>{let{colorScheme:t}=e;return {padding:0,height:"auto",lineHeight:"normal",verticalAlign:"baseline",color:t==="white"?"white":Y(`${t}.500`,`${t}.200`)(e),_hover:{textDecoration:"underline",_disabled:{textDecoration:"none"}},_active:{color:t==="white"?"whiteAlpha.800":Y(`${t}.700`,`${t}.500`)(e)}}},mC=e=>{let{colorScheme:t}=e;return t==="gray"&&(t="primary"),Ii(v(f({},e),{variant:"solid",colorScheme:t}))},pC=e=>Ii(v(f({},e),{variant:"solid"})),hC=e=>Rf(v(f({},e),{variant:"outline"})),gC={defaultProps:{size:"sm"},variants:{solid:Ii,ghost:Mf,outline:Rf,subtle:dC,elevated:uC,link:fC,primary:mC,secondary:pC,tertiary:hC}},{definePartsStyle:Vi,defineMultiStyleConfig:yC}=T(Ks.keys),Xt=V("card-bg");V("card-padding");var dl=V("card-shadow");V("card-radius");var fl=V("card-border-width","0"),Tt=V("card-border-color"),vC=Vi(()=>({container:{transitionProperty:"common",transitionDuration:"normal"},header:{p:4},body:{p:4},footer:{p:4}})),bC=Vi(e=>({container:{[Xt.variable]:"colors.white",[Tt.variable]:"colors.blackAlpha.200",[fl.variable]:"1px",[dl.variable]:"shadows.sm",_dark:{[Xt.variable]:"colors.whiteAlpha.200",[Tt.variable]:"colors.whiteAlpha.50"},"&.chakra-linkbox:hover":{[Tt.variable]:"colors.blackAlpha.300",_dark:{[Tt.variable]:"colors.whiteAlpha.300"}}}})),xC=Vi(e=>{let{colorScheme:t}=e,r=t?"white":"inherit";return {container:{[fl.variable]:"0",[dl.variable]:"none",[Xt.variable]:t?`${t}.500`:"colors.blackAlpha.100",color:r,"&.chakra-linkbox:hover":{[Xt.variable]:t?`${t}.600`:"colors.blackAlpha.200"},_dark:{[Xt.variable]:t?`${t}.500`:"colors.whiteAlpha.100","&.chakra-linkbox:hover":{[Xt.variable]:t?`${t}.600`:"colors.whiteAlpha.200"}}}}}),SC=Vi(e=>{let{colorScheme:t}=e;return {container:{[fl.variable]:"1px",[dl.variable]:"none",[Tt.variable]:t?`${t}.500`:"colors.blackAlpha.200",[Xt.variable]:"transparent","&.chakra-linkbox:hover":{[Tt.variable]:t?`${t}.600`:"colors.blackAlpha.300"},_dark:{[Tt.variable]:t?`${t}.500`:"colors.whiteAlpha.300","&.chakra-linkbox:hover":{[Tt.variable]:t?`${t}.600`:"colors.whiteAlpha.400"}}}}}),CC=yC({defaultProps:{variant:"elevated"},baseStyle:vC,variants:{elevated:bC,outline:SC,filled:xC}}),{definePartsStyle:wC,defineMultiStyleConfig:kC}=T(zs.keys),_C=wC(e=>{let{colorScheme:t}=e;return {control:{_checked:{borderColor:`${t}.500`,bg:`${t}.500`,color:"white"}}}}),TC=kC({baseStyle:_C}),PC={defaultProps:{size:"sm"}},{definePartsStyle:il,defineMultiStyleConfig:AC}=T(Kt.keys),bf=V("input-height"),xf=V("input-padding"),Sf=V("input-border-radius"),If={sm:il({field:{[Sf.variable]:"radii.md"},group:{[Sf.variable]:"radii.md"}}),md:il({field:{[xf.variable]:"space.3",[bf.variable]:"sizes.9"},group:{[xf.variable]:"space.3",[bf.variable]:"sizes.9"}})},Vf=il(e=>({field:{borderColor:"blackAlpha.300",_dark:{borderColor:"whiteAlpha.300"},_hover:{borderColor:"blackAlpha.400",_dark:{borderColor:"whiteAlpha.400"}}}})),ml=AC({defaultProps:{focusBorderColor:"primary.500"},variants:{outline:Vf},sizes:If}),EC={variants:{horizontal:{mb:0,marginStart:"0.5rem"}}},en=ml,RC=ml,MC={defaultProps:{focusBorderColor:"primary.500"},variants:{outline:Vf},sizes:If},IC={defaultProps:{focusBorderColor:"primary.500"},variants:{outline:e=>{var t,r;return (r=(t=en.variants)==null?void 0:t.outline(e).field)!=null?r:{}}}},VC=ml,Cf,wf,OC=v(f({},_t),{defaultProps:en.defaultProps,variants:{outline:e=>{var t,r;return f({},(r=(t=en.variants)==null?void 0:t.outline(e))!=null?r:{})},flushed:e=>{var t,r;return (r=(t=_t.variants)==null?void 0:t.flushed(e))!=null?r:{}},filled:e=>{var t,r;return (r=(t=_t.variants)==null?void 0:t.filled(e))!=null?r:{}},unstyled:(wf=(Cf=_t.variants)==null?void 0:Cf.unstyled)!=null?wf:{}},sizes:en.sizes}),NC={defaultProps:{size:"lg"}},$C=e=>({color:"blackAlpha.300",_dark:{bg:"whiteAlpha.300"},borderWidth:0,borderBottomWidth:0,padding:"1px",display:"inline-block",borderRadius:"3px",minW:"20px",textAlign:"center",mr:1,":last-child":{mr:0}}),LC={defaultProps:{variant:"solid"},variants:{basic:{opacity:.6},solid:$C}},{definePartsStyle:Of,defineMultiStyleConfig:DC}=T(Ho.keys),jC=Of(e=>({list:{borderWidth:1,borderColor:"blackAlpha.200",boxShadow:"lg",_dark:{borderWidth:0,borderColor:"whiteAlpha.300",boxShadow:"dark-lg"}},divider:{borderColor:"blackAlpha.200",_dark:{borderColor:"whiteAlpha.300"}},groupTitle:{mx:3}})),BC=Of(()=>({item:{px:6},groupTitle:{color:"muted",px:3}})),zC=DC({baseStyle:jC,variants:{dialog:BC}}),{definePartsStyle:FC,defineMultiStyleConfig:WC}=T(Go.keys),HC=FC(e=>({closeButton:{top:4,insetEnd:4}})),GC=WC({baseStyle:HC}),{definePartsStyle:UC,defineMultiStyleConfig:KC}=T(Uo.keys),qC=KC({defaultProps:{colorScheme:"primary"},baseStyle:UC(e=>{let{colorScheme:t}=e;return {track:{borderRadius:"md"},filledTrack:{bg:`${t}.500`}}})}),{definePartsStyle:YC,defineMultiStyleConfig:XC}=T(Gs.keys),ZC=XC({baseStyle:YC(e=>{let{colorScheme:t}=e;return {control:{_checked:{borderColor:`${t}.500`,bg:`${t}.500`,color:"white"}}}})}),{definePartsStyle:JC,defineMultiStyleConfig:QC}=T(Us.keys),ew=QC({defaultProps:{colorScheme:"primary"},baseStyle:JC(e=>{let{colorScheme:t}=e;return {filledTrack:{bg:`${t}.500`}}})}),{definePartsStyle:tw,defineMultiStyleConfig:rw}=T(Ko.keys),ow=rw({baseStyle:tw(e=>{let{colorScheme:t}=e;return {track:{_checked:{bg:`${t}.500`}}}})}),Ei=Ue("tooltip-bg"),kf=Ue("tooltip-fg"),nw=Ue("popper-arrow-bg"),iw=e=>({display:"flex",[Ei.variable]:"colors.white",[kf.variable]:"colors.blackAlpha.900",_dark:{[Ei.variable]:"colors.gray.700",[kf.variable]:"colors.whiteAlpha.900"},px:"8px",py:"2px",bg:[Ei.reference],[nw.variable]:[Ei.reference],borderRadius:"sm",fontWeight:"medium",fontSize:"xs",boxShadow:"md",maxW:"320px",zIndex:"tooltip",borderWidth:"1px"}),aw={baseStyle:iw},Ri=V("stepper-indicator-size"),Jt=V("stepper-accent-color"),Zt=V("stepper-vertical-seperator-offset"),{defineMultiStyleConfig:sw,definePartsStyle:Pt}=T(["container","item","content","stepper","step","title","description","indicator","separator","icon","number"]),lw=Pt(({colorScheme:e})=>({container:{display:"flex",flexDirection:"column",gap:4},item:{w:"full"},content:{["&[data-orientation=vertical]"]:{mt:2,ms:Zt.reference,borderLeftWidth:"1px",ps:6}},stepper:{gap:"2",[Zt.variable]:"10px",[Jt.variable]:`colors.${e}.500`,_dark:{[Jt.variable]:`colors.${e}.500`}},separator:{transitionProperty:"common",transitionDuration:"normal",["&[data-orientation=horizontal]"]:{height:"1px"},["&[data-orientation=vertical]"]:{width:"1px"},[".sui-steps__item .chakra-step &[data-orientation=vertical]"]:{display:"none"},[".sui-steps__item &[data-orientation=vertical]"]:{position:"static",minH:4,ms:Zt.reference}},step:{["&[data-orientation=vertical]"]:{alignItems:"center"}}})),cw=Pt(e=>({})),uw=Pt(e=>({indicator:{"&[data-status=active]":{borderWidth:"0",bg:Jt.reference,color:"chakra-inverse-text"},"&[data-status=complete]":{bg:Jt.reference,color:"chakra-inverse-text"},"&[data-status=incomplete]":{borderWidth:"0",bg:"blackAlpha.200",_dark:{bg:"whiteAlpha.200"}}}})),dw=Pt(e=>{let{theme:t,colorScheme:r}=e;return {stepper:{[Jt.variable]:`colors.${r}.100`},indicator:{"&[data-status=active]":{borderWidth:"0",bg:Jt.reference,color:`${r}.500`,_dark:{bg:te(`${r}.200`,.16)(t)}},"&[data-status=complete]":{bg:Jt.reference,color:`${r}.500`,_dark:{bg:te(`${r}.200`,.24)(t),color:`${r}.200`}},"&[data-status=incomplete]":{borderWidth:"0",bg:"blackAlpha.200",color:"blackAlpha.700",_dark:{bg:"whiteAlpha.200",color:"whiteAlpha.600"}}}}}),fw=sw({defaultProps:{variant:"outline",colorScheme:"primary",size:"md"},baseStyle:lw,variants:{outline:cw,solid:uw,subtle:dw},sizes:{xs:Pt({stepper:{[Ri.variable]:"sizes.4",[Zt.variable]:"7px"}}),sm:Pt({stepper:{[Ri.variable]:"sizes.6",[Zt.variable]:"11px"}}),md:Pt({stepper:{[Ri.variable]:"sizes.7",[Zt.variable]:"14px"}}),lg:Pt({stepper:{[Ri.variable]:"sizes.8",[Zt.variable]:"16px"}})}}),{definePartsStyle:mw,defineMultiStyleConfig:pw}=T(el.keys),hw=mw(e=>{let{colorScheme:t}=e;return {icon:{boxSize:[10,null,12],color:`${t}.500`,_dark:{color:`${t}.500`}}}}),gw=pw({baseStyle:hw}),yw=Tf(e=>{let{colorScheme:t}=e;return {bar:{bg:`${t}.500`,_dark:{bg:`${t}.500`}}}}),vw=Pf({defaultProps:{colorScheme:"primary"},baseStyle:yw}),{definePartsStyle:y$,defineMultiStyleConfig:bw}=T(tl.keys),xw=bw({baseStyle:{label:{color:"muted",_dark:{color:"muted"}}}}),Sw={Alert:lC,Button:gC,Card:CC,Checkbox:TC,CloseButton:PC,Heading:NC,Kbd:LC,Menu:zC,Modal:GC,Progress:qC,Radio:ZC,Slider:ew,Switch:ow,Stepper:fw,Tooltip:aw,Input:en,PinInput:MC,FormLabel:EC,NumberInput:RC,Select:VC,Textarea:IC,SuiEmptyState:gw,SuiNProgress:vw,SuiProperty:xw,SuiSelect:OC},rn=react.extendTheme(v(f({},nC),{styles:Y1,components:Sw}),react.withDefaultColorScheme({colorScheme:"primary",components:["Radio","Switch","Checkbox"]}),ul);var Oi=ht.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});var At=ht.createContext({});var Et=ht.createContext(null);var Rt=typeof document!="undefined";var Nr=Rt?ht.useLayoutEffect:ht.useEffect;var Ni=ht.createContext({strict:!1});function $f(e,t,r,o){let{visualElement:n}=ht.useContext(At),i=ht.useContext(Ni),a=ht.useContext(Et),s=ht.useContext(Oi).reducedMotion,l=ht.useRef();o=o||i.renderer,!l.current&&o&&(l.current=o(e,{visualState:t,parent:n,props:r,presenceContext:a,blockInitialAnimation:a?a.initial===!1:!1,reducedMotionConfig:s}));let c=l.current;ht.useInsertionEffect(()=>{c&&c.update(r,a);});let u=ht.useRef(!!window.HandoffAppearAnimations);return Nr(()=>{c&&(c.render(),u.current&&c.animationState&&c.animationState.animateChanges());}),ht.useEffect(()=>{c&&(c.updateFeatures(),!u.current&&c.animationState&&c.animationState.animateChanges(),window.HandoffAppearAnimations=void 0,u.current=!1);}),c}function ut(e){return typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function Lf(e,t,r){return ht.useCallback(o=>{o&&e.mount&&e.mount(o),t&&(o?t.mount(o):t.unmount()),r&&(typeof r=="function"?r(o):ut(r)&&(r.current=o));},[t])}function dt(e){return typeof e=="string"||Array.isArray(e)}function Mt(e){return typeof e=="object"&&typeof e.start=="function"}var Li=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],on=["initial",...Li];function Qt(e){return Mt(e.animate)||on.some(t=>dt(e[t]))}function Di(e){return !!(Qt(e)||e.variants)}function Df(e,t){if(Qt(e)){let{initial:r,animate:o}=e;return {initial:r===!1||dt(r)?r:void 0,animate:dt(o)?o:void 0}}return e.inherit!==!1?t:{}}function Bf(e){let{initial:t,animate:r}=Df(e,ht.useContext(At));return ht.useMemo(()=>({initial:t,animate:r}),[jf(t),jf(r)])}function jf(e){return Array.isArray(e)?e.join(" "):e}var zf={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"]},er={};for(let e in zf)er[e]={isEnabled:t=>zf[e].some(r=>!!t[r])};function Ff(e){for(let t in e)er[t]=f(f({},er[t]),e[t]);}var $r=ht.createContext({});var ji=ht.createContext({});var Wf=Symbol.for("motionComponentSymbol");function Hf({preloadedFeatures:e,createVisualElement:t,useRender:r,useVisualState:o,Component:n}){e&&Ff(e);function i(s,l){let c,u=v(f(f({},ht.useContext(Oi)),s),{layoutId:$w(s)}),{isStatic:d}=u,m=Bf(s),p=o(s,d);if(!d&&Rt){m.visualElement=$f(n,p,u,t);let g=ht.useContext(ji),y=ht.useContext(Ni).strict;m.visualElement&&(c=m.visualElement.loadFeatures(u,y,e,g));}return ht__namespace.createElement(At.Provider,{value:m},c&&m.visualElement?ht__namespace.createElement(c,f({visualElement:m.visualElement},u)):null,r(n,s,Lf(p,m.visualElement,l),p,d,m.visualElement))}let a=ht.forwardRef(i);return a[Wf]=n,a}function $w({layoutId:e}){let t=ht.useContext($r).id;return t&&e!==void 0?t+"-"+e:e}function Gf(e){function t(o,n={}){return Hf(e(o,n))}if(typeof Proxy=="undefined")return t;let r=new Map;return new Proxy(t,{get:(o,n)=>(r.has(n)||r.set(n,t(n)),r.get(n))})}var Uf=["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 Lr(e){return typeof e!="string"||e.includes("-")?!1:!!(Uf.indexOf(e)>-1||/[A-Z]/.test(e))}var Dr={};function Kf(e){Object.assign(Dr,e);}var It=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Te=new Set(It);function zi(e,{layout:t,layoutId:r}){return Te.has(e)||e.startsWith("origin")||(t||r!==void 0)&&(!!Dr[e]||e==="opacity")}var X=e=>!!(e&&e.getVelocity);var Lw={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},Dw=It.length;function qf(e,{enableHardwareAcceleration:t=!0,allowTransformNone:r=!0},o,n){let i="";for(let a=0;a<Dw;a++){let s=It[a];if(e[s]!==void 0){let l=Lw[s]||s;i+=`${l}(${e[s]}) `;}}return t&&!e.z&&(i+="translateZ(0)"),i=i.trim(),n?i=n(e,o?"":i):r&&o&&(i="none"),i}var Yf=e=>t=>typeof t=="string"&&t.startsWith(e),Fi=Yf("--"),Wi=Yf("var(--"),Xf=/var\s*\(\s*--[\w-]+(\s*,\s*(?:(?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)+)?\s*\)/g;var Zf=(e,t)=>t&&typeof e=="number"?t.transform(e):e;var Ce=(e,t,r)=>Math.min(Math.max(r,e),t);var Fe={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},Vt=v(f({},Fe),{transform:e=>Ce(0,1,e)}),nn=v(f({},Fe),{default:1});var Ot=e=>Math.round(e*1e5)/1e5,tr=/(-)?([\d]*\.?[\d])+/g,hl=/(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,Jf=/^(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function ft(e){return typeof e=="string"}var an=e=>({test:t=>ft(t)&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Je=an("deg"),we=an("%"),R=an("px"),Qf=an("vh"),em=an("vw"),gl=v(f({},we),{parse:e=>we.parse(e)/100,transform:e=>we.transform(e*100)});var yl=v(f({},Fe),{transform:Math.round});var Hi={borderWidth:R,borderTopWidth:R,borderRightWidth:R,borderBottomWidth:R,borderLeftWidth:R,borderRadius:R,radius:R,borderTopLeftRadius:R,borderTopRightRadius:R,borderBottomRightRadius:R,borderBottomLeftRadius:R,width:R,maxWidth:R,height:R,maxHeight:R,size:R,top:R,right:R,bottom:R,left:R,padding:R,paddingTop:R,paddingRight:R,paddingBottom:R,paddingLeft:R,margin:R,marginTop:R,marginRight:R,marginBottom:R,marginLeft:R,rotate:Je,rotateX:Je,rotateY:Je,rotateZ:Je,scale:nn,scaleX:nn,scaleY:nn,scaleZ:nn,skew:Je,skewX:Je,skewY:Je,distance:R,translateX:R,translateY:R,translateZ:R,x:R,y:R,z:R,perspective:R,transformPerspective:R,opacity:Vt,originX:gl,originY:gl,originZ:R,zIndex:yl,fillOpacity:Vt,strokeOpacity:Vt,numOctaves:yl};function jr(e,t,r,o){let{style:n,vars:i,transform:a,transformOrigin:s}=e,l=!1,c=!1,u=!0;for(let d in t){let m=t[d];if(Fi(d)){i[d]=m;continue}let p=Hi[d],g=Zf(m,p);if(Te.has(d)){if(l=!0,a[d]=g,!u)continue;m!==(p.default||0)&&(u=!1);}else d.startsWith("origin")?(c=!0,s[d]=g):n[d]=g;}if(t.transform||(l||o?n.transform=qf(e.transform,r,u,o):n.transform&&(n.transform="none")),c){let{originX:d="50%",originY:m="50%",originZ:p=0}=s;n.transformOrigin=`${d} ${m} ${p}`;}}var Br=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function vl(e,t,r){for(let o in t)!X(t[o])&&!zi(o,r)&&(e[o]=t[o]);}function Bw({transformTemplate:e},t,r){return ht.useMemo(()=>{let o=Br();return jr(o,t,{enableHardwareAcceleration:!r},e),Object.assign({},o.vars,o.style)},[t])}function zw(e,t,r){let o=e.style||{},n={};return vl(n,o,e),Object.assign(n,Bw(e,t,r)),e.transformValues?e.transformValues(n):n}function tm(e,t,r){let o={},n=zw(e,t,r);return e.drag&&e.dragListener!==!1&&(o.draggable=!1,n.userSelect=n.WebkitUserSelect=n.WebkitTouchCallout="none",n.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(o.tabIndex=0),o.style=n,o}var Fw=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 sn(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||Fw.has(e)}var am=e=>!sn(e);function Kw(e){e&&(am=t=>t.startsWith("on")?!sn(t):e(t));}try{Kw((im(),Vy(nm)).default);}catch(e){}function sm(e,t,r){let o={};for(let n in e)n==="values"&&typeof e.values=="object"||(am(n)||r===!0&&sn(n)||!t&&!sn(n)||e.draggable&&n.startsWith("onDrag"))&&(o[n]=e[n]);return o}function lm(e,t,r){return typeof e=="string"?e:R.transform(t+r*e)}function cm(e,t,r){let o=lm(t,e.x,e.width),n=lm(r,e.y,e.height);return `${o} ${n}`}var qw={offset:"stroke-dashoffset",array:"stroke-dasharray"},Yw={offset:"strokeDashoffset",array:"strokeDasharray"};function um(e,t,r=1,o=0,n=!0){e.pathLength=1;let i=n?qw:Yw;e[i.offset]=R.transform(-o);let a=R.transform(t),s=R.transform(r);e[i.array]=`${a} ${s}`;}function zr(e,p,u,d,m){var g=p,{attrX:t,attrY:r,attrScale:o,originX:n,originY:i,pathLength:a,pathSpacing:s=1,pathOffset:l=0}=g,c=k(g,["attrX","attrY","attrScale","originX","originY","pathLength","pathSpacing","pathOffset"]);if(jr(e,c,u,m),d){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:y,style:b,dimensions:x}=e;y.transform&&(x&&(b.transform=y.transform),delete y.transform),x&&(n!==void 0||i!==void 0||b.transform)&&(b.transformOrigin=cm(x,n!==void 0?n:.5,i!==void 0?i:.5)),t!==void 0&&(y.x=t),r!==void 0&&(y.y=r),o!==void 0&&(y.scale=o),a!==void 0&&um(y,a,s,l,!1);}var Gi=()=>v(f({},Br()),{attrs:{}});var Fr=e=>typeof e=="string"&&e.toLowerCase()==="svg";function dm(e,t,r,o){let n=ht.useMemo(()=>{let i=Gi();return zr(i,t,{enableHardwareAcceleration:!1},Fr(o),e.transformTemplate),v(f({},i.attrs),{style:f({},i.style)})},[t]);if(e.style){let i={};vl(i,e.style,e),n.style=f(f({},i),n.style);}return n}function fm(e=!1){return (r,o,n,{latestValues:i},a)=>{let l=(Lr(r)?dm:tm)(o,i,a,r),c=sm(o,typeof r=="string",e),u=v(f(f({},c),l),{ref:n}),{children:d}=o,m=ht.useMemo(()=>X(d)?d.get():d,[d]);return ht.createElement(r,v(f({},u),{children:m}))}}var Wr=e=>e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();function Ui(e,{style:t,vars:r},o,n){Object.assign(e.style,t,n&&n.getProjectionStyles(o));for(let i in r)e.style.setProperty(i,r[i]);}var Ki=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 qi(e,t,r,o){Ui(e,t,void 0,o);for(let n in t.attrs)e.setAttribute(Ki.has(n)?n:Wr(n),t.attrs[n]);}function Hr(e,t){let{style:r}=e,o={};for(let n in r)(X(r[n])||t.style&&X(t.style[n])||zi(n,e))&&(o[n]=r[n]);return o}function Yi(e,t){let r=Hr(e,t);for(let o in e)if(X(e[o])||X(t[o])){let n=It.indexOf(o)!==-1?"attr"+o.charAt(0).toUpperCase()+o.substring(1):o;r[n]=e[o];}return r}function Gr(e,t,r,o={},n={}){return typeof t=="function"&&(t=t(r!==void 0?r:e.custom,o,n)),typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"&&(t=t(r!==void 0?r:e.custom,o,n)),t}function Xi(e){let t=ht.useRef(null);return t.current===null&&(t.current=e()),t.current}var rr=e=>Array.isArray(e);var mm=e=>!!(e&&typeof e=="object"&&e.mix&&e.toValue),pm=e=>rr(e)?e[e.length-1]||0:e;function Ur(e){let t=X(e)?e.get():e;return mm(t)?t.toValue():t}function ek({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:r},o,n,i){let a={latestValues:tk(o,n,i,e),renderState:t()};return r&&(a.mount=s=>r(o,s,a)),a}var Zi=e=>(t,r)=>{let o=ht.useContext(At),n=ht.useContext(Et),i=()=>ek(e,t,o,n);return r?i():Xi(i)};function tk(e,t,r,o){let n={},i=o(e,{});for(let m in i)n[m]=Ur(i[m]);let{initial:a,animate:s}=e,l=Qt(e),c=Di(e);t&&c&&!l&&e.inherit!==!1&&(a===void 0&&(a=t.initial),s===void 0&&(s=t.animate));let u=r?r.initial===!1:!1;u=u||a===!1;let d=u?s:a;return d&&typeof d!="boolean"&&!Mt(d)&&(Array.isArray(d)?d:[d]).forEach(p=>{let g=Gr(e,p);if(!g)return;let S=g,{transitionEnd:y,transition:b}=S,x=k(S,["transitionEnd","transition"]);for(let C in x){let w=x[C];if(Array.isArray(w)){let P=u?w.length-1:0;w=w[P];}w!==null&&(n[C]=w);}for(let C in y)n[C]=y[C];}),n}var L=e=>e;var Ji=class{constructor(){this.order=[],this.scheduled=new Set;}add(t){if(!this.scheduled.has(t))return this.scheduled.add(t),this.order.push(t),!0}remove(t){let r=this.order.indexOf(t);r!==-1&&(this.order.splice(r,1),this.scheduled.delete(t));}clear(){this.order.length=0,this.scheduled.clear();}};function gm(e){let t=new Ji,r=new Ji,o=0,n=!1,i=!1,a=new WeakSet,s={schedule:(l,c=!1,u=!1)=>{let d=u&&n,m=d?t:r;return c&&a.add(l),m.add(l)&&d&&n&&(o=t.order.length),l},cancel:l=>{r.remove(l),a.delete(l);},process:l=>{if(n){i=!0;return}if(n=!0,[t,r]=[r,t],r.clear(),o=t.order.length,o)for(let c=0;c<o;c++){let u=t.order[c];u(l),a.has(u)&&(s.schedule(u),e());}n=!1,i&&(i=!1,s.process(l));}};return s}var Qi=["prepare","read","update","preRender","render","postRender"],rk=40;function ym(e,t){let r=!1,o=!0,n={delta:0,timestamp:0,isProcessing:!1},i=Qi.reduce((d,m)=>(d[m]=gm(()=>r=!0),d),{}),a=d=>i[d].process(n),s=()=>{let d=performance.now();r=!1,n.delta=o?1e3/60:Math.max(Math.min(d-n.timestamp,rk),1),n.timestamp=d,n.isProcessing=!0,Qi.forEach(a),n.isProcessing=!1,r&&t&&(o=!1,e(s));},l=()=>{r=!0,o=!0,n.isProcessing||e(s);};return {schedule:Qi.reduce((d,m)=>{let p=i[m];return d[m]=(g,y=!1,b=!1)=>(r||l(),p.schedule(g,y,b)),d},{}),cancel:d=>Qi.forEach(m=>i[m].cancel(d)),state:n,steps:i}}var{schedule:N,cancel:ke,state:Q,steps:ea}=ym(typeof requestAnimationFrame!="undefined"?requestAnimationFrame:L,!0);var vm={useVisualState:Zi({scrapeMotionValuesFromProps:Yi,createRenderState:Gi,onMount:(e,t,{renderState:r,latestValues:o})=>{N.read(()=>{try{r.dimensions=typeof t.getBBox=="function"?t.getBBox():t.getBoundingClientRect();}catch(n){r.dimensions={x:0,y:0,width:0,height:0};}}),N.render(()=>{zr(r,o,{enableHardwareAcceleration:!1},Fr(t.tagName),e.transformTemplate),qi(t,r);});}})};var bm={useVisualState:Zi({scrapeMotionValuesFromProps:Hr,createRenderState:Br})};function xm(e,{forwardMotionProps:t=!1},r,o){let n=Lr(e)?vm:bm;return v(f({},n),{preloadedFeatures:r,useRender:fm(t),createVisualElement:o,Component:e})}function Pe(e,t,r,o={passive:!0}){return e.addEventListener(t,r,o),()=>e.removeEventListener(t,r)}var ta=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1;function or(e,t="page"){return {point:{x:e[t+"X"],y:e[t+"Y"]}}}var Sm=e=>t=>ta(t)&&e(t,or(t));function Ae(e,t,r,o){return Pe(e,t,Sm(r),o)}var ok=(e,t)=>r=>t(e(r)),Ee=(...e)=>e.reduce(ok);function km(e){let t=null;return ()=>{let r=()=>{t=null;};return t===null?(t=e,r):!1}}var Cm=km("dragHorizontal"),wm=km("dragVertical");function bl(e){let t=!1;if(e==="y")t=wm();else if(e==="x")t=Cm();else {let r=Cm(),o=wm();r&&o?t=()=>{r(),o();}:(r&&r(),o&&o());}return t}function ra(){let e=bl(!0);return e?(e(),!1):!0}var le=class{constructor(t){this.isMounted=!1,this.node=t;}update(){}};function _m(e,t){let r="pointer"+(t?"enter":"leave"),o="onHover"+(t?"Start":"End"),n=(i,a)=>{if(i.type==="touch"||ra())return;let s=e.getProps();e.animationState&&s.whileHover&&e.animationState.setActive("whileHover",t),s[o]&&N.update(()=>s[o](i,a));};return Ae(e.current,r,n,{passive:!e.getProps()[o]})}var oa=class extends le{mount(){this.unmount=Ee(_m(this.node,!0),_m(this.node,!1));}unmount(){}};var na=class extends le{constructor(){super(...arguments),this.isActive=!1;}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible");}catch(r){t=!0;}!t||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0);}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1);}mount(){this.unmount=Ee(Pe(this.node.current,"focus",()=>this.onFocus()),Pe(this.node.current,"blur",()=>this.onBlur()));}unmount(){}};var xl=(e,t)=>t?e===t?!0:xl(e,t.parentElement):!1;function Sl(e,t){if(!t)return;let r=new PointerEvent("pointer"+e);t(r,or(r));}var ia=class extends le{constructor(){super(...arguments),this.removeStartListeners=L,this.removeEndListeners=L,this.removeAccessibleListeners=L,this.startPointerPress=(t,r)=>{if(this.removeEndListeners(),this.isPressing)return;let o=this.node.getProps(),i=Ae(window,"pointerup",(s,l)=>{if(!this.checkPressEnd())return;let{onTap:c,onTapCancel:u}=this.node.getProps();N.update(()=>{xl(this.node.current,s.target)?c&&c(s,l):u&&u(s,l);});},{passive:!(o.onTap||o.onPointerUp)}),a=Ae(window,"pointercancel",(s,l)=>this.cancelPress(s,l),{passive:!(o.onTapCancel||o.onPointerCancel)});this.removeEndListeners=Ee(i,a),this.startPress(t,r);},this.startAccessiblePress=()=>{let t=i=>{if(i.key!=="Enter"||this.isPressing)return;let a=s=>{s.key!=="Enter"||!this.checkPressEnd()||Sl("up",(l,c)=>{let{onTap:u}=this.node.getProps();u&&N.update(()=>u(l,c));});};this.removeEndListeners(),this.removeEndListeners=Pe(this.node.current,"keyup",a),Sl("down",(s,l)=>{this.startPress(s,l);});},r=Pe(this.node.current,"keydown",t),o=()=>{this.isPressing&&Sl("cancel",(i,a)=>this.cancelPress(i,a));},n=Pe(this.node.current,"blur",o);this.removeAccessibleListeners=Ee(r,n);};}startPress(t,r){this.isPressing=!0;let{onTapStart:o,whileTap:n}=this.node.getProps();n&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),o&&N.update(()=>o(t,r));}checkPressEnd(){return this.removeEndListeners(),this.isPressing=!1,this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!ra()}cancelPress(t,r){if(!this.checkPressEnd())return;let{onTapCancel:o}=this.node.getProps();o&&N.update(()=>o(t,r));}mount(){let t=this.node.getProps(),r=Ae(this.node.current,"pointerdown",this.startPointerPress,{passive:!(t.onTapStart||t.onPointerStart)}),o=Pe(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=Ee(r,o);}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners();}};var wl=new WeakMap,Cl=new WeakMap,nk=e=>{let t=wl.get(e.target);t&&t(e);},ik=e=>{e.forEach(nk);};function ak(r){var o=r,{root:e}=o,t=k(o,["root"]);let n=e||document;Cl.has(n)||Cl.set(n,{});let i=Cl.get(n),a=JSON.stringify(t);return i[a]||(i[a]=new IntersectionObserver(ik,f({root:e},t))),i[a]}function Tm(e,t,r){let o=ak(t);return wl.set(e,r),o.observe(e),()=>{wl.delete(e),o.unobserve(e);}}var sk={some:0,all:1},aa=class extends le{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1;}startObserver(){this.unmount();let{viewport:t={}}=this.node.getProps(),{root:r,margin:o,amount:n="some",once:i}=t,a={root:r?r.current:void 0,rootMargin:o,threshold:typeof n=="number"?n:sk[n]},s=l=>{let{isIntersecting:c}=l;if(this.isInView===c||(this.isInView=c,i&&!c&&this.hasEnteredView))return;c&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",c);let{onViewportEnter:u,onViewportLeave:d}=this.node.getProps(),m=c?u:d;m&&m(l);};return Tm(this.node.current,a,s)}mount(){this.startObserver();}update(){if(typeof IntersectionObserver=="undefined")return;let{props:t,prevProps:r}=this.node;["amount","margin","root"].some(lk(t,r))&&this.startObserver();}unmount(){}};function lk({viewport:e={}},{viewport:t={}}={}){return r=>e[r]!==t[r]}var Pm={inView:{Feature:aa},tap:{Feature:ia},focus:{Feature:na},hover:{Feature:oa}};function kl(e,t){if(!Array.isArray(t))return !1;let r=t.length;if(r!==e.length)return !1;for(let o=0;o<r;o++)if(t[o]!==e[o])return !1;return !0}function ck(e){let t={};return e.values.forEach((r,o)=>t[o]=r.get()),t}function uk(e){let t={};return e.values.forEach((r,o)=>t[o]=r.getVelocity()),t}function Nt(e,t,r){let o=e.getProps();return Gr(o,t,r!==void 0?r:o.custom,ck(e),uk(e))}var dk="framerAppearId",Am="data-"+Wr(dk);var ge=L;var Ne=e=>e*1e3,Re=e=>e/1e3;var _l={current:!1};var Tl=e=>Array.isArray(e)&&typeof e[0]=="number";function Pl(e){return !!(!e||typeof e=="string"&&Em[e]||Tl(e)||Array.isArray(e)&&e.every(Pl))}var ln=([e,t,r,o])=>`cubic-bezier(${e}, ${t}, ${r}, ${o})`,Em={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:ln([0,.65,.55,1]),circOut:ln([.55,0,1,.45]),backIn:ln([.31,.01,.66,-.59]),backOut:ln([.33,1.53,.69,.99])};function Al(e){if(e)return Tl(e)?ln(e):Array.isArray(e)?e.map(Al):Em[e]}function Rm(e,t,r,{delay:o=0,duration:n,repeat:i=0,repeatType:a="loop",ease:s,times:l}={}){let c={[t]:r};l&&(c.offset=l);let u=Al(s);return Array.isArray(u)&&(c.easing=u),e.animate(c,{delay:o,duration:n,easing:Array.isArray(u)?"linear":u,fill:"both",iterations:i+1,direction:a==="reverse"?"alternate":"normal"})}function Mm(e,{repeat:t,repeatType:r="loop"}){let o=t&&r!=="loop"&&t%2===1?0:e.length-1;return e[o]}var Im=(e,t,r)=>(((1-3*r+3*t)*e+(3*r-6*t))*e+3*t)*e,fk=1e-7,mk=12;function pk(e,t,r,o,n){let i,a,s=0;do a=t+(r-t)/2,i=Im(a,o,n)-e,i>0?r=a:t=a;while(Math.abs(i)>fk&&++s<mk);return a}function $t(e,t,r,o){if(e===t&&r===o)return L;let n=i=>pk(i,0,1,e,r);return i=>i===0||i===1?i:Im(n(i),t,o)}var Vm=$t(.42,0,1,1),Om=$t(0,0,.58,1),sa=$t(.42,0,.58,1);var Nm=e=>Array.isArray(e)&&typeof e[0]!="number";var la=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2;var ca=e=>t=>1-e(1-t);var El=e=>1-Math.sin(Math.acos(e)),cn=ca(El),$m=la(cn);var Rl=$t(.33,1.53,.69,.99),un=ca(Rl),Lm=la(un);var Dm=e=>(e*=2)<1?.5*un(e):.5*(2-Math.pow(2,-10*(e-1)));var jm={linear:L,easeIn:Vm,easeInOut:sa,easeOut:Om,circIn:El,circInOut:$m,circOut:cn,backIn:un,backInOut:Lm,backOut:Rl,anticipate:Dm},Ml=e=>{if(Array.isArray(e)){ge(e.length===4);let[t,r,o,n]=e;return $t(t,r,o,n)}else if(typeof e=="string")return jm[e];return e};var qr=(e,t)=>r=>!!(ft(r)&&Jf.test(r)&&r.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(r,t)),ua=(e,t,r)=>o=>{if(!ft(o))return o;let[n,i,a,s]=o.match(tr);return {[e]:parseFloat(n),[t]:parseFloat(i),[r]:parseFloat(a),alpha:s!==void 0?parseFloat(s):1}};var hk=e=>Ce(0,255,e),Il=v(f({},Fe),{transform:e=>Math.round(hk(e))}),Qe={test:qr("rgb","red"),parse:ua("red","green","blue"),transform:({red:e,green:t,blue:r,alpha:o=1})=>"rgba("+Il.transform(e)+", "+Il.transform(t)+", "+Il.transform(r)+", "+Ot(Vt.transform(o))+")"};function gk(e){let t="",r="",o="",n="";return e.length>5?(t=e.substring(1,3),r=e.substring(3,5),o=e.substring(5,7),n=e.substring(7,9)):(t=e.substring(1,2),r=e.substring(2,3),o=e.substring(3,4),n=e.substring(4,5),t+=t,r+=r,o+=o,n+=n),{red:parseInt(t,16),green:parseInt(r,16),blue:parseInt(o,16),alpha:n?parseInt(n,16)/255:1}}var dn={test:qr("#"),parse:gk,transform:Qe.transform};var Lt={test:qr("hsl","hue"),parse:ua("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:r,alpha:o=1})=>"hsla("+Math.round(e)+", "+we.transform(Ot(t))+", "+we.transform(Ot(r))+", "+Ot(Vt.transform(o))+")"};var ne={test:e=>Qe.test(e)||dn.test(e)||Lt.test(e),parse:e=>Qe.test(e)?Qe.parse(e):Lt.test(e)?Lt.parse(e):dn.parse(e),transform:e=>ft(e)?e:e.hasOwnProperty("red")?Qe.transform(e):Lt.transform(e)};var D=(e,t,r)=>-r*e+r*t+e;function Vl(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+(t-e)*6*r:r<1/2?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function Bm({hue:e,saturation:t,lightness:r,alpha:o}){e/=360,t/=100,r/=100;let n=0,i=0,a=0;if(!t)n=i=a=r;else {let s=r<.5?r*(1+t):r+t-r*t,l=2*r-s;n=Vl(l,s,e+1/3),i=Vl(l,s,e),a=Vl(l,s,e-1/3);}return {red:Math.round(n*255),green:Math.round(i*255),blue:Math.round(a*255),alpha:o}}var Ol=(e,t,r)=>{let o=e*e;return Math.sqrt(Math.max(0,r*(t*t-o)+o))},yk=[dn,Qe,Lt],vk=e=>yk.find(t=>t.test(e));function zm(e){let t=vk(e);let r=t.parse(e);return t===Lt&&(r=Bm(r)),r}var da=(e,t)=>{let r=zm(e),o=zm(t),n=f({},r);return i=>(n.red=Ol(r.red,o.red,i),n.green=Ol(r.green,o.green,i),n.blue=Ol(r.blue,o.blue,i),n.alpha=D(r.alpha,o.alpha,i),Qe.transform(n))};function bk(e){var t,r;return isNaN(e)&&ft(e)&&(((t=e.match(tr))===null||t===void 0?void 0:t.length)||0)+(((r=e.match(hl))===null||r===void 0?void 0:r.length)||0)>0}var Fm={regex:Xf,countKey:"Vars",token:"${v}",parse:L},Wm={regex:hl,countKey:"Colors",token:"${c}",parse:ne.parse},Hm={regex:tr,countKey:"Numbers",token:"${n}",parse:Fe.parse};function Nl(e,{regex:t,countKey:r,token:o,parse:n}){let i=e.tokenised.match(t);i&&(e["num"+r]=i.length,e.tokenised=e.tokenised.replace(t,o),e.values.push(...i.map(n)));}function fn(e){let t=e.toString(),r={value:t,tokenised:t,values:[],numVars:0,numColors:0,numNumbers:0};return r.value.includes("var(--")&&Nl(r,Fm),Nl(r,Wm),Nl(r,Hm),r}function Gm(e){return fn(e).values}function Um(e){let{values:t,numColors:r,numVars:o,tokenised:n}=fn(e),i=t.length;return a=>{let s=n;for(let l=0;l<i;l++)l<o?s=s.replace(Fm.token,a[l]):l<o+r?s=s.replace(Wm.token,ne.transform(a[l])):s=s.replace(Hm.token,Ot(a[l]));return s}}var xk=e=>typeof e=="number"?0:e;function Sk(e){let t=Gm(e);return Um(e)(t.map(xk))}var _e={test:bk,parse:Gm,createTransformer:Um,getAnimatableNone:Sk};var Km=(e,t)=>r=>`${r>0?t:e}`;function qm(e,t){return typeof e=="number"?r=>D(e,t,r):ne.test(e)?da(e,t):e.startsWith("var(")?Km(e,t):Ll(e,t)}var $l=(e,t)=>{let r=[...e],o=r.length,n=e.map((i,a)=>qm(i,t[a]));return i=>{for(let a=0;a<o;a++)r[a]=n[a](i);return r}},Ym=(e,t)=>{let r=f(f({},e),t),o={};for(let n in r)e[n]!==void 0&&t[n]!==void 0&&(o[n]=qm(e[n],t[n]));return n=>{for(let i in o)r[i]=o[i](n);return r}},Ll=(e,t)=>{let r=_e.createTransformer(t),o=fn(e),n=fn(t);return o.numVars===n.numVars&&o.numColors===n.numColors&&o.numNumbers>=n.numNumbers?Ee($l(o.values,n.values),r):(Km(e,t))};var mt=(e,t,r)=>{let o=t-e;return o===0?1:(r-e)/o};var Xm=(e,t)=>r=>D(e,t,r);function Ck(e){return typeof e=="number"?Xm:typeof e=="string"?ne.test(e)?da:Ll:Array.isArray(e)?$l:typeof e=="object"?Ym:Xm}function wk(e,t,r){let o=[],n=r||Ck(e[0]),i=e.length-1;for(let a=0;a<i;a++){let s=n(e[a],e[a+1]);if(t){let l=Array.isArray(t)?t[a]||L:t;s=Ee(l,s);}o.push(s);}return o}function fa(e,t,{clamp:r=!0,ease:o,mixer:n}={}){let i=e.length;if(ge(i===t.length),i===1)return ()=>t[0];e[0]>e[i-1]&&(e=[...e].reverse(),t=[...t].reverse());let a=wk(t,o,n),s=a.length,l=c=>{let u=0;if(s>1)for(;u<e.length-2&&!(c<e[u+1]);u++);let d=mt(e[u],e[u+1],c);return a[u](d)};return r?c=>l(Ce(e[0],e[i-1],c)):l}function Zm(e,t){let r=e[e.length-1];for(let o=1;o<=t;o++){let n=mt(0,t,o);e.push(D(r,1,n));}}function Jm(e){let t=[0];return Zm(t,e.length-1),t}function Qm(e,t){return e.map(r=>r*t)}function kk(e,t){return e.map(()=>t||sa).splice(0,e.length-1)}function mn({duration:e=300,keyframes:t,times:r,ease:o="easeInOut"}){let n=Nm(o)?o.map(Ml):Ml(o),i={done:!1,value:t[0]},a=Qm(r&&r.length===t.length?r:Jm(t),e),s=fa(a,t,{ease:Array.isArray(n)?n:kk(t,n)});return {calculatedDuration:e,next:l=>(i.value=s(l),i.done=l>=e,i)}}function ma(e,t){return t?e*(1e3/t):0}var _k=5;function pa(e,t,r){let o=Math.max(t-_k,0);return ma(r-e(o),t-o)}var Dl=.001,Tk=.01,ep=10,Pk=.05,Ak=1;function tp({duration:e=800,bounce:t=.25,velocity:r=0,mass:o=1}){let n,i;let a=1-t;a=Ce(Pk,Ak,a),e=Ce(Tk,ep,Re(e)),a<1?(n=c=>{let u=c*a,d=u*e,m=u-r,p=ha(c,a),g=Math.exp(-d);return Dl-m/p*g},i=c=>{let d=c*a*e,m=d*r+r,p=Math.pow(a,2)*Math.pow(c,2)*e,g=Math.exp(-d),y=ha(Math.pow(c,2),a);return (-n(c)+Dl>0?-1:1)*((m-p)*g)/y}):(n=c=>{let u=Math.exp(-c*e),d=(c-r)*e+1;return -Dl+u*d},i=c=>{let u=Math.exp(-c*e),d=(r-c)*(e*e);return u*d});let s=5/e,l=Rk(n,i,s);if(e=Ne(e),isNaN(l))return {stiffness:100,damping:10,duration:e};{let c=Math.pow(l,2)*o;return {stiffness:c,damping:a*2*Math.sqrt(o*c),duration:e}}}var Ek=12;function Rk(e,t,r){let o=r;for(let n=1;n<Ek;n++)o=o-e(o)/t(o);return o}function ha(e,t){return e*Math.sqrt(1-t*t)}var Mk=["duration","bounce"],Ik=["stiffness","damping","mass"];function rp(e,t){return t.some(r=>e[r]!==void 0)}function Vk(e){let t=f({velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1},e);if(!rp(e,Ik)&&rp(e,Mk)){let r=tp(e);t=v(f(f({},t),r),{velocity:0,mass:1}),t.isResolvedFromDuration=!0;}return t}function ga(n){var i=n,{keyframes:e,restDelta:t,restSpeed:r}=i,o=k(i,["keyframes","restDelta","restSpeed"]);let a=e[0],s=e[e.length-1],l={done:!1,value:a},{stiffness:c,damping:u,mass:d,velocity:m,duration:p,isResolvedFromDuration:g}=Vk(o),y=m?-Re(m):0,b=u/(2*Math.sqrt(c*d)),x=s-a,S=Re(Math.sqrt(c/d)),C=Math.abs(x)<5;r||(r=C?.01:2),t||(t=C?.005:.5);let w;if(b<1){let P=ha(S,b);w=E=>{let A=Math.exp(-b*S*E);return s-A*((y+b*S*x)/P*Math.sin(P*E)+x*Math.cos(P*E))};}else if(b===1)w=P=>s-Math.exp(-S*P)*(x+(y+S*x)*P);else {let P=S*Math.sqrt(b*b-1);w=E=>{let A=Math.exp(-b*S*E),M=Math.min(P*E,300);return s-A*((y+b*S*x)*Math.sinh(M)+P*x*Math.cosh(M))/P};}return {calculatedDuration:g&&p||null,next:P=>{let E=w(P);if(g)l.done=P>=p;else {let A=y;P!==0&&(b<1?A=pa(w,P,E):A=0);let M=Math.abs(A)<=r,O=Math.abs(s-E)<=t;l.done=M&&O;}return l.value=l.done?s:E,l}}}function jl({keyframes:e,velocity:t=0,power:r=.8,timeConstant:o=325,bounceDamping:n=10,bounceStiffness:i=500,modifyTarget:a,min:s,max:l,restDelta:c=.5,restSpeed:u}){let d=e[0],m={done:!1,value:d},p=M=>s!==void 0&&M<s||l!==void 0&&M>l,g=M=>s===void 0?l:l===void 0||Math.abs(s-M)<Math.abs(l-M)?s:l,y=r*t,b=d+y,x=a===void 0?b:a(b);x!==b&&(y=x-d);let S=M=>-y*Math.exp(-M/o),C=M=>x+S(M),w=M=>{let O=S(M),B=C(M);m.done=Math.abs(O)<=c,m.value=m.done?x:B;},P,E,A=M=>{p(m.value)&&(P=M,E=ga({keyframes:[m.value,g(m.value)],velocity:pa(C,M,m.value),damping:n,stiffness:i,restDelta:c,restSpeed:u}));};return A(0),{calculatedDuration:null,next:M=>{let O=!1;return !E&&P===void 0&&(O=!0,w(M),A(M)),P!==void 0&&M>P?E.next(M-P):(!O&&w(M),m)}}}var op=e=>{let t=({timestamp:r})=>e(r);return {start:()=>N.update(t,!0),stop:()=>ke(t),now:()=>Q.isProcessing?Q.timestamp:performance.now()}};function Bl(e){let t=0,r=50,o=e.next(t);for(;!o.done&&t<2e4;)t+=r,o=e.next(t);return t>=2e4?1/0:t}var Ok={decay:jl,inertia:jl,tween:mn,keyframes:mn,spring:ga};function nr(p){var g=p,{autoplay:e=!0,delay:t=0,driver:r=op,keyframes:o,type:n="keyframes",repeat:i=0,repeatDelay:a=0,repeatType:s="loop",onPlay:l,onStop:c,onComplete:u,onUpdate:d}=g,m=k(g,["autoplay","delay","driver","keyframes","type","repeat","repeatDelay","repeatType","onPlay","onStop","onComplete","onUpdate"]);let y=1,b=!1,x,S,C=()=>{S=new Promise(J=>{x=J;});};C();let w,P=Ok[n]||mn,E;P!==mn&&typeof o[0]!="number"&&(E=fa([0,100],o,{clamp:!1}),o=[0,100]);let A=P(v(f({},m),{keyframes:o})),M;s==="mirror"&&(M=P(v(f({},m),{keyframes:[...o].reverse(),velocity:-(m.velocity||0)})));let O="idle",B=null,W=null,ue=null;A.calculatedDuration===null&&i&&(A.calculatedDuration=Bl(A));let{calculatedDuration:de}=A,he=1/0,G=1/0;de!==null&&(he=de+a,G=he*(i+1)-a);let ee=0,ot=J=>{if(W===null)return;y>0&&(W=Math.min(W,J)),y<0&&(W=Math.min(J-G/y,W)),B!==null?ee=B:ee=Math.round(J-W)*y;let wo=ee-t*(y>=0?1:-1),Ic=y>=0?wo<0:wo>G;ee=Math.max(wo,0),O==="finished"&&B===null&&(ee=G);let Vc=ee,Oc=A;if(i){let cs=ee/he,On=Math.floor(cs),Bt=cs%1;!Bt&&cs>=1&&(Bt=1),Bt===1&&On--,On=Math.min(On,i+1);let $c=!!(On%2);$c&&(s==="reverse"?(Bt=1-Bt,a&&(Bt-=a/he)):s==="mirror"&&(Oc=M));let Lc=Ce(0,1,Bt);ee>G&&(Lc=s==="reverse"&&$c?1:0),Vc=Lc*he;}let ko=Ic?{done:!1,value:o[0]}:Oc.next(Vc);E&&(ko.value=E(ko.value));let{done:Nc}=ko;!Ic&&de!==null&&(Nc=y>=0?ee>=G:ee<=0);let _y=B===null&&(O==="finished"||O==="running"&&Nc);return d&&d(ko.value),_y&&ky(),ko},Co=()=>{w&&w.stop(),w=void 0;},Ec=()=>{O="idle",Co(),x(),C(),W=ue=null;},ky=()=>{O="finished",u&&u(),Co(),x();},Rc=()=>{if(b)return;w||(w=r(ot));let J=w.now();l&&l(),B!==null?W=J-B:(!W||O==="finished")&&(W=J),O==="finished"&&C(),ue=W,B=null,O="running",w.start();};e&&Rc();let Mc={then(J,wo){return S.then(J,wo)},get time(){return Re(ee)},set time(J){J=Ne(J),ee=J,B!==null||!w||y===0?B=J:W=w.now()-J/y;},get duration(){let J=A.calculatedDuration===null?Bl(A):A.calculatedDuration;return Re(J)},get speed(){return y},set speed(J){J===y||!w||(y=J,Mc.time=Re(ee));},get state(){return O},play:Rc,pause:()=>{O="paused",B=ee;},stop:()=>{b=!0,O!=="idle"&&(O="idle",c&&c(),Ec());},cancel:()=>{ue!==null&&ot(ue),Ec();},complete:()=>{O="finished";},sample:J=>(W=0,ot(J))};return Mc}function np(e){let t;return ()=>(t===void 0&&(t=e()),t)}var Nk=np(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),$k=new Set(["opacity","clipPath","filter","transform","backgroundColor"]),ya=10,Lk=2e4,Dk=(e,t)=>t.type==="spring"||e==="backgroundColor"||!Pl(t.ease);function ip(e,t,i){var a=i,{onUpdate:r,onComplete:o}=a,n=k(a,["onUpdate","onComplete"]);if(!(Nk()&&$k.has(t)&&!n.repeatDelay&&n.repeatType!=="mirror"&&n.damping!==0&&n.type!=="inertia"))return !1;let l=!1,c,u,d=()=>{u=new Promise(w=>{c=w;});};d();let{keyframes:m,duration:p=300,ease:g,times:y}=n;if(Dk(t,n)){let w=nr(v(f({},n),{repeat:0,delay:0})),P={done:!1,value:m[0]},E=[],A=0;for(;!P.done&&A<Lk;)P=w.sample(A),E.push(P.value),A+=ya;y=void 0,m=E,p=A-ya,g="linear";}let b=Rm(e.owner.current,t,m,v(f({},n),{duration:p,ease:g,times:y}));n.syncStart&&(b.startTime=Q.isProcessing?Q.timestamp:document.timeline?document.timeline.currentTime:performance.now());let x=()=>b.cancel(),S=()=>{N.update(x),c(),d();};return b.onfinish=()=>{e.set(Mm(m,n)),o&&o(),S();},{then(w,P){return u.then(w,P)},attachTimeline(w){return b.timeline=w,b.onfinish=null,L},get time(){return Re(b.currentTime||0)},set time(w){b.currentTime=Ne(w);},get speed(){return b.playbackRate},set speed(w){b.playbackRate=w;},get duration(){return Re(p)},play:()=>{l||(b.play(),ke(x));},pause:()=>b.pause(),stop:()=>{if(l=!0,b.playState==="idle")return;let{currentTime:w}=b;if(w){let P=nr(v(f({},n),{autoplay:!1}));e.setWithVelocity(P.sample(w-ya).value,P.sample(w).value,ya);}S();},complete:()=>b.finish(),cancel:S}}function ap({keyframes:e,delay:t,onUpdate:r,onComplete:o}){let n=()=>(r&&r(e[e.length-1]),o&&o(),{time:0,speed:1,duration:0,play:L,pause:L,stop:L,then:i=>(i(),Promise.resolve()),cancel:L,complete:L});return t?nr({keyframes:[0,1],duration:0,delay:t,onComplete:n}):n()}var jk={type:"spring",stiffness:500,damping:25,restSpeed:10},Bk=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),zk={type:"keyframes",duration:.8},Fk={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},sp=(e,{keyframes:t})=>t.length>2?zk:Te.has(e)?e.startsWith("scale")?Bk(t[1]):jk:Fk;var pn=(e,t)=>e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&(_e.test(t)||t==="0")&&!t.startsWith("url("));var Wk=new Set(["brightness","contrast","saturate","opacity"]);function Hk(e){let[t,r]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;let[o]=r.match(tr)||[];if(!o)return e;let n=r.replace(o,""),i=Wk.has(t)?1:0;return o!==r&&(i*=100),t+"("+i+n+")"}var Gk=/([a-z-]*)\(.*?\)/g,hn=v(f({},_e),{getAnimatableNone:e=>{let t=e.match(Gk);return t?t.map(Hk).join(" "):e}});var Uk=v(f({},Hi),{color:ne,backgroundColor:ne,outlineColor:ne,fill:ne,stroke:ne,borderColor:ne,borderTopColor:ne,borderRightColor:ne,borderBottomColor:ne,borderLeftColor:ne,filter:hn,WebkitFilter:hn}),Yr=e=>Uk[e];function va(e,t){let r=Yr(e);return r!==hn&&(r=_e),r.getAnimatableNone?r.getAnimatableNone(t):void 0}var ba=e=>/^0[^.\s]+$/.test(e);function lp(e){if(typeof e=="number")return e===0;if(e!==null)return e==="none"||e==="0"||ba(e)}function cp(e,t,r,o){let n=pn(t,r),i;Array.isArray(r)?i=[...r]:i=[null,r];let a=o.from!==void 0?o.from:e.get(),s,l=[];for(let c=0;c<i.length;c++)i[c]===null&&(i[c]=c===0?a:i[c-1]),lp(i[c])&&l.push(c),typeof i[c]=="string"&&i[c]!=="none"&&i[c]!=="0"&&(s=i[c]);if(n&&l.length&&s)for(let c=0;c<l.length;c++){let u=l[c];i[u]=va(t,s);}return i}function up(d){var m=d,u=k(m,["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]);return !!Object.keys(u).length}function xa(e,t){return e[t]||e.default||e}var Xr=(e,t,r,o={})=>n=>{let i=xa(o,e)||{},a=i.delay||o.delay||0,{elapsed:s=0}=o;s=s-Ne(a);let l=cp(t,e,r,i),c=l[0],u=l[l.length-1],d=pn(e,c),m=pn(e,u);let p=v(f({keyframes:l,velocity:t.getVelocity(),ease:"easeOut"},i),{delay:-s,onUpdate:g=>{t.set(g),i.onUpdate&&i.onUpdate(g);},onComplete:()=>{n(),i.onComplete&&i.onComplete();}});if(up(i)||(p=f(f({},p),sp(e,p))),p.duration&&(p.duration=Ne(p.duration)),p.repeatDelay&&(p.repeatDelay=Ne(p.repeatDelay)),!d||!m||_l.current||i.type===!1)return ap(p);if(t.owner&&t.owner.current instanceof HTMLElement&&!t.owner.getProps().onUpdate){let g=ip(t,e,p);if(g)return g}return nr(p)};function ir(e){return !!(X(e)&&e.add)}var Sa=e=>/^\-?\d*\.?\d+$/.test(e);function Zr(e,t){e.indexOf(t)===-1&&e.push(t);}function Jr(e,t){let r=e.indexOf(t);r>-1&&e.splice(r,1);}var Dt=class{constructor(){this.subscriptions=[];}add(t){return Zr(this.subscriptions,t),()=>Jr(this.subscriptions,t)}notify(t,r,o){let n=this.subscriptions.length;if(n)if(n===1)this.subscriptions[0](t,r,o);else for(let i=0;i<n;i++){let a=this.subscriptions[i];a&&a(t,r,o);}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0;}};var Kk=e=>!isNaN(parseFloat(e)),zl=class{constructor(t,r={}){this.version="10.16.5",this.timeDelta=0,this.lastUpdated=0,this.canTrackVelocity=!1,this.events={},this.updateAndNotify=(o,n=!0)=>{this.prev=this.current,this.current=o;let{delta:i,timestamp:a}=Q;this.lastUpdated!==a&&(this.timeDelta=i,this.lastUpdated=a,N.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()),n&&this.events.renderRequest&&this.events.renderRequest.notify(this.current);},this.scheduleVelocityCheck=()=>N.postRender(this.velocityCheck),this.velocityCheck=({timestamp:o})=>{o!==this.lastUpdated&&(this.prev=this.current,this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()));},this.hasAnimated=!1,this.prev=this.current=t,this.canTrackVelocity=Kk(this.current),this.owner=r.owner;}onChange(t){return this.on("change",t)}on(t,r){this.events[t]||(this.events[t]=new Dt);let o=this.events[t].add(r);return t==="change"?()=>{o(),N.read(()=>{this.events.change.getSize()||this.stop();});}:o}clearListeners(){for(let t in this.events)this.events[t].clear();}attach(t,r){this.passiveEffect=t,this.stopPassiveEffect=r;}set(t,r=!0){!r||!this.passiveEffect?this.updateAndNotify(t,r):this.passiveEffect(t,this.updateAndNotify);}setWithVelocity(t,r,o){this.set(r),this.prev=t,this.timeDelta=o;}jump(t){this.updateAndNotify(t),this.prev=t,this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect();}get(){return this.current}getPrevious(){return this.prev}getVelocity(){return this.canTrackVelocity?ma(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0}start(t){return this.stop(),new Promise(r=>{this.hasAnimated=!0,this.animation=t(r),this.events.animationStart&&this.events.animationStart.notify();}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation();})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation();}isAnimating(){return !!this.animation}clearAnimation(){delete this.animation;}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect();}};function et(e,t){return new zl(e,t)}var Ca=e=>t=>t.test(e);var fp={test:e=>e==="auto",parse:e=>e};var Fl=[Fe,R,we,Je,em,Qf,fp],Qr=e=>Fl.find(Ca(e));var qk=[...Fl,ne,_e],mp=e=>qk.find(Ca(e));function Yk(e,t,r){e.hasValue(t)?e.getValue(t).set(r):e.addValue(t,et(r));}function pp(e,t){let r=Nt(e,t),a=r?e.makeTargetAnimatable(r,!1):{},{transitionEnd:o={},transition:n={}}=a,i=k(a,["transitionEnd","transition"]);i=f(f({},i),o);for(let s in i){let l=pm(i[s]);Yk(e,s,l);}}function hp(e,t,r){var o,n;let i=Object.keys(t).filter(s=>!e.hasValue(s)),a=i.length;if(a)for(let s=0;s<a;s++){let l=i[s],c=t[l],u=null;Array.isArray(c)&&(u=c[0]),u===null&&(u=(n=(o=r[l])!==null&&o!==void 0?o:e.readValue(l))!==null&&n!==void 0?n:t[l]),u!=null&&(typeof u=="string"&&(Sa(u)||ba(u))?u=parseFloat(u):!mp(u)&&_e.test(c)&&(u=va(l,c)),e.addValue(l,et(u,{owner:e})),r[l]===void 0&&(r[l]=u),u!==null&&e.setBaseTarget(l,u));}}function Xk(e,t){return t?(t[e]||t.default||t).from:void 0}function gp(e,t,r){let o={};for(let n in e){let i=Xk(n,t);if(i!==void 0)o[n]=i;else {let a=r.getValue(n);a&&(o[n]=a.get());}}return o}function Zk({protectedKeys:e,needsAnimating:t},r){let o=e.hasOwnProperty(r)&&t[r]!==!0;return t[r]=!1,o}function wa(e,t,{delay:r=0,transitionOverride:o,type:n}={}){let d=e.makeTargetAnimatable(t),{transition:i=e.getDefaultTransition(),transitionEnd:a}=d,s=k(d,["transition","transitionEnd"]),l=e.getValue("willChange");o&&(i=o);let c=[],u=n&&e.animationState&&e.animationState.getState()[n];for(let m in s){let p=e.getValue(m),g=s[m];if(!p||g===void 0||u&&Zk(u,m))continue;let y=f({delay:r,elapsed:0},i);if(window.HandoffAppearAnimations&&!p.hasAnimated){let x=e.getProps()[Am];x&&(y.elapsed=window.HandoffAppearAnimations(x,m,p,N),y.syncStart=!0);}p.start(Xr(m,p,g,e.shouldReduceMotion&&Te.has(m)?{type:!1}:y));let b=p.animation;ir(l)&&(l.add(m),b.then(()=>l.remove(m))),c.push(b);}return a&&Promise.all(c).then(()=>{a&&pp(e,a);}),c}function ka(e,t,r={}){let o=Nt(e,t,r.custom),{transition:n=e.getDefaultTransition()||{}}=o||{};r.transitionOverride&&(n=r.transitionOverride);let i=o?()=>Promise.all(wa(e,o,r)):()=>Promise.resolve(),a=e.variantChildren&&e.variantChildren.size?(l=0)=>{let{delayChildren:c=0,staggerChildren:u,staggerDirection:d}=n;return Jk(e,t,c+l,u,d,r)}:()=>Promise.resolve(),{when:s}=n;if(s){let[l,c]=s==="beforeChildren"?[i,a]:[a,i];return l().then(()=>c())}else return Promise.all([i(),a(r.delay)])}function Jk(e,t,r=0,o=0,n=1,i){let a=[],s=(e.variantChildren.size-1)*o,l=n===1?(c=0)=>c*o:(c=0)=>s-c*o;return Array.from(e.variantChildren).sort(Qk).forEach((c,u)=>{c.notify("AnimationStart",t),a.push(ka(c,t,v(f({},i),{delay:r+l(u)})).then(()=>c.notify("AnimationComplete",t)));}),Promise.all(a)}function Qk(e,t){return e.sortNodePosition(t)}function yp(e,t,r={}){e.notify("AnimationStart",t);let o;if(Array.isArray(t)){let n=t.map(i=>ka(e,i,r));o=Promise.all(n);}else if(typeof t=="string")o=ka(e,t,r);else {let n=typeof t=="function"?Nt(e,t,r.custom):t;o=Promise.all(wa(e,n,r));}return o.then(()=>e.notify("AnimationComplete",t))}var e_=[...Li].reverse(),t_=Li.length;function r_(e){return t=>Promise.all(t.map(({animation:r,options:o})=>yp(e,r,o)))}function vp(e){let t=r_(e),r=n_(),o=!0,n=(l,c)=>{let u=Nt(e,c);if(u){let d=u,{transition:m,transitionEnd:p}=d,g=k(d,["transition","transitionEnd"]);l=f(f(f({},l),g),p);}return l};function i(l){t=l(e);}function a(l,c){let u=e.getProps(),d=e.getVariantContext(!0)||{},m=[],p=new Set,g={},y=1/0;for(let x=0;x<t_;x++){let S=e_[x],C=r[S],w=u[S]!==void 0?u[S]:d[S],P=dt(w),E=S===c?C.isActive:null;E===!1&&(y=x);let A=w===d[S]&&w!==u[S]&&P;if(A&&o&&e.manuallyAnimateOnMount&&(A=!1),C.protectedKeys=f({},g),!C.isActive&&E===null||!w&&!C.prevProp||Mt(w)||typeof w=="boolean")continue;let M=o_(C.prevProp,w),O=M||S===c&&C.isActive&&!A&&P||x>y&&P,B=Array.isArray(w)?w:[w],W=B.reduce(n,{});E===!1&&(W={});let{prevResolvedValues:ue={}}=C,de=f(f({},ue),W),he=G=>{O=!0,p.delete(G),C.needsAnimating[G]=!0;};for(let G in de){let ee=W[G],ot=ue[G];g.hasOwnProperty(G)||(ee!==ot?rr(ee)&&rr(ot)?!kl(ee,ot)||M?he(G):C.protectedKeys[G]=!0:ee!==void 0?he(G):p.add(G):ee!==void 0&&p.has(G)?he(G):C.protectedKeys[G]=!0);}C.prevProp=w,C.prevResolvedValues=W,C.isActive&&(g=f(f({},g),W)),o&&e.blockInitialAnimation&&(O=!1),O&&!A&&m.push(...B.map(G=>({animation:G,options:f({type:S},l)})));}if(p.size){let x={};p.forEach(S=>{let C=e.getBaseTarget(S);C!==void 0&&(x[S]=C);}),m.push({animation:x});}let b=!!m.length;return o&&u.initial===!1&&!e.manuallyAnimateOnMount&&(b=!1),o=!1,b?t(m):Promise.resolve()}function s(l,c,u){var d;if(r[l].isActive===c)return Promise.resolve();(d=e.variantChildren)===null||d===void 0||d.forEach(p=>{var g;return (g=p.animationState)===null||g===void 0?void 0:g.setActive(l,c)}),r[l].isActive=c;let m=a(u,l);for(let p in r)r[p].protectedKeys={};return m}return {animateChanges:a,setActive:s,setAnimateFunction:i,getState:()=>r}}function o_(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!kl(t,e):!1}function ar(e=!1){return {isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function n_(){return {animate:ar(!0),whileInView:ar(),whileHover:ar(),whileTap:ar(),whileDrag:ar(),whileFocus:ar(),exit:ar()}}var _a=class extends le{constructor(t){super(t),t.animationState||(t.animationState=vp(t));}updateAnimationControlsSubscription(){let{animate:t}=this.node.getProps();this.unmount(),Mt(t)&&(this.unmount=t.subscribe(this.node));}mount(){this.updateAnimationControlsSubscription();}update(){let{animate:t}=this.node.getProps(),{animate:r}=this.node.prevProps||{};t!==r&&this.updateAnimationControlsSubscription();}unmount(){}};var i_=0,Ta=class extends le{constructor(){super(...arguments),this.id=i_++;}update(){if(!this.node.presenceContext)return;let{isPresent:t,onExitComplete:r,custom:o}=this.node.presenceContext,{isPresent:n}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===n)return;let i=this.node.animationState.setActive("exit",!t,{custom:o!=null?o:this.node.getProps().custom});r&&!t&&i.then(()=>r(this.id));}mount(){let{register:t}=this.node.presenceContext||{};t&&(this.unmount=t(this.id));}unmount(){}};var bp={animation:{Feature:_a},exit:{Feature:Ta}};var xp=(e,t)=>Math.abs(e-t);function Sp(e,t){let r=xp(e.x,t.x),o=xp(e.y,t.y);return Math.sqrt($n(r,2)+$n(o,2))}var eo=class{constructor(t,r,{transformPagePoint:o}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let c=Hl(this.lastMoveEventInfo,this.history),u=this.startEvent!==null,d=Sp(c.offset,{x:0,y:0})>=3;if(!u&&!d)return;let{point:m}=c,{timestamp:p}=Q;this.history.push(v(f({},m),{timestamp:p}));let{onStart:g,onMove:y}=this.handlers;u||(g&&g(this.lastMoveEvent,c),this.startEvent=this.lastMoveEvent),y&&y(this.lastMoveEvent,c);},this.handlePointerMove=(c,u)=>{this.lastMoveEvent=c,this.lastMoveEventInfo=Wl(u,this.transformPagePoint),N.update(this.updatePoint,!0);},this.handlePointerUp=(c,u)=>{if(this.end(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let{onEnd:d,onSessionEnd:m}=this.handlers,p=Hl(c.type==="pointercancel"?this.lastMoveEventInfo:Wl(u,this.transformPagePoint),this.history);this.startEvent&&d&&d(c,p),m&&m(c,p);},!ta(t))return;this.handlers=r,this.transformPagePoint=o;let n=or(t),i=Wl(n,this.transformPagePoint),{point:a}=i,{timestamp:s}=Q;this.history=[v(f({},a),{timestamp:s})];let{onSessionStart:l}=r;l&&l(t,Hl(i,this.history)),this.removeListeners=Ee(Ae(window,"pointermove",this.handlePointerMove),Ae(window,"pointerup",this.handlePointerUp),Ae(window,"pointercancel",this.handlePointerUp));}updateHandlers(t){this.handlers=t;}end(){this.removeListeners&&this.removeListeners(),ke(this.updatePoint);}};function Wl(e,t){return t?{point:t(e.point)}:e}function Cp(e,t){return {x:e.x-t.x,y:e.y-t.y}}function Hl({point:e},t){return {point:e,delta:Cp(e,wp(t)),offset:Cp(e,a_(t)),velocity:s_(t,.1)}}function a_(e){return e[0]}function wp(e){return e[e.length-1]}function s_(e,t){if(e.length<2)return {x:0,y:0};let r=e.length-1,o=null,n=wp(e);for(;r>=0&&(o=e[r],!(n.timestamp-o.timestamp>Ne(t)));)r--;if(!o)return {x:0,y:0};let i=Re(n.timestamp-o.timestamp);if(i===0)return {x:0,y:0};let a={x:(n.x-o.x)/i,y:(n.y-o.y)/i};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}function pe(e){return e.max-e.min}function Pa(e,t=0,r=.01){return Math.abs(e-t)<=r}function kp(e,t,r,o=.5){e.origin=o,e.originPoint=D(t.min,t.max,e.origin),e.scale=pe(r)/pe(t),(Pa(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=D(r.min,r.max,e.origin)-e.originPoint,(Pa(e.translate)||isNaN(e.translate))&&(e.translate=0);}function to(e,t,r,o){kp(e.x,t.x,r.x,o?o.originX:void 0),kp(e.y,t.y,r.y,o?o.originY:void 0);}function _p(e,t,r){e.min=r.min+t.min,e.max=e.min+pe(t);}function Pp(e,t,r){_p(e.x,t.x,r.x),_p(e.y,t.y,r.y);}function Tp(e,t,r){e.min=t.min-r.min,e.max=e.min+pe(t);}function ro(e,t,r){Tp(e.x,t.x,r.x),Tp(e.y,t.y,r.y);}function Ip(e,{min:t,max:r},o){return t!==void 0&&e<t?e=o?D(t,e,o.min):Math.max(e,t):r!==void 0&&e>r&&(e=o?D(r,e,o.max):Math.min(e,r)),e}function Ap(e,t,r){return {min:t!==void 0?e.min+t:void 0,max:r!==void 0?e.max+r-(e.max-e.min):void 0}}function Vp(e,{top:t,left:r,bottom:o,right:n}){return {x:Ap(e.x,r,n),y:Ap(e.y,t,o)}}function Ep(e,t){let r=t.min-e.min,o=t.max-e.max;return t.max-t.min<e.max-e.min&&([r,o]=[o,r]),{min:r,max:o}}function Op(e,t){return {x:Ep(e.x,t.x),y:Ep(e.y,t.y)}}function Np(e,t){let r=.5,o=pe(e),n=pe(t);return n>o?r=mt(t.min,t.max-o,e.min):o>n&&(r=mt(e.min,e.max-n,t.min)),Ce(0,1,r)}function $p(e,t){let r={};return t.min!==void 0&&(r.min=t.min-e.min),t.max!==void 0&&(r.max=t.max-e.min),r}var Aa=.35;function Lp(e=Aa){return e===!1?e=0:e===!0&&(e=Aa),{x:Rp(e,"left","right"),y:Rp(e,"top","bottom")}}function Rp(e,t,r){return {min:Mp(e,t),max:Mp(e,r)}}function Mp(e,t){return typeof e=="number"?e:e[t]||0}var Dp=()=>({translate:0,scale:1,origin:0,originPoint:0}),sr=()=>({x:Dp(),y:Dp()}),jp=()=>({min:0,max:0}),Z=()=>({x:jp(),y:jp()});function We(e){return [e("x"),e("y")]}function Ea({top:e,left:t,right:r,bottom:o}){return {x:{min:t,max:r},y:{min:e,max:o}}}function Bp({x:e,y:t}){return {top:t.min,right:e.max,bottom:t.max,left:e.min}}function zp(e,t){if(!t)return e;let r=t({x:e.left,y:e.top}),o=t({x:e.right,y:e.bottom});return {top:r.y,left:r.x,bottom:o.y,right:o.x}}function Gl(e){return e===void 0||e===1}function Ra({scale:e,scaleX:t,scaleY:r}){return !Gl(e)||!Gl(t)||!Gl(r)}function pt(e){return Ra(e)||Ul(e)||e.z||e.rotate||e.rotateX||e.rotateY}function Ul(e){return Fp(e.x)||Fp(e.y)}function Fp(e){return e&&e!=="0%"}function gn(e,t,r){let o=e-r,n=t*o;return r+n}function Wp(e,t,r,o,n){return n!==void 0&&(e=gn(e,n,o)),gn(e,r,o)+t}function Kl(e,t=0,r=1,o,n){e.min=Wp(e.min,t,r,o,n),e.max=Wp(e.max,t,r,o,n);}function ql(e,{x:t,y:r}){Kl(e.x,t.translate,t.scale,t.originPoint),Kl(e.y,r.translate,r.scale,r.originPoint);}function Up(e,t,r,o=!1){let n=r.length;if(!n)return;t.x=t.y=1;let i,a;for(let s=0;s<n;s++){i=r[s],a=i.projectionDelta;let l=i.instance;l&&l.style&&l.style.display==="contents"||(o&&i.options.layoutScroll&&i.scroll&&i!==i.root&&lr(e,{x:-i.scroll.offset.x,y:-i.scroll.offset.y}),a&&(t.x*=a.x.scale,t.y*=a.y.scale,ql(e,a)),o&&pt(i.latestValues)&&lr(e,i.latestValues));}t.x=Hp(t.x),t.y=Hp(t.y);}function Hp(e){return Number.isInteger(e)||e>1.0000000000001||e<.999999999999?e:1}function tt(e,t){e.min=e.min+t,e.max=e.max+t;}function Gp(e,t,[r,o,n]){let i=t[n]!==void 0?t[n]:.5,a=D(e.min,e.max,i);Kl(e,t[r],t[o],a,t.scale);}var l_=["x","scaleX","originX"],c_=["y","scaleY","originY"];function lr(e,t){Gp(e.x,t,l_),Gp(e.y,t,c_);}function Yl(e,t){return Ea(zp(e.getBoundingClientRect(),t))}function Kp(e,t,r){let o=Yl(e,r),{scroll:n}=t;return n&&(tt(o.x,n.offset.x),tt(o.y,n.offset.y)),o}var u_=new WeakMap,Ia=class{constructor(t){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=Z(),this.visualElement=t;}start(t,{snapToCursor:r=!1}={}){let{presenceContext:o}=this.visualElement;if(o&&o.isPresent===!1)return;let n=l=>{this.stopAnimation(),r&&this.snapToCursor(or(l,"page").point);},i=(l,c)=>{let{drag:u,dragPropagation:d,onDragStart:m}=this.getProps();if(u&&!d&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=bl(u),!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),We(g=>{let y=this.getAxisMotionValue(g).get()||0;if(we.test(y)){let{projection:b}=this.visualElement;if(b&&b.layout){let x=b.layout.layoutBox[g];x&&(y=pe(x)*(parseFloat(y)/100));}}this.originPoint[g]=y;}),m&&N.update(()=>m(l,c),!1,!0);let{animationState:p}=this.visualElement;p&&p.setActive("whileDrag",!0);},a=(l,c)=>{let{dragPropagation:u,dragDirectionLock:d,onDirectionLock:m,onDrag:p}=this.getProps();if(!u&&!this.openGlobalLock)return;let{offset:g}=c;if(d&&this.currentDirection===null){this.currentDirection=d_(g),this.currentDirection!==null&&m&&m(this.currentDirection);return}this.updateAxis("x",c.point,g),this.updateAxis("y",c.point,g),this.visualElement.render(),p&&p(l,c);},s=(l,c)=>this.stop(l,c);this.panSession=new eo(t,{onSessionStart:n,onStart:i,onMove:a,onSessionEnd:s},{transformPagePoint:this.visualElement.getTransformPagePoint()});}stop(t,r){let o=this.isDragging;if(this.cancel(),!o)return;let{velocity:n}=r;this.startAnimation(n);let{onDragEnd:i}=this.getProps();i&&N.update(()=>i(t,r));}cancel(){this.isDragging=!1;let{projection:t,animationState:r}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;let{dragPropagation:o}=this.getProps();!o&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),r&&r.setActive("whileDrag",!1);}updateAxis(t,r,o){let{drag:n}=this.getProps();if(!o||!Ma(t,n,this.currentDirection))return;let i=this.getAxisMotionValue(t),a=this.originPoint[t]+o[t];this.constraints&&this.constraints[t]&&(a=Ip(a,this.constraints[t],this.elastic[t])),i.set(a);}resolveConstraints(){let{dragConstraints:t,dragElastic:r}=this.getProps(),{layout:o}=this.visualElement.projection||{},n=this.constraints;t&&ut(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&o?this.constraints=Vp(o.layoutBox,t):this.constraints=!1,this.elastic=Lp(r),n!==this.constraints&&o&&this.constraints&&!this.hasMutatedConstraints&&We(i=>{this.getAxisMotionValue(i)&&(this.constraints[i]=$p(o.layoutBox[i],this.constraints[i]));});}resolveRefConstraints(){let{dragConstraints:t,onMeasureDragConstraints:r}=this.getProps();if(!t||!ut(t))return !1;let o=t.current;let{projection:n}=this.visualElement;if(!n||!n.layout)return !1;let i=Kp(o,n.root,this.visualElement.getTransformPagePoint()),a=Op(n.layout.layoutBox,i);if(r){let s=r(Bp(a));this.hasMutatedConstraints=!!s,s&&(a=Ea(s));}return a}startAnimation(t){let{drag:r,dragMomentum:o,dragElastic:n,dragTransition:i,dragSnapToOrigin:a,onDragTransitionEnd:s}=this.getProps(),l=this.constraints||{},c=We(u=>{if(!Ma(u,r,this.currentDirection))return;let d=l&&l[u]||{};a&&(d={min:0,max:0});let m=n?200:1e6,p=n?40:1e7,g=f(f({type:"inertia",velocity:o?t[u]:0,bounceStiffness:m,bounceDamping:p,timeConstant:750,restDelta:1,restSpeed:10},i),d);return this.startAxisValueAnimation(u,g)});return Promise.all(c).then(s)}startAxisValueAnimation(t,r){let o=this.getAxisMotionValue(t);return o.start(Xr(t,o,0,r))}stopAnimation(){We(t=>this.getAxisMotionValue(t).stop());}getAxisMotionValue(t){let r="_drag"+t.toUpperCase(),o=this.visualElement.getProps(),n=o[r];return n||this.visualElement.getValue(t,(o.initial?o.initial[t]:void 0)||0)}snapToCursor(t){We(r=>{let{drag:o}=this.getProps();if(!Ma(r,o,this.currentDirection))return;let{projection:n}=this.visualElement,i=this.getAxisMotionValue(r);if(n&&n.layout){let{min:a,max:s}=n.layout.layoutBox[r];i.set(t[r]-D(a,s,.5));}});}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:t,dragConstraints:r}=this.getProps(),{projection:o}=this.visualElement;if(!ut(r)||!o||!this.constraints)return;this.stopAnimation();let n={x:0,y:0};We(a=>{let s=this.getAxisMotionValue(a);if(s){let l=s.get();n[a]=Np({min:l,max:l},this.constraints[a]);}});let{transformTemplate:i}=this.visualElement.getProps();this.visualElement.current.style.transform=i?i({},""):"none",o.root&&o.root.updateScroll(),o.updateLayout(),this.resolveConstraints(),We(a=>{if(!Ma(a,t,null))return;let s=this.getAxisMotionValue(a),{min:l,max:c}=this.constraints[a];s.set(D(l,c,n[a]));});}addListeners(){if(!this.visualElement.current)return;u_.set(this.visualElement,this);let t=this.visualElement.current,r=Ae(t,"pointerdown",l=>{let{drag:c,dragListener:u=!0}=this.getProps();c&&u&&this.start(l);}),o=()=>{let{dragConstraints:l}=this.getProps();ut(l)&&(this.constraints=this.resolveRefConstraints());},{projection:n}=this.visualElement,i=n.addEventListener("measure",o);n&&!n.layout&&(n.root&&n.root.updateScroll(),n.updateLayout()),o();let a=Pe(window,"resize",()=>this.scalePositionWithinConstraints()),s=n.addEventListener("didUpdate",({delta:l,hasLayoutChanged:c})=>{this.isDragging&&c&&(We(u=>{let d=this.getAxisMotionValue(u);d&&(this.originPoint[u]+=l[u].translate,d.set(d.get()+l[u].translate));}),this.visualElement.render());});return ()=>{a(),r(),i(),s&&s();}}getProps(){let t=this.visualElement.getProps(),{drag:r=!1,dragDirectionLock:o=!1,dragPropagation:n=!1,dragConstraints:i=!1,dragElastic:a=Aa,dragMomentum:s=!0}=t;return v(f({},t),{drag:r,dragDirectionLock:o,dragPropagation:n,dragConstraints:i,dragElastic:a,dragMomentum:s})}};function Ma(e,t,r){return (t===!0||t===e)&&(r===null||r===e)}function d_(e,t=10){let r=null;return Math.abs(e.y)>t?r="y":Math.abs(e.x)>t&&(r="x"),r}var Va=class extends le{constructor(t){super(t),this.removeGroupControls=L,this.removeListeners=L,this.controls=new Ia(t);}mount(){let{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||L;}unmount(){this.removeGroupControls(),this.removeListeners();}};var qp=e=>(t,r)=>{e&&N.update(()=>e(t,r));},Oa=class extends le{constructor(){super(...arguments),this.removePointerDownListener=L;}onPointerDown(t){this.session=new eo(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint()});}createPanHandlers(){let{onPanSessionStart:t,onPanStart:r,onPan:o,onPanEnd:n}=this.node.getProps();return {onSessionStart:qp(t),onStart:qp(r),onMove:o,onEnd:(i,a)=>{delete this.session,n&&N.update(()=>n(i,a));}}}mount(){this.removePointerDownListener=Ae(this.node.current,"pointerdown",t=>this.onPointerDown(t));}update(){this.session&&this.session.updateHandlers(this.createPanHandlers());}unmount(){this.removePointerDownListener(),this.session&&this.session.end();}};function Yp(){let e=ht.useContext(Et);if(e===null)return [!0,null];let{isPresent:t,onExitComplete:r,register:o}=e,n=ht.useId();return ht.useEffect(()=>o(n),[]),!t&&r?[!1,()=>r&&r(n)]:[!0]}var oo={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function Xp(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}var no={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(R.test(e))e=parseFloat(e);else return e;let r=Xp(e,t.target.x),o=Xp(e,t.target.y);return `${r}% ${o}%`}};var Zp={correct:(e,{treeScale:t,projectionDelta:r})=>{let o=e,n=_e.parse(e);if(n.length>5)return o;let i=_e.createTransformer(e),a=typeof n[0]!="number"?1:0,s=r.x.scale*t.x,l=r.y.scale*t.y;n[0+a]/=s,n[1+a]/=l;let c=D(s,l,.5);return typeof n[2+a]=="number"&&(n[2+a]/=c),typeof n[3+a]=="number"&&(n[3+a]/=c),i(n)}};var Xl=class extends ht__namespace.default.Component{componentDidMount(){let{visualElement:t,layoutGroup:r,switchLayoutGroup:o,layoutId:n}=this.props,{projection:i}=t;Kf(h_),i&&(r.group&&r.group.add(i),o&&o.register&&n&&o.register(i),i.root.didUpdate(),i.addEventListener("animationComplete",()=>{this.safeToRemove();}),i.setOptions(v(f({},i.options),{onExitComplete:()=>this.safeToRemove()}))),oo.hasEverUpdated=!0;}getSnapshotBeforeUpdate(t){let{layoutDependency:r,visualElement:o,drag:n,isPresent:i}=this.props,a=o.projection;return a&&(a.isPresent=i,n||t.layoutDependency!==r||r===void 0?a.willUpdate():this.safeToRemove(),t.isPresent!==i&&(i?a.promote():a.relegate()||N.postRender(()=>{let s=a.getStack();(!s||!s.members.length)&&this.safeToRemove();}))),null}componentDidUpdate(){let{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),queueMicrotask(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove();}));}componentWillUnmount(){let{visualElement:t,layoutGroup:r,switchLayoutGroup:o}=this.props,{projection:n}=t;n&&(n.scheduleCheckAfterUnmount(),r&&r.group&&r.group.remove(n),o&&o.deregister&&o.deregister(n));}safeToRemove(){let{safeToRemove:t}=this.props;t&&t();}render(){return null}};function Na(e){let[t,r]=Yp(),o=ht.useContext($r);return ht__namespace.default.createElement(Xl,v(f({},e),{layoutGroup:o,switchLayoutGroup:ht.useContext(ji),isPresent:t,safeToRemove:r}))}var h_={borderRadius:v(f({},no),{applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]}),borderTopLeftRadius:no,borderTopRightRadius:no,borderBottomLeftRadius:no,borderBottomRightRadius:no,boxShadow:Zp};var oh=["TopLeft","TopRight","BottomLeft","BottomRight"],g_=oh.length,eh=e=>typeof e=="string"?parseFloat(e):e,th=e=>typeof e=="number"||R.test(e);function nh(e,t,r,o,n,i){n?(e.opacity=D(0,r.opacity!==void 0?r.opacity:1,y_(o)),e.opacityExit=D(t.opacity!==void 0?t.opacity:1,0,v_(o))):i&&(e.opacity=D(t.opacity!==void 0?t.opacity:1,r.opacity!==void 0?r.opacity:1,o));for(let a=0;a<g_;a++){let s=`border${oh[a]}Radius`,l=rh(t,s),c=rh(r,s);if(l===void 0&&c===void 0)continue;l||(l=0),c||(c=0),l===0||c===0||th(l)===th(c)?(e[s]=Math.max(D(eh(l),eh(c),o),0),(we.test(c)||we.test(l))&&(e[s]+="%")):e[s]=c;}(t.rotate||r.rotate)&&(e.rotate=D(t.rotate||0,r.rotate||0,o));}function rh(e,t){return e[t]!==void 0?e[t]:e.borderRadius}var y_=ih(0,.5,cn),v_=ih(.5,.95,L);function ih(e,t,r){return o=>o<e?0:o>t?1:r(mt(e,t,o))}function ah(e,t){e.min=t.min,e.max=t.max;}function $e(e,t){ah(e.x,t.x),ah(e.y,t.y);}function sh(e,t,r,o,n){return e-=t,e=gn(e,1/r,o),n!==void 0&&(e=gn(e,1/n,o)),e}function b_(e,t=0,r=1,o=.5,n,i=e,a=e){if(we.test(t)&&(t=parseFloat(t),t=D(a.min,a.max,t/100)-a.min),typeof t!="number")return;let s=D(i.min,i.max,o);e===i&&(s-=t),e.min=sh(e.min,t,r,s,n),e.max=sh(e.max,t,r,s,n);}function lh(e,t,[r,o,n],i,a){b_(e,t[r],t[o],t[n],t.scale,i,a);}var x_=["x","scaleX","originX"],S_=["y","scaleY","originY"];function Zl(e,t,r,o){lh(e.x,t,x_,r?r.x:void 0,o?o.x:void 0),lh(e.y,t,S_,r?r.y:void 0,o?o.y:void 0);}function ch(e){return e.translate===0&&e.scale===1}function Jl(e){return ch(e.x)&&ch(e.y)}function uh(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 Ql(e,t){return Math.round(e.x.min)===Math.round(t.x.min)&&Math.round(e.x.max)===Math.round(t.x.max)&&Math.round(e.y.min)===Math.round(t.y.min)&&Math.round(e.y.max)===Math.round(t.y.max)}function ec(e){return pe(e.x)/pe(e.y)}var $a=class{constructor(){this.members=[];}add(t){Zr(this.members,t),t.scheduleRender();}remove(t){if(Jr(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){let r=this.members[this.members.length-1];r&&this.promote(r);}}relegate(t){let r=this.members.findIndex(n=>t===n);if(r===0)return !1;let o;for(let n=r;n>=0;n--){let i=this.members[n];if(i.isPresent!==!1){o=i;break}}return o?(this.promote(o),!0):!1}promote(t,r){let o=this.lead;if(t!==o&&(this.prevLead=o,this.lead=t,t.show(),o)){o.instance&&o.scheduleRender(),t.scheduleRender(),t.resumeFrom=o,r&&(t.resumeFrom.preserveOpacity=!0),o.snapshot&&(t.snapshot=o.snapshot,t.snapshot.latestValues=o.animationValues||o.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);let{crossfade:n}=t.options;n===!1&&o.hide();}}exitAnimationComplete(){this.members.forEach(t=>{let{options:r,resumingFrom:o}=t;r.onExitComplete&&r.onExitComplete(),o&&o.options.onExitComplete&&o.options.onExitComplete();});}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1);});}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0);}};function tc(e,t,r){let o="",n=e.x.translate/t.x,i=e.y.translate/t.y;if((n||i)&&(o=`translate3d(${n}px, ${i}px, 0) `),(t.x!==1||t.y!==1)&&(o+=`scale(${1/t.x}, ${1/t.y}) `),r){let{rotate:l,rotateX:c,rotateY:u}=r;l&&(o+=`rotate(${l}deg) `),c&&(o+=`rotateX(${c}deg) `),u&&(o+=`rotateY(${u}deg) `);}let a=e.x.scale*t.x,s=e.y.scale*t.y;return (a!==1||s!==1)&&(o+=`scale(${a}, ${s})`),o||"none"}var dh=(e,t)=>e.depth-t.depth;var La=class{constructor(){this.children=[],this.isDirty=!1;}add(t){Zr(this.children,t),this.isDirty=!0;}remove(t){Jr(this.children,t),this.isDirty=!0;}forEach(t){this.isDirty&&this.children.sort(dh),this.isDirty=!1,this.children.forEach(t);}};function fh(e,t){let r=performance.now(),o=({timestamp:n})=>{let i=n-r;i>=t&&(ke(o),e(i-t));};return N.read(o,!0),()=>ke(o)}function mh(e){window.MotionDebug&&window.MotionDebug.record(e);}function ph(e){return e instanceof SVGElement&&e.tagName!=="svg"}function hh(e,t,r){let o=X(e)?e:et(e);return o.start(Xr("",o,t,r)),o.animation}var gh=["","X","Y","Z"],yh=1e3,C_=0,cr={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function Da({attachResizeListener:e,defaultParent:t,measureScroll:r,checkIsScrollRoot:o,resetTransform:n}){return class{constructor(a={},s=t==null?void 0:t()){this.id=C_++,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.hasTreeAnimated=!1,this.updateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots());},this.updateProjection=()=>{cr.totalNodes=cr.resolvedTargetDeltas=cr.recalculatedProjection=0,this.nodes.forEach(__),this.nodes.forEach(R_),this.nodes.forEach(M_),this.nodes.forEach(T_),mh(cr);},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=a,this.root=s?s.root||s:this,this.path=s?[...s.path,s]:[],this.parent=s,this.depth=s?s.depth+1:0;for(let l=0;l<this.path.length;l++)this.path[l].shouldResetTransform=!0;this.root===this&&(this.nodes=new La);}addEventListener(a,s){return this.eventHandlers.has(a)||this.eventHandlers.set(a,new Dt),this.eventHandlers.get(a).add(s)}notifyListeners(a,...s){let l=this.eventHandlers.get(a);l&&l.notify(...s);}hasListeners(a){return this.eventHandlers.has(a)}mount(a,s=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=ph(a),this.instance=a;let{layoutId:l,layout:c,visualElement:u}=this.options;if(u&&!u.current&&u.mount(a),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),s&&(c||l)&&(this.isLayoutDirty=!0),e){let d,m=()=>this.root.updateBlockedByResize=!1;e(a,()=>{this.root.updateBlockedByResize=!0,d&&d(),d=fh(m,250),oo.hasAnimatedSinceResize&&(oo.hasAnimatedSinceResize=!1,this.nodes.forEach(bh));});}l&&this.root.registerSharedNode(l,this),this.options.animate!==!1&&u&&(l||c)&&this.addEventListener("didUpdate",({delta:d,hasLayoutChanged:m,hasRelativeTargetChanged:p,layout:g})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let y=this.options.transition||u.getDefaultTransition()||$_,{onLayoutAnimationStart:b,onLayoutAnimationComplete:x}=u.getProps(),S=!this.targetLayout||!Ql(this.targetLayout,g)||p,C=!m&&p;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||C||m&&(S||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(d,C);let w=v(f({},xa(y,"layout")),{onPlay:b,onComplete:x});(u.shouldReduceMotion||this.options.layoutRoot)&&(w.delay=0,w.type=!1),this.startAnimation(w);}else m||bh(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=g;});}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let a=this.getStack();a&&a.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,ke(this.updateProjection);}blockUpdate(){this.updateManuallyBlocked=!0;}unblockUpdate(){this.updateManuallyBlocked=!1;}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(I_),this.animationId++);}getTransformTemplate(){let{visualElement:a}=this.options;return a&&a.getProps().transformTemplate}willUpdate(a=!0){if(this.root.hasTreeAnimated=!0,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 u=0;u<this.path.length;u++){let d=this.path[u];d.shouldResetTransform=!0,d.updateScroll("snapshot"),d.options.layoutRoot&&d.willUpdate(!1);}let{layoutId:s,layout:l}=this.options;if(s===void 0&&!l)return;let c=this.getTransformTemplate();this.prevTransformTemplateValue=c?c(this.latestValues,""):void 0,this.updateSnapshot(),a&&this.notifyListeners("willUpdate");}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(vh);return}this.isUpdating||this.nodes.forEach(A_),this.isUpdating=!1,this.nodes.forEach(E_),this.nodes.forEach(w_),this.nodes.forEach(k_),this.clearAllSnapshots();let s=performance.now();Q.delta=Ce(0,1e3/60,s-Q.timestamp),Q.timestamp=s,Q.isProcessing=!0,ea.update.process(Q),ea.preRender.process(Q),ea.render.process(Q),Q.isProcessing=!1;}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,queueMicrotask(()=>this.update()));}clearAllSnapshots(){this.nodes.forEach(P_),this.sharedNodes.forEach(V_);}scheduleUpdateProjection(){N.preRender(this.updateProjection,!1,!0);}scheduleCheckAfterUnmount(){N.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 l=0;l<this.path.length;l++)this.path[l].updateScroll();let a=this.layout;this.layout=this.measure(!1),this.layoutCorrected=Z(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:s}=this.options;s&&s.notify("LayoutMeasure",this.layout.layoutBox,a?a.layoutBox:void 0);}updateScroll(a="measure"){let s=!!(this.options.layoutScroll&&this.instance);this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===a&&(s=!1),s&&(this.scroll={animationId:this.root.animationId,phase:a,isRoot:o(this.instance),offset:r(this.instance)});}resetTransform(){if(!n)return;let a=this.isLayoutDirty||this.shouldResetTransform,s=this.projectionDelta&&!Jl(this.projectionDelta),l=this.getTransformTemplate(),c=l?l(this.latestValues,""):void 0,u=c!==this.prevTransformTemplateValue;a&&(s||pt(this.latestValues)||u)&&(n(this.instance,c),this.shouldResetTransform=!1,this.scheduleRender());}measure(a=!0){let s=this.measurePageBox(),l=this.removeElementScroll(s);return a&&(l=this.removeTransform(l)),L_(l),{animationId:this.root.animationId,measuredBox:s,layoutBox:l,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:a}=this.options;if(!a)return Z();let s=a.measureViewportBox(),{scroll:l}=this.root;return l&&(tt(s.x,l.offset.x),tt(s.y,l.offset.y)),s}removeElementScroll(a){let s=Z();$e(s,a);for(let l=0;l<this.path.length;l++){let c=this.path[l],{scroll:u,options:d}=c;if(c!==this.root&&u&&d.layoutScroll){if(u.isRoot){$e(s,a);let{scroll:m}=this.root;m&&(tt(s.x,-m.offset.x),tt(s.y,-m.offset.y));}tt(s.x,u.offset.x),tt(s.y,u.offset.y);}}return s}applyTransform(a,s=!1){let l=Z();$e(l,a);for(let c=0;c<this.path.length;c++){let u=this.path[c];!s&&u.options.layoutScroll&&u.scroll&&u!==u.root&&lr(l,{x:-u.scroll.offset.x,y:-u.scroll.offset.y}),pt(u.latestValues)&&lr(l,u.latestValues);}return pt(this.latestValues)&&lr(l,this.latestValues),l}removeTransform(a){let s=Z();$e(s,a);for(let l=0;l<this.path.length;l++){let c=this.path[l];if(!c.instance||!pt(c.latestValues))continue;Ra(c.latestValues)&&c.updateSnapshot();let u=Z(),d=c.measurePageBox();$e(u,d),Zl(s,c.latestValues,c.snapshot?c.snapshot.layoutBox:void 0,u);}return pt(this.latestValues)&&Zl(s,this.latestValues),s}setTargetDelta(a){this.targetDelta=a,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0;}setOptions(a){this.options=v(f(f({},this.options),a),{crossfade:a.crossfade!==void 0?a.crossfade:!0});}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1;}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==Q.timestamp&&this.relativeParent.resolveTargetDelta(!0);}resolveTargetDelta(a=!1){var s;let l=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=l.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=l.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=l.isSharedProjectionDirty);let c=!!this.resumingFrom||this!==l;if(!(a||c&&this.isSharedProjectionDirty||this.isProjectionDirty||!((s=this.parent)===null||s===void 0)&&s.isProjectionDirty||this.attemptToResolveRelativeTarget))return;let{layout:d,layoutId:m}=this.options;if(!(!this.layout||!(d||m))){if(this.resolvedRelativeTargetAt=Q.timestamp,!this.targetDelta&&!this.relativeTarget){let p=this.getClosestProjectingParent();p&&p.layout&&this.animationProgress!==1?(this.relativeParent=p,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Z(),this.relativeTargetOrigin=Z(),ro(this.relativeTargetOrigin,this.layout.layoutBox,p.layout.layoutBox),$e(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0;}if(!(!this.relativeTarget&&!this.targetDelta)){if(this.target||(this.target=Z(),this.targetWithTransforms=Z()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),Pp(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):$e(this.target,this.layout.layoutBox),ql(this.target,this.targetDelta)):$e(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;let p=this.getClosestProjectingParent();p&&!!p.resumingFrom==!!this.resumingFrom&&!p.options.layoutScroll&&p.target&&this.animationProgress!==1?(this.relativeParent=p,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Z(),this.relativeTargetOrigin=Z(),ro(this.relativeTargetOrigin,this.target,p.target),$e(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0;}cr.resolvedTargetDeltas++;}}}getClosestProjectingParent(){if(!(!this.parent||Ra(this.parent.latestValues)||Ul(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return !!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var a;let s=this.getLead(),l=!!this.resumingFrom||this!==s,c=!0;if((this.isProjectionDirty||!((a=this.parent)===null||a===void 0)&&a.isProjectionDirty)&&(c=!1),l&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(c=!1),this.resolvedRelativeTargetAt===Q.timestamp&&(c=!1),c)return;let{layout:u,layoutId:d}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(u||d))return;$e(this.layoutCorrected,this.layout.layoutBox);let m=this.treeScale.x,p=this.treeScale.y;Up(this.layoutCorrected,this.treeScale,this.path,l),s.layout&&!s.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(s.target=s.layout.layoutBox);let{target:g}=s;if(!g){this.projectionTransform&&(this.projectionDelta=sr(),this.projectionTransform="none",this.scheduleRender());return}this.projectionDelta||(this.projectionDelta=sr(),this.projectionDeltaWithTransform=sr());let y=this.projectionTransform;to(this.projectionDelta,this.layoutCorrected,g,this.latestValues),this.projectionTransform=tc(this.projectionDelta,this.treeScale),(this.projectionTransform!==y||this.treeScale.x!==m||this.treeScale.y!==p)&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",g)),cr.recalculatedProjection++;}hide(){this.isVisible=!1;}show(){this.isVisible=!0;}scheduleRender(a=!0){if(this.options.scheduleRender&&this.options.scheduleRender(),a){let s=this.getStack();s&&s.scheduleRender();}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0);}setAnimationOrigin(a,s=!1){let l=this.snapshot,c=l?l.latestValues:{},u=f({},this.latestValues),d=sr();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!s;let m=Z(),p=l?l.source:void 0,g=this.layout?this.layout.source:void 0,y=p!==g,b=this.getStack(),x=!b||b.members.length<=1,S=!!(y&&!x&&this.options.crossfade===!0&&!this.path.some(N_));this.animationProgress=0;let C;this.mixTargetDelta=w=>{let P=w/1e3;xh(d.x,a.x,P),xh(d.y,a.y,P),this.setTargetDelta(d),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(ro(m,this.layout.layoutBox,this.relativeParent.layout.layoutBox),O_(this.relativeTarget,this.relativeTargetOrigin,m,P),C&&uh(this.relativeTarget,C)&&(this.isProjectionDirty=!1),C||(C=Z()),$e(C,this.relativeTarget)),y&&(this.animationValues=u,nh(u,c,this.latestValues,P,S,x)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=P;},this.mixTargetDelta(this.options.layoutRoot?1e3:0);}startAnimation(a){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(ke(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=N.update(()=>{oo.hasAnimatedSinceResize=!0,this.currentAnimation=hh(0,yh,v(f({},a),{onUpdate:s=>{this.mixTargetDelta(s),a.onUpdate&&a.onUpdate(s);},onComplete:()=>{a.onComplete&&a.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 a=this.getStack();a&&a.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete");}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(yh),this.currentAnimation.stop()),this.completeAnimation();}applyTransformsToTarget(){let a=this.getLead(),{targetWithTransforms:s,target:l,layout:c,latestValues:u}=a;if(!(!s||!l||!c)){if(this!==a&&this.layout&&c&&_h(this.options.animationType,this.layout.layoutBox,c.layoutBox)){l=this.target||Z();let d=pe(this.layout.layoutBox.x);l.x.min=a.target.x.min,l.x.max=l.x.min+d;let m=pe(this.layout.layoutBox.y);l.y.min=a.target.y.min,l.y.max=l.y.min+m;}$e(s,l),lr(s,u),to(this.projectionDeltaWithTransform,this.layoutCorrected,s,u);}}registerSharedNode(a,s){this.sharedNodes.has(a)||this.sharedNodes.set(a,new $a),this.sharedNodes.get(a).add(s);let c=s.options.initialPromotionConfig;s.promote({transition:c?c.transition:void 0,preserveFollowOpacity:c&&c.shouldPreserveFollowOpacity?c.shouldPreserveFollowOpacity(s):void 0});}isLead(){let a=this.getStack();return a?a.lead===this:!0}getLead(){var a;let{layoutId:s}=this.options;return s?((a=this.getStack())===null||a===void 0?void 0:a.lead)||this:this}getPrevLead(){var a;let{layoutId:s}=this.options;return s?(a=this.getStack())===null||a===void 0?void 0:a.prevLead:void 0}getStack(){let{layoutId:a}=this.options;if(a)return this.root.sharedNodes.get(a)}promote({needsReset:a,transition:s,preserveFollowOpacity:l}={}){let c=this.getStack();c&&c.promote(this,l),a&&(this.projectionDelta=void 0,this.needsReset=!0),s&&this.setOptions({transition:s});}relegate(){let a=this.getStack();return a?a.relegate(this):!1}resetRotation(){let{visualElement:a}=this.options;if(!a)return;let s=!1,{latestValues:l}=a;if((l.rotate||l.rotateX||l.rotateY||l.rotateZ)&&(s=!0),!s)return;let c={};for(let u=0;u<gh.length;u++){let d="rotate"+gh[u];l[d]&&(c[d]=l[d],a.setStaticValue(d,0));}a.render();for(let u in c)a.setStaticValue(u,c[u]);a.scheduleRender();}getProjectionStyles(a={}){var s,l;let c={};if(!this.instance||this.isSVG)return c;if(this.isVisible)c.visibility="";else return {visibility:"hidden"};let u=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,c.opacity="",c.pointerEvents=Ur(a.pointerEvents)||"",c.transform=u?u(this.latestValues,""):"none",c;let d=this.getLead();if(!this.projectionDelta||!this.layout||!d.target){let y={};return this.options.layoutId&&(y.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,y.pointerEvents=Ur(a.pointerEvents)||""),this.hasProjected&&!pt(this.latestValues)&&(y.transform=u?u({},""):"none",this.hasProjected=!1),y}let m=d.animationValues||d.latestValues;this.applyTransformsToTarget(),c.transform=tc(this.projectionDeltaWithTransform,this.treeScale,m),u&&(c.transform=u(m,c.transform));let{x:p,y:g}=this.projectionDelta;c.transformOrigin=`${p.origin*100}% ${g.origin*100}% 0`,d.animationValues?c.opacity=d===this?(l=(s=m.opacity)!==null&&s!==void 0?s:this.latestValues.opacity)!==null&&l!==void 0?l:1:this.preserveOpacity?this.latestValues.opacity:m.opacityExit:c.opacity=d===this?m.opacity!==void 0?m.opacity:"":m.opacityExit!==void 0?m.opacityExit:0;for(let y in Dr){if(m[y]===void 0)continue;let{correct:b,applyTo:x}=Dr[y],S=c.transform==="none"?m[y]:b(m[y],d);if(x){let C=x.length;for(let w=0;w<C;w++)c[x[w]]=S;}else c[y]=S;}return this.options.layoutId&&(c.pointerEvents=d===this?Ur(a.pointerEvents)||"":"none"),c}clearSnapshot(){this.resumeFrom=this.snapshot=void 0;}resetTree(){this.root.nodes.forEach(a=>{var s;return (s=a.currentAnimation)===null||s===void 0?void 0:s.stop()}),this.root.nodes.forEach(vh),this.root.sharedNodes.clear();}}}function w_(e){e.updateLayout();}function k_(e){var t;let r=((t=e.resumeFrom)===null||t===void 0?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&r&&e.hasListeners("didUpdate")){let{layoutBox:o,measuredBox:n}=e.layout,{animationType:i}=e.options,a=r.source!==e.layout.source;i==="size"?We(d=>{let m=a?r.measuredBox[d]:r.layoutBox[d],p=pe(m);m.min=o[d].min,m.max=m.min+p;}):_h(i,r.layoutBox,o)&&We(d=>{let m=a?r.measuredBox[d]:r.layoutBox[d],p=pe(o[d]);m.max=m.min+p,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[d].max=e.relativeTarget[d].min+p);});let s=sr();to(s,o,r.layoutBox);let l=sr();a?to(l,e.applyTransform(n,!0),r.measuredBox):to(l,o,r.layoutBox);let c=!Jl(s),u=!1;if(!e.resumeFrom){let d=e.getClosestProjectingParent();if(d&&!d.resumeFrom){let{snapshot:m,layout:p}=d;if(m&&p){let g=Z();ro(g,r.layoutBox,m.layoutBox);let y=Z();ro(y,o,p.layoutBox),Ql(g,y)||(u=!0),d.options.layoutRoot&&(e.relativeTarget=y,e.relativeTargetOrigin=g,e.relativeParent=d);}}}e.notifyListeners("didUpdate",{layout:o,snapshot:r,delta:l,layoutDelta:s,hasLayoutChanged:c,hasRelativeTargetChanged:u});}else if(e.isLead()){let{onExitComplete:o}=e.options;o&&o();}e.options.transition=void 0;}function __(e){cr.totalNodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty));}function T_(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1;}function P_(e){e.clearSnapshot();}function vh(e){e.clearMeasurements();}function A_(e){e.isLayoutDirty=!1;}function E_(e){let{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform();}function bh(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0;}function R_(e){e.resolveTargetDelta();}function M_(e){e.calcProjection();}function I_(e){e.resetRotation();}function V_(e){e.removeLeadSnapshot();}function xh(e,t,r){e.translate=D(t.translate,0,r),e.scale=D(t.scale,1,r),e.origin=t.origin,e.originPoint=t.originPoint;}function Sh(e,t,r,o){e.min=D(t.min,r.min,o),e.max=D(t.max,r.max,o);}function O_(e,t,r,o){Sh(e.x,t.x,r.x,o),Sh(e.y,t.y,r.y,o);}function N_(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}var $_={duration:.45,ease:[.4,0,.1,1]},Ch=e=>typeof navigator!="undefined"&&navigator.userAgent.toLowerCase().includes(e),wh=Ch("applewebkit/")&&!Ch("chrome/")?Math.round:L;function kh(e){e.min=wh(e.min),e.max=wh(e.max);}function L_(e){kh(e.x),kh(e.y);}function _h(e,t,r){return e==="position"||e==="preserve-aspect"&&!Pa(ec(t),ec(r),.2)}var Th=Da({attachResizeListener:(e,t)=>Pe(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0});var rc={current:void 0},ja=Da({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!rc.current){let e=new Th({});e.mount(window),e.setOptions({layoutScroll:!0}),rc.current=e;}return rc.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none";},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"});var Ph={pan:{Feature:Oa},drag:{Feature:Va,ProjectionNode:ja,MeasureLayout:Na}};var D_=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function j_(e){let t=D_.exec(e);if(!t)return [,];let[,r,o]=t;return [r,o]}function oc(e,t,r=1){let[o,n]=j_(e);if(!o)return;let i=window.getComputedStyle(t).getPropertyValue(o);if(i){let a=i.trim();return Sa(a)?parseFloat(a):a}else return Wi(n)?oc(n,t,r+1):n}function Ah(e,o,r){var t=k(o,[]);let n=e.current;if(!(n instanceof Element))return {target:t,transitionEnd:r};r&&(r=f({},r)),e.values.forEach(i=>{let a=i.get();if(!Wi(a))return;let s=oc(a,n);s&&i.set(s);});for(let i in t){let a=t[i];if(!Wi(a))continue;let s=oc(a,n);s&&(t[i]=s,r||(r={}),r[i]===void 0&&(r[i]=a));}return {target:t,transitionEnd:r}}var z_=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),Mh=e=>z_.has(e),F_=e=>Object.keys(e).some(Mh),Ba=e=>e===Fe||e===R,Eh=(e,t)=>parseFloat(e.split(", ")[t]),Rh=(e,t)=>(r,{transform:o})=>{if(o==="none"||!o)return 0;let n=o.match(/^matrix3d\((.+)\)$/);if(n)return Eh(n[1],t);{let i=o.match(/^matrix\((.+)\)$/);return i?Eh(i[1],e):0}},W_=new Set(["x","y","z"]),H_=It.filter(e=>!W_.has(e));function G_(e){let t=[];return H_.forEach(r=>{let o=e.getValue(r);o!==void 0&&(t.push([r,o.get()]),o.set(r.startsWith("scale")?1:0));}),t.length&&e.render(),t}var io={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:Rh(4,13),y:Rh(5,14)};io.translateX=io.x;io.translateY=io.y;var U_=(e,t,r)=>{let o=t.measureViewportBox(),n=t.current,i=getComputedStyle(n),{display:a}=i,s={};a==="none"&&t.setStaticValue("display",e.display||"block"),r.forEach(c=>{s[c]=io[c](o,i);}),t.render();let l=t.measureViewportBox();return r.forEach(c=>{let u=t.getValue(c);u&&u.jump(s[c]),e[c]=io[c](l,i);}),e},K_=(e,t,r={},o={})=>{t=f({},t),o=f({},o);let n=Object.keys(t).filter(Mh),i=[],a=!1,s=[];if(n.forEach(l=>{let c=e.getValue(l);if(!e.hasValue(l))return;let u=r[l],d=Qr(u),m=t[l],p;if(rr(m)){let g=m.length,y=m[0]===null?1:0;u=m[y],d=Qr(u);for(let b=y;b<g&&m[b]!==null;b++)p?ge(Qr(m[b])===p):(p=Qr(m[b]),ge(p===d||Ba(d)&&Ba(p)));}else p=Qr(m);if(d!==p)if(Ba(d)&&Ba(p)){let g=c.get();typeof g=="string"&&c.set(parseFloat(g)),typeof m=="string"?t[l]=parseFloat(m):Array.isArray(m)&&p===R&&(t[l]=m.map(parseFloat));}else d!=null&&d.transform&&(p!=null&&p.transform)&&(u===0||m===0)?u===0?c.set(p.transform(u)):t[l]=d.transform(m):(a||(i=G_(e),a=!0),s.push(l),o[l]=o[l]!==void 0?o[l]:t[l],c.jump(m));}),s.length){let l=s.indexOf("height")>=0?window.pageYOffset:null,c=U_(t,e,s);return i.length&&i.forEach(([u,d])=>{e.getValue(u).set(d);}),e.render(),Rt&&l!==null&&window.scrollTo({top:l}),{target:c,transitionEnd:o}}else return {target:t,transitionEnd:o}};function Ih(e,t,r,o){return F_(t)?K_(e,t,r,o):{target:t,transitionEnd:o}}var Vh=(e,t,r,o)=>{let n=Ah(e,t,o);return t=n.target,o=n.transitionEnd,Ih(e,t,r,o)};var yn={current:null},za={current:!1};function Oh(){if(za.current=!0,!!Rt)if(window.matchMedia){let e=window.matchMedia("(prefers-reduced-motion)"),t=()=>yn.current=e.matches;e.addListener(t),t();}else yn.current=!1;}function Nh(e,t,r){let{willChange:o}=t;for(let n in t){let i=t[n],a=r[n];if(X(i))e.addValue(n,i),ir(o)&&o.add(n);else if(X(a))e.addValue(n,et(i,{owner:e})),ir(o)&&o.remove(n);else if(a!==i)if(e.hasValue(n)){let s=e.getValue(n);!s.hasAnimated&&s.set(i);}else {let s=e.getStaticValue(n);e.addValue(n,et(s!==void 0?s:i,{owner:e}));}}for(let n in r)t[n]===void 0&&e.removeValue(n);return t}var nc=new WeakMap;var Lh=Object.keys(er),q_=Lh.length,$h=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],Y_=on.length,Fa=class{constructor({parent:t,props:r,presenceContext:o,reducedMotionConfig:n,visualState:i},a={}){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=()=>N.render(this.render,!1,!0);let{latestValues:s,renderState:l}=i;this.latestValues=s,this.baseTarget=f({},s),this.initialValues=r.initial?f({},s):{},this.renderState=l,this.parent=t,this.props=r,this.presenceContext=o,this.depth=t?t.depth+1:0,this.reducedMotionConfig=n,this.options=a,this.isControllingVariants=Qt(r),this.isVariantNode=Di(r),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);let d=this.scrapeMotionValuesFromProps(r,{}),{willChange:c}=d,u=k(d,["willChange"]);for(let m in u){let p=u[m];s[m]!==void 0&&X(p)&&(p.set(s[m],!1),ir(c)&&c.add(m));}}scrapeMotionValuesFromProps(t,r){return {}}mount(t){this.current=t,nc.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((r,o)=>this.bindToMotionValue(o,r)),za.current||Oh(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:yn.current,this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext);}unmount(){nc.delete(this.current),this.projection&&this.projection.unmount(),ke(this.notifyUpdate),ke(this.render),this.valueSubscriptions.forEach(t=>t()),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(let t in this.events)this.events[t].clear();for(let t in this.features)this.features[t].unmount();this.current=null;}bindToMotionValue(t,r){let o=Te.has(t),n=r.on("change",a=>{this.latestValues[t]=a,this.props.onUpdate&&N.update(this.notifyUpdate,!1,!0),o&&this.projection&&(this.projection.isTransformDirty=!0);}),i=r.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(t,()=>{n(),i();});}sortNodePosition(t){return !this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}loadFeatures(a,o,n,i){var s=a,r=k(s,["children"]);let l,c;for(let u=0;u<q_;u++){let d=Lh[u],{isEnabled:m,Feature:p,ProjectionNode:g,MeasureLayout:y}=er[d];g&&(l=g),m(r)&&(!this.features[d]&&p&&(this.features[d]=new p(this)),y&&(c=y));}if(!this.projection&&l){this.projection=new l(this.latestValues,this.parent&&this.parent.projection);let{layoutId:u,layout:d,drag:m,dragConstraints:p,layoutScroll:g,layoutRoot:y}=r;this.projection.setOptions({layoutId:u,layout:d,alwaysMeasureLayout:!!m||p&&ut(p),visualElement:this,scheduleRender:()=>this.scheduleRender(),animationType:typeof d=="string"?d:"both",initialPromotionConfig:i,layoutScroll:g,layoutRoot:y});}return c}updateFeatures(){for(let t in this.features){let r=this.features[t];r.isMounted?r.update():(r.mount(),r.isMounted=!0);}}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props);}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):Z()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,r){this.latestValues[t]=r;}makeTargetAnimatable(t,r=!0){return this.makeTargetAnimatableFromInstance(t,this.props,r)}update(t,r){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=r;for(let o=0;o<$h.length;o++){let n=$h[o];this.propEventSubscriptions[n]&&(this.propEventSubscriptions[n](),delete this.propEventSubscriptions[n]);let i=t["on"+n];i&&(this.propEventSubscriptions[n]=this.on(n,i));}this.prevMotionValues=Nh(this,this.scrapeMotionValuesFromProps(t,this.prevProps),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue();}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}getVariantContext(t=!1){if(t)return this.parent?this.parent.getVariantContext():void 0;if(!this.isControllingVariants){let o=this.parent?this.parent.getVariantContext()||{}:{};return this.props.initial!==void 0&&(o.initial=this.props.initial),o}let r={};for(let o=0;o<Y_;o++){let n=on[o],i=this.props[n];(dt(i)||i===!1)&&(r[n]=i);}return r}addVariantChild(t){let r=this.getClosestVariantNode();if(r)return r.variantChildren&&r.variantChildren.add(t),()=>r.variantChildren.delete(t)}addValue(t,r){r!==this.values.get(t)&&(this.removeValue(t),this.bindToMotionValue(t,r)),this.values.set(t,r),this.latestValues[t]=r.get();}removeValue(t){this.values.delete(t);let r=this.valueSubscriptions.get(t);r&&(r(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState);}hasValue(t){return this.values.has(t)}getValue(t,r){if(this.props.values&&this.props.values[t])return this.props.values[t];let o=this.values.get(t);return o===void 0&&r!==void 0&&(o=et(r,{owner:this}),this.addValue(t,o)),o}readValue(t){var r;return this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:(r=this.getBaseTargetFromProps(this.props,t))!==null&&r!==void 0?r:this.readValueFromInstance(this.current,t,this.options)}setBaseTarget(t,r){this.baseTarget[t]=r;}getBaseTarget(t){var r;let{initial:o}=this.props,n=typeof o=="string"||typeof o=="object"?(r=Gr(this.props,o))===null||r===void 0?void 0:r[t]:void 0;if(o&&n!==void 0)return n;let i=this.getBaseTargetFromProps(this.props,t);return i!==void 0&&!X(i)?i:this.initialValues[t]!==void 0&&n===void 0?void 0:this.baseTarget[t]}on(t,r){return this.events[t]||(this.events[t]=new Dt),this.events[t].add(r)}notify(t,...r){this.events[t]&&this.events[t].notify(...r);}};var ao=class extends Fa{sortInstanceNodePosition(t,r){return t.compareDocumentPosition(r)&2?1:-1}getBaseTargetFromProps(t,r){return t.style?t.style[r]:void 0}removeValueFromRenderState(t,{vars:r,style:o}){delete r[t],delete o[t];}makeTargetAnimatableFromInstance(a,{transformValues:n},i){var s=a,{transition:t,transitionEnd:r}=s,o=k(s,["transition","transitionEnd"]);let l=gp(o,t||{},this);if(n&&(r&&(r=n(r)),o&&(o=n(o)),l&&(l=n(l))),i){hp(this,o,l);let c=Vh(this,o,l,r);r=c.transitionEnd,o=c.target;}return f({transition:t,transitionEnd:r},o)}};function X_(e){return window.getComputedStyle(e)}var Wa=class extends ao{readValueFromInstance(t,r){if(Te.has(r)){let o=Yr(r);return o&&o.default||0}else {let o=X_(t),n=(Fi(r)?o.getPropertyValue(r):o[r])||0;return typeof n=="string"?n.trim():n}}measureInstanceViewportBox(t,{transformPagePoint:r}){return Yl(t,r)}build(t,r,o,n){jr(t,r,o,n.transformTemplate);}scrapeMotionValuesFromProps(t,r){return Hr(t,r)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:t}=this.props;X(t)&&(this.childSubscription=t.on("change",r=>{this.current&&(this.current.textContent=`${r}`);}));}renderInstance(t,r,o,n){Ui(t,r,o,n);}};var Ha=class extends ao{constructor(){super(...arguments),this.isSVGTag=!1;}getBaseTargetFromProps(t,r){return t[r]}readValueFromInstance(t,r){if(Te.has(r)){let o=Yr(r);return o&&o.default||0}return r=Ki.has(r)?r:Wr(r),t.getAttribute(r)}measureInstanceViewportBox(){return Z()}scrapeMotionValuesFromProps(t,r){return Yi(t,r)}build(t,r,o,n){zr(t,r,o,this.isSVGTag,n.transformTemplate);}renderInstance(t,r,o,n){qi(t,r,o,n);}mount(t){this.isSVGTag=Fr(t.tagName),super.mount(t);}};var Dh=(e,t)=>Lr(e)?new Ha(t,{enableHardwareAcceleration:!1}):new Wa(t,{enableHardwareAcceleration:!0});var jh={layout:{ProjectionNode:ja,MeasureLayout:Na}};var Z_=f(f(f(f({},bp),Pm),Ph),jh),Le=Gf((e,t)=>xm(e,t,Z_,Dh));function Ga(){let e=ht.useRef(!1);return Nr(()=>(e.current=!0,()=>{e.current=!1;}),[]),e}function zh(){let e=Ga(),[t,r]=ht.useState(0),o=ht.useCallback(()=>{e.current&&r(t+1);},[t]);return [ht.useCallback(()=>N.postRender(o),[o]),t]}var ic=class extends ht__namespace.Component{getSnapshotBeforeUpdate(t){let r=this.props.childRef.current;if(r&&t.isPresent&&!this.props.isPresent){let o=this.props.sizeRef.current;o.height=r.offsetHeight||0,o.width=r.offsetWidth||0,o.top=r.offsetTop,o.left=r.offsetLeft;}return null}componentDidUpdate(){}render(){return this.props.children}};function Wh({children:e,isPresent:t}){let r=ht.useId(),o=ht.useRef(null),n=ht.useRef({width:0,height:0,top:0,left:0});return ht.useInsertionEffect(()=>{let{width:i,height:a,top:s,left:l}=n.current;if(t||!o.current||!i||!a)return;o.current.dataset.motionPopId=r;let c=document.createElement("style");return document.head.appendChild(c),c.sheet&&c.sheet.insertRule(`
|
29
|
+
[data-motion-pop-id="${r}"] {
|
30
|
+
position: absolute !important;
|
31
|
+
width: ${i}px !important;
|
32
|
+
height: ${a}px !important;
|
33
|
+
top: ${s}px !important;
|
34
|
+
left: ${l}px !important;
|
35
|
+
}
|
36
|
+
`),()=>{document.head.removeChild(c);}},[t]),ht__namespace.createElement(ic,{isPresent:t,childRef:o,sizeRef:n},ht__namespace.cloneElement(e,{ref:o}))}var Ua=({children:e,initial:t,isPresent:r,onExitComplete:o,custom:n,presenceAffectsLayout:i,mode:a})=>{let s=Xi(oT),l=ht.useId(),c=ht.useMemo(()=>({id:l,initial:t,isPresent:r,custom:n,onExitComplete:u=>{s.set(u,!0);for(let d of s.values())if(!d)return;o&&o();},register:u=>(s.set(u,!1),()=>s.delete(u))}),i?void 0:[r]);return ht.useMemo(()=>{s.forEach((u,d)=>s.set(d,!1));},[r]),ht__namespace.useEffect(()=>{!r&&!s.size&&o&&o();},[r]),a==="popLayout"&&(e=ht__namespace.createElement(Wh,{isPresent:r},e)),ht__namespace.createElement(Et.Provider,{value:c},e)};function oT(){return new Map}function Gh(e){return ht.useEffect(()=>()=>e(),[])}var ur=e=>e.key||"";function cT(e,t){e.forEach(r=>{let o=ur(r);t.set(o,r);});}function uT(e){let t=[];return ht.Children.forEach(e,r=>{ht.isValidElement(r)&&t.push(r);}),t}var rt=({children:e,custom:t,initial:r=!0,onExitComplete:o,exitBeforeEnter:n,presenceAffectsLayout:i=!0,mode:a="sync"})=>{let s=ht.useContext($r).forceRender||zh()[0],l=Ga(),c=uT(e),u=c,d=ht.useRef(new Map).current,m=ht.useRef(u),p=ht.useRef(new Map).current,g=ht.useRef(!0);if(Nr(()=>{g.current=!1,cT(c,p),m.current=u;}),Gh(()=>{g.current=!0,p.clear(),d.clear();}),g.current)return ht__namespace.createElement(ht__namespace.Fragment,null,u.map(S=>ht__namespace.createElement(Ua,{key:ur(S),isPresent:!0,initial:r?void 0:!1,presenceAffectsLayout:i,mode:a},S)));u=[...u];let y=m.current.map(ur),b=c.map(ur),x=y.length;for(let S=0;S<x;S++){let C=y[S];b.indexOf(C)===-1&&!d.has(C)&&d.set(C,void 0);}return a==="wait"&&d.size&&(u=[]),d.forEach((S,C)=>{if(b.indexOf(C)!==-1)return;let w=p.get(C);if(!w)return;let P=y.indexOf(C),E=S;if(!E){let A=()=>{d.delete(C);let M=Array.from(p.keys()).filter(O=>!b.includes(O));if(M.forEach(O=>p.delete(O)),m.current=c.filter(O=>{let B=ur(O);return B===C||M.includes(B)}),!d.size){if(l.current===!1)return;s(),o&&o();}};E=ht__namespace.createElement(Ua,{key:ur(w),isPresent:!1,onExitComplete:A,custom:t,presenceAffectsLayout:i,mode:a},w),d.set(C,E);}u.splice(P,0,E);}),u=u.map(S=>{let C=S.key;return d.has(C)?S:ht__namespace.createElement(Ua,{key:ur(S),isPresent:!0,presenceAffectsLayout:i,mode:a},S)}),ht__namespace.createElement(ht__namespace.Fragment,null,d.size?u:u.map(S=>ht.cloneElement(S)))};typeof document!="undefined"?ht__namespace.default.useLayoutEffect:()=>{};var bn=new Map,Uh=new Set;function Kh(){if(typeof window=="undefined")return;let e=r=>{let o=bn.get(r.target);o||(o=new Set,bn.set(r.target,o),r.target.addEventListener("transitioncancel",t)),o.add(r.propertyName);},t=r=>{let o=bn.get(r.target);if(o&&(o.delete(r.propertyName),o.size===0&&(r.target.removeEventListener("transitioncancel",t),bn.delete(r.target)),bn.size===0)){for(let n of Uh)n();Uh.clear();}};document.body.addEventListener("transitionrun",e),document.body.addEventListener("transitionend",t);}typeof document!="undefined"&&(document.readyState!=="loading"?Kh():document.addEventListener("DOMContentLoaded",Kh));function ST(){return typeof window.ResizeObserver!="undefined"}function Yh(e){let{ref:t,onResize:r}=e;ht.useEffect(()=>{let o=t==null?void 0:t.current;if(o)if(ST()){let n=new window.ResizeObserver(i=>{i.length&&r();});return n.observe(o),()=>{o&&n.unobserve(o);}}else return window.addEventListener("resize",r,!1),()=>{window.removeEventListener("resize",r,!1);}},[r,t]);}function Zh(e,t){return ht__namespace.Children.toArray(e).find(r=>r.type===t)}function Qh(e,t){return ht__namespace.Children.toArray(e).filter(r=>Array.isArray(t)?t.some(o=>o===r.type):r.type===t)}var kT=(e,t)=>Array.isArray(e)?e:typeof e=="object"?t==null?void 0:t(e):e!=null?[e]:[],cc=(e,t)=>{var r;let o=react.useTheme(),n=kT(e,(r=o.__breakpoints)==null?void 0:r.toArrayValue);return react.useBreakpointValue(n,t)};var[MT,mo]=react.createStylesContext("SuiEmptyState");var gg=react.forwardRef((e,t)=>{let r=mo(),o=f({boxSize:10},r.icon);return jsxRuntime.jsx(react.Icon,v(f({ref:t,role:"presentation",sx:o},e),{className:_("sui-empty-state__icon",e.className)}))});gg.displayName="EmptyStateIcon";var vc=ht__namespace.createContext({});function wg(e){let s=e,{theme:t,linkComponent:r,onError:o,children:n}=s,i=k(s,["theme","linkComponent","onError","children"]),a={linkComponent:r,onError:o};return jsxRuntime.jsx(vc.Provider,{value:a,children:jsxRuntime.jsx(react.ChakraProvider,v(f({},i),{theme:t||rn,children:n}))})}var OT=()=>ht__namespace.useContext(vc),LT=e=>jsxRuntime.jsx(react.chakra.a,f({},e));function bc(){let e=OT();return e!=null&&e.linkComponent?e.linkComponent:LT}var jT=class extends ht__namespace.Component{constructor(e){super(e),this.onError=(t,r)=>{var o,n,i,a;(n=(o=this.props).onError)==null||n.call(o,t,r),(a=(i=this.context).onError)==null||a.call(i,t,r);},this.state={error:null};}static getDerivedStateFromError(e){return {error:e}}componentDidCatch(e,t){this.onError(e,t);}render(){return this.state.error?this.props.fallback||jsxRuntime.jsx("h1",{children:"Something went wrong."}):this.props.children}};jT.contextType=vc;var _g=(e="lg")=>e?{base:!0,[e]:!1}:{base:!1},[UT,Tg]=Oe({strict:!1,errorMessage:"AppShell context not available."}),KT=e=>{let t=react.useDisclosure(),r=_g(e.toggleBreakpoint),o=react.useBreakpointValue(r,{fallback:e.toggleBreakpoint||"lg"});return {isSidebarOpen:t.isOpen,closeSidebar:t.onClose,openSidebar:t.onOpen,toggleSidebar:t.onToggle,isMobile:o}},[qT,nG]=react.createStylesContext("SuiAppShell"),YT=react.forwardRef((e,t)=>{let r=react.useMultiStyleConfig("SuiAppShell",e),y=react.omitThemingProps(e),{navbar:o,sidebar:n,aside:i,footer:a,children:s,mainRef:l}=y,c=k(y,["navbar","sidebar","aside","footer","children","mainRef"]),u=f({flexDirection:"column"},r.container),d=f({flex:1,minHeight:0,minWidth:0},r.inner),m=f({flex:1,flexDirection:"column",minWidth:0},r.main),p=ht__namespace.isValidElement(n)&&n.type.id==="Sidebar",g=KT({toggleBreakpoint:p?n==null?void 0:n.props.toggleBreakpoint:void 0});return jsxRuntime.jsx(UT,{value:g,children:jsxRuntime.jsx(qT,{value:r,children:jsxRuntime.jsxs(react.Flex,v(f({ref:t},c),{sx:u,className:_("sui-app-shell",e.className),children:[o,jsxRuntime.jsxs(react.Flex,{sx:d,className:"saas-app-shell__inner",children:[n,jsxRuntime.jsx(react.Flex,{ref:l,sx:m,className:"saas-app-shell__main",children:s}),i]}),a]}))})})});YT.displayName="AppShell";function oP(e){return jsxRuntime.jsx(react.Icon,v(f({viewBox:"0 0 24 24"},e),{children:jsxRuntime.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"})}))}function nP(e){return jsxRuntime.jsx(react.Icon,v(f({viewBox:"0 0 24 24"},e),{children:jsxRuntime.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"})}))}function og(e){return jsxRuntime.jsx(react.Icon,v(f({viewBox:"0 0 24 24"},e),{children:jsxRuntime.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"})}))}var Ja={ease:[.25,.1,.25,1],easeIn:[.4,0,1,1],easeOut:[0,0,.2,1],easeInOut:[.4,0,.2,1]},xn={enter:{duration:.2,ease:Ja.easeOut},exit:{duration:.1,ease:Ja.easeIn}},Sn={enter:(e,t)=>v(f({},e),{delay:typeof t=="number"?t:t==null?void 0:t.enter}),exit:(e,t)=>v(f({},e),{delay:typeof t=="number"?t:t==null?void 0:t.exit})},aP={exit:({reverse:e,initialScale:t,transition:r,transitionEnd:o,delay:n})=>{var i;return v(f({opacity:0},e?{scale:t,transitionEnd:o==null?void 0:o.exit}:{transitionEnd:f({scale:t},o==null?void 0:o.exit)}),{transition:(i=r==null?void 0:r.exit)!=null?i:Sn.exit(xn.exit,n)})},enter:({transitionEnd:e,transition:t,delay:r})=>{var o;return {opacity:1,scale:1,transition:(o=t==null?void 0:t.enter)!=null?o:Sn.enter(xn.enter,r),transitionEnd:e==null?void 0:e.enter}}},Ag={initial:"exit",animate:"enter",exit:"exit",variants:aP},sP=ht.forwardRef(function(t,r){let y=t,{unmountOnExit:o,in:n,reverse:i=!0,initialScale:a=.95,className:s,transition:l,transitionEnd:c,delay:u}=y,d=k(y,["unmountOnExit","in","reverse","initialScale","className","transition","transitionEnd","delay"]),m=o?n&&o:!0,p=n||o?"enter":"exit",g={initialScale:a,reverse:i,transition:l,transitionEnd:c,delay:u};return jsxRuntime.jsx(rt,{custom:g,children:m&&jsxRuntime.jsx(Le.div,f(v(f({ref:r,className:Pi("chakra-offset-slide",s)},Ag),{animate:p,custom:g}),d))})});sP.displayName="ScaleFade";var cP={initial:({offsetX:e,offsetY:t,transition:r,transitionEnd:o,delay:n})=>{var i;return {opacity:0,x:e,y:t,transition:(i=r==null?void 0:r.exit)!=null?i:Sn.exit(xn.exit,n),transitionEnd:o==null?void 0:o.exit}},enter:({transition:e,transitionEnd:t,delay:r})=>{var o;return {opacity:1,x:0,y:0,transition:(o=e==null?void 0:e.enter)!=null?o:Sn.enter(xn.enter,r),transitionEnd:t==null?void 0:t.enter}},exit:({offsetY:e,offsetX:t,transition:r,transitionEnd:o,reverse:n,delay:i})=>{var a;let s={x:t,y:e};return f({opacity:0,transition:(a=r==null?void 0:r.exit)!=null?a:Sn.exit(xn.exit,i)},n?v(f({},s),{transitionEnd:o==null?void 0:o.exit}):{transitionEnd:f(f({},s),o==null?void 0:o.exit)})}},Za={initial:"initial",animate:"enter",exit:"exit",variants:cP},uP=ht.forwardRef(function(t,r){let b=t,{unmountOnExit:o,in:n,reverse:i=!0,className:a,offsetX:s=0,offsetY:l=8,transition:c,transitionEnd:u,delay:d}=b,m=k(b,["unmountOnExit","in","reverse","className","offsetX","offsetY","transition","transitionEnd","delay"]),p=o?n&&o:!0,g=n||o?"enter":"exit",y={offsetX:s,offsetY:l,reverse:i,transition:c,transitionEnd:u,delay:d};return jsxRuntime.jsx(rt,{custom:y,children:p&&jsxRuntime.jsx(Le.div,f(v(f({ref:r,className:Pi("chakra-offset-slide",a),custom:y},Za),{animate:g}),m))})});uP.displayName="SlideFade";var Ya={enter:{duration:.2,ease:Ja.easeOut},exit:{duration:.2,ease:Ja.easeIn}},fP={slideOutTop:v(f({},Za),{custom:{offsetY:"-100%",reverse:!0,transition:Ya},initial:"enter"}),slideOutBottom:v(f({},Za),{custom:{offsetY:"100%",reverse:!0,transition:Ya},initial:"enter"}),fade:v(f({},Za),{custom:{transition:Ya},initial:"enter"}),scale:v(f({},Ag),{custom:{initialScale:.1,reverse:!0,transition:Ya},initial:"enter"}),none:{custom:{}}},mP=Rr(Le.div),pP=ht__namespace.forwardRef((e,t)=>{let a=e,{motionPreset:r}=a,o=k(a,["motionPreset"]),n=fP[r],i=f({},n);return jsxRuntime.jsx(mP,f(f({ref:t},i),o))}),[hP,ho]=react.createStylesContext("SuiBanner"),Eg={info:{icon:nP,colorScheme:"blue"},warning:{icon:og,colorScheme:"orange"},success:{icon:oP,colorScheme:"green"},error:{icon:og,colorScheme:"red"}},[gP,Rg]=Oe({name:"BannerContext",errorMessage:"useBannerContext: `context` is undefined. Seems you forgot to wrap banner components in `<Banner />`"}),yP=react.forwardRef((e,t)=>{var r;let y=react.omitThemingProps(e),{id:o,status:n="info",isOpen:i=!0,onClose:a,motionPreset:s="slideOutTop"}=y,l=k(y,["id","status","isOpen","onClose","motionPreset"]),c=(r=e.colorScheme)!=null?r:Eg[n].colorScheme,u=react.useMultiStyleConfig("SuiBanner",v(f({},e),{colorScheme:c})),d=f({width:"100%",display:"flex",alignItems:"center",position:"relative",overflow:"hidden"},u.container),m={id:o||`banner-${react.useId()}`,status:n,onClose:a,isOpen:i},p=["warning","error"].includes(n)?"alert":"status",g=i?"enter":"exit";return jsxRuntime.jsx(gP,{value:m,children:jsxRuntime.jsx(hP,{value:u,children:jsxRuntime.jsx(rt,{children:i&&jsxRuntime.jsx(pP,v(f({id:m.id,role:p,ref:t,motionPreset:s,animate:g},l),{className:_("sui-banner",e.className),__css:d}))})})})});yP.displayName="Banner";var vP=react.forwardRef((e,t)=>{let r=ho();return jsxRuntime.jsx(react.chakra.div,v(f({ref:t},e),{className:_("sui-banner__content",e.className),__css:r.content}))});vP.displayName="BannerContent";var bP=react.forwardRef((e,t)=>{let r=ho();return jsxRuntime.jsx(react.chakra.div,v(f({ref:t},e),{className:_("sui-banner__title",e.className),__css:r.title}))});bP.displayName="BannerTitle";var xP=react.forwardRef((e,t)=>{let r=ho(),o=f({display:"inline"},r.description);return jsxRuntime.jsx(react.chakra.div,v(f({ref:t},e),{className:_("sui-banner__desc",e.className),__css:o}))});xP.displayName="BannerDescription";var SP=react.forwardRef((e,t)=>{let{children:r,variant:o}=e,n=ho();return jsxRuntime.jsx(react.chakra.div,v(f({ref:t},e),{className:_("sui-banner__actions",e.className),__css:n.actions,children:jsxRuntime.jsx(react.ButtonGroup,{variant:o,children:r})}))});SP.displayName="BannerActions";var wP=react.forwardRef((e,t)=>{let u=e,{onClick:r,className:o}=u,n=k(u,["onClick","className"]),{onClose:i,isOpen:a,id:s}=Rg(),l=_("sui-banner__close-btn",o),c=ho();return jsxRuntime.jsx(react.CloseButton,f({ref:t,__css:c.closeButton,className:l,onClick:St(r,d=>{d.stopPropagation(),i==null||i();}),"aria-controls":s,"aria-expanded":a!=null&&a.toString()?"true":"false"},n))});wP.displayName="BannerCloseButton";Oe({name:"UseCollapseReturn"});var [NP,An]=react.createStylesContext("SuiStructuredList"),$P=react.forwardRef((e,t)=>{let c=e,{items:r,children:o}=c,n=k(c,["items","children"]),i=react.useMultiStyleConfig("SuiStructuredList",n),a=react.omitThemingProps(n),s;r?s=r.map((u,d)=>ht.createElement(Mg,v(f({},u),{key:u.id||d}))):s=o;let l=f({py:2,position:"relative"},i.list);return jsxRuntime.jsx(NP,{value:i,children:jsxRuntime.jsx(react.chakra.ul,v(f({ref:t,__css:l},a),{className:_("sui-list",e.className),children:s}))})});$P.displayName="StructuredList";var Mg=react.forwardRef((e,t)=>{let g=e,{onClick:r,href:o,as:n,children:i}=g,a=k(g,["onClick","href","as","children"]),s=An(),l=!!(r||o),c=l?Ig:ht__namespace.Fragment,u=!!l,d=f(f({display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between",fontSize:"md"},s.item),u?{py:0,px:0}:{}),p=l?jsxRuntime.jsx(c,v(f({},l?{onClick:r,href:o,as:n}:{}),{children:i})):i;return jsxRuntime.jsx(react.chakra.li,v(f({ref:t,__css:d},a),{className:_("sui-list__item",e.className),children:p}))});Mg.displayName="StructuredListItem";var Ig=react.forwardRef((e,t)=>{let a=e,{children:r}=a,o=k(a,["children"]),n=An(),i=f({display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between",flex:1,cursor:"pointer",userSelect:"none"},n.button);return jsxRuntime.jsx(react.chakra.div,v(f({ref:t,__css:i,role:"button",tabIndex:0},o),{className:_("sui-list__item-button",e.className),children:r}))});Ig.displayName="StructuredListButton";var WP=react.forwardRef((e,t)=>{let r=bc(),i=e,{href:o}=i,n=k(i,["href"]);return jsxRuntime.jsx(react.Link,f({as:r,ref:t,href:o},n))});WP.displayName="Link";react.createStylesContext("SuiLoadingOverlay");react.chakra(Le.div);Oe({name:"UseContextMenuContext",strict:!1});var [E2,rs]=react.createStylesContext("SuiPersona"),ug={online:{label:"Online",color:"presence.online"},offline:{label:"Offline",color:"presence.offline"},busy:{label:"Busy",color:"presence.busy"},dnd:{label:"Do-not-disturb",color:"presence.dnd"},away:{label:"Away",color:"presence.away"}},R2={online:"green.500",offline:"gray.400",busy:"orange.500",dnd:"red.500",away:"gray.400"};var Ng=react.forwardRef((e,t)=>{let l=e,{children:r}=l,o=k(l,["children"]),n=react.useMultiStyleConfig("SuiPersona",e),i=react.omitThemingProps(o),s=f(f({},{display:"flex",flexDirection:"row",alignItems:"center"}),n.container);return jsxRuntime.jsx(E2,{value:n,children:jsxRuntime.jsx(react.chakra.div,v(f({ref:t,__css:s},i),{className:_("sui-persona",e.className),children:r}))})});Ng.displayName="PersonaContainer";var $g=react.forwardRef((e,t)=>{var r,o,n,i,a;let ue=e,{name:s,presence:l,presenceLabel:c,presenceIcon:u,isOutOfOffice:d,badgeSize:m="1em",size:p,getInitials:g,icon:y,iconLabel:b,ignoreFallback:x,loading:S,onError:C,src:w,srcSet:P}=ue,E=k(ue,["name","presence","presenceLabel","presenceIcon","isOutOfOffice","badgeSize","size","getInitials","icon","iconLabel","ignoreFallback","loading","onError","src","srcSet"]),A={},M,O=react.useTheme(),B=((r=O.colors)==null?void 0:r.presence)||R2,W=!!((n=(o=O.semanticTokens)==null?void 0:o.colors)!=null&&n["presence.online"]);if(l){let de=c||((i=ug[l])==null?void 0:i.label),he=W?((a=ug[l])==null?void 0:a.color)||`presence.${l}`:B[l];d?(A.sx={_before:{content:'""',width:"100%",height:"100%",position:"absolute",top:0,left:0,border:"0.2em solid",borderColor:he,borderRadius:"50%",boxSizing:"border-box"}},A.borderWidth="0.15em",A.bg=react.useColorModeValue("white","gray.800")):A.bg=he,M=jsxRuntime.jsx(react.AvatarBadge,v(f({boxSize:m},A),{children:u})),de&&(M=jsxRuntime.jsx(react.Tooltip,{label:de,children:M}));}return jsxRuntime.jsx(react.Avatar,v(f({ref:t,name:s,size:p,getInitials:g,icon:y,iconLabel:b,ignoreFallback:x,loading:S,onError:C,src:w,srcSet:P},E),{children:M}))});$g.displayName="PersonaAvatar";var Lg=react.forwardRef((e,t)=>{let l=e,{children:r,className:o}=l,n=k(l,["children","className"]),i=rs(),s=f(f({},{display:"flex",flexDirection:"column"}),i.details);return jsxRuntime.jsx(react.chakra.div,v(f({ref:t},n),{__css:s,className:_("sui-persona__details",o),children:r}))});Lg.displayName="PersonaDetails";var Dg=react.forwardRef((e,t)=>{let r=rs();return jsxRuntime.jsx(react.chakra.span,v(f({ref:t},e),{__css:r.label,className:_("sui-persona__label",e.className)}))});Dg.displayName="PersonaLabel";var jg=react.forwardRef((e,t)=>{let r=rs();return jsxRuntime.jsx(react.chakra.span,v(f({ref:t},e),{__css:r.secondaryLabel,className:_("sui-persona__secondary-label",e.className)}))});jg.displayName="PersonaSecondaryLabel";var Bg=react.forwardRef((e,t)=>{let r=rs();return jsxRuntime.jsx(react.chakra.span,v(f({ref:t},e),{__css:r.tertiaryLabel,className:_("sui-persona__tertiary-label",e.className)}))});Bg.displayName="PersonaTertiaryLabel";var[L2,zg]=react.createStylesContext("SuiProperty"),D2=react.forwardRef((e,t)=>{let r=react.useMultiStyleConfig("SuiProperty",e),u=react.omitThemingProps(e),{children:o,label:n,value:i,labelWidth:a,spacing:s}=u,l=k(u,["children","label","value","labelWidth","spacing"]),c=f({minW:0,display:"flex",flexDirection:"row",alignItems:"center"},r.property);return jsxRuntime.jsx(L2,{value:r,children:jsxRuntime.jsxs(react.chakra.dl,v(f({ref:t,__css:c},l),{className:_("sui-property",e.className),children:[n&&jsxRuntime.jsx(Fg,{width:a,minWidth:a,marginEnd:s,children:n}),i&&jsxRuntime.jsx(Wg,{children:i}),o]}))})});D2.displayName="Property";var Fg=react.forwardRef((e,t)=>{let r=zg(),c=e,{children:o,noOfLines:n=1,width:i,minWidth:a}=c,s=k(c,["children","noOfLines","width","minWidth"]),l=f({display:"flex",flexDirection:"row"},r.label);return i&&(l.minWidth=a||"auto",l.width=i),jsxRuntime.jsx(react.chakra.dt,v(f({ref:t,__css:l},s),{className:_("sui-property__label",e.className),children:jsxRuntime.jsx(react.chakra.span,{flex:"1",noOfLines:n,children:o})}))});Fg.displayName="PropertyLabel";var Wg=react.forwardRef((e,t)=>{let r=zg(),a=e,{children:o}=a,n=k(a,["children"]),i=f({display:"flex",flexDirection:"row",alignItems:"center",flex:1},r.value);return jsxRuntime.jsx(react.chakra.dd,v(f({ref:t,__css:i},n),{className:_("sui-property__value",e.className),children:o}))});Wg.displayName="PropertyValue";var G2=typeof window!="undefined";function dg(e){return G2?e?{x:e.scrollLeft,y:e.scrollTop}:{x:window.scrollX,y:window.scrollY}:{x:0,y:0}}var U2=e=>{let{elementRef:t,delay:r=30,callback:o,isEnabled:n}=e,i=ht.useRef(n?dg(t==null?void 0:t.current):{x:0,y:0}),a=null,s=()=>{let l=dg(t==null?void 0:t.current);typeof o=="function"&&o({prevPos:i.current,currPos:l}),i.current=l,a=null;};return ht.useEffect(()=>{if(!n)return;let l=()=>{r?a===null&&(a=setTimeout(s,r)):s();},c=(t==null?void 0:t.current)||window;return c.addEventListener("scroll",l),()=>c.removeEventListener("scroll",l)},[t==null?void 0:t.current,r,n]),i.current};function K2(e){let b=e,{ref:t,parentRef:r,height:o="3.5rem",shouldHideOnScroll:n=!1,disableScrollHandler:i=!1,onScrollPositionChange:a,motionProps:s}=b,l=k(b,["ref","parentRef","height","shouldHideOnScroll","disableScrollHandler","onScrollPositionChange","motionProps"]),c=ht.useRef(null);ht.useImperativeHandle(t,()=>c.current);let u=ht.useRef(0),d=ht.useRef(0),[m,p]=ht.useState(!1),g=()=>{if(c.current){let x=c.current.offsetWidth;x!==u.current&&(u.current=x);}};return Yh({ref:c,onResize:()=>{var x;((x=c.current)==null?void 0:x.offsetWidth)!==u.current&&g();}}),ht.useEffect(()=>{var x;g(),d.current=((x=c.current)==null?void 0:x.offsetHeight)||0;},[]),U2({elementRef:r,isEnabled:n||!i,callback:({prevPos:x,currPos:S})=>{a==null||a(S.y),n&&p(C=>{let w=S.y>x.y&&S.y>d.current;return w!==C?w:C});}}),{containerRef:c,height:o,isHidden:m,shouldHideOnScroll:n,motionProps:s,getContainerProps:(x={})=>v(f(f({},l),s),{"data-hidden":xe(m),ref:c,style:f(f({"--navbar-height":o},l.style),x==null?void 0:x.style)})}}function X2(e,t){return `${e} returned \`undefined\`. Seems you forgot to wrap component within ${t}`}function Rn(e={}){let{name:t,strict:r=!0,hookName:o="useContext",providerName:n="Provider",errorMessage:i,defaultValue:a}=e,s=ht.createContext(a);s.displayName=t;function l(){var c;let u=ht.useContext(s);if(!u&&r){let d=new Error(i!=null?i:X2(o,n));throw d.name="ContextError",(c=Error.captureStackTrace)==null||c.call(Error,d,l),d}return u}return [s.Provider,l,s]}var[Z2,pU]=Rn({name:"NavbarContext",strict:!0,errorMessage:"useNavbarContext: `context` is undefined. Seems you forgot to wrap component within <Navbar />"}),[J2,os]=Rn({name:"NavBarStylesContext",hookName:"useNavItemStyles",providerName:"<NavBar />"}),tA=react.chakra(Le.nav),rA=react.forwardRef((e,t)=>{let l=e,{children:r}=l,o=k(l,["children"]),n=K2(v(f({},o),{ref:t})),i=react.useMultiStyleConfig("SuiNavbar",e),a=jsxRuntime.jsx(react.chakra.header,{__css:i.inner,className:"sui-navbar__inner",children:r}),s=f({top:e.position==="sticky"?"0":void 0,insetX:e.position==="sticky"?"0":void 0},i.container);return jsxRuntime.jsx(J2,{value:i,children:jsxRuntime.jsx(Z2,{value:n,children:jsxRuntime.jsx(tA,v(f({__css:s,animate:n.isHidden?"hidden":"visible",initial:!1,variants:{hidden:{y:"-100%"},visible:{y:0,transition:{ease:"easeInOut"}}},className:_("sui-navbar",e.className)},n.getContainerProps()),{children:a}))})})});rA.displayName="Navbar";var aA=react.forwardRef((e,t)=>{let a=e,{className:r,children:o}=a,n=k(a,["className","children"]),i=os();return jsxRuntime.jsx(react.chakra.div,v(f({ref:t,__css:i.brand,className:_("sui-navbar__brand")},n),{children:o}))});aA.displayName="NavbarBrand";var uA=react.forwardRef((e,t)=>{let l=e,{className:r,children:o,spacing:n=0}=l,i=k(l,["className","children","spacing"]),a=os(),s=v(f({},a.content),{"& > *:not(style) ~ *:not(style)":{marginStart:n}});return jsxRuntime.jsx(react.chakra.ul,v(f({ref:t,__css:s,className:_("sui-navbar__content",r)},i),{children:o}))});uA.displayName="NavbarContent";var pA=react.forwardRef((e,t)=>{let s=e,{className:r,children:o,isActive:n}=s,i=k(s,["className","children","isActive"]),a=os();return jsxRuntime.jsx(react.chakra.li,v(f({ref:t,__css:a.item,className:_("sui-navbar__item",r),"data-active":xe(n)},i),{children:o}))});pA.displayName="NavbarItem";var vA=react.forwardRef((e,t)=>{let l=e,{className:r,children:o,isActive:n}=l,i=k(l,["className","children","isActive"]),a=bc(),s=os();return jsxRuntime.jsx(react.chakra.a,v(f({as:a,ref:t,__css:s.link,"data-active":xe(n),className:_("sui-navbar__link",r)},i),{children:o}))});vA.displayName="NavbarLink";var [TA,Kg]=Oe({name:"SidebarContext",strict:!1}),[AA,EA]=Rn({name:"SidebarStylesContext",hookName:"useSidebarStyles",providerName:"<Sidebar />"}),RA=react.chakra(Le.nav),MA={slideInOut:{enter:{left:0,transition:{type:"spring",duration:.6,bounce:.15}},exit:{left:"-100%"}},none:{}},qg=react.forwardRef((e,t)=>{var r,o,n;let i=react.useMultiStyleConfig("SuiSidebar",e),s=(r=react.useTheme().components.SuiSidebar)==null?void 0:r.defaultProps,l=cc((o=e.variant)!=null?o:s==null?void 0:s.variant,{fallback:"base"}),c=cc((n=e.size)!=null?n:s==null?void 0:s.size,{fallback:"base"}),u=l==="compact",Co=react.omitThemingProps(e),{spacing:d=4,children:m,toggleBreakpoint:p="lg",className:g,motionPreset:y="slideInOut",isOpen:b,onOpen:x,onClose:S}=Co,C=k(Co,["spacing","children","toggleBreakpoint","className","motionPreset","isOpen","onOpen","onClose"]),w=Tg(),P=_g(p),E=react.useBreakpointValue(P,{fallback:void 0}),A=react.useBreakpointValue(P),M=typeof E=="undefined",O=typeof b!="undefined",B=(E||O)&&!u,W=react.useDisclosure({isOpen:b||(w==null?void 0:w.isSidebarOpen),onOpen:x||(w==null?void 0:w.openSidebar),onClose:S||(w==null?void 0:w.closeSidebar)}),{isOpen:ue,onClose:de,onOpen:he}=W;ht__namespace.useEffect(()=>{M&&A||u||O||(A?de():he());},[M,u,A]);let G=f({"& > *:not(style) ~ *:not(style, .sui-resize-handle, .sui-sidebar__toggle-button + *)":{marginTop:d},display:"flex",flexDirection:"column"},E&&B?{position:"absolute",zIndex:"modal",top:0,left:{base:"-100%",lg:"0"},bottom:0}:{position:"relative"}),ee=v(f({},W),{breakpoints:P,isMobile:E,variant:l,size:c}),ot=MA[u?"none":y||"none"];return jsxRuntime.jsx(TA,{value:ee,children:jsxRuntime.jsx(AA,{value:i,children:jsxRuntime.jsx(RA,v(f({ref:t,initial:!1,animate:!M&&(!B||ue?"enter":"exit"),variants:ot,__css:f(f({},G),i.container)},C),{id:W.getDisclosureProps().id,className:_("sui-sidebar",g),"data-compact":xe(u),"data-collapsible":xe(E&&B),children:m}))})})});qg.displayName="Sidebar";qg.id="Sidebar";Rn({name:"NavGroupStylesContext",hookName:"useNavItemStyles",providerName:"<NavItem />"});var [zA,Xg]=Rn({name:"NavItemStylesContext",hookName:"useNavItemStyles",providerName:"<NavItem />"});var ey=react.forwardRef((o,r)=>{var n=o,{children:e}=n,t=k(n,["children"]);let i=Xg();return jsxRuntime.jsx(react.chakra.span,v(f({ref:r,__css:i.label},t),{className:_("sui-nav-item__label",t.className),children:e}))});ey.displayName="NavItemLabel";var ty=e=>{let t=Xg(),s=e,{className:r,children:o}=s,n=k(s,["className","children"]),i=ht__namespace.Children.only(o),a=ht__namespace.isValidElement(i)?ht__namespace.cloneElement(i,{focusable:"false","aria-hidden":!0}):null;return jsxRuntime.jsx(react.chakra.span,v(f({},n),{className:_("sui-nav-item__icon",e.className),__css:f({flexShrink:0},t.icon),children:a}))};ty.displayName="NavItemIcon";var qA=react.forwardRef((e,t)=>{let C=react.omitThemingProps(e),{href:r="#",icon:o,inset:n,className:i,tooltipProps:a,isActive:s,children:l}=C,c=k(C,["href","icon","inset","className","tooltipProps","isActive","children"]),u=bc(),{onClose:d,variant:m}=Kg()||{},p=m==="compact",g=react.useMultiStyleConfig("SuiNavItem",e),y=l,b=a==null?void 0:a.label;typeof y=="string"&&(!b&&p&&(b=y),y=jsxRuntime.jsx(ey,{children:y}));let x;r&&r!=="#"&&(x=u);let S=jsxRuntime.jsx(react.chakra.a,v(f({as:x,"aria-current":s?"page":void 0},c),{ref:t,href:r,className:"sui-nav-item__link","data-active":xe(s),__css:g.link,children:jsxRuntime.jsxs(react.chakra.span,{__css:v(f({},g.inner),{pl:n}),className:"sui-nav-item__inner",children:[o&&jsxRuntime.jsx(ty,{children:o}),y]})}));return jsxRuntime.jsx(zA,{value:g,children:jsxRuntime.jsx(react.Tooltip,v(f({label:b,placement:"right",openDelay:400},a),{children:jsxRuntime.jsx(react.chakra.div,{__css:g.item,onClick:d,"data-compact":xe(p),className:_("sui-nav-item",i),children:S})}))})});qA.displayName="NavItem";var iE=react.forwardRef((e,t)=>{let A=e,{placeholder:r="Search",value:o,defaultValue:n,size:i,variant:a,width:s,icon:l,resetIcon:c,rightElement:u,onChange:d,onReset:m,onKeyDown:p}=A,g=k(A,["placeholder","value","defaultValue","size","variant","width","icon","resetIcon","rightElement","onChange","onReset","onKeyDown"]),y=react.useMultiStyleConfig("SuiSearchInput",e),b=ht__namespace.useRef(null),[x,S]=react.useControllableState({value:o,defaultValue:n}),C=ht__namespace.useCallback(M=>{S(M.target.value);},[S]),w=ht__namespace.useCallback(M=>{M.key==="Escape"&&(S(""),P());},[m,S]),P=()=>{var M;S(""),m==null||m(),(M=b.current)==null||M.focus();},E=i==="lg"?"sm":"xs";return jsxRuntime.jsxs(react.InputGroup,{size:i,width:s,children:[jsxRuntime.jsx(react.InputLeftElement,{children:l||jsxRuntime.jsx(Zd,{})}),jsxRuntime.jsx(react.Input,f({type:"text",placeholder:r,variant:a,size:i,value:x,ref:react.useMergeRefs(t,b),sx:y.input,onChange:St(C,d),onKeyDown:St(w,p)},g)),jsxRuntime.jsx(react.InputRightElement,{children:x?jsxRuntime.jsx(react.IconButton,{onClick:P,size:E,variant:"ghost","aria-label":"Reset search",icon:c||jsxRuntime.jsx(Xd,{}),sx:y.reset}):u})]})});iE.displayName="SearchInput";var[vE,bE]=Oe({name:"StepperContext",errorMessage:"useStepperContext: `context` is undefined. Seems you forgot to wrap stepper components in `<Stepper />`"});function xE(e){let{step:t,onChange:r}=e,[o,n]=ht__namespace.useState(0),i=ht__namespace.useRef([]),[,a]=ht__namespace.useState(Date.now()),s=ht__namespace.useCallback(p=>{let g=[...i.current];g.indexOf(p)===-1&&g.push(p),i.current=g,a(Date.now());},[i,a]),l=p=>{i.current=i.current.slice(i.current.indexOf(p),1);},c=p=>{let g=i.current.indexOf(p);g!==-1&&n(g);},u=()=>{n(o+1);},d=()=>{n(o-1);};return ht__namespace.useEffect(()=>{typeof t=="string"?c(t):typeof t=="number"?n(t):o===-1&&n(0);},[t]),ht__namespace.useEffect(()=>{r==null||r(o);},[o,r]),{stepsRef:i,activeStep:i.current[o],activeIndex:o,isFirstStep:o===0,isLastStep:o===i.current.length-1,isCompleted:o>=i.current.length,setIndex:n,setStep:c,nextStep:u,prevStep:d,registerStep:s,unregisterStep:l}}function SE(e){let{name:t,isActive:r,isCompleted:o}=e,{registerStep:n,unregisterStep:i,activeStep:a}=bE();return ht__namespace.useEffect(()=>{if(t)return n(t),()=>{i(t);}},[]),{isActive:t?a===t:r,isCompleted:o}}var[CE,wE]=react.createStylesContext("Stepper"),kE=react.forwardRef((e,t)=>{var r,o,n,i;let B=e,{children:a,orientation:s="horizontal",index:l,step:c,onChange:u,variant:d,colorScheme:m,size:p,stepperProps:g}=B,y=k(B,["children","orientation","index","step","onChange","variant","colorScheme","size","stepperProps"]),b=react.useMultiStyleConfig("Stepper",e),x=xE({step:c!=null?c:l,onChange:u}),{activeIndex:S}=x,C=s==="vertical",w=Qh(a,iy),P=f({position:"relative"},b.item),E=w.reduce((W,ue,de,he)=>{let G=ht__namespace.cloneElement(ue,v(f({key:de},ue.props),{isActive:S===de,isCompleted:ue.props.isCompleted||S>de}));return C?W.push(jsxRuntime.jsxs(react.chakra.div,{className:"sui-steps__item",__css:P,children:[G,jsxRuntime.jsx(yc,{isOpen:S===de,orientation:s,children:ue.props.children}),de<he.length-1?jsxRuntime.jsx(react.StepSeparator,{}):null]},`content-${de}`)):W.push(G),W},[]),A=Zh(a,ay),M=(o=(r=w[S])==null?void 0:r.props)==null?void 0:o.children,O=S>=w.length?A:!C&&M?jsxRuntime.jsx(yc,{orientation:s,children:(i=(n=w[S])==null?void 0:n.props)==null?void 0:i.children}):null;return jsxRuntime.jsx(CE,{value:b,children:jsxRuntime.jsx(vE,{value:x,children:jsxRuntime.jsxs(react.chakra.div,v(f({ref:t,__css:b.container},y),{className:_("sui-steps",e.className),children:[jsxRuntime.jsx(react.Stepper,v(f({index:S,orientation:s,variant:d,colorScheme:m,size:p},g),{children:E})),O]}))})})});kE.displayName="Steps";var iy=e=>{let s=e,{render:t,icon:r,title:o,description:n}=s,i=k(s,["render","icon","title","description"]),a=SE(i);return t?t(f(f({},a),e)):jsxRuntime.jsxs(react.Step,{children:[jsxRuntime.jsx(react.StepIndicator,{children:jsxRuntime.jsx(react.StepStatus,{complete:jsxRuntime.jsx(react.StepIcon,{}),incomplete:jsxRuntime.jsx(react.StepNumber,{children:r}),active:jsxRuntime.jsx(react.StepNumber,{})})}),jsxRuntime.jsxs(react.Box,{flexShrink:"0",children:[jsxRuntime.jsx(react.StepTitle,{children:o}),n&&jsxRuntime.jsx(react.StepDescription,{children:n})]}),jsxRuntime.jsx(react.StepSeparator,{})]})};iy.displayName="StepsItem";var yc=e=>{let a=e,{children:t,isOpen:r=!0,orientation:o="horizontal"}=a,n=k(a,["children","isOpen","orientation"]),i=wE();return jsxRuntime.jsx(react.chakra.div,v(f({},n),{__css:i.content,className:_("sui-steps__content",e.className),"data-orientation":o,children:o==="vertical"?jsxRuntime.jsx(react.Collapse,{in:r,style:{overflow:r?"visible":"hidden"},children:jsxRuntime.jsx(react.chakra.div,{p:"2px",children:r?t:null})}):t}))};yc.displayName="StepsContent";var ay=e=>{let t={};return jsxRuntime.jsx(react.chakra.div,v(f({__css:t},e),{className:_("sui-steps__completed",e.className)}))};ay.displayName="StepsCompleted";var[ME,xo]=react.createStylesContext("SuiTimeline");var VE=react.forwardRef((e,t)=>{let a=e,{children:r}=a,o=k(a,["children"]),n=xo(),i=f({display:"flex"},n.item);return jsxRuntime.jsx(react.chakra.li,v(f({},o),{ref:t,__css:i,className:_("sui-timeline__item",e.className),children:r}))});VE.displayName="TimelineItem";react.forwardRef((e,t)=>{let d=e,{icon:r,children:o,isRound:n,"aria-label":i}=d,a=k(d,["icon","children","isRound","aria-label"]),s=react.useStyleConfig("SuiIconBadge",e),l=r||o,c=ht.isValidElement(l)?ht.cloneElement(l,{"aria-hidden":!0,focusable:!1}):null,u=f({display:"inline-flex",alignItems:"center",justifyContent:"center"},s);return jsxRuntime.jsx(react.chakra.div,v(f({ref:t,__css:u,borderRadius:n?"full":void 0,"aria-label":i},a),{className:_("sui-icon-badge",e.className),children:c}))});var Mn=typeof window!="undefined";function KE(e,t){if(Mn&&"localStorage"in window)return t===void 0?localStorage.removeItem(e):localStorage.setItem(e,t)}function cy(e){if(Mn&&"localStorage"in window)return localStorage.getItem(e)}var qE=e=>{try{return JSON.stringify(e)}catch(t){throw new Error("useLocalStorage: failed to serialize the value to JSON")}},YE=e=>{try{return e&&JSON.parse(e)}catch(t){return e}},XE=e=>{let t=new CustomEvent("use-local-storage",{detail:e});window.dispatchEvent(t);},uy=(e,t,r={})=>{let{serialize:o=qE,deserialize:n=YE}=r,i=ht__namespace.default.useRef(!1),[a,s]=ht.useState(()=>{var l;return Mn?n((l=cy(e))!=null?l:void 0):t});return ht.useEffect(()=>{let l=c=>{let u=c instanceof CustomEvent,d=u?c.detail.key:c.key,m=u?c.detail.newValue:c.newValue;(u||c.storageArea===window.localStorage)&&d===e&&s(n(m!=null?m:void 0));};return Mn&&(window.addEventListener("storage",l),window.addEventListener("use-local-storage",l)),()=>{Mn&&(window.removeEventListener("storage",l),window.removeEventListener("use-local-storage",l));}},[]),ht.useEffect(()=>{if(!i.current){i.current=!0;return}let l=o(a);cy(e)!==l&&(KE(e,l),XE({key:e,newValue:l}));},[a]),[a===void 0?t:a,s]};var QE={black:"#0e1012",primary:{50:"#f6f7fd",100:"#dcdff5",200:"#bec3ed",300:"#9aa1e2",400:"#858edd",500:"#6b75d0",600:"#5a63af",700:"#484f8d",800:"#3d4377",900:"#2c3056"},grayAlpha:{50:"rgba(249, 249, 250, 0.5)",100:"rgba(241, 241, 243, 0.5)",200:"rgba(231, 231, 234, 0.5)",300:"rgba(211, 212, 216, 0.5)",400:"rgba(171, 172, 181, 0.5)",500:"rgba(124, 126, 139, 0.5)",600:"rgba(81, 84, 101, 0.5)",700:"rgba(52, 54, 67, 0.5)",800:"rgba(30, 32, 39, 0.5)",900:"rgba(24, 25, 31, 0.5)"},gray:{50:"#f9f9fa",100:"#f1f1f3",200:"#e7e7ea",300:"#d3d4d8",400:"#abacb5",500:"#7c7e8b",600:"#515465",700:"#343643",800:"#1e2027",900:"#18191f"},purple:{50:"#f9f6fd",100:"#e5daf8",200:"#d3bef4",300:"#b795ec",400:"#a379e7",500:"#8952e0",600:"#7434db",700:"#6023c0",800:"#4f1d9e",900:"#3b1676"},pink:{50:"#fdf5f9",100:"#f8d9e7",200:"#f3b9d3",300:"#eb8db8",400:"#e56ba2",500:"#dc3882",600:"#c4246c",700:"#a01d58",800:"#7d1745",900:"#5d1133"},red:{50:"#fdf6f5",100:"#f8d9d8",200:"#f1b8b4",300:"#e98d87",400:"#e4726c",500:"#dc4a41",600:"#d2140a",700:"#ac0900",800:"#930800",900:"#6d0600"},orange:{50:"#fdfaf6",100:"#f9ebdb",200:"#f1d4b1",300:"#e6b273",400:"#dc9239",500:"#c37b24",600:"#a5681e",700:"#835318",800:"#674113",900:"#553610"},yellow:{50:"#fffefb",100:"#fff8e9",200:"#feecbd",300:"#fddc87",400:"#fbc434",500:"#d2a01e",600:"#a88018",700:"#836413",800:"#624b0e",900:"#513e0c"},green:{50:"#f7fdfb",100:"#d2f2e7",200:"#9fe3cd",300:"#64d2ad",400:"#1dbd88",500:"#0ea371",600:"#0c875e",700:"#096949",800:"#07563c",900:"#064731"},teal:{50:"#f1fcfc",100:"#c0f1f4",200:"#84e4e9",300:"#2dd1da",400:"#22b2ba",500:"#1d979e",600:"#187b80",700:"#125f64",800:"#0f5053",900:"#0d4244"},cyan:{50:"#f4fbfd",100:"#d0eef7",200:"#bae7f3",300:"#a2deee",400:"#53c2e1",500:"#2ab4d9",600:"#24a2c4",700:"#1e86a2",800:"#196e85",900:"#135567"},blue:{50:"#f1f6fd",100:"#cde0f6",200:"#a8c8f0",300:"#7fafe8",400:"#5896e1",500:"#347fdb",600:"#236abf",700:"#1b5192",800:"#164278",900:"#123662"},indigo:{50:"#f8f7fc",100:"#e1ddf5",200:"#c8c0ec",300:"#a89de2",400:"#9789dc",500:"#7f6ed4",600:"#6a58c9",700:"#5546a1",800:"#483c88",900:"#342b62"}},Pc=QE,eR={heading:"InterVariable, sans-serif",body:"InterVariable, sans-serif"},tR={xs:"0.75rem",sm:"0.8125rem",md:"0.875rem",lg:"1rem",xl:"1.125rem","2xl":"1.5rem","3xl":"1.875rem","4xl":"2.25rem","5xl":"3rem","6xl":"3.75rem","7xl":"4.5rem","8xl":"6rem","9xl":"8rem"},rR={},oR={container:{sm:"30em",md:"48em",lg:"62em",xl:"80em","2xl":"96em"}},nR=oR,iR={xs:"rgb(0 0 0 / 7%) 0px 1px 1px","dark-xs":"rgb(0 0 0 / 7%) 0px 1px 1px",outline:`0 0 0 2px ${te(Pc.primary[500],.6)({colors:Pc})}`},aR=iR,sR={colors:{muted:{default:"gray.500",_dark:"gray.400"}}},{definePartsStyle:yy,defineMultiStyleConfig:lR}=T(Wo.keys),dy=V("alert-fg"),fy=V("alert-bg"),Ac=V("alert-border");function cR(e){let{theme:t,colorScheme:r}=e,o=te(`${r}.600`,.16)(t);return {light:`colors.${r}.100`,dark:o}}function uR(e){let{theme:t,colorScheme:r}=e,o=te(`${r}.300`,.16)(t);return {light:`colors.${r}.200`,dark:o}}var dR=yy(e=>{let{colorScheme:t}=e,r=cR(e),o=uR(e);return {container:{borderWidth:"1px",[dy.variable]:`colors.${t}.500`,[fy.variable]:r.light,[Ac.variable]:o.light,_dark:{[dy.variable]:`colors.${t}.500`,[fy.variable]:r.dark,[Ac.variable]:o.dark}}}}),fR=yy(()=>({container:{borderColor:Ac.reference,borderRadius:"md",fontSize:"sm"},icon:{w:4,h:5},title:{fontSize:"sm",fontWeight:"medium"},description:{color:"muted"}})),mR=lR({defaultProps:{size:"sm",colorScheme:"primary"},baseStyle:fR,variants:{subtle:dR}}),vy=e=>{let{colorScheme:t,colorMode:r}=e,o=`${t}.500`,n=`${t}.600`;return t==="neutral"&&r==="dark"?(o="white",n="whiteAlpha.800"):t==="neutral"&&(o="black",n="blackAlpha.800"),{borderWidth:"1px",borderColor:o,boxShadow:"xs",bg:o,color:"white",fontWeight:"medium",_hover:{borderColor:n,bg:n},_dark:{boxShadow:"dark-xs"}}},pR=e=>({fontWeight:"medium",_checked:{bg:"blackAlpha.100"},_dark:{_checked:{bg:"whiteAlpha.100"}}}),hR=e=>{let{colorScheme:t}=e;return t==="gray"?{fontWeight:"medium"}:{fontWeight:"medium",color:`${t}.500`,_hover:{color:`${t}.400`,bg:"blackAlpha.50"},_dark:{color:`${t}.500`,_hover:{color:`${t}.400`,bg:"whiteAlpha.50"}}}},gR=e=>vy(v(f({},e),{colorScheme:"primary"})),yR={borderWidth:"1px",borderColor:"gray.200",boxShadow:"xs",bg:"white",fontWeight:"medium",color:"inherit",_hover:{borderColor:"gray.300",bg:"gray.50"},_dark:{boxShadow:"dark-xs",borderColor:"gray.600",bg:"gray.700",_hover:{borderColor:"gray.500",bg:"gray.600"}}},vR={borderWidth:"1px",borderColor:"gray.200",bg:"gray.200",color:"black",fontWeight:"medium",_hover:{borderColor:"gray.300",bg:"gray.200"},_dark:{borderColor:"gray.700",bg:"gray.700",color:"white",_hover:{borderColor:"gray.600"}}},bR={lg:{h:"8",minW:"10",fontSize:"md",px:"4",rounded:"6"},md:{h:"7",minW:"8",fontSize:"sm",px:"3",rounded:"4"},sm:{h:"6",minW:"6",fontSize:"sm",px:"2",rounded:"3"},xs:{h:"5",minW:"4",fontSize:"xs",px:"1",rounded:"3"}},xR={defaultProps:{size:"md",variant:"secondary"},variants:{solid:vy,outline:hR,ghost:pR,primary:gR,secondary:yR,tertiary:vR},sizes:bR},by=I("card").parts("container","header","title","subtitle","body","footer"),{definePartsStyle:ls}=T(by.keys),SR=V("card-bg"),wc=V("card-padding"),CR=V("card-shadow"),kc=V("card-radius"),wR=V("card-border-width","0"),is=V("card-border-color"),kR={sm:ls({container:{[kc.variable]:"radii.base",[wc.variable]:"space.3"}}),md:ls({container:{[kc.variable]:"radii.md",[wc.variable]:"space.4"}}),lg:ls({container:{[kc.variable]:"radii.xl",[wc.variable]:"space.6"}})},my=ls(e=>{let{isHoverable:t}=e;return {container:{[is.variable]:"colors.blackAlpha.200",[wR.variable]:"1px",[CR.variable]:"shadows.sm",_hover:t?{[is.variable]:"colors.blackAlpha.300"}:{},_dark:{[SR.variable]:"colors.gray.700",[is.variable]:"colors.whiteAlpha.50",_hover:t?{[is.variable]:"colors.whiteAlpha.300"}:{}}}}}),_R={parts:by.keys,defaultProps:{variant:"elevated"},variants:{elevated:my,shadow:my},sizes:kR},TR={baseStyle:e=>{let{colorScheme:t}=e;return {control:{_checked:{borderColor:`${t}.500`,bg:`${t}.500`,color:"white"}}}}},PR={size:"sm"},AR={defaultProps:PR},{defineMultiStyleConfig:ER,definePartsStyle:RR}=T(Fs.keys),py=V("drawer-bg"),MR={bg:"blackAlpha.50"},IR=e=>({borderRadius:"md",margin:"8px",borderWidth:"1px",borderColor:"chakra-border-color",backdropFilter:"blur(10px) contrast(100%) saturate(100%) brightness(200%)",[py.variable]:"colors.whiteAlpha.800",fontSize:"md",_dark:{backdropFilter:"blur(10px) saturate(190%) contrast(70%) brightness(80%)",[py.variable]:"colors.grayAlpha.700"}}),VR={px:"4",py:"3",fontSize:"md",fontWeight:"semibold"},OR={position:"absolute",top:"2",insetEnd:"3"},NR=e=>({px:"4",py:"2"}),$R={px:"3",py:"3"},LR=RR(e=>({overlay:MR,dialog:se(IR,e),header:VR,closeButton:OR,body:se(NR,e),footer:$R})),DR=ER({baseStyle:LR}),jR=DR,{definePartsStyle:BR}=T(Kt.keys);function zR(e){let{focusBorderColor:t,errorBorderColor:r}=e;return {focusBorderColor:t||Y("blue.500","blue.300")(e),errorBorderColor:r||Y("red.500","red.300")(e)}}var xy=BR(e=>{let{theme:t}=e,{focusBorderColor:r,errorBorderColor:o}=zR(e);return {field:{border:"1px solid var(--chakra-colors-chakra-border-color)",bg:"inherit",_hover:{borderColor:"gray.300"},_invalid:{borderColor:ae(t,o),boxShadow:"none"},_focusVisible:{zIndex:1,borderColor:ae(t,r),boxShadow:"none"},_dark:{bg:"gray.900",borderColor:"chakra-border-color",_hover:{borderColor:"whiteAlpha.400"},_invalid:{borderColor:ae(t,o)},_focusVisible:{borderColor:ae(t,r)}}},addon:{borderColor:"inherit",bg:"gray.100",_dark:{borderColor:"whiteAlpha.50",bg:"whiteAlpha.300"}}}}),FR={sm:{field:{borderRadius:"4px",h:7},addon:{borderRadius:"4px",h:7}},md:{field:{px:3,h:9},addon:{px:3,h:9}}},In={defaultProps:{variant:"outline",size:"sm",focusBorderColor:"primary.500"},variants:{outline:xy},sizes:FR},WR={FormLabel:{baseStyle:{mb:1},variants:{horizontal:{mb:0,marginStart:"0.5rem"}}},Input:In,NumberInput:In,PinInput:In,Textarea:{defaultProps:In.defaultProps,variants:{outline:e=>xy(e).field}},Select:In},HR={defaultProps:{size:"lg"}},_c=V("kbd-bg"),GR={[_c.variable]:"colors.blackAlpha.300",_dark:{[_c.variable]:"colors.whiteAlpha.300"},bg:_c.reference,borderRadius:"md",borderWidth:"0",borderBottomWidth:"0",padding:"1px",minW:"20px",textAlign:"center",":last-child":{mr:0}},UR={defaultProps:{variant:"solid"},baseStyle:GR},KR=UR,{defineMultiStyleConfig:qR,definePartsStyle:YR}=T(Ho.keys),qe=V("menu-bg"),Tc=V("menu-shadow"),XR={[qe.variable]:"colors.whiteAlpha.500",[Tc.variable]:"shadows.lg",backdropFilter:"blur(10px) contrast(100%) saturate(190%)",_dark:{[qe.variable]:"colors.grayAlpha.700",[Tc.variable]:"shadows.dark-lg",backdropFilter:"blur(10px) saturate(190%) contrast(70%) brightness(80%)"},py:"1",borderRadius:"md",borderWidth:"1px",bg:qe.reference,boxShadow:Tc.reference},ZR={py:"1.5",px:"3",mx:"1",rounded:"md",fontSize:"sm",width:"calc(100% - 8px)",boxSizing:"border-box",bg:"transparent",_hover:{bg:qe.reference,[qe.variable]:"colors.grayAlpha.300"},_focus:{bg:qe.reference,[qe.variable]:"colors.grayAlpha.300"},_active:{bg:qe.reference,[qe.variable]:"colors.grayAlpha.300"},_expanded:{bg:qe.reference,[qe.variable]:"colors.grayAlpha.300"}},JR={mx:4,my:2,fontWeight:"semibold",fontSize:"sm"},QR={transitionProperty:"common",transitionDuration:"normal"},eM={my:"1"},tM=YR({button:QR,list:XR,item:ZR,groupTitle:JR,divider:eM}),rM=qR({baseStyle:tM}),oM=rM,{defineMultiStyleConfig:nM,definePartsStyle:iM}=T(Go.keys),aM={bg:"blackAlpha.50"},sM=e=>({bg:"whiteAlpha.800",backdropFilter:"blur(10px) contrast(100%) saturate(100%) brightness(200%)",fontSize:"md",_dark:{bg:"grayAlpha.700",boxShadow:"dark-lg",backdropFilter:"blur(10px) saturate(190%) contrast(70%) brightness(80%)"}}),lM={px:"4",py:"3",fontSize:"md",fontWeight:"semibold"},cM={position:"absolute",top:"2",insetEnd:"3"},uM=e=>({px:"4",py:"2"}),dM={px:"3",py:"3"},fM=iM(e=>({overlay:aM,dialog:se(sM,e),header:lM,closeButton:cM,body:se(uM,e),footer:dM})),mM=nM({baseStyle:fM,defaultProps:{size:"md"}}),pM=mM,{defineMultiStyleConfig:hM}=T(Uo.keys),gM=hM({defaultProps:{colorScheme:"primary"},baseStyle:e=>{let{colorScheme:t}=e;return {track:{borderRadius:"md",bg:"gray.200",_dark:{bg:"gray.800"}},filledTrack:{bg:`${t}.500`}}}}),{defineMultiStyleConfig:yM,definePartsStyle:vM}=T(Hs.keys),as=V("popper-bg"),bM=V("popper-arrow-bg"),hy=V("popper-arrow-shadow-color"),xM={[as.variable]:"colors.whiteAlpha.800",bg:as.reference,[bM.variable]:as.reference,[hy.variable]:"colors.gray.200",backdropFilter:"blur(10px) contrast(100%) saturate(100%) brightness(200%)",_dark:{[as.variable]:"colors.grayAlpha.700",[hy.variable]:"colors.whiteAlpha.300",backdropFilter:"blur(10px) saturate(190%) contrast(70%) brightness(80%)"}},SM=vM(e=>({content:se(xM,e)})),CM=yM({baseStyle:SM,defaultProps:{size:"md"}}),wM=CM,kM={baseStyle:e=>{let{colorScheme:t}=e;return {control:{_checked:{borderColor:`${t}.500`,bg:`${t}.500`,color:"white"}}}}},_M={defaultProps:{colorScheme:"primary"},baseStyle:e=>{let{colorScheme:t}=e;return {filledTrack:{bg:`${t}.500`}}}},{defineMultiStyleConfig:TM,definePartsStyle:PM}=T(Ko.keys),Vn=Ue("switch-bg"),AM=e=>{let{colorScheme:t}=e;return {[Vn.variable]:"colors.gray.300",_dark:{[Vn.variable]:"colors.whiteAlpha.300"},_checked:{[Vn.variable]:`colors.${t}.500`,_dark:{[Vn.variable]:`colors.${t}.500`}},bg:Vn.reference}},EM={bg:"white",_dark:{bg:"blackAlpha.800",_checked:{bg:"white"}}},RM=PM(e=>({track:AM(e),thumb:EM})),MM=TM({baseStyle:RM,defaultProps:{size:"md",colorScheme:"primary"}}),IM=MM,ss=Ue("tooltip-bg"),gy=Ue("tooltip-fg"),VM=Ue("popper-arrow-bg"),OM=e=>({display:"flex",[ss.variable]:"colors.white",[gy.variable]:"colors.blackAlpha.900",_dark:{[ss.variable]:"colors.gray.700",[gy.variable]:"colors.whiteAlpha.900"},px:"8px",py:"2px",bg:[ss.reference],[VM.variable]:[ss.reference],borderRadius:"sm",fontWeight:"medium",fontSize:"xs",boxShadow:"md",maxW:"320px",zIndex:"tooltip",borderWidth:"1px"}),NM={baseStyle:OM},$M=f({Alert:mR,Button:xR,Card:_R,Checkbox:TR,CloseButton:AR,Drawer:jR,Heading:HR,Kbd:KR,Menu:oM,Modal:pM,Progress:gM,Popover:wM,Radio:kM,Slider:_M,Switch:IM,Tooltip:NM},WR),Sy=react.extendTheme({colors:Pc,fonts:eR,fontSizes:tR,textStyles:rR,sizes:nR,components:$M,shadows:aR,semanticTokens:sR},react.withDefaultColorScheme({colorScheme:"primary",components:["Radio","Switch","Checkbox"]}));var jM=react.extendTheme(Sy,rn),BM=()=>{let[e,t]=uy("storybook.theme","1");return ht__namespace.useEffect(()=>{let r=previewApi.addons.getChannel(),o=n=>{t(n);};return r.on(nt.SET_THEME,o),()=>{r.removeListener(nt.SET_THEME,o);}},[t]),e},wy=previewApi.makeDecorator({name:"ChakraProviderDecorator",parameterName:"chakra",skipIfNoParametersOrOptions:!1,wrapper:(e,t,{parameters:r})=>{let {parameters:{saasui:o},globals:{[Fc]:n}}=t,i=BM(),a=ht__namespace.useCallback(()=>{switch(i){case"1":return rn;case"2":return jM;default:return ul}},[i]),s=(o==null?void 0:o.theme)||a();!!(o!=null&&o.theme);let c=o!=null&&o.theme?typeof o.theme=="function"?o.theme(t):o.theme:s,u=Gc(n||(c==null?void 0:c.direction)),d=ht__namespace.useMemo(()=>react.extendTheme({direction:u,styles:{global:{body:{minHeight:"var(--chakra-vh)"}}}},c),[c,u]);return jsxRuntime.jsxs(wg,v(f({},o),{theme:d,children:[jsxRuntime.jsx(Wc,{}),e(t)]}))}});var WM={decorators:[wy]},Vq=WM;/*! Bundled license information:
|
37
|
+
|
38
|
+
react-is/cjs/react-is.production.min.js:
|
39
|
+
(** @license React v16.13.1
|
40
|
+
* react-is.production.min.js
|
41
|
+
*
|
42
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
43
|
+
*
|
44
|
+
* This source code is licensed under the MIT license found in the
|
45
|
+
* LICENSE file in the root directory of this source tree.
|
46
|
+
*)
|
47
|
+
*/
|
48
|
+
|
49
|
+
module.exports = Vq;
|
11
50
|
//# sourceMappingURL=out.js.map
|
12
51
|
//# sourceMappingURL=preview.js.map
|