UNPKG

sure-icons-react

Version:

React components of Sure Svg Icons collection.

823 lines (803 loc) 81.9 kB
"use strict"; /*! Sure UI Icons React v0.0.0 */ var SureIconsReact = (() => { var __create = Object.create; var __defProp = Object.defineProperty; var __getOwnPropDesc = Object.getOwnPropertyDescriptor; var __getOwnPropNames = Object.getOwnPropertyNames; var __getProtoOf = Object.getPrototypeOf, __hasOwnProp = Object.prototype.hasOwnProperty; var __commonJS = (cb, mod) => function() { return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports; }; var __export = (target, all) => { for (var name in all) __defProp(target, name, { get: all[name], enumerable: !0 }); }, __copyProps = (to, from, except, desc) => { if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); return to; }; var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps( isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: !0 }) : target, mod )), __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod); // globals:react var require_react = __commonJS({ "globals:react"(exports, module) { module.exports = React; } }); // ../../node_modules/.pnpm/react@18.2.0/node_modules/react/cjs/react-jsx-runtime.production.min.js var require_react_jsx_runtime_production_min = __commonJS({ "../../node_modules/.pnpm/react@18.2.0/node_modules/react/cjs/react-jsx-runtime.production.min.js"(exports) { "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 }; function q(c, a, g) { var b, d = {}, e = null, h = null; g !== void 0 && (e = "" + g), a.key !== void 0 && (e = "" + a.key), a.ref !== void 0 && (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) d[b] === void 0 && (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; } }); // ../../node_modules/.pnpm/react@18.2.0/node_modules/react/cjs/react-jsx-runtime.development.js var require_react_jsx_runtime_development = __commonJS({ "../../node_modules/.pnpm/react@18.2.0/node_modules/react/cjs/react-jsx-runtime.development.js"(exports) { "use strict"; process.env.NODE_ENV !== "production" && function() { "use strict"; var React19 = require_react(), REACT_ELEMENT_TYPE = Symbol.for("react.element"), REACT_PORTAL_TYPE = Symbol.for("react.portal"), REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"), REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"), REACT_PROFILER_TYPE = Symbol.for("react.profiler"), REACT_PROVIDER_TYPE = Symbol.for("react.provider"), REACT_CONTEXT_TYPE = Symbol.for("react.context"), REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"), REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"), REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"), REACT_MEMO_TYPE = Symbol.for("react.memo"), REACT_LAZY_TYPE = Symbol.for("react.lazy"), REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"), MAYBE_ITERATOR_SYMBOL = Symbol.iterator, FAUX_ITERATOR_SYMBOL = "@@iterator"; function getIteratorFn(maybeIterable) { if (maybeIterable === null || typeof maybeIterable != "object") return null; var maybeIterator = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL]; return typeof maybeIterator == "function" ? maybeIterator : null; } var ReactSharedInternals = React19.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED; function error(format) { { for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) args[_key2 - 1] = arguments[_key2]; printWarning("error", format, args); } } function printWarning(level, format, args) { { var ReactDebugCurrentFrame2 = ReactSharedInternals.ReactDebugCurrentFrame, stack = ReactDebugCurrentFrame2.getStackAddendum(); stack !== "" && (format += "%s", args = args.concat([stack])); var argsWithFormat = args.map(function(item) { return String(item); }); argsWithFormat.unshift("Warning: " + format), Function.prototype.apply.call(console[level], console, argsWithFormat); } } var enableScopeAPI = !1, enableCacheElement = !1, enableTransitionTracing = !1, enableLegacyHidden = !1, enableDebugTracing = !1, REACT_MODULE_REFERENCE; REACT_MODULE_REFERENCE = Symbol.for("react.module.reference"); function isValidElementType(type) { return !!(typeof type == "string" || typeof type == "function" || 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 || typeof type == "object" && type !== null && (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 || type.$$typeof === REACT_MODULE_REFERENCE || type.getModuleId !== void 0)); } function getWrappedName(outerType, innerType, wrapperName) { var displayName = outerType.displayName; if (displayName) return displayName; var functionName = innerType.displayName || innerType.name || ""; return functionName !== "" ? wrapperName + "(" + functionName + ")" : wrapperName; } function getContextName(type) { return type.displayName || "Context"; } function getComponentNameFromType(type) { if (type == null) return null; if (typeof type.tag == "number" && error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof type == "function") return type.displayName || type.name || null; if (typeof type == "string") return type; switch (type) { case REACT_FRAGMENT_TYPE: return "Fragment"; case REACT_PORTAL_TYPE: return "Portal"; case REACT_PROFILER_TYPE: return "Profiler"; case REACT_STRICT_MODE_TYPE: return "StrictMode"; case REACT_SUSPENSE_TYPE: return "Suspense"; case REACT_SUSPENSE_LIST_TYPE: return "SuspenseList"; } if (typeof type == "object") switch (type.$$typeof) { case REACT_CONTEXT_TYPE: var context = type; return getContextName(context) + ".Consumer"; case REACT_PROVIDER_TYPE: var provider = type; return getContextName(provider._context) + ".Provider"; case REACT_FORWARD_REF_TYPE: return getWrappedName(type, type.render, "ForwardRef"); case REACT_MEMO_TYPE: var outerName = type.displayName || null; return outerName !== null ? outerName : getComponentNameFromType(type.type) || "Memo"; case REACT_LAZY_TYPE: { var lazyComponent = type, payload = lazyComponent._payload, init = lazyComponent._init; try { return getComponentNameFromType(init(payload)); } catch (x) { return null; } } } return null; } var assign = Object.assign, disabledDepth = 0, prevLog, prevInfo, prevWarn, prevError, prevGroup, prevGroupCollapsed, prevGroupEnd; function disabledLog() { } disabledLog.__reactDisabledLog = !0; function disableLogs() { { if (disabledDepth === 0) { prevLog = console.log, prevInfo = console.info, prevWarn = console.warn, prevError = console.error, prevGroup = console.group, prevGroupCollapsed = console.groupCollapsed, prevGroupEnd = console.groupEnd; var props = { configurable: !0, enumerable: !0, value: disabledLog, writable: !0 }; Object.defineProperties(console, { info: props, log: props, warn: props, error: props, group: props, groupCollapsed: props, groupEnd: props }); } disabledDepth++; } } function reenableLogs() { { if (disabledDepth--, disabledDepth === 0) { var props = { configurable: !0, enumerable: !0, writable: !0 }; Object.defineProperties(console, { log: assign({}, props, { value: prevLog }), info: assign({}, props, { value: prevInfo }), warn: assign({}, props, { value: prevWarn }), error: assign({}, props, { value: prevError }), group: assign({}, props, { value: prevGroup }), groupCollapsed: assign({}, props, { value: prevGroupCollapsed }), groupEnd: assign({}, props, { value: prevGroupEnd }) }); } disabledDepth < 0 && error("disabledDepth fell below zero. This is a bug in React. Please file an issue."); } } var ReactCurrentDispatcher = ReactSharedInternals.ReactCurrentDispatcher, prefix; function describeBuiltInComponentFrame(name, source, ownerFn) { { if (prefix === void 0) try { throw Error(); } catch (x) { var match = x.stack.trim().match(/\n( *(at )?)/); prefix = match && match[1] || ""; } return ` ` + prefix + name; } } var reentry = !1, componentFrameCache; { var PossiblyWeakMap = typeof WeakMap == "function" ? WeakMap : Map; componentFrameCache = new PossiblyWeakMap(); } function describeNativeComponentFrame(fn, construct) { if (!fn || reentry) return ""; { var frame = componentFrameCache.get(fn); if (frame !== void 0) return frame; } var control; reentry = !0; var previousPrepareStackTrace = Error.prepareStackTrace; Error.prepareStackTrace = void 0; var previousDispatcher; previousDispatcher = ReactCurrentDispatcher.current, ReactCurrentDispatcher.current = null, disableLogs(); try { if (construct) { var Fake = function() { throw Error(); }; if (Object.defineProperty(Fake.prototype, "props", { set: function() { throw Error(); } }), typeof Reflect == "object" && Reflect.construct) { try { Reflect.construct(Fake, []); } catch (x) { control = x; } Reflect.construct(fn, [], Fake); } else { try { Fake.call(); } catch (x) { control = x; } fn.call(Fake.prototype); } } else { try { throw Error(); } catch (x) { control = x; } fn(); } } catch (sample) { if (sample && control && typeof sample.stack == "string") { for (var sampleLines = sample.stack.split(` `), controlLines = control.stack.split(` `), s = sampleLines.length - 1, c = controlLines.length - 1; s >= 1 && c >= 0 && sampleLines[s] !== controlLines[c]; ) c--; for (; s >= 1 && c >= 0; s--, c--) if (sampleLines[s] !== controlLines[c]) { if (s !== 1 || c !== 1) do if (s--, c--, c < 0 || sampleLines[s] !== controlLines[c]) { var _frame = ` ` + sampleLines[s].replace(" at new ", " at "); return fn.displayName && _frame.includes("<anonymous>") && (_frame = _frame.replace("<anonymous>", fn.displayName)), typeof fn == "function" && componentFrameCache.set(fn, _frame), _frame; } while (s >= 1 && c >= 0); break; } } } finally { reentry = !1, ReactCurrentDispatcher.current = previousDispatcher, reenableLogs(), Error.prepareStackTrace = previousPrepareStackTrace; } var name = fn ? fn.displayName || fn.name : "", syntheticFrame = name ? describeBuiltInComponentFrame(name) : ""; return typeof fn == "function" && componentFrameCache.set(fn, syntheticFrame), syntheticFrame; } function describeFunctionComponentFrame(fn, source, ownerFn) { return describeNativeComponentFrame(fn, !1); } function shouldConstruct(Component) { var prototype = Component.prototype; return !!(prototype && prototype.isReactComponent); } function describeUnknownElementTypeFrameInDEV(type, source, ownerFn) { if (type == null) return ""; if (typeof type == "function") return describeNativeComponentFrame(type, shouldConstruct(type)); if (typeof type == "string") return describeBuiltInComponentFrame(type); switch (type) { case REACT_SUSPENSE_TYPE: return describeBuiltInComponentFrame("Suspense"); case REACT_SUSPENSE_LIST_TYPE: return describeBuiltInComponentFrame("SuspenseList"); } if (typeof type == "object") switch (type.$$typeof) { case REACT_FORWARD_REF_TYPE: return describeFunctionComponentFrame(type.render); case REACT_MEMO_TYPE: return describeUnknownElementTypeFrameInDEV(type.type, source, ownerFn); case REACT_LAZY_TYPE: { var lazyComponent = type, payload = lazyComponent._payload, init = lazyComponent._init; try { return describeUnknownElementTypeFrameInDEV(init(payload), source, ownerFn); } catch (x) { } } } return ""; } var hasOwnProperty = Object.prototype.hasOwnProperty, loggedTypeFailures = {}, ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame; function setCurrentlyValidatingElement(element) { if (element) { var owner = element._owner, stack = describeUnknownElementTypeFrameInDEV(element.type, element._source, owner ? owner.type : null); ReactDebugCurrentFrame.setExtraStackFrame(stack); } else ReactDebugCurrentFrame.setExtraStackFrame(null); } function checkPropTypes(typeSpecs, values, location, componentName, element) { { var has = Function.call.bind(hasOwnProperty); for (var typeSpecName in typeSpecs) if (has(typeSpecs, typeSpecName)) { var error$1 = void 0; try { if (typeof typeSpecs[typeSpecName] != "function") { 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`."); throw err.name = "Invariant Violation", err; } error$1 = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"); } catch (ex) { error$1 = ex; } error$1 && !(error$1 instanceof Error) && (setCurrentlyValidatingElement(element), 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), setCurrentlyValidatingElement(null)), error$1 instanceof Error && !(error$1.message in loggedTypeFailures) && (loggedTypeFailures[error$1.message] = !0, setCurrentlyValidatingElement(element), error("Failed %s type: %s", location, error$1.message), setCurrentlyValidatingElement(null)); } } } var isArrayImpl = Array.isArray; function isArray(a) { return isArrayImpl(a); } function typeName(value) { { var hasToStringTag = typeof Symbol == "function" && Symbol.toStringTag, type = hasToStringTag && value[Symbol.toStringTag] || value.constructor.name || "Object"; return type; } } function willCoercionThrow(value) { try { return testStringCoercion(value), !1; } catch (e) { return !0; } } function testStringCoercion(value) { return "" + value; } function checkKeyStringCoercion(value) { if (willCoercionThrow(value)) return error("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", typeName(value)), testStringCoercion(value); } var ReactCurrentOwner = ReactSharedInternals.ReactCurrentOwner, RESERVED_PROPS = { key: !0, ref: !0, __self: !0, __source: !0 }, specialPropKeyWarningShown, specialPropRefWarningShown, didWarnAboutStringRefs; didWarnAboutStringRefs = {}; function hasValidRef(config) { if (hasOwnProperty.call(config, "ref")) { var getter = Object.getOwnPropertyDescriptor(config, "ref").get; if (getter && getter.isReactWarning) return !1; } return config.ref !== void 0; } function hasValidKey(config) { if (hasOwnProperty.call(config, "key")) { var getter = Object.getOwnPropertyDescriptor(config, "key").get; if (getter && getter.isReactWarning) return !1; } return config.key !== void 0; } function warnIfStringRefCannotBeAutoConverted(config, self) { if (typeof config.ref == "string" && ReactCurrentOwner.current && self && ReactCurrentOwner.current.stateNode !== self) { var componentName = getComponentNameFromType(ReactCurrentOwner.current.type); didWarnAboutStringRefs[componentName] || (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), didWarnAboutStringRefs[componentName] = !0); } } function defineKeyPropWarningGetter(props, displayName) { { var warnAboutAccessingKey = function() { specialPropKeyWarningShown || (specialPropKeyWarningShown = !0, 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)); }; warnAboutAccessingKey.isReactWarning = !0, Object.defineProperty(props, "key", { get: warnAboutAccessingKey, configurable: !0 }); } } function defineRefPropWarningGetter(props, displayName) { { var warnAboutAccessingRef = function() { specialPropRefWarningShown || (specialPropRefWarningShown = !0, 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)); }; warnAboutAccessingRef.isReactWarning = !0, Object.defineProperty(props, "ref", { get: warnAboutAccessingRef, configurable: !0 }); } } var ReactElement = function(type, key, ref, self, source, owner, props) { var element = { $$typeof: REACT_ELEMENT_TYPE, type, key, ref, props, _owner: owner }; return element._store = {}, Object.defineProperty(element._store, "validated", { configurable: !1, enumerable: !1, writable: !0, value: !1 }), Object.defineProperty(element, "_self", { configurable: !1, enumerable: !1, writable: !1, value: self }), Object.defineProperty(element, "_source", { configurable: !1, enumerable: !1, writable: !1, value: source }), Object.freeze && (Object.freeze(element.props), Object.freeze(element)), element; }; function jsxDEV(type, config, maybeKey, source, self) { { var propName, props = {}, key = null, ref = null; maybeKey !== void 0 && (checkKeyStringCoercion(maybeKey), key = "" + maybeKey), hasValidKey(config) && (checkKeyStringCoercion(config.key), key = "" + config.key), hasValidRef(config) && (ref = config.ref, warnIfStringRefCannotBeAutoConverted(config, self)); for (propName in config) hasOwnProperty.call(config, propName) && !RESERVED_PROPS.hasOwnProperty(propName) && (props[propName] = config[propName]); if (type && type.defaultProps) { var defaultProps = type.defaultProps; for (propName in defaultProps) props[propName] === void 0 && (props[propName] = defaultProps[propName]); } if (key || ref) { var displayName = typeof type == "function" ? type.displayName || type.name || "Unknown" : type; key && defineKeyPropWarningGetter(props, displayName), ref && defineRefPropWarningGetter(props, displayName); } return ReactElement(type, key, ref, self, source, ReactCurrentOwner.current, props); } } var ReactCurrentOwner$1 = ReactSharedInternals.ReactCurrentOwner, ReactDebugCurrentFrame$1 = ReactSharedInternals.ReactDebugCurrentFrame; function setCurrentlyValidatingElement$1(element) { if (element) { var owner = element._owner, stack = describeUnknownElementTypeFrameInDEV(element.type, element._source, owner ? owner.type : null); ReactDebugCurrentFrame$1.setExtraStackFrame(stack); } else ReactDebugCurrentFrame$1.setExtraStackFrame(null); } var propTypesMisspellWarningShown; propTypesMisspellWarningShown = !1; function isValidElement(object) { return typeof object == "object" && object !== null && object.$$typeof === REACT_ELEMENT_TYPE; } function getDeclarationErrorAddendum() { { if (ReactCurrentOwner$1.current) { var name = getComponentNameFromType(ReactCurrentOwner$1.current.type); if (name) return ` Check the render method of \`` + name + "`."; } return ""; } } function getSourceInfoErrorAddendum(source) { { if (source !== void 0) { var fileName = source.fileName.replace(/^.*[\\\/]/, ""), lineNumber = source.lineNumber; return ` Check your code at ` + fileName + ":" + lineNumber + "."; } return ""; } } var ownerHasKeyUseWarning = {}; function getCurrentComponentErrorInfo(parentType) { { var info = getDeclarationErrorAddendum(); if (!info) { var parentName = typeof parentType == "string" ? parentType : parentType.displayName || parentType.name; parentName && (info = ` Check the top-level render call using <` + parentName + ">."); } return info; } } function validateExplicitKey(element, parentType) { { if (!element._store || element._store.validated || element.key != null) return; element._store.validated = !0; var currentComponentErrorInfo = getCurrentComponentErrorInfo(parentType); if (ownerHasKeyUseWarning[currentComponentErrorInfo]) return; ownerHasKeyUseWarning[currentComponentErrorInfo] = !0; var childOwner = ""; element && element._owner && element._owner !== ReactCurrentOwner$1.current && (childOwner = " It was passed a child from " + getComponentNameFromType(element._owner.type) + "."), setCurrentlyValidatingElement$1(element), 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), setCurrentlyValidatingElement$1(null); } } function validateChildKeys(node, parentType) { { if (typeof node != "object") return; if (isArray(node)) for (var i = 0; i < node.length; i++) { var child = node[i]; isValidElement(child) && validateExplicitKey(child, parentType); } else if (isValidElement(node)) node._store && (node._store.validated = !0); else if (node) { var iteratorFn = getIteratorFn(node); if (typeof iteratorFn == "function" && iteratorFn !== node.entries) for (var iterator = iteratorFn.call(node), step; !(step = iterator.next()).done; ) isValidElement(step.value) && validateExplicitKey(step.value, parentType); } } } function validatePropTypes(element) { { var type = element.type; if (type == null || typeof type == "string") return; var propTypes; if (typeof type == "function") propTypes = type.propTypes; else if (typeof type == "object" && (type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_MEMO_TYPE)) propTypes = type.propTypes; else return; if (propTypes) { var name = getComponentNameFromType(type); checkPropTypes(propTypes, element.props, "prop", name, element); } else if (type.PropTypes !== void 0 && !propTypesMisspellWarningShown) { propTypesMisspellWarningShown = !0; var _name = getComponentNameFromType(type); error("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", _name || "Unknown"); } typeof type.getDefaultProps == "function" && !type.getDefaultProps.isReactClassApproved && error("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead."); } } function validateFragmentProps(fragment) { { for (var keys = Object.keys(fragment.props), i = 0; i < keys.length; i++) { var key = keys[i]; if (key !== "children" && key !== "key") { setCurrentlyValidatingElement$1(fragment), error("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", key), setCurrentlyValidatingElement$1(null); break; } } fragment.ref !== null && (setCurrentlyValidatingElement$1(fragment), error("Invalid attribute `ref` supplied to `React.Fragment`."), setCurrentlyValidatingElement$1(null)); } } function jsxWithValidation(type, props, key, isStaticChildren, source, self) { { var validType = isValidElementType(type); if (!validType) { var info = ""; (type === void 0 || typeof type == "object" && type !== null && Object.keys(type).length === 0) && (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."); var sourceInfo = getSourceInfoErrorAddendum(source); sourceInfo ? info += sourceInfo : info += getDeclarationErrorAddendum(); var typeString; type === null ? typeString = "null" : isArray(type) ? typeString = "array" : type !== void 0 && type.$$typeof === REACT_ELEMENT_TYPE ? (typeString = "<" + (getComponentNameFromType(type.type) || "Unknown") + " />", info = " Did you accidentally export a JSX literal instead of a component?") : typeString = typeof type, 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); } var element = jsxDEV(type, props, key, source, self); if (element == null) return element; if (validType) { var children = props.children; if (children !== void 0) if (isStaticChildren) if (isArray(children)) { for (var i = 0; i < children.length; i++) validateChildKeys(children[i], type); Object.freeze && Object.freeze(children); } else 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."); else validateChildKeys(children, type); } return type === REACT_FRAGMENT_TYPE ? validateFragmentProps(element) : validatePropTypes(element), element; } } function jsxWithValidationStatic(type, props, key) { return jsxWithValidation(type, props, key, !0); } function jsxWithValidationDynamic(type, props, key) { return jsxWithValidation(type, props, key, !1); } var jsx18 = jsxWithValidationDynamic, jsxs8 = jsxWithValidationStatic; exports.Fragment = REACT_FRAGMENT_TYPE, exports.jsx = jsx18, exports.jsxs = jsxs8; }(); } }); // ../../node_modules/.pnpm/react@18.2.0/node_modules/react/jsx-runtime.js var require_jsx_runtime = __commonJS({ "../../node_modules/.pnpm/react@18.2.0/node_modules/react/jsx-runtime.js"(exports, module) { "use strict"; process.env.NODE_ENV === "production" ? module.exports = require_react_jsx_runtime_production_min() : module.exports = require_react_jsx_runtime_development(); } }); // src/global.ts var global_exports = {}; __export(global_exports, { ArrowDown: () => ArrowDown_default, ArrowLeft: () => ArrowLeft_default, ArrowRight: () => ArrowRight_default, ArrowUp: () => ArrowUp_default, CircleDoubtFilled: () => CircleDoubtFilled_default, CircleSuccessFilled: () => CircleSuccessFilled_default, CircleWarningFilled: () => CircleWarningFilled_default, Delete: () => Delete_default, DeleteFilled: () => DeleteFilled_default, Flash: () => Flash_default, Github: () => Github_default, HeartFilled: () => HeartFilled_default, Light: () => Light_default, Loading: () => Loading_default, Night: () => Night_default, Send: () => Send_default, Wechat: () => Wechat_default, icons: () => components_exports }); // src/components/index.ts var components_exports = {}; __export(components_exports, { ArrowDown: () => ArrowDown_default, ArrowLeft: () => ArrowLeft_default, ArrowRight: () => ArrowRight_default, ArrowUp: () => ArrowUp_default, CircleDoubtFilled: () => CircleDoubtFilled_default, CircleSuccessFilled: () => CircleSuccessFilled_default, CircleWarningFilled: () => CircleWarningFilled_default, Delete: () => Delete_default, DeleteFilled: () => DeleteFilled_default, Flash: () => Flash_default, Github: () => Github_default, HeartFilled: () => HeartFilled_default, Light: () => Light_default, Loading: () => Loading_default, Night: () => Night_default, Send: () => Send_default, Wechat: () => Wechat_default }); // src/components/ArrowDown.tsx var import_react = __toESM(require_react()), import_jsx_runtime = __toESM(require_jsx_runtime()), ArrowDown = () => /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("svg", { viewBox: "0 0 1024 1024", xmlns: "http://www.w3.org/2000/svg", children: [ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { fill: "currentColor", d: "M512 642.1655134l349.81981621-349.81981623c32.54137884-32.54137884 81.35344611-32.54137884 113.89482308 1e-8 32.54137884 32.54137884 32.54137884 81.35344611-3e-8 113.89482304l-406.76722677 406.76722873c-32.54137884 32.54137884-81.35344611 32.54137884-113.89482498 0l-406.76722677-406.76722873c-32.54137884-32.54137884-32.54137884-81.35344611 0-113.89482304 32.54137884-32.54137884 81.35344611-32.54137884 113.89482305-1e-8l349.81981621 349.81981623z" }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { fill: "currentColor", d: "M512 642.1655134l349.81981621-349.81981623c32.54137884-32.54137884 81.35344611-32.54137884 113.89482308 1e-8 32.54137884 32.54137884 32.54137884 81.35344611-3e-8 113.89482304l-406.76722677 406.76722873c-32.54137884 32.54137884-81.35344611 32.54137884-113.89482498 0l-406.76722677-406.76722873c-32.54137884-32.54137884-32.54137884-81.35344611 0-113.89482304 32.54137884-32.54137884 81.35344611-32.54137884 113.89482305-1e-8l349.81981621 349.81981623z" }) ] }), ArrowDown_default = (0, import_react.memo)(ArrowDown); // src/components/ArrowLeft.tsx var import_react2 = __toESM(require_react()), import_jsx_runtime = __toESM(require_jsx_runtime()), ArrowLeft = () => /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("svg", { viewBox: "0 0 1024 1024", xmlns: "http://www.w3.org/2000/svg", children: [ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { fill: "currentColor", d: "M381.8344866 512l349.81981623 349.81981621c32.54137884 32.54137884 32.54137884 81.35344611-1e-8 113.89482308-32.54137884 32.54137884-81.35344611 32.54137884-113.89482304-3e-8l-406.76722873-406.76722677c-32.54137884-32.54137884-32.54137884-81.35344611 0-113.89482498l406.76722873-406.76722677c32.54137884-32.54137884 81.35344611-32.54137884 113.89482304-1e-8 32.54137884 32.54137884 32.54137884 81.35344611 1e-8 113.89482306l-349.81981623 349.81981621z" }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { fill: "currentColor", d: "M381.8344866 512l349.81981623 349.81981621c32.54137884 32.54137884 32.54137884 81.35344611-1e-8 113.89482308-32.54137884 32.54137884-81.35344611 32.54137884-113.89482304-3e-8l-406.76722873-406.76722677c-32.54137884-32.54137884-32.54137884-81.35344611 0-113.89482498l406.76722873-406.76722677c32.54137884-32.54137884 81.35344611-32.54137884 113.89482304-1e-8 32.54137884 32.54137884 32.54137884 81.35344611 1e-8 113.89482306l-349.81981623 349.81981621z" }) ] }), ArrowLeft_default = (0, import_react2.memo)(ArrowLeft); // src/components/ArrowRight.tsx var import_react3 = __toESM(require_react()), import_jsx_runtime = __toESM(require_jsx_runtime()), ArrowRight = () => /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("svg", { viewBox: "0 0 1024 1024", xmlns: "http://www.w3.org/2000/svg", children: [ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { fill: "currentColor", d: "M642.1655134 512l-349.81981623-349.81981621c-32.54137884-32.54137884-32.54137884-81.35344611 1e-8-113.89482308 32.54137884-32.54137884 81.35344611-32.54137884 113.89482304 3e-8l406.76722873 406.76722677c32.54137884 32.54137884 32.54137884 81.35344611 0 113.89482498l-406.76722873 406.76722677c-32.54137884 32.54137884-81.35344611 32.54137884-113.89482304 1e-8-32.54137884-32.54137884-32.54137884-81.35344611-1e-8-113.89482306l349.81981623-349.81981621z" }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { fill: "currentColor", d: "M642.1655134 512l-349.81981623-349.81981621c-32.54137884-32.54137884-32.54137884-81.35344611 1e-8-113.89482308 32.54137884-32.54137884 81.35344611-32.54137884 113.89482304 3e-8l406.76722873 406.76722677c32.54137884 32.54137884 32.54137884 81.35344611 0 113.89482498l-406.76722873 406.76722677c-32.54137884 32.54137884-81.35344611 32.54137884-113.89482304 1e-8-32.54137884-32.54137884-32.54137884-81.35344611-1e-8-113.89482306l349.81981623-349.81981621z" }) ] }), ArrowRight_default = (0, import_react3.memo)(ArrowRight); // src/components/ArrowUp.tsx var import_react4 = __toESM(require_react()), import_jsx_runtime = __toESM(require_jsx_runtime()), ArrowUp = () => /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("svg", { viewBox: "0 0 1024 1024", xmlns: "http://www.w3.org/2000/svg", children: [ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { fill: "currentColor", d: "M512 381.8344866l-349.81981621 349.81981623c-32.54137884 32.54137884-81.35344611 32.54137884-113.89482308-1e-8-32.54137884-32.54137884-32.54137884-81.35344611 3e-8-113.89482304l406.76722677-406.76722873c32.54137884-32.54137884 81.35344611-32.54137884 113.89482498 0l406.76722677 406.76722873c32.54137884 32.54137884 32.54137884 81.35344611 1e-8 113.89482304-32.54137884 32.54137884-81.35344611 32.54137884-113.89482306 1e-8l-349.81981621-349.81981623z" }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { fill: "currentColor", d: "M512 381.8344866l-349.81981621 349.81981623c-32.54137884 32.54137884-81.35344611 32.54137884-113.89482308-1e-8-32.54137884-32.54137884-32.54137884-81.35344611 3e-8-113.89482304l406.76722677-406.76722873c32.54137884-32.54137884 81.35344611-32.54137884 113.89482498 0l406.76722677 406.76722873c32.54137884 32.54137884 32.54137884 81.35344611 1e-8 113.89482304-32.54137884 32.54137884-81.35344611 32.54137884-113.89482306 1e-8l-349.81981621-349.81981623z" }) ] }), ArrowUp_default = (0, import_react4.memo)(ArrowUp); // src/components/CircleDoubtFilled.tsx var import_react5 = __toESM(require_react()), import_jsx_runtime = __toESM(require_jsx_runtime()), CircleDoubtFilled = () => /* @__PURE__ */ (0, import_jsx_runtime.jsx)("svg", { viewBox: "0 0 1024 1024", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { fill: "currentColor", d: "M512 32C246.903125 32 32 246.903125 32 512s214.903125 480 480 480 480-214.903125 480-480S777.096875 32 512 32z m0 816c-37.875 0-68.56875001-30.703125-68.56875001-68.56875001s30.703125-68.56875001 68.56875001-68.56874999 68.56875001 30.703125 68.56875001 68.56875002S549.875 848 512 848z m187.2-392.915625a458.44125001 458.44125001 0 0 1-88.453125 89.14687499 167.3840625 167.3840625 0 0 0-43.884375 47.31562501 157.7090625 157.7090625 0 0 0-7.546875 63.76875H458.515625v-26.74687499c-0.890625-27.66562501 4.74375001-55.153125 16.45312501-80.23125001a245.495625 245.495625 0 0 1 64.45312499-68.56874999 489.793125 489.793125 0 0 0 58.28437499-51.43125001 68.59874999 68.59874999 0 0 0 14.4-42.515625 72.0328125 72.0328125 0 0 0-26.05312499-55.546875 101.484375 101.484375 0 0 0-68.56875-23.315625c-24.965625-0.30000001-49.246875 8.19375001-68.56875 24a145.3246875 145.3246875 0 0 0-39.08437501 73.36875c-3.43125002 20.56875001-102.853125 29.484375-102.17812499-12.34687501a172.1315625 172.1315625 0 0 1 60.346875-120A213.928125 213.928125 0 0 1 512 219.18124999a221.51625001 221.51625001 0 0 1 152.23125002 50.05312501 150.83156251 150.83156251 0 0 1 53.48437498 116.56875c0.61875001 24.4125-5.8125 48.459375-18.515625 69.28125z" }) }), CircleDoubtFilled_default = (0, import_react5.memo)(CircleDoubtFilled); // src/components/CircleSuccessFilled.tsx var import_react6 = __toESM(require_react()), import_jsx_runtime = __toESM(require_jsx_runtime()), CircleSuccessFilled = () => /* @__PURE__ */ (0, import_jsx_runtime.jsx)("svg", { viewBox: "0 0 1024 1024", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { fill: "currentColor", d: "M510.545 28.21999999c-267.043 0-483.521 216.477-483.521 483.52000002s216.479 483.521 483.521 483.52099999 483.52-216.479 483.52-483.52099999S777.58800001 28.21999999 510.545 28.21999999zM776.855 407.855l-315.37 315.37c-9.763 9.763-22.559 14.645-35.355 14.645-12.79599999 0-25.592-4.882-35.355-14.645l-176.13-176.13c-19.526-19.525-19.526-51.184 0-70.71 19.526-19.526 51.184-19.527 70.71099999 0L426.13 617.159l280.015-280.015c19.527-19.526 51.184-19.526 70.711 0C796.382 356.671 796.382 388.329 776.855 407.855z" }) }), CircleSuccessFilled_default = (0, import_react6.memo)(CircleSuccessFilled); // src/components/CircleWarningFilled.tsx var import_react7 = __toESM(require_react()), import_jsx_runtime = __toESM(require_jsx_runtime()), CircleWarningFilled = () => /* @__PURE__ */ (0, import_jsx_runtime.jsx)("svg", { viewBox: "0 0 1024 1024", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { fill: "currentColor", d: "M512 34.13333333q202.68373333 5.3248 337.6128 140.25386667T989.86666667 512q-5.3248 202.68373333-140.25386667 337.6128T512 989.86666667q-202.68373333-5.3248-337.6128-140.25386667T34.13333333 512q5.3248-202.68373333 140.25386667-337.6128T512 34.13333333z m0 204.8q-27.7504 0-45.8752 20.2752T450.11626667 307.2l24.54186666 273.06666667q2.1504 14.9504 12.25386667 23.99573333t25.05386667 9.07946667 25.05386666-9.07946667 12.25386667-23.99573333l24.54186667-273.06666667q2.1504-27.7504-16.00853334-47.99146667T511.93173333 238.93333333z m0 546.13333334q23.48373333-1.05813333 38.94613333-16.00853334t15.4624-38.4-15.4624-38.94613333T512 676.2496t-38.94613333 15.4624-15.4624 38.94613333 15.4624 38.4T512 785.06666667z" }) }), CircleWarningFilled_default = (0, import_react7.memo)(CircleWarningFilled); // src/components/DeleteFilled.tsx var import_react8 = __toESM(require_react()), import_jsx_runtime = __toESM(require_jsx_runtime()), DeleteFilled = () => /* @__PURE__ */ (0, import_jsx_runtime.jsx)("svg", { viewBox: "0 0 1024 1024", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { fill: "currentColor", d: "M981.25398471 201.00398421L805.96703687 201.00398421l0-118.61837938c0-43.87995193-35.72290105-79.63312469-79.60285298-79.63312469L297.64978802 2.75248014c-43.87995193 0-79.58655203 35.75317277-79.58655204 79.63312469l0 118.71152356-175.59781603 0.06170738c-10.56597789 0-20.49508579 4.11811157-27.98383104 11.63829362-7.47360939 7.45847467-11.5917221 17.41785429-11.5602853 27.96869518 0 21.81539613 17.74502115 39.6069888 39.57555314 39.6069888l89.4225169-0.01513586L131.91937251 941.43160093c0 43.87995193 35.70660011 79.63312469 79.60285298 79.63312469l601.00328448 0c43.87995193 0 79.60285298-35.75317277 79.60285298-79.63312469L892.12836295 305.90347605l-0.18628722 0-0.01513586-25.6692133 89.36080954-0.01513585c21.83169707 0 39.57555314-17.79159267 39.57555313-39.65356146C1020.82953785 218.74900537 1003.06938197 201.00398421 981.25398471 201.00398421zM398.61745437 864.71969337c-21.83169707 0-39.57555314-17.79159267-39.57555314-39.6069888L358.85445006 401.38498389c0-21.81539613 17.74502115-39.62212466 39.59185295-39.62212466 21.83169707 0 39.57555314 17.80672853 39.57555313 39.62212466l0.18628722 423.66484822C438.20814336 846.86639331 420.43285163 864.67312185 398.61745437 864.71969337zM625.59910343 864.71969337c-21.84683293 0-39.6069888-17.79159267-39.6069888-39.6069888L585.80582741 401.38498389c0-21.81539613 17.74502115-39.62212466 39.57555314-39.62212466 21.84683293 0 39.59185294 17.80672853 39.59185294 39.62212466l0.18628722 423.66484822C665.17582165 846.86639331 647.4308005 864.67312185 625.59910343 864.71969337zM297.41692928 131.33140423c0-27.12923933 22.07969166-49.16352341 49.17865927-49.16352341l330.82396103 0c27.12923933 0 49.21009493 22.03311901 49.21009493 49.16352341l0 69.72031659-429.21271409 0.04657152L297.41692928 131.33140423z" }) }), DeleteFilled_default = (0, import_react8.memo)(DeleteFilled); // src/components/Delete.tsx var import_react9 = __toESM(require_react()), import_jsx_runtime = __toESM(require_jsx_runtime()), Delete = () => /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("svg", { viewBox: "0 0 1024 1024", xmlns: "http://www.w3.org/2000/svg", children: [ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { fill: "currentColor", d: "M843.40179753 346.29910124c-24.85513482 0-41.42522469 16.57008987-41.4252247 41.42522468l0 488.81765136c0 33.14017975-24.85513482 49.71026963-49.71026963 49.71026963L271.7336968 926.25224691c-33.14017975 0-49.71026963-24.85513482-49.71026963-49.71026963L222.02342717 387.72432592C222.02342717 362.86919111 205.45333728 346.29910124 180.59820247 346.29910124S139.17297778 362.86919111 139.17297778 387.72432592l0 488.81765136c0 74.56540445 57.99531457 132.56071902 132.56071902 132.56071902l472.24756147 0c74.56540445 0 132.56071902-57.99531457 132.56071901-132.56071902L876.54197728 387.72432592C884.82702222 362.86919111 868.25693235 346.29910124 843.40179753 346.29910124z" }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { fill: "currentColor", d: "M445.7196405 801.97657283l0-414.25224691C445.7196405 362.86919111 429.14955061 346.29910124 412.57946075 346.29910124S362.86919111 362.86919111 362.86919111 387.72432592l0 414.25224691c0 24.85513482 16.57008987 41.42522469 41.4252247 41.4252247S445.7196405 826.83170765 445.7196405 801.97657283z" }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { fill: "currentColor", d: "M661.13080889 801.97657283l0-414.25224691C661.13080889 362.86919111 636.27567408 346.29910124 611.42053925 346.29910124S578.2803595 362.86919111 578.2803595 387.72432592l0 414.25224691C578.2803595 826.83170765 594.85044939 843.40179753 611.42053925 843.40179753S661.13080889 826.83170765 661.13080889 801.97657283z" }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { fill: "currentColor", d: "M926.25224691 180.59820247l-207.12612344 0L719.12612347 122.6028879C719.12612347 64.60757333 669.41585383 14.8973037 611.42053925 14.8973037L412.57946075 14.8973037C354.58414617 14.8973037 304.87387653 64.60757333 304.87387653 122.6028879L304.87387653 180.59820247 97.74775309 180.59820247C72.89261827 180.59820247 56.32252839 197.16829235 56.32252839 222.02342717S72.89261827 263.44865185 97.74775309 263.44865185l828.50449382 0c24.85513482 0 41.42522469-16.57008987 41.4252247-41.42522468S951.10738173 180.59820247 926.25224691 180.59820247zM387.72432592 122.6028879C387.72432592 106.03279803 396.00937086 97.74775309 412.57946075 97.74775309l198.8410785 0c16.57008987 0 24.85513482 8.28504494 24.85513483 24.85513481L636.27567408 180.59820247l-248.55134816 0L387.72432592 122.6028879z" }) ] }), Delete_default = (0, import_react9.memo)(Delete); // src/components/Flash.tsx var import_react10 = __toESM(require_react()), import_jsx_runtime = __toESM(require_jsx_runtime()), Flash = () => /* @__PURE__ */ (0, import_jsx_runtime.jsx)("svg", { viewBox: "0 0 1024 1024", xmlns: "http://www.w3.org/2000/svg", children: /*