@elementor/editor-editing-panel 1.31.0 → 1.33.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -896,7 +896,7 @@ function useHandleApply(appliedIds, setAppliedIds) {
896
896
  import { __createPanel as createPanel } from "@elementor/editor-panels";
897
897
 
898
898
  // src/components/editing-panel.tsx
899
- import * as React69 from "react";
899
+ import * as React70 from "react";
900
900
  import { ControlActionsProvider, ControlReplacementsProvider } from "@elementor/editor-controls";
901
901
  import { useSelectedElement } from "@elementor/editor-elements";
902
902
  import { Panel, PanelBody, PanelHeader, PanelHeaderTitle } from "@elementor/editor-panels";
@@ -960,9 +960,9 @@ function EditorPanelErrorFallback() {
960
960
  }
961
961
 
962
962
  // src/components/editing-panel-tabs.tsx
963
- import * as React68 from "react";
963
+ import * as React69 from "react";
964
964
  import { Fragment as Fragment8 } from "react";
965
- import { Divider as Divider5, Stack as Stack17, Tab, TabPanel, Tabs, useTabs } from "@elementor/ui";
965
+ import { Divider as Divider6, Stack as Stack17, Tab, TabPanel, Tabs, useTabs } from "@elementor/ui";
966
966
  import { __ as __45 } from "@wordpress/i18n";
967
967
 
968
968
  // src/contexts/scroll-context.tsx
@@ -1008,6 +1008,7 @@ function useScrollDirection() {
1008
1008
  import * as React16 from "react";
1009
1009
  import { ControlFormLabel } from "@elementor/editor-controls";
1010
1010
  import { SessionStorageProvider } from "@elementor/session";
1011
+ import { Divider as Divider3 } from "@elementor/ui";
1011
1012
 
1012
1013
  // src/controls-registry/control.tsx
1013
1014
  import * as React11 from "react";
@@ -1033,12 +1034,12 @@ var controlTypes = {
1033
1034
  link: { component: LinkControl, layout: "full" },
1034
1035
  url: { component: UrlControl, layout: "full" }
1035
1036
  };
1036
- var getControlByType = (type) => controlTypes[type]?.component;
1037
- var getLayoutByType = (type) => controlTypes[type].layout;
1037
+ var getControl = (type) => controlTypes[type]?.component;
1038
+ var getDefaultLayout = (type) => controlTypes[type].layout;
1038
1039
 
1039
1040
  // src/controls-registry/control.tsx
1040
1041
  var Control = ({ props, type }) => {
1041
- const ControlByType = getControlByType(type);
1042
+ const ControlByType = getControl(type);
1042
1043
  const { element } = useElement();
1043
1044
  if (!ControlByType) {
1044
1045
  throw new ControlTypeNotFoundError({
@@ -1051,11 +1052,7 @@ var Control = ({ props, type }) => {
1051
1052
  // src/controls-registry/control-type-container.tsx
1052
1053
  import * as React12 from "react";
1053
1054
  import { Box as Box3, styled as styled4 } from "@elementor/ui";
1054
- var ControlTypeContainer = ({
1055
- controlType,
1056
- children
1057
- }) => {
1058
- const layout = getLayoutByType(controlType);
1055
+ var ControlTypeContainer = ({ children, layout }) => {
1059
1056
  return /* @__PURE__ */ React12.createElement(StyledContainer, { layout }, children);
1060
1057
  };
1061
1058
  var StyledContainer = styled4(Box3, {
@@ -1174,19 +1171,20 @@ var SettingsTab = () => {
1174
1171
  })));
1175
1172
  };
1176
1173
  var Control2 = ({ control }) => {
1177
- if (!getControlByType(control.type)) {
1174
+ if (!getControl(control.type)) {
1178
1175
  return null;
1179
1176
  }
1180
- return /* @__PURE__ */ React16.createElement(SettingsField, { bind: control.bind }, /* @__PURE__ */ React16.createElement(ControlTypeContainer, { controlType: control.type }, control.label ? /* @__PURE__ */ React16.createElement(ControlFormLabel, null, control.label) : null, /* @__PURE__ */ React16.createElement(Control, { type: control.type, props: control.props })));
1177
+ const layout = control.meta?.layout || getDefaultLayout(control.type);
1178
+ return /* @__PURE__ */ React16.createElement(SettingsField, { bind: control.bind }, control.meta?.topDivider && /* @__PURE__ */ React16.createElement(Divider3, null), /* @__PURE__ */ React16.createElement(ControlTypeContainer, { layout }, control.label ? /* @__PURE__ */ React16.createElement(ControlFormLabel, null, control.label) : null, /* @__PURE__ */ React16.createElement(Control, { type: control.type, props: control.props })));
1181
1179
  };
1182
1180
 
1183
1181
  // src/components/style-tab.tsx
1184
- import * as React67 from "react";
1185
- import { useState as useState10 } from "react";
1182
+ import * as React68 from "react";
1183
+ import { useState as useState12 } from "react";
1186
1184
  import { CLASSES_PROP_KEY } from "@elementor/editor-props";
1187
1185
  import { useActiveBreakpoint } from "@elementor/editor-responsive";
1188
1186
  import { SessionStorageProvider as SessionStorageProvider2 } from "@elementor/session";
1189
- import { Divider as Divider4, Stack as Stack16 } from "@elementor/ui";
1187
+ import { Divider as Divider5, Stack as Stack16 } from "@elementor/ui";
1190
1188
  import { __ as __44 } from "@wordpress/i18n";
1191
1189
 
1192
1190
  // src/contexts/styles-inheritance-context.tsx
@@ -1429,13 +1427,13 @@ function useActiveAndAppliedClassId(id, appliedClassesIds) {
1429
1427
  }
1430
1428
 
1431
1429
  // src/components/style-sections/background-section/background-section.tsx
1432
- import * as React20 from "react";
1430
+ import * as React21 from "react";
1433
1431
  import { BackgroundControl } from "@elementor/editor-controls";
1434
1432
 
1435
1433
  // src/controls-registry/styles-field.tsx
1436
- import * as React19 from "react";
1434
+ import * as React20 from "react";
1437
1435
  import { ControlAdornmentsProvider, PropKeyProvider as PropKeyProvider2, PropProvider as PropProvider2 } from "@elementor/editor-controls";
1438
- import { getStylesSchema } from "@elementor/editor-styles";
1436
+ import { getStylesSchema as getStylesSchema2 } from "@elementor/editor-styles";
1439
1437
 
1440
1438
  // src/hooks/use-styles-fields.ts
1441
1439
  import { useMemo as useMemo2 } from "react";
@@ -1578,11 +1576,87 @@ function useStylesField(propName) {
1578
1576
  }
1579
1577
 
1580
1578
  // src/styles-inheritance/styles-inheritance-indicator.tsx
1581
- import * as React18 from "react";
1579
+ import * as React19 from "react";
1580
+ import { useState as useState8 } from "react";
1582
1581
  import { useBoundProp } from "@elementor/editor-controls";
1583
1582
  import { ELEMENTS_BASE_STYLES_PROVIDER_KEY, isElementsStylesProvider as isElementsStylesProvider3 } from "@elementor/editor-styles-repository";
1583
+ import { IconButton as IconButton2, Infotip } from "@elementor/ui";
1584
1584
  import { __ as __5 } from "@wordpress/i18n";
1585
+
1586
+ // src/sync/get-experiments-config.ts
1587
+ var getExperimentsConfig = () => {
1588
+ const extendedWindow = window;
1589
+ return extendedWindow.elementorCommon?.config?.experimentalFeatures ?? {};
1590
+ };
1591
+
1592
+ // src/styles-inheritance/styles-inheritance-infotip.tsx
1593
+ import * as React18 from "react";
1594
+ import { useMemo as useMemo3 } from "react";
1595
+ import { createPropsResolver, styleTransformersRegistry } from "@elementor/editor-canvas";
1596
+ import { getStylesSchema } from "@elementor/editor-styles";
1597
+ import { Card, CardContent, List as List2, ListItem, ListItemText as ListItemText2 } from "@elementor/ui";
1598
+
1599
+ // src/hooks/use-normalized-inheritance-chain-items.tsx
1600
+ import { useEffect as useEffect3, useState as useState7 } from "react";
1601
+ var MAXIMUM_ITEMS = 2;
1602
+ var useNormalizedInheritanceChainItems = (inheritanceChain, bind, resolve) => {
1603
+ const [items3, setItems] = useState7([]);
1604
+ useEffect3(() => {
1605
+ (async () => {
1606
+ const normalizedItems = await Promise.all(
1607
+ inheritanceChain.filter((item) => item.style?.label).map((item, index) => normalizeInheritanceItem(item, index, bind, resolve))
1608
+ );
1609
+ const validItems = normalizedItems.filter((item) => item.value !== "").slice(0, MAXIMUM_ITEMS);
1610
+ setItems(validItems);
1611
+ })();
1612
+ }, [inheritanceChain, bind, resolve]);
1613
+ return items3;
1614
+ };
1615
+ var normalizeInheritanceItem = async (item, index, bind, resolve) => {
1616
+ const state = item.variant?.meta?.state || "";
1617
+ const label = item.style?.label || "";
1618
+ const displayLabel = state ? `${label}:${state}` : label;
1619
+ return {
1620
+ id: item.style?.id ? item.style?.id + state : index,
1621
+ breakpoint: item.variant?.meta?.breakpoint,
1622
+ displayLabel,
1623
+ value: await getTransformedValue(item, bind, resolve)
1624
+ };
1625
+ };
1626
+ var getTransformedValue = async (item, bind, resolve) => {
1627
+ try {
1628
+ const result = await resolve({
1629
+ props: {
1630
+ [bind]: item.value
1631
+ }
1632
+ });
1633
+ return Object.values(result).join(" ");
1634
+ } catch {
1635
+ return "";
1636
+ }
1637
+ };
1638
+
1639
+ // src/styles-inheritance/styles-inheritance-infotip.tsx
1640
+ var StyleIndicatorInfotip = ({ inheritanceChain, bind }) => {
1641
+ const resolve = useMemo3(() => {
1642
+ const stylesSchema = getStylesSchema();
1643
+ return createPropsResolver({
1644
+ transformers: styleTransformersRegistry,
1645
+ schema: { [bind]: stylesSchema[bind] }
1646
+ });
1647
+ }, [bind]);
1648
+ const items3 = useNormalizedInheritanceChainItems(inheritanceChain, bind, resolve);
1649
+ return /* @__PURE__ */ React18.createElement(Card, { elevation: 0, sx: { maxWidth: 320 } }, /* @__PURE__ */ React18.createElement(CardContent, { sx: { p: 1.5, pb: 2.5 } }, /* @__PURE__ */ React18.createElement(List2, null, items3.map((item) => /* @__PURE__ */ React18.createElement(ListItem, { key: item.id }, /* @__PURE__ */ React18.createElement(
1650
+ ListItemText2,
1651
+ {
1652
+ primary: `${item.breakpoint} | ${item.displayLabel}. ${item.value}`
1653
+ }
1654
+ ))))));
1655
+ };
1656
+
1657
+ // src/styles-inheritance/styles-inheritance-indicator.tsx
1585
1658
  var StylesInheritanceIndicator = () => {
1659
+ const [open, setOpen] = useState8(false);
1586
1660
  const { value, path } = useBoundProp();
1587
1661
  const { id: currentStyleId, provider: currentStyleProvider, meta: currentStyleMeta } = useStyle();
1588
1662
  const [bind] = path;
@@ -1595,38 +1669,61 @@ var StylesInheritanceIndicator = () => {
1595
1669
  return null;
1596
1670
  }
1597
1671
  const { breakpoint, state } = variant.meta;
1598
- if (style.id === currentStyleId && breakpoint === currentStyleMeta.breakpoint && state === currentStyleMeta.state) {
1599
- return /* @__PURE__ */ React18.createElement(
1600
- StyleIndicator,
1601
- {
1602
- "aria-label": __5("This is the final value", "elementor"),
1603
- variant: isElementsStylesProvider3(currentStyleProvider?.getKey()) ? "local" : "global"
1604
- }
1605
- );
1672
+ const isFinalValue = style.id === currentStyleId && breakpoint === currentStyleMeta.breakpoint && state === currentStyleMeta.state;
1673
+ const hasValue = value !== null && value !== void 0;
1674
+ const label = getLabel({ isFinalValue, hasValue });
1675
+ const variantType = getVariant({ isFinalValue, hasValue, currentStyleProvider });
1676
+ const { e_indications_popover: eIndicationsPopover } = getExperimentsConfig();
1677
+ if (!eIndicationsPopover) {
1678
+ return /* @__PURE__ */ React19.createElement(StyleIndicator, { variant: variantType, "aria-label": label });
1679
+ }
1680
+ const toggleOpen = () => setOpen((prev) => !prev);
1681
+ return /* @__PURE__ */ React19.createElement(
1682
+ Infotip,
1683
+ {
1684
+ placement: "top",
1685
+ content: /* @__PURE__ */ React19.createElement(StyleIndicatorInfotip, { inheritanceChain, bind }),
1686
+ open,
1687
+ onClose: () => setOpen(false),
1688
+ trigger: "manual"
1689
+ },
1690
+ /* @__PURE__ */ React19.createElement(IconButton2, { onClick: toggleOpen, "aria-label": label }, /* @__PURE__ */ React19.createElement(StyleIndicator, { variant: variantType }))
1691
+ );
1692
+ };
1693
+ var getLabel = ({ isFinalValue, hasValue }) => {
1694
+ if (isFinalValue) {
1695
+ return __5("This is the final value", "elementor");
1606
1696
  }
1607
- if (value !== null && value !== void 0) {
1608
- return /* @__PURE__ */ React18.createElement(
1609
- StyleIndicator,
1610
- {
1611
- "aria-label": __5("This value is overridden by another style", "elementor"),
1612
- variant: "overridden"
1613
- }
1614
- );
1697
+ if (hasValue) {
1698
+ return __5("This value is overridden by another style", "elementor");
1615
1699
  }
1616
- return /* @__PURE__ */ React18.createElement(StyleIndicator, { "aria-label": __5("This has value from another style", "elementor") });
1700
+ return __5("This has value from another style", "elementor");
1701
+ };
1702
+ var getVariant = ({
1703
+ isFinalValue,
1704
+ hasValue,
1705
+ currentStyleProvider
1706
+ }) => {
1707
+ if (isFinalValue) {
1708
+ return isElementsStylesProvider3(currentStyleProvider?.getKey?.()) ? "local" : "global";
1709
+ }
1710
+ if (hasValue) {
1711
+ return "overridden";
1712
+ }
1713
+ return void 0;
1617
1714
  };
1618
1715
 
1619
1716
  // src/controls-registry/styles-field.tsx
1620
1717
  var StylesField = ({ bind, placeholder, children }) => {
1621
1718
  const [value, setValue] = useStylesField(bind);
1622
- const stylesSchema = getStylesSchema();
1719
+ const stylesSchema = getStylesSchema2();
1623
1720
  const propType = createTopLevelOjectType({ schema: stylesSchema });
1624
1721
  const values = { [bind]: value };
1625
1722
  const placeholderValues = { [bind]: placeholder };
1626
1723
  const setValues = (newValue) => {
1627
1724
  setValue(newValue[bind]);
1628
1725
  };
1629
- return /* @__PURE__ */ React19.createElement(
1726
+ return /* @__PURE__ */ React20.createElement(
1630
1727
  ControlAdornmentsProvider,
1631
1728
  {
1632
1729
  items: [
@@ -1636,7 +1733,7 @@ var StylesField = ({ bind, placeholder, children }) => {
1636
1733
  }
1637
1734
  ]
1638
1735
  },
1639
- /* @__PURE__ */ React19.createElement(
1736
+ /* @__PURE__ */ React20.createElement(
1640
1737
  PropProvider2,
1641
1738
  {
1642
1739
  propType,
@@ -1644,50 +1741,50 @@ var StylesField = ({ bind, placeholder, children }) => {
1644
1741
  setValue: setValues,
1645
1742
  placeholder: placeholderValues
1646
1743
  },
1647
- /* @__PURE__ */ React19.createElement(PropKeyProvider2, { bind }, children)
1744
+ /* @__PURE__ */ React20.createElement(PropKeyProvider2, { bind }, children)
1648
1745
  )
1649
1746
  );
1650
1747
  };
1651
1748
 
1652
1749
  // src/components/style-sections/background-section/background-section.tsx
1653
1750
  var BackgroundSection = () => {
1654
- return /* @__PURE__ */ React20.createElement(StylesField, { bind: "background" }, /* @__PURE__ */ React20.createElement(BackgroundControl, null));
1751
+ return /* @__PURE__ */ React21.createElement(StylesField, { bind: "background" }, /* @__PURE__ */ React21.createElement(BackgroundControl, null));
1655
1752
  };
1656
1753
 
1657
1754
  // src/components/style-sections/border-section/border-section.tsx
1658
- import * as React30 from "react";
1755
+ import * as React31 from "react";
1659
1756
 
1660
1757
  // src/components/panel-divider.tsx
1661
- import * as React21 from "react";
1662
- import { Divider as Divider3 } from "@elementor/ui";
1663
- var PanelDivider = () => /* @__PURE__ */ React21.createElement(Divider3, { sx: { my: 0.5 } });
1758
+ import * as React22 from "react";
1759
+ import { Divider as Divider4 } from "@elementor/ui";
1760
+ var PanelDivider = () => /* @__PURE__ */ React22.createElement(Divider4, { sx: { my: 0.5 } });
1664
1761
 
1665
1762
  // src/components/section-content.tsx
1666
- import * as React22 from "react";
1763
+ import * as React23 from "react";
1667
1764
  import { Stack as Stack6 } from "@elementor/ui";
1668
- var SectionContent = ({ gap = 2, sx, children }) => /* @__PURE__ */ React22.createElement(Stack6, { gap, sx: { ...sx } }, children);
1765
+ var SectionContent = ({ gap = 2, sx, children }) => /* @__PURE__ */ React23.createElement(Stack6, { gap, sx: { ...sx } }, children);
1669
1766
 
1670
1767
  // src/components/style-sections/border-section/border-field.tsx
1671
- import * as React28 from "react";
1768
+ import * as React29 from "react";
1672
1769
  import { __ as __9 } from "@wordpress/i18n";
1673
1770
 
1674
1771
  // src/components/add-or-remove-content.tsx
1675
- import * as React24 from "react";
1772
+ import * as React25 from "react";
1676
1773
  import { MinusIcon, PlusIcon } from "@elementor/icons";
1677
- import { Collapse as Collapse2, IconButton as IconButton2, Stack as Stack8 } from "@elementor/ui";
1774
+ import { Collapse as Collapse2, IconButton as IconButton3, Stack as Stack8 } from "@elementor/ui";
1678
1775
 
1679
1776
  // src/components/control-label.tsx
1680
- import * as React23 from "react";
1777
+ import * as React24 from "react";
1681
1778
  import { ControlAdornments, ControlFormLabel as ControlFormLabel2 } from "@elementor/editor-controls";
1682
1779
  import { Stack as Stack7 } from "@elementor/ui";
1683
1780
  var ControlLabel = ({ children }) => {
1684
- return /* @__PURE__ */ React23.createElement(Stack7, { direction: "row", alignItems: "center", justifyItems: "start", gap: 1 }, /* @__PURE__ */ React23.createElement(ControlFormLabel2, null, children), /* @__PURE__ */ React23.createElement(ControlAdornments, null));
1781
+ return /* @__PURE__ */ React24.createElement(Stack7, { direction: "row", alignItems: "center", justifyItems: "start", gap: 1 }, /* @__PURE__ */ React24.createElement(ControlFormLabel2, null, children), /* @__PURE__ */ React24.createElement(ControlAdornments, null));
1685
1782
  };
1686
1783
 
1687
1784
  // src/components/add-or-remove-content.tsx
1688
1785
  var SIZE2 = "tiny";
1689
1786
  var AddOrRemoveContent = ({ isAdded, label, onAdd, onRemove, children }) => {
1690
- return /* @__PURE__ */ React24.createElement(SectionContent, null, /* @__PURE__ */ React24.createElement(
1787
+ return /* @__PURE__ */ React25.createElement(SectionContent, null, /* @__PURE__ */ React25.createElement(
1691
1788
  Stack8,
1692
1789
  {
1693
1790
  direction: "row",
@@ -1697,22 +1794,22 @@ var AddOrRemoveContent = ({ isAdded, label, onAdd, onRemove, children }) => {
1697
1794
  marginInlineEnd: -0.75
1698
1795
  }
1699
1796
  },
1700
- /* @__PURE__ */ React24.createElement(ControlLabel, null, label),
1701
- isAdded ? /* @__PURE__ */ React24.createElement(IconButton2, { size: SIZE2, onClick: onRemove, "aria-label": "Remove" }, /* @__PURE__ */ React24.createElement(MinusIcon, { fontSize: SIZE2 })) : /* @__PURE__ */ React24.createElement(IconButton2, { size: SIZE2, onClick: onAdd, "aria-label": "Add" }, /* @__PURE__ */ React24.createElement(PlusIcon, { fontSize: SIZE2 }))
1702
- ), /* @__PURE__ */ React24.createElement(Collapse2, { in: isAdded, unmountOnExit: true }, /* @__PURE__ */ React24.createElement(SectionContent, null, children)));
1797
+ /* @__PURE__ */ React25.createElement(ControlLabel, null, label),
1798
+ isAdded ? /* @__PURE__ */ React25.createElement(IconButton3, { size: SIZE2, onClick: onRemove, "aria-label": "Remove" }, /* @__PURE__ */ React25.createElement(MinusIcon, { fontSize: SIZE2 })) : /* @__PURE__ */ React25.createElement(IconButton3, { size: SIZE2, onClick: onAdd, "aria-label": "Add" }, /* @__PURE__ */ React25.createElement(PlusIcon, { fontSize: SIZE2 }))
1799
+ ), /* @__PURE__ */ React25.createElement(Collapse2, { in: isAdded, unmountOnExit: true }, /* @__PURE__ */ React25.createElement(SectionContent, null, children)));
1703
1800
  };
1704
1801
 
1705
1802
  // src/components/style-sections/border-section/border-color-field.tsx
1706
- import * as React25 from "react";
1803
+ import * as React26 from "react";
1707
1804
  import { ColorControl } from "@elementor/editor-controls";
1708
1805
  import { Grid } from "@elementor/ui";
1709
1806
  import { __ as __6 } from "@wordpress/i18n";
1710
1807
  var BorderColorField = () => {
1711
- return /* @__PURE__ */ React25.createElement(StylesField, { bind: "border-color" }, /* @__PURE__ */ React25.createElement(Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React25.createElement(Grid, { item: true, xs: 6 }, /* @__PURE__ */ React25.createElement(ControlLabel, null, __6("Border color", "elementor"))), /* @__PURE__ */ React25.createElement(Grid, { item: true, xs: 6 }, /* @__PURE__ */ React25.createElement(ColorControl, null))));
1808
+ return /* @__PURE__ */ React26.createElement(StylesField, { bind: "border-color" }, /* @__PURE__ */ React26.createElement(Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React26.createElement(Grid, { item: true, xs: 6 }, /* @__PURE__ */ React26.createElement(ControlLabel, null, __6("Border color", "elementor"))), /* @__PURE__ */ React26.createElement(Grid, { item: true, xs: 6 }, /* @__PURE__ */ React26.createElement(ColorControl, null))));
1712
1809
  };
1713
1810
 
1714
1811
  // src/components/style-sections/border-section/border-style-field.tsx
1715
- import * as React26 from "react";
1812
+ import * as React27 from "react";
1716
1813
  import { SelectControl as SelectControl2 } from "@elementor/editor-controls";
1717
1814
  import { Grid as Grid2 } from "@elementor/ui";
1718
1815
  import { __ as __7 } from "@wordpress/i18n";
@@ -1728,11 +1825,11 @@ var borderStyles = [
1728
1825
  { value: "outset", label: __7("Outset", "elementor") }
1729
1826
  ];
1730
1827
  var BorderStyleField = () => {
1731
- return /* @__PURE__ */ React26.createElement(StylesField, { bind: "border-style" }, /* @__PURE__ */ React26.createElement(Grid2, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React26.createElement(Grid2, { item: true, xs: 6 }, /* @__PURE__ */ React26.createElement(ControlLabel, null, __7("Border type", "elementor"))), /* @__PURE__ */ React26.createElement(Grid2, { item: true, xs: 6, sx: { overflow: "hidden" } }, /* @__PURE__ */ React26.createElement(SelectControl2, { options: borderStyles }))));
1828
+ return /* @__PURE__ */ React27.createElement(StylesField, { bind: "border-style" }, /* @__PURE__ */ React27.createElement(Grid2, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React27.createElement(Grid2, { item: true, xs: 6 }, /* @__PURE__ */ React27.createElement(ControlLabel, null, __7("Border type", "elementor"))), /* @__PURE__ */ React27.createElement(Grid2, { item: true, xs: 6, sx: { overflow: "hidden" } }, /* @__PURE__ */ React27.createElement(SelectControl2, { options: borderStyles }))));
1732
1829
  };
1733
1830
 
1734
1831
  // src/components/style-sections/border-section/border-width-field.tsx
1735
- import * as React27 from "react";
1832
+ import * as React28 from "react";
1736
1833
  import { EqualUnequalSizesControl } from "@elementor/editor-controls";
1737
1834
  import { borderWidthPropTypeUtil } from "@elementor/editor-props";
1738
1835
  import { SideAllIcon, SideBottomIcon, SideLeftIcon, SideRightIcon, SideTopIcon } from "@elementor/icons";
@@ -1753,33 +1850,33 @@ var InlineEndIcon = withDirection(SideLeftIcon);
1753
1850
  var getEdges = (isSiteRtl) => [
1754
1851
  {
1755
1852
  label: __8("Top", "elementor"),
1756
- icon: /* @__PURE__ */ React27.createElement(SideTopIcon, { fontSize: "tiny" }),
1853
+ icon: /* @__PURE__ */ React28.createElement(SideTopIcon, { fontSize: "tiny" }),
1757
1854
  bind: "block-start"
1758
1855
  },
1759
1856
  {
1760
1857
  label: isSiteRtl ? __8("Left", "elementor") : __8("Right", "elementor"),
1761
- icon: /* @__PURE__ */ React27.createElement(InlineStartIcon, { fontSize: "tiny" }),
1858
+ icon: /* @__PURE__ */ React28.createElement(InlineStartIcon, { fontSize: "tiny" }),
1762
1859
  bind: "inline-end"
1763
1860
  },
1764
1861
  {
1765
1862
  label: __8("Bottom", "elementor"),
1766
- icon: /* @__PURE__ */ React27.createElement(SideBottomIcon, { fontSize: "tiny" }),
1863
+ icon: /* @__PURE__ */ React28.createElement(SideBottomIcon, { fontSize: "tiny" }),
1767
1864
  bind: "block-end"
1768
1865
  },
1769
1866
  {
1770
1867
  label: isSiteRtl ? __8("Right", "elementor") : __8("Left", "elementor"),
1771
- icon: /* @__PURE__ */ React27.createElement(InlineEndIcon, { fontSize: "tiny" }),
1868
+ icon: /* @__PURE__ */ React28.createElement(InlineEndIcon, { fontSize: "tiny" }),
1772
1869
  bind: "inline-start"
1773
1870
  }
1774
1871
  ];
1775
1872
  var BorderWidthField = () => {
1776
1873
  const { isSiteRtl } = useDirection();
1777
- return /* @__PURE__ */ React27.createElement(StylesField, { bind: "border-width" }, /* @__PURE__ */ React27.createElement(
1874
+ return /* @__PURE__ */ React28.createElement(StylesField, { bind: "border-width" }, /* @__PURE__ */ React28.createElement(
1778
1875
  EqualUnequalSizesControl,
1779
1876
  {
1780
1877
  items: getEdges(isSiteRtl),
1781
1878
  label: __8("Border width", "elementor"),
1782
- icon: /* @__PURE__ */ React27.createElement(SideAllIcon, { fontSize: "tiny" }),
1879
+ icon: /* @__PURE__ */ React28.createElement(SideAllIcon, { fontSize: "tiny" }),
1783
1880
  tooltipLabel: __8("Adjust borders", "elementor"),
1784
1881
  multiSizePropTypeUtil: borderWidthPropTypeUtil
1785
1882
  }
@@ -1805,7 +1902,7 @@ var BorderField = () => {
1805
1902
  });
1806
1903
  };
1807
1904
  const hasBorder = Object.values(border ?? {}).some(Boolean);
1808
- return /* @__PURE__ */ React28.createElement(
1905
+ return /* @__PURE__ */ React29.createElement(
1809
1906
  AddOrRemoveContent,
1810
1907
  {
1811
1908
  label: __9("Border", "elementor"),
@@ -1813,14 +1910,14 @@ var BorderField = () => {
1813
1910
  onAdd: addBorder,
1814
1911
  onRemove: removeBorder
1815
1912
  },
1816
- /* @__PURE__ */ React28.createElement(BorderWidthField, null),
1817
- /* @__PURE__ */ React28.createElement(BorderColorField, null),
1818
- /* @__PURE__ */ React28.createElement(BorderStyleField, null)
1913
+ /* @__PURE__ */ React29.createElement(BorderWidthField, null),
1914
+ /* @__PURE__ */ React29.createElement(BorderColorField, null),
1915
+ /* @__PURE__ */ React29.createElement(BorderStyleField, null)
1819
1916
  );
1820
1917
  };
1821
1918
 
1822
1919
  // src/components/style-sections/border-section/border-radius-field.tsx
1823
- import * as React29 from "react";
1920
+ import * as React30 from "react";
1824
1921
  import { EqualUnequalSizesControl as EqualUnequalSizesControl2 } from "@elementor/editor-controls";
1825
1922
  import { borderRadiusPropTypeUtil } from "@elementor/editor-props";
1826
1923
  import {
@@ -1843,33 +1940,33 @@ var getEndEndLabel = (isSiteRtl) => isSiteRtl ? __10("Bottom left", "elementor")
1843
1940
  var getCorners = (isSiteRtl) => [
1844
1941
  {
1845
1942
  label: getStartStartLabel(isSiteRtl),
1846
- icon: /* @__PURE__ */ React29.createElement(StartStartIcon, { fontSize: "tiny" }),
1943
+ icon: /* @__PURE__ */ React30.createElement(StartStartIcon, { fontSize: "tiny" }),
1847
1944
  bind: "start-start"
1848
1945
  },
1849
1946
  {
1850
1947
  label: getStartEndLabel(isSiteRtl),
1851
- icon: /* @__PURE__ */ React29.createElement(StartEndIcon, { fontSize: "tiny" }),
1948
+ icon: /* @__PURE__ */ React30.createElement(StartEndIcon, { fontSize: "tiny" }),
1852
1949
  bind: "start-end"
1853
1950
  },
1854
1951
  {
1855
1952
  label: getEndStartLabel(isSiteRtl),
1856
- icon: /* @__PURE__ */ React29.createElement(EndStartIcon, { fontSize: "tiny" }),
1953
+ icon: /* @__PURE__ */ React30.createElement(EndStartIcon, { fontSize: "tiny" }),
1857
1954
  bind: "end-start"
1858
1955
  },
1859
1956
  {
1860
1957
  label: getEndEndLabel(isSiteRtl),
1861
- icon: /* @__PURE__ */ React29.createElement(EndEndIcon, { fontSize: "tiny" }),
1958
+ icon: /* @__PURE__ */ React30.createElement(EndEndIcon, { fontSize: "tiny" }),
1862
1959
  bind: "end-end"
1863
1960
  }
1864
1961
  ];
1865
1962
  var BorderRadiusField = () => {
1866
1963
  const { isSiteRtl } = useDirection();
1867
- return /* @__PURE__ */ React29.createElement(StylesField, { bind: "border-radius" }, /* @__PURE__ */ React29.createElement(
1964
+ return /* @__PURE__ */ React30.createElement(StylesField, { bind: "border-radius" }, /* @__PURE__ */ React30.createElement(
1868
1965
  EqualUnequalSizesControl2,
1869
1966
  {
1870
1967
  items: getCorners(isSiteRtl),
1871
1968
  label: __10("Border radius", "elementor"),
1872
- icon: /* @__PURE__ */ React29.createElement(BorderCornersIcon, { fontSize: "tiny" }),
1969
+ icon: /* @__PURE__ */ React30.createElement(BorderCornersIcon, { fontSize: "tiny" }),
1873
1970
  tooltipLabel: __10("Adjust corners", "elementor"),
1874
1971
  multiSizePropTypeUtil: borderRadiusPropTypeUtil
1875
1972
  }
@@ -1877,17 +1974,17 @@ var BorderRadiusField = () => {
1877
1974
  };
1878
1975
 
1879
1976
  // src/components/style-sections/border-section/border-section.tsx
1880
- var BorderSection = () => /* @__PURE__ */ React30.createElement(SectionContent, null, /* @__PURE__ */ React30.createElement(BorderRadiusField, null), /* @__PURE__ */ React30.createElement(PanelDivider, null), /* @__PURE__ */ React30.createElement(BorderField, null));
1977
+ var BorderSection = () => /* @__PURE__ */ React31.createElement(SectionContent, null, /* @__PURE__ */ React31.createElement(BorderRadiusField, null), /* @__PURE__ */ React31.createElement(PanelDivider, null), /* @__PURE__ */ React31.createElement(BorderField, null));
1881
1978
 
1882
1979
  // src/components/style-sections/effects-section/effects-section.tsx
1883
- import * as React31 from "react";
1980
+ import * as React32 from "react";
1884
1981
  import { BoxShadowRepeaterControl } from "@elementor/editor-controls";
1885
1982
  var EffectsSection = () => {
1886
- return /* @__PURE__ */ React31.createElement(SectionContent, null, /* @__PURE__ */ React31.createElement(StylesField, { bind: "box-shadow" }, /* @__PURE__ */ React31.createElement(BoxShadowRepeaterControl, null)));
1983
+ return /* @__PURE__ */ React32.createElement(SectionContent, null, /* @__PURE__ */ React32.createElement(StylesField, { bind: "box-shadow" }, /* @__PURE__ */ React32.createElement(BoxShadowRepeaterControl, null)));
1887
1984
  };
1888
1985
 
1889
1986
  // src/components/style-sections/layout-section/layout-section.tsx
1890
- import * as React43 from "react";
1987
+ import * as React44 from "react";
1891
1988
  import { ControlFormLabel as ControlFormLabel3 } from "@elementor/editor-controls";
1892
1989
  import { useParentElement } from "@elementor/editor-elements";
1893
1990
  import { __ as __21 } from "@wordpress/i18n";
@@ -1918,7 +2015,7 @@ function useComputedStyle(elementId) {
1918
2015
  }
1919
2016
 
1920
2017
  // src/components/style-sections/layout-section/align-content-field.tsx
1921
- import * as React33 from "react";
2018
+ import * as React34 from "react";
1922
2019
  import { ToggleControl } from "@elementor/editor-controls";
1923
2020
  import {
1924
2021
  JustifyBottomIcon,
@@ -1932,7 +2029,7 @@ import { DirectionProvider, Stack as Stack9, ThemeProvider, withDirection as wit
1932
2029
  import { __ as __11 } from "@wordpress/i18n";
1933
2030
 
1934
2031
  // src/components/style-sections/layout-section/utils/rotated-icon.tsx
1935
- import * as React32 from "react";
2032
+ import * as React33 from "react";
1936
2033
  import { useRef as useRef2 } from "react";
1937
2034
  import { useTheme as useTheme2 } from "@elementor/ui";
1938
2035
  var CLOCKWISE_ANGLES = {
@@ -1956,7 +2053,7 @@ var RotatedIcon = ({
1956
2053
  }) => {
1957
2054
  const rotate = useRef2(useGetTargetAngle(isClockwise, offset, disableRotationForReversed));
1958
2055
  rotate.current = useGetTargetAngle(isClockwise, offset, disableRotationForReversed, rotate);
1959
- return /* @__PURE__ */ React32.createElement(Icon, { fontSize: size, sx: { transition: ".3s", rotate: `${rotate.current}deg` } });
2056
+ return /* @__PURE__ */ React33.createElement(Icon, { fontSize: size, sx: { transition: ".3s", rotate: `${rotate.current}deg` } });
1960
2057
  };
1961
2058
  var useGetTargetAngle = (isClockwise, offset, disableRotationForReversed, existingRef) => {
1962
2059
  const [direction] = useStylesField("flex-direction");
@@ -1986,47 +2083,47 @@ var options = [
1986
2083
  {
1987
2084
  value: "start",
1988
2085
  label: __11("Start", "elementor"),
1989
- renderContent: ({ size }) => /* @__PURE__ */ React33.createElement(RotatedIcon, { icon: StartIcon, size, ...iconProps }),
2086
+ renderContent: ({ size }) => /* @__PURE__ */ React34.createElement(RotatedIcon, { icon: StartIcon, size, ...iconProps }),
1990
2087
  showTooltip: true
1991
2088
  },
1992
2089
  {
1993
2090
  value: "center",
1994
2091
  label: __11("Center", "elementor"),
1995
- renderContent: ({ size }) => /* @__PURE__ */ React33.createElement(RotatedIcon, { icon: CenterIcon, size, ...iconProps }),
2092
+ renderContent: ({ size }) => /* @__PURE__ */ React34.createElement(RotatedIcon, { icon: CenterIcon, size, ...iconProps }),
1996
2093
  showTooltip: true
1997
2094
  },
1998
2095
  {
1999
2096
  value: "end",
2000
2097
  label: __11("End", "elementor"),
2001
- renderContent: ({ size }) => /* @__PURE__ */ React33.createElement(RotatedIcon, { icon: EndIcon, size, ...iconProps }),
2098
+ renderContent: ({ size }) => /* @__PURE__ */ React34.createElement(RotatedIcon, { icon: EndIcon, size, ...iconProps }),
2002
2099
  showTooltip: true
2003
2100
  },
2004
2101
  {
2005
2102
  value: "space-between",
2006
2103
  label: __11("Space between", "elementor"),
2007
- renderContent: ({ size }) => /* @__PURE__ */ React33.createElement(RotatedIcon, { icon: BetweenIcon, size, ...iconProps }),
2104
+ renderContent: ({ size }) => /* @__PURE__ */ React34.createElement(RotatedIcon, { icon: BetweenIcon, size, ...iconProps }),
2008
2105
  showTooltip: true
2009
2106
  },
2010
2107
  {
2011
2108
  value: "space-around",
2012
2109
  label: __11("Space around", "elementor"),
2013
- renderContent: ({ size }) => /* @__PURE__ */ React33.createElement(RotatedIcon, { icon: AroundIcon, size, ...iconProps }),
2110
+ renderContent: ({ size }) => /* @__PURE__ */ React34.createElement(RotatedIcon, { icon: AroundIcon, size, ...iconProps }),
2014
2111
  showTooltip: true
2015
2112
  },
2016
2113
  {
2017
2114
  value: "space-evenly",
2018
2115
  label: __11("Space evenly", "elementor"),
2019
- renderContent: ({ size }) => /* @__PURE__ */ React33.createElement(RotatedIcon, { icon: EvenlyIcon, size, ...iconProps }),
2116
+ renderContent: ({ size }) => /* @__PURE__ */ React34.createElement(RotatedIcon, { icon: EvenlyIcon, size, ...iconProps }),
2020
2117
  showTooltip: true
2021
2118
  }
2022
2119
  ];
2023
2120
  var AlignContentField = () => {
2024
2121
  const { isSiteRtl } = useDirection();
2025
- return /* @__PURE__ */ React33.createElement(DirectionProvider, { rtl: isSiteRtl }, /* @__PURE__ */ React33.createElement(ThemeProvider, null, /* @__PURE__ */ React33.createElement(StylesField, { bind: "align-content" }, /* @__PURE__ */ React33.createElement(Stack9, { gap: 1 }, /* @__PURE__ */ React33.createElement(ControlLabel, null, __11("Align content", "elementor")), /* @__PURE__ */ React33.createElement(ToggleControl, { options, fullWidth: true })))));
2122
+ return /* @__PURE__ */ React34.createElement(DirectionProvider, { rtl: isSiteRtl }, /* @__PURE__ */ React34.createElement(ThemeProvider, null, /* @__PURE__ */ React34.createElement(StylesField, { bind: "align-content" }, /* @__PURE__ */ React34.createElement(Stack9, { gap: 1 }, /* @__PURE__ */ React34.createElement(ControlLabel, null, __11("Align content", "elementor")), /* @__PURE__ */ React34.createElement(ToggleControl, { options, fullWidth: true })))));
2026
2123
  };
2027
2124
 
2028
2125
  // src/components/style-sections/layout-section/align-items-field.tsx
2029
- import * as React34 from "react";
2126
+ import * as React35 from "react";
2030
2127
  import { ToggleControl as ToggleControl2 } from "@elementor/editor-controls";
2031
2128
  import {
2032
2129
  LayoutAlignCenterIcon as CenterIcon2,
@@ -2046,35 +2143,35 @@ var options2 = [
2046
2143
  {
2047
2144
  value: "start",
2048
2145
  label: __12("Start", "elementor"),
2049
- renderContent: ({ size }) => /* @__PURE__ */ React34.createElement(RotatedIcon, { icon: StartIcon2, size, ...iconProps2 }),
2146
+ renderContent: ({ size }) => /* @__PURE__ */ React35.createElement(RotatedIcon, { icon: StartIcon2, size, ...iconProps2 }),
2050
2147
  showTooltip: true
2051
2148
  },
2052
2149
  {
2053
2150
  value: "center",
2054
2151
  label: __12("Center", "elementor"),
2055
- renderContent: ({ size }) => /* @__PURE__ */ React34.createElement(RotatedIcon, { icon: CenterIcon2, size, ...iconProps2 }),
2152
+ renderContent: ({ size }) => /* @__PURE__ */ React35.createElement(RotatedIcon, { icon: CenterIcon2, size, ...iconProps2 }),
2056
2153
  showTooltip: true
2057
2154
  },
2058
2155
  {
2059
2156
  value: "end",
2060
2157
  label: __12("End", "elementor"),
2061
- renderContent: ({ size }) => /* @__PURE__ */ React34.createElement(RotatedIcon, { icon: EndIcon2, size, ...iconProps2 }),
2158
+ renderContent: ({ size }) => /* @__PURE__ */ React35.createElement(RotatedIcon, { icon: EndIcon2, size, ...iconProps2 }),
2062
2159
  showTooltip: true
2063
2160
  },
2064
2161
  {
2065
2162
  value: "stretch",
2066
2163
  label: __12("Stretch", "elementor"),
2067
- renderContent: ({ size }) => /* @__PURE__ */ React34.createElement(RotatedIcon, { icon: JustifyIcon, size, ...iconProps2 }),
2164
+ renderContent: ({ size }) => /* @__PURE__ */ React35.createElement(RotatedIcon, { icon: JustifyIcon, size, ...iconProps2 }),
2068
2165
  showTooltip: true
2069
2166
  }
2070
2167
  ];
2071
2168
  var AlignItemsField = () => {
2072
2169
  const { isSiteRtl } = useDirection();
2073
- return /* @__PURE__ */ React34.createElement(DirectionProvider2, { rtl: isSiteRtl }, /* @__PURE__ */ React34.createElement(ThemeProvider2, null, /* @__PURE__ */ React34.createElement(StylesField, { bind: "align-items" }, /* @__PURE__ */ React34.createElement(Grid3, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React34.createElement(Grid3, { item: true, xs: 6 }, /* @__PURE__ */ React34.createElement(ControlLabel, null, __12("Align items", "elementor"))), /* @__PURE__ */ React34.createElement(Grid3, { item: true, xs: 6, sx: { display: "flex", justifyContent: "end" } }, /* @__PURE__ */ React34.createElement(ToggleControl2, { options: options2 }))))));
2170
+ return /* @__PURE__ */ React35.createElement(DirectionProvider2, { rtl: isSiteRtl }, /* @__PURE__ */ React35.createElement(ThemeProvider2, null, /* @__PURE__ */ React35.createElement(StylesField, { bind: "align-items" }, /* @__PURE__ */ React35.createElement(Grid3, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React35.createElement(Grid3, { item: true, xs: 6 }, /* @__PURE__ */ React35.createElement(ControlLabel, null, __12("Align items", "elementor"))), /* @__PURE__ */ React35.createElement(Grid3, { item: true, xs: 6, sx: { display: "flex", justifyContent: "end" } }, /* @__PURE__ */ React35.createElement(ToggleControl2, { options: options2 }))))));
2074
2171
  };
2075
2172
 
2076
2173
  // src/components/style-sections/layout-section/align-self-child-field.tsx
2077
- import * as React35 from "react";
2174
+ import * as React36 from "react";
2078
2175
  import { ToggleControl as ToggleControl3 } from "@elementor/editor-controls";
2079
2176
  import {
2080
2177
  LayoutAlignCenterIcon as CenterIcon3,
@@ -2099,7 +2196,7 @@ var getOptions = (parentStyleDirection) => [
2099
2196
  {
2100
2197
  value: "start",
2101
2198
  label: __13("Start", "elementor"),
2102
- renderContent: ({ size }) => /* @__PURE__ */ React35.createElement(
2199
+ renderContent: ({ size }) => /* @__PURE__ */ React36.createElement(
2103
2200
  RotatedIcon,
2104
2201
  {
2105
2202
  icon: StartIcon3,
@@ -2113,7 +2210,7 @@ var getOptions = (parentStyleDirection) => [
2113
2210
  {
2114
2211
  value: "center",
2115
2212
  label: __13("Center", "elementor"),
2116
- renderContent: ({ size }) => /* @__PURE__ */ React35.createElement(
2213
+ renderContent: ({ size }) => /* @__PURE__ */ React36.createElement(
2117
2214
  RotatedIcon,
2118
2215
  {
2119
2216
  icon: CenterIcon3,
@@ -2127,7 +2224,7 @@ var getOptions = (parentStyleDirection) => [
2127
2224
  {
2128
2225
  value: "end",
2129
2226
  label: __13("End", "elementor"),
2130
- renderContent: ({ size }) => /* @__PURE__ */ React35.createElement(
2227
+ renderContent: ({ size }) => /* @__PURE__ */ React36.createElement(
2131
2228
  RotatedIcon,
2132
2229
  {
2133
2230
  icon: EndIcon3,
@@ -2141,7 +2238,7 @@ var getOptions = (parentStyleDirection) => [
2141
2238
  {
2142
2239
  value: "stretch",
2143
2240
  label: __13("Stretch", "elementor"),
2144
- renderContent: ({ size }) => /* @__PURE__ */ React35.createElement(
2241
+ renderContent: ({ size }) => /* @__PURE__ */ React36.createElement(
2145
2242
  RotatedIcon,
2146
2243
  {
2147
2244
  icon: JustifyIcon2,
@@ -2155,11 +2252,11 @@ var getOptions = (parentStyleDirection) => [
2155
2252
  ];
2156
2253
  var AlignSelfChild = ({ parentStyleDirection }) => {
2157
2254
  const { isSiteRtl } = useDirection();
2158
- return /* @__PURE__ */ React35.createElement(DirectionProvider3, { rtl: isSiteRtl }, /* @__PURE__ */ React35.createElement(ThemeProvider3, null, /* @__PURE__ */ React35.createElement(StylesField, { bind: "align-self" }, /* @__PURE__ */ React35.createElement(Grid4, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React35.createElement(Grid4, { item: true, xs: 6 }, /* @__PURE__ */ React35.createElement(ControlLabel, null, __13("Align self", "elementor"))), /* @__PURE__ */ React35.createElement(Grid4, { item: true, xs: 6, sx: { display: "flex", justifyContent: "flex-end" } }, /* @__PURE__ */ React35.createElement(ToggleControl3, { options: getOptions(parentStyleDirection) }))))));
2255
+ return /* @__PURE__ */ React36.createElement(DirectionProvider3, { rtl: isSiteRtl }, /* @__PURE__ */ React36.createElement(ThemeProvider3, null, /* @__PURE__ */ React36.createElement(StylesField, { bind: "align-self" }, /* @__PURE__ */ React36.createElement(Grid4, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React36.createElement(Grid4, { item: true, xs: 6 }, /* @__PURE__ */ React36.createElement(ControlLabel, null, __13("Align self", "elementor"))), /* @__PURE__ */ React36.createElement(Grid4, { item: true, xs: 6, sx: { display: "flex", justifyContent: "flex-end" } }, /* @__PURE__ */ React36.createElement(ToggleControl3, { options: getOptions(parentStyleDirection) }))))));
2159
2256
  };
2160
2257
 
2161
2258
  // src/components/style-sections/layout-section/display-field.tsx
2162
- import * as React36 from "react";
2259
+ import * as React37 from "react";
2163
2260
  import { ToggleControl as ToggleControl4 } from "@elementor/editor-controls";
2164
2261
  import { Stack as Stack10 } from "@elementor/ui";
2165
2262
  import { __ as __14 } from "@wordpress/i18n";
@@ -2191,12 +2288,12 @@ var displayFieldOptions = [
2191
2288
  ];
2192
2289
  var DisplayField = () => {
2193
2290
  const placeholder = useDisplayPlaceholderValue();
2194
- return /* @__PURE__ */ React36.createElement(StylesField, { bind: "display", placeholder }, /* @__PURE__ */ React36.createElement(Stack10, { gap: 0.75 }, /* @__PURE__ */ React36.createElement(ControlLabel, null, __14("Display", "elementor")), /* @__PURE__ */ React36.createElement(ToggleControl4, { options: displayFieldOptions, fullWidth: true })));
2291
+ return /* @__PURE__ */ React37.createElement(StylesField, { bind: "display", placeholder }, /* @__PURE__ */ React37.createElement(Stack10, { gap: 0.75 }, /* @__PURE__ */ React37.createElement(ControlLabel, null, __14("Display", "elementor")), /* @__PURE__ */ React37.createElement(ToggleControl4, { options: displayFieldOptions, fullWidth: true })));
2195
2292
  };
2196
2293
  var useDisplayPlaceholderValue = () => useStylesInheritanceField("display")[0]?.value ?? void 0;
2197
2294
 
2198
2295
  // src/components/style-sections/layout-section/flex-direction-field.tsx
2199
- import * as React37 from "react";
2296
+ import * as React38 from "react";
2200
2297
  import { ToggleControl as ToggleControl5 } from "@elementor/editor-controls";
2201
2298
  import { ArrowDownSmallIcon, ArrowLeftIcon, ArrowRightIcon, ArrowUpSmallIcon } from "@elementor/icons";
2202
2299
  import { DirectionProvider as DirectionProvider4, Grid as Grid5, ThemeProvider as ThemeProvider4, withDirection as withDirection6 } from "@elementor/ui";
@@ -2207,14 +2304,14 @@ var options3 = [
2207
2304
  label: __15("Row", "elementor"),
2208
2305
  renderContent: ({ size }) => {
2209
2306
  const StartIcon5 = withDirection6(ArrowRightIcon);
2210
- return /* @__PURE__ */ React37.createElement(StartIcon5, { fontSize: size });
2307
+ return /* @__PURE__ */ React38.createElement(StartIcon5, { fontSize: size });
2211
2308
  },
2212
2309
  showTooltip: true
2213
2310
  },
2214
2311
  {
2215
2312
  value: "column",
2216
2313
  label: __15("Column", "elementor"),
2217
- renderContent: ({ size }) => /* @__PURE__ */ React37.createElement(ArrowDownSmallIcon, { fontSize: size }),
2314
+ renderContent: ({ size }) => /* @__PURE__ */ React38.createElement(ArrowDownSmallIcon, { fontSize: size }),
2218
2315
  showTooltip: true
2219
2316
  },
2220
2317
  {
@@ -2222,25 +2319,25 @@ var options3 = [
2222
2319
  label: __15("Reversed row", "elementor"),
2223
2320
  renderContent: ({ size }) => {
2224
2321
  const EndIcon5 = withDirection6(ArrowLeftIcon);
2225
- return /* @__PURE__ */ React37.createElement(EndIcon5, { fontSize: size });
2322
+ return /* @__PURE__ */ React38.createElement(EndIcon5, { fontSize: size });
2226
2323
  },
2227
2324
  showTooltip: true
2228
2325
  },
2229
2326
  {
2230
2327
  value: "column-reverse",
2231
2328
  label: __15("Reversed column", "elementor"),
2232
- renderContent: ({ size }) => /* @__PURE__ */ React37.createElement(ArrowUpSmallIcon, { fontSize: size }),
2329
+ renderContent: ({ size }) => /* @__PURE__ */ React38.createElement(ArrowUpSmallIcon, { fontSize: size }),
2233
2330
  showTooltip: true
2234
2331
  }
2235
2332
  ];
2236
2333
  var FlexDirectionField = () => {
2237
2334
  const { isSiteRtl } = useDirection();
2238
- return /* @__PURE__ */ React37.createElement(DirectionProvider4, { rtl: isSiteRtl }, /* @__PURE__ */ React37.createElement(ThemeProvider4, null, /* @__PURE__ */ React37.createElement(StylesField, { bind: "flex-direction" }, /* @__PURE__ */ React37.createElement(Grid5, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React37.createElement(Grid5, { item: true, xs: 6 }, /* @__PURE__ */ React37.createElement(ControlLabel, null, __15("Direction", "elementor"))), /* @__PURE__ */ React37.createElement(Grid5, { item: true, xs: 6, sx: { display: "flex", justifyContent: "end" } }, /* @__PURE__ */ React37.createElement(ToggleControl5, { options: options3 }))))));
2335
+ return /* @__PURE__ */ React38.createElement(DirectionProvider4, { rtl: isSiteRtl }, /* @__PURE__ */ React38.createElement(ThemeProvider4, null, /* @__PURE__ */ React38.createElement(StylesField, { bind: "flex-direction" }, /* @__PURE__ */ React38.createElement(Grid5, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React38.createElement(Grid5, { item: true, xs: 6 }, /* @__PURE__ */ React38.createElement(ControlLabel, null, __15("Direction", "elementor"))), /* @__PURE__ */ React38.createElement(Grid5, { item: true, xs: 6, sx: { display: "flex", justifyContent: "end" } }, /* @__PURE__ */ React38.createElement(ToggleControl5, { options: options3 }))))));
2239
2336
  };
2240
2337
 
2241
2338
  // src/components/style-sections/layout-section/flex-order-field.tsx
2242
- import * as React38 from "react";
2243
- import { useState as useState7 } from "react";
2339
+ import * as React39 from "react";
2340
+ import { useState as useState9 } from "react";
2244
2341
  import { ControlToggleButtonGroup, NumberControl } from "@elementor/editor-controls";
2245
2342
  import { ArrowDownSmallIcon as ArrowDownSmallIcon2, ArrowUpSmallIcon as ArrowUpSmallIcon2, PencilIcon } from "@elementor/icons";
2246
2343
  import { DirectionProvider as DirectionProvider5, Grid as Grid6, ThemeProvider as ThemeProvider5 } from "@elementor/ui";
@@ -2258,25 +2355,25 @@ var items = [
2258
2355
  {
2259
2356
  value: FIRST,
2260
2357
  label: __16("First", "elementor"),
2261
- renderContent: ({ size }) => /* @__PURE__ */ React38.createElement(ArrowUpSmallIcon2, { fontSize: size }),
2358
+ renderContent: ({ size }) => /* @__PURE__ */ React39.createElement(ArrowUpSmallIcon2, { fontSize: size }),
2262
2359
  showTooltip: true
2263
2360
  },
2264
2361
  {
2265
2362
  value: LAST,
2266
2363
  label: __16("Last", "elementor"),
2267
- renderContent: ({ size }) => /* @__PURE__ */ React38.createElement(ArrowDownSmallIcon2, { fontSize: size }),
2364
+ renderContent: ({ size }) => /* @__PURE__ */ React39.createElement(ArrowDownSmallIcon2, { fontSize: size }),
2268
2365
  showTooltip: true
2269
2366
  },
2270
2367
  {
2271
2368
  value: CUSTOM,
2272
2369
  label: __16("Custom", "elementor"),
2273
- renderContent: ({ size }) => /* @__PURE__ */ React38.createElement(PencilIcon, { fontSize: size }),
2370
+ renderContent: ({ size }) => /* @__PURE__ */ React39.createElement(PencilIcon, { fontSize: size }),
2274
2371
  showTooltip: true
2275
2372
  }
2276
2373
  ];
2277
2374
  var FlexOrderField = () => {
2278
2375
  const { isSiteRtl } = useDirection(), [order, setOrder] = useStylesField("order");
2279
- const [groupControlValue, setGroupControlValue] = useState7(getGroupControlValue(order?.value || null));
2376
+ const [groupControlValue, setGroupControlValue] = useState9(getGroupControlValue(order?.value || null));
2280
2377
  const handleToggleButtonChange = (group) => {
2281
2378
  setGroupControlValue(group);
2282
2379
  if (!group || group === CUSTOM) {
@@ -2285,7 +2382,7 @@ var FlexOrderField = () => {
2285
2382
  }
2286
2383
  setOrder({ $$type: "number", value: orderValueMap[group] });
2287
2384
  };
2288
- return /* @__PURE__ */ React38.createElement(DirectionProvider5, { rtl: isSiteRtl }, /* @__PURE__ */ React38.createElement(ThemeProvider5, null, /* @__PURE__ */ React38.createElement(StylesField, { bind: "order" }, /* @__PURE__ */ React38.createElement(SectionContent, null, /* @__PURE__ */ React38.createElement(Grid6, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React38.createElement(Grid6, { item: true, xs: 6 }, /* @__PURE__ */ React38.createElement(ControlLabel, null, __16("Order", "elementor"))), /* @__PURE__ */ React38.createElement(Grid6, { item: true, xs: 6, sx: { display: "flex", justifyContent: "end" } }, /* @__PURE__ */ React38.createElement(
2385
+ return /* @__PURE__ */ React39.createElement(DirectionProvider5, { rtl: isSiteRtl }, /* @__PURE__ */ React39.createElement(ThemeProvider5, null, /* @__PURE__ */ React39.createElement(StylesField, { bind: "order" }, /* @__PURE__ */ React39.createElement(SectionContent, null, /* @__PURE__ */ React39.createElement(Grid6, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React39.createElement(Grid6, { item: true, xs: 6 }, /* @__PURE__ */ React39.createElement(ControlLabel, null, __16("Order", "elementor"))), /* @__PURE__ */ React39.createElement(Grid6, { item: true, xs: 6, sx: { display: "flex", justifyContent: "end" } }, /* @__PURE__ */ React39.createElement(
2289
2386
  ControlToggleButtonGroup,
2290
2387
  {
2291
2388
  items,
@@ -2293,7 +2390,7 @@ var FlexOrderField = () => {
2293
2390
  onChange: handleToggleButtonChange,
2294
2391
  exclusive: true
2295
2392
  }
2296
- ))), CUSTOM === groupControlValue && /* @__PURE__ */ React38.createElement(Grid6, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React38.createElement(Grid6, { item: true, xs: 6 }, /* @__PURE__ */ React38.createElement(ControlLabel, null, __16("Custom order", "elementor"))), /* @__PURE__ */ React38.createElement(Grid6, { item: true, xs: 6, sx: { display: "flex", justifyContent: "end" } }, /* @__PURE__ */ React38.createElement(
2393
+ ))), CUSTOM === groupControlValue && /* @__PURE__ */ React39.createElement(Grid6, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React39.createElement(Grid6, { item: true, xs: 6 }, /* @__PURE__ */ React39.createElement(ControlLabel, null, __16("Custom order", "elementor"))), /* @__PURE__ */ React39.createElement(Grid6, { item: true, xs: 6, sx: { display: "flex", justifyContent: "end" } }, /* @__PURE__ */ React39.createElement(
2297
2394
  NumberControl,
2298
2395
  {
2299
2396
  min: FIRST_DEFAULT_VALUE + 1,
@@ -2313,8 +2410,8 @@ var getGroupControlValue = (order) => {
2313
2410
  };
2314
2411
 
2315
2412
  // src/components/style-sections/layout-section/flex-size-field.tsx
2316
- import * as React39 from "react";
2317
- import { useMemo as useMemo3, useState as useState8 } from "react";
2413
+ import * as React40 from "react";
2414
+ import { useMemo as useMemo4, useState as useState10 } from "react";
2318
2415
  import {
2319
2416
  ControlToggleButtonGroup as ControlToggleButtonGroup2,
2320
2417
  NumberControl as NumberControl2,
@@ -2329,19 +2426,19 @@ var items2 = [
2329
2426
  {
2330
2427
  value: "flex-grow",
2331
2428
  label: __17("Grow", "elementor"),
2332
- renderContent: ({ size }) => /* @__PURE__ */ React39.createElement(ExpandIcon, { fontSize: size }),
2429
+ renderContent: ({ size }) => /* @__PURE__ */ React40.createElement(ExpandIcon, { fontSize: size }),
2333
2430
  showTooltip: true
2334
2431
  },
2335
2432
  {
2336
2433
  value: "flex-shrink",
2337
2434
  label: __17("Shrink", "elementor"),
2338
- renderContent: ({ size }) => /* @__PURE__ */ React39.createElement(ShrinkIcon, { fontSize: size }),
2435
+ renderContent: ({ size }) => /* @__PURE__ */ React40.createElement(ShrinkIcon, { fontSize: size }),
2339
2436
  showTooltip: true
2340
2437
  },
2341
2438
  {
2342
2439
  value: "custom",
2343
2440
  label: __17("Custom", "elementor"),
2344
- renderContent: ({ size }) => /* @__PURE__ */ React39.createElement(PencilIcon2, { fontSize: size }),
2441
+ renderContent: ({ size }) => /* @__PURE__ */ React40.createElement(PencilIcon2, { fontSize: size }),
2345
2442
  showTooltip: true
2346
2443
  }
2347
2444
  ];
@@ -2351,7 +2448,7 @@ var FlexSizeField = () => {
2351
2448
  const grow = fields?.["flex-grow"]?.value || null;
2352
2449
  const shrink = fields?.["flex-shrink"]?.value || null;
2353
2450
  const basis = fields?.["flex-basis"]?.value || null;
2354
- const currentGroup = useMemo3(() => getActiveGroup({ grow, shrink, basis }), [grow, shrink, basis]), [activeGroup, setActiveGroup] = useState8(currentGroup);
2451
+ const currentGroup = useMemo4(() => getActiveGroup({ grow, shrink, basis }), [grow, shrink, basis]), [activeGroup, setActiveGroup] = useState10(currentGroup);
2355
2452
  const onChangeGroup = (group = null) => {
2356
2453
  setActiveGroup(group);
2357
2454
  if (!group || group === "custom") {
@@ -2376,7 +2473,7 @@ var FlexSizeField = () => {
2376
2473
  "flex-shrink": numberPropTypeUtil.create(DEFAULT)
2377
2474
  });
2378
2475
  };
2379
- return /* @__PURE__ */ React39.createElement(DirectionProvider6, { rtl: isSiteRtl }, /* @__PURE__ */ React39.createElement(ThemeProvider6, null, /* @__PURE__ */ React39.createElement(SectionContent, null, /* @__PURE__ */ React39.createElement(Grid7, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React39.createElement(Grid7, { item: true, xs: 6 }, /* @__PURE__ */ React39.createElement(StylesField, { bind: activeGroup ?? "" }, /* @__PURE__ */ React39.createElement(ControlLabel, null, __17("Size", "elementor")))), /* @__PURE__ */ React39.createElement(Grid7, { item: true, xs: 6, sx: { display: "flex", justifyContent: "end" } }, /* @__PURE__ */ React39.createElement(
2476
+ return /* @__PURE__ */ React40.createElement(DirectionProvider6, { rtl: isSiteRtl }, /* @__PURE__ */ React40.createElement(ThemeProvider6, null, /* @__PURE__ */ React40.createElement(SectionContent, null, /* @__PURE__ */ React40.createElement(Grid7, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React40.createElement(Grid7, { item: true, xs: 6 }, /* @__PURE__ */ React40.createElement(StylesField, { bind: activeGroup ?? "" }, /* @__PURE__ */ React40.createElement(ControlLabel, null, __17("Size", "elementor")))), /* @__PURE__ */ React40.createElement(Grid7, { item: true, xs: 6, sx: { display: "flex", justifyContent: "end" } }, /* @__PURE__ */ React40.createElement(
2380
2477
  ControlToggleButtonGroup2,
2381
2478
  {
2382
2479
  value: activeGroup,
@@ -2384,9 +2481,9 @@ var FlexSizeField = () => {
2384
2481
  items: items2,
2385
2482
  exclusive: true
2386
2483
  }
2387
- ))), "custom" === activeGroup && /* @__PURE__ */ React39.createElement(FlexCustomField, null))));
2484
+ ))), "custom" === activeGroup && /* @__PURE__ */ React40.createElement(FlexCustomField, null))));
2388
2485
  };
2389
- var FlexCustomField = () => /* @__PURE__ */ React39.createElement(React39.Fragment, null, /* @__PURE__ */ React39.createElement(StylesField, { bind: "flex-grow" }, /* @__PURE__ */ React39.createElement(Grid7, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React39.createElement(Grid7, { item: true, xs: 6 }, /* @__PURE__ */ React39.createElement(ControlLabel, null, __17("Grow", "elementor"))), /* @__PURE__ */ React39.createElement(Grid7, { item: true, xs: 6, sx: { display: "flex", justifyContent: "end" } }, /* @__PURE__ */ React39.createElement(NumberControl2, { min: 0, shouldForceInt: true })))), /* @__PURE__ */ React39.createElement(StylesField, { bind: "flex-shrink" }, /* @__PURE__ */ React39.createElement(Grid7, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React39.createElement(Grid7, { item: true, xs: 6 }, /* @__PURE__ */ React39.createElement(ControlLabel, null, __17("Shrink", "elementor"))), /* @__PURE__ */ React39.createElement(Grid7, { item: true, xs: 6, sx: { display: "flex", justifyContent: "end" } }, /* @__PURE__ */ React39.createElement(NumberControl2, { min: 0, shouldForceInt: true })))), /* @__PURE__ */ React39.createElement(StylesField, { bind: "flex-basis" }, /* @__PURE__ */ React39.createElement(Grid7, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React39.createElement(Grid7, { item: true, xs: 6 }, /* @__PURE__ */ React39.createElement(ControlLabel, null, __17("Basis", "elementor"))), /* @__PURE__ */ React39.createElement(Grid7, { item: true, xs: 6, sx: { display: "flex", justifyContent: "end" } }, /* @__PURE__ */ React39.createElement(SizeControl2, { extendedValues: ["auto"] })))));
2486
+ var FlexCustomField = () => /* @__PURE__ */ React40.createElement(React40.Fragment, null, /* @__PURE__ */ React40.createElement(StylesField, { bind: "flex-grow" }, /* @__PURE__ */ React40.createElement(Grid7, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React40.createElement(Grid7, { item: true, xs: 6 }, /* @__PURE__ */ React40.createElement(ControlLabel, null, __17("Grow", "elementor"))), /* @__PURE__ */ React40.createElement(Grid7, { item: true, xs: 6, sx: { display: "flex", justifyContent: "end" } }, /* @__PURE__ */ React40.createElement(NumberControl2, { min: 0, shouldForceInt: true })))), /* @__PURE__ */ React40.createElement(StylesField, { bind: "flex-shrink" }, /* @__PURE__ */ React40.createElement(Grid7, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React40.createElement(Grid7, { item: true, xs: 6 }, /* @__PURE__ */ React40.createElement(ControlLabel, null, __17("Shrink", "elementor"))), /* @__PURE__ */ React40.createElement(Grid7, { item: true, xs: 6, sx: { display: "flex", justifyContent: "end" } }, /* @__PURE__ */ React40.createElement(NumberControl2, { min: 0, shouldForceInt: true })))), /* @__PURE__ */ React40.createElement(StylesField, { bind: "flex-basis" }, /* @__PURE__ */ React40.createElement(Grid7, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React40.createElement(Grid7, { item: true, xs: 6 }, /* @__PURE__ */ React40.createElement(ControlLabel, null, __17("Basis", "elementor"))), /* @__PURE__ */ React40.createElement(Grid7, { item: true, xs: 6, sx: { display: "flex", justifyContent: "end" } }, /* @__PURE__ */ React40.createElement(SizeControl2, { extendedValues: ["auto"] })))));
2390
2487
  var getActiveGroup = ({
2391
2488
  grow,
2392
2489
  shrink,
@@ -2408,16 +2505,16 @@ var getActiveGroup = ({
2408
2505
  };
2409
2506
 
2410
2507
  // src/components/style-sections/layout-section/gap-control-field.tsx
2411
- import * as React40 from "react";
2508
+ import * as React41 from "react";
2412
2509
  import { GapControl } from "@elementor/editor-controls";
2413
2510
  import { Stack as Stack11 } from "@elementor/ui";
2414
2511
  import { __ as __18 } from "@wordpress/i18n";
2415
2512
  var GapControlField = () => {
2416
- return /* @__PURE__ */ React40.createElement(Stack11, { gap: 1 }, /* @__PURE__ */ React40.createElement(StylesField, { bind: "gap" }, /* @__PURE__ */ React40.createElement(GapControl, { label: __18("Gaps", "elementor") })));
2513
+ return /* @__PURE__ */ React41.createElement(Stack11, { gap: 1 }, /* @__PURE__ */ React41.createElement(StylesField, { bind: "gap" }, /* @__PURE__ */ React41.createElement(GapControl, { label: __18("Gaps", "elementor") })));
2417
2514
  };
2418
2515
 
2419
2516
  // src/components/style-sections/layout-section/justify-content-field.tsx
2420
- import * as React41 from "react";
2517
+ import * as React42 from "react";
2421
2518
  import { ToggleControl as ToggleControl6 } from "@elementor/editor-controls";
2422
2519
  import {
2423
2520
  JustifyBottomIcon as JustifyBottomIcon2,
@@ -2439,47 +2536,47 @@ var options4 = [
2439
2536
  {
2440
2537
  value: "flex-start",
2441
2538
  label: __19("Start", "elementor"),
2442
- renderContent: ({ size }) => /* @__PURE__ */ React41.createElement(RotatedIcon, { icon: StartIcon4, size, ...iconProps4 }),
2539
+ renderContent: ({ size }) => /* @__PURE__ */ React42.createElement(RotatedIcon, { icon: StartIcon4, size, ...iconProps4 }),
2443
2540
  showTooltip: true
2444
2541
  },
2445
2542
  {
2446
2543
  value: "center",
2447
2544
  label: __19("Center", "elementor"),
2448
- renderContent: ({ size }) => /* @__PURE__ */ React41.createElement(RotatedIcon, { icon: CenterIcon4, size, ...iconProps4 }),
2545
+ renderContent: ({ size }) => /* @__PURE__ */ React42.createElement(RotatedIcon, { icon: CenterIcon4, size, ...iconProps4 }),
2449
2546
  showTooltip: true
2450
2547
  },
2451
2548
  {
2452
2549
  value: "flex-end",
2453
2550
  label: __19("End", "elementor"),
2454
- renderContent: ({ size }) => /* @__PURE__ */ React41.createElement(RotatedIcon, { icon: EndIcon4, size, ...iconProps4 }),
2551
+ renderContent: ({ size }) => /* @__PURE__ */ React42.createElement(RotatedIcon, { icon: EndIcon4, size, ...iconProps4 }),
2455
2552
  showTooltip: true
2456
2553
  },
2457
2554
  {
2458
2555
  value: "space-between",
2459
2556
  label: __19("Space between", "elementor"),
2460
- renderContent: ({ size }) => /* @__PURE__ */ React41.createElement(RotatedIcon, { icon: BetweenIcon2, size, ...iconProps4 }),
2557
+ renderContent: ({ size }) => /* @__PURE__ */ React42.createElement(RotatedIcon, { icon: BetweenIcon2, size, ...iconProps4 }),
2461
2558
  showTooltip: true
2462
2559
  },
2463
2560
  {
2464
2561
  value: "space-around",
2465
2562
  label: __19("Space around", "elementor"),
2466
- renderContent: ({ size }) => /* @__PURE__ */ React41.createElement(RotatedIcon, { icon: AroundIcon2, size, ...iconProps4 }),
2563
+ renderContent: ({ size }) => /* @__PURE__ */ React42.createElement(RotatedIcon, { icon: AroundIcon2, size, ...iconProps4 }),
2467
2564
  showTooltip: true
2468
2565
  },
2469
2566
  {
2470
2567
  value: "space-evenly",
2471
2568
  label: __19("Space evenly", "elementor"),
2472
- renderContent: ({ size }) => /* @__PURE__ */ React41.createElement(RotatedIcon, { icon: EvenlyIcon2, size, ...iconProps4 }),
2569
+ renderContent: ({ size }) => /* @__PURE__ */ React42.createElement(RotatedIcon, { icon: EvenlyIcon2, size, ...iconProps4 }),
2473
2570
  showTooltip: true
2474
2571
  }
2475
2572
  ];
2476
2573
  var JustifyContentField = () => {
2477
2574
  const { isSiteRtl } = useDirection();
2478
- return /* @__PURE__ */ React41.createElement(DirectionProvider7, { rtl: isSiteRtl }, /* @__PURE__ */ React41.createElement(ThemeProvider7, null, /* @__PURE__ */ React41.createElement(StylesField, { bind: "justify-content" }, /* @__PURE__ */ React41.createElement(Stack12, { gap: 0.75 }, /* @__PURE__ */ React41.createElement(ControlLabel, null, __19("Justify content", "elementor")), /* @__PURE__ */ React41.createElement(ToggleControl6, { options: options4, fullWidth: true })))));
2575
+ return /* @__PURE__ */ React42.createElement(DirectionProvider7, { rtl: isSiteRtl }, /* @__PURE__ */ React42.createElement(ThemeProvider7, null, /* @__PURE__ */ React42.createElement(StylesField, { bind: "justify-content" }, /* @__PURE__ */ React42.createElement(Stack12, { gap: 0.75 }, /* @__PURE__ */ React42.createElement(ControlLabel, null, __19("Justify content", "elementor")), /* @__PURE__ */ React42.createElement(ToggleControl6, { options: options4, fullWidth: true })))));
2479
2576
  };
2480
2577
 
2481
2578
  // src/components/style-sections/layout-section/wrap-field.tsx
2482
- import * as React42 from "react";
2579
+ import * as React43 from "react";
2483
2580
  import { ToggleControl as ToggleControl7 } from "@elementor/editor-controls";
2484
2581
  import { ArrowBackIcon, ArrowForwardIcon, ArrowRightIcon as ArrowRightIcon2 } from "@elementor/icons";
2485
2582
  import { DirectionProvider as DirectionProvider8, Grid as Grid8, ThemeProvider as ThemeProvider8 } from "@elementor/ui";
@@ -2488,25 +2585,25 @@ var options5 = [
2488
2585
  {
2489
2586
  value: "nowrap",
2490
2587
  label: __20("No wrap", "elementor"),
2491
- renderContent: ({ size }) => /* @__PURE__ */ React42.createElement(ArrowRightIcon2, { fontSize: size }),
2588
+ renderContent: ({ size }) => /* @__PURE__ */ React43.createElement(ArrowRightIcon2, { fontSize: size }),
2492
2589
  showTooltip: true
2493
2590
  },
2494
2591
  {
2495
2592
  value: "wrap",
2496
2593
  label: __20("Wrap", "elementor"),
2497
- renderContent: ({ size }) => /* @__PURE__ */ React42.createElement(ArrowBackIcon, { fontSize: size }),
2594
+ renderContent: ({ size }) => /* @__PURE__ */ React43.createElement(ArrowBackIcon, { fontSize: size }),
2498
2595
  showTooltip: true
2499
2596
  },
2500
2597
  {
2501
2598
  value: "wrap-reverse",
2502
2599
  label: __20("Reversed wrap", "elementor"),
2503
- renderContent: ({ size }) => /* @__PURE__ */ React42.createElement(ArrowForwardIcon, { fontSize: size }),
2600
+ renderContent: ({ size }) => /* @__PURE__ */ React43.createElement(ArrowForwardIcon, { fontSize: size }),
2504
2601
  showTooltip: true
2505
2602
  }
2506
2603
  ];
2507
2604
  var WrapField = () => {
2508
2605
  const { isSiteRtl } = useDirection();
2509
- return /* @__PURE__ */ React42.createElement(DirectionProvider8, { rtl: isSiteRtl }, /* @__PURE__ */ React42.createElement(ThemeProvider8, null, /* @__PURE__ */ React42.createElement(StylesField, { bind: "flex-wrap" }, /* @__PURE__ */ React42.createElement(Grid8, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React42.createElement(Grid8, { item: true, xs: 6 }, /* @__PURE__ */ React42.createElement(ControlLabel, null, __20("Wrap", "elementor"))), /* @__PURE__ */ React42.createElement(Grid8, { item: true, xs: 6, sx: { display: "flex", justifyContent: "flex-end" } }, /* @__PURE__ */ React42.createElement(ToggleControl7, { options: options5 }))))));
2606
+ return /* @__PURE__ */ React43.createElement(DirectionProvider8, { rtl: isSiteRtl }, /* @__PURE__ */ React43.createElement(ThemeProvider8, null, /* @__PURE__ */ React43.createElement(StylesField, { bind: "flex-wrap" }, /* @__PURE__ */ React43.createElement(Grid8, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React43.createElement(Grid8, { item: true, xs: 6 }, /* @__PURE__ */ React43.createElement(ControlLabel, null, __20("Wrap", "elementor"))), /* @__PURE__ */ React43.createElement(Grid8, { item: true, xs: 6, sx: { display: "flex", justifyContent: "flex-end" } }, /* @__PURE__ */ React43.createElement(ToggleControl7, { options: options5 }))))));
2510
2607
  };
2511
2608
 
2512
2609
  // src/components/style-sections/layout-section/layout-section.tsx
@@ -2518,13 +2615,13 @@ var LayoutSection = () => {
2518
2615
  const parent = useParentElement(element.id);
2519
2616
  const parentStyle = useComputedStyle(parent?.id || null);
2520
2617
  const parentStyleDirection = parentStyle?.flexDirection ?? "row";
2521
- return /* @__PURE__ */ React43.createElement(SectionContent, null, /* @__PURE__ */ React43.createElement(DisplayField, null), isDisplayFlex && /* @__PURE__ */ React43.createElement(FlexFields, null), "flex" === parentStyle?.display && /* @__PURE__ */ React43.createElement(FlexChildFields, { parentStyleDirection }));
2618
+ return /* @__PURE__ */ React44.createElement(SectionContent, null, /* @__PURE__ */ React44.createElement(DisplayField, null), isDisplayFlex && /* @__PURE__ */ React44.createElement(FlexFields, null), "flex" === parentStyle?.display && /* @__PURE__ */ React44.createElement(FlexChildFields, { parentStyleDirection }));
2522
2619
  };
2523
2620
  var FlexFields = () => {
2524
2621
  const [flexWrap] = useStylesField("flex-wrap");
2525
- return /* @__PURE__ */ React43.createElement(React43.Fragment, null, /* @__PURE__ */ React43.createElement(FlexDirectionField, null), /* @__PURE__ */ React43.createElement(JustifyContentField, null), /* @__PURE__ */ React43.createElement(AlignItemsField, null), /* @__PURE__ */ React43.createElement(PanelDivider, null), /* @__PURE__ */ React43.createElement(GapControlField, null), /* @__PURE__ */ React43.createElement(WrapField, null), ["wrap", "wrap-reverse"].includes(flexWrap?.value) && /* @__PURE__ */ React43.createElement(AlignContentField, null));
2622
+ return /* @__PURE__ */ React44.createElement(React44.Fragment, null, /* @__PURE__ */ React44.createElement(FlexDirectionField, null), /* @__PURE__ */ React44.createElement(JustifyContentField, null), /* @__PURE__ */ React44.createElement(AlignItemsField, null), /* @__PURE__ */ React44.createElement(PanelDivider, null), /* @__PURE__ */ React44.createElement(GapControlField, null), /* @__PURE__ */ React44.createElement(WrapField, null), ["wrap", "wrap-reverse"].includes(flexWrap?.value) && /* @__PURE__ */ React44.createElement(AlignContentField, null));
2526
2623
  };
2527
- var FlexChildFields = ({ parentStyleDirection }) => /* @__PURE__ */ React43.createElement(React43.Fragment, null, /* @__PURE__ */ React43.createElement(PanelDivider, null), /* @__PURE__ */ React43.createElement(ControlFormLabel3, null, __21("Flex child", "elementor")), /* @__PURE__ */ React43.createElement(AlignSelfChild, { parentStyleDirection }), /* @__PURE__ */ React43.createElement(FlexOrderField, null), /* @__PURE__ */ React43.createElement(FlexSizeField, null));
2624
+ var FlexChildFields = ({ parentStyleDirection }) => /* @__PURE__ */ React44.createElement(React44.Fragment, null, /* @__PURE__ */ React44.createElement(PanelDivider, null), /* @__PURE__ */ React44.createElement(ControlFormLabel3, null, __21("Flex child", "elementor")), /* @__PURE__ */ React44.createElement(AlignSelfChild, { parentStyleDirection }), /* @__PURE__ */ React44.createElement(FlexOrderField, null), /* @__PURE__ */ React44.createElement(FlexSizeField, null));
2528
2625
  var shouldDisplayFlexFields = (display, local) => {
2529
2626
  const value = display?.value ?? local?.value;
2530
2627
  if (!value) {
@@ -2534,11 +2631,11 @@ var shouldDisplayFlexFields = (display, local) => {
2534
2631
  };
2535
2632
 
2536
2633
  // src/components/style-sections/position-section/position-section.tsx
2537
- import * as React48 from "react";
2634
+ import * as React49 from "react";
2538
2635
  import { useSessionStorage } from "@elementor/session";
2539
2636
 
2540
2637
  // src/components/style-sections/position-section/dimensions-field.tsx
2541
- import * as React44 from "react";
2638
+ import * as React45 from "react";
2542
2639
  import { SizeControl as SizeControl3 } from "@elementor/editor-controls";
2543
2640
  import { SideBottomIcon as SideBottomIcon2, SideLeftIcon as SideLeftIcon2, SideRightIcon as SideRightIcon2, SideTopIcon as SideTopIcon2 } from "@elementor/icons";
2544
2641
  import { Grid as Grid9, Stack as Stack13, withDirection as withDirection8 } from "@elementor/ui";
@@ -2546,32 +2643,32 @@ import { __ as __22 } from "@wordpress/i18n";
2546
2643
  var InlineStartIcon2 = withDirection8(SideLeftIcon2);
2547
2644
  var InlineEndIcon2 = withDirection8(SideRightIcon2);
2548
2645
  var sideIcons = {
2549
- "inset-block-start": /* @__PURE__ */ React44.createElement(SideTopIcon2, { fontSize: "tiny" }),
2550
- "inset-block-end": /* @__PURE__ */ React44.createElement(SideBottomIcon2, { fontSize: "tiny" }),
2551
- "inset-inline-start": /* @__PURE__ */ React44.createElement(RotatedIcon, { icon: InlineStartIcon2, size: "tiny" }),
2552
- "inset-inline-end": /* @__PURE__ */ React44.createElement(RotatedIcon, { icon: InlineEndIcon2, size: "tiny" })
2646
+ "inset-block-start": /* @__PURE__ */ React45.createElement(SideTopIcon2, { fontSize: "tiny" }),
2647
+ "inset-block-end": /* @__PURE__ */ React45.createElement(SideBottomIcon2, { fontSize: "tiny" }),
2648
+ "inset-inline-start": /* @__PURE__ */ React45.createElement(RotatedIcon, { icon: InlineStartIcon2, size: "tiny" }),
2649
+ "inset-inline-end": /* @__PURE__ */ React45.createElement(RotatedIcon, { icon: InlineEndIcon2, size: "tiny" })
2553
2650
  };
2554
2651
  var getInlineStartLabel = (isSiteRtl) => isSiteRtl ? __22("Right", "elementor") : __22("Left", "elementor");
2555
2652
  var getInlineEndLabel = (isSiteRtl) => isSiteRtl ? __22("Left", "elementor") : __22("Right", "elementor");
2556
2653
  var DimensionsField = () => {
2557
2654
  const { isSiteRtl } = useDirection();
2558
- return /* @__PURE__ */ React44.createElement(React44.Fragment, null, /* @__PURE__ */ React44.createElement(Stack13, { direction: "row", gap: 2, flexWrap: "nowrap" }, /* @__PURE__ */ React44.createElement(DimensionField, { side: "inset-block-start", label: __22("Top", "elementor") }), /* @__PURE__ */ React44.createElement(DimensionField, { side: "inset-inline-end", label: getInlineEndLabel(isSiteRtl) })), /* @__PURE__ */ React44.createElement(Stack13, { direction: "row", gap: 2, flexWrap: "nowrap" }, /* @__PURE__ */ React44.createElement(DimensionField, { side: "inset-block-end", label: __22("Bottom", "elementor") }), /* @__PURE__ */ React44.createElement(DimensionField, { side: "inset-inline-start", label: getInlineStartLabel(isSiteRtl) })));
2655
+ return /* @__PURE__ */ React45.createElement(React45.Fragment, null, /* @__PURE__ */ React45.createElement(Stack13, { direction: "row", gap: 2, flexWrap: "nowrap" }, /* @__PURE__ */ React45.createElement(DimensionField, { side: "inset-block-start", label: __22("Top", "elementor") }), /* @__PURE__ */ React45.createElement(DimensionField, { side: "inset-inline-end", label: getInlineEndLabel(isSiteRtl) })), /* @__PURE__ */ React45.createElement(Stack13, { direction: "row", gap: 2, flexWrap: "nowrap" }, /* @__PURE__ */ React45.createElement(DimensionField, { side: "inset-block-end", label: __22("Bottom", "elementor") }), /* @__PURE__ */ React45.createElement(DimensionField, { side: "inset-inline-start", label: getInlineStartLabel(isSiteRtl) })));
2559
2656
  };
2560
2657
  var DimensionField = ({ side, label }) => {
2561
- return /* @__PURE__ */ React44.createElement(Grid9, { container: true, gap: 0.75, alignItems: "center" }, /* @__PURE__ */ React44.createElement(Grid9, { item: true, xs: 12 }, /* @__PURE__ */ React44.createElement(ControlLabel, null, label)), /* @__PURE__ */ React44.createElement(Grid9, { item: true, xs: 12 }, /* @__PURE__ */ React44.createElement(StylesField, { bind: side }, /* @__PURE__ */ React44.createElement(SizeControl3, { startIcon: sideIcons[side], extendedValues: ["auto"] }))));
2658
+ return /* @__PURE__ */ React45.createElement(Grid9, { container: true, gap: 0.75, alignItems: "center" }, /* @__PURE__ */ React45.createElement(Grid9, { item: true, xs: 12 }, /* @__PURE__ */ React45.createElement(ControlLabel, null, label)), /* @__PURE__ */ React45.createElement(Grid9, { item: true, xs: 12 }, /* @__PURE__ */ React45.createElement(StylesField, { bind: side }, /* @__PURE__ */ React45.createElement(SizeControl3, { startIcon: sideIcons[side], extendedValues: ["auto"] }))));
2562
2659
  };
2563
2660
 
2564
2661
  // src/components/style-sections/position-section/offset-field.tsx
2565
- import * as React45 from "react";
2662
+ import * as React46 from "react";
2566
2663
  import { SizeControl as SizeControl4 } from "@elementor/editor-controls";
2567
2664
  import { Grid as Grid10 } from "@elementor/ui";
2568
2665
  import { __ as __23 } from "@wordpress/i18n";
2569
2666
  var OffsetField = () => {
2570
- return /* @__PURE__ */ React45.createElement(StylesField, { bind: "scroll-margin-top" }, /* @__PURE__ */ React45.createElement(Grid10, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React45.createElement(Grid10, { item: true, xs: 6 }, /* @__PURE__ */ React45.createElement(ControlLabel, null, __23("Anchor offset", "elementor"))), /* @__PURE__ */ React45.createElement(Grid10, { item: true, xs: 6 }, /* @__PURE__ */ React45.createElement(SizeControl4, { units: ["px", "em", "rem", "vw", "vh"] }))));
2667
+ return /* @__PURE__ */ React46.createElement(StylesField, { bind: "scroll-margin-top" }, /* @__PURE__ */ React46.createElement(Grid10, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React46.createElement(Grid10, { item: true, xs: 6 }, /* @__PURE__ */ React46.createElement(ControlLabel, null, __23("Anchor offset", "elementor"))), /* @__PURE__ */ React46.createElement(Grid10, { item: true, xs: 6 }, /* @__PURE__ */ React46.createElement(SizeControl4, { units: ["px", "em", "rem", "vw", "vh"] }))));
2571
2668
  };
2572
2669
 
2573
2670
  // src/components/style-sections/position-section/position-field.tsx
2574
- import * as React46 from "react";
2671
+ import * as React47 from "react";
2575
2672
  import { SelectControl as SelectControl3 } from "@elementor/editor-controls";
2576
2673
  import { Grid as Grid11 } from "@elementor/ui";
2577
2674
  import { __ as __24 } from "@wordpress/i18n";
@@ -2583,16 +2680,16 @@ var positionOptions = [
2583
2680
  { label: __24("Sticky", "elementor"), value: "sticky" }
2584
2681
  ];
2585
2682
  var PositionField = ({ onChange }) => {
2586
- return /* @__PURE__ */ React46.createElement(StylesField, { bind: "position" }, /* @__PURE__ */ React46.createElement(Grid11, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React46.createElement(Grid11, { item: true, xs: 6 }, /* @__PURE__ */ React46.createElement(ControlLabel, null, __24("Position", "elementor"))), /* @__PURE__ */ React46.createElement(Grid11, { item: true, xs: 6, sx: { overflow: "hidden" } }, /* @__PURE__ */ React46.createElement(SelectControl3, { options: positionOptions, onChange }))));
2683
+ return /* @__PURE__ */ React47.createElement(StylesField, { bind: "position" }, /* @__PURE__ */ React47.createElement(Grid11, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React47.createElement(Grid11, { item: true, xs: 6 }, /* @__PURE__ */ React47.createElement(ControlLabel, null, __24("Position", "elementor"))), /* @__PURE__ */ React47.createElement(Grid11, { item: true, xs: 6, sx: { overflow: "hidden" } }, /* @__PURE__ */ React47.createElement(SelectControl3, { options: positionOptions, onChange }))));
2587
2684
  };
2588
2685
 
2589
2686
  // src/components/style-sections/position-section/z-index-field.tsx
2590
- import * as React47 from "react";
2687
+ import * as React48 from "react";
2591
2688
  import { NumberControl as NumberControl3 } from "@elementor/editor-controls";
2592
2689
  import { Grid as Grid12 } from "@elementor/ui";
2593
2690
  import { __ as __25 } from "@wordpress/i18n";
2594
2691
  var ZIndexField = () => {
2595
- return /* @__PURE__ */ React47.createElement(StylesField, { bind: "z-index" }, /* @__PURE__ */ React47.createElement(Grid12, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React47.createElement(Grid12, { item: true, xs: 6 }, /* @__PURE__ */ React47.createElement(ControlLabel, null, __25("Z-index", "elementor"))), /* @__PURE__ */ React47.createElement(Grid12, { item: true, xs: 6 }, /* @__PURE__ */ React47.createElement(NumberControl3, null))));
2692
+ return /* @__PURE__ */ React48.createElement(StylesField, { bind: "z-index" }, /* @__PURE__ */ React48.createElement(Grid12, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React48.createElement(Grid12, { item: true, xs: 6 }, /* @__PURE__ */ React48.createElement(ControlLabel, null, __25("Z-index", "elementor"))), /* @__PURE__ */ React48.createElement(Grid12, { item: true, xs: 6 }, /* @__PURE__ */ React48.createElement(NumberControl3, null))));
2596
2693
  };
2597
2694
 
2598
2695
  // src/components/style-sections/position-section/position-section.tsx
@@ -2624,7 +2721,7 @@ var PositionSection = () => {
2624
2721
  }
2625
2722
  };
2626
2723
  const isNotStatic = positionValue && positionValue?.value !== "static";
2627
- return /* @__PURE__ */ React48.createElement(SectionContent, null, /* @__PURE__ */ React48.createElement(PositionField, { onChange: onPositionChange }), isNotStatic ? /* @__PURE__ */ React48.createElement(React48.Fragment, null, /* @__PURE__ */ React48.createElement(DimensionsField, null), /* @__PURE__ */ React48.createElement(ZIndexField, null)) : null, /* @__PURE__ */ React48.createElement(PanelDivider, null), /* @__PURE__ */ React48.createElement(OffsetField, null));
2724
+ return /* @__PURE__ */ React49.createElement(SectionContent, null, /* @__PURE__ */ React49.createElement(PositionField, { onChange: onPositionChange }), isNotStatic ? /* @__PURE__ */ React49.createElement(React49.Fragment, null, /* @__PURE__ */ React49.createElement(DimensionsField, null), /* @__PURE__ */ React49.createElement(ZIndexField, null)) : null, /* @__PURE__ */ React49.createElement(PanelDivider, null), /* @__PURE__ */ React49.createElement(OffsetField, null));
2628
2725
  };
2629
2726
  var usePersistDimensions = () => {
2630
2727
  const { id: styleDefID, meta } = useStyle();
@@ -2634,13 +2731,13 @@ var usePersistDimensions = () => {
2634
2731
  };
2635
2732
 
2636
2733
  // src/components/style-sections/size-section/size-section.tsx
2637
- import * as React50 from "react";
2734
+ import * as React51 from "react";
2638
2735
  import { SizeControl as SizeControl5 } from "@elementor/editor-controls";
2639
2736
  import { Grid as Grid14, Stack as Stack14 } from "@elementor/ui";
2640
2737
  import { __ as __27 } from "@wordpress/i18n";
2641
2738
 
2642
2739
  // src/components/style-sections/size-section/overflow-field.tsx
2643
- import * as React49 from "react";
2740
+ import * as React50 from "react";
2644
2741
  import { ToggleControl as ToggleControl8 } from "@elementor/editor-controls";
2645
2742
  import { EyeIcon, EyeOffIcon, LetterAIcon } from "@elementor/icons";
2646
2743
  import { Grid as Grid13 } from "@elementor/ui";
@@ -2649,78 +2746,78 @@ var options6 = [
2649
2746
  {
2650
2747
  value: "visible",
2651
2748
  label: __26("Visible", "elementor"),
2652
- renderContent: ({ size }) => /* @__PURE__ */ React49.createElement(EyeIcon, { fontSize: size }),
2749
+ renderContent: ({ size }) => /* @__PURE__ */ React50.createElement(EyeIcon, { fontSize: size }),
2653
2750
  showTooltip: true
2654
2751
  },
2655
2752
  {
2656
2753
  value: "hidden",
2657
2754
  label: __26("Hidden", "elementor"),
2658
- renderContent: ({ size }) => /* @__PURE__ */ React49.createElement(EyeOffIcon, { fontSize: size }),
2755
+ renderContent: ({ size }) => /* @__PURE__ */ React50.createElement(EyeOffIcon, { fontSize: size }),
2659
2756
  showTooltip: true
2660
2757
  },
2661
2758
  {
2662
2759
  value: "auto",
2663
2760
  label: __26("Auto", "elementor"),
2664
- renderContent: ({ size }) => /* @__PURE__ */ React49.createElement(LetterAIcon, { fontSize: size }),
2761
+ renderContent: ({ size }) => /* @__PURE__ */ React50.createElement(LetterAIcon, { fontSize: size }),
2665
2762
  showTooltip: true
2666
2763
  }
2667
2764
  ];
2668
2765
  var OverflowField = () => {
2669
- return /* @__PURE__ */ React49.createElement(StylesField, { bind: "overflow" }, /* @__PURE__ */ React49.createElement(Grid13, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React49.createElement(Grid13, { item: true, xs: 6 }, /* @__PURE__ */ React49.createElement(ControlLabel, null, __26("Overflow", "elementor"))), /* @__PURE__ */ React49.createElement(Grid13, { item: true, xs: 6, sx: { display: "flex", justifyContent: "flex-end" } }, /* @__PURE__ */ React49.createElement(ToggleControl8, { options: options6 }))));
2766
+ return /* @__PURE__ */ React50.createElement(StylesField, { bind: "overflow" }, /* @__PURE__ */ React50.createElement(Grid13, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React50.createElement(Grid13, { item: true, xs: 6 }, /* @__PURE__ */ React50.createElement(ControlLabel, null, __26("Overflow", "elementor"))), /* @__PURE__ */ React50.createElement(Grid13, { item: true, xs: 6, sx: { display: "flex", justifyContent: "flex-end" } }, /* @__PURE__ */ React50.createElement(ToggleControl8, { options: options6 }))));
2670
2767
  };
2671
2768
 
2672
2769
  // src/components/style-sections/size-section/size-section.tsx
2673
2770
  var SizeSection = () => {
2674
- return /* @__PURE__ */ React50.createElement(SectionContent, null, /* @__PURE__ */ React50.createElement(Grid14, { container: true, gap: 2, flexWrap: "nowrap" }, /* @__PURE__ */ React50.createElement(Grid14, { item: true, xs: 6 }, /* @__PURE__ */ React50.createElement(SizeField, { bind: "width", label: __27("Width", "elementor"), extendedValues: ["auto"] })), /* @__PURE__ */ React50.createElement(Grid14, { item: true, xs: 6 }, /* @__PURE__ */ React50.createElement(SizeField, { bind: "height", label: __27("Height", "elementor"), extendedValues: ["auto"] }))), /* @__PURE__ */ React50.createElement(Grid14, { container: true, gap: 2, flexWrap: "nowrap" }, /* @__PURE__ */ React50.createElement(Grid14, { item: true, xs: 6 }, /* @__PURE__ */ React50.createElement(
2771
+ return /* @__PURE__ */ React51.createElement(SectionContent, null, /* @__PURE__ */ React51.createElement(Grid14, { container: true, gap: 2, flexWrap: "nowrap" }, /* @__PURE__ */ React51.createElement(Grid14, { item: true, xs: 6 }, /* @__PURE__ */ React51.createElement(SizeField, { bind: "width", label: __27("Width", "elementor"), extendedValues: ["auto"] })), /* @__PURE__ */ React51.createElement(Grid14, { item: true, xs: 6 }, /* @__PURE__ */ React51.createElement(SizeField, { bind: "height", label: __27("Height", "elementor"), extendedValues: ["auto"] }))), /* @__PURE__ */ React51.createElement(Grid14, { container: true, gap: 2, flexWrap: "nowrap" }, /* @__PURE__ */ React51.createElement(Grid14, { item: true, xs: 6 }, /* @__PURE__ */ React51.createElement(
2675
2772
  SizeField,
2676
2773
  {
2677
2774
  bind: "min-width",
2678
2775
  label: __27("Min width", "elementor"),
2679
2776
  extendedValues: ["auto"]
2680
2777
  }
2681
- )), /* @__PURE__ */ React50.createElement(Grid14, { item: true, xs: 6 }, /* @__PURE__ */ React50.createElement(
2778
+ )), /* @__PURE__ */ React51.createElement(Grid14, { item: true, xs: 6 }, /* @__PURE__ */ React51.createElement(
2682
2779
  SizeField,
2683
2780
  {
2684
2781
  bind: "min-height",
2685
2782
  label: __27("Min height", "elementor"),
2686
2783
  extendedValues: ["auto"]
2687
2784
  }
2688
- ))), /* @__PURE__ */ React50.createElement(Grid14, { container: true, gap: 2, flexWrap: "nowrap" }, /* @__PURE__ */ React50.createElement(Grid14, { item: true, xs: 6 }, /* @__PURE__ */ React50.createElement(SizeField, { bind: "max-width", label: __27("Max width", "elementor") })), /* @__PURE__ */ React50.createElement(Grid14, { item: true, xs: 6 }, /* @__PURE__ */ React50.createElement(SizeField, { bind: "max-height", label: __27("Max height", "elementor") }))), /* @__PURE__ */ React50.createElement(PanelDivider, null), /* @__PURE__ */ React50.createElement(Stack14, null, /* @__PURE__ */ React50.createElement(OverflowField, null)));
2785
+ ))), /* @__PURE__ */ React51.createElement(Grid14, { container: true, gap: 2, flexWrap: "nowrap" }, /* @__PURE__ */ React51.createElement(Grid14, { item: true, xs: 6 }, /* @__PURE__ */ React51.createElement(SizeField, { bind: "max-width", label: __27("Max width", "elementor") })), /* @__PURE__ */ React51.createElement(Grid14, { item: true, xs: 6 }, /* @__PURE__ */ React51.createElement(SizeField, { bind: "max-height", label: __27("Max height", "elementor") }))), /* @__PURE__ */ React51.createElement(PanelDivider, null), /* @__PURE__ */ React51.createElement(Stack14, null, /* @__PURE__ */ React51.createElement(OverflowField, null)));
2689
2786
  };
2690
2787
  var SizeField = ({ label, bind, extendedValues }) => {
2691
- return /* @__PURE__ */ React50.createElement(StylesField, { bind }, /* @__PURE__ */ React50.createElement(Grid14, { container: true, gap: 0.75, alignItems: "center" }, /* @__PURE__ */ React50.createElement(Grid14, { item: true, xs: 12 }, /* @__PURE__ */ React50.createElement(ControlLabel, null, label)), /* @__PURE__ */ React50.createElement(Grid14, { item: true, xs: 12 }, /* @__PURE__ */ React50.createElement(SizeControl5, { extendedValues }))));
2788
+ return /* @__PURE__ */ React51.createElement(StylesField, { bind }, /* @__PURE__ */ React51.createElement(Grid14, { container: true, gap: 0.75, alignItems: "center" }, /* @__PURE__ */ React51.createElement(Grid14, { item: true, xs: 12 }, /* @__PURE__ */ React51.createElement(ControlLabel, null, label)), /* @__PURE__ */ React51.createElement(Grid14, { item: true, xs: 12 }, /* @__PURE__ */ React51.createElement(SizeControl5, { extendedValues }))));
2692
2789
  };
2693
2790
 
2694
2791
  // src/components/style-sections/spacing-section/spacing-section.tsx
2695
- import * as React51 from "react";
2792
+ import * as React52 from "react";
2696
2793
  import { LinkedDimensionsControl } from "@elementor/editor-controls";
2697
2794
  import { __ as __28 } from "@wordpress/i18n";
2698
2795
  var SpacingSection = () => {
2699
2796
  const { isSiteRtl } = useDirection();
2700
- return /* @__PURE__ */ React51.createElement(SectionContent, null, /* @__PURE__ */ React51.createElement(StylesField, { bind: "margin" }, /* @__PURE__ */ React51.createElement(
2797
+ return /* @__PURE__ */ React52.createElement(SectionContent, null, /* @__PURE__ */ React52.createElement(StylesField, { bind: "margin" }, /* @__PURE__ */ React52.createElement(
2701
2798
  LinkedDimensionsControl,
2702
2799
  {
2703
2800
  label: __28("Margin", "elementor"),
2704
2801
  isSiteRtl,
2705
2802
  extendedValues: ["auto"]
2706
2803
  }
2707
- )), /* @__PURE__ */ React51.createElement(PanelDivider, null), /* @__PURE__ */ React51.createElement(StylesField, { bind: "padding" }, /* @__PURE__ */ React51.createElement(LinkedDimensionsControl, { label: __28("Padding", "elementor"), isSiteRtl })));
2804
+ )), /* @__PURE__ */ React52.createElement(PanelDivider, null), /* @__PURE__ */ React52.createElement(StylesField, { bind: "padding" }, /* @__PURE__ */ React52.createElement(LinkedDimensionsControl, { label: __28("Padding", "elementor"), isSiteRtl })));
2708
2805
  };
2709
2806
 
2710
2807
  // src/components/style-sections/typography-section/typography-section.tsx
2711
- import * as React66 from "react";
2808
+ import * as React67 from "react";
2712
2809
 
2713
2810
  // src/components/collapsible-content.tsx
2714
- import * as React52 from "react";
2715
- import { useState as useState9 } from "react";
2811
+ import * as React53 from "react";
2812
+ import { useState as useState11 } from "react";
2716
2813
  import { Button, Collapse as Collapse3, Stack as Stack15 } from "@elementor/ui";
2717
2814
  import { __ as __29 } from "@wordpress/i18n";
2718
2815
  var CollapsibleContent = ({ children, defaultOpen = false }) => {
2719
- const [open, setOpen] = useState9(defaultOpen);
2816
+ const [open, setOpen] = useState11(defaultOpen);
2720
2817
  const handleToggle = () => {
2721
2818
  setOpen((prevOpen) => !prevOpen);
2722
2819
  };
2723
- return /* @__PURE__ */ React52.createElement(Stack15, null, /* @__PURE__ */ React52.createElement(
2820
+ return /* @__PURE__ */ React53.createElement(Stack15, null, /* @__PURE__ */ React53.createElement(
2724
2821
  Button,
2725
2822
  {
2726
2823
  fullWidth: true,
@@ -2728,21 +2825,21 @@ var CollapsibleContent = ({ children, defaultOpen = false }) => {
2728
2825
  color: "secondary",
2729
2826
  variant: "outlined",
2730
2827
  onClick: handleToggle,
2731
- endIcon: /* @__PURE__ */ React52.createElement(CollapseIcon, { open }),
2828
+ endIcon: /* @__PURE__ */ React53.createElement(CollapseIcon, { open }),
2732
2829
  sx: { my: 0.5 }
2733
2830
  },
2734
2831
  open ? __29("Show less", "elementor") : __29("Show more", "elementor")
2735
- ), /* @__PURE__ */ React52.createElement(Collapse3, { in: open, timeout: "auto", unmountOnExit: true }, children));
2832
+ ), /* @__PURE__ */ React53.createElement(Collapse3, { in: open, timeout: "auto", unmountOnExit: true }, children));
2736
2833
  };
2737
2834
 
2738
2835
  // src/components/style-sections/typography-section/font-family-field.tsx
2739
- import * as React53 from "react";
2836
+ import * as React54 from "react";
2740
2837
  import { FontFamilyControl } from "@elementor/editor-controls";
2741
2838
  import { Grid as Grid15 } from "@elementor/ui";
2742
2839
  import { __ as __31 } from "@wordpress/i18n";
2743
2840
 
2744
2841
  // src/components/style-sections/typography-section/hooks/use-font-families.ts
2745
- import { useMemo as useMemo4 } from "react";
2842
+ import { useMemo as useMemo5 } from "react";
2746
2843
  import { __ as __30 } from "@wordpress/i18n";
2747
2844
 
2748
2845
  // src/sync/get-elementor-config.ts
@@ -2767,7 +2864,7 @@ var getFontFamilies = () => {
2767
2864
  };
2768
2865
  var useFontFamilies = () => {
2769
2866
  const fontFamilies = getFontFamilies();
2770
- return useMemo4(() => {
2867
+ return useMemo5(() => {
2771
2868
  const categoriesOrder = ["system", "custom", "googlefonts"];
2772
2869
  return Object.entries(fontFamilies || {}).reduce((acc, [font, category]) => {
2773
2870
  if (!supportedCategories[category]) {
@@ -2792,20 +2889,20 @@ var FontFamilyField = () => {
2792
2889
  if (fontFamilies.length === 0) {
2793
2890
  return null;
2794
2891
  }
2795
- return /* @__PURE__ */ React53.createElement(StylesField, { bind: "font-family" }, /* @__PURE__ */ React53.createElement(Grid15, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React53.createElement(Grid15, { item: true, xs: 6 }, /* @__PURE__ */ React53.createElement(ControlLabel, null, __31("Font family", "elementor"))), /* @__PURE__ */ React53.createElement(Grid15, { item: true, xs: 6, sx: { overflow: "hidden" } }, /* @__PURE__ */ React53.createElement(FontFamilyControl, { fontFamilies }))));
2892
+ return /* @__PURE__ */ React54.createElement(StylesField, { bind: "font-family" }, /* @__PURE__ */ React54.createElement(Grid15, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React54.createElement(Grid15, { item: true, xs: 6 }, /* @__PURE__ */ React54.createElement(ControlLabel, null, __31("Font family", "elementor"))), /* @__PURE__ */ React54.createElement(Grid15, { item: true, xs: 6, sx: { overflow: "hidden" } }, /* @__PURE__ */ React54.createElement(FontFamilyControl, { fontFamilies }))));
2796
2893
  };
2797
2894
 
2798
2895
  // src/components/style-sections/typography-section/font-size-field.tsx
2799
- import * as React54 from "react";
2896
+ import * as React55 from "react";
2800
2897
  import { SizeControl as SizeControl6 } from "@elementor/editor-controls";
2801
2898
  import { Grid as Grid16 } from "@elementor/ui";
2802
2899
  import { __ as __32 } from "@wordpress/i18n";
2803
2900
  var FontSizeField = () => {
2804
- return /* @__PURE__ */ React54.createElement(StylesField, { bind: "font-size" }, /* @__PURE__ */ React54.createElement(Grid16, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React54.createElement(Grid16, { item: true, xs: 6 }, /* @__PURE__ */ React54.createElement(ControlLabel, null, __32("Font size", "elementor"))), /* @__PURE__ */ React54.createElement(Grid16, { item: true, xs: 6 }, /* @__PURE__ */ React54.createElement(SizeControl6, null))));
2901
+ return /* @__PURE__ */ React55.createElement(StylesField, { bind: "font-size" }, /* @__PURE__ */ React55.createElement(Grid16, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React55.createElement(Grid16, { item: true, xs: 6 }, /* @__PURE__ */ React55.createElement(ControlLabel, null, __32("Font size", "elementor"))), /* @__PURE__ */ React55.createElement(Grid16, { item: true, xs: 6 }, /* @__PURE__ */ React55.createElement(SizeControl6, null))));
2805
2902
  };
2806
2903
 
2807
2904
  // src/components/style-sections/typography-section/font-style-field.tsx
2808
- import * as React55 from "react";
2905
+ import * as React56 from "react";
2809
2906
  import { ControlFormLabel as ControlFormLabel4, ToggleControl as ToggleControl9 } from "@elementor/editor-controls";
2810
2907
  import { ItalicIcon, MinusIcon as MinusIcon2 } from "@elementor/icons";
2811
2908
  import { Grid as Grid17 } from "@elementor/ui";
@@ -2814,20 +2911,20 @@ var options7 = [
2814
2911
  {
2815
2912
  value: "normal",
2816
2913
  label: __33("Normal", "elementor"),
2817
- renderContent: ({ size }) => /* @__PURE__ */ React55.createElement(MinusIcon2, { fontSize: size }),
2914
+ renderContent: ({ size }) => /* @__PURE__ */ React56.createElement(MinusIcon2, { fontSize: size }),
2818
2915
  showTooltip: true
2819
2916
  },
2820
2917
  {
2821
2918
  value: "italic",
2822
2919
  label: __33("Italic", "elementor"),
2823
- renderContent: ({ size }) => /* @__PURE__ */ React55.createElement(ItalicIcon, { fontSize: size }),
2920
+ renderContent: ({ size }) => /* @__PURE__ */ React56.createElement(ItalicIcon, { fontSize: size }),
2824
2921
  showTooltip: true
2825
2922
  }
2826
2923
  ];
2827
- var FontStyleField = () => /* @__PURE__ */ React55.createElement(StylesField, { bind: "font-style" }, /* @__PURE__ */ React55.createElement(Grid17, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React55.createElement(Grid17, { item: true, xs: 6 }, /* @__PURE__ */ React55.createElement(ControlFormLabel4, null, __33("Font style", "elementor"))), /* @__PURE__ */ React55.createElement(Grid17, { item: true, xs: 6, display: "flex", justifyContent: "end" }, /* @__PURE__ */ React55.createElement(ToggleControl9, { options: options7 }))));
2924
+ var FontStyleField = () => /* @__PURE__ */ React56.createElement(StylesField, { bind: "font-style" }, /* @__PURE__ */ React56.createElement(Grid17, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React56.createElement(Grid17, { item: true, xs: 6 }, /* @__PURE__ */ React56.createElement(ControlFormLabel4, null, __33("Font style", "elementor"))), /* @__PURE__ */ React56.createElement(Grid17, { item: true, xs: 6, display: "flex", justifyContent: "end" }, /* @__PURE__ */ React56.createElement(ToggleControl9, { options: options7 }))));
2828
2925
 
2829
2926
  // src/components/style-sections/typography-section/font-weight-field.tsx
2830
- import * as React56 from "react";
2927
+ import * as React57 from "react";
2831
2928
  import { SelectControl as SelectControl4 } from "@elementor/editor-controls";
2832
2929
  import { Grid as Grid18 } from "@elementor/ui";
2833
2930
  import { __ as __34 } from "@wordpress/i18n";
@@ -2843,29 +2940,29 @@ var fontWeightOptions = [
2843
2940
  { value: "900", label: __34("900 - Black", "elementor") }
2844
2941
  ];
2845
2942
  var FontWeightField = () => {
2846
- return /* @__PURE__ */ React56.createElement(StylesField, { bind: "font-weight" }, /* @__PURE__ */ React56.createElement(Grid18, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React56.createElement(Grid18, { item: true, xs: 6 }, /* @__PURE__ */ React56.createElement(ControlLabel, null, __34("Font weight", "elementor"))), /* @__PURE__ */ React56.createElement(Grid18, { item: true, xs: 6, sx: { overflow: "hidden" } }, /* @__PURE__ */ React56.createElement(SelectControl4, { options: fontWeightOptions }))));
2943
+ return /* @__PURE__ */ React57.createElement(StylesField, { bind: "font-weight" }, /* @__PURE__ */ React57.createElement(Grid18, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React57.createElement(Grid18, { item: true, xs: 6 }, /* @__PURE__ */ React57.createElement(ControlLabel, null, __34("Font weight", "elementor"))), /* @__PURE__ */ React57.createElement(Grid18, { item: true, xs: 6, sx: { overflow: "hidden" } }, /* @__PURE__ */ React57.createElement(SelectControl4, { options: fontWeightOptions }))));
2847
2944
  };
2848
2945
 
2849
2946
  // src/components/style-sections/typography-section/letter-spacing-field.tsx
2850
- import * as React57 from "react";
2947
+ import * as React58 from "react";
2851
2948
  import { SizeControl as SizeControl7 } from "@elementor/editor-controls";
2852
2949
  import { Grid as Grid19 } from "@elementor/ui";
2853
2950
  import { __ as __35 } from "@wordpress/i18n";
2854
2951
  var LetterSpacingField = () => {
2855
- return /* @__PURE__ */ React57.createElement(StylesField, { bind: "letter-spacing" }, /* @__PURE__ */ React57.createElement(Grid19, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React57.createElement(Grid19, { item: true, xs: 6 }, /* @__PURE__ */ React57.createElement(ControlLabel, null, __35("Letter spacing", "elementor"))), /* @__PURE__ */ React57.createElement(Grid19, { item: true, xs: 6 }, /* @__PURE__ */ React57.createElement(SizeControl7, null))));
2952
+ return /* @__PURE__ */ React58.createElement(StylesField, { bind: "letter-spacing" }, /* @__PURE__ */ React58.createElement(Grid19, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React58.createElement(Grid19, { item: true, xs: 6 }, /* @__PURE__ */ React58.createElement(ControlLabel, null, __35("Letter spacing", "elementor"))), /* @__PURE__ */ React58.createElement(Grid19, { item: true, xs: 6 }, /* @__PURE__ */ React58.createElement(SizeControl7, null))));
2856
2953
  };
2857
2954
 
2858
2955
  // src/components/style-sections/typography-section/line-height-field.tsx
2859
- import * as React58 from "react";
2956
+ import * as React59 from "react";
2860
2957
  import { SizeControl as SizeControl8 } from "@elementor/editor-controls";
2861
2958
  import { Grid as Grid20 } from "@elementor/ui";
2862
2959
  import { __ as __36 } from "@wordpress/i18n";
2863
2960
  var LineHeightField = () => {
2864
- return /* @__PURE__ */ React58.createElement(StylesField, { bind: "line-height" }, /* @__PURE__ */ React58.createElement(Grid20, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React58.createElement(Grid20, { item: true, xs: 6 }, /* @__PURE__ */ React58.createElement(ControlLabel, null, __36("Line height", "elementor"))), /* @__PURE__ */ React58.createElement(Grid20, { item: true, xs: 6 }, /* @__PURE__ */ React58.createElement(SizeControl8, null))));
2961
+ return /* @__PURE__ */ React59.createElement(StylesField, { bind: "line-height" }, /* @__PURE__ */ React59.createElement(Grid20, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React59.createElement(Grid20, { item: true, xs: 6 }, /* @__PURE__ */ React59.createElement(ControlLabel, null, __36("Line height", "elementor"))), /* @__PURE__ */ React59.createElement(Grid20, { item: true, xs: 6 }, /* @__PURE__ */ React59.createElement(SizeControl8, null))));
2865
2962
  };
2866
2963
 
2867
2964
  // src/components/style-sections/typography-section/text-alignment-field.tsx
2868
- import * as React59 from "react";
2965
+ import * as React60 from "react";
2869
2966
  import { ToggleControl as ToggleControl10 } from "@elementor/editor-controls";
2870
2967
  import { AlignCenterIcon, AlignJustifiedIcon, AlignLeftIcon, AlignRightIcon } from "@elementor/icons";
2871
2968
  import { Grid as Grid21, withDirection as withDirection9 } from "@elementor/ui";
@@ -2876,43 +2973,43 @@ var options8 = [
2876
2973
  {
2877
2974
  value: "start",
2878
2975
  label: __37("Start", "elementor"),
2879
- renderContent: ({ size }) => /* @__PURE__ */ React59.createElement(AlignStartIcon, { fontSize: size }),
2976
+ renderContent: ({ size }) => /* @__PURE__ */ React60.createElement(AlignStartIcon, { fontSize: size }),
2880
2977
  showTooltip: true
2881
2978
  },
2882
2979
  {
2883
2980
  value: "center",
2884
2981
  label: __37("Center", "elementor"),
2885
- renderContent: ({ size }) => /* @__PURE__ */ React59.createElement(AlignCenterIcon, { fontSize: size }),
2982
+ renderContent: ({ size }) => /* @__PURE__ */ React60.createElement(AlignCenterIcon, { fontSize: size }),
2886
2983
  showTooltip: true
2887
2984
  },
2888
2985
  {
2889
2986
  value: "end",
2890
2987
  label: __37("End", "elementor"),
2891
- renderContent: ({ size }) => /* @__PURE__ */ React59.createElement(AlignEndIcon, { fontSize: size }),
2988
+ renderContent: ({ size }) => /* @__PURE__ */ React60.createElement(AlignEndIcon, { fontSize: size }),
2892
2989
  showTooltip: true
2893
2990
  },
2894
2991
  {
2895
2992
  value: "justify",
2896
2993
  label: __37("Justify", "elementor"),
2897
- renderContent: ({ size }) => /* @__PURE__ */ React59.createElement(AlignJustifiedIcon, { fontSize: size }),
2994
+ renderContent: ({ size }) => /* @__PURE__ */ React60.createElement(AlignJustifiedIcon, { fontSize: size }),
2898
2995
  showTooltip: true
2899
2996
  }
2900
2997
  ];
2901
2998
  var TextAlignmentField = () => {
2902
- return /* @__PURE__ */ React59.createElement(StylesField, { bind: "text-align" }, /* @__PURE__ */ React59.createElement(Grid21, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React59.createElement(Grid21, { item: true, xs: 6 }, /* @__PURE__ */ React59.createElement(ControlLabel, null, __37("Text align", "elementor"))), /* @__PURE__ */ React59.createElement(Grid21, { item: true, xs: 6, display: "flex", justifyContent: "end" }, /* @__PURE__ */ React59.createElement(ToggleControl10, { options: options8 }))));
2999
+ return /* @__PURE__ */ React60.createElement(StylesField, { bind: "text-align" }, /* @__PURE__ */ React60.createElement(Grid21, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React60.createElement(Grid21, { item: true, xs: 6 }, /* @__PURE__ */ React60.createElement(ControlLabel, null, __37("Text align", "elementor"))), /* @__PURE__ */ React60.createElement(Grid21, { item: true, xs: 6, display: "flex", justifyContent: "end" }, /* @__PURE__ */ React60.createElement(ToggleControl10, { options: options8 }))));
2903
3000
  };
2904
3001
 
2905
3002
  // src/components/style-sections/typography-section/text-color-field.tsx
2906
- import * as React60 from "react";
3003
+ import * as React61 from "react";
2907
3004
  import { ColorControl as ColorControl2 } from "@elementor/editor-controls";
2908
3005
  import { Grid as Grid22 } from "@elementor/ui";
2909
3006
  import { __ as __38 } from "@wordpress/i18n";
2910
3007
  var TextColorField = () => {
2911
- return /* @__PURE__ */ React60.createElement(StylesField, { bind: "color" }, /* @__PURE__ */ React60.createElement(Grid22, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React60.createElement(Grid22, { item: true, xs: 6 }, /* @__PURE__ */ React60.createElement(ControlLabel, null, __38("Text color", "elementor"))), /* @__PURE__ */ React60.createElement(Grid22, { item: true, xs: 6 }, /* @__PURE__ */ React60.createElement(ColorControl2, null))));
3008
+ return /* @__PURE__ */ React61.createElement(StylesField, { bind: "color" }, /* @__PURE__ */ React61.createElement(Grid22, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React61.createElement(Grid22, { item: true, xs: 6 }, /* @__PURE__ */ React61.createElement(ControlLabel, null, __38("Text color", "elementor"))), /* @__PURE__ */ React61.createElement(Grid22, { item: true, xs: 6 }, /* @__PURE__ */ React61.createElement(ColorControl2, null))));
2912
3009
  };
2913
3010
 
2914
3011
  // src/components/style-sections/typography-section/text-decoration-field.tsx
2915
- import * as React61 from "react";
3012
+ import * as React62 from "react";
2916
3013
  import { ToggleControl as ToggleControl11 } from "@elementor/editor-controls";
2917
3014
  import { MinusIcon as MinusIcon3, OverlineIcon, StrikethroughIcon, UnderlineIcon } from "@elementor/icons";
2918
3015
  import { Grid as Grid23 } from "@elementor/ui";
@@ -2921,33 +3018,33 @@ var options9 = [
2921
3018
  {
2922
3019
  value: "none",
2923
3020
  label: __39("None", "elementor"),
2924
- renderContent: ({ size }) => /* @__PURE__ */ React61.createElement(MinusIcon3, { fontSize: size }),
3021
+ renderContent: ({ size }) => /* @__PURE__ */ React62.createElement(MinusIcon3, { fontSize: size }),
2925
3022
  showTooltip: true,
2926
3023
  exclusive: true
2927
3024
  },
2928
3025
  {
2929
3026
  value: "underline",
2930
3027
  label: __39("Underline", "elementor"),
2931
- renderContent: ({ size }) => /* @__PURE__ */ React61.createElement(UnderlineIcon, { fontSize: size }),
3028
+ renderContent: ({ size }) => /* @__PURE__ */ React62.createElement(UnderlineIcon, { fontSize: size }),
2932
3029
  showTooltip: true
2933
3030
  },
2934
3031
  {
2935
3032
  value: "line-through",
2936
3033
  label: __39("Line-through", "elementor"),
2937
- renderContent: ({ size }) => /* @__PURE__ */ React61.createElement(StrikethroughIcon, { fontSize: size }),
3034
+ renderContent: ({ size }) => /* @__PURE__ */ React62.createElement(StrikethroughIcon, { fontSize: size }),
2938
3035
  showTooltip: true
2939
3036
  },
2940
3037
  {
2941
3038
  value: "overline",
2942
3039
  label: __39("Overline", "elementor"),
2943
- renderContent: ({ size }) => /* @__PURE__ */ React61.createElement(OverlineIcon, { fontSize: size }),
3040
+ renderContent: ({ size }) => /* @__PURE__ */ React62.createElement(OverlineIcon, { fontSize: size }),
2944
3041
  showTooltip: true
2945
3042
  }
2946
3043
  ];
2947
- var TextDecorationField = () => /* @__PURE__ */ React61.createElement(StylesField, { bind: "text-decoration" }, /* @__PURE__ */ React61.createElement(Grid23, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React61.createElement(Grid23, { item: true, xs: 6 }, /* @__PURE__ */ React61.createElement(ControlLabel, null, __39("Line decoration", "elementor"))), /* @__PURE__ */ React61.createElement(Grid23, { item: true, xs: 6, display: "flex", justifyContent: "end" }, /* @__PURE__ */ React61.createElement(ToggleControl11, { options: options9, exclusive: false }))));
3044
+ var TextDecorationField = () => /* @__PURE__ */ React62.createElement(StylesField, { bind: "text-decoration" }, /* @__PURE__ */ React62.createElement(Grid23, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React62.createElement(Grid23, { item: true, xs: 6 }, /* @__PURE__ */ React62.createElement(ControlLabel, null, __39("Line decoration", "elementor"))), /* @__PURE__ */ React62.createElement(Grid23, { item: true, xs: 6, display: "flex", justifyContent: "end" }, /* @__PURE__ */ React62.createElement(ToggleControl11, { options: options9, exclusive: false }))));
2948
3045
 
2949
3046
  // src/components/style-sections/typography-section/text-direction-field.tsx
2950
- import * as React62 from "react";
3047
+ import * as React63 from "react";
2951
3048
  import { ToggleControl as ToggleControl12 } from "@elementor/editor-controls";
2952
3049
  import { TextDirectionLtrIcon, TextDirectionRtlIcon } from "@elementor/icons";
2953
3050
  import { Grid as Grid24 } from "@elementor/ui";
@@ -2956,22 +3053,22 @@ var options10 = [
2956
3053
  {
2957
3054
  value: "ltr",
2958
3055
  label: __40("Left to right", "elementor"),
2959
- renderContent: ({ size }) => /* @__PURE__ */ React62.createElement(TextDirectionLtrIcon, { fontSize: size }),
3056
+ renderContent: ({ size }) => /* @__PURE__ */ React63.createElement(TextDirectionLtrIcon, { fontSize: size }),
2960
3057
  showTooltip: true
2961
3058
  },
2962
3059
  {
2963
3060
  value: "rtl",
2964
3061
  label: __40("Right to left", "elementor"),
2965
- renderContent: ({ size }) => /* @__PURE__ */ React62.createElement(TextDirectionRtlIcon, { fontSize: size }),
3062
+ renderContent: ({ size }) => /* @__PURE__ */ React63.createElement(TextDirectionRtlIcon, { fontSize: size }),
2966
3063
  showTooltip: true
2967
3064
  }
2968
3065
  ];
2969
3066
  var TextDirectionField = () => {
2970
- return /* @__PURE__ */ React62.createElement(StylesField, { bind: "direction" }, /* @__PURE__ */ React62.createElement(Grid24, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React62.createElement(Grid24, { item: true, xs: 6 }, /* @__PURE__ */ React62.createElement(ControlLabel, null, __40("Direction", "elementor"))), /* @__PURE__ */ React62.createElement(Grid24, { item: true, xs: 6, display: "flex", justifyContent: "end" }, /* @__PURE__ */ React62.createElement(ToggleControl12, { options: options10 }))));
3067
+ return /* @__PURE__ */ React63.createElement(StylesField, { bind: "direction" }, /* @__PURE__ */ React63.createElement(Grid24, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React63.createElement(Grid24, { item: true, xs: 6 }, /* @__PURE__ */ React63.createElement(ControlLabel, null, __40("Direction", "elementor"))), /* @__PURE__ */ React63.createElement(Grid24, { item: true, xs: 6, display: "flex", justifyContent: "end" }, /* @__PURE__ */ React63.createElement(ToggleControl12, { options: options10 }))));
2971
3068
  };
2972
3069
 
2973
3070
  // src/components/style-sections/typography-section/text-stroke-field.tsx
2974
- import * as React63 from "react";
3071
+ import * as React64 from "react";
2975
3072
  import { StrokeControl } from "@elementor/editor-controls";
2976
3073
  import { __ as __41 } from "@wordpress/i18n";
2977
3074
  var initTextStroke = {
@@ -2999,7 +3096,7 @@ var TextStrokeField = () => {
2999
3096
  setTextStroke(null);
3000
3097
  };
3001
3098
  const hasTextStroke = Boolean(textStroke);
3002
- return /* @__PURE__ */ React63.createElement(StylesField, { bind: "stroke" }, /* @__PURE__ */ React63.createElement(
3099
+ return /* @__PURE__ */ React64.createElement(StylesField, { bind: "stroke" }, /* @__PURE__ */ React64.createElement(
3003
3100
  AddOrRemoveContent,
3004
3101
  {
3005
3102
  label: __41("Text stroke", "elementor"),
@@ -3007,12 +3104,12 @@ var TextStrokeField = () => {
3007
3104
  onAdd: addTextStroke,
3008
3105
  onRemove: removeTextStroke
3009
3106
  },
3010
- /* @__PURE__ */ React63.createElement(StrokeControl, null)
3107
+ /* @__PURE__ */ React64.createElement(StrokeControl, null)
3011
3108
  ));
3012
3109
  };
3013
3110
 
3014
3111
  // src/components/style-sections/typography-section/transform-field.tsx
3015
- import * as React64 from "react";
3112
+ import * as React65 from "react";
3016
3113
  import { ToggleControl as ToggleControl13 } from "@elementor/editor-controls";
3017
3114
  import { LetterCaseIcon, LetterCaseLowerIcon, LetterCaseUpperIcon, MinusIcon as MinusIcon4 } from "@elementor/icons";
3018
3115
  import { Grid as Grid25 } from "@elementor/ui";
@@ -3021,42 +3118,42 @@ var options11 = [
3021
3118
  {
3022
3119
  value: "none",
3023
3120
  label: __42("None", "elementor"),
3024
- renderContent: ({ size }) => /* @__PURE__ */ React64.createElement(MinusIcon4, { fontSize: size }),
3121
+ renderContent: ({ size }) => /* @__PURE__ */ React65.createElement(MinusIcon4, { fontSize: size }),
3025
3122
  showTooltip: true
3026
3123
  },
3027
3124
  {
3028
3125
  value: "capitalize",
3029
3126
  label: __42("Capitalize", "elementor"),
3030
- renderContent: ({ size }) => /* @__PURE__ */ React64.createElement(LetterCaseIcon, { fontSize: size }),
3127
+ renderContent: ({ size }) => /* @__PURE__ */ React65.createElement(LetterCaseIcon, { fontSize: size }),
3031
3128
  showTooltip: true
3032
3129
  },
3033
3130
  {
3034
3131
  value: "uppercase",
3035
3132
  label: __42("Uppercase", "elementor"),
3036
- renderContent: ({ size }) => /* @__PURE__ */ React64.createElement(LetterCaseUpperIcon, { fontSize: size }),
3133
+ renderContent: ({ size }) => /* @__PURE__ */ React65.createElement(LetterCaseUpperIcon, { fontSize: size }),
3037
3134
  showTooltip: true
3038
3135
  },
3039
3136
  {
3040
3137
  value: "lowercase",
3041
3138
  label: __42("Lowercase", "elementor"),
3042
- renderContent: ({ size }) => /* @__PURE__ */ React64.createElement(LetterCaseLowerIcon, { fontSize: size }),
3139
+ renderContent: ({ size }) => /* @__PURE__ */ React65.createElement(LetterCaseLowerIcon, { fontSize: size }),
3043
3140
  showTooltip: true
3044
3141
  }
3045
3142
  ];
3046
- var TransformField = () => /* @__PURE__ */ React64.createElement(StylesField, { bind: "text-transform" }, /* @__PURE__ */ React64.createElement(Grid25, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React64.createElement(Grid25, { item: true, xs: 6 }, /* @__PURE__ */ React64.createElement(ControlLabel, null, __42("Text transform", "elementor"))), /* @__PURE__ */ React64.createElement(Grid25, { item: true, xs: 6, display: "flex", justifyContent: "end" }, /* @__PURE__ */ React64.createElement(ToggleControl13, { options: options11 }))));
3143
+ var TransformField = () => /* @__PURE__ */ React65.createElement(StylesField, { bind: "text-transform" }, /* @__PURE__ */ React65.createElement(Grid25, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React65.createElement(Grid25, { item: true, xs: 6 }, /* @__PURE__ */ React65.createElement(ControlLabel, null, __42("Text transform", "elementor"))), /* @__PURE__ */ React65.createElement(Grid25, { item: true, xs: 6, display: "flex", justifyContent: "end" }, /* @__PURE__ */ React65.createElement(ToggleControl13, { options: options11 }))));
3047
3144
 
3048
3145
  // src/components/style-sections/typography-section/word-spacing-field.tsx
3049
- import * as React65 from "react";
3146
+ import * as React66 from "react";
3050
3147
  import { SizeControl as SizeControl9 } from "@elementor/editor-controls";
3051
3148
  import { Grid as Grid26 } from "@elementor/ui";
3052
3149
  import { __ as __43 } from "@wordpress/i18n";
3053
3150
  var WordSpacingField = () => {
3054
- return /* @__PURE__ */ React65.createElement(StylesField, { bind: "word-spacing" }, /* @__PURE__ */ React65.createElement(Grid26, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React65.createElement(Grid26, { item: true, xs: 6 }, /* @__PURE__ */ React65.createElement(ControlLabel, null, __43("Word spacing", "elementor"))), /* @__PURE__ */ React65.createElement(Grid26, { item: true, xs: 6 }, /* @__PURE__ */ React65.createElement(SizeControl9, null))));
3151
+ return /* @__PURE__ */ React66.createElement(StylesField, { bind: "word-spacing" }, /* @__PURE__ */ React66.createElement(Grid26, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React66.createElement(Grid26, { item: true, xs: 6 }, /* @__PURE__ */ React66.createElement(ControlLabel, null, __43("Word spacing", "elementor"))), /* @__PURE__ */ React66.createElement(Grid26, { item: true, xs: 6 }, /* @__PURE__ */ React66.createElement(SizeControl9, null))));
3055
3152
  };
3056
3153
 
3057
3154
  // src/components/style-sections/typography-section/typography-section.tsx
3058
3155
  var TypographySection = () => {
3059
- return /* @__PURE__ */ React66.createElement(SectionContent, null, /* @__PURE__ */ React66.createElement(FontFamilyField, null), /* @__PURE__ */ React66.createElement(FontWeightField, null), /* @__PURE__ */ React66.createElement(FontSizeField, null), /* @__PURE__ */ React66.createElement(PanelDivider, null), /* @__PURE__ */ React66.createElement(TextAlignmentField, null), /* @__PURE__ */ React66.createElement(TextColorField, null), /* @__PURE__ */ React66.createElement(CollapsibleContent, null, /* @__PURE__ */ React66.createElement(SectionContent, { sx: { pt: 2 } }, /* @__PURE__ */ React66.createElement(LineHeightField, null), /* @__PURE__ */ React66.createElement(LetterSpacingField, null), /* @__PURE__ */ React66.createElement(WordSpacingField, null), /* @__PURE__ */ React66.createElement(PanelDivider, null), /* @__PURE__ */ React66.createElement(TextDecorationField, null), /* @__PURE__ */ React66.createElement(TransformField, null), /* @__PURE__ */ React66.createElement(TextDirectionField, null), /* @__PURE__ */ React66.createElement(FontStyleField, null), /* @__PURE__ */ React66.createElement(TextStrokeField, null))));
3156
+ return /* @__PURE__ */ React67.createElement(SectionContent, null, /* @__PURE__ */ React67.createElement(FontFamilyField, null), /* @__PURE__ */ React67.createElement(FontWeightField, null), /* @__PURE__ */ React67.createElement(FontSizeField, null), /* @__PURE__ */ React67.createElement(PanelDivider, null), /* @__PURE__ */ React67.createElement(TextAlignmentField, null), /* @__PURE__ */ React67.createElement(TextColorField, null), /* @__PURE__ */ React67.createElement(CollapsibleContent, null, /* @__PURE__ */ React67.createElement(SectionContent, { sx: { pt: 2 } }, /* @__PURE__ */ React67.createElement(LineHeightField, null), /* @__PURE__ */ React67.createElement(LetterSpacingField, null), /* @__PURE__ */ React67.createElement(WordSpacingField, null), /* @__PURE__ */ React67.createElement(PanelDivider, null), /* @__PURE__ */ React67.createElement(TextDecorationField, null), /* @__PURE__ */ React67.createElement(TransformField, null), /* @__PURE__ */ React67.createElement(TextDirectionField, null), /* @__PURE__ */ React67.createElement(FontStyleField, null), /* @__PURE__ */ React67.createElement(TextStrokeField, null))));
3060
3157
  };
3061
3158
 
3062
3159
  // src/components/style-tab.tsx
@@ -3071,9 +3168,9 @@ var stickyHeaderStyles = {
3071
3168
  var StyleTab = () => {
3072
3169
  const currentClassesProp = useCurrentClassesProp();
3073
3170
  const [activeStyleDefId, setActiveStyleDefId] = useActiveStyleDefId(currentClassesProp);
3074
- const [activeStyleState, setActiveStyleState] = useState10(null);
3171
+ const [activeStyleState, setActiveStyleState] = useState12(null);
3075
3172
  const breakpoint = useActiveBreakpoint();
3076
- return /* @__PURE__ */ React67.createElement(ClassesPropProvider, { prop: currentClassesProp }, /* @__PURE__ */ React67.createElement(
3173
+ return /* @__PURE__ */ React68.createElement(ClassesPropProvider, { prop: currentClassesProp }, /* @__PURE__ */ React68.createElement(
3077
3174
  StyleProvider,
3078
3175
  {
3079
3176
  meta: { breakpoint, state: activeStyleState },
@@ -3084,12 +3181,12 @@ var StyleTab = () => {
3084
3181
  },
3085
3182
  setMetaState: setActiveStyleState
3086
3183
  },
3087
- /* @__PURE__ */ React67.createElement(SessionStorageProvider2, { prefix: activeStyleDefId ?? "" }, /* @__PURE__ */ React67.createElement(StyleInheritanceProvider, null, /* @__PURE__ */ React67.createElement(ClassesHeader, null, /* @__PURE__ */ React67.createElement(CssClassSelector, null), /* @__PURE__ */ React67.createElement(Divider4, null)), /* @__PURE__ */ React67.createElement(SectionsList, null, /* @__PURE__ */ React67.createElement(Section, { title: __44("Layout", "elementor") }, /* @__PURE__ */ React67.createElement(LayoutSection, null)), /* @__PURE__ */ React67.createElement(Section, { title: __44("Spacing", "elementor") }, /* @__PURE__ */ React67.createElement(SpacingSection, null)), /* @__PURE__ */ React67.createElement(Section, { title: __44("Size", "elementor") }, /* @__PURE__ */ React67.createElement(SizeSection, null)), /* @__PURE__ */ React67.createElement(Section, { title: __44("Position", "elementor") }, /* @__PURE__ */ React67.createElement(PositionSection, null)), /* @__PURE__ */ React67.createElement(Section, { title: __44("Typography", "elementor") }, /* @__PURE__ */ React67.createElement(TypographySection, null)), /* @__PURE__ */ React67.createElement(Section, { title: __44("Background", "elementor") }, /* @__PURE__ */ React67.createElement(BackgroundSection, null)), /* @__PURE__ */ React67.createElement(Section, { title: __44("Border", "elementor") }, /* @__PURE__ */ React67.createElement(BorderSection, null)), /* @__PURE__ */ React67.createElement(Section, { title: __44("Effects", "elementor") }, /* @__PURE__ */ React67.createElement(EffectsSection, null)))))
3184
+ /* @__PURE__ */ React68.createElement(SessionStorageProvider2, { prefix: activeStyleDefId ?? "" }, /* @__PURE__ */ React68.createElement(StyleInheritanceProvider, null, /* @__PURE__ */ React68.createElement(ClassesHeader, null, /* @__PURE__ */ React68.createElement(CssClassSelector, null), /* @__PURE__ */ React68.createElement(Divider5, null)), /* @__PURE__ */ React68.createElement(SectionsList, null, /* @__PURE__ */ React68.createElement(Section, { title: __44("Layout", "elementor") }, /* @__PURE__ */ React68.createElement(LayoutSection, null)), /* @__PURE__ */ React68.createElement(Section, { title: __44("Spacing", "elementor") }, /* @__PURE__ */ React68.createElement(SpacingSection, null)), /* @__PURE__ */ React68.createElement(Section, { title: __44("Size", "elementor") }, /* @__PURE__ */ React68.createElement(SizeSection, null)), /* @__PURE__ */ React68.createElement(Section, { title: __44("Position", "elementor") }, /* @__PURE__ */ React68.createElement(PositionSection, null)), /* @__PURE__ */ React68.createElement(Section, { title: __44("Typography", "elementor") }, /* @__PURE__ */ React68.createElement(TypographySection, null)), /* @__PURE__ */ React68.createElement(Section, { title: __44("Background", "elementor") }, /* @__PURE__ */ React68.createElement(BackgroundSection, null)), /* @__PURE__ */ React68.createElement(Section, { title: __44("Border", "elementor") }, /* @__PURE__ */ React68.createElement(BorderSection, null)), /* @__PURE__ */ React68.createElement(Section, { title: __44("Effects", "elementor") }, /* @__PURE__ */ React68.createElement(EffectsSection, null)))))
3088
3185
  ));
3089
3186
  };
3090
3187
  function ClassesHeader({ children }) {
3091
3188
  const scrollDirection = useScrollDirection();
3092
- return /* @__PURE__ */ React67.createElement(Stack16, { sx: { ...stickyHeaderStyles, top: scrollDirection === "up" ? TABS_HEADER_HEIGHT : 0 } }, children);
3189
+ return /* @__PURE__ */ React68.createElement(Stack16, { sx: { ...stickyHeaderStyles, top: scrollDirection === "up" ? TABS_HEADER_HEIGHT : 0 } }, children);
3093
3190
  }
3094
3191
  function useCurrentClassesProp() {
3095
3192
  const { elementType } = useElement();
@@ -3109,7 +3206,7 @@ var EditingPanelTabs = () => {
3109
3206
  return (
3110
3207
  // When switching between elements, the local states should be reset. We are using key to rerender the tabs.
3111
3208
  // Reference: https://react.dev/learn/preserving-and-resetting-state#resetting-a-form-with-a-key
3112
- /* @__PURE__ */ React68.createElement(Fragment8, { key: element.id }, /* @__PURE__ */ React68.createElement(ScrollProvider, null, /* @__PURE__ */ React68.createElement(Stack17, { direction: "column", sx: { width: "100%" } }, /* @__PURE__ */ React68.createElement(Stack17, { sx: { ...stickyHeaderStyles, top: 0 } }, /* @__PURE__ */ React68.createElement(Tabs, { variant: "fullWidth", size: "small", sx: { mt: 0.5 }, ...getTabsProps() }, /* @__PURE__ */ React68.createElement(Tab, { label: __45("General", "elementor"), ...getTabProps("settings") }), /* @__PURE__ */ React68.createElement(Tab, { label: __45("Style", "elementor"), ...getTabProps("style") })), /* @__PURE__ */ React68.createElement(Divider5, null)), /* @__PURE__ */ React68.createElement(TabPanel, { ...getTabPanelProps("settings"), disablePadding: true }, /* @__PURE__ */ React68.createElement(SettingsTab, null)), /* @__PURE__ */ React68.createElement(TabPanel, { ...getTabPanelProps("style"), disablePadding: true }, /* @__PURE__ */ React68.createElement(StyleTab, null)))))
3209
+ /* @__PURE__ */ React69.createElement(Fragment8, { key: element.id }, /* @__PURE__ */ React69.createElement(ScrollProvider, null, /* @__PURE__ */ React69.createElement(Stack17, { direction: "column", sx: { width: "100%" } }, /* @__PURE__ */ React69.createElement(Stack17, { sx: { ...stickyHeaderStyles, top: 0 } }, /* @__PURE__ */ React69.createElement(Tabs, { variant: "fullWidth", size: "small", sx: { mt: 0.5 }, ...getTabsProps() }, /* @__PURE__ */ React69.createElement(Tab, { label: __45("General", "elementor"), ...getTabProps("settings") }), /* @__PURE__ */ React69.createElement(Tab, { label: __45("Style", "elementor"), ...getTabProps("style") })), /* @__PURE__ */ React69.createElement(Divider6, null)), /* @__PURE__ */ React69.createElement(TabPanel, { ...getTabPanelProps("settings"), disablePadding: true }, /* @__PURE__ */ React69.createElement(SettingsTab, null)), /* @__PURE__ */ React69.createElement(TabPanel, { ...getTabPanelProps("style"), disablePadding: true }, /* @__PURE__ */ React69.createElement(StyleTab, null)))))
3113
3210
  );
3114
3211
  };
3115
3212
 
@@ -3123,7 +3220,7 @@ var EditingPanel = () => {
3123
3220
  return null;
3124
3221
  }
3125
3222
  const panelTitle = __46("Edit %s", "elementor").replace("%s", elementType.title);
3126
- return /* @__PURE__ */ React69.createElement(ErrorBoundary, { fallback: /* @__PURE__ */ React69.createElement(EditorPanelErrorFallback, null) }, /* @__PURE__ */ React69.createElement(SessionStorageProvider3, { prefix: "elementor" }, /* @__PURE__ */ React69.createElement(ThemeProvider9, null, /* @__PURE__ */ React69.createElement(Panel, null, /* @__PURE__ */ React69.createElement(PanelHeader, null, /* @__PURE__ */ React69.createElement(PanelHeaderTitle, null, panelTitle), /* @__PURE__ */ React69.createElement(AtomIcon, { fontSize: "small", sx: { color: "text.tertiary" } })), /* @__PURE__ */ React69.createElement(PanelBody, null, /* @__PURE__ */ React69.createElement(ControlActionsProvider, { items: menuItems }, /* @__PURE__ */ React69.createElement(ControlReplacementsProvider, { replacements: controlReplacements }, /* @__PURE__ */ React69.createElement(ElementProvider, { element, elementType }, /* @__PURE__ */ React69.createElement(EditingPanelTabs, null)))))))));
3223
+ return /* @__PURE__ */ React70.createElement(ErrorBoundary, { fallback: /* @__PURE__ */ React70.createElement(EditorPanelErrorFallback, null) }, /* @__PURE__ */ React70.createElement(SessionStorageProvider3, { prefix: "elementor" }, /* @__PURE__ */ React70.createElement(ThemeProvider9, null, /* @__PURE__ */ React70.createElement(Panel, null, /* @__PURE__ */ React70.createElement(PanelHeader, null, /* @__PURE__ */ React70.createElement(PanelHeaderTitle, null, panelTitle), /* @__PURE__ */ React70.createElement(AtomIcon, { fontSize: "small", sx: { color: "text.tertiary" } })), /* @__PURE__ */ React70.createElement(PanelBody, null, /* @__PURE__ */ React70.createElement(ControlActionsProvider, { items: menuItems }, /* @__PURE__ */ React70.createElement(ControlReplacementsProvider, { replacements: controlReplacements }, /* @__PURE__ */ React70.createElement(ElementProvider, { element, elementType }, /* @__PURE__ */ React70.createElement(EditingPanelTabs, null)))))))));
3127
3224
  };
3128
3225
 
3129
3226
  // src/panel.ts
@@ -3139,7 +3236,7 @@ import { __registerPanel as registerPanel } from "@elementor/editor-panels";
3139
3236
  import { blockCommand } from "@elementor/editor-v1-adapters";
3140
3237
 
3141
3238
  // src/hooks/use-open-editor-panel.ts
3142
- import { useEffect as useEffect3 } from "react";
3239
+ import { useEffect as useEffect4 } from "react";
3143
3240
  import { __privateListenTo as listenTo, commandStartEvent } from "@elementor/editor-v1-adapters";
3144
3241
 
3145
3242
  // src/sync/is-atomic-widget-selected.ts
@@ -3156,7 +3253,7 @@ var isAtomicWidgetSelected = () => {
3156
3253
  // src/hooks/use-open-editor-panel.ts
3157
3254
  var useOpenEditorPanel = () => {
3158
3255
  const { open } = usePanelActions();
3159
- useEffect3(() => {
3256
+ useEffect4(() => {
3160
3257
  return listenTo(commandStartEvent("panel/editor/open"), () => {
3161
3258
  if (isAtomicWidgetSelected()) {
3162
3259
  open();
@@ -3172,19 +3269,19 @@ var EditingPanelHooks = () => {
3172
3269
  };
3173
3270
 
3174
3271
  // src/dynamics/init.ts
3175
- import { settingsTransformersRegistry, styleTransformersRegistry } from "@elementor/editor-canvas";
3272
+ import { settingsTransformersRegistry, styleTransformersRegistry as styleTransformersRegistry2 } from "@elementor/editor-canvas";
3176
3273
 
3177
3274
  // src/dynamics/components/dynamic-selection-control.tsx
3178
- import * as React73 from "react";
3275
+ import * as React74 from "react";
3179
3276
  import { ControlFormLabel as ControlFormLabel5, useBoundProp as useBoundProp5 } from "@elementor/editor-controls";
3180
3277
  import { DatabaseIcon as DatabaseIcon2, SettingsIcon, XIcon as XIcon2 } from "@elementor/icons";
3181
3278
  import {
3182
3279
  bindPopover as bindPopover2,
3183
3280
  bindTrigger as bindTrigger2,
3184
3281
  Box as Box5,
3185
- Divider as Divider7,
3282
+ Divider as Divider8,
3186
3283
  Grid as Grid27,
3187
- IconButton as IconButton3,
3284
+ IconButton as IconButton4,
3188
3285
  Paper,
3189
3286
  Popover as Popover2,
3190
3287
  Stack as Stack20,
@@ -3199,9 +3296,9 @@ import {
3199
3296
  import { __ as __48 } from "@wordpress/i18n";
3200
3297
 
3201
3298
  // src/components/popover-content.tsx
3202
- import * as React70 from "react";
3299
+ import * as React71 from "react";
3203
3300
  import { Stack as Stack18 } from "@elementor/ui";
3204
- var PopoverContent = ({ alignItems, gap = 1.5, p, children }) => /* @__PURE__ */ React70.createElement(Stack18, { alignItems, gap, p }, children);
3301
+ var PopoverContent = ({ alignItems, gap = 1.5, p, children }) => /* @__PURE__ */ React71.createElement(Stack18, { alignItems, gap, p }, children);
3205
3302
 
3206
3303
  // src/hooks/use-persist-dynamic-value.ts
3207
3304
  import { useSessionStorage as useSessionStorage2 } from "@elementor/session";
@@ -3212,14 +3309,14 @@ var usePersistDynamicValue = (propKey) => {
3212
3309
  };
3213
3310
 
3214
3311
  // src/dynamics/dynamic-control.tsx
3215
- import * as React71 from "react";
3312
+ import * as React72 from "react";
3216
3313
  import { PropKeyProvider as PropKeyProvider3, PropProvider as PropProvider3, useBoundProp as useBoundProp3 } from "@elementor/editor-controls";
3217
3314
 
3218
3315
  // src/dynamics/hooks/use-dynamic-tag.ts
3219
- import { useMemo as useMemo6 } from "react";
3316
+ import { useMemo as useMemo7 } from "react";
3220
3317
 
3221
3318
  // src/dynamics/hooks/use-prop-dynamic-tags.ts
3222
- import { useMemo as useMemo5 } from "react";
3319
+ import { useMemo as useMemo6 } from "react";
3223
3320
  import { useBoundProp as useBoundProp2 } from "@elementor/editor-controls";
3224
3321
 
3225
3322
  // src/dynamics/sync/get-elementor-config.ts
@@ -3274,7 +3371,7 @@ var usePropDynamicTags = () => {
3274
3371
  const propDynamicType = getDynamicPropType(propType);
3275
3372
  categories = propDynamicType?.settings.categories || [];
3276
3373
  }
3277
- return useMemo5(() => getDynamicTagsByCategories(categories), [categories.join()]);
3374
+ return useMemo6(() => getDynamicTagsByCategories(categories), [categories.join()]);
3278
3375
  };
3279
3376
  var getDynamicTagsByCategories = (categories) => {
3280
3377
  const dynamicTags = getAtomicDynamicTags();
@@ -3290,7 +3387,7 @@ var getDynamicTagsByCategories = (categories) => {
3290
3387
  // src/dynamics/hooks/use-dynamic-tag.ts
3291
3388
  var useDynamicTag = (tagName) => {
3292
3389
  const dynamicTags = usePropDynamicTags();
3293
- return useMemo6(() => dynamicTags.find((tag) => tag.name === tagName) ?? null, [dynamicTags, tagName]);
3390
+ return useMemo7(() => dynamicTags.find((tag) => tag.name === tagName) ?? null, [dynamicTags, tagName]);
3294
3391
  };
3295
3392
 
3296
3393
  // src/dynamics/dynamic-control.tsx
@@ -3314,17 +3411,17 @@ var DynamicControl = ({ bind, children }) => {
3314
3411
  });
3315
3412
  };
3316
3413
  const propType = createTopLevelOjectType({ schema: dynamicTag.props_schema });
3317
- return /* @__PURE__ */ React71.createElement(PropProvider3, { propType, setValue: setDynamicValue, value: { [bind]: dynamicValue } }, /* @__PURE__ */ React71.createElement(PropKeyProvider3, { bind }, children));
3414
+ return /* @__PURE__ */ React72.createElement(PropProvider3, { propType, setValue: setDynamicValue, value: { [bind]: dynamicValue } }, /* @__PURE__ */ React72.createElement(PropKeyProvider3, { bind }, children));
3318
3415
  };
3319
3416
 
3320
3417
  // src/dynamics/components/dynamic-selection.tsx
3321
- import * as React72 from "react";
3322
- import { Fragment as Fragment9, useState as useState11 } from "react";
3418
+ import * as React73 from "react";
3419
+ import { Fragment as Fragment9, useState as useState13 } from "react";
3323
3420
  import { useBoundProp as useBoundProp4 } from "@elementor/editor-controls";
3324
3421
  import { DatabaseIcon, SearchIcon } from "@elementor/icons";
3325
3422
  import {
3326
3423
  Box as Box4,
3327
- Divider as Divider6,
3424
+ Divider as Divider7,
3328
3425
  InputAdornment,
3329
3426
  Link,
3330
3427
  MenuItem,
@@ -3337,7 +3434,7 @@ import {
3337
3434
  import { __ as __47 } from "@wordpress/i18n";
3338
3435
  var SIZE3 = "tiny";
3339
3436
  var DynamicSelection = ({ onSelect }) => {
3340
- const [searchValue, setSearchValue] = useState11("");
3437
+ const [searchValue, setSearchValue] = useState13("");
3341
3438
  const { groups: dynamicGroups } = getAtomicDynamicTags() || {};
3342
3439
  const { value: anyValue } = useBoundProp4();
3343
3440
  const { bind, value: dynamicValue, setValue } = useBoundProp4(dynamicPropTypeUtil);
@@ -3355,7 +3452,7 @@ var DynamicSelection = ({ onSelect }) => {
3355
3452
  setValue({ name: value, settings: { label } });
3356
3453
  onSelect?.();
3357
3454
  };
3358
- return /* @__PURE__ */ React72.createElement(Stack19, null, hasNoDynamicTags ? /* @__PURE__ */ React72.createElement(NoDynamicTags, null) : /* @__PURE__ */ React72.createElement(Fragment9, null, /* @__PURE__ */ React72.createElement(Box4, { px: 1.5, pb: 1 }, /* @__PURE__ */ React72.createElement(
3455
+ return /* @__PURE__ */ React73.createElement(Stack19, null, hasNoDynamicTags ? /* @__PURE__ */ React73.createElement(NoDynamicTags, null) : /* @__PURE__ */ React73.createElement(Fragment9, null, /* @__PURE__ */ React73.createElement(Box4, { px: 1.5, pb: 1 }, /* @__PURE__ */ React73.createElement(
3359
3456
  TextField2,
3360
3457
  {
3361
3458
  fullWidth: true,
@@ -3364,10 +3461,10 @@ var DynamicSelection = ({ onSelect }) => {
3364
3461
  onChange: handleSearch,
3365
3462
  placeholder: __47("Search dynamic tags\u2026", "elementor"),
3366
3463
  InputProps: {
3367
- startAdornment: /* @__PURE__ */ React72.createElement(InputAdornment, { position: "start" }, /* @__PURE__ */ React72.createElement(SearchIcon, { fontSize: SIZE3 }))
3464
+ startAdornment: /* @__PURE__ */ React73.createElement(InputAdornment, { position: "start" }, /* @__PURE__ */ React73.createElement(SearchIcon, { fontSize: SIZE3 }))
3368
3465
  }
3369
3466
  }
3370
- )), /* @__PURE__ */ React72.createElement(Divider6, null), /* @__PURE__ */ React72.createElement(Box4, { sx: { overflowY: "auto", height: 260, width: 220 } }, options12.length > 0 ? /* @__PURE__ */ React72.createElement(MenuList, { role: "listbox", tabIndex: 0 }, options12.map(([category, items3], index) => /* @__PURE__ */ React72.createElement(Fragment9, { key: index }, /* @__PURE__ */ React72.createElement(
3467
+ )), /* @__PURE__ */ React73.createElement(Divider7, null), /* @__PURE__ */ React73.createElement(Box4, { sx: { overflowY: "auto", height: 260, width: 220 } }, options12.length > 0 ? /* @__PURE__ */ React73.createElement(MenuList, { role: "listbox", tabIndex: 0 }, options12.map(([category, items3], index) => /* @__PURE__ */ React73.createElement(Fragment9, { key: index }, /* @__PURE__ */ React73.createElement(
3371
3468
  MenuSubheader2,
3372
3469
  {
3373
3470
  sx: { px: 1.5, typography: "caption", color: "text.tertiary" }
@@ -3375,7 +3472,7 @@ var DynamicSelection = ({ onSelect }) => {
3375
3472
  dynamicGroups?.[category]?.title || category
3376
3473
  ), items3.map(({ value, label: tagLabel }) => {
3377
3474
  const isSelected = isCurrentValueDynamic && value === dynamicValue?.name;
3378
- return /* @__PURE__ */ React72.createElement(
3475
+ return /* @__PURE__ */ React73.createElement(
3379
3476
  MenuItem,
3380
3477
  {
3381
3478
  key: value,
@@ -3386,9 +3483,9 @@ var DynamicSelection = ({ onSelect }) => {
3386
3483
  },
3387
3484
  tagLabel
3388
3485
  );
3389
- })))) : /* @__PURE__ */ React72.createElement(NoResults, { searchValue, onClear: () => setSearchValue("") }))));
3486
+ })))) : /* @__PURE__ */ React73.createElement(NoResults, { searchValue, onClear: () => setSearchValue("") }))));
3390
3487
  };
3391
- var NoResults = ({ searchValue, onClear }) => /* @__PURE__ */ React72.createElement(
3488
+ var NoResults = ({ searchValue, onClear }) => /* @__PURE__ */ React73.createElement(
3392
3489
  Stack19,
3393
3490
  {
3394
3491
  gap: 1,
@@ -3399,11 +3496,11 @@ var NoResults = ({ searchValue, onClear }) => /* @__PURE__ */ React72.createElem
3399
3496
  color: "text.secondary",
3400
3497
  sx: { pb: 3.5 }
3401
3498
  },
3402
- /* @__PURE__ */ React72.createElement(DatabaseIcon, { fontSize: "large" }),
3403
- /* @__PURE__ */ React72.createElement(Typography4, { align: "center", variant: "subtitle2" }, __47("Sorry, nothing matched", "elementor"), /* @__PURE__ */ React72.createElement("br", null), "\u201C", searchValue, "\u201D."),
3404
- /* @__PURE__ */ React72.createElement(Typography4, { align: "center", variant: "caption" }, __47("Try something else.", "elementor"), "\xA0", /* @__PURE__ */ React72.createElement(Link, { color: "text.secondary", variant: "caption", component: "button", onClick: onClear }, __47("Clear & try again", "elementor")))
3499
+ /* @__PURE__ */ React73.createElement(DatabaseIcon, { fontSize: "large" }),
3500
+ /* @__PURE__ */ React73.createElement(Typography4, { align: "center", variant: "subtitle2" }, __47("Sorry, nothing matched", "elementor"), /* @__PURE__ */ React73.createElement("br", null), "\u201C", searchValue, "\u201D."),
3501
+ /* @__PURE__ */ React73.createElement(Typography4, { align: "center", variant: "caption" }, __47("Try something else.", "elementor"), "\xA0", /* @__PURE__ */ React73.createElement(Link, { color: "text.secondary", variant: "caption", component: "button", onClick: onClear }, __47("Clear & try again", "elementor")))
3405
3502
  );
3406
- var NoDynamicTags = () => /* @__PURE__ */ React72.createElement(Box4, { sx: { overflowY: "hidden", height: 297, width: 220 } }, /* @__PURE__ */ React72.createElement(Divider6, null), /* @__PURE__ */ React72.createElement(
3503
+ var NoDynamicTags = () => /* @__PURE__ */ React73.createElement(Box4, { sx: { overflowY: "hidden", height: 297, width: 220 } }, /* @__PURE__ */ React73.createElement(Divider7, null), /* @__PURE__ */ React73.createElement(
3407
3504
  Stack19,
3408
3505
  {
3409
3506
  gap: 1,
@@ -3414,9 +3511,9 @@ var NoDynamicTags = () => /* @__PURE__ */ React72.createElement(Box4, { sx: { ov
3414
3511
  color: "text.secondary",
3415
3512
  sx: { pb: 3.5 }
3416
3513
  },
3417
- /* @__PURE__ */ React72.createElement(DatabaseIcon, { fontSize: "large" }),
3418
- /* @__PURE__ */ React72.createElement(Typography4, { align: "center", variant: "subtitle2" }, __47("Streamline your workflow with dynamic tags", "elementor")),
3419
- /* @__PURE__ */ React72.createElement(Typography4, { align: "center", variant: "caption" }, __47("You\u2019ll need Elementor Pro to use this feature.", "elementor"))
3514
+ /* @__PURE__ */ React73.createElement(DatabaseIcon, { fontSize: "large" }),
3515
+ /* @__PURE__ */ React73.createElement(Typography4, { align: "center", variant: "subtitle2" }, __47("Streamline your workflow with dynamic tags", "elementor")),
3516
+ /* @__PURE__ */ React73.createElement(Typography4, { align: "center", variant: "caption" }, __47("You\u2019ll need Elementor Pro to use this feature.", "elementor"))
3420
3517
  ));
3421
3518
  var useFilteredOptions = (searchValue) => {
3422
3519
  const dynamicTags = usePropDynamicTags();
@@ -3449,25 +3546,25 @@ var DynamicSelectionControl = () => {
3449
3546
  if (!dynamicTag) {
3450
3547
  throw new Error(`Dynamic tag ${tagName} not found`);
3451
3548
  }
3452
- return /* @__PURE__ */ React73.createElement(Box5, null, /* @__PURE__ */ React73.createElement(
3549
+ return /* @__PURE__ */ React74.createElement(Box5, null, /* @__PURE__ */ React74.createElement(
3453
3550
  Tag,
3454
3551
  {
3455
3552
  fullWidth: true,
3456
3553
  showActionsOnHover: true,
3457
3554
  label: dynamicTag.label,
3458
- startIcon: /* @__PURE__ */ React73.createElement(DatabaseIcon2, { fontSize: SIZE4 }),
3555
+ startIcon: /* @__PURE__ */ React74.createElement(DatabaseIcon2, { fontSize: SIZE4 }),
3459
3556
  ...bindTrigger2(selectionPopoverState),
3460
- actions: /* @__PURE__ */ React73.createElement(React73.Fragment, null, /* @__PURE__ */ React73.createElement(DynamicSettingsPopover, { dynamicTag }), /* @__PURE__ */ React73.createElement(
3461
- IconButton3,
3557
+ actions: /* @__PURE__ */ React74.createElement(React74.Fragment, null, /* @__PURE__ */ React74.createElement(DynamicSettingsPopover, { dynamicTag }), /* @__PURE__ */ React74.createElement(
3558
+ IconButton4,
3462
3559
  {
3463
3560
  size: SIZE4,
3464
3561
  onClick: removeDynamicTag,
3465
3562
  "aria-label": __48("Remove dynamic value", "elementor")
3466
3563
  },
3467
- /* @__PURE__ */ React73.createElement(XIcon2, { fontSize: SIZE4 })
3564
+ /* @__PURE__ */ React74.createElement(XIcon2, { fontSize: SIZE4 })
3468
3565
  ))
3469
3566
  }
3470
- ), /* @__PURE__ */ React73.createElement(
3567
+ ), /* @__PURE__ */ React74.createElement(
3471
3568
  Popover2,
3472
3569
  {
3473
3570
  disablePortal: true,
@@ -3475,7 +3572,7 @@ var DynamicSelectionControl = () => {
3475
3572
  anchorOrigin: { vertical: "bottom", horizontal: "left" },
3476
3573
  ...bindPopover2(selectionPopoverState)
3477
3574
  },
3478
- /* @__PURE__ */ React73.createElement(Stack20, null, /* @__PURE__ */ React73.createElement(Stack20, { direction: "row", alignItems: "center", pl: 1.5, pr: 0.5, py: 1.5 }, /* @__PURE__ */ React73.createElement(DatabaseIcon2, { fontSize: SIZE4, sx: { mr: 0.5 } }), /* @__PURE__ */ React73.createElement(Typography5, { variant: "subtitle2" }, __48("Dynamic tags", "elementor")), /* @__PURE__ */ React73.createElement(IconButton3, { size: SIZE4, sx: { ml: "auto" }, onClick: selectionPopoverState.close }, /* @__PURE__ */ React73.createElement(XIcon2, { fontSize: SIZE4 }))), /* @__PURE__ */ React73.createElement(DynamicSelection, { onSelect: selectionPopoverState.close }))
3575
+ /* @__PURE__ */ React74.createElement(Stack20, null, /* @__PURE__ */ React74.createElement(Stack20, { direction: "row", alignItems: "center", pl: 1.5, pr: 0.5, py: 1.5 }, /* @__PURE__ */ React74.createElement(DatabaseIcon2, { fontSize: SIZE4, sx: { mr: 0.5 } }), /* @__PURE__ */ React74.createElement(Typography5, { variant: "subtitle2" }, __48("Dynamic tags", "elementor")), /* @__PURE__ */ React74.createElement(IconButton4, { size: SIZE4, sx: { ml: "auto" }, onClick: selectionPopoverState.close }, /* @__PURE__ */ React74.createElement(XIcon2, { fontSize: SIZE4 }))), /* @__PURE__ */ React74.createElement(DynamicSelection, { onSelect: selectionPopoverState.close }))
3479
3576
  ));
3480
3577
  };
3481
3578
  var DynamicSettingsPopover = ({ dynamicTag }) => {
@@ -3484,7 +3581,7 @@ var DynamicSettingsPopover = ({ dynamicTag }) => {
3484
3581
  if (!hasDynamicSettings) {
3485
3582
  return null;
3486
3583
  }
3487
- return /* @__PURE__ */ React73.createElement(React73.Fragment, null, /* @__PURE__ */ React73.createElement(IconButton3, { size: SIZE4, ...bindTrigger2(popupState), "aria-label": __48("Settings", "elementor") }, /* @__PURE__ */ React73.createElement(SettingsIcon, { fontSize: SIZE4 })), /* @__PURE__ */ React73.createElement(
3584
+ return /* @__PURE__ */ React74.createElement(React74.Fragment, null, /* @__PURE__ */ React74.createElement(IconButton4, { size: SIZE4, ...bindTrigger2(popupState), "aria-label": __48("Settings", "elementor") }, /* @__PURE__ */ React74.createElement(SettingsIcon, { fontSize: SIZE4 })), /* @__PURE__ */ React74.createElement(
3488
3585
  Popover2,
3489
3586
  {
3490
3587
  disablePortal: true,
@@ -3492,7 +3589,7 @@ var DynamicSettingsPopover = ({ dynamicTag }) => {
3492
3589
  anchorOrigin: { vertical: "bottom", horizontal: "center" },
3493
3590
  ...bindPopover2(popupState)
3494
3591
  },
3495
- /* @__PURE__ */ React73.createElement(Paper, { component: Stack20, sx: { minHeight: "300px", width: "220px" } }, /* @__PURE__ */ React73.createElement(Stack20, { direction: "row", alignItems: "center", px: 1.5, pt: 2, pb: 1 }, /* @__PURE__ */ React73.createElement(DatabaseIcon2, { fontSize: SIZE4, sx: { mr: 0.5 } }), /* @__PURE__ */ React73.createElement(Typography5, { variant: "subtitle2" }, dynamicTag.label), /* @__PURE__ */ React73.createElement(IconButton3, { sx: { ml: "auto" }, size: SIZE4, onClick: popupState.close }, /* @__PURE__ */ React73.createElement(XIcon2, { fontSize: SIZE4 }))), /* @__PURE__ */ React73.createElement(DynamicSettings, { controls: dynamicTag.atomic_controls }))
3592
+ /* @__PURE__ */ React74.createElement(Paper, { component: Stack20, sx: { minHeight: "300px", width: "220px" } }, /* @__PURE__ */ React74.createElement(Stack20, { direction: "row", alignItems: "center", px: 1.5, pt: 2, pb: 1 }, /* @__PURE__ */ React74.createElement(DatabaseIcon2, { fontSize: SIZE4, sx: { mr: 0.5 } }), /* @__PURE__ */ React74.createElement(Typography5, { variant: "subtitle2" }, dynamicTag.label), /* @__PURE__ */ React74.createElement(IconButton4, { sx: { ml: "auto" }, size: SIZE4, onClick: popupState.close }, /* @__PURE__ */ React74.createElement(XIcon2, { fontSize: SIZE4 }))), /* @__PURE__ */ React74.createElement(DynamicSettings, { controls: dynamicTag.atomic_controls }))
3496
3593
  ));
3497
3594
  };
3498
3595
  var DynamicSettings = ({ controls }) => {
@@ -3501,20 +3598,20 @@ var DynamicSettings = ({ controls }) => {
3501
3598
  if (!tabs.length) {
3502
3599
  return null;
3503
3600
  }
3504
- return /* @__PURE__ */ React73.createElement(React73.Fragment, null, /* @__PURE__ */ React73.createElement(Tabs2, { size: "small", variant: "fullWidth", ...getTabsProps() }, tabs.map(({ value }, index) => /* @__PURE__ */ React73.createElement(Tab2, { key: index, label: value.label, sx: { px: 1, py: 0.5 }, ...getTabProps(index) }))), /* @__PURE__ */ React73.createElement(Divider7, null), tabs.map(({ value }, index) => {
3505
- return /* @__PURE__ */ React73.createElement(TabPanel2, { key: index, sx: { flexGrow: 1, py: 0 }, ...getTabPanelProps(index) }, /* @__PURE__ */ React73.createElement(PopoverContent, { p: 2, gap: 2 }, value.items.map((item) => {
3601
+ return /* @__PURE__ */ React74.createElement(React74.Fragment, null, /* @__PURE__ */ React74.createElement(Tabs2, { size: "small", variant: "fullWidth", ...getTabsProps() }, tabs.map(({ value }, index) => /* @__PURE__ */ React74.createElement(Tab2, { key: index, label: value.label, sx: { px: 1, py: 0.5 }, ...getTabProps(index) }))), /* @__PURE__ */ React74.createElement(Divider8, null), tabs.map(({ value }, index) => {
3602
+ return /* @__PURE__ */ React74.createElement(TabPanel2, { key: index, sx: { flexGrow: 1, py: 0 }, ...getTabPanelProps(index) }, /* @__PURE__ */ React74.createElement(PopoverContent, { p: 2, gap: 2 }, value.items.map((item) => {
3506
3603
  if (item.type === "control") {
3507
- return /* @__PURE__ */ React73.createElement(Control3, { key: item.value.bind, control: item.value });
3604
+ return /* @__PURE__ */ React74.createElement(Control3, { key: item.value.bind, control: item.value });
3508
3605
  }
3509
3606
  return null;
3510
3607
  })));
3511
3608
  }));
3512
3609
  };
3513
3610
  var Control3 = ({ control }) => {
3514
- if (!getControlByType(control.type)) {
3611
+ if (!getControl(control.type)) {
3515
3612
  return null;
3516
3613
  }
3517
- return /* @__PURE__ */ React73.createElement(DynamicControl, { bind: control.bind }, /* @__PURE__ */ React73.createElement(Grid27, { container: true, gap: 0.75 }, control.label ? /* @__PURE__ */ React73.createElement(Grid27, { item: true, xs: 12 }, /* @__PURE__ */ React73.createElement(ControlFormLabel5, null, control.label)) : null, /* @__PURE__ */ React73.createElement(Grid27, { item: true, xs: 12 }, /* @__PURE__ */ React73.createElement(Control, { type: control.type, props: control.props }))));
3614
+ return /* @__PURE__ */ React74.createElement(DynamicControl, { bind: control.bind }, /* @__PURE__ */ React74.createElement(Grid27, { container: true, gap: 0.75 }, control.label ? /* @__PURE__ */ React74.createElement(Grid27, { item: true, xs: 12 }, /* @__PURE__ */ React74.createElement(ControlFormLabel5, null, control.label)) : null, /* @__PURE__ */ React74.createElement(Grid27, { item: true, xs: 12 }, /* @__PURE__ */ React74.createElement(Control, { type: control.type, props: control.props }))));
3518
3615
  };
3519
3616
 
3520
3617
  // src/dynamics/dynamic-transformer.ts
@@ -3567,7 +3664,7 @@ function getDynamicValue(name, settings) {
3567
3664
  }
3568
3665
 
3569
3666
  // src/dynamics/hooks/use-prop-dynamic-action.tsx
3570
- import * as React74 from "react";
3667
+ import * as React75 from "react";
3571
3668
  import { useBoundProp as useBoundProp6 } from "@elementor/editor-controls";
3572
3669
  import { DatabaseIcon as DatabaseIcon3 } from "@elementor/icons";
3573
3670
  import { __ as __49 } from "@wordpress/i18n";
@@ -3578,7 +3675,7 @@ var usePropDynamicAction = () => {
3578
3675
  visible,
3579
3676
  icon: DatabaseIcon3,
3580
3677
  title: __49("Dynamic tags", "elementor"),
3581
- popoverContent: ({ closePopover }) => /* @__PURE__ */ React74.createElement(DynamicSelection, { onSelect: closePopover })
3678
+ popoverContent: ({ closePopover }) => /* @__PURE__ */ React75.createElement(DynamicSelection, { onSelect: closePopover })
3582
3679
  };
3583
3680
  };
3584
3681
 
@@ -3593,7 +3690,7 @@ var init = () => {
3593
3690
  id: "dynamic-tags",
3594
3691
  useProps: usePropDynamicAction
3595
3692
  });
3596
- styleTransformersRegistry.register("dynamic", dynamicTransformer);
3693
+ styleTransformersRegistry2.register("dynamic", dynamicTransformer);
3597
3694
  settingsTransformersRegistry.register("dynamic", dynamicTransformer);
3598
3695
  };
3599
3696