@elementor/editor-editing-panel 4.0.0-552 → 4.0.0-573

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
@@ -1695,7 +1695,7 @@ var hasInheritedCustomCss = (style, meta) => {
1695
1695
  };
1696
1696
 
1697
1697
  // src/components/editing-panel.tsx
1698
- import * as React82 from "react";
1698
+ import * as React81 from "react";
1699
1699
  import {
1700
1700
  ControlActionsProvider,
1701
1701
  ControlReplacementsProvider,
@@ -1709,7 +1709,7 @@ import { createLocation as createLocation4 } from "@elementor/locations";
1709
1709
  import { controlActionsMenu } from "@elementor/menus";
1710
1710
  import { SessionStorageProvider as SessionStorageProvider3 } from "@elementor/session";
1711
1711
  import { ErrorBoundary } from "@elementor/ui";
1712
- import { __ as __56 } from "@wordpress/i18n";
1712
+ import { __ as __55 } from "@wordpress/i18n";
1713
1713
 
1714
1714
  // src/editing-panel-replacement-registry.tsx
1715
1715
  var registry = /* @__PURE__ */ new Map();
@@ -1732,10 +1732,10 @@ function EditorPanelErrorFallback() {
1732
1732
 
1733
1733
  // src/components/editing-panel-tabs.tsx
1734
1734
  import { Fragment as Fragment9 } from "react";
1735
- import * as React81 from "react";
1735
+ import * as React80 from "react";
1736
1736
  import { isExperimentActive } from "@elementor/editor-v1-adapters";
1737
- import { Divider as Divider6, Stack as Stack14, Tab, TabPanel, Tabs, useTabs } from "@elementor/ui";
1738
- import { __ as __55 } from "@wordpress/i18n";
1737
+ import { Divider as Divider6, Stack as Stack13, Tab, TabPanel, Tabs, useTabs } from "@elementor/ui";
1738
+ import { __ as __54 } from "@wordpress/i18n";
1739
1739
 
1740
1740
  // src/contexts/scroll-context.tsx
1741
1741
  import * as React13 from "react";
@@ -1838,59 +1838,14 @@ var InteractionsTab = () => {
1838
1838
  };
1839
1839
 
1840
1840
  // src/components/settings-tab.tsx
1841
- import * as React23 from "react";
1841
+ import * as React22 from "react";
1842
1842
  import { SessionStorageProvider } from "@elementor/session";
1843
1843
 
1844
1844
  // src/components/section.tsx
1845
- import * as React17 from "react";
1846
- import { useId as useId2, useRef as useRef3 } from "react";
1847
- import { CollapseIcon as CollapseIcon2, SectionRefContext } from "@elementor/editor-ui";
1848
- import { Collapse as Collapse2, Divider as Divider2, ListItemButton, ListItemText, Stack as Stack5 } from "@elementor/ui";
1849
-
1850
- // src/components/collapsible-content.tsx
1851
1845
  import * as React16 from "react";
1852
- import { useState as useState7 } from "react";
1853
- import { CollapseIcon } from "@elementor/editor-ui";
1854
- import { Button, Collapse, Stack as Stack4, styled as styled4 } from "@elementor/ui";
1855
- import { __ as __7 } from "@wordpress/i18n";
1856
- var IndicatorsWrapper = styled4("div")`
1857
- position: absolute;
1858
- top: 0;
1859
- right: ${({ theme }) => theme.spacing(3)};
1860
- height: 100%;
1861
- display: flex;
1862
- flex-direction: column;
1863
- align-items: center;
1864
- justify-content: center;
1865
- `;
1866
- var CollapsibleContent = ({ children, defaultOpen = false, titleEnd = null }) => {
1867
- const [open, setOpen] = useState7(defaultOpen);
1868
- const handleToggle = () => {
1869
- setOpen((prevOpen) => !prevOpen);
1870
- };
1871
- return /* @__PURE__ */ React16.createElement(Stack4, null, /* @__PURE__ */ React16.createElement(Stack4, { sx: { position: "relative" } }, /* @__PURE__ */ React16.createElement(
1872
- Button,
1873
- {
1874
- fullWidth: true,
1875
- size: "small",
1876
- color: "secondary",
1877
- variant: "outlined",
1878
- onClick: handleToggle,
1879
- endIcon: /* @__PURE__ */ React16.createElement(CollapseIcon, { open }),
1880
- sx: { my: 0.5 },
1881
- "aria-label": open ? "Show less" : "Show more"
1882
- },
1883
- open ? __7("Show less", "elementor") : __7("Show more", "elementor")
1884
- ), titleEnd && /* @__PURE__ */ React16.createElement(IndicatorsWrapper, null, getCollapsibleValue(titleEnd, open))), /* @__PURE__ */ React16.createElement(Collapse, { in: open, timeout: "auto", unmountOnExit: true }, children));
1885
- };
1886
- function getCollapsibleValue(value, isOpen) {
1887
- if (typeof value === "function") {
1888
- return value(isOpen);
1889
- }
1890
- return value;
1891
- }
1892
-
1893
- // src/components/section.tsx
1846
+ import { useId as useId2, useRef as useRef3 } from "react";
1847
+ import { CollapseIcon, getCollapsibleValue, SectionRefContext } from "@elementor/editor-ui";
1848
+ import { Collapse, Divider as Divider2, ListItemButton, ListItemText, Stack as Stack4 } from "@elementor/ui";
1894
1849
  function Section({ title, children, defaultExpanded = false, titleEnd, unmountOnExit = true, action }) {
1895
1850
  const [isOpen, setIsOpen] = useStateByElement(title, !!defaultExpanded);
1896
1851
  const ref = useRef3(null);
@@ -1905,7 +1860,7 @@ function Section({ title, children, defaultExpanded = false, titleEnd, unmountOn
1905
1860
  const id = useId2();
1906
1861
  const labelId = `label-${id}`;
1907
1862
  const contentId = `content-${id}`;
1908
- return /* @__PURE__ */ React17.createElement(React17.Fragment, null, /* @__PURE__ */ React17.createElement(
1863
+ return /* @__PURE__ */ React16.createElement(React16.Fragment, null, /* @__PURE__ */ React16.createElement(
1909
1864
  ListItemButton,
1910
1865
  {
1911
1866
  id: labelId,
@@ -1914,7 +1869,7 @@ function Section({ title, children, defaultExpanded = false, titleEnd, unmountOn
1914
1869
  onClick: handleClick,
1915
1870
  sx: { "&:hover": { backgroundColor: "transparent" } }
1916
1871
  },
1917
- /* @__PURE__ */ React17.createElement(Stack5, { direction: "row", alignItems: "center", justifyItems: "start", flexGrow: 1, gap: 0.5 }, /* @__PURE__ */ React17.createElement(
1872
+ /* @__PURE__ */ React16.createElement(Stack4, { direction: "row", alignItems: "center", justifyItems: "start", flexGrow: 1, gap: 0.5 }, /* @__PURE__ */ React16.createElement(
1918
1873
  ListItemText,
1919
1874
  {
1920
1875
  secondary: title,
@@ -1923,8 +1878,8 @@ function Section({ title, children, defaultExpanded = false, titleEnd, unmountOn
1923
1878
  }
1924
1879
  ), getCollapsibleValue(titleEnd, isOpen)),
1925
1880
  action?.component,
1926
- /* @__PURE__ */ React17.createElement(
1927
- CollapseIcon2,
1881
+ /* @__PURE__ */ React16.createElement(
1882
+ CollapseIcon,
1928
1883
  {
1929
1884
  open: isOpen,
1930
1885
  color: "secondary",
@@ -1933,8 +1888,8 @@ function Section({ title, children, defaultExpanded = false, titleEnd, unmountOn
1933
1888
  sx: { ml: 1 }
1934
1889
  }
1935
1890
  )
1936
- ), /* @__PURE__ */ React17.createElement(
1937
- Collapse2,
1891
+ ), /* @__PURE__ */ React16.createElement(
1892
+ Collapse,
1938
1893
  {
1939
1894
  id: contentId,
1940
1895
  "aria-labelledby": labelId,
@@ -1942,22 +1897,23 @@ function Section({ title, children, defaultExpanded = false, titleEnd, unmountOn
1942
1897
  timeout: "auto",
1943
1898
  unmountOnExit
1944
1899
  },
1945
- /* @__PURE__ */ React17.createElement(SectionRefContext.Provider, { value: ref }, /* @__PURE__ */ React17.createElement(Stack5, { ref, gap: 2.5, p: 2, "aria-label": `${title} section content` }, children))
1946
- ), /* @__PURE__ */ React17.createElement(Divider2, null));
1900
+ /* @__PURE__ */ React16.createElement(SectionRefContext.Provider, { value: ref }, /* @__PURE__ */ React16.createElement(Stack4, { ref, gap: 2.5, p: 2, "aria-label": `${title} section content` }, children))
1901
+ ), /* @__PURE__ */ React16.createElement(Divider2, null));
1947
1902
  }
1948
1903
 
1949
1904
  // src/components/settings-control.tsx
1950
- import * as React22 from "react";
1905
+ import * as React21 from "react";
1951
1906
  import { ControlAdornmentsProvider } from "@elementor/editor-controls";
1952
- import { Divider as Divider3, styled as styled6 } from "@elementor/ui";
1907
+ import { Divider as Divider3, styled as styled5 } from "@elementor/ui";
1953
1908
 
1954
1909
  // src/controls-registry/control.tsx
1955
- import * as React18 from "react";
1910
+ import * as React17 from "react";
1956
1911
 
1957
1912
  // src/controls-registry/controls-registry.tsx
1958
1913
  import {
1959
1914
  ChipsControl,
1960
1915
  DateTimeControl,
1916
+ EmailFormActionControl,
1961
1917
  HtmlTagControl,
1962
1918
  ImageControl,
1963
1919
  InlineEditingControl,
@@ -1978,7 +1934,8 @@ import {
1978
1934
  import {
1979
1935
  booleanPropTypeUtil,
1980
1936
  DateTimePropTypeUtil,
1981
- htmlPropTypeUtil,
1937
+ emailPropTypeUtil,
1938
+ htmlV2PropTypeUtil,
1982
1939
  imagePropTypeUtil,
1983
1940
  imageSrcPropTypeUtil,
1984
1941
  keyValuePropTypeUtil,
@@ -2007,7 +1964,8 @@ var controlTypes = {
2007
1964
  "html-tag": { component: HtmlTagControl, layout: "two-columns", propTypeUtil: stringPropTypeUtil2 },
2008
1965
  toggle: { component: ToggleControl, layout: "full", propTypeUtil: stringPropTypeUtil2 },
2009
1966
  "date-time": { component: DateTimeControl, layout: "full", propTypeUtil: DateTimePropTypeUtil },
2010
- "inline-editing": { component: InlineEditingControl, layout: "full", propTypeUtil: htmlPropTypeUtil }
1967
+ "inline-editing": { component: InlineEditingControl, layout: "full", propTypeUtil: htmlV2PropTypeUtil },
1968
+ email: { component: EmailFormActionControl, layout: "custom", propTypeUtil: emailPropTypeUtil }
2011
1969
  };
2012
1970
  var ControlsRegistry = class {
2013
1971
  constructor(controlsRegistry2) {
@@ -2050,19 +2008,19 @@ var Control = ({ props, type }) => {
2050
2008
  context: { controlType: type }
2051
2009
  });
2052
2010
  }
2053
- return /* @__PURE__ */ React18.createElement(ControlByType, { ...props, context: { elementId: element.id } });
2011
+ return /* @__PURE__ */ React17.createElement(ControlByType, { ...props, context: { elementId: element.id } });
2054
2012
  };
2055
2013
 
2056
2014
  // src/controls-registry/control-type-container.tsx
2057
- import * as React19 from "react";
2058
- import { Box as Box4, styled as styled5 } from "@elementor/ui";
2015
+ import * as React18 from "react";
2016
+ import { Box as Box4, styled as styled4 } from "@elementor/ui";
2059
2017
  var ControlTypeContainer = ({ children, layout }) => {
2060
2018
  if (layout === "custom") {
2061
2019
  return children;
2062
2020
  }
2063
- return /* @__PURE__ */ React19.createElement(StyledContainer, { layout }, children);
2021
+ return /* @__PURE__ */ React18.createElement(StyledContainer, { layout }, children);
2064
2022
  };
2065
- var StyledContainer = styled5(Box4, {
2023
+ var StyledContainer = styled4(Box4, {
2066
2024
  shouldForwardProp: (prop) => !["layout"].includes(prop)
2067
2025
  })(({ layout, theme }) => ({
2068
2026
  display: "grid",
@@ -2088,7 +2046,7 @@ var getStyleByLayout = (layout) => {
2088
2046
  };
2089
2047
 
2090
2048
  // src/controls-registry/settings-field.tsx
2091
- import * as React20 from "react";
2049
+ import * as React19 from "react";
2092
2050
  import { useMemo as useMemo7 } from "react";
2093
2051
  import { PropKeyProvider, PropProvider } from "@elementor/editor-controls";
2094
2052
  import { setDocumentModifiedStatus as setDocumentModifiedStatus2 } from "@elementor/editor-documents";
@@ -2099,10 +2057,11 @@ import {
2099
2057
  useElementSettings
2100
2058
  } from "@elementor/editor-elements";
2101
2059
  import {
2060
+ isDependency,
2102
2061
  isDependencyMet as isDependencyMet2
2103
2062
  } from "@elementor/editor-props";
2104
2063
  import { undoable as undoable4 } from "@elementor/editor-v1-adapters";
2105
- import { __ as __8 } from "@wordpress/i18n";
2064
+ import { __ as __7 } from "@wordpress/i18n";
2106
2065
 
2107
2066
  // src/utils/prop-dependency-utils.ts
2108
2067
  import {
@@ -2208,7 +2167,10 @@ function updateValue(path, value, values) {
2208
2167
  }
2209
2168
  function handleUnmetCondition(props) {
2210
2169
  const { failingDependencies, dependency, elementValues, defaultValue, elementId } = props;
2211
- const newValue = failingDependencies.find((term) => term.newValue)?.newValue ?? null;
2170
+ const termWithNewValue = failingDependencies.find(
2171
+ (term) => "newValue" in term && !!term.newValue
2172
+ );
2173
+ const newValue = termWithNewValue?.newValue ?? null;
2212
2174
  const currentValue = extractValue(dependency.split("."), elementValues) ?? defaultValue;
2213
2175
  savePreviousValueToStorage({
2214
2176
  path: dependency,
@@ -2275,7 +2237,13 @@ var SettingsField = ({ bind, children, propDisplayName }) => {
2275
2237
  }
2276
2238
  };
2277
2239
  const isDisabled = (prop) => !isDependencyMet2(prop?.dependencies, elementSettingValues).isMet;
2278
- return /* @__PURE__ */ React20.createElement(PropProvider, { propType, value, setValue, isDisabled }, /* @__PURE__ */ React20.createElement(PropKeyProvider, { bind }, children));
2240
+ const propTypeToBind = propsSchema[bind];
2241
+ const dependenciesResult = isDependencyMet2(propTypeToBind?.dependencies, elementSettingValues);
2242
+ const shouldHide = !dependenciesResult.isMet && !isDependency(dependenciesResult.failingDependencies[0]) && dependenciesResult.failingDependencies[0]?.effect === "hide";
2243
+ if (shouldHide) {
2244
+ return null;
2245
+ }
2246
+ return /* @__PURE__ */ React19.createElement(PropProvider, { propType, value, setValue, isDisabled }, /* @__PURE__ */ React19.createElement(PropKeyProvider, { bind }, children));
2279
2247
  };
2280
2248
  function useUndoableUpdateElementProp({
2281
2249
  elementId,
@@ -2297,7 +2265,7 @@ function useUndoableUpdateElementProp({
2297
2265
  {
2298
2266
  title: getElementLabel3(elementId),
2299
2267
  // translators: %s is the name of the property that was edited.
2300
- subtitle: __8("%s edited", "elementor").replace("%s", propDisplayName),
2268
+ subtitle: __7("%s edited", "elementor").replace("%s", propDisplayName),
2301
2269
  debounce: { wait: HISTORY_DEBOUNCE_WAIT2 }
2302
2270
  }
2303
2271
  );
@@ -2325,15 +2293,15 @@ var registerFieldIndicator = ({
2325
2293
  var getFieldIndicators = (fieldType) => Array.from(indicatorsRegistry[fieldType].values()).sort((a, b) => a.priority - b.priority).map(({ id, indicator: Adornment }) => ({ id, Adornment }));
2326
2294
 
2327
2295
  // src/components/control-label.tsx
2328
- import * as React21 from "react";
2296
+ import * as React20 from "react";
2329
2297
  import { ControlAdornments, ControlFormLabel } from "@elementor/editor-controls";
2330
- import { Stack as Stack6 } from "@elementor/ui";
2298
+ import { Stack as Stack5 } from "@elementor/ui";
2331
2299
  var ControlLabel = ({ children }) => {
2332
- return /* @__PURE__ */ React21.createElement(Stack6, { direction: "row", alignItems: "center", justifyItems: "start", gap: 0.25 }, /* @__PURE__ */ React21.createElement(ControlFormLabel, null, children), /* @__PURE__ */ React21.createElement(ControlAdornments, null));
2300
+ return /* @__PURE__ */ React20.createElement(Stack5, { direction: "row", alignItems: "center", justifyItems: "start", gap: 0.25 }, /* @__PURE__ */ React20.createElement(ControlFormLabel, null, children), /* @__PURE__ */ React20.createElement(ControlAdornments, null));
2333
2301
  };
2334
2302
 
2335
2303
  // src/components/settings-control.tsx
2336
- var Wrapper = styled6("span")`
2304
+ var Wrapper = styled5("span")`
2337
2305
  display: contents;
2338
2306
  `;
2339
2307
  var SettingsControl = ({ control: { value, type } }) => {
@@ -2346,9 +2314,9 @@ var SettingsControl = ({ control: { value, type } }) => {
2346
2314
  controlProps.label = value.label;
2347
2315
  }
2348
2316
  if (type === "element-control") {
2349
- return /* @__PURE__ */ React22.createElement(ControlLayout, { control: value, layout, controlProps });
2317
+ return /* @__PURE__ */ React21.createElement(ControlLayout, { control: value, layout, controlProps });
2350
2318
  }
2351
- return /* @__PURE__ */ React22.createElement(SettingsField, { bind: value.bind, propDisplayName: value.label || value.bind }, /* @__PURE__ */ React22.createElement(ControlLayout, { control: value, layout, controlProps }));
2319
+ return /* @__PURE__ */ React21.createElement(SettingsField, { bind: value.bind, propDisplayName: value.label || value.bind }, /* @__PURE__ */ React21.createElement(ControlLayout, { control: value, layout, controlProps }));
2352
2320
  };
2353
2321
  var ControlLayout = ({
2354
2322
  control,
@@ -2356,7 +2324,7 @@ var ControlLayout = ({
2356
2324
  controlProps
2357
2325
  }) => {
2358
2326
  const controlType = control.type;
2359
- return /* @__PURE__ */ React22.createElement(ControlAdornmentsProvider, { items: getFieldIndicators("settings") }, control.meta?.topDivider && /* @__PURE__ */ React22.createElement(Divider3, null), /* @__PURE__ */ React22.createElement(Wrapper, { "data-type": "settings-field" }, /* @__PURE__ */ React22.createElement(ControlTypeContainer, { layout }, control.label && layout !== "custom" ? /* @__PURE__ */ React22.createElement(ControlLabel, null, control.label) : null, /* @__PURE__ */ React22.createElement(Control, { type: controlType, props: controlProps }))));
2327
+ return /* @__PURE__ */ React21.createElement(ControlAdornmentsProvider, { items: getFieldIndicators("settings") }, control.meta?.topDivider && /* @__PURE__ */ React21.createElement(Divider3, null), /* @__PURE__ */ React21.createElement(Wrapper, { "data-type": "settings-field" }, /* @__PURE__ */ React21.createElement(ControlTypeContainer, { layout }, control.label && layout !== "custom" ? /* @__PURE__ */ React21.createElement(ControlLabel, null, control.label) : null, /* @__PURE__ */ React21.createElement(Control, { type: controlType, props: controlProps }))));
2360
2328
  };
2361
2329
  function populateChildControlProps(props) {
2362
2330
  if (props.childControlType) {
@@ -2379,13 +2347,13 @@ var SettingsTab = () => {
2379
2347
  const { elementType, element } = useElement();
2380
2348
  const settingsDefault = useDefaultPanelSettings();
2381
2349
  const isDefaultExpanded = (sectionId) => settingsDefault.defaultSectionsExpanded.settings?.includes(sectionId);
2382
- return /* @__PURE__ */ React23.createElement(SessionStorageProvider, { prefix: element.id }, /* @__PURE__ */ React23.createElement(SectionsList, null, elementType.controls.map((control, index) => {
2350
+ return /* @__PURE__ */ React22.createElement(SessionStorageProvider, { prefix: element.id }, /* @__PURE__ */ React22.createElement(SectionsList, null, elementType.controls.map((control, index) => {
2383
2351
  if (isControl(control)) {
2384
- return /* @__PURE__ */ React23.createElement(SettingsControl, { key: getKey(control, element), control });
2352
+ return /* @__PURE__ */ React22.createElement(SettingsControl, { key: getKey(control, element), control });
2385
2353
  }
2386
2354
  const { type, value } = control;
2387
2355
  if (type === "section") {
2388
- return /* @__PURE__ */ React23.createElement(
2356
+ return /* @__PURE__ */ React22.createElement(
2389
2357
  Section,
2390
2358
  {
2391
2359
  title: value.label,
@@ -2394,7 +2362,7 @@ var SettingsTab = () => {
2394
2362
  },
2395
2363
  value.items?.map((item) => {
2396
2364
  if (isControl(item)) {
2397
- return /* @__PURE__ */ React23.createElement(SettingsControl, { key: getKey(item, element), control: item });
2365
+ return /* @__PURE__ */ React22.createElement(SettingsControl, { key: getKey(item, element), control: item });
2398
2366
  }
2399
2367
  return null;
2400
2368
  })
@@ -2414,17 +2382,17 @@ function isControl(control) {
2414
2382
  }
2415
2383
 
2416
2384
  // src/components/style-tab.tsx
2417
- import * as React80 from "react";
2418
- import { useState as useState10 } from "react";
2385
+ import * as React79 from "react";
2386
+ import { useState as useState9 } from "react";
2419
2387
  import { CLASSES_PROP_KEY } from "@elementor/editor-props";
2420
2388
  import { useActiveBreakpoint } from "@elementor/editor-responsive";
2421
2389
  import { createLocation as createLocation3 } from "@elementor/locations";
2422
2390
  import { SessionStorageProvider as SessionStorageProvider2 } from "@elementor/session";
2423
- import { Box as Box5, Divider as Divider5, Stack as Stack13 } from "@elementor/ui";
2424
- import { __ as __54 } from "@wordpress/i18n";
2391
+ import { Box as Box5, Divider as Divider5, Stack as Stack12 } from "@elementor/ui";
2392
+ import { __ as __53 } from "@wordpress/i18n";
2425
2393
 
2426
2394
  // src/contexts/styles-inheritance-context.tsx
2427
- import * as React24 from "react";
2395
+ import * as React23 from "react";
2428
2396
  import { createContext as createContext7, useContext as useContext7 } from "react";
2429
2397
  import { getWidgetsCache, useElementSetting as useElementSetting2 } from "@elementor/editor-elements";
2430
2398
  import { classesPropTypeUtil as classesPropTypeUtil3 } from "@elementor/editor-props";
@@ -2665,7 +2633,7 @@ function StyleInheritanceProvider({ children }) {
2665
2633
  const styleDefs = useAppliedStyles();
2666
2634
  const breakpointsTree = getBreakpointsTree2();
2667
2635
  const { getSnapshot, getInheritanceChain } = createStylesInheritance(styleDefs, breakpointsTree);
2668
- return /* @__PURE__ */ React24.createElement(Context4.Provider, { value: { getSnapshot, getInheritanceChain } }, children);
2636
+ return /* @__PURE__ */ React23.createElement(Context4.Provider, { value: { getSnapshot, getInheritanceChain } }, children);
2669
2637
  }
2670
2638
  function useStylesInheritanceSnapshot() {
2671
2639
  const context = useContext7(Context4);
@@ -2734,12 +2702,12 @@ function useActiveAndAppliedClassId(id, appliedClassesIds) {
2734
2702
  }
2735
2703
 
2736
2704
  // src/components/style-sections/background-section/background-section.tsx
2737
- import * as React27 from "react";
2705
+ import * as React26 from "react";
2738
2706
  import { BackgroundControl } from "@elementor/editor-controls";
2739
- import { __ as __9 } from "@wordpress/i18n";
2707
+ import { __ as __8 } from "@wordpress/i18n";
2740
2708
 
2741
2709
  // src/controls-registry/styles-field.tsx
2742
- import * as React25 from "react";
2710
+ import * as React24 from "react";
2743
2711
  import { ControlAdornmentsProvider as ControlAdornmentsProvider2, PropKeyProvider as PropKeyProvider2, PropProvider as PropProvider2 } from "@elementor/editor-controls";
2744
2712
  import { getStylesSchema as getStylesSchema2 } from "@elementor/editor-styles";
2745
2713
 
@@ -2755,7 +2723,7 @@ function useStylesField(propName, meta) {
2755
2723
 
2756
2724
  // src/controls-registry/conditional-field.tsx
2757
2725
  import { useBoundProp } from "@elementor/editor-controls";
2758
- import { isDependency, isDependencyMet as isDependencyMet3 } from "@elementor/editor-props";
2726
+ import { isDependency as isDependency2, isDependencyMet as isDependencyMet3 } from "@elementor/editor-props";
2759
2727
  var ConditionalField = ({ children }) => {
2760
2728
  const { propType } = useBoundProp();
2761
2729
  const depList = getDependencies(propType);
@@ -2767,7 +2735,7 @@ function getDependencies(propType) {
2767
2735
  if (!propType?.dependencies?.terms.length) {
2768
2736
  return [];
2769
2737
  }
2770
- return propType.dependencies.terms.flatMap((term) => !isDependency(term) ? term.path : []);
2738
+ return propType.dependencies.terms.flatMap((term) => !isDependency2(term) ? term.path : []);
2771
2739
  }
2772
2740
 
2773
2741
  // src/controls-registry/styles-field.tsx
@@ -2783,7 +2751,7 @@ var StylesField = ({ bind, propDisplayName, children }) => {
2783
2751
  const setValue = (newValue) => {
2784
2752
  fields.setValue(newValue[bind]);
2785
2753
  };
2786
- return /* @__PURE__ */ React25.createElement(ControlAdornmentsProvider2, { items: getFieldIndicators("styles") }, /* @__PURE__ */ React25.createElement(
2754
+ return /* @__PURE__ */ React24.createElement(ControlAdornmentsProvider2, { items: getFieldIndicators("styles") }, /* @__PURE__ */ React24.createElement(
2787
2755
  PropProvider2,
2788
2756
  {
2789
2757
  propType,
@@ -2792,40 +2760,40 @@ var StylesField = ({ bind, propDisplayName, children }) => {
2792
2760
  placeholder: placeholderValues,
2793
2761
  isDisabled: () => !canEdit
2794
2762
  },
2795
- /* @__PURE__ */ React25.createElement(PropKeyProvider2, { bind }, /* @__PURE__ */ React25.createElement(ConditionalField, null, children))
2763
+ /* @__PURE__ */ React24.createElement(PropKeyProvider2, { bind }, /* @__PURE__ */ React24.createElement(ConditionalField, null, children))
2796
2764
  ));
2797
2765
  };
2798
2766
 
2799
2767
  // src/components/section-content.tsx
2800
- import * as React26 from "react";
2801
- import { Stack as Stack7 } from "@elementor/ui";
2802
- var SectionContent = ({ gap = 2, sx, children, "aria-label": ariaLabel }) => /* @__PURE__ */ React26.createElement(Stack7, { gap, sx: { ...sx }, "aria-label": ariaLabel }, children);
2768
+ import * as React25 from "react";
2769
+ import { Stack as Stack6 } from "@elementor/ui";
2770
+ var SectionContent = ({ gap = 2, sx, children, "aria-label": ariaLabel }) => /* @__PURE__ */ React25.createElement(Stack6, { gap, sx: { ...sx }, "aria-label": ariaLabel }, children);
2803
2771
 
2804
2772
  // src/components/style-sections/background-section/background-section.tsx
2805
- var BACKGROUND_LABEL = __9("Background", "elementor");
2773
+ var BACKGROUND_LABEL = __8("Background", "elementor");
2806
2774
  var BackgroundSection = () => {
2807
- return /* @__PURE__ */ React27.createElement(SectionContent, null, /* @__PURE__ */ React27.createElement(StylesField, { bind: "background", propDisplayName: BACKGROUND_LABEL }, /* @__PURE__ */ React27.createElement(BackgroundControl, null)));
2775
+ return /* @__PURE__ */ React26.createElement(SectionContent, null, /* @__PURE__ */ React26.createElement(StylesField, { bind: "background", propDisplayName: BACKGROUND_LABEL }, /* @__PURE__ */ React26.createElement(BackgroundControl, null)));
2808
2776
  };
2809
2777
 
2810
2778
  // src/components/style-sections/border-section/border-section.tsx
2811
- import * as React34 from "react";
2779
+ import * as React33 from "react";
2812
2780
 
2813
2781
  // src/components/style-sections/border-section/border-color-field.tsx
2814
- import * as React29 from "react";
2782
+ import * as React28 from "react";
2815
2783
  import { ColorControl } from "@elementor/editor-controls";
2816
- import { __ as __10 } from "@wordpress/i18n";
2784
+ import { __ as __9 } from "@wordpress/i18n";
2817
2785
 
2818
2786
  // src/components/styles-field-layout.tsx
2819
- import * as React28 from "react";
2820
- import { Grid, Stack as Stack8 } from "@elementor/ui";
2821
- var StylesFieldLayout = React28.forwardRef((props, ref) => {
2787
+ import * as React27 from "react";
2788
+ import { Grid, Stack as Stack7 } from "@elementor/ui";
2789
+ var StylesFieldLayout = React27.forwardRef((props, ref) => {
2822
2790
  const { direction = "row", children, label } = props;
2823
2791
  const LayoutComponent = direction === "row" ? Row : Column;
2824
- return /* @__PURE__ */ React28.createElement(LayoutComponent, { label, ref, children });
2792
+ return /* @__PURE__ */ React27.createElement(LayoutComponent, { label, ref, children });
2825
2793
  });
2826
- var Row = React28.forwardRef(
2794
+ var Row = React27.forwardRef(
2827
2795
  ({ label, children }, ref) => {
2828
- return /* @__PURE__ */ React28.createElement(
2796
+ return /* @__PURE__ */ React27.createElement(
2829
2797
  Grid,
2830
2798
  {
2831
2799
  container: true,
@@ -2835,8 +2803,8 @@ var Row = React28.forwardRef(
2835
2803
  ref,
2836
2804
  "aria-label": `${label} control`
2837
2805
  },
2838
- /* @__PURE__ */ React28.createElement(Grid, { item: true, xs: 6 }, /* @__PURE__ */ React28.createElement(ControlLabel, null, label)),
2839
- /* @__PURE__ */ React28.createElement(
2806
+ /* @__PURE__ */ React27.createElement(Grid, { item: true, xs: 6 }, /* @__PURE__ */ React27.createElement(ControlLabel, null, label)),
2807
+ /* @__PURE__ */ React27.createElement(
2840
2808
  Grid,
2841
2809
  {
2842
2810
  item: true,
@@ -2850,18 +2818,18 @@ var Row = React28.forwardRef(
2850
2818
  );
2851
2819
  }
2852
2820
  );
2853
- var Column = React28.forwardRef(
2821
+ var Column = React27.forwardRef(
2854
2822
  ({ label, children }, ref) => {
2855
- return /* @__PURE__ */ React28.createElement(Stack8, { gap: 0.75, ref }, /* @__PURE__ */ React28.createElement(ControlLabel, null, label), children);
2823
+ return /* @__PURE__ */ React27.createElement(Stack7, { gap: 0.75, ref }, /* @__PURE__ */ React27.createElement(ControlLabel, null, label), children);
2856
2824
  }
2857
2825
  );
2858
2826
 
2859
2827
  // src/components/style-sections/border-section/border-color-field.tsx
2860
- var BORDER_COLOR_LABEL = __10("Border color", "elementor");
2861
- var BorderColorField = () => /* @__PURE__ */ React29.createElement(StylesField, { bind: "border-color", propDisplayName: BORDER_COLOR_LABEL }, /* @__PURE__ */ React29.createElement(StylesFieldLayout, { label: BORDER_COLOR_LABEL }, /* @__PURE__ */ React29.createElement(ColorControl, null)));
2828
+ var BORDER_COLOR_LABEL = __9("Border color", "elementor");
2829
+ var BorderColorField = () => /* @__PURE__ */ React28.createElement(StylesField, { bind: "border-color", propDisplayName: BORDER_COLOR_LABEL }, /* @__PURE__ */ React28.createElement(StylesFieldLayout, { label: BORDER_COLOR_LABEL }, /* @__PURE__ */ React28.createElement(ColorControl, null)));
2862
2830
 
2863
2831
  // src/components/style-sections/border-section/border-radius-field.tsx
2864
- import * as React31 from "react";
2832
+ import * as React30 from "react";
2865
2833
  import { EqualUnequalSizesControl } from "@elementor/editor-controls";
2866
2834
  import { borderRadiusPropTypeUtil } from "@elementor/editor-props";
2867
2835
  import {
@@ -2872,7 +2840,7 @@ import {
2872
2840
  RadiusTopRightIcon
2873
2841
  } from "@elementor/icons";
2874
2842
  import { withDirection } from "@elementor/ui";
2875
- import { __ as __11 } from "@wordpress/i18n";
2843
+ import { __ as __10 } from "@wordpress/i18n";
2876
2844
 
2877
2845
  // src/hooks/use-direction.ts
2878
2846
  import { getElementorFrontendConfig } from "@elementor/editor-v1-adapters";
@@ -2884,140 +2852,140 @@ function useDirection() {
2884
2852
  }
2885
2853
 
2886
2854
  // src/styles-inheritance/components/ui-providers.tsx
2887
- import * as React30 from "react";
2855
+ import * as React29 from "react";
2888
2856
  import { DirectionProvider, ThemeProvider as ThemeProvider2 } from "@elementor/ui";
2889
2857
  var UiProviders = ({ children }) => {
2890
2858
  const { isSiteRtl } = useDirection();
2891
- return /* @__PURE__ */ React30.createElement(DirectionProvider, { rtl: isSiteRtl }, /* @__PURE__ */ React30.createElement(ThemeProvider2, null, children));
2859
+ return /* @__PURE__ */ React29.createElement(DirectionProvider, { rtl: isSiteRtl }, /* @__PURE__ */ React29.createElement(ThemeProvider2, null, children));
2892
2860
  };
2893
2861
 
2894
2862
  // src/components/style-sections/border-section/border-radius-field.tsx
2895
- var BORDER_RADIUS_LABEL = __11("Border radius", "elementor");
2863
+ var BORDER_RADIUS_LABEL = __10("Border radius", "elementor");
2896
2864
  var StartStartIcon = withDirection(RadiusTopLeftIcon);
2897
2865
  var StartEndIcon = withDirection(RadiusTopRightIcon);
2898
2866
  var EndStartIcon = withDirection(RadiusBottomLeftIcon);
2899
2867
  var EndEndIcon = withDirection(RadiusBottomRightIcon);
2900
- var getStartStartLabel = (isSiteRtl) => isSiteRtl ? __11("Top right", "elementor") : __11("Top left", "elementor");
2901
- var getStartStartAriaLabel = (isSiteRtl) => isSiteRtl ? __11("Border top right radius", "elementor") : __11("Border top left radius", "elementor");
2902
- var getStartEndLabel = (isSiteRtl) => isSiteRtl ? __11("Top left", "elementor") : __11("Top right", "elementor");
2903
- var getStartEndAriaLabel = (isSiteRtl) => isSiteRtl ? __11("Border top left radius", "elementor") : __11("Border top right radius", "elementor");
2904
- var getEndStartLabel = (isSiteRtl) => isSiteRtl ? __11("Bottom right", "elementor") : __11("Bottom left", "elementor");
2905
- var getEndStartAriaLabel = (isSiteRtl) => isSiteRtl ? __11("Border bottom right radius", "elementor") : __11("Border bottom left radius", "elementor");
2906
- var getEndEndLabel = (isSiteRtl) => isSiteRtl ? __11("Bottom left", "elementor") : __11("Bottom right", "elementor");
2907
- var getEndEndAriaLabel = (isSiteRtl) => isSiteRtl ? __11("Border bottom left radius", "elementor") : __11("Border bottom right radius", "elementor");
2868
+ var getStartStartLabel = (isSiteRtl) => isSiteRtl ? __10("Top right", "elementor") : __10("Top left", "elementor");
2869
+ var getStartStartAriaLabel = (isSiteRtl) => isSiteRtl ? __10("Border top right radius", "elementor") : __10("Border top left radius", "elementor");
2870
+ var getStartEndLabel = (isSiteRtl) => isSiteRtl ? __10("Top left", "elementor") : __10("Top right", "elementor");
2871
+ var getStartEndAriaLabel = (isSiteRtl) => isSiteRtl ? __10("Border top left radius", "elementor") : __10("Border top right radius", "elementor");
2872
+ var getEndStartLabel = (isSiteRtl) => isSiteRtl ? __10("Bottom right", "elementor") : __10("Bottom left", "elementor");
2873
+ var getEndStartAriaLabel = (isSiteRtl) => isSiteRtl ? __10("Border bottom right radius", "elementor") : __10("Border bottom left radius", "elementor");
2874
+ var getEndEndLabel = (isSiteRtl) => isSiteRtl ? __10("Bottom left", "elementor") : __10("Bottom right", "elementor");
2875
+ var getEndEndAriaLabel = (isSiteRtl) => isSiteRtl ? __10("Border bottom left radius", "elementor") : __10("Border bottom right radius", "elementor");
2908
2876
  var getCorners = (isSiteRtl) => [
2909
2877
  {
2910
2878
  label: getStartStartLabel(isSiteRtl),
2911
2879
  ariaLabel: getStartStartAriaLabel(isSiteRtl),
2912
- icon: /* @__PURE__ */ React31.createElement(StartStartIcon, { fontSize: "tiny" }),
2880
+ icon: /* @__PURE__ */ React30.createElement(StartStartIcon, { fontSize: "tiny" }),
2913
2881
  bind: "start-start"
2914
2882
  },
2915
2883
  {
2916
2884
  label: getStartEndLabel(isSiteRtl),
2917
2885
  ariaLabel: getStartEndAriaLabel(isSiteRtl),
2918
- icon: /* @__PURE__ */ React31.createElement(StartEndIcon, { fontSize: "tiny" }),
2886
+ icon: /* @__PURE__ */ React30.createElement(StartEndIcon, { fontSize: "tiny" }),
2919
2887
  bind: "start-end"
2920
2888
  },
2921
2889
  {
2922
2890
  label: getEndStartLabel(isSiteRtl),
2923
2891
  ariaLabel: getEndStartAriaLabel(isSiteRtl),
2924
- icon: /* @__PURE__ */ React31.createElement(EndStartIcon, { fontSize: "tiny" }),
2892
+ icon: /* @__PURE__ */ React30.createElement(EndStartIcon, { fontSize: "tiny" }),
2925
2893
  bind: "end-start"
2926
2894
  },
2927
2895
  {
2928
2896
  label: getEndEndLabel(isSiteRtl),
2929
2897
  ariaLabel: getEndEndAriaLabel(isSiteRtl),
2930
- icon: /* @__PURE__ */ React31.createElement(EndEndIcon, { fontSize: "tiny" }),
2898
+ icon: /* @__PURE__ */ React30.createElement(EndEndIcon, { fontSize: "tiny" }),
2931
2899
  bind: "end-end"
2932
2900
  }
2933
2901
  ];
2934
2902
  var BorderRadiusField = () => {
2935
2903
  const { isSiteRtl } = useDirection();
2936
- return /* @__PURE__ */ React31.createElement(UiProviders, null, /* @__PURE__ */ React31.createElement(StylesField, { bind: "border-radius", propDisplayName: BORDER_RADIUS_LABEL }, /* @__PURE__ */ React31.createElement(
2904
+ return /* @__PURE__ */ React30.createElement(UiProviders, null, /* @__PURE__ */ React30.createElement(StylesField, { bind: "border-radius", propDisplayName: BORDER_RADIUS_LABEL }, /* @__PURE__ */ React30.createElement(
2937
2905
  EqualUnequalSizesControl,
2938
2906
  {
2939
2907
  items: getCorners(isSiteRtl),
2940
2908
  label: BORDER_RADIUS_LABEL,
2941
- icon: /* @__PURE__ */ React31.createElement(BorderCornersIcon, { fontSize: "tiny" }),
2942
- tooltipLabel: __11("Adjust corners", "elementor"),
2909
+ icon: /* @__PURE__ */ React30.createElement(BorderCornersIcon, { fontSize: "tiny" }),
2910
+ tooltipLabel: __10("Adjust corners", "elementor"),
2943
2911
  multiSizePropTypeUtil: borderRadiusPropTypeUtil
2944
2912
  }
2945
2913
  )));
2946
2914
  };
2947
2915
 
2948
2916
  // src/components/style-sections/border-section/border-style-field.tsx
2949
- import * as React32 from "react";
2917
+ import * as React31 from "react";
2950
2918
  import { SelectControl } from "@elementor/editor-controls";
2951
- import { __ as __12 } from "@wordpress/i18n";
2952
- var BORDER_TYPE_LABEL = __12("Border type", "elementor");
2919
+ import { __ as __11 } from "@wordpress/i18n";
2920
+ var BORDER_TYPE_LABEL = __11("Border type", "elementor");
2953
2921
  var borderStyles = [
2954
- { value: "none", label: __12("None", "elementor") },
2955
- { value: "solid", label: __12("Solid", "elementor") },
2956
- { value: "dashed", label: __12("Dashed", "elementor") },
2957
- { value: "dotted", label: __12("Dotted", "elementor") },
2958
- { value: "double", label: __12("Double", "elementor") },
2959
- { value: "groove", label: __12("Groove", "elementor") },
2960
- { value: "ridge", label: __12("Ridge", "elementor") },
2961
- { value: "inset", label: __12("Inset", "elementor") },
2962
- { value: "outset", label: __12("Outset", "elementor") }
2922
+ { value: "none", label: __11("None", "elementor") },
2923
+ { value: "solid", label: __11("Solid", "elementor") },
2924
+ { value: "dashed", label: __11("Dashed", "elementor") },
2925
+ { value: "dotted", label: __11("Dotted", "elementor") },
2926
+ { value: "double", label: __11("Double", "elementor") },
2927
+ { value: "groove", label: __11("Groove", "elementor") },
2928
+ { value: "ridge", label: __11("Ridge", "elementor") },
2929
+ { value: "inset", label: __11("Inset", "elementor") },
2930
+ { value: "outset", label: __11("Outset", "elementor") }
2963
2931
  ];
2964
- var BorderStyleField = () => /* @__PURE__ */ React32.createElement(StylesField, { bind: "border-style", propDisplayName: BORDER_TYPE_LABEL }, /* @__PURE__ */ React32.createElement(StylesFieldLayout, { label: BORDER_TYPE_LABEL }, /* @__PURE__ */ React32.createElement(SelectControl, { options: borderStyles })));
2932
+ var BorderStyleField = () => /* @__PURE__ */ React31.createElement(StylesField, { bind: "border-style", propDisplayName: BORDER_TYPE_LABEL }, /* @__PURE__ */ React31.createElement(StylesFieldLayout, { label: BORDER_TYPE_LABEL }, /* @__PURE__ */ React31.createElement(SelectControl, { options: borderStyles })));
2965
2933
 
2966
2934
  // src/components/style-sections/border-section/border-width-field.tsx
2967
- import * as React33 from "react";
2935
+ import * as React32 from "react";
2968
2936
  import { EqualUnequalSizesControl as EqualUnequalSizesControl2 } from "@elementor/editor-controls";
2969
2937
  import { borderWidthPropTypeUtil } from "@elementor/editor-props";
2970
2938
  import { SideAllIcon, SideBottomIcon, SideLeftIcon, SideRightIcon, SideTopIcon } from "@elementor/icons";
2971
2939
  import { withDirection as withDirection2 } from "@elementor/ui";
2972
- import { __ as __13 } from "@wordpress/i18n";
2973
- var BORDER_WIDTH_LABEL = __13("Border width", "elementor");
2940
+ import { __ as __12 } from "@wordpress/i18n";
2941
+ var BORDER_WIDTH_LABEL = __12("Border width", "elementor");
2974
2942
  var InlineStartIcon = withDirection2(SideRightIcon);
2975
2943
  var InlineEndIcon = withDirection2(SideLeftIcon);
2976
2944
  var getEdges = (isSiteRtl) => [
2977
2945
  {
2978
- label: __13("Top", "elementor"),
2979
- ariaLabel: __13("Border top width", "elementor"),
2980
- icon: /* @__PURE__ */ React33.createElement(SideTopIcon, { fontSize: "tiny" }),
2946
+ label: __12("Top", "elementor"),
2947
+ ariaLabel: __12("Border top width", "elementor"),
2948
+ icon: /* @__PURE__ */ React32.createElement(SideTopIcon, { fontSize: "tiny" }),
2981
2949
  bind: "block-start"
2982
2950
  },
2983
2951
  {
2984
- label: isSiteRtl ? __13("Left", "elementor") : __13("Right", "elementor"),
2985
- ariaLabel: isSiteRtl ? __13("Border left width", "elementor") : __13("Border right width", "elementor"),
2986
- icon: /* @__PURE__ */ React33.createElement(InlineStartIcon, { fontSize: "tiny" }),
2952
+ label: isSiteRtl ? __12("Left", "elementor") : __12("Right", "elementor"),
2953
+ ariaLabel: isSiteRtl ? __12("Border left width", "elementor") : __12("Border right width", "elementor"),
2954
+ icon: /* @__PURE__ */ React32.createElement(InlineStartIcon, { fontSize: "tiny" }),
2987
2955
  bind: "inline-end"
2988
2956
  },
2989
2957
  {
2990
- label: __13("Bottom", "elementor"),
2991
- ariaLabel: __13("Border bottom width", "elementor"),
2992
- icon: /* @__PURE__ */ React33.createElement(SideBottomIcon, { fontSize: "tiny" }),
2958
+ label: __12("Bottom", "elementor"),
2959
+ ariaLabel: __12("Border bottom width", "elementor"),
2960
+ icon: /* @__PURE__ */ React32.createElement(SideBottomIcon, { fontSize: "tiny" }),
2993
2961
  bind: "block-end"
2994
2962
  },
2995
2963
  {
2996
- label: isSiteRtl ? __13("Right", "elementor") : __13("Left", "elementor"),
2997
- ariaLabel: isSiteRtl ? __13("Border right width", "elementor") : __13("Border left width", "elementor"),
2998
- icon: /* @__PURE__ */ React33.createElement(InlineEndIcon, { fontSize: "tiny" }),
2964
+ label: isSiteRtl ? __12("Right", "elementor") : __12("Left", "elementor"),
2965
+ ariaLabel: isSiteRtl ? __12("Border right width", "elementor") : __12("Border left width", "elementor"),
2966
+ icon: /* @__PURE__ */ React32.createElement(InlineEndIcon, { fontSize: "tiny" }),
2999
2967
  bind: "inline-start"
3000
2968
  }
3001
2969
  ];
3002
2970
  var BorderWidthField = () => {
3003
2971
  const { isSiteRtl } = useDirection();
3004
- return /* @__PURE__ */ React33.createElement(StylesField, { bind: "border-width", propDisplayName: BORDER_WIDTH_LABEL }, /* @__PURE__ */ React33.createElement(
2972
+ return /* @__PURE__ */ React32.createElement(StylesField, { bind: "border-width", propDisplayName: BORDER_WIDTH_LABEL }, /* @__PURE__ */ React32.createElement(
3005
2973
  EqualUnequalSizesControl2,
3006
2974
  {
3007
2975
  items: getEdges(isSiteRtl),
3008
2976
  label: BORDER_WIDTH_LABEL,
3009
- icon: /* @__PURE__ */ React33.createElement(SideAllIcon, { fontSize: "tiny" }),
3010
- tooltipLabel: __13("Adjust borders", "elementor"),
2977
+ icon: /* @__PURE__ */ React32.createElement(SideAllIcon, { fontSize: "tiny" }),
2978
+ tooltipLabel: __12("Adjust borders", "elementor"),
3011
2979
  multiSizePropTypeUtil: borderWidthPropTypeUtil
3012
2980
  }
3013
2981
  ));
3014
2982
  };
3015
2983
 
3016
2984
  // src/components/style-sections/border-section/border-section.tsx
3017
- var BorderSection = () => /* @__PURE__ */ React34.createElement(SectionContent, null, /* @__PURE__ */ React34.createElement(BorderWidthField, null), /* @__PURE__ */ React34.createElement(BorderColorField, null), /* @__PURE__ */ React34.createElement(BorderStyleField, null), /* @__PURE__ */ React34.createElement(BorderRadiusField, null));
2985
+ var BorderSection = () => /* @__PURE__ */ React33.createElement(SectionContent, null, /* @__PURE__ */ React33.createElement(BorderWidthField, null), /* @__PURE__ */ React33.createElement(BorderColorField, null), /* @__PURE__ */ React33.createElement(BorderStyleField, null), /* @__PURE__ */ React33.createElement(BorderRadiusField, null));
3018
2986
 
3019
2987
  // src/components/style-sections/effects-section/effects-section.tsx
3020
- import * as React38 from "react";
2988
+ import * as React37 from "react";
3021
2989
  import {
3022
2990
  BoxShadowRepeaterControl,
3023
2991
  FilterRepeaterControl,
@@ -3025,7 +2993,7 @@ import {
3025
2993
  TransitionRepeaterControl
3026
2994
  } from "@elementor/editor-controls";
3027
2995
  import { useSelectedElement } from "@elementor/editor-elements";
3028
- import { __ as __16 } from "@wordpress/i18n";
2996
+ import { __ as __15 } from "@wordpress/i18n";
3029
2997
 
3030
2998
  // src/utils/get-recently-used-styles.ts
3031
2999
  import { createPropsResolver, styleTransformersRegistry } from "@elementor/editor-canvas";
@@ -3056,71 +3024,71 @@ var getRecentlyUsedList = async (elementId) => {
3056
3024
  };
3057
3025
 
3058
3026
  // src/components/panel-divider.tsx
3059
- import * as React35 from "react";
3027
+ import * as React34 from "react";
3060
3028
  import { Divider as Divider4 } from "@elementor/ui";
3061
- var PanelDivider = () => /* @__PURE__ */ React35.createElement(Divider4, { sx: { my: 0.5 } });
3029
+ var PanelDivider = () => /* @__PURE__ */ React34.createElement(Divider4, { sx: { my: 0.5 } });
3062
3030
 
3063
3031
  // src/components/style-sections/effects-section/blend-mode-field.tsx
3064
- import * as React36 from "react";
3032
+ import * as React35 from "react";
3065
3033
  import { SelectControl as SelectControl2 } from "@elementor/editor-controls";
3066
- import { __ as __14 } from "@wordpress/i18n";
3067
- var BLEND_MODE_LABEL = __14("Blend mode", "elementor");
3034
+ import { __ as __13 } from "@wordpress/i18n";
3035
+ var BLEND_MODE_LABEL = __13("Blend mode", "elementor");
3068
3036
  var blendModeOptions = [
3069
- { label: __14("Normal", "elementor"), value: "normal" },
3070
- { label: __14("Multiply", "elementor"), value: "multiply" },
3071
- { label: __14("Screen", "elementor"), value: "screen" },
3072
- { label: __14("Overlay", "elementor"), value: "overlay" },
3073
- { label: __14("Darken", "elementor"), value: "darken" },
3074
- { label: __14("Lighten", "elementor"), value: "lighten" },
3075
- { label: __14("Color dodge", "elementor"), value: "color-dodge" },
3076
- { label: __14("Color burn", "elementor"), value: "color-burn" },
3077
- { label: __14("Saturation", "elementor"), value: "saturation" },
3078
- { label: __14("Color", "elementor"), value: "color" },
3079
- { label: __14("Difference", "elementor"), value: "difference" },
3080
- { label: __14("Exclusion", "elementor"), value: "exclusion" },
3081
- { label: __14("Hue", "elementor"), value: "hue" },
3082
- { label: __14("Luminosity", "elementor"), value: "luminosity" },
3083
- { label: __14("Soft light", "elementor"), value: "soft-light" },
3084
- { label: __14("Hard light", "elementor"), value: "hard-light" }
3037
+ { label: __13("Normal", "elementor"), value: "normal" },
3038
+ { label: __13("Multiply", "elementor"), value: "multiply" },
3039
+ { label: __13("Screen", "elementor"), value: "screen" },
3040
+ { label: __13("Overlay", "elementor"), value: "overlay" },
3041
+ { label: __13("Darken", "elementor"), value: "darken" },
3042
+ { label: __13("Lighten", "elementor"), value: "lighten" },
3043
+ { label: __13("Color dodge", "elementor"), value: "color-dodge" },
3044
+ { label: __13("Color burn", "elementor"), value: "color-burn" },
3045
+ { label: __13("Saturation", "elementor"), value: "saturation" },
3046
+ { label: __13("Color", "elementor"), value: "color" },
3047
+ { label: __13("Difference", "elementor"), value: "difference" },
3048
+ { label: __13("Exclusion", "elementor"), value: "exclusion" },
3049
+ { label: __13("Hue", "elementor"), value: "hue" },
3050
+ { label: __13("Luminosity", "elementor"), value: "luminosity" },
3051
+ { label: __13("Soft light", "elementor"), value: "soft-light" },
3052
+ { label: __13("Hard light", "elementor"), value: "hard-light" }
3085
3053
  ];
3086
3054
  var BlendModeField = () => {
3087
- return /* @__PURE__ */ React36.createElement(StylesField, { bind: "mix-blend-mode", propDisplayName: BLEND_MODE_LABEL }, /* @__PURE__ */ React36.createElement(StylesFieldLayout, { label: BLEND_MODE_LABEL }, /* @__PURE__ */ React36.createElement(SelectControl2, { options: blendModeOptions })));
3055
+ return /* @__PURE__ */ React35.createElement(StylesField, { bind: "mix-blend-mode", propDisplayName: BLEND_MODE_LABEL }, /* @__PURE__ */ React35.createElement(StylesFieldLayout, { label: BLEND_MODE_LABEL }, /* @__PURE__ */ React35.createElement(SelectControl2, { options: blendModeOptions })));
3088
3056
  };
3089
3057
 
3090
3058
  // src/components/style-sections/effects-section/opacity-control-field.tsx
3091
- import * as React37 from "react";
3059
+ import * as React36 from "react";
3092
3060
  import { useRef as useRef4 } from "react";
3093
3061
  import { SizeControl as SizeControl2 } from "@elementor/editor-controls";
3094
- import { __ as __15 } from "@wordpress/i18n";
3095
- var OPACITY_LABEL = __15("Opacity", "elementor");
3062
+ import { __ as __14 } from "@wordpress/i18n";
3063
+ var OPACITY_LABEL = __14("Opacity", "elementor");
3096
3064
  var OpacityControlField = () => {
3097
3065
  const rowRef = useRef4(null);
3098
- return /* @__PURE__ */ React37.createElement(StylesField, { bind: "opacity", propDisplayName: OPACITY_LABEL }, /* @__PURE__ */ React37.createElement(StylesFieldLayout, { ref: rowRef, label: OPACITY_LABEL }, /* @__PURE__ */ React37.createElement(SizeControl2, { units: ["%"], anchorRef: rowRef, defaultUnit: "%" })));
3066
+ return /* @__PURE__ */ React36.createElement(StylesField, { bind: "opacity", propDisplayName: OPACITY_LABEL }, /* @__PURE__ */ React36.createElement(StylesFieldLayout, { ref: rowRef, label: OPACITY_LABEL }, /* @__PURE__ */ React36.createElement(SizeControl2, { units: ["%"], anchorRef: rowRef, defaultUnit: "%" })));
3099
3067
  };
3100
3068
 
3101
3069
  // src/components/style-sections/effects-section/effects-section.tsx
3102
- var BOX_SHADOW_LABEL = __16("Box shadow", "elementor");
3103
- var FILTER_LABEL = __16("Filters", "elementor");
3104
- var TRANSFORM_LABEL = __16("Transform", "elementor");
3105
- var BACKDROP_FILTER_LABEL = __16("Backdrop filters", "elementor");
3106
- var TRANSITIONS_LABEL = __16("Transitions", "elementor");
3070
+ var BOX_SHADOW_LABEL = __15("Box shadow", "elementor");
3071
+ var FILTER_LABEL = __15("Filters", "elementor");
3072
+ var TRANSFORM_LABEL = __15("Transform", "elementor");
3073
+ var BACKDROP_FILTER_LABEL = __15("Backdrop filters", "elementor");
3074
+ var TRANSITIONS_LABEL = __15("Transitions", "elementor");
3107
3075
  var EffectsSection = () => {
3108
3076
  const { element } = useSelectedElement();
3109
3077
  const { meta } = useStyle();
3110
- return /* @__PURE__ */ React38.createElement(SectionContent, { gap: 1 }, /* @__PURE__ */ React38.createElement(BlendModeField, null), /* @__PURE__ */ React38.createElement(PanelDivider, null), /* @__PURE__ */ React38.createElement(OpacityControlField, null), /* @__PURE__ */ React38.createElement(PanelDivider, null), /* @__PURE__ */ React38.createElement(StylesField, { bind: "box-shadow", propDisplayName: BOX_SHADOW_LABEL }, /* @__PURE__ */ React38.createElement(BoxShadowRepeaterControl, null)), /* @__PURE__ */ React38.createElement(PanelDivider, null), /* @__PURE__ */ React38.createElement(StylesField, { bind: "transform", propDisplayName: TRANSFORM_LABEL }, /* @__PURE__ */ React38.createElement(TransformRepeaterControl, null)), /* @__PURE__ */ React38.createElement(PanelDivider, null), /* @__PURE__ */ React38.createElement(StylesField, { bind: "transition", propDisplayName: TRANSITIONS_LABEL }, /* @__PURE__ */ React38.createElement(
3078
+ return /* @__PURE__ */ React37.createElement(SectionContent, { gap: 1 }, /* @__PURE__ */ React37.createElement(BlendModeField, null), /* @__PURE__ */ React37.createElement(PanelDivider, null), /* @__PURE__ */ React37.createElement(OpacityControlField, null), /* @__PURE__ */ React37.createElement(PanelDivider, null), /* @__PURE__ */ React37.createElement(StylesField, { bind: "box-shadow", propDisplayName: BOX_SHADOW_LABEL }, /* @__PURE__ */ React37.createElement(BoxShadowRepeaterControl, null)), /* @__PURE__ */ React37.createElement(PanelDivider, null), /* @__PURE__ */ React37.createElement(StylesField, { bind: "transform", propDisplayName: TRANSFORM_LABEL }, /* @__PURE__ */ React37.createElement(TransformRepeaterControl, null)), /* @__PURE__ */ React37.createElement(PanelDivider, null), /* @__PURE__ */ React37.createElement(StylesField, { bind: "transition", propDisplayName: TRANSITIONS_LABEL }, /* @__PURE__ */ React37.createElement(
3111
3079
  TransitionRepeaterControl,
3112
3080
  {
3113
3081
  currentStyleState: meta.state,
3114
3082
  recentlyUsedListGetter: () => getRecentlyUsedList(element?.id ?? "")
3115
3083
  }
3116
- )), /* @__PURE__ */ React38.createElement(PanelDivider, null), /* @__PURE__ */ React38.createElement(StylesField, { bind: "filter", propDisplayName: FILTER_LABEL }, /* @__PURE__ */ React38.createElement(FilterRepeaterControl, null)), /* @__PURE__ */ React38.createElement(PanelDivider, null), /* @__PURE__ */ React38.createElement(StylesField, { bind: "backdrop-filter", propDisplayName: BACKDROP_FILTER_LABEL }, /* @__PURE__ */ React38.createElement(FilterRepeaterControl, { filterPropName: "backdrop-filter" })));
3084
+ )), /* @__PURE__ */ React37.createElement(PanelDivider, null), /* @__PURE__ */ React37.createElement(StylesField, { bind: "filter", propDisplayName: FILTER_LABEL }, /* @__PURE__ */ React37.createElement(FilterRepeaterControl, null)), /* @__PURE__ */ React37.createElement(PanelDivider, null), /* @__PURE__ */ React37.createElement(StylesField, { bind: "backdrop-filter", propDisplayName: BACKDROP_FILTER_LABEL }, /* @__PURE__ */ React37.createElement(FilterRepeaterControl, { filterPropName: "backdrop-filter" })));
3117
3085
  };
3118
3086
 
3119
3087
  // src/components/style-sections/layout-section/layout-section.tsx
3120
- import * as React50 from "react";
3088
+ import * as React49 from "react";
3121
3089
  import { ControlFormLabel as ControlFormLabel2 } from "@elementor/editor-controls";
3122
3090
  import { useParentElement } from "@elementor/editor-elements";
3123
- import { __ as __28 } from "@wordpress/i18n";
3091
+ import { __ as __27 } from "@wordpress/i18n";
3124
3092
 
3125
3093
  // src/hooks/use-computed-style.ts
3126
3094
  import { __privateUseListenTo as useListenTo, commandEndEvent, windowEvent } from "@elementor/editor-v1-adapters";
@@ -3147,7 +3115,7 @@ function useComputedStyle(elementId) {
3147
3115
  }
3148
3116
 
3149
3117
  // src/components/style-sections/layout-section/align-content-field.tsx
3150
- import * as React40 from "react";
3118
+ import * as React39 from "react";
3151
3119
  import { ToggleControl as ToggleControl2 } from "@elementor/editor-controls";
3152
3120
  import {
3153
3121
  JustifyBottomIcon,
@@ -3158,14 +3126,14 @@ import {
3158
3126
  JustifyTopIcon
3159
3127
  } from "@elementor/icons";
3160
3128
  import { withDirection as withDirection3 } from "@elementor/ui";
3161
- import { __ as __18 } from "@wordpress/i18n";
3129
+ import { __ as __17 } from "@wordpress/i18n";
3162
3130
 
3163
3131
  // src/components/style-sections/layout-section/utils/rotated-icon.tsx
3164
- import * as React39 from "react";
3132
+ import * as React38 from "react";
3165
3133
  import { useRef as useRef5 } from "react";
3166
3134
  import { useTheme as useTheme2 } from "@elementor/ui";
3167
- import { __ as __17 } from "@wordpress/i18n";
3168
- var FLEX_DIRECTION_LABEL = __17("Flex direction", "elementor");
3135
+ import { __ as __16 } from "@wordpress/i18n";
3136
+ var FLEX_DIRECTION_LABEL = __16("Flex direction", "elementor");
3169
3137
  var CLOCKWISE_ANGLES = {
3170
3138
  row: 0,
3171
3139
  column: 90,
@@ -3187,7 +3155,7 @@ var RotatedIcon = ({
3187
3155
  }) => {
3188
3156
  const rotate = useRef5(useGetTargetAngle(isClockwise, offset, disableRotationForReversed));
3189
3157
  rotate.current = useGetTargetAngle(isClockwise, offset, disableRotationForReversed, rotate);
3190
- return /* @__PURE__ */ React39.createElement(Icon, { fontSize: size, sx: { transition: ".3s", rotate: `${rotate.current}deg` } });
3158
+ return /* @__PURE__ */ React38.createElement(Icon, { fontSize: size, sx: { transition: ".3s", rotate: `${rotate.current}deg` } });
3191
3159
  };
3192
3160
  var useGetTargetAngle = (isClockwise, offset, disableRotationForReversed, existingRef) => {
3193
3161
  const { value: direction } = useStylesField("flex-direction", {
@@ -3208,7 +3176,7 @@ var useGetTargetAngle = (isClockwise, offset, disableRotationForReversed, existi
3208
3176
  };
3209
3177
 
3210
3178
  // src/components/style-sections/layout-section/align-content-field.tsx
3211
- var ALIGN_CONTENT_LABEL = __18("Align content", "elementor");
3179
+ var ALIGN_CONTENT_LABEL = __17("Align content", "elementor");
3212
3180
  var StartIcon = withDirection3(JustifyTopIcon);
3213
3181
  var EndIcon = withDirection3(JustifyBottomIcon);
3214
3182
  var iconProps = {
@@ -3219,45 +3187,45 @@ var iconProps = {
3219
3187
  var options = [
3220
3188
  {
3221
3189
  value: "start",
3222
- label: __18("Start", "elementor"),
3223
- renderContent: ({ size }) => /* @__PURE__ */ React40.createElement(RotatedIcon, { icon: StartIcon, size, ...iconProps }),
3190
+ label: __17("Start", "elementor"),
3191
+ renderContent: ({ size }) => /* @__PURE__ */ React39.createElement(RotatedIcon, { icon: StartIcon, size, ...iconProps }),
3224
3192
  showTooltip: true
3225
3193
  },
3226
3194
  {
3227
3195
  value: "center",
3228
- label: __18("Center", "elementor"),
3229
- renderContent: ({ size }) => /* @__PURE__ */ React40.createElement(RotatedIcon, { icon: CenterIcon, size, ...iconProps }),
3196
+ label: __17("Center", "elementor"),
3197
+ renderContent: ({ size }) => /* @__PURE__ */ React39.createElement(RotatedIcon, { icon: CenterIcon, size, ...iconProps }),
3230
3198
  showTooltip: true
3231
3199
  },
3232
3200
  {
3233
3201
  value: "end",
3234
- label: __18("End", "elementor"),
3235
- renderContent: ({ size }) => /* @__PURE__ */ React40.createElement(RotatedIcon, { icon: EndIcon, size, ...iconProps }),
3202
+ label: __17("End", "elementor"),
3203
+ renderContent: ({ size }) => /* @__PURE__ */ React39.createElement(RotatedIcon, { icon: EndIcon, size, ...iconProps }),
3236
3204
  showTooltip: true
3237
3205
  },
3238
3206
  {
3239
3207
  value: "space-between",
3240
- label: __18("Space between", "elementor"),
3241
- renderContent: ({ size }) => /* @__PURE__ */ React40.createElement(RotatedIcon, { icon: BetweenIcon, size, ...iconProps }),
3208
+ label: __17("Space between", "elementor"),
3209
+ renderContent: ({ size }) => /* @__PURE__ */ React39.createElement(RotatedIcon, { icon: BetweenIcon, size, ...iconProps }),
3242
3210
  showTooltip: true
3243
3211
  },
3244
3212
  {
3245
3213
  value: "space-around",
3246
- label: __18("Space around", "elementor"),
3247
- renderContent: ({ size }) => /* @__PURE__ */ React40.createElement(RotatedIcon, { icon: AroundIcon, size, ...iconProps }),
3214
+ label: __17("Space around", "elementor"),
3215
+ renderContent: ({ size }) => /* @__PURE__ */ React39.createElement(RotatedIcon, { icon: AroundIcon, size, ...iconProps }),
3248
3216
  showTooltip: true
3249
3217
  },
3250
3218
  {
3251
3219
  value: "space-evenly",
3252
- label: __18("Space evenly", "elementor"),
3253
- renderContent: ({ size }) => /* @__PURE__ */ React40.createElement(RotatedIcon, { icon: EvenlyIcon, size, ...iconProps }),
3220
+ label: __17("Space evenly", "elementor"),
3221
+ renderContent: ({ size }) => /* @__PURE__ */ React39.createElement(RotatedIcon, { icon: EvenlyIcon, size, ...iconProps }),
3254
3222
  showTooltip: true
3255
3223
  }
3256
3224
  ];
3257
- var AlignContentField = () => /* @__PURE__ */ React40.createElement(StylesField, { bind: "align-content", propDisplayName: ALIGN_CONTENT_LABEL }, /* @__PURE__ */ React40.createElement(UiProviders, null, /* @__PURE__ */ React40.createElement(StylesFieldLayout, { label: ALIGN_CONTENT_LABEL, direction: "column" }, /* @__PURE__ */ React40.createElement(ToggleControl2, { options, fullWidth: true }))));
3225
+ var AlignContentField = () => /* @__PURE__ */ React39.createElement(StylesField, { bind: "align-content", propDisplayName: ALIGN_CONTENT_LABEL }, /* @__PURE__ */ React39.createElement(UiProviders, null, /* @__PURE__ */ React39.createElement(StylesFieldLayout, { label: ALIGN_CONTENT_LABEL, direction: "column" }, /* @__PURE__ */ React39.createElement(ToggleControl2, { options, fullWidth: true }))));
3258
3226
 
3259
3227
  // src/components/style-sections/layout-section/align-items-field.tsx
3260
- import * as React41 from "react";
3228
+ import * as React40 from "react";
3261
3229
  import { ToggleControl as ToggleControl3 } from "@elementor/editor-controls";
3262
3230
  import {
3263
3231
  LayoutAlignCenterIcon as CenterIcon2,
@@ -3266,8 +3234,8 @@ import {
3266
3234
  LayoutDistributeVerticalIcon as JustifyIcon
3267
3235
  } from "@elementor/icons";
3268
3236
  import { withDirection as withDirection4 } from "@elementor/ui";
3269
- import { __ as __19 } from "@wordpress/i18n";
3270
- var ALIGN_ITEMS_LABEL = __19("Align items", "elementor");
3237
+ import { __ as __18 } from "@wordpress/i18n";
3238
+ var ALIGN_ITEMS_LABEL = __18("Align items", "elementor");
3271
3239
  var StartIcon2 = withDirection4(LayoutAlignLeftIcon);
3272
3240
  var EndIcon2 = withDirection4(LayoutAlignRightIcon);
3273
3241
  var iconProps2 = {
@@ -3277,35 +3245,35 @@ var iconProps2 = {
3277
3245
  var options2 = [
3278
3246
  {
3279
3247
  value: "start",
3280
- label: __19("Start", "elementor"),
3281
- renderContent: ({ size }) => /* @__PURE__ */ React41.createElement(RotatedIcon, { icon: StartIcon2, size, ...iconProps2 }),
3248
+ label: __18("Start", "elementor"),
3249
+ renderContent: ({ size }) => /* @__PURE__ */ React40.createElement(RotatedIcon, { icon: StartIcon2, size, ...iconProps2 }),
3282
3250
  showTooltip: true
3283
3251
  },
3284
3252
  {
3285
3253
  value: "center",
3286
- label: __19("Center", "elementor"),
3287
- renderContent: ({ size }) => /* @__PURE__ */ React41.createElement(RotatedIcon, { icon: CenterIcon2, size, ...iconProps2 }),
3254
+ label: __18("Center", "elementor"),
3255
+ renderContent: ({ size }) => /* @__PURE__ */ React40.createElement(RotatedIcon, { icon: CenterIcon2, size, ...iconProps2 }),
3288
3256
  showTooltip: true
3289
3257
  },
3290
3258
  {
3291
3259
  value: "end",
3292
- label: __19("End", "elementor"),
3293
- renderContent: ({ size }) => /* @__PURE__ */ React41.createElement(RotatedIcon, { icon: EndIcon2, size, ...iconProps2 }),
3260
+ label: __18("End", "elementor"),
3261
+ renderContent: ({ size }) => /* @__PURE__ */ React40.createElement(RotatedIcon, { icon: EndIcon2, size, ...iconProps2 }),
3294
3262
  showTooltip: true
3295
3263
  },
3296
3264
  {
3297
3265
  value: "stretch",
3298
- label: __19("Stretch", "elementor"),
3299
- renderContent: ({ size }) => /* @__PURE__ */ React41.createElement(RotatedIcon, { icon: JustifyIcon, size, ...iconProps2 }),
3266
+ label: __18("Stretch", "elementor"),
3267
+ renderContent: ({ size }) => /* @__PURE__ */ React40.createElement(RotatedIcon, { icon: JustifyIcon, size, ...iconProps2 }),
3300
3268
  showTooltip: true
3301
3269
  }
3302
3270
  ];
3303
3271
  var AlignItemsField = () => {
3304
- return /* @__PURE__ */ React41.createElement(UiProviders, null, /* @__PURE__ */ React41.createElement(StylesField, { bind: "align-items", propDisplayName: ALIGN_ITEMS_LABEL }, /* @__PURE__ */ React41.createElement(StylesFieldLayout, { label: ALIGN_ITEMS_LABEL }, /* @__PURE__ */ React41.createElement(ToggleControl3, { options: options2 }))));
3272
+ return /* @__PURE__ */ React40.createElement(UiProviders, null, /* @__PURE__ */ React40.createElement(StylesField, { bind: "align-items", propDisplayName: ALIGN_ITEMS_LABEL }, /* @__PURE__ */ React40.createElement(StylesFieldLayout, { label: ALIGN_ITEMS_LABEL }, /* @__PURE__ */ React40.createElement(ToggleControl3, { options: options2 }))));
3305
3273
  };
3306
3274
 
3307
3275
  // src/components/style-sections/layout-section/align-self-child-field.tsx
3308
- import * as React42 from "react";
3276
+ import * as React41 from "react";
3309
3277
  import { ToggleControl as ToggleControl4 } from "@elementor/editor-controls";
3310
3278
  import {
3311
3279
  LayoutAlignCenterIcon as CenterIcon3,
@@ -3314,8 +3282,8 @@ import {
3314
3282
  LayoutDistributeVerticalIcon as JustifyIcon2
3315
3283
  } from "@elementor/icons";
3316
3284
  import { withDirection as withDirection5 } from "@elementor/ui";
3317
- import { __ as __20 } from "@wordpress/i18n";
3318
- var ALIGN_SELF_LABEL = __20("Align self", "elementor");
3285
+ import { __ as __19 } from "@wordpress/i18n";
3286
+ var ALIGN_SELF_LABEL = __19("Align self", "elementor");
3319
3287
  var ALIGN_SELF_CHILD_OFFSET_MAP = {
3320
3288
  row: 90,
3321
3289
  "row-reverse": 90,
@@ -3330,8 +3298,8 @@ var iconProps3 = {
3330
3298
  var getOptions = (parentStyleDirection) => [
3331
3299
  {
3332
3300
  value: "start",
3333
- label: __20("Start", "elementor"),
3334
- renderContent: ({ size }) => /* @__PURE__ */ React42.createElement(
3301
+ label: __19("Start", "elementor"),
3302
+ renderContent: ({ size }) => /* @__PURE__ */ React41.createElement(
3335
3303
  RotatedIcon,
3336
3304
  {
3337
3305
  icon: StartIcon3,
@@ -3344,8 +3312,8 @@ var getOptions = (parentStyleDirection) => [
3344
3312
  },
3345
3313
  {
3346
3314
  value: "center",
3347
- label: __20("Center", "elementor"),
3348
- renderContent: ({ size }) => /* @__PURE__ */ React42.createElement(
3315
+ label: __19("Center", "elementor"),
3316
+ renderContent: ({ size }) => /* @__PURE__ */ React41.createElement(
3349
3317
  RotatedIcon,
3350
3318
  {
3351
3319
  icon: CenterIcon3,
@@ -3358,8 +3326,8 @@ var getOptions = (parentStyleDirection) => [
3358
3326
  },
3359
3327
  {
3360
3328
  value: "end",
3361
- label: __20("End", "elementor"),
3362
- renderContent: ({ size }) => /* @__PURE__ */ React42.createElement(
3329
+ label: __19("End", "elementor"),
3330
+ renderContent: ({ size }) => /* @__PURE__ */ React41.createElement(
3363
3331
  RotatedIcon,
3364
3332
  {
3365
3333
  icon: EndIcon3,
@@ -3372,8 +3340,8 @@ var getOptions = (parentStyleDirection) => [
3372
3340
  },
3373
3341
  {
3374
3342
  value: "stretch",
3375
- label: __20("Stretch", "elementor"),
3376
- renderContent: ({ size }) => /* @__PURE__ */ React42.createElement(
3343
+ label: __19("Stretch", "elementor"),
3344
+ renderContent: ({ size }) => /* @__PURE__ */ React41.createElement(
3377
3345
  RotatedIcon,
3378
3346
  {
3379
3347
  icon: JustifyIcon2,
@@ -3385,97 +3353,97 @@ var getOptions = (parentStyleDirection) => [
3385
3353
  showTooltip: true
3386
3354
  }
3387
3355
  ];
3388
- var AlignSelfChild = ({ parentStyleDirection }) => /* @__PURE__ */ React42.createElement(StylesField, { bind: "align-self", propDisplayName: ALIGN_SELF_LABEL }, /* @__PURE__ */ React42.createElement(UiProviders, null, /* @__PURE__ */ React42.createElement(StylesFieldLayout, { label: ALIGN_SELF_LABEL }, /* @__PURE__ */ React42.createElement(ToggleControl4, { options: getOptions(parentStyleDirection) }))));
3356
+ var AlignSelfChild = ({ parentStyleDirection }) => /* @__PURE__ */ React41.createElement(StylesField, { bind: "align-self", propDisplayName: ALIGN_SELF_LABEL }, /* @__PURE__ */ React41.createElement(UiProviders, null, /* @__PURE__ */ React41.createElement(StylesFieldLayout, { label: ALIGN_SELF_LABEL }, /* @__PURE__ */ React41.createElement(ToggleControl4, { options: getOptions(parentStyleDirection) }))));
3389
3357
 
3390
3358
  // src/components/style-sections/layout-section/display-field.tsx
3391
- import * as React43 from "react";
3359
+ import * as React42 from "react";
3392
3360
  import { ToggleControl as ToggleControl5 } from "@elementor/editor-controls";
3393
- import { __ as __21 } from "@wordpress/i18n";
3394
- var DISPLAY_LABEL = __21("Display", "elementor");
3361
+ import { __ as __20 } from "@wordpress/i18n";
3362
+ var DISPLAY_LABEL = __20("Display", "elementor");
3395
3363
  var displayFieldItems = [
3396
3364
  {
3397
3365
  value: "block",
3398
- renderContent: () => __21("Block", "elementor"),
3399
- label: __21("Block", "elementor"),
3366
+ renderContent: () => __20("Block", "elementor"),
3367
+ label: __20("Block", "elementor"),
3400
3368
  showTooltip: true
3401
3369
  },
3402
3370
  {
3403
3371
  value: "flex",
3404
- renderContent: () => __21("Flex", "elementor"),
3405
- label: __21("Flex", "elementor"),
3372
+ renderContent: () => __20("Flex", "elementor"),
3373
+ label: __20("Flex", "elementor"),
3406
3374
  showTooltip: true
3407
3375
  },
3408
3376
  {
3409
3377
  value: "inline-block",
3410
- renderContent: () => __21("In-blk", "elementor"),
3411
- label: __21("Inline-block", "elementor"),
3378
+ renderContent: () => __20("In-blk", "elementor"),
3379
+ label: __20("Inline-block", "elementor"),
3412
3380
  showTooltip: true
3413
3381
  },
3414
3382
  {
3415
3383
  value: "none",
3416
- renderContent: () => __21("None", "elementor"),
3417
- label: __21("None", "elementor"),
3384
+ renderContent: () => __20("None", "elementor"),
3385
+ label: __20("None", "elementor"),
3418
3386
  showTooltip: true
3419
3387
  },
3420
3388
  {
3421
3389
  value: "inline-flex",
3422
- renderContent: () => __21("In-flx", "elementor"),
3423
- label: __21("Inline-flex", "elementor"),
3390
+ renderContent: () => __20("In-flx", "elementor"),
3391
+ label: __20("Inline-flex", "elementor"),
3424
3392
  showTooltip: true
3425
3393
  }
3426
3394
  ];
3427
3395
  var DisplayField = () => {
3428
3396
  const placeholder = useDisplayPlaceholderValue();
3429
- return /* @__PURE__ */ React43.createElement(StylesField, { bind: "display", propDisplayName: DISPLAY_LABEL, placeholder }, /* @__PURE__ */ React43.createElement(StylesFieldLayout, { label: DISPLAY_LABEL, direction: "column" }, /* @__PURE__ */ React43.createElement(ToggleControl5, { options: displayFieldItems, maxItems: 4, fullWidth: true })));
3397
+ return /* @__PURE__ */ React42.createElement(StylesField, { bind: "display", propDisplayName: DISPLAY_LABEL, placeholder }, /* @__PURE__ */ React42.createElement(StylesFieldLayout, { label: DISPLAY_LABEL, direction: "column" }, /* @__PURE__ */ React42.createElement(ToggleControl5, { options: displayFieldItems, maxItems: 4, fullWidth: true })));
3430
3398
  };
3431
3399
  var useDisplayPlaceholderValue = () => useStylesInheritanceChain(["display"])[0]?.value ?? void 0;
3432
3400
 
3433
3401
  // src/components/style-sections/layout-section/flex-direction-field.tsx
3434
- import * as React44 from "react";
3402
+ import * as React43 from "react";
3435
3403
  import { ToggleControl as ToggleControl6 } from "@elementor/editor-controls";
3436
3404
  import { ArrowDownSmallIcon, ArrowLeftIcon, ArrowRightIcon, ArrowUpSmallIcon } from "@elementor/icons";
3437
3405
  import { withDirection as withDirection6 } from "@elementor/ui";
3438
- import { __ as __22 } from "@wordpress/i18n";
3439
- var FLEX_DIRECTION_LABEL2 = __22("Direction", "elementor");
3406
+ import { __ as __21 } from "@wordpress/i18n";
3407
+ var FLEX_DIRECTION_LABEL2 = __21("Direction", "elementor");
3440
3408
  var options3 = [
3441
3409
  {
3442
3410
  value: "row",
3443
- label: __22("Row", "elementor"),
3411
+ label: __21("Row", "elementor"),
3444
3412
  renderContent: ({ size }) => {
3445
3413
  const StartIcon5 = withDirection6(ArrowRightIcon);
3446
- return /* @__PURE__ */ React44.createElement(StartIcon5, { fontSize: size });
3414
+ return /* @__PURE__ */ React43.createElement(StartIcon5, { fontSize: size });
3447
3415
  },
3448
3416
  showTooltip: true
3449
3417
  },
3450
3418
  {
3451
3419
  value: "column",
3452
- label: __22("Column", "elementor"),
3453
- renderContent: ({ size }) => /* @__PURE__ */ React44.createElement(ArrowDownSmallIcon, { fontSize: size }),
3420
+ label: __21("Column", "elementor"),
3421
+ renderContent: ({ size }) => /* @__PURE__ */ React43.createElement(ArrowDownSmallIcon, { fontSize: size }),
3454
3422
  showTooltip: true
3455
3423
  },
3456
3424
  {
3457
3425
  value: "row-reverse",
3458
- label: __22("Reversed row", "elementor"),
3426
+ label: __21("Reversed row", "elementor"),
3459
3427
  renderContent: ({ size }) => {
3460
3428
  const EndIcon5 = withDirection6(ArrowLeftIcon);
3461
- return /* @__PURE__ */ React44.createElement(EndIcon5, { fontSize: size });
3429
+ return /* @__PURE__ */ React43.createElement(EndIcon5, { fontSize: size });
3462
3430
  },
3463
3431
  showTooltip: true
3464
3432
  },
3465
3433
  {
3466
3434
  value: "column-reverse",
3467
- label: __22("Reversed column", "elementor"),
3468
- renderContent: ({ size }) => /* @__PURE__ */ React44.createElement(ArrowUpSmallIcon, { fontSize: size }),
3435
+ label: __21("Reversed column", "elementor"),
3436
+ renderContent: ({ size }) => /* @__PURE__ */ React43.createElement(ArrowUpSmallIcon, { fontSize: size }),
3469
3437
  showTooltip: true
3470
3438
  }
3471
3439
  ];
3472
3440
  var FlexDirectionField = () => {
3473
- return /* @__PURE__ */ React44.createElement(StylesField, { bind: "flex-direction", propDisplayName: FLEX_DIRECTION_LABEL2 }, /* @__PURE__ */ React44.createElement(UiProviders, null, /* @__PURE__ */ React44.createElement(StylesFieldLayout, { label: FLEX_DIRECTION_LABEL2 }, /* @__PURE__ */ React44.createElement(ToggleControl6, { options: options3 }))));
3441
+ return /* @__PURE__ */ React43.createElement(StylesField, { bind: "flex-direction", propDisplayName: FLEX_DIRECTION_LABEL2 }, /* @__PURE__ */ React43.createElement(UiProviders, null, /* @__PURE__ */ React43.createElement(StylesFieldLayout, { label: FLEX_DIRECTION_LABEL2 }, /* @__PURE__ */ React43.createElement(ToggleControl6, { options: options3 }))));
3474
3442
  };
3475
3443
 
3476
3444
  // src/components/style-sections/layout-section/flex-order-field.tsx
3477
- import * as React45 from "react";
3478
- import { useEffect as useEffect4, useMemo as useMemo8, useState as useState8 } from "react";
3445
+ import * as React44 from "react";
3446
+ import { useEffect as useEffect4, useMemo as useMemo8, useState as useState7 } from "react";
3479
3447
  import {
3480
3448
  ControlToggleButtonGroup,
3481
3449
  NumberControl as NumberControl2,
@@ -3483,8 +3451,8 @@ import {
3483
3451
  } from "@elementor/editor-controls";
3484
3452
  import { ArrowDownSmallIcon as ArrowDownSmallIcon2, ArrowUpSmallIcon as ArrowUpSmallIcon2, PencilIcon } from "@elementor/icons";
3485
3453
  import { Grid as Grid2 } from "@elementor/ui";
3486
- import { __ as __23 } from "@wordpress/i18n";
3487
- var ORDER_LABEL = __23("Order", "elementor");
3454
+ import { __ as __22 } from "@wordpress/i18n";
3455
+ var ORDER_LABEL = __22("Order", "elementor");
3488
3456
  var FIRST_DEFAULT_VALUE = -99999;
3489
3457
  var LAST_DEFAULT_VALUE = 99999;
3490
3458
  var FIRST = "first";
@@ -3497,25 +3465,25 @@ var orderValueMap = {
3497
3465
  var items = [
3498
3466
  {
3499
3467
  value: FIRST,
3500
- label: __23("First", "elementor"),
3501
- renderContent: ({ size }) => /* @__PURE__ */ React45.createElement(ArrowUpSmallIcon2, { fontSize: size }),
3468
+ label: __22("First", "elementor"),
3469
+ renderContent: ({ size }) => /* @__PURE__ */ React44.createElement(ArrowUpSmallIcon2, { fontSize: size }),
3502
3470
  showTooltip: true
3503
3471
  },
3504
3472
  {
3505
3473
  value: LAST,
3506
- label: __23("Last", "elementor"),
3507
- renderContent: ({ size }) => /* @__PURE__ */ React45.createElement(ArrowDownSmallIcon2, { fontSize: size }),
3474
+ label: __22("Last", "elementor"),
3475
+ renderContent: ({ size }) => /* @__PURE__ */ React44.createElement(ArrowDownSmallIcon2, { fontSize: size }),
3508
3476
  showTooltip: true
3509
3477
  },
3510
3478
  {
3511
3479
  value: CUSTOM,
3512
- label: __23("Custom", "elementor"),
3513
- renderContent: ({ size }) => /* @__PURE__ */ React45.createElement(PencilIcon, { fontSize: size }),
3480
+ label: __22("Custom", "elementor"),
3481
+ renderContent: ({ size }) => /* @__PURE__ */ React44.createElement(PencilIcon, { fontSize: size }),
3514
3482
  showTooltip: true
3515
3483
  }
3516
3484
  ];
3517
3485
  var FlexOrderField = () => {
3518
- return /* @__PURE__ */ React45.createElement(StylesField, { bind: "order", propDisplayName: ORDER_LABEL }, /* @__PURE__ */ React45.createElement(UiProviders, null, /* @__PURE__ */ React45.createElement(SectionContent, null, /* @__PURE__ */ React45.createElement(FlexOrderFieldContent, null))));
3486
+ return /* @__PURE__ */ React44.createElement(StylesField, { bind: "order", propDisplayName: ORDER_LABEL }, /* @__PURE__ */ React44.createElement(UiProviders, null, /* @__PURE__ */ React44.createElement(SectionContent, null, /* @__PURE__ */ React44.createElement(FlexOrderFieldContent, null))));
3519
3487
  };
3520
3488
  function FlexOrderFieldContent() {
3521
3489
  const {
@@ -3528,8 +3496,8 @@ function FlexOrderFieldContent() {
3528
3496
  const { placeholder } = useBoundProp2();
3529
3497
  const placeholderValue = placeholder;
3530
3498
  const currentGroup = useMemo8(() => getGroupControlValue(order?.value ?? null), [order]);
3531
- const [activeGroup, setActiveGroup] = useState8(currentGroup);
3532
- const [customLocked, setCustomLocked] = useState8(false);
3499
+ const [activeGroup, setActiveGroup] = useState7(currentGroup);
3500
+ const [customLocked, setCustomLocked] = useState7(false);
3533
3501
  useEffect4(() => {
3534
3502
  if (!customLocked) {
3535
3503
  setActiveGroup(currentGroup);
@@ -3560,7 +3528,7 @@ function FlexOrderFieldContent() {
3560
3528
  };
3561
3529
  const isCustomVisible = CUSTOM === activeGroup || CUSTOM === groupPlaceholder;
3562
3530
  const orderPlaceholder = CUSTOM === groupPlaceholder ? String(placeholderValue?.value ?? null) : "";
3563
- return /* @__PURE__ */ React45.createElement(React45.Fragment, null, /* @__PURE__ */ React45.createElement(StylesFieldLayout, { label: ORDER_LABEL }, /* @__PURE__ */ React45.createElement(
3531
+ return /* @__PURE__ */ React44.createElement(React44.Fragment, null, /* @__PURE__ */ React44.createElement(StylesFieldLayout, { label: ORDER_LABEL }, /* @__PURE__ */ React44.createElement(
3564
3532
  ControlToggleButtonGroup,
3565
3533
  {
3566
3534
  items,
@@ -3570,7 +3538,7 @@ function FlexOrderFieldContent() {
3570
3538
  placeholder: groupPlaceholder,
3571
3539
  disabled: !canEdit
3572
3540
  }
3573
- )), isCustomVisible && /* @__PURE__ */ React45.createElement(Grid2, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React45.createElement(Grid2, { item: true, xs: 6 }, /* @__PURE__ */ React45.createElement(ControlLabel, null, __23("Custom order", "elementor"))), /* @__PURE__ */ React45.createElement(Grid2, { item: true, xs: 6, sx: { display: "flex", justifyContent: "end" } }, /* @__PURE__ */ React45.createElement(
3541
+ )), isCustomVisible && /* @__PURE__ */ React44.createElement(Grid2, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React44.createElement(Grid2, { item: true, xs: 6 }, /* @__PURE__ */ React44.createElement(ControlLabel, null, __22("Custom order", "elementor"))), /* @__PURE__ */ React44.createElement(Grid2, { item: true, xs: 6, sx: { display: "flex", justifyContent: "end" } }, /* @__PURE__ */ React44.createElement(
3574
3542
  NumberControl2,
3575
3543
  {
3576
3544
  min: FIRST_DEFAULT_VALUE + 1,
@@ -3594,8 +3562,8 @@ var getGroupControlValue = (order) => {
3594
3562
  };
3595
3563
 
3596
3564
  // src/components/style-sections/layout-section/flex-size-field.tsx
3597
- import * as React46 from "react";
3598
- import { useEffect as useEffect5, useMemo as useMemo9, useRef as useRef6, useState as useState9 } from "react";
3565
+ import * as React45 from "react";
3566
+ import { useEffect as useEffect5, useMemo as useMemo9, useRef as useRef6, useState as useState8 } from "react";
3599
3567
  import {
3600
3568
  ControlToggleButtonGroup as ControlToggleButtonGroup2,
3601
3569
  NumberControl as NumberControl3,
@@ -3606,31 +3574,31 @@ import {
3606
3574
  } from "@elementor/editor-controls";
3607
3575
  import { flexPropTypeUtil, numberPropTypeUtil as numberPropTypeUtil2, sizePropTypeUtil as sizePropTypeUtil2 } from "@elementor/editor-props";
3608
3576
  import { ExpandIcon, PencilIcon as PencilIcon2, ShrinkIcon } from "@elementor/icons";
3609
- import { __ as __24 } from "@wordpress/i18n";
3610
- var FLEX_SIZE_LABEL = __24("Flex Size", "elementor");
3577
+ import { __ as __23 } from "@wordpress/i18n";
3578
+ var FLEX_SIZE_LABEL = __23("Flex Size", "elementor");
3611
3579
  var DEFAULT = 1;
3612
3580
  var items2 = [
3613
3581
  {
3614
3582
  value: "flex-grow",
3615
- label: __24("Grow", "elementor"),
3616
- renderContent: ({ size }) => /* @__PURE__ */ React46.createElement(ExpandIcon, { fontSize: size }),
3583
+ label: __23("Grow", "elementor"),
3584
+ renderContent: ({ size }) => /* @__PURE__ */ React45.createElement(ExpandIcon, { fontSize: size }),
3617
3585
  showTooltip: true
3618
3586
  },
3619
3587
  {
3620
3588
  value: "flex-shrink",
3621
- label: __24("Shrink", "elementor"),
3622
- renderContent: ({ size }) => /* @__PURE__ */ React46.createElement(ShrinkIcon, { fontSize: size }),
3589
+ label: __23("Shrink", "elementor"),
3590
+ renderContent: ({ size }) => /* @__PURE__ */ React45.createElement(ShrinkIcon, { fontSize: size }),
3623
3591
  showTooltip: true
3624
3592
  },
3625
3593
  {
3626
3594
  value: "custom",
3627
- label: __24("Custom", "elementor"),
3628
- renderContent: ({ size }) => /* @__PURE__ */ React46.createElement(PencilIcon2, { fontSize: size }),
3595
+ label: __23("Custom", "elementor"),
3596
+ renderContent: ({ size }) => /* @__PURE__ */ React45.createElement(PencilIcon2, { fontSize: size }),
3629
3597
  showTooltip: true
3630
3598
  }
3631
3599
  ];
3632
3600
  var FlexSizeField = () => {
3633
- return /* @__PURE__ */ React46.createElement(UiProviders, null, /* @__PURE__ */ React46.createElement(SectionContent, null, /* @__PURE__ */ React46.createElement(StylesField, { bind: "flex", propDisplayName: FLEX_SIZE_LABEL }, /* @__PURE__ */ React46.createElement(FlexSizeFieldContent, null))));
3601
+ return /* @__PURE__ */ React45.createElement(UiProviders, null, /* @__PURE__ */ React45.createElement(SectionContent, null, /* @__PURE__ */ React45.createElement(StylesField, { bind: "flex", propDisplayName: FLEX_SIZE_LABEL }, /* @__PURE__ */ React45.createElement(FlexSizeFieldContent, null))));
3634
3602
  };
3635
3603
  var FlexSizeFieldContent = () => {
3636
3604
  const { value, setValue, canEdit } = useStylesField("flex", {
@@ -3639,8 +3607,8 @@ var FlexSizeFieldContent = () => {
3639
3607
  const { placeholder } = useBoundProp3();
3640
3608
  const flexValues = extractFlexValues(value);
3641
3609
  const currentGroup = useMemo9(() => getActiveGroup(flexValues), [flexValues]);
3642
- const [activeGroup, setActiveGroup] = useState9(currentGroup);
3643
- const [customLocked, setCustomLocked] = useState9(false);
3610
+ const [activeGroup, setActiveGroup] = useState8(currentGroup);
3611
+ const [customLocked, setCustomLocked] = useState8(false);
3644
3612
  useEffect5(() => {
3645
3613
  if (!customLocked) {
3646
3614
  setActiveGroup(currentGroup);
@@ -3659,7 +3627,7 @@ var FlexSizeFieldContent = () => {
3659
3627
  };
3660
3628
  const groupPlaceholder = getActiveGroup(extractFlexValues(placeholder));
3661
3629
  const isCustomVisible = "custom" === activeGroup || "custom" === groupPlaceholder;
3662
- return /* @__PURE__ */ React46.createElement(React46.Fragment, null, /* @__PURE__ */ React46.createElement(StylesFieldLayout, { label: FLEX_SIZE_LABEL }, /* @__PURE__ */ React46.createElement(
3630
+ return /* @__PURE__ */ React45.createElement(React45.Fragment, null, /* @__PURE__ */ React45.createElement(StylesFieldLayout, { label: FLEX_SIZE_LABEL }, /* @__PURE__ */ React45.createElement(
3663
3631
  ControlToggleButtonGroup2,
3664
3632
  {
3665
3633
  value: activeGroup ?? null,
@@ -3669,7 +3637,7 @@ var FlexSizeFieldContent = () => {
3669
3637
  items: items2,
3670
3638
  exclusive: true
3671
3639
  }
3672
- )), isCustomVisible && /* @__PURE__ */ React46.createElement(FlexCustomField, null));
3640
+ )), isCustomVisible && /* @__PURE__ */ React45.createElement(FlexCustomField, null));
3673
3641
  };
3674
3642
  function extractFlexValues(source) {
3675
3643
  return {
@@ -3711,7 +3679,7 @@ var createFlexValueForGroup = (group, flexValue) => {
3711
3679
  var FlexCustomField = () => {
3712
3680
  const flexBasisRowRef = useRef6(null);
3713
3681
  const context = useBoundProp3(flexPropTypeUtil);
3714
- return /* @__PURE__ */ React46.createElement(PropProvider3, { ...context }, /* @__PURE__ */ React46.createElement(React46.Fragment, null, /* @__PURE__ */ React46.createElement(StylesFieldLayout, { label: __24("Grow", "elementor") }, /* @__PURE__ */ React46.createElement(PropKeyProvider3, { bind: "flexGrow" }, /* @__PURE__ */ React46.createElement(NumberControl3, { min: 0, shouldForceInt: true }))), /* @__PURE__ */ React46.createElement(StylesFieldLayout, { label: __24("Shrink", "elementor") }, /* @__PURE__ */ React46.createElement(PropKeyProvider3, { bind: "flexShrink" }, /* @__PURE__ */ React46.createElement(NumberControl3, { min: 0, shouldForceInt: true }))), /* @__PURE__ */ React46.createElement(StylesFieldLayout, { label: __24("Basis", "elementor"), ref: flexBasisRowRef }, /* @__PURE__ */ React46.createElement(PropKeyProvider3, { bind: "flexBasis" }, /* @__PURE__ */ React46.createElement(SizeControl3, { extendedOptions: ["auto"], anchorRef: flexBasisRowRef })))));
3682
+ return /* @__PURE__ */ React45.createElement(PropProvider3, { ...context }, /* @__PURE__ */ React45.createElement(React45.Fragment, null, /* @__PURE__ */ React45.createElement(StylesFieldLayout, { label: __23("Grow", "elementor") }, /* @__PURE__ */ React45.createElement(PropKeyProvider3, { bind: "flexGrow" }, /* @__PURE__ */ React45.createElement(NumberControl3, { min: 0, shouldForceInt: true }))), /* @__PURE__ */ React45.createElement(StylesFieldLayout, { label: __23("Shrink", "elementor") }, /* @__PURE__ */ React45.createElement(PropKeyProvider3, { bind: "flexShrink" }, /* @__PURE__ */ React45.createElement(NumberControl3, { min: 0, shouldForceInt: true }))), /* @__PURE__ */ React45.createElement(StylesFieldLayout, { label: __23("Basis", "elementor"), ref: flexBasisRowRef }, /* @__PURE__ */ React45.createElement(PropKeyProvider3, { bind: "flexBasis" }, /* @__PURE__ */ React45.createElement(SizeControl3, { extendedOptions: ["auto"], anchorRef: flexBasisRowRef })))));
3715
3683
  };
3716
3684
  var getActiveGroup = ({
3717
3685
  grow,
@@ -3735,16 +3703,16 @@ var getActiveGroup = ({
3735
3703
  };
3736
3704
 
3737
3705
  // src/components/style-sections/layout-section/gap-control-field.tsx
3738
- import * as React47 from "react";
3706
+ import * as React46 from "react";
3739
3707
  import { GapControl } from "@elementor/editor-controls";
3740
- import { __ as __25 } from "@wordpress/i18n";
3741
- var GAPS_LABEL = __25("Gaps", "elementor");
3708
+ import { __ as __24 } from "@wordpress/i18n";
3709
+ var GAPS_LABEL = __24("Gaps", "elementor");
3742
3710
  var GapControlField = () => {
3743
- return /* @__PURE__ */ React47.createElement(StylesField, { bind: "gap", propDisplayName: GAPS_LABEL }, /* @__PURE__ */ React47.createElement(GapControl, { label: GAPS_LABEL }));
3711
+ return /* @__PURE__ */ React46.createElement(StylesField, { bind: "gap", propDisplayName: GAPS_LABEL }, /* @__PURE__ */ React46.createElement(GapControl, { label: GAPS_LABEL }));
3744
3712
  };
3745
3713
 
3746
3714
  // src/components/style-sections/layout-section/justify-content-field.tsx
3747
- import * as React48 from "react";
3715
+ import * as React47 from "react";
3748
3716
  import { ToggleControl as ToggleControl7 } from "@elementor/editor-controls";
3749
3717
  import {
3750
3718
  JustifyBottomIcon as JustifyBottomIcon2,
@@ -3755,8 +3723,8 @@ import {
3755
3723
  JustifyTopIcon as JustifyTopIcon2
3756
3724
  } from "@elementor/icons";
3757
3725
  import { withDirection as withDirection7 } from "@elementor/ui";
3758
- import { __ as __26 } from "@wordpress/i18n";
3759
- var JUSTIFY_CONTENT_LABEL = __26("Justify content", "elementor");
3726
+ import { __ as __25 } from "@wordpress/i18n";
3727
+ var JUSTIFY_CONTENT_LABEL = __25("Justify content", "elementor");
3760
3728
  var StartIcon4 = withDirection7(JustifyTopIcon2);
3761
3729
  var EndIcon4 = withDirection7(JustifyBottomIcon2);
3762
3730
  var iconProps4 = {
@@ -3766,76 +3734,76 @@ var iconProps4 = {
3766
3734
  var options4 = [
3767
3735
  {
3768
3736
  value: "flex-start",
3769
- label: __26("Start", "elementor"),
3770
- renderContent: ({ size }) => /* @__PURE__ */ React48.createElement(RotatedIcon, { icon: StartIcon4, size, ...iconProps4 }),
3737
+ label: __25("Start", "elementor"),
3738
+ renderContent: ({ size }) => /* @__PURE__ */ React47.createElement(RotatedIcon, { icon: StartIcon4, size, ...iconProps4 }),
3771
3739
  showTooltip: true
3772
3740
  },
3773
3741
  {
3774
3742
  value: "center",
3775
- label: __26("Center", "elementor"),
3776
- renderContent: ({ size }) => /* @__PURE__ */ React48.createElement(RotatedIcon, { icon: CenterIcon4, size, ...iconProps4 }),
3743
+ label: __25("Center", "elementor"),
3744
+ renderContent: ({ size }) => /* @__PURE__ */ React47.createElement(RotatedIcon, { icon: CenterIcon4, size, ...iconProps4 }),
3777
3745
  showTooltip: true
3778
3746
  },
3779
3747
  {
3780
3748
  value: "flex-end",
3781
- label: __26("End", "elementor"),
3782
- renderContent: ({ size }) => /* @__PURE__ */ React48.createElement(RotatedIcon, { icon: EndIcon4, size, ...iconProps4 }),
3749
+ label: __25("End", "elementor"),
3750
+ renderContent: ({ size }) => /* @__PURE__ */ React47.createElement(RotatedIcon, { icon: EndIcon4, size, ...iconProps4 }),
3783
3751
  showTooltip: true
3784
3752
  },
3785
3753
  {
3786
3754
  value: "space-between",
3787
- label: __26("Space between", "elementor"),
3788
- renderContent: ({ size }) => /* @__PURE__ */ React48.createElement(RotatedIcon, { icon: BetweenIcon2, size, ...iconProps4 }),
3755
+ label: __25("Space between", "elementor"),
3756
+ renderContent: ({ size }) => /* @__PURE__ */ React47.createElement(RotatedIcon, { icon: BetweenIcon2, size, ...iconProps4 }),
3789
3757
  showTooltip: true
3790
3758
  },
3791
3759
  {
3792
3760
  value: "space-around",
3793
- label: __26("Space around", "elementor"),
3794
- renderContent: ({ size }) => /* @__PURE__ */ React48.createElement(RotatedIcon, { icon: AroundIcon2, size, ...iconProps4 }),
3761
+ label: __25("Space around", "elementor"),
3762
+ renderContent: ({ size }) => /* @__PURE__ */ React47.createElement(RotatedIcon, { icon: AroundIcon2, size, ...iconProps4 }),
3795
3763
  showTooltip: true
3796
3764
  },
3797
3765
  {
3798
3766
  value: "space-evenly",
3799
- label: __26("Space evenly", "elementor"),
3800
- renderContent: ({ size }) => /* @__PURE__ */ React48.createElement(RotatedIcon, { icon: EvenlyIcon2, size, ...iconProps4 }),
3767
+ label: __25("Space evenly", "elementor"),
3768
+ renderContent: ({ size }) => /* @__PURE__ */ React47.createElement(RotatedIcon, { icon: EvenlyIcon2, size, ...iconProps4 }),
3801
3769
  showTooltip: true
3802
3770
  }
3803
3771
  ];
3804
- var JustifyContentField = () => /* @__PURE__ */ React48.createElement(StylesField, { bind: "justify-content", propDisplayName: JUSTIFY_CONTENT_LABEL }, /* @__PURE__ */ React48.createElement(UiProviders, null, /* @__PURE__ */ React48.createElement(StylesFieldLayout, { label: JUSTIFY_CONTENT_LABEL, direction: "column" }, /* @__PURE__ */ React48.createElement(ToggleControl7, { options: options4, fullWidth: true }))));
3772
+ var JustifyContentField = () => /* @__PURE__ */ React47.createElement(StylesField, { bind: "justify-content", propDisplayName: JUSTIFY_CONTENT_LABEL }, /* @__PURE__ */ React47.createElement(UiProviders, null, /* @__PURE__ */ React47.createElement(StylesFieldLayout, { label: JUSTIFY_CONTENT_LABEL, direction: "column" }, /* @__PURE__ */ React47.createElement(ToggleControl7, { options: options4, fullWidth: true }))));
3805
3773
 
3806
3774
  // src/components/style-sections/layout-section/wrap-field.tsx
3807
- import * as React49 from "react";
3775
+ import * as React48 from "react";
3808
3776
  import { ToggleControl as ToggleControl8 } from "@elementor/editor-controls";
3809
3777
  import { ArrowBackIcon, ArrowForwardIcon, ArrowRightIcon as ArrowRightIcon2 } from "@elementor/icons";
3810
- import { __ as __27 } from "@wordpress/i18n";
3811
- var FLEX_WRAP_LABEL = __27("Wrap", "elementor");
3778
+ import { __ as __26 } from "@wordpress/i18n";
3779
+ var FLEX_WRAP_LABEL = __26("Wrap", "elementor");
3812
3780
  var options5 = [
3813
3781
  {
3814
3782
  value: "nowrap",
3815
- label: __27("No wrap", "elementor"),
3816
- renderContent: ({ size }) => /* @__PURE__ */ React49.createElement(ArrowRightIcon2, { fontSize: size }),
3783
+ label: __26("No wrap", "elementor"),
3784
+ renderContent: ({ size }) => /* @__PURE__ */ React48.createElement(ArrowRightIcon2, { fontSize: size }),
3817
3785
  showTooltip: true
3818
3786
  },
3819
3787
  {
3820
3788
  value: "wrap",
3821
- label: __27("Wrap", "elementor"),
3822
- renderContent: ({ size }) => /* @__PURE__ */ React49.createElement(ArrowBackIcon, { fontSize: size }),
3789
+ label: __26("Wrap", "elementor"),
3790
+ renderContent: ({ size }) => /* @__PURE__ */ React48.createElement(ArrowBackIcon, { fontSize: size }),
3823
3791
  showTooltip: true
3824
3792
  },
3825
3793
  {
3826
3794
  value: "wrap-reverse",
3827
- label: __27("Reversed wrap", "elementor"),
3828
- renderContent: ({ size }) => /* @__PURE__ */ React49.createElement(ArrowForwardIcon, { fontSize: size }),
3795
+ label: __26("Reversed wrap", "elementor"),
3796
+ renderContent: ({ size }) => /* @__PURE__ */ React48.createElement(ArrowForwardIcon, { fontSize: size }),
3829
3797
  showTooltip: true
3830
3798
  }
3831
3799
  ];
3832
3800
  var WrapField = () => {
3833
- return /* @__PURE__ */ React49.createElement(StylesField, { bind: "flex-wrap", propDisplayName: FLEX_WRAP_LABEL }, /* @__PURE__ */ React49.createElement(UiProviders, null, /* @__PURE__ */ React49.createElement(StylesFieldLayout, { label: FLEX_WRAP_LABEL }, /* @__PURE__ */ React49.createElement(ToggleControl8, { options: options5 }))));
3801
+ return /* @__PURE__ */ React48.createElement(StylesField, { bind: "flex-wrap", propDisplayName: FLEX_WRAP_LABEL }, /* @__PURE__ */ React48.createElement(UiProviders, null, /* @__PURE__ */ React48.createElement(StylesFieldLayout, { label: FLEX_WRAP_LABEL }, /* @__PURE__ */ React48.createElement(ToggleControl8, { options: options5 }))));
3834
3802
  };
3835
3803
 
3836
3804
  // src/components/style-sections/layout-section/layout-section.tsx
3837
- var DISPLAY_LABEL2 = __28("Display", "elementor");
3838
- var FLEX_WRAP_LABEL2 = __28("Flex wrap", "elementor");
3805
+ var DISPLAY_LABEL2 = __27("Display", "elementor");
3806
+ var FLEX_WRAP_LABEL2 = __27("Flex wrap", "elementor");
3839
3807
  var LayoutSection = () => {
3840
3808
  const { value: display } = useStylesField("display", {
3841
3809
  history: { propDisplayName: DISPLAY_LABEL2 }
@@ -3846,15 +3814,15 @@ var LayoutSection = () => {
3846
3814
  const parent = useParentElement(element.id);
3847
3815
  const parentStyle = useComputedStyle(parent?.id || null);
3848
3816
  const parentStyleDirection = parentStyle?.flexDirection ?? "row";
3849
- return /* @__PURE__ */ React50.createElement(SectionContent, null, /* @__PURE__ */ React50.createElement(DisplayField, null), isDisplayFlex && /* @__PURE__ */ React50.createElement(FlexFields, null), "flex" === parentStyle?.display && /* @__PURE__ */ React50.createElement(FlexChildFields, { parentStyleDirection }));
3817
+ return /* @__PURE__ */ React49.createElement(SectionContent, null, /* @__PURE__ */ React49.createElement(DisplayField, null), isDisplayFlex && /* @__PURE__ */ React49.createElement(FlexFields, null), "flex" === parentStyle?.display && /* @__PURE__ */ React49.createElement(FlexChildFields, { parentStyleDirection }));
3850
3818
  };
3851
3819
  var FlexFields = () => {
3852
3820
  const { value: flexWrap } = useStylesField("flex-wrap", {
3853
3821
  history: { propDisplayName: FLEX_WRAP_LABEL2 }
3854
3822
  });
3855
- return /* @__PURE__ */ React50.createElement(React50.Fragment, null, /* @__PURE__ */ React50.createElement(FlexDirectionField, null), /* @__PURE__ */ React50.createElement(JustifyContentField, null), /* @__PURE__ */ React50.createElement(AlignItemsField, null), /* @__PURE__ */ React50.createElement(PanelDivider, null), /* @__PURE__ */ React50.createElement(GapControlField, null), /* @__PURE__ */ React50.createElement(WrapField, null), ["wrap", "wrap-reverse"].includes(flexWrap?.value) && /* @__PURE__ */ React50.createElement(AlignContentField, null));
3823
+ return /* @__PURE__ */ React49.createElement(React49.Fragment, null, /* @__PURE__ */ React49.createElement(FlexDirectionField, null), /* @__PURE__ */ React49.createElement(JustifyContentField, null), /* @__PURE__ */ React49.createElement(AlignItemsField, null), /* @__PURE__ */ React49.createElement(PanelDivider, null), /* @__PURE__ */ React49.createElement(GapControlField, null), /* @__PURE__ */ React49.createElement(WrapField, null), ["wrap", "wrap-reverse"].includes(flexWrap?.value) && /* @__PURE__ */ React49.createElement(AlignContentField, null));
3856
3824
  };
3857
- var FlexChildFields = ({ parentStyleDirection }) => /* @__PURE__ */ React50.createElement(React50.Fragment, null, /* @__PURE__ */ React50.createElement(PanelDivider, null), /* @__PURE__ */ React50.createElement(ControlFormLabel2, null, __28("Flex child", "elementor")), /* @__PURE__ */ React50.createElement(AlignSelfChild, { parentStyleDirection }), /* @__PURE__ */ React50.createElement(FlexOrderField, null), /* @__PURE__ */ React50.createElement(FlexSizeField, null));
3825
+ var FlexChildFields = ({ parentStyleDirection }) => /* @__PURE__ */ React49.createElement(React49.Fragment, null, /* @__PURE__ */ React49.createElement(PanelDivider, null), /* @__PURE__ */ React49.createElement(ControlFormLabel2, null, __27("Flex child", "elementor")), /* @__PURE__ */ React49.createElement(AlignSelfChild, { parentStyleDirection }), /* @__PURE__ */ React49.createElement(FlexOrderField, null), /* @__PURE__ */ React49.createElement(FlexSizeField, null));
3858
3826
  var shouldDisplayFlexFields = (display, local) => {
3859
3827
  const value = display?.value ?? local?.value;
3860
3828
  if (!value) {
@@ -3864,38 +3832,38 @@ var shouldDisplayFlexFields = (display, local) => {
3864
3832
  };
3865
3833
 
3866
3834
  // src/components/style-sections/position-section/position-section.tsx
3867
- import * as React55 from "react";
3835
+ import * as React54 from "react";
3868
3836
  import { useSessionStorage as useSessionStorage3 } from "@elementor/session";
3869
- import { __ as __33 } from "@wordpress/i18n";
3837
+ import { __ as __32 } from "@wordpress/i18n";
3870
3838
 
3871
3839
  // src/components/style-sections/position-section/dimensions-field.tsx
3872
- import * as React51 from "react";
3840
+ import * as React50 from "react";
3873
3841
  import { useRef as useRef7 } from "react";
3874
3842
  import { SizeControl as SizeControl4 } from "@elementor/editor-controls";
3875
3843
  import { SideBottomIcon as SideBottomIcon2, SideLeftIcon as SideLeftIcon2, SideRightIcon as SideRightIcon2, SideTopIcon as SideTopIcon2 } from "@elementor/icons";
3876
- import { Grid as Grid3, Stack as Stack9, withDirection as withDirection8 } from "@elementor/ui";
3877
- import { __ as __29 } from "@wordpress/i18n";
3844
+ import { Grid as Grid3, Stack as Stack8, withDirection as withDirection8 } from "@elementor/ui";
3845
+ import { __ as __28 } from "@wordpress/i18n";
3878
3846
  var InlineStartIcon2 = withDirection8(SideLeftIcon2);
3879
3847
  var InlineEndIcon2 = withDirection8(SideRightIcon2);
3880
3848
  var sideIcons = {
3881
- "inset-block-start": /* @__PURE__ */ React51.createElement(SideTopIcon2, { fontSize: "tiny" }),
3882
- "inset-block-end": /* @__PURE__ */ React51.createElement(SideBottomIcon2, { fontSize: "tiny" }),
3883
- "inset-inline-start": /* @__PURE__ */ React51.createElement(RotatedIcon, { icon: InlineStartIcon2, size: "tiny" }),
3884
- "inset-inline-end": /* @__PURE__ */ React51.createElement(RotatedIcon, { icon: InlineEndIcon2, size: "tiny" })
3849
+ "inset-block-start": /* @__PURE__ */ React50.createElement(SideTopIcon2, { fontSize: "tiny" }),
3850
+ "inset-block-end": /* @__PURE__ */ React50.createElement(SideBottomIcon2, { fontSize: "tiny" }),
3851
+ "inset-inline-start": /* @__PURE__ */ React50.createElement(RotatedIcon, { icon: InlineStartIcon2, size: "tiny" }),
3852
+ "inset-inline-end": /* @__PURE__ */ React50.createElement(RotatedIcon, { icon: InlineEndIcon2, size: "tiny" })
3885
3853
  };
3886
- var getInlineStartLabel = (isSiteRtl) => isSiteRtl ? __29("Right", "elementor") : __29("Left", "elementor");
3887
- var getInlineEndLabel = (isSiteRtl) => isSiteRtl ? __29("Left", "elementor") : __29("Right", "elementor");
3854
+ var getInlineStartLabel = (isSiteRtl) => isSiteRtl ? __28("Right", "elementor") : __28("Left", "elementor");
3855
+ var getInlineEndLabel = (isSiteRtl) => isSiteRtl ? __28("Left", "elementor") : __28("Right", "elementor");
3888
3856
  var DimensionsField = () => {
3889
3857
  const { isSiteRtl } = useDirection();
3890
3858
  const rowRefs = [useRef7(null), useRef7(null)];
3891
- return /* @__PURE__ */ React51.createElement(UiProviders, null, /* @__PURE__ */ React51.createElement(Stack9, { direction: "row", gap: 2, flexWrap: "nowrap", ref: rowRefs[0] }, /* @__PURE__ */ React51.createElement(DimensionField, { side: "inset-block-start", label: __29("Top", "elementor"), rowRef: rowRefs[0] }), /* @__PURE__ */ React51.createElement(
3859
+ return /* @__PURE__ */ React50.createElement(UiProviders, null, /* @__PURE__ */ React50.createElement(Stack8, { direction: "row", gap: 2, flexWrap: "nowrap", ref: rowRefs[0] }, /* @__PURE__ */ React50.createElement(DimensionField, { side: "inset-block-start", label: __28("Top", "elementor"), rowRef: rowRefs[0] }), /* @__PURE__ */ React50.createElement(
3892
3860
  DimensionField,
3893
3861
  {
3894
3862
  side: "inset-inline-end",
3895
3863
  label: getInlineEndLabel(isSiteRtl),
3896
3864
  rowRef: rowRefs[0]
3897
3865
  }
3898
- )), /* @__PURE__ */ React51.createElement(Stack9, { direction: "row", gap: 2, flexWrap: "nowrap", ref: rowRefs[1] }, /* @__PURE__ */ React51.createElement(DimensionField, { side: "inset-block-end", label: __29("Bottom", "elementor"), rowRef: rowRefs[1] }), /* @__PURE__ */ React51.createElement(
3866
+ )), /* @__PURE__ */ React50.createElement(Stack8, { direction: "row", gap: 2, flexWrap: "nowrap", ref: rowRefs[1] }, /* @__PURE__ */ React50.createElement(DimensionField, { side: "inset-block-end", label: __28("Bottom", "elementor"), rowRef: rowRefs[1] }), /* @__PURE__ */ React50.createElement(
3899
3867
  DimensionField,
3900
3868
  {
3901
3869
  side: "inset-inline-start",
@@ -3908,7 +3876,7 @@ var DimensionField = ({
3908
3876
  side,
3909
3877
  label,
3910
3878
  rowRef
3911
- }) => /* @__PURE__ */ React51.createElement(StylesField, { bind: side, propDisplayName: label }, /* @__PURE__ */ React51.createElement(Grid3, { container: true, gap: 0.75, alignItems: "center" }, /* @__PURE__ */ React51.createElement(Grid3, { item: true, xs: 12 }, /* @__PURE__ */ React51.createElement(ControlLabel, null, label)), /* @__PURE__ */ React51.createElement(Grid3, { item: true, xs: 12 }, /* @__PURE__ */ React51.createElement(
3879
+ }) => /* @__PURE__ */ React50.createElement(StylesField, { bind: side, propDisplayName: label }, /* @__PURE__ */ React50.createElement(Grid3, { container: true, gap: 0.75, alignItems: "center" }, /* @__PURE__ */ React50.createElement(Grid3, { item: true, xs: 12 }, /* @__PURE__ */ React50.createElement(ControlLabel, null, label)), /* @__PURE__ */ React50.createElement(Grid3, { item: true, xs: 12 }, /* @__PURE__ */ React50.createElement(
3912
3880
  SizeControl4,
3913
3881
  {
3914
3882
  startIcon: sideIcons[side],
@@ -3919,45 +3887,45 @@ var DimensionField = ({
3919
3887
  ))));
3920
3888
 
3921
3889
  // src/components/style-sections/position-section/offset-field.tsx
3922
- import * as React52 from "react";
3890
+ import * as React51 from "react";
3923
3891
  import { useRef as useRef8 } from "react";
3924
3892
  import { SizeControl as SizeControl5 } from "@elementor/editor-controls";
3925
- import { __ as __30 } from "@wordpress/i18n";
3926
- var OFFSET_LABEL = __30("Anchor offset", "elementor");
3893
+ import { __ as __29 } from "@wordpress/i18n";
3894
+ var OFFSET_LABEL = __29("Anchor offset", "elementor");
3927
3895
  var UNITS = ["px", "em", "rem", "vw", "vh"];
3928
3896
  var OffsetField = () => {
3929
3897
  const rowRef = useRef8(null);
3930
- return /* @__PURE__ */ React52.createElement(StylesField, { bind: "scroll-margin-top", propDisplayName: OFFSET_LABEL }, /* @__PURE__ */ React52.createElement(StylesFieldLayout, { label: OFFSET_LABEL, ref: rowRef }, /* @__PURE__ */ React52.createElement(SizeControl5, { units: UNITS, anchorRef: rowRef })));
3898
+ return /* @__PURE__ */ React51.createElement(StylesField, { bind: "scroll-margin-top", propDisplayName: OFFSET_LABEL }, /* @__PURE__ */ React51.createElement(StylesFieldLayout, { label: OFFSET_LABEL, ref: rowRef }, /* @__PURE__ */ React51.createElement(SizeControl5, { units: UNITS, anchorRef: rowRef })));
3931
3899
  };
3932
3900
 
3933
3901
  // src/components/style-sections/position-section/position-field.tsx
3934
- import * as React53 from "react";
3902
+ import * as React52 from "react";
3935
3903
  import { SelectControl as SelectControl3 } from "@elementor/editor-controls";
3936
- import { __ as __31 } from "@wordpress/i18n";
3937
- var POSITION_LABEL = __31("Position", "elementor");
3904
+ import { __ as __30 } from "@wordpress/i18n";
3905
+ var POSITION_LABEL = __30("Position", "elementor");
3938
3906
  var positionOptions = [
3939
- { label: __31("Static", "elementor"), value: "static" },
3940
- { label: __31("Relative", "elementor"), value: "relative" },
3941
- { label: __31("Absolute", "elementor"), value: "absolute" },
3942
- { label: __31("Fixed", "elementor"), value: "fixed" },
3943
- { label: __31("Sticky", "elementor"), value: "sticky" }
3907
+ { label: __30("Static", "elementor"), value: "static" },
3908
+ { label: __30("Relative", "elementor"), value: "relative" },
3909
+ { label: __30("Absolute", "elementor"), value: "absolute" },
3910
+ { label: __30("Fixed", "elementor"), value: "fixed" },
3911
+ { label: __30("Sticky", "elementor"), value: "sticky" }
3944
3912
  ];
3945
3913
  var PositionField = ({ onChange }) => {
3946
- return /* @__PURE__ */ React53.createElement(StylesField, { bind: "position", propDisplayName: POSITION_LABEL }, /* @__PURE__ */ React53.createElement(StylesFieldLayout, { label: POSITION_LABEL }, /* @__PURE__ */ React53.createElement(SelectControl3, { options: positionOptions, onChange })));
3914
+ return /* @__PURE__ */ React52.createElement(StylesField, { bind: "position", propDisplayName: POSITION_LABEL }, /* @__PURE__ */ React52.createElement(StylesFieldLayout, { label: POSITION_LABEL }, /* @__PURE__ */ React52.createElement(SelectControl3, { options: positionOptions, onChange })));
3947
3915
  };
3948
3916
 
3949
3917
  // src/components/style-sections/position-section/z-index-field.tsx
3950
- import * as React54 from "react";
3918
+ import * as React53 from "react";
3951
3919
  import { NumberControl as NumberControl4 } from "@elementor/editor-controls";
3952
- import { __ as __32 } from "@wordpress/i18n";
3953
- var Z_INDEX_LABEL = __32("Z-index", "elementor");
3920
+ import { __ as __31 } from "@wordpress/i18n";
3921
+ var Z_INDEX_LABEL = __31("Z-index", "elementor");
3954
3922
  var ZIndexField = () => {
3955
- return /* @__PURE__ */ React54.createElement(StylesField, { bind: "z-index", propDisplayName: Z_INDEX_LABEL }, /* @__PURE__ */ React54.createElement(StylesFieldLayout, { label: Z_INDEX_LABEL }, /* @__PURE__ */ React54.createElement(NumberControl4, null)));
3923
+ return /* @__PURE__ */ React53.createElement(StylesField, { bind: "z-index", propDisplayName: Z_INDEX_LABEL }, /* @__PURE__ */ React53.createElement(StylesFieldLayout, { label: Z_INDEX_LABEL }, /* @__PURE__ */ React53.createElement(NumberControl4, null)));
3956
3924
  };
3957
3925
 
3958
3926
  // src/components/style-sections/position-section/position-section.tsx
3959
- var POSITION_LABEL2 = __33("Position", "elementor");
3960
- var DIMENSIONS_LABEL = __33("Dimensions", "elementor");
3927
+ var POSITION_LABEL2 = __32("Position", "elementor");
3928
+ var DIMENSIONS_LABEL = __32("Dimensions", "elementor");
3961
3929
  var PositionSection = () => {
3962
3930
  const { value: positionValue } = useStylesField("position", {
3963
3931
  history: { propDisplayName: POSITION_LABEL2 }
@@ -3992,7 +3960,7 @@ var PositionSection = () => {
3992
3960
  }
3993
3961
  };
3994
3962
  const isNotStatic = positionValue && positionValue?.value !== "static";
3995
- return /* @__PURE__ */ React55.createElement(SectionContent, null, /* @__PURE__ */ React55.createElement(PositionField, { onChange: onPositionChange }), isNotStatic ? /* @__PURE__ */ React55.createElement(React55.Fragment, null, /* @__PURE__ */ React55.createElement(DimensionsField, null), /* @__PURE__ */ React55.createElement(ZIndexField, null)) : null, /* @__PURE__ */ React55.createElement(PanelDivider, null), /* @__PURE__ */ React55.createElement(OffsetField, null));
3963
+ return /* @__PURE__ */ React54.createElement(SectionContent, null, /* @__PURE__ */ React54.createElement(PositionField, { onChange: onPositionChange }), isNotStatic ? /* @__PURE__ */ React54.createElement(React54.Fragment, null, /* @__PURE__ */ React54.createElement(DimensionsField, null), /* @__PURE__ */ React54.createElement(ZIndexField, null)) : null, /* @__PURE__ */ React54.createElement(PanelDivider, null), /* @__PURE__ */ React54.createElement(OffsetField, null));
3996
3964
  };
3997
3965
  var usePersistDimensions = () => {
3998
3966
  const { id: styleDefID, meta } = useStyle();
@@ -4002,25 +3970,26 @@ var usePersistDimensions = () => {
4002
3970
  };
4003
3971
 
4004
3972
  // src/components/style-sections/size-section/size-section.tsx
4005
- import * as React60 from "react";
3973
+ import * as React59 from "react";
4006
3974
  import { useRef as useRef9 } from "react";
4007
3975
  import { AspectRatioControl, PositionControl, SizeControl as SizeControl6 } from "@elementor/editor-controls";
4008
- import { Grid as Grid4, Stack as Stack11 } from "@elementor/ui";
4009
- import { __ as __37 } from "@wordpress/i18n";
3976
+ import { Grid as Grid4, Stack as Stack10 } from "@elementor/ui";
3977
+ import { __ as __36 } from "@wordpress/i18n";
4010
3978
 
4011
3979
  // src/components/style-tab-collapsible-content.tsx
4012
- import * as React57 from "react";
3980
+ import * as React56 from "react";
3981
+ import { CollapsibleContent } from "@elementor/editor-ui";
4013
3982
 
4014
3983
  // src/styles-inheritance/components/styles-inheritance-section-indicators.tsx
4015
- import * as React56 from "react";
3984
+ import * as React55 from "react";
4016
3985
  import { isElementsStylesProvider as isElementsStylesProvider6 } from "@elementor/editor-styles-repository";
4017
- import { Stack as Stack10, Tooltip } from "@elementor/ui";
4018
- import { __ as __34 } from "@wordpress/i18n";
3986
+ import { Stack as Stack9, Tooltip } from "@elementor/ui";
3987
+ import { __ as __33 } from "@wordpress/i18n";
4019
3988
  var StylesInheritanceSectionIndicators = ({ fields }) => {
4020
3989
  const { id, meta, provider } = useStyle();
4021
3990
  const snapshot = useStylesInheritanceSnapshot();
4022
3991
  if (fields.includes("custom_css")) {
4023
- return /* @__PURE__ */ React56.createElement(CustomCssIndicator, null);
3992
+ return /* @__PURE__ */ React55.createElement(CustomCssIndicator, null);
4024
3993
  }
4025
3994
  const snapshotFields = Object.fromEntries(
4026
3995
  Object.entries(snapshot ?? {}).filter(([key]) => fields.includes(key))
@@ -4029,9 +3998,9 @@ var StylesInheritanceSectionIndicators = ({ fields }) => {
4029
3998
  if (!hasValues && !hasOverrides) {
4030
3999
  return null;
4031
4000
  }
4032
- const hasValueLabel = __34("Has effective styles", "elementor");
4033
- const hasOverridesLabel = __34("Has overridden styles", "elementor");
4034
- return /* @__PURE__ */ React56.createElement(Tooltip, { title: __34("Has styles", "elementor"), placement: "top" }, /* @__PURE__ */ React56.createElement(Stack10, { direction: "row", sx: { "& > *": { marginInlineStart: -0.25 } }, role: "list" }, hasValues && provider && /* @__PURE__ */ React56.createElement(
4001
+ const hasValueLabel = __33("Has effective styles", "elementor");
4002
+ const hasOverridesLabel = __33("Has overridden styles", "elementor");
4003
+ return /* @__PURE__ */ React55.createElement(Tooltip, { title: __33("Has styles", "elementor"), placement: "top" }, /* @__PURE__ */ React55.createElement(Stack9, { direction: "row", sx: { "& > *": { marginInlineStart: -0.25 } }, role: "list" }, hasValues && provider && /* @__PURE__ */ React55.createElement(
4035
4004
  StyleIndicator,
4036
4005
  {
4037
4006
  getColor: getStylesProviderThemeColor(provider.getKey()),
@@ -4039,7 +4008,7 @@ var StylesInheritanceSectionIndicators = ({ fields }) => {
4039
4008
  role: "listitem",
4040
4009
  "aria-label": hasValueLabel
4041
4010
  }
4042
- ), hasOverrides && /* @__PURE__ */ React56.createElement(
4011
+ ), hasOverrides && /* @__PURE__ */ React55.createElement(
4043
4012
  StyleIndicator,
4044
4013
  {
4045
4014
  isOverridden: true,
@@ -4079,59 +4048,59 @@ function getCurrentStyleFromChain(chain, styleId, meta) {
4079
4048
 
4080
4049
  // src/components/style-tab-collapsible-content.tsx
4081
4050
  var StyleTabCollapsibleContent = ({ fields = [], children }) => {
4082
- return /* @__PURE__ */ React57.createElement(CollapsibleContent, { titleEnd: getStylesInheritanceIndicators(fields) }, children);
4051
+ return /* @__PURE__ */ React56.createElement(CollapsibleContent, { titleEnd: getStylesInheritanceIndicators(fields) }, children);
4083
4052
  };
4084
4053
  function getStylesInheritanceIndicators(fields) {
4085
4054
  if (fields.length === 0) {
4086
4055
  return null;
4087
4056
  }
4088
- return (isOpen) => !isOpen ? /* @__PURE__ */ React57.createElement(StylesInheritanceSectionIndicators, { fields }) : null;
4057
+ return (isOpen) => !isOpen ? /* @__PURE__ */ React56.createElement(StylesInheritanceSectionIndicators, { fields }) : null;
4089
4058
  }
4090
4059
 
4091
4060
  // src/components/style-sections/size-section/object-fit-field.tsx
4092
- import * as React58 from "react";
4061
+ import * as React57 from "react";
4093
4062
  import { SelectControl as SelectControl4 } from "@elementor/editor-controls";
4094
- import { __ as __35 } from "@wordpress/i18n";
4095
- var OBJECT_FIT_LABEL = __35("Object fit", "elementor");
4063
+ import { __ as __34 } from "@wordpress/i18n";
4064
+ var OBJECT_FIT_LABEL = __34("Object fit", "elementor");
4096
4065
  var positionOptions2 = [
4097
- { label: __35("Fill", "elementor"), value: "fill" },
4098
- { label: __35("Cover", "elementor"), value: "cover" },
4099
- { label: __35("Contain", "elementor"), value: "contain" },
4100
- { label: __35("None", "elementor"), value: "none" },
4101
- { label: __35("Scale down", "elementor"), value: "scale-down" }
4066
+ { label: __34("Fill", "elementor"), value: "fill" },
4067
+ { label: __34("Cover", "elementor"), value: "cover" },
4068
+ { label: __34("Contain", "elementor"), value: "contain" },
4069
+ { label: __34("None", "elementor"), value: "none" },
4070
+ { label: __34("Scale down", "elementor"), value: "scale-down" }
4102
4071
  ];
4103
4072
  var ObjectFitField = () => {
4104
- return /* @__PURE__ */ React58.createElement(StylesField, { bind: "object-fit", propDisplayName: OBJECT_FIT_LABEL }, /* @__PURE__ */ React58.createElement(StylesFieldLayout, { label: OBJECT_FIT_LABEL }, /* @__PURE__ */ React58.createElement(SelectControl4, { options: positionOptions2 })));
4073
+ return /* @__PURE__ */ React57.createElement(StylesField, { bind: "object-fit", propDisplayName: OBJECT_FIT_LABEL }, /* @__PURE__ */ React57.createElement(StylesFieldLayout, { label: OBJECT_FIT_LABEL }, /* @__PURE__ */ React57.createElement(SelectControl4, { options: positionOptions2 })));
4105
4074
  };
4106
4075
 
4107
4076
  // src/components/style-sections/size-section/overflow-field.tsx
4108
- import * as React59 from "react";
4077
+ import * as React58 from "react";
4109
4078
  import { ToggleControl as ToggleControl9 } from "@elementor/editor-controls";
4110
4079
  import { EyeIcon, EyeOffIcon, LetterAIcon } from "@elementor/icons";
4111
- import { __ as __36 } from "@wordpress/i18n";
4112
- var OVERFLOW_LABEL = __36("Overflow", "elementor");
4080
+ import { __ as __35 } from "@wordpress/i18n";
4081
+ var OVERFLOW_LABEL = __35("Overflow", "elementor");
4113
4082
  var options6 = [
4114
4083
  {
4115
4084
  value: "visible",
4116
- label: __36("Visible", "elementor"),
4117
- renderContent: ({ size }) => /* @__PURE__ */ React59.createElement(EyeIcon, { fontSize: size }),
4085
+ label: __35("Visible", "elementor"),
4086
+ renderContent: ({ size }) => /* @__PURE__ */ React58.createElement(EyeIcon, { fontSize: size }),
4118
4087
  showTooltip: true
4119
4088
  },
4120
4089
  {
4121
4090
  value: "hidden",
4122
- label: __36("Hidden", "elementor"),
4123
- renderContent: ({ size }) => /* @__PURE__ */ React59.createElement(EyeOffIcon, { fontSize: size }),
4091
+ label: __35("Hidden", "elementor"),
4092
+ renderContent: ({ size }) => /* @__PURE__ */ React58.createElement(EyeOffIcon, { fontSize: size }),
4124
4093
  showTooltip: true
4125
4094
  },
4126
4095
  {
4127
4096
  value: "auto",
4128
- label: __36("Auto", "elementor"),
4129
- renderContent: ({ size }) => /* @__PURE__ */ React59.createElement(LetterAIcon, { fontSize: size }),
4097
+ label: __35("Auto", "elementor"),
4098
+ renderContent: ({ size }) => /* @__PURE__ */ React58.createElement(LetterAIcon, { fontSize: size }),
4130
4099
  showTooltip: true
4131
4100
  }
4132
4101
  ];
4133
4102
  var OverflowField = () => {
4134
- return /* @__PURE__ */ React59.createElement(StylesField, { bind: "overflow", propDisplayName: OVERFLOW_LABEL }, /* @__PURE__ */ React59.createElement(StylesFieldLayout, { label: OVERFLOW_LABEL }, /* @__PURE__ */ React59.createElement(ToggleControl9, { options: options6 })));
4103
+ return /* @__PURE__ */ React58.createElement(StylesField, { bind: "overflow", propDisplayName: OVERFLOW_LABEL }, /* @__PURE__ */ React58.createElement(StylesFieldLayout, { label: OVERFLOW_LABEL }, /* @__PURE__ */ React58.createElement(ToggleControl9, { options: options6 })));
4135
4104
  };
4136
4105
 
4137
4106
  // src/components/style-sections/size-section/size-section.tsx
@@ -4139,52 +4108,52 @@ var CssSizeProps = [
4139
4108
  [
4140
4109
  {
4141
4110
  bind: "width",
4142
- label: __37("Width", "elementor")
4111
+ label: __36("Width", "elementor")
4143
4112
  },
4144
4113
  {
4145
4114
  bind: "height",
4146
- label: __37("Height", "elementor")
4115
+ label: __36("Height", "elementor")
4147
4116
  }
4148
4117
  ],
4149
4118
  [
4150
4119
  {
4151
4120
  bind: "min-width",
4152
- label: __37("Min width", "elementor")
4121
+ label: __36("Min width", "elementor")
4153
4122
  },
4154
4123
  {
4155
4124
  bind: "min-height",
4156
- label: __37("Min height", "elementor")
4125
+ label: __36("Min height", "elementor")
4157
4126
  }
4158
4127
  ],
4159
4128
  [
4160
4129
  {
4161
4130
  bind: "max-width",
4162
- label: __37("Max width", "elementor")
4131
+ label: __36("Max width", "elementor")
4163
4132
  },
4164
4133
  {
4165
4134
  bind: "max-height",
4166
- label: __37("Max height", "elementor")
4135
+ label: __36("Max height", "elementor")
4167
4136
  }
4168
4137
  ]
4169
4138
  ];
4170
- var ASPECT_RATIO_LABEL = __37("Aspect Ratio", "elementor");
4139
+ var ASPECT_RATIO_LABEL = __36("Aspect Ratio", "elementor");
4171
4140
  var SizeSection = () => {
4172
4141
  const gridRowRefs = [useRef9(null), useRef9(null), useRef9(null)];
4173
- return /* @__PURE__ */ React60.createElement(SectionContent, null, CssSizeProps.map((row, rowIndex) => /* @__PURE__ */ React60.createElement(Grid4, { key: rowIndex, container: true, gap: 2, flexWrap: "nowrap", ref: gridRowRefs[rowIndex] }, row.map((props) => /* @__PURE__ */ React60.createElement(Grid4, { item: true, xs: 6, key: props.bind }, /* @__PURE__ */ React60.createElement(SizeField, { ...props, rowRef: gridRowRefs[rowIndex], extendedOptions: ["auto"] }))))), /* @__PURE__ */ React60.createElement(PanelDivider, null), /* @__PURE__ */ React60.createElement(Stack11, null, /* @__PURE__ */ React60.createElement(OverflowField, null)), /* @__PURE__ */ React60.createElement(StyleTabCollapsibleContent, { fields: ["aspect-ratio", "object-fit"] }, /* @__PURE__ */ React60.createElement(Stack11, { gap: 2, pt: 2 }, /* @__PURE__ */ React60.createElement(StylesField, { bind: "aspect-ratio", propDisplayName: ASPECT_RATIO_LABEL }, /* @__PURE__ */ React60.createElement(AspectRatioControl, { label: ASPECT_RATIO_LABEL })), /* @__PURE__ */ React60.createElement(PanelDivider, null), /* @__PURE__ */ React60.createElement(ObjectFitField, null), /* @__PURE__ */ React60.createElement(StylesField, { bind: "object-position", propDisplayName: __37("Object position", "elementor") }, /* @__PURE__ */ React60.createElement(Grid4, { item: true, xs: 6 }, /* @__PURE__ */ React60.createElement(PositionControl, null))))));
4142
+ return /* @__PURE__ */ React59.createElement(SectionContent, null, CssSizeProps.map((row, rowIndex) => /* @__PURE__ */ React59.createElement(Grid4, { key: rowIndex, container: true, gap: 2, flexWrap: "nowrap", ref: gridRowRefs[rowIndex] }, row.map((props) => /* @__PURE__ */ React59.createElement(Grid4, { item: true, xs: 6, key: props.bind }, /* @__PURE__ */ React59.createElement(SizeField, { ...props, rowRef: gridRowRefs[rowIndex], extendedOptions: ["auto"] }))))), /* @__PURE__ */ React59.createElement(PanelDivider, null), /* @__PURE__ */ React59.createElement(Stack10, null, /* @__PURE__ */ React59.createElement(OverflowField, null)), /* @__PURE__ */ React59.createElement(StyleTabCollapsibleContent, { fields: ["aspect-ratio", "object-fit"] }, /* @__PURE__ */ React59.createElement(Stack10, { gap: 2, pt: 2 }, /* @__PURE__ */ React59.createElement(StylesField, { bind: "aspect-ratio", propDisplayName: ASPECT_RATIO_LABEL }, /* @__PURE__ */ React59.createElement(AspectRatioControl, { label: ASPECT_RATIO_LABEL })), /* @__PURE__ */ React59.createElement(PanelDivider, null), /* @__PURE__ */ React59.createElement(ObjectFitField, null), /* @__PURE__ */ React59.createElement(StylesField, { bind: "object-position", propDisplayName: __36("Object position", "elementor") }, /* @__PURE__ */ React59.createElement(Grid4, { item: true, xs: 6 }, /* @__PURE__ */ React59.createElement(PositionControl, null))))));
4174
4143
  };
4175
4144
  var SizeField = ({ label, bind, rowRef, extendedOptions }) => {
4176
- return /* @__PURE__ */ React60.createElement(StylesField, { bind, propDisplayName: label }, /* @__PURE__ */ React60.createElement(Grid4, { container: true, gap: 0.75, alignItems: "center" }, /* @__PURE__ */ React60.createElement(Grid4, { item: true, xs: 12 }, /* @__PURE__ */ React60.createElement(ControlLabel, null, label)), /* @__PURE__ */ React60.createElement(Grid4, { item: true, xs: 12 }, /* @__PURE__ */ React60.createElement(SizeControl6, { extendedOptions, anchorRef: rowRef }))));
4145
+ return /* @__PURE__ */ React59.createElement(StylesField, { bind, propDisplayName: label }, /* @__PURE__ */ React59.createElement(Grid4, { container: true, gap: 0.75, alignItems: "center" }, /* @__PURE__ */ React59.createElement(Grid4, { item: true, xs: 12 }, /* @__PURE__ */ React59.createElement(ControlLabel, null, label)), /* @__PURE__ */ React59.createElement(Grid4, { item: true, xs: 12 }, /* @__PURE__ */ React59.createElement(SizeControl6, { extendedOptions, anchorRef: rowRef }))));
4177
4146
  };
4178
4147
 
4179
4148
  // src/components/style-sections/spacing-section/spacing-section.tsx
4180
- import * as React61 from "react";
4149
+ import * as React60 from "react";
4181
4150
  import { LinkedDimensionsControl } from "@elementor/editor-controls";
4182
- import { __ as __38 } from "@wordpress/i18n";
4183
- var MARGIN_LABEL = __38("Margin", "elementor");
4184
- var PADDING_LABEL = __38("Padding", "elementor");
4151
+ import { __ as __37 } from "@wordpress/i18n";
4152
+ var MARGIN_LABEL = __37("Margin", "elementor");
4153
+ var PADDING_LABEL = __37("Padding", "elementor");
4185
4154
  var SpacingSection = () => {
4186
4155
  const { isSiteRtl } = useDirection();
4187
- return /* @__PURE__ */ React61.createElement(SectionContent, null, /* @__PURE__ */ React61.createElement(StylesField, { bind: "margin", propDisplayName: MARGIN_LABEL }, /* @__PURE__ */ React61.createElement(
4156
+ return /* @__PURE__ */ React60.createElement(SectionContent, null, /* @__PURE__ */ React60.createElement(StylesField, { bind: "margin", propDisplayName: MARGIN_LABEL }, /* @__PURE__ */ React60.createElement(
4188
4157
  LinkedDimensionsControl,
4189
4158
  {
4190
4159
  label: MARGIN_LABEL,
@@ -4192,45 +4161,45 @@ var SpacingSection = () => {
4192
4161
  extendedOptions: ["auto"],
4193
4162
  min: -Number.MAX_SAFE_INTEGER
4194
4163
  }
4195
- )), /* @__PURE__ */ React61.createElement(PanelDivider, null), /* @__PURE__ */ React61.createElement(StylesField, { bind: "padding", propDisplayName: PADDING_LABEL }, /* @__PURE__ */ React61.createElement(LinkedDimensionsControl, { label: PADDING_LABEL, isSiteRtl })));
4164
+ )), /* @__PURE__ */ React60.createElement(PanelDivider, null), /* @__PURE__ */ React60.createElement(StylesField, { bind: "padding", propDisplayName: PADDING_LABEL }, /* @__PURE__ */ React60.createElement(LinkedDimensionsControl, { label: PADDING_LABEL, isSiteRtl })));
4196
4165
  };
4197
4166
 
4198
4167
  // src/components/style-sections/typography-section/typography-section.tsx
4199
- import * as React78 from "react";
4168
+ import * as React77 from "react";
4200
4169
 
4201
4170
  // src/components/style-sections/typography-section/column-count-field.tsx
4202
- import * as React62 from "react";
4171
+ import * as React61 from "react";
4203
4172
  import { NumberControl as NumberControl5 } from "@elementor/editor-controls";
4204
- import { __ as __39 } from "@wordpress/i18n";
4205
- var COLUMN_COUNT_LABEL = __39("Columns", "elementor");
4173
+ import { __ as __38 } from "@wordpress/i18n";
4174
+ var COLUMN_COUNT_LABEL = __38("Columns", "elementor");
4206
4175
  var ColumnCountField = () => {
4207
- return /* @__PURE__ */ React62.createElement(StylesField, { bind: "column-count", propDisplayName: COLUMN_COUNT_LABEL }, /* @__PURE__ */ React62.createElement(StylesFieldLayout, { label: COLUMN_COUNT_LABEL }, /* @__PURE__ */ React62.createElement(NumberControl5, { shouldForceInt: true, min: 0, step: 1 })));
4176
+ return /* @__PURE__ */ React61.createElement(StylesField, { bind: "column-count", propDisplayName: COLUMN_COUNT_LABEL }, /* @__PURE__ */ React61.createElement(StylesFieldLayout, { label: COLUMN_COUNT_LABEL }, /* @__PURE__ */ React61.createElement(NumberControl5, { shouldForceInt: true, min: 0, step: 1 })));
4208
4177
  };
4209
4178
 
4210
4179
  // src/components/style-sections/typography-section/column-gap-field.tsx
4211
- import * as React63 from "react";
4180
+ import * as React62 from "react";
4212
4181
  import { useRef as useRef10 } from "react";
4213
4182
  import { SizeControl as SizeControl7 } from "@elementor/editor-controls";
4214
- import { __ as __40 } from "@wordpress/i18n";
4215
- var COLUMN_GAP_LABEL = __40("Column gap", "elementor");
4183
+ import { __ as __39 } from "@wordpress/i18n";
4184
+ var COLUMN_GAP_LABEL = __39("Column gap", "elementor");
4216
4185
  var ColumnGapField = () => {
4217
4186
  const rowRef = useRef10(null);
4218
- return /* @__PURE__ */ React63.createElement(StylesField, { bind: "column-gap", propDisplayName: COLUMN_GAP_LABEL }, /* @__PURE__ */ React63.createElement(StylesFieldLayout, { label: COLUMN_GAP_LABEL, ref: rowRef }, /* @__PURE__ */ React63.createElement(SizeControl7, { anchorRef: rowRef })));
4187
+ return /* @__PURE__ */ React62.createElement(StylesField, { bind: "column-gap", propDisplayName: COLUMN_GAP_LABEL }, /* @__PURE__ */ React62.createElement(StylesFieldLayout, { label: COLUMN_GAP_LABEL, ref: rowRef }, /* @__PURE__ */ React62.createElement(SizeControl7, { anchorRef: rowRef })));
4219
4188
  };
4220
4189
 
4221
4190
  // src/components/style-sections/typography-section/font-family-field.tsx
4222
- import * as React64 from "react";
4191
+ import * as React63 from "react";
4223
4192
  import { FontFamilyControl, useFontFamilies } from "@elementor/editor-controls";
4224
4193
  import { useSectionWidth } from "@elementor/editor-ui";
4225
- import { __ as __41 } from "@wordpress/i18n";
4226
- var FONT_FAMILY_LABEL = __41("Font family", "elementor");
4194
+ import { __ as __40 } from "@wordpress/i18n";
4195
+ var FONT_FAMILY_LABEL = __40("Font family", "elementor");
4227
4196
  var FontFamilyField = () => {
4228
4197
  const fontFamilies = useFontFamilies();
4229
4198
  const sectionWidth = useSectionWidth();
4230
4199
  if (fontFamilies.length === 0) {
4231
4200
  return null;
4232
4201
  }
4233
- return /* @__PURE__ */ React64.createElement(StylesField, { bind: "font-family", propDisplayName: FONT_FAMILY_LABEL }, /* @__PURE__ */ React64.createElement(StylesFieldLayout, { label: FONT_FAMILY_LABEL }, /* @__PURE__ */ React64.createElement(
4202
+ return /* @__PURE__ */ React63.createElement(StylesField, { bind: "font-family", propDisplayName: FONT_FAMILY_LABEL }, /* @__PURE__ */ React63.createElement(StylesFieldLayout, { label: FONT_FAMILY_LABEL }, /* @__PURE__ */ React63.createElement(
4234
4203
  FontFamilyControl,
4235
4204
  {
4236
4205
  fontFamilies,
@@ -4241,198 +4210,198 @@ var FontFamilyField = () => {
4241
4210
  };
4242
4211
 
4243
4212
  // src/components/style-sections/typography-section/font-size-field.tsx
4244
- import * as React65 from "react";
4213
+ import * as React64 from "react";
4245
4214
  import { useRef as useRef11 } from "react";
4246
4215
  import { SizeControl as SizeControl8 } from "@elementor/editor-controls";
4247
- import { __ as __42 } from "@wordpress/i18n";
4248
- var FONT_SIZE_LABEL = __42("Font size", "elementor");
4216
+ import { __ as __41 } from "@wordpress/i18n";
4217
+ var FONT_SIZE_LABEL = __41("Font size", "elementor");
4249
4218
  var FontSizeField = () => {
4250
4219
  const rowRef = useRef11(null);
4251
- return /* @__PURE__ */ React65.createElement(StylesField, { bind: "font-size", propDisplayName: FONT_SIZE_LABEL }, /* @__PURE__ */ React65.createElement(StylesFieldLayout, { label: FONT_SIZE_LABEL, ref: rowRef }, /* @__PURE__ */ React65.createElement(SizeControl8, { anchorRef: rowRef, ariaLabel: FONT_SIZE_LABEL })));
4220
+ return /* @__PURE__ */ React64.createElement(StylesField, { bind: "font-size", propDisplayName: FONT_SIZE_LABEL }, /* @__PURE__ */ React64.createElement(StylesFieldLayout, { label: FONT_SIZE_LABEL, ref: rowRef }, /* @__PURE__ */ React64.createElement(SizeControl8, { anchorRef: rowRef, ariaLabel: FONT_SIZE_LABEL })));
4252
4221
  };
4253
4222
 
4254
4223
  // src/components/style-sections/typography-section/font-style-field.tsx
4255
- import * as React66 from "react";
4224
+ import * as React65 from "react";
4256
4225
  import { ToggleControl as ToggleControl10 } from "@elementor/editor-controls";
4257
4226
  import { ItalicIcon, MinusIcon } from "@elementor/icons";
4258
- import { __ as __43 } from "@wordpress/i18n";
4259
- var FONT_STYLE_LABEL = __43("Font style", "elementor");
4227
+ import { __ as __42 } from "@wordpress/i18n";
4228
+ var FONT_STYLE_LABEL = __42("Font style", "elementor");
4260
4229
  var options7 = [
4261
4230
  {
4262
4231
  value: "normal",
4263
- label: __43("Normal", "elementor"),
4264
- renderContent: ({ size }) => /* @__PURE__ */ React66.createElement(MinusIcon, { fontSize: size }),
4232
+ label: __42("Normal", "elementor"),
4233
+ renderContent: ({ size }) => /* @__PURE__ */ React65.createElement(MinusIcon, { fontSize: size }),
4265
4234
  showTooltip: true
4266
4235
  },
4267
4236
  {
4268
4237
  value: "italic",
4269
- label: __43("Italic", "elementor"),
4270
- renderContent: ({ size }) => /* @__PURE__ */ React66.createElement(ItalicIcon, { fontSize: size }),
4238
+ label: __42("Italic", "elementor"),
4239
+ renderContent: ({ size }) => /* @__PURE__ */ React65.createElement(ItalicIcon, { fontSize: size }),
4271
4240
  showTooltip: true
4272
4241
  }
4273
4242
  ];
4274
4243
  var FontStyleField = () => {
4275
- return /* @__PURE__ */ React66.createElement(StylesField, { bind: "font-style", propDisplayName: FONT_STYLE_LABEL }, /* @__PURE__ */ React66.createElement(StylesFieldLayout, { label: FONT_STYLE_LABEL }, /* @__PURE__ */ React66.createElement(ToggleControl10, { options: options7 })));
4244
+ return /* @__PURE__ */ React65.createElement(StylesField, { bind: "font-style", propDisplayName: FONT_STYLE_LABEL }, /* @__PURE__ */ React65.createElement(StylesFieldLayout, { label: FONT_STYLE_LABEL }, /* @__PURE__ */ React65.createElement(ToggleControl10, { options: options7 })));
4276
4245
  };
4277
4246
 
4278
4247
  // src/components/style-sections/typography-section/font-weight-field.tsx
4279
- import * as React67 from "react";
4248
+ import * as React66 from "react";
4280
4249
  import { SelectControl as SelectControl5 } from "@elementor/editor-controls";
4281
- import { __ as __44 } from "@wordpress/i18n";
4282
- var FONT_WEIGHT_LABEL = __44("Font weight", "elementor");
4250
+ import { __ as __43 } from "@wordpress/i18n";
4251
+ var FONT_WEIGHT_LABEL = __43("Font weight", "elementor");
4283
4252
  var fontWeightOptions = [
4284
- { value: "100", label: __44("100 - Thin", "elementor") },
4285
- { value: "200", label: __44("200 - Extra light", "elementor") },
4286
- { value: "300", label: __44("300 - Light", "elementor") },
4287
- { value: "400", label: __44("400 - Normal", "elementor") },
4288
- { value: "500", label: __44("500 - Medium", "elementor") },
4289
- { value: "600", label: __44("600 - Semi bold", "elementor") },
4290
- { value: "700", label: __44("700 - Bold", "elementor") },
4291
- { value: "800", label: __44("800 - Extra bold", "elementor") },
4292
- { value: "900", label: __44("900 - Black", "elementor") }
4253
+ { value: "100", label: __43("100 - Thin", "elementor") },
4254
+ { value: "200", label: __43("200 - Extra light", "elementor") },
4255
+ { value: "300", label: __43("300 - Light", "elementor") },
4256
+ { value: "400", label: __43("400 - Normal", "elementor") },
4257
+ { value: "500", label: __43("500 - Medium", "elementor") },
4258
+ { value: "600", label: __43("600 - Semi bold", "elementor") },
4259
+ { value: "700", label: __43("700 - Bold", "elementor") },
4260
+ { value: "800", label: __43("800 - Extra bold", "elementor") },
4261
+ { value: "900", label: __43("900 - Black", "elementor") }
4293
4262
  ];
4294
4263
  var FontWeightField = () => {
4295
- return /* @__PURE__ */ React67.createElement(StylesField, { bind: "font-weight", propDisplayName: FONT_WEIGHT_LABEL }, /* @__PURE__ */ React67.createElement(StylesFieldLayout, { label: FONT_WEIGHT_LABEL }, /* @__PURE__ */ React67.createElement(SelectControl5, { options: fontWeightOptions })));
4264
+ return /* @__PURE__ */ React66.createElement(StylesField, { bind: "font-weight", propDisplayName: FONT_WEIGHT_LABEL }, /* @__PURE__ */ React66.createElement(StylesFieldLayout, { label: FONT_WEIGHT_LABEL }, /* @__PURE__ */ React66.createElement(SelectControl5, { options: fontWeightOptions })));
4296
4265
  };
4297
4266
 
4298
4267
  // src/components/style-sections/typography-section/letter-spacing-field.tsx
4299
- import * as React68 from "react";
4268
+ import * as React67 from "react";
4300
4269
  import { useRef as useRef12 } from "react";
4301
4270
  import { SizeControl as SizeControl9 } from "@elementor/editor-controls";
4302
- import { __ as __45 } from "@wordpress/i18n";
4303
- var LETTER_SPACING_LABEL = __45("Letter spacing", "elementor");
4271
+ import { __ as __44 } from "@wordpress/i18n";
4272
+ var LETTER_SPACING_LABEL = __44("Letter spacing", "elementor");
4304
4273
  var LetterSpacingField = () => {
4305
4274
  const rowRef = useRef12(null);
4306
- return /* @__PURE__ */ React68.createElement(StylesField, { bind: "letter-spacing", propDisplayName: LETTER_SPACING_LABEL }, /* @__PURE__ */ React68.createElement(StylesFieldLayout, { label: LETTER_SPACING_LABEL, ref: rowRef }, /* @__PURE__ */ React68.createElement(SizeControl9, { anchorRef: rowRef, min: -Number.MAX_SAFE_INTEGER })));
4275
+ return /* @__PURE__ */ React67.createElement(StylesField, { bind: "letter-spacing", propDisplayName: LETTER_SPACING_LABEL }, /* @__PURE__ */ React67.createElement(StylesFieldLayout, { label: LETTER_SPACING_LABEL, ref: rowRef }, /* @__PURE__ */ React67.createElement(SizeControl9, { anchorRef: rowRef, min: -Number.MAX_SAFE_INTEGER })));
4307
4276
  };
4308
4277
 
4309
4278
  // src/components/style-sections/typography-section/line-height-field.tsx
4310
- import * as React69 from "react";
4279
+ import * as React68 from "react";
4311
4280
  import { useRef as useRef13 } from "react";
4312
4281
  import { SizeControl as SizeControl10 } from "@elementor/editor-controls";
4313
- import { __ as __46 } from "@wordpress/i18n";
4314
- var LINE_HEIGHT_LABEL = __46("Line height", "elementor");
4282
+ import { __ as __45 } from "@wordpress/i18n";
4283
+ var LINE_HEIGHT_LABEL = __45("Line height", "elementor");
4315
4284
  var LineHeightField = () => {
4316
4285
  const rowRef = useRef13(null);
4317
- return /* @__PURE__ */ React69.createElement(StylesField, { bind: "line-height", propDisplayName: LINE_HEIGHT_LABEL }, /* @__PURE__ */ React69.createElement(StylesFieldLayout, { label: LINE_HEIGHT_LABEL, ref: rowRef }, /* @__PURE__ */ React69.createElement(SizeControl10, { anchorRef: rowRef })));
4286
+ return /* @__PURE__ */ React68.createElement(StylesField, { bind: "line-height", propDisplayName: LINE_HEIGHT_LABEL }, /* @__PURE__ */ React68.createElement(StylesFieldLayout, { label: LINE_HEIGHT_LABEL, ref: rowRef }, /* @__PURE__ */ React68.createElement(SizeControl10, { anchorRef: rowRef })));
4318
4287
  };
4319
4288
 
4320
4289
  // src/components/style-sections/typography-section/text-alignment-field.tsx
4321
- import * as React70 from "react";
4290
+ import * as React69 from "react";
4322
4291
  import { ToggleControl as ToggleControl11 } from "@elementor/editor-controls";
4323
4292
  import { AlignCenterIcon, AlignJustifiedIcon, AlignLeftIcon, AlignRightIcon } from "@elementor/icons";
4324
4293
  import { withDirection as withDirection9 } from "@elementor/ui";
4325
- import { __ as __47 } from "@wordpress/i18n";
4326
- var TEXT_ALIGNMENT_LABEL = __47("Text align", "elementor");
4294
+ import { __ as __46 } from "@wordpress/i18n";
4295
+ var TEXT_ALIGNMENT_LABEL = __46("Text align", "elementor");
4327
4296
  var AlignStartIcon = withDirection9(AlignLeftIcon);
4328
4297
  var AlignEndIcon = withDirection9(AlignRightIcon);
4329
4298
  var options8 = [
4330
4299
  {
4331
4300
  value: "start",
4332
- label: __47("Start", "elementor"),
4333
- renderContent: ({ size }) => /* @__PURE__ */ React70.createElement(AlignStartIcon, { fontSize: size }),
4301
+ label: __46("Start", "elementor"),
4302
+ renderContent: ({ size }) => /* @__PURE__ */ React69.createElement(AlignStartIcon, { fontSize: size }),
4334
4303
  showTooltip: true
4335
4304
  },
4336
4305
  {
4337
4306
  value: "center",
4338
- label: __47("Center", "elementor"),
4339
- renderContent: ({ size }) => /* @__PURE__ */ React70.createElement(AlignCenterIcon, { fontSize: size }),
4307
+ label: __46("Center", "elementor"),
4308
+ renderContent: ({ size }) => /* @__PURE__ */ React69.createElement(AlignCenterIcon, { fontSize: size }),
4340
4309
  showTooltip: true
4341
4310
  },
4342
4311
  {
4343
4312
  value: "end",
4344
- label: __47("End", "elementor"),
4345
- renderContent: ({ size }) => /* @__PURE__ */ React70.createElement(AlignEndIcon, { fontSize: size }),
4313
+ label: __46("End", "elementor"),
4314
+ renderContent: ({ size }) => /* @__PURE__ */ React69.createElement(AlignEndIcon, { fontSize: size }),
4346
4315
  showTooltip: true
4347
4316
  },
4348
4317
  {
4349
4318
  value: "justify",
4350
- label: __47("Justify", "elementor"),
4351
- renderContent: ({ size }) => /* @__PURE__ */ React70.createElement(AlignJustifiedIcon, { fontSize: size }),
4319
+ label: __46("Justify", "elementor"),
4320
+ renderContent: ({ size }) => /* @__PURE__ */ React69.createElement(AlignJustifiedIcon, { fontSize: size }),
4352
4321
  showTooltip: true
4353
4322
  }
4354
4323
  ];
4355
4324
  var TextAlignmentField = () => {
4356
- return /* @__PURE__ */ React70.createElement(StylesField, { bind: "text-align", propDisplayName: TEXT_ALIGNMENT_LABEL }, /* @__PURE__ */ React70.createElement(UiProviders, null, /* @__PURE__ */ React70.createElement(StylesFieldLayout, { label: TEXT_ALIGNMENT_LABEL }, /* @__PURE__ */ React70.createElement(ToggleControl11, { options: options8 }))));
4325
+ return /* @__PURE__ */ React69.createElement(StylesField, { bind: "text-align", propDisplayName: TEXT_ALIGNMENT_LABEL }, /* @__PURE__ */ React69.createElement(UiProviders, null, /* @__PURE__ */ React69.createElement(StylesFieldLayout, { label: TEXT_ALIGNMENT_LABEL }, /* @__PURE__ */ React69.createElement(ToggleControl11, { options: options8 }))));
4357
4326
  };
4358
4327
 
4359
4328
  // src/components/style-sections/typography-section/text-color-field.tsx
4360
- import * as React71 from "react";
4329
+ import * as React70 from "react";
4361
4330
  import { ColorControl as ColorControl2 } from "@elementor/editor-controls";
4362
- import { __ as __48 } from "@wordpress/i18n";
4363
- var TEXT_COLOR_LABEL = __48("Text color", "elementor");
4331
+ import { __ as __47 } from "@wordpress/i18n";
4332
+ var TEXT_COLOR_LABEL = __47("Text color", "elementor");
4364
4333
  var TextColorField = () => {
4365
- return /* @__PURE__ */ React71.createElement(StylesField, { bind: "color", propDisplayName: TEXT_COLOR_LABEL }, /* @__PURE__ */ React71.createElement(StylesFieldLayout, { label: TEXT_COLOR_LABEL }, /* @__PURE__ */ React71.createElement(ColorControl2, { id: "text-color-control" })));
4334
+ return /* @__PURE__ */ React70.createElement(StylesField, { bind: "color", propDisplayName: TEXT_COLOR_LABEL }, /* @__PURE__ */ React70.createElement(StylesFieldLayout, { label: TEXT_COLOR_LABEL }, /* @__PURE__ */ React70.createElement(ColorControl2, { id: "text-color-control" })));
4366
4335
  };
4367
4336
 
4368
4337
  // src/components/style-sections/typography-section/text-decoration-field.tsx
4369
- import * as React72 from "react";
4338
+ import * as React71 from "react";
4370
4339
  import { ToggleControl as ToggleControl12 } from "@elementor/editor-controls";
4371
4340
  import { MinusIcon as MinusIcon2, OverlineIcon, StrikethroughIcon, UnderlineIcon } from "@elementor/icons";
4372
- import { __ as __49 } from "@wordpress/i18n";
4373
- var TEXT_DECORATION_LABEL = __49("Line decoration", "elementor");
4341
+ import { __ as __48 } from "@wordpress/i18n";
4342
+ var TEXT_DECORATION_LABEL = __48("Line decoration", "elementor");
4374
4343
  var options9 = [
4375
4344
  {
4376
4345
  value: "none",
4377
- label: __49("None", "elementor"),
4378
- renderContent: ({ size }) => /* @__PURE__ */ React72.createElement(MinusIcon2, { fontSize: size }),
4346
+ label: __48("None", "elementor"),
4347
+ renderContent: ({ size }) => /* @__PURE__ */ React71.createElement(MinusIcon2, { fontSize: size }),
4379
4348
  showTooltip: true,
4380
4349
  exclusive: true
4381
4350
  },
4382
4351
  {
4383
4352
  value: "underline",
4384
- label: __49("Underline", "elementor"),
4385
- renderContent: ({ size }) => /* @__PURE__ */ React72.createElement(UnderlineIcon, { fontSize: size }),
4353
+ label: __48("Underline", "elementor"),
4354
+ renderContent: ({ size }) => /* @__PURE__ */ React71.createElement(UnderlineIcon, { fontSize: size }),
4386
4355
  showTooltip: true
4387
4356
  },
4388
4357
  {
4389
4358
  value: "line-through",
4390
- label: __49("Line-through", "elementor"),
4391
- renderContent: ({ size }) => /* @__PURE__ */ React72.createElement(StrikethroughIcon, { fontSize: size }),
4359
+ label: __48("Line-through", "elementor"),
4360
+ renderContent: ({ size }) => /* @__PURE__ */ React71.createElement(StrikethroughIcon, { fontSize: size }),
4392
4361
  showTooltip: true
4393
4362
  },
4394
4363
  {
4395
4364
  value: "overline",
4396
- label: __49("Overline", "elementor"),
4397
- renderContent: ({ size }) => /* @__PURE__ */ React72.createElement(OverlineIcon, { fontSize: size }),
4365
+ label: __48("Overline", "elementor"),
4366
+ renderContent: ({ size }) => /* @__PURE__ */ React71.createElement(OverlineIcon, { fontSize: size }),
4398
4367
  showTooltip: true
4399
4368
  }
4400
4369
  ];
4401
- var TextDecorationField = () => /* @__PURE__ */ React72.createElement(StylesField, { bind: "text-decoration", propDisplayName: TEXT_DECORATION_LABEL }, /* @__PURE__ */ React72.createElement(StylesFieldLayout, { label: TEXT_DECORATION_LABEL }, /* @__PURE__ */ React72.createElement(ToggleControl12, { options: options9, exclusive: false })));
4370
+ var TextDecorationField = () => /* @__PURE__ */ React71.createElement(StylesField, { bind: "text-decoration", propDisplayName: TEXT_DECORATION_LABEL }, /* @__PURE__ */ React71.createElement(StylesFieldLayout, { label: TEXT_DECORATION_LABEL }, /* @__PURE__ */ React71.createElement(ToggleControl12, { options: options9, exclusive: false })));
4402
4371
 
4403
4372
  // src/components/style-sections/typography-section/text-direction-field.tsx
4404
- import * as React73 from "react";
4373
+ import * as React72 from "react";
4405
4374
  import { ToggleControl as ToggleControl13 } from "@elementor/editor-controls";
4406
4375
  import { TextDirectionLtrIcon, TextDirectionRtlIcon } from "@elementor/icons";
4407
- import { __ as __50 } from "@wordpress/i18n";
4408
- var TEXT_DIRECTION_LABEL = __50("Direction", "elementor");
4376
+ import { __ as __49 } from "@wordpress/i18n";
4377
+ var TEXT_DIRECTION_LABEL = __49("Direction", "elementor");
4409
4378
  var options10 = [
4410
4379
  {
4411
4380
  value: "ltr",
4412
- label: __50("Left to right", "elementor"),
4413
- renderContent: ({ size }) => /* @__PURE__ */ React73.createElement(TextDirectionLtrIcon, { fontSize: size }),
4381
+ label: __49("Left to right", "elementor"),
4382
+ renderContent: ({ size }) => /* @__PURE__ */ React72.createElement(TextDirectionLtrIcon, { fontSize: size }),
4414
4383
  showTooltip: true
4415
4384
  },
4416
4385
  {
4417
4386
  value: "rtl",
4418
- label: __50("Right to left", "elementor"),
4419
- renderContent: ({ size }) => /* @__PURE__ */ React73.createElement(TextDirectionRtlIcon, { fontSize: size }),
4387
+ label: __49("Right to left", "elementor"),
4388
+ renderContent: ({ size }) => /* @__PURE__ */ React72.createElement(TextDirectionRtlIcon, { fontSize: size }),
4420
4389
  showTooltip: true
4421
4390
  }
4422
4391
  ];
4423
4392
  var TextDirectionField = () => {
4424
- return /* @__PURE__ */ React73.createElement(StylesField, { bind: "direction", propDisplayName: TEXT_DIRECTION_LABEL }, /* @__PURE__ */ React73.createElement(StylesFieldLayout, { label: TEXT_DIRECTION_LABEL }, /* @__PURE__ */ React73.createElement(ToggleControl13, { options: options10 })));
4393
+ return /* @__PURE__ */ React72.createElement(StylesField, { bind: "direction", propDisplayName: TEXT_DIRECTION_LABEL }, /* @__PURE__ */ React72.createElement(StylesFieldLayout, { label: TEXT_DIRECTION_LABEL }, /* @__PURE__ */ React72.createElement(ToggleControl13, { options: options10 })));
4425
4394
  };
4426
4395
 
4427
4396
  // src/components/style-sections/typography-section/text-stroke-field.tsx
4428
- import * as React75 from "react";
4397
+ import * as React74 from "react";
4429
4398
  import { StrokeControl } from "@elementor/editor-controls";
4430
- import { __ as __51 } from "@wordpress/i18n";
4399
+ import { __ as __50 } from "@wordpress/i18n";
4431
4400
 
4432
4401
  // src/components/add-or-remove-content.tsx
4433
- import * as React74 from "react";
4402
+ import * as React73 from "react";
4434
4403
  import { MinusIcon as MinusIcon3, PlusIcon } from "@elementor/icons";
4435
- import { Collapse as Collapse3, IconButton, Stack as Stack12 } from "@elementor/ui";
4404
+ import { Collapse as Collapse2, IconButton, Stack as Stack11 } from "@elementor/ui";
4436
4405
  var SIZE = "tiny";
4437
4406
  var AddOrRemoveContent = ({
4438
4407
  isAdded,
@@ -4442,8 +4411,8 @@ var AddOrRemoveContent = ({
4442
4411
  disabled,
4443
4412
  renderLabel
4444
4413
  }) => {
4445
- return /* @__PURE__ */ React74.createElement(SectionContent, null, /* @__PURE__ */ React74.createElement(
4446
- Stack12,
4414
+ return /* @__PURE__ */ React73.createElement(SectionContent, null, /* @__PURE__ */ React73.createElement(
4415
+ Stack11,
4447
4416
  {
4448
4417
  direction: "row",
4449
4418
  sx: {
@@ -4453,8 +4422,8 @@ var AddOrRemoveContent = ({
4453
4422
  }
4454
4423
  },
4455
4424
  renderLabel(),
4456
- isAdded ? /* @__PURE__ */ React74.createElement(IconButton, { size: SIZE, onClick: onRemove, "aria-label": "Remove", disabled }, /* @__PURE__ */ React74.createElement(MinusIcon3, { fontSize: SIZE })) : /* @__PURE__ */ React74.createElement(IconButton, { size: SIZE, onClick: onAdd, "aria-label": "Add", disabled }, /* @__PURE__ */ React74.createElement(PlusIcon, { fontSize: SIZE }))
4457
- ), /* @__PURE__ */ React74.createElement(Collapse3, { in: isAdded, unmountOnExit: true }, /* @__PURE__ */ React74.createElement(SectionContent, null, children)));
4425
+ isAdded ? /* @__PURE__ */ React73.createElement(IconButton, { size: SIZE, onClick: onRemove, "aria-label": "Remove", disabled }, /* @__PURE__ */ React73.createElement(MinusIcon3, { fontSize: SIZE })) : /* @__PURE__ */ React73.createElement(IconButton, { size: SIZE, onClick: onAdd, "aria-label": "Add", disabled }, /* @__PURE__ */ React73.createElement(PlusIcon, { fontSize: SIZE }))
4426
+ ), /* @__PURE__ */ React73.createElement(Collapse2, { in: isAdded, unmountOnExit: true }, /* @__PURE__ */ React73.createElement(SectionContent, null, children)));
4458
4427
  };
4459
4428
 
4460
4429
  // src/components/style-sections/typography-section/text-stroke-field.tsx
@@ -4474,7 +4443,7 @@ var initTextStroke = {
4474
4443
  }
4475
4444
  }
4476
4445
  };
4477
- var TEXT_STROKE_LABEL = __51("Text stroke", "elementor");
4446
+ var TEXT_STROKE_LABEL = __50("Text stroke", "elementor");
4478
4447
  var TextStrokeField = () => {
4479
4448
  const { value, setValue, canEdit } = useStylesField("stroke", {
4480
4449
  history: { propDisplayName: TEXT_STROKE_LABEL }
@@ -4486,67 +4455,67 @@ var TextStrokeField = () => {
4486
4455
  setValue(null);
4487
4456
  };
4488
4457
  const hasTextStroke = Boolean(value);
4489
- return /* @__PURE__ */ React75.createElement(StylesField, { bind: "stroke", propDisplayName: TEXT_STROKE_LABEL }, /* @__PURE__ */ React75.createElement(
4458
+ return /* @__PURE__ */ React74.createElement(StylesField, { bind: "stroke", propDisplayName: TEXT_STROKE_LABEL }, /* @__PURE__ */ React74.createElement(
4490
4459
  AddOrRemoveContent,
4491
4460
  {
4492
4461
  isAdded: hasTextStroke,
4493
4462
  onAdd: addTextStroke,
4494
4463
  onRemove: removeTextStroke,
4495
4464
  disabled: !canEdit,
4496
- renderLabel: () => /* @__PURE__ */ React75.createElement(ControlLabel, null, TEXT_STROKE_LABEL)
4465
+ renderLabel: () => /* @__PURE__ */ React74.createElement(ControlLabel, null, TEXT_STROKE_LABEL)
4497
4466
  },
4498
- /* @__PURE__ */ React75.createElement(StrokeControl, null)
4467
+ /* @__PURE__ */ React74.createElement(StrokeControl, null)
4499
4468
  ));
4500
4469
  };
4501
4470
 
4502
4471
  // src/components/style-sections/typography-section/transform-field.tsx
4503
- import * as React76 from "react";
4472
+ import * as React75 from "react";
4504
4473
  import { ToggleControl as ToggleControl14 } from "@elementor/editor-controls";
4505
4474
  import { LetterCaseIcon, LetterCaseLowerIcon, LetterCaseUpperIcon, MinusIcon as MinusIcon4 } from "@elementor/icons";
4506
- import { __ as __52 } from "@wordpress/i18n";
4507
- var TEXT_TRANSFORM_LABEL = __52("Text transform", "elementor");
4475
+ import { __ as __51 } from "@wordpress/i18n";
4476
+ var TEXT_TRANSFORM_LABEL = __51("Text transform", "elementor");
4508
4477
  var options11 = [
4509
4478
  {
4510
4479
  value: "none",
4511
- label: __52("None", "elementor"),
4512
- renderContent: ({ size }) => /* @__PURE__ */ React76.createElement(MinusIcon4, { fontSize: size }),
4480
+ label: __51("None", "elementor"),
4481
+ renderContent: ({ size }) => /* @__PURE__ */ React75.createElement(MinusIcon4, { fontSize: size }),
4513
4482
  showTooltip: true
4514
4483
  },
4515
4484
  {
4516
4485
  value: "capitalize",
4517
- label: __52("Capitalize", "elementor"),
4518
- renderContent: ({ size }) => /* @__PURE__ */ React76.createElement(LetterCaseIcon, { fontSize: size }),
4486
+ label: __51("Capitalize", "elementor"),
4487
+ renderContent: ({ size }) => /* @__PURE__ */ React75.createElement(LetterCaseIcon, { fontSize: size }),
4519
4488
  showTooltip: true
4520
4489
  },
4521
4490
  {
4522
4491
  value: "uppercase",
4523
- label: __52("Uppercase", "elementor"),
4524
- renderContent: ({ size }) => /* @__PURE__ */ React76.createElement(LetterCaseUpperIcon, { fontSize: size }),
4492
+ label: __51("Uppercase", "elementor"),
4493
+ renderContent: ({ size }) => /* @__PURE__ */ React75.createElement(LetterCaseUpperIcon, { fontSize: size }),
4525
4494
  showTooltip: true
4526
4495
  },
4527
4496
  {
4528
4497
  value: "lowercase",
4529
- label: __52("Lowercase", "elementor"),
4530
- renderContent: ({ size }) => /* @__PURE__ */ React76.createElement(LetterCaseLowerIcon, { fontSize: size }),
4498
+ label: __51("Lowercase", "elementor"),
4499
+ renderContent: ({ size }) => /* @__PURE__ */ React75.createElement(LetterCaseLowerIcon, { fontSize: size }),
4531
4500
  showTooltip: true
4532
4501
  }
4533
4502
  ];
4534
- var TransformField = () => /* @__PURE__ */ React76.createElement(StylesField, { bind: "text-transform", propDisplayName: TEXT_TRANSFORM_LABEL }, /* @__PURE__ */ React76.createElement(StylesFieldLayout, { label: TEXT_TRANSFORM_LABEL }, /* @__PURE__ */ React76.createElement(ToggleControl14, { options: options11 })));
4503
+ var TransformField = () => /* @__PURE__ */ React75.createElement(StylesField, { bind: "text-transform", propDisplayName: TEXT_TRANSFORM_LABEL }, /* @__PURE__ */ React75.createElement(StylesFieldLayout, { label: TEXT_TRANSFORM_LABEL }, /* @__PURE__ */ React75.createElement(ToggleControl14, { options: options11 })));
4535
4504
 
4536
4505
  // src/components/style-sections/typography-section/word-spacing-field.tsx
4537
- import * as React77 from "react";
4506
+ import * as React76 from "react";
4538
4507
  import { useRef as useRef14 } from "react";
4539
4508
  import { SizeControl as SizeControl11 } from "@elementor/editor-controls";
4540
- import { __ as __53 } from "@wordpress/i18n";
4541
- var WORD_SPACING_LABEL = __53("Word spacing", "elementor");
4509
+ import { __ as __52 } from "@wordpress/i18n";
4510
+ var WORD_SPACING_LABEL = __52("Word spacing", "elementor");
4542
4511
  var WordSpacingField = () => {
4543
4512
  const rowRef = useRef14(null);
4544
- return /* @__PURE__ */ React77.createElement(StylesField, { bind: "word-spacing", propDisplayName: WORD_SPACING_LABEL }, /* @__PURE__ */ React77.createElement(StylesFieldLayout, { label: WORD_SPACING_LABEL, ref: rowRef }, /* @__PURE__ */ React77.createElement(SizeControl11, { anchorRef: rowRef, min: -Number.MAX_SAFE_INTEGER })));
4513
+ return /* @__PURE__ */ React76.createElement(StylesField, { bind: "word-spacing", propDisplayName: WORD_SPACING_LABEL }, /* @__PURE__ */ React76.createElement(StylesFieldLayout, { label: WORD_SPACING_LABEL, ref: rowRef }, /* @__PURE__ */ React76.createElement(SizeControl11, { anchorRef: rowRef, min: -Number.MAX_SAFE_INTEGER })));
4545
4514
  };
4546
4515
 
4547
4516
  // src/components/style-sections/typography-section/typography-section.tsx
4548
4517
  var TypographySection = () => {
4549
- return /* @__PURE__ */ React78.createElement(SectionContent, null, /* @__PURE__ */ React78.createElement(FontFamilyField, null), /* @__PURE__ */ React78.createElement(FontWeightField, null), /* @__PURE__ */ React78.createElement(FontSizeField, null), /* @__PURE__ */ React78.createElement(PanelDivider, null), /* @__PURE__ */ React78.createElement(TextAlignmentField, null), /* @__PURE__ */ React78.createElement(TextColorField, null), /* @__PURE__ */ React78.createElement(
4518
+ return /* @__PURE__ */ React77.createElement(SectionContent, null, /* @__PURE__ */ React77.createElement(FontFamilyField, null), /* @__PURE__ */ React77.createElement(FontWeightField, null), /* @__PURE__ */ React77.createElement(FontSizeField, null), /* @__PURE__ */ React77.createElement(PanelDivider, null), /* @__PURE__ */ React77.createElement(TextAlignmentField, null), /* @__PURE__ */ React77.createElement(TextColorField, null), /* @__PURE__ */ React77.createElement(
4550
4519
  StyleTabCollapsibleContent,
4551
4520
  {
4552
4521
  fields: [
@@ -4561,18 +4530,18 @@ var TypographySection = () => {
4561
4530
  "stroke"
4562
4531
  ]
4563
4532
  },
4564
- /* @__PURE__ */ React78.createElement(SectionContent, { sx: { pt: 2 } }, /* @__PURE__ */ React78.createElement(LineHeightField, null), /* @__PURE__ */ React78.createElement(LetterSpacingField, null), /* @__PURE__ */ React78.createElement(WordSpacingField, null), /* @__PURE__ */ React78.createElement(ColumnCountField, null), /* @__PURE__ */ React78.createElement(ColumnGapField, null), /* @__PURE__ */ React78.createElement(PanelDivider, null), /* @__PURE__ */ React78.createElement(TextDecorationField, null), /* @__PURE__ */ React78.createElement(TransformField, null), /* @__PURE__ */ React78.createElement(TextDirectionField, null), /* @__PURE__ */ React78.createElement(FontStyleField, null), /* @__PURE__ */ React78.createElement(TextStrokeField, null))
4533
+ /* @__PURE__ */ React77.createElement(SectionContent, { sx: { pt: 2 } }, /* @__PURE__ */ React77.createElement(LineHeightField, null), /* @__PURE__ */ React77.createElement(LetterSpacingField, null), /* @__PURE__ */ React77.createElement(WordSpacingField, null), /* @__PURE__ */ React77.createElement(ColumnCountField, null), /* @__PURE__ */ React77.createElement(ColumnGapField, null), /* @__PURE__ */ React77.createElement(PanelDivider, null), /* @__PURE__ */ React77.createElement(TextDecorationField, null), /* @__PURE__ */ React77.createElement(TransformField, null), /* @__PURE__ */ React77.createElement(TextDirectionField, null), /* @__PURE__ */ React77.createElement(FontStyleField, null), /* @__PURE__ */ React77.createElement(TextStrokeField, null))
4565
4534
  ));
4566
4535
  };
4567
4536
 
4568
4537
  // src/components/style-tab-section.tsx
4569
- import * as React79 from "react";
4538
+ import * as React78 from "react";
4570
4539
  var StyleTabSection = ({ section, fields = [], unmountOnExit = true }) => {
4571
4540
  const { component, name, title, action } = section;
4572
4541
  const tabDefaults = useDefaultPanelSettings();
4573
- const SectionComponent = component || (() => /* @__PURE__ */ React79.createElement(React79.Fragment, null));
4542
+ const SectionComponent = component || (() => /* @__PURE__ */ React78.createElement(React78.Fragment, null));
4574
4543
  const isExpanded = tabDefaults.defaultSectionsExpanded.style?.includes(name);
4575
- return /* @__PURE__ */ React79.createElement(
4544
+ return /* @__PURE__ */ React78.createElement(
4576
4545
  Section,
4577
4546
  {
4578
4547
  title,
@@ -4581,7 +4550,7 @@ var StyleTabSection = ({ section, fields = [], unmountOnExit = true }) => {
4581
4550
  unmountOnExit,
4582
4551
  action
4583
4552
  },
4584
- /* @__PURE__ */ React79.createElement(SectionComponent, null)
4553
+ /* @__PURE__ */ React78.createElement(SectionComponent, null)
4585
4554
  );
4586
4555
  };
4587
4556
 
@@ -4598,12 +4567,12 @@ var stickyHeaderStyles = {
4598
4567
  var StyleTab = () => {
4599
4568
  const currentClassesProp = useCurrentClassesProp();
4600
4569
  const [activeStyleDefId, setActiveStyleDefId] = useActiveStyleDefId(currentClassesProp ?? "");
4601
- const [activeStyleState, setActiveStyleState] = useState10(null);
4570
+ const [activeStyleState, setActiveStyleState] = useState9(null);
4602
4571
  const breakpoint = useActiveBreakpoint();
4603
4572
  if (!currentClassesProp) {
4604
4573
  return null;
4605
4574
  }
4606
- return /* @__PURE__ */ React80.createElement(ClassesPropProvider, { prop: currentClassesProp }, /* @__PURE__ */ React80.createElement(
4575
+ return /* @__PURE__ */ React79.createElement(ClassesPropProvider, { prop: currentClassesProp }, /* @__PURE__ */ React79.createElement(
4607
4576
  StyleProvider,
4608
4577
  {
4609
4578
  meta: { breakpoint, state: activeStyleState },
@@ -4614,13 +4583,13 @@ var StyleTab = () => {
4614
4583
  },
4615
4584
  setMetaState: setActiveStyleState
4616
4585
  },
4617
- /* @__PURE__ */ React80.createElement(SessionStorageProvider2, { prefix: activeStyleDefId ?? "" }, /* @__PURE__ */ React80.createElement(StyleInheritanceProvider, null, /* @__PURE__ */ React80.createElement(ClassesHeader, null, /* @__PURE__ */ React80.createElement(CssClassSelector, null), /* @__PURE__ */ React80.createElement(Divider5, null)), /* @__PURE__ */ React80.createElement(SectionsList, null, /* @__PURE__ */ React80.createElement(
4586
+ /* @__PURE__ */ React79.createElement(SessionStorageProvider2, { prefix: activeStyleDefId ?? "" }, /* @__PURE__ */ React79.createElement(StyleInheritanceProvider, null, /* @__PURE__ */ React79.createElement(ClassesHeader, null, /* @__PURE__ */ React79.createElement(CssClassSelector, null), /* @__PURE__ */ React79.createElement(Divider5, null)), /* @__PURE__ */ React79.createElement(SectionsList, null, /* @__PURE__ */ React79.createElement(
4618
4587
  StyleTabSection,
4619
4588
  {
4620
4589
  section: {
4621
4590
  component: LayoutSection,
4622
4591
  name: "Layout",
4623
- title: __54("Layout", "elementor")
4592
+ title: __53("Layout", "elementor")
4624
4593
  },
4625
4594
  fields: [
4626
4595
  "display",
@@ -4633,23 +4602,23 @@ var StyleTab = () => {
4633
4602
  "gap"
4634
4603
  ]
4635
4604
  }
4636
- ), /* @__PURE__ */ React80.createElement(
4605
+ ), /* @__PURE__ */ React79.createElement(
4637
4606
  StyleTabSection,
4638
4607
  {
4639
4608
  section: {
4640
4609
  component: SpacingSection,
4641
4610
  name: "Spacing",
4642
- title: __54("Spacing", "elementor")
4611
+ title: __53("Spacing", "elementor")
4643
4612
  },
4644
4613
  fields: ["margin", "padding"]
4645
4614
  }
4646
- ), /* @__PURE__ */ React80.createElement(
4615
+ ), /* @__PURE__ */ React79.createElement(
4647
4616
  StyleTabSection,
4648
4617
  {
4649
4618
  section: {
4650
4619
  component: SizeSection,
4651
4620
  name: "Size",
4652
- title: __54("Size", "elementor")
4621
+ title: __53("Size", "elementor")
4653
4622
  },
4654
4623
  fields: [
4655
4624
  "width",
@@ -4663,23 +4632,23 @@ var StyleTab = () => {
4663
4632
  "object-fit"
4664
4633
  ]
4665
4634
  }
4666
- ), /* @__PURE__ */ React80.createElement(
4635
+ ), /* @__PURE__ */ React79.createElement(
4667
4636
  StyleTabSection,
4668
4637
  {
4669
4638
  section: {
4670
4639
  component: PositionSection,
4671
4640
  name: "Position",
4672
- title: __54("Position", "elementor")
4641
+ title: __53("Position", "elementor")
4673
4642
  },
4674
4643
  fields: ["position", "z-index", "scroll-margin-top"]
4675
4644
  }
4676
- ), /* @__PURE__ */ React80.createElement(
4645
+ ), /* @__PURE__ */ React79.createElement(
4677
4646
  StyleTabSection,
4678
4647
  {
4679
4648
  section: {
4680
4649
  component: TypographySection,
4681
4650
  name: "Typography",
4682
- title: __54("Typography", "elementor")
4651
+ title: __53("Typography", "elementor")
4683
4652
  },
4684
4653
  fields: [
4685
4654
  "font-family",
@@ -4698,33 +4667,33 @@ var StyleTab = () => {
4698
4667
  "stroke"
4699
4668
  ]
4700
4669
  }
4701
- ), /* @__PURE__ */ React80.createElement(
4670
+ ), /* @__PURE__ */ React79.createElement(
4702
4671
  StyleTabSection,
4703
4672
  {
4704
4673
  section: {
4705
4674
  component: BackgroundSection,
4706
4675
  name: "Background",
4707
- title: __54("Background", "elementor")
4676
+ title: __53("Background", "elementor")
4708
4677
  },
4709
4678
  fields: ["background"]
4710
4679
  }
4711
- ), /* @__PURE__ */ React80.createElement(
4680
+ ), /* @__PURE__ */ React79.createElement(
4712
4681
  StyleTabSection,
4713
4682
  {
4714
4683
  section: {
4715
4684
  component: BorderSection,
4716
4685
  name: "Border",
4717
- title: __54("Border", "elementor")
4686
+ title: __53("Border", "elementor")
4718
4687
  },
4719
4688
  fields: ["border-radius", "border-width", "border-color", "border-style"]
4720
4689
  }
4721
- ), /* @__PURE__ */ React80.createElement(
4690
+ ), /* @__PURE__ */ React79.createElement(
4722
4691
  StyleTabSection,
4723
4692
  {
4724
4693
  section: {
4725
4694
  component: EffectsSection,
4726
4695
  name: "Effects",
4727
- title: __54("Effects", "elementor")
4696
+ title: __53("Effects", "elementor")
4728
4697
  },
4729
4698
  fields: [
4730
4699
  "mix-blend-mode",
@@ -4737,12 +4706,12 @@ var StyleTab = () => {
4737
4706
  "transition"
4738
4707
  ]
4739
4708
  }
4740
- ), /* @__PURE__ */ React80.createElement(StyleTabSlot, null)), /* @__PURE__ */ React80.createElement(Box5, { sx: { height: "150px" } })))
4709
+ ), /* @__PURE__ */ React79.createElement(StyleTabSlot, null)), /* @__PURE__ */ React79.createElement(Box5, { sx: { height: "150px" } })))
4741
4710
  ));
4742
4711
  };
4743
4712
  function ClassesHeader({ children }) {
4744
4713
  const scrollDirection = useScrollDirection();
4745
- return /* @__PURE__ */ React80.createElement(Stack13, { sx: { ...stickyHeaderStyles, top: scrollDirection === "up" ? TABS_HEADER_HEIGHT : 0 } }, children);
4714
+ return /* @__PURE__ */ React79.createElement(Stack12, { sx: { ...stickyHeaderStyles, top: scrollDirection === "up" ? TABS_HEADER_HEIGHT : 0 } }, children);
4746
4715
  }
4747
4716
  function useCurrentClassesProp() {
4748
4717
  const { elementType } = useElement();
@@ -4761,7 +4730,7 @@ var EditingPanelTabs = () => {
4761
4730
  return (
4762
4731
  // When switching between elements, the local states should be reset. We are using key to rerender the tabs.
4763
4732
  // Reference: https://react.dev/learn/preserving-and-resetting-state#resetting-a-form-with-a-key
4764
- /* @__PURE__ */ React81.createElement(Fragment9, { key: element.id }, /* @__PURE__ */ React81.createElement(PanelTabContent, null))
4733
+ /* @__PURE__ */ React80.createElement(Fragment9, { key: element.id }, /* @__PURE__ */ React80.createElement(PanelTabContent, null))
4765
4734
  );
4766
4735
  };
4767
4736
  var PanelTabContent = () => {
@@ -4770,7 +4739,7 @@ var PanelTabContent = () => {
4770
4739
  const isInteractionsActive = isExperimentActive("e_interactions");
4771
4740
  const [currentTab, setCurrentTab] = useStateByElement("tab", defaultComponentTab);
4772
4741
  const { getTabProps, getTabPanelProps, getTabsProps } = useTabs(currentTab);
4773
- return /* @__PURE__ */ React81.createElement(ScrollProvider, null, /* @__PURE__ */ React81.createElement(Stack14, { direction: "column", sx: { width: "100%" } }, /* @__PURE__ */ React81.createElement(Stack14, { sx: { ...stickyHeaderStyles, top: 0 } }, /* @__PURE__ */ React81.createElement(
4742
+ return /* @__PURE__ */ React80.createElement(ScrollProvider, null, /* @__PURE__ */ React80.createElement(Stack13, { direction: "column", sx: { width: "100%" } }, /* @__PURE__ */ React80.createElement(Stack13, { sx: { ...stickyHeaderStyles, top: 0 } }, /* @__PURE__ */ React80.createElement(
4774
4743
  Tabs,
4775
4744
  {
4776
4745
  variant: "fullWidth",
@@ -4782,10 +4751,10 @@ var PanelTabContent = () => {
4782
4751
  setCurrentTab(newValue);
4783
4752
  }
4784
4753
  },
4785
- /* @__PURE__ */ React81.createElement(Tab, { label: __55("General", "elementor"), ...getTabProps("settings") }),
4786
- /* @__PURE__ */ React81.createElement(Tab, { label: __55("Style", "elementor"), ...getTabProps("style") }),
4787
- isInteractionsActive && /* @__PURE__ */ React81.createElement(Tab, { label: __55("Interactions", "elementor"), ...getTabProps("interactions") })
4788
- ), /* @__PURE__ */ React81.createElement(Divider6, null)), /* @__PURE__ */ React81.createElement(TabPanel, { ...getTabPanelProps("settings"), disablePadding: true }, /* @__PURE__ */ React81.createElement(SettingsTab, null)), /* @__PURE__ */ React81.createElement(TabPanel, { ...getTabPanelProps("style"), disablePadding: true }, /* @__PURE__ */ React81.createElement(StyleTab, null)), isInteractionsActive && /* @__PURE__ */ React81.createElement(TabPanel, { ...getTabPanelProps("interactions"), disablePadding: true }, /* @__PURE__ */ React81.createElement(InteractionsTab, null))));
4754
+ /* @__PURE__ */ React80.createElement(Tab, { label: __54("General", "elementor"), ...getTabProps("settings") }),
4755
+ /* @__PURE__ */ React80.createElement(Tab, { label: __54("Style", "elementor"), ...getTabProps("style") }),
4756
+ isInteractionsActive && /* @__PURE__ */ React80.createElement(Tab, { label: __54("Interactions", "elementor"), ...getTabProps("interactions") })
4757
+ ), /* @__PURE__ */ React80.createElement(Divider6, null)), /* @__PURE__ */ React80.createElement(TabPanel, { ...getTabPanelProps("settings"), disablePadding: true }, /* @__PURE__ */ React80.createElement(SettingsTab, null)), /* @__PURE__ */ React80.createElement(TabPanel, { ...getTabPanelProps("style"), disablePadding: true }, /* @__PURE__ */ React80.createElement(StyleTab, null)), isInteractionsActive && /* @__PURE__ */ React80.createElement(TabPanel, { ...getTabPanelProps("interactions"), disablePadding: true }, /* @__PURE__ */ React80.createElement(InteractionsTab, null))));
4789
4758
  };
4790
4759
 
4791
4760
  // src/components/editing-panel.tsx
@@ -4798,13 +4767,13 @@ var EditingPanel = () => {
4798
4767
  if (!element || !elementType) {
4799
4768
  return null;
4800
4769
  }
4801
- const panelTitle = __56("Edit %s", "elementor").replace("%s", elementType.title);
4770
+ const panelTitle = __55("Edit %s", "elementor").replace("%s", elementType.title);
4802
4771
  const { component: ReplacementComponent } = getEditingPanelReplacement(element, elementType) ?? {};
4803
- let panelContent = /* @__PURE__ */ React82.createElement(React82.Fragment, null, /* @__PURE__ */ React82.createElement(PanelHeader, null, /* @__PURE__ */ React82.createElement(PanelHeaderTitle, null, panelTitle), /* @__PURE__ */ React82.createElement(AtomIcon, { fontSize: "small", sx: { color: "text.tertiary" } })), /* @__PURE__ */ React82.createElement(PanelBody, null, /* @__PURE__ */ React82.createElement(EditingPanelTabs, null)));
4772
+ let panelContent = /* @__PURE__ */ React81.createElement(React81.Fragment, null, /* @__PURE__ */ React81.createElement(PanelHeader, null, /* @__PURE__ */ React81.createElement(PanelHeaderTitle, null, panelTitle), /* @__PURE__ */ React81.createElement(AtomIcon, { fontSize: "small", sx: { color: "text.tertiary" } })), /* @__PURE__ */ React81.createElement(PanelBody, null, /* @__PURE__ */ React81.createElement(EditingPanelTabs, null)));
4804
4773
  if (ReplacementComponent) {
4805
- panelContent = /* @__PURE__ */ React82.createElement(ReplacementComponent, null);
4774
+ panelContent = /* @__PURE__ */ React81.createElement(ReplacementComponent, null);
4806
4775
  }
4807
- return /* @__PURE__ */ React82.createElement(ErrorBoundary, { fallback: /* @__PURE__ */ React82.createElement(EditorPanelErrorFallback, null) }, /* @__PURE__ */ React82.createElement(SessionStorageProvider3, { prefix: "elementor" }, /* @__PURE__ */ React82.createElement(ThemeProvider3, null, /* @__PURE__ */ React82.createElement(ControlActionsProvider, { items: menuItems }, /* @__PURE__ */ React82.createElement(ControlReplacementsProvider, { replacements: controlReplacements }, /* @__PURE__ */ React82.createElement(ElementProvider, { element, elementType }, /* @__PURE__ */ React82.createElement(Panel, null, /* @__PURE__ */ React82.createElement(PanelHeaderTopSlot, null), panelContent)))))));
4776
+ return /* @__PURE__ */ React81.createElement(ErrorBoundary, { fallback: /* @__PURE__ */ React81.createElement(EditorPanelErrorFallback, null) }, /* @__PURE__ */ React81.createElement(SessionStorageProvider3, { prefix: "elementor" }, /* @__PURE__ */ React81.createElement(ThemeProvider3, null, /* @__PURE__ */ React81.createElement(ControlActionsProvider, { items: menuItems }, /* @__PURE__ */ React81.createElement(ControlReplacementsProvider, { replacements: controlReplacements }, /* @__PURE__ */ React81.createElement(ElementProvider, { element, elementType }, /* @__PURE__ */ React81.createElement(Panel, null, /* @__PURE__ */ React81.createElement(PanelHeaderTopSlot, null), panelContent)))))));
4808
4777
  };
4809
4778
 
4810
4779
  // src/init.ts
@@ -4856,20 +4825,20 @@ var EditingPanelHooks = () => {
4856
4825
  import { AttributesControl, DisplayConditionsControl } from "@elementor/editor-controls";
4857
4826
 
4858
4827
  // src/components/promotions/custom-css.tsx
4859
- import * as React83 from "react";
4828
+ import * as React82 from "react";
4860
4829
  import { useRef as useRef15 } from "react";
4861
4830
  import { PromotionTrigger } from "@elementor/editor-controls";
4862
- import { __ as __57 } from "@wordpress/i18n";
4831
+ import { __ as __56 } from "@wordpress/i18n";
4863
4832
  var CustomCssSection = () => {
4864
4833
  const triggerRef = useRef15(null);
4865
- return /* @__PURE__ */ React83.createElement(
4834
+ return /* @__PURE__ */ React82.createElement(
4866
4835
  StyleTabSection,
4867
4836
  {
4868
4837
  section: {
4869
4838
  name: "Custom CSS",
4870
- title: __57("Custom CSS", "elementor"),
4839
+ title: __56("Custom CSS", "elementor"),
4871
4840
  action: {
4872
- component: /* @__PURE__ */ React83.createElement(PromotionTrigger, { ref: triggerRef, promotionKey: "customCss" }),
4841
+ component: /* @__PURE__ */ React82.createElement(PromotionTrigger, { ref: triggerRef, promotionKey: "customCss" }),
4873
4842
  onClick: () => triggerRef.current?.toggle()
4874
4843
  }
4875
4844
  }
@@ -4891,7 +4860,7 @@ var init = () => {
4891
4860
  };
4892
4861
 
4893
4862
  // src/controls-registry/element-controls/tabs-control/tabs-control.tsx
4894
- import * as React84 from "react";
4863
+ import * as React83 from "react";
4895
4864
  import {
4896
4865
  ControlFormLabel as ControlFormLabel3,
4897
4866
  Repeater,
@@ -4904,8 +4873,8 @@ import {
4904
4873
  } from "@elementor/editor-elements";
4905
4874
  import { numberPropTypeUtil as numberPropTypeUtil4 } from "@elementor/editor-props";
4906
4875
  import { InfoCircleFilledIcon } from "@elementor/icons";
4907
- import { Alert as Alert2, Chip as Chip4, Infotip, Stack as Stack15, Switch, TextField as TextField2, Typography as Typography4 } from "@elementor/ui";
4908
- import { __ as __59 } from "@wordpress/i18n";
4876
+ import { Alert as Alert2, Chip as Chip4, Infotip, Stack as Stack14, Switch, TextField as TextField2, Typography as Typography4 } from "@elementor/ui";
4877
+ import { __ as __58 } from "@wordpress/i18n";
4909
4878
 
4910
4879
  // src/controls-registry/element-controls/get-element-by-type.ts
4911
4880
  import { getContainer } from "@elementor/editor-elements";
@@ -4930,7 +4899,7 @@ import {
4930
4899
  removeElements
4931
4900
  } from "@elementor/editor-elements";
4932
4901
  import { numberPropTypeUtil as numberPropTypeUtil3 } from "@elementor/editor-props";
4933
- import { __ as __58 } from "@wordpress/i18n";
4902
+ import { __ as __57 } from "@wordpress/i18n";
4934
4903
  var TAB_ELEMENT_TYPE = "e-tab";
4935
4904
  var TAB_CONTENT_ELEMENT_TYPE = "e-tab-content";
4936
4905
  var useActions = () => {
@@ -4953,7 +4922,7 @@ var useActions = () => {
4953
4922
  }
4954
4923
  duplicateElements({
4955
4924
  elementIds: [tabId, tabContentId],
4956
- title: __58("Duplicate Tab", "elementor"),
4925
+ title: __57("Duplicate Tab", "elementor"),
4957
4926
  onDuplicateElements: () => {
4958
4927
  if (newDefault !== defaultActiveTab) {
4959
4928
  setDefaultActiveTab(newDefault, {}, { withHistory: false });
@@ -4990,7 +4959,7 @@ var useActions = () => {
4990
4959
  defaultActiveTab
4991
4960
  });
4992
4961
  moveElements({
4993
- title: __58("Reorder Tabs", "elementor"),
4962
+ title: __57("Reorder Tabs", "elementor"),
4994
4963
  moves: [
4995
4964
  {
4996
4965
  element: movedElement,
@@ -5024,7 +4993,7 @@ var useActions = () => {
5024
4993
  defaultActiveTab
5025
4994
  });
5026
4995
  removeElements({
5027
- title: __58("Tabs", "elementor"),
4996
+ title: __57("Tabs", "elementor"),
5028
4997
  elementIds: items3.flatMap(({ item, index }) => {
5029
4998
  const tabId = item.id;
5030
4999
  const tabContentContainer = getContainer2(tabContentAreaId);
@@ -5059,7 +5028,7 @@ var useActions = () => {
5059
5028
  items3.forEach(({ index }) => {
5060
5029
  const position = index + 1;
5061
5030
  createElements({
5062
- title: __58("Tabs", "elementor"),
5031
+ title: __57("Tabs", "elementor"),
5063
5032
  elements: [
5064
5033
  {
5065
5034
  container: tabContentArea,
@@ -5128,7 +5097,7 @@ var calculateDefaultOnDuplicate = ({
5128
5097
  var TAB_MENU_ELEMENT_TYPE = "e-tabs-menu";
5129
5098
  var TAB_CONTENT_AREA_ELEMENT_TYPE = "e-tabs-content-area";
5130
5099
  var TabsControl = ({ label }) => {
5131
- return /* @__PURE__ */ React84.createElement(SettingsField, { bind: "default-active-tab", propDisplayName: __59("Tabs", "elementor") }, /* @__PURE__ */ React84.createElement(TabsControlContent, { label }));
5100
+ return /* @__PURE__ */ React83.createElement(SettingsField, { bind: "default-active-tab", propDisplayName: __58("Tabs", "elementor") }, /* @__PURE__ */ React83.createElement(TabsControlContent, { label }));
5132
5101
  };
5133
5102
  var TabsControlContent = ({ label }) => {
5134
5103
  const { element } = useElement();
@@ -5172,7 +5141,7 @@ var TabsControlContent = ({ label }) => {
5172
5141
  });
5173
5142
  }
5174
5143
  };
5175
- return /* @__PURE__ */ React84.createElement(
5144
+ return /* @__PURE__ */ React83.createElement(
5176
5145
  Repeater,
5177
5146
  {
5178
5147
  showToggle: false,
@@ -5192,7 +5161,7 @@ var TabsControlContent = ({ label }) => {
5192
5161
  };
5193
5162
  var ItemLabel = ({ value, index }) => {
5194
5163
  const elementTitle = value?.title;
5195
- return /* @__PURE__ */ React84.createElement(Stack15, { sx: { minHeight: 20 }, direction: "row", alignItems: "center", gap: 1.5 }, /* @__PURE__ */ React84.createElement("span", null, elementTitle), /* @__PURE__ */ React84.createElement(ItemDefaultTab, { index }));
5164
+ return /* @__PURE__ */ React83.createElement(Stack14, { sx: { minHeight: 20 }, direction: "row", alignItems: "center", gap: 1.5 }, /* @__PURE__ */ React83.createElement("span", null, elementTitle), /* @__PURE__ */ React83.createElement(ItemDefaultTab, { index }));
5196
5165
  };
5197
5166
  var ItemDefaultTab = ({ index }) => {
5198
5167
  const { value: defaultItem } = useBoundProp5(numberPropTypeUtil4);
@@ -5200,18 +5169,18 @@ var ItemDefaultTab = ({ index }) => {
5200
5169
  if (!isDefault) {
5201
5170
  return null;
5202
5171
  }
5203
- return /* @__PURE__ */ React84.createElement(Chip4, { size: "tiny", shape: "rounded", label: __59("Default", "elementor") });
5172
+ return /* @__PURE__ */ React83.createElement(Chip4, { size: "tiny", shape: "rounded", label: __58("Default", "elementor") });
5204
5173
  };
5205
5174
  var ItemContent = ({ value, index }) => {
5206
5175
  if (!value.id) {
5207
5176
  return null;
5208
5177
  }
5209
- return /* @__PURE__ */ React84.createElement(Stack15, { p: 2, gap: 1.5 }, /* @__PURE__ */ React84.createElement(TabLabelControl, { elementId: value.id }), /* @__PURE__ */ React84.createElement(SettingsField, { bind: "default-active-tab", propDisplayName: __59("Tabs", "elementor") }, /* @__PURE__ */ React84.createElement(DefaultTabControl, { tabIndex: index })));
5178
+ return /* @__PURE__ */ React83.createElement(Stack14, { p: 2, gap: 1.5 }, /* @__PURE__ */ React83.createElement(TabLabelControl, { elementId: value.id }), /* @__PURE__ */ React83.createElement(SettingsField, { bind: "default-active-tab", propDisplayName: __58("Tabs", "elementor") }, /* @__PURE__ */ React83.createElement(DefaultTabControl, { tabIndex: index })));
5210
5179
  };
5211
5180
  var DefaultTabControl = ({ tabIndex }) => {
5212
5181
  const { value, setValue } = useBoundProp5(numberPropTypeUtil4);
5213
5182
  const isDefault = value === tabIndex;
5214
- return /* @__PURE__ */ React84.createElement(Stack15, { direction: "row", alignItems: "center", justifyContent: "space-between", gap: 2 }, /* @__PURE__ */ React84.createElement(ControlFormLabel3, null, __59("Set as default tab", "elementor")), /* @__PURE__ */ React84.createElement(ConditionalTooltip, { showTooltip: isDefault, placement: "right" }, /* @__PURE__ */ React84.createElement(
5183
+ return /* @__PURE__ */ React83.createElement(Stack14, { direction: "row", alignItems: "center", justifyContent: "space-between", gap: 2 }, /* @__PURE__ */ React83.createElement(ControlFormLabel3, null, __58("Set as default tab", "elementor")), /* @__PURE__ */ React83.createElement(ConditionalTooltip, { showTooltip: isDefault, placement: "right" }, /* @__PURE__ */ React83.createElement(
5215
5184
  Switch,
5216
5185
  {
5217
5186
  size: "small",
@@ -5229,7 +5198,7 @@ var DefaultTabControl = ({ tabIndex }) => {
5229
5198
  var TabLabelControl = ({ elementId }) => {
5230
5199
  const editorSettings = useElementEditorSettings(elementId);
5231
5200
  const label = editorSettings?.title ?? "";
5232
- return /* @__PURE__ */ React84.createElement(Stack15, { gap: 1 }, /* @__PURE__ */ React84.createElement(ControlFormLabel3, null, __59("Tab name", "elementor")), /* @__PURE__ */ React84.createElement(
5201
+ return /* @__PURE__ */ React83.createElement(Stack14, { gap: 1 }, /* @__PURE__ */ React83.createElement(ControlFormLabel3, null, __58("Tab name", "elementor")), /* @__PURE__ */ React83.createElement(
5233
5202
  TextField2,
5234
5203
  {
5235
5204
  size: "tiny",
@@ -5250,22 +5219,22 @@ var ConditionalTooltip = ({
5250
5219
  if (!showTooltip) {
5251
5220
  return children;
5252
5221
  }
5253
- return /* @__PURE__ */ React84.createElement(
5222
+ return /* @__PURE__ */ React83.createElement(
5254
5223
  Infotip,
5255
5224
  {
5256
5225
  arrow: false,
5257
- content: /* @__PURE__ */ React84.createElement(
5226
+ content: /* @__PURE__ */ React83.createElement(
5258
5227
  Alert2,
5259
5228
  {
5260
5229
  color: "secondary",
5261
- icon: /* @__PURE__ */ React84.createElement(InfoCircleFilledIcon, { fontSize: "tiny" }),
5230
+ icon: /* @__PURE__ */ React83.createElement(InfoCircleFilledIcon, { fontSize: "tiny" }),
5262
5231
  size: "small",
5263
5232
  sx: { width: 288 }
5264
5233
  },
5265
- /* @__PURE__ */ React84.createElement(Typography4, { variant: "body2" }, __59("To change the default tab, simply set another tab as default.", "elementor"))
5234
+ /* @__PURE__ */ React83.createElement(Typography4, { variant: "body2" }, __58("To change the default tab, simply set another tab as default.", "elementor"))
5266
5235
  )
5267
5236
  },
5268
- /* @__PURE__ */ React84.createElement("span", null, children)
5237
+ /* @__PURE__ */ React83.createElement("span", null, children)
5269
5238
  );
5270
5239
  };
5271
5240
 
@@ -5291,7 +5260,7 @@ import {
5291
5260
  import { controlActionsMenu as controlActionsMenu2 } from "@elementor/menus";
5292
5261
 
5293
5262
  // src/dynamics/components/background-control-dynamic-tag.tsx
5294
- import * as React85 from "react";
5263
+ import * as React84 from "react";
5295
5264
  import { PropKeyProvider as PropKeyProvider4, PropProvider as PropProvider4, useBoundProp as useBoundProp7 } from "@elementor/editor-controls";
5296
5265
  import {
5297
5266
  backgroundImageOverlayPropTypeUtil
@@ -5434,24 +5403,24 @@ var useDynamicTag = (tagName) => {
5434
5403
  };
5435
5404
 
5436
5405
  // src/dynamics/components/background-control-dynamic-tag.tsx
5437
- var BackgroundControlDynamicTagIcon = () => /* @__PURE__ */ React85.createElement(DatabaseIcon, { fontSize: "tiny" });
5406
+ var BackgroundControlDynamicTagIcon = () => /* @__PURE__ */ React84.createElement(DatabaseIcon, { fontSize: "tiny" });
5438
5407
  var BackgroundControlDynamicTagLabel = ({ value }) => {
5439
5408
  const context = useBoundProp7(backgroundImageOverlayPropTypeUtil);
5440
- return /* @__PURE__ */ React85.createElement(PropProvider4, { ...context, value: value.value }, /* @__PURE__ */ React85.createElement(PropKeyProvider4, { bind: "image" }, /* @__PURE__ */ React85.createElement(Wrapper2, { rawValue: value.value })));
5409
+ return /* @__PURE__ */ React84.createElement(PropProvider4, { ...context, value: value.value }, /* @__PURE__ */ React84.createElement(PropKeyProvider4, { bind: "image" }, /* @__PURE__ */ React84.createElement(Wrapper2, { rawValue: value.value })));
5441
5410
  };
5442
5411
  var Wrapper2 = ({ rawValue }) => {
5443
5412
  const { propType } = useBoundProp7();
5444
5413
  const imageOverlayPropType = propType.prop_types["background-image-overlay"];
5445
- return /* @__PURE__ */ React85.createElement(PropProvider4, { propType: imageOverlayPropType.shape.image, value: rawValue, setValue: () => void 0 }, /* @__PURE__ */ React85.createElement(PropKeyProvider4, { bind: "src" }, /* @__PURE__ */ React85.createElement(Content, { rawValue: rawValue.image })));
5414
+ return /* @__PURE__ */ React84.createElement(PropProvider4, { propType: imageOverlayPropType.shape.image, value: rawValue, setValue: () => void 0 }, /* @__PURE__ */ React84.createElement(PropKeyProvider4, { bind: "src" }, /* @__PURE__ */ React84.createElement(Content, { rawValue: rawValue.image })));
5446
5415
  };
5447
5416
  var Content = ({ rawValue }) => {
5448
5417
  const src = rawValue.value.src;
5449
5418
  const dynamicTag = useDynamicTag(src.value.name || "");
5450
- return /* @__PURE__ */ React85.createElement(React85.Fragment, null, dynamicTag?.label);
5419
+ return /* @__PURE__ */ React84.createElement(React84.Fragment, null, dynamicTag?.label);
5451
5420
  };
5452
5421
 
5453
5422
  // src/dynamics/components/dynamic-selection-control.tsx
5454
- import * as React89 from "react";
5423
+ import * as React88 from "react";
5455
5424
  import {
5456
5425
  ControlFormLabel as ControlFormLabel4,
5457
5426
  PropKeyProvider as PropKeyProvider6,
@@ -5468,7 +5437,7 @@ import {
5468
5437
  Grid as Grid5,
5469
5438
  IconButton as IconButton2,
5470
5439
  Popover,
5471
- Stack as Stack17,
5440
+ Stack as Stack16,
5472
5441
  Tab as Tab2,
5473
5442
  TabPanel as TabPanel2,
5474
5443
  Tabs as Tabs2,
@@ -5476,7 +5445,7 @@ import {
5476
5445
  usePopupState as usePopupState2,
5477
5446
  useTabs as useTabs2
5478
5447
  } from "@elementor/ui";
5479
- import { __ as __61 } from "@wordpress/i18n";
5448
+ import { __ as __60 } from "@wordpress/i18n";
5480
5449
 
5481
5450
  // src/hooks/use-persist-dynamic-value.ts
5482
5451
  import { useSessionStorage as useSessionStorage4 } from "@elementor/session";
@@ -5487,11 +5456,11 @@ var usePersistDynamicValue = (propKey) => {
5487
5456
  };
5488
5457
 
5489
5458
  // src/dynamics/dynamic-control.tsx
5490
- import * as React87 from "react";
5459
+ import * as React86 from "react";
5491
5460
  import { PropKeyProvider as PropKeyProvider5, PropProvider as PropProvider5, useBoundProp as useBoundProp8 } from "@elementor/editor-controls";
5492
5461
 
5493
5462
  // src/dynamics/components/dynamic-conditional-control.tsx
5494
- import * as React86 from "react";
5463
+ import * as React85 from "react";
5495
5464
  import { isDependencyMet as isDependencyMet4 } from "@elementor/editor-props";
5496
5465
  var DynamicConditionalControl = ({
5497
5466
  children,
@@ -5499,7 +5468,7 @@ var DynamicConditionalControl = ({
5499
5468
  propsSchema,
5500
5469
  dynamicSettings
5501
5470
  }) => {
5502
- const defaults = React86.useMemo(() => {
5471
+ const defaults = React85.useMemo(() => {
5503
5472
  if (!propsSchema) {
5504
5473
  return {};
5505
5474
  }
@@ -5509,7 +5478,7 @@ var DynamicConditionalControl = ({
5509
5478
  return result;
5510
5479
  }, {});
5511
5480
  }, [propsSchema]);
5512
- const convertedSettings = React86.useMemo(() => {
5481
+ const convertedSettings = React85.useMemo(() => {
5513
5482
  if (!dynamicSettings) {
5514
5483
  return {};
5515
5484
  }
@@ -5528,14 +5497,14 @@ var DynamicConditionalControl = ({
5528
5497
  {}
5529
5498
  );
5530
5499
  }, [dynamicSettings]);
5531
- const effectiveSettings = React86.useMemo(() => {
5500
+ const effectiveSettings = React85.useMemo(() => {
5532
5501
  return { ...defaults, ...convertedSettings };
5533
5502
  }, [defaults, convertedSettings]);
5534
5503
  if (!propType?.dependencies?.terms.length) {
5535
- return /* @__PURE__ */ React86.createElement(React86.Fragment, null, children);
5504
+ return /* @__PURE__ */ React85.createElement(React85.Fragment, null, children);
5536
5505
  }
5537
5506
  const isHidden = !isDependencyMet4(propType?.dependencies, effectiveSettings).isMet;
5538
- return isHidden ? null : /* @__PURE__ */ React86.createElement(React86.Fragment, null, children);
5507
+ return isHidden ? null : /* @__PURE__ */ React85.createElement(React85.Fragment, null, children);
5539
5508
  };
5540
5509
 
5541
5510
  // src/dynamics/dynamic-control.tsx
@@ -5560,7 +5529,7 @@ var DynamicControl = ({ bind, children }) => {
5560
5529
  });
5561
5530
  };
5562
5531
  const propType = createTopLevelObjectType({ schema: dynamicTag.props_schema });
5563
- return /* @__PURE__ */ React87.createElement(PropProvider5, { propType, setValue: setDynamicValue, value: { [bind]: dynamicValue } }, /* @__PURE__ */ React87.createElement(PropKeyProvider5, { bind }, /* @__PURE__ */ React87.createElement(
5532
+ return /* @__PURE__ */ React86.createElement(PropProvider5, { propType, setValue: setDynamicValue, value: { [bind]: dynamicValue } }, /* @__PURE__ */ React86.createElement(PropKeyProvider5, { bind }, /* @__PURE__ */ React86.createElement(
5564
5533
  DynamicConditionalControl,
5565
5534
  {
5566
5535
  propType: dynamicPropType,
@@ -5572,19 +5541,19 @@ var DynamicControl = ({ bind, children }) => {
5572
5541
  };
5573
5542
 
5574
5543
  // src/dynamics/components/dynamic-selection.tsx
5575
- import { Fragment as Fragment13, useState as useState11 } from "react";
5576
- import * as React88 from "react";
5544
+ import { Fragment as Fragment13, useState as useState10 } from "react";
5545
+ import * as React87 from "react";
5577
5546
  import { useBoundProp as useBoundProp9 } from "@elementor/editor-controls";
5578
5547
  import { CtaButton, PopoverHeader, PopoverMenuList, SearchField, SectionPopoverBody } from "@elementor/editor-ui";
5579
5548
  import { DatabaseIcon as DatabaseIcon2 } from "@elementor/icons";
5580
- import { Divider as Divider7, Link as Link2, Stack as Stack16, Typography as Typography5, useTheme as useTheme3 } from "@elementor/ui";
5581
- import { __ as __60 } from "@wordpress/i18n";
5549
+ import { Divider as Divider7, Link as Link2, Stack as Stack15, Typography as Typography5, useTheme as useTheme3 } from "@elementor/ui";
5550
+ import { __ as __59 } from "@wordpress/i18n";
5582
5551
  var SIZE2 = "tiny";
5583
5552
  var PROMO_TEXT_WIDTH = 170;
5584
5553
  var PRO_DYNAMIC_TAGS_URL = "https://go.elementor.com/go-pro-dynamic-tags-modal/";
5585
5554
  var RENEW_DYNAMIC_TAGS_URL = "https://go.elementor.com/go-pro-dynamic-tags-renew-modal/";
5586
5555
  var DynamicSelection = ({ close: closePopover, expired = false }) => {
5587
- const [searchValue, setSearchValue] = useState11("");
5556
+ const [searchValue, setSearchValue] = useState10("");
5588
5557
  const { groups: dynamicGroups } = getAtomicDynamicTags() || {};
5589
5558
  const theme = useTheme3();
5590
5559
  const { value: anyValue } = useBoundProp9();
@@ -5618,19 +5587,19 @@ var DynamicSelection = ({ close: closePopover, expired = false }) => {
5618
5587
  ]);
5619
5588
  const getPopOverContent = () => {
5620
5589
  if (hasNoDynamicTags) {
5621
- return /* @__PURE__ */ React88.createElement(NoDynamicTags, null);
5590
+ return /* @__PURE__ */ React87.createElement(NoDynamicTags, null);
5622
5591
  }
5623
5592
  if (expired) {
5624
- return /* @__PURE__ */ React88.createElement(ExpiredDynamicTags, null);
5593
+ return /* @__PURE__ */ React87.createElement(ExpiredDynamicTags, null);
5625
5594
  }
5626
- return /* @__PURE__ */ React88.createElement(Fragment13, null, /* @__PURE__ */ React88.createElement(
5595
+ return /* @__PURE__ */ React87.createElement(Fragment13, null, /* @__PURE__ */ React87.createElement(
5627
5596
  SearchField,
5628
5597
  {
5629
5598
  value: searchValue,
5630
5599
  onSearch: handleSearch,
5631
- placeholder: __60("Search dynamic tags\u2026", "elementor")
5600
+ placeholder: __59("Search dynamic tags\u2026", "elementor")
5632
5601
  }
5633
- ), /* @__PURE__ */ React88.createElement(Divider7, null), /* @__PURE__ */ React88.createElement(
5602
+ ), /* @__PURE__ */ React87.createElement(Divider7, null), /* @__PURE__ */ React87.createElement(
5634
5603
  PopoverMenuList,
5635
5604
  {
5636
5605
  items: virtualizedItems,
@@ -5638,21 +5607,21 @@ var DynamicSelection = ({ close: closePopover, expired = false }) => {
5638
5607
  onClose: closePopover,
5639
5608
  selectedValue: dynamicValue?.name,
5640
5609
  itemStyle: (item) => item.type === "item" ? { paddingInlineStart: theme.spacing(3.5) } : {},
5641
- noResultsComponent: /* @__PURE__ */ React88.createElement(NoResults, { searchValue, onClear: () => setSearchValue("") })
5610
+ noResultsComponent: /* @__PURE__ */ React87.createElement(NoResults, { searchValue, onClear: () => setSearchValue("") })
5642
5611
  }
5643
5612
  ));
5644
5613
  };
5645
- return /* @__PURE__ */ React88.createElement(SectionPopoverBody, { "aria-label": __60("Dynamic tags", "elementor") }, /* @__PURE__ */ React88.createElement(
5614
+ return /* @__PURE__ */ React87.createElement(SectionPopoverBody, { "aria-label": __59("Dynamic tags", "elementor") }, /* @__PURE__ */ React87.createElement(
5646
5615
  PopoverHeader,
5647
5616
  {
5648
- title: __60("Dynamic tags", "elementor"),
5617
+ title: __59("Dynamic tags", "elementor"),
5649
5618
  onClose: closePopover,
5650
- icon: /* @__PURE__ */ React88.createElement(DatabaseIcon2, { fontSize: SIZE2 })
5619
+ icon: /* @__PURE__ */ React87.createElement(DatabaseIcon2, { fontSize: SIZE2 })
5651
5620
  }
5652
5621
  ), getPopOverContent());
5653
5622
  };
5654
- var NoResults = ({ searchValue, onClear }) => /* @__PURE__ */ React88.createElement(
5655
- Stack16,
5623
+ var NoResults = ({ searchValue, onClear }) => /* @__PURE__ */ React87.createElement(
5624
+ Stack15,
5656
5625
  {
5657
5626
  gap: 1,
5658
5627
  alignItems: "center",
@@ -5662,12 +5631,12 @@ var NoResults = ({ searchValue, onClear }) => /* @__PURE__ */ React88.createElem
5662
5631
  color: "text.secondary",
5663
5632
  sx: { pb: 3.5 }
5664
5633
  },
5665
- /* @__PURE__ */ React88.createElement(DatabaseIcon2, { fontSize: "large" }),
5666
- /* @__PURE__ */ React88.createElement(Typography5, { align: "center", variant: "subtitle2" }, __60("Sorry, nothing matched", "elementor"), /* @__PURE__ */ React88.createElement("br", null), "\u201C", searchValue, "\u201D."),
5667
- /* @__PURE__ */ React88.createElement(Typography5, { align: "center", variant: "caption", sx: { display: "flex", flexDirection: "column" } }, __60("Try something else.", "elementor"), /* @__PURE__ */ React88.createElement(Link2, { color: "text.secondary", variant: "caption", component: "button", onClick: onClear }, __60("Clear & try again", "elementor")))
5634
+ /* @__PURE__ */ React87.createElement(DatabaseIcon2, { fontSize: "large" }),
5635
+ /* @__PURE__ */ React87.createElement(Typography5, { align: "center", variant: "subtitle2" }, __59("Sorry, nothing matched", "elementor"), /* @__PURE__ */ React87.createElement("br", null), "\u201C", searchValue, "\u201D."),
5636
+ /* @__PURE__ */ React87.createElement(Typography5, { align: "center", variant: "caption", sx: { display: "flex", flexDirection: "column" } }, __59("Try something else.", "elementor"), /* @__PURE__ */ React87.createElement(Link2, { color: "text.secondary", variant: "caption", component: "button", onClick: onClear }, __59("Clear & try again", "elementor")))
5668
5637
  );
5669
- var NoDynamicTags = () => /* @__PURE__ */ React88.createElement(React88.Fragment, null, /* @__PURE__ */ React88.createElement(Divider7, null), /* @__PURE__ */ React88.createElement(
5670
- Stack16,
5638
+ var NoDynamicTags = () => /* @__PURE__ */ React87.createElement(React87.Fragment, null, /* @__PURE__ */ React87.createElement(Divider7, null), /* @__PURE__ */ React87.createElement(
5639
+ Stack15,
5671
5640
  {
5672
5641
  gap: 1,
5673
5642
  alignItems: "center",
@@ -5677,13 +5646,13 @@ var NoDynamicTags = () => /* @__PURE__ */ React88.createElement(React88.Fragment
5677
5646
  color: "text.secondary",
5678
5647
  sx: { pb: 3.5 }
5679
5648
  },
5680
- /* @__PURE__ */ React88.createElement(DatabaseIcon2, { fontSize: "large" }),
5681
- /* @__PURE__ */ React88.createElement(Typography5, { align: "center", variant: "subtitle2" }, __60("Streamline your workflow with dynamic tags", "elementor")),
5682
- /* @__PURE__ */ React88.createElement(Typography5, { align: "center", variant: "caption", width: PROMO_TEXT_WIDTH }, __60("Upgrade now to display your content dynamically.", "elementor")),
5683
- /* @__PURE__ */ React88.createElement(CtaButton, { size: "small", href: PRO_DYNAMIC_TAGS_URL })
5649
+ /* @__PURE__ */ React87.createElement(DatabaseIcon2, { fontSize: "large" }),
5650
+ /* @__PURE__ */ React87.createElement(Typography5, { align: "center", variant: "subtitle2" }, __59("Streamline your workflow with dynamic tags", "elementor")),
5651
+ /* @__PURE__ */ React87.createElement(Typography5, { align: "center", variant: "caption", width: PROMO_TEXT_WIDTH }, __59("Upgrade now to display your content dynamically.", "elementor")),
5652
+ /* @__PURE__ */ React87.createElement(CtaButton, { size: "small", href: PRO_DYNAMIC_TAGS_URL })
5684
5653
  ));
5685
- var ExpiredDynamicTags = () => /* @__PURE__ */ React88.createElement(React88.Fragment, null, /* @__PURE__ */ React88.createElement(Divider7, null), /* @__PURE__ */ React88.createElement(
5686
- Stack16,
5654
+ var ExpiredDynamicTags = () => /* @__PURE__ */ React87.createElement(React87.Fragment, null, /* @__PURE__ */ React87.createElement(Divider7, null), /* @__PURE__ */ React87.createElement(
5655
+ Stack15,
5687
5656
  {
5688
5657
  gap: 1,
5689
5658
  alignItems: "center",
@@ -5693,10 +5662,10 @@ var ExpiredDynamicTags = () => /* @__PURE__ */ React88.createElement(React88.Fra
5693
5662
  color: "text.secondary",
5694
5663
  sx: { pb: 3.5 }
5695
5664
  },
5696
- /* @__PURE__ */ React88.createElement(DatabaseIcon2, { fontSize: "large" }),
5697
- /* @__PURE__ */ React88.createElement(Typography5, { align: "center", variant: "subtitle2" }, __60("Unlock your Dynamic tags again", "elementor")),
5698
- /* @__PURE__ */ React88.createElement(Typography5, { align: "center", variant: "caption", width: PROMO_TEXT_WIDTH }, __60("Dynamic tags need Elementor Pro. Renew now to keep them active.", "elementor")),
5699
- /* @__PURE__ */ React88.createElement(CtaButton, { size: "small", href: RENEW_DYNAMIC_TAGS_URL, children: __60("Renew Now", "elementor") })
5665
+ /* @__PURE__ */ React87.createElement(DatabaseIcon2, { fontSize: "large" }),
5666
+ /* @__PURE__ */ React87.createElement(Typography5, { align: "center", variant: "subtitle2" }, __59("Unlock your Dynamic tags again", "elementor")),
5667
+ /* @__PURE__ */ React87.createElement(Typography5, { align: "center", variant: "caption", width: PROMO_TEXT_WIDTH }, __59("Dynamic tags need Elementor Pro. Renew now to keep them active.", "elementor")),
5668
+ /* @__PURE__ */ React87.createElement(CtaButton, { size: "small", href: RENEW_DYNAMIC_TAGS_URL, children: __59("Renew Now", "elementor") })
5700
5669
  ));
5701
5670
  var useFilteredOptions = (searchValue) => {
5702
5671
  const dynamicTags = usePropDynamicTags();
@@ -5731,7 +5700,7 @@ var DynamicSelectionControl = ({ OriginalControl, ...props }) => {
5731
5700
  const { name: tagName = "" } = value;
5732
5701
  const dynamicTag = useDynamicTag(tagName);
5733
5702
  if (!isDynamicTagSupported(tagName) && OriginalControl) {
5734
- return /* @__PURE__ */ React89.createElement(PropProvider6, { propType: originalPropType, value: { [bind]: null }, setValue: setAnyValue }, /* @__PURE__ */ React89.createElement(PropKeyProvider6, { bind }, /* @__PURE__ */ React89.createElement(OriginalControl, { ...props })));
5703
+ return /* @__PURE__ */ React88.createElement(PropProvider6, { propType: originalPropType, value: { [bind]: null }, setValue: setAnyValue }, /* @__PURE__ */ React88.createElement(PropKeyProvider6, { bind }, /* @__PURE__ */ React88.createElement(OriginalControl, { ...props })));
5735
5704
  }
5736
5705
  const removeDynamicTag = () => {
5737
5706
  setAnyValue(propValueFromHistory ?? null);
@@ -5739,25 +5708,25 @@ var DynamicSelectionControl = ({ OriginalControl, ...props }) => {
5739
5708
  if (!dynamicTag) {
5740
5709
  throw new Error(`Dynamic tag ${tagName} not found`);
5741
5710
  }
5742
- return /* @__PURE__ */ React89.createElement(Box6, null, /* @__PURE__ */ React89.createElement(
5711
+ return /* @__PURE__ */ React88.createElement(Box6, null, /* @__PURE__ */ React88.createElement(
5743
5712
  Tag,
5744
5713
  {
5745
5714
  fullWidth: true,
5746
5715
  showActionsOnHover: true,
5747
5716
  label: dynamicTag.label,
5748
- startIcon: /* @__PURE__ */ React89.createElement(DatabaseIcon3, { fontSize: SIZE3 }),
5717
+ startIcon: /* @__PURE__ */ React88.createElement(DatabaseIcon3, { fontSize: SIZE3 }),
5749
5718
  ...bindTrigger2(selectionPopoverState),
5750
- actions: /* @__PURE__ */ React89.createElement(React89.Fragment, null, /* @__PURE__ */ React89.createElement(DynamicSettingsPopover, { dynamicTag, disabled: readonly }), /* @__PURE__ */ React89.createElement(
5719
+ actions: /* @__PURE__ */ React88.createElement(React88.Fragment, null, /* @__PURE__ */ React88.createElement(DynamicSettingsPopover, { dynamicTag, disabled: readonly }), /* @__PURE__ */ React88.createElement(
5751
5720
  IconButton2,
5752
5721
  {
5753
5722
  size: SIZE3,
5754
5723
  onClick: removeDynamicTag,
5755
- "aria-label": __61("Remove dynamic value", "elementor")
5724
+ "aria-label": __60("Remove dynamic value", "elementor")
5756
5725
  },
5757
- /* @__PURE__ */ React89.createElement(XIcon, { fontSize: SIZE3 })
5726
+ /* @__PURE__ */ React88.createElement(XIcon, { fontSize: SIZE3 })
5758
5727
  ))
5759
5728
  }
5760
- ), /* @__PURE__ */ React89.createElement(
5729
+ ), /* @__PURE__ */ React88.createElement(
5761
5730
  Popover,
5762
5731
  {
5763
5732
  disablePortal: true,
@@ -5769,7 +5738,7 @@ var DynamicSelectionControl = ({ OriginalControl, ...props }) => {
5769
5738
  },
5770
5739
  ...bindPopover(selectionPopoverState)
5771
5740
  },
5772
- /* @__PURE__ */ React89.createElement(SectionPopoverBody2, { "aria-label": __61("Dynamic tags", "elementor") }, /* @__PURE__ */ React89.createElement(DynamicSelection, { close: selectionPopoverState.close, expired: readonly }))
5741
+ /* @__PURE__ */ React88.createElement(SectionPopoverBody2, { "aria-label": __60("Dynamic tags", "elementor") }, /* @__PURE__ */ React88.createElement(DynamicSelection, { close: selectionPopoverState.close, expired: readonly }))
5773
5742
  ));
5774
5743
  };
5775
5744
  var DynamicSettingsPopover = ({
@@ -5781,16 +5750,16 @@ var DynamicSettingsPopover = ({
5781
5750
  if (!hasDynamicSettings) {
5782
5751
  return null;
5783
5752
  }
5784
- return /* @__PURE__ */ React89.createElement(React89.Fragment, null, /* @__PURE__ */ React89.createElement(
5753
+ return /* @__PURE__ */ React88.createElement(React88.Fragment, null, /* @__PURE__ */ React88.createElement(
5785
5754
  IconButton2,
5786
5755
  {
5787
5756
  size: SIZE3,
5788
5757
  disabled,
5789
5758
  ...!disabled && bindTrigger2(popupState),
5790
- "aria-label": __61("Dynamic settings", "elementor")
5759
+ "aria-label": __60("Dynamic settings", "elementor")
5791
5760
  },
5792
- /* @__PURE__ */ React89.createElement(SettingsIcon, { fontSize: SIZE3 })
5793
- ), /* @__PURE__ */ React89.createElement(
5761
+ /* @__PURE__ */ React88.createElement(SettingsIcon, { fontSize: SIZE3 })
5762
+ ), /* @__PURE__ */ React88.createElement(
5794
5763
  Popover,
5795
5764
  {
5796
5765
  disablePortal: true,
@@ -5802,14 +5771,14 @@ var DynamicSettingsPopover = ({
5802
5771
  },
5803
5772
  ...bindPopover(popupState)
5804
5773
  },
5805
- /* @__PURE__ */ React89.createElement(SectionPopoverBody2, { "aria-label": __61("Dynamic settings", "elementor") }, /* @__PURE__ */ React89.createElement(
5774
+ /* @__PURE__ */ React88.createElement(SectionPopoverBody2, { "aria-label": __60("Dynamic settings", "elementor") }, /* @__PURE__ */ React88.createElement(
5806
5775
  PopoverHeader2,
5807
5776
  {
5808
5777
  title: dynamicTag.label,
5809
5778
  onClose: popupState.close,
5810
- icon: /* @__PURE__ */ React89.createElement(DatabaseIcon3, { fontSize: SIZE3 })
5779
+ icon: /* @__PURE__ */ React88.createElement(DatabaseIcon3, { fontSize: SIZE3 })
5811
5780
  }
5812
- ), /* @__PURE__ */ React89.createElement(DynamicSettings, { controls: dynamicTag.atomic_controls, tagName: dynamicTag.name }))
5781
+ ), /* @__PURE__ */ React88.createElement(DynamicSettings, { controls: dynamicTag.atomic_controls, tagName: dynamicTag.name }))
5813
5782
  ));
5814
5783
  };
5815
5784
  var DynamicSettings = ({ controls, tagName }) => {
@@ -5820,9 +5789,9 @@ var DynamicSettings = ({ controls, tagName }) => {
5820
5789
  }
5821
5790
  if (tagsWithoutTabs.includes(tagName)) {
5822
5791
  const singleTab = tabs[0];
5823
- return /* @__PURE__ */ React89.createElement(React89.Fragment, null, /* @__PURE__ */ React89.createElement(Divider8, null), /* @__PURE__ */ React89.createElement(ControlsItemsStack, { items: singleTab.value.items }));
5792
+ return /* @__PURE__ */ React88.createElement(React88.Fragment, null, /* @__PURE__ */ React88.createElement(Divider8, null), /* @__PURE__ */ React88.createElement(ControlsItemsStack, { items: singleTab.value.items }));
5824
5793
  }
5825
- return /* @__PURE__ */ React89.createElement(React89.Fragment, null, tabs.length > 1 && /* @__PURE__ */ React89.createElement(Tabs2, { size: "small", variant: "fullWidth", ...getTabsProps() }, tabs.map(({ value }, index) => /* @__PURE__ */ React89.createElement(
5794
+ return /* @__PURE__ */ React88.createElement(React88.Fragment, null, tabs.length > 1 && /* @__PURE__ */ React88.createElement(Tabs2, { size: "small", variant: "fullWidth", ...getTabsProps() }, tabs.map(({ value }, index) => /* @__PURE__ */ React88.createElement(
5826
5795
  Tab2,
5827
5796
  {
5828
5797
  key: index,
@@ -5830,15 +5799,15 @@ var DynamicSettings = ({ controls, tagName }) => {
5830
5799
  sx: { px: 1, py: 0.5 },
5831
5800
  ...getTabProps(index)
5832
5801
  }
5833
- ))), /* @__PURE__ */ React89.createElement(Divider8, null), tabs.map(({ value }, index) => {
5834
- return /* @__PURE__ */ React89.createElement(
5802
+ ))), /* @__PURE__ */ React88.createElement(Divider8, null), tabs.map(({ value }, index) => {
5803
+ return /* @__PURE__ */ React88.createElement(
5835
5804
  TabPanel2,
5836
5805
  {
5837
5806
  key: index,
5838
5807
  sx: { flexGrow: 1, py: 0, overflowY: "auto" },
5839
5808
  ...getTabPanelProps(index)
5840
5809
  },
5841
- /* @__PURE__ */ React89.createElement(ControlsItemsStack, { items: value.items })
5810
+ /* @__PURE__ */ React88.createElement(ControlsItemsStack, { items: value.items })
5842
5811
  );
5843
5812
  }));
5844
5813
  };
@@ -5880,11 +5849,11 @@ var Control2 = ({ control }) => {
5880
5849
  display: "grid",
5881
5850
  gridTemplateColumns: isSwitchControl ? "minmax(0, 1fr) max-content" : "1fr 1fr"
5882
5851
  } : {};
5883
- return /* @__PURE__ */ React89.createElement(DynamicControl, { bind: control.bind }, /* @__PURE__ */ React89.createElement(Grid5, { container: true, gap: 0.75, sx: layoutStyleProps }, control.label ? /* @__PURE__ */ React89.createElement(Grid5, { item: true, xs: 12 }, /* @__PURE__ */ React89.createElement(ControlFormLabel4, null, control.label)) : null, /* @__PURE__ */ React89.createElement(Grid5, { item: true, xs: 12 }, /* @__PURE__ */ React89.createElement(Control, { type: control.type, props: controlProps }))));
5852
+ return /* @__PURE__ */ React88.createElement(DynamicControl, { bind: control.bind }, /* @__PURE__ */ React88.createElement(Grid5, { container: true, gap: 0.75, sx: layoutStyleProps }, control.label ? /* @__PURE__ */ React88.createElement(Grid5, { item: true, xs: 12 }, /* @__PURE__ */ React88.createElement(ControlFormLabel4, null, control.label)) : null, /* @__PURE__ */ React88.createElement(Grid5, { item: true, xs: 12 }, /* @__PURE__ */ React88.createElement(Control, { type: control.type, props: controlProps }))));
5884
5853
  };
5885
5854
  function ControlsItemsStack({ items: items3 }) {
5886
- return /* @__PURE__ */ React89.createElement(Stack17, { p: 2, gap: 2, sx: { overflowY: "auto" } }, items3.map(
5887
- (item) => item.type === "control" ? /* @__PURE__ */ React89.createElement(Control2, { key: item.value.bind, control: item.value }) : null
5855
+ return /* @__PURE__ */ React88.createElement(Stack16, { p: 2, gap: 2, sx: { overflowY: "auto" } }, items3.map(
5856
+ (item) => item.type === "control" ? /* @__PURE__ */ React88.createElement(Control2, { key: item.value.bind, control: item.value }) : null
5888
5857
  ));
5889
5858
  }
5890
5859
 
@@ -5937,18 +5906,18 @@ function getDynamicValue(name, settings) {
5937
5906
  }
5938
5907
 
5939
5908
  // src/dynamics/hooks/use-prop-dynamic-action.tsx
5940
- import * as React90 from "react";
5909
+ import * as React89 from "react";
5941
5910
  import { useBoundProp as useBoundProp11 } from "@elementor/editor-controls";
5942
5911
  import { DatabaseIcon as DatabaseIcon4 } from "@elementor/icons";
5943
- import { __ as __62 } from "@wordpress/i18n";
5912
+ import { __ as __61 } from "@wordpress/i18n";
5944
5913
  var usePropDynamicAction = () => {
5945
5914
  const { propType } = useBoundProp11();
5946
5915
  const visible = !!propType && supportsDynamic(propType);
5947
5916
  return {
5948
5917
  visible,
5949
5918
  icon: DatabaseIcon4,
5950
- title: __62("Dynamic tags", "elementor"),
5951
- content: ({ close }) => /* @__PURE__ */ React90.createElement(DynamicSelection, { close })
5919
+ title: __61("Dynamic tags", "elementor"),
5920
+ content: ({ close }) => /* @__PURE__ */ React89.createElement(DynamicSelection, { close })
5952
5921
  };
5953
5922
  };
5954
5923
 
@@ -5982,7 +5951,7 @@ import { useBoundProp as useBoundProp12 } from "@elementor/editor-controls";
5982
5951
  import { hasVariable as hasVariable2 } from "@elementor/editor-variables";
5983
5952
  import { BrushBigIcon } from "@elementor/icons";
5984
5953
  import { controlActionsMenu as controlActionsMenu3 } from "@elementor/menus";
5985
- import { __ as __63 } from "@wordpress/i18n";
5954
+ import { __ as __62 } from "@wordpress/i18n";
5986
5955
 
5987
5956
  // src/utils/is-equal.ts
5988
5957
  function isEqual(a, b) {
@@ -6057,22 +6026,22 @@ function useResetStyleValueProps() {
6057
6026
  const visible = calculateVisibility();
6058
6027
  return {
6059
6028
  visible,
6060
- title: __63("Clear", "elementor"),
6029
+ title: __62("Clear", "elementor"),
6061
6030
  icon: BrushBigIcon,
6062
6031
  onClick: () => resetValue()
6063
6032
  };
6064
6033
  }
6065
6034
 
6066
6035
  // src/styles-inheritance/components/styles-inheritance-indicator.tsx
6067
- import * as React96 from "react";
6036
+ import * as React95 from "react";
6068
6037
  import { useBoundProp as useBoundProp13 } from "@elementor/editor-controls";
6069
6038
  import { isEmpty as isEmpty2 } from "@elementor/editor-props";
6070
6039
  import { ELEMENTS_BASE_STYLES_PROVIDER_KEY as ELEMENTS_BASE_STYLES_PROVIDER_KEY4 } from "@elementor/editor-styles-repository";
6071
- import { __ as __67 } from "@wordpress/i18n";
6040
+ import { __ as __66 } from "@wordpress/i18n";
6072
6041
 
6073
6042
  // src/styles-inheritance/components/styles-inheritance-infotip.tsx
6074
- import * as React95 from "react";
6075
- import { useMemo as useMemo13, useRef as useRef16, useState as useState13 } from "react";
6043
+ import * as React94 from "react";
6044
+ import { useMemo as useMemo13, useRef as useRef16, useState as useState12 } from "react";
6076
6045
  import {
6077
6046
  createPropsResolver as createPropsResolver2,
6078
6047
  stylesInheritanceTransformersRegistry
@@ -6086,23 +6055,23 @@ import {
6086
6055
  ClickAwayListener,
6087
6056
  IconButton as IconButton3,
6088
6057
  Infotip as Infotip2,
6089
- Stack as Stack18,
6058
+ Stack as Stack17,
6090
6059
  Tooltip as Tooltip4
6091
6060
  } from "@elementor/ui";
6092
- import { __ as __66 } from "@wordpress/i18n";
6061
+ import { __ as __65 } from "@wordpress/i18n";
6093
6062
 
6094
6063
  // src/styles-inheritance/hooks/use-normalized-inheritance-chain-items.tsx
6095
- import { isValidElement, useEffect as useEffect7, useState as useState12 } from "react";
6064
+ import { isValidElement, useEffect as useEffect7, useState as useState11 } from "react";
6096
6065
  import { UnknownStyleStateError } from "@elementor/editor-canvas";
6097
6066
  import {
6098
6067
  isClassState as isClassState2,
6099
6068
  isPseudoState
6100
6069
  } from "@elementor/editor-styles";
6101
6070
  import { ELEMENTS_BASE_STYLES_PROVIDER_KEY as ELEMENTS_BASE_STYLES_PROVIDER_KEY2 } from "@elementor/editor-styles-repository";
6102
- import { __ as __64 } from "@wordpress/i18n";
6071
+ import { __ as __63 } from "@wordpress/i18n";
6103
6072
  var MAXIMUM_ITEMS = 2;
6104
6073
  var useNormalizedInheritanceChainItems = (inheritanceChain, bind, resolve) => {
6105
- const [items3, setItems] = useState12([]);
6074
+ const [items3, setItems] = useState11([]);
6106
6075
  useEffect7(() => {
6107
6076
  (async () => {
6108
6077
  const normalizedItems = await Promise.all(
@@ -6110,7 +6079,7 @@ var useNormalizedInheritanceChainItems = (inheritanceChain, bind, resolve) => {
6110
6079
  );
6111
6080
  const validItems = normalizedItems.map((item) => ({
6112
6081
  ...item,
6113
- displayLabel: ELEMENTS_BASE_STYLES_PROVIDER_KEY2 !== item.provider ? item.displayLabel : __64("Base", "elementor")
6082
+ displayLabel: ELEMENTS_BASE_STYLES_PROVIDER_KEY2 !== item.provider ? item.displayLabel : __63("Base", "elementor")
6114
6083
  })).filter((item) => !item.value || item.displayLabel !== "").slice(0, MAXIMUM_ITEMS);
6115
6084
  setItems(validItems);
6116
6085
  })();
@@ -6167,7 +6136,7 @@ var getTransformedValue = async (item, bind, resolve) => {
6167
6136
  };
6168
6137
 
6169
6138
  // src/styles-inheritance/components/infotip/breakpoint-icon.tsx
6170
- import * as React91 from "react";
6139
+ import * as React90 from "react";
6171
6140
  import { useBreakpoints } from "@elementor/editor-responsive";
6172
6141
  import {
6173
6142
  DesktopIcon,
@@ -6198,20 +6167,20 @@ var BreakpointIcon = ({ breakpoint }) => {
6198
6167
  return null;
6199
6168
  }
6200
6169
  const breakpointLabel = breakpoints.find((breakpointItem) => breakpointItem.id === currentBreakpoint)?.label;
6201
- return /* @__PURE__ */ React91.createElement(Tooltip2, { title: breakpointLabel, placement: "top" }, /* @__PURE__ */ React91.createElement(IconComponent, { fontSize: SIZE4, sx: { mt: "2px" } }));
6170
+ return /* @__PURE__ */ React90.createElement(Tooltip2, { title: breakpointLabel, placement: "top" }, /* @__PURE__ */ React90.createElement(IconComponent, { fontSize: SIZE4, sx: { mt: "2px" } }));
6202
6171
  };
6203
6172
 
6204
6173
  // src/styles-inheritance/components/infotip/label-chip.tsx
6205
- import * as React92 from "react";
6174
+ import * as React91 from "react";
6206
6175
  import { ELEMENTS_BASE_STYLES_PROVIDER_KEY as ELEMENTS_BASE_STYLES_PROVIDER_KEY3 } from "@elementor/editor-styles-repository";
6207
6176
  import { InfoCircleIcon } from "@elementor/icons";
6208
6177
  import { Chip as Chip5, Tooltip as Tooltip3 } from "@elementor/ui";
6209
- import { __ as __65 } from "@wordpress/i18n";
6178
+ import { __ as __64 } from "@wordpress/i18n";
6210
6179
  var SIZE5 = "tiny";
6211
6180
  var LabelChip = ({ displayLabel, provider }) => {
6212
6181
  const isBaseStyle = provider === ELEMENTS_BASE_STYLES_PROVIDER_KEY3;
6213
- const chipIcon = isBaseStyle ? /* @__PURE__ */ React92.createElement(Tooltip3, { title: __65("Inherited from base styles", "elementor"), placement: "top" }, /* @__PURE__ */ React92.createElement(InfoCircleIcon, { fontSize: SIZE5 })) : void 0;
6214
- return /* @__PURE__ */ React92.createElement(
6182
+ const chipIcon = isBaseStyle ? /* @__PURE__ */ React91.createElement(Tooltip3, { title: __64("Inherited from base styles", "elementor"), placement: "top" }, /* @__PURE__ */ React91.createElement(InfoCircleIcon, { fontSize: SIZE5 })) : void 0;
6183
+ return /* @__PURE__ */ React91.createElement(
6215
6184
  Chip5,
6216
6185
  {
6217
6186
  label: displayLabel,
@@ -6237,10 +6206,10 @@ var LabelChip = ({ displayLabel, provider }) => {
6237
6206
  };
6238
6207
 
6239
6208
  // src/styles-inheritance/components/infotip/value-component.tsx
6240
- import * as React93 from "react";
6209
+ import * as React92 from "react";
6241
6210
  import { Typography as Typography6 } from "@elementor/ui";
6242
6211
  var ValueComponent = ({ index, value }) => {
6243
- return /* @__PURE__ */ React93.createElement(
6212
+ return /* @__PURE__ */ React92.createElement(
6244
6213
  Typography6,
6245
6214
  {
6246
6215
  variant: "caption",
@@ -6261,9 +6230,9 @@ var ValueComponent = ({ index, value }) => {
6261
6230
  };
6262
6231
 
6263
6232
  // src/styles-inheritance/components/infotip/action-icons.tsx
6264
- import * as React94 from "react";
6233
+ import * as React93 from "react";
6265
6234
  import { Box as Box7 } from "@elementor/ui";
6266
- var ActionIcons = () => /* @__PURE__ */ React94.createElement(Box7, { display: "flex", gap: 0.5, alignItems: "center" });
6235
+ var ActionIcons = () => /* @__PURE__ */ React93.createElement(Box7, { display: "flex", gap: 0.5, alignItems: "center" });
6267
6236
 
6268
6237
  // src/styles-inheritance/components/styles-inheritance-infotip.tsx
6269
6238
  var SECTION_PADDING_INLINE = 32;
@@ -6283,7 +6252,7 @@ var StylesInheritanceInfotip = ({
6283
6252
  children,
6284
6253
  isDisabled
6285
6254
  }) => {
6286
- const [showInfotip, setShowInfotip] = useState13(false);
6255
+ const [showInfotip, setShowInfotip] = useState12(false);
6287
6256
  const triggerRef = useRef16(null);
6288
6257
  const toggleInfotip = () => {
6289
6258
  if (isDisabled) {
@@ -6306,7 +6275,7 @@ var StylesInheritanceInfotip = ({
6306
6275
  });
6307
6276
  }, [key, propType]);
6308
6277
  const items3 = useNormalizedInheritanceChainItems(inheritanceChain, key, resolve);
6309
- const infotipContent = /* @__PURE__ */ React95.createElement(ClickAwayListener, { onClickAway: closeInfotip }, /* @__PURE__ */ React95.createElement(
6278
+ const infotipContent = /* @__PURE__ */ React94.createElement(ClickAwayListener, { onClickAway: closeInfotip }, /* @__PURE__ */ React94.createElement(
6310
6279
  Card,
6311
6280
  {
6312
6281
  elevation: 0,
@@ -6319,7 +6288,7 @@ var StylesInheritanceInfotip = ({
6319
6288
  flexDirection: "column"
6320
6289
  }
6321
6290
  },
6322
- /* @__PURE__ */ React95.createElement(
6291
+ /* @__PURE__ */ React94.createElement(
6323
6292
  Box8,
6324
6293
  {
6325
6294
  sx: {
@@ -6329,9 +6298,9 @@ var StylesInheritanceInfotip = ({
6329
6298
  backgroundColor: "background.paper"
6330
6299
  }
6331
6300
  },
6332
- /* @__PURE__ */ React95.createElement(PopoverHeader3, { title: __66("Style origin", "elementor"), onClose: closeInfotip })
6301
+ /* @__PURE__ */ React94.createElement(PopoverHeader3, { title: __65("Style origin", "elementor"), onClose: closeInfotip })
6333
6302
  ),
6334
- /* @__PURE__ */ React95.createElement(
6303
+ /* @__PURE__ */ React94.createElement(
6335
6304
  CardContent,
6336
6305
  {
6337
6306
  sx: {
@@ -6345,39 +6314,39 @@ var StylesInheritanceInfotip = ({
6345
6314
  }
6346
6315
  }
6347
6316
  },
6348
- /* @__PURE__ */ React95.createElement(Stack18, { gap: 1.5, sx: { pl: 3, pr: 1, pb: 2 }, role: "list" }, items3.map((item, index) => {
6349
- return /* @__PURE__ */ React95.createElement(
6317
+ /* @__PURE__ */ React94.createElement(Stack17, { gap: 1.5, sx: { pl: 3, pr: 1, pb: 2 }, role: "list" }, items3.map((item, index) => {
6318
+ return /* @__PURE__ */ React94.createElement(
6350
6319
  Box8,
6351
6320
  {
6352
6321
  key: item.id,
6353
6322
  display: "flex",
6354
6323
  gap: 0.5,
6355
6324
  role: "listitem",
6356
- "aria-label": __66("Inheritance item: %s", "elementor").replace(
6325
+ "aria-label": __65("Inheritance item: %s", "elementor").replace(
6357
6326
  "%s",
6358
6327
  item.displayLabel
6359
6328
  )
6360
6329
  },
6361
- /* @__PURE__ */ React95.createElement(
6330
+ /* @__PURE__ */ React94.createElement(
6362
6331
  Box8,
6363
6332
  {
6364
6333
  display: "flex",
6365
6334
  gap: 0.5,
6366
6335
  sx: { flexWrap: "wrap", width: "100%", alignItems: "flex-start" }
6367
6336
  },
6368
- /* @__PURE__ */ React95.createElement(BreakpointIcon, { breakpoint: item.breakpoint }),
6369
- /* @__PURE__ */ React95.createElement(LabelChip, { displayLabel: item.displayLabel, provider: item.provider }),
6370
- /* @__PURE__ */ React95.createElement(ValueComponent, { index, value: item.value })
6337
+ /* @__PURE__ */ React94.createElement(BreakpointIcon, { breakpoint: item.breakpoint }),
6338
+ /* @__PURE__ */ React94.createElement(LabelChip, { displayLabel: item.displayLabel, provider: item.provider }),
6339
+ /* @__PURE__ */ React94.createElement(ValueComponent, { index, value: item.value })
6371
6340
  ),
6372
- /* @__PURE__ */ React95.createElement(ActionIcons, null)
6341
+ /* @__PURE__ */ React94.createElement(ActionIcons, null)
6373
6342
  );
6374
6343
  }))
6375
6344
  )
6376
6345
  ));
6377
6346
  if (isDisabled) {
6378
- return /* @__PURE__ */ React95.createElement(Box8, { sx: { display: "inline-flex" } }, children);
6347
+ return /* @__PURE__ */ React94.createElement(Box8, { sx: { display: "inline-flex" } }, children);
6379
6348
  }
6380
- return /* @__PURE__ */ React95.createElement(Box8, { ref: triggerRef, sx: { display: "inline-flex" } }, /* @__PURE__ */ React95.createElement(
6349
+ return /* @__PURE__ */ React94.createElement(Box8, { ref: triggerRef, sx: { display: "inline-flex" } }, /* @__PURE__ */ React94.createElement(
6381
6350
  TooltipOrInfotip,
6382
6351
  {
6383
6352
  showInfotip,
@@ -6387,7 +6356,7 @@ var StylesInheritanceInfotip = ({
6387
6356
  triggerRef,
6388
6357
  sectionWidth
6389
6358
  },
6390
- /* @__PURE__ */ React95.createElement(
6359
+ /* @__PURE__ */ React94.createElement(
6391
6360
  IconButton3,
6392
6361
  {
6393
6362
  onClick: toggleInfotip,
@@ -6411,13 +6380,13 @@ function TooltipOrInfotip({
6411
6380
  const direction = useDirection();
6412
6381
  const isSiteRtl = direction.isSiteRtl;
6413
6382
  if (isDisabled) {
6414
- return /* @__PURE__ */ React95.createElement(Box8, { sx: { display: "inline-flex" } }, children);
6383
+ return /* @__PURE__ */ React94.createElement(Box8, { sx: { display: "inline-flex" } }, children);
6415
6384
  }
6416
6385
  if (showInfotip) {
6417
6386
  const triggerRect = triggerRef.current?.getBoundingClientRect();
6418
6387
  const cardWidth = Math.min(sectionWidth - SECTION_PADDING_INLINE, INFOTIP_MAX_WIDTH);
6419
6388
  const offsetX = calculatePopoverOffset(triggerRect, cardWidth, isSiteRtl);
6420
- return /* @__PURE__ */ React95.createElement(React95.Fragment, null, /* @__PURE__ */ React95.createElement(
6389
+ return /* @__PURE__ */ React94.createElement(React94.Fragment, null, /* @__PURE__ */ React94.createElement(
6421
6390
  Backdrop,
6422
6391
  {
6423
6392
  open: showInfotip,
@@ -6427,7 +6396,7 @@ function TooltipOrInfotip({
6427
6396
  zIndex: (theme) => theme.zIndex.modal - 1
6428
6397
  }
6429
6398
  }
6430
- ), /* @__PURE__ */ React95.createElement(
6399
+ ), /* @__PURE__ */ React94.createElement(
6431
6400
  Infotip2,
6432
6401
  {
6433
6402
  placement: "top",
@@ -6454,7 +6423,7 @@ function TooltipOrInfotip({
6454
6423
  children
6455
6424
  ));
6456
6425
  }
6457
- return /* @__PURE__ */ React95.createElement(Tooltip4, { title: __66("Style origin", "elementor"), placement: "top" }, children);
6426
+ return /* @__PURE__ */ React94.createElement(Tooltip4, { title: __65("Style origin", "elementor"), placement: "top" }, children);
6458
6427
  }
6459
6428
 
6460
6429
  // src/styles-inheritance/components/styles-inheritance-indicator.tsx
@@ -6467,7 +6436,7 @@ var StylesInheritanceIndicator = ({
6467
6436
  if (!path || !inheritanceChain.length) {
6468
6437
  return null;
6469
6438
  }
6470
- return /* @__PURE__ */ React96.createElement(Indicator, { inheritanceChain, path, propType });
6439
+ return /* @__PURE__ */ React95.createElement(Indicator, { inheritanceChain, path, propType });
6471
6440
  };
6472
6441
  var Indicator = ({ inheritanceChain, path, propType, isDisabled }) => {
6473
6442
  const { id: currentStyleId, provider: currentStyleProvider, meta: currentStyleMeta } = useStyle();
@@ -6483,7 +6452,7 @@ var Indicator = ({ inheritanceChain, path, propType, isDisabled }) => {
6483
6452
  getColor: isFinalValue && currentStyleProvider ? getStylesProviderThemeColor(currentStyleProvider.getKey()) : void 0,
6484
6453
  isOverridden: hasValue && !isFinalValue ? true : void 0
6485
6454
  };
6486
- return /* @__PURE__ */ React96.createElement(
6455
+ return /* @__PURE__ */ React95.createElement(
6487
6456
  StylesInheritanceInfotip,
6488
6457
  {
6489
6458
  inheritanceChain,
@@ -6492,17 +6461,17 @@ var Indicator = ({ inheritanceChain, path, propType, isDisabled }) => {
6492
6461
  label,
6493
6462
  isDisabled
6494
6463
  },
6495
- /* @__PURE__ */ React96.createElement(StyleIndicator, { ...styleIndicatorProps })
6464
+ /* @__PURE__ */ React95.createElement(StyleIndicator, { ...styleIndicatorProps })
6496
6465
  );
6497
6466
  };
6498
6467
  var getLabel = ({ isFinalValue, hasValue }) => {
6499
6468
  if (isFinalValue) {
6500
- return __67("This is the final value", "elementor");
6469
+ return __66("This is the final value", "elementor");
6501
6470
  }
6502
6471
  if (hasValue) {
6503
- return __67("This value is overridden by another style", "elementor");
6472
+ return __66("This value is overridden by another style", "elementor");
6504
6473
  }
6505
- return __67("This has value from another style", "elementor");
6474
+ return __66("This has value from another style", "elementor");
6506
6475
  };
6507
6476
 
6508
6477
  // src/styles-inheritance/init-styles-inheritance-transformers.ts
@@ -6527,25 +6496,25 @@ var excludePropTypeTransformers = /* @__PURE__ */ new Set([
6527
6496
  ]);
6528
6497
 
6529
6498
  // src/styles-inheritance/transformers/array-transformer.tsx
6530
- import * as React97 from "react";
6499
+ import * as React96 from "react";
6531
6500
  import { createTransformer as createTransformer2 } from "@elementor/editor-canvas";
6532
- import { Stack as Stack19 } from "@elementor/ui";
6501
+ import { Stack as Stack18 } from "@elementor/ui";
6533
6502
  var arrayTransformer = createTransformer2((values) => {
6534
6503
  if (!values || values.length === 0) {
6535
6504
  return null;
6536
6505
  }
6537
- return /* @__PURE__ */ React97.createElement(Stack19, { direction: "column" }, values.map((item, index) => /* @__PURE__ */ React97.createElement(Stack19, { key: index }, item)));
6506
+ return /* @__PURE__ */ React96.createElement(Stack18, { direction: "column" }, values.map((item, index) => /* @__PURE__ */ React96.createElement(Stack18, { key: index }, item)));
6538
6507
  });
6539
6508
 
6540
6509
  // src/styles-inheritance/transformers/background-color-overlay-transformer.tsx
6541
- import * as React98 from "react";
6510
+ import * as React97 from "react";
6542
6511
  import { createTransformer as createTransformer3 } from "@elementor/editor-canvas";
6543
- import { Stack as Stack20, styled as styled7, UnstableColorIndicator } from "@elementor/ui";
6544
- var backgroundColorOverlayTransformer = createTransformer3((value) => /* @__PURE__ */ React98.createElement(Stack20, { direction: "row", gap: 1, alignItems: "center" }, /* @__PURE__ */ React98.createElement(ItemLabelColor, { value })));
6512
+ import { Stack as Stack19, styled as styled6, UnstableColorIndicator } from "@elementor/ui";
6513
+ var backgroundColorOverlayTransformer = createTransformer3((value) => /* @__PURE__ */ React97.createElement(Stack19, { direction: "row", gap: 1, alignItems: "center" }, /* @__PURE__ */ React97.createElement(ItemLabelColor, { value })));
6545
6514
  var ItemLabelColor = ({ value: { color } }) => {
6546
- return /* @__PURE__ */ React98.createElement("span", null, color);
6515
+ return /* @__PURE__ */ React97.createElement("span", null, color);
6547
6516
  };
6548
- var StyledUnstableColorIndicator = styled7(UnstableColorIndicator)(({ theme }) => ({
6517
+ var StyledUnstableColorIndicator = styled6(UnstableColorIndicator)(({ theme }) => ({
6549
6518
  width: "1em",
6550
6519
  height: "1em",
6551
6520
  borderRadius: `${theme.shape.borderRadius / 2}px`,
@@ -6554,20 +6523,20 @@ var StyledUnstableColorIndicator = styled7(UnstableColorIndicator)(({ theme }) =
6554
6523
  }));
6555
6524
 
6556
6525
  // src/styles-inheritance/transformers/background-gradient-overlay-transformer.tsx
6557
- import * as React99 from "react";
6526
+ import * as React98 from "react";
6558
6527
  import { createTransformer as createTransformer4 } from "@elementor/editor-canvas";
6559
- import { Stack as Stack21 } from "@elementor/ui";
6560
- import { __ as __68 } from "@wordpress/i18n";
6561
- var backgroundGradientOverlayTransformer = createTransformer4((value) => /* @__PURE__ */ React99.createElement(Stack21, { direction: "row", gap: 1, alignItems: "center" }, /* @__PURE__ */ React99.createElement(ItemIconGradient, { value }), /* @__PURE__ */ React99.createElement(ItemLabelGradient, { value })));
6528
+ import { Stack as Stack20 } from "@elementor/ui";
6529
+ import { __ as __67 } from "@wordpress/i18n";
6530
+ var backgroundGradientOverlayTransformer = createTransformer4((value) => /* @__PURE__ */ React98.createElement(Stack20, { direction: "row", gap: 1, alignItems: "center" }, /* @__PURE__ */ React98.createElement(ItemIconGradient, { value }), /* @__PURE__ */ React98.createElement(ItemLabelGradient, { value })));
6562
6531
  var ItemIconGradient = ({ value }) => {
6563
6532
  const gradient = getGradientValue(value);
6564
- return /* @__PURE__ */ React99.createElement(StyledUnstableColorIndicator, { size: "inherit", component: "span", value: gradient });
6533
+ return /* @__PURE__ */ React98.createElement(StyledUnstableColorIndicator, { size: "inherit", component: "span", value: gradient });
6565
6534
  };
6566
6535
  var ItemLabelGradient = ({ value }) => {
6567
6536
  if (value.type === "linear") {
6568
- return /* @__PURE__ */ React99.createElement("span", null, __68("Linear gradient", "elementor"));
6537
+ return /* @__PURE__ */ React98.createElement("span", null, __67("Linear gradient", "elementor"));
6569
6538
  }
6570
- return /* @__PURE__ */ React99.createElement("span", null, __68("Radial gradient", "elementor"));
6539
+ return /* @__PURE__ */ React98.createElement("span", null, __67("Radial gradient", "elementor"));
6571
6540
  };
6572
6541
  var getGradientValue = (gradient) => {
6573
6542
  const stops = gradient.stops?.map(({ color, offset }) => `${color} ${offset ?? 0}%`)?.join(",");
@@ -6578,15 +6547,15 @@ var getGradientValue = (gradient) => {
6578
6547
  };
6579
6548
 
6580
6549
  // src/styles-inheritance/transformers/background-image-overlay-transformer.tsx
6581
- import * as React100 from "react";
6550
+ import * as React99 from "react";
6582
6551
  import { createTransformer as createTransformer5 } from "@elementor/editor-canvas";
6583
6552
  import { EllipsisWithTooltip as EllipsisWithTooltip2 } from "@elementor/editor-ui";
6584
- import { CardMedia, Stack as Stack22 } from "@elementor/ui";
6553
+ import { CardMedia, Stack as Stack21 } from "@elementor/ui";
6585
6554
  import { useWpMediaAttachment } from "@elementor/wp-media";
6586
- var backgroundImageOverlayTransformer = createTransformer5((value) => /* @__PURE__ */ React100.createElement(Stack22, { direction: "row", gap: 1, alignItems: "center" }, /* @__PURE__ */ React100.createElement(ItemIconImage, { value }), /* @__PURE__ */ React100.createElement(ItemLabelImage, { value })));
6555
+ var backgroundImageOverlayTransformer = createTransformer5((value) => /* @__PURE__ */ React99.createElement(Stack21, { direction: "row", gap: 1, alignItems: "center" }, /* @__PURE__ */ React99.createElement(ItemIconImage, { value }), /* @__PURE__ */ React99.createElement(ItemLabelImage, { value })));
6587
6556
  var ItemIconImage = ({ value }) => {
6588
6557
  const { imageUrl } = useImage(value);
6589
- return /* @__PURE__ */ React100.createElement(
6558
+ return /* @__PURE__ */ React99.createElement(
6590
6559
  CardMedia,
6591
6560
  {
6592
6561
  image: imageUrl,
@@ -6602,7 +6571,7 @@ var ItemIconImage = ({ value }) => {
6602
6571
  };
6603
6572
  var ItemLabelImage = ({ value }) => {
6604
6573
  const { imageTitle } = useImage(value);
6605
- return /* @__PURE__ */ React100.createElement(EllipsisWithTooltip2, { title: imageTitle }, /* @__PURE__ */ React100.createElement("span", null, imageTitle));
6574
+ return /* @__PURE__ */ React99.createElement(EllipsisWithTooltip2, { title: imageTitle }, /* @__PURE__ */ React99.createElement("span", null, imageTitle));
6606
6575
  };
6607
6576
  var useImage = (image) => {
6608
6577
  let imageTitle, imageUrl = null;
@@ -6627,9 +6596,9 @@ var getFileExtensionFromFilename = (filename) => {
6627
6596
  };
6628
6597
 
6629
6598
  // src/styles-inheritance/transformers/box-shadow-transformer.tsx
6630
- import * as React101 from "react";
6599
+ import * as React100 from "react";
6631
6600
  import { createTransformer as createTransformer6 } from "@elementor/editor-canvas";
6632
- import { Stack as Stack23 } from "@elementor/ui";
6601
+ import { Stack as Stack22 } from "@elementor/ui";
6633
6602
  var boxShadowTransformer = createTransformer6((value) => {
6634
6603
  if (!value) {
6635
6604
  return null;
@@ -6638,20 +6607,20 @@ var boxShadowTransformer = createTransformer6((value) => {
6638
6607
  const colorValue = color || "#000000";
6639
6608
  const sizes = [hOffset || "0px", vOffset || "0px", blur || "10px", spread || "0px"].join(" ");
6640
6609
  const positionValue = position || "outset";
6641
- return /* @__PURE__ */ React101.createElement(Stack23, { direction: "column", gap: 0.5, pb: 1 }, /* @__PURE__ */ React101.createElement("span", null, colorValue, " ", positionValue, ", ", sizes));
6610
+ return /* @__PURE__ */ React100.createElement(Stack22, { direction: "column", gap: 0.5, pb: 1 }, /* @__PURE__ */ React100.createElement("span", null, colorValue, " ", positionValue, ", ", sizes));
6642
6611
  });
6643
6612
 
6644
6613
  // src/styles-inheritance/transformers/color-transformer.tsx
6645
- import * as React102 from "react";
6614
+ import * as React101 from "react";
6646
6615
  import { createTransformer as createTransformer7 } from "@elementor/editor-canvas";
6647
- import { Stack as Stack24, styled as styled8, UnstableColorIndicator as UnstableColorIndicator2 } from "@elementor/ui";
6616
+ import { Stack as Stack23, styled as styled7, UnstableColorIndicator as UnstableColorIndicator2 } from "@elementor/ui";
6648
6617
  function isValidCSSColor(value) {
6649
6618
  if (!value.trim()) {
6650
6619
  return false;
6651
6620
  }
6652
6621
  return CSS.supports("color", value.trim());
6653
6622
  }
6654
- var StyledColorIndicator = styled8(UnstableColorIndicator2)(({ theme }) => ({
6623
+ var StyledColorIndicator = styled7(UnstableColorIndicator2)(({ theme }) => ({
6655
6624
  width: "1em",
6656
6625
  height: "1em",
6657
6626
  borderRadius: `${theme.shape.borderRadius / 2}px`,
@@ -6662,13 +6631,13 @@ var colorTransformer = createTransformer7((value) => {
6662
6631
  if (!isValidCSSColor(value)) {
6663
6632
  return value;
6664
6633
  }
6665
- return /* @__PURE__ */ React102.createElement(Stack24, { direction: "row", gap: 1, alignItems: "center" }, /* @__PURE__ */ React102.createElement(StyledColorIndicator, { size: "inherit", component: "span", value }), /* @__PURE__ */ React102.createElement("span", null, value));
6634
+ return /* @__PURE__ */ React101.createElement(Stack23, { direction: "row", gap: 1, alignItems: "center" }, /* @__PURE__ */ React101.createElement(StyledColorIndicator, { size: "inherit", component: "span", value }), /* @__PURE__ */ React101.createElement("span", null, value));
6666
6635
  });
6667
6636
 
6668
6637
  // src/styles-inheritance/transformers/repeater-to-items-transformer.tsx
6669
- import * as React103 from "react";
6638
+ import * as React102 from "react";
6670
6639
  import { createTransformer as createTransformer8 } from "@elementor/editor-canvas";
6671
- import { Stack as Stack25 } from "@elementor/ui";
6640
+ import { Stack as Stack24 } from "@elementor/ui";
6672
6641
  var createRepeaterToItemsTransformer = (originalTransformer, separator = " ") => {
6673
6642
  return createTransformer8((value, options12) => {
6674
6643
  const stringResult = originalTransformer(value, options12);
@@ -6679,7 +6648,7 @@ var createRepeaterToItemsTransformer = (originalTransformer, separator = " ") =>
6679
6648
  if (parts.length <= 1) {
6680
6649
  return stringResult;
6681
6650
  }
6682
- return /* @__PURE__ */ React103.createElement(Stack25, { direction: "column", gap: 0.5 }, parts.map((part, index) => /* @__PURE__ */ React103.createElement(Stack25, { key: index }, part.trim())));
6651
+ return /* @__PURE__ */ React102.createElement(Stack24, { direction: "column", gap: 0.5 }, parts.map((part, index) => /* @__PURE__ */ React102.createElement(Stack24, { key: index }, part.trim())));
6683
6652
  });
6684
6653
  };
6685
6654