@web-fuse/wf-components 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/Display/Card/DarkCard.d.ts +6 -0
- package/dist/Display/Card/LightCard.d.ts +6 -0
- package/dist/Display/Card/index.d.ts +4 -0
- package/dist/Display/Collapse/Collapse.d.ts +16 -0
- package/dist/Display/Collapse/CollapseBase.d.ts +27 -0
- package/dist/Display/Collapse/CollapseContent.d.ts +10 -0
- package/dist/Display/Collapse/index.d.ts +12 -0
- package/dist/Display/Selector/SelectorItem.d.ts +10 -0
- package/dist/Display/Selector/SelectorSubItem.d.ts +11 -0
- package/dist/Display/Selector/index.d.ts +31 -0
- package/dist/Display/Selector/style.d.ts +16 -0
- package/dist/Display/index.d.ts +5 -0
- package/dist/Form/Buttons.d.ts +29 -0
- package/dist/Form/HoverLabel.d.ts +11 -0
- package/dist/Form/Input.d.ts +15 -0
- package/dist/Form/index.d.ts +4 -0
- package/dist/Layout/Main/MainSelector.d.ts +12 -0
- package/dist/Layout/Main/MainSettings.d.ts +5 -0
- package/dist/Layout/Main/index.d.ts +14 -0
- package/dist/Layout/Navbar/NavbarDropdown.d.ts +14 -0
- package/dist/Layout/Navbar/index.d.ts +31 -0
- package/dist/Layout/Navbar/style.d.ts +5 -0
- package/dist/Layout/index.d.ts +5 -0
- package/dist/Oauth/ErrorBoundary.d.ts +12 -0
- package/dist/Oauth/LoginContainer.d.ts +10 -0
- package/dist/Oauth/PageBackground.d.ts +7 -0
- package/dist/Oauth/index.d.ts +5 -0
- package/dist/index.cjs.js +660 -0
- package/dist/index.cjs.js.map +1 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.es.js +2882 -0
- package/dist/index.es.js.map +1 -0
- package/dist/util/index.d.ts +1 -0
- package/dist/util/wfDarkAlgorithm.d.ts +7 -0
- package/package.json +65 -0
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.cjs.js","sources":["../node_modules/react/cjs/react-jsx-runtime.production.min.js","../node_modules/react/cjs/react-jsx-runtime.development.js","../node_modules/react/jsx-runtime.js","../src/Display/Collapse/CollapseBase.tsx","../node_modules/@ant-design/icons/es/components/Context.js","../node_modules/@babel/runtime/helpers/esm/extends.js","../node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js","../node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js","../node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js","../node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js","../node_modules/@babel/runtime/helpers/esm/nonIterableRest.js","../node_modules/@babel/runtime/helpers/esm/slicedToArray.js","../node_modules/@babel/runtime/helpers/esm/typeof.js","../node_modules/@babel/runtime/helpers/esm/toPrimitive.js","../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js","../node_modules/@babel/runtime/helpers/esm/defineProperty.js","../node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js","../node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js","../node_modules/classnames/index.js","../node_modules/@ctrl/tinycolor/dist/module/util.js","../node_modules/@ctrl/tinycolor/dist/module/conversion.js","../node_modules/@ctrl/tinycolor/dist/module/css-color-names.js","../node_modules/@ctrl/tinycolor/dist/module/format-input.js","../node_modules/@ant-design/colors/es/generate.js","../node_modules/@ant-design/colors/es/index.js","../node_modules/@babel/runtime/helpers/esm/objectSpread2.js","../node_modules/rc-util/es/Dom/canUseDom.js","../node_modules/rc-util/es/Dom/contains.js","../node_modules/rc-util/es/Dom/dynamicCSS.js","../node_modules/rc-util/es/Dom/shadow.js","../node_modules/rc-util/es/warning.js","../node_modules/@ant-design/icons/es/utils.js","../node_modules/@ant-design/icons/es/components/IconBase.js","../node_modules/@ant-design/icons/es/components/twoTonePrimaryColor.js","../node_modules/@ant-design/icons/es/components/AntdIcon.js","../node_modules/@ant-design/icons-svg/es/asn/LoadingOutlined.js","../node_modules/@ant-design/icons/es/icons/LoadingOutlined.js","../node_modules/@ant-design/icons-svg/es/asn/RightOutlined.js","../node_modules/@ant-design/icons/es/icons/RightOutlined.js","../node_modules/react-is/cjs/react-is.production.min.js","../node_modules/react-is/cjs/react-is.development.js","../node_modules/react-is/index.js","../src/Display/Collapse/Collapse.tsx","../src/Display/Collapse/CollapseContent.tsx","../src/Display/Collapse/index.ts","../src/Display/Selector/style.ts","../src/Display/Selector/SelectorSubItem.tsx","../src/Display/Selector/SelectorItem.tsx","../src/Display/Selector/index.tsx","../src/Display/Card/LightCard.tsx","../src/Display/Card/DarkCard.tsx","../src/Layout/Navbar/style.ts","../src/Layout/Navbar/NavbarDropdown.tsx","../src/Layout/Navbar/index.tsx","../src/Layout/Main/MainSettings.tsx","../node_modules/rc-util/es/hooks/useEvent.js","../node_modules/rc-util/es/hooks/useLayoutEffect.js","../node_modules/rc-util/es/hooks/useState.js","../node_modules/rc-util/es/hooks/useMergedState.js","../src/Layout/Main/MainSelector.tsx","../src/Layout/Main/index.tsx","../src/Form/Buttons.tsx","../src/Form/HoverLabel.tsx","../src/Form/Input.tsx","../src/Oauth/LoginContainer.tsx","../src/Oauth/ErrorBoundary.tsx","../src/Oauth/PageBackground.tsx","../src/util/wfDarkAlgorithm.ts"],"sourcesContent":["/**\n * @license React\n * react-jsx-runtime.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n'use strict';var f=require(\"react\"),k=Symbol.for(\"react.element\"),l=Symbol.for(\"react.fragment\"),m=Object.prototype.hasOwnProperty,n=f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,p={key:!0,ref:!0,__self:!0,__source:!0};\nfunction q(c,a,g){var b,d={},e=null,h=null;void 0!==g&&(e=\"\"+g);void 0!==a.key&&(e=\"\"+a.key);void 0!==a.ref&&(h=a.ref);for(b in a)m.call(a,b)&&!p.hasOwnProperty(b)&&(d[b]=a[b]);if(c&&c.defaultProps)for(b in a=c.defaultProps,a)void 0===d[b]&&(d[b]=a[b]);return{$$typeof:k,type:c,key:e,ref:h,props:d,_owner:n.current}}exports.Fragment=l;exports.jsx=q;exports.jsxs=q;\n","/**\n * @license React\n * react-jsx-runtime.development.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nif (process.env.NODE_ENV !== \"production\") {\n (function() {\n'use strict';\n\nvar React = require('react');\n\n// ATTENTION\n// When adding new symbols to this file,\n// Please consider also adding to 'react-devtools-shared/src/backend/ReactSymbols'\n// The Symbol used to tag the ReactElement-like types.\nvar REACT_ELEMENT_TYPE = Symbol.for('react.element');\nvar REACT_PORTAL_TYPE = Symbol.for('react.portal');\nvar REACT_FRAGMENT_TYPE = Symbol.for('react.fragment');\nvar REACT_STRICT_MODE_TYPE = Symbol.for('react.strict_mode');\nvar REACT_PROFILER_TYPE = Symbol.for('react.profiler');\nvar REACT_PROVIDER_TYPE = Symbol.for('react.provider');\nvar REACT_CONTEXT_TYPE = Symbol.for('react.context');\nvar REACT_FORWARD_REF_TYPE = Symbol.for('react.forward_ref');\nvar REACT_SUSPENSE_TYPE = Symbol.for('react.suspense');\nvar REACT_SUSPENSE_LIST_TYPE = Symbol.for('react.suspense_list');\nvar REACT_MEMO_TYPE = Symbol.for('react.memo');\nvar REACT_LAZY_TYPE = Symbol.for('react.lazy');\nvar REACT_OFFSCREEN_TYPE = Symbol.for('react.offscreen');\nvar MAYBE_ITERATOR_SYMBOL = Symbol.iterator;\nvar FAUX_ITERATOR_SYMBOL = '@@iterator';\nfunction getIteratorFn(maybeIterable) {\n if (maybeIterable === null || typeof maybeIterable !== 'object') {\n return null;\n }\n\n var maybeIterator = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL];\n\n if (typeof maybeIterator === 'function') {\n return maybeIterator;\n }\n\n return null;\n}\n\nvar ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;\n\nfunction error(format) {\n {\n {\n for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {\n args[_key2 - 1] = arguments[_key2];\n }\n\n printWarning('error', format, args);\n }\n }\n}\n\nfunction printWarning(level, format, args) {\n // When changing this logic, you might want to also\n // update consoleWithStackDev.www.js as well.\n {\n var ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame;\n var stack = ReactDebugCurrentFrame.getStackAddendum();\n\n if (stack !== '') {\n format += '%s';\n args = args.concat([stack]);\n } // eslint-disable-next-line react-internal/safe-string-coercion\n\n\n var argsWithFormat = args.map(function (item) {\n return String(item);\n }); // Careful: RN currently depends on this prefix\n\n argsWithFormat.unshift('Warning: ' + format); // We intentionally don't use spread (or .apply) directly because it\n // breaks IE9: https://github.com/facebook/react/issues/13610\n // eslint-disable-next-line react-internal/no-production-logging\n\n Function.prototype.apply.call(console[level], console, argsWithFormat);\n }\n}\n\n// -----------------------------------------------------------------------------\n\nvar enableScopeAPI = false; // Experimental Create Event Handle API.\nvar enableCacheElement = false;\nvar enableTransitionTracing = false; // No known bugs, but needs performance testing\n\nvar enableLegacyHidden = false; // Enables unstable_avoidThisFallback feature in Fiber\n// stuff. Intended to enable React core members to more easily debug scheduling\n// issues in DEV builds.\n\nvar enableDebugTracing = false; // Track which Fiber(s) schedule render work.\n\nvar REACT_MODULE_REFERENCE;\n\n{\n REACT_MODULE_REFERENCE = Symbol.for('react.module.reference');\n}\n\nfunction isValidElementType(type) {\n if (typeof type === 'string' || typeof type === 'function') {\n return true;\n } // Note: typeof might be other than 'symbol' or 'number' (e.g. if it's a polyfill).\n\n\n if (type === REACT_FRAGMENT_TYPE || type === REACT_PROFILER_TYPE || enableDebugTracing || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || enableLegacyHidden || type === REACT_OFFSCREEN_TYPE || enableScopeAPI || enableCacheElement || enableTransitionTracing ) {\n return true;\n }\n\n if (typeof type === 'object' && type !== null) {\n if (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || // This needs to include all possible module reference object\n // types supported by any Flight configuration anywhere since\n // we don't know which Flight build this will end up being used\n // with.\n type.$$typeof === REACT_MODULE_REFERENCE || type.getModuleId !== undefined) {\n return true;\n }\n }\n\n return false;\n}\n\nfunction getWrappedName(outerType, innerType, wrapperName) {\n var displayName = outerType.displayName;\n\n if (displayName) {\n return displayName;\n }\n\n var functionName = innerType.displayName || innerType.name || '';\n return functionName !== '' ? wrapperName + \"(\" + functionName + \")\" : wrapperName;\n} // Keep in sync with react-reconciler/getComponentNameFromFiber\n\n\nfunction getContextName(type) {\n return type.displayName || 'Context';\n} // Note that the reconciler package should generally prefer to use getComponentNameFromFiber() instead.\n\n\nfunction getComponentNameFromType(type) {\n if (type == null) {\n // Host root, text node or just invalid type.\n return null;\n }\n\n {\n if (typeof type.tag === 'number') {\n error('Received an unexpected object in getComponentNameFromType(). ' + 'This is likely a bug in React. Please file an issue.');\n }\n }\n\n if (typeof type === 'function') {\n return type.displayName || type.name || null;\n }\n\n if (typeof type === 'string') {\n return type;\n }\n\n switch (type) {\n case REACT_FRAGMENT_TYPE:\n return 'Fragment';\n\n case REACT_PORTAL_TYPE:\n return 'Portal';\n\n case REACT_PROFILER_TYPE:\n return 'Profiler';\n\n case REACT_STRICT_MODE_TYPE:\n return 'StrictMode';\n\n case REACT_SUSPENSE_TYPE:\n return 'Suspense';\n\n case REACT_SUSPENSE_LIST_TYPE:\n return 'SuspenseList';\n\n }\n\n if (typeof type === 'object') {\n switch (type.$$typeof) {\n case REACT_CONTEXT_TYPE:\n var context = type;\n return getContextName(context) + '.Consumer';\n\n case REACT_PROVIDER_TYPE:\n var provider = type;\n return getContextName(provider._context) + '.Provider';\n\n case REACT_FORWARD_REF_TYPE:\n return getWrappedName(type, type.render, 'ForwardRef');\n\n case REACT_MEMO_TYPE:\n var outerName = type.displayName || null;\n\n if (outerName !== null) {\n return outerName;\n }\n\n return getComponentNameFromType(type.type) || 'Memo';\n\n case REACT_LAZY_TYPE:\n {\n var lazyComponent = type;\n var payload = lazyComponent._payload;\n var init = lazyComponent._init;\n\n try {\n return getComponentNameFromType(init(payload));\n } catch (x) {\n return null;\n }\n }\n\n // eslint-disable-next-line no-fallthrough\n }\n }\n\n return null;\n}\n\nvar assign = Object.assign;\n\n// Helpers to patch console.logs to avoid logging during side-effect free\n// replaying on render function. This currently only patches the object\n// lazily which won't cover if the log function was extracted eagerly.\n// We could also eagerly patch the method.\nvar disabledDepth = 0;\nvar prevLog;\nvar prevInfo;\nvar prevWarn;\nvar prevError;\nvar prevGroup;\nvar prevGroupCollapsed;\nvar prevGroupEnd;\n\nfunction disabledLog() {}\n\ndisabledLog.__reactDisabledLog = true;\nfunction disableLogs() {\n {\n if (disabledDepth === 0) {\n /* eslint-disable react-internal/no-production-logging */\n prevLog = console.log;\n prevInfo = console.info;\n prevWarn = console.warn;\n prevError = console.error;\n prevGroup = console.group;\n prevGroupCollapsed = console.groupCollapsed;\n prevGroupEnd = console.groupEnd; // https://github.com/facebook/react/issues/19099\n\n var props = {\n configurable: true,\n enumerable: true,\n value: disabledLog,\n writable: true\n }; // $FlowFixMe Flow thinks console is immutable.\n\n Object.defineProperties(console, {\n info: props,\n log: props,\n warn: props,\n error: props,\n group: props,\n groupCollapsed: props,\n groupEnd: props\n });\n /* eslint-enable react-internal/no-production-logging */\n }\n\n disabledDepth++;\n }\n}\nfunction reenableLogs() {\n {\n disabledDepth--;\n\n if (disabledDepth === 0) {\n /* eslint-disable react-internal/no-production-logging */\n var props = {\n configurable: true,\n enumerable: true,\n writable: true\n }; // $FlowFixMe Flow thinks console is immutable.\n\n Object.defineProperties(console, {\n log: assign({}, props, {\n value: prevLog\n }),\n info: assign({}, props, {\n value: prevInfo\n }),\n warn: assign({}, props, {\n value: prevWarn\n }),\n error: assign({}, props, {\n value: prevError\n }),\n group: assign({}, props, {\n value: prevGroup\n }),\n groupCollapsed: assign({}, props, {\n value: prevGroupCollapsed\n }),\n groupEnd: assign({}, props, {\n value: prevGroupEnd\n })\n });\n /* eslint-enable react-internal/no-production-logging */\n }\n\n if (disabledDepth < 0) {\n error('disabledDepth fell below zero. ' + 'This is a bug in React. Please file an issue.');\n }\n }\n}\n\nvar ReactCurrentDispatcher = ReactSharedInternals.ReactCurrentDispatcher;\nvar prefix;\nfunction describeBuiltInComponentFrame(name, source, ownerFn) {\n {\n if (prefix === undefined) {\n // Extract the VM specific prefix used by each line.\n try {\n throw Error();\n } catch (x) {\n var match = x.stack.trim().match(/\\n( *(at )?)/);\n prefix = match && match[1] || '';\n }\n } // We use the prefix to ensure our stacks line up with native stack frames.\n\n\n return '\\n' + prefix + name;\n }\n}\nvar reentry = false;\nvar componentFrameCache;\n\n{\n var PossiblyWeakMap = typeof WeakMap === 'function' ? WeakMap : Map;\n componentFrameCache = new PossiblyWeakMap();\n}\n\nfunction describeNativeComponentFrame(fn, construct) {\n // If something asked for a stack inside a fake render, it should get ignored.\n if ( !fn || reentry) {\n return '';\n }\n\n {\n var frame = componentFrameCache.get(fn);\n\n if (frame !== undefined) {\n return frame;\n }\n }\n\n var control;\n reentry = true;\n var previousPrepareStackTrace = Error.prepareStackTrace; // $FlowFixMe It does accept undefined.\n\n Error.prepareStackTrace = undefined;\n var previousDispatcher;\n\n {\n previousDispatcher = ReactCurrentDispatcher.current; // Set the dispatcher in DEV because this might be call in the render function\n // for warnings.\n\n ReactCurrentDispatcher.current = null;\n disableLogs();\n }\n\n try {\n // This should throw.\n if (construct) {\n // Something should be setting the props in the constructor.\n var Fake = function () {\n throw Error();\n }; // $FlowFixMe\n\n\n Object.defineProperty(Fake.prototype, 'props', {\n set: function () {\n // We use a throwing setter instead of frozen or non-writable props\n // because that won't throw in a non-strict mode function.\n throw Error();\n }\n });\n\n if (typeof Reflect === 'object' && Reflect.construct) {\n // We construct a different control for this case to include any extra\n // frames added by the construct call.\n try {\n Reflect.construct(Fake, []);\n } catch (x) {\n control = x;\n }\n\n Reflect.construct(fn, [], Fake);\n } else {\n try {\n Fake.call();\n } catch (x) {\n control = x;\n }\n\n fn.call(Fake.prototype);\n }\n } else {\n try {\n throw Error();\n } catch (x) {\n control = x;\n }\n\n fn();\n }\n } catch (sample) {\n // This is inlined manually because closure doesn't do it for us.\n if (sample && control && typeof sample.stack === 'string') {\n // This extracts the first frame from the sample that isn't also in the control.\n // Skipping one frame that we assume is the frame that calls the two.\n var sampleLines = sample.stack.split('\\n');\n var controlLines = control.stack.split('\\n');\n var s = sampleLines.length - 1;\n var c = controlLines.length - 1;\n\n while (s >= 1 && c >= 0 && sampleLines[s] !== controlLines[c]) {\n // We expect at least one stack frame to be shared.\n // Typically this will be the root most one. However, stack frames may be\n // cut off due to maximum stack limits. In this case, one maybe cut off\n // earlier than the other. We assume that the sample is longer or the same\n // and there for cut off earlier. So we should find the root most frame in\n // the sample somewhere in the control.\n c--;\n }\n\n for (; s >= 1 && c >= 0; s--, c--) {\n // Next we find the first one that isn't the same which should be the\n // frame that called our sample function and the control.\n if (sampleLines[s] !== controlLines[c]) {\n // In V8, the first line is describing the message but other VMs don't.\n // If we're about to return the first line, and the control is also on the same\n // line, that's a pretty good indicator that our sample threw at same line as\n // the control. I.e. before we entered the sample frame. So we ignore this result.\n // This can happen if you passed a class to function component, or non-function.\n if (s !== 1 || c !== 1) {\n do {\n s--;\n c--; // We may still have similar intermediate frames from the construct call.\n // The next one that isn't the same should be our match though.\n\n if (c < 0 || sampleLines[s] !== controlLines[c]) {\n // V8 adds a \"new\" prefix for native classes. Let's remove it to make it prettier.\n var _frame = '\\n' + sampleLines[s].replace(' at new ', ' at '); // If our component frame is labeled \"<anonymous>\"\n // but we have a user-provided \"displayName\"\n // splice it in to make the stack more readable.\n\n\n if (fn.displayName && _frame.includes('<anonymous>')) {\n _frame = _frame.replace('<anonymous>', fn.displayName);\n }\n\n {\n if (typeof fn === 'function') {\n componentFrameCache.set(fn, _frame);\n }\n } // Return the line we found.\n\n\n return _frame;\n }\n } while (s >= 1 && c >= 0);\n }\n\n break;\n }\n }\n }\n } finally {\n reentry = false;\n\n {\n ReactCurrentDispatcher.current = previousDispatcher;\n reenableLogs();\n }\n\n Error.prepareStackTrace = previousPrepareStackTrace;\n } // Fallback to just using the name if we couldn't make it throw.\n\n\n var name = fn ? fn.displayName || fn.name : '';\n var syntheticFrame = name ? describeBuiltInComponentFrame(name) : '';\n\n {\n if (typeof fn === 'function') {\n componentFrameCache.set(fn, syntheticFrame);\n }\n }\n\n return syntheticFrame;\n}\nfunction describeFunctionComponentFrame(fn, source, ownerFn) {\n {\n return describeNativeComponentFrame(fn, false);\n }\n}\n\nfunction shouldConstruct(Component) {\n var prototype = Component.prototype;\n return !!(prototype && prototype.isReactComponent);\n}\n\nfunction describeUnknownElementTypeFrameInDEV(type, source, ownerFn) {\n\n if (type == null) {\n return '';\n }\n\n if (typeof type === 'function') {\n {\n return describeNativeComponentFrame(type, shouldConstruct(type));\n }\n }\n\n if (typeof type === 'string') {\n return describeBuiltInComponentFrame(type);\n }\n\n switch (type) {\n case REACT_SUSPENSE_TYPE:\n return describeBuiltInComponentFrame('Suspense');\n\n case REACT_SUSPENSE_LIST_TYPE:\n return describeBuiltInComponentFrame('SuspenseList');\n }\n\n if (typeof type === 'object') {\n switch (type.$$typeof) {\n case REACT_FORWARD_REF_TYPE:\n return describeFunctionComponentFrame(type.render);\n\n case REACT_MEMO_TYPE:\n // Memo may contain any component type so we recursively resolve it.\n return describeUnknownElementTypeFrameInDEV(type.type, source, ownerFn);\n\n case REACT_LAZY_TYPE:\n {\n var lazyComponent = type;\n var payload = lazyComponent._payload;\n var init = lazyComponent._init;\n\n try {\n // Lazy may contain any component type so we recursively resolve it.\n return describeUnknownElementTypeFrameInDEV(init(payload), source, ownerFn);\n } catch (x) {}\n }\n }\n }\n\n return '';\n}\n\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\n\nvar loggedTypeFailures = {};\nvar ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame;\n\nfunction setCurrentlyValidatingElement(element) {\n {\n if (element) {\n var owner = element._owner;\n var stack = describeUnknownElementTypeFrameInDEV(element.type, element._source, owner ? owner.type : null);\n ReactDebugCurrentFrame.setExtraStackFrame(stack);\n } else {\n ReactDebugCurrentFrame.setExtraStackFrame(null);\n }\n }\n}\n\nfunction checkPropTypes(typeSpecs, values, location, componentName, element) {\n {\n // $FlowFixMe This is okay but Flow doesn't know it.\n var has = Function.call.bind(hasOwnProperty);\n\n for (var typeSpecName in typeSpecs) {\n if (has(typeSpecs, typeSpecName)) {\n var error$1 = void 0; // Prop type validation may throw. In case they do, we don't want to\n // fail the render phase where it didn't fail before. So we log it.\n // After these have been cleaned up, we'll let them throw.\n\n try {\n // This is intentionally an invariant that gets caught. It's the same\n // behavior as without this statement except with a better message.\n if (typeof typeSpecs[typeSpecName] !== 'function') {\n // eslint-disable-next-line react-internal/prod-error-codes\n var err = Error((componentName || 'React class') + ': ' + location + ' type `' + typeSpecName + '` is invalid; ' + 'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.' + 'This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.');\n err.name = 'Invariant Violation';\n throw err;\n }\n\n error$1 = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED');\n } catch (ex) {\n error$1 = ex;\n }\n\n if (error$1 && !(error$1 instanceof Error)) {\n setCurrentlyValidatingElement(element);\n\n error('%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).', componentName || 'React class', location, typeSpecName, typeof error$1);\n\n setCurrentlyValidatingElement(null);\n }\n\n if (error$1 instanceof Error && !(error$1.message in loggedTypeFailures)) {\n // Only monitor this failure once because there tends to be a lot of the\n // same error.\n loggedTypeFailures[error$1.message] = true;\n setCurrentlyValidatingElement(element);\n\n error('Failed %s type: %s', location, error$1.message);\n\n setCurrentlyValidatingElement(null);\n }\n }\n }\n }\n}\n\nvar isArrayImpl = Array.isArray; // eslint-disable-next-line no-redeclare\n\nfunction isArray(a) {\n return isArrayImpl(a);\n}\n\n/*\n * The `'' + value` pattern (used in in perf-sensitive code) throws for Symbol\n * and Temporal.* types. See https://github.com/facebook/react/pull/22064.\n *\n * The functions in this module will throw an easier-to-understand,\n * easier-to-debug exception with a clear errors message message explaining the\n * problem. (Instead of a confusing exception thrown inside the implementation\n * of the `value` object).\n */\n// $FlowFixMe only called in DEV, so void return is not possible.\nfunction typeName(value) {\n {\n // toStringTag is needed for namespaced types like Temporal.Instant\n var hasToStringTag = typeof Symbol === 'function' && Symbol.toStringTag;\n var type = hasToStringTag && value[Symbol.toStringTag] || value.constructor.name || 'Object';\n return type;\n }\n} // $FlowFixMe only called in DEV, so void return is not possible.\n\n\nfunction willCoercionThrow(value) {\n {\n try {\n testStringCoercion(value);\n return false;\n } catch (e) {\n return true;\n }\n }\n}\n\nfunction testStringCoercion(value) {\n // If you ended up here by following an exception call stack, here's what's\n // happened: you supplied an object or symbol value to React (as a prop, key,\n // DOM attribute, CSS property, string ref, etc.) and when React tried to\n // coerce it to a string using `'' + value`, an exception was thrown.\n //\n // The most common types that will cause this exception are `Symbol` instances\n // and Temporal objects like `Temporal.Instant`. But any object that has a\n // `valueOf` or `[Symbol.toPrimitive]` method that throws will also cause this\n // exception. (Library authors do this to prevent users from using built-in\n // numeric operators like `+` or comparison operators like `>=` because custom\n // methods are needed to perform accurate arithmetic or comparison.)\n //\n // To fix the problem, coerce this object or symbol value to a string before\n // passing it to React. The most reliable way is usually `String(value)`.\n //\n // To find which value is throwing, check the browser or debugger console.\n // Before this exception was thrown, there should be `console.error` output\n // that shows the type (Symbol, Temporal.PlainDate, etc.) that caused the\n // problem and how that type was used: key, atrribute, input value prop, etc.\n // In most cases, this console output also shows the component and its\n // ancestor components where the exception happened.\n //\n // eslint-disable-next-line react-internal/safe-string-coercion\n return '' + value;\n}\nfunction checkKeyStringCoercion(value) {\n {\n if (willCoercionThrow(value)) {\n error('The provided key is an unsupported type %s.' + ' This value must be coerced to a string before before using it here.', typeName(value));\n\n return testStringCoercion(value); // throw (to help callers find troubleshooting comments)\n }\n }\n}\n\nvar ReactCurrentOwner = ReactSharedInternals.ReactCurrentOwner;\nvar RESERVED_PROPS = {\n key: true,\n ref: true,\n __self: true,\n __source: true\n};\nvar specialPropKeyWarningShown;\nvar specialPropRefWarningShown;\nvar didWarnAboutStringRefs;\n\n{\n didWarnAboutStringRefs = {};\n}\n\nfunction hasValidRef(config) {\n {\n if (hasOwnProperty.call(config, 'ref')) {\n var getter = Object.getOwnPropertyDescriptor(config, 'ref').get;\n\n if (getter && getter.isReactWarning) {\n return false;\n }\n }\n }\n\n return config.ref !== undefined;\n}\n\nfunction hasValidKey(config) {\n {\n if (hasOwnProperty.call(config, 'key')) {\n var getter = Object.getOwnPropertyDescriptor(config, 'key').get;\n\n if (getter && getter.isReactWarning) {\n return false;\n }\n }\n }\n\n return config.key !== undefined;\n}\n\nfunction warnIfStringRefCannotBeAutoConverted(config, self) {\n {\n if (typeof config.ref === 'string' && ReactCurrentOwner.current && self && ReactCurrentOwner.current.stateNode !== self) {\n var componentName = getComponentNameFromType(ReactCurrentOwner.current.type);\n\n if (!didWarnAboutStringRefs[componentName]) {\n error('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', getComponentNameFromType(ReactCurrentOwner.current.type), config.ref);\n\n didWarnAboutStringRefs[componentName] = true;\n }\n }\n }\n}\n\nfunction defineKeyPropWarningGetter(props, displayName) {\n {\n var warnAboutAccessingKey = function () {\n if (!specialPropKeyWarningShown) {\n specialPropKeyWarningShown = true;\n\n error('%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)', displayName);\n }\n };\n\n warnAboutAccessingKey.isReactWarning = true;\n Object.defineProperty(props, 'key', {\n get: warnAboutAccessingKey,\n configurable: true\n });\n }\n}\n\nfunction defineRefPropWarningGetter(props, displayName) {\n {\n var warnAboutAccessingRef = function () {\n if (!specialPropRefWarningShown) {\n specialPropRefWarningShown = true;\n\n error('%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)', displayName);\n }\n };\n\n warnAboutAccessingRef.isReactWarning = true;\n Object.defineProperty(props, 'ref', {\n get: warnAboutAccessingRef,\n configurable: true\n });\n }\n}\n/**\n * Factory method to create a new React element. This no longer adheres to\n * the class pattern, so do not use new to call it. Also, instanceof check\n * will not work. Instead test $$typeof field against Symbol.for('react.element') to check\n * if something is a React Element.\n *\n * @param {*} type\n * @param {*} props\n * @param {*} key\n * @param {string|object} ref\n * @param {*} owner\n * @param {*} self A *temporary* helper to detect places where `this` is\n * different from the `owner` when React.createElement is called, so that we\n * can warn. We want to get rid of owner and replace string `ref`s with arrow\n * functions, and as long as `this` and owner are the same, there will be no\n * change in behavior.\n * @param {*} source An annotation object (added by a transpiler or otherwise)\n * indicating filename, line number, and/or other information.\n * @internal\n */\n\n\nvar ReactElement = function (type, key, ref, self, source, owner, props) {\n var element = {\n // This tag allows us to uniquely identify this as a React Element\n $$typeof: REACT_ELEMENT_TYPE,\n // Built-in properties that belong on the element\n type: type,\n key: key,\n ref: ref,\n props: props,\n // Record the component responsible for creating this element.\n _owner: owner\n };\n\n {\n // The validation flag is currently mutative. We put it on\n // an external backing store so that we can freeze the whole object.\n // This can be replaced with a WeakMap once they are implemented in\n // commonly used development environments.\n element._store = {}; // To make comparing ReactElements easier for testing purposes, we make\n // the validation flag non-enumerable (where possible, which should\n // include every environment we run tests in), so the test framework\n // ignores it.\n\n Object.defineProperty(element._store, 'validated', {\n configurable: false,\n enumerable: false,\n writable: true,\n value: false\n }); // self and source are DEV only properties.\n\n Object.defineProperty(element, '_self', {\n configurable: false,\n enumerable: false,\n writable: false,\n value: self\n }); // Two elements created in two different places should be considered\n // equal for testing purposes and therefore we hide it from enumeration.\n\n Object.defineProperty(element, '_source', {\n configurable: false,\n enumerable: false,\n writable: false,\n value: source\n });\n\n if (Object.freeze) {\n Object.freeze(element.props);\n Object.freeze(element);\n }\n }\n\n return element;\n};\n/**\n * https://github.com/reactjs/rfcs/pull/107\n * @param {*} type\n * @param {object} props\n * @param {string} key\n */\n\nfunction jsxDEV(type, config, maybeKey, source, self) {\n {\n var propName; // Reserved names are extracted\n\n var props = {};\n var key = null;\n var ref = null; // Currently, key can be spread in as a prop. This causes a potential\n // issue if key is also explicitly declared (ie. <div {...props} key=\"Hi\" />\n // or <div key=\"Hi\" {...props} /> ). We want to deprecate key spread,\n // but as an intermediary step, we will use jsxDEV for everything except\n // <div {...props} key=\"Hi\" />, because we aren't currently able to tell if\n // key is explicitly declared to be undefined or not.\n\n if (maybeKey !== undefined) {\n {\n checkKeyStringCoercion(maybeKey);\n }\n\n key = '' + maybeKey;\n }\n\n if (hasValidKey(config)) {\n {\n checkKeyStringCoercion(config.key);\n }\n\n key = '' + config.key;\n }\n\n if (hasValidRef(config)) {\n ref = config.ref;\n warnIfStringRefCannotBeAutoConverted(config, self);\n } // Remaining properties are added to a new props object\n\n\n for (propName in config) {\n if (hasOwnProperty.call(config, propName) && !RESERVED_PROPS.hasOwnProperty(propName)) {\n props[propName] = config[propName];\n }\n } // Resolve default props\n\n\n if (type && type.defaultProps) {\n var defaultProps = type.defaultProps;\n\n for (propName in defaultProps) {\n if (props[propName] === undefined) {\n props[propName] = defaultProps[propName];\n }\n }\n }\n\n if (key || ref) {\n var displayName = typeof type === 'function' ? type.displayName || type.name || 'Unknown' : type;\n\n if (key) {\n defineKeyPropWarningGetter(props, displayName);\n }\n\n if (ref) {\n defineRefPropWarningGetter(props, displayName);\n }\n }\n\n return ReactElement(type, key, ref, self, source, ReactCurrentOwner.current, props);\n }\n}\n\nvar ReactCurrentOwner$1 = ReactSharedInternals.ReactCurrentOwner;\nvar ReactDebugCurrentFrame$1 = ReactSharedInternals.ReactDebugCurrentFrame;\n\nfunction setCurrentlyValidatingElement$1(element) {\n {\n if (element) {\n var owner = element._owner;\n var stack = describeUnknownElementTypeFrameInDEV(element.type, element._source, owner ? owner.type : null);\n ReactDebugCurrentFrame$1.setExtraStackFrame(stack);\n } else {\n ReactDebugCurrentFrame$1.setExtraStackFrame(null);\n }\n }\n}\n\nvar propTypesMisspellWarningShown;\n\n{\n propTypesMisspellWarningShown = false;\n}\n/**\n * Verifies the object is a ReactElement.\n * See https://reactjs.org/docs/react-api.html#isvalidelement\n * @param {?object} object\n * @return {boolean} True if `object` is a ReactElement.\n * @final\n */\n\n\nfunction isValidElement(object) {\n {\n return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;\n }\n}\n\nfunction getDeclarationErrorAddendum() {\n {\n if (ReactCurrentOwner$1.current) {\n var name = getComponentNameFromType(ReactCurrentOwner$1.current.type);\n\n if (name) {\n return '\\n\\nCheck the render method of `' + name + '`.';\n }\n }\n\n return '';\n }\n}\n\nfunction getSourceInfoErrorAddendum(source) {\n {\n if (source !== undefined) {\n var fileName = source.fileName.replace(/^.*[\\\\\\/]/, '');\n var lineNumber = source.lineNumber;\n return '\\n\\nCheck your code at ' + fileName + ':' + lineNumber + '.';\n }\n\n return '';\n }\n}\n/**\n * Warn if there's no key explicitly set on dynamic arrays of children or\n * object keys are not valid. This allows us to keep track of children between\n * updates.\n */\n\n\nvar ownerHasKeyUseWarning = {};\n\nfunction getCurrentComponentErrorInfo(parentType) {\n {\n var info = getDeclarationErrorAddendum();\n\n if (!info) {\n var parentName = typeof parentType === 'string' ? parentType : parentType.displayName || parentType.name;\n\n if (parentName) {\n info = \"\\n\\nCheck the top-level render call using <\" + parentName + \">.\";\n }\n }\n\n return info;\n }\n}\n/**\n * Warn if the element doesn't have an explicit key assigned to it.\n * This element is in an array. The array could grow and shrink or be\n * reordered. All children that haven't already been validated are required to\n * have a \"key\" property assigned to it. Error statuses are cached so a warning\n * will only be shown once.\n *\n * @internal\n * @param {ReactElement} element Element that requires a key.\n * @param {*} parentType element's parent's type.\n */\n\n\nfunction validateExplicitKey(element, parentType) {\n {\n if (!element._store || element._store.validated || element.key != null) {\n return;\n }\n\n element._store.validated = true;\n var currentComponentErrorInfo = getCurrentComponentErrorInfo(parentType);\n\n if (ownerHasKeyUseWarning[currentComponentErrorInfo]) {\n return;\n }\n\n ownerHasKeyUseWarning[currentComponentErrorInfo] = true; // Usually the current owner is the offender, but if it accepts children as a\n // property, it may be the creator of the child that's responsible for\n // assigning it a key.\n\n var childOwner = '';\n\n if (element && element._owner && element._owner !== ReactCurrentOwner$1.current) {\n // Give the component that originally created this child.\n childOwner = \" It was passed a child from \" + getComponentNameFromType(element._owner.type) + \".\";\n }\n\n setCurrentlyValidatingElement$1(element);\n\n error('Each child in a list should have a unique \"key\" prop.' + '%s%s See https://reactjs.org/link/warning-keys for more information.', currentComponentErrorInfo, childOwner);\n\n setCurrentlyValidatingElement$1(null);\n }\n}\n/**\n * Ensure that every element either is passed in a static location, in an\n * array with an explicit keys property defined, or in an object literal\n * with valid key property.\n *\n * @internal\n * @param {ReactNode} node Statically passed child of any type.\n * @param {*} parentType node's parent's type.\n */\n\n\nfunction validateChildKeys(node, parentType) {\n {\n if (typeof node !== 'object') {\n return;\n }\n\n if (isArray(node)) {\n for (var i = 0; i < node.length; i++) {\n var child = node[i];\n\n if (isValidElement(child)) {\n validateExplicitKey(child, parentType);\n }\n }\n } else if (isValidElement(node)) {\n // This element was passed in a valid location.\n if (node._store) {\n node._store.validated = true;\n }\n } else if (node) {\n var iteratorFn = getIteratorFn(node);\n\n if (typeof iteratorFn === 'function') {\n // Entry iterators used to provide implicit keys,\n // but now we print a separate warning for them later.\n if (iteratorFn !== node.entries) {\n var iterator = iteratorFn.call(node);\n var step;\n\n while (!(step = iterator.next()).done) {\n if (isValidElement(step.value)) {\n validateExplicitKey(step.value, parentType);\n }\n }\n }\n }\n }\n }\n}\n/**\n * Given an element, validate that its props follow the propTypes definition,\n * provided by the type.\n *\n * @param {ReactElement} element\n */\n\n\nfunction validatePropTypes(element) {\n {\n var type = element.type;\n\n if (type === null || type === undefined || typeof type === 'string') {\n return;\n }\n\n var propTypes;\n\n if (typeof type === 'function') {\n propTypes = type.propTypes;\n } else if (typeof type === 'object' && (type.$$typeof === REACT_FORWARD_REF_TYPE || // Note: Memo only checks outer props here.\n // Inner props are checked in the reconciler.\n type.$$typeof === REACT_MEMO_TYPE)) {\n propTypes = type.propTypes;\n } else {\n return;\n }\n\n if (propTypes) {\n // Intentionally inside to avoid triggering lazy initializers:\n var name = getComponentNameFromType(type);\n checkPropTypes(propTypes, element.props, 'prop', name, element);\n } else if (type.PropTypes !== undefined && !propTypesMisspellWarningShown) {\n propTypesMisspellWarningShown = true; // Intentionally inside to avoid triggering lazy initializers:\n\n var _name = getComponentNameFromType(type);\n\n error('Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?', _name || 'Unknown');\n }\n\n if (typeof type.getDefaultProps === 'function' && !type.getDefaultProps.isReactClassApproved) {\n error('getDefaultProps is only used on classic React.createClass ' + 'definitions. Use a static property named `defaultProps` instead.');\n }\n }\n}\n/**\n * Given a fragment, validate that it can only be provided with fragment props\n * @param {ReactElement} fragment\n */\n\n\nfunction validateFragmentProps(fragment) {\n {\n var keys = Object.keys(fragment.props);\n\n for (var i = 0; i < keys.length; i++) {\n var key = keys[i];\n\n if (key !== 'children' && key !== 'key') {\n setCurrentlyValidatingElement$1(fragment);\n\n error('Invalid prop `%s` supplied to `React.Fragment`. ' + 'React.Fragment can only have `key` and `children` props.', key);\n\n setCurrentlyValidatingElement$1(null);\n break;\n }\n }\n\n if (fragment.ref !== null) {\n setCurrentlyValidatingElement$1(fragment);\n\n error('Invalid attribute `ref` supplied to `React.Fragment`.');\n\n setCurrentlyValidatingElement$1(null);\n }\n }\n}\n\nfunction jsxWithValidation(type, props, key, isStaticChildren, source, self) {\n {\n var validType = isValidElementType(type); // We warn in this case but don't throw. We expect the element creation to\n // succeed and there will likely be errors in render.\n\n if (!validType) {\n var info = '';\n\n if (type === undefined || typeof type === 'object' && type !== null && Object.keys(type).length === 0) {\n info += ' You likely forgot to export your component from the file ' + \"it's defined in, or you might have mixed up default and named imports.\";\n }\n\n var sourceInfo = getSourceInfoErrorAddendum(source);\n\n if (sourceInfo) {\n info += sourceInfo;\n } else {\n info += getDeclarationErrorAddendum();\n }\n\n var typeString;\n\n if (type === null) {\n typeString = 'null';\n } else if (isArray(type)) {\n typeString = 'array';\n } else if (type !== undefined && type.$$typeof === REACT_ELEMENT_TYPE) {\n typeString = \"<\" + (getComponentNameFromType(type.type) || 'Unknown') + \" />\";\n info = ' Did you accidentally export a JSX literal instead of a component?';\n } else {\n typeString = typeof type;\n }\n\n error('React.jsx: type is invalid -- expected a string (for ' + 'built-in components) or a class/function (for composite ' + 'components) but got: %s.%s', typeString, info);\n }\n\n var element = jsxDEV(type, props, key, source, self); // The result can be nullish if a mock or a custom function is used.\n // TODO: Drop this when these are no longer allowed as the type argument.\n\n if (element == null) {\n return element;\n } // Skip key warning if the type isn't valid since our key validation logic\n // doesn't expect a non-string/function type and can throw confusing errors.\n // We don't want exception behavior to differ between dev and prod.\n // (Rendering will throw with a helpful message and as soon as the type is\n // fixed, the key warnings will appear.)\n\n\n if (validType) {\n var children = props.children;\n\n if (children !== undefined) {\n if (isStaticChildren) {\n if (isArray(children)) {\n for (var i = 0; i < children.length; i++) {\n validateChildKeys(children[i], type);\n }\n\n if (Object.freeze) {\n Object.freeze(children);\n }\n } else {\n error('React.jsx: Static children should always be an array. ' + 'You are likely explicitly calling React.jsxs or React.jsxDEV. ' + 'Use the Babel transform instead.');\n }\n } else {\n validateChildKeys(children, type);\n }\n }\n }\n\n if (type === REACT_FRAGMENT_TYPE) {\n validateFragmentProps(element);\n } else {\n validatePropTypes(element);\n }\n\n return element;\n }\n} // These two functions exist to still get child warnings in dev\n// even with the prod transform. This means that jsxDEV is purely\n// opt-in behavior for better messages but that we won't stop\n// giving you warnings if you use production apis.\n\nfunction jsxWithValidationStatic(type, props, key) {\n {\n return jsxWithValidation(type, props, key, true);\n }\n}\nfunction jsxWithValidationDynamic(type, props, key) {\n {\n return jsxWithValidation(type, props, key, false);\n }\n}\n\nvar jsx = jsxWithValidationDynamic ; // we may want to special case jsxs internally to take advantage of static children.\n// for now we can ship identical prod functions\n\nvar jsxs = jsxWithValidationStatic ;\n\nexports.Fragment = REACT_FRAGMENT_TYPE;\nexports.jsx = jsx;\nexports.jsxs = jsxs;\n })();\n}\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-jsx-runtime.production.min.js');\n} else {\n module.exports = require('./cjs/react-jsx-runtime.development.js');\n}\n","import { forwardRef, useCallback, useEffect, useImperativeHandle, useRef, useState } from 'react'\r\nimport styled, { keyframes, css } from 'styled-components'\r\n\r\nimport { theme } from 'antd'\r\n\r\nexport const animationDuration = 300\r\n\r\nconst slideOpenFrames = keyframes`\r\n from {\r\n transform: translateY(-100%);\r\n border-color: transparent;\r\n }\r\n to {\r\n transform: translateY(0%);\r\n border-color: #fff;\r\n }\r\n`\r\nconst slideOpen = css`animation: ${animationDuration}ms ease-in ${slideOpenFrames};`\r\nconst slideClose = css`animation: ${animationDuration}ms ease-in reverse ${slideOpenFrames};`\r\n\r\nconst CollapseHeader = styled.div`\r\n transition: filter ${animationDuration * 1.3}ms ease-in-out;\r\n cursor: pointer;\r\n min-height: 32px;\r\n z-index: 1;\r\n user-select: none;\r\n\r\n &:hover {\r\n filter: brightness(1.15)\r\n }\r\n`\r\n\r\nconst ContentWrapper = styled.div`\r\n overflow: hidden;\r\n transition: all ${animationDuration}ms ease-in-out;\r\n width: 100%;\r\n`\r\n\r\nconst ChildContent = styled.div<{ $open: boolean, $border: React.CSSProperties[\"border\"] }>`\r\n ${p => p.$open ? slideOpen : slideClose};\r\n border-radius: inherit;\r\n border: ${p => p.$border};\r\n border-top: unset;\r\n`\r\n\r\nexport type CollapseChangeHandler = (open: boolean) => void\r\n\r\nexport type CollapseBaseProps = React.PropsWithChildren<{\r\n open?: boolean,\r\n onChange?: CollapseChangeHandler,\r\n defaultOpen?: boolean, // If the children should be visible immediately\r\n style?: React.CSSProperties, // style for the children\r\n header?: React.ReactNode,\r\n border?: boolean,\r\n width?: React.CSSProperties[\"width\"]\r\n}>\r\n\r\nexport type CollapseRef = {\r\n calculateHeight: () => void\r\n}\r\n\r\nconst CollapseBase = forwardRef<CollapseRef, CollapseBaseProps>(({\r\n open, onChange, defaultOpen,\r\n header, border, style, width,\r\n children\r\n}, ref) => {\r\n const { token } = theme.useToken()\r\n const [ unfoldHeight, setUnfoldHeight ] = useState(0)\r\n const [ show, setShow ] = useState(false)\r\n const unfoldRef = useRef<HTMLDivElement>(null)\r\n\r\n const calcHeight = () => setUnfoldHeight(unfoldRef.current?.offsetHeight)\r\n\r\n useImperativeHandle(ref, () => ({\r\n calculateHeight: calcHeight\r\n }))\r\n\r\n const showChildren = useCallback(() => {\r\n calcHeight()\r\n setShow(true)\r\n onChange?.(true)\r\n }, [ onChange ])\r\n\r\n const hideChildren = useCallback(() => {\r\n setShow(false)\r\n onChange?.(false)\r\n }, [ onChange ])\r\n\r\n const toggleShow = () => {\r\n if (open === undefined) {\r\n if (show) hideChildren()\r\n else showChildren()\r\n } else {\r\n onChange?.(!show)\r\n }\r\n }\r\n\r\n useEffect(() => {\r\n if (typeof open === \"boolean\") {\r\n if (open) showChildren()\r\n else hideChildren()\r\n }\r\n }, [ open, hideChildren, showChildren ])\r\n\r\n useEffect(() => {\r\n if (defaultOpen) showChildren()\r\n }, [ defaultOpen, showChildren ])\r\n\r\n return (\r\n <div style={{ width }}>\r\n <CollapseHeader onClick={toggleShow}>\r\n { header }\r\n </CollapseHeader>\r\n <ContentWrapper style={Object.assign({}, style, { height: show ? unfoldHeight : 0 })}>\r\n <ChildContent ref={unfoldRef} $open={show} $border={border ? `1px solid ${token.colorBorder}` : \"unset\"}>\r\n { children }\r\n </ChildContent>\r\n </ContentWrapper>\r\n </div>\r\n )\r\n})\r\n\r\nexport default CollapseBase\r\n","import { createContext } from 'react';\nvar IconContext = /*#__PURE__*/createContext({});\nexport default IconContext;","export default function _extends() {\n _extends = Object.assign ? Object.assign.bind() : function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n return target;\n };\n return _extends.apply(this, arguments);\n}","export default function _arrayWithHoles(arr) {\n if (Array.isArray(arr)) return arr;\n}","export default function _iterableToArrayLimit(r, l) {\n var t = null == r ? null : \"undefined\" != typeof Symbol && r[Symbol.iterator] || r[\"@@iterator\"];\n if (null != t) {\n var e,\n n,\n i,\n u,\n a = [],\n f = !0,\n o = !1;\n try {\n if (i = (t = t.call(r)).next, 0 === l) {\n if (Object(t) !== t) return;\n f = !1;\n } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0);\n } catch (r) {\n o = !0, n = r;\n } finally {\n try {\n if (!f && null != t[\"return\"] && (u = t[\"return\"](), Object(u) !== u)) return;\n } finally {\n if (o) throw n;\n }\n }\n return a;\n }\n}","export default function _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];\n return arr2;\n}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default function _unsupportedIterableToArray(o, minLen) {\n if (!o) return;\n if (typeof o === \"string\") return arrayLikeToArray(o, minLen);\n var n = Object.prototype.toString.call(o).slice(8, -1);\n if (n === \"Object\" && o.constructor) n = o.constructor.name;\n if (n === \"Map\" || n === \"Set\") return Array.from(o);\n if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return arrayLikeToArray(o, minLen);\n}","export default function _nonIterableRest() {\n throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}","import arrayWithHoles from \"./arrayWithHoles.js\";\nimport iterableToArrayLimit from \"./iterableToArrayLimit.js\";\nimport unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nimport nonIterableRest from \"./nonIterableRest.js\";\nexport default function _slicedToArray(arr, i) {\n return arrayWithHoles(arr) || iterableToArrayLimit(arr, i) || unsupportedIterableToArray(arr, i) || nonIterableRest();\n}","export default function _typeof(o) {\n \"@babel/helpers - typeof\";\n\n return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) {\n return typeof o;\n } : function (o) {\n return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o;\n }, _typeof(o);\n}","import _typeof from \"./typeof.js\";\nexport default function toPrimitive(t, r) {\n if (\"object\" != _typeof(t) || !t) return t;\n var e = t[Symbol.toPrimitive];\n if (void 0 !== e) {\n var i = e.call(t, r || \"default\");\n if (\"object\" != _typeof(i)) return i;\n throw new TypeError(\"@@toPrimitive must return a primitive value.\");\n }\n return (\"string\" === r ? String : Number)(t);\n}","import _typeof from \"./typeof.js\";\nimport toPrimitive from \"./toPrimitive.js\";\nexport default function toPropertyKey(t) {\n var i = toPrimitive(t, \"string\");\n return \"symbol\" == _typeof(i) ? i : String(i);\n}","import toPropertyKey from \"./toPropertyKey.js\";\nexport default function _defineProperty(obj, key, value) {\n key = toPropertyKey(key);\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n return obj;\n}","export default function _objectWithoutPropertiesLoose(source, excluded) {\n if (source == null) return {};\n var target = {};\n var sourceKeys = Object.keys(source);\n var key, i;\n for (i = 0; i < sourceKeys.length; i++) {\n key = sourceKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n target[key] = source[key];\n }\n return target;\n}","import objectWithoutPropertiesLoose from \"./objectWithoutPropertiesLoose.js\";\nexport default function _objectWithoutProperties(source, excluded) {\n if (source == null) return {};\n var target = objectWithoutPropertiesLoose(source, excluded);\n var key, i;\n if (Object.getOwnPropertySymbols) {\n var sourceSymbolKeys = Object.getOwnPropertySymbols(source);\n for (i = 0; i < sourceSymbolKeys.length; i++) {\n key = sourceSymbolKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;\n target[key] = source[key];\n }\n }\n return target;\n}","/*!\n\tCopyright (c) 2018 Jed Watson.\n\tLicensed under the MIT License (MIT), see\n\thttp://jedwatson.github.io/classnames\n*/\n/* global define */\n\n(function () {\n\t'use strict';\n\n\tvar hasOwn = {}.hasOwnProperty;\n\n\tfunction classNames () {\n\t\tvar classes = '';\n\n\t\tfor (var i = 0; i < arguments.length; i++) {\n\t\t\tvar arg = arguments[i];\n\t\t\tif (arg) {\n\t\t\t\tclasses = appendClass(classes, parseValue(arg));\n\t\t\t}\n\t\t}\n\n\t\treturn classes;\n\t}\n\n\tfunction parseValue (arg) {\n\t\tif (typeof arg === 'string' || typeof arg === 'number') {\n\t\t\treturn arg;\n\t\t}\n\n\t\tif (typeof arg !== 'object') {\n\t\t\treturn '';\n\t\t}\n\n\t\tif (Array.isArray(arg)) {\n\t\t\treturn classNames.apply(null, arg);\n\t\t}\n\n\t\tif (arg.toString !== Object.prototype.toString && !arg.toString.toString().includes('[native code]')) {\n\t\t\treturn arg.toString();\n\t\t}\n\n\t\tvar classes = '';\n\n\t\tfor (var key in arg) {\n\t\t\tif (hasOwn.call(arg, key) && arg[key]) {\n\t\t\t\tclasses = appendClass(classes, key);\n\t\t\t}\n\t\t}\n\n\t\treturn classes;\n\t}\n\n\tfunction appendClass (value, newClass) {\n\t\tif (!newClass) {\n\t\t\treturn value;\n\t\t}\n\t\n\t\tif (value) {\n\t\t\treturn value + ' ' + newClass;\n\t\t}\n\t\n\t\treturn value + newClass;\n\t}\n\n\tif (typeof module !== 'undefined' && module.exports) {\n\t\tclassNames.default = classNames;\n\t\tmodule.exports = classNames;\n\t} else if (typeof define === 'function' && typeof define.amd === 'object' && define.amd) {\n\t\t// register as 'classnames', consistent with npm package name\n\t\tdefine('classnames', [], function () {\n\t\t\treturn classNames;\n\t\t});\n\t} else {\n\t\twindow.classNames = classNames;\n\t}\n}());\n","/**\n * Take input from [0, n] and return it as [0, 1]\n * @hidden\n */\nexport function bound01(n, max) {\n if (isOnePointZero(n)) {\n n = '100%';\n }\n var isPercent = isPercentage(n);\n n = max === 360 ? n : Math.min(max, Math.max(0, parseFloat(n)));\n // Automatically convert percentage into number\n if (isPercent) {\n n = parseInt(String(n * max), 10) / 100;\n }\n // Handle floating point rounding errors\n if (Math.abs(n - max) < 0.000001) {\n return 1;\n }\n // Convert into [0, 1] range if it isn't already\n if (max === 360) {\n // If n is a hue given in degrees,\n // wrap around out-of-range values into [0, 360] range\n // then convert into [0, 1].\n n = (n < 0 ? (n % max) + max : n % max) / parseFloat(String(max));\n }\n else {\n // If n not a hue given in degrees\n // Convert into [0, 1] range if it isn't already.\n n = (n % max) / parseFloat(String(max));\n }\n return n;\n}\n/**\n * Force a number between 0 and 1\n * @hidden\n */\nexport function clamp01(val) {\n return Math.min(1, Math.max(0, val));\n}\n/**\n * Need to handle 1.0 as 100%, since once it is a number, there is no difference between it and 1\n * <http://stackoverflow.com/questions/7422072/javascript-how-to-detect-number-as-a-decimal-including-1-0>\n * @hidden\n */\nexport function isOnePointZero(n) {\n return typeof n === 'string' && n.indexOf('.') !== -1 && parseFloat(n) === 1;\n}\n/**\n * Check to see if string passed in is a percentage\n * @hidden\n */\nexport function isPercentage(n) {\n return typeof n === 'string' && n.indexOf('%') !== -1;\n}\n/**\n * Return a valid alpha value [0,1] with all invalid values being set to 1\n * @hidden\n */\nexport function boundAlpha(a) {\n a = parseFloat(a);\n if (isNaN(a) || a < 0 || a > 1) {\n a = 1;\n }\n return a;\n}\n/**\n * Replace a decimal with it's percentage value\n * @hidden\n */\nexport function convertToPercentage(n) {\n if (n <= 1) {\n return \"\".concat(Number(n) * 100, \"%\");\n }\n return n;\n}\n/**\n * Force a hex value to have 2 characters\n * @hidden\n */\nexport function pad2(c) {\n return c.length === 1 ? '0' + c : String(c);\n}\n","import { bound01, pad2 } from './util.js';\n// `rgbToHsl`, `rgbToHsv`, `hslToRgb`, `hsvToRgb` modified from:\n// <http://mjijackson.com/2008/02/rgb-to-hsl-and-rgb-to-hsv-color-model-conversion-algorithms-in-javascript>\n/**\n * Handle bounds / percentage checking to conform to CSS color spec\n * <http://www.w3.org/TR/css3-color/>\n * *Assumes:* r, g, b in [0, 255] or [0, 1]\n * *Returns:* { r, g, b } in [0, 255]\n */\nexport function rgbToRgb(r, g, b) {\n return {\n r: bound01(r, 255) * 255,\n g: bound01(g, 255) * 255,\n b: bound01(b, 255) * 255,\n };\n}\n/**\n * Converts an RGB color value to HSL.\n * *Assumes:* r, g, and b are contained in [0, 255] or [0, 1]\n * *Returns:* { h, s, l } in [0,1]\n */\nexport function rgbToHsl(r, g, b) {\n r = bound01(r, 255);\n g = bound01(g, 255);\n b = bound01(b, 255);\n var max = Math.max(r, g, b);\n var min = Math.min(r, g, b);\n var h = 0;\n var s = 0;\n var l = (max + min) / 2;\n if (max === min) {\n s = 0;\n h = 0; // achromatic\n }\n else {\n var d = max - min;\n s = l > 0.5 ? d / (2 - max - min) : d / (max + min);\n switch (max) {\n case r:\n h = (g - b) / d + (g < b ? 6 : 0);\n break;\n case g:\n h = (b - r) / d + 2;\n break;\n case b:\n h = (r - g) / d + 4;\n break;\n default:\n break;\n }\n h /= 6;\n }\n return { h: h, s: s, l: l };\n}\nfunction hue2rgb(p, q, t) {\n if (t < 0) {\n t += 1;\n }\n if (t > 1) {\n t -= 1;\n }\n if (t < 1 / 6) {\n return p + (q - p) * (6 * t);\n }\n if (t < 1 / 2) {\n return q;\n }\n if (t < 2 / 3) {\n return p + (q - p) * (2 / 3 - t) * 6;\n }\n return p;\n}\n/**\n * Converts an HSL color value to RGB.\n *\n * *Assumes:* h is contained in [0, 1] or [0, 360] and s and l are contained [0, 1] or [0, 100]\n * *Returns:* { r, g, b } in the set [0, 255]\n */\nexport function hslToRgb(h, s, l) {\n var r;\n var g;\n var b;\n h = bound01(h, 360);\n s = bound01(s, 100);\n l = bound01(l, 100);\n if (s === 0) {\n // achromatic\n g = l;\n b = l;\n r = l;\n }\n else {\n var q = l < 0.5 ? l * (1 + s) : l + s - l * s;\n var p = 2 * l - q;\n r = hue2rgb(p, q, h + 1 / 3);\n g = hue2rgb(p, q, h);\n b = hue2rgb(p, q, h - 1 / 3);\n }\n return { r: r * 255, g: g * 255, b: b * 255 };\n}\n/**\n * Converts an RGB color value to HSV\n *\n * *Assumes:* r, g, and b are contained in the set [0, 255] or [0, 1]\n * *Returns:* { h, s, v } in [0,1]\n */\nexport function rgbToHsv(r, g, b) {\n r = bound01(r, 255);\n g = bound01(g, 255);\n b = bound01(b, 255);\n var max = Math.max(r, g, b);\n var min = Math.min(r, g, b);\n var h = 0;\n var v = max;\n var d = max - min;\n var s = max === 0 ? 0 : d / max;\n if (max === min) {\n h = 0; // achromatic\n }\n else {\n switch (max) {\n case r:\n h = (g - b) / d + (g < b ? 6 : 0);\n break;\n case g:\n h = (b - r) / d + 2;\n break;\n case b:\n h = (r - g) / d + 4;\n break;\n default:\n break;\n }\n h /= 6;\n }\n return { h: h, s: s, v: v };\n}\n/**\n * Converts an HSV color value to RGB.\n *\n * *Assumes:* h is contained in [0, 1] or [0, 360] and s and v are contained in [0, 1] or [0, 100]\n * *Returns:* { r, g, b } in the set [0, 255]\n */\nexport function hsvToRgb(h, s, v) {\n h = bound01(h, 360) * 6;\n s = bound01(s, 100);\n v = bound01(v, 100);\n var i = Math.floor(h);\n var f = h - i;\n var p = v * (1 - s);\n var q = v * (1 - f * s);\n var t = v * (1 - (1 - f) * s);\n var mod = i % 6;\n var r = [v, q, p, p, t, v][mod];\n var g = [t, v, v, q, p, p][mod];\n var b = [p, p, t, v, v, q][mod];\n return { r: r * 255, g: g * 255, b: b * 255 };\n}\n/**\n * Converts an RGB color to hex\n *\n * Assumes r, g, and b are contained in the set [0, 255]\n * Returns a 3 or 6 character hex\n */\nexport function rgbToHex(r, g, b, allow3Char) {\n var hex = [\n pad2(Math.round(r).toString(16)),\n pad2(Math.round(g).toString(16)),\n pad2(Math.round(b).toString(16)),\n ];\n // Return a 3 character hex if possible\n if (allow3Char &&\n hex[0].startsWith(hex[0].charAt(1)) &&\n hex[1].startsWith(hex[1].charAt(1)) &&\n hex[2].startsWith(hex[2].charAt(1))) {\n return hex[0].charAt(0) + hex[1].charAt(0) + hex[2].charAt(0);\n }\n return hex.join('');\n}\n/**\n * Converts an RGBA color plus alpha transparency to hex\n *\n * Assumes r, g, b are contained in the set [0, 255] and\n * a in [0, 1]. Returns a 4 or 8 character rgba hex\n */\n// eslint-disable-next-line max-params\nexport function rgbaToHex(r, g, b, a, allow4Char) {\n var hex = [\n pad2(Math.round(r).toString(16)),\n pad2(Math.round(g).toString(16)),\n pad2(Math.round(b).toString(16)),\n pad2(convertDecimalToHex(a)),\n ];\n // Return a 4 character hex if possible\n if (allow4Char &&\n hex[0].startsWith(hex[0].charAt(1)) &&\n hex[1].startsWith(hex[1].charAt(1)) &&\n hex[2].startsWith(hex[2].charAt(1)) &&\n hex[3].startsWith(hex[3].charAt(1))) {\n return hex[0].charAt(0) + hex[1].charAt(0) + hex[2].charAt(0) + hex[3].charAt(0);\n }\n return hex.join('');\n}\n/**\n * Converts an RGBA color to an ARGB Hex8 string\n * Rarely used, but required for \"toFilter()\"\n */\nexport function rgbaToArgbHex(r, g, b, a) {\n var hex = [\n pad2(convertDecimalToHex(a)),\n pad2(Math.round(r).toString(16)),\n pad2(Math.round(g).toString(16)),\n pad2(Math.round(b).toString(16)),\n ];\n return hex.join('');\n}\n/** Converts a decimal to a hex value */\nexport function convertDecimalToHex(d) {\n return Math.round(parseFloat(d) * 255).toString(16);\n}\n/** Converts a hex value to a decimal */\nexport function convertHexToDecimal(h) {\n return parseIntFromHex(h) / 255;\n}\n/** Parse a base-16 hex value into a base-10 integer */\nexport function parseIntFromHex(val) {\n return parseInt(val, 16);\n}\nexport function numberInputToObject(color) {\n return {\n r: color >> 16,\n g: (color & 0xff00) >> 8,\n b: color & 0xff,\n };\n}\n","// https://github.com/bahamas10/css-color-names/blob/master/css-color-names.json\n/**\n * @hidden\n */\nexport var names = {\n aliceblue: '#f0f8ff',\n antiquewhite: '#faebd7',\n aqua: '#00ffff',\n aquamarine: '#7fffd4',\n azure: '#f0ffff',\n beige: '#f5f5dc',\n bisque: '#ffe4c4',\n black: '#000000',\n blanchedalmond: '#ffebcd',\n blue: '#0000ff',\n blueviolet: '#8a2be2',\n brown: '#a52a2a',\n burlywood: '#deb887',\n cadetblue: '#5f9ea0',\n chartreuse: '#7fff00',\n chocolate: '#d2691e',\n coral: '#ff7f50',\n cornflowerblue: '#6495ed',\n cornsilk: '#fff8dc',\n crimson: '#dc143c',\n cyan: '#00ffff',\n darkblue: '#00008b',\n darkcyan: '#008b8b',\n darkgoldenrod: '#b8860b',\n darkgray: '#a9a9a9',\n darkgreen: '#006400',\n darkgrey: '#a9a9a9',\n darkkhaki: '#bdb76b',\n darkmagenta: '#8b008b',\n darkolivegreen: '#556b2f',\n darkorange: '#ff8c00',\n darkorchid: '#9932cc',\n darkred: '#8b0000',\n darksalmon: '#e9967a',\n darkseagreen: '#8fbc8f',\n darkslateblue: '#483d8b',\n darkslategray: '#2f4f4f',\n darkslategrey: '#2f4f4f',\n darkturquoise: '#00ced1',\n darkviolet: '#9400d3',\n deeppink: '#ff1493',\n deepskyblue: '#00bfff',\n dimgray: '#696969',\n dimgrey: '#696969',\n dodgerblue: '#1e90ff',\n firebrick: '#b22222',\n floralwhite: '#fffaf0',\n forestgreen: '#228b22',\n fuchsia: '#ff00ff',\n gainsboro: '#dcdcdc',\n ghostwhite: '#f8f8ff',\n goldenrod: '#daa520',\n gold: '#ffd700',\n gray: '#808080',\n green: '#008000',\n greenyellow: '#adff2f',\n grey: '#808080',\n honeydew: '#f0fff0',\n hotpink: '#ff69b4',\n indianred: '#cd5c5c',\n indigo: '#4b0082',\n ivory: '#fffff0',\n khaki: '#f0e68c',\n lavenderblush: '#fff0f5',\n lavender: '#e6e6fa',\n lawngreen: '#7cfc00',\n lemonchiffon: '#fffacd',\n lightblue: '#add8e6',\n lightcoral: '#f08080',\n lightcyan: '#e0ffff',\n lightgoldenrodyellow: '#fafad2',\n lightgray: '#d3d3d3',\n lightgreen: '#90ee90',\n lightgrey: '#d3d3d3',\n lightpink: '#ffb6c1',\n lightsalmon: '#ffa07a',\n lightseagreen: '#20b2aa',\n lightskyblue: '#87cefa',\n lightslategray: '#778899',\n lightslategrey: '#778899',\n lightsteelblue: '#b0c4de',\n lightyellow: '#ffffe0',\n lime: '#00ff00',\n limegreen: '#32cd32',\n linen: '#faf0e6',\n magenta: '#ff00ff',\n maroon: '#800000',\n mediumaquamarine: '#66cdaa',\n mediumblue: '#0000cd',\n mediumorchid: '#ba55d3',\n mediumpurple: '#9370db',\n mediumseagreen: '#3cb371',\n mediumslateblue: '#7b68ee',\n mediumspringgreen: '#00fa9a',\n mediumturquoise: '#48d1cc',\n mediumvioletred: '#c71585',\n midnightblue: '#191970',\n mintcream: '#f5fffa',\n mistyrose: '#ffe4e1',\n moccasin: '#ffe4b5',\n navajowhite: '#ffdead',\n navy: '#000080',\n oldlace: '#fdf5e6',\n olive: '#808000',\n olivedrab: '#6b8e23',\n orange: '#ffa500',\n orangered: '#ff4500',\n orchid: '#da70d6',\n palegoldenrod: '#eee8aa',\n palegreen: '#98fb98',\n paleturquoise: '#afeeee',\n palevioletred: '#db7093',\n papayawhip: '#ffefd5',\n peachpuff: '#ffdab9',\n peru: '#cd853f',\n pink: '#ffc0cb',\n plum: '#dda0dd',\n powderblue: '#b0e0e6',\n purple: '#800080',\n rebeccapurple: '#663399',\n red: '#ff0000',\n rosybrown: '#bc8f8f',\n royalblue: '#4169e1',\n saddlebrown: '#8b4513',\n salmon: '#fa8072',\n sandybrown: '#f4a460',\n seagreen: '#2e8b57',\n seashell: '#fff5ee',\n sienna: '#a0522d',\n silver: '#c0c0c0',\n skyblue: '#87ceeb',\n slateblue: '#6a5acd',\n slategray: '#708090',\n slategrey: '#708090',\n snow: '#fffafa',\n springgreen: '#00ff7f',\n steelblue: '#4682b4',\n tan: '#d2b48c',\n teal: '#008080',\n thistle: '#d8bfd8',\n tomato: '#ff6347',\n turquoise: '#40e0d0',\n violet: '#ee82ee',\n wheat: '#f5deb3',\n white: '#ffffff',\n whitesmoke: '#f5f5f5',\n yellow: '#ffff00',\n yellowgreen: '#9acd32',\n};\n","/* eslint-disable @typescript-eslint/no-redundant-type-constituents */\nimport { convertHexToDecimal, hslToRgb, hsvToRgb, parseIntFromHex, rgbToRgb, } from './conversion.js';\nimport { names } from './css-color-names.js';\nimport { boundAlpha, convertToPercentage } from './util.js';\n/**\n * Given a string or object, convert that input to RGB\n *\n * Possible string inputs:\n * ```\n * \"red\"\n * \"#f00\" or \"f00\"\n * \"#ff0000\" or \"ff0000\"\n * \"#ff000000\" or \"ff000000\"\n * \"rgb 255 0 0\" or \"rgb (255, 0, 0)\"\n * \"rgb 1.0 0 0\" or \"rgb (1, 0, 0)\"\n * \"rgba (255, 0, 0, 1)\" or \"rgba 255, 0, 0, 1\"\n * \"rgba (1.0, 0, 0, 1)\" or \"rgba 1.0, 0, 0, 1\"\n * \"hsl(0, 100%, 50%)\" or \"hsl 0 100% 50%\"\n * \"hsla(0, 100%, 50%, 1)\" or \"hsla 0 100% 50%, 1\"\n * \"hsv(0, 100%, 100%)\" or \"hsv 0 100% 100%\"\n * ```\n */\nexport function inputToRGB(color) {\n var rgb = { r: 0, g: 0, b: 0 };\n var a = 1;\n var s = null;\n var v = null;\n var l = null;\n var ok = false;\n var format = false;\n if (typeof color === 'string') {\n color = stringInputToObject(color);\n }\n if (typeof color === 'object') {\n if (isValidCSSUnit(color.r) && isValidCSSUnit(color.g) && isValidCSSUnit(color.b)) {\n rgb = rgbToRgb(color.r, color.g, color.b);\n ok = true;\n format = String(color.r).substr(-1) === '%' ? 'prgb' : 'rgb';\n }\n else if (isValidCSSUnit(color.h) && isValidCSSUnit(color.s) && isValidCSSUnit(color.v)) {\n s = convertToPercentage(color.s);\n v = convertToPercentage(color.v);\n rgb = hsvToRgb(color.h, s, v);\n ok = true;\n format = 'hsv';\n }\n else if (isValidCSSUnit(color.h) && isValidCSSUnit(color.s) && isValidCSSUnit(color.l)) {\n s = convertToPercentage(color.s);\n l = convertToPercentage(color.l);\n rgb = hslToRgb(color.h, s, l);\n ok = true;\n format = 'hsl';\n }\n if (Object.prototype.hasOwnProperty.call(color, 'a')) {\n a = color.a;\n }\n }\n a = boundAlpha(a);\n return {\n ok: ok,\n format: color.format || format,\n r: Math.min(255, Math.max(rgb.r, 0)),\n g: Math.min(255, Math.max(rgb.g, 0)),\n b: Math.min(255, Math.max(rgb.b, 0)),\n a: a,\n };\n}\n// <http://www.w3.org/TR/css3-values/#integers>\nvar CSS_INTEGER = '[-\\\\+]?\\\\d+%?';\n// <http://www.w3.org/TR/css3-values/#number-value>\nvar CSS_NUMBER = '[-\\\\+]?\\\\d*\\\\.\\\\d+%?';\n// Allow positive/negative integer/number. Don't capture the either/or, just the entire outcome.\nvar CSS_UNIT = \"(?:\".concat(CSS_NUMBER, \")|(?:\").concat(CSS_INTEGER, \")\");\n// Actual matching.\n// Parentheses and commas are optional, but not required.\n// Whitespace can take the place of commas or opening paren\nvar PERMISSIVE_MATCH3 = \"[\\\\s|\\\\(]+(\".concat(CSS_UNIT, \")[,|\\\\s]+(\").concat(CSS_UNIT, \")[,|\\\\s]+(\").concat(CSS_UNIT, \")\\\\s*\\\\)?\");\nvar PERMISSIVE_MATCH4 = \"[\\\\s|\\\\(]+(\".concat(CSS_UNIT, \")[,|\\\\s]+(\").concat(CSS_UNIT, \")[,|\\\\s]+(\").concat(CSS_UNIT, \")[,|\\\\s]+(\").concat(CSS_UNIT, \")\\\\s*\\\\)?\");\nvar matchers = {\n CSS_UNIT: new RegExp(CSS_UNIT),\n rgb: new RegExp('rgb' + PERMISSIVE_MATCH3),\n rgba: new RegExp('rgba' + PERMISSIVE_MATCH4),\n hsl: new RegExp('hsl' + PERMISSIVE_MATCH3),\n hsla: new RegExp('hsla' + PERMISSIVE_MATCH4),\n hsv: new RegExp('hsv' + PERMISSIVE_MATCH3),\n hsva: new RegExp('hsva' + PERMISSIVE_MATCH4),\n hex3: /^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,\n hex6: /^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,\n hex4: /^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,\n hex8: /^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,\n};\n/**\n * Permissive string parsing. Take in a number of formats, and output an object\n * based on detected format. Returns `{ r, g, b }` or `{ h, s, l }` or `{ h, s, v}`\n */\nexport function stringInputToObject(color) {\n color = color.trim().toLowerCase();\n if (color.length === 0) {\n return false;\n }\n var named = false;\n if (names[color]) {\n color = names[color];\n named = true;\n }\n else if (color === 'transparent') {\n return { r: 0, g: 0, b: 0, a: 0, format: 'name' };\n }\n // Try to match string input using regular expressions.\n // Keep most of the number bounding out of this function - don't worry about [0,1] or [0,100] or [0,360]\n // Just return an object and let the conversion functions handle that.\n // This way the result will be the same whether the tinycolor is initialized with string or object.\n var match = matchers.rgb.exec(color);\n if (match) {\n return { r: match[1], g: match[2], b: match[3] };\n }\n match = matchers.rgba.exec(color);\n if (match) {\n return { r: match[1], g: match[2], b: match[3], a: match[4] };\n }\n match = matchers.hsl.exec(color);\n if (match) {\n return { h: match[1], s: match[2], l: match[3] };\n }\n match = matchers.hsla.exec(color);\n if (match) {\n return { h: match[1], s: match[2], l: match[3], a: match[4] };\n }\n match = matchers.hsv.exec(color);\n if (match) {\n return { h: match[1], s: match[2], v: match[3] };\n }\n match = matchers.hsva.exec(color);\n if (match) {\n return { h: match[1], s: match[2], v: match[3], a: match[4] };\n }\n match = matchers.hex8.exec(color);\n if (match) {\n return {\n r: parseIntFromHex(match[1]),\n g: parseIntFromHex(match[2]),\n b: parseIntFromHex(match[3]),\n a: convertHexToDecimal(match[4]),\n format: named ? 'name' : 'hex8',\n };\n }\n match = matchers.hex6.exec(color);\n if (match) {\n return {\n r: parseIntFromHex(match[1]),\n g: parseIntFromHex(match[2]),\n b: parseIntFromHex(match[3]),\n format: named ? 'name' : 'hex',\n };\n }\n match = matchers.hex4.exec(color);\n if (match) {\n return {\n r: parseIntFromHex(match[1] + match[1]),\n g: parseIntFromHex(match[2] + match[2]),\n b: parseIntFromHex(match[3] + match[3]),\n a: convertHexToDecimal(match[4] + match[4]),\n format: named ? 'name' : 'hex8',\n };\n }\n match = matchers.hex3.exec(color);\n if (match) {\n return {\n r: parseIntFromHex(match[1] + match[1]),\n g: parseIntFromHex(match[2] + match[2]),\n b: parseIntFromHex(match[3] + match[3]),\n format: named ? 'name' : 'hex',\n };\n }\n return false;\n}\n/**\n * Check to see if it looks like a CSS unit\n * (see `matchers` above for definition).\n */\nexport function isValidCSSUnit(color) {\n return Boolean(matchers.CSS_UNIT.exec(String(color)));\n}\n","import { inputToRGB, rgbToHex, rgbToHsv } from '@ctrl/tinycolor';\nvar hueStep = 2; // 色相阶梯\nvar saturationStep = 0.16; // 饱和度阶梯,浅色部分\nvar saturationStep2 = 0.05; // 饱和度阶梯,深色部分\nvar brightnessStep1 = 0.05; // 亮度阶梯,浅色部分\nvar brightnessStep2 = 0.15; // 亮度阶梯,深色部分\nvar lightColorCount = 5; // 浅色数量,主色上\nvar darkColorCount = 4; // 深色数量,主色下\n// 暗色主题颜色映射关系表\nvar darkColorMap = [{\n index: 7,\n opacity: 0.15\n}, {\n index: 6,\n opacity: 0.25\n}, {\n index: 5,\n opacity: 0.3\n}, {\n index: 5,\n opacity: 0.45\n}, {\n index: 5,\n opacity: 0.65\n}, {\n index: 5,\n opacity: 0.85\n}, {\n index: 4,\n opacity: 0.9\n}, {\n index: 3,\n opacity: 0.95\n}, {\n index: 2,\n opacity: 0.97\n}, {\n index: 1,\n opacity: 0.98\n}];\n// Wrapper function ported from TinyColor.prototype.toHsv\n// Keep it here because of `hsv.h * 360`\nfunction toHsv(_ref) {\n var r = _ref.r,\n g = _ref.g,\n b = _ref.b;\n var hsv = rgbToHsv(r, g, b);\n return {\n h: hsv.h * 360,\n s: hsv.s,\n v: hsv.v\n };\n}\n\n// Wrapper function ported from TinyColor.prototype.toHexString\n// Keep it here because of the prefix `#`\nfunction toHex(_ref2) {\n var r = _ref2.r,\n g = _ref2.g,\n b = _ref2.b;\n return \"#\".concat(rgbToHex(r, g, b, false));\n}\n\n// Wrapper function ported from TinyColor.prototype.mix, not treeshakable.\n// Amount in range [0, 1]\n// Assume color1 & color2 has no alpha, since the following src code did so.\nfunction mix(rgb1, rgb2, amount) {\n var p = amount / 100;\n var rgb = {\n r: (rgb2.r - rgb1.r) * p + rgb1.r,\n g: (rgb2.g - rgb1.g) * p + rgb1.g,\n b: (rgb2.b - rgb1.b) * p + rgb1.b\n };\n return rgb;\n}\nfunction getHue(hsv, i, light) {\n var hue;\n // 根据色相不同,色相转向不同\n if (Math.round(hsv.h) >= 60 && Math.round(hsv.h) <= 240) {\n hue = light ? Math.round(hsv.h) - hueStep * i : Math.round(hsv.h) + hueStep * i;\n } else {\n hue = light ? Math.round(hsv.h) + hueStep * i : Math.round(hsv.h) - hueStep * i;\n }\n if (hue < 0) {\n hue += 360;\n } else if (hue >= 360) {\n hue -= 360;\n }\n return hue;\n}\nfunction getSaturation(hsv, i, light) {\n // grey color don't change saturation\n if (hsv.h === 0 && hsv.s === 0) {\n return hsv.s;\n }\n var saturation;\n if (light) {\n saturation = hsv.s - saturationStep * i;\n } else if (i === darkColorCount) {\n saturation = hsv.s + saturationStep;\n } else {\n saturation = hsv.s + saturationStep2 * i;\n }\n // 边界值修正\n if (saturation > 1) {\n saturation = 1;\n }\n // 第一格的 s 限制在 0.06-0.1 之间\n if (light && i === lightColorCount && saturation > 0.1) {\n saturation = 0.1;\n }\n if (saturation < 0.06) {\n saturation = 0.06;\n }\n return Number(saturation.toFixed(2));\n}\nfunction getValue(hsv, i, light) {\n var value;\n if (light) {\n value = hsv.v + brightnessStep1 * i;\n } else {\n value = hsv.v - brightnessStep2 * i;\n }\n if (value > 1) {\n value = 1;\n }\n return Number(value.toFixed(2));\n}\nexport default function generate(color) {\n var opts = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n var patterns = [];\n var pColor = inputToRGB(color);\n for (var i = lightColorCount; i > 0; i -= 1) {\n var hsv = toHsv(pColor);\n var colorString = toHex(inputToRGB({\n h: getHue(hsv, i, true),\n s: getSaturation(hsv, i, true),\n v: getValue(hsv, i, true)\n }));\n patterns.push(colorString);\n }\n patterns.push(toHex(pColor));\n for (var _i = 1; _i <= darkColorCount; _i += 1) {\n var _hsv = toHsv(pColor);\n var _colorString = toHex(inputToRGB({\n h: getHue(_hsv, _i),\n s: getSaturation(_hsv, _i),\n v: getValue(_hsv, _i)\n }));\n patterns.push(_colorString);\n }\n\n // dark theme patterns\n if (opts.theme === 'dark') {\n return darkColorMap.map(function (_ref3) {\n var index = _ref3.index,\n opacity = _ref3.opacity;\n var darkColorString = toHex(mix(inputToRGB(opts.backgroundColor || '#141414'), inputToRGB(patterns[index]), opacity * 100));\n return darkColorString;\n });\n }\n return patterns;\n}","import generate from \"./generate\";\nvar presetPrimaryColors = {\n red: '#F5222D',\n volcano: '#FA541C',\n orange: '#FA8C16',\n gold: '#FAAD14',\n yellow: '#FADB14',\n lime: '#A0D911',\n green: '#52C41A',\n cyan: '#13C2C2',\n blue: '#1677FF',\n geekblue: '#2F54EB',\n purple: '#722ED1',\n magenta: '#EB2F96',\n grey: '#666666'\n};\nvar presetPalettes = {};\nvar presetDarkPalettes = {};\nObject.keys(presetPrimaryColors).forEach(function (key) {\n presetPalettes[key] = generate(presetPrimaryColors[key]);\n presetPalettes[key].primary = presetPalettes[key][5];\n\n // dark presetPalettes\n presetDarkPalettes[key] = generate(presetPrimaryColors[key], {\n theme: 'dark',\n backgroundColor: '#141414'\n });\n presetDarkPalettes[key].primary = presetDarkPalettes[key][5];\n});\nvar red = presetPalettes.red;\nvar volcano = presetPalettes.volcano;\nvar gold = presetPalettes.gold;\nvar orange = presetPalettes.orange;\nvar yellow = presetPalettes.yellow;\nvar lime = presetPalettes.lime;\nvar green = presetPalettes.green;\nvar cyan = presetPalettes.cyan;\nvar blue = presetPalettes.blue;\nvar geekblue = presetPalettes.geekblue;\nvar purple = presetPalettes.purple;\nvar magenta = presetPalettes.magenta;\nvar grey = presetPalettes.grey;\nvar gray = presetPalettes.grey;\nexport { generate, presetPalettes, presetDarkPalettes, presetPrimaryColors, red, volcano, orange, gold, yellow, lime, green, cyan, blue, geekblue, purple, magenta, grey, gray };","import defineProperty from \"./defineProperty.js\";\nfunction ownKeys(e, r) {\n var t = Object.keys(e);\n if (Object.getOwnPropertySymbols) {\n var o = Object.getOwnPropertySymbols(e);\n r && (o = o.filter(function (r) {\n return Object.getOwnPropertyDescriptor(e, r).enumerable;\n })), t.push.apply(t, o);\n }\n return t;\n}\nexport default function _objectSpread2(e) {\n for (var r = 1; r < arguments.length; r++) {\n var t = null != arguments[r] ? arguments[r] : {};\n r % 2 ? ownKeys(Object(t), !0).forEach(function (r) {\n defineProperty(e, r, t[r]);\n }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) {\n Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));\n });\n }\n return e;\n}","export default function canUseDom() {\n return !!(typeof window !== 'undefined' && window.document && window.document.createElement);\n}","export default function contains(root, n) {\n if (!root) {\n return false;\n }\n\n // Use native if support\n if (root.contains) {\n return root.contains(n);\n }\n\n // `document.contains` not support with IE11\n var node = n;\n while (node) {\n if (node === root) {\n return true;\n }\n node = node.parentNode;\n }\n return false;\n}","import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport canUseDom from \"./canUseDom\";\nimport contains from \"./contains\";\nvar APPEND_ORDER = 'data-rc-order';\nvar APPEND_PRIORITY = 'data-rc-priority';\nvar MARK_KEY = \"rc-util-key\";\nvar containerCache = new Map();\nfunction getMark() {\n var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},\n mark = _ref.mark;\n if (mark) {\n return mark.startsWith('data-') ? mark : \"data-\".concat(mark);\n }\n return MARK_KEY;\n}\nfunction getContainer(option) {\n if (option.attachTo) {\n return option.attachTo;\n }\n var head = document.querySelector('head');\n return head || document.body;\n}\nfunction getOrder(prepend) {\n if (prepend === 'queue') {\n return 'prependQueue';\n }\n return prepend ? 'prepend' : 'append';\n}\n\n/**\n * Find style which inject by rc-util\n */\nfunction findStyles(container) {\n return Array.from((containerCache.get(container) || container).children).filter(function (node) {\n return node.tagName === 'STYLE';\n });\n}\nexport function injectCSS(css) {\n var option = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n if (!canUseDom()) {\n return null;\n }\n var csp = option.csp,\n prepend = option.prepend,\n _option$priority = option.priority,\n priority = _option$priority === void 0 ? 0 : _option$priority;\n var mergedOrder = getOrder(prepend);\n var isPrependQueue = mergedOrder === 'prependQueue';\n var styleNode = document.createElement('style');\n styleNode.setAttribute(APPEND_ORDER, mergedOrder);\n if (isPrependQueue && priority) {\n styleNode.setAttribute(APPEND_PRIORITY, \"\".concat(priority));\n }\n if (csp !== null && csp !== void 0 && csp.nonce) {\n styleNode.nonce = csp === null || csp === void 0 ? void 0 : csp.nonce;\n }\n styleNode.innerHTML = css;\n var container = getContainer(option);\n var firstChild = container.firstChild;\n if (prepend) {\n // If is queue `prepend`, it will prepend first style and then append rest style\n if (isPrependQueue) {\n var existStyle = (option.styles || findStyles(container)).filter(function (node) {\n // Ignore style which not injected by rc-util with prepend\n if (!['prepend', 'prependQueue'].includes(node.getAttribute(APPEND_ORDER))) {\n return false;\n }\n\n // Ignore style which priority less then new style\n var nodePriority = Number(node.getAttribute(APPEND_PRIORITY) || 0);\n return priority >= nodePriority;\n });\n if (existStyle.length) {\n container.insertBefore(styleNode, existStyle[existStyle.length - 1].nextSibling);\n return styleNode;\n }\n }\n\n // Use `insertBefore` as `prepend`\n container.insertBefore(styleNode, firstChild);\n } else {\n container.appendChild(styleNode);\n }\n return styleNode;\n}\nfunction findExistNode(key) {\n var option = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n var container = getContainer(option);\n return (option.styles || findStyles(container)).find(function (node) {\n return node.getAttribute(getMark(option)) === key;\n });\n}\nexport function removeCSS(key) {\n var option = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n var existNode = findExistNode(key, option);\n if (existNode) {\n var container = getContainer(option);\n container.removeChild(existNode);\n }\n}\n\n/**\n * qiankun will inject `appendChild` to insert into other\n */\nfunction syncRealContainer(container, option) {\n var cachedRealContainer = containerCache.get(container);\n\n // Find real container when not cached or cached container removed\n if (!cachedRealContainer || !contains(document, cachedRealContainer)) {\n var placeholderStyle = injectCSS('', option);\n var parentNode = placeholderStyle.parentNode;\n containerCache.set(container, parentNode);\n container.removeChild(placeholderStyle);\n }\n}\n\n/**\n * manually clear container cache to avoid global cache in unit testes\n */\nexport function clearContainerCache() {\n containerCache.clear();\n}\nexport function updateCSS(css, key) {\n var originOption = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n var container = getContainer(originOption);\n var styles = findStyles(container);\n var option = _objectSpread(_objectSpread({}, originOption), {}, {\n styles: styles\n });\n\n // Sync real parent\n syncRealContainer(container, option);\n var existNode = findExistNode(key, option);\n if (existNode) {\n var _option$csp, _option$csp2;\n if ((_option$csp = option.csp) !== null && _option$csp !== void 0 && _option$csp.nonce && existNode.nonce !== ((_option$csp2 = option.csp) === null || _option$csp2 === void 0 ? void 0 : _option$csp2.nonce)) {\n var _option$csp3;\n existNode.nonce = (_option$csp3 = option.csp) === null || _option$csp3 === void 0 ? void 0 : _option$csp3.nonce;\n }\n if (existNode.innerHTML !== css) {\n existNode.innerHTML = css;\n }\n return existNode;\n }\n var newNode = injectCSS(css, option);\n newNode.setAttribute(getMark(option), key);\n return newNode;\n}","function getRoot(ele) {\n var _ele$getRootNode;\n return ele === null || ele === void 0 || (_ele$getRootNode = ele.getRootNode) === null || _ele$getRootNode === void 0 ? void 0 : _ele$getRootNode.call(ele);\n}\n\n/**\n * Check if is in shadowRoot\n */\nexport function inShadow(ele) {\n return getRoot(ele) instanceof ShadowRoot;\n}\n\n/**\n * Return shadowRoot if possible\n */\nexport function getShadowRoot(ele) {\n return inShadow(ele) ? getRoot(ele) : null;\n}","/* eslint-disable no-console */\nvar warned = {};\nvar preWarningFns = [];\n\n/**\n * Pre warning enable you to parse content before console.error.\n * Modify to null will prevent warning.\n */\nexport var preMessage = function preMessage(fn) {\n preWarningFns.push(fn);\n};\n\n/**\n * Warning if condition not match.\n * @param valid Condition\n * @param message Warning message\n * @example\n * ```js\n * warning(false, 'some error'); // print some error\n * warning(true, 'some error'); // print nothing\n * warning(1 === 2, 'some error'); // print some error\n * ```\n */\nexport function warning(valid, message) {\n if (process.env.NODE_ENV !== 'production' && !valid && console !== undefined) {\n var finalMessage = preWarningFns.reduce(function (msg, preMessageFn) {\n return preMessageFn(msg !== null && msg !== void 0 ? msg : '', 'warning');\n }, message);\n if (finalMessage) {\n console.error(\"Warning: \".concat(finalMessage));\n }\n }\n}\n\n/** @see Similar to {@link warning} */\nexport function note(valid, message) {\n if (process.env.NODE_ENV !== 'production' && !valid && console !== undefined) {\n var finalMessage = preWarningFns.reduce(function (msg, preMessageFn) {\n return preMessageFn(msg !== null && msg !== void 0 ? msg : '', 'note');\n }, message);\n if (finalMessage) {\n console.warn(\"Note: \".concat(finalMessage));\n }\n }\n}\nexport function resetWarned() {\n warned = {};\n}\nexport function call(method, valid, message) {\n if (!valid && !warned[message]) {\n method(false, message);\n warned[message] = true;\n }\n}\n\n/** @see Same as {@link warning}, but only warn once for the same message */\nexport function warningOnce(valid, message) {\n call(warning, valid, message);\n}\n\n/** @see Same as {@link warning}, but only warn once for the same message */\nexport function noteOnce(valid, message) {\n call(note, valid, message);\n}\nwarningOnce.preMessage = preMessage;\nwarningOnce.resetWarned = resetWarned;\nwarningOnce.noteOnce = noteOnce;\nexport default warningOnce;","import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\nimport { generate as generateColor } from '@ant-design/colors';\nimport { updateCSS } from \"rc-util/es/Dom/dynamicCSS\";\nimport { getShadowRoot } from \"rc-util/es/Dom/shadow\";\nimport warn from \"rc-util/es/warning\";\nimport React, { useContext, useEffect } from 'react';\nimport IconContext from \"./components/Context\";\nfunction camelCase(input) {\n return input.replace(/-(.)/g, function (match, g) {\n return g.toUpperCase();\n });\n}\nexport function warning(valid, message) {\n warn(valid, \"[@ant-design/icons] \".concat(message));\n}\nexport function isIconDefinition(target) {\n return _typeof(target) === 'object' && typeof target.name === 'string' && typeof target.theme === 'string' && (_typeof(target.icon) === 'object' || typeof target.icon === 'function');\n}\nexport function normalizeAttrs() {\n var attrs = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n return Object.keys(attrs).reduce(function (acc, key) {\n var val = attrs[key];\n switch (key) {\n case 'class':\n acc.className = val;\n delete acc.class;\n break;\n default:\n delete acc[key];\n acc[camelCase(key)] = val;\n }\n return acc;\n }, {});\n}\nexport function generate(node, key, rootProps) {\n if (!rootProps) {\n return /*#__PURE__*/React.createElement(node.tag, _objectSpread({\n key: key\n }, normalizeAttrs(node.attrs)), (node.children || []).map(function (child, index) {\n return generate(child, \"\".concat(key, \"-\").concat(node.tag, \"-\").concat(index));\n }));\n }\n return /*#__PURE__*/React.createElement(node.tag, _objectSpread(_objectSpread({\n key: key\n }, normalizeAttrs(node.attrs)), rootProps), (node.children || []).map(function (child, index) {\n return generate(child, \"\".concat(key, \"-\").concat(node.tag, \"-\").concat(index));\n }));\n}\nexport function getSecondaryColor(primaryColor) {\n // choose the second color\n return generateColor(primaryColor)[0];\n}\nexport function normalizeTwoToneColors(twoToneColor) {\n if (!twoToneColor) {\n return [];\n }\n return Array.isArray(twoToneColor) ? twoToneColor : [twoToneColor];\n}\n\n// These props make sure that the SVG behaviours like general text.\n// Reference: https://blog.prototypr.io/align-svg-icons-to-text-and-say-goodbye-to-font-icons-d44b3d7b26b4\nexport var svgBaseProps = {\n width: '1em',\n height: '1em',\n fill: 'currentColor',\n 'aria-hidden': 'true',\n focusable: 'false'\n};\nexport var iconStyles = \"\\n.anticon {\\n display: inline-block;\\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\";\nexport var useInsertStyles = function useInsertStyles(eleRef) {\n var _useContext = useContext(IconContext),\n csp = _useContext.csp,\n prefixCls = _useContext.prefixCls;\n var mergedStyleStr = iconStyles;\n if (prefixCls) {\n mergedStyleStr = mergedStyleStr.replace(/anticon/g, prefixCls);\n }\n useEffect(function () {\n var ele = eleRef.current;\n var shadowRoot = getShadowRoot(ele);\n updateCSS(mergedStyleStr, '@ant-design-icons', {\n prepend: true,\n csp: csp,\n attachTo: shadowRoot\n });\n }, []);\n};","import _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nvar _excluded = [\"icon\", \"className\", \"onClick\", \"style\", \"primaryColor\", \"secondaryColor\"];\nimport * as React from 'react';\nimport { generate, getSecondaryColor, isIconDefinition, warning, useInsertStyles } from \"../utils\";\nvar twoToneColorPalette = {\n primaryColor: '#333',\n secondaryColor: '#E6E6E6',\n calculated: false\n};\nfunction setTwoToneColors(_ref) {\n var primaryColor = _ref.primaryColor,\n secondaryColor = _ref.secondaryColor;\n twoToneColorPalette.primaryColor = primaryColor;\n twoToneColorPalette.secondaryColor = secondaryColor || getSecondaryColor(primaryColor);\n twoToneColorPalette.calculated = !!secondaryColor;\n}\nfunction getTwoToneColors() {\n return _objectSpread({}, twoToneColorPalette);\n}\nvar IconBase = function IconBase(props) {\n var icon = props.icon,\n className = props.className,\n onClick = props.onClick,\n style = props.style,\n primaryColor = props.primaryColor,\n secondaryColor = props.secondaryColor,\n restProps = _objectWithoutProperties(props, _excluded);\n var svgRef = React.useRef();\n var colors = twoToneColorPalette;\n if (primaryColor) {\n colors = {\n primaryColor: primaryColor,\n secondaryColor: secondaryColor || getSecondaryColor(primaryColor)\n };\n }\n useInsertStyles(svgRef);\n warning(isIconDefinition(icon), \"icon should be icon definiton, but got \".concat(icon));\n if (!isIconDefinition(icon)) {\n return null;\n }\n var target = icon;\n if (target && typeof target.icon === 'function') {\n target = _objectSpread(_objectSpread({}, target), {}, {\n icon: target.icon(colors.primaryColor, colors.secondaryColor)\n });\n }\n return generate(target.icon, \"svg-\".concat(target.name), _objectSpread(_objectSpread({\n className: className,\n onClick: onClick,\n style: style,\n 'data-icon': target.name,\n width: '1em',\n height: '1em',\n fill: 'currentColor',\n 'aria-hidden': 'true'\n }, restProps), {}, {\n ref: svgRef\n }));\n};\nIconBase.displayName = 'IconReact';\nIconBase.getTwoToneColors = getTwoToneColors;\nIconBase.setTwoToneColors = setTwoToneColors;\nexport default IconBase;","import _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport ReactIcon from \"./IconBase\";\nimport { normalizeTwoToneColors } from \"../utils\";\nexport function setTwoToneColor(twoToneColor) {\n var _normalizeTwoToneColo = normalizeTwoToneColors(twoToneColor),\n _normalizeTwoToneColo2 = _slicedToArray(_normalizeTwoToneColo, 2),\n primaryColor = _normalizeTwoToneColo2[0],\n secondaryColor = _normalizeTwoToneColo2[1];\n return ReactIcon.setTwoToneColors({\n primaryColor: primaryColor,\n secondaryColor: secondaryColor\n });\n}\nexport function getTwoToneColor() {\n var colors = ReactIcon.getTwoToneColors();\n if (!colors.calculated) {\n return colors.primaryColor;\n }\n return [colors.primaryColor, colors.secondaryColor];\n}","'use client';\n\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nvar _excluded = [\"className\", \"icon\", \"spin\", \"rotate\", \"tabIndex\", \"onClick\", \"twoToneColor\"];\nimport * as React from 'react';\nimport classNames from 'classnames';\nimport { blue } from '@ant-design/colors';\nimport Context from \"./Context\";\nimport ReactIcon from \"./IconBase\";\nimport { getTwoToneColor, setTwoToneColor } from \"./twoTonePrimaryColor\";\nimport { normalizeTwoToneColors } from \"../utils\";\n// Initial setting\n// should move it to antd main repo?\nsetTwoToneColor(blue.primary);\n\n// https://github.com/DefinitelyTyped/DefinitelyTyped/issues/34757#issuecomment-488848720\n\nvar Icon = /*#__PURE__*/React.forwardRef(function (props, ref) {\n var className = props.className,\n icon = props.icon,\n spin = props.spin,\n rotate = props.rotate,\n tabIndex = props.tabIndex,\n onClick = props.onClick,\n twoToneColor = props.twoToneColor,\n restProps = _objectWithoutProperties(props, _excluded);\n var _React$useContext = React.useContext(Context),\n _React$useContext$pre = _React$useContext.prefixCls,\n prefixCls = _React$useContext$pre === void 0 ? 'anticon' : _React$useContext$pre,\n rootClassName = _React$useContext.rootClassName;\n var classString = classNames(rootClassName, prefixCls, _defineProperty(_defineProperty({}, \"\".concat(prefixCls, \"-\").concat(icon.name), !!icon.name), \"\".concat(prefixCls, \"-spin\"), !!spin || icon.name === 'loading'), className);\n var iconTabIndex = tabIndex;\n if (iconTabIndex === undefined && onClick) {\n iconTabIndex = -1;\n }\n var svgStyle = rotate ? {\n msTransform: \"rotate(\".concat(rotate, \"deg)\"),\n transform: \"rotate(\".concat(rotate, \"deg)\")\n } : undefined;\n var _normalizeTwoToneColo = normalizeTwoToneColors(twoToneColor),\n _normalizeTwoToneColo2 = _slicedToArray(_normalizeTwoToneColo, 2),\n primaryColor = _normalizeTwoToneColo2[0],\n secondaryColor = _normalizeTwoToneColo2[1];\n return /*#__PURE__*/React.createElement(\"span\", _extends({\n role: \"img\",\n \"aria-label\": icon.name\n }, restProps, {\n ref: ref,\n tabIndex: iconTabIndex,\n onClick: onClick,\n className: classString\n }), /*#__PURE__*/React.createElement(ReactIcon, {\n icon: icon,\n primaryColor: primaryColor,\n secondaryColor: secondaryColor,\n style: svgStyle\n }));\n});\nIcon.displayName = 'AntdIcon';\nIcon.getTwoToneColor = getTwoToneColor;\nIcon.setTwoToneColor = setTwoToneColor;\nexport default Icon;","// This icon file is generated automatically.\nvar LoadingOutlined = { \"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\" };\nexport default LoadingOutlined;\n","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport LoadingOutlinedSvg from \"@ant-design/icons-svg/es/asn/LoadingOutlined\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar LoadingOutlined = function LoadingOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: LoadingOutlinedSvg\n }));\n};\nif (process.env.NODE_ENV !== 'production') {\n LoadingOutlined.displayName = 'LoadingOutlined';\n}\nexport default /*#__PURE__*/React.forwardRef(LoadingOutlined);","// This icon file is generated automatically.\nvar RightOutlined = { \"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\" };\nexport default RightOutlined;\n","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport RightOutlinedSvg from \"@ant-design/icons-svg/es/asn/RightOutlined\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar RightOutlined = function RightOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: RightOutlinedSvg\n }));\n};\nif (process.env.NODE_ENV !== 'production') {\n RightOutlined.displayName = 'RightOutlined';\n}\nexport default /*#__PURE__*/React.forwardRef(RightOutlined);","/**\n * @license React\n * react-is.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n'use strict';var b=Symbol.for(\"react.element\"),c=Symbol.for(\"react.portal\"),d=Symbol.for(\"react.fragment\"),e=Symbol.for(\"react.strict_mode\"),f=Symbol.for(\"react.profiler\"),g=Symbol.for(\"react.provider\"),h=Symbol.for(\"react.context\"),k=Symbol.for(\"react.server_context\"),l=Symbol.for(\"react.forward_ref\"),m=Symbol.for(\"react.suspense\"),n=Symbol.for(\"react.suspense_list\"),p=Symbol.for(\"react.memo\"),q=Symbol.for(\"react.lazy\"),t=Symbol.for(\"react.offscreen\"),u;u=Symbol.for(\"react.module.reference\");\nfunction v(a){if(\"object\"===typeof a&&null!==a){var r=a.$$typeof;switch(r){case b:switch(a=a.type,a){case d:case f:case e:case m:case n:return a;default:switch(a=a&&a.$$typeof,a){case k:case h:case l:case q:case p:case g:return a;default:return r}}case c:return r}}}exports.ContextConsumer=h;exports.ContextProvider=g;exports.Element=b;exports.ForwardRef=l;exports.Fragment=d;exports.Lazy=q;exports.Memo=p;exports.Portal=c;exports.Profiler=f;exports.StrictMode=e;exports.Suspense=m;\nexports.SuspenseList=n;exports.isAsyncMode=function(){return!1};exports.isConcurrentMode=function(){return!1};exports.isContextConsumer=function(a){return v(a)===h};exports.isContextProvider=function(a){return v(a)===g};exports.isElement=function(a){return\"object\"===typeof a&&null!==a&&a.$$typeof===b};exports.isForwardRef=function(a){return v(a)===l};exports.isFragment=function(a){return v(a)===d};exports.isLazy=function(a){return v(a)===q};exports.isMemo=function(a){return v(a)===p};\nexports.isPortal=function(a){return v(a)===c};exports.isProfiler=function(a){return v(a)===f};exports.isStrictMode=function(a){return v(a)===e};exports.isSuspense=function(a){return v(a)===m};exports.isSuspenseList=function(a){return v(a)===n};\nexports.isValidElementType=function(a){return\"string\"===typeof a||\"function\"===typeof a||a===d||a===f||a===e||a===m||a===n||a===t||\"object\"===typeof a&&null!==a&&(a.$$typeof===q||a.$$typeof===p||a.$$typeof===g||a.$$typeof===h||a.$$typeof===l||a.$$typeof===u||void 0!==a.getModuleId)?!0:!1};exports.typeOf=v;\n","/**\n * @license React\n * react-is.development.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nif (process.env.NODE_ENV !== \"production\") {\n (function() {\n'use strict';\n\n// ATTENTION\n// When adding new symbols to this file,\n// Please consider also adding to 'react-devtools-shared/src/backend/ReactSymbols'\n// The Symbol used to tag the ReactElement-like types.\nvar REACT_ELEMENT_TYPE = Symbol.for('react.element');\nvar REACT_PORTAL_TYPE = Symbol.for('react.portal');\nvar REACT_FRAGMENT_TYPE = Symbol.for('react.fragment');\nvar REACT_STRICT_MODE_TYPE = Symbol.for('react.strict_mode');\nvar REACT_PROFILER_TYPE = Symbol.for('react.profiler');\nvar REACT_PROVIDER_TYPE = Symbol.for('react.provider');\nvar REACT_CONTEXT_TYPE = Symbol.for('react.context');\nvar REACT_SERVER_CONTEXT_TYPE = Symbol.for('react.server_context');\nvar REACT_FORWARD_REF_TYPE = Symbol.for('react.forward_ref');\nvar REACT_SUSPENSE_TYPE = Symbol.for('react.suspense');\nvar REACT_SUSPENSE_LIST_TYPE = Symbol.for('react.suspense_list');\nvar REACT_MEMO_TYPE = Symbol.for('react.memo');\nvar REACT_LAZY_TYPE = Symbol.for('react.lazy');\nvar REACT_OFFSCREEN_TYPE = Symbol.for('react.offscreen');\n\n// -----------------------------------------------------------------------------\n\nvar enableScopeAPI = false; // Experimental Create Event Handle API.\nvar enableCacheElement = false;\nvar enableTransitionTracing = false; // No known bugs, but needs performance testing\n\nvar enableLegacyHidden = false; // Enables unstable_avoidThisFallback feature in Fiber\n// stuff. Intended to enable React core members to more easily debug scheduling\n// issues in DEV builds.\n\nvar enableDebugTracing = false; // Track which Fiber(s) schedule render work.\n\nvar REACT_MODULE_REFERENCE;\n\n{\n REACT_MODULE_REFERENCE = Symbol.for('react.module.reference');\n}\n\nfunction isValidElementType(type) {\n if (typeof type === 'string' || typeof type === 'function') {\n return true;\n } // Note: typeof might be other than 'symbol' or 'number' (e.g. if it's a polyfill).\n\n\n if (type === REACT_FRAGMENT_TYPE || type === REACT_PROFILER_TYPE || enableDebugTracing || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || enableLegacyHidden || type === REACT_OFFSCREEN_TYPE || enableScopeAPI || enableCacheElement || enableTransitionTracing ) {\n return true;\n }\n\n if (typeof type === 'object' && type !== null) {\n if (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || // This needs to include all possible module reference object\n // types supported by any Flight configuration anywhere since\n // we don't know which Flight build this will end up being used\n // with.\n type.$$typeof === REACT_MODULE_REFERENCE || type.getModuleId !== undefined) {\n return true;\n }\n }\n\n return false;\n}\n\nfunction typeOf(object) {\n if (typeof object === 'object' && object !== null) {\n var $$typeof = object.$$typeof;\n\n switch ($$typeof) {\n case REACT_ELEMENT_TYPE:\n var type = object.type;\n\n switch (type) {\n case REACT_FRAGMENT_TYPE:\n case REACT_PROFILER_TYPE:\n case REACT_STRICT_MODE_TYPE:\n case REACT_SUSPENSE_TYPE:\n case REACT_SUSPENSE_LIST_TYPE:\n return type;\n\n default:\n var $$typeofType = type && type.$$typeof;\n\n switch ($$typeofType) {\n case REACT_SERVER_CONTEXT_TYPE:\n case REACT_CONTEXT_TYPE:\n case REACT_FORWARD_REF_TYPE:\n case REACT_LAZY_TYPE:\n case REACT_MEMO_TYPE:\n case REACT_PROVIDER_TYPE:\n return $$typeofType;\n\n default:\n return $$typeof;\n }\n\n }\n\n case REACT_PORTAL_TYPE:\n return $$typeof;\n }\n }\n\n return undefined;\n}\nvar ContextConsumer = REACT_CONTEXT_TYPE;\nvar ContextProvider = REACT_PROVIDER_TYPE;\nvar Element = REACT_ELEMENT_TYPE;\nvar ForwardRef = REACT_FORWARD_REF_TYPE;\nvar Fragment = REACT_FRAGMENT_TYPE;\nvar Lazy = REACT_LAZY_TYPE;\nvar Memo = REACT_MEMO_TYPE;\nvar Portal = REACT_PORTAL_TYPE;\nvar Profiler = REACT_PROFILER_TYPE;\nvar StrictMode = REACT_STRICT_MODE_TYPE;\nvar Suspense = REACT_SUSPENSE_TYPE;\nvar SuspenseList = REACT_SUSPENSE_LIST_TYPE;\nvar hasWarnedAboutDeprecatedIsAsyncMode = false;\nvar hasWarnedAboutDeprecatedIsConcurrentMode = false; // AsyncMode should be deprecated\n\nfunction isAsyncMode(object) {\n {\n if (!hasWarnedAboutDeprecatedIsAsyncMode) {\n hasWarnedAboutDeprecatedIsAsyncMode = true; // Using console['warn'] to evade Babel and ESLint\n\n console['warn']('The ReactIs.isAsyncMode() alias has been deprecated, ' + 'and will be removed in React 18+.');\n }\n }\n\n return false;\n}\nfunction isConcurrentMode(object) {\n {\n if (!hasWarnedAboutDeprecatedIsConcurrentMode) {\n hasWarnedAboutDeprecatedIsConcurrentMode = true; // Using console['warn'] to evade Babel and ESLint\n\n console['warn']('The ReactIs.isConcurrentMode() alias has been deprecated, ' + 'and will be removed in React 18+.');\n }\n }\n\n return false;\n}\nfunction isContextConsumer(object) {\n return typeOf(object) === REACT_CONTEXT_TYPE;\n}\nfunction isContextProvider(object) {\n return typeOf(object) === REACT_PROVIDER_TYPE;\n}\nfunction isElement(object) {\n return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;\n}\nfunction isForwardRef(object) {\n return typeOf(object) === REACT_FORWARD_REF_TYPE;\n}\nfunction isFragment(object) {\n return typeOf(object) === REACT_FRAGMENT_TYPE;\n}\nfunction isLazy(object) {\n return typeOf(object) === REACT_LAZY_TYPE;\n}\nfunction isMemo(object) {\n return typeOf(object) === REACT_MEMO_TYPE;\n}\nfunction isPortal(object) {\n return typeOf(object) === REACT_PORTAL_TYPE;\n}\nfunction isProfiler(object) {\n return typeOf(object) === REACT_PROFILER_TYPE;\n}\nfunction isStrictMode(object) {\n return typeOf(object) === REACT_STRICT_MODE_TYPE;\n}\nfunction isSuspense(object) {\n return typeOf(object) === REACT_SUSPENSE_TYPE;\n}\nfunction isSuspenseList(object) {\n return typeOf(object) === REACT_SUSPENSE_LIST_TYPE;\n}\n\nexports.ContextConsumer = ContextConsumer;\nexports.ContextProvider = ContextProvider;\nexports.Element = Element;\nexports.ForwardRef = ForwardRef;\nexports.Fragment = Fragment;\nexports.Lazy = Lazy;\nexports.Memo = Memo;\nexports.Portal = Portal;\nexports.Profiler = Profiler;\nexports.StrictMode = StrictMode;\nexports.Suspense = Suspense;\nexports.SuspenseList = SuspenseList;\nexports.isAsyncMode = isAsyncMode;\nexports.isConcurrentMode = isConcurrentMode;\nexports.isContextConsumer = isContextConsumer;\nexports.isContextProvider = isContextProvider;\nexports.isElement = isElement;\nexports.isForwardRef = isForwardRef;\nexports.isFragment = isFragment;\nexports.isLazy = isLazy;\nexports.isMemo = isMemo;\nexports.isPortal = isPortal;\nexports.isProfiler = isProfiler;\nexports.isStrictMode = isStrictMode;\nexports.isSuspense = isSuspense;\nexports.isSuspenseList = isSuspenseList;\nexports.isValidElementType = isValidElementType;\nexports.typeOf = typeOf;\n })();\n}\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-is.production.min.js');\n} else {\n module.exports = require('./cjs/react-is.development.js');\n}\n","import { forwardRef, useState } from 'react'\r\nimport styled from 'styled-components'\r\nimport CollapseBase, { animationDuration, type CollapseBaseProps, type CollapseChangeHandler, type CollapseRef } from \"./CollapseBase\"\r\n\r\nimport { RightOutlined } from '@ant-design/icons'\r\nimport { Typography, theme } from 'antd'\r\n\r\ntype CssColor = React.CSSProperties[\"color\"]\r\n\r\nconst HeaderContainer = styled.div`\r\n padding: 0 12px;\r\n align-items: center;\r\n display: flex;\r\n justify-content: space-between;\r\n width: calc(100% - 2 * 12px);\r\n border-radius: 6px;\r\n height: 32px;\r\n`\r\n\r\nconst RightTextWrapper = styled.div`\r\n display: flex;\r\n align-items: center;\r\n gap: 6px;\r\n font-weight: 400;\r\n font-style: italic;\r\n`\r\n\r\nconst CollapseIcon = styled(RightOutlined)<{ color: CssColor }>`\r\n font-size: 18px;\r\n color: ${p => p.color};\r\n svg {\r\n transition: transform ${animationDuration * .7}ms ease-in-out;\r\n }\r\n`\r\n\r\nexport interface CollapseProps extends Omit<CollapseBaseProps, \"style\"> {\r\n title?: React.ReactNode, // Text in the header\r\n activeColor?: CssColor, // Background colour of header while visible\r\n inactiveColor?: CssColor, // Background colour of header while hidden\r\n image?: string, // Optional image, instead of caret\r\n rightText?: React.ReactNode, // Additional text on the right of the header\r\n style?: { header?: React.CSSProperties, children?: React.CSSProperties }, // Style for the .header and .children\r\n}\r\n\r\nconst Collapse = forwardRef<CollapseRef, CollapseProps>(({\r\n open, onChange, defaultOpen,\r\n title, image, rightText,\r\n activeColor, inactiveColor,\r\n border, style, width,\r\n children\r\n}, ref) => {\r\n const { token } = theme.useToken()\r\n const [ show, setShow ] = useState(false)\r\n\r\n if (!activeColor) activeColor = token.colorFill\r\n if (!inactiveColor) inactiveColor = token.colorFillSecondary\r\n\r\n const changeHandler : CollapseChangeHandler = (open) => {\r\n setShow(open)\r\n onChange?.(open)\r\n }\r\n\r\n const renderCaret = () => {\r\n if (image) return <img src={image} style={{ height: 18 }} alt=\"dropdown\"/>\r\n return <CollapseIcon rotate={show ? 90 : 0} color={token.colorPrimary} />\r\n }\r\n\r\n const childrenStyle = Object.assign({\r\n borderEndStartRadius: 6,\r\n borderEndEndRadius: 6\r\n }, style?.children)\r\n\r\n return (\r\n <CollapseBase\r\n ref={ref}\r\n header={\r\n <HeaderContainer style={Object.assign({\r\n backgroundColor: show ? activeColor : inactiveColor,\r\n borderEndStartRadius: show && 0,\r\n borderEndEndRadius: show && 0\r\n }, style?.header)}>\r\n <Typography.Text>{title}</Typography.Text>\r\n <RightTextWrapper>\r\n <Typography.Text>{ rightText }</Typography.Text>\r\n { renderCaret() }\r\n </RightTextWrapper>\r\n </HeaderContainer>\r\n }\r\n border={border}\r\n defaultOpen={defaultOpen}\r\n open={open}\r\n onChange={changeHandler}\r\n style={childrenStyle}\r\n width={width}\r\n >\r\n { children }\r\n </CollapseBase>\r\n )\r\n})\r\n\r\nexport default Collapse\r\n","import { forwardRef } from 'react'\r\nimport styled from 'styled-components'\r\n\r\nimport { theme } from 'antd'\r\n\r\nconst ContentContainer = styled.div`\r\n padding: 12px;\r\n`\r\n\r\nexport type ContentProps = React.PropsWithChildren<{\r\n background?: React.CSSProperties[\"background\"]\r\n}>\r\n\r\nconst CollapseContent = forwardRef<HTMLDivElement, ContentProps>(({ children, background }, ref) => {\r\n const { token: { colorFillSecondary } } = theme.useToken()\r\n\r\n return (\r\n <ContentContainer\r\n ref={ref}\r\n style={{\r\n background: background || `linear-gradient(150deg, transparent 30%, ${colorFillSecondary})`\r\n }}\r\n >\r\n { children }\r\n </ContentContainer>\r\n )\r\n})\r\n\r\nexport default CollapseContent\r\n","import { default as InternalCollapse } from \"./Collapse\"\r\nimport { default as CollapseBase } from \"./CollapseBase\"\r\nimport { default as CollapseContent } from \"./CollapseContent\"\r\n\r\nexport type { CollapseProps } from \"./Collapse\"\r\nexport type { CollapseBaseProps, CollapseRef } from \"./CollapseBase\"\r\nexport type { ContentProps } from \"./CollapseContent\"\r\n\r\ntype CollapseType = typeof InternalCollapse & {\r\n Content: typeof CollapseContent,\r\n Base: typeof CollapseBase\r\n}\r\n\r\nconst Collapse = InternalCollapse as CollapseType\r\nCollapse.Content = CollapseContent\r\nCollapse.Base = CollapseBase\r\nexport default Collapse\r\n","import { Typography } from \"antd\"\r\nimport styled from \"styled-components\"\r\n\r\nexport const Item = styled.div<{ $colorBorder?: React.CSSProperties[\"color\"] }>`\r\n cursor: pointer;\r\n height: var(--row-height);\r\n width: calc(100% - 2 * 8px);\r\n padding: 0 8px;\r\n margin: 0;\r\n border-bottom: 1px solid ${p => p.$colorBorder || \"#d9d9d9\"};\r\n display: flex;\r\n align-items: center;\r\n justify-content: space-between;\r\n transition: backdrop-filter .4s;\r\n\r\n &:hover {\r\n backdrop-filter: brightness(1.2);\r\n }\r\n`\r\n\r\nexport const ItemText = styled(Typography.Text)`\r\n max-width: calc(100% - 3.5rem);\r\n overflow: hidden;\r\n text-overflow: ellipsis;\r\n font-weight: 500;\r\n`\r\n\r\nexport const SubItem = styled(Item)<{ $colorActiveBg: React.CSSProperties[\"color\"] }>`\r\n &:last-child {\r\n border-bottom: unset;\r\n }\r\n\r\n &.active {\r\n background-color: ${p => p.$colorActiveBg};\r\n }\r\n`\r\n","import { theme } from 'antd'\r\nimport type { SelectorClickHandler, SelectorItem, SelectorRenderer } from './index'\r\nimport { ItemText, SubItem } from './style'\r\n\r\ninterface SelectorSubItemProps {\r\n item?: SelectorItem,\r\n onClick?: SelectorClickHandler,\r\n active?: boolean,\r\n parentKey?: string,\r\n itemRender?: SelectorRenderer\r\n}\r\n\r\nconst SelectorSubItem : React.FC<SelectorSubItemProps> = ({ item, onClick, active, parentKey, itemRender }) => {\r\n const { token: { colorBorder, colorPrimary } } = theme.useToken()\r\n const renderer = itemRender || ((child) => child)\r\n const keyPath = [ item.key ]\r\n if (parentKey) keyPath.unshift(parentKey)\r\n\r\n const clickHandler : React.MouseEventHandler<HTMLDivElement> = (e) => {\r\n onClick?.({\r\n item,\r\n key: item.key,\r\n keyPath,\r\n domEvent: e\r\n })\r\n }\r\n\r\n return renderer(\r\n <SubItem onClick={clickHandler} className={active && \"active\"} $colorBorder={colorBorder} $colorActiveBg={colorPrimary}>\r\n <ItemText>\r\n { item.label }\r\n </ItemText>\r\n { item.icon } {/* size 32px */}\r\n </SubItem>,\r\n { item, keyPath, key: item.key }\r\n )\r\n}\r\n\r\nexport default SelectorSubItem\r\n","import { theme } from 'antd'\r\nimport { useEffect, useRef, useState, useCallback } from 'react'\r\nimport { Collapse, type CollapseRef } from '@/Display'\r\nimport { Item, ItemText } from \"./style\"\r\n\r\nimport type { SelectorClickHandler, SelectorItemGroup, SelectorRenderer } from './index'\r\nimport SelectorSubItem from './SelectorSubItem'\r\n\r\ninterface SelectorItemProps {\r\n item?: SelectorItemGroup,\r\n onClick?: SelectorClickHandler,\r\n itemRender?: SelectorRenderer,\r\n open?: boolean\r\n}\r\n\r\nconst SelectorItem : React.FC<SelectorItemProps> = ({\r\n item, onClick, itemRender, open\r\n}) => {\r\n const { token: { colorPrimary, colorBorder } } = theme.useToken()\r\n const [ isOpen, setOpen ] = useState(false)\r\n const collapseRef = useRef<CollapseRef>(null)\r\n const renderer = itemRender || ((child) => child)\r\n\r\n const toggleOpen = useCallback(async (nextState?: boolean) => {\r\n const next = typeof nextState === \"boolean\" ? nextState : !isOpen\r\n\r\n if (next) setOpen(true)\r\n else setOpen(false)\r\n }, [ isOpen ])\r\n\r\n const clickHandler : React.MouseEventHandler<HTMLDivElement> = (e) => {\r\n if (open === undefined) toggleOpen()\r\n onClick?.({\r\n item,\r\n key: item.key,\r\n keyPath: [ item.key ],\r\n domEvent: e\r\n })\r\n }\r\n\r\n useEffect(() => {\r\n if (typeof open === \"boolean\") toggleOpen(open)\r\n }, [ open, toggleOpen ])\r\n\r\n useEffect(() => {\r\n collapseRef.current.calculateHeight()\r\n }, [ item.children ])\r\n\r\n return (\r\n <Collapse.Base ref={collapseRef}\r\n header={renderer(\r\n <Item onClick={clickHandler}\r\n style={{ backgroundColor: isOpen ? colorPrimary : undefined }}\r\n $colorBorder={isOpen ? \"transparent\" : colorBorder}\r\n >\r\n <ItemText>{ item?.label }</ItemText>\r\n { item?.icon }\r\n </Item>,\r\n { item, keyPath: [ item.key ], key: item.key })\r\n }\r\n open={isOpen}\r\n >\r\n <div style={{\r\n borderLeft: `1px solid ${colorPrimary}`,\r\n borderRight: `2px solid ${colorPrimary}`,\r\n borderBottom: `1px solid ${colorPrimary}`,\r\n boxShadow: `inset 0 0 3px ${colorPrimary}`\r\n }}>\r\n {Array.isArray(item.children) && item.children.map(child => (\r\n <SelectorSubItem key={child.key} itemRender={renderer} onClick={onClick} item={child} parentKey={item.key} />\r\n ))}\r\n </div>\r\n </Collapse.Base>\r\n )\r\n}\r\n\r\nexport default SelectorItem\r\n","import React, { forwardRef, useEffect, useState } from 'react'\r\nimport { Input as AntInput, Space, Typography, theme } from 'antd'\r\nimport styled from 'styled-components'\r\nimport { LoadingOutlined } from \"@ant-design/icons\"\r\n\r\nimport SelectorItem from './SelectorItem'\r\nimport { Item } from './style'\r\nimport SelectorSubItem from './SelectorSubItem'\r\n\r\nconst SelectorContainer = styled.div`\r\n --row-height: 48px;\r\n --site-selector-height: 100%;\r\n height: 100%;\r\n\r\n position: relative;\r\n`\r\n\r\nconst SearchContainer = styled.div`\r\n height: calc(var(--row-height) - 1px);\r\n width: calc(100% - 2 * 6px);\r\n padding: 0 6px;\r\n display: flex;\r\n align-items: center;\r\n border-bottom: 1px solid gray;\r\n`\r\n\r\nconst ItemsContainer = styled.div`\r\n height: calc(100% - 2 * var(--row-height));\r\n overflow-y: auto;\r\n`\r\n\r\nconst CreateContainer = styled(SearchContainer)`\r\n justify-content: center;\r\n background-color: rgba(163, 163, 163, 0.1);\r\n border-top: 1px solid gray;\r\n border-bottom: unset;\r\n`\r\n\r\nexport interface SelectorItem {\r\n key: string,\r\n label: React.ReactNode,\r\n icon?: React.ReactNode\r\n}\r\n\r\nexport interface SelectorItemGroup extends SelectorItem {\r\n type: \"group\",\r\n children: SelectorItem[]\r\n}\r\n\r\ninterface ItemInfo {\r\n item: SelectorItem|SelectorItemGroup,\r\n key: string,\r\n keyPath: string[],\r\n domEvent: React.MouseEvent<HTMLDivElement>\r\n}\r\n\r\nexport type SelectorRenderer = (child: React.ReactNode, info: Omit<ItemInfo, \"domEvent\">) => React.ReactNode\r\n\r\nexport type SelectorClickHandler = (info: ItemInfo) => void\r\n\r\nexport interface SelectorProps {\r\n items?: (SelectorItem|SelectorItemGroup)[],\r\n messageEmpty?: React.ReactNode,\r\n onClick?: SelectorClickHandler,\r\n loading?: boolean|string,\r\n itemRender?: SelectorRenderer,\r\n openKeys?: string[],\r\n bottomAddon?: React.ReactNode,\r\n search?: string,\r\n onSearchChange?: (value: string) => void\r\n}\r\n\r\nconst Selector = forwardRef<HTMLDivElement, SelectorProps>(({\r\n items, messageEmpty, onClick, loading, openKeys, bottomAddon, search, onSearchChange, itemRender\r\n}, ref) => {\r\n const [ _openKeys, setOpenKeys ] = useState([])\r\n const { token: { colorBorder } } = theme.useToken()\r\n\r\n useEffect(() => {\r\n if (Array.isArray(openKeys)) setOpenKeys(openKeys)\r\n }, [ openKeys ])\r\n\r\n const clickHandler : SelectorClickHandler = (info) => {\r\n if (openKeys === undefined && info.keyPath.length === 1) {\r\n if (\"children\" in info.item) {\r\n // update openkeys\r\n if (_openKeys.some(v => v === info.key)) setOpenKeys(_openKeys.filter(v => v !== info.key))\r\n else setOpenKeys(_openKeys.concat(info.key))\r\n } else {\r\n // set openkeys\r\n setOpenKeys([ info.item.key ])\r\n }\r\n }\r\n onClick?.(info)\r\n }\r\n\r\n const renderItems = () => {\r\n if (loading) return (\r\n <Item $colorBorder={colorBorder}>\r\n <Typography.Text>\r\n <Space>\r\n { typeof loading === \"string\" ? loading : \"Loading items...\" }\r\n <LoadingOutlined />\r\n </Space>\r\n </Typography.Text>\r\n </Item>\r\n )\r\n if (!items?.length) return (\r\n <Item $colorBorder={colorBorder}>\r\n <Typography.Text>{ messageEmpty || \"No items found\" }</Typography.Text>\r\n </Item>\r\n )\r\n\r\n return items.map((item) => {\r\n if (\"type\" in item) {\r\n switch (item.type) {\r\n case \"group\": return (\r\n <SelectorItem key={item.key}\r\n item={item} onClick={clickHandler}\r\n open={_openKeys.includes(item.key)}\r\n itemRender={itemRender}\r\n />\r\n )\r\n default: break\r\n }\r\n }\r\n\r\n return (\r\n <SelectorSubItem key={item.key}\r\n item={item} onClick={clickHandler}\r\n active={_openKeys.includes(item.key)}\r\n itemRender={itemRender}\r\n />\r\n )\r\n })\r\n }\r\n\r\n return (\r\n <SelectorContainer ref={ref}>\r\n <SearchContainer>\r\n <AntInput.Search addonBefore={items?.length || \"0\"} onChange={e => onSearchChange(e.target.value)} value={search} allowClear enterButton=\"Search\" />\r\n </SearchContainer>\r\n <ItemsContainer>\r\n { renderItems() }\r\n </ItemsContainer>\r\n <CreateContainer>\r\n { bottomAddon }\r\n </CreateContainer>\r\n </SelectorContainer>\r\n )\r\n})\r\n\r\nexport default Selector\r\n","import styled from \"styled-components\"\r\n\r\nconst Container = styled.div`\r\n background: linear-gradient(60deg,rgba(75,80,85,.5),rgba(125,123,120,.5));\r\n border-radius: 4px;\r\n box-shadow: 0 .1em .3em rgba(0,0,0,.4);\r\n margin-block: 16px;\r\n padding: 12px 16px;\r\n\r\n @media screen and (min-width: 768px) {\r\n padding: 24px;\r\n margin-inline: 4px;\r\n }\r\n`\r\n\r\nconst SmallHeader = styled.h3`\r\n padding-inline: 6px;\r\n padding-bottom: 4px;\r\n margin: 0;\r\n margin-bottom: 8px;\r\n font-weight: 300;\r\n color: #25b1ef;\r\n border-bottom: 2px solid #25b1ef;\r\n\r\n @media only screen and (min-width: 768px) {\r\n font-size: 1.3rem;\r\n }\r\n`\r\n\r\nexport type LightCardProps = React.PropsWithChildren & {\r\n title?: React.ReactNode\r\n}\r\n\r\nconst LightCard : React.FC<LightCardProps> = ({ children, title }) => {\r\n return (\r\n <Container>\r\n { title &&\r\n <SmallHeader>{ title }</SmallHeader>\r\n }\r\n { children }\r\n </Container>\r\n )\r\n}\r\n\r\nexport default LightCard\r\n","import { theme } from \"antd\"\r\nimport styled from \"styled-components\"\r\n\r\ntype CssColor = React.CSSProperties[\"color\"]\r\n\r\nconst Container = styled.div<{ $bgLight: CssColor, $bgMain: CssColor, $bgAccent: CssColor }>`\r\n background: radial-gradient(circle at 70% 50px, ${p => p.$bgLight} 15%, ${p => p.$bgMain} max(50%, 350px), ${p => p.$bgAccent} max(100%, 800px));\r\n padding: 12px 8px;\r\n border-radius: 0;\r\n\r\n @media screen and (min-width: 768px) {\r\n padding: 24px 40px;\r\n border-radius: 12px;\r\n }\r\n`\r\n\r\nconst ServiceSettingsHeader = styled.h2<{ $color: CssColor }>`\r\n padding-inline: 8px;\r\n margin-bottom: 2px;\r\n font-weight: 300;\r\n color: ${p => p.$color};\r\n font-size: 1.3rem;\r\n width: max-content;\r\n margin-top: 8px;\r\n\r\n @media screen and (min-width: 768px) {\r\n font-size: 2rem;\r\n }\r\n`\r\n\r\nconst ServiceSettingsHeaderWrapper = styled.div<{ $color: CssColor }>`\r\n margin-bottom: .5em;\r\n font-size: 1.3rem;\r\n border-bottom: 1px solid ${p => p.$color};\r\n\r\n @media screen and (min-width: 768px) {\r\n border-bottom: 3px solid ${p => p.$color};\r\n font-size: 2rem;\r\n }\r\n`\r\n\r\nexport type DarkCardProps = React.PropsWithChildren & {\r\n title?: React.ReactNode\r\n}\r\n\r\nconst DarkCard : React.FC<DarkCardProps> = ({ children, title }) => {\r\n const { token: { colorBgContainer, colorBgBase, colorPrimary, colorPrimaryBg } } = theme.useToken()\r\n\r\n return (\r\n <Container\r\n $bgLight={colorBgContainer}\r\n $bgMain={colorBgBase}\r\n $bgAccent={colorPrimaryBg}\r\n >\r\n { title &&\r\n <ServiceSettingsHeaderWrapper $color={colorPrimary}>\r\n <ServiceSettingsHeader $color={colorPrimary}>\r\n { title }\r\n </ServiceSettingsHeader>\r\n </ServiceSettingsHeaderWrapper>\r\n }\r\n { children }\r\n </Container>\r\n )\r\n}\r\n\r\nexport default DarkCard\r\n","import styled from \"styled-components\"\r\nimport { Typography } from \"antd\"\r\n\r\nexport const HeaderTextBox = styled.li`\r\n position: relative;\r\n text-decoration: none;\r\n cursor: pointer;\r\n text-align: left;\r\n display: flex;\r\n align-items: center;\r\n\r\n @media only screen and not (min-width: 768px) {\r\n padding-left: 1rem;\r\n margin-bottom: 1rem;\r\n }\r\n`\r\n\r\nexport const HeaderText = styled(Typography.Text)`\r\n font-size: 1.5rem;\r\n font-weight: 600;\r\n color: inherit;\r\n transition: transform .3s ease-in-out;\r\n\r\n &:hover {\r\n transform: translateY(-2px);\r\n }\r\n\r\n width: max-content;\r\n\r\n @media only screen and (min-width: 768px) {\r\n opacity: 1;\r\n position: relative;\r\n }\r\n`\r\n","import type { MenuGroupItem, MenuItem, NavbarRenderer } from './index'\r\nimport { useMemo, useState } from 'react'\r\nimport styled, { keyframes } from 'styled-components'\r\nimport { HeaderText, HeaderTextBox } from './style'\r\n\r\nconst fadeInUp = keyframes`\r\n 0% {\r\n opacity: 0;\r\n transform: translate(0, 8px);\r\n } 100% {\r\n opacity: 1;\r\n transform: translate(0, 0);\r\n }\r\n`\r\n\r\nconst Submenu = styled.ul`\r\n --inset: 12px;\r\n --padding-y: 6px;\r\n --border-radius: 0 0 var(--padding-y) var(--padding-y);\r\n\r\n position: absolute;\r\n top: calc(100% - var(--inset) + 2px);\r\n animation: ${fadeInUp} .2s;\r\n background-color: var(--bg-color);\r\n color: black;\r\n padding: var(--inset) 0 var(--padding-y) 0;\r\n margin: 0;\r\n\r\n &::before {\r\n content: '';\r\n position: absolute;\r\n inset: var(--inset) 0 0 0;\r\n border-radius: var(--border-radius);\r\n box-shadow: .5px 1px 5px rgba(0,0,0,0.25);\r\n z-index: -1;\r\n }\r\n\r\n @media only screen and (min-width: 768px) {\r\n border-radius: var(--border-radius);\r\n right: -6px;\r\n }\r\n\r\n @media only screen and not (min-width: 768px) {\r\n width: 100%;\r\n top: 100%;\r\n left: 0;\r\n }\r\n`\r\n\r\nconst SubmenuItem = styled.li`\r\n padding: .25rem .75rem;\r\n min-width: 12rem;\r\n cursor: pointer;\r\n font-weight: 600;\r\n display: block;\r\n\r\n &:hover {\r\n background: linear-gradient(rgba(0,0,0,.1) 2%, transparent 15%, transparent 85%, rgba(0,0,0,.1) 98%);\r\n }\r\n`\r\n\r\nexport type NavbarDropdownClickHandler = (\r\n e: React.MouseEvent<HTMLLIElement>,\r\n info?: {\r\n item: MenuItem|MenuGroupItem,\r\n key: string\r\n }\r\n) => void\r\n\r\nexport interface NavbarDropdownProps {\r\n onClick?: NavbarDropdownClickHandler,\r\n item?: MenuGroupItem,\r\n activeKey?: string,\r\n itemRender?: NavbarRenderer\r\n}\r\n\r\nconst DropdownItems : React.FC<NavbarDropdownProps> = (props) => {\r\n const { item, onClick, activeKey, itemRender } = props\r\n if (!Array.isArray(item?.children)) return null\r\n const renderer = itemRender || ((child) => child)\r\n\r\n return item.children.map(child => {\r\n const handleClick : NavbarDropdownClickHandler = (e) => {\r\n onClick?.(e, { item: child, key: child.key })\r\n }\r\n\r\n return (\r\n <SubmenuItem key={child.key}\r\n className={activeKey === child.key && \"active\"}\r\n onClick={handleClick}\r\n >\r\n {renderer(\r\n child.label,\r\n {\r\n item: child,\r\n key: child.key,\r\n keyPath: [ item.key, child.key ]\r\n }\r\n )}\r\n </SubmenuItem>\r\n )\r\n })\r\n}\r\n\r\nconst NavbarDropdown : React.FC<NavbarDropdownProps> = (props) => {\r\n const { item, activeKey, onClick } = props\r\n const [ isOpen, setIsOpen ] = useState(false)\r\n\r\n const handleClick : NavbarDropdownClickHandler = (e, info) => {\r\n if (info) {\r\n setIsOpen(false)\r\n onClick?.(e, info)\r\n } else {\r\n setIsOpen(!isOpen) // use this notation, otherwise onMouseEnter will open it first\r\n onClick?.(e, {\r\n key: item?.key,\r\n item\r\n })\r\n }\r\n }\r\n\r\n const isActive = useMemo(() => (\r\n activeKey === item?.key || item?.children.some(v => v.key === activeKey)\r\n ), [ activeKey, item ])\r\n\r\n return (\r\n <HeaderTextBox\r\n className={isActive && \"active\"}\r\n onClick={handleClick}\r\n onMouseEnter={() => { setIsOpen(true) }}\r\n onMouseLeave={() => { setIsOpen(false) }}\r\n >\r\n <HeaderText>\r\n { item?.label }\r\n </HeaderText>\r\n <Submenu hidden={!isOpen}>\r\n <DropdownItems {...props} />\r\n </Submenu>\r\n </HeaderTextBox>\r\n )\r\n}\r\n\r\nexport default NavbarDropdown\r\n","import { useState, useRef, forwardRef, useEffect } from 'react'\r\nimport { theme } from 'antd'\r\nimport styled from \"styled-components\"\r\n\r\nimport { HeaderTextBox, HeaderText } from \"./style\"\r\nimport NavbarDropdown, { NavbarDropdownClickHandler } from './NavbarDropdown'\r\n\r\ntype CssColor = React.CSSProperties[\"color\"]\r\n\r\nconst defaultHeight = 64\r\n\r\nconst HeaderStyle = styled.div`\r\n --bg-color: #fff;\r\n --border-width: 3px;\r\n --grid-padding-x: max(0px, calc(calc(100vw - 1200px) / 2));\r\n --selector-width: 280px;\r\n --logo-size: 48px;\r\n\r\n display: grid;\r\n border-bottom: var(--border-width) solid black;\r\n background-color: var(--bg-color);\r\n height: calc(var(--navbar-height) - var(--border-width));\r\n\r\n user-select: none;\r\n text-align: center;\r\n z-index: 999;\r\n width: 100%;\r\n position: sticky;\r\n top: 0;\r\n transition: background-color .3s;\r\n\r\n @media only screen and (min-width: 768px) {\r\n grid-template-columns: calc(var(--grid-padding-x) + 1rem) var(--selector-width) 1rem 1fr calc(var(--grid-padding-x) + 1rem);\r\n }\r\n\r\n @media only screen and (min-width: 992px) {\r\n --selector-width: 320px;\r\n }\r\n\r\n /* Possible solution for additional navbar items */\r\n /* @media only screen and (min-width: calc(1200px + calc(48px + 32px) * 2)) {\r\n grid-template-columns: var(--grid-padding-x) 0 0 1fr var(--grid-padding-x);\r\n } */\r\n`\r\n\r\nconst LogoContainer = styled.div`\r\n width: var(--logo-size);\r\n height: var(--logo-size);\r\n margin: calc(calc(var(--navbar-height) - var(--logo-size)) / 2) auto;\r\n\r\n @media only screen and (min-width: 768px) {\r\n grid-column: 2 / 3;\r\n }\r\n\r\n // Using logo-size and padding\r\n @media only screen and (min-width: calc(1200px + calc(48px + 32px) * 2)) {\r\n grid-column: 1 / 2;\r\n }\r\n`\r\n\r\nconst NavStyle = styled.nav`\r\n width: 100%;\r\n transform-origin: top;\r\n transition: transform 400ms ease-in-out;\r\n grid-column: 4 / 5;\r\n\r\n @media only screen and not (min-width: 768px) {\r\n position: absolute;\r\n background-color: rgba(0,0,0,.87);\r\n border-bottom: 3px solid white;\r\n top: 100%;\r\n left: 0;\r\n transform: scale(1, 0);\r\n }\r\n\r\n @media only screen and (min-width: 768px) {\r\n display: flex;\r\n justify-content: flex-end;\r\n align-items: center;\r\n transition: none;\r\n height: var(--navbar-height);\r\n }\r\n`\r\n\r\nconst ItemsList = styled.ul<{ $textColor: CssColor, $activeColor: CssColor }>`\r\n font-family: 'Noto Sans JP', sans-serif;\r\n list-style-type: none;\r\n padding-left: 0;\r\n height: 100%;\r\n opacity: 0;\r\n transition: all 150ms ease-in-out;\r\n\r\n @media only screen and (min-width: 768px) {\r\n display: flex;\r\n column-gap: 20px;\r\n align-items: stretch;\r\n opacity: unset;\r\n }\r\n\r\n @media only screen and (min-width: 992px) {\r\n column-gap: 32px;\r\n }\r\n\r\n color: ${p => p.$textColor};\r\n\r\n /* For active NavLink react-router-dom */\r\n .active {\r\n color: ${p => p.$activeColor};\r\n }\r\n`\r\n\r\nconst ToggleLabel = styled.label`\r\n position: absolute;\r\n top: 0;\r\n left: 1rem;\r\n height: 100%;\r\n display: flex;\r\n align-items: center;\r\n\r\n @media only screen and (min-width: 768px) {\r\n display: none;\r\n }\r\n`\r\n\r\nconst ToggleInput = styled.input<{ $color: CssColor }>`\r\n display: block;\r\n background-color: ${p => p.$color};\r\n height: .2em;\r\n width: 2em;\r\n border-radius: 1em;\r\n position: relative;\r\n appearance: none;\r\n outline: unset;\r\n transition: transform .4s ease-in-out, background-color .5s;\r\n\r\n &::after,\r\n &::before {\r\n display: block;\r\n background-color: ${p => p.$color};\r\n height: .2em;\r\n width: 2em;\r\n border-radius: 1em;\r\n position: relative;\r\n content: '';\r\n position: absolute;\r\n transition: transform .4s ease-in-out;\r\n }\r\n\r\n &::after {\r\n transform: translateY(-.6em)\r\n }\r\n\r\n &::before {\r\n transform: translateY(.6em)\r\n }\r\n\r\n &:checked {\r\n transform: translateX(-2em);\r\n background: transparent;\r\n }\r\n\r\n &:checked::after {\r\n transform: rotateZ(45deg) translate(1.4em, -1.4em);\r\n }\r\n\r\n &:checked::before {\r\n transform: rotateZ(-45deg) translate(1.4em, 1.4em);\r\n }\r\n`\r\n\r\nexport interface MenuItem {\r\n key: string,\r\n label: React.ReactNode\r\n}\r\n\r\nexport interface MenuGroupItem extends MenuItem {\r\n type: \"group\",\r\n children: MenuItem[]\r\n}\r\n\r\ninterface ItemInfo {\r\n item: MenuItem|MenuGroupItem,\r\n key: string,\r\n keyPath: string[],\r\n domEvent: React.MouseEvent<HTMLLIElement>\r\n}\r\n\r\ntype NavbarClickHandler = (info: ItemInfo) => void\r\n\r\nexport type NavbarRenderer = (child: React.ReactNode, info: Omit<ItemInfo, \"domEvent\">) => React.ReactNode\r\n\r\nexport interface NavbarProps {\r\n logo?: React.ReactNode,\r\n items?: (MenuItem|MenuGroupItem)[],\r\n onClick?: NavbarClickHandler,\r\n activeKey?: string,\r\n textColor?: CssColor,\r\n activeColor?: CssColor,\r\n toggleColor?: CssColor,\r\n height?: number,\r\n itemRender?: NavbarRenderer\r\n}\r\n\r\ntype NavbarItemsProps = Pick<NavbarProps, \"items\"|\"onClick\"|\"activeKey\"|\"itemRender\"> & {\r\n style?: React.CSSProperties\r\n}\r\n\r\nconst NavbarItems = (props: NavbarItemsProps) => {\r\n const { items, activeKey, onClick, itemRender } = props\r\n const renderer = itemRender || ((child) => child)\r\n if (!Array.isArray(items)) return null\r\n\r\n return items.map((item) => {\r\n const handleClick : NavbarDropdownClickHandler = (e, info) => {\r\n const detail = {\r\n item,\r\n key: item.key,\r\n keyPath: [ item.key ],\r\n domEvent: e\r\n }\r\n\r\n if (info) {\r\n detail.keyPath.push(info.key)\r\n detail.key = info.key\r\n detail.item = info.item\r\n }\r\n\r\n onClick?.(detail)\r\n }\r\n\r\n if (\"type\" in item) {\r\n switch (item.type) {\r\n case \"group\": return (\r\n <NavbarDropdown key={item.key} item={item} onClick={handleClick} activeKey={activeKey} itemRender={renderer} />\r\n )\r\n default: break\r\n }\r\n }\r\n\r\n return (\r\n <HeaderTextBox key={item.key}\r\n className={activeKey === item.key && \"active\"}\r\n onClick={handleClick}\r\n >\r\n { renderer(\r\n <HeaderText>\r\n { item.label }\r\n </HeaderText>,\r\n {\r\n item,\r\n key: item.key,\r\n keyPath: [ item.key ]\r\n }\r\n )}\r\n </HeaderTextBox>\r\n )\r\n })\r\n}\r\n\r\nconst Navbar = forwardRef<HTMLDivElement, NavbarProps>((props, ref) => {\r\n const { height, textColor, activeColor, logo, toggleColor, onClick, ...itemProps } = props\r\n const { token: { colorPrimary } } = theme.useToken()\r\n const [ navStyle, setNavStyle ] = useState({})\r\n const [ navContentStyle, setNavContentStyle ] = useState({})\r\n const toggleRef = useRef(/** @type {HTMLInputElement} */(null))\r\n\r\n useEffect(() => {\r\n // add --navbar-height CSS variable to page root\r\n if (typeof height === \"number\" && height >= 48) {\r\n document.documentElement.style.setProperty(\"--navbar-height\", `${Math.round(height)}px`)\r\n } else {\r\n document.documentElement.style.setProperty(\"--navbar-height\", `${defaultHeight}px`)\r\n }\r\n }, [ height ])\r\n\r\n const toggleShow = () => {\r\n if (toggleRef.current.checked) {\r\n setNavStyle({ transform: \"scale(1,1)\" })\r\n setNavContentStyle({\r\n opacity: 1,\r\n transition: \"opacity 150ms ease-in-out 250ms\"\r\n })\r\n } else {\r\n setNavContentStyle({})\r\n setNavStyle({})\r\n }\r\n }\r\n\r\n const handleClick : NavbarClickHandler = (info) => {\r\n // prevent parent items from being clicked\r\n info.domEvent.stopPropagation()\r\n // hide dropdown if leaf item\r\n if (!(\"children\" in info.item)) {\r\n toggleRef.current.checked = false\r\n toggleShow()\r\n }\r\n onClick?.(info)\r\n }\r\n\r\n return (\r\n <HeaderStyle ref={ref} style={{ borderBottomColor: textColor || colorPrimary }}>\r\n <LogoContainer>\r\n { logo }\r\n </LogoContainer>\r\n\r\n <NavStyle style={Object.assign({ borderBottomColor: activeColor || colorPrimary }, navStyle)}>\r\n <ItemsList\r\n $activeColor={activeColor || colorPrimary}\r\n $textColor={textColor}\r\n style={navContentStyle}\r\n >\r\n <NavbarItems {...itemProps} onClick={handleClick} />\r\n </ItemsList>\r\n </NavStyle>\r\n\r\n <ToggleLabel htmlFor=\"nav-toggle\">\r\n <ToggleInput ref={toggleRef}\r\n type=\"checkbox\" id=\"nav-toggle\"\r\n aria-label=\"show navigation\"\r\n onChange={toggleShow}\r\n $color={toggleColor || \"black\"}\r\n />\r\n </ToggleLabel>\r\n </HeaderStyle>\r\n )\r\n})\r\n\r\nexport default Navbar\r\n","import { theme } from \"antd\"\r\nimport { forwardRef } from \"react\"\r\nimport styled from \"styled-components\"\r\n\r\ntype CssColor = React.CSSProperties[\"color\"]\r\n\r\n// TODO: use antd breakpoints\r\nconst SettingsContainer = styled.div<{ $bgLight: CssColor, $bgDark: CssColor }>`\r\n background: linear-gradient(-120deg, ${p => p.$bgLight} 20%, ${p => p.$bgDark} 80%);\r\n overflow-y: auto;\r\n flex: 1 1 auto;\r\n position: relative;\r\n\r\n height: calc(100% - var(--selector-height)); /* Adjust for site selector height */\r\n\r\n @media only screen and (min-width: 768px) {\r\n border-radius: 8px;\r\n box-shadow: inset 0 0 2px 1px rgba(255,255,255,.1);\r\n height: unset;\r\n }\r\n\r\n &::-webkit-scrollbar {\r\n width: 5px;\r\n\r\n @media only screen and not (min-width: 768px) {\r\n display: none;\r\n }\r\n }\r\n\r\n &::-webkit-scrollbar-track {\r\n background: none;\r\n }\r\n\r\n &::-webkit-scrollbar-thumb {\r\n background-color: var(--thumb-bg);\r\n border-radius: 3px;\r\n }\r\n\r\n /* Decrease scrollbar height for border-radius */\r\n &::-webkit-scrollbar-track-piece:start {\r\n margin-top: 1em;\r\n }\r\n\r\n &::-webkit-scrollbar-track-piece:end {\r\n margin-bottom: 1em;\r\n }\r\n`\r\n\r\nconst SettingsFlex = styled.div`\r\n display: flex;\r\n align-items: center;\r\n flex-direction: column;\r\n padding: 1rem 0;\r\n gap: 1.5rem;\r\n\r\n @media only screen and (min-width: 768px) {\r\n padding: 1.5rem;\r\n gap: 2rem;\r\n }\r\n\r\n @media only screen and (min-width: 992px) {\r\n padding: 1.5rem 2.5rem;\r\n }\r\n`\r\n\r\nconst MainSettings = forwardRef<HTMLDivElement, React.PropsWithChildren>(({ children }, ref) => {\r\n const { theme: { id }, token: { colorBgBase, colorBgContainer, colorBgElevated, colorBgLayout } } = theme.useToken()\r\n\r\n let bgDark = colorBgElevated\r\n let bgLight = colorBgLayout\r\n if (id === 1) {\r\n bgDark = colorBgBase\r\n bgLight = colorBgContainer\r\n }\r\n\r\n return (\r\n <SettingsContainer ref={ref} $bgDark={bgDark} $bgLight={bgLight}>\r\n <SettingsFlex>\r\n { children }\r\n </SettingsFlex>\r\n </SettingsContainer>\r\n )\r\n})\r\n\r\nexport default MainSettings\r\n","import * as React from 'react';\nexport default function useEvent(callback) {\n var fnRef = React.useRef();\n fnRef.current = callback;\n var memoFn = React.useCallback(function () {\n var _fnRef$current;\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n return (_fnRef$current = fnRef.current) === null || _fnRef$current === void 0 ? void 0 : _fnRef$current.call.apply(_fnRef$current, [fnRef].concat(args));\n }, []);\n return memoFn;\n}","import * as React from 'react';\nimport canUseDom from \"../Dom/canUseDom\";\n\n/**\n * Wrap `React.useLayoutEffect` which will not throw warning message in test env\n */\nvar useInternalLayoutEffect = process.env.NODE_ENV !== 'test' && canUseDom() ? React.useLayoutEffect : React.useEffect;\nvar useLayoutEffect = function useLayoutEffect(callback, deps) {\n var firstMountRef = React.useRef(true);\n useInternalLayoutEffect(function () {\n return callback(firstMountRef.current);\n }, deps);\n\n // We tell react that first mount has passed\n useInternalLayoutEffect(function () {\n firstMountRef.current = false;\n return function () {\n firstMountRef.current = true;\n };\n }, []);\n};\nexport var useLayoutUpdateEffect = function useLayoutUpdateEffect(callback, deps) {\n useLayoutEffect(function (firstMount) {\n if (!firstMount) {\n return callback();\n }\n }, deps);\n};\nexport default useLayoutEffect;","import _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport * as React from 'react';\n/**\n * Same as React.useState but `setState` accept `ignoreDestroy` param to not to setState after destroyed.\n * We do not make this auto is to avoid real memory leak.\n * Developer should confirm it's safe to ignore themselves.\n */\nexport default function useSafeState(defaultValue) {\n var destroyRef = React.useRef(false);\n var _React$useState = React.useState(defaultValue),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n value = _React$useState2[0],\n setValue = _React$useState2[1];\n React.useEffect(function () {\n destroyRef.current = false;\n return function () {\n destroyRef.current = true;\n };\n }, []);\n function safeSetState(updater, ignoreDestroy) {\n if (ignoreDestroy && destroyRef.current) {\n return;\n }\n setValue(updater);\n }\n return [value, safeSetState];\n}","import _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport useEvent from \"./useEvent\";\nimport { useLayoutUpdateEffect } from \"./useLayoutEffect\";\nimport useState from \"./useState\";\n/** We only think `undefined` is empty */\nfunction hasValue(value) {\n return value !== undefined;\n}\n\n/**\n * Similar to `useState` but will use props value if provided.\n * Note that internal use rc-util `useState` hook.\n */\nexport default function useMergedState(defaultStateValue, option) {\n var _ref = option || {},\n defaultValue = _ref.defaultValue,\n value = _ref.value,\n onChange = _ref.onChange,\n postState = _ref.postState;\n\n // ======================= Init =======================\n var _useState = useState(function () {\n if (hasValue(value)) {\n return value;\n } else if (hasValue(defaultValue)) {\n return typeof defaultValue === 'function' ? defaultValue() : defaultValue;\n } else {\n return typeof defaultStateValue === 'function' ? defaultStateValue() : defaultStateValue;\n }\n }),\n _useState2 = _slicedToArray(_useState, 2),\n innerValue = _useState2[0],\n setInnerValue = _useState2[1];\n var mergedValue = value !== undefined ? value : innerValue;\n var postMergedValue = postState ? postState(mergedValue) : mergedValue;\n\n // ====================== Change ======================\n var onChangeFn = useEvent(onChange);\n var _useState3 = useState([mergedValue]),\n _useState4 = _slicedToArray(_useState3, 2),\n prevValue = _useState4[0],\n setPrevValue = _useState4[1];\n useLayoutUpdateEffect(function () {\n var prev = prevValue[0];\n if (innerValue !== prev) {\n onChangeFn(innerValue, prev);\n }\n }, [prevValue]);\n\n // Sync value back to `undefined` when it from control to un-control\n useLayoutUpdateEffect(function () {\n if (!hasValue(value)) {\n setInnerValue(value);\n }\n }, [value]);\n\n // ====================== Update ======================\n var triggerChange = useEvent(function (updater, ignoreDestroy) {\n setInnerValue(updater, ignoreDestroy);\n setPrevValue([mergedValue], ignoreDestroy);\n });\n return [postMergedValue, triggerChange];\n}","import { forwardRef, useEffect, useState } from 'react'\r\nimport styled, { createGlobalStyle } from 'styled-components'\r\nimport { useMergedState } from \"rc-util\"\r\n\r\nimport { Collapse, type CollapseBaseProps } from '@/Display'\r\nimport { theme } from 'antd'\r\n\r\ntype CssColor = React.CSSProperties[\"color\"]\r\n\r\nconst collapseHeight = 36\r\n\r\nconst GlobalStyle = createGlobalStyle`\r\n #main {\r\n --selector-height: 36px;\r\n }\r\n`\r\n\r\nconst SelectorContainer = styled.div<{ $bgLight: CssColor, $bgDark: CssColor }>`\r\n position: sticky;\r\n top: calc(var(--navbar-height) + var(--main-margin-v));\r\n box-shadow: inset 0 0 2px 1px rgba(255,255,255,.1);\r\n border-radius: 8px;\r\n overflow: auto;\r\n flex: 0 0 var(--site-selector-width);\r\n background: linear-gradient(35deg, ${p => p.$bgDark} 20%, ${p => p.$bgLight});\r\n max-height: var(--main-height);\r\n\r\n @media screen and not (min-width: 768px) {\r\n width: 100%;\r\n border-radius: unset;\r\n height: calc(var(--main-height) - ${collapseHeight}px)\r\n }\r\n`\r\n\r\ninterface MainSelectorBaseProps {\r\n title?: React.ReactNode,\r\n collapseOpen?: boolean,\r\n onChange?: CollapseBaseProps[\"onChange\"]\r\n}\r\n\r\nexport type MainSelectorProps = React.PropsWithChildren<MainSelectorBaseProps>\r\n\r\nconst MainSelector = forwardRef<HTMLDivElement, MainSelectorProps>(({ title, children, collapseOpen: propsCollapseOpen, onChange }, ref) => {\r\n const { theme: { id }, token: { colorBgBase, colorBgContainer, colorBgLayout } } = theme.useToken()\r\n const [ width, setWidth ] = useState(1280)\r\n const [ collapseOpen, setCollapseOpen ] = useMergedState(false, { value: propsCollapseOpen })\r\n\r\n let bgDark = colorBgBase\r\n let bgLight = colorBgLayout\r\n if (id === 1) {\r\n bgDark = colorBgBase\r\n bgLight = colorBgContainer\r\n }\r\n\r\n const handleCollapseChange = (open) => {\r\n setCollapseOpen(open)\r\n onChange?.(open)\r\n }\r\n\r\n useEffect(() => {\r\n const updateWindowDimensions = () => { setWidth(window.innerWidth) }\r\n\r\n updateWindowDimensions()\r\n window.addEventListener('resize', updateWindowDimensions)\r\n\r\n return () => {\r\n window.removeEventListener('resize', updateWindowDimensions)\r\n }\r\n }, [])\r\n\r\n const renderAll = (\r\n <SelectorContainer ref={ref}\r\n $bgDark={bgDark}\r\n $bgLight={bgLight}\r\n >\r\n <GlobalStyle />\r\n { children }\r\n </SelectorContainer>\r\n )\r\n\r\n if (width < 768) {\r\n return (\r\n <div style={{ flex: \"0 0 100%\", height: collapseHeight }}>\r\n <Collapse\r\n title={title}\r\n activeColor={colorBgBase}\r\n style={{\r\n header: { height: collapseHeight, borderRadius: 0 },\r\n children: { position: \"absolute\", zIndex: 100, borderRadius: 0 }\r\n }}\r\n onChange={handleCollapseChange}\r\n open={collapseOpen}\r\n >\r\n { renderAll }\r\n </Collapse>\r\n </div>\r\n )\r\n }\r\n\r\n return renderAll\r\n})\r\n\r\nexport default MainSelector\r\n","import styled from \"styled-components\"\r\nimport MainSettings from \"./MainSettings\"\r\nimport MainSelector from \"./MainSelector\"\r\nimport { forwardRef } from \"react\"\r\n\r\n// TODO: use antd breakpoints\r\nconst MainContainer = styled.div`\r\n --main-margin-v: 0px;\r\n --site-selector-width: 280px;\r\n --main-height: calc(100vh - var(--navbar-height));\r\n --selector-height: 0px;\r\n\r\n position: relative;\r\n max-width: calc(1200px - 2 * 1rem); /* Adjusted for padding */\r\n margin: var(--main-margin-v) auto;\r\n height: var(--main-height);\r\n\r\n @media only screen and (min-width: 768px) {\r\n --main-margin-v: 2rem;\r\n --main-height: min(calc(100vh - var(--navbar-height) - 2 * var(--main-margin-v)), 85vh);\r\n\r\n display: flex;\r\n align-items: stretch;\r\n column-gap: 1rem;\r\n padding: 0 1rem;\r\n\r\n &.content-height {\r\n height: unset;\r\n max-height: var(--main-height);\r\n }\r\n\r\n &.no-scroll {\r\n height: unset;\r\n min-height: var(--main-height);\r\n max-height: unset;\r\n }\r\n\r\n &.content-height {\r\n min-height: unset;\r\n }\r\n }\r\n\r\n @media only screen and (min-width: 992px) {\r\n --site-selector-width: 320px;\r\n }\r\n`\r\n\r\ninterface MainBaseProps {\r\n overflow?: \"scroll\"|\"visible\",\r\n height?: \"full\"|\"content\"\r\n}\r\n\r\nexport type MainProps = React.PropsWithChildren<MainBaseProps>\r\n\r\ntype MainLayoutType = React.ForwardRefExoticComponent<MainProps & React.RefAttributes<HTMLDivElement>> & {\r\n Settings: typeof MainSettings,\r\n Selector: typeof MainSelector\r\n}\r\n\r\nconst MainLayout = forwardRef(({ children, overflow, height = \"full\" }, ref) => {\r\n const classNames = []\r\n switch (overflow) {\r\n case \"visible\": classNames.push(\"no-scroll\"); break\r\n default: break\r\n }\r\n switch (height) {\r\n case \"content\": classNames.push(\"content-height\"); break\r\n default: break\r\n }\r\n\r\n return (\r\n <MainContainer ref={ref} id=\"main\" className={classNames.join(\" \")}>{ children }</MainContainer>\r\n )\r\n}) as MainLayoutType\r\n\r\nMainLayout.Settings = MainSettings\r\nMainLayout.Selector = MainSelector\r\n\r\nexport default MainLayout\r\n","import { Button as AntButton } from \"antd\"\r\nimport styled from \"styled-components\"\r\n\r\nexport const Button = styled(AntButton)`\r\n --shadow-color: ${p => p.danger ? \"#f5222d\" : \"#e07d1d\"};\r\n\r\n box-shadow: 1.5px 2px var(--shadow-color);\r\n margin-bottom: 1px;\r\n\r\n &:focus {\r\n box-shadow: 1px 1.5px var(--shadow-color);\r\n }\r\n\r\n &:hover {\r\n box-shadow: 0 0 var(--shadow-color);\r\n }\r\n`\r\n\r\nexport const CenteredButton = styled(Button)`\r\n margin-left: auto;\r\n margin-right: auto;\r\n display: block;\r\n width: max-content;\r\n`\r\n\r\nexport const ExtraSmallButton = styled(Button)`\r\n width: max-content;\r\n background-color: rgba(255,255,255,.05);\r\n border: unset;\r\n box-shadow: unset;\r\n`\r\n\r\nexport const RightButton = styled(CenteredButton)`\r\n margin-right: unset;\r\n`\r\n","import { Form, Typography, theme } from 'antd'\r\nimport React, { PropsWithChildren, forwardRef, useEffect, useImperativeHandle, useMemo, useRef, useState } from 'react'\r\nimport styled from 'styled-components'\r\n\r\nexport interface HoverLabelProps {\r\n name?: string, // id of the input element\r\n size?: \"small\"|\"middle\"|\"large\",\r\n colorText?: React.CSSProperties[\"color\"],\r\n colorTextActive?: React.CSSProperties[\"color\"]\r\n}\r\n\r\ntype LabelOffsets = Pick<React.CSSProperties, \"display\"|\"top\"|\"left\"|\"fontSize\">\r\n\r\nconst InputLabel = styled(Typography.Text)`\r\n position: absolute;\r\n transition: all .4s ease;\r\n z-index: 10;\r\n cursor: text;\r\n`\r\n\r\nconst HoverLabel = forwardRef<HTMLLabelElement, PropsWithChildren<HoverLabelProps>>((props, ref) => {\r\n const { name, size, children, colorText, colorTextActive } = props\r\n const [ labelStyle, setLabelStyle ] = useState({})\r\n const labelRef = useRef<HTMLLabelElement>(null)\r\n const value = Form.useWatch(name)\r\n const { token } = theme.useToken()\r\n const [ offsets, setOffsets ] = useState<LabelOffsets>({ display: \"none\" })\r\n\r\n const [ blurStyle, focusStyle ] = useMemo(() => [\r\n {},\r\n { left: 0, top: 0, color: colorTextActive || token.colorPrimary, cursor: \"default\" }\r\n ], [ colorTextActive, token ])\r\n\r\n useImperativeHandle(ref, () => labelRef.current)\r\n\r\n useEffect(() => {\r\n const parentNode = labelRef.current?.parentNode as HTMLLabelElement\r\n const labelParent = parentNode.parentNode as HTMLDivElement\r\n parentNode.style.width = \"100%\"\r\n labelParent.style.overflow = \"visible\"\r\n }, [])\r\n\r\n useEffect(() => {\r\n if (value) return setLabelStyle(focusStyle)\r\n if (document.activeElement.id !== name) setLabelStyle(blurStyle)\r\n }, [ value, name, blurStyle, focusStyle ])\r\n\r\n useEffect(() => {\r\n let top : React.CSSProperties[\"top\"]\r\n let left : number\r\n let fontSize : number\r\n\r\n // use labelRef to prevent label layout shift\r\n if (!labelRef.current) setOffsets({ display: \"none\" })\r\n if (typeof name !== \"string\") setOffsets({})\r\n const inputEl = document.getElementById(name) as HTMLInputElement\r\n if (!inputEl) setOffsets({})\r\n const previousSibling = inputEl.previousElementSibling as HTMLElement\r\n\r\n const padLeftExtra = inputEl.offsetLeft\r\n const hasPrefix = previousSibling?.classList.contains(\"ant-input-prefix\")\r\n\r\n switch (size) {\r\n case \"small\":\r\n left = (token.Input?.paddingInlineSM || token.paddingXS)+ padLeftExtra\r\n top = `calc(100% + ${(token.Input?.paddingBlockSM || 0)}px + 9px)`\r\n fontSize = token.Input?.inputFontSizeSM || token.fontSize\r\n break\r\n case \"large\":\r\n left = (token.Input?.paddingInlineLG || token.paddingSM)+ padLeftExtra\r\n top = `calc(100% + ${(token.Input?.paddingBlock || 7)}px + 8px)`\r\n fontSize = token.Input?.inputFontSizeLG || token.fontSizeLG\r\n break\r\n default:\r\n left = (token.Input?.paddingInline || token.paddingSM)+ padLeftExtra\r\n top = `calc(100% + ${(token.Input?.paddingBlock || 4)}px + 9px)`\r\n fontSize = token.Input?.inputFontSize || token.fontSize\r\n break\r\n }\r\n\r\n if (hasPrefix) left = padLeftExtra\r\n\r\n setOffsets({ top, left, fontSize })\r\n }, [ size, name, token ])\r\n\r\n useEffect(() => {\r\n if (typeof name !== \"string\") return\r\n const inputEl = document.getElementById(name) as HTMLInputElement\r\n if (!inputEl) return\r\n\r\n const onFocus = () => {\r\n setLabelStyle(focusStyle)\r\n inputEl.classList.remove(\"no-placeholder\")\r\n }\r\n\r\n const onBlur = () => {\r\n if (inputEl.value.length === 0) setLabelStyle(blurStyle)\r\n if (!inputEl.value) inputEl.classList.add(\"no-placeholder\")\r\n }\r\n\r\n if (!inputEl.value) inputEl.classList.add(\"no-placeholder\")\r\n\r\n inputEl.addEventListener('focus', onFocus)\r\n inputEl.addEventListener('blur', onBlur)\r\n\r\n return () => {\r\n inputEl.removeEventListener('focus', onFocus)\r\n inputEl.removeEventListener('blur', onBlur)\r\n }\r\n }, [ name, blurStyle, focusStyle ])\r\n\r\n return (\r\n <InputLabel\r\n ref={labelRef}\r\n style={Object.assign({ color: colorText || token.colorText }, offsets, labelStyle)}\r\n >\r\n { children }\r\n </InputLabel>\r\n )\r\n})\r\n\r\nexport default HoverLabel\r\n","import { InputProps as AntProps, Input as AntInput, InputRef } from \"antd\"\r\nimport { forwardRef } from \"react\"\r\nimport styled from \"styled-components\"\r\n\r\nexport const HtmlInput = styled(AntInput)`\r\n ::placeholder, &::placeholder {\r\n transition: color .4s;\r\n }\r\n\r\n .no-placeholder, &.no-placeholder {\r\n &::placeholder, ::placeholder {\r\n color: transparent;\r\n }\r\n }\r\n`\r\n\r\ninterface InputProps extends AntProps {\r\n label?: React.ReactNode\r\n}\r\n\r\nconst Input = forwardRef<InputRef, InputProps>((props, ref) => {\r\n const { label, ...inputProps } = props\r\n\r\n return (\r\n <HtmlInput\r\n ref={ref}\r\n {...inputProps}\r\n />\r\n )\r\n})\r\n\r\nexport default Input\r\n","import { Space, Card, Typography } from \"antd\"\r\nimport styled from \"styled-components\"\r\nimport type { ParagraphProps } from \"antd/es/typography/Paragraph\"\r\nimport type { TitleProps } from \"antd/es/typography/Title\"\r\nimport type { PropsWithChildren } from \"react\"\r\n\r\nexport type LoginContainer = React.FC<PropsWithChildren> & {\r\n Header: React.FC,\r\n Title: React.FC<TitleProps>,\r\n Subtitle: React.FC<ParagraphProps>\r\n}\r\n\r\nconst ContainerCard = styled(Card)`\r\n width: min(100%, 480px);\r\n box-shadow: 0 3px 7px rgba(0,0,0,.2);\r\n padding: 1.5rem 1rem;\r\n margin-bottom: 10rem;\r\n\r\n @media only screen and (max-width: 480px) {\r\n border-radius: 0;\r\n }\r\n\r\n @media only screen and (max-height: 576px) {\r\n margin-bottom: 1.5rem;\r\n }\r\n`\r\n\r\nconst Container : LoginContainer = ({ children }) => (\r\n <ContainerCard className=\"card-container\">\r\n { children }\r\n </ContainerCard>\r\n)\r\n\r\nContainer.Header = () => (\r\n <Space style={{ display: \"flex\" }}>\r\n <img src=\"/logo/logo-orange-black.svg\" height=\"24px\" width=\"auto\" />\r\n <img src=\"/logo/web-fuse-text.svg\" height=\"12px\" width=\"auto\" />\r\n </Space>\r\n)\r\n\r\n/** @param {import(\"antd/es/typography/Title\").TitleProps} props */\r\nContainer.Title = (props) => (\r\n <Typography.Title\r\n level={2}\r\n {...props}\r\n style={Object.assign({ marginTop: 4 }, props.style)}\r\n />\r\n)\r\n\r\n/** @param {import(\"antd/es/typography/Paragraph\").ParagraphProps} props */\r\nContainer.Subtitle = (props) => (\r\n <Typography.Paragraph\r\n {...props}\r\n style={Object.assign({\r\n marginTop: -18,\r\n marginBottom: 14,\r\n fontSize: \"0.8125rem\",\r\n lineHeight: \"20px\",\r\n fontWeight: 400\r\n }, props.style)}\r\n />\r\n)\r\n\r\nexport default Container\r\n","import { Button, Collapse, CollapseProps, Space, Typography } from \"antd\"\r\nimport Container from \"./LoginContainer\"\r\nimport { isValidElement } from \"react\"\r\nimport styled from \"styled-components\"\r\n\r\nexport interface LoginError {\r\n message: string,\r\n error_description?: React.ReactNode,\r\n error_detail?: React.ReactNode\r\n}\r\n\r\nexport type LoginErrorBoundaryProps = {\r\n error: LoginError,\r\n title: React.ReactNode\r\n}\r\n\r\nconst Page = styled.div`\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n height: calc(100vh - 2 * 2rem);\r\n`\r\n\r\nconst ErrorDescription : React.FC<{ description: LoginError[\"error_description\"] }> = ({ description }) => {\r\n if (!description) return null\r\n if (isValidElement(description)) return description\r\n return (\r\n <Typography.Text>\r\n { description }\r\n </Typography.Text>\r\n )\r\n}\r\n\r\nconst LoginErrorBoundary : React.FC<LoginErrorBoundaryProps> = ({ error, title }) => {\r\n const items : CollapseProps[\"items\"] = [{\r\n key: '1',\r\n label: \"Details\",\r\n children: <Typography.Text type=\"secondary\">{ error.error_detail || \"No additional details\" }</Typography.Text>\r\n }]\r\n\r\n return (\r\n <Page>\r\n <Container>\r\n <Container.Header />\r\n <Space direction=\"vertical\">\r\n <Container.Title>{ title }</Container.Title>\r\n <Typography.Paragraph strong style={{ marginBottom: 0 }}>{ error.message }</Typography.Paragraph>\r\n <ErrorDescription description={error.error_description} />\r\n <Button onClick={() => window.history.back()}>\r\n Return\r\n </Button>\r\n\r\n <Collapse items={items} ghost size=\"small\" />\r\n </Space>\r\n </Container>\r\n </Page>\r\n )\r\n}\r\n\r\nexport default LoginErrorBoundary\r\n","import { theme } from \"antd\"\r\nimport { PropsWithChildren } from \"react\"\r\nimport styled from \"styled-components\"\r\n\r\nconst PageStyle = styled.div`\r\n background:\r\n linear-gradient(0deg, rgba(0,0,0,.2), rgba(0,0,0,.05)),\r\n radial-gradient(at 20% 30%, rgb(80 173 255 / 10%), transparent 55%),\r\n radial-gradient(at 83% 10%, rgb(221 216 74 / 13%), transparent 60%),\r\n radial-gradient(at 10% 80%, rgb(176 249 40 / 6%), transparent 40%),\r\n radial-gradient(at 90% 80%, rgb(48 95 151 / 14%), transparent 55%),\r\n radial-gradient(at 50% 45%, rgb(255 125 61 / 20%), transparent 60%);\r\n width: 100vw;\r\n height: 100vh;\r\n`\r\n\r\nexport type LoginPageBackgroundProps = {\r\n width?: React.CSSProperties[\"width\"],\r\n height?: React.CSSProperties[\"height\"]\r\n}\r\n\r\nconst PageBackground : React.FC<PropsWithChildren<LoginPageBackgroundProps>> = ({ children, width, height }) => {\r\n const { token: { colorBgContainer } } = theme.useToken()\r\n\r\n return (\r\n <PageStyle style={{ backgroundColor: colorBgContainer, width, height }}>\r\n { children }\r\n </PageStyle>\r\n )\r\n}\r\n\r\nexport default PageBackground\r\n","import { theme } from \"antd\"\r\n\r\n/**\r\n * Custom theme algorithm that restores the primary color\r\n * Normally the dark algorithm changes the colorPrimary aliasToken\r\n * https://github.com/ant-design/ant-design/issues/44006#issuecomment-2049854538\r\n */\r\nexport const wfDarkAlgorithm : typeof theme.darkAlgorithm = (token, mapToken) => {\r\n const derivative = theme.darkAlgorithm(token, mapToken)\r\n\r\n derivative.colorPrimary = token.colorPrimary\r\n\r\n return derivative\r\n}\r\n"],"names":["f","require$$0","k","l","m","n","p","q","c","a","b","e","h","reactJsxRuntime_production_min","React","REACT_ELEMENT_TYPE","REACT_PORTAL_TYPE","REACT_FRAGMENT_TYPE","REACT_STRICT_MODE_TYPE","REACT_PROFILER_TYPE","REACT_PROVIDER_TYPE","REACT_CONTEXT_TYPE","REACT_FORWARD_REF_TYPE","REACT_SUSPENSE_TYPE","REACT_SUSPENSE_LIST_TYPE","REACT_MEMO_TYPE","REACT_LAZY_TYPE","REACT_OFFSCREEN_TYPE","MAYBE_ITERATOR_SYMBOL","FAUX_ITERATOR_SYMBOL","getIteratorFn","maybeIterable","maybeIterator","ReactSharedInternals","error","format","_len2","args","_key2","printWarning","level","ReactDebugCurrentFrame","stack","argsWithFormat","item","enableScopeAPI","enableCacheElement","enableTransitionTracing","enableLegacyHidden","enableDebugTracing","REACT_MODULE_REFERENCE","isValidElementType","type","getWrappedName","outerType","innerType","wrapperName","displayName","functionName","getContextName","getComponentNameFromType","context","provider","outerName","lazyComponent","payload","init","assign","disabledDepth","prevLog","prevInfo","prevWarn","prevError","prevGroup","prevGroupCollapsed","prevGroupEnd","disabledLog","disableLogs","props","reenableLogs","ReactCurrentDispatcher","prefix","describeBuiltInComponentFrame","name","source","ownerFn","x","match","reentry","componentFrameCache","PossiblyWeakMap","describeNativeComponentFrame","fn","construct","frame","control","previousPrepareStackTrace","previousDispatcher","Fake","sample","sampleLines","controlLines","s","_frame","syntheticFrame","describeFunctionComponentFrame","shouldConstruct","Component","prototype","describeUnknownElementTypeFrameInDEV","hasOwnProperty","loggedTypeFailures","setCurrentlyValidatingElement","element","owner","checkPropTypes","typeSpecs","values","location","componentName","has","typeSpecName","error$1","err","ex","isArrayImpl","isArray","typeName","value","hasToStringTag","willCoercionThrow","testStringCoercion","checkKeyStringCoercion","ReactCurrentOwner","RESERVED_PROPS","specialPropKeyWarningShown","specialPropRefWarningShown","didWarnAboutStringRefs","hasValidRef","config","getter","hasValidKey","warnIfStringRefCannotBeAutoConverted","self","defineKeyPropWarningGetter","warnAboutAccessingKey","defineRefPropWarningGetter","warnAboutAccessingRef","ReactElement","key","ref","jsxDEV","maybeKey","propName","defaultProps","ReactCurrentOwner$1","ReactDebugCurrentFrame$1","setCurrentlyValidatingElement$1","propTypesMisspellWarningShown","isValidElement","object","getDeclarationErrorAddendum","getSourceInfoErrorAddendum","fileName","lineNumber","ownerHasKeyUseWarning","getCurrentComponentErrorInfo","parentType","info","parentName","validateExplicitKey","currentComponentErrorInfo","childOwner","validateChildKeys","node","i","child","iteratorFn","iterator","step","validatePropTypes","propTypes","_name","validateFragmentProps","fragment","keys","jsxWithValidation","isStaticChildren","validType","sourceInfo","typeString","children","jsxWithValidationStatic","jsxWithValidationDynamic","jsx","jsxs","reactJsxRuntime_development","jsxRuntimeModule","require$$1","animationDuration","slideOpenFrames","keyframes","slideOpen","css","slideClose","CollapseHeader","styled","ContentWrapper","ChildContent","CollapseBase","forwardRef","open","onChange","defaultOpen","header","border","style","width","token","theme","unfoldHeight","setUnfoldHeight","useState","show","setShow","unfoldRef","useRef","calcHeight","_a","useImperativeHandle","showChildren","useCallback","hideChildren","toggleShow","useEffect","IconContext","createContext","Context","_extends","target","_arrayWithHoles","arr","_iterableToArrayLimit","r","t","u","o","_arrayLikeToArray","len","arr2","_unsupportedIterableToArray","minLen","arrayLikeToArray","_nonIterableRest","_slicedToArray","arrayWithHoles","iterableToArrayLimit","unsupportedIterableToArray","nonIterableRest","_typeof","toPrimitive","toPropertyKey","_defineProperty","obj","_objectWithoutPropertiesLoose","excluded","sourceKeys","_objectWithoutProperties","objectWithoutPropertiesLoose","sourceSymbolKeys","hasOwn","classNames","classes","arg","appendClass","parseValue","newClass","module","bound01","max","isOnePointZero","isPercent","isPercentage","boundAlpha","convertToPercentage","pad2","rgbToRgb","g","hue2rgb","hslToRgb","rgbToHsv","min","v","d","hsvToRgb","mod","rgbToHex","allow3Char","hex","convertHexToDecimal","parseIntFromHex","val","names","inputToRGB","color","rgb","ok","stringInputToObject","isValidCSSUnit","CSS_INTEGER","CSS_NUMBER","CSS_UNIT","PERMISSIVE_MATCH3","PERMISSIVE_MATCH4","matchers","named","hueStep","saturationStep","saturationStep2","brightnessStep1","brightnessStep2","lightColorCount","darkColorCount","darkColorMap","toHsv","_ref","hsv","toHex","_ref2","mix","rgb1","rgb2","amount","getHue","light","hue","getSaturation","saturation","getValue","generate","opts","patterns","pColor","colorString","_i","_hsv","_colorString","_ref3","index","opacity","darkColorString","presetPrimaryColors","presetPalettes","presetDarkPalettes","blue","ownKeys","_objectSpread2","defineProperty","canUseDom","contains","root","APPEND_ORDER","APPEND_PRIORITY","MARK_KEY","containerCache","getMark","mark","getContainer","option","head","getOrder","prepend","findStyles","container","injectCSS","csp","_option$priority","priority","mergedOrder","isPrependQueue","styleNode","firstChild","existStyle","nodePriority","findExistNode","syncRealContainer","cachedRealContainer","placeholderStyle","parentNode","updateCSS","originOption","styles","_objectSpread","existNode","_option$csp","_option$csp2","_option$csp3","newNode","getRoot","ele","_ele$getRootNode","inShadow","getShadowRoot","warned","preWarningFns","preMessage","warning","valid","message","finalMessage","msg","preMessageFn","note","resetWarned","call","method","warningOnce","noteOnce","camelCase","input","warn","isIconDefinition","normalizeAttrs","attrs","acc","rootProps","getSecondaryColor","primaryColor","generateColor","normalizeTwoToneColors","twoToneColor","iconStyles","useInsertStyles","eleRef","_useContext","useContext","prefixCls","mergedStyleStr","shadowRoot","_excluded","twoToneColorPalette","setTwoToneColors","secondaryColor","getTwoToneColors","IconBase","icon","className","onClick","restProps","svgRef","colors","ReactIcon","setTwoToneColor","_normalizeTwoToneColo","_normalizeTwoToneColo2","getTwoToneColor","Icon","spin","rotate","tabIndex","_React$useContext","_React$useContext$pre","rootClassName","classString","iconTabIndex","svgStyle","AntdIcon","LoadingOutlined","LoadingOutlinedSvg","LoadingOutlined$1","RightOutlined","RightOutlinedSvg","RightOutlined$1","reactIs_production_min","REACT_SERVER_CONTEXT_TYPE","typeOf","$$typeof","$$typeofType","ContextConsumer","ContextProvider","Element","ForwardRef","Fragment","Lazy","Memo","Portal","Profiler","StrictMode","Suspense","SuspenseList","hasWarnedAboutDeprecatedIsAsyncMode","hasWarnedAboutDeprecatedIsConcurrentMode","isAsyncMode","isConcurrentMode","isContextConsumer","isContextProvider","isElement","isForwardRef","isFragment","isLazy","isMemo","isPortal","isProfiler","isStrictMode","isSuspense","isSuspenseList","reactIs_development","HeaderContainer","RightTextWrapper","CollapseIcon","Collapse","title","image","rightText","activeColor","inactiveColor","changeHandler","renderCaret","childrenStyle","Typography","ContentContainer","CollapseContent","background","colorFillSecondary","InternalCollapse","Item","ItemText","SubItem","SelectorSubItem","active","parentKey","itemRender","colorBorder","colorPrimary","renderer","keyPath","clickHandler","SelectorItem","isOpen","setOpen","collapseRef","toggleOpen","nextState","SelectorContainer","SearchContainer","ItemsContainer","CreateContainer","Selector","items","messageEmpty","loading","openKeys","bottomAddon","search","onSearchChange","_openKeys","setOpenKeys","renderItems","Space","AntInput","Container","SmallHeader","LightCard","ServiceSettingsHeader","ServiceSettingsHeaderWrapper","DarkCard","colorBgContainer","colorBgBase","colorPrimaryBg","HeaderTextBox","HeaderText","fadeInUp","Submenu","SubmenuItem","DropdownItems","activeKey","handleClick","NavbarDropdown","setIsOpen","isActive","useMemo","defaultHeight","HeaderStyle","LogoContainer","NavStyle","ItemsList","ToggleLabel","ToggleInput","NavbarItems","detail","Navbar","height","textColor","logo","toggleColor","itemProps","navStyle","setNavStyle","navContentStyle","setNavContentStyle","toggleRef","SettingsContainer","SettingsFlex","MainSettings","id","colorBgElevated","colorBgLayout","bgDark","bgLight","useEvent","callback","fnRef","memoFn","_fnRef$current","_len","_key","useInternalLayoutEffect","useLayoutEffect","deps","firstMountRef","useLayoutUpdateEffect","firstMount","useSafeState","defaultValue","destroyRef","_React$useState","_React$useState2","setValue","safeSetState","updater","ignoreDestroy","hasValue","useMergedState","defaultStateValue","postState","_useState","_useState2","innerValue","setInnerValue","mergedValue","postMergedValue","onChangeFn","_useState3","_useState4","prevValue","setPrevValue","prev","triggerChange","collapseHeight","GlobalStyle","createGlobalStyle","MainSelector","propsCollapseOpen","setWidth","collapseOpen","setCollapseOpen","handleCollapseChange","updateWindowDimensions","renderAll","MainContainer","MainLayout","overflow","Button","AntButton","CenteredButton","ExtraSmallButton","RightButton","InputLabel","HoverLabel","size","colorText","colorTextActive","labelStyle","setLabelStyle","labelRef","Form","offsets","setOffsets","blurStyle","focusStyle","labelParent","top","left","fontSize","inputEl","previousSibling","padLeftExtra","hasPrefix","_b","_c","_d","_e","_f","_g","_h","onFocus","onBlur","HtmlInput","Input","label","inputProps","ContainerCard","Card","Page","ErrorDescription","description","LoginErrorBoundary","PageStyle","PageBackground","wf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