{"version":3,"file":"Notification-CwgpobPO.js","sources":["../../../node_modules/tslib/tslib.es6.mjs","../../../node_modules/react-remove-scroll-bar/dist/es2015/constants.js","../../../node_modules/use-callback-ref/dist/es2015/assignRef.js","../../../node_modules/use-callback-ref/dist/es2015/useRef.js","../../../node_modules/use-callback-ref/dist/es2015/useMergeRef.js","../../../node_modules/use-sidecar/dist/es2015/medium.js","../../../node_modules/use-sidecar/dist/es2015/exports.js","../../../node_modules/react-remove-scroll/dist/es2015/medium.js","../../../node_modules/react-remove-scroll/dist/es2015/UI.js","../../../node_modules/get-nonce/dist/es2015/index.js","../../../node_modules/react-style-singleton/dist/es2015/singleton.js","../../../node_modules/react-style-singleton/dist/es2015/hook.js","../../../node_modules/react-style-singleton/dist/es2015/component.js","../../../node_modules/react-remove-scroll-bar/dist/es2015/utils.js","../../../node_modules/react-remove-scroll-bar/dist/es2015/component.js","../../../node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js","../../../node_modules/react-remove-scroll/dist/es2015/handleScroll.js","../../../node_modules/react-remove-scroll/dist/es2015/SideEffect.js","../../../node_modules/react-remove-scroll/dist/es2015/sidecar.js","../../../node_modules/react-remove-scroll/dist/es2015/Combination.js","../../../node_modules/@mantine/core/esm/core/utils/is-element/is-element.mjs","../../../node_modules/@mantine/core/esm/core/utils/create-safe-context/create-safe-context.mjs","../../../node_modules/@mantine/core/esm/core/utils/get-default-z-index/get-default-z-index.mjs","../../../node_modules/@mantine/hooks/esm/utils/random-id/random-id.mjs","../../../node_modules/@mantine/hooks/esm/use-isomorphic-effect/use-isomorphic-effect.mjs","../../../node_modules/@mantine/hooks/esm/use-focus-return/use-focus-return.mjs","../../../node_modules/@mantine/hooks/esm/use-focus-trap/create-aria-hider.mjs","../../../node_modules/@mantine/hooks/esm/use-focus-trap/tabbable.mjs","../../../node_modules/@mantine/hooks/esm/use-focus-trap/scope-tab.mjs","../../../node_modules/@mantine/hooks/esm/use-focus-trap/use-focus-trap.mjs","../../../node_modules/@mantine/hooks/esm/use-id/use-react-id.mjs","../../../node_modules/@mantine/hooks/esm/use-id/use-id.mjs","../../../node_modules/@mantine/hooks/esm/use-window-event/use-window-event.mjs","../../../node_modules/@mantine/hooks/esm/use-merged-ref/use-merged-ref.mjs","../../../node_modules/@mantine/core/esm/components/VisuallyHidden/VisuallyHidden.module.css.mjs","../../../node_modules/@mantine/core/esm/components/VisuallyHidden/VisuallyHidden.mjs","../../../node_modules/@mantine/core/esm/components/Paper/Paper.module.css.mjs","../../../node_modules/@mantine/core/esm/components/Paper/Paper.mjs","../../../node_modules/@mantine/core/esm/components/FocusTrap/FocusTrap.mjs","../../../node_modules/@mantine/core/esm/components/Portal/Portal.mjs","../../../node_modules/@mantine/core/esm/components/Portal/OptionalPortal.mjs","../../../node_modules/@mantine/core/esm/components/ActionIcon/ActionIcon.module.css.mjs","../../../node_modules/@mantine/core/esm/components/ActionIcon/ActionIconGroup/ActionIconGroup.mjs","../../../node_modules/@mantine/core/esm/components/ActionIcon/ActionIcon.mjs","../../../node_modules/@mantine/core/esm/components/CloseButton/CloseIcon.mjs","../../../node_modules/@mantine/core/esm/components/CloseButton/CloseButton.module.css.mjs","../../../node_modules/@mantine/core/esm/components/CloseButton/CloseButton.mjs","../../../node_modules/@mantine/core/esm/components/Overlay/Overlay.module.css.mjs","../../../node_modules/@mantine/core/esm/components/Overlay/Overlay.mjs","../../../node_modules/@mantine/core/esm/components/ModalBase/ModalBase.context.mjs","../../../node_modules/@mantine/core/esm/components/ModalBase/use-lock-scroll.mjs","../../../node_modules/@mantine/core/esm/components/ModalBase/use-modal.mjs","../../../node_modules/@mantine/core/esm/components/ModalBase/ModalBase.mjs","../../../node_modules/@mantine/core/esm/components/ModalBase/use-modal-body-id.mjs","../../../node_modules/@mantine/core/esm/components/ModalBase/ModalBase.module.css.mjs","../../../node_modules/@mantine/core/esm/components/ModalBase/ModalBaseBody.mjs","../../../node_modules/@mantine/core/esm/components/ModalBase/ModalBaseCloseButton.mjs","../../../node_modules/@mantine/core/esm/components/ModalBase/ModalBaseContent.mjs","../../../node_modules/@mantine/core/esm/components/ModalBase/ModalBaseHeader.mjs","../../../node_modules/@mantine/core/esm/components/ModalBase/use-modal-transition.mjs","../../../node_modules/@mantine/core/esm/components/ModalBase/ModalBaseOverlay.mjs","../../../node_modules/@mantine/core/esm/components/ModalBase/use-modal-title-id.mjs","../../../node_modules/@mantine/core/esm/components/ModalBase/ModalBaseTitle.mjs","../../../node_modules/@mantine/core/esm/components/ModalBase/NativeScrollArea.mjs","../../../node_modules/@mantine/core/esm/components/Modal/Modal.context.mjs","../../../node_modules/@mantine/core/esm/components/Modal/Modal.module.css.mjs","../../../node_modules/@mantine/core/esm/components/Modal/ModalBody.mjs","../../../node_modules/@mantine/core/esm/components/Modal/ModalCloseButton.mjs","../../../node_modules/@mantine/core/esm/components/Modal/ModalContent.mjs","../../../node_modules/@mantine/core/esm/components/Modal/ModalHeader.mjs","../../../node_modules/@mantine/core/esm/components/Modal/ModalOverlay.mjs","../../../node_modules/@mantine/core/esm/components/Modal/ModalRoot.mjs","../../../node_modules/@mantine/core/esm/components/Modal/ModalTitle.mjs","../../../node_modules/@mantine/core/esm/components/Modal/Modal.mjs","../../../node_modules/@mantine/core/esm/components/Notification/Notification.module.css.mjs","../../../node_modules/@mantine/core/esm/components/Notification/Notification.mjs"],"sourcesContent":["/******************************************************************************\nCopyright (c) Microsoft Corporation.\n\nPermission to use, copy, modify, and/or distribute this software for any\npurpose with or without fee is hereby granted.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\nPERFORMANCE OF THIS SOFTWARE.\n***************************************************************************** */\n/* global Reflect, Promise, SuppressedError, Symbol */\n\nvar extendStatics = function(d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n};\n\nexport function __extends(d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n}\n\nexport var __assign = function() {\n __assign = Object.assign || function __assign(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\n }\n return t;\n }\n return __assign.apply(this, arguments);\n}\n\nexport function __rest(s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n}\n\nexport function __decorate(decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\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;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n}\n\nexport function __param(paramIndex, decorator) {\n return function (target, key) { decorator(target, key, paramIndex); }\n}\n\nexport function __esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {\n function accept(f) { if (f !== void 0 && typeof f !== \"function\") throw new TypeError(\"Function expected\"); return f; }\n var kind = contextIn.kind, key = kind === \"getter\" ? \"get\" : kind === \"setter\" ? \"set\" : \"value\";\n var target = !descriptorIn && ctor ? contextIn[\"static\"] ? ctor : ctor.prototype : null;\n var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});\n var _, done = false;\n for (var i = decorators.length - 1; i >= 0; i--) {\n var context = {};\n for (var p in contextIn) context[p] = p === \"access\" ? {} : contextIn[p];\n for (var p in contextIn.access) context.access[p] = contextIn.access[p];\n context.addInitializer = function (f) { if (done) throw new TypeError(\"Cannot add initializers after decoration has completed\"); extraInitializers.push(accept(f || null)); };\n var result = (0, decorators[i])(kind === \"accessor\" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);\n if (kind === \"accessor\") {\n if (result === void 0) continue;\n if (result === null || typeof result !== \"object\") throw new TypeError(\"Object expected\");\n if (_ = accept(result.get)) descriptor.get = _;\n if (_ = accept(result.set)) descriptor.set = _;\n if (_ = accept(result.init)) initializers.unshift(_);\n }\n else if (_ = accept(result)) {\n if (kind === \"field\") initializers.unshift(_);\n else descriptor[key] = _;\n }\n }\n if (target) Object.defineProperty(target, contextIn.name, descriptor);\n done = true;\n};\n\nexport function __runInitializers(thisArg, initializers, value) {\n var useValue = arguments.length > 2;\n for (var i = 0; i < initializers.length; i++) {\n value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);\n }\n return useValue ? value : void 0;\n};\n\nexport function __propKey(x) {\n return typeof x === \"symbol\" ? x : \"\".concat(x);\n};\n\nexport function __setFunctionName(f, name, prefix) {\n if (typeof name === \"symbol\") name = name.description ? \"[\".concat(name.description, \"]\") : \"\";\n return Object.defineProperty(f, \"name\", { configurable: true, value: prefix ? \"\".concat(prefix, \" \", name) : name });\n};\n\nexport function __metadata(metadataKey, metadataValue) {\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\n}\n\nexport function __awaiter(thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n}\n\nexport function __generator(thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\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;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n}\n\nexport var __createBinding = Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\n\nexport function __exportStar(m, o) {\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\n}\n\nexport function __values(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n}\n\nexport function __read(o, n) {\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n}\n\n/** @deprecated */\nexport function __spread() {\n for (var ar = [], i = 0; i < arguments.length; i++)\n ar = ar.concat(__read(arguments[i]));\n return ar;\n}\n\n/** @deprecated */\nexport function __spreadArrays() {\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\n r[k] = a[j];\n return r;\n}\n\nexport function __spreadArray(to, from, pack) {\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\n if (ar || !(i in from)) {\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\n ar[i] = from[i];\n }\n }\n return to.concat(ar || Array.prototype.slice.call(from));\n}\n\nexport function __await(v) {\n return this instanceof __await ? (this.v = v, this) : new __await(v);\n}\n\nexport function __asyncGenerator(thisArg, _arguments, generator) {\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\n function fulfill(value) { resume(\"next\", value); }\n function reject(value) { resume(\"throw\", value); }\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\n}\n\nexport function __asyncDelegator(o) {\n var i, p;\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\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; }\n}\n\nexport function __asyncValues(o) {\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\n var m = o[Symbol.asyncIterator], i;\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);\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); }); }; }\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\n}\n\nexport function __makeTemplateObject(cooked, raw) {\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\n return cooked;\n};\n\nvar __setModuleDefault = Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n};\n\nexport function __importStar(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n}\n\nexport function __importDefault(mod) {\n return (mod && mod.__esModule) ? mod : { default: mod };\n}\n\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\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\");\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\n}\n\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\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\");\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\n}\n\nexport function __classPrivateFieldIn(state, receiver) {\n if (receiver === null || (typeof receiver !== \"object\" && typeof receiver !== \"function\")) throw new TypeError(\"Cannot use 'in' operator on non-object\");\n return typeof state === \"function\" ? receiver === state : state.has(receiver);\n}\n\nexport function __addDisposableResource(env, value, async) {\n if (value !== null && value !== void 0) {\n if (typeof value !== \"object\" && typeof value !== \"function\") throw new TypeError(\"Object expected.\");\n var dispose;\n if (async) {\n if (!Symbol.asyncDispose) throw new TypeError(\"Symbol.asyncDispose is not defined.\");\n dispose = value[Symbol.asyncDispose];\n }\n if (dispose === void 0) {\n if (!Symbol.dispose) throw new TypeError(\"Symbol.dispose is not defined.\");\n dispose = value[Symbol.dispose];\n }\n if (typeof dispose !== \"function\") throw new TypeError(\"Object not disposable.\");\n env.stack.push({ value: value, dispose: dispose, async: async });\n }\n else if (async) {\n env.stack.push({ async: true });\n }\n return value;\n}\n\nvar _SuppressedError = typeof SuppressedError === \"function\" ? SuppressedError : function (error, suppressed, message) {\n var e = new Error(message);\n return e.name = \"SuppressedError\", e.error = error, e.suppressed = suppressed, e;\n};\n\nexport function __disposeResources(env) {\n function fail(e) {\n env.error = env.hasError ? new _SuppressedError(e, env.error, \"An error was suppressed during disposal.\") : e;\n env.hasError = true;\n }\n function next() {\n while (env.stack.length) {\n var rec = env.stack.pop();\n try {\n var result = rec.dispose && rec.dispose.call(rec.value);\n if (rec.async) return Promise.resolve(result).then(next, function(e) { fail(e); return next(); });\n }\n catch (e) {\n fail(e);\n }\n }\n if (env.hasError) throw env.error;\n }\n return next();\n}\n\nexport default {\n __extends,\n __assign,\n __rest,\n __decorate,\n __param,\n __metadata,\n __awaiter,\n __generator,\n __createBinding,\n __exportStar,\n __values,\n __read,\n __spread,\n __spreadArrays,\n __spreadArray,\n __await,\n __asyncGenerator,\n __asyncDelegator,\n __asyncValues,\n __makeTemplateObject,\n __importStar,\n __importDefault,\n __classPrivateFieldGet,\n __classPrivateFieldSet,\n __classPrivateFieldIn,\n __addDisposableResource,\n __disposeResources,\n};\n","export var zeroRightClassName = 'right-scroll-bar-position';\nexport var fullWidthClassName = 'width-before-scroll-bar';\nexport var noScrollbarsClassName = 'with-scroll-bars-hidden';\n/**\n * Name of a CSS variable containing the amount of \"hidden\" scrollbar\n * ! might be undefined ! use will fallback!\n */\nexport var removedBarSizeVariable = '--removed-body-scroll-bar-size';\n","/**\n * Assigns a value for a given ref, no matter of the ref format\n * @param {RefObject} ref - a callback function or ref object\n * @param value - a new value\n *\n * @see https://github.com/theKashey/use-callback-ref#assignref\n * @example\n * const refObject = useRef();\n * const refFn = (ref) => {....}\n *\n * assignRef(refObject, \"refValue\");\n * assignRef(refFn, \"refValue\");\n */\nexport function assignRef(ref, value) {\n if (typeof ref === 'function') {\n ref(value);\n }\n else if (ref) {\n ref.current = value;\n }\n return ref;\n}\n","import { useState } from 'react';\n/**\n * creates a MutableRef with ref change callback\n * @param initialValue - initial ref value\n * @param {Function} callback - a callback to run when value changes\n *\n * @example\n * const ref = useCallbackRef(0, (newValue, oldValue) => console.log(oldValue, '->', newValue);\n * ref.current = 1;\n * // prints 0 -> 1\n *\n * @see https://reactjs.org/docs/hooks-reference.html#useref\n * @see https://github.com/theKashey/use-callback-ref#usecallbackref---to-replace-reactuseref\n * @returns {MutableRefObject}\n */\nexport function useCallbackRef(initialValue, callback) {\n var ref = useState(function () { return ({\n // value\n value: initialValue,\n // last callback\n callback: callback,\n // \"memoized\" public interface\n facade: {\n get current() {\n return ref.value;\n },\n set current(value) {\n var last = ref.value;\n if (last !== value) {\n ref.value = value;\n ref.callback(value, last);\n }\n },\n },\n }); })[0];\n // update callback\n ref.callback = callback;\n return ref.facade;\n}\n","import * as React from 'react';\nimport { assignRef } from './assignRef';\nimport { useCallbackRef } from './useRef';\nvar useIsomorphicLayoutEffect = typeof window !== 'undefined' ? React.useLayoutEffect : React.useEffect;\nvar currentValues = new WeakMap();\n/**\n * Merges two or more refs together providing a single interface to set their value\n * @param {RefObject|Ref} refs\n * @returns {MutableRefObject} - a new ref, which translates all changes to {refs}\n *\n * @see {@link mergeRefs} a version without buit-in memoization\n * @see https://github.com/theKashey/use-callback-ref#usemergerefs\n * @example\n * const Component = React.forwardRef((props, ref) => {\n * const ownRef = useRef();\n * const domRef = useMergeRefs([ref, ownRef]); // 👈 merge together\n * return
...
\n * }\n */\nexport function useMergeRefs(refs, defaultValue) {\n var callbackRef = useCallbackRef(defaultValue || null, function (newValue) {\n return refs.forEach(function (ref) { return assignRef(ref, newValue); });\n });\n // handle refs changes - added or removed\n useIsomorphicLayoutEffect(function () {\n var oldValue = currentValues.get(callbackRef);\n if (oldValue) {\n var prevRefs_1 = new Set(oldValue);\n var nextRefs_1 = new Set(refs);\n var current_1 = callbackRef.current;\n prevRefs_1.forEach(function (ref) {\n if (!nextRefs_1.has(ref)) {\n assignRef(ref, null);\n }\n });\n nextRefs_1.forEach(function (ref) {\n if (!prevRefs_1.has(ref)) {\n assignRef(ref, current_1);\n }\n });\n }\n currentValues.set(callbackRef, refs);\n }, [refs]);\n return callbackRef;\n}\n","import { __assign } from \"tslib\";\nfunction ItoI(a) {\n return a;\n}\nfunction innerCreateMedium(defaults, middleware) {\n if (middleware === void 0) { middleware = ItoI; }\n var buffer = [];\n var assigned = false;\n var medium = {\n read: function () {\n if (assigned) {\n throw new Error('Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.');\n }\n if (buffer.length) {\n return buffer[buffer.length - 1];\n }\n return defaults;\n },\n useMedium: function (data) {\n var item = middleware(data, assigned);\n buffer.push(item);\n return function () {\n buffer = buffer.filter(function (x) { return x !== item; });\n };\n },\n assignSyncMedium: function (cb) {\n assigned = true;\n while (buffer.length) {\n var cbs = buffer;\n buffer = [];\n cbs.forEach(cb);\n }\n buffer = {\n push: function (x) { return cb(x); },\n filter: function () { return buffer; },\n };\n },\n assignMedium: function (cb) {\n assigned = true;\n var pendingQueue = [];\n if (buffer.length) {\n var cbs = buffer;\n buffer = [];\n cbs.forEach(cb);\n pendingQueue = buffer;\n }\n var executeQueue = function () {\n var cbs = pendingQueue;\n pendingQueue = [];\n cbs.forEach(cb);\n };\n var cycle = function () { return Promise.resolve().then(executeQueue); };\n cycle();\n buffer = {\n push: function (x) {\n pendingQueue.push(x);\n cycle();\n },\n filter: function (filter) {\n pendingQueue = pendingQueue.filter(filter);\n return buffer;\n },\n };\n },\n };\n return medium;\n}\nexport function createMedium(defaults, middleware) {\n if (middleware === void 0) { middleware = ItoI; }\n return innerCreateMedium(defaults, middleware);\n}\n// eslint-disable-next-line @typescript-eslint/ban-types\nexport function createSidecarMedium(options) {\n if (options === void 0) { options = {}; }\n var medium = innerCreateMedium(null);\n medium.options = __assign({ async: true, ssr: false }, options);\n return medium;\n}\n","import { __assign, __rest } from \"tslib\";\nimport * as React from 'react';\nvar SideCar = function (_a) {\n var sideCar = _a.sideCar, rest = __rest(_a, [\"sideCar\"]);\n if (!sideCar) {\n throw new Error('Sidecar: please provide `sideCar` property to import the right car');\n }\n var Target = sideCar.read();\n if (!Target) {\n throw new Error('Sidecar medium not found');\n }\n return React.createElement(Target, __assign({}, rest));\n};\nSideCar.isSideCarExport = true;\nexport function exportSidecar(medium, exported) {\n medium.useMedium(exported);\n return SideCar;\n}\n","import { createSidecarMedium } from 'use-sidecar';\nexport var effectCar = createSidecarMedium();\n","import { __assign, __rest } from \"tslib\";\nimport * as React from 'react';\nimport { fullWidthClassName, zeroRightClassName } from 'react-remove-scroll-bar/constants';\nimport { useMergeRefs } from 'use-callback-ref';\nimport { effectCar } from './medium';\nvar nothing = function () {\n return;\n};\n/**\n * Removes scrollbar from the page and contain the scroll within the Lock\n */\nvar RemoveScroll = React.forwardRef(function (props, parentRef) {\n var ref = React.useRef(null);\n var _a = React.useState({\n onScrollCapture: nothing,\n onWheelCapture: nothing,\n onTouchMoveCapture: nothing,\n }), callbacks = _a[0], setCallbacks = _a[1];\n var forwardProps = props.forwardProps, children = props.children, className = props.className, removeScrollBar = props.removeScrollBar, enabled = props.enabled, shards = props.shards, sideCar = props.sideCar, noIsolation = props.noIsolation, inert = props.inert, allowPinchZoom = props.allowPinchZoom, _b = props.as, Container = _b === void 0 ? 'div' : _b, gapMode = props.gapMode, rest = __rest(props, [\"forwardProps\", \"children\", \"className\", \"removeScrollBar\", \"enabled\", \"shards\", \"sideCar\", \"noIsolation\", \"inert\", \"allowPinchZoom\", \"as\", \"gapMode\"]);\n var SideCar = sideCar;\n var containerRef = useMergeRefs([ref, parentRef]);\n var containerProps = __assign(__assign({}, rest), callbacks);\n return (React.createElement(React.Fragment, null,\n enabled && (React.createElement(SideCar, { sideCar: effectCar, removeScrollBar: removeScrollBar, shards: shards, noIsolation: noIsolation, inert: inert, setCallbacks: setCallbacks, allowPinchZoom: !!allowPinchZoom, lockRef: ref, gapMode: gapMode })),\n forwardProps ? (React.cloneElement(React.Children.only(children), __assign(__assign({}, containerProps), { ref: containerRef }))) : (React.createElement(Container, __assign({}, containerProps, { className: className, ref: containerRef }), children))));\n});\nRemoveScroll.defaultProps = {\n enabled: true,\n removeScrollBar: true,\n inert: false,\n};\nRemoveScroll.classNames = {\n fullWidth: fullWidthClassName,\n zeroRight: zeroRightClassName,\n};\nexport { RemoveScroll };\n","var currentNonce;\nexport var setNonce = function (nonce) {\n currentNonce = nonce;\n};\nexport var getNonce = function () {\n if (currentNonce) {\n return currentNonce;\n }\n if (typeof __webpack_nonce__ !== 'undefined') {\n return __webpack_nonce__;\n }\n return undefined;\n};\n","import { getNonce } from 'get-nonce';\nfunction makeStyleTag() {\n if (!document)\n return null;\n var tag = document.createElement('style');\n tag.type = 'text/css';\n var nonce = getNonce();\n if (nonce) {\n tag.setAttribute('nonce', nonce);\n }\n return tag;\n}\nfunction injectStyles(tag, css) {\n // @ts-ignore\n if (tag.styleSheet) {\n // @ts-ignore\n tag.styleSheet.cssText = css;\n }\n else {\n tag.appendChild(document.createTextNode(css));\n }\n}\nfunction insertStyleTag(tag) {\n var head = document.head || document.getElementsByTagName('head')[0];\n head.appendChild(tag);\n}\nexport var stylesheetSingleton = function () {\n var counter = 0;\n var stylesheet = null;\n return {\n add: function (style) {\n if (counter == 0) {\n if ((stylesheet = makeStyleTag())) {\n injectStyles(stylesheet, style);\n insertStyleTag(stylesheet);\n }\n }\n counter++;\n },\n remove: function () {\n counter--;\n if (!counter && stylesheet) {\n stylesheet.parentNode && stylesheet.parentNode.removeChild(stylesheet);\n stylesheet = null;\n }\n },\n };\n};\n","import * as React from 'react';\nimport { stylesheetSingleton } from './singleton';\n/**\n * creates a hook to control style singleton\n * @see {@link styleSingleton} for a safer component version\n * @example\n * ```tsx\n * const useStyle = styleHookSingleton();\n * ///\n * useStyle('body { overflow: hidden}');\n */\nexport var styleHookSingleton = function () {\n var sheet = stylesheetSingleton();\n return function (styles, isDynamic) {\n React.useEffect(function () {\n sheet.add(styles);\n return function () {\n sheet.remove();\n };\n }, [styles && isDynamic]);\n };\n};\n","import { styleHookSingleton } from './hook';\n/**\n * create a Component to add styles on demand\n * - styles are added when first instance is mounted\n * - styles are removed when the last instance is unmounted\n * - changing styles in runtime does nothing unless dynamic is set. But with multiple components that can lead to the undefined behavior\n */\nexport var styleSingleton = function () {\n var useStyle = styleHookSingleton();\n var Sheet = function (_a) {\n var styles = _a.styles, dynamic = _a.dynamic;\n useStyle(styles, dynamic);\n return null;\n };\n return Sheet;\n};\n","export var zeroGap = {\n left: 0,\n top: 0,\n right: 0,\n gap: 0,\n};\nvar parse = function (x) { return parseInt(x || '', 10) || 0; };\nvar getOffset = function (gapMode) {\n var cs = window.getComputedStyle(document.body);\n var left = cs[gapMode === 'padding' ? 'paddingLeft' : 'marginLeft'];\n var top = cs[gapMode === 'padding' ? 'paddingTop' : 'marginTop'];\n var right = cs[gapMode === 'padding' ? 'paddingRight' : 'marginRight'];\n return [parse(left), parse(top), parse(right)];\n};\nexport var getGapWidth = function (gapMode) {\n if (gapMode === void 0) { gapMode = 'margin'; }\n if (typeof window === 'undefined') {\n return zeroGap;\n }\n var offsets = getOffset(gapMode);\n var documentWidth = document.documentElement.clientWidth;\n var windowWidth = window.innerWidth;\n return {\n left: offsets[0],\n top: offsets[1],\n right: offsets[2],\n gap: Math.max(0, windowWidth - documentWidth + offsets[2] - offsets[0]),\n };\n};\n","import * as React from 'react';\nimport { styleSingleton } from 'react-style-singleton';\nimport { fullWidthClassName, zeroRightClassName, noScrollbarsClassName, removedBarSizeVariable } from './constants';\nimport { getGapWidth } from './utils';\nvar Style = styleSingleton();\nexport var lockAttribute = 'data-scroll-locked';\n// important tip - once we measure scrollBar width and remove them\n// we could not repeat this operation\n// thus we are using style-singleton - only the first \"yet correct\" style will be applied.\nvar getStyles = function (_a, allowRelative, gapMode, important) {\n var left = _a.left, top = _a.top, right = _a.right, gap = _a.gap;\n if (gapMode === void 0) { gapMode = 'margin'; }\n return \"\\n .\".concat(noScrollbarsClassName, \" {\\n overflow: hidden \").concat(important, \";\\n padding-right: \").concat(gap, \"px \").concat(important, \";\\n }\\n body[\").concat(lockAttribute, \"] {\\n overflow: hidden \").concat(important, \";\\n overscroll-behavior: contain;\\n \").concat([\n allowRelative && \"position: relative \".concat(important, \";\"),\n gapMode === 'margin' &&\n \"\\n padding-left: \".concat(left, \"px;\\n padding-top: \").concat(top, \"px;\\n padding-right: \").concat(right, \"px;\\n margin-left:0;\\n margin-top:0;\\n margin-right: \").concat(gap, \"px \").concat(important, \";\\n \"),\n gapMode === 'padding' && \"padding-right: \".concat(gap, \"px \").concat(important, \";\"),\n ]\n .filter(Boolean)\n .join(''), \"\\n }\\n \\n .\").concat(zeroRightClassName, \" {\\n right: \").concat(gap, \"px \").concat(important, \";\\n }\\n \\n .\").concat(fullWidthClassName, \" {\\n margin-right: \").concat(gap, \"px \").concat(important, \";\\n }\\n \\n .\").concat(zeroRightClassName, \" .\").concat(zeroRightClassName, \" {\\n right: 0 \").concat(important, \";\\n }\\n \\n .\").concat(fullWidthClassName, \" .\").concat(fullWidthClassName, \" {\\n margin-right: 0 \").concat(important, \";\\n }\\n \\n body[\").concat(lockAttribute, \"] {\\n \").concat(removedBarSizeVariable, \": \").concat(gap, \"px;\\n }\\n\");\n};\nvar getCurrentUseCounter = function () {\n var counter = parseInt(document.body.getAttribute(lockAttribute) || '0', 10);\n return isFinite(counter) ? counter : 0;\n};\nexport var useLockAttribute = function () {\n React.useEffect(function () {\n document.body.setAttribute(lockAttribute, (getCurrentUseCounter() + 1).toString());\n return function () {\n var newCounter = getCurrentUseCounter() - 1;\n if (newCounter <= 0) {\n document.body.removeAttribute(lockAttribute);\n }\n else {\n document.body.setAttribute(lockAttribute, newCounter.toString());\n }\n };\n }, []);\n};\n/**\n * Removes page scrollbar and blocks page scroll when mounted\n */\nexport var RemoveScrollBar = function (_a) {\n var noRelative = _a.noRelative, noImportant = _a.noImportant, _b = _a.gapMode, gapMode = _b === void 0 ? 'margin' : _b;\n useLockAttribute();\n /*\n gap will be measured on every component mount\n however it will be used only by the \"first\" invocation\n due to singleton nature of d) {\n return true;\n }\n }\n current = current.parentNode;\n } while (current && current !== ownerDocument.body);\n return false;\n};\nvar getVScrollVariables = function (_a) {\n var scrollTop = _a.scrollTop, scrollHeight = _a.scrollHeight, clientHeight = _a.clientHeight;\n return [\n scrollTop,\n scrollHeight,\n clientHeight,\n ];\n};\nvar getHScrollVariables = function (_a) {\n var scrollLeft = _a.scrollLeft, scrollWidth = _a.scrollWidth, clientWidth = _a.clientWidth;\n return [\n scrollLeft,\n scrollWidth,\n clientWidth,\n ];\n};\nvar elementCouldBeScrolled = function (axis, node) {\n return axis === 'v' ? elementCouldBeVScrolled(node) : elementCouldBeHScrolled(node);\n};\nvar getScrollVariables = function (axis, node) {\n return axis === 'v' ? getVScrollVariables(node) : getHScrollVariables(node);\n};\nvar getDirectionFactor = function (axis, direction) {\n /**\n * If the element's direction is rtl (right-to-left), then scrollLeft is 0 when the scrollbar is at its rightmost position,\n * and then increasingly negative as you scroll towards the end of the content.\n * @see https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollLeft\n */\n return axis === 'h' && direction === 'rtl' ? -1 : 1;\n};\nexport var handleScroll = function (axis, endTarget, event, sourceDelta, noOverscroll) {\n var directionFactor = getDirectionFactor(axis, window.getComputedStyle(endTarget).direction);\n var delta = directionFactor * sourceDelta;\n // find scrollable target\n var target = event.target;\n var targetInLock = endTarget.contains(target);\n var shouldCancelScroll = false;\n var isDeltaPositive = delta > 0;\n var availableScroll = 0;\n var availableScrollTop = 0;\n do {\n var _a = getScrollVariables(axis, target), position = _a[0], scroll_1 = _a[1], capacity = _a[2];\n var elementScroll = scroll_1 - capacity - directionFactor * position;\n if (position || elementScroll) {\n if (elementCouldBeScrolled(axis, target)) {\n availableScroll += elementScroll;\n availableScrollTop += position;\n }\n }\n if (target instanceof ShadowRoot) {\n target = target.host;\n }\n else {\n target = target.parentNode;\n }\n } while (\n // portaled content\n (!targetInLock && target !== document.body) ||\n // self content\n (targetInLock && (endTarget.contains(target) || endTarget === target)));\n // handle epsilon around 0 (non standard zoom levels)\n if (isDeltaPositive &&\n ((noOverscroll && Math.abs(availableScroll) < 1) || (!noOverscroll && delta > availableScroll))) {\n shouldCancelScroll = true;\n }\n else if (!isDeltaPositive &&\n ((noOverscroll && Math.abs(availableScrollTop) < 1) || (!noOverscroll && -delta > availableScrollTop))) {\n shouldCancelScroll = true;\n }\n return shouldCancelScroll;\n};\n","import { __spreadArray } from \"tslib\";\nimport * as React from 'react';\nimport { RemoveScrollBar } from 'react-remove-scroll-bar';\nimport { styleSingleton } from 'react-style-singleton';\nimport { nonPassive } from './aggresiveCapture';\nimport { handleScroll, locationCouldBeScrolled } from './handleScroll';\nexport var getTouchXY = function (event) {\n return 'changedTouches' in event ? [event.changedTouches[0].clientX, event.changedTouches[0].clientY] : [0, 0];\n};\nexport var getDeltaXY = function (event) { return [event.deltaX, event.deltaY]; };\nvar extractRef = function (ref) {\n return ref && 'current' in ref ? ref.current : ref;\n};\nvar deltaCompare = function (x, y) { return x[0] === y[0] && x[1] === y[1]; };\nvar generateStyle = function (id) { return \"\\n .block-interactivity-\".concat(id, \" {pointer-events: none;}\\n .allow-interactivity-\").concat(id, \" {pointer-events: all;}\\n\"); };\nvar idCounter = 0;\nvar lockStack = [];\nexport function RemoveScrollSideCar(props) {\n var shouldPreventQueue = React.useRef([]);\n var touchStartRef = React.useRef([0, 0]);\n var activeAxis = React.useRef();\n var id = React.useState(idCounter++)[0];\n var Style = React.useState(styleSingleton)[0];\n var lastProps = React.useRef(props);\n React.useEffect(function () {\n lastProps.current = props;\n }, [props]);\n React.useEffect(function () {\n if (props.inert) {\n document.body.classList.add(\"block-interactivity-\".concat(id));\n var allow_1 = __spreadArray([props.lockRef.current], (props.shards || []).map(extractRef), true).filter(Boolean);\n allow_1.forEach(function (el) { return el.classList.add(\"allow-interactivity-\".concat(id)); });\n return function () {\n document.body.classList.remove(\"block-interactivity-\".concat(id));\n allow_1.forEach(function (el) { return el.classList.remove(\"allow-interactivity-\".concat(id)); });\n };\n }\n return;\n }, [props.inert, props.lockRef.current, props.shards]);\n var shouldCancelEvent = React.useCallback(function (event, parent) {\n if ('touches' in event && event.touches.length === 2) {\n return !lastProps.current.allowPinchZoom;\n }\n var touch = getTouchXY(event);\n var touchStart = touchStartRef.current;\n var deltaX = 'deltaX' in event ? event.deltaX : touchStart[0] - touch[0];\n var deltaY = 'deltaY' in event ? event.deltaY : touchStart[1] - touch[1];\n var currentAxis;\n var target = event.target;\n var moveDirection = Math.abs(deltaX) > Math.abs(deltaY) ? 'h' : 'v';\n // allow horizontal touch move on Range inputs. They will not cause any scroll\n if ('touches' in event && moveDirection === 'h' && target.type === 'range') {\n return false;\n }\n var canBeScrolledInMainDirection = locationCouldBeScrolled(moveDirection, target);\n if (!canBeScrolledInMainDirection) {\n return true;\n }\n if (canBeScrolledInMainDirection) {\n currentAxis = moveDirection;\n }\n else {\n currentAxis = moveDirection === 'v' ? 'h' : 'v';\n canBeScrolledInMainDirection = locationCouldBeScrolled(moveDirection, target);\n // other axis might be not scrollable\n }\n if (!canBeScrolledInMainDirection) {\n return false;\n }\n if (!activeAxis.current && 'changedTouches' in event && (deltaX || deltaY)) {\n activeAxis.current = currentAxis;\n }\n if (!currentAxis) {\n return true;\n }\n var cancelingAxis = activeAxis.current || currentAxis;\n return handleScroll(cancelingAxis, parent, event, cancelingAxis === 'h' ? deltaX : deltaY, true);\n }, []);\n var shouldPrevent = React.useCallback(function (_event) {\n var event = _event;\n if (!lockStack.length || lockStack[lockStack.length - 1] !== Style) {\n // not the last active\n return;\n }\n var delta = 'deltaY' in event ? getDeltaXY(event) : getTouchXY(event);\n var sourceEvent = shouldPreventQueue.current.filter(function (e) { return e.name === event.type && (e.target === event.target || event.target === e.shadowParent) && deltaCompare(e.delta, delta); })[0];\n // self event, and should be canceled\n if (sourceEvent && sourceEvent.should) {\n if (event.cancelable) {\n event.preventDefault();\n }\n return;\n }\n // outside or shard event\n if (!sourceEvent) {\n var shardNodes = (lastProps.current.shards || [])\n .map(extractRef)\n .filter(Boolean)\n .filter(function (node) { return node.contains(event.target); });\n var shouldStop = shardNodes.length > 0 ? shouldCancelEvent(event, shardNodes[0]) : !lastProps.current.noIsolation;\n if (shouldStop) {\n if (event.cancelable) {\n event.preventDefault();\n }\n }\n }\n }, []);\n var shouldCancel = React.useCallback(function (name, delta, target, should) {\n var event = { name: name, delta: delta, target: target, should: should, shadowParent: getOutermostShadowParent(target) };\n shouldPreventQueue.current.push(event);\n setTimeout(function () {\n shouldPreventQueue.current = shouldPreventQueue.current.filter(function (e) { return e !== event; });\n }, 1);\n }, []);\n var scrollTouchStart = React.useCallback(function (event) {\n touchStartRef.current = getTouchXY(event);\n activeAxis.current = undefined;\n }, []);\n var scrollWheel = React.useCallback(function (event) {\n shouldCancel(event.type, getDeltaXY(event), event.target, shouldCancelEvent(event, props.lockRef.current));\n }, []);\n var scrollTouchMove = React.useCallback(function (event) {\n shouldCancel(event.type, getTouchXY(event), event.target, shouldCancelEvent(event, props.lockRef.current));\n }, []);\n React.useEffect(function () {\n lockStack.push(Style);\n props.setCallbacks({\n onScrollCapture: scrollWheel,\n onWheelCapture: scrollWheel,\n onTouchMoveCapture: scrollTouchMove,\n });\n document.addEventListener('wheel', shouldPrevent, nonPassive);\n document.addEventListener('touchmove', shouldPrevent, nonPassive);\n document.addEventListener('touchstart', scrollTouchStart, nonPassive);\n return function () {\n lockStack = lockStack.filter(function (inst) { return inst !== Style; });\n document.removeEventListener('wheel', shouldPrevent, nonPassive);\n document.removeEventListener('touchmove', shouldPrevent, nonPassive);\n document.removeEventListener('touchstart', scrollTouchStart, nonPassive);\n };\n }, []);\n var removeScrollBar = props.removeScrollBar, inert = props.inert;\n return (React.createElement(React.Fragment, null,\n inert ? React.createElement(Style, { styles: generateStyle(id) }) : null,\n removeScrollBar ? React.createElement(RemoveScrollBar, { gapMode: props.gapMode }) : null));\n}\nfunction getOutermostShadowParent(node) {\n var shadowParent = null;\n while (node !== null) {\n if (node instanceof ShadowRoot) {\n shadowParent = node.host;\n node = node.host;\n }\n node = node.parentNode;\n }\n return shadowParent;\n}\n","import { exportSidecar } from 'use-sidecar';\nimport { RemoveScrollSideCar } from './SideEffect';\nimport { effectCar } from './medium';\nexport default exportSidecar(effectCar, RemoveScrollSideCar);\n","import { __assign } from \"tslib\";\nimport * as React from 'react';\nimport { RemoveScroll } from './UI';\nimport SideCar from './sidecar';\nvar ReactRemoveScroll = React.forwardRef(function (props, ref) { return (React.createElement(RemoveScroll, __assign({}, props, { ref: ref, sideCar: SideCar }))); });\nReactRemoveScroll.classNames = RemoveScroll.classNames;\nexport default ReactRemoveScroll;\n","'use client';\nimport { Fragment } from 'react';\n\nfunction isElement(value) {\n if (Array.isArray(value) || value === null) {\n return false;\n }\n if (typeof value === \"object\") {\n if (value.type === Fragment) {\n return false;\n }\n return true;\n }\n return false;\n}\n\nexport { isElement };\n//# sourceMappingURL=is-element.mjs.map\n","'use client';\nimport { jsx } from 'react/jsx-runtime';\nimport { createContext, useContext } from 'react';\n\nfunction createSafeContext(errorMessage) {\n const Context = createContext(null);\n const useSafeContext = () => {\n const ctx = useContext(Context);\n if (ctx === null) {\n throw new Error(errorMessage);\n }\n return ctx;\n };\n const Provider = ({ children, value }) => /* @__PURE__ */ jsx(Context.Provider, { value, children });\n return [Provider, useSafeContext];\n}\n\nexport { createSafeContext };\n//# sourceMappingURL=create-safe-context.mjs.map\n","'use client';\nconst elevations = {\n app: 100,\n modal: 200,\n popover: 300,\n overlay: 400,\n max: 9999\n};\nfunction getDefaultZIndex(level) {\n return elevations[level];\n}\n\nexport { getDefaultZIndex };\n//# sourceMappingURL=get-default-z-index.mjs.map\n","'use client';\nfunction randomId() {\n return `mantine-${Math.random().toString(36).slice(2, 11)}`;\n}\n\nexport { randomId };\n//# sourceMappingURL=random-id.mjs.map\n","'use client';\nimport { useLayoutEffect, useEffect } from 'react';\n\nconst useIsomorphicEffect = typeof document !== \"undefined\" ? useLayoutEffect : useEffect;\n\nexport { useIsomorphicEffect };\n//# sourceMappingURL=use-isomorphic-effect.mjs.map\n","'use client';\nimport { useRef } from 'react';\nimport { useDidUpdate } from '../use-did-update/use-did-update.mjs';\n\nfunction useFocusReturn({ opened, shouldReturnFocus = true }) {\n const lastActiveElement = useRef();\n const returnFocus = () => {\n if (lastActiveElement.current && \"focus\" in lastActiveElement.current && typeof lastActiveElement.current.focus === \"function\") {\n lastActiveElement.current?.focus({ preventScroll: true });\n }\n };\n useDidUpdate(() => {\n let timeout = -1;\n const clearFocusTimeout = (event) => {\n if (event.key === \"Tab\") {\n window.clearTimeout(timeout);\n }\n };\n document.addEventListener(\"keydown\", clearFocusTimeout);\n if (opened) {\n lastActiveElement.current = document.activeElement;\n } else if (shouldReturnFocus) {\n timeout = window.setTimeout(returnFocus, 10);\n }\n return () => {\n window.clearTimeout(timeout);\n document.removeEventListener(\"keydown\", clearFocusTimeout);\n };\n }, [opened, shouldReturnFocus]);\n return returnFocus;\n}\n\nexport { useFocusReturn };\n//# sourceMappingURL=use-focus-return.mjs.map\n","'use client';\nimport { randomId } from '../utils/random-id/random-id.mjs';\n\nfunction createAriaHider(containerNode, selector = \"body > :not(script)\") {\n const id = randomId();\n const rootNodes = Array.from(\n document.querySelectorAll(selector)\n ).map((node) => {\n if (node?.shadowRoot?.contains(containerNode) || node.contains(containerNode)) {\n return void 0;\n }\n const ariaHidden = node.getAttribute(\"aria-hidden\");\n const prevAriaHidden = node.getAttribute(\"data-hidden\");\n const prevFocusId = node.getAttribute(\"data-focus-id\");\n node.setAttribute(\"data-focus-id\", id);\n if (ariaHidden === null || ariaHidden === \"false\") {\n node.setAttribute(\"aria-hidden\", \"true\");\n } else if (!prevAriaHidden && !prevFocusId) {\n node.setAttribute(\"data-hidden\", ariaHidden);\n }\n return {\n node,\n ariaHidden: prevAriaHidden || null\n };\n });\n return () => {\n rootNodes.forEach((item) => {\n if (!item || id !== item.node.getAttribute(\"data-focus-id\")) {\n return;\n }\n if (item.ariaHidden === null) {\n item.node.removeAttribute(\"aria-hidden\");\n } else {\n item.node.setAttribute(\"aria-hidden\", item.ariaHidden);\n }\n item.node.removeAttribute(\"data-focus-id\");\n item.node.removeAttribute(\"data-hidden\");\n });\n };\n}\n\nexport { createAriaHider };\n//# sourceMappingURL=create-aria-hider.mjs.map\n","'use client';\nconst TABBABLE_NODES = /input|select|textarea|button|object/;\nconst FOCUS_SELECTOR = \"a, input, select, textarea, button, object, [tabindex]\";\nfunction hidden(element) {\n if (process.env.NODE_ENV === \"test\") {\n return false;\n }\n return element.style.display === \"none\";\n}\nfunction visible(element) {\n const isHidden = element.getAttribute(\"aria-hidden\") || element.getAttribute(\"hidden\") || element.getAttribute(\"type\") === \"hidden\";\n if (isHidden) {\n return false;\n }\n let parentElement = element;\n while (parentElement) {\n if (parentElement === document.body || parentElement.nodeType === 11) {\n break;\n }\n if (hidden(parentElement)) {\n return false;\n }\n parentElement = parentElement.parentNode;\n }\n return true;\n}\nfunction getElementTabIndex(element) {\n let tabIndex = element.getAttribute(\"tabindex\");\n if (tabIndex === null) {\n tabIndex = void 0;\n }\n return parseInt(tabIndex, 10);\n}\nfunction focusable(element) {\n const nodeName = element.nodeName.toLowerCase();\n const isTabIndexNotNaN = !Number.isNaN(getElementTabIndex(element));\n const res = (\n // @ts-expect-error function accepts any html element but if it is a button, it should not be disabled to trigger the condition\n TABBABLE_NODES.test(nodeName) && !element.disabled || (element instanceof HTMLAnchorElement ? element.href || isTabIndexNotNaN : isTabIndexNotNaN)\n );\n return res && visible(element);\n}\nfunction tabbable(element) {\n const tabIndex = getElementTabIndex(element);\n const isTabIndexNaN = Number.isNaN(tabIndex);\n return (isTabIndexNaN || tabIndex >= 0) && focusable(element);\n}\nfunction findTabbableDescendants(element) {\n return Array.from(element.querySelectorAll(FOCUS_SELECTOR)).filter(tabbable);\n}\n\nexport { FOCUS_SELECTOR, findTabbableDescendants, focusable, tabbable };\n//# sourceMappingURL=tabbable.mjs.map\n","'use client';\nimport { findTabbableDescendants } from './tabbable.mjs';\n\nfunction scopeTab(node, event) {\n const tabbable = findTabbableDescendants(node);\n if (!tabbable.length) {\n event.preventDefault();\n return;\n }\n const finalTabbable = tabbable[event.shiftKey ? 0 : tabbable.length - 1];\n const root = node.getRootNode();\n let leavingFinalTabbable = finalTabbable === root.activeElement || node === root.activeElement;\n const activeElement = root.activeElement;\n const activeElementIsRadio = activeElement.tagName === \"INPUT\" && activeElement.getAttribute(\"type\") === \"radio\";\n if (activeElementIsRadio) {\n const activeRadioGroup = tabbable.filter(\n (element) => element.getAttribute(\"type\") === \"radio\" && element.getAttribute(\"name\") === activeElement.getAttribute(\"name\")\n );\n leavingFinalTabbable = activeRadioGroup.includes(finalTabbable);\n }\n if (!leavingFinalTabbable) {\n return;\n }\n event.preventDefault();\n const target = tabbable[event.shiftKey ? tabbable.length - 1 : 0];\n if (target) {\n target.focus();\n }\n}\n\nexport { scopeTab };\n//# sourceMappingURL=scope-tab.mjs.map\n","'use client';\nimport { useRef, useCallback, useEffect } from 'react';\nimport { createAriaHider } from './create-aria-hider.mjs';\nimport { scopeTab } from './scope-tab.mjs';\nimport { FOCUS_SELECTOR, tabbable, focusable } from './tabbable.mjs';\n\nfunction useFocusTrap(active = true) {\n const ref = useRef();\n const restoreAria = useRef(null);\n const focusNode = (node) => {\n let focusElement = node.querySelector(\"[data-autofocus]\");\n if (!focusElement) {\n const children = Array.from(node.querySelectorAll(FOCUS_SELECTOR));\n focusElement = children.find(tabbable) || children.find(focusable) || null;\n if (!focusElement && focusable(node))\n focusElement = node;\n }\n if (focusElement) {\n focusElement.focus({ preventScroll: true });\n } else if (process.env.NODE_ENV === \"development\") {\n console.warn(\n \"[@mantine/hooks/use-focus-trap] Failed to find focusable element within provided node\",\n node\n );\n }\n };\n const setRef = useCallback(\n (node) => {\n if (!active) {\n return;\n }\n if (node === null) {\n if (restoreAria.current) {\n restoreAria.current();\n restoreAria.current = null;\n }\n return;\n }\n restoreAria.current = createAriaHider(node);\n if (ref.current === node) {\n return;\n }\n if (node) {\n setTimeout(() => {\n if (node.getRootNode()) {\n focusNode(node);\n } else if (process.env.NODE_ENV === \"development\") {\n console.warn(\"[@mantine/hooks/use-focus-trap] Ref node is not part of the dom\", node);\n }\n });\n ref.current = node;\n } else {\n ref.current = null;\n }\n },\n [active]\n );\n useEffect(() => {\n if (!active) {\n return void 0;\n }\n ref.current && setTimeout(() => focusNode(ref.current));\n const handleKeyDown = (event) => {\n if (event.key === \"Tab\" && ref.current) {\n scopeTab(ref.current, event);\n }\n };\n document.addEventListener(\"keydown\", handleKeyDown);\n return () => {\n document.removeEventListener(\"keydown\", handleKeyDown);\n if (restoreAria.current) {\n restoreAria.current();\n }\n };\n }, [active]);\n return setRef;\n}\n\nexport { useFocusTrap };\n//# sourceMappingURL=use-focus-trap.mjs.map\n","'use client';\nimport React from 'react';\n\nconst __useId = React[\"useId\".toString()] || (() => void 0);\nfunction useReactId() {\n const id = __useId();\n return id ? `mantine-${id.replace(/:/g, \"\")}` : \"\";\n}\n\nexport { useReactId };\n//# sourceMappingURL=use-react-id.mjs.map\n","'use client';\nimport { useState } from 'react';\nimport { useIsomorphicEffect } from '../use-isomorphic-effect/use-isomorphic-effect.mjs';\nimport { randomId } from '../utils/random-id/random-id.mjs';\nimport { useReactId } from './use-react-id.mjs';\n\nfunction useId(staticId) {\n const reactId = useReactId();\n const [uuid, setUuid] = useState(reactId);\n useIsomorphicEffect(() => {\n setUuid(randomId());\n }, []);\n if (typeof staticId === \"string\") {\n return staticId;\n }\n if (typeof window === \"undefined\") {\n return reactId;\n }\n return uuid;\n}\n\nexport { useId };\n//# sourceMappingURL=use-id.mjs.map\n","'use client';\nimport { useEffect } from 'react';\n\nfunction useWindowEvent(type, listener, options) {\n useEffect(() => {\n window.addEventListener(type, listener, options);\n return () => window.removeEventListener(type, listener, options);\n }, [type, listener]);\n}\n\nexport { useWindowEvent };\n//# sourceMappingURL=use-window-event.mjs.map\n","'use client';\nimport { useCallback } from 'react';\n\nfunction assignRef(ref, value) {\n if (typeof ref === \"function\") {\n ref(value);\n } else if (typeof ref === \"object\" && ref !== null && \"current\" in ref) {\n ref.current = value;\n }\n}\nfunction mergeRefs(...refs) {\n return (node) => {\n refs.forEach((ref) => assignRef(ref, node));\n };\n}\nfunction useMergedRef(...refs) {\n return useCallback(mergeRefs(...refs), refs);\n}\n\nexport { assignRef, mergeRefs, useMergedRef };\n//# sourceMappingURL=use-merged-ref.mjs.map\n","'use client';\nvar classes = {\"root\":\"m_515a97f8\"};\n\nexport { classes as default };\n//# sourceMappingURL=VisuallyHidden.module.css.mjs.map\n","'use client';\nimport { jsx } from 'react/jsx-runtime';\nimport 'react';\nimport '@mantine/hooks';\nimport 'clsx';\nimport '../../core/MantineProvider/Mantine.context.mjs';\nimport '../../core/MantineProvider/default-theme.mjs';\nimport '../../core/MantineProvider/MantineProvider.mjs';\nimport '../../core/MantineProvider/MantineThemeProvider/MantineThemeProvider.mjs';\nimport { useProps } from '../../core/MantineProvider/use-props/use-props.mjs';\nimport '../../core/MantineProvider/MantineCssVariables/MantineCssVariables.mjs';\nimport { useStyles } from '../../core/styles-api/use-styles/use-styles.mjs';\nimport { Box } from '../../core/Box/Box.mjs';\nimport { factory } from '../../core/factory/factory.mjs';\nimport '../../core/DirectionProvider/DirectionProvider.mjs';\nimport classes from './VisuallyHidden.module.css.mjs';\n\nconst defaultProps = {};\nconst VisuallyHidden = factory((_props, ref) => {\n const props = useProps(\"VisuallyHidden\", defaultProps, _props);\n const { classNames, className, style, styles, unstyled, vars, ...others } = props;\n const getStyles = useStyles({\n name: \"VisuallyHidden\",\n classes,\n props,\n className,\n style,\n classNames,\n styles,\n unstyled\n });\n return /* @__PURE__ */ jsx(Box, { component: \"span\", ref, ...getStyles(\"root\"), ...others });\n});\nVisuallyHidden.classes = classes;\nVisuallyHidden.displayName = \"@mantine/core/VisuallyHidden\";\n\nexport { VisuallyHidden };\n//# sourceMappingURL=VisuallyHidden.mjs.map\n","'use client';\nvar classes = {\"root\":\"m_1b7284a3\"};\n\nexport { classes as default };\n//# sourceMappingURL=Paper.module.css.mjs.map\n","'use client';\nimport { jsx } from 'react/jsx-runtime';\nimport 'react';\nimport { getRadius, getShadow } from '../../core/utils/get-size/get-size.mjs';\nimport '@mantine/hooks';\nimport { createVarsResolver } from '../../core/styles-api/create-vars-resolver/create-vars-resolver.mjs';\nimport 'clsx';\nimport '../../core/MantineProvider/Mantine.context.mjs';\nimport '../../core/MantineProvider/default-theme.mjs';\nimport '../../core/MantineProvider/MantineProvider.mjs';\nimport '../../core/MantineProvider/MantineThemeProvider/MantineThemeProvider.mjs';\nimport { useProps } from '../../core/MantineProvider/use-props/use-props.mjs';\nimport '../../core/MantineProvider/MantineCssVariables/MantineCssVariables.mjs';\nimport { useStyles } from '../../core/styles-api/use-styles/use-styles.mjs';\nimport { Box } from '../../core/Box/Box.mjs';\nimport { polymorphicFactory } from '../../core/factory/polymorphic-factory.mjs';\nimport '../../core/DirectionProvider/DirectionProvider.mjs';\nimport classes from './Paper.module.css.mjs';\n\nconst defaultProps = {};\nconst varsResolver = createVarsResolver((_, { radius, shadow }) => ({\n root: {\n \"--paper-radius\": radius === void 0 ? void 0 : getRadius(radius),\n \"--paper-shadow\": getShadow(shadow)\n }\n}));\nconst Paper = polymorphicFactory((_props, ref) => {\n const props = useProps(\"Paper\", defaultProps, _props);\n const {\n classNames,\n className,\n style,\n styles,\n unstyled,\n withBorder,\n vars,\n radius,\n shadow,\n variant,\n mod,\n ...others\n } = props;\n const getStyles = useStyles({\n name: \"Paper\",\n props,\n classes,\n className,\n style,\n classNames,\n styles,\n unstyled,\n vars,\n varsResolver\n });\n return /* @__PURE__ */ jsx(\n Box,\n {\n ref,\n mod: [{ \"data-with-border\": withBorder }, mod],\n ...getStyles(\"root\"),\n variant,\n ...others\n }\n );\n});\nPaper.classes = classes;\nPaper.displayName = \"@mantine/core/Paper\";\n\nexport { Paper };\n//# sourceMappingURL=Paper.mjs.map\n","'use client';\nimport { jsx } from 'react/jsx-runtime';\nimport { cloneElement } from 'react';\nimport { useFocusTrap, useMergedRef } from '@mantine/hooks';\nimport { isElement } from '../../core/utils/is-element/is-element.mjs';\nimport 'clsx';\nimport '../../core/MantineProvider/Mantine.context.mjs';\nimport '../../core/MantineProvider/default-theme.mjs';\nimport '../../core/MantineProvider/MantineProvider.mjs';\nimport '../../core/MantineProvider/MantineThemeProvider/MantineThemeProvider.mjs';\nimport '../../core/MantineProvider/MantineCssVariables/MantineCssVariables.mjs';\nimport '../../core/Box/Box.mjs';\nimport '../../core/DirectionProvider/DirectionProvider.mjs';\nimport { VisuallyHidden } from '../VisuallyHidden/VisuallyHidden.mjs';\n\nfunction FocusTrap({\n children,\n active = true,\n refProp = \"ref\"\n}) {\n const focusTrapRef = useFocusTrap(active);\n const ref = useMergedRef(focusTrapRef, children?.ref);\n if (!isElement(children)) {\n return children;\n }\n return cloneElement(children, { [refProp]: ref });\n}\nfunction FocusTrapInitialFocus(props) {\n return /* @__PURE__ */ jsx(VisuallyHidden, { tabIndex: -1, \"data-autofocus\": true, ...props });\n}\nFocusTrap.displayName = \"@mantine/core/FocusTrap\";\nFocusTrapInitialFocus.displayName = \"@mantine/core/FocusTrapInitialFocus\";\nFocusTrap.InitialFocus = FocusTrapInitialFocus;\n\nexport { FocusTrap, FocusTrapInitialFocus };\n//# sourceMappingURL=FocusTrap.mjs.map\n","'use client';\nimport { jsx, Fragment } from 'react/jsx-runtime';\nimport { forwardRef, useState, useRef } from 'react';\nimport { createPortal } from 'react-dom';\nimport { useIsomorphicEffect, assignRef } from '@mantine/hooks';\nimport 'clsx';\nimport '../../core/MantineProvider/Mantine.context.mjs';\nimport '../../core/MantineProvider/default-theme.mjs';\nimport '../../core/MantineProvider/MantineProvider.mjs';\nimport '../../core/MantineProvider/MantineThemeProvider/MantineThemeProvider.mjs';\nimport { useProps } from '../../core/MantineProvider/use-props/use-props.mjs';\nimport '../../core/MantineProvider/MantineCssVariables/MantineCssVariables.mjs';\nimport '../../core/Box/Box.mjs';\nimport '../../core/DirectionProvider/DirectionProvider.mjs';\n\nfunction createPortalNode(props) {\n const node = document.createElement(\"div\");\n node.setAttribute(\"data-portal\", \"true\");\n typeof props.className === \"string\" && node.classList.add(...props.className.split(\" \").filter(Boolean));\n typeof props.style === \"object\" && Object.assign(node.style, props.style);\n typeof props.id === \"string\" && node.setAttribute(\"id\", props.id);\n return node;\n}\nconst defaultProps = {};\nconst Portal = forwardRef((props, ref) => {\n const { children, target, ...others } = useProps(\"Portal\", defaultProps, props);\n const [mounted, setMounted] = useState(false);\n const nodeRef = useRef(null);\n useIsomorphicEffect(() => {\n setMounted(true);\n nodeRef.current = !target ? createPortalNode(others) : typeof target === \"string\" ? document.querySelector(target) : target;\n assignRef(ref, nodeRef.current);\n if (!target && nodeRef.current) {\n document.body.appendChild(nodeRef.current);\n }\n return () => {\n if (!target && nodeRef.current) {\n document.body.removeChild(nodeRef.current);\n }\n };\n }, [target]);\n if (!mounted || !nodeRef.current) {\n return null;\n }\n return createPortal(/* @__PURE__ */ jsx(Fragment, { children }), nodeRef.current);\n});\nPortal.displayName = \"@mantine/core/Portal\";\n\nexport { Portal };\n//# sourceMappingURL=Portal.mjs.map\n","'use client';\nimport { jsx, Fragment } from 'react/jsx-runtime';\nimport { Portal } from './Portal.mjs';\n\nfunction OptionalPortal({ withinPortal = true, children, ...others }) {\n if (withinPortal) {\n return /* @__PURE__ */ jsx(Portal, { ...others, children });\n }\n return /* @__PURE__ */ jsx(Fragment, { children });\n}\nOptionalPortal.displayName = \"@mantine/core/OptionalPortal\";\n\nexport { OptionalPortal };\n//# sourceMappingURL=OptionalPortal.mjs.map\n","'use client';\nvar classes = {\"root\":\"m_8d3f4000\",\"icon\":\"m_8d3afb97\",\"loader\":\"m_302b9fb1\",\"group\":\"m_1a0f1b21\"};\n\nexport { classes as default };\n//# sourceMappingURL=ActionIcon.module.css.mjs.map\n","'use client';\nimport { jsx } from 'react/jsx-runtime';\nimport { rem } from '../../../core/utils/units-converters/rem.mjs';\nimport 'react';\nimport '@mantine/hooks';\nimport { createVarsResolver } from '../../../core/styles-api/create-vars-resolver/create-vars-resolver.mjs';\nimport 'clsx';\nimport '../../../core/MantineProvider/Mantine.context.mjs';\nimport '../../../core/MantineProvider/default-theme.mjs';\nimport '../../../core/MantineProvider/MantineProvider.mjs';\nimport '../../../core/MantineProvider/MantineThemeProvider/MantineThemeProvider.mjs';\nimport { useProps } from '../../../core/MantineProvider/use-props/use-props.mjs';\nimport '../../../core/MantineProvider/MantineCssVariables/MantineCssVariables.mjs';\nimport { useStyles } from '../../../core/styles-api/use-styles/use-styles.mjs';\nimport { Box } from '../../../core/Box/Box.mjs';\nimport { factory } from '../../../core/factory/factory.mjs';\nimport '../../../core/DirectionProvider/DirectionProvider.mjs';\nimport classes from '../ActionIcon.module.css.mjs';\n\nconst defaultProps = {\n orientation: \"horizontal\"\n};\nconst varsResolver = createVarsResolver((_, { borderWidth }) => ({\n group: { \"--ai-border-width\": rem(borderWidth) }\n}));\nconst ActionIconGroup = factory((_props, ref) => {\n const props = useProps(\"ActionIconGroup\", defaultProps, _props);\n const {\n className,\n style,\n classNames,\n styles,\n unstyled,\n orientation,\n vars,\n borderWidth,\n variant,\n mod,\n ...others\n } = useProps(\"ActionIconGroup\", defaultProps, _props);\n const getStyles = useStyles({\n name: \"ActionIconGroup\",\n props,\n classes,\n className,\n style,\n classNames,\n styles,\n unstyled,\n vars,\n varsResolver,\n rootSelector: \"group\"\n });\n return /* @__PURE__ */ jsx(\n Box,\n {\n ...getStyles(\"group\"),\n ref,\n variant,\n mod: [{ \"data-orientation\": orientation }, mod],\n role: \"group\",\n ...others\n }\n );\n});\nActionIconGroup.classes = classes;\nActionIconGroup.displayName = \"@mantine/core/ActionIconGroup\";\n\nexport { ActionIconGroup };\n//# sourceMappingURL=ActionIconGroup.mjs.map\n","'use client';\nimport { jsxs, jsx } from 'react/jsx-runtime';\nimport 'react';\nimport { getSize, getRadius } from '../../core/utils/get-size/get-size.mjs';\nimport '@mantine/hooks';\nimport { createVarsResolver } from '../../core/styles-api/create-vars-resolver/create-vars-resolver.mjs';\nimport 'clsx';\nimport '../../core/MantineProvider/Mantine.context.mjs';\nimport '../../core/MantineProvider/default-theme.mjs';\nimport '../../core/MantineProvider/MantineProvider.mjs';\nimport '../../core/MantineProvider/MantineThemeProvider/MantineThemeProvider.mjs';\nimport { useProps } from '../../core/MantineProvider/use-props/use-props.mjs';\nimport '../../core/MantineProvider/MantineCssVariables/MantineCssVariables.mjs';\nimport { useStyles } from '../../core/styles-api/use-styles/use-styles.mjs';\nimport { Box } from '../../core/Box/Box.mjs';\nimport { polymorphicFactory } from '../../core/factory/polymorphic-factory.mjs';\nimport '../../core/DirectionProvider/DirectionProvider.mjs';\nimport { Loader } from '../Loader/Loader.mjs';\nimport '../Transition/transitions.mjs';\nimport { Transition } from '../Transition/Transition.mjs';\nimport { UnstyledButton } from '../UnstyledButton/UnstyledButton.mjs';\nimport { ActionIconGroup } from './ActionIconGroup/ActionIconGroup.mjs';\nimport classes from './ActionIcon.module.css.mjs';\n\nconst defaultProps = {};\nconst varsResolver = createVarsResolver(\n (theme, { size, radius, variant, gradient, color, autoContrast }) => {\n const colors = theme.variantColorResolver({\n color: color || theme.primaryColor,\n theme,\n gradient,\n variant: variant || \"filled\",\n autoContrast\n });\n return {\n root: {\n \"--ai-size\": getSize(size, \"ai-size\"),\n \"--ai-radius\": radius === void 0 ? void 0 : getRadius(radius),\n \"--ai-bg\": color || variant ? colors.background : void 0,\n \"--ai-hover\": color || variant ? colors.hover : void 0,\n \"--ai-hover-color\": color || variant ? colors.hoverColor : void 0,\n \"--ai-color\": colors.color,\n \"--ai-bd\": color || variant ? colors.border : void 0\n }\n };\n }\n);\nconst ActionIcon = polymorphicFactory((_props, ref) => {\n const props = useProps(\"ActionIcon\", defaultProps, _props);\n const {\n className,\n unstyled,\n variant,\n classNames,\n styles,\n style,\n loading,\n loaderProps,\n size,\n color,\n radius,\n __staticSelector,\n gradient,\n vars,\n children,\n disabled,\n \"data-disabled\": dataDisabled,\n autoContrast,\n mod,\n ...others\n } = props;\n const getStyles = useStyles({\n name: [\"ActionIcon\", __staticSelector],\n props,\n className,\n style,\n classes,\n classNames,\n styles,\n unstyled,\n vars,\n varsResolver\n });\n return /* @__PURE__ */ jsxs(\n UnstyledButton,\n {\n ...getStyles(\"root\", { active: !disabled && !loading && !dataDisabled }),\n ...others,\n unstyled,\n variant,\n size,\n disabled: disabled || loading,\n ref,\n mod: [{ loading, disabled: disabled || dataDisabled }, mod],\n children: [\n /* @__PURE__ */ jsx(Transition, { mounted: !!loading, transition: \"slide-down\", duration: 150, children: (transitionStyles) => /* @__PURE__ */ jsx(Box, { component: \"span\", ...getStyles(\"loader\", { style: transitionStyles }), \"aria-hidden\": true, children: /* @__PURE__ */ jsx(Loader, { color: \"var(--ai-color)\", size: \"calc(var(--ai-size) * 0.55)\", ...loaderProps }) }) }),\n /* @__PURE__ */ jsx(Box, { component: \"span\", mod: { loading }, ...getStyles(\"icon\"), children })\n ]\n }\n );\n});\nActionIcon.classes = classes;\nActionIcon.displayName = \"@mantine/core/ActionIcon\";\nActionIcon.Group = ActionIconGroup;\n\nexport { ActionIcon };\n//# sourceMappingURL=ActionIcon.mjs.map\n","'use client';\nimport { jsx } from 'react/jsx-runtime';\nimport { forwardRef } from 'react';\n\nconst CloseIcon = forwardRef(\n ({ size = \"var(--cb-icon-size, 70%)\", style, ...others }, ref) => /* @__PURE__ */ jsx(\n \"svg\",\n {\n viewBox: \"0 0 15 15\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\",\n style: { ...style, width: size, height: size },\n ref,\n ...others,\n children: /* @__PURE__ */ jsx(\n \"path\",\n {\n d: \"M11.7816 4.03157C12.0062 3.80702 12.0062 3.44295 11.7816 3.2184C11.5571 2.99385 11.193 2.99385 10.9685 3.2184L7.50005 6.68682L4.03164 3.2184C3.80708 2.99385 3.44301 2.99385 3.21846 3.2184C2.99391 3.44295 2.99391 3.80702 3.21846 4.03157L6.68688 7.49999L3.21846 10.9684C2.99391 11.193 2.99391 11.557 3.21846 11.7816C3.44301 12.0061 3.80708 12.0061 4.03164 11.7816L7.50005 8.31316L10.9685 11.7816C11.193 12.0061 11.5571 12.0061 11.7816 11.7816C12.0062 11.557 12.0062 11.193 11.7816 10.9684L8.31322 7.49999L11.7816 4.03157Z\",\n fill: \"currentColor\",\n fillRule: \"evenodd\",\n clipRule: \"evenodd\"\n }\n )\n }\n )\n);\nCloseIcon.displayName = \"@mantine/core/CloseIcon\";\n\nexport { CloseIcon };\n//# sourceMappingURL=CloseIcon.mjs.map\n","'use client';\nvar classes = {\"root\":\"m_86a44da5\",\"root--subtle\":\"m_220c80f2\"};\n\nexport { classes as default };\n//# sourceMappingURL=CloseButton.module.css.mjs.map\n","'use client';\nimport { jsxs, jsx } from 'react/jsx-runtime';\nimport { rem } from '../../core/utils/units-converters/rem.mjs';\nimport 'react';\nimport { getSize, getRadius } from '../../core/utils/get-size/get-size.mjs';\nimport '@mantine/hooks';\nimport { createVarsResolver } from '../../core/styles-api/create-vars-resolver/create-vars-resolver.mjs';\nimport 'clsx';\nimport '../../core/MantineProvider/Mantine.context.mjs';\nimport '../../core/MantineProvider/default-theme.mjs';\nimport '../../core/MantineProvider/MantineProvider.mjs';\nimport '../../core/MantineProvider/MantineThemeProvider/MantineThemeProvider.mjs';\nimport { useProps } from '../../core/MantineProvider/use-props/use-props.mjs';\nimport '../../core/MantineProvider/MantineCssVariables/MantineCssVariables.mjs';\nimport { useStyles } from '../../core/styles-api/use-styles/use-styles.mjs';\nimport '../../core/Box/Box.mjs';\nimport { polymorphicFactory } from '../../core/factory/polymorphic-factory.mjs';\nimport '../../core/DirectionProvider/DirectionProvider.mjs';\nimport { UnstyledButton } from '../UnstyledButton/UnstyledButton.mjs';\nimport { CloseIcon } from './CloseIcon.mjs';\nimport classes from './CloseButton.module.css.mjs';\n\nconst defaultProps = {\n variant: \"subtle\"\n};\nconst varsResolver = createVarsResolver((_, { size, radius, iconSize }) => ({\n root: {\n \"--cb-size\": getSize(size, \"cb-size\"),\n \"--cb-radius\": radius === void 0 ? void 0 : getRadius(radius),\n \"--cb-icon-size\": rem(iconSize)\n }\n}));\nconst CloseButton = polymorphicFactory((_props, ref) => {\n const props = useProps(\"CloseButton\", defaultProps, _props);\n const {\n iconSize,\n children,\n vars,\n radius,\n className,\n classNames,\n style,\n styles,\n unstyled,\n \"data-disabled\": dataDisabled,\n disabled,\n variant,\n icon,\n mod,\n ...others\n } = props;\n const getStyles = useStyles({\n name: \"CloseButton\",\n props,\n className,\n style,\n classes,\n classNames,\n styles,\n unstyled,\n vars,\n varsResolver\n });\n return /* @__PURE__ */ jsxs(\n UnstyledButton,\n {\n ref,\n ...others,\n unstyled,\n variant,\n disabled,\n mod: [{ disabled: disabled || dataDisabled }, mod],\n ...getStyles(\"root\", { variant, active: !disabled && !dataDisabled }),\n children: [\n icon || /* @__PURE__ */ jsx(CloseIcon, {}),\n children\n ]\n }\n );\n});\nCloseButton.classes = classes;\nCloseButton.displayName = \"@mantine/core/CloseButton\";\n\nexport { CloseButton };\n//# sourceMappingURL=CloseButton.mjs.map\n","'use client';\nvar classes = {\"root\":\"m_9814e45f\"};\n\nexport { classes as default };\n//# sourceMappingURL=Overlay.module.css.mjs.map\n","'use client';\nimport { jsx } from 'react/jsx-runtime';\nimport { rem } from '../../core/utils/units-converters/rem.mjs';\nimport 'react';\nimport { getDefaultZIndex } from '../../core/utils/get-default-z-index/get-default-z-index.mjs';\nimport { getRadius } from '../../core/utils/get-size/get-size.mjs';\nimport '@mantine/hooks';\nimport { createVarsResolver } from '../../core/styles-api/create-vars-resolver/create-vars-resolver.mjs';\nimport 'clsx';\nimport { rgba } from '../../core/MantineProvider/color-functions/rgba/rgba.mjs';\nimport '../../core/MantineProvider/Mantine.context.mjs';\nimport '../../core/MantineProvider/default-theme.mjs';\nimport '../../core/MantineProvider/MantineProvider.mjs';\nimport '../../core/MantineProvider/MantineThemeProvider/MantineThemeProvider.mjs';\nimport { useProps } from '../../core/MantineProvider/use-props/use-props.mjs';\nimport '../../core/MantineProvider/MantineCssVariables/MantineCssVariables.mjs';\nimport { useStyles } from '../../core/styles-api/use-styles/use-styles.mjs';\nimport { Box } from '../../core/Box/Box.mjs';\nimport { polymorphicFactory } from '../../core/factory/polymorphic-factory.mjs';\nimport '../../core/DirectionProvider/DirectionProvider.mjs';\nimport classes from './Overlay.module.css.mjs';\n\nconst defaultProps = {\n zIndex: getDefaultZIndex(\"modal\")\n};\nconst varsResolver = createVarsResolver(\n (_, { gradient, color, backgroundOpacity, blur, radius, zIndex }) => ({\n root: {\n \"--overlay-bg\": gradient || (color !== void 0 || backgroundOpacity !== void 0) && rgba(color || \"#000\", backgroundOpacity ?? 0.6) || void 0,\n \"--overlay-filter\": blur ? `blur(${rem(blur)})` : void 0,\n \"--overlay-radius\": radius === void 0 ? void 0 : getRadius(radius),\n \"--overlay-z-index\": zIndex?.toString()\n }\n })\n);\nconst Overlay = polymorphicFactory((_props, ref) => {\n const props = useProps(\"Overlay\", defaultProps, _props);\n const {\n classNames,\n className,\n style,\n styles,\n unstyled,\n vars,\n fixed,\n center,\n children,\n radius,\n zIndex,\n gradient,\n blur,\n color,\n backgroundOpacity,\n mod,\n ...others\n } = props;\n const getStyles = useStyles({\n name: \"Overlay\",\n props,\n classes,\n className,\n style,\n classNames,\n styles,\n unstyled,\n vars,\n varsResolver\n });\n return /* @__PURE__ */ jsx(Box, { ref, ...getStyles(\"root\"), mod: [{ center, fixed }, mod], ...others, children });\n});\nOverlay.classes = classes;\nOverlay.displayName = \"@mantine/core/Overlay\";\n\nexport { Overlay };\n//# sourceMappingURL=Overlay.mjs.map\n","'use client';\nimport 'react';\nimport { createSafeContext } from '../../core/utils/create-safe-context/create-safe-context.mjs';\nimport 'react/jsx-runtime';\nimport '@mantine/hooks';\nimport 'clsx';\nimport '../../core/MantineProvider/Mantine.context.mjs';\nimport '../../core/MantineProvider/default-theme.mjs';\nimport '../../core/MantineProvider/MantineProvider.mjs';\nimport '../../core/MantineProvider/MantineThemeProvider/MantineThemeProvider.mjs';\nimport '../../core/MantineProvider/MantineCssVariables/MantineCssVariables.mjs';\nimport '../../core/Box/Box.mjs';\nimport '../../core/DirectionProvider/DirectionProvider.mjs';\n\nconst [ModalBaseProvider, useModalBaseContext] = createSafeContext(\n \"ModalBase component was not found in tree\"\n);\n\nexport { ModalBaseProvider, useModalBaseContext };\n//# sourceMappingURL=ModalBase.context.mjs.map\n","'use client';\nimport { useState, useRef, useEffect } from 'react';\nimport { useReducedMotion } from '@mantine/hooks';\n\nfunction useLockScroll({ opened, transitionDuration }) {\n const [shouldLockScroll, setShouldLockScroll] = useState(opened);\n const timeout = useRef();\n const reduceMotion = useReducedMotion();\n const _transitionDuration = reduceMotion ? 0 : transitionDuration;\n useEffect(() => {\n if (opened) {\n setShouldLockScroll(true);\n window.clearTimeout(timeout.current);\n } else if (_transitionDuration === 0) {\n setShouldLockScroll(false);\n } else {\n timeout.current = window.setTimeout(() => setShouldLockScroll(false), _transitionDuration);\n }\n return () => window.clearTimeout(timeout.current);\n }, [opened, _transitionDuration]);\n return shouldLockScroll;\n}\n\nexport { useLockScroll };\n//# sourceMappingURL=use-lock-scroll.mjs.map\n","'use client';\nimport { useState } from 'react';\nimport { useId, useWindowEvent, useFocusReturn } from '@mantine/hooks';\nimport { useLockScroll } from './use-lock-scroll.mjs';\n\nfunction useModal({\n id,\n transitionProps,\n opened,\n trapFocus,\n closeOnEscape,\n onClose,\n returnFocus\n}) {\n const _id = useId(id);\n const [titleMounted, setTitleMounted] = useState(false);\n const [bodyMounted, setBodyMounted] = useState(false);\n const transitionDuration = typeof transitionProps?.duration === \"number\" ? transitionProps?.duration : 200;\n const shouldLockScroll = useLockScroll({ opened, transitionDuration });\n useWindowEvent(\n \"keydown\",\n (event) => {\n if (event.key === \"Escape\" && closeOnEscape && opened) {\n const shouldTrigger = event.target?.getAttribute(\"data-mantine-stop-propagation\") !== \"true\";\n shouldTrigger && onClose();\n }\n },\n { capture: true }\n );\n useFocusReturn({ opened, shouldReturnFocus: trapFocus && returnFocus });\n return {\n _id,\n titleMounted,\n bodyMounted,\n shouldLockScroll,\n setTitleMounted,\n setBodyMounted\n };\n}\n\nexport { useModal };\n//# sourceMappingURL=use-modal.mjs.map\n","'use client';\nimport { jsx } from 'react/jsx-runtime';\nimport { forwardRef } from 'react';\nimport { RemoveScroll } from 'react-remove-scroll';\nimport { getDefaultZIndex } from '../../core/utils/get-default-z-index/get-default-z-index.mjs';\nimport { getShadow, getSpacing } from '../../core/utils/get-size/get-size.mjs';\nimport '@mantine/hooks';\nimport 'clsx';\nimport '../../core/MantineProvider/Mantine.context.mjs';\nimport '../../core/MantineProvider/default-theme.mjs';\nimport '../../core/MantineProvider/MantineProvider.mjs';\nimport '../../core/MantineProvider/MantineThemeProvider/MantineThemeProvider.mjs';\nimport '../../core/MantineProvider/MantineCssVariables/MantineCssVariables.mjs';\nimport { Box } from '../../core/Box/Box.mjs';\nimport '../../core/DirectionProvider/DirectionProvider.mjs';\nimport '../Portal/Portal.mjs';\nimport { OptionalPortal } from '../Portal/OptionalPortal.mjs';\nimport { ModalBaseProvider } from './ModalBase.context.mjs';\nimport { useModal } from './use-modal.mjs';\n\nconst ModalBase = forwardRef(\n ({\n keepMounted,\n opened,\n onClose,\n id,\n transitionProps,\n trapFocus,\n closeOnEscape,\n returnFocus,\n closeOnClickOutside,\n withinPortal,\n portalProps,\n lockScroll,\n children,\n zIndex,\n shadow,\n padding,\n __vars,\n unstyled,\n removeScrollProps,\n ...others\n }, ref) => {\n const { _id, titleMounted, bodyMounted, shouldLockScroll, setTitleMounted, setBodyMounted } = useModal({ id, transitionProps, opened, trapFocus, closeOnEscape, onClose, returnFocus });\n return /* @__PURE__ */ jsx(OptionalPortal, { ...portalProps, withinPortal, children: /* @__PURE__ */ jsx(\n ModalBaseProvider,\n {\n value: {\n opened,\n onClose,\n closeOnClickOutside,\n transitionProps: { ...transitionProps, keepMounted },\n getTitleId: () => `${_id}-title`,\n getBodyId: () => `${_id}-body`,\n titleMounted,\n bodyMounted,\n setTitleMounted,\n setBodyMounted,\n trapFocus,\n closeOnEscape,\n zIndex,\n unstyled\n },\n children: /* @__PURE__ */ jsx(RemoveScroll, { enabled: shouldLockScroll && lockScroll, ...removeScrollProps, children: /* @__PURE__ */ jsx(\n Box,\n {\n ref,\n ...others,\n __vars: {\n ...__vars,\n \"--mb-z-index\": (zIndex || getDefaultZIndex(\"modal\")).toString(),\n \"--mb-shadow\": getShadow(shadow),\n \"--mb-padding\": getSpacing(padding)\n },\n children\n }\n ) })\n }\n ) });\n }\n);\n\nexport { ModalBase };\n//# sourceMappingURL=ModalBase.mjs.map\n","'use client';\nimport { useEffect } from 'react';\nimport { useModalBaseContext } from './ModalBase.context.mjs';\n\nfunction useModalBodyId() {\n const ctx = useModalBaseContext();\n useEffect(() => {\n ctx.setBodyMounted(true);\n return () => ctx.setBodyMounted(false);\n }, []);\n return ctx.getBodyId();\n}\n\nexport { useModalBodyId };\n//# sourceMappingURL=use-modal-body-id.mjs.map\n","'use client';\nvar classes = {\"title\":\"m_615af6c9\",\"header\":\"m_b5489c3c\",\"inner\":\"m_60c222c7\",\"content\":\"m_fd1ab0aa\",\"close\":\"m_606cb269\",\"body\":\"m_5df29311\"};\n\nexport { classes as default };\n//# sourceMappingURL=ModalBase.module.css.mjs.map\n","'use client';\nimport { jsx } from 'react/jsx-runtime';\nimport { forwardRef } from 'react';\nimport cx from 'clsx';\nimport '@mantine/hooks';\nimport '../../core/MantineProvider/Mantine.context.mjs';\nimport '../../core/MantineProvider/default-theme.mjs';\nimport '../../core/MantineProvider/MantineProvider.mjs';\nimport '../../core/MantineProvider/MantineThemeProvider/MantineThemeProvider.mjs';\nimport '../../core/MantineProvider/MantineCssVariables/MantineCssVariables.mjs';\nimport { Box } from '../../core/Box/Box.mjs';\nimport '../../core/DirectionProvider/DirectionProvider.mjs';\nimport { useModalBaseContext } from './ModalBase.context.mjs';\nimport { useModalBodyId } from './use-modal-body-id.mjs';\nimport classes from './ModalBase.module.css.mjs';\n\nconst ModalBaseBody = forwardRef(\n ({ className, ...others }, ref) => {\n const bodyId = useModalBodyId();\n const ctx = useModalBaseContext();\n return /* @__PURE__ */ jsx(\n Box,\n {\n ref,\n ...others,\n id: bodyId,\n className: cx({ [classes.body]: !ctx.unstyled }, className)\n }\n );\n }\n);\nModalBaseBody.displayName = \"@mantine/core/ModalBaseBody\";\n\nexport { ModalBaseBody };\n//# sourceMappingURL=ModalBaseBody.mjs.map\n","'use client';\nimport { jsx } from 'react/jsx-runtime';\nimport { forwardRef } from 'react';\nimport cx from 'clsx';\nimport '../CloseButton/CloseIcon.mjs';\nimport { CloseButton } from '../CloseButton/CloseButton.mjs';\nimport { useModalBaseContext } from './ModalBase.context.mjs';\nimport classes from './ModalBase.module.css.mjs';\n\nconst ModalBaseCloseButton = forwardRef(\n ({ className, onClick, ...others }, ref) => {\n const ctx = useModalBaseContext();\n return /* @__PURE__ */ jsx(\n CloseButton,\n {\n ref,\n ...others,\n onClick: (event) => {\n ctx.onClose();\n onClick?.(event);\n },\n className: cx({ [classes.close]: !ctx.unstyled }, className),\n unstyled: ctx.unstyled\n }\n );\n }\n);\nModalBaseCloseButton.displayName = \"@mantine/core/ModalBaseCloseButton\";\n\nexport { ModalBaseCloseButton };\n//# sourceMappingURL=ModalBaseCloseButton.mjs.map\n","'use client';\nimport { jsx } from 'react/jsx-runtime';\nimport { forwardRef } from 'react';\nimport cx from 'clsx';\nimport { FocusTrap } from '../FocusTrap/FocusTrap.mjs';\nimport { Paper } from '../Paper/Paper.mjs';\nimport '../Transition/transitions.mjs';\nimport { Transition } from '../Transition/Transition.mjs';\nimport { useModalBaseContext } from './ModalBase.context.mjs';\nimport classes from './ModalBase.module.css.mjs';\n\nconst ModalBaseContent = forwardRef(\n ({ transitionProps, className, innerProps, onKeyDown, style, ...others }, ref) => {\n const ctx = useModalBaseContext();\n return /* @__PURE__ */ jsx(\n Transition,\n {\n mounted: ctx.opened,\n transition: \"pop\",\n ...ctx.transitionProps,\n ...transitionProps,\n children: (transitionStyles) => /* @__PURE__ */ jsx(\n \"div\",\n {\n ...innerProps,\n className: cx({ [classes.inner]: !ctx.unstyled }, innerProps.className),\n children: /* @__PURE__ */ jsx(FocusTrap, { active: ctx.opened && ctx.trapFocus, children: /* @__PURE__ */ jsx(\n Paper,\n {\n ...others,\n component: \"section\",\n role: \"dialog\",\n tabIndex: -1,\n \"aria-modal\": true,\n \"aria-describedby\": ctx.bodyMounted ? ctx.getBodyId() : void 0,\n \"aria-labelledby\": ctx.titleMounted ? ctx.getTitleId() : void 0,\n ref,\n style: [style, transitionStyles],\n className: cx({ [classes.content]: !ctx.unstyled }, className),\n unstyled: ctx.unstyled,\n children: others.children\n }\n ) })\n }\n )\n }\n );\n }\n);\n\nexport { ModalBaseContent };\n//# sourceMappingURL=ModalBaseContent.mjs.map\n","'use client';\nimport { jsx } from 'react/jsx-runtime';\nimport { forwardRef } from 'react';\nimport cx from 'clsx';\nimport '@mantine/hooks';\nimport '../../core/MantineProvider/Mantine.context.mjs';\nimport '../../core/MantineProvider/default-theme.mjs';\nimport '../../core/MantineProvider/MantineProvider.mjs';\nimport '../../core/MantineProvider/MantineThemeProvider/MantineThemeProvider.mjs';\nimport '../../core/MantineProvider/MantineCssVariables/MantineCssVariables.mjs';\nimport { Box } from '../../core/Box/Box.mjs';\nimport '../../core/DirectionProvider/DirectionProvider.mjs';\nimport { useModalBaseContext } from './ModalBase.context.mjs';\nimport classes from './ModalBase.module.css.mjs';\n\nconst ModalBaseHeader = forwardRef(\n ({ className, ...others }, ref) => {\n const ctx = useModalBaseContext();\n return /* @__PURE__ */ jsx(\n Box,\n {\n component: \"header\",\n ref,\n className: cx({ [classes.header]: !ctx.unstyled }, className),\n ...others\n }\n );\n }\n);\nModalBaseHeader.displayName = \"@mantine/core/ModalBaseHeader\";\n\nexport { ModalBaseHeader };\n//# sourceMappingURL=ModalBaseHeader.mjs.map\n","'use client';\nimport { useModalBaseContext } from './ModalBase.context.mjs';\n\nconst DEFAULT_TRANSITION = {\n duration: 200,\n timingFunction: \"ease\",\n transition: \"fade\"\n};\nfunction useModalTransition(transitionOverride) {\n const ctx = useModalBaseContext();\n return { ...DEFAULT_TRANSITION, ...ctx.transitionProps, ...transitionOverride };\n}\n\nexport { useModalTransition };\n//# sourceMappingURL=use-modal-transition.mjs.map\n","'use client';\nimport { jsx } from 'react/jsx-runtime';\nimport { forwardRef } from 'react';\nimport { Overlay } from '../Overlay/Overlay.mjs';\nimport '../Transition/transitions.mjs';\nimport { Transition } from '../Transition/Transition.mjs';\nimport { useModalBaseContext } from './ModalBase.context.mjs';\nimport { useModalTransition } from './use-modal-transition.mjs';\n\nconst ModalBaseOverlay = forwardRef(\n ({ onClick, transitionProps, style, ...others }, ref) => {\n const ctx = useModalBaseContext();\n const transition = useModalTransition(transitionProps);\n return /* @__PURE__ */ jsx(Transition, { mounted: ctx.opened, ...transition, transition: \"fade\", children: (transitionStyles) => /* @__PURE__ */ jsx(\n Overlay,\n {\n ref,\n fixed: true,\n style: [style, transitionStyles],\n zIndex: ctx.zIndex,\n unstyled: ctx.unstyled,\n onClick: (event) => {\n onClick?.(event);\n ctx.closeOnClickOutside && ctx.onClose();\n },\n ...others\n }\n ) });\n }\n);\nModalBaseOverlay.displayName = \"@mantine/core/ModalBaseOverlay\";\n\nexport { ModalBaseOverlay };\n//# sourceMappingURL=ModalBaseOverlay.mjs.map\n","'use client';\nimport { useEffect } from 'react';\nimport { useModalBaseContext } from './ModalBase.context.mjs';\n\nfunction useModalTitle() {\n const ctx = useModalBaseContext();\n useEffect(() => {\n ctx.setTitleMounted(true);\n return () => ctx.setTitleMounted(false);\n }, []);\n return ctx.getTitleId();\n}\n\nexport { useModalTitle };\n//# sourceMappingURL=use-modal-title-id.mjs.map\n","'use client';\nimport { jsx } from 'react/jsx-runtime';\nimport { forwardRef } from 'react';\nimport cx from 'clsx';\nimport '@mantine/hooks';\nimport '../../core/MantineProvider/Mantine.context.mjs';\nimport '../../core/MantineProvider/default-theme.mjs';\nimport '../../core/MantineProvider/MantineProvider.mjs';\nimport '../../core/MantineProvider/MantineThemeProvider/MantineThemeProvider.mjs';\nimport '../../core/MantineProvider/MantineCssVariables/MantineCssVariables.mjs';\nimport { Box } from '../../core/Box/Box.mjs';\nimport '../../core/DirectionProvider/DirectionProvider.mjs';\nimport { useModalBaseContext } from './ModalBase.context.mjs';\nimport { useModalTitle } from './use-modal-title-id.mjs';\nimport classes from './ModalBase.module.css.mjs';\n\nconst ModalBaseTitle = forwardRef(\n ({ className, ...others }, ref) => {\n const id = useModalTitle();\n const ctx = useModalBaseContext();\n return /* @__PURE__ */ jsx(\n Box,\n {\n component: \"h2\",\n ref,\n className: cx({ [classes.title]: !ctx.unstyled }, className),\n ...others,\n id\n }\n );\n }\n);\nModalBaseTitle.displayName = \"@mantine/core/ModalBaseTitle\";\n\nexport { ModalBaseTitle };\n//# sourceMappingURL=ModalBaseTitle.mjs.map\n","'use client';\nimport { jsx, Fragment } from 'react/jsx-runtime';\n\nfunction NativeScrollArea({ children }) {\n return /* @__PURE__ */ jsx(Fragment, { children });\n}\n\nexport { NativeScrollArea };\n//# sourceMappingURL=NativeScrollArea.mjs.map\n","'use client';\nimport 'react';\nimport { createSafeContext } from '../../core/utils/create-safe-context/create-safe-context.mjs';\nimport 'react/jsx-runtime';\nimport '@mantine/hooks';\nimport 'clsx';\nimport '../../core/MantineProvider/Mantine.context.mjs';\nimport '../../core/MantineProvider/default-theme.mjs';\nimport '../../core/MantineProvider/MantineProvider.mjs';\nimport '../../core/MantineProvider/MantineThemeProvider/MantineThemeProvider.mjs';\nimport '../../core/MantineProvider/MantineCssVariables/MantineCssVariables.mjs';\nimport '../../core/Box/Box.mjs';\nimport '../../core/DirectionProvider/DirectionProvider.mjs';\n\nconst [ModalProvider, useModalContext] = createSafeContext(\n \"Modal component was not found in tree\"\n);\n\nexport { ModalProvider, useModalContext };\n//# sourceMappingURL=Modal.context.mjs.map\n","'use client';\nvar classes = {\"root\":\"m_9df02822\",\"content\":\"m_54c44539\",\"inner\":\"m_1f958f16\",\"header\":\"m_d0e2b9cd\"};\n\nexport { classes as default };\n//# sourceMappingURL=Modal.module.css.mjs.map\n","'use client';\nimport { jsx } from 'react/jsx-runtime';\nimport 'react';\nimport '@mantine/hooks';\nimport 'clsx';\nimport '../../core/MantineProvider/Mantine.context.mjs';\nimport '../../core/MantineProvider/default-theme.mjs';\nimport '../../core/MantineProvider/MantineProvider.mjs';\nimport '../../core/MantineProvider/MantineThemeProvider/MantineThemeProvider.mjs';\nimport { useProps } from '../../core/MantineProvider/use-props/use-props.mjs';\nimport '../../core/MantineProvider/MantineCssVariables/MantineCssVariables.mjs';\nimport '../../core/Box/Box.mjs';\nimport { factory } from '../../core/factory/factory.mjs';\nimport '../../core/DirectionProvider/DirectionProvider.mjs';\nimport '../ModalBase/ModalBase.mjs';\nimport { ModalBaseBody } from '../ModalBase/ModalBaseBody.mjs';\nimport '../ModalBase/ModalBaseCloseButton.mjs';\nimport '../ModalBase/ModalBaseContent.mjs';\nimport '../ModalBase/ModalBaseHeader.mjs';\nimport '../ModalBase/ModalBaseOverlay.mjs';\nimport '../ModalBase/ModalBaseTitle.mjs';\nimport { useModalContext } from './Modal.context.mjs';\nimport classes from './Modal.module.css.mjs';\n\nconst defaultProps = {};\nconst ModalBody = factory((_props, ref) => {\n const props = useProps(\"ModalBody\", defaultProps, _props);\n const { classNames, className, style, styles, vars, ...others } = props;\n const ctx = useModalContext();\n return /* @__PURE__ */ jsx(\n ModalBaseBody,\n {\n ref,\n ...ctx.getStyles(\"body\", { classNames, style, styles, className }),\n ...others\n }\n );\n});\nModalBody.classes = classes;\nModalBody.displayName = \"@mantine/core/ModalBody\";\n\nexport { ModalBody };\n//# sourceMappingURL=ModalBody.mjs.map\n","'use client';\nimport { jsx } from 'react/jsx-runtime';\nimport 'react';\nimport '@mantine/hooks';\nimport 'clsx';\nimport '../../core/MantineProvider/Mantine.context.mjs';\nimport '../../core/MantineProvider/default-theme.mjs';\nimport '../../core/MantineProvider/MantineProvider.mjs';\nimport '../../core/MantineProvider/MantineThemeProvider/MantineThemeProvider.mjs';\nimport { useProps } from '../../core/MantineProvider/use-props/use-props.mjs';\nimport '../../core/MantineProvider/MantineCssVariables/MantineCssVariables.mjs';\nimport '../../core/Box/Box.mjs';\nimport { factory } from '../../core/factory/factory.mjs';\nimport '../../core/DirectionProvider/DirectionProvider.mjs';\nimport '../ModalBase/ModalBase.mjs';\nimport '../ModalBase/ModalBaseBody.mjs';\nimport { ModalBaseCloseButton } from '../ModalBase/ModalBaseCloseButton.mjs';\nimport '../ModalBase/ModalBaseContent.mjs';\nimport '../ModalBase/ModalBaseHeader.mjs';\nimport '../ModalBase/ModalBaseOverlay.mjs';\nimport '../ModalBase/ModalBaseTitle.mjs';\nimport { useModalContext } from './Modal.context.mjs';\nimport classes from './Modal.module.css.mjs';\n\nconst defaultProps = {};\nconst ModalCloseButton = factory((_props, ref) => {\n const props = useProps(\"ModalCloseButton\", defaultProps, _props);\n const { classNames, className, style, styles, vars, ...others } = props;\n const ctx = useModalContext();\n return /* @__PURE__ */ jsx(\n ModalBaseCloseButton,\n {\n ref,\n ...ctx.getStyles(\"close\", { classNames, style, styles, className }),\n ...others\n }\n );\n});\nModalCloseButton.classes = classes;\nModalCloseButton.displayName = \"@mantine/core/ModalCloseButton\";\n\nexport { ModalCloseButton };\n//# sourceMappingURL=ModalCloseButton.mjs.map\n","'use client';\nimport { jsx } from 'react/jsx-runtime';\nimport { rem } from '../../core/utils/units-converters/rem.mjs';\nimport 'react';\nimport '@mantine/hooks';\nimport 'clsx';\nimport '../../core/MantineProvider/Mantine.context.mjs';\nimport '../../core/MantineProvider/default-theme.mjs';\nimport '../../core/MantineProvider/MantineProvider.mjs';\nimport '../../core/MantineProvider/MantineThemeProvider/MantineThemeProvider.mjs';\nimport { useProps } from '../../core/MantineProvider/use-props/use-props.mjs';\nimport '../../core/MantineProvider/MantineCssVariables/MantineCssVariables.mjs';\nimport '../../core/Box/Box.mjs';\nimport { factory } from '../../core/factory/factory.mjs';\nimport '../../core/DirectionProvider/DirectionProvider.mjs';\nimport '../ModalBase/ModalBase.mjs';\nimport '../ModalBase/ModalBaseBody.mjs';\nimport '../ModalBase/ModalBaseCloseButton.mjs';\nimport { ModalBaseContent } from '../ModalBase/ModalBaseContent.mjs';\nimport '../ModalBase/ModalBaseHeader.mjs';\nimport '../ModalBase/ModalBaseOverlay.mjs';\nimport '../ModalBase/ModalBaseTitle.mjs';\nimport { NativeScrollArea } from '../ModalBase/NativeScrollArea.mjs';\nimport { useModalContext } from './Modal.context.mjs';\nimport classes from './Modal.module.css.mjs';\n\nconst defaultProps = {};\nconst ModalContent = factory((_props, ref) => {\n const props = useProps(\"ModalContent\", defaultProps, _props);\n const { classNames, className, style, styles, vars, children, ...others } = props;\n const ctx = useModalContext();\n const Scroll = ctx.scrollAreaComponent || NativeScrollArea;\n return /* @__PURE__ */ jsx(\n ModalBaseContent,\n {\n ...ctx.getStyles(\"content\", { className, style, styles, classNames }),\n innerProps: ctx.getStyles(\"inner\", { className, style, styles, classNames }),\n \"data-full-screen\": ctx.fullScreen || void 0,\n \"data-modal-content\": true,\n ref,\n ...others,\n children: /* @__PURE__ */ jsx(\n Scroll,\n {\n style: {\n maxHeight: ctx.fullScreen ? \"100dvh\" : `calc(100dvh - (${rem(ctx.yOffset)} * 2))`\n },\n children\n }\n )\n }\n );\n});\nModalContent.classes = classes;\nModalContent.displayName = \"@mantine/core/ModalContent\";\n\nexport { ModalContent };\n//# sourceMappingURL=ModalContent.mjs.map\n","'use client';\nimport { jsx } from 'react/jsx-runtime';\nimport 'react';\nimport '@mantine/hooks';\nimport 'clsx';\nimport '../../core/MantineProvider/Mantine.context.mjs';\nimport '../../core/MantineProvider/default-theme.mjs';\nimport '../../core/MantineProvider/MantineProvider.mjs';\nimport '../../core/MantineProvider/MantineThemeProvider/MantineThemeProvider.mjs';\nimport { useProps } from '../../core/MantineProvider/use-props/use-props.mjs';\nimport '../../core/MantineProvider/MantineCssVariables/MantineCssVariables.mjs';\nimport '../../core/Box/Box.mjs';\nimport { factory } from '../../core/factory/factory.mjs';\nimport '../../core/DirectionProvider/DirectionProvider.mjs';\nimport '../ModalBase/ModalBase.mjs';\nimport '../ModalBase/ModalBaseBody.mjs';\nimport '../ModalBase/ModalBaseCloseButton.mjs';\nimport '../ModalBase/ModalBaseContent.mjs';\nimport { ModalBaseHeader } from '../ModalBase/ModalBaseHeader.mjs';\nimport '../ModalBase/ModalBaseOverlay.mjs';\nimport '../ModalBase/ModalBaseTitle.mjs';\nimport { useModalContext } from './Modal.context.mjs';\nimport classes from './Modal.module.css.mjs';\n\nconst defaultProps = {};\nconst ModalHeader = factory((_props, ref) => {\n const props = useProps(\"ModalHeader\", defaultProps, _props);\n const { classNames, className, style, styles, vars, ...others } = props;\n const ctx = useModalContext();\n return /* @__PURE__ */ jsx(\n ModalBaseHeader,\n {\n ref,\n ...ctx.getStyles(\"header\", { classNames, style, styles, className }),\n ...others\n }\n );\n});\nModalHeader.classes = classes;\nModalHeader.displayName = \"@mantine/core/ModalHeader\";\n\nexport { ModalHeader };\n//# sourceMappingURL=ModalHeader.mjs.map\n","'use client';\nimport { jsx } from 'react/jsx-runtime';\nimport 'react';\nimport '@mantine/hooks';\nimport 'clsx';\nimport '../../core/MantineProvider/Mantine.context.mjs';\nimport '../../core/MantineProvider/default-theme.mjs';\nimport '../../core/MantineProvider/MantineProvider.mjs';\nimport '../../core/MantineProvider/MantineThemeProvider/MantineThemeProvider.mjs';\nimport { useProps } from '../../core/MantineProvider/use-props/use-props.mjs';\nimport '../../core/MantineProvider/MantineCssVariables/MantineCssVariables.mjs';\nimport '../../core/Box/Box.mjs';\nimport { factory } from '../../core/factory/factory.mjs';\nimport '../../core/DirectionProvider/DirectionProvider.mjs';\nimport '../ModalBase/ModalBase.mjs';\nimport '../ModalBase/ModalBaseBody.mjs';\nimport '../ModalBase/ModalBaseCloseButton.mjs';\nimport '../ModalBase/ModalBaseContent.mjs';\nimport '../ModalBase/ModalBaseHeader.mjs';\nimport { ModalBaseOverlay } from '../ModalBase/ModalBaseOverlay.mjs';\nimport '../ModalBase/ModalBaseTitle.mjs';\nimport { useModalContext } from './Modal.context.mjs';\nimport classes from './Modal.module.css.mjs';\n\nconst defaultProps = {};\nconst ModalOverlay = factory((_props, ref) => {\n const props = useProps(\"ModalOverlay\", defaultProps, _props);\n const { classNames, className, style, styles, vars, ...others } = props;\n const ctx = useModalContext();\n return /* @__PURE__ */ jsx(\n ModalBaseOverlay,\n {\n ref,\n ...ctx.getStyles(\"overlay\", { classNames, style, styles, className }),\n ...others\n }\n );\n});\nModalOverlay.classes = classes;\nModalOverlay.displayName = \"@mantine/core/ModalOverlay\";\n\nexport { ModalOverlay };\n//# sourceMappingURL=ModalOverlay.mjs.map\n","'use client';\nimport { jsx } from 'react/jsx-runtime';\nimport { rem } from '../../core/utils/units-converters/rem.mjs';\nimport 'react';\nimport { getDefaultZIndex } from '../../core/utils/get-default-z-index/get-default-z-index.mjs';\nimport { getRadius, getSize } from '../../core/utils/get-size/get-size.mjs';\nimport '@mantine/hooks';\nimport { createVarsResolver } from '../../core/styles-api/create-vars-resolver/create-vars-resolver.mjs';\nimport 'clsx';\nimport '../../core/MantineProvider/Mantine.context.mjs';\nimport '../../core/MantineProvider/default-theme.mjs';\nimport '../../core/MantineProvider/MantineProvider.mjs';\nimport '../../core/MantineProvider/MantineThemeProvider/MantineThemeProvider.mjs';\nimport { useProps } from '../../core/MantineProvider/use-props/use-props.mjs';\nimport '../../core/MantineProvider/MantineCssVariables/MantineCssVariables.mjs';\nimport { useStyles } from '../../core/styles-api/use-styles/use-styles.mjs';\nimport '../../core/Box/Box.mjs';\nimport { factory } from '../../core/factory/factory.mjs';\nimport '../../core/DirectionProvider/DirectionProvider.mjs';\nimport { ModalBase } from '../ModalBase/ModalBase.mjs';\nimport '../ModalBase/ModalBaseBody.mjs';\nimport '../ModalBase/ModalBaseCloseButton.mjs';\nimport '../ModalBase/ModalBaseContent.mjs';\nimport '../ModalBase/ModalBaseHeader.mjs';\nimport '../ModalBase/ModalBaseOverlay.mjs';\nimport '../ModalBase/ModalBaseTitle.mjs';\nimport { ModalProvider } from './Modal.context.mjs';\nimport classes from './Modal.module.css.mjs';\n\nconst defaultProps = {\n __staticSelector: \"Modal\",\n closeOnClickOutside: true,\n withinPortal: true,\n lockScroll: true,\n trapFocus: true,\n returnFocus: true,\n closeOnEscape: true,\n keepMounted: false,\n zIndex: getDefaultZIndex(\"modal\"),\n transitionProps: { duration: 200, transition: \"pop\" },\n yOffset: \"5dvh\"\n};\nconst varsResolver = createVarsResolver(\n (_, { radius, size, yOffset, xOffset }) => ({\n root: {\n \"--modal-radius\": radius === void 0 ? void 0 : getRadius(radius),\n \"--modal-size\": getSize(size, \"modal-size\"),\n \"--modal-y-offset\": rem(yOffset),\n \"--modal-x-offset\": rem(xOffset)\n }\n })\n);\nconst ModalRoot = factory((_props, ref) => {\n const props = useProps(\"ModalRoot\", defaultProps, _props);\n const {\n classNames,\n className,\n style,\n styles,\n unstyled,\n vars,\n yOffset,\n scrollAreaComponent,\n radius,\n fullScreen,\n centered,\n xOffset,\n __staticSelector,\n ...others\n } = props;\n const getStyles = useStyles({\n name: __staticSelector,\n classes,\n props,\n className,\n style,\n classNames,\n styles,\n unstyled,\n vars,\n varsResolver\n });\n return /* @__PURE__ */ jsx(ModalProvider, { value: { yOffset, scrollAreaComponent, getStyles, fullScreen }, children: /* @__PURE__ */ jsx(\n ModalBase,\n {\n ref,\n ...getStyles(\"root\"),\n \"data-full-screen\": fullScreen || void 0,\n \"data-centered\": centered || void 0,\n unstyled,\n ...others\n }\n ) });\n});\nModalRoot.classes = classes;\nModalRoot.displayName = \"@mantine/core/ModalRoot\";\n\nexport { ModalRoot };\n//# sourceMappingURL=ModalRoot.mjs.map\n","'use client';\nimport { jsx } from 'react/jsx-runtime';\nimport 'react';\nimport '@mantine/hooks';\nimport 'clsx';\nimport '../../core/MantineProvider/Mantine.context.mjs';\nimport '../../core/MantineProvider/default-theme.mjs';\nimport '../../core/MantineProvider/MantineProvider.mjs';\nimport '../../core/MantineProvider/MantineThemeProvider/MantineThemeProvider.mjs';\nimport { useProps } from '../../core/MantineProvider/use-props/use-props.mjs';\nimport '../../core/MantineProvider/MantineCssVariables/MantineCssVariables.mjs';\nimport '../../core/Box/Box.mjs';\nimport { factory } from '../../core/factory/factory.mjs';\nimport '../../core/DirectionProvider/DirectionProvider.mjs';\nimport '../ModalBase/ModalBase.mjs';\nimport '../ModalBase/ModalBaseBody.mjs';\nimport '../ModalBase/ModalBaseCloseButton.mjs';\nimport '../ModalBase/ModalBaseContent.mjs';\nimport '../ModalBase/ModalBaseHeader.mjs';\nimport '../ModalBase/ModalBaseOverlay.mjs';\nimport { ModalBaseTitle } from '../ModalBase/ModalBaseTitle.mjs';\nimport { useModalContext } from './Modal.context.mjs';\nimport classes from './Modal.module.css.mjs';\n\nconst defaultProps = {};\nconst ModalTitle = factory((_props, ref) => {\n const props = useProps(\"ModalTitle\", defaultProps, _props);\n const { classNames, className, style, styles, vars, ...others } = props;\n const ctx = useModalContext();\n return /* @__PURE__ */ jsx(\n ModalBaseTitle,\n {\n ref,\n ...ctx.getStyles(\"title\", { classNames, style, styles, className }),\n ...others\n }\n );\n});\nModalTitle.classes = classes;\nModalTitle.displayName = \"@mantine/core/ModalTitle\";\n\nexport { ModalTitle };\n//# sourceMappingURL=ModalTitle.mjs.map\n","'use client';\nimport { jsxs, jsx } from 'react/jsx-runtime';\nimport 'react';\nimport { getDefaultZIndex } from '../../core/utils/get-default-z-index/get-default-z-index.mjs';\nimport '@mantine/hooks';\nimport 'clsx';\nimport '../../core/MantineProvider/Mantine.context.mjs';\nimport '../../core/MantineProvider/default-theme.mjs';\nimport '../../core/MantineProvider/MantineProvider.mjs';\nimport '../../core/MantineProvider/MantineThemeProvider/MantineThemeProvider.mjs';\nimport { useProps } from '../../core/MantineProvider/use-props/use-props.mjs';\nimport '../../core/MantineProvider/MantineCssVariables/MantineCssVariables.mjs';\nimport '../../core/Box/Box.mjs';\nimport { factory } from '../../core/factory/factory.mjs';\nimport '../../core/DirectionProvider/DirectionProvider.mjs';\nimport { ModalBody } from './ModalBody.mjs';\nimport { ModalCloseButton } from './ModalCloseButton.mjs';\nimport { ModalContent } from './ModalContent.mjs';\nimport { ModalHeader } from './ModalHeader.mjs';\nimport { ModalOverlay } from './ModalOverlay.mjs';\nimport { ModalRoot } from './ModalRoot.mjs';\nimport { ModalTitle } from './ModalTitle.mjs';\nimport classes from './Modal.module.css.mjs';\n\nconst defaultProps = {\n closeOnClickOutside: true,\n withinPortal: true,\n lockScroll: true,\n trapFocus: true,\n returnFocus: true,\n closeOnEscape: true,\n keepMounted: false,\n zIndex: getDefaultZIndex(\"modal\"),\n transitionProps: { duration: 200, transition: \"fade-down\" },\n withOverlay: true,\n withCloseButton: true\n};\nconst Modal = factory((_props, ref) => {\n const {\n title,\n withOverlay,\n overlayProps,\n withCloseButton,\n closeButtonProps,\n children,\n radius,\n ...others\n } = useProps(\"Modal\", defaultProps, _props);\n const hasHeader = !!title || withCloseButton;\n return /* @__PURE__ */ jsxs(ModalRoot, { ref, radius, ...others, children: [\n withOverlay && /* @__PURE__ */ jsx(ModalOverlay, { ...overlayProps }),\n /* @__PURE__ */ jsxs(ModalContent, { radius, children: [\n hasHeader && /* @__PURE__ */ jsxs(ModalHeader, { children: [\n title && /* @__PURE__ */ jsx(ModalTitle, { children: title }),\n withCloseButton && /* @__PURE__ */ jsx(ModalCloseButton, { ...closeButtonProps })\n ] }),\n /* @__PURE__ */ jsx(ModalBody, { children })\n ] })\n ] });\n});\nModal.classes = classes;\nModal.displayName = \"@mantine/core/Modal\";\nModal.Root = ModalRoot;\nModal.Overlay = ModalOverlay;\nModal.Content = ModalContent;\nModal.Body = ModalBody;\nModal.Header = ModalHeader;\nModal.Title = ModalTitle;\nModal.CloseButton = ModalCloseButton;\n\nexport { Modal };\n//# sourceMappingURL=Modal.mjs.map\n","'use client';\nvar classes = {\"root\":\"m_a513464\",\"icon\":\"m_a4ceffb\",\"loader\":\"m_b0920b15\",\"body\":\"m_a49ed24\",\"title\":\"m_3feedf16\",\"description\":\"m_3d733a3a\",\"closeButton\":\"m_919a4d88\"};\n\nexport { classes as default };\n//# sourceMappingURL=Notification.module.css.mjs.map\n","'use client';\nimport { jsxs, jsx } from 'react/jsx-runtime';\nimport 'react';\nimport { getRadius } from '../../core/utils/get-size/get-size.mjs';\nimport '@mantine/hooks';\nimport { createVarsResolver } from '../../core/styles-api/create-vars-resolver/create-vars-resolver.mjs';\nimport 'clsx';\nimport { getThemeColor } from '../../core/MantineProvider/color-functions/get-theme-color/get-theme-color.mjs';\nimport '../../core/MantineProvider/Mantine.context.mjs';\nimport '../../core/MantineProvider/default-theme.mjs';\nimport '../../core/MantineProvider/MantineProvider.mjs';\nimport '../../core/MantineProvider/MantineThemeProvider/MantineThemeProvider.mjs';\nimport { useProps } from '../../core/MantineProvider/use-props/use-props.mjs';\nimport '../../core/MantineProvider/MantineCssVariables/MantineCssVariables.mjs';\nimport { useStyles } from '../../core/styles-api/use-styles/use-styles.mjs';\nimport { Box } from '../../core/Box/Box.mjs';\nimport { factory } from '../../core/factory/factory.mjs';\nimport '../../core/DirectionProvider/DirectionProvider.mjs';\nimport '../CloseButton/CloseIcon.mjs';\nimport { CloseButton } from '../CloseButton/CloseButton.mjs';\nimport { Loader } from '../Loader/Loader.mjs';\nimport classes from './Notification.module.css.mjs';\n\nconst defaultProps = {\n withCloseButton: true\n};\nconst varsResolver = createVarsResolver((theme, { radius, color }) => ({\n root: {\n \"--notification-radius\": radius === void 0 ? void 0 : getRadius(radius),\n \"--notification-color\": color ? getThemeColor(color, theme) : void 0\n }\n}));\nconst Notification = factory((_props, ref) => {\n const props = useProps(\"Notification\", defaultProps, _props);\n const {\n className,\n color,\n radius,\n loading,\n withCloseButton,\n withBorder,\n title,\n icon,\n children,\n onClose,\n closeButtonProps,\n classNames,\n style,\n styles,\n unstyled,\n variant,\n vars,\n mod,\n ...others\n } = props;\n const getStyles = useStyles({\n name: \"Notification\",\n classes,\n props,\n className,\n style,\n classNames,\n styles,\n unstyled,\n vars,\n varsResolver\n });\n return /* @__PURE__ */ jsxs(\n Box,\n {\n ...getStyles(\"root\"),\n mod: [{ \"data-with-icon\": !!icon || loading, \"data-with-border\": withBorder }, mod],\n ref,\n variant,\n ...others,\n role: \"alert\",\n children: [\n icon && !loading && /* @__PURE__ */ jsx(\"div\", { ...getStyles(\"icon\"), children: icon }),\n loading && /* @__PURE__ */ jsx(Loader, { size: 28, color, ...getStyles(\"loader\") }),\n /* @__PURE__ */ jsxs(\"div\", { ...getStyles(\"body\"), children: [\n title && /* @__PURE__ */ jsx(\"div\", { ...getStyles(\"title\"), children: title }),\n /* @__PURE__ */ jsx(Box, { ...getStyles(\"description\"), mod: { \"data-with-title\": !!title }, children })\n ] }),\n withCloseButton && /* @__PURE__ */ jsx(\n CloseButton,\n {\n iconSize: 16,\n color: \"gray\",\n ...closeButtonProps,\n unstyled,\n onClick: onClose,\n ...getStyles(\"closeButton\")\n }\n )\n ]\n }\n );\n});\nNotification.classes = classes;\nNotification.displayName = \"@mantine/core/Notification\";\n\nexport { Notification };\n//# sourceMappingURL=Notification.mjs.map\n"],"names":["__assign","s","i","n","p","__rest","e","t","__spreadArray","to","from","pack","l","ar","zeroRightClassName","fullWidthClassName","noScrollbarsClassName","removedBarSizeVariable","assignRef","ref","value","useCallbackRef","initialValue","callback","useState","last","useIsomorphicLayoutEffect","React.useLayoutEffect","React.useEffect","currentValues","useMergeRefs","refs","defaultValue","callbackRef","newValue","oldValue","prevRefs_1","nextRefs_1","current_1","ItoI","a","innerCreateMedium","defaults","middleware","buffer","assigned","medium","data","item","x","cb","cbs","pendingQueue","executeQueue","cycle","filter","createSidecarMedium","options","SideCar","_a","sideCar","rest","Target","React.createElement","exportSidecar","exported","effectCar","nothing","RemoveScroll","React.forwardRef","props","parentRef","React.useRef","React.useState","callbacks","setCallbacks","forwardProps","children","className","removeScrollBar","enabled","shards","noIsolation","inert","allowPinchZoom","_b","Container","gapMode","containerRef","containerProps","React.Fragment","React.cloneElement","React.Children","getNonce","makeStyleTag","tag","nonce","injectStyles","css","insertStyleTag","head","stylesheetSingleton","counter","stylesheet","style","styleHookSingleton","sheet","styles","isDynamic","styleSingleton","useStyle","Sheet","dynamic","zeroGap","parse","getOffset","cs","left","top","right","getGapWidth","offsets","documentWidth","windowWidth","Style","lockAttribute","getStyles","allowRelative","important","gap","getCurrentUseCounter","useLockAttribute","newCounter","RemoveScrollBar","noRelative","noImportant","React.useMemo","passiveSupported","nonPassive","alwaysContainsScroll","node","elementCanBeScrolled","overflow","elementCouldBeVScrolled","elementCouldBeHScrolled","locationCouldBeScrolled","axis","ownerDocument","current","isScrollable","elementCouldBeScrolled","getScrollVariables","d","getVScrollVariables","scrollTop","scrollHeight","clientHeight","getHScrollVariables","scrollLeft","scrollWidth","clientWidth","getDirectionFactor","direction","handleScroll","endTarget","event","sourceDelta","noOverscroll","directionFactor","delta","target","targetInLock","shouldCancelScroll","isDeltaPositive","availableScroll","availableScrollTop","position","scroll_1","capacity","elementScroll","getTouchXY","getDeltaXY","extractRef","deltaCompare","y","generateStyle","id","idCounter","lockStack","RemoveScrollSideCar","shouldPreventQueue","touchStartRef","activeAxis","lastProps","allow_1","el","shouldCancelEvent","React.useCallback","parent","touch","touchStart","deltaX","deltaY","currentAxis","moveDirection","canBeScrolledInMainDirection","cancelingAxis","shouldPrevent","_event","sourceEvent","shardNodes","shouldStop","shouldCancel","name","should","getOutermostShadowParent","scrollTouchStart","scrollWheel","scrollTouchMove","inst","shadowParent","ReactRemoveScroll","isElement","Fragment","createSafeContext","errorMessage","Context","createContext","jsx","ctx","useContext","elevations","getDefaultZIndex","level","randomId","useIsomorphicEffect","useLayoutEffect","useEffect","useFocusReturn","opened","shouldReturnFocus","lastActiveElement","useRef","returnFocus","useDidUpdate","timeout","clearFocusTimeout","createAriaHider","containerNode","selector","rootNodes","ariaHidden","prevAriaHidden","prevFocusId","TABBABLE_NODES","FOCUS_SELECTOR","hidden","element","visible","parentElement","getElementTabIndex","tabIndex","focusable","nodeName","isTabIndexNotNaN","tabbable","findTabbableDescendants","scopeTab","finalTabbable","root","leavingFinalTabbable","activeElement","useFocusTrap","active","restoreAria","focusNode","focusElement","setRef","useCallback","handleKeyDown","__useId","React","useReactId","useId","staticId","reactId","uuid","setUuid","useWindowEvent","type","listener","mergeRefs","useMergedRef","classes","defaultProps","VisuallyHidden","factory","_props","useProps","classNames","unstyled","vars","others","useStyles","Box","varsResolver","createVarsResolver","_","radius","shadow","getRadius","getShadow","Paper","polymorphicFactory","withBorder","variant","mod","FocusTrap","refProp","focusTrapRef","cloneElement","FocusTrapInitialFocus","createPortalNode","Portal","forwardRef","mounted","setMounted","nodeRef","createPortal","OptionalPortal","withinPortal","borderWidth","rem","ActionIconGroup","orientation","theme","size","gradient","color","autoContrast","colors","getSize","ActionIcon","loading","loaderProps","__staticSelector","disabled","dataDisabled","jsxs","UnstyledButton","Transition","transitionStyles","Loader","CloseIcon","iconSize","CloseButton","icon","backgroundOpacity","blur","zIndex","rgba","Overlay","fixed","center","ModalBaseProvider","useModalBaseContext","useLockScroll","transitionDuration","shouldLockScroll","setShouldLockScroll","_transitionDuration","useReducedMotion","useModal","transitionProps","trapFocus","closeOnEscape","onClose","_id","titleMounted","setTitleMounted","bodyMounted","setBodyMounted","ModalBase","keepMounted","closeOnClickOutside","portalProps","lockScroll","padding","__vars","removeScrollProps","getSpacing","useModalBodyId","ModalBaseBody","bodyId","cx","ModalBaseCloseButton","onClick","ModalBaseContent","innerProps","onKeyDown","ModalBaseHeader","DEFAULT_TRANSITION","useModalTransition","transitionOverride","ModalBaseOverlay","transition","useModalTitle","ModalBaseTitle","NativeScrollArea","ModalProvider","useModalContext","ModalBody","ModalCloseButton","ModalContent","Scroll","ModalHeader","ModalOverlay","yOffset","xOffset","ModalRoot","scrollAreaComponent","fullScreen","centered","ModalTitle","Modal","title","withOverlay","overlayProps","withCloseButton","closeButtonProps","hasHeader","getThemeColor","Notification"],"mappings":"gNA+BO,IAAIA,EAAW,UAAW,CAC/B,OAAAA,EAAW,OAAO,QAAU,SAAkB,EAAG,CAC7C,QAASC,EAAGC,EAAI,EAAGC,EAAI,UAAU,OAAQD,EAAIC,EAAGD,IAAK,CACjDD,EAAI,UAAUC,CAAC,EACf,QAASE,KAAKH,EAAO,OAAO,UAAU,eAAe,KAAKA,EAAGG,CAAC,IAAG,EAAEA,CAAC,EAAIH,EAAEG,CAAC,EAC9E,CACD,OAAO,CACV,EACMJ,EAAS,MAAM,KAAM,SAAS,CACvC,EAEO,SAASK,GAAOJ,EAAGK,EAAG,CAC3B,IAAIC,EAAI,CAAA,EACR,QAASH,KAAKH,EAAO,OAAO,UAAU,eAAe,KAAKA,EAAGG,CAAC,GAAKE,EAAE,QAAQF,CAAC,EAAI,IAC9EG,EAAEH,CAAC,EAAIH,EAAEG,CAAC,GACd,GAAIH,GAAK,MAAQ,OAAO,OAAO,uBAA0B,WACrD,QAASC,EAAI,EAAGE,EAAI,OAAO,sBAAsBH,CAAC,EAAGC,EAAIE,EAAE,OAAQF,IAC3DI,EAAE,QAAQF,EAAEF,CAAC,CAAC,EAAI,GAAK,OAAO,UAAU,qBAAqB,KAAKD,EAAGG,EAAEF,CAAC,CAAC,IACzEK,EAAEH,EAAEF,CAAC,CAAC,EAAID,EAAEG,EA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,SAAA5V,CAAQ,CAAE,CACjH,EAAW,EACH+V,GAAmCxM,EAAG,IACpC+H,EACA,CACE,SAAU,GACV,MAAO,OACP,GAAG0E,EACH,SAAAjI,EACA,QAAS4E,EACT,GAAG1P,EAAU,aAAa,CAC3B,CACF,CACF,CACF,CACL,CACA,CAAC,EACDkT,GAAa,QAAU3I,GACvB2I,GAAa,YAAc","x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75]}