@eightshift/ui-components 5.6.0 → 6.0.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 (150) hide show
  1. package/dist/{Button-BhEIfWLY.js → Button-BXjXzdW_.js} +13 -13
  2. package/dist/{Dialog-B8p4Ymh7.js → Dialog-D8bjn-nh.js} +404 -77
  3. package/dist/{FieldError-B8BgFmIQ.js → FieldError-DwBG6m1U.js} +2 -2
  4. package/dist/{FocusScope-B5vxRkHm.js → FocusScope-BMk5oZCk.js} +8 -8
  5. package/dist/{Heading-B5aEynOM.js → Heading-BmRX4BRL.js} +3 -3
  6. package/dist/{Hidden-rE6uR-lr.js → Hidden-Rfj-STx7.js} +4 -4
  7. package/dist/{Input-8yja_IHC.js → Input-CNNksOWg.js} +11 -11
  8. package/dist/{Label-DWVaNd2E.js → Label-D8a3eYb-.js} +4 -4
  9. package/dist/{List-Bll1lQEW.js → List-BGHOoFf0.js} +8 -8
  10. package/dist/{ListBox-CEpKw7yC.js → ListBox-Dd37zMvs.js} +40 -41
  11. package/dist/{OverlayArrow-DDfa8khI.js → OverlayArrow-DokC40S3.js} +6 -6
  12. package/dist/{PortalProvider---wyKpMr.js → PortalProvider-CHPnqDSH.js} +2 -2
  13. package/dist/RadioGroup-BVFvITWO.js +371 -0
  14. package/dist/{SearchField-D6mPli0i.js → SearchField-CHYnN-jt.js} +16 -16
  15. package/dist/{SelectionManager-D77bfEbg.js → SelectionManager-N8X7T_4D.js} +44 -46
  16. package/dist/{SharedElementTransition-BjRNHsjx.js → SharedElementTransition-BDT84GtD.js} +3 -3
  17. package/dist/{Slider-DfU6bRtH.js → Slider-CL5CM9S8.js} +23 -23
  18. package/dist/{Text-AxKZjtFm.js → Text-ztX6G1zR.js} +3 -3
  19. package/dist/{VisuallyHidden-CgnIuZJ2.js → VisuallyHidden-DTUuKFiI.js} +4 -4
  20. package/dist/assets/style-admin.css +12156 -2
  21. package/dist/assets/style-editor.css +12156 -2
  22. package/dist/assets/style.css +12162 -2
  23. package/dist/assets/wp-overrides/allow-full-width-blocks.css +6 -0
  24. package/dist/assets/wp-overrides/fix-label-text-case.css +29 -0
  25. package/dist/assets/wp-overrides/increase-sidebar-width.css +4 -0
  26. package/dist/assets/wp-overrides/make-block-messages-nicer.css +155 -0
  27. package/dist/assets/wp-overrides/replace-fonts.css +8 -0
  28. package/dist/assets/wp-overrides/restyle-tooltips.css +194 -0
  29. package/dist/assets/wp-overrides/round-corners.css +200 -0
  30. package/dist/assets/wp-overrides/unify-button-sizes.css +5 -0
  31. package/dist/clsx-DgYk2OaC.js +16 -0
  32. package/dist/{Color-WxFE7lQB.js → color-swatch-CFIuSPcO.js} +124 -6
  33. package/dist/components/animated-visibility/animated-visibility.js +25 -17
  34. package/dist/components/base-control/base-control.js +8 -5
  35. package/dist/components/base-control/container.js +204 -0
  36. package/dist/components/breakpoint-preview/breakpoint-preview.js +0 -1
  37. package/dist/components/button/button.js +249 -155
  38. package/dist/components/checkbox/checkbox.js +96 -37
  39. package/dist/components/color-pickers/color-picker.js +16 -7
  40. package/dist/components/color-pickers/color-swatch.js +5 -57
  41. package/dist/components/color-pickers/gradient-editor.js +161 -138
  42. package/dist/components/color-pickers/solid-color-picker.js +308 -206
  43. package/dist/components/component-toggle/component-toggle.js +12 -8
  44. package/dist/components/container-panel/container-panel.js +54 -31
  45. package/dist/components/draggable/draggable-handle.js +8 -7
  46. package/dist/components/draggable/draggable.js +2 -2
  47. package/dist/components/draggable-list/draggable-list-item.js +21 -12
  48. package/dist/components/draggable-list/draggable-list.js +19 -21
  49. package/dist/components/expandable/expandable.js +56 -28
  50. package/dist/components/index.js +7 -21
  51. package/dist/components/input-field/input-field.js +112 -35
  52. package/dist/components/item-collection/item-collection.js +1 -1
  53. package/dist/components/link-input/link-input.js +181 -121
  54. package/dist/components/matrix-align/matrix-align.js +54 -21
  55. package/dist/components/menu/menu.js +26 -34
  56. package/dist/components/modal/modal.js +31 -28
  57. package/dist/components/notice/notice.js +45 -28
  58. package/dist/components/number-picker/number-picker.js +151 -101
  59. package/dist/components/option-select/option-select.js +40 -4
  60. package/dist/components/options-panel/options-panel.js +52 -25
  61. package/dist/components/placeholders/file-picker-shell.js +10 -10
  62. package/dist/components/placeholders/file-placeholder.js +14 -6
  63. package/dist/components/placeholders/image-placeholder.js +14 -4
  64. package/dist/components/placeholders/media-placeholder.js +11 -4
  65. package/dist/components/popover/popover.js +14 -11
  66. package/dist/components/portal-provider/portal-provider.js +1 -1
  67. package/dist/components/radio/radio.js +118 -429
  68. package/dist/components/repeater/repeater-item.js +7 -10
  69. package/dist/components/repeater/repeater.js +9 -15
  70. package/dist/components/responsive/mini-responsive.js +53 -62
  71. package/dist/components/responsive/responsive-legacy.js +1 -2
  72. package/dist/components/responsive/responsive.js +27 -28
  73. package/dist/components/responsive-preview/responsive-preview.js +1 -2
  74. package/dist/components/rich-label/rich-label.js +5 -5
  75. package/dist/components/select/async-multi-select.js +467 -100
  76. package/dist/components/select/{v2/async-select.js → async-select.js} +182 -106
  77. package/dist/components/select/multi-select.js +437 -83
  78. package/dist/components/select/shared.js +14 -42
  79. package/dist/components/select/single-select.js +349 -54
  80. package/dist/components/slider/column-config-slider.js +138 -45
  81. package/dist/components/slider/slider.js +265 -205
  82. package/dist/components/slider/utils.js +32 -1
  83. package/dist/components/smart-image/smart-image.js +27 -6
  84. package/dist/components/smart-image/worker-inline.js +1 -1
  85. package/dist/components/spacer/spacer.js +2 -2
  86. package/dist/components/tabs/tabs.js +370 -101
  87. package/dist/components/toggle/switch.js +174 -39
  88. package/dist/components/toggle/toggle.js +6 -3
  89. package/dist/components/toggle-button/toggle-button.js +140 -56
  90. package/dist/components/tooltip/tooltip.js +27 -26
  91. package/dist/{context-DMOmz986.js → context-BQvmiUqb.js} +3 -3
  92. package/dist/{default-i18n-DBm-GqWM.js → default-i18n-CnQeC5Pl.js} +10 -10
  93. package/dist/{general-6STKQIrk.js → general-B6pOveVp.js} +13 -12
  94. package/dist/icons/icons.js +28 -9
  95. package/dist/icons/jsx-svg.js +1 -1
  96. package/dist/icons/spinner.js +3 -1
  97. package/dist/{index-Dq3gT5pW.js → index-BHpUy2Ix.js} +1 -1
  98. package/dist/{index-DjyEH0Gg.js → index-oFgxU4zs.js} +6 -4
  99. package/dist/index.js +6 -20
  100. package/dist/proxy-0B6wWuDe.js +7409 -0
  101. package/dist/{react-jsx-parser.min-VUl-CuCv.js → react-jsx-parser.min-B_hvYYa1.js} +5 -5
  102. package/dist/{Select-CHzjZxXy.js → shared-DwjRce5e.js} +170 -36
  103. package/dist/{textSelection-DbCKqaw8.js → textSelection-CwHUtNVX.js} +1 -1
  104. package/dist/{useButton-B2EaQJT_.js → useButton-DdZrS1Kz.js} +3 -3
  105. package/dist/{useEvent-BifIGnVS.js → useEvent-BD7Olibq.js} +1 -1
  106. package/dist/{useFilter-BPcJ-Jzv.js → useFilter-bhxeEDg8.js} +1 -1
  107. package/dist/{useFocusRing-Cgm0R4Cf.js → useFocusRing-D3b7Kh4P.js} +1 -1
  108. package/dist/{useFormReset-yV9VVy9R.js → useFormReset-WUv2PdFO.js} +1 -1
  109. package/dist/{useFormValidation-CeNsUGWK.js → useFormValidation-DQeXkyLm.js} +2 -2
  110. package/dist/{useHover-BRDW3y7-.js → useHover-Bycb7BsD.js} +7 -7
  111. package/dist/{useLabel-C8umX0gk.js → useLabel-Bnv4-T24.js} +2 -2
  112. package/dist/{useLabels-Cdxi6JSa.js → useLabels-B49ptFDX.js} +1 -1
  113. package/dist/{useListState-DZycqxCn.js → useListState-ZKhRO8ML.js} +1 -1
  114. package/dist/{useLocalizedStringFormatter-eaZiN2tE.js → useLocalizedStringFormatter-NETP-8H8.js} +1 -1
  115. package/dist/{useNumberField-CEA9Q4w_.js → useNumberField-D2fUHql3.js} +10 -10
  116. package/dist/{useNumberFormatter-BCmkV-7c.js → useNumberFormatter-DGvuRCn7.js} +1 -1
  117. package/dist/{usePress-BCEPS3hl.js → usePress-B8OteQMu.js} +6 -6
  118. package/dist/{useSingleSelectListState-BFZEfeqI.js → useSingleSelectListState-BBTu4shO.js} +2 -2
  119. package/dist/{useToggle-DNoP2bvV.js → useToggle-BZhaYwZl.js} +4 -4
  120. package/dist/{useToggleState-CzN79ary.js → useToggleState-VkXJjsru.js} +1 -1
  121. package/dist/utilities/general.js +2 -2
  122. package/dist/utilities/hash.js +30 -0
  123. package/dist/utilities/index.js +4 -6
  124. package/dist/{utils-cvK1vxO7.js → utils-DGpXyJOJ.js} +29 -42
  125. package/dist/workers/image-analysis.worker.js +3 -3
  126. package/package.json +26 -23
  127. package/dist/ColorSwatch-xVS3rMYS.js +0 -66
  128. package/dist/Select-ef7c0426.esm-BJmjGGzK.js +0 -2474
  129. package/dist/Separator-DcqCdD4k.js +0 -344
  130. package/dist/_commonjsHelpers-BhWcALO8.js +0 -38
  131. package/dist/assets/wp-font-enhancements.css +0 -2
  132. package/dist/assets/wp-ui-enhancements.css +0 -2
  133. package/dist/components/select/async-single-select.js +0 -138
  134. package/dist/components/select/custom-select-default-components.js +0 -38
  135. package/dist/components/select/multi-select-components.js +0 -8
  136. package/dist/components/select/react-select-component-wrappers.js +0 -90
  137. package/dist/components/select/styles.js +0 -49
  138. package/dist/components/select/v2/async-multi-select.js +0 -433
  139. package/dist/components/select/v2/multi-select.js +0 -404
  140. package/dist/components/select/v2/shared.js +0 -69
  141. package/dist/components/select/v2/single-select.js +0 -358
  142. package/dist/index-641ee5b8.esm-DiwvO-RP.js +0 -3139
  143. package/dist/modifiers.esm-BuJQPI1X.js +0 -31
  144. package/dist/multi-select-components-B3KuDyYd.js +0 -3744
  145. package/dist/react-select-async.esm-_4pk-41v.js +0 -107
  146. package/dist/react-select.esm-BeuAkAyY.js +0 -15
  147. package/dist/sha256-C56UDWfQ.js +0 -533
  148. package/dist/useDragAndDrop-DUXKDS0N.js +0 -3925
  149. package/dist/wp/wp-font-enhancements.js +0 -1
  150. package/dist/wp/wp-ui-enhancements.js +0 -1
@@ -1,3139 +0,0 @@
1
- import * as React from "react";
2
- import { forwardRef, useContext, useLayoutEffect, useRef, useState, useMemo, useCallback, createContext } from "react";
3
- import { r as reactDomExports } from "./index-DjyEH0Gg.js";
4
- function _typeof(o) {
5
- "@babel/helpers - typeof";
6
- return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o2) {
7
- return typeof o2;
8
- } : function(o2) {
9
- return o2 && "function" == typeof Symbol && o2.constructor === Symbol && o2 !== Symbol.prototype ? "symbol" : typeof o2;
10
- }, _typeof(o);
11
- }
12
- function toPrimitive(t, r) {
13
- if ("object" != _typeof(t) || !t) return t;
14
- var e = t[Symbol.toPrimitive];
15
- if (void 0 !== e) {
16
- var i = e.call(t, r);
17
- if ("object" != _typeof(i)) return i;
18
- throw new TypeError("@@toPrimitive must return a primitive value.");
19
- }
20
- return ("string" === r ? String : Number)(t);
21
- }
22
- function toPropertyKey(t) {
23
- var i = toPrimitive(t, "string");
24
- return "symbol" == _typeof(i) ? i : i + "";
25
- }
26
- function _defineProperty(e, r, t) {
27
- return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
28
- value: t,
29
- enumerable: true,
30
- configurable: true,
31
- writable: true
32
- }) : e[r] = t, e;
33
- }
34
- function ownKeys(e, r) {
35
- var t = Object.keys(e);
36
- if (Object.getOwnPropertySymbols) {
37
- var o = Object.getOwnPropertySymbols(e);
38
- r && (o = o.filter(function(r2) {
39
- return Object.getOwnPropertyDescriptor(e, r2).enumerable;
40
- })), t.push.apply(t, o);
41
- }
42
- return t;
43
- }
44
- function _objectSpread2(e) {
45
- for (var r = 1; r < arguments.length; r++) {
46
- var t = null != arguments[r] ? arguments[r] : {};
47
- r % 2 ? ownKeys(Object(t), true).forEach(function(r2) {
48
- _defineProperty(e, r2, t[r2]);
49
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function(r2) {
50
- Object.defineProperty(e, r2, Object.getOwnPropertyDescriptor(t, r2));
51
- });
52
- }
53
- return e;
54
- }
55
- function _arrayWithHoles(r) {
56
- if (Array.isArray(r)) return r;
57
- }
58
- function _iterableToArrayLimit(r, l) {
59
- var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
60
- if (null != t) {
61
- var e, n, i, u, a = [], f = true, o = false;
62
- try {
63
- if (i = (t = t.call(r)).next, 0 === l) {
64
- if (Object(t) !== t) return;
65
- f = false;
66
- } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = true) ;
67
- } catch (r2) {
68
- o = true, n = r2;
69
- } finally {
70
- try {
71
- if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return;
72
- } finally {
73
- if (o) throw n;
74
- }
75
- }
76
- return a;
77
- }
78
- }
79
- function _arrayLikeToArray(r, a) {
80
- (null == a || a > r.length) && (a = r.length);
81
- for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
82
- return n;
83
- }
84
- function _unsupportedIterableToArray(r, a) {
85
- if (r) {
86
- if ("string" == typeof r) return _arrayLikeToArray(r, a);
87
- var t = {}.toString.call(r).slice(8, -1);
88
- return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0;
89
- }
90
- }
91
- function _nonIterableRest() {
92
- throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
93
- }
94
- function _slicedToArray(r, e) {
95
- return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest();
96
- }
97
- function _objectWithoutPropertiesLoose(r, e) {
98
- if (null == r) return {};
99
- var t = {};
100
- for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
101
- if (-1 !== e.indexOf(n)) continue;
102
- t[n] = r[n];
103
- }
104
- return t;
105
- }
106
- function _objectWithoutProperties(e, t) {
107
- if (null == e) return {};
108
- var o, r, i = _objectWithoutPropertiesLoose(e, t);
109
- if (Object.getOwnPropertySymbols) {
110
- var n = Object.getOwnPropertySymbols(e);
111
- for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]);
112
- }
113
- return i;
114
- }
115
- function _extends() {
116
- return _extends = Object.assign ? Object.assign.bind() : function(n) {
117
- for (var e = 1; e < arguments.length; e++) {
118
- var t = arguments[e];
119
- for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
120
- }
121
- return n;
122
- }, _extends.apply(null, arguments);
123
- }
124
- function sheetForTag(tag) {
125
- if (tag.sheet) {
126
- return tag.sheet;
127
- }
128
- for (var i = 0; i < document.styleSheets.length; i++) {
129
- if (document.styleSheets[i].ownerNode === tag) {
130
- return document.styleSheets[i];
131
- }
132
- }
133
- return void 0;
134
- }
135
- function createStyleElement(options2) {
136
- var tag = document.createElement("style");
137
- tag.setAttribute("data-emotion", options2.key);
138
- if (options2.nonce !== void 0) {
139
- tag.setAttribute("nonce", options2.nonce);
140
- }
141
- tag.appendChild(document.createTextNode(""));
142
- tag.setAttribute("data-s", "");
143
- return tag;
144
- }
145
- var StyleSheet = /* @__PURE__ */ (function() {
146
- function StyleSheet2(options2) {
147
- var _this = this;
148
- this._insertTag = function(tag) {
149
- var before;
150
- if (_this.tags.length === 0) {
151
- if (_this.insertionPoint) {
152
- before = _this.insertionPoint.nextSibling;
153
- } else if (_this.prepend) {
154
- before = _this.container.firstChild;
155
- } else {
156
- before = _this.before;
157
- }
158
- } else {
159
- before = _this.tags[_this.tags.length - 1].nextSibling;
160
- }
161
- _this.container.insertBefore(tag, before);
162
- _this.tags.push(tag);
163
- };
164
- this.isSpeedy = options2.speedy === void 0 ? true : options2.speedy;
165
- this.tags = [];
166
- this.ctr = 0;
167
- this.nonce = options2.nonce;
168
- this.key = options2.key;
169
- this.container = options2.container;
170
- this.prepend = options2.prepend;
171
- this.insertionPoint = options2.insertionPoint;
172
- this.before = null;
173
- }
174
- var _proto = StyleSheet2.prototype;
175
- _proto.hydrate = function hydrate(nodes) {
176
- nodes.forEach(this._insertTag);
177
- };
178
- _proto.insert = function insert(rule) {
179
- if (this.ctr % (this.isSpeedy ? 65e3 : 1) === 0) {
180
- this._insertTag(createStyleElement(this));
181
- }
182
- var tag = this.tags[this.tags.length - 1];
183
- if (this.isSpeedy) {
184
- var sheet = sheetForTag(tag);
185
- try {
186
- sheet.insertRule(rule, sheet.cssRules.length);
187
- } catch (e) {
188
- }
189
- } else {
190
- tag.appendChild(document.createTextNode(rule));
191
- }
192
- this.ctr++;
193
- };
194
- _proto.flush = function flush() {
195
- this.tags.forEach(function(tag) {
196
- var _tag$parentNode;
197
- return (_tag$parentNode = tag.parentNode) == null ? void 0 : _tag$parentNode.removeChild(tag);
198
- });
199
- this.tags = [];
200
- this.ctr = 0;
201
- };
202
- return StyleSheet2;
203
- })();
204
- var MS = "-ms-";
205
- var MOZ = "-moz-";
206
- var WEBKIT = "-webkit-";
207
- var COMMENT = "comm";
208
- var RULESET = "rule";
209
- var DECLARATION = "decl";
210
- var IMPORT = "@import";
211
- var KEYFRAMES = "@keyframes";
212
- var LAYER = "@layer";
213
- var abs = Math.abs;
214
- var from = String.fromCharCode;
215
- var assign = Object.assign;
216
- function hash(value, length2) {
217
- return charat(value, 0) ^ 45 ? (((length2 << 2 ^ charat(value, 0)) << 2 ^ charat(value, 1)) << 2 ^ charat(value, 2)) << 2 ^ charat(value, 3) : 0;
218
- }
219
- function trim(value) {
220
- return value.trim();
221
- }
222
- function match(value, pattern) {
223
- return (value = pattern.exec(value)) ? value[0] : value;
224
- }
225
- function replace(value, pattern, replacement) {
226
- return value.replace(pattern, replacement);
227
- }
228
- function indexof(value, search) {
229
- return value.indexOf(search);
230
- }
231
- function charat(value, index2) {
232
- return value.charCodeAt(index2) | 0;
233
- }
234
- function substr(value, begin, end) {
235
- return value.slice(begin, end);
236
- }
237
- function strlen(value) {
238
- return value.length;
239
- }
240
- function sizeof(value) {
241
- return value.length;
242
- }
243
- function append(value, array) {
244
- return array.push(value), value;
245
- }
246
- function combine(array, callback) {
247
- return array.map(callback).join("");
248
- }
249
- var line = 1;
250
- var column = 1;
251
- var length = 0;
252
- var position = 0;
253
- var character = 0;
254
- var characters = "";
255
- function node(value, root, parent, type, props, children, length2) {
256
- return { value, root, parent, type, props, children, line, column, length: length2, return: "" };
257
- }
258
- function copy(root, props) {
259
- return assign(node("", null, null, "", null, null, 0), root, { length: -root.length }, props);
260
- }
261
- function char() {
262
- return character;
263
- }
264
- function prev() {
265
- character = position > 0 ? charat(characters, --position) : 0;
266
- if (column--, character === 10)
267
- column = 1, line--;
268
- return character;
269
- }
270
- function next() {
271
- character = position < length ? charat(characters, position++) : 0;
272
- if (column++, character === 10)
273
- column = 1, line++;
274
- return character;
275
- }
276
- function peek() {
277
- return charat(characters, position);
278
- }
279
- function caret() {
280
- return position;
281
- }
282
- function slice(begin, end) {
283
- return substr(characters, begin, end);
284
- }
285
- function token(type) {
286
- switch (type) {
287
- // \0 \t \n \r \s whitespace token
288
- case 0:
289
- case 9:
290
- case 10:
291
- case 13:
292
- case 32:
293
- return 5;
294
- // ! + , / > @ ~ isolate token
295
- case 33:
296
- case 43:
297
- case 44:
298
- case 47:
299
- case 62:
300
- case 64:
301
- case 126:
302
- // ; { } breakpoint token
303
- case 59:
304
- case 123:
305
- case 125:
306
- return 4;
307
- // : accompanied token
308
- case 58:
309
- return 3;
310
- // " ' ( [ opening delimit token
311
- case 34:
312
- case 39:
313
- case 40:
314
- case 91:
315
- return 2;
316
- // ) ] closing delimit token
317
- case 41:
318
- case 93:
319
- return 1;
320
- }
321
- return 0;
322
- }
323
- function alloc(value) {
324
- return line = column = 1, length = strlen(characters = value), position = 0, [];
325
- }
326
- function dealloc(value) {
327
- return characters = "", value;
328
- }
329
- function delimit(type) {
330
- return trim(slice(position - 1, delimiter(type === 91 ? type + 2 : type === 40 ? type + 1 : type)));
331
- }
332
- function whitespace(type) {
333
- while (character = peek())
334
- if (character < 33)
335
- next();
336
- else
337
- break;
338
- return token(type) > 2 || token(character) > 3 ? "" : " ";
339
- }
340
- function escaping(index2, count) {
341
- while (--count && next())
342
- if (character < 48 || character > 102 || character > 57 && character < 65 || character > 70 && character < 97)
343
- break;
344
- return slice(index2, caret() + (count < 6 && peek() == 32 && next() == 32));
345
- }
346
- function delimiter(type) {
347
- while (next())
348
- switch (character) {
349
- // ] ) " '
350
- case type:
351
- return position;
352
- // " '
353
- case 34:
354
- case 39:
355
- if (type !== 34 && type !== 39)
356
- delimiter(character);
357
- break;
358
- // (
359
- case 40:
360
- if (type === 41)
361
- delimiter(type);
362
- break;
363
- // \
364
- case 92:
365
- next();
366
- break;
367
- }
368
- return position;
369
- }
370
- function commenter(type, index2) {
371
- while (next())
372
- if (type + character === 47 + 10)
373
- break;
374
- else if (type + character === 42 + 42 && peek() === 47)
375
- break;
376
- return "/*" + slice(index2, position - 1) + "*" + from(type === 47 ? type : next());
377
- }
378
- function identifier(index2) {
379
- while (!token(peek()))
380
- next();
381
- return slice(index2, position);
382
- }
383
- function compile(value) {
384
- return dealloc(parse("", null, null, null, [""], value = alloc(value), 0, [0], value));
385
- }
386
- function parse(value, root, parent, rule, rules, rulesets, pseudo, points, declarations) {
387
- var index2 = 0;
388
- var offset = 0;
389
- var length2 = pseudo;
390
- var atrule = 0;
391
- var property = 0;
392
- var previous = 0;
393
- var variable = 1;
394
- var scanning = 1;
395
- var ampersand = 1;
396
- var character2 = 0;
397
- var type = "";
398
- var props = rules;
399
- var children = rulesets;
400
- var reference = rule;
401
- var characters2 = type;
402
- while (scanning)
403
- switch (previous = character2, character2 = next()) {
404
- // (
405
- case 40:
406
- if (previous != 108 && charat(characters2, length2 - 1) == 58) {
407
- if (indexof(characters2 += replace(delimit(character2), "&", "&\f"), "&\f") != -1)
408
- ampersand = -1;
409
- break;
410
- }
411
- // " ' [
412
- case 34:
413
- case 39:
414
- case 91:
415
- characters2 += delimit(character2);
416
- break;
417
- // \t \n \r \s
418
- case 9:
419
- case 10:
420
- case 13:
421
- case 32:
422
- characters2 += whitespace(previous);
423
- break;
424
- // \
425
- case 92:
426
- characters2 += escaping(caret() - 1, 7);
427
- continue;
428
- // /
429
- case 47:
430
- switch (peek()) {
431
- case 42:
432
- case 47:
433
- append(comment(commenter(next(), caret()), root, parent), declarations);
434
- break;
435
- default:
436
- characters2 += "/";
437
- }
438
- break;
439
- // {
440
- case 123 * variable:
441
- points[index2++] = strlen(characters2) * ampersand;
442
- // } ; \0
443
- case 125 * variable:
444
- case 59:
445
- case 0:
446
- switch (character2) {
447
- // \0 }
448
- case 0:
449
- case 125:
450
- scanning = 0;
451
- // ;
452
- case 59 + offset:
453
- if (ampersand == -1) characters2 = replace(characters2, /\f/g, "");
454
- if (property > 0 && strlen(characters2) - length2)
455
- append(property > 32 ? declaration(characters2 + ";", rule, parent, length2 - 1) : declaration(replace(characters2, " ", "") + ";", rule, parent, length2 - 2), declarations);
456
- break;
457
- // @ ;
458
- case 59:
459
- characters2 += ";";
460
- // { rule/at-rule
461
- default:
462
- append(reference = ruleset(characters2, root, parent, index2, offset, rules, points, type, props = [], children = [], length2), rulesets);
463
- if (character2 === 123)
464
- if (offset === 0)
465
- parse(characters2, root, reference, reference, props, rulesets, length2, points, children);
466
- else
467
- switch (atrule === 99 && charat(characters2, 3) === 110 ? 100 : atrule) {
468
- // d l m s
469
- case 100:
470
- case 108:
471
- case 109:
472
- case 115:
473
- parse(value, reference, reference, rule && append(ruleset(value, reference, reference, 0, 0, rules, points, type, rules, props = [], length2), children), rules, children, length2, points, rule ? props : children);
474
- break;
475
- default:
476
- parse(characters2, reference, reference, reference, [""], children, 0, points, children);
477
- }
478
- }
479
- index2 = offset = property = 0, variable = ampersand = 1, type = characters2 = "", length2 = pseudo;
480
- break;
481
- // :
482
- case 58:
483
- length2 = 1 + strlen(characters2), property = previous;
484
- default:
485
- if (variable < 1) {
486
- if (character2 == 123)
487
- --variable;
488
- else if (character2 == 125 && variable++ == 0 && prev() == 125)
489
- continue;
490
- }
491
- switch (characters2 += from(character2), character2 * variable) {
492
- // &
493
- case 38:
494
- ampersand = offset > 0 ? 1 : (characters2 += "\f", -1);
495
- break;
496
- // ,
497
- case 44:
498
- points[index2++] = (strlen(characters2) - 1) * ampersand, ampersand = 1;
499
- break;
500
- // @
501
- case 64:
502
- if (peek() === 45)
503
- characters2 += delimit(next());
504
- atrule = peek(), offset = length2 = strlen(type = characters2 += identifier(caret())), character2++;
505
- break;
506
- // -
507
- case 45:
508
- if (previous === 45 && strlen(characters2) == 2)
509
- variable = 0;
510
- }
511
- }
512
- return rulesets;
513
- }
514
- function ruleset(value, root, parent, index2, offset, rules, points, type, props, children, length2) {
515
- var post = offset - 1;
516
- var rule = offset === 0 ? rules : [""];
517
- var size = sizeof(rule);
518
- for (var i = 0, j = 0, k = 0; i < index2; ++i)
519
- for (var x = 0, y = substr(value, post + 1, post = abs(j = points[i])), z = value; x < size; ++x)
520
- if (z = trim(j > 0 ? rule[x] + " " + y : replace(y, /&\f/g, rule[x])))
521
- props[k++] = z;
522
- return node(value, root, parent, offset === 0 ? RULESET : type, props, children, length2);
523
- }
524
- function comment(value, root, parent) {
525
- return node(value, root, parent, COMMENT, from(char()), substr(value, 2, -2), 0);
526
- }
527
- function declaration(value, root, parent, length2) {
528
- return node(value, root, parent, DECLARATION, substr(value, 0, length2), substr(value, length2 + 1, -1), length2);
529
- }
530
- function serialize(children, callback) {
531
- var output = "";
532
- var length2 = sizeof(children);
533
- for (var i = 0; i < length2; i++)
534
- output += callback(children[i], i, children, callback) || "";
535
- return output;
536
- }
537
- function stringify(element, index2, children, callback) {
538
- switch (element.type) {
539
- case LAYER:
540
- if (element.children.length) break;
541
- case IMPORT:
542
- case DECLARATION:
543
- return element.return = element.return || element.value;
544
- case COMMENT:
545
- return "";
546
- case KEYFRAMES:
547
- return element.return = element.value + "{" + serialize(element.children, callback) + "}";
548
- case RULESET:
549
- element.value = element.props.join(",");
550
- }
551
- return strlen(children = serialize(element.children, callback)) ? element.return = element.value + "{" + children + "}" : "";
552
- }
553
- function middleware(collection) {
554
- var length2 = sizeof(collection);
555
- return function(element, index2, children, callback) {
556
- var output = "";
557
- for (var i = 0; i < length2; i++)
558
- output += collection[i](element, index2, children, callback) || "";
559
- return output;
560
- };
561
- }
562
- function rulesheet(callback) {
563
- return function(element) {
564
- if (!element.root) {
565
- if (element = element.return)
566
- callback(element);
567
- }
568
- };
569
- }
570
- function memoize(fn) {
571
- var cache = /* @__PURE__ */ Object.create(null);
572
- return function(arg) {
573
- if (cache[arg] === void 0) cache[arg] = fn(arg);
574
- return cache[arg];
575
- };
576
- }
577
- var identifierWithPointTracking = function identifierWithPointTracking2(begin, points, index2) {
578
- var previous = 0;
579
- var character2 = 0;
580
- while (true) {
581
- previous = character2;
582
- character2 = peek();
583
- if (previous === 38 && character2 === 12) {
584
- points[index2] = 1;
585
- }
586
- if (token(character2)) {
587
- break;
588
- }
589
- next();
590
- }
591
- return slice(begin, position);
592
- };
593
- var toRules = function toRules2(parsed, points) {
594
- var index2 = -1;
595
- var character2 = 44;
596
- do {
597
- switch (token(character2)) {
598
- case 0:
599
- if (character2 === 38 && peek() === 12) {
600
- points[index2] = 1;
601
- }
602
- parsed[index2] += identifierWithPointTracking(position - 1, points, index2);
603
- break;
604
- case 2:
605
- parsed[index2] += delimit(character2);
606
- break;
607
- case 4:
608
- if (character2 === 44) {
609
- parsed[++index2] = peek() === 58 ? "&\f" : "";
610
- points[index2] = parsed[index2].length;
611
- break;
612
- }
613
- // fallthrough
614
- default:
615
- parsed[index2] += from(character2);
616
- }
617
- } while (character2 = next());
618
- return parsed;
619
- };
620
- var getRules = function getRules2(value, points) {
621
- return dealloc(toRules(alloc(value), points));
622
- };
623
- var fixedElements = /* @__PURE__ */ new WeakMap();
624
- var compat = function compat2(element) {
625
- if (element.type !== "rule" || !element.parent || // positive .length indicates that this rule contains pseudo
626
- // negative .length indicates that this rule has been already prefixed
627
- element.length < 1) {
628
- return;
629
- }
630
- var value = element.value;
631
- var parent = element.parent;
632
- var isImplicitRule = element.column === parent.column && element.line === parent.line;
633
- while (parent.type !== "rule") {
634
- parent = parent.parent;
635
- if (!parent) return;
636
- }
637
- if (element.props.length === 1 && value.charCodeAt(0) !== 58 && !fixedElements.get(parent)) {
638
- return;
639
- }
640
- if (isImplicitRule) {
641
- return;
642
- }
643
- fixedElements.set(element, true);
644
- var points = [];
645
- var rules = getRules(value, points);
646
- var parentRules = parent.props;
647
- for (var i = 0, k = 0; i < rules.length; i++) {
648
- for (var j = 0; j < parentRules.length; j++, k++) {
649
- element.props[k] = points[i] ? rules[i].replace(/&\f/g, parentRules[j]) : parentRules[j] + " " + rules[i];
650
- }
651
- }
652
- };
653
- var removeLabel = function removeLabel2(element) {
654
- if (element.type === "decl") {
655
- var value = element.value;
656
- if (
657
- // charcode for l
658
- value.charCodeAt(0) === 108 && // charcode for b
659
- value.charCodeAt(2) === 98
660
- ) {
661
- element["return"] = "";
662
- element.value = "";
663
- }
664
- }
665
- };
666
- function prefix(value, length2) {
667
- switch (hash(value, length2)) {
668
- // color-adjust
669
- case 5103:
670
- return WEBKIT + "print-" + value + value;
671
- // animation, animation-(delay|direction|duration|fill-mode|iteration-count|name|play-state|timing-function)
672
- case 5737:
673
- case 4201:
674
- case 3177:
675
- case 3433:
676
- case 1641:
677
- case 4457:
678
- case 2921:
679
- // text-decoration, filter, clip-path, backface-visibility, column, box-decoration-break
680
- case 5572:
681
- case 6356:
682
- case 5844:
683
- case 3191:
684
- case 6645:
685
- case 3005:
686
- // mask, mask-image, mask-(mode|clip|size), mask-(repeat|origin), mask-position, mask-composite,
687
- case 6391:
688
- case 5879:
689
- case 5623:
690
- case 6135:
691
- case 4599:
692
- case 4855:
693
- // background-clip, columns, column-(count|fill|gap|rule|rule-color|rule-style|rule-width|span|width)
694
- case 4215:
695
- case 6389:
696
- case 5109:
697
- case 5365:
698
- case 5621:
699
- case 3829:
700
- return WEBKIT + value + value;
701
- // appearance, user-select, transform, hyphens, text-size-adjust
702
- case 5349:
703
- case 4246:
704
- case 4810:
705
- case 6968:
706
- case 2756:
707
- return WEBKIT + value + MOZ + value + MS + value + value;
708
- // flex, flex-direction
709
- case 6828:
710
- case 4268:
711
- return WEBKIT + value + MS + value + value;
712
- // order
713
- case 6165:
714
- return WEBKIT + value + MS + "flex-" + value + value;
715
- // align-items
716
- case 5187:
717
- return WEBKIT + value + replace(value, /(\w+).+(:[^]+)/, WEBKIT + "box-$1$2" + MS + "flex-$1$2") + value;
718
- // align-self
719
- case 5443:
720
- return WEBKIT + value + MS + "flex-item-" + replace(value, /flex-|-self/, "") + value;
721
- // align-content
722
- case 4675:
723
- return WEBKIT + value + MS + "flex-line-pack" + replace(value, /align-content|flex-|-self/, "") + value;
724
- // flex-shrink
725
- case 5548:
726
- return WEBKIT + value + MS + replace(value, "shrink", "negative") + value;
727
- // flex-basis
728
- case 5292:
729
- return WEBKIT + value + MS + replace(value, "basis", "preferred-size") + value;
730
- // flex-grow
731
- case 6060:
732
- return WEBKIT + "box-" + replace(value, "-grow", "") + WEBKIT + value + MS + replace(value, "grow", "positive") + value;
733
- // transition
734
- case 4554:
735
- return WEBKIT + replace(value, /([^-])(transform)/g, "$1" + WEBKIT + "$2") + value;
736
- // cursor
737
- case 6187:
738
- return replace(replace(replace(value, /(zoom-|grab)/, WEBKIT + "$1"), /(image-set)/, WEBKIT + "$1"), value, "") + value;
739
- // background, background-image
740
- case 5495:
741
- case 3959:
742
- return replace(value, /(image-set\([^]*)/, WEBKIT + "$1$`$1");
743
- // justify-content
744
- case 4968:
745
- return replace(replace(value, /(.+:)(flex-)?(.*)/, WEBKIT + "box-pack:$3" + MS + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + WEBKIT + value + value;
746
- // (margin|padding)-inline-(start|end)
747
- case 4095:
748
- case 3583:
749
- case 4068:
750
- case 2532:
751
- return replace(value, /(.+)-inline(.+)/, WEBKIT + "$1$2") + value;
752
- // (min|max)?(width|height|inline-size|block-size)
753
- case 8116:
754
- case 7059:
755
- case 5753:
756
- case 5535:
757
- case 5445:
758
- case 5701:
759
- case 4933:
760
- case 4677:
761
- case 5533:
762
- case 5789:
763
- case 5021:
764
- case 4765:
765
- if (strlen(value) - 1 - length2 > 6) switch (charat(value, length2 + 1)) {
766
- // (m)ax-content, (m)in-content
767
- case 109:
768
- if (charat(value, length2 + 4) !== 45) break;
769
- // (f)ill-available, (f)it-content
770
- case 102:
771
- return replace(value, /(.+:)(.+)-([^]+)/, "$1" + WEBKIT + "$2-$3$1" + MOZ + (charat(value, length2 + 3) == 108 ? "$3" : "$2-$3")) + value;
772
- // (s)tretch
773
- case 115:
774
- return ~indexof(value, "stretch") ? prefix(replace(value, "stretch", "fill-available"), length2) + value : value;
775
- }
776
- break;
777
- // position: sticky
778
- case 4949:
779
- if (charat(value, length2 + 1) !== 115) break;
780
- // display: (flex|inline-flex)
781
- case 6444:
782
- switch (charat(value, strlen(value) - 3 - (~indexof(value, "!important") && 10))) {
783
- // stic(k)y
784
- case 107:
785
- return replace(value, ":", ":" + WEBKIT) + value;
786
- // (inline-)?fl(e)x
787
- case 101:
788
- return replace(value, /(.+:)([^;!]+)(;|!.+)?/, "$1" + WEBKIT + (charat(value, 14) === 45 ? "inline-" : "") + "box$3$1" + WEBKIT + "$2$3$1" + MS + "$2box$3") + value;
789
- }
790
- break;
791
- // writing-mode
792
- case 5936:
793
- switch (charat(value, length2 + 11)) {
794
- // vertical-l(r)
795
- case 114:
796
- return WEBKIT + value + MS + replace(value, /[svh]\w+-[tblr]{2}/, "tb") + value;
797
- // vertical-r(l)
798
- case 108:
799
- return WEBKIT + value + MS + replace(value, /[svh]\w+-[tblr]{2}/, "tb-rl") + value;
800
- // horizontal(-)tb
801
- case 45:
802
- return WEBKIT + value + MS + replace(value, /[svh]\w+-[tblr]{2}/, "lr") + value;
803
- }
804
- return WEBKIT + value + MS + value + value;
805
- }
806
- return value;
807
- }
808
- var prefixer = function prefixer2(element, index2, children, callback) {
809
- if (element.length > -1) {
810
- if (!element["return"]) switch (element.type) {
811
- case DECLARATION:
812
- element["return"] = prefix(element.value, element.length);
813
- break;
814
- case KEYFRAMES:
815
- return serialize([copy(element, {
816
- value: replace(element.value, "@", "@" + WEBKIT)
817
- })], callback);
818
- case RULESET:
819
- if (element.length) return combine(element.props, function(value) {
820
- switch (match(value, /(::plac\w+|:read-\w+)/)) {
821
- // :read-(only|write)
822
- case ":read-only":
823
- case ":read-write":
824
- return serialize([copy(element, {
825
- props: [replace(value, /:(read-\w+)/, ":" + MOZ + "$1")]
826
- })], callback);
827
- // :placeholder
828
- case "::placeholder":
829
- return serialize([copy(element, {
830
- props: [replace(value, /:(plac\w+)/, ":" + WEBKIT + "input-$1")]
831
- }), copy(element, {
832
- props: [replace(value, /:(plac\w+)/, ":" + MOZ + "$1")]
833
- }), copy(element, {
834
- props: [replace(value, /:(plac\w+)/, MS + "input-$1")]
835
- })], callback);
836
- }
837
- return "";
838
- });
839
- }
840
- }
841
- };
842
- var defaultStylisPlugins = [prefixer];
843
- var createCache = function createCache2(options2) {
844
- var key = options2.key;
845
- if (key === "css") {
846
- var ssrStyles = document.querySelectorAll("style[data-emotion]:not([data-s])");
847
- Array.prototype.forEach.call(ssrStyles, function(node2) {
848
- var dataEmotionAttribute = node2.getAttribute("data-emotion");
849
- if (dataEmotionAttribute.indexOf(" ") === -1) {
850
- return;
851
- }
852
- document.head.appendChild(node2);
853
- node2.setAttribute("data-s", "");
854
- });
855
- }
856
- var stylisPlugins = options2.stylisPlugins || defaultStylisPlugins;
857
- var inserted = {};
858
- var container;
859
- var nodesToHydrate = [];
860
- {
861
- container = options2.container || document.head;
862
- Array.prototype.forEach.call(
863
- // this means we will ignore elements which don't have a space in them which
864
- // means that the style elements we're looking at are only Emotion 11 server-rendered style elements
865
- document.querySelectorAll('style[data-emotion^="' + key + ' "]'),
866
- function(node2) {
867
- var attrib = node2.getAttribute("data-emotion").split(" ");
868
- for (var i = 1; i < attrib.length; i++) {
869
- inserted[attrib[i]] = true;
870
- }
871
- nodesToHydrate.push(node2);
872
- }
873
- );
874
- }
875
- var _insert;
876
- var omnipresentPlugins = [compat, removeLabel];
877
- {
878
- var currentSheet;
879
- var finalizingPlugins = [stringify, rulesheet(function(rule) {
880
- currentSheet.insert(rule);
881
- })];
882
- var serializer = middleware(omnipresentPlugins.concat(stylisPlugins, finalizingPlugins));
883
- var stylis = function stylis2(styles) {
884
- return serialize(compile(styles), serializer);
885
- };
886
- _insert = function insert(selector, serialized, sheet, shouldCache) {
887
- currentSheet = sheet;
888
- stylis(selector ? selector + "{" + serialized.styles + "}" : serialized.styles);
889
- if (shouldCache) {
890
- cache.inserted[serialized.name] = true;
891
- }
892
- };
893
- }
894
- var cache = {
895
- key,
896
- sheet: new StyleSheet({
897
- key,
898
- container,
899
- nonce: options2.nonce,
900
- speedy: options2.speedy,
901
- prepend: options2.prepend,
902
- insertionPoint: options2.insertionPoint
903
- }),
904
- nonce: options2.nonce,
905
- inserted,
906
- registered: {},
907
- insert: _insert
908
- };
909
- cache.sheet.hydrate(nodesToHydrate);
910
- return cache;
911
- };
912
- var reactIs = { exports: {} };
913
- var reactIs_production_min = {};
914
- /** @license React v16.13.1
915
- * react-is.production.min.js
916
- *
917
- * Copyright (c) Facebook, Inc. and its affiliates.
918
- *
919
- * This source code is licensed under the MIT license found in the
920
- * LICENSE file in the root directory of this source tree.
921
- */
922
- var hasRequiredReactIs_production_min;
923
- function requireReactIs_production_min() {
924
- if (hasRequiredReactIs_production_min) return reactIs_production_min;
925
- hasRequiredReactIs_production_min = 1;
926
- var b = "function" === typeof Symbol && 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, w2 = b ? Symbol.for("react.fundamental") : 60117, x = b ? Symbol.for("react.responder") : 60118, y = b ? Symbol.for("react.scope") : 60119;
927
- function z(a) {
928
- if ("object" === typeof a && null !== a) {
929
- var u = a.$$typeof;
930
- switch (u) {
931
- case c:
932
- switch (a = a.type, a) {
933
- case l:
934
- case m:
935
- case e:
936
- case g:
937
- case f:
938
- case p:
939
- return a;
940
- default:
941
- switch (a = a && a.$$typeof, a) {
942
- case k:
943
- case n:
944
- case t:
945
- case r:
946
- case h:
947
- return a;
948
- default:
949
- return u;
950
- }
951
- }
952
- case d:
953
- return u;
954
- }
955
- }
956
- }
957
- function A(a) {
958
- return z(a) === m;
959
- }
960
- reactIs_production_min.AsyncMode = l;
961
- reactIs_production_min.ConcurrentMode = m;
962
- reactIs_production_min.ContextConsumer = k;
963
- reactIs_production_min.ContextProvider = h;
964
- reactIs_production_min.Element = c;
965
- reactIs_production_min.ForwardRef = n;
966
- reactIs_production_min.Fragment = e;
967
- reactIs_production_min.Lazy = t;
968
- reactIs_production_min.Memo = r;
969
- reactIs_production_min.Portal = d;
970
- reactIs_production_min.Profiler = g;
971
- reactIs_production_min.StrictMode = f;
972
- reactIs_production_min.Suspense = p;
973
- reactIs_production_min.isAsyncMode = function(a) {
974
- return A(a) || z(a) === l;
975
- };
976
- reactIs_production_min.isConcurrentMode = A;
977
- reactIs_production_min.isContextConsumer = function(a) {
978
- return z(a) === k;
979
- };
980
- reactIs_production_min.isContextProvider = function(a) {
981
- return z(a) === h;
982
- };
983
- reactIs_production_min.isElement = function(a) {
984
- return "object" === typeof a && null !== a && a.$$typeof === c;
985
- };
986
- reactIs_production_min.isForwardRef = function(a) {
987
- return z(a) === n;
988
- };
989
- reactIs_production_min.isFragment = function(a) {
990
- return z(a) === e;
991
- };
992
- reactIs_production_min.isLazy = function(a) {
993
- return z(a) === t;
994
- };
995
- reactIs_production_min.isMemo = function(a) {
996
- return z(a) === r;
997
- };
998
- reactIs_production_min.isPortal = function(a) {
999
- return z(a) === d;
1000
- };
1001
- reactIs_production_min.isProfiler = function(a) {
1002
- return z(a) === g;
1003
- };
1004
- reactIs_production_min.isStrictMode = function(a) {
1005
- return z(a) === f;
1006
- };
1007
- reactIs_production_min.isSuspense = function(a) {
1008
- return z(a) === p;
1009
- };
1010
- reactIs_production_min.isValidElementType = function(a) {
1011
- 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 === w2 || a.$$typeof === x || a.$$typeof === y || a.$$typeof === v);
1012
- };
1013
- reactIs_production_min.typeOf = z;
1014
- return reactIs_production_min;
1015
- }
1016
- var reactIs_development = {};
1017
- /** @license React v16.13.1
1018
- * react-is.development.js
1019
- *
1020
- * Copyright (c) Facebook, Inc. and its affiliates.
1021
- *
1022
- * This source code is licensed under the MIT license found in the
1023
- * LICENSE file in the root directory of this source tree.
1024
- */
1025
- var hasRequiredReactIs_development;
1026
- function requireReactIs_development() {
1027
- if (hasRequiredReactIs_development) return reactIs_development;
1028
- hasRequiredReactIs_development = 1;
1029
- if (process.env.NODE_ENV !== "production") {
1030
- (function() {
1031
- var hasSymbol = typeof Symbol === "function" && Symbol.for;
1032
- var REACT_ELEMENT_TYPE = hasSymbol ? Symbol.for("react.element") : 60103;
1033
- var REACT_PORTAL_TYPE = hasSymbol ? Symbol.for("react.portal") : 60106;
1034
- var REACT_FRAGMENT_TYPE = hasSymbol ? Symbol.for("react.fragment") : 60107;
1035
- var REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for("react.strict_mode") : 60108;
1036
- var REACT_PROFILER_TYPE = hasSymbol ? Symbol.for("react.profiler") : 60114;
1037
- var REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for("react.provider") : 60109;
1038
- var REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for("react.context") : 60110;
1039
- var REACT_ASYNC_MODE_TYPE = hasSymbol ? Symbol.for("react.async_mode") : 60111;
1040
- var REACT_CONCURRENT_MODE_TYPE = hasSymbol ? Symbol.for("react.concurrent_mode") : 60111;
1041
- var REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for("react.forward_ref") : 60112;
1042
- var REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for("react.suspense") : 60113;
1043
- var REACT_SUSPENSE_LIST_TYPE = hasSymbol ? Symbol.for("react.suspense_list") : 60120;
1044
- var REACT_MEMO_TYPE = hasSymbol ? Symbol.for("react.memo") : 60115;
1045
- var REACT_LAZY_TYPE = hasSymbol ? Symbol.for("react.lazy") : 60116;
1046
- var REACT_BLOCK_TYPE = hasSymbol ? Symbol.for("react.block") : 60121;
1047
- var REACT_FUNDAMENTAL_TYPE = hasSymbol ? Symbol.for("react.fundamental") : 60117;
1048
- var REACT_RESPONDER_TYPE = hasSymbol ? Symbol.for("react.responder") : 60118;
1049
- var REACT_SCOPE_TYPE = hasSymbol ? Symbol.for("react.scope") : 60119;
1050
- function isValidElementType(type) {
1051
- return typeof type === "string" || typeof type === "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
1052
- 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);
1053
- }
1054
- function typeOf(object) {
1055
- if (typeof object === "object" && object !== null) {
1056
- var $$typeof = object.$$typeof;
1057
- switch ($$typeof) {
1058
- case REACT_ELEMENT_TYPE:
1059
- var type = object.type;
1060
- switch (type) {
1061
- case REACT_ASYNC_MODE_TYPE:
1062
- case REACT_CONCURRENT_MODE_TYPE:
1063
- case REACT_FRAGMENT_TYPE:
1064
- case REACT_PROFILER_TYPE:
1065
- case REACT_STRICT_MODE_TYPE:
1066
- case REACT_SUSPENSE_TYPE:
1067
- return type;
1068
- default:
1069
- var $$typeofType = type && type.$$typeof;
1070
- switch ($$typeofType) {
1071
- case REACT_CONTEXT_TYPE:
1072
- case REACT_FORWARD_REF_TYPE:
1073
- case REACT_LAZY_TYPE:
1074
- case REACT_MEMO_TYPE:
1075
- case REACT_PROVIDER_TYPE:
1076
- return $$typeofType;
1077
- default:
1078
- return $$typeof;
1079
- }
1080
- }
1081
- case REACT_PORTAL_TYPE:
1082
- return $$typeof;
1083
- }
1084
- }
1085
- return void 0;
1086
- }
1087
- var AsyncMode = REACT_ASYNC_MODE_TYPE;
1088
- var ConcurrentMode = REACT_CONCURRENT_MODE_TYPE;
1089
- var ContextConsumer = REACT_CONTEXT_TYPE;
1090
- var ContextProvider = REACT_PROVIDER_TYPE;
1091
- var Element2 = REACT_ELEMENT_TYPE;
1092
- var ForwardRef = REACT_FORWARD_REF_TYPE;
1093
- var Fragment = REACT_FRAGMENT_TYPE;
1094
- var Lazy = REACT_LAZY_TYPE;
1095
- var Memo = REACT_MEMO_TYPE;
1096
- var Portal = REACT_PORTAL_TYPE;
1097
- var Profiler = REACT_PROFILER_TYPE;
1098
- var StrictMode = REACT_STRICT_MODE_TYPE;
1099
- var Suspense = REACT_SUSPENSE_TYPE;
1100
- var hasWarnedAboutDeprecatedIsAsyncMode = false;
1101
- function isAsyncMode(object) {
1102
- {
1103
- if (!hasWarnedAboutDeprecatedIsAsyncMode) {
1104
- hasWarnedAboutDeprecatedIsAsyncMode = true;
1105
- 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.");
1106
- }
1107
- }
1108
- return isConcurrentMode(object) || typeOf(object) === REACT_ASYNC_MODE_TYPE;
1109
- }
1110
- function isConcurrentMode(object) {
1111
- return typeOf(object) === REACT_CONCURRENT_MODE_TYPE;
1112
- }
1113
- function isContextConsumer(object) {
1114
- return typeOf(object) === REACT_CONTEXT_TYPE;
1115
- }
1116
- function isContextProvider(object) {
1117
- return typeOf(object) === REACT_PROVIDER_TYPE;
1118
- }
1119
- function isElement2(object) {
1120
- return typeof object === "object" && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
1121
- }
1122
- function isForwardRef(object) {
1123
- return typeOf(object) === REACT_FORWARD_REF_TYPE;
1124
- }
1125
- function isFragment(object) {
1126
- return typeOf(object) === REACT_FRAGMENT_TYPE;
1127
- }
1128
- function isLazy(object) {
1129
- return typeOf(object) === REACT_LAZY_TYPE;
1130
- }
1131
- function isMemo(object) {
1132
- return typeOf(object) === REACT_MEMO_TYPE;
1133
- }
1134
- function isPortal(object) {
1135
- return typeOf(object) === REACT_PORTAL_TYPE;
1136
- }
1137
- function isProfiler(object) {
1138
- return typeOf(object) === REACT_PROFILER_TYPE;
1139
- }
1140
- function isStrictMode(object) {
1141
- return typeOf(object) === REACT_STRICT_MODE_TYPE;
1142
- }
1143
- function isSuspense(object) {
1144
- return typeOf(object) === REACT_SUSPENSE_TYPE;
1145
- }
1146
- reactIs_development.AsyncMode = AsyncMode;
1147
- reactIs_development.ConcurrentMode = ConcurrentMode;
1148
- reactIs_development.ContextConsumer = ContextConsumer;
1149
- reactIs_development.ContextProvider = ContextProvider;
1150
- reactIs_development.Element = Element2;
1151
- reactIs_development.ForwardRef = ForwardRef;
1152
- reactIs_development.Fragment = Fragment;
1153
- reactIs_development.Lazy = Lazy;
1154
- reactIs_development.Memo = Memo;
1155
- reactIs_development.Portal = Portal;
1156
- reactIs_development.Profiler = Profiler;
1157
- reactIs_development.StrictMode = StrictMode;
1158
- reactIs_development.Suspense = Suspense;
1159
- reactIs_development.isAsyncMode = isAsyncMode;
1160
- reactIs_development.isConcurrentMode = isConcurrentMode;
1161
- reactIs_development.isContextConsumer = isContextConsumer;
1162
- reactIs_development.isContextProvider = isContextProvider;
1163
- reactIs_development.isElement = isElement2;
1164
- reactIs_development.isForwardRef = isForwardRef;
1165
- reactIs_development.isFragment = isFragment;
1166
- reactIs_development.isLazy = isLazy;
1167
- reactIs_development.isMemo = isMemo;
1168
- reactIs_development.isPortal = isPortal;
1169
- reactIs_development.isProfiler = isProfiler;
1170
- reactIs_development.isStrictMode = isStrictMode;
1171
- reactIs_development.isSuspense = isSuspense;
1172
- reactIs_development.isValidElementType = isValidElementType;
1173
- reactIs_development.typeOf = typeOf;
1174
- })();
1175
- }
1176
- return reactIs_development;
1177
- }
1178
- var hasRequiredReactIs;
1179
- function requireReactIs() {
1180
- if (hasRequiredReactIs) return reactIs.exports;
1181
- hasRequiredReactIs = 1;
1182
- if (process.env.NODE_ENV === "production") {
1183
- reactIs.exports = requireReactIs_production_min();
1184
- } else {
1185
- reactIs.exports = requireReactIs_development();
1186
- }
1187
- return reactIs.exports;
1188
- }
1189
- var hoistNonReactStatics_cjs;
1190
- var hasRequiredHoistNonReactStatics_cjs;
1191
- function requireHoistNonReactStatics_cjs() {
1192
- if (hasRequiredHoistNonReactStatics_cjs) return hoistNonReactStatics_cjs;
1193
- hasRequiredHoistNonReactStatics_cjs = 1;
1194
- var reactIs2 = requireReactIs();
1195
- var REACT_STATICS = {
1196
- childContextTypes: true,
1197
- contextType: true,
1198
- contextTypes: true,
1199
- defaultProps: true,
1200
- displayName: true,
1201
- getDefaultProps: true,
1202
- getDerivedStateFromError: true,
1203
- getDerivedStateFromProps: true,
1204
- mixins: true,
1205
- propTypes: true,
1206
- type: true
1207
- };
1208
- var KNOWN_STATICS = {
1209
- name: true,
1210
- length: true,
1211
- prototype: true,
1212
- caller: true,
1213
- callee: true,
1214
- arguments: true,
1215
- arity: true
1216
- };
1217
- var FORWARD_REF_STATICS = {
1218
- "$$typeof": true,
1219
- render: true,
1220
- defaultProps: true,
1221
- displayName: true,
1222
- propTypes: true
1223
- };
1224
- var MEMO_STATICS = {
1225
- "$$typeof": true,
1226
- compare: true,
1227
- defaultProps: true,
1228
- displayName: true,
1229
- propTypes: true,
1230
- type: true
1231
- };
1232
- var TYPE_STATICS = {};
1233
- TYPE_STATICS[reactIs2.ForwardRef] = FORWARD_REF_STATICS;
1234
- TYPE_STATICS[reactIs2.Memo] = MEMO_STATICS;
1235
- function getStatics(component) {
1236
- if (reactIs2.isMemo(component)) {
1237
- return MEMO_STATICS;
1238
- }
1239
- return TYPE_STATICS[component["$$typeof"]] || REACT_STATICS;
1240
- }
1241
- var defineProperty = Object.defineProperty;
1242
- var getOwnPropertyNames = Object.getOwnPropertyNames;
1243
- var getOwnPropertySymbols = Object.getOwnPropertySymbols;
1244
- var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
1245
- var getPrototypeOf = Object.getPrototypeOf;
1246
- var objectPrototype = Object.prototype;
1247
- function hoistNonReactStatics(targetComponent, sourceComponent, blacklist) {
1248
- if (typeof sourceComponent !== "string") {
1249
- if (objectPrototype) {
1250
- var inheritedComponent = getPrototypeOf(sourceComponent);
1251
- if (inheritedComponent && inheritedComponent !== objectPrototype) {
1252
- hoistNonReactStatics(targetComponent, inheritedComponent, blacklist);
1253
- }
1254
- }
1255
- var keys = getOwnPropertyNames(sourceComponent);
1256
- if (getOwnPropertySymbols) {
1257
- keys = keys.concat(getOwnPropertySymbols(sourceComponent));
1258
- }
1259
- var targetStatics = getStatics(targetComponent);
1260
- var sourceStatics = getStatics(sourceComponent);
1261
- for (var i = 0; i < keys.length; ++i) {
1262
- var key = keys[i];
1263
- if (!KNOWN_STATICS[key] && !(blacklist && blacklist[key]) && !(sourceStatics && sourceStatics[key]) && !(targetStatics && targetStatics[key])) {
1264
- var descriptor = getOwnPropertyDescriptor(sourceComponent, key);
1265
- try {
1266
- defineProperty(targetComponent, key, descriptor);
1267
- } catch (e) {
1268
- }
1269
- }
1270
- }
1271
- }
1272
- return targetComponent;
1273
- }
1274
- hoistNonReactStatics_cjs = hoistNonReactStatics;
1275
- return hoistNonReactStatics_cjs;
1276
- }
1277
- requireHoistNonReactStatics_cjs();
1278
- var isBrowser = true;
1279
- function getRegisteredStyles(registered, registeredStyles, classNames2) {
1280
- var rawClassName = "";
1281
- classNames2.split(" ").forEach(function(className) {
1282
- if (registered[className] !== void 0) {
1283
- registeredStyles.push(registered[className] + ";");
1284
- } else if (className) {
1285
- rawClassName += className + " ";
1286
- }
1287
- });
1288
- return rawClassName;
1289
- }
1290
- var registerStyles = function registerStyles2(cache, serialized, isStringTag) {
1291
- var className = cache.key + "-" + serialized.name;
1292
- if (
1293
- // we only need to add the styles to the registered cache if the
1294
- // class name could be used further down
1295
- // the tree but if it's a string tag, we know it won't
1296
- // so we don't have to add it to registered cache.
1297
- // this improves memory usage since we can avoid storing the whole style string
1298
- (isStringTag === false || // we need to always store it if we're in compat mode and
1299
- // in node since emotion-server relies on whether a style is in
1300
- // the registered cache to know whether a style is global or not
1301
- // also, note that this check will be dead code eliminated in the browser
1302
- isBrowser === false) && cache.registered[className] === void 0
1303
- ) {
1304
- cache.registered[className] = serialized.styles;
1305
- }
1306
- };
1307
- var insertStyles = function insertStyles2(cache, serialized, isStringTag) {
1308
- registerStyles(cache, serialized, isStringTag);
1309
- var className = cache.key + "-" + serialized.name;
1310
- if (cache.inserted[serialized.name] === void 0) {
1311
- var current = serialized;
1312
- do {
1313
- cache.insert(serialized === current ? "." + className : "", current, cache.sheet, true);
1314
- current = current.next;
1315
- } while (current !== void 0);
1316
- }
1317
- };
1318
- function murmur2(str) {
1319
- var h = 0;
1320
- var k, i = 0, len = str.length;
1321
- for (; len >= 4; ++i, len -= 4) {
1322
- k = str.charCodeAt(i) & 255 | (str.charCodeAt(++i) & 255) << 8 | (str.charCodeAt(++i) & 255) << 16 | (str.charCodeAt(++i) & 255) << 24;
1323
- k = /* Math.imul(k, m): */
1324
- (k & 65535) * 1540483477 + ((k >>> 16) * 59797 << 16);
1325
- k ^= /* k >>> r: */
1326
- k >>> 24;
1327
- h = /* Math.imul(k, m): */
1328
- (k & 65535) * 1540483477 + ((k >>> 16) * 59797 << 16) ^ /* Math.imul(h, m): */
1329
- (h & 65535) * 1540483477 + ((h >>> 16) * 59797 << 16);
1330
- }
1331
- switch (len) {
1332
- case 3:
1333
- h ^= (str.charCodeAt(i + 2) & 255) << 16;
1334
- case 2:
1335
- h ^= (str.charCodeAt(i + 1) & 255) << 8;
1336
- case 1:
1337
- h ^= str.charCodeAt(i) & 255;
1338
- h = /* Math.imul(h, m): */
1339
- (h & 65535) * 1540483477 + ((h >>> 16) * 59797 << 16);
1340
- }
1341
- h ^= h >>> 13;
1342
- h = /* Math.imul(h, m): */
1343
- (h & 65535) * 1540483477 + ((h >>> 16) * 59797 << 16);
1344
- return ((h ^ h >>> 15) >>> 0).toString(36);
1345
- }
1346
- var unitlessKeys = {
1347
- animationIterationCount: 1,
1348
- aspectRatio: 1,
1349
- borderImageOutset: 1,
1350
- borderImageSlice: 1,
1351
- borderImageWidth: 1,
1352
- boxFlex: 1,
1353
- boxFlexGroup: 1,
1354
- boxOrdinalGroup: 1,
1355
- columnCount: 1,
1356
- columns: 1,
1357
- flex: 1,
1358
- flexGrow: 1,
1359
- flexPositive: 1,
1360
- flexShrink: 1,
1361
- flexNegative: 1,
1362
- flexOrder: 1,
1363
- gridRow: 1,
1364
- gridRowEnd: 1,
1365
- gridRowSpan: 1,
1366
- gridRowStart: 1,
1367
- gridColumn: 1,
1368
- gridColumnEnd: 1,
1369
- gridColumnSpan: 1,
1370
- gridColumnStart: 1,
1371
- msGridRow: 1,
1372
- msGridRowSpan: 1,
1373
- msGridColumn: 1,
1374
- msGridColumnSpan: 1,
1375
- fontWeight: 1,
1376
- lineHeight: 1,
1377
- opacity: 1,
1378
- order: 1,
1379
- orphans: 1,
1380
- scale: 1,
1381
- tabSize: 1,
1382
- widows: 1,
1383
- zIndex: 1,
1384
- zoom: 1,
1385
- WebkitLineClamp: 1,
1386
- // SVG-related properties
1387
- fillOpacity: 1,
1388
- floodOpacity: 1,
1389
- stopOpacity: 1,
1390
- strokeDasharray: 1,
1391
- strokeDashoffset: 1,
1392
- strokeMiterlimit: 1,
1393
- strokeOpacity: 1,
1394
- strokeWidth: 1
1395
- };
1396
- var hyphenateRegex = /[A-Z]|^ms/g;
1397
- var animationRegex = /_EMO_([^_]+?)_([^]*?)_EMO_/g;
1398
- var isCustomProperty = function isCustomProperty2(property) {
1399
- return property.charCodeAt(1) === 45;
1400
- };
1401
- var isProcessableValue = function isProcessableValue2(value) {
1402
- return value != null && typeof value !== "boolean";
1403
- };
1404
- var processStyleName = /* @__PURE__ */ memoize(function(styleName) {
1405
- return isCustomProperty(styleName) ? styleName : styleName.replace(hyphenateRegex, "-$&").toLowerCase();
1406
- });
1407
- var processStyleValue = function processStyleValue2(key, value) {
1408
- switch (key) {
1409
- case "animation":
1410
- case "animationName": {
1411
- if (typeof value === "string") {
1412
- return value.replace(animationRegex, function(match2, p1, p2) {
1413
- cursor = {
1414
- name: p1,
1415
- styles: p2,
1416
- next: cursor
1417
- };
1418
- return p1;
1419
- });
1420
- }
1421
- }
1422
- }
1423
- if (unitlessKeys[key] !== 1 && !isCustomProperty(key) && typeof value === "number" && value !== 0) {
1424
- return value + "px";
1425
- }
1426
- return value;
1427
- };
1428
- function handleInterpolation(mergedProps, registered, interpolation) {
1429
- if (interpolation == null) {
1430
- return "";
1431
- }
1432
- var componentSelector = interpolation;
1433
- if (componentSelector.__emotion_styles !== void 0) {
1434
- return componentSelector;
1435
- }
1436
- switch (typeof interpolation) {
1437
- case "boolean": {
1438
- return "";
1439
- }
1440
- case "object": {
1441
- var keyframes2 = interpolation;
1442
- if (keyframes2.anim === 1) {
1443
- cursor = {
1444
- name: keyframes2.name,
1445
- styles: keyframes2.styles,
1446
- next: cursor
1447
- };
1448
- return keyframes2.name;
1449
- }
1450
- var serializedStyles = interpolation;
1451
- if (serializedStyles.styles !== void 0) {
1452
- var next2 = serializedStyles.next;
1453
- if (next2 !== void 0) {
1454
- while (next2 !== void 0) {
1455
- cursor = {
1456
- name: next2.name,
1457
- styles: next2.styles,
1458
- next: cursor
1459
- };
1460
- next2 = next2.next;
1461
- }
1462
- }
1463
- var styles = serializedStyles.styles + ";";
1464
- return styles;
1465
- }
1466
- return createStringFromObject(mergedProps, registered, interpolation);
1467
- }
1468
- case "function": {
1469
- if (mergedProps !== void 0) {
1470
- var previousCursor = cursor;
1471
- var result = interpolation(mergedProps);
1472
- cursor = previousCursor;
1473
- return handleInterpolation(mergedProps, registered, result);
1474
- }
1475
- break;
1476
- }
1477
- }
1478
- var asString = interpolation;
1479
- {
1480
- return asString;
1481
- }
1482
- }
1483
- function createStringFromObject(mergedProps, registered, obj) {
1484
- var string = "";
1485
- if (Array.isArray(obj)) {
1486
- for (var i = 0; i < obj.length; i++) {
1487
- string += handleInterpolation(mergedProps, registered, obj[i]) + ";";
1488
- }
1489
- } else {
1490
- for (var key in obj) {
1491
- var value = obj[key];
1492
- if (typeof value !== "object") {
1493
- var asString = value;
1494
- if (isProcessableValue(asString)) {
1495
- string += processStyleName(key) + ":" + processStyleValue(key, asString) + ";";
1496
- }
1497
- } else {
1498
- if (Array.isArray(value) && typeof value[0] === "string" && registered == null) {
1499
- for (var _i = 0; _i < value.length; _i++) {
1500
- if (isProcessableValue(value[_i])) {
1501
- string += processStyleName(key) + ":" + processStyleValue(key, value[_i]) + ";";
1502
- }
1503
- }
1504
- } else {
1505
- var interpolated = handleInterpolation(mergedProps, registered, value);
1506
- switch (key) {
1507
- case "animation":
1508
- case "animationName": {
1509
- string += processStyleName(key) + ":" + interpolated + ";";
1510
- break;
1511
- }
1512
- default: {
1513
- string += key + "{" + interpolated + "}";
1514
- }
1515
- }
1516
- }
1517
- }
1518
- }
1519
- }
1520
- return string;
1521
- }
1522
- var labelPattern = /label:\s*([^\s;{]+)\s*(;|$)/g;
1523
- var cursor;
1524
- function serializeStyles(args, registered, mergedProps) {
1525
- if (args.length === 1 && typeof args[0] === "object" && args[0] !== null && args[0].styles !== void 0) {
1526
- return args[0];
1527
- }
1528
- var stringMode = true;
1529
- var styles = "";
1530
- cursor = void 0;
1531
- var strings = args[0];
1532
- if (strings == null || strings.raw === void 0) {
1533
- stringMode = false;
1534
- styles += handleInterpolation(mergedProps, registered, strings);
1535
- } else {
1536
- var asTemplateStringsArr = strings;
1537
- styles += asTemplateStringsArr[0];
1538
- }
1539
- for (var i = 1; i < args.length; i++) {
1540
- styles += handleInterpolation(mergedProps, registered, args[i]);
1541
- if (stringMode) {
1542
- var templateStringsArr = strings;
1543
- styles += templateStringsArr[i];
1544
- }
1545
- }
1546
- labelPattern.lastIndex = 0;
1547
- var identifierName = "";
1548
- var match2;
1549
- while ((match2 = labelPattern.exec(styles)) !== null) {
1550
- identifierName += "-" + match2[1];
1551
- }
1552
- var name = murmur2(styles) + identifierName;
1553
- return {
1554
- name,
1555
- styles,
1556
- next: cursor
1557
- };
1558
- }
1559
- var syncFallback = function syncFallback2(create) {
1560
- return create();
1561
- };
1562
- var useInsertionEffect = React["useInsertionEffect"] ? React["useInsertionEffect"] : false;
1563
- var useInsertionEffectAlwaysWithSyncFallback = useInsertionEffect || syncFallback;
1564
- var EmotionCacheContext = /* @__PURE__ */ React.createContext(
1565
- // we're doing this to avoid preconstruct's dead code elimination in this one case
1566
- // because this module is primarily intended for the browser and node
1567
- // but it's also required in react native and similar environments sometimes
1568
- // and we could have a special build just for that
1569
- // but this is much easier and the native packages
1570
- // might use a different theme context in the future anyway
1571
- typeof HTMLElement !== "undefined" ? /* @__PURE__ */ createCache({
1572
- key: "css"
1573
- }) : null
1574
- );
1575
- EmotionCacheContext.Provider;
1576
- var withEmotionCache = function withEmotionCache2(func) {
1577
- return /* @__PURE__ */ forwardRef(function(props, ref) {
1578
- var cache = useContext(EmotionCacheContext);
1579
- return func(props, cache, ref);
1580
- });
1581
- };
1582
- var ThemeContext = /* @__PURE__ */ React.createContext({});
1583
- var hasOwn = {}.hasOwnProperty;
1584
- var typePropName = "__EMOTION_TYPE_PLEASE_DO_NOT_USE__";
1585
- var createEmotionProps = function createEmotionProps2(type, props) {
1586
- var newProps = {};
1587
- for (var _key in props) {
1588
- if (hasOwn.call(props, _key)) {
1589
- newProps[_key] = props[_key];
1590
- }
1591
- }
1592
- newProps[typePropName] = type;
1593
- return newProps;
1594
- };
1595
- var Insertion = function Insertion2(_ref) {
1596
- var cache = _ref.cache, serialized = _ref.serialized, isStringTag = _ref.isStringTag;
1597
- registerStyles(cache, serialized, isStringTag);
1598
- useInsertionEffectAlwaysWithSyncFallback(function() {
1599
- return insertStyles(cache, serialized, isStringTag);
1600
- });
1601
- return null;
1602
- };
1603
- var Emotion = /* @__PURE__ */ withEmotionCache(function(props, cache, ref) {
1604
- var cssProp = props.css;
1605
- if (typeof cssProp === "string" && cache.registered[cssProp] !== void 0) {
1606
- cssProp = cache.registered[cssProp];
1607
- }
1608
- var WrappedComponent = props[typePropName];
1609
- var registeredStyles = [cssProp];
1610
- var className = "";
1611
- if (typeof props.className === "string") {
1612
- className = getRegisteredStyles(cache.registered, registeredStyles, props.className);
1613
- } else if (props.className != null) {
1614
- className = props.className + " ";
1615
- }
1616
- var serialized = serializeStyles(registeredStyles, void 0, React.useContext(ThemeContext));
1617
- className += cache.key + "-" + serialized.name;
1618
- var newProps = {};
1619
- for (var _key2 in props) {
1620
- if (hasOwn.call(props, _key2) && _key2 !== "css" && _key2 !== typePropName && true) {
1621
- newProps[_key2] = props[_key2];
1622
- }
1623
- }
1624
- newProps.className = className;
1625
- if (ref) {
1626
- newProps.ref = ref;
1627
- }
1628
- return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(Insertion, {
1629
- cache,
1630
- serialized,
1631
- isStringTag: typeof WrappedComponent === "string"
1632
- }), /* @__PURE__ */ React.createElement(WrappedComponent, newProps));
1633
- });
1634
- var Emotion$1 = Emotion;
1635
- var jsx = function jsx2(type, props) {
1636
- var args = arguments;
1637
- if (props == null || !hasOwn.call(props, "css")) {
1638
- return React.createElement.apply(void 0, args);
1639
- }
1640
- var argsLength = args.length;
1641
- var createElementArgArray = new Array(argsLength);
1642
- createElementArgArray[0] = Emotion$1;
1643
- createElementArgArray[1] = createEmotionProps(type, props);
1644
- for (var i = 2; i < argsLength; i++) {
1645
- createElementArgArray[i] = args[i];
1646
- }
1647
- return React.createElement.apply(null, createElementArgArray);
1648
- };
1649
- (function(_jsx) {
1650
- var JSX;
1651
- /* @__PURE__ */ (function(_JSX) {
1652
- })(JSX || (JSX = _jsx.JSX || (_jsx.JSX = {})));
1653
- })(jsx || (jsx = {}));
1654
- function css$2() {
1655
- for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
1656
- args[_key] = arguments[_key];
1657
- }
1658
- return serializeStyles(args);
1659
- }
1660
- function keyframes() {
1661
- var insertable = css$2.apply(void 0, arguments);
1662
- var name = "animation-" + insertable.name;
1663
- return {
1664
- name,
1665
- styles: "@keyframes " + name + "{" + insertable.styles + "}",
1666
- anim: 1,
1667
- toString: function toString() {
1668
- return "_EMO_" + this.name + "_" + this.styles + "_EMO_";
1669
- }
1670
- };
1671
- }
1672
- function _taggedTemplateLiteral(e, t) {
1673
- return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, {
1674
- raw: {
1675
- value: Object.freeze(t)
1676
- }
1677
- }));
1678
- }
1679
- const min = Math.min;
1680
- const max = Math.max;
1681
- const round = Math.round;
1682
- const floor = Math.floor;
1683
- const createCoords = (v) => ({
1684
- x: v,
1685
- y: v
1686
- });
1687
- function rectToClientRect(rect) {
1688
- const {
1689
- x,
1690
- y,
1691
- width,
1692
- height
1693
- } = rect;
1694
- return {
1695
- width,
1696
- height,
1697
- top: y,
1698
- left: x,
1699
- right: x + width,
1700
- bottom: y + height,
1701
- x,
1702
- y
1703
- };
1704
- }
1705
- function hasWindow() {
1706
- return typeof window !== "undefined";
1707
- }
1708
- function getNodeName(node2) {
1709
- if (isNode(node2)) {
1710
- return (node2.nodeName || "").toLowerCase();
1711
- }
1712
- return "#document";
1713
- }
1714
- function getWindow(node2) {
1715
- var _node$ownerDocument;
1716
- return (node2 == null || (_node$ownerDocument = node2.ownerDocument) == null ? void 0 : _node$ownerDocument.defaultView) || window;
1717
- }
1718
- function getDocumentElement(node2) {
1719
- var _ref;
1720
- return (_ref = (isNode(node2) ? node2.ownerDocument : node2.document) || window.document) == null ? void 0 : _ref.documentElement;
1721
- }
1722
- function isNode(value) {
1723
- if (!hasWindow()) {
1724
- return false;
1725
- }
1726
- return value instanceof Node || value instanceof getWindow(value).Node;
1727
- }
1728
- function isElement(value) {
1729
- if (!hasWindow()) {
1730
- return false;
1731
- }
1732
- return value instanceof Element || value instanceof getWindow(value).Element;
1733
- }
1734
- function isHTMLElement(value) {
1735
- if (!hasWindow()) {
1736
- return false;
1737
- }
1738
- return value instanceof HTMLElement || value instanceof getWindow(value).HTMLElement;
1739
- }
1740
- function isShadowRoot(value) {
1741
- if (!hasWindow() || typeof ShadowRoot === "undefined") {
1742
- return false;
1743
- }
1744
- return value instanceof ShadowRoot || value instanceof getWindow(value).ShadowRoot;
1745
- }
1746
- const invalidOverflowDisplayValues = /* @__PURE__ */ new Set(["inline", "contents"]);
1747
- function isOverflowElement(element) {
1748
- const {
1749
- overflow,
1750
- overflowX,
1751
- overflowY,
1752
- display
1753
- } = getComputedStyle$1(element);
1754
- return /auto|scroll|overlay|hidden|clip/.test(overflow + overflowY + overflowX) && !invalidOverflowDisplayValues.has(display);
1755
- }
1756
- function isWebKit() {
1757
- if (typeof CSS === "undefined" || !CSS.supports) return false;
1758
- return CSS.supports("-webkit-backdrop-filter", "none");
1759
- }
1760
- const lastTraversableNodeNames = /* @__PURE__ */ new Set(["html", "body", "#document"]);
1761
- function isLastTraversableNode(node2) {
1762
- return lastTraversableNodeNames.has(getNodeName(node2));
1763
- }
1764
- function getComputedStyle$1(element) {
1765
- return getWindow(element).getComputedStyle(element);
1766
- }
1767
- function getParentNode(node2) {
1768
- if (getNodeName(node2) === "html") {
1769
- return node2;
1770
- }
1771
- const result = (
1772
- // Step into the shadow DOM of the parent of a slotted node.
1773
- node2.assignedSlot || // DOM Element detected.
1774
- node2.parentNode || // ShadowRoot detected.
1775
- isShadowRoot(node2) && node2.host || // Fallback.
1776
- getDocumentElement(node2)
1777
- );
1778
- return isShadowRoot(result) ? result.host : result;
1779
- }
1780
- function getNearestOverflowAncestor(node2) {
1781
- const parentNode = getParentNode(node2);
1782
- if (isLastTraversableNode(parentNode)) {
1783
- return node2.ownerDocument ? node2.ownerDocument.body : node2.body;
1784
- }
1785
- if (isHTMLElement(parentNode) && isOverflowElement(parentNode)) {
1786
- return parentNode;
1787
- }
1788
- return getNearestOverflowAncestor(parentNode);
1789
- }
1790
- function getOverflowAncestors(node2, list, traverseIframes) {
1791
- var _node$ownerDocument2;
1792
- if (list === void 0) {
1793
- list = [];
1794
- }
1795
- if (traverseIframes === void 0) {
1796
- traverseIframes = true;
1797
- }
1798
- const scrollableAncestor = getNearestOverflowAncestor(node2);
1799
- const isBody = scrollableAncestor === ((_node$ownerDocument2 = node2.ownerDocument) == null ? void 0 : _node$ownerDocument2.body);
1800
- const win = getWindow(scrollableAncestor);
1801
- if (isBody) {
1802
- const frameElement = getFrameElement(win);
1803
- return list.concat(win, win.visualViewport || [], isOverflowElement(scrollableAncestor) ? scrollableAncestor : [], frameElement && traverseIframes ? getOverflowAncestors(frameElement) : []);
1804
- }
1805
- return list.concat(scrollableAncestor, getOverflowAncestors(scrollableAncestor, [], traverseIframes));
1806
- }
1807
- function getFrameElement(win) {
1808
- return win.parent && Object.getPrototypeOf(win.parent) ? win.frameElement : null;
1809
- }
1810
- function getCssDimensions(element) {
1811
- const css4 = getComputedStyle$1(element);
1812
- let width = parseFloat(css4.width) || 0;
1813
- let height = parseFloat(css4.height) || 0;
1814
- const hasOffset = isHTMLElement(element);
1815
- const offsetWidth = hasOffset ? element.offsetWidth : width;
1816
- const offsetHeight = hasOffset ? element.offsetHeight : height;
1817
- const shouldFallback = round(width) !== offsetWidth || round(height) !== offsetHeight;
1818
- if (shouldFallback) {
1819
- width = offsetWidth;
1820
- height = offsetHeight;
1821
- }
1822
- return {
1823
- width,
1824
- height,
1825
- $: shouldFallback
1826
- };
1827
- }
1828
- function unwrapElement(element) {
1829
- return !isElement(element) ? element.contextElement : element;
1830
- }
1831
- function getScale(element) {
1832
- const domElement = unwrapElement(element);
1833
- if (!isHTMLElement(domElement)) {
1834
- return createCoords(1);
1835
- }
1836
- const rect = domElement.getBoundingClientRect();
1837
- const {
1838
- width,
1839
- height,
1840
- $
1841
- } = getCssDimensions(domElement);
1842
- let x = ($ ? round(rect.width) : rect.width) / width;
1843
- let y = ($ ? round(rect.height) : rect.height) / height;
1844
- if (!x || !Number.isFinite(x)) {
1845
- x = 1;
1846
- }
1847
- if (!y || !Number.isFinite(y)) {
1848
- y = 1;
1849
- }
1850
- return {
1851
- x,
1852
- y
1853
- };
1854
- }
1855
- const noOffsets = /* @__PURE__ */ createCoords(0);
1856
- function getVisualOffsets(element) {
1857
- const win = getWindow(element);
1858
- if (!isWebKit() || !win.visualViewport) {
1859
- return noOffsets;
1860
- }
1861
- return {
1862
- x: win.visualViewport.offsetLeft,
1863
- y: win.visualViewport.offsetTop
1864
- };
1865
- }
1866
- function shouldAddVisualOffsets(element, isFixed, floatingOffsetParent) {
1867
- {
1868
- return false;
1869
- }
1870
- }
1871
- function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetParent) {
1872
- if (includeScale === void 0) {
1873
- includeScale = false;
1874
- }
1875
- const clientRect = element.getBoundingClientRect();
1876
- const domElement = unwrapElement(element);
1877
- let scale = createCoords(1);
1878
- if (includeScale) {
1879
- {
1880
- scale = getScale(element);
1881
- }
1882
- }
1883
- const visualOffsets = shouldAddVisualOffsets() ? getVisualOffsets(domElement) : createCoords(0);
1884
- let x = (clientRect.left + visualOffsets.x) / scale.x;
1885
- let y = (clientRect.top + visualOffsets.y) / scale.y;
1886
- let width = clientRect.width / scale.x;
1887
- let height = clientRect.height / scale.y;
1888
- if (domElement) {
1889
- const win = getWindow(domElement);
1890
- const offsetWin = offsetParent;
1891
- let currentWin = win;
1892
- let currentIFrame = getFrameElement(currentWin);
1893
- while (currentIFrame && offsetParent && offsetWin !== currentWin) {
1894
- const iframeScale = getScale(currentIFrame);
1895
- const iframeRect = currentIFrame.getBoundingClientRect();
1896
- const css4 = getComputedStyle$1(currentIFrame);
1897
- const left = iframeRect.left + (currentIFrame.clientLeft + parseFloat(css4.paddingLeft)) * iframeScale.x;
1898
- const top = iframeRect.top + (currentIFrame.clientTop + parseFloat(css4.paddingTop)) * iframeScale.y;
1899
- x *= iframeScale.x;
1900
- y *= iframeScale.y;
1901
- width *= iframeScale.x;
1902
- height *= iframeScale.y;
1903
- x += left;
1904
- y += top;
1905
- currentWin = getWindow(currentIFrame);
1906
- currentIFrame = getFrameElement(currentWin);
1907
- }
1908
- }
1909
- return rectToClientRect({
1910
- width,
1911
- height,
1912
- x,
1913
- y
1914
- });
1915
- }
1916
- function rectsAreEqual(a, b) {
1917
- return a.x === b.x && a.y === b.y && a.width === b.width && a.height === b.height;
1918
- }
1919
- function observeMove(element, onMove) {
1920
- let io = null;
1921
- let timeoutId;
1922
- const root = getDocumentElement(element);
1923
- function cleanup() {
1924
- var _io;
1925
- clearTimeout(timeoutId);
1926
- (_io = io) == null || _io.disconnect();
1927
- io = null;
1928
- }
1929
- function refresh(skip, threshold) {
1930
- if (skip === void 0) {
1931
- skip = false;
1932
- }
1933
- if (threshold === void 0) {
1934
- threshold = 1;
1935
- }
1936
- cleanup();
1937
- const elementRectForRootMargin = element.getBoundingClientRect();
1938
- const {
1939
- left,
1940
- top,
1941
- width,
1942
- height
1943
- } = elementRectForRootMargin;
1944
- if (!skip) {
1945
- onMove();
1946
- }
1947
- if (!width || !height) {
1948
- return;
1949
- }
1950
- const insetTop = floor(top);
1951
- const insetRight = floor(root.clientWidth - (left + width));
1952
- const insetBottom = floor(root.clientHeight - (top + height));
1953
- const insetLeft = floor(left);
1954
- const rootMargin = -insetTop + "px " + -insetRight + "px " + -insetBottom + "px " + -insetLeft + "px";
1955
- const options2 = {
1956
- rootMargin,
1957
- threshold: max(0, min(1, threshold)) || 1
1958
- };
1959
- let isFirstUpdate = true;
1960
- function handleObserve(entries) {
1961
- const ratio = entries[0].intersectionRatio;
1962
- if (ratio !== threshold) {
1963
- if (!isFirstUpdate) {
1964
- return refresh();
1965
- }
1966
- if (!ratio) {
1967
- timeoutId = setTimeout(() => {
1968
- refresh(false, 1e-7);
1969
- }, 1e3);
1970
- } else {
1971
- refresh(false, ratio);
1972
- }
1973
- }
1974
- if (ratio === 1 && !rectsAreEqual(elementRectForRootMargin, element.getBoundingClientRect())) {
1975
- refresh();
1976
- }
1977
- isFirstUpdate = false;
1978
- }
1979
- try {
1980
- io = new IntersectionObserver(handleObserve, {
1981
- ...options2,
1982
- // Handle <iframe>s
1983
- root: root.ownerDocument
1984
- });
1985
- } catch (_e) {
1986
- io = new IntersectionObserver(handleObserve, options2);
1987
- }
1988
- io.observe(element);
1989
- }
1990
- refresh(true);
1991
- return cleanup;
1992
- }
1993
- function autoUpdate(reference, floating, update, options2) {
1994
- if (options2 === void 0) {
1995
- options2 = {};
1996
- }
1997
- const {
1998
- ancestorScroll = true,
1999
- ancestorResize = true,
2000
- elementResize = typeof ResizeObserver === "function",
2001
- layoutShift = typeof IntersectionObserver === "function",
2002
- animationFrame = false
2003
- } = options2;
2004
- const referenceEl = unwrapElement(reference);
2005
- const ancestors = ancestorScroll || ancestorResize ? [...referenceEl ? getOverflowAncestors(referenceEl) : [], ...getOverflowAncestors(floating)] : [];
2006
- ancestors.forEach((ancestor) => {
2007
- ancestorScroll && ancestor.addEventListener("scroll", update, {
2008
- passive: true
2009
- });
2010
- ancestorResize && ancestor.addEventListener("resize", update);
2011
- });
2012
- const cleanupIo = referenceEl && layoutShift ? observeMove(referenceEl, update) : null;
2013
- let reobserveFrame = -1;
2014
- let resizeObserver = null;
2015
- if (elementResize) {
2016
- resizeObserver = new ResizeObserver((_ref) => {
2017
- let [firstEntry] = _ref;
2018
- if (firstEntry && firstEntry.target === referenceEl && resizeObserver) {
2019
- resizeObserver.unobserve(floating);
2020
- cancelAnimationFrame(reobserveFrame);
2021
- reobserveFrame = requestAnimationFrame(() => {
2022
- var _resizeObserver;
2023
- (_resizeObserver = resizeObserver) == null || _resizeObserver.observe(floating);
2024
- });
2025
- }
2026
- update();
2027
- });
2028
- if (referenceEl && !animationFrame) {
2029
- resizeObserver.observe(referenceEl);
2030
- }
2031
- resizeObserver.observe(floating);
2032
- }
2033
- let frameId;
2034
- let prevRefRect = animationFrame ? getBoundingClientRect(reference) : null;
2035
- if (animationFrame) {
2036
- frameLoop();
2037
- }
2038
- function frameLoop() {
2039
- const nextRefRect = getBoundingClientRect(reference);
2040
- if (prevRefRect && !rectsAreEqual(prevRefRect, nextRefRect)) {
2041
- update();
2042
- }
2043
- prevRefRect = nextRefRect;
2044
- frameId = requestAnimationFrame(frameLoop);
2045
- }
2046
- update();
2047
- return () => {
2048
- var _resizeObserver2;
2049
- ancestors.forEach((ancestor) => {
2050
- ancestorScroll && ancestor.removeEventListener("scroll", update);
2051
- ancestorResize && ancestor.removeEventListener("resize", update);
2052
- });
2053
- cleanupIo == null || cleanupIo();
2054
- (_resizeObserver2 = resizeObserver) == null || _resizeObserver2.disconnect();
2055
- resizeObserver = null;
2056
- if (animationFrame) {
2057
- cancelAnimationFrame(frameId);
2058
- }
2059
- };
2060
- }
2061
- var index = useLayoutEffect;
2062
- var _excluded$4 = ["className", "clearValue", "cx", "getStyles", "getClassNames", "getValue", "hasValue", "isMulti", "isRtl", "options", "selectOption", "selectProps", "setValue", "theme"];
2063
- var noop = function noop2() {
2064
- };
2065
- function applyPrefixToName(prefix2, name) {
2066
- if (!name) {
2067
- return prefix2;
2068
- } else if (name[0] === "-") {
2069
- return prefix2 + name;
2070
- } else {
2071
- return prefix2 + "__" + name;
2072
- }
2073
- }
2074
- function classNames(prefix2, state) {
2075
- for (var _len = arguments.length, classNameList = new Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {
2076
- classNameList[_key - 2] = arguments[_key];
2077
- }
2078
- var arr = [].concat(classNameList);
2079
- if (state && prefix2) {
2080
- for (var key in state) {
2081
- if (state.hasOwnProperty(key) && state[key]) {
2082
- arr.push("".concat(applyPrefixToName(prefix2, key)));
2083
- }
2084
- }
2085
- }
2086
- return arr.filter(function(i) {
2087
- return i;
2088
- }).map(function(i) {
2089
- return String(i).trim();
2090
- }).join(" ");
2091
- }
2092
- var cleanValue = function cleanValue2(value) {
2093
- if (isArray(value)) return value.filter(Boolean);
2094
- if (_typeof(value) === "object" && value !== null) return [value];
2095
- return [];
2096
- };
2097
- var cleanCommonProps = function cleanCommonProps2(props) {
2098
- props.className;
2099
- props.clearValue;
2100
- props.cx;
2101
- props.getStyles;
2102
- props.getClassNames;
2103
- props.getValue;
2104
- props.hasValue;
2105
- props.isMulti;
2106
- props.isRtl;
2107
- props.options;
2108
- props.selectOption;
2109
- props.selectProps;
2110
- props.setValue;
2111
- props.theme;
2112
- var innerProps = _objectWithoutProperties(props, _excluded$4);
2113
- return _objectSpread2({}, innerProps);
2114
- };
2115
- var getStyleProps = function getStyleProps2(props, name, classNamesState) {
2116
- var cx = props.cx, getStyles = props.getStyles, getClassNames = props.getClassNames, className = props.className;
2117
- return {
2118
- css: getStyles(name, props),
2119
- className: cx(classNamesState !== null && classNamesState !== void 0 ? classNamesState : {}, getClassNames(name, props), className)
2120
- };
2121
- };
2122
- function handleInputChange(inputValue, actionMeta, onInputChange) {
2123
- if (onInputChange) {
2124
- var _newValue = onInputChange(inputValue, actionMeta);
2125
- if (typeof _newValue === "string") return _newValue;
2126
- }
2127
- return inputValue;
2128
- }
2129
- function isDocumentElement(el) {
2130
- return [document.documentElement, document.body, window].indexOf(el) > -1;
2131
- }
2132
- function normalizedHeight(el) {
2133
- if (isDocumentElement(el)) {
2134
- return window.innerHeight;
2135
- }
2136
- return el.clientHeight;
2137
- }
2138
- function getScrollTop(el) {
2139
- if (isDocumentElement(el)) {
2140
- return window.pageYOffset;
2141
- }
2142
- return el.scrollTop;
2143
- }
2144
- function scrollTo(el, top) {
2145
- if (isDocumentElement(el)) {
2146
- window.scrollTo(0, top);
2147
- return;
2148
- }
2149
- el.scrollTop = top;
2150
- }
2151
- function getScrollParent(element) {
2152
- var style = getComputedStyle(element);
2153
- var excludeStaticParent = style.position === "absolute";
2154
- var overflowRx = /(auto|scroll)/;
2155
- if (style.position === "fixed") return document.documentElement;
2156
- for (var parent = element; parent = parent.parentElement; ) {
2157
- style = getComputedStyle(parent);
2158
- if (excludeStaticParent && style.position === "static") {
2159
- continue;
2160
- }
2161
- if (overflowRx.test(style.overflow + style.overflowY + style.overflowX)) {
2162
- return parent;
2163
- }
2164
- }
2165
- return document.documentElement;
2166
- }
2167
- function easeOutCubic(t, b, c, d) {
2168
- return c * ((t = t / d - 1) * t * t + 1) + b;
2169
- }
2170
- function animatedScrollTo(element, to) {
2171
- var duration = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : 200;
2172
- var callback = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : noop;
2173
- var start = getScrollTop(element);
2174
- var change = to - start;
2175
- var increment = 10;
2176
- var currentTime = 0;
2177
- function animateScroll() {
2178
- currentTime += increment;
2179
- var val = easeOutCubic(currentTime, start, change, duration);
2180
- scrollTo(element, val);
2181
- if (currentTime < duration) {
2182
- window.requestAnimationFrame(animateScroll);
2183
- } else {
2184
- callback(element);
2185
- }
2186
- }
2187
- animateScroll();
2188
- }
2189
- function scrollIntoView(menuEl, focusedEl) {
2190
- var menuRect = menuEl.getBoundingClientRect();
2191
- var focusedRect = focusedEl.getBoundingClientRect();
2192
- var overScroll = focusedEl.offsetHeight / 3;
2193
- if (focusedRect.bottom + overScroll > menuRect.bottom) {
2194
- scrollTo(menuEl, Math.min(focusedEl.offsetTop + focusedEl.clientHeight - menuEl.offsetHeight + overScroll, menuEl.scrollHeight));
2195
- } else if (focusedRect.top - overScroll < menuRect.top) {
2196
- scrollTo(menuEl, Math.max(focusedEl.offsetTop - overScroll, 0));
2197
- }
2198
- }
2199
- function getBoundingClientObj(element) {
2200
- var rect = element.getBoundingClientRect();
2201
- return {
2202
- bottom: rect.bottom,
2203
- height: rect.height,
2204
- left: rect.left,
2205
- right: rect.right,
2206
- top: rect.top,
2207
- width: rect.width
2208
- };
2209
- }
2210
- function isTouchCapable() {
2211
- try {
2212
- document.createEvent("TouchEvent");
2213
- return true;
2214
- } catch (e) {
2215
- return false;
2216
- }
2217
- }
2218
- function isMobileDevice() {
2219
- try {
2220
- return /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);
2221
- } catch (e) {
2222
- return false;
2223
- }
2224
- }
2225
- var passiveOptionAccessed = false;
2226
- var options = {
2227
- get passive() {
2228
- return passiveOptionAccessed = true;
2229
- }
2230
- };
2231
- var w = typeof window !== "undefined" ? window : {};
2232
- if (w.addEventListener && w.removeEventListener) {
2233
- w.addEventListener("p", noop, options);
2234
- w.removeEventListener("p", noop, false);
2235
- }
2236
- var supportsPassiveEvents = passiveOptionAccessed;
2237
- function notNullish(item) {
2238
- return item != null;
2239
- }
2240
- function isArray(arg) {
2241
- return Array.isArray(arg);
2242
- }
2243
- function valueTernary(isMulti, multiValue, singleValue) {
2244
- return isMulti ? multiValue : singleValue;
2245
- }
2246
- function singleValueAsValue(singleValue) {
2247
- return singleValue;
2248
- }
2249
- function multiValueAsValue(multiValue) {
2250
- return multiValue;
2251
- }
2252
- var removeProps = function removeProps2(propsObj) {
2253
- for (var _len2 = arguments.length, properties = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {
2254
- properties[_key2 - 1] = arguments[_key2];
2255
- }
2256
- var propsMap = Object.entries(propsObj).filter(function(_ref) {
2257
- var _ref22 = _slicedToArray(_ref, 1), key = _ref22[0];
2258
- return !properties.includes(key);
2259
- });
2260
- return propsMap.reduce(function(newProps, _ref3) {
2261
- var _ref4 = _slicedToArray(_ref3, 2), key = _ref4[0], val = _ref4[1];
2262
- newProps[key] = val;
2263
- return newProps;
2264
- }, {});
2265
- };
2266
- var _excluded$3 = ["children", "innerProps"], _excluded2$1 = ["children", "innerProps"];
2267
- function getMenuPlacement(_ref) {
2268
- var preferredMaxHeight = _ref.maxHeight, menuEl = _ref.menuEl, minHeight = _ref.minHeight, preferredPlacement = _ref.placement, shouldScroll = _ref.shouldScroll, isFixedPosition = _ref.isFixedPosition, controlHeight = _ref.controlHeight;
2269
- var scrollParent = getScrollParent(menuEl);
2270
- var defaultState = {
2271
- placement: "bottom",
2272
- maxHeight: preferredMaxHeight
2273
- };
2274
- if (!menuEl || !menuEl.offsetParent) return defaultState;
2275
- var _scrollParent$getBoun = scrollParent.getBoundingClientRect(), scrollHeight = _scrollParent$getBoun.height;
2276
- var _menuEl$getBoundingCl = menuEl.getBoundingClientRect(), menuBottom = _menuEl$getBoundingCl.bottom, menuHeight = _menuEl$getBoundingCl.height, menuTop = _menuEl$getBoundingCl.top;
2277
- var _menuEl$offsetParent$ = menuEl.offsetParent.getBoundingClientRect(), containerTop = _menuEl$offsetParent$.top;
2278
- var viewHeight = isFixedPosition ? window.innerHeight : normalizedHeight(scrollParent);
2279
- var scrollTop = getScrollTop(scrollParent);
2280
- var marginBottom = parseInt(getComputedStyle(menuEl).marginBottom, 10);
2281
- var marginTop = parseInt(getComputedStyle(menuEl).marginTop, 10);
2282
- var viewSpaceAbove = containerTop - marginTop;
2283
- var viewSpaceBelow = viewHeight - menuTop;
2284
- var scrollSpaceAbove = viewSpaceAbove + scrollTop;
2285
- var scrollSpaceBelow = scrollHeight - scrollTop - menuTop;
2286
- var scrollDown = menuBottom - viewHeight + scrollTop + marginBottom;
2287
- var scrollUp = scrollTop + menuTop - marginTop;
2288
- var scrollDuration = 160;
2289
- switch (preferredPlacement) {
2290
- case "auto":
2291
- case "bottom":
2292
- if (viewSpaceBelow >= menuHeight) {
2293
- return {
2294
- placement: "bottom",
2295
- maxHeight: preferredMaxHeight
2296
- };
2297
- }
2298
- if (scrollSpaceBelow >= menuHeight && !isFixedPosition) {
2299
- if (shouldScroll) {
2300
- animatedScrollTo(scrollParent, scrollDown, scrollDuration);
2301
- }
2302
- return {
2303
- placement: "bottom",
2304
- maxHeight: preferredMaxHeight
2305
- };
2306
- }
2307
- if (!isFixedPosition && scrollSpaceBelow >= minHeight || isFixedPosition && viewSpaceBelow >= minHeight) {
2308
- if (shouldScroll) {
2309
- animatedScrollTo(scrollParent, scrollDown, scrollDuration);
2310
- }
2311
- var constrainedHeight = isFixedPosition ? viewSpaceBelow - marginBottom : scrollSpaceBelow - marginBottom;
2312
- return {
2313
- placement: "bottom",
2314
- maxHeight: constrainedHeight
2315
- };
2316
- }
2317
- if (preferredPlacement === "auto" || isFixedPosition) {
2318
- var _constrainedHeight = preferredMaxHeight;
2319
- var spaceAbove = isFixedPosition ? viewSpaceAbove : scrollSpaceAbove;
2320
- if (spaceAbove >= minHeight) {
2321
- _constrainedHeight = Math.min(spaceAbove - marginBottom - controlHeight, preferredMaxHeight);
2322
- }
2323
- return {
2324
- placement: "top",
2325
- maxHeight: _constrainedHeight
2326
- };
2327
- }
2328
- if (preferredPlacement === "bottom") {
2329
- if (shouldScroll) {
2330
- scrollTo(scrollParent, scrollDown);
2331
- }
2332
- return {
2333
- placement: "bottom",
2334
- maxHeight: preferredMaxHeight
2335
- };
2336
- }
2337
- break;
2338
- case "top":
2339
- if (viewSpaceAbove >= menuHeight) {
2340
- return {
2341
- placement: "top",
2342
- maxHeight: preferredMaxHeight
2343
- };
2344
- }
2345
- if (scrollSpaceAbove >= menuHeight && !isFixedPosition) {
2346
- if (shouldScroll) {
2347
- animatedScrollTo(scrollParent, scrollUp, scrollDuration);
2348
- }
2349
- return {
2350
- placement: "top",
2351
- maxHeight: preferredMaxHeight
2352
- };
2353
- }
2354
- if (!isFixedPosition && scrollSpaceAbove >= minHeight || isFixedPosition && viewSpaceAbove >= minHeight) {
2355
- var _constrainedHeight2 = preferredMaxHeight;
2356
- if (!isFixedPosition && scrollSpaceAbove >= minHeight || isFixedPosition && viewSpaceAbove >= minHeight) {
2357
- _constrainedHeight2 = isFixedPosition ? viewSpaceAbove - marginTop : scrollSpaceAbove - marginTop;
2358
- }
2359
- if (shouldScroll) {
2360
- animatedScrollTo(scrollParent, scrollUp, scrollDuration);
2361
- }
2362
- return {
2363
- placement: "top",
2364
- maxHeight: _constrainedHeight2
2365
- };
2366
- }
2367
- return {
2368
- placement: "bottom",
2369
- maxHeight: preferredMaxHeight
2370
- };
2371
- default:
2372
- throw new Error('Invalid placement provided "'.concat(preferredPlacement, '".'));
2373
- }
2374
- return defaultState;
2375
- }
2376
- function alignToControl(placement) {
2377
- var placementToCSSProp = {
2378
- bottom: "top",
2379
- top: "bottom"
2380
- };
2381
- return placement ? placementToCSSProp[placement] : "bottom";
2382
- }
2383
- var coercePlacement = function coercePlacement2(p) {
2384
- return p === "auto" ? "bottom" : p;
2385
- };
2386
- var menuCSS = function menuCSS2(_ref22, unstyled) {
2387
- var _objectSpread2$1;
2388
- var placement = _ref22.placement, _ref2$theme = _ref22.theme, borderRadius = _ref2$theme.borderRadius, spacing = _ref2$theme.spacing, colors = _ref2$theme.colors;
2389
- return _objectSpread2((_objectSpread2$1 = {
2390
- label: "menu"
2391
- }, _defineProperty(_objectSpread2$1, alignToControl(placement), "100%"), _defineProperty(_objectSpread2$1, "position", "absolute"), _defineProperty(_objectSpread2$1, "width", "100%"), _defineProperty(_objectSpread2$1, "zIndex", 1), _objectSpread2$1), unstyled ? {} : {
2392
- backgroundColor: colors.neutral0,
2393
- borderRadius,
2394
- boxShadow: "0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",
2395
- marginBottom: spacing.menuGutter,
2396
- marginTop: spacing.menuGutter
2397
- });
2398
- };
2399
- var PortalPlacementContext = /* @__PURE__ */ createContext(null);
2400
- var MenuPlacer = function MenuPlacer2(props) {
2401
- var children = props.children, minMenuHeight = props.minMenuHeight, maxMenuHeight = props.maxMenuHeight, menuPlacement = props.menuPlacement, menuPosition = props.menuPosition, menuShouldScrollIntoView = props.menuShouldScrollIntoView, theme = props.theme;
2402
- var _ref3 = useContext(PortalPlacementContext) || {}, setPortalPlacement = _ref3.setPortalPlacement;
2403
- var ref = useRef(null);
2404
- var _useState = useState(maxMenuHeight), _useState2 = _slicedToArray(_useState, 2), maxHeight = _useState2[0], setMaxHeight = _useState2[1];
2405
- var _useState3 = useState(null), _useState4 = _slicedToArray(_useState3, 2), placement = _useState4[0], setPlacement = _useState4[1];
2406
- var controlHeight = theme.spacing.controlHeight;
2407
- index(function() {
2408
- var menuEl = ref.current;
2409
- if (!menuEl) return;
2410
- var isFixedPosition = menuPosition === "fixed";
2411
- var shouldScroll = menuShouldScrollIntoView && !isFixedPosition;
2412
- var state = getMenuPlacement({
2413
- maxHeight: maxMenuHeight,
2414
- menuEl,
2415
- minHeight: minMenuHeight,
2416
- placement: menuPlacement,
2417
- shouldScroll,
2418
- isFixedPosition,
2419
- controlHeight
2420
- });
2421
- setMaxHeight(state.maxHeight);
2422
- setPlacement(state.placement);
2423
- setPortalPlacement === null || setPortalPlacement === void 0 ? void 0 : setPortalPlacement(state.placement);
2424
- }, [maxMenuHeight, menuPlacement, menuPosition, menuShouldScrollIntoView, minMenuHeight, setPortalPlacement, controlHeight]);
2425
- return children({
2426
- ref,
2427
- placerProps: _objectSpread2(_objectSpread2({}, props), {}, {
2428
- placement: placement || coercePlacement(menuPlacement),
2429
- maxHeight
2430
- })
2431
- });
2432
- };
2433
- var Menu = function Menu2(props) {
2434
- var children = props.children, innerRef = props.innerRef, innerProps = props.innerProps;
2435
- return jsx("div", _extends({}, getStyleProps(props, "menu", {
2436
- menu: true
2437
- }), {
2438
- ref: innerRef
2439
- }, innerProps), children);
2440
- };
2441
- var Menu$1 = Menu;
2442
- var menuListCSS = function menuListCSS2(_ref4, unstyled) {
2443
- var maxHeight = _ref4.maxHeight, baseUnit = _ref4.theme.spacing.baseUnit;
2444
- return _objectSpread2({
2445
- maxHeight,
2446
- overflowY: "auto",
2447
- position: "relative",
2448
- // required for offset[Height, Top] > keyboard scroll
2449
- WebkitOverflowScrolling: "touch"
2450
- }, unstyled ? {} : {
2451
- paddingBottom: baseUnit,
2452
- paddingTop: baseUnit
2453
- });
2454
- };
2455
- var MenuList = function MenuList2(props) {
2456
- var children = props.children, innerProps = props.innerProps, innerRef = props.innerRef, isMulti = props.isMulti;
2457
- return jsx("div", _extends({}, getStyleProps(props, "menuList", {
2458
- "menu-list": true,
2459
- "menu-list--is-multi": isMulti
2460
- }), {
2461
- ref: innerRef
2462
- }, innerProps), children);
2463
- };
2464
- var noticeCSS = function noticeCSS2(_ref5, unstyled) {
2465
- var _ref5$theme = _ref5.theme, baseUnit = _ref5$theme.spacing.baseUnit, colors = _ref5$theme.colors;
2466
- return _objectSpread2({
2467
- textAlign: "center"
2468
- }, unstyled ? {} : {
2469
- color: colors.neutral40,
2470
- padding: "".concat(baseUnit * 2, "px ").concat(baseUnit * 3, "px")
2471
- });
2472
- };
2473
- var noOptionsMessageCSS = noticeCSS;
2474
- var loadingMessageCSS = noticeCSS;
2475
- var NoOptionsMessage = function NoOptionsMessage2(_ref6) {
2476
- var _ref6$children = _ref6.children, children = _ref6$children === void 0 ? "No options" : _ref6$children, innerProps = _ref6.innerProps, restProps = _objectWithoutProperties(_ref6, _excluded$3);
2477
- return jsx("div", _extends({}, getStyleProps(_objectSpread2(_objectSpread2({}, restProps), {}, {
2478
- children,
2479
- innerProps
2480
- }), "noOptionsMessage", {
2481
- "menu-notice": true,
2482
- "menu-notice--no-options": true
2483
- }), innerProps), children);
2484
- };
2485
- var LoadingMessage = function LoadingMessage2(_ref7) {
2486
- var _ref7$children = _ref7.children, children = _ref7$children === void 0 ? "Loading..." : _ref7$children, innerProps = _ref7.innerProps, restProps = _objectWithoutProperties(_ref7, _excluded2$1);
2487
- return jsx("div", _extends({}, getStyleProps(_objectSpread2(_objectSpread2({}, restProps), {}, {
2488
- children,
2489
- innerProps
2490
- }), "loadingMessage", {
2491
- "menu-notice": true,
2492
- "menu-notice--loading": true
2493
- }), innerProps), children);
2494
- };
2495
- var menuPortalCSS = function menuPortalCSS2(_ref8) {
2496
- var rect = _ref8.rect, offset = _ref8.offset, position2 = _ref8.position;
2497
- return {
2498
- left: rect.left,
2499
- position: position2,
2500
- top: offset,
2501
- width: rect.width,
2502
- zIndex: 1
2503
- };
2504
- };
2505
- var MenuPortal = function MenuPortal2(props) {
2506
- var appendTo = props.appendTo, children = props.children, controlElement = props.controlElement, innerProps = props.innerProps, menuPlacement = props.menuPlacement, menuPosition = props.menuPosition;
2507
- var menuPortalRef = useRef(null);
2508
- var cleanupRef = useRef(null);
2509
- var _useState5 = useState(coercePlacement(menuPlacement)), _useState6 = _slicedToArray(_useState5, 2), placement = _useState6[0], setPortalPlacement = _useState6[1];
2510
- var portalPlacementContext = useMemo(function() {
2511
- return {
2512
- setPortalPlacement
2513
- };
2514
- }, []);
2515
- var _useState7 = useState(null), _useState8 = _slicedToArray(_useState7, 2), computedPosition = _useState8[0], setComputedPosition = _useState8[1];
2516
- var updateComputedPosition = useCallback(function() {
2517
- if (!controlElement) return;
2518
- var rect = getBoundingClientObj(controlElement);
2519
- var scrollDistance = menuPosition === "fixed" ? 0 : window.pageYOffset;
2520
- var offset = rect[placement] + scrollDistance;
2521
- if (offset !== (computedPosition === null || computedPosition === void 0 ? void 0 : computedPosition.offset) || rect.left !== (computedPosition === null || computedPosition === void 0 ? void 0 : computedPosition.rect.left) || rect.width !== (computedPosition === null || computedPosition === void 0 ? void 0 : computedPosition.rect.width)) {
2522
- setComputedPosition({
2523
- offset,
2524
- rect
2525
- });
2526
- }
2527
- }, [controlElement, menuPosition, placement, computedPosition === null || computedPosition === void 0 ? void 0 : computedPosition.offset, computedPosition === null || computedPosition === void 0 ? void 0 : computedPosition.rect.left, computedPosition === null || computedPosition === void 0 ? void 0 : computedPosition.rect.width]);
2528
- index(function() {
2529
- updateComputedPosition();
2530
- }, [updateComputedPosition]);
2531
- var runAutoUpdate = useCallback(function() {
2532
- if (typeof cleanupRef.current === "function") {
2533
- cleanupRef.current();
2534
- cleanupRef.current = null;
2535
- }
2536
- if (controlElement && menuPortalRef.current) {
2537
- cleanupRef.current = autoUpdate(controlElement, menuPortalRef.current, updateComputedPosition, {
2538
- elementResize: "ResizeObserver" in window
2539
- });
2540
- }
2541
- }, [controlElement, updateComputedPosition]);
2542
- index(function() {
2543
- runAutoUpdate();
2544
- }, [runAutoUpdate]);
2545
- var setMenuPortalElement = useCallback(function(menuPortalElement) {
2546
- menuPortalRef.current = menuPortalElement;
2547
- runAutoUpdate();
2548
- }, [runAutoUpdate]);
2549
- if (!appendTo && menuPosition !== "fixed" || !computedPosition) return null;
2550
- var menuWrapper = jsx("div", _extends({
2551
- ref: setMenuPortalElement
2552
- }, getStyleProps(_objectSpread2(_objectSpread2({}, props), {}, {
2553
- offset: computedPosition.offset,
2554
- position: menuPosition,
2555
- rect: computedPosition.rect
2556
- }), "menuPortal", {
2557
- "menu-portal": true
2558
- }), innerProps), children);
2559
- return jsx(PortalPlacementContext.Provider, {
2560
- value: portalPlacementContext
2561
- }, appendTo ? /* @__PURE__ */ reactDomExports.createPortal(menuWrapper, appendTo) : menuWrapper);
2562
- };
2563
- var containerCSS = function containerCSS2(_ref) {
2564
- var isDisabled = _ref.isDisabled, isRtl = _ref.isRtl;
2565
- return {
2566
- label: "container",
2567
- direction: isRtl ? "rtl" : void 0,
2568
- pointerEvents: isDisabled ? "none" : void 0,
2569
- // cancel mouse events when disabled
2570
- position: "relative"
2571
- };
2572
- };
2573
- var SelectContainer = function SelectContainer2(props) {
2574
- var children = props.children, innerProps = props.innerProps, isDisabled = props.isDisabled, isRtl = props.isRtl;
2575
- return jsx("div", _extends({}, getStyleProps(props, "container", {
2576
- "--is-disabled": isDisabled,
2577
- "--is-rtl": isRtl
2578
- }), innerProps), children);
2579
- };
2580
- var valueContainerCSS = function valueContainerCSS2(_ref22, unstyled) {
2581
- var spacing = _ref22.theme.spacing, isMulti = _ref22.isMulti, hasValue = _ref22.hasValue, controlShouldRenderValue = _ref22.selectProps.controlShouldRenderValue;
2582
- return _objectSpread2({
2583
- alignItems: "center",
2584
- display: isMulti && hasValue && controlShouldRenderValue ? "flex" : "grid",
2585
- flex: 1,
2586
- flexWrap: "wrap",
2587
- WebkitOverflowScrolling: "touch",
2588
- position: "relative",
2589
- overflow: "hidden"
2590
- }, unstyled ? {} : {
2591
- padding: "".concat(spacing.baseUnit / 2, "px ").concat(spacing.baseUnit * 2, "px")
2592
- });
2593
- };
2594
- var ValueContainer = function ValueContainer2(props) {
2595
- var children = props.children, innerProps = props.innerProps, isMulti = props.isMulti, hasValue = props.hasValue;
2596
- return jsx("div", _extends({}, getStyleProps(props, "valueContainer", {
2597
- "value-container": true,
2598
- "value-container--is-multi": isMulti,
2599
- "value-container--has-value": hasValue
2600
- }), innerProps), children);
2601
- };
2602
- var indicatorsContainerCSS = function indicatorsContainerCSS2() {
2603
- return {
2604
- alignItems: "center",
2605
- alignSelf: "stretch",
2606
- display: "flex",
2607
- flexShrink: 0
2608
- };
2609
- };
2610
- var IndicatorsContainer = function IndicatorsContainer2(props) {
2611
- var children = props.children, innerProps = props.innerProps;
2612
- return jsx("div", _extends({}, getStyleProps(props, "indicatorsContainer", {
2613
- indicators: true
2614
- }), innerProps), children);
2615
- };
2616
- var _templateObject;
2617
- var _excluded$2 = ["size"], _excluded2 = ["innerProps", "isRtl", "size"];
2618
- function _EMOTION_STRINGIFIED_CSS_ERROR__() {
2619
- return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop).";
2620
- }
2621
- var _ref2 = process.env.NODE_ENV === "production" ? {
2622
- name: "8mmkcg",
2623
- styles: "display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"
2624
- } : {
2625
- name: "tj5bde-Svg",
2626
- styles: "display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0;label:Svg;",
2627
- map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWFjdE5vZGUgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3gsIGtleWZyYW1lcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHtcbiAgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWUsXG4gIENTU09iamVjdFdpdGhMYWJlbCxcbiAgR3JvdXBCYXNlLFxufSBmcm9tICcuLi90eXBlcyc7XG5pbXBvcnQgeyBnZXRTdHlsZVByb3BzIH0gZnJvbSAnLi4vdXRpbHMnO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb3Bkb3duICYgQ2xlYXIgSWNvbnNcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5jb25zdCBTdmcgPSAoe1xuICBzaXplLFxuICAuLi5wcm9wc1xufTogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzdmcnXSAmIHsgc2l6ZTogbnVtYmVyIH0pID0+IChcbiAgPHN2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wdGlvbj5cbj4oe1xuICBpbm5lclByb3BzLFxuICBpc1J0bCxcbiAgc2l6ZSA9IDQsXG4gIC4uLnJlc3RQcm9wc1xufTogTG9hZGluZ0luZGljYXRvclByb3BzPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+KSA9PiB7XG4gIHJldHVybiAoXG4gICAgPGRpdlxuICAgICAgey4uLmdldFN0eWxlUHJvcHMoXG4gICAgICAgIHsgLi4ucmVzdFByb3BzLCBpbm5lclByb3BzLCBpc1J0bCwgc2l6ZSB9LFxuICAgICAgICAnbG9hZGluZ0luZGljYXRvcicsXG4gICAgICAgIHtcbiAgICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICAgJ2xvYWRpbmctaW5kaWNhdG9yJzogdHJ1ZSxcbiAgICAgICAgfVxuICAgICAgKX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG4iXX0= */",
2628
- toString: _EMOTION_STRINGIFIED_CSS_ERROR__
2629
- };
2630
- var Svg = function Svg2(_ref) {
2631
- var size = _ref.size, props = _objectWithoutProperties(_ref, _excluded$2);
2632
- return jsx("svg", _extends({
2633
- height: size,
2634
- width: size,
2635
- viewBox: "0 0 20 20",
2636
- "aria-hidden": "true",
2637
- focusable: "false",
2638
- css: _ref2
2639
- }, props));
2640
- };
2641
- var CrossIcon = function CrossIcon2(props) {
2642
- return jsx(Svg, _extends({
2643
- size: 20
2644
- }, props), jsx("path", {
2645
- d: "M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"
2646
- }));
2647
- };
2648
- var DownChevron = function DownChevron2(props) {
2649
- return jsx(Svg, _extends({
2650
- size: 20
2651
- }, props), jsx("path", {
2652
- d: "M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"
2653
- }));
2654
- };
2655
- var baseCSS = function baseCSS2(_ref3, unstyled) {
2656
- var isFocused = _ref3.isFocused, _ref3$theme = _ref3.theme, baseUnit = _ref3$theme.spacing.baseUnit, colors = _ref3$theme.colors;
2657
- return _objectSpread2({
2658
- label: "indicatorContainer",
2659
- display: "flex",
2660
- transition: "color 150ms"
2661
- }, unstyled ? {} : {
2662
- color: isFocused ? colors.neutral60 : colors.neutral20,
2663
- padding: baseUnit * 2,
2664
- ":hover": {
2665
- color: isFocused ? colors.neutral80 : colors.neutral40
2666
- }
2667
- });
2668
- };
2669
- var dropdownIndicatorCSS = baseCSS;
2670
- var DropdownIndicator = function DropdownIndicator2(props) {
2671
- var children = props.children, innerProps = props.innerProps;
2672
- return jsx("div", _extends({}, getStyleProps(props, "dropdownIndicator", {
2673
- indicator: true,
2674
- "dropdown-indicator": true
2675
- }), innerProps), children || jsx(DownChevron, null));
2676
- };
2677
- var clearIndicatorCSS = baseCSS;
2678
- var ClearIndicator = function ClearIndicator2(props) {
2679
- var children = props.children, innerProps = props.innerProps;
2680
- return jsx("div", _extends({}, getStyleProps(props, "clearIndicator", {
2681
- indicator: true,
2682
- "clear-indicator": true
2683
- }), innerProps), children || jsx(CrossIcon, null));
2684
- };
2685
- var indicatorSeparatorCSS = function indicatorSeparatorCSS2(_ref4, unstyled) {
2686
- var isDisabled = _ref4.isDisabled, _ref4$theme = _ref4.theme, baseUnit = _ref4$theme.spacing.baseUnit, colors = _ref4$theme.colors;
2687
- return _objectSpread2({
2688
- label: "indicatorSeparator",
2689
- alignSelf: "stretch",
2690
- width: 1
2691
- }, unstyled ? {} : {
2692
- backgroundColor: isDisabled ? colors.neutral10 : colors.neutral20,
2693
- marginBottom: baseUnit * 2,
2694
- marginTop: baseUnit * 2
2695
- });
2696
- };
2697
- var IndicatorSeparator = function IndicatorSeparator2(props) {
2698
- var innerProps = props.innerProps;
2699
- return jsx("span", _extends({}, innerProps, getStyleProps(props, "indicatorSeparator", {
2700
- "indicator-separator": true
2701
- })));
2702
- };
2703
- var loadingDotAnimations = keyframes(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n 0%, 80%, 100% { opacity: 0; }\n 40% { opacity: 1; }\n"])));
2704
- var loadingIndicatorCSS = function loadingIndicatorCSS2(_ref5, unstyled) {
2705
- var isFocused = _ref5.isFocused, size = _ref5.size, _ref5$theme = _ref5.theme, colors = _ref5$theme.colors, baseUnit = _ref5$theme.spacing.baseUnit;
2706
- return _objectSpread2({
2707
- label: "loadingIndicator",
2708
- display: "flex",
2709
- transition: "color 150ms",
2710
- alignSelf: "center",
2711
- fontSize: size,
2712
- lineHeight: 1,
2713
- marginRight: size,
2714
- textAlign: "center",
2715
- verticalAlign: "middle"
2716
- }, unstyled ? {} : {
2717
- color: isFocused ? colors.neutral60 : colors.neutral20,
2718
- padding: baseUnit * 2
2719
- });
2720
- };
2721
- var LoadingDot = function LoadingDot2(_ref6) {
2722
- var delay = _ref6.delay, offset = _ref6.offset;
2723
- return jsx("span", {
2724
- css: /* @__PURE__ */ css$2({
2725
- animation: "".concat(loadingDotAnimations, " 1s ease-in-out ").concat(delay, "ms infinite;"),
2726
- backgroundColor: "currentColor",
2727
- borderRadius: "1em",
2728
- display: "inline-block",
2729
- marginLeft: offset ? "1em" : void 0,
2730
- height: "1em",
2731
- verticalAlign: "top",
2732
- width: "1em"
2733
- }, process.env.NODE_ENV === "production" ? "" : ";label:LoadingDot;", process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW1RSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWFjdE5vZGUgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3gsIGtleWZyYW1lcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHtcbiAgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWUsXG4gIENTU09iamVjdFdpdGhMYWJlbCxcbiAgR3JvdXBCYXNlLFxufSBmcm9tICcuLi90eXBlcyc7XG5pbXBvcnQgeyBnZXRTdHlsZVByb3BzIH0gZnJvbSAnLi4vdXRpbHMnO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb3Bkb3duICYgQ2xlYXIgSWNvbnNcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5jb25zdCBTdmcgPSAoe1xuICBzaXplLFxuICAuLi5wcm9wc1xufTogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzdmcnXSAmIHsgc2l6ZTogbnVtYmVyIH0pID0+IChcbiAgPHN2Z1xuICAgIGhlaWdodD17c2l6ZX1cbiAgICB3aWR0aD17c2l6ZX1cbiAgICB2aWV3Qm94PVwiMCAwIDIwIDIwXCJcbiAgICBhcmlhLWhpZGRlbj1cInRydWVcIlx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GlvbiwgSXNNdWx0aSwgR3JvdXA+KSA9PiB7XG4gIHJldHVybiAoXG4gICAgPGRpdlxuICAgICAgey4uLmdldFN0eWxlUHJvcHMoXG4gICAgICAgIHsgLi4ucmVzdFByb3BzLCBpbm5lclByb3BzLCBpc1J0bCwgc2l6ZSB9LFxuICAgICAgICAnbG9hZGluZ0luZGljYXRvcicsXG4gICAgICAgIHtcbiAgICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICAgJ2xvYWRpbmctaW5kaWNhdG9yJzogdHJ1ZSxcbiAgICAgICAgfVxuICAgICAgKX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG4iXX0= */")
2734
- });
2735
- };
2736
- var LoadingIndicator = function LoadingIndicator2(_ref7) {
2737
- var innerProps = _ref7.innerProps, isRtl = _ref7.isRtl, _ref7$size = _ref7.size, size = _ref7$size === void 0 ? 4 : _ref7$size, restProps = _objectWithoutProperties(_ref7, _excluded2);
2738
- return jsx("div", _extends({}, getStyleProps(_objectSpread2(_objectSpread2({}, restProps), {}, {
2739
- innerProps,
2740
- isRtl,
2741
- size
2742
- }), "loadingIndicator", {
2743
- indicator: true,
2744
- "loading-indicator": true
2745
- }), innerProps), jsx(LoadingDot, {
2746
- delay: 0,
2747
- offset: isRtl
2748
- }), jsx(LoadingDot, {
2749
- delay: 160,
2750
- offset: true
2751
- }), jsx(LoadingDot, {
2752
- delay: 320,
2753
- offset: !isRtl
2754
- }));
2755
- };
2756
- var css$1 = function css(_ref, unstyled) {
2757
- var isDisabled = _ref.isDisabled, isFocused = _ref.isFocused, _ref$theme = _ref.theme, colors = _ref$theme.colors, borderRadius = _ref$theme.borderRadius, spacing = _ref$theme.spacing;
2758
- return _objectSpread2({
2759
- label: "control",
2760
- alignItems: "center",
2761
- cursor: "default",
2762
- display: "flex",
2763
- flexWrap: "wrap",
2764
- justifyContent: "space-between",
2765
- minHeight: spacing.controlHeight,
2766
- outline: "0 !important",
2767
- position: "relative",
2768
- transition: "all 100ms"
2769
- }, unstyled ? {} : {
2770
- backgroundColor: isDisabled ? colors.neutral5 : colors.neutral0,
2771
- borderColor: isDisabled ? colors.neutral10 : isFocused ? colors.primary : colors.neutral20,
2772
- borderRadius,
2773
- borderStyle: "solid",
2774
- borderWidth: 1,
2775
- boxShadow: isFocused ? "0 0 0 1px ".concat(colors.primary) : void 0,
2776
- "&:hover": {
2777
- borderColor: isFocused ? colors.primary : colors.neutral30
2778
- }
2779
- });
2780
- };
2781
- var Control = function Control2(props) {
2782
- var children = props.children, isDisabled = props.isDisabled, isFocused = props.isFocused, innerRef = props.innerRef, innerProps = props.innerProps, menuIsOpen = props.menuIsOpen;
2783
- return jsx("div", _extends({
2784
- ref: innerRef
2785
- }, getStyleProps(props, "control", {
2786
- control: true,
2787
- "control--is-disabled": isDisabled,
2788
- "control--is-focused": isFocused,
2789
- "control--menu-is-open": menuIsOpen
2790
- }), innerProps, {
2791
- "aria-disabled": isDisabled || void 0
2792
- }), children);
2793
- };
2794
- var Control$1 = Control;
2795
- var _excluded$1 = ["data"];
2796
- var groupCSS = function groupCSS2(_ref, unstyled) {
2797
- var spacing = _ref.theme.spacing;
2798
- return unstyled ? {} : {
2799
- paddingBottom: spacing.baseUnit * 2,
2800
- paddingTop: spacing.baseUnit * 2
2801
- };
2802
- };
2803
- var Group = function Group2(props) {
2804
- var children = props.children, cx = props.cx, getStyles = props.getStyles, getClassNames = props.getClassNames, Heading = props.Heading, headingProps = props.headingProps, innerProps = props.innerProps, label = props.label, theme = props.theme, selectProps = props.selectProps;
2805
- return jsx("div", _extends({}, getStyleProps(props, "group", {
2806
- group: true
2807
- }), innerProps), jsx(Heading, _extends({}, headingProps, {
2808
- selectProps,
2809
- theme,
2810
- getStyles,
2811
- getClassNames,
2812
- cx
2813
- }), label), jsx("div", null, children));
2814
- };
2815
- var groupHeadingCSS = function groupHeadingCSS2(_ref22, unstyled) {
2816
- var _ref2$theme = _ref22.theme, colors = _ref2$theme.colors, spacing = _ref2$theme.spacing;
2817
- return _objectSpread2({
2818
- label: "group",
2819
- cursor: "default",
2820
- display: "block"
2821
- }, unstyled ? {} : {
2822
- color: colors.neutral40,
2823
- fontSize: "75%",
2824
- fontWeight: 500,
2825
- marginBottom: "0.25em",
2826
- paddingLeft: spacing.baseUnit * 3,
2827
- paddingRight: spacing.baseUnit * 3,
2828
- textTransform: "uppercase"
2829
- });
2830
- };
2831
- var GroupHeading = function GroupHeading2(props) {
2832
- var _cleanCommonProps = cleanCommonProps(props);
2833
- _cleanCommonProps.data;
2834
- var innerProps = _objectWithoutProperties(_cleanCommonProps, _excluded$1);
2835
- return jsx("div", _extends({}, getStyleProps(props, "groupHeading", {
2836
- "group-heading": true
2837
- }), innerProps));
2838
- };
2839
- var Group$1 = Group;
2840
- var _excluded = ["innerRef", "isDisabled", "isHidden", "inputClassName"];
2841
- var inputCSS = function inputCSS2(_ref, unstyled) {
2842
- var isDisabled = _ref.isDisabled, value = _ref.value, _ref$theme = _ref.theme, spacing = _ref$theme.spacing, colors = _ref$theme.colors;
2843
- return _objectSpread2(_objectSpread2({
2844
- visibility: isDisabled ? "hidden" : "visible",
2845
- // force css to recompute when value change due to @emotion bug.
2846
- // We can remove it whenever the bug is fixed.
2847
- transform: value ? "translateZ(0)" : ""
2848
- }, containerStyle), unstyled ? {} : {
2849
- margin: spacing.baseUnit / 2,
2850
- paddingBottom: spacing.baseUnit / 2,
2851
- paddingTop: spacing.baseUnit / 2,
2852
- color: colors.neutral80
2853
- });
2854
- };
2855
- var spacingStyle = {
2856
- gridArea: "1 / 2",
2857
- font: "inherit",
2858
- minWidth: "2px",
2859
- border: 0,
2860
- margin: 0,
2861
- outline: 0,
2862
- padding: 0
2863
- };
2864
- var containerStyle = {
2865
- flex: "1 1 auto",
2866
- display: "inline-grid",
2867
- gridArea: "1 / 1 / 2 / 3",
2868
- gridTemplateColumns: "0 min-content",
2869
- "&:after": _objectSpread2({
2870
- content: 'attr(data-value) " "',
2871
- visibility: "hidden",
2872
- whiteSpace: "pre"
2873
- }, spacingStyle)
2874
- };
2875
- var inputStyle = function inputStyle2(isHidden) {
2876
- return _objectSpread2({
2877
- label: "input",
2878
- color: "inherit",
2879
- background: 0,
2880
- opacity: isHidden ? 0 : 1,
2881
- width: "100%"
2882
- }, spacingStyle);
2883
- };
2884
- var Input = function Input2(props) {
2885
- var cx = props.cx, value = props.value;
2886
- var _cleanCommonProps = cleanCommonProps(props), innerRef = _cleanCommonProps.innerRef, isDisabled = _cleanCommonProps.isDisabled, isHidden = _cleanCommonProps.isHidden, inputClassName = _cleanCommonProps.inputClassName, innerProps = _objectWithoutProperties(_cleanCommonProps, _excluded);
2887
- return jsx("div", _extends({}, getStyleProps(props, "input", {
2888
- "input-container": true
2889
- }), {
2890
- "data-value": value || ""
2891
- }), jsx("input", _extends({
2892
- className: cx({
2893
- input: true
2894
- }, inputClassName),
2895
- ref: innerRef,
2896
- style: inputStyle(isHidden),
2897
- disabled: isDisabled
2898
- }, innerProps)));
2899
- };
2900
- var Input$1 = Input;
2901
- var multiValueCSS = function multiValueCSS2(_ref, unstyled) {
2902
- var _ref$theme = _ref.theme, spacing = _ref$theme.spacing, borderRadius = _ref$theme.borderRadius, colors = _ref$theme.colors;
2903
- return _objectSpread2({
2904
- label: "multiValue",
2905
- display: "flex",
2906
- minWidth: 0
2907
- }, unstyled ? {} : {
2908
- backgroundColor: colors.neutral10,
2909
- borderRadius: borderRadius / 2,
2910
- margin: spacing.baseUnit / 2
2911
- });
2912
- };
2913
- var multiValueLabelCSS = function multiValueLabelCSS2(_ref22, unstyled) {
2914
- var _ref2$theme = _ref22.theme, borderRadius = _ref2$theme.borderRadius, colors = _ref2$theme.colors, cropWithEllipsis = _ref22.cropWithEllipsis;
2915
- return _objectSpread2({
2916
- overflow: "hidden",
2917
- textOverflow: cropWithEllipsis || cropWithEllipsis === void 0 ? "ellipsis" : void 0,
2918
- whiteSpace: "nowrap"
2919
- }, unstyled ? {} : {
2920
- borderRadius: borderRadius / 2,
2921
- color: colors.neutral80,
2922
- fontSize: "85%",
2923
- padding: 3,
2924
- paddingLeft: 6
2925
- });
2926
- };
2927
- var multiValueRemoveCSS = function multiValueRemoveCSS2(_ref3, unstyled) {
2928
- var _ref3$theme = _ref3.theme, spacing = _ref3$theme.spacing, borderRadius = _ref3$theme.borderRadius, colors = _ref3$theme.colors, isFocused = _ref3.isFocused;
2929
- return _objectSpread2({
2930
- alignItems: "center",
2931
- display: "flex"
2932
- }, unstyled ? {} : {
2933
- borderRadius: borderRadius / 2,
2934
- backgroundColor: isFocused ? colors.dangerLight : void 0,
2935
- paddingLeft: spacing.baseUnit,
2936
- paddingRight: spacing.baseUnit,
2937
- ":hover": {
2938
- backgroundColor: colors.dangerLight,
2939
- color: colors.danger
2940
- }
2941
- });
2942
- };
2943
- var MultiValueGeneric = function MultiValueGeneric2(_ref4) {
2944
- var children = _ref4.children, innerProps = _ref4.innerProps;
2945
- return jsx("div", innerProps, children);
2946
- };
2947
- var MultiValueContainer = MultiValueGeneric;
2948
- var MultiValueLabel = MultiValueGeneric;
2949
- function MultiValueRemove(_ref5) {
2950
- var children = _ref5.children, innerProps = _ref5.innerProps;
2951
- return jsx("div", _extends({
2952
- role: "button"
2953
- }, innerProps), children || jsx(CrossIcon, {
2954
- size: 14
2955
- }));
2956
- }
2957
- var MultiValue = function MultiValue2(props) {
2958
- var children = props.children, components2 = props.components, data = props.data, innerProps = props.innerProps, isDisabled = props.isDisabled, removeProps3 = props.removeProps, selectProps = props.selectProps;
2959
- var Container = components2.Container, Label = components2.Label, Remove = components2.Remove;
2960
- return jsx(Container, {
2961
- data,
2962
- innerProps: _objectSpread2(_objectSpread2({}, getStyleProps(props, "multiValue", {
2963
- "multi-value": true,
2964
- "multi-value--is-disabled": isDisabled
2965
- })), innerProps),
2966
- selectProps
2967
- }, jsx(Label, {
2968
- data,
2969
- innerProps: _objectSpread2({}, getStyleProps(props, "multiValueLabel", {
2970
- "multi-value__label": true
2971
- })),
2972
- selectProps
2973
- }, children), jsx(Remove, {
2974
- data,
2975
- innerProps: _objectSpread2(_objectSpread2({}, getStyleProps(props, "multiValueRemove", {
2976
- "multi-value__remove": true
2977
- })), {}, {
2978
- "aria-label": "Remove ".concat(children || "option")
2979
- }, removeProps3),
2980
- selectProps
2981
- }));
2982
- };
2983
- var MultiValue$1 = MultiValue;
2984
- var optionCSS = function optionCSS2(_ref, unstyled) {
2985
- var isDisabled = _ref.isDisabled, isFocused = _ref.isFocused, isSelected = _ref.isSelected, _ref$theme = _ref.theme, spacing = _ref$theme.spacing, colors = _ref$theme.colors;
2986
- return _objectSpread2({
2987
- label: "option",
2988
- cursor: "default",
2989
- display: "block",
2990
- fontSize: "inherit",
2991
- width: "100%",
2992
- userSelect: "none",
2993
- WebkitTapHighlightColor: "rgba(0, 0, 0, 0)"
2994
- }, unstyled ? {} : {
2995
- backgroundColor: isSelected ? colors.primary : isFocused ? colors.primary25 : "transparent",
2996
- color: isDisabled ? colors.neutral20 : isSelected ? colors.neutral0 : "inherit",
2997
- padding: "".concat(spacing.baseUnit * 2, "px ").concat(spacing.baseUnit * 3, "px"),
2998
- // provide some affordance on touch devices
2999
- ":active": {
3000
- backgroundColor: !isDisabled ? isSelected ? colors.primary : colors.primary50 : void 0
3001
- }
3002
- });
3003
- };
3004
- var Option = function Option2(props) {
3005
- var children = props.children, isDisabled = props.isDisabled, isFocused = props.isFocused, isSelected = props.isSelected, innerRef = props.innerRef, innerProps = props.innerProps;
3006
- return jsx("div", _extends({}, getStyleProps(props, "option", {
3007
- option: true,
3008
- "option--is-disabled": isDisabled,
3009
- "option--is-focused": isFocused,
3010
- "option--is-selected": isSelected
3011
- }), {
3012
- ref: innerRef,
3013
- "aria-disabled": isDisabled
3014
- }, innerProps), children);
3015
- };
3016
- var Option$1 = Option;
3017
- var placeholderCSS = function placeholderCSS2(_ref, unstyled) {
3018
- var _ref$theme = _ref.theme, spacing = _ref$theme.spacing, colors = _ref$theme.colors;
3019
- return _objectSpread2({
3020
- label: "placeholder",
3021
- gridArea: "1 / 1 / 2 / 3"
3022
- }, unstyled ? {} : {
3023
- color: colors.neutral50,
3024
- marginLeft: spacing.baseUnit / 2,
3025
- marginRight: spacing.baseUnit / 2
3026
- });
3027
- };
3028
- var Placeholder = function Placeholder2(props) {
3029
- var children = props.children, innerProps = props.innerProps;
3030
- return jsx("div", _extends({}, getStyleProps(props, "placeholder", {
3031
- placeholder: true
3032
- }), innerProps), children);
3033
- };
3034
- var Placeholder$1 = Placeholder;
3035
- var css2 = function css3(_ref, unstyled) {
3036
- var isDisabled = _ref.isDisabled, _ref$theme = _ref.theme, spacing = _ref$theme.spacing, colors = _ref$theme.colors;
3037
- return _objectSpread2({
3038
- label: "singleValue",
3039
- gridArea: "1 / 1 / 2 / 3",
3040
- maxWidth: "100%",
3041
- overflow: "hidden",
3042
- textOverflow: "ellipsis",
3043
- whiteSpace: "nowrap"
3044
- }, unstyled ? {} : {
3045
- color: isDisabled ? colors.neutral40 : colors.neutral80,
3046
- marginLeft: spacing.baseUnit / 2,
3047
- marginRight: spacing.baseUnit / 2
3048
- });
3049
- };
3050
- var SingleValue = function SingleValue2(props) {
3051
- var children = props.children, isDisabled = props.isDisabled, innerProps = props.innerProps;
3052
- return jsx("div", _extends({}, getStyleProps(props, "singleValue", {
3053
- "single-value": true,
3054
- "single-value--is-disabled": isDisabled
3055
- }), innerProps), children);
3056
- };
3057
- var SingleValue$1 = SingleValue;
3058
- var components = {
3059
- ClearIndicator,
3060
- Control: Control$1,
3061
- DropdownIndicator,
3062
- DownChevron,
3063
- CrossIcon,
3064
- Group: Group$1,
3065
- GroupHeading,
3066
- IndicatorsContainer,
3067
- IndicatorSeparator,
3068
- Input: Input$1,
3069
- LoadingIndicator,
3070
- Menu: Menu$1,
3071
- MenuList,
3072
- MenuPortal,
3073
- LoadingMessage,
3074
- NoOptionsMessage,
3075
- MultiValue: MultiValue$1,
3076
- MultiValueContainer,
3077
- MultiValueLabel,
3078
- MultiValueRemove,
3079
- Option: Option$1,
3080
- Placeholder: Placeholder$1,
3081
- SelectContainer,
3082
- SingleValue: SingleValue$1,
3083
- ValueContainer
3084
- };
3085
- var defaultComponents = function defaultComponents2(props) {
3086
- return _objectSpread2(_objectSpread2({}, components), props.components);
3087
- };
3088
- export {
3089
- loadingIndicatorCSS as A,
3090
- inputCSS as B,
3091
- indicatorSeparatorCSS as C,
3092
- indicatorsContainerCSS as D,
3093
- groupHeadingCSS as E,
3094
- groupCSS as F,
3095
- dropdownIndicatorCSS as G,
3096
- css$1 as H,
3097
- containerCSS as I,
3098
- clearIndicatorCSS as J,
3099
- defaultComponents as K,
3100
- isDocumentElement as L,
3101
- cleanValue as M,
3102
- notNullish as N,
3103
- isMobileDevice as O,
3104
- isTouchCapable as P,
3105
- scrollIntoView as Q,
3106
- noop as R,
3107
- MenuPlacer as S,
3108
- removeProps as T,
3109
- jsx as U,
3110
- css$2 as V,
3111
- supportsPassiveEvents as W,
3112
- _extends as _,
3113
- _objectWithoutProperties as a,
3114
- _slicedToArray as b,
3115
- components as c,
3116
- _objectSpread2 as d,
3117
- _defineProperty as e,
3118
- _typeof as f,
3119
- _arrayLikeToArray as g,
3120
- handleInputChange as h,
3121
- _unsupportedIterableToArray as i,
3122
- classNames as j,
3123
- valueContainerCSS as k,
3124
- css2 as l,
3125
- multiValueAsValue as m,
3126
- noOptionsMessageCSS as n,
3127
- optionCSS as o,
3128
- placeholderCSS as p,
3129
- multiValueRemoveCSS as q,
3130
- multiValueLabelCSS as r,
3131
- singleValueAsValue as s,
3132
- toPropertyKey as t,
3133
- multiValueCSS as u,
3134
- valueTernary as v,
3135
- menuPortalCSS as w,
3136
- menuListCSS as x,
3137
- menuCSS as y,
3138
- loadingMessageCSS as z
3139
- };