@bcgov/design-system-react-components 0.0.1 → 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/esm/index.js CHANGED
@@ -1,7 +1,37 @@
1
- import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
1
+ import { jsx, jsxs } from 'react/jsx-runtime';
2
2
  import $dGqE5$react, { useState, useRef, useEffect, useCallback, useContext, useMemo, createContext, forwardRef, cloneElement, createElement } from 'react';
3
3
  import { flushSync, createPortal } from 'react-dom';
4
4
 
5
+ function styleInject(css, ref) {
6
+ if ( ref === void 0 ) ref = {};
7
+ var insertAt = ref.insertAt;
8
+
9
+ if (!css || typeof document === 'undefined') { return; }
10
+
11
+ var head = document.head || document.getElementsByTagName('head')[0];
12
+ var style = document.createElement('style');
13
+ style.type = 'text/css';
14
+
15
+ if (insertAt === 'top') {
16
+ if (head.firstChild) {
17
+ head.insertBefore(style, head.firstChild);
18
+ } else {
19
+ head.appendChild(style);
20
+ }
21
+ } else {
22
+ head.appendChild(style);
23
+ }
24
+
25
+ if (style.styleSheet) {
26
+ style.styleSheet.cssText = css;
27
+ } else {
28
+ style.appendChild(document.createTextNode(css));
29
+ }
30
+ }
31
+
32
+ var css_248z$4 = "/**\n * Do not edit directly\n * Generated on Wed, 22 Nov 2023 20:31:25 GMT\n */\n\n:root {\n --surface-opacity-0: 0;\n --surface-opacity-10: 0.1;\n --surface-opacity-20: 0.2;\n --surface-opacity-30: 0.3;\n --surface-opacity-40: 0.4;\n --surface-opacity-50: 0.5;\n --surface-opacity-60: 0.6;\n --surface-opacity-70: 0.7;\n --surface-opacity-80: 0.8;\n --surface-opacity-90: 0.9;\n --surface-opacity-100: 1;\n --surface-primary-default: #013366;\n --surface-primary-hover: #1E5189;\n --surface-primary-disabled: #edebe9;\n --surface-primary-active: #2E5DD7;\n --surface-secondary-default: #ffffff;\n --surface-secondary-hover: #edebe9;\n --surface-secondary-disabled: #edebe9;\n --surface-secondary-active: #2E5DD7;\n --surface-tertiary-default: #ffffff00;\n --surface-tertiary-hover: #eceae8;\n --surface-tertiary-disabled: #edebe9;\n --surface-tertiary-active: #2E5DD7;\n --surface-danger-default: #ce3e39;\n --surface-danger-hover: #a2312d;\n --surface-danger-active: #2E5DD7;\n --surface-danger-disabled: #edebe9;\n --surface-background-white: #ffffff;\n --surface-background-light: #faf9f8;\n --surface-border-light: #d8d8d8;\n --surface-border-medium: #898785;\n --surface-border-dark: #353433;\n --surface-overlay-default: #00000073;\n --surface-brand-gold-10: #fff8e9;\n --surface-brand-gold-20: #feebc2;\n --surface-brand-gold-30: #fddf9d;\n --surface-brand-gold-40: #fdd47b;\n --surface-brand-gold-50: #fcc85d;\n --surface-brand-gold-60: #f8ba47; /* BC Gold */\n --surface-brand-gold-70: #ce9737;\n --surface-brand-gold-80: #a5792b;\n --surface-brand-gold-90: #7e5d21;\n --surface-brand-gold-100: #584215;\n --surface-brand-blue-10: #f1f8fe;\n --surface-brand-blue-20: #d8eafd;\n --surface-brand-blue-30: #c1ddfc;\n --surface-brand-blue-40: #a8d0fb;\n --surface-brand-blue-50: #91c4fa;\n --surface-brand-blue-60: #7ab8f9;\n --surface-brand-blue-70: #5595d9;\n --surface-brand-blue-80: #3470b1;\n --surface-brand-blue-90: #1e5189;\n --surface-brand-blue-100: #053662; /* BC Blue */\n --surface-brand-gray-10: #faf9f8;\n --surface-brand-gray-20: #f3f2f1;\n --surface-brand-gray-30: #eceae8;\n --surface-brand-gray-40: #e0dedc;\n --surface-brand-gray-50: #d1cfcd;\n --surface-brand-gray-60: #c6c5c3;\n --surface-brand-gray-70: #9f9d9c;\n --surface-brand-gray-80: #605e5c;\n --surface-brand-gray-90: #3d3c3b;\n --surface-brand-gray-100: #353433;\n --surface-brand-gray-110: #252423;\n --surface-brand-gray-white: #ffffff;\n --surface-icons-primary: #2d2d2d;\n --surface-icons-secondary: #474543;\n --surface-icons-disabled: #9f9d9c;\n --surface-icons-link: #255a90;\n --surface-icons-info: #053662;\n --surface-icons-danger: #ce3e39;\n --surface-icons-success: #42814a;\n --surface-icons-warning: #f8bb47;\n --surface-support-surface-color-info: #f7f9fc;\n --surface-support-surface-color-danger: #f4e1e2;\n --surface-support-surface-color-success: #f6fff8;\n --surface-support-surface-color-warning: #fef1d8;\n --surface-support-border-color-info: #053662;\n --surface-support-border-color-danger: #ce3e39;\n --surface-support-border-color-success: #42814a;\n --surface-support-border-color-warning: #f8bb47;\n --surface-shadow-none: 0 0.30000001192092896px 0.8999999761581421px 0 #0000001a, 0 1.600000023841858px 3.5999999046325684px 0 #00000021;\n --surface-shadow-small: 0 0.6000000238418579px 1.7999999523162842px 0 #0000001a, 0 3.200000047683716px 7.199999809265137px 0 #00000021; /* Primarily used as a hover effect for cards */\n --surface-shadow-medium: 0 1.2000000476837158px 3.5999999046325684px 0 #0000001a, 0 6.400000095367432px 14.399999618530273px 0 #00000021; /* Primarily used for dropdown menus and tooltips */\n --surface-shadow-large: 0 4.800000190734863px 14.399999618530273px 0 #0000002e, 0 25.600000381469727px 57.599998474121094px 0 #00000038; /* Primarily used for dialogs */\n --surface-border-radius-none: 0;\n --surface-border-radius-small: 2px;\n --surface-border-radius-medium: 4px;\n --surface-border-radius-large: 6px;\n --surface-border-width-none: 0;\n --surface-border-width-small: 1px;\n --surface-border-width-medium: 2px;\n --surface-border-width-large: 4px;\n --surface-size-small: 0px 8px;\n --surface-size-medium: 6px 16px;\n --support-support-surface-color-info: #f7f9fc;\n --support-support-surface-color-danger: #f4e1e2;\n --support-support-surface-color-success: #f6fff8;\n --support-support-surface-color-warning: #fef1d8;\n --support-support-border-color-info: #053662;\n --support-support-border-color-danger: #ce3e39;\n --support-support-border-color-success: #42814a;\n --support-support-border-color-warning: #f8bb47;\n --icons-icons-primary: #2d2d2d;\n --icons-icons-secondary: #474543;\n --icons-icons-disabled: #9f9d9c;\n --icons-icons-link: #255a90;\n --icons-icons-info: #053662;\n --icons-icons-danger: #ce3e39;\n --icons-icons-success: #42814a;\n --icons-icons-warning: #f8bb47;\n --icons-icons-primary-invert: #ffffff;\n --icons-size-xsmall: 14px;\n --icons-size-small: 16px;\n --icons-size-medium: 20px;\n --icons-size-large: 24px;\n --icons-size-xlarge: 32px;\n --layout-border-width-none: 0;\n --layout-border-width-small: 1px;\n --layout-border-width-medium: 2px;\n --layout-border-width-large: 4px;\n --layout-padding-none: 0;\n --layout-padding-xsmall: 4px;\n --layout-padding-small: 8px;\n --layout-padding-medium: 16px;\n --layout-padding-large: 24px;\n --layout-padding-xlarge: 32px;\n --layout-margin-none: 0;\n --layout-margin-hair: 2px;\n --layout-margin-xsmall: 4px;\n --layout-margin-small: 8px;\n --layout-margin-medium: 16px;\n --layout-margin-large: 24px;\n --layout-margin-xlarge: 32px;\n --layout-margin-xxlarge: 40px;\n --layout-margin-xxxlarge: 48px;\n --layout-margin-huge: 56px;\n --typography-font-families-bc-sans: 'BC Sans';\n --typography-line-heights-xxdense: 1.313rem;\n --typography-line-heights-xdense: 1.688rem;\n --typography-line-heights-dense: 1.913rem;\n --typography-line-heights-regular: 2.125rem;\n --typography-line-heights-sparse: 2.25rem;\n --typography-line-heights-xsparse: 3rem;\n --typography-line-heights-xxsparse: 3.375rem;\n --typography-line-heights-auto: AUTO;\n --typography-font-weights-regular: 400;\n --typography-font-weights-bold: 700;\n --typography-font-weights-italic: Italic;\n --typography-font-size-label: 0.875rem;\n --typography-font-size-body: 1rem;\n --typography-font-size-large-body: 1.125rem;\n --typography-font-size-h5: 1.25rem;\n --typography-font-size-h4: 1.5rem;\n --typography-font-size-h3: 1.75rem;\n --typography-font-size-h2: 2rem;\n --typography-font-size-h1: 2.25rem;\n --typography-font-size-display: 3rem;\n --typography-letter-spacing-0: 0em;\n --typography-paragraph-spacing-0: 0;\n --typography-regular-label: 400 0.875rem/1.313rem 'BC Sans';\n --typography-regular-body: 400 1rem/1.688rem 'BC Sans';\n --typography-regular-large-body: 400 1.125rem/1.913rem 'BC Sans';\n --typography-regular-h5: 400 1.25rem/2.125rem 'BC Sans';\n --typography-regular-h4: 400 1.5rem/2.25rem 'BC Sans';\n --typography-regular-h3: 400 1.75rem/3rem 'BC Sans';\n --typography-regular-h2: 400 2rem/3.375rem 'BC Sans';\n --typography-regular-h1: 400 2.25rem/3rem 'BC Sans';\n --typography-regular-display: 400 3rem/AUTO 'BC Sans';\n --typography-bold-label: 700 0.875rem/1.313rem 'BC Sans';\n --typography-bold-body: 700 1rem/1.688rem 'BC Sans';\n --typography-bold-large-body: 700 1.125rem/1.913rem 'BC Sans';\n --typography-bold-h5: 700 1.25rem/2.125rem 'BC Sans';\n --typography-bold-h4: 700 1.5rem/2.25rem 'BC Sans';\n --typography-bold-h3: 700 1.75rem/3.375rem 'BC Sans';\n --typography-bold-h2: 700 2rem/3rem 'BC Sans';\n --typography-bold-h1: 700 2.25rem/AUTO 'BC Sans';\n --typography-bold-display: 700 3rem/AUTO 'BC Sans';\n --typography-italic-label: 400 italic 0.875rem/1.313rem 'BC Sans';\n --typography-italic-body: 400 italic 1rem/1.688rem 'BC Sans';\n --typography-italic-large-body: 400 italic 1.125rem/1.913rem 'BC Sans';\n --typography-italic-h5: 400 italic 1.25rem/2.125rem 'BC Sans';\n --typography-italic-h4: 400 italic 1.5rem/2.25rem 'BC Sans';\n --typography-italic-h3: 400 italic 1.75rem/3.375rem 'BC Sans';\n --typography-italic-h2: 400 italic 2rem/3.375rem 'BC Sans';\n --typography-italic-h1: 400 italic 2.25rem/3rem 'BC Sans';\n --typography-italic-display: 400 italic 3rem/AUTO 'BC Sans';\n --typography-text-case-none: none;\n --typography-text-decoration-none: none;\n --typography-paragraph-indent-0: 0px;\n --typography-color-primary: #2D2D2D;\n --typography-color-secondary: #474543;\n --typography-color-disabled: #9F9D9C;\n --typography-color-link: #255A90;\n --typography-color-primary-invert: #FFFFFF;\n --typography-color-secondary-invert: #ECEAE8;\n}\n";
33
+ styleInject(css_248z$4);
34
+
5
35
  /*
6
36
  * Copyright 2020 Adobe. All rights reserved.
7
37
  * This file is licensed to you under the Apache License, Version 2.0 (the "License");
@@ -118,7 +148,7 @@ function $b5e257d569688ac6$var$useCounter(isDisabled = false) {
118
148
  let ref = (useRef)(null);
119
149
  // eslint-disable-next-line rulesdir/pure-render
120
150
  if (ref.current === null && !isDisabled) {
121
- var _React___SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED, _React___SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED_ReactCurrentOwner;
151
+ var _React___SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED_ReactCurrentOwner, _React___SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
122
152
  // In strict mode, React renders components twice, and the ref will be reset to null on the second render.
123
153
  // This means our id counter will be incremented twice instead of once. This is a problem because on the
124
154
  // server, components are only rendered once and so ids generated on the server won't match the client.
@@ -254,6 +284,7 @@ function $8ae05eaa5c114e9c$export$7f54fc3180508a52(fn) {
254
284
  }, [
255
285
  fn
256
286
  ]);
287
+ // @ts-ignore
257
288
  return (useCallback)((...args)=>{
258
289
  const f = ref.current;
259
290
  return f(...args);
@@ -295,6 +326,8 @@ function $1dbecbe27a04f9af$export$14d238f342723f25(defaultValue) {
295
326
  }
296
327
 
297
328
 
329
+ // copied from SSRProvider.tsx to reduce exports, if needed again, consider sharing
330
+ let $bdb11010cef70236$var$canUseDOM = Boolean(typeof window !== "undefined" && window.document && window.document.createElement);
298
331
  let $bdb11010cef70236$var$idsUpdaterMap = new Map();
299
332
  function $bdb11010cef70236$export$f680877a34711e37(defaultId) {
300
333
  let [value, setValue] = (useState)(defaultId);
@@ -303,7 +336,7 @@ function $bdb11010cef70236$export$f680877a34711e37(defaultId) {
303
336
  let updateValue = (useCallback)((val)=>{
304
337
  nextId.current = val;
305
338
  }, []);
306
- $bdb11010cef70236$var$idsUpdaterMap.set(res, updateValue);
339
+ if ($bdb11010cef70236$var$canUseDOM) $bdb11010cef70236$var$idsUpdaterMap.set(res, updateValue);
307
340
  ($f0a04ccd8dbdd83b$export$e5c5a5f917a5871c)(()=>{
308
341
  let r = res;
309
342
  return ()=>{
@@ -377,6 +410,17 @@ function $bdb11010cef70236$export$b4cc09c592e8fdb8(depArray = []) {
377
410
  }
378
411
 
379
412
 
413
+ const $431fbd86ca7dc216$export$b204af158042fbac = (el)=>{
414
+ var _el_ownerDocument;
415
+ return (_el_ownerDocument = el === null || el === void 0 ? void 0 : el.ownerDocument) !== null && _el_ownerDocument !== void 0 ? _el_ownerDocument : document;
416
+ };
417
+ const $431fbd86ca7dc216$export$f21a1ffae260145a = (el)=>{
418
+ if (el && "window" in el && el.window === el) return el;
419
+ const doc = $431fbd86ca7dc216$export$b204af158042fbac(el);
420
+ return doc.defaultView || window;
421
+ };
422
+
423
+
380
424
  /*
381
425
  * Copyright 2020 Adobe. All rights reserved.
382
426
  * This file is licensed to you under the Apache License, Version 2.0 (the "License");
@@ -605,7 +649,7 @@ function $ea8dcbcb9ea1b556$export$9a302a45f65d0572() {
605
649
  return (useContext)($ea8dcbcb9ea1b556$var$RouterContext);
606
650
  }
607
651
  function $ea8dcbcb9ea1b556$export$95185d699e05d4d7(target, modifiers, setOpening = true) {
608
- var _window_event, _window_event_type;
652
+ var _window_event_type, _window_event;
609
653
  let { metaKey: metaKey, ctrlKey: ctrlKey, altKey: altKey, shiftKey: shiftKey } = modifiers;
610
654
  // Firefox does not recognize keyboard events as a user action by default, and the popup blocker
611
655
  // will prevent links with target="_blank" from opening. However, it does allow the event if the
@@ -1077,7 +1121,7 @@ function $2f04cbc44ee30ce0$export$c826860796309d1b(targetElement, opts) {
1077
1121
  let { left: newLeft, top: newTop } = targetElement.getBoundingClientRect();
1078
1122
  // Account for sub pixel differences from rounding
1079
1123
  if (Math.abs(originalLeft - newLeft) > 1 || Math.abs(originalTop - newTop) > 1) {
1080
- var _opts_containingElement, _opts_containingElement_scrollIntoView, _targetElement_scrollIntoView1;
1124
+ var _opts_containingElement_scrollIntoView, _opts_containingElement, _targetElement_scrollIntoView1;
1081
1125
  opts === null || opts === void 0 ? void 0 : (_opts_containingElement = opts.containingElement) === null || _opts_containingElement === void 0 ? void 0 : (_opts_containingElement_scrollIntoView = _opts_containingElement.scrollIntoView) === null || _opts_containingElement_scrollIntoView === void 0 ? void 0 : _opts_containingElement_scrollIntoView.call(_opts_containingElement, {
1082
1126
  block: "center",
1083
1127
  inline: "center"
@@ -1265,8 +1309,10 @@ let $14c0b72509d70225$var$modifiedElementMap = new WeakMap();
1265
1309
  function $14c0b72509d70225$export$16a4697467175487(target) {
1266
1310
  if (($c87311424ea30a05$export$fedb369cb70207f1)()) {
1267
1311
  if ($14c0b72509d70225$var$state === "default") {
1268
- $14c0b72509d70225$var$savedUserSelect = document.documentElement.style.webkitUserSelect;
1269
- document.documentElement.style.webkitUserSelect = "none";
1312
+ // eslint-disable-next-line no-restricted-globals
1313
+ const documentObject = ($431fbd86ca7dc216$export$b204af158042fbac)(target);
1314
+ $14c0b72509d70225$var$savedUserSelect = documentObject.documentElement.style.webkitUserSelect;
1315
+ documentObject.documentElement.style.webkitUserSelect = "none";
1270
1316
  }
1271
1317
  $14c0b72509d70225$var$state = "disabled";
1272
1318
  } else if (target instanceof HTMLElement || target instanceof SVGElement) {
@@ -1290,7 +1336,9 @@ function $14c0b72509d70225$export$b0d6fa1ab32e3295(target) {
1290
1336
  ($bbed8b41f857bcc0$export$24490316f764c430)(()=>{
1291
1337
  // Avoid race conditions
1292
1338
  if ($14c0b72509d70225$var$state === "restoring") {
1293
- if (document.documentElement.style.webkitUserSelect === "none") document.documentElement.style.webkitUserSelect = $14c0b72509d70225$var$savedUserSelect || "";
1339
+ // eslint-disable-next-line no-restricted-globals
1340
+ const documentObject = ($431fbd86ca7dc216$export$b204af158042fbac)(target);
1341
+ if (documentObject.documentElement.style.webkitUserSelect === "none") documentObject.documentElement.style.webkitUserSelect = $14c0b72509d70225$var$savedUserSelect || "";
1294
1342
  $14c0b72509d70225$var$savedUserSelect = "";
1295
1343
  $14c0b72509d70225$var$state = "default";
1296
1344
  }
@@ -1301,7 +1349,7 @@ function $14c0b72509d70225$export$b0d6fa1ab32e3295(target) {
1301
1349
  {
1302
1350
  if (target && $14c0b72509d70225$var$modifiedElementMap.has(target)) {
1303
1351
  let targetOldUserSelect = $14c0b72509d70225$var$modifiedElementMap.get(target);
1304
- if (target.style.userSelect === "none") target.style.userSelect = targetOldUserSelect;
1352
+ if (target.style.userSelect === "none" && targetOldUserSelect) target.style.userSelect = targetOldUserSelect;
1305
1353
  if (target.getAttribute("style") === "") target.removeAttribute("style");
1306
1354
  $14c0b72509d70225$var$modifiedElementMap.delete(target);
1307
1355
  }
@@ -1321,7 +1369,9 @@ function $14c0b72509d70225$export$b0d6fa1ab32e3295(target) {
1321
1369
  * OF ANY KIND, either express or implied. See the License for the specific language
1322
1370
  * governing permissions and limitations under the License.
1323
1371
  */
1324
- const $ae1eeba8b9eafd08$export$5165eccb35aaadb5 = ($dGqE5$react).createContext(null);
1372
+ const $ae1eeba8b9eafd08$export$5165eccb35aaadb5 = ($dGqE5$react).createContext({
1373
+ register: ()=>{}
1374
+ });
1325
1375
  $ae1eeba8b9eafd08$export$5165eccb35aaadb5.displayName = "PressResponderContext";
1326
1376
 
1327
1377
 
@@ -1379,7 +1429,7 @@ function $f6c31cce2adf654f$export$45712eceda6fad21(props) {
1379
1429
  let { addGlobalListener: addGlobalListener, removeAllGlobalListeners: removeAllGlobalListeners } = ($03deb23ff14920c4$export$4eaf04e54aa8eed6)();
1380
1430
  let triggerPressStart = ($8ae05eaa5c114e9c$export$7f54fc3180508a52)((originalEvent, pointerType)=>{
1381
1431
  let state = ref.current;
1382
- if (isDisabled || state.didFirePressStart) return;
1432
+ if (isDisabled || state.didFirePressStart) return false;
1383
1433
  let shouldStopPropagation = true;
1384
1434
  state.isTriggeringEvent = true;
1385
1435
  if (onPressStart) {
@@ -1395,7 +1445,7 @@ function $f6c31cce2adf654f$export$45712eceda6fad21(props) {
1395
1445
  });
1396
1446
  let triggerPressEnd = ($8ae05eaa5c114e9c$export$7f54fc3180508a52)((originalEvent, pointerType, wasPressed = true)=>{
1397
1447
  let state = ref.current;
1398
- if (!state.didFirePressStart) return;
1448
+ if (!state.didFirePressStart) return false;
1399
1449
  state.ignoreClickAfterPress = true;
1400
1450
  state.didFirePressStart = false;
1401
1451
  state.isTriggeringEvent = true;
@@ -1417,7 +1467,7 @@ function $f6c31cce2adf654f$export$45712eceda6fad21(props) {
1417
1467
  });
1418
1468
  let triggerPressUp = ($8ae05eaa5c114e9c$export$7f54fc3180508a52)((originalEvent, pointerType)=>{
1419
1469
  let state = ref.current;
1420
- if (isDisabled) return;
1470
+ if (isDisabled) return false;
1421
1471
  if (onPressUp) {
1422
1472
  state.isTriggeringEvent = true;
1423
1473
  let event = new $f6c31cce2adf654f$var$PressEvent("pressup", pointerType, originalEvent);
@@ -1429,8 +1479,8 @@ function $f6c31cce2adf654f$export$45712eceda6fad21(props) {
1429
1479
  });
1430
1480
  let cancel = ($8ae05eaa5c114e9c$export$7f54fc3180508a52)((e)=>{
1431
1481
  let state = ref.current;
1432
- if (state.isPressed) {
1433
- if (state.isOverTarget) triggerPressEnd($f6c31cce2adf654f$var$createEvent(state.target, e), state.pointerType, false);
1482
+ if (state.isPressed && state.target) {
1483
+ if (state.isOverTarget && state.pointerType != null) triggerPressEnd($f6c31cce2adf654f$var$createEvent(state.target, e), state.pointerType, false);
1434
1484
  state.isPressed = false;
1435
1485
  state.isOverTarget = false;
1436
1486
  state.activePointerId = null;
@@ -1447,6 +1497,7 @@ function $f6c31cce2adf654f$export$45712eceda6fad21(props) {
1447
1497
  let pressProps = {
1448
1498
  onKeyDown (e) {
1449
1499
  if ($f6c31cce2adf654f$var$isValidKeyboardEvent(e.nativeEvent, e.currentTarget) && e.currentTarget.contains(e.target)) {
1500
+ var _state_metaKeyEvents;
1450
1501
  if ($f6c31cce2adf654f$var$shouldPreventDefaultKeyboard(e.target, e.key)) e.preventDefault();
1451
1502
  // If the event is repeating, it may have started on a different element
1452
1503
  // after which focus moved to the current element. Ignore these events and
@@ -1458,7 +1509,7 @@ function $f6c31cce2adf654f$export$45712eceda6fad21(props) {
1458
1509
  shouldStopPropagation = triggerPressStart(e, "keyboard");
1459
1510
  // Focus may move before the key up event, so register the event on the document
1460
1511
  // instead of the same element where the key down event occurred.
1461
- addGlobalListener(document, "keyup", onKeyUp, false);
1512
+ addGlobalListener(($431fbd86ca7dc216$export$b204af158042fbac)(e.currentTarget), "keyup", onKeyUp, false);
1462
1513
  }
1463
1514
  if (shouldStopPropagation) e.stopPropagation();
1464
1515
  // Keep track of the keydown events that occur while the Meta (e.g. Command) key is held.
@@ -1468,11 +1519,11 @@ function $f6c31cce2adf654f$export$45712eceda6fad21(props) {
1468
1519
  // https://bugs.chromium.org/p/chromium/issues/detail?id=1393524
1469
1520
  // https://bugs.webkit.org/show_bug.cgi?id=55291
1470
1521
  // https://bugzilla.mozilla.org/show_bug.cgi?id=1299553
1471
- if (e.metaKey && ($c87311424ea30a05$export$9ac100e40613ea10)()) state.metaKeyEvents.set(e.key, e.nativeEvent);
1522
+ if (e.metaKey && ($c87311424ea30a05$export$9ac100e40613ea10)()) (_state_metaKeyEvents = state.metaKeyEvents) === null || _state_metaKeyEvents === void 0 ? void 0 : _state_metaKeyEvents.set(e.key, e.nativeEvent);
1472
1523
  } else if (e.key === "Meta") state.metaKeyEvents = new Map();
1473
1524
  },
1474
1525
  onKeyUp (e) {
1475
- if ($f6c31cce2adf654f$var$isValidKeyboardEvent(e.nativeEvent, e.currentTarget) && !e.repeat && e.currentTarget.contains(e.target)) triggerPressUp($f6c31cce2adf654f$var$createEvent(state.target, e), "keyboard");
1526
+ if ($f6c31cce2adf654f$var$isValidKeyboardEvent(e.nativeEvent, e.currentTarget) && !e.repeat && e.currentTarget.contains(e.target) && state.target) triggerPressUp($f6c31cce2adf654f$var$createEvent(state.target, e), "keyboard");
1476
1527
  },
1477
1528
  onClick (e) {
1478
1529
  if (e && !e.currentTarget.contains(e.target)) return;
@@ -1497,7 +1548,7 @@ function $f6c31cce2adf654f$export$45712eceda6fad21(props) {
1497
1548
  };
1498
1549
  let onKeyUp = (e)=>{
1499
1550
  var _state_metaKeyEvents;
1500
- if (state.isPressed && $f6c31cce2adf654f$var$isValidKeyboardEvent(e, state.target)) {
1551
+ if (state.isPressed && state.target && $f6c31cce2adf654f$var$isValidKeyboardEvent(e, state.target)) {
1501
1552
  var _state_metaKeyEvents1;
1502
1553
  if ($f6c31cce2adf654f$var$shouldPreventDefaultKeyboard(e.target, e.key)) e.preventDefault();
1503
1554
  let target = e.target;
@@ -1516,12 +1567,13 @@ function $f6c31cce2adf654f$export$45712eceda6fad21(props) {
1516
1567
  state.isPressed = false;
1517
1568
  (_state_metaKeyEvents1 = state.metaKeyEvents) === null || _state_metaKeyEvents1 === void 0 ? void 0 : _state_metaKeyEvents1.delete(e.key);
1518
1569
  } else if (e.key === "Meta" && ((_state_metaKeyEvents = state.metaKeyEvents) === null || _state_metaKeyEvents === void 0 ? void 0 : _state_metaKeyEvents.size)) {
1570
+ var _state_target;
1519
1571
  // If we recorded keydown events that occurred while the Meta key was pressed,
1520
1572
  // and those haven't received keyup events already, fire keyup events ourselves.
1521
1573
  // See comment above for more info about the macOS bug causing this.
1522
1574
  let events = state.metaKeyEvents;
1523
- state.metaKeyEvents = null;
1524
- for (let event of events.values())state.target.dispatchEvent(new KeyboardEvent("keyup", event));
1575
+ state.metaKeyEvents = undefined;
1576
+ for (let event of events.values())(_state_target = state.target) === null || _state_target === void 0 ? void 0 : _state_target.dispatchEvent(new KeyboardEvent("keyup", event));
1525
1577
  }
1526
1578
  };
1527
1579
  if (typeof PointerEvent !== "undefined") {
@@ -1549,9 +1601,9 @@ function $f6c31cce2adf654f$export$45712eceda6fad21(props) {
1549
1601
  if (!isDisabled && !preventFocusOnPress) ($7215afc6de606d6b$export$de79e2c695e052f3)(e.currentTarget);
1550
1602
  if (!allowTextSelectionOnPress) ($14c0b72509d70225$export$16a4697467175487)(state.target);
1551
1603
  shouldStopPropagation = triggerPressStart(e, state.pointerType);
1552
- addGlobalListener(document, "pointermove", onPointerMove, false);
1553
- addGlobalListener(document, "pointerup", onPointerUp, false);
1554
- addGlobalListener(document, "pointercancel", onPointerCancel, false);
1604
+ addGlobalListener(($431fbd86ca7dc216$export$b204af158042fbac)(e.currentTarget), "pointermove", onPointerMove, false);
1605
+ addGlobalListener(($431fbd86ca7dc216$export$b204af158042fbac)(e.currentTarget), "pointerup", onPointerUp, false);
1606
+ addGlobalListener(($431fbd86ca7dc216$export$b204af158042fbac)(e.currentTarget), "pointercancel", onPointerCancel, false);
1555
1607
  }
1556
1608
  if (shouldStopPropagation) e.stopPropagation();
1557
1609
  };
@@ -1578,21 +1630,21 @@ function $f6c31cce2adf654f$export$45712eceda6fad21(props) {
1578
1630
  // See https://bugs.webkit.org/show_bug.cgi?id=199803
1579
1631
  let onPointerMove = (e)=>{
1580
1632
  if (e.pointerId !== state.activePointerId) return;
1581
- if ($f6c31cce2adf654f$var$isOverTarget(e, state.target)) {
1582
- if (!state.isOverTarget) {
1633
+ if (state.target && $f6c31cce2adf654f$var$isOverTarget(e, state.target)) {
1634
+ if (!state.isOverTarget && state.pointerType != null) {
1583
1635
  state.isOverTarget = true;
1584
1636
  triggerPressStart($f6c31cce2adf654f$var$createEvent(state.target, e), state.pointerType);
1585
1637
  }
1586
- } else if (state.isOverTarget) {
1638
+ } else if (state.target && state.isOverTarget && state.pointerType != null) {
1587
1639
  state.isOverTarget = false;
1588
1640
  triggerPressEnd($f6c31cce2adf654f$var$createEvent(state.target, e), state.pointerType, false);
1589
1641
  cancelOnPointerExit(e);
1590
1642
  }
1591
1643
  };
1592
1644
  let onPointerUp = (e)=>{
1593
- if (e.pointerId === state.activePointerId && state.isPressed && e.button === 0) {
1594
- if ($f6c31cce2adf654f$var$isOverTarget(e, state.target)) triggerPressEnd($f6c31cce2adf654f$var$createEvent(state.target, e), state.pointerType);
1595
- else if (state.isOverTarget) triggerPressEnd($f6c31cce2adf654f$var$createEvent(state.target, e), state.pointerType, false);
1645
+ if (e.pointerId === state.activePointerId && state.isPressed && e.button === 0 && state.target) {
1646
+ if ($f6c31cce2adf654f$var$isOverTarget(e, state.target) && state.pointerType != null) triggerPressEnd($f6c31cce2adf654f$var$createEvent(state.target, e), state.pointerType);
1647
+ else if (state.isOverTarget && state.pointerType != null) triggerPressEnd($f6c31cce2adf654f$var$createEvent(state.target, e), state.pointerType, false);
1596
1648
  state.isPressed = false;
1597
1649
  state.isOverTarget = false;
1598
1650
  state.activePointerId = null;
@@ -1627,12 +1679,12 @@ function $f6c31cce2adf654f$export$45712eceda6fad21(props) {
1627
1679
  if (!isDisabled && !preventFocusOnPress) ($7215afc6de606d6b$export$de79e2c695e052f3)(e.currentTarget);
1628
1680
  let shouldStopPropagation = triggerPressStart(e, state.pointerType);
1629
1681
  if (shouldStopPropagation) e.stopPropagation();
1630
- addGlobalListener(document, "mouseup", onMouseUp, false);
1682
+ addGlobalListener(($431fbd86ca7dc216$export$b204af158042fbac)(e.currentTarget), "mouseup", onMouseUp, false);
1631
1683
  };
1632
1684
  pressProps.onMouseEnter = (e)=>{
1633
1685
  if (!e.currentTarget.contains(e.target)) return;
1634
1686
  let shouldStopPropagation = true;
1635
- if (state.isPressed && !state.ignoreEmulatedMouseEvents) {
1687
+ if (state.isPressed && !state.ignoreEmulatedMouseEvents && state.pointerType != null) {
1636
1688
  state.isOverTarget = true;
1637
1689
  shouldStopPropagation = triggerPressStart(e, state.pointerType);
1638
1690
  }
@@ -1641,7 +1693,7 @@ function $f6c31cce2adf654f$export$45712eceda6fad21(props) {
1641
1693
  pressProps.onMouseLeave = (e)=>{
1642
1694
  if (!e.currentTarget.contains(e.target)) return;
1643
1695
  let shouldStopPropagation = true;
1644
- if (state.isPressed && !state.ignoreEmulatedMouseEvents) {
1696
+ if (state.isPressed && !state.ignoreEmulatedMouseEvents && state.pointerType != null) {
1645
1697
  state.isOverTarget = false;
1646
1698
  shouldStopPropagation = triggerPressEnd(e, state.pointerType, false);
1647
1699
  cancelOnPointerExit(e);
@@ -1661,8 +1713,8 @@ function $f6c31cce2adf654f$export$45712eceda6fad21(props) {
1661
1713
  state.ignoreEmulatedMouseEvents = false;
1662
1714
  return;
1663
1715
  }
1664
- if ($f6c31cce2adf654f$var$isOverTarget(e, state.target)) triggerPressEnd($f6c31cce2adf654f$var$createEvent(state.target, e), state.pointerType);
1665
- else if (state.isOverTarget) triggerPressEnd($f6c31cce2adf654f$var$createEvent(state.target, e), state.pointerType, false);
1716
+ if (state.target && $f6c31cce2adf654f$var$isOverTarget(e, state.target) && state.pointerType != null) triggerPressEnd($f6c31cce2adf654f$var$createEvent(state.target, e), state.pointerType);
1717
+ else if (state.target && state.isOverTarget && state.pointerType != null) triggerPressEnd($f6c31cce2adf654f$var$createEvent(state.target, e), state.pointerType, false);
1666
1718
  state.isOverTarget = false;
1667
1719
  };
1668
1720
  pressProps.onTouchStart = (e)=>{
@@ -1681,7 +1733,7 @@ function $f6c31cce2adf654f$export$45712eceda6fad21(props) {
1681
1733
  if (!allowTextSelectionOnPress) ($14c0b72509d70225$export$16a4697467175487)(state.target);
1682
1734
  let shouldStopPropagation = triggerPressStart(e, state.pointerType);
1683
1735
  if (shouldStopPropagation) e.stopPropagation();
1684
- addGlobalListener(window, "scroll", onScroll, true);
1736
+ addGlobalListener(($431fbd86ca7dc216$export$f21a1ffae260145a)(e.currentTarget), "scroll", onScroll, true);
1685
1737
  };
1686
1738
  pressProps.onTouchMove = (e)=>{
1687
1739
  if (!e.currentTarget.contains(e.target)) return;
@@ -1692,11 +1744,11 @@ function $f6c31cce2adf654f$export$45712eceda6fad21(props) {
1692
1744
  let touch = $f6c31cce2adf654f$var$getTouchById(e.nativeEvent, state.activePointerId);
1693
1745
  let shouldStopPropagation = true;
1694
1746
  if (touch && $f6c31cce2adf654f$var$isOverTarget(touch, e.currentTarget)) {
1695
- if (!state.isOverTarget) {
1747
+ if (!state.isOverTarget && state.pointerType != null) {
1696
1748
  state.isOverTarget = true;
1697
1749
  shouldStopPropagation = triggerPressStart(e, state.pointerType);
1698
1750
  }
1699
- } else if (state.isOverTarget) {
1751
+ } else if (state.isOverTarget && state.pointerType != null) {
1700
1752
  state.isOverTarget = false;
1701
1753
  shouldStopPropagation = triggerPressEnd(e, state.pointerType, false);
1702
1754
  cancelOnPointerExit(e);
@@ -1711,16 +1763,16 @@ function $f6c31cce2adf654f$export$45712eceda6fad21(props) {
1711
1763
  }
1712
1764
  let touch = $f6c31cce2adf654f$var$getTouchById(e.nativeEvent, state.activePointerId);
1713
1765
  let shouldStopPropagation = true;
1714
- if (touch && $f6c31cce2adf654f$var$isOverTarget(touch, e.currentTarget)) {
1766
+ if (touch && $f6c31cce2adf654f$var$isOverTarget(touch, e.currentTarget) && state.pointerType != null) {
1715
1767
  triggerPressUp(e, state.pointerType);
1716
1768
  shouldStopPropagation = triggerPressEnd(e, state.pointerType);
1717
- } else if (state.isOverTarget) shouldStopPropagation = triggerPressEnd(e, state.pointerType, false);
1769
+ } else if (state.isOverTarget && state.pointerType != null) shouldStopPropagation = triggerPressEnd(e, state.pointerType, false);
1718
1770
  if (shouldStopPropagation) e.stopPropagation();
1719
1771
  state.isPressed = false;
1720
1772
  state.activePointerId = null;
1721
1773
  state.isOverTarget = false;
1722
1774
  state.ignoreEmulatedMouseEvents = true;
1723
- if (!allowTextSelectionOnPress) ($14c0b72509d70225$export$b0d6fa1ab32e3295)(state.target);
1775
+ if (state.target && !allowTextSelectionOnPress) ($14c0b72509d70225$export$b0d6fa1ab32e3295)(state.target);
1724
1776
  removeAllGlobalListeners();
1725
1777
  };
1726
1778
  pressProps.onTouchCancel = (e)=>{
@@ -1759,8 +1811,9 @@ function $f6c31cce2adf654f$export$45712eceda6fad21(props) {
1759
1811
  // eslint-disable-next-line arrow-body-style
1760
1812
  (useEffect)(()=>{
1761
1813
  return ()=>{
1814
+ var _ref_current_target;
1762
1815
  if (!allowTextSelectionOnPress) // eslint-disable-next-line react-hooks/exhaustive-deps
1763
- ($14c0b72509d70225$export$b0d6fa1ab32e3295)(ref.current.target);
1816
+ ($14c0b72509d70225$export$b0d6fa1ab32e3295)((_ref_current_target = ref.current.target) !== null && _ref_current_target !== void 0 ? _ref_current_target : undefined);
1764
1817
  };
1765
1818
  }, [
1766
1819
  allowTextSelectionOnPress
@@ -1779,7 +1832,7 @@ function $f6c31cce2adf654f$var$isValidKeyboardEvent(event, currentTarget) {
1779
1832
  const role = element.getAttribute("role");
1780
1833
  // Accessibility for keyboards. Space and Enter only.
1781
1834
  // "Spacebar" is for IE 11
1782
- return (key === "Enter" || key === " " || key === "Spacebar" || code === "Space") && !(element instanceof HTMLInputElement && !$f6c31cce2adf654f$var$isValidInputKey(element, key) || element instanceof HTMLTextAreaElement || element.isContentEditable) && // Links should only trigger with Enter key
1835
+ return (key === "Enter" || key === " " || key === "Spacebar" || code === "Space") && !(element instanceof ($431fbd86ca7dc216$export$f21a1ffae260145a)(element).HTMLInputElement && !$f6c31cce2adf654f$var$isValidInputKey(element, key) || element instanceof ($431fbd86ca7dc216$export$f21a1ffae260145a)(element).HTMLTextAreaElement || element.isContentEditable) && // Links should only trigger with Enter key
1783
1836
  !((role === "link" || !role && $f6c31cce2adf654f$var$isHTMLAnchorLink(element)) && key !== "Enter");
1784
1837
  }
1785
1838
  function $f6c31cce2adf654f$var$getTouchFromEvent(event) {
@@ -1805,8 +1858,12 @@ function $f6c31cce2adf654f$var$createEvent(target, e) {
1805
1858
  };
1806
1859
  }
1807
1860
  function $f6c31cce2adf654f$var$getPointClientRect(point) {
1808
- let offsetX = point.width / 2 || point.radiusX || 0;
1809
- let offsetY = point.height / 2 || point.radiusY || 0;
1861
+ let offsetX = 0;
1862
+ let offsetY = 0;
1863
+ if (point.width !== undefined) offsetX = point.width / 2;
1864
+ else if (point.radiusX !== undefined) offsetX = point.radiusX;
1865
+ if (point.height !== undefined) offsetY = point.height / 2;
1866
+ else if (point.radiusY !== undefined) offsetY = point.radiusY;
1810
1867
  return {
1811
1868
  top: point.clientY - offsetY,
1812
1869
  right: point.clientX + offsetX,
@@ -1953,7 +2010,8 @@ function $8a9cb279dc87e130$export$715c682d09d639cc(onBlur) {
1953
2010
  });
1954
2011
  stateRef.current.observer = new MutationObserver(()=>{
1955
2012
  if (stateRef.current.isFocused && target.disabled) {
1956
- stateRef.current.observer.disconnect();
2013
+ var _stateRef_current_observer;
2014
+ (_stateRef_current_observer = stateRef.current.observer) === null || _stateRef_current_observer === void 0 ? void 0 : _stateRef_current_observer.disconnect();
1957
2015
  let relatedTargetEl = target === document.activeElement ? null : document.activeElement;
1958
2016
  target.dispatchEvent(new FocusEvent("blur", {
1959
2017
  relatedTarget: relatedTargetEl
@@ -2129,6 +2187,10 @@ function $507fabe10e71c6fb$export$b9b3dfddab17db27() {
2129
2187
  function $507fabe10e71c6fb$export$630ff653c5ada6a9() {
2130
2188
  return $507fabe10e71c6fb$var$currentModality;
2131
2189
  }
2190
+ function $507fabe10e71c6fb$export$8397ddfc504fdb9a(modality) {
2191
+ $507fabe10e71c6fb$var$currentModality = modality;
2192
+ $507fabe10e71c6fb$var$triggerChangeHandlers(modality, null);
2193
+ }
2132
2194
  function $507fabe10e71c6fb$export$98e20ec92f614cfe() {
2133
2195
  $507fabe10e71c6fb$var$setupGlobalFocusEvents();
2134
2196
  let [modality, setModality] = (useState)($507fabe10e71c6fb$var$currentModality);
@@ -2143,17 +2205,30 @@ function $507fabe10e71c6fb$export$98e20ec92f614cfe() {
2143
2205
  }, []);
2144
2206
  return ($b5e257d569688ac6$export$535bd6ca7f90a273)() ? null : modality;
2145
2207
  }
2208
+ const $507fabe10e71c6fb$var$nonTextInputTypes = new Set([
2209
+ "checkbox",
2210
+ "radio",
2211
+ "range",
2212
+ "color",
2213
+ "file",
2214
+ "image",
2215
+ "button",
2216
+ "submit",
2217
+ "reset"
2218
+ ]);
2146
2219
  /**
2147
2220
  * If this is attached to text input component, return if the event is a focus event (Tab/Escape keys pressed) so that
2148
2221
  * focus visible style can be properly set.
2149
2222
  */ function $507fabe10e71c6fb$var$isKeyboardFocusEvent(isTextInput, modality, e) {
2223
+ var _e_target;
2224
+ isTextInput = isTextInput || (e === null || e === void 0 ? void 0 : e.target) instanceof HTMLInputElement && !$507fabe10e71c6fb$var$nonTextInputTypes.has(e === null || e === void 0 ? void 0 : (_e_target = e.target) === null || _e_target === void 0 ? void 0 : _e_target.type) || (e === null || e === void 0 ? void 0 : e.target) instanceof HTMLTextAreaElement || (e === null || e === void 0 ? void 0 : e.target) instanceof HTMLElement && (e === null || e === void 0 ? void 0 : e.target.isContentEditable);
2150
2225
  return !(isTextInput && modality === "keyboard" && e instanceof KeyboardEvent && !$507fabe10e71c6fb$var$FOCUS_VISIBLE_INPUT_KEYS[e.key]);
2151
2226
  }
2152
2227
  function $507fabe10e71c6fb$export$ec71b4b83ac08ec3(fn, deps, opts) {
2153
2228
  $507fabe10e71c6fb$var$setupGlobalFocusEvents();
2154
2229
  (useEffect)(()=>{
2155
2230
  let handler = (modality, e)=>{
2156
- if (!$507fabe10e71c6fb$var$isKeyboardFocusEvent(opts === null || opts === void 0 ? void 0 : opts.isTextInput, modality, e)) return;
2231
+ if (!$507fabe10e71c6fb$var$isKeyboardFocusEvent(!!(opts === null || opts === void 0 ? void 0 : opts.isTextInput), modality, e)) return;
2157
2232
  fn($507fabe10e71c6fb$export$b9b3dfddab17db27());
2158
2233
  };
2159
2234
  $507fabe10e71c6fb$var$changeHandlers.add(handler);
@@ -2217,8 +2292,9 @@ function $9ab94262bd0047c7$export$420e68273165f4ec(props) {
2217
2292
  ]);
2218
2293
  if (isDisabled) return {
2219
2294
  focusWithinProps: {
2220
- onFocus: null,
2221
- onBlur: null
2295
+ // These should not have been null, that would conflict in mergeProps
2296
+ onFocus: undefined,
2297
+ onBlur: undefined
2222
2298
  }
2223
2299
  };
2224
2300
  return {
@@ -2384,7 +2460,7 @@ function $6179b936705e76d3$export$ae780daf29e6d456(props) {
2384
2460
  * OF ANY KIND, either express or implied. See the License for the specific language
2385
2461
  * governing permissions and limitations under the License.
2386
2462
  */ function $93925083ecbb358c$export$48d1ea6320830260(handler) {
2387
- if (!handler) return;
2463
+ if (!handler) return undefined;
2388
2464
  let shouldStopPropagation = true;
2389
2465
  return (e)=>{
2390
2466
  let event = {
@@ -2434,7 +2510,7 @@ function $46d819fcbaf35654$export$8f71654801c2f7cd(props) {
2434
2510
  const $8a26561d2877236e$var$DEFAULT_THRESHOLD = 500;
2435
2511
  function $8a26561d2877236e$export$c24ed0104d07eab9(props) {
2436
2512
  let { isDisabled: isDisabled, onLongPressStart: onLongPressStart, onLongPressEnd: onLongPressEnd, onLongPress: onLongPress, threshold: threshold = $8a26561d2877236e$var$DEFAULT_THRESHOLD, accessibilityDescription: accessibilityDescription } = props;
2437
- const timeRef = (useRef)(null);
2513
+ const timeRef = (useRef)();
2438
2514
  let { addGlobalListener: addGlobalListener, removeGlobalListener: removeGlobalListener } = ($03deb23ff14920c4$export$4eaf04e54aa8eed6)();
2439
2515
  let { pressProps: pressProps } = ($f6c31cce2adf654f$export$45712eceda6fad21)({
2440
2516
  isDisabled: isDisabled,
@@ -2454,7 +2530,7 @@ function $8a26561d2877236e$export$c24ed0104d07eab9(props) {
2454
2530
  ...e,
2455
2531
  type: "longpress"
2456
2532
  });
2457
- timeRef.current = null;
2533
+ timeRef.current = undefined;
2458
2534
  }, threshold);
2459
2535
  // Prevent context menu, which may be opened on long press on touch devices
2460
2536
  if (e.pointerType === "touch") {
@@ -2484,7 +2560,7 @@ function $8a26561d2877236e$export$c24ed0104d07eab9(props) {
2484
2560
  });
2485
2561
  }
2486
2562
  });
2487
- let descriptionProps = ($ef06256079686ba0$export$f8aeda7b10753fa1)(onLongPress && !isDisabled ? accessibilityDescription : null);
2563
+ let descriptionProps = ($ef06256079686ba0$export$f8aeda7b10753fa1)(onLongPress && !isDisabled ? accessibilityDescription : undefined);
2488
2564
  return {
2489
2565
  longPressProps: ($3ef42575df84b30b$export$9d1611c77c2fe928)(pressProps, descriptionProps)
2490
2566
  };
@@ -2584,6 +2660,8 @@ const $9bf71ea28793e738$var$FOCUSABLE_ELEMENT_SELECTOR = $9bf71ea28793e738$var$f
2584
2660
  $9bf71ea28793e738$var$focusableElements.push('[tabindex]:not([tabindex="-1"]):not([disabled])');
2585
2661
  const $9bf71ea28793e738$var$TABBABLE_ELEMENT_SELECTOR = $9bf71ea28793e738$var$focusableElements.join(':not([hidden]):not([tabindex="-1"]),');
2586
2662
  function $9bf71ea28793e738$var$isElementInScope(element, scope) {
2663
+ if (!element) return false;
2664
+ if (!scope) return false;
2587
2665
  return scope.some((node)=>node.contains(element));
2588
2666
  }
2589
2667
  function $9bf71ea28793e738$export$2d6ec8fc375ceafa(root, opts, scope) {
@@ -2609,6 +2687,7 @@ class $9bf71ea28793e738$var$Tree {
2609
2687
  }
2610
2688
  addTreeNode(scopeRef, parent, nodeToRestore) {
2611
2689
  let parentNode = this.fastMap.get(parent !== null && parent !== void 0 ? parent : null);
2690
+ if (!parentNode) return;
2612
2691
  let node = new $9bf71ea28793e738$var$TreeNode({
2613
2692
  scopeRef: scopeRef
2614
2693
  });
@@ -2624,13 +2703,16 @@ class $9bf71ea28793e738$var$Tree {
2624
2703
  // never remove the root
2625
2704
  if (scopeRef === null) return;
2626
2705
  let node = this.fastMap.get(scopeRef);
2706
+ if (!node) return;
2627
2707
  let parentNode = node.parent;
2628
2708
  // when we remove a scope, check if any sibling scopes are trying to restore focus to something inside the scope we're removing
2629
2709
  // if we are, then replace the siblings restore with the restore from the scope we're removing
2630
- for (let current of this.traverse())if (current !== node && node.nodeToRestore && current.nodeToRestore && node.scopeRef.current && $9bf71ea28793e738$var$isElementInScope(current.nodeToRestore, node.scopeRef.current)) current.nodeToRestore = node.nodeToRestore;
2710
+ for (let current of this.traverse())if (current !== node && node.nodeToRestore && current.nodeToRestore && node.scopeRef && node.scopeRef.current && $9bf71ea28793e738$var$isElementInScope(current.nodeToRestore, node.scopeRef.current)) current.nodeToRestore = node.nodeToRestore;
2631
2711
  let children = node.children;
2632
- parentNode.removeChild(node);
2633
- if (children.size > 0) children.forEach((child)=>parentNode.addChild(child));
2712
+ if (parentNode) {
2713
+ parentNode.removeChild(node);
2714
+ if (children.size > 0) children.forEach((child)=>parentNode && parentNode.addChild(child));
2715
+ }
2634
2716
  this.fastMap.delete(node.scopeRef);
2635
2717
  }
2636
2718
  // Pre Order Depth First
@@ -2639,8 +2721,10 @@ class $9bf71ea28793e738$var$Tree {
2639
2721
  if (node.children.size > 0) for (let child of node.children)yield* this.traverse(child);
2640
2722
  }
2641
2723
  clone() {
2724
+ var _node_parent;
2642
2725
  let newTree = new $9bf71ea28793e738$var$Tree();
2643
- for (let node of this.traverse())newTree.addTreeNode(node.scopeRef, node.parent.scopeRef, node.nodeToRestore);
2726
+ var _node_parent_scopeRef;
2727
+ for (let node of this.traverse())newTree.addTreeNode(node.scopeRef, (_node_parent_scopeRef = (_node_parent = node.parent) === null || _node_parent === void 0 ? void 0 : _node_parent.scopeRef) !== null && _node_parent_scopeRef !== void 0 ? _node_parent_scopeRef : null, node.nodeToRestore);
2644
2728
  return newTree;
2645
2729
  }
2646
2730
  constructor(){
@@ -3002,6 +3086,7 @@ function $148a7a147e38ea7f$export$702d680b21cbd764(locale) {
3002
3086
  if (Intl.Locale) {
3003
3087
  // @ts-ignore
3004
3088
  let script = new Intl.Locale(locale).maximize().script;
3089
+ if (!script) return false;
3005
3090
  return $148a7a147e38ea7f$var$RTL_SCRIPTS.has(script);
3006
3091
  }
3007
3092
  // If not, just guess by the language (first part of the locale)
@@ -3154,7 +3239,7 @@ function $325a3faab7a68acd$export$a16aca283550c30d(options) {
3154
3239
 
3155
3240
 
3156
3241
  function $701a24aa0da5b062$export$ea18c227d4417cc3(props, ref) {
3157
- let { elementType: elementType = "button", isDisabled: isDisabled, onPress: onPress, onPressStart: onPressStart, onPressEnd: onPressEnd, onPressChange: onPressChange, preventFocusOnPress: // @ts-ignore - undocumented
3242
+ let { elementType: elementType = "button", isDisabled: isDisabled, onPress: onPress, onPressStart: onPressStart, onPressEnd: onPressEnd, onPressUp: onPressUp, onPressChange: onPressChange, preventFocusOnPress: // @ts-ignore - undocumented
3158
3243
  preventFocusOnPress, allowFocusWhenDisabled: // @ts-ignore - undocumented
3159
3244
  allowFocusWhenDisabled, // @ts-ignore
3160
3245
  onClick: deprecatedOnClick, href: href, target: target, rel: rel, type: type = "button" } = props;
@@ -3178,6 +3263,7 @@ function $701a24aa0da5b062$export$ea18c227d4417cc3(props, ref) {
3178
3263
  onPressEnd: onPressEnd,
3179
3264
  onPressChange: onPressChange,
3180
3265
  onPress: onPress,
3266
+ onPressUp: onPressUp,
3181
3267
  isDisabled: isDisabled,
3182
3268
  preventFocusOnPress: preventFocusOnPress,
3183
3269
  ref: ref
@@ -3288,6 +3374,291 @@ class $319e236875307eab$var$LiveAnnouncer {
3288
3374
  }
3289
3375
  }
3290
3376
 
3377
+ /*
3378
+ * Copyright 2023 Adobe. All rights reserved.
3379
+ * This file is licensed to you under the Apache License, Version 2.0 (the "License");
3380
+ * you may not use this file except in compliance with the License. You may obtain a copy
3381
+ * of the License at http://www.apache.org/licenses/LICENSE-2.0
3382
+ *
3383
+ * Unless required by applicable law or agreed to in writing, software distributed under
3384
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
3385
+ * OF ANY KIND, either express or implied. See the License for the specific language
3386
+ * governing permissions and limitations under the License.
3387
+ */ /*
3388
+ * Copyright 2023 Adobe. All rights reserved.
3389
+ * This file is licensed to you under the Apache License, Version 2.0 (the "License");
3390
+ * you may not use this file except in compliance with the License. You may obtain a copy
3391
+ * of the License at http://www.apache.org/licenses/LICENSE-2.0
3392
+ *
3393
+ * Unless required by applicable law or agreed to in writing, software distributed under
3394
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
3395
+ * OF ANY KIND, either express or implied. See the License for the specific language
3396
+ * governing permissions and limitations under the License.
3397
+ */
3398
+
3399
+
3400
+ function $e93e671b31057976$export$b8473d3665f3a75a(props, state, ref) {
3401
+ let { validationBehavior: validationBehavior, focus: focus } = props;
3402
+ // This is a useLayoutEffect so that it runs before the useEffect in useFormValidationState, which commits the validation change.
3403
+ ($f0a04ccd8dbdd83b$export$e5c5a5f917a5871c)(()=>{
3404
+ if (validationBehavior === "native" && (ref === null || ref === void 0 ? void 0 : ref.current)) {
3405
+ let errorMessage = state.realtimeValidation.isInvalid ? state.realtimeValidation.validationErrors.join(" ") || "Invalid value." : "";
3406
+ ref.current.setCustomValidity(errorMessage);
3407
+ // Prevent default tooltip for validation message.
3408
+ // https://bugzilla.mozilla.org/show_bug.cgi?id=605277
3409
+ if (!ref.current.hasAttribute("title")) ref.current.title = "";
3410
+ if (!state.realtimeValidation.isInvalid) state.updateValidation($e93e671b31057976$var$getNativeValidity(ref.current));
3411
+ }
3412
+ });
3413
+ let onReset = ($8ae05eaa5c114e9c$export$7f54fc3180508a52)(()=>{
3414
+ state.resetValidation();
3415
+ });
3416
+ let onInvalid = ($8ae05eaa5c114e9c$export$7f54fc3180508a52)((e)=>{
3417
+ var _ref_current;
3418
+ // Only commit validation if we are not already displaying one.
3419
+ // This avoids clearing server errors that the user didn't actually fix.
3420
+ if (!state.displayValidation.isInvalid) state.commitValidation();
3421
+ // Auto focus the first invalid input in a form, unless the error already had its default prevented.
3422
+ let form = ref === null || ref === void 0 ? void 0 : (_ref_current = ref.current) === null || _ref_current === void 0 ? void 0 : _ref_current.form;
3423
+ if (!e.defaultPrevented && ref && form && $e93e671b31057976$var$getFirstInvalidInput(form) === ref.current) {
3424
+ var _ref_current1;
3425
+ if (focus) focus();
3426
+ else (_ref_current1 = ref.current) === null || _ref_current1 === void 0 ? void 0 : _ref_current1.focus();
3427
+ // Always show focus ring.
3428
+ ($507fabe10e71c6fb$export$8397ddfc504fdb9a)("keyboard");
3429
+ }
3430
+ // Prevent default browser error UI from appearing.
3431
+ e.preventDefault();
3432
+ });
3433
+ let onChange = ($8ae05eaa5c114e9c$export$7f54fc3180508a52)(()=>{
3434
+ state.commitValidation();
3435
+ });
3436
+ (useEffect)(()=>{
3437
+ let input = ref === null || ref === void 0 ? void 0 : ref.current;
3438
+ if (!input) return;
3439
+ let form = input.form;
3440
+ input.addEventListener("invalid", onInvalid);
3441
+ input.addEventListener("change", onChange);
3442
+ form === null || form === void 0 ? void 0 : form.addEventListener("reset", onReset);
3443
+ return ()=>{
3444
+ input.removeEventListener("invalid", onInvalid);
3445
+ input.removeEventListener("change", onChange);
3446
+ form === null || form === void 0 ? void 0 : form.removeEventListener("reset", onReset);
3447
+ };
3448
+ }, [
3449
+ ref,
3450
+ onInvalid,
3451
+ onChange,
3452
+ onReset,
3453
+ validationBehavior
3454
+ ]);
3455
+ }
3456
+ function $e93e671b31057976$var$getValidity(input) {
3457
+ // The native ValidityState object is live, meaning each property is a getter that returns the current state.
3458
+ // We need to create a snapshot of the validity state at the time this function is called to avoid unpredictable React renders.
3459
+ let validity = input.validity;
3460
+ return {
3461
+ badInput: validity.badInput,
3462
+ customError: validity.customError,
3463
+ patternMismatch: validity.patternMismatch,
3464
+ rangeOverflow: validity.rangeOverflow,
3465
+ rangeUnderflow: validity.rangeUnderflow,
3466
+ stepMismatch: validity.stepMismatch,
3467
+ tooLong: validity.tooLong,
3468
+ tooShort: validity.tooShort,
3469
+ typeMismatch: validity.typeMismatch,
3470
+ valueMissing: validity.valueMissing,
3471
+ valid: validity.valid
3472
+ };
3473
+ }
3474
+ function $e93e671b31057976$var$getNativeValidity(input) {
3475
+ return {
3476
+ isInvalid: !input.validity.valid,
3477
+ validationDetails: $e93e671b31057976$var$getValidity(input),
3478
+ validationErrors: input.validationMessage ? [
3479
+ input.validationMessage
3480
+ ] : []
3481
+ };
3482
+ }
3483
+ function $e93e671b31057976$var$getFirstInvalidInput(form) {
3484
+ for(let i = 0; i < form.elements.length; i++){
3485
+ let element = form.elements[i];
3486
+ if (!element.validity.valid) return element;
3487
+ }
3488
+ return null;
3489
+ }
3490
+
3491
+ /*
3492
+ * Copyright 2023 Adobe. All rights reserved.
3493
+ * This file is licensed to you under the Apache License, Version 2.0 (the "License");
3494
+ * you may not use this file except in compliance with the License. You may obtain a copy
3495
+ * of the License at http://www.apache.org/licenses/LICENSE-2.0
3496
+ *
3497
+ * Unless required by applicable law or agreed to in writing, software distributed under
3498
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
3499
+ * OF ANY KIND, either express or implied. See the License for the specific language
3500
+ * governing permissions and limitations under the License.
3501
+ */ /*
3502
+ * Copyright 2023 Adobe. All rights reserved.
3503
+ * This file is licensed to you under the Apache License, Version 2.0 (the "License");
3504
+ * you may not use this file except in compliance with the License. You may obtain a copy
3505
+ * of the License at http://www.apache.org/licenses/LICENSE-2.0
3506
+ *
3507
+ * Unless required by applicable law or agreed to in writing, software distributed under
3508
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
3509
+ * OF ANY KIND, either express or implied. See the License for the specific language
3510
+ * governing permissions and limitations under the License.
3511
+ */
3512
+ const $e5be200c675c3b3a$export$aca958c65c314e6c = {
3513
+ badInput: false,
3514
+ customError: false,
3515
+ patternMismatch: false,
3516
+ rangeOverflow: false,
3517
+ rangeUnderflow: false,
3518
+ stepMismatch: false,
3519
+ tooLong: false,
3520
+ tooShort: false,
3521
+ typeMismatch: false,
3522
+ valueMissing: false,
3523
+ valid: true
3524
+ };
3525
+ const $e5be200c675c3b3a$var$CUSTOM_VALIDITY_STATE = {
3526
+ ...$e5be200c675c3b3a$export$aca958c65c314e6c,
3527
+ customError: true,
3528
+ valid: false
3529
+ };
3530
+ const $e5be200c675c3b3a$export$dad6ae84456c676a = {
3531
+ isInvalid: false,
3532
+ validationDetails: $e5be200c675c3b3a$export$aca958c65c314e6c,
3533
+ validationErrors: []
3534
+ };
3535
+ const $e5be200c675c3b3a$export$571b5131b7e65c11 = (createContext)({});
3536
+ const $e5be200c675c3b3a$export$a763b9476acd3eb = "__formValidationState" + Date.now();
3537
+ function $e5be200c675c3b3a$export$fc1a364ae1f3ff10(props) {
3538
+ // Private prop for parent components to pass state to children.
3539
+ if (props[$e5be200c675c3b3a$export$a763b9476acd3eb]) {
3540
+ let { realtimeValidation: realtimeValidation, displayValidation: displayValidation, updateValidation: updateValidation, resetValidation: resetValidation, commitValidation: commitValidation } = props[$e5be200c675c3b3a$export$a763b9476acd3eb];
3541
+ return {
3542
+ realtimeValidation: realtimeValidation,
3543
+ displayValidation: displayValidation,
3544
+ updateValidation: updateValidation,
3545
+ resetValidation: resetValidation,
3546
+ commitValidation: commitValidation
3547
+ };
3548
+ }
3549
+ // eslint-disable-next-line react-hooks/rules-of-hooks
3550
+ return $e5be200c675c3b3a$var$useFormValidationStateImpl(props);
3551
+ }
3552
+ function $e5be200c675c3b3a$var$useFormValidationStateImpl(props) {
3553
+ let { isInvalid: isInvalid, validationState: validationState, name: name, value: value, builtinValidation: builtinValidation, validate: validate, validationBehavior: validationBehavior = "aria" } = props;
3554
+ // backward compatibility.
3555
+ if (validationState) isInvalid || (isInvalid = validationState === "invalid");
3556
+ // If the isInvalid prop is true, update validation result in realtime (controlled).
3557
+ let controlledError = isInvalid ? {
3558
+ isInvalid: true,
3559
+ validationErrors: [],
3560
+ validationDetails: $e5be200c675c3b3a$var$CUSTOM_VALIDITY_STATE
3561
+ } : null;
3562
+ // Perform custom client side validation.
3563
+ let clientError = (useMemo)(()=>$e5be200c675c3b3a$var$getValidationResult($e5be200c675c3b3a$var$runValidate(validate, value)), [
3564
+ validate,
3565
+ value
3566
+ ]);
3567
+ if (builtinValidation === null || builtinValidation === void 0 ? void 0 : builtinValidation.validationDetails.valid) builtinValidation = null;
3568
+ // Get relevant server errors from the form.
3569
+ let serverErrors = (useContext)($e5be200c675c3b3a$export$571b5131b7e65c11);
3570
+ let serverErrorMessages = (useMemo)(()=>{
3571
+ if (name) return Array.isArray(name) ? name.flatMap((name)=>$e5be200c675c3b3a$var$asArray(serverErrors[name])) : $e5be200c675c3b3a$var$asArray(serverErrors[name]);
3572
+ return [];
3573
+ }, [
3574
+ serverErrors,
3575
+ name
3576
+ ]);
3577
+ // Show server errors when the form gets a new value, and clear when the user changes the value.
3578
+ let [lastServerErrors, setLastServerErrors] = (useState)(serverErrors);
3579
+ let [isServerErrorCleared, setServerErrorCleared] = (useState)(false);
3580
+ if (serverErrors !== lastServerErrors) {
3581
+ setLastServerErrors(serverErrors);
3582
+ setServerErrorCleared(false);
3583
+ }
3584
+ let serverError = (useMemo)(()=>$e5be200c675c3b3a$var$getValidationResult(isServerErrorCleared ? [] : serverErrorMessages), [
3585
+ isServerErrorCleared,
3586
+ serverErrorMessages
3587
+ ]);
3588
+ // Track the next validation state in a ref until commitValidation is called.
3589
+ let nextValidation = (useRef)($e5be200c675c3b3a$export$dad6ae84456c676a);
3590
+ let [currentValidity, setCurrentValidity] = (useState)($e5be200c675c3b3a$export$dad6ae84456c676a);
3591
+ let lastError = (useRef)($e5be200c675c3b3a$export$dad6ae84456c676a);
3592
+ let commitValidation = ()=>{
3593
+ if (!commitQueued) return;
3594
+ setCommitQueued(false);
3595
+ let error = clientError || builtinValidation || nextValidation.current;
3596
+ if (!$e5be200c675c3b3a$var$isEqualValidation(error, lastError.current)) {
3597
+ lastError.current = error;
3598
+ setCurrentValidity(error);
3599
+ }
3600
+ };
3601
+ let [commitQueued, setCommitQueued] = (useState)(false);
3602
+ (useEffect)(commitValidation);
3603
+ // realtimeValidation is used to update the native input element's state based on custom validation logic.
3604
+ // displayValidation is the currently displayed validation state that the user sees (e.g. on input change/form submit).
3605
+ // With validationBehavior="aria", all errors are displayed in realtime rather than on submit.
3606
+ let realtimeValidation = controlledError || serverError || clientError || builtinValidation || $e5be200c675c3b3a$export$dad6ae84456c676a;
3607
+ let displayValidation = validationBehavior === "native" ? controlledError || serverError || currentValidity : controlledError || serverError || clientError || builtinValidation || currentValidity;
3608
+ return {
3609
+ realtimeValidation: realtimeValidation,
3610
+ displayValidation: displayValidation,
3611
+ updateValidation (value) {
3612
+ // If validationBehavior is 'aria', update in realtime. Otherwise, store in a ref until commit.
3613
+ if (validationBehavior === "aria" && !$e5be200c675c3b3a$var$isEqualValidation(currentValidity, value)) setCurrentValidity(value);
3614
+ else nextValidation.current = value;
3615
+ },
3616
+ resetValidation () {
3617
+ // Update the currently displayed validation state to valid on form reset,
3618
+ // even if the native validity says it isn't. It'll show again on the next form submit.
3619
+ let error = $e5be200c675c3b3a$export$dad6ae84456c676a;
3620
+ if (!$e5be200c675c3b3a$var$isEqualValidation(error, lastError.current)) {
3621
+ lastError.current = error;
3622
+ setCurrentValidity(error);
3623
+ }
3624
+ // Do not commit validation after the next render. This avoids a condition where
3625
+ // useSelect calls commitValidation inside an onReset handler.
3626
+ if (validationBehavior === "native") setCommitQueued(false);
3627
+ setServerErrorCleared(true);
3628
+ },
3629
+ commitValidation () {
3630
+ // Commit validation state so the user sees it on blur/change/submit. Also clear any server errors.
3631
+ // Wait until after the next render to commit so that the latest value has been validated.
3632
+ if (validationBehavior === "native") setCommitQueued(true);
3633
+ setServerErrorCleared(true);
3634
+ }
3635
+ };
3636
+ }
3637
+ function $e5be200c675c3b3a$var$asArray(v) {
3638
+ if (!v) return [];
3639
+ return Array.isArray(v) ? v : [
3640
+ v
3641
+ ];
3642
+ }
3643
+ function $e5be200c675c3b3a$var$runValidate(validate, value) {
3644
+ if (typeof validate === "function") {
3645
+ let e = validate(value);
3646
+ if (e && typeof e !== "boolean") return $e5be200c675c3b3a$var$asArray(e);
3647
+ }
3648
+ return [];
3649
+ }
3650
+ function $e5be200c675c3b3a$var$getValidationResult(errors) {
3651
+ return errors.length ? {
3652
+ isInvalid: true,
3653
+ validationErrors: errors,
3654
+ validationDetails: $e5be200c675c3b3a$var$CUSTOM_VALIDITY_STATE
3655
+ } : null;
3656
+ }
3657
+ function $e5be200c675c3b3a$var$isEqualValidation(a, b) {
3658
+ if (a === b) return true;
3659
+ return a && b && a.isInvalid === b.isInvalid && a.validationErrors.length === b.validationErrors.length && a.validationErrors.every((a, i)=>a === b.validationErrors[i]) && Object.entries(a.validationDetails).every(([k, v])=>b.validationDetails[k] === v);
3660
+ }
3661
+
3291
3662
  /*
3292
3663
  * Copyright 2020 Adobe. All rights reserved.
3293
3664
  * This file is licensed to you under the Apache License, Version 2.0 (the "License");
@@ -3958,7 +4329,6 @@ function $880e95eb8b93ba9a$var$isSelectionKey() {
3958
4329
  * OF ANY KIND, either express or implied. See the License for the specific language
3959
4330
  * governing permissions and limitations under the License.
3960
4331
  */
3961
-
3962
4332
  /*
3963
4333
  * Copyright 2020 Adobe. All rights reserved.
3964
4334
  * This file is licensed to you under the Apache License, Version 2.0 (the "License");
@@ -4145,6 +4515,7 @@ class $2a25aae57d74318e$export$a05409b8bb224a5a {
4145
4515
 
4146
4516
 
4147
4517
 
4518
+
4148
4519
  function $982254629710d113$export$b95089534ab7c1fd(props) {
4149
4520
  let { selectionManager: selectionManager, collection: collection, disabledKeys: disabledKeys, ref: ref, keyboardDelegate: keyboardDelegate } = props;
4150
4521
  // By default, a KeyboardDelegate is provided which uses the DOM to query layout information (e.g. for page up/page down).
@@ -4483,10 +4854,24 @@ function $c5a24bc478652b5f$var$getAncestors(collection, node) {
4483
4854
  */
4484
4855
 
4485
4856
 
4857
+
4858
+
4859
+
4860
+
4486
4861
  function $2d73ec29415bd339$export$712718f7aec83d5(props, ref) {
4487
- let { inputElementType: inputElementType = "input", isDisabled: isDisabled = false, isRequired: isRequired = false, isReadOnly: isReadOnly = false, validationState: validationState, isInvalid: isInvalid = false, type: type = "text", value: value, defaultValue: defaultValue, onChange: onChange = ()=>{} } = props;
4862
+ let { inputElementType: inputElementType = "input", isDisabled: isDisabled = false, isRequired: isRequired = false, isReadOnly: isReadOnly = false, type: type = "text", validationBehavior: validationBehavior = "aria" } = props;
4863
+ let [value, setValue] = ($458b0a5536c1a7cf$export$40bfa8c7b0832715)(props.value, props.defaultValue || "", props.onChange);
4488
4864
  let { focusableProps: focusableProps } = ($e6afbd83fe6ebbd2$export$4c014de7c8940b4c)(props, ref);
4489
- let { labelProps: labelProps, fieldProps: fieldProps, descriptionProps: descriptionProps, errorMessageProps: errorMessageProps } = ($2baaea4c71418dea$export$294aa081a6c6f55d)(props);
4865
+ let validationState = ($e5be200c675c3b3a$export$fc1a364ae1f3ff10)({
4866
+ ...props,
4867
+ value: value
4868
+ });
4869
+ let { isInvalid: isInvalid, validationErrors: validationErrors, validationDetails: validationDetails } = validationState.displayValidation;
4870
+ let { labelProps: labelProps, fieldProps: fieldProps, descriptionProps: descriptionProps, errorMessageProps: errorMessageProps } = ($2baaea4c71418dea$export$294aa081a6c6f55d)({
4871
+ ...props,
4872
+ isInvalid: isInvalid,
4873
+ errorMessage: props.errorMessage || validationErrors
4874
+ });
4490
4875
  let domProps = ($65484d02dcb7eb3e$export$457c3d6518dd4c6f)(props, {
4491
4876
  labelable: true
4492
4877
  });
@@ -4494,22 +4879,41 @@ function $2d73ec29415bd339$export$712718f7aec83d5(props, ref) {
4494
4879
  type: type,
4495
4880
  pattern: props.pattern
4496
4881
  };
4497
- var _ref;
4498
- ($99facab73266f662$export$5add1d006293d136)(ref, (_ref = value !== null && value !== void 0 ? value : defaultValue) !== null && _ref !== void 0 ? _ref : "", onChange);
4882
+ ($99facab73266f662$export$5add1d006293d136)(ref, value, setValue);
4883
+ ($e93e671b31057976$export$b8473d3665f3a75a)(props, validationState, ref);
4884
+ (useEffect)(()=>{
4885
+ // This works around a React/Chrome bug that prevents textarea elements from validating when controlled.
4886
+ // We prevent React from updating defaultValue (i.e. children) of textarea when `value` changes,
4887
+ // which causes Chrome to skip validation. Only updating `value` is ok in our case since our
4888
+ // textareas are always controlled. React is planning on removing this synchronization in a
4889
+ // future major version.
4890
+ // https://github.com/facebook/react/issues/19474
4891
+ // https://github.com/facebook/react/issues/11896
4892
+ if (ref.current instanceof ($431fbd86ca7dc216$export$f21a1ffae260145a)(ref.current).HTMLTextAreaElement) {
4893
+ let input = ref.current;
4894
+ Object.defineProperty(input, "defaultValue", {
4895
+ get: ()=>input.value,
4896
+ set: ()=>{},
4897
+ configurable: true
4898
+ });
4899
+ }
4900
+ }, [
4901
+ ref
4902
+ ]);
4499
4903
  return {
4500
4904
  labelProps: labelProps,
4501
4905
  inputProps: ($3ef42575df84b30b$export$9d1611c77c2fe928)(domProps, inputElementType === "input" && inputOnlyProps, {
4502
4906
  disabled: isDisabled,
4503
4907
  readOnly: isReadOnly,
4504
- "aria-required": isRequired || undefined,
4505
- "aria-invalid": isInvalid || validationState === "invalid" || undefined,
4908
+ required: isRequired && validationBehavior === "native",
4909
+ "aria-required": isRequired && validationBehavior === "aria" || undefined,
4910
+ "aria-invalid": isInvalid || undefined,
4506
4911
  "aria-errormessage": props["aria-errormessage"],
4507
4912
  "aria-activedescendant": props["aria-activedescendant"],
4508
4913
  "aria-autocomplete": props["aria-autocomplete"],
4509
4914
  "aria-haspopup": props["aria-haspopup"],
4510
- value: props.value,
4511
- defaultValue: props.value ? undefined : props.defaultValue,
4512
- onChange: (e)=>onChange(e.target.value),
4915
+ value: value,
4916
+ onChange: (e)=>setValue(e.target.value),
4513
4917
  autoComplete: props.autoComplete,
4514
4918
  maxLength: props.maxLength,
4515
4919
  minLength: props.minLength,
@@ -4533,7 +4937,10 @@ function $2d73ec29415bd339$export$712718f7aec83d5(props, ref) {
4533
4937
  ...fieldProps
4534
4938
  }),
4535
4939
  descriptionProps: descriptionProps,
4536
- errorMessageProps: errorMessageProps
4940
+ errorMessageProps: errorMessageProps,
4941
+ isInvalid: isInvalid,
4942
+ validationErrors: validationErrors,
4943
+ validationDetails: validationDetails
4537
4944
  };
4538
4945
  }
4539
4946
 
@@ -4558,46 +4965,46 @@ function $parcel$interopDefault$1(a) {
4558
4965
  var $835c96616a7cb4f9$exports = {};
4559
4966
  var $682989befd4f478d$exports = {};
4560
4967
  $682989befd4f478d$exports = {
4561
- "deselectedItem": (args)=>`${args.item} غير المحدد`,
4562
- "longPressToSelect": `اضغط مطولًا للدخول إلى وضع التحديد.`,
4563
- "select": `تحديد`,
4564
- "selectedAll": `جميع العناصر المحددة.`,
4968
+ "deselectedItem": (args)=>`${args.item} \u{63A}\u{64A}\u{631} \u{627}\u{644}\u{645}\u{62D}\u{62F}\u{62F}`,
4969
+ "longPressToSelect": `\u{627}\u{636}\u{63A}\u{637} \u{645}\u{637}\u{648}\u{644}\u{64B}\u{627} \u{644}\u{644}\u{62F}\u{62E}\u{648}\u{644} \u{625}\u{644}\u{649} \u{648}\u{636}\u{639} \u{627}\u{644}\u{62A}\u{62D}\u{62F}\u{64A}\u{62F}.`,
4970
+ "select": `\u{62A}\u{62D}\u{62F}\u{64A}\u{62F}`,
4971
+ "selectedAll": `\u{62C}\u{645}\u{64A}\u{639} \u{627}\u{644}\u{639}\u{646}\u{627}\u{635}\u{631} \u{627}\u{644}\u{645}\u{62D}\u{62F}\u{62F}\u{629}.`,
4565
4972
  "selectedCount": (args, formatter)=>`${formatter.plural(args.count, {
4566
- "=0": `لم يتم تحديد عناصر`,
4567
- one: ()=>`${formatter.number(args.count)} عنصر محدد`,
4568
- other: ()=>`${formatter.number(args.count)} عنصر محدد`
4973
+ "=0": `\u{644}\u{645} \u{64A}\u{62A}\u{645} \u{62A}\u{62D}\u{62F}\u{64A}\u{62F} \u{639}\u{646}\u{627}\u{635}\u{631}`,
4974
+ one: ()=>`${formatter.number(args.count)} \u{639}\u{646}\u{635}\u{631} \u{645}\u{62D}\u{62F}\u{62F}`,
4975
+ other: ()=>`${formatter.number(args.count)} \u{639}\u{646}\u{635}\u{631} \u{645}\u{62D}\u{62F}\u{62F}`
4569
4976
  })}.`,
4570
- "selectedItem": (args)=>`${args.item} المحدد`
4977
+ "selectedItem": (args)=>`${args.item} \u{627}\u{644}\u{645}\u{62D}\u{62F}\u{62F}`
4571
4978
  };
4572
4979
 
4573
4980
 
4574
4981
  var $f7fca02019afd941$exports = {};
4575
4982
  $f7fca02019afd941$exports = {
4576
- "deselectedItem": (args)=>`${args.item} не е избран.`,
4577
- "longPressToSelect": `Натиснете и задръжте за да влезете в избирателен режим.`,
4578
- "select": `Изберете`,
4579
- "selectedAll": `Всички елементи са избрани.`,
4983
+ "deselectedItem": (args)=>`${args.item} \u{43D}\u{435} \u{435} \u{438}\u{437}\u{431}\u{440}\u{430}\u{43D}.`,
4984
+ "longPressToSelect": `\u{41D}\u{430}\u{442}\u{438}\u{441}\u{43D}\u{435}\u{442}\u{435} \u{438} \u{437}\u{430}\u{434}\u{440}\u{44A}\u{436}\u{442}\u{435} \u{437}\u{430} \u{434}\u{430} \u{432}\u{43B}\u{435}\u{437}\u{435}\u{442}\u{435} \u{432} \u{438}\u{437}\u{431}\u{438}\u{440}\u{430}\u{442}\u{435}\u{43B}\u{435}\u{43D} \u{440}\u{435}\u{436}\u{438}\u{43C}.`,
4985
+ "select": `\u{418}\u{437}\u{431}\u{435}\u{440}\u{435}\u{442}\u{435}`,
4986
+ "selectedAll": `\u{412}\u{441}\u{438}\u{447}\u{43A}\u{438} \u{435}\u{43B}\u{435}\u{43C}\u{435}\u{43D}\u{442}\u{438} \u{441}\u{430} \u{438}\u{437}\u{431}\u{440}\u{430}\u{43D}\u{438}.`,
4580
4987
  "selectedCount": (args, formatter)=>`${formatter.plural(args.count, {
4581
- "=0": `Няма избрани елементи`,
4582
- one: ()=>`${formatter.number(args.count)} избран елемент`,
4583
- other: ()=>`${formatter.number(args.count)} избрани елементи`
4988
+ "=0": `\u{41D}\u{44F}\u{43C}\u{430} \u{438}\u{437}\u{431}\u{440}\u{430}\u{43D}\u{438} \u{435}\u{43B}\u{435}\u{43C}\u{435}\u{43D}\u{442}\u{438}`,
4989
+ one: ()=>`${formatter.number(args.count)} \u{438}\u{437}\u{431}\u{440}\u{430}\u{43D} \u{435}\u{43B}\u{435}\u{43C}\u{435}\u{43D}\u{442}`,
4990
+ other: ()=>`${formatter.number(args.count)} \u{438}\u{437}\u{431}\u{440}\u{430}\u{43D}\u{438} \u{435}\u{43B}\u{435}\u{43C}\u{435}\u{43D}\u{442}\u{438}`
4584
4991
  })}.`,
4585
- "selectedItem": (args)=>`${args.item} избран.`
4992
+ "selectedItem": (args)=>`${args.item} \u{438}\u{437}\u{431}\u{440}\u{430}\u{43D}.`
4586
4993
  };
4587
4994
 
4588
4995
 
4589
4996
  var $8f86f40be75387f1$exports = {};
4590
4997
  $8f86f40be75387f1$exports = {
4591
- "deselectedItem": (args)=>`Položka ${args.item} není vybrána.`,
4592
- "longPressToSelect": `Dlouhým stisknutím přejdete do režimu výběru.`,
4998
+ "deselectedItem": (args)=>`Polo\u{17E}ka ${args.item} nen\xed vybr\xe1na.`,
4999
+ "longPressToSelect": `Dlouh\xfdm stisknut\xedm p\u{159}ejdete do re\u{17E}imu v\xfdb\u{11B}ru.`,
4593
5000
  "select": `Vybrat`,
4594
- "selectedAll": `Vybrány všechny položky.`,
5001
+ "selectedAll": `Vybr\xe1ny v\u{161}echny polo\u{17E}ky.`,
4595
5002
  "selectedCount": (args, formatter)=>`${formatter.plural(args.count, {
4596
- "=0": `Nevybrány žádné položky`,
4597
- one: ()=>`Vybrána ${formatter.number(args.count)} položka`,
4598
- other: ()=>`Vybráno ${formatter.number(args.count)} položek`
5003
+ "=0": `Nevybr\xe1ny \u{17E}\xe1dn\xe9 polo\u{17E}ky`,
5004
+ one: ()=>`Vybr\xe1na ${formatter.number(args.count)} polo\u{17E}ka`,
5005
+ other: ()=>`Vybr\xe1no ${formatter.number(args.count)} polo\u{17E}ek`
4599
5006
  })}.`,
4600
- "selectedItem": (args)=>`Vybrána položka ${args.item}.`
5007
+ "selectedItem": (args)=>`Vybr\xe1na polo\u{17E}ka ${args.item}.`
4601
5008
  };
4602
5009
 
4603
5010
 
@@ -4605,7 +5012,7 @@ var $db24ba43c8d652ee$exports = {};
4605
5012
  $db24ba43c8d652ee$exports = {
4606
5013
  "deselectedItem": (args)=>`${args.item} ikke valgt.`,
4607
5014
  "longPressToSelect": `Lav et langt tryk for at aktivere valgtilstand.`,
4608
- "select": `Vælg`,
5015
+ "select": `V\xe6lg`,
4609
5016
  "selectedAll": `Alle elementer valgt.`,
4610
5017
  "selectedCount": (args, formatter)=>`${formatter.plural(args.count, {
4611
5018
  "=0": `Ingen elementer valgt`,
@@ -4618,31 +5025,31 @@ $db24ba43c8d652ee$exports = {
4618
5025
 
4619
5026
  var $f8f1e72c8b5447d6$exports = {};
4620
5027
  $f8f1e72c8b5447d6$exports = {
4621
- "deselectedItem": (args)=>`${args.item} nicht ausgewählt.`,
4622
- "longPressToSelect": `Gedrückt halten, um Auswahlmodus zu öffnen.`,
4623
- "select": `Auswählen`,
4624
- "selectedAll": `Alle Elemente ausgewählt.`,
5028
+ "deselectedItem": (args)=>`${args.item} nicht ausgew\xe4hlt.`,
5029
+ "longPressToSelect": `Gedr\xfcckt halten, um Auswahlmodus zu \xf6ffnen.`,
5030
+ "select": `Ausw\xe4hlen`,
5031
+ "selectedAll": `Alle Elemente ausgew\xe4hlt.`,
4625
5032
  "selectedCount": (args, formatter)=>`${formatter.plural(args.count, {
4626
- "=0": `Keine Elemente ausgewählt`,
4627
- one: ()=>`${formatter.number(args.count)} Element ausgewählt`,
4628
- other: ()=>`${formatter.number(args.count)} Elemente ausgewählt`
5033
+ "=0": `Keine Elemente ausgew\xe4hlt`,
5034
+ one: ()=>`${formatter.number(args.count)} Element ausgew\xe4hlt`,
5035
+ other: ()=>`${formatter.number(args.count)} Elemente ausgew\xe4hlt`
4629
5036
  })}.`,
4630
- "selectedItem": (args)=>`${args.item} ausgewählt.`
5037
+ "selectedItem": (args)=>`${args.item} ausgew\xe4hlt.`
4631
5038
  };
4632
5039
 
4633
5040
 
4634
5041
  var $9a73ed2983c3ab0b$exports = {};
4635
5042
  $9a73ed2983c3ab0b$exports = {
4636
- "deselectedItem": (args)=>`Δεν επιλέχθηκε το στοιχείο ${args.item}.`,
4637
- "longPressToSelect": `Πατήστε παρατεταμένα για να μπείτε σε λειτουργία επιλογής.`,
4638
- "select": `Επιλογή`,
4639
- "selectedAll": `Επιλέχθηκαν όλα τα στοιχεία.`,
5043
+ "deselectedItem": (args)=>`\u{394}\u{3B5}\u{3BD} \u{3B5}\u{3C0}\u{3B9}\u{3BB}\u{3AD}\u{3C7}\u{3B8}\u{3B7}\u{3BA}\u{3B5} \u{3C4}\u{3BF} \u{3C3}\u{3C4}\u{3BF}\u{3B9}\u{3C7}\u{3B5}\u{3AF}\u{3BF} ${args.item}.`,
5044
+ "longPressToSelect": `\u{3A0}\u{3B1}\u{3C4}\u{3AE}\u{3C3}\u{3C4}\u{3B5} \u{3C0}\u{3B1}\u{3C1}\u{3B1}\u{3C4}\u{3B5}\u{3C4}\u{3B1}\u{3BC}\u{3AD}\u{3BD}\u{3B1} \u{3B3}\u{3B9}\u{3B1} \u{3BD}\u{3B1} \u{3BC}\u{3C0}\u{3B5}\u{3AF}\u{3C4}\u{3B5} \u{3C3}\u{3B5} \u{3BB}\u{3B5}\u{3B9}\u{3C4}\u{3BF}\u{3C5}\u{3C1}\u{3B3}\u{3AF}\u{3B1} \u{3B5}\u{3C0}\u{3B9}\u{3BB}\u{3BF}\u{3B3}\u{3AE}\u{3C2}.`,
5045
+ "select": `\u{395}\u{3C0}\u{3B9}\u{3BB}\u{3BF}\u{3B3}\u{3AE}`,
5046
+ "selectedAll": `\u{395}\u{3C0}\u{3B9}\u{3BB}\u{3AD}\u{3C7}\u{3B8}\u{3B7}\u{3BA}\u{3B1}\u{3BD} \u{3CC}\u{3BB}\u{3B1} \u{3C4}\u{3B1} \u{3C3}\u{3C4}\u{3BF}\u{3B9}\u{3C7}\u{3B5}\u{3AF}\u{3B1}.`,
4640
5047
  "selectedCount": (args, formatter)=>`${formatter.plural(args.count, {
4641
- "=0": `Δεν επιλέχθηκαν στοιχεία`,
4642
- one: ()=>`Επιλέχθηκε ${formatter.number(args.count)} στοιχείο`,
4643
- other: ()=>`Επιλέχθηκαν ${formatter.number(args.count)} στοιχεία`
5048
+ "=0": `\u{394}\u{3B5}\u{3BD} \u{3B5}\u{3C0}\u{3B9}\u{3BB}\u{3AD}\u{3C7}\u{3B8}\u{3B7}\u{3BA}\u{3B1}\u{3BD} \u{3C3}\u{3C4}\u{3BF}\u{3B9}\u{3C7}\u{3B5}\u{3AF}\u{3B1}`,
5049
+ one: ()=>`\u{395}\u{3C0}\u{3B9}\u{3BB}\u{3AD}\u{3C7}\u{3B8}\u{3B7}\u{3BA}\u{3B5} ${formatter.number(args.count)} \u{3C3}\u{3C4}\u{3BF}\u{3B9}\u{3C7}\u{3B5}\u{3AF}\u{3BF}`,
5050
+ other: ()=>`\u{395}\u{3C0}\u{3B9}\u{3BB}\u{3AD}\u{3C7}\u{3B8}\u{3B7}\u{3BA}\u{3B1}\u{3BD} ${formatter.number(args.count)} \u{3C3}\u{3C4}\u{3BF}\u{3B9}\u{3C7}\u{3B5}\u{3AF}\u{3B1}`
4644
5051
  })}.`,
4645
- "selectedItem": (args)=>`Επιλέχθηκε το στοιχείο ${args.item}.`
5052
+ "selectedItem": (args)=>`\u{395}\u{3C0}\u{3B9}\u{3BB}\u{3AD}\u{3C7}\u{3B8}\u{3B7}\u{3BA}\u{3B5} \u{3C4}\u{3BF} \u{3C3}\u{3C4}\u{3BF}\u{3B9}\u{3C7}\u{3B5}\u{3AF}\u{3BF} ${args.item}.`
4646
5053
  };
4647
5054
 
4648
5055
 
@@ -4664,11 +5071,11 @@ $583de0b3587601b9$exports = {
4664
5071
  var $147159c978043442$exports = {};
4665
5072
  $147159c978043442$exports = {
4666
5073
  "deselectedItem": (args)=>`${args.item} no seleccionado.`,
4667
- "longPressToSelect": `Mantenga pulsado para abrir el modo de selección.`,
5074
+ "longPressToSelect": `Mantenga pulsado para abrir el modo de selecci\xf3n.`,
4668
5075
  "select": `Seleccionar`,
4669
5076
  "selectedAll": `Todos los elementos seleccionados.`,
4670
5077
  "selectedCount": (args, formatter)=>`${formatter.plural(args.count, {
4671
- "=0": `Ningún elemento seleccionado`,
5078
+ "=0": `Ning\xfan elemento seleccionado`,
4672
5079
  one: ()=>`${formatter.number(args.count)} elemento seleccionado`,
4673
5080
  other: ()=>`${formatter.number(args.count)} elementos seleccionados`
4674
5081
  })}.`,
@@ -4679,13 +5086,13 @@ $147159c978043442$exports = {
4679
5086
  var $5cbb62c8a19173ac$exports = {};
4680
5087
  $5cbb62c8a19173ac$exports = {
4681
5088
  "deselectedItem": (args)=>`${args.item} pole valitud.`,
4682
- "longPressToSelect": `Valikurežiimi sisenemiseks vajutage pikalt.`,
5089
+ "longPressToSelect": `Valikure\u{17E}iimi sisenemiseks vajutage pikalt.`,
4683
5090
  "select": `Vali`,
4684
- "selectedAll": `Kõik üksused valitud.`,
5091
+ "selectedAll": `K\xf5ik \xfcksused valitud.`,
4685
5092
  "selectedCount": (args, formatter)=>`${formatter.plural(args.count, {
4686
- "=0": `Üksusi pole valitud`,
4687
- one: ()=>`${formatter.number(args.count)} üksus valitud`,
4688
- other: ()=>`${formatter.number(args.count)} üksust valitud`
5093
+ "=0": `\xdcksusi pole valitud`,
5094
+ one: ()=>`${formatter.number(args.count)} \xfcksus valitud`,
5095
+ other: ()=>`${formatter.number(args.count)} \xfcksust valitud`
4689
5096
  })}.`,
4690
5097
  "selectedItem": (args)=>`${args.item} valitud.`
4691
5098
  };
@@ -4694,11 +5101,11 @@ $5cbb62c8a19173ac$exports = {
4694
5101
  var $a33d71dc804cc59e$exports = {};
4695
5102
  $a33d71dc804cc59e$exports = {
4696
5103
  "deselectedItem": (args)=>`Kohdetta ${args.item} ei valittu.`,
4697
- "longPressToSelect": `Siirry valintatilaan painamalla pitkään.`,
5104
+ "longPressToSelect": `Siirry valintatilaan painamalla pitk\xe4\xe4n.`,
4698
5105
  "select": `Valitse`,
4699
5106
  "selectedAll": `Kaikki kohteet valittu.`,
4700
5107
  "selectedCount": (args, formatter)=>`${formatter.plural(args.count, {
4701
- "=0": `Ei yhtään kohdetta valittu`,
5108
+ "=0": `Ei yht\xe4\xe4n kohdetta valittu`,
4702
5109
  one: ()=>`${formatter.number(args.count)} kohde valittu`,
4703
5110
  other: ()=>`${formatter.number(args.count)} kohdetta valittu`
4704
5111
  })}.`,
@@ -4708,38 +5115,38 @@ $a33d71dc804cc59e$exports = {
4708
5115
 
4709
5116
  var $92d800447793d084$exports = {};
4710
5117
  $92d800447793d084$exports = {
4711
- "deselectedItem": (args)=>`${args.item} non sélectionné.`,
4712
- "longPressToSelect": `Appuyez de manière prolongée pour passer en mode de sélection.`,
4713
- "select": `Sélectionner`,
4714
- "selectedAll": `Tous les éléments sélectionnés.`,
5118
+ "deselectedItem": (args)=>`${args.item} non s\xe9lectionn\xe9.`,
5119
+ "longPressToSelect": `Appuyez de mani\xe8re prolong\xe9e pour passer en mode de s\xe9lection.`,
5120
+ "select": `S\xe9lectionner`,
5121
+ "selectedAll": `Tous les \xe9l\xe9ments s\xe9lectionn\xe9s.`,
4715
5122
  "selectedCount": (args, formatter)=>`${formatter.plural(args.count, {
4716
- "=0": `Aucun élément sélectionné`,
4717
- one: ()=>`${formatter.number(args.count)} élément sélectionné`,
4718
- other: ()=>`${formatter.number(args.count)} éléments sélectionnés`
5123
+ "=0": `Aucun \xe9l\xe9ment s\xe9lectionn\xe9`,
5124
+ one: ()=>`${formatter.number(args.count)} \xe9l\xe9ment s\xe9lectionn\xe9`,
5125
+ other: ()=>`${formatter.number(args.count)} \xe9l\xe9ments s\xe9lectionn\xe9s`
4719
5126
  })}.`,
4720
- "selectedItem": (args)=>`${args.item} sélectionné.`
5127
+ "selectedItem": (args)=>`${args.item} s\xe9lectionn\xe9.`
4721
5128
  };
4722
5129
 
4723
5130
 
4724
5131
  var $fe732cdb32124ea8$exports = {};
4725
5132
  $fe732cdb32124ea8$exports = {
4726
- "deselectedItem": (args)=>`${args.item} לא נבחר.`,
4727
- "longPressToSelect": `הקשה ארוכה לכניסה למצב בחירה.`,
4728
- "select": `בחר`,
4729
- "selectedAll": `כל הפריטים נבחרו.`,
5133
+ "deselectedItem": (args)=>`${args.item} \u{5DC}\u{5D0} \u{5E0}\u{5D1}\u{5D7}\u{5E8}.`,
5134
+ "longPressToSelect": `\u{5D4}\u{5E7}\u{5E9}\u{5D4} \u{5D0}\u{5E8}\u{5D5}\u{5DB}\u{5D4} \u{5DC}\u{5DB}\u{5E0}\u{5D9}\u{5E1}\u{5D4} \u{5DC}\u{5DE}\u{5E6}\u{5D1} \u{5D1}\u{5D7}\u{5D9}\u{5E8}\u{5D4}.`,
5135
+ "select": `\u{5D1}\u{5D7}\u{5E8}`,
5136
+ "selectedAll": `\u{5DB}\u{5DC} \u{5D4}\u{5E4}\u{5E8}\u{5D9}\u{5D8}\u{5D9}\u{5DD} \u{5E0}\u{5D1}\u{5D7}\u{5E8}\u{5D5}.`,
4730
5137
  "selectedCount": (args, formatter)=>`${formatter.plural(args.count, {
4731
- "=0": `לא נבחרו פריטים`,
4732
- one: ()=>`פריט ${formatter.number(args.count)} נבחר`,
4733
- other: ()=>`${formatter.number(args.count)} פריטים נבחרו`
5138
+ "=0": `\u{5DC}\u{5D0} \u{5E0}\u{5D1}\u{5D7}\u{5E8}\u{5D5} \u{5E4}\u{5E8}\u{5D9}\u{5D8}\u{5D9}\u{5DD}`,
5139
+ one: ()=>`\u{5E4}\u{5E8}\u{5D9}\u{5D8} ${formatter.number(args.count)} \u{5E0}\u{5D1}\u{5D7}\u{5E8}`,
5140
+ other: ()=>`${formatter.number(args.count)} \u{5E4}\u{5E8}\u{5D9}\u{5D8}\u{5D9}\u{5DD} \u{5E0}\u{5D1}\u{5D7}\u{5E8}\u{5D5}`
4734
5141
  })}.`,
4735
- "selectedItem": (args)=>`${args.item} נבחר.`
5142
+ "selectedItem": (args)=>`${args.item} \u{5E0}\u{5D1}\u{5D7}\u{5E8}.`
4736
5143
  };
4737
5144
 
4738
5145
 
4739
5146
  var $e41234e934efb4f5$exports = {};
4740
5147
  $e41234e934efb4f5$exports = {
4741
5148
  "deselectedItem": (args)=>`Stavka ${args.item} nije odabrana.`,
4742
- "longPressToSelect": `Dugo pritisnite za ulazak u način odabira.`,
5149
+ "longPressToSelect": `Dugo pritisnite za ulazak u na\u{10D}in odabira.`,
4743
5150
  "select": `Odaberite`,
4744
5151
  "selectedAll": `Odabrane su sve stavke.`,
4745
5152
  "selectedCount": (args, formatter)=>`${formatter.plural(args.count, {
@@ -4753,23 +5160,23 @@ $e41234e934efb4f5$exports = {
4753
5160
 
4754
5161
  var $1b0393182473bf9e$exports = {};
4755
5162
  $1b0393182473bf9e$exports = {
4756
- "deselectedItem": (args)=>`${args.item} nincs kijelölve.`,
4757
- "longPressToSelect": `Nyomja hosszan a kijelöléshez.`,
4758
- "select": `Kijelölés`,
4759
- "selectedAll": `Az összes elem kijelölve.`,
5163
+ "deselectedItem": (args)=>`${args.item} nincs kijel\xf6lve.`,
5164
+ "longPressToSelect": `Nyomja hosszan a kijel\xf6l\xe9shez.`,
5165
+ "select": `Kijel\xf6l\xe9s`,
5166
+ "selectedAll": `Az \xf6sszes elem kijel\xf6lve.`,
4760
5167
  "selectedCount": (args, formatter)=>`${formatter.plural(args.count, {
4761
- "=0": `Egy elem sincs kijelölve`,
4762
- one: ()=>`${formatter.number(args.count)} elem kijelölve`,
4763
- other: ()=>`${formatter.number(args.count)} elem kijelölve`
5168
+ "=0": `Egy elem sincs kijel\xf6lve`,
5169
+ one: ()=>`${formatter.number(args.count)} elem kijel\xf6lve`,
5170
+ other: ()=>`${formatter.number(args.count)} elem kijel\xf6lve`
4764
5171
  })}.`,
4765
- "selectedItem": (args)=>`${args.item} kijelölve.`
5172
+ "selectedItem": (args)=>`${args.item} kijel\xf6lve.`
4766
5173
  };
4767
5174
 
4768
5175
 
4769
5176
  var $2eed782c1c110ce7$exports = {};
4770
5177
  $2eed782c1c110ce7$exports = {
4771
5178
  "deselectedItem": (args)=>`${args.item} non selezionato.`,
4772
- "longPressToSelect": `Premi a lungo per passare alla modalità di selezione.`,
5179
+ "longPressToSelect": `Premi a lungo per passare alla modalit\xe0 di selezione.`,
4773
5180
  "select": `Seleziona`,
4774
5181
  "selectedAll": `Tutti gli elementi selezionati.`,
4775
5182
  "selectedCount": (args, formatter)=>`${formatter.plural(args.count, {
@@ -4783,44 +5190,44 @@ $2eed782c1c110ce7$exports = {
4783
5190
 
4784
5191
  var $8b5d459f86e9b23c$exports = {};
4785
5192
  $8b5d459f86e9b23c$exports = {
4786
- "deselectedItem": (args)=>`${args.item} が選択されていません。`,
4787
- "longPressToSelect": `長押しして選択モードを開きます。`,
4788
- "select": `選択`,
4789
- "selectedAll": `すべての項目を選択しました。`,
5193
+ "deselectedItem": (args)=>`${args.item} \u{304C}\u{9078}\u{629E}\u{3055}\u{308C}\u{3066}\u{3044}\u{307E}\u{305B}\u{3093}\u{3002}`,
5194
+ "longPressToSelect": `\u{9577}\u{62BC}\u{3057}\u{3057}\u{3066}\u{9078}\u{629E}\u{30E2}\u{30FC}\u{30C9}\u{3092}\u{958B}\u{304D}\u{307E}\u{3059}\u{3002}`,
5195
+ "select": `\u{9078}\u{629E}`,
5196
+ "selectedAll": `\u{3059}\u{3079}\u{3066}\u{306E}\u{9805}\u{76EE}\u{3092}\u{9078}\u{629E}\u{3057}\u{307E}\u{3057}\u{305F}\u{3002}`,
4790
5197
  "selectedCount": (args, formatter)=>`${formatter.plural(args.count, {
4791
- "=0": `項目が選択されていません`,
4792
- one: ()=>`${formatter.number(args.count)} 項目を選択しました`,
4793
- other: ()=>`${formatter.number(args.count)} 項目を選択しました`
4794
- })}。`,
4795
- "selectedItem": (args)=>`${args.item} を選択しました。`
5198
+ "=0": `\u{9805}\u{76EE}\u{304C}\u{9078}\u{629E}\u{3055}\u{308C}\u{3066}\u{3044}\u{307E}\u{305B}\u{3093}`,
5199
+ one: ()=>`${formatter.number(args.count)} \u{9805}\u{76EE}\u{3092}\u{9078}\u{629E}\u{3057}\u{307E}\u{3057}\u{305F}`,
5200
+ other: ()=>`${formatter.number(args.count)} \u{9805}\u{76EE}\u{3092}\u{9078}\u{629E}\u{3057}\u{307E}\u{3057}\u{305F}`
5201
+ })}\u{3002}`,
5202
+ "selectedItem": (args)=>`${args.item} \u{3092}\u{9078}\u{629E}\u{3057}\u{307E}\u{3057}\u{305F}\u{3002}`
4796
5203
  };
4797
5204
 
4798
5205
 
4799
5206
  var $1949c3ad17295fd4$exports = {};
4800
5207
  $1949c3ad17295fd4$exports = {
4801
- "deselectedItem": (args)=>`${args.item}이(가) 선택되지 않았습니다.`,
4802
- "longPressToSelect": `선택 모드로 들어가려면 길게 누르십시오.`,
4803
- "select": `선택`,
4804
- "selectedAll": `모든 항목이 선택되었습니다.`,
5208
+ "deselectedItem": (args)=>`${args.item}\u{C774}(\u{AC00}) \u{C120}\u{D0DD}\u{B418}\u{C9C0} \u{C54A}\u{C558}\u{C2B5}\u{B2C8}\u{B2E4}.`,
5209
+ "longPressToSelect": `\u{C120}\u{D0DD} \u{BAA8}\u{B4DC}\u{B85C} \u{B4E4}\u{C5B4}\u{AC00}\u{B824}\u{BA74} \u{AE38}\u{AC8C} \u{B204}\u{B974}\u{C2ED}\u{C2DC}\u{C624}.`,
5210
+ "select": `\u{C120}\u{D0DD}`,
5211
+ "selectedAll": `\u{BAA8}\u{B4E0} \u{D56D}\u{BAA9}\u{C774} \u{C120}\u{D0DD}\u{B418}\u{C5C8}\u{C2B5}\u{B2C8}\u{B2E4}.`,
4805
5212
  "selectedCount": (args, formatter)=>`${formatter.plural(args.count, {
4806
- "=0": `선택된 항목이 없습니다`,
4807
- one: ()=>`${formatter.number(args.count)}개 항목이 선택되었습니다`,
4808
- other: ()=>`${formatter.number(args.count)}개 항목이 선택되었습니다`
5213
+ "=0": `\u{C120}\u{D0DD}\u{B41C} \u{D56D}\u{BAA9}\u{C774} \u{C5C6}\u{C2B5}\u{B2C8}\u{B2E4}`,
5214
+ one: ()=>`${formatter.number(args.count)}\u{AC1C} \u{D56D}\u{BAA9}\u{C774} \u{C120}\u{D0DD}\u{B418}\u{C5C8}\u{C2B5}\u{B2C8}\u{B2E4}`,
5215
+ other: ()=>`${formatter.number(args.count)}\u{AC1C} \u{D56D}\u{BAA9}\u{C774} \u{C120}\u{D0DD}\u{B418}\u{C5C8}\u{C2B5}\u{B2C8}\u{B2E4}`
4809
5216
  })}.`,
4810
- "selectedItem": (args)=>`${args.item}이(가) 선택되었습니다.`
5217
+ "selectedItem": (args)=>`${args.item}\u{C774}(\u{AC00}) \u{C120}\u{D0DD}\u{B418}\u{C5C8}\u{C2B5}\u{B2C8}\u{B2E4}.`
4811
5218
  };
4812
5219
 
4813
5220
 
4814
5221
  var $f5e3df4dc8aa7b54$exports = {};
4815
5222
  $f5e3df4dc8aa7b54$exports = {
4816
5223
  "deselectedItem": (args)=>`${args.item} nepasirinkta.`,
4817
- "longPressToSelect": `Norėdami įjungti pasirinkimo režimą, paspauskite ir palaikykite.`,
5224
+ "longPressToSelect": `Nor\u{117}dami \u{12F}jungti pasirinkimo re\u{17E}im\u{105}, paspauskite ir palaikykite.`,
4818
5225
  "select": `Pasirinkti`,
4819
5226
  "selectedAll": `Pasirinkti visi elementai.`,
4820
5227
  "selectedCount": (args, formatter)=>`${formatter.plural(args.count, {
4821
- "=0": `Nepasirinktas nė vienas elementas`,
5228
+ "=0": `Nepasirinktas n\u{117} vienas elementas`,
4822
5229
  one: ()=>`Pasirinktas ${formatter.number(args.count)} elementas`,
4823
- other: ()=>`Pasirinkta elementų: ${formatter.number(args.count)}`
5230
+ other: ()=>`Pasirinkta element\u{173}: ${formatter.number(args.count)}`
4824
5231
  })}.`,
4825
5232
  "selectedItem": (args)=>`Pasirinkta: ${args.item}.`
4826
5233
  };
@@ -4828,23 +5235,23 @@ $f5e3df4dc8aa7b54$exports = {
4828
5235
 
4829
5236
  var $9dd86690a5c2b2c5$exports = {};
4830
5237
  $9dd86690a5c2b2c5$exports = {
4831
- "deselectedItem": (args)=>`Vienums ${args.item} nav atlasīts.`,
4832
- "longPressToSelect": `Ilgi turiet nospiestu. lai ieslēgtu atlases režīmu.`,
4833
- "select": `Atlasīt`,
4834
- "selectedAll": `Atlasīti visi vienumi.`,
5238
+ "deselectedItem": (args)=>`Vienums ${args.item} nav atlas\u{12B}ts.`,
5239
+ "longPressToSelect": `Ilgi turiet nospiestu. lai iesl\u{113}gtu atlases re\u{17E}\u{12B}mu.`,
5240
+ "select": `Atlas\u{12B}t`,
5241
+ "selectedAll": `Atlas\u{12B}ti visi vienumi.`,
4835
5242
  "selectedCount": (args, formatter)=>`${formatter.plural(args.count, {
4836
- "=0": `Nav atlasīts neviens vienums`,
4837
- one: ()=>`Atlasīto vienumu skaits: ${formatter.number(args.count)}`,
4838
- other: ()=>`Atlasīto vienumu skaits: ${formatter.number(args.count)}`
5243
+ "=0": `Nav atlas\u{12B}ts neviens vienums`,
5244
+ one: ()=>`Atlas\u{12B}to vienumu skaits: ${formatter.number(args.count)}`,
5245
+ other: ()=>`Atlas\u{12B}to vienumu skaits: ${formatter.number(args.count)}`
4839
5246
  })}.`,
4840
- "selectedItem": (args)=>`Atlasīts vienums ${args.item}.`
5247
+ "selectedItem": (args)=>`Atlas\u{12B}ts vienums ${args.item}.`
4841
5248
  };
4842
5249
 
4843
5250
 
4844
5251
  var $843964c3bf9a7d24$exports = {};
4845
5252
  $843964c3bf9a7d24$exports = {
4846
5253
  "deselectedItem": (args)=>`${args.item} er ikke valgt.`,
4847
- "longPressToSelect": `Bruk et langt trykk for å gå inn i valgmodus.`,
5254
+ "longPressToSelect": `Bruk et langt trykk for \xe5 g\xe5 inn i valgmodus.`,
4848
5255
  "select": `Velg`,
4849
5256
  "selectedAll": `Alle elementer er valgt.`,
4850
5257
  "selectedCount": (args, formatter)=>`${formatter.plural(args.count, {
@@ -4874,13 +5281,13 @@ $73f50e845f9ef3b4$exports = {
4874
5281
  var $87f92a7e077514b2$exports = {};
4875
5282
  $87f92a7e077514b2$exports = {
4876
5283
  "deselectedItem": (args)=>`Nie zaznaczono ${args.item}.`,
4877
- "longPressToSelect": `Naciśnij i przytrzymaj, aby wejść do trybu wyboru.`,
5284
+ "longPressToSelect": `Naci\u{15B}nij i przytrzymaj, aby wej\u{15B}\u{107} do trybu wyboru.`,
4878
5285
  "select": `Zaznacz`,
4879
5286
  "selectedAll": `Wszystkie zaznaczone elementy.`,
4880
5287
  "selectedCount": (args, formatter)=>`${formatter.plural(args.count, {
4881
- "=0": `Nie zaznaczono żadnych elementów`,
5288
+ "=0": `Nie zaznaczono \u{17C}adnych element\xf3w`,
4882
5289
  one: ()=>`${formatter.number(args.count)} zaznaczony element`,
4883
- other: ()=>`${formatter.number(args.count)} zaznaczonych elementów`
5290
+ other: ()=>`${formatter.number(args.count)} zaznaczonych element\xf3w`
4884
5291
  })}.`,
4885
5292
  "selectedItem": (args)=>`Zaznaczono ${args.item}.`
4886
5293
  };
@@ -4888,8 +5295,8 @@ $87f92a7e077514b2$exports = {
4888
5295
 
4889
5296
  var $c28c98d58ee9ff6f$exports = {};
4890
5297
  $c28c98d58ee9ff6f$exports = {
4891
- "deselectedItem": (args)=>`${args.item} não selecionado.`,
4892
- "longPressToSelect": `Mantenha pressionado para entrar no modo de seleção.`,
5298
+ "deselectedItem": (args)=>`${args.item} n\xe3o selecionado.`,
5299
+ "longPressToSelect": `Mantenha pressionado para entrar no modo de sele\xe7\xe3o.`,
4893
5300
  "select": `Selecionar`,
4894
5301
  "selectedAll": `Todos os itens selecionados.`,
4895
5302
  "selectedCount": (args, formatter)=>`${formatter.plural(args.count, {
@@ -4903,8 +5310,8 @@ $c28c98d58ee9ff6f$exports = {
4903
5310
 
4904
5311
  var $b6b1503b17b2254d$exports = {};
4905
5312
  $b6b1503b17b2254d$exports = {
4906
- "deselectedItem": (args)=>`${args.item} não selecionado.`,
4907
- "longPressToSelect": `Prima continuamente para entrar no modo de seleção.`,
5313
+ "deselectedItem": (args)=>`${args.item} n\xe3o selecionado.`,
5314
+ "longPressToSelect": `Prima continuamente para entrar no modo de sele\xe7\xe3o.`,
4908
5315
  "select": `Selecionar`,
4909
5316
  "selectedAll": `Todos os itens selecionados.`,
4910
5317
  "selectedCount": (args, formatter)=>`${formatter.plural(args.count, {
@@ -4919,7 +5326,7 @@ $b6b1503b17b2254d$exports = {
4919
5326
  var $8bdaeb71e50c3e1a$exports = {};
4920
5327
  $8bdaeb71e50c3e1a$exports = {
4921
5328
  "deselectedItem": (args)=>`${args.item} neselectat.`,
4922
- "longPressToSelect": `Apăsați lung pentru a intra în modul de selectare.`,
5329
+ "longPressToSelect": `Ap\u{103}sa\u{21B}i lung pentru a intra \xeen modul de selectare.`,
4923
5330
  "select": `Selectare`,
4924
5331
  "selectedAll": `Toate elementele selectate.`,
4925
5332
  "selectedCount": (args, formatter)=>`${formatter.plural(args.count, {
@@ -4933,38 +5340,38 @@ $8bdaeb71e50c3e1a$exports = {
4933
5340
 
4934
5341
  var $ec2b852dd7c3d1f2$exports = {};
4935
5342
  $ec2b852dd7c3d1f2$exports = {
4936
- "deselectedItem": (args)=>`${args.item} не выбрано.`,
4937
- "longPressToSelect": `Нажмите и удерживайте для входа в режим выбора.`,
4938
- "select": `Выбрать`,
4939
- "selectedAll": `Выбраны все элементы.`,
5343
+ "deselectedItem": (args)=>`${args.item} \u{43D}\u{435} \u{432}\u{44B}\u{431}\u{440}\u{430}\u{43D}\u{43E}.`,
5344
+ "longPressToSelect": `\u{41D}\u{430}\u{436}\u{43C}\u{438}\u{442}\u{435} \u{438} \u{443}\u{434}\u{435}\u{440}\u{436}\u{438}\u{432}\u{430}\u{439}\u{442}\u{435} \u{434}\u{43B}\u{44F} \u{432}\u{445}\u{43E}\u{434}\u{430} \u{432} \u{440}\u{435}\u{436}\u{438}\u{43C} \u{432}\u{44B}\u{431}\u{43E}\u{440}\u{430}.`,
5345
+ "select": `\u{412}\u{44B}\u{431}\u{440}\u{430}\u{442}\u{44C}`,
5346
+ "selectedAll": `\u{412}\u{44B}\u{431}\u{440}\u{430}\u{43D}\u{44B} \u{432}\u{441}\u{435} \u{44D}\u{43B}\u{435}\u{43C}\u{435}\u{43D}\u{442}\u{44B}.`,
4940
5347
  "selectedCount": (args, formatter)=>`${formatter.plural(args.count, {
4941
- "=0": `Нет выбранных элементов`,
4942
- one: ()=>`${formatter.number(args.count)} элемент выбран`,
4943
- other: ()=>`${formatter.number(args.count)} элементов выбрано`
5348
+ "=0": `\u{41D}\u{435}\u{442} \u{432}\u{44B}\u{431}\u{440}\u{430}\u{43D}\u{43D}\u{44B}\u{445} \u{44D}\u{43B}\u{435}\u{43C}\u{435}\u{43D}\u{442}\u{43E}\u{432}`,
5349
+ one: ()=>`${formatter.number(args.count)} \u{44D}\u{43B}\u{435}\u{43C}\u{435}\u{43D}\u{442} \u{432}\u{44B}\u{431}\u{440}\u{430}\u{43D}`,
5350
+ other: ()=>`${formatter.number(args.count)} \u{44D}\u{43B}\u{435}\u{43C}\u{435}\u{43D}\u{442}\u{43E}\u{432} \u{432}\u{44B}\u{431}\u{440}\u{430}\u{43D}\u{43E}`
4944
5351
  })}.`,
4945
- "selectedItem": (args)=>`${args.item} выбрано.`
5352
+ "selectedItem": (args)=>`${args.item} \u{432}\u{44B}\u{431}\u{440}\u{430}\u{43D}\u{43E}.`
4946
5353
  };
4947
5354
 
4948
5355
 
4949
5356
  var $79e6d900d6a4f82d$exports = {};
4950
5357
  $79e6d900d6a4f82d$exports = {
4951
- "deselectedItem": (args)=>`Nevybraté položky: ${args.item}.`,
4952
- "longPressToSelect": `Dlhším stlačením prejdite do režimu výberu.`,
4953
- "select": `Vybrať`,
4954
- "selectedAll": `Všetky vybraté položky.`,
5358
+ "deselectedItem": (args)=>`Nevybrat\xe9 polo\u{17E}ky: ${args.item}.`,
5359
+ "longPressToSelect": `Dlh\u{161}\xedm stla\u{10D}en\xedm prejdite do re\u{17E}imu v\xfdberu.`,
5360
+ "select": `Vybra\u{165}`,
5361
+ "selectedAll": `V\u{161}etky vybrat\xe9 polo\u{17E}ky.`,
4955
5362
  "selectedCount": (args, formatter)=>`${formatter.plural(args.count, {
4956
- "=0": `Žiadne vybraté položky`,
4957
- one: ()=>`${formatter.number(args.count)} vybratá položka`,
4958
- other: ()=>`Počet vybratých položiek:${formatter.number(args.count)}`
5363
+ "=0": `\u{17D}iadne vybrat\xe9 polo\u{17E}ky`,
5364
+ one: ()=>`${formatter.number(args.count)} vybrat\xe1 polo\u{17E}ka`,
5365
+ other: ()=>`Po\u{10D}et vybrat\xfdch polo\u{17E}iek:${formatter.number(args.count)}`
4959
5366
  })}.`,
4960
- "selectedItem": (args)=>`Vybraté položky: ${args.item}.`
5367
+ "selectedItem": (args)=>`Vybrat\xe9 polo\u{17E}ky: ${args.item}.`
4961
5368
  };
4962
5369
 
4963
5370
 
4964
5371
  var $f4c1f0d5d4d03d80$exports = {};
4965
5372
  $f4c1f0d5d4d03d80$exports = {
4966
5373
  "deselectedItem": (args)=>`Element ${args.item} ni izbran.`,
4967
- "longPressToSelect": `Za izbirni način pritisnite in dlje časa držite.`,
5374
+ "longPressToSelect": `Za izbirni na\u{10D}in pritisnite in dlje \u{10D}asa dr\u{17E}ite.`,
4968
5375
  "select": `Izberite`,
4969
5376
  "selectedAll": `Vsi elementi so izbrani.`,
4970
5377
  "selectedCount": (args, formatter)=>`${formatter.plural(args.count, {
@@ -4979,7 +5386,7 @@ $f4c1f0d5d4d03d80$exports = {
4979
5386
  var $46252cd87269b10b$exports = {};
4980
5387
  $46252cd87269b10b$exports = {
4981
5388
  "deselectedItem": (args)=>`${args.item} nije izabrano.`,
4982
- "longPressToSelect": `Dugo pritisnite za ulazak u režim biranja.`,
5389
+ "longPressToSelect": `Dugo pritisnite za ulazak u re\u{17E}im biranja.`,
4983
5390
  "select": `Izaberite`,
4984
5391
  "selectedAll": `Izabrane su sve stavke.`,
4985
5392
  "selectedCount": (args, formatter)=>`${formatter.plural(args.count, {
@@ -4994,7 +5401,7 @@ $46252cd87269b10b$exports = {
4994
5401
  var $d4d5d8dab362555c$exports = {};
4995
5402
  $d4d5d8dab362555c$exports = {
4996
5403
  "deselectedItem": (args)=>`${args.item} ej markerat.`,
4997
- "longPressToSelect": `Tryck länge när du vill öppna väljarläge.`,
5404
+ "longPressToSelect": `Tryck l\xe4nge n\xe4r du vill \xf6ppna v\xe4ljarl\xe4ge.`,
4998
5405
  "select": `Markera`,
4999
5406
  "selectedAll": `Alla markerade objekt.`,
5000
5407
  "selectedCount": (args, formatter)=>`${formatter.plural(args.count, {
@@ -5008,61 +5415,61 @@ $d4d5d8dab362555c$exports = {
5008
5415
 
5009
5416
  var $3d55d1f97c377e83$exports = {};
5010
5417
  $3d55d1f97c377e83$exports = {
5011
- "deselectedItem": (args)=>`${args.item} seçilmedi.`,
5012
- "longPressToSelect": `Seçim moduna girmek için uzun basın.`,
5013
- "select": `Seç`,
5014
- "selectedAll": `Tüm ögeler seçildi.`,
5418
+ "deselectedItem": (args)=>`${args.item} se\xe7ilmedi.`,
5419
+ "longPressToSelect": `Se\xe7im moduna girmek i\xe7in uzun bas\u{131}n.`,
5420
+ "select": `Se\xe7`,
5421
+ "selectedAll": `T\xfcm \xf6geler se\xe7ildi.`,
5015
5422
  "selectedCount": (args, formatter)=>`${formatter.plural(args.count, {
5016
- "=0": `Hiçbir öge seçilmedi`,
5017
- one: ()=>`${formatter.number(args.count)} öge seçildi`,
5018
- other: ()=>`${formatter.number(args.count)} öge seçildi`
5423
+ "=0": `Hi\xe7bir \xf6ge se\xe7ilmedi`,
5424
+ one: ()=>`${formatter.number(args.count)} \xf6ge se\xe7ildi`,
5425
+ other: ()=>`${formatter.number(args.count)} \xf6ge se\xe7ildi`
5019
5426
  })}.`,
5020
- "selectedItem": (args)=>`${args.item} seçildi.`
5427
+ "selectedItem": (args)=>`${args.item} se\xe7ildi.`
5021
5428
  };
5022
5429
 
5023
5430
 
5024
5431
  var $5368512f1c703a3f$exports = {};
5025
5432
  $5368512f1c703a3f$exports = {
5026
- "deselectedItem": (args)=>`${args.item} не вибрано.`,
5027
- "longPressToSelect": `Виконайте довге натиснення, щоб перейти в режим вибору.`,
5028
- "select": `Вибрати`,
5029
- "selectedAll": `Усі елементи вибрано.`,
5433
+ "deselectedItem": (args)=>`${args.item} \u{43D}\u{435} \u{432}\u{438}\u{431}\u{440}\u{430}\u{43D}\u{43E}.`,
5434
+ "longPressToSelect": `\u{412}\u{438}\u{43A}\u{43E}\u{43D}\u{430}\u{439}\u{442}\u{435} \u{434}\u{43E}\u{432}\u{433}\u{435} \u{43D}\u{430}\u{442}\u{438}\u{441}\u{43D}\u{435}\u{43D}\u{43D}\u{44F}, \u{449}\u{43E}\u{431} \u{43F}\u{435}\u{440}\u{435}\u{439}\u{442}\u{438} \u{432} \u{440}\u{435}\u{436}\u{438}\u{43C} \u{432}\u{438}\u{431}\u{43E}\u{440}\u{443}.`,
5435
+ "select": `\u{412}\u{438}\u{431}\u{440}\u{430}\u{442}\u{438}`,
5436
+ "selectedAll": `\u{423}\u{441}\u{456} \u{435}\u{43B}\u{435}\u{43C}\u{435}\u{43D}\u{442}\u{438} \u{432}\u{438}\u{431}\u{440}\u{430}\u{43D}\u{43E}.`,
5030
5437
  "selectedCount": (args, formatter)=>`${formatter.plural(args.count, {
5031
- "=0": `Жодних елементів не вибрано`,
5032
- one: ()=>`${formatter.number(args.count)} елемент вибрано`,
5033
- other: ()=>`Вибрано елементів: ${formatter.number(args.count)}`
5438
+ "=0": `\u{416}\u{43E}\u{434}\u{43D}\u{438}\u{445} \u{435}\u{43B}\u{435}\u{43C}\u{435}\u{43D}\u{442}\u{456}\u{432} \u{43D}\u{435} \u{432}\u{438}\u{431}\u{440}\u{430}\u{43D}\u{43E}`,
5439
+ one: ()=>`${formatter.number(args.count)} \u{435}\u{43B}\u{435}\u{43C}\u{435}\u{43D}\u{442} \u{432}\u{438}\u{431}\u{440}\u{430}\u{43D}\u{43E}`,
5440
+ other: ()=>`\u{412}\u{438}\u{431}\u{440}\u{430}\u{43D}\u{43E} \u{435}\u{43B}\u{435}\u{43C}\u{435}\u{43D}\u{442}\u{456}\u{432}: ${formatter.number(args.count)}`
5034
5441
  })}.`,
5035
- "selectedItem": (args)=>`${args.item} вибрано.`
5442
+ "selectedItem": (args)=>`${args.item} \u{432}\u{438}\u{431}\u{440}\u{430}\u{43D}\u{43E}.`
5036
5443
  };
5037
5444
 
5038
5445
 
5039
5446
  var $f1316b1074463583$exports = {};
5040
5447
  $f1316b1074463583$exports = {
5041
- "deselectedItem": (args)=>`未选择 ${args.item}。`,
5042
- "longPressToSelect": `长按以进入选择模式。`,
5043
- "select": `选择`,
5044
- "selectedAll": `已选择所有项目。`,
5448
+ "deselectedItem": (args)=>`\u{672A}\u{9009}\u{62E9} ${args.item}\u{3002}`,
5449
+ "longPressToSelect": `\u{957F}\u{6309}\u{4EE5}\u{8FDB}\u{5165}\u{9009}\u{62E9}\u{6A21}\u{5F0F}\u{3002}`,
5450
+ "select": `\u{9009}\u{62E9}`,
5451
+ "selectedAll": `\u{5DF2}\u{9009}\u{62E9}\u{6240}\u{6709}\u{9879}\u{76EE}\u{3002}`,
5045
5452
  "selectedCount": (args, formatter)=>`${formatter.plural(args.count, {
5046
- "=0": `未选择项目`,
5047
- one: ()=>`已选择 ${formatter.number(args.count)} 个项目`,
5048
- other: ()=>`已选择 ${formatter.number(args.count)} 个项目`
5049
- })}。`,
5050
- "selectedItem": (args)=>`已选择 ${args.item}。`
5453
+ "=0": `\u{672A}\u{9009}\u{62E9}\u{9879}\u{76EE}`,
5454
+ one: ()=>`\u{5DF2}\u{9009}\u{62E9} ${formatter.number(args.count)} \u{4E2A}\u{9879}\u{76EE}`,
5455
+ other: ()=>`\u{5DF2}\u{9009}\u{62E9} ${formatter.number(args.count)} \u{4E2A}\u{9879}\u{76EE}`
5456
+ })}\u{3002}`,
5457
+ "selectedItem": (args)=>`\u{5DF2}\u{9009}\u{62E9} ${args.item}\u{3002}`
5051
5458
  };
5052
5459
 
5053
5460
 
5054
5461
  var $7e60654723031b6f$exports = {};
5055
5462
  $7e60654723031b6f$exports = {
5056
- "deselectedItem": (args)=>`未選取「${args.item}」。`,
5057
- "longPressToSelect": `長按以進入選擇模式。`,
5058
- "select": `選取`,
5059
- "selectedAll": `已選取所有項目。`,
5463
+ "deselectedItem": (args)=>`\u{672A}\u{9078}\u{53D6}\u{300C}${args.item}\u{300D}\u{3002}`,
5464
+ "longPressToSelect": `\u{9577}\u{6309}\u{4EE5}\u{9032}\u{5165}\u{9078}\u{64C7}\u{6A21}\u{5F0F}\u{3002}`,
5465
+ "select": `\u{9078}\u{53D6}`,
5466
+ "selectedAll": `\u{5DF2}\u{9078}\u{53D6}\u{6240}\u{6709}\u{9805}\u{76EE}\u{3002}`,
5060
5467
  "selectedCount": (args, formatter)=>`${formatter.plural(args.count, {
5061
- "=0": `未選取任何項目`,
5062
- one: ()=>`已選取 ${formatter.number(args.count)} 個項目`,
5063
- other: ()=>`已選取 ${formatter.number(args.count)} 個項目`
5064
- })}。`,
5065
- "selectedItem": (args)=>`已選取「${args.item}」。`
5468
+ "=0": `\u{672A}\u{9078}\u{53D6}\u{4EFB}\u{4F55}\u{9805}\u{76EE}`,
5469
+ one: ()=>`\u{5DF2}\u{9078}\u{53D6} ${formatter.number(args.count)} \u{500B}\u{9805}\u{76EE}`,
5470
+ other: ()=>`\u{5DF2}\u{9078}\u{53D6} ${formatter.number(args.count)} \u{500B}\u{9805}\u{76EE}`
5471
+ })}\u{3002}`,
5472
+ "selectedItem": (args)=>`\u{5DF2}\u{9078}\u{53D6}\u{300C}${args.item}\u{300D}\u{3002}`
5066
5473
  };
5067
5474
 
5068
5475
 
@@ -5108,10 +5515,10 @@ $835c96616a7cb4f9$exports = {
5108
5515
 
5109
5516
 
5110
5517
  function $92599c3fd427b763$export$137e594ef3218a10(props, state) {
5111
- var _state_collection_getTextValue;
5112
5518
  let { getRowText: getRowText = (key)=>{
5113
- var _state_collection, _state_collection_getTextValue1, _state_collection_getItem;
5114
- return (_state_collection_getTextValue = (_state_collection_getTextValue1 = (_state_collection = state.collection).getTextValue) === null || _state_collection_getTextValue1 === void 0 ? void 0 : _state_collection_getTextValue1.call(_state_collection, key)) !== null && _state_collection_getTextValue !== void 0 ? _state_collection_getTextValue : (_state_collection_getItem = state.collection.getItem(key)) === null || _state_collection_getItem === void 0 ? void 0 : _state_collection_getItem.textValue;
5519
+ var _state_collection_getTextValue, _state_collection, _state_collection_getItem;
5520
+ var _state_collection_getTextValue1;
5521
+ return (_state_collection_getTextValue1 = (_state_collection_getTextValue = (_state_collection = state.collection).getTextValue) === null || _state_collection_getTextValue === void 0 ? void 0 : _state_collection_getTextValue.call(_state_collection, key)) !== null && _state_collection_getTextValue1 !== void 0 ? _state_collection_getTextValue1 : (_state_collection_getItem = state.collection.getItem(key)) === null || _state_collection_getItem === void 0 ? void 0 : _state_collection_getItem.textValue;
5115
5522
  } } = props;
5116
5523
  let stringFormatter = ($fca6afa0e843324b$export$f12b703ca79dfbb1)(((/*@__PURE__*/$parcel$interopDefault$1($835c96616a7cb4f9$exports))));
5117
5524
  // Many screen readers do not announce when items in a grid are selected/deselected.
@@ -5572,43 +5979,43 @@ function $d7323bca8d074eeb$export$4f8b5cda58b7e8ff(props, state, ref) {
5572
5979
  var $3bb15cc24d006ec5$exports = {};
5573
5980
  var $84925f526f90eebd$exports = {};
5574
5981
  $84925f526f90eebd$exports = {
5575
- "removeButtonLabel": `إزالة`,
5576
- "removeDescription": `اضغط على مفتاح DELETE لإزالة علامة.`
5982
+ "removeButtonLabel": `\u{625}\u{632}\u{627}\u{644}\u{629}`,
5983
+ "removeDescription": `\u{627}\u{636}\u{63A}\u{637} \u{639}\u{644}\u{649} \u{645}\u{641}\u{62A}\u{627}\u{62D} DELETE \u{644}\u{625}\u{632}\u{627}\u{644}\u{629} \u{639}\u{644}\u{627}\u{645}\u{629}.`
5577
5984
  };
5578
5985
 
5579
5986
 
5580
5987
  var $c0650163dc1b6f9d$exports = {};
5581
5988
  $c0650163dc1b6f9d$exports = {
5582
- "removeButtonLabel": `Премахване`,
5583
- "removeDescription": `Натиснете Delete, за да премахнете маркера.`
5989
+ "removeButtonLabel": `\u{41F}\u{440}\u{435}\u{43C}\u{430}\u{445}\u{432}\u{430}\u{43D}\u{435}`,
5990
+ "removeDescription": `\u{41D}\u{430}\u{442}\u{438}\u{441}\u{43D}\u{435}\u{442}\u{435} Delete, \u{437}\u{430} \u{434}\u{430} \u{43F}\u{440}\u{435}\u{43C}\u{430}\u{445}\u{43D}\u{435}\u{442}\u{435} \u{43C}\u{430}\u{440}\u{43A}\u{435}\u{440}\u{430}.`
5584
5991
  };
5585
5992
 
5586
5993
 
5587
5994
  var $b2b55661291de587$exports = {};
5588
5995
  $b2b55661291de587$exports = {
5589
5996
  "removeButtonLabel": `Odebrat`,
5590
- "removeDescription": `Stisknutím klávesy Delete odeberete značku.`
5997
+ "removeDescription": `Stisknut\xedm kl\xe1vesy Delete odeberete zna\u{10D}ku.`
5591
5998
  };
5592
5999
 
5593
6000
 
5594
6001
  var $deb83970956f6d5b$exports = {};
5595
6002
  $deb83970956f6d5b$exports = {
5596
6003
  "removeButtonLabel": `Fjern`,
5597
- "removeDescription": `Tryk på Slet for at fjerne tag.`
6004
+ "removeDescription": `Tryk p\xe5 Slet for at fjerne tag.`
5598
6005
  };
5599
6006
 
5600
6007
 
5601
6008
  var $aea1cb4c7ec97e1c$exports = {};
5602
6009
  $aea1cb4c7ec97e1c$exports = {
5603
6010
  "removeButtonLabel": `Entfernen`,
5604
- "removeDescription": `Auf „Löschen“ drücken, um das Tag zu entfernen.`
6011
+ "removeDescription": `Auf \u{201E}L\xf6schen\u{201C} dr\xfccken, um das Tag zu entfernen.`
5605
6012
  };
5606
6013
 
5607
6014
 
5608
6015
  var $3618d917e503a8d3$exports = {};
5609
6016
  $3618d917e503a8d3$exports = {
5610
- "removeButtonLabel": `Κατάργηση`,
5611
- "removeDescription": `Πατήστε Διαγραφή για να καταργήσετε την ετικέτα.`
6017
+ "removeButtonLabel": `\u{39A}\u{3B1}\u{3C4}\u{3AC}\u{3C1}\u{3B3}\u{3B7}\u{3C3}\u{3B7}`,
6018
+ "removeDescription": `\u{3A0}\u{3B1}\u{3C4}\u{3AE}\u{3C3}\u{3C4}\u{3B5} \u{394}\u{3B9}\u{3B1}\u{3B3}\u{3C1}\u{3B1}\u{3C6}\u{3AE} \u{3B3}\u{3B9}\u{3B1} \u{3BD}\u{3B1} \u{3BA}\u{3B1}\u{3C4}\u{3B1}\u{3C1}\u{3B3}\u{3AE}\u{3C3}\u{3B5}\u{3C4}\u{3B5} \u{3C4}\u{3B7}\u{3BD} \u{3B5}\u{3C4}\u{3B9}\u{3BA}\u{3AD}\u{3C4}\u{3B1}.`
5612
6019
  };
5613
6020
 
5614
6021
 
@@ -5643,14 +6050,14 @@ $80ee16b64fab9fb5$exports = {
5643
6050
  var $be9d354476c08087$exports = {};
5644
6051
  $be9d354476c08087$exports = {
5645
6052
  "removeButtonLabel": `Supprimer`,
5646
- "removeDescription": `Appuyez sur Supprimer pour supprimer l’étiquette.`
6053
+ "removeDescription": `Appuyez sur Supprimer pour supprimer l\u{2019}\xe9tiquette.`
5647
6054
  };
5648
6055
 
5649
6056
 
5650
6057
  var $ffeb903ba092eb35$exports = {};
5651
6058
  $ffeb903ba092eb35$exports = {
5652
- "removeButtonLabel": `הסר`,
5653
- "removeDescription": `לחץ על מחק כדי להסיר תג.`
6059
+ "removeButtonLabel": `\u{5D4}\u{5E1}\u{5E8}`,
6060
+ "removeDescription": `\u{5DC}\u{5D7}\u{5E5} \u{5E2}\u{5DC} \u{5DE}\u{5D7}\u{5E7} \u{5DB}\u{5D3}\u{5D9} \u{5DC}\u{5D4}\u{5E1}\u{5D9}\u{5E8} \u{5EA}\u{5D2}.`
5654
6061
  };
5655
6062
 
5656
6063
 
@@ -5663,8 +6070,8 @@ $1df6722c6f19728b$exports = {
5663
6070
 
5664
6071
  var $093d57e325bc9071$exports = {};
5665
6072
  $093d57e325bc9071$exports = {
5666
- "removeButtonLabel": `Eltávolítás`,
5667
- "removeDescription": `Nyomja meg a Delete billentyűt a címke eltávolításához.`
6073
+ "removeButtonLabel": `Elt\xe1vol\xedt\xe1s`,
6074
+ "removeDescription": `Nyomja meg a Delete billenty\u{171}t a c\xedmke elt\xe1vol\xedt\xe1s\xe1hoz.`
5668
6075
  };
5669
6076
 
5670
6077
 
@@ -5677,36 +6084,36 @@ $609dbdfbcad85bdb$exports = {
5677
6084
 
5678
6085
  var $c08e84f882644048$exports = {};
5679
6086
  $c08e84f882644048$exports = {
5680
- "removeButtonLabel": `削除`,
5681
- "removeDescription": `タグを削除するには、Delete キーを押します。`
6087
+ "removeButtonLabel": `\u{524A}\u{9664}`,
6088
+ "removeDescription": `\u{30BF}\u{30B0}\u{3092}\u{524A}\u{9664}\u{3059}\u{308B}\u{306B}\u{306F}\u{3001}Delete \u{30AD}\u{30FC}\u{3092}\u{62BC}\u{3057}\u{307E}\u{3059}\u{3002}`
5682
6089
  };
5683
6090
 
5684
6091
 
5685
6092
  var $5cd130489822fa21$exports = {};
5686
6093
  $5cd130489822fa21$exports = {
5687
- "removeButtonLabel": `제거`,
5688
- "removeDescription": `태그를 제거하려면 Delete 키를 누르십시오.`
6094
+ "removeButtonLabel": `\u{C81C}\u{AC70}`,
6095
+ "removeDescription": `\u{D0DC}\u{ADF8}\u{B97C} \u{C81C}\u{AC70}\u{D558}\u{B824}\u{BA74} Delete \u{D0A4}\u{B97C} \u{B204}\u{B974}\u{C2ED}\u{C2DC}\u{C624}.`
5689
6096
  };
5690
6097
 
5691
6098
 
5692
6099
  var $ab5183739b6c5e7e$exports = {};
5693
6100
  $ab5183739b6c5e7e$exports = {
5694
- "removeButtonLabel": `Pašalinti`,
5695
- "removeDescription": `Norėdami pašalinti žymą, paspauskite „Delete“ klavišą.`
6101
+ "removeButtonLabel": `Pa\u{161}alinti`,
6102
+ "removeDescription": `Nor\u{117}dami pa\u{161}alinti \u{17E}ym\u{105}, paspauskite \u{201E}Delete\u{201C} klavi\u{161}\u{105}.`
5696
6103
  };
5697
6104
 
5698
6105
 
5699
6106
  var $dd84a0b574be3f23$exports = {};
5700
6107
  $dd84a0b574be3f23$exports = {
5701
- "removeButtonLabel": `Noņemt`,
5702
- "removeDescription": `Nospiediet Delete [Dzēst], lai noņemtu tagu.`
6108
+ "removeButtonLabel": `No\u{146}emt`,
6109
+ "removeDescription": `Nospiediet Delete [Dz\u{113}st], lai no\u{146}emtu tagu.`
5703
6110
  };
5704
6111
 
5705
6112
 
5706
6113
  var $85eee97d14eef7b5$exports = {};
5707
6114
  $85eee97d14eef7b5$exports = {
5708
6115
  "removeButtonLabel": `Fjern`,
5709
- "removeDescription": `Trykk på Slett for å fjerne taggen.`
6116
+ "removeDescription": `Trykk p\xe5 Slett for \xe5 fjerne taggen.`
5710
6117
  };
5711
6118
 
5712
6119
 
@@ -5719,8 +6126,8 @@ $18781839f93b0314$exports = {
5719
6126
 
5720
6127
  var $1c40ffbbfe9f3bda$exports = {};
5721
6128
  $1c40ffbbfe9f3bda$exports = {
5722
- "removeButtonLabel": `Usuń`,
5723
- "removeDescription": `Naciśnij Usuń, aby usunąć znacznik.`
6129
+ "removeButtonLabel": `Usu\u{144}`,
6130
+ "removeDescription": `Naci\u{15B}nij Usu\u{144}, aby usun\u{105}\u{107} znacznik.`
5724
6131
  };
5725
6132
 
5726
6133
 
@@ -5740,22 +6147,22 @@ $b6d50b1d20768ce4$exports = {
5740
6147
 
5741
6148
  var $d8c38c691b006187$exports = {};
5742
6149
  $d8c38c691b006187$exports = {
5743
- "removeButtonLabel": `Îndepărtaţi`,
5744
- "removeDescription": `Apăsați pe Delete (Ștergere) pentru a elimina eticheta.`
6150
+ "removeButtonLabel": `\xcendep\u{103}rta\u{163}i`,
6151
+ "removeDescription": `Ap\u{103}sa\u{21B}i pe Delete (\u{218}tergere) pentru a elimina eticheta.`
5745
6152
  };
5746
6153
 
5747
6154
 
5748
6155
  var $ed9b4bf7ce1fb1d7$exports = {};
5749
6156
  $ed9b4bf7ce1fb1d7$exports = {
5750
- "removeButtonLabel": `Удалить`,
5751
- "removeDescription": `Нажмите DELETE, чтобы удалить тег.`
6157
+ "removeButtonLabel": `\u{423}\u{434}\u{430}\u{43B}\u{438}\u{442}\u{44C}`,
6158
+ "removeDescription": `\u{41D}\u{430}\u{436}\u{43C}\u{438}\u{442}\u{435} DELETE, \u{447}\u{442}\u{43E}\u{431}\u{44B} \u{443}\u{434}\u{430}\u{43B}\u{438}\u{442}\u{44C} \u{442}\u{435}\u{433}.`
5752
6159
  };
5753
6160
 
5754
6161
 
5755
6162
  var $51d8721afda4d678$exports = {};
5756
6163
  $51d8721afda4d678$exports = {
5757
- "removeButtonLabel": `Odstrániť`,
5758
- "removeDescription": `Ak chcete odstrániť značku, stlačte kláves Delete.`
6164
+ "removeButtonLabel": `Odstr\xe1ni\u{165}`,
6165
+ "removeDescription": `Ak chcete odstr\xe1ni\u{165} zna\u{10D}ku, stla\u{10D}te kl\xe1ves Delete.`
5759
6166
  };
5760
6167
 
5761
6168
 
@@ -5769,42 +6176,42 @@ $fd37a27baae493e8$exports = {
5769
6176
  var $5505a1ca71ffd6f4$exports = {};
5770
6177
  $5505a1ca71ffd6f4$exports = {
5771
6178
  "removeButtonLabel": `Ukloni`,
5772
- "removeDescription": `Pritisnite Obriši da biste uklonili oznaku.`
6179
+ "removeDescription": `Pritisnite Obri\u{161}i da biste uklonili oznaku.`
5773
6180
  };
5774
6181
 
5775
6182
 
5776
6183
  var $33670e148c84ad02$exports = {};
5777
6184
  $33670e148c84ad02$exports = {
5778
6185
  "removeButtonLabel": `Ta bort`,
5779
- "removeDescription": `Tryck på Radera för att ta bort taggen.`
6186
+ "removeDescription": `Tryck p\xe5 Radera f\xf6r att ta bort taggen.`
5780
6187
  };
5781
6188
 
5782
6189
 
5783
6190
  var $0bf46fdcdd7cb5f6$exports = {};
5784
6191
  $0bf46fdcdd7cb5f6$exports = {
5785
- "removeButtonLabel": `Kaldır`,
5786
- "removeDescription": `Etiketi kaldırmak için Sil tuşuna basın.`
6192
+ "removeButtonLabel": `Kald\u{131}r`,
6193
+ "removeDescription": `Etiketi kald\u{131}rmak i\xe7in Sil tu\u{15F}una bas\u{131}n.`
5787
6194
  };
5788
6195
 
5789
6196
 
5790
6197
  var $9d9765222bc08ca2$exports = {};
5791
6198
  $9d9765222bc08ca2$exports = {
5792
- "removeButtonLabel": `Вилучити`,
5793
- "removeDescription": `Натисніть Delete, щоб вилучити тег.`
6199
+ "removeButtonLabel": `\u{412}\u{438}\u{43B}\u{443}\u{447}\u{438}\u{442}\u{438}`,
6200
+ "removeDescription": `\u{41D}\u{430}\u{442}\u{438}\u{441}\u{43D}\u{456}\u{442}\u{44C} Delete, \u{449}\u{43E}\u{431} \u{432}\u{438}\u{43B}\u{443}\u{447}\u{438}\u{442}\u{438} \u{442}\u{435}\u{433}.`
5794
6201
  };
5795
6202
 
5796
6203
 
5797
6204
  var $d737296cedcdee9f$exports = {};
5798
6205
  $d737296cedcdee9f$exports = {
5799
- "removeButtonLabel": `删除`,
5800
- "removeDescription": `按下“删除”以删除标记。`
6206
+ "removeButtonLabel": `\u{5220}\u{9664}`,
6207
+ "removeDescription": `\u{6309}\u{4E0B}\u{201C}\u{5220}\u{9664}\u{201D}\u{4EE5}\u{5220}\u{9664}\u{6807}\u{8BB0}\u{3002}`
5801
6208
  };
5802
6209
 
5803
6210
 
5804
6211
  var $09cd168ab18773f4$exports = {};
5805
6212
  $09cd168ab18773f4$exports = {
5806
- "removeButtonLabel": `移除`,
5807
- "removeDescription": `按 Delete 鍵以移除標記。`
6213
+ "removeButtonLabel": `\u{79FB}\u{9664}`,
6214
+ "removeDescription": `\u{6309} Delete \u{9375}\u{4EE5}\u{79FB}\u{9664}\u{6A19}\u{8A18}\u{3002}`
5808
6215
  };
5809
6216
 
5810
6217
 
@@ -5901,418 +6308,140 @@ function $fc6126c82a4601f1$export$3f568fff7dff2f03(props, state, ref) {
5901
6308
  };
5902
6309
  }
5903
6310
 
5904
- var shim = {exports: {}};
5905
-
5906
- var useSyncExternalStoreShim_development = {};
5907
-
5908
- /**
5909
- * @license React
5910
- * use-sync-external-store-shim.development.js
6311
+ /*
6312
+ * Copyright 2020 Adobe. All rights reserved.
6313
+ * This file is licensed to you under the Apache License, Version 2.0 (the "License");
6314
+ * you may not use this file except in compliance with the License. You may obtain a copy
6315
+ * of the License at http://www.apache.org/licenses/LICENSE-2.0
5911
6316
  *
5912
- * Copyright (c) Facebook, Inc. and its affiliates.
6317
+ * Unless required by applicable law or agreed to in writing, software distributed under
6318
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
6319
+ * OF ANY KIND, either express or implied. See the License for the specific language
6320
+ * governing permissions and limitations under the License.
6321
+ */ /*
6322
+ * Copyright 2020 Adobe. All rights reserved.
6323
+ * This file is licensed to you under the Apache License, Version 2.0 (the "License");
6324
+ * you may not use this file except in compliance with the License. You may obtain a copy
6325
+ * of the License at http://www.apache.org/licenses/LICENSE-2.0
5913
6326
  *
5914
- * This source code is licensed under the MIT license found in the
5915
- * LICENSE file in the root directory of this source tree.
5916
- */
5917
-
5918
- var hasRequiredUseSyncExternalStoreShim_development;
5919
-
5920
- function requireUseSyncExternalStoreShim_development () {
5921
- if (hasRequiredUseSyncExternalStoreShim_development) return useSyncExternalStoreShim_development;
5922
- hasRequiredUseSyncExternalStoreShim_development = 1;
5923
-
5924
- if (process.env.NODE_ENV !== "production") {
5925
- (function() {
5926
-
5927
- /* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
5928
- if (
5929
- typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== 'undefined' &&
5930
- typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart ===
5931
- 'function'
5932
- ) {
5933
- __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());
5934
- }
5935
- var React = $dGqE5$react;
6327
+ * Unless required by applicable law or agreed to in writing, software distributed under
6328
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
6329
+ * OF ANY KIND, either express or implied. See the License for the specific language
6330
+ * governing permissions and limitations under the License.
6331
+ */ /*
6332
+ * Copyright 2020 Adobe. All rights reserved.
6333
+ * This file is licensed to you under the Apache License, Version 2.0 (the "License");
6334
+ * you may not use this file except in compliance with the License. You may obtain a copy
6335
+ * of the License at http://www.apache.org/licenses/LICENSE-2.0
6336
+ *
6337
+ * Unless required by applicable law or agreed to in writing, software distributed under
6338
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
6339
+ * OF ANY KIND, either express or implied. See the License for the specific language
6340
+ * governing permissions and limitations under the License.
6341
+ */ class $e40ea825a81a3709$export$52baac22726c72bf extends Set {
6342
+ constructor(keys, anchorKey, currentKey){
6343
+ super(keys);
6344
+ if (keys instanceof $e40ea825a81a3709$export$52baac22726c72bf) {
6345
+ this.anchorKey = anchorKey || keys.anchorKey;
6346
+ this.currentKey = currentKey || keys.currentKey;
6347
+ } else {
6348
+ this.anchorKey = anchorKey;
6349
+ this.currentKey = currentKey;
6350
+ }
6351
+ }
6352
+ }
5936
6353
 
5937
- var ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
5938
6354
 
5939
- function error(format) {
5940
- {
5941
- {
5942
- for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {
5943
- args[_key2 - 1] = arguments[_key2];
5944
- }
5945
6355
 
5946
- printWarning('error', format, args);
5947
- }
5948
- }
5949
- }
5950
6356
 
5951
- function printWarning(level, format, args) {
5952
- // When changing this logic, you might want to also
5953
- // update consoleWithStackDev.www.js as well.
5954
- {
5955
- var ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame;
5956
- var stack = ReactDebugCurrentFrame.getStackAddendum();
5957
-
5958
- if (stack !== '') {
5959
- format += '%s';
5960
- args = args.concat([stack]);
5961
- } // eslint-disable-next-line react-internal/safe-string-coercion
5962
-
5963
-
5964
- var argsWithFormat = args.map(function (item) {
5965
- return String(item);
5966
- }); // Careful: RN currently depends on this prefix
5967
-
5968
- argsWithFormat.unshift('Warning: ' + format); // We intentionally don't use spread (or .apply) directly because it
5969
- // breaks IE9: https://github.com/facebook/react/issues/13610
5970
- // eslint-disable-next-line react-internal/no-production-logging
5971
-
5972
- Function.prototype.apply.call(console[level], console, argsWithFormat);
5973
- }
5974
- }
5975
-
5976
- /**
5977
- * inlined Object.is polyfill to avoid requiring consumers ship their own
5978
- * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is
5979
- */
5980
- function is(x, y) {
5981
- return x === y && (x !== 0 || 1 / x === 1 / y) || x !== x && y !== y // eslint-disable-line no-self-compare
5982
- ;
5983
- }
5984
-
5985
- var objectIs = typeof Object.is === 'function' ? Object.is : is;
5986
-
5987
- // dispatch for CommonJS interop named imports.
5988
-
5989
- var useState = React.useState,
5990
- useEffect = React.useEffect,
5991
- useLayoutEffect = React.useLayoutEffect,
5992
- useDebugValue = React.useDebugValue;
5993
- var didWarnOld18Alpha = false;
5994
- var didWarnUncachedGetSnapshot = false; // Disclaimer: This shim breaks many of the rules of React, and only works
5995
- // because of a very particular set of implementation details and assumptions
5996
- // -- change any one of them and it will break. The most important assumption
5997
- // is that updates are always synchronous, because concurrent rendering is
5998
- // only available in versions of React that also have a built-in
5999
- // useSyncExternalStore API. And we only use this shim when the built-in API
6000
- // does not exist.
6001
- //
6002
- // Do not assume that the clever hacks used by this hook also work in general.
6003
- // The point of this shim is to replace the need for hacks by other libraries.
6004
-
6005
- function useSyncExternalStore(subscribe, getSnapshot, // Note: The shim does not use getServerSnapshot, because pre-18 versions of
6006
- // React do not expose a way to check if we're hydrating. So users of the shim
6007
- // will need to track that themselves and return the correct value
6008
- // from `getSnapshot`.
6009
- getServerSnapshot) {
6010
- {
6011
- if (!didWarnOld18Alpha) {
6012
- if (React.startTransition !== undefined) {
6013
- didWarnOld18Alpha = true;
6014
-
6015
- error('You are using an outdated, pre-release alpha of React 18 that ' + 'does not support useSyncExternalStore. The ' + 'use-sync-external-store shim will not work correctly. Upgrade ' + 'to a newer pre-release.');
6016
- }
6017
- }
6018
- } // Read the current snapshot from the store on every render. Again, this
6019
- // breaks the rules of React, and only works here because of specific
6020
- // implementation details, most importantly that updates are
6021
- // always synchronous.
6022
-
6023
-
6024
- var value = getSnapshot();
6025
-
6026
- {
6027
- if (!didWarnUncachedGetSnapshot) {
6028
- var cachedValue = getSnapshot();
6029
-
6030
- if (!objectIs(value, cachedValue)) {
6031
- error('The result of getSnapshot should be cached to avoid an infinite loop');
6032
-
6033
- didWarnUncachedGetSnapshot = true;
6034
- }
6035
- }
6036
- } // Because updates are synchronous, we don't queue them. Instead we force a
6037
- // re-render whenever the subscribed state changes by updating an some
6038
- // arbitrary useState hook. Then, during render, we call getSnapshot to read
6039
- // the current value.
6040
- //
6041
- // Because we don't actually use the state returned by the useState hook, we
6042
- // can save a bit of memory by storing other stuff in that slot.
6043
- //
6044
- // To implement the early bailout, we need to track some things on a mutable
6045
- // object. Usually, we would put that in a useRef hook, but we can stash it in
6046
- // our useState hook instead.
6047
- //
6048
- // To force a re-render, we call forceUpdate({inst}). That works because the
6049
- // new object always fails an equality check.
6050
-
6051
-
6052
- var _useState = useState({
6053
- inst: {
6054
- value: value,
6055
- getSnapshot: getSnapshot
6056
- }
6057
- }),
6058
- inst = _useState[0].inst,
6059
- forceUpdate = _useState[1]; // Track the latest getSnapshot function with a ref. This needs to be updated
6060
- // in the layout phase so we can access it during the tearing check that
6061
- // happens on subscribe.
6062
-
6063
-
6064
- useLayoutEffect(function () {
6065
- inst.value = value;
6066
- inst.getSnapshot = getSnapshot; // Whenever getSnapshot or subscribe changes, we need to check in the
6067
- // commit phase if there was an interleaved mutation. In concurrent mode
6068
- // this can happen all the time, but even in synchronous mode, an earlier
6069
- // effect may have mutated the store.
6070
-
6071
- if (checkIfSnapshotChanged(inst)) {
6072
- // Force a re-render.
6073
- forceUpdate({
6074
- inst: inst
6075
- });
6076
- }
6077
- }, [subscribe, value, getSnapshot]);
6078
- useEffect(function () {
6079
- // Check for changes right before subscribing. Subsequent changes will be
6080
- // detected in the subscription handler.
6081
- if (checkIfSnapshotChanged(inst)) {
6082
- // Force a re-render.
6083
- forceUpdate({
6084
- inst: inst
6085
- });
6086
- }
6087
-
6088
- var handleStoreChange = function () {
6089
- // TODO: Because there is no cross-renderer API for batching updates, it's
6090
- // up to the consumer of this library to wrap their subscription event
6091
- // with unstable_batchedUpdates. Should we try to detect when this isn't
6092
- // the case and print a warning in development?
6093
- // The store changed. Check if the snapshot changed since the last time we
6094
- // read from the store.
6095
- if (checkIfSnapshotChanged(inst)) {
6096
- // Force a re-render.
6097
- forceUpdate({
6098
- inst: inst
6099
- });
6100
- }
6101
- }; // Subscribe to the store and return a clean-up function.
6102
-
6103
-
6104
- return subscribe(handleStoreChange);
6105
- }, [subscribe]);
6106
- useDebugValue(value);
6107
- return value;
6108
- }
6109
-
6110
- function checkIfSnapshotChanged(inst) {
6111
- var latestGetSnapshot = inst.getSnapshot;
6112
- var prevValue = inst.value;
6357
+ function $7af3f5b51489e0b5$var$equalSets(setA, setB) {
6358
+ if (setA.size !== setB.size) return false;
6359
+ for (let item of setA){
6360
+ if (!setB.has(item)) return false;
6361
+ }
6362
+ return true;
6363
+ }
6364
+ function $7af3f5b51489e0b5$export$253fe78d46329472(props) {
6365
+ let { selectionMode: selectionMode = "none", disallowEmptySelection: disallowEmptySelection, allowDuplicateSelectionEvents: allowDuplicateSelectionEvents, selectionBehavior: selectionBehaviorProp = "toggle", disabledBehavior: disabledBehavior = "all" } = props;
6366
+ // We want synchronous updates to `isFocused` and `focusedKey` after their setters are called.
6367
+ // But we also need to trigger a react re-render. So, we have both a ref (sync) and state (async).
6368
+ let isFocusedRef = (useRef)(false);
6369
+ let [, setFocused] = (useState)(false);
6370
+ let focusedKeyRef = (useRef)(null);
6371
+ let childFocusStrategyRef = (useRef)(null);
6372
+ let [, setFocusedKey] = (useState)(null);
6373
+ let selectedKeysProp = (useMemo)(()=>$7af3f5b51489e0b5$var$convertSelection(props.selectedKeys), [
6374
+ props.selectedKeys
6375
+ ]);
6376
+ let defaultSelectedKeys = (useMemo)(()=>$7af3f5b51489e0b5$var$convertSelection(props.defaultSelectedKeys, new ($e40ea825a81a3709$export$52baac22726c72bf)()), [
6377
+ props.defaultSelectedKeys
6378
+ ]);
6379
+ let [selectedKeys, setSelectedKeys] = ($458b0a5536c1a7cf$export$40bfa8c7b0832715)(selectedKeysProp, defaultSelectedKeys, props.onSelectionChange);
6380
+ let disabledKeysProp = (useMemo)(()=>props.disabledKeys ? new Set(props.disabledKeys) : new Set(), [
6381
+ props.disabledKeys
6382
+ ]);
6383
+ let [selectionBehavior, setSelectionBehavior] = (useState)(selectionBehaviorProp);
6384
+ // If the selectionBehavior prop is set to replace, but the current state is toggle (e.g. due to long press
6385
+ // to enter selection mode on touch), and the selection becomes empty, reset the selection behavior.
6386
+ if (selectionBehaviorProp === "replace" && selectionBehavior === "toggle" && typeof selectedKeys === "object" && selectedKeys.size === 0) setSelectionBehavior("replace");
6387
+ // If the selectionBehavior prop changes, update the state as well.
6388
+ let lastSelectionBehavior = (useRef)(selectionBehaviorProp);
6389
+ (useEffect)(()=>{
6390
+ if (selectionBehaviorProp !== lastSelectionBehavior.current) {
6391
+ setSelectionBehavior(selectionBehaviorProp);
6392
+ lastSelectionBehavior.current = selectionBehaviorProp;
6393
+ }
6394
+ }, [
6395
+ selectionBehaviorProp
6396
+ ]);
6397
+ return {
6398
+ selectionMode: selectionMode,
6399
+ disallowEmptySelection: disallowEmptySelection,
6400
+ selectionBehavior: selectionBehavior,
6401
+ setSelectionBehavior: setSelectionBehavior,
6402
+ get isFocused () {
6403
+ return isFocusedRef.current;
6404
+ },
6405
+ setFocused (f) {
6406
+ isFocusedRef.current = f;
6407
+ setFocused(f);
6408
+ },
6409
+ get focusedKey () {
6410
+ return focusedKeyRef.current;
6411
+ },
6412
+ get childFocusStrategy () {
6413
+ return childFocusStrategyRef.current;
6414
+ },
6415
+ setFocusedKey (k, childFocusStrategy = "first") {
6416
+ focusedKeyRef.current = k;
6417
+ childFocusStrategyRef.current = childFocusStrategy;
6418
+ setFocusedKey(k);
6419
+ },
6420
+ selectedKeys: selectedKeys,
6421
+ setSelectedKeys (keys) {
6422
+ if (allowDuplicateSelectionEvents || !$7af3f5b51489e0b5$var$equalSets(keys, selectedKeys)) setSelectedKeys(keys);
6423
+ },
6424
+ disabledKeys: disabledKeysProp,
6425
+ disabledBehavior: disabledBehavior
6426
+ };
6427
+ }
6428
+ function $7af3f5b51489e0b5$var$convertSelection(selection, defaultValue) {
6429
+ if (!selection) return defaultValue;
6430
+ return selection === "all" ? "all" : new ($e40ea825a81a3709$export$52baac22726c72bf)(selection);
6431
+ }
6113
6432
 
6114
- try {
6115
- var nextValue = latestGetSnapshot();
6116
- return !objectIs(prevValue, nextValue);
6117
- } catch (error) {
6118
- return true;
6119
- }
6120
- }
6121
6433
 
6122
- function useSyncExternalStore$1(subscribe, getSnapshot, getServerSnapshot) {
6123
- // Note: The shim does not use getServerSnapshot, because pre-18 versions of
6124
- // React do not expose a way to check if we're hydrating. So users of the shim
6125
- // will need to track that themselves and return the correct value
6126
- // from `getSnapshot`.
6127
- return getSnapshot();
6128
- }
6129
-
6130
- var canUseDOM = !!(typeof window !== 'undefined' && typeof window.document !== 'undefined' && typeof window.document.createElement !== 'undefined');
6131
-
6132
- var isServerEnvironment = !canUseDOM;
6133
-
6134
- var shim = isServerEnvironment ? useSyncExternalStore$1 : useSyncExternalStore;
6135
- var useSyncExternalStore$2 = React.useSyncExternalStore !== undefined ? React.useSyncExternalStore : shim;
6136
-
6137
- useSyncExternalStoreShim_development.useSyncExternalStore = useSyncExternalStore$2;
6138
- /* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
6139
- if (
6140
- typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== 'undefined' &&
6141
- typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop ===
6142
- 'function'
6143
- ) {
6144
- __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error());
6145
- }
6146
-
6147
- })();
6148
- }
6149
- return useSyncExternalStoreShim_development;
6150
- }
6151
-
6152
- var useSyncExternalStoreShim_production_min = {};
6153
-
6154
- /**
6155
- * @license React
6156
- * use-sync-external-store-shim.production.min.js
6157
- *
6158
- * Copyright (c) Facebook, Inc. and its affiliates.
6159
- *
6160
- * This source code is licensed under the MIT license found in the
6161
- * LICENSE file in the root directory of this source tree.
6162
- */
6163
-
6164
- var hasRequiredUseSyncExternalStoreShim_production_min;
6165
-
6166
- function requireUseSyncExternalStoreShim_production_min () {
6167
- if (hasRequiredUseSyncExternalStoreShim_production_min) return useSyncExternalStoreShim_production_min;
6168
- hasRequiredUseSyncExternalStoreShim_production_min = 1;
6169
- var e=$dGqE5$react;function h(a,b){return a===b&&(0!==a||1/a===1/b)||a!==a&&b!==b}var k="function"===typeof Object.is?Object.is:h,l=e.useState,m=e.useEffect,n=e.useLayoutEffect,p=e.useDebugValue;function q(a,b){var d=b(),f=l({inst:{value:d,getSnapshot:b}}),c=f[0].inst,g=f[1];n(function(){c.value=d;c.getSnapshot=b;r(c)&&g({inst:c});},[a,d,b]);m(function(){r(c)&&g({inst:c});return a(function(){r(c)&&g({inst:c});})},[a]);p(d);return d}
6170
- function r(a){var b=a.getSnapshot;a=a.value;try{var d=b();return !k(a,d)}catch(f){return !0}}function t(a,b){return b()}var u="undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement?t:q;useSyncExternalStoreShim_production_min.useSyncExternalStore=void 0!==e.useSyncExternalStore?e.useSyncExternalStore:u;
6171
- return useSyncExternalStoreShim_production_min;
6172
- }
6173
-
6174
- if (process.env.NODE_ENV === 'production') {
6175
- shim.exports = requireUseSyncExternalStoreShim_production_min();
6176
- } else {
6177
- shim.exports = requireUseSyncExternalStoreShim_development();
6178
- }
6179
-
6180
- var shimExports = shim.exports;
6181
-
6182
- /*
6183
- * Copyright 2020 Adobe. All rights reserved.
6184
- * This file is licensed to you under the Apache License, Version 2.0 (the "License");
6185
- * you may not use this file except in compliance with the License. You may obtain a copy
6186
- * of the License at http://www.apache.org/licenses/LICENSE-2.0
6187
- *
6188
- * Unless required by applicable law or agreed to in writing, software distributed under
6189
- * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
6190
- * OF ANY KIND, either express or implied. See the License for the specific language
6191
- * governing permissions and limitations under the License.
6192
- */ /*
6193
- * Copyright 2020 Adobe. All rights reserved.
6194
- * This file is licensed to you under the Apache License, Version 2.0 (the "License");
6195
- * you may not use this file except in compliance with the License. You may obtain a copy
6196
- * of the License at http://www.apache.org/licenses/LICENSE-2.0
6197
- *
6198
- * Unless required by applicable law or agreed to in writing, software distributed under
6199
- * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
6200
- * OF ANY KIND, either express or implied. See the License for the specific language
6201
- * governing permissions and limitations under the License.
6202
- */
6203
- /*
6204
- * Copyright 2020 Adobe. All rights reserved.
6205
- * This file is licensed to you under the Apache License, Version 2.0 (the "License");
6206
- * you may not use this file except in compliance with the License. You may obtain a copy
6207
- * of the License at http://www.apache.org/licenses/LICENSE-2.0
6208
- *
6209
- * Unless required by applicable law or agreed to in writing, software distributed under
6210
- * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
6211
- * OF ANY KIND, either express or implied. See the License for the specific language
6212
- * governing permissions and limitations under the License.
6213
- */ class $e40ea825a81a3709$export$52baac22726c72bf extends Set {
6214
- constructor(keys, anchorKey, currentKey){
6215
- super(keys);
6216
- if (keys instanceof $e40ea825a81a3709$export$52baac22726c72bf) {
6217
- this.anchorKey = anchorKey || keys.anchorKey;
6218
- this.currentKey = currentKey || keys.currentKey;
6219
- } else {
6220
- this.anchorKey = anchorKey;
6221
- this.currentKey = currentKey;
6222
- }
6223
- }
6224
- }
6225
-
6226
-
6227
-
6228
- function $7af3f5b51489e0b5$var$equalSets(setA, setB) {
6229
- if (setA.size !== setB.size) return false;
6230
- for (let item of setA){
6231
- if (!setB.has(item)) return false;
6232
- }
6233
- return true;
6234
- }
6235
- function $7af3f5b51489e0b5$export$253fe78d46329472(props) {
6236
- let { selectionMode: selectionMode = "none", disallowEmptySelection: disallowEmptySelection, allowDuplicateSelectionEvents: allowDuplicateSelectionEvents, selectionBehavior: selectionBehaviorProp = "toggle", disabledBehavior: disabledBehavior = "all" } = props;
6237
- // We want synchronous updates to `isFocused` and `focusedKey` after their setters are called.
6238
- // But we also need to trigger a react re-render. So, we have both a ref (sync) and state (async).
6239
- let isFocusedRef = (useRef)(false);
6240
- let [, setFocused] = (useState)(false);
6241
- let focusedKeyRef = (useRef)(null);
6242
- let childFocusStrategyRef = (useRef)(null);
6243
- let [, setFocusedKey] = (useState)(null);
6244
- let selectedKeysProp = (useMemo)(()=>$7af3f5b51489e0b5$var$convertSelection(props.selectedKeys), [
6245
- props.selectedKeys
6246
- ]);
6247
- let defaultSelectedKeys = (useMemo)(()=>$7af3f5b51489e0b5$var$convertSelection(props.defaultSelectedKeys, new ($e40ea825a81a3709$export$52baac22726c72bf)()), [
6248
- props.defaultSelectedKeys
6249
- ]);
6250
- let [selectedKeys, setSelectedKeys] = ($458b0a5536c1a7cf$export$40bfa8c7b0832715)(selectedKeysProp, defaultSelectedKeys, props.onSelectionChange);
6251
- let disabledKeysProp = (useMemo)(()=>props.disabledKeys ? new Set(props.disabledKeys) : new Set(), [
6252
- props.disabledKeys
6253
- ]);
6254
- let [selectionBehavior, setSelectionBehavior] = (useState)(selectionBehaviorProp);
6255
- // If the selectionBehavior prop is set to replace, but the current state is toggle (e.g. due to long press
6256
- // to enter selection mode on touch), and the selection becomes empty, reset the selection behavior.
6257
- if (selectionBehaviorProp === "replace" && selectionBehavior === "toggle" && typeof selectedKeys === "object" && selectedKeys.size === 0) setSelectionBehavior("replace");
6258
- // If the selectionBehavior prop changes, update the state as well.
6259
- let lastSelectionBehavior = (useRef)(selectionBehaviorProp);
6260
- (useEffect)(()=>{
6261
- if (selectionBehaviorProp !== lastSelectionBehavior.current) {
6262
- setSelectionBehavior(selectionBehaviorProp);
6263
- lastSelectionBehavior.current = selectionBehaviorProp;
6264
- }
6265
- }, [
6266
- selectionBehaviorProp
6267
- ]);
6268
- return {
6269
- selectionMode: selectionMode,
6270
- disallowEmptySelection: disallowEmptySelection,
6271
- selectionBehavior: selectionBehavior,
6272
- setSelectionBehavior: setSelectionBehavior,
6273
- get isFocused () {
6274
- return isFocusedRef.current;
6275
- },
6276
- setFocused (f) {
6277
- isFocusedRef.current = f;
6278
- setFocused(f);
6279
- },
6280
- get focusedKey () {
6281
- return focusedKeyRef.current;
6282
- },
6283
- get childFocusStrategy () {
6284
- return childFocusStrategyRef.current;
6285
- },
6286
- setFocusedKey (k, childFocusStrategy = "first") {
6287
- focusedKeyRef.current = k;
6288
- childFocusStrategyRef.current = childFocusStrategy;
6289
- setFocusedKey(k);
6290
- },
6291
- selectedKeys: selectedKeys,
6292
- setSelectedKeys (keys) {
6293
- if (allowDuplicateSelectionEvents || !$7af3f5b51489e0b5$var$equalSets(keys, selectedKeys)) setSelectedKeys(keys);
6294
- },
6295
- disabledKeys: disabledKeysProp,
6296
- disabledBehavior: disabledBehavior
6297
- };
6298
- }
6299
- function $7af3f5b51489e0b5$var$convertSelection(selection, defaultValue) {
6300
- if (!selection) return defaultValue;
6301
- return selection === "all" ? "all" : new ($e40ea825a81a3709$export$52baac22726c72bf)(selection);
6302
- }
6303
-
6304
-
6305
- /*
6306
- * Copyright 2020 Adobe. All rights reserved.
6307
- * This file is licensed to you under the Apache License, Version 2.0 (the "License");
6308
- * you may not use this file except in compliance with the License. You may obtain a copy
6309
- * of the License at http://www.apache.org/licenses/LICENSE-2.0
6310
- *
6311
- * Unless required by applicable law or agreed to in writing, software distributed under
6312
- * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
6313
- * OF ANY KIND, either express or implied. See the License for the specific language
6314
- * governing permissions and limitations under the License.
6315
- */
6434
+ /*
6435
+ * Copyright 2020 Adobe. All rights reserved.
6436
+ * This file is licensed to you under the Apache License, Version 2.0 (the "License");
6437
+ * you may not use this file except in compliance with the License. You may obtain a copy
6438
+ * of the License at http://www.apache.org/licenses/LICENSE-2.0
6439
+ *
6440
+ * Unless required by applicable law or agreed to in writing, software distributed under
6441
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
6442
+ * OF ANY KIND, either express or implied. See the License for the specific language
6443
+ * governing permissions and limitations under the License.
6444
+ */
6316
6445
 
6317
6446
  class $d496c0a20b6e58ec$export$6c8a5aaad13c9852 {
6318
6447
  /**
@@ -6579,7 +6708,7 @@ class $d496c0a20b6e58ec$export$6c8a5aaad13c9852 {
6579
6708
  return this.state.disabledKeys.has(key) && this.state.disabledBehavior === "all";
6580
6709
  }
6581
6710
  isLink(key) {
6582
- var _this_collection_getItem, _this_collection_getItem_props;
6711
+ var _this_collection_getItem_props, _this_collection_getItem;
6583
6712
  return !!((_this_collection_getItem = this.collection.getItem(key)) === null || _this_collection_getItem === void 0 ? void 0 : (_this_collection_getItem_props = _this_collection_getItem.props) === null || _this_collection_getItem_props === void 0 ? void 0 : _this_collection_getItem_props.href);
6584
6713
  }
6585
6714
  constructor(collection, state, options){
@@ -6591,172 +6720,450 @@ class $d496c0a20b6e58ec$export$6c8a5aaad13c9852 {
6591
6720
  }
6592
6721
  }
6593
6722
 
6594
- /*
6595
- * Copyright 2020 Adobe. All rights reserved.
6596
- * This file is licensed to you under the Apache License, Version 2.0 (the "License");
6597
- * you may not use this file except in compliance with the License. You may obtain a copy
6598
- * of the License at http://www.apache.org/licenses/LICENSE-2.0
6599
- *
6600
- * Unless required by applicable law or agreed to in writing, software distributed under
6601
- * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
6602
- * OF ANY KIND, either express or implied. See the License for the specific language
6603
- * governing permissions and limitations under the License.
6604
- */ /*
6605
- * Copyright 2020 Adobe. All rights reserved.
6606
- * This file is licensed to you under the Apache License, Version 2.0 (the "License");
6607
- * you may not use this file except in compliance with the License. You may obtain a copy
6608
- * of the License at http://www.apache.org/licenses/LICENSE-2.0
6723
+ /*
6724
+ * Copyright 2020 Adobe. All rights reserved.
6725
+ * This file is licensed to you under the Apache License, Version 2.0 (the "License");
6726
+ * you may not use this file except in compliance with the License. You may obtain a copy
6727
+ * of the License at http://www.apache.org/licenses/LICENSE-2.0
6728
+ *
6729
+ * Unless required by applicable law or agreed to in writing, software distributed under
6730
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
6731
+ * OF ANY KIND, either express or implied. See the License for the specific language
6732
+ * governing permissions and limitations under the License.
6733
+ */ /*
6734
+ * Copyright 2020 Adobe. All rights reserved.
6735
+ * This file is licensed to you under the Apache License, Version 2.0 (the "License");
6736
+ * you may not use this file except in compliance with the License. You may obtain a copy
6737
+ * of the License at http://www.apache.org/licenses/LICENSE-2.0
6738
+ *
6739
+ * Unless required by applicable law or agreed to in writing, software distributed under
6740
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
6741
+ * OF ANY KIND, either express or implied. See the License for the specific language
6742
+ * governing permissions and limitations under the License.
6743
+ */ /*
6744
+ * Copyright 2020 Adobe. All rights reserved.
6745
+ * This file is licensed to you under the Apache License, Version 2.0 (the "License");
6746
+ * you may not use this file except in compliance with the License. You may obtain a copy
6747
+ * of the License at http://www.apache.org/licenses/LICENSE-2.0
6748
+ *
6749
+ * Unless required by applicable law or agreed to in writing, software distributed under
6750
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
6751
+ * OF ANY KIND, either express or implied. See the License for the specific language
6752
+ * governing permissions and limitations under the License.
6753
+ */ class $a02d57049d202695$export$d085fb9e920b5ca7 {
6754
+ *[Symbol.iterator]() {
6755
+ yield* this.iterable;
6756
+ }
6757
+ get size() {
6758
+ return this.keyMap.size;
6759
+ }
6760
+ getKeys() {
6761
+ return this.keyMap.keys();
6762
+ }
6763
+ getKeyBefore(key) {
6764
+ let node = this.keyMap.get(key);
6765
+ return node ? node.prevKey : null;
6766
+ }
6767
+ getKeyAfter(key) {
6768
+ let node = this.keyMap.get(key);
6769
+ return node ? node.nextKey : null;
6770
+ }
6771
+ getFirstKey() {
6772
+ return this.firstKey;
6773
+ }
6774
+ getLastKey() {
6775
+ return this.lastKey;
6776
+ }
6777
+ getItem(key) {
6778
+ return this.keyMap.get(key);
6779
+ }
6780
+ at(idx) {
6781
+ const keys = [
6782
+ ...this.getKeys()
6783
+ ];
6784
+ return this.getItem(keys[idx]);
6785
+ }
6786
+ getChildren(key) {
6787
+ let node = this.keyMap.get(key);
6788
+ return (node === null || node === void 0 ? void 0 : node.childNodes) || [];
6789
+ }
6790
+ constructor(nodes){
6791
+ this.keyMap = new Map();
6792
+ this.iterable = nodes;
6793
+ let visit = (node)=>{
6794
+ this.keyMap.set(node.key, node);
6795
+ if (node.childNodes && node.type === "section") for (let child of node.childNodes)visit(child);
6796
+ };
6797
+ for (let node of nodes)visit(node);
6798
+ let last;
6799
+ let index = 0;
6800
+ for (let [key, node] of this.keyMap){
6801
+ if (last) {
6802
+ last.nextKey = key;
6803
+ node.prevKey = last.key;
6804
+ } else {
6805
+ this.firstKey = key;
6806
+ node.prevKey = undefined;
6807
+ }
6808
+ if (node.type === "item") node.index = index++;
6809
+ last = node;
6810
+ // Set nextKey as undefined since this might be the last node
6811
+ // If it isn't the last node, last.nextKey will properly set at start of new loop
6812
+ last.nextKey = undefined;
6813
+ }
6814
+ this.lastKey = last === null || last === void 0 ? void 0 : last.key;
6815
+ }
6816
+ }
6817
+
6818
+
6819
+
6820
+
6821
+
6822
+ function $e72dd72e1c76a225$export$2f645645f7bca764(props) {
6823
+ let { filter: filter } = props;
6824
+ let selectionState = ($7af3f5b51489e0b5$export$253fe78d46329472)(props);
6825
+ let disabledKeys = (useMemo)(()=>props.disabledKeys ? new Set(props.disabledKeys) : new Set(), [
6826
+ props.disabledKeys
6827
+ ]);
6828
+ let factory = (useCallback)((nodes)=>filter ? new ($a02d57049d202695$export$d085fb9e920b5ca7)(filter(nodes)) : new ($a02d57049d202695$export$d085fb9e920b5ca7)(nodes), [
6829
+ filter
6830
+ ]);
6831
+ let context = (useMemo)(()=>({
6832
+ suppressTextValueWarning: props.suppressTextValueWarning
6833
+ }), [
6834
+ props.suppressTextValueWarning
6835
+ ]);
6836
+ let collection = ($7613b1592d41b092$export$6cd28814d92fa9c9)(props, factory, context);
6837
+ let selectionManager = (useMemo)(()=>new ($d496c0a20b6e58ec$export$6c8a5aaad13c9852)(collection, selectionState), [
6838
+ collection,
6839
+ selectionState
6840
+ ]);
6841
+ // Reset focused key if that item is deleted from the collection.
6842
+ const cachedCollection = (useRef)(null);
6843
+ (useEffect)(()=>{
6844
+ if (selectionState.focusedKey != null && !collection.getItem(selectionState.focusedKey)) {
6845
+ const startItem = cachedCollection.current.getItem(selectionState.focusedKey);
6846
+ const cachedItemNodes = [
6847
+ ...cachedCollection.current.getKeys()
6848
+ ].map((key)=>{
6849
+ const itemNode = cachedCollection.current.getItem(key);
6850
+ return itemNode.type === "item" ? itemNode : null;
6851
+ }).filter((node)=>node !== null);
6852
+ const itemNodes = [
6853
+ ...collection.getKeys()
6854
+ ].map((key)=>{
6855
+ const itemNode = collection.getItem(key);
6856
+ return itemNode.type === "item" ? itemNode : null;
6857
+ }).filter((node)=>node !== null);
6858
+ const diff = cachedItemNodes.length - itemNodes.length;
6859
+ let index = Math.min(diff > 1 ? Math.max(startItem.index - diff + 1, 0) : startItem.index, itemNodes.length - 1);
6860
+ let newNode;
6861
+ while(index >= 0){
6862
+ if (!selectionManager.isDisabled(itemNodes[index].key)) {
6863
+ newNode = itemNodes[index];
6864
+ break;
6865
+ }
6866
+ // Find next, not disabled item.
6867
+ if (index < itemNodes.length - 1) index++;
6868
+ else {
6869
+ if (index > startItem.index) index = startItem.index;
6870
+ index--;
6871
+ }
6872
+ }
6873
+ selectionState.setFocusedKey(newNode ? newNode.key : null);
6874
+ }
6875
+ cachedCollection.current = collection;
6876
+ }, [
6877
+ collection,
6878
+ selectionManager,
6879
+ selectionState,
6880
+ selectionState.focusedKey
6881
+ ]);
6882
+ return {
6883
+ collection: collection,
6884
+ disabledKeys: disabledKeys,
6885
+ selectionManager: selectionManager
6886
+ };
6887
+ }
6888
+
6889
+ var shim = {exports: {}};
6890
+
6891
+ var useSyncExternalStoreShim_development = {};
6892
+
6893
+ /**
6894
+ * @license React
6895
+ * use-sync-external-store-shim.development.js
6896
+ *
6897
+ * Copyright (c) Facebook, Inc. and its affiliates.
6898
+ *
6899
+ * This source code is licensed under the MIT license found in the
6900
+ * LICENSE file in the root directory of this source tree.
6901
+ */
6902
+
6903
+ var hasRequiredUseSyncExternalStoreShim_development;
6904
+
6905
+ function requireUseSyncExternalStoreShim_development () {
6906
+ if (hasRequiredUseSyncExternalStoreShim_development) return useSyncExternalStoreShim_development;
6907
+ hasRequiredUseSyncExternalStoreShim_development = 1;
6908
+
6909
+ if (process.env.NODE_ENV !== "production") {
6910
+ (function() {
6911
+
6912
+ /* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
6913
+ if (
6914
+ typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== 'undefined' &&
6915
+ typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart ===
6916
+ 'function'
6917
+ ) {
6918
+ __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());
6919
+ }
6920
+ var React = $dGqE5$react;
6921
+
6922
+ var ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
6923
+
6924
+ function error(format) {
6925
+ {
6926
+ {
6927
+ for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {
6928
+ args[_key2 - 1] = arguments[_key2];
6929
+ }
6930
+
6931
+ printWarning('error', format, args);
6932
+ }
6933
+ }
6934
+ }
6935
+
6936
+ function printWarning(level, format, args) {
6937
+ // When changing this logic, you might want to also
6938
+ // update consoleWithStackDev.www.js as well.
6939
+ {
6940
+ var ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame;
6941
+ var stack = ReactDebugCurrentFrame.getStackAddendum();
6942
+
6943
+ if (stack !== '') {
6944
+ format += '%s';
6945
+ args = args.concat([stack]);
6946
+ } // eslint-disable-next-line react-internal/safe-string-coercion
6947
+
6948
+
6949
+ var argsWithFormat = args.map(function (item) {
6950
+ return String(item);
6951
+ }); // Careful: RN currently depends on this prefix
6952
+
6953
+ argsWithFormat.unshift('Warning: ' + format); // We intentionally don't use spread (or .apply) directly because it
6954
+ // breaks IE9: https://github.com/facebook/react/issues/13610
6955
+ // eslint-disable-next-line react-internal/no-production-logging
6956
+
6957
+ Function.prototype.apply.call(console[level], console, argsWithFormat);
6958
+ }
6959
+ }
6960
+
6961
+ /**
6962
+ * inlined Object.is polyfill to avoid requiring consumers ship their own
6963
+ * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is
6964
+ */
6965
+ function is(x, y) {
6966
+ return x === y && (x !== 0 || 1 / x === 1 / y) || x !== x && y !== y // eslint-disable-line no-self-compare
6967
+ ;
6968
+ }
6969
+
6970
+ var objectIs = typeof Object.is === 'function' ? Object.is : is;
6971
+
6972
+ // dispatch for CommonJS interop named imports.
6973
+
6974
+ var useState = React.useState,
6975
+ useEffect = React.useEffect,
6976
+ useLayoutEffect = React.useLayoutEffect,
6977
+ useDebugValue = React.useDebugValue;
6978
+ var didWarnOld18Alpha = false;
6979
+ var didWarnUncachedGetSnapshot = false; // Disclaimer: This shim breaks many of the rules of React, and only works
6980
+ // because of a very particular set of implementation details and assumptions
6981
+ // -- change any one of them and it will break. The most important assumption
6982
+ // is that updates are always synchronous, because concurrent rendering is
6983
+ // only available in versions of React that also have a built-in
6984
+ // useSyncExternalStore API. And we only use this shim when the built-in API
6985
+ // does not exist.
6986
+ //
6987
+ // Do not assume that the clever hacks used by this hook also work in general.
6988
+ // The point of this shim is to replace the need for hacks by other libraries.
6989
+
6990
+ function useSyncExternalStore(subscribe, getSnapshot, // Note: The shim does not use getServerSnapshot, because pre-18 versions of
6991
+ // React do not expose a way to check if we're hydrating. So users of the shim
6992
+ // will need to track that themselves and return the correct value
6993
+ // from `getSnapshot`.
6994
+ getServerSnapshot) {
6995
+ {
6996
+ if (!didWarnOld18Alpha) {
6997
+ if (React.startTransition !== undefined) {
6998
+ didWarnOld18Alpha = true;
6999
+
7000
+ error('You are using an outdated, pre-release alpha of React 18 that ' + 'does not support useSyncExternalStore. The ' + 'use-sync-external-store shim will not work correctly. Upgrade ' + 'to a newer pre-release.');
7001
+ }
7002
+ }
7003
+ } // Read the current snapshot from the store on every render. Again, this
7004
+ // breaks the rules of React, and only works here because of specific
7005
+ // implementation details, most importantly that updates are
7006
+ // always synchronous.
7007
+
7008
+
7009
+ var value = getSnapshot();
7010
+
7011
+ {
7012
+ if (!didWarnUncachedGetSnapshot) {
7013
+ var cachedValue = getSnapshot();
7014
+
7015
+ if (!objectIs(value, cachedValue)) {
7016
+ error('The result of getSnapshot should be cached to avoid an infinite loop');
7017
+
7018
+ didWarnUncachedGetSnapshot = true;
7019
+ }
7020
+ }
7021
+ } // Because updates are synchronous, we don't queue them. Instead we force a
7022
+ // re-render whenever the subscribed state changes by updating an some
7023
+ // arbitrary useState hook. Then, during render, we call getSnapshot to read
7024
+ // the current value.
7025
+ //
7026
+ // Because we don't actually use the state returned by the useState hook, we
7027
+ // can save a bit of memory by storing other stuff in that slot.
7028
+ //
7029
+ // To implement the early bailout, we need to track some things on a mutable
7030
+ // object. Usually, we would put that in a useRef hook, but we can stash it in
7031
+ // our useState hook instead.
7032
+ //
7033
+ // To force a re-render, we call forceUpdate({inst}). That works because the
7034
+ // new object always fails an equality check.
7035
+
7036
+
7037
+ var _useState = useState({
7038
+ inst: {
7039
+ value: value,
7040
+ getSnapshot: getSnapshot
7041
+ }
7042
+ }),
7043
+ inst = _useState[0].inst,
7044
+ forceUpdate = _useState[1]; // Track the latest getSnapshot function with a ref. This needs to be updated
7045
+ // in the layout phase so we can access it during the tearing check that
7046
+ // happens on subscribe.
7047
+
7048
+
7049
+ useLayoutEffect(function () {
7050
+ inst.value = value;
7051
+ inst.getSnapshot = getSnapshot; // Whenever getSnapshot or subscribe changes, we need to check in the
7052
+ // commit phase if there was an interleaved mutation. In concurrent mode
7053
+ // this can happen all the time, but even in synchronous mode, an earlier
7054
+ // effect may have mutated the store.
7055
+
7056
+ if (checkIfSnapshotChanged(inst)) {
7057
+ // Force a re-render.
7058
+ forceUpdate({
7059
+ inst: inst
7060
+ });
7061
+ }
7062
+ }, [subscribe, value, getSnapshot]);
7063
+ useEffect(function () {
7064
+ // Check for changes right before subscribing. Subsequent changes will be
7065
+ // detected in the subscription handler.
7066
+ if (checkIfSnapshotChanged(inst)) {
7067
+ // Force a re-render.
7068
+ forceUpdate({
7069
+ inst: inst
7070
+ });
7071
+ }
7072
+
7073
+ var handleStoreChange = function () {
7074
+ // TODO: Because there is no cross-renderer API for batching updates, it's
7075
+ // up to the consumer of this library to wrap their subscription event
7076
+ // with unstable_batchedUpdates. Should we try to detect when this isn't
7077
+ // the case and print a warning in development?
7078
+ // The store changed. Check if the snapshot changed since the last time we
7079
+ // read from the store.
7080
+ if (checkIfSnapshotChanged(inst)) {
7081
+ // Force a re-render.
7082
+ forceUpdate({
7083
+ inst: inst
7084
+ });
7085
+ }
7086
+ }; // Subscribe to the store and return a clean-up function.
7087
+
7088
+
7089
+ return subscribe(handleStoreChange);
7090
+ }, [subscribe]);
7091
+ useDebugValue(value);
7092
+ return value;
7093
+ }
7094
+
7095
+ function checkIfSnapshotChanged(inst) {
7096
+ var latestGetSnapshot = inst.getSnapshot;
7097
+ var prevValue = inst.value;
7098
+
7099
+ try {
7100
+ var nextValue = latestGetSnapshot();
7101
+ return !objectIs(prevValue, nextValue);
7102
+ } catch (error) {
7103
+ return true;
7104
+ }
7105
+ }
7106
+
7107
+ function useSyncExternalStore$1(subscribe, getSnapshot, getServerSnapshot) {
7108
+ // Note: The shim does not use getServerSnapshot, because pre-18 versions of
7109
+ // React do not expose a way to check if we're hydrating. So users of the shim
7110
+ // will need to track that themselves and return the correct value
7111
+ // from `getSnapshot`.
7112
+ return getSnapshot();
7113
+ }
7114
+
7115
+ var canUseDOM = !!(typeof window !== 'undefined' && typeof window.document !== 'undefined' && typeof window.document.createElement !== 'undefined');
7116
+
7117
+ var isServerEnvironment = !canUseDOM;
7118
+
7119
+ var shim = isServerEnvironment ? useSyncExternalStore$1 : useSyncExternalStore;
7120
+ var useSyncExternalStore$2 = React.useSyncExternalStore !== undefined ? React.useSyncExternalStore : shim;
7121
+
7122
+ useSyncExternalStoreShim_development.useSyncExternalStore = useSyncExternalStore$2;
7123
+ /* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
7124
+ if (
7125
+ typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== 'undefined' &&
7126
+ typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop ===
7127
+ 'function'
7128
+ ) {
7129
+ __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error());
7130
+ }
7131
+
7132
+ })();
7133
+ }
7134
+ return useSyncExternalStoreShim_development;
7135
+ }
7136
+
7137
+ var useSyncExternalStoreShim_production_min = {};
7138
+
7139
+ /**
7140
+ * @license React
7141
+ * use-sync-external-store-shim.production.min.js
6609
7142
  *
6610
- * Unless required by applicable law or agreed to in writing, software distributed under
6611
- * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
6612
- * OF ANY KIND, either express or implied. See the License for the specific language
6613
- * governing permissions and limitations under the License.
6614
- */
6615
- /*
6616
- * Copyright 2020 Adobe. All rights reserved.
6617
- * This file is licensed to you under the Apache License, Version 2.0 (the "License");
6618
- * you may not use this file except in compliance with the License. You may obtain a copy
6619
- * of the License at http://www.apache.org/licenses/LICENSE-2.0
7143
+ * Copyright (c) Facebook, Inc. and its affiliates.
6620
7144
  *
6621
- * Unless required by applicable law or agreed to in writing, software distributed under
6622
- * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
6623
- * OF ANY KIND, either express or implied. See the License for the specific language
6624
- * governing permissions and limitations under the License.
6625
- */ class $a02d57049d202695$export$d085fb9e920b5ca7 {
6626
- *[Symbol.iterator]() {
6627
- yield* this.iterable;
6628
- }
6629
- get size() {
6630
- return this.keyMap.size;
6631
- }
6632
- getKeys() {
6633
- return this.keyMap.keys();
6634
- }
6635
- getKeyBefore(key) {
6636
- let node = this.keyMap.get(key);
6637
- return node ? node.prevKey : null;
6638
- }
6639
- getKeyAfter(key) {
6640
- let node = this.keyMap.get(key);
6641
- return node ? node.nextKey : null;
6642
- }
6643
- getFirstKey() {
6644
- return this.firstKey;
6645
- }
6646
- getLastKey() {
6647
- return this.lastKey;
6648
- }
6649
- getItem(key) {
6650
- return this.keyMap.get(key);
6651
- }
6652
- at(idx) {
6653
- const keys = [
6654
- ...this.getKeys()
6655
- ];
6656
- return this.getItem(keys[idx]);
6657
- }
6658
- getChildren(key) {
6659
- let node = this.keyMap.get(key);
6660
- return (node === null || node === void 0 ? void 0 : node.childNodes) || [];
6661
- }
6662
- constructor(nodes){
6663
- this.keyMap = new Map();
6664
- this.iterable = nodes;
6665
- let visit = (node)=>{
6666
- this.keyMap.set(node.key, node);
6667
- if (node.childNodes && node.type === "section") for (let child of node.childNodes)visit(child);
6668
- };
6669
- for (let node of nodes)visit(node);
6670
- let last;
6671
- let index = 0;
6672
- for (let [key, node] of this.keyMap){
6673
- if (last) {
6674
- last.nextKey = key;
6675
- node.prevKey = last.key;
6676
- } else {
6677
- this.firstKey = key;
6678
- node.prevKey = undefined;
6679
- }
6680
- if (node.type === "item") node.index = index++;
6681
- last = node;
6682
- // Set nextKey as undefined since this might be the last node
6683
- // If it isn't the last node, last.nextKey will properly set at start of new loop
6684
- last.nextKey = undefined;
6685
- }
6686
- this.lastKey = last === null || last === void 0 ? void 0 : last.key;
6687
- }
6688
- }
6689
-
7145
+ * This source code is licensed under the MIT license found in the
7146
+ * LICENSE file in the root directory of this source tree.
7147
+ */
6690
7148
 
7149
+ var hasRequiredUseSyncExternalStoreShim_production_min;
6691
7150
 
7151
+ function requireUseSyncExternalStoreShim_production_min () {
7152
+ if (hasRequiredUseSyncExternalStoreShim_production_min) return useSyncExternalStoreShim_production_min;
7153
+ hasRequiredUseSyncExternalStoreShim_production_min = 1;
7154
+ var e=$dGqE5$react;function h(a,b){return a===b&&(0!==a||1/a===1/b)||a!==a&&b!==b}var k="function"===typeof Object.is?Object.is:h,l=e.useState,m=e.useEffect,n=e.useLayoutEffect,p=e.useDebugValue;function q(a,b){var d=b(),f=l({inst:{value:d,getSnapshot:b}}),c=f[0].inst,g=f[1];n(function(){c.value=d;c.getSnapshot=b;r(c)&&g({inst:c});},[a,d,b]);m(function(){r(c)&&g({inst:c});return a(function(){r(c)&&g({inst:c});})},[a]);p(d);return d}
7155
+ function r(a){var b=a.getSnapshot;a=a.value;try{var d=b();return !k(a,d)}catch(f){return !0}}function t(a,b){return b()}var u="undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement?t:q;useSyncExternalStoreShim_production_min.useSyncExternalStore=void 0!==e.useSyncExternalStore?e.useSyncExternalStore:u;
7156
+ return useSyncExternalStoreShim_production_min;
7157
+ }
6692
7158
 
6693
- function $e72dd72e1c76a225$export$2f645645f7bca764(props) {
6694
- let { filter: filter } = props;
6695
- let selectionState = ($7af3f5b51489e0b5$export$253fe78d46329472)(props);
6696
- let disabledKeys = (useMemo)(()=>props.disabledKeys ? new Set(props.disabledKeys) : new Set(), [
6697
- props.disabledKeys
6698
- ]);
6699
- let factory = (useCallback)((nodes)=>filter ? new ($a02d57049d202695$export$d085fb9e920b5ca7)(filter(nodes)) : new ($a02d57049d202695$export$d085fb9e920b5ca7)(nodes), [
6700
- filter
6701
- ]);
6702
- let context = (useMemo)(()=>({
6703
- suppressTextValueWarning: props.suppressTextValueWarning
6704
- }), [
6705
- props.suppressTextValueWarning
6706
- ]);
6707
- let collection = ($7613b1592d41b092$export$6cd28814d92fa9c9)(props, factory, context);
6708
- let selectionManager = (useMemo)(()=>new ($d496c0a20b6e58ec$export$6c8a5aaad13c9852)(collection, selectionState), [
6709
- collection,
6710
- selectionState
6711
- ]);
6712
- // Reset focused key if that item is deleted from the collection.
6713
- const cachedCollection = (useRef)(null);
6714
- (useEffect)(()=>{
6715
- if (selectionState.focusedKey != null && !collection.getItem(selectionState.focusedKey)) {
6716
- const startItem = cachedCollection.current.getItem(selectionState.focusedKey);
6717
- const cachedItemNodes = [
6718
- ...cachedCollection.current.getKeys()
6719
- ].map((key)=>{
6720
- const itemNode = cachedCollection.current.getItem(key);
6721
- return itemNode.type === "item" ? itemNode : null;
6722
- }).filter((node)=>node !== null);
6723
- const itemNodes = [
6724
- ...collection.getKeys()
6725
- ].map((key)=>{
6726
- const itemNode = collection.getItem(key);
6727
- return itemNode.type === "item" ? itemNode : null;
6728
- }).filter((node)=>node !== null);
6729
- const diff = cachedItemNodes.length - itemNodes.length;
6730
- let index = Math.min(diff > 1 ? Math.max(startItem.index - diff + 1, 0) : startItem.index, itemNodes.length - 1);
6731
- let newNode;
6732
- while(index >= 0){
6733
- if (!selectionManager.isDisabled(itemNodes[index].key)) {
6734
- newNode = itemNodes[index];
6735
- break;
6736
- }
6737
- // Find next, not disabled item.
6738
- if (index < itemNodes.length - 1) index++;
6739
- else {
6740
- if (index > startItem.index) index = startItem.index;
6741
- index--;
6742
- }
6743
- }
6744
- selectionState.setFocusedKey(newNode ? newNode.key : null);
6745
- }
6746
- cachedCollection.current = collection;
6747
- }, [
6748
- collection,
6749
- selectionManager,
6750
- selectionState,
6751
- selectionState.focusedKey
6752
- ]);
6753
- return {
6754
- collection: collection,
6755
- disabledKeys: disabledKeys,
6756
- selectionManager: selectionManager
6757
- };
7159
+ if (process.env.NODE_ENV === 'production') {
7160
+ shim.exports = requireUseSyncExternalStoreShim_production_min();
7161
+ } else {
7162
+ shim.exports = requireUseSyncExternalStoreShim_development();
6758
7163
  }
6759
7164
 
7165
+ var shimExports = shim.exports;
7166
+
6760
7167
  /*
6761
7168
  * Copyright 2022 Adobe. All rights reserved.
6762
7169
  * This file is licensed to you under the Apache License, Version 2.0 (the "License");
@@ -7428,10 +7835,11 @@ function $64fa3d84918910a7$export$fabf2dc03a41866e(context, slot) {
7428
7835
  if (slot === null) // An explicit `null` slot means don't use context.
7429
7836
  return null;
7430
7837
  if (ctx && typeof ctx === "object" && "slots" in ctx && ctx.slots) {
7431
- if (!slot && !ctx.slots[$64fa3d84918910a7$export$8e0ef2c5844bfb6b]) throw new Error("A slot prop is required");
7838
+ let availableSlots = new Intl.ListFormat().format(Object.keys(ctx.slots).map((p)=>`"${p}"`));
7839
+ if (!slot && !ctx.slots[$64fa3d84918910a7$export$8e0ef2c5844bfb6b]) throw new Error(`A slot prop is required. Valid slot names are ${availableSlots}.`);
7432
7840
  let slotKey = slot || $64fa3d84918910a7$export$8e0ef2c5844bfb6b;
7433
7841
  if (!ctx.slots[slotKey]) // @ts-ignore
7434
- throw new Error(`Invalid slot "${slot}". Valid slot names are ` + new Intl.ListFormat().format(Object.keys(ctx.slots).map((p)=>`"${p}"`)) + ".");
7842
+ throw new Error(`Invalid slot "${slot}". Valid slot names are ${availableSlots}.`);
7435
7843
  return ctx.slots[slotKey];
7436
7844
  }
7437
7845
  // @ts-ignore
@@ -7446,6 +7854,12 @@ function $64fa3d84918910a7$export$29f1550f4b0d4415(props, ref, context) {
7446
7854
  contextRef
7447
7855
  ]));
7448
7856
  let mergedProps = ($3ef42575df84b30b$export$9d1611c77c2fe928)(contextProps, props);
7857
+ // mergeProps does not merge `style`. Adding this there might be a breaking change.
7858
+ if ("style" in contextProps && contextProps.style && typeof contextProps.style === "object" && "style" in props && props.style && typeof props.style === "object") // @ts-ignore
7859
+ mergedProps.style = {
7860
+ ...contextProps.style,
7861
+ ...props.style
7862
+ };
7449
7863
  // A parent component might need the props from a child, so call slot callback if needed.
7450
7864
  (useEffect)(()=>{
7451
7865
  if (callback) callback(props);
@@ -7616,6 +8030,22 @@ const $514c0188e459b4c0$export$5f1af8db9871e1d6 = /*#__PURE__*/ (forwardRef)($51
7616
8030
  */
7617
8031
 
7618
8032
 
8033
+ /*
8034
+ * Copyright 2023 Adobe. All rights reserved.
8035
+ * This file is licensed to you under the Apache License, Version 2.0 (the "License");
8036
+ * you may not use this file except in compliance with the License. You may obtain a copy
8037
+ * of the License at http://www.apache.org/licenses/LICENSE-2.0
8038
+ *
8039
+ * Unless required by applicable law or agreed to in writing, software distributed under
8040
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
8041
+ * OF ANY KIND, either express or implied. See the License for the specific language
8042
+ * governing permissions and limitations under the License.
8043
+ */
8044
+
8045
+
8046
+ const $ee014567cb39d3f0$export$ff05c3ac10437e03 = /*#__PURE__*/ (createContext)(null);
8047
+
8048
+
7619
8049
 
7620
8050
  /*
7621
8051
  * Copyright 2022 Adobe. All rights reserved.
@@ -7659,6 +8089,7 @@ const $01b77f81d0f07f68$export$b04be29aa201d4f5 = /*#__PURE__*/ ($64fa3d84918910
7659
8089
 
7660
8090
 
7661
8091
 
8092
+
7662
8093
  /*
7663
8094
  * Copyright 2022 Adobe. All rights reserved.
7664
8095
  * This file is licensed to you under the Apache License, Version 2.0 (the "License");
@@ -7674,40 +8105,40 @@ const $01b77f81d0f07f68$export$b04be29aa201d4f5 = /*#__PURE__*/ ($64fa3d84918910
7674
8105
 
7675
8106
  const $3985021b0ad6602f$export$37fb8590cf2c088c = /*#__PURE__*/ (createContext)({});
7676
8107
  const $eed445e0843c11d0$export$7c5906fe4f1f2af2 = /*#__PURE__*/ (createContext)(null);
7677
- JSON.parse('{"dropzoneLabel":"DropZone","selectPlaceholder":"حدد عنصرًا","tableResizer":"أداة تغيير الحجم"}');
7678
- JSON.parse('{"dropzoneLabel":"DropZone","selectPlaceholder":"Изберете предмет","tableResizer":"Преоразмерител"}');
7679
- JSON.parse('{"dropzoneLabel":"M\xedsto pro přetažen\xed","selectPlaceholder":"Vyberte položku","tableResizer":"Změna velikosti"}');
8108
+ JSON.parse('{"dropzoneLabel":"DropZone","selectPlaceholder":"\u062D\u062F\u062F \u0639\u0646\u0635\u0631\u064B\u0627","tableResizer":"\u0623\u062F\u0627\u0629 \u062A\u063A\u064A\u064A\u0631 \u0627\u0644\u062D\u062C\u0645"}');
8109
+ JSON.parse('{"dropzoneLabel":"DropZone","selectPlaceholder":"\u0418\u0437\u0431\u0435\u0440\u0435\u0442\u0435 \u043F\u0440\u0435\u0434\u043C\u0435\u0442","tableResizer":"\u041F\u0440\u0435\u043E\u0440\u0430\u0437\u043C\u0435\u0440\u0438\u0442\u0435\u043B"}');
8110
+ JSON.parse('{"dropzoneLabel":"M\xedsto pro p\u0159eta\u017Een\xed","selectPlaceholder":"Vyberte polo\u017Eku","tableResizer":"Zm\u011Bna velikosti"}');
7680
8111
  JSON.parse('{"dropzoneLabel":"DropZone","selectPlaceholder":"V\xe6lg et element","tableResizer":"St\xf8rrelses\xe6ndring"}');
7681
8112
  JSON.parse('{"dropzoneLabel":"Ablegebereich","selectPlaceholder":"Element w\xe4hlen","tableResizer":"Gr\xf6\xdfenanpassung"}');
7682
- JSON.parse('{"dropzoneLabel":"DropZone","selectPlaceholder":"Επιλέξτε ένα αντικείμενο","tableResizer":"Αλλαγή μεγέθους"}');
8113
+ JSON.parse('{"dropzoneLabel":"DropZone","selectPlaceholder":"\u0395\u03C0\u03B9\u03BB\u03AD\u03BE\u03C4\u03B5 \u03AD\u03BD\u03B1 \u03B1\u03BD\u03C4\u03B9\u03BA\u03B5\u03AF\u03BC\u03B5\u03BD\u03BF","tableResizer":"\u0391\u03BB\u03BB\u03B1\u03B3\u03AE \u03BC\u03B5\u03B3\u03AD\u03B8\u03BF\u03C5\u03C2"}');
7683
8114
  JSON.parse('{"selectPlaceholder":"Select an item","tableResizer":"Resizer","dropzoneLabel":"DropZone"}');
7684
8115
  JSON.parse('{"dropzoneLabel":"DropZone","selectPlaceholder":"Seleccionar un art\xedculo","tableResizer":"Cambiador de tama\xf1o"}');
7685
8116
  JSON.parse('{"dropzoneLabel":"DropZone","selectPlaceholder":"Valige \xfcksus","tableResizer":"Suuruse muutja"}');
7686
8117
  JSON.parse('{"dropzoneLabel":"DropZone","selectPlaceholder":"Valitse kohde","tableResizer":"Koon muuttaja"}');
7687
8118
  JSON.parse('{"dropzoneLabel":"DropZone","selectPlaceholder":"S\xe9lectionner un \xe9l\xe9ment","tableResizer":"Redimensionneur"}');
7688
- JSON.parse('{"dropzoneLabel":"DropZone","selectPlaceholder":"בחר פריט","tableResizer":"שינוי גודל"}');
7689
- JSON.parse('{"dropzoneLabel":"Zona spuštanja","selectPlaceholder":"Odaberite stavku","tableResizer":"Promjena veličine"}');
7690
- JSON.parse('{"dropzoneLabel":"DropZone","selectPlaceholder":"V\xe1lasszon ki egy elemet","tableResizer":"\xc1tm\xe9retező"}');
8119
+ JSON.parse('{"dropzoneLabel":"DropZone","selectPlaceholder":"\u05D1\u05D7\u05E8 \u05E4\u05E8\u05D9\u05D8","tableResizer":"\u05E9\u05D9\u05E0\u05D5\u05D9 \u05D2\u05D5\u05D3\u05DC"}');
8120
+ JSON.parse('{"dropzoneLabel":"Zona spu\u0161tanja","selectPlaceholder":"Odaberite stavku","tableResizer":"Promjena veli\u010Dine"}');
8121
+ JSON.parse('{"dropzoneLabel":"DropZone","selectPlaceholder":"V\xe1lasszon ki egy elemet","tableResizer":"\xc1tm\xe9retez\u0151"}');
7691
8122
  JSON.parse('{"dropzoneLabel":"Zona di rilascio","selectPlaceholder":"Seleziona un elemento","tableResizer":"Ridimensionamento"}');
7692
- JSON.parse('{"dropzoneLabel":"ドロップゾーン","selectPlaceholder":"項目を選択","tableResizer":"サイズ変更ツール"}');
7693
- JSON.parse('{"dropzoneLabel":"드롭 영역","selectPlaceholder":"항목 선택","tableResizer":"크기 조정기"}');
7694
- JSON.parse('{"dropzoneLabel":"„DropZone“","selectPlaceholder":"Pasirinkite elementą","tableResizer":"Dydžio keitiklis"}');
7695
- JSON.parse('{"dropzoneLabel":"DropZone","selectPlaceholder":"Izvēlēties vienumu","tableResizer":"Izmēra mainītājs"}');
8123
+ JSON.parse('{"dropzoneLabel":"\u30C9\u30ED\u30C3\u30D7\u30BE\u30FC\u30F3","selectPlaceholder":"\u9805\u76EE\u3092\u9078\u629E","tableResizer":"\u30B5\u30A4\u30BA\u5909\u66F4\u30C4\u30FC\u30EB"}');
8124
+ JSON.parse('{"dropzoneLabel":"\uB4DC\uB86D \uC601\uC5ED","selectPlaceholder":"\uD56D\uBAA9 \uC120\uD0DD","tableResizer":"\uD06C\uAE30 \uC870\uC815\uAE30"}');
8125
+ JSON.parse('{"dropzoneLabel":"\u201EDropZone\u201C","selectPlaceholder":"Pasirinkite element\u0105","tableResizer":"Dyd\u017Eio keitiklis"}');
8126
+ JSON.parse('{"dropzoneLabel":"DropZone","selectPlaceholder":"Izv\u0113l\u0113ties vienumu","tableResizer":"Izm\u0113ra main\u012Bt\u0101js"}');
7696
8127
  JSON.parse('{"dropzoneLabel":"Droppsone","selectPlaceholder":"Velg et element","tableResizer":"St\xf8rrelsesendrer"}');
7697
8128
  JSON.parse('{"dropzoneLabel":"DropZone","selectPlaceholder":"Selecteer een item","tableResizer":"Resizer"}');
7698
8129
  JSON.parse('{"dropzoneLabel":"Strefa upuszczania","selectPlaceholder":"Wybierz element","tableResizer":"Zmiana rozmiaru"}');
7699
8130
  JSON.parse('{"dropzoneLabel":"DropZone","selectPlaceholder":"Selecione um item","tableResizer":"Redimensionador"}');
7700
8131
  JSON.parse('{"dropzoneLabel":"DropZone","selectPlaceholder":"Selecione um item","tableResizer":"Redimensionador"}');
7701
- JSON.parse('{"dropzoneLabel":"Zonă de plasare","selectPlaceholder":"Selectați un element","tableResizer":"Instrument de redimensionare"}');
7702
- JSON.parse('{"dropzoneLabel":"DropZone","selectPlaceholder":"Выберите элемент","tableResizer":"Средство изменения размера"}');
7703
- JSON.parse('{"dropzoneLabel":"DropZone","selectPlaceholder":"Vyberte položku","tableResizer":"N\xe1stroj na zmenu veľkosti"}');
8132
+ JSON.parse('{"dropzoneLabel":"Zon\u0103 de plasare","selectPlaceholder":"Selecta\u021Bi un element","tableResizer":"Instrument de redimensionare"}');
8133
+ JSON.parse('{"dropzoneLabel":"DropZone","selectPlaceholder":"\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u044D\u043B\u0435\u043C\u0435\u043D\u0442","tableResizer":"\u0421\u0440\u0435\u0434\u0441\u0442\u0432\u043E \u0438\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u044F \u0440\u0430\u0437\u043C\u0435\u0440\u0430"}');
8134
+ JSON.parse('{"dropzoneLabel":"DropZone","selectPlaceholder":"Vyberte polo\u017Eku","tableResizer":"N\xe1stroj na zmenu ve\u013Ekosti"}');
7704
8135
  JSON.parse('{"dropzoneLabel":"DropZone","selectPlaceholder":"Izberite element","tableResizer":"Spreminjanje velikosti"}');
7705
- JSON.parse('{"dropzoneLabel":"DropZone","selectPlaceholder":"Izaberite stavku","tableResizer":"Promena veličine"}');
8136
+ JSON.parse('{"dropzoneLabel":"DropZone","selectPlaceholder":"Izaberite stavku","tableResizer":"Promena veli\u010Dine"}');
7706
8137
  JSON.parse('{"dropzoneLabel":"DropZone","selectPlaceholder":"V\xe4lj en artikel","tableResizer":"Storleks\xe4ndrare"}');
7707
- JSON.parse('{"dropzoneLabel":"Bırakma B\xf6lgesi","selectPlaceholder":"Bir \xf6ğe se\xe7in","tableResizer":"Yeniden boyutlandırıcı"}');
7708
- JSON.parse('{"dropzoneLabel":"DropZone","selectPlaceholder":"Виберіть елемент","tableResizer":"Засіб змінення розміру"}');
7709
- JSON.parse('{"dropzoneLabel":"放置区域","selectPlaceholder":"选择一个项目","tableResizer":"尺寸调整器"}');
7710
- JSON.parse('{"dropzoneLabel":"放置區","selectPlaceholder":"選取項目","tableResizer":"大小調整器"}');
8138
+ JSON.parse('{"dropzoneLabel":"B\u0131rakma B\xf6lgesi","selectPlaceholder":"Bir \xf6\u011Fe se\xe7in","tableResizer":"Yeniden boyutland\u0131r\u0131c\u0131"}');
8139
+ JSON.parse('{"dropzoneLabel":"DropZone","selectPlaceholder":"\u0412\u0438\u0431\u0435\u0440\u0456\u0442\u044C \u0435\u043B\u0435\u043C\u0435\u043D\u0442","tableResizer":"\u0417\u0430\u0441\u0456\u0431 \u0437\u043C\u0456\u043D\u0435\u043D\u043D\u044F \u0440\u043E\u0437\u043C\u0456\u0440\u0443"}');
8140
+ JSON.parse('{"dropzoneLabel":"\u653E\u7F6E\u533A\u57DF","selectPlaceholder":"\u9009\u62E9\u4E00\u4E2A\u9879\u76EE","tableResizer":"\u5C3A\u5BF8\u8C03\u6574\u5668"}');
8141
+ JSON.parse('{"dropzoneLabel":"\u653E\u7F6E\u5340","selectPlaceholder":"\u9078\u53D6\u9805\u76EE","tableResizer":"\u5927\u5C0F\u8ABF\u6574\u5668"}');
7711
8142
 
7712
8143
 
7713
8144
  /*
@@ -7827,15 +8258,17 @@ function $eaf9e70818b436db$var$TagListInner({ props: props, forwardedRef: forwar
7827
8258
  }
7828
8259
  });
7829
8260
  let { focusProps: focusProps, isFocused: isFocused, isFocusVisible: isFocusVisible } = ($f7dceffc5ad7768b$export$4e328f61c538687f)();
8261
+ let renderValues = {
8262
+ isEmpty: state.collection.size === 0,
8263
+ isFocused: isFocused,
8264
+ isFocusVisible: isFocusVisible,
8265
+ state: state
8266
+ };
7830
8267
  let renderProps = ($64fa3d84918910a7$export$4d86445c2cf5e3)({
7831
8268
  className: props.className,
7832
8269
  style: props.style,
7833
8270
  defaultClassName: "react-aria-TagList",
7834
- values: {
7835
- isEmpty: state.collection.size === 0,
7836
- isFocused: isFocused,
7837
- isFocusVisible: isFocusVisible
7838
- }
8271
+ values: renderValues
7839
8272
  });
7840
8273
  return /*#__PURE__*/ ($dGqE5$react).createElement("div", {
7841
8274
  ...($3ef42575df84b30b$export$9d1611c77c2fe928)(gridProps, focusProps),
@@ -7844,7 +8277,7 @@ function $eaf9e70818b436db$var$TagListInner({ props: props, forwardedRef: forwar
7844
8277
  "data-empty": state.collection.size === 0 || undefined,
7845
8278
  "data-focused": isFocused || undefined,
7846
8279
  "data-focus-visible": isFocusVisible || undefined
7847
- }, state.collection.size === 0 && props.renderEmptyState ? props.renderEmptyState() : children);
8280
+ }, state.collection.size === 0 && props.renderEmptyState ? props.renderEmptyState(renderValues) : children);
7848
8281
  }
7849
8282
  /**
7850
8283
  * A tag list is a container for tags within a TagGroup.
@@ -7898,7 +8331,12 @@ function $eaf9e70818b436db$var$TagItem({ item: item }) {
7898
8331
  "data-pressed": states.isPressed || undefined,
7899
8332
  "data-allows-removing": states.allowsRemoving || undefined,
7900
8333
  "data-selection-mode": state.selectionManager.selectionMode === "none" ? undefined : state.selectionManager.selectionMode
7901
- }, /*#__PURE__*/ ($dGqE5$react).createElement("div", gridCellProps, /*#__PURE__*/ ($dGqE5$react).createElement(($64fa3d84918910a7$export$2881499e37b75b9a), {
8334
+ }, /*#__PURE__*/ ($dGqE5$react).createElement("div", {
8335
+ ...gridCellProps,
8336
+ style: {
8337
+ display: "contents"
8338
+ }
8339
+ }, /*#__PURE__*/ ($dGqE5$react).createElement(($64fa3d84918910a7$export$2881499e37b75b9a), {
7902
8340
  values: [
7903
8341
  [
7904
8342
  ($d2b4bc8c273e7be6$export$24d547caef80ccd1),
@@ -7938,16 +8376,19 @@ const $216918bed6669f72$export$2dc6166a7e65358c = /*#__PURE__*/ (createContext)(
7938
8376
 
7939
8377
 
7940
8378
 
8379
+
7941
8380
  const $bcdf0525bf22703d$export$2129e27b3ef0d483 = /*#__PURE__*/ (createContext)(null);
7942
8381
  function $bcdf0525bf22703d$var$TextField(props, ref) {
7943
8382
  [props, ref] = ($64fa3d84918910a7$export$29f1550f4b0d4415)(props, ref, $bcdf0525bf22703d$export$2129e27b3ef0d483);
7944
8383
  let inputRef = (useRef)(null);
7945
8384
  let [labelRef, label] = ($64fa3d84918910a7$export$9d4c57ee4c6ffdd8)();
7946
8385
  let [inputElementType, setInputElementType] = (useState)("input");
7947
- let { labelProps: labelProps, inputProps: inputProps, descriptionProps: descriptionProps, errorMessageProps: errorMessageProps } = ($2d73ec29415bd339$export$712718f7aec83d5)({
8386
+ var _props_validationBehavior;
8387
+ let { labelProps: labelProps, inputProps: inputProps, descriptionProps: descriptionProps, errorMessageProps: errorMessageProps, ...validation } = ($2d73ec29415bd339$export$712718f7aec83d5)({
7948
8388
  ...($64fa3d84918910a7$export$ef03459518577ad4)(props),
7949
8389
  inputElementType: inputElementType,
7950
- label: label
8390
+ label: label,
8391
+ validationBehavior: (_props_validationBehavior = props.validationBehavior) !== null && _props_validationBehavior !== void 0 ? _props_validationBehavior : "native"
7951
8392
  }, inputRef);
7952
8393
  // Intercept setting the input ref so we can determine what kind of element we have.
7953
8394
  // useTextField uses this to determine what props to include.
@@ -7959,7 +8400,7 @@ function $bcdf0525bf22703d$var$TextField(props, ref) {
7959
8400
  ...props,
7960
8401
  values: {
7961
8402
  isDisabled: props.isDisabled || false,
7962
- isInvalid: props.isInvalid || false
8403
+ isInvalid: validation.isInvalid
7963
8404
  },
7964
8405
  defaultClassName: "react-aria-TextField"
7965
8406
  });
@@ -7969,7 +8410,7 @@ function $bcdf0525bf22703d$var$TextField(props, ref) {
7969
8410
  ref: ref,
7970
8411
  slot: props.slot || undefined,
7971
8412
  "data-disabled": props.isDisabled || undefined,
7972
- "data-invalid": props.isInvalid || undefined
8413
+ "data-invalid": validation.isInvalid || undefined
7973
8414
  }, /*#__PURE__*/ ($dGqE5$react).createElement(($64fa3d84918910a7$export$2881499e37b75b9a), {
7974
8415
  values: [
7975
8416
  [
@@ -8001,6 +8442,10 @@ function $bcdf0525bf22703d$var$TextField(props, ref) {
8001
8442
  errorMessage: errorMessageProps
8002
8443
  }
8003
8444
  }
8445
+ ],
8446
+ [
8447
+ ($ee014567cb39d3f0$export$ff05c3ac10437e03),
8448
+ validation
8004
8449
  ]
8005
8450
  ]
8006
8451
  }, renderProps.children));
@@ -8009,44 +8454,18 @@ function $bcdf0525bf22703d$var$TextField(props, ref) {
8009
8454
  * A text field allows a user to enter a plain text value with a keyboard.
8010
8455
  */ (forwardRef)($bcdf0525bf22703d$var$TextField);
8011
8456
 
8012
- function styleInject(css, ref) {
8013
- if ( ref === void 0 ) ref = {};
8014
- var insertAt = ref.insertAt;
8015
-
8016
- if (!css || typeof document === 'undefined') { return; }
8017
-
8018
- var head = document.head || document.getElementsByTagName('head')[0];
8019
- var style = document.createElement('style');
8020
- style.type = 'text/css';
8021
-
8022
- if (insertAt === 'top') {
8023
- if (head.firstChild) {
8024
- head.insertBefore(style, head.firstChild);
8025
- } else {
8026
- head.appendChild(style);
8027
- }
8028
- } else {
8029
- head.appendChild(style);
8030
- }
8457
+ var css_248z$3 = ".react-aria-Button {\n border: none;\n border-radius: var(--layout-border-radius-medium, 4px);\n cursor: pointer;\n display: inline-flex;\n align-items: center;\n gap: var(--layout-padding-small);\n font: var(--typography-regular-body);\n padding-left: 16px;\n padding-right: 16px;\n}\n.react-aria-Button[data-disabled] {\n cursor: not-allowed;\n}\n.react-aria-Button[data-focused] {\n outline: 2px solid var(--surface-primary-active);\n}\n\n/* Icon button */\n.react-aria-Button.icon {\n align-items: center;\n justify-content: space-around;\n}\n\n/* Sizes */\n.react-aria-Button.small {\n min-height: 32px;\n}\n.react-aria-Button.small.icon {\n padding: unset;\n height: 32px;\n width: 32px;\n}\n.react-aria-Button.medium {\n min-height: 40px;\n}\n.react-aria-Button.medium.icon {\n padding: unset;\n height: 40px;\n width: 40px;\n}\n\n/* Variant - Primary */\n.react-aria-Button.primary {\n background: var(--surface-primary-default);\n color: var(--typography-color-primary-invert);\n}\n.react-aria-Button.primary.danger {\n background-color: var(--surface-danger-default);\n}\n.react-aria-Button.primary[data-disabled] {\n background-color: var(--surface-primary-disabled);\n color: var(--typography-color-disabled);\n}\n.react-aria-Button.primary[data-hovered] {\n background-color: var(--surface-primary-hover);\n}\n.react-aria-Button.primary.danger[data-hovered] {\n background-color: var(--surface-danger-hover);\n}\n\n/* Variant - Secondary */\n.react-aria-Button.secondary {\n background-color: var(--surface-secondary-default);\n border: 1px solid var(--surface-border-dark);\n color: var(--typography-color-primary);\n}\n.react-aria-Button.secondary.danger {\n border-color: var(--surface-support-border-color-danger);\n color: var(--surface-danger-default);\n}\n.react-aria-Button.secondary[data-disabled] {\n background-color: var(--surface-primary-disabled);\n border-color: var(--surface-border-light);\n color: var(--typography-color-disabled);\n}\n.react-aria-Button.secondary[data-hovered] {\n background-color: var(--surface-secondary-hover);\n}\n.react-aria-Button.secondary.danger[data-hovered] {\n background-color: var(--surface-support-surface-color-danger);\n}\n\n/* Variant - Tertiary */\n.react-aria-Button.tertiary {\n background-color: var(--surface-tertiary-default);\n color: var(--typography-color-primary);\n}\n.react-aria-Button.tertiary.danger {\n color: var(--surface-danger-default);\n}\n.react-aria-Button.tertiary[data-disabled] {\n background-color: var(--surface-tertiary-default);\n color: var(--typography-color-disabled);\n}\n.react-aria-Button.tertiary[data-hovered] {\n background-color: var(--surface-tertiary-hover);\n}\n.react-aria-Button.tertiary.danger[data-hovered] {\n background-color: var(--surface-support-surface-color-danger);\n}\n\n/* Variant - Link */\n.react-aria-Button.link {\n background-color: var(--surface-tertiary-default);\n color: var(--typography-color-link);\n text-decoration: underline;\n text-underline-offset: 0.3em;\n}\n.react-aria-Button.link.danger {\n color: var(--surface-danger-default);\n}\n.react-aria-Button.link[data-disabled] {\n color: var(--typography-color-disabled);\n}\n";
8458
+ styleInject(css_248z$3);
8031
8459
 
8032
- if (style.styleSheet) {
8033
- style.styleSheet.cssText = css;
8034
- } else {
8035
- style.appendChild(document.createTextNode(css));
8036
- }
8460
+ function Button({ size = "medium", variant = "primary", danger = false, isIconButton = false, ...props }) {
8461
+ return (jsx($d2b4bc8c273e7be6$export$353f5b6fc5456de1, { className: `react-aria-Button ${size} ${variant} ${danger ? "danger" : ""} ${isIconButton ? "icon" : ""}`, ...props }));
8037
8462
  }
8038
8463
 
8039
- var css_248z$4 = "/**\n * Do not edit directly\n * Generated on Thu, 02 Nov 2023 21:18:42 GMT\n */\n\n:root {\n --surface-opacity-0: 0;\n --surface-opacity-10: 0.1;\n --surface-opacity-20: 0.2;\n --surface-opacity-30: 0.3;\n --surface-opacity-40: 0.4;\n --surface-opacity-50: 0.5;\n --surface-opacity-60: 0.6;\n --surface-opacity-70: 0.7;\n --surface-opacity-80: 0.8;\n --surface-opacity-90: 0.9;\n --surface-opacity-100: 1;\n --surface-primary-default: #013366;\n --surface-primary-hover: #1E5189;\n --surface-primary-disabled: #edebe9;\n --surface-primary-active: #2E5DD7;\n --surface-secondary-default: #ffffff;\n --surface-secondary-hover: #edebe9;\n --surface-secondary-disabled: #edebe9;\n --surface-secondary-active: #2E5DD7;\n --surface-tertiary-default: #ffffff00;\n --surface-tertiary-hover: #eceae8;\n --surface-tertiary-disabled: #edebe9;\n --surface-tertiary-active: #2E5DD7;\n --surface-danger-default: #ce3e39;\n --surface-danger-hover: #a2312d;\n --surface-danger-active: #2E5DD7;\n --surface-background-white: #ffffff;\n --surface-background-light: #faf9f8;\n --surface-border-light: #d8d8d8;\n --surface-border-medium: #898785;\n --surface-border-dark: #353433;\n --surface-overlay-default: #00000073;\n --surface-brand-gold-10: #fff8e9;\n --surface-brand-gold-20: #feebc2;\n --surface-brand-gold-30: #fddf9d;\n --surface-brand-gold-40: #fdd47b;\n --surface-brand-gold-50: #fcc85d;\n --surface-brand-gold-60: #f8ba47; /* BC Gold */\n --surface-brand-gold-70: #ce9737;\n --surface-brand-gold-80: #a5792b;\n --surface-brand-gold-90: #7e5d21;\n --surface-brand-gold-100: #584215;\n --surface-brand-blue-10: #f1f8fe;\n --surface-brand-blue-20: #d8eafd;\n --surface-brand-blue-30: #c1ddfc;\n --surface-brand-blue-40: #a8d0fb;\n --surface-brand-blue-50: #91c4fa;\n --surface-brand-blue-60: #7ab8f9;\n --surface-brand-blue-70: #5595d9;\n --surface-brand-blue-80: #3470b1;\n --surface-brand-blue-90: #1e5189;\n --surface-brand-blue-100: #053662; /* BC Blue */\n --surface-brand-gray-10: #faf9f8;\n --surface-brand-gray-20: #f3f2f1;\n --surface-brand-gray-30: #eceae8;\n --surface-brand-gray-40: #e0dedc;\n --surface-brand-gray-50: #d1cfcd;\n --surface-brand-gray-60: #c6c5c3;\n --surface-brand-gray-70: #9f9d9c;\n --surface-brand-gray-80: #605e5c;\n --surface-brand-gray-90: #3d3c3b;\n --surface-brand-gray-100: #353433;\n --surface-brand-gray-110: #252423;\n --surface-brand-gray-white: #ffffff;\n --surface-icons-primary: #2d2d2d;\n --surface-icons-secondary: #474543;\n --surface-icons-disabled: #9f9d9c;\n --surface-icons-link: #255a90;\n --surface-icons-info: #053662;\n --surface-icons-danger: #ce3e39;\n --surface-icons-success: #42814a;\n --surface-icons-warning: #f8bb47;\n --surface-support-surface-color-info: #f7f9fc;\n --surface-support-surface-color-danger: #f4e1e2;\n --surface-support-surface-color-success: #f6fff8;\n --surface-support-surface-color-warning: #fef1d8;\n --surface-support-border-color-info: #053662;\n --surface-support-border-color-danger: #ce3e39;\n --surface-support-border-color-success: #42814a;\n --surface-support-border-color-warning: #f8bb47;\n --surface-shadow-none: 0 0.30000001192092896px 0.8999999761581421px 0 #0000001a, 0 1.600000023841858px 3.5999999046325684px 0 #00000021;\n --surface-shadow-small: 0 0.6000000238418579px 1.7999999523162842px 0 #0000001a, 0 3.200000047683716px 7.199999809265137px 0 #00000021; /* Primarily used as a hover effect for cards */\n --surface-shadow-medium: 0 1.2000000476837158px 3.5999999046325684px 0 #0000001a, 0 6.400000095367432px 14.399999618530273px 0 #00000021; /* Primarily used for dropdown menus and tooltips */\n --surface-shadow-large: 0 4.800000190734863px 14.399999618530273px 0 #0000002e, 0 25.600000381469727px 57.599998474121094px 0 #00000038; /* Primarily used for dialogs */\n --support-support-surface-color-info: #f7f9fc;\n --support-support-surface-color-danger: #f4e1e2;\n --support-support-surface-color-success: #f6fff8;\n --support-support-surface-color-warning: #fef1d8;\n --support-support-border-color-info: #053662;\n --support-support-border-color-danger: #ce3e39;\n --support-support-border-color-success: #42814a;\n --support-support-border-color-warning: #f8bb47;\n --icons-icons-primary: #2d2d2d;\n --icons-icons-secondary: #474543;\n --icons-icons-disabled: #9f9d9c;\n --icons-icons-link: #255a90;\n --icons-icons-info: #053662;\n --icons-icons-danger: #ce3e39;\n --icons-icons-success: #42814a;\n --icons-icons-warning: #f8bb47;\n --icons-icons-primary-invert: #ffffff;\n --icons-size-xsmall: 14px;\n --icons-size-small: 16px;\n --icons-size-medium: 20px;\n --icons-size-large: 24px;\n --icons-size-xlarge: 32px;\n --layout-border-width-none: 0;\n --layout-border-width-small: 1px;\n --layout-border-width-medium: 2px;\n --layout-border-width-large: 4px;\n --layout-padding-none: 0;\n --layout-padding-xsmall: 4px;\n --layout-padding-small: 8px;\n --layout-padding-medium: 16px;\n --layout-padding-large: 24px;\n --layout-padding-xlarge: 32px;\n --layout-margin-none: 0;\n --layout-margin-hair: 2px;\n --layout-margin-xsmall: 4px;\n --layout-margin-small: 8px;\n --layout-margin-medium: 16px;\n --layout-margin-large: 24px;\n --layout-margin-xlarge: 32px;\n --layout-margin-xxlarge: 40px;\n --layout-margin-xxxlarge: 48px;\n --layout-margin-huge: 56px;\n --layout-border-radius-none: 0;\n --layout-border-radius-small: 2px;\n --layout-border-radius-medium: 4px;\n --layout-border-radius-large: 6px;\n --typography-font-families-bc-sans: 'BC Sans';\n --typography-line-heights-xxdense: 1.313rem;\n --typography-line-heights-xdense: 1.688rem;\n --typography-line-heights-dense: 1.913rem;\n --typography-line-heights-regular: 2.125rem;\n --typography-line-heights-sparse: 2.25rem;\n --typography-line-heights-xsparse: 3rem;\n --typography-line-heights-xxsparse: 3.375rem;\n --typography-line-heights-auto: AUTO;\n --typography-font-weights-regular: 400;\n --typography-font-weights-bold: 700;\n --typography-font-weights-italic: Italic;\n --typography-font-size-label: 0.875rem;\n --typography-font-size-body: 1rem;\n --typography-font-size-large-body: 1.125rem;\n --typography-font-size-h5: 1.25rem;\n --typography-font-size-h4: 1.5rem;\n --typography-font-size-h3: 1.75rem;\n --typography-font-size-h2: 2rem;\n --typography-font-size-h1: 2.25rem;\n --typography-font-size-display: 3rem;\n --typography-letter-spacing-0: 0em;\n --typography-paragraph-spacing-0: 0;\n --typography-regular-label: 400 0.875rem/1.313rem 'BC Sans';\n --typography-regular-body: 400 1rem/1.688rem 'BC Sans';\n --typography-regular-large-body: 400 1.125rem/1.913rem 'BC Sans';\n --typography-regular-h5: 400 1.25rem/2.125rem 'BC Sans';\n --typography-regular-h4: 400 1.5rem/2.25rem 'BC Sans';\n --typography-regular-h3: 400 1.75rem/3rem 'BC Sans';\n --typography-regular-h2: 400 2rem/3.375rem 'BC Sans';\n --typography-regular-h1: 400 2.25rem/3rem 'BC Sans';\n --typography-regular-display: 400 3rem/AUTO 'BC Sans';\n --typography-bold-label: 700 0.875rem/1.313rem 'BC Sans';\n --typography-bold-body: 700 1rem/1.688rem 'BC Sans';\n --typography-bold-large-body: 700 1.125rem/1.913rem 'BC Sans';\n --typography-bold-h5: 700 1.25rem/2.125rem 'BC Sans';\n --typography-bold-h4: 700 1.5rem/2.25rem 'BC Sans';\n --typography-bold-h3: 700 1.75rem/3.375rem 'BC Sans';\n --typography-bold-h2: 700 2rem/3rem 'BC Sans';\n --typography-bold-h1: 700 2.25rem/AUTO 'BC Sans';\n --typography-bold-display: 700 3rem/AUTO 'BC Sans';\n --typography-italic-label: 400 italic 0.875rem/1.313rem 'BC Sans';\n --typography-italic-body: 400 italic 1rem/1.688rem 'BC Sans';\n --typography-italic-large-body: 400 italic 1.125rem/1.913rem 'BC Sans';\n --typography-italic-h5: 400 italic 1.25rem/2.125rem 'BC Sans';\n --typography-italic-h4: 400 italic 1.5rem/2.25rem 'BC Sans';\n --typography-italic-h3: 400 italic 1.75rem/3.375rem 'BC Sans';\n --typography-italic-h2: 400 italic 2rem/3.375rem 'BC Sans';\n --typography-italic-h1: 400 italic 2.25rem/3rem 'BC Sans';\n --typography-italic-display: 400 italic 3rem/AUTO 'BC Sans';\n --typography-text-case-none: none;\n --typography-text-decoration-none: none;\n --typography-paragraph-indent-0: 0px;\n --typography-color-primary: #2D2D2D;\n --typography-color-secondary: #474543;\n --typography-color-disabled: #9F9D9C;\n --typography-color-link: #255A90;\n --typography-color-primary-invert: #FFFFFF;\n --typography-color-secondary-invert: #ECEAE8;\n}\n";
8040
- styleInject(css_248z$4);
8041
-
8042
- var css_248z$3 = "@font-face {\n font-family: \"BC Sans\";\n font-style: normal;\n font-weight: 400;\n src: url(\"../fonts/BCSans-Regular.woff2\") format(\"woff2\"),\n url(\"../fonts/BCSans-Regular.woff\") format(\"woff\");\n}\n\n@font-face {\n font-family: \"BC Sans\";\n font-style: italic;\n font-weight: 400;\n src: url(\"../fonts/BCSans-Italic.woff2\") format(\"woff2\"),\n url(\"../fonts/BCSans-Italic.woff\") format(\"woff\");\n}\n\n@font-face {\n font-family: \"BC Sans\";\n font-style: normal;\n font-weight: 700;\n src: url(\"../fonts/BCSans-Bold.woff2\") format(\"woff2\"),\n url(\"../fonts/BCSans-Bold.woff\") format(\"woff\");\n}\n\n@font-face {\n font-family: \"BC Sans\";\n font-style: italic;\n font-weight: 700;\n src: url(\"../fonts/BCSans-BoldItalic.woff2\") format(\"woff2\"),\n url(\"../fonts/BCSans-BoldItalic.woff\") format(\"woff\");\n}\n\n@font-face {\n font-family: \"BC Sans\";\n font-style: normal;\n font-weight: 300;\n src: url(\"../fonts/BCSans-Light.woff2\") format(\"woff2\"),\n url(\"../fonts/BCSans-Light.woff\") format(\"woff\");\n}\n\n@font-face {\n font-family: \"BC Sans\";\n font-style: italic;\n font-weight: 300;\n src: url(\"../fonts/BCSans-LightItalic.woff2\") format(\"woff2\"),\n url(\"../fonts/BCSans-LightItalic.woff\") format(\"woff\");\n}\n";
8043
- styleInject(css_248z$3);
8044
-
8045
- var css_248z$2 = ".react-aria-Tag {\n color: var(--typography-color-primary, #2d2d2d);\n cursor: pointer;\n border-radius: var(--layout-margin-hair, 2px);\n border: 1px solid;\n box-sizing: content-box;\n font: var(--typography-regular-label, 400 0.875rem/1.313rem \"BC Sans\");\n padding: 2px 8px;\n width: fit-content;\n}\n.react-aria-Tag > div[role=\"gridcell\"] {\n display: flex;\n align-items: center;\n gap: 8px;\n}\n.react-aria-Tag > div[role=\"gridcell\"] > .react-aria-Button {\n background: none;\n border: none;\n color: var(--typography-color-primary, #2d2d2d);\n cursor: pointer;\n display: flex;\n margin: 0;\n padding: 0;\n}\n\n/* Tag colors */\n.react-aria-Tag.bc-blue {\n background-color: var(--surface-color-primary-default, #013366);\n border-color: var(--surface-color-primary-hover, #1e5189);\n color: var(--typography-color-primary-invert, #ffffff);\n}\n.react-aria-Tag.bc-blue > div[role=\"gridcell\"] > .react-aria-Button {\n color: var(--typography-color-primary-invert, #ffffff);\n}\n.react-aria-Tag.bc-gold {\n background-color: var(--surface-color-brand-gold-60, #f8ba47);\n border-color: var(--surface-color-primary-hover, #1e5189);\n}\n.react-aria-Tag.blue {\n background-color: var(--surface-support-surface-color-info, #f7f9fc);\n border-color: var(--surface-support-border-color-info, #053662);\n}\n.react-aria-Tag.dark {\n border-color: var(--surface-primary-hover, #1e5189);\n background: var(--surface-brand-gray-110, #252423);\n color: var(--typography-color-primary-invert, #ffffff);\n}\n.react-aria-Tag.dark > div[role=\"gridcell\"] > .react-aria-Button {\n color: var(--typography-color-primary-invert, #ffffff);\n}\n.react-aria-Tag.gray,\n.react-aria-Tag.grey {\n background-color: var(--surface-brand-gray-20, #f3f2f1);\n border-color: var(--surface-border-dark, #353433);\n}\n.react-aria-Tag.green {\n background-color: var(--surface-support-surface-color-success, #f6fff8);\n border-color: var(--surface-support-border-color-success, #42814a);\n}\n.react-aria-Tag.red {\n background-color: var(--surface-support-surface-color-danger, #f4e1e2);\n border-color: var(--surface-support-border-color-danger, #ce3e39);\n}\n.react-aria-Tag.yellow {\n background-color: var(--surface-support-surface-color-warning, #fef1d8);\n border-color: var(--surface-support-border-color-warning, #f8bb47);\n}\n\n/* Selected */\n.react-aria-Tag[data-selected] {\n border: 2px solid var(--surface-primary-active, #2e5dd7);\n padding: 1px 7px;\n}\n\n/* Focused */\n.react-aria-Tag[data-focused] {\n outline: 4px solid #3b99fc;\n outline-offset: 1px;\n}\n\n/* Disabled */\n.react-aria-Tag[data-disabled] {\n background-color: var(--surface-primary-disabled, #edebe9);\n border-color: var(--surface-border-light, #d8d8d8);\n color: var(--typography-color-disabled, #9f9d9c);\n cursor: not-allowed;\n}\n";
8464
+ var css_248z$2 = ".react-aria-Tag {\n color: var(--typography-color-primary, #2d2d2d);\n cursor: pointer;\n border-radius: var(--layout-margin-hair, 2px);\n border: 1px solid;\n box-sizing: content-box;\n font: var(--typography-regular-label, 400 0.875rem/1.313rem \"BC Sans\");\n padding: 2px 8px;\n width: fit-content;\n}\n.react-aria-Tag__contents {\n display: flex;\n align-items: center;\n gap: 8px;\n}\n.react-aria-Tag__contents .react-aria-Button {\n background: none;\n border: none;\n color: var(--typography-color-primary, #2d2d2d);\n cursor: pointer;\n display: flex;\n margin: 0;\n padding: 0;\n}\n\n/* Tag colors */\n.react-aria-Tag.bc-blue {\n background-color: var(--surface-color-primary-default, #013366);\n border-color: var(--surface-color-primary-hover, #1e5189);\n color: var(--typography-color-primary-invert, #ffffff);\n}\n.react-aria-Tag.bc-blue .react-aria-Tag__contents > .react-aria-Button {\n color: var(--typography-color-primary-invert, #ffffff);\n}\n.react-aria-Tag.bc-gold {\n background-color: var(--surface-color-brand-gold-60, #f8ba47);\n border-color: var(--surface-color-primary-hover, #1e5189);\n}\n.react-aria-Tag.blue {\n background-color: var(--surface-support-surface-color-info, #f7f9fc);\n border-color: var(--surface-support-border-color-info, #053662);\n}\n.react-aria-Tag.dark {\n border-color: var(--surface-primary-hover, #1e5189);\n background: var(--surface-brand-gray-110, #252423);\n color: var(--typography-color-primary-invert, #ffffff);\n}\n.react-aria-Tag.dark .react-aria-Tag__contents > .react-aria-Button {\n color: var(--typography-color-primary-invert, #ffffff);\n}\n.react-aria-Tag.gray,\n.react-aria-Tag.grey {\n background-color: var(--surface-brand-gray-20, #f3f2f1);\n border-color: var(--surface-border-dark, #353433);\n}\n.react-aria-Tag.green {\n background-color: var(--surface-support-surface-color-success, #f6fff8);\n border-color: var(--surface-support-border-color-success, #42814a);\n}\n.react-aria-Tag.red {\n background-color: var(--surface-support-surface-color-danger, #f4e1e2);\n border-color: var(--surface-support-border-color-danger, #ce3e39);\n}\n.react-aria-Tag.yellow {\n background-color: var(--surface-support-surface-color-warning, #fef1d8);\n border-color: var(--surface-support-border-color-warning, #f8bb47);\n}\n\n/* Selected */\n.react-aria-Tag[data-selected] {\n border: 2px solid var(--surface-primary-active, #2e5dd7);\n padding: 1px 7px;\n}\n\n/* Focused */\n.react-aria-Tag[data-focused] {\n outline: 4px solid #3b99fc;\n outline-offset: 1px;\n}\n\n/* Disabled */\n.react-aria-Tag[data-disabled] {\n background-color: var(--surface-primary-disabled, #edebe9);\n border-color: var(--surface-border-light, #d8d8d8);\n color: var(--typography-color-disabled, #9f9d9c);\n cursor: not-allowed;\n}\n";
8046
8465
  styleInject(css_248z$2);
8047
8466
 
8048
8467
  function Tag({ className, color = "blue", icon, id, textValue, }) {
8049
- return (jsx($eaf9e70818b436db$export$3288d34c523a1192, { className: className ? className : `react-aria-Tag ${color}`, id: id, textValue: textValue, children: ({ allowsRemoving, isDisabled }) => (jsxs(Fragment, { children: [icon, textValue, !isDisabled && allowsRemoving && (jsx($d2b4bc8c273e7be6$export$353f5b6fc5456de1, { "aria-label": `Remove ${textValue}`, slot: "remove", children: jsx("svg", { width: "14", height: "15", viewBox: "0 0 14 15", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: jsx("g", { id: "Icons / Close", children: jsx("path", { id: "Vector", d: "M12.6004 3.03239L11.4684 1.90039L7.00039 6.36839L2.53239 1.90039L1.40039 3.03239L5.86839 7.50039L1.40039 11.9684L2.53239 13.1004L7.00039 8.63239L11.4684 13.1004L12.6004 11.9684L8.13239 7.50039L12.6004 3.03239Z", fill: "currentColor" }) }) }) }))] })) }));
8468
+ return (jsx($eaf9e70818b436db$export$3288d34c523a1192, { className: className ? className : `react-aria-Tag ${color}`, id: id, textValue: textValue, children: ({ allowsRemoving, isDisabled }) => (jsxs("div", { className: "react-aria-Tag__contents", children: [icon, textValue, !isDisabled && allowsRemoving && (jsx($d2b4bc8c273e7be6$export$353f5b6fc5456de1, { "aria-label": `Remove ${textValue}`, slot: "remove", children: jsx("svg", { width: "14", height: "15", viewBox: "0 0 14 15", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: jsx("g", { id: "Icons / Close", children: jsx("path", { id: "Vector", d: "M12.6004 3.03239L11.4684 1.90039L7.00039 6.36839L2.53239 1.90039L1.40039 3.03239L5.86839 7.50039L1.40039 11.9684L2.53239 13.1004L7.00039 8.63239L11.4684 13.1004L12.6004 11.9684L8.13239 7.50039L12.6004 3.03239Z", fill: "currentColor" }) }) }) }))] })) }));
8050
8469
  }
8051
8470
 
8052
8471
  var css_248z$1 = ".react-aria-TagGroup {\n color: var(--typography-color-primary, #2d2d2d);\n font: var(--typography-regular-label, 400 0.875rem/1.313rem \"BC Sans\");\n}\n\n.react-aria-Label,\n.react-aria-Text {\n display: block;\n margin: var(--layout-margin-small) var(--layout-margin-none);\n}\n\n.react-aria-Text.error {\n color: var(--surface-danger-default, #ce3e39);\n}\n";
@@ -8066,5 +8485,5 @@ function TagList({ items, orientation = "horizontal", renderEmptyState, ...props
8066
8485
  }) }));
8067
8486
  }
8068
8487
 
8069
- export { Tag, TagGroup, TagList };
8488
+ export { Button, Tag, TagGroup, TagList };
8070
8489
  //# sourceMappingURL=index.js.map