quantum-component-library 1.4.45-qa.4 → 1.4.45-qa.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. package/dist/{babel-vendor-Brd7V25k.js → babel-vendor-BOM86iTb.js} +71 -76
  2. package/dist/babel-vendor-cKvSpnBp.cjs +3 -0
  3. package/dist/components.cjs +3 -3
  4. package/dist/components.js +58 -57
  5. package/dist/{dnd-core-vendor-DFyhudg3.cjs → dnd-core-vendor-BYC7cLQD.cjs} +1 -1
  6. package/dist/{dnd-core-vendor-GeFJIrqw.js → dnd-core-vendor-DvzJ584W.js} +2 -2
  7. package/dist/emotion-vendor-D6PQH2K8.cjs +1 -0
  8. package/dist/emotion-vendor-DNnoMT20.js +546 -0
  9. package/dist/floating-ui-vendor-BcB50aec.js +246 -0
  10. package/dist/floating-ui-vendor-Dsd5TAjM.cjs +1 -0
  11. package/dist/{graphql-vendor-Bp1AYkpN.cjs → graphql-vendor-B5FHuhCx.cjs} +1 -1
  12. package/dist/{graphql-vendor-D5ETG7wB.js → graphql-vendor-D_K-hLF7.js} +1 -1
  13. package/dist/hooks.cjs +1 -1
  14. package/dist/hooks.js +1 -1
  15. package/dist/lodash-vendor-D5A6v3mw.cjs +1 -0
  16. package/dist/lodash-vendor-Dz4vW7Gd.js +1120 -0
  17. package/dist/moment-vendor-1cRqq0AH.cjs +10 -0
  18. package/dist/moment-vendor-DMLRxgRE.js +2589 -0
  19. package/dist/other-react-vendor-CbZyzO2N.cjs +36 -0
  20. package/dist/other-react-vendor-ZnZFHn3v.js +598 -0
  21. package/dist/providers.cjs +1 -1
  22. package/dist/providers.js +6 -6
  23. package/dist/quantum-component-library.css +1 -1
  24. package/dist/{react-dnd-vendor-bl4guadi.js → react-dnd-vendor-CN8oCpGz.js} +30 -29
  25. package/dist/react-dnd-vendor-z_kx2PK8.cjs +2 -0
  26. package/dist/{react-select-vendor-CM41In8Q.js → react-select-vendor-BAxJ-fS5.js} +45 -43
  27. package/dist/react-select-vendor-CufHBxrs.cjs +4 -0
  28. package/dist/services.cjs +1 -1
  29. package/dist/services.js +1 -1
  30. package/dist/stylis-vendor-CdCMw5Aa.js +334 -0
  31. package/dist/stylis-vendor-DzcTLVj9.cjs +1 -0
  32. package/dist/types.cjs +1 -1
  33. package/dist/types.js +1 -1
  34. package/dist/utils.cjs +1 -1
  35. package/dist/utils.js +26 -25
  36. package/dist/vendor-DVLzEdMv.js +3717 -0
  37. package/dist/vendor-DoH3f618.cjs +1 -0
  38. package/package.json +3 -4
  39. package/dist/babel-vendor-pl7onWh-.cjs +0 -3
  40. package/dist/framer-motion-vendor-BpR8WNZk.js +0 -2945
  41. package/dist/framer-motion-vendor-DmZv69_a.cjs +0 -9
  42. package/dist/lodash-vendor-Dkc3o8vE.cjs +0 -1
  43. package/dist/lodash-vendor-KQku4vKh.js +0 -1602
  44. package/dist/react-dnd-vendor-CQ6n_Iry.cjs +0 -2
  45. package/dist/react-select-vendor-qYWfPIoq.cjs +0 -4
  46. package/dist/ui-vendor-CDpwLSe-.cjs +0 -294
  47. package/dist/ui-vendor-CTkR2JkD.js +0 -10756
  48. package/dist/vendor-D0fSwmdY.cjs +0 -90
  49. package/dist/vendor-DxZbxm3m.js +0 -13085
@@ -1 +1 @@
1
- /*! tailwindcss v4.1.12 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-outline-style:solid;--tw-animation-delay:0s;--tw-animation-direction:normal;--tw-animation-duration:initial;--tw-animation-fill-mode:none;--tw-animation-iteration-count:1;--tw-enter-blur:0;--tw-enter-opacity:1;--tw-enter-rotate:0;--tw-enter-scale:1;--tw-enter-translate-x:0;--tw-enter-translate-y:0;--tw-exit-blur:0;--tw-exit-opacity:1;--tw-exit-rotate:0;--tw-exit-scale:1;--tw-exit-translate-x:0;--tw-exit-translate-y:0}}}@layer theme{:root,:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--spacing:.25rem;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.visible{visibility:visible}.relative{position:relative}.sticky{position:sticky}.col-span-2{grid-column:span 2/span 2}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:48rem){.container{max-width:48rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:96rem){.container{max-width:96rem}}.flex{display:flex}.grid{display:grid}.hidden{display:none}.w-full{width:100%}.transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-end{justify-content:flex-end}.gap-2{gap:calc(var(--spacing)*2)}.gap-4{gap:calc(var(--spacing)*4)}.gap-8{gap:calc(var(--spacing)*8)}.border{border-style:var(--tw-border-style);border-width:1px}.capitalize{text-transform:capitalize}.outline{outline-style:var(--tw-outline-style);outline-width:1px}@media (min-width:64rem){.lg\:col-span-1{grid-column:span 1/span 1}}}@property --tw-animation-delay{syntax:"*";inherits:false;initial-value:0s}@property --tw-animation-direction{syntax:"*";inherits:false;initial-value:normal}@property --tw-animation-duration{syntax:"*";inherits:false}@property --tw-animation-fill-mode{syntax:"*";inherits:false;initial-value:none}@property --tw-animation-iteration-count{syntax:"*";inherits:false;initial-value:1}@property --tw-enter-blur{syntax:"*";inherits:false;initial-value:0}@property --tw-enter-opacity{syntax:"*";inherits:false;initial-value:1}@property --tw-enter-rotate{syntax:"*";inherits:false;initial-value:0}@property --tw-enter-scale{syntax:"*";inherits:false;initial-value:1}@property --tw-enter-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-enter-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-exit-blur{syntax:"*";inherits:false;initial-value:0}@property --tw-exit-opacity{syntax:"*";inherits:false;initial-value:1}@property --tw-exit-rotate{syntax:"*";inherits:false;initial-value:0}@property --tw-exit-scale{syntax:"*";inherits:false;initial-value:1}@property --tw-exit-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-exit-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}
1
+ /*! tailwindcss v4.1.13 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-outline-style:solid;--tw-animation-delay:0s;--tw-animation-direction:normal;--tw-animation-duration:initial;--tw-animation-fill-mode:none;--tw-animation-iteration-count:1;--tw-enter-blur:0;--tw-enter-opacity:1;--tw-enter-rotate:0;--tw-enter-scale:1;--tw-enter-translate-x:0;--tw-enter-translate-y:0;--tw-exit-blur:0;--tw-exit-opacity:1;--tw-exit-rotate:0;--tw-exit-scale:1;--tw-exit-translate-x:0;--tw-exit-translate-y:0}}}@layer theme{:root,:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--spacing:.25rem;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.visible{visibility:visible}.relative{position:relative}.sticky{position:sticky}.col-span-2{grid-column:span 2/span 2}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:48rem){.container{max-width:48rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:96rem){.container{max-width:96rem}}.flex{display:flex}.grid{display:grid}.hidden{display:none}.w-full{width:100%}.transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-end{justify-content:flex-end}.gap-2{gap:calc(var(--spacing)*2)}.gap-4{gap:calc(var(--spacing)*4)}.gap-8{gap:calc(var(--spacing)*8)}.border{border-style:var(--tw-border-style);border-width:1px}.capitalize{text-transform:capitalize}.outline{outline-style:var(--tw-outline-style);outline-width:1px}@media (min-width:64rem){.lg\:col-span-1{grid-column:span 1/span 1}}}@property --tw-animation-delay{syntax:"*";inherits:false;initial-value:0s}@property --tw-animation-direction{syntax:"*";inherits:false;initial-value:normal}@property --tw-animation-duration{syntax:"*";inherits:false}@property --tw-animation-fill-mode{syntax:"*";inherits:false;initial-value:none}@property --tw-animation-iteration-count{syntax:"*";inherits:false;initial-value:1}@property --tw-enter-blur{syntax:"*";inherits:false;initial-value:0}@property --tw-enter-opacity{syntax:"*";inherits:false;initial-value:1}@property --tw-enter-rotate{syntax:"*";inherits:false;initial-value:0}@property --tw-enter-scale{syntax:"*";inherits:false;initial-value:1}@property --tw-enter-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-enter-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-exit-blur{syntax:"*";inherits:false;initial-value:0}@property --tw-exit-opacity{syntax:"*";inherits:false;initial-value:1}@property --tw-exit-rotate{syntax:"*";inherits:false;initial-value:0}@property --tw-exit-scale{syntax:"*";inherits:false;initial-value:1}@property --tw-exit-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-exit-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}
@@ -1,7 +1,8 @@
1
- import { j as oe, ak as ae } from "./vendor-DxZbxm3m.js";
2
- import { createContext as ce, memo as ue, useEffect as y, useLayoutEffect as de, useState as le, useCallback as he, useMemo as p, isValidElement as ge, cloneElement as _, useContext as fe } from "react";
3
- import { c as pe } from "./dnd-core-vendor-GeFJIrqw.js";
4
- const X = ce({
1
+ import { j as oe } from "./other-react-vendor-ZnZFHn3v.js";
2
+ import { createContext as ae, memo as ce, useEffect as y, useLayoutEffect as ue, useState as de, useCallback as le, useMemo as p, isValidElement as he, cloneElement as k, useContext as ge } from "react";
3
+ import { c as fe } from "./dnd-core-vendor-DvzJ584W.js";
4
+ import { v as pe } from "./vendor-DVLzEdMv.js";
5
+ const X = ae({
5
6
  dragDropManager: void 0
6
7
  });
7
8
  function T(r, e, ...t) {
@@ -142,7 +143,7 @@ class Se {
142
143
  }
143
144
  }
144
145
  const B = new Te(), Oe = new Se(B.registerPendingError);
145
- function pt(r) {
146
+ function vt(r) {
146
147
  B.enqueueTask(Oe.create(r));
147
148
  }
148
149
  function Ce(r, e) {
@@ -164,7 +165,7 @@ function we(r, e) {
164
165
  }
165
166
  let A = 0;
166
167
  const E = Symbol.for("__REACT_DND_CONTEXT_INSTANCE__");
167
- var vt = /* @__PURE__ */ ue(function(e) {
168
+ var Dt = /* @__PURE__ */ ce(function(e) {
168
169
  var { children: t } = e, i = Ce(e, [
169
170
  "children"
170
171
  ]);
@@ -198,19 +199,19 @@ function Ee(r) {
198
199
  function ye(r, e = V(), t, i) {
199
200
  const n = e;
200
201
  return n[E] || (n[E] = {
201
- dragDropManager: pe(r, e, t, i)
202
+ dragDropManager: fe(r, e, t, i)
202
203
  }), n[E];
203
204
  }
204
205
  function V() {
205
206
  return typeof global < "u" ? global : window;
206
207
  }
207
- const I = typeof window < "u" ? de : y;
208
+ const I = typeof window < "u" ? ue : y;
208
209
  function be(r, e, t) {
209
- const [i, n] = le(
210
+ const [i, n] = de(
210
211
  () => e(r)
211
- ), s = he(() => {
212
+ ), s = le(() => {
212
213
  const a = e(r);
213
- ae(i, a) || (n(a), t && t());
214
+ pe(i, a) || (n(a), t && t());
214
215
  }, [
215
216
  i,
216
217
  r,
@@ -444,20 +445,20 @@ function R(r) {
444
445
  r !== null && typeof r == "object" && Object.prototype.hasOwnProperty.call(r, "current")
445
446
  );
446
447
  }
447
- function ke(r) {
448
+ function _e(r) {
448
449
  if (typeof r.type == "string")
449
450
  return;
450
451
  const e = r.type.displayName || r.type.name || "the component";
451
452
  throw new Error(`Only native element nodes can now be passed to React DnD connectors.You can either wrap ${e} into a <div>, or turn it into a drag source or a drop target itself.`);
452
453
  }
453
- function _e(r) {
454
+ function ke(r) {
454
455
  return (e = null, t = null) => {
455
- if (!ge(e)) {
456
+ if (!he(e)) {
456
457
  const s = e;
457
458
  return r(s, t), s;
458
459
  }
459
460
  const i = e;
460
- return ke(i), Fe(i, t ? (s) => r(s, t) : r);
461
+ return _e(i), Fe(i, t ? (s) => r(s, t) : r);
461
462
  };
462
463
  }
463
464
  function $(r) {
@@ -467,7 +468,7 @@ function $(r) {
467
468
  if (t.endsWith("Ref"))
468
469
  e[t] = r[t];
469
470
  else {
470
- const n = _e(i);
471
+ const n = ke(i);
471
472
  e[t] = () => n;
472
473
  }
473
474
  }), e;
@@ -477,11 +478,11 @@ function q(r, e) {
477
478
  }
478
479
  function Fe(r, e) {
479
480
  const t = r.ref;
480
- return T(typeof t != "string", "Cannot connect React DnD to an element with an existing string ref. Please convert it to use a callback ref instead, or wrap it into a <span> or <div>. Read more: https://reactjs.org/docs/refs-and-the-dom.html#callback-refs"), t ? _(r, {
481
+ return T(typeof t != "string", "Cannot connect React DnD to an element with an existing string ref. Please convert it to use a callback ref instead, or wrap it into a <span> or <div>. Read more: https://reactjs.org/docs/refs-and-the-dom.html#callback-refs"), t ? k(r, {
481
482
  ref: (i) => {
482
483
  q(t, i), q(e, i);
483
484
  }
484
- }) : _(r, {
485
+ }) : k(r, {
485
486
  ref: e
486
487
  });
487
488
  }
@@ -618,7 +619,7 @@ class qe {
618
619
  }
619
620
  }
620
621
  function S() {
621
- const { dragDropManager: r } = fe(X);
622
+ const { dragDropManager: r } = ge(X);
622
623
  return T(r != null, "Expected drag drop context"), r;
623
624
  }
624
625
  function je(r, e) {
@@ -704,7 +705,7 @@ function We(r, e, t) {
704
705
  s
705
706
  ]);
706
707
  }
707
- function Dt(r, e) {
708
+ function mt(r, e) {
708
709
  const t = G(r);
709
710
  T(!t.begin, "useDrag::spec.begin was deprecated in v14. Replace spec.begin() with spec.item(). (see more here - https://react-dnd.github.io/react-dnd/docs/api/use-drag)");
710
711
  const i = Ue(), n = je(t.options, t.previewOptions);
@@ -796,7 +797,7 @@ function Je(r, e, t) {
796
797
  ).join("|")
797
798
  ]);
798
799
  }
799
- function mt(r, e) {
800
+ function Tt(r, e) {
800
801
  const t = G(r), i = Ke(), n = Ve(t.options);
801
802
  return Je(t, i, n), [
802
803
  K(t.collect, i, n),
@@ -1047,7 +1048,7 @@ function ct(r, e, t, i, n) {
1047
1048
  x: t.x - o.x,
1048
1049
  y: t.y - o.y
1049
1050
  }, { offsetWidth: d, offsetHeight: l } = r, { anchorX: h, anchorY: g } = i, { dragPreviewWidth: c, dragPreviewHeight: f } = at(s, e, d, l), v = () => {
1050
- let k = new U([
1051
+ let _ = new U([
1051
1052
  0,
1052
1053
  0.5,
1053
1054
  1
@@ -1059,7 +1060,7 @@ function ct(r, e, t, i, n) {
1059
1060
  // Dock to the bottom
1060
1061
  u.y + f - l
1061
1062
  ]).interpolate(g);
1062
- return re() && s && (k += (window.devicePixelRatio - 1) * f), k;
1063
+ return re() && s && (_ += (window.devicePixelRatio - 1) * f), _;
1063
1064
  }, D = () => new U([
1064
1065
  0,
1065
1066
  0.5,
@@ -1362,14 +1363,14 @@ class lt {
1362
1363
  }, this.options = new ut(t, i), this.actions = e.getActions(), this.monitor = e.getMonitor(), this.registry = e.getRegistry(), this.enterLeaveCounter = new tt(this.isNodeInDocument);
1363
1364
  }
1364
1365
  }
1365
- const Tt = function(e, t, i) {
1366
+ const It = function(e, t, i) {
1366
1367
  return new lt(e, t, i);
1367
1368
  };
1368
1369
  export {
1369
- vt as D,
1370
- Tt as H,
1371
- Dt as a,
1372
- pt as b,
1370
+ Dt as D,
1371
+ It as H,
1372
+ mt as a,
1373
+ vt as b,
1373
1374
  T as i,
1374
- mt as u
1375
+ Tt as u
1375
1376
  };
@@ -0,0 +1,2 @@
1
+ "use strict";const ie=require("./other-react-vendor-CbZyzO2N.cjs"),d=require("react"),se=require("./dnd-core-vendor-BYC7cLQD.cjs"),oe=require("./vendor-DoH3f618.cjs"),U=d.createContext({dragDropManager:void 0});function m(r,e,...t){if(ae()&&e===void 0)throw new Error("invariant requires an error message argument");if(!r){let i;if(e===void 0)i=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{let n=0;i=new Error(e.replace(/%s/g,function(){return t[n++]})),i.name="Invariant Violation"}throw i.framesToPop=1,i}}function ae(){return typeof process<"u"&&process.env.NODE_ENV==="production"}const k=typeof global<"u"?global:self,Y=k.MutationObserver||k.WebKitMutationObserver;function X(r){return function(){const t=setTimeout(n,0),i=setInterval(n,50);function n(){clearTimeout(t),clearInterval(i),r()}}}function ce(r){let e=1;const t=new Y(r),i=document.createTextNode("");return t.observe(i,{characterData:!0}),function(){e=-e,i.data=e}}const ue=typeof Y=="function"?ce:X;class de{enqueueTask(e){const{queue:t,requestFlush:i}=this;t.length||(i(),this.flushing=!0),t[t.length]=e}constructor(){this.queue=[],this.pendingErrors=[],this.flushing=!1,this.index=0,this.capacity=1024,this.flush=()=>{const{queue:e}=this;for(;this.index<e.length;){const t=this.index;if(this.index++,e[t].call(),this.index>this.capacity){for(let i=0,n=e.length-this.index;i<n;i++)e[i]=e[i+this.index];e.length-=this.index,this.index=0}}e.length=0,this.index=0,this.flushing=!1},this.registerPendingError=e=>{this.pendingErrors.push(e),this.requestErrorThrow()},this.requestFlush=ue(this.flush),this.requestErrorThrow=X(()=>{if(this.pendingErrors.length)throw this.pendingErrors.shift()})}}class le{call(){try{this.task&&this.task()}catch(e){this.onError(e)}finally{this.task=null,this.release(this)}}constructor(e,t){this.onError=e,this.release=t,this.task=null}}class he{create(e){const t=this.freeTasks,i=t.length?t.pop():new le(this.onError,n=>t[t.length]=n);return i.task=e,i}constructor(e){this.onError=e,this.freeTasks=[]}}const z=new de,ge=new he(z.registerPendingError);function fe(r){z.enqueueTask(ge.create(r))}function pe(r,e){if(r==null)return{};var t=ve(r,e),i,n;if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(r);for(n=0;n<s.length;n++)i=s[n],!(e.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(r,i)&&(t[i]=r[i])}return t}function ve(r,e){if(r==null)return{};var t={},i=Object.keys(r),n,s;for(s=0;s<i.length;s++)n=i[s],!(e.indexOf(n)>=0)&&(t[n]=r[n]);return t}let _=0;const E=Symbol.for("__REACT_DND_CONTEXT_INSTANCE__");var De=d.memo(function(e){var{children:t}=e,i=pe(e,["children"]);const[n,s]=me(i);return d.useEffect(()=>{if(s){const a=V();return++_,()=>{--_===0&&(a[E]=null)}}},[]),ie.jsxRuntimeExports.jsx(U.Provider,{value:n,children:t})});function me(r){if("manager"in r)return[{dragDropManager:r.manager},!1];const e=Te(r.backend,r.context,r.options,r.debugMode),t=!r.context;return[e,t]}function Te(r,e=V(),t,i){const n=e;return n[E]||(n[E]={dragDropManager:se.createDragDropManager(r,e,t,i)}),n[E]}function V(){return typeof global<"u"?global:window}const I=typeof window<"u"?d.useLayoutEffect:d.useEffect;function Ie(r,e,t){const[i,n]=d.useState(()=>e(r)),s=d.useCallback(()=>{const a=e(r);oe.equal(i,a)||(n(a),t&&t())},[i,r,t]);return I(s),[i,s]}function Se(r,e,t){const[i,n]=Ie(r,e,t);return I(function(){const a=r.getHandlerId();if(a!=null)return r.subscribeToStateChange(n,{handlerIds:[a]})},[r,n]),i}function W(r,e,t){return Se(e,r||(()=>({})),()=>t.reconnect())}function B(r,e){const t=[];return typeof r!="function"&&t.push(r),d.useMemo(()=>typeof r=="function"?r():r,t)}function Ce(r){return d.useMemo(()=>r.hooks.dragSource(),[r])}function Oe(r){return d.useMemo(()=>r.hooks.dragPreview(),[r])}let y=!1,b=!1;class we{receiveHandlerId(e){this.sourceId=e}getHandlerId(){return this.sourceId}canDrag(){m(!y,"You may not call monitor.canDrag() inside your canDrag() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source-monitor");try{return y=!0,this.internalMonitor.canDragSource(this.sourceId)}finally{y=!1}}isDragging(){if(!this.sourceId)return!1;m(!b,"You may not call monitor.isDragging() inside your isDragging() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source-monitor");try{return b=!0,this.internalMonitor.isDraggingSource(this.sourceId)}finally{b=!1}}subscribeToStateChange(e,t){return this.internalMonitor.subscribeToStateChange(e,t)}isDraggingSource(e){return this.internalMonitor.isDraggingSource(e)}isOverTarget(e,t){return this.internalMonitor.isOverTarget(e,t)}getTargetIds(){return this.internalMonitor.getTargetIds()}isSourcePublic(){return this.internalMonitor.isSourcePublic()}getSourceId(){return this.internalMonitor.getSourceId()}subscribeToOffsetChange(e){return this.internalMonitor.subscribeToOffsetChange(e)}canDragSource(e){return this.internalMonitor.canDragSource(e)}canDropOnTarget(e){return this.internalMonitor.canDropOnTarget(e)}getItemType(){return this.internalMonitor.getItemType()}getItem(){return this.internalMonitor.getItem()}getDropResult(){return this.internalMonitor.getDropResult()}didDrop(){return this.internalMonitor.didDrop()}getInitialClientOffset(){return this.internalMonitor.getInitialClientOffset()}getInitialSourceClientOffset(){return this.internalMonitor.getInitialSourceClientOffset()}getSourceClientOffset(){return this.internalMonitor.getSourceClientOffset()}getClientOffset(){return this.internalMonitor.getClientOffset()}getDifferenceFromInitialOffset(){return this.internalMonitor.getDifferenceFromInitialOffset()}constructor(e){this.sourceId=null,this.internalMonitor=e.getMonitor()}}let P=!1;class Ee{receiveHandlerId(e){this.targetId=e}getHandlerId(){return this.targetId}subscribeToStateChange(e,t){return this.internalMonitor.subscribeToStateChange(e,t)}canDrop(){if(!this.targetId)return!1;m(!P,"You may not call monitor.canDrop() inside your canDrop() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drop-target-monitor");try{return P=!0,this.internalMonitor.canDropOnTarget(this.targetId)}finally{P=!1}}isOver(e){return this.targetId?this.internalMonitor.isOverTarget(this.targetId,e):!1}getItemType(){return this.internalMonitor.getItemType()}getItem(){return this.internalMonitor.getItem()}getDropResult(){return this.internalMonitor.getDropResult()}didDrop(){return this.internalMonitor.didDrop()}getInitialClientOffset(){return this.internalMonitor.getInitialClientOffset()}getInitialSourceClientOffset(){return this.internalMonitor.getInitialSourceClientOffset()}getSourceClientOffset(){return this.internalMonitor.getSourceClientOffset()}getClientOffset(){return this.internalMonitor.getClientOffset()}getDifferenceFromInitialOffset(){return this.internalMonitor.getDifferenceFromInitialOffset()}constructor(e){this.targetId=null,this.internalMonitor=e.getMonitor()}}function ye(r,e,t){const i=t.getRegistry(),n=i.addTarget(r,e);return[n,()=>i.removeTarget(n)]}function be(r,e,t){const i=t.getRegistry(),n=i.addSource(r,e);return[n,()=>i.removeSource(n)]}function x(r,e,t,i){let n;if(n!==void 0)return!!n;if(r===e)return!0;if(typeof r!="object"||!r||typeof e!="object"||!e)return!1;const s=Object.keys(r),a=Object.keys(e);if(s.length!==a.length)return!1;const o=Object.prototype.hasOwnProperty.bind(e);for(let u=0;u<s.length;u++){const l=s[u];if(!o(l))return!1;const h=r[l],g=e[l];if(n=void 0,n===!1||n===void 0&&h!==g)return!1}return!0}function L(r){return r!==null&&typeof r=="object"&&Object.prototype.hasOwnProperty.call(r,"current")}function Pe(r){if(typeof r.type=="string")return;const e=r.type.displayName||r.type.name||"the component";throw new Error(`Only native element nodes can now be passed to React DnD connectors.You can either wrap ${e} into a <div>, or turn it into a drag source or a drop target itself.`)}function Ne(r){return(e=null,t=null)=>{if(!d.isValidElement(e)){const s=e;return r(s,t),s}const i=e;return Pe(i),Me(i,t?s=>r(s,t):r)}}function K(r){const e={};return Object.keys(r).forEach(t=>{const i=r[t];if(t.endsWith("Ref"))e[t]=r[t];else{const n=Ne(i);e[t]=()=>n}}),e}function F(r,e){typeof r=="function"?r(e):r.current=e}function Me(r,e){const t=r.ref;return m(typeof t!="string","Cannot connect React DnD to an element with an existing string ref. Please convert it to use a callback ref instead, or wrap it into a <span> or <div>. Read more: https://reactjs.org/docs/refs-and-the-dom.html#callback-refs"),t?d.cloneElement(r,{ref:i=>{F(t,i),F(e,i)}}):d.cloneElement(r,{ref:e})}class xe{receiveHandlerId(e){this.handlerId!==e&&(this.handlerId=e,this.reconnect())}get connectTarget(){return this.dragSource}get dragSourceOptions(){return this.dragSourceOptionsInternal}set dragSourceOptions(e){this.dragSourceOptionsInternal=e}get dragPreviewOptions(){return this.dragPreviewOptionsInternal}set dragPreviewOptions(e){this.dragPreviewOptionsInternal=e}reconnect(){const e=this.reconnectDragSource();this.reconnectDragPreview(e)}reconnectDragSource(){const e=this.dragSource,t=this.didHandlerIdChange()||this.didConnectedDragSourceChange()||this.didDragSourceOptionsChange();return t&&this.disconnectDragSource(),this.handlerId?e?(t&&(this.lastConnectedHandlerId=this.handlerId,this.lastConnectedDragSource=e,this.lastConnectedDragSourceOptions=this.dragSourceOptions,this.dragSourceUnsubscribe=this.backend.connectDragSource(this.handlerId,e,this.dragSourceOptions)),t):(this.lastConnectedDragSource=e,t):t}reconnectDragPreview(e=!1){const t=this.dragPreview,i=e||this.didHandlerIdChange()||this.didConnectedDragPreviewChange()||this.didDragPreviewOptionsChange();if(i&&this.disconnectDragPreview(),!!this.handlerId){if(!t){this.lastConnectedDragPreview=t;return}i&&(this.lastConnectedHandlerId=this.handlerId,this.lastConnectedDragPreview=t,this.lastConnectedDragPreviewOptions=this.dragPreviewOptions,this.dragPreviewUnsubscribe=this.backend.connectDragPreview(this.handlerId,t,this.dragPreviewOptions))}}didHandlerIdChange(){return this.lastConnectedHandlerId!==this.handlerId}didConnectedDragSourceChange(){return this.lastConnectedDragSource!==this.dragSource}didConnectedDragPreviewChange(){return this.lastConnectedDragPreview!==this.dragPreview}didDragSourceOptionsChange(){return!x(this.lastConnectedDragSourceOptions,this.dragSourceOptions)}didDragPreviewOptionsChange(){return!x(this.lastConnectedDragPreviewOptions,this.dragPreviewOptions)}disconnectDragSource(){this.dragSourceUnsubscribe&&(this.dragSourceUnsubscribe(),this.dragSourceUnsubscribe=void 0)}disconnectDragPreview(){this.dragPreviewUnsubscribe&&(this.dragPreviewUnsubscribe(),this.dragPreviewUnsubscribe=void 0,this.dragPreviewNode=null,this.dragPreviewRef=null)}get dragSource(){return this.dragSourceNode||this.dragSourceRef&&this.dragSourceRef.current}get dragPreview(){return this.dragPreviewNode||this.dragPreviewRef&&this.dragPreviewRef.current}clearDragSource(){this.dragSourceNode=null,this.dragSourceRef=null}clearDragPreview(){this.dragPreviewNode=null,this.dragPreviewRef=null}constructor(e){this.hooks=K({dragSource:(t,i)=>{this.clearDragSource(),this.dragSourceOptions=i||null,L(t)?this.dragSourceRef=t:this.dragSourceNode=t,this.reconnectDragSource()},dragPreview:(t,i)=>{this.clearDragPreview(),this.dragPreviewOptions=i||null,L(t)?this.dragPreviewRef=t:this.dragPreviewNode=t,this.reconnectDragPreview()}}),this.handlerId=null,this.dragSourceRef=null,this.dragSourceOptionsInternal=null,this.dragPreviewRef=null,this.dragPreviewOptionsInternal=null,this.lastConnectedHandlerId=null,this.lastConnectedDragSource=null,this.lastConnectedDragSourceOptions=null,this.lastConnectedDragPreview=null,this.lastConnectedDragPreviewOptions=null,this.backend=e}}class Le{get connectTarget(){return this.dropTarget}reconnect(){const e=this.didHandlerIdChange()||this.didDropTargetChange()||this.didOptionsChange();e&&this.disconnectDropTarget();const t=this.dropTarget;if(this.handlerId){if(!t){this.lastConnectedDropTarget=t;return}e&&(this.lastConnectedHandlerId=this.handlerId,this.lastConnectedDropTarget=t,this.lastConnectedDropTargetOptions=this.dropTargetOptions,this.unsubscribeDropTarget=this.backend.connectDropTarget(this.handlerId,t,this.dropTargetOptions))}}receiveHandlerId(e){e!==this.handlerId&&(this.handlerId=e,this.reconnect())}get dropTargetOptions(){return this.dropTargetOptionsInternal}set dropTargetOptions(e){this.dropTargetOptionsInternal=e}didHandlerIdChange(){return this.lastConnectedHandlerId!==this.handlerId}didDropTargetChange(){return this.lastConnectedDropTarget!==this.dropTarget}didOptionsChange(){return!x(this.lastConnectedDropTargetOptions,this.dropTargetOptions)}disconnectDropTarget(){this.unsubscribeDropTarget&&(this.unsubscribeDropTarget(),this.unsubscribeDropTarget=void 0)}get dropTarget(){return this.dropTargetNode||this.dropTargetRef&&this.dropTargetRef.current}clearDropTarget(){this.dropTargetRef=null,this.dropTargetNode=null}constructor(e){this.hooks=K({dropTarget:(t,i)=>{this.clearDropTarget(),this.dropTargetOptions=i,L(t)?this.dropTargetRef=t:this.dropTargetNode=t,this.reconnect()}}),this.handlerId=null,this.dropTargetRef=null,this.dropTargetOptionsInternal=null,this.lastConnectedHandlerId=null,this.lastConnectedDropTarget=null,this.lastConnectedDropTargetOptions=null,this.backend=e}}function S(){const{dragDropManager:r}=d.useContext(U);return m(r!=null,"Expected drag drop context"),r}function Re(r,e){const t=S(),i=d.useMemo(()=>new xe(t.getBackend()),[t]);return I(()=>(i.dragSourceOptions=r||null,i.reconnect(),()=>i.disconnectDragSource()),[i,r]),I(()=>(i.dragPreviewOptions=e||null,i.reconnect(),()=>i.disconnectDragPreview()),[i,e]),i}function He(){const r=S();return d.useMemo(()=>new we(r),[r])}class ke{beginDrag(){const e=this.spec,t=this.monitor;let i=null;return typeof e.item=="object"?i=e.item:typeof e.item=="function"?i=e.item(t):i={},i??null}canDrag(){const e=this.spec,t=this.monitor;return typeof e.canDrag=="boolean"?e.canDrag:typeof e.canDrag=="function"?e.canDrag(t):!0}isDragging(e,t){const i=this.spec,n=this.monitor,{isDragging:s}=i;return s?s(n):t===e.getSourceId()}endDrag(){const e=this.spec,t=this.monitor,i=this.connector,{end:n}=e;n&&n(t.getItem(),t),i.reconnect()}constructor(e,t,i){this.spec=e,this.monitor=t,this.connector=i}}function _e(r,e,t){const i=d.useMemo(()=>new ke(r,e,t),[e,t]);return d.useEffect(()=>{i.spec=r},[r]),i}function Fe(r){return d.useMemo(()=>{const e=r.type;return m(e!=null,"spec.type must be defined"),e},[r])}function qe(r,e,t){const i=S(),n=_e(r,e,t),s=Fe(r);I(function(){if(s!=null){const[o,u]=be(s,n,i);return e.receiveHandlerId(o),t.receiveHandlerId(o),u}},[i,e,t,n,s])}function Ae(r,e){const t=B(r);m(!t.begin,"useDrag::spec.begin was deprecated in v14. Replace spec.begin() with spec.item(). (see more here - https://react-dnd.github.io/react-dnd/docs/api/use-drag)");const i=He(),n=Re(t.options,t.previewOptions);return qe(t,i,n),[W(t.collect,i,n),Ce(n),Oe(n)]}function je(r){return d.useMemo(()=>r.hooks.dropTarget(),[r])}function Ue(r){const e=S(),t=d.useMemo(()=>new Le(e.getBackend()),[e]);return I(()=>(t.dropTargetOptions=r||null,t.reconnect(),()=>t.disconnectDropTarget()),[r]),t}function Ye(){const r=S();return d.useMemo(()=>new Ee(r),[r])}function Xe(r){const{accept:e}=r;return d.useMemo(()=>(m(r.accept!=null,"accept must be defined"),Array.isArray(e)?e:[e]),[e])}class ze{canDrop(){const e=this.spec,t=this.monitor;return e.canDrop?e.canDrop(t.getItem(),t):!0}hover(){const e=this.spec,t=this.monitor;e.hover&&e.hover(t.getItem(),t)}drop(){const e=this.spec,t=this.monitor;if(e.drop)return e.drop(t.getItem(),t)}constructor(e,t){this.spec=e,this.monitor=t}}function Ve(r,e){const t=d.useMemo(()=>new ze(r,e),[e]);return d.useEffect(()=>{t.spec=r},[r]),t}function We(r,e,t){const i=S(),n=Ve(r,e),s=Xe(r);I(function(){const[o,u]=ye(s,n,i);return e.receiveHandlerId(o),t.receiveHandlerId(o),u},[i,e,n,t,s.map(a=>a.toString()).join("|")])}function Be(r,e){const t=B(r),i=Ye(),n=Ue(t.options);return We(t,i,n),[W(t.collect,i,n),je(n)]}function G(r){let e=null;return()=>(e==null&&(e=r()),e)}function Ke(r,e){return r.filter(t=>t!==e)}function Ge(r,e){const t=new Set,i=s=>t.add(s);r.forEach(i),e.forEach(i);const n=[];return t.forEach(s=>n.push(s)),n}class $e{enter(e){const t=this.entered.length,i=n=>this.isNodeInDocument(n)&&(!n.contains||n.contains(e));return this.entered=Ge(this.entered.filter(i),[e]),t===0&&this.entered.length>0}leave(e){const t=this.entered.length;return this.entered=Ke(this.entered.filter(this.isNodeInDocument),e),t>0&&this.entered.length===0}reset(){this.entered=[]}constructor(e){this.entered=[],this.isNodeInDocument=e}}class Qe{initializeExposedProperties(){Object.keys(this.config.exposeProperties).forEach(e=>{Object.defineProperty(this.item,e,{configurable:!0,enumerable:!0,get(){return console.warn(`Browser doesn't allow reading "${e}" until the drop event.`),null}})})}loadDataTransfer(e){if(e){const t={};Object.keys(this.config.exposeProperties).forEach(i=>{const n=this.config.exposeProperties[i];n!=null&&(t[i]={value:n(e,this.config.matchesTypes),configurable:!0,enumerable:!0})}),Object.defineProperties(this.item,t)}}canDrag(){return!0}beginDrag(){return this.item}isDragging(e,t){return t===e.getSourceId()}endDrag(){}constructor(e){this.config=e,this.item={},this.initializeExposedProperties()}}const $="__NATIVE_FILE__",Q="__NATIVE_URL__",J="__NATIVE_TEXT__",Z="__NATIVE_HTML__",q=Object.freeze(Object.defineProperty({__proto__:null,FILE:$,HTML:Z,TEXT:J,URL:Q},Symbol.toStringTag,{value:"Module"}));function N(r,e,t){const i=e.reduce((n,s)=>n||r.getData(s),"");return i??t}const R={[$]:{exposeProperties:{files:r=>Array.prototype.slice.call(r.files),items:r=>r.items,dataTransfer:r=>r},matchesTypes:["Files"]},[Z]:{exposeProperties:{html:(r,e)=>N(r,e,""),dataTransfer:r=>r},matchesTypes:["Html","text/html"]},[Q]:{exposeProperties:{urls:(r,e)=>N(r,e,"").split(`
2
+ `),dataTransfer:r=>r},matchesTypes:["Url","text/uri-list"]},[J]:{exposeProperties:{text:(r,e)=>N(r,e,""),dataTransfer:r=>r},matchesTypes:["Text","text/plain"]}};function Je(r,e){const t=R[r];if(!t)throw new Error(`native type ${r} has no configuration`);const i=new Qe(t);return i.loadDataTransfer(e),i}function M(r){if(!r)return null;const e=Array.prototype.slice.call(r.types||[]);return Object.keys(R).filter(t=>{const i=R[t];return i?.matchesTypes?i.matchesTypes.some(n=>e.indexOf(n)>-1):!1})[0]||null}const Ze=G(()=>/firefox/i.test(navigator.userAgent)),ee=G(()=>!!window.safari);class A{interpolate(e){const{xs:t,ys:i,c1s:n,c2s:s,c3s:a}=this;let o=t.length-1;if(e===t[o])return i[o];let u=0,l=a.length-1,h;for(;u<=l;){h=Math.floor(.5*(u+l));const c=t[h];if(c<e)u=h+1;else if(c>e)l=h-1;else return i[h]}o=Math.max(0,l);const g=e-t[o],f=g*g;return i[o]+n[o]*g+s[o]*f+a[o]*g*f}constructor(e,t){const{length:i}=e,n=[];for(let c=0;c<i;c++)n.push(c);n.sort((c,p)=>e[c]<e[p]?-1:1);const s=[],a=[];let o,u;for(let c=0;c<i-1;c++)o=e[c+1]-e[c],u=t[c+1]-t[c],s.push(o),a.push(u/o);const l=[a[0]];for(let c=0;c<s.length-1;c++){const p=a[c],v=a[c+1];if(p*v<=0)l.push(0);else{o=s[c];const D=s[c+1],T=o+D;l.push(3*T/((T+D)/p+(T+o)/v))}}l.push(a[a.length-1]);const h=[],g=[];let f;for(let c=0;c<l.length-1;c++){f=a[c];const p=l[c],v=1/s[c],D=p+l[c+1]-f-f;h.push((f-p-D)*v),g.push(D*v*v)}this.xs=e,this.ys=t,this.c1s=l,this.c2s=h,this.c3s=g}}const et=1;function te(r){const e=r.nodeType===et?r:r.parentElement;if(!e)return null;const{top:t,left:i}=e.getBoundingClientRect();return{x:i,y:t}}function w(r){return{x:r.clientX,y:r.clientY}}function tt(r){var e;return r.nodeName==="IMG"&&(Ze()||!(!((e=document.documentElement)===null||e===void 0)&&e.contains(r)))}function rt(r,e,t,i){let n=r?e.width:t,s=r?e.height:i;return ee()&&r&&(s/=window.devicePixelRatio,n/=window.devicePixelRatio),{dragPreviewWidth:n,dragPreviewHeight:s}}function nt(r,e,t,i,n){const s=tt(e),o=te(s?r:e),u={x:t.x-o.x,y:t.y-o.y},{offsetWidth:l,offsetHeight:h}=r,{anchorX:g,anchorY:f}=i,{dragPreviewWidth:c,dragPreviewHeight:p}=rt(s,e,l,h),v=()=>{let H=new A([0,.5,1],[u.y,u.y/h*p,u.y+p-h]).interpolate(f);return ee()&&s&&(H+=(window.devicePixelRatio-1)*p),H},D=()=>new A([0,.5,1],[u.x,u.x/l*c,u.x+c-l]).interpolate(g),{offsetX:T,offsetY:C}=n,O=T===0||T,re=C===0||C;return{x:O?T:D(),y:re?C:v()}}class it{get window(){if(this.globalContext)return this.globalContext;if(typeof window<"u")return window}get document(){var e;return!((e=this.globalContext)===null||e===void 0)&&e.document?this.globalContext.document:this.window?this.window.document:void 0}get rootElement(){var e;return((e=this.optionsArgs)===null||e===void 0?void 0:e.rootElement)||this.window}constructor(e,t){this.ownerDocument=null,this.globalContext=e,this.optionsArgs=t}}function st(r,e,t){return e in r?Object.defineProperty(r,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):r[e]=t,r}function j(r){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{},i=Object.keys(t);typeof Object.getOwnPropertySymbols=="function"&&(i=i.concat(Object.getOwnPropertySymbols(t).filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),i.forEach(function(n){st(r,n,t[n])})}return r}class ot{profile(){var e,t;return{sourcePreviewNodes:this.sourcePreviewNodes.size,sourcePreviewNodeOptions:this.sourcePreviewNodeOptions.size,sourceNodeOptions:this.sourceNodeOptions.size,sourceNodes:this.sourceNodes.size,dragStartSourceIds:((e=this.dragStartSourceIds)===null||e===void 0?void 0:e.length)||0,dropTargetIds:this.dropTargetIds.length,dragEnterTargetIds:this.dragEnterTargetIds.length,dragOverTargetIds:((t=this.dragOverTargetIds)===null||t===void 0?void 0:t.length)||0}}get window(){return this.options.window}get document(){return this.options.document}get rootElement(){return this.options.rootElement}setup(){const e=this.rootElement;if(e!==void 0){if(e.__isReactDndBackendSetUp)throw new Error("Cannot have two HTML5 backends at the same time.");e.__isReactDndBackendSetUp=!0,this.addEventListeners(e)}}teardown(){const e=this.rootElement;if(e!==void 0&&(e.__isReactDndBackendSetUp=!1,this.removeEventListeners(this.rootElement),this.clearCurrentDragSourceNode(),this.asyncEndDragFrameId)){var t;(t=this.window)===null||t===void 0||t.cancelAnimationFrame(this.asyncEndDragFrameId)}}connectDragPreview(e,t,i){return this.sourcePreviewNodeOptions.set(e,i),this.sourcePreviewNodes.set(e,t),()=>{this.sourcePreviewNodes.delete(e),this.sourcePreviewNodeOptions.delete(e)}}connectDragSource(e,t,i){this.sourceNodes.set(e,t),this.sourceNodeOptions.set(e,i);const n=a=>this.handleDragStart(a,e),s=a=>this.handleSelectStart(a);return t.setAttribute("draggable","true"),t.addEventListener("dragstart",n),t.addEventListener("selectstart",s),()=>{this.sourceNodes.delete(e),this.sourceNodeOptions.delete(e),t.removeEventListener("dragstart",n),t.removeEventListener("selectstart",s),t.setAttribute("draggable","false")}}connectDropTarget(e,t){const i=a=>this.handleDragEnter(a,e),n=a=>this.handleDragOver(a,e),s=a=>this.handleDrop(a,e);return t.addEventListener("dragenter",i),t.addEventListener("dragover",n),t.addEventListener("drop",s),()=>{t.removeEventListener("dragenter",i),t.removeEventListener("dragover",n),t.removeEventListener("drop",s)}}addEventListeners(e){e.addEventListener&&(e.addEventListener("dragstart",this.handleTopDragStart),e.addEventListener("dragstart",this.handleTopDragStartCapture,!0),e.addEventListener("dragend",this.handleTopDragEndCapture,!0),e.addEventListener("dragenter",this.handleTopDragEnter),e.addEventListener("dragenter",this.handleTopDragEnterCapture,!0),e.addEventListener("dragleave",this.handleTopDragLeaveCapture,!0),e.addEventListener("dragover",this.handleTopDragOver),e.addEventListener("dragover",this.handleTopDragOverCapture,!0),e.addEventListener("drop",this.handleTopDrop),e.addEventListener("drop",this.handleTopDropCapture,!0))}removeEventListeners(e){e.removeEventListener&&(e.removeEventListener("dragstart",this.handleTopDragStart),e.removeEventListener("dragstart",this.handleTopDragStartCapture,!0),e.removeEventListener("dragend",this.handleTopDragEndCapture,!0),e.removeEventListener("dragenter",this.handleTopDragEnter),e.removeEventListener("dragenter",this.handleTopDragEnterCapture,!0),e.removeEventListener("dragleave",this.handleTopDragLeaveCapture,!0),e.removeEventListener("dragover",this.handleTopDragOver),e.removeEventListener("dragover",this.handleTopDragOverCapture,!0),e.removeEventListener("drop",this.handleTopDrop),e.removeEventListener("drop",this.handleTopDropCapture,!0))}getCurrentSourceNodeOptions(){const e=this.monitor.getSourceId(),t=this.sourceNodeOptions.get(e);return j({dropEffect:this.altKeyPressed?"copy":"move"},t||{})}getCurrentDropEffect(){return this.isDraggingNativeItem()?"copy":this.getCurrentSourceNodeOptions().dropEffect}getCurrentSourcePreviewNodeOptions(){const e=this.monitor.getSourceId(),t=this.sourcePreviewNodeOptions.get(e);return j({anchorX:.5,anchorY:.5,captureDraggingState:!1},t||{})}isDraggingNativeItem(){const e=this.monitor.getItemType();return Object.keys(q).some(t=>q[t]===e)}beginDragNativeItem(e,t){this.clearCurrentDragSourceNode(),this.currentNativeSource=Je(e,t),this.currentNativeHandle=this.registry.addSource(e,this.currentNativeSource),this.actions.beginDrag([this.currentNativeHandle])}setCurrentDragSourceNode(e){this.clearCurrentDragSourceNode(),this.currentDragSourceNode=e;const t=1e3;this.mouseMoveTimeoutTimer=setTimeout(()=>{var i;return(i=this.rootElement)===null||i===void 0?void 0:i.addEventListener("mousemove",this.endDragIfSourceWasRemovedFromDOM,!0)},t)}clearCurrentDragSourceNode(){if(this.currentDragSourceNode){if(this.currentDragSourceNode=null,this.rootElement){var e;(e=this.window)===null||e===void 0||e.clearTimeout(this.mouseMoveTimeoutTimer||void 0),this.rootElement.removeEventListener("mousemove",this.endDragIfSourceWasRemovedFromDOM,!0)}return this.mouseMoveTimeoutTimer=null,!0}return!1}handleDragStart(e,t){e.defaultPrevented||(this.dragStartSourceIds||(this.dragStartSourceIds=[]),this.dragStartSourceIds.unshift(t))}handleDragEnter(e,t){this.dragEnterTargetIds.unshift(t)}handleDragOver(e,t){this.dragOverTargetIds===null&&(this.dragOverTargetIds=[]),this.dragOverTargetIds.unshift(t)}handleDrop(e,t){this.dropTargetIds.unshift(t)}constructor(e,t,i){this.sourcePreviewNodes=new Map,this.sourcePreviewNodeOptions=new Map,this.sourceNodes=new Map,this.sourceNodeOptions=new Map,this.dragStartSourceIds=null,this.dropTargetIds=[],this.dragEnterTargetIds=[],this.currentNativeSource=null,this.currentNativeHandle=null,this.currentDragSourceNode=null,this.altKeyPressed=!1,this.mouseMoveTimeoutTimer=null,this.asyncEndDragFrameId=null,this.dragOverTargetIds=null,this.lastClientOffset=null,this.hoverRafId=null,this.getSourceClientOffset=n=>{const s=this.sourceNodes.get(n);return s&&te(s)||null},this.endDragNativeItem=()=>{this.isDraggingNativeItem()&&(this.actions.endDrag(),this.currentNativeHandle&&this.registry.removeSource(this.currentNativeHandle),this.currentNativeHandle=null,this.currentNativeSource=null)},this.isNodeInDocument=n=>!!(n&&this.document&&this.document.body&&this.document.body.contains(n)),this.endDragIfSourceWasRemovedFromDOM=()=>{const n=this.currentDragSourceNode;n==null||this.isNodeInDocument(n)||(this.clearCurrentDragSourceNode()&&this.monitor.isDragging()&&this.actions.endDrag(),this.cancelHover())},this.scheduleHover=n=>{this.hoverRafId===null&&typeof requestAnimationFrame<"u"&&(this.hoverRafId=requestAnimationFrame(()=>{this.monitor.isDragging()&&this.actions.hover(n||[],{clientOffset:this.lastClientOffset}),this.hoverRafId=null}))},this.cancelHover=()=>{this.hoverRafId!==null&&typeof cancelAnimationFrame<"u"&&(cancelAnimationFrame(this.hoverRafId),this.hoverRafId=null)},this.handleTopDragStartCapture=()=>{this.clearCurrentDragSourceNode(),this.dragStartSourceIds=[]},this.handleTopDragStart=n=>{if(n.defaultPrevented)return;const{dragStartSourceIds:s}=this;this.dragStartSourceIds=null;const a=w(n);this.monitor.isDragging()&&(this.actions.endDrag(),this.cancelHover()),this.actions.beginDrag(s||[],{publishSource:!1,getSourceClientOffset:this.getSourceClientOffset,clientOffset:a});const{dataTransfer:o}=n,u=M(o);if(this.monitor.isDragging()){if(o&&typeof o.setDragImage=="function"){const h=this.monitor.getSourceId(),g=this.sourceNodes.get(h),f=this.sourcePreviewNodes.get(h)||g;if(f){const{anchorX:c,anchorY:p,offsetX:v,offsetY:D}=this.getCurrentSourcePreviewNodeOptions(),O=nt(g,f,a,{anchorX:c,anchorY:p},{offsetX:v,offsetY:D});o.setDragImage(f,O.x,O.y)}}try{o?.setData("application/json",{})}catch{}this.setCurrentDragSourceNode(n.target);const{captureDraggingState:l}=this.getCurrentSourcePreviewNodeOptions();l?this.actions.publishDragSource():setTimeout(()=>this.actions.publishDragSource(),0)}else if(u)this.beginDragNativeItem(u);else{if(o&&!o.types&&(n.target&&!n.target.hasAttribute||!n.target.hasAttribute("draggable")))return;n.preventDefault()}},this.handleTopDragEndCapture=()=>{this.clearCurrentDragSourceNode()&&this.monitor.isDragging()&&this.actions.endDrag(),this.cancelHover()},this.handleTopDragEnterCapture=n=>{if(this.dragEnterTargetIds=[],this.isDraggingNativeItem()){var s;(s=this.currentNativeSource)===null||s===void 0||s.loadDataTransfer(n.dataTransfer)}if(!this.enterLeaveCounter.enter(n.target)||this.monitor.isDragging())return;const{dataTransfer:o}=n,u=M(o);u&&this.beginDragNativeItem(u,o)},this.handleTopDragEnter=n=>{const{dragEnterTargetIds:s}=this;if(this.dragEnterTargetIds=[],!this.monitor.isDragging())return;this.altKeyPressed=n.altKey,s.length>0&&this.actions.hover(s,{clientOffset:w(n)}),s.some(o=>this.monitor.canDropOnTarget(o))&&(n.preventDefault(),n.dataTransfer&&(n.dataTransfer.dropEffect=this.getCurrentDropEffect()))},this.handleTopDragOverCapture=n=>{if(this.dragOverTargetIds=[],this.isDraggingNativeItem()){var s;(s=this.currentNativeSource)===null||s===void 0||s.loadDataTransfer(n.dataTransfer)}},this.handleTopDragOver=n=>{const{dragOverTargetIds:s}=this;if(this.dragOverTargetIds=[],!this.monitor.isDragging()){n.preventDefault(),n.dataTransfer&&(n.dataTransfer.dropEffect="none");return}this.altKeyPressed=n.altKey,this.lastClientOffset=w(n),this.scheduleHover(s),(s||[]).some(o=>this.monitor.canDropOnTarget(o))?(n.preventDefault(),n.dataTransfer&&(n.dataTransfer.dropEffect=this.getCurrentDropEffect())):this.isDraggingNativeItem()?n.preventDefault():(n.preventDefault(),n.dataTransfer&&(n.dataTransfer.dropEffect="none"))},this.handleTopDragLeaveCapture=n=>{this.isDraggingNativeItem()&&n.preventDefault(),this.enterLeaveCounter.leave(n.target)&&(this.isDraggingNativeItem()&&setTimeout(()=>this.endDragNativeItem(),0),this.cancelHover())},this.handleTopDropCapture=n=>{if(this.dropTargetIds=[],this.isDraggingNativeItem()){var s;n.preventDefault(),(s=this.currentNativeSource)===null||s===void 0||s.loadDataTransfer(n.dataTransfer)}else M(n.dataTransfer)&&n.preventDefault();this.enterLeaveCounter.reset()},this.handleTopDrop=n=>{const{dropTargetIds:s}=this;this.dropTargetIds=[],this.actions.hover(s,{clientOffset:w(n)}),this.actions.drop({dropEffect:this.getCurrentDropEffect()}),this.isDraggingNativeItem()?this.endDragNativeItem():this.monitor.isDragging()&&this.actions.endDrag(),this.cancelHover()},this.handleSelectStart=n=>{const s=n.target;typeof s.dragDrop=="function"&&(s.tagName==="INPUT"||s.tagName==="SELECT"||s.tagName==="TEXTAREA"||s.isContentEditable||(n.preventDefault(),s.dragDrop()))},this.options=new it(t,i),this.actions=e.getActions(),this.monitor=e.getMonitor(),this.registry=e.getRegistry(),this.enterLeaveCounter=new $e(this.isNodeInDocument)}}const at=function(e,t,i){return new ot(e,t,i)};exports.DndProvider=De;exports.HTML5Backend=at;exports.asap=fe;exports.invariant=m;exports.useDrag=Ae;exports.useDrop=Be;
@@ -1,16 +1,18 @@
1
1
  import * as X from "react";
2
2
  import { useState as Y, useCallback as T, useRef as q, useMemo as ue, createContext as Yt, useContext as zt, Component as kt, Fragment as we, useEffect as Ve, forwardRef as oe } from "react";
3
- import { _ as ee, a as D, b as f, c as jt, d as me, e as x, f as Ut, g as Qt, h as $t, i as _t, j as Kt, k as de } from "./babel-vendor-Brd7V25k.js";
4
- import { al as A, am as Je, an as qt, ao as gt, ap as en, aq as tn, j as S } from "./vendor-DxZbxm3m.js";
5
- import { createPortal as nn } from "react-dom";
6
- import { Q as bt, U as un, W as ae, B as L, X as Qe, Y as an, Z as ze, _ as on, x as rn, $ as ln, a0 as sn, a1 as cn, b as ke } from "./ui-vendor-CTkR2JkD.js";
3
+ import { _ as ee, a as D, b as f, c as jt, d as me, e as x, f as Ut, g as Qt, h as $t, i as Kt, j as _t, k as de } from "./babel-vendor-BOM86iTb.js";
4
+ import { a as A, c as gt, k as qt, j as S } from "./other-react-vendor-ZnZFHn3v.js";
5
+ import { createPortal as en } from "react-dom";
6
+ import { a as tn } from "./floating-ui-vendor-BcB50aec.js";
7
+ import { w as Je, x as nn } from "./vendor-DVLzEdMv.js";
8
+ import { useTheme as bt, useFormControl as un, useMultiStyleConfig as ae, Box as L, useColorModeValue as Qe, MenuIcon as an, chakra as ze, Menu as on, Spinner as rn, Divider as ln, useStyleConfig as sn, useBreakpointValue as cn, Icon as ke } from "@chakra-ui/react";
7
9
  var dn = ["defaultInputValue", "defaultMenuIsOpen", "defaultValue", "inputValue", "menuIsOpen", "onChange", "onInputChange", "onMenuClose", "onMenuOpen", "value"];
8
10
  function Fe(n) {
9
11
  var t = n.defaultInputValue, i = t === void 0 ? "" : t, u = n.defaultMenuIsOpen, e = u === void 0 ? !1 : u, o = n.defaultValue, r = o === void 0 ? null : o, s = n.inputValue, a = n.menuIsOpen, l = n.onChange, c = n.onInputChange, d = n.onMenuClose, p = n.onMenuOpen, b = n.value, m = ee(n, dn), I = Y(s !== void 0 ? s : i), g = D(I, 2), v = g[0], V = g[1], G = Y(a !== void 0 ? a : e), C = D(G, 2), B = C[0], E = C[1], y = Y(b !== void 0 ? b : r), h = D(y, 2), F = h[0], P = h[1], M = T(function(J, ne) {
10
12
  typeof l == "function" && l(J, ne), P(J);
11
13
  }, [l]), R = T(function(J, ne) {
12
- var K;
13
- typeof c == "function" && (K = c(J, ne)), V(K !== void 0 ? K : J);
14
+ var _;
15
+ typeof c == "function" && (_ = c(J, ne)), V(_ !== void 0 ? _ : J);
14
16
  }, [c]), O = T(function() {
15
17
  typeof p == "function" && p(), E(!0);
16
18
  }, [p]), w = T(function() {
@@ -115,7 +117,7 @@ function fn(n) {
115
117
  width: t.width
116
118
  };
117
119
  }
118
- function _e() {
120
+ function Ke() {
119
121
  try {
120
122
  return document.createEvent("TouchEvent"), !0;
121
123
  } catch {
@@ -348,7 +350,7 @@ var vt = function(t) {
348
350
  G();
349
351
  }, [G]);
350
352
  var C = T(function() {
351
- typeof l.current == "function" && (l.current(), l.current = null), e && a.current && (l.current = qt(e, a.current, G, {
353
+ typeof l.current == "function" && (l.current(), l.current = null), e && a.current && (l.current = tn(e, a.current, G, {
352
354
  elementResize: "ResizeObserver" in window
353
355
  }));
354
356
  }, [e, G]);
@@ -370,7 +372,7 @@ var vt = function(t) {
370
372
  }), o), u);
371
373
  return A(Ct.Provider, {
372
374
  value: m
373
- }, i ? /* @__PURE__ */ nn(E, i) : E);
375
+ }, i ? /* @__PURE__ */ en(E, i) : E);
374
376
  }, wn = function(t) {
375
377
  var i = t.isDisabled, u = t.isRtl;
376
378
  return {
@@ -418,11 +420,11 @@ var vt = function(t) {
418
420
  return A("div", x({}, H(t, "indicatorsContainer", {
419
421
  indicators: !0
420
422
  }), u), i);
421
- }, Ke, Un = ["size"], Qn = ["innerProps", "isRtl", "size"];
423
+ }, _e, Un = ["size"], Qn = ["innerProps", "isRtl", "size"];
422
424
  function $n() {
423
425
  return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop).";
424
426
  }
425
- var _n = process.env.NODE_ENV === "production" ? {
427
+ var Kn = process.env.NODE_ENV === "production" ? {
426
428
  name: "8mmkcg",
427
429
  styles: "display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"
428
430
  } : {
@@ -438,7 +440,7 @@ var _n = process.env.NODE_ENV === "production" ? {
438
440
  viewBox: "0 0 20 20",
439
441
  "aria-hidden": "true",
440
442
  focusable: "false",
441
- css: _n
443
+ css: Kn
442
444
  }, u));
443
445
  }, je = function(t) {
444
446
  return A(ht, x({
@@ -465,7 +467,7 @@ var _n = process.env.NODE_ENV === "production" ? {
465
467
  color: u ? r.neutral80 : r.neutral40
466
468
  }
467
469
  });
468
- }, Kn = xt, qn = function(t) {
470
+ }, _n = xt, qn = function(t) {
469
471
  var i = t.children, u = t.innerProps;
470
472
  return A("div", x({}, H(t, "dropdownIndicator", {
471
473
  indicator: !0,
@@ -493,7 +495,7 @@ var _n = process.env.NODE_ENV === "production" ? {
493
495
  return A("span", x({}, i, H(t, "indicatorSeparator", {
494
496
  "indicator-separator": !0
495
497
  })));
496
- }, ui = en(Ke || (Ke = Ut([`
498
+ }, ui = qt(_e || (_e = Ut([`
497
499
  0%, 80%, 100% { opacity: 0; }
498
500
  40% { opacity: 1; }
499
501
  `]))), ai = function(t, i) {
@@ -910,9 +912,9 @@ var wi = process.env.NODE_ENV === "production" ? {
910
912
  }, [d]), F = ue(function() {
911
913
  var W = "";
912
914
  if (i && h.onChange) {
913
- var Z = i.option, Q = i.options, J = i.removedValue, ne = i.removedValues, K = i.value, re = function(_) {
914
- return Array.isArray(_) ? null : _;
915
- }, N = J || Z || re(K), z = N ? p(N) : "", $ = Q || ne || void 0, k = $ ? $.map(p) : [], j = f({
915
+ var Z = i.option, Q = i.options, J = i.removedValue, ne = i.removedValues, _ = i.value, re = function(K) {
916
+ return Array.isArray(K) ? null : K;
917
+ }, N = J || Z || re(_), z = N ? p(N) : "", $ = Q || ne || void 0, k = $ ? $.map(p) : [], j = f({
916
918
  // multiSelected items are usually items that have already been selected
917
919
  // or set by the user as a default value so we assume they are not disabled
918
920
  isDisabled: N && I(N, s),
@@ -1244,7 +1246,7 @@ var yt = function(t) {
1244
1246
  return t.replace(ji, function(i) {
1245
1247
  return Bt[i];
1246
1248
  });
1247
- }, Ui = tn(yt), et = function(t) {
1249
+ }, Ui = nn(yt), et = function(t) {
1248
1250
  return t.replace(/^\s+|\s+$/g, "");
1249
1251
  }, Qi = function(t) {
1250
1252
  return "".concat(t.label, " ").concat(t.value);
@@ -1260,9 +1262,9 @@ var yt = function(t) {
1260
1262
  }, t), o = e.ignoreCase, r = e.ignoreAccents, s = e.stringify, a = e.trim, l = e.matchFrom, c = a ? et(u) : u, d = a ? et(s(i)) : s(i);
1261
1263
  return o && (c = c.toLowerCase(), d = d.toLowerCase()), r && (c = Ui(c), d = yt(d)), l === "start" ? d.substr(0, c.length) === c : d.indexOf(c) > -1;
1262
1264
  };
1263
- }, _i = ["innerRef"];
1264
- function Ki(n) {
1265
- var t = n.innerRef, i = ee(n, _i), u = Bn(i, "onExited", "in", "enter", "exit", "appear");
1265
+ }, Ki = ["innerRef"];
1266
+ function _i(n) {
1267
+ var t = n.innerRef, i = ee(n, Ki), u = Bn(i, "onExited", "in", "enter", "exit", "appear");
1266
1268
  return A("input", x({
1267
1269
  ref: t
1268
1270
  }, u, {
@@ -1475,7 +1477,7 @@ var pu = function(t) {
1475
1477
  clearIndicator: ei,
1476
1478
  container: wn,
1477
1479
  control: ri,
1478
- dropdownIndicator: Kn,
1480
+ dropdownIndicator: _n,
1479
1481
  group: di,
1480
1482
  groupHeading: bi,
1481
1483
  indicatorsContainer: kn,
@@ -1523,8 +1525,8 @@ var pu = function(t) {
1523
1525
  }, xu = {
1524
1526
  "aria-live": "polite",
1525
1527
  backspaceRemovesValue: !0,
1526
- blurInputOnSelect: _e(),
1527
- captureMenuScroll: !_e(),
1528
+ blurInputOnSelect: Ke(),
1529
+ captureMenuScroll: !Ke(),
1528
1530
  classNames: {},
1529
1531
  closeMenuOnSelect: !0,
1530
1532
  closeMenuOnScroll: !1,
@@ -1678,7 +1680,7 @@ var Mt = function(t) {
1678
1680
  var t = $t(i);
1679
1681
  function i(u) {
1680
1682
  var e;
1681
- if (Kt(this, i), e = t.call(this, u), e.state = {
1683
+ if (_t(this, i), e = t.call(this, u), e.state = {
1682
1684
  ariaSelection: null,
1683
1685
  focusedOption: null,
1684
1686
  focusedOptionId: null,
@@ -1964,7 +1966,7 @@ var Mt = function(t) {
1964
1966
  }
1965
1967
  return e;
1966
1968
  }
1967
- return _t(i, [{
1969
+ return Kt(i, [{
1968
1970
  key: "componentDidMount",
1969
1971
  value: function() {
1970
1972
  this.startListeningComposition(), this.startListeningToTouch(), this.props.closeMenuOnScroll && document && document.addEventListener && document.addEventListener("scroll", this.onScroll, !0), this.props.autoFocus && this.focusInput(), this.props.menuIsOpen && this.state.focusedOption && this.menuListRef && this.focusedOptionRef && $e(this.menuListRef, this.focusedOptionRef);
@@ -2234,7 +2236,7 @@ var Mt = function(t) {
2234
2236
  form: c,
2235
2237
  type: "text",
2236
2238
  value: a
2237
- }, C)) : /* @__PURE__ */ X.createElement(Ki, x({
2239
+ }, C)) : /* @__PURE__ */ X.createElement(_i, x({
2238
2240
  id: G,
2239
2241
  innerRef: this.getInputRef,
2240
2242
  onBlur: this.onInputBlur,
@@ -2359,7 +2361,7 @@ var Mt = function(t) {
2359
2361
  var e = this, o = this.getComponents(), r = o.Group, s = o.GroupHeading, a = o.Menu, l = o.MenuList, c = o.MenuPortal, d = o.LoadingMessage, p = o.NoOptionsMessage, b = o.Option, m = this.commonProps, I = this.state.focusedOption, g = this.props, v = g.captureMenuScroll, V = g.inputValue, G = g.isLoading, C = g.loadingMessage, B = g.minMenuHeight, E = g.maxMenuHeight, y = g.menuIsOpen, h = g.menuPlacement, F = g.menuPosition, P = g.menuPortalTarget, M = g.menuShouldBlockScroll, R = g.menuShouldScrollIntoView, O = g.noOptionsMessage, w = g.onMenuScrollToTop, W = g.onMenuScrollToBottom;
2360
2362
  if (!y) return null;
2361
2363
  var Z = function(z, $) {
2362
- var k = z.type, j = z.data, ie = z.isDisabled, _ = z.isSelected, le = z.label, Pe = z.value, fe = I === j, ge = ie ? void 0 : function() {
2364
+ var k = z.type, j = z.data, ie = z.isDisabled, K = z.isSelected, le = z.label, Pe = z.value, fe = I === j, ge = ie ? void 0 : function() {
2363
2365
  return e.onOptionHover(j);
2364
2366
  }, We = ie ? void 0 : function() {
2365
2367
  return e.selectOption(j);
@@ -2370,14 +2372,14 @@ var Mt = function(t) {
2370
2372
  onMouseOver: ge,
2371
2373
  tabIndex: -1,
2372
2374
  role: "option",
2373
- "aria-selected": e.isAppleDevice ? void 0 : _
2375
+ "aria-selected": e.isAppleDevice ? void 0 : K
2374
2376
  // is not supported on Apple devices
2375
2377
  };
2376
2378
  return /* @__PURE__ */ X.createElement(b, x({}, m, {
2377
2379
  innerProps: be,
2378
2380
  data: j,
2379
2381
  isDisabled: ie,
2380
- isSelected: _,
2382
+ isSelected: K,
2381
2383
  key: he,
2382
2384
  label: le,
2383
2385
  type: k,
@@ -2400,8 +2402,8 @@ var Mt = function(t) {
2400
2402
  data: N.data
2401
2403
  },
2402
2404
  label: e.formatGroupLabel(N.data)
2403
- }), N.options.map(function(_) {
2404
- return Z(_, "".concat(k, "-").concat(_.index));
2405
+ }), N.options.map(function(K) {
2406
+ return Z(K, "".concat(k, "-").concat(K.index));
2405
2407
  }));
2406
2408
  } else if (N.type === "option")
2407
2409
  return Z(N, "".concat(N.index));
@@ -2419,15 +2421,15 @@ var Mt = function(t) {
2419
2421
  if (ne === null) return null;
2420
2422
  Q = /* @__PURE__ */ X.createElement(p, m, ne);
2421
2423
  }
2422
- var K = {
2424
+ var _ = {
2423
2425
  minMenuHeight: B,
2424
2426
  maxMenuHeight: E,
2425
2427
  menuPlacement: h,
2426
2428
  menuPosition: F,
2427
2429
  menuShouldScrollIntoView: R
2428
- }, re = /* @__PURE__ */ X.createElement(Rn, x({}, m, K), function(N) {
2430
+ }, re = /* @__PURE__ */ X.createElement(Rn, x({}, m, _), function(N) {
2429
2431
  var z = N.ref, $ = N.placerProps, k = $.placement, j = $.maxHeight;
2430
- return /* @__PURE__ */ X.createElement(a, x({}, m, K, {
2432
+ return /* @__PURE__ */ X.createElement(a, x({}, m, _, {
2431
2433
  innerRef: z,
2432
2434
  innerProps: {
2433
2435
  onMouseDown: e.onMenuMouseDown,
@@ -2648,7 +2650,7 @@ var Xu = /* @__PURE__ */ oe(function(n, t) {
2648
2650
  function Ot(n) {
2649
2651
  var t = n.defaultOptions, i = t === void 0 ? !1 : t, u = n.cacheOptions, e = u === void 0 ? !1 : u, o = n.loadOptions;
2650
2652
  n.options;
2651
- var r = n.isLoading, s = r === void 0 ? !1 : r, a = n.onInputChange, l = n.filterOption, c = l === void 0 ? null : l, d = ee(n, Pu), p = d.inputValue, b = q(void 0), m = q(!1), I = Y(Array.isArray(i) ? i : void 0), g = D(I, 2), v = g[0], V = g[1], G = Y(typeof p < "u" ? p : ""), C = D(G, 2), B = C[0], E = C[1], y = Y(i === !0), h = D(y, 2), F = h[0], P = h[1], M = Y(void 0), R = D(M, 2), O = R[0], w = R[1], W = Y([]), Z = D(W, 2), Q = Z[0], J = Z[1], ne = Y(!1), K = D(ne, 2), re = K[0], N = K[1], z = Y({}), $ = D(z, 2), k = $[0], j = $[1], ie = Y(void 0), _ = D(ie, 2), le = _[0], Pe = _[1], fe = Y(void 0), ge = D(fe, 2), We = ge[0], he = ge[1];
2653
+ var r = n.isLoading, s = r === void 0 ? !1 : r, a = n.onInputChange, l = n.filterOption, c = l === void 0 ? null : l, d = ee(n, Pu), p = d.inputValue, b = q(void 0), m = q(!1), I = Y(Array.isArray(i) ? i : void 0), g = D(I, 2), v = g[0], V = g[1], G = Y(typeof p < "u" ? p : ""), C = D(G, 2), B = C[0], E = C[1], y = Y(i === !0), h = D(y, 2), F = h[0], P = h[1], M = Y(void 0), R = D(M, 2), O = R[0], w = R[1], W = Y([]), Z = D(W, 2), Q = Z[0], J = Z[1], ne = Y(!1), _ = D(ne, 2), re = _[0], N = _[1], z = Y({}), $ = D(z, 2), k = $[0], j = $[1], ie = Y(void 0), K = D(ie, 2), le = K[0], Pe = K[1], fe = Y(void 0), ge = D(fe, 2), We = ge[0], he = ge[1];
2652
2654
  e !== We && (j({}), he(e)), i !== le && (V(Array.isArray(i) ? i : void 0), Pe(i)), Ve(function() {
2653
2655
  return m.current = !0, function() {
2654
2656
  m.current = !1;
@@ -2731,8 +2733,8 @@ var Wu = /* @__PURE__ */ oe(function(n, t) {
2731
2733
  }, Qu = wu, $u = (n) => {
2732
2734
  let { className: t, cx: i, value: u, selectProps: { chakraStyles: e, isReadOnly: o } } = n, { innerRef: r, isDisabled: s, isHidden: a, inputClassName: l, ...c } = Dt(n), d = { gridArea: "1 / 2", minW: "2px", border: 0, margin: 0, outline: 0, padding: 0 }, p = { flex: "1 1 auto", display: "inline-grid", gridArea: "1 / 1 / 2 / 3", gridTemplateColumns: "0 min-content", color: "inherit", marginX: "0.125rem", paddingY: "0.125rem", visibility: s ? "hidden" : "visible", transform: u ? "translateZ(0)" : "", _after: { content: 'attr(data-value) " "', visibility: "hidden", whiteSpace: "pre", padding: 0, ...d } }, b = e != null && e.inputContainer ? e.inputContainer(p, n) : p, m = { background: 0, opacity: a ? 0 : 1, width: "100%", ...d }, I = e != null && e.input ? e.input(m, n) : m;
2733
2735
  return S.jsx(L, { className: i({ "input-container": !0 }, t), "data-value": u || "", sx: b, children: S.jsx(ze.input, { className: i({ input: !0 }, l), ref: r, sx: I, disabled: s, readOnly: o ? !0 : void 0, ...c }) });
2734
- }, _u = $u, Ku = (n) => n ? { bottom: "top", top: "bottom" }[n] : "top", qu = (n) => {
2735
- let { className: t, cx: i, children: u, innerProps: e, innerRef: o, placement: r, selectProps: { chakraStyles: s } } = n, a = { position: "absolute", [Ku(r)]: "100%", marginY: "8px", width: "100%", zIndex: 1 }, l = s != null && s.menu ? s.menu(a, n) : a;
2736
+ }, Ku = $u, _u = (n) => n ? { bottom: "top", top: "bottom" }[n] : "top", qu = (n) => {
2737
+ let { className: t, cx: i, children: u, innerProps: e, innerRef: o, placement: r, selectProps: { chakraStyles: s } } = n, a = { position: "absolute", [_u(r)]: "100%", marginY: "8px", width: "100%", zIndex: 1 }, l = s != null && s.menu ? s.menu(a, n) : a;
2736
2738
  return S.jsx(on, { children: S.jsx(L, { ...e, ref: o, className: i({ menu: !0 }, t), sx: l, children: u }) });
2737
2739
  }, ea = qu, ta = (n) => {
2738
2740
  var t;
@@ -2773,7 +2775,7 @@ var Wu = /* @__PURE__ */ oe(function(n, t) {
2773
2775
  }, va = ma, Ca = (n) => {
2774
2776
  let { children: t, className: i, cx: u, isDisabled: e, innerProps: o, selectProps: { chakraStyles: r } } = n, s = { gridArea: "1 / 1 / 2 / 3", mx: "0.125rem", maxWidth: "100%", overflow: "hidden", textOverflow: "ellipsis", whiteSpace: "nowrap" }, a = r != null && r.singleValue ? r.singleValue(s, n) : s;
2775
2777
  return S.jsx(L, { className: u({ "single-value": !0, "single-value--is-disabled": e }, i), sx: a, ...o, children: t });
2776
- }, fa = Ca, ha = { ClearIndicator: ju, Control: Qu, DropdownIndicator: zu, Group: ua, GroupHeading: aa, IndicatorSeparator: Ju, IndicatorsContainer: Lu, Input: _u, LoadingIndicator: Uu, LoadingMessage: na, Menu: ea, MenuList: ta, MultiValue: Ia, MultiValueContainer: da, MultiValueLabel: ga, MultiValueRemove: pa, NoOptionsMessage: ia, Option: ra, Placeholder: va, SelectContainer: Du, SingleValue: fa, ValueContainer: Tu }, Aa = ha, xa = ({ components: n = {}, theme: t, size: i, colorScheme: u = "gray", isDisabled: e, isInvalid: o, isReadOnly: r, required: s, isRequired: a, inputId: l, tagVariant: c, selectedOptionStyle: d = "color", selectedOptionColorScheme: p, selectedOptionColor: b, variant: m, focusBorderColor: I, errorBorderColor: g, chakraStyles: v = {}, onFocus: V, onBlur: G, menuIsOpen: C, ...B }) => {
2778
+ }, fa = Ca, ha = { ClearIndicator: ju, Control: Qu, DropdownIndicator: zu, Group: ua, GroupHeading: aa, IndicatorSeparator: Ju, IndicatorsContainer: Lu, Input: Ku, LoadingIndicator: Uu, LoadingMessage: na, Menu: ea, MenuList: ta, MultiValue: Ia, MultiValueContainer: da, MultiValueLabel: ga, MultiValueRemove: pa, NoOptionsMessage: ia, Option: ra, Placeholder: va, SelectContainer: Du, SingleValue: fa, ValueContainer: Tu }, Aa = ha, xa = ({ components: n = {}, theme: t, size: i, colorScheme: u = "gray", isDisabled: e, isInvalid: o, isReadOnly: r, required: s, isRequired: a, inputId: l, tagVariant: c, selectedOptionStyle: d = "color", selectedOptionColorScheme: p, selectedOptionColor: b, variant: m, focusBorderColor: I, errorBorderColor: g, chakraStyles: v = {}, onFocus: V, onBlur: G, menuIsOpen: C, ...B }) => {
2777
2779
  var E;
2778
2780
  let y = bt(), { variant: h } = y.components.Input.defaultProps, F = un({ id: l, isDisabled: e, isInvalid: o, isRequired: a, isReadOnly: r, onFocus: V, onBlur: G }), P = C ?? (F.readOnly ? !1 : void 0), M = d;
2779
2781
  ["color", "check"].includes(d) || (M = "color");
@@ -2782,7 +2784,7 @@ var Wu = /* @__PURE__ */ oe(function(n, t) {
2782
2784
  }, Re = xa, Ga = oe((n, t) => {
2783
2785
  let i = Re(n);
2784
2786
  return S.jsx(Su, { ref: t, ...i });
2785
- }), Xa = Ga;
2787
+ }), Pa = Ga;
2786
2788
  oe((n, t) => {
2787
2789
  let i = Re(n);
2788
2790
  return S.jsx(Ru, { ref: t, ...i });
@@ -2794,8 +2796,8 @@ oe((n, t) => {
2794
2796
  var Va = oe((n, t) => {
2795
2797
  let i = Re(n);
2796
2798
  return S.jsx(Mu, { ref: t, ...i });
2797
- }), Ra = Va;
2799
+ }), Wa = Va;
2798
2800
  export {
2799
- Xa as s,
2800
- Ra as y
2801
+ Pa as s,
2802
+ Wa as y
2801
2803
  };