@web-fuse/wf-components 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (35) hide show
  1. package/dist/Display/Card/DarkCard.d.ts +6 -0
  2. package/dist/Display/Card/LightCard.d.ts +6 -0
  3. package/dist/Display/Card/index.d.ts +4 -0
  4. package/dist/Display/Collapse/Collapse.d.ts +16 -0
  5. package/dist/Display/Collapse/CollapseBase.d.ts +27 -0
  6. package/dist/Display/Collapse/CollapseContent.d.ts +10 -0
  7. package/dist/Display/Collapse/index.d.ts +12 -0
  8. package/dist/Display/Selector/SelectorItem.d.ts +10 -0
  9. package/dist/Display/Selector/SelectorSubItem.d.ts +11 -0
  10. package/dist/Display/Selector/index.d.ts +31 -0
  11. package/dist/Display/Selector/style.d.ts +16 -0
  12. package/dist/Display/index.d.ts +5 -0
  13. package/dist/Form/Buttons.d.ts +29 -0
  14. package/dist/Form/HoverLabel.d.ts +11 -0
  15. package/dist/Form/Input.d.ts +15 -0
  16. package/dist/Form/index.d.ts +4 -0
  17. package/dist/Layout/Main/MainSelector.d.ts +12 -0
  18. package/dist/Layout/Main/MainSettings.d.ts +5 -0
  19. package/dist/Layout/Main/index.d.ts +14 -0
  20. package/dist/Layout/Navbar/NavbarDropdown.d.ts +14 -0
  21. package/dist/Layout/Navbar/index.d.ts +31 -0
  22. package/dist/Layout/Navbar/style.d.ts +5 -0
  23. package/dist/Layout/index.d.ts +5 -0
  24. package/dist/Oauth/ErrorBoundary.d.ts +12 -0
  25. package/dist/Oauth/LoginContainer.d.ts +10 -0
  26. package/dist/Oauth/PageBackground.d.ts +7 -0
  27. package/dist/Oauth/index.d.ts +5 -0
  28. package/dist/index.cjs.js +660 -0
  29. package/dist/index.cjs.js.map +1 -0
  30. package/dist/index.d.ts +5 -0
  31. package/dist/index.es.js +2882 -0
  32. package/dist/index.es.js.map +1 -0
  33. package/dist/util/index.d.ts +1 -0
  34. package/dist/util/wfDarkAlgorithm.d.ts +7 -0
  35. package/package.json +65 -0
@@ -0,0 +1,660 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const x=require("react"),w=require("styled-components"),T=require("antd");function Wt(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const a=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,a.get?a:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const L=Wt(x);function Yt(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var ir={exports:{}},xe={};/**
2
+ * @license React
3
+ * react-jsx-runtime.production.min.js
4
+ *
5
+ * Copyright (c) Facebook, Inc. and its affiliates.
6
+ *
7
+ * This source code is licensed under the MIT license found in the
8
+ * LICENSE file in the root directory of this source tree.
9
+ */var Pr;function Ht(){if(Pr)return xe;Pr=1;var e=x,t=Symbol.for("react.element"),r=Symbol.for("react.fragment"),a=Object.prototype.hasOwnProperty,o=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s={key:!0,ref:!0,__self:!0,__source:!0};function i(f,l,g){var h,d={},b=null,C=null;g!==void 0&&(b=""+g),l.key!==void 0&&(b=""+l.key),l.ref!==void 0&&(C=l.ref);for(h in l)a.call(l,h)&&!s.hasOwnProperty(h)&&(d[h]=l[h]);if(f&&f.defaultProps)for(h in l=f.defaultProps,l)d[h]===void 0&&(d[h]=l[h]);return{$$typeof:t,type:f,key:b,ref:C,props:d,_owner:o.current}}return xe.Fragment=r,xe.jsx=i,xe.jsxs=i,xe}var we={};/**
10
+ * @license React
11
+ * react-jsx-runtime.development.js
12
+ *
13
+ * Copyright (c) Facebook, Inc. and its affiliates.
14
+ *
15
+ * This source code is licensed under the MIT license found in the
16
+ * LICENSE file in the root directory of this source tree.
17
+ */var $r;function Vt(){return $r||($r=1,process.env.NODE_ENV!=="production"&&function(){var e=x,t=Symbol.for("react.element"),r=Symbol.for("react.portal"),a=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),f=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),g=Symbol.for("react.suspense"),h=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),b=Symbol.for("react.lazy"),C=Symbol.for("react.offscreen"),_=Symbol.iterator,v="@@iterator";function c(n){if(n===null||typeof n!="object")return null;var u=_&&n[_]||n[v];return typeof u=="function"?u:null}var E=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function k(n){{for(var u=arguments.length,m=new Array(u>1?u-1:0),S=1;S<u;S++)m[S-1]=arguments[S];I("error",n,m)}}function I(n,u,m){{var S=E.ReactDebugCurrentFrame,O=S.getStackAddendum();O!==""&&(u+="%s",m=m.concat([O]));var A=m.map(function(j){return String(j)});A.unshift("Warning: "+u),Function.prototype.apply.call(console[n],console,A)}}var W=!1,F=!1,de=!1,ae=!1,oe=!1,ee;ee=Symbol.for("react.module.reference");function ie(n){return!!(typeof n=="string"||typeof n=="function"||n===a||n===s||oe||n===o||n===g||n===h||ae||n===C||W||F||de||typeof n=="object"&&n!==null&&(n.$$typeof===b||n.$$typeof===d||n.$$typeof===i||n.$$typeof===f||n.$$typeof===l||n.$$typeof===ee||n.getModuleId!==void 0))}function se(n,u,m){var S=n.displayName;if(S)return S;var O=u.displayName||u.name||"";return O!==""?m+"("+O+")":m}function re(n){return n.displayName||"Context"}function B(n){if(n==null)return null;if(typeof n.tag=="number"&&k("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof n=="function")return n.displayName||n.name||null;if(typeof n=="string")return n;switch(n){case a:return"Fragment";case r:return"Portal";case s:return"Profiler";case o:return"StrictMode";case g:return"Suspense";case h:return"SuspenseList"}if(typeof n=="object")switch(n.$$typeof){case f:var u=n;return re(u)+".Consumer";case i:var m=n;return re(m._context)+".Provider";case l:return se(n,n.render,"ForwardRef");case d:var S=n.displayName||null;return S!==null?S:B(n.type)||"Memo";case b:{var O=n,A=O._payload,j=O._init;try{return B(j(A))}catch{return null}}}return null}var Y=Object.assign,q=0,je,_e,pe,ge,Oe,Pe,$e;function Ae(){}Ae.__reactDisabledLog=!0;function He(){{if(q===0){je=console.log,_e=console.info,pe=console.warn,ge=console.error,Oe=console.group,Pe=console.groupCollapsed,$e=console.groupEnd;var n={configurable:!0,enumerable:!0,value:Ae,writable:!0};Object.defineProperties(console,{info:n,log:n,warn:n,error:n,group:n,groupCollapsed:n,groupEnd:n})}q++}}function Ve(){{if(q--,q===0){var n={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Y({},n,{value:je}),info:Y({},n,{value:_e}),warn:Y({},n,{value:pe}),error:Y({},n,{value:ge}),group:Y({},n,{value:Oe}),groupCollapsed:Y({},n,{value:Pe}),groupEnd:Y({},n,{value:$e})})}q<0&&k("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var he=E.ReactCurrentDispatcher,me;function ce(n,u,m){{if(me===void 0)try{throw Error()}catch(O){var S=O.stack.trim().match(/\n( *(at )?)/);me=S&&S[1]||""}return`
18
+ `+me+n}}var ve=!1,le;{var Ue=typeof WeakMap=="function"?WeakMap:Map;le=new Ue}function Ie(n,u){if(!n||ve)return"";{var m=le.get(n);if(m!==void 0)return m}var S;ve=!0;var O=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var A;A=he.current,he.current=null,He();try{if(u){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(J){S=J}Reflect.construct(n,[],j)}else{try{j.call()}catch(J){S=J}n.call(j.prototype)}}else{try{throw Error()}catch(J){S=J}n()}}catch(J){if(J&&S&&typeof J.stack=="string"){for(var R=J.stack.split(`
19
+ `),D=S.stack.split(`
20
+ `),M=R.length-1,N=D.length-1;M>=1&&N>=0&&R[M]!==D[N];)N--;for(;M>=1&&N>=0;M--,N--)if(R[M]!==D[N]){if(M!==1||N!==1)do if(M--,N--,N<0||R[M]!==D[N]){var H=`
21
+ `+R[M].replace(" at new "," at ");return n.displayName&&H.includes("<anonymous>")&&(H=H.replace("<anonymous>",n.displayName)),typeof n=="function"&&le.set(n,H),H}while(M>=1&&N>=0);break}}}finally{ve=!1,he.current=A,Ve(),Error.prepareStackTrace=O}var fe=n?n.displayName||n.name:"",Or=fe?ce(fe):"";return typeof n=="function"&&le.set(n,Or),Or}function qe(n,u,m){return Ie(n,!1)}function y(n){var u=n.prototype;return!!(u&&u.isReactComponent)}function Z(n,u,m){if(n==null)return"";if(typeof n=="function")return Ie(n,y(n));if(typeof n=="string")return ce(n);switch(n){case g:return ce("Suspense");case h:return ce("SuspenseList")}if(typeof n=="object")switch(n.$$typeof){case l:return qe(n.render);case d:return Z(n.type,u,m);case b:{var S=n,O=S._payload,A=S._init;try{return Z(A(O),u,m)}catch{}}}return""}var K=Object.prototype.hasOwnProperty,be={},yr=E.ReactDebugCurrentFrame;function Me(n){if(n){var u=n._owner,m=Z(n.type,n._source,u?u.type:null);yr.setExtraStackFrame(m)}else yr.setExtraStackFrame(null)}function St(n,u,m,S,O){{var A=Function.call.bind(K);for(var j in n)if(A(n,j)){var R=void 0;try{if(typeof n[j]!="function"){var D=Error((S||"React class")+": "+m+" type `"+j+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof n[j]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw D.name="Invariant Violation",D}R=n[j](u,j,S,m,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(M){R=M}R&&!(R instanceof Error)&&(Me(O),k("%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).",S||"React class",m,j,typeof R),Me(null)),R instanceof Error&&!(R.message in be)&&(be[R.message]=!0,Me(O),k("Failed %s type: %s",m,R.message),Me(null))}}}var Et=Array.isArray;function Ge(n){return Et(n)}function Ct(n){{var u=typeof Symbol=="function"&&Symbol.toStringTag,m=u&&n[Symbol.toStringTag]||n.constructor.name||"Object";return m}}function kt(n){try{return xr(n),!1}catch{return!0}}function xr(n){return""+n}function wr(n){if(kt(n))return k("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Ct(n)),xr(n)}var ye=E.ReactCurrentOwner,Rt={key:!0,ref:!0,__self:!0,__source:!0},Sr,Er,Ke;Ke={};function Tt(n){if(K.call(n,"ref")){var u=Object.getOwnPropertyDescriptor(n,"ref").get;if(u&&u.isReactWarning)return!1}return n.ref!==void 0}function jt(n){if(K.call(n,"key")){var u=Object.getOwnPropertyDescriptor(n,"key").get;if(u&&u.isReactWarning)return!1}return n.key!==void 0}function _t(n,u){if(typeof n.ref=="string"&&ye.current&&u&&ye.current.stateNode!==u){var m=B(ye.current.type);Ke[m]||(k('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',B(ye.current.type),n.ref),Ke[m]=!0)}}function Ot(n,u){{var m=function(){Sr||(Sr=!0,k("%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)",u))};m.isReactWarning=!0,Object.defineProperty(n,"key",{get:m,configurable:!0})}}function Pt(n,u){{var m=function(){Er||(Er=!0,k("%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)",u))};m.isReactWarning=!0,Object.defineProperty(n,"ref",{get:m,configurable:!0})}}var $t=function(n,u,m,S,O,A,j){var R={$$typeof:t,type:n,key:u,ref:m,props:j,_owner:A};return R._store={},Object.defineProperty(R._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(R,"_self",{configurable:!1,enumerable:!1,writable:!1,value:S}),Object.defineProperty(R,"_source",{configurable:!1,enumerable:!1,writable:!1,value:O}),Object.freeze&&(Object.freeze(R.props),Object.freeze(R)),R};function At(n,u,m,S,O){{var A,j={},R=null,D=null;m!==void 0&&(wr(m),R=""+m),jt(u)&&(wr(u.key),R=""+u.key),Tt(u)&&(D=u.ref,_t(u,O));for(A in u)K.call(u,A)&&!Rt.hasOwnProperty(A)&&(j[A]=u[A]);if(n&&n.defaultProps){var M=n.defaultProps;for(A in M)j[A]===void 0&&(j[A]=M[A])}if(R||D){var N=typeof n=="function"?n.displayName||n.name||"Unknown":n;R&&Ot(j,N),D&&Pt(j,N)}return $t(n,R,D,O,S,ye.current,j)}}var Je=E.ReactCurrentOwner,Cr=E.ReactDebugCurrentFrame;function ue(n){if(n){var u=n._owner,m=Z(n.type,n._source,u?u.type:null);Cr.setExtraStackFrame(m)}else Cr.setExtraStackFrame(null)}var Xe;Xe=!1;function Ze(n){return typeof n=="object"&&n!==null&&n.$$typeof===t}function kr(){{if(Je.current){var n=B(Je.current.type);if(n)return`
22
+
23
+ Check the render method of \``+n+"`."}return""}}function It(n){{if(n!==void 0){var u=n.fileName.replace(/^.*[\\\/]/,""),m=n.lineNumber;return`
24
+
25
+ Check your code at `+u+":"+m+"."}return""}}var Rr={};function Mt(n){{var u=kr();if(!u){var m=typeof n=="string"?n:n.displayName||n.name;m&&(u=`
26
+
27
+ Check the top-level render call using <`+m+">.")}return u}}function Tr(n,u){{if(!n._store||n._store.validated||n.key!=null)return;n._store.validated=!0;var m=Mt(u);if(Rr[m])return;Rr[m]=!0;var S="";n&&n._owner&&n._owner!==Je.current&&(S=" It was passed a child from "+B(n._owner.type)+"."),ue(n),k('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',m,S),ue(null)}}function jr(n,u){{if(typeof n!="object")return;if(Ge(n))for(var m=0;m<n.length;m++){var S=n[m];Ze(S)&&Tr(S,u)}else if(Ze(n))n._store&&(n._store.validated=!0);else if(n){var O=c(n);if(typeof O=="function"&&O!==n.entries)for(var A=O.call(n),j;!(j=A.next()).done;)Ze(j.value)&&Tr(j.value,u)}}}function Nt(n){{var u=n.type;if(u==null||typeof u=="string")return;var m;if(typeof u=="function")m=u.propTypes;else if(typeof u=="object"&&(u.$$typeof===l||u.$$typeof===d))m=u.propTypes;else return;if(m){var S=B(u);St(m,n.props,"prop",S,n)}else if(u.PropTypes!==void 0&&!Xe){Xe=!0;var O=B(u);k("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",O||"Unknown")}typeof u.getDefaultProps=="function"&&!u.getDefaultProps.isReactClassApproved&&k("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Ft(n){{for(var u=Object.keys(n.props),m=0;m<u.length;m++){var S=u[m];if(S!=="children"&&S!=="key"){ue(n),k("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",S),ue(null);break}}n.ref!==null&&(ue(n),k("Invalid attribute `ref` supplied to `React.Fragment`."),ue(null))}}function _r(n,u,m,S,O,A){{var j=ie(n);if(!j){var R="";(n===void 0||typeof n=="object"&&n!==null&&Object.keys(n).length===0)&&(R+=" 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 D=It(O);D?R+=D:R+=kr();var M;n===null?M="null":Ge(n)?M="array":n!==void 0&&n.$$typeof===t?(M="<"+(B(n.type)||"Unknown")+" />",R=" Did you accidentally export a JSX literal instead of a component?"):M=typeof n,k("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",M,R)}var N=At(n,u,m,O,A);if(N==null)return N;if(j){var H=u.children;if(H!==void 0)if(S)if(Ge(H)){for(var fe=0;fe<H.length;fe++)jr(H[fe],n);Object.freeze&&Object.freeze(H)}else k("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 jr(H,n)}return n===a?Ft(N):Nt(N),N}}function Lt(n,u,m){return _r(n,u,m,!0)}function Dt(n,u,m){return _r(n,u,m,!1)}var Bt=Dt,zt=Lt;we.Fragment=a,we.jsx=Bt,we.jsxs=zt}()),we}process.env.NODE_ENV==="production"?ir.exports=Ht():ir.exports=Vt();var p=ir.exports;const Re=300,Zr=w.keyframes`
28
+ from {
29
+ transform: translateY(-100%);
30
+ border-color: transparent;
31
+ }
32
+ to {
33
+ transform: translateY(0%);
34
+ border-color: #fff;
35
+ }
36
+ `,Ut=w.css`animation: ${Re}ms ease-in ${Zr};`,qt=w.css`animation: ${Re}ms ease-in reverse ${Zr};`,Gt=w.div`
37
+ transition: filter ${Re*1.3}ms ease-in-out;
38
+ cursor: pointer;
39
+ min-height: 32px;
40
+ z-index: 1;
41
+ user-select: none;
42
+
43
+ &:hover {
44
+ filter: brightness(1.15)
45
+ }
46
+ `,Kt=w.div`
47
+ overflow: hidden;
48
+ transition: all ${Re}ms ease-in-out;
49
+ width: 100%;
50
+ `,Jt=w.div`
51
+ ${e=>e.$open?Ut:qt};
52
+ border-radius: inherit;
53
+ border: ${e=>e.$border};
54
+ border-top: unset;
55
+ `,Qr=x.forwardRef(({open:e,onChange:t,defaultOpen:r,header:a,border:o,style:s,width:i,children:f},l)=>{const{token:g}=T.theme.useToken(),[h,d]=x.useState(0),[b,C]=x.useState(!1),_=x.useRef(null),v=()=>{var I;return d((I=_.current)==null?void 0:I.offsetHeight)};x.useImperativeHandle(l,()=>({calculateHeight:v}));const c=x.useCallback(()=>{v(),C(!0),t==null||t(!0)},[t]),E=x.useCallback(()=>{C(!1),t==null||t(!1)},[t]),k=()=>{e===void 0?b?E():c():t==null||t(!b)};return x.useEffect(()=>{typeof e=="boolean"&&(e?c():E())},[e,E,c]),x.useEffect(()=>{r&&c()},[r,c]),p.jsxs("div",{style:{width:i},children:[p.jsx(Gt,{onClick:k,children:a}),p.jsx(Kt,{style:Object.assign({},s,{height:b?h:0}),children:p.jsx(Jt,{ref:_,$open:b,$border:o?`1px solid ${g.colorBorder}`:"unset",children:f})})]})});var Xt=x.createContext({});const et=Xt;function Ce(){return Ce=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e},Ce.apply(this,arguments)}function Zt(e){if(Array.isArray(e))return e}function Qt(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var a,o,s,i,f=[],l=!0,g=!1;try{if(s=(r=r.call(e)).next,t===0){if(Object(r)!==r)return;l=!1}else for(;!(l=(a=s.call(r)).done)&&(f.push(a.value),f.length!==t);l=!0);}catch(h){g=!0,o=h}finally{try{if(!l&&r.return!=null&&(i=r.return(),Object(i)!==i))return}finally{if(g)throw o}}return f}}function Ar(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,a=new Array(t);r<t;r++)a[r]=e[r];return a}function en(e,t){if(e){if(typeof e=="string")return Ar(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Ar(e,t)}}function rn(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
56
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ke(e,t){return Zt(e)||Qt(e,t)||en(e,t)||rn()}function ne(e){"@babel/helpers - typeof";return ne=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ne(e)}function tn(e,t){if(ne(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var a=r.call(e,t||"default");if(ne(a)!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function nn(e){var t=tn(e,"string");return ne(t)=="symbol"?t:String(t)}function sr(e,t,r){return t=nn(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function an(e,t){if(e==null)return{};var r={},a=Object.keys(e),o,s;for(s=0;s<a.length;s++)o=a[s],!(t.indexOf(o)>=0)&&(r[o]=e[o]);return r}function rt(e,t){if(e==null)return{};var r=an(e,t),a,o;if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(o=0;o<s.length;o++)a=s[o],!(t.indexOf(a)>=0)&&Object.prototype.propertyIsEnumerable.call(e,a)&&(r[a]=e[a])}return r}var tt={exports:{}};/*!
57
+ Copyright (c) 2018 Jed Watson.
58
+ Licensed under the MIT License (MIT), see
59
+ http://jedwatson.github.io/classnames
60
+ */(function(e){(function(){var t={}.hasOwnProperty;function r(){for(var s="",i=0;i<arguments.length;i++){var f=arguments[i];f&&(s=o(s,a(f)))}return s}function a(s){if(typeof s=="string"||typeof s=="number")return s;if(typeof s!="object")return"";if(Array.isArray(s))return r.apply(null,s);if(s.toString!==Object.prototype.toString&&!s.toString.toString().includes("[native code]"))return s.toString();var i="";for(var f in s)t.call(s,f)&&s[f]&&(i=o(i,f));return i}function o(s,i){return i?s?s+" "+i:s+i:s}e.exports?(r.default=r,e.exports=r):window.classNames=r})()})(tt);var on=tt.exports;const sn=Yt(on);function V(e,t){cn(e)&&(e="100%");var r=ln(e);return e=t===360?e:Math.min(t,Math.max(0,parseFloat(e))),r&&(e=parseInt(String(e*t),10)/100),Math.abs(e-t)<1e-6?1:(t===360?e=(e<0?e%t+t:e%t)/parseFloat(String(t)):e=e%t/parseFloat(String(t)),e)}function cn(e){return typeof e=="string"&&e.indexOf(".")!==-1&&parseFloat(e)===1}function ln(e){return typeof e=="string"&&e.indexOf("%")!==-1}function un(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function Ne(e){return e<=1?"".concat(Number(e)*100,"%"):e}function Qe(e){return e.length===1?"0"+e:String(e)}function fn(e,t,r){return{r:V(e,255)*255,g:V(t,255)*255,b:V(r,255)*255}}function er(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+(t-e)*(6*r):r<1/2?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function dn(e,t,r){var a,o,s;if(e=V(e,360),t=V(t,100),r=V(r,100),t===0)o=r,s=r,a=r;else{var i=r<.5?r*(1+t):r+t-r*t,f=2*r-i;a=er(f,i,e+1/3),o=er(f,i,e),s=er(f,i,e-1/3)}return{r:a*255,g:o*255,b:s*255}}function pn(e,t,r){e=V(e,255),t=V(t,255),r=V(r,255);var a=Math.max(e,t,r),o=Math.min(e,t,r),s=0,i=a,f=a-o,l=a===0?0:f/a;if(a===o)s=0;else{switch(a){case e:s=(t-r)/f+(t<r?6:0);break;case t:s=(r-e)/f+2;break;case r:s=(e-t)/f+4;break}s/=6}return{h:s,s:l,v:i}}function gn(e,t,r){e=V(e,360)*6,t=V(t,100),r=V(r,100);var a=Math.floor(e),o=e-a,s=r*(1-t),i=r*(1-o*t),f=r*(1-(1-o)*t),l=a%6,g=[r,i,s,s,f,r][l],h=[f,r,r,i,s,s][l],d=[s,s,f,r,r,i][l];return{r:g*255,g:h*255,b:d*255}}function hn(e,t,r,a){var o=[Qe(Math.round(e).toString(16)),Qe(Math.round(t).toString(16)),Qe(Math.round(r).toString(16))];return a&&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 Ir(e){return z(e)/255}function z(e){return parseInt(e,16)}var Mr={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 Se(e){var t={r:0,g:0,b:0},r=1,a=null,o=null,s=null,i=!1,f=!1;return typeof e=="string"&&(e=bn(e)),typeof e=="object"&&(X(e.r)&&X(e.g)&&X(e.b)?(t=fn(e.r,e.g,e.b),i=!0,f=String(e.r).substr(-1)==="%"?"prgb":"rgb"):X(e.h)&&X(e.s)&&X(e.v)?(a=Ne(e.s),o=Ne(e.v),t=gn(e.h,a,o),i=!0,f="hsv"):X(e.h)&&X(e.s)&&X(e.l)&&(a=Ne(e.s),s=Ne(e.l),t=dn(e.h,a,s),i=!0,f="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(r=e.a)),r=un(r),{ok:i,format:e.format||f,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:r}}var mn="[-\\+]?\\d+%?",vn="[-\\+]?\\d*\\.\\d+%?",Q="(?:".concat(vn,")|(?:").concat(mn,")"),rr="[\\s|\\(]+(".concat(Q,")[,|\\s]+(").concat(Q,")[,|\\s]+(").concat(Q,")\\s*\\)?"),tr="[\\s|\\(]+(".concat(Q,")[,|\\s]+(").concat(Q,")[,|\\s]+(").concat(Q,")[,|\\s]+(").concat(Q,")\\s*\\)?"),U={CSS_UNIT:new RegExp(Q),rgb:new RegExp("rgb"+rr),rgba:new RegExp("rgba"+tr),hsl:new RegExp("hsl"+rr),hsla:new RegExp("hsla"+tr),hsv:new RegExp("hsv"+rr),hsva:new RegExp("hsva"+tr),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 bn(e){if(e=e.trim().toLowerCase(),e.length===0)return!1;var t=!1;if(Mr[e])e=Mr[e],t=!0;else if(e==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var r=U.rgb.exec(e);return r?{r:r[1],g:r[2],b:r[3]}:(r=U.rgba.exec(e),r?{r:r[1],g:r[2],b:r[3],a:r[4]}:(r=U.hsl.exec(e),r?{h:r[1],s:r[2],l:r[3]}:(r=U.hsla.exec(e),r?{h:r[1],s:r[2],l:r[3],a:r[4]}:(r=U.hsv.exec(e),r?{h:r[1],s:r[2],v:r[3]}:(r=U.hsva.exec(e),r?{h:r[1],s:r[2],v:r[3],a:r[4]}:(r=U.hex8.exec(e),r?{r:z(r[1]),g:z(r[2]),b:z(r[3]),a:Ir(r[4]),format:t?"name":"hex8"}:(r=U.hex6.exec(e),r?{r:z(r[1]),g:z(r[2]),b:z(r[3]),format:t?"name":"hex"}:(r=U.hex4.exec(e),r?{r:z(r[1]+r[1]),g:z(r[2]+r[2]),b:z(r[3]+r[3]),a:Ir(r[4]+r[4]),format:t?"name":"hex8"}:(r=U.hex3.exec(e),r?{r:z(r[1]+r[1]),g:z(r[2]+r[2]),b:z(r[3]+r[3]),format:t?"name":"hex"}:!1)))))))))}function X(e){return!!U.CSS_UNIT.exec(String(e))}var Fe=2,Nr=.16,yn=.05,xn=.05,wn=.15,nt=5,at=4,Sn=[{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 Fr(e){var t=e.r,r=e.g,a=e.b,o=pn(t,r,a);return{h:o.h*360,s:o.s,v:o.v}}function Le(e){var t=e.r,r=e.g,a=e.b;return"#".concat(hn(t,r,a,!1))}function En(e,t,r){var a=r/100,o={r:(t.r-e.r)*a+e.r,g:(t.g-e.g)*a+e.g,b:(t.b-e.b)*a+e.b};return o}function Lr(e,t,r){var a;return Math.round(e.h)>=60&&Math.round(e.h)<=240?a=r?Math.round(e.h)-Fe*t:Math.round(e.h)+Fe*t:a=r?Math.round(e.h)+Fe*t:Math.round(e.h)-Fe*t,a<0?a+=360:a>=360&&(a-=360),a}function Dr(e,t,r){if(e.h===0&&e.s===0)return e.s;var a;return r?a=e.s-Nr*t:t===at?a=e.s+Nr:a=e.s+yn*t,a>1&&(a=1),r&&t===nt&&a>.1&&(a=.1),a<.06&&(a=.06),Number(a.toFixed(2))}function Br(e,t,r){var a;return r?a=e.v+xn*t:a=e.v-wn*t,a>1&&(a=1),Number(a.toFixed(2))}function cr(e){for(var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=[],a=Se(e),o=nt;o>0;o-=1){var s=Fr(a),i=Le(Se({h:Lr(s,o,!0),s:Dr(s,o,!0),v:Br(s,o,!0)}));r.push(i)}r.push(Le(a));for(var f=1;f<=at;f+=1){var l=Fr(a),g=Le(Se({h:Lr(l,f),s:Dr(l,f),v:Br(l,f)}));r.push(g)}return t.theme==="dark"?Sn.map(function(h){var d=h.index,b=h.opacity,C=Le(En(Se(t.backgroundColor||"#141414"),Se(r[d]),b*100));return C}):r}var nr={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"},De={},ar={};Object.keys(nr).forEach(function(e){De[e]=cr(nr[e]),De[e].primary=De[e][5],ar[e]=cr(nr[e],{theme:"dark",backgroundColor:"#141414"}),ar[e].primary=ar[e][5]});var Cn=De.blue;function zr(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,a)}return r}function G(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?zr(Object(r),!0).forEach(function(a){sr(e,a,r[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):zr(Object(r)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(r,a))})}return e}function ot(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function kn(e,t){if(!e)return!1;if(e.contains)return e.contains(t);for(var r=t;r;){if(r===e)return!0;r=r.parentNode}return!1}var Wr="data-rc-order",Yr="data-rc-priority",Rn="rc-util-key",lr=new Map;function it(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.mark;return t?t.startsWith("data-")?t:"data-".concat(t):Rn}function pr(e){if(e.attachTo)return e.attachTo;var t=document.querySelector("head");return t||document.body}function Tn(e){return e==="queue"?"prependQueue":e?"prepend":"append"}function gr(e){return Array.from((lr.get(e)||e).children).filter(function(t){return t.tagName==="STYLE"})}function st(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!ot())return null;var r=t.csp,a=t.prepend,o=t.priority,s=o===void 0?0:o,i=Tn(a),f=i==="prependQueue",l=document.createElement("style");l.setAttribute(Wr,i),f&&s&&l.setAttribute(Yr,"".concat(s)),r!=null&&r.nonce&&(l.nonce=r==null?void 0:r.nonce),l.innerHTML=e;var g=pr(t),h=g.firstChild;if(a){if(f){var d=(t.styles||gr(g)).filter(function(b){if(!["prepend","prependQueue"].includes(b.getAttribute(Wr)))return!1;var C=Number(b.getAttribute(Yr)||0);return s>=C});if(d.length)return g.insertBefore(l,d[d.length-1].nextSibling),l}g.insertBefore(l,h)}else g.appendChild(l);return l}function jn(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=pr(t);return(t.styles||gr(r)).find(function(a){return a.getAttribute(it(t))===e})}function _n(e,t){var r=lr.get(e);if(!r||!kn(document,r)){var a=st("",t),o=a.parentNode;lr.set(e,o),e.removeChild(a)}}function On(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a=pr(r),o=gr(a),s=G(G({},r),{},{styles:o});_n(a,s);var i=jn(t,s);if(i){var f,l;if((f=s.csp)!==null&&f!==void 0&&f.nonce&&i.nonce!==((l=s.csp)===null||l===void 0?void 0:l.nonce)){var g;i.nonce=(g=s.csp)===null||g===void 0?void 0:g.nonce}return i.innerHTML!==e&&(i.innerHTML=e),i}var h=st(e,s);return h.setAttribute(it(s),t),h}function ct(e){var t;return e==null||(t=e.getRootNode)===null||t===void 0?void 0:t.call(e)}function Pn(e){return ct(e)instanceof ShadowRoot}function $n(e){return Pn(e)?ct(e):null}var ur={},hr=[],An=function(t){hr.push(t)};function In(e,t){if(process.env.NODE_ENV!=="production"&&!e&&console!==void 0){var r=hr.reduce(function(a,o){return o(a??"","warning")},t);r&&console.error("Warning: ".concat(r))}}function Mn(e,t){if(process.env.NODE_ENV!=="production"&&!e&&console!==void 0){var r=hr.reduce(function(a,o){return o(a??"","note")},t);r&&console.warn("Note: ".concat(r))}}function Nn(){ur={}}function lt(e,t,r){!t&&!ur[r]&&(e(!1,r),ur[r]=!0)}function ze(e,t){lt(In,e,t)}function Fn(e,t){lt(Mn,e,t)}ze.preMessage=An;ze.resetWarned=Nn;ze.noteOnce=Fn;function Ln(e){return e.replace(/-(.)/g,function(t,r){return r.toUpperCase()})}function Dn(e,t){ze(e,"[@ant-design/icons] ".concat(t))}function Hr(e){return ne(e)==="object"&&typeof e.name=="string"&&typeof e.theme=="string"&&(ne(e.icon)==="object"||typeof e.icon=="function")}function Vr(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Object.keys(e).reduce(function(t,r){var a=e[r];switch(r){case"class":t.className=a,delete t.class;break;default:delete t[r],t[Ln(r)]=a}return t},{})}function fr(e,t,r){return r?x.createElement(e.tag,G(G({key:t},Vr(e.attrs)),r),(e.children||[]).map(function(a,o){return fr(a,"".concat(t,"-").concat(e.tag,"-").concat(o))})):x.createElement(e.tag,G({key:t},Vr(e.attrs)),(e.children||[]).map(function(a,o){return fr(a,"".concat(t,"-").concat(e.tag,"-").concat(o))}))}function ut(e){return cr(e)[0]}function ft(e){return e?Array.isArray(e)?e:[e]:[]}var Bn=`
61
+ .anticon {
62
+ display: inline-block;
63
+ color: inherit;
64
+ font-style: normal;
65
+ line-height: 0;
66
+ text-align: center;
67
+ text-transform: none;
68
+ vertical-align: -0.125em;
69
+ text-rendering: optimizeLegibility;
70
+ -webkit-font-smoothing: antialiased;
71
+ -moz-osx-font-smoothing: grayscale;
72
+ }
73
+
74
+ .anticon > * {
75
+ line-height: 1;
76
+ }
77
+
78
+ .anticon svg {
79
+ display: inline-block;
80
+ }
81
+
82
+ .anticon::before {
83
+ display: none;
84
+ }
85
+
86
+ .anticon .anticon-icon {
87
+ display: block;
88
+ }
89
+
90
+ .anticon[tabindex] {
91
+ cursor: pointer;
92
+ }
93
+
94
+ .anticon-spin::before,
95
+ .anticon-spin {
96
+ display: inline-block;
97
+ -webkit-animation: loadingCircle 1s infinite linear;
98
+ animation: loadingCircle 1s infinite linear;
99
+ }
100
+
101
+ @-webkit-keyframes loadingCircle {
102
+ 100% {
103
+ -webkit-transform: rotate(360deg);
104
+ transform: rotate(360deg);
105
+ }
106
+ }
107
+
108
+ @keyframes loadingCircle {
109
+ 100% {
110
+ -webkit-transform: rotate(360deg);
111
+ transform: rotate(360deg);
112
+ }
113
+ }
114
+ `,zn=function(t){var r=x.useContext(et),a=r.csp,o=r.prefixCls,s=Bn;o&&(s=s.replace(/anticon/g,o)),x.useEffect(function(){var i=t.current,f=$n(i);On(s,"@ant-design-icons",{prepend:!0,csp:a,attachTo:f})},[])},Wn=["icon","className","onClick","style","primaryColor","secondaryColor"],Ee={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function Yn(e){var t=e.primaryColor,r=e.secondaryColor;Ee.primaryColor=t,Ee.secondaryColor=r||ut(t),Ee.calculated=!!r}function Hn(){return G({},Ee)}var We=function(t){var r=t.icon,a=t.className,o=t.onClick,s=t.style,i=t.primaryColor,f=t.secondaryColor,l=rt(t,Wn),g=L.useRef(),h=Ee;if(i&&(h={primaryColor:i,secondaryColor:f||ut(i)}),zn(g),Dn(Hr(r),"icon should be icon definiton, but got ".concat(r)),!Hr(r))return null;var d=r;return d&&typeof d.icon=="function"&&(d=G(G({},d),{},{icon:d.icon(h.primaryColor,h.secondaryColor)})),fr(d.icon,"svg-".concat(d.name),G(G({className:a,onClick:o,style:s,"data-icon":d.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},l),{},{ref:g}))};We.displayName="IconReact";We.getTwoToneColors=Hn;We.setTwoToneColors=Yn;const mr=We;function dt(e){var t=ft(e),r=ke(t,2),a=r[0],o=r[1];return mr.setTwoToneColors({primaryColor:a,secondaryColor:o})}function Vn(){var e=mr.getTwoToneColors();return e.calculated?[e.primaryColor,e.secondaryColor]:e.primaryColor}var Un=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];dt(Cn.primary);var Ye=L.forwardRef(function(e,t){var r=e.className,a=e.icon,o=e.spin,s=e.rotate,i=e.tabIndex,f=e.onClick,l=e.twoToneColor,g=rt(e,Un),h=L.useContext(et),d=h.prefixCls,b=d===void 0?"anticon":d,C=h.rootClassName,_=sn(C,b,sr(sr({},"".concat(b,"-").concat(a.name),!!a.name),"".concat(b,"-spin"),!!o||a.name==="loading"),r),v=i;v===void 0&&f&&(v=-1);var c=s?{msTransform:"rotate(".concat(s,"deg)"),transform:"rotate(".concat(s,"deg)")}:void 0,E=ft(l),k=ke(E,2),I=k[0],W=k[1];return L.createElement("span",Ce({role:"img","aria-label":a.name},g,{ref:t,tabIndex:v,onClick:f,className:_}),L.createElement(mr,{icon:a,primaryColor:I,secondaryColor:W,style:c}))});Ye.displayName="AntdIcon";Ye.getTwoToneColor=Vn;Ye.setTwoToneColor=dt;const pt=Ye;var qn={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"}}]},name:"loading",theme:"outlined"};const Gn=qn;var gt=function(t,r){return L.createElement(pt,Ce({},t,{ref:r,icon:Gn}))};process.env.NODE_ENV!=="production"&&(gt.displayName="LoadingOutlined");const Kn=L.forwardRef(gt);var Jn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"};const Xn=Jn;var ht=function(t,r){return L.createElement(pt,Ce({},t,{ref:r,icon:Xn}))};process.env.NODE_ENV!=="production"&&(ht.displayName="RightOutlined");const Zn=L.forwardRef(ht);var P={};/**
115
+ * @license React
116
+ * react-is.production.min.js
117
+ *
118
+ * Copyright (c) Facebook, Inc. and its affiliates.
119
+ *
120
+ * This source code is licensed under the MIT license found in the
121
+ * LICENSE file in the root directory of this source tree.
122
+ */var Ur;function Qn(){if(Ur)return P;Ur=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),i=Symbol.for("react.context"),f=Symbol.for("react.server_context"),l=Symbol.for("react.forward_ref"),g=Symbol.for("react.suspense"),h=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),b=Symbol.for("react.lazy"),C=Symbol.for("react.offscreen"),_;_=Symbol.for("react.module.reference");function v(c){if(typeof c=="object"&&c!==null){var E=c.$$typeof;switch(E){case e:switch(c=c.type,c){case r:case o:case a:case g:case h:return c;default:switch(c=c&&c.$$typeof,c){case f:case i:case l:case b:case d:case s:return c;default:return E}}case t:return E}}}return P.ContextConsumer=i,P.ContextProvider=s,P.Element=e,P.ForwardRef=l,P.Fragment=r,P.Lazy=b,P.Memo=d,P.Portal=t,P.Profiler=o,P.StrictMode=a,P.Suspense=g,P.SuspenseList=h,P.isAsyncMode=function(){return!1},P.isConcurrentMode=function(){return!1},P.isContextConsumer=function(c){return v(c)===i},P.isContextProvider=function(c){return v(c)===s},P.isElement=function(c){return typeof c=="object"&&c!==null&&c.$$typeof===e},P.isForwardRef=function(c){return v(c)===l},P.isFragment=function(c){return v(c)===r},P.isLazy=function(c){return v(c)===b},P.isMemo=function(c){return v(c)===d},P.isPortal=function(c){return v(c)===t},P.isProfiler=function(c){return v(c)===o},P.isStrictMode=function(c){return v(c)===a},P.isSuspense=function(c){return v(c)===g},P.isSuspenseList=function(c){return v(c)===h},P.isValidElementType=function(c){return typeof c=="string"||typeof c=="function"||c===r||c===o||c===a||c===g||c===h||c===C||typeof c=="object"&&c!==null&&(c.$$typeof===b||c.$$typeof===d||c.$$typeof===s||c.$$typeof===i||c.$$typeof===l||c.$$typeof===_||c.getModuleId!==void 0)},P.typeOf=v,P}var $={};/**
123
+ * @license React
124
+ * react-is.development.js
125
+ *
126
+ * Copyright (c) Facebook, Inc. and its affiliates.
127
+ *
128
+ * This source code is licensed under the MIT license found in the
129
+ * LICENSE file in the root directory of this source tree.
130
+ */var qr;function ea(){return qr||(qr=1,process.env.NODE_ENV!=="production"&&function(){var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),i=Symbol.for("react.context"),f=Symbol.for("react.server_context"),l=Symbol.for("react.forward_ref"),g=Symbol.for("react.suspense"),h=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),b=Symbol.for("react.lazy"),C=Symbol.for("react.offscreen"),_=!1,v=!1,c=!1,E=!1,k=!1,I;I=Symbol.for("react.module.reference");function W(y){return!!(typeof y=="string"||typeof y=="function"||y===r||y===o||k||y===a||y===g||y===h||E||y===C||_||v||c||typeof y=="object"&&y!==null&&(y.$$typeof===b||y.$$typeof===d||y.$$typeof===s||y.$$typeof===i||y.$$typeof===l||y.$$typeof===I||y.getModuleId!==void 0))}function F(y){if(typeof y=="object"&&y!==null){var Z=y.$$typeof;switch(Z){case e:var K=y.type;switch(K){case r:case o:case a:case g:case h:return K;default:var be=K&&K.$$typeof;switch(be){case f:case i:case l:case b:case d:case s:return be;default:return Z}}case t:return Z}}}var de=i,ae=s,oe=e,ee=l,ie=r,se=b,re=d,B=t,Y=o,q=a,je=g,_e=h,pe=!1,ge=!1;function Oe(y){return pe||(pe=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1}function Pe(y){return ge||(ge=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1}function $e(y){return F(y)===i}function Ae(y){return F(y)===s}function He(y){return typeof y=="object"&&y!==null&&y.$$typeof===e}function Ve(y){return F(y)===l}function he(y){return F(y)===r}function me(y){return F(y)===b}function ce(y){return F(y)===d}function ve(y){return F(y)===t}function le(y){return F(y)===o}function Ue(y){return F(y)===a}function Ie(y){return F(y)===g}function qe(y){return F(y)===h}$.ContextConsumer=de,$.ContextProvider=ae,$.Element=oe,$.ForwardRef=ee,$.Fragment=ie,$.Lazy=se,$.Memo=re,$.Portal=B,$.Profiler=Y,$.StrictMode=q,$.Suspense=je,$.SuspenseList=_e,$.isAsyncMode=Oe,$.isConcurrentMode=Pe,$.isContextConsumer=$e,$.isContextProvider=Ae,$.isElement=He,$.isForwardRef=Ve,$.isFragment=he,$.isLazy=me,$.isMemo=ce,$.isPortal=ve,$.isProfiler=le,$.isStrictMode=Ue,$.isSuspense=Ie,$.isSuspenseList=qe,$.isValidElementType=W,$.typeOf=F}()),$}process.env.NODE_ENV==="production"?Qn():ea();const ra=w.div`
131
+ padding: 0 12px;
132
+ align-items: center;
133
+ display: flex;
134
+ justify-content: space-between;
135
+ width: calc(100% - 2 * 12px);
136
+ border-radius: 6px;
137
+ height: 32px;
138
+ `,ta=w.div`
139
+ display: flex;
140
+ align-items: center;
141
+ gap: 6px;
142
+ font-weight: 400;
143
+ font-style: italic;
144
+ `,na=w(Zn)`
145
+ font-size: 18px;
146
+ color: ${e=>e.color};
147
+ svg {
148
+ transition: transform ${Re*.7}ms ease-in-out;
149
+ }
150
+ `,aa=x.forwardRef(({open:e,onChange:t,defaultOpen:r,title:a,image:o,rightText:s,activeColor:i,inactiveColor:f,border:l,style:g,width:h,children:d},b)=>{const{token:C}=T.theme.useToken(),[_,v]=x.useState(!1);i||(i=C.colorFill),f||(f=C.colorFillSecondary);const c=I=>{v(I),t==null||t(I)},E=()=>o?p.jsx("img",{src:o,style:{height:18},alt:"dropdown"}):p.jsx(na,{rotate:_?90:0,color:C.colorPrimary}),k=Object.assign({borderEndStartRadius:6,borderEndEndRadius:6},g==null?void 0:g.children);return p.jsx(Qr,{ref:b,header:p.jsxs(ra,{style:Object.assign({backgroundColor:_?i:f,borderEndStartRadius:_&&0,borderEndEndRadius:_&&0},g==null?void 0:g.header),children:[p.jsx(T.Typography.Text,{children:a}),p.jsxs(ta,{children:[p.jsx(T.Typography.Text,{children:s}),E()]})]}),border:l,defaultOpen:r,open:e,onChange:c,style:k,width:h,children:d})}),oa=w.div`
151
+ padding: 12px;
152
+ `,ia=x.forwardRef(({children:e,background:t},r)=>{const{token:{colorFillSecondary:a}}=T.theme.useToken();return p.jsx(oa,{ref:r,style:{background:t||`linear-gradient(150deg, transparent 30%, ${a})`},children:e})}),Te=aa;Te.Content=ia;Te.Base=Qr;const Be=w.div`
153
+ cursor: pointer;
154
+ height: var(--row-height);
155
+ width: calc(100% - 2 * 8px);
156
+ padding: 0 8px;
157
+ margin: 0;
158
+ border-bottom: 1px solid ${e=>e.$colorBorder||"#d9d9d9"};
159
+ display: flex;
160
+ align-items: center;
161
+ justify-content: space-between;
162
+ transition: backdrop-filter .4s;
163
+
164
+ &:hover {
165
+ backdrop-filter: brightness(1.2);
166
+ }
167
+ `,mt=w(T.Typography.Text)`
168
+ max-width: calc(100% - 3.5rem);
169
+ overflow: hidden;
170
+ text-overflow: ellipsis;
171
+ font-weight: 500;
172
+ `,sa=w(Be)`
173
+ &:last-child {
174
+ border-bottom: unset;
175
+ }
176
+
177
+ &.active {
178
+ background-color: ${e=>e.$colorActiveBg};
179
+ }
180
+ `,vt=({item:e,onClick:t,active:r,parentKey:a,itemRender:o})=>{const{token:{colorBorder:s,colorPrimary:i}}=T.theme.useToken(),f=o||(h=>h),l=[e.key];a&&l.unshift(a);const g=h=>{t==null||t({item:e,key:e.key,keyPath:l,domEvent:h})};return f(p.jsxs(sa,{onClick:g,className:r&&"active",$colorBorder:s,$colorActiveBg:i,children:[p.jsx(mt,{children:e.label}),e.icon," "]}),{item:e,keyPath:l,key:e.key})},ca=({item:e,onClick:t,itemRender:r,open:a})=>{const{token:{colorPrimary:o,colorBorder:s}}=T.theme.useToken(),[i,f]=x.useState(!1),l=x.useRef(null),g=r||(b=>b),h=x.useCallback(async b=>{f(!!(typeof b=="boolean"?b:!i))},[i]),d=b=>{a===void 0&&h(),t==null||t({item:e,key:e.key,keyPath:[e.key],domEvent:b})};return x.useEffect(()=>{typeof a=="boolean"&&h(a)},[a,h]),x.useEffect(()=>{l.current.calculateHeight()},[e.children]),p.jsx(Te.Base,{ref:l,header:g(p.jsxs(Be,{onClick:d,style:{backgroundColor:i?o:void 0},$colorBorder:i?"transparent":s,children:[p.jsx(mt,{children:e==null?void 0:e.label}),e==null?void 0:e.icon]}),{item:e,keyPath:[e.key],key:e.key}),open:i,children:p.jsx("div",{style:{borderLeft:`1px solid ${o}`,borderRight:`2px solid ${o}`,borderBottom:`1px solid ${o}`,boxShadow:`inset 0 0 3px ${o}`},children:Array.isArray(e.children)&&e.children.map(b=>p.jsx(vt,{itemRender:g,onClick:t,item:b,parentKey:e.key},b.key))})})},la=w.div`
181
+ --row-height: 48px;
182
+ --site-selector-height: 100%;
183
+ height: 100%;
184
+
185
+ position: relative;
186
+ `,bt=w.div`
187
+ height: calc(var(--row-height) - 1px);
188
+ width: calc(100% - 2 * 6px);
189
+ padding: 0 6px;
190
+ display: flex;
191
+ align-items: center;
192
+ border-bottom: 1px solid gray;
193
+ `,ua=w.div`
194
+ height: calc(100% - 2 * var(--row-height));
195
+ overflow-y: auto;
196
+ `,fa=w(bt)`
197
+ justify-content: center;
198
+ background-color: rgba(163, 163, 163, 0.1);
199
+ border-top: 1px solid gray;
200
+ border-bottom: unset;
201
+ `,da=x.forwardRef(({items:e,messageEmpty:t,onClick:r,loading:a,openKeys:o,bottomAddon:s,search:i,onSearchChange:f,itemRender:l},g)=>{const[h,d]=x.useState([]),{token:{colorBorder:b}}=T.theme.useToken();x.useEffect(()=>{Array.isArray(o)&&d(o)},[o]);const C=v=>{o===void 0&&v.keyPath.length===1&&("children"in v.item?h.some(c=>c===v.key)?d(h.filter(c=>c!==v.key)):d(h.concat(v.key)):d([v.item.key])),r==null||r(v)},_=()=>a?p.jsx(Be,{$colorBorder:b,children:p.jsx(T.Typography.Text,{children:p.jsxs(T.Space,{children:[typeof a=="string"?a:"Loading items...",p.jsx(Kn,{})]})})}):e!=null&&e.length?e.map(v=>{if("type"in v)switch(v.type){case"group":return p.jsx(ca,{item:v,onClick:C,open:h.includes(v.key),itemRender:l},v.key)}return p.jsx(vt,{item:v,onClick:C,active:h.includes(v.key),itemRender:l},v.key)}):p.jsx(Be,{$colorBorder:b,children:p.jsx(T.Typography.Text,{children:t||"No items found"})});return p.jsxs(la,{ref:g,children:[p.jsx(bt,{children:p.jsx(T.Input.Search,{addonBefore:(e==null?void 0:e.length)||"0",onChange:v=>f(v.target.value),value:i,allowClear:!0,enterButton:"Search"})}),p.jsx(ua,{children:_()}),p.jsx(fa,{children:s})]})}),pa=w.div`
202
+ background: linear-gradient(60deg,rgba(75,80,85,.5),rgba(125,123,120,.5));
203
+ border-radius: 4px;
204
+ box-shadow: 0 .1em .3em rgba(0,0,0,.4);
205
+ margin-block: 16px;
206
+ padding: 12px 16px;
207
+
208
+ @media screen and (min-width: 768px) {
209
+ padding: 24px;
210
+ margin-inline: 4px;
211
+ }
212
+ `,ga=w.h3`
213
+ padding-inline: 6px;
214
+ padding-bottom: 4px;
215
+ margin: 0;
216
+ margin-bottom: 8px;
217
+ font-weight: 300;
218
+ color: #25b1ef;
219
+ border-bottom: 2px solid #25b1ef;
220
+
221
+ @media only screen and (min-width: 768px) {
222
+ font-size: 1.3rem;
223
+ }
224
+ `,ha=({children:e,title:t})=>p.jsxs(pa,{children:[t&&p.jsx(ga,{children:t}),e]}),ma=w.div`
225
+ background: radial-gradient(circle at 70% 50px, ${e=>e.$bgLight} 15%, ${e=>e.$bgMain} max(50%, 350px), ${e=>e.$bgAccent} max(100%, 800px));
226
+ padding: 12px 8px;
227
+ border-radius: 0;
228
+
229
+ @media screen and (min-width: 768px) {
230
+ padding: 24px 40px;
231
+ border-radius: 12px;
232
+ }
233
+ `,va=w.h2`
234
+ padding-inline: 8px;
235
+ margin-bottom: 2px;
236
+ font-weight: 300;
237
+ color: ${e=>e.$color};
238
+ font-size: 1.3rem;
239
+ width: max-content;
240
+ margin-top: 8px;
241
+
242
+ @media screen and (min-width: 768px) {
243
+ font-size: 2rem;
244
+ }
245
+ `,ba=w.div`
246
+ margin-bottom: .5em;
247
+ font-size: 1.3rem;
248
+ border-bottom: 1px solid ${e=>e.$color};
249
+
250
+ @media screen and (min-width: 768px) {
251
+ border-bottom: 3px solid ${e=>e.$color};
252
+ font-size: 2rem;
253
+ }
254
+ `,ya=({children:e,title:t})=>{const{token:{colorBgContainer:r,colorBgBase:a,colorPrimary:o,colorPrimaryBg:s}}=T.theme.useToken();return p.jsxs(ma,{$bgLight:r,$bgMain:a,$bgAccent:s,children:[t&&p.jsx(ba,{$color:o,children:p.jsx(va,{$color:o,children:t})}),e]})},yt=w.li`
255
+ position: relative;
256
+ text-decoration: none;
257
+ cursor: pointer;
258
+ text-align: left;
259
+ display: flex;
260
+ align-items: center;
261
+
262
+ @media only screen and not (min-width: 768px) {
263
+ padding-left: 1rem;
264
+ margin-bottom: 1rem;
265
+ }
266
+ `,xt=w(T.Typography.Text)`
267
+ font-size: 1.5rem;
268
+ font-weight: 600;
269
+ color: inherit;
270
+ transition: transform .3s ease-in-out;
271
+
272
+ &:hover {
273
+ transform: translateY(-2px);
274
+ }
275
+
276
+ width: max-content;
277
+
278
+ @media only screen and (min-width: 768px) {
279
+ opacity: 1;
280
+ position: relative;
281
+ }
282
+ `,xa=w.keyframes`
283
+ 0% {
284
+ opacity: 0;
285
+ transform: translate(0, 8px);
286
+ } 100% {
287
+ opacity: 1;
288
+ transform: translate(0, 0);
289
+ }
290
+ `,wa=w.ul`
291
+ --inset: 12px;
292
+ --padding-y: 6px;
293
+ --border-radius: 0 0 var(--padding-y) var(--padding-y);
294
+
295
+ position: absolute;
296
+ top: calc(100% - var(--inset) + 2px);
297
+ animation: ${xa} .2s;
298
+ background-color: var(--bg-color);
299
+ color: black;
300
+ padding: var(--inset) 0 var(--padding-y) 0;
301
+ margin: 0;
302
+
303
+ &::before {
304
+ content: '';
305
+ position: absolute;
306
+ inset: var(--inset) 0 0 0;
307
+ border-radius: var(--border-radius);
308
+ box-shadow: .5px 1px 5px rgba(0,0,0,0.25);
309
+ z-index: -1;
310
+ }
311
+
312
+ @media only screen and (min-width: 768px) {
313
+ border-radius: var(--border-radius);
314
+ right: -6px;
315
+ }
316
+
317
+ @media only screen and not (min-width: 768px) {
318
+ width: 100%;
319
+ top: 100%;
320
+ left: 0;
321
+ }
322
+ `,Sa=w.li`
323
+ padding: .25rem .75rem;
324
+ min-width: 12rem;
325
+ cursor: pointer;
326
+ font-weight: 600;
327
+ display: block;
328
+
329
+ &:hover {
330
+ background: linear-gradient(rgba(0,0,0,.1) 2%, transparent 15%, transparent 85%, rgba(0,0,0,.1) 98%);
331
+ }
332
+ `,Ea=e=>{const{item:t,onClick:r,activeKey:a,itemRender:o}=e;if(!Array.isArray(t==null?void 0:t.children))return null;const s=o||(i=>i);return t.children.map(i=>{const f=l=>{r==null||r(l,{item:i,key:i.key})};return p.jsx(Sa,{className:a===i.key&&"active",onClick:f,children:s(i.label,{item:i,key:i.key,keyPath:[t.key,i.key]})},i.key)})},Ca=e=>{const{item:t,activeKey:r,onClick:a}=e,[o,s]=x.useState(!1),i=(l,g)=>{g?(s(!1),a==null||a(l,g)):(s(!o),a==null||a(l,{key:t==null?void 0:t.key,item:t}))},f=x.useMemo(()=>r===(t==null?void 0:t.key)||(t==null?void 0:t.children.some(l=>l.key===r)),[r,t]);return p.jsxs(yt,{className:f&&"active",onClick:i,onMouseEnter:()=>{s(!0)},onMouseLeave:()=>{s(!1)},children:[p.jsx(xt,{children:t==null?void 0:t.label}),p.jsx(wa,{hidden:!o,children:p.jsx(Ea,{...e})})]})},ka=64,Ra=w.div`
333
+ --bg-color: #fff;
334
+ --border-width: 3px;
335
+ --grid-padding-x: max(0px, calc(calc(100vw - 1200px) / 2));
336
+ --selector-width: 280px;
337
+ --logo-size: 48px;
338
+
339
+ display: grid;
340
+ border-bottom: var(--border-width) solid black;
341
+ background-color: var(--bg-color);
342
+ height: calc(var(--navbar-height) - var(--border-width));
343
+
344
+ user-select: none;
345
+ text-align: center;
346
+ z-index: 999;
347
+ width: 100%;
348
+ position: sticky;
349
+ top: 0;
350
+ transition: background-color .3s;
351
+
352
+ @media only screen and (min-width: 768px) {
353
+ grid-template-columns: calc(var(--grid-padding-x) + 1rem) var(--selector-width) 1rem 1fr calc(var(--grid-padding-x) + 1rem);
354
+ }
355
+
356
+ @media only screen and (min-width: 992px) {
357
+ --selector-width: 320px;
358
+ }
359
+
360
+ /* Possible solution for additional navbar items */
361
+ /* @media only screen and (min-width: calc(1200px + calc(48px + 32px) * 2)) {
362
+ grid-template-columns: var(--grid-padding-x) 0 0 1fr var(--grid-padding-x);
363
+ } */
364
+ `,Ta=w.div`
365
+ width: var(--logo-size);
366
+ height: var(--logo-size);
367
+ margin: calc(calc(var(--navbar-height) - var(--logo-size)) / 2) auto;
368
+
369
+ @media only screen and (min-width: 768px) {
370
+ grid-column: 2 / 3;
371
+ }
372
+
373
+ // Using logo-size and padding
374
+ @media only screen and (min-width: calc(1200px + calc(48px + 32px) * 2)) {
375
+ grid-column: 1 / 2;
376
+ }
377
+ `,ja=w.nav`
378
+ width: 100%;
379
+ transform-origin: top;
380
+ transition: transform 400ms ease-in-out;
381
+ grid-column: 4 / 5;
382
+
383
+ @media only screen and not (min-width: 768px) {
384
+ position: absolute;
385
+ background-color: rgba(0,0,0,.87);
386
+ border-bottom: 3px solid white;
387
+ top: 100%;
388
+ left: 0;
389
+ transform: scale(1, 0);
390
+ }
391
+
392
+ @media only screen and (min-width: 768px) {
393
+ display: flex;
394
+ justify-content: flex-end;
395
+ align-items: center;
396
+ transition: none;
397
+ height: var(--navbar-height);
398
+ }
399
+ `,_a=w.ul`
400
+ font-family: 'Noto Sans JP', sans-serif;
401
+ list-style-type: none;
402
+ padding-left: 0;
403
+ height: 100%;
404
+ opacity: 0;
405
+ transition: all 150ms ease-in-out;
406
+
407
+ @media only screen and (min-width: 768px) {
408
+ display: flex;
409
+ column-gap: 20px;
410
+ align-items: stretch;
411
+ opacity: unset;
412
+ }
413
+
414
+ @media only screen and (min-width: 992px) {
415
+ column-gap: 32px;
416
+ }
417
+
418
+ color: ${e=>e.$textColor};
419
+
420
+ /* For active NavLink react-router-dom */
421
+ .active {
422
+ color: ${e=>e.$activeColor};
423
+ }
424
+ `,Oa=w.label`
425
+ position: absolute;
426
+ top: 0;
427
+ left: 1rem;
428
+ height: 100%;
429
+ display: flex;
430
+ align-items: center;
431
+
432
+ @media only screen and (min-width: 768px) {
433
+ display: none;
434
+ }
435
+ `,Pa=w.input`
436
+ display: block;
437
+ background-color: ${e=>e.$color};
438
+ height: .2em;
439
+ width: 2em;
440
+ border-radius: 1em;
441
+ position: relative;
442
+ appearance: none;
443
+ outline: unset;
444
+ transition: transform .4s ease-in-out, background-color .5s;
445
+
446
+ &::after,
447
+ &::before {
448
+ display: block;
449
+ background-color: ${e=>e.$color};
450
+ height: .2em;
451
+ width: 2em;
452
+ border-radius: 1em;
453
+ position: relative;
454
+ content: '';
455
+ position: absolute;
456
+ transition: transform .4s ease-in-out;
457
+ }
458
+
459
+ &::after {
460
+ transform: translateY(-.6em)
461
+ }
462
+
463
+ &::before {
464
+ transform: translateY(.6em)
465
+ }
466
+
467
+ &:checked {
468
+ transform: translateX(-2em);
469
+ background: transparent;
470
+ }
471
+
472
+ &:checked::after {
473
+ transform: rotateZ(45deg) translate(1.4em, -1.4em);
474
+ }
475
+
476
+ &:checked::before {
477
+ transform: rotateZ(-45deg) translate(1.4em, 1.4em);
478
+ }
479
+ `,$a=e=>{const{items:t,activeKey:r,onClick:a,itemRender:o}=e,s=o||(i=>i);return Array.isArray(t)?t.map(i=>{const f=(l,g)=>{const h={item:i,key:i.key,keyPath:[i.key],domEvent:l};g&&(h.keyPath.push(g.key),h.key=g.key,h.item=g.item),a==null||a(h)};if("type"in i)switch(i.type){case"group":return p.jsx(Ca,{item:i,onClick:f,activeKey:r,itemRender:s},i.key)}return p.jsx(yt,{className:r===i.key&&"active",onClick:f,children:s(p.jsx(xt,{children:i.label}),{item:i,key:i.key,keyPath:[i.key]})},i.key)}):null},Aa=x.forwardRef((e,t)=>{const{height:r,textColor:a,activeColor:o,logo:s,toggleColor:i,onClick:f,...l}=e,{token:{colorPrimary:g}}=T.theme.useToken(),[h,d]=x.useState({}),[b,C]=x.useState({}),_=x.useRef(null);x.useEffect(()=>{typeof r=="number"&&r>=48?document.documentElement.style.setProperty("--navbar-height",`${Math.round(r)}px`):document.documentElement.style.setProperty("--navbar-height",`${ka}px`)},[r]);const v=()=>{_.current.checked?(d({transform:"scale(1,1)"}),C({opacity:1,transition:"opacity 150ms ease-in-out 250ms"})):(C({}),d({}))},c=E=>{E.domEvent.stopPropagation(),"children"in E.item||(_.current.checked=!1,v()),f==null||f(E)};return p.jsxs(Ra,{ref:t,style:{borderBottomColor:a||g},children:[p.jsx(Ta,{children:s}),p.jsx(ja,{style:Object.assign({borderBottomColor:o||g},h),children:p.jsx(_a,{$activeColor:o||g,$textColor:a,style:b,children:p.jsx($a,{...l,onClick:c})})}),p.jsx(Oa,{htmlFor:"nav-toggle",children:p.jsx(Pa,{ref:_,type:"checkbox",id:"nav-toggle","aria-label":"show navigation",onChange:v,$color:i||"black"})})]})}),Ia=w.div`
480
+ background: linear-gradient(-120deg, ${e=>e.$bgLight} 20%, ${e=>e.$bgDark} 80%);
481
+ overflow-y: auto;
482
+ flex: 1 1 auto;
483
+ position: relative;
484
+
485
+ height: calc(100% - var(--selector-height)); /* Adjust for site selector height */
486
+
487
+ @media only screen and (min-width: 768px) {
488
+ border-radius: 8px;
489
+ box-shadow: inset 0 0 2px 1px rgba(255,255,255,.1);
490
+ height: unset;
491
+ }
492
+
493
+ &::-webkit-scrollbar {
494
+ width: 5px;
495
+
496
+ @media only screen and not (min-width: 768px) {
497
+ display: none;
498
+ }
499
+ }
500
+
501
+ &::-webkit-scrollbar-track {
502
+ background: none;
503
+ }
504
+
505
+ &::-webkit-scrollbar-thumb {
506
+ background-color: var(--thumb-bg);
507
+ border-radius: 3px;
508
+ }
509
+
510
+ /* Decrease scrollbar height for border-radius */
511
+ &::-webkit-scrollbar-track-piece:start {
512
+ margin-top: 1em;
513
+ }
514
+
515
+ &::-webkit-scrollbar-track-piece:end {
516
+ margin-bottom: 1em;
517
+ }
518
+ `,Ma=w.div`
519
+ display: flex;
520
+ align-items: center;
521
+ flex-direction: column;
522
+ padding: 1rem 0;
523
+ gap: 1.5rem;
524
+
525
+ @media only screen and (min-width: 768px) {
526
+ padding: 1.5rem;
527
+ gap: 2rem;
528
+ }
529
+
530
+ @media only screen and (min-width: 992px) {
531
+ padding: 1.5rem 2.5rem;
532
+ }
533
+ `,Na=x.forwardRef(({children:e},t)=>{const{theme:{id:r},token:{colorBgBase:a,colorBgContainer:o,colorBgElevated:s,colorBgLayout:i}}=T.theme.useToken();let f=s,l=i;return r===1&&(f=a,l=o),p.jsx(Ia,{ref:t,$bgDark:f,$bgLight:l,children:p.jsx(Ma,{children:e})})});function Gr(e){var t=L.useRef();t.current=e;var r=L.useCallback(function(){for(var a,o=arguments.length,s=new Array(o),i=0;i<o;i++)s[i]=arguments[i];return(a=t.current)===null||a===void 0?void 0:a.call.apply(a,[t].concat(s))},[]);return r}var Kr=process.env.NODE_ENV!=="test"&&ot()?L.useLayoutEffect:L.useEffect,Fa=function(t,r){var a=L.useRef(!0);Kr(function(){return t(a.current)},r),Kr(function(){return a.current=!1,function(){a.current=!0}},[])},Jr=function(t,r){Fa(function(a){if(!a)return t()},r)};function Xr(e){var t=L.useRef(!1),r=L.useState(e),a=ke(r,2),o=a[0],s=a[1];L.useEffect(function(){return t.current=!1,function(){t.current=!0}},[]);function i(f,l){l&&t.current||s(f)}return[o,i]}function or(e){return e!==void 0}function La(e,t){var r=t||{},a=r.defaultValue,o=r.value,s=r.onChange,i=r.postState,f=Xr(function(){return or(o)?o:or(a)?typeof a=="function"?a():a:typeof e=="function"?e():e}),l=ke(f,2),g=l[0],h=l[1],d=o!==void 0?o:g,b=i?i(d):d,C=Gr(s),_=Xr([d]),v=ke(_,2),c=v[0],E=v[1];Jr(function(){var I=c[0];g!==I&&C(g,I)},[c]),Jr(function(){or(o)||h(o)},[o]);var k=Gr(function(I,W){h(I,W),E([d],W)});return[b,k]}const dr=36,Da=w.createGlobalStyle`
534
+ #main {
535
+ --selector-height: 36px;
536
+ }
537
+ `,Ba=w.div`
538
+ position: sticky;
539
+ top: calc(var(--navbar-height) + var(--main-margin-v));
540
+ box-shadow: inset 0 0 2px 1px rgba(255,255,255,.1);
541
+ border-radius: 8px;
542
+ overflow: auto;
543
+ flex: 0 0 var(--site-selector-width);
544
+ background: linear-gradient(35deg, ${e=>e.$bgDark} 20%, ${e=>e.$bgLight});
545
+ max-height: var(--main-height);
546
+
547
+ @media screen and not (min-width: 768px) {
548
+ width: 100%;
549
+ border-radius: unset;
550
+ height: calc(var(--main-height) - ${dr}px)
551
+ }
552
+ `,za=x.forwardRef(({title:e,children:t,collapseOpen:r,onChange:a},o)=>{const{theme:{id:s},token:{colorBgBase:i,colorBgContainer:f,colorBgLayout:l}}=T.theme.useToken(),[g,h]=x.useState(1280),[d,b]=La(!1,{value:r});let C=i,_=l;s===1&&(C=i,_=f);const v=E=>{b(E),a==null||a(E)};x.useEffect(()=>{const E=()=>{h(window.innerWidth)};return E(),window.addEventListener("resize",E),()=>{window.removeEventListener("resize",E)}},[]);const c=p.jsxs(Ba,{ref:o,$bgDark:C,$bgLight:_,children:[p.jsx(Da,{}),t]});return g<768?p.jsx("div",{style:{flex:"0 0 100%",height:dr},children:p.jsx(Te,{title:e,activeColor:i,style:{header:{height:dr,borderRadius:0},children:{position:"absolute",zIndex:100,borderRadius:0}},onChange:v,open:d,children:c})}):c}),Wa=w.div`
553
+ --main-margin-v: 0px;
554
+ --site-selector-width: 280px;
555
+ --main-height: calc(100vh - var(--navbar-height));
556
+ --selector-height: 0px;
557
+
558
+ position: relative;
559
+ max-width: calc(1200px - 2 * 1rem); /* Adjusted for padding */
560
+ margin: var(--main-margin-v) auto;
561
+ height: var(--main-height);
562
+
563
+ @media only screen and (min-width: 768px) {
564
+ --main-margin-v: 2rem;
565
+ --main-height: min(calc(100vh - var(--navbar-height) - 2 * var(--main-margin-v)), 85vh);
566
+
567
+ display: flex;
568
+ align-items: stretch;
569
+ column-gap: 1rem;
570
+ padding: 0 1rem;
571
+
572
+ &.content-height {
573
+ height: unset;
574
+ max-height: var(--main-height);
575
+ }
576
+
577
+ &.no-scroll {
578
+ height: unset;
579
+ min-height: var(--main-height);
580
+ max-height: unset;
581
+ }
582
+
583
+ &.content-height {
584
+ min-height: unset;
585
+ }
586
+ }
587
+
588
+ @media only screen and (min-width: 992px) {
589
+ --site-selector-width: 320px;
590
+ }
591
+ `,vr=x.forwardRef(({children:e,overflow:t,height:r="full"},a)=>{const o=[];switch(t){case"visible":o.push("no-scroll");break}switch(r){case"content":o.push("content-height");break}return p.jsx(Wa,{ref:a,id:"main",className:o.join(" "),children:e})});vr.Settings=Na;vr.Selector=za;const br=w(T.Button)`
592
+ --shadow-color: ${e=>e.danger?"#f5222d":"#e07d1d"};
593
+
594
+ box-shadow: 1.5px 2px var(--shadow-color);
595
+ margin-bottom: 1px;
596
+
597
+ &:focus {
598
+ box-shadow: 1px 1.5px var(--shadow-color);
599
+ }
600
+
601
+ &:hover {
602
+ box-shadow: 0 0 var(--shadow-color);
603
+ }
604
+ `,wt=w(br)`
605
+ margin-left: auto;
606
+ margin-right: auto;
607
+ display: block;
608
+ width: max-content;
609
+ `,Ya=w(br)`
610
+ width: max-content;
611
+ background-color: rgba(255,255,255,.05);
612
+ border: unset;
613
+ box-shadow: unset;
614
+ `,Ha=w(wt)`
615
+ margin-right: unset;
616
+ `,Va=w(T.Typography.Text)`
617
+ position: absolute;
618
+ transition: all .4s ease;
619
+ z-index: 10;
620
+ cursor: text;
621
+ `,Ua=x.forwardRef((e,t)=>{const{name:r,size:a,children:o,colorText:s,colorTextActive:i}=e,[f,l]=x.useState({}),g=x.useRef(null),h=T.Form.useWatch(r),{token:d}=T.theme.useToken(),[b,C]=x.useState({display:"none"}),[_,v]=x.useMemo(()=>[{},{left:0,top:0,color:i||d.colorPrimary,cursor:"default"}],[i,d]);return x.useImperativeHandle(t,()=>g.current),x.useEffect(()=>{var k;const c=(k=g.current)==null?void 0:k.parentNode,E=c.parentNode;c.style.width="100%",E.style.overflow="visible"},[]),x.useEffect(()=>{if(h)return l(v);document.activeElement.id!==r&&l(_)},[h,r,_,v]),x.useEffect(()=>{var ae,oe,ee,ie,se,re,B,Y,q;let c,E,k;g.current||C({display:"none"}),typeof r!="string"&&C({});const I=document.getElementById(r);I||C({});const W=I.previousElementSibling,F=I.offsetLeft,de=W==null?void 0:W.classList.contains("ant-input-prefix");switch(a){case"small":E=(((ae=d.Input)==null?void 0:ae.paddingInlineSM)||d.paddingXS)+F,c=`calc(100% + ${((oe=d.Input)==null?void 0:oe.paddingBlockSM)||0}px + 9px)`,k=((ee=d.Input)==null?void 0:ee.inputFontSizeSM)||d.fontSize;break;case"large":E=(((ie=d.Input)==null?void 0:ie.paddingInlineLG)||d.paddingSM)+F,c=`calc(100% + ${((se=d.Input)==null?void 0:se.paddingBlock)||7}px + 8px)`,k=((re=d.Input)==null?void 0:re.inputFontSizeLG)||d.fontSizeLG;break;default:E=(((B=d.Input)==null?void 0:B.paddingInline)||d.paddingSM)+F,c=`calc(100% + ${((Y=d.Input)==null?void 0:Y.paddingBlock)||4}px + 9px)`,k=((q=d.Input)==null?void 0:q.inputFontSize)||d.fontSize;break}de&&(E=F),C({top:c,left:E,fontSize:k})},[a,r,d]),x.useEffect(()=>{if(typeof r!="string")return;const c=document.getElementById(r);if(!c)return;const E=()=>{l(v),c.classList.remove("no-placeholder")},k=()=>{c.value.length===0&&l(_),c.value||c.classList.add("no-placeholder")};return c.value||c.classList.add("no-placeholder"),c.addEventListener("focus",E),c.addEventListener("blur",k),()=>{c.removeEventListener("focus",E),c.removeEventListener("blur",k)}},[r,_,v]),p.jsx(Va,{ref:g,style:Object.assign({color:s||d.colorText},b,f),children:o})}),qa=w(T.Input)`
622
+ ::placeholder, &::placeholder {
623
+ transition: color .4s;
624
+ }
625
+
626
+ .no-placeholder, &.no-placeholder {
627
+ &::placeholder, ::placeholder {
628
+ color: transparent;
629
+ }
630
+ }
631
+ `,Ga=x.forwardRef((e,t)=>{const{label:r,...a}=e;return p.jsx(qa,{ref:t,...a})}),Ka=w(T.Card)`
632
+ width: min(100%, 480px);
633
+ box-shadow: 0 3px 7px rgba(0,0,0,.2);
634
+ padding: 1.5rem 1rem;
635
+ margin-bottom: 10rem;
636
+
637
+ @media only screen and (max-width: 480px) {
638
+ border-radius: 0;
639
+ }
640
+
641
+ @media only screen and (max-height: 576px) {
642
+ margin-bottom: 1.5rem;
643
+ }
644
+ `,te=({children:e})=>p.jsx(Ka,{className:"card-container",children:e});te.Header=()=>p.jsxs(T.Space,{style:{display:"flex"},children:[p.jsx("img",{src:"/logo/logo-orange-black.svg",height:"24px",width:"auto"}),p.jsx("img",{src:"/logo/web-fuse-text.svg",height:"12px",width:"auto"})]});te.Title=e=>p.jsx(T.Typography.Title,{level:2,...e,style:Object.assign({marginTop:4},e.style)});te.Subtitle=e=>p.jsx(T.Typography.Paragraph,{...e,style:Object.assign({marginTop:-18,marginBottom:14,fontSize:"0.8125rem",lineHeight:"20px",fontWeight:400},e.style)});const Ja=w.div`
645
+ display: flex;
646
+ justify-content: center;
647
+ align-items: center;
648
+ height: calc(100vh - 2 * 2rem);
649
+ `,Xa=({description:e})=>e?x.isValidElement(e)?e:p.jsx(T.Typography.Text,{children:e}):null,Za=({error:e,title:t})=>{const r=[{key:"1",label:"Details",children:p.jsx(T.Typography.Text,{type:"secondary",children:e.error_detail||"No additional details"})}];return p.jsx(Ja,{children:p.jsxs(te,{children:[p.jsx(te.Header,{}),p.jsxs(T.Space,{direction:"vertical",children:[p.jsx(te.Title,{children:t}),p.jsx(T.Typography.Paragraph,{strong:!0,style:{marginBottom:0},children:e.message}),p.jsx(Xa,{description:e.error_description}),p.jsx(T.Button,{onClick:()=>window.history.back(),children:"Return"}),p.jsx(T.Collapse,{items:r,ghost:!0,size:"small"})]})]})})},Qa=w.div`
650
+ background:
651
+ linear-gradient(0deg, rgba(0,0,0,.2), rgba(0,0,0,.05)),
652
+ radial-gradient(at 20% 30%, rgb(80 173 255 / 10%), transparent 55%),
653
+ radial-gradient(at 83% 10%, rgb(221 216 74 / 13%), transparent 60%),
654
+ radial-gradient(at 10% 80%, rgb(176 249 40 / 6%), transparent 40%),
655
+ radial-gradient(at 90% 80%, rgb(48 95 151 / 14%), transparent 55%),
656
+ radial-gradient(at 50% 45%, rgb(255 125 61 / 20%), transparent 60%);
657
+ width: 100vw;
658
+ height: 100vh;
659
+ `,eo=({children:e,width:t,height:r})=>{const{token:{colorBgContainer:a}}=T.theme.useToken();return p.jsx(Qa,{style:{backgroundColor:a,width:t,height:r},children:e})},ro=(e,t)=>{const r=T.theme.darkAlgorithm(e,t);return r.colorPrimary=e.colorPrimary,r};exports.Button=br;exports.CenteredButton=wt;exports.Collapse=Te;exports.DarkCard=ya;exports.ExtraSmallButton=Ya;exports.HoverLabel=Ua;exports.Input=Ga;exports.LightCard=ha;exports.LoginContainer=te;exports.LoginErrorBoundary=Za;exports.LoginPageBackground=eo;exports.MainLayout=vr;exports.Navbar=Aa;exports.RightButton=Ha;exports.Selector=da;exports.wfDarkAlgorithm=ro;
660
+ //# sourceMappingURL=index.cjs.js.map