UNPKG

table-pagination-chakra-ui

Version:
30 lines (28 loc) 99.6 kB
(function(Ue,$){typeof exports=="object"&&typeof module<"u"?$(exports,require("react")):typeof define=="function"&&define.amd?define(["exports","react"],$):(Ue=typeof globalThis<"u"?globalThis:Ue||self,$(Ue["table-pagination-chakra-ui"]={},Ue.React))})(this,function(Ue,$){"use strict";function Ca(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:()=>e[t]})}}return r.default=e,Object.freeze(r)}const ce=Ca($);var Wr=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function yn(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var St={exports:{}},xr={};/** * @license React * react-jsx-runtime.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var vn;function Ea(){if(vn)return xr;vn=1;var e=$,r=Symbol.for("react.element"),t=Symbol.for("react.fragment"),n=Object.prototype.hasOwnProperty,a=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i={key:!0,ref:!0,__self:!0,__source:!0};function d(u,p,h){var m,g={},T=null,k=null;h!==void 0&&(T=""+h),p.key!==void 0&&(T=""+p.key),p.ref!==void 0&&(k=p.ref);for(m in p)n.call(p,m)&&!i.hasOwnProperty(m)&&(g[m]=p[m]);if(u&&u.defaultProps)for(m in p=u.defaultProps,p)g[m]===void 0&&(g[m]=p[m]);return{$$typeof:r,type:u,key:T,ref:k,props:g,_owner:a.current}}return xr.Fragment=t,xr.jsx=d,xr.jsxs=d,xr}var Tr={};/** * @license React * react-jsx-runtime.development.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var Sn;function Ra(){return Sn||(Sn=1,process.env.NODE_ENV!=="production"&&function(){var e=$,r=Symbol.for("react.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),d=Symbol.for("react.provider"),u=Symbol.for("react.context"),p=Symbol.for("react.forward_ref"),h=Symbol.for("react.suspense"),m=Symbol.for("react.suspense_list"),g=Symbol.for("react.memo"),T=Symbol.for("react.lazy"),k=Symbol.for("react.offscreen"),v=Symbol.iterator,S="@@iterator";function _(s){if(s===null||typeof s!="object")return null;var b=v&&s[v]||s[S];return typeof b=="function"?b:null}var E=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function w(s){{for(var b=arguments.length,x=new Array(b>1?b-1:0),A=1;A<b;A++)x[A-1]=arguments[A];O("error",s,x)}}function O(s,b,x){{var A=E.ReactDebugCurrentFrame,F=A.getStackAddendum();F!==""&&(b+="%s",x=x.concat([F]));var G=x.map(function(j){return String(j)});G.unshift("Warning: "+b),Function.prototype.apply.call(console[s],console,G)}}var B=!1,y=!1,z=!1,I=!1,ne=!1,ue;ue=Symbol.for("react.module.reference");function ve(s){return!!(typeof s=="string"||typeof s=="function"||s===n||s===i||ne||s===a||s===h||s===m||I||s===k||B||y||z||typeof s=="object"&&s!==null&&(s.$$typeof===T||s.$$typeof===g||s.$$typeof===d||s.$$typeof===u||s.$$typeof===p||s.$$typeof===ue||s.getModuleId!==void 0))}function Se(s,b,x){var A=s.displayName;if(A)return A;var F=b.displayName||b.name||"";return F!==""?x+"("+F+")":x}function lr(s){return s.displayName||"Context"}function _e(s){if(s==null)return null;if(typeof s.tag=="number"&&w("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof s=="function")return s.displayName||s.name||null;if(typeof s=="string")return s;switch(s){case n:return"Fragment";case t:return"Portal";case i:return"Profiler";case a:return"StrictMode";case h:return"Suspense";case m:return"SuspenseList"}if(typeof s=="object")switch(s.$$typeof){case u:var b=s;return lr(b)+".Consumer";case d:var x=s;return lr(x._context)+".Provider";case p:return Se(s,s.render,"ForwardRef");case g:var A=s.displayName||null;return A!==null?A:_e(s.type)||"Memo";case T:{var F=s,G=F._payload,j=F._init;try{return _e(j(G))}catch{return null}}}return null}var we=Object.assign,De=0,dr,ur,rr,fr,tr,pr,hr;function q(){}q.__reactDisabledLog=!0;function mr(){{if(De===0){dr=console.log,ur=console.info,rr=console.warn,fr=console.error,tr=console.group,pr=console.groupCollapsed,hr=console.groupEnd;var s={configurable:!0,enumerable:!0,value:q,writable:!0};Object.defineProperties(console,{info:s,log:s,warn:s,error:s,group:s,groupCollapsed:s,groupEnd:s})}De++}}function $r(){{if(De--,De===0){var s={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:we({},s,{value:dr}),info:we({},s,{value:ur}),warn:we({},s,{value:rr}),error:we({},s,{value:fr}),group:we({},s,{value:tr}),groupCollapsed:we({},s,{value:pr}),groupEnd:we({},s,{value:hr})})}De<0&&w("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Ce=E.ReactCurrentDispatcher,Ge;function ke(s,b,x){{if(Ge===void 0)try{throw Error()}catch(F){var A=F.stack.trim().match(/\n( *(at )?)/);Ge=A&&A[1]||""}return` `+Ge+s}}var Xe=!1,Me;{var gr=typeof WeakMap=="function"?WeakMap:Map;Me=new gr}function R(s,b){if(!s||Xe)return"";{var x=Me.get(s);if(x!==void 0)return x}var A;Xe=!0;var F=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var G;G=Ce.current,Ce.current=null,mr();try{if(b){var j=function(){throw Error()};if(Object.defineProperty(j.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(j,[])}catch(ae){A=ae}Reflect.construct(s,[],j)}else{try{j.call()}catch(ae){A=ae}s.call(j.prototype)}}else{try{throw Error()}catch(ae){A=ae}s()}}catch(ae){if(ae&&A&&typeof ae.stack=="string"){for(var M=ae.stack.split(` `),se=A.stack.split(` `),Q=M.length-1,ee=se.length-1;Q>=1&&ee>=0&&M[Q]!==se[ee];)ee--;for(;Q>=1&&ee>=0;Q--,ee--)if(M[Q]!==se[ee]){if(Q!==1||ee!==1)do if(Q--,ee--,ee<0||M[Q]!==se[ee]){var de=` `+M[Q].replace(" at new "," at ");return s.displayName&&de.includes("<anonymous>")&&(de=de.replace("<anonymous>",s.displayName)),typeof s=="function"&&Me.set(s,de),de}while(Q>=1&&ee>=0);break}}}finally{Xe=!1,Ce.current=G,$r(),Error.prepareStackTrace=F}var Qe=s?s.displayName||s.name:"",xe=Qe?ke(Qe):"";return typeof s=="function"&&Me.set(s,xe),xe}function nr(s,b,x){return R(s,!1)}function Ke(s){var b=s.prototype;return!!(b&&b.isReactComponent)}function We(s,b,x){if(s==null)return"";if(typeof s=="function")return R(s,Ke(s));if(typeof s=="string")return ke(s);switch(s){case h:return ke("Suspense");case m:return ke("SuspenseList")}if(typeof s=="object")switch(s.$$typeof){case p:return nr(s.render);case g:return We(s.type,b,x);case T:{var A=s,F=A._payload,G=A._init;try{return We(G(F),b,x)}catch{}}}return""}var ar=Object.prototype.hasOwnProperty,at={},ot=E.ReactDebugCurrentFrame;function br(s){if(s){var b=s._owner,x=We(s.type,s._source,b?b.type:null);ot.setExtraStackFrame(x)}else ot.setExtraStackFrame(null)}function yr(s,b,x,A,F){{var G=Function.call.bind(ar);for(var j in s)if(G(s,j)){var M=void 0;try{if(typeof s[j]!="function"){var se=Error((A||"React class")+": "+x+" type `"+j+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof s[j]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw se.name="Invariant Violation",se}M=s[j](b,j,A,x,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(Q){M=Q}M&&!(M instanceof Error)&&(br(F),w("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",A||"React class",x,j,typeof M),br(null)),M instanceof Error&&!(M.message in at)&&(at[M.message]=!0,br(F),w("Failed %s type: %s",x,M.message),br(null))}}}var Br=Array.isArray;function Je(s){return Br(s)}function Fe(s){{var b=typeof Symbol=="function"&&Symbol.toStringTag,x=b&&s[Symbol.toStringTag]||s.constructor.name||"Object";return x}}function it(s){try{return Mr(s),!1}catch{return!0}}function Mr(s){return""+s}function st(s){if(it(s))return w("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Fe(s)),Mr(s)}var ct=E.ReactCurrentOwner,vr={key:!0,ref:!0,__self:!0,__source:!0},Fr,jr;function lt(s){if(ar.call(s,"ref")){var b=Object.getOwnPropertyDescriptor(s,"ref").get;if(b&&b.isReactWarning)return!1}return s.ref!==void 0}function dt(s){if(ar.call(s,"key")){var b=Object.getOwnPropertyDescriptor(s,"key").get;if(b&&b.isReactWarning)return!1}return s.key!==void 0}function en(s,b){typeof s.ref=="string"&&ct.current}function rn(s,b){{var x=function(){Fr||(Fr=!0,w("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",b))};x.isReactWarning=!0,Object.defineProperty(s,"key",{get:x,configurable:!0})}}function Ye(s,b){{var x=function(){jr||(jr=!0,w("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",b))};x.isReactWarning=!0,Object.defineProperty(s,"ref",{get:x,configurable:!0})}}var Sr=function(s,b,x,A,F,G,j){var M={$$typeof:r,type:s,key:b,ref:x,props:j,_owner:G};return M._store={},Object.defineProperty(M._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(M,"_self",{configurable:!1,enumerable:!1,writable:!1,value:A}),Object.defineProperty(M,"_source",{configurable:!1,enumerable:!1,writable:!1,value:F}),Object.freeze&&(Object.freeze(M.props),Object.freeze(M)),M};function tn(s,b,x,A,F){{var G,j={},M=null,se=null;x!==void 0&&(st(x),M=""+x),dt(b)&&(st(b.key),M=""+b.key),lt(b)&&(se=b.ref,en(b,F));for(G in b)ar.call(b,G)&&!vr.hasOwnProperty(G)&&(j[G]=b[G]);if(s&&s.defaultProps){var Q=s.defaultProps;for(G in Q)j[G]===void 0&&(j[G]=Q[G])}if(M||se){var ee=typeof s=="function"?s.displayName||s.name||"Unknown":s;M&&rn(j,ee),se&&Ye(j,ee)}return Sr(s,M,se,F,A,ct.current,j)}}var _r=E.ReactCurrentOwner,ut=E.ReactDebugCurrentFrame;function Ve(s){if(s){var b=s._owner,x=We(s.type,s._source,b?b.type:null);ut.setExtraStackFrame(x)}else ut.setExtraStackFrame(null)}var He;He=!1;function Nr(s){return typeof s=="object"&&s!==null&&s.$$typeof===r}function je(){{if(_r.current){var s=_e(_r.current.type);if(s)return` Check the render method of \``+s+"`."}return""}}function nn(s){return""}var ft={};function an(s){{var b=je();if(!b){var x=typeof s=="string"?s:s.displayName||s.name;x&&(b=` Check the top-level render call using <`+x+">.")}return b}}function pt(s,b){{if(!s._store||s._store.validated||s.key!=null)return;s._store.validated=!0;var x=an(b);if(ft[x])return;ft[x]=!0;var A="";s&&s._owner&&s._owner!==_r.current&&(A=" It was passed a child from "+_e(s._owner.type)+"."),Ve(s),w('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',x,A),Ve(null)}}function ht(s,b){{if(typeof s!="object")return;if(Je(s))for(var x=0;x<s.length;x++){var A=s[x];Nr(A)&&pt(A,b)}else if(Nr(s))s._store&&(s._store.validated=!0);else if(s){var F=_(s);if(typeof F=="function"&&F!==s.entries)for(var G=F.call(s),j;!(j=G.next()).done;)Nr(j.value)&&pt(j.value,b)}}}function Ee(s){{var b=s.type;if(b==null||typeof b=="string")return;var x;if(typeof b=="function")x=b.propTypes;else if(typeof b=="object"&&(b.$$typeof===p||b.$$typeof===g))x=b.propTypes;else return;if(x){var A=_e(b);yr(x,s.props,"prop",A,s)}else if(b.PropTypes!==void 0&&!He){He=!0;var F=_e(b);w("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",F||"Unknown")}typeof b.getDefaultProps=="function"&&!b.getDefaultProps.isReactClassApproved&&w("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function on(s){{for(var b=Object.keys(s.props),x=0;x<b.length;x++){var A=b[x];if(A!=="children"&&A!=="key"){Ve(s),w("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",A),Ve(null);break}}s.ref!==null&&(Ve(s),w("Invalid attribute `ref` supplied to `React.Fragment`."),Ve(null))}}var mt={};function gt(s,b,x,A,F,G){{var j=ve(s);if(!j){var M="";(s===void 0||typeof s=="object"&&s!==null&&Object.keys(s).length===0)&&(M+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var se=nn();se?M+=se:M+=je();var Q;s===null?Q="null":Je(s)?Q="array":s!==void 0&&s.$$typeof===r?(Q="<"+(_e(s.type)||"Unknown")+" />",M=" Did you accidentally export a JSX literal instead of a component?"):Q=typeof s,w("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",Q,M)}var ee=tn(s,b,x,F,G);if(ee==null)return ee;if(j){var de=b.children;if(de!==void 0)if(A)if(Je(de)){for(var Qe=0;Qe<de.length;Qe++)ht(de[Qe],s);Object.freeze&&Object.freeze(de)}else w("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else ht(de,s)}if(ar.call(b,"key")){var xe=_e(s),ae=Object.keys(b).filter(function(bt){return bt!=="key"}),Lr=ae.length>0?"{key: someKey, "+ae.join(": ..., ")+": ...}":"{key: someKey}";if(!mt[xe+Lr]){var kr=ae.length>0?"{"+ae.join(": ..., ")+": ...}":"{}";w(`A props object containing a "key" prop is being spread into JSX: let props = %s; <%s {...props} /> React keys must be passed directly to JSX without using spread: let props = %s; <%s key={someKey} {...props} />`,Lr,xe,kr,xe),mt[xe+Lr]=!0}}return s===n?on(ee):Ee(ee),ee}}function sn(s,b,x){return gt(s,b,x,!0)}function cn(s,b,x){return gt(s,b,x,!1)}var Ze=cn,ln=sn;Tr.Fragment=n,Tr.jsx=Ze,Tr.jsxs=ln}()),Tr}process.env.NODE_ENV==="production"?St.exports=Ea():St.exports=Ra();var _t=St.exports;const kt=_t.Fragment,P=_t.jsx,pe=_t.jsxs;function Pa(e,...r){if(e==null)throw new TypeError("Cannot convert undefined or null to object");const t={...e};for(const n of r)if(n!=null)for(const a in n)Object.prototype.hasOwnProperty.call(n,a)&&(a in t&&delete t[a],t[a]=n[a]);return t}const Te=e=>e?"":void 0,xt=e=>e?!0:void 0;function Ia(e){return Array.isArray(e)}function er(e){const r=typeof e;return e!=null&&(r==="object"||r==="function")&&!Ia(e)}function Oa(e){const r=parseFloat(e.toString()),t=e.toString().replace(String(r),"");return{unitless:!t,value:r,unit:t}}function _n(e){if(e==null)return e;const{unitless:r}=Oa(e);return r||typeof e=="number"?`${e}px`:e}function Aa(e,r){const t=["@media screen"];return e&&t.push("and",`(min-width: ${_n(e)})`),r&&t.push("and",`(max-width: ${_n(r)})`),t.join(" ")}function kn(...e){return function(t){e.some(n=>(n==null||n(t),t==null?void 0:t.defaultPrevented))}}function $a(e){return $.Children.toArray(e).filter(r=>$.isValidElement(r))}function Tt(e){const r=Object.assign({},e);for(let t in r)r[t]===void 0&&delete r[t];return r}function Ba(e,r){return`${e} returned \`undefined\`. Seems you forgot to wrap component within ${r}`}function wt(e={}){const{name:r,strict:t=!0,hookName:n="useContext",providerName:a="Provider",errorMessage:i,defaultValue:d}=e,u=$.createContext(d);u.displayName=r;function p(){var m;const h=$.useContext(u);if(!h&&t){const g=new Error(i??Ba(n,a));throw g.name="ContextError",(m=Error.captureStackTrace)==null||m.call(Error,g,p),g}return h}return[u.Provider,p,u]}const Pe=(...e)=>e.filter(Boolean).join(" ");function Ma(e,r,t,n){const a=typeof r=="string"?r.split("."):[r];for(n=0;n<a.length&&e;n+=1)e=e[a[n]];return e===void 0?t:e}const Fa=(e=>{const r=new WeakMap;return(n,a,i,d)=>{if(typeof n>"u")return e(n,a,i);r.has(n)||r.set(n,new Map);const u=r.get(n);if(u.has(a))return u.get(a);const p=e(n,a,i,d);return u.set(a,p),p}})(Ma),ja=e=>e.default||e;function xn(e,r=[]){const t=Object.assign({},e);for(const n of r)n in t&&delete t[n];return t}function Na(e,r){return Array.isArray(e)?e.map(t=>t===null?null:r(t)):er(e)?Object.keys(e).reduce((t,n)=>(t[n]=r(e[n]),t),{}):e!=null?r(e):null}const La=e=>typeof e=="function";function qe(e,...r){return La(e)?e(...r):e}function za(e,r){const t={},n={};for(const[a,i]of Object.entries(e))r.includes(a)?t[a]=i:n[a]=i;return[t,n]}function Da(e,...r){const t=Object.getOwnPropertyDescriptors(e),n=Object.keys(t),a=d=>{const u={};for(let p=0;p<d.length;p++){const h=d[p];t[h]&&(Object.defineProperty(u,h,t[h]),delete t[h])}return u},i=d=>a(Array.isArray(d)?d:n.filter(d));return r.map(i).concat(a(n))}var Yr={exports:{}};Yr.exports,function(e,r){var t=200,n="__lodash_hash_undefined__",a=800,i=16,d=9007199254740991,u="[object Arguments]",p="[object Array]",h="[object AsyncFunction]",m="[object Boolean]",g="[object Date]",T="[object Error]",k="[object Function]",v="[object GeneratorFunction]",S="[object Map]",_="[object Number]",E="[object Null]",w="[object Object]",O="[object Proxy]",B="[object RegExp]",y="[object Set]",z="[object String]",I="[object Undefined]",ne="[object WeakMap]",ue="[object ArrayBuffer]",ve="[object DataView]",Se="[object Float32Array]",lr="[object Float64Array]",_e="[object Int8Array]",we="[object Int16Array]",De="[object Int32Array]",dr="[object Uint8Array]",ur="[object Uint8ClampedArray]",rr="[object Uint16Array]",fr="[object Uint32Array]",tr=/[\\^$.*+?()[\]{}|]/g,pr=/^\[object .+?Constructor\]$/,hr=/^(?:0|[1-9]\d*)$/,q={};q[Se]=q[lr]=q[_e]=q[we]=q[De]=q[dr]=q[ur]=q[rr]=q[fr]=!0,q[u]=q[p]=q[ue]=q[m]=q[ve]=q[g]=q[T]=q[k]=q[S]=q[_]=q[w]=q[B]=q[y]=q[z]=q[ne]=!1;var mr=typeof Wr=="object"&&Wr&&Wr.Object===Object&&Wr,$r=typeof self=="object"&&self&&self.Object===Object&&self,Ce=mr||$r||Function("return this")(),Ge=r&&!r.nodeType&&r,ke=Ge&&!0&&e&&!e.nodeType&&e,Xe=ke&&ke.exports===Ge,Me=Xe&&mr.process,gr=function(){try{var o=ke&&ke.require&&ke.require("util").types;return o||Me&&Me.binding&&Me.binding("util")}catch{}}(),R=gr&&gr.isTypedArray;function nr(o,l,f){switch(f.length){case 0:return o.call(l);case 1:return o.call(l,f[0]);case 2:return o.call(l,f[0],f[1]);case 3:return o.call(l,f[0],f[1],f[2])}return o.apply(l,f)}function Ke(o,l){for(var f=-1,C=Array(o);++f<o;)C[f]=l(f);return C}function We(o){return function(l){return o(l)}}function ar(o,l){return o==null?void 0:o[l]}function at(o,l){return function(f){return o(l(f))}}var ot=Array.prototype,br=Function.prototype,yr=Object.prototype,Br=Ce["__core-js_shared__"],Je=br.toString,Fe=yr.hasOwnProperty,it=function(){var o=/[^.]+$/.exec(Br&&Br.keys&&Br.keys.IE_PROTO||"");return o?"Symbol(src)_1."+o:""}(),Mr=yr.toString,st=Je.call(Object),ct=RegExp("^"+Je.call(Fe).replace(tr,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),vr=Xe?Ce.Buffer:void 0,Fr=Ce.Symbol,jr=Ce.Uint8Array;vr&&vr.allocUnsafe;var lt=at(Object.getPrototypeOf,Object),dt=Object.create,en=yr.propertyIsEnumerable,rn=ot.splice,Ye=Fr?Fr.toStringTag:void 0,Sr=function(){try{var o=dn(Object,"defineProperty");return o({},"",{}),o}catch{}}(),tn=vr?vr.isBuffer:void 0,_r=Math.max,ut=Date.now,Ve=dn(Ce,"Map"),He=dn(Object,"create"),Nr=function(){function o(){}return function(l){if(!or(l))return{};if(dt)return dt(l);o.prototype=l;var f=new o;return o.prototype=void 0,f}}();function je(o){var l=-1,f=o==null?0:o.length;for(this.clear();++l<f;){var C=o[l];this.set(C[0],C[1])}}function nn(){this.__data__=He?He(null):{},this.size=0}function ft(o){var l=this.has(o)&&delete this.__data__[o];return this.size-=l?1:0,l}function an(o){var l=this.__data__;if(He){var f=l[o];return f===n?void 0:f}return Fe.call(l,o)?l[o]:void 0}function pt(o){var l=this.__data__;return He?l[o]!==void 0:Fe.call(l,o)}function ht(o,l){var f=this.__data__;return this.size+=this.has(o)?0:1,f[o]=He&&l===void 0?n:l,this}je.prototype.clear=nn,je.prototype.delete=ft,je.prototype.get=an,je.prototype.has=pt,je.prototype.set=ht;function Ee(o){var l=-1,f=o==null?0:o.length;for(this.clear();++l<f;){var C=o[l];this.set(C[0],C[1])}}function on(){this.__data__=[],this.size=0}function mt(o){var l=this.__data__,f=xe(l,o);if(f<0)return!1;var C=l.length-1;return f==C?l.pop():rn.call(l,f,1),--this.size,!0}function gt(o){var l=this.__data__,f=xe(l,o);return f<0?void 0:l[f][1]}function sn(o){return xe(this.__data__,o)>-1}function cn(o,l){var f=this.__data__,C=xe(f,o);return C<0?(++this.size,f.push([o,l])):f[C][1]=l,this}Ee.prototype.clear=on,Ee.prototype.delete=mt,Ee.prototype.get=gt,Ee.prototype.has=sn,Ee.prototype.set=cn;function Ze(o){var l=-1,f=o==null?0:o.length;for(this.clear();++l<f;){var C=o[l];this.set(C[0],C[1])}}function ln(){this.size=0,this.__data__={hash:new je,map:new(Ve||Ee),string:new je}}function s(o){var l=yt(this,o).delete(o);return this.size-=l?1:0,l}function b(o){return yt(this,o).get(o)}function x(o){return yt(this,o).has(o)}function A(o,l){var f=yt(this,o),C=f.size;return f.set(o,l),this.size+=f.size==C?0:1,this}Ze.prototype.clear=ln,Ze.prototype.delete=s,Ze.prototype.get=b,Ze.prototype.has=x,Ze.prototype.set=A;function F(o){var l=this.__data__=new Ee(o);this.size=l.size}function G(){this.__data__=new Ee,this.size=0}function j(o){var l=this.__data__,f=l.delete(o);return this.size=l.size,f}function M(o){return this.__data__.get(o)}function se(o){return this.__data__.has(o)}function Q(o,l){var f=this.__data__;if(f instanceof Ee){var C=f.__data__;if(!Ve||C.length<t-1)return C.push([o,l]),this.size=++f.size,this;f=this.__data__=new Ze(C)}return f.set(o,l),this.size=f.size,this}F.prototype.clear=G,F.prototype.delete=j,F.prototype.get=M,F.prototype.has=se,F.prototype.set=Q;function ee(o,l){var f=pn(o),C=!f&&fn(o),L=!f&&!C&&Sa(o),X=!f&&!C&&!L&&ka(o),J=f||C||L||X,V=J?Ke(o.length,String):[],Z=V.length;for(var Re in o)J&&(Re=="length"||L&&(Re=="offset"||Re=="parent")||X&&(Re=="buffer"||Re=="byteLength"||Re=="byteOffset")||ya(Re,Z))||V.push(Re);return V}function de(o,l,f){(f!==void 0&&!vt(o[l],f)||f===void 0&&!(l in o))&&ae(o,l,f)}function Qe(o,l,f){var C=o[l];(!(Fe.call(o,l)&&vt(C,f))||f===void 0&&!(l in o))&&ae(o,l,f)}function xe(o,l){for(var f=o.length;f--;)if(vt(o[f][0],l))return f;return-1}function ae(o,l,f){l=="__proto__"&&Sr?Sr(o,l,{configurable:!0,enumerable:!0,value:f,writable:!0}):o[l]=f}var Lr=As();function kr(o){return o==null?o===void 0?I:E:Ye&&Ye in Object(o)?$s(o):Ls(o)}function bt(o){return zr(o)&&kr(o)==u}function Ss(o){if(!or(o)||js(o))return!1;var l=mn(o)?ct:pr;return l.test(Ys(o))}function _s(o){return zr(o)&&_a(o.length)&&!!q[kr(o)]}function ks(o){if(!or(o))return Ns(o);var l=va(o),f=[];for(var C in o)C=="constructor"&&(l||!Fe.call(o,C))||f.push(C);return f}function ba(o,l,f,C,L){o!==l&&Lr(l,function(X,J){if(L||(L=new F),or(X))xs(o,l,J,f,ba,C,L);else{var V=C?C(un(o,J),X,J+"",o,l,L):void 0;V===void 0&&(V=X),de(o,J,V)}},xa)}function xs(o,l,f,C,L,X,J){var V=un(o,f),Z=un(l,f),Re=J.get(Z);if(Re){de(o,f,Re);return}var me=X?X(V,Z,f+"",o,l,J):void 0,Dr=me===void 0;if(Dr){var gn=pn(Z),bn=!gn&&Sa(Z),wa=!gn&&!bn&&ka(Z);me=Z,gn||bn||wa?pn(V)?me=V:Vs(V)?me=Ps(V):bn?(Dr=!1,me=Cs(Z)):wa?(Dr=!1,me=Rs(Z)):me=[]:Hs(Z)||fn(Z)?(me=V,fn(V)?me=Us(V):(!or(V)||mn(V))&&(me=Bs(Z))):Dr=!1}Dr&&(J.set(Z,me),L(me,Z,C,X,J),J.delete(Z)),de(o,f,me)}function Ts(o,l){return Ds(zs(o,l,Ta),o+"")}var ws=Sr?function(o,l){return Sr(o,"toString",{configurable:!0,enumerable:!1,value:Gs(l),writable:!0})}:Ta;function Cs(o,l){return o.slice()}function Es(o){var l=new o.constructor(o.byteLength);return new jr(l).set(new jr(o)),l}function Rs(o,l){var f=Es(o.buffer);return new o.constructor(f,o.byteOffset,o.length)}function Ps(o,l){var f=-1,C=o.length;for(l||(l=Array(C));++f<C;)l[f]=o[f];return l}function Is(o,l,f,C){var L=!f;f||(f={});for(var X=-1,J=l.length;++X<J;){var V=l[X],Z=void 0;Z===void 0&&(Z=o[V]),L?ae(f,V,Z):Qe(f,V,Z)}return f}function Os(o){return Ts(function(l,f){var C=-1,L=f.length,X=L>1?f[L-1]:void 0,J=L>2?f[2]:void 0;for(X=o.length>3&&typeof X=="function"?(L--,X):void 0,J&&Ms(f[0],f[1],J)&&(X=L<3?void 0:X,L=1),l=Object(l);++C<L;){var V=f[C];V&&o(l,V,C,X)}return l})}function As(o){return function(l,f,C){for(var L=-1,X=Object(l),J=C(l),V=J.length;V--;){var Z=J[++L];if(f(X[Z],Z,X)===!1)break}return l}}function yt(o,l){var f=o.__data__;return Fs(l)?f[typeof l=="string"?"string":"hash"]:f.map}function dn(o,l){var f=ar(o,l);return Ss(f)?f:void 0}function $s(o){var l=Fe.call(o,Ye),f=o[Ye];try{o[Ye]=void 0;var C=!0}catch{}var L=Mr.call(o);return C&&(l?o[Ye]=f:delete o[Ye]),L}function Bs(o){return typeof o.constructor=="function"&&!va(o)?Nr(lt(o)):{}}function ya(o,l){var f=typeof o;return l=l??d,!!l&&(f=="number"||f!="symbol"&&hr.test(o))&&o>-1&&o%1==0&&o<l}function Ms(o,l,f){if(!or(f))return!1;var C=typeof l;return(C=="number"?hn(f)&&ya(l,f.length):C=="string"&&l in f)?vt(f[l],o):!1}function Fs(o){var l=typeof o;return l=="string"||l=="number"||l=="symbol"||l=="boolean"?o!=="__proto__":o===null}function js(o){return!!it&&it in o}function va(o){var l=o&&o.constructor,f=typeof l=="function"&&l.prototype||yr;return o===f}function Ns(o){var l=[];if(o!=null)for(var f in Object(o))l.push(f);return l}function Ls(o){return Mr.call(o)}function zs(o,l,f){return l=_r(l===void 0?o.length-1:l,0),function(){for(var C=arguments,L=-1,X=_r(C.length-l,0),J=Array(X);++L<X;)J[L]=C[l+L];L=-1;for(var V=Array(l+1);++L<l;)V[L]=C[L];return V[l]=f(J),nr(o,this,V)}}function un(o,l){if(!(l==="constructor"&&typeof o[l]=="function")&&l!="__proto__")return o[l]}var Ds=Ws(ws);function Ws(o){var l=0,f=0;return function(){var C=ut(),L=i-(C-f);if(f=C,L>0){if(++l>=a)return arguments[0]}else l=0;return o.apply(void 0,arguments)}}function Ys(o){if(o!=null){try{return Je.call(o)}catch{}try{return o+""}catch{}}return""}function vt(o,l){return o===l||o!==o&&l!==l}var fn=bt(function(){return arguments}())?bt:function(o){return zr(o)&&Fe.call(o,"callee")&&!en.call(o,"callee")},pn=Array.isArray;function hn(o){return o!=null&&_a(o.length)&&!mn(o)}function Vs(o){return zr(o)&&hn(o)}var Sa=tn||Xs;function mn(o){if(!or(o))return!1;var l=kr(o);return l==k||l==v||l==h||l==O}function _a(o){return typeof o=="number"&&o>-1&&o%1==0&&o<=d}function or(o){var l=typeof o;return o!=null&&(l=="object"||l=="function")}function zr(o){return o!=null&&typeof o=="object"}function Hs(o){if(!zr(o)||kr(o)!=w)return!1;var l=lt(o);if(l===null)return!0;var f=Fe.call(l,"constructor")&&l.constructor;return typeof f=="function"&&f instanceof f&&Je.call(f)==st}var ka=R?We(R):_s;function Us(o){return Is(o,xa(o))}function xa(o){return hn(o)?ee(o):ks(o)}var qs=Os(function(o,l,f,C){ba(o,l,f,C)});function Gs(o){return function(){return o}}function Ta(o){return o}function Xs(){return!1}e.exports=qs}(Yr,Yr.exports);var Wa=Yr.exports;const Ne=yn(Wa);function Ya(e,r){if(e!=null){if(typeof e=="function"){e(r);return}try{e.current=r}catch{throw new Error(`Cannot assign value '${r}' to ref '${e}'`)}}}function Ct(...e){return r=>{e.forEach(t=>{Ya(t,r)})}}function Va(...e){return $.useMemo(()=>Ct(...e),e)}const te={open:(e,r)=>`${e}[data-open], ${e}[open], ${e}[data-state=open] ${r}`,closed:(e,r)=>`${e}[data-closed], ${e}[data-state=closed] ${r}`,hover:(e,r)=>`${e}:hover ${r}, ${e}[data-hover] ${r}`,focus:(e,r)=>`${e}:focus ${r}, ${e}[data-focus] ${r}`,focusVisible:(e,r)=>`${e}:focus-visible ${r}`,focusWithin:(e,r)=>`${e}:focus-within ${r}`,active:(e,r)=>`${e}:active ${r}, ${e}[data-active] ${r}`,disabled:(e,r)=>`${e}:disabled ${r}, ${e}[data-disabled] ${r}`,invalid:(e,r)=>`${e}:invalid ${r}, ${e}[data-invalid] ${r}`,checked:(e,r)=>`${e}:checked ${r}, ${e}[data-checked] ${r}`,indeterminate:(e,r)=>`${e}:indeterminate ${r}, ${e}[aria-checked=mixed] ${r}, ${e}[data-indeterminate] ${r}`,readOnly:(e,r)=>`${e}:read-only ${r}, ${e}[readonly] ${r}, ${e}[data-read-only] ${r}`,expanded:(e,r)=>`${e}:read-only ${r}, ${e}[aria-expanded=true] ${r}, ${e}[data-expanded] ${r}`,placeholderShown:(e,r)=>`${e}:placeholder-shown ${r}`},Ie=e=>Tn(r=>e(r,"&"),"[role=group]","[data-group]",".group"),Le=e=>Tn(r=>e(r,"~ &"),"[data-peer]",".peer"),Tn=(e,...r)=>r.map(e).join(", "),Et={_hover:"&:hover, &[data-hover]",_active:"&:active, &[data-active]",_focus:"&:focus, &[data-focus]",_highlighted:"&[data-highlighted]",_focusWithin:"&:focus-within, &[data-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, &[data-empty]",_expanded:"&[aria-expanded=true], &[data-expanded], &[data-state=expanded]",_checked:"&[aria-checked=true], &[data-checked], &[data-state=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], &[data-state=indeterminate]",_groupOpen:Ie(te.open),_groupClosed:Ie(te.closed),_groupHover:Ie(te.hover),_peerHover:Le(te.hover),_groupFocus:Ie(te.focus),_peerFocus:Le(te.focus),_groupFocusVisible:Ie(te.focusVisible),_peerFocusVisible:Le(te.focusVisible),_groupActive:Ie(te.active),_peerActive:Le(te.active),_groupDisabled:Ie(te.disabled),_peerDisabled:Le(te.disabled),_groupInvalid:Ie(te.invalid),_peerInvalid:Le(te.invalid),_groupChecked:Ie(te.checked),_peerChecked:Le(te.checked),_groupFocusWithin:Ie(te.focusWithin),_peerFocusWithin:Le(te.focusWithin),_peerPlaceholderShown:Le(te.placeholderShown),_placeholder:"&::placeholder, &[data-placeholder]",_placeholderShown:"&:placeholder-shown, &[data-placeholder-shown]",_fullScreen:"&:fullscreen, &[data-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]",_open:"&[data-open], &[open], &[data-state=open]",_closed:"&[data-closed], &[data-state=closed]",_complete:"&[data-complete]",_incomplete:"&[data-incomplete]",_current:"&[data-current]"},Ha=Object.keys(Et),Ua=e=>/!(important)?$/.test(e),wn=e=>typeof e=="string"?e.replace(/!(important)?$/,"").trim():e,qa=(e,r)=>t=>{const n=String(r),a=Ua(n),i=wn(n),d=e?`${e}.${i}`:i;let u=er(t.__cssMap)&&d in t.__cssMap?t.__cssMap[d].varRef:r;return u=wn(u),a?`${u} !important`:u};function Rt(e){const{scale:r,transform:t,compose:n}=e;return(i,d)=>{const u=qa(r,i)(d);let p=(t==null?void 0:t(u,d))??u;return n&&(p=n(p,d)),p}}const Vr=(...e)=>r=>e.reduce((t,n)=>n(t),r);function ge(e,r){return t=>{const n={property:t,scale:e};return n.transform=Rt({scale:e,transform:r}),n}}const Ga=({rtl:e,ltr:r})=>t=>t.direction==="rtl"?e:r;function Xa(e){const{property:r,scale:t,transform:n}=e;return{scale:t,property:Ga(r),transform:t?Rt({scale:t,compose:n}):n}}const Cn=["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 Ka(){return["translateX(var(--chakra-translate-x, 0))","translateY(var(--chakra-translate-y, 0))",...Cn].join(" ")}function Ja(){return["translate3d(var(--chakra-translate-x, 0), var(--chakra-translate-y, 0), 0)",...Cn].join(" ")}const Za={"--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(" ")},Qa={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 eo(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(", ")}}const ro={"row-reverse":{space:"--chakra-space-x-reverse",divide:"--chakra-divide-x-reverse"},"column-reverse":{space:"--chakra-space-y-reverse",divide:"--chakra-divide-y-reverse"}},Pt={"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"},to=new Set(Object.values(Pt)),It=new Set(["none","-moz-initial","inherit","initial","revert","unset"]),no=e=>e.trim();function ao(e,r){if(e==null||It.has(e))return e;if(!(Ot(e)||It.has(e)))return`url('${e}')`;const a=/(^[a-z-A-Z]+)\((.*)\)/g.exec(e),i=a==null?void 0:a[1],d=a==null?void 0:a[2];if(!i||!d)return e;const u=i.includes("-gradient")?i:`${i}-gradient`,[p,...h]=d.split(",").map(no).filter(Boolean);if((h==null?void 0:h.length)===0)return e;const m=p in Pt?Pt[p]:p;h.unshift(m);const g=h.map(T=>{if(to.has(T))return T;const k=T.indexOf(" "),[v,S]=k!==-1?[T.substr(0,k),T.substr(k+1)]:[T],_=Ot(S)?S:S&&S.split(" "),E=`colors.${v}`,w=E in r.__cssMap?r.__cssMap[E].varRef:v;return _?[w,...Array.isArray(_)?_:[_]].join(" "):w});return`${u}(${g.join(", ")})`}const Ot=e=>typeof e=="string"&&e.includes("(")&&e.includes(")"),oo=(e,r)=>ao(e,r??{});function io(e){return/^var\(--.+\)$/.test(e)}const so=e=>{const r=parseFloat(e.toString()),t=e.toString().replace(String(r),"");return{unitless:!t,value:r,unit:t}},Oe=e=>r=>`${e}(${r})`,N={filter(e){return e!=="auto"?e:Za},backdropFilter(e){return e!=="auto"?e:Qa},ring(e){return eo(N.px(e))},bgClip(e){return e==="text"?{color:"transparent",backgroundClip:"text"}:{backgroundClip:e}},transform(e){return e==="auto"?Ka():e==="auto-gpu"?Ja():e},vh(e){return e==="$100vh"?"var(--chakra-vh)":e},px(e){if(e==null)return e;const{unitless:r}=so(e);return r||typeof e=="number"?`${e}px`:e},fraction(e){return typeof e!="number"||e>1?e:`${e*100}%`},float(e,r){const t={left:"right",right:"left"};return r.direction==="rtl"?t[e]:e},degree(e){if(io(e)||e==null)return e;const r=typeof e=="string"&&!e.endsWith("deg");return typeof e=="number"||r?`${e}deg`:e},gradient:oo,blur:Oe("blur"),opacity:Oe("opacity"),brightness:Oe("brightness"),contrast:Oe("contrast"),dropShadow:Oe("drop-shadow"),grayscale:Oe("grayscale"),hueRotate:e=>Oe("hue-rotate")(N.degree(e)),invert:Oe("invert"),saturate:Oe("saturate"),sepia:Oe("sepia"),bgImage(e){return e==null||Ot(e)||It.has(e)?e:`url(${e})`},outline(e){const r=String(e)==="0"||String(e)==="none";return e!==null&&r?{outline:"2px solid transparent",outlineOffset:"2px"}:{outline:e}},flexDirection(e){const{space:r,divide:t}=ro[e]??{},n={flexDirection:e};return r&&(n[r]=1),t&&(n[t]=1),n}},c={borderWidths:ge("borderWidths"),borderStyles:ge("borderStyles"),colors:ge("colors"),borders:ge("borders"),gradients:ge("gradients",N.gradient),radii:ge("radii",N.px),space:ge("space",Vr(N.vh,N.px)),spaceT:ge("space",Vr(N.vh,N.px)),degreeT(e){return{property:e,transform:N.degree}},prop(e,r,t){return{property:e,scale:r,...r&&{transform:Rt({scale:r,transform:t})}}},propT(e,r){return{property:e,transform:r}},sizes:ge("sizes",Vr(N.vh,N.px)),sizesT:ge("sizes",Vr(N.vh,N.fraction)),shadows:ge("shadows"),logical:Xa,blur:ge("blur",N.blur)},Hr={background:c.colors("background"),backgroundColor:c.colors("backgroundColor"),backgroundImage:c.gradients("backgroundImage"),backgroundSize:!0,backgroundPosition:!0,backgroundRepeat:!0,backgroundAttachment:!0,backgroundClip:{transform:N.bgClip},bgSize:c.prop("backgroundSize"),bgPosition:c.prop("backgroundPosition"),bg:c.colors("background"),bgColor:c.colors("backgroundColor"),bgPos:c.prop("backgroundPosition"),bgRepeat:c.prop("backgroundRepeat"),bgAttachment:c.prop("backgroundAttachment"),bgGradient:c.gradients("backgroundImage"),bgClip:{transform:N.bgClip}};Object.assign(Hr,{bgImage:Hr.backgroundImage,bgImg:Hr.backgroundImage});const D={border:c.borders("border"),borderWidth:c.borderWidths("borderWidth"),borderStyle:c.borderStyles("borderStyle"),borderColor:c.colors("borderColor"),borderRadius:c.radii("borderRadius"),borderTop:c.borders("borderTop"),borderBlockStart:c.borders("borderBlockStart"),borderTopLeftRadius:c.radii("borderTopLeftRadius"),borderStartStartRadius:c.logical({scale:"radii",property:{ltr:"borderTopLeftRadius",rtl:"borderTopRightRadius"}}),borderEndStartRadius:c.logical({scale:"radii",property:{ltr:"borderBottomLeftRadius",rtl:"borderBottomRightRadius"}}),borderTopRightRadius:c.radii("borderTopRightRadius"),borderStartEndRadius:c.logical({scale:"radii",property:{ltr:"borderTopRightRadius",rtl:"borderTopLeftRadius"}}),borderEndEndRadius:c.logical({scale:"radii",property:{ltr:"borderBottomRightRadius",rtl:"borderBottomLeftRadius"}}),borderRight:c.borders("borderRight"),borderInlineEnd:c.borders("borderInlineEnd"),borderBottom:c.borders("borderBottom"),borderBlockEnd:c.borders("borderBlockEnd"),borderBottomLeftRadius:c.radii("borderBottomLeftRadius"),borderBottomRightRadius:c.radii("borderBottomRightRadius"),borderLeft:c.borders("borderLeft"),borderInlineStart:{property:"borderInlineStart",scale:"borders"},borderInlineStartRadius:c.logical({scale:"radii",property:{ltr:["borderTopLeftRadius","borderBottomLeftRadius"],rtl:["borderTopRightRadius","borderBottomRightRadius"]}}),borderInlineEndRadius:c.logical({scale:"radii",property:{ltr:["borderTopRightRadius","borderBottomRightRadius"],rtl:["borderTopLeftRadius","borderBottomLeftRadius"]}}),borderX:c.borders(["borderLeft","borderRight"]),borderInline:c.borders("borderInline"),borderY:c.borders(["borderTop","borderBottom"]),borderBlock:c.borders("borderBlock"),borderTopWidth:c.borderWidths("borderTopWidth"),borderBlockStartWidth:c.borderWidths("borderBlockStartWidth"),borderTopColor:c.colors("borderTopColor"),borderBlockStartColor:c.colors("borderBlockStartColor"),borderTopStyle:c.borderStyles("borderTopStyle"),borderBlockStartStyle:c.borderStyles("borderBlockStartStyle"),borderBottomWidth:c.borderWidths("borderBottomWidth"),borderBlockEndWidth:c.borderWidths("borderBlockEndWidth"),borderBottomColor:c.colors("borderBottomColor"),borderBlockEndColor:c.colors("borderBlockEndColor"),borderBottomStyle:c.borderStyles("borderBottomStyle"),borderBlockEndStyle:c.borderStyles("borderBlockEndStyle"),borderLeftWidth:c.borderWidths("borderLeftWidth"),borderInlineStartWidth:c.borderWidths("borderInlineStartWidth"),borderLeftColor:c.colors("borderLeftColor"),borderInlineStartColor:c.colors("borderInlineStartColor"),borderLeftStyle:c.borderStyles("borderLeftStyle"),borderInlineStartStyle:c.borderStyles("borderInlineStartStyle"),borderRightWidth:c.borderWidths("borderRightWidth"),borderInlineEndWidth:c.borderWidths("borderInlineEndWidth"),borderRightColor:c.colors("borderRightColor"),borderInlineEndColor:c.colors("borderInlineEndColor"),borderRightStyle:c.borderStyles("borderRightStyle"),borderInlineEndStyle:c.borderStyles("borderInlineEndStyle"),borderTopRadius:c.radii(["borderTopLeftRadius","borderTopRightRadius"]),borderBottomRadius:c.radii(["borderBottomLeftRadius","borderBottomRightRadius"]),borderLeftRadius:c.radii(["borderTopLeftRadius","borderBottomLeftRadius"]),borderRightRadius:c.radii(["borderTopRightRadius","borderBottomRightRadius"])};Object.assign(D,{rounded:D.borderRadius,roundedTop:D.borderTopRadius,roundedTopLeft:D.borderTopLeftRadius,roundedTopRight:D.borderTopRightRadius,roundedTopStart:D.borderStartStartRadius,roundedTopEnd:D.borderStartEndRadius,roundedBottom:D.borderBottomRadius,roundedBottomLeft:D.borderBottomLeftRadius,roundedBottomRight:D.borderBottomRightRadius,roundedBottomStart:D.borderEndStartRadius,roundedBottomEnd:D.borderEndEndRadius,roundedLeft:D.borderLeftRadius,roundedRight:D.borderRightRadius,roundedStart:D.borderInlineStartRadius,roundedEnd:D.borderInlineEndRadius,borderStart:D.borderInlineStart,borderEnd:D.borderInlineEnd,borderTopStartRadius:D.borderStartStartRadius,borderTopEndRadius:D.borderStartEndRadius,borderBottomStartRadius:D.borderEndStartRadius,borderBottomEndRadius:D.borderEndEndRadius,borderStartRadius:D.borderInlineStartRadius,borderEndRadius:D.borderInlineEndRadius,borderStartWidth:D.borderInlineStartWidth,borderEndWidth:D.borderInlineEndWidth,borderStartColor:D.borderInlineStartColor,borderEndColor:D.borderInlineEndColor,borderStartStyle:D.borderInlineStartStyle,borderEndStyle:D.borderInlineEndStyle});const co={color:c.colors("color"),textColor:c.colors("color"),fill:c.colors("fill"),stroke:c.colors("stroke"),accentColor:c.colors("accentColor"),textFillColor:c.colors("textFillColor")},Ur={alignItems:!0,alignContent:!0,justifyItems:!0,justifyContent:!0,flexWrap:!0,flexDirection:{transform:N.flexDirection},flex:!0,flexFlow:!0,flexGrow:!0,flexShrink:!0,flexBasis:c.sizes("flexBasis"),justifySelf:!0,alignSelf:!0,order:!0,placeItems:!0,placeContent:!0,placeSelf:!0,gap:c.space("gap"),rowGap:c.space("rowGap"),columnGap:c.space("columnGap")};Object.assign(Ur,{flexDir:Ur.flexDirection});const be={width:c.sizesT("width"),inlineSize:c.sizesT("inlineSize"),height:c.sizes("height"),blockSize:c.sizes("blockSize"),boxSize:c.sizes(["width","height"]),minWidth:c.sizes("minWidth"),minInlineSize:c.sizes("minInlineSize"),minHeight:c.sizes("minHeight"),minBlockSize:c.sizes("minBlockSize"),maxWidth:c.sizes("maxWidth"),maxInlineSize:c.sizes("maxInlineSize"),maxHeight:c.sizes("maxHeight"),maxBlockSize:c.sizes("maxBlockSize"),overflow:!0,overflowX:!0,overflowY:!0,overscrollBehavior:!0,overscrollBehaviorX:!0,overscrollBehaviorY:!0,display:!0,aspectRatio:!0,hideFrom:{scale:"breakpoints",transform:(e,r)=>{var a,i;return{[`@media screen and (min-width: ${((i=(a=r.__breakpoints)==null?void 0:a.get(e))==null?void 0:i.minW)??e})`]:{display:"none"}}}},hideBelow:{scale:"breakpoints",transform:(e,r)=>{var a,i;return{[`@media screen and (max-width: ${((i=(a=r.__breakpoints)==null?void 0:a.get(e))==null?void 0:i._minW)??e})`]:{display:"none"}}}},verticalAlign:!0,boxSizing:!0,boxDecorationBreak:!0,float:c.propT("float",N.float),objectFit:!0,objectPosition:!0,visibility:!0,isolation:!0};Object.assign(be,{w:be.width,h:be.height,minW:be.minWidth,maxW:be.maxWidth,minH:be.minHeight,maxH:be.maxHeight,overscroll:be.overscrollBehavior,overscrollX:be.overscrollBehaviorX,overscrollY:be.overscrollBehaviorY});const lo={filter:{transform:N.filter},blur:c.blur("--chakra-blur"),brightness:c.propT("--chakra-brightness",N.brightness),contrast:c.propT("--chakra-contrast",N.contrast),hueRotate:c.propT("--chakra-hue-rotate",N.hueRotate),invert:c.propT("--chakra-invert",N.invert),saturate:c.propT("--chakra-saturate",N.saturate),dropShadow:c.propT("--chakra-drop-shadow",N.dropShadow),backdropFilter:{transform:N.backdropFilter},backdropBlur:c.blur("--chakra-backdrop-blur"),backdropBrightness:c.propT("--chakra-backdrop-brightness",N.brightness),backdropContrast:c.propT("--chakra-backdrop-contrast",N.contrast),backdropHueRotate:c.propT("--chakra-backdrop-hue-rotate",N.hueRotate),backdropInvert:c.propT("--chakra-backdrop-invert",N.invert),backdropSaturate:c.propT("--chakra-backdrop-saturate",N.saturate)},uo={ring:{transform:N.ring},ringColor:c.colors("--chakra-ring-color"),ringOffset:c.prop("--chakra-ring-offset-width"),ringOffsetColor:c.colors("--chakra-ring-offset-color"),ringInset:c.prop("--chakra-ring-inset")},fo={appearance:!0,cursor:!0,resize:!0,userSelect:!0,pointerEvents:!0,outline:{transform:N.outline},outlineOffset:!0,outlineColor:c.colors("outlineColor")},En={gridGap:c.space("gridGap"),gridColumnGap:c.space("gridColumnGap"),gridRowGap:c.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};function po(e,r,t,n){const a=typeof r=="string"?r.split("."):[r];for(n=0;n<a.length&&e;n+=1)e=e[a[n]];return e===void 0?t:e}const ho=(e=>{const r=new WeakMap;return(n,a,i,d)=>{if(typeof n>"u")return e(n,a,i);r.has(n)||r.set(n,new Map);const u=r.get(n);if(u.has(a))return u.get(a);const p=e(n,a,i,d);return u.set(a,p),p}})(po),mo={border:"0px",clip:"rect(0, 0, 0, 0)",width:"1px",height:"1px",margin:"-1px",padding:"0px",overflow:"hidden",whiteSpace:"nowrap",position:"absolute"},go={position:"static",width:"auto",height:"auto",clip:"auto",padding:"0",margin:"0",overflow:"visible",whiteSpace:"normal"},At=(e,r,t)=>{const n={},a=ho(e,r,{});for(const i in a)i in t&&t[i]!=null||(n[i]=a[i]);return n},bo={srOnly:{transform(e){return e===!0?mo:e==="focusable"?go:{}}},layerStyle:{processResult:!0,transform:(e,r,t)=>At(r,`layerStyles.${e}`,t)},textStyle:{processResult:!0,transform:(e,r,t)=>At(r,`textStyles.${e}`,t)},apply:{processResult:!0,transform:(e,r,t)=>At(r,e,t)}},wr={position:!0,pos:c.prop("position"),zIndex:c.prop("zIndex","zIndices"),inset:c.spaceT("inset"),insetX:c.spaceT(["left","right"]),insetInline:c.spaceT("insetInline"),insetY:c.spaceT(["top","bottom"]),insetBlock:c.spaceT("insetBlock"),top:c.spaceT("top"),insetBlockStart:c.spaceT("insetBlockStart"),bottom:c.spaceT("bottom"),insetBlockEnd:c.spaceT("insetBlockEnd"),left:c.spaceT("left"),insetInlineStart:c.logical({scale:"space",property:{ltr:"left",rtl:"right"}}),right:c.spaceT("right"),insetInlineEnd:c.logical({scale:"space",property:{ltr:"right",rtl:"left"}})};Object.assign(wr,{insetStart:wr.insetInlineStart,insetEnd:wr.insetInlineEnd});const $t={boxShadow:c.shadows("boxShadow"),mixBlendMode:!0,blendMode:c.prop("mixBlendMode"),backgroundBlendMode:!0,bgBlendMode:c.prop("backgroundBlendMode"),opacity:!0};Object.assign($t,{shadow:$t.boxShadow});const K={margin:c.spaceT("margin"),marginTop:c.spaceT("marginTop"),marginBlockStart:c.spaceT("marginBlockStart"),marginRight:c.spaceT("marginRight"),marginInlineEnd:c.spaceT("marginInlineEnd"),marginBottom:c.spaceT("marginBottom"),marginBlockEnd:c.spaceT("marginBlockEnd"),marginLeft:c.spaceT("marginLeft"),marginInlineStart:c.spaceT("marginInlineStart"),marginX:c.spaceT(["marginInlineStart","marginInlineEnd"]),marginInline:c.spaceT("marginInline"),marginY:c.spaceT(["marginTop","marginBottom"]),marginBlock:c.spaceT("marginBlock"),padding:c.space("padding"),paddingTop:c.space("paddingTop"),paddingBlockStart:c.space("paddingBlockStart"),paddingRight:c.space("paddingRight"),paddingBottom:c.space("paddingBottom"),paddingBlockEnd:c.space("paddingBlockEnd"),paddingLeft:c.space("paddingLeft"),paddingInlineStart:c.space("paddingInlineStart"),paddingInlineEnd:c.space("paddingInlineEnd"),paddingX:c.space(["paddingInlineStart","paddingInlineEnd"]),paddingInline:c.space("paddingInline"),paddingY:c.space(["paddingTop","paddingBottom"]),paddingBlock:c.space("paddingBlock")};Object.assign(K,{m:K.margin,mt:K.marginTop,mr:K.marginRight,me:K.marginInlineEnd,marginEnd:K.marginInlineEnd,mb:K.marginBottom,ml:K.marginLeft,ms:K.marginInlineStart,marginStart:K.marginInlineStart,mx:K.marginX,my:K.marginY,p:K.padding,pt:K.paddingTop,py:K.paddingY,px:K.paddingX,pb:K.paddingBottom,pl:K.paddingLeft,ps:K.paddingInlineStart,paddingStart:K.paddingInlineStart,pr:K.paddingRight,pe:K.paddingInlineEnd,paddingEnd:K.paddingInlineEnd});const yo={scrollBehavior:!0,scrollSnapAlign:!0,scrollSnapStop:!0,scrollSnapType:!0,scrollMargin:c.spaceT("scrollMargin"),scrollMarginTop:c.spaceT("scrollMarginTop"),scrollMarginBottom:c.spaceT("scrollMarginBottom"),scrollMarginLeft:c.spaceT("scrollMarginLeft"),scrollMarginRight:c.spaceT("scrollMarginRight"),scrollMarginX:c.spaceT(["scrollMarginLeft","scrollMarginRight"]),scrollMarginY:c.spaceT(["scrollMarginTop","scrollMarginBottom"]),scrollPadding:c.spaceT("scrollPadding"),scrollPaddingTop:c.spaceT("scrollPaddingTop"),scrollPaddingBottom:c.spaceT("scrollPaddingBottom"),scrollPaddingLeft:c.spaceT(