m2m-components 4.0.1 → 4.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (101) hide show
  1. package/MenuBaseElement.d.mts +1 -1
  2. package/MenuBaseElement.d.ts +1 -1
  3. package/MenuBaseElement.mjs +2 -2
  4. package/chunk-2RQXOWBV.mjs +9 -0
  5. package/chunk-2RQXOWBV.mjs.map +1 -0
  6. package/{chunk-ISOF65DB.mjs → chunk-34OP4R54.mjs} +2 -2
  7. package/{chunk-ULIEV5F6.mjs → chunk-4WR4CODW.mjs} +3 -3
  8. package/{chunk-2X6HV5XJ.mjs → chunk-AYYVMRUA.mjs} +1 -1
  9. package/chunk-AYYVMRUA.mjs.map +1 -0
  10. package/{chunk-JUBOAWNR.mjs → chunk-BUSDHSUG.mjs} +1 -1
  11. package/{chunk-GMPQV5TL.mjs → chunk-FFSKHXBI.mjs} +2 -2
  12. package/{chunk-L74NH4WS.mjs → chunk-KEFPOQJ5.mjs} +2 -2
  13. package/{chunk-5UD6DCZW.mjs → chunk-MHR3UXOP.mjs} +2 -2
  14. package/{chunk-DYNNGZMQ.mjs → chunk-OB2SVLHW.mjs} +2 -2
  15. package/{chunk-NO6ZGO5P.mjs → chunk-P4FPJRVQ.mjs} +2 -2
  16. package/{chunk-ZKTYMWRB.mjs → chunk-W3A3A3FM.mjs} +376 -103
  17. package/chunk-W3A3A3FM.mjs.map +1 -0
  18. package/{chunk-WE7B4PI4.mjs → chunk-X7M2BR7Y.mjs} +3 -3
  19. package/{chunk-5V2GM6RK.mjs → chunk-YSF5KXHA.mjs} +2 -2
  20. package/domains.mjs +1 -1
  21. package/endpoints/m2m-notifications.d.mts +1 -1
  22. package/endpoints/m2m-notifications.d.ts +1 -1
  23. package/endpoints/m2m-notifications.mjs +2 -2
  24. package/endpoints/m2m-notifications.v1.d.mts +1 -1
  25. package/endpoints/m2m-notifications.v1.d.ts +1 -1
  26. package/endpoints/m2m-notifications.v1.mjs +2 -2
  27. package/endpoints/m2m-users.d.mts +1 -1
  28. package/endpoints/m2m-users.d.ts +1 -1
  29. package/endpoints/m2m-users.mjs +2 -2
  30. package/endpoints/m2m-users.v1.d.mts +1 -1
  31. package/endpoints/m2m-users.v1.d.ts +1 -1
  32. package/endpoints/m2m-users.v1.mjs +2 -2
  33. package/endpoints/matsuri-forms.d.mts +1 -1
  34. package/endpoints/matsuri-forms.d.ts +1 -1
  35. package/endpoints/matsuri-forms.mjs +2 -2
  36. package/endpoints/matsuri-forms.v1.d.mts +1 -1
  37. package/endpoints/matsuri-forms.v1.d.ts +1 -1
  38. package/endpoints/matsuri-forms.v1.mjs +2 -2
  39. package/feedback/MultipleTextQuestion.mjs +1 -1
  40. package/feedback/SelectQuestion.mjs +1 -1
  41. package/feedback/getRandomId.mjs +1 -1
  42. package/feedback/index.js +374 -101
  43. package/feedback/index.js.map +1 -1
  44. package/feedback/index.mjs +2 -2
  45. package/global.d.d.mts +0 -1
  46. package/global.d.d.ts +0 -1
  47. package/global.d.js.map +1 -1
  48. package/index.mjs +10 -10
  49. package/initM2mComponents.mjs +1 -1
  50. package/m2m-apps-menu.d.mts +1 -1
  51. package/m2m-apps-menu.d.ts +1 -1
  52. package/m2m-apps-menu.mjs +3 -3
  53. package/{m2m-notifications.v1-0186835d.d.ts → m2m-notifications.v1-OgnhtmrU.d.mts} +1 -10
  54. package/m2m-notifications.v1-OgnhtmrU.d.ts +64 -0
  55. package/m2m-releases-link.js +1 -1
  56. package/m2m-releases-link.js.map +1 -1
  57. package/m2m-releases-link.mjs +2 -2
  58. package/m2m-user-menu.d.mts +1 -1
  59. package/m2m-user-menu.d.ts +1 -1
  60. package/m2m-user-menu.mjs +3 -3
  61. package/{m2m-users.v1-c78c72cf.d.ts → m2m-users.v1-d2ArUJsi.d.mts} +1 -33
  62. package/m2m-users.v1-d2ArUJsi.d.ts +257 -0
  63. package/{matsuri-forms.v1-0ffee104.d.ts → matsuri-forms.v1-lw-XWLjX.d.mts} +1 -23
  64. package/matsuri-forms.v1-lw-XWLjX.d.ts +203 -0
  65. package/notification/NotificationProvider.mjs +3 -3
  66. package/notification/ServiceIdProvider.mjs +1 -1
  67. package/notification/api.mjs +3 -3
  68. package/notification/domain.d.mts +1 -1
  69. package/notification/domain.d.ts +1 -1
  70. package/notification/index.mjs +4 -4
  71. package/package.json +10 -10
  72. package/releases/t.d.mts +1 -1
  73. package/releases/t.d.ts +1 -1
  74. package/releases/t.js +1 -1
  75. package/releases/t.js.map +1 -1
  76. package/releases/t.mjs +2 -2
  77. package/storage/client.mjs +1 -1
  78. package/storage/hub.d.mts +1 -1
  79. package/storage/hub.d.ts +1 -1
  80. package/storage/hub.js.map +1 -1
  81. package/storage/hub.mjs +3 -3
  82. package/storage/lib/client.mjs +1 -1
  83. package/storage/lib/hub.d.mts +1 -1
  84. package/storage/lib/hub.d.ts +1 -1
  85. package/storage/lib/hub.js.map +1 -1
  86. package/storage/lib/hub.mjs +2 -2
  87. package/storage/useM2mAuth.mjs +2 -2
  88. package/chunk-2X6HV5XJ.mjs.map +0 -1
  89. package/chunk-H66U7VZB.mjs +0 -9
  90. package/chunk-H66U7VZB.mjs.map +0 -1
  91. package/chunk-ZKTYMWRB.mjs.map +0 -1
  92. /package/{chunk-ISOF65DB.mjs.map → chunk-34OP4R54.mjs.map} +0 -0
  93. /package/{chunk-ULIEV5F6.mjs.map → chunk-4WR4CODW.mjs.map} +0 -0
  94. /package/{chunk-JUBOAWNR.mjs.map → chunk-BUSDHSUG.mjs.map} +0 -0
  95. /package/{chunk-GMPQV5TL.mjs.map → chunk-FFSKHXBI.mjs.map} +0 -0
  96. /package/{chunk-L74NH4WS.mjs.map → chunk-KEFPOQJ5.mjs.map} +0 -0
  97. /package/{chunk-5UD6DCZW.mjs.map → chunk-MHR3UXOP.mjs.map} +0 -0
  98. /package/{chunk-DYNNGZMQ.mjs.map → chunk-OB2SVLHW.mjs.map} +0 -0
  99. /package/{chunk-NO6ZGO5P.mjs.map → chunk-P4FPJRVQ.mjs.map} +0 -0
  100. /package/{chunk-WE7B4PI4.mjs.map → chunk-X7M2BR7Y.mjs.map} +0 -0
  101. /package/{chunk-5V2GM6RK.mjs.map → chunk-YSF5KXHA.mjs.map} +0 -0
package/feedback/index.js CHANGED
@@ -34,9 +34,9 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
34
34
  ));
35
35
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
36
36
 
37
- // ../../node_modules/@babel/runtime/helpers/interopRequireDefault.js
37
+ // ../../node_modules/@mui/icons-material/node_modules/@babel/runtime/helpers/interopRequireDefault.js
38
38
  var require_interopRequireDefault = __commonJS({
39
- "../../node_modules/@babel/runtime/helpers/interopRequireDefault.js"(exports, module2) {
39
+ "../../node_modules/@mui/icons-material/node_modules/@babel/runtime/helpers/interopRequireDefault.js"(exports, module2) {
40
40
  "use strict";
41
41
  function _interopRequireDefault(obj) {
42
42
  return obj && obj.__esModule ? obj : {
@@ -47,7 +47,7 @@ var require_interopRequireDefault = __commonJS({
47
47
  }
48
48
  });
49
49
 
50
- // ../../node_modules/@babel/runtime/helpers/esm/extends.js
50
+ // ../../node_modules/@mui/icons-material/node_modules/@babel/runtime/helpers/esm/extends.js
51
51
  function _extends() {
52
52
  _extends = Object.assign ? Object.assign.bind() : function(target) {
53
53
  for (var i = 1; i < arguments.length; i++) {
@@ -63,7 +63,7 @@ function _extends() {
63
63
  return _extends.apply(this, arguments);
64
64
  }
65
65
  var init_extends = __esm({
66
- "../../node_modules/@babel/runtime/helpers/esm/extends.js"() {
66
+ "../../node_modules/@mui/icons-material/node_modules/@babel/runtime/helpers/esm/extends.js"() {
67
67
  "use strict";
68
68
  }
69
69
  });
@@ -1057,7 +1057,7 @@ var require_prop_types = __commonJS({
1057
1057
  }
1058
1058
  });
1059
1059
 
1060
- // ../../node_modules/@mui/icons-material/node_modules/@mui/utils/esm/formatMuiErrorMessage.js
1060
+ // ../../node_modules/@mui/icons-material/node_modules/@mui/utils/esm/formatMuiErrorMessage/formatMuiErrorMessage.js
1061
1061
  function formatMuiErrorMessage(code) {
1062
1062
  let url = "https://mui.com/production-error/?code=" + code;
1063
1063
  for (let i = 1; i < arguments.length; i += 1) {
@@ -1066,11 +1066,19 @@ function formatMuiErrorMessage(code) {
1066
1066
  return "Minified MUI error #" + code + "; visit " + url + " for the full message.";
1067
1067
  }
1068
1068
  var init_formatMuiErrorMessage = __esm({
1069
- "../../node_modules/@mui/icons-material/node_modules/@mui/utils/esm/formatMuiErrorMessage.js"() {
1069
+ "../../node_modules/@mui/icons-material/node_modules/@mui/utils/esm/formatMuiErrorMessage/formatMuiErrorMessage.js"() {
1070
1070
  "use strict";
1071
1071
  }
1072
1072
  });
1073
1073
 
1074
+ // ../../node_modules/@mui/icons-material/node_modules/@mui/utils/esm/formatMuiErrorMessage/index.js
1075
+ var init_formatMuiErrorMessage2 = __esm({
1076
+ "../../node_modules/@mui/icons-material/node_modules/@mui/utils/esm/formatMuiErrorMessage/index.js"() {
1077
+ "use strict";
1078
+ init_formatMuiErrorMessage();
1079
+ }
1080
+ });
1081
+
1074
1082
  // ../../node_modules/react-is/cjs/react-is.production.min.js
1075
1083
  var require_react_is_production_min2 = __commonJS({
1076
1084
  "../../node_modules/react-is/cjs/react-is.production.min.js"(exports) {
@@ -1430,7 +1438,7 @@ function capitalize(string) {
1430
1438
  var init_capitalize = __esm({
1431
1439
  "../../node_modules/@mui/icons-material/node_modules/@mui/utils/esm/capitalize/capitalize.js"() {
1432
1440
  "use strict";
1433
- init_formatMuiErrorMessage();
1441
+ init_formatMuiErrorMessage2();
1434
1442
  }
1435
1443
  });
1436
1444
 
@@ -1747,7 +1755,6 @@ function useEventCallback(fn) {
1747
1755
  });
1748
1756
  return React5.useRef((...args) => (
1749
1757
  // @ts-expect-error hide `this`
1750
- // tslint:disable-next-line:ban-comma-operator
1751
1758
  (0, ref.current)(...args)
1752
1759
  )).current;
1753
1760
  }
@@ -2081,7 +2088,6 @@ var init_esm = __esm({
2081
2088
  "use client";
2082
2089
  init_deepmerge();
2083
2090
  init_deepmerge();
2084
- init_formatMuiErrorMessage();
2085
2091
  init_getDisplayName();
2086
2092
  init_capitalize2();
2087
2093
  init_createChainedFunction();
@@ -2102,7 +2108,6 @@ var init_esm = __esm({
2102
2108
  init_resolveProps();
2103
2109
  init_composeClasses2();
2104
2110
  init_generateUtilityClass2();
2105
- init_generateUtilityClass2();
2106
2111
  init_generateUtilityClasses2();
2107
2112
  init_ClassNameGenerator2();
2108
2113
  }
@@ -2136,7 +2141,7 @@ var init_createChainedFunction2 = __esm({
2136
2141
  }
2137
2142
  });
2138
2143
 
2139
- // ../../node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js
2144
+ // ../../node_modules/@mui/icons-material/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js
2140
2145
  function _objectWithoutPropertiesLoose(source, excluded) {
2141
2146
  if (source == null)
2142
2147
  return {};
@@ -2152,7 +2157,7 @@ function _objectWithoutPropertiesLoose(source, excluded) {
2152
2157
  return target;
2153
2158
  }
2154
2159
  var init_objectWithoutPropertiesLoose = __esm({
2155
- "../../node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js"() {
2160
+ "../../node_modules/@mui/icons-material/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js"() {
2156
2161
  "use strict";
2157
2162
  }
2158
2163
  });
@@ -2192,6 +2197,27 @@ var init_composeClasses3 = __esm({
2192
2197
  }
2193
2198
  });
2194
2199
 
2200
+ // ../../node_modules/@babel/runtime/helpers/esm/extends.js
2201
+ function _extends2() {
2202
+ _extends2 = Object.assign ? Object.assign.bind() : function(target) {
2203
+ for (var i = 1; i < arguments.length; i++) {
2204
+ var source = arguments[i];
2205
+ for (var key in source) {
2206
+ if (Object.prototype.hasOwnProperty.call(source, key)) {
2207
+ target[key] = source[key];
2208
+ }
2209
+ }
2210
+ }
2211
+ return target;
2212
+ };
2213
+ return _extends2.apply(this, arguments);
2214
+ }
2215
+ var init_extends2 = __esm({
2216
+ "../../node_modules/@babel/runtime/helpers/esm/extends.js"() {
2217
+ "use strict";
2218
+ }
2219
+ });
2220
+
2195
2221
  // ../../node_modules/@emotion/memoize/dist/emotion-memoize.esm.js
2196
2222
  function memoize(fn) {
2197
2223
  var cache = /* @__PURE__ */ Object.create(null);
@@ -3727,7 +3753,7 @@ var init_emotion_unitless_esm = __esm({
3727
3753
  }
3728
3754
  });
3729
3755
 
3730
- // ../../node_modules/@emotion/serialize/dist/emotion-serialize.esm.js
3756
+ // ../../node_modules/@emotion/react/node_modules/@emotion/serialize/dist/emotion-serialize.esm.js
3731
3757
  function handleInterpolation(mergedProps, registered, interpolation) {
3732
3758
  if (interpolation == null) {
3733
3759
  return "";
@@ -3850,7 +3876,7 @@ function createStringFromObject(mergedProps, registered, obj) {
3850
3876
  }
3851
3877
  var ILLEGAL_ESCAPE_SEQUENCE_ERROR, UNDEFINED_AS_OBJECT_KEY_ERROR, hyphenateRegex, animationRegex, isCustomProperty, isProcessableValue, processStyleName, processStyleValue, contentValuePattern, contentValues, oldProcessStyleValue, msPattern, hyphenPattern, hyphenatedCache, noComponentSelectorMessage, labelPattern, sourceMapPattern, cursor, serializeStyles;
3852
3878
  var init_emotion_serialize_esm = __esm({
3853
- "../../node_modules/@emotion/serialize/dist/emotion-serialize.esm.js"() {
3879
+ "../../node_modules/@emotion/react/node_modules/@emotion/serialize/dist/emotion-serialize.esm.js"() {
3854
3880
  "use strict";
3855
3881
  init_emotion_hash_esm();
3856
3882
  init_emotion_unitless_esm();
@@ -3899,7 +3925,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
3899
3925
  msPattern = /^-ms-/;
3900
3926
  hyphenPattern = /-(.)/g;
3901
3927
  hyphenatedCache = {};
3902
- processStyleValue = function processStyleValue3(key, value) {
3928
+ processStyleValue = function processStyleValue5(key, value) {
3903
3929
  if (key === "content") {
3904
3930
  if (typeof value !== "string" || contentValues.indexOf(value) === -1 && !contentValuePattern.test(value) && (value.charAt(0) !== value.charAt(value.length - 1) || value.charAt(0) !== '"' && value.charAt(0) !== "'")) {
3905
3931
  throw new Error("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\"" + value + "\"'`");
@@ -4005,7 +4031,7 @@ var init_emotion_element_6bdfffb2_esm = __esm({
4005
4031
  React9 = __toESM(require("react"));
4006
4032
  import_react = require("react");
4007
4033
  init_emotion_cache_esm();
4008
- init_extends();
4034
+ init_extends2();
4009
4035
  init_emotion_weak_memoize_esm();
4010
4036
  init_emotion_utils_esm();
4011
4037
  init_emotion_serialize_esm();
@@ -4121,8 +4147,8 @@ var init_emotion_element_6bdfffb2_esm = __esm({
4121
4147
  var require_extends = __commonJS({
4122
4148
  "../../node_modules/@babel/runtime/helpers/extends.js"(exports, module2) {
4123
4149
  "use strict";
4124
- function _extends2() {
4125
- module2.exports = _extends2 = Object.assign ? Object.assign.bind() : function(target) {
4150
+ function _extends3() {
4151
+ module2.exports = _extends3 = Object.assign ? Object.assign.bind() : function(target) {
4126
4152
  for (var i = 1; i < arguments.length; i++) {
4127
4153
  var source = arguments[i];
4128
4154
  for (var key in source) {
@@ -4133,9 +4159,9 @@ var require_extends = __commonJS({
4133
4159
  }
4134
4160
  return target;
4135
4161
  }, module2.exports.__esModule = true, module2.exports["default"] = module2.exports;
4136
- return _extends2.apply(this, arguments);
4162
+ return _extends3.apply(this, arguments);
4137
4163
  }
4138
- module2.exports = _extends2, module2.exports.__esModule = true, module2.exports["default"] = module2.exports;
4164
+ module2.exports = _extends3, module2.exports.__esModule = true, module2.exports["default"] = module2.exports;
4139
4165
  }
4140
4166
  });
4141
4167
 
@@ -4164,7 +4190,7 @@ var init_emotion_react_esm = __esm({
4164
4190
  import_hoist_non_react_statics = __toESM(require_hoist_non_react_statics_cjs());
4165
4191
  pkg = {
4166
4192
  name: "@emotion/react",
4167
- version: "11.11.1",
4193
+ version: "11.11.3",
4168
4194
  main: "dist/emotion-react.cjs.js",
4169
4195
  module: "dist/emotion-react.esm.js",
4170
4196
  browser: {
@@ -4237,7 +4263,7 @@ var init_emotion_react_esm = __esm({
4237
4263
  "@babel/runtime": "^7.18.3",
4238
4264
  "@emotion/babel-plugin": "^11.11.0",
4239
4265
  "@emotion/cache": "^11.11.0",
4240
- "@emotion/serialize": "^1.1.2",
4266
+ "@emotion/serialize": "^1.1.3",
4241
4267
  "@emotion/use-insertion-effect-with-fallbacks": "^1.0.1",
4242
4268
  "@emotion/utils": "^1.2.1",
4243
4269
  "@emotion/weak-memoize": "^0.3.1",
@@ -4253,7 +4279,7 @@ var init_emotion_react_esm = __esm({
4253
4279
  },
4254
4280
  devDependencies: {
4255
4281
  "@definitelytyped/dtslint": "0.0.112",
4256
- "@emotion/css": "11.11.0",
4282
+ "@emotion/css": "11.11.2",
4257
4283
  "@emotion/css-prettifier": "1.1.3",
4258
4284
  "@emotion/server": "11.11.0",
4259
4285
  "@emotion/styled": "11.11.0",
@@ -4492,17 +4518,271 @@ var init_emotion_react_esm = __esm({
4492
4518
  }
4493
4519
  });
4494
4520
 
4521
+ // ../../node_modules/@emotion/serialize/dist/emotion-serialize.esm.js
4522
+ function handleInterpolation2(mergedProps, registered, interpolation) {
4523
+ if (interpolation == null) {
4524
+ return "";
4525
+ }
4526
+ if (interpolation.__emotion_styles !== void 0) {
4527
+ if (process.env.NODE_ENV !== "production" && interpolation.toString() === "NO_COMPONENT_SELECTOR") {
4528
+ throw new Error(noComponentSelectorMessage2);
4529
+ }
4530
+ return interpolation;
4531
+ }
4532
+ switch (typeof interpolation) {
4533
+ case "boolean": {
4534
+ return "";
4535
+ }
4536
+ case "object": {
4537
+ if (interpolation.anim === 1) {
4538
+ cursor2 = {
4539
+ name: interpolation.name,
4540
+ styles: interpolation.styles,
4541
+ next: cursor2
4542
+ };
4543
+ return interpolation.name;
4544
+ }
4545
+ if (interpolation.styles !== void 0) {
4546
+ var next2 = interpolation.next;
4547
+ if (next2 !== void 0) {
4548
+ while (next2 !== void 0) {
4549
+ cursor2 = {
4550
+ name: next2.name,
4551
+ styles: next2.styles,
4552
+ next: cursor2
4553
+ };
4554
+ next2 = next2.next;
4555
+ }
4556
+ }
4557
+ var styles = interpolation.styles + ";";
4558
+ if (process.env.NODE_ENV !== "production" && interpolation.map !== void 0) {
4559
+ styles += interpolation.map;
4560
+ }
4561
+ return styles;
4562
+ }
4563
+ return createStringFromObject2(mergedProps, registered, interpolation);
4564
+ }
4565
+ case "function": {
4566
+ if (mergedProps !== void 0) {
4567
+ var previousCursor = cursor2;
4568
+ var result = interpolation(mergedProps);
4569
+ cursor2 = previousCursor;
4570
+ return handleInterpolation2(mergedProps, registered, result);
4571
+ } else if (process.env.NODE_ENV !== "production") {
4572
+ console.error("Functions that are interpolated in css calls will be stringified.\nIf you want to have a css call based on props, create a function that returns a css call like this\nlet dynamicStyle = (props) => css`color: ${props.color}`\nIt can be called directly with props or interpolated in a styled call like this\nlet SomeComponent = styled('div')`${dynamicStyle}`");
4573
+ }
4574
+ break;
4575
+ }
4576
+ case "string":
4577
+ if (process.env.NODE_ENV !== "production") {
4578
+ var matched = [];
4579
+ var replaced = interpolation.replace(animationRegex2, function(match2, p1, p2) {
4580
+ var fakeVarName = "animation" + matched.length;
4581
+ matched.push("const " + fakeVarName + " = keyframes`" + p2.replace(/^@keyframes animation-\w+/, "") + "`");
4582
+ return "${" + fakeVarName + "}";
4583
+ });
4584
+ if (matched.length) {
4585
+ console.error("`keyframes` output got interpolated into plain string, please wrap it with `css`.\n\nInstead of doing this:\n\n" + [].concat(matched, ["`" + replaced + "`"]).join("\n") + "\n\nYou should wrap it with `css` like this:\n\n" + ("css`" + replaced + "`"));
4586
+ }
4587
+ }
4588
+ break;
4589
+ }
4590
+ if (registered == null) {
4591
+ return interpolation;
4592
+ }
4593
+ var cached = registered[interpolation];
4594
+ return cached !== void 0 ? cached : interpolation;
4595
+ }
4596
+ function createStringFromObject2(mergedProps, registered, obj) {
4597
+ var string = "";
4598
+ if (Array.isArray(obj)) {
4599
+ for (var i = 0; i < obj.length; i++) {
4600
+ string += handleInterpolation2(mergedProps, registered, obj[i]) + ";";
4601
+ }
4602
+ } else {
4603
+ for (var _key in obj) {
4604
+ var value = obj[_key];
4605
+ if (typeof value !== "object") {
4606
+ if (registered != null && registered[value] !== void 0) {
4607
+ string += _key + "{" + registered[value] + "}";
4608
+ } else if (isProcessableValue3(value)) {
4609
+ string += processStyleName2(_key) + ":" + processStyleValue3(_key, value) + ";";
4610
+ }
4611
+ } else {
4612
+ if (_key === "NO_COMPONENT_SELECTOR" && process.env.NODE_ENV !== "production") {
4613
+ throw new Error(noComponentSelectorMessage2);
4614
+ }
4615
+ if (Array.isArray(value) && typeof value[0] === "string" && (registered == null || registered[value[0]] === void 0)) {
4616
+ for (var _i = 0; _i < value.length; _i++) {
4617
+ if (isProcessableValue3(value[_i])) {
4618
+ string += processStyleName2(_key) + ":" + processStyleValue3(_key, value[_i]) + ";";
4619
+ }
4620
+ }
4621
+ } else {
4622
+ var interpolated = handleInterpolation2(mergedProps, registered, value);
4623
+ switch (_key) {
4624
+ case "animation":
4625
+ case "animationName": {
4626
+ string += processStyleName2(_key) + ":" + interpolated + ";";
4627
+ break;
4628
+ }
4629
+ default: {
4630
+ if (process.env.NODE_ENV !== "production" && _key === "undefined") {
4631
+ console.error(UNDEFINED_AS_OBJECT_KEY_ERROR2);
4632
+ }
4633
+ string += _key + "{" + interpolated + "}";
4634
+ }
4635
+ }
4636
+ }
4637
+ }
4638
+ }
4639
+ }
4640
+ return string;
4641
+ }
4642
+ var ILLEGAL_ESCAPE_SEQUENCE_ERROR2, UNDEFINED_AS_OBJECT_KEY_ERROR2, hyphenateRegex2, animationRegex2, isCustomProperty3, isProcessableValue3, processStyleName2, processStyleValue3, contentValuePattern, contentValues, oldProcessStyleValue, msPattern, hyphenPattern, hyphenatedCache, noComponentSelectorMessage2, labelPattern2, sourceMapPattern2, cursor2, serializeStyles3;
4643
+ var init_emotion_serialize_esm2 = __esm({
4644
+ "../../node_modules/@emotion/serialize/dist/emotion-serialize.esm.js"() {
4645
+ "use strict";
4646
+ init_emotion_hash_esm();
4647
+ init_emotion_unitless_esm();
4648
+ init_emotion_memoize_esm();
4649
+ ILLEGAL_ESCAPE_SEQUENCE_ERROR2 = `You have illegal escape sequence in your template literal, most likely inside content's property value.
4650
+ Because you write your CSS inside a JavaScript string you actually have to do double escaping, so for example "content: '\\00d7';" should become "content: '\\\\00d7';".
4651
+ You can read more about this here:
4652
+ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`;
4653
+ UNDEFINED_AS_OBJECT_KEY_ERROR2 = "You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).";
4654
+ hyphenateRegex2 = /[A-Z]|^ms/g;
4655
+ animationRegex2 = /_EMO_([^_]+?)_([^]*?)_EMO_/g;
4656
+ isCustomProperty3 = function isCustomProperty4(property) {
4657
+ return property.charCodeAt(1) === 45;
4658
+ };
4659
+ isProcessableValue3 = function isProcessableValue4(value) {
4660
+ return value != null && typeof value !== "boolean";
4661
+ };
4662
+ processStyleName2 = /* @__PURE__ */ memoize(function(styleName) {
4663
+ return isCustomProperty3(styleName) ? styleName : styleName.replace(hyphenateRegex2, "-$&").toLowerCase();
4664
+ });
4665
+ processStyleValue3 = function processStyleValue4(key, value) {
4666
+ switch (key) {
4667
+ case "animation":
4668
+ case "animationName": {
4669
+ if (typeof value === "string") {
4670
+ return value.replace(animationRegex2, function(match2, p1, p2) {
4671
+ cursor2 = {
4672
+ name: p1,
4673
+ styles: p2,
4674
+ next: cursor2
4675
+ };
4676
+ return p1;
4677
+ });
4678
+ }
4679
+ }
4680
+ }
4681
+ if (unitlessKeys[key] !== 1 && !isCustomProperty3(key) && typeof value === "number" && value !== 0) {
4682
+ return value + "px";
4683
+ }
4684
+ return value;
4685
+ };
4686
+ if (process.env.NODE_ENV !== "production") {
4687
+ contentValuePattern = /(var|attr|counters?|url|element|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/;
4688
+ contentValues = ["normal", "none", "initial", "inherit", "unset"];
4689
+ oldProcessStyleValue = processStyleValue3;
4690
+ msPattern = /^-ms-/;
4691
+ hyphenPattern = /-(.)/g;
4692
+ hyphenatedCache = {};
4693
+ processStyleValue3 = function processStyleValue5(key, value) {
4694
+ if (key === "content") {
4695
+ if (typeof value !== "string" || contentValues.indexOf(value) === -1 && !contentValuePattern.test(value) && (value.charAt(0) !== value.charAt(value.length - 1) || value.charAt(0) !== '"' && value.charAt(0) !== "'")) {
4696
+ throw new Error("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\"" + value + "\"'`");
4697
+ }
4698
+ }
4699
+ var processed = oldProcessStyleValue(key, value);
4700
+ if (processed !== "" && !isCustomProperty3(key) && key.indexOf("-") !== -1 && hyphenatedCache[key] === void 0) {
4701
+ hyphenatedCache[key] = true;
4702
+ console.error("Using kebab-case for css properties in objects is not supported. Did you mean " + key.replace(msPattern, "ms-").replace(hyphenPattern, function(str, _char) {
4703
+ return _char.toUpperCase();
4704
+ }) + "?");
4705
+ }
4706
+ return processed;
4707
+ };
4708
+ }
4709
+ noComponentSelectorMessage2 = "Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";
4710
+ labelPattern2 = /label:\s*([^\s;\n{]+)\s*(;|$)/g;
4711
+ if (process.env.NODE_ENV !== "production") {
4712
+ sourceMapPattern2 = /\/\*#\ssourceMappingURL=data:application\/json;\S+\s+\*\//g;
4713
+ }
4714
+ serializeStyles3 = function serializeStyles4(args, registered, mergedProps) {
4715
+ if (args.length === 1 && typeof args[0] === "object" && args[0] !== null && args[0].styles !== void 0) {
4716
+ return args[0];
4717
+ }
4718
+ var stringMode = true;
4719
+ var styles = "";
4720
+ cursor2 = void 0;
4721
+ var strings = args[0];
4722
+ if (strings == null || strings.raw === void 0) {
4723
+ stringMode = false;
4724
+ styles += handleInterpolation2(mergedProps, registered, strings);
4725
+ } else {
4726
+ if (process.env.NODE_ENV !== "production" && strings[0] === void 0) {
4727
+ console.error(ILLEGAL_ESCAPE_SEQUENCE_ERROR2);
4728
+ }
4729
+ styles += strings[0];
4730
+ }
4731
+ for (var i = 1; i < args.length; i++) {
4732
+ styles += handleInterpolation2(mergedProps, registered, args[i]);
4733
+ if (stringMode) {
4734
+ if (process.env.NODE_ENV !== "production" && strings[i] === void 0) {
4735
+ console.error(ILLEGAL_ESCAPE_SEQUENCE_ERROR2);
4736
+ }
4737
+ styles += strings[i];
4738
+ }
4739
+ }
4740
+ var sourceMap;
4741
+ if (process.env.NODE_ENV !== "production") {
4742
+ styles = styles.replace(sourceMapPattern2, function(match3) {
4743
+ sourceMap = match3;
4744
+ return "";
4745
+ });
4746
+ }
4747
+ labelPattern2.lastIndex = 0;
4748
+ var identifierName = "";
4749
+ var match2;
4750
+ while ((match2 = labelPattern2.exec(styles)) !== null) {
4751
+ identifierName += "-" + // $FlowFixMe we know it's not null
4752
+ match2[1];
4753
+ }
4754
+ var name = murmur2(styles) + identifierName;
4755
+ if (process.env.NODE_ENV !== "production") {
4756
+ return {
4757
+ name,
4758
+ styles,
4759
+ map: sourceMap,
4760
+ next: cursor2,
4761
+ toString: function toString() {
4762
+ return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop).";
4763
+ }
4764
+ };
4765
+ }
4766
+ return {
4767
+ name,
4768
+ styles,
4769
+ next: cursor2
4770
+ };
4771
+ };
4772
+ }
4773
+ });
4774
+
4495
4775
  // ../../node_modules/@emotion/styled/base/dist/emotion-styled-base.esm.js
4496
- var React11, testOmitPropsOnStringTag, testOmitPropsOnComponent, getDefaultShouldForwardProp, composeShouldForwardProps, ILLEGAL_ESCAPE_SEQUENCE_ERROR2, isBrowser5, Insertion5, createStyled;
4776
+ var React11, testOmitPropsOnStringTag, testOmitPropsOnComponent, getDefaultShouldForwardProp, composeShouldForwardProps, ILLEGAL_ESCAPE_SEQUENCE_ERROR3, isBrowser5, Insertion5, createStyled;
4497
4777
  var init_emotion_styled_base_esm = __esm({
4498
4778
  "../../node_modules/@emotion/styled/base/dist/emotion-styled-base.esm.js"() {
4499
4779
  "use strict";
4500
- init_extends();
4780
+ init_extends2();
4501
4781
  React11 = __toESM(require("react"));
4502
4782
  init_emotion_is_prop_valid_esm();
4503
4783
  init_emotion_react_esm();
4504
4784
  init_emotion_utils_esm();
4505
- init_emotion_serialize_esm();
4785
+ init_emotion_serialize_esm2();
4506
4786
  init_emotion_use_insertion_effect_with_fallbacks_esm();
4507
4787
  testOmitPropsOnStringTag = isPropValid;
4508
4788
  testOmitPropsOnComponent = function testOmitPropsOnComponent2(key) {
@@ -4527,7 +4807,7 @@ var init_emotion_styled_base_esm = __esm({
4527
4807
  }
4528
4808
  return shouldForwardProp2;
4529
4809
  };
4530
- ILLEGAL_ESCAPE_SEQUENCE_ERROR2 = `You have illegal escape sequence in your template literal, most likely inside content's property value.
4810
+ ILLEGAL_ESCAPE_SEQUENCE_ERROR3 = `You have illegal escape sequence in your template literal, most likely inside content's property value.
4531
4811
  Because you write your CSS inside a JavaScript string you actually have to do double escaping, so for example "content: '\\00d7';" should become "content: '\\\\00d7';".
4532
4812
  You can read more about this here:
4533
4813
  https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`;
@@ -4579,14 +4859,14 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
4579
4859
  styles.push.apply(styles, args);
4580
4860
  } else {
4581
4861
  if (process.env.NODE_ENV !== "production" && args[0][0] === void 0) {
4582
- console.error(ILLEGAL_ESCAPE_SEQUENCE_ERROR2);
4862
+ console.error(ILLEGAL_ESCAPE_SEQUENCE_ERROR3);
4583
4863
  }
4584
4864
  styles.push(args[0][0]);
4585
4865
  var len = args.length;
4586
4866
  var i = 1;
4587
4867
  for (; i < len; i++) {
4588
4868
  if (process.env.NODE_ENV !== "production" && args[0][i] === void 0) {
4589
- console.error(ILLEGAL_ESCAPE_SEQUENCE_ERROR2);
4869
+ console.error(ILLEGAL_ESCAPE_SEQUENCE_ERROR3);
4590
4870
  }
4591
4871
  styles.push(args[i], args[0][i]);
4592
4872
  }
@@ -4608,7 +4888,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
4608
4888
  } else if (props.className != null) {
4609
4889
  className = props.className + " ";
4610
4890
  }
4611
- var serialized = serializeStyles(styles.concat(classInterpolations), cache.registered, mergedProps);
4891
+ var serialized = serializeStyles3(styles.concat(classInterpolations), cache.registered, mergedProps);
4612
4892
  className += cache.key + "-" + serialized.name;
4613
4893
  if (targetClassName !== void 0) {
4614
4894
  className += " " + targetClassName;
@@ -4648,7 +4928,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
4648
4928
  }
4649
4929
  });
4650
4930
  Styled.withComponent = function(nextTag, nextOptions) {
4651
- return createStyled2(nextTag, _extends({}, options, nextOptions, {
4931
+ return createStyled2(nextTag, _extends2({}, options, nextOptions, {
4652
4932
  shouldForwardProp: composeShouldForwardProps(Styled, nextOptions, true)
4653
4933
  })).apply(void 0, styles);
4654
4934
  };
@@ -4668,7 +4948,7 @@ var init_emotion_styled_esm = __esm({
4668
4948
  import_react3 = require("react");
4669
4949
  init_emotion_is_prop_valid_esm();
4670
4950
  init_emotion_utils_esm();
4671
- init_emotion_serialize_esm();
4951
+ init_emotion_serialize_esm2();
4672
4952
  init_emotion_use_insertion_effect_with_fallbacks_esm();
4673
4953
  tags = [
4674
4954
  "a",
@@ -5346,7 +5626,14 @@ function borderTransform(value) {
5346
5626
  }
5347
5627
  return `${value}px solid`;
5348
5628
  }
5349
- var border, borderTop, borderRight, borderBottom, borderLeft, borderColor, borderTopColor, borderRightColor, borderBottomColor, borderLeftColor, borderRadius, borders;
5629
+ function createBorderStyle(prop, transform) {
5630
+ return style_default({
5631
+ prop,
5632
+ themeKey: "borders",
5633
+ transform
5634
+ });
5635
+ }
5636
+ var border, borderTop, borderRight, borderBottom, borderLeft, borderColor, borderTopColor, borderRightColor, borderBottomColor, borderLeftColor, outline, outlineColor, borderRadius, borders;
5350
5637
  var init_borders = __esm({
5351
5638
  "../../node_modules/@mui/icons-material/node_modules/@mui/system/esm/borders.js"() {
5352
5639
  "use strict";
@@ -5355,51 +5642,18 @@ var init_borders = __esm({
5355
5642
  init_compose();
5356
5643
  init_spacing();
5357
5644
  init_breakpoints();
5358
- border = style_default({
5359
- prop: "border",
5360
- themeKey: "borders",
5361
- transform: borderTransform
5362
- });
5363
- borderTop = style_default({
5364
- prop: "borderTop",
5365
- themeKey: "borders",
5366
- transform: borderTransform
5367
- });
5368
- borderRight = style_default({
5369
- prop: "borderRight",
5370
- themeKey: "borders",
5371
- transform: borderTransform
5372
- });
5373
- borderBottom = style_default({
5374
- prop: "borderBottom",
5375
- themeKey: "borders",
5376
- transform: borderTransform
5377
- });
5378
- borderLeft = style_default({
5379
- prop: "borderLeft",
5380
- themeKey: "borders",
5381
- transform: borderTransform
5382
- });
5383
- borderColor = style_default({
5384
- prop: "borderColor",
5385
- themeKey: "palette"
5386
- });
5387
- borderTopColor = style_default({
5388
- prop: "borderTopColor",
5389
- themeKey: "palette"
5390
- });
5391
- borderRightColor = style_default({
5392
- prop: "borderRightColor",
5393
- themeKey: "palette"
5394
- });
5395
- borderBottomColor = style_default({
5396
- prop: "borderBottomColor",
5397
- themeKey: "palette"
5398
- });
5399
- borderLeftColor = style_default({
5400
- prop: "borderLeftColor",
5401
- themeKey: "palette"
5402
- });
5645
+ border = createBorderStyle("border", borderTransform);
5646
+ borderTop = createBorderStyle("borderTop", borderTransform);
5647
+ borderRight = createBorderStyle("borderRight", borderTransform);
5648
+ borderBottom = createBorderStyle("borderBottom", borderTransform);
5649
+ borderLeft = createBorderStyle("borderLeft", borderTransform);
5650
+ borderColor = createBorderStyle("borderColor");
5651
+ borderTopColor = createBorderStyle("borderTopColor");
5652
+ borderRightColor = createBorderStyle("borderRightColor");
5653
+ borderBottomColor = createBorderStyle("borderBottomColor");
5654
+ borderLeftColor = createBorderStyle("borderLeftColor");
5655
+ outline = createBorderStyle("outline", borderTransform);
5656
+ outlineColor = createBorderStyle("outlineColor");
5403
5657
  borderRadius = (props) => {
5404
5658
  if (props.borderRadius !== void 0 && props.borderRadius !== null) {
5405
5659
  const transformer = createUnaryUnit(props.theme, "shape.borderRadius", 4, "borderRadius");
@@ -5414,7 +5668,7 @@ var init_borders = __esm({
5414
5668
  borderRadius: responsivePropType_default
5415
5669
  } : {};
5416
5670
  borderRadius.filterProps = ["borderRadius"];
5417
- borders = compose_default(border, borderTop, borderRight, borderBottom, borderLeft, borderColor, borderTopColor, borderRightColor, borderBottomColor, borderLeftColor, borderRadius);
5671
+ borders = compose_default(border, borderTop, borderRight, borderBottom, borderLeft, borderColor, borderTopColor, borderRightColor, borderBottomColor, borderLeftColor, borderRadius, outline, outlineColor);
5418
5672
  }
5419
5673
  });
5420
5674
 
@@ -5653,6 +5907,13 @@ var init_defaultSxConfig = __esm({
5653
5907
  borderLeftColor: {
5654
5908
  themeKey: "palette"
5655
5909
  },
5910
+ outline: {
5911
+ themeKey: "borders",
5912
+ transform: borderTransform
5913
+ },
5914
+ outlineColor: {
5915
+ themeKey: "palette"
5916
+ },
5656
5917
  borderRadius: {
5657
5918
  themeKey: "shape.borderRadius",
5658
5919
  style: borderRadius
@@ -6483,10 +6744,17 @@ var init_createStyled = __esm({
6483
6744
  return null;
6484
6745
  };
6485
6746
  transformVariants = (variants) => {
6747
+ let numOfCallbacks = 0;
6486
6748
  const variantsStyles = {};
6487
6749
  if (variants) {
6488
6750
  variants.forEach((definition) => {
6489
- const key = propsToClassKey(definition.props);
6751
+ let key = "";
6752
+ if (typeof definition.props === "function") {
6753
+ key = `callback${numOfCallbacks}`;
6754
+ numOfCallbacks += 1;
6755
+ } else {
6756
+ key = propsToClassKey(definition.props);
6757
+ }
6490
6758
  variantsStyles[key] = definition.style;
6491
6759
  });
6492
6760
  }
@@ -6504,16 +6772,29 @@ var init_createStyled = __esm({
6504
6772
  ownerState = {}
6505
6773
  } = props;
6506
6774
  const variantsStyles = [];
6775
+ let numOfCallbacks = 0;
6507
6776
  if (variants) {
6508
6777
  variants.forEach((variant) => {
6509
6778
  let isMatch = true;
6510
- Object.keys(variant.props).forEach((key) => {
6511
- if (ownerState[key] !== variant.props[key] && props[key] !== variant.props[key]) {
6512
- isMatch = false;
6513
- }
6514
- });
6779
+ if (typeof variant.props === "function") {
6780
+ const propsToCheck = _extends({}, props, ownerState);
6781
+ isMatch = variant.props(propsToCheck);
6782
+ } else {
6783
+ Object.keys(variant.props).forEach((key) => {
6784
+ if (ownerState[key] !== variant.props[key] && props[key] !== variant.props[key]) {
6785
+ isMatch = false;
6786
+ }
6787
+ });
6788
+ }
6515
6789
  if (isMatch) {
6516
- variantsStyles.push(styles[propsToClassKey(variant.props)]);
6790
+ if (typeof variant.props === "function") {
6791
+ variantsStyles.push(styles[`callback${numOfCallbacks}`]);
6792
+ } else {
6793
+ variantsStyles.push(styles[propsToClassKey(variant.props)]);
6794
+ }
6795
+ }
6796
+ if (typeof variant.props === "function") {
6797
+ numOfCallbacks += 1;
6517
6798
  }
6518
6799
  });
6519
6800
  }
@@ -6756,7 +7037,7 @@ function lighten(color2, coefficient) {
6756
7037
  var init_colorManipulator = __esm({
6757
7038
  "../../node_modules/@mui/icons-material/node_modules/@mui/system/esm/colorManipulator.js"() {
6758
7039
  "use strict";
6759
- init_esm();
7040
+ init_formatMuiErrorMessage2();
6760
7041
  }
6761
7042
  });
6762
7043
 
@@ -6878,14 +7159,6 @@ var init_esm2 = __esm({
6878
7159
  }
6879
7160
  });
6880
7161
 
6881
- // ../../node_modules/@mui/icons-material/node_modules/@mui/material/generateUtilityClass/index.js
6882
- var init_generateUtilityClass3 = __esm({
6883
- "../../node_modules/@mui/icons-material/node_modules/@mui/material/generateUtilityClass/index.js"() {
6884
- "use strict";
6885
- init_esm();
6886
- }
6887
- });
6888
-
6889
7162
  // ../../node_modules/@mui/icons-material/node_modules/@mui/material/styles/createMixins.js
6890
7163
  function createMixins(breakpoints, mixins) {
6891
7164
  return _extends({
@@ -7326,7 +7599,7 @@ var init_createPalette = __esm({
7326
7599
  "use strict";
7327
7600
  init_extends();
7328
7601
  init_objectWithoutPropertiesLoose();
7329
- init_esm();
7602
+ init_formatMuiErrorMessage2();
7330
7603
  init_esm();
7331
7604
  init_esm2();
7332
7605
  init_common();
@@ -7684,10 +7957,10 @@ var init_createTheme3 = __esm({
7684
7957
  "use strict";
7685
7958
  init_extends();
7686
7959
  init_objectWithoutPropertiesLoose();
7687
- init_esm();
7960
+ init_formatMuiErrorMessage2();
7688
7961
  init_esm();
7689
7962
  init_esm2();
7690
- init_generateUtilityClass3();
7963
+ init_generateUtilityClass2();
7691
7964
  init_createMixins();
7692
7965
  init_createPalette();
7693
7966
  init_createTypography();
@@ -7769,8 +8042,8 @@ var svgIconClasses;
7769
8042
  var init_svgIconClasses = __esm({
7770
8043
  "../../node_modules/@mui/icons-material/node_modules/@mui/material/SvgIcon/svgIconClasses.js"() {
7771
8044
  "use strict";
7772
- init_esm();
7773
- init_generateUtilityClass3();
8045
+ init_generateUtilityClasses2();
8046
+ init_generateUtilityClass2();
7774
8047
  svgIconClasses = generateUtilityClasses("MuiSvgIcon", ["root", "colorPrimary", "colorSecondary", "colorAction", "colorError", "colorDisabled", "fontSizeInherit", "fontSizeSmall", "fontSizeMedium", "fontSizeLarge"]);
7775
8048
  }
7776
8049
  });
@@ -8578,7 +8851,7 @@ react-is/cjs/react-is.development.js:
8578
8851
 
8579
8852
  @mui/styled-engine/index.js:
8580
8853
  (**
8581
- * @mui/styled-engine v5.14.18
8854
+ * @mui/styled-engine v5.15.3
8582
8855
  *
8583
8856
  * @license MIT
8584
8857
  * This source code is licensed under the MIT license found in the