@elementor/editor-controls 4.4.0-1120 → 4.4.0-1121

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
@@ -381,7 +381,7 @@ function ControlActions({ children }) {
381
381
  if (items2.length === 0 || disabled) {
382
382
  return children;
383
383
  }
384
- const menuItems = items2.map(({ MenuItem: MenuItem4, id }) => /* @__PURE__ */ React10.createElement(MenuItem4, { key: id }));
384
+ const menuItems = items2.map(({ MenuItem: MenuItem3, id }) => /* @__PURE__ */ React10.createElement(MenuItem3, { key: id }));
385
385
  return /* @__PURE__ */ React10.createElement(FloatingActionsBar, { actions: menuItems }, children);
386
386
  }
387
387
 
@@ -5376,11 +5376,11 @@ var AspectRatioControl = createControl(({ label }) => {
5376
5376
  });
5377
5377
 
5378
5378
  // src/controls/svg-media-control.tsx
5379
- import * as React88 from "react";
5379
+ import * as React89 from "react";
5380
5380
  import { useEffect as useEffect16, useRef as useRef17, useState as useState19 } from "react";
5381
5381
  import { useCurrentUserCapabilities } from "@elementor/editor-current-user";
5382
5382
  import { iconPropTypeUtil, svgSrcPropTypeUtil, urlPropTypeUtil as urlPropTypeUtil4 } from "@elementor/editor-props";
5383
- import { Box as Box21, Card as Card2, CardOverlay as CardOverlay2, Popover as Popover6, Stack as Stack17, styled as styled11, usePopupState as usePopupState10 } from "@elementor/ui";
5383
+ import { Box as Box21, Card as Card2, CardOverlay as CardOverlay2, Popover as Popover6, Stack as Stack16, styled as styled11, usePopupState as usePopupState9 } from "@elementor/ui";
5384
5384
  import { useWpMediaAttachment as useWpMediaAttachment2, useWpMediaFrame as useWpMediaFrame2 } from "@elementor/wp-media";
5385
5385
  import { __ as __38 } from "@wordpress/i18n";
5386
5386
 
@@ -5460,7 +5460,7 @@ function measureIconLibraryAnchor(container, buttonGroup) {
5460
5460
  }
5461
5461
 
5462
5462
  // src/controls/icon-library/icon-library-popover.tsx
5463
- import * as React85 from "react";
5463
+ import * as React86 from "react";
5464
5464
  import { useMemo as useMemo12, useState as useState18 } from "react";
5465
5465
  import {
5466
5466
  PopoverBody as PopoverBody2,
@@ -5469,9 +5469,9 @@ import {
5469
5469
  SearchField as SearchField2,
5470
5470
  StyledMenuList
5471
5471
  } from "@elementor/editor-ui";
5472
- import { ComponentsIcon } from "@elementor/icons";
5472
+ import { LibraryIcon as LibraryIcon2 } from "@elementor/icons";
5473
5473
  import { useSessionStorage as useSessionStorage2 } from "@elementor/session";
5474
- import { Box as Box18, CircularProgress as CircularProgress3, Divider as Divider5, Link as Link3, Stack as Stack15, styled as styled9, Typography as Typography9 } from "@elementor/ui";
5474
+ import { Box as Box18, CircularProgress as CircularProgress3, Divider as Divider5, Link as Link3, Stack as Stack14, styled as styled9, Typography as Typography8 } from "@elementor/ui";
5475
5475
  import { useDebounceState } from "@elementor/utils";
5476
5476
  import { __ as __35 } from "@wordpress/i18n";
5477
5477
 
@@ -6425,7 +6425,15 @@ var FontAwesomeGlyph = ({ icon, size, color, label }) => {
6425
6425
  // src/controls/icon-library/icon-library-filter.tsx
6426
6426
  import * as React82 from "react";
6427
6427
  import { useId as useId4 } from "react";
6428
- import { CheckIcon, FilterIcon as FilterIcon2, LibraryIcon, ListIcon, StarFilledIcon, StarIcon } from "@elementor/icons";
6428
+ import {
6429
+ CheckIcon,
6430
+ FilterIcon as FilterIcon2,
6431
+ LibraryIcon,
6432
+ MenuIcon,
6433
+ RosetteDiscountCheckIcon,
6434
+ StarFilledIcon,
6435
+ StarIcon
6436
+ } from "@elementor/icons";
6429
6437
  import {
6430
6438
  bindMenu as bindMenu3,
6431
6439
  bindToggle as bindToggle2,
@@ -6448,21 +6456,22 @@ var ICON_LIBRARY_ACTION_TOOLTIP_ENTER_DELAY = 0;
6448
6456
  // src/controls/icon-library/icon-library-filter.tsx
6449
6457
  var FILTER_MENU_WIDTH = 280;
6450
6458
  var FILTER_INDICATOR_SIZE = 6;
6451
- var FILTER_INDICATOR_OFFSET = 4;
6459
+ var FILTER_INDICATOR_CORNER_OFFSET = -(FILTER_INDICATOR_SIZE / 2);
6452
6460
  var FILTER_TYPE_ALL = "all";
6453
6461
  var FILTER_TYPE_GROUP = "group";
6454
6462
  var FILTER_TYPE_ITEM = "item";
6455
6463
  var FILTER_ICONS = {
6456
- list: ListIcon,
6464
+ list: MenuIcon,
6457
6465
  star: StarIcon,
6458
6466
  "star-filled": StarFilledIcon,
6459
- library: LibraryIcon
6467
+ library: LibraryIcon,
6468
+ rosette: RosetteDiscountCheckIcon
6460
6469
  };
6461
6470
  var DEFAULT_FILTER = [
6462
6471
  { type: FILTER_TYPE_ALL, label: "All icons", icon: "list" },
6463
6472
  { type: FILTER_TYPE_ITEM, value: "fa-regular", label: "Font Awesome - Regular", icon: "star" },
6464
6473
  { type: FILTER_TYPE_ITEM, value: "fa-solid", label: "Font Awesome - Solid", icon: "star-filled" },
6465
- { type: FILTER_TYPE_ITEM, value: "fa-brands", label: "Font Awesome - Brands", icon: "library" }
6474
+ { type: FILTER_TYPE_ITEM, value: "fa-brands", label: "Font Awesome - Brands", icon: "rosette" }
6466
6475
  ];
6467
6476
  var IconLibraryFilter = ({ value, onChange }) => {
6468
6477
  const popupId = useId4();
@@ -6494,7 +6503,7 @@ var IconLibraryFilter = ({ value, onChange }) => {
6494
6503
  value: "filter",
6495
6504
  size: "tiny",
6496
6505
  selected: popupState.isOpen,
6497
- sx: { position: "relative", flexShrink: 0 },
6506
+ sx: { position: "relative", flexShrink: 0, overflow: "visible" },
6498
6507
  ...bindToggle2(popupState),
6499
6508
  "aria-expanded": popupState.isOpen
6500
6509
  },
@@ -6506,12 +6515,12 @@ var IconLibraryFilter = ({ value, onChange }) => {
6506
6515
  "aria-hidden": "true",
6507
6516
  sx: {
6508
6517
  position: "absolute",
6509
- insetBlockStart: FILTER_INDICATOR_OFFSET,
6510
- insetInlineEnd: FILTER_INDICATOR_OFFSET,
6518
+ insetBlockStart: FILTER_INDICATOR_CORNER_OFFSET,
6519
+ insetInlineEnd: FILTER_INDICATOR_CORNER_OFFSET,
6511
6520
  width: FILTER_INDICATOR_SIZE,
6512
6521
  height: FILTER_INDICATOR_SIZE,
6513
6522
  borderRadius: "50%",
6514
- bgcolor: "secondary.main"
6523
+ bgcolor: "text.primary"
6515
6524
  }
6516
6525
  }
6517
6526
  ) : null
@@ -6619,8 +6628,9 @@ var ICON_LIBRARY_GRID_MIN_CELL_SIZE = 52;
6619
6628
  var ICON_LIBRARY_GRID_TOOLTIP_ENTER_DELAY = 1e3;
6620
6629
  var ICON_GLYPH_SIZE = 20;
6621
6630
  var GRID_OVERSCAN = 6;
6622
- var GRID_COLUMN_GAP = 1;
6623
- var GRID_HORIZONTAL_PADDING = 1;
6631
+ var GRID_CELL_GAP = 1;
6632
+ var GRID_HORIZONTAL_PADDING = 2;
6633
+ var GRID_VERTICAL_PADDING = 1.5;
6624
6634
  var HOME_END_KEYS = /* @__PURE__ */ new Set(["Home", "End"]);
6625
6635
  var getGridMetrics = (containerWidth, columnGap, inlinePadding) => {
6626
6636
  const availableWidth = containerWidth - inlinePadding;
@@ -6655,10 +6665,15 @@ var IconLibraryGrid = ({
6655
6665
  const [focusedIndex, setFocusedIndex] = useState17(selectedIndex >= 0 ? selectedIndex : 0);
6656
6666
  const [{ columnCount, cellSize }, setGridMetrics] = useState17(() => getGridMetrics(0, 0, 0));
6657
6667
  const rowCount = Math.ceil(items2.length / columnCount);
6668
+ const cellGap = Number.parseFloat(theme.spacing(GRID_CELL_GAP));
6669
+ const verticalPadding = Number.parseFloat(theme.spacing(GRID_VERTICAL_PADDING));
6658
6670
  const virtualizer = useVirtualizer({
6659
6671
  count: rowCount,
6660
6672
  getScrollElement: () => containerRef.current,
6661
6673
  estimateSize: () => cellSize,
6674
+ gap: cellGap,
6675
+ paddingStart: verticalPadding,
6676
+ paddingEnd: verticalPadding,
6662
6677
  overscan: GRID_OVERSCAN
6663
6678
  });
6664
6679
  const focusedItem = items2[focusedIndex];
@@ -6674,9 +6689,10 @@ var IconLibraryGrid = ({
6674
6689
  return Math.min(current, items2.length - 1);
6675
6690
  });
6676
6691
  if (selectedIndex >= 0) {
6677
- virtualizer.scrollToIndex(Math.floor(selectedIndex / columnCount));
6692
+ virtualizer.measure();
6693
+ virtualizer.scrollToIndex(Math.floor(selectedIndex / columnCount), { align: "center" });
6678
6694
  }
6679
- }, [columnCount, items2, selectedIndex, selectedValue]);
6695
+ }, [cellSize, columnCount, items2, selectedIndex, selectedValue]);
6680
6696
  useLayoutEffect3(() => {
6681
6697
  if (!shouldRestoreFocusRef.current || !focusedItem) {
6682
6698
  return;
@@ -6694,9 +6710,8 @@ var IconLibraryGrid = ({
6694
6710
  return;
6695
6711
  }
6696
6712
  const measureGrid = () => {
6697
- const columnGap = Number.parseFloat(theme.spacing(GRID_COLUMN_GAP));
6698
6713
  const inlinePadding = Number.parseFloat(theme.spacing(GRID_HORIZONTAL_PADDING)) * 2;
6699
- setGridMetrics(getGridMetrics(container.clientWidth, columnGap, inlinePadding));
6714
+ setGridMetrics(getGridMetrics(container.clientWidth, cellGap, inlinePadding));
6700
6715
  };
6701
6716
  measureGrid();
6702
6717
  const resizeObserver = new ResizeObserver(measureGrid);
@@ -6704,7 +6719,7 @@ var IconLibraryGrid = ({
6704
6719
  return () => {
6705
6720
  resizeObserver.disconnect();
6706
6721
  };
6707
- }, [theme, items2.length]);
6722
+ }, [theme, cellGap, items2.length]);
6708
6723
  useLayoutEffect3(() => {
6709
6724
  virtualizer.measure();
6710
6725
  }, [cellSize, columnCount]);
@@ -6801,7 +6816,7 @@ var IconLibraryGrid = ({
6801
6816
  transform: `translateY(${virtualRow.start}px)`,
6802
6817
  display: "grid",
6803
6818
  gridTemplateColumns: `repeat(${columnCount}, minmax(0, 1fr))`,
6804
- gap: GRID_COLUMN_GAP,
6819
+ gap: GRID_CELL_GAP,
6805
6820
  px: GRID_HORIZONTAL_PADDING,
6806
6821
  boxSizing: "border-box"
6807
6822
  }
@@ -6902,31 +6917,17 @@ var IconLibraryGrid = ({
6902
6917
 
6903
6918
  // src/controls/icon-library/icon-library-view-toggle.tsx
6904
6919
  import * as React84 from "react";
6905
- import { useId as useId5 } from "react";
6906
- import { CheckIcon as CheckIcon2, ListIcon as ListIcon2, WidgetsIcon } from "@elementor/icons";
6907
- import {
6908
- bindMenu as bindMenu4,
6909
- bindToggle as bindToggle3,
6910
- Menu as Menu5,
6911
- MenuItem as MenuItem3,
6912
- Stack as Stack14,
6913
- ToggleButton as ToggleButton3,
6914
- Tooltip as Tooltip10,
6915
- Typography as Typography8,
6916
- usePopupState as usePopupState9
6917
- } from "@elementor/ui";
6920
+ import { ListIcon, WidgetsIcon } from "@elementor/icons";
6921
+ import { IconButton as IconButton8, Tooltip as Tooltip10 } from "@elementor/ui";
6918
6922
  import { __ as __34 } from "@wordpress/i18n";
6919
- var VIEW_MENU_WIDTH = 122;
6923
+ var HEADER_ACTION_GAP = 0.5;
6920
6924
  var IconLibraryViewToggle = ({ value, onChange }) => {
6921
- const popupId = useId5();
6922
- const popupState = usePopupState9({
6923
- variant: "popover",
6924
- popupId
6925
- });
6926
6925
  const isGrid = value === "grid";
6927
- const ViewIcon = isGrid ? WidgetsIcon : ListIcon2;
6926
+ const nextView = isGrid ? "list" : "grid";
6927
+ const ViewIcon = isGrid ? WidgetsIcon : ListIcon;
6928
6928
  const viewButtonLabel = isGrid ? __34("Grid view", "elementor") : __34("List view", "elementor");
6929
- return /* @__PURE__ */ React84.createElement(React84.Fragment, null, /* @__PURE__ */ React84.createElement(
6929
+ const viewButtonAction = isGrid ? __34("Switch to list view", "elementor") : __34("Switch to grid view", "elementor");
6930
+ return /* @__PURE__ */ React84.createElement(
6930
6931
  Tooltip10,
6931
6932
  {
6932
6933
  title: viewButtonLabel,
@@ -6936,54 +6937,25 @@ var IconLibraryViewToggle = ({ value, onChange }) => {
6936
6937
  disableInteractive: true
6937
6938
  },
6938
6939
  /* @__PURE__ */ React84.createElement(
6939
- ToggleButton3,
6940
+ IconButton8,
6940
6941
  {
6941
- "aria-label": viewButtonLabel,
6942
- value: "view",
6942
+ "aria-label": viewButtonAction,
6943
6943
  size: "tiny",
6944
- selected: popupState.isOpen,
6945
- sx: { flexShrink: 0 },
6946
- ...bindToggle3(popupState),
6947
- "aria-expanded": popupState.isOpen
6944
+ onClick: () => onChange(nextView),
6945
+ sx: { flexShrink: 0, mr: HEADER_ACTION_GAP }
6948
6946
  },
6949
6947
  /* @__PURE__ */ React84.createElement(ViewIcon, { fontSize: "tiny" })
6950
6948
  )
6951
- ), /* @__PURE__ */ React84.createElement(
6952
- Menu5,
6953
- {
6954
- ...bindMenu4(popupState),
6955
- MenuListProps: {
6956
- dense: true,
6957
- autoFocusItem: true,
6958
- "aria-label": __34("View", "elementor")
6959
- },
6960
- sx: { "& .MuiPaper-root": { minWidth: VIEW_MENU_WIDTH } }
6961
- },
6962
- /* @__PURE__ */ React84.createElement(
6963
- ViewMenuItem,
6964
- {
6965
- label: __34("List", "elementor"),
6966
- selected: value === "list",
6967
- onClick: () => {
6968
- onChange("list");
6969
- popupState.close();
6970
- }
6971
- }
6972
- ),
6973
- /* @__PURE__ */ React84.createElement(
6974
- ViewMenuItem,
6975
- {
6976
- label: __34("Grid", "elementor"),
6977
- selected: value === "grid",
6978
- onClick: () => {
6979
- onChange("grid");
6980
- popupState.close();
6981
- }
6982
- }
6983
- )
6984
- ));
6949
+ );
6985
6950
  };
6986
- var ViewMenuItem = ({ label, selected, onClick }) => /* @__PURE__ */ React84.createElement(MenuItem3, { role: "menuitemradio", "aria-checked": selected, selected, onClick }, /* @__PURE__ */ React84.createElement(Stack14, { direction: "row", alignItems: "center", gap: 1, width: "100%" }, /* @__PURE__ */ React84.createElement(Typography8, { variant: "caption", sx: { flex: 1 } }, label), selected ? /* @__PURE__ */ React84.createElement(CheckIcon2, { fontSize: "tiny", "aria-hidden": "true" }) : null));
6951
+
6952
+ // src/controls/icon-library/svg-element-icon.tsx
6953
+ import * as React85 from "react";
6954
+ import { SvgIcon } from "@elementor/ui";
6955
+ var SVG_ELEMENT_ICON_PATH = "M502 772c10 0 19-6 24-14l201-351c4-9 4-19 0-27-5-9-14-14-24-14h-401c-10 0-19 5-24 14-4 8-5 18 0 27l201 351c5 8 14 14 23 14z m0-82l-154-270h309l-154 270z m-323-471c-6 0-12-2-16-7-4-4-7-10-7-16v-201c0-6 3-12 7-16 4-5 10-7 16-7h201c6 0 12 2 16 7 5 4 7 10 7 16v201c0 6-2 12-7 16-4 5-10 7-16 7h-201z m-54 32c14 14 34 22 54 22h201c20 0 40-8 55-22 14-15 22-35 22-55v-201c0-20-8-40-22-54-15-15-35-23-55-23h-201c-20 0-40 8-54 23-15 14-23 34-23 54v201c0 20 8 40 23 55z m480-30c34 33 79 52 126 52s92-19 125-52c34-33 52-78 52-125s-18-93-52-126c-33-33-78-52-125-52s-92 19-126 52c-33 33-52 78-52 126s19 92 52 125z m126-2c-33 0-64-13-87-36-24-23-37-55-37-87s13-65 37-88c23-23 54-36 87-36s64 13 87 36c23 23 36 55 36 88s-13 64-36 87c-23 23-54 36-87 36z";
6956
+ var SvgElementIcon = React85.forwardRef(
6957
+ (props, ref) => /* @__PURE__ */ React85.createElement(SvgIcon, { viewBox: "0 0 1000 1000", ...props, ref }, /* @__PURE__ */ React85.createElement("g", { transform: "translate(0, 850) scale(1, -1)" }, /* @__PURE__ */ React85.createElement("path", { d: SVG_ELEMENT_ICON_PATH })))
6958
+ );
6987
6959
 
6988
6960
  // src/controls/icon-library/use-font-awesome-7-catalog.ts
6989
6961
  import { useQuery as useQuery3 } from "@elementor/query";
@@ -6999,20 +6971,24 @@ function useFontAwesome7Catalog(enabled) {
6999
6971
 
7000
6972
  // src/controls/icon-library/icon-library-popover.tsx
7001
6973
  var ICON_LIBRARY_POPOVER_WIDTH = 300;
7002
- var ICON_LIBRARY_ROW_HEIGHT = 48;
7003
6974
  var ICON_LIBRARY_SEARCH_DEBOUNCE_DELAY = 300;
7004
6975
  var ICON_LIBRARY_VIEW_STORAGE_KEY = "icon-library-view";
7005
6976
  var ICON_LIBRARY_VIEW_STORAGE_PREFIX = "editor-controls";
7006
- var DEFAULT_ICON_LIBRARY_VIEW = "list";
6977
+ var DEFAULT_ICON_LIBRARY_VIEW = "grid";
7007
6978
  var isIconLibraryView = (value) => {
7008
6979
  return value === "grid" || value === "list";
7009
6980
  };
7010
6981
  var ICON_TILE_SIZE = 40;
6982
+ var ICON_LIBRARY_ROW_VERTICAL_PADDING = 0.5;
6983
+ var ICON_LIBRARY_ROW_VERTICAL_PADDING_PX = 4;
6984
+ var ICON_LIBRARY_ROW_HEIGHT = ICON_TILE_SIZE + ICON_LIBRARY_ROW_VERTICAL_PADDING_PX * 2;
7011
6985
  var ICON_GLYPH_SIZE2 = 20;
7012
- var ICON_LIBRARY_INLINE_SPACING = 1;
6986
+ var ICON_LIBRARY_INLINE_SPACING = 2;
6987
+ var ICON_LIBRARY_SEARCH_PADDING_BOTTOM = 2;
6988
+ var ICON_LIBRARY_TITLE_SIZE = "14px";
7013
6989
  var CompactIconLibraryMenuList = styled9(StyledMenuList)(({ theme }) => ({
7014
6990
  '& > [role="option"]': {
7015
- padding: theme.spacing(0.75, ICON_LIBRARY_INLINE_SPACING)
6991
+ padding: theme.spacing(ICON_LIBRARY_ROW_VERTICAL_PADDING, ICON_LIBRARY_INLINE_SPACING)
7016
6992
  }
7017
6993
  }));
7018
6994
  var IconLibraryPopover = ({
@@ -7065,25 +7041,39 @@ var IconLibraryPopover = ({
7065
7041
  const handleClearSearch = () => {
7066
7042
  setSearchValue("");
7067
7043
  };
7068
- return /* @__PURE__ */ React85.createElement(PopoverBody2, { width, fillWidth: true, id: "icon-library" }, /* @__PURE__ */ React85.createElement(
7044
+ return /* @__PURE__ */ React86.createElement(PopoverBody2, { width, fillWidth: true, id: "icon-library" }, /* @__PURE__ */ React86.createElement(
7069
7045
  PopoverHeader4,
7070
7046
  {
7071
7047
  title: __35("Icon library", "elementor"),
7072
7048
  onClose: handleClose,
7073
- icon: /* @__PURE__ */ React85.createElement(ComponentsIcon, { fontSize: "tiny" }),
7074
- actions: [/* @__PURE__ */ React85.createElement(IconLibraryViewToggle, { key: "view", value: view, onChange: setStoredView })],
7075
- sx: { pl: ICON_LIBRARY_INLINE_SPACING, pr: 0.5 }
7049
+ icon: /* @__PURE__ */ React86.createElement(LibraryIcon2, { fontSize: "tiny" }),
7050
+ actions: [/* @__PURE__ */ React86.createElement(IconLibraryViewToggle, { key: "view", value: view, onChange: setStoredView })],
7051
+ sx: {
7052
+ pl: ICON_LIBRARY_INLINE_SPACING,
7053
+ pr: 1,
7054
+ "& .MuiTypography-subtitle2": { fontSize: ICON_LIBRARY_TITLE_SIZE }
7055
+ }
7076
7056
  }
7077
- ), /* @__PURE__ */ React85.createElement(Stack15, { direction: "row", alignItems: "center", gap: 1, sx: { px: ICON_LIBRARY_INLINE_SPACING, pb: 1 } }, /* @__PURE__ */ React85.createElement(
7078
- SearchField2,
7057
+ ), /* @__PURE__ */ React86.createElement(
7058
+ Stack14,
7079
7059
  {
7080
- value: searchInputValue,
7081
- onSearch: handleSearchChange,
7082
- placeholder: __35("Search", "elementor"),
7083
- id: "icon-library-search",
7084
- sx: { flex: 1, px: 0, pb: 0 }
7085
- }
7086
- ), /* @__PURE__ */ React85.createElement(IconLibraryFilter, { value: activeLibraries, onChange: setActiveLibraries })), /* @__PURE__ */ React85.createElement(Divider5, null), /* @__PURE__ */ React85.createElement(Box18, { sx: { flex: 1, overflow: "hidden", minHeight: 0, minWidth: 0 } }, /* @__PURE__ */ React85.createElement(
7060
+ direction: "row",
7061
+ alignItems: "center",
7062
+ gap: 1,
7063
+ sx: { px: ICON_LIBRARY_INLINE_SPACING, pb: ICON_LIBRARY_SEARCH_PADDING_BOTTOM }
7064
+ },
7065
+ /* @__PURE__ */ React86.createElement(
7066
+ SearchField2,
7067
+ {
7068
+ value: searchInputValue,
7069
+ onSearch: handleSearchChange,
7070
+ placeholder: __35("Search", "elementor"),
7071
+ id: "icon-library-search",
7072
+ sx: { flex: 1, px: 0, pb: 0 }
7073
+ }
7074
+ ),
7075
+ /* @__PURE__ */ React86.createElement(IconLibraryFilter, { value: activeLibraries, onChange: setActiveLibraries })
7076
+ ), /* @__PURE__ */ React86.createElement(Divider5, null), /* @__PURE__ */ React86.createElement(Box18, { sx: { flex: 1, overflow: "hidden", minHeight: 0, minWidth: 0 } }, /* @__PURE__ */ React86.createElement(
7087
7077
  IconLibraryContent,
7088
7078
  {
7089
7079
  isLoading,
@@ -7110,9 +7100,9 @@ var IconLibraryContent = ({
7110
7100
  onClearSearch
7111
7101
  }) => {
7112
7102
  if (isLoading) {
7113
- return /* @__PURE__ */ React85.createElement(IconLibraryLoadingState, null);
7103
+ return /* @__PURE__ */ React86.createElement(IconLibraryLoadingState, null);
7114
7104
  }
7115
- const emptyState = /* @__PURE__ */ React85.createElement(
7105
+ const emptyState = /* @__PURE__ */ React86.createElement(
7116
7106
  IconLibraryEmptyState,
7117
7107
  {
7118
7108
  searchValue,
@@ -7121,7 +7111,7 @@ var IconLibraryContent = ({
7121
7111
  }
7122
7112
  );
7123
7113
  if (view === "grid") {
7124
- return /* @__PURE__ */ React85.createElement(Box18, { sx: { width: "100%", height: "100%", minWidth: 0, minHeight: 0 } }, /* @__PURE__ */ React85.createElement(
7114
+ return /* @__PURE__ */ React86.createElement(Box18, { sx: { width: "100%", height: "100%", minWidth: 0, minHeight: 0 } }, /* @__PURE__ */ React86.createElement(
7125
7115
  IconLibraryGrid,
7126
7116
  {
7127
7117
  items: items2,
@@ -7132,7 +7122,7 @@ var IconLibraryContent = ({
7132
7122
  }
7133
7123
  ));
7134
7124
  }
7135
- return /* @__PURE__ */ React85.createElement(
7125
+ return /* @__PURE__ */ React86.createElement(
7136
7126
  PopoverMenuList2,
7137
7127
  {
7138
7128
  items: items2,
@@ -7147,20 +7137,20 @@ var IconLibraryContent = ({
7147
7137
  }
7148
7138
  );
7149
7139
  };
7150
- var IconLibraryLoadingState = () => /* @__PURE__ */ React85.createElement(Stack15, { alignItems: "center", justifyContent: "center", height: "100%" }, /* @__PURE__ */ React85.createElement(CircularProgress3, { role: "progressbar", size: 24 }));
7140
+ var IconLibraryLoadingState = () => /* @__PURE__ */ React86.createElement(Stack14, { alignItems: "center", justifyContent: "center", height: "100%" }, /* @__PURE__ */ React86.createElement(CircularProgress3, { role: "progressbar", size: 24 }));
7151
7141
  var IconLibraryEmptyState = ({
7152
7142
  searchValue,
7153
7143
  isCatalogAvailable,
7154
7144
  onClear
7155
7145
  }) => {
7156
7146
  if (!isCatalogAvailable) {
7157
- return /* @__PURE__ */ React85.createElement(CatalogUnavailable, null);
7147
+ return /* @__PURE__ */ React86.createElement(CatalogUnavailable, null);
7158
7148
  }
7159
- return /* @__PURE__ */ React85.createElement(NoResults, { searchValue, onClear });
7149
+ return /* @__PURE__ */ React86.createElement(NoResults, { searchValue, onClear });
7160
7150
  };
7161
7151
  var IconLibraryRow = (item) => {
7162
7152
  const icon = item;
7163
- return /* @__PURE__ */ React85.createElement(Stack15, { direction: "row", alignItems: "center", gap: 1, sx: { width: "100%" } }, /* @__PURE__ */ React85.createElement(
7153
+ return /* @__PURE__ */ React86.createElement(Stack14, { direction: "row", alignItems: "center", gap: 1, sx: { width: "100%" } }, /* @__PURE__ */ React86.createElement(
7164
7154
  Box18,
7165
7155
  {
7166
7156
  sx: {
@@ -7176,11 +7166,11 @@ var IconLibraryRow = (item) => {
7176
7166
  flexShrink: 0
7177
7167
  }
7178
7168
  },
7179
- /* @__PURE__ */ React85.createElement(FontAwesomeGlyph, { icon, size: ICON_GLYPH_SIZE2, color: "currentColor" })
7180
- ), /* @__PURE__ */ React85.createElement(Typography9, { variant: "caption", color: "text.primary", noWrap: true }, icon.label));
7169
+ /* @__PURE__ */ React86.createElement(FontAwesomeGlyph, { icon, size: ICON_GLYPH_SIZE2, color: "currentColor" })
7170
+ ), /* @__PURE__ */ React86.createElement(Typography8, { variant: "caption", color: "text.primary", noWrap: true }, icon.label));
7181
7171
  };
7182
- var CatalogUnavailable = () => /* @__PURE__ */ React85.createElement(Stack15, { alignItems: "center", justifyContent: "center", height: "100%", p: 2.5, gap: 1.5 }, /* @__PURE__ */ React85.createElement(ComponentsIcon, { fontSize: "large" }), /* @__PURE__ */ React85.createElement(Typography9, { align: "center", variant: "subtitle2", color: "text.secondary" }, __35("Icons couldn't be loaded.", "elementor")));
7183
- var NoResults = ({ searchValue, onClear }) => /* @__PURE__ */ React85.createElement(Stack15, { alignItems: "center", justifyContent: "center", height: "100%", p: 2.5, gap: 1.5 }, /* @__PURE__ */ React85.createElement(ComponentsIcon, { fontSize: "large" }), /* @__PURE__ */ React85.createElement(Typography9, { align: "center", variant: "subtitle2", color: "text.secondary" }, __35("Sorry, nothing matched", "elementor")), searchValue ? /* @__PURE__ */ React85.createElement(React85.Fragment, null, /* @__PURE__ */ React85.createElement(Typography9, { align: "center", variant: "subtitle2", color: "text.secondary", noWrap: true, sx: { maxWidth: "80%" } }, "\u201C", searchValue, "\u201D."), /* @__PURE__ */ React85.createElement(Link3, { color: "secondary", variant: "caption", component: "button", type: "button", onClick: onClear }, __35("Clear & try again", "elementor"))) : null);
7172
+ var CatalogUnavailable = () => /* @__PURE__ */ React86.createElement(Stack14, { alignItems: "center", justifyContent: "center", height: "100%", p: 2.5, gap: 1.5 }, /* @__PURE__ */ React86.createElement(SvgElementIcon, { fontSize: "large" }), /* @__PURE__ */ React86.createElement(Typography8, { align: "center", variant: "subtitle2", color: "text.secondary" }, __35("Icons couldn't be loaded.", "elementor")));
7173
+ var NoResults = ({ searchValue, onClear }) => /* @__PURE__ */ React86.createElement(Stack14, { alignItems: "center", justifyContent: "center", height: "100%", p: 2.5, gap: 1.5 }, /* @__PURE__ */ React86.createElement(SvgElementIcon, { fontSize: "large" }), /* @__PURE__ */ React86.createElement(Typography8, { align: "center", variant: "subtitle2", color: "text.secondary" }, __35("Sorry, nothing matched", "elementor")), searchValue ? /* @__PURE__ */ React86.createElement(React86.Fragment, null, /* @__PURE__ */ React86.createElement(Typography8, { align: "center", variant: "subtitle2", color: "text.secondary", noWrap: true, sx: { maxWidth: "80%" } }, "\u201C", searchValue, "\u201D."), /* @__PURE__ */ React86.createElement(Link3, { color: "secondary", variant: "caption", component: "button", type: "button", onClick: onClear }, __35("Clear & try again", "elementor"))) : null);
7184
7174
  var createIconLibraryItems = (icons, searchValue, libraries) => filterFontAwesome7Icons(icons, searchValue, libraries).map((icon) => ({
7185
7175
  ...icon,
7186
7176
  type: "item",
@@ -7188,32 +7178,39 @@ var createIconLibraryItems = (icons, searchValue, libraries) => filterFontAwesom
7188
7178
  }));
7189
7179
 
7190
7180
  // src/controls/svg-media-overlay.tsx
7191
- import * as React86 from "react";
7192
- import { LibraryIcon as LibraryIcon2, UploadIcon as UploadIcon2 } from "@elementor/icons";
7193
- import { Box as Box19, Button as Button5, Stack as Stack16, styled as styled10, ThemeProvider, Typography as Typography10 } from "@elementor/ui";
7181
+ import * as React87 from "react";
7182
+ import { LibraryIcon as LibraryIcon3, UploadIcon as UploadIcon2 } from "@elementor/icons";
7183
+ import { Box as Box19, Button as Button5, Stack as Stack15, styled as styled10, ThemeProvider, Typography as Typography9 } from "@elementor/ui";
7194
7184
  import { __ as __36 } from "@wordpress/i18n";
7195
7185
  var SVG_MEDIA_CONTROL_CONTAINER_TEST_ID = "svg-media-control-container";
7196
7186
  var SVG_MEDIA_ACTION_GROUP_TEST_ID = "svg-media-action-group";
7197
- var MEDIA_ACTION_PADDING_Y = 0.75;
7198
- var MEDIA_ACTION_PADDING_X = 2;
7187
+ var SELECT_AREA_WIDTH = 72;
7188
+ var UPLOAD_AREA_WIDTH = 48;
7189
+ var SPLIT_BUTTON_MIN_HEIGHT = 32;
7190
+ var SPLIT_BUTTON_CORNER_RADIUS = "8px";
7191
+ var SPLIT_BUTTON_FONT_SIZE = "14px";
7199
7192
  var ICON_LIBRARY_PADDING = 0.625;
7200
7193
  var svgButtonSx = {
7201
- px: MEDIA_ACTION_PADDING_X,
7202
- py: MEDIA_ACTION_PADDING_Y
7203
- };
7204
- var MediaActionGroup = styled10(Stack16)(({ theme }) => ({
7194
+ minWidth: 0,
7195
+ minHeight: SPLIT_BUTTON_MIN_HEIGHT,
7196
+ px: 2,
7197
+ fontSize: SPLIT_BUTTON_FONT_SIZE,
7198
+ fontWeight: 500,
7199
+ lineHeight: 1
7200
+ };
7201
+ var MediaActionGroup = styled10(Stack15)({
7205
7202
  display: "inline-flex",
7206
7203
  flexDirection: "row",
7207
7204
  alignItems: "stretch",
7208
7205
  border: "1px solid currentColor",
7209
- borderRadius: theme.shape.borderRadius,
7206
+ borderRadius: SPLIT_BUTTON_CORNER_RADIUS,
7210
7207
  overflow: "hidden",
7211
7208
  "& .MuiButton-root": {
7212
7209
  border: "none",
7213
7210
  borderRadius: 0,
7214
7211
  lineHeight: 1
7215
7212
  }
7216
- }));
7213
+ });
7217
7214
  var SvgMediaOverlay = ({
7218
7215
  isAdmin,
7219
7216
  showIconLibrary,
@@ -7223,7 +7220,7 @@ var SvgMediaOverlay = ({
7223
7220
  onOpenIconLibrary,
7224
7221
  infotipTitle,
7225
7222
  infotipDescription
7226
- }) => /* @__PURE__ */ React86.createElement(Stack16, { alignItems: "center", gap: 1 }, /* @__PURE__ */ React86.createElement(MediaActionGroup, { ref: buttonGroupRef, direction: "row", "data-testid": SVG_MEDIA_ACTION_GROUP_TEST_ID }, /* @__PURE__ */ React86.createElement(
7223
+ }) => /* @__PURE__ */ React87.createElement(Stack15, { alignItems: "center", gap: 1 }, /* @__PURE__ */ React87.createElement(MediaActionGroup, { ref: buttonGroupRef, direction: "row", "data-testid": SVG_MEDIA_ACTION_GROUP_TEST_ID }, /* @__PURE__ */ React87.createElement(
7227
7224
  Button5,
7228
7225
  {
7229
7226
  size: "tiny",
@@ -7231,10 +7228,10 @@ var SvgMediaOverlay = ({
7231
7228
  variant: "text",
7232
7229
  onClick: onSelectSvg,
7233
7230
  "aria-label": __36("Select", "elementor"),
7234
- sx: svgButtonSx
7231
+ sx: { ...svgButtonSx, minWidth: SELECT_AREA_WIDTH }
7235
7232
  },
7236
7233
  __36("Select", "elementor")
7237
- ), /* @__PURE__ */ React86.createElement(
7234
+ ), /* @__PURE__ */ React87.createElement(
7238
7235
  Box19,
7239
7236
  {
7240
7237
  sx: {
@@ -7244,21 +7241,21 @@ var SvgMediaOverlay = ({
7244
7241
  flexShrink: 0
7245
7242
  }
7246
7243
  }
7247
- ), /* @__PURE__ */ React86.createElement(
7244
+ ), /* @__PURE__ */ React87.createElement(
7248
7245
  ConditionalControlInfotip,
7249
7246
  {
7250
7247
  title: infotipTitle,
7251
7248
  description: infotipDescription,
7252
7249
  isEnabled: !isAdmin
7253
7250
  },
7254
- /* @__PURE__ */ React86.createElement(Box19, { component: "span", sx: { display: "inline-flex" } }, /* @__PURE__ */ React86.createElement(UploadControl, { isAdmin, onUpload }))
7255
- )), showIconLibrary ? /* @__PURE__ */ React86.createElement(
7251
+ /* @__PURE__ */ React87.createElement(Box19, { component: "span", sx: { display: "flex", width: UPLOAD_AREA_WIDTH } }, /* @__PURE__ */ React87.createElement(UploadControl, { isAdmin, onUpload }))
7252
+ )), showIconLibrary ? /* @__PURE__ */ React87.createElement(
7256
7253
  Button5,
7257
7254
  {
7258
7255
  size: "tiny",
7259
7256
  color: "inherit",
7260
7257
  variant: "text",
7261
- startIcon: /* @__PURE__ */ React86.createElement(LibraryIcon2, { sx: { height: "18px", width: "16px" } }),
7258
+ startIcon: /* @__PURE__ */ React87.createElement(LibraryIcon3, { sx: { height: "18px", width: "16px" } }),
7262
7259
  "aria-label": __36("Icon library", "elementor"),
7263
7260
  onClick: onOpenIconLibrary,
7264
7261
  sx: {
@@ -7267,22 +7264,22 @@ var SvgMediaOverlay = ({
7267
7264
  ".MuiButton-icon": { ml: 0 }
7268
7265
  }
7269
7266
  },
7270
- /* @__PURE__ */ React86.createElement(Typography10, null, __36("Icon library", "elementor"))
7267
+ /* @__PURE__ */ React87.createElement(Typography9, null, __36("Icon library", "elementor"))
7271
7268
  ) : null);
7272
7269
  var UploadControl = ({ isAdmin, onUpload }) => {
7273
7270
  if (isAdmin) {
7274
- return /* @__PURE__ */ React86.createElement(UploadButton, { sx: svgButtonSx, onClick: onUpload });
7271
+ return /* @__PURE__ */ React87.createElement(UploadButton, { sx: svgButtonSx, onClick: onUpload });
7275
7272
  }
7276
- return /* @__PURE__ */ React86.createElement(ThemeProvider, { colorScheme: "dark" }, /* @__PURE__ */ React86.createElement(UploadButton, { disabled: true, sx: svgButtonSx }));
7273
+ return /* @__PURE__ */ React87.createElement(ThemeProvider, { colorScheme: "dark" }, /* @__PURE__ */ React87.createElement(UploadButton, { disabled: true, sx: svgButtonSx }));
7277
7274
  };
7278
7275
  var UploadButton = ({
7279
7276
  disabled = false,
7280
7277
  sx,
7281
7278
  onClick
7282
- }) => /* @__PURE__ */ React86.createElement(
7279
+ }) => /* @__PURE__ */ React87.createElement(
7283
7280
  Button5,
7284
7281
  {
7285
- sx,
7282
+ sx: { ...sx, width: "100%" },
7286
7283
  size: "tiny",
7287
7284
  color: "inherit",
7288
7285
  variant: "text",
@@ -7290,11 +7287,11 @@ var UploadButton = ({
7290
7287
  onClick,
7291
7288
  "aria-label": __36("Upload", "elementor")
7292
7289
  },
7293
- /* @__PURE__ */ React86.createElement(UploadIcon2, null)
7290
+ /* @__PURE__ */ React87.createElement(UploadIcon2, { fontSize: "small" })
7294
7291
  );
7295
7292
 
7296
7293
  // src/controls/svg-media-preview.tsx
7297
- import * as React87 from "react";
7294
+ import * as React88 from "react";
7298
7295
  import { Box as Box20, CardMedia as CardMedia2, CircularProgress as CircularProgress4 } from "@elementor/ui";
7299
7296
  import { __ as __37 } from "@wordpress/i18n";
7300
7297
  var ICON_PREVIEW_SIZE = 50;
@@ -7307,17 +7304,17 @@ var SvgMediaPreview = ({ isFetching, src, iconClassName, iconLibrary }) => {
7307
7304
  const selectedIcon = findFontAwesome7Icon(icons, iconClassName, iconLibrary);
7308
7305
  const isLoadingCatalog = shouldLoadIconCatalog && (isFontAwesomeLoading || isCustomLoading);
7309
7306
  if (isFetching || isLoadingCatalog) {
7310
- return /* @__PURE__ */ React87.createElement(CircularProgress4, { role: "progressbar" });
7307
+ return /* @__PURE__ */ React88.createElement(CircularProgress4, { role: "progressbar" });
7311
7308
  }
7312
7309
  if (selectedIcon) {
7313
- return /* @__PURE__ */ React87.createElement(IconPreview, { icon: selectedIcon });
7310
+ return /* @__PURE__ */ React88.createElement(IconPreview, { icon: selectedIcon });
7314
7311
  }
7315
7312
  if (shouldLoadIconCatalog) {
7316
- return /* @__PURE__ */ React87.createElement(IconPreviewPlaceholder, null);
7313
+ return /* @__PURE__ */ React88.createElement(IconPreviewPlaceholder, null);
7317
7314
  }
7318
- return /* @__PURE__ */ React87.createElement(SvgPreview, { src });
7315
+ return /* @__PURE__ */ React88.createElement(SvgPreview, { src });
7319
7316
  };
7320
- var IconPreview = ({ icon }) => /* @__PURE__ */ React87.createElement(Box20, { sx: { color: ICON_PREVIEW_COLOR } }, /* @__PURE__ */ React87.createElement(
7317
+ var IconPreview = ({ icon }) => /* @__PURE__ */ React88.createElement(Box20, { sx: { color: ICON_PREVIEW_COLOR } }, /* @__PURE__ */ React88.createElement(
7321
7318
  FontAwesomeGlyph,
7322
7319
  {
7323
7320
  icon,
@@ -7326,7 +7323,7 @@ var IconPreview = ({ icon }) => /* @__PURE__ */ React87.createElement(Box20, { s
7326
7323
  label: __37("Preview icon", "elementor")
7327
7324
  }
7328
7325
  ));
7329
- var IconPreviewPlaceholder = () => /* @__PURE__ */ React87.createElement(
7326
+ var IconPreviewPlaceholder = () => /* @__PURE__ */ React88.createElement(
7330
7327
  Box20,
7331
7328
  {
7332
7329
  "aria-hidden": true,
@@ -7337,7 +7334,7 @@ var IconPreviewPlaceholder = () => /* @__PURE__ */ React87.createElement(
7337
7334
  }
7338
7335
  }
7339
7336
  );
7340
- var SvgPreview = ({ src }) => /* @__PURE__ */ React87.createElement(
7337
+ var SvgPreview = ({ src }) => /* @__PURE__ */ React88.createElement(
7341
7338
  CardMedia2,
7342
7339
  {
7343
7340
  component: "img",
@@ -7363,7 +7360,7 @@ var StyledCard = styled11(Card2)`
7363
7360
  border: none;
7364
7361
  `;
7365
7362
  var PREVIEW_ICON_COLOR = "#000000";
7366
- var StyledCardMediaContainer = styled11(Stack17)`
7363
+ var StyledCardMediaContainer = styled11(Stack16)`
7367
7364
  position: relative;
7368
7365
  height: 140px;
7369
7366
  object-fit: contain;
@@ -7384,7 +7381,7 @@ var SvgMediaControl = createControl(({ showIconLibrary = false }) => {
7384
7381
  const src = attachment?.url ?? url?.value ?? null;
7385
7382
  const { data: allowSvgUpload } = useUnfilteredFilesUpload();
7386
7383
  const [unfilteredModalOpenState, setUnfilteredModalOpenState] = useState19(false);
7387
- const iconLibraryPopoverState = usePopupState10({ variant: "popover" });
7384
+ const iconLibraryPopoverState = usePopupState9({ variant: "popover" });
7388
7385
  const controlContainerRef = useRef17(null);
7389
7386
  const buttonGroupRef = useRef17(null);
7390
7387
  const [iconLibraryAnchor, setIconLibraryAnchor] = useState19(null);
@@ -7455,7 +7452,7 @@ var SvgMediaControl = createControl(({ showIconLibrary = false }) => {
7455
7452
  };
7456
7453
  }, [iconLibraryPopoverState.isOpen]);
7457
7454
  const iconLibraryWidth = iconLibraryAnchor?.width ?? ICON_LIBRARY_POPOVER_WIDTH;
7458
- return /* @__PURE__ */ React88.createElement(Stack17, { gap: 1, "aria-label": __38("SVG control", "elementor") }, /* @__PURE__ */ React88.createElement(EnableUnfilteredModal, { open: unfilteredModalOpenState, onClose: handleCloseUnfilteredModal }), showIconLibrary && iconLibraryAnchor ? /* @__PURE__ */ React88.createElement(
7455
+ return /* @__PURE__ */ React89.createElement(Stack16, { gap: 1, "aria-label": __38("SVG control", "elementor") }, /* @__PURE__ */ React89.createElement(EnableUnfilteredModal, { open: unfilteredModalOpenState, onClose: handleCloseUnfilteredModal }), showIconLibrary && iconLibraryAnchor ? /* @__PURE__ */ React89.createElement(
7459
7456
  Popover6,
7460
7457
  {
7461
7458
  disableScrollLock: true,
@@ -7475,7 +7472,7 @@ var SvgMediaControl = createControl(({ showIconLibrary = false }) => {
7475
7472
  }
7476
7473
  }
7477
7474
  },
7478
- /* @__PURE__ */ React88.createElement(
7475
+ /* @__PURE__ */ React89.createElement(
7479
7476
  IconLibraryPopover,
7480
7477
  {
7481
7478
  open: iconLibraryPopoverState.isOpen,
@@ -7486,14 +7483,14 @@ var SvgMediaControl = createControl(({ showIconLibrary = false }) => {
7486
7483
  width: iconLibraryWidth
7487
7484
  }
7488
7485
  )
7489
- ) : null, /* @__PURE__ */ React88.createElement(
7486
+ ) : null, /* @__PURE__ */ React89.createElement(
7490
7487
  Box21,
7491
7488
  {
7492
7489
  ref: controlContainerRef,
7493
7490
  "data-testid": SVG_MEDIA_CONTROL_CONTAINER_TEST_ID,
7494
7491
  sx: { width: "100%" }
7495
7492
  },
7496
- /* @__PURE__ */ React88.createElement(ControlActions, null, /* @__PURE__ */ React88.createElement(StyledCard, { variant: "outlined" }, /* @__PURE__ */ React88.createElement(StyledCardMediaContainer, null, /* @__PURE__ */ React88.createElement(
7493
+ /* @__PURE__ */ React89.createElement(ControlActions, null, /* @__PURE__ */ React89.createElement(StyledCard, { variant: "outlined" }, /* @__PURE__ */ React89.createElement(StyledCardMediaContainer, null, /* @__PURE__ */ React89.createElement(
7497
7494
  SvgMediaPreview,
7498
7495
  {
7499
7496
  isFetching,
@@ -7501,7 +7498,7 @@ var SvgMediaControl = createControl(({ showIconLibrary = false }) => {
7501
7498
  iconClassName: selectedIconClass,
7502
7499
  iconLibrary: selectedIconLibrary
7503
7500
  }
7504
- )), /* @__PURE__ */ React88.createElement(
7501
+ )), /* @__PURE__ */ React89.createElement(
7505
7502
  CardOverlay2,
7506
7503
  {
7507
7504
  sx: {
@@ -7510,7 +7507,7 @@ var SvgMediaControl = createControl(({ showIconLibrary = false }) => {
7510
7507
  }
7511
7508
  }
7512
7509
  },
7513
- /* @__PURE__ */ React88.createElement(
7510
+ /* @__PURE__ */ React89.createElement(
7514
7511
  SvgMediaOverlay,
7515
7512
  {
7516
7513
  isAdmin,
@@ -7520,19 +7517,19 @@ var SvgMediaControl = createControl(({ showIconLibrary = false }) => {
7520
7517
  onUpload: handleUpload,
7521
7518
  onOpenIconLibrary: handleOpenIconLibrary,
7522
7519
  infotipTitle: __38("Sorry, you can't upload that file yet.", "elementor"),
7523
- infotipDescription: /* @__PURE__ */ React88.createElement(UnfilteredUploadInfotipDescription, null)
7520
+ infotipDescription: /* @__PURE__ */ React89.createElement(UnfilteredUploadInfotipDescription, null)
7524
7521
  }
7525
7522
  )
7526
7523
  )))
7527
7524
  ));
7528
7525
  });
7529
- var UnfilteredUploadInfotipDescription = () => /* @__PURE__ */ React88.createElement(React88.Fragment, null, __38("To upload them anyway, ask the site administrator to enable unfiltered", "elementor"), /* @__PURE__ */ React88.createElement("br", null), __38("file uploads.", "elementor"));
7526
+ var UnfilteredUploadInfotipDescription = () => /* @__PURE__ */ React89.createElement(React89.Fragment, null, __38("To upload them anyway, ask the site administrator to enable unfiltered", "elementor"), /* @__PURE__ */ React89.createElement("br", null), __38("file uploads.", "elementor"));
7530
7527
 
7531
7528
  // src/controls/video-media-control.tsx
7532
- import * as React89 from "react";
7529
+ import * as React90 from "react";
7533
7530
  import { urlPropTypeUtil as urlPropTypeUtil5, videoSrcPropTypeUtil } from "@elementor/editor-props";
7534
7531
  import { UploadIcon as UploadIcon3 } from "@elementor/icons";
7535
- import { Button as Button6, Card as Card3, CardMedia as CardMedia3, CardOverlay as CardOverlay3, CircularProgress as CircularProgress5, Stack as Stack18 } from "@elementor/ui";
7532
+ import { Button as Button6, Card as Card3, CardMedia as CardMedia3, CardOverlay as CardOverlay3, CircularProgress as CircularProgress5, Stack as Stack17 } from "@elementor/ui";
7536
7533
  import { useWpMediaAttachment as useWpMediaAttachment3, useWpMediaFrame as useWpMediaFrame3 } from "@elementor/wp-media";
7537
7534
  import { __ as __39 } from "@wordpress/i18n";
7538
7535
  var PLACEHOLDER_IMAGE = window.elementorCommon?.config?.urls?.assets + "/shapes/play-triangle.svg";
@@ -7564,7 +7561,7 @@ var VideoMediaControl = createControl(() => {
7564
7561
  });
7565
7562
  }
7566
7563
  });
7567
- return /* @__PURE__ */ React89.createElement(ControlActions, null, /* @__PURE__ */ React89.createElement(Card3, { variant: "outlined" }, /* @__PURE__ */ React89.createElement(
7564
+ return /* @__PURE__ */ React90.createElement(ControlActions, null, /* @__PURE__ */ React90.createElement(Card3, { variant: "outlined" }, /* @__PURE__ */ React90.createElement(
7568
7565
  CardMedia3,
7569
7566
  {
7570
7567
  sx: {
@@ -7579,8 +7576,8 @@ var VideoMediaControl = createControl(() => {
7579
7576
  alignItems: "center"
7580
7577
  }
7581
7578
  },
7582
- /* @__PURE__ */ React89.createElement(VideoPreview, { isFetching, videoUrl })
7583
- ), /* @__PURE__ */ React89.createElement(CardOverlay3, null, /* @__PURE__ */ React89.createElement(Stack18, { gap: 1 }, /* @__PURE__ */ React89.createElement(
7579
+ /* @__PURE__ */ React90.createElement(VideoPreview, { isFetching, videoUrl })
7580
+ ), /* @__PURE__ */ React90.createElement(CardOverlay3, null, /* @__PURE__ */ React90.createElement(Stack17, { gap: 1 }, /* @__PURE__ */ React90.createElement(
7584
7581
  Button6,
7585
7582
  {
7586
7583
  size: "tiny",
@@ -7589,17 +7586,17 @@ var VideoMediaControl = createControl(() => {
7589
7586
  onClick: () => open({ mode: "browse" })
7590
7587
  },
7591
7588
  __39("Select video", "elementor")
7592
- ), /* @__PURE__ */ React89.createElement(
7589
+ ), /* @__PURE__ */ React90.createElement(
7593
7590
  Button6,
7594
7591
  {
7595
7592
  size: "tiny",
7596
7593
  variant: "text",
7597
7594
  color: "inherit",
7598
- startIcon: /* @__PURE__ */ React89.createElement(UploadIcon3, null),
7595
+ startIcon: /* @__PURE__ */ React90.createElement(UploadIcon3, null),
7599
7596
  onClick: () => open({ mode: "upload" })
7600
7597
  },
7601
7598
  __39("Upload", "elementor")
7602
- ), /* @__PURE__ */ React89.createElement(
7599
+ ), /* @__PURE__ */ React90.createElement(
7603
7600
  Button6,
7604
7601
  {
7605
7602
  size: "tiny",
@@ -7612,10 +7609,10 @@ var VideoMediaControl = createControl(() => {
7612
7609
  });
7613
7610
  var VideoPreview = ({ isFetching = false, videoUrl }) => {
7614
7611
  if (isFetching) {
7615
- return /* @__PURE__ */ React89.createElement(CircularProgress5, null);
7612
+ return /* @__PURE__ */ React90.createElement(CircularProgress5, null);
7616
7613
  }
7617
7614
  if (videoUrl) {
7618
- return /* @__PURE__ */ React89.createElement(
7615
+ return /* @__PURE__ */ React90.createElement(
7619
7616
  "video",
7620
7617
  {
7621
7618
  "aria-label": __39("Video preview", "elementor"),
@@ -7631,17 +7628,17 @@ var VideoPreview = ({ isFetching = false, videoUrl }) => {
7631
7628
  }
7632
7629
  );
7633
7630
  }
7634
- return /* @__PURE__ */ React89.createElement("img", { src: PLACEHOLDER_IMAGE, alt: "No video selected" });
7631
+ return /* @__PURE__ */ React90.createElement("img", { src: PLACEHOLDER_IMAGE, alt: "No video selected" });
7635
7632
  };
7636
7633
 
7637
7634
  // src/controls/background-control/background-control.tsx
7638
- import * as React96 from "react";
7635
+ import * as React97 from "react";
7639
7636
  import { backgroundPropTypeUtil } from "@elementor/editor-props";
7640
7637
  import { Grid as Grid18 } from "@elementor/ui";
7641
7638
  import { __ as __45 } from "@wordpress/i18n";
7642
7639
 
7643
7640
  // src/controls/background-control/background-overlay/background-overlay-repeater-control.tsx
7644
- import * as React95 from "react";
7641
+ import * as React96 from "react";
7645
7642
  import {
7646
7643
  backgroundColorOverlayPropTypeUtil as backgroundColorOverlayPropTypeUtil2,
7647
7644
  backgroundImageOverlayPropTypeUtil as backgroundImageOverlayPropTypeUtil2,
@@ -7657,7 +7654,7 @@ import { parseEnv } from "@elementor/env";
7657
7654
  var { env } = parseEnv("@elementor/editor-controls");
7658
7655
 
7659
7656
  // src/controls/background-control/background-gradient-color-control.tsx
7660
- import * as React90 from "react";
7657
+ import * as React91 from "react";
7661
7658
  import {
7662
7659
  backgroundGradientOverlayPropTypeUtil,
7663
7660
  colorPropTypeUtil as colorPropTypeUtil2,
@@ -7704,7 +7701,7 @@ var BackgroundGradientColorControl = createControl(() => {
7704
7701
  positions: positions?.value.split(" ")
7705
7702
  };
7706
7703
  };
7707
- return /* @__PURE__ */ React90.createElement(
7704
+ return /* @__PURE__ */ React91.createElement(
7708
7705
  UnstableGradientBox,
7709
7706
  {
7710
7707
  sx: { width: "auto", padding: 1.5 },
@@ -7729,7 +7726,7 @@ var initialBackgroundGradientOverlay = backgroundGradientOverlayPropTypeUtil.cre
7729
7726
  });
7730
7727
 
7731
7728
  // src/controls/background-control/background-overlay/background-image-overlay/background-image-overlay-attachment.tsx
7732
- import * as React91 from "react";
7729
+ import * as React92 from "react";
7733
7730
  import { PinIcon, PinnedOffIcon } from "@elementor/icons";
7734
7731
  import { Grid as Grid14 } from "@elementor/ui";
7735
7732
  import { __ as __40 } from "@wordpress/i18n";
@@ -7737,22 +7734,22 @@ var attachmentControlOptions = [
7737
7734
  {
7738
7735
  value: "fixed",
7739
7736
  label: __40("Fixed", "elementor"),
7740
- renderContent: ({ size }) => /* @__PURE__ */ React91.createElement(PinIcon, { fontSize: size }),
7737
+ renderContent: ({ size }) => /* @__PURE__ */ React92.createElement(PinIcon, { fontSize: size }),
7741
7738
  showTooltip: true
7742
7739
  },
7743
7740
  {
7744
7741
  value: "scroll",
7745
7742
  label: __40("Scroll", "elementor"),
7746
- renderContent: ({ size }) => /* @__PURE__ */ React91.createElement(PinnedOffIcon, { fontSize: size }),
7743
+ renderContent: ({ size }) => /* @__PURE__ */ React92.createElement(PinnedOffIcon, { fontSize: size }),
7747
7744
  showTooltip: true
7748
7745
  }
7749
7746
  ];
7750
7747
  var BackgroundImageOverlayAttachment = () => {
7751
- return /* @__PURE__ */ React91.createElement(PopoverGridContainer, null, /* @__PURE__ */ React91.createElement(Grid14, { item: true, xs: 6 }, /* @__PURE__ */ React91.createElement(ControlFormLabel, null, __40("Attachment", "elementor"))), /* @__PURE__ */ React91.createElement(Grid14, { item: true, xs: 6, sx: { display: "flex", justifyContent: "flex-end", overflow: "hidden" } }, /* @__PURE__ */ React91.createElement(ToggleControl, { options: attachmentControlOptions })));
7748
+ return /* @__PURE__ */ React92.createElement(PopoverGridContainer, null, /* @__PURE__ */ React92.createElement(Grid14, { item: true, xs: 6 }, /* @__PURE__ */ React92.createElement(ControlFormLabel, null, __40("Attachment", "elementor"))), /* @__PURE__ */ React92.createElement(Grid14, { item: true, xs: 6, sx: { display: "flex", justifyContent: "flex-end", overflow: "hidden" } }, /* @__PURE__ */ React92.createElement(ToggleControl, { options: attachmentControlOptions })));
7752
7749
  };
7753
7750
 
7754
7751
  // src/controls/background-control/background-overlay/background-image-overlay/background-image-overlay-position.tsx
7755
- import * as React92 from "react";
7752
+ import * as React93 from "react";
7756
7753
  import { useRef as useRef18 } from "react";
7757
7754
  import { backgroundImagePositionOffsetPropTypeUtil, stringPropTypeUtil as stringPropTypeUtil16 } from "@elementor/editor-props";
7758
7755
  import { MenuListItem as MenuListItem6 } from "@elementor/editor-ui";
@@ -7784,7 +7781,7 @@ var BackgroundImageOverlayPosition = () => {
7784
7781
  stringPropContext.setValue(value);
7785
7782
  }
7786
7783
  };
7787
- return /* @__PURE__ */ React92.createElement(Grid15, { container: true, spacing: 1.5 }, /* @__PURE__ */ React92.createElement(Grid15, { item: true, xs: 12 }, /* @__PURE__ */ React92.createElement(PopoverGridContainer, null, /* @__PURE__ */ React92.createElement(Grid15, { item: true, xs: 6 }, /* @__PURE__ */ React92.createElement(ControlFormLabel, null, __41("Position", "elementor"))), /* @__PURE__ */ React92.createElement(Grid15, { item: true, xs: 6, sx: { display: "flex", justifyContent: "flex-end", overflow: "hidden" } }, /* @__PURE__ */ React92.createElement(ControlActions, null, /* @__PURE__ */ React92.createElement(
7784
+ return /* @__PURE__ */ React93.createElement(Grid15, { container: true, spacing: 1.5 }, /* @__PURE__ */ React93.createElement(Grid15, { item: true, xs: 12 }, /* @__PURE__ */ React93.createElement(PopoverGridContainer, null, /* @__PURE__ */ React93.createElement(Grid15, { item: true, xs: 6 }, /* @__PURE__ */ React93.createElement(ControlFormLabel, null, __41("Position", "elementor"))), /* @__PURE__ */ React93.createElement(Grid15, { item: true, xs: 6, sx: { display: "flex", justifyContent: "flex-end", overflow: "hidden" } }, /* @__PURE__ */ React93.createElement(ControlActions, null, /* @__PURE__ */ React93.createElement(
7788
7785
  Select4,
7789
7786
  {
7790
7787
  fullWidth: true,
@@ -7793,18 +7790,18 @@ var BackgroundImageOverlayPosition = () => {
7793
7790
  disabled: stringPropContext.disabled,
7794
7791
  value: (backgroundImageOffsetContext.value ? "custom" : stringPropContext.value) ?? ""
7795
7792
  },
7796
- backgroundPositionOptions.map(({ label, value }) => /* @__PURE__ */ React92.createElement(MenuListItem6, { key: value, value: value ?? "" }, label))
7797
- ))))), isCustom ? /* @__PURE__ */ React92.createElement(PropProvider, { ...backgroundImageOffsetContext }, /* @__PURE__ */ React92.createElement(Grid15, { item: true, xs: 12 }, /* @__PURE__ */ React92.createElement(Grid15, { container: true, spacing: 1.5, ref: rowRef }, /* @__PURE__ */ React92.createElement(Grid15, { item: true, xs: 6 }, /* @__PURE__ */ React92.createElement(PropKeyProvider, { bind: "x" }, /* @__PURE__ */ React92.createElement(
7793
+ backgroundPositionOptions.map(({ label, value }) => /* @__PURE__ */ React93.createElement(MenuListItem6, { key: value, value: value ?? "" }, label))
7794
+ ))))), isCustom ? /* @__PURE__ */ React93.createElement(PropProvider, { ...backgroundImageOffsetContext }, /* @__PURE__ */ React93.createElement(Grid15, { item: true, xs: 12 }, /* @__PURE__ */ React93.createElement(Grid15, { container: true, spacing: 1.5, ref: rowRef }, /* @__PURE__ */ React93.createElement(Grid15, { item: true, xs: 6 }, /* @__PURE__ */ React93.createElement(PropKeyProvider, { bind: "x" }, /* @__PURE__ */ React93.createElement(
7798
7795
  SizeControl,
7799
7796
  {
7800
- startIcon: /* @__PURE__ */ React92.createElement(LetterXIcon, { fontSize: "tiny" }),
7797
+ startIcon: /* @__PURE__ */ React93.createElement(LetterXIcon, { fontSize: "tiny" }),
7801
7798
  anchorRef: rowRef,
7802
7799
  min: -Number.MAX_SAFE_INTEGER
7803
7800
  }
7804
- ))), /* @__PURE__ */ React92.createElement(Grid15, { item: true, xs: 6 }, /* @__PURE__ */ React92.createElement(PropKeyProvider, { bind: "y" }, /* @__PURE__ */ React92.createElement(
7801
+ ))), /* @__PURE__ */ React93.createElement(Grid15, { item: true, xs: 6 }, /* @__PURE__ */ React93.createElement(PropKeyProvider, { bind: "y" }, /* @__PURE__ */ React93.createElement(
7805
7802
  SizeControl,
7806
7803
  {
7807
- startIcon: /* @__PURE__ */ React92.createElement(LetterYIcon, { fontSize: "tiny" }),
7804
+ startIcon: /* @__PURE__ */ React93.createElement(LetterYIcon, { fontSize: "tiny" }),
7808
7805
  anchorRef: rowRef,
7809
7806
  min: -Number.MAX_SAFE_INTEGER
7810
7807
  }
@@ -7812,7 +7809,7 @@ var BackgroundImageOverlayPosition = () => {
7812
7809
  };
7813
7810
 
7814
7811
  // src/controls/background-control/background-overlay/background-image-overlay/background-image-overlay-repeat.tsx
7815
- import * as React93 from "react";
7812
+ import * as React94 from "react";
7816
7813
  import { DotsHorizontalIcon, DotsVerticalIcon, GridDotsIcon, XIcon as XIcon3 } from "@elementor/icons";
7817
7814
  import { Grid as Grid16 } from "@elementor/ui";
7818
7815
  import { __ as __42 } from "@wordpress/i18n";
@@ -7820,34 +7817,34 @@ var repeatControlOptions = [
7820
7817
  {
7821
7818
  value: "repeat",
7822
7819
  label: __42("Repeat", "elementor"),
7823
- renderContent: ({ size }) => /* @__PURE__ */ React93.createElement(GridDotsIcon, { fontSize: size }),
7820
+ renderContent: ({ size }) => /* @__PURE__ */ React94.createElement(GridDotsIcon, { fontSize: size }),
7824
7821
  showTooltip: true
7825
7822
  },
7826
7823
  {
7827
7824
  value: "repeat-x",
7828
7825
  label: __42("Repeat-x", "elementor"),
7829
- renderContent: ({ size }) => /* @__PURE__ */ React93.createElement(DotsHorizontalIcon, { fontSize: size }),
7826
+ renderContent: ({ size }) => /* @__PURE__ */ React94.createElement(DotsHorizontalIcon, { fontSize: size }),
7830
7827
  showTooltip: true
7831
7828
  },
7832
7829
  {
7833
7830
  value: "repeat-y",
7834
7831
  label: __42("Repeat-y", "elementor"),
7835
- renderContent: ({ size }) => /* @__PURE__ */ React93.createElement(DotsVerticalIcon, { fontSize: size }),
7832
+ renderContent: ({ size }) => /* @__PURE__ */ React94.createElement(DotsVerticalIcon, { fontSize: size }),
7836
7833
  showTooltip: true
7837
7834
  },
7838
7835
  {
7839
7836
  value: "no-repeat",
7840
7837
  label: __42("No-repeat", "elementor"),
7841
- renderContent: ({ size }) => /* @__PURE__ */ React93.createElement(XIcon3, { fontSize: size }),
7838
+ renderContent: ({ size }) => /* @__PURE__ */ React94.createElement(XIcon3, { fontSize: size }),
7842
7839
  showTooltip: true
7843
7840
  }
7844
7841
  ];
7845
7842
  var BackgroundImageOverlayRepeat = () => {
7846
- return /* @__PURE__ */ React93.createElement(PopoverGridContainer, null, /* @__PURE__ */ React93.createElement(Grid16, { item: true, xs: 6 }, /* @__PURE__ */ React93.createElement(ControlFormLabel, null, __42("Repeat", "elementor"))), /* @__PURE__ */ React93.createElement(Grid16, { item: true, xs: 6, sx: { display: "flex", justifyContent: "flex-end" } }, /* @__PURE__ */ React93.createElement(ToggleControl, { options: repeatControlOptions })));
7843
+ return /* @__PURE__ */ React94.createElement(PopoverGridContainer, null, /* @__PURE__ */ React94.createElement(Grid16, { item: true, xs: 6 }, /* @__PURE__ */ React94.createElement(ControlFormLabel, null, __42("Repeat", "elementor"))), /* @__PURE__ */ React94.createElement(Grid16, { item: true, xs: 6, sx: { display: "flex", justifyContent: "flex-end" } }, /* @__PURE__ */ React94.createElement(ToggleControl, { options: repeatControlOptions })));
7847
7844
  };
7848
7845
 
7849
7846
  // src/controls/background-control/background-overlay/background-image-overlay/background-image-overlay-size.tsx
7850
- import * as React94 from "react";
7847
+ import * as React95 from "react";
7851
7848
  import { useRef as useRef19 } from "react";
7852
7849
  import { backgroundImageSizeScalePropTypeUtil, stringPropTypeUtil as stringPropTypeUtil17 } from "@elementor/editor-props";
7853
7850
  import {
@@ -7864,25 +7861,25 @@ var sizeControlOptions = [
7864
7861
  {
7865
7862
  value: "auto",
7866
7863
  label: __43("Auto", "elementor"),
7867
- renderContent: ({ size }) => /* @__PURE__ */ React94.createElement(LetterAIcon, { fontSize: size }),
7864
+ renderContent: ({ size }) => /* @__PURE__ */ React95.createElement(LetterAIcon, { fontSize: size }),
7868
7865
  showTooltip: true
7869
7866
  },
7870
7867
  {
7871
7868
  value: "cover",
7872
7869
  label: __43("Cover", "elementor"),
7873
- renderContent: ({ size }) => /* @__PURE__ */ React94.createElement(ArrowsMaximizeIcon, { fontSize: size }),
7870
+ renderContent: ({ size }) => /* @__PURE__ */ React95.createElement(ArrowsMaximizeIcon, { fontSize: size }),
7874
7871
  showTooltip: true
7875
7872
  },
7876
7873
  {
7877
7874
  value: "contain",
7878
7875
  label: __43("Contain", "elementor"),
7879
- renderContent: ({ size }) => /* @__PURE__ */ React94.createElement(ArrowBarBothIcon, { fontSize: size }),
7876
+ renderContent: ({ size }) => /* @__PURE__ */ React95.createElement(ArrowBarBothIcon, { fontSize: size }),
7880
7877
  showTooltip: true
7881
7878
  },
7882
7879
  {
7883
7880
  value: "custom",
7884
7881
  label: __43("Custom", "elementor"),
7885
- renderContent: ({ size }) => /* @__PURE__ */ React94.createElement(PencilIcon, { fontSize: size }),
7882
+ renderContent: ({ size }) => /* @__PURE__ */ React95.createElement(PencilIcon, { fontSize: size }),
7886
7883
  showTooltip: true
7887
7884
  }
7888
7885
  ];
@@ -7898,7 +7895,7 @@ var BackgroundImageOverlaySize = () => {
7898
7895
  stringPropContext.setValue(size);
7899
7896
  }
7900
7897
  };
7901
- return /* @__PURE__ */ React94.createElement(Grid17, { container: true, spacing: 1.5 }, /* @__PURE__ */ React94.createElement(Grid17, { item: true, xs: 12 }, /* @__PURE__ */ React94.createElement(PopoverGridContainer, null, /* @__PURE__ */ React94.createElement(Grid17, { item: true, xs: 6 }, /* @__PURE__ */ React94.createElement(ControlFormLabel, null, __43("Size", "elementor"))), /* @__PURE__ */ React94.createElement(Grid17, { item: true, xs: 6, sx: { display: "flex", justifyContent: "flex-end" } }, /* @__PURE__ */ React94.createElement(
7898
+ return /* @__PURE__ */ React95.createElement(Grid17, { container: true, spacing: 1.5 }, /* @__PURE__ */ React95.createElement(Grid17, { item: true, xs: 12 }, /* @__PURE__ */ React95.createElement(PopoverGridContainer, null, /* @__PURE__ */ React95.createElement(Grid17, { item: true, xs: 6 }, /* @__PURE__ */ React95.createElement(ControlFormLabel, null, __43("Size", "elementor"))), /* @__PURE__ */ React95.createElement(Grid17, { item: true, xs: 6, sx: { display: "flex", justifyContent: "flex-end" } }, /* @__PURE__ */ React95.createElement(
7902
7899
  ControlToggleButtonGroup,
7903
7900
  {
7904
7901
  exclusive: true,
@@ -7907,17 +7904,17 @@ var BackgroundImageOverlaySize = () => {
7907
7904
  disabled: stringPropContext.disabled,
7908
7905
  value: backgroundImageScaleContext.value ? "custom" : stringPropContext.value
7909
7906
  }
7910
- )))), isCustom ? /* @__PURE__ */ React94.createElement(PropProvider, { ...backgroundImageScaleContext }, /* @__PURE__ */ React94.createElement(Grid17, { item: true, xs: 12, ref: rowRef }, /* @__PURE__ */ React94.createElement(PopoverGridContainer, null, /* @__PURE__ */ React94.createElement(Grid17, { item: true, xs: 6 }, /* @__PURE__ */ React94.createElement(PropKeyProvider, { bind: "width" }, /* @__PURE__ */ React94.createElement(
7907
+ )))), isCustom ? /* @__PURE__ */ React95.createElement(PropProvider, { ...backgroundImageScaleContext }, /* @__PURE__ */ React95.createElement(Grid17, { item: true, xs: 12, ref: rowRef }, /* @__PURE__ */ React95.createElement(PopoverGridContainer, null, /* @__PURE__ */ React95.createElement(Grid17, { item: true, xs: 6 }, /* @__PURE__ */ React95.createElement(PropKeyProvider, { bind: "width" }, /* @__PURE__ */ React95.createElement(
7911
7908
  SizeControl,
7912
7909
  {
7913
- startIcon: /* @__PURE__ */ React94.createElement(ArrowsMoveHorizontalIcon2, { fontSize: "tiny" }),
7910
+ startIcon: /* @__PURE__ */ React95.createElement(ArrowsMoveHorizontalIcon2, { fontSize: "tiny" }),
7914
7911
  extendedOptions: ["auto"],
7915
7912
  anchorRef: rowRef
7916
7913
  }
7917
- ))), /* @__PURE__ */ React94.createElement(Grid17, { item: true, xs: 6 }, /* @__PURE__ */ React94.createElement(PropKeyProvider, { bind: "height" }, /* @__PURE__ */ React94.createElement(
7914
+ ))), /* @__PURE__ */ React95.createElement(Grid17, { item: true, xs: 6 }, /* @__PURE__ */ React95.createElement(PropKeyProvider, { bind: "height" }, /* @__PURE__ */ React95.createElement(
7918
7915
  SizeControl,
7919
7916
  {
7920
- startIcon: /* @__PURE__ */ React94.createElement(ArrowsMoveVerticalIcon2, { fontSize: "tiny" }),
7917
+ startIcon: /* @__PURE__ */ React95.createElement(ArrowsMoveVerticalIcon2, { fontSize: "tiny" }),
7921
7918
  extendedOptions: ["auto"],
7922
7919
  anchorRef: rowRef
7923
7920
  }
@@ -8025,22 +8022,22 @@ var backgroundResolutionOptions = [
8025
8022
  ];
8026
8023
  var BackgroundOverlayRepeaterControl = createControl(() => {
8027
8024
  const { propType, value: overlayValues, setValue } = useBoundProp(backgroundOverlayPropTypeUtil);
8028
- return /* @__PURE__ */ React95.createElement(PropProvider, { propType, value: overlayValues, setValue }, /* @__PURE__ */ React95.createElement(
8025
+ return /* @__PURE__ */ React96.createElement(PropProvider, { propType, value: overlayValues, setValue }, /* @__PURE__ */ React96.createElement(
8029
8026
  ControlRepeater,
8030
8027
  {
8031
8028
  initial: getInitialBackgroundOverlay(),
8032
8029
  propTypeUtil: backgroundOverlayPropTypeUtil
8033
8030
  },
8034
- /* @__PURE__ */ React95.createElement(RepeaterHeader, { label: __44("Overlay", "elementor") }, /* @__PURE__ */ React95.createElement(TooltipAddItemAction, { newItemIndex: 0 })),
8035
- /* @__PURE__ */ React95.createElement(ItemsContainer, null, /* @__PURE__ */ React95.createElement(
8031
+ /* @__PURE__ */ React96.createElement(RepeaterHeader, { label: __44("Overlay", "elementor") }, /* @__PURE__ */ React96.createElement(TooltipAddItemAction, { newItemIndex: 0 })),
8032
+ /* @__PURE__ */ React96.createElement(ItemsContainer, null, /* @__PURE__ */ React96.createElement(
8036
8033
  Item,
8037
8034
  {
8038
8035
  Icon: ItemIcon2,
8039
8036
  Label: ItemLabel3,
8040
- actions: /* @__PURE__ */ React95.createElement(React95.Fragment, null, /* @__PURE__ */ React95.createElement(DuplicateItemAction, null), /* @__PURE__ */ React95.createElement(DisableItemAction, null), /* @__PURE__ */ React95.createElement(RemoveItemAction, null))
8037
+ actions: /* @__PURE__ */ React96.createElement(React96.Fragment, null, /* @__PURE__ */ React96.createElement(DuplicateItemAction, null), /* @__PURE__ */ React96.createElement(DisableItemAction, null), /* @__PURE__ */ React96.createElement(RemoveItemAction, null))
8041
8038
  }
8042
8039
  )),
8043
- /* @__PURE__ */ React95.createElement(EditItemPopover, null, /* @__PURE__ */ React95.createElement(ItemContent2, null))
8040
+ /* @__PURE__ */ React96.createElement(EditItemPopover, null, /* @__PURE__ */ React96.createElement(ItemContent2, null))
8044
8041
  ));
8045
8042
  });
8046
8043
  var ItemContent2 = () => {
@@ -8050,7 +8047,7 @@ var ItemContent2 = () => {
8050
8047
  gradient: initialBackgroundGradientOverlay.value
8051
8048
  });
8052
8049
  const { rowRef } = useRepeaterContext();
8053
- return /* @__PURE__ */ React95.createElement(Box22, { sx: { width: "100%" } }, /* @__PURE__ */ React95.createElement(Box22, { sx: { borderBottom: 1, borderColor: "divider" } }, /* @__PURE__ */ React95.createElement(
8050
+ return /* @__PURE__ */ React96.createElement(Box22, { sx: { width: "100%" } }, /* @__PURE__ */ React96.createElement(Box22, { sx: { borderBottom: 1, borderColor: "divider" } }, /* @__PURE__ */ React96.createElement(
8054
8051
  Tabs,
8055
8052
  {
8056
8053
  size: "small",
@@ -8058,19 +8055,19 @@ var ItemContent2 = () => {
8058
8055
  ...getTabsProps(),
8059
8056
  "aria-label": __44("Background Overlay", "elementor")
8060
8057
  },
8061
- /* @__PURE__ */ React95.createElement(Tab, { label: __44("Image", "elementor"), ...getTabProps("image") }),
8062
- /* @__PURE__ */ React95.createElement(Tab, { label: __44("Gradient", "elementor"), ...getTabProps("gradient") }),
8063
- /* @__PURE__ */ React95.createElement(Tab, { label: __44("Color", "elementor"), ...getTabProps("color") })
8064
- )), /* @__PURE__ */ React95.createElement(TabPanel, { sx: { p: 1.5 }, ...getTabPanelProps("image") }, /* @__PURE__ */ React95.createElement(PopoverContent, null, /* @__PURE__ */ React95.createElement(ImageOverlayContent, null))), /* @__PURE__ */ React95.createElement(TabPanel, { sx: { p: 1.5 }, ...getTabPanelProps("gradient") }, /* @__PURE__ */ React95.createElement(BackgroundGradientColorControl, null)), /* @__PURE__ */ React95.createElement(TabPanel, { sx: { p: 1.5 }, ...getTabPanelProps("color") }, /* @__PURE__ */ React95.createElement(PopoverContent, null, /* @__PURE__ */ React95.createElement(ColorOverlayContent, { anchorEl: rowRef }))));
8058
+ /* @__PURE__ */ React96.createElement(Tab, { label: __44("Image", "elementor"), ...getTabProps("image") }),
8059
+ /* @__PURE__ */ React96.createElement(Tab, { label: __44("Gradient", "elementor"), ...getTabProps("gradient") }),
8060
+ /* @__PURE__ */ React96.createElement(Tab, { label: __44("Color", "elementor"), ...getTabProps("color") })
8061
+ )), /* @__PURE__ */ React96.createElement(TabPanel, { sx: { p: 1.5 }, ...getTabPanelProps("image") }, /* @__PURE__ */ React96.createElement(PopoverContent, null, /* @__PURE__ */ React96.createElement(ImageOverlayContent, null))), /* @__PURE__ */ React96.createElement(TabPanel, { sx: { p: 1.5 }, ...getTabPanelProps("gradient") }, /* @__PURE__ */ React96.createElement(BackgroundGradientColorControl, null)), /* @__PURE__ */ React96.createElement(TabPanel, { sx: { p: 1.5 }, ...getTabPanelProps("color") }, /* @__PURE__ */ React96.createElement(PopoverContent, null, /* @__PURE__ */ React96.createElement(ColorOverlayContent, { anchorEl: rowRef }))));
8065
8062
  };
8066
8063
  var ItemIcon2 = ({ value }) => {
8067
8064
  switch (value.$$type) {
8068
8065
  case "background-image-overlay":
8069
- return /* @__PURE__ */ React95.createElement(ItemIconImage, { value });
8066
+ return /* @__PURE__ */ React96.createElement(ItemIconImage, { value });
8070
8067
  case "background-color-overlay":
8071
- return /* @__PURE__ */ React95.createElement(ItemIconColor, { value });
8068
+ return /* @__PURE__ */ React96.createElement(ItemIconColor, { value });
8072
8069
  case "background-gradient-overlay":
8073
- return /* @__PURE__ */ React95.createElement(ItemIconGradient, { value });
8070
+ return /* @__PURE__ */ React96.createElement(ItemIconGradient, { value });
8074
8071
  default:
8075
8072
  return null;
8076
8073
  }
@@ -8083,11 +8080,11 @@ var extractColorFrom = (prop) => {
8083
8080
  };
8084
8081
  var ItemIconColor = ({ value: prop }) => {
8085
8082
  const color = extractColorFrom(prop);
8086
- return /* @__PURE__ */ React95.createElement(StyledUnstableColorIndicator3, { size: "inherit", component: "span", value: color });
8083
+ return /* @__PURE__ */ React96.createElement(StyledUnstableColorIndicator3, { size: "inherit", component: "span", value: color });
8087
8084
  };
8088
8085
  var ItemIconImage = ({ value }) => {
8089
8086
  const { imageUrl } = useImage(value);
8090
- return /* @__PURE__ */ React95.createElement(
8087
+ return /* @__PURE__ */ React96.createElement(
8091
8088
  CardMedia4,
8092
8089
  {
8093
8090
  image: imageUrl,
@@ -8102,41 +8099,41 @@ var ItemIconImage = ({ value }) => {
8102
8099
  };
8103
8100
  var ItemIconGradient = ({ value }) => {
8104
8101
  const gradient = getGradientValue(value);
8105
- return /* @__PURE__ */ React95.createElement(StyledUnstableColorIndicator3, { size: "inherit", component: "span", value: gradient });
8102
+ return /* @__PURE__ */ React96.createElement(StyledUnstableColorIndicator3, { size: "inherit", component: "span", value: gradient });
8106
8103
  };
8107
8104
  var ItemLabel3 = ({ value }) => {
8108
8105
  switch (value.$$type) {
8109
8106
  case "background-image-overlay":
8110
- return /* @__PURE__ */ React95.createElement(ItemLabelImage, { value });
8107
+ return /* @__PURE__ */ React96.createElement(ItemLabelImage, { value });
8111
8108
  case "background-color-overlay":
8112
- return /* @__PURE__ */ React95.createElement(ItemLabelColor, { value });
8109
+ return /* @__PURE__ */ React96.createElement(ItemLabelColor, { value });
8113
8110
  case "background-gradient-overlay":
8114
- return /* @__PURE__ */ React95.createElement(ItemLabelGradient, { value });
8111
+ return /* @__PURE__ */ React96.createElement(ItemLabelGradient, { value });
8115
8112
  default:
8116
8113
  return null;
8117
8114
  }
8118
8115
  };
8119
8116
  var ItemLabelColor = ({ value: prop }) => {
8120
8117
  const color = extractColorFrom(prop);
8121
- return /* @__PURE__ */ React95.createElement("span", null, color);
8118
+ return /* @__PURE__ */ React96.createElement("span", null, color);
8122
8119
  };
8123
8120
  var ItemLabelImage = ({ value }) => {
8124
8121
  const { imageTitle } = useImage(value);
8125
- return /* @__PURE__ */ React95.createElement("span", null, imageTitle);
8122
+ return /* @__PURE__ */ React96.createElement("span", null, imageTitle);
8126
8123
  };
8127
8124
  var ItemLabelGradient = ({ value }) => {
8128
8125
  if (value.value.type.value === "linear") {
8129
- return /* @__PURE__ */ React95.createElement("span", null, __44("Linear Gradient", "elementor"));
8126
+ return /* @__PURE__ */ React96.createElement("span", null, __44("Linear Gradient", "elementor"));
8130
8127
  }
8131
- return /* @__PURE__ */ React95.createElement("span", null, __44("Radial Gradient", "elementor"));
8128
+ return /* @__PURE__ */ React96.createElement("span", null, __44("Radial Gradient", "elementor"));
8132
8129
  };
8133
8130
  var ColorOverlayContent = ({ anchorEl }) => {
8134
8131
  const propContext = useBoundProp(backgroundColorOverlayPropTypeUtil2);
8135
- return /* @__PURE__ */ React95.createElement(PropProvider, { ...propContext }, /* @__PURE__ */ React95.createElement(PropKeyProvider, { bind: "color" }, /* @__PURE__ */ React95.createElement(ColorControl, { anchorEl })));
8132
+ return /* @__PURE__ */ React96.createElement(PropProvider, { ...propContext }, /* @__PURE__ */ React96.createElement(PropKeyProvider, { bind: "color" }, /* @__PURE__ */ React96.createElement(ColorControl, { anchorEl })));
8136
8133
  };
8137
8134
  var ImageOverlayContent = () => {
8138
8135
  const propContext = useBoundProp(backgroundImageOverlayPropTypeUtil2);
8139
- return /* @__PURE__ */ React95.createElement(PropProvider, { ...propContext }, /* @__PURE__ */ React95.createElement(PropKeyProvider, { bind: "image" }, /* @__PURE__ */ React95.createElement(ImageControl, { sizes: backgroundResolutionOptions })), /* @__PURE__ */ React95.createElement(PropKeyProvider, { bind: "position" }, /* @__PURE__ */ React95.createElement(BackgroundImageOverlayPosition, null)), /* @__PURE__ */ React95.createElement(PropKeyProvider, { bind: "repeat" }, /* @__PURE__ */ React95.createElement(BackgroundImageOverlayRepeat, null)), /* @__PURE__ */ React95.createElement(PropKeyProvider, { bind: "size" }, /* @__PURE__ */ React95.createElement(BackgroundImageOverlaySize, null)), /* @__PURE__ */ React95.createElement(PropKeyProvider, { bind: "attachment" }, /* @__PURE__ */ React95.createElement(BackgroundImageOverlayAttachment, null)));
8136
+ return /* @__PURE__ */ React96.createElement(PropProvider, { ...propContext }, /* @__PURE__ */ React96.createElement(PropKeyProvider, { bind: "image" }, /* @__PURE__ */ React96.createElement(ImageControl, { sizes: backgroundResolutionOptions })), /* @__PURE__ */ React96.createElement(PropKeyProvider, { bind: "position" }, /* @__PURE__ */ React96.createElement(BackgroundImageOverlayPosition, null)), /* @__PURE__ */ React96.createElement(PropKeyProvider, { bind: "repeat" }, /* @__PURE__ */ React96.createElement(BackgroundImageOverlayRepeat, null)), /* @__PURE__ */ React96.createElement(PropKeyProvider, { bind: "size" }, /* @__PURE__ */ React96.createElement(BackgroundImageOverlaySize, null)), /* @__PURE__ */ React96.createElement(PropKeyProvider, { bind: "attachment" }, /* @__PURE__ */ React96.createElement(BackgroundImageOverlayAttachment, null)));
8140
8137
  };
8141
8138
  var StyledUnstableColorIndicator3 = styled12(UnstableColorIndicator3)(({ theme }) => ({
8142
8139
  height: "1rem",
@@ -8186,17 +8183,17 @@ var colorLabel = __45("Color", "elementor");
8186
8183
  var clipLabel = __45("Clipping", "elementor");
8187
8184
  var BackgroundControl = createControl(() => {
8188
8185
  const propContext = useBoundProp(backgroundPropTypeUtil);
8189
- return /* @__PURE__ */ React96.createElement(PropProvider, { ...propContext }, /* @__PURE__ */ React96.createElement(PropKeyProvider, { bind: "background-overlay" }, /* @__PURE__ */ React96.createElement(BackgroundOverlayRepeaterControl, null)), /* @__PURE__ */ React96.createElement(BackgroundColorField, null), /* @__PURE__ */ React96.createElement(BackgroundClipField, null));
8186
+ return /* @__PURE__ */ React97.createElement(PropProvider, { ...propContext }, /* @__PURE__ */ React97.createElement(PropKeyProvider, { bind: "background-overlay" }, /* @__PURE__ */ React97.createElement(BackgroundOverlayRepeaterControl, null)), /* @__PURE__ */ React97.createElement(BackgroundColorField, null), /* @__PURE__ */ React97.createElement(BackgroundClipField, null));
8190
8187
  });
8191
8188
  var BackgroundColorField = () => {
8192
- return /* @__PURE__ */ React96.createElement(PropKeyProvider, { bind: "color" }, /* @__PURE__ */ React96.createElement(Grid18, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React96.createElement(Grid18, { item: true, xs: 6 }, /* @__PURE__ */ React96.createElement(ControlLabel, null, colorLabel)), /* @__PURE__ */ React96.createElement(Grid18, { item: true, xs: 6 }, /* @__PURE__ */ React96.createElement(ColorControl, null))));
8189
+ return /* @__PURE__ */ React97.createElement(PropKeyProvider, { bind: "color" }, /* @__PURE__ */ React97.createElement(Grid18, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React97.createElement(Grid18, { item: true, xs: 6 }, /* @__PURE__ */ React97.createElement(ControlLabel, null, colorLabel)), /* @__PURE__ */ React97.createElement(Grid18, { item: true, xs: 6 }, /* @__PURE__ */ React97.createElement(ColorControl, null))));
8193
8190
  };
8194
8191
  var BackgroundClipField = () => {
8195
- return /* @__PURE__ */ React96.createElement(PropKeyProvider, { bind: "clip" }, /* @__PURE__ */ React96.createElement(Grid18, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React96.createElement(Grid18, { item: true, xs: 6 }, /* @__PURE__ */ React96.createElement(ControlLabel, null, clipLabel)), /* @__PURE__ */ React96.createElement(Grid18, { item: true, xs: 6 }, /* @__PURE__ */ React96.createElement(SelectControl, { options: clipOptions }))));
8192
+ return /* @__PURE__ */ React97.createElement(PropKeyProvider, { bind: "clip" }, /* @__PURE__ */ React97.createElement(Grid18, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React97.createElement(Grid18, { item: true, xs: 6 }, /* @__PURE__ */ React97.createElement(ControlLabel, null, clipLabel)), /* @__PURE__ */ React97.createElement(Grid18, { item: true, xs: 6 }, /* @__PURE__ */ React97.createElement(SelectControl, { options: clipOptions }))));
8196
8193
  };
8197
8194
 
8198
8195
  // src/controls/repeatable-control.tsx
8199
- import * as React97 from "react";
8196
+ import * as React98 from "react";
8200
8197
  import { useMemo as useMemo13 } from "react";
8201
8198
  import { createArrayPropUtils as createArrayPropUtils2 } from "@elementor/editor-props";
8202
8199
  import { Box as Box23 } from "@elementor/ui";
@@ -8232,14 +8229,14 @@ var RepeatableControl = createControl(
8232
8229
  );
8233
8230
  const { propType, value, setValue } = useBoundProp(childArrayPropTypeUtil2);
8234
8231
  const newItemIndex = addItemTooltipProps?.newItemIndex === null ? void 0 : 0;
8235
- return /* @__PURE__ */ React97.createElement(PropProvider, { propType, value, setValue }, /* @__PURE__ */ React97.createElement(RepeatableControlContext.Provider, { value: contextValue }, /* @__PURE__ */ React97.createElement(
8232
+ return /* @__PURE__ */ React98.createElement(PropProvider, { propType, value, setValue }, /* @__PURE__ */ React98.createElement(RepeatableControlContext.Provider, { value: contextValue }, /* @__PURE__ */ React98.createElement(
8236
8233
  ControlRepeater,
8237
8234
  {
8238
8235
  initial: childPropTypeUtil.create(initialValues || null),
8239
8236
  propTypeUtil: childArrayPropTypeUtil2,
8240
8237
  isItemDisabled: isItemDisabled2
8241
8238
  },
8242
- /* @__PURE__ */ React97.createElement(RepeaterHeader, { label: repeaterLabel }, /* @__PURE__ */ React97.createElement(
8239
+ /* @__PURE__ */ React98.createElement(RepeaterHeader, { label: repeaterLabel }, /* @__PURE__ */ React98.createElement(
8243
8240
  TooltipAddItemAction,
8244
8241
  {
8245
8242
  ...addItemTooltipProps,
@@ -8247,22 +8244,22 @@ var RepeatableControl = createControl(
8247
8244
  ariaLabel: repeaterLabel
8248
8245
  }
8249
8246
  )),
8250
- /* @__PURE__ */ React97.createElement(ItemsContainer, { isSortable }, /* @__PURE__ */ React97.createElement(
8247
+ /* @__PURE__ */ React98.createElement(ItemsContainer, { isSortable }, /* @__PURE__ */ React98.createElement(
8251
8248
  Item,
8252
8249
  {
8253
8250
  Icon: ItemIcon3,
8254
8251
  Label: ItemLabel4,
8255
- actions: /* @__PURE__ */ React97.createElement(React97.Fragment, null, showDuplicate && /* @__PURE__ */ React97.createElement(DuplicateItemAction, null), showToggle && /* @__PURE__ */ React97.createElement(DisableItemAction, null), /* @__PURE__ */ React97.createElement(RemoveItemAction, null))
8252
+ actions: /* @__PURE__ */ React98.createElement(React98.Fragment, null, showDuplicate && /* @__PURE__ */ React98.createElement(DuplicateItemAction, null), showToggle && /* @__PURE__ */ React98.createElement(DisableItemAction, null), /* @__PURE__ */ React98.createElement(RemoveItemAction, null))
8256
8253
  }
8257
8254
  )),
8258
- /* @__PURE__ */ React97.createElement(EditItemPopover, null, /* @__PURE__ */ React97.createElement(Content2, null))
8255
+ /* @__PURE__ */ React98.createElement(EditItemPopover, null, /* @__PURE__ */ React98.createElement(Content2, null))
8259
8256
  )));
8260
8257
  }
8261
8258
  );
8262
- var ItemIcon3 = () => /* @__PURE__ */ React97.createElement(React97.Fragment, null);
8259
+ var ItemIcon3 = () => /* @__PURE__ */ React98.createElement(React98.Fragment, null);
8263
8260
  var Content2 = () => {
8264
8261
  const { component: ChildControl, props = {} } = useRepeatableControlContext();
8265
- return /* @__PURE__ */ React97.createElement(PopoverContent, { p: 1.5 }, /* @__PURE__ */ React97.createElement(PopoverGridContainer, null, /* @__PURE__ */ React97.createElement(ChildControl, { ...props })));
8262
+ return /* @__PURE__ */ React98.createElement(PopoverContent, { p: 1.5 }, /* @__PURE__ */ React98.createElement(PopoverGridContainer, null, /* @__PURE__ */ React98.createElement(ChildControl, { ...props })));
8266
8263
  };
8267
8264
  var interpolate = (template, data) => {
8268
8265
  if (!data) {
@@ -8345,7 +8342,7 @@ var ItemLabel4 = ({ value }) => {
8345
8342
  const label = showPlaceholder ? placeholder : interpolate(patternLabel, value);
8346
8343
  const isReadOnly = !!childProps?.readOnly;
8347
8344
  const color = getTextColor(isReadOnly, showPlaceholder);
8348
- return /* @__PURE__ */ React97.createElement(Box23, { component: "span", color }, label);
8345
+ return /* @__PURE__ */ React98.createElement(Box23, { component: "span", color }, label);
8349
8346
  };
8350
8347
  var getAllProperties = (pattern) => {
8351
8348
  const properties = pattern.match(PLACEHOLDER_REGEX)?.map((match) => match.slice(2, -1)) || [];
@@ -8353,7 +8350,7 @@ var getAllProperties = (pattern) => {
8353
8350
  };
8354
8351
 
8355
8352
  // src/controls/key-value-control.tsx
8356
- import * as React98 from "react";
8353
+ import * as React99 from "react";
8357
8354
  import { useMemo as useMemo14, useState as useState20 } from "react";
8358
8355
  import {
8359
8356
  isTransformable,
@@ -8450,14 +8447,14 @@ var KeyValueControl = createControl((props = {}) => {
8450
8447
  });
8451
8448
  }
8452
8449
  };
8453
- return /* @__PURE__ */ React98.createElement(PropProvider, { ...propContext, value, setValue: handleChange }, /* @__PURE__ */ React98.createElement(Grid19, { container: true, gap: 1.5 }, /* @__PURE__ */ React98.createElement(Grid19, { item: true, xs: 12, display: "flex", flexDirection: "column" }, /* @__PURE__ */ React98.createElement(FormLabel3, { size: "tiny", sx: { pb: 1 } }, keyLabel), /* @__PURE__ */ React98.createElement(PropKeyProvider, { bind: "key" }, /* @__PURE__ */ React98.createElement(
8450
+ return /* @__PURE__ */ React99.createElement(PropProvider, { ...propContext, value, setValue: handleChange }, /* @__PURE__ */ React99.createElement(Grid19, { container: true, gap: 1.5 }, /* @__PURE__ */ React99.createElement(Grid19, { item: true, xs: 12, display: "flex", flexDirection: "column" }, /* @__PURE__ */ React99.createElement(FormLabel3, { size: "tiny", sx: { pb: 1 } }, keyLabel), /* @__PURE__ */ React99.createElement(PropKeyProvider, { bind: "key" }, /* @__PURE__ */ React99.createElement(
8454
8451
  TextControl,
8455
8452
  {
8456
8453
  inputValue: props.escapeHtml ? escapeHtmlAttr(sessionState.key) : sessionState.key,
8457
8454
  error: !!keyError,
8458
8455
  helperText: keyHelper
8459
8456
  }
8460
- )), !!keyError && /* @__PURE__ */ React98.createElement(FormHelperText, { error: true }, keyError)), /* @__PURE__ */ React98.createElement(Grid19, { item: true, xs: 12, display: "flex", flexDirection: "column" }, /* @__PURE__ */ React98.createElement(FormLabel3, { size: "tiny", sx: { pb: 1 } }, valueLabel), /* @__PURE__ */ React98.createElement(PropKeyProvider, { bind: "value" }, /* @__PURE__ */ React98.createElement(
8457
+ )), !!keyError && /* @__PURE__ */ React99.createElement(FormHelperText, { error: true }, keyError)), /* @__PURE__ */ React99.createElement(Grid19, { item: true, xs: 12, display: "flex", flexDirection: "column" }, /* @__PURE__ */ React99.createElement(FormLabel3, { size: "tiny", sx: { pb: 1 } }, valueLabel), /* @__PURE__ */ React99.createElement(PropKeyProvider, { bind: "value" }, /* @__PURE__ */ React99.createElement(
8461
8458
  TextControl,
8462
8459
  {
8463
8460
  inputValue: props.escapeHtml ? escapeHtmlAttr(sessionState.value) : sessionState.value,
@@ -8465,11 +8462,11 @@ var KeyValueControl = createControl((props = {}) => {
8465
8462
  inputDisabled: !!keyError,
8466
8463
  helperText: valueHelper
8467
8464
  }
8468
- )), !!valueError && /* @__PURE__ */ React98.createElement(FormHelperText, { error: true }, valueError))));
8465
+ )), !!valueError && /* @__PURE__ */ React99.createElement(FormHelperText, { error: true }, valueError))));
8469
8466
  });
8470
8467
 
8471
8468
  // src/controls/position-control.tsx
8472
- import * as React99 from "react";
8469
+ import * as React100 from "react";
8473
8470
  import { positionPropTypeUtil, stringPropTypeUtil as stringPropTypeUtil19 } from "@elementor/editor-props";
8474
8471
  import { MenuListItem as MenuListItem7 } from "@elementor/editor-ui";
8475
8472
  import { LetterXIcon as LetterXIcon2, LetterYIcon as LetterYIcon2 } from "@elementor/icons";
@@ -8500,7 +8497,7 @@ var PositionControl = () => {
8500
8497
  stringPropContext.setValue(value);
8501
8498
  }
8502
8499
  };
8503
- return /* @__PURE__ */ React99.createElement(Grid20, { container: true, spacing: 1.5 }, /* @__PURE__ */ React99.createElement(Grid20, { item: true, xs: 12 }, /* @__PURE__ */ React99.createElement(Grid20, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React99.createElement(Grid20, { item: true, xs: 6 }, /* @__PURE__ */ React99.createElement(ControlFormLabel, null, __47("Object position", "elementor"))), /* @__PURE__ */ React99.createElement(Grid20, { item: true, xs: 6, sx: { overflow: "hidden" } }, /* @__PURE__ */ React99.createElement(
8500
+ return /* @__PURE__ */ React100.createElement(Grid20, { container: true, spacing: 1.5 }, /* @__PURE__ */ React100.createElement(Grid20, { item: true, xs: 12 }, /* @__PURE__ */ React100.createElement(Grid20, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React100.createElement(Grid20, { item: true, xs: 6 }, /* @__PURE__ */ React100.createElement(ControlFormLabel, null, __47("Object position", "elementor"))), /* @__PURE__ */ React100.createElement(Grid20, { item: true, xs: 6, sx: { overflow: "hidden" } }, /* @__PURE__ */ React100.createElement(
8504
8501
  Select5,
8505
8502
  {
8506
8503
  size: "tiny",
@@ -8511,28 +8508,28 @@ var PositionControl = () => {
8511
8508
  renderValue: (selectedValue) => getSelectRenderValue(positionOptions, placeholder, selectedValue),
8512
8509
  fullWidth: true
8513
8510
  },
8514
- positionOptions.map(({ label, value }) => /* @__PURE__ */ React99.createElement(MenuListItem7, { key: value, value: value ?? "" }, label))
8515
- )))), isCustom && /* @__PURE__ */ React99.createElement(PropProvider, { ...positionContext }, /* @__PURE__ */ React99.createElement(Grid20, { item: true, xs: 12 }, /* @__PURE__ */ React99.createElement(Grid20, { container: true, spacing: 1.5 }, /* @__PURE__ */ React99.createElement(Grid20, { item: true, xs: 6 }, /* @__PURE__ */ React99.createElement(PropKeyProvider, { bind: "x" }, /* @__PURE__ */ React99.createElement(
8511
+ positionOptions.map(({ label, value }) => /* @__PURE__ */ React100.createElement(MenuListItem7, { key: value, value: value ?? "" }, label))
8512
+ )))), isCustom && /* @__PURE__ */ React100.createElement(PropProvider, { ...positionContext }, /* @__PURE__ */ React100.createElement(Grid20, { item: true, xs: 12 }, /* @__PURE__ */ React100.createElement(Grid20, { container: true, spacing: 1.5 }, /* @__PURE__ */ React100.createElement(Grid20, { item: true, xs: 6 }, /* @__PURE__ */ React100.createElement(PropKeyProvider, { bind: "x" }, /* @__PURE__ */ React100.createElement(
8516
8513
  SizeControl,
8517
8514
  {
8518
- startIcon: /* @__PURE__ */ React99.createElement(LetterXIcon2, { fontSize: "tiny" }),
8515
+ startIcon: /* @__PURE__ */ React100.createElement(LetterXIcon2, { fontSize: "tiny" }),
8519
8516
  min: -Number.MAX_SAFE_INTEGER
8520
8517
  }
8521
- ))), /* @__PURE__ */ React99.createElement(Grid20, { item: true, xs: 6 }, /* @__PURE__ */ React99.createElement(PropKeyProvider, { bind: "y" }, /* @__PURE__ */ React99.createElement(
8518
+ ))), /* @__PURE__ */ React100.createElement(Grid20, { item: true, xs: 6 }, /* @__PURE__ */ React100.createElement(PropKeyProvider, { bind: "y" }, /* @__PURE__ */ React100.createElement(
8522
8519
  SizeControl,
8523
8520
  {
8524
- startIcon: /* @__PURE__ */ React99.createElement(LetterYIcon2, { fontSize: "tiny" }),
8521
+ startIcon: /* @__PURE__ */ React100.createElement(LetterYIcon2, { fontSize: "tiny" }),
8525
8522
  min: -Number.MAX_SAFE_INTEGER
8526
8523
  }
8527
8524
  )))))));
8528
8525
  };
8529
8526
 
8530
8527
  // src/controls/transform-control/transform-repeater-control.tsx
8531
- import * as React112 from "react";
8528
+ import * as React113 from "react";
8532
8529
  import { useRef as useRef28 } from "react";
8533
8530
  import { transformFunctionsPropTypeUtil, transformPropTypeUtil } from "@elementor/editor-props";
8534
8531
  import { AdjustmentsIcon as AdjustmentsIcon2, InfoCircleFilledIcon as InfoCircleFilledIcon2 } from "@elementor/icons";
8535
- import { bindTrigger as bindTrigger5, Box as Box27, IconButton as IconButton8, Tooltip as Tooltip11, Typography as Typography11, usePopupState as usePopupState11 } from "@elementor/ui";
8532
+ import { bindTrigger as bindTrigger5, Box as Box27, IconButton as IconButton9, Tooltip as Tooltip11, Typography as Typography10, usePopupState as usePopupState10 } from "@elementor/ui";
8536
8533
  import { __ as __57 } from "@wordpress/i18n";
8537
8534
 
8538
8535
  // src/controls/transform-control/initial-values.ts
@@ -8587,12 +8584,12 @@ var initialSkewValue = skewTransformPropTypeUtil.create({
8587
8584
  });
8588
8585
 
8589
8586
  // src/controls/transform-control/transform-content.tsx
8590
- import * as React106 from "react";
8587
+ import * as React107 from "react";
8591
8588
  import { Box as Box24, Tab as Tab2, TabPanel as TabPanel2, Tabs as Tabs2 } from "@elementor/ui";
8592
8589
  import { __ as __52 } from "@wordpress/i18n";
8593
8590
 
8594
8591
  // src/controls/transform-control/functions/move.tsx
8595
- import * as React101 from "react";
8592
+ import * as React102 from "react";
8596
8593
  import { useRef as useRef21 } from "react";
8597
8594
  import { moveTransformPropTypeUtil } from "@elementor/editor-props";
8598
8595
  import { ArrowDownLeftIcon, ArrowDownSmallIcon, ArrowRightIcon } from "@elementor/icons";
@@ -8600,11 +8597,11 @@ import { Grid as Grid22 } from "@elementor/ui";
8600
8597
  import { __ as __48 } from "@wordpress/i18n";
8601
8598
 
8602
8599
  // src/controls/transform-control/functions/axis-row.tsx
8603
- import * as React100 from "react";
8600
+ import * as React101 from "react";
8604
8601
  import { Grid as Grid21 } from "@elementor/ui";
8605
8602
  var AxisRow = ({ label, bind, startIcon, anchorRef, units: units2, variant = "angle" }) => {
8606
8603
  const safeId = label.replace(/\s+/g, "-").toLowerCase();
8607
- return /* @__PURE__ */ React100.createElement(Grid21, { item: true, xs: 12 }, /* @__PURE__ */ React100.createElement(PopoverGridContainer, { ref: anchorRef }, /* @__PURE__ */ React100.createElement(Grid21, { item: true, xs: 6 }, /* @__PURE__ */ React100.createElement(ControlLabel, { htmlFor: safeId }, label)), /* @__PURE__ */ React100.createElement(Grid21, { item: true, xs: 6 }, /* @__PURE__ */ React100.createElement(PropKeyProvider, { bind }, /* @__PURE__ */ React100.createElement(
8604
+ return /* @__PURE__ */ React101.createElement(Grid21, { item: true, xs: 12 }, /* @__PURE__ */ React101.createElement(PopoverGridContainer, { ref: anchorRef }, /* @__PURE__ */ React101.createElement(Grid21, { item: true, xs: 6 }, /* @__PURE__ */ React101.createElement(ControlLabel, { htmlFor: safeId }, label)), /* @__PURE__ */ React101.createElement(Grid21, { item: true, xs: 6 }, /* @__PURE__ */ React101.createElement(PropKeyProvider, { bind }, /* @__PURE__ */ React101.createElement(
8608
8605
  SizeControl,
8609
8606
  {
8610
8607
  anchorRef,
@@ -8622,26 +8619,26 @@ var moveAxisControls = [
8622
8619
  {
8623
8620
  label: __48("Move X", "elementor"),
8624
8621
  bind: "x",
8625
- startIcon: /* @__PURE__ */ React101.createElement(ArrowRightIcon, { fontSize: "tiny" }),
8622
+ startIcon: /* @__PURE__ */ React102.createElement(ArrowRightIcon, { fontSize: "tiny" }),
8626
8623
  units: ["px", "%", "em", "rem", "vw"]
8627
8624
  },
8628
8625
  {
8629
8626
  label: __48("Move Y", "elementor"),
8630
8627
  bind: "y",
8631
- startIcon: /* @__PURE__ */ React101.createElement(ArrowDownSmallIcon, { fontSize: "tiny" }),
8628
+ startIcon: /* @__PURE__ */ React102.createElement(ArrowDownSmallIcon, { fontSize: "tiny" }),
8632
8629
  units: ["px", "%", "em", "rem", "vh"]
8633
8630
  },
8634
8631
  {
8635
8632
  label: __48("Move Z", "elementor"),
8636
8633
  bind: "z",
8637
- startIcon: /* @__PURE__ */ React101.createElement(ArrowDownLeftIcon, { fontSize: "tiny" }),
8634
+ startIcon: /* @__PURE__ */ React102.createElement(ArrowDownLeftIcon, { fontSize: "tiny" }),
8638
8635
  units: ["px", "%", "em", "rem", "vw", "vh"]
8639
8636
  }
8640
8637
  ];
8641
8638
  var Move = () => {
8642
8639
  const context = useBoundProp(moveTransformPropTypeUtil);
8643
8640
  const rowRefs = [useRef21(null), useRef21(null), useRef21(null)];
8644
- return /* @__PURE__ */ React101.createElement(Grid22, { container: true, spacing: 1.5 }, /* @__PURE__ */ React101.createElement(PropProvider, { ...context }, /* @__PURE__ */ React101.createElement(PropKeyProvider, { bind: TransformFunctionKeys.move }, moveAxisControls.map((control, index) => /* @__PURE__ */ React101.createElement(
8641
+ return /* @__PURE__ */ React102.createElement(Grid22, { container: true, spacing: 1.5 }, /* @__PURE__ */ React102.createElement(PropProvider, { ...context }, /* @__PURE__ */ React102.createElement(PropKeyProvider, { bind: TransformFunctionKeys.move }, moveAxisControls.map((control, index) => /* @__PURE__ */ React102.createElement(
8645
8642
  AxisRow,
8646
8643
  {
8647
8644
  key: control.bind,
@@ -8654,7 +8651,7 @@ var Move = () => {
8654
8651
  };
8655
8652
 
8656
8653
  // src/controls/transform-control/functions/rotate.tsx
8657
- import * as React102 from "react";
8654
+ import * as React103 from "react";
8658
8655
  import { useRef as useRef22 } from "react";
8659
8656
  import { rotateTransformPropTypeUtil as rotateTransformPropTypeUtil2 } from "@elementor/editor-props";
8660
8657
  import { Arrow360Icon, RotateClockwiseIcon } from "@elementor/icons";
@@ -8664,24 +8661,24 @@ var rotateAxisControls = [
8664
8661
  {
8665
8662
  label: __49("Rotate X", "elementor"),
8666
8663
  bind: "x",
8667
- startIcon: /* @__PURE__ */ React102.createElement(Arrow360Icon, { fontSize: "tiny" })
8664
+ startIcon: /* @__PURE__ */ React103.createElement(Arrow360Icon, { fontSize: "tiny" })
8668
8665
  },
8669
8666
  {
8670
8667
  label: __49("Rotate Y", "elementor"),
8671
8668
  bind: "y",
8672
- startIcon: /* @__PURE__ */ React102.createElement(Arrow360Icon, { fontSize: "tiny", style: { transform: "scaleX(-1) rotate(-90deg)" } })
8669
+ startIcon: /* @__PURE__ */ React103.createElement(Arrow360Icon, { fontSize: "tiny", style: { transform: "scaleX(-1) rotate(-90deg)" } })
8673
8670
  },
8674
8671
  {
8675
8672
  label: __49("Rotate Z", "elementor"),
8676
8673
  bind: "z",
8677
- startIcon: /* @__PURE__ */ React102.createElement(RotateClockwiseIcon, { fontSize: "tiny" })
8674
+ startIcon: /* @__PURE__ */ React103.createElement(RotateClockwiseIcon, { fontSize: "tiny" })
8678
8675
  }
8679
8676
  ];
8680
8677
  var rotateUnits = ["deg", "rad", "grad", "turn"];
8681
8678
  var Rotate = () => {
8682
8679
  const context = useBoundProp(rotateTransformPropTypeUtil2);
8683
8680
  const rowRefs = [useRef22(null), useRef22(null), useRef22(null)];
8684
- return /* @__PURE__ */ React102.createElement(Grid23, { container: true, spacing: 1.5 }, /* @__PURE__ */ React102.createElement(PropProvider, { ...context }, /* @__PURE__ */ React102.createElement(PropKeyProvider, { bind: TransformFunctionKeys.rotate }, rotateAxisControls.map((control, index) => /* @__PURE__ */ React102.createElement(
8681
+ return /* @__PURE__ */ React103.createElement(Grid23, { container: true, spacing: 1.5 }, /* @__PURE__ */ React103.createElement(PropProvider, { ...context }, /* @__PURE__ */ React103.createElement(PropKeyProvider, { bind: TransformFunctionKeys.rotate }, rotateAxisControls.map((control, index) => /* @__PURE__ */ React103.createElement(
8685
8682
  AxisRow,
8686
8683
  {
8687
8684
  key: control.bind,
@@ -8693,7 +8690,7 @@ var Rotate = () => {
8693
8690
  };
8694
8691
 
8695
8692
  // src/controls/transform-control/functions/scale.tsx
8696
- import * as React104 from "react";
8693
+ import * as React105 from "react";
8697
8694
  import { useRef as useRef23 } from "react";
8698
8695
  import { scaleTransformPropTypeUtil as scaleTransformPropTypeUtil2 } from "@elementor/editor-props";
8699
8696
  import { ArrowDownLeftIcon as ArrowDownLeftIcon2, ArrowDownSmallIcon as ArrowDownSmallIcon2, ArrowRightIcon as ArrowRightIcon2 } from "@elementor/icons";
@@ -8701,10 +8698,10 @@ import { Grid as Grid25 } from "@elementor/ui";
8701
8698
  import { __ as __50 } from "@wordpress/i18n";
8702
8699
 
8703
8700
  // src/controls/transform-control/functions/scale-axis-row.tsx
8704
- import * as React103 from "react";
8701
+ import * as React104 from "react";
8705
8702
  import { Grid as Grid24 } from "@elementor/ui";
8706
8703
  var ScaleAxisRow = ({ label, bind, startIcon, anchorRef }) => {
8707
- return /* @__PURE__ */ React103.createElement(Grid24, { item: true, xs: 12 }, /* @__PURE__ */ React103.createElement(PopoverGridContainer, { ref: anchorRef }, /* @__PURE__ */ React103.createElement(Grid24, { item: true, xs: 6 }, /* @__PURE__ */ React103.createElement(ControlLabel, null, label)), /* @__PURE__ */ React103.createElement(Grid24, { item: true, xs: 6 }, /* @__PURE__ */ React103.createElement(PropKeyProvider, { bind }, /* @__PURE__ */ React103.createElement(NumberControl, { step: 0.1, placeholder: "1", startIcon })))));
8704
+ return /* @__PURE__ */ React104.createElement(Grid24, { item: true, xs: 12 }, /* @__PURE__ */ React104.createElement(PopoverGridContainer, { ref: anchorRef }, /* @__PURE__ */ React104.createElement(Grid24, { item: true, xs: 6 }, /* @__PURE__ */ React104.createElement(ControlLabel, null, label)), /* @__PURE__ */ React104.createElement(Grid24, { item: true, xs: 6 }, /* @__PURE__ */ React104.createElement(PropKeyProvider, { bind }, /* @__PURE__ */ React104.createElement(NumberControl, { step: 0.1, placeholder: "1", startIcon })))));
8708
8705
  };
8709
8706
 
8710
8707
  // src/controls/transform-control/functions/scale.tsx
@@ -8712,27 +8709,27 @@ var scaleAxisControls = [
8712
8709
  {
8713
8710
  label: __50("Scale X", "elementor"),
8714
8711
  bind: "x",
8715
- startIcon: /* @__PURE__ */ React104.createElement(ArrowRightIcon2, { fontSize: "tiny" })
8712
+ startIcon: /* @__PURE__ */ React105.createElement(ArrowRightIcon2, { fontSize: "tiny" })
8716
8713
  },
8717
8714
  {
8718
8715
  label: __50("Scale Y", "elementor"),
8719
8716
  bind: "y",
8720
- startIcon: /* @__PURE__ */ React104.createElement(ArrowDownSmallIcon2, { fontSize: "tiny" })
8717
+ startIcon: /* @__PURE__ */ React105.createElement(ArrowDownSmallIcon2, { fontSize: "tiny" })
8721
8718
  },
8722
8719
  {
8723
8720
  label: __50("Scale Z", "elementor"),
8724
8721
  bind: "z",
8725
- startIcon: /* @__PURE__ */ React104.createElement(ArrowDownLeftIcon2, { fontSize: "tiny" })
8722
+ startIcon: /* @__PURE__ */ React105.createElement(ArrowDownLeftIcon2, { fontSize: "tiny" })
8726
8723
  }
8727
8724
  ];
8728
8725
  var Scale = () => {
8729
8726
  const context = useBoundProp(scaleTransformPropTypeUtil2);
8730
8727
  const rowRefs = [useRef23(null), useRef23(null), useRef23(null)];
8731
- return /* @__PURE__ */ React104.createElement(Grid25, { container: true, spacing: 1.5 }, /* @__PURE__ */ React104.createElement(PropProvider, { ...context }, /* @__PURE__ */ React104.createElement(PropKeyProvider, { bind: TransformFunctionKeys.scale }, scaleAxisControls.map((control, index) => /* @__PURE__ */ React104.createElement(ScaleAxisRow, { key: control.bind, ...control, anchorRef: rowRefs[index] })))));
8728
+ return /* @__PURE__ */ React105.createElement(Grid25, { container: true, spacing: 1.5 }, /* @__PURE__ */ React105.createElement(PropProvider, { ...context }, /* @__PURE__ */ React105.createElement(PropKeyProvider, { bind: TransformFunctionKeys.scale }, scaleAxisControls.map((control, index) => /* @__PURE__ */ React105.createElement(ScaleAxisRow, { key: control.bind, ...control, anchorRef: rowRefs[index] })))));
8732
8729
  };
8733
8730
 
8734
8731
  // src/controls/transform-control/functions/skew.tsx
8735
- import * as React105 from "react";
8732
+ import * as React106 from "react";
8736
8733
  import { useRef as useRef24 } from "react";
8737
8734
  import { skewTransformPropTypeUtil as skewTransformPropTypeUtil2 } from "@elementor/editor-props";
8738
8735
  import { ArrowLeftIcon, ArrowRightIcon as ArrowRightIcon3 } from "@elementor/icons";
@@ -8742,19 +8739,19 @@ var skewAxisControls = [
8742
8739
  {
8743
8740
  label: __51("Skew X", "elementor"),
8744
8741
  bind: "x",
8745
- startIcon: /* @__PURE__ */ React105.createElement(ArrowRightIcon3, { fontSize: "tiny" })
8742
+ startIcon: /* @__PURE__ */ React106.createElement(ArrowRightIcon3, { fontSize: "tiny" })
8746
8743
  },
8747
8744
  {
8748
8745
  label: __51("Skew Y", "elementor"),
8749
8746
  bind: "y",
8750
- startIcon: /* @__PURE__ */ React105.createElement(ArrowLeftIcon, { fontSize: "tiny", style: { transform: "scaleX(-1) rotate(-90deg)" } })
8747
+ startIcon: /* @__PURE__ */ React106.createElement(ArrowLeftIcon, { fontSize: "tiny", style: { transform: "scaleX(-1) rotate(-90deg)" } })
8751
8748
  }
8752
8749
  ];
8753
8750
  var skewUnits = ["deg", "rad", "grad", "turn"];
8754
8751
  var Skew = () => {
8755
8752
  const context = useBoundProp(skewTransformPropTypeUtil2);
8756
8753
  const rowRefs = [useRef24(null), useRef24(null), useRef24(null)];
8757
- return /* @__PURE__ */ React105.createElement(Grid26, { container: true, spacing: 1.5 }, /* @__PURE__ */ React105.createElement(PropProvider, { ...context }, /* @__PURE__ */ React105.createElement(PropKeyProvider, { bind: TransformFunctionKeys.skew }, skewAxisControls.map((control, index) => /* @__PURE__ */ React105.createElement(
8754
+ return /* @__PURE__ */ React106.createElement(Grid26, { container: true, spacing: 1.5 }, /* @__PURE__ */ React106.createElement(PropProvider, { ...context }, /* @__PURE__ */ React106.createElement(PropKeyProvider, { bind: TransformFunctionKeys.skew }, skewAxisControls.map((control, index) => /* @__PURE__ */ React106.createElement(
8758
8755
  AxisRow,
8759
8756
  {
8760
8757
  key: control.bind,
@@ -8859,7 +8856,7 @@ var TransformContent = () => {
8859
8856
  rotate: initialRotateValue.value,
8860
8857
  skew: initialSkewValue.value
8861
8858
  });
8862
- return /* @__PURE__ */ React106.createElement(PopoverContent, null, /* @__PURE__ */ React106.createElement(Box24, { sx: { width: "100%" } }, /* @__PURE__ */ React106.createElement(Box24, { sx: { borderBottom: 1, borderColor: "divider" } }, /* @__PURE__ */ React106.createElement(
8859
+ return /* @__PURE__ */ React107.createElement(PopoverContent, null, /* @__PURE__ */ React107.createElement(Box24, { sx: { width: "100%" } }, /* @__PURE__ */ React107.createElement(Box24, { sx: { borderBottom: 1, borderColor: "divider" } }, /* @__PURE__ */ React107.createElement(
8863
8860
  Tabs2,
8864
8861
  {
8865
8862
  size: "small",
@@ -8872,33 +8869,33 @@ var TransformContent = () => {
8872
8869
  ...getTabsProps(),
8873
8870
  "aria-label": __52("Transform", "elementor")
8874
8871
  },
8875
- /* @__PURE__ */ React106.createElement(Tab2, { label: __52("Move", "elementor"), ...getTabProps(TransformFunctionKeys.move) }),
8876
- /* @__PURE__ */ React106.createElement(Tab2, { label: __52("Scale", "elementor"), ...getTabProps(TransformFunctionKeys.scale) }),
8877
- /* @__PURE__ */ React106.createElement(Tab2, { label: __52("Rotate", "elementor"), ...getTabProps(TransformFunctionKeys.rotate) }),
8878
- /* @__PURE__ */ React106.createElement(Tab2, { label: __52("Skew", "elementor"), ...getTabProps(TransformFunctionKeys.skew) })
8879
- )), /* @__PURE__ */ React106.createElement(TabPanel2, { sx: { p: 1.5 }, ...getTabPanelProps(TransformFunctionKeys.move) }, /* @__PURE__ */ React106.createElement(Move, null)), /* @__PURE__ */ React106.createElement(TabPanel2, { sx: { p: 1.5 }, ...getTabPanelProps(TransformFunctionKeys.scale) }, /* @__PURE__ */ React106.createElement(Scale, null)), /* @__PURE__ */ React106.createElement(TabPanel2, { sx: { p: 1.5 }, ...getTabPanelProps(TransformFunctionKeys.rotate) }, /* @__PURE__ */ React106.createElement(Rotate, null)), /* @__PURE__ */ React106.createElement(TabPanel2, { sx: { p: 1.5 }, ...getTabPanelProps(TransformFunctionKeys.skew) }, /* @__PURE__ */ React106.createElement(Skew, null))));
8872
+ /* @__PURE__ */ React107.createElement(Tab2, { label: __52("Move", "elementor"), ...getTabProps(TransformFunctionKeys.move) }),
8873
+ /* @__PURE__ */ React107.createElement(Tab2, { label: __52("Scale", "elementor"), ...getTabProps(TransformFunctionKeys.scale) }),
8874
+ /* @__PURE__ */ React107.createElement(Tab2, { label: __52("Rotate", "elementor"), ...getTabProps(TransformFunctionKeys.rotate) }),
8875
+ /* @__PURE__ */ React107.createElement(Tab2, { label: __52("Skew", "elementor"), ...getTabProps(TransformFunctionKeys.skew) })
8876
+ )), /* @__PURE__ */ React107.createElement(TabPanel2, { sx: { p: 1.5 }, ...getTabPanelProps(TransformFunctionKeys.move) }, /* @__PURE__ */ React107.createElement(Move, null)), /* @__PURE__ */ React107.createElement(TabPanel2, { sx: { p: 1.5 }, ...getTabPanelProps(TransformFunctionKeys.scale) }, /* @__PURE__ */ React107.createElement(Scale, null)), /* @__PURE__ */ React107.createElement(TabPanel2, { sx: { p: 1.5 }, ...getTabPanelProps(TransformFunctionKeys.rotate) }, /* @__PURE__ */ React107.createElement(Rotate, null)), /* @__PURE__ */ React107.createElement(TabPanel2, { sx: { p: 1.5 }, ...getTabPanelProps(TransformFunctionKeys.skew) }, /* @__PURE__ */ React107.createElement(Skew, null))));
8880
8877
  };
8881
8878
 
8882
8879
  // src/controls/transform-control/transform-icon.tsx
8883
- import * as React107 from "react";
8880
+ import * as React108 from "react";
8884
8881
  import { ArrowAutofitHeightIcon, ArrowsMaximizeIcon as ArrowsMaximizeIcon2, RotateClockwise2Icon, SkewXIcon } from "@elementor/icons";
8885
8882
  var TransformIcon = ({ value }) => {
8886
8883
  switch (value.$$type) {
8887
8884
  case TransformFunctionKeys.move:
8888
- return /* @__PURE__ */ React107.createElement(ArrowsMaximizeIcon2, { fontSize: "tiny" });
8885
+ return /* @__PURE__ */ React108.createElement(ArrowsMaximizeIcon2, { fontSize: "tiny" });
8889
8886
  case TransformFunctionKeys.scale:
8890
- return /* @__PURE__ */ React107.createElement(ArrowAutofitHeightIcon, { fontSize: "tiny" });
8887
+ return /* @__PURE__ */ React108.createElement(ArrowAutofitHeightIcon, { fontSize: "tiny" });
8891
8888
  case TransformFunctionKeys.rotate:
8892
- return /* @__PURE__ */ React107.createElement(RotateClockwise2Icon, { fontSize: "tiny" });
8889
+ return /* @__PURE__ */ React108.createElement(RotateClockwise2Icon, { fontSize: "tiny" });
8893
8890
  case TransformFunctionKeys.skew:
8894
- return /* @__PURE__ */ React107.createElement(SkewXIcon, { fontSize: "tiny" });
8891
+ return /* @__PURE__ */ React108.createElement(SkewXIcon, { fontSize: "tiny" });
8895
8892
  default:
8896
8893
  return null;
8897
8894
  }
8898
8895
  };
8899
8896
 
8900
8897
  // src/controls/transform-control/transform-label.tsx
8901
- import * as React108 from "react";
8898
+ import * as React109 from "react";
8902
8899
  import { Box as Box25 } from "@elementor/ui";
8903
8900
  import { __ as __53 } from "@wordpress/i18n";
8904
8901
  var orderedAxis = ["x", "y", "z"];
@@ -8918,33 +8915,33 @@ var TransformLabel = (props) => {
8918
8915
  const { $$type, value } = props.value;
8919
8916
  switch ($$type) {
8920
8917
  case TransformFunctionKeys.move:
8921
- return /* @__PURE__ */ React108.createElement(Label2, { label: __53("Move", "elementor"), value: formatLabel(value, "move") });
8918
+ return /* @__PURE__ */ React109.createElement(Label2, { label: __53("Move", "elementor"), value: formatLabel(value, "move") });
8922
8919
  case TransformFunctionKeys.scale:
8923
- return /* @__PURE__ */ React108.createElement(Label2, { label: __53("Scale", "elementor"), value: formatLabel(value, "scale") });
8920
+ return /* @__PURE__ */ React109.createElement(Label2, { label: __53("Scale", "elementor"), value: formatLabel(value, "scale") });
8924
8921
  case TransformFunctionKeys.rotate:
8925
- return /* @__PURE__ */ React108.createElement(Label2, { label: __53("Rotate", "elementor"), value: formatLabel(value, "rotate") });
8922
+ return /* @__PURE__ */ React109.createElement(Label2, { label: __53("Rotate", "elementor"), value: formatLabel(value, "rotate") });
8926
8923
  case TransformFunctionKeys.skew:
8927
- return /* @__PURE__ */ React108.createElement(Label2, { label: __53("Skew", "elementor"), value: formatLabel(value, "skew") });
8924
+ return /* @__PURE__ */ React109.createElement(Label2, { label: __53("Skew", "elementor"), value: formatLabel(value, "skew") });
8928
8925
  default:
8929
8926
  return "";
8930
8927
  }
8931
8928
  };
8932
8929
  var Label2 = ({ label, value }) => {
8933
- return /* @__PURE__ */ React108.createElement(Box25, { component: "span" }, label, ": ", value);
8930
+ return /* @__PURE__ */ React109.createElement(Box25, { component: "span" }, label, ": ", value);
8934
8931
  };
8935
8932
 
8936
8933
  // src/controls/transform-control/transform-settings-control.tsx
8937
- import * as React111 from "react";
8934
+ import * as React112 from "react";
8938
8935
  import { PopoverHeader as PopoverHeader5 } from "@elementor/editor-ui";
8939
8936
  import { AdjustmentsIcon } from "@elementor/icons";
8940
8937
  import { bindPopover as bindPopover6, Box as Box26, Divider as Divider6, Popover as Popover7 } from "@elementor/ui";
8941
8938
  import { __ as __56 } from "@wordpress/i18n";
8942
8939
 
8943
8940
  // src/controls/transform-control/transform-base-controls/children-perspective-control.tsx
8944
- import * as React109 from "react";
8941
+ import * as React110 from "react";
8945
8942
  import { useRef as useRef26 } from "react";
8946
8943
  import { perspectiveOriginPropTypeUtil } from "@elementor/editor-props";
8947
- import { Grid as Grid27, Stack as Stack19 } from "@elementor/ui";
8944
+ import { Grid as Grid27, Stack as Stack18 } from "@elementor/ui";
8948
8945
  import { __ as __54 } from "@wordpress/i18n";
8949
8946
  var ORIGIN_UNITS = ["px", "%", "em", "rem"];
8950
8947
  var PERSPECTIVE_CONTROL_FIELD = {
@@ -8965,24 +8962,24 @@ var CHILDREN_PERSPECTIVE_FIELDS = [
8965
8962
  }
8966
8963
  ];
8967
8964
  var ChildrenPerspectiveControl = () => {
8968
- return /* @__PURE__ */ React109.createElement(Stack19, { direction: "column", spacing: 1.5 }, /* @__PURE__ */ React109.createElement(ControlFormLabel, null, __54("Children perspective", "elementor")), /* @__PURE__ */ React109.createElement(PerspectiveControl, null), /* @__PURE__ */ React109.createElement(PerspectiveOriginControl, null));
8965
+ return /* @__PURE__ */ React110.createElement(Stack18, { direction: "column", spacing: 1.5 }, /* @__PURE__ */ React110.createElement(ControlFormLabel, null, __54("Children perspective", "elementor")), /* @__PURE__ */ React110.createElement(PerspectiveControl, null), /* @__PURE__ */ React110.createElement(PerspectiveOriginControl, null));
8969
8966
  };
8970
- var PerspectiveControl = () => /* @__PURE__ */ React109.createElement(PropKeyProvider, { bind: "perspective" }, /* @__PURE__ */ React109.createElement(ControlFields, { control: PERSPECTIVE_CONTROL_FIELD, key: PERSPECTIVE_CONTROL_FIELD.bind }));
8971
- var PerspectiveOriginControl = () => /* @__PURE__ */ React109.createElement(PropKeyProvider, { bind: "perspective-origin" }, /* @__PURE__ */ React109.createElement(PerspectiveOriginControlProvider, null));
8967
+ var PerspectiveControl = () => /* @__PURE__ */ React110.createElement(PropKeyProvider, { bind: "perspective" }, /* @__PURE__ */ React110.createElement(ControlFields, { control: PERSPECTIVE_CONTROL_FIELD, key: PERSPECTIVE_CONTROL_FIELD.bind }));
8968
+ var PerspectiveOriginControl = () => /* @__PURE__ */ React110.createElement(PropKeyProvider, { bind: "perspective-origin" }, /* @__PURE__ */ React110.createElement(PerspectiveOriginControlProvider, null));
8972
8969
  var PerspectiveOriginControlProvider = () => {
8973
8970
  const context = useBoundProp(perspectiveOriginPropTypeUtil);
8974
- return /* @__PURE__ */ React109.createElement(PropProvider, { ...context }, CHILDREN_PERSPECTIVE_FIELDS.map((control) => /* @__PURE__ */ React109.createElement(PropKeyProvider, { bind: control.bind, key: control.bind }, /* @__PURE__ */ React109.createElement(ControlFields, { control }))));
8971
+ return /* @__PURE__ */ React110.createElement(PropProvider, { ...context }, CHILDREN_PERSPECTIVE_FIELDS.map((control) => /* @__PURE__ */ React110.createElement(PropKeyProvider, { bind: control.bind, key: control.bind }, /* @__PURE__ */ React110.createElement(ControlFields, { control }))));
8975
8972
  };
8976
8973
  var ControlFields = ({ control }) => {
8977
8974
  const rowRef = useRef26(null);
8978
- return /* @__PURE__ */ React109.createElement(PopoverGridContainer, { ref: rowRef }, /* @__PURE__ */ React109.createElement(Grid27, { item: true, xs: 6 }, /* @__PURE__ */ React109.createElement(ControlFormLabel, null, control.label)), /* @__PURE__ */ React109.createElement(Grid27, { item: true, xs: 6 }, /* @__PURE__ */ React109.createElement(SizeControl, { variant: "length", units: control.units, anchorRef: rowRef, disableCustom: true })));
8975
+ return /* @__PURE__ */ React110.createElement(PopoverGridContainer, { ref: rowRef }, /* @__PURE__ */ React110.createElement(Grid27, { item: true, xs: 6 }, /* @__PURE__ */ React110.createElement(ControlFormLabel, null, control.label)), /* @__PURE__ */ React110.createElement(Grid27, { item: true, xs: 6 }, /* @__PURE__ */ React110.createElement(SizeControl, { variant: "length", units: control.units, anchorRef: rowRef, disableCustom: true })));
8979
8976
  };
8980
8977
 
8981
8978
  // src/controls/transform-control/transform-base-controls/transform-origin-control.tsx
8982
- import * as React110 from "react";
8979
+ import * as React111 from "react";
8983
8980
  import { useRef as useRef27 } from "react";
8984
8981
  import { transformOriginPropTypeUtil } from "@elementor/editor-props";
8985
- import { Grid as Grid28, Stack as Stack20 } from "@elementor/ui";
8982
+ import { Grid as Grid28, Stack as Stack19 } from "@elementor/ui";
8986
8983
  import { __ as __55 } from "@wordpress/i18n";
8987
8984
  var TRANSFORM_ORIGIN_UNITS = ["px", "%", "em", "rem"];
8988
8985
  var TRANSFORM_ORIGIN_UNITS_Z_AXIS = TRANSFORM_ORIGIN_UNITS.filter((unit) => unit !== "%");
@@ -9004,12 +9001,12 @@ var TRANSFORM_ORIGIN_FIELDS = [
9004
9001
  }
9005
9002
  ];
9006
9003
  var TransformOriginControl = () => {
9007
- return /* @__PURE__ */ React110.createElement(Stack20, { direction: "column", spacing: 1.5 }, /* @__PURE__ */ React110.createElement(ControlFormLabel, null, __55("Transform", "elementor")), TRANSFORM_ORIGIN_FIELDS.map((control) => /* @__PURE__ */ React110.createElement(ControlFields2, { control, key: control.bind })));
9004
+ return /* @__PURE__ */ React111.createElement(Stack19, { direction: "column", spacing: 1.5 }, /* @__PURE__ */ React111.createElement(ControlFormLabel, null, __55("Transform", "elementor")), TRANSFORM_ORIGIN_FIELDS.map((control) => /* @__PURE__ */ React111.createElement(ControlFields2, { control, key: control.bind })));
9008
9005
  };
9009
9006
  var ControlFields2 = ({ control }) => {
9010
9007
  const context = useBoundProp(transformOriginPropTypeUtil);
9011
9008
  const rowRef = useRef27(null);
9012
- return /* @__PURE__ */ React110.createElement(PropProvider, { ...context }, /* @__PURE__ */ React110.createElement(PropKeyProvider, { bind: control.bind }, /* @__PURE__ */ React110.createElement(PopoverGridContainer, { ref: rowRef }, /* @__PURE__ */ React110.createElement(Grid28, { item: true, xs: 6 }, /* @__PURE__ */ React110.createElement(ControlFormLabel, null, control.label)), /* @__PURE__ */ React110.createElement(Grid28, { item: true, xs: 6 }, /* @__PURE__ */ React110.createElement(SizeControl, { variant: "length", units: control.units, anchorRef: rowRef })))));
9009
+ return /* @__PURE__ */ React111.createElement(PropProvider, { ...context }, /* @__PURE__ */ React111.createElement(PropKeyProvider, { bind: control.bind }, /* @__PURE__ */ React111.createElement(PopoverGridContainer, { ref: rowRef }, /* @__PURE__ */ React111.createElement(Grid28, { item: true, xs: 6 }, /* @__PURE__ */ React111.createElement(ControlFormLabel, null, control.label)), /* @__PURE__ */ React111.createElement(Grid28, { item: true, xs: 6 }, /* @__PURE__ */ React111.createElement(SizeControl, { variant: "length", units: control.units, anchorRef: rowRef })))));
9013
9010
  };
9014
9011
 
9015
9012
  // src/controls/transform-control/transform-settings-control.tsx
@@ -9023,7 +9020,7 @@ var TransformSettingsControl = ({
9023
9020
  ...popupState,
9024
9021
  anchorEl: anchorRef.current ?? void 0
9025
9022
  });
9026
- return /* @__PURE__ */ React111.createElement(
9023
+ return /* @__PURE__ */ React112.createElement(
9027
9024
  Popover7,
9028
9025
  {
9029
9026
  disablePortal: true,
@@ -9038,16 +9035,16 @@ var TransformSettingsControl = ({
9038
9035
  },
9039
9036
  ...popupProps
9040
9037
  },
9041
- /* @__PURE__ */ React111.createElement(
9038
+ /* @__PURE__ */ React112.createElement(
9042
9039
  PopoverHeader5,
9043
9040
  {
9044
9041
  title: __56("Transform settings", "elementor"),
9045
9042
  onClose: popupState.close,
9046
- icon: /* @__PURE__ */ React111.createElement(AdjustmentsIcon, { fontSize: SIZE10 })
9043
+ icon: /* @__PURE__ */ React112.createElement(AdjustmentsIcon, { fontSize: SIZE10 })
9047
9044
  }
9048
9045
  ),
9049
- /* @__PURE__ */ React111.createElement(Divider6, null),
9050
- /* @__PURE__ */ React111.createElement(PopoverContent, { sx: { px: 2, py: 1.5 } }, /* @__PURE__ */ React111.createElement(PropKeyProvider, { bind: "transform-origin" }, /* @__PURE__ */ React111.createElement(TransformOriginControl, null)), showChildrenPerspective && /* @__PURE__ */ React111.createElement(React111.Fragment, null, /* @__PURE__ */ React111.createElement(Box26, { sx: { my: 0.5 } }, /* @__PURE__ */ React111.createElement(Divider6, null)), /* @__PURE__ */ React111.createElement(ChildrenPerspectiveControl, null)))
9046
+ /* @__PURE__ */ React112.createElement(Divider6, null),
9047
+ /* @__PURE__ */ React112.createElement(PopoverContent, { sx: { px: 2, py: 1.5 } }, /* @__PURE__ */ React112.createElement(PropKeyProvider, { bind: "transform-origin" }, /* @__PURE__ */ React112.createElement(TransformOriginControl, null)), showChildrenPerspective && /* @__PURE__ */ React112.createElement(React112.Fragment, null, /* @__PURE__ */ React112.createElement(Box26, { sx: { my: 0.5 } }, /* @__PURE__ */ React112.createElement(Divider6, null)), /* @__PURE__ */ React112.createElement(ChildrenPerspectiveControl, null)))
9051
9048
  );
9052
9049
  };
9053
9050
 
@@ -9057,26 +9054,26 @@ var TransformRepeaterControl = createControl(
9057
9054
  ({ showChildrenPerspective }) => {
9058
9055
  const context = useBoundProp(transformPropTypeUtil);
9059
9056
  const headerRef = useRef28(null);
9060
- const popupState = usePopupState11({ variant: "popover" });
9061
- return /* @__PURE__ */ React112.createElement(PropProvider, { ...context }, /* @__PURE__ */ React112.createElement(
9057
+ const popupState = usePopupState10({ variant: "popover" });
9058
+ return /* @__PURE__ */ React113.createElement(PropProvider, { ...context }, /* @__PURE__ */ React113.createElement(
9062
9059
  TransformSettingsControl,
9063
9060
  {
9064
9061
  popupState,
9065
9062
  anchorRef: headerRef,
9066
9063
  showChildrenPerspective
9067
9064
  }
9068
- ), /* @__PURE__ */ React112.createElement(PropKeyProvider, { bind: "transform-functions" }, /* @__PURE__ */ React112.createElement(Repeater2, { headerRef, propType: context.propType, popupState })));
9065
+ ), /* @__PURE__ */ React113.createElement(PropKeyProvider, { bind: "transform-functions" }, /* @__PURE__ */ React113.createElement(Repeater2, { headerRef, propType: context.propType, popupState })));
9069
9066
  }
9070
9067
  );
9071
- var ToolTip = /* @__PURE__ */ React112.createElement(
9068
+ var ToolTip = /* @__PURE__ */ React113.createElement(
9072
9069
  Box27,
9073
9070
  {
9074
9071
  component: "span",
9075
9072
  "aria-label": void 0,
9076
9073
  sx: { display: "flex", gap: 0.5, p: 2, width: 320, borderRadius: 1 }
9077
9074
  },
9078
- /* @__PURE__ */ React112.createElement(InfoCircleFilledIcon2, { sx: { color: "secondary.main" } }),
9079
- /* @__PURE__ */ React112.createElement(Typography11, { variant: "body2", color: "text.secondary", fontSize: "14px" }, __57("You can use each kind of transform only once per element.", "elementor"))
9075
+ /* @__PURE__ */ React113.createElement(InfoCircleFilledIcon2, { sx: { color: "secondary.main" } }),
9076
+ /* @__PURE__ */ React113.createElement(Typography10, { variant: "body2", color: "text.secondary", fontSize: "14px" }, __57("You can use each kind of transform only once per element.", "elementor"))
9080
9077
  );
9081
9078
  var Repeater2 = ({
9082
9079
  headerRef,
@@ -9090,21 +9087,21 @@ var Repeater2 = ({
9090
9087
  return availableValues.find((value) => !transformValues?.some((item) => item.$$type === value.$$type));
9091
9088
  };
9092
9089
  const shouldDisableAddItem = !getInitialValue2();
9093
- return /* @__PURE__ */ React112.createElement(PropProvider, { ...transformFunctionsContext }, /* @__PURE__ */ React112.createElement(
9090
+ return /* @__PURE__ */ React113.createElement(PropProvider, { ...transformFunctionsContext }, /* @__PURE__ */ React113.createElement(
9094
9091
  ControlRepeater,
9095
9092
  {
9096
9093
  initial: getInitialValue2() ?? initialTransformValue,
9097
9094
  propTypeUtil: transformFunctionsPropTypeUtil
9098
9095
  },
9099
- /* @__PURE__ */ React112.createElement(
9096
+ /* @__PURE__ */ React113.createElement(
9100
9097
  RepeaterHeader,
9101
9098
  {
9102
9099
  label: __57("Transform", "elementor"),
9103
- adornment: () => /* @__PURE__ */ React112.createElement(ControlAdornments, { customContext: { path: ["transform"], propType } }),
9100
+ adornment: () => /* @__PURE__ */ React113.createElement(ControlAdornments, { customContext: { path: ["transform"], propType } }),
9104
9101
  ref: headerRef
9105
9102
  },
9106
- /* @__PURE__ */ React112.createElement(TransformBasePopoverTrigger, { popupState, repeaterBindKey: bind }),
9107
- /* @__PURE__ */ React112.createElement(
9103
+ /* @__PURE__ */ React113.createElement(TransformBasePopoverTrigger, { popupState, repeaterBindKey: bind }),
9104
+ /* @__PURE__ */ React113.createElement(
9108
9105
  TooltipAddItemAction,
9109
9106
  {
9110
9107
  disabled: shouldDisableAddItem,
@@ -9114,15 +9111,15 @@ var Repeater2 = ({
9114
9111
  }
9115
9112
  )
9116
9113
  ),
9117
- /* @__PURE__ */ React112.createElement(ItemsContainer, null, /* @__PURE__ */ React112.createElement(
9114
+ /* @__PURE__ */ React113.createElement(ItemsContainer, null, /* @__PURE__ */ React113.createElement(
9118
9115
  Item,
9119
9116
  {
9120
9117
  Icon: TransformIcon,
9121
9118
  Label: TransformLabel,
9122
- actions: /* @__PURE__ */ React112.createElement(React112.Fragment, null, /* @__PURE__ */ React112.createElement(DisableItemAction, null), /* @__PURE__ */ React112.createElement(RemoveItemAction, null))
9119
+ actions: /* @__PURE__ */ React113.createElement(React113.Fragment, null, /* @__PURE__ */ React113.createElement(DisableItemAction, null), /* @__PURE__ */ React113.createElement(RemoveItemAction, null))
9123
9120
  }
9124
9121
  )),
9125
- /* @__PURE__ */ React112.createElement(EditItemPopover, null, /* @__PURE__ */ React112.createElement(TransformContent, null))
9122
+ /* @__PURE__ */ React113.createElement(EditItemPopover, null, /* @__PURE__ */ React113.createElement(TransformContent, null))
9126
9123
  ));
9127
9124
  };
9128
9125
  var TransformBasePopoverTrigger = ({
@@ -9131,23 +9128,23 @@ var TransformBasePopoverTrigger = ({
9131
9128
  }) => {
9132
9129
  const { bind } = useBoundProp();
9133
9130
  const titleLabel = __57("Transform settings", "elementor");
9134
- return bind !== repeaterBindKey ? null : /* @__PURE__ */ React112.createElement(Tooltip11, { title: titleLabel, placement: "top" }, /* @__PURE__ */ React112.createElement(IconButton8, { size: SIZE11, "aria-label": titleLabel, ...bindTrigger5(popupState) }, /* @__PURE__ */ React112.createElement(AdjustmentsIcon2, { fontSize: SIZE11 })));
9131
+ return bind !== repeaterBindKey ? null : /* @__PURE__ */ React113.createElement(Tooltip11, { title: titleLabel, placement: "top" }, /* @__PURE__ */ React113.createElement(IconButton9, { size: SIZE11, "aria-label": titleLabel, ...bindTrigger5(popupState) }, /* @__PURE__ */ React113.createElement(AdjustmentsIcon2, { fontSize: SIZE11 })));
9135
9132
  };
9136
9133
 
9137
9134
  // src/controls/transition-control/transition-repeater-control.tsx
9138
- import * as React115 from "react";
9135
+ import * as React116 from "react";
9139
9136
  import { useEffect as useEffect17, useMemo as useMemo17, useState as useState21 } from "react";
9140
9137
  import {
9141
9138
  createArrayPropUtils as createArrayPropUtils3,
9142
9139
  selectionSizePropTypeUtil as selectionSizePropTypeUtil2
9143
9140
  } from "@elementor/editor-props";
9144
9141
  import { InfoCircleFilledIcon as InfoCircleFilledIcon3 } from "@elementor/icons";
9145
- import { Alert as Alert2, AlertTitle as AlertTitle3, Box as Box29, Typography as Typography12 } from "@elementor/ui";
9142
+ import { Alert as Alert2, AlertTitle as AlertTitle3, Box as Box29, Typography as Typography11 } from "@elementor/ui";
9146
9143
  import { hasProInstalled as hasProInstalled2 } from "@elementor/utils";
9147
9144
  import { __ as __60 } from "@wordpress/i18n";
9148
9145
 
9149
9146
  // src/controls/selection-size-control.tsx
9150
- import * as React113 from "react";
9147
+ import * as React114 from "react";
9151
9148
  import { useMemo as useMemo15, useRef as useRef29 } from "react";
9152
9149
  import { selectionSizePropTypeUtil } from "@elementor/editor-props";
9153
9150
  import { Grid as Grid29 } from "@elementor/ui";
@@ -9167,7 +9164,7 @@ var SelectionSizeControl = createControl(
9167
9164
  }
9168
9165
  }, [value, sizeConfigMap]);
9169
9166
  const SelectionComponent = selectionConfig.component;
9170
- return /* @__PURE__ */ React113.createElement(PropProvider, { value, setValue, propType }, /* @__PURE__ */ React113.createElement(Grid29, { container: true, spacing: 1.5, ref: rowRef }, /* @__PURE__ */ React113.createElement(Grid29, { item: true, xs: 6, sx: { display: "flex", alignItems: "center" } }, /* @__PURE__ */ React113.createElement(ControlFormLabel, null, selectionLabel)), /* @__PURE__ */ React113.createElement(Grid29, { item: true, xs: 6 }, /* @__PURE__ */ React113.createElement(PropKeyProvider, { bind: "selection" }, /* @__PURE__ */ React113.createElement(SelectionComponent, { ...selectionConfig.props }))), currentSizeConfig && /* @__PURE__ */ React113.createElement(React113.Fragment, null, /* @__PURE__ */ React113.createElement(Grid29, { item: true, xs: 6, sx: { display: "flex", alignItems: "center" } }, /* @__PURE__ */ React113.createElement(ControlFormLabel, { htmlFor: sizeFieldId }, sizeLabel)), /* @__PURE__ */ React113.createElement(Grid29, { item: true, xs: 6 }, /* @__PURE__ */ React113.createElement(PropKeyProvider, { bind: "size" }, /* @__PURE__ */ React113.createElement(
9167
+ return /* @__PURE__ */ React114.createElement(PropProvider, { value, setValue, propType }, /* @__PURE__ */ React114.createElement(Grid29, { container: true, spacing: 1.5, ref: rowRef }, /* @__PURE__ */ React114.createElement(Grid29, { item: true, xs: 6, sx: { display: "flex", alignItems: "center" } }, /* @__PURE__ */ React114.createElement(ControlFormLabel, null, selectionLabel)), /* @__PURE__ */ React114.createElement(Grid29, { item: true, xs: 6 }, /* @__PURE__ */ React114.createElement(PropKeyProvider, { bind: "selection" }, /* @__PURE__ */ React114.createElement(SelectionComponent, { ...selectionConfig.props }))), currentSizeConfig && /* @__PURE__ */ React114.createElement(React114.Fragment, null, /* @__PURE__ */ React114.createElement(Grid29, { item: true, xs: 6, sx: { display: "flex", alignItems: "center" } }, /* @__PURE__ */ React114.createElement(ControlFormLabel, { htmlFor: sizeFieldId }, sizeLabel)), /* @__PURE__ */ React114.createElement(Grid29, { item: true, xs: 6 }, /* @__PURE__ */ React114.createElement(PropKeyProvider, { bind: "size" }, /* @__PURE__ */ React114.createElement(
9171
9168
  SizeControl,
9172
9169
  {
9173
9170
  anchorRef: rowRef,
@@ -9368,12 +9365,12 @@ function subscribeToTransitionEvent() {
9368
9365
  }
9369
9366
 
9370
9367
  // src/controls/transition-control/transition-selector.tsx
9371
- import * as React114 from "react";
9368
+ import * as React115 from "react";
9372
9369
  import { useMemo as useMemo16, useRef as useRef30 } from "react";
9373
9370
  import { keyValuePropTypeUtil as keyValuePropTypeUtil2 } from "@elementor/editor-props";
9374
9371
  import { PromotionAlert, PromotionChip } from "@elementor/editor-ui";
9375
9372
  import { ChevronDownIcon as ChevronDownIcon3, VariationsIcon } from "@elementor/icons";
9376
- import { bindPopover as bindPopover7, bindTrigger as bindTrigger6, Box as Box28, Popover as Popover8, UnstableTag as UnstableTag3, usePopupState as usePopupState12 } from "@elementor/ui";
9373
+ import { bindPopover as bindPopover7, bindTrigger as bindTrigger6, Box as Box28, Popover as Popover8, UnstableTag as UnstableTag3, usePopupState as usePopupState11 } from "@elementor/ui";
9377
9374
  import { __ as __59 } from "@wordpress/i18n";
9378
9375
 
9379
9376
  // src/utils/tracking.ts
@@ -9456,7 +9453,7 @@ var TransitionSelector = ({
9456
9453
  key: { value: transitionLabel }
9457
9454
  } = value;
9458
9455
  const defaultRef = useRef30(null);
9459
- const popoverState = usePopupState12({ variant: "popover" });
9456
+ const popoverState = usePopupState11({ variant: "popover" });
9460
9457
  const disabledCategories = useMemo16(() => {
9461
9458
  return new Set(
9462
9459
  transitionProperties.filter((cat) => cat.properties.some((prop) => prop.isDisabled)).map((cat) => cat.label)
@@ -9501,16 +9498,16 @@ var TransitionSelector = ({
9501
9498
  left: rect.right + 36
9502
9499
  };
9503
9500
  };
9504
- return /* @__PURE__ */ React114.createElement(Box28, { ref: defaultRef }, /* @__PURE__ */ React114.createElement(ControlActions, null, /* @__PURE__ */ React114.createElement(
9501
+ return /* @__PURE__ */ React115.createElement(Box28, { ref: defaultRef }, /* @__PURE__ */ React115.createElement(ControlActions, null, /* @__PURE__ */ React115.createElement(
9505
9502
  UnstableTag3,
9506
9503
  {
9507
9504
  variant: "outlined",
9508
9505
  label: transitionLabel,
9509
- endIcon: /* @__PURE__ */ React114.createElement(ChevronDownIcon3, { fontSize: "tiny" }),
9506
+ endIcon: /* @__PURE__ */ React115.createElement(ChevronDownIcon3, { fontSize: "tiny" }),
9510
9507
  ...bindTrigger6(popoverState),
9511
9508
  fullWidth: true
9512
9509
  }
9513
- )), /* @__PURE__ */ React114.createElement(
9510
+ )), /* @__PURE__ */ React115.createElement(
9514
9511
  Popover8,
9515
9512
  {
9516
9513
  disablePortal: true,
@@ -9521,7 +9518,7 @@ var TransitionSelector = ({
9521
9518
  anchorOrigin: { vertical: "top", horizontal: "right" },
9522
9519
  transformOrigin: { vertical: "top", horizontal: "left" }
9523
9520
  },
9524
- /* @__PURE__ */ React114.createElement(
9521
+ /* @__PURE__ */ React115.createElement(
9525
9522
  ItemSelector,
9526
9523
  {
9527
9524
  itemsList: getItemList(),
@@ -9532,7 +9529,7 @@ var TransitionSelector = ({
9532
9529
  title: __59("Transition Property", "elementor"),
9533
9530
  icon: VariationsIcon,
9534
9531
  disabledItems: includeCurrentValueInOptions(value, disabledItems),
9535
- categoryItemContentTemplate: (item) => /* @__PURE__ */ React114.createElement(
9532
+ categoryItemContentTemplate: (item) => /* @__PURE__ */ React115.createElement(
9536
9533
  Box28,
9537
9534
  {
9538
9535
  sx: {
@@ -9542,10 +9539,10 @@ var TransitionSelector = ({
9542
9539
  width: "100%"
9543
9540
  }
9544
9541
  },
9545
- /* @__PURE__ */ React114.createElement("span", null, item.value),
9546
- showPromotion && disabledCategories.has(item.value) && /* @__PURE__ */ React114.createElement(PromotionChip, null)
9542
+ /* @__PURE__ */ React115.createElement("span", null, item.value),
9543
+ showPromotion && disabledCategories.has(item.value) && /* @__PURE__ */ React115.createElement(PromotionChip, null)
9547
9544
  ),
9548
- footer: showPromotion ? /* @__PURE__ */ React114.createElement(
9545
+ footer: showPromotion ? /* @__PURE__ */ React115.createElement(
9549
9546
  PromotionAlert,
9550
9547
  {
9551
9548
  message: __59(
@@ -9664,7 +9661,7 @@ var getInitialValue = (values = []) => {
9664
9661
  }
9665
9662
  return initialTransitionValue;
9666
9663
  };
9667
- var disableAddItemTooltipContent = /* @__PURE__ */ React115.createElement(
9664
+ var disableAddItemTooltipContent = /* @__PURE__ */ React116.createElement(
9668
9665
  Alert2,
9669
9666
  {
9670
9667
  sx: {
@@ -9672,10 +9669,10 @@ var disableAddItemTooltipContent = /* @__PURE__ */ React115.createElement(
9672
9669
  gap: 0.5
9673
9670
  },
9674
9671
  color: "secondary",
9675
- icon: /* @__PURE__ */ React115.createElement(InfoCircleFilledIcon3, null)
9672
+ icon: /* @__PURE__ */ React116.createElement(InfoCircleFilledIcon3, null)
9676
9673
  },
9677
- /* @__PURE__ */ React115.createElement(AlertTitle3, null, __60("Transitions", "elementor")),
9678
- /* @__PURE__ */ React115.createElement(Box29, { component: "span" }, /* @__PURE__ */ React115.createElement(Typography12, { variant: "body2" }, __60("Switch to 'Normal' state to add a transition.", "elementor")))
9674
+ /* @__PURE__ */ React116.createElement(AlertTitle3, null, __60("Transitions", "elementor")),
9675
+ /* @__PURE__ */ React116.createElement(Box29, { component: "span" }, /* @__PURE__ */ React116.createElement(Typography11, { variant: "body2" }, __60("Switch to 'Normal' state to add a transition.", "elementor")))
9679
9676
  );
9680
9677
  var TransitionRepeaterControl = createControl(
9681
9678
  ({
@@ -9718,7 +9715,7 @@ var TransitionRepeaterControl = createControl(
9718
9715
  }, [recentlyUsedListGetter]);
9719
9716
  const allPropertiesUsed = useMemo17(() => areAllPropertiesUsed(value), [value]);
9720
9717
  const isAddItemDisabled = !currentStyleIsNormal || allPropertiesUsed;
9721
- return /* @__PURE__ */ React115.createElement(
9718
+ return /* @__PURE__ */ React116.createElement(
9722
9719
  RepeatableControl,
9723
9720
  {
9724
9721
  label: __60("Transitions", "elementor"),
@@ -9745,7 +9742,7 @@ var TransitionRepeaterControl = createControl(
9745
9742
  );
9746
9743
 
9747
9744
  // src/controls/date-time-control.tsx
9748
- import * as React116 from "react";
9745
+ import * as React117 from "react";
9749
9746
  import * as dayjs from "dayjs";
9750
9747
  import { isTransformable as isTransformable2, stringPropTypeUtil as stringPropTypeUtil20 } from "@elementor/editor-props";
9751
9748
  import { DateTimePropTypeUtil } from "@elementor/editor-props";
@@ -9793,7 +9790,7 @@ var DateTimeControl = createControl(({ inputDisabled }) => {
9793
9790
  const base = dayjs.default();
9794
9791
  return base.hour(h).minute(m).second(0).millisecond(0);
9795
9792
  };
9796
- return /* @__PURE__ */ React116.createElement(PropProvider, { ...propContext, value, setValue }, /* @__PURE__ */ React116.createElement(ControlActions, null, /* @__PURE__ */ React116.createElement(LocalizationProvider, null, /* @__PURE__ */ React116.createElement(Box30, { display: "flex", gap: 1, alignItems: "center" }, /* @__PURE__ */ React116.createElement(PropKeyProvider, { bind: "date" }, /* @__PURE__ */ React116.createElement(
9793
+ return /* @__PURE__ */ React117.createElement(PropProvider, { ...propContext, value, setValue }, /* @__PURE__ */ React117.createElement(ControlActions, null, /* @__PURE__ */ React117.createElement(LocalizationProvider, null, /* @__PURE__ */ React117.createElement(Box30, { display: "flex", gap: 1, alignItems: "center" }, /* @__PURE__ */ React117.createElement(PropKeyProvider, { bind: "date" }, /* @__PURE__ */ React117.createElement(
9797
9794
  DatePicker,
9798
9795
  {
9799
9796
  value: parseDateValue(stringPropTypeUtil20.extract(value?.date)),
@@ -9805,7 +9802,7 @@ var DateTimeControl = createControl(({ inputDisabled }) => {
9805
9802
  openPickerIcon: { fontSize: "tiny" }
9806
9803
  }
9807
9804
  }
9808
- )), /* @__PURE__ */ React116.createElement(PropKeyProvider, { bind: "time" }, /* @__PURE__ */ React116.createElement(
9805
+ )), /* @__PURE__ */ React117.createElement(PropKeyProvider, { bind: "time" }, /* @__PURE__ */ React117.createElement(
9809
9806
  TimePicker,
9810
9807
  {
9811
9808
  value: parseTimeValue(stringPropTypeUtil20.extract(value?.time)),
@@ -9821,13 +9818,13 @@ var DateTimeControl = createControl(({ inputDisabled }) => {
9821
9818
  });
9822
9819
 
9823
9820
  // src/controls/date-range-control.tsx
9824
- import * as React118 from "react";
9821
+ import * as React119 from "react";
9825
9822
  import { dateRangePropTypeUtil, dateStringPropTypeUtil as dateStringPropTypeUtil2 } from "@elementor/editor-props";
9826
- import { FormHelperText as FormHelperText2, Grid as Grid30, Stack as Stack21 } from "@elementor/ui";
9823
+ import { FormHelperText as FormHelperText2, Grid as Grid30, Stack as Stack20 } from "@elementor/ui";
9827
9824
  import { __ as __61 } from "@wordpress/i18n";
9828
9825
 
9829
9826
  // src/controls/date-string-control.tsx
9830
- import * as React117 from "react";
9827
+ import * as React118 from "react";
9831
9828
  import { dateStringPropTypeUtil } from "@elementor/editor-props";
9832
9829
  import { DatePicker as DatePicker2, LocalizationProvider as LocalizationProvider2 } from "@elementor/ui";
9833
9830
 
@@ -9886,7 +9883,7 @@ var DateStringControl = createControl(
9886
9883
  }
9887
9884
  setValue(newValue.format(format));
9888
9885
  };
9889
- return /* @__PURE__ */ React117.createElement(LocalizationProvider2, null, /* @__PURE__ */ React117.createElement(ControlActions, null, /* @__PURE__ */ React117.createElement(
9886
+ return /* @__PURE__ */ React118.createElement(LocalizationProvider2, null, /* @__PURE__ */ React118.createElement(ControlActions, null, /* @__PURE__ */ React118.createElement(
9890
9887
  DatePicker2,
9891
9888
  {
9892
9889
  value: parseDateString(value ?? ""),
@@ -9915,32 +9912,32 @@ var DateRangeControl = createControl(() => {
9915
9912
  const minString = dateStringPropTypeUtil2.extract(value?.min);
9916
9913
  const maxString = dateStringPropTypeUtil2.extract(value?.max);
9917
9914
  const hasInvalidRange = isMaxBeforeMin(minString, maxString);
9918
- return /* @__PURE__ */ React118.createElement(PropProvider, { ...propContext, value, setValue }, /* @__PURE__ */ React118.createElement(Stack21, { gap: 0.75 }, /* @__PURE__ */ React118.createElement(Stack21, { direction: "row", gap: 2, flexWrap: "nowrap" }, /* @__PURE__ */ React118.createElement(Grid30, { container: true, gap: 0.75, alignItems: "center" }, /* @__PURE__ */ React118.createElement(Grid30, { item: true, xs: 12 }, /* @__PURE__ */ React118.createElement(ControlFormLabel, null, RANGE_LABELS.min)), /* @__PURE__ */ React118.createElement(Grid30, { item: true, xs: 12 }, /* @__PURE__ */ React118.createElement(
9915
+ return /* @__PURE__ */ React119.createElement(PropProvider, { ...propContext, value, setValue }, /* @__PURE__ */ React119.createElement(Stack20, { gap: 0.75 }, /* @__PURE__ */ React119.createElement(Stack20, { direction: "row", gap: 2, flexWrap: "nowrap" }, /* @__PURE__ */ React119.createElement(Grid30, { container: true, gap: 0.75, alignItems: "center" }, /* @__PURE__ */ React119.createElement(Grid30, { item: true, xs: 12 }, /* @__PURE__ */ React119.createElement(ControlFormLabel, null, RANGE_LABELS.min)), /* @__PURE__ */ React119.createElement(Grid30, { item: true, xs: 12 }, /* @__PURE__ */ React119.createElement(
9919
9916
  BoundDateStringControl,
9920
9917
  {
9921
9918
  bind: "min",
9922
9919
  ariaLabel: RANGE_LABELS.min,
9923
9920
  error: hasInvalidRange
9924
9921
  }
9925
- ))), /* @__PURE__ */ React118.createElement(Grid30, { container: true, gap: 0.75, alignItems: "center" }, /* @__PURE__ */ React118.createElement(Grid30, { item: true, xs: 12 }, /* @__PURE__ */ React118.createElement(ControlFormLabel, null, RANGE_LABELS.max)), /* @__PURE__ */ React118.createElement(Grid30, { item: true, xs: 12 }, /* @__PURE__ */ React118.createElement(
9922
+ ))), /* @__PURE__ */ React119.createElement(Grid30, { container: true, gap: 0.75, alignItems: "center" }, /* @__PURE__ */ React119.createElement(Grid30, { item: true, xs: 12 }, /* @__PURE__ */ React119.createElement(ControlFormLabel, null, RANGE_LABELS.max)), /* @__PURE__ */ React119.createElement(Grid30, { item: true, xs: 12 }, /* @__PURE__ */ React119.createElement(
9926
9923
  BoundDateStringControl,
9927
9924
  {
9928
9925
  bind: "max",
9929
9926
  ariaLabel: RANGE_LABELS.max,
9930
9927
  error: hasInvalidRange
9931
9928
  }
9932
- )))), hasInvalidRange && /* @__PURE__ */ React118.createElement(FormHelperText2, { error: true }, RANGE_ERROR_MESSAGE)));
9929
+ )))), hasInvalidRange && /* @__PURE__ */ React119.createElement(FormHelperText2, { error: true }, RANGE_ERROR_MESSAGE)));
9933
9930
  });
9934
9931
  var BoundDateStringControl = ({
9935
9932
  bind,
9936
9933
  ariaLabel,
9937
9934
  error
9938
9935
  }) => {
9939
- return /* @__PURE__ */ React118.createElement(PropKeyProvider, { bind }, /* @__PURE__ */ React118.createElement(DateStringControl, { ariaLabel, error, coerceInvalidToNull: true }));
9936
+ return /* @__PURE__ */ React119.createElement(PropKeyProvider, { bind }, /* @__PURE__ */ React119.createElement(DateStringControl, { ariaLabel, error, coerceInvalidToNull: true }));
9940
9937
  };
9941
9938
 
9942
9939
  // src/controls/time-string-control.tsx
9943
- import * as React119 from "react";
9940
+ import * as React120 from "react";
9944
9941
  import { timeStringPropTypeUtil } from "@elementor/editor-props";
9945
9942
  import { LocalizationProvider as LocalizationProvider3, TimePicker as TimePicker2 } from "@elementor/ui";
9946
9943
  var TimeStringControl = createControl(
@@ -9968,7 +9965,7 @@ var TimeStringControl = createControl(
9968
9965
  }
9969
9966
  setValue(newValue.format(format));
9970
9967
  };
9971
- return /* @__PURE__ */ React119.createElement(LocalizationProvider3, null, /* @__PURE__ */ React119.createElement(ControlActions, null, /* @__PURE__ */ React119.createElement(
9968
+ return /* @__PURE__ */ React120.createElement(LocalizationProvider3, null, /* @__PURE__ */ React120.createElement(ControlActions, null, /* @__PURE__ */ React120.createElement(
9972
9969
  TimePicker2,
9973
9970
  {
9974
9971
  value: parseTimeString(value ?? ""),
@@ -9981,9 +9978,9 @@ var TimeStringControl = createControl(
9981
9978
  );
9982
9979
 
9983
9980
  // src/controls/time-range-control.tsx
9984
- import * as React120 from "react";
9981
+ import * as React121 from "react";
9985
9982
  import { timeRangePropTypeUtil } from "@elementor/editor-props";
9986
- import { Grid as Grid31, Stack as Stack22 } from "@elementor/ui";
9983
+ import { Grid as Grid31, Stack as Stack21 } from "@elementor/ui";
9987
9984
  import { __ as __62 } from "@wordpress/i18n";
9988
9985
  var RANGE_LABELS2 = {
9989
9986
  min: __62("Start time", "elementor"),
@@ -9991,20 +9988,20 @@ var RANGE_LABELS2 = {
9991
9988
  };
9992
9989
  var TimeRangeControl = createControl(() => {
9993
9990
  const { value, setValue, ...propContext } = useBoundProp(timeRangePropTypeUtil);
9994
- return /* @__PURE__ */ React120.createElement(PropProvider, { ...propContext, value, setValue }, /* @__PURE__ */ React120.createElement(Stack22, { direction: "row", gap: 2, flexWrap: "nowrap" }, /* @__PURE__ */ React120.createElement(Grid31, { container: true, gap: 0.75, alignItems: "center" }, /* @__PURE__ */ React120.createElement(Grid31, { item: true, xs: 12 }, /* @__PURE__ */ React120.createElement(ControlFormLabel, null, RANGE_LABELS2.min)), /* @__PURE__ */ React120.createElement(Grid31, { item: true, xs: 12 }, /* @__PURE__ */ React120.createElement(BoundTimeStringControl, { bind: "min", ariaLabel: RANGE_LABELS2.min }))), /* @__PURE__ */ React120.createElement(Grid31, { container: true, gap: 0.75, alignItems: "center" }, /* @__PURE__ */ React120.createElement(Grid31, { item: true, xs: 12 }, /* @__PURE__ */ React120.createElement(ControlFormLabel, null, RANGE_LABELS2.max)), /* @__PURE__ */ React120.createElement(Grid31, { item: true, xs: 12 }, /* @__PURE__ */ React120.createElement(BoundTimeStringControl, { bind: "max", ariaLabel: RANGE_LABELS2.max })))));
9991
+ return /* @__PURE__ */ React121.createElement(PropProvider, { ...propContext, value, setValue }, /* @__PURE__ */ React121.createElement(Stack21, { direction: "row", gap: 2, flexWrap: "nowrap" }, /* @__PURE__ */ React121.createElement(Grid31, { container: true, gap: 0.75, alignItems: "center" }, /* @__PURE__ */ React121.createElement(Grid31, { item: true, xs: 12 }, /* @__PURE__ */ React121.createElement(ControlFormLabel, null, RANGE_LABELS2.min)), /* @__PURE__ */ React121.createElement(Grid31, { item: true, xs: 12 }, /* @__PURE__ */ React121.createElement(BoundTimeStringControl, { bind: "min", ariaLabel: RANGE_LABELS2.min }))), /* @__PURE__ */ React121.createElement(Grid31, { container: true, gap: 0.75, alignItems: "center" }, /* @__PURE__ */ React121.createElement(Grid31, { item: true, xs: 12 }, /* @__PURE__ */ React121.createElement(ControlFormLabel, null, RANGE_LABELS2.max)), /* @__PURE__ */ React121.createElement(Grid31, { item: true, xs: 12 }, /* @__PURE__ */ React121.createElement(BoundTimeStringControl, { bind: "max", ariaLabel: RANGE_LABELS2.max })))));
9995
9992
  });
9996
9993
  var BoundTimeStringControl = ({ bind, ariaLabel }) => {
9997
- return /* @__PURE__ */ React120.createElement(PropKeyProvider, { bind }, /* @__PURE__ */ React120.createElement(TimeStringControl, { ariaLabel, coerceInvalidToNull: true }));
9994
+ return /* @__PURE__ */ React121.createElement(PropKeyProvider, { bind }, /* @__PURE__ */ React121.createElement(TimeStringControl, { ariaLabel, coerceInvalidToNull: true }));
9998
9995
  };
9999
9996
 
10000
9997
  // src/controls/inline-editing-control.tsx
10001
- import * as React124 from "react";
9998
+ import * as React125 from "react";
10002
9999
  import { useCallback as useCallback4, useState as useState23 } from "react";
10003
10000
  import { escapedHtmlPropTypeUtil as escapedHtmlPropTypeUtil2 } from "@elementor/editor-props";
10004
10001
  import { Box as Box33 } from "@elementor/ui";
10005
10002
 
10006
10003
  // src/components/inline-editor.tsx
10007
- import * as React121 from "react";
10004
+ import * as React122 from "react";
10008
10005
  import { useEffect as useEffect18, useRef as useRef31 } from "react";
10009
10006
  import { Box as Box31 } from "@elementor/ui";
10010
10007
  import Bold from "@tiptap/extension-bold";
@@ -10051,7 +10048,7 @@ function extractInlineHtmlContent(propValue) {
10051
10048
  var ITALIC_KEYBOARD_SHORTCUT = "i";
10052
10049
  var BOLD_KEYBOARD_SHORTCUT = "b";
10053
10050
  var UNDERLINE_KEYBOARD_SHORTCUT = "u";
10054
- var InlineEditor = React121.forwardRef((props, ref) => {
10051
+ var InlineEditor = React122.forwardRef((props, ref) => {
10055
10052
  const {
10056
10053
  value,
10057
10054
  setValue,
@@ -10164,7 +10161,7 @@ var InlineEditor = React121.forwardRef((props, ref) => {
10164
10161
  if (mountElement) {
10165
10162
  return null;
10166
10163
  }
10167
- return /* @__PURE__ */ React121.createElement(Box31, { ref: containerRef, sx, className: wrapperClassName }, /* @__PURE__ */ React121.createElement(EditorContent, { ref, editor }));
10164
+ return /* @__PURE__ */ React122.createElement(Box31, { ref: containerRef, sx, className: wrapperClassName }, /* @__PURE__ */ React122.createElement(EditorContent, { ref, editor }));
10168
10165
  });
10169
10166
  var useOnUpdate = (callback, dependencies) => {
10170
10167
  const hasMounted = useRef31(false);
@@ -10178,7 +10175,7 @@ var useOnUpdate = (callback, dependencies) => {
10178
10175
  };
10179
10176
 
10180
10177
  // src/components/inline-editor-toolbar.tsx
10181
- import * as React123 from "react";
10178
+ import * as React124 from "react";
10182
10179
  import { useEffect as useEffect20, useMemo as useMemo18, useRef as useRef33, useState as useState22 } from "react";
10183
10180
  import { getContainer as getContainer2, getElementSetting } from "@elementor/editor-elements";
10184
10181
  import {
@@ -10193,21 +10190,21 @@ import {
10193
10190
  } from "@elementor/icons";
10194
10191
  import {
10195
10192
  Box as Box32,
10196
- IconButton as IconButton9,
10197
- ToggleButton as ToggleButton5,
10193
+ IconButton as IconButton10,
10194
+ ToggleButton as ToggleButton4,
10198
10195
  ToggleButtonGroup as ToggleButtonGroup2,
10199
10196
  toggleButtonGroupClasses,
10200
10197
  Tooltip as Tooltip13,
10201
- usePopupState as usePopupState13
10198
+ usePopupState as usePopupState12
10202
10199
  } from "@elementor/ui";
10203
10200
  import { useEditorState } from "@tiptap/react";
10204
10201
  import { __ as __64 } from "@wordpress/i18n";
10205
10202
 
10206
10203
  // src/components/url-popover.tsx
10207
- import * as React122 from "react";
10204
+ import * as React123 from "react";
10208
10205
  import { useEffect as useEffect19, useRef as useRef32 } from "react";
10209
10206
  import { ExternalLinkIcon } from "@elementor/icons";
10210
- import { bindPopover as bindPopover8, Popover as Popover9, Stack as Stack23, TextField as TextField11, ToggleButton as ToggleButton4, Tooltip as Tooltip12 } from "@elementor/ui";
10207
+ import { bindPopover as bindPopover8, Popover as Popover9, Stack as Stack22, TextField as TextField11, ToggleButton as ToggleButton3, Tooltip as Tooltip12 } from "@elementor/ui";
10211
10208
  import { __ as __63 } from "@wordpress/i18n";
10212
10209
  var UrlPopover = ({
10213
10210
  popupState,
@@ -10228,7 +10225,7 @@ var UrlPopover = ({
10228
10225
  restoreValue();
10229
10226
  popupState.close();
10230
10227
  };
10231
- return /* @__PURE__ */ React122.createElement(
10228
+ return /* @__PURE__ */ React123.createElement(
10232
10229
  Popover9,
10233
10230
  {
10234
10231
  slotProps: {
@@ -10239,7 +10236,7 @@ var UrlPopover = ({
10239
10236
  transformOrigin: { vertical: "top", horizontal: "left" },
10240
10237
  onClose: handleClose
10241
10238
  },
10242
- /* @__PURE__ */ React122.createElement(Stack23, { direction: "row", alignItems: "center", gap: 1, sx: { p: 1.5 } }, /* @__PURE__ */ React122.createElement(
10239
+ /* @__PURE__ */ React123.createElement(Stack22, { direction: "row", alignItems: "center", gap: 1, sx: { p: 1.5 } }, /* @__PURE__ */ React123.createElement(
10243
10240
  TextField11,
10244
10241
  {
10245
10242
  value,
@@ -10252,8 +10249,8 @@ var UrlPopover = ({
10252
10249
  InputProps: { sx: { borderRadius: "8px" } },
10253
10250
  onKeyUp: (event) => event.key === "Enter" && handleClose()
10254
10251
  }
10255
- ), /* @__PURE__ */ React122.createElement(Tooltip12, { title: __63("Open in a new tab", "elementor") }, /* @__PURE__ */ React122.createElement(
10256
- ToggleButton4,
10252
+ ), /* @__PURE__ */ React123.createElement(Tooltip12, { title: __63("Open in a new tab", "elementor") }, /* @__PURE__ */ React123.createElement(
10253
+ ToggleButton3,
10257
10254
  {
10258
10255
  size: "tiny",
10259
10256
  value: "newTab",
@@ -10262,7 +10259,7 @@ var UrlPopover = ({
10262
10259
  "aria-label": __63("Open in a new tab", "elementor"),
10263
10260
  sx: { borderRadius: "8px" }
10264
10261
  },
10265
- /* @__PURE__ */ React122.createElement(ExternalLinkIcon, { fontSize: "tiny" })
10262
+ /* @__PURE__ */ React123.createElement(ExternalLinkIcon, { fontSize: "tiny" })
10266
10263
  )))
10267
10264
  );
10268
10265
  };
@@ -10277,7 +10274,7 @@ var InlineEditorToolbar = ({
10277
10274
  const [urlValue, setUrlValue] = useState22("");
10278
10275
  const [openInNewTab, setOpenInNewTab] = useState22(false);
10279
10276
  const toolbarRef = useRef33(null);
10280
- const linkPopupState = usePopupState13({ variant: "popover" });
10277
+ const linkPopupState = usePopupState12({ variant: "popover" });
10281
10278
  const isElementClickable = elementId ? checkIfElementIsClickable(elementId) : false;
10282
10279
  const editorState = useEditorState({
10283
10280
  editor,
@@ -10325,7 +10322,7 @@ var InlineEditorToolbar = ({
10325
10322
  editor?.commands?.focus();
10326
10323
  }
10327
10324
  }, [editor, inControlPanel]);
10328
- return /* @__PURE__ */ React123.createElement(
10325
+ return /* @__PURE__ */ React124.createElement(
10329
10326
  Box32,
10330
10327
  {
10331
10328
  ref: toolbarRef,
@@ -10359,8 +10356,8 @@ var InlineEditorToolbar = ({
10359
10356
  }
10360
10357
  }
10361
10358
  },
10362
- /* @__PURE__ */ React123.createElement(Tooltip13, { title: clearButton.label, placement: "top", sx: { borderRadius: "8px" } }, /* @__PURE__ */ React123.createElement(IconButton9, { "aria-label": clearButton.label, onClick: () => clearButton.method(editor), size: "tiny" }, clearButton.icon)),
10363
- /* @__PURE__ */ React123.createElement(
10359
+ /* @__PURE__ */ React124.createElement(Tooltip13, { title: clearButton.label, placement: "top", sx: { borderRadius: "8px" } }, /* @__PURE__ */ React124.createElement(IconButton10, { "aria-label": clearButton.label, onClick: () => clearButton.method(editor), size: "tiny" }, clearButton.icon)),
10360
+ /* @__PURE__ */ React124.createElement(
10364
10361
  ToggleButtonGroup2,
10365
10362
  {
10366
10363
  value: editorState,
@@ -10390,8 +10387,8 @@ var InlineEditorToolbar = ({
10390
10387
  }
10391
10388
  }
10392
10389
  },
10393
- formatButtonsList.map((button) => /* @__PURE__ */ React123.createElement(Tooltip13, { title: button.label, key: button.action, placement: "top" }, /* @__PURE__ */ React123.createElement(
10394
- ToggleButton5,
10390
+ formatButtonsList.map((button) => /* @__PURE__ */ React124.createElement(Tooltip13, { title: button.label, key: button.action, placement: "top" }, /* @__PURE__ */ React124.createElement(
10391
+ ToggleButton4,
10395
10392
  {
10396
10393
  value: button.action,
10397
10394
  "aria-label": button.label,
@@ -10408,7 +10405,7 @@ var InlineEditorToolbar = ({
10408
10405
  button.icon
10409
10406
  )))
10410
10407
  ),
10411
- /* @__PURE__ */ React123.createElement(
10408
+ /* @__PURE__ */ React124.createElement(
10412
10409
  UrlPopover,
10413
10410
  {
10414
10411
  popupState: linkPopupState,
@@ -10432,7 +10429,7 @@ var checkIfElementIsClickable = (elementId) => {
10432
10429
  var toolbarButtons = {
10433
10430
  clear: {
10434
10431
  label: __64("Clear", "elementor"),
10435
- icon: /* @__PURE__ */ React123.createElement(MinusIcon2, { fontSize: "tiny" }),
10432
+ icon: /* @__PURE__ */ React124.createElement(MinusIcon2, { fontSize: "tiny" }),
10436
10433
  action: "clear",
10437
10434
  method: (editor) => {
10438
10435
  editor.chain().focus().clearNodes().unsetAllMarks().run();
@@ -10440,7 +10437,7 @@ var toolbarButtons = {
10440
10437
  },
10441
10438
  bold: {
10442
10439
  label: __64("Bold", "elementor"),
10443
- icon: /* @__PURE__ */ React123.createElement(BoldIcon, { fontSize: "tiny" }),
10440
+ icon: /* @__PURE__ */ React124.createElement(BoldIcon, { fontSize: "tiny" }),
10444
10441
  action: "bold",
10445
10442
  method: (editor) => {
10446
10443
  editor.chain().focus().toggleBold().run();
@@ -10448,7 +10445,7 @@ var toolbarButtons = {
10448
10445
  },
10449
10446
  italic: {
10450
10447
  label: __64("Italic", "elementor"),
10451
- icon: /* @__PURE__ */ React123.createElement(ItalicIcon, { fontSize: "tiny" }),
10448
+ icon: /* @__PURE__ */ React124.createElement(ItalicIcon, { fontSize: "tiny" }),
10452
10449
  action: "italic",
10453
10450
  method: (editor) => {
10454
10451
  editor.chain().focus().toggleItalic().run();
@@ -10456,7 +10453,7 @@ var toolbarButtons = {
10456
10453
  },
10457
10454
  underline: {
10458
10455
  label: __64("Underline", "elementor"),
10459
- icon: /* @__PURE__ */ React123.createElement(UnderlineIcon, { fontSize: "tiny" }),
10456
+ icon: /* @__PURE__ */ React124.createElement(UnderlineIcon, { fontSize: "tiny" }),
10460
10457
  action: "underline",
10461
10458
  method: (editor) => {
10462
10459
  editor.chain().focus().toggleUnderline().run();
@@ -10464,7 +10461,7 @@ var toolbarButtons = {
10464
10461
  },
10465
10462
  strike: {
10466
10463
  label: __64("Strikethrough", "elementor"),
10467
- icon: /* @__PURE__ */ React123.createElement(StrikethroughIcon, { fontSize: "tiny" }),
10464
+ icon: /* @__PURE__ */ React124.createElement(StrikethroughIcon, { fontSize: "tiny" }),
10468
10465
  action: "strike",
10469
10466
  method: (editor) => {
10470
10467
  editor.chain().focus().toggleStrike().run();
@@ -10472,7 +10469,7 @@ var toolbarButtons = {
10472
10469
  },
10473
10470
  superscript: {
10474
10471
  label: __64("Superscript", "elementor"),
10475
- icon: /* @__PURE__ */ React123.createElement(SuperscriptIcon, { fontSize: "tiny" }),
10472
+ icon: /* @__PURE__ */ React124.createElement(SuperscriptIcon, { fontSize: "tiny" }),
10476
10473
  action: "superscript",
10477
10474
  method: (editor) => {
10478
10475
  editor.chain().focus().toggleSuperscript().run();
@@ -10480,7 +10477,7 @@ var toolbarButtons = {
10480
10477
  },
10481
10478
  subscript: {
10482
10479
  label: __64("Subscript", "elementor"),
10483
- icon: /* @__PURE__ */ React123.createElement(SubscriptIcon, { fontSize: "tiny" }),
10480
+ icon: /* @__PURE__ */ React124.createElement(SubscriptIcon, { fontSize: "tiny" }),
10484
10481
  action: "subscript",
10485
10482
  method: (editor) => {
10486
10483
  editor.chain().focus().toggleSubscript().run();
@@ -10488,7 +10485,7 @@ var toolbarButtons = {
10488
10485
  },
10489
10486
  link: {
10490
10487
  label: __64("Link", "elementor"),
10491
- icon: /* @__PURE__ */ React123.createElement(LinkIcon3, { fontSize: "tiny" }),
10488
+ icon: /* @__PURE__ */ React124.createElement(LinkIcon3, { fontSize: "tiny" }),
10492
10489
  action: "link",
10493
10490
  method: null
10494
10491
  }
@@ -10509,7 +10506,7 @@ var InlineEditingControl = createControl(({ sx, attributes, props, context: { el
10509
10506
  },
10510
10507
  [setValue]
10511
10508
  );
10512
- return /* @__PURE__ */ React124.createElement(ControlActions, null, /* @__PURE__ */ React124.createElement(Box33, { sx: { position: "relative" } }, editor && editor.isEditable && /* @__PURE__ */ React124.createElement(
10509
+ return /* @__PURE__ */ React125.createElement(ControlActions, null, /* @__PURE__ */ React125.createElement(Box33, { sx: { position: "relative" } }, editor && editor.isEditable && /* @__PURE__ */ React125.createElement(
10513
10510
  InlineEditorToolbar,
10514
10511
  {
10515
10512
  editor,
@@ -10522,7 +10519,7 @@ var InlineEditingControl = createControl(({ sx, attributes, props, context: { el
10522
10519
  }),
10523
10520
  inControlPanel: true
10524
10521
  }
10525
- ), /* @__PURE__ */ React124.createElement(
10522
+ ), /* @__PURE__ */ React125.createElement(
10526
10523
  Box33,
10527
10524
  {
10528
10525
  sx: (theme) => ({
@@ -10567,7 +10564,7 @@ var InlineEditingControl = createControl(({ sx, attributes, props, context: { el
10567
10564
  ...attributes,
10568
10565
  ...props
10569
10566
  },
10570
- /* @__PURE__ */ React124.createElement(
10567
+ /* @__PURE__ */ React125.createElement(
10571
10568
  InlineEditor,
10572
10569
  {
10573
10570
  value: content,
@@ -10584,16 +10581,16 @@ var InlineEditingControl = createControl(({ sx, attributes, props, context: { el
10584
10581
  });
10585
10582
 
10586
10583
  // src/controls/email-form-action-control/index.tsx
10587
- import * as React128 from "react";
10584
+ import * as React129 from "react";
10588
10585
  import { emailsPropTypeUtil } from "@elementor/editor-props";
10589
10586
  import { CollapsibleContent } from "@elementor/editor-ui";
10590
- import { Box as Box34, Divider as Divider7, Stack as Stack25 } from "@elementor/ui";
10587
+ import { Box as Box34, Divider as Divider7, Stack as Stack24 } from "@elementor/ui";
10591
10588
  import { __ as __66 } from "@wordpress/i18n";
10592
10589
 
10593
10590
  // src/controls/email-form-action-control/fields.tsx
10594
- import * as React127 from "react";
10591
+ import * as React128 from "react";
10595
10592
  import { InfoAlert as InfoAlert2 } from "@elementor/editor-ui";
10596
- import { Grid as Grid34, Stack as Stack24 } from "@elementor/ui";
10593
+ import { Grid as Grid34, Stack as Stack23 } from "@elementor/ui";
10597
10594
  import { __ as __65 } from "@wordpress/i18n";
10598
10595
 
10599
10596
  // src/hooks/use-form-field-suggestions.ts
@@ -10683,7 +10680,7 @@ function useFormFieldSuggestions(options) {
10683
10680
  }
10684
10681
 
10685
10682
  // src/controls/email-form-action-control/email-chips-field.tsx
10686
- import * as React125 from "react";
10683
+ import * as React126 from "react";
10687
10684
  import { useMemo as useMemo19, useState as useState24 } from "react";
10688
10685
  import { stringArrayPropTypeUtil as stringArrayPropTypeUtil3, stringPropTypeUtil as stringPropTypeUtil23 } from "@elementor/editor-props";
10689
10686
  import { Autocomplete as Autocomplete4, Grid as Grid32, TextField as TextField12 } from "@elementor/ui";
@@ -10760,7 +10757,7 @@ var EmailChipsControl = createControl(({ placeholder, suggestions = [] }) => {
10760
10757
  tryAddChip(inputValue);
10761
10758
  }
10762
10759
  };
10763
- return /* @__PURE__ */ React125.createElement(ControlActions, null, /* @__PURE__ */ React125.createElement(
10760
+ return /* @__PURE__ */ React126.createElement(ControlActions, null, /* @__PURE__ */ React126.createElement(
10764
10761
  Autocomplete4,
10765
10762
  {
10766
10763
  fullWidth: true,
@@ -10785,31 +10782,31 @@ var EmailChipsControl = createControl(({ placeholder, suggestions = [] }) => {
10785
10782
  onBlur: handleBlur,
10786
10783
  getOptionLabel: (option) => option,
10787
10784
  isOptionEqualToValue: (option, val) => option === val,
10788
- renderInput: (params) => /* @__PURE__ */ React125.createElement(TextField12, { ...params, placeholder, onKeyDown: handleKeyDown }),
10789
- renderTags: (tagValues, getTagProps) => /* @__PURE__ */ React125.createElement(ChipsList, { getLabel: (option) => option, getTagProps, values: tagValues })
10785
+ renderInput: (params) => /* @__PURE__ */ React126.createElement(TextField12, { ...params, placeholder, onKeyDown: handleKeyDown }),
10786
+ renderTags: (tagValues, getTagProps) => /* @__PURE__ */ React126.createElement(ChipsList, { getLabel: (option) => option, getTagProps, values: tagValues })
10790
10787
  }
10791
10788
  ));
10792
10789
  });
10793
- var EmailChipsField = ({ fieldLabel, placeholder, suggestions }) => /* @__PURE__ */ React125.createElement(Grid32, { container: true, direction: "column", gap: 0.5 }, /* @__PURE__ */ React125.createElement(Grid32, { item: true }, /* @__PURE__ */ React125.createElement(ControlFormLabel, null, fieldLabel)), /* @__PURE__ */ React125.createElement(Grid32, { item: true }, /* @__PURE__ */ React125.createElement(EmailChipsControl, { placeholder, suggestions })));
10790
+ var EmailChipsField = ({ fieldLabel, placeholder, suggestions }) => /* @__PURE__ */ React126.createElement(Grid32, { container: true, direction: "column", gap: 0.5 }, /* @__PURE__ */ React126.createElement(Grid32, { item: true }, /* @__PURE__ */ React126.createElement(ControlFormLabel, null, fieldLabel)), /* @__PURE__ */ React126.createElement(Grid32, { item: true }, /* @__PURE__ */ React126.createElement(EmailChipsControl, { placeholder, suggestions })));
10794
10791
 
10795
10792
  // src/controls/email-form-action-control/email-field.tsx
10796
- import * as React126 from "react";
10793
+ import * as React127 from "react";
10797
10794
  import { Grid as Grid33 } from "@elementor/ui";
10798
- var EmailField = ({ bind, label, placeholder }) => /* @__PURE__ */ React126.createElement(PropKeyProvider, { bind }, /* @__PURE__ */ React126.createElement(Grid33, { container: true, direction: "column", gap: 0.5 }, /* @__PURE__ */ React126.createElement(Grid33, { item: true }, /* @__PURE__ */ React126.createElement(ControlFormLabel, null, label)), /* @__PURE__ */ React126.createElement(Grid33, { item: true }, /* @__PURE__ */ React126.createElement(TextControl, { placeholder }))));
10795
+ var EmailField = ({ bind, label, placeholder }) => /* @__PURE__ */ React127.createElement(PropKeyProvider, { bind }, /* @__PURE__ */ React127.createElement(Grid33, { container: true, direction: "column", gap: 0.5 }, /* @__PURE__ */ React127.createElement(Grid33, { item: true }, /* @__PURE__ */ React127.createElement(ControlFormLabel, null, label)), /* @__PURE__ */ React127.createElement(Grid33, { item: true }, /* @__PURE__ */ React127.createElement(TextControl, { placeholder }))));
10799
10796
 
10800
10797
  // src/controls/email-form-action-control/fields.tsx
10801
10798
  var SendToField = ({ placeholder }) => {
10802
10799
  const suggestions = useFormFieldSuggestions({ inputType: "email" });
10803
- return /* @__PURE__ */ React127.createElement(PropKeyProvider, { bind: "to" }, /* @__PURE__ */ React127.createElement(Stack24, { gap: 0.5 }, /* @__PURE__ */ React127.createElement(
10800
+ return /* @__PURE__ */ React128.createElement(PropKeyProvider, { bind: "to" }, /* @__PURE__ */ React128.createElement(Stack23, { gap: 0.5 }, /* @__PURE__ */ React128.createElement(
10804
10801
  EmailChipsField,
10805
10802
  {
10806
10803
  fieldLabel: __65("Send to", "elementor"),
10807
10804
  placeholder,
10808
10805
  suggestions
10809
10806
  }
10810
- ), shouldShowMentionsInfo() && /* @__PURE__ */ React127.createElement(InfoAlert2, null, __65("Type @ or an email field name to insert its submitted value.", "elementor"))));
10807
+ ), shouldShowMentionsInfo() && /* @__PURE__ */ React128.createElement(InfoAlert2, null, __65("Type @ or an email field name to insert its submitted value.", "elementor"))));
10811
10808
  };
10812
- var SubjectField = () => /* @__PURE__ */ React127.createElement(
10809
+ var SubjectField = () => /* @__PURE__ */ React128.createElement(
10813
10810
  EmailField,
10814
10811
  {
10815
10812
  bind: "subject",
@@ -10819,12 +10816,12 @@ var SubjectField = () => /* @__PURE__ */ React127.createElement(
10819
10816
  );
10820
10817
  var MessageField = () => {
10821
10818
  const suggestions = useFormFieldSuggestions();
10822
- return /* @__PURE__ */ React127.createElement(PropKeyProvider, { bind: "message" }, /* @__PURE__ */ React127.createElement(Grid34, { container: true, direction: "column", gap: 0.5 }, /* @__PURE__ */ React127.createElement(Grid34, { item: true }, /* @__PURE__ */ React127.createElement(ControlFormLabel, null, __65("Message", "elementor"))), /* @__PURE__ */ React127.createElement(Grid34, { item: true }, /* @__PURE__ */ React127.createElement(MentionTextAreaControl, { suggestions })), /* @__PURE__ */ React127.createElement(Grid34, { item: true }, /* @__PURE__ */ React127.createElement(InfoAlert2, null, shouldShowMentionsInfo() ? __65(
10819
+ return /* @__PURE__ */ React128.createElement(PropKeyProvider, { bind: "message" }, /* @__PURE__ */ React128.createElement(Grid34, { container: true, direction: "column", gap: 0.5 }, /* @__PURE__ */ React128.createElement(Grid34, { item: true }, /* @__PURE__ */ React128.createElement(ControlFormLabel, null, __65("Message", "elementor"))), /* @__PURE__ */ React128.createElement(Grid34, { item: true }, /* @__PURE__ */ React128.createElement(MentionTextAreaControl, { suggestions })), /* @__PURE__ */ React128.createElement(Grid34, { item: true }, /* @__PURE__ */ React128.createElement(InfoAlert2, null, shouldShowMentionsInfo() ? __65(
10823
10820
  "[all-fields] shortcode sends all fields. Type @ to insert specific fields and customize your message.",
10824
10821
  "elementor"
10825
10822
  ) : __65("[all-fields] shortcode sends all fields.", "elementor")))));
10826
10823
  };
10827
- var FromEmailField = () => /* @__PURE__ */ React127.createElement(
10824
+ var FromEmailField = () => /* @__PURE__ */ React128.createElement(
10828
10825
  EmailField,
10829
10826
  {
10830
10827
  bind: "from",
@@ -10832,7 +10829,7 @@ var FromEmailField = () => /* @__PURE__ */ React127.createElement(
10832
10829
  placeholder: __65("What email should appear as the sender?", "elementor")
10833
10830
  }
10834
10831
  );
10835
- var FromNameField = () => /* @__PURE__ */ React127.createElement(
10832
+ var FromNameField = () => /* @__PURE__ */ React128.createElement(
10836
10833
  EmailField,
10837
10834
  {
10838
10835
  bind: "from-name",
@@ -10842,7 +10839,7 @@ var FromNameField = () => /* @__PURE__ */ React127.createElement(
10842
10839
  );
10843
10840
  var ReplyToField = () => {
10844
10841
  const emailSuggestions = useFormFieldSuggestions({ inputType: "email" });
10845
- return /* @__PURE__ */ React127.createElement(PropKeyProvider, { bind: "reply-to" }, /* @__PURE__ */ React127.createElement(Grid34, { container: true, direction: "column", gap: 0.5 }, /* @__PURE__ */ React127.createElement(Grid34, { item: true }, /* @__PURE__ */ React127.createElement(ControlFormLabel, null, __65("Reply-to", "elementor"))), /* @__PURE__ */ React127.createElement(Grid34, { item: true }, /* @__PURE__ */ React127.createElement(
10842
+ return /* @__PURE__ */ React128.createElement(PropKeyProvider, { bind: "reply-to" }, /* @__PURE__ */ React128.createElement(Grid34, { container: true, direction: "column", gap: 0.5 }, /* @__PURE__ */ React128.createElement(Grid34, { item: true }, /* @__PURE__ */ React128.createElement(ControlFormLabel, null, __65("Reply-to", "elementor"))), /* @__PURE__ */ React128.createElement(Grid34, { item: true }, /* @__PURE__ */ React128.createElement(
10846
10843
  MentionTextAreaControl,
10847
10844
  {
10848
10845
  suggestions: emailSuggestions,
@@ -10854,13 +10851,13 @@ var ReplyToField = () => {
10854
10851
  };
10855
10852
  var CcField = () => {
10856
10853
  const suggestions = useFormFieldSuggestions({ inputType: "email" });
10857
- return /* @__PURE__ */ React127.createElement(PropKeyProvider, { bind: "cc" }, /* @__PURE__ */ React127.createElement(EmailChipsField, { fieldLabel: __65("Cc", "elementor"), suggestions }));
10854
+ return /* @__PURE__ */ React128.createElement(PropKeyProvider, { bind: "cc" }, /* @__PURE__ */ React128.createElement(EmailChipsField, { fieldLabel: __65("Cc", "elementor"), suggestions }));
10858
10855
  };
10859
10856
  var BccField = () => {
10860
10857
  const suggestions = useFormFieldSuggestions({ inputType: "email" });
10861
- return /* @__PURE__ */ React127.createElement(PropKeyProvider, { bind: "bcc" }, /* @__PURE__ */ React127.createElement(EmailChipsField, { fieldLabel: __65("Bcc", "elementor"), suggestions }));
10858
+ return /* @__PURE__ */ React128.createElement(PropKeyProvider, { bind: "bcc" }, /* @__PURE__ */ React128.createElement(EmailChipsField, { fieldLabel: __65("Bcc", "elementor"), suggestions }));
10862
10859
  };
10863
- var MetaDataField = () => /* @__PURE__ */ React127.createElement(PropKeyProvider, { bind: "meta-data" }, /* @__PURE__ */ React127.createElement(Stack24, { gap: 0.5 }, /* @__PURE__ */ React127.createElement(ControlFormLabel, null, __65("Metadata", "elementor")), /* @__PURE__ */ React127.createElement(
10860
+ var MetaDataField = () => /* @__PURE__ */ React128.createElement(PropKeyProvider, { bind: "meta-data" }, /* @__PURE__ */ React128.createElement(Stack23, { gap: 0.5 }, /* @__PURE__ */ React128.createElement(ControlFormLabel, null, __65("Metadata", "elementor")), /* @__PURE__ */ React128.createElement(
10864
10861
  ChipsControl,
10865
10862
  {
10866
10863
  options: [
@@ -10872,7 +10869,7 @@ var MetaDataField = () => /* @__PURE__ */ React127.createElement(PropKeyProvider
10872
10869
  ]
10873
10870
  }
10874
10871
  )));
10875
- var SendAsField = () => /* @__PURE__ */ React127.createElement(PropKeyProvider, { bind: "send-as" }, /* @__PURE__ */ React127.createElement(Grid34, { container: true, direction: "column", gap: 0.5 }, /* @__PURE__ */ React127.createElement(Grid34, { item: true }, /* @__PURE__ */ React127.createElement(ControlFormLabel, null, __65("Send as", "elementor"))), /* @__PURE__ */ React127.createElement(Grid34, { item: true }, /* @__PURE__ */ React127.createElement(
10872
+ var SendAsField = () => /* @__PURE__ */ React128.createElement(PropKeyProvider, { bind: "send-as" }, /* @__PURE__ */ React128.createElement(Grid34, { container: true, direction: "column", gap: 0.5 }, /* @__PURE__ */ React128.createElement(Grid34, { item: true }, /* @__PURE__ */ React128.createElement(ControlFormLabel, null, __65("Send as", "elementor"))), /* @__PURE__ */ React128.createElement(Grid34, { item: true }, /* @__PURE__ */ React128.createElement(
10876
10873
  SelectControl,
10877
10874
  {
10878
10875
  options: [
@@ -10886,29 +10883,29 @@ var SendAsField = () => /* @__PURE__ */ React127.createElement(PropKeyProvider,
10886
10883
  var EmailFormActionControl = createControl(
10887
10884
  ({ toPlaceholder, label }) => {
10888
10885
  const { value, setValue, ...propContext } = useBoundProp(emailsPropTypeUtil);
10889
- return /* @__PURE__ */ React128.createElement(PropProvider, { ...propContext, value, setValue }, /* @__PURE__ */ React128.createElement(Stack25, { gap: 2 }, /* @__PURE__ */ React128.createElement(ControlLabel, null, label ? label + " " + __66("settings", "elementor") : __66("Email settings", "elementor")), /* @__PURE__ */ React128.createElement(SendToField, { placeholder: toPlaceholder }), /* @__PURE__ */ React128.createElement(SubjectField, null), /* @__PURE__ */ React128.createElement(MessageField, null), /* @__PURE__ */ React128.createElement(FromEmailField, null), /* @__PURE__ */ React128.createElement(AdvancedSettings, null)));
10886
+ return /* @__PURE__ */ React129.createElement(PropProvider, { ...propContext, value, setValue }, /* @__PURE__ */ React129.createElement(Stack24, { gap: 2 }, /* @__PURE__ */ React129.createElement(ControlLabel, null, label ? label + " " + __66("settings", "elementor") : __66("Email settings", "elementor")), /* @__PURE__ */ React129.createElement(SendToField, { placeholder: toPlaceholder }), /* @__PURE__ */ React129.createElement(SubjectField, null), /* @__PURE__ */ React129.createElement(MessageField, null), /* @__PURE__ */ React129.createElement(FromEmailField, null), /* @__PURE__ */ React129.createElement(AdvancedSettings, null)));
10890
10887
  }
10891
10888
  );
10892
- var AdvancedSettings = () => /* @__PURE__ */ React128.createElement(CollapsibleContent, { defaultOpen: false }, /* @__PURE__ */ React128.createElement(Box34, { sx: { pt: 2 } }, /* @__PURE__ */ React128.createElement(Stack25, { gap: 2 }, /* @__PURE__ */ React128.createElement(FromNameField, null), /* @__PURE__ */ React128.createElement(ReplyToField, null), /* @__PURE__ */ React128.createElement(CcField, null), /* @__PURE__ */ React128.createElement(BccField, null), /* @__PURE__ */ React128.createElement(Divider7, null), /* @__PURE__ */ React128.createElement(MetaDataField, null), /* @__PURE__ */ React128.createElement(SendAsField, null))));
10889
+ var AdvancedSettings = () => /* @__PURE__ */ React129.createElement(CollapsibleContent, { defaultOpen: false }, /* @__PURE__ */ React129.createElement(Box34, { sx: { pt: 2 } }, /* @__PURE__ */ React129.createElement(Stack24, { gap: 2 }, /* @__PURE__ */ React129.createElement(FromNameField, null), /* @__PURE__ */ React129.createElement(ReplyToField, null), /* @__PURE__ */ React129.createElement(CcField, null), /* @__PURE__ */ React129.createElement(BccField, null), /* @__PURE__ */ React129.createElement(Divider7, null), /* @__PURE__ */ React129.createElement(MetaDataField, null), /* @__PURE__ */ React129.createElement(SendAsField, null))));
10893
10890
 
10894
10891
  // src/controls/attachment-type-control.tsx
10895
- import * as React129 from "react";
10892
+ import * as React130 from "react";
10896
10893
  import { InfoAlert as InfoAlert3 } from "@elementor/editor-ui";
10897
10894
  import { Grid as Grid35 } from "@elementor/ui";
10898
10895
  import { __ as __67 } from "@wordpress/i18n";
10899
10896
  var AttachmentTypeControl = createControl(({ label, options }) => {
10900
- return /* @__PURE__ */ React129.createElement(Grid35, { container: true, direction: "column", gap: 1 }, label && /* @__PURE__ */ React129.createElement(Grid35, { item: true }, /* @__PURE__ */ React129.createElement(ControlFormLabel, null, label)), /* @__PURE__ */ React129.createElement(Grid35, { item: true }, /* @__PURE__ */ React129.createElement(SelectControl, { options })), /* @__PURE__ */ React129.createElement(Grid35, { item: true }, /* @__PURE__ */ React129.createElement(InfoAlert3, null, __67(
10897
+ return /* @__PURE__ */ React130.createElement(Grid35, { container: true, direction: "column", gap: 1 }, label && /* @__PURE__ */ React130.createElement(Grid35, { item: true }, /* @__PURE__ */ React130.createElement(ControlFormLabel, null, label)), /* @__PURE__ */ React130.createElement(Grid35, { item: true }, /* @__PURE__ */ React130.createElement(SelectControl, { options })), /* @__PURE__ */ React130.createElement(Grid35, { item: true }, /* @__PURE__ */ React130.createElement(InfoAlert3, null, __67(
10901
10898
  "Linked uploads are saved to the server. Direct attachments will not appear under Submissions.",
10902
10899
  "elementor"
10903
10900
  ))));
10904
10901
  });
10905
10902
 
10906
10903
  // src/controls/notice-control.tsx
10907
- import * as React130 from "react";
10904
+ import * as React131 from "react";
10908
10905
  import { useState as useState25 } from "react";
10909
10906
  import { ajax } from "@elementor/editor-v1-adapters";
10910
10907
  import { BulbIcon } from "@elementor/icons";
10911
- import { Alert as Alert3, AlertAction as AlertAction2, AlertTitle as AlertTitle4, styled as styled13, Typography as Typography13 } from "@elementor/ui";
10908
+ import { Alert as Alert3, AlertAction as AlertAction2, AlertTitle as AlertTitle4, styled as styled13, Typography as Typography12 } from "@elementor/ui";
10912
10909
  var NoticeTitle = styled13(AlertTitle4)({
10913
10910
  "&.MuiAlertTitle-root.MuiAlertTitle-root": {
10914
10911
  marginBottom: 4,
@@ -10928,7 +10925,7 @@ var NoticeControl = createControl(
10928
10925
  return null;
10929
10926
  }
10930
10927
  const severity = noticeType === "danger" ? "error" : noticeType;
10931
- const icon = noticeType === "info" ? /* @__PURE__ */ React130.createElement(BulbIcon, { fontSize: "inherit" }) : void 0;
10928
+ const icon = noticeType === "info" ? /* @__PURE__ */ React131.createElement(BulbIcon, { fontSize: "inherit" }) : void 0;
10932
10929
  const handleDismiss = () => {
10933
10930
  setIsDismissed(true);
10934
10931
  if (!dismissible) {
@@ -10948,7 +10945,7 @@ var NoticeControl = createControl(
10948
10945
  markNoticeAsDismissedInSession(dismissible);
10949
10946
  }
10950
10947
  };
10951
- return /* @__PURE__ */ React130.createElement(Alert3, { variant: "outlined", severity, icon, size: "small", onClose: handleDismiss }, heading && /* @__PURE__ */ React130.createElement(NoticeTitle, null, heading), /* @__PURE__ */ React130.createElement(Typography13, { variant: "caption", color: "textSecondary", sx: { fontStyle: "italic" } }, content), buttonText && buttonUrl && /* @__PURE__ */ React130.createElement(
10948
+ return /* @__PURE__ */ React131.createElement(Alert3, { variant: "outlined", severity, icon, size: "small", onClose: handleDismiss }, heading && /* @__PURE__ */ React131.createElement(NoticeTitle, null, heading), /* @__PURE__ */ React131.createElement(Typography12, { variant: "caption", color: "textSecondary", sx: { fontStyle: "italic" } }, content), buttonText && buttonUrl && /* @__PURE__ */ React131.createElement(
10952
10949
  AlertAction2,
10953
10950
  {
10954
10951
  variant: "contained",
@@ -10965,7 +10962,7 @@ var NoticeControl = createControl(
10965
10962
  );
10966
10963
 
10967
10964
  // src/controls/grid-span-control.tsx
10968
- import * as React131 from "react";
10965
+ import * as React132 from "react";
10969
10966
  import { spanPropTypeUtil } from "@elementor/editor-props";
10970
10967
  import { TextField as TextField13 } from "@elementor/ui";
10971
10968
  var GridSpanControl = createControl(
@@ -10984,7 +10981,7 @@ var GridSpanControl = createControl(
10984
10981
  setValue(next === "" ? null : next);
10985
10982
  };
10986
10983
  const placeholder = propPlaceholder ?? boundPlaceholder ?? `e.g: 'span 2' or '1 / 3'`;
10987
- return /* @__PURE__ */ React131.createElement(ControlActions, null, /* @__PURE__ */ React131.createElement(
10984
+ return /* @__PURE__ */ React132.createElement(ControlActions, null, /* @__PURE__ */ React132.createElement(
10988
10985
  TextField13,
10989
10986
  {
10990
10987
  size: "tiny",
@@ -11005,21 +11002,21 @@ var GridSpanControl = createControl(
11005
11002
  );
11006
11003
 
11007
11004
  // src/components/promotions/display-conditions-control.tsx
11008
- import * as React133 from "react";
11005
+ import * as React134 from "react";
11009
11006
  import { useRef as useRef34 } from "react";
11010
11007
  import { SitemapIcon } from "@elementor/icons";
11011
- import { IconButton as IconButton10, Stack as Stack26, Tooltip as Tooltip14 } from "@elementor/ui";
11008
+ import { IconButton as IconButton11, Stack as Stack25, Tooltip as Tooltip14 } from "@elementor/ui";
11012
11009
  import { __ as __68 } from "@wordpress/i18n";
11013
11010
 
11014
11011
  // src/components/promotions/promotion-trigger.tsx
11015
- import * as React132 from "react";
11016
- import { forwardRef as forwardRef12, useCallback as useCallback5, useImperativeHandle, useState as useState26 } from "react";
11012
+ import * as React133 from "react";
11013
+ import { forwardRef as forwardRef13, useCallback as useCallback5, useImperativeHandle, useState as useState26 } from "react";
11017
11014
  import { PromotionChip as PromotionChip2, PromotionInfotip } from "@elementor/editor-ui";
11018
11015
  import { Box as Box35 } from "@elementor/ui";
11019
11016
  function getV4Promotion(key) {
11020
11017
  return window.elementor?.config?.v4Promotions?.[key];
11021
11018
  }
11022
- var PromotionTrigger = forwardRef12(
11019
+ var PromotionTrigger = forwardRef13(
11023
11020
  ({ promotionKey, children, trackingData }, ref) => {
11024
11021
  const [isOpen, setIsOpen] = useState26(false);
11025
11022
  const promotion = getV4Promotion(promotionKey);
@@ -11032,7 +11029,7 @@ var PromotionTrigger = forwardRef12(
11032
11029
  });
11033
11030
  }, [trackingData]);
11034
11031
  useImperativeHandle(ref, () => ({ toggle }), [toggle]);
11035
- return /* @__PURE__ */ React132.createElement(React132.Fragment, null, promotion && /* @__PURE__ */ React132.createElement(
11032
+ return /* @__PURE__ */ React133.createElement(React133.Fragment, null, promotion && /* @__PURE__ */ React133.createElement(
11036
11033
  PromotionInfotip,
11037
11034
  {
11038
11035
  title: promotion.title,
@@ -11046,7 +11043,7 @@ var PromotionTrigger = forwardRef12(
11046
11043
  },
11047
11044
  onCtaClick: () => trackUpgradePromotionClick(trackingData)
11048
11045
  },
11049
- /* @__PURE__ */ React132.createElement(
11046
+ /* @__PURE__ */ React133.createElement(
11050
11047
  Box35,
11051
11048
  {
11052
11049
  onClick: (e) => {
@@ -11055,7 +11052,7 @@ var PromotionTrigger = forwardRef12(
11055
11052
  },
11056
11053
  sx: { cursor: "pointer", display: "inline-flex" }
11057
11054
  },
11058
- children ?? /* @__PURE__ */ React132.createElement(PromotionChip2, null)
11055
+ children ?? /* @__PURE__ */ React133.createElement(PromotionChip2, null)
11059
11056
  )
11060
11057
  ));
11061
11058
  }
@@ -11066,8 +11063,8 @@ var ARIA_LABEL = __68("Display Conditions", "elementor");
11066
11063
  var TRACKING_DATA = { target_name: "display_conditions", location_l2: "general" };
11067
11064
  var DisplayConditionsControl = createControl(() => {
11068
11065
  const triggerRef = useRef34(null);
11069
- return /* @__PURE__ */ React133.createElement(
11070
- Stack26,
11066
+ return /* @__PURE__ */ React134.createElement(
11067
+ Stack25,
11071
11068
  {
11072
11069
  direction: "row",
11073
11070
  spacing: 2,
@@ -11076,9 +11073,9 @@ var DisplayConditionsControl = createControl(() => {
11076
11073
  alignItems: "center"
11077
11074
  }
11078
11075
  },
11079
- /* @__PURE__ */ React133.createElement(PromotionTrigger, { ref: triggerRef, promotionKey: "displayConditions", trackingData: TRACKING_DATA }),
11080
- /* @__PURE__ */ React133.createElement(Tooltip14, { title: ARIA_LABEL, placement: "top" }, /* @__PURE__ */ React133.createElement(
11081
- IconButton10,
11076
+ /* @__PURE__ */ React134.createElement(PromotionTrigger, { ref: triggerRef, promotionKey: "displayConditions", trackingData: TRACKING_DATA }),
11077
+ /* @__PURE__ */ React134.createElement(Tooltip14, { title: ARIA_LABEL, placement: "top" }, /* @__PURE__ */ React134.createElement(
11078
+ IconButton11,
11082
11079
  {
11083
11080
  size: "tiny",
11084
11081
  "aria-label": ARIA_LABEL,
@@ -11090,23 +11087,23 @@ var DisplayConditionsControl = createControl(() => {
11090
11087
  borderRadius: 1
11091
11088
  }
11092
11089
  },
11093
- /* @__PURE__ */ React133.createElement(SitemapIcon, { fontSize: "tiny", color: "disabled" })
11090
+ /* @__PURE__ */ React134.createElement(SitemapIcon, { fontSize: "tiny", color: "disabled" })
11094
11091
  ))
11095
11092
  );
11096
11093
  });
11097
11094
 
11098
11095
  // src/components/promotions/attributes-control.tsx
11099
- import * as React134 from "react";
11096
+ import * as React135 from "react";
11100
11097
  import { useRef as useRef35 } from "react";
11101
11098
  import { PlusIcon as PlusIcon4 } from "@elementor/icons";
11102
- import { Stack as Stack27, Tooltip as Tooltip15 } from "@elementor/ui";
11099
+ import { Stack as Stack26, Tooltip as Tooltip15 } from "@elementor/ui";
11103
11100
  import { __ as __69 } from "@wordpress/i18n";
11104
11101
  var ARIA_LABEL2 = __69("Attributes", "elementor");
11105
11102
  var TRACKING_DATA2 = { target_name: "attributes", location_l2: "general" };
11106
11103
  var AttributesControl = createControl(() => {
11107
11104
  const triggerRef = useRef35(null);
11108
- return /* @__PURE__ */ React134.createElement(
11109
- Stack27,
11105
+ return /* @__PURE__ */ React135.createElement(
11106
+ Stack26,
11110
11107
  {
11111
11108
  direction: "row",
11112
11109
  spacing: 2,
@@ -11115,8 +11112,8 @@ var AttributesControl = createControl(() => {
11115
11112
  alignItems: "center"
11116
11113
  }
11117
11114
  },
11118
- /* @__PURE__ */ React134.createElement(PromotionTrigger, { ref: triggerRef, promotionKey: "attributes", trackingData: TRACKING_DATA2 }),
11119
- /* @__PURE__ */ React134.createElement(Tooltip15, { title: ARIA_LABEL2, placement: "top" }, /* @__PURE__ */ React134.createElement(
11115
+ /* @__PURE__ */ React135.createElement(PromotionTrigger, { ref: triggerRef, promotionKey: "attributes", trackingData: TRACKING_DATA2 }),
11116
+ /* @__PURE__ */ React135.createElement(Tooltip15, { title: ARIA_LABEL2, placement: "top" }, /* @__PURE__ */ React135.createElement(
11120
11117
  PlusIcon4,
11121
11118
  {
11122
11119
  "aria-label": ARIA_LABEL2,
@@ -11130,27 +11127,27 @@ var AttributesControl = createControl(() => {
11130
11127
  });
11131
11128
 
11132
11129
  // src/components/icon-buttons/clear-icon-button.tsx
11133
- import * as React135 from "react";
11130
+ import * as React136 from "react";
11134
11131
  import { BrushBigIcon } from "@elementor/icons";
11135
- import { IconButton as IconButton11, styled as styled14, Tooltip as Tooltip16 } from "@elementor/ui";
11136
- var CustomIconButton = styled14(IconButton11)(({ theme }) => ({
11132
+ import { IconButton as IconButton12, styled as styled14, Tooltip as Tooltip16 } from "@elementor/ui";
11133
+ var CustomIconButton = styled14(IconButton12)(({ theme }) => ({
11137
11134
  width: theme.spacing(2.5),
11138
11135
  height: theme.spacing(2.5)
11139
11136
  }));
11140
- var ClearIconButton = ({ tooltipText, onClick, disabled, size = "tiny" }) => /* @__PURE__ */ React135.createElement(Tooltip16, { title: tooltipText, placement: "top", disableInteractive: true }, /* @__PURE__ */ React135.createElement(CustomIconButton, { "aria-label": tooltipText, size, onClick, disabled }, /* @__PURE__ */ React135.createElement(BrushBigIcon, { fontSize: size })));
11137
+ var ClearIconButton = ({ tooltipText, onClick, disabled, size = "tiny" }) => /* @__PURE__ */ React136.createElement(Tooltip16, { title: tooltipText, placement: "top", disableInteractive: true }, /* @__PURE__ */ React136.createElement(CustomIconButton, { "aria-label": tooltipText, size, onClick, disabled }, /* @__PURE__ */ React136.createElement(BrushBigIcon, { fontSize: size })));
11141
11138
 
11142
11139
  // src/components/repeater/repeater.tsx
11143
- import * as React136 from "react";
11140
+ import * as React137 from "react";
11144
11141
  import { useEffect as useEffect21, useState as useState27 } from "react";
11145
11142
  import { CopyIcon as CopyIcon2, EyeIcon as EyeIcon2, EyeOffIcon as EyeOffIcon2, PlusIcon as PlusIcon5, XIcon as XIcon4 } from "@elementor/icons";
11146
11143
  import {
11147
11144
  bindPopover as bindPopover9,
11148
11145
  bindTrigger as bindTrigger7,
11149
11146
  Box as Box36,
11150
- IconButton as IconButton12,
11147
+ IconButton as IconButton13,
11151
11148
  Infotip as Infotip4,
11152
11149
  Tooltip as Tooltip17,
11153
- usePopupState as usePopupState14
11150
+ usePopupState as usePopupState13
11154
11151
  } from "@elementor/ui";
11155
11152
  import { __ as __70 } from "@wordpress/i18n";
11156
11153
  var SIZE12 = "tiny";
@@ -11234,8 +11231,8 @@ var Repeater3 = ({
11234
11231
  };
11235
11232
  const isButtonDisabled = disabled || disableAddItemButton;
11236
11233
  const shouldShowInfotip = isButtonDisabled && addButtonInfotipContent;
11237
- const addButton = /* @__PURE__ */ React136.createElement(
11238
- IconButton12,
11234
+ const addButton = /* @__PURE__ */ React137.createElement(
11235
+ IconButton13,
11239
11236
  {
11240
11237
  size: SIZE12,
11241
11238
  sx: {
@@ -11245,9 +11242,9 @@ var Repeater3 = ({
11245
11242
  onClick: addRepeaterItem,
11246
11243
  "aria-label": __70("Add item", "elementor")
11247
11244
  },
11248
- /* @__PURE__ */ React136.createElement(PlusIcon5, { fontSize: SIZE12 })
11245
+ /* @__PURE__ */ React137.createElement(PlusIcon5, { fontSize: SIZE12 })
11249
11246
  );
11250
- return /* @__PURE__ */ React136.createElement(SectionContent, { gap: 2 }, /* @__PURE__ */ React136.createElement(RepeaterHeader, { label, adornment }, shouldShowInfotip ? /* @__PURE__ */ React136.createElement(
11247
+ return /* @__PURE__ */ React137.createElement(SectionContent, { gap: 2 }, /* @__PURE__ */ React137.createElement(RepeaterHeader, { label, adornment }, shouldShowInfotip ? /* @__PURE__ */ React137.createElement(
11251
11248
  Infotip4,
11252
11249
  {
11253
11250
  placement: "right",
@@ -11255,20 +11252,20 @@ var Repeater3 = ({
11255
11252
  color: "secondary",
11256
11253
  slotProps: { popper: { sx: { width: 300 } } }
11257
11254
  },
11258
- /* @__PURE__ */ React136.createElement(Box36, { sx: { ...isButtonDisabled ? { cursor: "not-allowed" } : {} } }, addButton)
11259
- ) : addButton), 0 < uniqueKeys.length && /* @__PURE__ */ React136.createElement(SortableProvider, { value: uniqueKeys, onChange: onChangeOrder }, uniqueKeys.map((key) => {
11255
+ /* @__PURE__ */ React137.createElement(Box36, { sx: { ...isButtonDisabled ? { cursor: "not-allowed" } : {} } }, addButton)
11256
+ ) : addButton), 0 < uniqueKeys.length && /* @__PURE__ */ React137.createElement(SortableProvider, { value: uniqueKeys, onChange: onChangeOrder }, uniqueKeys.map((key) => {
11260
11257
  const index = uniqueKeys.indexOf(key);
11261
11258
  const value = items2[index];
11262
11259
  if (!value) {
11263
11260
  return null;
11264
11261
  }
11265
- return /* @__PURE__ */ React136.createElement(SortableItem, { id: key, key: `sortable-${key}`, disabled: !isSortable }, /* @__PURE__ */ React136.createElement(
11262
+ return /* @__PURE__ */ React137.createElement(SortableItem, { id: key, key: `sortable-${key}`, disabled: !isSortable }, /* @__PURE__ */ React137.createElement(
11266
11263
  RepeaterItem,
11267
11264
  {
11268
11265
  disabled,
11269
11266
  propDisabled: value?.disabled,
11270
- label: /* @__PURE__ */ React136.createElement(RepeaterItemLabelSlot, { value }, /* @__PURE__ */ React136.createElement(itemSettings.Label, { value, index })),
11271
- startIcon: /* @__PURE__ */ React136.createElement(RepeaterItemIconSlot, { value }, /* @__PURE__ */ React136.createElement(itemSettings.Icon, { value })),
11267
+ label: /* @__PURE__ */ React137.createElement(RepeaterItemLabelSlot, { value }, /* @__PURE__ */ React137.createElement(itemSettings.Label, { value, index })),
11268
+ startIcon: /* @__PURE__ */ React137.createElement(RepeaterItemIconSlot, { value }, /* @__PURE__ */ React137.createElement(itemSettings.Icon, { value })),
11272
11269
  removeItem: () => removeRepeaterItem(index),
11273
11270
  duplicateItem: () => duplicateRepeaterItem(index),
11274
11271
  toggleDisableItem: () => toggleDisableRepeaterItem(index),
@@ -11282,7 +11279,7 @@ var Repeater3 = ({
11282
11279
  actions: itemSettings.actions,
11283
11280
  value
11284
11281
  },
11285
- (props) => /* @__PURE__ */ React136.createElement(
11282
+ (props) => /* @__PURE__ */ React137.createElement(
11286
11283
  itemSettings.Content,
11287
11284
  {
11288
11285
  ...props,
@@ -11327,7 +11324,7 @@ var RepeaterItem = ({
11327
11324
  const duplicateLabel = __70("Duplicate", "elementor");
11328
11325
  const toggleLabel = propDisabled ? __70("Show", "elementor") : __70("Hide", "elementor");
11329
11326
  const removeLabel = __70("Remove", "elementor");
11330
- return /* @__PURE__ */ React136.createElement(Box36, { sx: { display: "contents" } }, /* @__PURE__ */ React136.createElement(
11327
+ return /* @__PURE__ */ React137.createElement(Box36, { sx: { display: "contents" } }, /* @__PURE__ */ React137.createElement(
11331
11328
  RepeaterTag,
11332
11329
  {
11333
11330
  disabled,
@@ -11342,13 +11339,13 @@ var RepeaterItem = ({
11342
11339
  }
11343
11340
  },
11344
11341
  startIcon,
11345
- actions: /* @__PURE__ */ React136.createElement(React136.Fragment, null, showDuplicate && /* @__PURE__ */ React136.createElement(Tooltip17, { title: duplicateLabel, placement: "top" }, /* @__PURE__ */ React136.createElement(IconButton12, { size: SIZE12, onClick: duplicateItem, "aria-label": duplicateLabel }, /* @__PURE__ */ React136.createElement(CopyIcon2, { fontSize: SIZE12 }))), showToggle && /* @__PURE__ */ React136.createElement(Tooltip17, { title: toggleLabel, placement: "top" }, /* @__PURE__ */ React136.createElement(IconButton12, { size: SIZE12, onClick: toggleDisableItem, "aria-label": toggleLabel }, propDisabled ? /* @__PURE__ */ React136.createElement(EyeOffIcon2, { fontSize: SIZE12 }) : /* @__PURE__ */ React136.createElement(EyeIcon2, { fontSize: SIZE12 }))), actions?.(value), showRemove && /* @__PURE__ */ React136.createElement(Tooltip17, { title: removeLabel, placement: "top" }, /* @__PURE__ */ React136.createElement(IconButton12, { size: SIZE12, onClick: removeItem, "aria-label": removeLabel }, /* @__PURE__ */ React136.createElement(XIcon4, { fontSize: SIZE12 }))))
11342
+ actions: /* @__PURE__ */ React137.createElement(React137.Fragment, null, showDuplicate && /* @__PURE__ */ React137.createElement(Tooltip17, { title: duplicateLabel, placement: "top" }, /* @__PURE__ */ React137.createElement(IconButton13, { size: SIZE12, onClick: duplicateItem, "aria-label": duplicateLabel }, /* @__PURE__ */ React137.createElement(CopyIcon2, { fontSize: SIZE12 }))), showToggle && /* @__PURE__ */ React137.createElement(Tooltip17, { title: toggleLabel, placement: "top" }, /* @__PURE__ */ React137.createElement(IconButton13, { size: SIZE12, onClick: toggleDisableItem, "aria-label": toggleLabel }, propDisabled ? /* @__PURE__ */ React137.createElement(EyeOffIcon2, { fontSize: SIZE12 }) : /* @__PURE__ */ React137.createElement(EyeIcon2, { fontSize: SIZE12 }))), actions?.(value), showRemove && /* @__PURE__ */ React137.createElement(Tooltip17, { title: removeLabel, placement: "top" }, /* @__PURE__ */ React137.createElement(IconButton13, { size: SIZE12, onClick: removeItem, "aria-label": removeLabel }, /* @__PURE__ */ React137.createElement(XIcon4, { fontSize: SIZE12 }))))
11346
11343
  }
11347
- ), /* @__PURE__ */ React136.createElement(RepeaterPopover, { width: ref?.getBoundingClientRect().width, ...popoverProps, anchorEl: ref }, /* @__PURE__ */ React136.createElement(Box36, null, children({ anchorEl: ref }))));
11344
+ ), /* @__PURE__ */ React137.createElement(RepeaterPopover, { width: ref?.getBoundingClientRect().width, ...popoverProps, anchorEl: ref }, /* @__PURE__ */ React137.createElement(Box36, null, children({ anchorEl: ref }))));
11348
11345
  };
11349
11346
  var usePopover = (openOnMount, onOpen, onPopoverClose) => {
11350
11347
  const [ref, setRef] = useState27(null);
11351
- const popoverState = usePopupState14({ variant: "popover" });
11348
+ const popoverState = usePopupState13({ variant: "popover" });
11352
11349
  const popoverProps = bindPopover9(popoverState);
11353
11350
  useEffect21(() => {
11354
11351
  if (openOnMount && ref) {
@@ -11369,7 +11366,7 @@ var usePopover = (openOnMount, onOpen, onPopoverClose) => {
11369
11366
  };
11370
11367
 
11371
11368
  // src/components/size/unstable-size-field.tsx
11372
- import * as React139 from "react";
11369
+ import * as React140 from "react";
11373
11370
  import { InputAdornment as InputAdornment6 } from "@elementor/ui";
11374
11371
 
11375
11372
  // src/hooks/use-size-value.ts
@@ -11412,25 +11409,25 @@ var differsFromExternal = (newState, externalState) => {
11412
11409
  };
11413
11410
 
11414
11411
  // src/components/size/unit-select.tsx
11415
- import * as React137 from "react";
11416
- import { useId as useId6 } from "react";
11412
+ import * as React138 from "react";
11413
+ import { useId as useId5 } from "react";
11417
11414
  import { MenuListItem as MenuListItem8 } from "@elementor/editor-ui";
11418
- import { bindMenu as bindMenu5, bindTrigger as bindTrigger8, Button as Button7, Menu as Menu6, styled as styled15, usePopupState as usePopupState15 } from "@elementor/ui";
11415
+ import { bindMenu as bindMenu4, bindTrigger as bindTrigger8, Button as Button7, Menu as Menu5, styled as styled15, usePopupState as usePopupState14 } from "@elementor/ui";
11419
11416
  var menuItemContentStyles2 = {
11420
11417
  display: "flex",
11421
11418
  flexDirection: "column",
11422
11419
  justifyContent: "center"
11423
11420
  };
11424
11421
  var UnitSelect = ({ value, showPrimaryColor, onClick, options }) => {
11425
- const popupState = usePopupState15({
11422
+ const popupState = usePopupState14({
11426
11423
  variant: "popover",
11427
- popupId: useId6()
11424
+ popupId: useId5()
11428
11425
  });
11429
11426
  const handleMenuItemClick = (index) => {
11430
11427
  onClick(options[index]);
11431
11428
  popupState.close();
11432
11429
  };
11433
- return /* @__PURE__ */ React137.createElement(React137.Fragment, null, /* @__PURE__ */ React137.createElement(StyledButton3, { isPrimaryColor: showPrimaryColor, size: "small", ...bindTrigger8(popupState) }, value), /* @__PURE__ */ React137.createElement(Menu6, { MenuListProps: { dense: true }, ...bindMenu5(popupState) }, options.map((option, index) => /* @__PURE__ */ React137.createElement(
11430
+ return /* @__PURE__ */ React138.createElement(React138.Fragment, null, /* @__PURE__ */ React138.createElement(StyledButton3, { isPrimaryColor: showPrimaryColor, size: "small", ...bindTrigger8(popupState) }, value), /* @__PURE__ */ React138.createElement(Menu5, { MenuListProps: { dense: true }, ...bindMenu4(popupState) }, options.map((option, index) => /* @__PURE__ */ React138.createElement(
11434
11431
  MenuListItem8,
11435
11432
  {
11436
11433
  key: option,
@@ -11459,11 +11456,11 @@ var StyledButton3 = styled15(Button7, {
11459
11456
  }));
11460
11457
 
11461
11458
  // src/components/size/unstable-size-input.tsx
11462
- import * as React138 from "react";
11463
- import { forwardRef as forwardRef13 } from "react";
11464
- var UnstableSizeInput = forwardRef13(
11459
+ import * as React139 from "react";
11460
+ import { forwardRef as forwardRef14 } from "react";
11461
+ var UnstableSizeInput = forwardRef14(
11465
11462
  ({ type, value, onChange, onKeyDown, onKeyUp, InputProps, onBlur, focused, disabled }, ref) => {
11466
- return /* @__PURE__ */ React138.createElement(
11463
+ return /* @__PURE__ */ React139.createElement(
11467
11464
  NumberInput,
11468
11465
  {
11469
11466
  ref,
@@ -11501,7 +11498,7 @@ var UnstableSizeField = ({
11501
11498
  const shouldHighlightUnit2 = () => {
11502
11499
  return hasValue(size);
11503
11500
  };
11504
- return /* @__PURE__ */ React139.createElement(
11501
+ return /* @__PURE__ */ React140.createElement(
11505
11502
  UnstableSizeInput,
11506
11503
  {
11507
11504
  type: "number",
@@ -11510,8 +11507,8 @@ var UnstableSizeField = ({
11510
11507
  onChange: (event) => setSize(event.target.value),
11511
11508
  InputProps: {
11512
11509
  ...InputProps,
11513
- startAdornment: startIcon && /* @__PURE__ */ React139.createElement(InputAdornment6, { position: "start" }, startIcon),
11514
- endAdornment: /* @__PURE__ */ React139.createElement(InputAdornment6, { position: "end" }, /* @__PURE__ */ React139.createElement(
11510
+ startAdornment: startIcon && /* @__PURE__ */ React140.createElement(InputAdornment6, { position: "start" }, startIcon),
11511
+ endAdornment: /* @__PURE__ */ React140.createElement(InputAdornment6, { position: "end" }, /* @__PURE__ */ React140.createElement(
11515
11512
  UnitSelect,
11516
11513
  {
11517
11514
  options: units2,