@sorocraft/ui 1.0.22 → 1.0.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.esm.js +1 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/styles/ui.css +1 -1
- package/dist/styles/ui.css.map +1 -1
- package/package.json +1 -1
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../src/utils/styling.ts","../src/components/SVGIcon/SVGIcon.tsx","../src/utils/icon.ts","../node_modules/tslib/tslib.es6.js","../src/icons/Camera.tsx","../src/models/ui.ts","../src/icons/Check.tsx","../src/icons/ChevronRight.tsx","../src/icons/Close.tsx","../src/icons/Image.tsx","../src/icons/Menu.tsx","../src/icons/Minus.tsx","../src/icons/Plus.tsx","../src/icons/UploadCloud.tsx","../src/icons/UserCircle.tsx","../src/components/Avatar/Avatar.tsx","../src/components/Button/Button.tsx","../src/components/Input/Input.types.ts","../src/components/IconButton/IconButton.tsx","../src/components/Input/Input.tsx","../src/components/CookieBanner/CookieBanner.constants.ts","../src/utils/view.ts","../src/components/Portal/PortalAround.tsx","../src/components/DropDown/DropDown.tsx","../src/utils/storage.ts","../src/components/CookieBanner/CookieBanner.tsx","../src/components/Container/Container.tsx","../src/components/Accordion/Accordion.tsx","../src/components/Header/Header.tsx","../src/components/Link/Link.tsx","../src/components/ListItem/ListItem.tsx","../src/components/LoadingItem/LoadingItem.tsx","../src/components/Tooltip/Tooltip.tsx","../src/utils/common.ts"],"sourcesContent":["import { ClassNames, StylesProps } from \"./styling.types\";\n\nexport const classNames = (\n\tstyles: StylesProps,\n\tclassNames: ClassNames,\n\textraClassNames: string[] = []\n): string => {\n\tlet classes = [];\n\n\tfor (const key in classNames) {\n\t\tif (classNames[key]) classes.push(styles[key]);\n\t}\n\n\tif (extraClassNames?.length > 0) classes = classes.concat(extraClassNames);\n\n\treturn classes.join(\" \");\n};\n","import styles from \"./SVGIcon.module.scss\";\n\nimport { SIZE } from \"src/models/ui\";\nimport { classNames } from \"src/utils/styling\";\nimport { getDimension } from \"src/utils/icon\";\nimport { IconType } from \"./SVGIcon.types\";\n\ninterface Props {\n\ticon?: IconType;\n\tsize?: SIZE;\n\tclassName?: string;\n\tisLoading?: boolean;\n}\n\nconst SVGIcon = ({ icon: IconComponent, size = \"sm\", className = \"\", isLoading = false }: Props) => {\n\tconst dimension = getDimension(size);\n\tif (!IconComponent) return null;\n\n\treturn (\n\t\t<div className={classNames(styles, { container: true, isLoading }, [className])}>\n\t\t\t<IconComponent\n\t\t\t\tclassName={className}\n\t\t\t\twidth={dimension}\n\t\t\t\theight={dimension}\n\t\t\t\tviewBox=\"0 0 24 24\"\n\t\t\t\tpreserveAspectRatio=\"xMidYMid meet\"\n\t\t\t/>\n\t\t</div>\n\t);\n};\n\nexport default SVGIcon;\n","import { SIZE } from \"src/models/ui\";\n\n// .xxs {\n// \twidth: 8px;\n// \theight: 8px;\n\n// \tpath {\n// \t\twidth: 100%;\n// \t\theight: 100%;\n// \t}\n// }\n// .xs {\n// \twidth: 12px;\n// \theight: 12px;\n// }\n// .sm {\n// \twidth: 16px !important;;\n// \theight: 16px !important;;\n// }\n// .md {\n// \twidth: 24px;\n// }\n// .lg {\n// \twidth: 32px;\n// }\n// .xl {\n// \twidth: 48px;\n// }\n// .xxl {\n// \twidth: 64px;\n// }\n// .xxxl {\n// \twidth: 128px;\n// }\n\nexport const getDimension = (size: SIZE) => {\n\tswitch (size) {\n\t\tcase \"xxs\":\n\t\t\treturn 8;\n\t\tcase \"xs\":\n\t\t\treturn 12;\n\t\tcase \"sm\":\n\t\t\treturn 16;\n\t\tcase \"md\":\n\t\t\treturn 24;\n\t\tcase \"lg\":\n\t\t\treturn 32;\n\t\tcase \"xl\":\n\t\t\treturn 48;\n\t\tcase \"xxl\":\n\t\t\treturn 64;\n\t\tcase \"xxxl\":\n\t\t\treturn 128;\n\n\t\tdefault:\n\t\t\treturn 16;\n\t}\n};\n","/******************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise, SuppressedError, Symbol */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n if (typeof b !== \"function\" && b !== null)\r\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {\r\n function accept(f) { if (f !== void 0 && typeof f !== \"function\") throw new TypeError(\"Function expected\"); return f; }\r\n var kind = contextIn.kind, key = kind === \"getter\" ? \"get\" : kind === \"setter\" ? \"set\" : \"value\";\r\n var target = !descriptorIn && ctor ? contextIn[\"static\"] ? ctor : ctor.prototype : null;\r\n var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});\r\n var _, done = false;\r\n for (var i = decorators.length - 1; i >= 0; i--) {\r\n var context = {};\r\n for (var p in contextIn) context[p] = p === \"access\" ? {} : contextIn[p];\r\n for (var p in contextIn.access) context.access[p] = contextIn.access[p];\r\n context.addInitializer = function (f) { if (done) throw new TypeError(\"Cannot add initializers after decoration has completed\"); extraInitializers.push(accept(f || null)); };\r\n var result = (0, decorators[i])(kind === \"accessor\" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);\r\n if (kind === \"accessor\") {\r\n if (result === void 0) continue;\r\n if (result === null || typeof result !== \"object\") throw new TypeError(\"Object expected\");\r\n if (_ = accept(result.get)) descriptor.get = _;\r\n if (_ = accept(result.set)) descriptor.set = _;\r\n if (_ = accept(result.init)) initializers.unshift(_);\r\n }\r\n else if (_ = accept(result)) {\r\n if (kind === \"field\") initializers.unshift(_);\r\n else descriptor[key] = _;\r\n }\r\n }\r\n if (target) Object.defineProperty(target, contextIn.name, descriptor);\r\n done = true;\r\n};\r\n\r\nexport function __runInitializers(thisArg, initializers, value) {\r\n var useValue = arguments.length > 2;\r\n for (var i = 0; i < initializers.length; i++) {\r\n value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);\r\n }\r\n return useValue ? value : void 0;\r\n};\r\n\r\nexport function __propKey(x) {\r\n return typeof x === \"symbol\" ? x : \"\".concat(x);\r\n};\r\n\r\nexport function __setFunctionName(f, name, prefix) {\r\n if (typeof name === \"symbol\") name = name.description ? \"[\".concat(name.description, \"]\") : \"\";\r\n return Object.defineProperty(f, \"name\", { configurable: true, value: prefix ? \"\".concat(prefix, \" \", name) : name });\r\n};\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport var __createBinding = Object.create ? (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n var desc = Object.getOwnPropertyDescriptor(m, k);\r\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\r\n desc = { enumerable: true, get: function() { return m[k]; } };\r\n }\r\n Object.defineProperty(o, k2, desc);\r\n}) : (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n o[k2] = m[k];\r\n});\r\n\r\nexport function __exportStar(m, o) {\r\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\r\n}\r\n\r\nexport function __values(o) {\r\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n if (m) return m.call(o);\r\n if (o && typeof o.length === \"number\") return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n}\r\n\r\nexport function __spreadArray(to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n}\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; }\r\n function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: false } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nvar __setModuleDefault = Object.create ? (function(o, v) {\r\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\r\n}) : function(o, v) {\r\n o[\"default\"] = v;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\r\n __setModuleDefault(result, mod);\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\r\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\r\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\r\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\r\n}\r\n\r\nexport function __classPrivateFieldIn(state, receiver) {\r\n if (receiver === null || (typeof receiver !== \"object\" && typeof receiver !== \"function\")) throw new TypeError(\"Cannot use 'in' operator on non-object\");\r\n return typeof state === \"function\" ? receiver === state : state.has(receiver);\r\n}\r\n\r\nexport function __addDisposableResource(env, value, async) {\r\n if (value !== null && value !== void 0) {\r\n if (typeof value !== \"object\" && typeof value !== \"function\") throw new TypeError(\"Object expected.\");\r\n var dispose, inner;\r\n if (async) {\r\n if (!Symbol.asyncDispose) throw new TypeError(\"Symbol.asyncDispose is not defined.\");\r\n dispose = value[Symbol.asyncDispose];\r\n }\r\n if (dispose === void 0) {\r\n if (!Symbol.dispose) throw new TypeError(\"Symbol.dispose is not defined.\");\r\n dispose = value[Symbol.dispose];\r\n if (async) inner = dispose;\r\n }\r\n if (typeof dispose !== \"function\") throw new TypeError(\"Object not disposable.\");\r\n if (inner) dispose = function() { try { inner.call(this); } catch (e) { return Promise.reject(e); } };\r\n env.stack.push({ value: value, dispose: dispose, async: async });\r\n }\r\n else if (async) {\r\n env.stack.push({ async: true });\r\n }\r\n return value;\r\n\r\n}\r\n\r\nvar _SuppressedError = typeof SuppressedError === \"function\" ? SuppressedError : function (error, suppressed, message) {\r\n var e = new Error(message);\r\n return e.name = \"SuppressedError\", e.error = error, e.suppressed = suppressed, e;\r\n};\r\n\r\nexport function __disposeResources(env) {\r\n function fail(e) {\r\n env.error = env.hasError ? new _SuppressedError(e, env.error, \"An error was suppressed during disposal.\") : e;\r\n env.hasError = true;\r\n }\r\n function next() {\r\n while (env.stack.length) {\r\n var rec = env.stack.pop();\r\n try {\r\n var result = rec.dispose && rec.dispose.call(rec.value);\r\n if (rec.async) return Promise.resolve(result).then(next, function(e) { fail(e); return next(); });\r\n }\r\n catch (e) {\r\n fail(e);\r\n }\r\n }\r\n if (env.hasError) throw env.error;\r\n }\r\n return next();\r\n}\r\n\r\nexport default {\r\n __extends: __extends,\r\n __assign: __assign,\r\n __rest: __rest,\r\n __decorate: __decorate,\r\n __param: __param,\r\n __metadata: __metadata,\r\n __awaiter: __awaiter,\r\n __generator: __generator,\r\n __createBinding: __createBinding,\r\n __exportStar: __exportStar,\r\n __values: __values,\r\n __read: __read,\r\n __spread: __spread,\r\n __spreadArrays: __spreadArrays,\r\n __spreadArray: __spreadArray,\r\n __await: __await,\r\n __asyncGenerator: __asyncGenerator,\r\n __asyncDelegator: __asyncDelegator,\r\n __asyncValues: __asyncValues,\r\n __makeTemplateObject: __makeTemplateObject,\r\n __importStar: __importStar,\r\n __importDefault: __importDefault,\r\n __classPrivateFieldGet: __classPrivateFieldGet,\r\n __classPrivateFieldSet: __classPrivateFieldSet,\r\n __classPrivateFieldIn: __classPrivateFieldIn,\r\n __addDisposableResource: __addDisposableResource,\r\n __disposeResources: __disposeResources,\r\n};\r\n","import type { SVGProps } from \"react\";\nconst SvgCamera = (props: SVGProps<SVGSVGElement>) => (\n\t<svg xmlns=\"http://www.w3.org/2000/svg\" width={24} height={24} fill=\"none\" {...props}>\n\t\t<path\n\t\t\tstroke=\"#000\"\n\t\t\tstrokeLinecap=\"round\"\n\t\t\tstrokeLinejoin=\"round\"\n\t\t\tstrokeWidth={2}\n\t\t\td=\"M2 8.377c0-.35 0-.525.015-.673a3 3 0 0 1 2.69-2.69C4.851 5 5.035 5 5.404 5c.143 0 .214 0 .274-.004a2 2 0 0 0 1.735-1.25c.023-.056.044-.12.086-.246.042-.127.063-.19.086-.246a2 2 0 0 1 1.735-1.25C9.38 2 9.448 2 9.58 2h4.838c.133 0 .2 0 .26.004a2 2 0 0 1 1.735 1.25c.023.056.044.12.086.246.042.127.063.19.086.246a2 2 0 0 0 1.735 1.25c.06.004.131.004.273.004.37 0 .554 0 .702.015a3 3 0 0 1 2.69 2.69c.014.147.014.322.014.672V16.2c0 1.68 0 2.52-.327 3.162a3 3 0 0 1-1.311 1.311C19.72 21 18.88 21 17.2 21H6.8c-1.68 0-2.52 0-3.162-.327a3 3 0 0 1-1.311-1.311C2 18.72 2 17.88 2 16.2z\"\n\t\t/>\n\t\t<path\n\t\t\tstroke=\"#000\"\n\t\t\tstrokeLinecap=\"round\"\n\t\t\tstrokeLinejoin=\"round\"\n\t\t\tstrokeWidth={2}\n\t\t\td=\"M12 16.5a4 4 0 1 0 0-8 4 4 0 0 0 0 8\"\n\t\t/>\n\t</svg>\n);\nexport default SvgCamera;\n","import { ChangeEvent, FocusEvent, KeyboardEvent } from \"react\";\n\nexport type SIZE = \"xxs\" | \"xs\" | \"sm\" | \"md\" | \"lg\" | \"xl\" | \"xxl\" | \"xxxl\";\n\nexport enum UIElementType {\n\tPRIMARY = \"primary\",\n\tSECONDARY = \"secondary\",\n\tDANGER = \"danger\",\n\tSUCCESS = \"success\",\n\tWARNING = \"warning\",\n\tINFO = \"info\",\n\tLIGHT = \"light\",\n\tDEFAULT = \"default\",\n\tDARK = \"dark\",\n\tLIGHT_PRIMARY = \"lightPrimary\",\n\tLIGHT_SUCCESS = \"lightSuccess\",\n\tLIGHT_WARNING = \"lightWarning\",\n\tLIGHT_INFO = \"lightInfo\",\n\tLIGHT_DANGER = \"lightDanger\",\n\tLIGHT_DARK = \"lightDark\",\n\tLIGHT_SECONDARY = \"lightSecondary\",\n\tWHITE_TEXT = \"whiteText\",\n\tBORDERED_PRIMARY = \"borderedPrimary\",\n\tBORDERED_SECONDARY = \"borderedSecondary\",\n}\n","import type { SVGProps } from \"react\";\nconst SvgCheck = (props: SVGProps<SVGSVGElement>) => (\n\t<svg xmlns=\"http://www.w3.org/2000/svg\" width={24} height={24} fill=\"none\" {...props}>\n\t\t<path\n\t\t\tstroke=\"#000\"\n\t\t\tstrokeLinecap=\"round\"\n\t\t\tstrokeLinejoin=\"round\"\n\t\t\tstrokeWidth={2}\n\t\t\td=\"M20 6 9 17l-5-5\"\n\t\t/>\n\t</svg>\n);\nexport default SvgCheck;\n","import type { SVGProps } from \"react\";\nconst SvgChevronRight = (props: SVGProps<SVGSVGElement>) => (\n\t<svg xmlns=\"http://www.w3.org/2000/svg\" width={24} height={24} fill=\"none\" {...props}>\n\t\t<path\n\t\t\tstroke=\"#000\"\n\t\t\tstrokeLinecap=\"round\"\n\t\t\tstrokeLinejoin=\"round\"\n\t\t\tstrokeWidth={2}\n\t\t\td=\"m9 18 6-6-6-6\"\n\t\t/>\n\t</svg>\n);\nexport default SvgChevronRight;\n","import type { SVGProps } from \"react\";\nconst SvgClose = (props: SVGProps<SVGSVGElement>) => (\n\t<svg xmlns=\"http://www.w3.org/2000/svg\" width={24} height={24} fill=\"none\" {...props}>\n\t\t<path\n\t\t\tstroke=\"#000\"\n\t\t\tstrokeLinecap=\"round\"\n\t\t\tstrokeLinejoin=\"round\"\n\t\t\tstrokeWidth={2}\n\t\t\td=\"M18 6 6 18M6 6l12 12\"\n\t\t/>\n\t</svg>\n);\nexport default SvgClose;\n","import type { SVGProps } from \"react\";\nconst SvgImage = (props: SVGProps<SVGSVGElement>) => (\n\t<svg xmlns=\"http://www.w3.org/2000/svg\" width={24} height={24} fill=\"none\" {...props}>\n\t\t<path\n\t\t\tstroke=\"#000\"\n\t\t\tstrokeLinecap=\"round\"\n\t\t\tstrokeLinejoin=\"round\"\n\t\t\tstrokeWidth={2}\n\t\t\td=\"m4.272 20.728 6.597-6.597c.396-.396.594-.594.822-.668a1 1 0 0 1 .618 0c.228.074.426.272.822.668l6.553 6.553M14 15l2.869-2.869c.396-.396.594-.594.822-.668a1 1 0 0 1 .618 0c.228.074.426.272.822.668L22 15M10 9a2 2 0 1 1-4 0 2 2 0 0 1 4 0M6.8 21h10.4c1.68 0 2.52 0 3.162-.327a3 3 0 0 0 1.311-1.311C22 18.72 22 17.88 22 16.2V7.8c0-1.68 0-2.52-.327-3.162a3 3 0 0 0-1.311-1.311C19.72 3 18.88 3 17.2 3H6.8c-1.68 0-2.52 0-3.162.327a3 3 0 0 0-1.311 1.311C2 5.28 2 6.12 2 7.8v8.4c0 1.68 0 2.52.327 3.162a3 3 0 0 0 1.311 1.311C4.28 21 5.12 21 6.8 21\"\n\t\t/>\n\t</svg>\n);\nexport default SvgImage;\n","import type { SVGProps } from \"react\";\nconst SvgMenu = (props: SVGProps<SVGSVGElement>) => (\n\t<svg xmlns=\"http://www.w3.org/2000/svg\" width={24} height={24} fill=\"none\" {...props}>\n\t\t<path\n\t\t\tstroke=\"#000\"\n\t\t\tstrokeLinecap=\"round\"\n\t\t\tstrokeLinejoin=\"round\"\n\t\t\tstrokeWidth={2}\n\t\t\td=\"M3 12h18M3 6h18M3 18h18\"\n\t\t/>\n\t</svg>\n);\nexport default SvgMenu;\n","import type { SVGProps } from \"react\";\nconst SvgMinus = (props: SVGProps<SVGSVGElement>) => (\n\t<svg xmlns=\"http://www.w3.org/2000/svg\" width={24} height={24} fill=\"none\" {...props}>\n\t\t<path stroke=\"#000\" strokeLinecap=\"round\" strokeLinejoin=\"round\" strokeWidth={2} d=\"M5 12h14\" />\n\t</svg>\n);\nexport default SvgMinus;\n","import type { SVGProps } from \"react\";\nconst SvgPlus = (props: SVGProps<SVGSVGElement>) => (\n\t<svg xmlns=\"http://www.w3.org/2000/svg\" width={24} height={24} fill=\"none\" {...props}>\n\t\t<path\n\t\t\tstroke=\"#000\"\n\t\t\tstrokeLinecap=\"round\"\n\t\t\tstrokeLinejoin=\"round\"\n\t\t\tstrokeWidth={2}\n\t\t\td=\"M12 5v14m-7-7h14\"\n\t\t/>\n\t</svg>\n);\nexport default SvgPlus;\n","import type { SVGProps } from \"react\";\nconst SvgUploadCloud = (props: SVGProps<SVGSVGElement>) => (\n\t<svg xmlns=\"http://www.w3.org/2000/svg\" width={24} height={24} fill=\"none\" {...props}>\n\t\t<path\n\t\t\tstroke=\"#000\"\n\t\t\tstrokeLinecap=\"round\"\n\t\t\tstrokeLinejoin=\"round\"\n\t\t\tstrokeWidth={2}\n\t\t\td=\"m8 16 4-4m0 0 4 4m-4-4v9m8-4.257A5.5 5.5 0 0 0 16.5 7a.62.62 0 0 1-.534-.302 7.5 7.5 0 1 0-11.78 9.096\"\n\t\t/>\n\t</svg>\n);\nexport default SvgUploadCloud;\n","import type { SVGProps } from \"react\";\nconst SvgUserCircle = (props: SVGProps<SVGSVGElement>) => (\n\t<svg xmlns=\"http://www.w3.org/2000/svg\" width={24} height={24} fill=\"none\" {...props}>\n\t\t<path\n\t\t\tstroke=\"#000\"\n\t\t\tstrokeLinecap=\"round\"\n\t\t\tstrokeLinejoin=\"round\"\n\t\t\tstrokeWidth={2}\n\t\t\td=\"M5.316 19.438A4 4 0 0 1 9 17h6a4 4 0 0 1 3.684 2.438M16 9.5a4 4 0 1 1-8 0 4 4 0 0 1 8 0m6 2.5c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10\"\n\t\t/>\n\t</svg>\n);\nexport default SvgUserCircle;\n","import { JSXElementConstructor, MouseEventHandler } from \"react\";\n\nimport styles from \"./Avatar.module.scss\";\n\nimport { classNames } from \"src/utils/styling\";\nimport { SIZE } from \"src/models/ui\";\n\nimport SVGIcon, { IconType } from \"../SVGIcon\";\nimport { UserCircle, UploadCloud, Camera } from \"src/icons\";\n\ninterface Props {\n\tsource?: string | null;\n\talt?: string;\n\tsize?: SIZE;\n\tonClick?: MouseEventHandler<HTMLDivElement> | undefined;\n\tclassName?: string;\n\tisEditable?: boolean;\n\toverlayIcon?: IconType | null;\n\tinline?: boolean;\n\toverlayText?: string;\n\tisLoading?: boolean;\n}\n\nconst Avatar = ({\n\tsource = null,\n\talt = \"avatar\",\n\tsize = \"sm\",\n\tonClick,\n\tclassName,\n\tisEditable = false,\n\toverlayIcon,\n\tinline = false,\n\tisLoading = false,\n\toverlayText,\n}: Props) => {\n\tconst getImageSize = () => {\n\t\tswitch (size) {\n\t\t\tcase \"xxxl\":\n\t\t\t\treturn 512;\n\t\t\tcase \"xxl\":\n\t\t\t\treturn 256;\n\t\t\tcase \"xl\":\n\t\t\t\treturn 128;\n\t\t\tcase \"lg\":\n\t\t\t\treturn 96;\n\t\t\tcase \"md\":\n\t\t\t\treturn 64;\n\t\t\tcase \"xs\":\n\t\t\t\treturn 32;\n\t\t\tcase \"xxs\":\n\t\t\t\treturn 24;\n\n\t\t\tdefault:\n\t\t\t\treturn 48;\n\t\t}\n\t};\n\treturn (\n\t\t<div\n\t\t\tclassName={classNames(\n\t\t\t\tstyles,\n\t\t\t\t{\n\t\t\t\t\tavatar: true,\n\t\t\t\t\tclickable: !!onClick || isEditable,\n\t\t\t\t\teditable: isEditable,\n\t\t\t\t\tinline,\n\t\t\t\t\tloading: isLoading,\n\t\t\t\t},\n\t\t\t\t[styles[size], className as string]\n\t\t\t)}\n\t\t\tonClick={onClick}\n\t\t\tstyle={{ width: getImageSize(), height: getImageSize() }}\n\t\t>\n\t\t\t{source ? (\n\t\t\t\t<img\n\t\t\t\t\tsrc={source}\n\t\t\t\t\talt={alt}\n\t\t\t\t\tclassName={styles.image}\n\t\t\t\t\twidth={getImageSize()}\n\t\t\t\t\theight={getImageSize()}\n\t\t\t\t/>\n\t\t\t) : (\n\t\t\t\t<SVGIcon size={size} icon={UserCircle} />\n\t\t\t)}\n\t\t\t{isEditable && (\n\t\t\t\t<div className={styles.editIcon}>\n\t\t\t\t\t<SVGIcon isLoading={isLoading} icon={isLoading ? UploadCloud : Camera} />\n\t\t\t\t</div>\n\t\t\t)}\n\t\t\t{(!!overlayIcon || overlayText) && (\n\t\t\t\t<div className={styles.overlay}>\n\t\t\t\t\t{!!overlayIcon && (\n\t\t\t\t\t\t<SVGIcon isLoading={isLoading} icon={isLoading ? UploadCloud : overlayIcon} />\n\t\t\t\t\t)}\n\t\t\t\t\t{!!overlayText && <div className={styles.overlayText}>{overlayText}</div>}\n\t\t\t\t</div>\n\t\t\t)}\n\t\t</div>\n\t);\n};\nexport default Avatar;\n","import { Fragment, JSXElementConstructor, useState } from \"react\";\n\nimport styles from \"./Button.module.scss\";\n\nimport { UIElementType } from \"src/models/ui\";\nimport { classNames } from \"src/utils/styling\";\n\nimport SVGIcon, { IconType } from \"../SVGIcon\";\n\ninterface Props {\n\ttype?: UIElementType;\n\tonClick: (e?: any) => void;\n\tlabel: string;\n\ticon?: IconType;\n\tfullWidth?: boolean;\n\tisLoading?: boolean;\n\tdisabled?: boolean;\n\tclassName?: string;\n\tneedConfirm?: boolean;\n\tsize?: \"standard\" | \"small\" | \"xsmall\";\n}\n\nconst Button = ({\n\ttype = UIElementType.PRIMARY,\n\tonClick,\n\tlabel,\n\ticon,\n\tfullWidth = false,\n\tisLoading,\n\tdisabled,\n\tclassName,\n\tneedConfirm = false,\n\tsize = \"standard\",\n}: Props) => {\n\tconst [showConfirm, setShowConfirm] = useState(false);\n\n\tconst handleConfirmation = () => {\n\t\tsetShowConfirm(false);\n\t\tonClick();\n\t};\n\n\treturn (\n\t\t<div\n\t\t\tclassName={classNames(styles, {\n\t\t\t\tcontainer: true,\n\t\t\t\tfullWidth,\n\t\t\t})}\n\t\t>\n\t\t\t<button\n\t\t\t\tclassName={classNames(\n\t\t\t\t\tstyles,\n\t\t\t\t\t{\n\t\t\t\t\t\tbutton: true,\n\t\t\t\t\t\tloading: !!isLoading,\n\t\t\t\t\t},\n\t\t\t\t\t[styles[type], styles[size], className as string]\n\t\t\t\t)}\n\t\t\t\tonClick={needConfirm ? () => setShowConfirm(!showConfirm) : onClick}\n\t\t\t\tdisabled={isLoading || disabled}\n\t\t\t>\n\t\t\t\t{isLoading ? (\n\t\t\t\t\t<Fragment>Loading...</Fragment>\n\t\t\t\t) : (\n\t\t\t\t\t<div className={styles.label}>\n\t\t\t\t\t\t{icon && <SVGIcon icon={icon} />}\n\t\t\t\t\t\t<span>{label}</span>\n\t\t\t\t\t</div>\n\t\t\t\t)}\n\t\t\t</button>\n\t\t\t{showConfirm && (\n\t\t\t\t<div className={styles.confirm}>\n\t\t\t\t\t<div className={styles.confirmMessage}>Are you sure?</div>\n\t\t\t\t\t<div className={styles.confirmActions}>\n\t\t\t\t\t\t<Button type={UIElementType.DANGER} onClick={() => setShowConfirm(false)} label=\"No\" />\n\t\t\t\t\t\t<Button type={UIElementType.SUCCESS} onClick={handleConfirmation} label=\"Yes\" />\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t)}\n\t\t</div>\n\t);\n};\nexport default Button;\n","import { ChangeEvent, FocusEvent, KeyboardEvent } from \"react\";\n\nexport enum InputType {\n\tTEXT = \"text\",\n\tPASSWORD = \"password\",\n\tEMAIL = \"email\",\n\tNUMBER = \"number\",\n\tURL = \"url\",\n\tTEL = \"tel\",\n\tDATE = \"date\",\n\tDATETIME = \"datetime\",\n\tSELECT = \"select\",\n\tCOLOR_PICKER = \"color-picker\",\n\tTEXT_AREA = \"text-area\",\n\tAVATAR_UPLOAD = \"avatar-upload\",\n\tUPLOAD_IMAGE_ICON = \"upload-image-icon\",\n}\n\nexport type onChangeEventType = ChangeEvent<\n\tHTMLInputElement | HTMLSelectElement | HTMLTextAreaElement\n>;\nexport type onFocusEventType = FocusEvent<\n\tHTMLInputElement | HTMLSelectElement | HTMLTextAreaElement\n>;\nexport type onEnterEventType = KeyboardEvent<\n\tHTMLInputElement | HTMLSelectElement | HTMLTextAreaElement\n>;\n","import { JSXElementConstructor, useState } from \"react\";\n\nimport styles from \"./IconButton.module.scss\";\n\nimport { SIZE, UIElementType } from \"src/models/ui\";\nimport { classNames } from \"src/utils/styling\";\n\nimport Button from \"../Button\";\nimport SVGIcon, { IconType } from \"../SVGIcon\";\n\ninterface Props {\n\ticon: IconType;\n\tonClick: () => void;\n\ttype?: UIElementType;\n\tneedConfirm?: boolean;\n\tnoPadding?: boolean;\n\tisLoading?: boolean;\n\tsize?: SIZE;\n\tconfirmPosition?: \"top\" | \"bottom\";\n}\n\nconst IconButton = ({\n\ticon,\n\tonClick,\n\ttype = UIElementType.DEFAULT,\n\tneedConfirm = false,\n\tnoPadding = false,\n\tisLoading = false,\n\tsize = \"sm\",\n\tconfirmPosition = \"top\",\n}: Props) => {\n\tconst [showConfirm, setShowConfirm] = useState(false);\n\treturn (\n\t\t<div\n\t\t\tclassName={classNames(\n\t\t\t\tstyles,\n\t\t\t\t{\n\t\t\t\t\ticonButton: true,\n\t\t\t\t\tnoPadding,\n\t\t\t\t},\n\t\t\t\t[styles[type], styles[size]]\n\t\t\t)}\n\t\t\tonClick={isLoading ? undefined : needConfirm ? () => setShowConfirm(!showConfirm) : onClick}\n\t\t>\n\t\t\t<SVGIcon\n\t\t\t\t{...{\n\t\t\t\t\tisLoading,\n\t\t\t\t\ticon,\n\t\t\t\t\tsize,\n\t\t\t\t}}\n\t\t\t/>\n\t\t\t{showConfirm && (\n\t\t\t\t<div className={`${styles.confirm} ${styles[confirmPosition]}`}>\n\t\t\t\t\t<div className={styles.confirmMessage}>Are you sure?</div>\n\t\t\t\t\t<div className={styles.confirmActions}>\n\t\t\t\t\t\t<Button\n\t\t\t\t\t\t\ttype={UIElementType.DANGER}\n\t\t\t\t\t\t\tonClick={() => setShowConfirm(false)}\n\t\t\t\t\t\t\tlabel=\"No\"\n\t\t\t\t\t\t\tsize=\"small\"\n\t\t\t\t\t\t/>\n\t\t\t\t\t\t<Button type={UIElementType.SUCCESS} onClick={onClick} label=\"Yes\" size=\"small\" />\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t)}\n\t\t</div>\n\t);\n};\nexport default IconButton;\n","import { FC, Fragment, ReactElement, forwardRef } from \"react\";\n\nimport styles from \"./Input.module.scss\";\n\nimport { Image } from \"src/icons\";\nimport { SIZE } from \"src/models/ui\";\nimport { classNames } from \"src/utils/styling\";\n\nimport SVGIcon from \"../SVGIcon\";\nimport { IconType } from \"../SVGIcon\";\nimport { InputType, onChangeEventType, onEnterEventType, onFocusEventType } from \"./Input.types\";\n\nimport Avatar from \"../Avatar/Avatar\";\n\ninterface SelectOption {\n\tlabel: string;\n\tvalue: string | number;\n}\n\ninterface Props {\n\tlabel?: string;\n\tplaceholder?: string;\n\ttype?: string;\n\tvalue?: string;\n\taddonIcon?: IconType | null;\n\trequired?: boolean;\n\tname?: string;\n\terrorMessage?: string;\n\toptions?: SelectOption[];\n\tfullWidth?: boolean;\n\tsource?: string | null;\n\tavatarSize?: SIZE;\n\tlabelAddon?: ReactElement;\n\tautoCompleteContent?: ReactElement | null;\n\tautoCompleteReverse?: boolean;\n\tnoMargin?: boolean;\n\tisDisabled?: boolean;\n\tisLoading?: boolean;\n\tisMultiUpload?: boolean;\n\tautoFocus?: boolean;\n\ttheme?: \"oval\" | \"transparent\";\n\tsize?: \"xsmall\" | \"small\" | \"medium\" | \"large\";\n\tonChange?: (e: onChangeEventType) => void;\n\tonBlur?: (e: onFocusEventType) => void;\n\tonFocus?: (e: onFocusEventType) => void;\n\taddonAction?: () => void;\n\tonEnter?: () => void;\n\tonEsc?: () => void;\n\tonFileSelect?: (file: File, url?: string) => void;\n\tonFilesSelect?: (files: FileList | null) => void;\n\t[key: string]: any;\n}\n\nconst Input: FC<Props> = forwardRef(function Input(\n\t{\n\t\ttype = InputType.TEXT,\n\t\tlabel,\n\t\tplaceholder,\n\t\tvalue,\n\t\trequired = false,\n\t\taddonIcon,\n\t\tlabelAddon,\n\t\terrorMessage,\n\t\toptions = [],\n\t\tfullWidth,\n\t\tavatarSize,\n\t\tsource,\n\t\tautoCompleteContent,\n\t\tautoCompleteReverse = false,\n\t\tnoMargin = false,\n\t\tisDisabled = false,\n\t\tisLoading = false,\n\t\tisMultiUpload = false,\n\t\tautoFocus = false,\n\t\ttheme = \"oval\",\n\t\tsize = \"medium\",\n\t\tonBlur,\n\t\tonFocus,\n\t\tonChange,\n\t\taddonAction,\n\t\tonEnter,\n\t\tonEsc,\n\t\tonFileSelect,\n\t\tonFilesSelect,\n\t\t...rest\n\t},\n\tref: any\n) {\n\tconst disabled = isDisabled || isLoading;\n\n\tconst handleKeyPress = (e: onEnterEventType) => {\n\t\tswitch (e.key) {\n\t\t\tcase \"Enter\":\n\t\t\t\tonEnter && onEnter();\n\t\t\t\tbreak;\n\n\t\t\tcase \"Escape\":\n\t\t\t\tonEsc && onEsc();\n\t\t\t\tbreak;\n\n\t\t\tdefault:\n\t\t\t\tbreak;\n\t\t}\n\t};\n\n\tconst handleFileSelect = (e: onChangeEventType) => {\n\t\t// @ts-ignore\n\t\tconst file = e.target.files[0];\n\t\tconst reader = new FileReader();\n\n\t\treader.onload = () => {\n\t\t\tonFileSelect && onFileSelect(file, reader.result as string);\n\t\t};\n\n\t\treader.readAsDataURL(file);\n\t};\n\n\tconst handleFilesSelect = (e: onChangeEventType) => {\n\t\tconst target = e.target as HTMLInputElement;\n\t\tonFilesSelect && onFilesSelect(target.files);\n\t};\n\n\tconst renderInput = () => {\n\t\tswitch (type) {\n\t\t\tcase InputType.SELECT:\n\t\t\t\treturn (\n\t\t\t\t\t<select\n\t\t\t\t\t\tclassName={styles.field}\n\t\t\t\t\t\t{...{\n\t\t\t\t\t\t\tvalue,\n\t\t\t\t\t\t\tonBlur,\n\t\t\t\t\t\t\tonFocus,\n\t\t\t\t\t\t\tonChange,\n\t\t\t\t\t\t\tref,\n\t\t\t\t\t\t\t...rest,\n\t\t\t\t\t\t}}\n\t\t\t\t\t>\n\t\t\t\t\t\t<option value=\"\">{placeholder}</option>\n\t\t\t\t\t\t{options.map(({ label, value: optionValue }) => (\n\t\t\t\t\t\t\t<option value={optionValue} key={optionValue}>\n\t\t\t\t\t\t\t\t{label}\n\t\t\t\t\t\t\t</option>\n\t\t\t\t\t\t))}\n\t\t\t\t\t</select>\n\t\t\t\t);\n\n\t\t\tcase InputType.COLOR_PICKER:\n\t\t\t\treturn (\n\t\t\t\t\t<input\n\t\t\t\t\t\tclassName={`${styles.field} ${styles.colorPicker}`}\n\t\t\t\t\t\ttype=\"color\"\n\t\t\t\t\t\t{...{ value, placeholder, onBlur, onFocus, onChange, disabled, ref, ...rest }}\n\t\t\t\t\t/>\n\t\t\t\t);\n\n\t\t\tcase InputType.TEXT_AREA:\n\t\t\t\treturn (\n\t\t\t\t\t<textarea\n\t\t\t\t\t\tclassName={styles.field}\n\t\t\t\t\t\t{...{ value, placeholder, onBlur, onFocus, onChange, autoFocus, ref, ...rest }}\n\t\t\t\t\t></textarea>\n\t\t\t\t);\n\n\t\t\tcase InputType.AVATAR_UPLOAD: {\n\t\t\t\treturn (\n\t\t\t\t\t<label htmlFor=\"avatar-upload\">\n\t\t\t\t\t\t<Avatar {...{ size: avatarSize, source, isLoading }} isEditable />\n\t\t\t\t\t\t<input\n\t\t\t\t\t\t\ttype=\"file\"\n\t\t\t\t\t\t\tname=\"avatar-upload\"\n\t\t\t\t\t\t\tid=\"avatar-upload\"\n\t\t\t\t\t\t\taccept=\"image/*\"\n\t\t\t\t\t\t\tonChange={isMultiUpload ? handleFilesSelect : handleFileSelect}\n\t\t\t\t\t\t\tref={ref}\n\t\t\t\t\t\t\tclassName={styles.avatar}\n\t\t\t\t\t\t\tdisabled={disabled}\n\t\t\t\t\t\t\tmultiple={isMultiUpload}\n\t\t\t\t\t\t/>\n\t\t\t\t\t</label>\n\t\t\t\t);\n\t\t\t}\n\n\t\t\tcase InputType.UPLOAD_IMAGE_ICON: {\n\t\t\t\treturn (\n\t\t\t\t\t<label htmlFor=\"upload-image-icon\">\n\t\t\t\t\t\t<SVGIcon icon={Image} isLoading={isLoading} size=\"md\" />\n\t\t\t\t\t\t<input\n\t\t\t\t\t\t\ttype=\"file\"\n\t\t\t\t\t\t\tname=\"upload-image-icon\"\n\t\t\t\t\t\t\tid=\"upload-image-icon\"\n\t\t\t\t\t\t\taccept=\"image/*\"\n\t\t\t\t\t\t\tonChange={isMultiUpload ? handleFilesSelect : handleFileSelect}\n\t\t\t\t\t\t\tref={ref}\n\t\t\t\t\t\t\tclassName={styles.avatar}\n\t\t\t\t\t\t\tdisabled={disabled}\n\t\t\t\t\t\t\tmultiple={isMultiUpload}\n\t\t\t\t\t\t/>\n\t\t\t\t\t</label>\n\t\t\t\t);\n\t\t\t}\n\n\t\t\tdefault:\n\t\t\t\treturn (\n\t\t\t\t\t<Fragment>\n\t\t\t\t\t\t<input\n\t\t\t\t\t\t\tclassName={styles.field}\n\t\t\t\t\t\t\t{...{\n\t\t\t\t\t\t\t\ttype,\n\t\t\t\t\t\t\t\tplaceholder,\n\t\t\t\t\t\t\t\tvalue,\n\t\t\t\t\t\t\t\tonBlur,\n\t\t\t\t\t\t\t\tonFocus,\n\t\t\t\t\t\t\t\tonChange,\n\t\t\t\t\t\t\t\tonKeyUp: handleKeyPress,\n\t\t\t\t\t\t\t\tref,\n\t\t\t\t\t\t\t\tdisabled,\n\t\t\t\t\t\t\t\tautoFocus,\n\t\t\t\t\t\t\t\t...rest,\n\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t/>\n\t\t\t\t\t\t{addonIcon && (\n\t\t\t\t\t\t\t<div\n\t\t\t\t\t\t\t\tclassName={!addonAction ? styles.addon : `${styles.addon} ${styles.pointer}`}\n\t\t\t\t\t\t\t\tonClick={addonAction}\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t<SVGIcon icon={addonIcon} isLoading={isLoading} />\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t)}\n\t\t\t\t\t</Fragment>\n\t\t\t\t);\n\t\t}\n\t};\n\n\t// fullWidth ? `${styles.input} ${styles.full}` : styles.input\n\n\treturn (\n\t\t<div\n\t\t\tclassName={classNames(\n\t\t\t\tstyles,\n\t\t\t\t{\n\t\t\t\t\tinput: true,\n\t\t\t\t\tfull: !!fullWidth,\n\t\t\t\t\tnoMargin,\n\t\t\t\t\thasAddon: !!addonIcon,\n\t\t\t\t},\n\t\t\t\t[styles[theme], styles[size]]\n\t\t\t)}\n\t\t>\n\t\t\t{label && (\n\t\t\t\t<label>\n\t\t\t\t\t<span className={required ? styles.required : \"\"}>{label}</span>\n\t\t\t\t\t{!!labelAddon && <div className={styles.labelAddon}>{labelAddon}</div>}\n\t\t\t\t</label>\n\t\t\t)}\n\t\t\t<div className={styles.container}>{renderInput()}</div>\n\t\t\t{!!errorMessage && <div className={styles.error}>{errorMessage}</div>}\n\t\t\t{!!autoCompleteContent && (\n\t\t\t\t<div\n\t\t\t\t\tclassName={classNames(styles, {\n\t\t\t\t\t\tautoCompleteContent: true,\n\t\t\t\t\t\treversed: autoCompleteReverse,\n\t\t\t\t\t})}\n\t\t\t\t>\n\t\t\t\t\t{autoCompleteContent}\n\t\t\t\t</div>\n\t\t\t)}\n\t\t</div>\n\t);\n});\nexport default Input;\n","export enum CookieBannerState {\n\tSEEN = \"seen\",\n}\n","import { useCallback, useEffect, useRef } from \"react\";\n\nexport const useClickOutside = (ref: any, callback: () => void) => {\n\tconst handleClick = (event: any) => {\n\t\tif (ref.current && !ref.current.contains(event.target)) {\n\t\t\tcallback();\n\t\t}\n\t};\n\n\tuseEffect(() => {\n\t\tdocument.addEventListener(\"click\", handleClick);\n\n\t\treturn () => {\n\t\t\tdocument.removeEventListener(\"click\", handleClick);\n\t\t};\n\t}, []);\n};\n\nexport const useClickOutsideRef = (callback: () => void) => {\n\tconst ref = useRef(null);\n\n\tconst handleClick = useCallback(\n\t\t(event: MouseEvent) => {\n\t\t\tif (ref.current && !(ref.current as any).contains(event.target)) {\n\t\t\t\tcallback();\n\t\t\t}\n\t\t},\n\t\t[callback]\n\t);\n\n\tuseEffect(() => {\n\t\tdocument.addEventListener(\"click\", handleClick);\n\t\treturn () => {\n\t\t\tdocument.removeEventListener(\"click\", handleClick);\n\t\t};\n\t}, [handleClick]);\n\n\treturn ref;\n};\n","import { CSSProperties, ReactNode, RefObject, useEffect, useState } from \"react\";\nimport ReactDOM from \"react-dom\";\n\nimport { useClickOutside } from \"src/utils/view\";\n\ninterface PortalParams {\n\tisOpen: boolean;\n\ttop: number | string;\n\tleft: number | string;\n\tbottom: number | string;\n\tright: number | string;\n}\n\ninterface Props {\n\tcontainerRef: RefObject<HTMLDivElement>;\n\tcontentRef: RefObject<HTMLDivElement>;\n\tisOpen: boolean;\n\trenderChild: (params: PortalParams) => ReactNode;\n\tonClose: () => void;\n}\n\nconst PortalAround = ({\n\tcontainerRef,\n\tcontentRef,\n\tisOpen = false,\n\trenderChild,\n\tonClose,\n}: Props) => {\n\tconst initialParams = {\n\t\tisOpen: false,\n\t\ttop: 0,\n\t\tleft: 0,\n\t\tbottom: 0,\n\t\tright: 0,\n\t};\n\n\tconst [params, setParams] = useState<PortalParams>(initialParams);\n\n\tconst style: CSSProperties = {\n\t\tposition: \"absolute\",\n\t\ttop: params.top,\n\t\tleft: params.left,\n\t\tbottom: params.bottom,\n\t\tright: params.right,\n\t\tzIndex: 111,\n\t};\n\n\tconst showContent = () => {\n\t\tconst {\n\t\t\ttop: containerTop,\n\t\t\tleft: containerLeft,\n\t\t\theight: containerHeight,\n\t\t\twidth: containerWidth,\n\t\t} = containerRef?.current?.getBoundingClientRect?.() ?? {\n\t\t\ttop: 0,\n\t\t\tleft: 0,\n\t\t\theight: 0,\n\t\t\twidth: 0,\n\t\t};\n\t\tconst { innerHeight, innerWidth } = window;\n\t\tconst spaceBelow = innerHeight - (containerTop + containerHeight);\n\t\tconst spaceAbove = containerTop;\n\t\tconst spaceLeft = containerLeft;\n\t\tconst spaceRight = innerWidth - (containerLeft + containerWidth);\n\t\tconst contentHeight = contentRef?.current?.clientHeight ?? 200;\n\t\tconst contentWidth = contentRef?.current?.clientWidth ?? 200;\n\t\tlet left: string | number = \"auto\";\n\t\tlet top: string | number = \"auto\";\n\t\tlet right: string | number = \"auto\";\n\t\tlet bottom: string | number = \"auto\";\n\n\t\t// Check space below\n\t\tif (spaceBelow < contentHeight && spaceAbove >= contentHeight) {\n\t\t\tbottom = innerHeight - containerTop - containerHeight + 20;\n\t\t} else {\n\t\t\ttop = containerTop + containerHeight + 5;\n\t\t}\n\n\t\t// Check space on the right\n\t\tif (spaceRight < contentWidth && spaceLeft >= contentWidth) {\n\t\t\tright = innerWidth - containerLeft;\n\t\t} else {\n\t\t\tleft = containerLeft;\n\t\t}\n\n\t\tconst position = { top, left, right, bottom };\n\n\t\tsetParams({\n\t\t\t...position,\n\t\t\tisOpen: true,\n\t\t});\n\t};\n\n\tconst preventPropogation = (e: any) => {\n\t\te.stopPropagation();\n\t};\n\n\tconst closeSelection = () => {\n\t\tsetParams(initialParams);\n\t\tonClose();\n\t};\n\n\tuseClickOutside(containerRef, () => closeSelection());\n\n\tuseEffect(() => {\n\t\tif (isOpen) return showContent();\n\n\t\tcloseSelection();\n\t}, [isOpen, containerRef?.current]);\n\n\tif (!params.isOpen) return null;\n\n\treturn ReactDOM.createPortal(\n\t\t<div style={style} onClick={preventPropogation}>\n\t\t\t{renderChild(params)}\n\t\t</div>,\n\t\tdocument.getElementById(\"portals\") as Element | DocumentFragment\n\t);\n};\n\nexport default PortalAround;\n","import { ReactNode, RefObject, useEffect, useRef, useState } from \"react\";\n\nimport styles from \"./DropDown.module.scss\";\n\nimport { UIElementType } from \"src/models/ui\";\nimport { classNames } from \"src/utils/styling\";\nimport { CloseDropdownRef } from \"./DropDown.types\";\n\nimport PortalAround from \"../Portal\";\n\ninterface Props {\n\taction: ReactNode;\n\tmenu: ReactNode;\n\ttype?: UIElementType;\n\tcloseRef?: RefObject<CloseDropdownRef>;\n\tactionSize?: \"medium\" | \"small\" | \"xsmall\" | \"large\";\n}\n\ninterface MenuProps {\n\tchildren: ReactNode;\n}\n\nconst DropDownMenu = ({ children }: MenuProps) => {\n\treturn <div className={styles.menu}>{children}</div>;\n};\n\nconst DropDown = ({\n\taction,\n\tmenu,\n\ttype = UIElementType.DEFAULT,\n\tcloseRef,\n\tactionSize = \"medium\",\n}: Props) => {\n\tconst containerRef = useRef<HTMLDivElement>(null);\n\tconst menuRef = useRef<HTMLDivElement>(null);\n\tconst actionRef = useRef<HTMLDivElement>(null);\n\n\tconst [isMenuOpen, setIsMenuOpen] = useState(false);\n\n\tconst toggleMenu = () => setIsMenuOpen(!isMenuOpen);\n\tconst closeMenu = () => setIsMenuOpen(false);\n\n\tuseEffect(() => {\n\t\tif (!closeRef?.current) return;\n\t\t// @ts-ignore\n\t\tcloseRef.current = {\n\t\t\tclose: () => closeMenu(),\n\t\t};\n\t}, [closeRef]);\n\n\treturn (\n\t\t<div className={styles.container} ref={containerRef}>\n\t\t\t<div\n\t\t\t\tclassName={classNames(styles, { action: true }, [styles[type], styles[actionSize]])}\n\t\t\t\tref={actionRef}\n\t\t\t\tonClick={toggleMenu}\n\t\t\t>\n\t\t\t\t{action}\n\t\t\t</div>\n\t\t\t<PortalAround\n\t\t\t\tcontainerRef={containerRef}\n\t\t\t\tcontentRef={menuRef}\n\t\t\t\tisOpen={isMenuOpen}\n\t\t\t\tonClose={closeMenu}\n\t\t\t\trenderChild={() => (\n\t\t\t\t\t<div className={styles.menuContainer} ref={menuRef}>\n\t\t\t\t\t\t<DropDownMenu>{menu}</DropDownMenu>\n\t\t\t\t\t</div>\n\t\t\t\t)}\n\t\t\t/>\n\t\t</div>\n\t);\n};\n\nexport default DropDown;\n","class Storage {\n\tprivate cookieBannerKey = `sorocraft_cookie_banner`;\n\n\tsaveCookieBannerState(value: string) {\n\t\tlocalStorage.setItem(this.cookieBannerKey, String(value));\n\t}\n\n\tgetCookieBannerState(): string | null {\n\t\treturn localStorage.getItem(this.cookieBannerKey);\n\t}\n}\n\nconst storage = new Storage();\n\nexport default storage;\n","import { useEffect, useState } from \"react\";\n\nimport styles from \"./CookieBanner.module.scss\";\n\nimport storage from \"src/utils/storage\";\n\nimport Button from \"../Button\";\nimport { CookieBannerState } from \"./CookieBanner.constants\";\n\ninterface Props {\n\tappName: string;\n}\n\nconst CookieBanner = ({ appName }: Props) => {\n\tconst [shouldShow, setShouldShow] = useState(false);\n\n\tconst closeBanner = () => {\n\t\tsetShouldShow(false);\n\t\tstorage.saveCookieBannerState(CookieBannerState.SEEN);\n\t};\n\n\tuseEffect(() => {\n\t\tconst cookieBannerState = storage.getCookieBannerState();\n\t\tsetShouldShow(cookieBannerState !== CookieBannerState.SEEN);\n\t}, []);\n\n\tif (!shouldShow) {\n\t\treturn null;\n\t}\n\n\treturn (\n\t\t<div className={styles.container}>\n\t\t\t<div className={styles.content}>\n\t\t\t\tAs {appName}, we do not use any cookies ourselves, but some of our service providers may.\n\t\t\t\tPlease check our <a href=\"/privacy\">Privacy Policy</a> page for more details.\n\t\t\t</div>\n\t\t\t<div className={styles.actions}>\n\t\t\t\t<Button label=\"Continue\" onClick={closeBanner} />\n\t\t\t</div>\n\t\t</div>\n\t);\n};\n\nexport default CookieBanner;\n","import { ReactNode } from \"react\";\n\nimport styles from \"./Container.module.scss\";\n\nimport { classNames } from \"src/utils/styling\";\n\ninterface Props {\n\tclassName?: string;\n\tnoPadding?: boolean;\n\tchildren: ReactNode;\n}\n\nconst Container = ({ className = \"\", children, noPadding = false }: Props) => {\n\treturn (\n\t\t<div\n\t\t\tclassName={classNames(\n\t\t\t\tstyles,\n\t\t\t\t{\n\t\t\t\t\tcontainer: true,\n\t\t\t\t\tnoPadding,\n\t\t\t\t},\n\t\t\t\t[className]\n\t\t\t)}\n\t\t>\n\t\t\t{children}\n\t\t</div>\n\t);\n};\n\nexport default Container;\n","import { ReactNode, useState } from \"react\";\n\nimport styles from \"./Accordion.module.scss\";\n\nimport { classNames } from \"src/utils/styling\";\n\nimport SVGIcon from \"src/components/SVGIcon\";\nimport Plus from \"src/icons/Plus\";\nimport Minus from \"src/icons/Minus\";\n\ninterface Props {\n\ttitle: string;\n\tcontent: ReactNode;\n}\nconst Accordion = ({ title, content }: Props) => {\n\tconst [isOpen, setIsOpen] = useState(false);\n\n\treturn (\n\t\t<div\n\t\t\tclassName={classNames(styles, {\n\t\t\t\tcontainer: true,\n\t\t\t\tisOpen,\n\t\t\t})}\n\t\t\tonClick={() => setIsOpen(!isOpen)}\n\t\t>\n\t\t\t<div className={styles.header}>\n\t\t\t\t<h3>{title}</h3>\n\t\t\t\t<SVGIcon icon={isOpen ? Minus : Plus} size=\"md\" />\n\t\t\t</div>\n\t\t\t<div className={styles.body}>\n\t\t\t\t<div className={styles.content}>{content}</div>\n\t\t\t</div>\n\t\t</div>\n\t);\n};\nexport default Accordion;\n","import { ReactNode, useState } from \"react\";\n\nimport styles from \"./Header.module.scss\";\n\nimport Close from \"src/icons/Close\";\nimport Menu from \"src/icons/Menu\";\n\nimport IconButton from \"../IconButton\";\nimport Container from \"../Container\";\n\ninterface Props {\n\tlogo: ReactNode;\n\tmenu?: ReactNode;\n\tactions?: ReactNode;\n}\n\nconst Header = ({ logo, menu, actions = null }: Props) => {\n\tconst [showMobileMenu, setShowMobileMenu] = useState(false);\n\n\treturn (\n\t\t<header className={styles.header}>\n\t\t\t<Container>\n\t\t\t\t<div className={styles.content}>\n\t\t\t\t\t<a href=\"/\" className={styles.logo}>\n\t\t\t\t\t\t{logo}\n\t\t\t\t\t</a>\n\t\t\t\t\t<a href=\"/\" className={styles.mobileLogo}>\n\t\t\t\t\t\t{logo}\n\t\t\t\t\t</a>\n\t\t\t\t\t{!!menu && <div className={styles.menu}>{menu}</div>}\n\t\t\t\t\t<div className={styles.actions}>\n\t\t\t\t\t\t{actions}\n\t\t\t\t\t\t<div className={styles.mobileMenuIcon}>\n\t\t\t\t\t\t\t<IconButton\n\t\t\t\t\t\t\t\ticon={showMobileMenu ? Close : Menu}\n\t\t\t\t\t\t\t\tonClick={() => setShowMobileMenu(!showMobileMenu)}\n\t\t\t\t\t\t\t\tsize=\"lg\"\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</Container>\n\t\t\t{showMobileMenu && <div className={styles.mobileMenu}>{menu}</div>}\n\t\t</header>\n\t);\n};\n\nexport default Header;\n","import styles from \"./Link.module.scss\";\n\nimport { classNames } from \"src/utils/styling\";\nimport { SIZE, UIElementType } from \"src/models/ui\";\nimport SVGIcon from \"src/components/SVGIcon\";\nimport { ChevronRight } from \"src/icons\";\n\ninterface Props {\n\thref: string;\n\ttitle: string;\n\ttarget?: \"_blank\" | \"_self\" | \"_parent\" | \"_top\" | \"framename\";\n\ttype?: UIElementType;\n\tpadding?: \"zero\" | SIZE;\n\thasChevron?: boolean;\n\tfullWidth?: boolean;\n}\n\nconst Link = ({\n\thref,\n\ttitle,\n\ttarget = \"_self\",\n\ttype = UIElementType.DEFAULT,\n\tpadding = \"zero\",\n\thasChevron = false,\n\tfullWidth = false,\n}: Props) => {\n\treturn (\n\t\t<a\n\t\t\thref={href}\n\t\t\ttarget={target}\n\t\t\trel=\"noopener noreferrer\"\n\t\t\tclassName={classNames(\n\t\t\t\tstyles,\n\t\t\t\t{\n\t\t\t\t\tlink: true,\n\t\t\t\t\tfullWidth,\n\t\t\t\t},\n\t\t\t\t[styles[type], styles[padding]]\n\t\t\t)}\n\t\t>\n\t\t\t<span>{title}</span> {hasChevron && <SVGIcon icon={ChevronRight} />}\n\t\t</a>\n\t);\n};\n\nexport default Link;\n","import styles from \"./ListItem.module.scss\";\n\nimport { classNames } from \"src/utils/styling\";\n\nimport Button from \"../Button\";\nimport SVGIcon from \"../SVGIcon\";\nimport { Check } from \"src/icons\";\n\ninterface Props {\n\ttitle: string;\n\tsubtitle?: string;\n\tactionTitle?: string;\n\taction?: () => void;\n\tcompleted?: boolean;\n\tindicator?: \"primary\" | \"success\" | \"danger\" | \"warning\" | \"info\";\n\thasSeparator?: boolean;\n\thasDashedSeparator?: boolean;\n\tisActionPending?: boolean;\n}\n\nconst ListItem = ({\n\ttitle,\n\tsubtitle,\n\tactionTitle = \"\",\n\taction,\n\tcompleted,\n\tindicator,\n\thasSeparator = false,\n\thasDashedSeparator = false,\n\tisActionPending = false,\n}: Props) => {\n\treturn (\n\t\t<div\n\t\t\tclassName={classNames(styles, {\n\t\t\t\tlistItem: true,\n\t\t\t\tseparator: hasSeparator,\n\t\t\t\tdashedSeparator: hasDashedSeparator,\n\t\t\t})}\n\t\t>\n\t\t\t<div className={styles.content}>\n\t\t\t\t{indicator && (\n\t\t\t\t\t<div className={classNames(styles, { indicator: true }, [styles[indicator]])}></div>\n\t\t\t\t)}\n\t\t\t\t<div className={styles.data}>\n\t\t\t\t\t<div className={styles.title}>{title}</div>\n\t\t\t\t\t{subtitle && <div className={styles.subtitle}>{subtitle}</div>}\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t\t{action && (\n\t\t\t\t<Button\n\t\t\t\t\tonClick={action}\n\t\t\t\t\tclassName={styles.action}\n\t\t\t\t\tlabel={actionTitle}\n\t\t\t\t\tisLoading={isActionPending}\n\t\t\t\t/>\n\t\t\t)}\n\t\t\t{completed && (\n\t\t\t\t<div className={styles.completed}>\n\t\t\t\t\t<SVGIcon icon={Check} />\n\t\t\t\t</div>\n\t\t\t)}\n\t\t</div>\n\t);\n};\nexport default ListItem;\n","import styles from \"./LoadingItem.module.scss\";\n\nimport { classNames } from \"src/utils/styling\";\nimport { SIZE } from \"src/models/ui\";\n\ninterface Props {\n\tshape?: \"square\";\n\tsize: SIZE;\n\twidth?: string;\n\theight?: string;\n}\n\nconst LoadingItem = ({ shape = \"square\", size = \"md\", width, height }: Props) => {\n\treturn (\n\t\t<div\n\t\t\tclassName={classNames(styles, { container: true }, [styles[shape], styles[size]])}\n\t\t\tstyle={{ width, height }}\n\t\t></div>\n\t);\n};\n\nexport default LoadingItem;\n","import { ReactNode } from \"react\";\n\nimport styles from \"./Tooltip.module.scss\";\n\ninterface Props {\n\thint: string | ReactNode;\n\tchildren: ReactNode;\n\tposition?: \"top\" | \"bottom\" | \"left\" | \"right\";\n}\n\nconst Tooltip = ({ hint, children, position = \"top\" }: Props) => {\n\treturn (\n\t\t<div className={styles.tooltip}>\n\t\t\t{!!hint && <div className={`${styles.hint} ${styles[position]}`}>{hint}</div>}\n\t\t\t{children}\n\t\t</div>\n\t);\n};\nexport default Tooltip;\n","export const isEmpty = (value: any) => {\n\t// Check for null or undefined\n\tif (value === null || value === undefined) {\n\t\treturn true;\n\t}\n\n\t// Check for objects (including arrays and functions)\n\tif (typeof value === \"object\") {\n\t\t// Handle arrays\n\t\tif (Array.isArray(value)) {\n\t\t\treturn value.length === 0;\n\t\t}\n\t\t// Handle Sets and Maps\n\t\tif (value instanceof Set || value instanceof Map) {\n\t\t\treturn value.size === 0;\n\t\t}\n\t\t// Handle normal objects\n\t\treturn Object.keys(value).length === 0;\n\t}\n\n\t// Check for strings\n\tif (typeof value === \"string\") {\n\t\treturn value.length === 0;\n\t}\n\n\t// If the value is a number, boolean, or other primitive type, it's not empty\n\treturn false;\n};\n"],"names":["classNames","styles","extraClassNames","classes","key","push","length","concat","join","SVGIcon","_a","IconComponent","icon","_b","size","_c","className","_d","isLoading","dimension","getDimension","_jsx","container","children","jsx","width","height","viewBox","preserveAspectRatio","__assign","Object","assign","t","s","i","n","arguments","p","prototype","hasOwnProperty","call","apply","this","SuppressedError","UIElementType","SvgCamera","props","_jsxs","xmlns","fill","stroke","strokeLinecap","strokeLinejoin","strokeWidth","d","SvgCheck","SvgChevronRight","SvgClose","SvgImage","SvgMenu","SvgMinus","SvgPlus","SvgUploadCloud","SvgUserCircle","Avatar","source","alt","onClick","_e","isEditable","overlayIcon","_f","inline","_g","overlayText","getImageSize","jsxs","avatar","clickable","editable","loading","style","src","image","UserCircle","editIcon","UploadCloud","Camera","overlay","InputType","Button","type","PRIMARY","label","fullWidth","disabled","needConfirm","useState","showConfirm","setShowConfirm","button","Fragment","confirm","confirmMessage","confirmActions","DANGER","SUCCESS","IconButton","DEFAULT","noPadding","confirmPosition","_h","iconButton","undefined","CookieBannerState","Input","forwardRef","ref","TEXT","placeholder","value","required","addonIcon","labelAddon","errorMessage","options","avatarSize","autoCompleteContent","autoCompleteReverse","noMargin","isDisabled","_j","isMultiUpload","_k","autoFocus","_l","theme","_m","onBlur","onFocus","onChange","addonAction","onEnter","onEsc","onFileSelect","onFilesSelect","rest","e","indexOf","getOwnPropertySymbols","propertyIsEnumerable","__rest","handleKeyPress","handleFileSelect","file","target","files","reader","FileReader","onload","result","readAsDataURL","handleFilesSelect","input","full","hasAddon","SELECT","field","map","optionValue","COLOR_PICKER","colorPicker","TEXT_AREA","AVATAR_UPLOAD","htmlFor","name","id","accept","multiple","UPLOAD_IMAGE_ICON","Image","onKeyUp","addon","pointer","renderInput","error","reversed","useClickOutside","callback","handleClick","event","current","contains","useEffect","document","addEventListener","removeEventListener","PortalAround","containerRef","contentRef","isOpen","renderChild","onClose","initialParams","top","left","bottom","right","params","setParams","position","zIndex","closeSelection","getBoundingClientRect","containerTop","containerLeft","containerHeight","containerWidth","innerHeight","window","innerWidth","spaceBelow","spaceAbove","spaceLeft","spaceRight","contentHeight","clientHeight","contentWidth","clientWidth","showContent","ReactDOM","createPortal","stopPropagation","getElementById","DropDownMenu","menu","storage","Storage","cookieBannerKey","saveCookieBannerState","localStorage","setItem","String","getCookieBannerState","getItem","Container","title","content","setIsOpen","header","Minus","Plus","body","appName","shouldShow","setShouldShow","cookieBannerState","SEEN","href","actions","action","closeRef","actionSize","useRef","menuRef","actionRef","isMenuOpen","setIsMenuOpen","closeMenu","close","menuContainer","logo","showMobileMenu","setShowMobileMenu","Close","Menu","padding","hasChevron","rel","link","ChevronRight","subtitle","actionTitle","completed","indicator","hasSeparator","hasDashedSeparator","isActionPending","listItem","separator","dashedSeparator","data","Check","shape","hint","tooltip","Array","isArray","Set","Map","keys","useCallback"],"mappings":"ukCAEaA,EAAa,SACzBC,EACAD,EACAE,QAAA,IAAAA,IAAAA,EAA8B,IAE9B,IAAIC,EAAU,GAEd,IAAK,IAAMC,KAAOJ,EACbA,EAAWI,IAAMD,EAAQE,KAAKJ,EAAOG,IAK1C,OAFIF,eAAAA,EAAiBI,QAAS,IAAGH,EAAUA,EAAQI,OAAOL,IAEnDC,EAAQK,KAAK,IACrB,gXCFMC,EAAU,SAACC,OAAQC,EAAaD,EAAAE,KAAEC,EAAWH,EAAAI,KAAXA,OAAO,IAAAD,EAAA,OAAME,EAAAL,EAAAM,UAAAA,OAAS,IAAAD,EAAG,GAAEA,EAAEE,cAAAC,OAAY,IAAAD,GAAKA,EAC/EE,ECoBqB,SAACL,GAC5B,OAAQA,GACP,IAAK,MACJ,OAAO,EACR,IAAK,KACJ,OAAO,GACR,IAAK,KAaL,QACC,OAAO,GAZR,IAAK,KACJ,OAAO,GACR,IAAK,KACJ,OAAO,GACR,IAAK,KACJ,OAAO,GACR,IAAK,MACJ,OAAO,GACR,IAAK,OACJ,OAAO,IAKV,CD1CmBM,CAAaN,GAC/B,OAAKH,EAGJU,aAAKL,UAAWhB,EAAWC,EAAQ,CAAEqB,WAAW,EAAMJ,UAASA,GAAI,CAACF,IACnEO,SAAAF,EAAAG,IAACb,EACA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AAE/Q,EAAQb,EAAAa,SAAEV,aAAAqM,OAAW,IAAArM,EAAA,MAAKA,EAClD,OACCkC,EAAA6B,KAAA,MAAA,CAAK5D,UAAWf,EAAOsS,QACrBhR,SAAA,GAAE+Q,GAAQjR,EAAAG,IAAA,MAAA,CAAKR,UAAW,GAAAT,OAAGN,EAAOqS,KAAI,KAAA/R,OAAIN,EAAOiN,IAAc3L,SAAA+Q,IACjE/Q,IAGJ,uCCjBuB,SAACiG,GAEvB,OAAIA,UAKiB,iBAAVA,EAENgL,MAAMC,QAAQjL,GACO,IAAjBA,EAAMlH,OAGVkH,aAAiBkL,KAAOlL,aAAiBmL,IACtB,IAAfnL,EAAM1G,KAGuB,IAA9BgB,OAAO8Q,KAAKpL,GAAOlH,OAIN,iBAAVkH,GACc,IAAjBA,EAAMlH,OAKf,uDZTkC,SAACsL,GAClC,IAAMvE,EAAMkJ,SAAO,MAEb1E,EAAcgH,eACnB,SAAC/G,GACIzE,EAAI0E,UAAa1E,EAAI0E,QAAgBC,SAASF,EAAMnC,SACvDiC,GAEF,GACA,CAACA,IAUF,OAPAK,EAAAA,WAAU,WAET,OADAC,SAASC,iBAAiB,QAASN,GAC5B,WACNK,SAASE,oBAAoB,QAASP,EACvC,CACD,GAAG,CAACA,IAEGxE,CACR"}
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../src/utils/styling.ts","../src/components/SVGIcon/SVGIcon.tsx","../src/utils/icon.ts","../node_modules/tslib/tslib.es6.js","../src/icons/Camera.tsx","../src/models/ui.ts","../src/icons/Check.tsx","../src/icons/ChevronRight.tsx","../src/icons/Close.tsx","../src/icons/Image.tsx","../src/icons/Menu.tsx","../src/icons/Minus.tsx","../src/icons/Plus.tsx","../src/icons/UploadCloud.tsx","../src/icons/UserCircle.tsx","../src/components/Avatar/Avatar.tsx","../src/components/Button/Button.tsx","../src/components/Input/Input.types.ts","../src/components/IconButton/IconButton.tsx","../src/components/Input/Input.tsx","../src/components/CookieBanner/CookieBanner.constants.ts","../src/utils/view.ts","../src/components/Portal/PortalAround.tsx","../src/components/DropDown/DropDown.tsx","../src/utils/storage.ts","../src/components/CookieBanner/CookieBanner.tsx","../src/components/Container/Container.tsx","../src/components/Accordion/Accordion.tsx","../src/components/Header/Header.tsx","../src/components/Link/Link.tsx","../src/components/ListItem/ListItem.tsx","../src/components/LoadingItem/LoadingItem.tsx","../src/components/Tooltip/Tooltip.tsx","../src/utils/common.ts"],"sourcesContent":["import { ClassNames, StylesProps } from \"./styling.types\";\n\nexport const classNames = (\n\tstyles: StylesProps,\n\tclassNames: ClassNames,\n\textraClassNames: string[] = []\n): string => {\n\tlet classes = [];\n\n\tfor (const key in classNames) {\n\t\tif (classNames[key]) classes.push(styles[key]);\n\t}\n\n\tif (extraClassNames?.length > 0) classes = classes.concat(extraClassNames);\n\n\treturn classes.join(\" \");\n};\n","import styles from \"./SVGIcon.module.scss\";\n\nimport { SIZE } from \"src/models/ui\";\nimport { classNames } from \"src/utils/styling\";\nimport { getDimension } from \"src/utils/icon\";\nimport { IconType } from \"./SVGIcon.types\";\n\ninterface Props {\n\ticon?: IconType;\n\tsize?: SIZE;\n\tclassName?: string;\n\tisLoading?: boolean;\n}\n\nconst SVGIcon = ({ icon: IconComponent, size = \"sm\", className = \"\", isLoading = false }: Props) => {\n\tconst dimension = getDimension(size);\n\tif (!IconComponent) return null;\n\n\treturn (\n\t\t<div className={classNames(styles, { container: true, isLoading }, [className])}>\n\t\t\t<IconComponent\n\t\t\t\tclassName={className}\n\t\t\t\twidth={dimension}\n\t\t\t\theight={dimension}\n\t\t\t\tviewBox=\"0 0 24 24\"\n\t\t\t\tpreserveAspectRatio=\"xMidYMid meet\"\n\t\t\t/>\n\t\t</div>\n\t);\n};\n\nexport default SVGIcon;\n","import { SIZE } from \"src/models/ui\";\n\n// .xxs {\n// \twidth: 8px;\n// \theight: 8px;\n\n// \tpath {\n// \t\twidth: 100%;\n// \t\theight: 100%;\n// \t}\n// }\n// .xs {\n// \twidth: 12px;\n// \theight: 12px;\n// }\n// .sm {\n// \twidth: 16px !important;;\n// \theight: 16px !important;;\n// }\n// .md {\n// \twidth: 24px;\n// }\n// .lg {\n// \twidth: 32px;\n// }\n// .xl {\n// \twidth: 48px;\n// }\n// .xxl {\n// \twidth: 64px;\n// }\n// .xxxl {\n// \twidth: 128px;\n// }\n\nexport const getDimension = (size: SIZE) => {\n\tswitch (size) {\n\t\tcase \"xxs\":\n\t\t\treturn 8;\n\t\tcase \"xs\":\n\t\t\treturn 12;\n\t\tcase \"sm\":\n\t\t\treturn 16;\n\t\tcase \"md\":\n\t\t\treturn 24;\n\t\tcase \"lg\":\n\t\t\treturn 32;\n\t\tcase \"xl\":\n\t\t\treturn 48;\n\t\tcase \"xxl\":\n\t\t\treturn 64;\n\t\tcase \"xxxl\":\n\t\t\treturn 128;\n\n\t\tdefault:\n\t\t\treturn 16;\n\t}\n};\n","/******************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise, SuppressedError, Symbol */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n if (typeof b !== \"function\" && b !== null)\r\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {\r\n function accept(f) { if (f !== void 0 && typeof f !== \"function\") throw new TypeError(\"Function expected\"); return f; }\r\n var kind = contextIn.kind, key = kind === \"getter\" ? \"get\" : kind === \"setter\" ? \"set\" : \"value\";\r\n var target = !descriptorIn && ctor ? contextIn[\"static\"] ? ctor : ctor.prototype : null;\r\n var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});\r\n var _, done = false;\r\n for (var i = decorators.length - 1; i >= 0; i--) {\r\n var context = {};\r\n for (var p in contextIn) context[p] = p === \"access\" ? {} : contextIn[p];\r\n for (var p in contextIn.access) context.access[p] = contextIn.access[p];\r\n context.addInitializer = function (f) { if (done) throw new TypeError(\"Cannot add initializers after decoration has completed\"); extraInitializers.push(accept(f || null)); };\r\n var result = (0, decorators[i])(kind === \"accessor\" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);\r\n if (kind === \"accessor\") {\r\n if (result === void 0) continue;\r\n if (result === null || typeof result !== \"object\") throw new TypeError(\"Object expected\");\r\n if (_ = accept(result.get)) descriptor.get = _;\r\n if (_ = accept(result.set)) descriptor.set = _;\r\n if (_ = accept(result.init)) initializers.unshift(_);\r\n }\r\n else if (_ = accept(result)) {\r\n if (kind === \"field\") initializers.unshift(_);\r\n else descriptor[key] = _;\r\n }\r\n }\r\n if (target) Object.defineProperty(target, contextIn.name, descriptor);\r\n done = true;\r\n};\r\n\r\nexport function __runInitializers(thisArg, initializers, value) {\r\n var useValue = arguments.length > 2;\r\n for (var i = 0; i < initializers.length; i++) {\r\n value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);\r\n }\r\n return useValue ? value : void 0;\r\n};\r\n\r\nexport function __propKey(x) {\r\n return typeof x === \"symbol\" ? x : \"\".concat(x);\r\n};\r\n\r\nexport function __setFunctionName(f, name, prefix) {\r\n if (typeof name === \"symbol\") name = name.description ? \"[\".concat(name.description, \"]\") : \"\";\r\n return Object.defineProperty(f, \"name\", { configurable: true, value: prefix ? \"\".concat(prefix, \" \", name) : name });\r\n};\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport var __createBinding = Object.create ? (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n var desc = Object.getOwnPropertyDescriptor(m, k);\r\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\r\n desc = { enumerable: true, get: function() { return m[k]; } };\r\n }\r\n Object.defineProperty(o, k2, desc);\r\n}) : (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n o[k2] = m[k];\r\n});\r\n\r\nexport function __exportStar(m, o) {\r\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\r\n}\r\n\r\nexport function __values(o) {\r\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n if (m) return m.call(o);\r\n if (o && typeof o.length === \"number\") return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n}\r\n\r\nexport function __spreadArray(to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n}\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; }\r\n function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: false } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nvar __setModuleDefault = Object.create ? (function(o, v) {\r\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\r\n}) : function(o, v) {\r\n o[\"default\"] = v;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\r\n __setModuleDefault(result, mod);\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\r\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\r\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\r\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\r\n}\r\n\r\nexport function __classPrivateFieldIn(state, receiver) {\r\n if (receiver === null || (typeof receiver !== \"object\" && typeof receiver !== \"function\")) throw new TypeError(\"Cannot use 'in' operator on non-object\");\r\n return typeof state === \"function\" ? receiver === state : state.has(receiver);\r\n}\r\n\r\nexport function __addDisposableResource(env, value, async) {\r\n if (value !== null && value !== void 0) {\r\n if (typeof value !== \"object\" && typeof value !== \"function\") throw new TypeError(\"Object expected.\");\r\n var dispose, inner;\r\n if (async) {\r\n if (!Symbol.asyncDispose) throw new TypeError(\"Symbol.asyncDispose is not defined.\");\r\n dispose = value[Symbol.asyncDispose];\r\n }\r\n if (dispose === void 0) {\r\n if (!Symbol.dispose) throw new TypeError(\"Symbol.dispose is not defined.\");\r\n dispose = value[Symbol.dispose];\r\n if (async) inner = dispose;\r\n }\r\n if (typeof dispose !== \"function\") throw new TypeError(\"Object not disposable.\");\r\n if (inner) dispose = function() { try { inner.call(this); } catch (e) { return Promise.reject(e); } };\r\n env.stack.push({ value: value, dispose: dispose, async: async });\r\n }\r\n else if (async) {\r\n env.stack.push({ async: true });\r\n }\r\n return value;\r\n\r\n}\r\n\r\nvar _SuppressedError = typeof SuppressedError === \"function\" ? SuppressedError : function (error, suppressed, message) {\r\n var e = new Error(message);\r\n return e.name = \"SuppressedError\", e.error = error, e.suppressed = suppressed, e;\r\n};\r\n\r\nexport function __disposeResources(env) {\r\n function fail(e) {\r\n env.error = env.hasError ? new _SuppressedError(e, env.error, \"An error was suppressed during disposal.\") : e;\r\n env.hasError = true;\r\n }\r\n function next() {\r\n while (env.stack.length) {\r\n var rec = env.stack.pop();\r\n try {\r\n var result = rec.dispose && rec.dispose.call(rec.value);\r\n if (rec.async) return Promise.resolve(result).then(next, function(e) { fail(e); return next(); });\r\n }\r\n catch (e) {\r\n fail(e);\r\n }\r\n }\r\n if (env.hasError) throw env.error;\r\n }\r\n return next();\r\n}\r\n\r\nexport default {\r\n __extends: __extends,\r\n __assign: __assign,\r\n __rest: __rest,\r\n __decorate: __decorate,\r\n __param: __param,\r\n __metadata: __metadata,\r\n __awaiter: __awaiter,\r\n __generator: __generator,\r\n __createBinding: __createBinding,\r\n __exportStar: __exportStar,\r\n __values: __values,\r\n __read: __read,\r\n __spread: __spread,\r\n __spreadArrays: __spreadArrays,\r\n __spreadArray: __spreadArray,\r\n __await: __await,\r\n __asyncGenerator: __asyncGenerator,\r\n __asyncDelegator: __asyncDelegator,\r\n __asyncValues: __asyncValues,\r\n __makeTemplateObject: __makeTemplateObject,\r\n __importStar: __importStar,\r\n __importDefault: __importDefault,\r\n __classPrivateFieldGet: __classPrivateFieldGet,\r\n __classPrivateFieldSet: __classPrivateFieldSet,\r\n __classPrivateFieldIn: __classPrivateFieldIn,\r\n __addDisposableResource: __addDisposableResource,\r\n __disposeResources: __disposeResources,\r\n};\r\n","import type { SVGProps } from \"react\";\nconst SvgCamera = (props: SVGProps<SVGSVGElement>) => (\n\t<svg xmlns=\"http://www.w3.org/2000/svg\" width={24} height={24} fill=\"none\" {...props}>\n\t\t<path\n\t\t\tstroke=\"#000\"\n\t\t\tstrokeLinecap=\"round\"\n\t\t\tstrokeLinejoin=\"round\"\n\t\t\tstrokeWidth={2}\n\t\t\td=\"M2 8.377c0-.35 0-.525.015-.673a3 3 0 0 1 2.69-2.69C4.851 5 5.035 5 5.404 5c.143 0 .214 0 .274-.004a2 2 0 0 0 1.735-1.25c.023-.056.044-.12.086-.246.042-.127.063-.19.086-.246a2 2 0 0 1 1.735-1.25C9.38 2 9.448 2 9.58 2h4.838c.133 0 .2 0 .26.004a2 2 0 0 1 1.735 1.25c.023.056.044.12.086.246.042.127.063.19.086.246a2 2 0 0 0 1.735 1.25c.06.004.131.004.273.004.37 0 .554 0 .702.015a3 3 0 0 1 2.69 2.69c.014.147.014.322.014.672V16.2c0 1.68 0 2.52-.327 3.162a3 3 0 0 1-1.311 1.311C19.72 21 18.88 21 17.2 21H6.8c-1.68 0-2.52 0-3.162-.327a3 3 0 0 1-1.311-1.311C2 18.72 2 17.88 2 16.2z\"\n\t\t/>\n\t\t<path\n\t\t\tstroke=\"#000\"\n\t\t\tstrokeLinecap=\"round\"\n\t\t\tstrokeLinejoin=\"round\"\n\t\t\tstrokeWidth={2}\n\t\t\td=\"M12 16.5a4 4 0 1 0 0-8 4 4 0 0 0 0 8\"\n\t\t/>\n\t</svg>\n);\nexport default SvgCamera;\n","import { ChangeEvent, FocusEvent, KeyboardEvent } from \"react\";\n\nexport type SIZE = \"xxs\" | \"xs\" | \"sm\" | \"md\" | \"lg\" | \"xl\" | \"xxl\" | \"xxxl\";\n\nexport enum UIElementType {\n\tPRIMARY = \"primary\",\n\tSECONDARY = \"secondary\",\n\tDANGER = \"danger\",\n\tSUCCESS = \"success\",\n\tWARNING = \"warning\",\n\tINFO = \"info\",\n\tLIGHT = \"light\",\n\tDEFAULT = \"default\",\n\tDARK = \"dark\",\n\tLIGHT_PRIMARY = \"lightPrimary\",\n\tLIGHT_SUCCESS = \"lightSuccess\",\n\tLIGHT_WARNING = \"lightWarning\",\n\tLIGHT_INFO = \"lightInfo\",\n\tLIGHT_DANGER = \"lightDanger\",\n\tLIGHT_DARK = \"lightDark\",\n\tLIGHT_SECONDARY = \"lightSecondary\",\n\tWHITE_TEXT = \"whiteText\",\n\tBORDERED_PRIMARY = \"borderedPrimary\",\n\tBORDERED_SECONDARY = \"borderedSecondary\",\n}\n","import type { SVGProps } from \"react\";\nconst SvgCheck = (props: SVGProps<SVGSVGElement>) => (\n\t<svg xmlns=\"http://www.w3.org/2000/svg\" width={24} height={24} fill=\"none\" {...props}>\n\t\t<path\n\t\t\tstroke=\"#000\"\n\t\t\tstrokeLinecap=\"round\"\n\t\t\tstrokeLinejoin=\"round\"\n\t\t\tstrokeWidth={2}\n\t\t\td=\"M20 6 9 17l-5-5\"\n\t\t/>\n\t</svg>\n);\nexport default SvgCheck;\n","import type { SVGProps } from \"react\";\nconst SvgChevronRight = (props: SVGProps<SVGSVGElement>) => (\n\t<svg xmlns=\"http://www.w3.org/2000/svg\" width={24} height={24} fill=\"none\" {...props}>\n\t\t<path\n\t\t\tstroke=\"#000\"\n\t\t\tstrokeLinecap=\"round\"\n\t\t\tstrokeLinejoin=\"round\"\n\t\t\tstrokeWidth={2}\n\t\t\td=\"m9 18 6-6-6-6\"\n\t\t/>\n\t</svg>\n);\nexport default SvgChevronRight;\n","import type { SVGProps } from \"react\";\nconst SvgClose = (props: SVGProps<SVGSVGElement>) => (\n\t<svg xmlns=\"http://www.w3.org/2000/svg\" width={24} height={24} fill=\"none\" {...props}>\n\t\t<path\n\t\t\tstroke=\"#000\"\n\t\t\tstrokeLinecap=\"round\"\n\t\t\tstrokeLinejoin=\"round\"\n\t\t\tstrokeWidth={2}\n\t\t\td=\"M18 6 6 18M6 6l12 12\"\n\t\t/>\n\t</svg>\n);\nexport default SvgClose;\n","import type { SVGProps } from \"react\";\nconst SvgImage = (props: SVGProps<SVGSVGElement>) => (\n\t<svg xmlns=\"http://www.w3.org/2000/svg\" width={24} height={24} fill=\"none\" {...props}>\n\t\t<path\n\t\t\tstroke=\"#000\"\n\t\t\tstrokeLinecap=\"round\"\n\t\t\tstrokeLinejoin=\"round\"\n\t\t\tstrokeWidth={2}\n\t\t\td=\"m4.272 20.728 6.597-6.597c.396-.396.594-.594.822-.668a1 1 0 0 1 .618 0c.228.074.426.272.822.668l6.553 6.553M14 15l2.869-2.869c.396-.396.594-.594.822-.668a1 1 0 0 1 .618 0c.228.074.426.272.822.668L22 15M10 9a2 2 0 1 1-4 0 2 2 0 0 1 4 0M6.8 21h10.4c1.68 0 2.52 0 3.162-.327a3 3 0 0 0 1.311-1.311C22 18.72 22 17.88 22 16.2V7.8c0-1.68 0-2.52-.327-3.162a3 3 0 0 0-1.311-1.311C19.72 3 18.88 3 17.2 3H6.8c-1.68 0-2.52 0-3.162.327a3 3 0 0 0-1.311 1.311C2 5.28 2 6.12 2 7.8v8.4c0 1.68 0 2.52.327 3.162a3 3 0 0 0 1.311 1.311C4.28 21 5.12 21 6.8 21\"\n\t\t/>\n\t</svg>\n);\nexport default SvgImage;\n","import type { SVGProps } from \"react\";\nconst SvgMenu = (props: SVGProps<SVGSVGElement>) => (\n\t<svg xmlns=\"http://www.w3.org/2000/svg\" width={24} height={24} fill=\"none\" {...props}>\n\t\t<path\n\t\t\tstroke=\"#000\"\n\t\t\tstrokeLinecap=\"round\"\n\t\t\tstrokeLinejoin=\"round\"\n\t\t\tstrokeWidth={2}\n\t\t\td=\"M3 12h18M3 6h18M3 18h18\"\n\t\t/>\n\t</svg>\n);\nexport default SvgMenu;\n","import type { SVGProps } from \"react\";\nconst SvgMinus = (props: SVGProps<SVGSVGElement>) => (\n\t<svg xmlns=\"http://www.w3.org/2000/svg\" width={24} height={24} fill=\"none\" {...props}>\n\t\t<path stroke=\"#000\" strokeLinecap=\"round\" strokeLinejoin=\"round\" strokeWidth={2} d=\"M5 12h14\" />\n\t</svg>\n);\nexport default SvgMinus;\n","import type { SVGProps } from \"react\";\nconst SvgPlus = (props: SVGProps<SVGSVGElement>) => (\n\t<svg xmlns=\"http://www.w3.org/2000/svg\" width={24} height={24} fill=\"none\" {...props}>\n\t\t<path\n\t\t\tstroke=\"#000\"\n\t\t\tstrokeLinecap=\"round\"\n\t\t\tstrokeLinejoin=\"round\"\n\t\t\tstrokeWidth={2}\n\t\t\td=\"M12 5v14m-7-7h14\"\n\t\t/>\n\t</svg>\n);\nexport default SvgPlus;\n","import type { SVGProps } from \"react\";\nconst SvgUploadCloud = (props: SVGProps<SVGSVGElement>) => (\n\t<svg xmlns=\"http://www.w3.org/2000/svg\" width={24} height={24} fill=\"none\" {...props}>\n\t\t<path\n\t\t\tstroke=\"#000\"\n\t\t\tstrokeLinecap=\"round\"\n\t\t\tstrokeLinejoin=\"round\"\n\t\t\tstrokeWidth={2}\n\t\t\td=\"m8 16 4-4m0 0 4 4m-4-4v9m8-4.257A5.5 5.5 0 0 0 16.5 7a.62.62 0 0 1-.534-.302 7.5 7.5 0 1 0-11.78 9.096\"\n\t\t/>\n\t</svg>\n);\nexport default SvgUploadCloud;\n","import type { SVGProps } from \"react\";\nconst SvgUserCircle = (props: SVGProps<SVGSVGElement>) => (\n\t<svg xmlns=\"http://www.w3.org/2000/svg\" width={24} height={24} fill=\"none\" {...props}>\n\t\t<path\n\t\t\tstroke=\"#000\"\n\t\t\tstrokeLinecap=\"round\"\n\t\t\tstrokeLinejoin=\"round\"\n\t\t\tstrokeWidth={2}\n\t\t\td=\"M5.316 19.438A4 4 0 0 1 9 17h6a4 4 0 0 1 3.684 2.438M16 9.5a4 4 0 1 1-8 0 4 4 0 0 1 8 0m6 2.5c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10\"\n\t\t/>\n\t</svg>\n);\nexport default SvgUserCircle;\n","import { JSXElementConstructor, MouseEventHandler } from \"react\";\n\nimport styles from \"./Avatar.module.scss\";\n\nimport { classNames } from \"src/utils/styling\";\nimport { SIZE } from \"src/models/ui\";\n\nimport SVGIcon, { IconType } from \"../SVGIcon\";\nimport { UserCircle, UploadCloud, Camera } from \"src/icons\";\n\ninterface Props {\n\tsource?: string | null;\n\talt?: string;\n\tsize?: SIZE;\n\tonClick?: MouseEventHandler<HTMLDivElement> | undefined;\n\tclassName?: string;\n\tisEditable?: boolean;\n\toverlayIcon?: IconType | null;\n\tinline?: boolean;\n\toverlayText?: string;\n\tisLoading?: boolean;\n}\n\nconst Avatar = ({\n\tsource = null,\n\talt = \"avatar\",\n\tsize = \"sm\",\n\tonClick,\n\tclassName,\n\tisEditable = false,\n\toverlayIcon,\n\tinline = false,\n\tisLoading = false,\n\toverlayText,\n}: Props) => {\n\tconst getImageSize = () => {\n\t\tswitch (size) {\n\t\t\tcase \"xxxl\":\n\t\t\t\treturn 512;\n\t\t\tcase \"xxl\":\n\t\t\t\treturn 256;\n\t\t\tcase \"xl\":\n\t\t\t\treturn 128;\n\t\t\tcase \"lg\":\n\t\t\t\treturn 96;\n\t\t\tcase \"md\":\n\t\t\t\treturn 64;\n\t\t\tcase \"xs\":\n\t\t\t\treturn 32;\n\t\t\tcase \"xxs\":\n\t\t\t\treturn 24;\n\n\t\t\tdefault:\n\t\t\t\treturn 48;\n\t\t}\n\t};\n\treturn (\n\t\t<div\n\t\t\tclassName={classNames(\n\t\t\t\tstyles,\n\t\t\t\t{\n\t\t\t\t\tavatar: true,\n\t\t\t\t\tclickable: !!onClick || isEditable,\n\t\t\t\t\teditable: isEditable,\n\t\t\t\t\tinline,\n\t\t\t\t\tloading: isLoading,\n\t\t\t\t},\n\t\t\t\t[styles[size], className as string]\n\t\t\t)}\n\t\t\tonClick={onClick}\n\t\t\tstyle={{ width: getImageSize(), height: getImageSize() }}\n\t\t>\n\t\t\t{source ? (\n\t\t\t\t<img\n\t\t\t\t\tsrc={source}\n\t\t\t\t\talt={alt}\n\t\t\t\t\tclassName={styles.image}\n\t\t\t\t\twidth={getImageSize()}\n\t\t\t\t\theight={getImageSize()}\n\t\t\t\t/>\n\t\t\t) : (\n\t\t\t\t<SVGIcon size={size} icon={UserCircle} />\n\t\t\t)}\n\t\t\t{isEditable && (\n\t\t\t\t<div className={styles.editIcon}>\n\t\t\t\t\t<SVGIcon isLoading={isLoading} icon={isLoading ? UploadCloud : Camera} />\n\t\t\t\t</div>\n\t\t\t)}\n\t\t\t{(!!overlayIcon || overlayText) && (\n\t\t\t\t<div className={styles.overlay}>\n\t\t\t\t\t{!!overlayIcon && (\n\t\t\t\t\t\t<SVGIcon isLoading={isLoading} icon={isLoading ? UploadCloud : overlayIcon} />\n\t\t\t\t\t)}\n\t\t\t\t\t{!!overlayText && <div className={styles.overlayText}>{overlayText}</div>}\n\t\t\t\t</div>\n\t\t\t)}\n\t\t</div>\n\t);\n};\nexport default Avatar;\n","import { Fragment, JSXElementConstructor, useState } from \"react\";\n\nimport styles from \"./Button.module.scss\";\n\nimport { UIElementType } from \"src/models/ui\";\nimport { classNames } from \"src/utils/styling\";\n\nimport SVGIcon, { IconType } from \"../SVGIcon\";\n\ninterface Props {\n\ttype?: UIElementType;\n\tonClick: (e?: any) => void;\n\tlabel: string;\n\ticon?: IconType;\n\tfullWidth?: boolean;\n\tisLoading?: boolean;\n\tdisabled?: boolean;\n\tclassName?: string;\n\tneedConfirm?: boolean;\n\tsize?: \"standard\" | \"small\" | \"xsmall\";\n}\n\nconst Button = ({\n\ttype = UIElementType.PRIMARY,\n\tonClick,\n\tlabel,\n\ticon,\n\tfullWidth = false,\n\tisLoading,\n\tdisabled,\n\tclassName,\n\tneedConfirm = false,\n\tsize = \"standard\",\n}: Props) => {\n\tconst [showConfirm, setShowConfirm] = useState(false);\n\n\tconst handleConfirmation = () => {\n\t\tsetShowConfirm(false);\n\t\tonClick();\n\t};\n\n\treturn (\n\t\t<div\n\t\t\tclassName={classNames(styles, {\n\t\t\t\tcontainer: true,\n\t\t\t\tfullWidth,\n\t\t\t})}\n\t\t>\n\t\t\t<button\n\t\t\t\tclassName={classNames(\n\t\t\t\t\tstyles,\n\t\t\t\t\t{\n\t\t\t\t\t\tbutton: true,\n\t\t\t\t\t\tloading: !!isLoading,\n\t\t\t\t\t},\n\t\t\t\t\t[styles[type], styles[size], className as string]\n\t\t\t\t)}\n\t\t\t\tonClick={needConfirm ? () => setShowConfirm(!showConfirm) : onClick}\n\t\t\t\tdisabled={isLoading || disabled}\n\t\t\t>\n\t\t\t\t{isLoading ? (\n\t\t\t\t\t<Fragment>Loading...</Fragment>\n\t\t\t\t) : (\n\t\t\t\t\t<div className={styles.label}>\n\t\t\t\t\t\t{icon && <SVGIcon icon={icon} />}\n\t\t\t\t\t\t<span>{label}</span>\n\t\t\t\t\t</div>\n\t\t\t\t)}\n\t\t\t</button>\n\t\t\t{showConfirm && (\n\t\t\t\t<div className={styles.confirm}>\n\t\t\t\t\t<div className={styles.confirmMessage}>Are you sure?</div>\n\t\t\t\t\t<div className={styles.confirmActions}>\n\t\t\t\t\t\t<Button type={UIElementType.DANGER} onClick={() => setShowConfirm(false)} label=\"No\" />\n\t\t\t\t\t\t<Button type={UIElementType.SUCCESS} onClick={handleConfirmation} label=\"Yes\" />\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t)}\n\t\t</div>\n\t);\n};\nexport default Button;\n","import { ChangeEvent, FocusEvent, KeyboardEvent } from \"react\";\n\nexport enum InputType {\n\tTEXT = \"text\",\n\tPASSWORD = \"password\",\n\tEMAIL = \"email\",\n\tNUMBER = \"number\",\n\tURL = \"url\",\n\tTEL = \"tel\",\n\tDATE = \"date\",\n\tDATETIME = \"datetime\",\n\tSELECT = \"select\",\n\tCOLOR_PICKER = \"color-picker\",\n\tTEXT_AREA = \"text-area\",\n\tAVATAR_UPLOAD = \"avatar-upload\",\n\tUPLOAD_IMAGE_ICON = \"upload-image-icon\",\n}\n\nexport type onChangeEventType = ChangeEvent<\n\tHTMLInputElement | HTMLSelectElement | HTMLTextAreaElement\n>;\nexport type onFocusEventType = FocusEvent<\n\tHTMLInputElement | HTMLSelectElement | HTMLTextAreaElement\n>;\nexport type onEnterEventType = KeyboardEvent<\n\tHTMLInputElement | HTMLSelectElement | HTMLTextAreaElement\n>;\n","import { JSXElementConstructor, useState } from \"react\";\n\nimport styles from \"./IconButton.module.scss\";\n\nimport { SIZE, UIElementType } from \"src/models/ui\";\nimport { classNames } from \"src/utils/styling\";\n\nimport Button from \"../Button\";\nimport SVGIcon, { IconType } from \"../SVGIcon\";\n\ninterface Props {\n\ticon: IconType;\n\tonClick: () => void;\n\ttype?: UIElementType;\n\tneedConfirm?: boolean;\n\tnoPadding?: boolean;\n\tisLoading?: boolean;\n\tsize?: SIZE;\n\tconfirmPosition?: \"top\" | \"bottom\";\n}\n\nconst IconButton = ({\n\ticon,\n\tonClick,\n\ttype = UIElementType.DEFAULT,\n\tneedConfirm = false,\n\tnoPadding = false,\n\tisLoading = false,\n\tsize = \"sm\",\n\tconfirmPosition = \"top\",\n}: Props) => {\n\tconst [showConfirm, setShowConfirm] = useState(false);\n\treturn (\n\t\t<div\n\t\t\tclassName={classNames(\n\t\t\t\tstyles,\n\t\t\t\t{\n\t\t\t\t\ticonButton: true,\n\t\t\t\t\tnoPadding,\n\t\t\t\t},\n\t\t\t\t[styles[type], styles[size]]\n\t\t\t)}\n\t\t\tonClick={isLoading ? undefined : needConfirm ? () => setShowConfirm(!showConfirm) : onClick}\n\t\t>\n\t\t\t<SVGIcon\n\t\t\t\t{...{\n\t\t\t\t\tisLoading,\n\t\t\t\t\ticon,\n\t\t\t\t\tsize,\n\t\t\t\t}}\n\t\t\t/>\n\t\t\t{showConfirm && (\n\t\t\t\t<div className={`${styles.confirm} ${styles[confirmPosition]}`}>\n\t\t\t\t\t<div className={styles.confirmMessage}>Are you sure?</div>\n\t\t\t\t\t<div className={styles.confirmActions}>\n\t\t\t\t\t\t<Button\n\t\t\t\t\t\t\ttype={UIElementType.DANGER}\n\t\t\t\t\t\t\tonClick={() => setShowConfirm(false)}\n\t\t\t\t\t\t\tlabel=\"No\"\n\t\t\t\t\t\t\tsize=\"small\"\n\t\t\t\t\t\t/>\n\t\t\t\t\t\t<Button type={UIElementType.SUCCESS} onClick={onClick} label=\"Yes\" size=\"small\" />\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t)}\n\t\t</div>\n\t);\n};\nexport default IconButton;\n","import { FC, Fragment, ReactElement, forwardRef } from \"react\";\n\nimport styles from \"./Input.module.scss\";\n\nimport { Image } from \"src/icons\";\nimport { SIZE } from \"src/models/ui\";\nimport { classNames } from \"src/utils/styling\";\n\nimport SVGIcon from \"../SVGIcon\";\nimport { IconType } from \"../SVGIcon\";\nimport { InputType, onChangeEventType, onEnterEventType, onFocusEventType } from \"./Input.types\";\n\nimport Avatar from \"../Avatar/Avatar\";\n\ninterface SelectOption {\n\tlabel: string;\n\tvalue: string | number;\n}\n\ninterface Props {\n\tlabel?: string;\n\tplaceholder?: string;\n\ttype?: string;\n\tvalue?: string;\n\taddonIcon?: IconType | null;\n\trequired?: boolean;\n\tname?: string;\n\terrorMessage?: string;\n\toptions?: SelectOption[];\n\tfullWidth?: boolean;\n\tsource?: string | null;\n\tavatarSize?: SIZE;\n\tlabelAddon?: ReactElement;\n\tautoCompleteContent?: ReactElement | null;\n\tautoCompleteReverse?: boolean;\n\tnoMargin?: boolean;\n\tisDisabled?: boolean;\n\tisLoading?: boolean;\n\tisMultiUpload?: boolean;\n\tautoFocus?: boolean;\n\ttheme?: \"oval\" | \"transparent\";\n\tsize?: \"xsmall\" | \"small\" | \"medium\" | \"large\";\n\tonChange?: (e: onChangeEventType) => void;\n\tonBlur?: (e: onFocusEventType) => void;\n\tonFocus?: (e: onFocusEventType) => void;\n\taddonAction?: () => void;\n\tonEnter?: () => void;\n\tonEsc?: () => void;\n\tonFileSelect?: (file: File, url?: string) => void;\n\tonFilesSelect?: (files: FileList | null) => void;\n\t[key: string]: any;\n}\n\nconst Input: FC<Props> = forwardRef(function Input(\n\t{\n\t\ttype = InputType.TEXT,\n\t\tlabel,\n\t\tplaceholder,\n\t\tvalue,\n\t\trequired = false,\n\t\taddonIcon,\n\t\tlabelAddon,\n\t\terrorMessage,\n\t\toptions = [],\n\t\tfullWidth,\n\t\tavatarSize,\n\t\tsource,\n\t\tautoCompleteContent,\n\t\tautoCompleteReverse = false,\n\t\tnoMargin = false,\n\t\tisDisabled = false,\n\t\tisLoading = false,\n\t\tisMultiUpload = false,\n\t\tautoFocus = false,\n\t\ttheme = \"oval\",\n\t\tsize = \"medium\",\n\t\tonBlur,\n\t\tonFocus,\n\t\tonChange,\n\t\taddonAction,\n\t\tonEnter,\n\t\tonEsc,\n\t\tonFileSelect,\n\t\tonFilesSelect,\n\t\t...rest\n\t},\n\tref: any\n) {\n\tconst disabled = isDisabled || isLoading;\n\n\tconst handleKeyPress = (e: onEnterEventType) => {\n\t\tswitch (e.key) {\n\t\t\tcase \"Enter\":\n\t\t\t\tonEnter && onEnter();\n\t\t\t\tbreak;\n\n\t\t\tcase \"Escape\":\n\t\t\t\tonEsc && onEsc();\n\t\t\t\tbreak;\n\n\t\t\tdefault:\n\t\t\t\tbreak;\n\t\t}\n\t};\n\n\tconst handleFileSelect = (e: onChangeEventType) => {\n\t\t// @ts-ignore\n\t\tconst file = e.target.files[0];\n\t\tconst reader = new FileReader();\n\n\t\treader.onload = () => {\n\t\t\tonFileSelect && onFileSelect(file, reader.result as string);\n\t\t};\n\n\t\treader.readAsDataURL(file);\n\t};\n\n\tconst handleFilesSelect = (e: onChangeEventType) => {\n\t\tconst target = e.target as HTMLInputElement;\n\t\tonFilesSelect && onFilesSelect(target.files);\n\t};\n\n\tconst renderInput = () => {\n\t\tswitch (type) {\n\t\t\tcase InputType.SELECT:\n\t\t\t\treturn (\n\t\t\t\t\t<select\n\t\t\t\t\t\tclassName={styles.field}\n\t\t\t\t\t\t{...{\n\t\t\t\t\t\t\tvalue,\n\t\t\t\t\t\t\tonBlur,\n\t\t\t\t\t\t\tonFocus,\n\t\t\t\t\t\t\tonChange,\n\t\t\t\t\t\t\tref,\n\t\t\t\t\t\t\t...rest,\n\t\t\t\t\t\t}}\n\t\t\t\t\t>\n\t\t\t\t\t\t<option value=\"\">{placeholder}</option>\n\t\t\t\t\t\t{options.map(({ label, value: optionValue }) => (\n\t\t\t\t\t\t\t<option value={optionValue} key={optionValue}>\n\t\t\t\t\t\t\t\t{label}\n\t\t\t\t\t\t\t</option>\n\t\t\t\t\t\t))}\n\t\t\t\t\t</select>\n\t\t\t\t);\n\n\t\t\tcase InputType.COLOR_PICKER:\n\t\t\t\treturn (\n\t\t\t\t\t<input\n\t\t\t\t\t\tclassName={`${styles.field} ${styles.colorPicker}`}\n\t\t\t\t\t\ttype=\"color\"\n\t\t\t\t\t\t{...{ value, placeholder, onBlur, onFocus, onChange, disabled, ref, ...rest }}\n\t\t\t\t\t/>\n\t\t\t\t);\n\n\t\t\tcase InputType.TEXT_AREA:\n\t\t\t\treturn (\n\t\t\t\t\t<textarea\n\t\t\t\t\t\tclassName={styles.field}\n\t\t\t\t\t\t{...{ value, placeholder, onBlur, onFocus, onChange, autoFocus, ref, ...rest }}\n\t\t\t\t\t></textarea>\n\t\t\t\t);\n\n\t\t\tcase InputType.AVATAR_UPLOAD: {\n\t\t\t\treturn (\n\t\t\t\t\t<label htmlFor=\"avatar-upload\">\n\t\t\t\t\t\t<Avatar {...{ size: avatarSize, source, isLoading }} isEditable />\n\t\t\t\t\t\t<input\n\t\t\t\t\t\t\ttype=\"file\"\n\t\t\t\t\t\t\tname=\"avatar-upload\"\n\t\t\t\t\t\t\tid=\"avatar-upload\"\n\t\t\t\t\t\t\taccept=\"image/*\"\n\t\t\t\t\t\t\tonChange={isMultiUpload ? handleFilesSelect : handleFileSelect}\n\t\t\t\t\t\t\tref={ref}\n\t\t\t\t\t\t\tclassName={styles.avatar}\n\t\t\t\t\t\t\tdisabled={disabled}\n\t\t\t\t\t\t\tmultiple={isMultiUpload}\n\t\t\t\t\t\t/>\n\t\t\t\t\t</label>\n\t\t\t\t);\n\t\t\t}\n\n\t\t\tcase InputType.UPLOAD_IMAGE_ICON: {\n\t\t\t\treturn (\n\t\t\t\t\t<label htmlFor=\"upload-image-icon\">\n\t\t\t\t\t\t<SVGIcon icon={Image} isLoading={isLoading} size=\"md\" />\n\t\t\t\t\t\t<input\n\t\t\t\t\t\t\ttype=\"file\"\n\t\t\t\t\t\t\tname=\"upload-image-icon\"\n\t\t\t\t\t\t\tid=\"upload-image-icon\"\n\t\t\t\t\t\t\taccept=\"image/*\"\n\t\t\t\t\t\t\tonChange={isMultiUpload ? handleFilesSelect : handleFileSelect}\n\t\t\t\t\t\t\tref={ref}\n\t\t\t\t\t\t\tclassName={styles.avatar}\n\t\t\t\t\t\t\tdisabled={disabled}\n\t\t\t\t\t\t\tmultiple={isMultiUpload}\n\t\t\t\t\t\t/>\n\t\t\t\t\t</label>\n\t\t\t\t);\n\t\t\t}\n\n\t\t\tdefault:\n\t\t\t\treturn (\n\t\t\t\t\t<Fragment>\n\t\t\t\t\t\t<input\n\t\t\t\t\t\t\tclassName={styles.field}\n\t\t\t\t\t\t\t{...{\n\t\t\t\t\t\t\t\ttype,\n\t\t\t\t\t\t\t\tplaceholder,\n\t\t\t\t\t\t\t\tvalue,\n\t\t\t\t\t\t\t\tonBlur,\n\t\t\t\t\t\t\t\tonFocus,\n\t\t\t\t\t\t\t\tonChange,\n\t\t\t\t\t\t\t\tonKeyUp: handleKeyPress,\n\t\t\t\t\t\t\t\tref,\n\t\t\t\t\t\t\t\tdisabled,\n\t\t\t\t\t\t\t\tautoFocus,\n\t\t\t\t\t\t\t\t...rest,\n\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t/>\n\t\t\t\t\t\t{addonIcon && (\n\t\t\t\t\t\t\t<div\n\t\t\t\t\t\t\t\tclassName={!addonAction ? styles.addon : `${styles.addon} ${styles.pointer}`}\n\t\t\t\t\t\t\t\tonClick={addonAction}\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t<SVGIcon icon={addonIcon} isLoading={isLoading} />\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t)}\n\t\t\t\t\t</Fragment>\n\t\t\t\t);\n\t\t}\n\t};\n\n\t// fullWidth ? `${styles.input} ${styles.full}` : styles.input\n\n\treturn (\n\t\t<div\n\t\t\tclassName={classNames(\n\t\t\t\tstyles,\n\t\t\t\t{\n\t\t\t\t\tinput: true,\n\t\t\t\t\tfull: !!fullWidth,\n\t\t\t\t\tnoMargin,\n\t\t\t\t\thasAddon: !!addonIcon,\n\t\t\t\t},\n\t\t\t\t[styles[theme], styles[size]]\n\t\t\t)}\n\t\t>\n\t\t\t{label && (\n\t\t\t\t<label>\n\t\t\t\t\t<span className={required ? styles.required : \"\"}>{label}</span>\n\t\t\t\t\t{!!labelAddon && <div className={styles.labelAddon}>{labelAddon}</div>}\n\t\t\t\t</label>\n\t\t\t)}\n\t\t\t<div className={styles.container}>{renderInput()}</div>\n\t\t\t{!!errorMessage && <div className={styles.error}>{errorMessage}</div>}\n\t\t\t{!!autoCompleteContent && (\n\t\t\t\t<div\n\t\t\t\t\tclassName={classNames(styles, {\n\t\t\t\t\t\tautoCompleteContent: true,\n\t\t\t\t\t\treversed: autoCompleteReverse,\n\t\t\t\t\t})}\n\t\t\t\t>\n\t\t\t\t\t{autoCompleteContent}\n\t\t\t\t</div>\n\t\t\t)}\n\t\t</div>\n\t);\n});\nexport default Input;\n","export enum CookieBannerState {\n\tSEEN = \"seen\",\n}\n","import { useCallback, useEffect, useRef } from \"react\";\n\nexport const useClickOutside = (ref: any, callback: () => void) => {\n\tconst handleClick = (event: any) => {\n\t\tif (ref.current && !ref.current.contains(event.target)) {\n\t\t\tcallback();\n\t\t}\n\t};\n\n\tuseEffect(() => {\n\t\tdocument.addEventListener(\"click\", handleClick);\n\n\t\treturn () => {\n\t\t\tdocument.removeEventListener(\"click\", handleClick);\n\t\t};\n\t}, []);\n};\n\nexport const useClickOutsideRef = (callback: () => void) => {\n\tconst ref = useRef(null);\n\n\tconst handleClick = useCallback(\n\t\t(event: MouseEvent) => {\n\t\t\tif (ref.current && !(ref.current as any).contains(event.target)) {\n\t\t\t\tcallback();\n\t\t\t}\n\t\t},\n\t\t[callback]\n\t);\n\n\tuseEffect(() => {\n\t\tdocument.addEventListener(\"click\", handleClick);\n\t\treturn () => {\n\t\t\tdocument.removeEventListener(\"click\", handleClick);\n\t\t};\n\t}, [handleClick]);\n\n\treturn ref;\n};\n","import { CSSProperties, ReactNode, RefObject, useEffect, useState } from \"react\";\nimport ReactDOM from \"react-dom\";\n\nimport { useClickOutside } from \"src/utils/view\";\n\ninterface PortalParams {\n\tisOpen: boolean;\n\ttop: number | string;\n\tleft: number | string;\n\tbottom: number | string;\n\tright: number | string;\n}\n\ninterface Props {\n\tcontainerRef: RefObject<HTMLDivElement>;\n\tcontentRef: RefObject<HTMLDivElement>;\n\tisOpen: boolean;\n\trenderChild: (params: PortalParams) => ReactNode;\n\tonClose: () => void;\n}\n\nconst PortalAround = ({\n\tcontainerRef,\n\tcontentRef,\n\tisOpen = false,\n\trenderChild,\n\tonClose,\n}: Props) => {\n\tconst initialParams = {\n\t\tisOpen: false,\n\t\ttop: 0,\n\t\tleft: 0,\n\t\tbottom: 0,\n\t\tright: 0,\n\t};\n\n\tconst [params, setParams] = useState<PortalParams>(initialParams);\n\n\tconst style: CSSProperties = {\n\t\tposition: \"absolute\",\n\t\ttop: params.top,\n\t\tleft: params.left,\n\t\tbottom: params.bottom,\n\t\tright: params.right,\n\t\tzIndex: 111,\n\t};\n\n\tconst showContent = () => {\n\t\tconst {\n\t\t\ttop: containerTop,\n\t\t\tleft: containerLeft,\n\t\t\theight: containerHeight,\n\t\t\twidth: containerWidth,\n\t\t} = containerRef?.current?.getBoundingClientRect?.() ?? {\n\t\t\ttop: 0,\n\t\t\tleft: 0,\n\t\t\theight: 0,\n\t\t\twidth: 0,\n\t\t};\n\t\tconst { innerHeight, innerWidth } = window;\n\t\tconst spaceBelow = innerHeight - (containerTop + containerHeight);\n\t\tconst spaceAbove = containerTop;\n\t\tconst spaceLeft = containerLeft;\n\t\tconst spaceRight = innerWidth - (containerLeft + containerWidth);\n\t\tconst contentHeight = contentRef?.current?.clientHeight ?? 200;\n\t\tconst contentWidth = contentRef?.current?.clientWidth ?? 200;\n\t\tlet left: string | number = \"auto\";\n\t\tlet top: string | number = \"auto\";\n\t\tlet right: string | number = \"auto\";\n\t\tlet bottom: string | number = \"auto\";\n\n\t\t// Check space below\n\t\tif (spaceBelow < contentHeight && spaceAbove >= contentHeight) {\n\t\t\tbottom = innerHeight - containerTop - containerHeight + 20;\n\t\t} else {\n\t\t\ttop = containerTop + containerHeight + 5;\n\t\t}\n\n\t\t// Check space on the right\n\t\tif (spaceRight < contentWidth && spaceLeft >= contentWidth) {\n\t\t\tright = innerWidth - containerLeft;\n\t\t} else {\n\t\t\tleft = containerLeft;\n\t\t}\n\n\t\tconst position = { top, left, right, bottom };\n\n\t\tsetParams({\n\t\t\t...position,\n\t\t\tisOpen: true,\n\t\t});\n\t};\n\n\tconst preventPropogation = (e: any) => {\n\t\te.stopPropagation();\n\t};\n\n\tconst closeSelection = () => {\n\t\tsetParams(initialParams);\n\t\tonClose();\n\t};\n\n\tuseClickOutside(containerRef, () => closeSelection());\n\n\tuseEffect(() => {\n\t\tif (isOpen) return showContent();\n\n\t\tcloseSelection();\n\t}, [isOpen, containerRef?.current]);\n\n\tif (!params.isOpen) return null;\n\n\treturn ReactDOM.createPortal(\n\t\t<div style={style} onClick={preventPropogation}>\n\t\t\t{renderChild(params)}\n\t\t</div>,\n\t\tdocument.getElementById(\"portals\") as Element | DocumentFragment\n\t);\n};\n\nexport default PortalAround;\n","import { ReactNode, RefObject, useEffect, useRef, useState } from \"react\";\n\nimport styles from \"./DropDown.module.scss\";\n\nimport { UIElementType } from \"src/models/ui\";\nimport { classNames } from \"src/utils/styling\";\nimport { CloseDropdownRef } from \"./DropDown.types\";\n\nimport PortalAround from \"../Portal\";\n\ninterface Props {\n\taction: ReactNode;\n\tmenu: ReactNode;\n\ttype?: UIElementType;\n\tcloseRef?: RefObject<CloseDropdownRef>;\n\tactionSize?: \"medium\" | \"small\" | \"xsmall\" | \"large\";\n}\n\ninterface MenuProps {\n\tchildren: ReactNode;\n}\n\nconst DropDownMenu = ({ children }: MenuProps) => {\n\treturn <div className={styles.menu}>{children}</div>;\n};\n\nconst DropDown = ({\n\taction,\n\tmenu,\n\ttype = UIElementType.DEFAULT,\n\tcloseRef,\n\tactionSize = \"medium\",\n}: Props) => {\n\tconst containerRef = useRef<HTMLDivElement>(null);\n\tconst menuRef = useRef<HTMLDivElement>(null);\n\tconst actionRef = useRef<HTMLDivElement>(null);\n\n\tconst [isMenuOpen, setIsMenuOpen] = useState(false);\n\n\tconst toggleMenu = () => setIsMenuOpen(!isMenuOpen);\n\tconst closeMenu = () => setIsMenuOpen(false);\n\n\tuseEffect(() => {\n\t\tif (!closeRef?.current) return;\n\t\t// @ts-ignore\n\t\tcloseRef.current = {\n\t\t\tclose: () => closeMenu(),\n\t\t};\n\t}, [closeRef]);\n\n\treturn (\n\t\t<div className={styles.container} ref={containerRef}>\n\t\t\t<div\n\t\t\t\tclassName={classNames(styles, { action: true }, [styles[type], styles[actionSize]])}\n\t\t\t\tref={actionRef}\n\t\t\t\tonClick={toggleMenu}\n\t\t\t>\n\t\t\t\t{action}\n\t\t\t</div>\n\t\t\t<PortalAround\n\t\t\t\tcontainerRef={containerRef}\n\t\t\t\tcontentRef={menuRef}\n\t\t\t\tisOpen={isMenuOpen}\n\t\t\t\tonClose={closeMenu}\n\t\t\t\trenderChild={() => (\n\t\t\t\t\t<div className={styles.menuContainer} ref={menuRef}>\n\t\t\t\t\t\t<DropDownMenu>{menu}</DropDownMenu>\n\t\t\t\t\t</div>\n\t\t\t\t)}\n\t\t\t/>\n\t\t</div>\n\t);\n};\n\nexport default DropDown;\n","class Storage {\n\tprivate cookieBannerKey = `sorocraft_cookie_banner`;\n\n\tsaveCookieBannerState(value: string) {\n\t\tlocalStorage.setItem(this.cookieBannerKey, String(value));\n\t}\n\n\tgetCookieBannerState(): string | null {\n\t\treturn localStorage.getItem(this.cookieBannerKey);\n\t}\n}\n\nconst storage = new Storage();\n\nexport default storage;\n","import { useEffect, useState } from \"react\";\n\nimport styles from \"./CookieBanner.module.scss\";\n\nimport storage from \"src/utils/storage\";\n\nimport Button from \"../Button\";\nimport { CookieBannerState } from \"./CookieBanner.constants\";\n\ninterface Props {\n\tappName: string;\n}\n\nconst CookieBanner = ({ appName }: Props) => {\n\tconst [shouldShow, setShouldShow] = useState(false);\n\n\tconst closeBanner = () => {\n\t\tsetShouldShow(false);\n\t\tstorage.saveCookieBannerState(CookieBannerState.SEEN);\n\t};\n\n\tuseEffect(() => {\n\t\tconst cookieBannerState = storage.getCookieBannerState();\n\t\tsetShouldShow(cookieBannerState !== CookieBannerState.SEEN);\n\t}, []);\n\n\tif (!shouldShow) {\n\t\treturn null;\n\t}\n\n\treturn (\n\t\t<div className={styles.container}>\n\t\t\t<div className={styles.content}>\n\t\t\t\tAs {appName}, we do not use any cookies ourselves, but some of our service providers may.\n\t\t\t\tPlease check our <a href=\"/privacy\">Privacy Policy</a> page for more details.\n\t\t\t</div>\n\t\t\t<div className={styles.actions}>\n\t\t\t\t<Button label=\"Continue\" onClick={closeBanner} />\n\t\t\t</div>\n\t\t</div>\n\t);\n};\n\nexport default CookieBanner;\n","import { ReactNode } from \"react\";\n\nimport styles from \"./Container.module.scss\";\n\nimport { classNames } from \"src/utils/styling\";\n\ninterface Props {\n\tclassName?: string;\n\tnoPadding?: boolean;\n\tchildren: ReactNode;\n}\n\nconst Container = ({ className = \"\", children, noPadding = false }: Props) => {\n\treturn (\n\t\t<div\n\t\t\tclassName={classNames(\n\t\t\t\tstyles,\n\t\t\t\t{\n\t\t\t\t\tcontainer: true,\n\t\t\t\t\tnoPadding,\n\t\t\t\t},\n\t\t\t\t[className]\n\t\t\t)}\n\t\t>\n\t\t\t{children}\n\t\t</div>\n\t);\n};\n\nexport default Container;\n","import { ReactNode, useState } from \"react\";\n\nimport styles from \"./Accordion.module.scss\";\n\nimport { classNames } from \"src/utils/styling\";\n\nimport SVGIcon from \"src/components/SVGIcon\";\nimport Plus from \"src/icons/Plus\";\nimport Minus from \"src/icons/Minus\";\n\ninterface Props {\n\ttitle: string;\n\tcontent: ReactNode;\n}\nconst Accordion = ({ title, content }: Props) => {\n\tconst [isOpen, setIsOpen] = useState(false);\n\n\treturn (\n\t\t<div\n\t\t\tclassName={classNames(styles, {\n\t\t\t\tcontainer: true,\n\t\t\t\tisOpen,\n\t\t\t})}\n\t\t\tonClick={() => setIsOpen(!isOpen)}\n\t\t>\n\t\t\t<div className={styles.header}>\n\t\t\t\t<h3>{title}</h3>\n\t\t\t\t<SVGIcon icon={isOpen ? Minus : Plus} size=\"md\" />\n\t\t\t</div>\n\t\t\t<div className={styles.body}>\n\t\t\t\t<div className={styles.content}>{content}</div>\n\t\t\t</div>\n\t\t</div>\n\t);\n};\nexport default Accordion;\n","import { ReactNode, useState } from \"react\";\n\nimport styles from \"./Header.module.scss\";\n\nimport Close from \"src/icons/Close\";\nimport Menu from \"src/icons/Menu\";\n\nimport IconButton from \"../IconButton\";\nimport Container from \"../Container\";\n\ninterface Props {\n\tlogo: ReactNode;\n\tmenu?: ReactNode;\n\tactions?: ReactNode;\n}\n\nconst Header = ({ logo, menu, actions = null }: Props) => {\n\tconst [showMobileMenu, setShowMobileMenu] = useState(false);\n\n\treturn (\n\t\t<header className={styles.header}>\n\t\t\t<Container>\n\t\t\t\t<div className={styles.content}>\n\t\t\t\t\t<a href=\"/\" className={styles.logo}>\n\t\t\t\t\t\t{logo}\n\t\t\t\t\t</a>\n\t\t\t\t\t<a href=\"/\" className={styles.mobileLogo}>\n\t\t\t\t\t\t{logo}\n\t\t\t\t\t</a>\n\t\t\t\t\t{!!menu && <div className={styles.menu}>{menu}</div>}\n\t\t\t\t\t<div className={styles.actions}>\n\t\t\t\t\t\t{actions}\n\t\t\t\t\t\t{!!menu && (\n\t\t\t\t\t\t\t<div className={styles.mobileMenuIcon}>\n\t\t\t\t\t\t\t\t<IconButton\n\t\t\t\t\t\t\t\t\ticon={showMobileMenu ? Close : Menu}\n\t\t\t\t\t\t\t\t\tonClick={() => setShowMobileMenu(!showMobileMenu)}\n\t\t\t\t\t\t\t\t\tsize=\"lg\"\n\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t)}\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</Container>\n\t\t\t{showMobileMenu && <div className={styles.mobileMenu}>{menu}</div>}\n\t\t</header>\n\t);\n};\n\nexport default Header;\n","import styles from \"./Link.module.scss\";\n\nimport { classNames } from \"src/utils/styling\";\nimport { SIZE, UIElementType } from \"src/models/ui\";\nimport SVGIcon from \"src/components/SVGIcon\";\nimport { ChevronRight } from \"src/icons\";\n\ninterface Props {\n\thref: string;\n\ttitle: string;\n\ttarget?: \"_blank\" | \"_self\" | \"_parent\" | \"_top\" | \"framename\";\n\ttype?: UIElementType;\n\tpadding?: \"zero\" | SIZE;\n\thasChevron?: boolean;\n\tfullWidth?: boolean;\n}\n\nconst Link = ({\n\thref,\n\ttitle,\n\ttarget = \"_self\",\n\ttype = UIElementType.DEFAULT,\n\tpadding = \"zero\",\n\thasChevron = false,\n\tfullWidth = false,\n}: Props) => {\n\treturn (\n\t\t<a\n\t\t\thref={href}\n\t\t\ttarget={target}\n\t\t\trel=\"noopener noreferrer\"\n\t\t\tclassName={classNames(\n\t\t\t\tstyles,\n\t\t\t\t{\n\t\t\t\t\tlink: true,\n\t\t\t\t\tfullWidth,\n\t\t\t\t},\n\t\t\t\t[styles[type], styles[padding]]\n\t\t\t)}\n\t\t>\n\t\t\t<span>{title}</span> {hasChevron && <SVGIcon icon={ChevronRight} />}\n\t\t</a>\n\t);\n};\n\nexport default Link;\n","import styles from \"./ListItem.module.scss\";\n\nimport { classNames } from \"src/utils/styling\";\n\nimport Button from \"../Button\";\nimport SVGIcon from \"../SVGIcon\";\nimport { Check } from \"src/icons\";\n\ninterface Props {\n\ttitle: string;\n\tsubtitle?: string;\n\tactionTitle?: string;\n\taction?: () => void;\n\tcompleted?: boolean;\n\tindicator?: \"primary\" | \"success\" | \"danger\" | \"warning\" | \"info\";\n\thasSeparator?: boolean;\n\thasDashedSeparator?: boolean;\n\tisActionPending?: boolean;\n}\n\nconst ListItem = ({\n\ttitle,\n\tsubtitle,\n\tactionTitle = \"\",\n\taction,\n\tcompleted,\n\tindicator,\n\thasSeparator = false,\n\thasDashedSeparator = false,\n\tisActionPending = false,\n}: Props) => {\n\treturn (\n\t\t<div\n\t\t\tclassName={classNames(styles, {\n\t\t\t\tlistItem: true,\n\t\t\t\tseparator: hasSeparator,\n\t\t\t\tdashedSeparator: hasDashedSeparator,\n\t\t\t})}\n\t\t>\n\t\t\t<div className={styles.content}>\n\t\t\t\t{indicator && (\n\t\t\t\t\t<div className={classNames(styles, { indicator: true }, [styles[indicator]])}></div>\n\t\t\t\t)}\n\t\t\t\t<div className={styles.data}>\n\t\t\t\t\t<div className={styles.title}>{title}</div>\n\t\t\t\t\t{subtitle && <div className={styles.subtitle}>{subtitle}</div>}\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t\t{action && (\n\t\t\t\t<Button\n\t\t\t\t\tonClick={action}\n\t\t\t\t\tclassName={styles.action}\n\t\t\t\t\tlabel={actionTitle}\n\t\t\t\t\tisLoading={isActionPending}\n\t\t\t\t/>\n\t\t\t)}\n\t\t\t{completed && (\n\t\t\t\t<div className={styles.completed}>\n\t\t\t\t\t<SVGIcon icon={Check} />\n\t\t\t\t</div>\n\t\t\t)}\n\t\t</div>\n\t);\n};\nexport default ListItem;\n","import styles from \"./LoadingItem.module.scss\";\n\nimport { classNames } from \"src/utils/styling\";\nimport { SIZE } from \"src/models/ui\";\n\ninterface Props {\n\tshape?: \"square\";\n\tsize: SIZE;\n\twidth?: string;\n\theight?: string;\n}\n\nconst LoadingItem = ({ shape = \"square\", size = \"md\", width, height }: Props) => {\n\treturn (\n\t\t<div\n\t\t\tclassName={classNames(styles, { container: true }, [styles[shape], styles[size]])}\n\t\t\tstyle={{ width, height }}\n\t\t></div>\n\t);\n};\n\nexport default LoadingItem;\n","import { ReactNode } from \"react\";\n\nimport styles from \"./Tooltip.module.scss\";\n\ninterface Props {\n\thint: string | ReactNode;\n\tchildren: ReactNode;\n\tposition?: \"top\" | \"bottom\" | \"left\" | \"right\";\n}\n\nconst Tooltip = ({ hint, children, position = \"top\" }: Props) => {\n\treturn (\n\t\t<div className={styles.tooltip}>\n\t\t\t{!!hint && <div className={`${styles.hint} ${styles[position]}`}>{hint}</div>}\n\t\t\t{children}\n\t\t</div>\n\t);\n};\nexport default Tooltip;\n","export const isEmpty = (value: any) => {\n\t// Check for null or undefined\n\tif (value === null || value === undefined) {\n\t\treturn true;\n\t}\n\n\t// Check for objects (including arrays and functions)\n\tif (typeof value === \"object\") {\n\t\t// Handle arrays\n\t\tif (Array.isArray(value)) {\n\t\t\treturn value.length === 0;\n\t\t}\n\t\t// Handle Sets and Maps\n\t\tif (value instanceof Set || value instanceof Map) {\n\t\t\treturn value.size === 0;\n\t\t}\n\t\t// Handle normal objects\n\t\treturn Object.keys(value).length === 0;\n\t}\n\n\t// Check for strings\n\tif (typeof value === \"string\") {\n\t\treturn value.length === 0;\n\t}\n\n\t// If the value is a number, boolean, or other primitive type, it's not empty\n\treturn false;\n};\n"],"names":["classNames","styles","extraClassNames","classes","key","push","length","concat","join","SVGIcon","_a","IconComponent","icon","_b","size","_c","className","_d","isLoading","dimension","getDimension","_jsx","container","children","jsx","width","height","viewBox","preserveAspectRatio","__assign","Object","assign","t","s","i","n","arguments","p","prototype","hasOwnProperty","call","apply","this","SuppressedError","UIElementType","SvgCamera","props","_jsxs","xmlns","fill","stroke","strokeLinecap","strokeLinejoin","strokeWidth","d","SvgCheck","SvgChevronRight","SvgClose","SvgImage","SvgMenu","SvgMinus","SvgPlus","SvgUploadCloud","SvgUserCircle","Avatar","source","alt","onClick","_e","isEditable","overlayIcon","_f","inline","_g","overlayText","getImageSize","jsxs","avatar","clickable","editable","loading","style","src","image","UserCircle","editIcon","UploadCloud","Camera","overlay","InputType","Button","type","PRIMARY","label","fullWidth","disabled","needConfirm","useState","showConfirm","setShowConfirm","button","Fragment","confirm","confirmMessage","confirmActions","DANGER","SUCCESS","IconButton","DEFAULT","noPadding","confirmPosition","_h","iconButton","undefined","CookieBannerState","Input","forwardRef","ref","TEXT","placeholder","value","required","addonIcon","labelAddon","errorMessage","options","avatarSize","autoCompleteContent","autoCompleteReverse","noMargin","isDisabled","_j","isMultiUpload","_k","autoFocus","_l","theme","_m","onBlur","onFocus","onChange","addonAction","onEnter","onEsc","onFileSelect","onFilesSelect","rest","e","indexOf","getOwnPropertySymbols","propertyIsEnumerable","__rest","handleKeyPress","handleFileSelect","file","target","files","reader","FileReader","onload","result","readAsDataURL","handleFilesSelect","input","full","hasAddon","SELECT","field","map","optionValue","COLOR_PICKER","colorPicker","TEXT_AREA","AVATAR_UPLOAD","htmlFor","name","id","accept","multiple","UPLOAD_IMAGE_ICON","Image","onKeyUp","addon","pointer","renderInput","error","reversed","useClickOutside","callback","handleClick","event","current","contains","useEffect","document","addEventListener","removeEventListener","PortalAround","containerRef","contentRef","isOpen","renderChild","onClose","initialParams","top","left","bottom","right","params","setParams","position","zIndex","closeSelection","getBoundingClientRect","containerTop","containerLeft","containerHeight","containerWidth","innerHeight","window","innerWidth","spaceBelow","spaceAbove","spaceLeft","spaceRight","contentHeight","clientHeight","contentWidth","clientWidth","showContent","ReactDOM","createPortal","stopPropagation","getElementById","DropDownMenu","menu","storage","Storage","cookieBannerKey","saveCookieBannerState","localStorage","setItem","String","getCookieBannerState","getItem","Container","title","content","setIsOpen","header","Minus","Plus","body","appName","shouldShow","setShouldShow","cookieBannerState","SEEN","href","actions","action","closeRef","actionSize","useRef","menuRef","actionRef","isMenuOpen","setIsMenuOpen","closeMenu","close","menuContainer","logo","showMobileMenu","setShowMobileMenu","Close","Menu","padding","hasChevron","rel","link","ChevronRight","subtitle","actionTitle","completed","indicator","hasSeparator","hasDashedSeparator","isActionPending","listItem","separator","dashedSeparator","data","Check","shape","hint","tooltip","Array","isArray","Set","Map","keys","useCallback"],"mappings":"ukCAEaA,EAAa,SACzBC,EACAD,EACAE,QAAA,IAAAA,IAAAA,EAA8B,IAE9B,IAAIC,EAAU,GAEd,IAAK,IAAMC,KAAOJ,EACbA,EAAWI,IAAMD,EAAQE,KAAKJ,EAAOG,IAK1C,OAFIF,eAAAA,EAAiBI,QAAS,IAAGH,EAAUA,EAAQI,OAAOL,IAEnDC,EAAQK,K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