antd-date-picker-nepali
Version:
This is a antd component for nepali datepicker.
19 lines • 380 kB
JavaScript
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("react"),require("antd"),require("classnames"),require("react-dom"),require("dayjs")):"function"==typeof define&&define.amd?define(["exports","react","antd","classnames","react-dom","dayjs"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self)["antd-date-picker-nepali"]={},e.React,e.antd,e.classNames,e.ReactDOM,e.dayjs)}(this,(function(e,t,n,r,o,a){"use strict";function i(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e)for(const n in e)if("default"!==n){const r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:()=>e[n]})}return t.default=e,Object.freeze(t)}const l=i(t),c=i(o);"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self&&self;function s(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var u,d={exports:{}},f={};var p,h={};
/**
* @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.
*/"production"===process.env.NODE_ENV?d.exports=function(){if(u)return f;u=1;var e=t,n=Symbol.for("react.element"),r=Symbol.for("react.fragment"),o=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 l(e,t,r){var l,c={},s=null,u=null;for(l in void 0!==r&&(s=""+r),void 0!==t.key&&(s=""+t.key),void 0!==t.ref&&(u=t.ref),t)o.call(t,l)&&!i.hasOwnProperty(l)&&(c[l]=t[l]);if(e&&e.defaultProps)for(l in t=e.defaultProps)void 0===c[l]&&(c[l]=t[l]);return{$$typeof:n,type:e,key:s,ref:u,props:c,_owner:a.current}}return f.Fragment=r,f.jsx=l,f.jsxs=l,f}():d.exports=(p||(p=1,"production"!==process.env.NODE_ENV&&function(){var e,n=t,r=Symbol.for("react.element"),o=Symbol.for("react.portal"),a=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),l=Symbol.for("react.profiler"),c=Symbol.for("react.provider"),s=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),f=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),g=Symbol.for("react.offscreen"),v=Symbol.iterator,y=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function b(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];!function(e,t,n){var r=y.ReactDebugCurrentFrame.getStackAddendum();""!==r&&(t+="%s",n=n.concat([r]));var o=n.map((function(e){return String(e)}));o.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,o)}("error",e,n)}function w(e){return e.displayName||"Context"}function x(e){if(null==e)return null;if("number"==typeof e.tag&&b("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),"function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case a:return"Fragment";case o:return"Portal";case l:return"Profiler";case i:return"StrictMode";case d:return"Suspense";case f:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case s:return w(e)+".Consumer";case c:return w(e._context)+".Provider";case u:return function(e,t,n){var r=e.displayName;if(r)return r;var o=t.displayName||t.name||"";return""!==o?n+"("+o+")":n}(e,e.render,"ForwardRef");case p:var t=e.displayName||null;return null!==t?t:x(e.type)||"Memo";case m:var n=e,r=n._payload,h=n._init;try{return x(h(r))}catch(g){return null}}return null}e=Symbol.for("react.module.reference");var C,E,k,S,$,O,M,P=Object.assign,N=0;function I(){}I.__reactDisabledLog=!0;var F,R=y.ReactCurrentDispatcher;function j(e,t,n){if(void 0===F)try{throw Error()}catch(o){var r=o.stack.trim().match(/\n( *(at )?)/);F=r&&r[1]||""}return"\n"+F+e}var D,A=!1,T="function"==typeof WeakMap?WeakMap:Map;function H(e,t){if(!e||A)return"";var n,r=D.get(e);if(void 0!==r)return r;A=!0;var o,a=Error.prepareStackTrace;Error.prepareStackTrace=void 0,o=R.current,R.current=null,function(){if(0===N){C=console.log,E=console.info,k=console.warn,S=console.error,$=console.group,O=console.groupCollapsed,M=console.groupEnd;var e={configurable:!0,enumerable:!0,value:I,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}N++}();try{if(t){var i=function(){throw Error()};if(Object.defineProperty(i.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(i,[])}catch(h){n=h}Reflect.construct(e,[],i)}else{try{i.call()}catch(h){n=h}e.call(i.prototype)}}else{try{throw Error()}catch(h){n=h}e()}}catch(m){if(m&&n&&"string"==typeof m.stack){for(var l=m.stack.split("\n"),c=n.stack.split("\n"),s=l.length-1,u=c.length-1;s>=1&&u>=0&&l[s]!==c[u];)u--;for(;s>=1&&u>=0;s--,u--)if(l[s]!==c[u]){if(1!==s||1!==u)do{if(s--,--u<0||l[s]!==c[u]){var d="\n"+l[s].replace(" at new "," at ");return e.displayName&&d.includes("<anonymous>")&&(d=d.replace("<anonymous>",e.displayName)),"function"==typeof e&&D.set(e,d),d}}while(s>=1&&u>=0);break}}}finally{A=!1,R.current=o,function(){if(0==--N){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:P({},e,{value:C}),info:P({},e,{value:E}),warn:P({},e,{value:k}),error:P({},e,{value:S}),group:P({},e,{value:$}),groupCollapsed:P({},e,{value:O}),groupEnd:P({},e,{value:M})})}N<0&&b("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}(),Error.prepareStackTrace=a}var f=e?e.displayName||e.name:"",p=f?j(f):"";return"function"==typeof e&&D.set(e,p),p}function _(e,t,n){if(null==e)return"";if("function"==typeof e)return H(e,!(!(r=e.prototype)||!r.isReactComponent));var r;if("string"==typeof e)return j(e);switch(e){case d:return j("Suspense");case f:return j("SuspenseList")}if("object"==typeof e)switch(e.$$typeof){case u:return H(e.render,!1);case p:return _(e.type,t,n);case m:var o=e,a=o._payload,i=o._init;try{return _(i(a),t,n)}catch(l){}}return""}D=new T;var V=Object.prototype.hasOwnProperty,L={},B=y.ReactDebugCurrentFrame;function z(e){if(e){var t=e._owner,n=_(e.type,e._source,t?t.type:null);B.setExtraStackFrame(n)}else B.setExtraStackFrame(null)}var W=Array.isArray;function q(e){return W(e)}function Y(e){return""+e}function X(e){if(function(e){try{return Y(e),!1}catch(Qp){return!0}}(e))return b("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",function(e){return"function"==typeof Symbol&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object"}(e)),Y(e)}var G,U,K,Q=y.ReactCurrentOwner,J={key:!0,ref:!0,__self:!0,__source:!0};function Z(e,t,n,o,a){var i,l={},c=null,s=null;for(i in void 0!==n&&(X(n),c=""+n),function(e){if(V.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return void 0!==e.key}(t)&&(X(t.key),c=""+t.key),function(e){if(V.call(e,"ref")){var t=Object.getOwnPropertyDescriptor(e,"ref").get;if(t&&t.isReactWarning)return!1}return void 0!==e.ref}(t)&&(s=t.ref,function(e,t){if("string"==typeof e.ref&&Q.current&&t&&Q.current.stateNode!==t){var n=x(Q.current.type);K[n]||(b('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',x(Q.current.type),e.ref),K[n]=!0)}}(t,a)),t)V.call(t,i)&&!J.hasOwnProperty(i)&&(l[i]=t[i]);if(e&&e.defaultProps){var u=e.defaultProps;for(i in u)void 0===l[i]&&(l[i]=u[i])}if(c||s){var d="function"==typeof e?e.displayName||e.name||"Unknown":e;c&&function(e,t){var n=function(){G||(G=!0,b("%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)",t))};n.isReactWarning=!0,Object.defineProperty(e,"key",{get:n,configurable:!0})}(l,d),s&&function(e,t){var n=function(){U||(U=!0,b("%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)",t))};n.isReactWarning=!0,Object.defineProperty(e,"ref",{get:n,configurable:!0})}(l,d)}return function(e,t,n,o,a,i,l){var c={$$typeof:r,type:e,key:t,ref:n,props:l,_owner:i,_store:{}};return Object.defineProperty(c._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(c,"_self",{configurable:!1,enumerable:!1,writable:!1,value:o}),Object.defineProperty(c,"_source",{configurable:!1,enumerable:!1,writable:!1,value:a}),Object.freeze&&(Object.freeze(c.props),Object.freeze(c)),c}(e,c,s,a,o,Q.current,l)}K={};var ee,te=y.ReactCurrentOwner,ne=y.ReactDebugCurrentFrame;function re(e){if(e){var t=e._owner,n=_(e.type,e._source,t?t.type:null);ne.setExtraStackFrame(n)}else ne.setExtraStackFrame(null)}function oe(e){return"object"==typeof e&&null!==e&&e.$$typeof===r}function ae(){if(te.current){var e=x(te.current.type);if(e)return"\n\nCheck the render method of `"+e+"`."}return""}ee=!1;var ie={};function le(e,t){if(e._store&&!e._store.validated&&null==e.key){e._store.validated=!0;var n=function(e){var t=ae();if(!t){var n="string"==typeof e?e:e.displayName||e.name;n&&(t="\n\nCheck the top-level render call using <"+n+">.")}return t}(t);if(!ie[n]){ie[n]=!0;var r="";e&&e._owner&&e._owner!==te.current&&(r=" It was passed a child from "+x(e._owner.type)+"."),re(e),b('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',n,r),re(null)}}}function ce(e,t){if("object"==typeof e)if(q(e))for(var n=0;n<e.length;n++){var r=e[n];oe(r)&&le(r,t)}else if(oe(e))e._store&&(e._store.validated=!0);else if(e){var o=function(e){if(null===e||"object"!=typeof e)return null;var t=v&&e[v]||e["@@iterator"];return"function"==typeof t?t:null}(e);if("function"==typeof o&&o!==e.entries)for(var a,i=o.call(e);!(a=i.next()).done;)oe(a.value)&&le(a.value,t)}}function se(e){var t,n=e.type;if(null!=n&&"string"!=typeof n){if("function"==typeof n)t=n.propTypes;else{if("object"!=typeof n||n.$$typeof!==u&&n.$$typeof!==p)return;t=n.propTypes}if(t){var r=x(n);!function(e,t,n,r,o){var a=Function.call.bind(V);for(var i in e)if(a(e,i)){var l=void 0;try{if("function"!=typeof e[i]){var c=Error((r||"React class")+": "+n+" type `"+i+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[i]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw c.name="Invariant Violation",c}l=e[i](t,i,r,n,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(s){l=s}!l||l instanceof Error||(z(o),b("%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).",r||"React class",n,i,typeof l),z(null)),l instanceof Error&&!(l.message in L)&&(L[l.message]=!0,z(o),b("Failed %s type: %s",n,l.message),z(null))}}(t,e.props,"prop",r,e)}else void 0===n.PropTypes||ee||(ee=!0,b("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",x(n)||"Unknown"));"function"!=typeof n.getDefaultProps||n.getDefaultProps.isReactClassApproved||b("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}var ue={};function de(t,n,o,h,v,y){var w=function(t){return"string"==typeof t||"function"==typeof t||t===a||t===l||t===i||t===d||t===f||t===g||"object"==typeof t&&null!==t&&(t.$$typeof===m||t.$$typeof===p||t.$$typeof===c||t.$$typeof===s||t.$$typeof===u||t.$$typeof===e||void 0!==t.getModuleId)}(t);if(!w){var C,E="";(void 0===t||"object"==typeof t&&null!==t&&0===Object.keys(t).length)&&(E+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),E+=ae(),null===t?C="null":q(t)?C="array":void 0!==t&&t.$$typeof===r?(C="<"+(x(t.type)||"Unknown")+" />",E=" Did you accidentally export a JSX literal instead of a component?"):C=typeof t,b("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",C,E)}var k=Z(t,n,o,v,y);if(null==k)return k;if(w){var S=n.children;if(void 0!==S)if(h)if(q(S)){for(var $=0;$<S.length;$++)ce(S[$],t);Object.freeze&&Object.freeze(S)}else b("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 ce(S,t)}if(V.call(n,"key")){var O=x(t),M=Object.keys(n).filter((function(e){return"key"!==e})),P=M.length>0?"{key: someKey, "+M.join(": ..., ")+": ...}":"{key: someKey}";ue[O+P]||(b('A props object containing a "key" prop is being spread into JSX:\n let props = %s;\n <%s {...props} />\nReact keys must be passed directly to JSX without using spread:\n let props = %s;\n <%s key={someKey} {...props} />',P,O,M.length>0?"{"+M.join(": ..., ")+": ...}":"{}",O),ue[O+P]=!0)}return t===a?function(e){for(var t=Object.keys(e.props),n=0;n<t.length;n++){var r=t[n];if("children"!==r&&"key"!==r){re(e),b("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",r),re(null);break}}null!==e.ref&&(re(e),b("Invalid attribute `ref` supplied to `React.Fragment`."),re(null))}(k):se(k),k}var fe=function(e,t,n){return de(e,t,n,!1)},pe=function(e,t,n){return de(e,t,n,!0)};h.Fragment=a,h.jsx=fe,h.jsxs=pe}()),h);var m=d.exports;function g(){return g=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},g.apply(null,arguments)}var v={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V460h656v380zM184 392V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v136H184z"}}]},name:"calendar",theme:"outlined"};function y(e){if(Array.isArray(e))return e}function b(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function w(e,t){if(e){if("string"==typeof e)return b(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?b(e,t):void 0}}function x(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function C(e,t){return y(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,a,i,l=[],c=!0,s=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(l.push(r.value),l.length!==t);c=!0);}catch(u){s=!0,o=u}finally{try{if(!c&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(s)throw o}}return l}}(e,t)||w(e,t)||x()}function E(e){return(E="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function k(e){var t=function(e,t){if("object"!=E(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=E(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==E(t)?t:t+""}function S(e,t,n){return(t=k(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function $(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.includes(n)||{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function O(e,t){(function(e){return"string"==typeof e&&-1!==e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var n=function(e){return"string"==typeof e&&-1!==e.indexOf("%")}(e);return e=360===t?e:Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(String(e*t),10)/100),Math.abs(e-t)<1e-6?1:e=360===t?(e<0?e%t+t:e%t)/parseFloat(String(t)):e%t/parseFloat(String(t))}function M(e){return Math.min(1,Math.max(0,e))}function P(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function N(e){return e<=1?"".concat(100*Number(e),"%"):e}function I(e){return 1===e.length?"0"+e:String(e)}function F(e,t,n){e=O(e,255),t=O(t,255),n=O(n,255);var r=Math.max(e,t,n),o=Math.min(e,t,n),a=0,i=0,l=(r+o)/2;if(r===o)i=0,a=0;else{var c=r-o;switch(i=l>.5?c/(2-r-o):c/(r+o),r){case e:a=(t-n)/c+(t<n?6:0);break;case t:a=(n-e)/c+2;break;case n:a=(e-t)/c+4}a/=6}return{h:a,s:i,l:l}}function R(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*n*(t-e):n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function j(e,t,n){e=O(e,255),t=O(t,255),n=O(n,255);var r=Math.max(e,t,n),o=Math.min(e,t,n),a=0,i=r,l=r-o,c=0===r?0:l/r;if(r===o)a=0;else{switch(r){case e:a=(t-n)/l+(t<n?6:0);break;case t:a=(n-e)/l+2;break;case n:a=(e-t)/l+4}a/=6}return{h:a,s:c,v:i}}function D(e,t,n,r){var o=[I(Math.round(e).toString(16)),I(Math.round(t).toString(16)),I(Math.round(n).toString(16))];return r&&o[0].startsWith(o[0].charAt(1))&&o[1].startsWith(o[1].charAt(1))&&o[2].startsWith(o[2].charAt(1))?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0):o.join("")}function A(e){return T(e)/255}function T(e){return parseInt(e,16)}var H={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function _(e){var t,n,r,o={r:0,g:0,b:0},a=1,i=null,l=null,c=null,s=!1,u=!1;return"string"==typeof e&&(e=function(e){if(e=e.trim().toLowerCase(),0===e.length)return!1;var t=!1;if(H[e])e=H[e],t=!0;else if("transparent"===e)return{r:0,g:0,b:0,a:0,format:"name"};var n=z.rgb.exec(e);if(n)return{r:n[1],g:n[2],b:n[3]};if(n=z.rgba.exec(e),n)return{r:n[1],g:n[2],b:n[3],a:n[4]};if(n=z.hsl.exec(e),n)return{h:n[1],s:n[2],l:n[3]};if(n=z.hsla.exec(e),n)return{h:n[1],s:n[2],l:n[3],a:n[4]};if(n=z.hsv.exec(e),n)return{h:n[1],s:n[2],v:n[3]};if(n=z.hsva.exec(e),n)return{h:n[1],s:n[2],v:n[3],a:n[4]};if(n=z.hex8.exec(e),n)return{r:T(n[1]),g:T(n[2]),b:T(n[3]),a:A(n[4]),format:t?"name":"hex8"};if(n=z.hex6.exec(e),n)return{r:T(n[1]),g:T(n[2]),b:T(n[3]),format:t?"name":"hex"};if(n=z.hex4.exec(e),n)return{r:T(n[1]+n[1]),g:T(n[2]+n[2]),b:T(n[3]+n[3]),a:A(n[4]+n[4]),format:t?"name":"hex8"};if(n=z.hex3.exec(e),n)return{r:T(n[1]+n[1]),g:T(n[2]+n[2]),b:T(n[3]+n[3]),format:t?"name":"hex"};return!1}(e)),"object"==typeof e&&(W(e.r)&&W(e.g)&&W(e.b)?(t=e.r,n=e.g,r=e.b,o={r:255*O(t,255),g:255*O(n,255),b:255*O(r,255)},s=!0,u="%"===String(e.r).substr(-1)?"prgb":"rgb"):W(e.h)&&W(e.s)&&W(e.v)?(i=N(e.s),l=N(e.v),o=function(e,t,n){e=6*O(e,360),t=O(t,100),n=O(n,100);var r=Math.floor(e),o=e-r,a=n*(1-t),i=n*(1-o*t),l=n*(1-(1-o)*t),c=r%6;return{r:255*[n,i,a,a,l,n][c],g:255*[l,n,n,i,a,a][c],b:255*[a,a,l,n,n,i][c]}}(e.h,i,l),s=!0,u="hsv"):W(e.h)&&W(e.s)&&W(e.l)&&(i=N(e.s),c=N(e.l),o=function(e,t,n){var r,o,a;if(e=O(e,360),t=O(t,100),n=O(n,100),0===t)o=n,a=n,r=n;else{var i=n<.5?n*(1+t):n+t-n*t,l=2*n-i;r=R(l,i,e+1/3),o=R(l,i,e),a=R(l,i,e-1/3)}return{r:255*r,g:255*o,b:255*a}}(e.h,i,c),s=!0,u="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(a=e.a)),a=P(a),{ok:s,format:e.format||u,r:Math.min(255,Math.max(o.r,0)),g:Math.min(255,Math.max(o.g,0)),b:Math.min(255,Math.max(o.b,0)),a:a}}var V="(?:".concat("[-\\+]?\\d*\\.\\d+%?",")|(?:").concat("[-\\+]?\\d+%?",")"),L="[\\s|\\(]+(".concat(V,")[,|\\s]+(").concat(V,")[,|\\s]+(").concat(V,")\\s*\\)?"),B="[\\s|\\(]+(".concat(V,")[,|\\s]+(").concat(V,")[,|\\s]+(").concat(V,")[,|\\s]+(").concat(V,")\\s*\\)?"),z={CSS_UNIT:new RegExp(V),rgb:new RegExp("rgb"+L),rgba:new RegExp("rgba"+B),hsl:new RegExp("hsl"+L),hsla:new RegExp("hsla"+B),hsv:new RegExp("hsv"+L),hsva:new RegExp("hsva"+B),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function W(e){return Boolean(z.CSS_UNIT.exec(String(e)))}var q=function(){function e(t,n){var r;if(void 0===t&&(t=""),void 0===n&&(n={}),t instanceof e)return t;"number"==typeof t&&(t=function(e){return{r:e>>16,g:(65280&e)>>8,b:255&e}}(t)),this.originalInput=t;var o=_(t);this.originalInput=t,this.r=o.r,this.g=o.g,this.b=o.b,this.a=o.a,this.roundA=Math.round(100*this.a)/100,this.format=null!==(r=n.format)&&void 0!==r?r:o.format,this.gradientType=n.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=o.ok}return e.prototype.isDark=function(){return this.getBrightness()<128},e.prototype.isLight=function(){return!this.isDark()},e.prototype.getBrightness=function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},e.prototype.getLuminance=function(){var e=this.toRgb(),t=e.r/255,n=e.g/255,r=e.b/255;return.2126*(t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4))+.7152*(n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4))+.0722*(r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4))},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(e){return this.a=P(e),this.roundA=Math.round(100*this.a)/100,this},e.prototype.isMonochrome=function(){return 0===this.toHsl().s},e.prototype.toHsv=function(){var e=j(this.r,this.g,this.b);return{h:360*e.h,s:e.s,v:e.v,a:this.a}},e.prototype.toHsvString=function(){var e=j(this.r,this.g,this.b),t=Math.round(360*e.h),n=Math.round(100*e.s),r=Math.round(100*e.v);return 1===this.a?"hsv(".concat(t,", ").concat(n,"%, ").concat(r,"%)"):"hsva(".concat(t,", ").concat(n,"%, ").concat(r,"%, ").concat(this.roundA,")")},e.prototype.toHsl=function(){var e=F(this.r,this.g,this.b);return{h:360*e.h,s:e.s,l:e.l,a:this.a}},e.prototype.toHslString=function(){var e=F(this.r,this.g,this.b),t=Math.round(360*e.h),n=Math.round(100*e.s),r=Math.round(100*e.l);return 1===this.a?"hsl(".concat(t,", ").concat(n,"%, ").concat(r,"%)"):"hsla(".concat(t,", ").concat(n,"%, ").concat(r,"%, ").concat(this.roundA,")")},e.prototype.toHex=function(e){return void 0===e&&(e=!1),D(this.r,this.g,this.b,e)},e.prototype.toHexString=function(e){return void 0===e&&(e=!1),"#"+this.toHex(e)},e.prototype.toHex8=function(e){return void 0===e&&(e=!1),function(e,t,n,r,o){var a,i=[I(Math.round(e).toString(16)),I(Math.round(t).toString(16)),I(Math.round(n).toString(16)),I((a=r,Math.round(255*parseFloat(a)).toString(16)))];return o&&i[0].startsWith(i[0].charAt(1))&&i[1].startsWith(i[1].charAt(1))&&i[2].startsWith(i[2].charAt(1))&&i[3].startsWith(i[3].charAt(1))?i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0)+i[3].charAt(0):i.join("")}(this.r,this.g,this.b,this.a,e)},e.prototype.toHex8String=function(e){return void 0===e&&(e=!1),"#"+this.toHex8(e)},e.prototype.toHexShortString=function(e){return void 0===e&&(e=!1),1===this.a?this.toHexString(e):this.toHex8String(e)},e.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},e.prototype.toRgbString=function(){var e=Math.round(this.r),t=Math.round(this.g),n=Math.round(this.b);return 1===this.a?"rgb(".concat(e,", ").concat(t,", ").concat(n,")"):"rgba(".concat(e,", ").concat(t,", ").concat(n,", ").concat(this.roundA,")")},e.prototype.toPercentageRgb=function(){var e=function(e){return"".concat(Math.round(100*O(e,255)),"%")};return{r:e(this.r),g:e(this.g),b:e(this.b),a:this.a}},e.prototype.toPercentageRgbString=function(){var e=function(e){return Math.round(100*O(e,255))};return 1===this.a?"rgb(".concat(e(this.r),"%, ").concat(e(this.g),"%, ").concat(e(this.b),"%)"):"rgba(".concat(e(this.r),"%, ").concat(e(this.g),"%, ").concat(e(this.b),"%, ").concat(this.roundA,")")},e.prototype.toName=function(){if(0===this.a)return"transparent";if(this.a<1)return!1;for(var e="#"+D(this.r,this.g,this.b,!1),t=0,n=Object.entries(H);t<n.length;t++){var r=n[t],o=r[0];if(e===r[1])return o}return!1},e.prototype.toString=function(e){var t=Boolean(e);e=null!=e?e:this.format;var n=!1,r=this.a<1&&this.a>=0;return t||!r||!e.startsWith("hex")&&"name"!==e?("rgb"===e&&(n=this.toRgbString()),"prgb"===e&&(n=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(n=this.toHexString()),"hex3"===e&&(n=this.toHexString(!0)),"hex4"===e&&(n=this.toHex8String(!0)),"hex8"===e&&(n=this.toHex8String()),"name"===e&&(n=this.toName()),"hsl"===e&&(n=this.toHslString()),"hsv"===e&&(n=this.toHsvString()),n||this.toHexString()):"name"===e&&0===this.a?this.toName():this.toRgbString()},e.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},e.prototype.clone=function(){return new e(this.toString())},e.prototype.lighten=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.l+=t/100,n.l=M(n.l),new e(n)},e.prototype.brighten=function(t){void 0===t&&(t=10);var n=this.toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(-t/100*255))),n.g=Math.max(0,Math.min(255,n.g-Math.round(-t/100*255))),n.b=Math.max(0,Math.min(255,n.b-Math.round(-t/100*255))),new e(n)},e.prototype.darken=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.l-=t/100,n.l=M(n.l),new e(n)},e.prototype.tint=function(e){return void 0===e&&(e=10),this.mix("white",e)},e.prototype.shade=function(e){return void 0===e&&(e=10),this.mix("black",e)},e.prototype.desaturate=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.s-=t/100,n.s=M(n.s),new e(n)},e.prototype.saturate=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.s+=t/100,n.s=M(n.s),new e(n)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(t){var n=this.toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,new e(n)},e.prototype.mix=function(t,n){void 0===n&&(n=50);var r=this.toRgb(),o=new e(t).toRgb(),a=n/100;return new e({r:(o.r-r.r)*a+r.r,g:(o.g-r.g)*a+r.g,b:(o.b-r.b)*a+r.b,a:(o.a-r.a)*a+r.a})},e.prototype.analogous=function(t,n){void 0===t&&(t=6),void 0===n&&(n=30);var r=this.toHsl(),o=360/n,a=[this];for(r.h=(r.h-(o*t>>1)+720)%360;--t;)r.h=(r.h+o)%360,a.push(new e(r));return a},e.prototype.complement=function(){var t=this.toHsl();return t.h=(t.h+180)%360,new e(t)},e.prototype.monochromatic=function(t){void 0===t&&(t=6);for(var n=this.toHsv(),r=n.h,o=n.s,a=n.v,i=[],l=1/t;t--;)i.push(new e({h:r,s:o,v:a})),a=(a+l)%1;return i},e.prototype.splitcomplement=function(){var t=this.toHsl(),n=t.h;return[this,new e({h:(n+72)%360,s:t.s,l:t.l}),new e({h:(n+216)%360,s:t.s,l:t.l})]},e.prototype.onBackground=function(t){var n=this.toRgb(),r=new e(t).toRgb(),o=n.a+r.a*(1-n.a);return new e({r:(n.r*n.a+r.r*r.a*(1-n.a))/o,g:(n.g*n.a+r.g*r.a*(1-n.a))/o,b:(n.b*n.a+r.b*r.a*(1-n.a))/o,a:o})},e.prototype.triad=function(){return this.polyad(3)},e.prototype.tetrad=function(){return this.polyad(4)},e.prototype.polyad=function(t){for(var n=this.toHsl(),r=n.h,o=[this],a=360/t,i=1;i<t;i++)o.push(new e({h:(r+i*a)%360,s:n.s,l:n.l}));return o},e.prototype.equals=function(t){return this.toRgbString()===new e(t).toRgbString()},e}(),Y=[{index:7,opacity:.15},{index:6,opacity:.25},{index:5,opacity:.3},{index:5,opacity:.45},{index:5,opacity:.65},{index:5,opacity:.85},{index:4,opacity:.9},{index:3,opacity:.95},{index:2,opacity:.97},{index:1,opacity:.98}];function X(e){var t=j(e.r,e.g,e.b);return{h:360*t.h,s:t.s,v:t.v}}function G(e){var t=e.r,n=e.g,r=e.b;return"#".concat(D(t,n,r,!1))}function U(e,t,n){var r;return(r=Math.round(e.h)>=60&&Math.round(e.h)<=240?n?Math.round(e.h)-2*t:Math.round(e.h)+2*t:n?Math.round(e.h)+2*t:Math.round(e.h)-2*t)<0?r+=360:r>=360&&(r-=360),r}function K(e,t,n){return 0===e.h&&0===e.s?e.s:((r=n?e.s-.16*t:4===t?e.s+.16:e.s+.05*t)>1&&(r=1),n&&5===t&&r>.1&&(r=.1),r<.06&&(r=.06),Number(r.toFixed(2)));var r}function Q(e,t,n){var r;return(r=n?e.v+.05*t:e.v-.15*t)>1&&(r=1),Number(r.toFixed(2))}function J(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=[],r=_(e),o=5;o>0;o-=1){var a=X(r),i=G(_({h:U(a,o,!0),s:K(a,o,!0),v:Q(a,o,!0)}));n.push(i)}n.push(G(r));for(var l=1;l<=4;l+=1){var c=X(r),s=G(_({h:U(c,l),s:K(c,l),v:Q(c,l)}));n.push(s)}return"dark"===t.theme?Y.map((function(e){var r,o,a,i=e.index,l=e.opacity;return G((r=_(t.backgroundColor||"#141414"),o=_(n[i]),a=100*l/100,{r:(o.r-r.r)*a+r.r,g:(o.g-r.g)*a+r.g,b:(o.b-r.b)*a+r.b}))})):n}var Z={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1677FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},ee=["#fff1f0","#ffccc7","#ffa39e","#ff7875","#ff4d4f","#f5222d","#cf1322","#a8071a","#820014","#5c0011"];ee.primary=ee[5];var te=["#fff2e8","#ffd8bf","#ffbb96","#ff9c6e","#ff7a45","#fa541c","#d4380d","#ad2102","#871400","#610b00"];te.primary=te[5];var ne=["#fff7e6","#ffe7ba","#ffd591","#ffc069","#ffa940","#fa8c16","#d46b08","#ad4e00","#873800","#612500"];ne.primary=ne[5];var re=["#fffbe6","#fff1b8","#ffe58f","#ffd666","#ffc53d","#faad14","#d48806","#ad6800","#874d00","#613400"];re.primary=re[5];var oe=["#feffe6","#ffffb8","#fffb8f","#fff566","#ffec3d","#fadb14","#d4b106","#ad8b00","#876800","#614700"];oe.primary=oe[5];var ae=["#fcffe6","#f4ffb8","#eaff8f","#d3f261","#bae637","#a0d911","#7cb305","#5b8c00","#3f6600","#254000"];ae.primary=ae[5];var ie=["#f6ffed","#d9f7be","#b7eb8f","#95de64","#73d13d","#52c41a","#389e0d","#237804","#135200","#092b00"];ie.primary=ie[5];var le=["#e6fffb","#b5f5ec","#87e8de","#5cdbd3","#36cfc9","#13c2c2","#08979c","#006d75","#00474f","#002329"];le.primary=le[5];var ce=["#e6f4ff","#bae0ff","#91caff","#69b1ff","#4096ff","#1677ff","#0958d9","#003eb3","#002c8c","#001d66"];ce.primary=ce[5];var se=["#f0f5ff","#d6e4ff","#adc6ff","#85a5ff","#597ef7","#2f54eb","#1d39c4","#10239e","#061178","#030852"];se.primary=se[5];var ue=["#f9f0ff","#efdbff","#d3adf7","#b37feb","#9254de","#722ed1","#531dab","#391085","#22075e","#120338"];ue.primary=ue[5];var de=["#fff0f6","#ffd6e7","#ffadd2","#ff85c0","#f759ab","#eb2f96","#c41d7f","#9e1068","#780650","#520339"];de.primary=de[5];var fe=["#a6a6a6","#999999","#8c8c8c","#808080","#737373","#666666","#404040","#1a1a1a","#000000","#000000"];fe.primary=fe[5];var pe={red:ee,volcano:te,orange:ne,gold:re,yellow:oe,lime:ae,green:ie,cyan:le,blue:ce,geekblue:se,purple:ue,magenta:de,grey:fe},he=t.createContext({});function me(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ge(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?me(Object(n),!0).forEach((function(t){S(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):me(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ve(){return!("undefined"==typeof window||!window.document||!window.document.createElement)}var ye="data-rc-order",be="data-rc-priority",we=new Map;function xe(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).mark;return e?e.startsWith("data-")?e:"data-".concat(e):"rc-util-key"}function Ce(e){return e.attachTo?e.attachTo:document.querySelector("head")||document.body}function Ee(e){return Array.from((we.get(e)||e).children).filter((function(e){return"STYLE"===e.tagName}))}function ke(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!ve())return null;var n=t.csp,r=t.prepend,o=t.priority,a=void 0===o?0:o,i=function(e){return"queue"===e?"prependQueue":e?"prepend":"append"}(r),l="prependQueue"===i,c=document.createElement("style");c.setAttribute(ye,i),l&&a&&c.setAttribute(be,"".concat(a)),null!=n&&n.nonce&&(c.nonce=null==n?void 0:n.nonce),c.innerHTML=e;var s=Ce(t),u=s.firstChild;if(r){if(l){var d=(t.styles||Ee(s)).filter((function(e){if(!["prepend","prependQueue"].includes(e.getAttribute(ye)))return!1;var t=Number(e.getAttribute(be)||0);return a>=t}));if(d.length)return s.insertBefore(c,d[d.length-1].nextSibling),c}s.insertBefore(c,u)}else s.appendChild(c);return c}function Se(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=Ce(t);return(t.styles||Ee(n)).find((function(n){return n.getAttribute(xe(t))===e}))}function $e(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=Se(e,t);n&&Ce(t).removeChild(n)}function Oe(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=Ce(n),o=Ee(r),a=ge(ge({},n),{},{styles:o});!function(e,t){var n=we.get(e);if(!n||!function(e,t){if(!e)return!1;if(e.contains)return e.contains(t);for(var n=t;n;){if(n===e)return!0;n=n.parentNode}return!1}(document,n)){var r=ke("",t),o=r.parentNode;we.set(e,o),e.removeChild(r)}}(r,a);var i=Se(t,a);if(i){var l,c,s;if(null!==(l=a.csp)&&void 0!==l&&l.nonce&&i.nonce!==(null===(c=a.csp)||void 0===c?void 0:c.nonce))i.nonce=null===(s=a.csp)||void 0===s?void 0:s.nonce;return i.innerHTML!==e&&(i.innerHTML=e),i}var u=ke(e,a);return u.setAttribute(xe(a),t),u}function Me(e){var t;return null==e||null===(t=e.getRootNode)||void 0===t?void 0:t.call(e)}function Pe(e){return function(e){return Me(e)instanceof ShadowRoot}(e)?Me(e):null}var Ne={},Ie=[];function Fe(e,t){if("production"!==process.env.NODE_ENV&&!e&&void 0!==console)Ie.reduce((function(e,t){return t(null!=e?e:"","warning")}),t)}function Re(e,t){if("production"!==process.env.NODE_ENV&&!e&&void 0!==console)Ie.reduce((function(e,t){return t(null!=e?e:"","note")}),t)}function je(){Ne={}}function De(e,t,n){t||Ne[n]||(e(!1,n),Ne[n]=!0)}function Ae(e,t){De(Fe,e,t)}function Te(e){return"object"===E(e)&&"string"==typeof e.name&&"string"==typeof e.theme&&("object"===E(e.icon)||"function"==typeof e.icon)}function He(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.keys(e).reduce((function(t,n){var r,o=e[n];if("class"===n)t.className=o,delete t.class;else delete t[n],t[(r=n,r.replace(/-(.)/g,(function(e,t){return t.toUpperCase()})))]=o;return t}),{})}function _e(e,n,r){return r?t.createElement(e.tag,ge(ge({key:n},He(e.attrs)),r),(e.children||[]).map((function(t,r){return _e(t,"".concat(n,"-").concat(e.tag,"-").concat(r))}))):t.createElement(e.tag,ge({key:n},He(e.attrs)),(e.children||[]).map((function(t,r){return _e(t,"".concat(n,"-").concat(e.tag,"-").concat(r))})))}function Ve(e){return J(e)[0]}function Le(e){return e?Array.isArray(e)?e:[e]:[]}Ae.preMessage=function(e){Ie.push(e)},Ae.resetWarned=je,Ae.noteOnce=function(e,t){De(Re,e,t)};var Be=["icon","className","onClick","style","primaryColor","secondaryColor"],ze={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};var We=function(e){var n,r,o,a,i,c,s,u=e.icon,d=e.className,f=e.onClick,p=e.style,h=e.primaryColor,m=e.secondaryColor,g=$(e,Be),v=l.useRef(),y=ze;if(h&&(y={primaryColor:h,secondaryColor:m||Ve(h)}),n=v,r=t.useContext(he),o=r.csp,a=r.prefixCls,i="\n.anticon {\n display: inline-flex;\n align-items: center;\n color: inherit;\n font-style: normal;\n line-height: 0;\n text-align: center;\n text-transform: none;\n vertical-align: -0.125em;\n text-rendering: optimizeLegibility;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\n.anticon > * {\n line-height: 1;\n}\n\n.anticon svg {\n display: inline-block;\n}\n\n.anticon::before {\n display: none;\n}\n\n.anticon .anticon-icon {\n display: block;\n}\n\n.anticon[tabindex] {\n cursor: pointer;\n}\n\n.anticon-spin::before,\n.anticon-spin {\n display: inline-block;\n -webkit-animation: loadingCircle 1s infinite linear;\n animation: loadingCircle 1s infinite linear;\n}\n\n@-webkit-keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n\n@keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n",a&&(i=i.replace(/anticon/g,a)),t.useEffect((function(){var e=Pe(n.current);Oe(i,"@ant-design-icons",{prepend:!0,csp:o,attachTo:e})}),[]),c=Te(u),s="icon should be icon definiton, but got ".concat(u),Ae(c,"[@ant-design/icons] ".concat(s)),!Te(u))return null;var b=u;return b&&"function"==typeof b.icon&&(b=ge(ge({},b),{},{icon:b.icon(y.primaryColor,y.secondaryColor)})),_e(b.icon,"svg-".concat(b.name),ge(ge({className:d,onClick:f,style:p,"data-icon":b.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},g),{},{ref:v}))};function qe(e){var t=C(Le(e),2),n=t[0],r=t[1];return We.setTwoToneColors({primaryColor:n,secondaryColor:r})}We.displayName="IconReact",We.getTwoToneColors=function(){return ge({},ze)},We.setTwoToneColors=function(e){var t=e.primaryColor,n=e.secondaryColor;ze.primaryColor=t,ze.secondaryColor=n||Ve(t),ze.calculated=!!n};var Ye=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];qe(ce.primary);var Xe=l.forwardRef((function(e,t){var n=e.className,o=e.icon,a=e.spin,i=e.rotate,c=e.tabIndex,s=e.onClick,u=e.twoToneColor,d=$(e,Ye),f=l.useContext(he),p=f.prefixCls,h=void 0===p?"anticon":p,m=f.rootClassName,v=r(m,h,S(S({},"".concat(h,"-").concat(o.name),!!o.name),"".concat(h,"-spin"),!!a||"loading"===o.name),n),y=c;void 0===y&&s&&(y=-1);var b=i?{msTransform:"rotate(".concat(i,"deg)"),transform:"rotate(".concat(i,"deg)")}:void 0,w=C(Le(u),2),x=w[0],E=w[1];return l.createElement("span",g({role:"img","aria-label":o.name},d,{ref:t,tabIndex:y,onClick:s,className:v}),l.createElement(We,{icon:o,primaryColor:x,secondaryColor:E,style:b}))}));Xe.displayName="AntdIcon",Xe.getTwoToneColor=function(){var e=We.getTwoToneColors();return e.calculated?[e.primaryColor,e.secondaryColor]:e.primaryColor},Xe.setTwoToneColor=qe;var Ge=function(e,t){return l.createElement(Xe,g({},e,{ref:t,icon:v}))},Ue=l.forwardRef(Ge);"production"!==process.env.NODE_ENV&&(Ue.displayName="CalendarOutlined");var Ke={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.4c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.8 11.2-1.7l28.6-39c2.6-3.7 1.8-8.7-1.8-11.2z"}}]},name:"clock-circle",theme:"outlined"},Qe=function(e,t){return l.createElement(Xe,g({},e,{ref:t,icon:Ke}))},Je=l.forwardRef(Qe);"production"!==process.env.NODE_ENV&&(Je.displayName="ClockCircleOutlined");var Ze={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M873.1 596.2l-164-208A32 32 0 00684 376h-64.8c-6.7 0-10.4 7.7-6.3 13l144.3 183H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h695.9c26.8 0 41.7-30.8 25.2-51.8z"}}]},name:"swap-right",theme:"outlined"},et=function(e,t){return l.createElement(Xe,g({},e,{ref:t,icon:Ze}))},tt=l.forwardRef(et);function nt(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function rt(e){return function(e){if(Array.isArray(e))return b(e)}(e)||nt(e)||w(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ot(e){var t=l.useRef();t.current=e;var n=l.useCallback((function(){for(var e,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return null===(e=t.current)||void 0===e?void 0:e.call.apply(e,[t].concat(r))}),[]);return n}"production"!==process.env.NODE_ENV&&(tt.displayName="SwapRightOutlined");var at="test"!==process.env.NODE_ENV&&ve()?l.useLayoutEffect:l.useEffect,it=function(e,t){var n=l.useRef(!0);at((function(){return e(n.current)}),t),at((function(){return n.current=!1,function(){n.current=!0}}),[])},lt=function(e,t){it((function(t){if(!t)return e()}),t)};function ct(e){var t=l.useRef(!1),n=C(l.useState(e),2),r=n[0],o=n[1];return l.useEffect((function(){return t.current=!1,function(){t.current=!0}}),[]),[r,function(e,n){n&&t.current||o(e)}]}function st(e){return void 0!==e}function ut(e,t){var n=t||{},r=n.defaultValue,o=n.value,a=n.onChange,i=n.postState,l=C(ct((function(){return st(o)?o:st(r)?"function"==typeof r?r():r:"function"==typeof e?e():e})),2),c=l[0],s=l[1],u=void 0!==o?o:c,d=i?i(u):u,f=ot(a),p=C(ct([u]),2),h=p[0],m=p[1];return lt((function(){var e=h[0];c!==e&&f(c,e)}),[h]),lt((function(){st(o)||s(o)}),[o]),[d,ot((function(e,t){s(e,t),m([u],t)}))]}var dt,ft={exports:{}},pt={};var ht,mt={};
/**
* @license React
* react-is.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.
*/"production"===process.env.NODE_ENV?ft.exports=function(){if(dt)return pt;dt=1;var e,t=Symbol.for("react.element"),n=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),l=Symbol.for("react.context"),c=Symbol.for("react.server_context"),s=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),f=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),h=Symbol.for("react.offscreen");function m(e){if("object"==typeof e&&null!==e){var h=e.$$typeof;switch(h){case t:switch(e=e.type){case r:case a:case o:case u:case d:return e;default:switch(e=e&&e.$$typeof){case c:case l:case s:case p:case f:case i:return e;default:return h}}case n:return h}}}return e=Symbol.for("react.module.reference"),pt.ContextConsumer=l,pt.ContextProvider=i,pt.Element=t,pt.ForwardRef=s,pt.Fragment=r,pt.Lazy=p,pt.Memo=f,pt.Portal=n,pt.Profiler=a,pt.StrictMode=o,pt.Suspense=u,pt.SuspenseList=d,pt.isAsyncMode=function(){return!1},pt.isConcurrentMode=function(){return!1},pt.isContextConsumer=function(e){return m(e)===l},pt.isContextProvider=function(e){return m(e)===i},pt.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},pt.isForwardRef=function(e){return m(e)===s},pt.isFragment=function(e){return m(e)===r},pt.isLazy=function(e){return m(e)===p},pt.isMemo=function(e){return m(e)===f},pt.isPortal=function(e){return m(e)===n},pt.isProfiler=function(e){return m(e)===a},pt.isStrictMode=function(e){return m(e)===o},pt.isSuspense=function(e){return m(e)===u},pt.isSuspenseList=function(e){return m(e)===d},pt.isValidElementType=function(t){return"string"==typeof t||"function"==typeof t||t===r||t===a||t===o||t===u||t===d||t===h||"object"==typeof t&&null!==t&&(t.$$typeof===p||t.$$typeof===f||t.$$typeof===i||t.$$typeof===l||t.$$typeof===s||t.$$typeof===e||void 0!==t.getModuleId)},pt.typeOf=m,pt}():ft.exports=(ht||(ht=1,"production"!==process.env.NODE_ENV&&function(){var e,t=Symbol.for("react.element"),n=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),l=Symbol.for("react.context"),c=Symbol.for("react.server_context"),s=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),f=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),h=Symbol.for("react.offscreen");function m(e){if("object"==typeof e&&null!==e){var h=e.$$typeof;switch(h){case t:var m=e.type;switch(m){case r:case a:case o:case u:case d:return m;default:var g=m&&m.$$typeof;switch(g){case c:case l:case s:case p:case f:case i:return g;default:return h}}case n:return h}}}e=Symbol.for("react.module.reference");var g=l,v=i,y=t,b=s,w=r,x=p,C=f,E=n,k=a,S=o,$=u,O=d,M=!1,P=!1;mt.ContextConsumer=g,mt.ContextProvider=v,mt.Element=y,mt.ForwardRef=b,mt.Fragment=w,mt.Lazy=x,mt.Memo=C,mt.Portal=E,mt.Profiler=k,mt.StrictMode=S,mt.Suspense=$,mt.SuspenseList=O,mt.isAsyncMode=function(e){return M||(M=!0),!1},mt.isConcurrentMode=function(e){return P||(P=!0),!1},mt.isContextConsumer=function(e){return m(e)===l},mt.isContextProvider=function(e){return m(e)===i},mt.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},mt.isForwardRef=function(e){return m(e)===s},mt.isFragment=function(e){return m(e)===r},mt.isLazy=function(e){return m(e)===p},mt.isMemo=function(e){return m(e)===f},mt.isPortal=function(e){return m(e)===n},mt.isProfiler=function(e){return m(e)===a},mt.isStrictMode=function(e){return m(e)===o},mt.isSuspense=function(e){return m(e)===u},mt.isSuspenseList=function(e){return m(e)===d},mt.isValidElementType=function(t){return"string"==typeof t||"function"==typeof t||t===r||t===a||t===o||t===u||t===d||t===h||"object"==typeof t&&null!==t&&(t.$$typeof===p||t.$$typeof===f||t.$$typeof===i||t.$$typeof===l||t.$$typeof===s||t.$$typeof===e||void 0!==t.getModuleId)},mt.typeOf=m}()),mt);var gt=ft.exports;function vt(e,t,n){var r=l.useRef({});return"value"in r.current&&!n(r.current.condition,t)||(r.current.value=e(),r.current.condition=t),r.current.value}var yt=function(e,t){"function"==typeof e?e(t):"object"===E(e)&&e&&"current"in e&&(e.current=t)},bt=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t.filter(Boolean);return r.length<=1?r[0]:function(e){t.forEach((function(t){yt(t,e)}))}},wt=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return vt((function(){return bt.apply(void 0,t)}),t,(function(e,t){return e.length!==t.length||e.every((function(e,n){return e!==t[n]}))}))},xt=function(e){var t,n,r=gt.isMemo(e)?e.type.type:e.type;return!!("function"!=typeof r||null!==(t=r.prototype)&&void 0!==t&&t.render||r.$$typeof===gt.ForwardRef)&&!!("function"!=typeof e||null!==(n=e.prototype)&&void 0!==n&&n.render||e.$$typeof===gt.ForwardRef)};function Ct(e,t){for(var n=e,r=0;r<t.length;r+=1){if(null==n)return;n=n[t[r]]}return n}function Et(e,t,n,r){if(!t.length)return n;var o,a,i=y(o=t)||nt(o)||w(o)||x(),l=i[0],c=i.slice(1);return a=e||"number"!=typeof l?Array.isArray(e)?rt(e):ge({},e):[],r&&void 0===n&&1===c.length?delete a[l][c[0]]:a[l]=Et(a[l],c,n,r),a}function kt(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return t.length&&r&&voi