@eightshift/ui-components 0.0.1

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 (112) hide show
  1. package/README.md +27 -0
  2. package/dist/Checkbox-BLcVbhiO.js +178 -0
  3. package/dist/ColorSwatch-Cmlex_kT.js +66 -0
  4. package/dist/FieldError-wtMA4667.js +42 -0
  5. package/dist/FocusScope-1u9yyfIN.js +725 -0
  6. package/dist/Form-Cq3fu75_.js +5 -0
  7. package/dist/GridList-BZPXp3_O.js +1256 -0
  8. package/dist/Group-DyqpTRPe.js +49 -0
  9. package/dist/Input-jsbb4ugq.js +130 -0
  10. package/dist/Label-BPzS-sR7.js +17 -0
  11. package/dist/ListBox-w9gDaJkV.js +4423 -0
  12. package/dist/LiveAnnouncer-IsokfWQ5.js +73 -0
  13. package/dist/NumberFormatter-LzoKy975.js +160 -0
  14. package/dist/RSPContexts-CrNYmadY.js +14 -0
  15. package/dist/Select-49a62830.esm-C-RFtLiD.js +2541 -0
  16. package/dist/SelectionManager-mefd0ThJ.js +2155 -0
  17. package/dist/Separator-DHn0CwdK.js +325 -0
  18. package/dist/Slider-Pyh2V4bY.js +885 -0
  19. package/dist/Text-BM136LvS.js +17 -0
  20. package/dist/VisuallyHidden-BYRI1Lfo.js +51 -0
  21. package/dist/_commonjsHelpers-CUmg6egw.js +6 -0
  22. package/dist/ariaHideOutside-ByKBPHmX.js +113 -0
  23. package/dist/assets/style.css +1 -0
  24. package/dist/button-BkkdyHfJ.js +307 -0
  25. package/dist/components/animated-visibility/animated-visibility.js +7165 -0
  26. package/dist/components/base-control/base-control.js +97 -0
  27. package/dist/components/breakpoint-preview/breakpoint-preview.js +218 -0
  28. package/dist/components/button/button.js +10 -0
  29. package/dist/components/checkbox/checkbox.js +119 -0
  30. package/dist/components/color-pickers/color-picker.js +242 -0
  31. package/dist/components/color-pickers/color-swatch.js +62 -0
  32. package/dist/components/color-pickers/gradient-editor.js +516 -0
  33. package/dist/components/color-pickers/solid-color-picker.js +1633 -0
  34. package/dist/components/component-toggle/component-toggle.js +71 -0
  35. package/dist/components/container-panel/container-panel.js +39 -0
  36. package/dist/components/expandable/expandable.js +144 -0
  37. package/dist/components/input-field/input-field.js +224 -0
  38. package/dist/components/link-input/link-input.js +937 -0
  39. package/dist/components/list-box/list-box.js +152 -0
  40. package/dist/components/matrix-align/matrix-align.js +185 -0
  41. package/dist/components/menu/menu.js +1608 -0
  42. package/dist/components/notice/notice.js +119 -0
  43. package/dist/components/number-picker/number-picker.js +277 -0
  44. package/dist/components/popover/popover.js +9 -0
  45. package/dist/components/radio/radio.js +552 -0
  46. package/dist/components/repeater/repeater-item.js +127 -0
  47. package/dist/components/repeater/repeater.js +248 -0
  48. package/dist/components/responsive/responsive-legacy.js +326 -0
  49. package/dist/components/responsive/responsive.js +499 -0
  50. package/dist/components/responsive-preview/responsive-preview.js +119 -0
  51. package/dist/components/rich-label/rich-label.js +56 -0
  52. package/dist/components/select/async-multi-select.js +144 -0
  53. package/dist/components/select/async-single-select.js +126 -0
  54. package/dist/components/select/custom-select-default-components.js +38 -0
  55. package/dist/components/select/multi-select-components.js +8 -0
  56. package/dist/components/select/multi-select.js +134 -0
  57. package/dist/components/select/react-select-component-wrappers.js +90 -0
  58. package/dist/components/select/shared.js +45 -0
  59. package/dist/components/select/single-select.js +116 -0
  60. package/dist/components/select/styles.js +55 -0
  61. package/dist/components/slider/column-config-slider.js +225 -0
  62. package/dist/components/slider/slider.js +362 -0
  63. package/dist/components/slider/utils.js +45 -0
  64. package/dist/components/spacer/spacer.js +93 -0
  65. package/dist/components/tabs/tabs.js +626 -0
  66. package/dist/components/toggle/switch.js +140 -0
  67. package/dist/components/toggle/toggle.js +58 -0
  68. package/dist/components/toggle-button/toggle-button.js +206 -0
  69. package/dist/components/tooltip/tooltip.js +10 -0
  70. package/dist/context-jMy6xdVq.js +98 -0
  71. package/dist/default-i18n-BhE-OUmt.js +873 -0
  72. package/dist/filterDOMProps-DG2RfOUr.js +30 -0
  73. package/dist/focusSafely-C3K8zAKj.js +743 -0
  74. package/dist/hooks/use-cell-edit-mode.js +35 -0
  75. package/dist/icons/block-icon.js +42 -0
  76. package/dist/icons/generic-color-swatch.js +21 -0
  77. package/dist/icons/icons.js +3636 -0
  78. package/dist/index-Bfb9bWcb.js +28844 -0
  79. package/dist/index-a301f526.esm-Bioi4cGX.js +3576 -0
  80. package/dist/index.js +109 -0
  81. package/dist/intlStrings-CUhoK9EN.js +2484 -0
  82. package/dist/isScrollable-PcyglExV.js +10 -0
  83. package/dist/modifiers.esm-BuJQPI1X.js +31 -0
  84. package/dist/multi-select-components-CjVpCNko.js +3677 -0
  85. package/dist/number-rWqELA8W.js +39 -0
  86. package/dist/popover-Dx3vKXUX.js +1061 -0
  87. package/dist/react-select-async.esm-TFb_ZX6C.js +111 -0
  88. package/dist/react-select.esm-BjRWqf0E.js +15 -0
  89. package/dist/style.js +1 -0
  90. package/dist/textSelection-BosCCRVE.js +89 -0
  91. package/dist/tooltip-CkCndvTI.js +1094 -0
  92. package/dist/useButton-CuG5UzUw.js +74 -0
  93. package/dist/useEvent-DHv-yhOH.js +24 -0
  94. package/dist/useFocusRing-Cc-4eouh.js +41 -0
  95. package/dist/useFocusable-5q1Gek1J.js +81 -0
  96. package/dist/useFormReset-Buc9YJcv.js +23 -0
  97. package/dist/useFormValidationState-BAPPNXic.js +238 -0
  98. package/dist/useHasTabbableChild-D3uUNhJ0.js +37 -0
  99. package/dist/useLabel-CGlkoFG0.js +28 -0
  100. package/dist/useLabels-Dg62M_3P.js +25 -0
  101. package/dist/useListData-BelKu4kx.js +211 -0
  102. package/dist/useListState-Domq0blV.js +137 -0
  103. package/dist/useLocalizedStringFormatter-Prmz0h0A.js +130 -0
  104. package/dist/useNumberFieldState-BLU3uhSR.js +1253 -0
  105. package/dist/useNumberFormatter-BLc2xjZn.js +13 -0
  106. package/dist/usePress-BQgVor4T.js +698 -0
  107. package/dist/useToggle-C9ETOBaZ.js +58 -0
  108. package/dist/useToggleState-DJ_z5E2S.js +21 -0
  109. package/dist/utilities/classnames.js +16 -0
  110. package/dist/utilities/text-helpers.js +79 -0
  111. package/dist/utils-BsiH7-5Y.js +488 -0
  112. package/package.json +71 -0
@@ -0,0 +1,1253 @@
1
+ import { f as $8ae05eaa5c114e9c$export$7f54fc3180508a52, d as $3ef42575df84b30b$export$9d1611c77c2fe928, e as $bdb11010cef70236$export$f680877a34711e37, n as $ff5963eb1fccf552$export$e08e3b67e392101e } from "./utils-BsiH7-5Y.js";
2
+ import { $ as $65484d02dcb7eb3e$export$457c3d6518dd4c6f } from "./filterDOMProps-DG2RfOUr.js";
3
+ import { c as $a1ea59d68270f0dd$export$f8168d8dd8fd66e6, d as $9ab94262bd0047c7$export$420e68273165f4ec, x as $c87311424ea30a05$export$186c6964ca17d99, u as $c87311424ea30a05$export$a11b0059900ceec8, j as $c87311424ea30a05$export$fedb369cb70207f1, e as $458b0a5536c1a7cf$export$40bfa8c7b0832715 } from "./focusSafely-C3K8zAKj.js";
4
+ import { $ as $99facab73266f662$export$5add1d006293d136 } from "./useFormReset-Buc9YJcv.js";
5
+ import { useCallback, useEffect, useRef, useMemo, useState } from "react";
6
+ import { c as $e5be200c675c3b3a$export$a763b9476acd3eb, $ as $e5be200c675c3b3a$export$fc1a364ae1f3ff10 } from "./useFormValidationState-BAPPNXic.js";
7
+ import { $ as $e9faafb641e167db$export$90fc3a17d93f704c } from "./useEvent-DHv-yhOH.js";
8
+ import { b as $2d73ec29415bd339$export$712718f7aec83d5 } from "./Input-jsbb4ugq.js";
9
+ import { $ as $fca6afa0e843324b$export$f12b703ca79dfbb1 } from "./useLocalizedStringFormatter-Prmz0h0A.js";
10
+ import { $ as $a916eb452884faea$export$b7a616150fdb9f44 } from "./useNumberFormatter-BLc2xjZn.js";
11
+ import { a as $319e236875307eab$export$d10ae4f68404609a, $ as $319e236875307eab$export$a9b970dcc4ae71a9 } from "./LiveAnnouncer-IsokfWQ5.js";
12
+ import { $ as $03deb23ff14920c4$export$4eaf04e54aa8eed6 } from "./textSelection-BosCCRVE.js";
13
+ import { a as $9446cca9a3875146$export$cb6e0bb50bc19463, $ as $9446cca9a3875146$export$7d15b64cf5a3a4c4 } from "./number-rWqELA8W.js";
14
+ import { $ as $488c6ddbf4ef74c2$export$cc77c4ff7e8673c5 } from "./NumberFormatter-LzoKy975.js";
15
+ function $7d0a636d7a4dcefd$export$2123ff2b87c81ca(props, ref) {
16
+ let { onScroll, isDisabled } = props;
17
+ let onScrollHandler = useCallback((e) => {
18
+ if (e.ctrlKey)
19
+ return;
20
+ e.preventDefault();
21
+ e.stopPropagation();
22
+ if (onScroll)
23
+ onScroll({
24
+ deltaX: e.deltaX,
25
+ deltaY: e.deltaY
26
+ });
27
+ }, [
28
+ onScroll
29
+ ]);
30
+ $e9faafb641e167db$export$90fc3a17d93f704c(ref, "wheel", isDisabled ? void 0 : onScrollHandler);
31
+ }
32
+ const $6c7bd7858deea686$var$CURRENCY_SIGN_REGEX = new RegExp("^.*\\(.*\\).*$");
33
+ const $6c7bd7858deea686$var$NUMBERING_SYSTEMS = [
34
+ "latn",
35
+ "arab",
36
+ "hanidec"
37
+ ];
38
+ class $6c7bd7858deea686$export$cd11ab140839f11d {
39
+ /**
40
+ * Parses the given string to a number. Returns NaN if a valid number could not be parsed.
41
+ */
42
+ parse(value) {
43
+ return $6c7bd7858deea686$var$getNumberParserImpl(this.locale, this.options, value).parse(value);
44
+ }
45
+ /**
46
+ * Returns whether the given string could potentially be a valid number. This should be used to
47
+ * validate user input as the user types. If a `minValue` or `maxValue` is provided, the validity
48
+ * of the minus/plus sign characters can be checked.
49
+ */
50
+ isValidPartialNumber(value, minValue, maxValue) {
51
+ return $6c7bd7858deea686$var$getNumberParserImpl(this.locale, this.options, value).isValidPartialNumber(value, minValue, maxValue);
52
+ }
53
+ /**
54
+ * Returns a numbering system for which the given string is valid in the current locale.
55
+ * If no numbering system could be detected, the default numbering system for the current
56
+ * locale is returned.
57
+ */
58
+ getNumberingSystem(value) {
59
+ return $6c7bd7858deea686$var$getNumberParserImpl(this.locale, this.options, value).options.numberingSystem;
60
+ }
61
+ constructor(locale, options = {}) {
62
+ this.locale = locale;
63
+ this.options = options;
64
+ }
65
+ }
66
+ const $6c7bd7858deea686$var$numberParserCache = /* @__PURE__ */ new Map();
67
+ function $6c7bd7858deea686$var$getNumberParserImpl(locale, options, value) {
68
+ let defaultParser = $6c7bd7858deea686$var$getCachedNumberParser(locale, options);
69
+ if (!locale.includes("-nu-") && !defaultParser.isValidPartialNumber(value)) {
70
+ for (let numberingSystem of $6c7bd7858deea686$var$NUMBERING_SYSTEMS)
71
+ if (numberingSystem !== defaultParser.options.numberingSystem) {
72
+ let parser = $6c7bd7858deea686$var$getCachedNumberParser(locale + (locale.includes("-u-") ? "-nu-" : "-u-nu-") + numberingSystem, options);
73
+ if (parser.isValidPartialNumber(value))
74
+ return parser;
75
+ }
76
+ }
77
+ return defaultParser;
78
+ }
79
+ function $6c7bd7858deea686$var$getCachedNumberParser(locale, options) {
80
+ let cacheKey = locale + (options ? Object.entries(options).sort((a, b) => a[0] < b[0] ? -1 : 1).join() : "");
81
+ let parser = $6c7bd7858deea686$var$numberParserCache.get(cacheKey);
82
+ if (!parser) {
83
+ parser = new $6c7bd7858deea686$var$NumberParserImpl(locale, options);
84
+ $6c7bd7858deea686$var$numberParserCache.set(cacheKey, parser);
85
+ }
86
+ return parser;
87
+ }
88
+ class $6c7bd7858deea686$var$NumberParserImpl {
89
+ parse(value) {
90
+ let fullySanitizedValue = this.sanitize(value);
91
+ if (this.symbols.group)
92
+ fullySanitizedValue = $6c7bd7858deea686$var$replaceAll(fullySanitizedValue, this.symbols.group, "");
93
+ if (this.symbols.decimal)
94
+ fullySanitizedValue = fullySanitizedValue.replace(this.symbols.decimal, ".");
95
+ if (this.symbols.minusSign)
96
+ fullySanitizedValue = fullySanitizedValue.replace(this.symbols.minusSign, "-");
97
+ fullySanitizedValue = fullySanitizedValue.replace(this.symbols.numeral, this.symbols.index);
98
+ if (this.options.style === "percent") {
99
+ let isNegative = fullySanitizedValue.indexOf("-");
100
+ fullySanitizedValue = fullySanitizedValue.replace("-", "");
101
+ let index = fullySanitizedValue.indexOf(".");
102
+ if (index === -1)
103
+ index = fullySanitizedValue.length;
104
+ fullySanitizedValue = fullySanitizedValue.replace(".", "");
105
+ if (index - 2 === 0)
106
+ fullySanitizedValue = `0.${fullySanitizedValue}`;
107
+ else if (index - 2 === -1)
108
+ fullySanitizedValue = `0.0${fullySanitizedValue}`;
109
+ else if (index - 2 === -2)
110
+ fullySanitizedValue = "0.00";
111
+ else
112
+ fullySanitizedValue = `${fullySanitizedValue.slice(0, index - 2)}.${fullySanitizedValue.slice(index - 2)}`;
113
+ if (isNegative > -1)
114
+ fullySanitizedValue = `-${fullySanitizedValue}`;
115
+ }
116
+ let newValue = fullySanitizedValue ? +fullySanitizedValue : NaN;
117
+ if (isNaN(newValue))
118
+ return NaN;
119
+ if (this.options.style === "percent") {
120
+ var _this_options_minimumFractionDigits, _this_options_maximumFractionDigits;
121
+ let options = {
122
+ ...this.options,
123
+ style: "decimal",
124
+ minimumFractionDigits: Math.min(((_this_options_minimumFractionDigits = this.options.minimumFractionDigits) !== null && _this_options_minimumFractionDigits !== void 0 ? _this_options_minimumFractionDigits : 0) + 2, 20),
125
+ maximumFractionDigits: Math.min(((_this_options_maximumFractionDigits = this.options.maximumFractionDigits) !== null && _this_options_maximumFractionDigits !== void 0 ? _this_options_maximumFractionDigits : 0) + 2, 20)
126
+ };
127
+ return new $6c7bd7858deea686$export$cd11ab140839f11d(this.locale, options).parse(new $488c6ddbf4ef74c2$export$cc77c4ff7e8673c5(this.locale, options).format(newValue));
128
+ }
129
+ if (this.options.currencySign === "accounting" && $6c7bd7858deea686$var$CURRENCY_SIGN_REGEX.test(value))
130
+ newValue = -1 * newValue;
131
+ return newValue;
132
+ }
133
+ sanitize(value) {
134
+ value = value.replace(this.symbols.literals, "");
135
+ if (this.symbols.minusSign)
136
+ value = value.replace("-", this.symbols.minusSign);
137
+ if (this.options.numberingSystem === "arab") {
138
+ if (this.symbols.decimal) {
139
+ value = value.replace(",", this.symbols.decimal);
140
+ value = value.replace(String.fromCharCode(1548), this.symbols.decimal);
141
+ }
142
+ if (this.symbols.group)
143
+ value = $6c7bd7858deea686$var$replaceAll(value, ".", this.symbols.group);
144
+ }
145
+ if (this.options.locale === "fr-FR")
146
+ value = $6c7bd7858deea686$var$replaceAll(value, ".", String.fromCharCode(8239));
147
+ return value;
148
+ }
149
+ isValidPartialNumber(value, minValue = -Infinity, maxValue = Infinity) {
150
+ value = this.sanitize(value);
151
+ if (this.symbols.minusSign && value.startsWith(this.symbols.minusSign) && minValue < 0)
152
+ value = value.slice(this.symbols.minusSign.length);
153
+ else if (this.symbols.plusSign && value.startsWith(this.symbols.plusSign) && maxValue > 0)
154
+ value = value.slice(this.symbols.plusSign.length);
155
+ if (this.symbols.group && value.startsWith(this.symbols.group))
156
+ return false;
157
+ if (this.symbols.decimal && value.indexOf(this.symbols.decimal) > -1 && this.options.maximumFractionDigits === 0)
158
+ return false;
159
+ if (this.symbols.group)
160
+ value = $6c7bd7858deea686$var$replaceAll(value, this.symbols.group, "");
161
+ value = value.replace(this.symbols.numeral, "");
162
+ if (this.symbols.decimal)
163
+ value = value.replace(this.symbols.decimal, "");
164
+ return value.length === 0;
165
+ }
166
+ constructor(locale, options = {}) {
167
+ this.locale = locale;
168
+ this.formatter = new Intl.NumberFormat(locale, options);
169
+ this.options = this.formatter.resolvedOptions();
170
+ this.symbols = $6c7bd7858deea686$var$getSymbols(locale, this.formatter, this.options, options);
171
+ var _this_options_minimumFractionDigits, _this_options_maximumFractionDigits;
172
+ if (this.options.style === "percent" && (((_this_options_minimumFractionDigits = this.options.minimumFractionDigits) !== null && _this_options_minimumFractionDigits !== void 0 ? _this_options_minimumFractionDigits : 0) > 18 || ((_this_options_maximumFractionDigits = this.options.maximumFractionDigits) !== null && _this_options_maximumFractionDigits !== void 0 ? _this_options_maximumFractionDigits : 0) > 18))
173
+ console.warn("NumberParser cannot handle percentages with greater than 18 decimal places, please reduce the number in your options.");
174
+ }
175
+ }
176
+ const $6c7bd7858deea686$var$nonLiteralParts = /* @__PURE__ */ new Set([
177
+ "decimal",
178
+ "fraction",
179
+ "integer",
180
+ "minusSign",
181
+ "plusSign",
182
+ "group"
183
+ ]);
184
+ const $6c7bd7858deea686$var$pluralNumbers = [
185
+ 0,
186
+ 4,
187
+ 2,
188
+ 1,
189
+ 11,
190
+ 20,
191
+ 3,
192
+ 7,
193
+ 100,
194
+ 21,
195
+ 0.1,
196
+ 1.1
197
+ ];
198
+ function $6c7bd7858deea686$var$getSymbols(locale, formatter, intlOptions, originalOptions) {
199
+ var _allParts_find, _posAllParts_find, _decimalParts_find, _allParts_find1;
200
+ let symbolFormatter = new Intl.NumberFormat(locale, {
201
+ ...intlOptions,
202
+ minimumSignificantDigits: 1,
203
+ maximumSignificantDigits: 21
204
+ });
205
+ let allParts = symbolFormatter.formatToParts(-10000.111);
206
+ let posAllParts = symbolFormatter.formatToParts(10000.111);
207
+ let pluralParts = $6c7bd7858deea686$var$pluralNumbers.map((n) => symbolFormatter.formatToParts(n));
208
+ var _allParts_find_value;
209
+ let minusSign = (_allParts_find_value = (_allParts_find = allParts.find((p) => p.type === "minusSign")) === null || _allParts_find === void 0 ? void 0 : _allParts_find.value) !== null && _allParts_find_value !== void 0 ? _allParts_find_value : "-";
210
+ let plusSign = (_posAllParts_find = posAllParts.find((p) => p.type === "plusSign")) === null || _posAllParts_find === void 0 ? void 0 : _posAllParts_find.value;
211
+ if (!plusSign && ((originalOptions === null || originalOptions === void 0 ? void 0 : originalOptions.signDisplay) === "exceptZero" || (originalOptions === null || originalOptions === void 0 ? void 0 : originalOptions.signDisplay) === "always"))
212
+ plusSign = "+";
213
+ let decimalParts = new Intl.NumberFormat(locale, {
214
+ ...intlOptions,
215
+ minimumFractionDigits: 2,
216
+ maximumFractionDigits: 2
217
+ }).formatToParts(1e-3);
218
+ let decimal = (_decimalParts_find = decimalParts.find((p) => p.type === "decimal")) === null || _decimalParts_find === void 0 ? void 0 : _decimalParts_find.value;
219
+ let group = (_allParts_find1 = allParts.find((p) => p.type === "group")) === null || _allParts_find1 === void 0 ? void 0 : _allParts_find1.value;
220
+ let allPartsLiterals = allParts.filter((p) => !$6c7bd7858deea686$var$nonLiteralParts.has(p.type)).map((p) => $6c7bd7858deea686$var$escapeRegex(p.value));
221
+ let pluralPartsLiterals = pluralParts.flatMap((p) => p.filter((p2) => !$6c7bd7858deea686$var$nonLiteralParts.has(p2.type)).map((p2) => $6c7bd7858deea686$var$escapeRegex(p2.value)));
222
+ let sortedLiterals = [
223
+ .../* @__PURE__ */ new Set([
224
+ ...allPartsLiterals,
225
+ ...pluralPartsLiterals
226
+ ])
227
+ ].sort((a, b) => b.length - a.length);
228
+ let literals = sortedLiterals.length === 0 ? new RegExp("[\\p{White_Space}]", "gu") : new RegExp(`${sortedLiterals.join("|")}|[\\p{White_Space}]`, "gu");
229
+ let numerals = [
230
+ ...new Intl.NumberFormat(intlOptions.locale, {
231
+ useGrouping: false
232
+ }).format(9876543210)
233
+ ].reverse();
234
+ let indexes = new Map(numerals.map((d, i) => [
235
+ d,
236
+ i
237
+ ]));
238
+ let numeral = new RegExp(`[${numerals.join("")}]`, "g");
239
+ let index = (d) => String(indexes.get(d));
240
+ return {
241
+ minusSign,
242
+ plusSign,
243
+ decimal,
244
+ group,
245
+ literals,
246
+ numeral,
247
+ index
248
+ };
249
+ }
250
+ function $6c7bd7858deea686$var$replaceAll(str, find, replace) {
251
+ if (str.replaceAll)
252
+ return str.replaceAll(find, replace);
253
+ return str.split(find).join(replace);
254
+ }
255
+ function $6c7bd7858deea686$var$escapeRegex(string) {
256
+ return string.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
257
+ }
258
+ function $d841c8010a73d545$var$supportsNativeBeforeInputEvent() {
259
+ return typeof window !== "undefined" && window.InputEvent && // @ts-ignore
260
+ typeof InputEvent.prototype.getTargetRanges === "function";
261
+ }
262
+ function $d841c8010a73d545$export$4f384c9210e583c3(props, state, inputRef) {
263
+ let onBeforeInputFallback = $8ae05eaa5c114e9c$export$7f54fc3180508a52((e) => {
264
+ let input = inputRef.current;
265
+ let nextValue;
266
+ switch (e.inputType) {
267
+ case "historyUndo":
268
+ case "historyRedo":
269
+ return;
270
+ case "insertLineBreak":
271
+ return;
272
+ case "deleteContent":
273
+ case "deleteByCut":
274
+ case "deleteByDrag":
275
+ nextValue = input.value.slice(0, input.selectionStart) + input.value.slice(input.selectionEnd);
276
+ break;
277
+ case "deleteContentForward":
278
+ nextValue = input.selectionEnd === input.selectionStart ? input.value.slice(0, input.selectionStart) + input.value.slice(input.selectionEnd + 1) : input.value.slice(0, input.selectionStart) + input.value.slice(input.selectionEnd);
279
+ break;
280
+ case "deleteContentBackward":
281
+ nextValue = input.selectionEnd === input.selectionStart ? input.value.slice(0, input.selectionStart - 1) + input.value.slice(input.selectionStart) : input.value.slice(0, input.selectionStart) + input.value.slice(input.selectionEnd);
282
+ break;
283
+ case "deleteSoftLineBackward":
284
+ case "deleteHardLineBackward":
285
+ nextValue = input.value.slice(input.selectionStart);
286
+ break;
287
+ default:
288
+ if (e.data != null)
289
+ nextValue = input.value.slice(0, input.selectionStart) + e.data + input.value.slice(input.selectionEnd);
290
+ break;
291
+ }
292
+ if (nextValue == null || !state.validate(nextValue))
293
+ e.preventDefault();
294
+ });
295
+ useEffect(() => {
296
+ if (!$d841c8010a73d545$var$supportsNativeBeforeInputEvent())
297
+ return;
298
+ let input = inputRef.current;
299
+ input.addEventListener("beforeinput", onBeforeInputFallback, false);
300
+ return () => {
301
+ input.removeEventListener("beforeinput", onBeforeInputFallback, false);
302
+ };
303
+ }, [
304
+ inputRef,
305
+ onBeforeInputFallback
306
+ ]);
307
+ let onBeforeInput = !$d841c8010a73d545$var$supportsNativeBeforeInputEvent() ? (e) => {
308
+ let nextValue = e.target.value.slice(0, e.target.selectionStart) + e.data + e.target.value.slice(e.target.selectionEnd);
309
+ if (!state.validate(nextValue))
310
+ e.preventDefault();
311
+ } : null;
312
+ let { labelProps, inputProps: textFieldProps, descriptionProps, errorMessageProps, ...validation } = $2d73ec29415bd339$export$712718f7aec83d5(props, inputRef);
313
+ let compositionStartState = useRef(null);
314
+ return {
315
+ inputProps: $3ef42575df84b30b$export$9d1611c77c2fe928(textFieldProps, {
316
+ onBeforeInput,
317
+ onCompositionStart() {
318
+ let { value, selectionStart, selectionEnd } = inputRef.current;
319
+ compositionStartState.current = {
320
+ value,
321
+ selectionStart,
322
+ selectionEnd
323
+ };
324
+ },
325
+ onCompositionEnd() {
326
+ if (!state.validate(inputRef.current.value)) {
327
+ let { value, selectionStart, selectionEnd } = compositionStartState.current;
328
+ inputRef.current.value = value;
329
+ inputRef.current.setSelectionRange(selectionStart, selectionEnd);
330
+ state.setInputValue(value);
331
+ }
332
+ }
333
+ }),
334
+ labelProps,
335
+ descriptionProps,
336
+ errorMessageProps,
337
+ ...validation
338
+ };
339
+ }
340
+ var $ed6aae4e5f766f1e$exports = {};
341
+ $ed6aae4e5f766f1e$exports = {
342
+ "Empty": `فارغ`
343
+ };
344
+ var $38854e2b175151fa$exports = {};
345
+ $38854e2b175151fa$exports = {
346
+ "Empty": `Изпразни`
347
+ };
348
+ var $15b25ab20f3945b2$exports = {};
349
+ $15b25ab20f3945b2$exports = {
350
+ "Empty": `Prázdné`
351
+ };
352
+ var $692a4298b6b649a2$exports = {};
353
+ $692a4298b6b649a2$exports = {
354
+ "Empty": `Tom`
355
+ };
356
+ var $1c6e1539193f1243$exports = {};
357
+ $1c6e1539193f1243$exports = {
358
+ "Empty": `Leer`
359
+ };
360
+ var $1e8678632c464b6d$exports = {};
361
+ $1e8678632c464b6d$exports = {
362
+ "Empty": `Άδειο`
363
+ };
364
+ var $4adc85d9bf5b9eed$exports = {};
365
+ $4adc85d9bf5b9eed$exports = {
366
+ "Empty": `Empty`
367
+ };
368
+ var $41c4b2bb61dafbca$exports = {};
369
+ $41c4b2bb61dafbca$exports = {
370
+ "Empty": `Vacío`
371
+ };
372
+ var $405f8b24f5dd2a60$exports = {};
373
+ $405f8b24f5dd2a60$exports = {
374
+ "Empty": `Tühjenda`
375
+ };
376
+ var $7efe3ed02b9b9dd4$exports = {};
377
+ $7efe3ed02b9b9dd4$exports = {
378
+ "Empty": `Tyhjä`
379
+ };
380
+ var $99fc4c101d92daf3$exports = {};
381
+ $99fc4c101d92daf3$exports = {
382
+ "Empty": `Vide`
383
+ };
384
+ var $f9e155e6e8cacaa2$exports = {};
385
+ $f9e155e6e8cacaa2$exports = {
386
+ "Empty": `ריק`
387
+ };
388
+ var $c31b5e8e9a249fd5$exports = {};
389
+ $c31b5e8e9a249fd5$exports = {
390
+ "Empty": `Prazno`
391
+ };
392
+ var $9c5435bc17499bd9$exports = {};
393
+ $9c5435bc17499bd9$exports = {
394
+ "Empty": `Üres`
395
+ };
396
+ var $6d1fc8e84d8165e1$exports = {};
397
+ $6d1fc8e84d8165e1$exports = {
398
+ "Empty": `Vuoto`
399
+ };
400
+ var $46ea6b3641b83e71$exports = {};
401
+ $46ea6b3641b83e71$exports = {
402
+ "Empty": `空`
403
+ };
404
+ var $0e3cc9a288289dc5$exports = {};
405
+ $0e3cc9a288289dc5$exports = {
406
+ "Empty": `비어 있음`
407
+ };
408
+ var $4ff2bb25c0089ffb$exports = {};
409
+ $4ff2bb25c0089ffb$exports = {
410
+ "Empty": `Tuščias`
411
+ };
412
+ var $6cf33cd4c010a2fb$exports = {};
413
+ $6cf33cd4c010a2fb$exports = {
414
+ "Empty": `Tukšs`
415
+ };
416
+ var $5a9f8486f8b8837e$exports = {};
417
+ $5a9f8486f8b8837e$exports = {
418
+ "Empty": `Tom`
419
+ };
420
+ var $583f94d807f6ecea$exports = {};
421
+ $583f94d807f6ecea$exports = {
422
+ "Empty": `Leeg`
423
+ };
424
+ var $cc4dcfeea2b4050d$exports = {};
425
+ $cc4dcfeea2b4050d$exports = {
426
+ "Empty": `Pusty`
427
+ };
428
+ var $68ac2954d56e12b4$exports = {};
429
+ $68ac2954d56e12b4$exports = {
430
+ "Empty": `Vazio`
431
+ };
432
+ var $fdb0616f309780b0$exports = {};
433
+ $fdb0616f309780b0$exports = {
434
+ "Empty": `Vazio`
435
+ };
436
+ var $fe1eccf4ee1d6f52$exports = {};
437
+ $fe1eccf4ee1d6f52$exports = {
438
+ "Empty": `Gol`
439
+ };
440
+ var $a38b6c4e18725976$exports = {};
441
+ $a38b6c4e18725976$exports = {
442
+ "Empty": `Не заполнено`
443
+ };
444
+ var $6c14ae2b766b652c$exports = {};
445
+ $6c14ae2b766b652c$exports = {
446
+ "Empty": `Prázdne`
447
+ };
448
+ var $8f1c9692e16dc5eb$exports = {};
449
+ $8f1c9692e16dc5eb$exports = {
450
+ "Empty": `Prazen`
451
+ };
452
+ var $d2aa7abea627cafa$exports = {};
453
+ $d2aa7abea627cafa$exports = {
454
+ "Empty": `Prazno`
455
+ };
456
+ var $676b82e4b56408e6$exports = {};
457
+ $676b82e4b56408e6$exports = {
458
+ "Empty": `Tomt`
459
+ };
460
+ var $14c9042552d7ce08$exports = {};
461
+ $14c9042552d7ce08$exports = {
462
+ "Empty": `Boş`
463
+ };
464
+ var $393254ebcb66c9f5$exports = {};
465
+ $393254ebcb66c9f5$exports = {
466
+ "Empty": `Пусто`
467
+ };
468
+ var $d49d621f310cf6ce$exports = {};
469
+ $d49d621f310cf6ce$exports = {
470
+ "Empty": `空`
471
+ };
472
+ var $94b60c866ca5dfe6$exports = {};
473
+ $94b60c866ca5dfe6$exports = {
474
+ "Empty": `空白`
475
+ };
476
+ var $a99895ee3dc79e61$exports = {};
477
+ $a99895ee3dc79e61$exports = {
478
+ "ar-AE": $ed6aae4e5f766f1e$exports,
479
+ "bg-BG": $38854e2b175151fa$exports,
480
+ "cs-CZ": $15b25ab20f3945b2$exports,
481
+ "da-DK": $692a4298b6b649a2$exports,
482
+ "de-DE": $1c6e1539193f1243$exports,
483
+ "el-GR": $1e8678632c464b6d$exports,
484
+ "en-US": $4adc85d9bf5b9eed$exports,
485
+ "es-ES": $41c4b2bb61dafbca$exports,
486
+ "et-EE": $405f8b24f5dd2a60$exports,
487
+ "fi-FI": $7efe3ed02b9b9dd4$exports,
488
+ "fr-FR": $99fc4c101d92daf3$exports,
489
+ "he-IL": $f9e155e6e8cacaa2$exports,
490
+ "hr-HR": $c31b5e8e9a249fd5$exports,
491
+ "hu-HU": $9c5435bc17499bd9$exports,
492
+ "it-IT": $6d1fc8e84d8165e1$exports,
493
+ "ja-JP": $46ea6b3641b83e71$exports,
494
+ "ko-KR": $0e3cc9a288289dc5$exports,
495
+ "lt-LT": $4ff2bb25c0089ffb$exports,
496
+ "lv-LV": $6cf33cd4c010a2fb$exports,
497
+ "nb-NO": $5a9f8486f8b8837e$exports,
498
+ "nl-NL": $583f94d807f6ecea$exports,
499
+ "pl-PL": $cc4dcfeea2b4050d$exports,
500
+ "pt-BR": $68ac2954d56e12b4$exports,
501
+ "pt-PT": $fdb0616f309780b0$exports,
502
+ "ro-RO": $fe1eccf4ee1d6f52$exports,
503
+ "ru-RU": $a38b6c4e18725976$exports,
504
+ "sk-SK": $6c14ae2b766b652c$exports,
505
+ "sl-SI": $8f1c9692e16dc5eb$exports,
506
+ "sr-SP": $d2aa7abea627cafa$exports,
507
+ "sv-SE": $676b82e4b56408e6$exports,
508
+ "tr-TR": $14c9042552d7ce08$exports,
509
+ "uk-UA": $393254ebcb66c9f5$exports,
510
+ "zh-CN": $d49d621f310cf6ce$exports,
511
+ "zh-TW": $94b60c866ca5dfe6$exports
512
+ };
513
+ function $parcel$interopDefault$1(a) {
514
+ return a && a.__esModule ? a.default : a;
515
+ }
516
+ function $d2e8511e6f209edf$export$e908e06f4b8e3402(props) {
517
+ const _async = useRef();
518
+ let { value, textValue, minValue, maxValue, isDisabled, isReadOnly, isRequired, onIncrement, onIncrementPage, onDecrement, onDecrementPage, onDecrementToMin, onIncrementToMax } = props;
519
+ const stringFormatter = $fca6afa0e843324b$export$f12b703ca79dfbb1($parcel$interopDefault$1($a99895ee3dc79e61$exports), "@react-aria/spinbutton");
520
+ const clearAsync = () => clearTimeout(_async.current);
521
+ useEffect(() => {
522
+ return () => clearAsync();
523
+ }, []);
524
+ let onKeyDown = (e) => {
525
+ if (e.ctrlKey || e.metaKey || e.shiftKey || e.altKey || isReadOnly)
526
+ return;
527
+ switch (e.key) {
528
+ case "PageUp":
529
+ if (onIncrementPage) {
530
+ e.preventDefault();
531
+ onIncrementPage === null || onIncrementPage === void 0 ? void 0 : onIncrementPage();
532
+ break;
533
+ }
534
+ case "ArrowUp":
535
+ case "Up":
536
+ if (onIncrement) {
537
+ e.preventDefault();
538
+ onIncrement === null || onIncrement === void 0 ? void 0 : onIncrement();
539
+ }
540
+ break;
541
+ case "PageDown":
542
+ if (onDecrementPage) {
543
+ e.preventDefault();
544
+ onDecrementPage === null || onDecrementPage === void 0 ? void 0 : onDecrementPage();
545
+ break;
546
+ }
547
+ case "ArrowDown":
548
+ case "Down":
549
+ if (onDecrement) {
550
+ e.preventDefault();
551
+ onDecrement === null || onDecrement === void 0 ? void 0 : onDecrement();
552
+ }
553
+ break;
554
+ case "Home":
555
+ if (onDecrementToMin) {
556
+ e.preventDefault();
557
+ onDecrementToMin === null || onDecrementToMin === void 0 ? void 0 : onDecrementToMin();
558
+ }
559
+ break;
560
+ case "End":
561
+ if (onIncrementToMax) {
562
+ e.preventDefault();
563
+ onIncrementToMax === null || onIncrementToMax === void 0 ? void 0 : onIncrementToMax();
564
+ }
565
+ break;
566
+ }
567
+ };
568
+ let isFocused = useRef(false);
569
+ let onFocus = () => {
570
+ isFocused.current = true;
571
+ };
572
+ let onBlur = () => {
573
+ isFocused.current = false;
574
+ };
575
+ let ariaTextValue = textValue === "" ? stringFormatter.format("Empty") : (textValue || `${value}`).replace("-", "−");
576
+ useEffect(() => {
577
+ if (isFocused.current) {
578
+ $319e236875307eab$export$d10ae4f68404609a("assertive");
579
+ $319e236875307eab$export$a9b970dcc4ae71a9(ariaTextValue, "assertive");
580
+ }
581
+ }, [
582
+ ariaTextValue
583
+ ]);
584
+ const onIncrementPressStart = $8ae05eaa5c114e9c$export$7f54fc3180508a52((initialStepDelay) => {
585
+ clearAsync();
586
+ onIncrement === null || onIncrement === void 0 ? void 0 : onIncrement();
587
+ _async.current = window.setTimeout(() => {
588
+ if (maxValue === void 0 || isNaN(maxValue) || value === void 0 || isNaN(value) || value < maxValue)
589
+ onIncrementPressStart(60);
590
+ }, initialStepDelay);
591
+ });
592
+ const onDecrementPressStart = $8ae05eaa5c114e9c$export$7f54fc3180508a52((initialStepDelay) => {
593
+ clearAsync();
594
+ onDecrement === null || onDecrement === void 0 ? void 0 : onDecrement();
595
+ _async.current = window.setTimeout(() => {
596
+ if (minValue === void 0 || isNaN(minValue) || value === void 0 || isNaN(value) || value > minValue)
597
+ onDecrementPressStart(60);
598
+ }, initialStepDelay);
599
+ });
600
+ let cancelContextMenu = (e) => {
601
+ e.preventDefault();
602
+ };
603
+ let { addGlobalListener, removeAllGlobalListeners } = $03deb23ff14920c4$export$4eaf04e54aa8eed6();
604
+ return {
605
+ spinButtonProps: {
606
+ role: "spinbutton",
607
+ "aria-valuenow": value !== void 0 && !isNaN(value) ? value : void 0,
608
+ "aria-valuetext": ariaTextValue,
609
+ "aria-valuemin": minValue,
610
+ "aria-valuemax": maxValue,
611
+ "aria-disabled": isDisabled || void 0,
612
+ "aria-readonly": isReadOnly || void 0,
613
+ "aria-required": isRequired || void 0,
614
+ onKeyDown,
615
+ onFocus,
616
+ onBlur
617
+ },
618
+ incrementButtonProps: {
619
+ onPressStart: () => {
620
+ onIncrementPressStart(400);
621
+ addGlobalListener(window, "contextmenu", cancelContextMenu);
622
+ },
623
+ onPressEnd: () => {
624
+ clearAsync();
625
+ removeAllGlobalListeners();
626
+ },
627
+ onFocus,
628
+ onBlur
629
+ },
630
+ decrementButtonProps: {
631
+ onPressStart: () => {
632
+ onDecrementPressStart(400);
633
+ addGlobalListener(window, "contextmenu", cancelContextMenu);
634
+ },
635
+ onPressEnd: () => {
636
+ clearAsync();
637
+ removeAllGlobalListeners();
638
+ },
639
+ onFocus,
640
+ onBlur
641
+ }
642
+ };
643
+ }
644
+ var $fb78e0f6ab6349ed$exports = {};
645
+ $fb78e0f6ab6349ed$exports = {
646
+ "decrease": (args) => `خفض ${args.fieldLabel}`,
647
+ "increase": (args) => `زيادة ${args.fieldLabel}`,
648
+ "numberField": `حقل رقمي`
649
+ };
650
+ var $2776acdd9959a647$exports = {};
651
+ $2776acdd9959a647$exports = {
652
+ "decrease": (args) => `Намаляване ${args.fieldLabel}`,
653
+ "increase": (args) => `Усилване ${args.fieldLabel}`,
654
+ "numberField": `Номер на полето`
655
+ };
656
+ var $741954410a365ad3$exports = {};
657
+ $741954410a365ad3$exports = {
658
+ "decrease": (args) => `Snížit ${args.fieldLabel}`,
659
+ "increase": (args) => `Zvýšit ${args.fieldLabel}`,
660
+ "numberField": `Číselné pole`
661
+ };
662
+ var $8321ed0f8ab642f0$exports = {};
663
+ $8321ed0f8ab642f0$exports = {
664
+ "decrease": (args) => `Reducer ${args.fieldLabel}`,
665
+ "increase": (args) => `Øg ${args.fieldLabel}`,
666
+ "numberField": `Talfelt`
667
+ };
668
+ var $92978e0c4ecafa32$exports = {};
669
+ $92978e0c4ecafa32$exports = {
670
+ "decrease": (args) => `${args.fieldLabel} verringern`,
671
+ "increase": (args) => `${args.fieldLabel} erhöhen`,
672
+ "numberField": `Nummernfeld`
673
+ };
674
+ var $ac5ff71962864a84$exports = {};
675
+ $ac5ff71962864a84$exports = {
676
+ "decrease": (args) => `Μείωση ${args.fieldLabel}`,
677
+ "increase": (args) => `Αύξηση ${args.fieldLabel}`,
678
+ "numberField": `Πεδίο αριθμού`
679
+ };
680
+ var $efe4685e2440d8be$exports = {};
681
+ $efe4685e2440d8be$exports = {
682
+ "decrease": (args) => `Decrease ${args.fieldLabel}`,
683
+ "increase": (args) => `Increase ${args.fieldLabel}`,
684
+ "numberField": `Number field`
685
+ };
686
+ var $e50a9a48739b90e1$exports = {};
687
+ $e50a9a48739b90e1$exports = {
688
+ "decrease": (args) => `Reducir ${args.fieldLabel}`,
689
+ "increase": (args) => `Aumentar ${args.fieldLabel}`,
690
+ "numberField": `Campo de número`
691
+ };
692
+ var $6e0d5294ecbb8ab6$exports = {};
693
+ $6e0d5294ecbb8ab6$exports = {
694
+ "decrease": (args) => `Vähenda ${args.fieldLabel}`,
695
+ "increase": (args) => `Suurenda ${args.fieldLabel}`,
696
+ "numberField": `Numbri väli`
697
+ };
698
+ var $e7129d65f607f77f$exports = {};
699
+ $e7129d65f607f77f$exports = {
700
+ "decrease": (args) => `Vähennä ${args.fieldLabel}`,
701
+ "increase": (args) => `Lisää ${args.fieldLabel}`,
702
+ "numberField": `Numerokenttä`
703
+ };
704
+ var $d72adf5b20573e34$exports = {};
705
+ $d72adf5b20573e34$exports = {
706
+ "decrease": (args) => `Diminuer ${args.fieldLabel}`,
707
+ "increase": (args) => `Augmenter ${args.fieldLabel}`,
708
+ "numberField": `Champ de nombre`
709
+ };
710
+ var $a25c707e88b844a7$exports = {};
711
+ $a25c707e88b844a7$exports = {
712
+ "decrease": (args) => `הקטן ${args.fieldLabel}`,
713
+ "increase": (args) => `הגדל ${args.fieldLabel}`,
714
+ "numberField": `שדה מספר`
715
+ };
716
+ var $69b41140b9a4ca54$exports = {};
717
+ $69b41140b9a4ca54$exports = {
718
+ "decrease": (args) => `Smanji ${args.fieldLabel}`,
719
+ "increase": (args) => `Povećaj ${args.fieldLabel}`,
720
+ "numberField": `Polje broja`
721
+ };
722
+ var $81dab28f37f59d1a$exports = {};
723
+ $81dab28f37f59d1a$exports = {
724
+ "decrease": (args) => `${args.fieldLabel} csökkentése`,
725
+ "increase": (args) => `${args.fieldLabel} növelése`,
726
+ "numberField": `Számmező`
727
+ };
728
+ var $866555b31f2d7711$exports = {};
729
+ $866555b31f2d7711$exports = {
730
+ "decrease": (args) => `Riduci ${args.fieldLabel}`,
731
+ "increase": (args) => `Aumenta ${args.fieldLabel}`,
732
+ "numberField": `Campo numero`
733
+ };
734
+ var $dafcd55d52b9d371$exports = {};
735
+ $dafcd55d52b9d371$exports = {
736
+ "decrease": (args) => `${args.fieldLabel}を縮小`,
737
+ "increase": (args) => `${args.fieldLabel}を拡大`,
738
+ "numberField": `数値フィールド`
739
+ };
740
+ var $f090c1f8c5da0145$exports = {};
741
+ $f090c1f8c5da0145$exports = {
742
+ "decrease": (args) => `${args.fieldLabel} 감소`,
743
+ "increase": (args) => `${args.fieldLabel} 증가`,
744
+ "numberField": `번호 필드`
745
+ };
746
+ var $6f10f3a13360a75c$exports = {};
747
+ $6f10f3a13360a75c$exports = {
748
+ "decrease": (args) => `Sumažinti ${args.fieldLabel}`,
749
+ "increase": (args) => `Padidinti ${args.fieldLabel}`,
750
+ "numberField": `Numerio laukas`
751
+ };
752
+ var $47432cefd4b7bd1b$exports = {};
753
+ $47432cefd4b7bd1b$exports = {
754
+ "decrease": (args) => `Samazināšana ${args.fieldLabel}`,
755
+ "increase": (args) => `Palielināšana ${args.fieldLabel}`,
756
+ "numberField": `Skaitļu lauks`
757
+ };
758
+ var $dc578a950a2bf23d$exports = {};
759
+ $dc578a950a2bf23d$exports = {
760
+ "decrease": (args) => `Reduser ${args.fieldLabel}`,
761
+ "increase": (args) => `Øk ${args.fieldLabel}`,
762
+ "numberField": `Tallfelt`
763
+ };
764
+ var $353f1bfca4dc395a$exports = {};
765
+ $353f1bfca4dc395a$exports = {
766
+ "decrease": (args) => `${args.fieldLabel} verlagen`,
767
+ "increase": (args) => `${args.fieldLabel} verhogen`,
768
+ "numberField": `Getalveld`
769
+ };
770
+ var $241bc0bbd870e982$exports = {};
771
+ $241bc0bbd870e982$exports = {
772
+ "decrease": (args) => `Zmniejsz ${args.fieldLabel}`,
773
+ "increase": (args) => `Zwiększ ${args.fieldLabel}`,
774
+ "numberField": `Pole numeru`
775
+ };
776
+ var $da3005c7bd72b0a8$exports = {};
777
+ $da3005c7bd72b0a8$exports = {
778
+ "decrease": (args) => `Diminuir ${args.fieldLabel}`,
779
+ "increase": (args) => `Aumentar ${args.fieldLabel}`,
780
+ "numberField": `Campo de número`
781
+ };
782
+ var $cf48bfc540882310$exports = {};
783
+ $cf48bfc540882310$exports = {
784
+ "decrease": (args) => `Diminuir ${args.fieldLabel}`,
785
+ "increase": (args) => `Aumentar ${args.fieldLabel}`,
786
+ "numberField": `Campo numérico`
787
+ };
788
+ var $b63a28c481ab9ee3$exports = {};
789
+ $b63a28c481ab9ee3$exports = {
790
+ "decrease": (args) => `Scădere ${args.fieldLabel}`,
791
+ "increase": (args) => `Creștere ${args.fieldLabel}`,
792
+ "numberField": `Câmp numeric`
793
+ };
794
+ var $19f9df95c2464ab6$exports = {};
795
+ $19f9df95c2464ab6$exports = {
796
+ "decrease": (args) => `Уменьшение ${args.fieldLabel}`,
797
+ "increase": (args) => `Увеличение ${args.fieldLabel}`,
798
+ "numberField": `Числовое поле`
799
+ };
800
+ var $b272932a685e8482$exports = {};
801
+ $b272932a685e8482$exports = {
802
+ "decrease": (args) => `Znížiť ${args.fieldLabel}`,
803
+ "increase": (args) => `Zvýšiť ${args.fieldLabel}`,
804
+ "numberField": `Číselné pole`
805
+ };
806
+ var $cbaf8b5b61f9e544$exports = {};
807
+ $cbaf8b5b61f9e544$exports = {
808
+ "decrease": (args) => `Upadati ${args.fieldLabel}`,
809
+ "increase": (args) => `Povečajte ${args.fieldLabel}`,
810
+ "numberField": `Številčno polje`
811
+ };
812
+ var $e0a3af6ac1449b2f$exports = {};
813
+ $e0a3af6ac1449b2f$exports = {
814
+ "decrease": (args) => `Smanji ${args.fieldLabel}`,
815
+ "increase": (args) => `Povećaj ${args.fieldLabel}`,
816
+ "numberField": `Polje broja`
817
+ };
818
+ var $71e167d2458a6019$exports = {};
819
+ $71e167d2458a6019$exports = {
820
+ "decrease": (args) => `Minska ${args.fieldLabel}`,
821
+ "increase": (args) => `Öka ${args.fieldLabel}`,
822
+ "numberField": `Nummerfält`
823
+ };
824
+ var $3719245abc082946$exports = {};
825
+ $3719245abc082946$exports = {
826
+ "decrease": (args) => `${args.fieldLabel} azalt`,
827
+ "increase": (args) => `${args.fieldLabel} arttır`,
828
+ "numberField": `Sayı alanı`
829
+ };
830
+ var $2ccc589e2f51824d$exports = {};
831
+ $2ccc589e2f51824d$exports = {
832
+ "decrease": (args) => `Зменшити ${args.fieldLabel}`,
833
+ "increase": (args) => `Збільшити ${args.fieldLabel}`,
834
+ "numberField": `Поле номера`
835
+ };
836
+ var $e1103cb9b4c13942$exports = {};
837
+ $e1103cb9b4c13942$exports = {
838
+ "decrease": (args) => `降低 ${args.fieldLabel}`,
839
+ "increase": (args) => `提高 ${args.fieldLabel}`,
840
+ "numberField": `数字字段`
841
+ };
842
+ var $448607634f80dccb$exports = {};
843
+ $448607634f80dccb$exports = {
844
+ "decrease": (args) => `縮小 ${args.fieldLabel}`,
845
+ "increase": (args) => `放大 ${args.fieldLabel}`,
846
+ "numberField": `數字欄位`
847
+ };
848
+ var $280a227d7cb94b92$exports = {};
849
+ $280a227d7cb94b92$exports = {
850
+ "ar-AE": $fb78e0f6ab6349ed$exports,
851
+ "bg-BG": $2776acdd9959a647$exports,
852
+ "cs-CZ": $741954410a365ad3$exports,
853
+ "da-DK": $8321ed0f8ab642f0$exports,
854
+ "de-DE": $92978e0c4ecafa32$exports,
855
+ "el-GR": $ac5ff71962864a84$exports,
856
+ "en-US": $efe4685e2440d8be$exports,
857
+ "es-ES": $e50a9a48739b90e1$exports,
858
+ "et-EE": $6e0d5294ecbb8ab6$exports,
859
+ "fi-FI": $e7129d65f607f77f$exports,
860
+ "fr-FR": $d72adf5b20573e34$exports,
861
+ "he-IL": $a25c707e88b844a7$exports,
862
+ "hr-HR": $69b41140b9a4ca54$exports,
863
+ "hu-HU": $81dab28f37f59d1a$exports,
864
+ "it-IT": $866555b31f2d7711$exports,
865
+ "ja-JP": $dafcd55d52b9d371$exports,
866
+ "ko-KR": $f090c1f8c5da0145$exports,
867
+ "lt-LT": $6f10f3a13360a75c$exports,
868
+ "lv-LV": $47432cefd4b7bd1b$exports,
869
+ "nb-NO": $dc578a950a2bf23d$exports,
870
+ "nl-NL": $353f1bfca4dc395a$exports,
871
+ "pl-PL": $241bc0bbd870e982$exports,
872
+ "pt-BR": $da3005c7bd72b0a8$exports,
873
+ "pt-PT": $cf48bfc540882310$exports,
874
+ "ro-RO": $b63a28c481ab9ee3$exports,
875
+ "ru-RU": $19f9df95c2464ab6$exports,
876
+ "sk-SK": $b272932a685e8482$exports,
877
+ "sl-SI": $cbaf8b5b61f9e544$exports,
878
+ "sr-SP": $e0a3af6ac1449b2f$exports,
879
+ "sv-SE": $71e167d2458a6019$exports,
880
+ "tr-TR": $3719245abc082946$exports,
881
+ "uk-UA": $2ccc589e2f51824d$exports,
882
+ "zh-CN": $e1103cb9b4c13942$exports,
883
+ "zh-TW": $448607634f80dccb$exports
884
+ };
885
+ function $parcel$interopDefault(a) {
886
+ return a && a.__esModule ? a.default : a;
887
+ }
888
+ function $81397a9303501bda$export$23f548e970bdf099(props, state, inputRef) {
889
+ let { id, decrementAriaLabel, incrementAriaLabel, isDisabled, isReadOnly, isRequired, minValue, maxValue, autoFocus, label, formatOptions, onBlur = () => {
890
+ }, onFocus, onFocusChange, onKeyDown, onKeyUp, description, errorMessage, isWheelDisabled, ...otherProps } = props;
891
+ let { increment, incrementToMax, decrement, decrementToMin, numberValue, inputValue, commit, commitValidation } = state;
892
+ const stringFormatter = $fca6afa0e843324b$export$f12b703ca79dfbb1($parcel$interopDefault($280a227d7cb94b92$exports), "@react-aria/numberfield");
893
+ let inputId = $bdb11010cef70236$export$f680877a34711e37(id);
894
+ let { focusProps } = $a1ea59d68270f0dd$export$f8168d8dd8fd66e6({
895
+ onBlur() {
896
+ commit();
897
+ }
898
+ });
899
+ let numberFormatter = $a916eb452884faea$export$b7a616150fdb9f44(formatOptions);
900
+ let intlOptions = useMemo(() => numberFormatter.resolvedOptions(), [
901
+ numberFormatter
902
+ ]);
903
+ let textValueFormatter = $a916eb452884faea$export$b7a616150fdb9f44({
904
+ ...formatOptions,
905
+ currencySign: void 0
906
+ });
907
+ let textValue = useMemo(() => isNaN(numberValue) ? "" : textValueFormatter.format(numberValue), [
908
+ textValueFormatter,
909
+ numberValue
910
+ ]);
911
+ let { spinButtonProps, incrementButtonProps: incButtonProps, decrementButtonProps: decButtonProps } = $d2e8511e6f209edf$export$e908e06f4b8e3402({
912
+ isDisabled,
913
+ isReadOnly,
914
+ isRequired,
915
+ maxValue,
916
+ minValue,
917
+ onIncrement: increment,
918
+ onIncrementToMax: incrementToMax,
919
+ onDecrement: decrement,
920
+ onDecrementToMin: decrementToMin,
921
+ value: numberValue,
922
+ textValue
923
+ });
924
+ let [focusWithin, setFocusWithin] = useState(false);
925
+ let { focusWithinProps } = $9ab94262bd0047c7$export$420e68273165f4ec({
926
+ isDisabled,
927
+ onFocusWithinChange: setFocusWithin
928
+ });
929
+ let onWheel = useCallback((e) => {
930
+ if (Math.abs(e.deltaY) <= Math.abs(e.deltaX))
931
+ return;
932
+ if (e.deltaY > 0)
933
+ increment();
934
+ else if (e.deltaY < 0)
935
+ decrement();
936
+ }, [
937
+ decrement,
938
+ increment
939
+ ]);
940
+ let scrollingDisabled = isWheelDisabled || isDisabled || isReadOnly || !focusWithin;
941
+ $7d0a636d7a4dcefd$export$2123ff2b87c81ca({
942
+ onScroll: onWheel,
943
+ isDisabled: scrollingDisabled
944
+ }, inputRef);
945
+ let hasDecimals = intlOptions.maximumFractionDigits > 0;
946
+ let hasNegative = state.minValue === void 0 || isNaN(state.minValue) || state.minValue < 0;
947
+ let inputMode = "numeric";
948
+ if ($c87311424ea30a05$export$186c6964ca17d99()) {
949
+ if (hasNegative)
950
+ inputMode = "text";
951
+ else if (hasDecimals)
952
+ inputMode = "decimal";
953
+ } else if ($c87311424ea30a05$export$a11b0059900ceec8()) {
954
+ if (hasNegative)
955
+ inputMode = "numeric";
956
+ else if (hasDecimals)
957
+ inputMode = "decimal";
958
+ }
959
+ let onChange = (value) => {
960
+ if (state.validate(value))
961
+ state.setInputValue(value);
962
+ };
963
+ let domProps = $65484d02dcb7eb3e$export$457c3d6518dd4c6f(props);
964
+ let onKeyDownEnter = useCallback((e) => {
965
+ if (e.key === "Enter") {
966
+ commit();
967
+ commitValidation();
968
+ } else
969
+ e.continuePropagation();
970
+ }, [
971
+ commit,
972
+ commitValidation
973
+ ]);
974
+ let { isInvalid, validationErrors, validationDetails } = state.displayValidation;
975
+ let { labelProps, inputProps: textFieldProps, descriptionProps, errorMessageProps } = $d841c8010a73d545$export$4f384c9210e583c3({
976
+ ...otherProps,
977
+ ...domProps,
978
+ name: void 0,
979
+ label,
980
+ autoFocus,
981
+ isDisabled,
982
+ isReadOnly,
983
+ isRequired,
984
+ validate: void 0,
985
+ [$e5be200c675c3b3a$export$a763b9476acd3eb]: state,
986
+ value: inputValue,
987
+ defaultValue: void 0,
988
+ autoComplete: "off",
989
+ "aria-label": props["aria-label"] || void 0,
990
+ "aria-labelledby": props["aria-labelledby"] || void 0,
991
+ id: inputId,
992
+ type: "text",
993
+ inputMode,
994
+ onChange,
995
+ onBlur,
996
+ onFocus,
997
+ onFocusChange,
998
+ onKeyDown: useMemo(() => $ff5963eb1fccf552$export$e08e3b67e392101e(onKeyDownEnter, onKeyDown), [
999
+ onKeyDownEnter,
1000
+ onKeyDown
1001
+ ]),
1002
+ onKeyUp,
1003
+ description,
1004
+ errorMessage
1005
+ }, state, inputRef);
1006
+ $99facab73266f662$export$5add1d006293d136(inputRef, state.numberValue, state.setNumberValue);
1007
+ let inputProps = $3ef42575df84b30b$export$9d1611c77c2fe928(spinButtonProps, focusProps, textFieldProps, {
1008
+ // override the spinbutton role, we can't focus a spin button with VO
1009
+ role: null,
1010
+ // ignore aria-roledescription on iOS so that required state will announce when it is present
1011
+ "aria-roledescription": !$c87311424ea30a05$export$fedb369cb70207f1() ? stringFormatter.format("numberField") : null,
1012
+ "aria-valuemax": null,
1013
+ "aria-valuemin": null,
1014
+ "aria-valuenow": null,
1015
+ "aria-valuetext": null,
1016
+ autoCorrect: "off",
1017
+ spellCheck: "false"
1018
+ });
1019
+ if (props.validationBehavior === "native")
1020
+ inputProps["aria-required"] = void 0;
1021
+ let onButtonPressStart = (e) => {
1022
+ var _inputRef_current;
1023
+ if (document.activeElement === inputRef.current)
1024
+ return;
1025
+ if (e.pointerType === "mouse")
1026
+ (_inputRef_current = inputRef.current) === null || _inputRef_current === void 0 ? void 0 : _inputRef_current.focus();
1027
+ else
1028
+ e.target.focus();
1029
+ };
1030
+ let fieldLabel = props["aria-label"] || (typeof props.label === "string" ? props.label : "");
1031
+ let ariaLabelledby;
1032
+ if (!fieldLabel)
1033
+ ariaLabelledby = props.label != null ? labelProps.id : props["aria-labelledby"];
1034
+ let incrementId = $bdb11010cef70236$export$f680877a34711e37();
1035
+ let decrementId = $bdb11010cef70236$export$f680877a34711e37();
1036
+ let incrementButtonProps = $3ef42575df84b30b$export$9d1611c77c2fe928(incButtonProps, {
1037
+ "aria-label": incrementAriaLabel || stringFormatter.format("increase", {
1038
+ fieldLabel
1039
+ }).trim(),
1040
+ id: ariaLabelledby && !incrementAriaLabel ? incrementId : null,
1041
+ "aria-labelledby": ariaLabelledby && !incrementAriaLabel ? `${incrementId} ${ariaLabelledby}` : null,
1042
+ "aria-controls": inputId,
1043
+ excludeFromTabOrder: true,
1044
+ preventFocusOnPress: true,
1045
+ allowFocusWhenDisabled: true,
1046
+ isDisabled: !state.canIncrement,
1047
+ onPressStart: onButtonPressStart
1048
+ });
1049
+ let decrementButtonProps = $3ef42575df84b30b$export$9d1611c77c2fe928(decButtonProps, {
1050
+ "aria-label": decrementAriaLabel || stringFormatter.format("decrease", {
1051
+ fieldLabel
1052
+ }).trim(),
1053
+ id: ariaLabelledby && !decrementAriaLabel ? decrementId : null,
1054
+ "aria-labelledby": ariaLabelledby && !decrementAriaLabel ? `${decrementId} ${ariaLabelledby}` : null,
1055
+ "aria-controls": inputId,
1056
+ excludeFromTabOrder: true,
1057
+ preventFocusOnPress: true,
1058
+ allowFocusWhenDisabled: true,
1059
+ isDisabled: !state.canDecrement,
1060
+ onPressStart: onButtonPressStart
1061
+ });
1062
+ return {
1063
+ groupProps: {
1064
+ ...focusWithinProps,
1065
+ role: "group",
1066
+ "aria-disabled": isDisabled,
1067
+ "aria-invalid": isInvalid ? "true" : void 0
1068
+ },
1069
+ labelProps,
1070
+ inputProps,
1071
+ incrementButtonProps,
1072
+ decrementButtonProps,
1073
+ errorMessageProps,
1074
+ descriptionProps,
1075
+ isInvalid,
1076
+ validationErrors,
1077
+ validationDetails
1078
+ };
1079
+ }
1080
+ function $de67e98908f0c6ee$export$7f629e9dc1ecf37c(props) {
1081
+ let { minValue, maxValue, step, formatOptions, value, defaultValue = NaN, onChange, locale, isDisabled, isReadOnly } = props;
1082
+ if (value === null)
1083
+ value = NaN;
1084
+ if (value !== void 0 && !isNaN(value)) {
1085
+ if (step !== void 0 && !isNaN(step))
1086
+ value = $9446cca9a3875146$export$cb6e0bb50bc19463(value, minValue, maxValue, step);
1087
+ else
1088
+ value = $9446cca9a3875146$export$7d15b64cf5a3a4c4(value, minValue, maxValue);
1089
+ }
1090
+ if (!isNaN(defaultValue)) {
1091
+ if (step !== void 0 && !isNaN(step))
1092
+ defaultValue = $9446cca9a3875146$export$cb6e0bb50bc19463(defaultValue, minValue, maxValue, step);
1093
+ else
1094
+ defaultValue = $9446cca9a3875146$export$7d15b64cf5a3a4c4(defaultValue, minValue, maxValue);
1095
+ }
1096
+ let [numberValue, setNumberValue] = $458b0a5536c1a7cf$export$40bfa8c7b0832715(value, isNaN(defaultValue) ? NaN : defaultValue, onChange);
1097
+ let [inputValue, setInputValue] = useState(() => isNaN(numberValue) ? "" : new $488c6ddbf4ef74c2$export$cc77c4ff7e8673c5(locale, formatOptions).format(numberValue));
1098
+ let numberParser = useMemo(() => new $6c7bd7858deea686$export$cd11ab140839f11d(locale, formatOptions), [
1099
+ locale,
1100
+ formatOptions
1101
+ ]);
1102
+ let numberingSystem = useMemo(() => numberParser.getNumberingSystem(inputValue), [
1103
+ numberParser,
1104
+ inputValue
1105
+ ]);
1106
+ let formatter = useMemo(() => new $488c6ddbf4ef74c2$export$cc77c4ff7e8673c5(locale, {
1107
+ ...formatOptions,
1108
+ numberingSystem
1109
+ }), [
1110
+ locale,
1111
+ formatOptions,
1112
+ numberingSystem
1113
+ ]);
1114
+ let intlOptions = useMemo(() => formatter.resolvedOptions(), [
1115
+ formatter
1116
+ ]);
1117
+ let format = useCallback((value2) => isNaN(value2) || value2 === null ? "" : formatter.format(value2), [
1118
+ formatter
1119
+ ]);
1120
+ let validation = $e5be200c675c3b3a$export$fc1a364ae1f3ff10({
1121
+ ...props,
1122
+ value: numberValue
1123
+ });
1124
+ let clampStep = step !== void 0 && !isNaN(step) ? step : 1;
1125
+ if (intlOptions.style === "percent" && (step === void 0 || isNaN(step)))
1126
+ clampStep = 0.01;
1127
+ let [prevValue, setPrevValue] = useState(numberValue);
1128
+ let [prevLocale, setPrevLocale] = useState(locale);
1129
+ let [prevFormatOptions, setPrevFormatOptions] = useState(formatOptions);
1130
+ if (!Object.is(numberValue, prevValue) || locale !== prevLocale || formatOptions !== prevFormatOptions) {
1131
+ setInputValue(format(numberValue));
1132
+ setPrevValue(numberValue);
1133
+ setPrevLocale(locale);
1134
+ setPrevFormatOptions(formatOptions);
1135
+ }
1136
+ let parsedValue = useMemo(() => numberParser.parse(inputValue), [
1137
+ numberParser,
1138
+ inputValue
1139
+ ]);
1140
+ let commit = () => {
1141
+ if (!inputValue.length) {
1142
+ setNumberValue(NaN);
1143
+ setInputValue(value === void 0 ? "" : format(numberValue));
1144
+ return;
1145
+ }
1146
+ if (isNaN(parsedValue)) {
1147
+ setInputValue(format(numberValue));
1148
+ return;
1149
+ }
1150
+ let clampedValue;
1151
+ if (step === void 0 || isNaN(step))
1152
+ clampedValue = $9446cca9a3875146$export$7d15b64cf5a3a4c4(parsedValue, minValue, maxValue);
1153
+ else
1154
+ clampedValue = $9446cca9a3875146$export$cb6e0bb50bc19463(parsedValue, minValue, maxValue, step);
1155
+ clampedValue = numberParser.parse(format(clampedValue));
1156
+ setNumberValue(clampedValue);
1157
+ setInputValue(format(value === void 0 ? clampedValue : numberValue));
1158
+ };
1159
+ let safeNextStep = (operation, minMax = 0) => {
1160
+ let prev = parsedValue;
1161
+ if (isNaN(prev)) {
1162
+ let newValue = isNaN(minMax) ? 0 : minMax;
1163
+ return $9446cca9a3875146$export$cb6e0bb50bc19463(newValue, minValue, maxValue, clampStep);
1164
+ } else {
1165
+ let newValue = $9446cca9a3875146$export$cb6e0bb50bc19463(prev, minValue, maxValue, clampStep);
1166
+ if (operation === "+" && newValue > prev || operation === "-" && newValue < prev)
1167
+ return newValue;
1168
+ return $9446cca9a3875146$export$cb6e0bb50bc19463($de67e98908f0c6ee$var$handleDecimalOperation(operation, prev, clampStep), minValue, maxValue, clampStep);
1169
+ }
1170
+ };
1171
+ let increment = () => {
1172
+ let newValue = safeNextStep("+", minValue);
1173
+ if (newValue === numberValue)
1174
+ setInputValue(format(newValue));
1175
+ setNumberValue(newValue);
1176
+ validation.commitValidation();
1177
+ };
1178
+ let decrement = () => {
1179
+ let newValue = safeNextStep("-", maxValue);
1180
+ if (newValue === numberValue)
1181
+ setInputValue(format(newValue));
1182
+ setNumberValue(newValue);
1183
+ validation.commitValidation();
1184
+ };
1185
+ let incrementToMax = () => {
1186
+ if (maxValue != null) {
1187
+ setNumberValue($9446cca9a3875146$export$cb6e0bb50bc19463(maxValue, minValue, maxValue, clampStep));
1188
+ validation.commitValidation();
1189
+ }
1190
+ };
1191
+ let decrementToMin = () => {
1192
+ if (minValue != null) {
1193
+ setNumberValue(minValue);
1194
+ validation.commitValidation();
1195
+ }
1196
+ };
1197
+ let canIncrement = useMemo(() => !isDisabled && !isReadOnly && (isNaN(parsedValue) || maxValue === void 0 || isNaN(maxValue) || $9446cca9a3875146$export$cb6e0bb50bc19463(parsedValue, minValue, maxValue, clampStep) > parsedValue || $de67e98908f0c6ee$var$handleDecimalOperation("+", parsedValue, clampStep) <= maxValue), [
1198
+ isDisabled,
1199
+ isReadOnly,
1200
+ minValue,
1201
+ maxValue,
1202
+ clampStep,
1203
+ parsedValue
1204
+ ]);
1205
+ let canDecrement = useMemo(() => !isDisabled && !isReadOnly && (isNaN(parsedValue) || minValue === void 0 || isNaN(minValue) || $9446cca9a3875146$export$cb6e0bb50bc19463(parsedValue, minValue, maxValue, clampStep) < parsedValue || $de67e98908f0c6ee$var$handleDecimalOperation("-", parsedValue, clampStep) >= minValue), [
1206
+ isDisabled,
1207
+ isReadOnly,
1208
+ minValue,
1209
+ maxValue,
1210
+ clampStep,
1211
+ parsedValue
1212
+ ]);
1213
+ let validate = (value2) => numberParser.isValidPartialNumber(value2, minValue, maxValue);
1214
+ return {
1215
+ ...validation,
1216
+ validate,
1217
+ increment,
1218
+ incrementToMax,
1219
+ decrement,
1220
+ decrementToMin,
1221
+ canIncrement,
1222
+ canDecrement,
1223
+ minValue,
1224
+ maxValue,
1225
+ numberValue: parsedValue,
1226
+ setNumberValue,
1227
+ setInputValue,
1228
+ inputValue,
1229
+ commit
1230
+ };
1231
+ }
1232
+ function $de67e98908f0c6ee$var$handleDecimalOperation(operator, value1, value2) {
1233
+ let result = operator === "+" ? value1 + value2 : value1 - value2;
1234
+ if (value1 % 1 !== 0 || value2 % 1 !== 0) {
1235
+ const value1Decimal = value1.toString().split(".");
1236
+ const value2Decimal = value2.toString().split(".");
1237
+ const value1DecimalLength = value1Decimal[1] && value1Decimal[1].length || 0;
1238
+ const value2DecimalLength = value2Decimal[1] && value2Decimal[1].length || 0;
1239
+ const multiplier = Math.pow(10, Math.max(value1DecimalLength, value2DecimalLength));
1240
+ value1 = Math.round(value1 * multiplier);
1241
+ value2 = Math.round(value2 * multiplier);
1242
+ result = operator === "+" ? value1 + value2 : value1 - value2;
1243
+ result /= multiplier;
1244
+ }
1245
+ return result;
1246
+ }
1247
+ export {
1248
+ $de67e98908f0c6ee$export$7f629e9dc1ecf37c as $,
1249
+ $81397a9303501bda$export$23f548e970bdf099 as a,
1250
+ $d2e8511e6f209edf$export$e908e06f4b8e3402 as b,
1251
+ $7d0a636d7a4dcefd$export$2123ff2b87c81ca as c,
1252
+ $d841c8010a73d545$export$4f384c9210e583c3 as d
1253
+ };