elseware-ui 3.0.14 → 3.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -4,7 +4,7 @@ import { twMerge } from 'tailwind-merge';
4
4
  import { AiOutlineLoading } from 'react-icons/ai/index.js';
5
5
  import { useField, ErrorMessage, Field, useFormikContext, FieldArray, Formik, Form as Form$1 } from 'formik';
6
6
  import { FaGripVertical, FaTrash, FaPlus, FaTimes, FaBars, FaSun, FaMoon, FaEyeSlash, FaEye, FaCircle } from 'react-icons/fa/index.js';
7
- import classNames69 from 'classnames';
7
+ import classNames67 from 'classnames';
8
8
  import { DragDropContext, Droppable, Draggable } from 'react-beautiful-dnd';
9
9
  import { Image, CloudinaryContext as CloudinaryContext$1 } from 'cloudinary-react';
10
10
  import { MdUpload, MdOutlineDone, MdOutlineRemoveCircleOutline, MdDragIndicator, MdKeyboardArrowLeft, MdKeyboardArrowRight, MdOutlineDelete } from 'react-icons/md/index.js';
@@ -15,7 +15,7 @@ import { FaCircleChevronDown } from 'react-icons/fa6/index.js';
15
15
  import ReactWorldFlags from 'react-world-flags';
16
16
  import emojiFlags from 'emoji-flags';
17
17
  import { ComposableMap, Geographies, Geography, Marker } from 'react-simple-maps';
18
- import { BiCheckCircle, BiXCircle, BiChevronDown, BiChevronUp, BiSolidLike, BiLike, BiSolidDislike, BiDislike, BiDotsVerticalRounded, BiReply, BiEdit, BiTrash, BiFlag } from 'react-icons/bi/index.js';
18
+ import { BiChevronDown, BiChevronUp, BiSolidLike, BiLike, BiSolidDislike, BiDislike, BiDotsVerticalRounded, BiReply, BiEdit, BiTrash, BiFlag } from 'react-icons/bi/index.js';
19
19
  import CodeMirror from '@uiw/react-codemirror';
20
20
  import { markdown } from '@codemirror/lang-markdown';
21
21
  import { oneDark } from '@codemirror/theme-one-dark';
@@ -4718,7 +4718,7 @@ var init_python = __esm({
4718
4718
  });
4719
4719
 
4720
4720
  // node_modules/refractor/lang/jsx.js
4721
- function jsx217(Prism2) {
4721
+ function jsx226(Prism2) {
4722
4722
  Prism2.register(javascript);
4723
4723
  Prism2.register(markup);
4724
4724
  (function(Prism3) {
@@ -4851,14 +4851,14 @@ var init_jsx = __esm({
4851
4851
  "node_modules/refractor/lang/jsx.js"() {
4852
4852
  init_javascript();
4853
4853
  init_markup();
4854
- jsx217.displayName = "jsx";
4855
- jsx217.aliases = [];
4854
+ jsx226.displayName = "jsx";
4855
+ jsx226.aliases = [];
4856
4856
  }
4857
4857
  });
4858
4858
 
4859
4859
  // node_modules/refractor/lang/tsx.js
4860
4860
  function tsx(Prism2) {
4861
- Prism2.register(jsx217);
4861
+ Prism2.register(jsx226);
4862
4862
  Prism2.register(typescript);
4863
4863
  (function(Prism3) {
4864
4864
  var typescript2 = Prism3.util.clone(Prism3.languages.typescript);
@@ -6336,7 +6336,19 @@ function useButton(props) {
6336
6336
  onMouseMove: _onMouseMove,
6337
6337
  ...rootRest
6338
6338
  } = props;
6339
- const { shape: resolvedShape, size: resolvedSize, variant: resolvedVariant, appearance: resolvedAppearance } = useResolvedButtonConfig({ compact, mode, variant, appearance, shape, size });
6339
+ const {
6340
+ shape: resolvedShape,
6341
+ size: resolvedSize,
6342
+ variant: resolvedVariant,
6343
+ appearance: resolvedAppearance
6344
+ } = useResolvedButtonConfig({
6345
+ compact,
6346
+ mode,
6347
+ variant,
6348
+ appearance,
6349
+ shape,
6350
+ size
6351
+ });
6340
6352
  const tokens = buttonSizeTokens[resolvedSize];
6341
6353
  const variantClassName = resolveButtonVariantStyles({
6342
6354
  appearance: resolvedAppearance,
@@ -6368,106 +6380,112 @@ function useButton(props) {
6368
6380
  };
6369
6381
  }
6370
6382
  var WEB_ROOT = "relative overflow-hidden group inline-flex items-center justify-center gap-2 transition-all duration-300";
6371
- var Button = forwardRef(function Button2(props, ref) {
6372
- const {
6373
- type: type2 = "button",
6374
- glow = true,
6375
- className,
6376
- contentClassName,
6377
- labelClassName,
6378
- accessibilityLabel,
6379
- accessibilityRole,
6380
- testID,
6381
- onClick,
6382
- onMouseMove
6383
- } = props;
6384
- const model = useButton(props);
6385
- const localRef = useRef(null);
6386
- const setRef = (node2) => {
6387
- localRef.current = node2;
6388
- if (typeof ref === "function") ref(node2);
6389
- else if (ref) ref.current = node2;
6390
- };
6391
- const handleMouseMove = (e) => {
6392
- const btn = localRef.current;
6393
- if (btn && glow) {
6394
- const rect = btn.getBoundingClientRect();
6395
- btn.style.setProperty("--glow-x", `${e.clientX - rect.left}px`);
6396
- btn.style.setProperty("--glow-y", `${e.clientY - rect.top}px`);
6397
- }
6398
- onMouseMove?.(e);
6399
- };
6400
- const handleClick = (e) => {
6401
- onClick?.(e);
6402
- if (!e.defaultPrevented) model.onPress?.();
6403
- };
6404
- const iconGroup = /* @__PURE__ */ jsxs(Fragment, { children: [
6405
- model.loading && /* @__PURE__ */ jsx(AiOutlineLoading, { className: "animate-spin z-10" }),
6406
- model.icon && /* @__PURE__ */ jsx(
6383
+ var Button = forwardRef(
6384
+ function Button2(props, ref) {
6385
+ const {
6386
+ type: type2 = "button",
6387
+ glow = true,
6388
+ className,
6389
+ contentClassName,
6390
+ labelClassName,
6391
+ accessibilityLabel,
6392
+ accessibilityRole,
6393
+ testID,
6394
+ onClick,
6395
+ onMouseMove
6396
+ } = props;
6397
+ const model = useButton(props);
6398
+ const localRef = useRef(null);
6399
+ const setRef = (node2) => {
6400
+ localRef.current = node2;
6401
+ if (typeof ref === "function") ref(node2);
6402
+ else if (ref) ref.current = node2;
6403
+ };
6404
+ const handleMouseMove = (e) => {
6405
+ const btn = localRef.current;
6406
+ if (btn && glow) {
6407
+ const rect = btn.getBoundingClientRect();
6408
+ btn.style.setProperty("--glow-x", `${e.clientX - rect.left}px`);
6409
+ btn.style.setProperty("--glow-y", `${e.clientY - rect.top}px`);
6410
+ }
6411
+ onMouseMove?.(e);
6412
+ };
6413
+ const handleClick = (e) => {
6414
+ onClick?.(e);
6415
+ if (!e.defaultPrevented) model.onPress?.();
6416
+ };
6417
+ const iconGroup = /* @__PURE__ */ jsxs(Fragment, { children: [
6418
+ model.loading && /* @__PURE__ */ jsx(AiOutlineLoading, { className: "animate-spin z-10" }),
6419
+ model.icon && /* @__PURE__ */ jsx(
6420
+ "span",
6421
+ {
6422
+ className: cn(
6423
+ "z-10 inline-flex shrink-0 items-center justify-center leading-none",
6424
+ contentClassName
6425
+ ),
6426
+ style: {
6427
+ height: model.iconSize,
6428
+ width: model.iconSize,
6429
+ lineHeight: 0
6430
+ },
6431
+ children: model.icon
6432
+ }
6433
+ )
6434
+ ] });
6435
+ const labelNode = model.label != null && model.label !== "" ? /* @__PURE__ */ jsx(
6407
6436
  "span",
6408
6437
  {
6409
6438
  className: cn(
6410
- "z-10 inline-flex shrink-0 items-center justify-center leading-none",
6411
- contentClassName
6439
+ "z-10 inline-flex items-center justify-center leading-none",
6440
+ labelClassName
6412
6441
  ),
6413
- style: { height: model.iconSize, width: model.iconSize, lineHeight: 0 },
6414
- children: model.icon
6442
+ style: { minHeight: model.iconSize },
6443
+ children: model.label
6415
6444
  }
6416
- )
6417
- ] });
6418
- const labelNode = model.label != null && model.label !== "" ? /* @__PURE__ */ jsx(
6419
- "span",
6420
- {
6421
- className: cn(
6422
- "z-10 inline-flex items-center justify-center leading-none",
6423
- labelClassName
6424
- ),
6425
- style: { minHeight: model.iconSize },
6426
- children: model.label
6427
- }
6428
- ) : null;
6429
- const trailing = model.iconPosition === "trailing";
6430
- return /* @__PURE__ */ jsxs(
6431
- "button",
6432
- {
6433
- ...model.rootRest,
6434
- ref: setRef,
6435
- type: type2,
6436
- disabled: model.isBusy,
6437
- onClick: handleClick,
6438
- onMouseMove: handleMouseMove,
6439
- "aria-disabled": model.isBusy,
6440
- "aria-label": accessibilityLabel,
6441
- "aria-pressed": model.selected,
6442
- "data-testid": testID,
6443
- role: accessibilityRole,
6444
- className: cn(
6445
- WEB_ROOT,
6446
- model.variantClassName,
6447
- model.shapeClassName,
6448
- model.tokens.padding,
6449
- model.tokens.text,
6450
- model.block && "w-full",
6451
- model.isTextMode && buttonTextModeClassName,
6452
- model.isBusy ? "brightness-75 grayscale cursor-not-allowed" : "hover:cursor-pointer",
6453
- className
6454
- ),
6455
- children: [
6456
- glow && /* @__PURE__ */ jsx(
6457
- "span",
6458
- {
6459
- className: "pointer-events-none absolute inset-0 opacity-0 group-hover:opacity-100 transition-opacity duration-300",
6460
- style: {
6461
- background: "radial-gradient(200px circle at var(--glow-x) var(--glow-y), rgba(255,255,255,0.18), transparent 50%)"
6462
- }
6463
- }
6445
+ ) : null;
6446
+ const trailing = model.iconPosition === "trailing";
6447
+ return /* @__PURE__ */ jsxs(
6448
+ "button",
6449
+ {
6450
+ ...model.rootRest,
6451
+ ref: setRef,
6452
+ type: type2,
6453
+ disabled: model.isBusy,
6454
+ onClick: handleClick,
6455
+ onMouseMove: handleMouseMove,
6456
+ "aria-disabled": model.isBusy,
6457
+ "aria-label": accessibilityLabel,
6458
+ "aria-pressed": model.selected,
6459
+ "data-testid": testID,
6460
+ role: accessibilityRole,
6461
+ className: cn(
6462
+ WEB_ROOT,
6463
+ model.variantClassName,
6464
+ model.shapeClassName,
6465
+ model.tokens.padding,
6466
+ model.tokens.text,
6467
+ model.block && "w-full",
6468
+ model.isTextMode && buttonTextModeClassName,
6469
+ model.isBusy ? "brightness-75 grayscale cursor-not-allowed" : "hover:cursor-pointer",
6470
+ className
6464
6471
  ),
6465
- trailing ? labelNode : iconGroup,
6466
- trailing ? iconGroup : labelNode
6467
- ]
6468
- }
6469
- );
6470
- });
6472
+ children: [
6473
+ glow && /* @__PURE__ */ jsx(
6474
+ "span",
6475
+ {
6476
+ className: "pointer-events-none absolute inset-0 opacity-0 group-hover:opacity-100 transition-opacity duration-300",
6477
+ style: {
6478
+ background: "radial-gradient(200px circle at var(--glow-x) var(--glow-y), rgba(255,255,255,0.18), transparent 50%)"
6479
+ }
6480
+ }
6481
+ ),
6482
+ trailing ? labelNode : iconGroup,
6483
+ trailing ? iconGroup : labelNode
6484
+ ]
6485
+ }
6486
+ );
6487
+ }
6488
+ );
6471
6489
  var Button_web_default = Button;
6472
6490
 
6473
6491
  // src/data/styles/shared.styles.tsx
@@ -6520,7 +6538,7 @@ var Backdrop = ({ children: children3, styles }) => {
6520
6538
  return /* @__PURE__ */ jsx(
6521
6539
  "div",
6522
6540
  {
6523
- className: classNames69({
6541
+ className: classNames67({
6524
6542
  "bg-black/75 top-0 bottom-0 left-0 right-0 z-50 fixed inset-0 flex items-center justify-center overflow-hidden": true,
6525
6543
  [`${styles}`]: styles
6526
6544
  }),
@@ -7110,7 +7128,7 @@ function renderTransitionChild(children3, className) {
7110
7128
  }
7111
7129
  const element7 = child;
7112
7130
  return React26.cloneElement(element7, {
7113
- className: classNames69(element7.props.className, className)
7131
+ className: classNames67(element7.props.className, className)
7114
7132
  });
7115
7133
  }
7116
7134
  function TransitionBase({
@@ -7130,7 +7148,7 @@ function TransitionBase({
7130
7148
  if (!mounted && unmountOnExit) {
7131
7149
  return null;
7132
7150
  }
7133
- const transitionClassName = classNames69(
7151
+ const transitionClassName = classNames67(
7134
7152
  visibility ? enterClassName : leaveClassName,
7135
7153
  active ? visibleClassName : hiddenClassName
7136
7154
  );
@@ -7634,7 +7652,7 @@ function InputFile(inputFileProps) {
7634
7652
  className: cn(
7635
7653
  inputControlClassName,
7636
7654
  "block truncate pointer-events-none",
7637
- classNames69({
7655
+ classNames67({
7638
7656
  "text-gray-500 dark:text-gray-300": !fileName
7639
7657
  }),
7640
7658
  inputClassName
@@ -7715,7 +7733,7 @@ var InputList = ({ name: name2, placeholder, shape }) => {
7715
7733
  /* @__PURE__ */ jsx("div", { className: "mt-2", children: /* @__PURE__ */ jsx(FieldArray, { name: name2, children: ({ push: push2, remove: remove2, move }) => /* @__PURE__ */ jsxs(
7716
7734
  "div",
7717
7735
  {
7718
- className: classNames69(
7736
+ className: classNames67(
7719
7737
  "flex w-full flex-col space-y-2 bg-eui-primary-300/10",
7720
7738
  shapes[resolvedShape]
7721
7739
  ),
@@ -7744,7 +7762,7 @@ var InputList = ({ name: name2, placeholder, shape }) => {
7744
7762
  ref: provided2.innerRef,
7745
7763
  ...draggableProps,
7746
7764
  style: draggableStyle,
7747
- className: classNames69(
7765
+ className: classNames67(
7748
7766
  "flex items-center space-x-2 bg-eui-primary-300/10 p-2",
7749
7767
  shapes[resolvedShape]
7750
7768
  ),
@@ -7755,7 +7773,7 @@ var InputList = ({ name: name2, placeholder, shape }) => {
7755
7773
  {
7756
7774
  name: `${name2}[${index3}]`,
7757
7775
  placeholder: `Item ${index3 + 1}`,
7758
- className: classNames69(
7776
+ className: classNames67(
7759
7777
  "peer h-[50px] w-full border bg-eui-primary-300/10 px-3 pb-2 pt-5 text-md placeholder-transparent placeholder-shown:p-3 focus:outline-none eui-text-md",
7760
7778
  shapes[resolvedShape],
7761
7779
  hasItemError ? "border-eui-danger-500" : "border-eui-primary-400 focus:border-eui-secondary-500"
@@ -7851,7 +7869,7 @@ var InputListGroup = ({
7851
7869
  return /* @__PURE__ */ jsxs(
7852
7870
  "div",
7853
7871
  {
7854
- className: classNames69(
7872
+ className: classNames67(
7855
7873
  "flex flex-col gap-2 bg-eui-primary-300/10 p-3",
7856
7874
  shapes[resolvedShape]
7857
7875
  ),
@@ -7863,7 +7881,7 @@ var InputListGroup = ({
7863
7881
  {
7864
7882
  name: `${name2}[${groupIndex}].name`,
7865
7883
  placeholder: `Group ${groupIndex + 1}`,
7866
- className: classNames69(
7884
+ className: classNames67(
7867
7885
  "h-[40px] w-full border bg-eui-primary-300/10 px-3 py-2 text-md focus:outline-none",
7868
7886
  shapes[resolvedShape],
7869
7887
  "border-eui-primary-400 focus:border-eui-secondary-500"
@@ -7894,7 +7912,7 @@ var InputListGroup = ({
7894
7912
  {
7895
7913
  ref: provided.innerRef,
7896
7914
  ...provided.droppableProps,
7897
- className: classNames69(
7915
+ className: classNames67(
7898
7916
  "space-y-2 bg-eui-primary-300/10 p-2",
7899
7917
  shapes[resolvedShape]
7900
7918
  ),
@@ -7914,7 +7932,7 @@ var InputListGroup = ({
7914
7932
  ref: provided2.innerRef,
7915
7933
  ...draggableProps,
7916
7934
  style: draggableStyle,
7917
- className: classNames69(
7935
+ className: classNames67(
7918
7936
  "flex items-center gap-2 bg-eui-primary-300/10 p-2",
7919
7937
  shapes[resolvedShape]
7920
7938
  ),
@@ -7925,7 +7943,7 @@ var InputListGroup = ({
7925
7943
  {
7926
7944
  name: `${itemsFieldName}[${itemIndex}]`,
7927
7945
  placeholder: `Item ${itemIndex + 1}`,
7928
- className: classNames69(
7946
+ className: classNames67(
7929
7947
  "h-[40px] w-full border bg-eui-primary-300/10 px-3 py-2 text-md focus:outline-none",
7930
7948
  shapes[resolvedShape],
7931
7949
  "border-eui-primary-400 focus:border-eui-secondary-500"
@@ -8678,7 +8696,7 @@ var ImageInput = forwardRef(
8678
8696
  /* @__PURE__ */ jsxs(
8679
8697
  "label",
8680
8698
  {
8681
- className: classNames69({
8699
+ className: classNames67({
8682
8700
  "border-2 border-dashed border-gray-700 bg-gray-900 h-[200px] w-[300px] flex flex-col gap-2 items-center justify-center group": true,
8683
8701
  "hover:cursor-pointer hover:border-solid hover:border-gray-600 hover:bg-gray-900/80": true,
8684
8702
  "transition-all ease-in-out duration-150": true
@@ -8866,7 +8884,7 @@ function MultiImageInput({
8866
8884
  onDragOver: handleDragOver,
8867
8885
  onDrop: () => handleDrop(index3),
8868
8886
  onDragEnd: () => setDraggedIndex(null),
8869
- className: classNames69(
8887
+ className: classNames67(
8870
8888
  "relative h-[200px] w-[300px] overflow-hidden bg-gray-900",
8871
8889
  "transition-all duration-150",
8872
8890
  draggedIndex === index3 && "opacity-60",
@@ -8996,7 +9014,7 @@ function Radio({
8996
9014
  return /* @__PURE__ */ jsxs(
8997
9015
  "div",
8998
9016
  {
8999
- className: classNames69({
9017
+ className: classNames67({
9000
9018
  "flex flex-row gap-2 items-center mx-1 my-2": true
9001
9019
  }),
9002
9020
  children: [
@@ -9009,7 +9027,7 @@ function Radio({
9009
9027
  ...props,
9010
9028
  value: option.value,
9011
9029
  checked: field2.value === option.value,
9012
- className: classNames69({
9030
+ className: classNames67({
9013
9031
  "appearance-none w-4 h-4 border-2 border-eui-primary-400 rounded-full cursor-pointer transition-all duration-300": true,
9014
9032
  // base radio button styles
9015
9033
  "checked:bg-eui-secondary-700 checked:border-eui-primary-400": field2.value === option.value
@@ -9021,7 +9039,7 @@ function Radio({
9021
9039
  "label",
9022
9040
  {
9023
9041
  htmlFor: option.value,
9024
- className: classNames69({
9042
+ className: classNames67({
9025
9043
  "eui-text-md text-sm": true
9026
9044
  }),
9027
9045
  children: option.label
@@ -9064,7 +9082,7 @@ function StarRatingInput({
9064
9082
  return /* @__PURE__ */ jsxs(
9065
9083
  "div",
9066
9084
  {
9067
- className: classNames69({
9085
+ className: classNames67({
9068
9086
  "inline-flex gap-[4px] text-[20px]": true,
9069
9087
  [`${styles}`]: styles
9070
9088
  }),
@@ -9077,7 +9095,7 @@ function StarRatingInput({
9077
9095
  onClick: () => handleOnClick(index3),
9078
9096
  onMouseEnter: () => setHover(index3),
9079
9097
  onMouseLeave: () => setHover(null),
9080
- className: classNames69({
9098
+ className: classNames67({
9081
9099
  "text-yellow-600": index3 <= (hover ?? rating - 1),
9082
9100
  "text-gray-400": index3 > (hover ?? rating - 1)
9083
9101
  }),
@@ -9482,7 +9500,7 @@ function Switch({
9482
9500
  "div",
9483
9501
  {
9484
9502
  onClick: () => helpers.setValue(!field.value),
9485
- className: classNames69(
9503
+ className: classNames67(
9486
9504
  "w-11 h-6 bg-gray-200 peer-focus:outline-none rounded-full peer dark:bg-eui-dark-100",
9487
9505
  "peer-checked:after:translate-x-full peer-checked:after:border-white",
9488
9506
  "after:content-[''] after:absolute after:top-[2px] after:left-[2px] after:bg-white",
@@ -9869,7 +9887,7 @@ function BreadcrumbItem({
9869
9887
  {
9870
9888
  href,
9871
9889
  onClick,
9872
- className: classNames69({
9890
+ className: classNames67({
9873
9891
  "text-lg font-semibold": true,
9874
9892
  "text-gray-400 hover:text-gray-600 cursor-pointer": !active,
9875
9893
  "text-eui-light-800": active,
@@ -9946,7 +9964,7 @@ var Breadcrumb = ({
9946
9964
  index3 < resolvedData.length - 1 && /* @__PURE__ */ jsx(
9947
9965
  "span",
9948
9966
  {
9949
- className: classNames69({
9967
+ className: classNames67({
9950
9968
  "text-lg font-semibold text-gray-500": true,
9951
9969
  [`px-${gap}`]: gap
9952
9970
  }),
@@ -9960,7 +9978,7 @@ var Breadcrumb = ({
9960
9978
  return /* @__PURE__ */ jsx(
9961
9979
  "div",
9962
9980
  {
9963
- className: classNames69({
9981
+ className: classNames67({
9964
9982
  "inline-flex": true,
9965
9983
  [`${styles}`]: styles
9966
9984
  }),
@@ -10004,7 +10022,7 @@ var Drawer = ({
10004
10022
  isMobile && showBackdrop && /* @__PURE__ */ jsx(TransitionFade_default, { visibility, leaveDuration: 200, children: /* @__PURE__ */ jsx(
10005
10023
  "div",
10006
10024
  {
10007
- className: classNames69(
10025
+ className: classNames67(
10008
10026
  "fixed inset-0 bg-black/50 z-40",
10009
10027
  backdropStyles
10010
10028
  ),
@@ -10015,7 +10033,7 @@ var Drawer = ({
10015
10033
  "div",
10016
10034
  {
10017
10035
  style: drawerStyle,
10018
- className: classNames69(
10036
+ className: classNames67(
10019
10037
  "fixed shadow-lg z-50",
10020
10038
  {
10021
10039
  "h-full w-[300px] top-0": isHorizontal && !hasOffset,
@@ -10044,7 +10062,7 @@ function DrawerToggler({
10044
10062
  return /* @__PURE__ */ jsx(
10045
10063
  "div",
10046
10064
  {
10047
- className: classNames69({
10065
+ className: classNames67({
10048
10066
  "text-xl p-3 cursor-pointer": true,
10049
10067
  "transition-all ease-in-out": true,
10050
10068
  "text-eui-dark-500 dark:text-eui-secondary-600": !styles,
@@ -10057,8 +10075,16 @@ function DrawerToggler({
10057
10075
  );
10058
10076
  }
10059
10077
  var DrawerToggler_default = DrawerToggler;
10060
- function FooterNav({ data = [], styles }) {
10061
- const isMobile = useIsMobile_default();
10078
+ var columnsClassName = (count) => {
10079
+ const map3 = {
10080
+ 1: "grid-cols-1",
10081
+ 2: "grid-cols-1 sm:grid-cols-2",
10082
+ 3: "grid-cols-2 sm:grid-cols-3",
10083
+ 4: "grid-cols-2 sm:grid-cols-2 lg:grid-cols-4"
10084
+ };
10085
+ return map3[Math.min(Math.max(count, 1), 4)] ?? map3[4];
10086
+ };
10087
+ function FooterNav({ data = [], navigate, styles }) {
10062
10088
  const renderFooterNavItem = (item, index3) => {
10063
10089
  const { icon, name: name2, badge, to, onClick, component, ...rest } = item;
10064
10090
  const Component = component;
@@ -10070,49 +10096,147 @@ function FooterNav({ data = [], styles }) {
10070
10096
  badge,
10071
10097
  to,
10072
10098
  onClick,
10099
+ navigate,
10073
10100
  ...rest
10074
10101
  },
10075
10102
  index3
10076
10103
  );
10077
10104
  };
10078
10105
  const renderFooterNavGroup = (item, index3) => {
10079
- const { icon, name: name2, badge, to, items, component, ...rest } = item;
10106
+ const { icon, name: name2, badge, to, items: items2, component, ...rest } = item;
10080
10107
  const Component = component;
10081
- const groupItems = items && Array.isArray(items) ? items.map(
10108
+ const groupItems = items2 && Array.isArray(items2) ? items2.map(
10082
10109
  (i, idx) => "items" in i ? renderFooterNavGroup(i, idx) : renderFooterNavItem(i, idx)
10083
10110
  ) : null;
10084
10111
  return /* @__PURE__ */ jsx(Component, { icon, name: name2, badge, ...rest, children: groupItems }, index3);
10085
10112
  };
10086
- const splitData = [...data];
10087
- let childrenContent;
10088
- if (splitData.length > 0) {
10089
- const items = splitData.map(
10090
- (item, index3) => "items" in item ? renderFooterNavGroup(item, index3) : renderFooterNavItem(item, index3)
10091
- );
10092
- childrenContent = /* @__PURE__ */ jsx(
10113
+ if (data.length === 0) return null;
10114
+ const items = data.map(
10115
+ (item, index3) => "items" in item ? renderFooterNavGroup(item, index3) : renderFooterNavItem(item, index3)
10116
+ );
10117
+ return /* @__PURE__ */ jsx(
10118
+ "div",
10119
+ {
10120
+ className: classNames67(
10121
+ "grid w-full gap-8",
10122
+ columnsClassName(data.length),
10123
+ {
10124
+ [`${styles}`]: styles
10125
+ }
10126
+ ),
10127
+ children: items
10128
+ }
10129
+ );
10130
+ }
10131
+ var FooterNav_default = FooterNav;
10132
+
10133
+ // src/components/data-display/typography/shared/typography.styles.ts
10134
+ var typographyStyles = ({
10135
+ variant = "default",
10136
+ decoration = "noUnderline",
10137
+ bold,
10138
+ italic,
10139
+ className
10140
+ }) => cn(
10141
+ textVariants[variant],
10142
+ decorations[decoration],
10143
+ bold && "font-bold",
10144
+ italic && "italic",
10145
+ className
10146
+ );
10147
+ var Overline = ({
10148
+ children: children3,
10149
+ variant,
10150
+ decoration,
10151
+ bold = true,
10152
+ italic,
10153
+ className,
10154
+ ...rest
10155
+ }) => {
10156
+ return /* @__PURE__ */ jsx(
10157
+ "div",
10158
+ {
10159
+ ...rest,
10160
+ className: cn(
10161
+ "text-xs uppercase tracking-[0.2em]",
10162
+ typographyStyles({
10163
+ variant,
10164
+ decoration,
10165
+ bold,
10166
+ italic,
10167
+ className
10168
+ })
10169
+ ),
10170
+ children: children3 || "Overline"
10171
+ }
10172
+ );
10173
+ };
10174
+ var FooterNavGroup = ({
10175
+ icon,
10176
+ name: name2,
10177
+ badge,
10178
+ title,
10179
+ children: children3,
10180
+ styles,
10181
+ className,
10182
+ titleClassName
10183
+ }) => {
10184
+ const heading3 = title ?? (name2 ? /* @__PURE__ */ jsx(Overline, { children: name2 }) : null);
10185
+ return /* @__PURE__ */ jsxs("div", { className: cn("flex flex-col", styles, className), children: [
10186
+ heading3 && /* @__PURE__ */ jsxs(
10093
10187
  "div",
10094
10188
  {
10095
- className: classNames69({
10096
- "grid w-full": true,
10097
- "grid-cols-1": isMobile,
10098
- "grid-cols-3": !isMobile,
10099
- [`${styles}`]: styles
10100
- }),
10101
- children: items
10189
+ className: cn(
10190
+ "mb-3 flex items-center gap-2 text-eui-dark-700 dark:text-eui-light-600",
10191
+ titleClassName
10192
+ ),
10193
+ children: [
10194
+ icon && /* @__PURE__ */ jsx("span", { className: "text-base", children: icon }),
10195
+ heading3,
10196
+ badge && /* @__PURE__ */ jsx("span", { children: badge })
10197
+ ]
10102
10198
  }
10103
- );
10104
- }
10199
+ ),
10200
+ /* @__PURE__ */ jsx("div", { className: "flex flex-col gap-1", children: children3 })
10201
+ ] });
10202
+ };
10203
+ var FooterNavGroup_default = FooterNavGroup;
10204
+ var Link = ({
10205
+ children: children3,
10206
+ href,
10207
+ target = "self",
10208
+ variant = "info",
10209
+ decoration = "underline",
10210
+ bold,
10211
+ italic,
10212
+ styles,
10213
+ onClick
10214
+ }) => {
10215
+ const handleClick = (event) => {
10216
+ if (onClick) {
10217
+ event.preventDefault();
10218
+ onClick();
10219
+ }
10220
+ };
10105
10221
  return /* @__PURE__ */ jsx(
10106
- "div",
10222
+ "a",
10107
10223
  {
10108
- className: classNames69({
10224
+ href: href || "#",
10225
+ target: targets[target],
10226
+ onClick: handleClick,
10227
+ className: classNames67({
10228
+ [`${textVariants[variant]}`]: variant,
10229
+ [`${decorations[decoration]}`]: decoration,
10230
+ "font-bold": bold,
10231
+ italic,
10232
+ "hover:cursor-pointer hover:brightness-125": true,
10233
+ "transition-all ease-in-out": true,
10109
10234
  [`${styles}`]: styles
10110
10235
  }),
10111
- children: childrenContent
10236
+ children: children3 ? children3 : "Link"
10112
10237
  }
10113
10238
  );
10114
- }
10115
- var FooterNav_default = FooterNav;
10239
+ };
10116
10240
  var FooterNavItemContext = ({
10117
10241
  icon,
10118
10242
  name: name2,
@@ -10128,76 +10252,60 @@ var FooterNavItemContext = ({
10128
10252
  badge && /* @__PURE__ */ jsx("div", { children: badge })
10129
10253
  ] });
10130
10254
  };
10131
- var FooterNavGroup = ({
10132
- icon,
10133
- name: name2,
10134
- description,
10135
- badge,
10136
- to,
10137
- styles,
10138
- children: children3
10139
- }) => {
10140
- const handleNavigation = () => {
10141
- if (to) {
10142
- window.location.href = to;
10143
- }
10144
- };
10145
- return /* @__PURE__ */ jsxs("div", { children: [
10146
- /* @__PURE__ */ jsx(
10147
- "div",
10148
- {
10149
- className: classNames69({
10150
- "": true,
10151
- "py-2 font-semibold eui-text-lg": !styles,
10152
- [`${styles}`]: styles
10153
- }),
10154
- onClick: () => {
10155
- if (!children3) {
10156
- handleNavigation();
10157
- }
10158
- },
10159
- children: /* @__PURE__ */ jsx(
10160
- FooterNavItemContext,
10161
- {
10162
- icon,
10163
- name: name2,
10164
- description,
10165
- badge
10166
- }
10167
- )
10168
- }
10169
- ),
10170
- /* @__PURE__ */ jsx("div", { children: children3 })
10171
- ] });
10172
- };
10173
- var FooterNavGroup_default = FooterNavGroup;
10174
10255
  var FooterNavItem = ({
10175
10256
  icon,
10176
10257
  name: name2,
10177
10258
  description,
10178
10259
  badge,
10179
10260
  to,
10261
+ external,
10180
10262
  onClick,
10181
- styles
10263
+ navigate,
10264
+ styles,
10265
+ className
10182
10266
  }) => {
10183
- const handleNavigation = () => {
10184
- if (to) {
10185
- window.location.href = to;
10186
- } else if (onClick) {
10267
+ const handleClick = () => {
10268
+ if (onClick) {
10187
10269
  onClick();
10270
+ return;
10271
+ }
10272
+ if (!to) return;
10273
+ if (external) {
10274
+ window.open(to, "_blank", "noopener,noreferrer");
10275
+ return;
10276
+ }
10277
+ if (navigate) {
10278
+ navigate(to);
10279
+ return;
10188
10280
  }
10281
+ window.location.href = to;
10189
10282
  };
10283
+ const isSimpleLink = !icon && !description && !badge;
10284
+ if (isSimpleLink) {
10285
+ const useJsNav = Boolean(onClick) || Boolean(navigate) && Boolean(to);
10286
+ return /* @__PURE__ */ jsx(
10287
+ Link,
10288
+ {
10289
+ href: to || "#",
10290
+ target: external ? "blank" : "self",
10291
+ variant: "default",
10292
+ decoration: "noUnderline",
10293
+ onClick: useJsNav ? handleClick : void 0,
10294
+ styles: cn("block py-1 text-sm", styles, className),
10295
+ children: name2
10296
+ }
10297
+ );
10298
+ }
10190
10299
  return /* @__PURE__ */ jsx(
10191
10300
  "div",
10192
10301
  {
10193
- onClick: handleNavigation,
10194
- className: classNames69({
10195
- "flex flex-row items-center gap-3 cursor-pointer p-1 w-full": true,
10196
- "transition-all duration-200 ease-in-out": true,
10197
- "text-sm eui-text-sm": !styles,
10198
- "hover:eui-text-lg": !styles,
10199
- [`${styles}`]: styles
10200
- }),
10302
+ onClick: handleClick,
10303
+ className: cn(
10304
+ "flex w-full cursor-pointer flex-row items-center gap-3 py-1 text-sm",
10305
+ "eui-text-md eui-theme-transition hover:brightness-125",
10306
+ styles,
10307
+ className
10308
+ ),
10201
10309
  children: /* @__PURE__ */ jsx(
10202
10310
  FooterNavItemContext,
10203
10311
  {
@@ -10220,7 +10328,7 @@ var FooterNavItemTitle = ({
10220
10328
  return /* @__PURE__ */ jsx(
10221
10329
  "div",
10222
10330
  {
10223
- className: classNames69({
10331
+ className: classNames67({
10224
10332
  "": true,
10225
10333
  "py-2 font-thin eui-text-md": !styles,
10226
10334
  [`${styles}`]: styles
@@ -10273,7 +10381,7 @@ function HeaderNav({ data = [], styles }) {
10273
10381
  return /* @__PURE__ */ jsx(
10274
10382
  "div",
10275
10383
  {
10276
- className: classNames69({
10384
+ className: classNames67({
10277
10385
  [`${styles}`]: styles
10278
10386
  }),
10279
10387
  children: childrenContent
@@ -10317,7 +10425,7 @@ var HeaderNavGroup = ({
10317
10425
  /* @__PURE__ */ jsxs(
10318
10426
  "div",
10319
10427
  {
10320
- className: classNames69({
10428
+ className: classNames67({
10321
10429
  "flex flex-row gap-2 items-center justify-between cursor-pointer p-3 w-full": true,
10322
10430
  "transition-all duration-300 ease-in-out": true,
10323
10431
  "eui-text-md bg-gradient-to-t from-eui-dark-500/10 dark:from-green-700/10": !styles,
@@ -10345,7 +10453,7 @@ var HeaderNavGroup = ({
10345
10453
  children3 && /* @__PURE__ */ jsx(
10346
10454
  BsChevronDown,
10347
10455
  {
10348
- className: classNames69({
10456
+ className: classNames67({
10349
10457
  "text-md": true,
10350
10458
  "transition-all ease-in-out duration-300": true,
10351
10459
  "rotate-180": !collapsed
@@ -10358,7 +10466,7 @@ var HeaderNavGroup = ({
10358
10466
  !collapsed && children3 && /* @__PURE__ */ jsx(
10359
10467
  "div",
10360
10468
  {
10361
- className: classNames69({
10469
+ className: classNames67({
10362
10470
  "absolute min-w-80 left-0 top-full mt-1 border border-eui-dark-300/10 dark:border-eui-dark-300/50 shadow-lg eui-shadow-lg z-50 w-full eui-bg-md": true,
10363
10471
  "transition-all duration-300 ease-in-out": true
10364
10472
  }),
@@ -10388,7 +10496,7 @@ var HeaderNavItem = ({
10388
10496
  "div",
10389
10497
  {
10390
10498
  onClick: handleNavigation,
10391
- className: classNames69({
10499
+ className: classNames67({
10392
10500
  "flex flex-row items-center gap-3 cursor-pointer p-3 w-full": true,
10393
10501
  "transition-all duration-200 ease-in-out": true,
10394
10502
  "eui-text-md border-b border-eui-dark-500/20 dark:border-eui-secondary-900/20 bg-gradient-to-r from-eui-dark-500/10 dark:from-eui-secondary-900/10": !styles,
@@ -10417,7 +10525,7 @@ var HeaderNavItemTitle = ({
10417
10525
  return /* @__PURE__ */ jsx(
10418
10526
  "div",
10419
10527
  {
10420
- className: classNames69({
10528
+ className: classNames67({
10421
10529
  "p-3 font-thin": true,
10422
10530
  "eui-text-md": !styles,
10423
10531
  [`${styles}`]: styles
@@ -10434,42 +10542,6 @@ var HeaderNavItemTitle = ({
10434
10542
  }
10435
10543
  );
10436
10544
  };
10437
- var Link = ({
10438
- children: children3,
10439
- href,
10440
- target = "self",
10441
- variant = "info",
10442
- decoration = "underline",
10443
- bold,
10444
- italic,
10445
- styles,
10446
- onClick
10447
- }) => {
10448
- const handleClick = (event) => {
10449
- if (onClick) {
10450
- event.preventDefault();
10451
- onClick();
10452
- }
10453
- };
10454
- return /* @__PURE__ */ jsx(
10455
- "a",
10456
- {
10457
- href: href || "#",
10458
- target: targets[target],
10459
- onClick: handleClick,
10460
- className: classNames69({
10461
- [`${textVariants[variant]}`]: variant,
10462
- [`${decorations[decoration]}`]: decoration,
10463
- "font-bold": bold,
10464
- italic,
10465
- "hover:cursor-pointer hover:brightness-125": true,
10466
- "transition-all ease-in-out": true,
10467
- [`${styles}`]: styles
10468
- }),
10469
- children: children3 ? children3 : "Link"
10470
- }
10471
- );
10472
- };
10473
10545
  var MIContext = ({ icon, name: name2, badge }) => {
10474
10546
  return /* @__PURE__ */ jsxs(Fragment, { children: [
10475
10547
  icon && /* @__PURE__ */ jsx("div", { className: "text-base text-gray-500 dark:text-gray-400", children: icon }),
@@ -13649,7 +13721,7 @@ function Accordion({
13649
13721
  /* @__PURE__ */ jsxs(
13650
13722
  "div",
13651
13723
  {
13652
- className: classNames69(
13724
+ className: classNames67(
13653
13725
  "inline-flex gap-3 items-center px-3 py-2 w-full eui-gradient-to-r-general-xs",
13654
13726
  {
13655
13727
  "hover:cursor-pointer": toggleOnSummaryClick
@@ -13670,7 +13742,7 @@ function Accordion({
13670
13742
  children: /* @__PURE__ */ jsx(
13671
13743
  FaCircleChevronDown,
13672
13744
  {
13673
- className: classNames69("text-xl transition-transform duration-300", {
13745
+ className: classNames67("text-xl transition-transform duration-300", {
13674
13746
  "rotate-180": collapse
13675
13747
  })
13676
13748
  }
@@ -13684,7 +13756,7 @@ function Accordion({
13684
13756
  /* @__PURE__ */ jsx(TransitionAccordion_default, { visibility: collapse, children: /* @__PURE__ */ jsx(
13685
13757
  "div",
13686
13758
  {
13687
- className: classNames69(
13759
+ className: classNames67(
13688
13760
  "border-t border-t-eui-dark-400/40 eui-text-sm",
13689
13761
  {
13690
13762
  "p-5": enableChildrenPadding
@@ -13741,7 +13813,7 @@ function CardHeader({ icon, title, description, className }) {
13741
13813
  return /* @__PURE__ */ jsxs(
13742
13814
  "div",
13743
13815
  {
13744
- className: classNames69(
13816
+ className: classNames67(
13745
13817
  "flex items-start gap-4 p-6 border-b border-white/10",
13746
13818
  className
13747
13819
  ),
@@ -13757,14 +13829,14 @@ function CardHeader({ icon, title, description, className }) {
13757
13829
  }
13758
13830
  var CardHeader_default = CardHeader;
13759
13831
  function CardContent({ children: children3, className }) {
13760
- return /* @__PURE__ */ jsx("div", { className: classNames69("p-6 text-gray-300 text-sm", className), children: children3 });
13832
+ return /* @__PURE__ */ jsx("div", { className: classNames67("p-6 text-gray-300 text-sm", className), children: children3 });
13761
13833
  }
13762
13834
  var CardContent_default = CardContent;
13763
13835
  function CardFooter({ children: children3, className }) {
13764
13836
  return /* @__PURE__ */ jsx(
13765
13837
  "div",
13766
13838
  {
13767
- className: classNames69(
13839
+ className: classNames67(
13768
13840
  "flex items-center gap-3 p-5 border-t border-white/10 text-sm text-gray-400",
13769
13841
  className
13770
13842
  ),
@@ -13806,7 +13878,7 @@ function GradientAnimation({
13806
13878
  return /* @__PURE__ */ jsx(
13807
13879
  "div",
13808
13880
  {
13809
- className: classNames69("absolute inset-0"),
13881
+ className: classNames67("absolute inset-0"),
13810
13882
  style: {
13811
13883
  background: `linear-gradient(${cfg.angle}deg, ${cfg.colors?.join(",")})`,
13812
13884
  backgroundSize: cfg.backgroundSize,
@@ -13952,7 +14024,7 @@ function MotionSurface({
13952
14024
  }) {
13953
14025
  const AnimationComponent = animationVariant === "custom" ? CustomAnimation : animationRegistry[animationVariant];
13954
14026
  const OverlayComponent = overlay === "custom" ? CustomOverlay : overlayRegistry[overlay];
13955
- return /* @__PURE__ */ jsxs("div", { className: classNames69("relative overflow-hidden", className), children: [
14027
+ return /* @__PURE__ */ jsxs("div", { className: classNames67("relative overflow-hidden", className), children: [
13956
14028
  AnimationComponent && /* @__PURE__ */ jsx(AnimationComponent, { config: animationConfig, animated }),
13957
14029
  OverlayComponent && /* @__PURE__ */ jsx(OverlayComponent, { config: overlayConfig }),
13958
14030
  /* @__PURE__ */ jsx("div", { className: "relative z-10", children: children3 })
@@ -17508,21 +17580,6 @@ var typographyLevels = {
17508
17580
  3: "text-xs leading-[20px]"
17509
17581
  }
17510
17582
  };
17511
-
17512
- // src/components/data-display/typography/shared/typography.styles.ts
17513
- var typographyStyles = ({
17514
- variant = "default",
17515
- decoration = "noUnderline",
17516
- bold,
17517
- italic,
17518
- className
17519
- }) => cn(
17520
- textVariants[variant],
17521
- decorations[decoration],
17522
- bold && "font-bold",
17523
- italic && "italic",
17524
- className
17525
- );
17526
17583
  var Chapter = ({
17527
17584
  level = 1,
17528
17585
  children: children3,
@@ -17737,33 +17794,6 @@ var Lead = ({
17737
17794
  }
17738
17795
  );
17739
17796
  };
17740
- var Overline = ({
17741
- children: children3,
17742
- variant,
17743
- decoration,
17744
- bold = true,
17745
- italic,
17746
- className,
17747
- ...rest
17748
- }) => {
17749
- return /* @__PURE__ */ jsx(
17750
- "div",
17751
- {
17752
- ...rest,
17753
- className: cn(
17754
- "text-xs uppercase tracking-[0.2em]",
17755
- typographyStyles({
17756
- variant,
17757
- decoration,
17758
- bold,
17759
- italic,
17760
- className
17761
- })
17762
- ),
17763
- children: children3 || "Overline"
17764
- }
17765
- );
17766
- };
17767
17797
  var Display = ({
17768
17798
  level = 1,
17769
17799
  children: children3,
@@ -19049,7 +19079,7 @@ var ThemeSwitch = () => {
19049
19079
  /* @__PURE__ */ jsx(
19050
19080
  "div",
19051
19081
  {
19052
- className: classNames69(
19082
+ className: classNames67(
19053
19083
  "w-6 h-6 bg-white dark:bg-gray-600 rounded-full shadow-md transition-transform duration-300",
19054
19084
  theme === "dark" ? "translate-x-8" : "translate-x-0"
19055
19085
  )
@@ -30818,7 +30848,7 @@ function Modal({
30818
30848
  "div",
30819
30849
  {
30820
30850
  ref: modalRef,
30821
- className: classNames69(
30851
+ className: classNames67(
30822
30852
  "eui-bg-md eui-shadow-lg border border-gray-700/80 w-fit h-fit",
30823
30853
  shapes[resolvedShape],
30824
30854
  styles
@@ -30830,7 +30860,7 @@ function Modal({
30830
30860
  "button",
30831
30861
  {
30832
30862
  type: "button",
30833
- className: classNames69(
30863
+ className: classNames67(
30834
30864
  "w-[60px] h-[60px] flex items-center justify-center transition-standard-fast",
30835
30865
  "hover:cursor-pointer hover:bg-eui-dark-500"
30836
30866
  ),
@@ -31222,7 +31252,7 @@ var ContentArea = forwardRef(
31222
31252
  "div",
31223
31253
  {
31224
31254
  ref,
31225
- className: classNames69({
31255
+ className: classNames67({
31226
31256
  "min-h-screen h-full w-full transition-all duration-[200ms]": true,
31227
31257
  "py-3 px-5": !enablePadding,
31228
31258
  "py-3 px-5 lg:px-[150px]": enablePadding,
@@ -31239,7 +31269,7 @@ function FlexCol({ children: children3, gap = 3, styles }) {
31239
31269
  return /* @__PURE__ */ jsx(
31240
31270
  "div",
31241
31271
  {
31242
- className: classNames69({
31272
+ className: classNames67({
31243
31273
  [`flex flex-col gap-${gap}`]: true,
31244
31274
  [`${styles}`]: styles
31245
31275
  }),
@@ -31252,7 +31282,7 @@ function FlexRow({ children: children3, gap = 3, styles }) {
31252
31282
  return /* @__PURE__ */ jsx(
31253
31283
  "div",
31254
31284
  {
31255
- className: classNames69({
31285
+ className: classNames67({
31256
31286
  [`flex flex-row gap-${gap}`]: true,
31257
31287
  [`${styles}`]: styles
31258
31288
  }),
@@ -31271,7 +31301,7 @@ function Grid({ children: children3, styles }) {
31271
31301
  return /* @__PURE__ */ jsx(
31272
31302
  "div",
31273
31303
  {
31274
- className: classNames69({
31304
+ className: classNames67({
31275
31305
  [`grid`]: true,
31276
31306
  [`${styles}`]: styles
31277
31307
  }),
@@ -31288,7 +31318,7 @@ var Layout = ({
31288
31318
  return /* @__PURE__ */ jsx(
31289
31319
  "div",
31290
31320
  {
31291
- className: classNames69({
31321
+ className: classNames67({
31292
31322
  // "flex h-full w-screen bg-gray-100 overflow-auto": true,
31293
31323
  "flex bg-eui-light-600": true,
31294
31324
  "flex-col": flexDirection === "vertical",
@@ -31310,7 +31340,7 @@ var Header = ({
31310
31340
  return /* @__PURE__ */ jsx(
31311
31341
  "div",
31312
31342
  {
31313
- className: classNames69({
31343
+ className: classNames67({
31314
31344
  static: position4 === "static",
31315
31345
  fixed: position4 === "fixed",
31316
31346
  sticky: position4 === "sticky",
@@ -31345,7 +31375,7 @@ var Content = ({
31345
31375
  return /* @__PURE__ */ jsx(
31346
31376
  "div",
31347
31377
  {
31348
- className: classNames69({
31378
+ className: classNames67({
31349
31379
  "w-full min-h-screen transition-all duration-200 eui-bg-sm": true,
31350
31380
  "md:pl-[300px]": !overlayedSidebar && sidebarVisible && !isMobile,
31351
31381
  // Shift when sidebar is open (desktop)
@@ -31361,7 +31391,7 @@ var Footer = ({ children: children3, styles }) => {
31361
31391
  return /* @__PURE__ */ jsx(
31362
31392
  "div",
31363
31393
  {
31364
- className: classNames69({
31394
+ className: classNames67({
31365
31395
  "bottom-0 w-full h-fit": true,
31366
31396
  "border-t border-eui-dark-500/40 dark:border-eui-secondary-800 eui-bg-md": !styles,
31367
31397
  [`${styles}`]: styles
@@ -31549,7 +31579,7 @@ function ShowMore({ text: text10, limit }) {
31549
31579
  /* @__PURE__ */ jsx(
31550
31580
  "div",
31551
31581
  {
31552
- className: classNames69({
31582
+ className: classNames67({
31553
31583
  "text-blue-300 px-1 pb-1 mt-1": true,
31554
31584
  "bg-slate-900/70": !showMore,
31555
31585
  "bg-gradient-to-t from-slate-900/50 to-transparent": showMore
@@ -32465,7 +32495,7 @@ function DocumentationPanel({
32465
32495
  return /* @__PURE__ */ jsx(MarkdownProvider_default, { markdown: value, children: /* @__PURE__ */ jsxs(
32466
32496
  "section",
32467
32497
  {
32468
- className: classNames69(
32498
+ className: classNames67(
32469
32499
  "eui-documentation-panel",
32470
32500
  "min-h-0 overflow-hidden bg-white text-gray-900",
32471
32501
  "dark:bg-gray-950 dark:text-gray-100",
@@ -32479,7 +32509,7 @@ function DocumentationPanel({
32479
32509
  /* @__PURE__ */ jsx(
32480
32510
  "main",
32481
32511
  {
32482
- className: classNames69(
32512
+ className: classNames67(
32483
32513
  "eui-documentation-panel-viewer",
32484
32514
  "documentation-panel-scrollbar min-w-0 overflow-y-auto scroll-smooth",
32485
32515
  viewerClassName
@@ -32487,7 +32517,7 @@ function DocumentationPanel({
32487
32517
  children: /* @__PURE__ */ jsx(
32488
32518
  "div",
32489
32519
  {
32490
- className: classNames69(
32520
+ className: classNames67(
32491
32521
  "mx-auto px-5 py-8 sm:px-6 lg:px-8",
32492
32522
  contentMaxWidthClassName,
32493
32523
  contentClassName
@@ -32500,7 +32530,7 @@ function DocumentationPanel({
32500
32530
  toc ? /* @__PURE__ */ jsx(
32501
32531
  "aside",
32502
32532
  {
32503
- className: classNames69(
32533
+ className: classNames67(
32504
32534
  "eui-documentation-panel-toc",
32505
32535
  "hidden min-w-0 border-l border-gray-200 bg-white lg:block",
32506
32536
  "dark:border-gray-800 dark:bg-gray-950",
@@ -32509,7 +32539,7 @@ function DocumentationPanel({
32509
32539
  children: /* @__PURE__ */ jsx(
32510
32540
  "div",
32511
32541
  {
32512
- className: classNames69(
32542
+ className: classNames67(
32513
32543
  "documentation-panel-scrollbar h-full overflow-y-auto px-5 py-8"
32514
32544
  ),
32515
32545
  children: /* @__PURE__ */ jsx("div", { className: "sticky top-0", children: /* @__PURE__ */ jsx(MarkdownTOC_default, {}) })
@@ -32785,7 +32815,7 @@ function BoxNavItem({ icon, name: name2, to, selected, onClick }) {
32785
32815
  type: "button",
32786
32816
  onClick: handleClick,
32787
32817
  "aria-current": selected ? "page" : void 0,
32788
- className: classNames69(
32818
+ className: classNames67(
32789
32819
  "w-full min-w-[80px] flex flex-col items-center justify-center py-3 text-center",
32790
32820
  "hover:text-secondary-700 hover:bg-gray-300/10 hover:cursor-pointer",
32791
32821
  selected ? "text-eui-secondary-700 bg-gray-300/10" : "text-gray-400",
@@ -32829,6 +32859,323 @@ function BoxNav({ data = [], currentPath, onNavigate, navigate }) {
32829
32859
  }) });
32830
32860
  }
32831
32861
  var BoxNav_default = BoxNav;
32862
+ function FooterBrand({
32863
+ brand,
32864
+ brandSrc,
32865
+ brandAlt,
32866
+ className
32867
+ }) {
32868
+ if (brand) {
32869
+ return /* @__PURE__ */ jsx("div", { className: cn("inline-flex", className), children: brand });
32870
+ }
32871
+ return /* @__PURE__ */ jsx(Brand, { src: brandSrc, alt: brandAlt, className });
32872
+ }
32873
+ function FooterDescription({
32874
+ children: children3,
32875
+ className
32876
+ }) {
32877
+ if (!children3) return null;
32878
+ return /* @__PURE__ */ jsx(Paragraph, { level: 2, className: cn("max-w-sm text-sm", className), children: children3 });
32879
+ }
32880
+ function FooterSocial({ item, className }) {
32881
+ const { name: name2, href, icon, external = true, onClick } = item;
32882
+ return /* @__PURE__ */ jsx(
32883
+ "a",
32884
+ {
32885
+ href,
32886
+ onClick,
32887
+ target: external ? "_blank" : void 0,
32888
+ rel: external ? "noopener noreferrer" : void 0,
32889
+ "aria-label": name2,
32890
+ title: name2,
32891
+ className: cn(
32892
+ "flex h-9 w-9 items-center justify-center rounded-full text-base",
32893
+ "eui-text-md border border-eui-dark-500/30 dark:border-eui-light-600/30",
32894
+ "eui-theme-transition hover:brightness-125",
32895
+ "hover:bg-eui-dark-500/5 dark:hover:bg-eui-light-600/10",
32896
+ "focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-current",
32897
+ className
32898
+ ),
32899
+ children: icon
32900
+ }
32901
+ );
32902
+ }
32903
+ function FooterSocials({
32904
+ items,
32905
+ social,
32906
+ className,
32907
+ itemClassName
32908
+ }) {
32909
+ if (!items || items.length === 0) return null;
32910
+ const Social = social ?? FooterSocial;
32911
+ return /* @__PURE__ */ jsx("div", { className: cn("flex flex-wrap items-center gap-3", className), children: items.map((item, index3) => /* @__PURE__ */ jsx(
32912
+ Social,
32913
+ {
32914
+ item,
32915
+ className: itemClassName
32916
+ },
32917
+ item.key ?? item.name ?? item.href ?? index3
32918
+ )) });
32919
+ }
32920
+ function FooterLink({ item, navigate, className }) {
32921
+ const { label, to, icon, description, badge, external, onClick } = item;
32922
+ const useJsNav = Boolean(onClick) || Boolean(navigate) && Boolean(to);
32923
+ const handleClick = () => {
32924
+ if (onClick) {
32925
+ onClick();
32926
+ return;
32927
+ }
32928
+ if (to && navigate) navigate(to);
32929
+ };
32930
+ const link3 = /* @__PURE__ */ jsx(
32931
+ Link,
32932
+ {
32933
+ href: to || "#",
32934
+ target: external ? "blank" : "self",
32935
+ variant: "default",
32936
+ decoration: "noUnderline",
32937
+ onClick: useJsNav ? handleClick : void 0,
32938
+ styles: cn(
32939
+ "text-sm",
32940
+ !icon && !description && "block py-1",
32941
+ item.className,
32942
+ className
32943
+ ),
32944
+ children: label
32945
+ }
32946
+ );
32947
+ if (!icon && !description && !badge) return link3;
32948
+ return /* @__PURE__ */ jsxs("div", { className: "flex items-start gap-3 py-1 text-sm", children: [
32949
+ icon && /* @__PURE__ */ jsx("span", { className: "eui-text-sm mt-0.5 shrink-0 text-base", children: icon }),
32950
+ /* @__PURE__ */ jsxs("div", { className: "flex min-w-0 flex-col", children: [
32951
+ link3,
32952
+ description && /* @__PURE__ */ jsx("span", { className: "eui-text-sm text-xs", children: description })
32953
+ ] }),
32954
+ badge && /* @__PURE__ */ jsx("span", { className: "ml-auto", children: badge })
32955
+ ] });
32956
+ }
32957
+ function FooterColumn({
32958
+ column,
32959
+ navigate,
32960
+ link: link3,
32961
+ className,
32962
+ titleClassName,
32963
+ linkClassName
32964
+ }) {
32965
+ const Link2 = link3 ?? FooterLink;
32966
+ return /* @__PURE__ */ jsx(
32967
+ FooterNavGroup,
32968
+ {
32969
+ title: column.title,
32970
+ className,
32971
+ titleClassName,
32972
+ children: column.items.map((item, index3) => /* @__PURE__ */ jsx(
32973
+ Link2,
32974
+ {
32975
+ item,
32976
+ navigate,
32977
+ className: linkClassName
32978
+ },
32979
+ item.key ?? index3
32980
+ ))
32981
+ }
32982
+ );
32983
+ }
32984
+ var gridColsClassName = (count) => {
32985
+ const map3 = {
32986
+ 1: "grid-cols-1",
32987
+ 2: "grid-cols-2",
32988
+ 3: "grid-cols-2 sm:grid-cols-3",
32989
+ 4: "grid-cols-2 sm:grid-cols-4"
32990
+ };
32991
+ return map3[Math.min(Math.max(count, 1), 4)] ?? map3[4];
32992
+ };
32993
+ function FooterColumns({
32994
+ columns,
32995
+ navigate,
32996
+ column,
32997
+ link: link3,
32998
+ className,
32999
+ columnClassName,
33000
+ titleClassName,
33001
+ linkClassName
33002
+ }) {
33003
+ if (!columns || columns.length === 0) return null;
33004
+ const Column = column ?? FooterColumn;
33005
+ return /* @__PURE__ */ jsx(
33006
+ "div",
33007
+ {
33008
+ className: cn("grid gap-8", gridColsClassName(columns.length), className),
33009
+ children: columns.map((col, index3) => {
33010
+ const ColumnComponent = col.component ?? Column;
33011
+ return /* @__PURE__ */ jsx(
33012
+ ColumnComponent,
33013
+ {
33014
+ column: col,
33015
+ navigate,
33016
+ link: link3,
33017
+ className: cn(columnClassName, col.className),
33018
+ titleClassName,
33019
+ linkClassName
33020
+ },
33021
+ col.key ?? index3
33022
+ );
33023
+ })
33024
+ }
33025
+ );
33026
+ }
33027
+ function FooterBottom({
33028
+ copyright,
33029
+ legalLinks = [],
33030
+ bottomNote,
33031
+ navigate,
33032
+ classNames: classNames71
33033
+ }) {
33034
+ const hasLegal = legalLinks.length > 0;
33035
+ if (!copyright && !hasLegal && !bottomNote) return null;
33036
+ return /* @__PURE__ */ jsxs(
33037
+ "div",
33038
+ {
33039
+ className: cn(
33040
+ "mt-14 flex flex-col gap-4 pt-8",
33041
+ "border-t border-eui-dark-500/15 dark:border-eui-light-600/15",
33042
+ "md:flex-row md:items-center md:justify-between",
33043
+ classNames71?.bottom
33044
+ ),
33045
+ children: [
33046
+ copyright && /* @__PURE__ */ jsx(
33047
+ Caption,
33048
+ {
33049
+ className: cn("max-w-3xl leading-relaxed", classNames71?.copyright),
33050
+ children: copyright
33051
+ }
33052
+ ),
33053
+ (hasLegal || bottomNote) && /* @__PURE__ */ jsxs("div", { className: "flex flex-wrap items-center gap-x-5 gap-y-2 md:justify-end", children: [
33054
+ legalLinks.map((item, index3) => {
33055
+ const useJsNav = Boolean(item.onClick) || Boolean(navigate) && Boolean(item.to);
33056
+ return /* @__PURE__ */ jsx(
33057
+ Link,
33058
+ {
33059
+ href: item.to || "#",
33060
+ target: item.external ? "blank" : "self",
33061
+ variant: "default",
33062
+ decoration: "noUnderline",
33063
+ onClick: useJsNav ? () => item.onClick ? item.onClick() : item.to && navigate?.(item.to) : void 0,
33064
+ styles: cn("whitespace-nowrap text-xs", classNames71?.legalLink),
33065
+ children: item.label
33066
+ },
33067
+ item.key ?? index3
33068
+ );
33069
+ }),
33070
+ bottomNote && /* @__PURE__ */ jsx(Caption, { children: bottomNote })
33071
+ ] })
33072
+ ]
33073
+ }
33074
+ );
33075
+ }
33076
+ function SiteFooter({
33077
+ brand,
33078
+ brandSrc,
33079
+ brandAlt,
33080
+ description,
33081
+ columns = [],
33082
+ socials = [],
33083
+ copyright,
33084
+ legalLinks = [],
33085
+ bottomNote,
33086
+ navigate,
33087
+ components,
33088
+ classNames: classNames71,
33089
+ className,
33090
+ styles,
33091
+ maxWidth = "max-w-7xl",
33092
+ showBrand = true,
33093
+ showColumns = true,
33094
+ showSocials = true,
33095
+ showBottom = true,
33096
+ children: children3
33097
+ }) {
33098
+ const Root = components?.root ?? Footer;
33099
+ const Container = components?.container;
33100
+ const BrandSlot = components?.brand ?? FooterBrand;
33101
+ const DescriptionSlot = components?.description ?? FooterDescription;
33102
+ const SocialsSlot = components?.socials ?? FooterSocials;
33103
+ const ColumnsSlot = components?.columns ?? FooterColumns;
33104
+ const BottomSlot = components?.bottom ?? FooterBottom;
33105
+ const hasBrandBlock = showBrand && (Boolean(brand) || Boolean(brandSrc) || Boolean(description) || showSocials && socials.length > 0);
33106
+ const hasColumns = showColumns && columns.length > 0;
33107
+ const brandBlock = hasBrandBlock ? /* @__PURE__ */ jsxs("div", { className: cn("flex flex-col gap-6", classNames71?.brandBlock), children: [
33108
+ showBrand && (Boolean(brand) || Boolean(brandSrc)) && /* @__PURE__ */ jsx(BrandSlot, { brand, brandSrc, brandAlt }),
33109
+ description && /* @__PURE__ */ jsx(DescriptionSlot, { className: classNames71?.description, children: description }),
33110
+ showSocials && socials.length > 0 && /* @__PURE__ */ jsx(
33111
+ SocialsSlot,
33112
+ {
33113
+ items: socials,
33114
+ social: components?.social,
33115
+ className: classNames71?.socials,
33116
+ itemClassName: classNames71?.social
33117
+ }
33118
+ )
33119
+ ] }) : null;
33120
+ const columnsBlock = hasColumns ? /* @__PURE__ */ jsx(
33121
+ ColumnsSlot,
33122
+ {
33123
+ columns,
33124
+ navigate,
33125
+ column: components?.column,
33126
+ link: components?.link,
33127
+ className: cn(classNames71?.columns, brandBlock && "lg:col-span-3"),
33128
+ columnClassName: classNames71?.column,
33129
+ titleClassName: classNames71?.columnTitle,
33130
+ linkClassName: classNames71?.link
33131
+ }
33132
+ ) : null;
33133
+ const topSection = children3 ?? (brandBlock || columnsBlock ? /* @__PURE__ */ jsxs(
33134
+ "div",
33135
+ {
33136
+ className: cn(
33137
+ "grid gap-12",
33138
+ brandBlock && columnsBlock && "lg:grid-cols-4",
33139
+ classNames71?.top
33140
+ ),
33141
+ children: [
33142
+ brandBlock,
33143
+ columnsBlock
33144
+ ]
33145
+ }
33146
+ ) : null);
33147
+ const content3 = /* @__PURE__ */ jsxs(Fragment, { children: [
33148
+ topSection,
33149
+ showBottom && /* @__PURE__ */ jsx(
33150
+ BottomSlot,
33151
+ {
33152
+ copyright,
33153
+ legalLinks,
33154
+ bottomNote,
33155
+ navigate,
33156
+ classNames: classNames71
33157
+ }
33158
+ )
33159
+ ] });
33160
+ const containerClassName = cn(
33161
+ "mx-auto px-6 py-16 md:px-10 lg:px-16",
33162
+ maxWidth,
33163
+ classNames71?.container
33164
+ );
33165
+ return /* @__PURE__ */ jsx(Root, { styles: cn(styles, classNames71?.root, className), children: Container ? /* @__PURE__ */ jsx(Container, { className: containerClassName, children: content3 }) : /* @__PURE__ */ jsx("div", { className: containerClassName, children: content3 }) });
33166
+ }
33167
+
33168
+ // src/compositions/navigation/site-footer/index.tsx
33169
+ var SiteFooter2 = Object.assign(SiteFooter, {
33170
+ Brand: FooterBrand,
33171
+ Description: FooterDescription,
33172
+ Socials: FooterSocials,
33173
+ Social: FooterSocial,
33174
+ Columns: FooterColumns,
33175
+ Column: FooterColumn,
33176
+ Link: FooterLink,
33177
+ Bottom: FooterBottom
33178
+ });
32832
33179
  function Sidebar({
32833
33180
  items = [],
32834
33181
  navigate,
@@ -33129,7 +33476,7 @@ var TopNav = ({
33129
33476
  currentPath,
33130
33477
  navigate,
33131
33478
  components,
33132
- classNames: classNames73,
33479
+ classNames: classNames71,
33133
33480
  className
33134
33481
  }) => {
33135
33482
  const pathname = currentPath ?? (typeof window !== "undefined" ? window.location.pathname : "");
@@ -33181,11 +33528,15 @@ var TopNav = ({
33181
33528
  return /* @__PURE__ */ jsx(
33182
33529
  TNThemeProvider,
33183
33530
  {
33184
- value: { components: components || {}, classNames: classNames73 || {} },
33185
- children: /* @__PURE__ */ jsx("div", { className: cn("flex items-center", classNames73?.root, className), children: items.map(renderNode) })
33531
+ value: { components: components || {}, classNames: classNames71 || {} },
33532
+ children: /* @__PURE__ */ jsx("div", { className: cn("flex items-center", classNames71?.root, className), children: items.map(renderNode) })
33186
33533
  }
33187
33534
  );
33188
33535
  };
33536
+ var RECOMMENDATION_OPTIONS = [
33537
+ { label: "Yes", value: "yes" },
33538
+ { label: "No", value: "no" }
33539
+ ];
33189
33540
  function ReviewForm({
33190
33541
  initialValues,
33191
33542
  placeholder = "Write your review...",
@@ -33193,163 +33544,85 @@ function ReviewForm({
33193
33544
  cancelLabel = "Cancel",
33194
33545
  loading = false,
33195
33546
  disabled = false,
33196
- autoFocus = false,
33197
33547
  config,
33198
33548
  onSubmit,
33199
33549
  onCancel
33200
33550
  }) {
33201
- const [content3, setContent] = useState(initialValues?.content ?? "");
33202
- const [rating, setRating] = useState(initialValues?.rating ?? 0);
33203
- const [isRecommended, setIsRecommended] = useState(
33204
- initialValues?.isRecommended ?? true
33205
- );
33206
- const [error, setError] = useState("");
33207
- const contentLength = content3.trim().length;
33208
- const ratingItems = useMemo(() => {
33209
- return Array.from(
33210
- {
33211
- length: config.maxRating
33212
- },
33213
- (_2, index3) => index3 + 1
33214
- );
33215
- }, [config.maxRating]);
33216
- useEffect(() => {
33217
- setContent(initialValues?.content ?? "");
33218
- setRating(initialValues?.rating ?? 0);
33219
- setIsRecommended(initialValues?.isRecommended ?? true);
33220
- setError("");
33221
- }, [
33222
- initialValues?.content,
33223
- initialValues?.rating,
33224
- initialValues?.isRecommended
33225
- ]);
33226
- function validate() {
33227
- const trimmedContent = content3.trim();
33228
- if (trimmedContent.length < config.minContentLength) {
33229
- return `Review must be at least ${config.minContentLength} characters.`;
33230
- }
33231
- if (trimmedContent.length > config.maxContentLength) {
33232
- return `Review cannot be more than ${config.maxContentLength} characters.`;
33233
- }
33234
- if (rating < config.minRating) {
33235
- return "Please select a rating.";
33236
- }
33237
- return "";
33238
- }
33239
- async function handleSubmit() {
33240
- const nextError = validate();
33241
- if (nextError) {
33242
- setError(nextError);
33243
- return;
33244
- }
33245
- const values = {
33246
- content: content3.trim(),
33247
- rating,
33248
- isRecommended: config.allowRecommendation ? isRecommended : void 0
33551
+ const formInitialValues = {
33552
+ content: initialValues?.content ?? "",
33553
+ rating: initialValues?.rating ?? 0,
33554
+ isRecommended: initialValues?.isRecommended ?? true ? "yes" : "no"
33555
+ };
33556
+ async function handleSubmit(values) {
33557
+ const normalized = {
33558
+ content: values.content.trim(),
33559
+ rating: Number(values.rating),
33560
+ isRecommended: config.allowRecommendation ? values.isRecommended === "yes" : void 0
33249
33561
  };
33250
- await onSubmit(values);
33562
+ await onSubmit(normalized);
33251
33563
  }
33252
- return /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-4", children: [
33253
- /* @__PURE__ */ jsx(
33254
- "textarea",
33255
- {
33256
- value: content3,
33257
- disabled: disabled || loading,
33258
- autoFocus,
33259
- placeholder,
33260
- maxLength: config.maxContentLength,
33261
- onChange: (event) => {
33262
- setContent(event.target.value);
33263
- setError("");
33264
- },
33265
- className: "min-h-[120px] w-full resize-none rounded-xl border border-gray-300 bg-white px-4 py-3 text-sm text-gray-900 outline-none transition-colors placeholder:text-gray-400 focus:border-blue-500 disabled:cursor-not-allowed disabled:opacity-60 dark:border-neutral-700 dark:bg-neutral-900 dark:text-gray-100 dark:placeholder:text-gray-500"
33266
- }
33267
- ),
33268
- /* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between gap-3 text-xs text-gray-500 dark:text-gray-400", children: [
33269
- /* @__PURE__ */ jsxs("span", { children: [
33270
- contentLength,
33271
- "/",
33272
- config.maxContentLength
33273
- ] }),
33274
- error && /* @__PURE__ */ jsx("span", { className: "text-red-500", children: error })
33275
- ] }),
33276
- /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-2", children: [
33277
- /* @__PURE__ */ jsx("span", { className: "text-sm font-medium text-gray-700 dark:text-gray-300", children: "Rating" }),
33278
- /* @__PURE__ */ jsx("div", { className: "flex items-center gap-1", children: ratingItems.map((item) => {
33279
- const active = item <= rating;
33280
- return /* @__PURE__ */ jsx(
33281
- "button",
33282
- {
33283
- type: "button",
33284
- disabled: disabled || loading,
33285
- onClick: () => {
33286
- setRating(item);
33287
- setError("");
33288
- },
33289
- className: `
33290
- text-2xl leading-none transition-transform disabled:cursor-not-allowed disabled:opacity-60
33291
- ${active ? "text-yellow-400" : "text-gray-300 dark:text-neutral-700"}
33292
- hover:scale-110
33293
- `,
33294
- "aria-label": `Rate ${item} out of ${config.maxRating}`,
33295
- children: "\u2605"
33296
- },
33297
- item
33298
- );
33299
- }) })
33300
- ] }),
33301
- config.allowRecommendation && /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-2", children: [
33302
- /* @__PURE__ */ jsx("span", { className: "text-sm font-medium text-gray-700 dark:text-gray-300", children: "Do you recommend this?" }),
33303
- /* @__PURE__ */ jsxs("div", { className: "flex flex-wrap gap-3", children: [
33304
- /* @__PURE__ */ jsxs("label", { className: "inline-flex cursor-pointer items-center gap-2 text-sm text-gray-700 dark:text-gray-300", children: [
33564
+ return /* @__PURE__ */ jsx(
33565
+ Form,
33566
+ {
33567
+ enableReinitialize: true,
33568
+ initialValues: formInitialValues,
33569
+ onSubmit: handleSubmit,
33570
+ children: (formik) => {
33571
+ const content3 = String(formik.values.content ?? "").trim();
33572
+ const rating = Number(formik.values.rating ?? 0);
33573
+ const isValid = content3.length >= config.minContentLength && rating >= config.minRating;
33574
+ const busy = loading || formik.isSubmitting;
33575
+ return /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-4", children: [
33305
33576
  /* @__PURE__ */ jsx(
33306
- "input",
33577
+ TextArea,
33307
33578
  {
33308
- type: "radio",
33309
- checked: isRecommended,
33310
- disabled: disabled || loading,
33311
- onChange: () => setIsRecommended(true)
33579
+ name: "content",
33580
+ label: placeholder,
33581
+ placeholder,
33582
+ rows: 4,
33583
+ limit: config.maxContentLength,
33584
+ disabled: disabled || busy
33312
33585
  }
33313
33586
  ),
33314
- "Yes"
33315
- ] }),
33316
- /* @__PURE__ */ jsxs("label", { className: "inline-flex cursor-pointer items-center gap-2 text-sm text-gray-700 dark:text-gray-300", children: [
33317
- /* @__PURE__ */ jsx(
33318
- "input",
33587
+ /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-2", children: [
33588
+ /* @__PURE__ */ jsx("span", { className: "text-sm font-medium text-gray-700 dark:text-gray-300", children: "Rating" }),
33589
+ /* @__PURE__ */ jsx(StarRatingInput_default, { name: "rating", starAmount: config.maxRating })
33590
+ ] }),
33591
+ config.allowRecommendation && /* @__PURE__ */ jsx(
33592
+ Radio_default,
33319
33593
  {
33320
- type: "radio",
33321
- checked: !isRecommended,
33322
- disabled: disabled || loading,
33323
- onChange: () => setIsRecommended(false)
33594
+ name: "isRecommended",
33595
+ placeholder: "Do you recommend this?",
33596
+ options: RECOMMENDATION_OPTIONS
33324
33597
  }
33325
33598
  ),
33326
- "No"
33327
- ] })
33328
- ] })
33329
- ] }),
33330
- /* @__PURE__ */ jsxs("div", { className: "flex justify-end gap-2", children: [
33331
- onCancel && /* @__PURE__ */ jsx(
33332
- Button_web_default,
33333
- {
33334
- text: cancelLabel,
33335
- variant: "secondary",
33336
- appearance: "ghost",
33337
- disabled: loading,
33338
- onClick: onCancel
33339
- }
33340
- ),
33341
- /* @__PURE__ */ jsx(
33342
- Button_web_default,
33343
- {
33344
- text: submitLabel,
33345
- variant: "primary",
33346
- loading,
33347
- disabled: disabled || !content3.trim() || rating < config.minRating,
33348
- onClick: handleSubmit
33349
- }
33350
- )
33351
- ] })
33352
- ] });
33599
+ /* @__PURE__ */ jsxs("div", { className: "flex justify-end gap-2", children: [
33600
+ onCancel && /* @__PURE__ */ jsx(
33601
+ Button_web_default,
33602
+ {
33603
+ type: "button",
33604
+ text: cancelLabel,
33605
+ variant: "secondary",
33606
+ appearance: "ghost",
33607
+ disabled: busy,
33608
+ onClick: onCancel
33609
+ }
33610
+ ),
33611
+ /* @__PURE__ */ jsx(
33612
+ Button_web_default,
33613
+ {
33614
+ type: "submit",
33615
+ text: submitLabel,
33616
+ variant: "primary",
33617
+ loading: busy,
33618
+ disabled: disabled || !isValid
33619
+ }
33620
+ )
33621
+ ] })
33622
+ ] });
33623
+ }
33624
+ }
33625
+ );
33353
33626
  }
33354
33627
  var ReviewForm_default = ReviewForm;
33355
33628
  function ReviewComposer({
@@ -33363,12 +33636,12 @@ function ReviewComposer({
33363
33636
  onSubmit
33364
33637
  }) {
33365
33638
  if (!currentUser) {
33366
- return /* @__PURE__ */ jsx("div", { className: "rounded-xl border border-gray-200 bg-white p-4 dark:border-neutral-800 dark:bg-neutral-900", children: /* @__PURE__ */ jsxs("div", { className: "flex flex-wrap items-center justify-between gap-3", children: [
33367
- /* @__PURE__ */ jsx("p", { className: "text-sm text-gray-600 dark:text-gray-400", children: "Please login to post your review." }),
33639
+ return /* @__PURE__ */ jsx(Card_default, { styles: "p-4", children: /* @__PURE__ */ jsxs("div", { className: "flex flex-wrap items-center justify-between gap-3", children: [
33640
+ /* @__PURE__ */ jsx(Typography.Caption, { children: "Please login to post your review." }),
33368
33641
  onLoginClick && /* @__PURE__ */ jsx(Button_web_default, { text: "Login", variant: "primary", onClick: onLoginClick })
33369
33642
  ] }) });
33370
33643
  }
33371
- return /* @__PURE__ */ jsx("div", { className: "rounded-xl border border-gray-200 bg-white p-4 dark:border-neutral-800 dark:bg-neutral-900", children: /* @__PURE__ */ jsxs("div", { className: "flex gap-4", children: [
33644
+ return /* @__PURE__ */ jsx(Card_default, { styles: "p-4", children: /* @__PURE__ */ jsxs("div", { className: "flex gap-4", children: [
33372
33645
  /* @__PURE__ */ jsx(Avatar, { src: currentUser.avatar, size: "md" }),
33373
33646
  /* @__PURE__ */ jsx("div", { className: "min-w-0 flex-1", children: /* @__PURE__ */ jsx(
33374
33647
  ReviewForm_default,
@@ -33598,48 +33871,23 @@ function ReviewHeader({ review, config }) {
33598
33871
  }
33599
33872
  var ReviewHeader_default = ReviewHeader;
33600
33873
  function ReviewContent({ review }) {
33601
- return /* @__PURE__ */ jsx("div", { className: "whitespace-pre-wrap break-words text-sm leading-6 text-gray-700 dark:text-gray-300", children: review.content });
33874
+ return /* @__PURE__ */ jsx(Typography.Paragraph, { className: "whitespace-pre-wrap break-words", children: review.content });
33602
33875
  }
33603
33876
  var ReviewContent_default = ReviewContent;
33604
33877
  function ReviewRating({ rating, maxRating }) {
33605
- const items = Array.from(
33606
- {
33607
- length: maxRating
33608
- },
33609
- (_2, index3) => index3 + 1
33610
- );
33611
- return /* @__PURE__ */ jsx(
33612
- "div",
33613
- {
33614
- className: "inline-flex items-center gap-0.5",
33615
- "aria-label": `${rating} out of ${maxRating}`,
33616
- children: items.map((item) => /* @__PURE__ */ jsx(
33617
- "span",
33618
- {
33619
- className: item <= rating ? "text-sm text-yellow-400" : "text-sm text-gray-300 dark:text-neutral-700",
33620
- children: "\u2605"
33621
- },
33622
- item
33623
- ))
33624
- }
33625
- );
33878
+ return /* @__PURE__ */ jsx(StarRating, { rating, max: maxRating, size: "sm" });
33626
33879
  }
33627
33880
  var ReviewRating_default = ReviewRating;
33628
33881
  function ReviewRecommendation({ isRecommended }) {
33629
33882
  if (typeof isRecommended !== "boolean") {
33630
33883
  return null;
33631
33884
  }
33632
- return /* @__PURE__ */ jsxs(
33633
- "span",
33885
+ return /* @__PURE__ */ jsx(
33886
+ Chip,
33634
33887
  {
33635
- className: `
33636
- inline-flex items-center gap-1 rounded-full px-2.5 py-1 text-xs font-medium
33637
- ${isRecommended ? "bg-green-500/10 text-green-500" : "bg-red-500/10 text-red-500"}
33638
- `,
33639
- children: [
33640
- isRecommended ? /* @__PURE__ */ jsx(BiCheckCircle, { size: 16 }) : /* @__PURE__ */ jsx(BiXCircle, { size: 16 }),
33641
- isRecommended ? "Recommended" : "Not Recommended"
33642
- ]
33888
+ label: isRecommended ? "Recommended" : "Not Recommended",
33889
+ variant: isRecommended ? "success" : "danger",
33890
+ appearance: "lite"
33643
33891
  }
33644
33892
  );
33645
33893
  }
@@ -33777,56 +34025,32 @@ function MyReviewPanel({
33777
34025
  ] });
33778
34026
  }
33779
34027
  var MyReviewPanel_default = MyReviewPanel;
33780
- function ReviewMenuItem({
33781
- icon,
33782
- name: name2,
33783
- badge,
33784
- to,
33785
- navigate,
33786
- className,
33787
- onClick,
33788
- style: style2
33789
- }) {
33790
- return /* @__PURE__ */ jsx(
33791
- MenuItem,
33792
- {
33793
- icon,
33794
- name: name2,
33795
- badge,
33796
- to,
33797
- navigate,
33798
- onClick,
33799
- style: style2,
33800
- className
33801
- }
33802
- );
33803
- }
34028
+ var MENU_ITEM_CLASS = "flex w-full items-center gap-2 px-4 py-3 text-sm hover:bg-gray-100 dark:hover:bg-neutral-800";
33804
34029
  function ReviewMenu({
33805
34030
  open,
33806
34031
  setOpen,
33807
34032
  canEdit,
33808
34033
  canDelete,
33809
34034
  canReport,
33810
- canReply,
33811
34035
  onEdit,
33812
34036
  onDelete,
33813
- onReport,
33814
- onReply
34037
+ onReport
33815
34038
  }) {
33816
34039
  const ref = useRef(null);
33817
34040
  useClickOutside(ref, () => setOpen(false));
34041
+ const withClose = (action) => () => {
34042
+ setOpen(false);
34043
+ action?.();
34044
+ };
33818
34045
  const items = [];
33819
34046
  if (canEdit) {
33820
34047
  items.push({
33821
34048
  type: "item",
33822
34049
  icon: /* @__PURE__ */ jsx(BiEdit, {}),
33823
34050
  name: "Edit Review",
33824
- component: ReviewMenuItem,
33825
- onClick: () => {
33826
- setOpen(false);
33827
- onEdit?.();
33828
- },
33829
- className: "flex w-full items-center gap-2 px-4 py-3 text-sm hover:bg-gray-100 dark:hover:bg-neutral-800"
34051
+ component: MenuItem,
34052
+ onClick: withClose(onEdit),
34053
+ className: MENU_ITEM_CLASS
33830
34054
  });
33831
34055
  }
33832
34056
  if (canDelete) {
@@ -33834,12 +34058,9 @@ function ReviewMenu({
33834
34058
  type: "item",
33835
34059
  icon: /* @__PURE__ */ jsx(BiTrash, {}),
33836
34060
  name: "Delete Review",
33837
- component: ReviewMenuItem,
33838
- onClick: () => {
33839
- setOpen(false);
33840
- onDelete?.();
33841
- },
33842
- className: "flex w-full items-center gap-2 px-4 py-3 text-sm text-red-500 hover:bg-gray-100 dark:hover:bg-neutral-800"
34061
+ component: MenuItem,
34062
+ onClick: withClose(onDelete),
34063
+ className: `${MENU_ITEM_CLASS} text-red-500`
33843
34064
  });
33844
34065
  }
33845
34066
  if (canReport) {
@@ -33847,25 +34068,9 @@ function ReviewMenu({
33847
34068
  type: "item",
33848
34069
  icon: /* @__PURE__ */ jsx(BiFlag, {}),
33849
34070
  name: "Report Review",
33850
- component: ReviewMenuItem,
33851
- onClick: () => {
33852
- setOpen(false);
33853
- onReport?.();
33854
- },
33855
- className: "flex w-full items-center gap-2 px-4 py-3 text-sm hover:bg-gray-100 dark:hover:bg-neutral-800"
33856
- });
33857
- }
33858
- if (canReply) {
33859
- items.push({
33860
- type: "item",
33861
- icon: /* @__PURE__ */ jsx(BiReply, {}),
33862
- name: "Reply as Owner",
33863
- component: ReviewMenuItem,
33864
- onClick: () => {
33865
- setOpen(false);
33866
- onReply?.();
33867
- },
33868
- className: "flex w-full items-center gap-2 px-4 py-3 text-sm hover:bg-gray-100 dark:hover:bg-neutral-800"
34071
+ component: MenuItem,
34072
+ onClick: withClose(onReport),
34073
+ className: MENU_ITEM_CLASS
33869
34074
  });
33870
34075
  }
33871
34076
  if (!items.length) {
@@ -33886,20 +34091,20 @@ function ReviewMenu({
33886
34091
  ] });
33887
34092
  }
33888
34093
  var ReviewMenu_default = ReviewMenu;
33889
- function ReviewActions({ canReply, onReply }) {
34094
+ function ReviewActions({ canReply, config, onReply }) {
33890
34095
  if (!canReply) {
33891
34096
  return null;
33892
34097
  }
33893
- return /* @__PURE__ */ jsx("div", { className: "flex items-center gap-4 text-sm text-gray-500 dark:text-gray-400", children: /* @__PURE__ */ jsxs(
33894
- "button",
34098
+ return /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
34099
+ Button_web_default,
33895
34100
  {
33896
34101
  type: "button",
33897
- onClick: onReply,
33898
- className: "inline-flex items-center gap-1 font-medium transition-colors hover:text-gray-900 dark:hover:text-gray-100",
33899
- children: [
33900
- /* @__PURE__ */ jsx(BiReply, { size: 18 }),
33901
- "Reply as Owner"
33902
- ]
34102
+ text: `Reply as ${config.ownerReplyLabel}`,
34103
+ variant: "secondary",
34104
+ appearance: "ghost",
34105
+ size: "sm",
34106
+ icon: /* @__PURE__ */ jsx(BiReply, {}),
34107
+ onClick: onReply
33903
34108
  }
33904
34109
  ) });
33905
34110
  }
@@ -33927,33 +34132,10 @@ function ReviewReplyHeader({ reply, config }) {
33927
34132
  }
33928
34133
  var ReviewReplyHeader_default = ReviewReplyHeader;
33929
34134
  function ReviewReplyContent({ reply }) {
33930
- return /* @__PURE__ */ jsx("div", { className: "whitespace-pre-wrap break-words text-sm leading-6 text-gray-700 dark:text-gray-300", children: reply.content });
34135
+ return /* @__PURE__ */ jsx(Typography.Paragraph, { className: "whitespace-pre-wrap break-words", children: reply.content });
33931
34136
  }
33932
34137
  var ReviewReplyContent_default = ReviewReplyContent;
33933
- function ReviewReplyMenuItem({
33934
- icon,
33935
- name: name2,
33936
- badge,
33937
- to,
33938
- navigate,
33939
- className,
33940
- onClick,
33941
- style: style2
33942
- }) {
33943
- return /* @__PURE__ */ jsx(
33944
- MenuItem,
33945
- {
33946
- icon,
33947
- name: name2,
33948
- badge,
33949
- to,
33950
- navigate,
33951
- onClick,
33952
- style: style2,
33953
- className
33954
- }
33955
- );
33956
- }
34138
+ var MENU_ITEM_CLASS2 = "flex w-full items-center gap-2 px-4 py-3 text-sm hover:bg-gray-100 dark:hover:bg-neutral-800";
33957
34139
  function ReviewReplyMenu({
33958
34140
  open,
33959
34141
  setOpen,
@@ -33966,18 +34148,19 @@ function ReviewReplyMenu({
33966
34148
  }) {
33967
34149
  const ref = useRef(null);
33968
34150
  useClickOutside(ref, () => setOpen(false));
34151
+ const withClose = (action) => () => {
34152
+ setOpen(false);
34153
+ action?.();
34154
+ };
33969
34155
  const items = [];
33970
34156
  if (canEdit) {
33971
34157
  items.push({
33972
34158
  type: "item",
33973
34159
  icon: /* @__PURE__ */ jsx(BiEdit, {}),
33974
34160
  name: "Edit Reply",
33975
- component: ReviewReplyMenuItem,
33976
- onClick: () => {
33977
- setOpen(false);
33978
- onEdit?.();
33979
- },
33980
- className: "flex w-full items-center gap-2 px-4 py-3 text-sm hover:bg-gray-100 dark:hover:bg-neutral-800"
34161
+ component: MenuItem,
34162
+ onClick: withClose(onEdit),
34163
+ className: MENU_ITEM_CLASS2
33981
34164
  });
33982
34165
  }
33983
34166
  if (canDelete) {
@@ -33985,12 +34168,9 @@ function ReviewReplyMenu({
33985
34168
  type: "item",
33986
34169
  icon: /* @__PURE__ */ jsx(BiTrash, {}),
33987
34170
  name: "Delete Reply",
33988
- component: ReviewReplyMenuItem,
33989
- onClick: () => {
33990
- setOpen(false);
33991
- onDelete?.();
33992
- },
33993
- className: "flex w-full items-center gap-2 px-4 py-3 text-sm text-red-500 hover:bg-gray-100 dark:hover:bg-neutral-800"
34171
+ component: MenuItem,
34172
+ onClick: withClose(onDelete),
34173
+ className: `${MENU_ITEM_CLASS2} text-red-500`
33994
34174
  });
33995
34175
  }
33996
34176
  if (canReport) {
@@ -33998,12 +34178,9 @@ function ReviewReplyMenu({
33998
34178
  type: "item",
33999
34179
  icon: /* @__PURE__ */ jsx(BiFlag, {}),
34000
34180
  name: "Report Reply",
34001
- component: ReviewReplyMenuItem,
34002
- onClick: () => {
34003
- setOpen(false);
34004
- onReport?.();
34005
- },
34006
- className: "flex w-full items-center gap-2 px-4 py-3 text-sm hover:bg-gray-100 dark:hover:bg-neutral-800"
34181
+ component: MenuItem,
34182
+ onClick: withClose(onReport),
34183
+ className: MENU_ITEM_CLASS2
34007
34184
  });
34008
34185
  }
34009
34186
  if (!items.length) {
@@ -34135,11 +34312,9 @@ function ReviewItem({
34135
34312
  canEdit,
34136
34313
  canDelete,
34137
34314
  canReport,
34138
- canReply,
34139
34315
  onEdit: () => onEditReview?.(review),
34140
34316
  onDelete: () => onDeleteReview?.(review),
34141
- onReport: () => onReportReview?.(review),
34142
- onReply: () => onReplyToReview?.(review)
34317
+ onReport: () => onReportReview?.(review)
34143
34318
  }
34144
34319
  )
34145
34320
  ] }),
@@ -34158,6 +34333,7 @@ function ReviewItem({
34158
34333
  ActionsComponent,
34159
34334
  {
34160
34335
  review,
34336
+ config,
34161
34337
  canReply,
34162
34338
  onReply: () => onReplyToReview?.(review)
34163
34339
  }
@@ -34181,9 +34357,9 @@ function ReviewEmptyState({
34181
34357
  title = "No reviews yet",
34182
34358
  text: text10 = "There are no reviews to show."
34183
34359
  }) {
34184
- return /* @__PURE__ */ jsxs("div", { className: "rounded-xl border border-dashed border-gray-300 bg-white p-8 text-center dark:border-neutral-800 dark:bg-neutral-900", children: [
34185
- /* @__PURE__ */ jsx("div", { className: "text-sm font-semibold text-gray-900 dark:text-gray-100", children: title }),
34186
- text10 && /* @__PURE__ */ jsx("p", { className: "mt-2 text-sm text-gray-500 dark:text-gray-400", children: text10 })
34360
+ return /* @__PURE__ */ jsxs(Info, { className: "flex flex-col items-center gap-1 text-center", children: [
34361
+ /* @__PURE__ */ jsx(Typography.Label, { bold: true, children: title }),
34362
+ text10 && /* @__PURE__ */ jsx(Typography.Caption, { children: text10 })
34187
34363
  ] });
34188
34364
  }
34189
34365
  var ReviewEmptyState_default = ReviewEmptyState;
@@ -35536,11 +35712,11 @@ function addChildren(props, children3) {
35536
35712
  }
35537
35713
  }
35538
35714
  }
35539
- function productionCreate(_2, jsx256, jsxs129) {
35715
+ function productionCreate(_2, jsx265, jsxs130) {
35540
35716
  return create3;
35541
35717
  function create3(_3, type2, props, key) {
35542
35718
  const isStaticChildren = Array.isArray(props.children);
35543
- const fn = isStaticChildren ? jsxs129 : jsx256;
35719
+ const fn = isStaticChildren ? jsxs130 : jsx265;
35544
35720
  return key ? fn(type2, props, key) : fn(type2, props);
35545
35721
  }
35546
35722
  }
@@ -55571,7 +55747,7 @@ function MarkdownHeading({
55571
55747
  id: id2,
55572
55748
  level: typographyLevel,
55573
55749
  bold: true,
55574
- className: classNames69(
55750
+ className: classNames67(
55575
55751
  "eui-markdown-heading group relative scroll-mt-24 font-bold leading-tight text-gray-900 dark:text-gray-100",
55576
55752
  HEADING_STYLES[level],
55577
55753
  className
@@ -55734,18 +55910,18 @@ function powerSetPermutations(arr) {
55734
55910
  }
55735
55911
  }
55736
55912
  var classNameCombinations = {};
55737
- function getClassNameCombinations(classNames73) {
55738
- if (classNames73.length === 0 || classNames73.length === 1) return classNames73;
55739
- var key = classNames73.join(".");
55913
+ function getClassNameCombinations(classNames71) {
55914
+ if (classNames71.length === 0 || classNames71.length === 1) return classNames71;
55915
+ var key = classNames71.join(".");
55740
55916
  if (!classNameCombinations[key]) {
55741
- classNameCombinations[key] = powerSetPermutations(classNames73);
55917
+ classNameCombinations[key] = powerSetPermutations(classNames71);
55742
55918
  }
55743
55919
  return classNameCombinations[key];
55744
55920
  }
55745
- function createStyleObject(classNames73) {
55921
+ function createStyleObject(classNames71) {
55746
55922
  var elementStyle = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
55747
55923
  var stylesheet = arguments.length > 2 ? arguments[2] : void 0;
55748
- var nonTokenClassNames = classNames73.filter(function(className) {
55924
+ var nonTokenClassNames = classNames71.filter(function(className) {
55749
55925
  return className !== "token";
55750
55926
  });
55751
55927
  var classNamesCombinations = getClassNameCombinations(nonTokenClassNames);
@@ -55753,8 +55929,8 @@ function createStyleObject(classNames73) {
55753
55929
  return _objectSpread(_objectSpread({}, styleObject), stylesheet[className]);
55754
55930
  }, elementStyle);
55755
55931
  }
55756
- function createClassNameString(classNames73) {
55757
- return classNames73.join(" ");
55932
+ function createClassNameString(classNames71) {
55933
+ return classNames71.join(" ");
55758
55934
  }
55759
55935
  function createChildren2(stylesheet, useInlineStyles) {
55760
55936
  var childrenCount = 0;
@@ -55927,8 +56103,8 @@ function flattenCodeTree(tree) {
55927
56103
  }));
55928
56104
  } else if (node2.children) {
55929
56105
  var _node$properties;
55930
- var classNames73 = className.concat(((_node$properties = node2.properties) === null || _node$properties === void 0 ? void 0 : _node$properties.className) || []);
55931
- flattenCodeTree(node2.children, classNames73).forEach(function(i2) {
56106
+ var classNames71 = className.concat(((_node$properties = node2.properties) === null || _node$properties === void 0 ? void 0 : _node$properties.className) || []);
56107
+ flattenCodeTree(node2.children, classNames71).forEach(function(i2) {
55932
56108
  return newTree.push(i2);
55933
56109
  });
55934
56110
  }
@@ -56459,7 +56635,7 @@ var json_default = json;
56459
56635
 
56460
56636
  // node_modules/react-syntax-highlighter/dist/esm/languages/prism/jsx.js
56461
56637
  init_jsx();
56462
- var jsx_default = jsx217;
56638
+ var jsx_default = jsx226;
56463
56639
 
56464
56640
  // node_modules/react-syntax-highlighter/dist/esm/languages/prism/markup.js
56465
56641
  init_markup();
@@ -56592,7 +56768,7 @@ function MarkdownCodeBlock({
56592
56768
  "div",
56593
56769
  {
56594
56770
  ...props,
56595
- className: classNames69(
56771
+ className: classNames67(
56596
56772
  "eui-markdown-code my-6 overflow-hidden rounded-md border border-slate-700 bg-[#0d1117] text-slate-300",
56597
56773
  className
56598
56774
  ),
@@ -56663,7 +56839,7 @@ function MarkdownInlineCode({
56663
56839
  Code,
56664
56840
  {
56665
56841
  ...props,
56666
- className: classNames69(
56842
+ className: classNames67(
56667
56843
  "eui-markdown-inline-code whitespace-break-spaces rounded-md border border-gray-300/70 bg-gray-200/60 px-1.5 py-0.5 font-mono text-[0.875em] font-medium text-gray-900 dark:border-gray-600/70 dark:bg-gray-700/50 dark:text-gray-200",
56668
56844
  className
56669
56845
  ),
@@ -56704,7 +56880,7 @@ function MarkdownLink({
56704
56880
  href: safeHref,
56705
56881
  target: resolvedTarget,
56706
56882
  rel,
56707
- className: classNames69(
56883
+ className: classNames67(
56708
56884
  "eui-markdown-link font-medium text-blue-600 underline underline-offset-4 transition-colors hover:text-blue-700 dark:text-blue-400 dark:hover:text-blue-300",
56709
56885
  className
56710
56886
  ),
@@ -56739,7 +56915,7 @@ function MarkdownImage({
56739
56915
  title,
56740
56916
  loading: "lazy",
56741
56917
  decoding: "async",
56742
- className: classNames69(
56918
+ className: classNames67(
56743
56919
  "eui-markdown-image my-6 h-auto max-w-full rounded-md border border-gray-200 dark:border-gray-700",
56744
56920
  className
56745
56921
  )
@@ -56756,7 +56932,7 @@ function MarkdownTable({
56756
56932
  TableElement,
56757
56933
  {
56758
56934
  ...props,
56759
- className: classNames69(
56935
+ className: classNames67(
56760
56936
  "eui-markdown-table w-full border-collapse text-[0.925rem]",
56761
56937
  className
56762
56938
  ),
@@ -56773,7 +56949,7 @@ function MarkdownTableCell({
56773
56949
  TableCell,
56774
56950
  {
56775
56951
  ...props,
56776
- className: classNames69(
56952
+ className: classNames67(
56777
56953
  "eui-markdown-table-cell border-b border-r border-gray-200 p-3 text-left align-top last:border-r-0 dark:border-gray-700",
56778
56954
  className
56779
56955
  ),
@@ -56790,7 +56966,7 @@ function MarkdownTableHeaderCell({
56790
56966
  TableHeaderCell,
56791
56967
  {
56792
56968
  ...props,
56793
- className: classNames69(
56969
+ className: classNames67(
56794
56970
  "eui-markdown-table-header-cell border-b border-r border-gray-200 p-3 text-left align-top font-bold text-gray-900 last:border-r-0 dark:border-gray-700 dark:text-gray-100",
56795
56971
  className
56796
56972
  ),
@@ -56806,7 +56982,7 @@ function MarkdownTableHead({
56806
56982
  TableHead,
56807
56983
  {
56808
56984
  ...props,
56809
- className: classNames69(
56985
+ className: classNames67(
56810
56986
  "eui-markdown-table-head bg-gray-50 dark:bg-gray-900",
56811
56987
  className
56812
56988
  )
@@ -56821,7 +56997,7 @@ function MarkdownTableBody({
56821
56997
  TableBody,
56822
56998
  {
56823
56999
  ...props,
56824
- className: classNames69("eui-markdown-table-body", className)
57000
+ className: classNames67("eui-markdown-table-body", className)
56825
57001
  }
56826
57002
  );
56827
57003
  }
@@ -56833,7 +57009,7 @@ function MarkdownTableRow({
56833
57009
  TableRow,
56834
57010
  {
56835
57011
  ...props,
56836
- className: classNames69(
57012
+ className: classNames67(
56837
57013
  "eui-markdown-table-row even:bg-gray-50/70 dark:even:bg-gray-900/60",
56838
57014
  className
56839
57015
  )
@@ -56851,7 +57027,7 @@ function MarkdownBlockquote({
56851
57027
  {
56852
57028
  ...props,
56853
57029
  as: "blockquote",
56854
- className: classNames69(
57030
+ className: classNames67(
56855
57031
  "eui-markdown-blockquote my-6 border-l-4 border-gray-300 bg-transparent px-4 py-0 text-gray-600 [&>*:first-child]:mt-0 [&>*:last-child]:mb-0 dark:border-gray-700 dark:text-gray-400",
56856
57032
  className
56857
57033
  ),
@@ -56870,7 +57046,7 @@ function MarkdownParagraph({
56870
57046
  {
56871
57047
  ...props,
56872
57048
  level: 1,
56873
- className: classNames69("eui-markdown-paragraph my-4", className),
57049
+ className: classNames67("eui-markdown-paragraph my-4", className),
56874
57050
  children: /* @__PURE__ */ jsx(Fragment, { children: children3 })
56875
57051
  }
56876
57052
  );
@@ -56881,7 +57057,7 @@ function MarkdownStrong({ className, ...props }) {
56881
57057
  "strong",
56882
57058
  {
56883
57059
  ...props,
56884
- className: classNames69(
57060
+ className: classNames67(
56885
57061
  "eui-markdown-strong font-semibold text-gray-950 dark:text-gray-100",
56886
57062
  className
56887
57063
  )
@@ -56894,7 +57070,7 @@ function MarkdownEmphasis({ className, ...props }) {
56894
57070
  "em",
56895
57071
  {
56896
57072
  ...props,
56897
- className: classNames69("eui-markdown-emphasis italic", className)
57073
+ className: classNames67("eui-markdown-emphasis italic", className)
56898
57074
  }
56899
57075
  );
56900
57076
  }
@@ -56907,7 +57083,7 @@ function MarkdownStrikethrough({
56907
57083
  "del",
56908
57084
  {
56909
57085
  ...props,
56910
- className: classNames69(
57086
+ className: classNames67(
56911
57087
  "eui-markdown-strikethrough text-gray-500 dark:text-gray-400",
56912
57088
  className
56913
57089
  )
@@ -56968,7 +57144,7 @@ function MarkdownTaskCheckbox({
56968
57144
  "input",
56969
57145
  {
56970
57146
  ...props,
56971
- className: classNames69(
57147
+ className: classNames67(
56972
57148
  "eui-markdown-task-checkbox mr-2 translate-y-px accent-blue-600",
56973
57149
  className
56974
57150
  )
@@ -56984,7 +57160,7 @@ function MarkdownThematicBreak({
56984
57160
  "hr",
56985
57161
  {
56986
57162
  ...props,
56987
- className: classNames69(
57163
+ className: classNames67(
56988
57164
  "eui-markdown-thematic-break my-8 border-0 border-t border-gray-200 dark:border-gray-800",
56989
57165
  className
56990
57166
  )
@@ -57001,7 +57177,7 @@ function MarkdownDetails({ className, ...props }) {
57001
57177
  "details",
57002
57178
  {
57003
57179
  ...props,
57004
- className: classNames69(
57180
+ className: classNames67(
57005
57181
  "eui-markdown-details my-4 rounded-md border border-gray-200 bg-gray-50 px-4 py-3 dark:border-gray-800 dark:bg-gray-900",
57006
57182
  className
57007
57183
  )
@@ -57013,7 +57189,7 @@ function MarkdownSummary({ className, ...props }) {
57013
57189
  "summary",
57014
57190
  {
57015
57191
  ...props,
57016
- className: classNames69(
57192
+ className: classNames67(
57017
57193
  "eui-markdown-summary cursor-pointer font-semibold text-gray-950 dark:text-gray-100",
57018
57194
  className
57019
57195
  )
@@ -57025,7 +57201,7 @@ function MarkdownFigure({ className, ...props }) {
57025
57201
  "figure",
57026
57202
  {
57027
57203
  ...props,
57028
- className: classNames69("eui-markdown-figure my-6", className)
57204
+ className: classNames67("eui-markdown-figure my-6", className)
57029
57205
  }
57030
57206
  );
57031
57207
  }
@@ -57037,7 +57213,7 @@ function MarkdownFigcaption({
57037
57213
  return /* @__PURE__ */ jsx("figcaption", { ...props, className: "eui-markdown-figcaption mt-2 text-center", children: /* @__PURE__ */ jsx(
57038
57214
  Caption,
57039
57215
  {
57040
- className: classNames69(
57216
+ className: classNames67(
57041
57217
  "text-gray-500 opacity-100 dark:text-gray-400",
57042
57218
  className
57043
57219
  ),
@@ -57436,14 +57612,14 @@ function MarkdownRenderer({
57436
57612
  return /* @__PURE__ */ jsx(
57437
57613
  "div",
57438
57614
  {
57439
- className: classNames69(
57615
+ className: classNames67(
57440
57616
  "eui-markdown markdown-body break-words bg-transparent text-[0.95rem] leading-7 text-gray-800 dark:text-gray-300",
57441
57617
  className
57442
57618
  ),
57443
57619
  children: /* @__PURE__ */ jsx(
57444
57620
  "div",
57445
57621
  {
57446
- className: classNames69(
57622
+ className: classNames67(
57447
57623
  "[&>*:first-child]:mt-0 [&>*:last-child]:mb-0",
57448
57624
  contentClassName
57449
57625
  ),
@@ -57521,11 +57697,11 @@ function MarkdownTOCItem({
57521
57697
  onClick: () => onSelect?.(heading3),
57522
57698
  "aria-current": active ? "location" : void 0,
57523
57699
  title: label,
57524
- className: classNames69(
57700
+ className: classNames67(
57525
57701
  "eui-markdown-toc-item",
57526
57702
  "block w-full text-left text-sm transition-all ease-in-out duration-150",
57527
57703
  "hover:text-primary",
57528
- active ? classNames69("text-primary font-semibold underline", activeClassName) : classNames69("text-gray-500 dark:text-gray-400", inactiveClassName),
57704
+ active ? classNames67("text-primary font-semibold underline", activeClassName) : classNames67("text-gray-500 dark:text-gray-400", inactiveClassName),
57529
57705
  className
57530
57706
  ),
57531
57707
  style: {
@@ -57591,7 +57767,7 @@ function MarkdownTOC({
57591
57767
  return emptyState ? /* @__PURE__ */ jsx(
57592
57768
  "div",
57593
57769
  {
57594
- className: classNames69(
57770
+ className: classNames67(
57595
57771
  "eui-markdown-toc",
57596
57772
  "text-sm text-gray-500 dark:text-gray-400",
57597
57773
  className
@@ -57611,7 +57787,7 @@ function MarkdownTOC({
57611
57787
  {
57612
57788
  type: "button",
57613
57789
  onClick: () => setCollapsed((value) => !value),
57614
- className: classNames69(
57790
+ className: classNames67(
57615
57791
  "eui-markdown-toc-title",
57616
57792
  "flex w-full items-center justify-between gap-2 text-left",
57617
57793
  "text-sm font-semibold uppercase tracking-wide",
@@ -57624,7 +57800,7 @@ function MarkdownTOC({
57624
57800
  /* @__PURE__ */ jsx(
57625
57801
  "span",
57626
57802
  {
57627
- className: classNames69(
57803
+ className: classNames67(
57628
57804
  "text-xs opacity-60 transition-transform duration-150",
57629
57805
  !collapsed && "rotate-90"
57630
57806
  ),
@@ -57637,7 +57813,7 @@ function MarkdownTOC({
57637
57813
  ) : /* @__PURE__ */ jsx(
57638
57814
  "h2",
57639
57815
  {
57640
- className: classNames69(
57816
+ className: classNames67(
57641
57817
  "eui-markdown-toc-title",
57642
57818
  "text-sm font-semibold uppercase tracking-wide",
57643
57819
  "text-gray-900 dark:text-gray-100",
@@ -57649,7 +57825,7 @@ function MarkdownTOC({
57649
57825
  !collapsed ? /* @__PURE__ */ jsx(
57650
57826
  "nav",
57651
57827
  {
57652
- className: classNames69(
57828
+ className: classNames67(
57653
57829
  "eui-markdown-toc-list",
57654
57830
  "space-y-1",
57655
57831
  listClassName
@@ -57673,7 +57849,7 @@ function MarkdownTOC({
57673
57849
  }
57674
57850
  ) : null
57675
57851
  ] });
57676
- return /* @__PURE__ */ jsx("aside", { className: classNames69("eui-markdown-toc", "space-y-4", className), children: content3 });
57852
+ return /* @__PURE__ */ jsx("aside", { className: classNames67("eui-markdown-toc", "space-y-4", className), children: content3 });
57677
57853
  }
57678
57854
  var MarkdownTOC_default = MarkdownTOC;
57679
57855
  var DEFAULT_MARKDOWN_TOOLBAR_ACTIONS = [
@@ -57772,7 +57948,7 @@ function MarkdownToolbar({
57772
57948
  return /* @__PURE__ */ jsxs(
57773
57949
  "div",
57774
57950
  {
57775
- className: classNames69(
57951
+ className: classNames67(
57776
57952
  "eui-markdown-toolbar",
57777
57953
  "flex flex-wrap items-center gap-1 border-b border-gray-200 bg-gray-50 p-2",
57778
57954
  "dark:border-gray-700 dark:bg-gray-900",
@@ -57786,7 +57962,7 @@ function MarkdownToolbar({
57786
57962
  disabled: disabled || actionsDisabled,
57787
57963
  title: action.shortcut ? `${action.title || action.label} (${action.shortcut})` : action.title || action.label,
57788
57964
  onClick: () => onAction?.(action.id),
57789
- className: classNames69(
57965
+ className: classNames67(
57790
57966
  "eui-markdown-toolbar-button",
57791
57967
  "inline-flex items-center justify-center rounded border border-transparent",
57792
57968
  "text-gray-700 transition-colors hover:border-gray-300 hover:bg-white",
@@ -57806,7 +57982,7 @@ function MarkdownToolbar({
57806
57982
  disabled,
57807
57983
  onClick: onViewModeToggle,
57808
57984
  title: isPreviewMode ? "Switch to Markdown syntax" : "Switch to preview",
57809
- className: classNames69(
57985
+ className: classNames67(
57810
57986
  "eui-markdown-view-toggle",
57811
57987
  "inline-flex items-center justify-center rounded border font-medium transition-colors",
57812
57988
  "border-gray-300 bg-white text-gray-700 hover:bg-gray-100",
@@ -58063,7 +58239,7 @@ function MarkdownSourceEditor({
58063
58239
  return /* @__PURE__ */ jsxs(
58064
58240
  "div",
58065
58241
  {
58066
- className: classNames69(
58242
+ className: classNames67(
58067
58243
  "eui-markdown-editor",
58068
58244
  "overflow-hidden rounded border border-gray-300 bg-white",
58069
58245
  "dark:border-gray-700 dark:bg-gray-950",
@@ -58079,7 +58255,7 @@ function MarkdownSourceEditor({
58079
58255
  actionsDisabled: readOnly,
58080
58256
  viewMode: currentViewMode,
58081
58257
  showViewModeToggle,
58082
- className: classNames69(toolbarClassName, toolbarProps?.className),
58258
+ className: classNames67(toolbarClassName, toolbarProps?.className),
58083
58259
  onViewModeToggle: toggleViewMode,
58084
58260
  onAction: handleToolbarAction
58085
58261
  }
@@ -58087,7 +58263,7 @@ function MarkdownSourceEditor({
58087
58263
  currentViewMode === "preview" ? /* @__PURE__ */ jsx(
58088
58264
  "div",
58089
58265
  {
58090
- className: classNames69(
58266
+ className: classNames67(
58091
58267
  "eui-markdown-editor-preview",
58092
58268
  "min-h-[260px] p-4",
58093
58269
  previewClassName
@@ -58110,7 +58286,7 @@ function MarkdownSourceEditor({
58110
58286
  onChange: (event) => updateValue(event.target.value),
58111
58287
  onBlur,
58112
58288
  onKeyDown: handleKeyDown,
58113
- className: classNames69(
58289
+ className: classNames67(
58114
58290
  "eui-markdown-source-textarea",
58115
58291
  "block w-full resize-y border-0 bg-transparent p-4 font-mono text-sm leading-7",
58116
58292
  "text-gray-900 outline-none placeholder:text-gray-400",
@@ -58140,7 +58316,7 @@ function MarkdownPreviewPane({
58140
58316
  return /* @__PURE__ */ jsx(
58141
58317
  "div",
58142
58318
  {
58143
- className: classNames69(
58319
+ className: classNames67(
58144
58320
  "eui-markdown-preview-pane",
58145
58321
  "rounded border border-gray-300 bg-white p-4",
58146
58322
  "dark:border-gray-700 dark:bg-gray-950",
@@ -58190,7 +58366,7 @@ function MarkdownSplitEditor({
58190
58366
  return /* @__PURE__ */ jsxs(
58191
58367
  "div",
58192
58368
  {
58193
- className: classNames69(
58369
+ className: classNames67(
58194
58370
  "eui-markdown-split-editor",
58195
58371
  "grid gap-4",
58196
58372
  isHorizontal ? "grid-cols-1 lg:grid-cols-2" : "grid-cols-1",
@@ -58200,7 +58376,7 @@ function MarkdownSplitEditor({
58200
58376
  /* @__PURE__ */ jsxs(
58201
58377
  "div",
58202
58378
  {
58203
- className: classNames69(
58379
+ className: classNames67(
58204
58380
  "eui-markdown-split-source",
58205
58381
  "min-w-0 space-y-2",
58206
58382
  sourceWrapperClassName
@@ -58224,7 +58400,7 @@ function MarkdownSplitEditor({
58224
58400
  /* @__PURE__ */ jsxs(
58225
58401
  "div",
58226
58402
  {
58227
- className: classNames69(
58403
+ className: classNames67(
58228
58404
  "eui-markdown-split-preview",
58229
58405
  "min-w-0 space-y-2",
58230
58406
  previewWrapperClassName
@@ -58314,7 +58490,7 @@ function MarkdownField({
58314
58490
  return /* @__PURE__ */ jsxs(
58315
58491
  "div",
58316
58492
  {
58317
- className: classNames69(
58493
+ className: classNames67(
58318
58494
  "eui-markdown-field",
58319
58495
  "relative space-y-2",
58320
58496
  wrapperClassName
@@ -58324,7 +58500,7 @@ function MarkdownField({
58324
58500
  "label",
58325
58501
  {
58326
58502
  htmlFor: editorProps.id || field.name,
58327
- className: classNames69(
58503
+ className: classNames67(
58328
58504
  "block text-sm font-medium text-gray-700 dark:text-gray-200",
58329
58505
  labelClassName
58330
58506
  ),
@@ -58349,7 +58525,7 @@ function MarkdownField({
58349
58525
  helperText && !hasError ? /* @__PURE__ */ jsx(
58350
58526
  "p",
58351
58527
  {
58352
- className: classNames69(
58528
+ className: classNames67(
58353
58529
  "text-sm text-gray-500 dark:text-gray-400",
58354
58530
  helperTextClassName
58355
58531
  ),
@@ -58404,7 +58580,7 @@ function CodeMirrorMarkdownEditor({
58404
58580
  {
58405
58581
  id: id2,
58406
58582
  "data-name": name2,
58407
- className: classNames69(
58583
+ className: classNames67(
58408
58584
  "eui-markdown-adapter",
58409
58585
  "eui-markdown-codemirror-adapter",
58410
58586
  "overflow-hidden rounded border border-gray-300 bg-white",
@@ -58438,7 +58614,7 @@ function CodeMirrorMarkdownEditor({
58438
58614
  closeBrackets: true,
58439
58615
  bracketMatching: true
58440
58616
  },
58441
- className: classNames69("eui-markdown-codemirror", editorClassName),
58617
+ className: classNames67("eui-markdown-codemirror", editorClassName),
58442
58618
  onChange: updateValue,
58443
58619
  onBlur
58444
58620
  }
@@ -58539,7 +58715,7 @@ function createDefaultPlugins({
58539
58715
  ...showToolbar ? [
58540
58716
  toolbarPlugin({
58541
58717
  toolbarContents: toolbarContents ?? DefaultToolbar,
58542
- toolbarClassName: classNames69(
58718
+ toolbarClassName: classNames67(
58543
58719
  "eui-markdown-mdx-toolbar",
58544
58720
  toolbarClassName
58545
58721
  ),
@@ -58659,7 +58835,7 @@ var MDXMarkdownEditor = forwardRef(
58659
58835
  "aria-invalid": invalid || void 0,
58660
58836
  "data-theme": dark ? "dark" : void 0,
58661
58837
  onBlurCapture: handleBlur,
58662
- className: classNames69(
58838
+ className: classNames67(
58663
58839
  "eui-markdown-adapter",
58664
58840
  "eui-markdown-mdx-adapter",
58665
58841
  dark && ["dark", "dark-theme"],
@@ -58677,12 +58853,12 @@ var MDXMarkdownEditor = forwardRef(
58677
58853
  markdown: currentValue ?? "",
58678
58854
  readOnly: disabled || readOnly,
58679
58855
  plugins: plugins ?? defaultPlugins,
58680
- className: classNames69(
58856
+ className: classNames67(
58681
58857
  "eui-markdown-mdx-editor",
58682
58858
  dark && ["dark", "dark-theme"],
58683
58859
  editorClassName
58684
58860
  ),
58685
- contentEditableClassName: classNames69(
58861
+ contentEditableClassName: classNames67(
58686
58862
  "eui-markdown-mdx-content",
58687
58863
  contentEditableClassName
58688
58864
  ),
@@ -58719,7 +58895,7 @@ function MDXMarkdownField({
58719
58895
  return /* @__PURE__ */ jsxs(
58720
58896
  "div",
58721
58897
  {
58722
- className: classNames69(
58898
+ className: classNames67(
58723
58899
  "eui-markdown-mdx-field",
58724
58900
  "relative space-y-2",
58725
58901
  wrapperClassName
@@ -58729,7 +58905,7 @@ function MDXMarkdownField({
58729
58905
  "label",
58730
58906
  {
58731
58907
  htmlFor: editorId,
58732
- className: classNames69(
58908
+ className: classNames67(
58733
58909
  "block text-sm font-medium text-gray-700 dark:text-gray-200",
58734
58910
  labelClassName
58735
58911
  ),
@@ -58763,7 +58939,7 @@ function MDXMarkdownField({
58763
58939
  "p",
58764
58940
  {
58765
58941
  id: helperId,
58766
- className: classNames69(
58942
+ className: classNames67(
58767
58943
  "text-sm text-gray-500 dark:text-gray-400",
58768
58944
  helperTextClassName
58769
58945
  ),
@@ -58823,10 +58999,10 @@ function MarkdownLayout({
58823
58999
  };
58824
59000
  const hasLeftToc = hasToc && tocPosition === "left";
58825
59001
  const hasRightToc = hasToc && tocPosition === "right";
58826
- return /* @__PURE__ */ jsx("div", { className: classNames69("eui-markdown-layout", "w-full", className), children: /* @__PURE__ */ jsxs(
59002
+ return /* @__PURE__ */ jsx("div", { className: classNames67("eui-markdown-layout", "w-full", className), children: /* @__PURE__ */ jsxs(
58827
59003
  "div",
58828
59004
  {
58829
- className: classNames69(
59005
+ className: classNames67(
58830
59006
  "eui-markdown-layout-container",
58831
59007
  "mx-auto w-full px-4 sm:px-6 lg:px-8",
58832
59008
  containerClassName
@@ -58838,7 +59014,7 @@ function MarkdownLayout({
58838
59014
  header ? /* @__PURE__ */ jsx(
58839
59015
  "header",
58840
59016
  {
58841
- className: classNames69(
59017
+ className: classNames67(
58842
59018
  "eui-markdown-layout-header",
58843
59019
  "mb-8",
58844
59020
  headerClassName
@@ -58849,7 +59025,7 @@ function MarkdownLayout({
58849
59025
  /* @__PURE__ */ jsxs(
58850
59026
  "div",
58851
59027
  {
58852
- className: classNames69(
59028
+ className: classNames67(
58853
59029
  "eui-markdown-layout-grid",
58854
59030
  "grid grid-cols-1 gap-8",
58855
59031
  hasSidebar && hasToc && "xl:grid-cols-[16rem_minmax(0,1fr)_18rem]",
@@ -58862,7 +59038,7 @@ function MarkdownLayout({
58862
59038
  hasSidebar ? /* @__PURE__ */ jsx(
58863
59039
  "aside",
58864
59040
  {
58865
- className: classNames69(
59041
+ className: classNames67(
58866
59042
  "eui-markdown-layout-sidebar",
58867
59043
  "min-w-0",
58868
59044
  stickySidebar && "lg:sticky lg:self-start",
@@ -58875,7 +59051,7 @@ function MarkdownLayout({
58875
59051
  hasLeftToc ? /* @__PURE__ */ jsx(
58876
59052
  "aside",
58877
59053
  {
58878
- className: classNames69(
59054
+ className: classNames67(
58879
59055
  "eui-markdown-layout-toc",
58880
59056
  "min-w-0",
58881
59057
  stickyToc && "lg:sticky lg:self-start",
@@ -58888,7 +59064,7 @@ function MarkdownLayout({
58888
59064
  /* @__PURE__ */ jsx(
58889
59065
  "main",
58890
59066
  {
58891
- className: classNames69(
59067
+ className: classNames67(
58892
59068
  "eui-markdown-layout-content",
58893
59069
  "min-w-0",
58894
59070
  contentClassName
@@ -58899,7 +59075,7 @@ function MarkdownLayout({
58899
59075
  hasRightToc ? /* @__PURE__ */ jsx(
58900
59076
  "aside",
58901
59077
  {
58902
- className: classNames69(
59078
+ className: classNames67(
58903
59079
  "eui-markdown-layout-toc",
58904
59080
  "min-w-0",
58905
59081
  stickyToc && "lg:sticky lg:self-start",
@@ -58912,7 +59088,7 @@ function MarkdownLayout({
58912
59088
  hasAside ? /* @__PURE__ */ jsx(
58913
59089
  "aside",
58914
59090
  {
58915
- className: classNames69(
59091
+ className: classNames67(
58916
59092
  "eui-markdown-layout-aside",
58917
59093
  "min-w-0",
58918
59094
  stickyAside && "2xl:sticky 2xl:self-start",
@@ -58928,7 +59104,7 @@ function MarkdownLayout({
58928
59104
  footer2 ? /* @__PURE__ */ jsx(
58929
59105
  "footer",
58930
59106
  {
58931
- className: classNames69(
59107
+ className: classNames67(
58932
59108
  "eui-markdown-layout-footer",
58933
59109
  "mt-10",
58934
59110
  footerClassName
@@ -58965,7 +59141,7 @@ function MarkdownDocsLayoutContent({
58965
59141
  const resolvedHeader = header ?? (title || description || headerActions ? /* @__PURE__ */ jsx(
58966
59142
  "div",
58967
59143
  {
58968
- className: classNames69(
59144
+ className: classNames67(
58969
59145
  "eui-markdown-docs-header",
58970
59146
  "flex flex-col gap-4 border-b border-gray-200 pb-6",
58971
59147
  "dark:border-gray-700",
@@ -58976,7 +59152,7 @@ function MarkdownDocsLayoutContent({
58976
59152
  title ? /* @__PURE__ */ jsx(
58977
59153
  "h1",
58978
59154
  {
58979
- className: classNames69(
59155
+ className: classNames67(
58980
59156
  "eui-markdown-docs-title",
58981
59157
  "text-3xl font-bold tracking-tight text-gray-950",
58982
59158
  "dark:text-gray-50",
@@ -58988,7 +59164,7 @@ function MarkdownDocsLayoutContent({
58988
59164
  description ? /* @__PURE__ */ jsx(
58989
59165
  "div",
58990
59166
  {
58991
- className: classNames69(
59167
+ className: classNames67(
58992
59168
  "eui-markdown-docs-description",
58993
59169
  "max-w-3xl text-base leading-7 text-gray-600",
58994
59170
  "dark:text-gray-400",
@@ -59076,7 +59252,7 @@ function GenericLayout({
59076
59252
  return /* @__PURE__ */ jsx(ThemeProvider, { defaultTheme, children: /* @__PURE__ */ jsx(
59077
59253
  "div",
59078
59254
  {
59079
- className: classNames69({
59255
+ className: classNames67({
59080
59256
  [`${styles}`]: styles
59081
59257
  }),
59082
59258
  children: children3
@@ -59125,7 +59301,7 @@ function SidemenuLayout({ data, children: children3 }) {
59125
59301
  return /* @__PURE__ */ jsx(DefaultLayout_default, { children: /* @__PURE__ */ jsxs(
59126
59302
  "div",
59127
59303
  {
59128
- className: classNames69({
59304
+ className: classNames67({
59129
59305
  grid: true,
59130
59306
  "grid-cols-7 gap-10": !isMobile,
59131
59307
  "grid-cols-1 gap-": isMobile
@@ -59205,6 +59381,6 @@ function ScrollToTop({
59205
59381
  }
59206
59382
  var ScrollToTop_default = ScrollToTop;
59207
59383
 
59208
- export { Accordion_default as Accordion, AnalyticsContext, AnalyticsProvider, AreaPlot, AsyncComponentWrapper_default as AsyncComponentWrapper, Avatar, Backdrop_default as Backdrop, Badge, BarPlot, BaseChartDataSource, Block_default as Block, BlockGroup_default as BlockGroup, BoxNav_default as BoxNav, BoxNavItem_default as BoxNavItem, Brand, Breadcrumb, BreadcrumbItem_default as BreadcrumbItem, Button_web_default as Button, CHART_COLOR_PALETTE, CHART_DARK_THEME, CHART_DATA_MODES, CHART_DEFAULT_ACTIVE_DOT_RADIUS, CHART_DEFAULT_ANIMATION_DURATION, CHART_DEFAULT_BAR_RADIUS, CHART_DEFAULT_HEIGHT, CHART_DEFAULT_HORIZONTAL_BAR_RADIUS, CHART_DEFAULT_MARGIN, CHART_DEFAULT_MAX_REALTIME_POINTS, CHART_DEFAULT_POLLING_INTERVAL, CHART_DEFAULT_STROKE_WIDTH, CHART_EMPTY_MESSAGE, CHART_ERROR_MESSAGE, CHART_LIGHT_THEME, CHART_LOADING_MESSAGE, CHART_STATUSES, CHART_STATUS_COLORS, CHART_VALUE_FORMATS, Caption, Card_default as Card, CardContent_default as CardContent, CardFooter_default as CardFooter, CardHeader_default as CardHeader, Chapter, Chart, ChartContainer, ChartContext, ChartEmptyState, ChartErrorState, ChartHeader, ChartLegend, ChartLoadingState, ChartPanel, ChartPlotFrame, ChartProvider, ChartToolbar, ChartTooltip, Checkbox, Chip, CloudinaryImage2 as CloudinaryImage, CloudinaryProvider, CloudinaryVideo, Code, CodeMirrorMarkdownEditor_default as CodeMirrorMarkdownEditor, CommentThread_default as CommentThread, ConfigBootstrap_default as ConfigBootstrap, Configurator, ConfiguratorError, Content, ContentArea_default as ContentArea, CookieBanner, CookiePreferencesModal, DEFAULT_ANALYTICS_CONFIG, DEFAULT_COOKIE_CATEGORIES, DEFAULT_REVIEW_THREAD_CONFIG, DataView2 as DataView, DataViewContent, DataViewFilterGroup, DataViewFooter, DataViewHeader, DataViewPageSize, DataViewPagination, DataViewProvider, DataViewSearch, DataViewSidebar, DataViewSort, DataViewTable_default as DataViewTable, DateSelector, DefaultLayout_default as DefaultLayout, Display, DocumentationPanel_default as DocumentationPanel, Drawer, DrawerToggler_default as DrawerToggler, EUIDevLayout_default as EUIDevLayout, EUIProvider, EUI_ANALYTICS_ANONYMOUS_ID_STORAGE_KEY, EUI_ANALYTICS_CONSENT_STORAGE_KEY, EUI_ANALYTICS_QUEUE_STORAGE_KEY, EnvErrorScreen_default as EnvErrorScreen, Flag, Flex, FlexCol_default as FlexCol, FlexRow_default as FlexRow, Footer, FooterNav_default as FooterNav, FooterNavGroup_default as FooterNavGroup, FooterNavItem, FooterNavItemContext, FooterNavItemTitle, Form, FormResponse, GaugePlot, GenericLayout_default as GenericLayout, GlowWrapper_default as GlowWrapper, Graph, GraphEdge, GraphNode, GraphRenderer, Grid_default as Grid, Header, HeaderNav_default as HeaderNav, HeaderNavGroup_default as HeaderNavGroup, HeaderNavItem, HeaderNavItemContext, HeaderNavItemTitle, HomeLayout_default as HomeLayout, Image2 as Image, ImageInput_web_default as ImageInput, ImageView, InfiniteScrollTrigger_default as InfiniteScrollTrigger, Info, Input, InputFile, InputLabel, InputList, InputListGroup, InputResponse, Label, Layout, Lead, LinePlot, Link, List, ListItem, ListItemElement, ListRoot, MDXMarkdownEditor_default as MDXMarkdownEditor, MDXMarkdownField_default as MDXMarkdownField, MarkdownBlockquote_default as MarkdownBlockquote, MarkdownBreak_default as MarkdownBreak, MarkdownCodeBlock_default as MarkdownCodeBlock, MarkdownContext, MarkdownDetails, MarkdownDocsLayout_default as MarkdownDocsLayout, MarkdownEditor_default as MarkdownEditor, MarkdownEmphasis_default as MarkdownEmphasis, MarkdownField_default as MarkdownField, MarkdownFigcaption, MarkdownFigure, MarkdownHeading_default as MarkdownHeadingComponent, MarkdownImage_default as MarkdownImage, MarkdownInlineCode_default as MarkdownInlineCode, MarkdownLayout_default as MarkdownLayout, MarkdownLink_default as MarkdownLink, MarkdownListItem_default as MarkdownListItem, MarkdownOrderedList, MarkdownParagraph_default as MarkdownParagraph, MarkdownPreviewPane_default as MarkdownPreviewPane, MarkdownProvider_default as MarkdownProvider, MarkdownRenderer_default as MarkdownRenderer, MarkdownSourceEditor_default as MarkdownSourceEditor, MarkdownSplitEditor_default as MarkdownSplitEditor, MarkdownStrikethrough_default as MarkdownStrikethrough, MarkdownStrong_default as MarkdownStrong, MarkdownSummary, MarkdownTOC_default as MarkdownTOC, MarkdownTOCItem_default as MarkdownTOCItem, MarkdownTable_default as MarkdownTable, MarkdownTableBody, MarkdownTableCell, MarkdownTableHead, MarkdownTableHeaderCell, MarkdownTableRow, MarkdownTaskCheckbox_default as MarkdownTaskCheckbox, MarkdownThematicBreak_default as MarkdownThematicBreak, MarkdownToolbar_default as MarkdownToolbar, MarkdownUnorderedList, MarkdownViewer_default as MarkdownViewer, Menu, MenuGroup, MenuItem, MenuItemTitle, Modal_default as Modal, MotionSurface_default as MotionSurface, MultiImageInput_web_default as MultiImageInput, NumericRating, Overline, Paragraph, PiePlot, PollingChartDataSource, PreviewSwitch, PriceTag, ProgressBar, ProgressBarRating, Quote, Radio_default as Radio, RealtimeChartDataSource, ReviewComposer_default as ReviewComposer, ReviewForm_default as ReviewForm, ReviewThread_default as ReviewThread, RouteTab_default as RouteTab, RouteTabs_default as RouteTabs, ScatterPlot, ScrollToTop_default as ScrollToTop, Section, Select, ShapeSwitch, ShowMore_default as ShowMore, Sidebar_default as Sidebar, SidebarLayout_default as SidebarLayout, SidemenuLayout_default as SidemenuLayout, Skeleton, Slider_default as Slider, Spinner, StarRating, StarRatingDistribution_default as StarRatingDistribution, StarRatingInput_default as StarRatingInput, StatPlot, StaticChartDataSource, Switch_default as Switch, TNContext, TNDropdown, TNDropdownGroup, TNDropdownItem, TNDropdownTitle, TNGroup, TNItem, Table, TableBody, TableCell, TableElement, TableFrame, TableHead, TableHeaderCell, TableRow, Tag, Tags, TextArea, ThemeContext, ThemeProvider, ThemeSelect, ThemeSwitch, TitleBanner, Toast, Tooltip6 as Tooltip, TopNav, Transition, TransitionAccordion_default as TransitionAccordion, TransitionBase_default as TransitionBase, TransitionDropdown_default as TransitionDropdown, TransitionFade_default as TransitionFade, TransitionFadeIn_default as TransitionFadeIn, TransitionScale_default as TransitionScale, TransitionSlide_default as TransitionSlide, Typography, UnderConstructionBanner, ValueBadge, WorldMap, WorldMapCountryTable, YoutubeVideo, YoutubeVideo as YoutubeVideoPlayer, addReplyToCache, addReviewReply, appendReview, applyReactionState, assertAbsoluteURL, buildURL, canDeleteReview, canDeleteReviewReply, canEditReview, canEditReviewReply, canReplyToReview, canReportReview, canReportReviewReply, clearAnalyticsQueueStorage, clearAnonymousIdStorage, clearConsentStorage, cn, createAnalyticsEvent, createAnalyticsId, createConfigurator, createDefaultConsent, createForceLayout, createGridLayout, createHeadingSlug, createTreeLayout, createURLResolver, decrementReplyCount, defaultFormatValue, defaultTiers, ensureAnonymousIdStorage, enumValues, euiToast, extractHeadings, extractTextColorClasses, findReview, formatChartLabel, formatChartValue, formatCommentDate, formatConfigError, formatReviewDate, generateHeadingNumbers, getAllowedOrigins, getBrowserHref, getBrowserOrigin, getBrowserRedirectURL, getConsentStatusFromCategories, getCurrencySymbol, getCurrentFullUrl, getCurrentPath, getCurrentReferrer, getCurrentTitle, getDeviceInfo, getDoNotTrackEnabled, getLayout, getNowISOString, getOptimisticDislikeState, getOptimisticLikeState, getSafeRedirect, getViewport, hasReviewReply, incrementReplyCount, isBrowser, isMatch, isRenderFn, limitRealtimePoints, normalize, normalizeChartData, normalizeChartDataPoint, normalizeMarkdown, normalizeReview, normalizeReviewAuthor, normalizeReviewReply, parseJson, parseJsonRecord, parseUrlMap, prependReview, readAnalyticsQueueStorage, readAnonymousIdStorage, readConsentStorage, registerLayout, removeComment, removeCommentTreeFromCache, removeReview, removeReviewReply, replaceRealtimePoints, replaceReview, replaceReviewReply, resolveAppearanceStyles, resolveChartColor, resolveChartColors, resolveWithGlobal, safeReadStorage, safeRemoveStorage, safeWriteStorage, sanitizeHeading, sendToast, slugify, toConfiguratorError, updateComment, updateReplyCacheComment, updateReview, updateReviewReply, upsertReview, useActiveHeading, useAnalytics, useChartContext, useChartData, useChartPolling, useChartRealtime, useChartSeries, useChartTheme, useClickOutside, useCloudinaryConfig, useCookieConsent, useCurrentTheme_default as useCurrentTheme, useDrawer_default as useDrawer, useEUIConfig, useEUIDevPreviewPlatform, useIsMobile_default as useIsMobile, useMarkdown, useMarkdownHeadings, useModal_default as useModal, usePageTracking, useResolvedChartState, useReviewThreadState, useSessionTracking, useTNSlot, useTNTheme, useTheme_default as useTheme, writeAnalyticsQueueStorage, writeConsentStorage };
59384
+ export { Accordion_default as Accordion, AnalyticsContext, AnalyticsProvider, AreaPlot, AsyncComponentWrapper_default as AsyncComponentWrapper, Avatar, Backdrop_default as Backdrop, Badge, BarPlot, BaseChartDataSource, Block_default as Block, BlockGroup_default as BlockGroup, BoxNav_default as BoxNav, BoxNavItem_default as BoxNavItem, Brand, Breadcrumb, BreadcrumbItem_default as BreadcrumbItem, Button_web_default as Button, CHART_COLOR_PALETTE, CHART_DARK_THEME, CHART_DATA_MODES, CHART_DEFAULT_ACTIVE_DOT_RADIUS, CHART_DEFAULT_ANIMATION_DURATION, CHART_DEFAULT_BAR_RADIUS, CHART_DEFAULT_HEIGHT, CHART_DEFAULT_HORIZONTAL_BAR_RADIUS, CHART_DEFAULT_MARGIN, CHART_DEFAULT_MAX_REALTIME_POINTS, CHART_DEFAULT_POLLING_INTERVAL, CHART_DEFAULT_STROKE_WIDTH, CHART_EMPTY_MESSAGE, CHART_ERROR_MESSAGE, CHART_LIGHT_THEME, CHART_LOADING_MESSAGE, CHART_STATUSES, CHART_STATUS_COLORS, CHART_VALUE_FORMATS, Caption, Card_default as Card, CardContent_default as CardContent, CardFooter_default as CardFooter, CardHeader_default as CardHeader, Chapter, Chart, ChartContainer, ChartContext, ChartEmptyState, ChartErrorState, ChartHeader, ChartLegend, ChartLoadingState, ChartPanel, ChartPlotFrame, ChartProvider, ChartToolbar, ChartTooltip, Checkbox, Chip, CloudinaryImage2 as CloudinaryImage, CloudinaryProvider, CloudinaryVideo, Code, CodeMirrorMarkdownEditor_default as CodeMirrorMarkdownEditor, CommentThread_default as CommentThread, ConfigBootstrap_default as ConfigBootstrap, Configurator, ConfiguratorError, Content, ContentArea_default as ContentArea, CookieBanner, CookiePreferencesModal, DEFAULT_ANALYTICS_CONFIG, DEFAULT_COOKIE_CATEGORIES, DEFAULT_REVIEW_THREAD_CONFIG, DataView2 as DataView, DataViewContent, DataViewFilterGroup, DataViewFooter, DataViewHeader, DataViewPageSize, DataViewPagination, DataViewProvider, DataViewSearch, DataViewSidebar, DataViewSort, DataViewTable_default as DataViewTable, DateSelector, DefaultLayout_default as DefaultLayout, Display, DocumentationPanel_default as DocumentationPanel, Drawer, DrawerToggler_default as DrawerToggler, EUIDevLayout_default as EUIDevLayout, EUIProvider, EUI_ANALYTICS_ANONYMOUS_ID_STORAGE_KEY, EUI_ANALYTICS_CONSENT_STORAGE_KEY, EUI_ANALYTICS_QUEUE_STORAGE_KEY, EnvErrorScreen_default as EnvErrorScreen, Flag, Flex, FlexCol_default as FlexCol, FlexRow_default as FlexRow, Footer, FooterBottom, FooterBrand, FooterColumn, FooterColumns, FooterDescription, FooterLink, FooterNav_default as FooterNav, FooterNavGroup_default as FooterNavGroup, FooterNavItem, FooterNavItemContext, FooterNavItemTitle, FooterSocial, FooterSocials, Form, FormResponse, GaugePlot, GenericLayout_default as GenericLayout, GlowWrapper_default as GlowWrapper, Graph, GraphEdge, GraphNode, GraphRenderer, Grid_default as Grid, Header, HeaderNav_default as HeaderNav, HeaderNavGroup_default as HeaderNavGroup, HeaderNavItem, HeaderNavItemContext, HeaderNavItemTitle, HomeLayout_default as HomeLayout, Image2 as Image, ImageInput_web_default as ImageInput, ImageView, InfiniteScrollTrigger_default as InfiniteScrollTrigger, Info, Input, InputFile, InputLabel, InputList, InputListGroup, InputResponse, Label, Layout, Lead, LinePlot, Link, List, ListItem, ListItemElement, ListRoot, MDXMarkdownEditor_default as MDXMarkdownEditor, MDXMarkdownField_default as MDXMarkdownField, MarkdownBlockquote_default as MarkdownBlockquote, MarkdownBreak_default as MarkdownBreak, MarkdownCodeBlock_default as MarkdownCodeBlock, MarkdownContext, MarkdownDetails, MarkdownDocsLayout_default as MarkdownDocsLayout, MarkdownEditor_default as MarkdownEditor, MarkdownEmphasis_default as MarkdownEmphasis, MarkdownField_default as MarkdownField, MarkdownFigcaption, MarkdownFigure, MarkdownHeading_default as MarkdownHeadingComponent, MarkdownImage_default as MarkdownImage, MarkdownInlineCode_default as MarkdownInlineCode, MarkdownLayout_default as MarkdownLayout, MarkdownLink_default as MarkdownLink, MarkdownListItem_default as MarkdownListItem, MarkdownOrderedList, MarkdownParagraph_default as MarkdownParagraph, MarkdownPreviewPane_default as MarkdownPreviewPane, MarkdownProvider_default as MarkdownProvider, MarkdownRenderer_default as MarkdownRenderer, MarkdownSourceEditor_default as MarkdownSourceEditor, MarkdownSplitEditor_default as MarkdownSplitEditor, MarkdownStrikethrough_default as MarkdownStrikethrough, MarkdownStrong_default as MarkdownStrong, MarkdownSummary, MarkdownTOC_default as MarkdownTOC, MarkdownTOCItem_default as MarkdownTOCItem, MarkdownTable_default as MarkdownTable, MarkdownTableBody, MarkdownTableCell, MarkdownTableHead, MarkdownTableHeaderCell, MarkdownTableRow, MarkdownTaskCheckbox_default as MarkdownTaskCheckbox, MarkdownThematicBreak_default as MarkdownThematicBreak, MarkdownToolbar_default as MarkdownToolbar, MarkdownUnorderedList, MarkdownViewer_default as MarkdownViewer, Menu, MenuGroup, MenuItem, MenuItemTitle, Modal_default as Modal, MotionSurface_default as MotionSurface, MultiImageInput_web_default as MultiImageInput, NumericRating, Overline, Paragraph, PiePlot, PollingChartDataSource, PreviewSwitch, PriceTag, ProgressBar, ProgressBarRating, Quote, Radio_default as Radio, RealtimeChartDataSource, ReviewComposer_default as ReviewComposer, ReviewForm_default as ReviewForm, ReviewThread_default as ReviewThread, RouteTab_default as RouteTab, RouteTabs_default as RouteTabs, ScatterPlot, ScrollToTop_default as ScrollToTop, Section, Select, ShapeSwitch, ShowMore_default as ShowMore, Sidebar_default as Sidebar, SidebarLayout_default as SidebarLayout, SidemenuLayout_default as SidemenuLayout, SiteFooter2 as SiteFooter, Skeleton, Slider_default as Slider, Spinner, StarRating, StarRatingDistribution_default as StarRatingDistribution, StarRatingInput_default as StarRatingInput, StatPlot, StaticChartDataSource, Switch_default as Switch, TNContext, TNDropdown, TNDropdownGroup, TNDropdownItem, TNDropdownTitle, TNGroup, TNItem, Table, TableBody, TableCell, TableElement, TableFrame, TableHead, TableHeaderCell, TableRow, Tag, Tags, TextArea, ThemeContext, ThemeProvider, ThemeSelect, ThemeSwitch, TitleBanner, Toast, Tooltip6 as Tooltip, TopNav, Transition, TransitionAccordion_default as TransitionAccordion, TransitionBase_default as TransitionBase, TransitionDropdown_default as TransitionDropdown, TransitionFade_default as TransitionFade, TransitionFadeIn_default as TransitionFadeIn, TransitionScale_default as TransitionScale, TransitionSlide_default as TransitionSlide, Typography, UnderConstructionBanner, ValueBadge, WorldMap, WorldMapCountryTable, YoutubeVideo, YoutubeVideo as YoutubeVideoPlayer, addReplyToCache, addReviewReply, appendReview, applyReactionState, assertAbsoluteURL, buildURL, canDeleteReview, canDeleteReviewReply, canEditReview, canEditReviewReply, canReplyToReview, canReportReview, canReportReviewReply, clearAnalyticsQueueStorage, clearAnonymousIdStorage, clearConsentStorage, cn, createAnalyticsEvent, createAnalyticsId, createConfigurator, createDefaultConsent, createForceLayout, createGridLayout, createHeadingSlug, createTreeLayout, createURLResolver, decrementReplyCount, defaultFormatValue, defaultTiers, ensureAnonymousIdStorage, enumValues, euiToast, extractHeadings, extractTextColorClasses, findReview, formatChartLabel, formatChartValue, formatCommentDate, formatConfigError, formatReviewDate, generateHeadingNumbers, getAllowedOrigins, getBrowserHref, getBrowserOrigin, getBrowserRedirectURL, getConsentStatusFromCategories, getCurrencySymbol, getCurrentFullUrl, getCurrentPath, getCurrentReferrer, getCurrentTitle, getDeviceInfo, getDoNotTrackEnabled, getLayout, getNowISOString, getOptimisticDislikeState, getOptimisticLikeState, getSafeRedirect, getViewport, hasReviewReply, incrementReplyCount, isBrowser, isMatch, isRenderFn, limitRealtimePoints, normalize, normalizeChartData, normalizeChartDataPoint, normalizeMarkdown, normalizeReview, normalizeReviewAuthor, normalizeReviewReply, parseJson, parseJsonRecord, parseUrlMap, prependReview, readAnalyticsQueueStorage, readAnonymousIdStorage, readConsentStorage, registerLayout, removeComment, removeCommentTreeFromCache, removeReview, removeReviewReply, replaceRealtimePoints, replaceReview, replaceReviewReply, resolveAppearanceStyles, resolveChartColor, resolveChartColors, resolveWithGlobal, safeReadStorage, safeRemoveStorage, safeWriteStorage, sanitizeHeading, sendToast, slugify, toConfiguratorError, updateComment, updateReplyCacheComment, updateReview, updateReviewReply, upsertReview, useActiveHeading, useAnalytics, useChartContext, useChartData, useChartPolling, useChartRealtime, useChartSeries, useChartTheme, useClickOutside, useCloudinaryConfig, useCookieConsent, useCurrentTheme_default as useCurrentTheme, useDrawer_default as useDrawer, useEUIConfig, useEUIDevPreviewPlatform, useIsMobile_default as useIsMobile, useMarkdown, useMarkdownHeadings, useModal_default as useModal, usePageTracking, useResolvedChartState, useReviewThreadState, useSessionTracking, useTNSlot, useTNTheme, useTheme_default as useTheme, writeAnalyticsQueueStorage, writeConsentStorage };
59209
59385
  //# sourceMappingURL=index.mjs.map
59210
59386
  //# sourceMappingURL=index.mjs.map