@sanity/ui 3.4.3 → 3.4.4

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 (39) hide show
  1. package/dist/_chunks/refractor.cjs +18 -0
  2. package/dist/_chunks/refractor.cjs.map +1 -0
  3. package/dist/_chunks/refractor.js +9 -7
  4. package/dist/_chunks/refractor.js.map +1 -1
  5. package/dist/_chunks/{tabList.mjs → tabList.cjs} +922 -431
  6. package/dist/_chunks/tabList.cjs.map +1 -0
  7. package/dist/_chunks/tabList.js +471 -880
  8. package/dist/_chunks/tabList.js.map +1 -1
  9. package/dist/_chunks/{theme.mjs → theme.cjs} +266 -11
  10. package/dist/_chunks/theme.cjs.map +1 -0
  11. package/dist/_chunks/{theme.d.mts → theme.d.cts} +11 -11
  12. package/dist/_chunks/{theme.d.mts.map → theme.d.cts.map} +1 -1
  13. package/dist/_chunks/theme.d.ts +10 -10
  14. package/dist/_chunks/theme.js +10 -265
  15. package/dist/_chunks/theme.js.map +1 -1
  16. package/dist/_chunks/{useTheme.d.mts → useTheme.d.cts} +26 -26
  17. package/dist/_chunks/{useTheme.d.mts.map → useTheme.d.cts.map} +1 -1
  18. package/dist/_chunks/useTheme.d.ts +24 -24
  19. package/dist/_visual-editing.cjs +3 -0
  20. package/dist/{_visual-editing.d.mts → _visual-editing.d.cts} +1 -1
  21. package/dist/_visual-editing.js +2 -3
  22. package/dist/{index.mjs → index.cjs} +513 -511
  23. package/dist/index.cjs.map +1 -0
  24. package/dist/{index.d.mts → index.d.cts} +12 -12
  25. package/dist/{index.d.mts.map → index.d.cts.map} +1 -1
  26. package/dist/index.d.ts +9 -9
  27. package/dist/index.js +521 -501
  28. package/dist/index.js.map +1 -1
  29. package/dist/theme.cjs +3 -0
  30. package/dist/{theme.d.mts → theme.d.cts} +1 -1
  31. package/dist/theme.js +2 -3
  32. package/package.json +22 -22
  33. package/dist/_chunks/refractor.mjs +0 -20
  34. package/dist/_chunks/refractor.mjs.map +0 -1
  35. package/dist/_chunks/tabList.mjs.map +0 -1
  36. package/dist/_chunks/theme.mjs.map +0 -1
  37. package/dist/_visual-editing.mjs +0 -2
  38. package/dist/index.mjs.map +0 -1
  39. package/dist/theme.mjs +0 -2
@@ -1,17 +1,8 @@
1
- import { X as getTheme_v2 } from "./_chunks/theme.mjs";
2
- import { $ as responsiveInputPaddingStyle, A as useMediaIndex, At as parseColor, B as _cardColorStyle, C as BoundaryElementContext, Ct as isHTMLTextAreaElement, D as Grid, Dt as hexToRgb, E as Inline, Et as createColorTheme, F as _ResizeObserver, Ft as studioTheme, G as SpanWithTextOverflow, H as Flex, I as useCustomValidity, J as textInputBaseStyle, K as responsiveRadiusStyle, L as useClickOutsideEvent, M as useGlobalKeyDown, Mt as rgbToHsl, N as useElementSize, Nt as rgba, O as usePrefersReducedMotion, Ot as hslToRgb, P as _elementSizeObserver, Pt as screen, Q as responsiveInputPaddingIconRightStyle, R as Card, S as isRecord, St as isHTMLSelectElement, T as KBD, Tt as EMPTY_RECORD, U as Text, V as Spinner, W as Box, X as textInputRepresentationStyle, Y as textInputFontSizeStyle, Z as textInputRootStyle, _ as usePortal, _t as containsOrEqualsElement, a as MenuDivider, at as useRootTheme, b as LayerProvider, bt as isHTMLElement, c as Tooltip, ct as responsiveTextFont, d as useDelayedState, dt as _fillCSSObject, et as focusRingBorderStyle, f as TextInput, ft as _getArrayProp, g as Portal, gt as _isEnterToClickElement, h as PortalProvider, ht as rem, i as MenuGroup, it as ThemeColorProvider, j as useMatchMedia, jt as rgbToHex, k as usePrefersDark, kt as multiply, l as useTooltipDelayGroup, lt as responsiveTextAlignStyle, m as Popover, mt as _responsive, n as Tab, nt as useTheme, o as Menu, ot as ThemeProvider, p as Stack, pt as _getResponsiveSpace, q as responsivePaddingStyle, r as MenuItem, rt as useTheme_v2, s as Hotkeys, st as createGlobalScopedContext, t as TabList, tt as focusRingStyle, u as TooltipDelayGroupContext, ut as responsiveFont, v as Layer, vt as isHTMLAnchorElement, w as Arrow, wt as EMPTY_ARRAY, x as useBoundaryElement, xt as isHTMLInputElement, y as useLayer, yt as isHTMLButtonElement, z as Button } from "./_chunks/tabList.mjs";
3
- import { c } from "react-compiler-runtime";
4
- import { ChevronDownIcon } from "@sanity/icons/ChevronDown";
5
- import { Children, Component, Fragment, Suspense, cloneElement, forwardRef, isValidElement, lazy, startTransition, useContext, useEffect, useId, useImperativeHandle, useMemo, useReducer, useRef, useState, useSyncExternalStore } from "react";
6
- import ReactIs from "react-is";
7
- import { css, keyframes, styled } from "styled-components";
8
- import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
9
- import { SpinnerIcon } from "@sanity/icons/Spinner";
10
- import { CheckmarkIcon } from "@sanity/icons/Checkmark";
11
- import { RemoveIcon } from "@sanity/icons/Remove";
12
- import { AnimatePresence, motion } from "motion/react";
13
- import { CloseIcon } from "@sanity/icons/Close";
14
- import { ToggleArrowRightIcon } from "@sanity/icons/ToggleArrowRight";
1
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
+ const require_tabList = require("./_chunks/tabList.cjs"), require_theme = require("./_chunks/theme.cjs");
3
+ let react_compiler_runtime = require("react-compiler-runtime"), _sanity_icons_ChevronDown = require("@sanity/icons/ChevronDown"), react = require("react"), react_is = require("react-is");
4
+ react_is = require_tabList.It(react_is, 1);
5
+ let styled_components = require("styled-components"), react_jsx_runtime = require("react/jsx-runtime"), _sanity_icons_Spinner = require("@sanity/icons/Spinner"), _sanity_icons_Checkmark = require("@sanity/icons/Checkmark"), _sanity_icons_Remove = require("@sanity/icons/Remove"), motion_react = require("motion/react"), _sanity_icons_Close = require("@sanity/icons/Close"), _sanity_icons_ToggleArrowRight = require("@sanity/icons/ToggleArrowRight");
15
6
  /**
16
7
  * @internal
17
8
  */
@@ -42,7 +33,7 @@ function _hasFocus(element) {
42
33
  * @internal
43
34
  */
44
35
  function isFocusable(element) {
45
- return element.tabIndex > 0 || element.tabIndex === 0 && element.getAttribute("tabIndex") !== null ? !0 : isHTMLAnchorElement(element) ? !!element.href && element.rel !== "ignore" : isHTMLInputElement(element) ? element.type !== "hidden" && element.type !== "file" && !element.disabled : isHTMLButtonElement(element) || isHTMLSelectElement(element) || isHTMLTextAreaElement(element) ? !element.disabled : !1;
36
+ return element.tabIndex > 0 || element.tabIndex === 0 && element.getAttribute("tabIndex") !== null ? !0 : require_tabList.vt(element) ? !!element.href && element.rel !== "ignore" : require_tabList.xt(element) ? element.type !== "hidden" && element.type !== "file" && !element.disabled : require_tabList.yt(element) || require_tabList.St(element) || require_tabList.Ct(element) ? !element.disabled : !1;
46
37
  }
47
38
  /**
48
39
  * @internal
@@ -60,7 +51,7 @@ function attemptFocus(element) {
60
51
  function focusFirstDescendant(element) {
61
52
  for (let i = 0; i < element.childNodes.length; i++) {
62
53
  let child = element.childNodes[i];
63
- if (isHTMLElement(child) && (attemptFocus(child) || focusFirstDescendant(child))) return !0;
54
+ if (require_tabList.bt(child) && (attemptFocus(child) || focusFirstDescendant(child))) return !0;
64
55
  }
65
56
  return !1;
66
57
  }
@@ -70,7 +61,7 @@ function focusFirstDescendant(element) {
70
61
  function focusLastDescendant(element) {
71
62
  for (let i = element.childNodes.length - 1; i >= 0; i--) {
72
63
  let child = element.childNodes[i];
73
- if (isHTMLElement(child) && (attemptFocus(child) || focusLastDescendant(child))) return !0;
64
+ if (require_tabList.bt(child) && (attemptFocus(child) || focusLastDescendant(child))) return !0;
74
65
  }
75
66
  return !1;
76
67
  }
@@ -87,46 +78,46 @@ function _isScrollable(el) {
87
78
  * @internal
88
79
  */
89
80
  function responsiveCodeFontStyle(props) {
90
- return responsiveFont("code", props);
81
+ return require_tabList.ut("code", props);
91
82
  }
92
83
  /**
93
84
  * Get responsive CSS for the `heading` font style.
94
85
  * @internal
95
86
  */
96
87
  function responsiveHeadingFont(props) {
97
- return responsiveFont("heading", props);
88
+ return require_tabList.ut("heading", props);
98
89
  }
99
90
  /**
100
91
  * Get responsive CSS for the `label` font style.
101
92
  * @internal
102
93
  */
103
94
  function responsiveLabelFont(props) {
104
- return responsiveFont("label", props);
95
+ return require_tabList.ut("label", props);
105
96
  }
106
97
  function labelBaseStyle(props) {
107
- let { $accent, $muted } = props, { font } = getTheme_v2(props.theme);
108
- return css`text-transform:uppercase;${$accent && css`color:var(--card-accent-fg-color);`} ${$muted && css`color:var(--card-muted-fg-color);`} & code{font-family:${font.code.family};border-radius:1px;}& a{text-decoration:none;border-radius:1px;}& svg{display:inline;}& [data-sanity-icon]{vertical-align:baseline;}`;
98
+ let { $accent, $muted } = props, { font } = require_theme.X(props.theme);
99
+ return styled_components.css`text-transform:uppercase;${$accent && styled_components.css`color:var(--card-accent-fg-color);`} ${$muted && styled_components.css`color:var(--card-muted-fg-color);`} & code{font-family:${font.code.family};border-radius:1px;}& a{text-decoration:none;border-radius:1px;}& svg{display:inline;}& [data-sanity-icon]{vertical-align:baseline;}`;
109
100
  }
110
- const StyledLabel = /* @__PURE__ */ styled.div.withConfig({
101
+ const StyledLabel = /* @__PURE__ */ styled_components.styled.div.withConfig({
111
102
  displayName: "StyledLabel",
112
103
  componentId: "sc-rdxcu9-0"
113
- })(responsiveLabelFont, responsiveTextAlignStyle, labelBaseStyle), Label = forwardRef(function Label(props, ref) {
114
- let $ = c(26), accent, align, childrenProp, restProps, t0, t1, textOverflow, weight;
104
+ })(responsiveLabelFont, require_tabList.lt, labelBaseStyle), Label = (0, react.forwardRef)(function Label(props, ref) {
105
+ let $ = (0, react_compiler_runtime.c)(26), accent, align, childrenProp, restProps, t0, t1, textOverflow, weight;
115
106
  $[0] === props ? (accent = $[1], align = $[2], childrenProp = $[3], restProps = $[4], t0 = $[5], t1 = $[6], textOverflow = $[7], weight = $[8]) : ({accent, align, children: childrenProp, muted: t0, size: t1, textOverflow, weight, ...restProps} = props, $[0] = props, $[1] = accent, $[2] = align, $[3] = childrenProp, $[4] = restProps, $[5] = t0, $[6] = t1, $[7] = textOverflow, $[8] = weight);
116
107
  let muted = t0 !== void 0 && t0, size = t1 === void 0 ? 2 : t1, children = childrenProp;
117
108
  if (textOverflow === "ellipsis") {
118
109
  let t2;
119
- $[9] === children ? t2 = $[10] : (t2 = /* @__PURE__ */ jsx(SpanWithTextOverflow, { children }), $[9] = children, $[10] = t2), children = t2;
110
+ $[9] === children ? t2 = $[10] : (t2 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_tabList.G, { children }), $[9] = children, $[10] = t2), children = t2;
120
111
  } else {
121
112
  let t2;
122
- $[11] === children ? t2 = $[12] : (t2 = /* @__PURE__ */ jsx("span", { children }), $[11] = children, $[12] = t2), children = t2;
113
+ $[11] === children ? t2 = $[12] : (t2 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", { children }), $[11] = children, $[12] = t2), children = t2;
123
114
  }
124
115
  let t2;
125
- $[13] === align ? t2 = $[14] : (t2 = _getArrayProp(align), $[13] = align, $[14] = t2);
116
+ $[13] === align ? t2 = $[14] : (t2 = require_tabList.ft(align), $[13] = align, $[14] = t2);
126
117
  let t3;
127
- $[15] === size ? t3 = $[16] : (t3 = _getArrayProp(size), $[15] = size, $[16] = t3);
118
+ $[15] === size ? t3 = $[16] : (t3 = require_tabList.ft(size), $[15] = size, $[16] = t3);
128
119
  let t4;
129
- return $[17] !== accent || $[18] !== children || $[19] !== muted || $[20] !== ref || $[21] !== restProps || $[22] !== t2 || $[23] !== t3 || $[24] !== weight ? (t4 = /* @__PURE__ */ jsx(StyledLabel, {
120
+ return $[17] !== accent || $[18] !== children || $[19] !== muted || $[20] !== ref || $[21] !== restProps || $[22] !== t2 || $[23] !== t3 || $[24] !== weight ? (t4 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(StyledLabel, {
130
121
  "data-ui": "Label",
131
122
  ...restProps,
132
123
  $accent: accent,
@@ -181,7 +172,7 @@ function avatarArrowStyle() {
181
172
  };
182
173
  }
183
174
  function avatarRootStyle(props) {
184
- let { $color } = props, { avatar } = getTheme_v2(props.theme);
175
+ let { $color } = props, { avatar } = require_theme.X(props.theme);
185
176
  return {
186
177
  "--avatar-bg-color": `var(--card-avatar-${$color}-bg-color)`,
187
178
  "--avatar-fg-color": `var(--card-avatar-${$color}-fg-color)`,
@@ -201,23 +192,23 @@ function avatarRootStyle(props) {
201
192
  font: "inherit",
202
193
  color: "inherit",
203
194
  outline: "none",
204
- "&:focus": { boxShadow: focusRingStyle({ focusRing: avatar.focusRing }) },
195
+ "&:focus": { boxShadow: require_tabList.tt({ focusRing: avatar.focusRing }) },
205
196
  "&:focus:not(:focus-visible)": { boxShadow: "none" }
206
197
  }
207
198
  };
208
199
  }
209
200
  function responsiveAvatarSizeStyle(props) {
210
- let { avatar, media } = getTheme_v2(props.theme);
211
- return _responsive(media, props.$size, (size) => {
201
+ let { avatar, media } = require_theme.X(props.theme);
202
+ return require_tabList.mt(media, props.$size, (size) => {
212
203
  let avatarSize = avatar.sizes[size] || avatar.sizes[0];
213
204
  return {
214
- width: rem(avatarSize.size),
215
- height: rem(avatarSize.size),
216
- borderRadius: rem(avatarSize.size / 2),
205
+ width: require_tabList.ht(avatarSize.size),
206
+ height: require_tabList.ht(avatarSize.size),
207
+ borderRadius: require_tabList.ht(avatarSize.size / 2),
217
208
  "&>svg": {
218
- width: rem(avatarSize.size),
219
- height: rem(avatarSize.size),
220
- borderRadius: rem(avatarSize.size / 2)
209
+ width: require_tabList.ht(avatarSize.size),
210
+ height: require_tabList.ht(avatarSize.size),
211
+ borderRadius: require_tabList.ht(avatarSize.size / 2)
221
212
  }
222
213
  };
223
214
  });
@@ -254,86 +245,86 @@ function avatarStrokeStyle() {
254
245
  }
255
246
  };
256
247
  }
257
- const StyledAvatar = /* @__PURE__ */ styled.div.withConfig({
248
+ const StyledAvatar = /* @__PURE__ */ styled_components.styled.div.withConfig({
258
249
  displayName: "StyledAvatar",
259
250
  componentId: "sc-skil6v-0"
260
- })(responsiveAvatarSizeStyle, avatarStyle.root), Arrow$1 = /* @__PURE__ */ styled.div.withConfig({
251
+ })(responsiveAvatarSizeStyle, avatarStyle.root), Arrow$1 = /* @__PURE__ */ styled_components.styled.div.withConfig({
261
252
  displayName: "Arrow",
262
253
  componentId: "sc-skil6v-1"
263
- })(avatarStyle.arrow), BgStroke = /* @__PURE__ */ styled.ellipse.withConfig({
254
+ })(avatarStyle.arrow), BgStroke = /* @__PURE__ */ styled_components.styled.ellipse.withConfig({
264
255
  displayName: "BgStroke",
265
256
  componentId: "sc-skil6v-2"
266
- })(avatarStyle.bgStroke), Stroke = /* @__PURE__ */ styled.ellipse.withConfig({
257
+ })(avatarStyle.bgStroke), Stroke = /* @__PURE__ */ styled_components.styled.ellipse.withConfig({
267
258
  displayName: "Stroke",
268
259
  componentId: "sc-skil6v-3"
269
- })(avatarStyle.stroke), Initials = /* @__PURE__ */ styled.div.withConfig({
260
+ })(avatarStyle.stroke), Initials = /* @__PURE__ */ styled_components.styled.div.withConfig({
270
261
  displayName: "Initials",
271
262
  componentId: "sc-skil6v-4"
272
- })(avatarStyle.initials), InitialsLabel = /* @__PURE__ */ styled(Label).withConfig({
263
+ })(avatarStyle.initials), InitialsLabel = /* @__PURE__ */ (0, styled_components.styled)(Label).withConfig({
273
264
  displayName: "InitialsLabel",
274
265
  componentId: "sc-skil6v-5"
275
- })({ color: "inherit" }), AvatarImage = /* @__PURE__ */ styled.svg.withConfig({
266
+ })({ color: "inherit" }), AvatarImage = /* @__PURE__ */ styled_components.styled.svg.withConfig({
276
267
  displayName: "AvatarImage",
277
268
  componentId: "sc-skil6v-6"
278
- })(avatarStyle.image), Avatar = forwardRef(function Avatar(props, ref) {
279
- let $ = c(46), __unstable_hideInnerStroke, animateArrowFrom, arrowPositionProp, asProp, initials, onImageLoadError, restProps, src, t0, t1, t2, title;
269
+ })(avatarStyle.image), Avatar = (0, react.forwardRef)(function Avatar(props, ref) {
270
+ let $ = (0, react_compiler_runtime.c)(46), __unstable_hideInnerStroke, animateArrowFrom, arrowPositionProp, asProp, initials, onImageLoadError, restProps, src, t0, t1, t2, title;
280
271
  $[0] === props ? (__unstable_hideInnerStroke = $[1], animateArrowFrom = $[2], arrowPositionProp = $[3], asProp = $[4], initials = $[5], onImageLoadError = $[6], restProps = $[7], src = $[8], t0 = $[9], t1 = $[10], t2 = $[11], title = $[12]) : ({__unstable_hideInnerStroke, as: asProp, color: t0, src, title, initials, onImageLoadError, arrowPosition: arrowPositionProp, animateArrowFrom, status: t1, size: t2, ...restProps} = props, $[0] = props, $[1] = __unstable_hideInnerStroke, $[2] = animateArrowFrom, $[3] = arrowPositionProp, $[4] = asProp, $[5] = initials, $[6] = onImageLoadError, $[7] = restProps, $[8] = src, $[9] = t0, $[10] = t1, $[11] = t2, $[12] = title);
281
- let color = t0 === void 0 ? "gray" : t0, status = t1 === void 0 ? "online" : t1, sizeProp = t2 === void 0 ? 1 : t2, { avatar } = useTheme_v2(), as = ReactIs.isValidElementType(asProp) ? asProp : "div", size = _getArrayProp(sizeProp), _sizeRem = (avatar.sizes[size[0]] || avatar.sizes[0]).size, _radius = _sizeRem / 2, elementId = useId(), [arrowPosition, setArrowPosition] = useState(animateArrowFrom || arrowPositionProp || "inside"), [imageFailed, setImageFailed] = useState(!1), imageId = `avatar-image-${elementId}`, t3, t4;
272
+ let color = t0 === void 0 ? "gray" : t0, status = t1 === void 0 ? "online" : t1, sizeProp = t2 === void 0 ? 1 : t2, { avatar } = require_tabList.rt(), as = react_is.default.isValidElementType(asProp) ? asProp : "div", size = require_tabList.ft(sizeProp), _sizeRem = (avatar.sizes[size[0]] || avatar.sizes[0]).size, _radius = _sizeRem / 2, elementId = (0, react.useId)(), [arrowPosition, setArrowPosition] = (0, react.useState)(animateArrowFrom || arrowPositionProp || "inside"), [imageFailed, setImageFailed] = (0, react.useState)(!1), imageId = `avatar-image-${elementId}`, t3, t4;
282
273
  $[13] !== arrowPosition || $[14] !== arrowPositionProp ? (t3 = () => {
283
274
  if (arrowPosition === arrowPositionProp) return;
284
275
  let raf = requestAnimationFrame(() => setArrowPosition(arrowPositionProp));
285
276
  return () => cancelAnimationFrame(raf);
286
- }, t4 = [arrowPosition, arrowPositionProp], $[13] = arrowPosition, $[14] = arrowPositionProp, $[15] = t3, $[16] = t4) : (t3 = $[15], t4 = $[16]), useEffect(t3, t4);
277
+ }, t4 = [arrowPosition, arrowPositionProp], $[13] = arrowPosition, $[14] = arrowPositionProp, $[15] = t3, $[16] = t4) : (t3 = $[15], t4 = $[16]), (0, react.useEffect)(t3, t4);
287
278
  let t5, t6;
288
279
  $[17] === src ? (t5 = $[18], t6 = $[19]) : (t5 = () => {
289
280
  src && setImageFailed(!1);
290
- }, t6 = [src], $[17] = src, $[18] = t5, $[19] = t6), useEffect(t5, t6);
281
+ }, t6 = [src], $[17] = src, $[18] = t5, $[19] = t6), (0, react.useEffect)(t5, t6);
291
282
  let t7;
292
283
  $[20] === onImageLoadError ? t7 = $[21] : (t7 = () => {
293
284
  setImageFailed(!0), onImageLoadError && onImageLoadError(/* @__PURE__ */ Error("Avatar: the image failed to load"));
294
285
  }, $[20] = onImageLoadError, $[21] = t7);
295
286
  let handleImageError = t7, T0 = StyledAvatar, t8 = typeof as == "string" ? as : void 0, t10;
296
- $[22] === color ? t10 = $[23] : (t10 = /* @__PURE__ */ jsx(Arrow$1, { children: /* @__PURE__ */ jsx("svg", {
287
+ $[22] === color ? t10 = $[23] : (t10 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(Arrow$1, { children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("svg", {
297
288
  width: "11",
298
289
  height: "7",
299
290
  viewBox: "0 0 11 7",
300
291
  fill: "none",
301
- children: /* @__PURE__ */ jsx("path", {
292
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
302
293
  d: "M6.67948 1.50115L11 7L0 7L4.32052 1.50115C4.92109 0.736796 6.07891 0.736795 6.67948 1.50115Z",
303
294
  fill: color
304
295
  })
305
296
  }) }), $[22] = color, $[23] = t10);
306
297
  let t11;
307
- $[24] !== __unstable_hideInnerStroke || $[25] !== _radius || $[26] !== _sizeRem || $[27] !== handleImageError || $[28] !== imageFailed || $[29] !== imageId || $[30] !== src ? (t11 = !imageFailed && src && /* @__PURE__ */ jsxs(AvatarImage, {
298
+ $[24] !== __unstable_hideInnerStroke || $[25] !== _radius || $[26] !== _sizeRem || $[27] !== handleImageError || $[28] !== imageFailed || $[29] !== imageId || $[30] !== src ? (t11 = !imageFailed && src && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(AvatarImage, {
308
299
  viewBox: `0 0 ${_sizeRem} ${_sizeRem}`,
309
300
  fill: "none",
310
301
  children: [
311
- /* @__PURE__ */ jsx("defs", { children: /* @__PURE__ */ jsx("pattern", {
302
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("defs", { children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("pattern", {
312
303
  id: imageId,
313
304
  patternContentUnits: "objectBoundingBox",
314
305
  width: "1",
315
306
  height: "1",
316
- children: /* @__PURE__ */ jsx("image", {
307
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("image", {
317
308
  href: src,
318
309
  width: "1",
319
310
  height: "1",
320
311
  onError: handleImageError
321
312
  })
322
313
  }) }),
323
- /* @__PURE__ */ jsx("circle", {
314
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("circle", {
324
315
  cx: _radius,
325
316
  cy: _radius,
326
317
  r: _radius,
327
318
  fill: `url(#${imageId})`
328
319
  }),
329
- !__unstable_hideInnerStroke && /* @__PURE__ */ jsx(BgStroke, {
320
+ !__unstable_hideInnerStroke && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(BgStroke, {
330
321
  cx: _radius,
331
322
  cy: _radius,
332
323
  rx: _radius,
333
324
  ry: _radius,
334
325
  vectorEffect: "non-scaling-stroke"
335
326
  }),
336
- /* @__PURE__ */ jsx(Stroke, {
327
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)(Stroke, {
337
328
  cx: _radius,
338
329
  cy: _radius,
339
330
  rx: _radius,
@@ -342,13 +333,13 @@ const StyledAvatar = /* @__PURE__ */ styled.div.withConfig({
342
333
  })
343
334
  ]
344
335
  }), $[24] = __unstable_hideInnerStroke, $[25] = _radius, $[26] = _sizeRem, $[27] = handleImageError, $[28] = imageFailed, $[29] = imageId, $[30] = src, $[31] = t11) : t11 = $[31];
345
- let t12 = (imageFailed || !src) && initials && /* @__PURE__ */ jsx(Fragment$1, { children: /* @__PURE__ */ jsx(Initials, { children: /* @__PURE__ */ jsx(InitialsLabel, {
336
+ let t12 = (imageFailed || !src) && initials && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(react_jsx_runtime.Fragment, { children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(Initials, { children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(InitialsLabel, {
346
337
  forwardedAs: "span",
347
- size: size.map(_temp$4),
338
+ size: size.map(_temp$5),
348
339
  weight: "medium",
349
340
  children: initials
350
341
  }) }) }), t13;
351
- return $[32] !== T0 || $[33] !== arrowPosition || $[34] !== as || $[35] !== color || $[36] !== ref || $[37] !== restProps || $[38] !== size || $[39] !== status || $[40] !== t10 || $[41] !== t11 || $[42] !== t12 || $[43] !== t8 || $[44] !== title ? (t13 = /* @__PURE__ */ jsxs(T0, {
342
+ return $[32] !== T0 || $[33] !== arrowPosition || $[34] !== as || $[35] !== color || $[36] !== ref || $[37] !== restProps || $[38] !== size || $[39] !== status || $[40] !== t10 || $[41] !== t11 || $[42] !== t12 || $[43] !== t8 || $[44] !== title ? (t13 = /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(T0, {
352
343
  as,
353
344
  "data-as": t8,
354
345
  "data-ui": "Avatar",
@@ -367,85 +358,85 @@ const StyledAvatar = /* @__PURE__ */ styled.div.withConfig({
367
358
  ]
368
359
  }), $[32] = T0, $[33] = arrowPosition, $[34] = as, $[35] = color, $[36] = ref, $[37] = restProps, $[38] = size, $[39] = status, $[40] = t10, $[41] = t11, $[42] = t12, $[43] = t8, $[44] = title, $[45] = t13) : t13 = $[45], t13;
369
360
  });
370
- function _temp$4(s) {
361
+ function _temp$5(s) {
371
362
  return s === 1 ? 1 : s === 2 ? 3 : s === 3 ? 5 : 0;
372
363
  }
373
364
  function _responsiveAvatarCounterSizeStyle(props) {
374
- let { avatar, media } = getTheme_v2(props.theme);
375
- return _responsive(media, props.$size, (size) => {
365
+ let { avatar, media } = require_theme.X(props.theme);
366
+ return require_tabList.mt(media, props.$size, (size) => {
376
367
  let avatarSize = avatar.sizes[size];
377
368
  return avatarSize ? {
378
- borderRadius: rem(avatarSize.size / 2),
379
- minWidth: rem(avatarSize.size),
380
- height: rem(avatarSize.size)
381
- } : EMPTY_RECORD;
369
+ borderRadius: require_tabList.ht(avatarSize.size / 2),
370
+ minWidth: require_tabList.ht(avatarSize.size),
371
+ height: require_tabList.ht(avatarSize.size)
372
+ } : require_tabList.Tt;
382
373
  });
383
374
  }
384
375
  function _avatarCounterBaseStyle(props) {
385
- let { space } = getTheme_v2(props.theme);
386
- return css`align-items:center;justify-content:center;box-sizing:border-box;user-select:none;color:inherit;color:var(--card-fg-color);background:var(--card-bg-color);box-shadow:0 0 0 1px var(--card-bg-color),inset 0 0 0 1px var(--card-hairline-hard-color);padding:0 ${rem(space[2])};&:not([hidden]){display:flex;}`;
376
+ let { space } = require_theme.X(props.theme);
377
+ return styled_components.css`align-items:center;justify-content:center;box-sizing:border-box;user-select:none;color:inherit;color:var(--card-fg-color);background:var(--card-bg-color);box-shadow:0 0 0 1px var(--card-bg-color),inset 0 0 0 1px var(--card-hairline-hard-color);padding:0 ${require_tabList.ht(space[2])};&:not([hidden]){display:flex;}`;
387
378
  }
388
- const StyledAvatarCounter = /* @__PURE__ */ styled.div.withConfig({
379
+ const StyledAvatarCounter = /* @__PURE__ */ styled_components.styled.div.withConfig({
389
380
  displayName: "StyledAvatarCounter",
390
381
  componentId: "sc-6uv8jj-0"
391
- })(_responsiveAvatarCounterSizeStyle, _avatarCounterBaseStyle), AvatarCounter = forwardRef(function AvatarCounter(props, ref) {
392
- let $ = c(20), { count, size: t0 } = props, sizeProp = t0 === void 0 ? 1 : t0, T0, T1, t1, t2, t3, t4, t5;
382
+ })(_responsiveAvatarCounterSizeStyle, _avatarCounterBaseStyle), AvatarCounter = (0, react.forwardRef)(function AvatarCounter(props, ref) {
383
+ let $ = (0, react_compiler_runtime.c)(20), { count, size: t0 } = props, sizeProp = t0 === void 0 ? 1 : t0, T0, T1, t1, t2, t3, t4, t5;
393
384
  if ($[0] !== ref || $[1] !== sizeProp) {
394
- let size = _getArrayProp(sizeProp);
395
- T1 = StyledAvatarCounter, t3 = size, t4 = "AvatarCounter", t5 = ref, T0 = Label, t1 = "span", t2 = size.map(_temp$3), $[0] = ref, $[1] = sizeProp, $[2] = T0, $[3] = T1, $[4] = t1, $[5] = t2, $[6] = t3, $[7] = t4, $[8] = t5;
385
+ let size = require_tabList.ft(sizeProp);
386
+ T1 = StyledAvatarCounter, t3 = size, t4 = "AvatarCounter", t5 = ref, T0 = Label, t1 = "span", t2 = size.map(_temp$4), $[0] = ref, $[1] = sizeProp, $[2] = T0, $[3] = T1, $[4] = t1, $[5] = t2, $[6] = t3, $[7] = t4, $[8] = t5;
396
387
  } else T0 = $[2], T1 = $[3], t1 = $[4], t2 = $[5], t3 = $[6], t4 = $[7], t5 = $[8];
397
388
  let t6;
398
- $[9] !== T0 || $[10] !== count || $[11] !== t1 || $[12] !== t2 ? (t6 = /* @__PURE__ */ jsx(T0, {
389
+ $[9] !== T0 || $[10] !== count || $[11] !== t1 || $[12] !== t2 ? (t6 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(T0, {
399
390
  as: t1,
400
391
  size: t2,
401
392
  weight: "medium",
402
393
  children: count
403
394
  }), $[9] = T0, $[10] = count, $[11] = t1, $[12] = t2, $[13] = t6) : t6 = $[13];
404
395
  let t7;
405
- return $[14] !== T1 || $[15] !== t3 || $[16] !== t4 || $[17] !== t5 || $[18] !== t6 ? (t7 = /* @__PURE__ */ jsx(T1, {
396
+ return $[14] !== T1 || $[15] !== t3 || $[16] !== t4 || $[17] !== t5 || $[18] !== t6 ? (t7 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(T1, {
406
397
  $size: t3,
407
398
  "data-ui": t4,
408
399
  ref: t5,
409
400
  children: t6
410
401
  }), $[14] = T1, $[15] = t3, $[16] = t4, $[17] = t5, $[18] = t6, $[19] = t7) : t7 = $[19], t7;
411
402
  });
412
- function _temp$3(s) {
403
+ function _temp$4(s) {
413
404
  return s === 1 ? 1 : s === 2 ? 3 : s === 3 ? 5 : 0;
414
405
  }
415
- const BASE_STYLES = css`white-space:nowrap;& > div{vertical-align:top;&:not([hidden]){display:inline-block;}}`;
406
+ const BASE_STYLES = styled_components.css`white-space:nowrap;& > div{vertical-align:top;&:not([hidden]){display:inline-block;}}`;
416
407
  function avatarStackStyle() {
417
408
  return BASE_STYLES;
418
409
  }
419
410
  function responsiveAvatarStackSizeStyle(props) {
420
- let { avatar, media } = getTheme_v2(props.theme);
421
- return _responsive(media, props.$size, (size) => {
411
+ let { avatar, media } = require_theme.X(props.theme);
412
+ return require_tabList.mt(media, props.$size, (size) => {
422
413
  let avatarSize = avatar.sizes[size];
423
- return avatarSize ? { "& > div + div": { marginLeft: rem(avatarSize.distance) } } : EMPTY_RECORD;
414
+ return avatarSize ? { "& > div + div": { marginLeft: require_tabList.ht(avatarSize.distance) } } : require_tabList.Tt;
424
415
  });
425
416
  }
426
- const StyledAvatarStack = /* @__PURE__ */ styled.div.withConfig({
417
+ const StyledAvatarStack = /* @__PURE__ */ styled_components.styled.div.withConfig({
427
418
  displayName: "StyledAvatarStack",
428
419
  componentId: "sc-ttibh-0"
429
- })(responsiveAvatarStackSizeStyle, avatarStackStyle), AvatarStack = forwardRef(function AvatarStack(props, ref) {
430
- let $ = c(38), childrenProp, restProps, t0, t1;
420
+ })(responsiveAvatarStackSizeStyle, avatarStackStyle), AvatarStack = (0, react.forwardRef)(function AvatarStack(props, ref) {
421
+ let $ = (0, react_compiler_runtime.c)(38), childrenProp, restProps, t0, t1;
431
422
  $[0] === props ? (childrenProp = $[1], restProps = $[2], t0 = $[3], t1 = $[4]) : ({children: childrenProp, maxLength: t0, size: t1, ...restProps} = props, $[0] = props, $[1] = childrenProp, $[2] = restProps, $[3] = t0, $[4] = t1);
432
423
  let maxLengthProp = t0 === void 0 ? 4 : t0, sizeProp = t1 === void 0 ? 1 : t1, T0, t2, t3, t4, t5, t6, t7, t8;
433
424
  if ($[5] !== childrenProp || $[6] !== maxLengthProp || $[7] !== ref || $[8] !== restProps || $[9] !== sizeProp) {
434
- let children = Children.toArray(childrenProp).filter(isValidElement), maxLength = Math.max(maxLengthProp, 0), t9;
435
- $[18] === sizeProp ? t9 = $[19] : (t9 = _getArrayProp(sizeProp), $[18] = sizeProp, $[19] = t9);
425
+ let children = react.Children.toArray(childrenProp).filter(react.isValidElement), maxLength = Math.max(maxLengthProp, 0), t9;
426
+ $[18] === sizeProp ? t9 = $[19] : (t9 = require_tabList.ft(sizeProp), $[18] = sizeProp, $[19] = t9);
436
427
  let size = t9, len = children.length, extraCount = len - (maxLength - 1), visibleChildren = extraCount > 1 ? children.slice(extraCount, len) : children;
437
- T0 = StyledAvatarStack, t2 = "AvatarStack", t3 = restProps, t4 = ref, t5 = size, $[20] !== len || $[21] !== size ? (t6 = len === 0 && /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(AvatarCounter, {
428
+ T0 = StyledAvatarStack, t2 = "AvatarStack", t3 = restProps, t4 = ref, t5 = size, $[20] !== len || $[21] !== size ? (t6 = len === 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", { children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(AvatarCounter, {
438
429
  count: len,
439
430
  size
440
- }) }), $[20] = len, $[21] = size, $[22] = t6) : t6 = $[22], $[23] !== extraCount || $[24] !== len || $[25] !== size ? (t7 = len !== 0 && extraCount > 1 && /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(AvatarCounter, {
431
+ }) }), $[20] = len, $[21] = size, $[22] = t6) : t6 = $[22], $[23] !== extraCount || $[24] !== len || $[25] !== size ? (t7 = len !== 0 && extraCount > 1 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", { children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(AvatarCounter, {
441
432
  count: extraCount,
442
433
  size
443
434
  }) }), $[23] = extraCount, $[24] = len, $[25] = size, $[26] = t7) : t7 = $[26];
444
435
  let t10;
445
- $[27] === size ? t10 = $[28] : (t10 = (child, childIndex) => /* @__PURE__ */ jsx("div", { children: cloneElement(child, { size }) }, String(childIndex)), $[27] = size, $[28] = t10), t8 = visibleChildren.map(t10), $[5] = childrenProp, $[6] = maxLengthProp, $[7] = ref, $[8] = restProps, $[9] = sizeProp, $[10] = T0, $[11] = t2, $[12] = t3, $[13] = t4, $[14] = t5, $[15] = t6, $[16] = t7, $[17] = t8;
436
+ $[27] === size ? t10 = $[28] : (t10 = (child, childIndex) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", { children: (0, react.cloneElement)(child, { size }) }, String(childIndex)), $[27] = size, $[28] = t10), t8 = visibleChildren.map(t10), $[5] = childrenProp, $[6] = maxLengthProp, $[7] = ref, $[8] = restProps, $[9] = sizeProp, $[10] = T0, $[11] = t2, $[12] = t3, $[13] = t4, $[14] = t5, $[15] = t6, $[16] = t7, $[17] = t8;
446
437
  } else T0 = $[10], t2 = $[11], t3 = $[12], t4 = $[13], t5 = $[14], t6 = $[15], t7 = $[16], t8 = $[17];
447
438
  let t9;
448
- return $[29] !== T0 || $[30] !== t2 || $[31] !== t3 || $[32] !== t4 || $[33] !== t5 || $[34] !== t6 || $[35] !== t7 || $[36] !== t8 ? (t9 = /* @__PURE__ */ jsxs(T0, {
439
+ return $[29] !== T0 || $[30] !== t2 || $[31] !== t3 || $[32] !== t4 || $[33] !== t5 || $[34] !== t6 || $[35] !== t7 || $[36] !== t8 ? (t9 = /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(T0, {
449
440
  "data-ui": t2,
450
441
  ...t3,
451
442
  ref: t4,
@@ -470,26 +461,26 @@ function badgeStyle(props) {
470
461
  }
471
462
  };
472
463
  }
473
- const StyledBadge = /* @__PURE__ */ styled(Box).withConfig({
464
+ const StyledBadge = /* @__PURE__ */ (0, styled_components.styled)(require_tabList.W).withConfig({
474
465
  displayName: "StyledBadge",
475
466
  componentId: "sc-nx309b-0"
476
- })(responsiveRadiusStyle, badgeStyle), Badge = forwardRef(function Badge(props, ref) {
477
- let $ = c(21), children, restProps, t0, t1, t2, t3;
467
+ })(require_tabList.K, badgeStyle), Badge = (0, react.forwardRef)(function Badge(props, ref) {
468
+ let $ = (0, react_compiler_runtime.c)(21), children, restProps, t0, t1, t2, t3;
478
469
  if ($[0] !== props) {
479
470
  let { children: t4, fontSize: t5, mode: _deprecated_mode, padding: t6, radius: t7, tone: t8, ...t9 } = props;
480
471
  children = t4, t0 = t5, t1 = t6, t2 = t7, t3 = t8, restProps = t9, $[0] = props, $[1] = children, $[2] = restProps, $[3] = t0, $[4] = t1, $[5] = t2, $[6] = t3;
481
472
  } else children = $[1], restProps = $[2], t0 = $[3], t1 = $[4], t2 = $[5], t3 = $[6];
482
473
  let fontSize = t0 === void 0 ? 1 : t0, padding = t1 === void 0 ? 1 : t1, radius = t2 === void 0 ? "full" : t2, tone = t3 === void 0 ? "default" : t3, t4;
483
- $[7] === radius ? t4 = $[8] : (t4 = _getArrayProp(radius), $[7] = radius, $[8] = t4);
474
+ $[7] === radius ? t4 = $[8] : (t4 = require_tabList.ft(radius), $[7] = radius, $[8] = t4);
484
475
  let t5;
485
- $[9] === padding ? t5 = $[10] : (t5 = _getArrayProp(padding), $[9] = padding, $[10] = t5);
476
+ $[9] === padding ? t5 = $[10] : (t5 = require_tabList.ft(padding), $[9] = padding, $[10] = t5);
486
477
  let t6;
487
- $[11] !== children || $[12] !== fontSize ? (t6 = /* @__PURE__ */ jsx(Text, {
478
+ $[11] !== children || $[12] !== fontSize ? (t6 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_tabList.U, {
488
479
  size: fontSize,
489
480
  children
490
481
  }), $[11] = children, $[12] = fontSize, $[13] = t6) : t6 = $[13];
491
482
  let t7;
492
- return $[14] !== ref || $[15] !== restProps || $[16] !== t4 || $[17] !== t5 || $[18] !== t6 || $[19] !== tone ? (t7 = /* @__PURE__ */ jsx(StyledBadge, {
483
+ return $[14] !== ref || $[15] !== restProps || $[16] !== t4 || $[17] !== t5 || $[18] !== t6 || $[19] !== tone ? (t7 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(StyledBadge, {
493
484
  "data-ui": "Badge",
494
485
  ...restProps,
495
486
  $tone: tone,
@@ -504,7 +495,8 @@ const StyledBadge = /* @__PURE__ */ styled(Box).withConfig({
504
495
  * @beta
505
496
  */
506
497
  function useArrayProp(val, defaultVal) {
507
- return useMemo(() => _getArrayProp(val, defaultVal), [val, defaultVal]);
498
+ let $ = (0, react_compiler_runtime.c)(3), t0;
499
+ return $[0] !== defaultVal || $[1] !== val ? (t0 = require_tabList.ft(val, defaultVal), $[0] = defaultVal, $[1] = val, $[2] = t0) : t0 = $[2], t0;
508
500
  }
509
501
  function _getElements(element, elementsArg) {
510
502
  let ret = [element];
@@ -526,9 +518,11 @@ function _getElements(element, elementsArg) {
526
518
  * return <button ref={buttonRef} />
527
519
  * ```
528
520
  */
529
- function useClickOutside(listener, elementsArg = EMPTY_ARRAY, boundaryElement) {
530
- let [element, setElement] = useState(null), [elements, setElements] = useState(() => _getElements(element, elementsArg)), elementsRef = useRef(elements);
531
- return useEffect(() => {
521
+ function useClickOutside(listener, t0, boundaryElement) {
522
+ let $ = (0, react_compiler_runtime.c)(12), elementsArg = t0 === void 0 ? require_tabList.wt : t0, [element, setElement] = (0, react.useState)(null), t1;
523
+ $[0] !== element || $[1] !== elementsArg ? (t1 = () => _getElements(element, elementsArg), $[0] = element, $[1] = elementsArg, $[2] = t1) : t1 = $[2];
524
+ let [elements, setElements] = (0, react.useState)(t1), elementsRef = (0, react.useRef)(elements), t2, t3;
525
+ $[3] !== element || $[4] !== elementsArg ? (t2 = () => {
532
526
  let prevElements = elementsRef.current, nextElements = _getElements(element, elementsArg);
533
527
  if (prevElements.length !== nextElements.length) {
534
528
  setElements(nextElements), elementsRef.current = nextElements;
@@ -538,27 +532,29 @@ function useClickOutside(listener, elementsArg = EMPTY_ARRAY, boundaryElement) {
538
532
  setElements(nextElements), elementsRef.current = nextElements;
539
533
  return;
540
534
  }
541
- for (let el of nextElements) if (!prevElements.includes(el)) {
535
+ for (let el_0 of nextElements) if (!prevElements.includes(el_0)) {
542
536
  setElements(nextElements), elementsRef.current = nextElements;
543
537
  return;
544
538
  }
545
- }, [element, elementsArg]), useEffect(() => {
539
+ }, t3 = [element, elementsArg], $[3] = element, $[4] = elementsArg, $[5] = t2, $[6] = t3) : (t2 = $[5], t3 = $[6]), (0, react.useEffect)(t2, t3);
540
+ let t4, t5;
541
+ return $[7] !== boundaryElement || $[8] !== elements || $[9] !== listener ? (t4 = () => {
546
542
  if (!listener) return;
547
543
  let handleWindowMouseDown = (evt) => {
548
544
  let target = evt.target;
549
545
  if (target instanceof Node && !(boundaryElement && !boundaryElement.contains(target))) {
550
- for (let el of elements) if (target === el || el.contains(target)) return;
546
+ for (let el_1 of elements) if (target === el_1 || el_1.contains(target)) return;
551
547
  listener(evt);
552
548
  }
553
549
  };
554
550
  return window.addEventListener("mousedown", handleWindowMouseDown), () => {
555
551
  window.removeEventListener("mousedown", handleWindowMouseDown);
556
552
  };
557
- }, [
553
+ }, t5 = [
558
554
  boundaryElement,
559
555
  listener,
560
556
  elements
561
- ]), setElement;
557
+ ], $[7] = boundaryElement, $[8] = elements, $[9] = listener, $[10] = t4, $[11] = t5) : (t4 = $[10], t5 = $[11]), (0, react.useEffect)(t4, t5), setElement;
562
558
  }
563
559
  /**
564
560
  * Subscribe to the rect of a DOM element.
@@ -567,7 +563,7 @@ function useClickOutside(listener, elementsArg = EMPTY_ARRAY, boundaryElement) {
567
563
  * @deprecated Use `useElementSize` instead
568
564
  */
569
565
  function useElementRect(element) {
570
- return useElementSize(element)?._contentRect || null;
566
+ return require_tabList.N(element)?._contentRect || null;
571
567
  }
572
568
  /**
573
569
  * @beta
@@ -580,27 +576,27 @@ function useElementRect(element) {
580
576
  * ```
581
577
  */
582
578
  function useForwardedRef(ref) {
583
- let innerRef = useRef(null);
584
- return useImperativeHandle(ref, () => innerRef.current), innerRef;
579
+ let $ = (0, react_compiler_runtime.c)(1), innerRef = (0, react.useRef)(null), t0;
580
+ return $[0] === Symbol.for("react.memo_cache_sentinel") ? (t0 = () => innerRef.current, $[0] = t0) : t0 = $[0], (0, react.useImperativeHandle)(ref, t0), innerRef;
585
581
  }
586
582
  function checkboxBaseStyles() {
587
- return css`position:relative;display:inline-block;`;
583
+ return styled_components.css`position:relative;display:inline-block;`;
588
584
  }
589
585
  function inputElementStyles(props) {
590
- let { color, input, radius } = getTheme_v2(props.theme), { focusRing } = input.checkbox;
591
- return css`position:absolute;top:0;left:0;width:100%;height:100%;outline:none;opacity:0;z-index:1;padding:0;margin:0;& + span{position:relative;display:block;height:${rem(input.checkbox.size)};width:${rem(input.checkbox.size)};box-sizing:border-box;box-shadow:${focusRingBorderStyle({
586
+ let { color, input, radius } = require_theme.X(props.theme), { focusRing } = input.checkbox;
587
+ return styled_components.css`position:absolute;top:0;left:0;width:100%;height:100%;outline:none;opacity:0;z-index:1;padding:0;margin:0;& + span{position:relative;display:block;height:${require_tabList.ht(input.checkbox.size)};width:${require_tabList.ht(input.checkbox.size)};box-sizing:border-box;box-shadow:${require_tabList.et({
592
588
  color: color.input.default.enabled.border,
593
589
  width: input.border.width
594
- })};border-radius:${rem(radius[2])};line-height:1;background-color:${color.input.default.enabled.bg};& > svg{display:block;position:absolute;opacity:0;height:100%;width:100%;& > path{vector-effect:non-scaling-stroke;stroke-width:1.5px !important;}}}&:checked + span{background:${color.input.default.enabled.fg};box-shadow:${focusRingBorderStyle({
590
+ })};border-radius:${require_tabList.ht(radius[2])};line-height:1;background-color:${color.input.default.enabled.bg};& > svg{display:block;position:absolute;opacity:0;height:100%;width:100%;& > path{vector-effect:non-scaling-stroke;stroke-width:1.5px !important;}}}&:checked + span{background:${color.input.default.enabled.fg};box-shadow:${require_tabList.et({
595
591
  color: color.input.default.enabled.fg,
596
592
  width: input.border.width
597
- })};color:${color.input.default.enabled.bg};}&:not(:disabled):focus:focus-visible + span{box-shadow:${focusRingStyle({ focusRing })};}&:not(:disabled):focus:focus-visible&:checked + span{box-shadow:${focusRingStyle({ focusRing: {
593
+ })};color:${color.input.default.enabled.bg};}&:not(:disabled):focus:focus-visible + span{box-shadow:${require_tabList.tt({ focusRing })};}&:not(:disabled):focus:focus-visible&:checked + span{box-shadow:${require_tabList.tt({ focusRing: {
598
594
  width: 1,
599
595
  offset: 1
600
- } })};}&[data-error] + span{background-color:${color.input.invalid.enabled.border};box-shadow:${focusRingBorderStyle({
596
+ } })};}&[data-error] + span{background-color:${color.input.invalid.enabled.border};box-shadow:${require_tabList.et({
601
597
  width: input.border.width,
602
598
  color: color.input.invalid.enabled.muted.bg
603
- })};color:${color.input.default.disabled.fg};}&[data-error]&:checked + span{background-color:${color.input.invalid.enabled.muted.bg};color:${color.input.default.enabled.bg};}&[data-error]&:checked&:not(:disabled):focus:focus-visible + span{box-shadow:${focusRingStyle({
599
+ })};color:${color.input.default.disabled.fg};}&[data-error]&:checked + span{background-color:${color.input.invalid.enabled.muted.bg};color:${color.input.default.enabled.bg};}&[data-error]&:checked&:not(:disabled):focus:focus-visible + span{box-shadow:${require_tabList.tt({
604
600
  border: {
605
601
  width: input.border.width,
606
602
  color: color.input.invalid.readOnly.muted.bg
@@ -609,31 +605,31 @@ function inputElementStyles(props) {
609
605
  width: 1,
610
606
  offset: 1
611
607
  }
612
- })};}&:disabled + span{background-color:${color.input.default.disabled.bg};box-shadow:${focusRingBorderStyle({
608
+ })};}&:disabled + span{background-color:${color.input.default.disabled.bg};box-shadow:${require_tabList.et({
613
609
  width: input.border.width,
614
610
  color: color.input.default.disabled.border
615
- })};color:${color.input.default.disabled.fg};}&:disabled&:checked + span{background-color:${color.input.default.disabled.muted.bg};}&[data-read-only] + span{background-color:${color.input.default.readOnly.bg};box-shadow:${focusRingBorderStyle({
611
+ })};color:${color.input.default.disabled.fg};}&:disabled&:checked + span{background-color:${color.input.default.disabled.muted.bg};}&[data-read-only] + span{background-color:${color.input.default.readOnly.bg};box-shadow:${require_tabList.et({
616
612
  width: input.border.width,
617
613
  color: color.input.default.readOnly.border
618
614
  })};color:${color.input.default.readOnly.fg};}&[data-read-only]&:checked + span{background-color:${color.input.default.readOnly.muted.bg};}&:checked + span > svg:first-child{opacity:1;}&:indeterminate + span > svg:last-child{opacity:1;}`;
619
615
  }
620
- const StyledCheckbox = /* @__PURE__ */ styled.div.withConfig({
616
+ const StyledCheckbox = /* @__PURE__ */ styled_components.styled.div.withConfig({
621
617
  displayName: "StyledCheckbox",
622
618
  componentId: "sc-964wbx-0"
623
- })(checkboxBaseStyles), Input$4 = /* @__PURE__ */ styled.input.withConfig({
619
+ })(checkboxBaseStyles), Input$4 = /* @__PURE__ */ styled_components.styled.input.withConfig({
624
620
  displayName: "Input",
625
621
  componentId: "sc-964wbx-1"
626
- })(inputElementStyles), Checkbox = forwardRef(function Checkbox(props, forwardedRef) {
627
- let $ = c(25), checked, className, customValidity, disabled, indeterminate, readOnly, restProps, style;
622
+ })(inputElementStyles), Checkbox = (0, react.forwardRef)(function Checkbox(props, forwardedRef) {
623
+ let $ = (0, react_compiler_runtime.c)(25), checked, className, customValidity, disabled, indeterminate, readOnly, restProps, style;
628
624
  $[0] === props ? (checked = $[1], className = $[2], customValidity = $[3], disabled = $[4], indeterminate = $[5], readOnly = $[6], restProps = $[7], style = $[8]) : ({checked, className, disabled, indeterminate, customValidity, readOnly, style, ...restProps} = props, $[0] = props, $[1] = checked, $[2] = className, $[3] = customValidity, $[4] = disabled, $[5] = indeterminate, $[6] = readOnly, $[7] = restProps, $[8] = style);
629
- let ref = useRef(null), t0;
630
- $[9] === Symbol.for("react.memo_cache_sentinel") ? (t0 = () => ref.current, $[9] = t0) : t0 = $[9], useImperativeHandle(forwardedRef, t0);
625
+ let ref = (0, react.useRef)(null), t0;
626
+ $[9] === Symbol.for("react.memo_cache_sentinel") ? (t0 = () => ref.current, $[9] = t0) : t0 = $[9], (0, react.useImperativeHandle)(forwardedRef, t0);
631
627
  let t1, t2;
632
628
  $[10] === indeterminate ? (t1 = $[11], t2 = $[12]) : (t1 = () => {
633
629
  ref.current && (ref.current.indeterminate = indeterminate || !1);
634
- }, t2 = [indeterminate], $[10] = indeterminate, $[11] = t1, $[12] = t2), useEffect(t1, t2), useCustomValidity(ref, customValidity);
630
+ }, t2 = [indeterminate], $[10] = indeterminate, $[11] = t1, $[12] = t2), (0, react.useEffect)(t1, t2), require_tabList.I(ref, customValidity);
635
631
  let t3 = !disabled && readOnly ? "" : void 0, t4 = customValidity ? "" : void 0, t5 = disabled || readOnly, t6;
636
- $[13] !== checked || $[14] !== readOnly || $[15] !== restProps || $[16] !== t3 || $[17] !== t4 || $[18] !== t5 ? (t6 = /* @__PURE__ */ jsx(Input$4, {
632
+ $[13] !== checked || $[14] !== readOnly || $[15] !== restProps || $[16] !== t3 || $[17] !== t4 || $[18] !== t5 ? (t6 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(Input$4, {
637
633
  "data-read-only": t3,
638
634
  "data-error": t4,
639
635
  ...restProps,
@@ -644,9 +640,9 @@ const StyledCheckbox = /* @__PURE__ */ styled.div.withConfig({
644
640
  ref
645
641
  }), $[13] = checked, $[14] = readOnly, $[15] = restProps, $[16] = t3, $[17] = t4, $[18] = t5, $[19] = t6) : t6 = $[19];
646
642
  let t7;
647
- $[20] === Symbol.for("react.memo_cache_sentinel") ? (t7 = /* @__PURE__ */ jsxs("span", { children: [/* @__PURE__ */ jsx(CheckmarkIcon, {}), /* @__PURE__ */ jsx(RemoveIcon, {})] }), $[20] = t7) : t7 = $[20];
643
+ $[20] === Symbol.for("react.memo_cache_sentinel") ? (t7 = /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_sanity_icons_Checkmark.CheckmarkIcon, {}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_sanity_icons_Remove.RemoveIcon, {})] }), $[20] = t7) : t7 = $[20];
648
644
  let t8;
649
- return $[21] !== className || $[22] !== style || $[23] !== t6 ? (t8 = /* @__PURE__ */ jsxs(StyledCheckbox, {
645
+ return $[21] !== className || $[22] !== style || $[23] !== t6 ? (t8 = /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(StyledCheckbox, {
650
646
  className,
651
647
  "data-ui": "Checkbox",
652
648
  style,
@@ -654,7 +650,7 @@ const StyledCheckbox = /* @__PURE__ */ styled.div.withConfig({
654
650
  }), $[21] = className, $[22] = style, $[23] = t6, $[24] = t8) : t8 = $[24], t8;
655
651
  });
656
652
  function codeSyntaxHighlightingStyle({ theme }) {
657
- let { color: { syntax: color } } = getTheme_v2(theme);
653
+ let { color: { syntax: color } } = require_theme.X(theme);
658
654
  return {
659
655
  "&.atrule": { color: color.atrule },
660
656
  "&.attr-name": { color: color.attrName },
@@ -695,30 +691,30 @@ function codeSyntaxHighlightingStyle({ theme }) {
695
691
  };
696
692
  }
697
693
  function codeBaseStyle() {
698
- return css`color:var(--card-code-fg-color);& code{font-family:inherit;&.refractor .token{${codeSyntaxHighlightingStyle}}}& a{color:inherit;text-decoration:underline;border-radius:1px;}& svg{display:inline;}& [data-sanity-icon]{vertical-align:baseline;}`;
694
+ return styled_components.css`color:var(--card-code-fg-color);& code{font-family:inherit;&.refractor .token{${codeSyntaxHighlightingStyle}}}& a{color:inherit;text-decoration:underline;border-radius:1px;}& svg{display:inline;}& [data-sanity-icon]{vertical-align:baseline;}`;
699
695
  }
700
- const LazyRefractor = lazy(() => import("./_chunks/refractor.mjs")), StyledCode = /* @__PURE__ */ styled.pre.withConfig({
696
+ const LazyRefractor = (0, react.lazy)(() => Promise.resolve().then(() => require("./_chunks/refractor.cjs"))), StyledCode = /* @__PURE__ */ styled_components.styled.pre.withConfig({
701
697
  displayName: "StyledCode",
702
698
  componentId: "sc-yq3svj-0"
703
- })(codeBaseStyle, responsiveCodeFontStyle), Code = forwardRef(function Code(props, ref) {
704
- let $ = c(22), children, language, restProps, t0, weight;
699
+ })(codeBaseStyle, responsiveCodeFontStyle), Code = (0, react.forwardRef)(function Code(props, ref) {
700
+ let $ = (0, react_compiler_runtime.c)(22), children, language, restProps, t0, weight;
705
701
  $[0] === props ? (children = $[1], language = $[2], restProps = $[3], t0 = $[4], weight = $[5]) : ({children, language, size: t0, weight, ...restProps} = props, $[0] = props, $[1] = children, $[2] = language, $[3] = restProps, $[4] = t0, $[5] = weight);
706
702
  let size = t0 === void 0 ? 2 : t0, t1;
707
- $[6] === size ? t1 = $[7] : (t1 = _getArrayProp(size), $[6] = size, $[7] = t1);
703
+ $[6] === size ? t1 = $[7] : (t1 = require_tabList.ft(size), $[6] = size, $[7] = t1);
708
704
  let t2 = weight, t3;
709
- $[8] === children ? t3 = $[9] : (t3 = /* @__PURE__ */ jsx("code", { children }), $[8] = children, $[9] = t3);
705
+ $[8] === children ? t3 = $[9] : (t3 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)("code", { children }), $[8] = children, $[9] = t3);
710
706
  let t4;
711
- $[10] !== children || $[11] !== language ? (t4 = /* @__PURE__ */ jsx(LazyRefractor, {
707
+ $[10] !== children || $[11] !== language ? (t4 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(LazyRefractor, {
712
708
  language,
713
709
  value: children
714
710
  }), $[10] = children, $[11] = language, $[12] = t4) : t4 = $[12];
715
711
  let t5;
716
- $[13] !== t3 || $[14] !== t4 ? (t5 = /* @__PURE__ */ jsx(Suspense, {
712
+ $[13] !== t3 || $[14] !== t4 ? (t5 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(react.Suspense, {
717
713
  fallback: t3,
718
714
  children: t4
719
715
  }), $[13] = t3, $[14] = t4, $[15] = t5) : t5 = $[15];
720
716
  let t6;
721
- return $[16] !== ref || $[17] !== restProps || $[18] !== t1 || $[19] !== t2 || $[20] !== t5 ? (t6 = /* @__PURE__ */ jsx(StyledCode, {
717
+ return $[16] !== ref || $[17] !== restProps || $[18] !== t1 || $[19] !== t2 || $[20] !== t5 ? (t6 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(StyledCode, {
722
718
  "data-ui": "Code",
723
719
  ...restProps,
724
720
  $size: t1,
@@ -734,19 +730,19 @@ function containerBaseStyle() {
734
730
  return BASE_STYLE;
735
731
  }
736
732
  function responsiveContainerWidthStyle(props) {
737
- let { container, media } = getTheme_v2(props.theme);
738
- return _responsive(media, props.$width, (val) => ({ maxWidth: val === "auto" ? "none" : rem(container[val]) }));
733
+ let { container, media } = require_theme.X(props.theme);
734
+ return require_tabList.mt(media, props.$width, (val) => ({ maxWidth: val === "auto" ? "none" : require_tabList.ht(container[val]) }));
739
735
  }
740
- const StyledContainer = /* @__PURE__ */ styled(Box).withConfig({
736
+ const StyledContainer = /* @__PURE__ */ (0, styled_components.styled)(require_tabList.W).withConfig({
741
737
  displayName: "StyledContainer",
742
738
  componentId: "sc-kuh7wj-0"
743
- })(containerBaseStyle, responsiveContainerWidthStyle), Container = forwardRef(function Container(props, ref) {
744
- let $ = c(11), as, restProps, t0;
739
+ })(containerBaseStyle, responsiveContainerWidthStyle), Container = (0, react.forwardRef)(function Container(props, ref) {
740
+ let $ = (0, react_compiler_runtime.c)(11), as, restProps, t0;
745
741
  $[0] === props ? (as = $[1], restProps = $[2], t0 = $[3]) : ({as, width: t0, ...restProps} = props, $[0] = props, $[1] = as, $[2] = restProps, $[3] = t0);
746
742
  let width = t0 === void 0 ? 2 : t0, t1;
747
- $[4] === width ? t1 = $[5] : (t1 = _getArrayProp(width), $[4] = width, $[5] = t1);
743
+ $[4] === width ? t1 = $[5] : (t1 = require_tabList.ft(width), $[4] = width, $[5] = t1);
748
744
  let t2;
749
- return $[6] !== as || $[7] !== ref || $[8] !== restProps || $[9] !== t1 ? (t2 = /* @__PURE__ */ jsx(StyledContainer, {
745
+ return $[6] !== as || $[7] !== ref || $[8] !== restProps || $[9] !== t1 ? (t2 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(StyledContainer, {
750
746
  "data-ui": "Container",
751
747
  ...restProps,
752
748
  $width: t1,
@@ -755,28 +751,28 @@ const StyledContainer = /* @__PURE__ */ styled(Box).withConfig({
755
751
  }), $[6] = as, $[7] = ref, $[8] = restProps, $[9] = t1, $[10] = t2) : t2 = $[10], t2;
756
752
  });
757
753
  function headingBaseStyle(props) {
758
- let { $accent, $muted } = props, { font } = getTheme_v2(props.theme);
759
- return css`${$accent && css`color:var(--card-accent-fg-color);`} ${$muted && css`color:var(--card-muted-fg-color);`} & code{font-family:${font.code.family};border-radius:1px;}& a{text-decoration:none;border-radius:1px;color:var(--card-link-color);outline:none;@media (hover:hover){&:hover{text-decoration:underline;}}&:focus{box-shadow:0 0 0 1px var(--card-bg-color),0 0 0 3px var(--card-focus-ring-color);}&:focus:not(:focus-visible){box-shadow:none;}}& strong{font-weight:${font.heading.weights.bold};}& svg{display:inline;}& [data-sanity-icon]{vertical-align:baseline;}`;
754
+ let { $accent, $muted } = props, { font } = require_theme.X(props.theme);
755
+ return styled_components.css`${$accent && styled_components.css`color:var(--card-accent-fg-color);`} ${$muted && styled_components.css`color:var(--card-muted-fg-color);`} & code{font-family:${font.code.family};border-radius:1px;}& a{text-decoration:none;border-radius:1px;color:var(--card-link-color);outline:none;@media (hover:hover){&:hover{text-decoration:underline;}}&:focus{box-shadow:0 0 0 1px var(--card-bg-color),0 0 0 3px var(--card-focus-ring-color);}&:focus:not(:focus-visible){box-shadow:none;}}& strong{font-weight:${font.heading.weights.bold};}& svg{display:inline;}& [data-sanity-icon]{vertical-align:baseline;}`;
760
756
  }
761
- const StyledHeading = /* @__PURE__ */ styled.div.withConfig({
757
+ const StyledHeading = /* @__PURE__ */ styled_components.styled.div.withConfig({
762
758
  displayName: "StyledHeading",
763
759
  componentId: "sc-48fn8j-0"
764
- })(headingBaseStyle, responsiveTextAlignStyle, responsiveHeadingFont), Heading = forwardRef(function Heading(props, ref) {
765
- let $ = c(26), align, childrenProp, restProps, t0, t1, t2, textOverflow, weight;
760
+ })(headingBaseStyle, require_tabList.lt, responsiveHeadingFont), Heading = (0, react.forwardRef)(function Heading(props, ref) {
761
+ let $ = (0, react_compiler_runtime.c)(26), align, childrenProp, restProps, t0, t1, t2, textOverflow, weight;
766
762
  $[0] === props ? (align = $[1], childrenProp = $[2], restProps = $[3], t0 = $[4], t1 = $[5], t2 = $[6], textOverflow = $[7], weight = $[8]) : ({accent: t0, align, children: childrenProp, muted: t1, size: t2, textOverflow, weight, ...restProps} = props, $[0] = props, $[1] = align, $[2] = childrenProp, $[3] = restProps, $[4] = t0, $[5] = t1, $[6] = t2, $[7] = textOverflow, $[8] = weight);
767
763
  let accent = t0 !== void 0 && t0, muted = t1 !== void 0 && t1, size = t2 === void 0 ? 2 : t2, children = childrenProp;
768
764
  if (textOverflow === "ellipsis") {
769
765
  let t3;
770
- $[9] === children ? t3 = $[10] : (t3 = /* @__PURE__ */ jsx(SpanWithTextOverflow, { children }), $[9] = children, $[10] = t3), children = t3;
766
+ $[9] === children ? t3 = $[10] : (t3 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_tabList.G, { children }), $[9] = children, $[10] = t3), children = t3;
771
767
  }
772
768
  let t3;
773
- $[11] === align ? t3 = $[12] : (t3 = _getArrayProp(align), $[11] = align, $[12] = t3);
769
+ $[11] === align ? t3 = $[12] : (t3 = require_tabList.ft(align), $[11] = align, $[12] = t3);
774
770
  let t4;
775
- $[13] === size ? t4 = $[14] : (t4 = _getArrayProp(size), $[13] = size, $[14] = t4);
771
+ $[13] === size ? t4 = $[14] : (t4 = require_tabList.ft(size), $[13] = size, $[14] = t4);
776
772
  let t5;
777
- $[15] === children ? t5 = $[16] : (t5 = /* @__PURE__ */ jsx("span", { children }), $[15] = children, $[16] = t5);
773
+ $[15] === children ? t5 = $[16] : (t5 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", { children }), $[15] = children, $[16] = t5);
778
774
  let t6;
779
- return $[17] !== accent || $[18] !== muted || $[19] !== ref || $[20] !== restProps || $[21] !== t3 || $[22] !== t4 || $[23] !== t5 || $[24] !== weight ? (t6 = /* @__PURE__ */ jsx(StyledHeading, {
775
+ return $[17] !== accent || $[18] !== muted || $[19] !== ref || $[20] !== restProps || $[21] !== t3 || $[22] !== t4 || $[23] !== t5 || $[24] !== weight ? (t6 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(StyledHeading, {
780
776
  "data-ui": "Heading",
781
777
  ...restProps,
782
778
  $accent: accent,
@@ -792,13 +788,13 @@ const StyledHeading = /* @__PURE__ */ styled.div.withConfig({
792
788
  * @public
793
789
  */
794
790
  function BoundaryElementProvider(props) {
795
- let $ = c(5), { children, element } = props, t0;
791
+ let $ = (0, react_compiler_runtime.c)(5), { children, element } = props, t0;
796
792
  $[0] === element ? t0 = $[1] : (t0 = {
797
793
  version: 0,
798
794
  element
799
795
  }, $[0] = element, $[1] = t0);
800
796
  let value = t0, t1;
801
- return $[2] !== children || $[3] !== value ? (t1 = /* @__PURE__ */ jsx(BoundaryElementContext.Provider, {
797
+ return $[2] !== children || $[3] !== value ? (t1 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_tabList.C.Provider, {
802
798
  value,
803
799
  children
804
800
  }), $[2] = children, $[3] = value, $[4] = t1) : t1 = $[4], t1;
@@ -824,10 +820,10 @@ function findMinBreakpoints(media, width) {
824
820
  * DO NOT USE IN PRODUCTION.
825
821
  * @beta
826
822
  */
827
- const ElementQuery = forwardRef(function ElementQuery(props, forwardedRef) {
828
- let $ = c(18), theme = useTheme_v2(), _media, children, restProps;
823
+ const ElementQuery = (0, react.forwardRef)(function ElementQuery(props, forwardedRef) {
824
+ let $ = (0, react_compiler_runtime.c)(18), theme = require_tabList.rt(), _media, children, restProps;
829
825
  $[0] === props ? (_media = $[1], children = $[2], restProps = $[3]) : ({children, media: _media, ...restProps} = props, $[0] = props, $[1] = _media, $[2] = children, $[3] = restProps);
830
- let media = _media ?? theme.media, [element, setElement] = useState(null), width = useElementSize(element)?.border.width ?? window.innerWidth, t0;
826
+ let media = _media ?? theme.media, [element, setElement] = (0, react.useState)(null), width = require_tabList.N(element)?.border.width ?? window.innerWidth, t0;
831
827
  if ($[4] !== media || $[5] !== width) {
832
828
  let eq = findMaxBreakpoints(media, width);
833
829
  t0 = eq.length ? eq.join(" ") : void 0, $[4] = media, $[5] = width, $[6] = t0;
@@ -838,9 +834,9 @@ const ElementQuery = forwardRef(function ElementQuery(props, forwardedRef) {
838
834
  t1 = eq_0.length ? eq_0.join(" ") : void 0, $[7] = media, $[8] = width, $[9] = t1;
839
835
  } else t1 = $[9];
840
836
  let min = t1, t2, t3;
841
- $[10] === element ? (t2 = $[11], t3 = $[12]) : (t2 = () => element, t3 = [element], $[10] = element, $[11] = t2, $[12] = t3), useImperativeHandle(forwardedRef, t2, t3);
837
+ $[10] === element ? (t2 = $[11], t3 = $[12]) : (t2 = () => element, t3 = [element], $[10] = element, $[11] = t2, $[12] = t3), (0, react.useImperativeHandle)(forwardedRef, t2, t3);
842
838
  let t4;
843
- return $[13] !== children || $[14] !== max || $[15] !== min || $[16] !== restProps ? (t4 = /* @__PURE__ */ jsx("div", {
839
+ return $[13] !== children || $[14] !== max || $[15] !== min || $[16] !== restProps ? (t4 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
844
840
  "data-ui": "ElementQuery",
845
841
  ...restProps,
846
842
  "data-eq-max": max,
@@ -853,7 +849,7 @@ const ElementQuery = forwardRef(function ElementQuery(props, forwardedRef) {
853
849
  * DO NOT USE IN PRODUCTION
854
850
  * @beta
855
851
  */
856
- var ErrorBoundary = class extends Component {
852
+ var ErrorBoundary = class extends react.Component {
857
853
  state = { error: null };
858
854
  static getDerivedStateFromError(error) {
859
855
  return { error };
@@ -866,34 +862,34 @@ var ErrorBoundary = class extends Component {
866
862
  }
867
863
  render() {
868
864
  let { error } = this.state;
869
- return error ? /* @__PURE__ */ jsx(Code, { children: typeof error?.message == "string" ? error.message : "Error" }) : this.props.children;
865
+ return error ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(Code, { children: typeof error?.message == "string" ? error.message : "Error" }) : this.props.children;
870
866
  }
871
867
  };
872
- const StyledSrOnly = styled.div.withConfig({
868
+ const StyledSrOnly = styled_components.styled.div.withConfig({
873
869
  displayName: "StyledSrOnly",
874
870
  componentId: "sc-ow9exq-0"
875
- })`display:block;width:0;height:0;position:absolute;overflow:hidden;overflow:clip;`, SrOnly = forwardRef(function SrOnly(props, ref) {
876
- let $ = c(4), { as, children } = props, t0;
877
- return $[0] !== as || $[1] !== children || $[2] !== ref ? (t0 = /* @__PURE__ */ jsx(StyledSrOnly, {
871
+ })`display:block;width:0;height:0;position:absolute;overflow:hidden;overflow:clip;`, SrOnly = (0, react.forwardRef)(function SrOnly(props, ref) {
872
+ let $ = (0, react_compiler_runtime.c)(4), { as, children } = props, t0;
873
+ return $[0] !== as || $[1] !== children || $[2] !== ref ? (t0 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(StyledSrOnly, {
878
874
  "aria-hidden": !0,
879
875
  as,
880
876
  "data-ui": "SrOnly",
881
877
  ref,
882
878
  children
883
879
  }), $[0] = as, $[1] = children, $[2] = ref, $[3] = t0) : t0 = $[3], t0;
884
- }), StyledVirtualList = styled.div.withConfig({
880
+ }), StyledVirtualList = styled_components.styled.div.withConfig({
885
881
  displayName: "StyledVirtualList",
886
882
  componentId: "sc-ok1q5x-0"
887
- })`position:relative;`, ItemWrapper = styled.div.withConfig({
883
+ })`position:relative;`, ItemWrapper = styled_components.styled.div.withConfig({
888
884
  displayName: "ItemWrapper",
889
885
  componentId: "sc-ok1q5x-1"
890
- })`position:absolute;left:0;right:0;`, VirtualList = forwardRef(function VirtualList(props, forwardedRef) {
891
- let $ = c(44), getItemKey, onChange, renderItem, restProps, t0, t1, t2;
886
+ })`position:absolute;left:0;right:0;`, VirtualList = (0, react.forwardRef)(function VirtualList(props, forwardedRef) {
887
+ let $ = (0, react_compiler_runtime.c)(44), getItemKey, onChange, renderItem, restProps, t0, t1, t2;
892
888
  $[0] === props ? (getItemKey = $[1], onChange = $[2], renderItem = $[3], restProps = $[4], t0 = $[5], t1 = $[6], t2 = $[7]) : ({as: t0, gap: t1, getItemKey, items: t2, onChange, renderItem, ...restProps} = props, $[0] = props, $[1] = getItemKey, $[2] = onChange, $[3] = renderItem, $[4] = restProps, $[5] = t0, $[6] = t1, $[7] = t2);
893
889
  let as = t0 === void 0 ? "div" : t0, gap = t1 === void 0 ? 0 : t1, t3;
894
890
  $[8] === t2 ? t3 = $[9] : (t3 = t2 === void 0 ? [] : t2, $[8] = t2, $[9] = t3);
895
- let items = t3, { space } = useTheme_v2(), ref = useRef(null), wrapperRef = useRef(null), [scrollTop, setScrollTop] = useState(0), [scrollHeight, setScrollHeight] = useState(0), [itemHeight, setItemHeight] = useState(-1), t4;
896
- $[10] === Symbol.for("react.memo_cache_sentinel") ? (t4 = () => ref.current, $[10] = t4) : t4 = $[10], useImperativeHandle(forwardedRef, t4);
891
+ let items = t3, { space } = require_tabList.rt(), ref = (0, react.useRef)(null), wrapperRef = (0, react.useRef)(null), [scrollTop, setScrollTop] = (0, react.useState)(0), [scrollHeight, setScrollHeight] = (0, react.useState)(0), [itemHeight, setItemHeight] = (0, react.useState)(-1), t4;
892
+ $[10] === Symbol.for("react.memo_cache_sentinel") ? (t4 = () => ref.current, $[10] = t4) : t4 = $[10], (0, react.useImperativeHandle)(forwardedRef, t4);
897
893
  let t5;
898
894
  $[11] === Symbol.for("react.memo_cache_sentinel") ? (t5 = () => {
899
895
  if (!wrapperRef.current) return;
@@ -901,7 +897,7 @@ const StyledSrOnly = styled.div.withConfig({
901
897
  firstElement instanceof HTMLElement && setItemHeight(firstElement.offsetHeight);
902
898
  }, $[11] = t5) : t5 = $[11];
903
899
  let t6;
904
- $[12] === renderItem ? t6 = $[13] : (t6 = [renderItem], $[12] = renderItem, $[13] = t6), useEffect(t5, t6);
900
+ $[12] === renderItem ? t6 = $[13] : (t6 = [renderItem], $[12] = renderItem, $[13] = t6), (0, react.useEffect)(t5, t6);
905
901
  let t7, t8;
906
902
  $[14] === Symbol.for("react.memo_cache_sentinel") ? (t7 = () => {
907
903
  if (!ref.current) return;
@@ -912,7 +908,7 @@ const StyledSrOnly = styled.div.withConfig({
912
908
  setScrollTop(scrollEl.scrollTop);
913
909
  };
914
910
  scrollEl.addEventListener("scroll", handleScroll, { passive: !0 });
915
- let ro = new _ResizeObserver((entries) => {
911
+ let ro = new require_tabList.F((entries) => {
916
912
  setScrollHeight(entries[0].contentRect.height);
917
913
  });
918
914
  return ro.observe(scrollEl), handleScroll(), () => {
@@ -927,7 +923,7 @@ const StyledSrOnly = styled.div.withConfig({
927
923
  return window.addEventListener("scroll", handleScroll_0, { passive: !0 }), window.addEventListener("resize", handleResize), setScrollHeight(window.innerHeight), handleScroll_0(), () => {
928
924
  window.removeEventListener("scroll", handleScroll_0), window.removeEventListener("resize", handleResize);
929
925
  };
930
- }, t8 = [], $[14] = t7, $[15] = t8) : (t7 = $[14], t8 = $[15]), useEffect(t7, t8);
926
+ }, t8 = [], $[14] = t7, $[15] = t8) : (t7 = $[14], t8 = $[15]), (0, react.useEffect)(t7, t8);
931
927
  let len = items.length, height = itemHeight ? len * (itemHeight + space[gap]) - space[gap] : 0, fromIndex = height ? Math.max(Math.floor(scrollTop / height * len) - 2, 0) : 0, toIndex = height ? Math.ceil((scrollTop + scrollHeight) / height * len) + 1 : 0, t10, t9;
932
928
  $[16] !== fromIndex || $[17] !== gap || $[18] !== itemHeight || $[19] !== onChange || $[20] !== scrollHeight || $[21] !== scrollTop || $[22] !== space || $[23] !== toIndex ? (t9 = () => {
933
929
  onChange && onChange({
@@ -947,7 +943,7 @@ const StyledSrOnly = styled.div.withConfig({
947
943
  scrollTop,
948
944
  space,
949
945
  toIndex
950
- ], $[16] = fromIndex, $[17] = gap, $[18] = itemHeight, $[19] = onChange, $[20] = scrollHeight, $[21] = scrollTop, $[22] = space, $[23] = toIndex, $[24] = t10, $[25] = t9) : (t10 = $[24], t9 = $[25]), useEffect(t9, t10);
946
+ ], $[16] = fromIndex, $[17] = gap, $[18] = itemHeight, $[19] = onChange, $[20] = scrollHeight, $[21] = scrollTop, $[22] = space, $[23] = toIndex, $[24] = t10, $[25] = t9) : (t10 = $[24], t9 = $[25]), (0, react.useEffect)(t9, t10);
951
947
  let t11;
952
948
  $[26] !== fromIndex || $[27] !== gap || $[28] !== getItemKey || $[29] !== itemHeight || $[30] !== items || $[31] !== renderItem || $[32] !== space || $[33] !== toIndex ? (t11 = {
953
949
  fromIndex,
@@ -962,13 +958,13 @@ const StyledSrOnly = styled.div.withConfig({
962
958
  let children = useChildren(t11), t12;
963
959
  $[35] === height ? t12 = $[36] : (t12 = { height }, $[35] = height, $[36] = t12);
964
960
  let t13;
965
- $[37] !== children || $[38] !== t12 ? (t13 = /* @__PURE__ */ jsx("div", {
961
+ $[37] !== children || $[38] !== t12 ? (t13 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
966
962
  ref: wrapperRef,
967
963
  style: t12,
968
964
  children
969
965
  }), $[37] = children, $[38] = t12, $[39] = t13) : t13 = $[39];
970
966
  let t14;
971
- return $[40] !== as || $[41] !== restProps || $[42] !== t13 ? (t14 = /* @__PURE__ */ jsx(StyledVirtualList, {
967
+ return $[40] !== as || $[41] !== restProps || $[42] !== t13 ? (t14 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(StyledVirtualList, {
972
968
  as,
973
969
  "data-ui": "VirtualList",
974
970
  ...restProps,
@@ -977,20 +973,20 @@ const StyledSrOnly = styled.div.withConfig({
977
973
  }), $[40] = as, $[41] = restProps, $[42] = t13, $[43] = t14) : t14 = $[43], t14;
978
974
  });
979
975
  function useChildren(t0) {
980
- let $ = c(21), { fromIndex, gap, getItemKey, itemHeight, items, renderItem, space, toIndex } = t0;
976
+ let $ = (0, react_compiler_runtime.c)(21), { fromIndex, gap, getItemKey, itemHeight, items, renderItem, space, toIndex } = t0;
981
977
  if (!renderItem || items.length === 0) return null;
982
978
  if (itemHeight === -1) {
983
979
  let t1;
984
980
  $[0] !== items[0] || $[1] !== renderItem ? (t1 = renderItem(items[0]), $[0] = items[0], $[1] = renderItem, $[2] = t1) : t1 = $[2];
985
981
  let t2;
986
- return $[3] === t1 ? t2 = $[4] : (t2 = [/* @__PURE__ */ jsx(ItemWrapper, { children: t1 }, 0)], $[3] = t1, $[4] = t2), t2;
982
+ return $[3] === t1 ? t2 = $[4] : (t2 = [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(ItemWrapper, { children: t1 }, 0)], $[3] = t1, $[4] = t2), t2;
987
983
  }
988
984
  let t1;
989
985
  if ($[5] !== fromIndex || $[6] !== gap || $[7] !== getItemKey || $[8] !== itemHeight || $[9] !== items || $[10] !== renderItem || $[11] !== space || $[12] !== toIndex) {
990
986
  let t2;
991
987
  $[14] !== fromIndex || $[15] !== gap || $[16] !== getItemKey || $[17] !== itemHeight || $[18] !== renderItem || $[19] !== space ? (t2 = (item, _itemIndex) => {
992
988
  let itemIndex = fromIndex + _itemIndex, node = renderItem(item), key = getItemKey ? getItemKey(item, itemIndex) : itemIndex;
993
- return /* @__PURE__ */ jsx(ItemWrapper, {
989
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(ItemWrapper, {
994
990
  style: { top: itemIndex * (itemHeight + space[gap]) },
995
991
  children: node
996
992
  }, key);
@@ -1004,40 +1000,40 @@ function findScrollable(parentNode) {
1004
1000
  return _scrollEl;
1005
1001
  }
1006
1002
  function radioBaseStyle() {
1007
- return css`position:relative;&:not([hidden]){display:inline-block;}&[data-read-only]{outline:1px solid red;}`;
1003
+ return styled_components.css`position:relative;&:not([hidden]){display:inline-block;}&[data-read-only]{outline:1px solid red;}`;
1008
1004
  }
1009
1005
  function inputElementStyle(props) {
1010
- let { color, input } = getTheme_v2(props.theme), dist = (input.radio.size - input.radio.markSize) / 2;
1011
- return css`appearance:none;position:absolute;top:0;left:0;opacity:0;height:100%;width:100%;outline:none;z-index:1;padding:0;margin:0;border-radius:${rem(input.radio.size / 2)};border:none;& + span{display:block;position:relative;height:${rem(input.radio.size)};width:${rem(input.radio.size)};border-radius:${rem(input.radio.size / 2)};background:${color.input.default.enabled.bg};box-shadow:${focusRingBorderStyle({
1006
+ let { color, input } = require_theme.X(props.theme), dist = (input.radio.size - input.radio.markSize) / 2;
1007
+ return styled_components.css`appearance:none;position:absolute;top:0;left:0;opacity:0;height:100%;width:100%;outline:none;z-index:1;padding:0;margin:0;border-radius:${require_tabList.ht(input.radio.size / 2)};border:none;& + span{display:block;position:relative;height:${require_tabList.ht(input.radio.size)};width:${require_tabList.ht(input.radio.size)};border-radius:${require_tabList.ht(input.radio.size / 2)};background:${color.input.default.enabled.bg};box-shadow:${require_tabList.et({
1012
1008
  color: color.input.default.enabled.border,
1013
1009
  width: input.border.width
1014
- })};&::after{content:'';position:absolute;top:${rem(dist)};left:${rem(dist)};height:${rem(input.radio.markSize)};width:${rem(input.radio.markSize)};border-radius:${rem(input.radio.markSize / 2)};background:${color.input.default.enabled.fg};opacity:0;}}&:not(:disabled):focus + span{box-shadow:${focusRingStyle({
1010
+ })};&::after{content:'';position:absolute;top:${require_tabList.ht(dist)};left:${require_tabList.ht(dist)};height:${require_tabList.ht(input.radio.markSize)};width:${require_tabList.ht(input.radio.markSize)};border-radius:${require_tabList.ht(input.radio.markSize / 2)};background:${color.input.default.enabled.fg};opacity:0;}}&:not(:disabled):focus + span{box-shadow:${require_tabList.tt({
1015
1011
  border: {
1016
1012
  width: input.border.width,
1017
1013
  color: color.input.default.enabled.border
1018
1014
  },
1019
1015
  focusRing: input.radio.focusRing
1020
- })};}&:not(:disabled):focus:not(:focus-visible) + span{box-shadow:${focusRingBorderStyle({
1016
+ })};}&:not(:disabled):focus:not(:focus-visible) + span{box-shadow:${require_tabList.et({
1021
1017
  color: color.input.default.enabled.border,
1022
1018
  width: input.border.width
1023
- })};}&:checked + span::after{opacity:1;}&[data-error] + span{background-color:${color.input.invalid.enabled.border};box-shadow:${focusRingBorderStyle({
1019
+ })};}&:checked + span::after{opacity:1;}&[data-error] + span{background-color:${color.input.invalid.enabled.border};box-shadow:${require_tabList.et({
1024
1020
  width: input.border.width,
1025
1021
  color: color.input.invalid.enabled.muted.bg
1026
1022
  })};&::after{background:${color.input.invalid.enabled.muted.bg};}}&[data-read-only] + span{box-shadow:0 0 0 1px ${color.input.default.readOnly.border};background:${color.input.default.readOnly.bg};&::after{background:${color.input.default.readOnly.border};}}&:not([data-read-only]):disabled + span{box-shadow:0 0 0 1px ${color.input.default.disabled.border};background:${color.input.default.disabled.bg};&::after{background:${color.input.default.disabled.border};}}`;
1027
1023
  }
1028
- const StyledRadio = /* @__PURE__ */ styled.div.withConfig({
1024
+ const StyledRadio = /* @__PURE__ */ styled_components.styled.div.withConfig({
1029
1025
  displayName: "StyledRadio",
1030
1026
  componentId: "sc-zbat2j-0"
1031
- })(radioBaseStyle), Input$3 = /* @__PURE__ */ styled.input.withConfig({
1027
+ })(radioBaseStyle), Input$3 = /* @__PURE__ */ styled_components.styled.input.withConfig({
1032
1028
  displayName: "Input",
1033
1029
  componentId: "sc-zbat2j-1"
1034
- })(inputElementStyle), Radio = forwardRef(function Radio(props, forwardedRef) {
1035
- let $ = c(19), className, customValidity, disabled, readOnly, restProps, style;
1030
+ })(inputElementStyle), Radio = (0, react.forwardRef)(function Radio(props, forwardedRef) {
1031
+ let $ = (0, react_compiler_runtime.c)(19), className, customValidity, disabled, readOnly, restProps, style;
1036
1032
  $[0] === props ? (className = $[1], customValidity = $[2], disabled = $[3], readOnly = $[4], restProps = $[5], style = $[6]) : ({className, disabled, style, customValidity, readOnly, ...restProps} = props, $[0] = props, $[1] = className, $[2] = customValidity, $[3] = disabled, $[4] = readOnly, $[5] = restProps, $[6] = style);
1037
- let ref = useRef(null), t0;
1038
- $[7] === Symbol.for("react.memo_cache_sentinel") ? (t0 = () => ref.current, $[7] = t0) : t0 = $[7], useImperativeHandle(forwardedRef, t0), useCustomValidity(ref, customValidity);
1033
+ let ref = (0, react.useRef)(null), t0;
1034
+ $[7] === Symbol.for("react.memo_cache_sentinel") ? (t0 = () => ref.current, $[7] = t0) : t0 = $[7], (0, react.useImperativeHandle)(forwardedRef, t0), require_tabList.I(ref, customValidity);
1039
1035
  let t1 = !disabled && readOnly ? "" : void 0, t2 = customValidity ? "" : void 0, t3 = disabled || readOnly, t4;
1040
- $[8] !== readOnly || $[9] !== restProps || $[10] !== t1 || $[11] !== t2 || $[12] !== t3 ? (t4 = /* @__PURE__ */ jsx(Input$3, {
1036
+ $[8] !== readOnly || $[9] !== restProps || $[10] !== t1 || $[11] !== t2 || $[12] !== t3 ? (t4 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(Input$3, {
1041
1037
  "data-read-only": t1,
1042
1038
  "data-error": t2,
1043
1039
  ...restProps,
@@ -1047,9 +1043,9 @@ const StyledRadio = /* @__PURE__ */ styled.div.withConfig({
1047
1043
  type: "radio"
1048
1044
  }), $[8] = readOnly, $[9] = restProps, $[10] = t1, $[11] = t2, $[12] = t3, $[13] = t4) : t4 = $[13];
1049
1045
  let t5;
1050
- $[14] === Symbol.for("react.memo_cache_sentinel") ? (t5 = /* @__PURE__ */ jsx("span", {}), $[14] = t5) : t5 = $[14];
1046
+ $[14] === Symbol.for("react.memo_cache_sentinel") ? (t5 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {}), $[14] = t5) : t5 = $[14];
1051
1047
  let t6;
1052
- return $[15] !== className || $[16] !== style || $[17] !== t4 ? (t6 = /* @__PURE__ */ jsxs(StyledRadio, {
1048
+ return $[15] !== className || $[16] !== style || $[17] !== t4 ? (t6 = /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(StyledRadio, {
1053
1049
  className,
1054
1050
  "data-ui": "Radio",
1055
1051
  style,
@@ -1057,85 +1053,85 @@ const StyledRadio = /* @__PURE__ */ styled.div.withConfig({
1057
1053
  }), $[15] = className, $[16] = style, $[17] = t4, $[18] = t6) : t6 = $[18], t6;
1058
1054
  });
1059
1055
  function rootStyle() {
1060
- return css`position:relative;width:-moz-available;width:-webkit-fill-available;width:stretch;&:not([hidden]){display:inline-block;}`;
1056
+ return styled_components.css`position:relative;width:-moz-available;width:-webkit-fill-available;width:stretch;&:not([hidden]){display:inline-block;}`;
1061
1057
  }
1062
1058
  function inputBaseStyle(props) {
1063
- let { font } = getTheme_v2(props.theme);
1064
- return css`-webkit-font-smoothing:antialiased;appearance:none;border:0;font-family:${font.text.family};color:inherit;width:100%;outline:none;margin:0;&:disabled{opacity:1;}`;
1059
+ let { font } = require_theme.X(props.theme);
1060
+ return styled_components.css`-webkit-font-smoothing:antialiased;appearance:none;border:0;font-family:${font.text.family};color:inherit;width:100%;outline:none;margin:0;&:disabled{opacity:1;}`;
1065
1061
  }
1066
1062
  function inputColorStyle(props) {
1067
- let { color, input } = getTheme_v2(props.theme);
1068
- return css`background-color:${color.input.default.enabled.bg};color:${color.input.default.enabled.fg};box-shadow:${focusRingBorderStyle({
1063
+ let { color, input } = require_theme.X(props.theme);
1064
+ return styled_components.css`background-color:${color.input.default.enabled.bg};color:${color.input.default.enabled.fg};box-shadow:${require_tabList.et({
1069
1065
  color: color.input.default.enabled.border,
1070
1066
  width: input.border.width
1071
- })};@media (hover:hover){&:not(:disabled):hover{background-color:${color.input.default.hovered.bg};color:${color.input.default.hovered.fg};box-shadow:${focusRingBorderStyle({
1067
+ })};@media (hover:hover){&:not(:disabled):hover{background-color:${color.input.default.hovered.bg};color:${color.input.default.hovered.fg};box-shadow:${require_tabList.et({
1072
1068
  color: color.input.default.hovered.border,
1073
1069
  width: input.border.width
1074
- })};}}&:not(:disabled):focus{box-shadow:${focusRingStyle({
1070
+ })};}}&:not(:disabled):focus{box-shadow:${require_tabList.tt({
1075
1071
  border: {
1076
1072
  width: input.border.width,
1077
1073
  color: color.input.default.enabled.border
1078
1074
  },
1079
1075
  focusRing: input.select.focusRing
1080
- })};}&[data-read-only]{background-color:${color.input.default.readOnly.bg};color:${color.input.default.readOnly.fg};box-shadow:${focusRingBorderStyle({
1076
+ })};}&[data-read-only]{background-color:${color.input.default.readOnly.bg};color:${color.input.default.readOnly.fg};box-shadow:${require_tabList.et({
1081
1077
  color: color.input.default.readOnly.border,
1082
1078
  width: input.border.width
1083
- })};}&:not([data-read-only]):disabled{background-color:${color.input.default.disabled.bg};color:${color.input.default.disabled.fg};box-shadow:${focusRingBorderStyle({
1079
+ })};}&:not([data-read-only]):disabled{background-color:${color.input.default.disabled.bg};color:${color.input.default.disabled.fg};box-shadow:${require_tabList.et({
1084
1080
  color: color.input.default.disabled.border,
1085
1081
  width: input.border.width
1086
1082
  })};}`;
1087
1083
  }
1088
1084
  function textSize(size) {
1089
1085
  return {
1090
- fontSize: rem(size.fontSize),
1091
- lineHeight: `${rem(size.lineHeight)}`
1086
+ fontSize: require_tabList.ht(size.fontSize),
1087
+ lineHeight: `${require_tabList.ht(size.lineHeight)}`
1092
1088
  };
1093
1089
  }
1094
1090
  function inputTextSizeStyle(props) {
1095
- let { $fontSize } = props, { font, media } = getTheme_v2(props.theme);
1096
- return _responsive(media, $fontSize, (sizeIndex) => textSize(font.text.sizes[sizeIndex] || font.text.sizes[2]));
1091
+ let { $fontSize } = props, { font, media } = require_theme.X(props.theme);
1092
+ return require_tabList.mt(media, $fontSize, (sizeIndex) => textSize(font.text.sizes[sizeIndex] || font.text.sizes[2]));
1097
1093
  }
1098
1094
  function inputStyle() {
1099
1095
  return [
1100
- responsiveRadiusStyle,
1096
+ require_tabList.K,
1101
1097
  inputBaseStyle,
1102
1098
  inputColorStyle,
1103
1099
  inputTextSizeStyle,
1104
- responsiveInputPaddingIconRightStyle
1100
+ require_tabList.Q
1105
1101
  ];
1106
1102
  }
1107
1103
  function iconBoxStyle(props) {
1108
- let { color } = getTheme_v2(props.theme);
1109
- return css`pointer-events:none;position:absolute;top:0;right:0;--card-fg-color:${color.input.default.enabled.fg};@media (hover:hover){select:not(disabled):not(:read-only):hover + &&{--card-fg-color:${color.input.default.hovered.fg};}}select:disabled + &&{--card-fg-color:${color.input.default.disabled.fg};}select[data-read-only] + &&{--card-fg-color:${color.input.default.readOnly.fg};}`;
1104
+ let { color } = require_theme.X(props.theme);
1105
+ return styled_components.css`pointer-events:none;position:absolute;top:0;right:0;--card-fg-color:${color.input.default.enabled.fg};@media (hover:hover){select:not(disabled):not(:read-only):hover + &&{--card-fg-color:${color.input.default.hovered.fg};}}select:disabled + &&{--card-fg-color:${color.input.default.disabled.fg};}select[data-read-only] + &&{--card-fg-color:${color.input.default.readOnly.fg};}`;
1110
1106
  }
1111
1107
  const selectStyle = {
1112
1108
  root: rootStyle,
1113
1109
  input: inputStyle,
1114
1110
  iconBox: iconBoxStyle
1115
- }, StyledSelect = /* @__PURE__ */ styled.div.withConfig({
1111
+ }, StyledSelect = /* @__PURE__ */ styled_components.styled.div.withConfig({
1116
1112
  displayName: "StyledSelect",
1117
1113
  componentId: "sc-ecog6m-0"
1118
- })(selectStyle.root), Input$2 = /* @__PURE__ */ styled.select.withConfig({
1114
+ })(selectStyle.root), Input$2 = /* @__PURE__ */ styled_components.styled.select.withConfig({
1119
1115
  displayName: "Input",
1120
1116
  componentId: "sc-ecog6m-1"
1121
- })(selectStyle.input), IconBox = /* @__PURE__ */ styled(Box).withConfig({
1117
+ })(selectStyle.input), IconBox = /* @__PURE__ */ (0, styled_components.styled)(require_tabList.W).withConfig({
1122
1118
  displayName: "IconBox",
1123
1119
  componentId: "sc-ecog6m-2"
1124
- })(selectStyle.iconBox), Select = forwardRef(function Select(props, forwardedRef) {
1125
- let $ = c(38), children, customValidity, disabled, gap, readOnly, restProps, t0, t1, t2, t3;
1120
+ })(selectStyle.iconBox), Select = (0, react.forwardRef)(function Select(props, forwardedRef) {
1121
+ let $ = (0, react_compiler_runtime.c)(38), children, customValidity, disabled, gap, readOnly, restProps, t0, t1, t2, t3;
1126
1122
  $[0] === props ? (children = $[1], customValidity = $[2], disabled = $[3], gap = $[4], readOnly = $[5], restProps = $[6], t0 = $[7], t1 = $[8], t2 = $[9], t3 = $[10]) : ({children, customValidity, disabled, fontSize: t0, gap, padding: t1, radius: t2, readOnly, space: t3, ...restProps} = props, $[0] = props, $[1] = children, $[2] = customValidity, $[3] = disabled, $[4] = gap, $[5] = readOnly, $[6] = restProps, $[7] = t0, $[8] = t1, $[9] = t2, $[10] = t3);
1127
- let fontSize = t0 === void 0 ? 2 : t0, padding = t1 === void 0 ? 3 : t1, radius = t2 === void 0 ? 2 : t2, spacing = gap === void 0 ? t3 === void 0 ? 3 : t3 : gap, ref = useRef(null), t4;
1128
- $[11] === Symbol.for("react.memo_cache_sentinel") ? (t4 = () => ref.current, $[11] = t4) : t4 = $[11], useImperativeHandle(forwardedRef, t4), useCustomValidity(ref, customValidity);
1123
+ let fontSize = t0 === void 0 ? 2 : t0, padding = t1 === void 0 ? 3 : t1, radius = t2 === void 0 ? 2 : t2, spacing = gap === void 0 ? t3 === void 0 ? 3 : t3 : gap, ref = (0, react.useRef)(null), t4;
1124
+ $[11] === Symbol.for("react.memo_cache_sentinel") ? (t4 = () => ref.current, $[11] = t4) : t4 = $[11], (0, react.useImperativeHandle)(forwardedRef, t4), require_tabList.I(ref, customValidity);
1129
1125
  let t5 = !disabled && readOnly ? "" : void 0, t6;
1130
- $[12] === fontSize ? t6 = $[13] : (t6 = _getArrayProp(fontSize), $[12] = fontSize, $[13] = t6);
1126
+ $[12] === fontSize ? t6 = $[13] : (t6 = require_tabList.ft(fontSize), $[12] = fontSize, $[13] = t6);
1131
1127
  let t7;
1132
- $[14] === padding ? t7 = $[15] : (t7 = _getArrayProp(padding), $[14] = padding, $[15] = t7);
1128
+ $[14] === padding ? t7 = $[15] : (t7 = require_tabList.ft(padding), $[14] = padding, $[15] = t7);
1133
1129
  let t8;
1134
- $[16] === radius ? t8 = $[17] : (t8 = _getArrayProp(radius), $[16] = radius, $[17] = t8);
1130
+ $[16] === radius ? t8 = $[17] : (t8 = require_tabList.ft(radius), $[16] = radius, $[17] = t8);
1135
1131
  let t9;
1136
- $[18] === spacing ? t9 = $[19] : (t9 = _getArrayProp(spacing), $[18] = spacing, $[19] = t9);
1132
+ $[18] === spacing ? t9 = $[19] : (t9 = require_tabList.ft(spacing), $[18] = spacing, $[19] = t9);
1137
1133
  let t10 = disabled || readOnly, t11;
1138
- $[20] !== children || $[21] !== restProps || $[22] !== t10 || $[23] !== t5 || $[24] !== t6 || $[25] !== t7 || $[26] !== t8 || $[27] !== t9 ? (t11 = /* @__PURE__ */ jsx(Input$2, {
1134
+ $[20] !== children || $[21] !== restProps || $[22] !== t10 || $[23] !== t5 || $[24] !== t6 || $[25] !== t7 || $[26] !== t8 || $[27] !== t9 ? (t11 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(Input$2, {
1139
1135
  "data-read-only": t5,
1140
1136
  "data-ui": "Select",
1141
1137
  ...restProps,
@@ -1148,67 +1144,67 @@ const selectStyle = {
1148
1144
  children
1149
1145
  }), $[20] = children, $[21] = restProps, $[22] = t10, $[23] = t5, $[24] = t6, $[25] = t7, $[26] = t8, $[27] = t9, $[28] = t11) : t11 = $[28];
1150
1146
  let t12;
1151
- $[29] === Symbol.for("react.memo_cache_sentinel") ? (t12 = /* @__PURE__ */ jsx(ChevronDownIcon, {}), $[29] = t12) : t12 = $[29];
1147
+ $[29] === Symbol.for("react.memo_cache_sentinel") ? (t12 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_sanity_icons_ChevronDown.ChevronDownIcon, {}), $[29] = t12) : t12 = $[29];
1152
1148
  let t13;
1153
- $[30] === fontSize ? t13 = $[31] : (t13 = /* @__PURE__ */ jsx(Text, {
1149
+ $[30] === fontSize ? t13 = $[31] : (t13 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_tabList.U, {
1154
1150
  size: fontSize,
1155
1151
  children: t12
1156
1152
  }), $[30] = fontSize, $[31] = t13);
1157
1153
  let t14;
1158
- $[32] !== padding || $[33] !== t13 ? (t14 = /* @__PURE__ */ jsx(IconBox, {
1154
+ $[32] !== padding || $[33] !== t13 ? (t14 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconBox, {
1159
1155
  padding,
1160
1156
  children: t13
1161
1157
  }), $[32] = padding, $[33] = t13, $[34] = t14) : t14 = $[34];
1162
1158
  let t15;
1163
- return $[35] !== t11 || $[36] !== t14 ? (t15 = /* @__PURE__ */ jsxs(StyledSelect, {
1159
+ return $[35] !== t11 || $[36] !== t14 ? (t15 = /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(StyledSelect, {
1164
1160
  "data-ui": "Select",
1165
1161
  children: [t11, t14]
1166
1162
  }), $[35] = t11, $[36] = t14, $[37] = t15) : t15 = $[37], t15;
1167
1163
  });
1168
1164
  function switchBaseStyles() {
1169
- return css`position:relative;&:not([hidden]){display:inline-block;}`;
1165
+ return styled_components.css`position:relative;&:not([hidden]){display:inline-block;}`;
1170
1166
  }
1171
1167
  function switchInputStyles() {
1172
- return css`position:absolute;top:0;right:0;bottom:0;left:0;opacity:0;height:100%;width:100%;outline:none;padding:0;margin:0;z-index:1;`;
1168
+ return styled_components.css`position:absolute;top:0;right:0;bottom:0;left:0;opacity:0;height:100%;width:100%;outline:none;padding:0;margin:0;z-index:1;`;
1173
1169
  }
1174
1170
  function switchRepresentationStyles(props) {
1175
- let { color, input } = getTheme_v2(props.theme);
1176
- return css`--switch-bg-color:${color.input.default.enabled.border};--switch-fg-color:${color.input.default.enabled.bg};--switch-box-shadow:none;&:not([hidden]){display:block;}position:relative;width:${rem(input.switch.width)};height:${rem(input.switch.height)};border-radius:${rem(input.switch.height / 2)};pointer-events:none;&:after{content:'';display:block;position:absolute;top:0;left:0;right:0;bottom:0;z-index:1;box-shadow:var(--switch-box-shadow);border-radius:inherit;}input:focus + &&{--switch-box-shadow:${focusRingStyle({ focusRing: input.switch.focusRing })};}input:focus:not(:focus-visible) + &&{--switch-box-shadow:none;}input:checked + &&{--switch-bg-color:${color.input.default.enabled.fg};--switch-fg-color:${color.input.default.enabled.bg};}@media (hover:hover){input:not(:disabled):hover + &&{--switch-bg-color:${color.input.default.hovered.border};--switch-fg-color:${color.input.default.hovered.bg};}input:not(:disabled):checked:hover + &&{--switch-bg-color:${color.input.default.enabled.fg};--switch-fg-color:${color.input.default.enabled.bg};}}input:not([data-read-only]):disabled + &&{--switch-bg-color:${color.input.default.disabled.border};--switch-fg-color:${color.input.default.disabled.bg};}input[data-read-only]:disabled + &&{--switch-bg-color:${color.input.default.readOnly.border};--switch-fg-color:${color.input.default.readOnly.bg};}input:checked[data-read-only]:disabled + &&{--switch-bg-color:${color.input.default.readOnly.fg};--switch-fg-color:${color.input.default.readOnly.bg};}`;
1171
+ let { color, input } = require_theme.X(props.theme);
1172
+ return styled_components.css`--switch-bg-color:${color.input.default.enabled.border};--switch-fg-color:${color.input.default.enabled.bg};--switch-box-shadow:none;&:not([hidden]){display:block;}position:relative;width:${require_tabList.ht(input.switch.width)};height:${require_tabList.ht(input.switch.height)};border-radius:${require_tabList.ht(input.switch.height / 2)};pointer-events:none;&:after{content:'';display:block;position:absolute;top:0;left:0;right:0;bottom:0;z-index:1;box-shadow:var(--switch-box-shadow);border-radius:inherit;}input:focus + &&{--switch-box-shadow:${require_tabList.tt({ focusRing: input.switch.focusRing })};}input:focus:not(:focus-visible) + &&{--switch-box-shadow:none;}input:checked + &&{--switch-bg-color:${color.input.default.enabled.fg};--switch-fg-color:${color.input.default.enabled.bg};}@media (hover:hover){input:not(:disabled):hover + &&{--switch-bg-color:${color.input.default.hovered.border};--switch-fg-color:${color.input.default.hovered.bg};}input:not(:disabled):checked:hover + &&{--switch-bg-color:${color.input.default.enabled.fg};--switch-fg-color:${color.input.default.enabled.bg};}}input:not([data-read-only]):disabled + &&{--switch-bg-color:${color.input.default.disabled.border};--switch-fg-color:${color.input.default.disabled.bg};}input[data-read-only]:disabled + &&{--switch-bg-color:${color.input.default.readOnly.border};--switch-fg-color:${color.input.default.readOnly.bg};}input:checked[data-read-only]:disabled + &&{--switch-bg-color:${color.input.default.readOnly.fg};--switch-fg-color:${color.input.default.readOnly.bg};}`;
1177
1173
  }
1178
1174
  function switchTrackStyles(props) {
1179
- let { input } = getTheme_v2(props.theme);
1180
- return css`&:not([hidden]){display:block;}background-color:var(--switch-bg-color);position:absolute;left:0;top:0;width:${rem(input.switch.width)};height:${rem(input.switch.height)};border-radius:${rem(input.switch.height / 2)};`;
1175
+ let { input } = require_theme.X(props.theme);
1176
+ return styled_components.css`&:not([hidden]){display:block;}background-color:var(--switch-bg-color);position:absolute;left:0;top:0;width:${require_tabList.ht(input.switch.width)};height:${require_tabList.ht(input.switch.height)};border-radius:${require_tabList.ht(input.switch.height / 2)};`;
1181
1177
  }
1182
1178
  function switchThumbStyles(props) {
1183
- let { $indeterminate } = props, { input } = getTheme_v2(props.theme), trackWidth = input.switch.width, trackHeight = input.switch.height, trackPadding = input.switch.padding, size = trackHeight - input.switch.padding * 2, checkedOffset = trackWidth - trackPadding * 2 - size, indeterminateOffset = trackWidth / 2 - size / 2 - trackPadding, checked = $indeterminate !== !0 && props.$checked === !0;
1184
- return css`&:not([hidden]){display:block;}position:absolute;left:${rem(trackPadding)};top:${rem(trackPadding)};height:${rem(size)};width:${rem(size)};border-radius:${rem(size / 2)};transition-property:transform;transition-duration:${input.switch.transitionDurationMs}ms;transition-timing-function:${input.switch.transitionTimingFunction};background:var(--switch-fg-color);transform:translate3d(0,0,0);box-shadow:0px 1px 0px 0px rgba(0,0,0,0.05);${checked && css`transform:translate3d(${checkedOffset}px,0,0);`} ${$indeterminate && css`transform:translate3d(${indeterminateOffset}px,0,0);`}`;
1179
+ let { $indeterminate } = props, { input } = require_theme.X(props.theme), trackWidth = input.switch.width, trackHeight = input.switch.height, trackPadding = input.switch.padding, size = trackHeight - input.switch.padding * 2, checkedOffset = trackWidth - trackPadding * 2 - size, indeterminateOffset = trackWidth / 2 - size / 2 - trackPadding, checked = $indeterminate !== !0 && props.$checked === !0;
1180
+ return styled_components.css`&:not([hidden]){display:block;}position:absolute;left:${require_tabList.ht(trackPadding)};top:${require_tabList.ht(trackPadding)};height:${require_tabList.ht(size)};width:${require_tabList.ht(size)};border-radius:${require_tabList.ht(size / 2)};transition-property:transform;transition-duration:${input.switch.transitionDurationMs}ms;transition-timing-function:${input.switch.transitionTimingFunction};background:var(--switch-fg-color);transform:translate3d(0,0,0);box-shadow:0px 1px 0px 0px rgba(0,0,0,0.05);${checked && styled_components.css`transform:translate3d(${checkedOffset}px,0,0);`} ${$indeterminate && styled_components.css`transform:translate3d(${indeterminateOffset}px,0,0);`}`;
1185
1181
  }
1186
- const StyledSwitch = /* @__PURE__ */ styled.span.withConfig({
1182
+ const StyledSwitch = /* @__PURE__ */ styled_components.styled.span.withConfig({
1187
1183
  displayName: "StyledSwitch",
1188
1184
  componentId: "sc-aod7y9-0"
1189
- })(switchBaseStyles), Input$1 = /* @__PURE__ */ styled.input.withConfig({
1185
+ })(switchBaseStyles), Input$1 = /* @__PURE__ */ styled_components.styled.input.withConfig({
1190
1186
  displayName: "Input",
1191
1187
  componentId: "sc-aod7y9-1"
1192
- })(switchInputStyles), Representation = /* @__PURE__ */ styled.span.withConfig({
1188
+ })(switchInputStyles), Representation = /* @__PURE__ */ styled_components.styled.span.withConfig({
1193
1189
  displayName: "Representation",
1194
1190
  componentId: "sc-aod7y9-2"
1195
- })(switchRepresentationStyles), Track = /* @__PURE__ */ styled.span.withConfig({
1191
+ })(switchRepresentationStyles), Track = /* @__PURE__ */ styled_components.styled.span.withConfig({
1196
1192
  displayName: "Track",
1197
1193
  componentId: "sc-aod7y9-3"
1198
- })(switchTrackStyles), Thumb = /* @__PURE__ */ styled.span.withConfig({
1194
+ })(switchTrackStyles), Thumb = /* @__PURE__ */ styled_components.styled.span.withConfig({
1199
1195
  displayName: "Thumb",
1200
1196
  componentId: "sc-aod7y9-4"
1201
- })(switchThumbStyles), Switch = forwardRef(function Switch(props, forwardedRef) {
1202
- let $ = c(26), checked, className, disabled, indeterminate, readOnly, restProps, style;
1197
+ })(switchThumbStyles), Switch = (0, react.forwardRef)(function Switch(props, forwardedRef) {
1198
+ let $ = (0, react_compiler_runtime.c)(26), checked, className, disabled, indeterminate, readOnly, restProps, style;
1203
1199
  $[0] === props ? (checked = $[1], className = $[2], disabled = $[3], indeterminate = $[4], readOnly = $[5], restProps = $[6], style = $[7]) : ({checked, className, disabled, indeterminate, readOnly, style, ...restProps} = props, $[0] = props, $[1] = checked, $[2] = className, $[3] = disabled, $[4] = indeterminate, $[5] = readOnly, $[6] = restProps, $[7] = style);
1204
- let ref = useRef(null), t0;
1205
- $[8] === Symbol.for("react.memo_cache_sentinel") ? (t0 = () => ref.current, $[8] = t0) : t0 = $[8], useImperativeHandle(forwardedRef, t0);
1200
+ let ref = (0, react.useRef)(null), t0;
1201
+ $[8] === Symbol.for("react.memo_cache_sentinel") ? (t0 = () => ref.current, $[8] = t0) : t0 = $[8], (0, react.useImperativeHandle)(forwardedRef, t0);
1206
1202
  let t1, t2;
1207
1203
  $[9] === indeterminate ? (t1 = $[10], t2 = $[11]) : (t1 = () => {
1208
1204
  ref.current && (ref.current.indeterminate = indeterminate || !1);
1209
- }, t2 = [indeterminate], $[9] = indeterminate, $[10] = t1, $[11] = t2), useEffect(t1, t2);
1205
+ }, t2 = [indeterminate], $[9] = indeterminate, $[10] = t1, $[11] = t2), (0, react.useEffect)(t1, t2);
1210
1206
  let t3 = !disabled && readOnly ? "" : void 0, t4 = indeterminate !== !0 && checked, t5 = disabled || readOnly, t6;
1211
- $[12] !== restProps || $[13] !== t3 || $[14] !== t4 || $[15] !== t5 ? (t6 = /* @__PURE__ */ jsx(Input$1, {
1207
+ $[12] !== restProps || $[13] !== t3 || $[14] !== t4 || $[15] !== t5 ? (t6 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(Input$1, {
1212
1208
  "data-read-only": t3,
1213
1209
  ...restProps,
1214
1210
  checked: t4,
@@ -1217,48 +1213,48 @@ const StyledSwitch = /* @__PURE__ */ styled.span.withConfig({
1217
1213
  ref
1218
1214
  }), $[12] = restProps, $[13] = t3, $[14] = t4, $[15] = t5, $[16] = t6) : t6 = $[16];
1219
1215
  let t7;
1220
- $[17] === Symbol.for("react.memo_cache_sentinel") ? (t7 = /* @__PURE__ */ jsx(Track, {}), $[17] = t7) : t7 = $[17];
1216
+ $[17] === Symbol.for("react.memo_cache_sentinel") ? (t7 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(Track, {}), $[17] = t7) : t7 = $[17];
1221
1217
  let t8;
1222
- $[18] !== checked || $[19] !== indeterminate ? (t8 = /* @__PURE__ */ jsxs(Representation, {
1218
+ $[18] !== checked || $[19] !== indeterminate ? (t8 = /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(Representation, {
1223
1219
  "aria-hidden": !0,
1224
1220
  "data-name": "representation",
1225
- children: [t7, /* @__PURE__ */ jsx(Thumb, {
1221
+ children: [t7, /* @__PURE__ */ (0, react_jsx_runtime.jsx)(Thumb, {
1226
1222
  $checked: checked,
1227
1223
  $indeterminate: indeterminate
1228
1224
  })]
1229
1225
  }), $[18] = checked, $[19] = indeterminate, $[20] = t8) : t8 = $[20];
1230
1226
  let t9;
1231
- return $[21] !== className || $[22] !== style || $[23] !== t6 || $[24] !== t8 ? (t9 = /* @__PURE__ */ jsxs(StyledSwitch, {
1227
+ return $[21] !== className || $[22] !== style || $[23] !== t6 || $[24] !== t8 ? (t9 = /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(StyledSwitch, {
1232
1228
  className,
1233
1229
  "data-ui": "Switch",
1234
1230
  style,
1235
1231
  children: [t6, t8]
1236
1232
  }), $[21] = className, $[22] = style, $[23] = t6, $[24] = t8, $[25] = t9) : t9 = $[25], t9;
1237
- }), StyledTextArea = /* @__PURE__ */ styled.span.withConfig({
1233
+ }), StyledTextArea = /* @__PURE__ */ styled_components.styled.span.withConfig({
1238
1234
  displayName: "StyledTextArea",
1239
1235
  componentId: "sc-vgfdnn-0"
1240
- })(textInputRootStyle), InputRoot = styled.span.withConfig({
1236
+ })(require_tabList.Z), InputRoot = styled_components.styled.span.withConfig({
1241
1237
  displayName: "InputRoot",
1242
1238
  componentId: "sc-vgfdnn-1"
1243
- })`flex:1;min-width:0;display:block;position:relative;`, Input = /* @__PURE__ */ styled.textarea.withConfig({
1239
+ })`flex:1;min-width:0;display:block;position:relative;`, Input = /* @__PURE__ */ styled_components.styled.textarea.withConfig({
1244
1240
  displayName: "Input",
1245
1241
  componentId: "sc-vgfdnn-2"
1246
- })(responsiveInputPaddingStyle, textInputBaseStyle, textInputFontSizeStyle), Presentation = /* @__PURE__ */ styled.div.withConfig({
1242
+ })(require_tabList.$, require_tabList.J, require_tabList.Y), Presentation = /* @__PURE__ */ styled_components.styled.div.withConfig({
1247
1243
  displayName: "Presentation",
1248
1244
  componentId: "sc-vgfdnn-3"
1249
- })(responsiveRadiusStyle, textInputRepresentationStyle), TextArea = forwardRef(function TextArea(props, forwardedRef) {
1250
- let $ = c(35), __unstable_disableFocusRing, customValidity, restProps, t0, t1, t2, t3, t4, weight;
1245
+ })(require_tabList.K, require_tabList.X), TextArea = (0, react.forwardRef)(function TextArea(props, forwardedRef) {
1246
+ let $ = (0, react_compiler_runtime.c)(35), __unstable_disableFocusRing, customValidity, restProps, t0, t1, t2, t3, t4, weight;
1251
1247
  $[0] === props ? (__unstable_disableFocusRing = $[1], customValidity = $[2], restProps = $[3], t0 = $[4], t1 = $[5], t2 = $[6], t3 = $[7], t4 = $[8], weight = $[9]) : ({border: t0, customValidity, disabled: t1, fontSize: t2, padding: t3, radius: t4, weight, __unstable_disableFocusRing, ...restProps} = props, $[0] = props, $[1] = __unstable_disableFocusRing, $[2] = customValidity, $[3] = restProps, $[4] = t0, $[5] = t1, $[6] = t2, $[7] = t3, $[8] = t4, $[9] = weight);
1252
- let border = t0 === void 0 || t0, disabled = t1 !== void 0 && t1, fontSize = t2 === void 0 ? 2 : t2, padding = t3 === void 0 ? 3 : t3, radius = t4 === void 0 ? 2 : t4, ref = useRef(null), rootTheme = useRootTheme(), t5;
1253
- $[10] === Symbol.for("react.memo_cache_sentinel") ? (t5 = () => ref.current, $[10] = t5) : t5 = $[10], useImperativeHandle(forwardedRef, t5), useCustomValidity(ref, customValidity);
1248
+ let border = t0 === void 0 || t0, disabled = t1 !== void 0 && t1, fontSize = t2 === void 0 ? 2 : t2, padding = t3 === void 0 ? 3 : t3, radius = t4 === void 0 ? 2 : t4, ref = (0, react.useRef)(null), rootTheme = require_tabList.at(), t5;
1249
+ $[10] === Symbol.for("react.memo_cache_sentinel") ? (t5 = () => ref.current, $[10] = t5) : t5 = $[10], (0, react.useImperativeHandle)(forwardedRef, t5), require_tabList.I(ref, customValidity);
1254
1250
  let t6 = rootTheme.scheme, t7 = rootTheme.tone, t8;
1255
- $[11] === fontSize ? t8 = $[12] : (t8 = _getArrayProp(fontSize), $[11] = fontSize, $[12] = t8);
1251
+ $[11] === fontSize ? t8 = $[12] : (t8 = require_tabList.ft(fontSize), $[11] = fontSize, $[12] = t8);
1256
1252
  let t9;
1257
- $[13] === padding ? t9 = $[14] : (t9 = _getArrayProp(padding), $[13] = padding, $[14] = t9);
1253
+ $[13] === padding ? t9 = $[14] : (t9 = require_tabList.ft(padding), $[13] = padding, $[14] = t9);
1258
1254
  let t10 = rootTheme.scheme, t11;
1259
- $[15] === Symbol.for("react.memo_cache_sentinel") ? (t11 = _getArrayProp(0), $[15] = t11) : t11 = $[15];
1255
+ $[15] === Symbol.for("react.memo_cache_sentinel") ? (t11 = require_tabList.ft(0), $[15] = t11) : t11 = $[15];
1260
1256
  let t12;
1261
- $[16] !== disabled || $[17] !== restProps || $[18] !== rootTheme.scheme || $[19] !== rootTheme.tone || $[20] !== t8 || $[21] !== t9 || $[22] !== weight ? (t12 = /* @__PURE__ */ jsx(Input, {
1257
+ $[16] !== disabled || $[17] !== restProps || $[18] !== rootTheme.scheme || $[19] !== rootTheme.tone || $[20] !== t8 || $[21] !== t9 || $[22] !== weight ? (t12 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(Input, {
1262
1258
  "data-as": "textarea",
1263
1259
  "data-scheme": t6,
1264
1260
  "data-tone": t7,
@@ -1273,9 +1269,9 @@ const StyledSwitch = /* @__PURE__ */ styled.span.withConfig({
1273
1269
  ref
1274
1270
  }), $[16] = disabled, $[17] = restProps, $[18] = rootTheme.scheme, $[19] = rootTheme.tone, $[20] = t8, $[21] = t9, $[22] = weight, $[23] = t12) : t12 = $[23];
1275
1271
  let t13;
1276
- $[24] === radius ? t13 = $[25] : (t13 = _getArrayProp(radius), $[24] = radius, $[25] = t13);
1272
+ $[24] === radius ? t13 = $[25] : (t13 = require_tabList.ft(radius), $[24] = radius, $[25] = t13);
1277
1273
  let t14 = border ? "" : void 0, t15;
1278
- $[26] !== __unstable_disableFocusRing || $[27] !== rootTheme.scheme || $[28] !== rootTheme.tone || $[29] !== t13 || $[30] !== t14 ? (t15 = /* @__PURE__ */ jsx(Presentation, {
1274
+ $[26] !== __unstable_disableFocusRing || $[27] !== rootTheme.scheme || $[28] !== rootTheme.tone || $[29] !== t13 || $[30] !== t14 ? (t15 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(Presentation, {
1279
1275
  $radius: t13,
1280
1276
  $unstableDisableFocusRing: __unstable_disableFocusRing,
1281
1277
  $scheme: rootTheme.scheme,
@@ -1285,9 +1281,9 @@ const StyledSwitch = /* @__PURE__ */ styled.span.withConfig({
1285
1281
  "data-tone": rootTheme.tone
1286
1282
  }), $[26] = __unstable_disableFocusRing, $[27] = rootTheme.scheme, $[28] = rootTheme.tone, $[29] = t13, $[30] = t14, $[31] = t15) : t15 = $[31];
1287
1283
  let t16;
1288
- return $[32] !== t12 || $[33] !== t15 ? (t16 = /* @__PURE__ */ jsx(StyledTextArea, {
1284
+ return $[32] !== t12 || $[33] !== t15 ? (t16 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(StyledTextArea, {
1289
1285
  "data-ui": "TextArea",
1290
- children: /* @__PURE__ */ jsxs(InputRoot, { children: [t12, t15] })
1286
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(InputRoot, { children: [t12, t15] })
1291
1287
  }), $[32] = t12, $[33] = t15, $[34] = t16) : t16 = $[34], t16;
1292
1288
  });
1293
1289
  /**
@@ -1296,7 +1292,7 @@ const StyledSwitch = /* @__PURE__ */ styled.span.withConfig({
1296
1292
  * which temporarily becomes 1 ms after the first floating element of the group opens.
1297
1293
  */
1298
1294
  function TooltipDelayGroupProvider(props) {
1299
- let $ = c(9), { children, delay } = props, [isGroupActive, setIsGroupActive] = useDelayedState(!1), [openTooltipId, setOpenTooltipId] = useDelayedState(null), openDelay = typeof delay == "number" ? delay : delay?.open || 0, closeDelay = typeof delay == "number" ? delay : delay?.close || 0, t0 = isGroupActive ? 1 : openDelay, t1;
1295
+ let $ = (0, react_compiler_runtime.c)(9), { children, delay } = props, [isGroupActive, setIsGroupActive] = require_tabList.d(!1), [openTooltipId, setOpenTooltipId] = require_tabList.d(null), openDelay = typeof delay == "number" ? delay : delay?.open || 0, closeDelay = typeof delay == "number" ? delay : delay?.close || 0, t0 = isGroupActive ? 1 : openDelay, t1;
1300
1296
  $[0] !== closeDelay || $[1] !== openTooltipId || $[2] !== setIsGroupActive || $[3] !== setOpenTooltipId || $[4] !== t0 ? (t1 = {
1301
1297
  setIsGroupActive,
1302
1298
  openTooltipId,
@@ -1305,7 +1301,7 @@ function TooltipDelayGroupProvider(props) {
1305
1301
  closeDelay
1306
1302
  }, $[0] = closeDelay, $[1] = openTooltipId, $[2] = setIsGroupActive, $[3] = setOpenTooltipId, $[4] = t0, $[5] = t1) : t1 = $[5];
1307
1303
  let value = t1, t2;
1308
- return $[6] !== children || $[7] !== value ? (t2 = /* @__PURE__ */ jsx(TooltipDelayGroupContext.Provider, {
1304
+ return $[6] !== children || $[7] !== value ? (t2 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_tabList.u.Provider, {
1309
1305
  value,
1310
1306
  children
1311
1307
  }), $[6] = children, $[7] = value, $[8] = t2) : t2 = $[8], t2;
@@ -1313,18 +1309,18 @@ function TooltipDelayGroupProvider(props) {
1313
1309
  /**
1314
1310
  * @internal
1315
1311
  */
1316
- const StyledAutocomplete = styled.div.withConfig({
1312
+ const StyledAutocomplete = styled_components.styled.div.withConfig({
1317
1313
  displayName: "StyledAutocomplete",
1318
1314
  componentId: "sc-hv7uk8-0"
1319
- })`line-height:0;`, ListBox = styled(Box).withConfig({
1315
+ })`line-height:0;`, ListBox = (0, styled_components.styled)(require_tabList.W).withConfig({
1320
1316
  displayName: "ListBox",
1321
1317
  componentId: "sc-hv7uk8-1"
1322
- })`& > ul{list-style:none;padding:0;margin:0;}`, rotate = keyframes`from{transform:rotate(0deg);}to{transform:rotate(360deg);}`, AnimatedSpinnerIcon = styled(SpinnerIcon).withConfig({
1318
+ })`& > ul{list-style:none;padding:0;margin:0;}`, rotate = styled_components.keyframes`from{transform:rotate(0deg);}to{transform:rotate(360deg);}`, AnimatedSpinnerIcon = (0, styled_components.styled)(_sanity_icons_Spinner.SpinnerIcon).withConfig({
1323
1319
  displayName: "AnimatedSpinnerIcon",
1324
1320
  componentId: "sc-hv7uk8-2"
1325
1321
  })`animation:${rotate} 500ms linear infinite;`;
1326
1322
  function AutocompleteOption(props) {
1327
- let $ = c(11), { children, id, onSelect, selected, value } = props, t0;
1323
+ let $ = (0, react_compiler_runtime.c)(11), { children, id, onSelect, selected, value } = props, t0;
1328
1324
  $[0] !== onSelect || $[1] !== value ? (t0 = () => {
1329
1325
  setTimeout(() => {
1330
1326
  onSelect(value);
@@ -1332,10 +1328,10 @@ function AutocompleteOption(props) {
1332
1328
  }, $[0] = onSelect, $[1] = value, $[2] = t0) : t0 = $[2];
1333
1329
  let handleClick = t0, t1;
1334
1330
  $[3] === handleClick ? t1 = $[4] : (t1 = (event) => {
1335
- event.key === "Enter" && !_isEnterToClickElement(event.currentTarget) && handleClick();
1331
+ event.key === "Enter" && !require_tabList.gt(event.currentTarget) && handleClick();
1336
1332
  }, $[3] = handleClick, $[4] = t1);
1337
1333
  let handleKeyDown = t1, t2;
1338
- return $[5] !== children || $[6] !== handleClick || $[7] !== handleKeyDown || $[8] !== id || $[9] !== selected ? (t2 = /* @__PURE__ */ jsx("li", {
1334
+ return $[5] !== children || $[6] !== handleClick || $[7] !== handleKeyDown || $[8] !== id || $[9] !== selected ? (t2 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)("li", {
1339
1335
  "aria-selected": selected,
1340
1336
  "data-ui": "AutocompleteOption",
1341
1337
  id,
@@ -1402,10 +1398,10 @@ const AUTOCOMPLETE_LISTBOX_IGNORE_KEYS = [
1402
1398
  "Meta",
1403
1399
  "Tab",
1404
1400
  "CapsLock"
1405
- ], AUTOCOMPLETE_POPOVER_FALLBACK_PLACEMENTS = ["bottom-start", "top-start"], DEFAULT_RENDER_VALUE = (value, option) => option ? option.value : value, DEFAULT_FILTER_OPTION = (query, option) => option.value.toLowerCase().indexOf(query.toLowerCase()) > -1, InnerAutocomplete = forwardRef(function Autocomplete(props, forwardedRef) {
1406
- let $ = c(181), customValidity, disabled, filterOptionProp, icon, id, loading, onBlur, onChange, onFocus, onQueryChange, onSelect, openButton, openOnFocus, optionsProp, prefix, readOnly, relatedElements, renderOptionProp, renderPopover, restProps, suffix, t0, t1, t2, t3, t4, t5, t6, valueProp;
1401
+ ], AUTOCOMPLETE_POPOVER_FALLBACK_PLACEMENTS = ["bottom-start", "top-start"], DEFAULT_RENDER_VALUE = (value, option) => option ? option.value : value, DEFAULT_FILTER_OPTION = (query, option) => option.value.toLowerCase().indexOf(query.toLowerCase()) > -1, InnerAutocomplete = (0, react.forwardRef)(function Autocomplete(props, forwardedRef) {
1402
+ let $ = (0, react_compiler_runtime.c)(181), customValidity, disabled, filterOptionProp, icon, id, loading, onBlur, onChange, onFocus, onQueryChange, onSelect, openButton, openOnFocus, optionsProp, prefix, readOnly, relatedElements, renderOptionProp, renderPopover, restProps, suffix, t0, t1, t2, t3, t4, t5, t6, valueProp;
1407
1403
  $[0] === props ? (customValidity = $[1], disabled = $[2], filterOptionProp = $[3], icon = $[4], id = $[5], loading = $[6], onBlur = $[7], onChange = $[8], onFocus = $[9], onQueryChange = $[10], onSelect = $[11], openButton = $[12], openOnFocus = $[13], optionsProp = $[14], prefix = $[15], readOnly = $[16], relatedElements = $[17], renderOptionProp = $[18], renderPopover = $[19], restProps = $[20], suffix = $[21], t0 = $[22], t1 = $[23], t2 = $[24], t3 = $[25], t4 = $[26], t5 = $[27], t6 = $[28], valueProp = $[29]) : ({border: t0, customValidity, disabled, filterOption: filterOptionProp, fontSize: t1, icon, id, listBox: t2, loading, onBlur, onChange, onFocus, onQueryChange, onSelect, openButton, openOnFocus, options: optionsProp, padding: t3, popover: t4, prefix, radius: t5, readOnly, relatedElements, renderOption: renderOptionProp, renderPopover, renderValue: t6, suffix, value: valueProp, ...restProps} = props, $[0] = props, $[1] = customValidity, $[2] = disabled, $[3] = filterOptionProp, $[4] = icon, $[5] = id, $[6] = loading, $[7] = onBlur, $[8] = onChange, $[9] = onFocus, $[10] = onQueryChange, $[11] = onSelect, $[12] = openButton, $[13] = openOnFocus, $[14] = optionsProp, $[15] = prefix, $[16] = readOnly, $[17] = relatedElements, $[18] = renderOptionProp, $[19] = renderPopover, $[20] = restProps, $[21] = suffix, $[22] = t0, $[23] = t1, $[24] = t2, $[25] = t3, $[26] = t4, $[27] = t5, $[28] = t6, $[29] = valueProp);
1408
- let border = t0 === void 0 || t0, fontSize = t1 === void 0 ? 2 : t1, listBox = t2 === void 0 ? EMPTY_RECORD : t2, paddingProp = t3 === void 0 ? 3 : t3, popover = t4 === void 0 ? EMPTY_RECORD : t4, radius = t5 === void 0 ? 2 : t5, renderValue = t6 === void 0 ? DEFAULT_RENDER_VALUE : t6, t7 = valueProp || null, t8 = valueProp || null, t9;
1404
+ let border = t0 === void 0 || t0, fontSize = t1 === void 0 ? 2 : t1, listBox = t2 === void 0 ? require_tabList.Tt : t2, paddingProp = t3 === void 0 ? 3 : t3, popover = t4 === void 0 ? require_tabList.Tt : t4, radius = t5 === void 0 ? 2 : t5, renderValue = t6 === void 0 ? DEFAULT_RENDER_VALUE : t6, t7 = valueProp || null, t8 = valueProp || null, t9;
1409
1405
  $[30] !== t7 || $[31] !== t8 ? (t9 = {
1410
1406
  activeValue: t7,
1411
1407
  focused: !1,
@@ -1413,30 +1409,30 @@ const AUTOCOMPLETE_LISTBOX_IGNORE_KEYS = [
1413
1409
  query: null,
1414
1410
  value: t8
1415
1411
  }, $[30] = t7, $[31] = t8, $[32] = t9) : t9 = $[32];
1416
- let [state, dispatch] = useReducer(autocompleteReducer, t9), { activeValue, focused, listFocused, query, value } = state, t10;
1412
+ let [state, dispatch] = (0, react.useReducer)(autocompleteReducer, t9), { activeValue, focused, listFocused, query, value } = state, t10;
1417
1413
  $[33] !== fontSize || $[34] !== paddingProp ? (t10 = (t11) => {
1418
1414
  let { value: value_0 } = t11;
1419
- return /* @__PURE__ */ jsx(Card, {
1415
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_tabList.R, {
1420
1416
  "data-as": "button",
1421
1417
  padding: paddingProp,
1422
1418
  radius: 2,
1423
1419
  tone: "inherit",
1424
- children: /* @__PURE__ */ jsx(Text, {
1420
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_tabList.U, {
1425
1421
  size: fontSize,
1426
1422
  textOverflow: "ellipsis",
1427
1423
  children: value_0
1428
1424
  })
1429
1425
  });
1430
1426
  }, $[33] = fontSize, $[34] = paddingProp, $[35] = t10) : t10 = $[35];
1431
- let renderOption = typeof renderOptionProp == "function" ? renderOptionProp : t10, filterOption = typeof filterOptionProp == "function" ? filterOptionProp : DEFAULT_FILTER_OPTION, rootElementRef = useRef(null), resultsPopoverElementRef = useRef(null), inputElementRef = useRef(null), listBoxElementRef = useRef(null), [inputElement, _setInputElement] = useState(null), t11;
1427
+ let renderOption = typeof renderOptionProp == "function" ? renderOptionProp : t10, filterOption = typeof filterOptionProp == "function" ? filterOptionProp : DEFAULT_FILTER_OPTION, rootElementRef = (0, react.useRef)(null), resultsPopoverElementRef = (0, react.useRef)(null), inputElementRef = (0, react.useRef)(null), listBoxElementRef = (0, react.useRef)(null), [inputElement, _setInputElement] = (0, react.useState)(null), t11;
1432
1428
  $[36] === Symbol.for("react.memo_cache_sentinel") ? (t11 = (node) => {
1433
- startTransition(() => _setInputElement(node));
1429
+ (0, react.startTransition)(() => _setInputElement(node));
1434
1430
  }, $[36] = t11) : t11 = $[36];
1435
- let setInputElement = t11, listFocusedRef = useRef(!1), valueRef = useRef(value), valuePropRef = useRef(valueProp), popoverMouseWithinRef = useRef(!1), t12, t13;
1436
- $[37] === inputElement ? (t12 = $[38], t13 = $[39]) : (t12 = () => inputElement, t13 = [inputElement], $[37] = inputElement, $[38] = t12, $[39] = t13), useImperativeHandle(inputElementRef, t12, t13);
1431
+ let setInputElement = t11, listFocusedRef = (0, react.useRef)(!1), valueRef = (0, react.useRef)(value), valuePropRef = (0, react.useRef)(valueProp), popoverMouseWithinRef = (0, react.useRef)(!1), t12, t13;
1432
+ $[37] === inputElement ? (t12 = $[38], t13 = $[39]) : (t12 = () => inputElement, t13 = [inputElement], $[37] = inputElement, $[38] = t12, $[39] = t13), (0, react.useImperativeHandle)(inputElementRef, t12, t13);
1437
1433
  let t14, t15;
1438
- $[40] === inputElement ? (t14 = $[41], t15 = $[42]) : (t14 = () => inputElement, t15 = [inputElement], $[40] = inputElement, $[41] = t14, $[42] = t15), useImperativeHandle(forwardedRef, t14, t15);
1439
- let listBoxId = `${id}-listbox`, options = Array.isArray(optionsProp) ? optionsProp : EMPTY_ARRAY, padding = _getArrayProp(paddingProp), t16;
1434
+ $[40] === inputElement ? (t14 = $[41], t15 = $[42]) : (t14 = () => inputElement, t15 = [inputElement], $[40] = inputElement, $[41] = t14, $[42] = t15), (0, react.useImperativeHandle)(forwardedRef, t14, t15);
1435
+ let listBoxId = `${id}-listbox`, options = Array.isArray(optionsProp) ? optionsProp : require_tabList.wt, padding = require_tabList.ft(paddingProp), t16;
1440
1436
  $[43] !== options || $[44] !== value ? (t16 = value === null ? void 0 : options.find((o) => o.value === value), $[43] = options, $[44] = value, $[45] = t16) : t16 = $[45];
1441
1437
  let currentOption = t16, t17;
1442
1438
  if ($[46] !== filterOption || $[47] !== options || $[48] !== query) {
@@ -1552,14 +1548,14 @@ const AUTOCOMPLETE_LISTBOX_IGNORE_KEYS = [
1552
1548
  type: "value/change",
1553
1549
  value: valueProp || null
1554
1550
  }));
1555
- }, t30 = [valueProp], $[84] = valueProp, $[85] = t29, $[86] = t30), useEffect(t29, t30);
1551
+ }, t30 = [valueProp], $[84] = valueProp, $[85] = t29, $[86] = t30), (0, react.useEffect)(t29, t30);
1556
1552
  let t31, t32;
1557
1553
  $[87] === focused ? (t31 = $[88], t32 = $[89]) : (t31 = () => {
1558
1554
  !focused && valueRef.current && dispatch({
1559
1555
  type: "root/setActiveValue",
1560
1556
  value: valueRef.current
1561
1557
  });
1562
- }, t32 = [focused], $[87] = focused, $[88] = t31, $[89] = t32), useEffect(t31, t32);
1558
+ }, t32 = [focused], $[87] = focused, $[88] = t31, $[89] = t32), (0, react.useEffect)(t31, t32);
1563
1559
  let t33, t34;
1564
1560
  $[90] !== activeValue || $[91] !== filteredOptions ? (t33 = () => {
1565
1561
  let listElement = listBoxElementRef.current;
@@ -1572,7 +1568,7 @@ const AUTOCOMPLETE_LISTBOX_IGNORE_KEYS = [
1572
1568
  focusFirstDescendant(activeItemElement);
1573
1569
  }
1574
1570
  }
1575
- }, t34 = [activeValue, filteredOptions], $[90] = activeValue, $[91] = filteredOptions, $[92] = t33, $[93] = t34) : (t33 = $[92], t34 = $[93]), useEffect(t33, t34);
1571
+ }, t34 = [activeValue, filteredOptions], $[90] = activeValue, $[91] = filteredOptions, $[92] = t33, $[93] = t34) : (t33 = $[92], t34 = $[93]), (0, react.useEffect)(t33, t34);
1576
1572
  let t35;
1577
1573
  bb0: {
1578
1574
  if (!loading && !disabled && value) {
@@ -1585,19 +1581,19 @@ const AUTOCOMPLETE_LISTBOX_IGNORE_KEYS = [
1585
1581
  }
1586
1582
  t35 = void 0;
1587
1583
  }
1588
- let clearButton = t35, openButtonBoxPadding = padding.map(_temp$2), openButtonPadding = padding.map(_temp2), openButtonProps = typeof openButton == "object" ? openButton : EMPTY_RECORD, t36;
1584
+ let clearButton = t35, openButtonBoxPadding = padding.map(_temp$3), openButtonPadding = padding.map(_temp2$1), openButtonProps = typeof openButton == "object" ? openButton : require_tabList.Tt, t36;
1589
1585
  $[95] !== dispatchOpen || $[96] !== openButtonProps ? (t36 = (event_4) => {
1590
1586
  dispatchOpen(), openButtonProps.onClick && openButtonProps.onClick(event_4), _raf(() => inputElementRef.current?.focus());
1591
1587
  }, $[95] = dispatchOpen, $[96] = openButtonProps, $[97] = t36) : t36 = $[97];
1592
1588
  let handleOpenClick = t36, t37;
1593
- $[98] !== disabled || $[99] !== expanded || $[100] !== fontSize || $[101] !== handleOpenClick || $[102] !== openButton || $[103] !== openButtonBoxPadding || $[104] !== openButtonPadding || $[105] !== openButtonProps || $[106] !== readOnly ? (t37 = !disabled && !readOnly && openButton ? /* @__PURE__ */ jsx(Box, {
1589
+ $[98] !== disabled || $[99] !== expanded || $[100] !== fontSize || $[101] !== handleOpenClick || $[102] !== openButton || $[103] !== openButtonBoxPadding || $[104] !== openButtonPadding || $[105] !== openButtonProps || $[106] !== readOnly ? (t37 = !disabled && !readOnly && openButton ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_tabList.W, {
1594
1590
  "aria-hidden": expanded,
1595
1591
  padding: openButtonBoxPadding,
1596
- children: /* @__PURE__ */ jsx(Button, {
1592
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_tabList.z, {
1597
1593
  "aria-label": "Open",
1598
1594
  disabled: expanded,
1599
1595
  fontSize,
1600
- icon: ChevronDownIcon,
1596
+ icon: _sanity_icons_ChevronDown.ChevronDownIcon,
1601
1597
  mode: "bleed",
1602
1598
  padding: openButtonPadding,
1603
1599
  ...openButtonProps,
@@ -1632,12 +1628,12 @@ const AUTOCOMPLETE_LISTBOX_IGNORE_KEYS = [
1632
1628
  let t42;
1633
1629
  $[123] !== activeValue || $[124] !== currentOption || $[125] !== handleOptionSelect || $[126] !== id || $[127] !== listFocused || $[128] !== loading || $[129] !== renderOption ? (t42 = (option_0) => {
1634
1630
  let active = activeValue === null ? currentOption === option_0 : option_0.value === activeValue;
1635
- return /* @__PURE__ */ jsx(AutocompleteOption, {
1631
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(AutocompleteOption, {
1636
1632
  id: `${id}-option-${option_0.value}`,
1637
1633
  onSelect: handleOptionSelect,
1638
1634
  selected: active,
1639
1635
  value: option_0.value,
1640
- children: cloneElement(renderOption(option_0), {
1636
+ children: (0, react.cloneElement)(renderOption(option_0), {
1641
1637
  disabled: loading,
1642
1638
  selected: active,
1643
1639
  tabIndex: listFocused && active ? 0 : -1
@@ -1646,7 +1642,7 @@ const AUTOCOMPLETE_LISTBOX_IGNORE_KEYS = [
1646
1642
  }, $[123] = activeValue, $[124] = currentOption, $[125] = handleOptionSelect, $[126] = id, $[127] = listFocused, $[128] = loading, $[129] = renderOption, $[130] = t42) : t42 = $[130], t41 = filteredOptions.map(t42), $[114] = activeValue, $[115] = currentOption, $[116] = filteredOptions, $[117] = handleOptionSelect, $[118] = id, $[119] = listFocused, $[120] = loading, $[121] = renderOption, $[122] = t41;
1647
1643
  } else t41 = $[122];
1648
1644
  let t42;
1649
- $[131] !== listBoxId || $[132] !== t41 ? (t42 = /* @__PURE__ */ jsx(Stack, {
1645
+ $[131] !== listBoxId || $[132] !== t41 ? (t42 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_tabList.p, {
1650
1646
  as: "ul",
1651
1647
  "aria-multiselectable": !1,
1652
1648
  "data-ui": "AutoComplete__resultsList",
@@ -1657,7 +1653,7 @@ const AUTOCOMPLETE_LISTBOX_IGNORE_KEYS = [
1657
1653
  children: t41
1658
1654
  }), $[131] = listBoxId, $[132] = t41, $[133] = t42) : t42 = $[133];
1659
1655
  let t43;
1660
- $[134] !== handleListBoxKeyDown || $[135] !== listBox || $[136] !== t42 ? (t43 = /* @__PURE__ */ jsx(ListBox, {
1656
+ $[134] !== handleListBoxKeyDown || $[135] !== listBox || $[136] !== t42 ? (t43 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(ListBox, {
1661
1657
  "data-ui": "AutoComplete__results",
1662
1658
  onKeyDown: handleListBoxKeyDown,
1663
1659
  padding: 1,
@@ -1670,7 +1666,7 @@ const AUTOCOMPLETE_LISTBOX_IGNORE_KEYS = [
1670
1666
  bb3: {
1671
1667
  if (renderPopover) {
1672
1668
  let t42 = !expanded, t43;
1673
- $[138] !== content || $[139] !== handlePopoverMouseEnter || $[140] !== handlePopoverMouseLeave || $[141] !== inputElement || $[142] !== renderPopover || $[143] !== t42 ? (t43 = /* @__PURE__ */ jsx(RenderPopover, {
1669
+ $[138] !== content || $[139] !== handlePopoverMouseEnter || $[140] !== handlePopoverMouseLeave || $[141] !== inputElement || $[142] !== renderPopover || $[143] !== t42 ? (t43 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(RenderPopover, {
1674
1670
  content,
1675
1671
  hidden: t42,
1676
1672
  inputElement,
@@ -1686,7 +1682,7 @@ const AUTOCOMPLETE_LISTBOX_IGNORE_KEYS = [
1686
1682
  break bb3;
1687
1683
  }
1688
1684
  let t42;
1689
- $[145] !== content || $[146] !== expanded || $[147] !== handlePopoverMouseEnter || $[148] !== handlePopoverMouseLeave || $[149] !== inputElement || $[150] !== popover || $[151] !== radius ? (t42 = /* @__PURE__ */ jsx(Popover, {
1685
+ $[145] !== content || $[146] !== expanded || $[147] !== handlePopoverMouseEnter || $[148] !== handlePopoverMouseLeave || $[149] !== inputElement || $[150] !== popover || $[151] !== radius ? (t42 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_tabList.m, {
1690
1686
  arrow: !1,
1691
1687
  constrainSize: !0,
1692
1688
  content,
@@ -1705,7 +1701,7 @@ const AUTOCOMPLETE_LISTBOX_IGNORE_KEYS = [
1705
1701
  }), $[145] = content, $[146] = expanded, $[147] = handlePopoverMouseEnter, $[148] = handlePopoverMouseLeave, $[149] = inputElement, $[150] = popover, $[151] = radius, $[152] = t42) : t42 = $[152], t41 = t42;
1706
1702
  }
1707
1703
  let results = t41, t42 = loading && AnimatedSpinnerIcon, t43 = suffix || openButtonNode, t44;
1708
- $[153] !== activeItemId || $[154] !== border || $[155] !== clearButton || $[156] !== customValidity || $[157] !== disabled || $[158] !== expanded || $[159] !== fontSize || $[160] !== handleClearButtonClick || $[161] !== handleInputChange || $[162] !== handleInputFocus || $[163] !== icon || $[164] !== id || $[165] !== inputValue || $[166] !== listBoxId || $[167] !== padding || $[168] !== prefix || $[169] !== radius || $[170] !== readOnly || $[171] !== restProps || $[172] !== t42 || $[173] !== t43 ? (t44 = /* @__PURE__ */ jsx(TextInput, {
1704
+ $[153] !== activeItemId || $[154] !== border || $[155] !== clearButton || $[156] !== customValidity || $[157] !== disabled || $[158] !== expanded || $[159] !== fontSize || $[160] !== handleClearButtonClick || $[161] !== handleInputChange || $[162] !== handleInputFocus || $[163] !== icon || $[164] !== id || $[165] !== inputValue || $[166] !== listBoxId || $[167] !== padding || $[168] !== prefix || $[169] !== radius || $[170] !== readOnly || $[171] !== restProps || $[172] !== t42 || $[173] !== t43 ? (t44 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_tabList.f, {
1709
1705
  ...restProps,
1710
1706
  "aria-activedescendant": activeItemId,
1711
1707
  "aria-autocomplete": "list",
@@ -1737,7 +1733,7 @@ const AUTOCOMPLETE_LISTBOX_IGNORE_KEYS = [
1737
1733
  value: inputValue
1738
1734
  }), $[153] = activeItemId, $[154] = border, $[155] = clearButton, $[156] = customValidity, $[157] = disabled, $[158] = expanded, $[159] = fontSize, $[160] = handleClearButtonClick, $[161] = handleInputChange, $[162] = handleInputFocus, $[163] = icon, $[164] = id, $[165] = inputValue, $[166] = listBoxId, $[167] = padding, $[168] = prefix, $[169] = radius, $[170] = readOnly, $[171] = restProps, $[172] = t42, $[173] = t43, $[174] = t44) : t44 = $[174];
1739
1735
  let t45;
1740
- return $[175] !== handleRootBlur || $[176] !== handleRootFocus || $[177] !== handleRootKeyDown || $[178] !== results || $[179] !== t44 ? (t45 = /* @__PURE__ */ jsxs(StyledAutocomplete, {
1736
+ return $[175] !== handleRootBlur || $[176] !== handleRootFocus || $[177] !== handleRootKeyDown || $[178] !== results || $[179] !== t44 ? (t45 = /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(StyledAutocomplete, {
1741
1737
  "data-ui": "Autocomplete",
1742
1738
  onBlur: handleRootBlur,
1743
1739
  onFocus: handleRootFocus,
@@ -1762,31 +1758,31 @@ function RenderPopover({ renderPopover, content, hidden, inputElement, onMouseEn
1762
1758
  * @public
1763
1759
  */
1764
1760
  const Autocomplete = InnerAutocomplete;
1765
- function _temp$2(v_0) {
1761
+ function _temp$3(v_0) {
1766
1762
  return v_0 === 0 ? 0 : v_0 === 1 || v_0 === 2 ? 1 : v_0 - 2;
1767
1763
  }
1768
- function _temp2(v_1) {
1764
+ function _temp2$1(v_1) {
1769
1765
  return Math.max(v_1 - 1, 0);
1770
1766
  }
1771
- const StyledBreadcrumbs = styled.ol.withConfig({
1767
+ const StyledBreadcrumbs = styled_components.styled.ol.withConfig({
1772
1768
  displayName: "StyledBreadcrumbs",
1773
- componentId: "sc-b0flr4-0"
1774
- })`margin:0;padding:0;display:flex;list-style:none;align-items:center;white-space:nowrap;line-height:0;`, ExpandButton = styled(Button).withConfig({
1769
+ componentId: "sc-1nquj0-0"
1770
+ })`margin:0;padding:0;display:flex;list-style:none;align-items:center;white-space:nowrap;line-height:0;`, ExpandButton = (0, styled_components.styled)(require_tabList.z).withConfig({
1775
1771
  displayName: "ExpandButton",
1776
- componentId: "sc-b0flr4-1"
1777
- })`appearance:none;margin:-4px;`, Breadcrumbs = forwardRef(function Breadcrumbs(props, ref) {
1778
- let $ = c(30), children, gap, maxLength, restProps, separator, t0;
1772
+ componentId: "sc-1nquj0-1"
1773
+ })`appearance:none;margin:-4px;`, Breadcrumbs = (0, react.forwardRef)(function Breadcrumbs(props, ref) {
1774
+ let $ = (0, react_compiler_runtime.c)(30), children, gap, maxLength, restProps, separator, t0;
1779
1775
  $[0] === props ? (children = $[1], gap = $[2], maxLength = $[3], restProps = $[4], separator = $[5], t0 = $[6]) : ({children, gap, maxLength, separator, space: t0, ...restProps} = props, $[0] = props, $[1] = children, $[2] = gap, $[3] = maxLength, $[4] = restProps, $[5] = separator, $[6] = t0);
1780
1776
  let t1 = gap === void 0 ? t0 === void 0 ? 2 : t0 : gap, t2;
1781
- $[7] === t1 ? t2 = $[8] : (t2 = _getArrayProp(t1), $[7] = t1, $[8] = t2);
1782
- let space = t2, [open, setOpen] = useState(!1), expandElementRef = useRef(null), popoverElementRef = useRef(null), t3;
1777
+ $[7] === t1 ? t2 = $[8] : (t2 = require_tabList.ft(t1), $[7] = t1, $[8] = t2);
1778
+ let space = t2, [open, setOpen] = (0, react.useState)(!1), expandElementRef = (0, react.useRef)(null), popoverElementRef = (0, react.useRef)(null), t3;
1783
1779
  $[9] === Symbol.for("react.memo_cache_sentinel") ? (t3 = () => setOpen(!1), $[9] = t3) : t3 = $[9];
1784
1780
  let collapse = t3, t4;
1785
1781
  $[10] === Symbol.for("react.memo_cache_sentinel") ? (t4 = () => setOpen(!0), $[10] = t4) : t4 = $[10];
1786
1782
  let expand = t4, t5;
1787
- $[11] === Symbol.for("react.memo_cache_sentinel") ? (t5 = () => [expandElementRef.current, popoverElementRef.current], $[11] = t5) : t5 = $[11], useClickOutsideEvent(collapse, t5);
1783
+ $[11] === Symbol.for("react.memo_cache_sentinel") ? (t5 = () => [expandElementRef.current, popoverElementRef.current], $[11] = t5) : t5 = $[11], require_tabList.L(collapse, t5);
1788
1784
  let t6;
1789
- $[12] === children ? t6 = $[13] : (t6 = Children.toArray(children).filter(isValidElement), $[12] = children, $[13] = t6);
1785
+ $[12] === children ? t6 = $[13] : (t6 = react.Children.toArray(children).filter(react.isValidElement), $[12] = children, $[13] = t6);
1790
1786
  let rawItems = t6, t7;
1791
1787
  $[14] !== maxLength || $[15] !== open || $[16] !== rawItems || $[17] !== space ? (t7 = {
1792
1788
  collapse,
@@ -1801,21 +1797,21 @@ const StyledBreadcrumbs = styled.ol.withConfig({
1801
1797
  let items = useItems(t7), t8;
1802
1798
  if ($[19] !== items || $[20] !== separator || $[21] !== space) {
1803
1799
  let t9;
1804
- $[23] !== separator || $[24] !== space ? (t9 = (item, itemIndex) => /* @__PURE__ */ jsxs(Fragment, { children: [itemIndex > 0 && /* @__PURE__ */ jsx(Box, {
1800
+ $[23] !== separator || $[24] !== space ? (t9 = (item, itemIndex) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react.Fragment, { children: [itemIndex > 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_tabList.W, {
1805
1801
  "aria-hidden": !0,
1806
1802
  as: "li",
1807
1803
  paddingX: space,
1808
- children: separator || /* @__PURE__ */ jsx(Text, {
1804
+ children: separator || /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_tabList.U, {
1809
1805
  muted: !0,
1810
1806
  children: "/"
1811
1807
  })
1812
- }), /* @__PURE__ */ jsx(Box, {
1808
+ }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_tabList.W, {
1813
1809
  as: "li",
1814
1810
  children: item
1815
1811
  })] }, itemIndex), $[23] = separator, $[24] = space, $[25] = t9) : t9 = $[25], t8 = items.map(t9), $[19] = items, $[20] = separator, $[21] = space, $[22] = t8;
1816
1812
  } else t8 = $[22];
1817
1813
  let t9;
1818
- return $[26] !== ref || $[27] !== restProps || $[28] !== t8 ? (t9 = /* @__PURE__ */ jsx(StyledBreadcrumbs, {
1814
+ return $[26] !== ref || $[27] !== restProps || $[28] !== t8 ? (t9 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(StyledBreadcrumbs, {
1819
1815
  "data-ui": "Breadcrumbs",
1820
1816
  ...restProps,
1821
1817
  ref,
@@ -1823,14 +1819,14 @@ const StyledBreadcrumbs = styled.ol.withConfig({
1823
1819
  }), $[26] = ref, $[27] = restProps, $[28] = t8, $[29] = t9) : t9 = $[29], t9;
1824
1820
  });
1825
1821
  function useItems(t0) {
1826
- let $ = c(28), { collapse, expand, expandElementRef, maxLength, open, popoverElementRef, rawItems, space } = t0, len = rawItems.length;
1822
+ let $ = (0, react_compiler_runtime.c)(28), { collapse, expand, expandElementRef, maxLength, open, popoverElementRef, rawItems, space } = t0, len = rawItems.length;
1827
1823
  if (maxLength && len > maxLength) {
1828
1824
  let beforeLength = Math.ceil(maxLength / 2), afterLength = Math.floor(maxLength / 2), t1;
1829
1825
  if ($[0] !== afterLength || $[1] !== beforeLength || $[2] !== collapse || $[3] !== expand || $[4] !== expandElementRef || $[5] !== len || $[6] !== open || $[7] !== popoverElementRef || $[8] !== rawItems || $[9] !== space) {
1830
1826
  let t2 = rawItems.slice(0, beforeLength - 1), t3;
1831
1827
  $[11] !== afterLength || $[12] !== beforeLength || $[13] !== len || $[14] !== rawItems ? (t3 = rawItems.slice(beforeLength - 1, len - afterLength), $[11] = afterLength, $[12] = beforeLength, $[13] = len, $[14] = rawItems, $[15] = t3) : t3 = $[15];
1832
1828
  let t4;
1833
- $[16] !== space || $[17] !== t3 ? (t4 = /* @__PURE__ */ jsx(Stack, {
1829
+ $[16] !== space || $[17] !== t3 ? (t4 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_tabList.p, {
1834
1830
  as: "ol",
1835
1831
  overflow: "auto",
1836
1832
  padding: space,
@@ -1838,7 +1834,7 @@ function useItems(t0) {
1838
1834
  children: t3
1839
1835
  }), $[16] = space, $[17] = t3, $[18] = t4) : t4 = $[18];
1840
1836
  let t5 = open ? collapse : expand, t6;
1841
- $[19] !== expandElementRef || $[20] !== open || $[21] !== t5 ? (t6 = /* @__PURE__ */ jsx(ExpandButton, {
1837
+ $[19] !== expandElementRef || $[20] !== open || $[21] !== t5 ? (t6 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(ExpandButton, {
1842
1838
  fontSize: 1,
1843
1839
  mode: "bleed",
1844
1840
  onClick: t5,
@@ -1848,7 +1844,7 @@ function useItems(t0) {
1848
1844
  text: "…"
1849
1845
  }), $[19] = expandElementRef, $[20] = open, $[21] = t5, $[22] = t6) : t6 = $[22];
1850
1846
  let t7;
1851
- $[23] !== open || $[24] !== popoverElementRef || $[25] !== t4 || $[26] !== t6 ? (t7 = /* @__PURE__ */ jsx(Popover, {
1847
+ $[23] !== open || $[24] !== popoverElementRef || $[25] !== t4 || $[26] !== t6 ? (t7 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_tabList.m, {
1852
1848
  constrainSize: !0,
1853
1849
  content: t4,
1854
1850
  open,
@@ -1867,7 +1863,7 @@ function useItems(t0) {
1867
1863
  return rawItems;
1868
1864
  }
1869
1865
  function dialogStyle({ theme }) {
1870
- let { color } = getTheme_v2(theme);
1866
+ let { color } = require_theme.X(theme);
1871
1867
  return {
1872
1868
  "&:not([hidden])": { display: "flex" },
1873
1869
  top: 0,
@@ -1881,94 +1877,94 @@ function dialogStyle({ theme }) {
1881
1877
  };
1882
1878
  }
1883
1879
  function responsiveDialogPositionStyle(props) {
1884
- let { media } = getTheme_v2(props.theme);
1885
- return _responsive(media, props.$position, (position) => ({ "&&": { position } }));
1880
+ let { media } = require_theme.X(props.theme);
1881
+ return require_tabList.mt(media, props.$position, (position) => ({ "&&": { position } }));
1886
1882
  }
1887
1883
  function animationDialogStyle(props) {
1888
- return props.$animate ? css`@keyframes zoomIn{from{opacity:0;transform:scale(0.95);}to{opacity:1;transform:scale(1);}}@keyframes fadeIn{from{opacity:0;}to{opacity:1;}}animation:fadeIn 200ms ease-out;& > [data-ui='DialogCard']{animation:zoomIn 200ms ease-out;}` : css``;
1884
+ return props.$animate ? styled_components.css`@keyframes zoomIn{from{opacity:0;transform:scale(0.95);}to{opacity:1;transform:scale(1);}}@keyframes fadeIn{from{opacity:0;}to{opacity:1;}}animation:fadeIn 200ms ease-out;& > [data-ui='DialogCard']{animation:zoomIn 200ms ease-out;}` : styled_components.css``;
1889
1885
  }
1890
1886
  /**
1891
1887
  * @internal
1892
1888
  */
1893
- const DialogContext = createGlobalScopedContext("@sanity/ui/context/dialog", { version: 0 });
1889
+ const DialogContext = require_tabList.st("@sanity/ui/context/dialog", { version: 0 });
1894
1890
  /**
1895
1891
  * This API might change. DO NOT USE IN PRODUCTION.
1896
1892
  * @beta
1897
1893
  */
1898
1894
  function useDialog() {
1899
- return useContext(DialogContext);
1895
+ return (0, react.useContext)(DialogContext);
1900
1896
  }
1901
1897
  function isTargetWithinScope(boundaryElement, portalElement, target) {
1902
- return !boundaryElement || !portalElement || containsOrEqualsElement(boundaryElement, target) || containsOrEqualsElement(portalElement, target);
1898
+ return !boundaryElement || !portalElement || require_tabList._t(boundaryElement, target) || require_tabList._t(portalElement, target);
1903
1899
  }
1904
- const StyledDialog = /* @__PURE__ */ styled(Layer).withConfig({
1900
+ const StyledDialog = /* @__PURE__ */ (0, styled_components.styled)(require_tabList.v).withConfig({
1905
1901
  displayName: "StyledDialog",
1906
1902
  componentId: "sc-2s0up-0"
1907
- })(responsivePaddingStyle, dialogStyle, responsiveDialogPositionStyle, animationDialogStyle), DialogContainer = styled(Container).withConfig({
1903
+ })(require_tabList.q, dialogStyle, responsiveDialogPositionStyle, animationDialogStyle), DialogContainer = (0, styled_components.styled)(Container).withConfig({
1908
1904
  displayName: "DialogContainer",
1909
1905
  componentId: "sc-2s0up-1"
1910
- })`&:not([hidden]){display:flex;}width:100%;height:100%;flex-direction:column;align-items:center;justify-content:center;`, DialogCardRoot = styled(Card).withConfig({
1906
+ })`&:not([hidden]){display:flex;}width:100%;height:100%;flex-direction:column;align-items:center;justify-content:center;`, DialogCardRoot = (0, styled_components.styled)(require_tabList.R).withConfig({
1911
1907
  displayName: "DialogCardRoot",
1912
1908
  componentId: "sc-2s0up-2"
1913
- })`&:not([hidden]){display:flex;}width:100%;min-height:0;max-height:100%;overflow:hidden;overflow:clip;`, DialogLayout = styled(Flex).withConfig({
1909
+ })`&:not([hidden]){display:flex;}width:100%;min-height:0;max-height:100%;overflow:hidden;overflow:clip;`, DialogLayout = (0, styled_components.styled)(require_tabList.H).withConfig({
1914
1910
  displayName: "DialogLayout",
1915
1911
  componentId: "sc-2s0up-3"
1916
- })`flex:1;min-height:0;width:100%;`, DialogHeader = styled(Box).withConfig({
1912
+ })`flex:1;min-height:0;width:100%;`, DialogHeader = (0, styled_components.styled)(require_tabList.W).withConfig({
1917
1913
  displayName: "DialogHeader",
1918
1914
  componentId: "sc-2s0up-4"
1919
- })`position:relative;z-index:2;`, DialogContent = styled(Box).withConfig({
1915
+ })`position:relative;z-index:2;`, DialogContent = (0, styled_components.styled)(require_tabList.W).withConfig({
1920
1916
  displayName: "DialogContent",
1921
1917
  componentId: "sc-2s0up-5"
1922
- })`position:relative;z-index:1;overflow:auto;outline:none;`, DialogFooter = styled(Box).withConfig({
1918
+ })`position:relative;z-index:1;overflow:auto;outline:none;`, DialogFooter = (0, styled_components.styled)(require_tabList.W).withConfig({
1923
1919
  displayName: "DialogFooter",
1924
1920
  componentId: "sc-2s0up-6"
1925
- })`position:relative;z-index:3;`, DialogCard = forwardRef(function DialogCard(props, forwardedRef) {
1926
- let $ = c(44), { __unstable_autoFocus: autoFocus, __unstable_hideCloseButton: hideCloseButton, children, contentRef: forwardedContentRef, footer, header, id, onClickOutside, onClose, portal: portalProp, radius: radiusProp, scheme, shadow: shadowProp, width: widthProp } = props, portal = usePortal(), portalElement = portalProp ? portal.elements?.[portalProp] || null : portal.element, boundaryElement = useBoundaryElement().element, t0;
1927
- $[0] === radiusProp ? t0 = $[1] : (t0 = _getArrayProp(radiusProp), $[0] = radiusProp, $[1] = t0);
1921
+ })`position:relative;z-index:3;`, DialogCard = (0, react.forwardRef)(function DialogCard(props, forwardedRef) {
1922
+ let $ = (0, react_compiler_runtime.c)(44), { __unstable_autoFocus: autoFocus, __unstable_hideCloseButton: hideCloseButton, children, contentRef: forwardedContentRef, footer, header, id, onClickOutside, onClose, portal: portalProp, radius: radiusProp, scheme, shadow: shadowProp, width: widthProp } = props, portal = require_tabList._(), portalElement = portalProp ? portal.elements?.[portalProp] || null : portal.element, boundaryElement = require_tabList.x().element, t0;
1923
+ $[0] === radiusProp ? t0 = $[1] : (t0 = require_tabList.ft(radiusProp), $[0] = radiusProp, $[1] = t0);
1928
1924
  let radius = t0, t1;
1929
- $[2] === shadowProp ? t1 = $[3] : (t1 = _getArrayProp(shadowProp), $[2] = shadowProp, $[3] = t1);
1925
+ $[2] === shadowProp ? t1 = $[3] : (t1 = require_tabList.ft(shadowProp), $[2] = shadowProp, $[3] = t1);
1930
1926
  let shadow = t1, t2;
1931
- $[4] === widthProp ? t2 = $[5] : (t2 = _getArrayProp(widthProp), $[4] = widthProp, $[5] = t2);
1932
- let width = t2, ref = useRef(null), contentRef = useRef(null), { isTopLayer } = useLayer(), labelId = `${id}_label`, showCloseButton = !!onClose && hideCloseButton === !1, showHeader = !!header || showCloseButton, t3;
1933
- $[6] === Symbol.for("react.memo_cache_sentinel") ? (t3 = () => ref.current, $[6] = t3) : t3 = $[6], useImperativeHandle(forwardedRef, t3);
1927
+ $[4] === widthProp ? t2 = $[5] : (t2 = require_tabList.ft(widthProp), $[4] = widthProp, $[5] = t2);
1928
+ let width = t2, ref = (0, react.useRef)(null), contentRef = (0, react.useRef)(null), { isTopLayer } = require_tabList.y(), labelId = `${id}_label`, showCloseButton = !!onClose && hideCloseButton === !1, showHeader = !!header || showCloseButton, t3;
1929
+ $[6] === Symbol.for("react.memo_cache_sentinel") ? (t3 = () => ref.current, $[6] = t3) : t3 = $[6], (0, react.useImperativeHandle)(forwardedRef, t3);
1934
1930
  let t4;
1935
- $[7] === Symbol.for("react.memo_cache_sentinel") ? (t4 = () => contentRef.current, $[7] = t4) : t4 = $[7], useImperativeHandle(forwardedContentRef, t4);
1931
+ $[7] === Symbol.for("react.memo_cache_sentinel") ? (t4 = () => contentRef.current, $[7] = t4) : t4 = $[7], (0, react.useImperativeHandle)(forwardedContentRef, t4);
1936
1932
  let t5, t6;
1937
1933
  $[8] === autoFocus ? (t5 = $[9], t6 = $[10]) : (t5 = () => {
1938
1934
  autoFocus && ref.current && focusFirstDescendant(ref.current);
1939
- }, t6 = [autoFocus, ref], $[8] = autoFocus, $[9] = t5, $[10] = t6), useEffect(t5, t6);
1935
+ }, t6 = [autoFocus, ref], $[8] = autoFocus, $[9] = t5, $[10] = t6), (0, react.useEffect)(t5, t6);
1940
1936
  let t7;
1941
1937
  $[11] !== boundaryElement || $[12] !== isTopLayer || $[13] !== onClose || $[14] !== portalElement ? (t7 = (event) => {
1942
1938
  if (!isTopLayer || !onClose) return;
1943
1939
  let target = document.activeElement;
1944
1940
  target && !isTargetWithinScope(boundaryElement, portalElement, target) || event.key === "Escape" && (event.preventDefault(), event.stopPropagation(), onClose());
1945
- }, $[11] = boundaryElement, $[12] = isTopLayer, $[13] = onClose, $[14] = portalElement, $[15] = t7) : t7 = $[15], useGlobalKeyDown(t7);
1941
+ }, $[11] = boundaryElement, $[12] = isTopLayer, $[13] = onClose, $[14] = portalElement, $[15] = t7) : t7 = $[15], require_tabList.M(t7);
1946
1942
  let t8;
1947
1943
  $[16] !== boundaryElement || $[17] !== isTopLayer || $[18] !== onClickOutside || $[19] !== portalElement ? (t8 = isTopLayer && onClickOutside && ((event_0) => {
1948
1944
  let target_0 = event_0.target;
1949
1945
  target_0 && !isTargetWithinScope(boundaryElement, portalElement, target_0) || onClickOutside();
1950
1946
  }), $[16] = boundaryElement, $[17] = isTopLayer, $[18] = onClickOutside, $[19] = portalElement, $[20] = t8) : t8 = $[20];
1951
1947
  let t9;
1952
- $[21] === Symbol.for("react.memo_cache_sentinel") ? (t9 = () => [ref.current], $[21] = t9) : t9 = $[21], useClickOutsideEvent(t8, t9);
1948
+ $[21] === Symbol.for("react.memo_cache_sentinel") ? (t9 = () => [ref.current], $[21] = t9) : t9 = $[21], require_tabList.L(t8, t9);
1953
1949
  let t10;
1954
- $[22] !== header || $[23] !== labelId || $[24] !== onClose || $[25] !== showCloseButton || $[26] !== showHeader ? (t10 = showHeader && /* @__PURE__ */ jsx(DialogHeader, { children: /* @__PURE__ */ jsxs(Flex, {
1950
+ $[22] !== header || $[23] !== labelId || $[24] !== onClose || $[25] !== showCloseButton || $[26] !== showHeader ? (t10 = showHeader && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DialogHeader, { children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(require_tabList.H, {
1955
1951
  align: "flex-start",
1956
1952
  padding: 3,
1957
- children: [/* @__PURE__ */ jsx(Box, {
1953
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_tabList.W, {
1958
1954
  flex: 1,
1959
1955
  padding: 2,
1960
- children: header && /* @__PURE__ */ jsx(Text, {
1956
+ children: header && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_tabList.U, {
1961
1957
  id: labelId,
1962
1958
  size: 1,
1963
1959
  weight: "semibold",
1964
1960
  children: header
1965
1961
  })
1966
- }), showCloseButton && /* @__PURE__ */ jsx(Box, {
1962
+ }), showCloseButton && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_tabList.W, {
1967
1963
  flex: "none",
1968
- children: /* @__PURE__ */ jsx(Button, {
1964
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_tabList.z, {
1969
1965
  "aria-label": "Close dialog",
1970
1966
  disabled: !onClose,
1971
- icon: CloseIcon,
1967
+ icon: _sanity_icons_Close.CloseIcon,
1972
1968
  mode: "bleed",
1973
1969
  onClick: onClose,
1974
1970
  padding: 2
@@ -1976,16 +1972,16 @@ const StyledDialog = /* @__PURE__ */ styled(Layer).withConfig({
1976
1972
  })]
1977
1973
  }) }), $[22] = header, $[23] = labelId, $[24] = onClose, $[25] = showCloseButton, $[26] = showHeader, $[27] = t10) : t10 = $[27];
1978
1974
  let t11;
1979
- $[28] === children ? t11 = $[29] : (t11 = /* @__PURE__ */ jsx(DialogContent, {
1975
+ $[28] === children ? t11 = $[29] : (t11 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DialogContent, {
1980
1976
  flex: 1,
1981
1977
  ref: contentRef,
1982
1978
  tabIndex: -1,
1983
1979
  children
1984
1980
  }), $[28] = children, $[29] = t11);
1985
1981
  let t12;
1986
- $[30] === footer ? t12 = $[31] : (t12 = footer && /* @__PURE__ */ jsx(DialogFooter, { children: footer }), $[30] = footer, $[31] = t12);
1982
+ $[30] === footer ? t12 = $[31] : (t12 = footer && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DialogFooter, { children: footer }), $[30] = footer, $[31] = t12);
1987
1983
  let t13;
1988
- $[32] !== t10 || $[33] !== t11 || $[34] !== t12 ? (t13 = /* @__PURE__ */ jsxs(DialogLayout, {
1984
+ $[32] !== t10 || $[33] !== t11 || $[34] !== t12 ? (t13 = /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(DialogLayout, {
1989
1985
  direction: "column",
1990
1986
  children: [
1991
1987
  t10,
@@ -1994,7 +1990,7 @@ const StyledDialog = /* @__PURE__ */ styled(Layer).withConfig({
1994
1990
  ]
1995
1991
  }), $[32] = t10, $[33] = t11, $[34] = t12, $[35] = t13) : t13 = $[35];
1996
1992
  let t14;
1997
- $[36] !== radius || $[37] !== scheme || $[38] !== shadow || $[39] !== t13 ? (t14 = /* @__PURE__ */ jsx(DialogCardRoot, {
1993
+ $[36] !== radius || $[37] !== scheme || $[38] !== shadow || $[39] !== t13 ? (t14 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DialogCardRoot, {
1998
1994
  radius,
1999
1995
  ref,
2000
1996
  scheme,
@@ -2002,25 +1998,25 @@ const StyledDialog = /* @__PURE__ */ styled(Layer).withConfig({
2002
1998
  children: t13
2003
1999
  }), $[36] = radius, $[37] = scheme, $[38] = shadow, $[39] = t13, $[40] = t14) : t14 = $[40];
2004
2000
  let t15;
2005
- return $[41] !== t14 || $[42] !== width ? (t15 = /* @__PURE__ */ jsx(DialogContainer, {
2001
+ return $[41] !== t14 || $[42] !== width ? (t15 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DialogContainer, {
2006
2002
  "data-ui": "DialogCard",
2007
2003
  width,
2008
2004
  children: t14
2009
2005
  }), $[41] = t14, $[42] = width, $[43] = t15) : t15 = $[43], t15;
2010
- }), Dialog = forwardRef(function Dialog(props, ref) {
2011
- let $ = c(70), dialog = useDialog(), { layer } = useTheme_v2(), _positionProp, _zOffsetProp, children, contentRef, footer, header, id, onActivate, onClickOutside, onClose, onFocus, portalProp, restProps, scheme, t0, t1, t2, t3, t4, t5, t6;
2006
+ }), Dialog = (0, react.forwardRef)(function Dialog(props, ref) {
2007
+ let $ = (0, react_compiler_runtime.c)(70), dialog = useDialog(), { layer } = require_tabList.rt(), _positionProp, _zOffsetProp, children, contentRef, footer, header, id, onActivate, onClickOutside, onClose, onFocus, portalProp, restProps, scheme, t0, t1, t2, t3, t4, t5, t6;
2012
2008
  $[0] === props ? (_positionProp = $[1], _zOffsetProp = $[2], children = $[3], contentRef = $[4], footer = $[5], header = $[6], id = $[7], onActivate = $[8], onClickOutside = $[9], onClose = $[10], onFocus = $[11], portalProp = $[12], restProps = $[13], scheme = $[14], t0 = $[15], t1 = $[16], t2 = $[17], t3 = $[18], t4 = $[19], t5 = $[20], t6 = $[21]) : ({__unstable_autoFocus: t0, __unstable_hideCloseButton: t1, cardRadius: t2, cardShadow: t3, children, contentRef, footer, header, id, onActivate, onClickOutside, onClose, onFocus, padding: t4, portal: portalProp, position: _positionProp, scheme, width: t5, zOffset: _zOffsetProp, animate: t6, ...restProps} = props, $[0] = props, $[1] = _positionProp, $[2] = _zOffsetProp, $[3] = children, $[4] = contentRef, $[5] = footer, $[6] = header, $[7] = id, $[8] = onActivate, $[9] = onClickOutside, $[10] = onClose, $[11] = onFocus, $[12] = portalProp, $[13] = restProps, $[14] = scheme, $[15] = t0, $[16] = t1, $[17] = t2, $[18] = t3, $[19] = t4, $[20] = t5, $[21] = t6);
2013
- let autoFocus = t0 === void 0 || t0, hideCloseButton = t1 !== void 0 && t1, cardRadiusProp = t2 === void 0 ? 4 : t2, cardShadow = t3 === void 0 ? 3 : t3, paddingProp = t4 === void 0 ? 3 : t4, widthProp = t5 === void 0 ? 0 : t5, _animate = t6 !== void 0 && t6, positionProp = _positionProp ?? (dialog.position || "fixed"), zOffsetProp = _zOffsetProp ?? (dialog.zOffset || layer.dialog.zOffset), animate = !usePrefersReducedMotion() && _animate, portal = usePortal(), portalElement = portalProp ? portal.elements?.[portalProp] || null : portal.element, boundaryElement = useBoundaryElement().element, t7;
2014
- $[22] === cardRadiusProp ? t7 = $[23] : (t7 = _getArrayProp(cardRadiusProp), $[22] = cardRadiusProp, $[23] = t7);
2009
+ let autoFocus = t0 === void 0 || t0, hideCloseButton = t1 !== void 0 && t1, cardRadiusProp = t2 === void 0 ? 4 : t2, cardShadow = t3 === void 0 ? 3 : t3, paddingProp = t4 === void 0 ? 3 : t4, widthProp = t5 === void 0 ? 0 : t5, _animate = t6 !== void 0 && t6, positionProp = _positionProp ?? (dialog.position || "fixed"), zOffsetProp = _zOffsetProp ?? (dialog.zOffset || layer.dialog.zOffset), animate = !require_tabList.O() && _animate, portal = require_tabList._(), portalElement = portalProp ? portal.elements?.[portalProp] || null : portal.element, boundaryElement = require_tabList.x().element, t7;
2010
+ $[22] === cardRadiusProp ? t7 = $[23] : (t7 = require_tabList.ft(cardRadiusProp), $[22] = cardRadiusProp, $[23] = t7);
2015
2011
  let cardRadius = t7, t8;
2016
- $[24] === paddingProp ? t8 = $[25] : (t8 = _getArrayProp(paddingProp), $[24] = paddingProp, $[25] = t8);
2012
+ $[24] === paddingProp ? t8 = $[25] : (t8 = require_tabList.ft(paddingProp), $[24] = paddingProp, $[25] = t8);
2017
2013
  let padding = t8, t9;
2018
- $[26] === positionProp ? t9 = $[27] : (t9 = _getArrayProp(positionProp), $[26] = positionProp, $[27] = t9);
2014
+ $[26] === positionProp ? t9 = $[27] : (t9 = require_tabList.ft(positionProp), $[26] = positionProp, $[27] = t9);
2019
2015
  let position = t9, t10;
2020
- $[28] === widthProp ? t10 = $[29] : (t10 = _getArrayProp(widthProp), $[28] = widthProp, $[29] = t10);
2016
+ $[28] === widthProp ? t10 = $[29] : (t10 = require_tabList.ft(widthProp), $[28] = widthProp, $[29] = t10);
2021
2017
  let width = t10, t11;
2022
- $[30] === zOffsetProp ? t11 = $[31] : (t11 = _getArrayProp(zOffsetProp), $[30] = zOffsetProp, $[31] = t11);
2023
- let zOffset = t11, preDivRef = useRef(null), postDivRef = useRef(null), cardRef = useRef(null), focusedElementRef = useRef(null), t12;
2018
+ $[30] === zOffsetProp ? t11 = $[31] : (t11 = require_tabList.ft(zOffsetProp), $[30] = zOffsetProp, $[31] = t11);
2019
+ let zOffset = t11, preDivRef = (0, react.useRef)(null), postDivRef = (0, react.useRef)(null), cardRef = (0, react.useRef)(null), focusedElementRef = (0, react.useRef)(null), t12;
2024
2020
  $[32] === onFocus ? t12 = $[33] : (t12 = (event) => {
2025
2021
  onFocus?.(event);
2026
2022
  let target = event.target, cardElement = cardRef.current;
@@ -2032,9 +2028,9 @@ const StyledDialog = /* @__PURE__ */ styled(Layer).withConfig({
2032
2028
  focusFirstDescendant(cardElement);
2033
2029
  return;
2034
2030
  }
2035
- isHTMLElement(event.target) && (focusedElementRef.current = event.target);
2031
+ require_tabList.bt(event.target) && (focusedElementRef.current = event.target);
2036
2032
  }, $[32] = onFocus, $[33] = t12);
2037
- let handleFocus = t12, labelId = `${id}_label`, rootClickTimeoutRef = useRef(void 0), t13;
2033
+ let handleFocus = t12, labelId = `${id}_label`, rootClickTimeoutRef = (0, react.useRef)(void 0), t13;
2038
2034
  $[34] !== boundaryElement || $[35] !== portalElement ? (t13 = () => {
2039
2035
  rootClickTimeoutRef.current && clearTimeout(rootClickTimeoutRef.current), rootClickTimeoutRef.current = setTimeout(() => {
2040
2036
  let activeElement = document.activeElement;
@@ -2050,12 +2046,12 @@ const StyledDialog = /* @__PURE__ */ styled(Layer).withConfig({
2050
2046
  }, 0);
2051
2047
  }, $[34] = boundaryElement, $[35] = portalElement, $[36] = t13) : t13 = $[36];
2052
2048
  let handleRootClick = t13, t14;
2053
- $[37] === Symbol.for("react.memo_cache_sentinel") ? (t14 = /* @__PURE__ */ jsx("div", {
2049
+ $[37] === Symbol.for("react.memo_cache_sentinel") ? (t14 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
2054
2050
  ref: preDivRef,
2055
2051
  tabIndex: 0
2056
2052
  }), $[37] = t14) : t14 = $[37];
2057
2053
  let t15;
2058
- $[38] !== autoFocus || $[39] !== cardRadius || $[40] !== cardShadow || $[41] !== children || $[42] !== contentRef || $[43] !== footer || $[44] !== header || $[45] !== hideCloseButton || $[46] !== id || $[47] !== onClickOutside || $[48] !== onClose || $[49] !== portalProp || $[50] !== scheme || $[51] !== width ? (t15 = /* @__PURE__ */ jsx(DialogCard, {
2054
+ $[38] !== autoFocus || $[39] !== cardRadius || $[40] !== cardShadow || $[41] !== children || $[42] !== contentRef || $[43] !== footer || $[44] !== header || $[45] !== hideCloseButton || $[46] !== id || $[47] !== onClickOutside || $[48] !== onClose || $[49] !== portalProp || $[50] !== scheme || $[51] !== width ? (t15 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DialogCard, {
2059
2055
  __unstable_autoFocus: autoFocus,
2060
2056
  __unstable_hideCloseButton: hideCloseButton,
2061
2057
  contentRef,
@@ -2073,12 +2069,12 @@ const StyledDialog = /* @__PURE__ */ styled(Layer).withConfig({
2073
2069
  children
2074
2070
  }), $[38] = autoFocus, $[39] = cardRadius, $[40] = cardShadow, $[41] = children, $[42] = contentRef, $[43] = footer, $[44] = header, $[45] = hideCloseButton, $[46] = id, $[47] = onClickOutside, $[48] = onClose, $[49] = portalProp, $[50] = scheme, $[51] = width, $[52] = t15) : t15 = $[52];
2075
2071
  let t16;
2076
- $[53] === Symbol.for("react.memo_cache_sentinel") ? (t16 = /* @__PURE__ */ jsx("div", {
2072
+ $[53] === Symbol.for("react.memo_cache_sentinel") ? (t16 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
2077
2073
  ref: postDivRef,
2078
2074
  tabIndex: 0
2079
2075
  }), $[53] = t16) : t16 = $[53];
2080
2076
  let t17;
2081
- $[54] !== animate || $[55] !== handleFocus || $[56] !== handleRootClick || $[57] !== id || $[58] !== labelId || $[59] !== onActivate || $[60] !== padding || $[61] !== position || $[62] !== ref || $[63] !== restProps || $[64] !== t15 || $[65] !== zOffset ? (t17 = /* @__PURE__ */ jsxs(StyledDialog, {
2077
+ $[54] !== animate || $[55] !== handleFocus || $[56] !== handleRootClick || $[57] !== id || $[58] !== labelId || $[59] !== onActivate || $[60] !== padding || $[61] !== position || $[62] !== ref || $[63] !== restProps || $[64] !== t15 || $[65] !== zOffset ? (t17 = /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(StyledDialog, {
2082
2078
  ...restProps,
2083
2079
  $animate: animate,
2084
2080
  $padding: padding,
@@ -2100,7 +2096,7 @@ const StyledDialog = /* @__PURE__ */ styled(Layer).withConfig({
2100
2096
  ]
2101
2097
  }), $[54] = animate, $[55] = handleFocus, $[56] = handleRootClick, $[57] = id, $[58] = labelId, $[59] = onActivate, $[60] = padding, $[61] = position, $[62] = ref, $[63] = restProps, $[64] = t15, $[65] = zOffset, $[66] = t17) : t17 = $[66];
2102
2098
  let t18;
2103
- return $[67] !== portalProp || $[68] !== t17 ? (t18 = /* @__PURE__ */ jsx(Portal, {
2099
+ return $[67] !== portalProp || $[68] !== t17 ? (t18 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_tabList.g, {
2104
2100
  __unstable_name: portalProp,
2105
2101
  children: t17
2106
2102
  }), $[67] = portalProp, $[68] = t17, $[69] = t18) : t18 = $[69], t18;
@@ -2110,14 +2106,14 @@ const StyledDialog = /* @__PURE__ */ styled(Layer).withConfig({
2110
2106
  * @beta
2111
2107
  */
2112
2108
  function DialogProvider(props) {
2113
- let $ = c(6), { children, position, zOffset } = props, t0;
2109
+ let $ = (0, react_compiler_runtime.c)(6), { children, position, zOffset } = props, t0;
2114
2110
  $[0] !== position || $[1] !== zOffset ? (t0 = {
2115
2111
  version: 0,
2116
2112
  position,
2117
2113
  zOffset
2118
2114
  }, $[0] = position, $[1] = zOffset, $[2] = t0) : t0 = $[2];
2119
2115
  let contextValue = t0, t1;
2120
- return $[3] !== children || $[4] !== contextValue ? (t1 = /* @__PURE__ */ jsx(DialogContext.Provider, {
2116
+ return $[3] !== children || $[4] !== contextValue ? (t1 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DialogContext.Provider, {
2121
2117
  value: contextValue,
2122
2118
  children
2123
2119
  }), $[3] = children, $[4] = contextValue, $[5] = t1) : t1 = $[5], t1;
@@ -2127,24 +2123,24 @@ function DialogProvider(props) {
2127
2123
  *
2128
2124
  * @public
2129
2125
  */
2130
- const MenuButton = forwardRef(function MenuButton(props, forwardedRef) {
2131
- let $ = c(62), { __unstable_disableRestoreFocusOnClose: t0, boundaryElement: deprecated_boundaryElement, button: buttonProp, id, menu: menuProp, onClose, onOpen, placement: deprecated_placement, popoverScheme: deprecated_popoverScheme, portal: t1, popover, popoverRadius: deprecated_popoverRadius, preventOverflow: deprecated_preventOverflow } = props, disableRestoreFocusOnClose = t0 !== void 0 && t0, deprecated_portal = t1 === void 0 || t1, [open, setOpen] = useState(!1), [shouldFocus, setShouldFocus] = useState(null), [buttonElement, setButtonElement] = useState(null), t2;
2126
+ const MenuButton = (0, react.forwardRef)(function MenuButton(props, forwardedRef) {
2127
+ let $ = (0, react_compiler_runtime.c)(62), { __unstable_disableRestoreFocusOnClose: t0, boundaryElement: deprecated_boundaryElement, button: buttonProp, id, menu: menuProp, onClose, onOpen, placement: deprecated_placement, popoverScheme: deprecated_popoverScheme, portal: t1, popover, popoverRadius: deprecated_popoverRadius, preventOverflow: deprecated_preventOverflow } = props, disableRestoreFocusOnClose = t0 !== void 0 && t0, deprecated_portal = t1 === void 0 || t1, [open, setOpen] = (0, react.useState)(!1), [shouldFocus, setShouldFocus] = (0, react.useState)(null), [buttonElement, setButtonElement] = (0, react.useState)(null), t2;
2132
2128
  $[0] === Symbol.for("react.memo_cache_sentinel") ? (t2 = [], $[0] = t2) : t2 = $[0];
2133
- let [menuElements, setChildMenuElements] = useState(t2), openRef = useRef(open), t3, t4;
2129
+ let [menuElements, setChildMenuElements] = (0, react.useState)(t2), openRef = (0, react.useRef)(open), t3, t4;
2134
2130
  $[1] !== onOpen || $[2] !== open ? (t3 = () => {
2135
2131
  onOpen && open && !openRef.current && onOpen();
2136
- }, t4 = [onOpen, open], $[1] = onOpen, $[2] = open, $[3] = t3, $[4] = t4) : (t3 = $[3], t4 = $[4]), useEffect(t3, t4);
2132
+ }, t4 = [onOpen, open], $[1] = onOpen, $[2] = open, $[3] = t3, $[4] = t4) : (t3 = $[3], t4 = $[4]), (0, react.useEffect)(t3, t4);
2137
2133
  let t5, t6;
2138
2134
  $[5] !== onClose || $[6] !== open ? (t5 = () => {
2139
2135
  onClose && !open && openRef.current && onClose();
2140
- }, t6 = [onClose, open], $[5] = onClose, $[6] = open, $[7] = t5, $[8] = t6) : (t5 = $[7], t6 = $[8]), useEffect(t5, t6);
2136
+ }, t6 = [onClose, open], $[5] = onClose, $[6] = open, $[7] = t5, $[8] = t6) : (t5 = $[7], t6 = $[8]), (0, react.useEffect)(t5, t6);
2141
2137
  let t7, t8;
2142
2138
  $[9] === open ? (t7 = $[10], t8 = $[11]) : (t7 = () => {
2143
2139
  openRef.current = open;
2144
- }, t8 = [open], $[9] = open, $[10] = t7, $[11] = t8), useEffect(t7, t8);
2140
+ }, t8 = [open], $[9] = open, $[10] = t7, $[11] = t8), (0, react.useEffect)(t7, t8);
2145
2141
  let t9;
2146
2142
  $[12] === Symbol.for("react.memo_cache_sentinel") ? (t9 = () => {
2147
- setOpen(_temp$1), setShouldFocus(null);
2143
+ setOpen(_temp$2), setShouldFocus(null);
2148
2144
  }, $[12] = t9) : t9 = $[12];
2149
2145
  let handleButtonClick = t9, t10;
2150
2146
  $[13] === open ? t10 = $[14] : (t10 = (event) => {
@@ -2188,7 +2184,7 @@ const MenuButton = forwardRef(function MenuButton(props, forwardedRef) {
2188
2184
  let handleItemClick = t15, t16;
2189
2185
  $[27] === Symbol.for("react.memo_cache_sentinel") ? (t16 = (el_1) => (setChildMenuElements((els) => els.concat([el_1])), () => setChildMenuElements((els_0) => els_0.filter((_el) => _el !== el_1))), $[27] = t16) : t16 = $[27];
2190
2186
  let registerElement = t16, t17;
2191
- $[28] !== buttonElement || $[29] !== handleBlur || $[30] !== handleItemClick || $[31] !== handleMenuClickOutside || $[32] !== handleMenuEscape || $[33] !== id || $[34] !== menuProp || $[35] !== shouldFocus ? (t17 = menuProp && cloneElement(menuProp, {
2187
+ $[28] !== buttonElement || $[29] !== handleBlur || $[30] !== handleItemClick || $[31] !== handleMenuClickOutside || $[32] !== handleMenuEscape || $[33] !== id || $[34] !== menuProp || $[35] !== shouldFocus ? (t17 = menuProp && (0, react.cloneElement)(menuProp, {
2192
2188
  "aria-labelledby": id,
2193
2189
  onBlurCapture: handleBlur,
2194
2190
  onClickOutside: handleMenuClickOutside,
@@ -2199,7 +2195,7 @@ const MenuButton = forwardRef(function MenuButton(props, forwardedRef) {
2199
2195
  shouldFocus
2200
2196
  }), $[28] = buttonElement, $[29] = handleBlur, $[30] = handleItemClick, $[31] = handleMenuClickOutside, $[32] = handleMenuEscape, $[33] = id, $[34] = menuProp, $[35] = shouldFocus, $[36] = t17) : t17 = $[36];
2201
2197
  let menu = t17, t18;
2202
- $[37] !== buttonProp || $[38] !== handleMouseDown || $[39] !== id || $[40] !== open ? (t18 = buttonProp && cloneElement(buttonProp, {
2198
+ $[37] !== buttonProp || $[38] !== handleMouseDown || $[39] !== id || $[40] !== open ? (t18 = buttonProp && (0, react.cloneElement)(buttonProp, {
2203
2199
  "data-ui": "MenuButton",
2204
2200
  id,
2205
2201
  onClick: handleButtonClick,
@@ -2211,7 +2207,7 @@ const MenuButton = forwardRef(function MenuButton(props, forwardedRef) {
2211
2207
  selected: buttonProp.props.selected ?? open
2212
2208
  }), $[37] = buttonProp, $[38] = handleMouseDown, $[39] = id, $[40] = open, $[41] = t18) : t18 = $[41];
2213
2209
  let button = t18, t19, t20;
2214
- $[42] === buttonElement ? (t19 = $[43], t20 = $[44]) : (t19 = () => buttonElement, t20 = [buttonElement], $[42] = buttonElement, $[43] = t19, $[44] = t20), useImperativeHandle(forwardedRef, t19, t20);
2210
+ $[42] === buttonElement ? (t19 = $[43], t20 = $[44]) : (t19 = () => buttonElement, t20 = [buttonElement], $[42] = buttonElement, $[43] = t19, $[44] = t20), (0, react.useImperativeHandle)(forwardedRef, t19, t20);
2215
2211
  let t21;
2216
2212
  $[45] === popover ? t21 = $[46] : (t21 = popover || {}, $[45] = popover, $[46] = t21);
2217
2213
  let t22;
@@ -2226,9 +2222,9 @@ const MenuButton = forwardRef(function MenuButton(props, forwardedRef) {
2226
2222
  ...t21
2227
2223
  }, $[47] = deprecated_boundaryElement, $[48] = deprecated_placement, $[49] = deprecated_popoverRadius, $[50] = deprecated_popoverScheme, $[51] = deprecated_portal, $[52] = deprecated_preventOverflow, $[53] = t21, $[54] = t22) : t22 = $[54];
2228
2224
  let popoverProps = t22, t23;
2229
- $[55] === button ? t23 = $[56] : (t23 = button || /* @__PURE__ */ jsx(Fragment$1, {}), $[55] = button, $[56] = t23);
2225
+ $[55] === button ? t23 = $[56] : (t23 = button || /* @__PURE__ */ (0, react_jsx_runtime.jsx)(react_jsx_runtime.Fragment, {}), $[55] = button, $[56] = t23);
2230
2226
  let t24;
2231
- return $[57] !== menu || $[58] !== open || $[59] !== popoverProps || $[60] !== t23 ? (t24 = /* @__PURE__ */ jsx(Popover, {
2227
+ return $[57] !== menu || $[58] !== open || $[59] !== popoverProps || $[60] !== t23 ? (t24 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_tabList.m, {
2232
2228
  "data-ui": "MenuButton__popover",
2233
2229
  ...popoverProps,
2234
2230
  content: menu,
@@ -2236,16 +2232,16 @@ const MenuButton = forwardRef(function MenuButton(props, forwardedRef) {
2236
2232
  children: t23
2237
2233
  }), $[57] = menu, $[58] = open, $[59] = popoverProps, $[60] = t23, $[61] = t24) : t24 = $[61], t24;
2238
2234
  });
2239
- function _temp$1(v) {
2235
+ function _temp$2(v) {
2240
2236
  return !v;
2241
2237
  }
2242
- const animation = css`background-image:linear-gradient( to right,var(--card-skeleton-color-from),var(--card-skeleton-color-to),var(--card-skeleton-color-from),var(--card-skeleton-color-from),var(--card-skeleton-color-from) );background-position:100%;background-size:200% 100%;background-attachment:fixed;animation-name:${keyframes`0%{background-position:100%;}100%{background-position:-100%;}`};animation-timing-function:ease-in-out;animation-iteration-count:infinite;animation-duration:2000ms;`, skeletonStyle = css`opacity:${({ $visible }) => +!!$visible};transition:opacity 200ms ease-in;@media screen and (prefers-reduced-motion:no-preference){${({ $animated }) => $animated ? animation : css`background-color:var(--card-skeleton-color-from);`}}@media screen and (prefers-reduced-motion:reduce){background-color:var(--card-skeleton-color-from);}`, StyledSkeleton$1 = /* @__PURE__ */ styled(Box).withConfig({
2238
+ const animation = styled_components.css`background-image:linear-gradient( to right,var(--card-skeleton-color-from),var(--card-skeleton-color-to),var(--card-skeleton-color-from),var(--card-skeleton-color-from),var(--card-skeleton-color-from) );background-position:100%;background-size:200% 100%;background-attachment:fixed;animation-name:${styled_components.keyframes`0%{background-position:100%;}100%{background-position:-100%;}`};animation-timing-function:ease-in-out;animation-iteration-count:infinite;animation-duration:2000ms;`, skeletonStyle = styled_components.css`opacity:${({ $visible }) => +!!$visible};transition:opacity 200ms ease-in;@media screen and (prefers-reduced-motion:no-preference){${({ $animated }) => $animated ? animation : styled_components.css`background-color:var(--card-skeleton-color-from);`}}@media screen and (prefers-reduced-motion:reduce){background-color:var(--card-skeleton-color-from);}`, StyledSkeleton$1 = /* @__PURE__ */ (0, styled_components.styled)(require_tabList.W).withConfig({
2243
2239
  displayName: "StyledSkeleton",
2244
2240
  componentId: "sc-xewr8x-0"
2245
- })(responsiveRadiusStyle, skeletonStyle), Skeleton = forwardRef(function Skeleton(props, ref) {
2246
- let $ = c(16), delay, radius, restProps, t0;
2241
+ })(require_tabList.K, skeletonStyle), Skeleton = (0, react.forwardRef)(function Skeleton(props, ref) {
2242
+ let $ = (0, react_compiler_runtime.c)(16), delay, radius, restProps, t0;
2247
2243
  $[0] === props ? (delay = $[1], radius = $[2], restProps = $[3], t0 = $[4]) : ({animated: t0, delay, radius, ...restProps} = props, $[0] = props, $[1] = delay, $[2] = radius, $[3] = restProps, $[4] = t0);
2248
- let animated = t0 !== void 0 && t0, [visible, setVisible] = useState(!delay), t1, t2;
2244
+ let animated = t0 !== void 0 && t0, [visible, setVisible] = (0, react.useState)(!delay), t1, t2;
2249
2245
  $[5] === delay ? (t1 = $[6], t2 = $[7]) : (t1 = () => {
2250
2246
  if (!delay) return;
2251
2247
  let timeout = setTimeout(() => {
@@ -2254,79 +2250,79 @@ const animation = css`background-image:linear-gradient( to right,var(--card-skel
2254
2250
  return () => {
2255
2251
  clearTimeout(timeout);
2256
2252
  };
2257
- }, t2 = [delay], $[5] = delay, $[6] = t1, $[7] = t2), useEffect(t1, t2);
2253
+ }, t2 = [delay], $[5] = delay, $[6] = t1, $[7] = t2), (0, react.useEffect)(t1, t2);
2258
2254
  let t3;
2259
- $[8] === radius ? t3 = $[9] : (t3 = _getArrayProp(radius), $[8] = radius, $[9] = t3);
2255
+ $[8] === radius ? t3 = $[9] : (t3 = require_tabList.ft(radius), $[8] = radius, $[9] = t3);
2260
2256
  let t4 = !delay || visible, t5;
2261
- return $[10] !== animated || $[11] !== ref || $[12] !== restProps || $[13] !== t3 || $[14] !== t4 ? (t5 = /* @__PURE__ */ jsx(StyledSkeleton$1, {
2257
+ return $[10] !== animated || $[11] !== ref || $[12] !== restProps || $[13] !== t3 || $[14] !== t4 ? (t5 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(StyledSkeleton$1, {
2262
2258
  ...restProps,
2263
2259
  $animated: animated,
2264
2260
  $radius: t3,
2265
2261
  $visible: t4,
2266
2262
  ref
2267
2263
  }), $[10] = animated, $[11] = ref, $[12] = restProps, $[13] = t3, $[14] = t4, $[15] = t5) : t5 = $[15], t5;
2268
- }), StyledSkeleton = /* @__PURE__ */ styled(Skeleton).withConfig({
2264
+ }), StyledSkeleton = /* @__PURE__ */ (0, styled_components.styled)(Skeleton).withConfig({
2269
2265
  displayName: "StyledSkeleton",
2270
2266
  componentId: "sc-d8ims-0"
2271
2267
  })((props) => {
2272
- let { $size, $style } = props, { font, media } = getTheme_v2(props.theme), fontStyle = font[$style];
2273
- return _responsive(media, $size, (sizeIndex) => {
2268
+ let { $size, $style } = props, { font, media } = require_theme.X(props.theme), fontStyle = font[$style];
2269
+ return require_tabList.mt(media, $size, (sizeIndex) => {
2274
2270
  let fontSize = fontStyle.sizes[sizeIndex];
2275
2271
  return { height: fontSize.lineHeight - fontSize.ascenderHeight - fontSize.descenderHeight };
2276
2272
  });
2277
- }), TextSkeleton = forwardRef(function TextSkeleton(props, ref) {
2278
- let $ = c(9), restProps, t0;
2273
+ }), TextSkeleton = (0, react.forwardRef)(function TextSkeleton(props, ref) {
2274
+ let $ = (0, react_compiler_runtime.c)(9), restProps, t0;
2279
2275
  $[0] === props ? (restProps = $[1], t0 = $[2]) : ({size: t0, ...restProps} = props, $[0] = props, $[1] = restProps, $[2] = t0);
2280
2276
  let size = t0 === void 0 ? 2 : t0, t1;
2281
- $[3] === size ? t1 = $[4] : (t1 = _getArrayProp(size), $[3] = size, $[4] = t1);
2277
+ $[3] === size ? t1 = $[4] : (t1 = require_tabList.ft(size), $[3] = size, $[4] = t1);
2282
2278
  let $size = t1, t2;
2283
- return $[5] !== $size || $[6] !== ref || $[7] !== restProps ? (t2 = /* @__PURE__ */ jsx(StyledSkeleton, {
2279
+ return $[5] !== $size || $[6] !== ref || $[7] !== restProps ? (t2 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(StyledSkeleton, {
2284
2280
  ...restProps,
2285
2281
  $size,
2286
2282
  ref,
2287
2283
  $style: "text"
2288
2284
  }), $[5] = $size, $[6] = ref, $[7] = restProps, $[8] = t2) : t2 = $[8], t2;
2289
- }), LabelSkeleton = forwardRef(function LabelSkeleton(props, ref) {
2290
- let $ = c(9), restProps, t0;
2285
+ }), LabelSkeleton = (0, react.forwardRef)(function LabelSkeleton(props, ref) {
2286
+ let $ = (0, react_compiler_runtime.c)(9), restProps, t0;
2291
2287
  $[0] === props ? (restProps = $[1], t0 = $[2]) : ({size: t0, ...restProps} = props, $[0] = props, $[1] = restProps, $[2] = t0);
2292
2288
  let size = t0 === void 0 ? 2 : t0, t1;
2293
- $[3] === size ? t1 = $[4] : (t1 = _getArrayProp(size), $[3] = size, $[4] = t1);
2289
+ $[3] === size ? t1 = $[4] : (t1 = require_tabList.ft(size), $[3] = size, $[4] = t1);
2294
2290
  let $size = t1, t2;
2295
- return $[5] !== $size || $[6] !== ref || $[7] !== restProps ? (t2 = /* @__PURE__ */ jsx(StyledSkeleton, {
2291
+ return $[5] !== $size || $[6] !== ref || $[7] !== restProps ? (t2 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(StyledSkeleton, {
2296
2292
  ...restProps,
2297
2293
  $size,
2298
2294
  ref,
2299
2295
  $style: "label"
2300
2296
  }), $[5] = $size, $[6] = ref, $[7] = restProps, $[8] = t2) : t2 = $[8], t2;
2301
- }), HeadingSkeleton = forwardRef(function HeadingSkeleton(props, ref) {
2302
- let $ = c(9), restProps, t0;
2297
+ }), HeadingSkeleton = (0, react.forwardRef)(function HeadingSkeleton(props, ref) {
2298
+ let $ = (0, react_compiler_runtime.c)(9), restProps, t0;
2303
2299
  $[0] === props ? (restProps = $[1], t0 = $[2]) : ({size: t0, ...restProps} = props, $[0] = props, $[1] = restProps, $[2] = t0);
2304
2300
  let size = t0 === void 0 ? 2 : t0, t1;
2305
- $[3] === size ? t1 = $[4] : (t1 = _getArrayProp(size), $[3] = size, $[4] = t1);
2301
+ $[3] === size ? t1 = $[4] : (t1 = require_tabList.ft(size), $[3] = size, $[4] = t1);
2306
2302
  let $size = t1, t2;
2307
- return $[5] !== $size || $[6] !== ref || $[7] !== restProps ? (t2 = /* @__PURE__ */ jsx(StyledSkeleton, {
2303
+ return $[5] !== $size || $[6] !== ref || $[7] !== restProps ? (t2 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(StyledSkeleton, {
2308
2304
  ...restProps,
2309
2305
  $size,
2310
2306
  ref,
2311
2307
  $style: "heading"
2312
2308
  }), $[5] = $size, $[6] = ref, $[7] = restProps, $[8] = t2) : t2 = $[8], t2;
2313
- }), CodeSkeleton = forwardRef(function CodeSkeleton(props, ref) {
2314
- let $ = c(9), restProps, t0;
2309
+ }), CodeSkeleton = (0, react.forwardRef)(function CodeSkeleton(props, ref) {
2310
+ let $ = (0, react_compiler_runtime.c)(9), restProps, t0;
2315
2311
  $[0] === props ? (restProps = $[1], t0 = $[2]) : ({size: t0, ...restProps} = props, $[0] = props, $[1] = restProps, $[2] = t0);
2316
2312
  let size = t0 === void 0 ? 2 : t0, t1;
2317
- $[3] === size ? t1 = $[4] : (t1 = _getArrayProp(size), $[3] = size, $[4] = t1);
2313
+ $[3] === size ? t1 = $[4] : (t1 = require_tabList.ft(size), $[3] = size, $[4] = t1);
2318
2314
  let $size = t1, t2;
2319
- return $[5] !== $size || $[6] !== ref || $[7] !== restProps ? (t2 = /* @__PURE__ */ jsx(StyledSkeleton, {
2315
+ return $[5] !== $size || $[6] !== ref || $[7] !== restProps ? (t2 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(StyledSkeleton, {
2320
2316
  ...restProps,
2321
2317
  $size,
2322
2318
  ref,
2323
2319
  $style: "code"
2324
2320
  }), $[5] = $size, $[6] = ref, $[7] = restProps, $[8] = t2) : t2 = $[8], t2;
2325
- }), TabPanel = forwardRef(function TabPanel(props, ref) {
2326
- let $ = c(9), flex, restProps;
2321
+ }), TabPanel = (0, react.forwardRef)(function TabPanel(props, ref) {
2322
+ let $ = (0, react_compiler_runtime.c)(9), flex, restProps;
2327
2323
  $[0] === props ? (flex = $[1], restProps = $[2]) : ({flex, ...restProps} = props, $[0] = props, $[1] = flex, $[2] = restProps);
2328
2324
  let t0 = props.tabIndex === void 0 ? 0 : props.tabIndex, t1;
2329
- return $[3] !== flex || $[4] !== props.children || $[5] !== ref || $[6] !== restProps || $[7] !== t0 ? (t1 = /* @__PURE__ */ jsx(Box, {
2325
+ return $[3] !== flex || $[4] !== props.children || $[5] !== ref || $[6] !== restProps || $[7] !== t0 ? (t1 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_tabList.W, {
2330
2326
  "data-ui": "TabPanel",
2331
2327
  ...restProps,
2332
2328
  flex,
@@ -2345,23 +2341,23 @@ const animation = css`background-image:linear-gradient( to right,var(--card-skel
2345
2341
  warning: "caution",
2346
2342
  success: "positive",
2347
2343
  info: "neutral"
2348
- }, TextBox = styled(Flex).withConfig({
2344
+ }, TextBox = (0, styled_components.styled)(require_tabList.H).withConfig({
2349
2345
  displayName: "TextBox",
2350
- componentId: "sc-wezd9c-0"
2351
- })`overflow-x:auto;`, StyledToast = styled(Card).withConfig({
2346
+ componentId: "sc-wxn2nh-0"
2347
+ })`overflow-x:auto;`, StyledToast = (0, styled_components.styled)(require_tabList.R).withConfig({
2352
2348
  displayName: "StyledToast",
2353
- componentId: "sc-wezd9c-1"
2354
- })`pointer-events:all;width:100%;position:relative;overflow:hidden;overflow:clip;&[data-has-duration]{padding-bottom:calc(${2}px / 2);}`, LoadingBar = styled.div.withConfig({
2349
+ componentId: "sc-wxn2nh-1"
2350
+ })`pointer-events:all;width:100%;position:relative;overflow:hidden;overflow:clip;&[data-has-duration]{padding-bottom:calc(${2}px / 2);}`, LoadingBar = styled_components.styled.div.withConfig({
2355
2351
  displayName: "LoadingBar",
2356
- componentId: "sc-wezd9c-2"
2357
- })`display:flex;position:absolute;bottom:0px;top:0px;left:0px;right:0px;pointer-events:none;z-index:-1;overflow:hidden;overflow:clip;background:transparent;align-items:flex-end;will-change:opacity;`, LoadingBarMask = styled(Card).withConfig({
2352
+ componentId: "sc-wxn2nh-2"
2353
+ })`display:flex;position:absolute;bottom:0px;top:0px;left:0px;right:0px;pointer-events:none;z-index:-1;overflow:hidden;overflow:clip;background:transparent;align-items:flex-end;will-change:opacity;`, LoadingBarMask = (0, styled_components.styled)(require_tabList.R).withConfig({
2358
2354
  displayName: "LoadingBarMask",
2359
- componentId: "sc-wezd9c-3"
2360
- })`position:absolute;top:0;left:-${2}px;right:-${2}px;bottom:${2}px;z-index:1;`, LoadingBarProgress = styled(Card).withConfig({
2355
+ componentId: "sc-wxn2nh-3"
2356
+ })`position:absolute;top:0;left:-${2}px;right:-${2}px;bottom:${2}px;z-index:1;`, LoadingBarProgress = (0, styled_components.styled)(require_tabList.R).withConfig({
2361
2357
  displayName: "LoadingBarProgress",
2362
- componentId: "sc-wezd9c-4"
2358
+ componentId: "sc-wxn2nh-4"
2363
2359
  })`display:block;height:100%;width:100%;transform-origin:0% 50%;background-color:${(props) => {
2364
- let { color } = getTheme_v2(props.theme);
2360
+ let { color } = require_theme.X(props.theme);
2365
2361
  return color.button.default[props.tone].enabled.bg;
2366
2362
  }};`, ROLES = {
2367
2363
  error: "alert",
@@ -2377,9 +2373,9 @@ const animation = css`background-image:linear-gradient( to right,var(--card-skel
2377
2373
  * @public
2378
2374
  */
2379
2375
  function Toast(props) {
2380
- let $ = c(50), closable, description, duration, onClose, restProps, status, t0, title, updatedAt;
2376
+ let $ = (0, react_compiler_runtime.c)(50), closable, description, duration, onClose, restProps, status, t0, title, updatedAt;
2381
2377
  $[0] === props ? (closable = $[1], description = $[2], duration = $[3], onClose = $[4], restProps = $[5], status = $[6], t0 = $[7], title = $[8], updatedAt = $[9]) : ({closable, description, duration, onClose, radius: t0, title, status, updatedAt, ...restProps} = props, $[0] = props, $[1] = closable, $[2] = description, $[3] = duration, $[4] = onClose, $[5] = restProps, $[6] = status, $[7] = t0, $[8] = title, $[9] = updatedAt);
2382
- let radius = t0 === void 0 ? 3 : t0, cardTone = status ? STATUS_CARD_TONE[status] : "default", buttonTone = status ? BUTTON_TONE[status] : "default", role = status ? ROLES[status] : "status", visualDuration = usePrefersReducedMotion() ? 0 : .26, t1;
2378
+ let radius = t0 === void 0 ? 3 : t0, cardTone = status ? STATUS_CARD_TONE[status] : "default", buttonTone = status ? BUTTON_TONE[status] : "default", role = status ? ROLES[status] : "status", visualDuration = require_tabList.O() ? 0 : .26, t1;
2383
2379
  $[10] === visualDuration ? t1 = $[11] : (t1 = visualDuration ? {
2384
2380
  type: "spring",
2385
2381
  visualDuration,
@@ -2392,13 +2388,13 @@ function Toast(props) {
2392
2388
  let animate = t3, t4;
2393
2389
  $[14] === Symbol.for("react.memo_cache_sentinel") ? (t4 = ["hidden", "slideOut"], $[14] = t4) : t4 = $[14];
2394
2390
  let exit = t4, t5 = hasDuration ? "" : void 0, t6;
2395
- $[15] === title ? t6 = $[16] : (t6 = title && /* @__PURE__ */ jsx(Text, {
2391
+ $[15] === title ? t6 = $[16] : (t6 = title && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_tabList.U, {
2396
2392
  size: 1,
2397
2393
  weight: "medium",
2398
2394
  children: title
2399
2395
  }), $[15] = title, $[16] = t6);
2400
2396
  let t7;
2401
- $[17] !== description || $[18] !== transition ? (t7 = description && /* @__PURE__ */ jsx(MotionText, {
2397
+ $[17] !== description || $[18] !== transition ? (t7 = description && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(MotionText, {
2402
2398
  muted: !0,
2403
2399
  size: 1,
2404
2400
  variants: content,
@@ -2406,20 +2402,20 @@ function Toast(props) {
2406
2402
  children: description
2407
2403
  }), $[17] = description, $[18] = transition, $[19] = t7) : t7 = $[19];
2408
2404
  let t8;
2409
- $[20] !== t6 || $[21] !== t7 ? (t8 = /* @__PURE__ */ jsx(TextBox, {
2405
+ $[20] !== t6 || $[21] !== t7 ? (t8 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(TextBox, {
2410
2406
  flex: 1,
2411
2407
  padding: 3,
2412
- children: /* @__PURE__ */ jsxs(Stack, {
2408
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(require_tabList.p, {
2413
2409
  space: 3,
2414
2410
  children: [t6, t7]
2415
2411
  })
2416
2412
  }), $[20] = t6, $[21] = t7, $[22] = t8) : t8 = $[22];
2417
2413
  let t9;
2418
- $[23] !== buttonTone || $[24] !== closable || $[25] !== onClose ? (t9 = closable && /* @__PURE__ */ jsx(Box, {
2414
+ $[23] !== buttonTone || $[24] !== closable || $[25] !== onClose ? (t9 = closable && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_tabList.W, {
2419
2415
  padding: 1,
2420
- children: /* @__PURE__ */ jsx(Button, {
2416
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_tabList.z, {
2421
2417
  as: "button",
2422
- icon: CloseIcon,
2418
+ icon: _sanity_icons_Close.CloseIcon,
2423
2419
  mode: "bleed",
2424
2420
  padding: 2,
2425
2421
  tone: buttonTone,
@@ -2428,20 +2424,20 @@ function Toast(props) {
2428
2424
  })
2429
2425
  }), $[23] = buttonTone, $[24] = closable, $[25] = onClose, $[26] = t9) : t9 = $[26];
2430
2426
  let t10;
2431
- $[27] !== t8 || $[28] !== t9 || $[29] !== transition ? (t10 = /* @__PURE__ */ jsxs(MotionFlex, {
2427
+ $[27] !== t8 || $[28] !== t9 || $[29] !== transition ? (t10 = /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(MotionFlex, {
2432
2428
  align: "flex-start",
2433
2429
  variants: content,
2434
2430
  transition,
2435
2431
  children: [t8, t9]
2436
2432
  }), $[27] = t8, $[28] = t9, $[29] = transition, $[30] = t10) : t10 = $[30];
2437
2433
  let t11;
2438
- $[31] !== cardTone || $[32] !== duration || $[33] !== hasDuration || $[34] !== onClose || $[35] !== radius || $[36] !== transition || $[37] !== updatedAt || $[38] !== visualDuration ? (t11 = hasDuration && /* @__PURE__ */ jsxs(MotionLoadingBar, {
2434
+ $[31] !== cardTone || $[32] !== duration || $[33] !== hasDuration || $[34] !== onClose || $[35] !== radius || $[36] !== transition || $[37] !== updatedAt || $[38] !== visualDuration ? (t11 = hasDuration && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(MotionLoadingBar, {
2439
2435
  variants: content,
2440
2436
  transition,
2441
- children: [/* @__PURE__ */ jsx(LoadingBarMask, {
2437
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(LoadingBarMask, {
2442
2438
  tone: cardTone,
2443
2439
  radius
2444
- }), /* @__PURE__ */ jsx(MotionLoadingBarProgress, {
2440
+ }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(MotionLoadingBarProgress, {
2445
2441
  tone: cardTone,
2446
2442
  initial: { scaleX: 0 },
2447
2443
  animate: { scaleX: 1 },
@@ -2454,7 +2450,7 @@ function Toast(props) {
2454
2450
  }, `progress-${updatedAt}`)]
2455
2451
  }), $[31] = cardTone, $[32] = duration, $[33] = hasDuration, $[34] = onClose, $[35] = radius, $[36] = transition, $[37] = updatedAt, $[38] = visualDuration, $[39] = t11) : t11 = $[39];
2456
2452
  let t12;
2457
- return $[40] !== cardTone || $[41] !== radius || $[42] !== restProps || $[43] !== role || $[44] !== t10 || $[45] !== t11 || $[46] !== t5 || $[47] !== transition || $[48] !== visualDuration ? (t12 = /* @__PURE__ */ jsxs(MotionToast, {
2453
+ return $[40] !== cardTone || $[41] !== radius || $[42] !== restProps || $[43] !== role || $[44] !== t10 || $[45] !== t11 || $[46] !== t5 || $[47] !== transition || $[48] !== visualDuration ? (t12 = /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(MotionToast, {
2458
2454
  "data-ui": "Toast",
2459
2455
  role,
2460
2456
  ...restProps,
@@ -2500,23 +2496,29 @@ const container = {
2500
2496
  initial: { willChange: "transform" },
2501
2497
  hidden: { opacity: 0 },
2502
2498
  visible: { opacity: 1 }
2503
- }, MotionToast = motion.create(StyledToast), MotionFlex = motion.create(Flex), MotionText = motion.create(Text), MotionLoadingBar = motion.create(LoadingBar), MotionLoadingBarProgress = motion.create(LoadingBarProgress);
2499
+ }, MotionToast = motion_react.motion.create(StyledToast), MotionFlex = motion_react.motion.create(require_tabList.H), MotionText = motion_react.motion.create(require_tabList.U), MotionLoadingBar = motion_react.motion.create(LoadingBar), MotionLoadingBarProgress = motion_react.motion.create(LoadingBarProgress);
2504
2500
  /**
2505
2501
  * Some components should only render after mounting to the DOM, and not be rendered at all during SSR renderToString or equivalent.
2506
2502
  * @public
2507
2503
  */
2508
2504
  function useMounted() {
2509
- return useSyncExternalStore(subscribe, () => !0, () => !1);
2505
+ return (0, react.useSyncExternalStore)(subscribe, _temp$1, _temp2);
2506
+ }
2507
+ function _temp2() {
2508
+ return !1;
2509
+ }
2510
+ function _temp$1() {
2511
+ return !0;
2510
2512
  }
2511
- const subscribe = () => () => {}, ToastContext = createGlobalScopedContext("@sanity/ui/context/toast", null);
2513
+ const subscribe = () => () => {}, ToastContext = require_tabList.st("@sanity/ui/context/toast", null);
2512
2514
  /**
2513
2515
  * @internal
2514
2516
  */
2515
2517
  function ToastLayer(props) {
2516
- let $ = c(9), { children, padding: t0, paddingX, paddingY, gap: t1 } = props, padding = t0 === void 0 ? 4 : t0, gap = t1 === void 0 ? 3 : t1, { zIndex } = useLayer(), t2;
2518
+ let $ = (0, react_compiler_runtime.c)(9), { children, padding: t0, paddingX, paddingY, gap: t1 } = props, padding = t0 === void 0 ? 4 : t0, gap = t1 === void 0 ? 3 : t1, { zIndex } = require_tabList.y(), t2;
2517
2519
  $[0] === zIndex ? t2 = $[1] : (t2 = { zIndex }, $[0] = zIndex, $[1] = t2);
2518
2520
  let t3;
2519
- return $[2] !== children || $[3] !== gap || $[4] !== padding || $[5] !== paddingX || $[6] !== paddingY || $[7] !== t2 ? (t3 = /* @__PURE__ */ jsx(StyledLayer, {
2521
+ return $[2] !== children || $[3] !== gap || $[4] !== padding || $[5] !== paddingX || $[6] !== paddingY || $[7] !== t2 ? (t3 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(StyledLayer, {
2520
2522
  forwardedAs: "ul",
2521
2523
  "data-ui": "ToastProvider",
2522
2524
  padding,
@@ -2528,7 +2530,7 @@ function ToastLayer(props) {
2528
2530
  children
2529
2531
  }), $[2] = children, $[3] = gap, $[4] = padding, $[5] = paddingX, $[6] = paddingY, $[7] = t2, $[8] = t3) : t3 = $[8], t3;
2530
2532
  }
2531
- const StyledLayer = styled(Grid).withConfig({
2533
+ const StyledLayer = (0, styled_components.styled)(require_tabList.D).withConfig({
2532
2534
  displayName: "StyledLayer",
2533
2535
  componentId: "sc-chanfh-0"
2534
2536
  })`box-sizing:border-box;position:fixed;right:0;bottom:0;list-style:none;pointer-events:none;max-width:420px;width:100%;`;
@@ -2541,16 +2543,16 @@ function generateToastId() {
2541
2543
  * @public
2542
2544
  */
2543
2545
  function ToastProvider(props) {
2544
- let $ = c(13), { children, padding, paddingX, paddingY, gap, zOffset: t0 } = props, zOffset = t0 === void 0 ? 1 : t0, t1;
2546
+ let $ = (0, react_compiler_runtime.c)(13), { children, padding, paddingX, paddingY, gap, zOffset: t0 } = props, zOffset = t0 === void 0 ? 1 : t0, t1;
2545
2547
  $[0] === Symbol.for("react.memo_cache_sentinel") ? (t1 = [], $[0] = t1) : t1 = $[0];
2546
- let [state, setState] = useState(t1), mounted = useMounted(), t2;
2548
+ let [state, setState] = (0, react.useState)(t1), mounted = useMounted(), t2;
2547
2549
  if ($[1] === Symbol.for("react.memo_cache_sentinel")) {
2548
2550
  let push = (params) => {
2549
2551
  let id = params.id || generateToastId(), duration = params.duration || 5e3;
2550
- return startTransition(() => {
2552
+ return (0, react.startTransition)(() => {
2551
2553
  setState((prevState) => {
2552
2554
  if (duration === .01) return prevState.filter((toast) => toast.id !== id);
2553
- let dismiss = () => startTransition(() => setState((currentState) => currentState.filter((toast_0) => toast_0.id !== id)));
2555
+ let dismiss = () => (0, react.startTransition)(() => setState((currentState) => currentState.filter((toast_0) => toast_0.id !== id)));
2554
2556
  return [...prevState.filter((toast_1) => toast_1.id !== id), {
2555
2557
  dismiss,
2556
2558
  id,
@@ -2569,14 +2571,14 @@ function ToastProvider(props) {
2569
2571
  }, $[1] = t2;
2570
2572
  } else t2 = $[1];
2571
2573
  let value = t2, t3;
2572
- $[2] !== gap || $[3] !== mounted || $[4] !== padding || $[5] !== paddingX || $[6] !== paddingY || $[7] !== state || $[8] !== zOffset ? (t3 = mounted && /* @__PURE__ */ jsx(LayerProvider, {
2574
+ $[2] !== gap || $[3] !== mounted || $[4] !== padding || $[5] !== paddingX || $[6] !== paddingY || $[7] !== state || $[8] !== zOffset ? (t3 = mounted && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_tabList.b, {
2573
2575
  zOffset,
2574
- children: /* @__PURE__ */ jsx(ToastLayer, {
2576
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(ToastLayer, {
2575
2577
  padding,
2576
2578
  paddingX,
2577
2579
  paddingY,
2578
2580
  gap,
2579
- children: /* @__PURE__ */ jsx(AnimatePresence, {
2581
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(motion_react.AnimatePresence, {
2580
2582
  initial: !1,
2581
2583
  mode: "popLayout",
2582
2584
  children: state.map(_temp)
@@ -2584,14 +2586,14 @@ function ToastProvider(props) {
2584
2586
  })
2585
2587
  }), $[2] = gap, $[3] = mounted, $[4] = padding, $[5] = paddingX, $[6] = paddingY, $[7] = state, $[8] = zOffset, $[9] = t3) : t3 = $[9];
2586
2588
  let t4;
2587
- return $[10] !== children || $[11] !== t3 ? (t4 = /* @__PURE__ */ jsxs(ToastContext.Provider, {
2589
+ return $[10] !== children || $[11] !== t3 ? (t4 = /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(ToastContext.Provider, {
2588
2590
  value,
2589
2591
  children: [children, t3]
2590
2592
  }), $[10] = children, $[11] = t3, $[12] = t4) : t4 = $[12], t4;
2591
2593
  }
2592
2594
  function _temp(t0) {
2593
2595
  let { dismiss: dismiss_0, id: id_0, params: params_0, updatedAt } = t0;
2594
- return /* @__PURE__ */ jsx(Toast, {
2596
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(Toast, {
2595
2597
  closable: params_0.closable,
2596
2598
  description: params_0.description,
2597
2599
  onClose: dismiss_0,
@@ -2605,9 +2607,9 @@ function _temp(t0) {
2605
2607
  * @public
2606
2608
  */
2607
2609
  function useToast() {
2608
- let value = useContext(ToastContext);
2610
+ let value = (0, react.useContext)(ToastContext);
2609
2611
  if (!value) throw Error("useToast(): missing context value");
2610
- if (!isRecord(value) || value.version !== 0) throw Error("useToast(): the context value is not compatible");
2612
+ if (!require_tabList.S(value) || value.version !== 0) throw Error("useToast(): the context value is not compatible");
2611
2613
  return value;
2612
2614
  }
2613
2615
  function _findPrevItemElement(state, itemElements, focusedElement) {
@@ -2652,25 +2654,25 @@ function _focusItemElement(el) {
2652
2654
  /**
2653
2655
  * @internal
2654
2656
  */
2655
- const TreeContext = createGlobalScopedContext("@sanity/ui/context/tree", null), Tree = forwardRef(function Tree(props, forwardedRef) {
2656
- let $ = c(38), children, gap, onFocus, restProps, t0;
2657
+ const TreeContext = require_tabList.st("@sanity/ui/context/tree", null), Tree = (0, react.forwardRef)(function Tree(props, forwardedRef) {
2658
+ let $ = (0, react_compiler_runtime.c)(38), children, gap, onFocus, restProps, t0;
2657
2659
  $[0] === props ? (children = $[1], gap = $[2], onFocus = $[3], restProps = $[4], t0 = $[5]) : ({children, gap, space: t0, onFocus, ...restProps} = props, $[0] = props, $[1] = children, $[2] = gap, $[3] = onFocus, $[4] = restProps, $[5] = t0);
2658
- let spacing = gap === void 0 ? t0 === void 0 ? 1 : t0 : gap, ref = useRef(null), [focusedElement, setFocusedElement] = useState(null), focusedElementRef = useRef(focusedElement), t1;
2660
+ let spacing = gap === void 0 ? t0 === void 0 ? 1 : t0 : gap, ref = (0, react.useRef)(null), [focusedElement, setFocusedElement] = (0, react.useState)(null), focusedElementRef = (0, react.useRef)(focusedElement), t1;
2659
2661
  $[6] === Symbol.for("react.memo_cache_sentinel") ? (t1 = [], $[6] = t1) : t1 = $[6];
2660
2662
  let path = t1, t2;
2661
2663
  $[7] === Symbol.for("react.memo_cache_sentinel") ? (t2 = [], $[7] = t2) : t2 = $[7];
2662
- let [itemElements, setItemElements] = useState(t2), t3;
2664
+ let [itemElements, setItemElements] = (0, react.useState)(t2), t3;
2663
2665
  $[8] === Symbol.for("react.memo_cache_sentinel") ? (t3 = {}, $[8] = t3) : t3 = $[8];
2664
- let [state, setState] = useState(t3), stateRef = useRef(state), t4;
2665
- $[9] === Symbol.for("react.memo_cache_sentinel") ? (t4 = () => ref.current, $[9] = t4) : t4 = $[9], useImperativeHandle(forwardedRef, t4);
2666
+ let [state, setState] = (0, react.useState)(t3), stateRef = (0, react.useRef)(state), t4;
2667
+ $[9] === Symbol.for("react.memo_cache_sentinel") ? (t4 = () => ref.current, $[9] = t4) : t4 = $[9], (0, react.useImperativeHandle)(forwardedRef, t4);
2666
2668
  let t5, t6;
2667
2669
  $[10] === focusedElement ? (t5 = $[11], t6 = $[12]) : (t5 = () => {
2668
2670
  focusedElementRef.current = focusedElement;
2669
- }, t6 = [focusedElement], $[10] = focusedElement, $[11] = t5, $[12] = t6), useEffect(t5, t6);
2671
+ }, t6 = [focusedElement], $[10] = focusedElement, $[11] = t5, $[12] = t6), (0, react.useEffect)(t5, t6);
2670
2672
  let t7, t8;
2671
2673
  $[13] === state ? (t7 = $[14], t8 = $[15]) : (t7 = () => {
2672
2674
  stateRef.current = state;
2673
- }, t8 = [state], $[13] = state, $[14] = t7, $[15] = t8), useEffect(t7, t8);
2675
+ }, t8 = [state], $[13] = state, $[14] = t7, $[15] = t8), (0, react.useEffect)(t7, t8);
2674
2676
  let t9;
2675
2677
  $[16] === Symbol.for("react.memo_cache_sentinel") ? (t9 = (element, path_0, expanded, selected) => (setState((s) => ({
2676
2678
  ...s,
@@ -2778,9 +2780,9 @@ const TreeContext = createGlobalScopedContext("@sanity/ui/context/tree", null),
2778
2780
  setItemElements(_itemElements);
2779
2781
  }, $[26] = t15) : t15 = $[26];
2780
2782
  let t16;
2781
- $[27] === children ? t16 = $[28] : (t16 = [children], $[27] = children, $[28] = t16), useEffect(t15, t16);
2783
+ $[27] === children ? t16 = $[28] : (t16 = [children], $[27] = children, $[28] = t16), (0, react.useEffect)(t15, t16);
2782
2784
  let t17;
2783
- $[29] !== children || $[30] !== handleFocus || $[31] !== handleKeyDown || $[32] !== restProps || $[33] !== spacing ? (t17 = /* @__PURE__ */ jsx(Stack, {
2785
+ $[29] !== children || $[30] !== handleFocus || $[31] !== handleKeyDown || $[32] !== restProps || $[33] !== spacing ? (t17 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_tabList.p, {
2784
2786
  as: "ul",
2785
2787
  "data-ui": "Tree",
2786
2788
  ...restProps,
@@ -2792,35 +2794,35 @@ const TreeContext = createGlobalScopedContext("@sanity/ui/context/tree", null),
2792
2794
  children
2793
2795
  }), $[29] = children, $[30] = handleFocus, $[31] = handleKeyDown, $[32] = restProps, $[33] = spacing, $[34] = t17) : t17 = $[34];
2794
2796
  let t18;
2795
- return $[35] !== contextValue || $[36] !== t17 ? (t18 = /* @__PURE__ */ jsx(TreeContext.Provider, {
2797
+ return $[35] !== contextValue || $[36] !== t17 ? (t18 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(TreeContext.Provider, {
2796
2798
  value: contextValue,
2797
2799
  children: t17
2798
2800
  }), $[35] = contextValue, $[36] = t17, $[37] = t18) : t18 = $[37], t18;
2799
2801
  });
2800
2802
  function treeItemRootStyle() {
2801
- return css`&[role='none'] > [role='treeitem']{outline:none;cursor:default;border-radius:3px;background-color:var(--card-bg-color);color:var(--treeitem-fg-color);&:focus{position:relative;}}&[role='treeitem']{outline:none;& > div{cursor:default;border-radius:3px;background-color:var(--card-bg-color);color:var(--treeitem-fg-color);}&:focus > div{position:relative;}}`;
2803
+ return styled_components.css`&[role='none'] > [role='treeitem']{outline:none;cursor:default;border-radius:3px;background-color:var(--card-bg-color);color:var(--treeitem-fg-color);&:focus{position:relative;}}&[role='treeitem']{outline:none;& > div{cursor:default;border-radius:3px;background-color:var(--card-bg-color);color:var(--treeitem-fg-color);}&:focus > div{position:relative;}}`;
2802
2804
  }
2803
2805
  function treeItemRootColorStyle(props) {
2804
- let { color } = getTheme_v2(props.theme), tone = color.selectable.default;
2805
- return css`&[role='none']{& > [role='treeitem']{${_cardColorStyle(color, tone.enabled)}}&[data-selected] > [role='treeitem']{${_cardColorStyle(color, tone.pressed)}}@media (hover:hover){&:not([data-selected]) > [role='treeitem']:not(:focus):hover{${_cardColorStyle(color, tone.hovered)}}& > [role='treeitem']:focus{${_cardColorStyle(color, tone.selected)}}}}&[role='treeitem']{& > [data-ui='TreeItem__box']{${_cardColorStyle(color, tone.enabled)}}&[data-selected] > [data-ui='TreeItem__box']{${_cardColorStyle(color, tone.pressed)}}@media (hover:hover){&:not([data-selected]):not(:focus) > [data-ui='TreeItem__box']:hover{${_cardColorStyle(color, tone.hovered)}}&:focus > [data-ui='TreeItem__box']{${_cardColorStyle(color, tone.selected)}}}}`;
2806
+ let { color } = require_theme.X(props.theme), tone = color.selectable.default;
2807
+ return styled_components.css`&[role='none']{& > [role='treeitem']{${require_tabList.B(color, tone.enabled)}}&[data-selected] > [role='treeitem']{${require_tabList.B(color, tone.pressed)}}@media (hover:hover){&:not([data-selected]) > [role='treeitem']:not(:focus):hover{${require_tabList.B(color, tone.hovered)}}& > [role='treeitem']:focus{${require_tabList.B(color, tone.selected)}}}}&[role='treeitem']{& > [data-ui='TreeItem__box']{${require_tabList.B(color, tone.enabled)}}&[data-selected] > [data-ui='TreeItem__box']{${require_tabList.B(color, tone.pressed)}}@media (hover:hover){&:not([data-selected]):not(:focus) > [data-ui='TreeItem__box']:hover{${require_tabList.B(color, tone.hovered)}}&:focus > [data-ui='TreeItem__box']{${require_tabList.B(color, tone.selected)}}}}`;
2806
2808
  }
2807
2809
  function treeItemBoxStyle(props) {
2808
- let { $level } = props, { space } = getTheme_v2(props.theme);
2809
- return css`padding-left:${rem(space[2] * $level)};&[data-as='a']{text-decoration:none;}`;
2810
+ let { $level } = props, { space } = require_theme.X(props.theme);
2811
+ return styled_components.css`padding-left:${require_tabList.ht(space[2] * $level)};&[data-as='a']{text-decoration:none;}`;
2810
2812
  }
2811
2813
  /**
2812
2814
  * @beta
2813
2815
  */
2814
2816
  function useTree() {
2815
- let tree = useContext(TreeContext);
2817
+ let tree = (0, react.useContext)(TreeContext);
2816
2818
  if (!tree) throw Error("Tree: missing context value");
2817
2819
  return tree;
2818
2820
  }
2819
2821
  function TreeGroup(props) {
2820
- let $ = c(9), children, restProps, t0;
2822
+ let $ = (0, react_compiler_runtime.c)(9), children, restProps, t0;
2821
2823
  $[0] === props ? (children = $[1], restProps = $[2], t0 = $[3]) : ({children, expanded: t0, ...restProps} = props, $[0] = props, $[1] = children, $[2] = restProps, $[3] = t0);
2822
2824
  let expanded = t0 !== void 0 && t0, tree = useTree(), t1 = !expanded, t2;
2823
- return $[4] !== children || $[5] !== restProps || $[6] !== t1 || $[7] !== tree.gap ? (t2 = /* @__PURE__ */ jsx(Stack, {
2825
+ return $[4] !== children || $[5] !== restProps || $[6] !== t1 || $[7] !== tree.gap ? (t2 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_tabList.p, {
2824
2826
  as: "ul",
2825
2827
  "data-ui": "TreeGroup",
2826
2828
  ...restProps,
@@ -2831,13 +2833,13 @@ function TreeGroup(props) {
2831
2833
  children
2832
2834
  }), $[4] = children, $[5] = restProps, $[6] = t1, $[7] = tree.gap, $[8] = t2) : t2 = $[8], t2;
2833
2835
  }
2834
- const StyledTreeItem = /* @__PURE__ */ styled.li.withConfig({
2836
+ const StyledTreeItem = /* @__PURE__ */ styled_components.styled.li.withConfig({
2835
2837
  displayName: "StyledTreeItem",
2836
2838
  componentId: "sc-lxy9gh-0"
2837
- })(treeItemRootStyle, treeItemRootColorStyle), TreeItemBox = /* @__PURE__ */ styled(Box).attrs({ forwardedAs: "a" }).withConfig({
2839
+ })(treeItemRootStyle, treeItemRootColorStyle), TreeItemBox = /* @__PURE__ */ (0, styled_components.styled)(require_tabList.W).attrs({ forwardedAs: "a" }).withConfig({
2838
2840
  displayName: "TreeItemBox",
2839
2841
  componentId: "sc-lxy9gh-1"
2840
- })(treeItemBoxStyle), ToggleArrowText = styled(Text).withConfig({
2842
+ })(treeItemBoxStyle), ToggleArrowText = (0, styled_components.styled)(require_tabList.U).withConfig({
2841
2843
  displayName: "ToggleArrowText",
2842
2844
  componentId: "sc-lxy9gh-2"
2843
2845
  })`& > svg{transition:transform 100ms;}`;
@@ -2846,13 +2848,13 @@ const StyledTreeItem = /* @__PURE__ */ styled.li.withConfig({
2846
2848
  * @beta
2847
2849
  */
2848
2850
  function TreeItem(props) {
2849
- let $ = c(114), IconComponent, children, gap, href, idProp, linkAs, muted, onClick, restProps, t0, t1, t2, t3, t4, text, weight;
2851
+ let $ = (0, react_compiler_runtime.c)(114), IconComponent, children, gap, href, idProp, linkAs, muted, onClick, restProps, t0, t1, t2, t3, t4, text, weight;
2850
2852
  $[0] === props ? (IconComponent = $[1], children = $[2], gap = $[3], href = $[4], idProp = $[5], linkAs = $[6], muted = $[7], onClick = $[8], restProps = $[9], t0 = $[10], t1 = $[11], t2 = $[12], t3 = $[13], t4 = $[14], text = $[15], weight = $[16]) : ({children, expanded: t0, fontSize: t1, href, icon: IconComponent, id: idProp, linkAs, muted, onClick, padding: t2, selected: t3, gap, space: t4, text, weight, ...restProps} = props, $[0] = props, $[1] = IconComponent, $[2] = children, $[3] = gap, $[4] = href, $[5] = idProp, $[6] = linkAs, $[7] = muted, $[8] = onClick, $[9] = restProps, $[10] = t0, $[11] = t1, $[12] = t2, $[13] = t3, $[14] = t4, $[15] = text, $[16] = weight);
2851
- let expandedProp = t0 !== void 0 && t0, fontSize = t1 === void 0 ? 1 : t1, padding = t2 === void 0 ? 2 : t2, selected = t3 !== void 0 && t3, spacing = gap === void 0 ? t4 === void 0 ? 2 : t4 : gap, [rootElement, _setRootElement] = useState(null), t5;
2853
+ let expandedProp = t0 !== void 0 && t0, fontSize = t1 === void 0 ? 1 : t1, padding = t2 === void 0 ? 2 : t2, selected = t3 !== void 0 && t3, spacing = gap === void 0 ? t4 === void 0 ? 2 : t4 : gap, [rootElement, _setRootElement] = (0, react.useState)(null), t5;
2852
2854
  $[17] === Symbol.for("react.memo_cache_sentinel") ? (t5 = (node) => {
2853
- startTransition(() => _setRootElement(node));
2855
+ (0, react.startTransition)(() => _setRootElement(node));
2854
2856
  }, $[17] = t5) : t5 = $[17];
2855
- let setRootElement = t5, treeitemRef = useRef(null), tree = useTree(), { path, registerItem, setExpanded, setFocusedElement } = tree, _id = useId(), id = idProp || _id, t6, t7;
2857
+ let setRootElement = t5, treeitemRef = (0, react.useRef)(null), tree = useTree(), { path, registerItem, setExpanded, setFocusedElement } = tree, _id = (0, react.useId)(), id = idProp || _id, t6, t7;
2856
2858
  if ($[18] !== id || $[19] !== path) {
2857
2859
  let itemPath = path.concat([id || ""]);
2858
2860
  t6 = itemPath, t7 = itemPath.join("/"), $[18] = id, $[19] = path, $[20] = t6, $[21] = t7;
@@ -2884,36 +2886,36 @@ function TreeItem(props) {
2884
2886
  registerItem,
2885
2887
  rootElement,
2886
2888
  selected
2887
- ], $[39] = expanded, $[40] = itemKey, $[41] = registerItem, $[42] = rootElement, $[43] = selected, $[44] = t13, $[45] = t14) : (t13 = $[44], t14 = $[45]), useEffect(t13, t14);
2889
+ ], $[39] = expanded, $[40] = itemKey, $[41] = registerItem, $[42] = rootElement, $[43] = selected, $[44] = t13, $[45] = t14) : (t13 = $[44], t14 = $[45]), (0, react.useEffect)(t13, t14);
2888
2890
  let t15 = IconComponent || children ? "visible" : "hidden", t16;
2889
2891
  $[46] === t15 ? t16 = $[47] : (t16 = {
2890
2892
  visibility: t15,
2891
2893
  pointerEvents: "none"
2892
2894
  }, $[46] = t15, $[47] = t16);
2893
2895
  let t17;
2894
- $[48] !== IconComponent || $[49] !== fontSize || $[50] !== muted || $[51] !== weight ? (t17 = IconComponent && /* @__PURE__ */ jsx(Text, {
2896
+ $[48] !== IconComponent || $[49] !== fontSize || $[50] !== muted || $[51] !== weight ? (t17 = IconComponent && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_tabList.U, {
2895
2897
  muted,
2896
2898
  size: fontSize,
2897
2899
  weight,
2898
- children: /* @__PURE__ */ jsx(IconComponent, {})
2900
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconComponent, {})
2899
2901
  }), $[48] = IconComponent, $[49] = fontSize, $[50] = muted, $[51] = weight, $[52] = t17) : t17 = $[52];
2900
2902
  let t18;
2901
- $[53] !== IconComponent || $[54] !== expanded || $[55] !== fontSize || $[56] !== muted || $[57] !== weight ? (t18 = !IconComponent && /* @__PURE__ */ jsx(ToggleArrowText, {
2903
+ $[53] !== IconComponent || $[54] !== expanded || $[55] !== fontSize || $[56] !== muted || $[57] !== weight ? (t18 = !IconComponent && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(ToggleArrowText, {
2902
2904
  muted,
2903
2905
  size: fontSize,
2904
2906
  weight,
2905
- children: /* @__PURE__ */ jsx(ToggleArrowRightIcon, { style: { transform: expanded ? "rotate(90deg)" : void 0 } })
2907
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_sanity_icons_ToggleArrowRight.ToggleArrowRightIcon, { style: { transform: expanded ? "rotate(90deg)" : void 0 } })
2906
2908
  }), $[53] = IconComponent, $[54] = expanded, $[55] = fontSize, $[56] = muted, $[57] = weight, $[58] = t18) : t18 = $[58];
2907
2909
  let t19;
2908
- $[59] !== spacing || $[60] !== t16 || $[61] !== t17 || $[62] !== t18 ? (t19 = /* @__PURE__ */ jsxs(Box, {
2910
+ $[59] !== spacing || $[60] !== t16 || $[61] !== t17 || $[62] !== t18 ? (t19 = /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(require_tabList.W, {
2909
2911
  marginRight: spacing,
2910
2912
  style: t16,
2911
2913
  children: [t17, t18]
2912
2914
  }), $[59] = spacing, $[60] = t16, $[61] = t17, $[62] = t18, $[63] = t19) : t19 = $[63];
2913
2915
  let t20;
2914
- $[64] !== fontSize || $[65] !== muted || $[66] !== text || $[67] !== weight ? (t20 = /* @__PURE__ */ jsx(Box, {
2916
+ $[64] !== fontSize || $[65] !== muted || $[66] !== text || $[67] !== weight ? (t20 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_tabList.W, {
2915
2917
  flex: 1,
2916
- children: /* @__PURE__ */ jsx(Text, {
2918
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_tabList.U, {
2917
2919
  muted,
2918
2920
  size: fontSize,
2919
2921
  textOverflow: "ellipsis",
@@ -2922,14 +2924,14 @@ function TreeItem(props) {
2922
2924
  })
2923
2925
  }), $[64] = fontSize, $[65] = muted, $[66] = text, $[67] = weight, $[68] = t20) : t20 = $[68];
2924
2926
  let t21;
2925
- $[69] !== padding || $[70] !== t19 || $[71] !== t20 ? (t21 = /* @__PURE__ */ jsxs(Flex, {
2927
+ $[69] !== padding || $[70] !== t19 || $[71] !== t20 ? (t21 = /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(require_tabList.H, {
2926
2928
  padding,
2927
2929
  children: [t19, t20]
2928
2930
  }), $[69] = padding, $[70] = t19, $[71] = t20, $[72] = t21) : t21 = $[72];
2929
2931
  let content = t21;
2930
2932
  if (href) {
2931
2933
  let t22 = selected ? "" : void 0, t23;
2932
- $[73] !== content || $[74] !== expanded || $[75] !== href || $[76] !== linkAs || $[77] !== tabIndex || $[78] !== tree.level ? (t23 = /* @__PURE__ */ jsx(TreeItemBox, {
2934
+ $[73] !== content || $[74] !== expanded || $[75] !== href || $[76] !== linkAs || $[77] !== tabIndex || $[78] !== tree.level ? (t23 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(TreeItemBox, {
2933
2935
  $level: tree.level,
2934
2936
  "aria-expanded": expanded,
2935
2937
  as: linkAs,
@@ -2941,17 +2943,17 @@ function TreeItem(props) {
2941
2943
  children: content
2942
2944
  }), $[73] = content, $[74] = expanded, $[75] = href, $[76] = linkAs, $[77] = tabIndex, $[78] = tree.level, $[79] = t23) : t23 = $[79];
2943
2945
  let t24;
2944
- $[80] !== children || $[81] !== expanded ? (t24 = children && /* @__PURE__ */ jsx(TreeGroup, {
2946
+ $[80] !== children || $[81] !== expanded ? (t24 = children && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(TreeGroup, {
2945
2947
  hidden: !expanded,
2946
2948
  children
2947
2949
  }), $[80] = children, $[81] = expanded, $[82] = t24) : t24 = $[82];
2948
2950
  let t25;
2949
- $[83] !== contextValue || $[84] !== t24 ? (t25 = /* @__PURE__ */ jsx(TreeContext.Provider, {
2951
+ $[83] !== contextValue || $[84] !== t24 ? (t25 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(TreeContext.Provider, {
2950
2952
  value: contextValue,
2951
2953
  children: t24
2952
2954
  }), $[83] = contextValue, $[84] = t24, $[85] = t25) : t25 = $[85];
2953
2955
  let t26;
2954
- return $[86] !== handleClick || $[87] !== id || $[88] !== itemKey || $[89] !== restProps || $[90] !== t22 || $[91] !== t23 || $[92] !== t25 ? (t26 = /* @__PURE__ */ jsxs(StyledTreeItem, {
2956
+ return $[86] !== handleClick || $[87] !== id || $[88] !== itemKey || $[89] !== restProps || $[90] !== t22 || $[91] !== t23 || $[92] !== t25 ? (t26 = /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(StyledTreeItem, {
2955
2957
  "data-selected": t22,
2956
2958
  "data-tree-id": id,
2957
2959
  "data-tree-key": itemKey,
@@ -2964,24 +2966,24 @@ function TreeItem(props) {
2964
2966
  }), $[86] = handleClick, $[87] = id, $[88] = itemKey, $[89] = restProps, $[90] = t22, $[91] = t23, $[92] = t25, $[93] = t26) : t26 = $[93], t26;
2965
2967
  }
2966
2968
  let t22 = selected ? "" : void 0, t23;
2967
- $[94] !== content || $[95] !== tree.level ? (t23 = /* @__PURE__ */ jsx(TreeItemBox, {
2969
+ $[94] !== content || $[95] !== tree.level ? (t23 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(TreeItemBox, {
2968
2970
  $level: tree.level,
2969
2971
  as: "div",
2970
2972
  "data-ui": "TreeItem__box",
2971
2973
  children: content
2972
2974
  }), $[94] = content, $[95] = tree.level, $[96] = t23) : t23 = $[96];
2973
2975
  let t24;
2974
- $[97] !== children || $[98] !== expanded ? (t24 = children && /* @__PURE__ */ jsx(TreeGroup, {
2976
+ $[97] !== children || $[98] !== expanded ? (t24 = children && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(TreeGroup, {
2975
2977
  expanded,
2976
2978
  children
2977
2979
  }), $[97] = children, $[98] = expanded, $[99] = t24) : t24 = $[99];
2978
2980
  let t25;
2979
- $[100] !== contextValue || $[101] !== t24 ? (t25 = /* @__PURE__ */ jsx(TreeContext.Provider, {
2981
+ $[100] !== contextValue || $[101] !== t24 ? (t25 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(TreeContext.Provider, {
2980
2982
  value: contextValue,
2981
2983
  children: t24
2982
2984
  }), $[100] = contextValue, $[101] = t24, $[102] = t25) : t25 = $[102];
2983
2985
  let t26;
2984
- return $[103] !== expanded || $[104] !== handleClick || $[105] !== handleKeyDown || $[106] !== id || $[107] !== itemKey || $[108] !== restProps || $[109] !== t22 || $[110] !== t23 || $[111] !== t25 || $[112] !== tabIndex ? (t26 = /* @__PURE__ */ jsxs(StyledTreeItem, {
2986
+ return $[103] !== expanded || $[104] !== handleClick || $[105] !== handleKeyDown || $[106] !== id || $[107] !== itemKey || $[108] !== restProps || $[109] !== t22 || $[110] !== t23 || $[111] !== t25 || $[112] !== tabIndex ? (t26 = /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(StyledTreeItem, {
2985
2987
  "data-selected": t22,
2986
2988
  "data-ui": "TreeItem",
2987
2989
  "data-tree-id": id,
@@ -2996,6 +2998,6 @@ function TreeItem(props) {
2996
2998
  children: [t23, t25]
2997
2999
  }), $[103] = expanded, $[104] = handleClick, $[105] = handleKeyDown, $[106] = id, $[107] = itemKey, $[108] = restProps, $[109] = t22, $[110] = t23, $[111] = t25, $[112] = tabIndex, $[113] = t26) : t26 = $[113], t26;
2998
3000
  }
2999
- export { Arrow, Autocomplete, Avatar, AvatarCounter, AvatarStack, Badge, BoundaryElementProvider, Box, Breadcrumbs, Button, Card, Checkbox, Code, CodeSkeleton, ConditionalWrapper, Container, Dialog, DialogContext, DialogProvider, ElementQuery, ErrorBoundary, Flex, Grid, Heading, HeadingSkeleton, Hotkeys, Inline, KBD, Label, LabelSkeleton, Layer, LayerProvider, Menu, MenuButton, MenuDivider, MenuGroup, MenuItem, Popover, Portal, PortalProvider, Radio, Select, Skeleton, Spinner, SrOnly, Stack, Switch, Tab, TabList, TabPanel, Text, TextArea, TextInput, TextSkeleton, ThemeColorProvider, ThemeProvider, Toast, ToastProvider, Tooltip, TooltipDelayGroupContext, TooltipDelayGroupProvider, Tree, TreeItem, VirtualList, _ResizeObserver, _elementSizeObserver, _fillCSSObject, _getArrayProp, _getResponsiveSpace, _hasFocus, _isEnterToClickElement, _isScrollable, _raf, _raf2, _responsive, attemptFocus, containsOrEqualsElement, createColorTheme, focusFirstDescendant, focusLastDescendant, hexToRgb, hslToRgb, isFocusable, isHTMLAnchorElement, isHTMLButtonElement, isHTMLElement, isHTMLInputElement, isHTMLSelectElement, isHTMLTextAreaElement, multiply, parseColor, rem, responsiveCodeFontStyle, responsiveHeadingFont, responsiveLabelFont, responsiveTextAlignStyle, responsiveTextFont, rgbToHex, rgbToHsl, rgba, screen, studioTheme, useArrayProp, useBoundaryElement, useClickOutside, useClickOutsideEvent, useCustomValidity, useDialog, useElementRect, useElementSize, useForwardedRef, useGlobalKeyDown, useLayer, useMatchMedia, useMediaIndex, usePortal, usePrefersDark, usePrefersReducedMotion, useRootTheme, useTheme, useTheme_v2, useToast, useTooltipDelayGroup, useTree };
3001
+ exports.Arrow = require_tabList.w, exports.Autocomplete = Autocomplete, exports.Avatar = Avatar, exports.AvatarCounter = AvatarCounter, exports.AvatarStack = AvatarStack, exports.Badge = Badge, exports.BoundaryElementProvider = BoundaryElementProvider, exports.Box = require_tabList.W, exports.Breadcrumbs = Breadcrumbs, exports.Button = require_tabList.z, exports.Card = require_tabList.R, exports.Checkbox = Checkbox, exports.Code = Code, exports.CodeSkeleton = CodeSkeleton, exports.ConditionalWrapper = ConditionalWrapper, exports.Container = Container, exports.Dialog = Dialog, exports.DialogContext = DialogContext, exports.DialogProvider = DialogProvider, exports.ElementQuery = ElementQuery, exports.ErrorBoundary = ErrorBoundary, exports.Flex = require_tabList.H, exports.Grid = require_tabList.D, exports.Heading = Heading, exports.HeadingSkeleton = HeadingSkeleton, exports.Hotkeys = require_tabList.s, exports.Inline = require_tabList.E, exports.KBD = require_tabList.T, exports.Label = Label, exports.LabelSkeleton = LabelSkeleton, exports.Layer = require_tabList.v, exports.LayerProvider = require_tabList.b, exports.Menu = require_tabList.o, exports.MenuButton = MenuButton, exports.MenuDivider = require_tabList.a, exports.MenuGroup = require_tabList.i, exports.MenuItem = require_tabList.r, exports.Popover = require_tabList.m, exports.Portal = require_tabList.g, exports.PortalProvider = require_tabList.h, exports.Radio = Radio, exports.Select = Select, exports.Skeleton = Skeleton, exports.Spinner = require_tabList.V, exports.SrOnly = SrOnly, exports.Stack = require_tabList.p, exports.Switch = Switch, exports.Tab = require_tabList.n, exports.TabList = require_tabList.t, exports.TabPanel = TabPanel, exports.Text = require_tabList.U, exports.TextArea = TextArea, exports.TextInput = require_tabList.f, exports.TextSkeleton = TextSkeleton, exports.ThemeColorProvider = require_tabList.it, exports.ThemeProvider = require_tabList.ot, exports.Toast = Toast, exports.ToastProvider = ToastProvider, exports.Tooltip = require_tabList.c, exports.TooltipDelayGroupContext = require_tabList.u, exports.TooltipDelayGroupProvider = TooltipDelayGroupProvider, exports.Tree = Tree, exports.TreeItem = TreeItem, exports.VirtualList = VirtualList, exports._ResizeObserver = require_tabList.F, exports._elementSizeObserver = require_tabList.P, exports._fillCSSObject = require_tabList.dt, exports._getArrayProp = require_tabList.ft, exports._getResponsiveSpace = require_tabList.pt, exports._hasFocus = _hasFocus, exports._isEnterToClickElement = require_tabList.gt, exports._isScrollable = _isScrollable, exports._raf = _raf, exports._raf2 = _raf2, exports._responsive = require_tabList.mt, exports.attemptFocus = attemptFocus, exports.containsOrEqualsElement = require_tabList._t, exports.createColorTheme = require_tabList.Et, exports.focusFirstDescendant = focusFirstDescendant, exports.focusLastDescendant = focusLastDescendant, exports.hexToRgb = require_tabList.Dt, exports.hslToRgb = require_tabList.Ot, exports.isFocusable = isFocusable, exports.isHTMLAnchorElement = require_tabList.vt, exports.isHTMLButtonElement = require_tabList.yt, exports.isHTMLElement = require_tabList.bt, exports.isHTMLInputElement = require_tabList.xt, exports.isHTMLSelectElement = require_tabList.St, exports.isHTMLTextAreaElement = require_tabList.Ct, exports.multiply = require_tabList.kt, exports.parseColor = require_tabList.At, exports.rem = require_tabList.ht, exports.responsiveCodeFontStyle = responsiveCodeFontStyle, exports.responsiveHeadingFont = responsiveHeadingFont, exports.responsiveLabelFont = responsiveLabelFont, exports.responsiveTextAlignStyle = require_tabList.lt, exports.responsiveTextFont = require_tabList.ct, exports.rgbToHex = require_tabList.jt, exports.rgbToHsl = require_tabList.Mt, exports.rgba = require_tabList.Nt, exports.screen = require_tabList.Pt, exports.studioTheme = require_tabList.Ft, exports.useArrayProp = useArrayProp, exports.useBoundaryElement = require_tabList.x, exports.useClickOutside = useClickOutside, exports.useClickOutsideEvent = require_tabList.L, exports.useCustomValidity = require_tabList.I, exports.useDialog = useDialog, exports.useElementRect = useElementRect, exports.useElementSize = require_tabList.N, exports.useForwardedRef = useForwardedRef, exports.useGlobalKeyDown = require_tabList.M, exports.useLayer = require_tabList.y, exports.useMatchMedia = require_tabList.j, exports.useMediaIndex = require_tabList.A, exports.usePortal = require_tabList._, exports.usePrefersDark = require_tabList.k, exports.usePrefersReducedMotion = require_tabList.O, exports.useRootTheme = require_tabList.at, exports.useTheme = require_tabList.nt, exports.useTheme_v2 = require_tabList.rt, exports.useToast = useToast, exports.useTooltipDelayGroup = require_tabList.l, exports.useTree = useTree;
3000
3002
 
3001
- //# sourceMappingURL=index.mjs.map
3003
+ //# sourceMappingURL=index.cjs.map