From 023129fdfc0580ad4b5454ea674469096b0a41c1 Mon Sep 17 00:00:00 2001 From: fishjar Date: Thu, 18 Apr 2024 02:10:31 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20fishjar/?= =?UTF-8?q?kiss-translator@63f989b31a3b858cbde049cc3c6ecfab2e71b53f=20?= =?UTF-8?q?=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- kiss-translator-ios-safari.user.js | 8414 +++++++++++---------- kiss-translator.user.js | 8414 +++++++++++---------- main.js | 10460 +++++++++++++++------------ manifest.firefox.json | 2 +- manifest.json | 2 +- options.js | 8704 ++++++++++++---------- version.txt | 2 +- 7 files changed, 19984 insertions(+), 16014 deletions(-) diff --git a/kiss-translator-ios-safari.user.js b/kiss-translator-ios-safari.user.js index 2802d87..d593c52 100644 --- a/kiss-translator-ios-safari.user.js +++ b/kiss-translator-ios-safari.user.js @@ -1,7 +1,7 @@ // ==UserScript== // @name KISS Translator // @namespace https://github.com/fishjar/kiss-translator -// @version 1.8.6 +// @version 1.8.7 // @description A simple bilingual translation extension & Greasemonkey script (一个简约的双语对照翻译扩展 & 油猴脚本) // @author Gabe // @homepageURL https://github.com/fishjar/kiss-translator @@ -46,20 +46,860 @@ /******/ (() => { // webpackBootstrap /******/ var __webpack_modules__ = ({ -/***/ 6967: +/***/ 3029: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ Z: () => (/* binding */ createCache) -/* harmony export */ }); -/* harmony import */ var _emotion_sheet__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(3294); -/* harmony import */ var stylis__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(7650); -/* harmony import */ var stylis__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(7279); -/* harmony import */ var stylis__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(3724); -/* harmony import */ var stylis__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(903); -/* harmony import */ var stylis__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(7033); -/* harmony import */ var stylis__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(3963); + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + Z: () => (/* binding */ createCache) +}); + +;// CONCATENATED MODULE: ./node_modules/.pnpm/@emotion+sheet@1.2.2/node_modules/@emotion/sheet/dist/emotion-sheet.browser.esm.js +/* + +Based off glamor's StyleSheet, thanks Sunil ❤️ + +high performance StyleSheet for css-in-js systems + +- uses multiple style tags behind the scenes for millions of rules +- uses `insertRule` for appending in production for *much* faster performance + +// usage + +import { StyleSheet } from '@emotion/sheet' + +let styleSheet = new StyleSheet({ key: '', container: document.head }) + +styleSheet.insert('#box { border: 1px solid red; }') +- appends a css rule into the stylesheet + +styleSheet.flush() +- empties the stylesheet of all its contents + +*/ +// $FlowFixMe +function sheetForTag(tag) { + if (tag.sheet) { + // $FlowFixMe + return tag.sheet; + } // this weirdness brought to you by firefox + + /* istanbul ignore next */ + + for (var i = 0; i < document.styleSheets.length; i++) { + if (document.styleSheets[i].ownerNode === tag) { + // $FlowFixMe + return document.styleSheets[i]; + } + } +} +function createStyleElement(options) { + var tag = document.createElement('style'); + tag.setAttribute('data-emotion', options.key); + if (options.nonce !== undefined) { + tag.setAttribute('nonce', options.nonce); + } + tag.appendChild(document.createTextNode('')); + tag.setAttribute('data-s', ''); + return tag; +} +var StyleSheet = /*#__PURE__*/function () { + // Using Node instead of HTMLElement since container may be a ShadowRoot + function StyleSheet(options) { + var _this = this; + this._insertTag = function (tag) { + var before; + if (_this.tags.length === 0) { + if (_this.insertionPoint) { + before = _this.insertionPoint.nextSibling; + } else if (_this.prepend) { + before = _this.container.firstChild; + } else { + before = _this.before; + } + } else { + before = _this.tags[_this.tags.length - 1].nextSibling; + } + _this.container.insertBefore(tag, before); + _this.tags.push(tag); + }; + this.isSpeedy = options.speedy === undefined ? "production" === 'production' : options.speedy; + this.tags = []; + this.ctr = 0; + this.nonce = options.nonce; // key is the value of the data-emotion attribute, it's used to identify different sheets + + this.key = options.key; + this.container = options.container; + this.prepend = options.prepend; + this.insertionPoint = options.insertionPoint; + this.before = null; + } + var _proto = StyleSheet.prototype; + _proto.hydrate = function hydrate(nodes) { + nodes.forEach(this._insertTag); + }; + _proto.insert = function insert(rule) { + // the max length is how many rules we have per style tag, it's 65000 in speedy mode + // it's 1 in dev because we insert source maps that map a single rule to a location + // and you can only have one source map per style tag + if (this.ctr % (this.isSpeedy ? 65000 : 1) === 0) { + this._insertTag(createStyleElement(this)); + } + var tag = this.tags[this.tags.length - 1]; + if (false) { var isImportRule; } + if (this.isSpeedy) { + var sheet = sheetForTag(tag); + try { + // this is the ultrafast version, works across browsers + // the big drawback is that the css won't be editable in devtools + sheet.insertRule(rule, sheet.cssRules.length); + } catch (e) { + if (false) {} + } + } else { + tag.appendChild(document.createTextNode(rule)); + } + this.ctr++; + }; + _proto.flush = function flush() { + // $FlowFixMe + this.tags.forEach(function (tag) { + return tag.parentNode && tag.parentNode.removeChild(tag); + }); + this.tags = []; + this.ctr = 0; + if (false) {} + }; + return StyleSheet; +}(); + +;// CONCATENATED MODULE: ./node_modules/.pnpm/stylis@4.2.0/node_modules/stylis/src/Utility.js +/** + * @param {number} + * @return {number} + */ +var abs = Math.abs; + +/** + * @param {number} + * @return {string} + */ +var Utility_from = String.fromCharCode; + +/** + * @param {object} + * @return {object} + */ +var Utility_assign = Object.assign; + +/** + * @param {string} value + * @param {number} length + * @return {number} + */ +function hash(value, length) { + return Utility_charat(value, 0) ^ 45 ? (((length << 2 ^ Utility_charat(value, 0)) << 2 ^ Utility_charat(value, 1)) << 2 ^ Utility_charat(value, 2)) << 2 ^ Utility_charat(value, 3) : 0; +} + +/** + * @param {string} value + * @return {string} + */ +function trim(value) { + return value.trim(); +} + +/** + * @param {string} value + * @param {RegExp} pattern + * @return {string?} + */ +function Utility_match(value, pattern) { + return (value = pattern.exec(value)) ? value[0] : value; +} + +/** + * @param {string} value + * @param {(string|RegExp)} pattern + * @param {string} replacement + * @return {string} + */ +function Utility_replace(value, pattern, replacement) { + return value.replace(pattern, replacement); +} + +/** + * @param {string} value + * @param {string} search + * @return {number} + */ +function indexof(value, search) { + return value.indexOf(search); +} + +/** + * @param {string} value + * @param {number} index + * @return {number} + */ +function Utility_charat(value, index) { + return value.charCodeAt(index) | 0; +} + +/** + * @param {string} value + * @param {number} begin + * @param {number} end + * @return {string} + */ +function Utility_substr(value, begin, end) { + return value.slice(begin, end); +} + +/** + * @param {string} value + * @return {number} + */ +function Utility_strlen(value) { + return value.length; +} + +/** + * @param {any[]} value + * @return {number} + */ +function Utility_sizeof(value) { + return value.length; +} + +/** + * @param {any} value + * @param {any[]} array + * @return {any} + */ +function Utility_append(value, array) { + return array.push(value), value; +} + +/** + * @param {string[]} array + * @param {function} callback + * @return {string} + */ +function Utility_combine(array, callback) { + return array.map(callback).join(''); +} +;// CONCATENATED MODULE: ./node_modules/.pnpm/stylis@4.2.0/node_modules/stylis/src/Tokenizer.js + +var line = 1; +var column = 1; +var Tokenizer_length = 0; +var position = 0; +var character = 0; +var characters = ''; + +/** + * @param {string} value + * @param {object | null} root + * @param {object | null} parent + * @param {string} type + * @param {string[] | string} props + * @param {object[] | string} children + * @param {number} length + */ +function node(value, root, parent, type, props, children, length) { + return { + value: value, + root: root, + parent: parent, + type: type, + props: props, + children: children, + line: line, + column: column, + length: length, + return: '' + }; +} + +/** + * @param {object} root + * @param {object} props + * @return {object} + */ +function Tokenizer_copy(root, props) { + return Utility_assign(node('', null, null, '', null, null, 0), root, { + length: -root.length + }, props); +} + +/** + * @return {number} + */ +function Tokenizer_char() { + return character; +} + +/** + * @return {number} + */ +function prev() { + character = position > 0 ? Utility_charat(characters, --position) : 0; + if (column--, character === 10) column = 1, line--; + return character; +} + +/** + * @return {number} + */ +function next() { + character = position < Tokenizer_length ? Utility_charat(characters, position++) : 0; + if (column++, character === 10) column = 1, line++; + return character; +} + +/** + * @return {number} + */ +function peek() { + return Utility_charat(characters, position); +} + +/** + * @return {number} + */ +function caret() { + return position; +} + +/** + * @param {number} begin + * @param {number} end + * @return {string} + */ +function slice(begin, end) { + return Utility_substr(characters, begin, end); +} + +/** + * @param {number} type + * @return {number} + */ +function token(type) { + switch (type) { + // \0 \t \n \r \s whitespace token + case 0: + case 9: + case 10: + case 13: + case 32: + return 5; + // ! + , / > @ ~ isolate token + case 33: + case 43: + case 44: + case 47: + case 62: + case 64: + case 126: + // ; { } breakpoint token + case 59: + case 123: + case 125: + return 4; + // : accompanied token + case 58: + return 3; + // " ' ( [ opening delimit token + case 34: + case 39: + case 40: + case 91: + return 2; + // ) ] closing delimit token + case 41: + case 93: + return 1; + } + return 0; +} + +/** + * @param {string} value + * @return {any[]} + */ +function alloc(value) { + return line = column = 1, Tokenizer_length = Utility_strlen(characters = value), position = 0, []; +} + +/** + * @param {any} value + * @return {any} + */ +function dealloc(value) { + return characters = '', value; +} + +/** + * @param {number} type + * @return {string} + */ +function delimit(type) { + return trim(slice(position - 1, delimiter(type === 91 ? type + 2 : type === 40 ? type + 1 : type))); +} + +/** + * @param {string} value + * @return {string[]} + */ +function Tokenizer_tokenize(value) { + return dealloc(tokenizer(alloc(value))); +} + +/** + * @param {number} type + * @return {string} + */ +function whitespace(type) { + while (character = peek()) if (character < 33) next();else break; + return token(type) > 2 || token(character) > 3 ? '' : ' '; +} + +/** + * @param {string[]} children + * @return {string[]} + */ +function tokenizer(children) { + while (next()) switch (token(character)) { + case 0: + append(identifier(position - 1), children); + break; + case 2: + append(delimit(character), children); + break; + default: + append(from(character), children); + } + return children; +} + +/** + * @param {number} index + * @param {number} count + * @return {string} + */ +function escaping(index, count) { + while (--count && next()) + // not 0-9 A-F a-f + if (character < 48 || character > 102 || character > 57 && character < 65 || character > 70 && character < 97) break; + return slice(index, caret() + (count < 6 && peek() == 32 && next() == 32)); +} + +/** + * @param {number} type + * @return {number} + */ +function delimiter(type) { + while (next()) switch (character) { + // ] ) " ' + case type: + return position; + // " ' + case 34: + case 39: + if (type !== 34 && type !== 39) delimiter(character); + break; + // ( + case 40: + if (type === 41) delimiter(type); + break; + // \ + case 92: + next(); + break; + } + return position; +} + +/** + * @param {number} type + * @param {number} index + * @return {number} + */ +function commenter(type, index) { + while (next()) + // // + if (type + character === 47 + 10) break; + // /* + else if (type + character === 42 + 42 && peek() === 47) break; + return '/*' + slice(index, position - 1) + '*' + Utility_from(type === 47 ? type : next()); +} + +/** + * @param {number} index + * @return {string} + */ +function identifier(index) { + while (!token(peek())) next(); + return slice(index, position); +} +;// CONCATENATED MODULE: ./node_modules/.pnpm/stylis@4.2.0/node_modules/stylis/src/Enum.js +var Enum_MS = '-ms-'; +var Enum_MOZ = '-moz-'; +var Enum_WEBKIT = '-webkit-'; +var COMMENT = 'comm'; +var Enum_RULESET = 'rule'; +var Enum_DECLARATION = 'decl'; +var PAGE = '@page'; +var MEDIA = '@media'; +var IMPORT = '@import'; +var CHARSET = '@charset'; +var VIEWPORT = '@viewport'; +var SUPPORTS = '@supports'; +var DOCUMENT = '@document'; +var NAMESPACE = '@namespace'; +var Enum_KEYFRAMES = '@keyframes'; +var FONT_FACE = '@font-face'; +var COUNTER_STYLE = '@counter-style'; +var FONT_FEATURE_VALUES = '@font-feature-values'; +var LAYER = '@layer'; +;// CONCATENATED MODULE: ./node_modules/.pnpm/stylis@4.2.0/node_modules/stylis/src/Serializer.js + + + +/** + * @param {object[]} children + * @param {function} callback + * @return {string} + */ +function Serializer_serialize(children, callback) { + var output = ''; + var length = Utility_sizeof(children); + for (var i = 0; i < length; i++) output += callback(children[i], i, children, callback) || ''; + return output; +} + +/** + * @param {object} element + * @param {number} index + * @param {object[]} children + * @param {function} callback + * @return {string} + */ +function stringify(element, index, children, callback) { + switch (element.type) { + case LAYER: + if (element.children.length) break; + case IMPORT: + case Enum_DECLARATION: + return element.return = element.return || element.value; + case COMMENT: + return ''; + case Enum_KEYFRAMES: + return element.return = element.value + '{' + Serializer_serialize(element.children, callback) + '}'; + case Enum_RULESET: + element.value = element.props.join(','); + } + return Utility_strlen(children = Serializer_serialize(element.children, callback)) ? element.return = element.value + '{' + children + '}' : ''; +} +;// CONCATENATED MODULE: ./node_modules/.pnpm/stylis@4.2.0/node_modules/stylis/src/Middleware.js + + + + + + +/** + * @param {function[]} collection + * @return {function} + */ +function middleware(collection) { + var length = Utility_sizeof(collection); + return function (element, index, children, callback) { + var output = ''; + for (var i = 0; i < length; i++) output += collection[i](element, index, children, callback) || ''; + return output; + }; +} + +/** + * @param {function} callback + * @return {function} + */ +function rulesheet(callback) { + return function (element) { + if (!element.root) if (element = element.return) callback(element); + }; +} + +/** + * @param {object} element + * @param {number} index + * @param {object[]} children + * @param {function} callback + */ +function prefixer(element, index, children, callback) { + if (element.length > -1) if (!element.return) switch (element.type) { + case DECLARATION: + element.return = prefix(element.value, element.length, children); + return; + case KEYFRAMES: + return serialize([copy(element, { + value: replace(element.value, '@', '@' + WEBKIT) + })], callback); + case RULESET: + if (element.length) return combine(element.props, function (value) { + switch (match(value, /(::plac\w+|:read-\w+)/)) { + // :read-(only|write) + case ':read-only': + case ':read-write': + return serialize([copy(element, { + props: [replace(value, /:(read-\w+)/, ':' + MOZ + '$1')] + })], callback); + // :placeholder + case '::placeholder': + return serialize([copy(element, { + props: [replace(value, /:(plac\w+)/, ':' + WEBKIT + 'input-$1')] + }), copy(element, { + props: [replace(value, /:(plac\w+)/, ':' + MOZ + '$1')] + }), copy(element, { + props: [replace(value, /:(plac\w+)/, MS + 'input-$1')] + })], callback); + } + return ''; + }); + } +} + +/** + * @param {object} element + * @param {number} index + * @param {object[]} children + */ +function namespace(element) { + switch (element.type) { + case RULESET: + element.props = element.props.map(function (value) { + return combine(tokenize(value), function (value, index, children) { + switch (charat(value, 0)) { + // \f + case 12: + return substr(value, 1, strlen(value)); + // \0 ( + > ~ + case 0: + case 40: + case 43: + case 62: + case 126: + return value; + // : + case 58: + if (children[++index] === 'global') children[index] = '', children[++index] = '\f' + substr(children[index], index = 1, -1); + // \s + case 32: + return index === 1 ? '' : value; + default: + switch (index) { + case 0: + element = value; + return sizeof(children) > 1 ? '' : value; + case index = sizeof(children) - 1: + case 2: + return index === 2 ? value + element + element : value + element; + default: + return value; + } + } + }); + }); + } +} +;// CONCATENATED MODULE: ./node_modules/.pnpm/stylis@4.2.0/node_modules/stylis/src/Parser.js + + + + +/** + * @param {string} value + * @return {object[]} + */ +function compile(value) { + return dealloc(parse('', null, null, null, [''], value = alloc(value), 0, [0], value)); +} + +/** + * @param {string} value + * @param {object} root + * @param {object?} parent + * @param {string[]} rule + * @param {string[]} rules + * @param {string[]} rulesets + * @param {number[]} pseudo + * @param {number[]} points + * @param {string[]} declarations + * @return {object} + */ +function parse(value, root, parent, rule, rules, rulesets, pseudo, points, declarations) { + var index = 0; + var offset = 0; + var length = pseudo; + var atrule = 0; + var property = 0; + var previous = 0; + var variable = 1; + var scanning = 1; + var ampersand = 1; + var character = 0; + var type = ''; + var props = rules; + var children = rulesets; + var reference = rule; + var characters = type; + while (scanning) switch (previous = character, character = next()) { + // ( + case 40: + if (previous != 108 && Utility_charat(characters, length - 1) == 58) { + if (indexof(characters += Utility_replace(delimit(character), '&', '&\f'), '&\f') != -1) ampersand = -1; + break; + } + // " ' [ + case 34: + case 39: + case 91: + characters += delimit(character); + break; + // \t \n \r \s + case 9: + case 10: + case 13: + case 32: + characters += whitespace(previous); + break; + // \ + case 92: + characters += escaping(caret() - 1, 7); + continue; + // / + case 47: + switch (peek()) { + case 42: + case 47: + Utility_append(comment(commenter(next(), caret()), root, parent), declarations); + break; + default: + characters += '/'; + } + break; + // { + case 123 * variable: + points[index++] = Utility_strlen(characters) * ampersand; + // } ; \0 + case 125 * variable: + case 59: + case 0: + switch (character) { + // \0 } + case 0: + case 125: + scanning = 0; + // ; + case 59 + offset: + if (ampersand == -1) characters = Utility_replace(characters, /\f/g, ''); + if (property > 0 && Utility_strlen(characters) - length) Utility_append(property > 32 ? declaration(characters + ';', rule, parent, length - 1) : declaration(Utility_replace(characters, ' ', '') + ';', rule, parent, length - 2), declarations); + break; + // @ ; + case 59: + characters += ';'; + // { rule/at-rule + default: + Utility_append(reference = ruleset(characters, root, parent, index, offset, rules, points, type, props = [], children = [], length), rulesets); + if (character === 123) if (offset === 0) parse(characters, root, reference, reference, props, rulesets, length, points, children);else switch (atrule === 99 && Utility_charat(characters, 3) === 110 ? 100 : atrule) { + // d l m s + case 100: + case 108: + case 109: + case 115: + parse(value, reference, reference, rule && Utility_append(ruleset(value, reference, reference, 0, 0, rules, points, type, rules, props = [], length), children), rules, children, length, points, rule ? props : children); + break; + default: + parse(characters, reference, reference, reference, [''], children, 0, points, children); + } + } + index = offset = property = 0, variable = ampersand = 1, type = characters = '', length = pseudo; + break; + // : + case 58: + length = 1 + Utility_strlen(characters), property = previous; + default: + if (variable < 1) if (character == 123) --variable;else if (character == 125 && variable++ == 0 && prev() == 125) continue; + switch (characters += Utility_from(character), character * variable) { + // & + case 38: + ampersand = offset > 0 ? 1 : (characters += '\f', -1); + break; + // , + case 44: + points[index++] = (Utility_strlen(characters) - 1) * ampersand, ampersand = 1; + break; + // @ + case 64: + // - + if (peek() === 45) characters += delimit(next()); + atrule = peek(), offset = length = Utility_strlen(type = characters += identifier(caret())), character++; + break; + // - + case 45: + if (previous === 45 && Utility_strlen(characters) == 2) variable = 0; + } + } + return rulesets; +} + +/** + * @param {string} value + * @param {object} root + * @param {object?} parent + * @param {number} index + * @param {number} offset + * @param {string[]} rules + * @param {number[]} points + * @param {string} type + * @param {string[]} props + * @param {string[]} children + * @param {number} length + * @return {object} + */ +function ruleset(value, root, parent, index, offset, rules, points, type, props, children, length) { + var post = offset - 1; + var rule = offset === 0 ? rules : ['']; + var size = Utility_sizeof(rule); + for (var i = 0, j = 0, k = 0; i < index; ++i) for (var x = 0, y = Utility_substr(value, post + 1, post = abs(j = points[i])), z = value; x < size; ++x) if (z = trim(j > 0 ? rule[x] + ' ' + y : Utility_replace(y, /&\f/g, rule[x]))) props[k++] = z; + return node(value, root, parent, offset === 0 ? Enum_RULESET : type, props, children, length); +} + +/** + * @param {number} value + * @param {object} root + * @param {object?} parent + * @return {object} + */ +function comment(value, root, parent) { + return node(value, root, parent, COMMENT, Utility_from(Tokenizer_char()), Utility_substr(value, 2, -2), 0); +} + +/** + * @param {string} value + * @param {object} root + * @param {object?} parent + * @param {number} length + * @return {object} + */ +function declaration(value, root, parent, length) { + return node(value, root, parent, Enum_DECLARATION, Utility_substr(value, 0, length), Utility_substr(value, length + 1, -1), length); +} +;// CONCATENATED MODULE: ./node_modules/.pnpm/@emotion+cache@11.11.0/node_modules/@emotion/cache/dist/emotion-cache.browser.esm.js @@ -69,43 +909,43 @@ var identifierWithPointTracking = function identifierWithPointTracking(begin, po var character = 0; while (true) { previous = character; - character = (0,stylis__WEBPACK_IMPORTED_MODULE_0__/* .peek */ .fj)(); // &\f + character = peek(); // &\f if (previous === 38 && character === 12) { points[index] = 1; } - if ((0,stylis__WEBPACK_IMPORTED_MODULE_0__/* .token */ .r)(character)) { + if (token(character)) { break; } - (0,stylis__WEBPACK_IMPORTED_MODULE_0__/* .next */ .lp)(); + next(); } - return (0,stylis__WEBPACK_IMPORTED_MODULE_0__/* .slice */ .tP)(begin, stylis__WEBPACK_IMPORTED_MODULE_0__/* .position */ .FK); + return slice(begin, position); }; var toRules = function toRules(parsed, points) { // pretend we've started with a comma var index = -1; var character = 44; do { - switch ((0,stylis__WEBPACK_IMPORTED_MODULE_0__/* .token */ .r)(character)) { + switch (token(character)) { case 0: // &\f - if (character === 38 && (0,stylis__WEBPACK_IMPORTED_MODULE_0__/* .peek */ .fj)() === 12) { + if (character === 38 && peek() === 12) { // this is not 100% correct, we don't account for literal sequences here - like for example quoted strings // stylis inserts \f after & to know when & where it should replace this sequence with the context selector // and when it should just concatenate the outer and inner selectors // it's very unlikely for this sequence to actually appear in a different context, so we just leverage this fact here points[index] = 1; } - parsed[index] += identifierWithPointTracking(stylis__WEBPACK_IMPORTED_MODULE_0__/* .position */ .FK - 1, points, index); + parsed[index] += identifierWithPointTracking(position - 1, points, index); break; case 2: - parsed[index] += (0,stylis__WEBPACK_IMPORTED_MODULE_0__/* .delimit */ .iF)(character); + parsed[index] += delimit(character); break; case 4: // comma if (character === 44) { // colon - parsed[++index] = (0,stylis__WEBPACK_IMPORTED_MODULE_0__/* .peek */ .fj)() === 58 ? '&\f' : ''; + parsed[++index] = peek() === 58 ? '&\f' : ''; points[index] = parsed[index].length; break; } @@ -113,13 +953,13 @@ var toRules = function toRules(parsed, points) { // fallthrough default: - parsed[index] += (0,stylis__WEBPACK_IMPORTED_MODULE_1__/* .from */ .Dp)(character); + parsed[index] += Utility_from(character); } - } while (character = (0,stylis__WEBPACK_IMPORTED_MODULE_0__/* .next */ .lp)()); + } while (character = next()); return parsed; }; var getRules = function getRules(value, points) { - return (0,stylis__WEBPACK_IMPORTED_MODULE_0__/* .dealloc */ .cE)(toRules((0,stylis__WEBPACK_IMPORTED_MODULE_0__/* .alloc */ .un)(value), points)); + return dealloc(toRules(alloc(value), points)); }; // WeakSet would be more appropriate, but only WeakMap is supported in IE11 var fixedElements = /* #__PURE__ */new WeakMap(); @@ -269,11 +1109,11 @@ var incorrectImportAlarm = function incorrectImportAlarm(element, index, childre /* eslint-disable no-fallthrough */ -function prefix(value, length) { - switch ((0,stylis__WEBPACK_IMPORTED_MODULE_1__/* .hash */ .vp)(value, length)) { +function emotion_cache_browser_esm_prefix(value, length) { + switch (hash(value, length)) { // color-adjust case 5103: - return stylis__WEBPACK_IMPORTED_MODULE_2__/* .WEBKIT */ .G$ + 'print-' + value + value; + return Enum_WEBKIT + 'print-' + value + value; // animation, animation-(delay|direction|duration|fill-mode|iteration-count|name|play-state|timing-function) case 5737: @@ -304,7 +1144,7 @@ function prefix(value, length) { case 5365: case 5621: case 3829: - return stylis__WEBPACK_IMPORTED_MODULE_2__/* .WEBKIT */ .G$ + value + value; + return Enum_WEBKIT + value + value; // appearance, user-select, transform, hyphens, text-size-adjust case 5349: @@ -312,64 +1152,64 @@ function prefix(value, length) { case 4810: case 6968: case 2756: - return stylis__WEBPACK_IMPORTED_MODULE_2__/* .WEBKIT */ .G$ + value + stylis__WEBPACK_IMPORTED_MODULE_2__/* .MOZ */ .uj + value + stylis__WEBPACK_IMPORTED_MODULE_2__.MS + value + value; + return Enum_WEBKIT + value + Enum_MOZ + value + Enum_MS + value + value; // flex, flex-direction case 6828: case 4268: - return stylis__WEBPACK_IMPORTED_MODULE_2__/* .WEBKIT */ .G$ + value + stylis__WEBPACK_IMPORTED_MODULE_2__.MS + value + value; + return Enum_WEBKIT + value + Enum_MS + value + value; // order case 6165: - return stylis__WEBPACK_IMPORTED_MODULE_2__/* .WEBKIT */ .G$ + value + stylis__WEBPACK_IMPORTED_MODULE_2__.MS + 'flex-' + value + value; + return Enum_WEBKIT + value + Enum_MS + 'flex-' + value + value; // align-items case 5187: - return stylis__WEBPACK_IMPORTED_MODULE_2__/* .WEBKIT */ .G$ + value + (0,stylis__WEBPACK_IMPORTED_MODULE_1__/* .replace */ .gx)(value, /(\w+).+(:[^]+)/, stylis__WEBPACK_IMPORTED_MODULE_2__/* .WEBKIT */ .G$ + 'box-$1$2' + stylis__WEBPACK_IMPORTED_MODULE_2__.MS + 'flex-$1$2') + value; + return Enum_WEBKIT + value + Utility_replace(value, /(\w+).+(:[^]+)/, Enum_WEBKIT + 'box-$1$2' + Enum_MS + 'flex-$1$2') + value; // align-self case 5443: - return stylis__WEBPACK_IMPORTED_MODULE_2__/* .WEBKIT */ .G$ + value + stylis__WEBPACK_IMPORTED_MODULE_2__.MS + 'flex-item-' + (0,stylis__WEBPACK_IMPORTED_MODULE_1__/* .replace */ .gx)(value, /flex-|-self/, '') + value; + return Enum_WEBKIT + value + Enum_MS + 'flex-item-' + Utility_replace(value, /flex-|-self/, '') + value; // align-content case 4675: - return stylis__WEBPACK_IMPORTED_MODULE_2__/* .WEBKIT */ .G$ + value + stylis__WEBPACK_IMPORTED_MODULE_2__.MS + 'flex-line-pack' + (0,stylis__WEBPACK_IMPORTED_MODULE_1__/* .replace */ .gx)(value, /align-content|flex-|-self/, '') + value; + return Enum_WEBKIT + value + Enum_MS + 'flex-line-pack' + Utility_replace(value, /align-content|flex-|-self/, '') + value; // flex-shrink case 5548: - return stylis__WEBPACK_IMPORTED_MODULE_2__/* .WEBKIT */ .G$ + value + stylis__WEBPACK_IMPORTED_MODULE_2__.MS + (0,stylis__WEBPACK_IMPORTED_MODULE_1__/* .replace */ .gx)(value, 'shrink', 'negative') + value; + return Enum_WEBKIT + value + Enum_MS + Utility_replace(value, 'shrink', 'negative') + value; // flex-basis case 5292: - return stylis__WEBPACK_IMPORTED_MODULE_2__/* .WEBKIT */ .G$ + value + stylis__WEBPACK_IMPORTED_MODULE_2__.MS + (0,stylis__WEBPACK_IMPORTED_MODULE_1__/* .replace */ .gx)(value, 'basis', 'preferred-size') + value; + return Enum_WEBKIT + value + Enum_MS + Utility_replace(value, 'basis', 'preferred-size') + value; // flex-grow case 6060: - return stylis__WEBPACK_IMPORTED_MODULE_2__/* .WEBKIT */ .G$ + 'box-' + (0,stylis__WEBPACK_IMPORTED_MODULE_1__/* .replace */ .gx)(value, '-grow', '') + stylis__WEBPACK_IMPORTED_MODULE_2__/* .WEBKIT */ .G$ + value + stylis__WEBPACK_IMPORTED_MODULE_2__.MS + (0,stylis__WEBPACK_IMPORTED_MODULE_1__/* .replace */ .gx)(value, 'grow', 'positive') + value; + return Enum_WEBKIT + 'box-' + Utility_replace(value, '-grow', '') + Enum_WEBKIT + value + Enum_MS + Utility_replace(value, 'grow', 'positive') + value; // transition case 4554: - return stylis__WEBPACK_IMPORTED_MODULE_2__/* .WEBKIT */ .G$ + (0,stylis__WEBPACK_IMPORTED_MODULE_1__/* .replace */ .gx)(value, /([^-])(transform)/g, '$1' + stylis__WEBPACK_IMPORTED_MODULE_2__/* .WEBKIT */ .G$ + '$2') + value; + return Enum_WEBKIT + Utility_replace(value, /([^-])(transform)/g, '$1' + Enum_WEBKIT + '$2') + value; // cursor case 6187: - return (0,stylis__WEBPACK_IMPORTED_MODULE_1__/* .replace */ .gx)((0,stylis__WEBPACK_IMPORTED_MODULE_1__/* .replace */ .gx)((0,stylis__WEBPACK_IMPORTED_MODULE_1__/* .replace */ .gx)(value, /(zoom-|grab)/, stylis__WEBPACK_IMPORTED_MODULE_2__/* .WEBKIT */ .G$ + '$1'), /(image-set)/, stylis__WEBPACK_IMPORTED_MODULE_2__/* .WEBKIT */ .G$ + '$1'), value, '') + value; + return Utility_replace(Utility_replace(Utility_replace(value, /(zoom-|grab)/, Enum_WEBKIT + '$1'), /(image-set)/, Enum_WEBKIT + '$1'), value, '') + value; // background, background-image case 5495: case 3959: - return (0,stylis__WEBPACK_IMPORTED_MODULE_1__/* .replace */ .gx)(value, /(image-set\([^]*)/, stylis__WEBPACK_IMPORTED_MODULE_2__/* .WEBKIT */ .G$ + '$1' + '$`$1'); + return Utility_replace(value, /(image-set\([^]*)/, Enum_WEBKIT + '$1' + '$`$1'); // justify-content case 4968: - return (0,stylis__WEBPACK_IMPORTED_MODULE_1__/* .replace */ .gx)((0,stylis__WEBPACK_IMPORTED_MODULE_1__/* .replace */ .gx)(value, /(.+:)(flex-)?(.*)/, stylis__WEBPACK_IMPORTED_MODULE_2__/* .WEBKIT */ .G$ + 'box-pack:$3' + stylis__WEBPACK_IMPORTED_MODULE_2__.MS + 'flex-pack:$3'), /s.+-b[^;]+/, 'justify') + stylis__WEBPACK_IMPORTED_MODULE_2__/* .WEBKIT */ .G$ + value + value; + return Utility_replace(Utility_replace(value, /(.+:)(flex-)?(.*)/, Enum_WEBKIT + 'box-pack:$3' + Enum_MS + 'flex-pack:$3'), /s.+-b[^;]+/, 'justify') + Enum_WEBKIT + value + value; // (margin|padding)-inline-(start|end) case 4095: case 3583: case 4068: case 2532: - return (0,stylis__WEBPACK_IMPORTED_MODULE_1__/* .replace */ .gx)(value, /(.+)-inline(.+)/, stylis__WEBPACK_IMPORTED_MODULE_2__/* .WEBKIT */ .G$ + '$1$2') + value; + return Utility_replace(value, /(.+)-inline(.+)/, Enum_WEBKIT + '$1$2') + value; // (min|max)?(width|height|inline-size|block-size) case 8116: @@ -385,93 +1225,93 @@ function prefix(value, length) { case 5021: case 4765: // stretch, max-content, min-content, fill-available - if ((0,stylis__WEBPACK_IMPORTED_MODULE_1__/* .strlen */ .to)(value) - 1 - length > 6) switch ((0,stylis__WEBPACK_IMPORTED_MODULE_1__/* .charat */ .uO)(value, length + 1)) { + if (Utility_strlen(value) - 1 - length > 6) switch (Utility_charat(value, length + 1)) { // (m)ax-content, (m)in-content case 109: // - - if ((0,stylis__WEBPACK_IMPORTED_MODULE_1__/* .charat */ .uO)(value, length + 4) !== 45) break; + if (Utility_charat(value, length + 4) !== 45) break; // (f)ill-available, (f)it-content case 102: - return (0,stylis__WEBPACK_IMPORTED_MODULE_1__/* .replace */ .gx)(value, /(.+:)(.+)-([^]+)/, '$1' + stylis__WEBPACK_IMPORTED_MODULE_2__/* .WEBKIT */ .G$ + '$2-$3' + '$1' + stylis__WEBPACK_IMPORTED_MODULE_2__/* .MOZ */ .uj + ((0,stylis__WEBPACK_IMPORTED_MODULE_1__/* .charat */ .uO)(value, length + 3) == 108 ? '$3' : '$2-$3')) + value; + return Utility_replace(value, /(.+:)(.+)-([^]+)/, '$1' + Enum_WEBKIT + '$2-$3' + '$1' + Enum_MOZ + (Utility_charat(value, length + 3) == 108 ? '$3' : '$2-$3')) + value; // (s)tretch case 115: - return ~(0,stylis__WEBPACK_IMPORTED_MODULE_1__/* .indexof */ .Cw)(value, 'stretch') ? prefix((0,stylis__WEBPACK_IMPORTED_MODULE_1__/* .replace */ .gx)(value, 'stretch', 'fill-available'), length) + value : value; + return ~indexof(value, 'stretch') ? emotion_cache_browser_esm_prefix(Utility_replace(value, 'stretch', 'fill-available'), length) + value : value; } break; // position: sticky case 4949: // (s)ticky? - if ((0,stylis__WEBPACK_IMPORTED_MODULE_1__/* .charat */ .uO)(value, length + 1) !== 115) break; + if (Utility_charat(value, length + 1) !== 115) break; // display: (flex|inline-flex) case 6444: - switch ((0,stylis__WEBPACK_IMPORTED_MODULE_1__/* .charat */ .uO)(value, (0,stylis__WEBPACK_IMPORTED_MODULE_1__/* .strlen */ .to)(value) - 3 - (~(0,stylis__WEBPACK_IMPORTED_MODULE_1__/* .indexof */ .Cw)(value, '!important') && 10))) { + switch (Utility_charat(value, Utility_strlen(value) - 3 - (~indexof(value, '!important') && 10))) { // stic(k)y case 107: - return (0,stylis__WEBPACK_IMPORTED_MODULE_1__/* .replace */ .gx)(value, ':', ':' + stylis__WEBPACK_IMPORTED_MODULE_2__/* .WEBKIT */ .G$) + value; + return Utility_replace(value, ':', ':' + Enum_WEBKIT) + value; // (inline-)?fl(e)x case 101: - return (0,stylis__WEBPACK_IMPORTED_MODULE_1__/* .replace */ .gx)(value, /(.+:)([^;!]+)(;|!.+)?/, '$1' + stylis__WEBPACK_IMPORTED_MODULE_2__/* .WEBKIT */ .G$ + ((0,stylis__WEBPACK_IMPORTED_MODULE_1__/* .charat */ .uO)(value, 14) === 45 ? 'inline-' : '') + 'box$3' + '$1' + stylis__WEBPACK_IMPORTED_MODULE_2__/* .WEBKIT */ .G$ + '$2$3' + '$1' + stylis__WEBPACK_IMPORTED_MODULE_2__.MS + '$2box$3') + value; + return Utility_replace(value, /(.+:)([^;!]+)(;|!.+)?/, '$1' + Enum_WEBKIT + (Utility_charat(value, 14) === 45 ? 'inline-' : '') + 'box$3' + '$1' + Enum_WEBKIT + '$2$3' + '$1' + Enum_MS + '$2box$3') + value; } break; // writing-mode case 5936: - switch ((0,stylis__WEBPACK_IMPORTED_MODULE_1__/* .charat */ .uO)(value, length + 11)) { + switch (Utility_charat(value, length + 11)) { // vertical-l(r) case 114: - return stylis__WEBPACK_IMPORTED_MODULE_2__/* .WEBKIT */ .G$ + value + stylis__WEBPACK_IMPORTED_MODULE_2__.MS + (0,stylis__WEBPACK_IMPORTED_MODULE_1__/* .replace */ .gx)(value, /[svh]\w+-[tblr]{2}/, 'tb') + value; + return Enum_WEBKIT + value + Enum_MS + Utility_replace(value, /[svh]\w+-[tblr]{2}/, 'tb') + value; // vertical-r(l) case 108: - return stylis__WEBPACK_IMPORTED_MODULE_2__/* .WEBKIT */ .G$ + value + stylis__WEBPACK_IMPORTED_MODULE_2__.MS + (0,stylis__WEBPACK_IMPORTED_MODULE_1__/* .replace */ .gx)(value, /[svh]\w+-[tblr]{2}/, 'tb-rl') + value; + return Enum_WEBKIT + value + Enum_MS + Utility_replace(value, /[svh]\w+-[tblr]{2}/, 'tb-rl') + value; // horizontal(-)tb case 45: - return stylis__WEBPACK_IMPORTED_MODULE_2__/* .WEBKIT */ .G$ + value + stylis__WEBPACK_IMPORTED_MODULE_2__.MS + (0,stylis__WEBPACK_IMPORTED_MODULE_1__/* .replace */ .gx)(value, /[svh]\w+-[tblr]{2}/, 'lr') + value; + return Enum_WEBKIT + value + Enum_MS + Utility_replace(value, /[svh]\w+-[tblr]{2}/, 'lr') + value; } - return stylis__WEBPACK_IMPORTED_MODULE_2__/* .WEBKIT */ .G$ + value + stylis__WEBPACK_IMPORTED_MODULE_2__.MS + value + value; + return Enum_WEBKIT + value + Enum_MS + value + value; } return value; } -var prefixer = function prefixer(element, index, children, callback) { +var emotion_cache_browser_esm_prefixer = function prefixer(element, index, children, callback) { if (element.length > -1) if (!element["return"]) switch (element.type) { - case stylis__WEBPACK_IMPORTED_MODULE_2__/* .DECLARATION */ .h5: - element["return"] = prefix(element.value, element.length); + case Enum_DECLARATION: + element["return"] = emotion_cache_browser_esm_prefix(element.value, element.length); break; - case stylis__WEBPACK_IMPORTED_MODULE_2__/* .KEYFRAMES */ .lK: - return (0,stylis__WEBPACK_IMPORTED_MODULE_3__/* .serialize */ .q)([(0,stylis__WEBPACK_IMPORTED_MODULE_0__/* .copy */ .JG)(element, { - value: (0,stylis__WEBPACK_IMPORTED_MODULE_1__/* .replace */ .gx)(element.value, '@', '@' + stylis__WEBPACK_IMPORTED_MODULE_2__/* .WEBKIT */ .G$) + case Enum_KEYFRAMES: + return Serializer_serialize([Tokenizer_copy(element, { + value: Utility_replace(element.value, '@', '@' + Enum_WEBKIT) })], callback); - case stylis__WEBPACK_IMPORTED_MODULE_2__/* .RULESET */ .Fr: - if (element.length) return (0,stylis__WEBPACK_IMPORTED_MODULE_1__/* .combine */ .$e)(element.props, function (value) { - switch ((0,stylis__WEBPACK_IMPORTED_MODULE_1__/* .match */ .EQ)(value, /(::plac\w+|:read-\w+)/)) { + case Enum_RULESET: + if (element.length) return Utility_combine(element.props, function (value) { + switch (Utility_match(value, /(::plac\w+|:read-\w+)/)) { // :read-(only|write) case ':read-only': case ':read-write': - return (0,stylis__WEBPACK_IMPORTED_MODULE_3__/* .serialize */ .q)([(0,stylis__WEBPACK_IMPORTED_MODULE_0__/* .copy */ .JG)(element, { - props: [(0,stylis__WEBPACK_IMPORTED_MODULE_1__/* .replace */ .gx)(value, /:(read-\w+)/, ':' + stylis__WEBPACK_IMPORTED_MODULE_2__/* .MOZ */ .uj + '$1')] + return Serializer_serialize([Tokenizer_copy(element, { + props: [Utility_replace(value, /:(read-\w+)/, ':' + Enum_MOZ + '$1')] })], callback); // :placeholder case '::placeholder': - return (0,stylis__WEBPACK_IMPORTED_MODULE_3__/* .serialize */ .q)([(0,stylis__WEBPACK_IMPORTED_MODULE_0__/* .copy */ .JG)(element, { - props: [(0,stylis__WEBPACK_IMPORTED_MODULE_1__/* .replace */ .gx)(value, /:(plac\w+)/, ':' + stylis__WEBPACK_IMPORTED_MODULE_2__/* .WEBKIT */ .G$ + 'input-$1')] - }), (0,stylis__WEBPACK_IMPORTED_MODULE_0__/* .copy */ .JG)(element, { - props: [(0,stylis__WEBPACK_IMPORTED_MODULE_1__/* .replace */ .gx)(value, /:(plac\w+)/, ':' + stylis__WEBPACK_IMPORTED_MODULE_2__/* .MOZ */ .uj + '$1')] - }), (0,stylis__WEBPACK_IMPORTED_MODULE_0__/* .copy */ .JG)(element, { - props: [(0,stylis__WEBPACK_IMPORTED_MODULE_1__/* .replace */ .gx)(value, /:(plac\w+)/, stylis__WEBPACK_IMPORTED_MODULE_2__.MS + 'input-$1')] + return Serializer_serialize([Tokenizer_copy(element, { + props: [Utility_replace(value, /:(plac\w+)/, ':' + Enum_WEBKIT + 'input-$1')] + }), Tokenizer_copy(element, { + props: [Utility_replace(value, /:(plac\w+)/, ':' + Enum_MOZ + '$1')] + }), Tokenizer_copy(element, { + props: [Utility_replace(value, /:(plac\w+)/, Enum_MS + 'input-$1')] })], callback); } return ''; }); } }; -var defaultStylisPlugins = [prefixer]; +var defaultStylisPlugins = [emotion_cache_browser_esm_prefixer]; var createCache = function createCache(options) { var key = options.key; if (false) {} @@ -520,12 +1360,12 @@ var createCache = function createCache(options) { if (false) {} { var currentSheet; - var finalizingPlugins = [stylis__WEBPACK_IMPORTED_MODULE_3__/* .stringify */ .P, false ? 0 : (0,stylis__WEBPACK_IMPORTED_MODULE_4__/* .rulesheet */ .cD)(function (rule) { + var finalizingPlugins = [stringify, false ? 0 : rulesheet(function (rule) { currentSheet.insert(rule); })]; - var serializer = (0,stylis__WEBPACK_IMPORTED_MODULE_4__/* .middleware */ .qR)(omnipresentPlugins.concat(stylisPlugins, finalizingPlugins)); + var serializer = middleware(omnipresentPlugins.concat(stylisPlugins, finalizingPlugins)); var stylis = function stylis(styles) { - return (0,stylis__WEBPACK_IMPORTED_MODULE_3__/* .serialize */ .q)((0,stylis__WEBPACK_IMPORTED_MODULE_5__/* .compile */ .MY)(styles), serializer); + return Serializer_serialize(compile(styles), serializer); }; _insert = function insert(selector, serialized, sheet, shouldCache) { currentSheet = sheet; @@ -538,7 +1378,7 @@ var createCache = function createCache(options) { } var cache = { key: key, - sheet: new _emotion_sheet__WEBPACK_IMPORTED_MODULE_6__/* .StyleSheet */ .m({ + sheet: new StyleSheet({ key: key, container: container, nonce: options.nonce, @@ -556,81 +1396,6 @@ var createCache = function createCache(options) { }; -/***/ }), - -/***/ 5756: -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ Z: () => (/* binding */ murmur2) -/* harmony export */ }); -/* eslint-disable */ -// Inspired by https://github.com/garycourt/murmurhash-js -// Ported from https://github.com/aappleby/smhasher/blob/61a0530f28277f2e850bfc39600ce61d02b518de/src/MurmurHash2.cpp#L37-L86 -function murmur2(str) { - // 'm' and 'r' are mixing constants generated offline. - // They're not really 'magic', they just happen to work well. - // const m = 0x5bd1e995; - // const r = 24; - // Initialize the hash - var h = 0; // Mix 4 bytes at a time into the hash - - var k, - i = 0, - len = str.length; - for (; len >= 4; ++i, len -= 4) { - k = str.charCodeAt(i) & 0xff | (str.charCodeAt(++i) & 0xff) << 8 | (str.charCodeAt(++i) & 0xff) << 16 | (str.charCodeAt(++i) & 0xff) << 24; - k = /* Math.imul(k, m): */ - (k & 0xffff) * 0x5bd1e995 + ((k >>> 16) * 0xe995 << 16); - k ^= /* k >>> r: */ - k >>> 24; - h = /* Math.imul(k, m): */ - (k & 0xffff) * 0x5bd1e995 + ((k >>> 16) * 0xe995 << 16) ^ /* Math.imul(h, m): */ - (h & 0xffff) * 0x5bd1e995 + ((h >>> 16) * 0xe995 << 16); - } // Handle the last few bytes of the input array - - switch (len) { - case 3: - h ^= (str.charCodeAt(i + 2) & 0xff) << 16; - case 2: - h ^= (str.charCodeAt(i + 1) & 0xff) << 8; - case 1: - h ^= str.charCodeAt(i) & 0xff; - h = /* Math.imul(h, m): */ - (h & 0xffff) * 0x5bd1e995 + ((h >>> 16) * 0xe995 << 16); - } // Do a few final mixes of the hash to ensure the last few - // bytes are well-incorporated. - - h ^= h >>> 13; - h = /* Math.imul(h, m): */ - (h & 0xffff) * 0x5bd1e995 + ((h >>> 16) * 0xe995 << 16); - return ((h ^ h >>> 15) >>> 0).toString(36); -} - - -/***/ }), - -/***/ 190: -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ Z: () => (/* binding */ isPropValid) -/* harmony export */ }); -/* harmony import */ var _emotion_memoize__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(7506); - -var reactPropsRegex = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/; // https://esbench.com/bench/5bfee68a4cd7e6009ef61d23 - -var isPropValid = /* #__PURE__ */(0,_emotion_memoize__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(function (prop) { - return reactPropsRegex.test(prop) || prop.charCodeAt(0) === 111 - /* o */ && prop.charCodeAt(1) === 110 - /* n */ && prop.charCodeAt(2) < 91; -} -/* Z+1 */); - - - /***/ }), /***/ 7506: @@ -651,7 +1416,7 @@ function memoize(fn) { /***/ }), -/***/ 6387: +/***/ 2412: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; @@ -663,8 +1428,8 @@ function memoize(fn) { /* harmony export */ }); /* unused harmony exports E, _, a, b, c, h, u */ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(7948); -/* harmony import */ var _emotion_cache__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6967); -/* harmony import */ var _emotion_serialize__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(5525); +/* harmony import */ var _emotion_cache__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3029); +/* harmony import */ var _emotion_serialize__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(7073); /* harmony import */ var _emotion_use_insertion_effect_with_fallbacks__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(122); @@ -866,16 +1631,473 @@ var Emotion$1 = (/* unused pure expression or super */ null && (Emotion)); /***/ }), -/***/ 5525: +/***/ 2150: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ O: () => (/* binding */ serializeStyles) +/* harmony export */ F4: () => (/* binding */ keyframes), +/* harmony export */ iv: () => (/* binding */ css), +/* harmony export */ xB: () => (/* binding */ Global) /* harmony export */ }); -/* harmony import */ var _emotion_hash__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(5756); -/* harmony import */ var _emotion_unitless__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(3509); -/* harmony import */ var _emotion_memoize__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(7506); +/* unused harmony exports ClassNames, createElement, jsx */ +/* harmony import */ var _emotion_element_c39617d8_browser_esm_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(2412); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(7948); +/* harmony import */ var _emotion_utils__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(1443); +/* harmony import */ var _emotion_use_insertion_effect_with_fallbacks__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(122); +/* harmony import */ var _emotion_serialize__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(7073); +/* harmony import */ var _emotion_cache__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(3029); +/* harmony import */ var hoist_non_react_statics__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(9761); +/* harmony import */ var hoist_non_react_statics__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(hoist_non_react_statics__WEBPACK_IMPORTED_MODULE_4__); + + + + + + + + + + + +var pkg = { + name: "@emotion/react", + version: "11.11.1", + main: "dist/emotion-react.cjs.js", + module: "dist/emotion-react.esm.js", + browser: { + "./dist/emotion-react.esm.js": "./dist/emotion-react.browser.esm.js" + }, + exports: { + ".": { + module: { + worker: "./dist/emotion-react.worker.esm.js", + browser: "./dist/emotion-react.browser.esm.js", + "default": "./dist/emotion-react.esm.js" + }, + "import": "./dist/emotion-react.cjs.mjs", + "default": "./dist/emotion-react.cjs.js" + }, + "./jsx-runtime": { + module: { + worker: "./jsx-runtime/dist/emotion-react-jsx-runtime.worker.esm.js", + browser: "./jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js", + "default": "./jsx-runtime/dist/emotion-react-jsx-runtime.esm.js" + }, + "import": "./jsx-runtime/dist/emotion-react-jsx-runtime.cjs.mjs", + "default": "./jsx-runtime/dist/emotion-react-jsx-runtime.cjs.js" + }, + "./_isolated-hnrs": { + module: { + worker: "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.worker.esm.js", + browser: "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.browser.esm.js", + "default": "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.esm.js" + }, + "import": "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.cjs.mjs", + "default": "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.cjs.js" + }, + "./jsx-dev-runtime": { + module: { + worker: "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.worker.esm.js", + browser: "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.browser.esm.js", + "default": "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.esm.js" + }, + "import": "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.cjs.mjs", + "default": "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.cjs.js" + }, + "./package.json": "./package.json", + "./types/css-prop": "./types/css-prop.d.ts", + "./macro": { + types: { + "import": "./macro.d.mts", + "default": "./macro.d.ts" + }, + "default": "./macro.js" + } + }, + types: "types/index.d.ts", + files: ["src", "dist", "jsx-runtime", "jsx-dev-runtime", "_isolated-hnrs", "types/*.d.ts", "macro.*"], + sideEffects: false, + author: "Emotion Contributors", + license: "MIT", + scripts: { + "test:typescript": "dtslint types" + }, + dependencies: { + "@babel/runtime": "^7.18.3", + "@emotion/babel-plugin": "^11.11.0", + "@emotion/cache": "^11.11.0", + "@emotion/serialize": "^1.1.2", + "@emotion/use-insertion-effect-with-fallbacks": "^1.0.1", + "@emotion/utils": "^1.2.1", + "@emotion/weak-memoize": "^0.3.1", + "hoist-non-react-statics": "^3.3.1" + }, + peerDependencies: { + react: ">=16.8.0" + }, + peerDependenciesMeta: { + "@types/react": { + optional: true + } + }, + devDependencies: { + "@definitelytyped/dtslint": "0.0.112", + "@emotion/css": "11.11.0", + "@emotion/css-prettifier": "1.1.3", + "@emotion/server": "11.11.0", + "@emotion/styled": "11.11.0", + "html-tag-names": "^1.1.2", + react: "16.14.0", + "svg-tag-names": "^1.1.1", + typescript: "^4.5.5" + }, + repository: "https://github.com/emotion-js/emotion/tree/main/packages/react", + publishConfig: { + access: "public" + }, + "umd:main": "dist/emotion-react.umd.min.js", + preconstruct: { + entrypoints: ["./index.js", "./jsx-runtime.js", "./jsx-dev-runtime.js", "./_isolated-hnrs.js"], + umdName: "emotionReact", + exports: { + envConditions: ["browser", "worker"], + extra: { + "./types/css-prop": "./types/css-prop.d.ts", + "./macro": { + types: { + "import": "./macro.d.mts", + "default": "./macro.d.ts" + }, + "default": "./macro.js" + } + } + } + } +}; +var jsx = function jsx(type, props) { + var args = arguments; + if (props == null || !hasOwnProperty.call(props, 'css')) { + // $FlowFixMe + return React.createElement.apply(undefined, args); + } + var argsLength = args.length; + var createElementArgArray = new Array(argsLength); + createElementArgArray[0] = Emotion; + createElementArgArray[1] = createEmotionProps(type, props); + for (var i = 2; i < argsLength; i++) { + createElementArgArray[i] = args[i]; + } // $FlowFixMe + + return React.createElement.apply(null, createElementArgArray); +}; +var warnedAboutCssPropForGlobal = false; // maintain place over rerenders. +// initial render from browser, insertBefore context.sheet.tags[0] or if a style hasn't been inserted there yet, appendChild +// initial client-side render from SSR, use place of hydrating tag + +var Global = /* #__PURE__ */(0,_emotion_element_c39617d8_browser_esm_js__WEBPACK_IMPORTED_MODULE_5__.w)(function (props, cache) { + if (false) {} + var styles = props.styles; + var serialized = (0,_emotion_serialize__WEBPACK_IMPORTED_MODULE_2__/* .serializeStyles */ .O)([styles], undefined, react__WEBPACK_IMPORTED_MODULE_0__.useContext(_emotion_element_c39617d8_browser_esm_js__WEBPACK_IMPORTED_MODULE_5__.T)); + if (!_emotion_element_c39617d8_browser_esm_js__WEBPACK_IMPORTED_MODULE_5__.i) { + var _ref; + var serializedNames = serialized.name; + var serializedStyles = serialized.styles; + var next = serialized.next; + while (next !== undefined) { + serializedNames += ' ' + next.name; + serializedStyles += next.styles; + next = next.next; + } + var shouldCache = cache.compat === true; + var rules = cache.insert("", { + name: serializedNames, + styles: serializedStyles + }, cache.sheet, shouldCache); + if (shouldCache) { + return null; + } + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("style", (_ref = {}, _ref["data-emotion"] = cache.key + "-global " + serializedNames, _ref.dangerouslySetInnerHTML = { + __html: rules + }, _ref.nonce = cache.sheet.nonce, _ref)); + } // yes, i know these hooks are used conditionally + // but it is based on a constant that will never change at runtime + // it's effectively like having two implementations and switching them out + // so it's not actually breaking anything + + var sheetRef = react__WEBPACK_IMPORTED_MODULE_0__.useRef(); + (0,_emotion_use_insertion_effect_with_fallbacks__WEBPACK_IMPORTED_MODULE_1__/* .useInsertionEffectWithLayoutFallback */ .j)(function () { + var key = cache.key + "-global"; // use case of https://github.com/emotion-js/emotion/issues/2675 + + var sheet = new cache.sheet.constructor({ + key: key, + nonce: cache.sheet.nonce, + container: cache.sheet.container, + speedy: cache.sheet.isSpeedy + }); + var rehydrating = false; // $FlowFixMe + + var node = document.querySelector("style[data-emotion=\"" + key + " " + serialized.name + "\"]"); + if (cache.sheet.tags.length) { + sheet.before = cache.sheet.tags[0]; + } + if (node !== null) { + rehydrating = true; // clear the hash so this node won't be recognizable as rehydratable by other s + + node.setAttribute('data-emotion', key); + sheet.hydrate([node]); + } + sheetRef.current = [sheet, rehydrating]; + return function () { + sheet.flush(); + }; + }, [cache]); + (0,_emotion_use_insertion_effect_with_fallbacks__WEBPACK_IMPORTED_MODULE_1__/* .useInsertionEffectWithLayoutFallback */ .j)(function () { + var sheetRefCurrent = sheetRef.current; + var sheet = sheetRefCurrent[0], + rehydrating = sheetRefCurrent[1]; + if (rehydrating) { + sheetRefCurrent[1] = false; + return; + } + if (serialized.next !== undefined) { + // insert keyframes + (0,_emotion_utils__WEBPACK_IMPORTED_MODULE_6__/* .insertStyles */ .My)(cache, serialized.next, true); + } + if (sheet.tags.length) { + // if this doesn't exist then it will be null so the style element will be appended + var element = sheet.tags[sheet.tags.length - 1].nextElementSibling; + sheet.before = element; + sheet.flush(); + } + cache.insert("", serialized, sheet, false); + }, [cache, serialized.name]); + return null; +}); +if (false) {} +function css() { + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { + args[_key] = arguments[_key]; + } + return (0,_emotion_serialize__WEBPACK_IMPORTED_MODULE_2__/* .serializeStyles */ .O)(args); +} +var keyframes = function keyframes() { + var insertable = css.apply(void 0, arguments); + var name = "animation-" + insertable.name; // $FlowFixMe + + return { + name: name, + styles: "@keyframes " + name + "{" + insertable.styles + "}", + anim: 1, + toString: function toString() { + return "_EMO_" + this.name + "_" + this.styles + "_EMO_"; + } + }; +}; +var classnames = function classnames(args) { + var len = args.length; + var i = 0; + var cls = ''; + for (; i < len; i++) { + var arg = args[i]; + if (arg == null) continue; + var toAdd = void 0; + switch (typeof arg) { + case 'boolean': + break; + case 'object': + { + if (Array.isArray(arg)) { + toAdd = classnames(arg); + } else { + if (false) {} + toAdd = ''; + for (var k in arg) { + if (arg[k] && k) { + toAdd && (toAdd += ' '); + toAdd += k; + } + } + } + break; + } + default: + { + toAdd = arg; + } + } + if (toAdd) { + cls && (cls += ' '); + cls += toAdd; + } + } + return cls; +}; +function merge(registered, css, className) { + var registeredStyles = []; + var rawClassName = getRegisteredStyles(registered, registeredStyles, className); + if (registeredStyles.length < 2) { + return className; + } + return rawClassName + css(registeredStyles); +} +var Insertion = function Insertion(_ref) { + var cache = _ref.cache, + serializedArr = _ref.serializedArr; + useInsertionEffectAlwaysWithSyncFallback(function () { + for (var i = 0; i < serializedArr.length; i++) { + insertStyles(cache, serializedArr[i], false); + } + }); + return null; +}; +var ClassNames = /* #__PURE__ */(/* unused pure expression or super */ null && (withEmotionCache(function (props, cache) { + var hasRendered = false; + var serializedArr = []; + var css = function css() { + if (hasRendered && "production" !== 'production') {} + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { + args[_key] = arguments[_key]; + } + var serialized = serializeStyles(args, cache.registered); + serializedArr.push(serialized); // registration has to happen here as the result of this might get consumed by `cx` + + registerStyles(cache, serialized, false); + return cache.key + "-" + serialized.name; + }; + var cx = function cx() { + if (hasRendered && "production" !== 'production') {} + for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) { + args[_key2] = arguments[_key2]; + } + return merge(cache.registered, css, classnames(args)); + }; + var content = { + css: css, + cx: cx, + theme: React.useContext(ThemeContext) + }; + var ele = props.children(content); + hasRendered = true; + return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Insertion, { + cache: cache, + serializedArr: serializedArr + }), ele); +}))); +if (false) {} +if (false) { var globalKey, globalContext, isTestEnv, isBrowser; } + + +/***/ }), + +/***/ 7073: +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + O: () => (/* binding */ serializeStyles) +}); + +;// CONCATENATED MODULE: ./node_modules/.pnpm/@emotion+hash@0.9.1/node_modules/@emotion/hash/dist/emotion-hash.esm.js +/* eslint-disable */ +// Inspired by https://github.com/garycourt/murmurhash-js +// Ported from https://github.com/aappleby/smhasher/blob/61a0530f28277f2e850bfc39600ce61d02b518de/src/MurmurHash2.cpp#L37-L86 +function murmur2(str) { + // 'm' and 'r' are mixing constants generated offline. + // They're not really 'magic', they just happen to work well. + // const m = 0x5bd1e995; + // const r = 24; + // Initialize the hash + var h = 0; // Mix 4 bytes at a time into the hash + + var k, + i = 0, + len = str.length; + for (; len >= 4; ++i, len -= 4) { + k = str.charCodeAt(i) & 0xff | (str.charCodeAt(++i) & 0xff) << 8 | (str.charCodeAt(++i) & 0xff) << 16 | (str.charCodeAt(++i) & 0xff) << 24; + k = /* Math.imul(k, m): */ + (k & 0xffff) * 0x5bd1e995 + ((k >>> 16) * 0xe995 << 16); + k ^= /* k >>> r: */ + k >>> 24; + h = /* Math.imul(k, m): */ + (k & 0xffff) * 0x5bd1e995 + ((k >>> 16) * 0xe995 << 16) ^ /* Math.imul(h, m): */ + (h & 0xffff) * 0x5bd1e995 + ((h >>> 16) * 0xe995 << 16); + } // Handle the last few bytes of the input array + + switch (len) { + case 3: + h ^= (str.charCodeAt(i + 2) & 0xff) << 16; + case 2: + h ^= (str.charCodeAt(i + 1) & 0xff) << 8; + case 1: + h ^= str.charCodeAt(i) & 0xff; + h = /* Math.imul(h, m): */ + (h & 0xffff) * 0x5bd1e995 + ((h >>> 16) * 0xe995 << 16); + } // Do a few final mixes of the hash to ensure the last few + // bytes are well-incorporated. + + h ^= h >>> 13; + h = /* Math.imul(h, m): */ + (h & 0xffff) * 0x5bd1e995 + ((h >>> 16) * 0xe995 << 16); + return ((h ^ h >>> 15) >>> 0).toString(36); +} + +;// CONCATENATED MODULE: ./node_modules/.pnpm/@emotion+unitless@0.8.1/node_modules/@emotion/unitless/dist/emotion-unitless.esm.js +var unitlessKeys = { + animationIterationCount: 1, + aspectRatio: 1, + borderImageOutset: 1, + borderImageSlice: 1, + borderImageWidth: 1, + boxFlex: 1, + boxFlexGroup: 1, + boxOrdinalGroup: 1, + columnCount: 1, + columns: 1, + flex: 1, + flexGrow: 1, + flexPositive: 1, + flexShrink: 1, + flexNegative: 1, + flexOrder: 1, + gridRow: 1, + gridRowEnd: 1, + gridRowSpan: 1, + gridRowStart: 1, + gridColumn: 1, + gridColumnEnd: 1, + gridColumnSpan: 1, + gridColumnStart: 1, + msGridRow: 1, + msGridRowSpan: 1, + msGridColumn: 1, + msGridColumnSpan: 1, + fontWeight: 1, + lineHeight: 1, + opacity: 1, + order: 1, + orphans: 1, + tabSize: 1, + widows: 1, + zIndex: 1, + zoom: 1, + WebkitLineClamp: 1, + // SVG-related properties + fillOpacity: 1, + floodOpacity: 1, + stopOpacity: 1, + strokeDasharray: 1, + strokeDashoffset: 1, + strokeMiterlimit: 1, + strokeOpacity: 1, + strokeWidth: 1 +}; + +// EXTERNAL MODULE: ./node_modules/.pnpm/@emotion+memoize@0.8.1/node_modules/@emotion/memoize/dist/emotion-memoize.esm.js +var emotion_memoize_esm = __webpack_require__(7506); +;// CONCATENATED MODULE: ./node_modules/.pnpm/@emotion+serialize@1.1.2/node_modules/@emotion/serialize/dist/emotion-serialize.browser.esm.js @@ -889,7 +2111,7 @@ var isCustomProperty = function isCustomProperty(property) { var isProcessableValue = function isProcessableValue(value) { return value != null && typeof value !== 'boolean'; }; -var processStyleName = /* #__PURE__ */(0,_emotion_memoize__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(function (styleName) { +var processStyleName = /* #__PURE__ */(0,emotion_memoize_esm/* default */.Z)(function (styleName) { return isCustomProperty(styleName) ? styleName : styleName.replace(hyphenateRegex, '-$&').toLowerCase(); }); var processStyleValue = function processStyleValue(key, value) { @@ -909,7 +2131,7 @@ var processStyleValue = function processStyleValue(key, value) { } } } - if (_emotion_unitless__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z[key] !== 1 && !isCustomProperty(key) && typeof value === 'number' && value !== 0) { + if (unitlessKeys[key] !== 1 && !isCustomProperty(key) && typeof value === 'number' && value !== 0) { return value + 'px'; } return value; @@ -1065,7 +2287,7 @@ var serializeStyles = function serializeStyles(args, registered, mergedProps) { // $FlowFixMe we know it's not null match[1]; } - var name = (0,_emotion_hash__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(styles) + identifierName; + var name = murmur2(styles) + identifierName; if (false) {} return { name: name, @@ -1075,378 +2297,6 @@ var serializeStyles = function serializeStyles(args, registered, mergedProps) { }; -/***/ }), - -/***/ 3294: -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ m: () => (/* binding */ StyleSheet) -/* harmony export */ }); -/* - -Based off glamor's StyleSheet, thanks Sunil ❤️ - -high performance StyleSheet for css-in-js systems - -- uses multiple style tags behind the scenes for millions of rules -- uses `insertRule` for appending in production for *much* faster performance - -// usage - -import { StyleSheet } from '@emotion/sheet' - -let styleSheet = new StyleSheet({ key: '', container: document.head }) - -styleSheet.insert('#box { border: 1px solid red; }') -- appends a css rule into the stylesheet - -styleSheet.flush() -- empties the stylesheet of all its contents - -*/ -// $FlowFixMe -function sheetForTag(tag) { - if (tag.sheet) { - // $FlowFixMe - return tag.sheet; - } // this weirdness brought to you by firefox - - /* istanbul ignore next */ - - for (var i = 0; i < document.styleSheets.length; i++) { - if (document.styleSheets[i].ownerNode === tag) { - // $FlowFixMe - return document.styleSheets[i]; - } - } -} -function createStyleElement(options) { - var tag = document.createElement('style'); - tag.setAttribute('data-emotion', options.key); - if (options.nonce !== undefined) { - tag.setAttribute('nonce', options.nonce); - } - tag.appendChild(document.createTextNode('')); - tag.setAttribute('data-s', ''); - return tag; -} -var StyleSheet = /*#__PURE__*/function () { - // Using Node instead of HTMLElement since container may be a ShadowRoot - function StyleSheet(options) { - var _this = this; - this._insertTag = function (tag) { - var before; - if (_this.tags.length === 0) { - if (_this.insertionPoint) { - before = _this.insertionPoint.nextSibling; - } else if (_this.prepend) { - before = _this.container.firstChild; - } else { - before = _this.before; - } - } else { - before = _this.tags[_this.tags.length - 1].nextSibling; - } - _this.container.insertBefore(tag, before); - _this.tags.push(tag); - }; - this.isSpeedy = options.speedy === undefined ? "production" === 'production' : options.speedy; - this.tags = []; - this.ctr = 0; - this.nonce = options.nonce; // key is the value of the data-emotion attribute, it's used to identify different sheets - - this.key = options.key; - this.container = options.container; - this.prepend = options.prepend; - this.insertionPoint = options.insertionPoint; - this.before = null; - } - var _proto = StyleSheet.prototype; - _proto.hydrate = function hydrate(nodes) { - nodes.forEach(this._insertTag); - }; - _proto.insert = function insert(rule) { - // the max length is how many rules we have per style tag, it's 65000 in speedy mode - // it's 1 in dev because we insert source maps that map a single rule to a location - // and you can only have one source map per style tag - if (this.ctr % (this.isSpeedy ? 65000 : 1) === 0) { - this._insertTag(createStyleElement(this)); - } - var tag = this.tags[this.tags.length - 1]; - if (false) { var isImportRule; } - if (this.isSpeedy) { - var sheet = sheetForTag(tag); - try { - // this is the ultrafast version, works across browsers - // the big drawback is that the css won't be editable in devtools - sheet.insertRule(rule, sheet.cssRules.length); - } catch (e) { - if (false) {} - } - } else { - tag.appendChild(document.createTextNode(rule)); - } - this.ctr++; - }; - _proto.flush = function flush() { - // $FlowFixMe - this.tags.forEach(function (tag) { - return tag.parentNode && tag.parentNode.removeChild(tag); - }); - this.tags = []; - this.ctr = 0; - if (false) {} - }; - return StyleSheet; -}(); - - -/***/ }), - -/***/ 9707: -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ Z: () => (/* binding */ createStyled) -/* harmony export */ }); -/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(8957); -/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(7948); -/* harmony import */ var _emotion_is_prop_valid__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(190); -/* harmony import */ var _emotion_react__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(6387); -/* harmony import */ var _emotion_utils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(1443); -/* harmony import */ var _emotion_serialize__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(5525); -/* harmony import */ var _emotion_use_insertion_effect_with_fallbacks__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(122); - - - - - - - -var testOmitPropsOnStringTag = _emotion_is_prop_valid__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z; -var testOmitPropsOnComponent = function testOmitPropsOnComponent(key) { - return key !== 'theme'; -}; -var getDefaultShouldForwardProp = function getDefaultShouldForwardProp(tag) { - return typeof tag === 'string' && - // 96 is one less than the char code - // for "a" so this is checking that - // it's a lowercase character - tag.charCodeAt(0) > 96 ? testOmitPropsOnStringTag : testOmitPropsOnComponent; -}; -var composeShouldForwardProps = function composeShouldForwardProps(tag, options, isReal) { - var shouldForwardProp; - if (options) { - var optionsShouldForwardProp = options.shouldForwardProp; - shouldForwardProp = tag.__emotion_forwardProp && optionsShouldForwardProp ? function (propName) { - return tag.__emotion_forwardProp(propName) && optionsShouldForwardProp(propName); - } : optionsShouldForwardProp; - } - if (typeof shouldForwardProp !== 'function' && isReal) { - shouldForwardProp = tag.__emotion_forwardProp; - } - return shouldForwardProp; -}; -var ILLEGAL_ESCAPE_SEQUENCE_ERROR = "You have illegal escape sequence in your template literal, most likely inside content's property value.\nBecause you write your CSS inside a JavaScript string you actually have to do double escaping, so for example \"content: '\\00d7';\" should become \"content: '\\\\00d7';\".\nYou can read more about this here:\nhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences"; -var Insertion = function Insertion(_ref) { - var cache = _ref.cache, - serialized = _ref.serialized, - isStringTag = _ref.isStringTag; - (0,_emotion_utils__WEBPACK_IMPORTED_MODULE_4__/* .registerStyles */ .hC)(cache, serialized, isStringTag); - (0,_emotion_use_insertion_effect_with_fallbacks__WEBPACK_IMPORTED_MODULE_2__/* .useInsertionEffectAlwaysWithSyncFallback */ .L)(function () { - return (0,_emotion_utils__WEBPACK_IMPORTED_MODULE_4__/* .insertStyles */ .My)(cache, serialized, isStringTag); - }); - return null; -}; -var createStyled = function createStyled(tag, options) { - if (false) {} - var isReal = tag.__emotion_real === tag; - var baseTag = isReal && tag.__emotion_base || tag; - var identifierName; - var targetClassName; - if (options !== undefined) { - identifierName = options.label; - targetClassName = options.target; - } - var shouldForwardProp = composeShouldForwardProps(tag, options, isReal); - var defaultShouldForwardProp = shouldForwardProp || getDefaultShouldForwardProp(baseTag); - var shouldUseAs = !defaultShouldForwardProp('as'); - return function () { - var args = arguments; - var styles = isReal && tag.__emotion_styles !== undefined ? tag.__emotion_styles.slice(0) : []; - if (identifierName !== undefined) { - styles.push("label:" + identifierName + ";"); - } - if (args[0] == null || args[0].raw === undefined) { - styles.push.apply(styles, args); - } else { - if (false) {} - styles.push(args[0][0]); - var len = args.length; - var i = 1; - for (; i < len; i++) { - if (false) {} - styles.push(args[i], args[0][i]); - } - } // $FlowFixMe: we need to cast StatelessFunctionalComponent to our PrivateStyledComponent class - - var Styled = (0,_emotion_react__WEBPACK_IMPORTED_MODULE_5__.w)(function (props, cache, ref) { - var FinalTag = shouldUseAs && props.as || baseTag; - var className = ''; - var classInterpolations = []; - var mergedProps = props; - if (props.theme == null) { - mergedProps = {}; - for (var key in props) { - mergedProps[key] = props[key]; - } - mergedProps.theme = react__WEBPACK_IMPORTED_MODULE_0__.useContext(_emotion_react__WEBPACK_IMPORTED_MODULE_5__.T); - } - if (typeof props.className === 'string') { - className = (0,_emotion_utils__WEBPACK_IMPORTED_MODULE_4__/* .getRegisteredStyles */ .fp)(cache.registered, classInterpolations, props.className); - } else if (props.className != null) { - className = props.className + " "; - } - var serialized = (0,_emotion_serialize__WEBPACK_IMPORTED_MODULE_1__/* .serializeStyles */ .O)(styles.concat(classInterpolations), cache.registered, mergedProps); - className += cache.key + "-" + serialized.name; - if (targetClassName !== undefined) { - className += " " + targetClassName; - } - var finalShouldForwardProp = shouldUseAs && shouldForwardProp === undefined ? getDefaultShouldForwardProp(FinalTag) : defaultShouldForwardProp; - var newProps = {}; - for (var _key in props) { - if (shouldUseAs && _key === 'as') continue; - if ( - // $FlowFixMe - finalShouldForwardProp(_key)) { - newProps[_key] = props[_key]; - } - } - newProps.className = className; - newProps.ref = ref; - return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(react__WEBPACK_IMPORTED_MODULE_0__.Fragment, null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(Insertion, { - cache: cache, - serialized: serialized, - isStringTag: typeof FinalTag === 'string' - }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(FinalTag, newProps)); - }); - Styled.displayName = identifierName !== undefined ? identifierName : "Styled(" + (typeof baseTag === 'string' ? baseTag : baseTag.displayName || baseTag.name || 'Component') + ")"; - Styled.defaultProps = tag.defaultProps; - Styled.__emotion_real = Styled; - Styled.__emotion_base = baseTag; - Styled.__emotion_styles = styles; - Styled.__emotion_forwardProp = shouldForwardProp; - Object.defineProperty(Styled, 'toString', { - value: function value() { - if (targetClassName === undefined && "production" !== 'production') {} // $FlowFixMe: coerce undefined to string - - return "." + targetClassName; - } - }); - Styled.withComponent = function (nextTag, nextOptions) { - return createStyled(nextTag, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)({}, options, nextOptions, { - shouldForwardProp: composeShouldForwardProps(Styled, nextOptions, true) - })).apply(void 0, styles); - }; - return Styled; - }; -}; - - -/***/ }), - -/***/ 1527: -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ Z: () => (/* binding */ newStyled) -/* harmony export */ }); -/* harmony import */ var _base_dist_emotion_styled_base_browser_esm_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9707); -/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(7948); -/* harmony import */ var _emotion_serialize__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(5525); -/* harmony import */ var _emotion_use_insertion_effect_with_fallbacks__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(122); - - - - - - - - -var tags = ['a', 'abbr', 'address', 'area', 'article', 'aside', 'audio', 'b', 'base', 'bdi', 'bdo', 'big', 'blockquote', 'body', 'br', 'button', 'canvas', 'caption', 'cite', 'code', 'col', 'colgroup', 'data', 'datalist', 'dd', 'del', 'details', 'dfn', 'dialog', 'div', 'dl', 'dt', 'em', 'embed', 'fieldset', 'figcaption', 'figure', 'footer', 'form', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'head', 'header', 'hgroup', 'hr', 'html', 'i', 'iframe', 'img', 'input', 'ins', 'kbd', 'keygen', 'label', 'legend', 'li', 'link', 'main', 'map', 'mark', 'marquee', 'menu', 'menuitem', 'meta', 'meter', 'nav', 'noscript', 'object', 'ol', 'optgroup', 'option', 'output', 'p', 'param', 'picture', 'pre', 'progress', 'q', 'rp', 'rt', 'ruby', 's', 'samp', 'script', 'section', 'select', 'small', 'source', 'span', 'strong', 'style', 'sub', 'summary', 'sup', 'table', 'tbody', 'td', 'textarea', 'tfoot', 'th', 'thead', 'time', 'title', 'tr', 'track', 'u', 'ul', 'var', 'video', 'wbr', -// SVG -'circle', 'clipPath', 'defs', 'ellipse', 'foreignObject', 'g', 'image', 'line', 'linearGradient', 'mask', 'path', 'pattern', 'polygon', 'polyline', 'radialGradient', 'rect', 'stop', 'svg', 'text', 'tspan']; -var newStyled = _base_dist_emotion_styled_base_browser_esm_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z.bind(); -tags.forEach(function (tagName) { - // $FlowFixMe: we can ignore this because its exposed type is defined by the CreateStyled type - newStyled[tagName] = newStyled(tagName); -}); - - -/***/ }), - -/***/ 3509: -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ Z: () => (/* binding */ unitlessKeys) -/* harmony export */ }); -var unitlessKeys = { - animationIterationCount: 1, - aspectRatio: 1, - borderImageOutset: 1, - borderImageSlice: 1, - borderImageWidth: 1, - boxFlex: 1, - boxFlexGroup: 1, - boxOrdinalGroup: 1, - columnCount: 1, - columns: 1, - flex: 1, - flexGrow: 1, - flexPositive: 1, - flexShrink: 1, - flexNegative: 1, - flexOrder: 1, - gridRow: 1, - gridRowEnd: 1, - gridRowSpan: 1, - gridRowStart: 1, - gridColumn: 1, - gridColumnEnd: 1, - gridColumnSpan: 1, - gridColumnStart: 1, - msGridRow: 1, - msGridRowSpan: 1, - msGridColumn: 1, - msGridColumnSpan: 1, - fontWeight: 1, - lineHeight: 1, - opacity: 1, - order: 1, - orphans: 1, - tabSize: 1, - widows: 1, - zIndex: 1, - zoom: 1, - WebkitLineClamp: 1, - // SVG-related properties - fillOpacity: 1, - floodOpacity: 1, - stopOpacity: 1, - strokeDasharray: 1, - strokeDashoffset: 1, - strokeMiterlimit: 1, - strokeOpacity: 1, - strokeWidth: 1 -}; - - /***/ }), /***/ 122: @@ -1523,7 +2373,7 @@ var insertStyles = function insertStyles(cache, serialized, isStringTag) { /***/ }), -/***/ 349: +/***/ 305: /***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; @@ -1531,21 +2381,20 @@ var __webpack_unused_export__; "use client"; -var _interopRequireDefault = __webpack_require__(4652); +var _interopRequireDefault = __webpack_require__(3894); __webpack_unused_export__ = ({ value: true }); exports.Z = void 0; -var _createSvgIcon = _interopRequireDefault(__webpack_require__(6370)); +var _createSvgIcon = _interopRequireDefault(__webpack_require__(3783)); var _jsxRuntime = __webpack_require__(7394); -var _default = (0, _createSvgIcon.default)( /*#__PURE__*/(0, _jsxRuntime.jsx)("path", { +var _default = exports.Z = (0, _createSvgIcon.default)( /*#__PURE__*/(0, _jsxRuntime.jsx)("path", { d: "M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z" }), 'Close'); -exports.Z = _default; /***/ }), -/***/ 8035: +/***/ 5413: /***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; @@ -1553,21 +2402,20 @@ var __webpack_unused_export__; "use client"; -var _interopRequireDefault = __webpack_require__(4652); +var _interopRequireDefault = __webpack_require__(3894); __webpack_unused_export__ = ({ value: true }); exports.Z = void 0; -var _createSvgIcon = _interopRequireDefault(__webpack_require__(6370)); +var _createSvgIcon = _interopRequireDefault(__webpack_require__(3783)); var _jsxRuntime = __webpack_require__(7394); -var _default = (0, _createSvgIcon.default)( /*#__PURE__*/(0, _jsxRuntime.jsx)("path", { - d: "M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12V1zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm0 16H8V7h11v14z" +var _default = exports.Z = (0, _createSvgIcon.default)( /*#__PURE__*/(0, _jsxRuntime.jsx)("path", { + d: "M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2m0 16H8V7h11z" }), 'ContentCopy'); -exports.Z = _default; /***/ }), -/***/ 6560: +/***/ 5788: /***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; @@ -1575,21 +2423,20 @@ var __webpack_unused_export__; "use client"; -var _interopRequireDefault = __webpack_require__(4652); +var _interopRequireDefault = __webpack_require__(3894); __webpack_unused_export__ = ({ value: true }); exports.Z = void 0; -var _createSvgIcon = _interopRequireDefault(__webpack_require__(6370)); +var _createSvgIcon = _interopRequireDefault(__webpack_require__(3783)); var _jsxRuntime = __webpack_require__(7394); -var _default = (0, _createSvgIcon.default)( /*#__PURE__*/(0, _jsxRuntime.jsx)("path", { - d: "M12 3c-4.97 0-9 4.03-9 9s4.03 9 9 9 9-4.03 9-9c0-.46-.04-.92-.1-1.36-.98 1.37-2.58 2.26-4.4 2.26-2.98 0-5.4-2.42-5.4-5.4 0-1.81.89-3.42 2.26-4.4-.44-.06-.9-.1-1.36-.1z" +var _default = exports.Z = (0, _createSvgIcon.default)( /*#__PURE__*/(0, _jsxRuntime.jsx)("path", { + d: "M12 3c-4.97 0-9 4.03-9 9s4.03 9 9 9 9-4.03 9-9c0-.46-.04-.92-.1-1.36-.98 1.37-2.58 2.26-4.4 2.26-2.98 0-5.4-2.42-5.4-5.4 0-1.81.89-3.42 2.26-4.4-.44-.06-.9-.1-1.36-.1" }), 'DarkMode'); -exports.Z = _default; /***/ }), -/***/ 4581: +/***/ 2478: /***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; @@ -1597,21 +2444,20 @@ var __webpack_unused_export__; "use client"; -var _interopRequireDefault = __webpack_require__(4652); +var _interopRequireDefault = __webpack_require__(3894); __webpack_unused_export__ = ({ value: true }); exports.Z = void 0; -var _createSvgIcon = _interopRequireDefault(__webpack_require__(6370)); +var _createSvgIcon = _interopRequireDefault(__webpack_require__(3783)); var _jsxRuntime = __webpack_require__(7394); -var _default = (0, _createSvgIcon.default)( /*#__PURE__*/(0, _jsxRuntime.jsx)("path", { - d: "M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z" +var _default = exports.Z = (0, _createSvgIcon.default)( /*#__PURE__*/(0, _jsxRuntime.jsx)("path", { + d: "M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z" }), 'Done'); -exports.Z = _default; /***/ }), -/***/ 4752: +/***/ 6147: /***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; @@ -1619,21 +2465,41 @@ var __webpack_unused_export__; "use client"; -var _interopRequireDefault = __webpack_require__(4652); +var _interopRequireDefault = __webpack_require__(3894); __webpack_unused_export__ = ({ value: true }); exports.Z = void 0; -var _createSvgIcon = _interopRequireDefault(__webpack_require__(6370)); +var _createSvgIcon = _interopRequireDefault(__webpack_require__(3783)); var _jsxRuntime = __webpack_require__(7394); -var _default = (0, _createSvgIcon.default)( /*#__PURE__*/(0, _jsxRuntime.jsx)("path", { - d: "m12 21.35-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z" +var _default = exports.Z = (0, _createSvgIcon.default)( /*#__PURE__*/(0, _jsxRuntime.jsx)("path", { + d: "M11 18c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2 2 .9 2 2m-2-8c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m0-6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m6 4c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2m0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2" +}), 'DragIndicator'); + +/***/ }), + +/***/ 9839: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +"use strict"; +var __webpack_unused_export__; + +"use client"; + +var _interopRequireDefault = __webpack_require__(3894); +__webpack_unused_export__ = ({ + value: true +}); +exports.Z = void 0; +var _createSvgIcon = _interopRequireDefault(__webpack_require__(3783)); +var _jsxRuntime = __webpack_require__(7394); +var _default = exports.Z = (0, _createSvgIcon.default)( /*#__PURE__*/(0, _jsxRuntime.jsx)("path", { + d: "m12 21.35-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54z" }), 'Favorite'); -exports.Z = _default; /***/ }), -/***/ 1713: +/***/ 6062: /***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; @@ -1641,21 +2507,20 @@ var __webpack_unused_export__; "use client"; -var _interopRequireDefault = __webpack_require__(4652); +var _interopRequireDefault = __webpack_require__(3894); __webpack_unused_export__ = ({ value: true }); exports.Z = void 0; -var _createSvgIcon = _interopRequireDefault(__webpack_require__(6370)); +var _createSvgIcon = _interopRequireDefault(__webpack_require__(3783)); var _jsxRuntime = __webpack_require__(7394); -var _default = (0, _createSvgIcon.default)( /*#__PURE__*/(0, _jsxRuntime.jsx)("path", { - d: "M16.5 3c-1.74 0-3.41.81-4.5 2.09C10.91 3.81 9.24 3 7.5 3 4.42 3 2 5.42 2 8.5c0 3.78 3.4 6.86 8.55 11.54L12 21.35l1.45-1.32C18.6 15.36 22 12.28 22 8.5 22 5.42 19.58 3 16.5 3zm-4.4 15.55-.1.1-.1-.1C7.14 14.24 4 11.39 4 8.5 4 6.5 5.5 5 7.5 5c1.54 0 3.04.99 3.57 2.36h1.87C13.46 5.99 14.96 5 16.5 5c2 0 3.5 1.5 3.5 3.5 0 2.89-3.14 5.74-7.9 10.05z" +var _default = exports.Z = (0, _createSvgIcon.default)( /*#__PURE__*/(0, _jsxRuntime.jsx)("path", { + d: "M16.5 3c-1.74 0-3.41.81-4.5 2.09C10.91 3.81 9.24 3 7.5 3 4.42 3 2 5.42 2 8.5c0 3.78 3.4 6.86 8.55 11.54L12 21.35l1.45-1.32C18.6 15.36 22 12.28 22 8.5 22 5.42 19.58 3 16.5 3m-4.4 15.55-.1.1-.1-.1C7.14 14.24 4 11.39 4 8.5 4 6.5 5.5 5 7.5 5c1.54 0 3.04.99 3.57 2.36h1.87C13.46 5.99 14.96 5 16.5 5c2 0 3.5 1.5 3.5 3.5 0 2.89-3.14 5.74-7.9 10.05" }), 'FavoriteBorder'); -exports.Z = _default; /***/ }), -/***/ 1447: +/***/ 9235: /***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; @@ -1663,21 +2528,20 @@ var __webpack_unused_export__; "use client"; -var _interopRequireDefault = __webpack_require__(4652); +var _interopRequireDefault = __webpack_require__(3894); __webpack_unused_export__ = ({ value: true }); exports.Z = void 0; -var _createSvgIcon = _interopRequireDefault(__webpack_require__(6370)); +var _createSvgIcon = _interopRequireDefault(__webpack_require__(3783)); var _jsxRuntime = __webpack_require__(7394); -var _default = (0, _createSvgIcon.default)( /*#__PURE__*/(0, _jsxRuntime.jsx)("path", { +var _default = exports.Z = (0, _createSvgIcon.default)( /*#__PURE__*/(0, _jsxRuntime.jsx)("path", { d: "M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z" }), 'Home'); -exports.Z = _default; /***/ }), -/***/ 5386: +/***/ 8375: /***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; @@ -1685,21 +2549,20 @@ var __webpack_unused_export__; "use client"; -var _interopRequireDefault = __webpack_require__(4652); +var _interopRequireDefault = __webpack_require__(3894); __webpack_unused_export__ = ({ value: true }); exports.Z = void 0; -var _createSvgIcon = _interopRequireDefault(__webpack_require__(6370)); +var _createSvgIcon = _interopRequireDefault(__webpack_require__(3783)); var _jsxRuntime = __webpack_require__(7394); -var _default = (0, _createSvgIcon.default)( /*#__PURE__*/(0, _jsxRuntime.jsx)("path", { - d: "M20 2H8c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-7.53 12L9 10.5l1.4-1.41 2.07 2.08L17.6 6 19 7.41 12.47 14zM4 6H2v14c0 1.1.9 2 2 2h14v-2H4V6z" +var _default = exports.Z = (0, _createSvgIcon.default)( /*#__PURE__*/(0, _jsxRuntime.jsx)("path", { + d: "M20 2H8c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2m-7.53 12L9 10.5l1.4-1.41 2.07 2.08L17.6 6 19 7.41zM4 6H2v14c0 1.1.9 2 2 2h14v-2H4z" }), 'LibraryAddCheck'); -exports.Z = _default; /***/ }), -/***/ 3208: +/***/ 6250: /***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; @@ -1707,21 +2570,20 @@ var __webpack_unused_export__; "use client"; -var _interopRequireDefault = __webpack_require__(4652); +var _interopRequireDefault = __webpack_require__(3894); __webpack_unused_export__ = ({ value: true }); exports.Z = void 0; -var _createSvgIcon = _interopRequireDefault(__webpack_require__(6370)); +var _createSvgIcon = _interopRequireDefault(__webpack_require__(3783)); var _jsxRuntime = __webpack_require__(7394); -var _default = (0, _createSvgIcon.default)( /*#__PURE__*/(0, _jsxRuntime.jsx)("path", { - d: "M12 7c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5zM2 13h2c.55 0 1-.45 1-1s-.45-1-1-1H2c-.55 0-1 .45-1 1s.45 1 1 1zm18 0h2c.55 0 1-.45 1-1s-.45-1-1-1h-2c-.55 0-1 .45-1 1s.45 1 1 1zM11 2v2c0 .55.45 1 1 1s1-.45 1-1V2c0-.55-.45-1-1-1s-1 .45-1 1zm0 18v2c0 .55.45 1 1 1s1-.45 1-1v-2c0-.55-.45-1-1-1s-1 .45-1 1zM5.99 4.58c-.39-.39-1.03-.39-1.41 0-.39.39-.39 1.03 0 1.41l1.06 1.06c.39.39 1.03.39 1.41 0s.39-1.03 0-1.41L5.99 4.58zm12.37 12.37c-.39-.39-1.03-.39-1.41 0-.39.39-.39 1.03 0 1.41l1.06 1.06c.39.39 1.03.39 1.41 0 .39-.39.39-1.03 0-1.41l-1.06-1.06zm1.06-10.96c.39-.39.39-1.03 0-1.41-.39-.39-1.03-.39-1.41 0l-1.06 1.06c-.39.39-.39 1.03 0 1.41s1.03.39 1.41 0l1.06-1.06zM7.05 18.36c.39-.39.39-1.03 0-1.41-.39-.39-1.03-.39-1.41 0l-1.06 1.06c-.39.39-.39 1.03 0 1.41s1.03.39 1.41 0l1.06-1.06z" +var _default = exports.Z = (0, _createSvgIcon.default)( /*#__PURE__*/(0, _jsxRuntime.jsx)("path", { + d: "M12 7c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5M2 13h2c.55 0 1-.45 1-1s-.45-1-1-1H2c-.55 0-1 .45-1 1s.45 1 1 1m18 0h2c.55 0 1-.45 1-1s-.45-1-1-1h-2c-.55 0-1 .45-1 1s.45 1 1 1M11 2v2c0 .55.45 1 1 1s1-.45 1-1V2c0-.55-.45-1-1-1s-1 .45-1 1m0 18v2c0 .55.45 1 1 1s1-.45 1-1v-2c0-.55-.45-1-1-1s-1 .45-1 1M5.99 4.58c-.39-.39-1.03-.39-1.41 0-.39.39-.39 1.03 0 1.41l1.06 1.06c.39.39 1.03.39 1.41 0s.39-1.03 0-1.41zm12.37 12.37c-.39-.39-1.03-.39-1.41 0-.39.39-.39 1.03 0 1.41l1.06 1.06c.39.39 1.03.39 1.41 0 .39-.39.39-1.03 0-1.41zm1.06-10.96c.39-.39.39-1.03 0-1.41-.39-.39-1.03-.39-1.41 0l-1.06 1.06c-.39.39-.39 1.03 0 1.41s1.03.39 1.41 0zM7.05 18.36c.39-.39.39-1.03 0-1.41-.39-.39-1.03-.39-1.41 0l-1.06 1.06c-.39.39-.39 1.03 0 1.41s1.03.39 1.41 0z" }), 'LightMode'); -exports.Z = _default; /***/ }), -/***/ 6065: +/***/ 71: /***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; @@ -1729,21 +2591,63 @@ var __webpack_unused_export__; "use client"; -var _interopRequireDefault = __webpack_require__(4652); +var _interopRequireDefault = __webpack_require__(3894); __webpack_unused_export__ = ({ value: true }); exports.Z = void 0; -var _createSvgIcon = _interopRequireDefault(__webpack_require__(6370)); +var _createSvgIcon = _interopRequireDefault(__webpack_require__(3783)); var _jsxRuntime = __webpack_require__(7394); -var _default = (0, _createSvgIcon.default)( /*#__PURE__*/(0, _jsxRuntime.jsx)("path", { - d: "m12.87 15.07-2.54-2.51.03-.03c1.74-1.94 2.98-4.17 3.71-6.53H17V4h-7V2H8v2H1v1.99h11.17C11.5 7.92 10.44 9.75 9 11.35 8.07 10.32 7.3 9.19 6.69 8h-2c.73 1.63 1.73 3.17 2.98 4.56l-5.09 5.02L4 19l5-5 3.11 3.11.76-2.04zM18.5 10h-2L12 22h2l1.12-3h4.75L21 22h2l-4.5-12zm-2.62 7 1.62-4.33L19.12 17h-3.24z" +var _default = exports.Z = (0, _createSvgIcon.default)( /*#__PURE__*/(0, _jsxRuntime.jsx)("path", { + fillRule: "evenodd", + d: "M16 9V4h1c.55 0 1-.45 1-1s-.45-1-1-1H7c-.55 0-1 .45-1 1s.45 1 1 1h1v5c0 1.66-1.34 3-3 3v2h5.97v7l1 1 1-1v-7H19v-2c-1.66 0-3-1.34-3-3" +}), 'PushPin'); + +/***/ }), + +/***/ 9318: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +"use strict"; +var __webpack_unused_export__; + +"use client"; + +var _interopRequireDefault = __webpack_require__(3894); +__webpack_unused_export__ = ({ + value: true +}); +exports.Z = void 0; +var _createSvgIcon = _interopRequireDefault(__webpack_require__(3783)); +var _jsxRuntime = __webpack_require__(7394); +var _default = exports.Z = (0, _createSvgIcon.default)( /*#__PURE__*/(0, _jsxRuntime.jsx)("path", { + d: "M14 4v5c0 1.12.37 2.16 1 3H9c.65-.86 1-1.9 1-3V4zm3-2H7c-.55 0-1 .45-1 1s.45 1 1 1h1v5c0 1.66-1.34 3-3 3v2h5.97v7l1 1 1-1v-7H19v-2c-1.66 0-3-1.34-3-3V4h1c.55 0 1-.45 1-1s-.45-1-1-1" +}), 'PushPinOutlined'); + +/***/ }), + +/***/ 9055: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +"use strict"; +var __webpack_unused_export__; + +"use client"; + +var _interopRequireDefault = __webpack_require__(3894); +__webpack_unused_export__ = ({ + value: true +}); +exports.Z = void 0; +var _createSvgIcon = _interopRequireDefault(__webpack_require__(3783)); +var _jsxRuntime = __webpack_require__(7394); +var _default = exports.Z = (0, _createSvgIcon.default)( /*#__PURE__*/(0, _jsxRuntime.jsx)("path", { + d: "m12.87 15.07-2.54-2.51.03-.03c1.74-1.94 2.98-4.17 3.71-6.53H17V4h-7V2H8v2H1v1.99h11.17C11.5 7.92 10.44 9.75 9 11.35 8.07 10.32 7.3 9.19 6.69 8h-2c.73 1.63 1.73 3.17 2.98 4.56l-5.09 5.02L4 19l5-5 3.11 3.11zM18.5 10h-2L12 22h2l1.12-3h4.75L21 22h2zm-2.62 7 1.62-4.33L19.12 17z" }), 'Translate'); -exports.Z = _default; /***/ }), -/***/ 80: +/***/ 651: /***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; @@ -1751,21 +2655,62 @@ var __webpack_unused_export__; "use client"; -var _interopRequireDefault = __webpack_require__(4652); +var _interopRequireDefault = __webpack_require__(3894); __webpack_unused_export__ = ({ value: true }); exports.Z = void 0; -var _createSvgIcon = _interopRequireDefault(__webpack_require__(6370)); +var _createSvgIcon = _interopRequireDefault(__webpack_require__(3783)); var _jsxRuntime = __webpack_require__(7394); -var _default = (0, _createSvgIcon.default)( /*#__PURE__*/(0, _jsxRuntime.jsx)("path", { - d: "M3 9v6h4l5 5V4L7 9H3zm13.5 3c0-1.77-1.02-3.29-2.5-4.03v8.05c1.48-.73 2.5-2.25 2.5-4.02zM14 3.23v2.06c2.89.86 5 3.54 5 6.71s-2.11 5.85-5 6.71v2.06c4.01-.91 7-4.49 7-8.77s-2.99-7.86-7-8.77z" -}), 'VolumeUp'); -exports.Z = _default; +var _default = exports.Z = (0, _createSvgIcon.default)( /*#__PURE__*/(0, _jsxRuntime.jsx)("path", { + d: "M7.41 18.59 8.83 20 12 16.83 15.17 20l1.41-1.41L12 14zm9.18-13.18L15.17 4 12 7.17 8.83 4 7.41 5.41 12 10z" +}), 'UnfoldLess'); /***/ }), -/***/ 6370: +/***/ 5804: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +"use strict"; +var __webpack_unused_export__; + +"use client"; + +var _interopRequireDefault = __webpack_require__(3894); +__webpack_unused_export__ = ({ + value: true +}); +exports.Z = void 0; +var _createSvgIcon = _interopRequireDefault(__webpack_require__(3783)); +var _jsxRuntime = __webpack_require__(7394); +var _default = exports.Z = (0, _createSvgIcon.default)( /*#__PURE__*/(0, _jsxRuntime.jsx)("path", { + d: "M12 5.83 15.17 9l1.41-1.41L12 3 7.41 7.59 8.83 9zm0 12.34L8.83 15l-1.41 1.41L12 21l4.59-4.59L15.17 15z" +}), 'UnfoldMore'); + +/***/ }), + +/***/ 6060: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +"use strict"; +var __webpack_unused_export__; + +"use client"; + +var _interopRequireDefault = __webpack_require__(3894); +__webpack_unused_export__ = ({ + value: true +}); +exports.Z = void 0; +var _createSvgIcon = _interopRequireDefault(__webpack_require__(3783)); +var _jsxRuntime = __webpack_require__(7394); +var _default = exports.Z = (0, _createSvgIcon.default)( /*#__PURE__*/(0, _jsxRuntime.jsx)("path", { + d: "M3 9v6h4l5 5V4L7 9zm13.5 3c0-1.77-1.02-3.29-2.5-4.03v8.05c1.48-.73 2.5-2.25 2.5-4.02M14 3.23v2.06c2.89.86 5 3.54 5 6.71s-2.11 5.85-5 6.71v2.06c4.01-.91 7-4.49 7-8.77s-2.99-7.86-7-8.77" +}), 'VolumeUp'); + +/***/ }), + +/***/ 3783: /***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; @@ -1781,11 +2726,11 @@ Object.defineProperty(exports, "default", ({ return _utils.createSvgIcon; } })); -var _utils = __webpack_require__(6782); +var _utils = __webpack_require__(1254); /***/ }), -/***/ 9655: +/***/ 7262: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; @@ -1812,7 +2757,7 @@ const blue = { /***/ }), -/***/ 6860: +/***/ 3353: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; @@ -1827,7 +2772,7 @@ const common = { /***/ }), -/***/ 7920: +/***/ 2587: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; @@ -1854,7 +2799,7 @@ const green = { /***/ }), -/***/ 5721: +/***/ 2181: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; @@ -1881,7 +2826,7 @@ const grey = { /***/ }), -/***/ 7536: +/***/ 6645: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; @@ -1908,7 +2853,7 @@ const lightBlue = { /***/ }), -/***/ 609: +/***/ 5283: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; @@ -1935,7 +2880,7 @@ const orange = { /***/ }), -/***/ 5524: +/***/ 9617: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; @@ -1962,7 +2907,7 @@ const purple = { /***/ }), -/***/ 9972: +/***/ 6008: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; @@ -1989,14 +2934,14 @@ const red = { /***/ }), -/***/ 7027: +/***/ 791: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ Z: () => (/* binding */ createMixins) /* harmony export */ }); -/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8957); +/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1010); function createMixins(breakpoints, mixins) { return (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)({ @@ -2016,7 +2961,7 @@ function createMixins(breakpoints, mixins) { /***/ }), -/***/ 7818: +/***/ 2777: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; @@ -2024,19 +2969,19 @@ function createMixins(breakpoints, mixins) { /* harmony export */ ZP: () => (/* binding */ createPalette) /* harmony export */ }); /* unused harmony exports light, dark */ -/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(8957); -/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(45); -/* harmony import */ var _mui_utils__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(310); -/* harmony import */ var _mui_utils__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(1754); -/* harmony import */ var _mui_system__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(2269); -/* harmony import */ var _colors_common__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6860); -/* harmony import */ var _colors_grey__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(5721); -/* harmony import */ var _colors_purple__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(5524); -/* harmony import */ var _colors_red__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(9972); -/* harmony import */ var _colors_orange__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(609); -/* harmony import */ var _colors_blue__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(9655); -/* harmony import */ var _colors_lightBlue__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(7536); -/* harmony import */ var _colors_green__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(7920); +/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(1010); +/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(3031); +/* harmony import */ var _mui_utils_formatMuiErrorMessage__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(4451); +/* harmony import */ var _mui_utils_deepmerge__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(8836); +/* harmony import */ var _mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(1744); +/* harmony import */ var _colors_common__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(3353); +/* harmony import */ var _colors_grey__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(2181); +/* harmony import */ var _colors_purple__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(9617); +/* harmony import */ var _colors_red__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(6008); +/* harmony import */ var _colors_orange__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(5283); +/* harmony import */ var _colors_blue__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(7262); +/* harmony import */ var _colors_lightBlue__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(6645); +/* harmony import */ var _colors_green__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(2587); @@ -2122,9 +3067,9 @@ function addLightOrDark(intent, direction, shade, tonalOffset) { if (intent.hasOwnProperty(shade)) { intent[direction] = intent[shade]; } else if (direction === 'light') { - intent.light = (0,_mui_system__WEBPACK_IMPORTED_MODULE_1__/* .lighten */ .$n)(intent.main, tonalOffsetLight); + intent.light = (0,_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_1__/* .lighten */ .$n)(intent.main, tonalOffsetLight); } else if (direction === 'dark') { - intent.dark = (0,_mui_system__WEBPACK_IMPORTED_MODULE_1__/* .darken */ ._j)(intent.main, tonalOffsetDark); + intent.dark = (0,_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_1__/* .darken */ ._j)(intent.main, tonalOffsetDark); } } } @@ -2237,7 +3182,7 @@ function createPalette(palette) { // Bootstrap: https://github.com/twbs/bootstrap/blob/1d6e3710dd447de1a200f29e8fa521f8a0908f70/scss/_functions.scss#L59 // and material-components-web https://github.com/material-components/material-components-web/blob/ac46b8863c4dab9fc22c4c662dc6bd1b65dd652f/packages/mdc-theme/_functions.scss#L54 function getContrastText(background) { - const contrastText = (0,_mui_system__WEBPACK_IMPORTED_MODULE_1__/* .getContrastRatio */ .mi)(background, dark.text.primary) >= contrastThreshold ? dark.text.primary : light.text.primary; + const contrastText = (0,_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_1__/* .getContrastRatio */ .mi)(background, dark.text.primary) >= contrastThreshold ? dark.text.primary : light.text.primary; if (false) {} return contrastText; } @@ -2254,10 +3199,10 @@ function createPalette(palette) { color.main = color[mainShade]; } if (!color.hasOwnProperty('main')) { - throw new Error( false ? 0 : (0,_mui_utils__WEBPACK_IMPORTED_MODULE_10__/* ["default"] */ .Z)(11, name ? " (".concat(name, ")") : '', mainShade)); + throw new Error( false ? 0 : (0,_mui_utils_formatMuiErrorMessage__WEBPACK_IMPORTED_MODULE_10__/* ["default"] */ .Z)(11, name ? " (".concat(name, ")") : '', mainShade)); } if (typeof color.main !== 'string') { - throw new Error( false ? 0 : (0,_mui_utils__WEBPACK_IMPORTED_MODULE_10__/* ["default"] */ .Z)(12, name ? " (".concat(name, ")") : '', JSON.stringify(color.main))); + throw new Error( false ? 0 : (0,_mui_utils_formatMuiErrorMessage__WEBPACK_IMPORTED_MODULE_10__/* ["default"] */ .Z)(12, name ? " (".concat(name, ")") : '', JSON.stringify(color.main))); } addLightOrDark(color, 'light', lightShade, tonalOffset); addLightOrDark(color, 'dark', darkShade, tonalOffset); @@ -2271,7 +3216,7 @@ function createPalette(palette) { light }; if (false) {} - const paletteOutput = (0,_mui_utils__WEBPACK_IMPORTED_MODULE_11__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z)({ + const paletteOutput = (0,_mui_utils_deepmerge__WEBPACK_IMPORTED_MODULE_11__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z)({ // A collection of common colors. common: (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z)({}, _colors_common__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z), // prevent mutable object. @@ -2329,7 +3274,7 @@ function createPalette(palette) { /***/ }), -/***/ 8538: +/***/ 1126: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; @@ -2337,19 +3282,19 @@ function createPalette(palette) { /* harmony export */ Z: () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); /* unused harmony export createMuiTheme */ -/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(8957); -/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(45); -/* harmony import */ var _mui_utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(310); -/* harmony import */ var _mui_utils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(1754); -/* harmony import */ var _mui_system__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(8311); -/* harmony import */ var _mui_system__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(3094); -/* harmony import */ var _mui_system__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(7761); -/* harmony import */ var _createMixins__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(7027); -/* harmony import */ var _createPalette__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(7818); -/* harmony import */ var _createTypography__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(8243); -/* harmony import */ var _shadows__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(2743); -/* harmony import */ var _createTransitions__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(2444); -/* harmony import */ var _zIndex__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(2046); +/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(1010); +/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(3031); +/* harmony import */ var _mui_utils_formatMuiErrorMessage__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4451); +/* harmony import */ var _mui_utils_deepmerge__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(8836); +/* harmony import */ var _mui_system_styleFunctionSx__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(3913); +/* harmony import */ var _mui_system_styleFunctionSx__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(7692); +/* harmony import */ var _mui_system_createTheme__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(2332); +/* harmony import */ var _createMixins__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(791); +/* harmony import */ var _createPalette__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(2777); +/* harmony import */ var _createTypography__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(6661); +/* harmony import */ var _shadows__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(2454); +/* harmony import */ var _createTransitions__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(1292); +/* harmony import */ var _zIndex__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(8771); @@ -2363,6 +3308,7 @@ const _excluded = ["breakpoints", "mixins", "spacing", "palette", "transitions", + function createTheme() { let options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; const { @@ -2373,11 +3319,11 @@ function createTheme() { } = options, other = (0,_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(options, _excluded); if (options.vars) { - throw new Error( false ? 0 : (0,_mui_utils__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(18)); + throw new Error( false ? 0 : (0,_mui_utils_formatMuiErrorMessage__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(18)); } const palette = (0,_createPalette__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)(paletteInput); - const systemTheme = (0,_mui_system__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(options); - let muiTheme = (0,_mui_utils__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(systemTheme, { + const systemTheme = (0,_mui_system_createTheme__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(options); + let muiTheme = (0,_mui_utils_deepmerge__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(systemTheme, { mixins: (0,_createMixins__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)(systemTheme.breakpoints, mixinsInput), palette, // Don't use [...shadows] until you've verified its transpiled code is not invoking the iterator protocol. @@ -2386,15 +3332,15 @@ function createTheme() { transitions: (0,_createTransitions__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .ZP)(transitionsInput), zIndex: (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z)({}, _zIndex__WEBPACK_IMPORTED_MODULE_10__/* ["default"] */ .Z) }); - muiTheme = (0,_mui_utils__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(muiTheme, other); + muiTheme = (0,_mui_utils_deepmerge__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(muiTheme, other); for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) { args[_key - 1] = arguments[_key]; } - muiTheme = args.reduce((acc, argument) => (0,_mui_utils__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(acc, argument), muiTheme); + muiTheme = args.reduce((acc, argument) => (0,_mui_utils_deepmerge__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(acc, argument), muiTheme); if (false) {} - muiTheme.unstable_sxConfig = (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z)({}, _mui_system__WEBPACK_IMPORTED_MODULE_11__/* ["default"] */ .Z, other == null ? void 0 : other.unstable_sxConfig); + muiTheme.unstable_sxConfig = (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z)({}, _mui_system_styleFunctionSx__WEBPACK_IMPORTED_MODULE_11__/* ["default"] */ .Z, other == null ? void 0 : other.unstable_sxConfig); muiTheme.unstable_sx = function sx(props) { - return (0,_mui_system__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z)({ + return (0,_mui_system_styleFunctionSx__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z)({ sx: props, theme: this }); @@ -2410,7 +3356,7 @@ function createMuiTheme() { /***/ }), -/***/ 2444: +/***/ 1292: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; @@ -2418,8 +3364,8 @@ function createMuiTheme() { /* harmony export */ ZP: () => (/* binding */ createTransitions) /* harmony export */ }); /* unused harmony exports easing, duration */ -/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(45); -/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8957); +/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3031); +/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1010); const _excluded = ["duration", "easing", "delay"]; @@ -2490,16 +3436,16 @@ function createTransitions(inputTransitions) { /***/ }), -/***/ 8243: +/***/ 6661: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ Z: () => (/* binding */ createTypography) /* harmony export */ }); -/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(8957); -/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(45); -/* harmony import */ var _mui_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(1754); +/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(1010); +/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(3031); +/* harmony import */ var _mui_utils_deepmerge__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(8836); const _excluded = ["fontFamily", "fontSize", "fontWeightLight", "fontWeightRegular", "fontWeightMedium", "fontWeightBold", "htmlFontSize", "allVariants", "pxToRem"]; @@ -2570,7 +3516,7 @@ function createTypography(palette, typography) { letterSpacing: 'inherit' } }; - return (0,_mui_utils__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)({ + return (0,_mui_utils_deepmerge__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)({ htmlFontSize, pxToRem, fontFamily, @@ -2586,14 +3532,14 @@ function createTypography(palette, typography) { /***/ }), -/***/ 4065: +/***/ 1315: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ Z: () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); -/* harmony import */ var _createTheme__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8538); +/* harmony import */ var _createTheme__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1126); 'use client'; @@ -2602,7 +3548,7 @@ const defaultTheme = (0,_createTheme__WEBPACK_IMPORTED_MODULE_0__/* ["default"] /***/ }), -/***/ 9881: +/***/ 4876: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; @@ -2613,7 +3559,21 @@ const defaultTheme = (0,_createTheme__WEBPACK_IMPORTED_MODULE_0__/* ["default"] /***/ }), -/***/ 2743: +/***/ 2243: +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ Z: () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/* harmony import */ var _slotShouldForwardProp__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(5023); + +const rootShouldForwardProp = prop => (0,_slotShouldForwardProp__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(prop) && prop !== 'classes'; +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (rootShouldForwardProp); + +/***/ }), + +/***/ 2454: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; @@ -2633,44 +3593,59 @@ const shadows = ['none', createShadow(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), crea /***/ }), -/***/ 5215: +/***/ 5023: +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ Z: () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +// copied from @mui/system/createStyled +function slotShouldForwardProp(prop) { + return prop !== 'ownerState' && prop !== 'theme' && prop !== 'sx' && prop !== 'as'; +} +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (slotShouldForwardProp); + +/***/ }), + +/***/ 1535: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ Dz: () => (/* binding */ slotShouldForwardProp), -/* harmony export */ FO: () => (/* binding */ rootShouldForwardProp), /* harmony export */ ZP: () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); -/* harmony import */ var _mui_system__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4891); -/* harmony import */ var _defaultTheme__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(4065); -/* harmony import */ var _identifier__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(9881); +/* harmony import */ var _mui_system_createStyled__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1950); +/* harmony import */ var _defaultTheme__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(1315); +/* harmony import */ var _identifier__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4876); +/* harmony import */ var _rootShouldForwardProp__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(2243); 'use client'; -const rootShouldForwardProp = prop => (0,_mui_system__WEBPACK_IMPORTED_MODULE_0__/* .shouldForwardProp */ .x9)(prop) && prop !== 'classes'; -const slotShouldForwardProp = _mui_system__WEBPACK_IMPORTED_MODULE_0__/* .shouldForwardProp */ .x9; -const styled = (0,_mui_system__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .ZP)({ + + + +const styled = (0,_mui_system_createStyled__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .ZP)({ themeId: _identifier__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z, defaultTheme: _defaultTheme__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z, - rootShouldForwardProp + rootShouldForwardProp: _rootShouldForwardProp__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z }); /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (styled); /***/ }), -/***/ 4167: +/***/ 1778: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ Z: () => (/* binding */ useThemeProps) /* harmony export */ }); -/* harmony import */ var _mui_system__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9507); -/* harmony import */ var _defaultTheme__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4065); -/* harmony import */ var _identifier__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(9881); +/* harmony import */ var _mui_system_useThemeProps__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(3696); +/* harmony import */ var _defaultTheme__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(1315); +/* harmony import */ var _identifier__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(4876); 'use client'; @@ -2681,7 +3656,7 @@ function useThemeProps(_ref) { props, name } = _ref; - return (0,_mui_system__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)({ + return (0,_mui_system_useThemeProps__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)({ props, name, defaultTheme: _defaultTheme__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z, @@ -2691,7 +3666,7 @@ function useThemeProps(_ref) { /***/ }), -/***/ 2046: +/***/ 8771: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; @@ -2714,33 +3689,33 @@ const zIndex = { /***/ }), -/***/ 8466: +/***/ 7593: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ Z: () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); -/* harmony import */ var _mui_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(5789); +/* harmony import */ var _mui_utils_capitalize__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4656); -/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_mui_utils__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z); +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_mui_utils_capitalize__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z); /***/ }), -/***/ 258: +/***/ 2876: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ Z: () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); -/* harmony import */ var _mui_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9839); +/* harmony import */ var _mui_utils_createChainedFunction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(3444); -/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_mui_utils__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z); +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_mui_utils_createChainedFunction__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z); /***/ }), -/***/ 7592: +/***/ 9295: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; @@ -2750,37 +3725,37 @@ __webpack_require__.d(__webpack_exports__, { Z: () => (/* binding */ createSvgIcon) }); -// EXTERNAL MODULE: ./node_modules/.pnpm/@babel+runtime@7.22.15/node_modules/@babel/runtime/helpers/esm/extends.js -var esm_extends = __webpack_require__(8957); +// EXTERNAL MODULE: ./node_modules/.pnpm/@babel+runtime@7.24.4/node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(1010); // EXTERNAL MODULE: ./node_modules/.pnpm/react@18.2.0/node_modules/react/index.js var react = __webpack_require__(7948); -// EXTERNAL MODULE: ./node_modules/.pnpm/@babel+runtime@7.22.15/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js -var objectWithoutPropertiesLoose = __webpack_require__(45); -// EXTERNAL MODULE: ./node_modules/.pnpm/clsx@2.0.0/node_modules/clsx/dist/clsx.mjs -var clsx = __webpack_require__(5675); -// EXTERNAL MODULE: ./node_modules/.pnpm/@mui+utils@5.14.10_@types+react@18.2.67_react@18.2.0/node_modules/@mui/utils/esm/composeClasses/composeClasses.js -var composeClasses = __webpack_require__(8550); -// EXTERNAL MODULE: ./node_modules/.pnpm/@mui+material@5.14.10_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.67_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/utils/capitalize.js -var capitalize = __webpack_require__(8466); -// EXTERNAL MODULE: ./node_modules/.pnpm/@mui+material@5.14.10_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.67_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/styles/useThemeProps.js -var useThemeProps = __webpack_require__(4167); -// EXTERNAL MODULE: ./node_modules/.pnpm/@mui+material@5.14.10_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.67_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/styles/styled.js -var styled = __webpack_require__(5215); -// EXTERNAL MODULE: ./node_modules/.pnpm/@mui+utils@5.14.10_@types+react@18.2.67_react@18.2.0/node_modules/@mui/utils/esm/generateUtilityClasses/generateUtilityClasses.js -var generateUtilityClasses = __webpack_require__(9016); -// EXTERNAL MODULE: ./node_modules/.pnpm/@mui+utils@5.14.10_@types+react@18.2.67_react@18.2.0/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js -var generateUtilityClass = __webpack_require__(4258); -;// CONCATENATED MODULE: ./node_modules/.pnpm/@mui+material@5.14.10_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.67_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/SvgIcon/svgIconClasses.js +// EXTERNAL MODULE: ./node_modules/.pnpm/@babel+runtime@7.24.4/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +var objectWithoutPropertiesLoose = __webpack_require__(3031); +// EXTERNAL MODULE: ./node_modules/.pnpm/clsx@2.1.0/node_modules/clsx/dist/clsx.mjs +var clsx = __webpack_require__(8152); +// EXTERNAL MODULE: ./node_modules/.pnpm/@mui+utils@5.15.14_@types+react@18.2.79_react@18.2.0/node_modules/@mui/utils/composeClasses/composeClasses.js +var composeClasses = __webpack_require__(5923); +// EXTERNAL MODULE: ./node_modules/.pnpm/@mui+material@5.15.15_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.79_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/utils/capitalize.js +var capitalize = __webpack_require__(7593); +// EXTERNAL MODULE: ./node_modules/.pnpm/@mui+material@5.15.15_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.79_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/styles/useThemeProps.js +var useThemeProps = __webpack_require__(1778); +// EXTERNAL MODULE: ./node_modules/.pnpm/@mui+material@5.15.15_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.79_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/styles/styled.js +var styled = __webpack_require__(1535); +// EXTERNAL MODULE: ./node_modules/.pnpm/@mui+utils@5.15.14_@types+react@18.2.79_react@18.2.0/node_modules/@mui/utils/generateUtilityClasses/generateUtilityClasses.js +var generateUtilityClasses = __webpack_require__(3453); +// EXTERNAL MODULE: ./node_modules/.pnpm/@mui+utils@5.15.14_@types+react@18.2.79_react@18.2.0/node_modules/@mui/utils/generateUtilityClass/generateUtilityClass.js +var generateUtilityClass = __webpack_require__(8092); +;// CONCATENATED MODULE: ./node_modules/.pnpm/@mui+material@5.15.15_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.79_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/SvgIcon/svgIconClasses.js function getSvgIconUtilityClass(slot) { - return (0,generateUtilityClass/* default */.Z)('MuiSvgIcon', slot); + return (0,generateUtilityClass/* default */.ZP)('MuiSvgIcon', slot); } const svgIconClasses = (0,generateUtilityClasses/* default */.Z)('MuiSvgIcon', ['root', 'colorPrimary', 'colorSecondary', 'colorAction', 'colorError', 'colorDisabled', 'fontSizeInherit', 'fontSizeSmall', 'fontSizeMedium', 'fontSizeLarge']); /* harmony default export */ const SvgIcon_svgIconClasses = ((/* unused pure expression or super */ null && (svgIconClasses))); // EXTERNAL MODULE: ./node_modules/.pnpm/react@18.2.0/node_modules/react/jsx-runtime.js var jsx_runtime = __webpack_require__(7394); -;// CONCATENATED MODULE: ./node_modules/.pnpm/@mui+material@5.14.10_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.67_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/SvgIcon/SvgIcon.js +;// CONCATENATED MODULE: ./node_modules/.pnpm/@mui+material@5.15.15_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.79_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/SvgIcon/SvgIcon.js 'use client'; @@ -2828,7 +3803,7 @@ const SvgIconRoot = (0,styled/* default */.ZP)('svg', { height: '1em', display: 'inline-block', // the will define the property that has `currentColor` - // e.g. heroicons uses fill="none" and stroke="currentColor" + // for example heroicons uses fill="none" and stroke="currentColor" fill: ownerState.hasSvgAsChild ? undefined : 'currentColor', flexShrink: 0, transition: (_theme$transitions = theme.transitions) == null || (_theme$transitions$cr = _theme$transitions.create) == null ? void 0 : _theme$transitions$cr.call(_theme$transitions, 'fill', { @@ -2898,7 +3873,7 @@ const SvgIcon = /*#__PURE__*/react.forwardRef(function SvgIcon(inProps, ref) { false ? 0 : void 0; SvgIcon.muiName = 'SvgIcon'; /* harmony default export */ const SvgIcon_SvgIcon = (SvgIcon); -;// CONCATENATED MODULE: ./node_modules/.pnpm/@mui+material@5.14.10_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.67_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/utils/createSvgIcon.js +;// CONCATENATED MODULE: ./node_modules/.pnpm/@mui+material@5.15.15_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.79_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/utils/createSvgIcon.js 'use client'; @@ -2925,20 +3900,20 @@ function createSvgIcon(path, displayName) { /***/ }), -/***/ 6259: +/***/ 5036: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ Z: () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); -/* harmony import */ var _mui_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(503); +/* harmony import */ var _mui_utils_debounce__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9082); -/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_mui_utils__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z); +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_mui_utils_debounce__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z); /***/ }), -/***/ 6782: +/***/ 1254: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; @@ -2967,17 +3942,17 @@ __webpack_require__.d(__webpack_exports__, { useIsFocusVisible: () => (/* reexport */ useIsFocusVisible/* default */.Z) }); -// EXTERNAL MODULE: ./node_modules/.pnpm/@mui+utils@5.14.10_@types+react@18.2.67_react@18.2.0/node_modules/@mui/utils/esm/ClassNameGenerator/ClassNameGenerator.js -var ClassNameGenerator = __webpack_require__(9141); -// EXTERNAL MODULE: ./node_modules/.pnpm/@mui+material@5.14.10_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.67_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/utils/capitalize.js -var capitalize = __webpack_require__(8466); -// EXTERNAL MODULE: ./node_modules/.pnpm/@mui+material@5.14.10_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.67_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/utils/createChainedFunction.js -var createChainedFunction = __webpack_require__(258); -// EXTERNAL MODULE: ./node_modules/.pnpm/@mui+material@5.14.10_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.67_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/utils/createSvgIcon.js + 2 modules -var createSvgIcon = __webpack_require__(7592); -// EXTERNAL MODULE: ./node_modules/.pnpm/@mui+material@5.14.10_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.67_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/utils/debounce.js -var debounce = __webpack_require__(6259); -;// CONCATENATED MODULE: ./node_modules/.pnpm/@mui+utils@5.14.10_@types+react@18.2.67_react@18.2.0/node_modules/@mui/utils/esm/deprecatedPropType.js +// EXTERNAL MODULE: ./node_modules/.pnpm/@mui+utils@5.15.14_@types+react@18.2.79_react@18.2.0/node_modules/@mui/utils/ClassNameGenerator/ClassNameGenerator.js +var ClassNameGenerator = __webpack_require__(3705); +// EXTERNAL MODULE: ./node_modules/.pnpm/@mui+material@5.15.15_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.79_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/utils/capitalize.js +var capitalize = __webpack_require__(7593); +// EXTERNAL MODULE: ./node_modules/.pnpm/@mui+material@5.15.15_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.79_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/utils/createChainedFunction.js +var createChainedFunction = __webpack_require__(2876); +// EXTERNAL MODULE: ./node_modules/.pnpm/@mui+material@5.15.15_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.79_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/utils/createSvgIcon.js + 2 modules +var createSvgIcon = __webpack_require__(9295); +// EXTERNAL MODULE: ./node_modules/.pnpm/@mui+material@5.15.15_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.79_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/utils/debounce.js +var debounce = __webpack_require__(5036); +;// CONCATENATED MODULE: ./node_modules/.pnpm/@mui+utils@5.15.14_@types+react@18.2.79_react@18.2.0/node_modules/@mui/utils/deprecatedPropType/deprecatedPropType.js function deprecatedPropType(validator, reason) { if (true) { return () => null; @@ -2991,18 +3966,18 @@ function deprecatedPropType(validator, reason) { return null; }; } -;// CONCATENATED MODULE: ./node_modules/.pnpm/@mui+material@5.14.10_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.67_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/utils/deprecatedPropType.js +;// CONCATENATED MODULE: ./node_modules/.pnpm/@mui+material@5.15.15_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.79_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/utils/deprecatedPropType.js /* harmony default export */ const utils_deprecatedPropType = (deprecatedPropType); -// EXTERNAL MODULE: ./node_modules/.pnpm/@mui+material@5.14.10_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.67_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/utils/isMuiElement.js + 1 modules -var isMuiElement = __webpack_require__(2705); -// EXTERNAL MODULE: ./node_modules/.pnpm/@mui+material@5.14.10_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.67_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/utils/ownerDocument.js -var ownerDocument = __webpack_require__(7805); -// EXTERNAL MODULE: ./node_modules/.pnpm/@mui+material@5.14.10_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.67_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/utils/ownerWindow.js -var ownerWindow = __webpack_require__(9814); -// EXTERNAL MODULE: ./node_modules/.pnpm/@babel+runtime@7.22.15/node_modules/@babel/runtime/helpers/esm/extends.js -var esm_extends = __webpack_require__(8957); -;// CONCATENATED MODULE: ./node_modules/.pnpm/@mui+utils@5.14.10_@types+react@18.2.67_react@18.2.0/node_modules/@mui/utils/esm/requirePropFactory.js +// EXTERNAL MODULE: ./node_modules/.pnpm/@mui+material@5.15.15_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.79_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/utils/isMuiElement.js + 1 modules +var isMuiElement = __webpack_require__(3272); +// EXTERNAL MODULE: ./node_modules/.pnpm/@mui+material@5.15.15_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.79_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/utils/ownerDocument.js +var ownerDocument = __webpack_require__(1704); +// EXTERNAL MODULE: ./node_modules/.pnpm/@mui+material@5.15.15_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.79_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/utils/ownerWindow.js +var ownerWindow = __webpack_require__(5329); +// EXTERNAL MODULE: ./node_modules/.pnpm/@babel+runtime@7.24.4/node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(1010); +;// CONCATENATED MODULE: ./node_modules/.pnpm/@mui+utils@5.15.14_@types+react@18.2.79_react@18.2.0/node_modules/@mui/utils/requirePropFactory/requirePropFactory.js function requirePropFactory(componentNameInError, Component) { if (true) { @@ -3030,19 +4005,19 @@ function requirePropFactory(componentNameInError, Component) { }; return requireProp; } -;// CONCATENATED MODULE: ./node_modules/.pnpm/@mui+material@5.14.10_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.67_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/utils/requirePropFactory.js +;// CONCATENATED MODULE: ./node_modules/.pnpm/@mui+material@5.15.15_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.79_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/utils/requirePropFactory.js /* harmony default export */ const utils_requirePropFactory = (requirePropFactory); -// EXTERNAL MODULE: ./node_modules/.pnpm/@mui+utils@5.14.10_@types+react@18.2.67_react@18.2.0/node_modules/@mui/utils/esm/setRef.js -var setRef = __webpack_require__(6633); -;// CONCATENATED MODULE: ./node_modules/.pnpm/@mui+material@5.14.10_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.67_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/utils/setRef.js +// EXTERNAL MODULE: ./node_modules/.pnpm/@mui+utils@5.15.14_@types+react@18.2.79_react@18.2.0/node_modules/@mui/utils/setRef/setRef.js +var setRef = __webpack_require__(9109); +;// CONCATENATED MODULE: ./node_modules/.pnpm/@mui+material@5.15.15_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.79_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/utils/setRef.js /* harmony default export */ const utils_setRef = (setRef/* default */.Z); -// EXTERNAL MODULE: ./node_modules/.pnpm/@mui+material@5.14.10_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.67_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/utils/useEnhancedEffect.js -var useEnhancedEffect = __webpack_require__(1224); -// EXTERNAL MODULE: ./node_modules/.pnpm/@mui+material@5.14.10_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.67_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/utils/useId.js -var useId = __webpack_require__(7952); -;// CONCATENATED MODULE: ./node_modules/.pnpm/@mui+utils@5.14.10_@types+react@18.2.67_react@18.2.0/node_modules/@mui/utils/esm/unsupportedProp.js +// EXTERNAL MODULE: ./node_modules/.pnpm/@mui+material@5.15.15_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.79_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/utils/useEnhancedEffect.js +var useEnhancedEffect = __webpack_require__(208); +// EXTERNAL MODULE: ./node_modules/.pnpm/@mui+material@5.15.15_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.79_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/utils/useId.js +var useId = __webpack_require__(3163); +;// CONCATENATED MODULE: ./node_modules/.pnpm/@mui+utils@5.15.14_@types+react@18.2.79_react@18.2.0/node_modules/@mui/utils/unsupportedProp/unsupportedProp.js function unsupportedProp(props, propName, componentName, location, propFullName) { if (true) { return null; @@ -3053,18 +4028,18 @@ function unsupportedProp(props, propName, componentName, location, propFullName) } return null; } -;// CONCATENATED MODULE: ./node_modules/.pnpm/@mui+material@5.14.10_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.67_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/utils/unsupportedProp.js +;// CONCATENATED MODULE: ./node_modules/.pnpm/@mui+material@5.15.15_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.79_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/utils/unsupportedProp.js /* harmony default export */ const utils_unsupportedProp = (unsupportedProp); -// EXTERNAL MODULE: ./node_modules/.pnpm/@mui+material@5.14.10_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.67_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/utils/useControlled.js + 1 modules -var useControlled = __webpack_require__(2349); -// EXTERNAL MODULE: ./node_modules/.pnpm/@mui+material@5.14.10_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.67_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/utils/useEventCallback.js -var useEventCallback = __webpack_require__(2002); -// EXTERNAL MODULE: ./node_modules/.pnpm/@mui+material@5.14.10_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.67_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/utils/useForkRef.js -var useForkRef = __webpack_require__(4884); -// EXTERNAL MODULE: ./node_modules/.pnpm/@mui+material@5.14.10_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.67_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/utils/useIsFocusVisible.js -var useIsFocusVisible = __webpack_require__(7776); -;// CONCATENATED MODULE: ./node_modules/.pnpm/@mui+material@5.14.10_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.67_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/utils/index.js +// EXTERNAL MODULE: ./node_modules/.pnpm/@mui+material@5.15.15_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.79_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/utils/useControlled.js + 1 modules +var useControlled = __webpack_require__(1520); +// EXTERNAL MODULE: ./node_modules/.pnpm/@mui+material@5.15.15_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.79_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/utils/useEventCallback.js +var useEventCallback = __webpack_require__(4505); +// EXTERNAL MODULE: ./node_modules/.pnpm/@mui+material@5.15.15_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.79_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/utils/useForkRef.js +var useForkRef = __webpack_require__(6490); +// EXTERNAL MODULE: ./node_modules/.pnpm/@mui+material@5.15.15_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.79_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/utils/useIsFocusVisible.js +var useIsFocusVisible = __webpack_require__(1511); +;// CONCATENATED MODULE: ./node_modules/.pnpm/@mui+material@5.15.15_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.79_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/utils/index.js 'use client'; @@ -3096,7 +4071,7 @@ const unstable_ClassNameGenerator = { /***/ }), -/***/ 2705: +/***/ 3272: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; @@ -3108,44 +4083,49 @@ __webpack_require__.d(__webpack_exports__, { // EXTERNAL MODULE: ./node_modules/.pnpm/react@18.2.0/node_modules/react/index.js var react = __webpack_require__(7948); -;// CONCATENATED MODULE: ./node_modules/.pnpm/@mui+utils@5.14.10_@types+react@18.2.67_react@18.2.0/node_modules/@mui/utils/esm/isMuiElement.js +;// CONCATENATED MODULE: ./node_modules/.pnpm/@mui+utils@5.15.14_@types+react@18.2.79_react@18.2.0/node_modules/@mui/utils/isMuiElement/isMuiElement.js function isMuiElement(element, muiNames) { - return /*#__PURE__*/react.isValidElement(element) && muiNames.indexOf(element.type.muiName) !== -1; + var _muiName, _element$type; + return /*#__PURE__*/react.isValidElement(element) && muiNames.indexOf( + // For server components `muiName` is avaialble in element.type._payload.value.muiName + // relevant info - https://github.com/facebook/react/blob/2807d781a08db8e9873687fccc25c0f12b4fb3d4/packages/react/src/ReactLazy.js#L45 + // eslint-disable-next-line no-underscore-dangle + (_muiName = element.type.muiName) != null ? _muiName : (_element$type = element.type) == null || (_element$type = _element$type._payload) == null || (_element$type = _element$type.value) == null ? void 0 : _element$type.muiName) !== -1; } -;// CONCATENATED MODULE: ./node_modules/.pnpm/@mui+material@5.14.10_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.67_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/utils/isMuiElement.js +;// CONCATENATED MODULE: ./node_modules/.pnpm/@mui+material@5.15.15_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.79_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/utils/isMuiElement.js /* harmony default export */ const utils_isMuiElement = (isMuiElement); /***/ }), -/***/ 7805: +/***/ 1704: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ Z: () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); -/* harmony import */ var _mui_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2332); +/* harmony import */ var _mui_utils_ownerDocument__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1563); -/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_mui_utils__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z); +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_mui_utils_ownerDocument__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z); /***/ }), -/***/ 9814: +/***/ 5329: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ Z: () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); -/* harmony import */ var _mui_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(316); +/* harmony import */ var _mui_utils_ownerWindow__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6029); -/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_mui_utils__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z); +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_mui_utils_ownerWindow__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z); /***/ }), -/***/ 2349: +/***/ 1520: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; @@ -3157,7 +4137,7 @@ __webpack_require__.d(__webpack_exports__, { // EXTERNAL MODULE: ./node_modules/.pnpm/react@18.2.0/node_modules/react/index.js var react = __webpack_require__(7948); -;// CONCATENATED MODULE: ./node_modules/.pnpm/@mui+utils@5.14.10_@types+react@18.2.67_react@18.2.0/node_modules/@mui/utils/esm/useControlled/useControlled.js +;// CONCATENATED MODULE: ./node_modules/.pnpm/@mui+utils@5.15.14_@types+react@18.2.79_react@18.2.0/node_modules/@mui/utils/useControlled/useControlled.js 'use client'; /* eslint-disable react-hooks/rules-of-hooks, react-hooks/exhaustive-deps */ @@ -3183,7 +4163,7 @@ function useControlled(_ref) { }, []); return [value, setValueIfUncontrolled]; } -;// CONCATENATED MODULE: ./node_modules/.pnpm/@mui+material@5.14.10_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.67_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/utils/useControlled.js +;// CONCATENATED MODULE: ./node_modules/.pnpm/@mui+material@5.15.15_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.79_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/utils/useControlled.js 'use client'; @@ -3191,92 +4171,366 @@ function useControlled(_ref) { /***/ }), -/***/ 1224: +/***/ 208: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ Z: () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); -/* harmony import */ var _mui_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4277); +/* harmony import */ var _mui_utils_useEnhancedEffect__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4536); 'use client'; -/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_mui_utils__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z); +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_mui_utils_useEnhancedEffect__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z); /***/ }), -/***/ 2002: +/***/ 4505: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ Z: () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); -/* harmony import */ var _mui_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2928); +/* harmony import */ var _mui_utils_useEventCallback__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9210); 'use client'; -/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_mui_utils__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z); +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_mui_utils_useEventCallback__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z); /***/ }), -/***/ 4884: +/***/ 6490: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ Z: () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); -/* harmony import */ var _mui_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(862); +/* harmony import */ var _mui_utils_useForkRef__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4114); 'use client'; -/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_mui_utils__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z); +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_mui_utils_useForkRef__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z); /***/ }), -/***/ 7952: +/***/ 3163: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ Z: () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); -/* harmony import */ var _mui_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2108); +/* harmony import */ var _mui_utils_useId__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2179); 'use client'; -/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_mui_utils__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z); +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_mui_utils_useId__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z); /***/ }), -/***/ 7776: +/***/ 1511: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ Z: () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); -/* harmony import */ var _mui_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1830); +/* harmony import */ var _mui_utils_useIsFocusVisible__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(3185); 'use client'; -/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_mui_utils__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z); +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_mui_utils_useIsFocusVisible__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z); /***/ }), -/***/ 9913: +/***/ 8732: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ Co: () => (/* binding */ internal_processStyles), -/* harmony export */ ZP: () => (/* binding */ styled) +/* harmony export */ Z: () => (/* binding */ GlobalStyles) /* harmony export */ }); -/* harmony import */ var _emotion_styled__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1527); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(7948); +/* harmony import */ var _emotion_react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(2150); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(7394); +'use client'; + + + + + +function isEmpty(obj) { + return obj === undefined || obj === null || Object.keys(obj).length === 0; +} +function GlobalStyles(props) { + const { + styles, + defaultTheme = {} + } = props; + const globalStyles = typeof styles === 'function' ? themeInput => styles(isEmpty(themeInput) ? defaultTheme : themeInput) : styles; + return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_emotion_react__WEBPACK_IMPORTED_MODULE_2__/* .Global */ .xB, { + styles: globalStyles + }); +} + false ? 0 : void 0; + +/***/ }), + +/***/ 6818: +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +// ESM COMPAT FLAG +__webpack_require__.r(__webpack_exports__); + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + GlobalStyles: () => (/* reexport */ GlobalStyles/* default */.Z), + StyledEngineProvider: () => (/* reexport */ StyledEngineProvider), + ThemeContext: () => (/* reexport */ emotion_element_c39617d8_browser_esm.T), + css: () => (/* reexport */ emotion_react_browser_esm/* css */.iv), + "default": () => (/* binding */ styled), + internal_processStyles: () => (/* binding */ internal_processStyles), + keyframes: () => (/* reexport */ emotion_react_browser_esm/* keyframes */.F4) +}); + +;// CONCATENATED MODULE: ./node_modules/.pnpm/@babel+runtime@7.22.15/node_modules/@babel/runtime/helpers/esm/extends.js +function _extends() { + _extends = Object.assign ? Object.assign.bind() : function (target) { + for (var i = 1; i < arguments.length; i++) { + var source = arguments[i]; + for (var key in source) { + if (Object.prototype.hasOwnProperty.call(source, key)) { + target[key] = source[key]; + } + } + } + return target; + }; + return _extends.apply(this, arguments); +} +// EXTERNAL MODULE: ./node_modules/.pnpm/react@18.2.0/node_modules/react/index.js +var react = __webpack_require__(7948); +// EXTERNAL MODULE: ./node_modules/.pnpm/@emotion+memoize@0.8.1/node_modules/@emotion/memoize/dist/emotion-memoize.esm.js +var emotion_memoize_esm = __webpack_require__(7506); +;// CONCATENATED MODULE: ./node_modules/.pnpm/@emotion+is-prop-valid@1.2.1/node_modules/@emotion/is-prop-valid/dist/emotion-is-prop-valid.esm.js + +var reactPropsRegex = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/; // https://esbench.com/bench/5bfee68a4cd7e6009ef61d23 + +var isPropValid = /* #__PURE__ */(0,emotion_memoize_esm/* default */.Z)(function (prop) { + return reactPropsRegex.test(prop) || prop.charCodeAt(0) === 111 + /* o */ && prop.charCodeAt(1) === 110 + /* n */ && prop.charCodeAt(2) < 91; +} +/* Z+1 */); + + +// EXTERNAL MODULE: ./node_modules/.pnpm/@emotion+react@11.11.1_@types+react@18.2.79_react@18.2.0/node_modules/@emotion/react/dist/emotion-element-c39617d8.browser.esm.js +var emotion_element_c39617d8_browser_esm = __webpack_require__(2412); +// EXTERNAL MODULE: ./node_modules/.pnpm/@emotion+utils@1.2.1/node_modules/@emotion/utils/dist/emotion-utils.browser.esm.js +var emotion_utils_browser_esm = __webpack_require__(1443); +// EXTERNAL MODULE: ./node_modules/.pnpm/@emotion+serialize@1.1.2/node_modules/@emotion/serialize/dist/emotion-serialize.browser.esm.js + 2 modules +var emotion_serialize_browser_esm = __webpack_require__(7073); +// EXTERNAL MODULE: ./node_modules/.pnpm/@emotion+use-insertion-effect-with-fallbacks@1.0.1_react@18.2.0/node_modules/@emotion/use-insertion-effect-with-fallbacks/dist/emotion-use-insertion-effect-with-fallbacks.browser.esm.js +var emotion_use_insertion_effect_with_fallbacks_browser_esm = __webpack_require__(122); +;// CONCATENATED MODULE: ./node_modules/.pnpm/@emotion+styled@11.11.0_@emotion+react@11.11.1_@types+react@18.2.79_react@18.2.0/node_modules/@emotion/styled/base/dist/emotion-styled-base.browser.esm.js + + + + + + + +var testOmitPropsOnStringTag = isPropValid; +var testOmitPropsOnComponent = function testOmitPropsOnComponent(key) { + return key !== 'theme'; +}; +var getDefaultShouldForwardProp = function getDefaultShouldForwardProp(tag) { + return typeof tag === 'string' && + // 96 is one less than the char code + // for "a" so this is checking that + // it's a lowercase character + tag.charCodeAt(0) > 96 ? testOmitPropsOnStringTag : testOmitPropsOnComponent; +}; +var composeShouldForwardProps = function composeShouldForwardProps(tag, options, isReal) { + var shouldForwardProp; + if (options) { + var optionsShouldForwardProp = options.shouldForwardProp; + shouldForwardProp = tag.__emotion_forwardProp && optionsShouldForwardProp ? function (propName) { + return tag.__emotion_forwardProp(propName) && optionsShouldForwardProp(propName); + } : optionsShouldForwardProp; + } + if (typeof shouldForwardProp !== 'function' && isReal) { + shouldForwardProp = tag.__emotion_forwardProp; + } + return shouldForwardProp; +}; +var ILLEGAL_ESCAPE_SEQUENCE_ERROR = "You have illegal escape sequence in your template literal, most likely inside content's property value.\nBecause you write your CSS inside a JavaScript string you actually have to do double escaping, so for example \"content: '\\00d7';\" should become \"content: '\\\\00d7';\".\nYou can read more about this here:\nhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences"; +var Insertion = function Insertion(_ref) { + var cache = _ref.cache, + serialized = _ref.serialized, + isStringTag = _ref.isStringTag; + (0,emotion_utils_browser_esm/* registerStyles */.hC)(cache, serialized, isStringTag); + (0,emotion_use_insertion_effect_with_fallbacks_browser_esm/* useInsertionEffectAlwaysWithSyncFallback */.L)(function () { + return (0,emotion_utils_browser_esm/* insertStyles */.My)(cache, serialized, isStringTag); + }); + return null; +}; +var createStyled = function createStyled(tag, options) { + if (false) {} + var isReal = tag.__emotion_real === tag; + var baseTag = isReal && tag.__emotion_base || tag; + var identifierName; + var targetClassName; + if (options !== undefined) { + identifierName = options.label; + targetClassName = options.target; + } + var shouldForwardProp = composeShouldForwardProps(tag, options, isReal); + var defaultShouldForwardProp = shouldForwardProp || getDefaultShouldForwardProp(baseTag); + var shouldUseAs = !defaultShouldForwardProp('as'); + return function () { + var args = arguments; + var styles = isReal && tag.__emotion_styles !== undefined ? tag.__emotion_styles.slice(0) : []; + if (identifierName !== undefined) { + styles.push("label:" + identifierName + ";"); + } + if (args[0] == null || args[0].raw === undefined) { + styles.push.apply(styles, args); + } else { + if (false) {} + styles.push(args[0][0]); + var len = args.length; + var i = 1; + for (; i < len; i++) { + if (false) {} + styles.push(args[i], args[0][i]); + } + } // $FlowFixMe: we need to cast StatelessFunctionalComponent to our PrivateStyledComponent class + + var Styled = (0,emotion_element_c39617d8_browser_esm.w)(function (props, cache, ref) { + var FinalTag = shouldUseAs && props.as || baseTag; + var className = ''; + var classInterpolations = []; + var mergedProps = props; + if (props.theme == null) { + mergedProps = {}; + for (var key in props) { + mergedProps[key] = props[key]; + } + mergedProps.theme = react.useContext(emotion_element_c39617d8_browser_esm.T); + } + if (typeof props.className === 'string') { + className = (0,emotion_utils_browser_esm/* getRegisteredStyles */.fp)(cache.registered, classInterpolations, props.className); + } else if (props.className != null) { + className = props.className + " "; + } + var serialized = (0,emotion_serialize_browser_esm/* serializeStyles */.O)(styles.concat(classInterpolations), cache.registered, mergedProps); + className += cache.key + "-" + serialized.name; + if (targetClassName !== undefined) { + className += " " + targetClassName; + } + var finalShouldForwardProp = shouldUseAs && shouldForwardProp === undefined ? getDefaultShouldForwardProp(FinalTag) : defaultShouldForwardProp; + var newProps = {}; + for (var _key in props) { + if (shouldUseAs && _key === 'as') continue; + if ( + // $FlowFixMe + finalShouldForwardProp(_key)) { + newProps[_key] = props[_key]; + } + } + newProps.className = className; + newProps.ref = ref; + return /*#__PURE__*/react.createElement(react.Fragment, null, /*#__PURE__*/react.createElement(Insertion, { + cache: cache, + serialized: serialized, + isStringTag: typeof FinalTag === 'string' + }), /*#__PURE__*/react.createElement(FinalTag, newProps)); + }); + Styled.displayName = identifierName !== undefined ? identifierName : "Styled(" + (typeof baseTag === 'string' ? baseTag : baseTag.displayName || baseTag.name || 'Component') + ")"; + Styled.defaultProps = tag.defaultProps; + Styled.__emotion_real = Styled; + Styled.__emotion_base = baseTag; + Styled.__emotion_styles = styles; + Styled.__emotion_forwardProp = shouldForwardProp; + Object.defineProperty(Styled, 'toString', { + value: function value() { + if (targetClassName === undefined && "production" !== 'production') {} // $FlowFixMe: coerce undefined to string + + return "." + targetClassName; + } + }); + Styled.withComponent = function (nextTag, nextOptions) { + return createStyled(nextTag, _extends({}, options, nextOptions, { + shouldForwardProp: composeShouldForwardProps(Styled, nextOptions, true) + })).apply(void 0, styles); + }; + return Styled; + }; +}; + +;// CONCATENATED MODULE: ./node_modules/.pnpm/@emotion+styled@11.11.0_@emotion+react@11.11.1_@types+react@18.2.79_react@18.2.0/node_modules/@emotion/styled/dist/emotion-styled.browser.esm.js + + + + + + + + +var tags = ['a', 'abbr', 'address', 'area', 'article', 'aside', 'audio', 'b', 'base', 'bdi', 'bdo', 'big', 'blockquote', 'body', 'br', 'button', 'canvas', 'caption', 'cite', 'code', 'col', 'colgroup', 'data', 'datalist', 'dd', 'del', 'details', 'dfn', 'dialog', 'div', 'dl', 'dt', 'em', 'embed', 'fieldset', 'figcaption', 'figure', 'footer', 'form', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'head', 'header', 'hgroup', 'hr', 'html', 'i', 'iframe', 'img', 'input', 'ins', 'kbd', 'keygen', 'label', 'legend', 'li', 'link', 'main', 'map', 'mark', 'marquee', 'menu', 'menuitem', 'meta', 'meter', 'nav', 'noscript', 'object', 'ol', 'optgroup', 'option', 'output', 'p', 'param', 'picture', 'pre', 'progress', 'q', 'rp', 'rt', 'ruby', 's', 'samp', 'script', 'section', 'select', 'small', 'source', 'span', 'strong', 'style', 'sub', 'summary', 'sup', 'table', 'tbody', 'td', 'textarea', 'tfoot', 'th', 'thead', 'time', 'title', 'tr', 'track', 'u', 'ul', 'var', 'video', 'wbr', +// SVG +'circle', 'clipPath', 'defs', 'ellipse', 'foreignObject', 'g', 'image', 'line', 'linearGradient', 'mask', 'path', 'pattern', 'polygon', 'polyline', 'radialGradient', 'rect', 'stop', 'svg', 'text', 'tspan']; +var newStyled = createStyled.bind(); +tags.forEach(function (tagName) { + // $FlowFixMe: we can ignore this because its exposed type is defined by the CreateStyled type + newStyled[tagName] = newStyled(tagName); +}); + +// EXTERNAL MODULE: ./node_modules/.pnpm/@emotion+react@11.11.1_@types+react@18.2.79_react@18.2.0/node_modules/@emotion/react/dist/emotion-react.browser.esm.js +var emotion_react_browser_esm = __webpack_require__(2150); +// EXTERNAL MODULE: ./node_modules/.pnpm/@emotion+cache@11.11.0/node_modules/@emotion/cache/dist/emotion-cache.browser.esm.js + 7 modules +var emotion_cache_browser_esm = __webpack_require__(3029); +// EXTERNAL MODULE: ./node_modules/.pnpm/react@18.2.0/node_modules/react/jsx-runtime.js +var jsx_runtime = __webpack_require__(7394); +;// CONCATENATED MODULE: ./node_modules/.pnpm/@mui+styled-engine@5.15.14_@emotion+react@11.11.1_@emotion+styled@11.11.0_react@18.2.0/node_modules/@mui/styled-engine/StyledEngineProvider/StyledEngineProvider.js +'use client'; + + + + + + +// prepend: true moves MUI styles to the top of the so they're loaded first. +// It allows developers to easily override MUI styles with other styling solutions, like CSS modules. + +let cache; +if (typeof document === 'object') { + cache = (0,emotion_cache_browser_esm/* default */.Z)({ + key: 'css', + prepend: true + }); +} +function StyledEngineProvider(props) { + const { + injectFirst, + children + } = props; + return injectFirst && cache ? /*#__PURE__*/(0,jsx_runtime.jsx)(emotion_element_c39617d8_browser_esm.C, { + value: cache, + children: children + }) : children; +} + false ? 0 : void 0; +// EXTERNAL MODULE: ./node_modules/.pnpm/@mui+styled-engine@5.15.14_@emotion+react@11.11.1_@emotion+styled@11.11.0_react@18.2.0/node_modules/@mui/styled-engine/GlobalStyles/GlobalStyles.js +var GlobalStyles = __webpack_require__(8732); +;// CONCATENATED MODULE: ./node_modules/.pnpm/@mui+styled-engine@5.15.14_@emotion+react@11.11.1_@emotion+styled@11.11.0_react@18.2.0/node_modules/@mui/styled-engine/index.js /** - * @mui/styled-engine v5.14.10 + * @mui/styled-engine v5.15.14 * * @license MIT * This source code is licensed under the MIT license found in the @@ -3287,7 +4541,7 @@ function useControlled(_ref) { /* eslint-disable no-underscore-dangle */ function styled(tag, options) { - const stylesFactory = (0,_emotion_styled__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(tag, options); + const stylesFactory = newStyled(tag, options); if (false) {} return stylesFactory; } @@ -3306,279 +4560,39 @@ const internal_processStyles = (tag, processor) => { /***/ }), -/***/ 8343: -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { +/***/ 1744: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ E0: () => (/* binding */ borderRadius), -/* harmony export */ NL: () => (/* binding */ borderTransform) -/* harmony export */ }); -/* unused harmony exports border, borderTop, borderRight, borderBottom, borderLeft, borderColor, borderTopColor, borderRightColor, borderBottomColor, borderLeftColor */ -/* harmony import */ var _style__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(7076); -/* harmony import */ var _compose__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(9351); -/* harmony import */ var _spacing__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3563); -/* harmony import */ var _breakpoints__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(4965); +var __webpack_unused_export__; - - - -function borderTransform(value) { - if (typeof value !== 'number') { - return value; - } - return "".concat(value, "px solid"); -} -const border = (0,_style__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .ZP)({ - prop: 'border', - themeKey: 'borders', - transform: borderTransform +var _interopRequireDefault = __webpack_require__(3894); +__webpack_unused_export__ = ({ + value: true }); -const borderTop = (0,_style__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .ZP)({ - prop: 'borderTop', - themeKey: 'borders', - transform: borderTransform -}); -const borderRight = (0,_style__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .ZP)({ - prop: 'borderRight', - themeKey: 'borders', - transform: borderTransform -}); -const borderBottom = (0,_style__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .ZP)({ - prop: 'borderBottom', - themeKey: 'borders', - transform: borderTransform -}); -const borderLeft = (0,_style__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .ZP)({ - prop: 'borderLeft', - themeKey: 'borders', - transform: borderTransform -}); -const borderColor = (0,_style__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .ZP)({ - prop: 'borderColor', - themeKey: 'palette' -}); -const borderTopColor = (0,_style__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .ZP)({ - prop: 'borderTopColor', - themeKey: 'palette' -}); -const borderRightColor = (0,_style__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .ZP)({ - prop: 'borderRightColor', - themeKey: 'palette' -}); -const borderBottomColor = (0,_style__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .ZP)({ - prop: 'borderBottomColor', - themeKey: 'palette' -}); -const borderLeftColor = (0,_style__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .ZP)({ - prop: 'borderLeftColor', - themeKey: 'palette' -}); - -// false positive -// eslint-disable-next-line react/function-component-definition -const borderRadius = props => { - if (props.borderRadius !== undefined && props.borderRadius !== null) { - const transformer = (0,_spacing__WEBPACK_IMPORTED_MODULE_1__/* .createUnaryUnit */ .eI)(props.theme, 'shape.borderRadius', 4, 'borderRadius'); - const styleFromPropValue = propValue => ({ - borderRadius: (0,_spacing__WEBPACK_IMPORTED_MODULE_1__/* .getValue */ .NA)(transformer, propValue) - }); - return (0,_breakpoints__WEBPACK_IMPORTED_MODULE_2__/* .handleBreakpoints */ .k9)(props, props.borderRadius, styleFromPropValue); - } - return null; -}; -borderRadius.propTypes = false ? 0 : {}; -borderRadius.filterProps = ['borderRadius']; -const borders = (0,_compose__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(border, borderTop, borderRight, borderBottom, borderLeft, borderColor, borderTopColor, borderRightColor, borderBottomColor, borderLeftColor, borderRadius); -/* unused harmony default export */ var __WEBPACK_DEFAULT_EXPORT__ = ((/* unused pure expression or super */ null && (borders))); - -/***/ }), - -/***/ 4965: -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ L7: () => (/* binding */ removeUnusedBreakpoints), -/* harmony export */ P$: () => (/* binding */ resolveBreakpointValues), -/* harmony export */ VO: () => (/* binding */ values), -/* harmony export */ W8: () => (/* binding */ createEmptyBreakpointObject), -/* harmony export */ dt: () => (/* binding */ mergeBreakpointsInOrder), -/* harmony export */ k9: () => (/* binding */ handleBreakpoints) -/* harmony export */ }); -/* unused harmony export computeBreakpointsBase */ -/* harmony import */ var _mui_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1754); - - - - - -// The breakpoint **start** at this value. -// For instance with the first breakpoint xs: [xs, sm[. -const values = { - xs: 0, - // phone - sm: 600, - // tablet - md: 900, - // small laptop - lg: 1200, - // desktop - xl: 1536 // large screen -}; - -const defaultBreakpoints = { - // Sorted ASC by size. That's important. - // It can't be configured as it's used statically for propTypes. - keys: ['xs', 'sm', 'md', 'lg', 'xl'], - up: key => "@media (min-width:".concat(values[key], "px)") -}; -function handleBreakpoints(props, propValue, styleFromPropValue) { - const theme = props.theme || {}; - if (Array.isArray(propValue)) { - const themeBreakpoints = theme.breakpoints || defaultBreakpoints; - return propValue.reduce((acc, item, index) => { - acc[themeBreakpoints.up(themeBreakpoints.keys[index])] = styleFromPropValue(propValue[index]); - return acc; - }, {}); - } - if (typeof propValue === 'object') { - const themeBreakpoints = theme.breakpoints || defaultBreakpoints; - return Object.keys(propValue).reduce((acc, breakpoint) => { - // key is breakpoint - if (Object.keys(themeBreakpoints.values || values).indexOf(breakpoint) !== -1) { - const mediaKey = themeBreakpoints.up(breakpoint); - acc[mediaKey] = styleFromPropValue(propValue[breakpoint], breakpoint); - } else { - const cssKey = breakpoint; - acc[cssKey] = propValue[cssKey]; - } - return acc; - }, {}); - } - const output = styleFromPropValue(propValue); - return output; -} -function breakpoints(styleFunction) { - // false positive - // eslint-disable-next-line react/function-component-definition - const newStyleFunction = props => { - const theme = props.theme || {}; - const base = styleFunction(props); - const themeBreakpoints = theme.breakpoints || defaultBreakpoints; - const extended = themeBreakpoints.keys.reduce((acc, key) => { - if (props[key]) { - acc = acc || {}; - acc[themeBreakpoints.up(key)] = styleFunction(_extends({ - theme - }, props[key])); - } - return acc; - }, null); - return merge(base, extended); - }; - newStyleFunction.propTypes = false ? 0 : {}; - newStyleFunction.filterProps = ['xs', 'sm', 'md', 'lg', 'xl', ...styleFunction.filterProps]; - return newStyleFunction; -} -function createEmptyBreakpointObject() { - let breakpointsInput = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; - var _breakpointsInput$key; - const breakpointsInOrder = (_breakpointsInput$key = breakpointsInput.keys) == null ? void 0 : _breakpointsInput$key.reduce((acc, key) => { - const breakpointStyleKey = breakpointsInput.up(key); - acc[breakpointStyleKey] = {}; - return acc; - }, {}); - return breakpointsInOrder || {}; -} -function removeUnusedBreakpoints(breakpointKeys, style) { - return breakpointKeys.reduce((acc, key) => { - const breakpointOutput = acc[key]; - const isBreakpointUnused = !breakpointOutput || Object.keys(breakpointOutput).length === 0; - if (isBreakpointUnused) { - delete acc[key]; - } - return acc; - }, style); -} -function mergeBreakpointsInOrder(breakpointsInput) { - const emptyBreakpoints = createEmptyBreakpointObject(breakpointsInput); - for (var _len = arguments.length, styles = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) { - styles[_key - 1] = arguments[_key]; - } - const mergedOutput = [emptyBreakpoints, ...styles].reduce((prev, next) => (0,_mui_utils__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(prev, next), {}); - return removeUnusedBreakpoints(Object.keys(emptyBreakpoints), mergedOutput); -} - -// compute base for responsive values; e.g., -// [1,2,3] => {xs: true, sm: true, md: true} -// {xs: 1, sm: 2, md: 3} => {xs: true, sm: true, md: true} -function computeBreakpointsBase(breakpointValues, themeBreakpoints) { - // fixed value - if (typeof breakpointValues !== 'object') { - return {}; - } - const base = {}; - const breakpointsKeys = Object.keys(themeBreakpoints); - if (Array.isArray(breakpointValues)) { - breakpointsKeys.forEach((breakpoint, i) => { - if (i < breakpointValues.length) { - base[breakpoint] = true; - } - }); - } else { - breakpointsKeys.forEach(breakpoint => { - if (breakpointValues[breakpoint] != null) { - base[breakpoint] = true; - } - }); - } - return base; -} -function resolveBreakpointValues(_ref) { - let { - values: breakpointValues, - breakpoints: themeBreakpoints, - base: customBase - } = _ref; - const base = customBase || computeBreakpointsBase(breakpointValues, themeBreakpoints); - const keys = Object.keys(base); - if (keys.length === 0) { - return breakpointValues; - } - let previous; - return keys.reduce((acc, breakpoint, i) => { - if (Array.isArray(breakpointValues)) { - acc[breakpoint] = breakpointValues[i] != null ? breakpointValues[i] : breakpointValues[previous]; - previous = i; - } else if (typeof breakpointValues === 'object') { - acc[breakpoint] = breakpointValues[breakpoint] != null ? breakpointValues[breakpoint] : breakpointValues[previous]; - previous = breakpoint; - } else { - acc[breakpoint] = breakpointValues; - } - return acc; - }, {}); -} -/* unused harmony default export */ var __WEBPACK_DEFAULT_EXPORT__ = ((/* unused pure expression or super */ null && (breakpoints))); - -/***/ }), - -/***/ 2269: -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ $n: () => (/* binding */ lighten), -/* harmony export */ Fq: () => (/* binding */ alpha), -/* harmony export */ _j: () => (/* binding */ darken), -/* harmony export */ mi: () => (/* binding */ getContrastRatio) -/* harmony export */ }); -/* unused harmony exports hexToRgb, decomposeColor, colorChannel, private_safeColorChannel, recomposeColor, rgbToHex, hslToRgb, getLuminance, private_safeAlpha, private_safeDarken, private_safeLighten, emphasize, private_safeEmphasize */ -/* harmony import */ var _mui_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(310); - +exports.Fq = alpha; +__webpack_unused_export__ = blend; +__webpack_unused_export__ = void 0; +exports._j = darken; +__webpack_unused_export__ = decomposeColor; +__webpack_unused_export__ = emphasize; +exports.mi = getContrastRatio; +__webpack_unused_export__ = getLuminance; +__webpack_unused_export__ = hexToRgb; +__webpack_unused_export__ = hslToRgb; +exports.$n = lighten; +__webpack_unused_export__ = private_safeAlpha; +__webpack_unused_export__ = void 0; +__webpack_unused_export__ = private_safeDarken; +__webpack_unused_export__ = private_safeEmphasize; +__webpack_unused_export__ = private_safeLighten; +__webpack_unused_export__ = recomposeColor; +__webpack_unused_export__ = rgbToHex; +var _formatMuiErrorMessage2 = _interopRequireDefault(__webpack_require__(3001)); +var _clamp = _interopRequireDefault(__webpack_require__(5288)); /* eslint-disable @typescript-eslint/naming-convention */ + /** * Returns a number whose value is limited to the given range. * @param {number} value The value to be clamped @@ -3586,11 +4600,11 @@ function resolveBreakpointValues(_ref) { * @param {number} max The upper boundary of the output range * @returns {number} A number in the range [min, max] */ -function clamp(value) { +function clampWrapper(value) { let min = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0; let max = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 1; if (false) {} - return Math.min(Math.max(min, value), max); + return (0, _clamp.default)(value, min, max); } /** @@ -3632,7 +4646,7 @@ function decomposeColor(color) { const marker = color.indexOf('('); const type = color.substring(0, marker); if (['rgb', 'rgba', 'hsl', 'hsla', 'color'].indexOf(type) === -1) { - throw new Error( false ? 0 : (0,_mui_utils__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(9, color)); + throw new Error( false ? 0 : (0, _formatMuiErrorMessage2.default)(9, color)); } let values = color.substring(marker + 1, color.length - 1); let colorSpace; @@ -3643,7 +4657,7 @@ function decomposeColor(color) { values[3] = values[3].slice(1); } if (['srgb', 'display-p3', 'a98-rgb', 'prophoto-rgb', 'rec-2020'].indexOf(colorSpace) === -1) { - throw new Error( false ? 0 : (0,_mui_utils__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(10, colorSpace)); + throw new Error( false ? 0 : (0, _formatMuiErrorMessage2.default)(10, colorSpace)); } } else { values = values.split(','); @@ -3666,6 +4680,7 @@ const colorChannel = color => { const decomposedColor = decomposeColor(color); return decomposedColor.values.slice(0, 3).map((val, idx) => decomposedColor.type.indexOf('hsl') !== -1 && idx !== 0 ? "".concat(val, "%") : val).join(' '); }; +__webpack_unused_export__ = colorChannel; const private_safeColorChannel = (color, warning) => { try { return colorChannel(color); @@ -3682,6 +4697,7 @@ const private_safeColorChannel = (color, warning) => { * @param {array} color.values - [n,n,n] or [n,n,n,n] * @returns {string} A CSS color string */ +__webpack_unused_export__ = private_safeColorChannel; function recomposeColor(color) { const { type, @@ -3796,7 +4812,7 @@ function getContrastRatio(foreground, background) { */ function alpha(color, value) { color = decomposeColor(color); - value = clamp(value); + value = clampWrapper(value); if (color.type === 'rgb' || color.type === 'hsl') { color.type += 'a'; } @@ -3824,7 +4840,7 @@ function private_safeAlpha(color, value, warning) { */ function darken(color, coefficient) { color = decomposeColor(color); - coefficient = clamp(coefficient); + coefficient = clampWrapper(coefficient); if (color.type.indexOf('hsl') !== -1) { color.values[2] *= 1 - coefficient; } else if (color.type.indexOf('rgb') !== -1 || color.type.indexOf('color') !== -1) { @@ -3851,7 +4867,7 @@ function private_safeDarken(color, coefficient, warning) { */ function lighten(color, coefficient) { color = decomposeColor(color); - coefficient = clamp(coefficient); + coefficient = clampWrapper(coefficient); if (color.type.indexOf('hsl') !== -1) { color.values[2] += (100 - color.values[2]) * coefficient; } else if (color.type.indexOf('rgb') !== -1) { @@ -3887,77 +4903,86 @@ function emphasize(color) { } function private_safeEmphasize(color, coefficient, warning) { try { - return private_safeEmphasize(color, coefficient); + return emphasize(color, coefficient); } catch (error) { if (warning && "production" !== 'production') {} return color; } } -/***/ }), - -/***/ 9351: -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ Z: () => (__WEBPACK_DEFAULT_EXPORT__) -/* harmony export */ }); -/* harmony import */ var _merge__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(3013); - -function compose() { - for (var _len = arguments.length, styles = new Array(_len), _key = 0; _key < _len; _key++) { - styles[_key] = arguments[_key]; - } - const handlers = styles.reduce((acc, style) => { - style.filterProps.forEach(prop => { - acc[prop] = style; - }); - return acc; - }, {}); - - // false positive - // eslint-disable-next-line react/function-component-definition - const fn = props => { - return Object.keys(props).reduce((acc, prop) => { - if (handlers[prop]) { - return (0,_merge__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(acc, handlers[prop](props)); - } - return acc; - }, {}); - }; - fn.propTypes = false ? 0 : {}; - fn.filterProps = styles.reduce((acc, style) => acc.concat(style.filterProps), []); - return fn; +/** + * Blend a transparent overlay color with a background color, resulting in a single + * RGB color. + * @param {string} background - CSS color + * @param {string} overlay - CSS color + * @param {number} opacity - Opacity multiplier in the range 0 - 1 + * @param {number} [gamma=1.0] - Gamma correction factor. For gamma-correct blending, 2.2 is usual. + */ +function blend(background, overlay, opacity) { + let gamma = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 1.0; + const blendChannel = (b, o) => Math.round((b ** (1 / gamma) * (1 - opacity) + o ** (1 / gamma) * opacity) ** gamma); + const backgroundColor = decomposeColor(background); + const overlayColor = decomposeColor(overlay); + const rgb = [blendChannel(backgroundColor.values[0], overlayColor.values[0]), blendChannel(backgroundColor.values[1], overlayColor.values[1]), blendChannel(backgroundColor.values[2], overlayColor.values[2])]; + return recomposeColor({ + type: 'rgb', + values: rgb + }); } -/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (compose); /***/ }), -/***/ 4891: -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { +/***/ 1950: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ ZP: () => (/* binding */ createStyled), -/* harmony export */ x9: () => (/* binding */ shouldForwardProp) -/* harmony export */ }); -/* unused harmony export systemDefaultTheme */ -/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(45); -/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(8957); -/* harmony import */ var _mui_styled_engine__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(9913); -/* harmony import */ var _createTheme__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(8311); -/* harmony import */ var _propsToClassKey__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6211); -/* harmony import */ var _styleFunctionSx__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(7761); +var __webpack_unused_export__; -const _excluded = ["name", "slot", "skipVariantsResolver", "skipSx", "overridesResolver"]; +var _interopRequireDefault = __webpack_require__(3894); +__webpack_unused_export__ = ({ + value: true +}); +exports.ZP = createStyled; +__webpack_unused_export__ = shouldForwardProp; +__webpack_unused_export__ = void 0; +var _extends2 = _interopRequireDefault(__webpack_require__(4708)); +var _objectWithoutPropertiesLoose2 = _interopRequireDefault(__webpack_require__(3364)); +var _styledEngine = _interopRequireWildcard(__webpack_require__(6818)); +var _deepmerge = __webpack_require__(9499); +var _capitalize = _interopRequireDefault(__webpack_require__(6814)); +var _getDisplayName = _interopRequireDefault(__webpack_require__(8853)); +var _createTheme = _interopRequireDefault(__webpack_require__(8523)); +var _styleFunctionSx = _interopRequireDefault(__webpack_require__(1238)); +const _excluded = ["ownerState"], + _excluded2 = ["variants"], + _excluded3 = ["name", "slot", "skipVariantsResolver", "skipSx", "overridesResolver"]; /* eslint-disable no-underscore-dangle */ - - - - - +function _getRequireWildcardCache(e) { + if ("function" != typeof WeakMap) return null; + var r = new WeakMap(), + t = new WeakMap(); + return (_getRequireWildcardCache = function (e) { + return e ? t : r; + })(e); +} +function _interopRequireWildcard(e, r) { + if (!r && e && e.__esModule) return e; + if (null === e || "object" != typeof e && "function" != typeof e) return { + default: e + }; + var t = _getRequireWildcardCache(r); + if (t && t.has(e)) return t.get(e); + var n = { + __proto__: null + }, + a = Object.defineProperty && Object.getOwnPropertyDescriptor; + for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { + var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; + i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; + } + return n.default = e, t && t.set(e, n), n; +} function isEmpty(obj) { return Object.keys(obj).length === 0; } @@ -3970,64 +4995,24 @@ function isStringTag(tag) { // it's a lowercase character tag.charCodeAt(0) > 96; } -const getStyleOverrides = (name, theme) => { - if (theme.components && theme.components[name] && theme.components[name].styleOverrides) { - return theme.components[name].styleOverrides; - } - return null; -}; -const getVariantStyles = (name, theme) => { - let variants = []; - if (theme && theme.components && theme.components[name] && theme.components[name].variants) { - variants = theme.components[name].variants; - } - const variantsStyles = {}; - variants.forEach(definition => { - const key = (0,_propsToClassKey__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(definition.props); - variantsStyles[key] = definition.style; - }); - return variantsStyles; -}; -const variantsResolver = (props, styles, theme, name) => { - var _theme$components; - const { - ownerState = {} - } = props; - const variantsStyles = []; - const themeVariants = theme == null || (_theme$components = theme.components) == null || (_theme$components = _theme$components[name]) == null ? void 0 : _theme$components.variants; - if (themeVariants) { - themeVariants.forEach(themeVariant => { - let isMatch = true; - Object.keys(themeVariant.props).forEach(key => { - if (ownerState[key] !== themeVariant.props[key] && props[key] !== themeVariant.props[key]) { - isMatch = false; - } - }); - if (isMatch) { - variantsStyles.push(styles[(0,_propsToClassKey__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(themeVariant.props)]); - } - }); - } - return variantsStyles; -}; // Update /system/styled/#api in case if this changes function shouldForwardProp(prop) { return prop !== 'ownerState' && prop !== 'theme' && prop !== 'sx' && prop !== 'as'; } -const systemDefaultTheme = (0,_createTheme__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(); +const systemDefaultTheme = __webpack_unused_export__ = (0, _createTheme.default)(); const lowercaseFirstLetter = string => { if (!string) { return string; } return string.charAt(0).toLowerCase() + string.slice(1); }; -function resolveTheme(_ref) { +function resolveTheme(_ref2) { let { defaultTheme, theme, themeId - } = _ref; + } = _ref2; return isEmpty(theme) ? defaultTheme : theme[themeId] || theme; } function defaultOverridesResolver(slot) { @@ -4036,6 +5021,51 @@ function defaultOverridesResolver(slot) { } return (props, styles) => styles[slot]; } +function processStyleArg(callableStyle, _ref) { + let { + ownerState + } = _ref, + props = (0, _objectWithoutPropertiesLoose2.default)(_ref, _excluded); + const resolvedStylesArg = typeof callableStyle === 'function' ? callableStyle((0, _extends2.default)({ + ownerState + }, props)) : callableStyle; + if (Array.isArray(resolvedStylesArg)) { + return resolvedStylesArg.flatMap(resolvedStyle => processStyleArg(resolvedStyle, (0, _extends2.default)({ + ownerState + }, props))); + } + if (!!resolvedStylesArg && typeof resolvedStylesArg === 'object' && Array.isArray(resolvedStylesArg.variants)) { + const { + variants = [] + } = resolvedStylesArg, + otherStyles = (0, _objectWithoutPropertiesLoose2.default)(resolvedStylesArg, _excluded2); + let result = otherStyles; + variants.forEach(variant => { + let isMatch = true; + if (typeof variant.props === 'function') { + isMatch = variant.props((0, _extends2.default)({ + ownerState + }, props, ownerState)); + } else { + Object.keys(variant.props).forEach(key => { + if ((ownerState == null ? void 0 : ownerState[key]) !== variant.props[key] && props[key] !== variant.props[key]) { + isMatch = false; + } + }); + } + if (isMatch) { + if (!Array.isArray(result)) { + result = [result]; + } + result.push(typeof variant.style === 'function' ? variant.style((0, _extends2.default)({ + ownerState + }, props, ownerState)) : variant.style); + } + }); + return result; + } + return resolvedStylesArg; +} function createStyled() { let input = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; const { @@ -4045,8 +5075,8 @@ function createStyled() { slotShouldForwardProp = shouldForwardProp } = input; const systemSx = props => { - return (0,_styleFunctionSx__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)({}, props, { - theme: resolveTheme((0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)({}, props, { + return (0, _styleFunctionSx.default)((0, _extends2.default)({}, props, { + theme: resolveTheme((0, _extends2.default)({}, props, { defaultTheme, themeId })) @@ -4056,7 +5086,7 @@ function createStyled() { return function (tag) { let inputOptions = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; // Filter out the `sx` style function from the previous styled component to prevent unnecessary styles generated by the composite components. - (0,_mui_styled_engine__WEBPACK_IMPORTED_MODULE_4__/* .internal_processStyles */ .Co)(tag, styles => styles.filter(style => !(style != null && style.__mui_systemSx))); + (0, _styledEngine.internal_processStyles)(tag, styles => styles.filter(style => !(style != null && style.__mui_systemSx))); const { name: componentName, slot: componentSlot, @@ -4066,7 +5096,7 @@ function createStyled() { // For more details: https://github.com/mui/material-ui/pull/37908 overridesResolver = defaultOverridesResolver(lowercaseFirstLetter(componentSlot)) } = inputOptions, - options = (0,_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)(inputOptions, _excluded); + options = (0, _objectWithoutPropertiesLoose2.default)(inputOptions, _excluded3); // if skipVariantsResolver option is defined, take the value, otherwise, true for root and false for other slots. const skipVariantsResolver = inputSkipVariantsResolver !== undefined ? inputSkipVariantsResolver : @@ -4089,55 +5119,65 @@ function createStyled() { // for string (html) tag, preserve the behavior in emotion & styled-components. shouldForwardPropOption = undefined; } - const defaultStyledResolver = (0,_mui_styled_engine__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .ZP)(tag, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)({ + const defaultStyledResolver = (0, _styledEngine.default)(tag, (0, _extends2.default)({ shouldForwardProp: shouldForwardPropOption, label }, options)); + const transformStyleArg = stylesArg => { + // On the server Emotion doesn't use React.forwardRef for creating components, so the created + // component stays as a function. This condition makes sure that we do not interpolate functions + // which are basically components used as a selectors. + if (typeof stylesArg === 'function' && stylesArg.__emotion_real !== stylesArg || (0, _deepmerge.isPlainObject)(stylesArg)) { + return props => processStyleArg(stylesArg, (0, _extends2.default)({}, props, { + theme: resolveTheme({ + theme: props.theme, + defaultTheme, + themeId + }) + })); + } + return stylesArg; + }; const muiStyledResolver = function (styleArg) { + let transformedStyleArg = transformStyleArg(styleArg); for (var _len = arguments.length, expressions = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) { expressions[_key - 1] = arguments[_key]; } - const expressionsWithDefaultTheme = expressions ? expressions.map(stylesArg => { - // On the server Emotion doesn't use React.forwardRef for creating components, so the created - // component stays as a function. This condition makes sure that we do not interpolate functions - // which are basically components used as a selectors. - return typeof stylesArg === 'function' && stylesArg.__emotion_real !== stylesArg ? props => { - return stylesArg((0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)({}, props, { - theme: resolveTheme((0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)({}, props, { - defaultTheme, - themeId - })) - })); - } : stylesArg; - }) : []; - let transformedStyleArg = styleArg; + const expressionsWithDefaultTheme = expressions ? expressions.map(transformStyleArg) : []; if (componentName && overridesResolver) { expressionsWithDefaultTheme.push(props => { - const theme = resolveTheme((0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)({}, props, { + const theme = resolveTheme((0, _extends2.default)({}, props, { defaultTheme, themeId })); - const styleOverrides = getStyleOverrides(componentName, theme); - if (styleOverrides) { - const resolvedStyleOverrides = {}; - Object.entries(styleOverrides).forEach(_ref2 => { - let [slotKey, slotStyle] = _ref2; - resolvedStyleOverrides[slotKey] = typeof slotStyle === 'function' ? slotStyle((0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)({}, props, { - theme - })) : slotStyle; - }); - return overridesResolver(props, resolvedStyleOverrides); + if (!theme.components || !theme.components[componentName] || !theme.components[componentName].styleOverrides) { + return null; } - return null; + const styleOverrides = theme.components[componentName].styleOverrides; + const resolvedStyleOverrides = {}; + // TODO: v7 remove iteration and use `resolveStyleArg(styleOverrides[slot])` directly + Object.entries(styleOverrides).forEach(_ref3 => { + let [slotKey, slotStyle] = _ref3; + resolvedStyleOverrides[slotKey] = processStyleArg(slotStyle, (0, _extends2.default)({}, props, { + theme + })); + }); + return overridesResolver(props, resolvedStyleOverrides); }); } if (componentName && !skipVariantsResolver) { expressionsWithDefaultTheme.push(props => { - const theme = resolveTheme((0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)({}, props, { + var _theme$components; + const theme = resolveTheme((0, _extends2.default)({}, props, { defaultTheme, themeId })); - return variantsResolver(props, getVariantStyles(componentName, theme), theme, componentName); + const themeVariants = theme == null || (_theme$components = theme.components) == null || (_theme$components = _theme$components[componentName]) == null ? void 0 : _theme$components.variants; + return processStyleArg({ + variants: themeVariants + }, (0, _extends2.default)({}, props, { + theme + })); }); } if (!skipSx) { @@ -4149,18 +5189,6 @@ function createStyled() { // If the type is array, than we need to add placeholders in the template for the overrides, variants and the sx styles. transformedStyleArg = [...styleArg, ...placeholders]; transformedStyleArg.raw = [...styleArg.raw, ...placeholders]; - } else if (typeof styleArg === 'function' && - // On the server Emotion doesn't use React.forwardRef for creating components, so the created - // component stays as a function. This condition makes sure that we do not interpolate functions - // which are basically components used as a selectors. - styleArg.__emotion_real !== styleArg) { - // If the type is function, we need to define the default theme. - transformedStyleArg = props => styleArg((0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)({}, props, { - theme: resolveTheme((0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)({}, props, { - defaultTheme, - themeId - })) - })); } const Component = defaultStyledResolver(transformedStyleArg, ...expressionsWithDefaultTheme); if (false) {} @@ -4178,7 +5206,261 @@ function createStyled() { /***/ }), -/***/ 7718: +/***/ 9074: +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ L7: () => (/* binding */ removeUnusedBreakpoints), +/* harmony export */ P$: () => (/* binding */ resolveBreakpointValues), +/* harmony export */ VO: () => (/* binding */ values), +/* harmony export */ W8: () => (/* binding */ createEmptyBreakpointObject), +/* harmony export */ dt: () => (/* binding */ mergeBreakpointsInOrder), +/* harmony export */ k9: () => (/* binding */ handleBreakpoints) +/* harmony export */ }); +/* unused harmony export computeBreakpointsBase */ +/* harmony import */ var _mui_utils_deepmerge__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8836); + + + + + +// The breakpoint **start** at this value. +// For instance with the first breakpoint xs: [xs, sm[. +const values = { + xs: 0, + // phone + sm: 600, + // tablet + md: 900, + // small laptop + lg: 1200, + // desktop + xl: 1536 // large screen +}; + +const defaultBreakpoints = { + // Sorted ASC by size. That's important. + // It can't be configured as it's used statically for propTypes. + keys: ['xs', 'sm', 'md', 'lg', 'xl'], + up: key => "@media (min-width:".concat(values[key], "px)") +}; +function handleBreakpoints(props, propValue, styleFromPropValue) { + const theme = props.theme || {}; + if (Array.isArray(propValue)) { + const themeBreakpoints = theme.breakpoints || defaultBreakpoints; + return propValue.reduce((acc, item, index) => { + acc[themeBreakpoints.up(themeBreakpoints.keys[index])] = styleFromPropValue(propValue[index]); + return acc; + }, {}); + } + if (typeof propValue === 'object') { + const themeBreakpoints = theme.breakpoints || defaultBreakpoints; + return Object.keys(propValue).reduce((acc, breakpoint) => { + // key is breakpoint + if (Object.keys(themeBreakpoints.values || values).indexOf(breakpoint) !== -1) { + const mediaKey = themeBreakpoints.up(breakpoint); + acc[mediaKey] = styleFromPropValue(propValue[breakpoint], breakpoint); + } else { + const cssKey = breakpoint; + acc[cssKey] = propValue[cssKey]; + } + return acc; + }, {}); + } + const output = styleFromPropValue(propValue); + return output; +} +function breakpoints(styleFunction) { + // false positive + // eslint-disable-next-line react/function-component-definition + const newStyleFunction = props => { + const theme = props.theme || {}; + const base = styleFunction(props); + const themeBreakpoints = theme.breakpoints || defaultBreakpoints; + const extended = themeBreakpoints.keys.reduce((acc, key) => { + if (props[key]) { + acc = acc || {}; + acc[themeBreakpoints.up(key)] = styleFunction(_extends({ + theme + }, props[key])); + } + return acc; + }, null); + return merge(base, extended); + }; + newStyleFunction.propTypes = false ? 0 : {}; + newStyleFunction.filterProps = ['xs', 'sm', 'md', 'lg', 'xl', ...styleFunction.filterProps]; + return newStyleFunction; +} +function createEmptyBreakpointObject() { + let breakpointsInput = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; + var _breakpointsInput$key; + const breakpointsInOrder = (_breakpointsInput$key = breakpointsInput.keys) == null ? void 0 : _breakpointsInput$key.reduce((acc, key) => { + const breakpointStyleKey = breakpointsInput.up(key); + acc[breakpointStyleKey] = {}; + return acc; + }, {}); + return breakpointsInOrder || {}; +} +function removeUnusedBreakpoints(breakpointKeys, style) { + return breakpointKeys.reduce((acc, key) => { + const breakpointOutput = acc[key]; + const isBreakpointUnused = !breakpointOutput || Object.keys(breakpointOutput).length === 0; + if (isBreakpointUnused) { + delete acc[key]; + } + return acc; + }, style); +} +function mergeBreakpointsInOrder(breakpointsInput) { + const emptyBreakpoints = createEmptyBreakpointObject(breakpointsInput); + for (var _len = arguments.length, styles = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) { + styles[_key - 1] = arguments[_key]; + } + const mergedOutput = [emptyBreakpoints, ...styles].reduce((prev, next) => (0,_mui_utils_deepmerge__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(prev, next), {}); + return removeUnusedBreakpoints(Object.keys(emptyBreakpoints), mergedOutput); +} + +// compute base for responsive values; e.g., +// [1,2,3] => {xs: true, sm: true, md: true} +// {xs: 1, sm: 2, md: 3} => {xs: true, sm: true, md: true} +function computeBreakpointsBase(breakpointValues, themeBreakpoints) { + // fixed value + if (typeof breakpointValues !== 'object') { + return {}; + } + const base = {}; + const breakpointsKeys = Object.keys(themeBreakpoints); + if (Array.isArray(breakpointValues)) { + breakpointsKeys.forEach((breakpoint, i) => { + if (i < breakpointValues.length) { + base[breakpoint] = true; + } + }); + } else { + breakpointsKeys.forEach(breakpoint => { + if (breakpointValues[breakpoint] != null) { + base[breakpoint] = true; + } + }); + } + return base; +} +function resolveBreakpointValues(_ref) { + let { + values: breakpointValues, + breakpoints: themeBreakpoints, + base: customBase + } = _ref; + const base = customBase || computeBreakpointsBase(breakpointValues, themeBreakpoints); + const keys = Object.keys(base); + if (keys.length === 0) { + return breakpointValues; + } + let previous; + return keys.reduce((acc, breakpoint, i) => { + if (Array.isArray(breakpointValues)) { + acc[breakpoint] = breakpointValues[i] != null ? breakpointValues[i] : breakpointValues[previous]; + previous = i; + } else if (typeof breakpointValues === 'object') { + acc[breakpoint] = breakpointValues[breakpoint] != null ? breakpointValues[breakpoint] : breakpointValues[previous]; + previous = breakpoint; + } else { + acc[breakpoint] = breakpointValues; + } + return acc; + }, {}); +} +/* unused harmony default export */ var __WEBPACK_DEFAULT_EXPORT__ = ((/* unused pure expression or super */ null && (breakpoints))); + +/***/ }), + +/***/ 4447: +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ Z: () => (/* binding */ applyStyles) +/* harmony export */ }); +/** + * A universal utility to style components with multiple color modes. Always use it from the theme object. + * It works with: + * - [Basic theme](https://mui.com/material-ui/customization/dark-mode/) + * - [CSS theme variables](https://mui.com/material-ui/experimental-api/css-theme-variables/overview/) + * - Zero-runtime engine + * + * Tips: Use an array over object spread and place `theme.applyStyles()` last. + * + * ✅ [{ background: '#e5e5e5' }, theme.applyStyles('dark', { background: '#1c1c1c' })] + * + * 🚫 { background: '#e5e5e5', ...theme.applyStyles('dark', { background: '#1c1c1c' })} + * + * @example + * 1. using with `styled`: + * ```jsx + * const Component = styled('div')(({ theme }) => [ + * { background: '#e5e5e5' }, + * theme.applyStyles('dark', { + * background: '#1c1c1c', + * color: '#fff', + * }), + * ]); + * ``` + * + * @example + * 2. using with `sx` prop: + * ```jsx + * [ + * { background: '#e5e5e5' }, + * theme.applyStyles('dark', { + * background: '#1c1c1c', + * color: '#fff', + * }), + * ]} + * /> + * ``` + * + * @example + * 3. theming a component: + * ```jsx + * extendTheme({ + * components: { + * MuiButton: { + * styleOverrides: { + * root: ({ theme }) => [ + * { background: '#e5e5e5' }, + * theme.applyStyles('dark', { + * background: '#1c1c1c', + * color: '#fff', + * }), + * ], + * }, + * } + * } + * }) + *``` + */ +function applyStyles(key, styles) { + // @ts-expect-error this is 'any' type + const theme = this; + if (theme.vars && typeof theme.getColorSchemeSelector === 'function') { + // If CssVarsProvider is used as a provider, + // returns '* :where([data-mui-color-scheme="light|dark"]) &' + const selector = theme.getColorSchemeSelector(key).replace(/(\[[^\]]+\])/, '*:where($1)'); + return { + [selector]: styles + }; + } + if (theme.palette.mode === key) { + return styles; + } + return {}; +} + +/***/ }), + +/***/ 782: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; @@ -4186,8 +5468,8 @@ function createStyled() { /* harmony export */ Z: () => (/* binding */ createBreakpoints) /* harmony export */ }); /* unused harmony export breakpointKeys */ -/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(45); -/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8957); +/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3031); +/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1010); const _excluded = ["values", "unit", "step"]; @@ -4274,20 +5556,36 @@ function createBreakpoints(breakpoints) { /***/ }), -/***/ 2893: +/***/ 2332: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ Z: () => (/* binding */ createSpacing) -/* harmony export */ }); -/* harmony import */ var _spacing__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(3563); + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + Z: () => (/* binding */ createTheme_createTheme) +}); + +// EXTERNAL MODULE: ./node_modules/.pnpm/@babel+runtime@7.24.4/node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(1010); +// EXTERNAL MODULE: ./node_modules/.pnpm/@babel+runtime@7.24.4/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +var objectWithoutPropertiesLoose = __webpack_require__(3031); +// EXTERNAL MODULE: ./node_modules/.pnpm/@mui+utils@5.15.14_@types+react@18.2.79_react@18.2.0/node_modules/@mui/utils/deepmerge/deepmerge.js +var deepmerge = __webpack_require__(8836); +// EXTERNAL MODULE: ./node_modules/.pnpm/@mui+system@5.15.15_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.79_react@18.2.0/node_modules/@mui/system/esm/createTheme/createBreakpoints.js +var createBreakpoints = __webpack_require__(782); +;// CONCATENATED MODULE: ./node_modules/.pnpm/@mui+system@5.15.15_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.79_react@18.2.0/node_modules/@mui/system/esm/createTheme/shape.js +const shape = { + borderRadius: 4 +}; +/* harmony default export */ const createTheme_shape = (shape); +// EXTERNAL MODULE: ./node_modules/.pnpm/@mui+system@5.15.15_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.79_react@18.2.0/node_modules/@mui/system/esm/spacing.js + 1 modules +var esm_spacing = __webpack_require__(9521); +;// CONCATENATED MODULE: ./node_modules/.pnpm/@mui+system@5.15.15_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.79_react@18.2.0/node_modules/@mui/system/esm/createTheme/createSpacing.js // The different signatures imply different meaning for their arguments that can't be expressed structurally. // We express the difference with variable names. -/* tslint:disable:unified-signatures */ -/* tslint:enable:unified-signatures */ function createSpacing() { let spacingInput = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 8; @@ -4299,7 +5597,7 @@ function createSpacing() { // Material Design layouts are visually balanced. Most measurements align to an 8dp grid, which aligns both spacing and the overall layout. // Smaller components, such as icons, can align to a 4dp grid. // https://m2.material.io/design/layout/understanding-layout.html - const transform = (0,_spacing__WEBPACK_IMPORTED_MODULE_0__/* .createUnarySpacing */ .hB)({ + const transform = (0,esm_spacing/* createUnarySpacing */.hB)({ spacing: spacingInput }); const spacing = function () { @@ -4316,24 +5614,13 @@ function createSpacing() { spacing.mui = true; return spacing; } - -/***/ }), - -/***/ 8311: -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ Z: () => (__WEBPACK_DEFAULT_EXPORT__) -/* harmony export */ }); -/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(8957); -/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(45); -/* harmony import */ var _mui_utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(1754); -/* harmony import */ var _createBreakpoints__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(7718); -/* harmony import */ var _shape__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(8089); -/* harmony import */ var _createSpacing__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(2893); -/* harmony import */ var _styleFunctionSx_styleFunctionSx__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(7761); -/* harmony import */ var _styleFunctionSx_defaultSxConfig__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(3094); +// EXTERNAL MODULE: ./node_modules/.pnpm/@mui+system@5.15.15_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.79_react@18.2.0/node_modules/@mui/system/esm/styleFunctionSx/styleFunctionSx.js +var styleFunctionSx = __webpack_require__(7692); +// EXTERNAL MODULE: ./node_modules/.pnpm/@mui+system@5.15.15_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.79_react@18.2.0/node_modules/@mui/system/esm/styleFunctionSx/defaultSxConfig.js + 5 modules +var defaultSxConfig = __webpack_require__(3913); +// EXTERNAL MODULE: ./node_modules/.pnpm/@mui+system@5.15.15_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.79_react@18.2.0/node_modules/@mui/system/esm/createTheme/applyStyles.js +var applyStyles = __webpack_require__(4447); +;// CONCATENATED MODULE: ./node_modules/.pnpm/@mui+system@5.15.15_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.79_react@18.2.0/node_modules/@mui/system/esm/createTheme/createTheme.js const _excluded = ["breakpoints", "palette", "spacing", "shape"]; @@ -4343,6 +5630,7 @@ const _excluded = ["breakpoints", "palette", "spacing", "shape"]; + function createTheme() { let options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; const { @@ -4351,154 +5639,102 @@ function createTheme() { spacing: spacingInput, shape: shapeInput = {} } = options, - other = (0,_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(options, _excluded); - const breakpoints = (0,_createBreakpoints__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(breakpointsInput); - const spacing = (0,_createSpacing__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(spacingInput); - let muiTheme = (0,_mui_utils__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)({ + other = (0,objectWithoutPropertiesLoose/* default */.Z)(options, _excluded); + const breakpoints = (0,createBreakpoints/* default */.Z)(breakpointsInput); + const spacing = createSpacing(spacingInput); + let muiTheme = (0,deepmerge/* default */.Z)({ breakpoints, direction: 'ltr', components: {}, // Inject component definitions. - palette: (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)({ + palette: (0,esm_extends/* default */.Z)({ mode: 'light' }, paletteInput), spacing, - shape: (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)({}, _shape__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z, shapeInput) + shape: (0,esm_extends/* default */.Z)({}, createTheme_shape, shapeInput) }, other); + muiTheme.applyStyles = applyStyles/* default */.Z; for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) { args[_key - 1] = arguments[_key]; } - muiTheme = args.reduce((acc, argument) => (0,_mui_utils__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(acc, argument), muiTheme); - muiTheme.unstable_sxConfig = (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)({}, _styleFunctionSx_defaultSxConfig__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z, other == null ? void 0 : other.unstable_sxConfig); + muiTheme = args.reduce((acc, argument) => (0,deepmerge/* default */.Z)(acc, argument), muiTheme); + muiTheme.unstable_sxConfig = (0,esm_extends/* default */.Z)({}, defaultSxConfig/* default */.Z, other == null ? void 0 : other.unstable_sxConfig); muiTheme.unstable_sx = function sx(props) { - return (0,_styleFunctionSx_styleFunctionSx__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z)({ + return (0,styleFunctionSx/* default */.Z)({ sx: props, theme: this }); }; return muiTheme; } -/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (createTheme); +/* harmony default export */ const createTheme_createTheme = (createTheme); /***/ }), -/***/ 8089: +/***/ 8523: +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (/* reexport safe */ _createTheme__WEBPACK_IMPORTED_MODULE_0__.Z), +/* harmony export */ private_createBreakpoints: () => (/* reexport safe */ _createBreakpoints__WEBPACK_IMPORTED_MODULE_1__.Z), +/* harmony export */ unstable_applyStyles: () => (/* reexport safe */ _applyStyles__WEBPACK_IMPORTED_MODULE_2__.Z) +/* harmony export */ }); +/* harmony import */ var _createTheme__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2332); +/* harmony import */ var _createBreakpoints__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(782); +/* harmony import */ var _applyStyles__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(4447); + + + + +/***/ }), + +/***/ 5388: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ Z: () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); -const shape = { - borderRadius: 4 -}; -/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (shape); +/* harmony import */ var _mui_utils_deepmerge__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8836); + +function merge(acc, item) { + if (!item) { + return acc; + } + return (0,_mui_utils_deepmerge__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(acc, item, { + clone: false // No need to clone deep, it's way faster. + }); +} + +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (merge); /***/ }), -/***/ 9805: +/***/ 9521: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ SG: () => (/* binding */ gap), -/* harmony export */ e$: () => (/* binding */ columnGap), -/* harmony export */ s2: () => (/* binding */ rowGap) -/* harmony export */ }); -/* unused harmony exports gridColumn, gridRow, gridAutoFlow, gridAutoColumns, gridAutoRows, gridTemplateColumns, gridTemplateRows, gridTemplateAreas, gridArea */ -/* harmony import */ var _style__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(7076); -/* harmony import */ var _compose__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(9351); -/* harmony import */ var _spacing__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(3563); -/* harmony import */ var _breakpoints__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4965); - - - - - -// false positive -// eslint-disable-next-line react/function-component-definition -const gap = props => { - if (props.gap !== undefined && props.gap !== null) { - const transformer = (0,_spacing__WEBPACK_IMPORTED_MODULE_0__/* .createUnaryUnit */ .eI)(props.theme, 'spacing', 8, 'gap'); - const styleFromPropValue = propValue => ({ - gap: (0,_spacing__WEBPACK_IMPORTED_MODULE_0__/* .getValue */ .NA)(transformer, propValue) - }); - return (0,_breakpoints__WEBPACK_IMPORTED_MODULE_1__/* .handleBreakpoints */ .k9)(props, props.gap, styleFromPropValue); - } - return null; -}; -gap.propTypes = false ? 0 : {}; -gap.filterProps = ['gap']; - -// false positive -// eslint-disable-next-line react/function-component-definition -const columnGap = props => { - if (props.columnGap !== undefined && props.columnGap !== null) { - const transformer = (0,_spacing__WEBPACK_IMPORTED_MODULE_0__/* .createUnaryUnit */ .eI)(props.theme, 'spacing', 8, 'columnGap'); - const styleFromPropValue = propValue => ({ - columnGap: (0,_spacing__WEBPACK_IMPORTED_MODULE_0__/* .getValue */ .NA)(transformer, propValue) - }); - return (0,_breakpoints__WEBPACK_IMPORTED_MODULE_1__/* .handleBreakpoints */ .k9)(props, props.columnGap, styleFromPropValue); - } - return null; -}; -columnGap.propTypes = false ? 0 : {}; -columnGap.filterProps = ['columnGap']; - -// false positive -// eslint-disable-next-line react/function-component-definition -const rowGap = props => { - if (props.rowGap !== undefined && props.rowGap !== null) { - const transformer = (0,_spacing__WEBPACK_IMPORTED_MODULE_0__/* .createUnaryUnit */ .eI)(props.theme, 'spacing', 8, 'rowGap'); - const styleFromPropValue = propValue => ({ - rowGap: (0,_spacing__WEBPACK_IMPORTED_MODULE_0__/* .getValue */ .NA)(transformer, propValue) - }); - return (0,_breakpoints__WEBPACK_IMPORTED_MODULE_1__/* .handleBreakpoints */ .k9)(props, props.rowGap, styleFromPropValue); - } - return null; -}; -rowGap.propTypes = false ? 0 : {}; -rowGap.filterProps = ['rowGap']; -const gridColumn = (0,_style__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)({ - prop: 'gridColumn' +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + hB: () => (/* binding */ createUnarySpacing), + eI: () => (/* binding */ createUnaryUnit), + NA: () => (/* binding */ getValue), + e6: () => (/* binding */ margin), + o3: () => (/* binding */ padding) }); -const gridRow = (0,_style__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)({ - prop: 'gridRow' -}); -const gridAutoFlow = (0,_style__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)({ - prop: 'gridAutoFlow' -}); -const gridAutoColumns = (0,_style__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)({ - prop: 'gridAutoColumns' -}); -const gridAutoRows = (0,_style__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)({ - prop: 'gridAutoRows' -}); -const gridTemplateColumns = (0,_style__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)({ - prop: 'gridTemplateColumns' -}); -const gridTemplateRows = (0,_style__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)({ - prop: 'gridTemplateRows' -}); -const gridTemplateAreas = (0,_style__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)({ - prop: 'gridTemplateAreas' -}); -const gridArea = (0,_style__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)({ - prop: 'gridArea' -}); -const grid = (0,_compose__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(gap, columnGap, rowGap, gridColumn, gridRow, gridAutoFlow, gridAutoColumns, gridAutoRows, gridTemplateColumns, gridTemplateRows, gridTemplateAreas, gridArea); -/* unused harmony default export */ var __WEBPACK_DEFAULT_EXPORT__ = ((/* unused pure expression or super */ null && (grid))); -/***/ }), +// UNUSED EXPORTS: default, getStyleFromPropValue, marginKeys, paddingKeys -/***/ 6620: -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ Z: () => (/* binding */ memoize) -/* harmony export */ }); +// EXTERNAL MODULE: ./node_modules/.pnpm/@mui+system@5.15.15_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.79_react@18.2.0/node_modules/@mui/system/esm/breakpoints.js +var breakpoints = __webpack_require__(9074); +// EXTERNAL MODULE: ./node_modules/.pnpm/@mui+system@5.15.15_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.79_react@18.2.0/node_modules/@mui/system/esm/style.js +var style = __webpack_require__(3335); +// EXTERNAL MODULE: ./node_modules/.pnpm/@mui+system@5.15.15_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.79_react@18.2.0/node_modules/@mui/system/esm/merge.js +var merge = __webpack_require__(5388); +;// CONCATENATED MODULE: ./node_modules/.pnpm/@mui+system@5.15.15_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.79_react@18.2.0/node_modules/@mui/system/esm/memoize.js function memoize(fn) { const cache = {}; return arg => { @@ -4508,205 +5744,7 @@ function memoize(fn) { return cache[arg]; }; } - -/***/ }), - -/***/ 3013: -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ Z: () => (__WEBPACK_DEFAULT_EXPORT__) -/* harmony export */ }); -/* harmony import */ var _mui_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1754); - -function merge(acc, item) { - if (!item) { - return acc; - } - return (0,_mui_utils__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(acc, item, { - clone: false // No need to clone deep, it's way faster. - }); -} - -/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (merge); - -/***/ }), - -/***/ 7999: -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ Sh: () => (/* binding */ paletteTransform) -/* harmony export */ }); -/* unused harmony exports color, bgcolor, backgroundColor */ -/* harmony import */ var _style__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(7076); -/* harmony import */ var _compose__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(9351); - - -function paletteTransform(value, userValue) { - if (userValue === 'grey') { - return userValue; - } - return value; -} -const color = (0,_style__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .ZP)({ - prop: 'color', - themeKey: 'palette', - transform: paletteTransform -}); -const bgcolor = (0,_style__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .ZP)({ - prop: 'bgcolor', - cssProperty: 'backgroundColor', - themeKey: 'palette', - transform: paletteTransform -}); -const backgroundColor = (0,_style__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .ZP)({ - prop: 'backgroundColor', - themeKey: 'palette', - transform: paletteTransform -}); -const palette = (0,_compose__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(color, bgcolor, backgroundColor); -/* unused harmony default export */ var __WEBPACK_DEFAULT_EXPORT__ = ((/* unused pure expression or super */ null && (palette))); - -/***/ }), - -/***/ 6211: -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ Z: () => (/* binding */ propsToClassKey) -/* harmony export */ }); -/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(45); -/* harmony import */ var _mui_utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(5789); - -const _excluded = ["variant"]; - -function isEmpty(string) { - return string.length === 0; -} - -/** - * Generates string classKey based on the properties provided. It starts with the - * variant if defined, and then it appends all other properties in alphabetical order. - * @param {object} props - the properties for which the classKey should be created. - */ -function propsToClassKey(props) { - const { - variant - } = props, - other = (0,_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(props, _excluded); - let classKey = variant || ''; - Object.keys(other).sort().forEach(key => { - if (key === 'color') { - classKey += isEmpty(classKey) ? props[key] : (0,_mui_utils__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(props[key]); - } else { - classKey += "".concat(isEmpty(classKey) ? key : (0,_mui_utils__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(key)).concat((0,_mui_utils__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(props[key].toString())); - } - }); - return classKey; -} - -/***/ }), - -/***/ 7795: -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ EB: () => (/* binding */ sizingTransform), -/* harmony export */ kk: () => (/* binding */ maxWidth) -/* harmony export */ }); -/* unused harmony exports width, minWidth, height, maxHeight, minHeight, sizeWidth, sizeHeight, boxSizing */ -/* harmony import */ var _style__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(7076); -/* harmony import */ var _compose__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(9351); -/* harmony import */ var _breakpoints__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4965); - - - -function sizingTransform(value) { - return value <= 1 && value !== 0 ? "".concat(value * 100, "%") : value; -} -const width = (0,_style__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .ZP)({ - prop: 'width', - transform: sizingTransform -}); -const maxWidth = props => { - if (props.maxWidth !== undefined && props.maxWidth !== null) { - const styleFromPropValue = propValue => { - var _props$theme, _props$theme2; - const breakpoint = ((_props$theme = props.theme) == null || (_props$theme = _props$theme.breakpoints) == null || (_props$theme = _props$theme.values) == null ? void 0 : _props$theme[propValue]) || _breakpoints__WEBPACK_IMPORTED_MODULE_1__/* .values */ .VO[propValue]; - if (!breakpoint) { - return { - maxWidth: sizingTransform(propValue) - }; - } - if (((_props$theme2 = props.theme) == null || (_props$theme2 = _props$theme2.breakpoints) == null ? void 0 : _props$theme2.unit) !== 'px') { - return { - maxWidth: "".concat(breakpoint).concat(props.theme.breakpoints.unit) - }; - } - return { - maxWidth: breakpoint - }; - }; - return (0,_breakpoints__WEBPACK_IMPORTED_MODULE_1__/* .handleBreakpoints */ .k9)(props, props.maxWidth, styleFromPropValue); - } - return null; -}; -maxWidth.filterProps = ['maxWidth']; -const minWidth = (0,_style__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .ZP)({ - prop: 'minWidth', - transform: sizingTransform -}); -const height = (0,_style__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .ZP)({ - prop: 'height', - transform: sizingTransform -}); -const maxHeight = (0,_style__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .ZP)({ - prop: 'maxHeight', - transform: sizingTransform -}); -const minHeight = (0,_style__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .ZP)({ - prop: 'minHeight', - transform: sizingTransform -}); -const sizeWidth = (0,_style__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .ZP)({ - prop: 'size', - cssProperty: 'width', - transform: sizingTransform -}); -const sizeHeight = (0,_style__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .ZP)({ - prop: 'size', - cssProperty: 'height', - transform: sizingTransform -}); -const boxSizing = (0,_style__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .ZP)({ - prop: 'boxSizing' -}); -const sizing = (0,_compose__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(width, maxWidth, minWidth, height, maxHeight, minHeight, boxSizing); -/* unused harmony default export */ var __WEBPACK_DEFAULT_EXPORT__ = ((/* unused pure expression or super */ null && (sizing))); - -/***/ }), - -/***/ 3563: -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ NA: () => (/* binding */ getValue), -/* harmony export */ e6: () => (/* binding */ margin), -/* harmony export */ eI: () => (/* binding */ createUnaryUnit), -/* harmony export */ hB: () => (/* binding */ createUnarySpacing), -/* harmony export */ o3: () => (/* binding */ padding) -/* harmony export */ }); -/* unused harmony exports marginKeys, paddingKeys, getStyleFromPropValue */ -/* harmony import */ var _breakpoints__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(4965); -/* harmony import */ var _style__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(7076); -/* harmony import */ var _merge__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(3013); -/* harmony import */ var _memoize__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6620); +;// CONCATENATED MODULE: ./node_modules/.pnpm/@mui+system@5.15.15_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.79_react@18.2.0/node_modules/@mui/system/esm/spacing.js @@ -4734,7 +5772,7 @@ const aliases = { // memoize() impact: // From 300,000 ops/sec // To 350,000 ops/sec -const getCssProperties = (0,_memoize__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(prop => { +const getCssProperties = memoize(prop => { // It's not a shorthand notation. if (prop.length > 2) { if (aliases[prop]) { @@ -4753,7 +5791,7 @@ const paddingKeys = ['p', 'pt', 'pr', 'pb', 'pl', 'px', 'py', 'padding', 'paddin const spacingKeys = [...marginKeys, ...paddingKeys]; function createUnaryUnit(theme, themeKey, defaultValue, propName) { var _getPath; - const themeSpacing = (_getPath = (0,_style__WEBPACK_IMPORTED_MODULE_1__/* .getPath */ .DW)(theme, themeKey, false)) != null ? _getPath : defaultValue; + const themeSpacing = (_getPath = (0,style/* getPath */.DW)(theme, themeKey, false)) != null ? _getPath : defaultValue; if (typeof themeSpacing === 'number') { return abs => { if (typeof abs === 'string') { @@ -4810,32 +5848,32 @@ function resolveCssProperty(props, keys, prop, transformer) { const cssProperties = getCssProperties(prop); const styleFromPropValue = getStyleFromPropValue(cssProperties, transformer); const propValue = props[prop]; - return (0,_breakpoints__WEBPACK_IMPORTED_MODULE_2__/* .handleBreakpoints */ .k9)(props, propValue, styleFromPropValue); + return (0,breakpoints/* handleBreakpoints */.k9)(props, propValue, styleFromPropValue); } -function style(props, keys) { +function spacing_style(props, keys) { const transformer = createUnarySpacing(props.theme); - return Object.keys(props).map(prop => resolveCssProperty(props, keys, prop, transformer)).reduce(_merge__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z, {}); + return Object.keys(props).map(prop => resolveCssProperty(props, keys, prop, transformer)).reduce(merge/* default */.Z, {}); } function margin(props) { - return style(props, marginKeys); + return spacing_style(props, marginKeys); } margin.propTypes = false ? 0 : {}; margin.filterProps = marginKeys; function padding(props) { - return style(props, paddingKeys); + return spacing_style(props, paddingKeys); } padding.propTypes = false ? 0 : {}; padding.filterProps = paddingKeys; function spacing(props) { - return style(props, spacingKeys); + return spacing_style(props, spacingKeys); } spacing.propTypes = false ? 0 : {}; spacing.filterProps = spacingKeys; -/* unused harmony default export */ var __WEBPACK_DEFAULT_EXPORT__ = ((/* unused pure expression or super */ null && (spacing))); +/* harmony default export */ const esm_spacing = ((/* unused pure expression or super */ null && (spacing))); /***/ }), -/***/ 7076: +/***/ 3335: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; @@ -4844,8 +5882,8 @@ spacing.filterProps = spacingKeys; /* harmony export */ Jq: () => (/* binding */ getStyleValue), /* harmony export */ ZP: () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); -/* harmony import */ var _mui_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(5789); -/* harmony import */ var _breakpoints__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4965); +/* harmony import */ var _mui_utils_capitalize__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4656); +/* harmony import */ var _breakpoints__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(9074); @@ -4905,7 +5943,7 @@ function style(options) { let value = getStyleValue(themeMapping, transform, propValueFinal); if (propValueFinal === value && typeof propValueFinal === 'string') { // Haven't found value - value = getStyleValue(themeMapping, transform, "".concat(prop).concat(propValueFinal === 'default' ? '' : (0,_mui_utils__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(propValueFinal)), propValueFinal); + value = getStyleValue(themeMapping, transform, "".concat(prop).concat(propValueFinal === 'default' ? '' : (0,_mui_utils_capitalize__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(propValueFinal)), propValueFinal); } if (cssProperty === false) { return value; @@ -4924,18 +5962,274 @@ function style(options) { /***/ }), -/***/ 3094: +/***/ 3913: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ Z: () => (__WEBPACK_DEFAULT_EXPORT__) -/* harmony export */ }); -/* harmony import */ var _spacing__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(3563); -/* harmony import */ var _borders__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8343); -/* harmony import */ var _cssGrid__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(9805); -/* harmony import */ var _palette__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(7999); -/* harmony import */ var _sizing__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(7795); + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + Z: () => (/* binding */ styleFunctionSx_defaultSxConfig) +}); + +// EXTERNAL MODULE: ./node_modules/.pnpm/@mui+system@5.15.15_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.79_react@18.2.0/node_modules/@mui/system/esm/spacing.js + 1 modules +var spacing = __webpack_require__(9521); +// EXTERNAL MODULE: ./node_modules/.pnpm/@mui+system@5.15.15_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.79_react@18.2.0/node_modules/@mui/system/esm/style.js +var style = __webpack_require__(3335); +// EXTERNAL MODULE: ./node_modules/.pnpm/@mui+system@5.15.15_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.79_react@18.2.0/node_modules/@mui/system/esm/merge.js +var merge = __webpack_require__(5388); +;// CONCATENATED MODULE: ./node_modules/.pnpm/@mui+system@5.15.15_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.79_react@18.2.0/node_modules/@mui/system/esm/compose.js + +function compose() { + for (var _len = arguments.length, styles = new Array(_len), _key = 0; _key < _len; _key++) { + styles[_key] = arguments[_key]; + } + const handlers = styles.reduce((acc, style) => { + style.filterProps.forEach(prop => { + acc[prop] = style; + }); + return acc; + }, {}); + + // false positive + // eslint-disable-next-line react/function-component-definition + const fn = props => { + return Object.keys(props).reduce((acc, prop) => { + if (handlers[prop]) { + return (0,merge/* default */.Z)(acc, handlers[prop](props)); + } + return acc; + }, {}); + }; + fn.propTypes = false ? 0 : {}; + fn.filterProps = styles.reduce((acc, style) => acc.concat(style.filterProps), []); + return fn; +} +/* harmony default export */ const esm_compose = (compose); +// EXTERNAL MODULE: ./node_modules/.pnpm/@mui+system@5.15.15_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.79_react@18.2.0/node_modules/@mui/system/esm/breakpoints.js +var breakpoints = __webpack_require__(9074); +;// CONCATENATED MODULE: ./node_modules/.pnpm/@mui+system@5.15.15_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.79_react@18.2.0/node_modules/@mui/system/esm/borders.js + + + + + +function borderTransform(value) { + if (typeof value !== 'number') { + return value; + } + return "".concat(value, "px solid"); +} +function createBorderStyle(prop, transform) { + return (0,style/* default */.ZP)({ + prop, + themeKey: 'borders', + transform + }); +} +const border = createBorderStyle('border', borderTransform); +const borderTop = createBorderStyle('borderTop', borderTransform); +const borderRight = createBorderStyle('borderRight', borderTransform); +const borderBottom = createBorderStyle('borderBottom', borderTransform); +const borderLeft = createBorderStyle('borderLeft', borderTransform); +const borderColor = createBorderStyle('borderColor'); +const borderTopColor = createBorderStyle('borderTopColor'); +const borderRightColor = createBorderStyle('borderRightColor'); +const borderBottomColor = createBorderStyle('borderBottomColor'); +const borderLeftColor = createBorderStyle('borderLeftColor'); +const outline = createBorderStyle('outline', borderTransform); +const outlineColor = createBorderStyle('outlineColor'); + +// false positive +// eslint-disable-next-line react/function-component-definition +const borderRadius = props => { + if (props.borderRadius !== undefined && props.borderRadius !== null) { + const transformer = (0,spacing/* createUnaryUnit */.eI)(props.theme, 'shape.borderRadius', 4, 'borderRadius'); + const styleFromPropValue = propValue => ({ + borderRadius: (0,spacing/* getValue */.NA)(transformer, propValue) + }); + return (0,breakpoints/* handleBreakpoints */.k9)(props, props.borderRadius, styleFromPropValue); + } + return null; +}; +borderRadius.propTypes = false ? 0 : {}; +borderRadius.filterProps = ['borderRadius']; +const borders = esm_compose(border, borderTop, borderRight, borderBottom, borderLeft, borderColor, borderTopColor, borderRightColor, borderBottomColor, borderLeftColor, borderRadius, outline, outlineColor); +/* harmony default export */ const esm_borders = ((/* unused pure expression or super */ null && (borders))); +;// CONCATENATED MODULE: ./node_modules/.pnpm/@mui+system@5.15.15_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.79_react@18.2.0/node_modules/@mui/system/esm/cssGrid.js + + + + + + +// false positive +// eslint-disable-next-line react/function-component-definition +const gap = props => { + if (props.gap !== undefined && props.gap !== null) { + const transformer = (0,spacing/* createUnaryUnit */.eI)(props.theme, 'spacing', 8, 'gap'); + const styleFromPropValue = propValue => ({ + gap: (0,spacing/* getValue */.NA)(transformer, propValue) + }); + return (0,breakpoints/* handleBreakpoints */.k9)(props, props.gap, styleFromPropValue); + } + return null; +}; +gap.propTypes = false ? 0 : {}; +gap.filterProps = ['gap']; + +// false positive +// eslint-disable-next-line react/function-component-definition +const columnGap = props => { + if (props.columnGap !== undefined && props.columnGap !== null) { + const transformer = (0,spacing/* createUnaryUnit */.eI)(props.theme, 'spacing', 8, 'columnGap'); + const styleFromPropValue = propValue => ({ + columnGap: (0,spacing/* getValue */.NA)(transformer, propValue) + }); + return (0,breakpoints/* handleBreakpoints */.k9)(props, props.columnGap, styleFromPropValue); + } + return null; +}; +columnGap.propTypes = false ? 0 : {}; +columnGap.filterProps = ['columnGap']; + +// false positive +// eslint-disable-next-line react/function-component-definition +const rowGap = props => { + if (props.rowGap !== undefined && props.rowGap !== null) { + const transformer = (0,spacing/* createUnaryUnit */.eI)(props.theme, 'spacing', 8, 'rowGap'); + const styleFromPropValue = propValue => ({ + rowGap: (0,spacing/* getValue */.NA)(transformer, propValue) + }); + return (0,breakpoints/* handleBreakpoints */.k9)(props, props.rowGap, styleFromPropValue); + } + return null; +}; +rowGap.propTypes = false ? 0 : {}; +rowGap.filterProps = ['rowGap']; +const gridColumn = (0,style/* default */.ZP)({ + prop: 'gridColumn' +}); +const gridRow = (0,style/* default */.ZP)({ + prop: 'gridRow' +}); +const gridAutoFlow = (0,style/* default */.ZP)({ + prop: 'gridAutoFlow' +}); +const gridAutoColumns = (0,style/* default */.ZP)({ + prop: 'gridAutoColumns' +}); +const gridAutoRows = (0,style/* default */.ZP)({ + prop: 'gridAutoRows' +}); +const gridTemplateColumns = (0,style/* default */.ZP)({ + prop: 'gridTemplateColumns' +}); +const gridTemplateRows = (0,style/* default */.ZP)({ + prop: 'gridTemplateRows' +}); +const gridTemplateAreas = (0,style/* default */.ZP)({ + prop: 'gridTemplateAreas' +}); +const gridArea = (0,style/* default */.ZP)({ + prop: 'gridArea' +}); +const grid = esm_compose(gap, columnGap, rowGap, gridColumn, gridRow, gridAutoFlow, gridAutoColumns, gridAutoRows, gridTemplateColumns, gridTemplateRows, gridTemplateAreas, gridArea); +/* harmony default export */ const cssGrid = ((/* unused pure expression or super */ null && (grid))); +;// CONCATENATED MODULE: ./node_modules/.pnpm/@mui+system@5.15.15_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.79_react@18.2.0/node_modules/@mui/system/esm/palette.js + + +function paletteTransform(value, userValue) { + if (userValue === 'grey') { + return userValue; + } + return value; +} +const color = (0,style/* default */.ZP)({ + prop: 'color', + themeKey: 'palette', + transform: paletteTransform +}); +const bgcolor = (0,style/* default */.ZP)({ + prop: 'bgcolor', + cssProperty: 'backgroundColor', + themeKey: 'palette', + transform: paletteTransform +}); +const backgroundColor = (0,style/* default */.ZP)({ + prop: 'backgroundColor', + themeKey: 'palette', + transform: paletteTransform +}); +const palette = esm_compose(color, bgcolor, backgroundColor); +/* harmony default export */ const esm_palette = ((/* unused pure expression or super */ null && (palette))); +;// CONCATENATED MODULE: ./node_modules/.pnpm/@mui+system@5.15.15_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.79_react@18.2.0/node_modules/@mui/system/esm/sizing.js + + + +function sizingTransform(value) { + return value <= 1 && value !== 0 ? "".concat(value * 100, "%") : value; +} +const width = (0,style/* default */.ZP)({ + prop: 'width', + transform: sizingTransform +}); +const maxWidth = props => { + if (props.maxWidth !== undefined && props.maxWidth !== null) { + const styleFromPropValue = propValue => { + var _props$theme, _props$theme2; + const breakpoint = ((_props$theme = props.theme) == null || (_props$theme = _props$theme.breakpoints) == null || (_props$theme = _props$theme.values) == null ? void 0 : _props$theme[propValue]) || breakpoints/* values */.VO[propValue]; + if (!breakpoint) { + return { + maxWidth: sizingTransform(propValue) + }; + } + if (((_props$theme2 = props.theme) == null || (_props$theme2 = _props$theme2.breakpoints) == null ? void 0 : _props$theme2.unit) !== 'px') { + return { + maxWidth: "".concat(breakpoint).concat(props.theme.breakpoints.unit) + }; + } + return { + maxWidth: breakpoint + }; + }; + return (0,breakpoints/* handleBreakpoints */.k9)(props, props.maxWidth, styleFromPropValue); + } + return null; +}; +maxWidth.filterProps = ['maxWidth']; +const minWidth = (0,style/* default */.ZP)({ + prop: 'minWidth', + transform: sizingTransform +}); +const height = (0,style/* default */.ZP)({ + prop: 'height', + transform: sizingTransform +}); +const maxHeight = (0,style/* default */.ZP)({ + prop: 'maxHeight', + transform: sizingTransform +}); +const minHeight = (0,style/* default */.ZP)({ + prop: 'minHeight', + transform: sizingTransform +}); +const sizeWidth = (0,style/* default */.ZP)({ + prop: 'size', + cssProperty: 'width', + transform: sizingTransform +}); +const sizeHeight = (0,style/* default */.ZP)({ + prop: 'size', + cssProperty: 'height', + transform: sizingTransform +}); +const boxSizing = (0,style/* default */.ZP)({ + prop: 'boxSizing' +}); +const sizing = esm_compose(width, maxWidth, minWidth, height, maxHeight, minHeight, boxSizing); +/* harmony default export */ const esm_sizing = ((/* unused pure expression or super */ null && (sizing))); +;// CONCATENATED MODULE: ./node_modules/.pnpm/@mui+system@5.15.15_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.79_react@18.2.0/node_modules/@mui/system/esm/styleFunctionSx/defaultSxConfig.js @@ -4945,23 +6239,23 @@ const defaultSxConfig = { // borders border: { themeKey: 'borders', - transform: _borders__WEBPACK_IMPORTED_MODULE_0__/* .borderTransform */ .NL + transform: borderTransform }, borderTop: { themeKey: 'borders', - transform: _borders__WEBPACK_IMPORTED_MODULE_0__/* .borderTransform */ .NL + transform: borderTransform }, borderRight: { themeKey: 'borders', - transform: _borders__WEBPACK_IMPORTED_MODULE_0__/* .borderTransform */ .NL + transform: borderTransform }, borderBottom: { themeKey: 'borders', - transform: _borders__WEBPACK_IMPORTED_MODULE_0__/* .borderTransform */ .NL + transform: borderTransform }, borderLeft: { themeKey: 'borders', - transform: _borders__WEBPACK_IMPORTED_MODULE_0__/* .borderTransform */ .NL + transform: borderTransform }, borderColor: { themeKey: 'palette' @@ -4978,144 +6272,151 @@ const defaultSxConfig = { borderLeftColor: { themeKey: 'palette' }, + outline: { + themeKey: 'borders', + transform: borderTransform + }, + outlineColor: { + themeKey: 'palette' + }, borderRadius: { themeKey: 'shape.borderRadius', - style: _borders__WEBPACK_IMPORTED_MODULE_0__/* .borderRadius */ .E0 + style: borderRadius }, // palette color: { themeKey: 'palette', - transform: _palette__WEBPACK_IMPORTED_MODULE_1__/* .paletteTransform */ .Sh + transform: paletteTransform }, bgcolor: { themeKey: 'palette', cssProperty: 'backgroundColor', - transform: _palette__WEBPACK_IMPORTED_MODULE_1__/* .paletteTransform */ .Sh + transform: paletteTransform }, backgroundColor: { themeKey: 'palette', - transform: _palette__WEBPACK_IMPORTED_MODULE_1__/* .paletteTransform */ .Sh + transform: paletteTransform }, // spacing p: { - style: _spacing__WEBPACK_IMPORTED_MODULE_2__/* .padding */ .o3 + style: spacing/* padding */.o3 }, pt: { - style: _spacing__WEBPACK_IMPORTED_MODULE_2__/* .padding */ .o3 + style: spacing/* padding */.o3 }, pr: { - style: _spacing__WEBPACK_IMPORTED_MODULE_2__/* .padding */ .o3 + style: spacing/* padding */.o3 }, pb: { - style: _spacing__WEBPACK_IMPORTED_MODULE_2__/* .padding */ .o3 + style: spacing/* padding */.o3 }, pl: { - style: _spacing__WEBPACK_IMPORTED_MODULE_2__/* .padding */ .o3 + style: spacing/* padding */.o3 }, px: { - style: _spacing__WEBPACK_IMPORTED_MODULE_2__/* .padding */ .o3 + style: spacing/* padding */.o3 }, py: { - style: _spacing__WEBPACK_IMPORTED_MODULE_2__/* .padding */ .o3 + style: spacing/* padding */.o3 }, padding: { - style: _spacing__WEBPACK_IMPORTED_MODULE_2__/* .padding */ .o3 + style: spacing/* padding */.o3 }, paddingTop: { - style: _spacing__WEBPACK_IMPORTED_MODULE_2__/* .padding */ .o3 + style: spacing/* padding */.o3 }, paddingRight: { - style: _spacing__WEBPACK_IMPORTED_MODULE_2__/* .padding */ .o3 + style: spacing/* padding */.o3 }, paddingBottom: { - style: _spacing__WEBPACK_IMPORTED_MODULE_2__/* .padding */ .o3 + style: spacing/* padding */.o3 }, paddingLeft: { - style: _spacing__WEBPACK_IMPORTED_MODULE_2__/* .padding */ .o3 + style: spacing/* padding */.o3 }, paddingX: { - style: _spacing__WEBPACK_IMPORTED_MODULE_2__/* .padding */ .o3 + style: spacing/* padding */.o3 }, paddingY: { - style: _spacing__WEBPACK_IMPORTED_MODULE_2__/* .padding */ .o3 + style: spacing/* padding */.o3 }, paddingInline: { - style: _spacing__WEBPACK_IMPORTED_MODULE_2__/* .padding */ .o3 + style: spacing/* padding */.o3 }, paddingInlineStart: { - style: _spacing__WEBPACK_IMPORTED_MODULE_2__/* .padding */ .o3 + style: spacing/* padding */.o3 }, paddingInlineEnd: { - style: _spacing__WEBPACK_IMPORTED_MODULE_2__/* .padding */ .o3 + style: spacing/* padding */.o3 }, paddingBlock: { - style: _spacing__WEBPACK_IMPORTED_MODULE_2__/* .padding */ .o3 + style: spacing/* padding */.o3 }, paddingBlockStart: { - style: _spacing__WEBPACK_IMPORTED_MODULE_2__/* .padding */ .o3 + style: spacing/* padding */.o3 }, paddingBlockEnd: { - style: _spacing__WEBPACK_IMPORTED_MODULE_2__/* .padding */ .o3 + style: spacing/* padding */.o3 }, m: { - style: _spacing__WEBPACK_IMPORTED_MODULE_2__/* .margin */ .e6 + style: spacing/* margin */.e6 }, mt: { - style: _spacing__WEBPACK_IMPORTED_MODULE_2__/* .margin */ .e6 + style: spacing/* margin */.e6 }, mr: { - style: _spacing__WEBPACK_IMPORTED_MODULE_2__/* .margin */ .e6 + style: spacing/* margin */.e6 }, mb: { - style: _spacing__WEBPACK_IMPORTED_MODULE_2__/* .margin */ .e6 + style: spacing/* margin */.e6 }, ml: { - style: _spacing__WEBPACK_IMPORTED_MODULE_2__/* .margin */ .e6 + style: spacing/* margin */.e6 }, mx: { - style: _spacing__WEBPACK_IMPORTED_MODULE_2__/* .margin */ .e6 + style: spacing/* margin */.e6 }, my: { - style: _spacing__WEBPACK_IMPORTED_MODULE_2__/* .margin */ .e6 + style: spacing/* margin */.e6 }, margin: { - style: _spacing__WEBPACK_IMPORTED_MODULE_2__/* .margin */ .e6 + style: spacing/* margin */.e6 }, marginTop: { - style: _spacing__WEBPACK_IMPORTED_MODULE_2__/* .margin */ .e6 + style: spacing/* margin */.e6 }, marginRight: { - style: _spacing__WEBPACK_IMPORTED_MODULE_2__/* .margin */ .e6 + style: spacing/* margin */.e6 }, marginBottom: { - style: _spacing__WEBPACK_IMPORTED_MODULE_2__/* .margin */ .e6 + style: spacing/* margin */.e6 }, marginLeft: { - style: _spacing__WEBPACK_IMPORTED_MODULE_2__/* .margin */ .e6 + style: spacing/* margin */.e6 }, marginX: { - style: _spacing__WEBPACK_IMPORTED_MODULE_2__/* .margin */ .e6 + style: spacing/* margin */.e6 }, marginY: { - style: _spacing__WEBPACK_IMPORTED_MODULE_2__/* .margin */ .e6 + style: spacing/* margin */.e6 }, marginInline: { - style: _spacing__WEBPACK_IMPORTED_MODULE_2__/* .margin */ .e6 + style: spacing/* margin */.e6 }, marginInlineStart: { - style: _spacing__WEBPACK_IMPORTED_MODULE_2__/* .margin */ .e6 + style: spacing/* margin */.e6 }, marginInlineEnd: { - style: _spacing__WEBPACK_IMPORTED_MODULE_2__/* .margin */ .e6 + style: spacing/* margin */.e6 }, marginBlock: { - style: _spacing__WEBPACK_IMPORTED_MODULE_2__/* .margin */ .e6 + style: spacing/* margin */.e6 }, marginBlockStart: { - style: _spacing__WEBPACK_IMPORTED_MODULE_2__/* .margin */ .e6 + style: spacing/* margin */.e6 }, marginBlockEnd: { - style: _spacing__WEBPACK_IMPORTED_MODULE_2__/* .margin */ .e6 + style: spacing/* margin */.e6 }, // display displayPrint: { @@ -5147,13 +6448,13 @@ const defaultSxConfig = { justifySelf: {}, // grid gap: { - style: _cssGrid__WEBPACK_IMPORTED_MODULE_3__/* .gap */ .SG + style: gap }, rowGap: { - style: _cssGrid__WEBPACK_IMPORTED_MODULE_3__/* .rowGap */ .s2 + style: rowGap }, columnGap: { - style: _cssGrid__WEBPACK_IMPORTED_MODULE_3__/* .columnGap */ .e$ + style: columnGap }, gridColumn: {}, gridRow: {}, @@ -5179,22 +6480,22 @@ const defaultSxConfig = { }, // sizing width: { - transform: _sizing__WEBPACK_IMPORTED_MODULE_4__/* .sizingTransform */ .EB + transform: sizingTransform }, maxWidth: { - style: _sizing__WEBPACK_IMPORTED_MODULE_4__/* .maxWidth */ .kk + style: maxWidth }, minWidth: { - transform: _sizing__WEBPACK_IMPORTED_MODULE_4__/* .sizingTransform */ .EB + transform: sizingTransform }, height: { - transform: _sizing__WEBPACK_IMPORTED_MODULE_4__/* .sizingTransform */ .EB + transform: sizingTransform }, maxHeight: { - transform: _sizing__WEBPACK_IMPORTED_MODULE_4__/* .sizingTransform */ .EB + transform: sizingTransform }, minHeight: { - transform: _sizing__WEBPACK_IMPORTED_MODULE_4__/* .sizingTransform */ .EB + transform: sizingTransform }, boxSizing: {}, // typography @@ -5219,23 +6520,106 @@ const defaultSxConfig = { themeKey: 'typography' } }; -/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (defaultSxConfig); +/* harmony default export */ const styleFunctionSx_defaultSxConfig = (defaultSxConfig); /***/ }), -/***/ 7761: +/***/ 761: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ Z: () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ Z: () => (/* binding */ extendSxProp) /* harmony export */ }); -/* unused harmony export unstable_createStyleFunctionSx */ -/* harmony import */ var _mui_utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(5789); -/* harmony import */ var _merge__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(3013); -/* harmony import */ var _style__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(7076); -/* harmony import */ var _breakpoints__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(4965); -/* harmony import */ var _defaultSxConfig__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(3094); +/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(1010); +/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3031); +/* harmony import */ var _mui_utils_deepmerge__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(8836); +/* harmony import */ var _defaultSxConfig__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(3913); + + +const _excluded = ["sx"]; + + +const splitProps = props => { + var _props$theme$unstable, _props$theme; + const result = { + systemProps: {}, + otherProps: {} + }; + const config = (_props$theme$unstable = props == null || (_props$theme = props.theme) == null ? void 0 : _props$theme.unstable_sxConfig) != null ? _props$theme$unstable : _defaultSxConfig__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z; + Object.keys(props).forEach(prop => { + if (config[prop]) { + result.systemProps[prop] = props[prop]; + } else { + result.otherProps[prop] = props[prop]; + } + }); + return result; +}; +function extendSxProp(props) { + const { + sx: inSx + } = props, + other = (0,_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(props, _excluded); + const { + systemProps, + otherProps + } = splitProps(other); + let finalSx; + if (Array.isArray(inSx)) { + finalSx = [systemProps, ...inSx]; + } else if (typeof inSx === 'function') { + finalSx = function () { + const result = inSx(...arguments); + if (!(0,_mui_utils_deepmerge__WEBPACK_IMPORTED_MODULE_2__/* .isPlainObject */ .P)(result)) { + return systemProps; + } + return (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)({}, systemProps, result); + }; + } else { + finalSx = (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)({}, systemProps, inSx); + } + return (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)({}, otherProps, { + sx: finalSx + }); +} + +/***/ }), + +/***/ 1238: +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (/* reexport safe */ _styleFunctionSx__WEBPACK_IMPORTED_MODULE_0__.Z), +/* harmony export */ extendSxProp: () => (/* reexport safe */ _extendSxProp__WEBPACK_IMPORTED_MODULE_1__.Z), +/* harmony export */ unstable_createStyleFunctionSx: () => (/* reexport safe */ _styleFunctionSx__WEBPACK_IMPORTED_MODULE_0__.n), +/* harmony export */ unstable_defaultSxConfig: () => (/* reexport safe */ _defaultSxConfig__WEBPACK_IMPORTED_MODULE_2__.Z) +/* harmony export */ }); +/* harmony import */ var _styleFunctionSx__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(7692); +/* harmony import */ var _extendSxProp__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(761); +/* harmony import */ var _defaultSxConfig__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(3913); + + + + + +/***/ }), + +/***/ 7692: +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ Z: () => (__WEBPACK_DEFAULT_EXPORT__), +/* harmony export */ n: () => (/* binding */ unstable_createStyleFunctionSx) +/* harmony export */ }); +/* harmony import */ var _mui_utils_capitalize__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4656); +/* harmony import */ var _merge__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(5388); +/* harmony import */ var _style__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(3335); +/* harmony import */ var _breakpoints__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(9074); +/* harmony import */ var _defaultSxConfig__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(3913); @@ -5290,7 +6674,7 @@ function unstable_createStyleFunctionSx() { let value = (0,_style__WEBPACK_IMPORTED_MODULE_0__/* .getStyleValue */ .Jq)(themeMapping, transform, propValueFinal); if (propValueFinal === value && typeof propValueFinal === 'string') { // Haven't found value - value = (0,_style__WEBPACK_IMPORTED_MODULE_0__/* .getStyleValue */ .Jq)(themeMapping, transform, "".concat(prop).concat(propValueFinal === 'default' ? '' : (0,_mui_utils__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(propValueFinal)), propValueFinal); + value = (0,_style__WEBPACK_IMPORTED_MODULE_0__/* .getStyleValue */ .Jq)(themeMapping, transform, "".concat(prop).concat(propValueFinal === 'default' ? '' : (0,_mui_utils_capitalize__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(propValueFinal)), propValueFinal); } if (cssProperty === false) { return value; @@ -5370,7 +6754,7 @@ styleFunctionSx.filterProps = ['sx']; /***/ }), -/***/ 9958: +/***/ 234: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; @@ -5378,8 +6762,8 @@ styleFunctionSx.filterProps = ['sx']; /* harmony export */ Z: () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); /* unused harmony export systemDefaultTheme */ -/* harmony import */ var _createTheme__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8311); -/* harmony import */ var _useThemeWithoutDefault__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6485); +/* harmony import */ var _createTheme__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2332); +/* harmony import */ var _useThemeWithoutDefault__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4601); 'use client'; @@ -5393,14 +6777,14 @@ function useTheme() { /***/ }), -/***/ 3927: +/***/ 2473: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ Z: () => (/* binding */ getThemeProps) /* harmony export */ }); -/* harmony import */ var _mui_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(397); +/* harmony import */ var _mui_utils_resolveProps__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(3928); function getThemeProps(params) { const { @@ -5411,20 +6795,20 @@ function getThemeProps(params) { if (!theme || !theme.components || !theme.components[name] || !theme.components[name].defaultProps) { return props; } - return (0,_mui_utils__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(theme.components[name].defaultProps, props); + return (0,_mui_utils_resolveProps__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(theme.components[name].defaultProps, props); } /***/ }), -/***/ 9507: +/***/ 3696: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ Z: () => (/* binding */ useThemeProps) /* harmony export */ }); -/* harmony import */ var _getThemeProps__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3927); -/* harmony import */ var _useTheme__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9958); +/* harmony import */ var _getThemeProps__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(2473); +/* harmony import */ var _useTheme__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(234); 'use client'; @@ -5450,7 +6834,7 @@ function useThemeProps(_ref) { /***/ }), -/***/ 6485: +/***/ 4601: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; @@ -5458,7 +6842,7 @@ function useThemeProps(_ref) { /* harmony export */ Z: () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(7948); -/* harmony import */ var _mui_styled_engine__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6387); +/* harmony import */ var _mui_styled_engine__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(2412); 'use client'; @@ -5475,7 +6859,7 @@ function useTheme() { /***/ }), -/***/ 9141: +/***/ 3705: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; @@ -5502,14 +6886,14 @@ const ClassNameGenerator = createClassNameGenerator(); /***/ }), -/***/ 5789: +/***/ 4656: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ Z: () => (/* binding */ capitalize) /* harmony export */ }); -/* harmony import */ var _formatMuiErrorMessage__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(310); +/* harmony import */ var _mui_utils_formatMuiErrorMessage__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4451); // It should to be noted that this function isn't equivalent to `text-transform: capitalize`. // @@ -5517,14 +6901,51 @@ const ClassNameGenerator = createClassNameGenerator(); // We only handle the first word. function capitalize(string) { if (typeof string !== 'string') { - throw new Error( false ? 0 : (0,_formatMuiErrorMessage__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(7)); + throw new Error( false ? 0 : (0,_mui_utils_formatMuiErrorMessage__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(7)); } return string.charAt(0).toUpperCase() + string.slice(1); } /***/ }), -/***/ 8550: +/***/ 6814: +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (/* reexport safe */ _capitalize__WEBPACK_IMPORTED_MODULE_0__.Z) +/* harmony export */ }); +/* harmony import */ var _capitalize__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4656); + + +/***/ }), + +/***/ 5288: +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +// ESM COMPAT FLAG +__webpack_require__.r(__webpack_exports__); + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "default": () => (/* reexport */ clamp_clamp) +}); + +;// CONCATENATED MODULE: ./node_modules/.pnpm/@mui+utils@5.15.14_@types+react@18.2.79_react@18.2.0/node_modules/@mui/utils/clamp/clamp.js +function clamp(val) { + let min = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : Number.MIN_SAFE_INTEGER; + let max = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : Number.MAX_SAFE_INTEGER; + return Math.max(min, Math.min(val, max)); +} +/* harmony default export */ const clamp_clamp = (clamp); +;// CONCATENATED MODULE: ./node_modules/.pnpm/@mui+utils@5.15.14_@types+react@18.2.79_react@18.2.0/node_modules/@mui/utils/clamp/index.js + + +/***/ }), + +/***/ 5923: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; @@ -5556,7 +6977,7 @@ function composeClasses(slots, getUtilityClass) { /***/ }), -/***/ 9839: +/***/ 3444: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; @@ -5589,7 +7010,7 @@ function createChainedFunction() { /***/ }), -/***/ 503: +/***/ 9082: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; @@ -5620,7 +7041,7 @@ function debounce(func) { /***/ }), -/***/ 1754: +/***/ 8836: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; @@ -5628,10 +7049,15 @@ function debounce(func) { /* harmony export */ P: () => (/* binding */ isPlainObject), /* harmony export */ Z: () => (/* binding */ deepmerge) /* harmony export */ }); -/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8957); +/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1010); +// https://github.com/sindresorhus/is-plain-obj/blob/main/index.js function isPlainObject(item) { - return item !== null && typeof item === 'object' && item.constructor === Object; + if (typeof item !== 'object' || item === null) { + return false; + } + const prototype = Object.getPrototypeOf(item); + return (prototype === null || prototype === Object.prototype || Object.getPrototypeOf(prototype) === null) && !(Symbol.toStringTag in item) && !(Symbol.iterator in item); } function deepClone(source) { if (!isPlainObject(source)) { @@ -5669,7 +7095,22 @@ function deepmerge(target, source) { /***/ }), -/***/ 310: +/***/ 9499: +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (/* reexport safe */ _deepmerge__WEBPACK_IMPORTED_MODULE_0__.Z), +/* harmony export */ isPlainObject: () => (/* reexport safe */ _deepmerge__WEBPACK_IMPORTED_MODULE_0__.P) +/* harmony export */ }); +/* harmony import */ var _deepmerge__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8836); + + + +/***/ }), + +/***/ 4451: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; @@ -5678,12 +7119,12 @@ function deepmerge(target, source) { /* harmony export */ }); /** * WARNING: Don't import this directly. - * Use `MuiError` from `@mui/utils/macros/MuiError.macro` instead. + * Use `MuiError` from `@mui/internal-babel-macros/MuiError.macro` instead. * @param {number} code */ function formatMuiErrorMessage(code) { // Apply babel-plugin-transform-template-literals in loose mode - // loose mode is safe iff we're concatenating primitives + // loose mode is safe if we're concatenating primitives // see https://babeljs.io/docs/en/babel-plugin-transform-template-literals#loose /* eslint-disable prefer-template */ let url = 'https://mui.com/production-error/?code=' + code; @@ -5698,19 +7139,30 @@ function formatMuiErrorMessage(code) { /***/ }), -/***/ 4258: +/***/ 3001: +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (/* reexport safe */ _formatMuiErrorMessage__WEBPACK_IMPORTED_MODULE_0__.Z) +/* harmony export */ }); +/* harmony import */ var _formatMuiErrorMessage__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4451); + + +/***/ }), + +/***/ 8092: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ Z: () => (/* binding */ generateUtilityClass) +/* harmony export */ ZP: () => (/* binding */ generateUtilityClass) /* harmony export */ }); -/* harmony import */ var _ClassNameGenerator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9141); +/* unused harmony exports globalStateClasses, isGlobalState */ +/* harmony import */ var _ClassNameGenerator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(3705); - -// If GlobalStateSlot is changed, GLOBAL_STATE_CLASSES in -// \packages\api-docs-builder\utils\parseSlotsAndClasses.ts must be updated accordingly. -const globalStateClassesMapping = { +const globalStateClasses = { active: 'active', checked: 'checked', completed: 'completed', @@ -5726,33 +7178,106 @@ const globalStateClassesMapping = { }; function generateUtilityClass(componentName, slot) { let globalStatePrefix = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'Mui'; - const globalStateClass = globalStateClassesMapping[slot]; + const globalStateClass = globalStateClasses[slot]; return globalStateClass ? "".concat(globalStatePrefix, "-").concat(globalStateClass) : "".concat(_ClassNameGenerator__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z.generate(componentName), "-").concat(slot); } +function isGlobalState(slot) { + return globalStateClasses[slot] !== undefined; +} /***/ }), -/***/ 9016: +/***/ 3453: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ Z: () => (/* binding */ generateUtilityClasses) /* harmony export */ }); -/* harmony import */ var _generateUtilityClass__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4258); +/* harmony import */ var _generateUtilityClass__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8092); function generateUtilityClasses(componentName, slots) { let globalStatePrefix = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'Mui'; const result = {}; slots.forEach(slot => { - result[slot] = (0,_generateUtilityClass__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(componentName, slot, globalStatePrefix); + result[slot] = (0,_generateUtilityClass__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .ZP)(componentName, slot, globalStatePrefix); }); return result; } /***/ }), -/***/ 2332: +/***/ 8853: +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +// ESM COMPAT FLAG +__webpack_require__.r(__webpack_exports__); + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "default": () => (/* reexport */ getDisplayName), + getFunctionName: () => (/* reexport */ getFunctionName) +}); + +// EXTERNAL MODULE: ./node_modules/.pnpm/react-is@18.2.0/node_modules/react-is/index.js +var react_is = __webpack_require__(8890); +;// CONCATENATED MODULE: ./node_modules/.pnpm/@mui+utils@5.15.14_@types+react@18.2.79_react@18.2.0/node_modules/@mui/utils/getDisplayName/getDisplayName.js + + +// Simplified polyfill for IE11 support +// https://github.com/JamesMGreene/Function.name/blob/58b314d4a983110c3682f1228f845d39ccca1817/Function.name.js#L3 +const fnNameMatchRegex = /^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/; +function getFunctionName(fn) { + const match = "".concat(fn).match(fnNameMatchRegex); + const name = match && match[1]; + return name || ''; +} +function getFunctionComponentName(Component) { + let fallback = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : ''; + return Component.displayName || Component.name || getFunctionName(Component) || fallback; +} +function getWrappedName(outerType, innerType, wrapperName) { + const functionName = getFunctionComponentName(innerType); + return outerType.displayName || (functionName !== '' ? "".concat(wrapperName, "(").concat(functionName, ")") : wrapperName); +} + +/** + * cherry-pick from + * https://github.com/facebook/react/blob/769b1f270e1251d9dbdce0fcbd9e92e502d059b8/packages/shared/getComponentName.js + * originally forked from recompose/getDisplayName with added IE11 support + */ +function getDisplayName(Component) { + if (Component == null) { + return undefined; + } + if (typeof Component === 'string') { + return Component; + } + if (typeof Component === 'function') { + return getFunctionComponentName(Component, 'Component'); + } + + // TypeScript can't have components as objects but they exist in the form of `memo` or `Suspense` + if (typeof Component === 'object') { + switch (Component.$$typeof) { + case react_is.ForwardRef: + return getWrappedName(Component, Component.render, 'ForwardRef'); + case react_is.Memo: + return getWrappedName(Component, Component.type, 'memo'); + default: + return undefined; + } + } + return undefined; +} +;// CONCATENATED MODULE: ./node_modules/.pnpm/@mui+utils@5.15.14_@types+react@18.2.79_react@18.2.0/node_modules/@mui/utils/getDisplayName/index.js + + + +/***/ }), + +/***/ 1563: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; @@ -5765,14 +7290,14 @@ function ownerDocument(node) { /***/ }), -/***/ 316: +/***/ 6029: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ Z: () => (/* binding */ ownerWindow) /* harmony export */ }); -/* harmony import */ var _ownerDocument__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2332); +/* harmony import */ var _ownerDocument__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1563); function ownerWindow(node) { const doc = (0,_ownerDocument__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(node); @@ -5781,14 +7306,14 @@ function ownerWindow(node) { /***/ }), -/***/ 397: +/***/ 3928: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ Z: () => (/* binding */ resolveProps) /* harmony export */ }); -/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8957); +/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1010); /** * Add keys, values of `defaultProps` that does not exist in `props` @@ -5826,7 +7351,7 @@ function resolveProps(defaultProps, props) { /***/ }), -/***/ 6633: +/***/ 9109: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; @@ -5856,7 +7381,7 @@ function setRef(ref, value) { /***/ }), -/***/ 4277: +/***/ 4536: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; @@ -5867,12 +7392,20 @@ function setRef(ref, value) { 'use client'; + +/** + * A version of `React.useLayoutEffect` that does not show a warning when server-side rendering. + * This is useful for effects that are only needed for client-side rendering but not for SSR. + * + * Before you use this hook, make sure to read https://gist.github.com/gaearon/e7d97cdf38a2907924ea12e4ebdf3c85 + * and confirm it doesn't apply to your use-case. + */ const useEnhancedEffect = typeof window !== 'undefined' ? react__WEBPACK_IMPORTED_MODULE_0__.useLayoutEffect : react__WEBPACK_IMPORTED_MODULE_0__.useEffect; /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useEnhancedEffect); /***/ }), -/***/ 2928: +/***/ 9210: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; @@ -5880,7 +7413,7 @@ const useEnhancedEffect = typeof window !== 'undefined' ? react__WEBPACK_IMPORTE /* harmony export */ Z: () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(7948); -/* harmony import */ var _useEnhancedEffect__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4277); +/* harmony import */ var _useEnhancedEffect__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4536); 'use client'; @@ -5896,19 +7429,18 @@ function useEventCallback(fn) { (0,_useEnhancedEffect__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(() => { ref.current = fn; }); - return react__WEBPACK_IMPORTED_MODULE_0__.useCallback(function () { + return react__WEBPACK_IMPORTED_MODULE_0__.useRef(function () { return ( // @ts-expect-error hide `this` - // tslint:disable-next-line:ban-comma-operator (0, ref.current)(...arguments) ); - }, []); + }).current; } /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useEventCallback); /***/ }), -/***/ 862: +/***/ 4114: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; @@ -5916,7 +7448,7 @@ function useEventCallback(fn) { /* harmony export */ Z: () => (/* binding */ useForkRef) /* harmony export */ }); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(7948); -/* harmony import */ var _setRef__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6633); +/* harmony import */ var _setRef__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(9109); 'use client'; @@ -5945,7 +7477,7 @@ function useForkRef() { /***/ }), -/***/ 2108: +/***/ 2179: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; @@ -5993,7 +7525,7 @@ function useId(idOverride) { /***/ }), -/***/ 1830: +/***/ 3185: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; @@ -6002,13 +7534,15 @@ function useId(idOverride) { /* harmony export */ }); /* unused harmony export teardown */ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(7948); +/* harmony import */ var _useTimeout_useTimeout__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(5859); 'use client'; // based on https://github.com/WICG/focus-visible/blob/v4.1.5/src/focus-visible.js + let hadKeyboardEvent = true; let hadFocusVisibleRecently = false; -let hadFocusVisibleRecentlyTimeout; +const hadFocusVisibleRecentlyTimeout = new _useTimeout_useTimeout__WEBPACK_IMPORTED_MODULE_1__/* .Timeout */ .V(); const inputTypesWhitelist = { text: true, search: true, @@ -6138,10 +7672,9 @@ function useIsFocusVisible() { // If we don't see a visibility change within 100ms, it's probably a // regular focus change. hadFocusVisibleRecently = true; - window.clearTimeout(hadFocusVisibleRecentlyTimeout); - hadFocusVisibleRecentlyTimeout = window.setTimeout(() => { + hadFocusVisibleRecentlyTimeout.start(100, () => { hadFocusVisibleRecently = false; - }, 100); + }); isFocusVisibleRef.current = false; return true; } @@ -6168,6 +7701,109 @@ function useIsFocusVisible() { /***/ }), +/***/ 5794: +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ Z: () => (/* binding */ useLazyRef) +/* harmony export */ }); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(7948); +'use client'; + + +const UNINITIALIZED = {}; + +/** + * A React.useRef() that is initialized lazily with a function. Note that it accepts an optional + * initialization argument, so the initialization function doesn't need to be an inline closure. + * + * @usage + * const ref = useLazyRef(sortColumns, columns) + */ +function useLazyRef(init, initArg) { + const ref = react__WEBPACK_IMPORTED_MODULE_0__.useRef(UNINITIALIZED); + if (ref.current === UNINITIALIZED) { + ref.current = init(initArg); + } + return ref; +} + +/***/ }), + +/***/ 2127: +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ Z: () => (/* binding */ useOnMount) +/* harmony export */ }); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(7948); +'use client'; + + +const EMPTY = []; + +/** + * A React.useEffect equivalent that runs once, when the component is mounted. + */ +function useOnMount(fn) { + /* eslint-disable react-hooks/exhaustive-deps */ + react__WEBPACK_IMPORTED_MODULE_0__.useEffect(fn, EMPTY); + /* eslint-enable react-hooks/exhaustive-deps */ +} + +/***/ }), + +/***/ 5859: +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ V: () => (/* binding */ Timeout), +/* harmony export */ Z: () => (/* binding */ useTimeout) +/* harmony export */ }); +/* harmony import */ var _useLazyRef_useLazyRef__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(5794); +/* harmony import */ var _useOnMount_useOnMount__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(2127); +'use client'; + + + +class Timeout { + constructor() { + this.currentId = null; + this.clear = () => { + if (this.currentId !== null) { + clearTimeout(this.currentId); + this.currentId = null; + } + }; + this.disposeEffect = () => { + return this.clear; + }; + } + static create() { + return new Timeout(); + } + /** + * Executes `fn` after `delay`, clearing any previously scheduled call. + */ + start(delay, fn) { + this.clear(); + this.currentId = setTimeout(() => { + this.currentId = null; + fn(); + }, delay); + } +} +function useTimeout() { + const timeout = (0,_useLazyRef_useLazyRef__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(Timeout.create).current; + (0,_useOnMount_useOnMount__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(timeout.disposeEffect); + return timeout; +} + +/***/ }), + /***/ 9761: /***/ ((module, __unused_webpack_exports, __webpack_require__) => { @@ -13656,10 +15292,10 @@ function v(a) { __webpack_unused_export__ = h; __webpack_unused_export__ = g; __webpack_unused_export__ = b; -__webpack_unused_export__ = l; +exports.ForwardRef = l; __webpack_unused_export__ = d; __webpack_unused_export__ = q; -__webpack_unused_export__ = p; +exports.Memo = p; __webpack_unused_export__ = c; __webpack_unused_export__ = f; __webpack_unused_export__ = e; @@ -13721,7 +15357,7 @@ __webpack_unused_export__ = v; if (true) { - /* unused reexport */ __webpack_require__(237); + module.exports = __webpack_require__(237); } else {} /***/ }), @@ -15671,7 +17307,28 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_ /***/ }), -/***/ 4652: +/***/ 4708: +/***/ ((module) => { + +function _extends() { + module.exports = _extends = Object.assign ? Object.assign.bind() : function (target) { + for (var i = 1; i < arguments.length; i++) { + var source = arguments[i]; + for (var key in source) { + if (Object.prototype.hasOwnProperty.call(source, key)) { + target[key] = source[key]; + } + } + } + return target; + }, module.exports.__esModule = true, module.exports["default"] = module.exports; + return _extends.apply(this, arguments); +} +module.exports = _extends, module.exports.__esModule = true, module.exports["default"] = module.exports; + +/***/ }), + +/***/ 3894: /***/ ((module) => { function _interopRequireDefault(obj) { @@ -15683,7 +17340,26 @@ module.exports = _interopRequireDefault, module.exports.__esModule = true, modul /***/ }), -/***/ 8957: +/***/ 3364: +/***/ ((module) => { + +function _objectWithoutPropertiesLoose(source, excluded) { + if (source == null) return {}; + var target = {}; + var sourceKeys = Object.keys(source); + var key, i; + for (i = 0; i < sourceKeys.length; i++) { + key = sourceKeys[i]; + if (excluded.indexOf(key) >= 0) continue; + target[key] = source[key]; + } + return target; +} +module.exports = _objectWithoutPropertiesLoose, module.exports.__esModule = true, module.exports["default"] = module.exports; + +/***/ }), + +/***/ 1010: /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { "use strict"; @@ -15707,7 +17383,7 @@ function _extends() { /***/ }), -/***/ 45: +/***/ 3031: /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { "use strict"; @@ -15729,7 +17405,7 @@ function _objectWithoutPropertiesLoose(source, excluded) { /***/ }), -/***/ 5675: +/***/ 8152: /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { "use strict"; @@ -15741,843 +17417,18 @@ function r(e) { var t, f, n = ""; - if ("string" == typeof e || "number" == typeof e) n += e;else if ("object" == typeof e) if (Array.isArray(e)) for (t = 0; t < e.length; t++) e[t] && (f = r(e[t])) && (n && (n += " "), n += f);else for (t in e) e[t] && (n && (n += " "), n += t); + if ("string" == typeof e || "number" == typeof e) n += e;else if ("object" == typeof e) if (Array.isArray(e)) { + var o = e.length; + for (t = 0; t < o; t++) e[t] && (f = r(e[t])) && (n && (n += " "), n += f); + } else for (f in e) e[f] && (n && (n += " "), n += f); return n; } function clsx() { - for (var e, t, f = 0, n = ""; f < arguments.length;) (e = arguments[f++]) && (t = r(e)) && (n && (n += " "), n += t); + for (var e, t, f = 0, n = "", o = arguments.length; f < o; f++) (e = arguments[f]) && (t = r(e)) && (n && (n += " "), n += t); return n; } /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (clsx); -/***/ }), - -/***/ 3724: -/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { - -"use strict"; -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ Ab: () => (/* binding */ COMMENT), -/* harmony export */ Fr: () => (/* binding */ RULESET), -/* harmony export */ G$: () => (/* binding */ WEBKIT), -/* harmony export */ JM: () => (/* binding */ LAYER), -/* harmony export */ K$: () => (/* binding */ IMPORT), -/* harmony export */ MS: () => (/* binding */ MS), -/* harmony export */ h5: () => (/* binding */ DECLARATION), -/* harmony export */ lK: () => (/* binding */ KEYFRAMES), -/* harmony export */ uj: () => (/* binding */ MOZ) -/* harmony export */ }); -/* unused harmony exports PAGE, MEDIA, CHARSET, VIEWPORT, SUPPORTS, DOCUMENT, NAMESPACE, FONT_FACE, COUNTER_STYLE, FONT_FEATURE_VALUES */ -var MS = '-ms-'; -var MOZ = '-moz-'; -var WEBKIT = '-webkit-'; -var COMMENT = 'comm'; -var RULESET = 'rule'; -var DECLARATION = 'decl'; -var PAGE = '@page'; -var MEDIA = '@media'; -var IMPORT = '@import'; -var CHARSET = '@charset'; -var VIEWPORT = '@viewport'; -var SUPPORTS = '@supports'; -var DOCUMENT = '@document'; -var NAMESPACE = '@namespace'; -var KEYFRAMES = '@keyframes'; -var FONT_FACE = '@font-face'; -var COUNTER_STYLE = '@counter-style'; -var FONT_FEATURE_VALUES = '@font-feature-values'; -var LAYER = '@layer'; - -/***/ }), - -/***/ 7033: -/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { - -"use strict"; -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ cD: () => (/* binding */ rulesheet), -/* harmony export */ qR: () => (/* binding */ middleware) -/* harmony export */ }); -/* unused harmony exports prefixer, namespace */ -/* harmony import */ var _Utility_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(7279); - - - - - - -/** - * @param {function[]} collection - * @return {function} - */ -function middleware(collection) { - var length = (0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__/* .sizeof */ .Ei)(collection); - return function (element, index, children, callback) { - var output = ''; - for (var i = 0; i < length; i++) output += collection[i](element, index, children, callback) || ''; - return output; - }; -} - -/** - * @param {function} callback - * @return {function} - */ -function rulesheet(callback) { - return function (element) { - if (!element.root) if (element = element.return) callback(element); - }; -} - -/** - * @param {object} element - * @param {number} index - * @param {object[]} children - * @param {function} callback - */ -function prefixer(element, index, children, callback) { - if (element.length > -1) if (!element.return) switch (element.type) { - case DECLARATION: - element.return = prefix(element.value, element.length, children); - return; - case KEYFRAMES: - return serialize([copy(element, { - value: replace(element.value, '@', '@' + WEBKIT) - })], callback); - case RULESET: - if (element.length) return combine(element.props, function (value) { - switch (match(value, /(::plac\w+|:read-\w+)/)) { - // :read-(only|write) - case ':read-only': - case ':read-write': - return serialize([copy(element, { - props: [replace(value, /:(read-\w+)/, ':' + MOZ + '$1')] - })], callback); - // :placeholder - case '::placeholder': - return serialize([copy(element, { - props: [replace(value, /:(plac\w+)/, ':' + WEBKIT + 'input-$1')] - }), copy(element, { - props: [replace(value, /:(plac\w+)/, ':' + MOZ + '$1')] - }), copy(element, { - props: [replace(value, /:(plac\w+)/, MS + 'input-$1')] - })], callback); - } - return ''; - }); - } -} - -/** - * @param {object} element - * @param {number} index - * @param {object[]} children - */ -function namespace(element) { - switch (element.type) { - case RULESET: - element.props = element.props.map(function (value) { - return combine(tokenize(value), function (value, index, children) { - switch (charat(value, 0)) { - // \f - case 12: - return substr(value, 1, strlen(value)); - // \0 ( + > ~ - case 0: - case 40: - case 43: - case 62: - case 126: - return value; - // : - case 58: - if (children[++index] === 'global') children[index] = '', children[++index] = '\f' + substr(children[index], index = 1, -1); - // \s - case 32: - return index === 1 ? '' : value; - default: - switch (index) { - case 0: - element = value; - return sizeof(children) > 1 ? '' : value; - case index = sizeof(children) - 1: - case 2: - return index === 2 ? value + element + element : value + element; - default: - return value; - } - } - }); - }); - } -} - -/***/ }), - -/***/ 3963: -/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { - -"use strict"; -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ MY: () => (/* binding */ compile) -/* harmony export */ }); -/* unused harmony exports parse, ruleset, comment, declaration */ -/* harmony import */ var _Enum_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(3724); -/* harmony import */ var _Utility_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(7279); -/* harmony import */ var _Tokenizer_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(7650); - - - - -/** - * @param {string} value - * @return {object[]} - */ -function compile(value) { - return (0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_0__/* .dealloc */ .cE)(parse('', null, null, null, [''], value = (0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_0__/* .alloc */ .un)(value), 0, [0], value)); -} - -/** - * @param {string} value - * @param {object} root - * @param {object?} parent - * @param {string[]} rule - * @param {string[]} rules - * @param {string[]} rulesets - * @param {number[]} pseudo - * @param {number[]} points - * @param {string[]} declarations - * @return {object} - */ -function parse(value, root, parent, rule, rules, rulesets, pseudo, points, declarations) { - var index = 0; - var offset = 0; - var length = pseudo; - var atrule = 0; - var property = 0; - var previous = 0; - var variable = 1; - var scanning = 1; - var ampersand = 1; - var character = 0; - var type = ''; - var props = rules; - var children = rulesets; - var reference = rule; - var characters = type; - while (scanning) switch (previous = character, character = (0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_0__/* .next */ .lp)()) { - // ( - case 40: - if (previous != 108 && (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__/* .charat */ .uO)(characters, length - 1) == 58) { - if ((0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__/* .indexof */ .Cw)(characters += (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__/* .replace */ .gx)((0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_0__/* .delimit */ .iF)(character), '&', '&\f'), '&\f') != -1) ampersand = -1; - break; - } - // " ' [ - case 34: - case 39: - case 91: - characters += (0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_0__/* .delimit */ .iF)(character); - break; - // \t \n \r \s - case 9: - case 10: - case 13: - case 32: - characters += (0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_0__/* .whitespace */ .Qb)(previous); - break; - // \ - case 92: - characters += (0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_0__/* .escaping */ .kq)((0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_0__/* .caret */ .Ud)() - 1, 7); - continue; - // / - case 47: - switch ((0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_0__/* .peek */ .fj)()) { - case 42: - case 47: - (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__/* .append */ .R3)(comment((0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_0__/* .commenter */ .q6)((0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_0__/* .next */ .lp)(), (0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_0__/* .caret */ .Ud)()), root, parent), declarations); - break; - default: - characters += '/'; - } - break; - // { - case 123 * variable: - points[index++] = (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__/* .strlen */ .to)(characters) * ampersand; - // } ; \0 - case 125 * variable: - case 59: - case 0: - switch (character) { - // \0 } - case 0: - case 125: - scanning = 0; - // ; - case 59 + offset: - if (ampersand == -1) characters = (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__/* .replace */ .gx)(characters, /\f/g, ''); - if (property > 0 && (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__/* .strlen */ .to)(characters) - length) (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__/* .append */ .R3)(property > 32 ? declaration(characters + ';', rule, parent, length - 1) : declaration((0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__/* .replace */ .gx)(characters, ' ', '') + ';', rule, parent, length - 2), declarations); - break; - // @ ; - case 59: - characters += ';'; - // { rule/at-rule - default: - (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__/* .append */ .R3)(reference = ruleset(characters, root, parent, index, offset, rules, points, type, props = [], children = [], length), rulesets); - if (character === 123) if (offset === 0) parse(characters, root, reference, reference, props, rulesets, length, points, children);else switch (atrule === 99 && (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__/* .charat */ .uO)(characters, 3) === 110 ? 100 : atrule) { - // d l m s - case 100: - case 108: - case 109: - case 115: - parse(value, reference, reference, rule && (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__/* .append */ .R3)(ruleset(value, reference, reference, 0, 0, rules, points, type, rules, props = [], length), children), rules, children, length, points, rule ? props : children); - break; - default: - parse(characters, reference, reference, reference, [''], children, 0, points, children); - } - } - index = offset = property = 0, variable = ampersand = 1, type = characters = '', length = pseudo; - break; - // : - case 58: - length = 1 + (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__/* .strlen */ .to)(characters), property = previous; - default: - if (variable < 1) if (character == 123) --variable;else if (character == 125 && variable++ == 0 && (0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_0__/* .prev */ .mp)() == 125) continue; - switch (characters += (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__/* .from */ .Dp)(character), character * variable) { - // & - case 38: - ampersand = offset > 0 ? 1 : (characters += '\f', -1); - break; - // , - case 44: - points[index++] = ((0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__/* .strlen */ .to)(characters) - 1) * ampersand, ampersand = 1; - break; - // @ - case 64: - // - - if ((0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_0__/* .peek */ .fj)() === 45) characters += (0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_0__/* .delimit */ .iF)((0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_0__/* .next */ .lp)()); - atrule = (0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_0__/* .peek */ .fj)(), offset = length = (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__/* .strlen */ .to)(type = characters += (0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_0__/* .identifier */ .QU)((0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_0__/* .caret */ .Ud)())), character++; - break; - // - - case 45: - if (previous === 45 && (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__/* .strlen */ .to)(characters) == 2) variable = 0; - } - } - return rulesets; -} - -/** - * @param {string} value - * @param {object} root - * @param {object?} parent - * @param {number} index - * @param {number} offset - * @param {string[]} rules - * @param {number[]} points - * @param {string} type - * @param {string[]} props - * @param {string[]} children - * @param {number} length - * @return {object} - */ -function ruleset(value, root, parent, index, offset, rules, points, type, props, children, length) { - var post = offset - 1; - var rule = offset === 0 ? rules : ['']; - var size = (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__/* .sizeof */ .Ei)(rule); - for (var i = 0, j = 0, k = 0; i < index; ++i) for (var x = 0, y = (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__/* .substr */ .tb)(value, post + 1, post = (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__/* .abs */ .Wn)(j = points[i])), z = value; x < size; ++x) if (z = (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__/* .trim */ .fy)(j > 0 ? rule[x] + ' ' + y : (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__/* .replace */ .gx)(y, /&\f/g, rule[x]))) props[k++] = z; - return (0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_0__/* .node */ .dH)(value, root, parent, offset === 0 ? _Enum_js__WEBPACK_IMPORTED_MODULE_2__/* .RULESET */ .Fr : type, props, children, length); -} - -/** - * @param {number} value - * @param {object} root - * @param {object?} parent - * @return {object} - */ -function comment(value, root, parent) { - return (0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_0__/* .node */ .dH)(value, root, parent, _Enum_js__WEBPACK_IMPORTED_MODULE_2__/* .COMMENT */ .Ab, (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__/* .from */ .Dp)((0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_0__/* .char */ .Tb)()), (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__/* .substr */ .tb)(value, 2, -2), 0); -} - -/** - * @param {string} value - * @param {object} root - * @param {object?} parent - * @param {number} length - * @return {object} - */ -function declaration(value, root, parent, length) { - return (0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_0__/* .node */ .dH)(value, root, parent, _Enum_js__WEBPACK_IMPORTED_MODULE_2__/* .DECLARATION */ .h5, (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__/* .substr */ .tb)(value, 0, length), (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__/* .substr */ .tb)(value, length + 1, -1), length); -} - -/***/ }), - -/***/ 903: -/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { - -"use strict"; -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ P: () => (/* binding */ stringify), -/* harmony export */ q: () => (/* binding */ serialize) -/* harmony export */ }); -/* harmony import */ var _Enum_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3724); -/* harmony import */ var _Utility_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(7279); - - - -/** - * @param {object[]} children - * @param {function} callback - * @return {string} - */ -function serialize(children, callback) { - var output = ''; - var length = (0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__/* .sizeof */ .Ei)(children); - for (var i = 0; i < length; i++) output += callback(children[i], i, children, callback) || ''; - return output; -} - -/** - * @param {object} element - * @param {number} index - * @param {object[]} children - * @param {function} callback - * @return {string} - */ -function stringify(element, index, children, callback) { - switch (element.type) { - case _Enum_js__WEBPACK_IMPORTED_MODULE_1__/* .LAYER */ .JM: - if (element.children.length) break; - case _Enum_js__WEBPACK_IMPORTED_MODULE_1__/* .IMPORT */ .K$: - case _Enum_js__WEBPACK_IMPORTED_MODULE_1__/* .DECLARATION */ .h5: - return element.return = element.return || element.value; - case _Enum_js__WEBPACK_IMPORTED_MODULE_1__/* .COMMENT */ .Ab: - return ''; - case _Enum_js__WEBPACK_IMPORTED_MODULE_1__/* .KEYFRAMES */ .lK: - return element.return = element.value + '{' + serialize(element.children, callback) + '}'; - case _Enum_js__WEBPACK_IMPORTED_MODULE_1__/* .RULESET */ .Fr: - element.value = element.props.join(','); - } - return (0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__/* .strlen */ .to)(children = serialize(element.children, callback)) ? element.return = element.value + '{' + children + '}' : ''; -} - -/***/ }), - -/***/ 7650: -/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { - -"use strict"; -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ FK: () => (/* binding */ position), -/* harmony export */ JG: () => (/* binding */ copy), -/* harmony export */ QU: () => (/* binding */ identifier), -/* harmony export */ Qb: () => (/* binding */ whitespace), -/* harmony export */ Tb: () => (/* binding */ char), -/* harmony export */ Ud: () => (/* binding */ caret), -/* harmony export */ cE: () => (/* binding */ dealloc), -/* harmony export */ dH: () => (/* binding */ node), -/* harmony export */ fj: () => (/* binding */ peek), -/* harmony export */ iF: () => (/* binding */ delimit), -/* harmony export */ kq: () => (/* binding */ escaping), -/* harmony export */ lp: () => (/* binding */ next), -/* harmony export */ mp: () => (/* binding */ prev), -/* harmony export */ q6: () => (/* binding */ commenter), -/* harmony export */ r: () => (/* binding */ token), -/* harmony export */ tP: () => (/* binding */ slice), -/* harmony export */ un: () => (/* binding */ alloc) -/* harmony export */ }); -/* unused harmony exports line, column, length, character, characters, tokenize, tokenizer, delimiter */ -/* harmony import */ var _Utility_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(7279); - -var line = 1; -var column = 1; -var length = 0; -var position = 0; -var character = 0; -var characters = ''; - -/** - * @param {string} value - * @param {object | null} root - * @param {object | null} parent - * @param {string} type - * @param {string[] | string} props - * @param {object[] | string} children - * @param {number} length - */ -function node(value, root, parent, type, props, children, length) { - return { - value: value, - root: root, - parent: parent, - type: type, - props: props, - children: children, - line: line, - column: column, - length: length, - return: '' - }; -} - -/** - * @param {object} root - * @param {object} props - * @return {object} - */ -function copy(root, props) { - return (0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__/* .assign */ .f0)(node('', null, null, '', null, null, 0), root, { - length: -root.length - }, props); -} - -/** - * @return {number} - */ -function char() { - return character; -} - -/** - * @return {number} - */ -function prev() { - character = position > 0 ? (0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__/* .charat */ .uO)(characters, --position) : 0; - if (column--, character === 10) column = 1, line--; - return character; -} - -/** - * @return {number} - */ -function next() { - character = position < length ? (0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__/* .charat */ .uO)(characters, position++) : 0; - if (column++, character === 10) column = 1, line++; - return character; -} - -/** - * @return {number} - */ -function peek() { - return (0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__/* .charat */ .uO)(characters, position); -} - -/** - * @return {number} - */ -function caret() { - return position; -} - -/** - * @param {number} begin - * @param {number} end - * @return {string} - */ -function slice(begin, end) { - return (0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__/* .substr */ .tb)(characters, begin, end); -} - -/** - * @param {number} type - * @return {number} - */ -function token(type) { - switch (type) { - // \0 \t \n \r \s whitespace token - case 0: - case 9: - case 10: - case 13: - case 32: - return 5; - // ! + , / > @ ~ isolate token - case 33: - case 43: - case 44: - case 47: - case 62: - case 64: - case 126: - // ; { } breakpoint token - case 59: - case 123: - case 125: - return 4; - // : accompanied token - case 58: - return 3; - // " ' ( [ opening delimit token - case 34: - case 39: - case 40: - case 91: - return 2; - // ) ] closing delimit token - case 41: - case 93: - return 1; - } - return 0; -} - -/** - * @param {string} value - * @return {any[]} - */ -function alloc(value) { - return line = column = 1, length = (0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__/* .strlen */ .to)(characters = value), position = 0, []; -} - -/** - * @param {any} value - * @return {any} - */ -function dealloc(value) { - return characters = '', value; -} - -/** - * @param {number} type - * @return {string} - */ -function delimit(type) { - return (0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__/* .trim */ .fy)(slice(position - 1, delimiter(type === 91 ? type + 2 : type === 40 ? type + 1 : type))); -} - -/** - * @param {string} value - * @return {string[]} - */ -function tokenize(value) { - return dealloc(tokenizer(alloc(value))); -} - -/** - * @param {number} type - * @return {string} - */ -function whitespace(type) { - while (character = peek()) if (character < 33) next();else break; - return token(type) > 2 || token(character) > 3 ? '' : ' '; -} - -/** - * @param {string[]} children - * @return {string[]} - */ -function tokenizer(children) { - while (next()) switch (token(character)) { - case 0: - append(identifier(position - 1), children); - break; - case 2: - append(delimit(character), children); - break; - default: - append(from(character), children); - } - return children; -} - -/** - * @param {number} index - * @param {number} count - * @return {string} - */ -function escaping(index, count) { - while (--count && next()) - // not 0-9 A-F a-f - if (character < 48 || character > 102 || character > 57 && character < 65 || character > 70 && character < 97) break; - return slice(index, caret() + (count < 6 && peek() == 32 && next() == 32)); -} - -/** - * @param {number} type - * @return {number} - */ -function delimiter(type) { - while (next()) switch (character) { - // ] ) " ' - case type: - return position; - // " ' - case 34: - case 39: - if (type !== 34 && type !== 39) delimiter(character); - break; - // ( - case 40: - if (type === 41) delimiter(type); - break; - // \ - case 92: - next(); - break; - } - return position; -} - -/** - * @param {number} type - * @param {number} index - * @return {number} - */ -function commenter(type, index) { - while (next()) - // // - if (type + character === 47 + 10) break; - // /* - else if (type + character === 42 + 42 && peek() === 47) break; - return '/*' + slice(index, position - 1) + '*' + (0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__/* .from */ .Dp)(type === 47 ? type : next()); -} - -/** - * @param {number} index - * @return {string} - */ -function identifier(index) { - while (!token(peek())) next(); - return slice(index, position); -} - -/***/ }), - -/***/ 7279: -/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { - -"use strict"; -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ $e: () => (/* binding */ combine), -/* harmony export */ Cw: () => (/* binding */ indexof), -/* harmony export */ Dp: () => (/* binding */ from), -/* harmony export */ EQ: () => (/* binding */ match), -/* harmony export */ Ei: () => (/* binding */ sizeof), -/* harmony export */ R3: () => (/* binding */ append), -/* harmony export */ Wn: () => (/* binding */ abs), -/* harmony export */ f0: () => (/* binding */ assign), -/* harmony export */ fy: () => (/* binding */ trim), -/* harmony export */ gx: () => (/* binding */ replace), -/* harmony export */ tb: () => (/* binding */ substr), -/* harmony export */ to: () => (/* binding */ strlen), -/* harmony export */ uO: () => (/* binding */ charat), -/* harmony export */ vp: () => (/* binding */ hash) -/* harmony export */ }); -/** - * @param {number} - * @return {number} - */ -var abs = Math.abs; - -/** - * @param {number} - * @return {string} - */ -var from = String.fromCharCode; - -/** - * @param {object} - * @return {object} - */ -var assign = Object.assign; - -/** - * @param {string} value - * @param {number} length - * @return {number} - */ -function hash(value, length) { - return charat(value, 0) ^ 45 ? (((length << 2 ^ charat(value, 0)) << 2 ^ charat(value, 1)) << 2 ^ charat(value, 2)) << 2 ^ charat(value, 3) : 0; -} - -/** - * @param {string} value - * @return {string} - */ -function trim(value) { - return value.trim(); -} - -/** - * @param {string} value - * @param {RegExp} pattern - * @return {string?} - */ -function match(value, pattern) { - return (value = pattern.exec(value)) ? value[0] : value; -} - -/** - * @param {string} value - * @param {(string|RegExp)} pattern - * @param {string} replacement - * @return {string} - */ -function replace(value, pattern, replacement) { - return value.replace(pattern, replacement); -} - -/** - * @param {string} value - * @param {string} search - * @return {number} - */ -function indexof(value, search) { - return value.indexOf(search); -} - -/** - * @param {string} value - * @param {number} index - * @return {number} - */ -function charat(value, index) { - return value.charCodeAt(index) | 0; -} - -/** - * @param {string} value - * @param {number} begin - * @param {number} end - * @return {string} - */ -function substr(value, begin, end) { - return value.slice(begin, end); -} - -/** - * @param {string} value - * @return {number} - */ -function strlen(value) { - return value.length; -} - -/** - * @param {any[]} value - * @return {number} - */ -function sizeof(value) { - return value.length; -} - -/** - * @param {any} value - * @param {any[]} array - * @return {any} - */ -function append(value, array) { - return array.push(value), value; -} - -/** - * @param {string[]} array - * @param {function} callback - * @return {string} - */ -function combine(array, callback) { - return array.map(callback).join(''); -} - /***/ }) /******/ }); @@ -16607,6 +17458,18 @@ function combine(array, callback) { /******/ } /******/ /************************************************************************/ +/******/ /* webpack/runtime/compat get default export */ +/******/ (() => { +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = (module) => { +/******/ var getter = module && module.__esModule ? +/******/ () => (module['default']) : +/******/ () => (module); +/******/ __webpack_require__.d(getter, { a: getter }); +/******/ return getter; +/******/ }; +/******/ })(); +/******/ /******/ /* webpack/runtime/create fake namespace object */ /******/ (() => { /******/ var getProto = Object.getPrototypeOf ? (obj) => (Object.getPrototypeOf(obj)) : (obj) => (obj.__proto__); @@ -16688,25 +17551,25 @@ __webpack_require__.d(base_namespaceObject, { var react = __webpack_require__(7948); // EXTERNAL MODULE: ./node_modules/.pnpm/react-dom@18.2.0_react@18.2.0/node_modules/react-dom/client.js var client = __webpack_require__(3884); -// EXTERNAL MODULE: ./node_modules/.pnpm/@babel+runtime@7.22.15/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js -var objectWithoutPropertiesLoose = __webpack_require__(45); -// EXTERNAL MODULE: ./node_modules/.pnpm/@babel+runtime@7.22.15/node_modules/@babel/runtime/helpers/esm/extends.js -var esm_extends = __webpack_require__(8957); -// EXTERNAL MODULE: ./node_modules/.pnpm/clsx@2.0.0/node_modules/clsx/dist/clsx.mjs -var clsx = __webpack_require__(5675); -// EXTERNAL MODULE: ./node_modules/.pnpm/@mui+utils@5.14.10_@types+react@18.2.67_react@18.2.0/node_modules/@mui/utils/esm/composeClasses/composeClasses.js -var composeClasses = __webpack_require__(8550); -// EXTERNAL MODULE: ./node_modules/.pnpm/@mui+material@5.14.10_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.67_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/styles/styled.js -var styled = __webpack_require__(5215); -// EXTERNAL MODULE: ./node_modules/.pnpm/@mui+material@5.14.10_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.67_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/styles/useThemeProps.js -var useThemeProps = __webpack_require__(4167); -// EXTERNAL MODULE: ./node_modules/.pnpm/@mui+material@5.14.10_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.67_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/utils/useForkRef.js -var useForkRef = __webpack_require__(4884); -// EXTERNAL MODULE: ./node_modules/.pnpm/@mui+material@5.14.10_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.67_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/utils/useEventCallback.js -var useEventCallback = __webpack_require__(2002); -// EXTERNAL MODULE: ./node_modules/.pnpm/@mui+material@5.14.10_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.67_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/utils/useIsFocusVisible.js -var useIsFocusVisible = __webpack_require__(7776); -;// CONCATENATED MODULE: ./node_modules/.pnpm/@babel+runtime@7.22.15/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteral.js +// EXTERNAL MODULE: ./node_modules/.pnpm/@babel+runtime@7.24.4/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +var objectWithoutPropertiesLoose = __webpack_require__(3031); +// EXTERNAL MODULE: ./node_modules/.pnpm/@babel+runtime@7.24.4/node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(1010); +// EXTERNAL MODULE: ./node_modules/.pnpm/clsx@2.1.0/node_modules/clsx/dist/clsx.mjs +var clsx = __webpack_require__(8152); +// EXTERNAL MODULE: ./node_modules/.pnpm/@mui+utils@5.15.14_@types+react@18.2.79_react@18.2.0/node_modules/@mui/utils/composeClasses/composeClasses.js +var composeClasses = __webpack_require__(5923); +// EXTERNAL MODULE: ./node_modules/.pnpm/@mui+material@5.15.15_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.79_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/styles/styled.js +var styled = __webpack_require__(1535); +// EXTERNAL MODULE: ./node_modules/.pnpm/@mui+material@5.15.15_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.79_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/styles/useThemeProps.js +var useThemeProps = __webpack_require__(1778); +// EXTERNAL MODULE: ./node_modules/.pnpm/@mui+material@5.15.15_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.79_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/utils/useForkRef.js +var useForkRef = __webpack_require__(6490); +// EXTERNAL MODULE: ./node_modules/.pnpm/@mui+material@5.15.15_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.79_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/utils/useEventCallback.js +var useEventCallback = __webpack_require__(4505); +// EXTERNAL MODULE: ./node_modules/.pnpm/@mui+material@5.15.15_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.79_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/utils/useIsFocusVisible.js +var useIsFocusVisible = __webpack_require__(1511); +;// CONCATENATED MODULE: ./node_modules/.pnpm/@babel+runtime@7.24.4/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteral.js function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); @@ -16717,14 +17580,14 @@ function _taggedTemplateLiteral(strings, raw) { } })); } -;// CONCATENATED MODULE: ./node_modules/.pnpm/@babel+runtime@7.22.15/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js +;// CONCATENATED MODULE: ./node_modules/.pnpm/@babel+runtime@7.24.4/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; } -;// CONCATENATED MODULE: ./node_modules/.pnpm/@babel+runtime@7.22.15/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js +;// CONCATENATED MODULE: ./node_modules/.pnpm/@babel+runtime@7.24.4/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; @@ -16732,7 +17595,7 @@ function _setPrototypeOf(o, p) { }; return _setPrototypeOf(o, p); } -;// CONCATENATED MODULE: ./node_modules/.pnpm/@babel+runtime@7.22.15/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js +;// CONCATENATED MODULE: ./node_modules/.pnpm/@babel+runtime@7.24.4/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); @@ -16986,360 +17849,13 @@ var TransitionGroup = /*#__PURE__*/function (_React$Component) { TransitionGroup.propTypes = false ? 0 : {}; TransitionGroup.defaultProps = defaultProps; /* harmony default export */ const esm_TransitionGroup = (TransitionGroup); -// EXTERNAL MODULE: ./node_modules/.pnpm/@emotion+react@11.11.1_@types+react@18.2.67_react@18.2.0/node_modules/@emotion/react/dist/emotion-element-c39617d8.browser.esm.js -var emotion_element_c39617d8_browser_esm = __webpack_require__(6387); -// EXTERNAL MODULE: ./node_modules/.pnpm/@emotion+utils@1.2.1/node_modules/@emotion/utils/dist/emotion-utils.browser.esm.js -var emotion_utils_browser_esm = __webpack_require__(1443); -// EXTERNAL MODULE: ./node_modules/.pnpm/@emotion+use-insertion-effect-with-fallbacks@1.0.1_react@18.2.0/node_modules/@emotion/use-insertion-effect-with-fallbacks/dist/emotion-use-insertion-effect-with-fallbacks.browser.esm.js -var emotion_use_insertion_effect_with_fallbacks_browser_esm = __webpack_require__(122); -// EXTERNAL MODULE: ./node_modules/.pnpm/@emotion+serialize@1.1.2/node_modules/@emotion/serialize/dist/emotion-serialize.browser.esm.js -var emotion_serialize_browser_esm = __webpack_require__(5525); -// EXTERNAL MODULE: ./node_modules/.pnpm/@emotion+cache@11.11.0/node_modules/@emotion/cache/dist/emotion-cache.browser.esm.js -var emotion_cache_browser_esm = __webpack_require__(6967); -// EXTERNAL MODULE: ./node_modules/.pnpm/hoist-non-react-statics@3.3.2/node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js -var hoist_non_react_statics_cjs = __webpack_require__(9761); -;// CONCATENATED MODULE: ./node_modules/.pnpm/@emotion+react@11.11.1_@types+react@18.2.67_react@18.2.0/node_modules/@emotion/react/dist/emotion-react.browser.esm.js - - - - - - - - - - - -var pkg = { - name: "@emotion/react", - version: "11.11.1", - main: "dist/emotion-react.cjs.js", - module: "dist/emotion-react.esm.js", - browser: { - "./dist/emotion-react.esm.js": "./dist/emotion-react.browser.esm.js" - }, - exports: { - ".": { - module: { - worker: "./dist/emotion-react.worker.esm.js", - browser: "./dist/emotion-react.browser.esm.js", - "default": "./dist/emotion-react.esm.js" - }, - "import": "./dist/emotion-react.cjs.mjs", - "default": "./dist/emotion-react.cjs.js" - }, - "./jsx-runtime": { - module: { - worker: "./jsx-runtime/dist/emotion-react-jsx-runtime.worker.esm.js", - browser: "./jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js", - "default": "./jsx-runtime/dist/emotion-react-jsx-runtime.esm.js" - }, - "import": "./jsx-runtime/dist/emotion-react-jsx-runtime.cjs.mjs", - "default": "./jsx-runtime/dist/emotion-react-jsx-runtime.cjs.js" - }, - "./_isolated-hnrs": { - module: { - worker: "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.worker.esm.js", - browser: "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.browser.esm.js", - "default": "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.esm.js" - }, - "import": "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.cjs.mjs", - "default": "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.cjs.js" - }, - "./jsx-dev-runtime": { - module: { - worker: "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.worker.esm.js", - browser: "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.browser.esm.js", - "default": "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.esm.js" - }, - "import": "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.cjs.mjs", - "default": "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.cjs.js" - }, - "./package.json": "./package.json", - "./types/css-prop": "./types/css-prop.d.ts", - "./macro": { - types: { - "import": "./macro.d.mts", - "default": "./macro.d.ts" - }, - "default": "./macro.js" - } - }, - types: "types/index.d.ts", - files: ["src", "dist", "jsx-runtime", "jsx-dev-runtime", "_isolated-hnrs", "types/*.d.ts", "macro.*"], - sideEffects: false, - author: "Emotion Contributors", - license: "MIT", - scripts: { - "test:typescript": "dtslint types" - }, - dependencies: { - "@babel/runtime": "^7.18.3", - "@emotion/babel-plugin": "^11.11.0", - "@emotion/cache": "^11.11.0", - "@emotion/serialize": "^1.1.2", - "@emotion/use-insertion-effect-with-fallbacks": "^1.0.1", - "@emotion/utils": "^1.2.1", - "@emotion/weak-memoize": "^0.3.1", - "hoist-non-react-statics": "^3.3.1" - }, - peerDependencies: { - react: ">=16.8.0" - }, - peerDependenciesMeta: { - "@types/react": { - optional: true - } - }, - devDependencies: { - "@definitelytyped/dtslint": "0.0.112", - "@emotion/css": "11.11.0", - "@emotion/css-prettifier": "1.1.3", - "@emotion/server": "11.11.0", - "@emotion/styled": "11.11.0", - "html-tag-names": "^1.1.2", - react: "16.14.0", - "svg-tag-names": "^1.1.1", - typescript: "^4.5.5" - }, - repository: "https://github.com/emotion-js/emotion/tree/main/packages/react", - publishConfig: { - access: "public" - }, - "umd:main": "dist/emotion-react.umd.min.js", - preconstruct: { - entrypoints: ["./index.js", "./jsx-runtime.js", "./jsx-dev-runtime.js", "./_isolated-hnrs.js"], - umdName: "emotionReact", - exports: { - envConditions: ["browser", "worker"], - extra: { - "./types/css-prop": "./types/css-prop.d.ts", - "./macro": { - types: { - "import": "./macro.d.mts", - "default": "./macro.d.ts" - }, - "default": "./macro.js" - } - } - } - } -}; -var jsx = function jsx(type, props) { - var args = arguments; - if (props == null || !hasOwnProperty.call(props, 'css')) { - // $FlowFixMe - return React.createElement.apply(undefined, args); - } - var argsLength = args.length; - var createElementArgArray = new Array(argsLength); - createElementArgArray[0] = Emotion; - createElementArgArray[1] = createEmotionProps(type, props); - for (var i = 2; i < argsLength; i++) { - createElementArgArray[i] = args[i]; - } // $FlowFixMe - - return React.createElement.apply(null, createElementArgArray); -}; -var warnedAboutCssPropForGlobal = false; // maintain place over rerenders. -// initial render from browser, insertBefore context.sheet.tags[0] or if a style hasn't been inserted there yet, appendChild -// initial client-side render from SSR, use place of hydrating tag - -var Global = /* #__PURE__ */(0,emotion_element_c39617d8_browser_esm.w)(function (props, cache) { - if (false) {} - var styles = props.styles; - var serialized = (0,emotion_serialize_browser_esm/* serializeStyles */.O)([styles], undefined, react.useContext(emotion_element_c39617d8_browser_esm.T)); - if (!emotion_element_c39617d8_browser_esm.i) { - var _ref; - var serializedNames = serialized.name; - var serializedStyles = serialized.styles; - var next = serialized.next; - while (next !== undefined) { - serializedNames += ' ' + next.name; - serializedStyles += next.styles; - next = next.next; - } - var shouldCache = cache.compat === true; - var rules = cache.insert("", { - name: serializedNames, - styles: serializedStyles - }, cache.sheet, shouldCache); - if (shouldCache) { - return null; - } - return /*#__PURE__*/react.createElement("style", (_ref = {}, _ref["data-emotion"] = cache.key + "-global " + serializedNames, _ref.dangerouslySetInnerHTML = { - __html: rules - }, _ref.nonce = cache.sheet.nonce, _ref)); - } // yes, i know these hooks are used conditionally - // but it is based on a constant that will never change at runtime - // it's effectively like having two implementations and switching them out - // so it's not actually breaking anything - - var sheetRef = react.useRef(); - (0,emotion_use_insertion_effect_with_fallbacks_browser_esm/* useInsertionEffectWithLayoutFallback */.j)(function () { - var key = cache.key + "-global"; // use case of https://github.com/emotion-js/emotion/issues/2675 - - var sheet = new cache.sheet.constructor({ - key: key, - nonce: cache.sheet.nonce, - container: cache.sheet.container, - speedy: cache.sheet.isSpeedy - }); - var rehydrating = false; // $FlowFixMe - - var node = document.querySelector("style[data-emotion=\"" + key + " " + serialized.name + "\"]"); - if (cache.sheet.tags.length) { - sheet.before = cache.sheet.tags[0]; - } - if (node !== null) { - rehydrating = true; // clear the hash so this node won't be recognizable as rehydratable by other s - - node.setAttribute('data-emotion', key); - sheet.hydrate([node]); - } - sheetRef.current = [sheet, rehydrating]; - return function () { - sheet.flush(); - }; - }, [cache]); - (0,emotion_use_insertion_effect_with_fallbacks_browser_esm/* useInsertionEffectWithLayoutFallback */.j)(function () { - var sheetRefCurrent = sheetRef.current; - var sheet = sheetRefCurrent[0], - rehydrating = sheetRefCurrent[1]; - if (rehydrating) { - sheetRefCurrent[1] = false; - return; - } - if (serialized.next !== undefined) { - // insert keyframes - (0,emotion_utils_browser_esm/* insertStyles */.My)(cache, serialized.next, true); - } - if (sheet.tags.length) { - // if this doesn't exist then it will be null so the style element will be appended - var element = sheet.tags[sheet.tags.length - 1].nextElementSibling; - sheet.before = element; - sheet.flush(); - } - cache.insert("", serialized, sheet, false); - }, [cache, serialized.name]); - return null; -}); -if (false) {} -function css() { - for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { - args[_key] = arguments[_key]; - } - return (0,emotion_serialize_browser_esm/* serializeStyles */.O)(args); -} -var keyframes = function keyframes() { - var insertable = css.apply(void 0, arguments); - var name = "animation-" + insertable.name; // $FlowFixMe - - return { - name: name, - styles: "@keyframes " + name + "{" + insertable.styles + "}", - anim: 1, - toString: function toString() { - return "_EMO_" + this.name + "_" + this.styles + "_EMO_"; - } - }; -}; -var classnames = function classnames(args) { - var len = args.length; - var i = 0; - var cls = ''; - for (; i < len; i++) { - var arg = args[i]; - if (arg == null) continue; - var toAdd = void 0; - switch (typeof arg) { - case 'boolean': - break; - case 'object': - { - if (Array.isArray(arg)) { - toAdd = classnames(arg); - } else { - if (false) {} - toAdd = ''; - for (var k in arg) { - if (arg[k] && k) { - toAdd && (toAdd += ' '); - toAdd += k; - } - } - } - break; - } - default: - { - toAdd = arg; - } - } - if (toAdd) { - cls && (cls += ' '); - cls += toAdd; - } - } - return cls; -}; -function merge(registered, css, className) { - var registeredStyles = []; - var rawClassName = getRegisteredStyles(registered, registeredStyles, className); - if (registeredStyles.length < 2) { - return className; - } - return rawClassName + css(registeredStyles); -} -var Insertion = function Insertion(_ref) { - var cache = _ref.cache, - serializedArr = _ref.serializedArr; - useInsertionEffectAlwaysWithSyncFallback(function () { - for (var i = 0; i < serializedArr.length; i++) { - insertStyles(cache, serializedArr[i], false); - } - }); - return null; -}; -var ClassNames = /* #__PURE__ */(/* unused pure expression or super */ null && (withEmotionCache(function (props, cache) { - var hasRendered = false; - var serializedArr = []; - var css = function css() { - if (hasRendered && "production" !== 'production') {} - for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { - args[_key] = arguments[_key]; - } - var serialized = serializeStyles(args, cache.registered); - serializedArr.push(serialized); // registration has to happen here as the result of this might get consumed by `cx` - - registerStyles(cache, serialized, false); - return cache.key + "-" + serialized.name; - }; - var cx = function cx() { - if (hasRendered && "production" !== 'production') {} - for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) { - args[_key2] = arguments[_key2]; - } - return merge(cache.registered, css, classnames(args)); - }; - var content = { - css: css, - cx: cx, - theme: React.useContext(ThemeContext) - }; - var ele = props.children(content); - hasRendered = true; - return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Insertion, { - cache: cache, - serializedArr: serializedArr - }), ele); -}))); -if (false) {} -if (false) { var globalKey, globalContext, isTestEnv, isBrowser; } - +// EXTERNAL MODULE: ./node_modules/.pnpm/@emotion+react@11.11.1_@types+react@18.2.79_react@18.2.0/node_modules/@emotion/react/dist/emotion-react.browser.esm.js +var emotion_react_browser_esm = __webpack_require__(2150); +// EXTERNAL MODULE: ./node_modules/.pnpm/@mui+utils@5.15.14_@types+react@18.2.79_react@18.2.0/node_modules/@mui/utils/useTimeout/useTimeout.js +var useTimeout = __webpack_require__(5859); // EXTERNAL MODULE: ./node_modules/.pnpm/react@18.2.0/node_modules/react/jsx-runtime.js var jsx_runtime = __webpack_require__(7394); -;// CONCATENATED MODULE: ./node_modules/.pnpm/@mui+material@5.14.10_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.67_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/ButtonBase/Ripple.js +;// CONCATENATED MODULE: ./node_modules/.pnpm/@mui+material@5.15.15_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.79_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/ButtonBase/Ripple.js 'use client'; @@ -17394,9 +17910,9 @@ function Ripple(props) { } false ? 0 : void 0; /* harmony default export */ const ButtonBase_Ripple = (Ripple); -// EXTERNAL MODULE: ./node_modules/.pnpm/@mui+utils@5.14.10_@types+react@18.2.67_react@18.2.0/node_modules/@mui/utils/esm/generateUtilityClasses/generateUtilityClasses.js -var generateUtilityClasses = __webpack_require__(9016); -;// CONCATENATED MODULE: ./node_modules/.pnpm/@mui+material@5.14.10_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.67_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/ButtonBase/touchRippleClasses.js +// EXTERNAL MODULE: ./node_modules/.pnpm/@mui+utils@5.15.14_@types+react@18.2.79_react@18.2.0/node_modules/@mui/utils/generateUtilityClasses/generateUtilityClasses.js +var generateUtilityClasses = __webpack_require__(3453); +;// CONCATENATED MODULE: ./node_modules/.pnpm/@mui+material@5.15.15_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.79_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/ButtonBase/touchRippleClasses.js function getTouchRippleUtilityClass(slot) { @@ -17404,7 +17920,7 @@ function getTouchRippleUtilityClass(slot) { } const touchRippleClasses = (0,generateUtilityClasses/* default */.Z)('MuiTouchRipple', ['root', 'ripple', 'rippleVisible', 'ripplePulsate', 'child', 'childLeaving', 'childPulsate']); /* harmony default export */ const ButtonBase_touchRippleClasses = (touchRippleClasses); -;// CONCATENATED MODULE: ./node_modules/.pnpm/@mui+material@5.14.10_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.67_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/ButtonBase/TouchRipple.js +;// CONCATENATED MODULE: ./node_modules/.pnpm/@mui+material@5.15.15_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.79_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/ButtonBase/TouchRipple.js 'use client'; @@ -17427,11 +17943,12 @@ let _ = t => t, + const DURATION = 550; const DELAY_RIPPLE = 80; -const enterKeyframe = keyframes(_t || (_t = _(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n 0% {\n transform: scale(0);\n opacity: 0.1;\n }\n\n 100% {\n transform: scale(1);\n opacity: 0.3;\n }\n"]))))); -const exitKeyframe = keyframes(_t2 || (_t2 = _(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n 0% {\n opacity: 1;\n }\n\n 100% {\n opacity: 0;\n }\n"]))))); -const pulsateKeyframe = keyframes(_t3 || (_t3 = _(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n 0% {\n transform: scale(1);\n }\n\n 50% {\n transform: scale(0.92);\n }\n\n 100% {\n transform: scale(1);\n }\n"]))))); +const enterKeyframe = (0,emotion_react_browser_esm/* keyframes */.F4)(_t || (_t = _(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n 0% {\n transform: scale(0);\n opacity: 0.1;\n }\n\n 100% {\n transform: scale(1);\n opacity: 0.3;\n }\n"]))))); +const exitKeyframe = (0,emotion_react_browser_esm/* keyframes */.F4)(_t2 || (_t2 = _(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n 0% {\n opacity: 1;\n }\n\n 100% {\n opacity: 0;\n }\n"]))))); +const pulsateKeyframe = (0,emotion_react_browser_esm/* keyframes */.F4)(_t3 || (_t3 = _(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n 0% {\n transform: scale(1);\n }\n\n 50% {\n transform: scale(0.92);\n }\n\n 100% {\n transform: scale(1);\n }\n"]))))); const TouchRippleRoot = (0,styled/* default */.ZP)('span', { name: 'MuiTouchRipple', slot: 'Root' @@ -17504,18 +18021,11 @@ const TouchRipple = /*#__PURE__*/react.forwardRef(function TouchRipple(inProps, const ignoringMouseDown = react.useRef(false); // We use a timer in order to only show the ripples for touch "click" like events. // We don't want to display the ripple for touch scroll events. - const startTimer = react.useRef(0); + const startTimer = (0,useTimeout/* default */.Z)(); // This is the hook called once the previous timeout is ready. const startTimerCommit = react.useRef(null); const container = react.useRef(null); - react.useEffect(() => { - return () => { - if (startTimer.current) { - clearTimeout(startTimer.current); - } - }; - }, []); const startCommit = react.useCallback(params => { const { pulsate, @@ -17611,12 +18121,13 @@ const TouchRipple = /*#__PURE__*/react.forwardRef(function TouchRipple(inProps, }); }; // Delay the execution of the ripple effect. - startTimer.current = setTimeout(() => { + // We have to make a tradeoff with this delay value. + startTimer.start(DELAY_RIPPLE, () => { if (startTimerCommit.current) { startTimerCommit.current(); startTimerCommit.current = null; } - }, DELAY_RIPPLE); // We have to make a tradeoff with this value. + }); } } else { startCommit({ @@ -17627,21 +18138,21 @@ const TouchRipple = /*#__PURE__*/react.forwardRef(function TouchRipple(inProps, cb }); } - }, [centerProp, startCommit]); + }, [centerProp, startCommit, startTimer]); const pulsate = react.useCallback(() => { start({}, { pulsate: true }); }, [start]); const stop = react.useCallback((event, cb) => { - clearTimeout(startTimer.current); + startTimer.clear(); // The touch interaction occurs too quickly. // We still want to show ripple effect. if ((event == null ? void 0 : event.type) === 'touchend' && startTimerCommit.current) { startTimerCommit.current(); startTimerCommit.current = null; - startTimer.current = setTimeout(() => { + startTimer.start(0, () => { stop(event, cb); }); return; @@ -17654,7 +18165,7 @@ const TouchRipple = /*#__PURE__*/react.forwardRef(function TouchRipple(inProps, return oldRipples; }); rippleCallback.current = cb; - }, []); + }, [startTimer]); react.useImperativeHandle(ref, () => ({ pulsate, start, @@ -17673,17 +18184,17 @@ const TouchRipple = /*#__PURE__*/react.forwardRef(function TouchRipple(inProps, }); false ? 0 : void 0; /* harmony default export */ const ButtonBase_TouchRipple = (TouchRipple); -// EXTERNAL MODULE: ./node_modules/.pnpm/@mui+utils@5.14.10_@types+react@18.2.67_react@18.2.0/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js -var generateUtilityClass_generateUtilityClass = __webpack_require__(4258); -;// CONCATENATED MODULE: ./node_modules/.pnpm/@mui+material@5.14.10_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.67_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/ButtonBase/buttonBaseClasses.js +// EXTERNAL MODULE: ./node_modules/.pnpm/@mui+utils@5.15.14_@types+react@18.2.79_react@18.2.0/node_modules/@mui/utils/generateUtilityClass/generateUtilityClass.js +var generateUtilityClass_generateUtilityClass = __webpack_require__(8092); +;// CONCATENATED MODULE: ./node_modules/.pnpm/@mui+material@5.15.15_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.79_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/ButtonBase/buttonBaseClasses.js function getButtonBaseUtilityClass(slot) { - return (0,generateUtilityClass_generateUtilityClass/* default */.Z)('MuiButtonBase', slot); + return (0,generateUtilityClass_generateUtilityClass/* default */.ZP)('MuiButtonBase', slot); } const buttonBaseClasses = (0,generateUtilityClasses/* default */.Z)('MuiButtonBase', ['root', 'disabled', 'focusVisible']); /* harmony default export */ const ButtonBase_buttonBaseClasses = (buttonBaseClasses); -;// CONCATENATED MODULE: ./node_modules/.pnpm/@mui+material@5.14.10_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.67_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/ButtonBase/ButtonBase.js +;// CONCATENATED MODULE: ./node_modules/.pnpm/@mui+material@5.15.15_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.79_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/ButtonBase/ButtonBase.js 'use client'; @@ -17703,6 +18214,7 @@ const ButtonBase_excluded = ["action", "centerRipple", "children", "className", + const useUtilityClasses = ownerState => { const { disabled, @@ -17921,7 +18433,7 @@ const ButtonBase = /*#__PURE__*/react.forwardRef(function ButtonBase(inProps, re }); const handleKeyUp = (0,useEventCallback/* default */.Z)(event => { // calling preventDefault in keyUp on a