@cloudflare/kumo 1.7.0 → 1.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (174) hide show
  1. package/CHANGELOG.md +65 -0
  2. package/ai/component-registry.json +146 -70
  3. package/ai/component-registry.md +178 -46
  4. package/ai/schemas.ts +11 -8
  5. package/dist/.build-complete +1 -1
  6. package/dist/ai/schemas.d.ts +54 -44
  7. package/dist/ai/schemas.d.ts.map +1 -1
  8. package/dist/banner-BKDBfLHA.js +75 -0
  9. package/dist/banner-BKDBfLHA.js.map +1 -0
  10. package/dist/catalog.js +1 -1
  11. package/dist/{checkbox-Dt8iSNOg.js → checkbox-CfFoTNFI.js} +60 -60
  12. package/dist/checkbox-CfFoTNFI.js.map +1 -0
  13. package/dist/{clipboard-text-CeoyR28P.js → clipboard-text-1d0rHIhb.js} +24 -24
  14. package/dist/{clipboard-text-CeoyR28P.js.map → clipboard-text-1d0rHIhb.js.map} +1 -1
  15. package/dist/{combobox-BIC-YZ2L.js → combobox-vnvi22pn.js} +83 -61
  16. package/dist/combobox-vnvi22pn.js.map +1 -0
  17. package/dist/{command-palette-D3MNR7w9.js → command-palette-B80cqB7K.js} +2 -2
  18. package/dist/{command-palette-D3MNR7w9.js.map → command-palette-B80cqB7K.js.map} +1 -1
  19. package/dist/components/banner.js +1 -1
  20. package/dist/components/checkbox.js +1 -1
  21. package/dist/components/clipboard-text.js +1 -1
  22. package/dist/components/combobox.js +1 -1
  23. package/dist/components/command-palette.js +1 -1
  24. package/dist/components/dialog.js +1 -1
  25. package/dist/components/dropdown.js +1 -1
  26. package/dist/components/field.js +1 -1
  27. package/dist/components/flow.js +1472 -1412
  28. package/dist/components/flow.js.map +1 -1
  29. package/dist/components/input.js +3 -3
  30. package/dist/components/label.js +1 -1
  31. package/dist/components/link.js +1 -1
  32. package/dist/components/menubar.js +1 -1
  33. package/dist/components/meter.js +1 -1
  34. package/dist/components/pagination.js +1 -1
  35. package/dist/components/popover.js +1 -1
  36. package/dist/components/radio.js +1 -1
  37. package/dist/components/select.js +1 -1
  38. package/dist/components/sensitive-input.js +1 -1
  39. package/dist/components/switch.js +1 -1
  40. package/dist/components/table.js +1 -1
  41. package/dist/components/tabs.js +1 -1
  42. package/dist/components/toast.js +2 -2
  43. package/dist/components/tooltip.js +1 -1
  44. package/dist/{dialog-toS9krNF.js → dialog-C4BIM-74.js} +6 -6
  45. package/dist/{dialog-toS9krNF.js.map → dialog-C4BIM-74.js.map} +1 -1
  46. package/dist/dropdown-CfS4QcSR.js +295 -0
  47. package/dist/dropdown-CfS4QcSR.js.map +1 -0
  48. package/dist/{field-DCq04TgZ.js → field-B8xISAuX.js} +5 -5
  49. package/dist/{field-DCq04TgZ.js.map → field-B8xISAuX.js.map} +1 -1
  50. package/dist/index.js +29 -29
  51. package/dist/{input-CCR8NGG7.js → input-DCzpefuq.js} +3 -3
  52. package/dist/{input-CCR8NGG7.js.map → input-DCzpefuq.js.map} +1 -1
  53. package/dist/{input-area-DU2Yvp_t.js → input-area-DCaAN9nG.js} +3 -3
  54. package/dist/{input-area-DU2Yvp_t.js.map → input-area-DCaAN9nG.js.map} +1 -1
  55. package/dist/{input-group-C365-qBq.js → input-group-BbaVpJnA.js} +2 -2
  56. package/dist/{input-group-C365-qBq.js.map → input-group-BbaVpJnA.js.map} +1 -1
  57. package/dist/{label-zjtV7oXa.js → label-Cd6nCDWj.js} +2 -2
  58. package/dist/{label-zjtV7oXa.js.map → label-Cd6nCDWj.js.map} +1 -1
  59. package/dist/{link-C8pUZ4Q-.js → link-DJq9RWpK.js} +11 -11
  60. package/dist/{link-C8pUZ4Q-.js.map → link-DJq9RWpK.js.map} +1 -1
  61. package/dist/{menubar-D7WvAf6x.js → menubar-Chchzst0.js} +2 -2
  62. package/dist/{menubar-D7WvAf6x.js.map → menubar-Chchzst0.js.map} +1 -1
  63. package/dist/{meter-jQGKS1z4.js → meter-Wk7_EhaO.js} +4 -4
  64. package/dist/{meter-jQGKS1z4.js.map → meter-Wk7_EhaO.js.map} +1 -1
  65. package/dist/pagination-DFHoZwPJ.js +208 -0
  66. package/dist/pagination-DFHoZwPJ.js.map +1 -0
  67. package/dist/{popover-syU1104E.js → popover-D20xpmdk.js} +22 -20
  68. package/dist/{popover-syU1104E.js.map → popover-D20xpmdk.js.map} +1 -1
  69. package/dist/primitives/accordion.js +1 -1
  70. package/dist/primitives/alert-dialog.js +1 -1
  71. package/dist/primitives/autocomplete.js +1 -1
  72. package/dist/primitives/avatar.js +1 -1
  73. package/dist/primitives/button.js +1 -1
  74. package/dist/primitives/checkbox-group.js +1 -1
  75. package/dist/primitives/checkbox.js +1 -1
  76. package/dist/primitives/collapsible.js +1 -1
  77. package/dist/primitives/combobox.js +1 -1
  78. package/dist/primitives/context-menu.js +1 -1
  79. package/dist/primitives/csp-provider.js +6 -0
  80. package/dist/primitives/csp-provider.js.map +1 -0
  81. package/dist/primitives/dialog.js +1 -1
  82. package/dist/primitives/direction-provider.js +1 -1
  83. package/dist/primitives/drawer.js +6 -0
  84. package/dist/primitives/drawer.js.map +1 -0
  85. package/dist/primitives/field.js +1 -1
  86. package/dist/primitives/fieldset.js +2 -2
  87. package/dist/primitives/form.js +1 -1
  88. package/dist/primitives/input.js +1 -1
  89. package/dist/primitives/menu.js +1 -1
  90. package/dist/primitives/menubar.js +1 -1
  91. package/dist/primitives/meter.js +1 -1
  92. package/dist/primitives/navigation-menu.js +2 -2
  93. package/dist/primitives/number-field.js +1 -1
  94. package/dist/primitives/popover.js +1 -1
  95. package/dist/primitives/preview-card.js +2 -2
  96. package/dist/primitives/progress.js +2 -2
  97. package/dist/primitives/radio-group.js +1 -1
  98. package/dist/primitives/radio.js +2 -2
  99. package/dist/primitives/scroll-area.js +1 -1
  100. package/dist/primitives/select.js +1 -1
  101. package/dist/primitives/separator.js +1 -1
  102. package/dist/primitives/slider.js +1 -1
  103. package/dist/primitives/switch.js +1 -1
  104. package/dist/primitives/tabs.js +1 -1
  105. package/dist/primitives/toast.js +1 -1
  106. package/dist/primitives/toggle-group.js +1 -1
  107. package/dist/primitives/toggle.js +1 -1
  108. package/dist/primitives/toolbar.js +1 -1
  109. package/dist/primitives/tooltip.js +1 -1
  110. package/dist/primitives.js +31 -29
  111. package/dist/{radio-CWMtSx65.js → radio-ibVa4Y8a.js} +18 -18
  112. package/dist/{radio-CWMtSx65.js.map → radio-ibVa4Y8a.js.map} +1 -1
  113. package/dist/{schemas-DbIwo0ET.js → schemas-CdpAeJKO.js} +278 -275
  114. package/dist/{schemas-DbIwo0ET.js.map → schemas-CdpAeJKO.js.map} +1 -1
  115. package/dist/{select-G6JqBVkg.js → select-DtcT1zGm.js} +21 -21
  116. package/dist/{select-G6JqBVkg.js.map → select-DtcT1zGm.js.map} +1 -1
  117. package/dist/{sensitive-input-DNFpycoy.js → sensitive-input-DHDRZRC7.js} +4 -4
  118. package/dist/{sensitive-input-DNFpycoy.js.map → sensitive-input-DHDRZRC7.js.map} +1 -1
  119. package/dist/src/components/banner/banner.d.ts +28 -11
  120. package/dist/src/components/banner/banner.d.ts.map +1 -1
  121. package/dist/src/components/checkbox/checkbox.d.ts.map +1 -1
  122. package/dist/src/components/combobox/combobox.d.ts +4 -1
  123. package/dist/src/components/combobox/combobox.d.ts.map +1 -1
  124. package/dist/src/components/dropdown/dropdown.d.ts +26 -16
  125. package/dist/src/components/dropdown/dropdown.d.ts.map +1 -1
  126. package/dist/src/components/flow/connectors.d.ts +3 -1
  127. package/dist/src/components/flow/connectors.d.ts.map +1 -1
  128. package/dist/src/components/flow/diagram.d.ts +1 -0
  129. package/dist/src/components/flow/diagram.d.ts.map +1 -1
  130. package/dist/src/components/flow/node.d.ts +5 -1
  131. package/dist/src/components/flow/node.d.ts.map +1 -1
  132. package/dist/src/components/flow/parallel.d.ts +10 -2
  133. package/dist/src/components/flow/parallel.d.ts.map +1 -1
  134. package/dist/src/components/pagination/pagination.d.ts +134 -13
  135. package/dist/src/components/pagination/pagination.d.ts.map +1 -1
  136. package/dist/src/components/popover/popover.d.ts +7 -1
  137. package/dist/src/components/popover/popover.d.ts.map +1 -1
  138. package/dist/src/components/toast/toast.d.ts +4 -4
  139. package/dist/src/components/toast/toast.d.ts.map +1 -1
  140. package/dist/src/components/tooltip/tooltip.d.ts +1 -1
  141. package/dist/src/components/tooltip/tooltip.d.ts.map +1 -1
  142. package/dist/src/primitives/csp-provider.d.ts +13 -0
  143. package/dist/src/primitives/csp-provider.d.ts.map +1 -0
  144. package/dist/src/primitives/drawer.d.ts +13 -0
  145. package/dist/src/primitives/drawer.d.ts.map +1 -0
  146. package/dist/src/primitives/index.d.ts +2 -0
  147. package/dist/src/primitives/index.d.ts.map +1 -1
  148. package/dist/styles/kumo-standalone.css +1 -1
  149. package/dist/{switch-CmsZ4z-g.js → switch-DrbaX2iC.js} +15 -15
  150. package/dist/{switch-CmsZ4z-g.js.map → switch-DrbaX2iC.js.map} +1 -1
  151. package/dist/{table-Dc0AGcLV.js → table-CH9KC36S.js} +2 -2
  152. package/dist/{table-Dc0AGcLV.js.map → table-CH9KC36S.js.map} +1 -1
  153. package/dist/{tabs-BpD1iUiz.js → tabs-B-Fxc6Zo.js} +2 -2
  154. package/dist/{tabs-BpD1iUiz.js.map → tabs-B-Fxc6Zo.js.map} +1 -1
  155. package/dist/{toast-BrR0pjLE.js → toast-DUYp3EtH.js} +6 -6
  156. package/dist/{toast-BrR0pjLE.js.map → toast-DUYp3EtH.js.map} +1 -1
  157. package/dist/{tooltip-daVJYtXY.js → tooltip-D-KwZQDV.js} +2 -2
  158. package/dist/{tooltip-daVJYtXY.js.map → tooltip-D-KwZQDV.js.map} +1 -1
  159. package/dist/vendor-base-ui-Bsg5ebHI.js +22806 -0
  160. package/dist/vendor-base-ui-Bsg5ebHI.js.map +1 -0
  161. package/dist/{vendor-utils-DD8jNJwD.js → vendor-utils-DKXfkDYu.js} +100 -101
  162. package/dist/vendor-utils-DKXfkDYu.js.map +1 -0
  163. package/package.json +10 -2
  164. package/dist/banner-4fkH6Sbt.js +0 -51
  165. package/dist/banner-4fkH6Sbt.js.map +0 -1
  166. package/dist/checkbox-Dt8iSNOg.js.map +0 -1
  167. package/dist/combobox-BIC-YZ2L.js.map +0 -1
  168. package/dist/dropdown-BquiYKKC.js +0 -263
  169. package/dist/dropdown-BquiYKKC.js.map +0 -1
  170. package/dist/pagination-BN80iKY6.js +0 -100
  171. package/dist/pagination-BN80iKY6.js.map +0 -1
  172. package/dist/vendor-base-ui-9w7J6BvW.js +0 -20448
  173. package/dist/vendor-base-ui-9w7J6BvW.js.map +0 -1
  174. package/dist/vendor-utils-DD8jNJwD.js.map +0 -1
@@ -1,39 +1,41 @@
1
1
  "use client";
2
2
  import x from "react";
3
- var oe = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])", "a[href]:not([inert])", "button:not([inert])", "[tabindex]:not(slot):not([inert])", "audio[controls]:not([inert])", "video[controls]:not([inert])", '[contenteditable]:not([contenteditable="false"]):not([inert])', "details>summary:first-of-type:not([inert])", "details:not([inert])"], L = /* @__PURE__ */ oe.join(","), Q = typeof Element > "u", w = Q ? function() {
4
- } : Element.prototype.matches || Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector, N = !Q && Element.prototype.getRootNode ? function(n) {
3
+ var oe = ["input:not([inert]):not([inert] *)", "select:not([inert]):not([inert] *)", "textarea:not([inert]):not([inert] *)", "a[href]:not([inert]):not([inert] *)", "button:not([inert]):not([inert] *)", "[tabindex]:not(slot):not([inert]):not([inert] *)", "audio[controls]:not([inert]):not([inert] *)", "video[controls]:not([inert]):not([inert] *)", '[contenteditable]:not([contenteditable="false"]):not([inert]):not([inert] *)', "details>summary:first-of-type:not([inert]):not([inert] *)", "details:not([inert]):not([inert] *)"], A = /* @__PURE__ */ oe.join(","), Q = typeof Element > "u", w = Q ? function() {
4
+ } : Element.prototype.matches || Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector, L = !Q && Element.prototype.getRootNode ? function(n) {
5
5
  var e;
6
6
  return n == null || (e = n.getRootNode) === null || e === void 0 ? void 0 : e.call(n);
7
7
  } : function(n) {
8
8
  return n?.ownerDocument;
9
- }, C = function(e, t) {
9
+ }, N = function(e, t) {
10
10
  var r;
11
11
  t === void 0 && (t = !0);
12
- var i = e == null || (r = e.getAttribute) === null || r === void 0 ? void 0 : r.call(e, "inert"), o = i === "" || i === "true", u = o || t && e && C(e.parentNode);
12
+ var i = e == null || (r = e.getAttribute) === null || r === void 0 ? void 0 : r.call(e, "inert"), o = i === "" || i === "true", u = o || t && e && // closest does not exist on shadow roots, so we fall back to a manual
13
+ // lookup upward, in case it is not defined.
14
+ (typeof e.closest == "function" ? e.closest("[inert]") : N(e.parentNode));
13
15
  return u;
14
- }, le = function(e) {
16
+ }, se = function(e) {
15
17
  var t, r = e == null || (t = e.getAttribute) === null || t === void 0 ? void 0 : t.call(e, "contenteditable");
16
18
  return r === "" || r === "true";
17
19
  }, ee = function(e, t, r) {
18
- if (C(e))
20
+ if (N(e))
19
21
  return [];
20
- var i = Array.prototype.slice.apply(e.querySelectorAll(L));
21
- return t && w.call(e, L) && i.unshift(e), i = i.filter(r), i;
22
+ var i = Array.prototype.slice.apply(e.querySelectorAll(A));
23
+ return t && w.call(e, A) && i.unshift(e), i = i.filter(r), i;
22
24
  }, D = function(e, t, r) {
23
25
  for (var i = [], o = Array.from(e); o.length; ) {
24
26
  var u = o.shift();
25
- if (!C(u, !1))
27
+ if (!N(u, !1))
26
28
  if (u.tagName === "SLOT") {
27
- var l = u.assignedElements(), v = l.length ? l : u.children, a = D(v, !0, r);
29
+ var s = u.assignedElements(), v = s.length ? s : u.children, a = D(v, !0, r);
28
30
  r.flatten ? i.push.apply(i, a) : i.push({
29
31
  scopeParent: u,
30
32
  candidates: a
31
33
  });
32
34
  } else {
33
- var s = w.call(u, L);
34
- s && r.filter(u) && (t || !e.includes(u)) && i.push(u);
35
+ var l = w.call(u, A);
36
+ l && r.filter(u) && (t || !e.includes(u)) && i.push(u);
35
37
  var f = u.shadowRoot || // check for an undisclosed shadow
36
- typeof r.getShadowRoot == "function" && r.getShadowRoot(u), h = !C(f, !1) && (!r.shadowRootFilter || r.shadowRootFilter(u));
38
+ typeof r.getShadowRoot == "function" && r.getShadowRoot(u), h = !N(f, !1) && (!r.shadowRootFilter || r.shadowRootFilter(u));
37
39
  if (f && h) {
38
40
  var c = D(f === !0 ? u.children : f.children, !0, r);
39
41
  r.flatten ? i.push.apply(i, c) : i.push({
@@ -50,8 +52,8 @@ var oe = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
50
52
  }, re = function(e) {
51
53
  if (!e)
52
54
  throw new Error("No node provided");
53
- return e.tabIndex < 0 && (/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName) || le(e)) && !te(e) ? 0 : e.tabIndex;
54
- }, se = function(e, t) {
55
+ return e.tabIndex < 0 && (/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName) || se(e)) && !te(e) ? 0 : e.tabIndex;
56
+ }, le = function(e, t) {
55
57
  var r = re(e);
56
58
  return r < 0 && t && !te(e) ? 0 : r;
57
59
  }, ce = function(e, t) {
@@ -72,8 +74,8 @@ var oe = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
72
74
  }, pe = function(e) {
73
75
  if (!e.name)
74
76
  return !0;
75
- var t = e.form || N(e), r = function(l) {
76
- return t.querySelectorAll('input[type="radio"][name="' + l + '"]');
77
+ var t = e.form || L(e), r = function(s) {
78
+ return t.querySelectorAll('input[type="radio"][name="' + s + '"]');
77
79
  }, i;
78
80
  if (typeof window < "u" && typeof window.CSS < "u" && typeof window.CSS.escape == "function")
79
81
  i = r(window.CSS.escape(e.name));
@@ -90,12 +92,12 @@ var oe = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
90
92
  }, ye = function(e) {
91
93
  return he(e) && !pe(e);
92
94
  }, Se = function(e) {
93
- var t, r = e && N(e), i = (t = r) === null || t === void 0 ? void 0 : t.host, o = !1;
95
+ var t, r = e && L(e), i = (t = r) === null || t === void 0 ? void 0 : t.host, o = !1;
94
96
  if (r && r !== e) {
95
- var u, l, v;
96
- for (o = !!((u = i) !== null && u !== void 0 && (l = u.ownerDocument) !== null && l !== void 0 && l.contains(i) || e != null && (v = e.ownerDocument) !== null && v !== void 0 && v.contains(e)); !o && i; ) {
97
- var a, s, f;
98
- r = N(i), i = (a = r) === null || a === void 0 ? void 0 : a.host, o = !!((s = i) !== null && s !== void 0 && (f = s.ownerDocument) !== null && f !== void 0 && f.contains(i));
97
+ var u, s, v;
98
+ for (o = !!((u = i) !== null && u !== void 0 && (s = u.ownerDocument) !== null && s !== void 0 && s.contains(i) || e != null && (v = e.ownerDocument) !== null && v !== void 0 && v.contains(e)); !o && i; ) {
99
+ var a, l, f;
100
+ r = L(i), i = (a = r) === null || a === void 0 ? void 0 : a.host, o = !!((l = i) !== null && l !== void 0 && (f = l.ownerDocument) !== null && f !== void 0 && f.contains(i));
99
101
  }
100
102
  }
101
103
  return o;
@@ -122,18 +124,18 @@ var oe = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
122
124
  }
123
125
  if (getComputedStyle(e).visibility === "hidden")
124
126
  return !0;
125
- var u = w.call(e, "details>summary:first-of-type"), l = u ? e.parentElement : e;
126
- if (w.call(l, "details:not([open]) *"))
127
+ var u = w.call(e, "details>summary:first-of-type"), s = u ? e.parentElement : e;
128
+ if (w.call(s, "details:not([open]) *"))
127
129
  return !0;
128
130
  if (!r || r === "full" || // full-native can run this branch when it falls through in case
129
131
  // Element#checkVisibility is unsupported
130
132
  r === "full-native" || r === "legacy-full") {
131
133
  if (typeof i == "function") {
132
134
  for (var v = e; e; ) {
133
- var a = e.parentElement, s = N(e);
135
+ var a = e.parentElement, l = L(e);
134
136
  if (a && !a.shadowRoot && i(a) === !0)
135
137
  return q(e);
136
- e.assignedSlot ? e = e.assignedSlot : !a && s !== e.ownerDocument ? e = s.host : e = a;
138
+ e.assignedSlot ? e = e.assignedSlot : !a && l !== e.ownerDocument ? e = l.host : e = a;
137
139
  }
138
140
  e = v;
139
141
  }
@@ -159,10 +161,7 @@ var oe = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
159
161
  }
160
162
  return !1;
161
163
  }, F = function(e, t) {
162
- return !(t.disabled || // we must do an inert look up to filter out any elements inside an inert ancestor
163
- // because we're limited in the type of selectors we can use in JSDom (see related
164
- // note related to `candidateSelectors`)
165
- C(t) || fe(t) || me(t, e) || // For a details element with a summary, the summary element gets the focus
164
+ return !(t.disabled || fe(t) || me(t, e) || // For a details element with a summary, the summary element gets the focus
166
165
  de(t) || be(t));
167
166
  }, G = function(e, t) {
168
167
  return !(ye(t) || re(t) < 0 || !F(e, t));
@@ -172,8 +171,8 @@ var oe = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
172
171
  }, ie = function(e) {
173
172
  var t = [], r = [];
174
173
  return e.forEach(function(i, o) {
175
- var u = !!i.scopeParent, l = u ? i.scopeParent : i, v = se(l, u), a = u ? ie(i.candidates) : l;
176
- v === 0 ? u ? t.push.apply(t, a) : t.push(l) : r.push({
174
+ var u = !!i.scopeParent, s = u ? i.scopeParent : i, v = le(s, u), a = u ? ie(i.candidates) : s;
175
+ v === 0 ? u ? t.push.apply(t, a) : t.push(s) : r.push({
177
176
  documentOrder: o,
178
177
  tabIndex: v,
179
178
  item: i,
@@ -203,7 +202,7 @@ var oe = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
203
202
  }, He = function(e, t) {
204
203
  if (t = t || {}, !e)
205
204
  throw new Error("No node provided");
206
- return w.call(e, L) === !1 ? !1 : G(t, e);
205
+ return w.call(e, A) === !1 ? !1 : G(t, e);
207
206
  }, Ee = (n, e, t) => {
208
207
  if (e.length === 1 && e[0] === t) {
209
208
  let r = !1;
@@ -229,13 +228,13 @@ Ensure transformation logic is in the result function, and extraction logic is i
229
228
  }
230
229
  }
231
230
  }, Oe = (n, e, t) => {
232
- const { memoize: r, memoizeOptions: i } = e, { inputSelectorResults: o, inputSelectorResultsCopy: u } = n, l = r(() => ({}), ...i);
233
- if (!(l.apply(null, o) === l.apply(null, u))) {
231
+ const { memoize: r, memoizeOptions: i } = e, { inputSelectorResults: o, inputSelectorResultsCopy: u } = n, s = r(() => ({}), ...i);
232
+ if (!(s.apply(null, o) === s.apply(null, u))) {
234
233
  let a;
235
234
  try {
236
235
  throw new Error();
237
- } catch (s) {
238
- ({ stack: a } = s);
236
+ } catch (l) {
237
+ ({ stack: a } = l);
239
238
  }
240
239
  console.warn(
241
240
  `An input selector returned a different result when passed same arguments.
@@ -319,16 +318,16 @@ function Ae(n) {
319
318
  }
320
319
  function Le(n, e) {
321
320
  let t = [];
322
- function r(l) {
323
- const v = t.findIndex((a) => e(l, a.key));
321
+ function r(s) {
322
+ const v = t.findIndex((a) => e(s, a.key));
324
323
  if (v > -1) {
325
324
  const a = t[v];
326
325
  return v > 0 && (t.splice(v, 1), t.unshift(a)), a.value;
327
326
  }
328
327
  return k;
329
328
  }
330
- function i(l, v) {
331
- r(l) === k && (t.unshift({ key: l, value: v }), t.length > n && t.pop());
329
+ function i(s, v) {
330
+ r(s) === k && (t.unshift({ key: s, value: v }), t.length > n && t.pop());
332
331
  }
333
332
  function o() {
334
333
  return t;
@@ -356,25 +355,25 @@ function Pe(n, e) {
356
355
  maxSize: i = 1,
357
356
  resultEqualityCheck: o
358
357
  } = t, u = De(r);
359
- let l = 0;
358
+ let s = 0;
360
359
  const v = i <= 1 ? Ae(u) : Le(i, u);
361
360
  function a() {
362
- let s = v.get(arguments);
363
- if (s === k) {
364
- if (s = n.apply(null, arguments), l++, o) {
361
+ let l = v.get(arguments);
362
+ if (l === k) {
363
+ if (l = n.apply(null, arguments), s++, o) {
365
364
  const h = v.getEntries().find(
366
- (c) => o(c.value, s)
365
+ (c) => o(c.value, l)
367
366
  );
368
- h && (s = h.value, l !== 0 && l--);
367
+ h && (l = h.value, s !== 0 && s--);
369
368
  }
370
- v.put(arguments, s);
369
+ v.put(arguments, l);
371
370
  }
372
- return s;
371
+ return l;
373
372
  }
374
373
  return a.clearCache = () => {
375
374
  v.clear(), a.resetResultsCount();
376
- }, a.resultsCount = () => l, a.resetResultsCount = () => {
377
- l = 0;
375
+ }, a.resultsCount = () => s, a.resetResultsCount = () => {
376
+ s = 0;
378
377
  }, a;
379
378
  }
380
379
  var ke = class {
@@ -385,7 +384,7 @@ var ke = class {
385
384
  return this.value;
386
385
  }
387
386
  }, xe = typeof WeakRef < "u" ? WeakRef : ke, Me = 0, $ = 1;
388
- function T() {
387
+ function C() {
389
388
  return {
390
389
  s: Me,
391
390
  v: void 0,
@@ -394,38 +393,38 @@ function T() {
394
393
  };
395
394
  }
396
395
  function ue(n, e = {}) {
397
- let t = T();
396
+ let t = C();
398
397
  const { resultEqualityCheck: r } = e;
399
398
  let i, o = 0;
400
399
  function u() {
401
- let l = t;
400
+ let s = t;
402
401
  const { length: v } = arguments;
403
402
  for (let f = 0, h = v; f < h; f++) {
404
403
  const c = arguments[f];
405
404
  if (typeof c == "function" || typeof c == "object" && c !== null) {
406
- let d = l.o;
407
- d === null && (l.o = d = /* @__PURE__ */ new WeakMap());
405
+ let d = s.o;
406
+ d === null && (s.o = d = /* @__PURE__ */ new WeakMap());
408
407
  const p = d.get(c);
409
- p === void 0 ? (l = T(), d.set(c, l)) : l = p;
408
+ p === void 0 ? (s = C(), d.set(c, s)) : s = p;
410
409
  } else {
411
- let d = l.p;
412
- d === null && (l.p = d = /* @__PURE__ */ new Map());
410
+ let d = s.p;
411
+ d === null && (s.p = d = /* @__PURE__ */ new Map());
413
412
  const p = d.get(c);
414
- p === void 0 ? (l = T(), d.set(c, l)) : l = p;
413
+ p === void 0 ? (s = C(), d.set(c, s)) : s = p;
415
414
  }
416
415
  }
417
- const a = l;
418
- let s;
419
- if (l.s === $)
420
- s = l.v;
421
- else if (s = n.apply(null, arguments), o++, r) {
416
+ const a = s;
417
+ let l;
418
+ if (s.s === $)
419
+ l = s.v;
420
+ else if (l = n.apply(null, arguments), o++, r) {
422
421
  const f = i?.deref?.() ?? i;
423
- f != null && r(f, s) && (s = f, o !== 0 && o--), i = typeof s == "object" && s !== null || typeof s == "function" ? new xe(s) : s;
422
+ f != null && r(f, l) && (l = f, o !== 0 && o--), i = typeof l == "object" && l !== null || typeof l == "function" ? new xe(l) : l;
424
423
  }
425
- return a.s = $, a.v = s, s;
424
+ return a.s = $, a.v = l, l;
426
425
  }
427
426
  return u.clearCache = () => {
428
- t = T(), u.resetResultsCount();
427
+ t = C(), u.resetResultsCount();
429
428
  }, u.resultsCount = () => o, u.resetResultsCount = () => {
430
429
  o = 0;
431
430
  }, u;
@@ -435,12 +434,12 @@ function Ve(n, ...e) {
435
434
  memoize: n,
436
435
  memoizeOptions: e
437
436
  } : n, r = (...i) => {
438
- let o = 0, u = 0, l, v = {}, a = i.pop();
437
+ let o = 0, u = 0, s, v = {}, a = i.pop();
439
438
  typeof a == "object" && (v = a, a = i.pop()), Re(
440
439
  a,
441
440
  `createSelector expects an output function after the inputs, but received: [${typeof a}]`
442
441
  );
443
- const s = {
442
+ const l = {
444
443
  ...t,
445
444
  ...v
446
445
  }, {
@@ -449,7 +448,7 @@ function Ve(n, ...e) {
449
448
  argsMemoize: c = ue,
450
449
  argsMemoizeOptions: d = [],
451
450
  devModeChecks: p = {}
452
- } = s, y = U(h), b = U(d), g = Te(i), O = f(function() {
451
+ } = l, y = U(h), b = U(d), g = Te(i), O = f(function() {
453
452
  return o++, a.apply(
454
453
  null,
455
454
  arguments
@@ -462,12 +461,12 @@ function Ve(n, ...e) {
462
461
  g,
463
462
  arguments
464
463
  );
465
- if (l = O.apply(null, m), process.env.NODE_ENV !== "production") {
464
+ if (s = O.apply(null, m), process.env.NODE_ENV !== "production") {
466
465
  const { identityFunctionCheck: _, inputStabilityCheck: B } = Ie(E, p);
467
466
  if (_.shouldRun && _.run(
468
467
  a,
469
468
  m,
470
- l
469
+ s
471
470
  ), B.shouldRun) {
472
471
  const ae = K(
473
472
  g,
@@ -481,7 +480,7 @@ function Ve(n, ...e) {
481
480
  }
482
481
  E && (E = !1);
483
482
  }
484
- return l;
483
+ return s;
485
484
  }, ...b);
486
485
  return Object.assign(R, {
487
486
  resultFunc: a,
@@ -491,7 +490,7 @@ function Ve(n, ...e) {
491
490
  resetDependencyRecomputations: () => {
492
491
  u = 0;
493
492
  },
494
- lastResult: () => l,
493
+ lastResult: () => s,
495
494
  recomputations: () => o,
496
495
  resetRecomputations: () => {
497
496
  o = 0;
@@ -515,11 +514,11 @@ var je = /* @__PURE__ */ Ve(ue), ze = Object.assign(
515
514
  );
516
515
  return e(
517
516
  r,
518
- (...o) => o.reduce((u, l, v) => (u[t[v]] = l, u), {})
517
+ (...o) => o.reduce((u, s, v) => (u[t[v]] = s, u), {})
519
518
  );
520
519
  },
521
520
  { withTypes: () => ze }
522
- ), I = { exports: {} }, M = {};
521
+ ), T = { exports: {} }, M = {};
523
522
  var H;
524
523
  function Fe() {
525
524
  if (H) return M;
@@ -529,7 +528,7 @@ function Fe() {
529
528
  return f === h && (f !== 0 || 1 / f === 1 / h) || f !== f && h !== h;
530
529
  }
531
530
  var t = typeof Object.is == "function" ? Object.is : e, r = n.useState, i = n.useEffect, o = n.useLayoutEffect, u = n.useDebugValue;
532
- function l(f, h) {
531
+ function s(f, h) {
533
532
  var c = h(), d = r({ inst: { value: c, getSnapshot: h } }), p = d[0].inst, y = d[1];
534
533
  return o(
535
534
  function() {
@@ -558,8 +557,8 @@ function Fe() {
558
557
  function a(f, h) {
559
558
  return h();
560
559
  }
561
- var s = typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u" ? a : l;
562
- return M.useSyncExternalStore = n.useSyncExternalStore !== void 0 ? n.useSyncExternalStore : s, M;
560
+ var l = typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u" ? a : s;
561
+ return M.useSyncExternalStore = n.useSyncExternalStore !== void 0 ? n.useSyncExternalStore : l, M;
563
562
  }
564
563
  var V = {};
565
564
  var P;
@@ -569,7 +568,7 @@ function Ge() {
569
568
  return c === d && (c !== 0 || 1 / c === 1 / d) || c !== c && d !== d;
570
569
  }
571
570
  function e(c, d) {
572
- s || i.startTransition === void 0 || (s = !0, console.error(
571
+ l || i.startTransition === void 0 || (l = !0, console.error(
573
572
  "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."
574
573
  ));
575
574
  var p = d();
@@ -588,7 +587,7 @@ function Ge() {
588
587
  b.value = p, b.getSnapshot = d, t(b) && g({ inst: b });
589
588
  },
590
589
  [c, p, d]
591
- ), l(
590
+ ), s(
592
591
  function() {
593
592
  return t(b) && g({ inst: b }), c(function() {
594
593
  t(b) && g({ inst: b });
@@ -611,31 +610,31 @@ function Ge() {
611
610
  return d();
612
611
  }
613
612
  typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
614
- var i = x, o = typeof Object.is == "function" ? Object.is : n, u = i.useState, l = i.useEffect, v = i.useLayoutEffect, a = i.useDebugValue, s = !1, f = !1, h = typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u" ? r : e;
613
+ var i = x, o = typeof Object.is == "function" ? Object.is : n, u = i.useState, s = i.useEffect, v = i.useLayoutEffect, a = i.useDebugValue, l = !1, f = !1, h = typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u" ? r : e;
615
614
  V.useSyncExternalStore = i.useSyncExternalStore !== void 0 ? i.useSyncExternalStore : h, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
616
615
  })()), V;
617
616
  }
618
617
  var Y;
619
618
  function W() {
620
- return Y || (Y = 1, process.env.NODE_ENV === "production" ? I.exports = Fe() : I.exports = Ge()), I.exports;
619
+ return Y || (Y = 1, process.env.NODE_ENV === "production" ? T.exports = Fe() : T.exports = Ge()), T.exports;
621
620
  }
622
- var Ye = W(), A = { exports: {} }, j = {};
621
+ var Ye = W(), I = { exports: {} }, j = {};
623
622
  var Z;
624
623
  function We() {
625
624
  if (Z) return j;
626
625
  Z = 1;
627
626
  var n = x, e = W();
628
- function t(a, s) {
629
- return a === s && (a !== 0 || 1 / a === 1 / s) || a !== a && s !== s;
627
+ function t(a, l) {
628
+ return a === l && (a !== 0 || 1 / a === 1 / l) || a !== a && l !== l;
630
629
  }
631
- var r = typeof Object.is == "function" ? Object.is : t, i = e.useSyncExternalStore, o = n.useRef, u = n.useEffect, l = n.useMemo, v = n.useDebugValue;
632
- return j.useSyncExternalStoreWithSelector = function(a, s, f, h, c) {
630
+ var r = typeof Object.is == "function" ? Object.is : t, i = e.useSyncExternalStore, o = n.useRef, u = n.useEffect, s = n.useMemo, v = n.useDebugValue;
631
+ return j.useSyncExternalStoreWithSelector = function(a, l, f, h, c) {
633
632
  var d = o(null);
634
633
  if (d.current === null) {
635
634
  var p = { hasValue: !1, value: null };
636
635
  d.current = p;
637
636
  } else p = d.current;
638
- d = l(
637
+ d = s(
639
638
  function() {
640
639
  function b(S) {
641
640
  if (!g) {
@@ -653,14 +652,14 @@ function We() {
653
652
  var g = !1, O, E, R = f === void 0 ? null : f;
654
653
  return [
655
654
  function() {
656
- return b(s());
655
+ return b(l());
657
656
  },
658
657
  R === null ? void 0 : function() {
659
658
  return b(R());
660
659
  }
661
660
  ];
662
661
  },
663
- [s, f, h, c]
662
+ [l, f, h, c]
664
663
  );
665
664
  var y = i(a, d[0], d[1]);
666
665
  return u(
@@ -675,18 +674,18 @@ var z = {};
675
674
  var X;
676
675
  function Be() {
677
676
  return X || (X = 1, process.env.NODE_ENV !== "production" && (function() {
678
- function n(a, s) {
679
- return a === s && (a !== 0 || 1 / a === 1 / s) || a !== a && s !== s;
677
+ function n(a, l) {
678
+ return a === l && (a !== 0 || 1 / a === 1 / l) || a !== a && l !== l;
680
679
  }
681
680
  typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
682
- var e = x, t = W(), r = typeof Object.is == "function" ? Object.is : n, i = t.useSyncExternalStore, o = e.useRef, u = e.useEffect, l = e.useMemo, v = e.useDebugValue;
683
- z.useSyncExternalStoreWithSelector = function(a, s, f, h, c) {
681
+ var e = x, t = W(), r = typeof Object.is == "function" ? Object.is : n, i = t.useSyncExternalStore, o = e.useRef, u = e.useEffect, s = e.useMemo, v = e.useDebugValue;
682
+ z.useSyncExternalStoreWithSelector = function(a, l, f, h, c) {
684
683
  var d = o(null);
685
684
  if (d.current === null) {
686
685
  var p = { hasValue: !1, value: null };
687
686
  d.current = p;
688
687
  } else p = d.current;
689
- d = l(
688
+ d = s(
690
689
  function() {
691
690
  function b(S) {
692
691
  if (!g) {
@@ -705,14 +704,14 @@ function Be() {
705
704
  var g = !1, O, E, R = f === void 0 ? null : f;
706
705
  return [
707
706
  function() {
708
- return b(s());
707
+ return b(l());
709
708
  },
710
709
  R === null ? void 0 : function() {
711
710
  return b(R());
712
711
  }
713
712
  ];
714
713
  },
715
- [s, f, h, c]
714
+ [l, f, h, c]
716
715
  );
717
716
  var y = i(a, d[0], d[1]);
718
717
  return u(
@@ -726,7 +725,7 @@ function Be() {
726
725
  }
727
726
  var J;
728
727
  function qe() {
729
- return J || (J = 1, process.env.NODE_ENV === "production" ? A.exports = We() : A.exports = Be()), A.exports;
728
+ return J || (J = 1, process.env.NODE_ENV === "production" ? I.exports = We() : I.exports = Be()), I.exports;
730
729
  }
731
730
  var Ze = qe();
732
731
  export {
@@ -738,4 +737,4 @@ export {
738
737
  Ke as t,
739
738
  Ze as w
740
739
  };
741
- //# sourceMappingURL=vendor-utils-DD8jNJwD.js.map
740
+ //# sourceMappingURL=vendor-utils-DKXfkDYu.js.map