storybook 10.1.0-alpha.9 → 10.1.0-beta.0

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 (198) hide show
  1. package/dist/_browser-chunks/Color-FTG7SQDA.js +1097 -0
  2. package/dist/_browser-chunks/WithTooltip-LMROHDUP.js +1651 -0
  3. package/dist/_browser-chunks/chunk-2FRVAXCZ.js +7 -0
  4. package/dist/_browser-chunks/{chunk-FDWKXLBI.js → chunk-2XZMBGTA.js} +44 -109
  5. package/dist/_browser-chunks/chunk-3IAH5M2U.js +171 -0
  6. package/dist/_browser-chunks/chunk-3OXGAGBE.js +779 -0
  7. package/dist/_browser-chunks/{chunk-TMDZCWME.js → chunk-3PJE6VLG.js} +1 -3
  8. package/dist/_browser-chunks/{chunk-VAMFPZY3.js → chunk-45UGUKRX.js} +2 -7
  9. package/dist/_browser-chunks/chunk-6XWLIJQL.js +11 -0
  10. package/dist/_browser-chunks/{chunk-MM7DTO55.js → chunk-A242L54C.js} +10 -16
  11. package/dist/_browser-chunks/chunk-AIOS4NGK.js +252 -0
  12. package/dist/_browser-chunks/chunk-AS2HQEYC.js +14 -0
  13. package/dist/_browser-chunks/chunk-AXG2BOBL.js +836 -0
  14. package/dist/_browser-chunks/{chunk-MH6AXFXB.js → chunk-CHUV5WSW.js} +0 -5
  15. package/dist/_browser-chunks/chunk-EUVGDK4H.js +93 -0
  16. package/dist/_browser-chunks/chunk-EZSQOHRI.js +18 -0
  17. package/dist/_browser-chunks/{chunk-CADGRH3P.js → chunk-FNXWN6IK.js} +3 -8
  18. package/dist/_browser-chunks/chunk-FQ7SLVLR.js +66 -0
  19. package/dist/_browser-chunks/chunk-GFLS4VP3.js +64 -0
  20. package/dist/_browser-chunks/chunk-GFY5R5EY.js +47 -0
  21. package/dist/_browser-chunks/{chunk-L2D73C6Z.js → chunk-H6XK3RSC.js} +13 -21
  22. package/dist/_browser-chunks/chunk-IPA5A322.js +71 -0
  23. package/dist/_browser-chunks/chunk-JP7NCOJX.js +37 -0
  24. package/dist/_browser-chunks/chunk-KJHJLCBK.js +11 -0
  25. package/dist/_browser-chunks/{chunk-OWPZQM2D.js → chunk-L4RMQ7D7.js} +60 -110
  26. package/dist/_browser-chunks/chunk-P4F4UVXX.js +951 -0
  27. package/dist/_browser-chunks/{chunk-AB7OOPUX.js → chunk-QKODTO7K.js} +0 -5
  28. package/dist/_browser-chunks/chunk-RP5RXKFU.js +2491 -0
  29. package/dist/_browser-chunks/chunk-SL75JR6Y.js +9 -0
  30. package/dist/_browser-chunks/chunk-SS2NHR7W.js +2969 -0
  31. package/dist/_browser-chunks/chunk-UD6FQLAF.js +1481 -0
  32. package/dist/_browser-chunks/chunk-VYJQ7RU5.js +2853 -0
  33. package/dist/_browser-chunks/chunk-WJYERY3R.js +136 -0
  34. package/dist/_browser-chunks/chunk-XJNX76GA.js +85 -0
  35. package/dist/_browser-chunks/{chunk-F4Q6SGTB.js → chunk-YKE5S47A.js} +177 -399
  36. package/dist/_browser-chunks/{chunk-SN4J4IQ3.js → chunk-ZUWEVLDX.js} +1 -7
  37. package/dist/_browser-chunks/{formatter-OMEEQ6HG.js → formatter-QJ4M4OGQ.js} +4 -9
  38. package/dist/_browser-chunks/{syntaxhighlighter-CAVLW7PM.js → syntaxhighlighter-IQDEPFLK.js} +704 -1848
  39. package/dist/_node-chunks/{builder-manager-SM3UWERX.js → builder-manager-BDAQHXFI.js} +510 -1019
  40. package/dist/_node-chunks/camelcase-3C7DZZPX.js +37 -0
  41. package/dist/_node-chunks/chunk-2IIQTGNE.js +6024 -0
  42. package/dist/_node-chunks/chunk-56U5LEMP.js +3043 -0
  43. package/dist/_node-chunks/chunk-7LIRCAQE.js +20 -0
  44. package/dist/_node-chunks/chunk-7RN6TXKP.js +603 -0
  45. package/dist/_node-chunks/chunk-7SJ7PZNL.js +4523 -0
  46. package/dist/_node-chunks/{chunk-HHSTA6QS.js → chunk-BG4RDXG7.js} +8 -10
  47. package/dist/_node-chunks/chunk-CBQKMXLQ.js +18 -0
  48. package/dist/_node-chunks/chunk-CN2IW2KQ.js +1564 -0
  49. package/dist/_node-chunks/chunk-CQMAU6UQ.js +943 -0
  50. package/dist/_node-chunks/{chunk-EBUEXRH5.js → chunk-D6ND3TVY.js} +116 -276
  51. package/dist/_node-chunks/chunk-DC355CYB.js +61 -0
  52. package/dist/_node-chunks/{chunk-SGM3ZCCT.js → chunk-EVK2SBW5.js} +292 -688
  53. package/dist/_node-chunks/chunk-IXWEUXJ2.js +119 -0
  54. package/dist/_node-chunks/{chunk-F6EFOEC7.js → chunk-KVRF22SH.js} +469 -983
  55. package/dist/_node-chunks/chunk-LEDP4QQW.js +919 -0
  56. package/dist/_node-chunks/{chunk-GHIBZRKD.js → chunk-MMVV6DGG.js} +8133 -8887
  57. package/dist/_node-chunks/chunk-O5CGEVRI.js +29 -0
  58. package/dist/_node-chunks/chunk-OZZO56XN.js +299 -0
  59. package/dist/_node-chunks/chunk-POT2EVGD.js +78 -0
  60. package/dist/_node-chunks/chunk-R5YGFSTV.js +3781 -0
  61. package/dist/_node-chunks/chunk-SQCTM2OS.js +23 -0
  62. package/dist/_node-chunks/chunk-UFOFO5H7.js +54 -0
  63. package/dist/_node-chunks/chunk-VBF7ALJF.js +72 -0
  64. package/dist/_node-chunks/chunk-W6MAMTUF.js +70 -0
  65. package/dist/_node-chunks/chunk-WURL4XOT.js +46662 -0
  66. package/dist/_node-chunks/chunk-XGK6MVKR.js +61 -0
  67. package/dist/_node-chunks/chunk-YV3GDSDT.js +765 -0
  68. package/dist/_node-chunks/{chunk-ATDHMMIZ.js → chunk-YWV55YW3.js} +15 -24
  69. package/dist/_node-chunks/dist-KEP4IFRN.js +121 -0
  70. package/dist/_node-chunks/globby-4WUBTDCN.js +3452 -0
  71. package/dist/_node-chunks/lib-JVOEKTYM.js +366 -0
  72. package/dist/_node-chunks/mdx-N42X6CFJ-C5WFYYXR.js +14329 -0
  73. package/dist/_node-chunks/p-limit-LDY632RS.js +116 -0
  74. package/dist/actions/decorator.js +21 -42
  75. package/dist/actions/index.js +3 -3
  76. package/dist/babel/index.d.ts +671 -335
  77. package/dist/babel/index.js +10 -11
  78. package/dist/bin/core.js +601 -1548
  79. package/dist/bin/dispatcher.js +36 -36
  80. package/dist/bin/loader.js +24 -38
  81. package/dist/channels/index.js +98 -234
  82. package/dist/cli/index.d.ts +1479 -133
  83. package/dist/cli/index.js +30 -8540
  84. package/dist/client-logger/index.js +31 -61
  85. package/dist/common/index.d.ts +139 -62
  86. package/dist/common/index.js +66 -51
  87. package/dist/components/index.d.ts +575 -273
  88. package/dist/components/index.js +14863 -4313
  89. package/dist/core-events/index.js +2 -66
  90. package/dist/core-server/index.d.ts +3 -2
  91. package/dist/core-server/index.js +2908 -8518
  92. package/dist/core-server/presets/common-manager.css +2 -2
  93. package/dist/core-server/presets/common-manager.js +2521 -5233
  94. package/dist/core-server/presets/common-override-preset.js +31 -60
  95. package/dist/core-server/presets/common-preset.js +663 -962
  96. package/dist/csf/index.js +534 -1179
  97. package/dist/csf-tools/index.js +9 -9
  98. package/dist/docs-tools/index.js +6 -6
  99. package/dist/highlight/index.js +2 -2
  100. package/dist/instrumenter/index.js +199 -415
  101. package/dist/manager/globals-runtime.js +59044 -67141
  102. package/dist/manager/globals.js +2 -3
  103. package/dist/manager/manager-stores.d.ts +1 -0
  104. package/dist/manager/manager-stores.js +23 -0
  105. package/dist/manager/runtime.js +11511 -10953
  106. package/dist/manager-api/index.d.ts +1811 -2
  107. package/dist/manager-api/index.js +1348 -2401
  108. package/dist/manager-errors.d.ts +9 -0
  109. package/dist/manager-errors.js +3 -3
  110. package/dist/mocking-utils/index.d.ts +1126 -0
  111. package/dist/mocking-utils/index.js +1181 -0
  112. package/dist/node-logger/index.d.ts +192 -24
  113. package/dist/node-logger/index.js +23 -4471
  114. package/dist/preview/globals.js +2 -3
  115. package/dist/preview/runtime.js +10799 -22393
  116. package/dist/preview-api/index.d.ts +68 -69
  117. package/dist/preview-api/index.js +13 -13
  118. package/dist/preview-errors.d.ts +9 -0
  119. package/dist/preview-errors.js +4 -4
  120. package/dist/router/index.js +347 -899
  121. package/dist/server-errors.d.ts +34 -1
  122. package/dist/server-errors.js +17 -10
  123. package/dist/telemetry/index.d.ts +24 -3
  124. package/dist/telemetry/index.js +25 -24
  125. package/dist/test/index.js +6131 -11916
  126. package/dist/theming/create.d.ts +1 -0
  127. package/dist/theming/create.js +4 -4
  128. package/dist/theming/index.d.ts +3366 -2599
  129. package/dist/theming/index.js +501 -1091
  130. package/dist/types/index.d.ts +72 -8
  131. package/dist/types/index.js +27 -12
  132. package/dist/viewport/index.js +3 -3
  133. package/package.json +26 -17
  134. package/dist/_browser-chunks/Color-7ZNS6F6B.js +0 -1676
  135. package/dist/_browser-chunks/WithTooltip-SK46ZJ2J.js +0 -13
  136. package/dist/_browser-chunks/chunk-6A7OIVEL.js +0 -66
  137. package/dist/_browser-chunks/chunk-B4A3ADP3.js +0 -3816
  138. package/dist/_browser-chunks/chunk-BOOOPFZF.js +0 -2335
  139. package/dist/_browser-chunks/chunk-FSBVR7H5.js +0 -106
  140. package/dist/_browser-chunks/chunk-FUOHXXZT.js +0 -23
  141. package/dist/_browser-chunks/chunk-GTKOCWCT.js +0 -17
  142. package/dist/_browser-chunks/chunk-HHW4FUMO.js +0 -12
  143. package/dist/_browser-chunks/chunk-JVSKG4YS.js +0 -4052
  144. package/dist/_browser-chunks/chunk-LASUB7TL.js +0 -76
  145. package/dist/_browser-chunks/chunk-LYCSRYYR.js +0 -101
  146. package/dist/_browser-chunks/chunk-NVV6MIOE.js +0 -243
  147. package/dist/_browser-chunks/chunk-OBXWFEPB.js +0 -852
  148. package/dist/_browser-chunks/chunk-OPCDBBL3.js +0 -48
  149. package/dist/_browser-chunks/chunk-PB6FZ3WE.js +0 -130
  150. package/dist/_browser-chunks/chunk-RNE2IUTB.js +0 -1300
  151. package/dist/_browser-chunks/chunk-RW5PKMWM.js +0 -4182
  152. package/dist/_browser-chunks/chunk-SYS437NN.js +0 -122
  153. package/dist/_browser-chunks/chunk-U46RQHA4.js +0 -12
  154. package/dist/_browser-chunks/chunk-UTNZYD2N.js +0 -311
  155. package/dist/_browser-chunks/chunk-VUAFL5XK.js +0 -20
  156. package/dist/_browser-chunks/chunk-XDGMHOV7.js +0 -2197
  157. package/dist/_browser-chunks/chunk-XW6KSYKF.js +0 -16
  158. package/dist/_browser-chunks/chunk-Y3M7TW6K.js +0 -1041
  159. package/dist/_browser-chunks/chunk-ZNRFDIVA.js +0 -233
  160. package/dist/_node-chunks/camelcase-H5QSGQLK.js +0 -18
  161. package/dist/_node-chunks/chunk-3THWHQOC.js +0 -61
  162. package/dist/_node-chunks/chunk-45YUOLTU.js +0 -69
  163. package/dist/_node-chunks/chunk-4QSNCPAU.js +0 -64656
  164. package/dist/_node-chunks/chunk-744PQSOU.js +0 -79
  165. package/dist/_node-chunks/chunk-74Z2U7QG.js +0 -1544
  166. package/dist/_node-chunks/chunk-7MB7TFPO.js +0 -1198
  167. package/dist/_node-chunks/chunk-A7GS4RFT.js +0 -697
  168. package/dist/_node-chunks/chunk-BIA3A5UM.js +0 -61
  169. package/dist/_node-chunks/chunk-C5G7CLWX.js +0 -1657
  170. package/dist/_node-chunks/chunk-DLFUKMYJ.js +0 -1531
  171. package/dist/_node-chunks/chunk-EMRGRXKT.js +0 -111
  172. package/dist/_node-chunks/chunk-EX46EHHY.js +0 -420
  173. package/dist/_node-chunks/chunk-F76QKNOJ.js +0 -304
  174. package/dist/_node-chunks/chunk-HDCRUTEF.js +0 -220
  175. package/dist/_node-chunks/chunk-HUYAOIPH.js +0 -90
  176. package/dist/_node-chunks/chunk-IBJZQZJC.js +0 -101
  177. package/dist/_node-chunks/chunk-KZN2RDDT.js +0 -6712
  178. package/dist/_node-chunks/chunk-LYUNFU3F.js +0 -4741
  179. package/dist/_node-chunks/chunk-N44SIS6K.js +0 -28
  180. package/dist/_node-chunks/chunk-NILZM6KR.js +0 -18
  181. package/dist/_node-chunks/chunk-PC4ZRP6W.js +0 -34
  182. package/dist/_node-chunks/chunk-TJNGOQUH.js +0 -4272
  183. package/dist/_node-chunks/chunk-UBSYLHIL.js +0 -1250
  184. package/dist/_node-chunks/chunk-UTCLXPOC.js +0 -1518
  185. package/dist/_node-chunks/chunk-WOXXODXP.js +0 -5029
  186. package/dist/_node-chunks/chunk-XC4MEUA6.js +0 -1586
  187. package/dist/_node-chunks/chunk-YRXXMKRR.js +0 -2256
  188. package/dist/_node-chunks/dist-SL73W244.js +0 -175
  189. package/dist/_node-chunks/globby-ZSHAUQZ5.js +0 -5222
  190. package/dist/_node-chunks/lib-U2VIPUTI.js +0 -518
  191. package/dist/_node-chunks/mdx-N42X6CFJ-ZLHD33JK.js +0 -22017
  192. package/dist/_node-chunks/p-limit-K5BS5MSV.js +0 -168
  193. package/dist/_node-chunks/plugin-5PD4YIUH.js +0 -129
  194. package/dist/_node-chunks/plugin-MONDT2WL.js +0 -159
  195. package/dist/_node-chunks/webpack-inject-mocker-runtime-plugin-EUZJRG3W.js +0 -69102
  196. package/dist/_node-chunks/webpack-mock-plugin-T4LDXEHE.js +0 -124
  197. package/dist/core-server/presets/webpack/loaders/storybook-mock-transform-loader.js +0 -36
  198. package/dist/core-server/presets/webpack/loaders/webpack-automock-loader.js +0 -33
@@ -9,50 +9,31 @@ import {
9
9
  mkColor,
10
10
  themes,
11
11
  typography
12
- } from "../_browser-chunks/chunk-OWPZQM2D.js";
12
+ } from "../_browser-chunks/chunk-L4RMQ7D7.js";
13
13
  import {
14
14
  curriedOpacify$1
15
- } from "../_browser-chunks/chunk-OBXWFEPB.js";
15
+ } from "../_browser-chunks/chunk-AXG2BOBL.js";
16
16
  import {
17
17
  _extends
18
- } from "../_browser-chunks/chunk-MH6AXFXB.js";
18
+ } from "../_browser-chunks/chunk-CHUV5WSW.js";
19
19
  import {
20
20
  require_memoizerific
21
- } from "../_browser-chunks/chunk-NVV6MIOE.js";
21
+ } from "../_browser-chunks/chunk-WJYERY3R.js";
22
22
  import {
23
23
  dedent
24
- } from "../_browser-chunks/chunk-OPCDBBL3.js";
24
+ } from "../_browser-chunks/chunk-JP7NCOJX.js";
25
25
  import {
26
26
  __commonJS,
27
- __name,
28
27
  __toESM
29
- } from "../_browser-chunks/chunk-MM7DTO55.js";
28
+ } from "../_browser-chunks/chunk-A242L54C.js";
30
29
 
31
30
  // ../node_modules/react-is/cjs/react-is.production.min.js
32
31
  var require_react_is_production_min = __commonJS({
33
32
  "../node_modules/react-is/cjs/react-is.production.min.js"(exports) {
34
33
  "use strict";
35
- var b = "function" === typeof Symbol && Symbol.for;
36
- var c = b ? Symbol.for("react.element") : 60103;
37
- var d = b ? Symbol.for("react.portal") : 60106;
38
- var e = b ? Symbol.for("react.fragment") : 60107;
39
- var f = b ? Symbol.for("react.strict_mode") : 60108;
40
- var g = b ? Symbol.for("react.profiler") : 60114;
41
- var h = b ? Symbol.for("react.provider") : 60109;
42
- var k = b ? Symbol.for("react.context") : 60110;
43
- var l = b ? Symbol.for("react.async_mode") : 60111;
44
- var m = b ? Symbol.for("react.concurrent_mode") : 60111;
45
- var n = b ? Symbol.for("react.forward_ref") : 60112;
46
- var p = b ? Symbol.for("react.suspense") : 60113;
47
- var q = b ? Symbol.for("react.suspense_list") : 60120;
48
- var r = b ? Symbol.for("react.memo") : 60115;
49
- var t = b ? Symbol.for("react.lazy") : 60116;
50
- var v = b ? Symbol.for("react.block") : 60121;
51
- var w = b ? Symbol.for("react.fundamental") : 60117;
52
- var x = b ? Symbol.for("react.responder") : 60118;
53
- var y = b ? Symbol.for("react.scope") : 60119;
34
+ var b = typeof Symbol == "function" && Symbol.for, c = b ? Symbol.for("react.element") : 60103, d = b ? Symbol.for("react.portal") : 60106, e = b ? Symbol.for("react.fragment") : 60107, f = b ? Symbol.for("react.strict_mode") : 60108, g = b ? Symbol.for("react.profiler") : 60114, h = b ? Symbol.for("react.provider") : 60109, k = b ? Symbol.for("react.context") : 60110, l = b ? Symbol.for("react.async_mode") : 60111, m = b ? Symbol.for("react.concurrent_mode") : 60111, n = b ? Symbol.for("react.forward_ref") : 60112, p = b ? Symbol.for("react.suspense") : 60113, q = b ? Symbol.for("react.suspense_list") : 60120, r = b ? Symbol.for("react.memo") : 60115, t = b ? Symbol.for("react.lazy") : 60116, v = b ? Symbol.for("react.block") : 60121, w = b ? Symbol.for("react.fundamental") : 60117, x = b ? Symbol.for("react.responder") : 60118, y = b ? Symbol.for("react.scope") : 60119;
54
35
  function z(a) {
55
- if ("object" === typeof a && null !== a) {
36
+ if (typeof a == "object" && a !== null) {
56
37
  var u = a.$$typeof;
57
38
  switch (u) {
58
39
  case c:
@@ -81,11 +62,9 @@ var require_react_is_production_min = __commonJS({
81
62
  }
82
63
  }
83
64
  }
84
- __name(z, "z");
85
65
  function A(a) {
86
66
  return z(a) === m;
87
67
  }
88
- __name(A, "A");
89
68
  exports.AsyncMode = l;
90
69
  exports.ConcurrentMode = m;
91
70
  exports.ContextConsumer = k;
@@ -110,7 +89,7 @@ var require_react_is_production_min = __commonJS({
110
89
  return z(a) === h;
111
90
  };
112
91
  exports.isElement = function(a) {
113
- return "object" === typeof a && null !== a && a.$$typeof === c;
92
+ return typeof a == "object" && a !== null && a.$$typeof === c;
114
93
  };
115
94
  exports.isForwardRef = function(a) {
116
95
  return z(a) === n;
@@ -137,7 +116,7 @@ var require_react_is_production_min = __commonJS({
137
116
  return z(a) === p;
138
117
  };
139
118
  exports.isValidElementType = function(a) {
140
- return "string" === typeof a || "function" === typeof a || a === e || a === m || a === g || a === f || a === p || a === q || "object" === typeof a && null !== a && (a.$$typeof === t || a.$$typeof === r || a.$$typeof === h || a.$$typeof === k || a.$$typeof === n || a.$$typeof === w || a.$$typeof === x || a.$$typeof === y || a.$$typeof === v);
119
+ return typeof a == "string" || typeof a == "function" || a === e || a === m || a === g || a === f || a === p || a === q || typeof a == "object" && a !== null && (a.$$typeof === t || a.$$typeof === r || a.$$typeof === h || a.$$typeof === k || a.$$typeof === n || a.$$typeof === w || a.$$typeof === x || a.$$typeof === y || a.$$typeof === v);
141
120
  };
142
121
  exports.typeOf = z;
143
122
  }
@@ -147,169 +126,87 @@ var require_react_is_production_min = __commonJS({
147
126
  var require_react_is_development = __commonJS({
148
127
  "../node_modules/react-is/cjs/react-is.development.js"(exports) {
149
128
  "use strict";
150
- if (process.env.NODE_ENV !== "production") {
151
- (function() {
152
- "use strict";
153
- var hasSymbol = typeof Symbol === "function" && Symbol.for;
154
- var REACT_ELEMENT_TYPE = hasSymbol ? Symbol.for("react.element") : 60103;
155
- var REACT_PORTAL_TYPE = hasSymbol ? Symbol.for("react.portal") : 60106;
156
- var REACT_FRAGMENT_TYPE = hasSymbol ? Symbol.for("react.fragment") : 60107;
157
- var REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for("react.strict_mode") : 60108;
158
- var REACT_PROFILER_TYPE = hasSymbol ? Symbol.for("react.profiler") : 60114;
159
- var REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for("react.provider") : 60109;
160
- var REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for("react.context") : 60110;
161
- var REACT_ASYNC_MODE_TYPE = hasSymbol ? Symbol.for("react.async_mode") : 60111;
162
- var REACT_CONCURRENT_MODE_TYPE = hasSymbol ? Symbol.for("react.concurrent_mode") : 60111;
163
- var REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for("react.forward_ref") : 60112;
164
- var REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for("react.suspense") : 60113;
165
- var REACT_SUSPENSE_LIST_TYPE = hasSymbol ? Symbol.for("react.suspense_list") : 60120;
166
- var REACT_MEMO_TYPE = hasSymbol ? Symbol.for("react.memo") : 60115;
167
- var REACT_LAZY_TYPE = hasSymbol ? Symbol.for("react.lazy") : 60116;
168
- var REACT_BLOCK_TYPE = hasSymbol ? Symbol.for("react.block") : 60121;
169
- var REACT_FUNDAMENTAL_TYPE = hasSymbol ? Symbol.for("react.fundamental") : 60117;
170
- var REACT_RESPONDER_TYPE = hasSymbol ? Symbol.for("react.responder") : 60118;
171
- var REACT_SCOPE_TYPE = hasSymbol ? Symbol.for("react.scope") : 60119;
172
- function isValidElementType(type) {
173
- return typeof type === "string" || typeof type === "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
174
- type === REACT_FRAGMENT_TYPE || type === REACT_CONCURRENT_MODE_TYPE || type === REACT_PROFILER_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || typeof type === "object" && type !== null && (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_FUNDAMENTAL_TYPE || type.$$typeof === REACT_RESPONDER_TYPE || type.$$typeof === REACT_SCOPE_TYPE || type.$$typeof === REACT_BLOCK_TYPE);
175
- }
176
- __name(isValidElementType, "isValidElementType");
177
- function typeOf(object) {
178
- if (typeof object === "object" && object !== null) {
179
- var $$typeof = object.$$typeof;
180
- switch ($$typeof) {
181
- case REACT_ELEMENT_TYPE:
182
- var type = object.type;
183
- switch (type) {
184
- case REACT_ASYNC_MODE_TYPE:
185
- case REACT_CONCURRENT_MODE_TYPE:
186
- case REACT_FRAGMENT_TYPE:
187
- case REACT_PROFILER_TYPE:
188
- case REACT_STRICT_MODE_TYPE:
189
- case REACT_SUSPENSE_TYPE:
190
- return type;
191
- default:
192
- var $$typeofType = type && type.$$typeof;
193
- switch ($$typeofType) {
194
- case REACT_CONTEXT_TYPE:
195
- case REACT_FORWARD_REF_TYPE:
196
- case REACT_LAZY_TYPE:
197
- case REACT_MEMO_TYPE:
198
- case REACT_PROVIDER_TYPE:
199
- return $$typeofType;
200
- default:
201
- return $$typeof;
202
- }
203
- }
204
- case REACT_PORTAL_TYPE:
205
- return $$typeof;
206
- }
207
- }
208
- return void 0;
209
- }
210
- __name(typeOf, "typeOf");
211
- var AsyncMode = REACT_ASYNC_MODE_TYPE;
212
- var ConcurrentMode = REACT_CONCURRENT_MODE_TYPE;
213
- var ContextConsumer = REACT_CONTEXT_TYPE;
214
- var ContextProvider = REACT_PROVIDER_TYPE;
215
- var Element = REACT_ELEMENT_TYPE;
216
- var ForwardRef = REACT_FORWARD_REF_TYPE;
217
- var Fragment4 = REACT_FRAGMENT_TYPE;
218
- var Lazy = REACT_LAZY_TYPE;
219
- var Memo = REACT_MEMO_TYPE;
220
- var Portal = REACT_PORTAL_TYPE;
221
- var Profiler = REACT_PROFILER_TYPE;
222
- var StrictMode = REACT_STRICT_MODE_TYPE;
223
- var Suspense = REACT_SUSPENSE_TYPE;
224
- var hasWarnedAboutDeprecatedIsAsyncMode = false;
225
- function isAsyncMode(object) {
226
- {
227
- if (!hasWarnedAboutDeprecatedIsAsyncMode) {
228
- hasWarnedAboutDeprecatedIsAsyncMode = true;
229
- console["warn"]("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.");
230
- }
129
+ process.env.NODE_ENV !== "production" && (function() {
130
+ "use strict";
131
+ var hasSymbol = typeof Symbol == "function" && Symbol.for, REACT_ELEMENT_TYPE = hasSymbol ? Symbol.for("react.element") : 60103, REACT_PORTAL_TYPE = hasSymbol ? Symbol.for("react.portal") : 60106, REACT_FRAGMENT_TYPE = hasSymbol ? Symbol.for("react.fragment") : 60107, REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for("react.strict_mode") : 60108, REACT_PROFILER_TYPE = hasSymbol ? Symbol.for("react.profiler") : 60114, REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for("react.provider") : 60109, REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for("react.context") : 60110, REACT_ASYNC_MODE_TYPE = hasSymbol ? Symbol.for("react.async_mode") : 60111, REACT_CONCURRENT_MODE_TYPE = hasSymbol ? Symbol.for("react.concurrent_mode") : 60111, REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for("react.forward_ref") : 60112, REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for("react.suspense") : 60113, REACT_SUSPENSE_LIST_TYPE = hasSymbol ? Symbol.for("react.suspense_list") : 60120, REACT_MEMO_TYPE = hasSymbol ? Symbol.for("react.memo") : 60115, REACT_LAZY_TYPE = hasSymbol ? Symbol.for("react.lazy") : 60116, REACT_BLOCK_TYPE = hasSymbol ? Symbol.for("react.block") : 60121, REACT_FUNDAMENTAL_TYPE = hasSymbol ? Symbol.for("react.fundamental") : 60117, REACT_RESPONDER_TYPE = hasSymbol ? Symbol.for("react.responder") : 60118, REACT_SCOPE_TYPE = hasSymbol ? Symbol.for("react.scope") : 60119;
132
+ function isValidElementType(type) {
133
+ return typeof type == "string" || typeof type == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
134
+ type === REACT_FRAGMENT_TYPE || type === REACT_CONCURRENT_MODE_TYPE || type === REACT_PROFILER_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || typeof type == "object" && type !== null && (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_FUNDAMENTAL_TYPE || type.$$typeof === REACT_RESPONDER_TYPE || type.$$typeof === REACT_SCOPE_TYPE || type.$$typeof === REACT_BLOCK_TYPE);
135
+ }
136
+ function typeOf(object) {
137
+ if (typeof object == "object" && object !== null) {
138
+ var $$typeof = object.$$typeof;
139
+ switch ($$typeof) {
140
+ case REACT_ELEMENT_TYPE:
141
+ var type = object.type;
142
+ switch (type) {
143
+ case REACT_ASYNC_MODE_TYPE:
144
+ case REACT_CONCURRENT_MODE_TYPE:
145
+ case REACT_FRAGMENT_TYPE:
146
+ case REACT_PROFILER_TYPE:
147
+ case REACT_STRICT_MODE_TYPE:
148
+ case REACT_SUSPENSE_TYPE:
149
+ return type;
150
+ default:
151
+ var $$typeofType = type && type.$$typeof;
152
+ switch ($$typeofType) {
153
+ case REACT_CONTEXT_TYPE:
154
+ case REACT_FORWARD_REF_TYPE:
155
+ case REACT_LAZY_TYPE:
156
+ case REACT_MEMO_TYPE:
157
+ case REACT_PROVIDER_TYPE:
158
+ return $$typeofType;
159
+ default:
160
+ return $$typeof;
161
+ }
162
+ }
163
+ case REACT_PORTAL_TYPE:
164
+ return $$typeof;
231
165
  }
232
- return isConcurrentMode(object) || typeOf(object) === REACT_ASYNC_MODE_TYPE;
233
- }
234
- __name(isAsyncMode, "isAsyncMode");
235
- function isConcurrentMode(object) {
236
- return typeOf(object) === REACT_CONCURRENT_MODE_TYPE;
237
- }
238
- __name(isConcurrentMode, "isConcurrentMode");
239
- function isContextConsumer(object) {
240
- return typeOf(object) === REACT_CONTEXT_TYPE;
241
- }
242
- __name(isContextConsumer, "isContextConsumer");
243
- function isContextProvider(object) {
244
- return typeOf(object) === REACT_PROVIDER_TYPE;
245
- }
246
- __name(isContextProvider, "isContextProvider");
247
- function isElement(object) {
248
- return typeof object === "object" && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
249
- }
250
- __name(isElement, "isElement");
251
- function isForwardRef(object) {
252
- return typeOf(object) === REACT_FORWARD_REF_TYPE;
253
166
  }
254
- __name(isForwardRef, "isForwardRef");
255
- function isFragment(object) {
256
- return typeOf(object) === REACT_FRAGMENT_TYPE;
257
- }
258
- __name(isFragment, "isFragment");
259
- function isLazy(object) {
260
- return typeOf(object) === REACT_LAZY_TYPE;
261
- }
262
- __name(isLazy, "isLazy");
263
- function isMemo(object) {
264
- return typeOf(object) === REACT_MEMO_TYPE;
265
- }
266
- __name(isMemo, "isMemo");
267
- function isPortal(object) {
268
- return typeOf(object) === REACT_PORTAL_TYPE;
269
- }
270
- __name(isPortal, "isPortal");
271
- function isProfiler(object) {
272
- return typeOf(object) === REACT_PROFILER_TYPE;
273
- }
274
- __name(isProfiler, "isProfiler");
275
- function isStrictMode(object) {
276
- return typeOf(object) === REACT_STRICT_MODE_TYPE;
277
- }
278
- __name(isStrictMode, "isStrictMode");
279
- function isSuspense(object) {
280
- return typeOf(object) === REACT_SUSPENSE_TYPE;
281
- }
282
- __name(isSuspense, "isSuspense");
283
- exports.AsyncMode = AsyncMode;
284
- exports.ConcurrentMode = ConcurrentMode;
285
- exports.ContextConsumer = ContextConsumer;
286
- exports.ContextProvider = ContextProvider;
287
- exports.Element = Element;
288
- exports.ForwardRef = ForwardRef;
289
- exports.Fragment = Fragment4;
290
- exports.Lazy = Lazy;
291
- exports.Memo = Memo;
292
- exports.Portal = Portal;
293
- exports.Profiler = Profiler;
294
- exports.StrictMode = StrictMode;
295
- exports.Suspense = Suspense;
296
- exports.isAsyncMode = isAsyncMode;
297
- exports.isConcurrentMode = isConcurrentMode;
298
- exports.isContextConsumer = isContextConsumer;
299
- exports.isContextProvider = isContextProvider;
300
- exports.isElement = isElement;
301
- exports.isForwardRef = isForwardRef;
302
- exports.isFragment = isFragment;
303
- exports.isLazy = isLazy;
304
- exports.isMemo = isMemo;
305
- exports.isPortal = isPortal;
306
- exports.isProfiler = isProfiler;
307
- exports.isStrictMode = isStrictMode;
308
- exports.isSuspense = isSuspense;
309
- exports.isValidElementType = isValidElementType;
310
- exports.typeOf = typeOf;
311
- })();
312
- }
167
+ }
168
+ var AsyncMode = REACT_ASYNC_MODE_TYPE, ConcurrentMode = REACT_CONCURRENT_MODE_TYPE, ContextConsumer = REACT_CONTEXT_TYPE, ContextProvider = REACT_PROVIDER_TYPE, Element = REACT_ELEMENT_TYPE, ForwardRef = REACT_FORWARD_REF_TYPE, Fragment4 = REACT_FRAGMENT_TYPE, Lazy = REACT_LAZY_TYPE, Memo = REACT_MEMO_TYPE, Portal = REACT_PORTAL_TYPE, Profiler = REACT_PROFILER_TYPE, StrictMode = REACT_STRICT_MODE_TYPE, Suspense = REACT_SUSPENSE_TYPE, hasWarnedAboutDeprecatedIsAsyncMode = !1;
169
+ function isAsyncMode(object) {
170
+ return hasWarnedAboutDeprecatedIsAsyncMode || (hasWarnedAboutDeprecatedIsAsyncMode = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), isConcurrentMode(object) || typeOf(object) === REACT_ASYNC_MODE_TYPE;
171
+ }
172
+ function isConcurrentMode(object) {
173
+ return typeOf(object) === REACT_CONCURRENT_MODE_TYPE;
174
+ }
175
+ function isContextConsumer(object) {
176
+ return typeOf(object) === REACT_CONTEXT_TYPE;
177
+ }
178
+ function isContextProvider(object) {
179
+ return typeOf(object) === REACT_PROVIDER_TYPE;
180
+ }
181
+ function isElement(object) {
182
+ return typeof object == "object" && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
183
+ }
184
+ function isForwardRef(object) {
185
+ return typeOf(object) === REACT_FORWARD_REF_TYPE;
186
+ }
187
+ function isFragment(object) {
188
+ return typeOf(object) === REACT_FRAGMENT_TYPE;
189
+ }
190
+ function isLazy(object) {
191
+ return typeOf(object) === REACT_LAZY_TYPE;
192
+ }
193
+ function isMemo(object) {
194
+ return typeOf(object) === REACT_MEMO_TYPE;
195
+ }
196
+ function isPortal(object) {
197
+ return typeOf(object) === REACT_PORTAL_TYPE;
198
+ }
199
+ function isProfiler(object) {
200
+ return typeOf(object) === REACT_PROFILER_TYPE;
201
+ }
202
+ function isStrictMode(object) {
203
+ return typeOf(object) === REACT_STRICT_MODE_TYPE;
204
+ }
205
+ function isSuspense(object) {
206
+ return typeOf(object) === REACT_SUSPENSE_TYPE;
207
+ }
208
+ exports.AsyncMode = AsyncMode, exports.ConcurrentMode = ConcurrentMode, exports.ContextConsumer = ContextConsumer, exports.ContextProvider = ContextProvider, exports.Element = Element, exports.ForwardRef = ForwardRef, exports.Fragment = Fragment4, exports.Lazy = Lazy, exports.Memo = Memo, exports.Portal = Portal, exports.Profiler = Profiler, exports.StrictMode = StrictMode, exports.Suspense = Suspense, exports.isAsyncMode = isAsyncMode, exports.isConcurrentMode = isConcurrentMode, exports.isContextConsumer = isContextConsumer, exports.isContextProvider = isContextProvider, exports.isElement = isElement, exports.isForwardRef = isForwardRef, exports.isFragment = isFragment, exports.isLazy = isLazy, exports.isMemo = isMemo, exports.isPortal = isPortal, exports.isProfiler = isProfiler, exports.isStrictMode = isStrictMode, exports.isSuspense = isSuspense, exports.isValidElementType = isValidElementType, exports.typeOf = typeOf;
209
+ })();
313
210
  }
314
211
  });
315
212
 
@@ -317,11 +214,7 @@ var require_react_is_development = __commonJS({
317
214
  var require_react_is = __commonJS({
318
215
  "../node_modules/react-is/index.js"(exports, module) {
319
216
  "use strict";
320
- if (process.env.NODE_ENV === "production") {
321
- module.exports = require_react_is_production_min();
322
- } else {
323
- module.exports = require_react_is_development();
324
- }
217
+ process.env.NODE_ENV === "production" ? module.exports = require_react_is_production_min() : module.exports = require_react_is_development();
325
218
  }
326
219
  });
327
220
 
@@ -329,88 +222,67 @@ var require_react_is = __commonJS({
329
222
  var require_hoist_non_react_statics_cjs = __commonJS({
330
223
  "../node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js"(exports, module) {
331
224
  "use strict";
332
- var reactIs = require_react_is();
333
- var REACT_STATICS = {
334
- childContextTypes: true,
335
- contextType: true,
336
- contextTypes: true,
337
- defaultProps: true,
338
- displayName: true,
339
- getDefaultProps: true,
340
- getDerivedStateFromError: true,
341
- getDerivedStateFromProps: true,
342
- mixins: true,
343
- propTypes: true,
344
- type: true
345
- };
346
- var KNOWN_STATICS = {
347
- name: true,
348
- length: true,
349
- prototype: true,
350
- caller: true,
351
- callee: true,
352
- arguments: true,
353
- arity: true
354
- };
355
- var FORWARD_REF_STATICS = {
356
- "$$typeof": true,
357
- render: true,
358
- defaultProps: true,
359
- displayName: true,
360
- propTypes: true
361
- };
362
- var MEMO_STATICS = {
363
- "$$typeof": true,
364
- compare: true,
365
- defaultProps: true,
366
- displayName: true,
367
- propTypes: true,
368
- type: true
369
- };
370
- var TYPE_STATICS = {};
225
+ var reactIs = require_react_is(), REACT_STATICS = {
226
+ childContextTypes: !0,
227
+ contextType: !0,
228
+ contextTypes: !0,
229
+ defaultProps: !0,
230
+ displayName: !0,
231
+ getDefaultProps: !0,
232
+ getDerivedStateFromError: !0,
233
+ getDerivedStateFromProps: !0,
234
+ mixins: !0,
235
+ propTypes: !0,
236
+ type: !0
237
+ }, KNOWN_STATICS = {
238
+ name: !0,
239
+ length: !0,
240
+ prototype: !0,
241
+ caller: !0,
242
+ callee: !0,
243
+ arguments: !0,
244
+ arity: !0
245
+ }, FORWARD_REF_STATICS = {
246
+ $$typeof: !0,
247
+ render: !0,
248
+ defaultProps: !0,
249
+ displayName: !0,
250
+ propTypes: !0
251
+ }, MEMO_STATICS = {
252
+ $$typeof: !0,
253
+ compare: !0,
254
+ defaultProps: !0,
255
+ displayName: !0,
256
+ propTypes: !0,
257
+ type: !0
258
+ }, TYPE_STATICS = {};
371
259
  TYPE_STATICS[reactIs.ForwardRef] = FORWARD_REF_STATICS;
372
260
  TYPE_STATICS[reactIs.Memo] = MEMO_STATICS;
373
261
  function getStatics(component) {
374
- if (reactIs.isMemo(component)) {
375
- return MEMO_STATICS;
376
- }
377
- return TYPE_STATICS[component["$$typeof"]] || REACT_STATICS;
262
+ return reactIs.isMemo(component) ? MEMO_STATICS : TYPE_STATICS[component.$$typeof] || REACT_STATICS;
378
263
  }
379
- __name(getStatics, "getStatics");
380
- var defineProperty = Object.defineProperty;
381
- var getOwnPropertyNames = Object.getOwnPropertyNames;
382
- var getOwnPropertySymbols = Object.getOwnPropertySymbols;
383
- var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
384
- var getPrototypeOf = Object.getPrototypeOf;
385
- var objectPrototype = Object.prototype;
264
+ var defineProperty = Object.defineProperty, getOwnPropertyNames = Object.getOwnPropertyNames, getOwnPropertySymbols = Object.getOwnPropertySymbols, getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor, getPrototypeOf = Object.getPrototypeOf, objectPrototype = Object.prototype;
386
265
  function hoistNonReactStatics2(targetComponent, sourceComponent, blacklist) {
387
- if (typeof sourceComponent !== "string") {
266
+ if (typeof sourceComponent != "string") {
388
267
  if (objectPrototype) {
389
268
  var inheritedComponent = getPrototypeOf(sourceComponent);
390
- if (inheritedComponent && inheritedComponent !== objectPrototype) {
391
- hoistNonReactStatics2(targetComponent, inheritedComponent, blacklist);
392
- }
269
+ inheritedComponent && inheritedComponent !== objectPrototype && hoistNonReactStatics2(targetComponent, inheritedComponent, blacklist);
393
270
  }
394
271
  var keys = getOwnPropertyNames(sourceComponent);
395
- if (getOwnPropertySymbols) {
396
- keys = keys.concat(getOwnPropertySymbols(sourceComponent));
397
- }
398
- var targetStatics = getStatics(targetComponent);
399
- var sourceStatics = getStatics(sourceComponent);
400
- for (var i = 0; i < keys.length; ++i) {
272
+ getOwnPropertySymbols && (keys = keys.concat(getOwnPropertySymbols(sourceComponent)));
273
+ for (var targetStatics = getStatics(targetComponent), sourceStatics = getStatics(sourceComponent), i = 0; i < keys.length; ++i) {
401
274
  var key = keys[i];
402
275
  if (!KNOWN_STATICS[key] && !(blacklist && blacklist[key]) && !(sourceStatics && sourceStatics[key]) && !(targetStatics && targetStatics[key])) {
403
276
  var descriptor = getOwnPropertyDescriptor(sourceComponent, key);
404
277
  try {
405
278
  defineProperty(targetComponent, key, descriptor);
406
- } catch (e) {
279
+ } catch {
407
280
  }
408
281
  }
409
282
  }
410
283
  }
411
284
  return targetComponent;
412
285
  }
413
- __name(hoistNonReactStatics2, "hoistNonReactStatics");
414
286
  module.exports = hoistNonReactStatics2;
415
287
  }
416
288
  });
@@ -420,196 +292,117 @@ import * as React2 from "react";
420
292
  import { useContext as useContext2, forwardRef as forwardRef2 } from "react";
421
293
 
422
294
  // ../node_modules/@emotion/sheet/dist/emotion-sheet.esm.js
423
- var isDevelopment = false;
295
+ var isDevelopment = !1;
424
296
  function sheetForTag(tag) {
425
- if (tag.sheet) {
297
+ if (tag.sheet)
426
298
  return tag.sheet;
427
- }
428
- for (var i = 0; i < document.styleSheets.length; i++) {
429
- if (document.styleSheets[i].ownerNode === tag) {
299
+ for (var i = 0; i < document.styleSheets.length; i++)
300
+ if (document.styleSheets[i].ownerNode === tag)
430
301
  return document.styleSheets[i];
431
- }
432
- }
433
- return void 0;
434
302
  }
435
- __name(sheetForTag, "sheetForTag");
436
303
  function createStyleElement(options) {
437
304
  var tag = document.createElement("style");
438
- tag.setAttribute("data-emotion", options.key);
439
- if (options.nonce !== void 0) {
440
- tag.setAttribute("nonce", options.nonce);
441
- }
442
- tag.appendChild(document.createTextNode(""));
443
- tag.setAttribute("data-s", "");
444
- return tag;
305
+ return tag.setAttribute("data-emotion", options.key), options.nonce !== void 0 && tag.setAttribute("nonce", options.nonce), tag.appendChild(document.createTextNode("")), tag.setAttribute("data-s", ""), tag;
445
306
  }
446
- __name(createStyleElement, "createStyleElement");
447
- var StyleSheet = function() {
307
+ var StyleSheet = (function() {
448
308
  function StyleSheet2(options) {
449
309
  var _this = this;
450
310
  this._insertTag = function(tag) {
451
311
  var before;
452
- if (_this.tags.length === 0) {
453
- if (_this.insertionPoint) {
454
- before = _this.insertionPoint.nextSibling;
455
- } else if (_this.prepend) {
456
- before = _this.container.firstChild;
457
- } else {
458
- before = _this.before;
459
- }
460
- } else {
461
- before = _this.tags[_this.tags.length - 1].nextSibling;
462
- }
463
- _this.container.insertBefore(tag, before);
464
- _this.tags.push(tag);
465
- };
466
- this.isSpeedy = options.speedy === void 0 ? !isDevelopment : options.speedy;
467
- this.tags = [];
468
- this.ctr = 0;
469
- this.nonce = options.nonce;
470
- this.key = options.key;
471
- this.container = options.container;
472
- this.prepend = options.prepend;
473
- this.insertionPoint = options.insertionPoint;
474
- this.before = null;
312
+ _this.tags.length === 0 ? _this.insertionPoint ? before = _this.insertionPoint.nextSibling : _this.prepend ? before = _this.container.firstChild : before = _this.before : before = _this.tags[_this.tags.length - 1].nextSibling, _this.container.insertBefore(tag, before), _this.tags.push(tag);
313
+ }, this.isSpeedy = options.speedy === void 0 ? !isDevelopment : options.speedy, this.tags = [], this.ctr = 0, this.nonce = options.nonce, this.key = options.key, this.container = options.container, this.prepend = options.prepend, this.insertionPoint = options.insertionPoint, this.before = null;
475
314
  }
476
- __name(StyleSheet2, "StyleSheet");
477
315
  var _proto = StyleSheet2.prototype;
478
- _proto.hydrate = /* @__PURE__ */ __name(function hydrate(nodes) {
316
+ return _proto.hydrate = function(nodes) {
479
317
  nodes.forEach(this._insertTag);
480
- }, "hydrate");
481
- _proto.insert = /* @__PURE__ */ __name(function insert(rule) {
482
- if (this.ctr % (this.isSpeedy ? 65e3 : 1) === 0) {
483
- this._insertTag(createStyleElement(this));
484
- }
318
+ }, _proto.insert = function(rule) {
319
+ this.ctr % (this.isSpeedy ? 65e3 : 1) === 0 && this._insertTag(createStyleElement(this));
485
320
  var tag = this.tags[this.tags.length - 1];
486
321
  if (this.isSpeedy) {
487
322
  var sheet = sheetForTag(tag);
488
323
  try {
489
324
  sheet.insertRule(rule, sheet.cssRules.length);
490
- } catch (e) {
325
+ } catch {
491
326
  }
492
- } else {
327
+ } else
493
328
  tag.appendChild(document.createTextNode(rule));
494
- }
495
329
  this.ctr++;
496
- }, "insert");
497
- _proto.flush = /* @__PURE__ */ __name(function flush() {
330
+ }, _proto.flush = function() {
498
331
  this.tags.forEach(function(tag) {
499
332
  var _tag$parentNode;
500
333
  return (_tag$parentNode = tag.parentNode) == null ? void 0 : _tag$parentNode.removeChild(tag);
501
- });
502
- this.tags = [];
503
- this.ctr = 0;
504
- }, "flush");
505
- return StyleSheet2;
506
- }();
334
+ }), this.tags = [], this.ctr = 0;
335
+ }, StyleSheet2;
336
+ })();
507
337
 
508
338
  // ../node_modules/stylis/src/Enum.js
509
- var MS = "-ms-";
510
- var MOZ = "-moz-";
511
- var WEBKIT = "-webkit-";
512
- var COMMENT = "comm";
513
- var RULESET = "rule";
514
- var DECLARATION = "decl";
339
+ var MS = "-ms-", MOZ = "-moz-", WEBKIT = "-webkit-", COMMENT = "comm", RULESET = "rule", DECLARATION = "decl";
515
340
  var IMPORT = "@import";
516
341
  var KEYFRAMES = "@keyframes";
517
342
  var LAYER = "@layer";
518
343
 
519
344
  // ../node_modules/stylis/src/Utility.js
520
- var abs = Math.abs;
521
- var from = String.fromCharCode;
522
- var assign = Object.assign;
345
+ var abs = Math.abs, from = String.fromCharCode, assign = Object.assign;
523
346
  function hash(value, length2) {
524
347
  return charat(value, 0) ^ 45 ? (((length2 << 2 ^ charat(value, 0)) << 2 ^ charat(value, 1)) << 2 ^ charat(value, 2)) << 2 ^ charat(value, 3) : 0;
525
348
  }
526
- __name(hash, "hash");
527
349
  function trim(value) {
528
350
  return value.trim();
529
351
  }
530
- __name(trim, "trim");
531
352
  function match(value, pattern) {
532
353
  return (value = pattern.exec(value)) ? value[0] : value;
533
354
  }
534
- __name(match, "match");
535
355
  function replace(value, pattern, replacement) {
536
356
  return value.replace(pattern, replacement);
537
357
  }
538
- __name(replace, "replace");
539
358
  function indexof(value, search) {
540
359
  return value.indexOf(search);
541
360
  }
542
- __name(indexof, "indexof");
543
361
  function charat(value, index) {
544
362
  return value.charCodeAt(index) | 0;
545
363
  }
546
- __name(charat, "charat");
547
364
  function substr(value, begin, end) {
548
365
  return value.slice(begin, end);
549
366
  }
550
- __name(substr, "substr");
551
367
  function strlen(value) {
552
368
  return value.length;
553
369
  }
554
- __name(strlen, "strlen");
555
370
  function sizeof(value) {
556
371
  return value.length;
557
372
  }
558
- __name(sizeof, "sizeof");
559
373
  function append(value, array) {
560
374
  return array.push(value), value;
561
375
  }
562
- __name(append, "append");
563
376
  function combine(array, callback) {
564
377
  return array.map(callback).join("");
565
378
  }
566
- __name(combine, "combine");
567
379
 
568
380
  // ../node_modules/stylis/src/Tokenizer.js
569
- var line = 1;
570
- var column = 1;
571
- var length = 0;
572
- var position = 0;
573
- var character = 0;
574
- var characters = "";
381
+ var line = 1, column = 1, length = 0, position = 0, character = 0, characters = "";
575
382
  function node(value, root, parent, type, props, children, length2) {
576
383
  return { value, root, parent, type, props, children, line, column, length: length2, return: "" };
577
384
  }
578
- __name(node, "node");
579
385
  function copy(root, props) {
580
386
  return assign(node("", null, null, "", null, null, 0), root, { length: -root.length }, props);
581
387
  }
582
- __name(copy, "copy");
583
388
  function char() {
584
389
  return character;
585
390
  }
586
- __name(char, "char");
587
391
  function prev() {
588
- character = position > 0 ? charat(characters, --position) : 0;
589
- if (column--, character === 10)
590
- column = 1, line--;
591
- return character;
392
+ return character = position > 0 ? charat(characters, --position) : 0, column--, character === 10 && (column = 1, line--), character;
592
393
  }
593
- __name(prev, "prev");
594
394
  function next() {
595
- character = position < length ? charat(characters, position++) : 0;
596
- if (column++, character === 10)
597
- column = 1, line++;
598
- return character;
395
+ return character = position < length ? charat(characters, position++) : 0, column++, character === 10 && (column = 1, line++), character;
599
396
  }
600
- __name(next, "next");
601
397
  function peek() {
602
398
  return charat(characters, position);
603
399
  }
604
- __name(peek, "peek");
605
400
  function caret() {
606
401
  return position;
607
402
  }
608
- __name(caret, "caret");
609
403
  function slice(begin, end) {
610
404
  return substr(characters, begin, end);
611
405
  }
612
- __name(slice, "slice");
613
406
  function token(type) {
614
407
  switch (type) {
615
408
  // \0 \t \n \r \s whitespace token
@@ -648,37 +441,27 @@ function token(type) {
648
441
  }
649
442
  return 0;
650
443
  }
651
- __name(token, "token");
652
444
  function alloc(value) {
653
445
  return line = column = 1, length = strlen(characters = value), position = 0, [];
654
446
  }
655
- __name(alloc, "alloc");
656
447
  function dealloc(value) {
657
448
  return characters = "", value;
658
449
  }
659
- __name(dealloc, "dealloc");
660
450
  function delimit(type) {
661
451
  return trim(slice(position - 1, delimiter(type === 91 ? type + 2 : type === 40 ? type + 1 : type)));
662
452
  }
663
- __name(delimit, "delimit");
664
453
  function whitespace(type) {
665
- while (character = peek())
666
- if (character < 33)
667
- next();
668
- else
669
- break;
454
+ for (; (character = peek()) && character < 33; )
455
+ next();
670
456
  return token(type) > 2 || token(character) > 3 ? "" : " ";
671
457
  }
672
- __name(whitespace, "whitespace");
673
458
  function escaping(index, count) {
674
- while (--count && next())
675
- if (character < 48 || character > 102 || character > 57 && character < 65 || character > 70 && character < 97)
676
- break;
459
+ for (; --count && next() && !(character < 48 || character > 102 || character > 57 && character < 65 || character > 70 && character < 97); )
460
+ ;
677
461
  return slice(index, caret() + (count < 6 && peek() == 32 && next() == 32));
678
462
  }
679
- __name(escaping, "escaping");
680
463
  function delimiter(type) {
681
- while (next())
464
+ for (; next(); )
682
465
  switch (character) {
683
466
  // ] ) " '
684
467
  case type:
@@ -686,13 +469,11 @@ function delimiter(type) {
686
469
  // " '
687
470
  case 34:
688
471
  case 39:
689
- if (type !== 34 && type !== 39)
690
- delimiter(character);
472
+ type !== 34 && type !== 39 && delimiter(character);
691
473
  break;
692
474
  // (
693
475
  case 40:
694
- if (type === 41)
695
- delimiter(type);
476
+ type === 41 && delimiter(type);
696
477
  break;
697
478
  // \
698
479
  case 92:
@@ -701,51 +482,29 @@ function delimiter(type) {
701
482
  }
702
483
  return position;
703
484
  }
704
- __name(delimiter, "delimiter");
705
485
  function commenter(type, index) {
706
- while (next())
707
- if (type + character === 47 + 10)
708
- break;
709
- else if (type + character === 42 + 42 && peek() === 47)
486
+ for (; next() && type + character !== 57; )
487
+ if (type + character === 84 && peek() === 47)
710
488
  break;
711
489
  return "/*" + slice(index, position - 1) + "*" + from(type === 47 ? type : next());
712
490
  }
713
- __name(commenter, "commenter");
714
491
  function identifier(index) {
715
- while (!token(peek()))
492
+ for (; !token(peek()); )
716
493
  next();
717
494
  return slice(index, position);
718
495
  }
719
- __name(identifier, "identifier");
720
496
 
721
497
  // ../node_modules/stylis/src/Parser.js
722
498
  function compile(value) {
723
499
  return dealloc(parse("", null, null, null, [""], value = alloc(value), 0, [0], value));
724
500
  }
725
- __name(compile, "compile");
726
501
  function parse(value, root, parent, rule, rules, rulesets, pseudo, points, declarations) {
727
- var index = 0;
728
- var offset = 0;
729
- var length2 = pseudo;
730
- var atrule = 0;
731
- var property = 0;
732
- var previous = 0;
733
- var variable = 1;
734
- var scanning = 1;
735
- var ampersand = 1;
736
- var character2 = 0;
737
- var type = "";
738
- var props = rules;
739
- var children = rulesets;
740
- var reference = rule;
741
- var characters2 = type;
742
- while (scanning)
502
+ for (var index = 0, offset = 0, length2 = pseudo, atrule = 0, property = 0, previous = 0, variable = 1, scanning = 1, ampersand = 1, character2 = 0, type = "", props = rules, children = rulesets, reference = rule, characters2 = type; scanning; )
743
503
  switch (previous = character2, character2 = next()) {
744
504
  // (
745
505
  case 40:
746
506
  if (previous != 108 && charat(characters2, length2 - 1) == 58) {
747
- if (indexof(characters2 += replace(delimit(character2), "&", "&\f"), "&\f") != -1)
748
- ampersand = -1;
507
+ indexof(characters2 += replace(delimit(character2), "&", "&\f"), "&\f") != -1 && (ampersand = -1);
749
508
  break;
750
509
  }
751
510
  // " ' [
@@ -790,17 +549,14 @@ function parse(value, root, parent, rule, rules, rulesets, pseudo, points, decla
790
549
  scanning = 0;
791
550
  // ;
792
551
  case 59 + offset:
793
- if (ampersand == -1) characters2 = replace(characters2, /\f/g, "");
794
- if (property > 0 && strlen(characters2) - length2)
795
- append(property > 32 ? declaration(characters2 + ";", rule, parent, length2 - 1) : declaration(replace(characters2, " ", "") + ";", rule, parent, length2 - 2), declarations);
552
+ ampersand == -1 && (characters2 = replace(characters2, /\f/g, "")), property > 0 && strlen(characters2) - length2 && append(property > 32 ? declaration(characters2 + ";", rule, parent, length2 - 1) : declaration(replace(characters2, " ", "") + ";", rule, parent, length2 - 2), declarations);
796
553
  break;
797
554
  // @ ;
798
555
  case 59:
799
556
  characters2 += ";";
800
557
  // { rule/at-rule
801
558
  default:
802
- append(reference = ruleset(characters2, root, parent, index, offset, rules, points, type, props = [], children = [], length2), rulesets);
803
- if (character2 === 123)
559
+ if (append(reference = ruleset(characters2, root, parent, index, offset, rules, points, type, props = [], children = [], length2), rulesets), character2 === 123)
804
560
  if (offset === 0)
805
561
  parse(characters2, root, reference, reference, props, rulesets, length2, points, children);
806
562
  else
@@ -839,48 +595,34 @@ function parse(value, root, parent, rule, rules, rulesets, pseudo, points, decla
839
595
  break;
840
596
  // @
841
597
  case 64:
842
- if (peek() === 45)
843
- characters2 += delimit(next());
844
- atrule = peek(), offset = length2 = strlen(type = characters2 += identifier(caret())), character2++;
598
+ peek() === 45 && (characters2 += delimit(next())), atrule = peek(), offset = length2 = strlen(type = characters2 += identifier(caret())), character2++;
845
599
  break;
846
600
  // -
847
601
  case 45:
848
- if (previous === 45 && strlen(characters2) == 2)
849
- variable = 0;
602
+ previous === 45 && strlen(characters2) == 2 && (variable = 0);
850
603
  }
851
604
  }
852
605
  return rulesets;
853
606
  }
854
- __name(parse, "parse");
855
607
  function ruleset(value, root, parent, index, offset, rules, points, type, props, children, length2) {
856
- var post = offset - 1;
857
- var rule = offset === 0 ? rules : [""];
858
- var size = sizeof(rule);
859
- for (var i = 0, j = 0, k = 0; i < index; ++i)
608
+ for (var post = offset - 1, rule = offset === 0 ? rules : [""], size = sizeof(rule), i = 0, j = 0, k = 0; i < index; ++i)
860
609
  for (var x = 0, y = substr(value, post + 1, post = abs(j = points[i])), z = value; x < size; ++x)
861
- if (z = trim(j > 0 ? rule[x] + " " + y : replace(y, /&\f/g, rule[x])))
862
- props[k++] = z;
610
+ (z = trim(j > 0 ? rule[x] + " " + y : replace(y, /&\f/g, rule[x]))) && (props[k++] = z);
863
611
  return node(value, root, parent, offset === 0 ? RULESET : type, props, children, length2);
864
612
  }
865
- __name(ruleset, "ruleset");
866
613
  function comment(value, root, parent) {
867
614
  return node(value, root, parent, COMMENT, from(char()), substr(value, 2, -2), 0);
868
615
  }
869
- __name(comment, "comment");
870
616
  function declaration(value, root, parent, length2) {
871
617
  return node(value, root, parent, DECLARATION, substr(value, 0, length2), substr(value, length2 + 1, -1), length2);
872
618
  }
873
- __name(declaration, "declaration");
874
619
 
875
620
  // ../node_modules/stylis/src/Serializer.js
876
621
  function serialize(children, callback) {
877
- var output = "";
878
- var length2 = sizeof(children);
879
- for (var i = 0; i < length2; i++)
622
+ for (var output = "", length2 = sizeof(children), i = 0; i < length2; i++)
880
623
  output += callback(children[i], i, children, callback) || "";
881
624
  return output;
882
625
  }
883
- __name(serialize, "serialize");
884
626
  function stringify(element, index, children, callback) {
885
627
  switch (element.type) {
886
628
  case LAYER:
@@ -897,142 +639,90 @@ function stringify(element, index, children, callback) {
897
639
  }
898
640
  return strlen(children = serialize(element.children, callback)) ? element.return = element.value + "{" + children + "}" : "";
899
641
  }
900
- __name(stringify, "stringify");
901
642
 
902
643
  // ../node_modules/stylis/src/Middleware.js
903
644
  function middleware(collection) {
904
645
  var length2 = sizeof(collection);
905
646
  return function(element, index, children, callback) {
906
- var output = "";
907
- for (var i = 0; i < length2; i++)
647
+ for (var output = "", i = 0; i < length2; i++)
908
648
  output += collection[i](element, index, children, callback) || "";
909
649
  return output;
910
650
  };
911
651
  }
912
- __name(middleware, "middleware");
913
652
  function rulesheet(callback) {
914
653
  return function(element) {
915
- if (!element.root) {
916
- if (element = element.return)
917
- callback(element);
918
- }
654
+ element.root || (element = element.return) && callback(element);
919
655
  };
920
656
  }
921
- __name(rulesheet, "rulesheet");
922
657
 
923
658
  // ../node_modules/@emotion/weak-memoize/dist/emotion-weak-memoize.esm.js
924
- var weakMemoize = /* @__PURE__ */ __name(function weakMemoize2(func) {
659
+ var weakMemoize = function(func) {
925
660
  var cache = /* @__PURE__ */ new WeakMap();
926
661
  return function(arg) {
927
- if (cache.has(arg)) {
662
+ if (cache.has(arg))
928
663
  return cache.get(arg);
929
- }
930
664
  var ret = func(arg);
931
- cache.set(arg, ret);
932
- return ret;
665
+ return cache.set(arg, ret), ret;
933
666
  };
934
- }, "weakMemoize");
667
+ };
935
668
 
936
669
  // ../node_modules/@emotion/memoize/dist/emotion-memoize.esm.js
937
670
  function memoize(fn) {
938
671
  var cache = /* @__PURE__ */ Object.create(null);
939
672
  return function(arg) {
940
- if (cache[arg] === void 0) cache[arg] = fn(arg);
941
- return cache[arg];
673
+ return cache[arg] === void 0 && (cache[arg] = fn(arg)), cache[arg];
942
674
  };
943
675
  }
944
- __name(memoize, "memoize");
945
676
 
946
677
  // ../node_modules/@emotion/cache/dist/emotion-cache.browser.esm.js
947
- var identifierWithPointTracking = /* @__PURE__ */ __name(function identifierWithPointTracking2(begin, points, index) {
948
- var previous = 0;
949
- var character2 = 0;
950
- while (true) {
951
- previous = character2;
952
- character2 = peek();
953
- if (previous === 38 && character2 === 12) {
954
- points[index] = 1;
955
- }
956
- if (token(character2)) {
957
- break;
958
- }
678
+ var identifierWithPointTracking = function(begin, points, index) {
679
+ for (var previous = 0, character2 = 0; previous = character2, character2 = peek(), previous === 38 && character2 === 12 && (points[index] = 1), !token(character2); )
959
680
  next();
960
- }
961
681
  return slice(begin, position);
962
- }, "identifierWithPointTracking");
963
- var toRules = /* @__PURE__ */ __name(function toRules2(parsed, points) {
964
- var index = -1;
965
- var character2 = 44;
966
- do {
682
+ }, toRules = function(parsed, points) {
683
+ var index = -1, character2 = 44;
684
+ do
967
685
  switch (token(character2)) {
968
686
  case 0:
969
- if (character2 === 38 && peek() === 12) {
970
- points[index] = 1;
971
- }
972
- parsed[index] += identifierWithPointTracking(position - 1, points, index);
687
+ character2 === 38 && peek() === 12 && (points[index] = 1), parsed[index] += identifierWithPointTracking(position - 1, points, index);
973
688
  break;
974
689
  case 2:
975
690
  parsed[index] += delimit(character2);
976
691
  break;
977
692
  case 4:
978
693
  if (character2 === 44) {
979
- parsed[++index] = peek() === 58 ? "&\f" : "";
980
- points[index] = parsed[index].length;
694
+ parsed[++index] = peek() === 58 ? "&\f" : "", points[index] = parsed[index].length;
981
695
  break;
982
696
  }
983
697
  // fallthrough
984
698
  default:
985
699
  parsed[index] += from(character2);
986
700
  }
987
- } while (character2 = next());
701
+ while (character2 = next());
988
702
  return parsed;
989
- }, "toRules");
990
- var getRules = /* @__PURE__ */ __name(function getRules2(value, points) {
703
+ }, getRules = function(value, points) {
991
704
  return dealloc(toRules(alloc(value), points));
992
- }, "getRules");
993
- var fixedElements = /* @__PURE__ */ new WeakMap();
994
- var compat = /* @__PURE__ */ __name(function compat2(element) {
995
- if (element.type !== "rule" || !element.parent || // positive .length indicates that this rule contains pseudo
705
+ }, fixedElements = /* @__PURE__ */ new WeakMap(), compat = function(element) {
706
+ if (!(element.type !== "rule" || !element.parent || // positive .length indicates that this rule contains pseudo
996
707
  // negative .length indicates that this rule has been already prefixed
997
- element.length < 1) {
998
- return;
999
- }
1000
- var value = element.value;
1001
- var parent = element.parent;
1002
- var isImplicitRule = element.column === parent.column && element.line === parent.line;
1003
- while (parent.type !== "rule") {
1004
- parent = parent.parent;
1005
- if (!parent) return;
1006
- }
1007
- if (element.props.length === 1 && value.charCodeAt(0) !== 58 && !fixedElements.get(parent)) {
1008
- return;
1009
- }
1010
- if (isImplicitRule) {
1011
- return;
1012
- }
1013
- fixedElements.set(element, true);
1014
- var points = [];
1015
- var rules = getRules(value, points);
1016
- var parentRules = parent.props;
1017
- for (var i = 0, k = 0; i < rules.length; i++) {
1018
- for (var j = 0; j < parentRules.length; j++, k++) {
1019
- element.props[k] = points[i] ? rules[i].replace(/&\f/g, parentRules[j]) : parentRules[j] + " " + rules[i];
708
+ element.length < 1)) {
709
+ for (var value = element.value, parent = element.parent, isImplicitRule = element.column === parent.column && element.line === parent.line; parent.type !== "rule"; )
710
+ if (parent = parent.parent, !parent) return;
711
+ if (!(element.props.length === 1 && value.charCodeAt(0) !== 58 && !fixedElements.get(parent)) && !isImplicitRule) {
712
+ fixedElements.set(element, !0);
713
+ for (var points = [], rules = getRules(value, points), parentRules = parent.props, i = 0, k = 0; i < rules.length; i++)
714
+ for (var j = 0; j < parentRules.length; j++, k++)
715
+ element.props[k] = points[i] ? rules[i].replace(/&\f/g, parentRules[j]) : parentRules[j] + " " + rules[i];
1020
716
  }
1021
717
  }
1022
- }, "compat");
1023
- var removeLabel = /* @__PURE__ */ __name(function removeLabel2(element) {
718
+ }, removeLabel = function(element) {
1024
719
  if (element.type === "decl") {
1025
720
  var value = element.value;
1026
- if (
1027
- // charcode for l
1028
- value.charCodeAt(0) === 108 && // charcode for b
1029
- value.charCodeAt(2) === 98
1030
- ) {
1031
- element["return"] = "";
1032
- element.value = "";
1033
- }
721
+ // charcode for l
722
+ value.charCodeAt(0) === 108 && // charcode for b
723
+ value.charCodeAt(2) === 98 && (element.return = "", element.value = "");
1034
724
  }
1035
- }, "removeLabel");
725
+ };
1036
726
  function prefix2(value, length2) {
1037
727
  switch (hash(value, length2)) {
1038
728
  // color-adjust
@@ -1175,92 +865,67 @@ function prefix2(value, length2) {
1175
865
  }
1176
866
  return value;
1177
867
  }
1178
- __name(prefix2, "prefix");
1179
- var prefixer = /* @__PURE__ */ __name(function prefixer2(element, index, children, callback) {
1180
- if (element.length > -1) {
1181
- if (!element["return"]) switch (element.type) {
1182
- case DECLARATION:
1183
- element["return"] = prefix2(element.value, element.length);
1184
- break;
1185
- case KEYFRAMES:
1186
- return serialize([copy(element, {
1187
- value: replace(element.value, "@", "@" + WEBKIT)
1188
- })], callback);
1189
- case RULESET:
1190
- if (element.length) return combine(element.props, function(value) {
1191
- switch (match(value, /(::plac\w+|:read-\w+)/)) {
1192
- // :read-(only|write)
1193
- case ":read-only":
1194
- case ":read-write":
1195
- return serialize([copy(element, {
1196
- props: [replace(value, /:(read-\w+)/, ":" + MOZ + "$1")]
1197
- })], callback);
1198
- // :placeholder
1199
- case "::placeholder":
1200
- return serialize([copy(element, {
1201
- props: [replace(value, /:(plac\w+)/, ":" + WEBKIT + "input-$1")]
1202
- }), copy(element, {
1203
- props: [replace(value, /:(plac\w+)/, ":" + MOZ + "$1")]
1204
- }), copy(element, {
1205
- props: [replace(value, /:(plac\w+)/, MS + "input-$1")]
1206
- })], callback);
1207
- }
1208
- return "";
1209
- });
1210
- }
868
+ var prefixer = function(element, index, children, callback) {
869
+ if (element.length > -1 && !element.return) switch (element.type) {
870
+ case DECLARATION:
871
+ element.return = prefix2(element.value, element.length);
872
+ break;
873
+ case KEYFRAMES:
874
+ return serialize([copy(element, {
875
+ value: replace(element.value, "@", "@" + WEBKIT)
876
+ })], callback);
877
+ case RULESET:
878
+ if (element.length) return combine(element.props, function(value) {
879
+ switch (match(value, /(::plac\w+|:read-\w+)/)) {
880
+ // :read-(only|write)
881
+ case ":read-only":
882
+ case ":read-write":
883
+ return serialize([copy(element, {
884
+ props: [replace(value, /:(read-\w+)/, ":" + MOZ + "$1")]
885
+ })], callback);
886
+ // :placeholder
887
+ case "::placeholder":
888
+ return serialize([copy(element, {
889
+ props: [replace(value, /:(plac\w+)/, ":" + WEBKIT + "input-$1")]
890
+ }), copy(element, {
891
+ props: [replace(value, /:(plac\w+)/, ":" + MOZ + "$1")]
892
+ }), copy(element, {
893
+ props: [replace(value, /:(plac\w+)/, MS + "input-$1")]
894
+ })], callback);
895
+ }
896
+ return "";
897
+ });
1211
898
  }
1212
- }, "prefixer");
1213
- var defaultStylisPlugins = [prefixer];
1214
- var createCache = /* @__PURE__ */ __name(function createCache2(options) {
899
+ }, defaultStylisPlugins = [prefixer], createCache = function(options) {
1215
900
  var key = options.key;
1216
901
  if (key === "css") {
1217
902
  var ssrStyles = document.querySelectorAll("style[data-emotion]:not([data-s])");
1218
903
  Array.prototype.forEach.call(ssrStyles, function(node2) {
1219
904
  var dataEmotionAttribute = node2.getAttribute("data-emotion");
1220
- if (dataEmotionAttribute.indexOf(" ") === -1) {
1221
- return;
1222
- }
1223
- document.head.appendChild(node2);
1224
- node2.setAttribute("data-s", "");
905
+ dataEmotionAttribute.indexOf(" ") !== -1 && (document.head.appendChild(node2), node2.setAttribute("data-s", ""));
1225
906
  });
1226
907
  }
1227
- var stylisPlugins = options.stylisPlugins || defaultStylisPlugins;
1228
- var inserted = {};
1229
- var container;
1230
- var nodesToHydrate = [];
1231
- {
1232
- container = options.container || document.head;
1233
- Array.prototype.forEach.call(
1234
- // this means we will ignore elements which don't have a space in them which
1235
- // means that the style elements we're looking at are only Emotion 11 server-rendered style elements
1236
- document.querySelectorAll('style[data-emotion^="' + key + ' "]'),
1237
- function(node2) {
1238
- var attrib = node2.getAttribute("data-emotion").split(" ");
1239
- for (var i = 1; i < attrib.length; i++) {
1240
- inserted[attrib[i]] = true;
1241
- }
1242
- nodesToHydrate.push(node2);
1243
- }
1244
- );
1245
- }
1246
- var _insert;
1247
- var omnipresentPlugins = [compat, removeLabel];
908
+ var stylisPlugins = options.stylisPlugins || defaultStylisPlugins, inserted = {}, container, nodesToHydrate = [];
909
+ container = options.container || document.head, Array.prototype.forEach.call(
910
+ // this means we will ignore elements which don't have a space in them which
911
+ // means that the style elements we're looking at are only Emotion 11 server-rendered style elements
912
+ document.querySelectorAll('style[data-emotion^="' + key + ' "]'),
913
+ function(node2) {
914
+ for (var attrib = node2.getAttribute("data-emotion").split(" "), i = 1; i < attrib.length; i++)
915
+ inserted[attrib[i]] = !0;
916
+ nodesToHydrate.push(node2);
917
+ }
918
+ );
919
+ var _insert, omnipresentPlugins = [compat, removeLabel];
1248
920
  {
1249
- var currentSheet;
1250
- var finalizingPlugins = [stringify, rulesheet(function(rule) {
921
+ var currentSheet, finalizingPlugins = [stringify, rulesheet(function(rule) {
1251
922
  currentSheet.insert(rule);
1252
- })];
1253
- var serializer = middleware(omnipresentPlugins.concat(stylisPlugins, finalizingPlugins));
1254
- var stylis = /* @__PURE__ */ __name(function stylis2(styles) {
923
+ })], serializer = middleware(omnipresentPlugins.concat(stylisPlugins, finalizingPlugins)), stylis = function(styles) {
1255
924
  return serialize(compile(styles), serializer);
1256
- }, "stylis");
1257
- _insert = /* @__PURE__ */ __name(function insert(selector, serialized, sheet, shouldCache) {
1258
- currentSheet = sheet;
1259
- stylis(selector ? selector + "{" + serialized.styles + "}" : serialized.styles);
1260
- if (shouldCache) {
1261
- cache.inserted[serialized.name] = true;
1262
- }
1263
- }, "insert");
925
+ };
926
+ _insert = function(selector, serialized, sheet, shouldCache) {
927
+ currentSheet = sheet, stylis(selector ? selector + "{" + serialized.styles + "}" : serialized.styles), shouldCache && (cache.inserted[serialized.name] = !0);
928
+ };
1264
929
  }
1265
930
  var cache = {
1266
931
  key,
@@ -1277,89 +942,65 @@ var createCache = /* @__PURE__ */ __name(function createCache2(options) {
1277
942
  registered: {},
1278
943
  insert: _insert
1279
944
  };
1280
- cache.sheet.hydrate(nodesToHydrate);
1281
- return cache;
1282
- }, "createCache");
945
+ return cache.sheet.hydrate(nodesToHydrate), cache;
946
+ };
1283
947
 
1284
948
  // ../node_modules/@emotion/react/_isolated-hnrs/dist/emotion-react-_isolated-hnrs.browser.esm.js
1285
- var import_hoist_non_react_statics = __toESM(require_hoist_non_react_statics_cjs());
1286
- var hoistNonReactStatics = /* @__PURE__ */ __name(function(targetComponent, sourceComponent) {
949
+ var import_hoist_non_react_statics = __toESM(require_hoist_non_react_statics_cjs()), hoistNonReactStatics = (function(targetComponent, sourceComponent) {
1287
950
  return (0, import_hoist_non_react_statics.default)(targetComponent, sourceComponent);
1288
- }, "hoistNonReactStatics");
951
+ });
1289
952
 
1290
953
  // ../node_modules/@emotion/utils/dist/emotion-utils.browser.esm.js
1291
- var isBrowser = true;
954
+ var isBrowser = !0;
1292
955
  function getRegisteredStyles(registered, registeredStyles, classNames) {
1293
956
  var rawClassName = "";
1294
- classNames.split(" ").forEach(function(className) {
1295
- if (registered[className] !== void 0) {
1296
- registeredStyles.push(registered[className] + ";");
1297
- } else if (className) {
1298
- rawClassName += className + " ";
1299
- }
1300
- });
1301
- return rawClassName;
957
+ return classNames.split(" ").forEach(function(className) {
958
+ registered[className] !== void 0 ? registeredStyles.push(registered[className] + ";") : className && (rawClassName += className + " ");
959
+ }), rawClassName;
1302
960
  }
1303
- __name(getRegisteredStyles, "getRegisteredStyles");
1304
- var registerStyles = /* @__PURE__ */ __name(function registerStyles2(cache, serialized, isStringTag) {
961
+ var registerStyles = function(cache, serialized, isStringTag) {
1305
962
  var className = cache.key + "-" + serialized.name;
1306
- if (
1307
- // we only need to add the styles to the registered cache if the
1308
- // class name could be used further down
1309
- // the tree but if it's a string tag, we know it won't
1310
- // so we don't have to add it to registered cache.
1311
- // this improves memory usage since we can avoid storing the whole style string
1312
- (isStringTag === false || // we need to always store it if we're in compat mode and
1313
- // in node since emotion-server relies on whether a style is in
1314
- // the registered cache to know whether a style is global or not
1315
- // also, note that this check will be dead code eliminated in the browser
1316
- isBrowser === false) && cache.registered[className] === void 0
1317
- ) {
1318
- cache.registered[className] = serialized.styles;
1319
- }
1320
- }, "registerStyles");
1321
- var insertStyles = /* @__PURE__ */ __name(function insertStyles2(cache, serialized, isStringTag) {
963
+ // we only need to add the styles to the registered cache if the
964
+ // class name could be used further down
965
+ // the tree but if it's a string tag, we know it won't
966
+ // so we don't have to add it to registered cache.
967
+ // this improves memory usage since we can avoid storing the whole style string
968
+ (isStringTag === !1 || // we need to always store it if we're in compat mode and
969
+ // in node since emotion-server relies on whether a style is in
970
+ // the registered cache to know whether a style is global or not
971
+ // also, note that this check will be dead code eliminated in the browser
972
+ isBrowser === !1) && cache.registered[className] === void 0 && (cache.registered[className] = serialized.styles);
973
+ }, insertStyles = function(cache, serialized, isStringTag) {
1322
974
  registerStyles(cache, serialized, isStringTag);
1323
975
  var className = cache.key + "-" + serialized.name;
1324
976
  if (cache.inserted[serialized.name] === void 0) {
1325
977
  var current = serialized;
1326
- do {
1327
- cache.insert(serialized === current ? "." + className : "", current, cache.sheet, true);
1328
- current = current.next;
1329
- } while (current !== void 0);
978
+ do
979
+ cache.insert(serialized === current ? "." + className : "", current, cache.sheet, !0), current = current.next;
980
+ while (current !== void 0);
1330
981
  }
1331
- }, "insertStyles");
982
+ };
1332
983
 
1333
984
  // ../node_modules/@emotion/hash/dist/emotion-hash.esm.js
1334
985
  function murmur2(str) {
1335
- var h = 0;
1336
- var k, i = 0, len = str.length;
1337
- for (; len >= 4; ++i, len -= 4) {
1338
- k = str.charCodeAt(i) & 255 | (str.charCodeAt(++i) & 255) << 8 | (str.charCodeAt(++i) & 255) << 16 | (str.charCodeAt(++i) & 255) << 24;
1339
- k = /* Math.imul(k, m): */
1340
- (k & 65535) * 1540483477 + ((k >>> 16) * 59797 << 16);
1341
- k ^= /* k >>> r: */
1342
- k >>> 24;
1343
- h = /* Math.imul(k, m): */
986
+ for (var h = 0, k, i = 0, len = str.length; len >= 4; ++i, len -= 4)
987
+ k = str.charCodeAt(i) & 255 | (str.charCodeAt(++i) & 255) << 8 | (str.charCodeAt(++i) & 255) << 16 | (str.charCodeAt(++i) & 255) << 24, k = /* Math.imul(k, m): */
988
+ (k & 65535) * 1540483477 + ((k >>> 16) * 59797 << 16), k ^= /* k >>> r: */
989
+ k >>> 24, h = /* Math.imul(k, m): */
1344
990
  (k & 65535) * 1540483477 + ((k >>> 16) * 59797 << 16) ^ /* Math.imul(h, m): */
1345
991
  (h & 65535) * 1540483477 + ((h >>> 16) * 59797 << 16);
1346
- }
1347
992
  switch (len) {
1348
993
  case 3:
1349
994
  h ^= (str.charCodeAt(i + 2) & 255) << 16;
1350
995
  case 2:
1351
996
  h ^= (str.charCodeAt(i + 1) & 255) << 8;
1352
997
  case 1:
1353
- h ^= str.charCodeAt(i) & 255;
1354
- h = /* Math.imul(h, m): */
998
+ h ^= str.charCodeAt(i) & 255, h = /* Math.imul(h, m): */
1355
999
  (h & 65535) * 1540483477 + ((h >>> 16) * 59797 << 16);
1356
1000
  }
1357
- h ^= h >>> 13;
1358
- h = /* Math.imul(h, m): */
1359
- (h & 65535) * 1540483477 + ((h >>> 16) * 59797 << 16);
1360
- return ((h ^ h >>> 15) >>> 0).toString(36);
1001
+ return h ^= h >>> 13, h = /* Math.imul(h, m): */
1002
+ (h & 65535) * 1540483477 + ((h >>> 16) * 59797 << 16), ((h ^ h >>> 15) >>> 0).toString(36);
1361
1003
  }
1362
- __name(murmur2, "murmur2");
1363
1004
 
1364
1005
  // ../node_modules/@emotion/unitless/dist/emotion-unitless.esm.js
1365
1006
  var unitlessKeys = {
@@ -1414,75 +1055,54 @@ var unitlessKeys = {
1414
1055
  };
1415
1056
 
1416
1057
  // ../node_modules/@emotion/serialize/dist/emotion-serialize.esm.js
1417
- var isDevelopment2 = false;
1418
- var hyphenateRegex = /[A-Z]|^ms/g;
1419
- var animationRegex = /_EMO_([^_]+?)_([^]*?)_EMO_/g;
1420
- var isCustomProperty = /* @__PURE__ */ __name(function isCustomProperty2(property) {
1058
+ var isDevelopment2 = !1, hyphenateRegex = /[A-Z]|^ms/g, animationRegex = /_EMO_([^_]+?)_([^]*?)_EMO_/g, isCustomProperty = function(property) {
1421
1059
  return property.charCodeAt(1) === 45;
1422
- }, "isCustomProperty");
1423
- var isProcessableValue = /* @__PURE__ */ __name(function isProcessableValue2(value) {
1424
- return value != null && typeof value !== "boolean";
1425
- }, "isProcessableValue");
1426
- var processStyleName = memoize(function(styleName) {
1060
+ }, isProcessableValue = function(value) {
1061
+ return value != null && typeof value != "boolean";
1062
+ }, processStyleName = memoize(function(styleName) {
1427
1063
  return isCustomProperty(styleName) ? styleName : styleName.replace(hyphenateRegex, "-$&").toLowerCase();
1428
- });
1429
- var processStyleValue = /* @__PURE__ */ __name(function processStyleValue2(key, value) {
1064
+ }), processStyleValue = function(key, value) {
1430
1065
  switch (key) {
1431
1066
  case "animation":
1432
- case "animationName": {
1433
- if (typeof value === "string") {
1067
+ case "animationName":
1068
+ if (typeof value == "string")
1434
1069
  return value.replace(animationRegex, function(match2, p1, p2) {
1435
- cursor = {
1070
+ return cursor = {
1436
1071
  name: p1,
1437
1072
  styles: p2,
1438
1073
  next: cursor
1439
- };
1440
- return p1;
1074
+ }, p1;
1441
1075
  });
1442
- }
1443
- }
1444
- }
1445
- if (unitlessKeys[key] !== 1 && !isCustomProperty(key) && typeof value === "number" && value !== 0) {
1446
- return value + "px";
1447
1076
  }
1448
- return value;
1449
- }, "processStyleValue");
1450
- var noComponentSelectorMessage = "Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";
1077
+ return unitlessKeys[key] !== 1 && !isCustomProperty(key) && typeof value == "number" && value !== 0 ? value + "px" : value;
1078
+ }, noComponentSelectorMessage = "Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";
1451
1079
  function handleInterpolation(mergedProps, registered, interpolation) {
1452
- if (interpolation == null) {
1080
+ if (interpolation == null)
1453
1081
  return "";
1454
- }
1455
1082
  var componentSelector = interpolation;
1456
- if (componentSelector.__emotion_styles !== void 0) {
1083
+ if (componentSelector.__emotion_styles !== void 0)
1457
1084
  return componentSelector;
1458
- }
1459
1085
  switch (typeof interpolation) {
1460
- case "boolean": {
1086
+ case "boolean":
1461
1087
  return "";
1462
- }
1463
1088
  case "object": {
1464
1089
  var keyframes2 = interpolation;
1465
- if (keyframes2.anim === 1) {
1466
- cursor = {
1090
+ if (keyframes2.anim === 1)
1091
+ return cursor = {
1467
1092
  name: keyframes2.name,
1468
1093
  styles: keyframes2.styles,
1469
1094
  next: cursor
1470
- };
1471
- return keyframes2.name;
1472
- }
1095
+ }, keyframes2.name;
1473
1096
  var serializedStyles = interpolation;
1474
1097
  if (serializedStyles.styles !== void 0) {
1475
1098
  var next2 = serializedStyles.next;
1476
- if (next2 !== void 0) {
1477
- while (next2 !== void 0) {
1099
+ if (next2 !== void 0)
1100
+ for (; next2 !== void 0; )
1478
1101
  cursor = {
1479
1102
  name: next2.name,
1480
1103
  styles: next2.styles,
1481
1104
  next: cursor
1482
- };
1483
- next2 = next2.next;
1484
- }
1485
- }
1105
+ }, next2 = next2.next;
1486
1106
  var styles = serializedStyles.styles + ";";
1487
1107
  return styles;
1488
1108
  }
@@ -1490,49 +1110,36 @@ function handleInterpolation(mergedProps, registered, interpolation) {
1490
1110
  }
1491
1111
  case "function": {
1492
1112
  if (mergedProps !== void 0) {
1493
- var previousCursor = cursor;
1494
- var result = interpolation(mergedProps);
1495
- cursor = previousCursor;
1496
- return handleInterpolation(mergedProps, registered, result);
1113
+ var previousCursor = cursor, result = interpolation(mergedProps);
1114
+ return cursor = previousCursor, handleInterpolation(mergedProps, registered, result);
1497
1115
  }
1498
1116
  break;
1499
1117
  }
1500
1118
  }
1501
1119
  var asString = interpolation;
1502
- if (registered == null) {
1120
+ if (registered == null)
1503
1121
  return asString;
1504
- }
1505
1122
  var cached = registered[asString];
1506
1123
  return cached !== void 0 ? cached : asString;
1507
1124
  }
1508
- __name(handleInterpolation, "handleInterpolation");
1509
1125
  function createStringFromObject(mergedProps, registered, obj) {
1510
1126
  var string = "";
1511
- if (Array.isArray(obj)) {
1512
- for (var i = 0; i < obj.length; i++) {
1127
+ if (Array.isArray(obj))
1128
+ for (var i = 0; i < obj.length; i++)
1513
1129
  string += handleInterpolation(mergedProps, registered, obj[i]) + ";";
1514
- }
1515
- } else {
1130
+ else
1516
1131
  for (var key in obj) {
1517
1132
  var value = obj[key];
1518
- if (typeof value !== "object") {
1133
+ if (typeof value != "object") {
1519
1134
  var asString = value;
1520
- if (registered != null && registered[asString] !== void 0) {
1521
- string += key + "{" + registered[asString] + "}";
1522
- } else if (isProcessableValue(asString)) {
1523
- string += processStyleName(key) + ":" + processStyleValue(key, asString) + ";";
1524
- }
1135
+ registered != null && registered[asString] !== void 0 ? string += key + "{" + registered[asString] + "}" : isProcessableValue(asString) && (string += processStyleName(key) + ":" + processStyleValue(key, asString) + ";");
1525
1136
  } else {
1526
- if (key === "NO_COMPONENT_SELECTOR" && isDevelopment2) {
1137
+ if (key === "NO_COMPONENT_SELECTOR" && isDevelopment2)
1527
1138
  throw new Error(noComponentSelectorMessage);
1528
- }
1529
- if (Array.isArray(value) && typeof value[0] === "string" && (registered == null || registered[value[0]] === void 0)) {
1530
- for (var _i = 0; _i < value.length; _i++) {
1531
- if (isProcessableValue(value[_i])) {
1532
- string += processStyleName(key) + ":" + processStyleValue(key, value[_i]) + ";";
1533
- }
1534
- }
1535
- } else {
1139
+ if (Array.isArray(value) && typeof value[0] == "string" && (registered == null || registered[value[0]] === void 0))
1140
+ for (var _i = 0; _i < value.length; _i++)
1141
+ isProcessableValue(value[_i]) && (string += processStyleName(key) + ":" + processStyleValue(key, value[_i]) + ";");
1142
+ else {
1536
1143
  var interpolated = handleInterpolation(mergedProps, registered, value);
1537
1144
  switch (key) {
1538
1145
  case "animation":
@@ -1540,47 +1147,35 @@ function createStringFromObject(mergedProps, registered, obj) {
1540
1147
  string += processStyleName(key) + ":" + interpolated + ";";
1541
1148
  break;
1542
1149
  }
1543
- default: {
1150
+ default:
1544
1151
  string += key + "{" + interpolated + "}";
1545
- }
1546
1152
  }
1547
1153
  }
1548
1154
  }
1549
1155
  }
1550
- }
1551
1156
  return string;
1552
1157
  }
1553
- __name(createStringFromObject, "createStringFromObject");
1554
- var labelPattern = /label:\s*([^\s;{]+)\s*(;|$)/g;
1555
- var cursor;
1158
+ var labelPattern = /label:\s*([^\s;{]+)\s*(;|$)/g, cursor;
1556
1159
  function serializeStyles(args, registered, mergedProps) {
1557
- if (args.length === 1 && typeof args[0] === "object" && args[0] !== null && args[0].styles !== void 0) {
1160
+ if (args.length === 1 && typeof args[0] == "object" && args[0] !== null && args[0].styles !== void 0)
1558
1161
  return args[0];
1559
- }
1560
- var stringMode = true;
1561
- var styles = "";
1162
+ var stringMode = !0, styles = "";
1562
1163
  cursor = void 0;
1563
1164
  var strings = args[0];
1564
- if (strings == null || strings.raw === void 0) {
1565
- stringMode = false;
1566
- styles += handleInterpolation(mergedProps, registered, strings);
1567
- } else {
1165
+ if (strings == null || strings.raw === void 0)
1166
+ stringMode = !1, styles += handleInterpolation(mergedProps, registered, strings);
1167
+ else {
1568
1168
  var asTemplateStringsArr = strings;
1569
1169
  styles += asTemplateStringsArr[0];
1570
1170
  }
1571
- for (var i = 1; i < args.length; i++) {
1572
- styles += handleInterpolation(mergedProps, registered, args[i]);
1573
- if (stringMode) {
1171
+ for (var i = 1; i < args.length; i++)
1172
+ if (styles += handleInterpolation(mergedProps, registered, args[i]), stringMode) {
1574
1173
  var templateStringsArr = strings;
1575
1174
  styles += templateStringsArr[i];
1576
1175
  }
1577
- }
1578
1176
  labelPattern.lastIndex = 0;
1579
- var identifierName = "";
1580
- var match2;
1581
- while ((match2 = labelPattern.exec(styles)) !== null) {
1177
+ for (var identifierName = "", match2; (match2 = labelPattern.exec(styles)) !== null; )
1582
1178
  identifierName += "-" + match2[1];
1583
- }
1584
1179
  var name = murmur2(styles) + identifierName;
1585
1180
  return {
1586
1181
  name,
@@ -1588,302 +1183,198 @@ function serializeStyles(args, registered, mergedProps) {
1588
1183
  next: cursor
1589
1184
  };
1590
1185
  }
1591
- __name(serializeStyles, "serializeStyles");
1592
1186
 
1593
1187
  // ../node_modules/@emotion/use-insertion-effect-with-fallbacks/dist/emotion-use-insertion-effect-with-fallbacks.browser.esm.js
1594
1188
  import * as React from "react";
1595
- var syncFallback = /* @__PURE__ */ __name(function syncFallback2(create3) {
1189
+ var syncFallback = function(create3) {
1596
1190
  return create3();
1597
- }, "syncFallback");
1598
- var useInsertionEffect2 = React["useInsertionEffect"] ? React["useInsertionEffect"] : false;
1599
- var useInsertionEffectAlwaysWithSyncFallback = useInsertionEffect2 || syncFallback;
1600
- var useInsertionEffectWithLayoutFallback = useInsertionEffect2 || React.useLayoutEffect;
1191
+ }, useInsertionEffect2 = React.useInsertionEffect ? React.useInsertionEffect : !1, useInsertionEffectAlwaysWithSyncFallback = useInsertionEffect2 || syncFallback, useInsertionEffectWithLayoutFallback = useInsertionEffect2 || React.useLayoutEffect;
1601
1192
 
1602
1193
  // ../node_modules/@emotion/react/dist/emotion-element-f0de968e.browser.esm.js
1603
- var isDevelopment3 = false;
1604
- var EmotionCacheContext = React2.createContext(
1194
+ var isDevelopment3 = !1, EmotionCacheContext = React2.createContext(
1605
1195
  // we're doing this to avoid preconstruct's dead code elimination in this one case
1606
1196
  // because this module is primarily intended for the browser and node
1607
1197
  // but it's also required in react native and similar environments sometimes
1608
1198
  // and we could have a special build just for that
1609
1199
  // but this is much easier and the native packages
1610
1200
  // might use a different theme context in the future anyway
1611
- typeof HTMLElement !== "undefined" ? createCache({
1201
+ typeof HTMLElement < "u" ? createCache({
1612
1202
  key: "css"
1613
1203
  }) : null
1614
- );
1615
- var CacheProvider = EmotionCacheContext.Provider;
1616
- var withEmotionCache = /* @__PURE__ */ __name(function withEmotionCache2(func) {
1204
+ ), CacheProvider = EmotionCacheContext.Provider;
1205
+ var withEmotionCache = function(func) {
1617
1206
  return forwardRef2(function(props, ref) {
1618
1207
  var cache = useContext2(EmotionCacheContext);
1619
1208
  return func(props, cache, ref);
1620
1209
  });
1621
- }, "withEmotionCache");
1622
- var ThemeContext = React2.createContext({});
1623
- var useTheme = /* @__PURE__ */ __name(function useTheme2() {
1210
+ }, ThemeContext = React2.createContext({}), useTheme = function() {
1624
1211
  return React2.useContext(ThemeContext);
1625
- }, "useTheme");
1626
- var getTheme = /* @__PURE__ */ __name(function getTheme2(outerTheme, theme) {
1627
- if (typeof theme === "function") {
1212
+ }, getTheme = function(outerTheme, theme) {
1213
+ if (typeof theme == "function") {
1628
1214
  var mergedTheme = theme(outerTheme);
1629
1215
  return mergedTheme;
1630
1216
  }
1631
1217
  return _extends({}, outerTheme, theme);
1632
- }, "getTheme");
1633
- var createCacheWithTheme = weakMemoize(function(outerTheme) {
1218
+ }, createCacheWithTheme = weakMemoize(function(outerTheme) {
1634
1219
  return weakMemoize(function(theme) {
1635
1220
  return getTheme(outerTheme, theme);
1636
1221
  });
1637
- });
1638
- var ThemeProvider = /* @__PURE__ */ __name(function ThemeProvider2(props) {
1222
+ }), ThemeProvider = function(props) {
1639
1223
  var theme = React2.useContext(ThemeContext);
1640
- if (props.theme !== theme) {
1641
- theme = createCacheWithTheme(theme)(props.theme);
1642
- }
1643
- return React2.createElement(ThemeContext.Provider, {
1224
+ return props.theme !== theme && (theme = createCacheWithTheme(theme)(props.theme)), React2.createElement(ThemeContext.Provider, {
1644
1225
  value: theme
1645
1226
  }, props.children);
1646
- }, "ThemeProvider");
1227
+ };
1647
1228
  function withTheme(Component) {
1648
- var componentName = Component.displayName || Component.name || "Component";
1649
- var WithTheme = React2.forwardRef(/* @__PURE__ */ __name(function render(props, ref) {
1229
+ var componentName = Component.displayName || Component.name || "Component", WithTheme = React2.forwardRef(function(props, ref) {
1650
1230
  var theme = React2.useContext(ThemeContext);
1651
1231
  return React2.createElement(Component, _extends({
1652
1232
  theme,
1653
1233
  ref
1654
1234
  }, props));
1655
- }, "render"));
1656
- WithTheme.displayName = "WithTheme(" + componentName + ")";
1657
- return hoistNonReactStatics(WithTheme, Component);
1235
+ });
1236
+ return WithTheme.displayName = "WithTheme(" + componentName + ")", hoistNonReactStatics(WithTheme, Component);
1658
1237
  }
1659
- __name(withTheme, "withTheme");
1660
- var hasOwn = {}.hasOwnProperty;
1661
- var typePropName = "__EMOTION_TYPE_PLEASE_DO_NOT_USE__";
1662
- var createEmotionProps = /* @__PURE__ */ __name(function createEmotionProps2(type, props) {
1238
+ var hasOwn = {}.hasOwnProperty, typePropName = "__EMOTION_TYPE_PLEASE_DO_NOT_USE__", createEmotionProps = function(type, props) {
1663
1239
  var newProps = {};
1664
- for (var _key in props) {
1665
- if (hasOwn.call(props, _key)) {
1666
- newProps[_key] = props[_key];
1667
- }
1668
- }
1669
- newProps[typePropName] = type;
1670
- return newProps;
1671
- }, "createEmotionProps");
1672
- var Insertion = /* @__PURE__ */ __name(function Insertion2(_ref) {
1240
+ for (var _key in props)
1241
+ hasOwn.call(props, _key) && (newProps[_key] = props[_key]);
1242
+ return newProps[typePropName] = type, newProps;
1243
+ }, Insertion = function(_ref) {
1673
1244
  var cache = _ref.cache, serialized = _ref.serialized, isStringTag = _ref.isStringTag;
1674
- registerStyles(cache, serialized, isStringTag);
1675
- useInsertionEffectAlwaysWithSyncFallback(function() {
1245
+ return registerStyles(cache, serialized, isStringTag), useInsertionEffectAlwaysWithSyncFallback(function() {
1676
1246
  return insertStyles(cache, serialized, isStringTag);
1677
- });
1678
- return null;
1679
- }, "Insertion");
1680
- var Emotion = withEmotionCache(function(props, cache, ref) {
1247
+ }), null;
1248
+ }, Emotion = withEmotionCache(function(props, cache, ref) {
1681
1249
  var cssProp = props.css;
1682
- if (typeof cssProp === "string" && cache.registered[cssProp] !== void 0) {
1683
- cssProp = cache.registered[cssProp];
1684
- }
1685
- var WrappedComponent = props[typePropName];
1686
- var registeredStyles = [cssProp];
1687
- var className = "";
1688
- if (typeof props.className === "string") {
1689
- className = getRegisteredStyles(cache.registered, registeredStyles, props.className);
1690
- } else if (props.className != null) {
1691
- className = props.className + " ";
1692
- }
1250
+ typeof cssProp == "string" && cache.registered[cssProp] !== void 0 && (cssProp = cache.registered[cssProp]);
1251
+ var WrappedComponent = props[typePropName], registeredStyles = [cssProp], className = "";
1252
+ typeof props.className == "string" ? className = getRegisteredStyles(cache.registered, registeredStyles, props.className) : props.className != null && (className = props.className + " ");
1693
1253
  var serialized = serializeStyles(registeredStyles, void 0, React2.useContext(ThemeContext));
1694
1254
  className += cache.key + "-" + serialized.name;
1695
1255
  var newProps = {};
1696
- for (var _key2 in props) {
1697
- if (hasOwn.call(props, _key2) && _key2 !== "css" && _key2 !== typePropName && !isDevelopment3) {
1698
- newProps[_key2] = props[_key2];
1699
- }
1700
- }
1701
- newProps.className = className;
1702
- if (ref) {
1703
- newProps.ref = ref;
1704
- }
1705
- return React2.createElement(React2.Fragment, null, React2.createElement(Insertion, {
1256
+ for (var _key2 in props)
1257
+ hasOwn.call(props, _key2) && _key2 !== "css" && _key2 !== typePropName && !isDevelopment3 && (newProps[_key2] = props[_key2]);
1258
+ return newProps.className = className, ref && (newProps.ref = ref), React2.createElement(React2.Fragment, null, React2.createElement(Insertion, {
1706
1259
  cache,
1707
1260
  serialized,
1708
- isStringTag: typeof WrappedComponent === "string"
1261
+ isStringTag: typeof WrappedComponent == "string"
1709
1262
  }), React2.createElement(WrappedComponent, newProps));
1710
- });
1711
- var Emotion$1 = Emotion;
1263
+ }), Emotion$1 = Emotion;
1712
1264
 
1713
1265
  // ../node_modules/@emotion/react/dist/emotion-react.browser.esm.js
1714
1266
  import * as React3 from "react";
1715
- var import_hoist_non_react_statics2 = __toESM(require_hoist_non_react_statics_cjs());
1716
- var jsx = /* @__PURE__ */ __name(function jsx2(type, props) {
1267
+ var import_hoist_non_react_statics2 = __toESM(require_hoist_non_react_statics_cjs()), jsx = function(type, props) {
1717
1268
  var args = arguments;
1718
- if (props == null || !hasOwn.call(props, "css")) {
1269
+ if (props == null || !hasOwn.call(props, "css"))
1719
1270
  return React3.createElement.apply(void 0, args);
1720
- }
1721
- var argsLength = args.length;
1722
- var createElementArgArray = new Array(argsLength);
1723
- createElementArgArray[0] = Emotion$1;
1724
- createElementArgArray[1] = createEmotionProps(type, props);
1725
- for (var i = 2; i < argsLength; i++) {
1271
+ var argsLength = args.length, createElementArgArray = new Array(argsLength);
1272
+ createElementArgArray[0] = Emotion$1, createElementArgArray[1] = createEmotionProps(type, props);
1273
+ for (var i = 2; i < argsLength; i++)
1726
1274
  createElementArgArray[i] = args[i];
1727
- }
1728
1275
  return React3.createElement.apply(null, createElementArgArray);
1729
- }, "jsx");
1276
+ };
1730
1277
  (function(_jsx) {
1731
1278
  var JSX;
1732
- /* @__PURE__ */ (function(_JSX) {
1733
- })(JSX || (JSX = _jsx.JSX || (_jsx.JSX = {})));
1279
+ JSX || (JSX = _jsx.JSX || (_jsx.JSX = {}));
1734
1280
  })(jsx || (jsx = {}));
1735
1281
  var Global = withEmotionCache(function(props, cache) {
1736
- var styles = props.styles;
1737
- var serialized = serializeStyles([styles], void 0, React3.useContext(ThemeContext));
1738
- var sheetRef = React3.useRef();
1739
- useInsertionEffectWithLayoutFallback(function() {
1740
- var key = cache.key + "-global";
1741
- var sheet = new cache.sheet.constructor({
1282
+ var styles = props.styles, serialized = serializeStyles([styles], void 0, React3.useContext(ThemeContext)), sheetRef = React3.useRef();
1283
+ return useInsertionEffectWithLayoutFallback(function() {
1284
+ var key = cache.key + "-global", sheet = new cache.sheet.constructor({
1742
1285
  key,
1743
1286
  nonce: cache.sheet.nonce,
1744
1287
  container: cache.sheet.container,
1745
1288
  speedy: cache.sheet.isSpeedy
1746
- });
1747
- var rehydrating = false;
1748
- var node2 = document.querySelector('style[data-emotion="' + key + " " + serialized.name + '"]');
1749
- if (cache.sheet.tags.length) {
1750
- sheet.before = cache.sheet.tags[0];
1751
- }
1752
- if (node2 !== null) {
1753
- rehydrating = true;
1754
- node2.setAttribute("data-emotion", key);
1755
- sheet.hydrate([node2]);
1756
- }
1757
- sheetRef.current = [sheet, rehydrating];
1758
- return function() {
1289
+ }), rehydrating = !1, node2 = document.querySelector('style[data-emotion="' + key + " " + serialized.name + '"]');
1290
+ return cache.sheet.tags.length && (sheet.before = cache.sheet.tags[0]), node2 !== null && (rehydrating = !0, node2.setAttribute("data-emotion", key), sheet.hydrate([node2])), sheetRef.current = [sheet, rehydrating], function() {
1759
1291
  sheet.flush();
1760
1292
  };
1761
- }, [cache]);
1762
- useInsertionEffectWithLayoutFallback(function() {
1763
- var sheetRefCurrent = sheetRef.current;
1764
- var sheet = sheetRefCurrent[0], rehydrating = sheetRefCurrent[1];
1293
+ }, [cache]), useInsertionEffectWithLayoutFallback(function() {
1294
+ var sheetRefCurrent = sheetRef.current, sheet = sheetRefCurrent[0], rehydrating = sheetRefCurrent[1];
1765
1295
  if (rehydrating) {
1766
- sheetRefCurrent[1] = false;
1296
+ sheetRefCurrent[1] = !1;
1767
1297
  return;
1768
1298
  }
1769
- if (serialized.next !== void 0) {
1770
- insertStyles(cache, serialized.next, true);
1771
- }
1772
- if (sheet.tags.length) {
1299
+ if (serialized.next !== void 0 && insertStyles(cache, serialized.next, !0), sheet.tags.length) {
1773
1300
  var element = sheet.tags[sheet.tags.length - 1].nextElementSibling;
1774
- sheet.before = element;
1775
- sheet.flush();
1301
+ sheet.before = element, sheet.flush();
1776
1302
  }
1777
- cache.insert("", serialized, sheet, false);
1778
- }, [cache, serialized.name]);
1779
- return null;
1303
+ cache.insert("", serialized, sheet, !1);
1304
+ }, [cache, serialized.name]), null;
1780
1305
  });
1781
1306
  function css() {
1782
- for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
1307
+ for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++)
1783
1308
  args[_key] = arguments[_key];
1784
- }
1785
1309
  return serializeStyles(args);
1786
1310
  }
1787
- __name(css, "css");
1788
1311
  function keyframes() {
1789
- var insertable = css.apply(void 0, arguments);
1790
- var name = "animation-" + insertable.name;
1312
+ var insertable = css.apply(void 0, arguments), name = "animation-" + insertable.name;
1791
1313
  return {
1792
1314
  name,
1793
1315
  styles: "@keyframes " + name + "{" + insertable.styles + "}",
1794
1316
  anim: 1,
1795
- toString: /* @__PURE__ */ __name(function toString() {
1317
+ toString: function() {
1796
1318
  return "_EMO_" + this.name + "_" + this.styles + "_EMO_";
1797
- }, "toString")
1319
+ }
1798
1320
  };
1799
1321
  }
1800
- __name(keyframes, "keyframes");
1801
- var classnames = /* @__PURE__ */ __name(function classnames2(args) {
1802
- var len = args.length;
1803
- var i = 0;
1804
- var cls = "";
1805
- for (; i < len; i++) {
1322
+ var classnames = function classnames2(args) {
1323
+ for (var len = args.length, i = 0, cls = ""; i < len; i++) {
1806
1324
  var arg = args[i];
1807
- if (arg == null) continue;
1808
- var toAdd = void 0;
1809
- switch (typeof arg) {
1810
- case "boolean":
1811
- break;
1812
- case "object": {
1813
- if (Array.isArray(arg)) {
1814
- toAdd = classnames2(arg);
1815
- } else {
1816
- toAdd = "";
1817
- for (var k in arg) {
1818
- if (arg[k] && k) {
1819
- toAdd && (toAdd += " ");
1820
- toAdd += k;
1821
- }
1325
+ if (arg != null) {
1326
+ var toAdd = void 0;
1327
+ switch (typeof arg) {
1328
+ case "boolean":
1329
+ break;
1330
+ case "object": {
1331
+ if (Array.isArray(arg))
1332
+ toAdd = classnames2(arg);
1333
+ else {
1334
+ toAdd = "";
1335
+ for (var k in arg)
1336
+ arg[k] && k && (toAdd && (toAdd += " "), toAdd += k);
1822
1337
  }
1338
+ break;
1823
1339
  }
1824
- break;
1340
+ default:
1341
+ toAdd = arg;
1825
1342
  }
1826
- default: {
1827
- toAdd = arg;
1828
- }
1829
- }
1830
- if (toAdd) {
1831
- cls && (cls += " ");
1832
- cls += toAdd;
1343
+ toAdd && (cls && (cls += " "), cls += toAdd);
1833
1344
  }
1834
1345
  }
1835
1346
  return cls;
1836
- }, "classnames");
1347
+ };
1837
1348
  function merge(registered, css2, className) {
1838
- var registeredStyles = [];
1839
- var rawClassName = getRegisteredStyles(registered, registeredStyles, className);
1840
- if (registeredStyles.length < 2) {
1841
- return className;
1842
- }
1843
- return rawClassName + css2(registeredStyles);
1349
+ var registeredStyles = [], rawClassName = getRegisteredStyles(registered, registeredStyles, className);
1350
+ return registeredStyles.length < 2 ? className : rawClassName + css2(registeredStyles);
1844
1351
  }
1845
- __name(merge, "merge");
1846
- var Insertion3 = /* @__PURE__ */ __name(function Insertion4(_ref) {
1352
+ var Insertion3 = function(_ref) {
1847
1353
  var cache = _ref.cache, serializedArr = _ref.serializedArr;
1848
- useInsertionEffectAlwaysWithSyncFallback(function() {
1849
- for (var i = 0; i < serializedArr.length; i++) {
1850
- insertStyles(cache, serializedArr[i], false);
1851
- }
1852
- });
1853
- return null;
1854
- }, "Insertion");
1855
- var ClassNames = withEmotionCache(function(props, cache) {
1856
- var hasRendered = false;
1857
- var serializedArr = [];
1858
- var css2 = /* @__PURE__ */ __name(function css3() {
1859
- if (hasRendered && isDevelopment3) {
1354
+ return useInsertionEffectAlwaysWithSyncFallback(function() {
1355
+ for (var i = 0; i < serializedArr.length; i++)
1356
+ insertStyles(cache, serializedArr[i], !1);
1357
+ }), null;
1358
+ }, ClassNames = withEmotionCache(function(props, cache) {
1359
+ var hasRendered = !1, serializedArr = [], css2 = function() {
1360
+ if (hasRendered && isDevelopment3)
1860
1361
  throw new Error("css can only be used during render");
1861
- }
1862
- for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
1362
+ for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++)
1863
1363
  args[_key] = arguments[_key];
1864
- }
1865
1364
  var serialized = serializeStyles(args, cache.registered);
1866
- serializedArr.push(serialized);
1867
- registerStyles(cache, serialized, false);
1868
- return cache.key + "-" + serialized.name;
1869
- }, "css");
1870
- var cx = /* @__PURE__ */ __name(function cx2() {
1871
- if (hasRendered && isDevelopment3) {
1365
+ return serializedArr.push(serialized), registerStyles(cache, serialized, !1), cache.key + "-" + serialized.name;
1366
+ }, cx = function() {
1367
+ if (hasRendered && isDevelopment3)
1872
1368
  throw new Error("cx can only be used during render");
1873
- }
1874
- for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
1369
+ for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++)
1875
1370
  args[_key2] = arguments[_key2];
1876
- }
1877
1371
  return merge(cache.registered, css2, classnames(args));
1878
- }, "cx");
1879
- var content = {
1372
+ }, content = {
1880
1373
  css: css2,
1881
1374
  cx,
1882
1375
  theme: React3.useContext(ThemeContext)
1883
- };
1884
- var ele = props.children(content);
1885
- hasRendered = true;
1886
- return React3.createElement(React3.Fragment, null, React3.createElement(Insertion3, {
1376
+ }, ele = props.children(content);
1377
+ return hasRendered = !0, React3.createElement(React3.Fragment, null, React3.createElement(Insertion3, {
1887
1378
  cache,
1888
1379
  serializedArr
1889
1380
  }), ele);
@@ -1893,8 +1384,7 @@ var ClassNames = withEmotionCache(function(props, cache) {
1893
1384
  import * as React4 from "react";
1894
1385
 
1895
1386
  // ../node_modules/@emotion/is-prop-valid/dist/emotion-is-prop-valid.esm.js
1896
- 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|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|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|popover|popoverTarget|popoverTargetAction|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)-.*))$/;
1897
- var isPropValid = memoize(
1387
+ 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|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|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|popover|popoverTarget|popoverTargetAction|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)-.*))$/, isPropValid = memoize(
1898
1388
  function(prop) {
1899
1389
  return reactPropsRegex.test(prop) || prop.charCodeAt(0) === 111 && prop.charCodeAt(1) === 110 && prop.charCodeAt(2) < 91;
1900
1390
  }
@@ -1902,18 +1392,14 @@ var isPropValid = memoize(
1902
1392
  );
1903
1393
 
1904
1394
  // ../node_modules/@emotion/styled/base/dist/emotion-styled-base.browser.esm.js
1905
- var isDevelopment4 = false;
1906
- var testOmitPropsOnStringTag = isPropValid;
1907
- var testOmitPropsOnComponent = /* @__PURE__ */ __name(function testOmitPropsOnComponent2(key) {
1395
+ var isDevelopment4 = !1, testOmitPropsOnStringTag = isPropValid, testOmitPropsOnComponent = function(key) {
1908
1396
  return key !== "theme";
1909
- }, "testOmitPropsOnComponent");
1910
- var getDefaultShouldForwardProp = /* @__PURE__ */ __name(function getDefaultShouldForwardProp2(tag) {
1911
- return typeof tag === "string" && // 96 is one less than the char code
1397
+ }, getDefaultShouldForwardProp = function(tag) {
1398
+ return typeof tag == "string" && // 96 is one less than the char code
1912
1399
  // for "a" so this is checking that
1913
1400
  // it's a lowercase character
1914
1401
  tag.charCodeAt(0) > 96 ? testOmitPropsOnStringTag : testOmitPropsOnComponent;
1915
- }, "getDefaultShouldForwardProp");
1916
- var composeShouldForwardProps = /* @__PURE__ */ __name(function composeShouldForwardProps2(tag, options, isReal) {
1402
+ }, composeShouldForwardProps = function(tag, options, isReal) {
1917
1403
  var shouldForwardProp;
1918
1404
  if (options) {
1919
1405
  var optionsShouldForwardProp = options.shouldForwardProp;
@@ -1921,111 +1407,58 @@ var composeShouldForwardProps = /* @__PURE__ */ __name(function composeShouldFor
1921
1407
  return tag.__emotion_forwardProp(propName) && optionsShouldForwardProp(propName);
1922
1408
  } : optionsShouldForwardProp;
1923
1409
  }
1924
- if (typeof shouldForwardProp !== "function" && isReal) {
1925
- shouldForwardProp = tag.__emotion_forwardProp;
1926
- }
1927
- return shouldForwardProp;
1928
- }, "composeShouldForwardProps");
1929
- var Insertion5 = /* @__PURE__ */ __name(function Insertion6(_ref) {
1410
+ return typeof shouldForwardProp != "function" && isReal && (shouldForwardProp = tag.__emotion_forwardProp), shouldForwardProp;
1411
+ }, Insertion5 = function(_ref) {
1930
1412
  var cache = _ref.cache, serialized = _ref.serialized, isStringTag = _ref.isStringTag;
1931
- registerStyles(cache, serialized, isStringTag);
1932
- useInsertionEffectAlwaysWithSyncFallback(function() {
1413
+ return registerStyles(cache, serialized, isStringTag), useInsertionEffectAlwaysWithSyncFallback(function() {
1933
1414
  return insertStyles(cache, serialized, isStringTag);
1934
- });
1935
- return null;
1936
- }, "Insertion");
1937
- var createStyled = /* @__PURE__ */ __name(function createStyled2(tag, options) {
1938
- var isReal = tag.__emotion_real === tag;
1939
- var baseTag = isReal && tag.__emotion_base || tag;
1940
- var identifierName;
1941
- var targetClassName;
1942
- if (options !== void 0) {
1943
- identifierName = options.label;
1944
- targetClassName = options.target;
1945
- }
1946
- var shouldForwardProp = composeShouldForwardProps(tag, options, isReal);
1947
- var defaultShouldForwardProp = shouldForwardProp || getDefaultShouldForwardProp(baseTag);
1948
- var shouldUseAs = !defaultShouldForwardProp("as");
1415
+ }), null;
1416
+ }, createStyled = function createStyled2(tag, options) {
1417
+ var isReal = tag.__emotion_real === tag, baseTag = isReal && tag.__emotion_base || tag, identifierName, targetClassName;
1418
+ options !== void 0 && (identifierName = options.label, targetClassName = options.target);
1419
+ var shouldForwardProp = composeShouldForwardProps(tag, options, isReal), defaultShouldForwardProp = shouldForwardProp || getDefaultShouldForwardProp(baseTag), shouldUseAs = !defaultShouldForwardProp("as");
1949
1420
  return function() {
1950
- var args = arguments;
1951
- var styles = isReal && tag.__emotion_styles !== void 0 ? tag.__emotion_styles.slice(0) : [];
1952
- if (identifierName !== void 0) {
1953
- styles.push("label:" + identifierName + ";");
1954
- }
1955
- if (args[0] == null || args[0].raw === void 0) {
1421
+ var args = arguments, styles = isReal && tag.__emotion_styles !== void 0 ? tag.__emotion_styles.slice(0) : [];
1422
+ if (identifierName !== void 0 && styles.push("label:" + identifierName + ";"), args[0] == null || args[0].raw === void 0)
1956
1423
  styles.push.apply(styles, args);
1957
- } else {
1424
+ else {
1958
1425
  var templateStringsArr = args[0];
1959
1426
  styles.push(templateStringsArr[0]);
1960
- var len = args.length;
1961
- var i = 1;
1962
- for (; i < len; i++) {
1427
+ for (var len = args.length, i = 1; i < len; i++)
1963
1428
  styles.push(args[i], templateStringsArr[i]);
1964
- }
1965
1429
  }
1966
1430
  var Styled = withEmotionCache(function(props, cache, ref) {
1967
- var FinalTag = shouldUseAs && props.as || baseTag;
1968
- var className = "";
1969
- var classInterpolations = [];
1970
- var mergedProps = props;
1431
+ var FinalTag = shouldUseAs && props.as || baseTag, className = "", classInterpolations = [], mergedProps = props;
1971
1432
  if (props.theme == null) {
1972
1433
  mergedProps = {};
1973
- for (var key in props) {
1434
+ for (var key in props)
1974
1435
  mergedProps[key] = props[key];
1975
- }
1976
1436
  mergedProps.theme = React4.useContext(ThemeContext);
1977
1437
  }
1978
- if (typeof props.className === "string") {
1979
- className = getRegisteredStyles(cache.registered, classInterpolations, props.className);
1980
- } else if (props.className != null) {
1981
- className = props.className + " ";
1982
- }
1438
+ typeof props.className == "string" ? className = getRegisteredStyles(cache.registered, classInterpolations, props.className) : props.className != null && (className = props.className + " ");
1983
1439
  var serialized = serializeStyles(styles.concat(classInterpolations), cache.registered, mergedProps);
1984
- className += cache.key + "-" + serialized.name;
1985
- if (targetClassName !== void 0) {
1986
- className += " " + targetClassName;
1987
- }
1988
- var finalShouldForwardProp = shouldUseAs && shouldForwardProp === void 0 ? getDefaultShouldForwardProp(FinalTag) : defaultShouldForwardProp;
1989
- var newProps = {};
1990
- for (var _key in props) {
1991
- if (shouldUseAs && _key === "as") continue;
1992
- if (finalShouldForwardProp(_key)) {
1993
- newProps[_key] = props[_key];
1994
- }
1995
- }
1996
- newProps.className = className;
1997
- if (ref) {
1998
- newProps.ref = ref;
1999
- }
2000
- return React4.createElement(React4.Fragment, null, React4.createElement(Insertion5, {
1440
+ className += cache.key + "-" + serialized.name, targetClassName !== void 0 && (className += " " + targetClassName);
1441
+ var finalShouldForwardProp = shouldUseAs && shouldForwardProp === void 0 ? getDefaultShouldForwardProp(FinalTag) : defaultShouldForwardProp, newProps = {};
1442
+ for (var _key in props)
1443
+ shouldUseAs && _key === "as" || finalShouldForwardProp(_key) && (newProps[_key] = props[_key]);
1444
+ return newProps.className = className, ref && (newProps.ref = ref), React4.createElement(React4.Fragment, null, React4.createElement(Insertion5, {
2001
1445
  cache,
2002
1446
  serialized,
2003
- isStringTag: typeof FinalTag === "string"
1447
+ isStringTag: typeof FinalTag == "string"
2004
1448
  }), React4.createElement(FinalTag, newProps));
2005
1449
  });
2006
- Styled.displayName = identifierName !== void 0 ? identifierName : "Styled(" + (typeof baseTag === "string" ? baseTag : baseTag.displayName || baseTag.name || "Component") + ")";
2007
- Styled.defaultProps = tag.defaultProps;
2008
- Styled.__emotion_real = Styled;
2009
- Styled.__emotion_base = baseTag;
2010
- Styled.__emotion_styles = styles;
2011
- Styled.__emotion_forwardProp = shouldForwardProp;
2012
- Object.defineProperty(Styled, "toString", {
2013
- value: /* @__PURE__ */ __name(function value() {
2014
- if (targetClassName === void 0 && isDevelopment4) {
2015
- return "NO_COMPONENT_SELECTOR";
2016
- }
2017
- return "." + targetClassName;
2018
- }, "value")
2019
- });
2020
- Styled.withComponent = function(nextTag, nextOptions) {
1450
+ return Styled.displayName = identifierName !== void 0 ? 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", {
1451
+ value: function() {
1452
+ return targetClassName === void 0 && isDevelopment4 ? "NO_COMPONENT_SELECTOR" : "." + targetClassName;
1453
+ }
1454
+ }), Styled.withComponent = function(nextTag, nextOptions) {
2021
1455
  var newStyled = createStyled2(nextTag, _extends({}, options, nextOptions, {
2022
- shouldForwardProp: composeShouldForwardProps(Styled, nextOptions, true)
1456
+ shouldForwardProp: composeShouldForwardProps(Styled, nextOptions, !0)
2023
1457
  }));
2024
1458
  return newStyled.apply(void 0, styles);
2025
- };
2026
- return Styled;
1459
+ }, Styled;
2027
1460
  };
2028
- }, "createStyled");
1461
+ };
2029
1462
 
2030
1463
  // ../node_modules/@emotion/styled/dist/emotion-styled.browser.esm.js
2031
1464
  import "react";
@@ -2165,15 +1598,13 @@ var tags = [
2165
1598
  "svg",
2166
1599
  "text",
2167
1600
  "tspan"
2168
- ];
2169
- var styled = createStyled.bind(null);
1601
+ ], styled = createStyled.bind(null);
2170
1602
  tags.forEach(function(tagName) {
2171
1603
  styled[tagName] = styled(tagName);
2172
1604
  });
2173
1605
 
2174
1606
  // src/theming/global.ts
2175
- var import_memoizerific = __toESM(require_memoizerific(), 1);
2176
- var createReset = (0, import_memoizerific.default)(1)(
1607
+ var import_memoizerific = __toESM(require_memoizerific(), 1), createReset = (0, import_memoizerific.default)(1)(
2177
1608
  ({ typography: typography2 }) => ({
2178
1609
  body: {
2179
1610
  fontFamily: typography2.fonts.base,
@@ -2236,13 +1667,12 @@ var createReset = (0, import_memoizerific.default)(1)(
2236
1667
  margin: "1rem 0"
2237
1668
  }
2238
1669
  })
2239
- );
2240
- var createGlobal = (0, import_memoizerific.default)(1)(({
1670
+ ), createGlobal = (0, import_memoizerific.default)(1)(({
2241
1671
  color: color2,
2242
1672
  background: background2,
2243
1673
  typography: typography2
2244
1674
  }) => {
2245
- const resetStyles = createReset({ typography: typography2 });
1675
+ let resetStyles = createReset({ typography: typography2 });
2246
1676
  return {
2247
1677
  ...resetStyles,
2248
1678
  body: {
@@ -2262,7 +1692,9 @@ var createGlobal = (0, import_memoizerific.default)(1)(({
2262
1692
  padding: 0,
2263
1693
  margin: -1,
2264
1694
  overflow: "hidden",
1695
+ whiteSpace: "nowrap",
2265
1696
  clip: "rect(0, 0, 0, 0)",
1697
+ clipPath: "inset(50%)",
2266
1698
  border: 0
2267
1699
  },
2268
1700
  ".sb-hidden-until-focus": {
@@ -2271,6 +1703,9 @@ var createGlobal = (0, import_memoizerific.default)(1)(({
2271
1703
  },
2272
1704
  ".sb-hidden-until-focus:focus": {
2273
1705
  opacity: 1
1706
+ },
1707
+ ".react-aria-Popover:focus-visible": {
1708
+ outline: "none"
2274
1709
  }
2275
1710
  };
2276
1711
  });
@@ -2278,36 +1713,30 @@ var createGlobal = (0, import_memoizerific.default)(1)(({
2278
1713
  // src/theming/animation.ts
2279
1714
  var easing = {
2280
1715
  rubber: "cubic-bezier(0.175, 0.885, 0.335, 1.05)"
2281
- };
2282
- var rotate360 = keyframes`
1716
+ }, rotate360 = keyframes`
2283
1717
  from {
2284
1718
  transform: rotate(0deg);
2285
1719
  }
2286
1720
  to {
2287
1721
  transform: rotate(360deg);
2288
1722
  }
2289
- `;
2290
- var glow = keyframes`
1723
+ `, glow = keyframes`
2291
1724
  0%, 100% { opacity: 1; }
2292
1725
  50% { opacity: .4; }
2293
- `;
2294
- var float = keyframes`
1726
+ `, float = keyframes`
2295
1727
  0% { transform: translateY(1px); }
2296
1728
  25% { transform: translateY(0px); }
2297
1729
  50% { transform: translateY(-3px); }
2298
1730
  100% { transform: translateY(1px); }
2299
- `;
2300
- var jiggle = keyframes`
1731
+ `, jiggle = keyframes`
2301
1732
  0%, 100% { transform:translate3d(0,0,0); }
2302
1733
  12.5%, 62.5% { transform:translate3d(-4px,0,0); }
2303
1734
  37.5%, 87.5% { transform: translate3d(4px,0,0); }
2304
- `;
2305
- var inlineGlow = css`
1735
+ `, inlineGlow = css`
2306
1736
  animation: ${glow} 1.5s ease-in-out infinite;
2307
1737
  color: transparent;
2308
1738
  cursor: progress;
2309
- `;
2310
- var hoverable = css`
1739
+ `, hoverable = css`
2311
1740
  transition: all 150ms ease-out;
2312
1741
  transform: translate3d(0, 0, 0);
2313
1742
 
@@ -2318,8 +1747,7 @@ var hoverable = css`
2318
1747
  &:active {
2319
1748
  transform: translate3d(0, 0, 0);
2320
1749
  }
2321
- `;
2322
- var animation = {
1750
+ `, animation = {
2323
1751
  rotate360,
2324
1752
  glow,
2325
1753
  float,
@@ -2368,8 +1796,7 @@ var chromeDark = {
2368
1796
  // 'rgb(48, 57, 66)',
2369
1797
  TABLE_DATA_BACKGROUND_IMAGE: "linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0) 50%, rgba(51, 139, 255, 0.0980392) 50%, rgba(51, 139, 255, 0.0980392))",
2370
1798
  TABLE_DATA_BACKGROUND_SIZE: "128px 32px"
2371
- };
2372
- var chromeLight = {
1799
+ }, chromeLight = {
2373
1800
  BASE_FONT_FAMILY: "Menlo, monospace",
2374
1801
  BASE_FONT_SIZE: "11px",
2375
1802
  BASE_LINE_HEIGHT: 1.2,
@@ -2407,10 +1834,8 @@ var chromeLight = {
2407
1834
  TABLE_SORT_ICON_COLOR: "#6e6e6e",
2408
1835
  TABLE_DATA_BACKGROUND_IMAGE: "linear-gradient(to bottom, white, white 50%, rgb(234, 243, 255) 50%, rgb(234, 243, 255))",
2409
1836
  TABLE_DATA_BACKGROUND_SIZE: "128px 32px"
2410
- };
2411
- var convertColors = /* @__PURE__ */ __name((colors) => Object.entries(colors).reduce((acc, [k, v]) => ({ ...acc, [k]: mkColor(v) }), {}), "convertColors");
2412
- var create2 = /* @__PURE__ */ __name(({ colors, mono }) => {
2413
- const colorsObjs = convertColors(colors);
1837
+ }, convertColors = (colors) => Object.entries(colors).reduce((acc, [k, v]) => ({ ...acc, [k]: mkColor(v) }), {}), create2 = ({ colors, mono }) => {
1838
+ let colorsObjs = convertColors(colors);
2414
1839
  return {
2415
1840
  token: {
2416
1841
  fontFamily: mono,
@@ -2462,7 +1887,7 @@ var create2 = /* @__PURE__ */ __name(({ colors, mono }) => {
2462
1887
  opacity: 0.7
2463
1888
  }
2464
1889
  };
2465
- }, "create");
1890
+ };
2466
1891
 
2467
1892
  // src/theming/convert.ts
2468
1893
  var lightSyntaxColors = {
@@ -2470,15 +1895,14 @@ var lightSyntaxColors = {
2470
1895
  red1: "#A31515",
2471
1896
  red2: "#9a050f",
2472
1897
  red3: "#800000",
2473
- red4: "#ff0000",
1898
+ red4: "#eb0000",
2474
1899
  gray1: "#393A34",
2475
- cyan1: "#36acaa",
2476
- cyan2: "#2B91AF",
1900
+ cyan1: "#008380",
1901
+ cyan2: "#007ca0",
2477
1902
  blue1: "#0000ff",
2478
1903
  blue2: "#00009f"
2479
- };
2480
- var darkSyntaxColors = {
2481
- green1: "#7C7C7C",
1904
+ }, darkSyntaxColors = {
1905
+ green1: "#95999D",
2482
1906
  red1: "#92C379",
2483
1907
  red2: "#9a050f",
2484
1908
  red3: "#A8FF60",
@@ -2488,8 +1912,7 @@ var darkSyntaxColors = {
2488
1912
  cyan2: "#FFFFB6",
2489
1913
  blue1: "#B474DD",
2490
1914
  blue2: "#00009f"
2491
- };
2492
- var createColors = /* @__PURE__ */ __name((vars) => ({
1915
+ }, createColors = (vars) => ({
2493
1916
  // Changeable colors
2494
1917
  primary: vars.colorPrimary,
2495
1918
  secondary: vars.colorSecondary,
@@ -2524,14 +1947,14 @@ var createColors = /* @__PURE__ */ __name((vars) => ({
2524
1947
  positiveText: color.positiveText,
2525
1948
  negativeText: color.negativeText,
2526
1949
  warningText: color.warningText
2527
- }), "createColors");
2528
- var convert = /* @__PURE__ */ __name((inherit = themes[getPreferredColorScheme()]) => {
2529
- const {
1950
+ }), convert = (inherit = themes[getPreferredColorScheme()]) => {
1951
+ let {
2530
1952
  base,
2531
1953
  colorPrimary,
2532
1954
  colorSecondary,
2533
1955
  appBg,
2534
1956
  appContentBg,
1957
+ appHoverBg,
2535
1958
  appPreviewBg,
2536
1959
  appBorderColor,
2537
1960
  appBorderRadius,
@@ -2568,7 +1991,7 @@ var convert = /* @__PURE__ */ __name((inherit = themes[getPreferredColorScheme()
2568
1991
  content: appContentBg,
2569
1992
  preview: appPreviewBg,
2570
1993
  gridCellSize: gridCellSize || background.gridCellSize,
2571
- hoverable: background.hoverable,
1994
+ hoverable: appHoverBg,
2572
1995
  positive: background.positive,
2573
1996
  negative: background.negative,
2574
1997
  warning: background.warning,
@@ -2636,51 +2059,38 @@ var convert = /* @__PURE__ */ __name((inherit = themes[getPreferredColorScheme()
2636
2059
  TREENODE_PADDING_LEFT: 12
2637
2060
  }
2638
2061
  };
2639
- }, "convert");
2062
+ };
2640
2063
 
2641
2064
  // src/theming/ensure.ts
2642
2065
  import { logger } from "storybook/internal/client-logger";
2643
2066
 
2644
2067
  // ../node_modules/deep-object-diff/mjs/utils.js
2645
- var isEmpty = /* @__PURE__ */ __name((o) => Object.keys(o).length === 0, "isEmpty");
2646
- var isObject = /* @__PURE__ */ __name((o) => o != null && typeof o === "object", "isObject");
2647
- var hasOwnProperty = /* @__PURE__ */ __name((o, ...args) => Object.prototype.hasOwnProperty.call(o, ...args), "hasOwnProperty");
2648
- var makeObjectWithoutPrototype = /* @__PURE__ */ __name(() => /* @__PURE__ */ Object.create(null), "makeObjectWithoutPrototype");
2068
+ var isEmpty = (o) => Object.keys(o).length === 0, isObject = (o) => o != null && typeof o == "object", hasOwnProperty = (o, ...args) => Object.prototype.hasOwnProperty.call(o, ...args);
2069
+ var makeObjectWithoutPrototype = () => /* @__PURE__ */ Object.create(null);
2649
2070
 
2650
2071
  // ../node_modules/deep-object-diff/mjs/deleted.js
2651
- var deletedDiff = /* @__PURE__ */ __name((lhs, rhs) => {
2652
- if (lhs === rhs || !isObject(lhs) || !isObject(rhs)) return {};
2653
- return Object.keys(lhs).reduce((acc, key) => {
2654
- if (hasOwnProperty(rhs, key)) {
2655
- const difference = deletedDiff(lhs[key], rhs[key]);
2656
- if (isObject(difference) && isEmpty(difference)) return acc;
2657
- acc[key] = difference;
2658
- return acc;
2659
- }
2660
- acc[key] = void 0;
2661
- return acc;
2662
- }, makeObjectWithoutPrototype());
2663
- }, "deletedDiff");
2664
- var deleted_default = deletedDiff;
2072
+ var deletedDiff = (lhs, rhs) => lhs === rhs || !isObject(lhs) || !isObject(rhs) ? {} : Object.keys(lhs).reduce((acc, key) => {
2073
+ if (hasOwnProperty(rhs, key)) {
2074
+ let difference = deletedDiff(lhs[key], rhs[key]);
2075
+ return isObject(difference) && isEmpty(difference) || (acc[key] = difference), acc;
2076
+ }
2077
+ return acc[key] = void 0, acc;
2078
+ }, makeObjectWithoutPrototype()), deleted_default = deletedDiff;
2665
2079
 
2666
2080
  // src/theming/ensure.ts
2667
- var ensure = /* @__PURE__ */ __name((input) => {
2668
- if (!input) {
2081
+ var ensure = (input) => {
2082
+ if (!input)
2669
2083
  return convert(light_default);
2670
- }
2671
- const missing = deleted_default(light_default, input);
2672
- if (Object.keys(missing).length) {
2673
- logger.warn(
2674
- dedent`
2084
+ let missing = deleted_default(light_default, input);
2085
+ return Object.keys(missing).length && logger.warn(
2086
+ dedent`
2675
2087
  Your theme is missing properties, you should update your theme!
2676
2088
 
2677
2089
  theme-data missing:
2678
2090
  `,
2679
- missing
2680
- );
2681
- }
2682
- return convert(input);
2683
- }, "ensure");
2091
+ missing
2092
+ ), convert(input);
2093
+ };
2684
2094
 
2685
2095
  // src/theming/index.ts
2686
2096
  var ignoreSsrWarning = "/* emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason */";