@elementor/editor-editing-panel 4.2.0-904 → 4.2.0-906

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
@@ -1885,7 +1885,7 @@ var hasInheritedCustomCss = (style, meta) => {
1885
1885
  };
1886
1886
 
1887
1887
  // src/components/editing-panel.tsx
1888
- import * as React89 from "react";
1888
+ import * as React90 from "react";
1889
1889
  import {
1890
1890
  ControlActionsProvider,
1891
1891
  ControlReplacementsProvider,
@@ -1899,7 +1899,7 @@ import { createLocation as createLocation4 } from "@elementor/locations";
1899
1899
  import { controlActionsMenu } from "@elementor/menus";
1900
1900
  import { SessionStorageProvider as SessionStorageProvider3 } from "@elementor/session";
1901
1901
  import { ErrorBoundary } from "@elementor/ui";
1902
- import { __ as __63 } from "@wordpress/i18n";
1902
+ import { __ as __64 } from "@wordpress/i18n";
1903
1903
 
1904
1904
  // src/editing-panel-replacement-registry.tsx
1905
1905
  var registry = /* @__PURE__ */ new Map();
@@ -1922,11 +1922,11 @@ function EditorPanelErrorFallback() {
1922
1922
 
1923
1923
  // src/components/editing-panel-tabs.tsx
1924
1924
  import { Fragment as Fragment9 } from "react";
1925
- import * as React88 from "react";
1925
+ import * as React89 from "react";
1926
1926
  import { getWidgetsCache as getWidgetsCache2 } from "@elementor/editor-elements";
1927
1927
  import { isExperimentActive as isExperimentActive3 } from "@elementor/editor-v1-adapters";
1928
- import { Divider as Divider6, Stack as Stack13, Tab, TabPanel, Tabs, useTabs } from "@elementor/ui";
1929
- import { __ as __62 } from "@wordpress/i18n";
1928
+ import { Divider as Divider6, Stack as Stack14, Tab, TabPanel, Tabs, useTabs } from "@elementor/ui";
1929
+ import { __ as __63 } from "@wordpress/i18n";
1930
1930
 
1931
1931
  // src/contexts/scroll-context.tsx
1932
1932
  import * as React15 from "react";
@@ -1968,7 +1968,6 @@ function useScrollDirection() {
1968
1968
  }
1969
1969
 
1970
1970
  // src/hooks/use-default-panel-settings.ts
1971
- import { createContext as createContext6, useContext as useContext6 } from "react";
1972
1971
  var fallbackEditorSettings = {
1973
1972
  defaultSectionsExpanded: {
1974
1973
  settings: ["Content", "Settings"],
@@ -1976,7 +1975,7 @@ var fallbackEditorSettings = {
1976
1975
  },
1977
1976
  defaultTab: "settings"
1978
1977
  };
1979
- var defaultPanelSettingsContext = createContext6({
1978
+ var elementPanelDefaults = {
1980
1979
  "e-div-block": {
1981
1980
  defaultSectionsExpanded: fallbackEditorSettings.defaultSectionsExpanded,
1982
1981
  defaultTab: "style"
@@ -1993,11 +1992,13 @@ var defaultPanelSettingsContext = createContext6({
1993
1992
  defaultSectionsExpanded: fallbackEditorSettings.defaultSectionsExpanded,
1994
1993
  defaultTab: "style"
1995
1994
  }
1996
- });
1995
+ };
1996
+ function registerElementPanelDefaults(type, defaults) {
1997
+ elementPanelDefaults[type] = defaults;
1998
+ }
1997
1999
  var useDefaultPanelSettings = () => {
1998
2000
  const { element } = useElement();
1999
- const defaults = useContext6(defaultPanelSettingsContext)[element.type];
2000
- return defaults || fallbackEditorSettings;
2001
+ return elementPanelDefaults[element.type] ?? fallbackEditorSettings;
2001
2002
  };
2002
2003
 
2003
2004
  // src/hooks/use-state-by-element.ts
@@ -2586,9 +2587,10 @@ var getFieldIndicators = (fieldType) => Array.from(indicatorsRegistry[fieldType]
2586
2587
  // src/components/control-label.tsx
2587
2588
  import * as React22 from "react";
2588
2589
  import { ControlAdornments, ControlFormLabel } from "@elementor/editor-controls";
2589
- import { Stack as Stack5 } from "@elementor/ui";
2590
- var ControlLabel = ({ children }) => {
2591
- return /* @__PURE__ */ React22.createElement(Stack5, { direction: "row", alignItems: "center", justifyItems: "start", gap: 0.25 }, /* @__PURE__ */ React22.createElement(ControlFormLabel, null, children), /* @__PURE__ */ React22.createElement(ControlAdornments, null));
2590
+ import { InfoCircleIcon } from "@elementor/icons";
2591
+ import { Stack as Stack5, Tooltip } from "@elementor/ui";
2592
+ var ControlLabel = ({ children, infoTooltip }) => {
2593
+ return /* @__PURE__ */ React22.createElement(Stack5, { direction: "row", alignItems: "center", justifyItems: "start", gap: 0.25 }, /* @__PURE__ */ React22.createElement(ControlFormLabel, null, children), infoTooltip && /* @__PURE__ */ React22.createElement(Tooltip, { title: infoTooltip, placement: "top" }, /* @__PURE__ */ React22.createElement(InfoCircleIcon, { fontSize: "tiny" })), /* @__PURE__ */ React22.createElement(ControlAdornments, null));
2592
2594
  };
2593
2595
 
2594
2596
  // src/components/settings-control.tsx
@@ -2698,18 +2700,18 @@ function isControlHiddenByDependencies(control, propsSchema, settings) {
2698
2700
  }
2699
2701
 
2700
2702
  // src/components/style-tab.tsx
2701
- import * as React87 from "react";
2703
+ import * as React88 from "react";
2702
2704
  import { useState as useState9 } from "react";
2703
2705
  import { CLASSES_PROP_KEY } from "@elementor/editor-props";
2704
2706
  import { useActiveBreakpoint } from "@elementor/editor-responsive";
2705
2707
  import { createLocation as createLocation3 } from "@elementor/locations";
2706
2708
  import { SessionStorageProvider as SessionStorageProvider2 } from "@elementor/session";
2707
- import { Box as Box6, Divider as Divider5, Stack as Stack12 } from "@elementor/ui";
2708
- import { __ as __61 } from "@wordpress/i18n";
2709
+ import { Box as Box6, Divider as Divider5, Stack as Stack13 } from "@elementor/ui";
2710
+ import { __ as __62 } from "@wordpress/i18n";
2709
2711
 
2710
2712
  // src/contexts/styles-inheritance-context.tsx
2711
2713
  import * as React25 from "react";
2712
- import { createContext as createContext7, useContext as useContext7, useMemo as useMemo8 } from "react";
2714
+ import { createContext as createContext6, useContext as useContext6, useMemo as useMemo8 } from "react";
2713
2715
  import { getWidgetsCache } from "@elementor/editor-elements";
2714
2716
  import { classesPropTypeUtil as classesPropTypeUtil3 } from "@elementor/editor-props";
2715
2717
  import { getBreakpointsTree as getBreakpointsTree2 } from "@elementor/editor-responsive";
@@ -2944,7 +2946,7 @@ var getFilterPropType = (propType, path) => {
2944
2946
  };
2945
2947
 
2946
2948
  // src/contexts/styles-inheritance-context.tsx
2947
- var Context4 = createContext7(null);
2949
+ var Context4 = createContext6(null);
2948
2950
  function StyleInheritanceProvider({ children }) {
2949
2951
  const styleDefs = useAppliedStyles();
2950
2952
  const breakpointsTree = getBreakpointsTree2();
@@ -2952,7 +2954,7 @@ function StyleInheritanceProvider({ children }) {
2952
2954
  return /* @__PURE__ */ React25.createElement(Context4.Provider, { value: { getSnapshot, getInheritanceChain } }, children);
2953
2955
  }
2954
2956
  function useStylesInheritanceSnapshot() {
2955
- const context = useContext7(Context4);
2957
+ const context = useContext6(Context4);
2956
2958
  const { meta } = useStyle();
2957
2959
  if (!context) {
2958
2960
  throw new Error("useStylesInheritanceSnapshot must be used within a StyleInheritanceProvider");
@@ -2963,7 +2965,7 @@ function useStylesInheritanceSnapshot() {
2963
2965
  return context.getSnapshot(meta) ?? null;
2964
2966
  }
2965
2967
  function useStylesInheritanceChain(path) {
2966
- const context = useContext7(Context4);
2968
+ const context = useContext6(Context4);
2967
2969
  if (!context) {
2968
2970
  throw new Error("useStylesInheritanceChain must be used within a StyleInheritanceProvider");
2969
2971
  }
@@ -3224,42 +3226,26 @@ import { __ as __11 } from "@wordpress/i18n";
3224
3226
  import * as React29 from "react";
3225
3227
  import { Grid, Stack as Stack7 } from "@elementor/ui";
3226
3228
  var StylesFieldLayout = React29.forwardRef((props, ref) => {
3227
- const { direction = "row", children, label } = props;
3229
+ const { direction = "row", children, label, infoTooltip } = props;
3228
3230
  const LayoutComponent = direction === "row" ? Row : Column;
3229
- return /* @__PURE__ */ React29.createElement(LayoutComponent, { label, ref, children });
3231
+ return /* @__PURE__ */ React29.createElement(LayoutComponent, { label, infoTooltip, ref, children });
3232
+ });
3233
+ var Row = React29.forwardRef(({ label, children, infoTooltip }, ref) => {
3234
+ return /* @__PURE__ */ React29.createElement(Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap", ref, "aria-label": `${label} control` }, /* @__PURE__ */ React29.createElement(Grid, { item: true, xs: 6 }, /* @__PURE__ */ React29.createElement(ControlLabel, { infoTooltip }, label)), /* @__PURE__ */ React29.createElement(
3235
+ Grid,
3236
+ {
3237
+ item: true,
3238
+ xs: 6,
3239
+ sx: (theme) => ({
3240
+ width: `calc(50% - ${theme.spacing(2)})`
3241
+ })
3242
+ },
3243
+ children
3244
+ ));
3245
+ });
3246
+ var Column = React29.forwardRef(({ label, children, infoTooltip }, ref) => {
3247
+ return /* @__PURE__ */ React29.createElement(Stack7, { gap: 0.75, ref }, /* @__PURE__ */ React29.createElement(ControlLabel, { infoTooltip }, label), children);
3230
3248
  });
3231
- var Row = React29.forwardRef(
3232
- ({ label, children }, ref) => {
3233
- return /* @__PURE__ */ React29.createElement(
3234
- Grid,
3235
- {
3236
- container: true,
3237
- gap: 2,
3238
- alignItems: "center",
3239
- flexWrap: "nowrap",
3240
- ref,
3241
- "aria-label": `${label} control`
3242
- },
3243
- /* @__PURE__ */ React29.createElement(Grid, { item: true, xs: 6 }, /* @__PURE__ */ React29.createElement(ControlLabel, null, label)),
3244
- /* @__PURE__ */ React29.createElement(
3245
- Grid,
3246
- {
3247
- item: true,
3248
- xs: 6,
3249
- sx: (theme) => ({
3250
- width: `calc(50% - ${theme.spacing(2)})`
3251
- })
3252
- },
3253
- children
3254
- )
3255
- );
3256
- }
3257
- );
3258
- var Column = React29.forwardRef(
3259
- ({ label, children }, ref) => {
3260
- return /* @__PURE__ */ React29.createElement(Stack7, { gap: 0.75, ref }, /* @__PURE__ */ React29.createElement(ControlLabel, null, label), children);
3261
- }
3262
- );
3263
3249
 
3264
3250
  // src/components/style-sections/border-section/border-color-field.tsx
3265
3251
  var BORDER_COLOR_LABEL = __11("Border color", "elementor");
@@ -3532,11 +3518,11 @@ var EffectsSection = () => {
3532
3518
  };
3533
3519
 
3534
3520
  // src/components/style-sections/layout-section/layout-section.tsx
3535
- import * as React57 from "react";
3521
+ import * as React60 from "react";
3536
3522
  import { ControlFormLabel as ControlFormLabel2 } from "@elementor/editor-controls";
3537
3523
  import { useParentElement } from "@elementor/editor-elements";
3538
3524
  import { isExperimentActive as isExperimentActive2 } from "@elementor/editor-v1-adapters";
3539
- import { __ as __35 } from "@wordpress/i18n";
3525
+ import { __ as __37 } from "@wordpress/i18n";
3540
3526
 
3541
3527
  // src/hooks/use-computed-style.ts
3542
3528
  import { __privateUseListenTo as useListenTo, commandEndEvent, windowEvent } from "@elementor/editor-v1-adapters";
@@ -3562,8 +3548,89 @@ function useComputedStyle(elementId) {
3562
3548
  );
3563
3549
  }
3564
3550
 
3565
- // src/components/style-sections/layout-section/align-content-field.tsx
3551
+ // src/components/style-tab-collapsible-content.tsx
3566
3552
  import * as React41 from "react";
3553
+ import { CollapsibleContent } from "@elementor/editor-ui";
3554
+
3555
+ // src/styles-inheritance/components/styles-inheritance-section-indicators.tsx
3556
+ import * as React40 from "react";
3557
+ import { isElementsStylesProvider as isElementsStylesProvider6 } from "@elementor/editor-styles-repository";
3558
+ import { Stack as Stack8, Tooltip as Tooltip2 } from "@elementor/ui";
3559
+ import { __ as __18 } from "@wordpress/i18n";
3560
+ var StylesInheritanceSectionIndicators = ({ fields }) => {
3561
+ const { id, meta, provider } = useStyle();
3562
+ const snapshot = useStylesInheritanceSnapshot();
3563
+ if (fields.includes("custom_css")) {
3564
+ return /* @__PURE__ */ React40.createElement(CustomCssIndicator, null);
3565
+ }
3566
+ const snapshotFields = Object.fromEntries(
3567
+ Object.entries(snapshot ?? {}).filter(([key]) => fields.includes(key))
3568
+ );
3569
+ const { hasValues, hasOverrides } = getIndicators(snapshotFields, id ?? "", meta);
3570
+ if (!hasValues && !hasOverrides) {
3571
+ return null;
3572
+ }
3573
+ const hasValueLabel = __18("Has effective styles", "elementor");
3574
+ const hasOverridesLabel = __18("Has overridden styles", "elementor");
3575
+ return /* @__PURE__ */ React40.createElement(Tooltip2, { title: __18("Has styles", "elementor"), placement: "top" }, /* @__PURE__ */ React40.createElement(Stack8, { direction: "row", sx: { "& > *": { marginInlineStart: -0.25 } }, role: "list" }, hasValues && provider && /* @__PURE__ */ React40.createElement(
3576
+ StyleIndicator,
3577
+ {
3578
+ getColor: getStylesProviderThemeColor(provider.getKey()),
3579
+ "data-variant": isElementsStylesProvider6(provider.getKey()) ? "local" : "global",
3580
+ role: "listitem",
3581
+ "aria-label": hasValueLabel
3582
+ }
3583
+ ), hasOverrides && /* @__PURE__ */ React40.createElement(
3584
+ StyleIndicator,
3585
+ {
3586
+ isOverridden: true,
3587
+ "data-variant": "overridden",
3588
+ role: "listitem",
3589
+ "aria-label": hasOverridesLabel
3590
+ }
3591
+ )));
3592
+ };
3593
+ function getIndicators(snapshotFields, styleId, meta) {
3594
+ let hasValues = false;
3595
+ let hasOverrides = false;
3596
+ Object.values(snapshotFields).forEach((inheritanceChain) => {
3597
+ const currentStyle = getCurrentStyleFromChain(inheritanceChain, styleId, meta);
3598
+ if (!currentStyle) {
3599
+ return;
3600
+ }
3601
+ const [actualStyle] = inheritanceChain;
3602
+ if (currentStyle === actualStyle) {
3603
+ hasValues = true;
3604
+ } else {
3605
+ hasOverrides = true;
3606
+ }
3607
+ });
3608
+ return { hasValues, hasOverrides };
3609
+ }
3610
+ function getCurrentStyleFromChain(chain, styleId, meta) {
3611
+ return chain.find(
3612
+ ({
3613
+ style: { id },
3614
+ variant: {
3615
+ meta: { breakpoint, state }
3616
+ }
3617
+ }) => id === styleId && breakpoint === meta.breakpoint && state === meta.state
3618
+ );
3619
+ }
3620
+
3621
+ // src/components/style-tab-collapsible-content.tsx
3622
+ var StyleTabCollapsibleContent = ({ fields = [], children }) => {
3623
+ return /* @__PURE__ */ React41.createElement(CollapsibleContent, { titleEnd: getStylesInheritanceIndicators(fields) }, children);
3624
+ };
3625
+ function getStylesInheritanceIndicators(fields) {
3626
+ if (fields.length === 0) {
3627
+ return null;
3628
+ }
3629
+ return (isOpen) => !isOpen ? /* @__PURE__ */ React41.createElement(StylesInheritanceSectionIndicators, { fields }) : null;
3630
+ }
3631
+
3632
+ // src/components/style-sections/layout-section/align-content-field.tsx
3633
+ import * as React43 from "react";
3567
3634
  import { ToggleControl as ToggleControl2 } from "@elementor/editor-controls";
3568
3635
  import {
3569
3636
  JustifyBottomIcon,
@@ -3574,14 +3641,14 @@ import {
3574
3641
  JustifyTopIcon
3575
3642
  } from "@elementor/icons";
3576
3643
  import { withDirection as withDirection3 } from "@elementor/ui";
3577
- import { __ as __19 } from "@wordpress/i18n";
3644
+ import { __ as __20 } from "@wordpress/i18n";
3578
3645
 
3579
3646
  // src/components/style-sections/layout-section/utils/rotated-icon.tsx
3580
- import * as React40 from "react";
3647
+ import * as React42 from "react";
3581
3648
  import { useRef as useRef6 } from "react";
3582
3649
  import { useTheme as useTheme2 } from "@elementor/ui";
3583
- import { __ as __18 } from "@wordpress/i18n";
3584
- var FLEX_DIRECTION_LABEL = __18("Flex direction", "elementor");
3650
+ import { __ as __19 } from "@wordpress/i18n";
3651
+ var FLEX_DIRECTION_LABEL = __19("Flex direction", "elementor");
3585
3652
  var CLOCKWISE_ANGLES = {
3586
3653
  row: 0,
3587
3654
  column: 90,
@@ -3603,7 +3670,7 @@ var RotatedIcon = ({
3603
3670
  }) => {
3604
3671
  const rotate = useRef6(useGetTargetAngle(isClockwise, offset, disableRotationForReversed));
3605
3672
  rotate.current = useGetTargetAngle(isClockwise, offset, disableRotationForReversed, rotate);
3606
- return /* @__PURE__ */ React40.createElement(Icon, { fontSize: size, sx: { transition: ".3s", rotate: `${rotate.current}deg` } });
3673
+ return /* @__PURE__ */ React42.createElement(Icon, { fontSize: size, sx: { transition: ".3s", rotate: `${rotate.current}deg` } });
3607
3674
  };
3608
3675
  var useGetTargetAngle = (isClockwise, offset, disableRotationForReversed, existingRef) => {
3609
3676
  const { value: direction } = useStylesField("flex-direction", {
@@ -3624,7 +3691,7 @@ var useGetTargetAngle = (isClockwise, offset, disableRotationForReversed, existi
3624
3691
  };
3625
3692
 
3626
3693
  // src/components/style-sections/layout-section/align-content-field.tsx
3627
- var ALIGN_CONTENT_LABEL = __19("Align content", "elementor");
3694
+ var ALIGN_CONTENT_LABEL = __20("Align content", "elementor");
3628
3695
  var StartIcon = withDirection3(JustifyTopIcon);
3629
3696
  var EndIcon = withDirection3(JustifyBottomIcon);
3630
3697
  var iconProps = {
@@ -3635,45 +3702,45 @@ var iconProps = {
3635
3702
  var options = [
3636
3703
  {
3637
3704
  value: "start",
3638
- label: __19("Start", "elementor"),
3639
- renderContent: ({ size }) => /* @__PURE__ */ React41.createElement(RotatedIcon, { icon: StartIcon, size, ...iconProps }),
3705
+ label: __20("Start", "elementor"),
3706
+ renderContent: ({ size }) => /* @__PURE__ */ React43.createElement(RotatedIcon, { icon: StartIcon, size, ...iconProps }),
3640
3707
  showTooltip: true
3641
3708
  },
3642
3709
  {
3643
3710
  value: "center",
3644
- label: __19("Center", "elementor"),
3645
- renderContent: ({ size }) => /* @__PURE__ */ React41.createElement(RotatedIcon, { icon: CenterIcon, size, ...iconProps }),
3711
+ label: __20("Center", "elementor"),
3712
+ renderContent: ({ size }) => /* @__PURE__ */ React43.createElement(RotatedIcon, { icon: CenterIcon, size, ...iconProps }),
3646
3713
  showTooltip: true
3647
3714
  },
3648
3715
  {
3649
3716
  value: "end",
3650
- label: __19("End", "elementor"),
3651
- renderContent: ({ size }) => /* @__PURE__ */ React41.createElement(RotatedIcon, { icon: EndIcon, size, ...iconProps }),
3717
+ label: __20("End", "elementor"),
3718
+ renderContent: ({ size }) => /* @__PURE__ */ React43.createElement(RotatedIcon, { icon: EndIcon, size, ...iconProps }),
3652
3719
  showTooltip: true
3653
3720
  },
3654
3721
  {
3655
3722
  value: "space-between",
3656
- label: __19("Space between", "elementor"),
3657
- renderContent: ({ size }) => /* @__PURE__ */ React41.createElement(RotatedIcon, { icon: BetweenIcon, size, ...iconProps }),
3723
+ label: __20("Space between", "elementor"),
3724
+ renderContent: ({ size }) => /* @__PURE__ */ React43.createElement(RotatedIcon, { icon: BetweenIcon, size, ...iconProps }),
3658
3725
  showTooltip: true
3659
3726
  },
3660
3727
  {
3661
3728
  value: "space-around",
3662
- label: __19("Space around", "elementor"),
3663
- renderContent: ({ size }) => /* @__PURE__ */ React41.createElement(RotatedIcon, { icon: AroundIcon, size, ...iconProps }),
3729
+ label: __20("Space around", "elementor"),
3730
+ renderContent: ({ size }) => /* @__PURE__ */ React43.createElement(RotatedIcon, { icon: AroundIcon, size, ...iconProps }),
3664
3731
  showTooltip: true
3665
3732
  },
3666
3733
  {
3667
3734
  value: "space-evenly",
3668
- label: __19("Space evenly", "elementor"),
3669
- renderContent: ({ size }) => /* @__PURE__ */ React41.createElement(RotatedIcon, { icon: EvenlyIcon, size, ...iconProps }),
3735
+ label: __20("Space evenly", "elementor"),
3736
+ renderContent: ({ size }) => /* @__PURE__ */ React43.createElement(RotatedIcon, { icon: EvenlyIcon, size, ...iconProps }),
3670
3737
  showTooltip: true
3671
3738
  }
3672
3739
  ];
3673
- var AlignContentField = () => /* @__PURE__ */ React41.createElement(StylesField, { bind: "align-content", propDisplayName: ALIGN_CONTENT_LABEL }, /* @__PURE__ */ React41.createElement(UiProviders, null, /* @__PURE__ */ React41.createElement(StylesFieldLayout, { label: ALIGN_CONTENT_LABEL, direction: "column" }, /* @__PURE__ */ React41.createElement(ToggleControl2, { options, fullWidth: true }))));
3740
+ var AlignContentField = () => /* @__PURE__ */ React43.createElement(StylesField, { bind: "align-content", propDisplayName: ALIGN_CONTENT_LABEL }, /* @__PURE__ */ React43.createElement(UiProviders, null, /* @__PURE__ */ React43.createElement(StylesFieldLayout, { label: ALIGN_CONTENT_LABEL, direction: "column" }, /* @__PURE__ */ React43.createElement(ToggleControl2, { options, fullWidth: true }))));
3674
3741
 
3675
3742
  // src/components/style-sections/layout-section/align-items-field.tsx
3676
- import * as React42 from "react";
3743
+ import * as React44 from "react";
3677
3744
  import { ToggleControl as ToggleControl3 } from "@elementor/editor-controls";
3678
3745
  import {
3679
3746
  LayoutAlignCenterIcon as CenterIcon2,
@@ -3682,8 +3749,8 @@ import {
3682
3749
  LayoutDistributeVerticalIcon as JustifyIcon
3683
3750
  } from "@elementor/icons";
3684
3751
  import { withDirection as withDirection4 } from "@elementor/ui";
3685
- import { __ as __20 } from "@wordpress/i18n";
3686
- var ALIGN_ITEMS_LABEL = __20("Align items", "elementor");
3752
+ import { __ as __21 } from "@wordpress/i18n";
3753
+ var ALIGN_ITEMS_LABEL = __21("Align items", "elementor");
3687
3754
  var StartIcon2 = withDirection4(LayoutAlignLeftIcon);
3688
3755
  var EndIcon2 = withDirection4(LayoutAlignRightIcon);
3689
3756
  var iconProps2 = {
@@ -3693,35 +3760,35 @@ var iconProps2 = {
3693
3760
  var options2 = [
3694
3761
  {
3695
3762
  value: "start",
3696
- label: __20("Start", "elementor"),
3697
- renderContent: ({ size }) => /* @__PURE__ */ React42.createElement(RotatedIcon, { icon: StartIcon2, size, ...iconProps2 }),
3763
+ label: __21("Start", "elementor"),
3764
+ renderContent: ({ size }) => /* @__PURE__ */ React44.createElement(RotatedIcon, { icon: StartIcon2, size, ...iconProps2 }),
3698
3765
  showTooltip: true
3699
3766
  },
3700
3767
  {
3701
3768
  value: "center",
3702
- label: __20("Center", "elementor"),
3703
- renderContent: ({ size }) => /* @__PURE__ */ React42.createElement(RotatedIcon, { icon: CenterIcon2, size, ...iconProps2 }),
3769
+ label: __21("Center", "elementor"),
3770
+ renderContent: ({ size }) => /* @__PURE__ */ React44.createElement(RotatedIcon, { icon: CenterIcon2, size, ...iconProps2 }),
3704
3771
  showTooltip: true
3705
3772
  },
3706
3773
  {
3707
3774
  value: "end",
3708
- label: __20("End", "elementor"),
3709
- renderContent: ({ size }) => /* @__PURE__ */ React42.createElement(RotatedIcon, { icon: EndIcon2, size, ...iconProps2 }),
3775
+ label: __21("End", "elementor"),
3776
+ renderContent: ({ size }) => /* @__PURE__ */ React44.createElement(RotatedIcon, { icon: EndIcon2, size, ...iconProps2 }),
3710
3777
  showTooltip: true
3711
3778
  },
3712
3779
  {
3713
3780
  value: "stretch",
3714
- label: __20("Stretch", "elementor"),
3715
- renderContent: ({ size }) => /* @__PURE__ */ React42.createElement(RotatedIcon, { icon: JustifyIcon, size, ...iconProps2 }),
3781
+ label: __21("Stretch", "elementor"),
3782
+ renderContent: ({ size }) => /* @__PURE__ */ React44.createElement(RotatedIcon, { icon: JustifyIcon, size, ...iconProps2 }),
3716
3783
  showTooltip: true
3717
3784
  }
3718
3785
  ];
3719
3786
  var AlignItemsField = () => {
3720
- return /* @__PURE__ */ React42.createElement(UiProviders, null, /* @__PURE__ */ React42.createElement(StylesField, { bind: "align-items", propDisplayName: ALIGN_ITEMS_LABEL }, /* @__PURE__ */ React42.createElement(StylesFieldLayout, { label: ALIGN_ITEMS_LABEL }, /* @__PURE__ */ React42.createElement(ToggleControl3, { options: options2 }))));
3787
+ return /* @__PURE__ */ React44.createElement(UiProviders, null, /* @__PURE__ */ React44.createElement(StylesField, { bind: "align-items", propDisplayName: ALIGN_ITEMS_LABEL }, /* @__PURE__ */ React44.createElement(StylesFieldLayout, { label: ALIGN_ITEMS_LABEL }, /* @__PURE__ */ React44.createElement(ToggleControl3, { options: options2 }))));
3721
3788
  };
3722
3789
 
3723
3790
  // src/components/style-sections/layout-section/align-self-child-field.tsx
3724
- import * as React43 from "react";
3791
+ import * as React45 from "react";
3725
3792
  import { ToggleControl as ToggleControl4 } from "@elementor/editor-controls";
3726
3793
  import {
3727
3794
  LayoutAlignCenterIcon as CenterIcon3,
@@ -3730,8 +3797,8 @@ import {
3730
3797
  LayoutDistributeVerticalIcon as JustifyIcon2
3731
3798
  } from "@elementor/icons";
3732
3799
  import { withDirection as withDirection5 } from "@elementor/ui";
3733
- import { __ as __21 } from "@wordpress/i18n";
3734
- var ALIGN_SELF_LABEL = __21("Align self", "elementor");
3800
+ import { __ as __22 } from "@wordpress/i18n";
3801
+ var ALIGN_SELF_LABEL = __22("Align self", "elementor");
3735
3802
  var ALIGN_SELF_CHILD_OFFSET_MAP = {
3736
3803
  row: 90,
3737
3804
  "row-reverse": 90,
@@ -3746,8 +3813,8 @@ var iconProps3 = {
3746
3813
  var getOptions = (parentStyleDirection) => [
3747
3814
  {
3748
3815
  value: "start",
3749
- label: __21("Start", "elementor"),
3750
- renderContent: ({ size }) => /* @__PURE__ */ React43.createElement(
3816
+ label: __22("Start", "elementor"),
3817
+ renderContent: ({ size }) => /* @__PURE__ */ React45.createElement(
3751
3818
  RotatedIcon,
3752
3819
  {
3753
3820
  icon: StartIcon3,
@@ -3760,8 +3827,8 @@ var getOptions = (parentStyleDirection) => [
3760
3827
  },
3761
3828
  {
3762
3829
  value: "center",
3763
- label: __21("Center", "elementor"),
3764
- renderContent: ({ size }) => /* @__PURE__ */ React43.createElement(
3830
+ label: __22("Center", "elementor"),
3831
+ renderContent: ({ size }) => /* @__PURE__ */ React45.createElement(
3765
3832
  RotatedIcon,
3766
3833
  {
3767
3834
  icon: CenterIcon3,
@@ -3774,8 +3841,8 @@ var getOptions = (parentStyleDirection) => [
3774
3841
  },
3775
3842
  {
3776
3843
  value: "end",
3777
- label: __21("End", "elementor"),
3778
- renderContent: ({ size }) => /* @__PURE__ */ React43.createElement(
3844
+ label: __22("End", "elementor"),
3845
+ renderContent: ({ size }) => /* @__PURE__ */ React45.createElement(
3779
3846
  RotatedIcon,
3780
3847
  {
3781
3848
  icon: EndIcon3,
@@ -3788,8 +3855,8 @@ var getOptions = (parentStyleDirection) => [
3788
3855
  },
3789
3856
  {
3790
3857
  value: "stretch",
3791
- label: __21("Stretch", "elementor"),
3792
- renderContent: ({ size }) => /* @__PURE__ */ React43.createElement(
3858
+ label: __22("Stretch", "elementor"),
3859
+ renderContent: ({ size }) => /* @__PURE__ */ React45.createElement(
3793
3860
  RotatedIcon,
3794
3861
  {
3795
3862
  icon: JustifyIcon2,
@@ -3801,10 +3868,10 @@ var getOptions = (parentStyleDirection) => [
3801
3868
  showTooltip: true
3802
3869
  }
3803
3870
  ];
3804
- var AlignSelfChild = ({ parentStyleDirection }) => /* @__PURE__ */ React43.createElement(StylesField, { bind: "align-self", propDisplayName: ALIGN_SELF_LABEL }, /* @__PURE__ */ React43.createElement(UiProviders, null, /* @__PURE__ */ React43.createElement(StylesFieldLayout, { label: ALIGN_SELF_LABEL }, /* @__PURE__ */ React43.createElement(ToggleControl4, { options: getOptions(parentStyleDirection) }))));
3871
+ var AlignSelfChild = ({ parentStyleDirection }) => /* @__PURE__ */ React45.createElement(StylesField, { bind: "align-self", propDisplayName: ALIGN_SELF_LABEL }, /* @__PURE__ */ React45.createElement(UiProviders, null, /* @__PURE__ */ React45.createElement(StylesFieldLayout, { label: ALIGN_SELF_LABEL }, /* @__PURE__ */ React45.createElement(ToggleControl4, { options: getOptions(parentStyleDirection) }))));
3805
3872
 
3806
3873
  // src/components/style-sections/layout-section/align-self-grid-child-field.tsx
3807
- import * as React44 from "react";
3874
+ import * as React46 from "react";
3808
3875
  import { ToggleControl as ToggleControl5 } from "@elementor/editor-controls";
3809
3876
  import {
3810
3877
  JustifyBottomIcon as JustifyBottomIcon2,
@@ -3812,90 +3879,90 @@ import {
3812
3879
  JustifyTopIcon as JustifyTopIcon2,
3813
3880
  LayoutDistributeVerticalIcon as JustifyIcon3
3814
3881
  } from "@elementor/icons";
3815
- import { __ as __22 } from "@wordpress/i18n";
3816
- var ALIGN_SELF_LABEL2 = __22("Align self", "elementor");
3882
+ import { __ as __23 } from "@wordpress/i18n";
3883
+ var ALIGN_SELF_LABEL2 = __23("Align self", "elementor");
3817
3884
  var ALIGN_SELF_CHILD_OFFSET_MAP2 = {
3818
3885
  row: 0,
3819
3886
  column: -90
3820
3887
  };
3821
- var AlignSelfGridChild = ({ parentStyleDirection }) => /* @__PURE__ */ React44.createElement(StylesField, { bind: "align-self", propDisplayName: ALIGN_SELF_LABEL2 }, /* @__PURE__ */ React44.createElement(UiProviders, null, /* @__PURE__ */ React44.createElement(StylesFieldLayout, { label: ALIGN_SELF_LABEL2 }, /* @__PURE__ */ React44.createElement(ToggleControl5, { options: getOptions2(parentStyleDirection ?? "row") }))));
3888
+ var AlignSelfGridChild = ({ parentStyleDirection }) => /* @__PURE__ */ React46.createElement(StylesField, { bind: "align-self", propDisplayName: ALIGN_SELF_LABEL2 }, /* @__PURE__ */ React46.createElement(UiProviders, null, /* @__PURE__ */ React46.createElement(StylesFieldLayout, { label: ALIGN_SELF_LABEL2 }, /* @__PURE__ */ React46.createElement(ToggleControl5, { options: getOptions2(parentStyleDirection ?? "row") }))));
3822
3889
  var RotatedIcon2 = ({
3823
3890
  icon: Icon,
3824
3891
  size,
3825
3892
  offset
3826
- }) => /* @__PURE__ */ React44.createElement(Icon, { fontSize: size, sx: { rotate: `${offset}deg` } });
3893
+ }) => /* @__PURE__ */ React46.createElement(Icon, { fontSize: size, sx: { rotate: `${offset}deg` } });
3827
3894
  var getOptions2 = (parentStyleDirection) => {
3828
3895
  const offset = ALIGN_SELF_CHILD_OFFSET_MAP2[parentStyleDirection.replace("dense", "").trim()];
3829
3896
  return [
3830
3897
  {
3831
3898
  value: "start",
3832
- label: __22("Start", "elementor"),
3833
- renderContent: ({ size }) => /* @__PURE__ */ React44.createElement(RotatedIcon2, { icon: JustifyTopIcon2, size, offset }),
3899
+ label: __23("Start", "elementor"),
3900
+ renderContent: ({ size }) => /* @__PURE__ */ React46.createElement(RotatedIcon2, { icon: JustifyTopIcon2, size, offset }),
3834
3901
  showTooltip: true
3835
3902
  },
3836
3903
  {
3837
3904
  value: "center",
3838
- label: __22("Center", "elementor"),
3839
- renderContent: ({ size }) => /* @__PURE__ */ React44.createElement(RotatedIcon2, { icon: JustifyCenterIcon, size, offset }),
3905
+ label: __23("Center", "elementor"),
3906
+ renderContent: ({ size }) => /* @__PURE__ */ React46.createElement(RotatedIcon2, { icon: JustifyCenterIcon, size, offset }),
3840
3907
  showTooltip: true
3841
3908
  },
3842
3909
  {
3843
3910
  value: "end",
3844
- label: __22("End", "elementor"),
3845
- renderContent: ({ size }) => /* @__PURE__ */ React44.createElement(RotatedIcon2, { icon: JustifyBottomIcon2, size, offset }),
3911
+ label: __23("End", "elementor"),
3912
+ renderContent: ({ size }) => /* @__PURE__ */ React46.createElement(RotatedIcon2, { icon: JustifyBottomIcon2, size, offset }),
3846
3913
  showTooltip: true
3847
3914
  },
3848
3915
  {
3849
3916
  value: "stretch",
3850
- label: __22("Stretch", "elementor"),
3851
- renderContent: ({ size }) => /* @__PURE__ */ React44.createElement(RotatedIcon2, { icon: JustifyIcon3, size, offset }),
3917
+ label: __23("Stretch", "elementor"),
3918
+ renderContent: ({ size }) => /* @__PURE__ */ React46.createElement(RotatedIcon2, { icon: JustifyIcon3, size, offset }),
3852
3919
  showTooltip: true
3853
3920
  }
3854
3921
  ];
3855
3922
  };
3856
3923
 
3857
3924
  // src/components/style-sections/layout-section/display-field.tsx
3858
- import * as React45 from "react";
3925
+ import * as React47 from "react";
3859
3926
  import { useMemo as useMemo9 } from "react";
3860
3927
  import { ToggleControl as ToggleControl6 } from "@elementor/editor-controls";
3861
3928
  import { isExperimentActive } from "@elementor/editor-v1-adapters";
3862
- import { __ as __23 } from "@wordpress/i18n";
3863
- var DISPLAY_LABEL = __23("Display", "elementor");
3929
+ import { __ as __24 } from "@wordpress/i18n";
3930
+ var DISPLAY_LABEL = __24("Display", "elementor");
3864
3931
  var displayFieldItems = [
3865
3932
  {
3866
3933
  value: "block",
3867
- renderContent: () => __23("Block", "elementor"),
3868
- label: __23("Block", "elementor"),
3934
+ renderContent: () => __24("Block", "elementor"),
3935
+ label: __24("Block", "elementor"),
3869
3936
  showTooltip: true
3870
3937
  },
3871
3938
  {
3872
3939
  value: "flex",
3873
- renderContent: () => __23("Flex", "elementor"),
3874
- label: __23("Flex", "elementor"),
3940
+ renderContent: () => __24("Flex", "elementor"),
3941
+ label: __24("Flex", "elementor"),
3875
3942
  showTooltip: true
3876
3943
  },
3877
3944
  {
3878
3945
  value: "grid",
3879
- renderContent: () => __23("Grid", "elementor"),
3880
- label: __23("Grid", "elementor"),
3946
+ renderContent: () => __24("Grid", "elementor"),
3947
+ label: __24("Grid", "elementor"),
3881
3948
  showTooltip: true
3882
3949
  },
3883
3950
  {
3884
3951
  value: "none",
3885
- renderContent: () => __23("None", "elementor"),
3886
- label: __23("None", "elementor"),
3952
+ renderContent: () => __24("None", "elementor"),
3953
+ label: __24("None", "elementor"),
3887
3954
  showTooltip: true
3888
3955
  },
3889
3956
  {
3890
3957
  value: "inline-block",
3891
- renderContent: () => __23("In-blk", "elementor"),
3892
- label: __23("Inline-block", "elementor"),
3958
+ renderContent: () => __24("In-blk", "elementor"),
3959
+ label: __24("Inline-block", "elementor"),
3893
3960
  showTooltip: true
3894
3961
  },
3895
3962
  {
3896
3963
  value: "inline-flex",
3897
- renderContent: () => __23("In-flx", "elementor"),
3898
- label: __23("Inline-flex", "elementor"),
3964
+ renderContent: () => __24("In-flx", "elementor"),
3965
+ label: __24("Inline-flex", "elementor"),
3899
3966
  showTooltip: true
3900
3967
  }
3901
3968
  ];
@@ -3906,55 +3973,55 @@ var DisplayField = () => {
3906
3973
  () => isGridActive ? displayFieldItems : displayFieldItems.filter((item) => item.value !== "grid"),
3907
3974
  [isGridActive]
3908
3975
  );
3909
- return /* @__PURE__ */ React45.createElement(StylesField, { bind: "display", propDisplayName: DISPLAY_LABEL, placeholder }, /* @__PURE__ */ React45.createElement(StylesFieldLayout, { label: DISPLAY_LABEL, direction: "column" }, /* @__PURE__ */ React45.createElement(ToggleControl6, { options: items3, maxItems: 4, fullWidth: true })));
3976
+ return /* @__PURE__ */ React47.createElement(StylesField, { bind: "display", propDisplayName: DISPLAY_LABEL, placeholder }, /* @__PURE__ */ React47.createElement(StylesFieldLayout, { label: DISPLAY_LABEL, direction: "column" }, /* @__PURE__ */ React47.createElement(ToggleControl6, { options: items3, maxItems: 4, fullWidth: true })));
3910
3977
  };
3911
3978
  var useDisplayPlaceholderValue = () => useStylesInheritanceChain(["display"])[0]?.value ?? void 0;
3912
3979
 
3913
3980
  // src/components/style-sections/layout-section/flex-direction-field.tsx
3914
- import * as React46 from "react";
3981
+ import * as React48 from "react";
3915
3982
  import { ToggleControl as ToggleControl7 } from "@elementor/editor-controls";
3916
3983
  import { ArrowDownSmallIcon, ArrowLeftIcon, ArrowRightIcon, ArrowUpSmallIcon } from "@elementor/icons";
3917
3984
  import { withDirection as withDirection6 } from "@elementor/ui";
3918
- import { __ as __24 } from "@wordpress/i18n";
3919
- var FLEX_DIRECTION_LABEL2 = __24("Direction", "elementor");
3985
+ import { __ as __25 } from "@wordpress/i18n";
3986
+ var FLEX_DIRECTION_LABEL2 = __25("Direction", "elementor");
3920
3987
  var options3 = [
3921
3988
  {
3922
3989
  value: "row",
3923
- label: __24("Row", "elementor"),
3990
+ label: __25("Row", "elementor"),
3924
3991
  renderContent: ({ size }) => {
3925
3992
  const StartIcon7 = withDirection6(ArrowRightIcon);
3926
- return /* @__PURE__ */ React46.createElement(StartIcon7, { fontSize: size });
3993
+ return /* @__PURE__ */ React48.createElement(StartIcon7, { fontSize: size });
3927
3994
  },
3928
3995
  showTooltip: true
3929
3996
  },
3930
3997
  {
3931
3998
  value: "column",
3932
- label: __24("Column", "elementor"),
3933
- renderContent: ({ size }) => /* @__PURE__ */ React46.createElement(ArrowDownSmallIcon, { fontSize: size }),
3999
+ label: __25("Column", "elementor"),
4000
+ renderContent: ({ size }) => /* @__PURE__ */ React48.createElement(ArrowDownSmallIcon, { fontSize: size }),
3934
4001
  showTooltip: true
3935
4002
  },
3936
4003
  {
3937
4004
  value: "row-reverse",
3938
- label: __24("Reversed row", "elementor"),
4005
+ label: __25("Reversed row", "elementor"),
3939
4006
  renderContent: ({ size }) => {
3940
4007
  const EndIcon6 = withDirection6(ArrowLeftIcon);
3941
- return /* @__PURE__ */ React46.createElement(EndIcon6, { fontSize: size });
4008
+ return /* @__PURE__ */ React48.createElement(EndIcon6, { fontSize: size });
3942
4009
  },
3943
4010
  showTooltip: true
3944
4011
  },
3945
4012
  {
3946
4013
  value: "column-reverse",
3947
- label: __24("Reversed column", "elementor"),
3948
- renderContent: ({ size }) => /* @__PURE__ */ React46.createElement(ArrowUpSmallIcon, { fontSize: size }),
4014
+ label: __25("Reversed column", "elementor"),
4015
+ renderContent: ({ size }) => /* @__PURE__ */ React48.createElement(ArrowUpSmallIcon, { fontSize: size }),
3949
4016
  showTooltip: true
3950
4017
  }
3951
4018
  ];
3952
4019
  var FlexDirectionField = () => {
3953
- return /* @__PURE__ */ React46.createElement(StylesField, { bind: "flex-direction", propDisplayName: FLEX_DIRECTION_LABEL2 }, /* @__PURE__ */ React46.createElement(UiProviders, null, /* @__PURE__ */ React46.createElement(StylesFieldLayout, { label: FLEX_DIRECTION_LABEL2 }, /* @__PURE__ */ React46.createElement(ToggleControl7, { options: options3 }))));
4020
+ return /* @__PURE__ */ React48.createElement(StylesField, { bind: "flex-direction", propDisplayName: FLEX_DIRECTION_LABEL2 }, /* @__PURE__ */ React48.createElement(UiProviders, null, /* @__PURE__ */ React48.createElement(StylesFieldLayout, { label: FLEX_DIRECTION_LABEL2 }, /* @__PURE__ */ React48.createElement(ToggleControl7, { options: options3 }))));
3954
4021
  };
3955
4022
 
3956
4023
  // src/components/style-sections/layout-section/flex-order-field.tsx
3957
- import * as React47 from "react";
4024
+ import * as React49 from "react";
3958
4025
  import { useEffect as useEffect5, useMemo as useMemo10, useState as useState7 } from "react";
3959
4026
  import {
3960
4027
  ControlToggleButtonGroup,
@@ -3963,8 +4030,8 @@ import {
3963
4030
  } from "@elementor/editor-controls";
3964
4031
  import { ArrowDownSmallIcon as ArrowDownSmallIcon2, ArrowUpSmallIcon as ArrowUpSmallIcon2, PencilIcon } from "@elementor/icons";
3965
4032
  import { Grid as Grid2 } from "@elementor/ui";
3966
- import { __ as __25 } from "@wordpress/i18n";
3967
- var ORDER_LABEL = __25("Order", "elementor");
4033
+ import { __ as __26 } from "@wordpress/i18n";
4034
+ var ORDER_LABEL = __26("Order", "elementor");
3968
4035
  var FIRST_DEFAULT_VALUE = -99999;
3969
4036
  var LAST_DEFAULT_VALUE = 99999;
3970
4037
  var FIRST = "first";
@@ -3977,25 +4044,25 @@ var orderValueMap = {
3977
4044
  var items = [
3978
4045
  {
3979
4046
  value: FIRST,
3980
- label: __25("First", "elementor"),
3981
- renderContent: ({ size }) => /* @__PURE__ */ React47.createElement(ArrowUpSmallIcon2, { fontSize: size }),
4047
+ label: __26("First", "elementor"),
4048
+ renderContent: ({ size }) => /* @__PURE__ */ React49.createElement(ArrowUpSmallIcon2, { fontSize: size }),
3982
4049
  showTooltip: true
3983
4050
  },
3984
4051
  {
3985
4052
  value: LAST,
3986
- label: __25("Last", "elementor"),
3987
- renderContent: ({ size }) => /* @__PURE__ */ React47.createElement(ArrowDownSmallIcon2, { fontSize: size }),
4053
+ label: __26("Last", "elementor"),
4054
+ renderContent: ({ size }) => /* @__PURE__ */ React49.createElement(ArrowDownSmallIcon2, { fontSize: size }),
3988
4055
  showTooltip: true
3989
4056
  },
3990
4057
  {
3991
4058
  value: CUSTOM,
3992
- label: __25("Custom", "elementor"),
3993
- renderContent: ({ size }) => /* @__PURE__ */ React47.createElement(PencilIcon, { fontSize: size }),
4059
+ label: __26("Custom", "elementor"),
4060
+ renderContent: ({ size }) => /* @__PURE__ */ React49.createElement(PencilIcon, { fontSize: size }),
3994
4061
  showTooltip: true
3995
4062
  }
3996
4063
  ];
3997
4064
  var FlexOrderField = () => {
3998
- return /* @__PURE__ */ React47.createElement(StylesField, { bind: "order", propDisplayName: ORDER_LABEL }, /* @__PURE__ */ React47.createElement(UiProviders, null, /* @__PURE__ */ React47.createElement(SectionContent, null, /* @__PURE__ */ React47.createElement(FlexOrderFieldContent, null))));
4065
+ return /* @__PURE__ */ React49.createElement(StylesField, { bind: "order", propDisplayName: ORDER_LABEL }, /* @__PURE__ */ React49.createElement(UiProviders, null, /* @__PURE__ */ React49.createElement(SectionContent, null, /* @__PURE__ */ React49.createElement(FlexOrderFieldContent, null))));
3999
4066
  };
4000
4067
  function FlexOrderFieldContent() {
4001
4068
  const {
@@ -4040,7 +4107,7 @@ function FlexOrderFieldContent() {
4040
4107
  };
4041
4108
  const isCustomVisible = CUSTOM === activeGroup || CUSTOM === groupPlaceholder;
4042
4109
  const orderPlaceholder = CUSTOM === groupPlaceholder ? String(placeholderValue?.value ?? null) : "";
4043
- return /* @__PURE__ */ React47.createElement(React47.Fragment, null, /* @__PURE__ */ React47.createElement(StylesFieldLayout, { label: ORDER_LABEL }, /* @__PURE__ */ React47.createElement(
4110
+ return /* @__PURE__ */ React49.createElement(React49.Fragment, null, /* @__PURE__ */ React49.createElement(StylesFieldLayout, { label: ORDER_LABEL }, /* @__PURE__ */ React49.createElement(
4044
4111
  ControlToggleButtonGroup,
4045
4112
  {
4046
4113
  items,
@@ -4050,7 +4117,7 @@ function FlexOrderFieldContent() {
4050
4117
  placeholder: groupPlaceholder,
4051
4118
  disabled: !canEdit
4052
4119
  }
4053
- )), isCustomVisible && /* @__PURE__ */ React47.createElement(Grid2, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React47.createElement(Grid2, { item: true, xs: 6 }, /* @__PURE__ */ React47.createElement(ControlLabel, null, __25("Custom order", "elementor"))), /* @__PURE__ */ React47.createElement(Grid2, { item: true, xs: 6, sx: { display: "flex", justifyContent: "end" } }, /* @__PURE__ */ React47.createElement(
4120
+ )), isCustomVisible && /* @__PURE__ */ React49.createElement(Grid2, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React49.createElement(Grid2, { item: true, xs: 6 }, /* @__PURE__ */ React49.createElement(ControlLabel, null, __26("Custom order", "elementor"))), /* @__PURE__ */ React49.createElement(Grid2, { item: true, xs: 6, sx: { display: "flex", justifyContent: "end" } }, /* @__PURE__ */ React49.createElement(
4054
4121
  NumberControl2,
4055
4122
  {
4056
4123
  min: FIRST_DEFAULT_VALUE + 1,
@@ -4074,7 +4141,7 @@ var getGroupControlValue = (order) => {
4074
4141
  };
4075
4142
 
4076
4143
  // src/components/style-sections/layout-section/flex-size-field.tsx
4077
- import * as React48 from "react";
4144
+ import * as React50 from "react";
4078
4145
  import { useEffect as useEffect6, useMemo as useMemo11, useRef as useRef7, useState as useState8 } from "react";
4079
4146
  import {
4080
4147
  ControlToggleButtonGroup as ControlToggleButtonGroup2,
@@ -4086,31 +4153,31 @@ import {
4086
4153
  } from "@elementor/editor-controls";
4087
4154
  import { flexPropTypeUtil, numberPropTypeUtil as numberPropTypeUtil2, sizePropTypeUtil as sizePropTypeUtil3 } from "@elementor/editor-props";
4088
4155
  import { ExpandIcon, PencilIcon as PencilIcon2, ShrinkIcon } from "@elementor/icons";
4089
- import { __ as __26 } from "@wordpress/i18n";
4090
- var FLEX_SIZE_LABEL = __26("Flex Size", "elementor");
4156
+ import { __ as __27 } from "@wordpress/i18n";
4157
+ var FLEX_SIZE_LABEL = __27("Flex Size", "elementor");
4091
4158
  var DEFAULT = 1;
4092
4159
  var items2 = [
4093
4160
  {
4094
4161
  value: "flex-grow",
4095
- label: __26("Grow", "elementor"),
4096
- renderContent: ({ size }) => /* @__PURE__ */ React48.createElement(ExpandIcon, { fontSize: size }),
4162
+ label: __27("Grow", "elementor"),
4163
+ renderContent: ({ size }) => /* @__PURE__ */ React50.createElement(ExpandIcon, { fontSize: size }),
4097
4164
  showTooltip: true
4098
4165
  },
4099
4166
  {
4100
4167
  value: "flex-shrink",
4101
- label: __26("Shrink", "elementor"),
4102
- renderContent: ({ size }) => /* @__PURE__ */ React48.createElement(ShrinkIcon, { fontSize: size }),
4168
+ label: __27("Shrink", "elementor"),
4169
+ renderContent: ({ size }) => /* @__PURE__ */ React50.createElement(ShrinkIcon, { fontSize: size }),
4103
4170
  showTooltip: true
4104
4171
  },
4105
4172
  {
4106
4173
  value: "custom",
4107
- label: __26("Custom", "elementor"),
4108
- renderContent: ({ size }) => /* @__PURE__ */ React48.createElement(PencilIcon2, { fontSize: size }),
4174
+ label: __27("Custom", "elementor"),
4175
+ renderContent: ({ size }) => /* @__PURE__ */ React50.createElement(PencilIcon2, { fontSize: size }),
4109
4176
  showTooltip: true
4110
4177
  }
4111
4178
  ];
4112
4179
  var FlexSizeField = () => {
4113
- return /* @__PURE__ */ React48.createElement(UiProviders, null, /* @__PURE__ */ React48.createElement(SectionContent, null, /* @__PURE__ */ React48.createElement(StylesField, { bind: "flex", propDisplayName: FLEX_SIZE_LABEL }, /* @__PURE__ */ React48.createElement(FlexSizeFieldContent, null))));
4180
+ return /* @__PURE__ */ React50.createElement(UiProviders, null, /* @__PURE__ */ React50.createElement(SectionContent, null, /* @__PURE__ */ React50.createElement(StylesField, { bind: "flex", propDisplayName: FLEX_SIZE_LABEL }, /* @__PURE__ */ React50.createElement(FlexSizeFieldContent, null))));
4114
4181
  };
4115
4182
  var FlexSizeFieldContent = () => {
4116
4183
  const { value, setValue, canEdit } = useStylesField("flex", {
@@ -4139,7 +4206,7 @@ var FlexSizeFieldContent = () => {
4139
4206
  };
4140
4207
  const groupPlaceholder = getActiveGroup(extractFlexValues(placeholder));
4141
4208
  const isCustomVisible = "custom" === activeGroup || "custom" === groupPlaceholder;
4142
- return /* @__PURE__ */ React48.createElement(React48.Fragment, null, /* @__PURE__ */ React48.createElement(StylesFieldLayout, { label: FLEX_SIZE_LABEL }, /* @__PURE__ */ React48.createElement(
4209
+ return /* @__PURE__ */ React50.createElement(React50.Fragment, null, /* @__PURE__ */ React50.createElement(StylesFieldLayout, { label: FLEX_SIZE_LABEL }, /* @__PURE__ */ React50.createElement(
4143
4210
  ControlToggleButtonGroup2,
4144
4211
  {
4145
4212
  value: activeGroup ?? null,
@@ -4149,7 +4216,7 @@ var FlexSizeFieldContent = () => {
4149
4216
  items: items2,
4150
4217
  exclusive: true
4151
4218
  }
4152
- )), isCustomVisible && /* @__PURE__ */ React48.createElement(FlexCustomField, null));
4219
+ )), isCustomVisible && /* @__PURE__ */ React50.createElement(FlexCustomField, null));
4153
4220
  };
4154
4221
  function extractFlexValues(source) {
4155
4222
  return {
@@ -4191,7 +4258,7 @@ var createFlexValueForGroup = (group, flexValue) => {
4191
4258
  var FlexCustomField = () => {
4192
4259
  const flexBasisRowRef = useRef7(null);
4193
4260
  const context = useBoundProp3(flexPropTypeUtil);
4194
- return /* @__PURE__ */ React48.createElement(PropProvider3, { ...context }, /* @__PURE__ */ React48.createElement(React48.Fragment, null, /* @__PURE__ */ React48.createElement(StylesFieldLayout, { label: __26("Grow", "elementor") }, /* @__PURE__ */ React48.createElement(PropKeyProvider3, { bind: "flexGrow" }, /* @__PURE__ */ React48.createElement(NumberControl3, { min: 0, shouldForceInt: true }))), /* @__PURE__ */ React48.createElement(StylesFieldLayout, { label: __26("Shrink", "elementor") }, /* @__PURE__ */ React48.createElement(PropKeyProvider3, { bind: "flexShrink" }, /* @__PURE__ */ React48.createElement(NumberControl3, { min: 0, shouldForceInt: true }))), /* @__PURE__ */ React48.createElement(StylesFieldLayout, { label: __26("Basis", "elementor"), ref: flexBasisRowRef }, /* @__PURE__ */ React48.createElement(PropKeyProvider3, { bind: "flexBasis" }, /* @__PURE__ */ React48.createElement(SizeControl3, { extendedOptions: ["auto"], anchorRef: flexBasisRowRef })))));
4261
+ return /* @__PURE__ */ React50.createElement(PropProvider3, { ...context }, /* @__PURE__ */ React50.createElement(React50.Fragment, null, /* @__PURE__ */ React50.createElement(StylesFieldLayout, { label: __27("Grow", "elementor") }, /* @__PURE__ */ React50.createElement(PropKeyProvider3, { bind: "flexGrow" }, /* @__PURE__ */ React50.createElement(NumberControl3, { min: 0, shouldForceInt: true }))), /* @__PURE__ */ React50.createElement(StylesFieldLayout, { label: __27("Shrink", "elementor") }, /* @__PURE__ */ React50.createElement(PropKeyProvider3, { bind: "flexShrink" }, /* @__PURE__ */ React50.createElement(NumberControl3, { min: 0, shouldForceInt: true }))), /* @__PURE__ */ React50.createElement(StylesFieldLayout, { label: __27("Basis", "elementor"), ref: flexBasisRowRef }, /* @__PURE__ */ React50.createElement(PropKeyProvider3, { bind: "flexBasis" }, /* @__PURE__ */ React50.createElement(SizeControl3, { extendedOptions: ["auto"], anchorRef: flexBasisRowRef })))));
4195
4262
  };
4196
4263
  var getActiveGroup = ({
4197
4264
  grow,
@@ -4215,34 +4282,34 @@ var getActiveGroup = ({
4215
4282
  };
4216
4283
 
4217
4284
  // src/components/style-sections/layout-section/gap-control-field.tsx
4218
- import * as React49 from "react";
4285
+ import * as React51 from "react";
4219
4286
  import { GapControl } from "@elementor/editor-controls";
4220
- import { __ as __27 } from "@wordpress/i18n";
4221
- var GAPS_LABEL = __27("Gaps", "elementor");
4287
+ import { __ as __28 } from "@wordpress/i18n";
4288
+ var GAPS_LABEL = __28("Gaps", "elementor");
4222
4289
  var GapControlField = () => {
4223
- return /* @__PURE__ */ React49.createElement(StylesField, { bind: "gap", propDisplayName: GAPS_LABEL }, /* @__PURE__ */ React49.createElement(GapControl, { label: GAPS_LABEL }));
4290
+ return /* @__PURE__ */ React51.createElement(StylesField, { bind: "gap", propDisplayName: GAPS_LABEL }, /* @__PURE__ */ React51.createElement(GapControl, { label: GAPS_LABEL }));
4224
4291
  };
4225
4292
 
4226
4293
  // src/components/style-sections/layout-section/grid-auto-flow-field.tsx
4227
- import * as React50 from "react";
4294
+ import * as React52 from "react";
4228
4295
  import { ControlToggleButtonGroup as ControlToggleButtonGroup3 } from "@elementor/editor-controls";
4229
4296
  import { ArrowDownSmallIcon as ArrowDownSmallIcon3, ArrowRightIcon as ArrowRightIcon2, LayoutDashboardIcon } from "@elementor/icons";
4230
- import { Grid as Grid3, ToggleButton, Tooltip, withDirection as withDirection7 } from "@elementor/ui";
4231
- import { __ as __28 } from "@wordpress/i18n";
4232
- var AUTO_FLOW_LABEL = __28("Auto flow", "elementor");
4233
- var DENSE_LABEL = __28("Dense", "elementor");
4297
+ import { Grid as Grid3, ToggleButton, Tooltip as Tooltip3, withDirection as withDirection7 } from "@elementor/ui";
4298
+ import { __ as __29 } from "@wordpress/i18n";
4299
+ var AUTO_FLOW_LABEL = __29("Auto flow", "elementor");
4300
+ var DENSE_LABEL = __29("Dense", "elementor");
4234
4301
  var StartIcon4 = withDirection7(ArrowRightIcon2);
4235
4302
  var directionOptions = [
4236
4303
  {
4237
4304
  value: "row",
4238
- label: __28("Row", "elementor"),
4239
- renderContent: ({ size }) => /* @__PURE__ */ React50.createElement(StartIcon4, { fontSize: size }),
4305
+ label: __29("Row", "elementor"),
4306
+ renderContent: ({ size }) => /* @__PURE__ */ React52.createElement(StartIcon4, { fontSize: size }),
4240
4307
  showTooltip: true
4241
4308
  },
4242
4309
  {
4243
4310
  value: "column",
4244
- label: __28("Column", "elementor"),
4245
- renderContent: ({ size }) => /* @__PURE__ */ React50.createElement(ArrowDownSmallIcon3, { fontSize: size }),
4311
+ label: __29("Column", "elementor"),
4312
+ renderContent: ({ size }) => /* @__PURE__ */ React52.createElement(ArrowDownSmallIcon3, { fontSize: size }),
4246
4313
  showTooltip: true
4247
4314
  }
4248
4315
  ];
@@ -4271,7 +4338,7 @@ var GridAutoFlowFieldContent = () => {
4271
4338
  const handleDenseToggle = () => {
4272
4339
  setValue({ $$type: "string", value: composeAutoFlow(direction, !dense) });
4273
4340
  };
4274
- return /* @__PURE__ */ React50.createElement(StylesFieldLayout, { label: AUTO_FLOW_LABEL }, /* @__PURE__ */ React50.createElement(Grid3, { container: true, gap: 1, flexWrap: "nowrap", alignItems: "center", justifyContent: "flex-end" }, /* @__PURE__ */ React50.createElement(Grid3, { item: true, sx: { width: 64, maxWidth: "100%" } }, /* @__PURE__ */ React50.createElement(
4341
+ return /* @__PURE__ */ React52.createElement(StylesFieldLayout, { label: AUTO_FLOW_LABEL }, /* @__PURE__ */ React52.createElement(Grid3, { container: true, gap: 1, flexWrap: "nowrap", alignItems: "center", justifyContent: "flex-end" }, /* @__PURE__ */ React52.createElement(Grid3, { item: true, sx: { width: 64, maxWidth: "100%" } }, /* @__PURE__ */ React52.createElement(
4275
4342
  ControlToggleButtonGroup3,
4276
4343
  {
4277
4344
  items: directionOptions,
@@ -4280,7 +4347,7 @@ var GridAutoFlowFieldContent = () => {
4280
4347
  exclusive: true,
4281
4348
  fullWidth: true
4282
4349
  }
4283
- )), /* @__PURE__ */ React50.createElement(Grid3, { item: true }, /* @__PURE__ */ React50.createElement(Tooltip, { title: DENSE_LABEL, placement: "top" }, /* @__PURE__ */ React50.createElement(
4350
+ )), /* @__PURE__ */ React52.createElement(Grid3, { item: true }, /* @__PURE__ */ React52.createElement(Tooltip3, { title: DENSE_LABEL, placement: "top" }, /* @__PURE__ */ React52.createElement(
4284
4351
  ToggleButton,
4285
4352
  {
4286
4353
  value: "dense",
@@ -4289,13 +4356,59 @@ var GridAutoFlowFieldContent = () => {
4289
4356
  size: "tiny",
4290
4357
  "aria-label": DENSE_LABEL
4291
4358
  },
4292
- /* @__PURE__ */ React50.createElement(LayoutDashboardIcon, { fontSize: "tiny" })
4359
+ /* @__PURE__ */ React52.createElement(LayoutDashboardIcon, { fontSize: "tiny" })
4293
4360
  )))));
4294
4361
  };
4295
- var GridAutoFlowField = () => /* @__PURE__ */ React50.createElement(StylesField, { bind: "grid-auto-flow", propDisplayName: AUTO_FLOW_LABEL }, /* @__PURE__ */ React50.createElement(UiProviders, null, /* @__PURE__ */ React50.createElement(GridAutoFlowFieldContent, null)));
4362
+ var GridAutoFlowField = () => /* @__PURE__ */ React52.createElement(StylesField, { bind: "grid-auto-flow", propDisplayName: AUTO_FLOW_LABEL }, /* @__PURE__ */ React52.createElement(UiProviders, null, /* @__PURE__ */ React52.createElement(GridAutoFlowFieldContent, null)));
4363
+
4364
+ // src/components/style-sections/layout-section/grid-auto-track-fields.tsx
4365
+ import * as React53 from "react";
4366
+ import { useRef as useRef8 } from "react";
4367
+ import { SizeControl as SizeControl4 } from "@elementor/editor-controls";
4368
+ import { Stack as Stack9 } from "@elementor/ui";
4369
+ import { __ as __30 } from "@wordpress/i18n";
4370
+ var DEFAULT_UNIT = "fr";
4371
+ var AUTO_ROWS_LABEL = __30("Auto rows", "elementor");
4372
+ var AUTO_COLUMNS_LABEL = __30("Auto columns", "elementor");
4373
+ var AUTO_ROWS_TOOLTIP = __30(
4374
+ "Set the size for new rows created automatically when content exceeds the defined grid.",
4375
+ "elementor"
4376
+ );
4377
+ var AUTO_COLUMNS_TOOLTIP = __30(
4378
+ "Set the size for new columns created automatically when content exceeds the defined grid.",
4379
+ "elementor"
4380
+ );
4381
+ var GridAutoTrackField = ({ bind, infoTooltip, label, rowRef }) => /* @__PURE__ */ React53.createElement(StylesField, { bind, propDisplayName: label }, /* @__PURE__ */ React53.createElement(StylesFieldLayout, { infoTooltip, label, ref: rowRef }, /* @__PURE__ */ React53.createElement(
4382
+ SizeControl4,
4383
+ {
4384
+ enablePropTypeUnits: true,
4385
+ defaultUnit: DEFAULT_UNIT,
4386
+ anchorRef: rowRef
4387
+ }
4388
+ )));
4389
+ var GridAutoTrackFields = () => {
4390
+ const rowRef = useRef8(null);
4391
+ return /* @__PURE__ */ React53.createElement(Stack9, { gap: 2, pt: 2, ref: rowRef }, /* @__PURE__ */ React53.createElement(
4392
+ GridAutoTrackField,
4393
+ {
4394
+ bind: "grid-auto-rows",
4395
+ infoTooltip: AUTO_ROWS_TOOLTIP,
4396
+ label: AUTO_ROWS_LABEL,
4397
+ rowRef
4398
+ }
4399
+ ), /* @__PURE__ */ React53.createElement(
4400
+ GridAutoTrackField,
4401
+ {
4402
+ bind: "grid-auto-columns",
4403
+ infoTooltip: AUTO_COLUMNS_TOOLTIP,
4404
+ label: AUTO_COLUMNS_LABEL,
4405
+ rowRef
4406
+ }
4407
+ ));
4408
+ };
4296
4409
 
4297
4410
  // src/components/style-sections/layout-section/grid-justify-items-field.tsx
4298
- import * as React51 from "react";
4411
+ import * as React54 from "react";
4299
4412
  import { ToggleControl as ToggleControl8 } from "@elementor/editor-controls";
4300
4413
  import {
4301
4414
  LayoutAlignCenterIcon as CenterIcon4,
@@ -4304,53 +4417,53 @@ import {
4304
4417
  LayoutDistributeVerticalIcon as StretchIcon
4305
4418
  } from "@elementor/icons";
4306
4419
  import { withDirection as withDirection8 } from "@elementor/ui";
4307
- import { __ as __29 } from "@wordpress/i18n";
4308
- var JUSTIFY_ITEMS_LABEL = __29("Justify items", "elementor");
4420
+ import { __ as __31 } from "@wordpress/i18n";
4421
+ var JUSTIFY_ITEMS_LABEL = __31("Justify items", "elementor");
4309
4422
  var StartIcon5 = withDirection8(LayoutAlignLeftIcon3);
4310
4423
  var EndIcon4 = withDirection8(LayoutAlignRightIcon3);
4311
4424
  var options4 = [
4312
4425
  {
4313
4426
  value: "start",
4314
- label: __29("Start", "elementor"),
4315
- renderContent: ({ size }) => /* @__PURE__ */ React51.createElement(StartIcon5, { fontSize: size }),
4427
+ label: __31("Start", "elementor"),
4428
+ renderContent: ({ size }) => /* @__PURE__ */ React54.createElement(StartIcon5, { fontSize: size }),
4316
4429
  showTooltip: true
4317
4430
  },
4318
4431
  {
4319
4432
  value: "center",
4320
- label: __29("Center", "elementor"),
4321
- renderContent: ({ size }) => /* @__PURE__ */ React51.createElement(CenterIcon4, { fontSize: size }),
4433
+ label: __31("Center", "elementor"),
4434
+ renderContent: ({ size }) => /* @__PURE__ */ React54.createElement(CenterIcon4, { fontSize: size }),
4322
4435
  showTooltip: true
4323
4436
  },
4324
4437
  {
4325
4438
  value: "end",
4326
- label: __29("End", "elementor"),
4327
- renderContent: ({ size }) => /* @__PURE__ */ React51.createElement(EndIcon4, { fontSize: size }),
4439
+ label: __31("End", "elementor"),
4440
+ renderContent: ({ size }) => /* @__PURE__ */ React54.createElement(EndIcon4, { fontSize: size }),
4328
4441
  showTooltip: true
4329
4442
  },
4330
4443
  {
4331
4444
  value: "stretch",
4332
- label: __29("Stretch", "elementor"),
4333
- renderContent: ({ size }) => /* @__PURE__ */ React51.createElement(StretchIcon, { fontSize: size }),
4445
+ label: __31("Stretch", "elementor"),
4446
+ renderContent: ({ size }) => /* @__PURE__ */ React54.createElement(StretchIcon, { fontSize: size }),
4334
4447
  showTooltip: true
4335
4448
  }
4336
4449
  ];
4337
- var GridJustifyItemsField = () => /* @__PURE__ */ React51.createElement(StylesField, { bind: "justify-items", propDisplayName: JUSTIFY_ITEMS_LABEL }, /* @__PURE__ */ React51.createElement(UiProviders, null, /* @__PURE__ */ React51.createElement(StylesFieldLayout, { label: JUSTIFY_ITEMS_LABEL }, /* @__PURE__ */ React51.createElement(ToggleControl8, { options: options4 }))));
4450
+ var GridJustifyItemsField = () => /* @__PURE__ */ React54.createElement(StylesField, { bind: "justify-items", propDisplayName: JUSTIFY_ITEMS_LABEL }, /* @__PURE__ */ React54.createElement(UiProviders, null, /* @__PURE__ */ React54.createElement(StylesFieldLayout, { label: JUSTIFY_ITEMS_LABEL }, /* @__PURE__ */ React54.createElement(ToggleControl8, { options: options4 }))));
4338
4451
 
4339
4452
  // src/components/style-sections/layout-section/grid-outline-field.tsx
4340
- import * as React52 from "react";
4453
+ import * as React55 from "react";
4341
4454
  import { SwitchControl as SwitchControl2 } from "@elementor/editor-controls";
4342
- import { __ as __30 } from "@wordpress/i18n";
4343
- var GRID_OUTLINE_LABEL = __30("Show Grid Outline", "elementor");
4455
+ import { __ as __32 } from "@wordpress/i18n";
4456
+ var GRID_OUTLINE_LABEL = __32("Show Grid Outline", "elementor");
4344
4457
  var GridOutlineField = () => {
4345
- return /* @__PURE__ */ React52.createElement(SettingsField, { bind: "grid_outline", propDisplayName: GRID_OUTLINE_LABEL }, /* @__PURE__ */ React52.createElement(StylesFieldLayout, { label: GRID_OUTLINE_LABEL }, /* @__PURE__ */ React52.createElement(SwitchControl2, null)));
4458
+ return /* @__PURE__ */ React55.createElement(SettingsField, { bind: "grid_outline", propDisplayName: GRID_OUTLINE_LABEL }, /* @__PURE__ */ React55.createElement(StylesFieldLayout, { label: GRID_OUTLINE_LABEL }, /* @__PURE__ */ React55.createElement(SwitchControl2, null)));
4346
4459
  };
4347
4460
 
4348
4461
  // src/components/style-sections/layout-section/grid-size-field.tsx
4349
- import * as React53 from "react";
4350
- import { useRef as useRef8 } from "react";
4462
+ import * as React56 from "react";
4463
+ import { useRef as useRef9 } from "react";
4351
4464
  import { ControlActions, createControl, SizeComponent, useBoundProp as useBoundProp4 } from "@elementor/editor-controls";
4352
4465
  import { Grid as Grid4 } from "@elementor/ui";
4353
- import { __ as __31 } from "@wordpress/i18n";
4466
+ import { __ as __33 } from "@wordpress/i18n";
4354
4467
 
4355
4468
  // src/components/style-sections/layout-section/utils/grid-track-value.ts
4356
4469
  import {
@@ -4447,8 +4560,8 @@ var unitOf = (v, fallback = FR) => {
4447
4560
  };
4448
4561
 
4449
4562
  // src/components/style-sections/layout-section/grid-size-field.tsx
4450
- var SizeFieldWrapper = ({ children }) => /* @__PURE__ */ React53.createElement(ControlActions, null, children);
4451
- var GridTrackSizeInput = createControl((props) => /* @__PURE__ */ React53.createElement(
4563
+ var SizeFieldWrapper = ({ children }) => /* @__PURE__ */ React56.createElement(ControlActions, null, children);
4564
+ var GridTrackSizeInput = createControl((props) => /* @__PURE__ */ React56.createElement(
4452
4565
  SizeComponent,
4453
4566
  {
4454
4567
  units: UNITS,
@@ -4468,7 +4581,7 @@ var GridTrackFieldContent = ({ cssProp, label }) => {
4468
4581
  history: { propDisplayName: label }
4469
4582
  });
4470
4583
  const { placeholder: inheritedPlaceholder } = useBoundProp4();
4471
- const anchorRef = useRef8(null);
4584
+ const anchorRef = useRef9(null);
4472
4585
  const local = parseValue(value);
4473
4586
  const inherited = parseValue(inheritedPlaceholder);
4474
4587
  const displayValue = local.kind !== "empty" ? toSizeInput(local) : toSizeInput(EMPTY, unitOf(inherited));
@@ -4480,7 +4593,7 @@ var GridTrackFieldContent = ({ cssProp, label }) => {
4480
4593
  }
4481
4594
  setValue(toPropValue(next));
4482
4595
  };
4483
- return /* @__PURE__ */ React53.createElement(StylesFieldLayout, { label, direction: "column" }, /* @__PURE__ */ React53.createElement("div", { ref: anchorRef }, /* @__PURE__ */ React53.createElement(
4596
+ return /* @__PURE__ */ React56.createElement(StylesFieldLayout, { label, direction: "column" }, /* @__PURE__ */ React56.createElement("div", { ref: anchorRef }, /* @__PURE__ */ React56.createElement(
4484
4597
  GridTrackSizeInput,
4485
4598
  {
4486
4599
  value: displayValue,
@@ -4490,22 +4603,22 @@ var GridTrackFieldContent = ({ cssProp, label }) => {
4490
4603
  }
4491
4604
  )));
4492
4605
  };
4493
- var GridTrackField = ({ cssProp, label }) => /* @__PURE__ */ React53.createElement(UiProviders, null, /* @__PURE__ */ React53.createElement(StylesField, { bind: cssProp, propDisplayName: label }, /* @__PURE__ */ React53.createElement(GridTrackFieldContent, { cssProp, label })));
4494
- var GridSizeFields = () => /* @__PURE__ */ React53.createElement(Grid4, { container: true, gap: 2, flexWrap: "nowrap" }, /* @__PURE__ */ React53.createElement(Grid4, { item: true, xs: 6 }, /* @__PURE__ */ React53.createElement(GridTrackField, { cssProp: "grid-template-columns", label: __31("Columns", "elementor") })), /* @__PURE__ */ React53.createElement(Grid4, { item: true, xs: 6 }, /* @__PURE__ */ React53.createElement(GridTrackField, { cssProp: "grid-template-rows", label: __31("Rows", "elementor") })));
4606
+ var GridTrackField = ({ cssProp, label }) => /* @__PURE__ */ React56.createElement(UiProviders, null, /* @__PURE__ */ React56.createElement(StylesField, { bind: cssProp, propDisplayName: label }, /* @__PURE__ */ React56.createElement(GridTrackFieldContent, { cssProp, label })));
4607
+ var GridSizeFields = () => /* @__PURE__ */ React56.createElement(Grid4, { container: true, gap: 2, flexWrap: "nowrap" }, /* @__PURE__ */ React56.createElement(Grid4, { item: true, xs: 6 }, /* @__PURE__ */ React56.createElement(GridTrackField, { cssProp: "grid-template-columns", label: __33("Columns", "elementor") })), /* @__PURE__ */ React56.createElement(Grid4, { item: true, xs: 6 }, /* @__PURE__ */ React56.createElement(GridTrackField, { cssProp: "grid-template-rows", label: __33("Rows", "elementor") })));
4495
4608
 
4496
4609
  // src/components/style-sections/layout-section/grid-span-field.tsx
4497
- import * as React54 from "react";
4610
+ import * as React57 from "react";
4498
4611
  import { GridSpanControl } from "@elementor/editor-controls";
4499
4612
  import { Grid as Grid5 } from "@elementor/ui";
4500
- import { __ as __32 } from "@wordpress/i18n";
4613
+ import { __ as __34 } from "@wordpress/i18n";
4501
4614
  var GridSpanFieldContent = ({ label }) => {
4502
- return /* @__PURE__ */ React54.createElement(StylesFieldLayout, { label, direction: "column" }, /* @__PURE__ */ React54.createElement(GridSpanControl, null));
4615
+ return /* @__PURE__ */ React57.createElement(StylesFieldLayout, { label, direction: "column" }, /* @__PURE__ */ React57.createElement(GridSpanControl, null));
4503
4616
  };
4504
- var GridSpanField = ({ cssProp, label }) => /* @__PURE__ */ React54.createElement(StylesField, { bind: cssProp, propDisplayName: label }, /* @__PURE__ */ React54.createElement(UiProviders, null, /* @__PURE__ */ React54.createElement(GridSpanFieldContent, { cssProp, label })));
4505
- var GridSpanFields = () => /* @__PURE__ */ React54.createElement(Grid5, { container: true, gap: 2, flexWrap: "nowrap" }, /* @__PURE__ */ React54.createElement(Grid5, { item: true, xs: 6 }, /* @__PURE__ */ React54.createElement(GridSpanField, { cssProp: "grid-column", label: __32("Grid column", "elementor") })), /* @__PURE__ */ React54.createElement(Grid5, { item: true, xs: 6 }, /* @__PURE__ */ React54.createElement(GridSpanField, { cssProp: "grid-row", label: __32("Grid row", "elementor") })));
4617
+ var GridSpanField = ({ cssProp, label }) => /* @__PURE__ */ React57.createElement(StylesField, { bind: cssProp, propDisplayName: label }, /* @__PURE__ */ React57.createElement(UiProviders, null, /* @__PURE__ */ React57.createElement(GridSpanFieldContent, { cssProp, label })));
4618
+ var GridSpanFields = () => /* @__PURE__ */ React57.createElement(Grid5, { container: true, gap: 2, flexWrap: "nowrap" }, /* @__PURE__ */ React57.createElement(Grid5, { item: true, xs: 6 }, /* @__PURE__ */ React57.createElement(GridSpanField, { cssProp: "grid-column", label: __34("Grid column", "elementor") })), /* @__PURE__ */ React57.createElement(Grid5, { item: true, xs: 6 }, /* @__PURE__ */ React57.createElement(GridSpanField, { cssProp: "grid-row", label: __34("Grid row", "elementor") })));
4506
4619
 
4507
4620
  // src/components/style-sections/layout-section/justify-content-field.tsx
4508
- import * as React55 from "react";
4621
+ import * as React58 from "react";
4509
4622
  import { ToggleControl as ToggleControl9 } from "@elementor/editor-controls";
4510
4623
  import {
4511
4624
  JustifyBottomIcon as JustifyBottomIcon3,
@@ -4516,8 +4629,8 @@ import {
4516
4629
  JustifyTopIcon as JustifyTopIcon3
4517
4630
  } from "@elementor/icons";
4518
4631
  import { withDirection as withDirection9 } from "@elementor/ui";
4519
- import { __ as __33 } from "@wordpress/i18n";
4520
- var JUSTIFY_CONTENT_LABEL = __33("Justify content", "elementor");
4632
+ import { __ as __35 } from "@wordpress/i18n";
4633
+ var JUSTIFY_CONTENT_LABEL = __35("Justify content", "elementor");
4521
4634
  var StartIcon6 = withDirection9(JustifyTopIcon3);
4522
4635
  var EndIcon5 = withDirection9(JustifyBottomIcon3);
4523
4636
  var iconProps4 = {
@@ -4527,76 +4640,76 @@ var iconProps4 = {
4527
4640
  var options5 = [
4528
4641
  {
4529
4642
  value: "flex-start",
4530
- label: __33("Start", "elementor"),
4531
- renderContent: ({ size }) => /* @__PURE__ */ React55.createElement(RotatedIcon, { icon: StartIcon6, size, ...iconProps4 }),
4643
+ label: __35("Start", "elementor"),
4644
+ renderContent: ({ size }) => /* @__PURE__ */ React58.createElement(RotatedIcon, { icon: StartIcon6, size, ...iconProps4 }),
4532
4645
  showTooltip: true
4533
4646
  },
4534
4647
  {
4535
4648
  value: "center",
4536
- label: __33("Center", "elementor"),
4537
- renderContent: ({ size }) => /* @__PURE__ */ React55.createElement(RotatedIcon, { icon: CenterIcon5, size, ...iconProps4 }),
4649
+ label: __35("Center", "elementor"),
4650
+ renderContent: ({ size }) => /* @__PURE__ */ React58.createElement(RotatedIcon, { icon: CenterIcon5, size, ...iconProps4 }),
4538
4651
  showTooltip: true
4539
4652
  },
4540
4653
  {
4541
4654
  value: "flex-end",
4542
- label: __33("End", "elementor"),
4543
- renderContent: ({ size }) => /* @__PURE__ */ React55.createElement(RotatedIcon, { icon: EndIcon5, size, ...iconProps4 }),
4655
+ label: __35("End", "elementor"),
4656
+ renderContent: ({ size }) => /* @__PURE__ */ React58.createElement(RotatedIcon, { icon: EndIcon5, size, ...iconProps4 }),
4544
4657
  showTooltip: true
4545
4658
  },
4546
4659
  {
4547
4660
  value: "space-between",
4548
- label: __33("Space between", "elementor"),
4549
- renderContent: ({ size }) => /* @__PURE__ */ React55.createElement(RotatedIcon, { icon: BetweenIcon2, size, ...iconProps4 }),
4661
+ label: __35("Space between", "elementor"),
4662
+ renderContent: ({ size }) => /* @__PURE__ */ React58.createElement(RotatedIcon, { icon: BetweenIcon2, size, ...iconProps4 }),
4550
4663
  showTooltip: true
4551
4664
  },
4552
4665
  {
4553
4666
  value: "space-around",
4554
- label: __33("Space around", "elementor"),
4555
- renderContent: ({ size }) => /* @__PURE__ */ React55.createElement(RotatedIcon, { icon: AroundIcon2, size, ...iconProps4 }),
4667
+ label: __35("Space around", "elementor"),
4668
+ renderContent: ({ size }) => /* @__PURE__ */ React58.createElement(RotatedIcon, { icon: AroundIcon2, size, ...iconProps4 }),
4556
4669
  showTooltip: true
4557
4670
  },
4558
4671
  {
4559
4672
  value: "space-evenly",
4560
- label: __33("Space evenly", "elementor"),
4561
- renderContent: ({ size }) => /* @__PURE__ */ React55.createElement(RotatedIcon, { icon: EvenlyIcon2, size, ...iconProps4 }),
4673
+ label: __35("Space evenly", "elementor"),
4674
+ renderContent: ({ size }) => /* @__PURE__ */ React58.createElement(RotatedIcon, { icon: EvenlyIcon2, size, ...iconProps4 }),
4562
4675
  showTooltip: true
4563
4676
  }
4564
4677
  ];
4565
- var JustifyContentField = () => /* @__PURE__ */ React55.createElement(StylesField, { bind: "justify-content", propDisplayName: JUSTIFY_CONTENT_LABEL }, /* @__PURE__ */ React55.createElement(UiProviders, null, /* @__PURE__ */ React55.createElement(StylesFieldLayout, { label: JUSTIFY_CONTENT_LABEL, direction: "column" }, /* @__PURE__ */ React55.createElement(ToggleControl9, { options: options5, fullWidth: true }))));
4678
+ var JustifyContentField = () => /* @__PURE__ */ React58.createElement(StylesField, { bind: "justify-content", propDisplayName: JUSTIFY_CONTENT_LABEL }, /* @__PURE__ */ React58.createElement(UiProviders, null, /* @__PURE__ */ React58.createElement(StylesFieldLayout, { label: JUSTIFY_CONTENT_LABEL, direction: "column" }, /* @__PURE__ */ React58.createElement(ToggleControl9, { options: options5, fullWidth: true }))));
4566
4679
 
4567
4680
  // src/components/style-sections/layout-section/wrap-field.tsx
4568
- import * as React56 from "react";
4681
+ import * as React59 from "react";
4569
4682
  import { ToggleControl as ToggleControl10 } from "@elementor/editor-controls";
4570
4683
  import { ArrowBackIcon, ArrowForwardIcon, ArrowRightIcon as ArrowRightIcon3 } from "@elementor/icons";
4571
- import { __ as __34 } from "@wordpress/i18n";
4572
- var FLEX_WRAP_LABEL = __34("Wrap", "elementor");
4684
+ import { __ as __36 } from "@wordpress/i18n";
4685
+ var FLEX_WRAP_LABEL = __36("Wrap", "elementor");
4573
4686
  var options6 = [
4574
4687
  {
4575
4688
  value: "nowrap",
4576
- label: __34("No wrap", "elementor"),
4577
- renderContent: ({ size }) => /* @__PURE__ */ React56.createElement(ArrowRightIcon3, { fontSize: size }),
4689
+ label: __36("No wrap", "elementor"),
4690
+ renderContent: ({ size }) => /* @__PURE__ */ React59.createElement(ArrowRightIcon3, { fontSize: size }),
4578
4691
  showTooltip: true
4579
4692
  },
4580
4693
  {
4581
4694
  value: "wrap",
4582
- label: __34("Wrap", "elementor"),
4583
- renderContent: ({ size }) => /* @__PURE__ */ React56.createElement(ArrowBackIcon, { fontSize: size }),
4695
+ label: __36("Wrap", "elementor"),
4696
+ renderContent: ({ size }) => /* @__PURE__ */ React59.createElement(ArrowBackIcon, { fontSize: size }),
4584
4697
  showTooltip: true
4585
4698
  },
4586
4699
  {
4587
4700
  value: "wrap-reverse",
4588
- label: __34("Reversed wrap", "elementor"),
4589
- renderContent: ({ size }) => /* @__PURE__ */ React56.createElement(ArrowForwardIcon, { fontSize: size }),
4701
+ label: __36("Reversed wrap", "elementor"),
4702
+ renderContent: ({ size }) => /* @__PURE__ */ React59.createElement(ArrowForwardIcon, { fontSize: size }),
4590
4703
  showTooltip: true
4591
4704
  }
4592
4705
  ];
4593
4706
  var WrapField = () => {
4594
- return /* @__PURE__ */ React56.createElement(StylesField, { bind: "flex-wrap", propDisplayName: FLEX_WRAP_LABEL }, /* @__PURE__ */ React56.createElement(UiProviders, null, /* @__PURE__ */ React56.createElement(StylesFieldLayout, { label: FLEX_WRAP_LABEL }, /* @__PURE__ */ React56.createElement(ToggleControl10, { options: options6 }))));
4707
+ return /* @__PURE__ */ React59.createElement(StylesField, { bind: "flex-wrap", propDisplayName: FLEX_WRAP_LABEL }, /* @__PURE__ */ React59.createElement(UiProviders, null, /* @__PURE__ */ React59.createElement(StylesFieldLayout, { label: FLEX_WRAP_LABEL }, /* @__PURE__ */ React59.createElement(ToggleControl10, { options: options6 }))));
4595
4708
  };
4596
4709
 
4597
4710
  // src/components/style-sections/layout-section/layout-section.tsx
4598
- var DISPLAY_LABEL2 = __35("Display", "elementor");
4599
- var FLEX_WRAP_LABEL2 = __35("Flex wrap", "elementor");
4711
+ var DISPLAY_LABEL2 = __37("Display", "elementor");
4712
+ var FLEX_WRAP_LABEL2 = __37("Flex wrap", "elementor");
4600
4713
  var DEFAULT_PARENT_FLOW_DIRECTION = "row";
4601
4714
  var LayoutSection = () => {
4602
4715
  const { value: display } = useStylesField("display", {
@@ -4618,17 +4731,17 @@ var LayoutSection = () => {
4618
4731
  }
4619
4732
  return DEFAULT_PARENT_FLOW_DIRECTION;
4620
4733
  };
4621
- return /* @__PURE__ */ React57.createElement(SectionContent, null, /* @__PURE__ */ React57.createElement(DisplayField, null), isDisplayFlex && /* @__PURE__ */ React57.createElement(FlexFields, null), "flex" === parentStyle?.display && /* @__PURE__ */ React57.createElement(FlexChildFields, { parentStyleDirection: getParentStyleDirection() }), isGridExperimentActive && isDisplayGrid && /* @__PURE__ */ React57.createElement(GridFields, null), isGridExperimentActive && "grid" === parentStyle?.display && /* @__PURE__ */ React57.createElement(GridChildFields, { parentStyleDirection: getParentStyleDirection() }));
4734
+ return /* @__PURE__ */ React60.createElement(SectionContent, null, /* @__PURE__ */ React60.createElement(DisplayField, null), isDisplayFlex && /* @__PURE__ */ React60.createElement(FlexFields, null), "flex" === parentStyle?.display && /* @__PURE__ */ React60.createElement(FlexChildFields, { parentStyleDirection: getParentStyleDirection() }), isGridExperimentActive && isDisplayGrid && /* @__PURE__ */ React60.createElement(GridFields, null), isGridExperimentActive && "grid" === parentStyle?.display && /* @__PURE__ */ React60.createElement(GridChildFields, { parentStyleDirection: getParentStyleDirection() }));
4622
4735
  };
4623
4736
  var FlexFields = () => {
4624
4737
  const { value: flexWrap } = useStylesField("flex-wrap", {
4625
4738
  history: { propDisplayName: FLEX_WRAP_LABEL2 }
4626
4739
  });
4627
- return /* @__PURE__ */ React57.createElement(React57.Fragment, null, /* @__PURE__ */ React57.createElement(FlexDirectionField, null), /* @__PURE__ */ React57.createElement(JustifyContentField, null), /* @__PURE__ */ React57.createElement(AlignItemsField, null), /* @__PURE__ */ React57.createElement(PanelDivider, null), /* @__PURE__ */ React57.createElement(GapControlField, null), /* @__PURE__ */ React57.createElement(WrapField, null), ["wrap", "wrap-reverse"].includes(flexWrap?.value) && /* @__PURE__ */ React57.createElement(AlignContentField, null));
4740
+ return /* @__PURE__ */ React60.createElement(React60.Fragment, null, /* @__PURE__ */ React60.createElement(FlexDirectionField, null), /* @__PURE__ */ React60.createElement(JustifyContentField, null), /* @__PURE__ */ React60.createElement(AlignItemsField, null), /* @__PURE__ */ React60.createElement(PanelDivider, null), /* @__PURE__ */ React60.createElement(GapControlField, null), /* @__PURE__ */ React60.createElement(WrapField, null), ["wrap", "wrap-reverse"].includes(flexWrap?.value) && /* @__PURE__ */ React60.createElement(AlignContentField, null));
4628
4741
  };
4629
- var GridFields = () => /* @__PURE__ */ React57.createElement(React57.Fragment, null, /* @__PURE__ */ React57.createElement(GridOutlineField, null), /* @__PURE__ */ React57.createElement(GridSizeFields, null), /* @__PURE__ */ React57.createElement(GridAutoFlowField, null), /* @__PURE__ */ React57.createElement(PanelDivider, null), /* @__PURE__ */ React57.createElement(GapControlField, null), /* @__PURE__ */ React57.createElement(PanelDivider, null), /* @__PURE__ */ React57.createElement(GridJustifyItemsField, null), /* @__PURE__ */ React57.createElement(AlignItemsField, null));
4630
- var FlexChildFields = ({ parentStyleDirection }) => /* @__PURE__ */ React57.createElement(React57.Fragment, null, /* @__PURE__ */ React57.createElement(PanelDivider, null), /* @__PURE__ */ React57.createElement(ControlFormLabel2, null, __35("Flex child", "elementor")), /* @__PURE__ */ React57.createElement(AlignSelfChild, { parentStyleDirection }), /* @__PURE__ */ React57.createElement(FlexOrderField, null), /* @__PURE__ */ React57.createElement(FlexSizeField, null));
4631
- var GridChildFields = ({ parentStyleDirection }) => /* @__PURE__ */ React57.createElement(React57.Fragment, null, /* @__PURE__ */ React57.createElement(PanelDivider, null), /* @__PURE__ */ React57.createElement(ControlFormLabel2, null, __35("Grid child", "elementor")), /* @__PURE__ */ React57.createElement(GridSpanFields, null), /* @__PURE__ */ React57.createElement(AlignSelfGridChild, { parentStyleDirection }), /* @__PURE__ */ React57.createElement(FlexOrderField, null));
4742
+ var GridFields = () => /* @__PURE__ */ React60.createElement(React60.Fragment, null, /* @__PURE__ */ React60.createElement(GridOutlineField, null), /* @__PURE__ */ React60.createElement(GridSizeFields, null), /* @__PURE__ */ React60.createElement(GridAutoFlowField, null), /* @__PURE__ */ React60.createElement(StyleTabCollapsibleContent, { fields: ["grid-auto-rows", "grid-auto-columns"] }, /* @__PURE__ */ React60.createElement(GridAutoTrackFields, null)), /* @__PURE__ */ React60.createElement(PanelDivider, null), /* @__PURE__ */ React60.createElement(GapControlField, null), /* @__PURE__ */ React60.createElement(PanelDivider, null), /* @__PURE__ */ React60.createElement(GridJustifyItemsField, null), /* @__PURE__ */ React60.createElement(AlignItemsField, null));
4743
+ var FlexChildFields = ({ parentStyleDirection }) => /* @__PURE__ */ React60.createElement(React60.Fragment, null, /* @__PURE__ */ React60.createElement(PanelDivider, null), /* @__PURE__ */ React60.createElement(ControlFormLabel2, null, __37("Flex child", "elementor")), /* @__PURE__ */ React60.createElement(AlignSelfChild, { parentStyleDirection }), /* @__PURE__ */ React60.createElement(FlexOrderField, null), /* @__PURE__ */ React60.createElement(FlexSizeField, null));
4744
+ var GridChildFields = ({ parentStyleDirection }) => /* @__PURE__ */ React60.createElement(React60.Fragment, null, /* @__PURE__ */ React60.createElement(PanelDivider, null), /* @__PURE__ */ React60.createElement(ControlFormLabel2, null, __37("Grid child", "elementor")), /* @__PURE__ */ React60.createElement(GridSpanFields, null), /* @__PURE__ */ React60.createElement(AlignSelfGridChild, { parentStyleDirection }), /* @__PURE__ */ React60.createElement(FlexOrderField, null));
4632
4745
  var shouldDisplayFlexFields = (display, local) => {
4633
4746
  const value = display?.value ?? local?.value;
4634
4747
  if (!value) {
@@ -4638,40 +4751,40 @@ var shouldDisplayFlexFields = (display, local) => {
4638
4751
  };
4639
4752
 
4640
4753
  // src/components/style-sections/position-section/position-section.tsx
4641
- import * as React62 from "react";
4642
- import { useEffect as useEffect7, useRef as useRef11 } from "react";
4754
+ import * as React65 from "react";
4755
+ import { useEffect as useEffect7, useRef as useRef12 } from "react";
4643
4756
  import { useSessionStorage as useSessionStorage4 } from "@elementor/session";
4644
4757
  import { styled as styled6 } from "@elementor/ui";
4645
- import { __ as __40 } from "@wordpress/i18n";
4758
+ import { __ as __42 } from "@wordpress/i18n";
4646
4759
 
4647
4760
  // src/components/style-sections/position-section/dimensions-field.tsx
4648
- import * as React58 from "react";
4649
- import { useRef as useRef9 } from "react";
4650
- import { SizeControl as SizeControl4 } from "@elementor/editor-controls";
4761
+ import * as React61 from "react";
4762
+ import { useRef as useRef10 } from "react";
4763
+ import { SizeControl as SizeControl5 } from "@elementor/editor-controls";
4651
4764
  import { SideBottomIcon as SideBottomIcon2, SideLeftIcon as SideLeftIcon2, SideRightIcon as SideRightIcon2, SideTopIcon as SideTopIcon2 } from "@elementor/icons";
4652
- import { Grid as Grid6, Stack as Stack8, withDirection as withDirection10 } from "@elementor/ui";
4653
- import { __ as __36 } from "@wordpress/i18n";
4765
+ import { Grid as Grid6, Stack as Stack10, withDirection as withDirection10 } from "@elementor/ui";
4766
+ import { __ as __38 } from "@wordpress/i18n";
4654
4767
  var InlineStartIcon2 = withDirection10(SideLeftIcon2);
4655
4768
  var InlineEndIcon2 = withDirection10(SideRightIcon2);
4656
4769
  var sideIcons = {
4657
- "inset-block-start": /* @__PURE__ */ React58.createElement(SideTopIcon2, { fontSize: "tiny" }),
4658
- "inset-block-end": /* @__PURE__ */ React58.createElement(SideBottomIcon2, { fontSize: "tiny" }),
4659
- "inset-inline-start": /* @__PURE__ */ React58.createElement(RotatedIcon, { icon: InlineStartIcon2, size: "tiny" }),
4660
- "inset-inline-end": /* @__PURE__ */ React58.createElement(RotatedIcon, { icon: InlineEndIcon2, size: "tiny" })
4770
+ "inset-block-start": /* @__PURE__ */ React61.createElement(SideTopIcon2, { fontSize: "tiny" }),
4771
+ "inset-block-end": /* @__PURE__ */ React61.createElement(SideBottomIcon2, { fontSize: "tiny" }),
4772
+ "inset-inline-start": /* @__PURE__ */ React61.createElement(RotatedIcon, { icon: InlineStartIcon2, size: "tiny" }),
4773
+ "inset-inline-end": /* @__PURE__ */ React61.createElement(RotatedIcon, { icon: InlineEndIcon2, size: "tiny" })
4661
4774
  };
4662
- var getInlineStartLabel = (isSiteRtl) => isSiteRtl ? __36("Right", "elementor") : __36("Left", "elementor");
4663
- var getInlineEndLabel = (isSiteRtl) => isSiteRtl ? __36("Left", "elementor") : __36("Right", "elementor");
4775
+ var getInlineStartLabel = (isSiteRtl) => isSiteRtl ? __38("Right", "elementor") : __38("Left", "elementor");
4776
+ var getInlineEndLabel = (isSiteRtl) => isSiteRtl ? __38("Left", "elementor") : __38("Right", "elementor");
4664
4777
  var DimensionsField = () => {
4665
4778
  const { isSiteRtl } = useDirection();
4666
- const rowRefs = [useRef9(null), useRef9(null)];
4667
- return /* @__PURE__ */ React58.createElement(UiProviders, null, /* @__PURE__ */ React58.createElement(Stack8, { direction: "row", gap: 2, flexWrap: "nowrap", ref: rowRefs[0] }, /* @__PURE__ */ React58.createElement(DimensionField, { side: "inset-block-start", label: __36("Top", "elementor"), rowRef: rowRefs[0] }), /* @__PURE__ */ React58.createElement(
4779
+ const rowRefs = [useRef10(null), useRef10(null)];
4780
+ return /* @__PURE__ */ React61.createElement(UiProviders, null, /* @__PURE__ */ React61.createElement(Stack10, { direction: "row", gap: 2, flexWrap: "nowrap", ref: rowRefs[0] }, /* @__PURE__ */ React61.createElement(DimensionField, { side: "inset-block-start", label: __38("Top", "elementor"), rowRef: rowRefs[0] }), /* @__PURE__ */ React61.createElement(
4668
4781
  DimensionField,
4669
4782
  {
4670
4783
  side: "inset-inline-end",
4671
4784
  label: getInlineEndLabel(isSiteRtl),
4672
4785
  rowRef: rowRefs[0]
4673
4786
  }
4674
- )), /* @__PURE__ */ React58.createElement(Stack8, { direction: "row", gap: 2, flexWrap: "nowrap", ref: rowRefs[1] }, /* @__PURE__ */ React58.createElement(DimensionField, { side: "inset-block-end", label: __36("Bottom", "elementor"), rowRef: rowRefs[1] }), /* @__PURE__ */ React58.createElement(
4787
+ )), /* @__PURE__ */ React61.createElement(Stack10, { direction: "row", gap: 2, flexWrap: "nowrap", ref: rowRefs[1] }, /* @__PURE__ */ React61.createElement(DimensionField, { side: "inset-block-end", label: __38("Bottom", "elementor"), rowRef: rowRefs[1] }), /* @__PURE__ */ React61.createElement(
4675
4788
  DimensionField,
4676
4789
  {
4677
4790
  side: "inset-inline-start",
@@ -4684,8 +4797,8 @@ var DimensionField = ({
4684
4797
  side,
4685
4798
  label,
4686
4799
  rowRef
4687
- }) => /* @__PURE__ */ React58.createElement(StylesField, { bind: side, propDisplayName: label }, /* @__PURE__ */ React58.createElement(Grid6, { container: true, gap: 0.75, alignItems: "center" }, /* @__PURE__ */ React58.createElement(Grid6, { item: true, xs: 12 }, /* @__PURE__ */ React58.createElement(ControlLabel, null, label)), /* @__PURE__ */ React58.createElement(Grid6, { item: true, xs: 12 }, /* @__PURE__ */ React58.createElement(
4688
- SizeControl4,
4800
+ }) => /* @__PURE__ */ React61.createElement(StylesField, { bind: side, propDisplayName: label }, /* @__PURE__ */ React61.createElement(Grid6, { container: true, gap: 0.75, alignItems: "center" }, /* @__PURE__ */ React61.createElement(Grid6, { item: true, xs: 12 }, /* @__PURE__ */ React61.createElement(ControlLabel, null, label)), /* @__PURE__ */ React61.createElement(Grid6, { item: true, xs: 12 }, /* @__PURE__ */ React61.createElement(
4801
+ SizeControl5,
4689
4802
  {
4690
4803
  startIcon: sideIcons[side],
4691
4804
  extendedOptions: ["auto"],
@@ -4695,47 +4808,47 @@ var DimensionField = ({
4695
4808
  ))));
4696
4809
 
4697
4810
  // src/components/style-sections/position-section/offset-field.tsx
4698
- import * as React59 from "react";
4699
- import { useRef as useRef10 } from "react";
4700
- import { SizeControl as SizeControl5 } from "@elementor/editor-controls";
4701
- import { __ as __37 } from "@wordpress/i18n";
4702
- var OFFSET_LABEL = __37("Anchor offset", "elementor");
4811
+ import * as React62 from "react";
4812
+ import { useRef as useRef11 } from "react";
4813
+ import { SizeControl as SizeControl6 } from "@elementor/editor-controls";
4814
+ import { __ as __39 } from "@wordpress/i18n";
4815
+ var OFFSET_LABEL = __39("Anchor offset", "elementor");
4703
4816
  var UNITS2 = ["px", "em", "rem", "vw", "vh"];
4704
4817
  var OffsetField = () => {
4705
- const rowRef = useRef10(null);
4706
- return /* @__PURE__ */ React59.createElement(StylesField, { bind: "scroll-margin-top", propDisplayName: OFFSET_LABEL }, /* @__PURE__ */ React59.createElement(StylesFieldLayout, { label: OFFSET_LABEL, ref: rowRef }, /* @__PURE__ */ React59.createElement(SizeControl5, { units: UNITS2, anchorRef: rowRef })));
4818
+ const rowRef = useRef11(null);
4819
+ return /* @__PURE__ */ React62.createElement(StylesField, { bind: "scroll-margin-top", propDisplayName: OFFSET_LABEL }, /* @__PURE__ */ React62.createElement(StylesFieldLayout, { label: OFFSET_LABEL, ref: rowRef }, /* @__PURE__ */ React62.createElement(SizeControl6, { units: UNITS2, anchorRef: rowRef })));
4707
4820
  };
4708
4821
 
4709
4822
  // src/components/style-sections/position-section/position-field.tsx
4710
- import * as React60 from "react";
4823
+ import * as React63 from "react";
4711
4824
  import { SelectControl as SelectControl3 } from "@elementor/editor-controls";
4712
- import { __ as __38 } from "@wordpress/i18n";
4713
- var POSITION_LABEL = __38("Position", "elementor");
4825
+ import { __ as __40 } from "@wordpress/i18n";
4826
+ var POSITION_LABEL = __40("Position", "elementor");
4714
4827
  var positionOptions = [
4715
- { label: __38("Static", "elementor"), value: "static" },
4716
- { label: __38("Relative", "elementor"), value: "relative" },
4717
- { label: __38("Absolute", "elementor"), value: "absolute" },
4718
- { label: __38("Fixed", "elementor"), value: "fixed" },
4719
- { label: __38("Sticky", "elementor"), value: "sticky" }
4828
+ { label: __40("Static", "elementor"), value: "static" },
4829
+ { label: __40("Relative", "elementor"), value: "relative" },
4830
+ { label: __40("Absolute", "elementor"), value: "absolute" },
4831
+ { label: __40("Fixed", "elementor"), value: "fixed" },
4832
+ { label: __40("Sticky", "elementor"), value: "sticky" }
4720
4833
  ];
4721
4834
  var PositionField = () => {
4722
- return /* @__PURE__ */ React60.createElement(StylesField, { bind: "position", propDisplayName: POSITION_LABEL }, /* @__PURE__ */ React60.createElement(StylesFieldLayout, { label: POSITION_LABEL }, /* @__PURE__ */ React60.createElement(SelectControl3, { options: positionOptions })));
4835
+ return /* @__PURE__ */ React63.createElement(StylesField, { bind: "position", propDisplayName: POSITION_LABEL }, /* @__PURE__ */ React63.createElement(StylesFieldLayout, { label: POSITION_LABEL }, /* @__PURE__ */ React63.createElement(SelectControl3, { options: positionOptions })));
4723
4836
  };
4724
4837
 
4725
4838
  // src/components/style-sections/position-section/z-index-field.tsx
4726
- import * as React61 from "react";
4839
+ import * as React64 from "react";
4727
4840
  import { NumberControl as NumberControl4 } from "@elementor/editor-controls";
4728
4841
  import { InfoCircleFilledIcon } from "@elementor/icons";
4729
4842
  import { Alert as Alert3, AlertTitle as AlertTitle2, Box as Box5, Infotip } from "@elementor/ui";
4730
- import { __ as __39 } from "@wordpress/i18n";
4731
- var Z_INDEX_LABEL = __39("Z-index", "elementor");
4843
+ import { __ as __41 } from "@wordpress/i18n";
4844
+ var Z_INDEX_LABEL = __41("Z-index", "elementor");
4732
4845
  var ZIndexField = ({ disabled }) => {
4733
- const StyleField = /* @__PURE__ */ React61.createElement(StylesField, { bind: "z-index", propDisplayName: Z_INDEX_LABEL }, /* @__PURE__ */ React61.createElement(StylesFieldLayout, { label: Z_INDEX_LABEL }, /* @__PURE__ */ React61.createElement(NumberControl4, { disabled })));
4734
- const content = /* @__PURE__ */ React61.createElement(Alert3, { color: "secondary", icon: /* @__PURE__ */ React61.createElement(InfoCircleFilledIcon, null), size: "small" }, /* @__PURE__ */ React61.createElement(AlertTitle2, null, __39("Z-index", "elementor")), /* @__PURE__ */ React61.createElement(Box5, { component: "span" }, __39(
4846
+ const StyleField = /* @__PURE__ */ React64.createElement(StylesField, { bind: "z-index", propDisplayName: Z_INDEX_LABEL }, /* @__PURE__ */ React64.createElement(StylesFieldLayout, { label: Z_INDEX_LABEL }, /* @__PURE__ */ React64.createElement(NumberControl4, { disabled })));
4847
+ const content = /* @__PURE__ */ React64.createElement(Alert3, { color: "secondary", icon: /* @__PURE__ */ React64.createElement(InfoCircleFilledIcon, null), size: "small" }, /* @__PURE__ */ React64.createElement(AlertTitle2, null, __41("Z-index", "elementor")), /* @__PURE__ */ React64.createElement(Box5, { component: "span" }, __41(
4735
4848
  "z-index only works on positioned elements. Change position to relative, absolute, or fixed to enable layering.",
4736
4849
  "elementor"
4737
4850
  )));
4738
- return disabled ? /* @__PURE__ */ React61.createElement(
4851
+ return disabled ? /* @__PURE__ */ React64.createElement(
4739
4852
  Infotip,
4740
4853
  {
4741
4854
  placement: "right",
@@ -4743,14 +4856,14 @@ var ZIndexField = ({ disabled }) => {
4743
4856
  color: "secondary",
4744
4857
  slotProps: { popper: { sx: { width: 300 } } }
4745
4858
  },
4746
- /* @__PURE__ */ React61.createElement(Box5, null, StyleField)
4747
- ) : /* @__PURE__ */ React61.createElement(React61.Fragment, null, StyleField);
4859
+ /* @__PURE__ */ React64.createElement(Box5, null, StyleField)
4860
+ ) : /* @__PURE__ */ React64.createElement(React64.Fragment, null, StyleField);
4748
4861
  };
4749
4862
 
4750
4863
  // src/components/style-sections/position-section/position-section.tsx
4751
4864
  var POSITION_STATIC = "static";
4752
- var POSITION_LABEL2 = __40("Position", "elementor");
4753
- var DIMENSIONS_LABEL = __40("Dimensions", "elementor");
4865
+ var POSITION_LABEL2 = __42("Position", "elementor");
4866
+ var DIMENSIONS_LABEL = __42("Dimensions", "elementor");
4754
4867
  var DEPENDENT_PROP_NAMES = [
4755
4868
  "inset-block-start",
4756
4869
  "inset-block-end",
@@ -4760,7 +4873,7 @@ var DEPENDENT_PROP_NAMES = [
4760
4873
  ];
4761
4874
  var PositionSection = () => {
4762
4875
  const { value: position } = useStylesField("position", withHistoryLabel(POSITION_LABEL2));
4763
- const positionPrevRef = useRef11(position);
4876
+ const positionPrevRef = useRef12(position);
4764
4877
  const { values: dependentValues, setValues: setDependentValues } = useStylesFields(DEPENDENT_PROP_NAMES);
4765
4878
  const [savedDependentValues, saveToHistory, clearHistory] = usePersistDimensions();
4766
4879
  useEffect7(() => {
@@ -4776,7 +4889,7 @@ var PositionSection = () => {
4776
4889
  }
4777
4890
  positionPrevRef.current = position;
4778
4891
  }, [position?.value]);
4779
- return /* @__PURE__ */ React62.createElement(StyledSectionContent, null, /* @__PURE__ */ React62.createElement(PositionField, null), /* @__PURE__ */ React62.createElement(DimensionsField, null), /* @__PURE__ */ React62.createElement(ZIndexField, { disabled: !position || position?.value === POSITION_STATIC }), /* @__PURE__ */ React62.createElement(PanelDivider, null), /* @__PURE__ */ React62.createElement(OffsetField, null));
4892
+ return /* @__PURE__ */ React65.createElement(StyledSectionContent, null, /* @__PURE__ */ React65.createElement(PositionField, null), /* @__PURE__ */ React65.createElement(DimensionsField, null), /* @__PURE__ */ React65.createElement(ZIndexField, { disabled: !position || position?.value === POSITION_STATIC }), /* @__PURE__ */ React65.createElement(PanelDivider, null), /* @__PURE__ */ React65.createElement(OffsetField, null));
4780
4893
  };
4781
4894
  var usePersistDimensions = () => {
4782
4895
  const { id: styleDefID, meta } = useStyle();
@@ -4826,137 +4939,56 @@ var StyledSectionContent = styled6(SectionContent, {
4826
4939
  }));
4827
4940
 
4828
4941
  // src/components/style-sections/size-section/size-section.tsx
4829
- import * as React67 from "react";
4830
- import { useRef as useRef12 } from "react";
4831
- import { AspectRatioControl, PositionControl, SizeControl as SizeControl6 } from "@elementor/editor-controls";
4832
- import { Grid as Grid7, Stack as Stack10 } from "@elementor/ui";
4833
- import { __ as __44 } from "@wordpress/i18n";
4834
-
4835
- // src/components/style-tab-collapsible-content.tsx
4836
- import * as React64 from "react";
4837
- import { CollapsibleContent } from "@elementor/editor-ui";
4838
-
4839
- // src/styles-inheritance/components/styles-inheritance-section-indicators.tsx
4840
- import * as React63 from "react";
4841
- import { isElementsStylesProvider as isElementsStylesProvider6 } from "@elementor/editor-styles-repository";
4842
- import { Stack as Stack9, Tooltip as Tooltip2 } from "@elementor/ui";
4843
- import { __ as __41 } from "@wordpress/i18n";
4844
- var StylesInheritanceSectionIndicators = ({ fields }) => {
4845
- const { id, meta, provider } = useStyle();
4846
- const snapshot = useStylesInheritanceSnapshot();
4847
- if (fields.includes("custom_css")) {
4848
- return /* @__PURE__ */ React63.createElement(CustomCssIndicator, null);
4849
- }
4850
- const snapshotFields = Object.fromEntries(
4851
- Object.entries(snapshot ?? {}).filter(([key]) => fields.includes(key))
4852
- );
4853
- const { hasValues, hasOverrides } = getIndicators(snapshotFields, id ?? "", meta);
4854
- if (!hasValues && !hasOverrides) {
4855
- return null;
4856
- }
4857
- const hasValueLabel = __41("Has effective styles", "elementor");
4858
- const hasOverridesLabel = __41("Has overridden styles", "elementor");
4859
- return /* @__PURE__ */ React63.createElement(Tooltip2, { title: __41("Has styles", "elementor"), placement: "top" }, /* @__PURE__ */ React63.createElement(Stack9, { direction: "row", sx: { "& > *": { marginInlineStart: -0.25 } }, role: "list" }, hasValues && provider && /* @__PURE__ */ React63.createElement(
4860
- StyleIndicator,
4861
- {
4862
- getColor: getStylesProviderThemeColor(provider.getKey()),
4863
- "data-variant": isElementsStylesProvider6(provider.getKey()) ? "local" : "global",
4864
- role: "listitem",
4865
- "aria-label": hasValueLabel
4866
- }
4867
- ), hasOverrides && /* @__PURE__ */ React63.createElement(
4868
- StyleIndicator,
4869
- {
4870
- isOverridden: true,
4871
- "data-variant": "overridden",
4872
- role: "listitem",
4873
- "aria-label": hasOverridesLabel
4874
- }
4875
- )));
4876
- };
4877
- function getIndicators(snapshotFields, styleId, meta) {
4878
- let hasValues = false;
4879
- let hasOverrides = false;
4880
- Object.values(snapshotFields).forEach((inheritanceChain) => {
4881
- const currentStyle = getCurrentStyleFromChain(inheritanceChain, styleId, meta);
4882
- if (!currentStyle) {
4883
- return;
4884
- }
4885
- const [actualStyle] = inheritanceChain;
4886
- if (currentStyle === actualStyle) {
4887
- hasValues = true;
4888
- } else {
4889
- hasOverrides = true;
4890
- }
4891
- });
4892
- return { hasValues, hasOverrides };
4893
- }
4894
- function getCurrentStyleFromChain(chain, styleId, meta) {
4895
- return chain.find(
4896
- ({
4897
- style: { id },
4898
- variant: {
4899
- meta: { breakpoint, state }
4900
- }
4901
- }) => id === styleId && breakpoint === meta.breakpoint && state === meta.state
4902
- );
4903
- }
4904
-
4905
- // src/components/style-tab-collapsible-content.tsx
4906
- var StyleTabCollapsibleContent = ({ fields = [], children }) => {
4907
- return /* @__PURE__ */ React64.createElement(CollapsibleContent, { titleEnd: getStylesInheritanceIndicators(fields) }, children);
4908
- };
4909
- function getStylesInheritanceIndicators(fields) {
4910
- if (fields.length === 0) {
4911
- return null;
4912
- }
4913
- return (isOpen) => !isOpen ? /* @__PURE__ */ React64.createElement(StylesInheritanceSectionIndicators, { fields }) : null;
4914
- }
4942
+ import * as React68 from "react";
4943
+ import { useRef as useRef13 } from "react";
4944
+ import { AspectRatioControl, PositionControl, SizeControl as SizeControl7 } from "@elementor/editor-controls";
4945
+ import { Grid as Grid7, Stack as Stack11 } from "@elementor/ui";
4946
+ import { __ as __45 } from "@wordpress/i18n";
4915
4947
 
4916
4948
  // src/components/style-sections/size-section/object-fit-field.tsx
4917
- import * as React65 from "react";
4949
+ import * as React66 from "react";
4918
4950
  import { SelectControl as SelectControl4 } from "@elementor/editor-controls";
4919
- import { __ as __42 } from "@wordpress/i18n";
4920
- var OBJECT_FIT_LABEL = __42("Object fit", "elementor");
4951
+ import { __ as __43 } from "@wordpress/i18n";
4952
+ var OBJECT_FIT_LABEL = __43("Object fit", "elementor");
4921
4953
  var positionOptions2 = [
4922
- { label: __42("Fill", "elementor"), value: "fill" },
4923
- { label: __42("Cover", "elementor"), value: "cover" },
4924
- { label: __42("Contain", "elementor"), value: "contain" },
4925
- { label: __42("None", "elementor"), value: "none" },
4926
- { label: __42("Scale down", "elementor"), value: "scale-down" }
4954
+ { label: __43("Fill", "elementor"), value: "fill" },
4955
+ { label: __43("Cover", "elementor"), value: "cover" },
4956
+ { label: __43("Contain", "elementor"), value: "contain" },
4957
+ { label: __43("None", "elementor"), value: "none" },
4958
+ { label: __43("Scale down", "elementor"), value: "scale-down" }
4927
4959
  ];
4928
4960
  var ObjectFitField = () => {
4929
- return /* @__PURE__ */ React65.createElement(StylesField, { bind: "object-fit", propDisplayName: OBJECT_FIT_LABEL }, /* @__PURE__ */ React65.createElement(StylesFieldLayout, { label: OBJECT_FIT_LABEL }, /* @__PURE__ */ React65.createElement(SelectControl4, { options: positionOptions2 })));
4961
+ return /* @__PURE__ */ React66.createElement(StylesField, { bind: "object-fit", propDisplayName: OBJECT_FIT_LABEL }, /* @__PURE__ */ React66.createElement(StylesFieldLayout, { label: OBJECT_FIT_LABEL }, /* @__PURE__ */ React66.createElement(SelectControl4, { options: positionOptions2 })));
4930
4962
  };
4931
4963
 
4932
4964
  // src/components/style-sections/size-section/overflow-field.tsx
4933
- import * as React66 from "react";
4965
+ import * as React67 from "react";
4934
4966
  import { ToggleControl as ToggleControl11 } from "@elementor/editor-controls";
4935
4967
  import { EyeIcon, EyeOffIcon, LetterAIcon } from "@elementor/icons";
4936
- import { __ as __43 } from "@wordpress/i18n";
4937
- var OVERFLOW_LABEL = __43("Overflow", "elementor");
4968
+ import { __ as __44 } from "@wordpress/i18n";
4969
+ var OVERFLOW_LABEL = __44("Overflow", "elementor");
4938
4970
  var options7 = [
4939
4971
  {
4940
4972
  value: "visible",
4941
- label: __43("Visible", "elementor"),
4942
- renderContent: ({ size }) => /* @__PURE__ */ React66.createElement(EyeIcon, { fontSize: size }),
4973
+ label: __44("Visible", "elementor"),
4974
+ renderContent: ({ size }) => /* @__PURE__ */ React67.createElement(EyeIcon, { fontSize: size }),
4943
4975
  showTooltip: true
4944
4976
  },
4945
4977
  {
4946
4978
  value: "hidden",
4947
- label: __43("Hidden", "elementor"),
4948
- renderContent: ({ size }) => /* @__PURE__ */ React66.createElement(EyeOffIcon, { fontSize: size }),
4979
+ label: __44("Hidden", "elementor"),
4980
+ renderContent: ({ size }) => /* @__PURE__ */ React67.createElement(EyeOffIcon, { fontSize: size }),
4949
4981
  showTooltip: true
4950
4982
  },
4951
4983
  {
4952
4984
  value: "auto",
4953
- label: __43("Auto", "elementor"),
4954
- renderContent: ({ size }) => /* @__PURE__ */ React66.createElement(LetterAIcon, { fontSize: size }),
4985
+ label: __44("Auto", "elementor"),
4986
+ renderContent: ({ size }) => /* @__PURE__ */ React67.createElement(LetterAIcon, { fontSize: size }),
4955
4987
  showTooltip: true
4956
4988
  }
4957
4989
  ];
4958
4990
  var OverflowField = () => {
4959
- return /* @__PURE__ */ React66.createElement(StylesField, { bind: "overflow", propDisplayName: OVERFLOW_LABEL }, /* @__PURE__ */ React66.createElement(StylesFieldLayout, { label: OVERFLOW_LABEL }, /* @__PURE__ */ React66.createElement(ToggleControl11, { options: options7 })));
4991
+ return /* @__PURE__ */ React67.createElement(StylesField, { bind: "overflow", propDisplayName: OVERFLOW_LABEL }, /* @__PURE__ */ React67.createElement(StylesFieldLayout, { label: OVERFLOW_LABEL }, /* @__PURE__ */ React67.createElement(ToggleControl11, { options: options7 })));
4960
4992
  };
4961
4993
 
4962
4994
  // src/components/style-sections/size-section/size-section.tsx
@@ -4964,97 +4996,97 @@ var CssSizeProps = [
4964
4996
  [
4965
4997
  {
4966
4998
  bind: "width",
4967
- label: __44("Width", "elementor")
4999
+ label: __45("Width", "elementor")
4968
5000
  },
4969
5001
  {
4970
5002
  bind: "height",
4971
- label: __44("Height", "elementor")
5003
+ label: __45("Height", "elementor")
4972
5004
  }
4973
5005
  ],
4974
5006
  [
4975
5007
  {
4976
5008
  bind: "min-width",
4977
- label: __44("Min width", "elementor")
5009
+ label: __45("Min width", "elementor")
4978
5010
  },
4979
5011
  {
4980
5012
  bind: "min-height",
4981
- label: __44("Min height", "elementor")
5013
+ label: __45("Min height", "elementor")
4982
5014
  }
4983
5015
  ],
4984
5016
  [
4985
5017
  {
4986
5018
  bind: "max-width",
4987
- label: __44("Max width", "elementor")
5019
+ label: __45("Max width", "elementor")
4988
5020
  },
4989
5021
  {
4990
5022
  bind: "max-height",
4991
- label: __44("Max height", "elementor")
5023
+ label: __45("Max height", "elementor")
4992
5024
  }
4993
5025
  ]
4994
5026
  ];
4995
- var ASPECT_RATIO_LABEL = __44("Aspect Ratio", "elementor");
5027
+ var ASPECT_RATIO_LABEL = __45("Aspect Ratio", "elementor");
4996
5028
  var SizeSection = () => {
4997
- const gridRowRefs = [useRef12(null), useRef12(null), useRef12(null)];
4998
- return /* @__PURE__ */ React67.createElement(SectionContent, null, CssSizeProps.map((row, rowIndex) => /* @__PURE__ */ React67.createElement(Grid7, { key: rowIndex, container: true, gap: 2, flexWrap: "nowrap", ref: gridRowRefs[rowIndex] }, row.map((props) => /* @__PURE__ */ React67.createElement(Grid7, { item: true, xs: 6, key: props.bind }, /* @__PURE__ */ React67.createElement(SizeField, { ...props, rowRef: gridRowRefs[rowIndex], extendedOptions: ["auto"] }))))), /* @__PURE__ */ React67.createElement(PanelDivider, null), /* @__PURE__ */ React67.createElement(Stack10, null, /* @__PURE__ */ React67.createElement(OverflowField, null)), /* @__PURE__ */ React67.createElement(StyleTabCollapsibleContent, { fields: ["aspect-ratio", "object-fit"] }, /* @__PURE__ */ React67.createElement(Stack10, { gap: 2, pt: 2 }, /* @__PURE__ */ React67.createElement(StylesField, { bind: "aspect-ratio", propDisplayName: ASPECT_RATIO_LABEL }, /* @__PURE__ */ React67.createElement(AspectRatioControl, { label: ASPECT_RATIO_LABEL })), /* @__PURE__ */ React67.createElement(PanelDivider, null), /* @__PURE__ */ React67.createElement(ObjectFitField, null), /* @__PURE__ */ React67.createElement(StylesField, { bind: "object-position", propDisplayName: __44("Object position", "elementor") }, /* @__PURE__ */ React67.createElement(Grid7, { item: true, xs: 6 }, /* @__PURE__ */ React67.createElement(PositionControl, null))))));
5029
+ const gridRowRefs = [useRef13(null), useRef13(null), useRef13(null)];
5030
+ return /* @__PURE__ */ React68.createElement(SectionContent, null, CssSizeProps.map((row, rowIndex) => /* @__PURE__ */ React68.createElement(Grid7, { key: rowIndex, container: true, gap: 2, flexWrap: "nowrap", ref: gridRowRefs[rowIndex] }, row.map((props) => /* @__PURE__ */ React68.createElement(Grid7, { item: true, xs: 6, key: props.bind }, /* @__PURE__ */ React68.createElement(SizeField, { ...props, rowRef: gridRowRefs[rowIndex], extendedOptions: ["auto"] }))))), /* @__PURE__ */ React68.createElement(PanelDivider, null), /* @__PURE__ */ React68.createElement(Stack11, null, /* @__PURE__ */ React68.createElement(OverflowField, null)), /* @__PURE__ */ React68.createElement(StyleTabCollapsibleContent, { fields: ["aspect-ratio", "object-fit"] }, /* @__PURE__ */ React68.createElement(Stack11, { gap: 2, pt: 2 }, /* @__PURE__ */ React68.createElement(StylesField, { bind: "aspect-ratio", propDisplayName: ASPECT_RATIO_LABEL }, /* @__PURE__ */ React68.createElement(AspectRatioControl, { label: ASPECT_RATIO_LABEL })), /* @__PURE__ */ React68.createElement(PanelDivider, null), /* @__PURE__ */ React68.createElement(ObjectFitField, null), /* @__PURE__ */ React68.createElement(StylesField, { bind: "object-position", propDisplayName: __45("Object position", "elementor") }, /* @__PURE__ */ React68.createElement(Grid7, { item: true, xs: 6 }, /* @__PURE__ */ React68.createElement(PositionControl, null))))));
4999
5031
  };
5000
5032
  var SizeField = ({ label, bind, rowRef, extendedOptions }) => {
5001
- return /* @__PURE__ */ React67.createElement(StylesField, { bind, propDisplayName: label }, /* @__PURE__ */ React67.createElement(Grid7, { container: true, gap: 0.75, alignItems: "center" }, /* @__PURE__ */ React67.createElement(Grid7, { item: true, xs: 12 }, /* @__PURE__ */ React67.createElement(ControlLabel, null, label)), /* @__PURE__ */ React67.createElement(Grid7, { item: true, xs: 12 }, /* @__PURE__ */ React67.createElement(SizeControl6, { extendedOptions, anchorRef: rowRef }))));
5033
+ return /* @__PURE__ */ React68.createElement(StylesField, { bind, propDisplayName: label }, /* @__PURE__ */ React68.createElement(Grid7, { container: true, gap: 0.75, alignItems: "center" }, /* @__PURE__ */ React68.createElement(Grid7, { item: true, xs: 12 }, /* @__PURE__ */ React68.createElement(ControlLabel, null, label)), /* @__PURE__ */ React68.createElement(Grid7, { item: true, xs: 12 }, /* @__PURE__ */ React68.createElement(SizeControl7, { extendedOptions, anchorRef: rowRef }))));
5002
5034
  };
5003
5035
 
5004
5036
  // src/components/style-sections/spacing-section/spacing-section.tsx
5005
- import * as React68 from "react";
5037
+ import * as React69 from "react";
5006
5038
  import { LinkedDimensionsControl } from "@elementor/editor-controls";
5007
- import { __ as __45 } from "@wordpress/i18n";
5008
- var MARGIN_LABEL = __45("Margin", "elementor");
5009
- var PADDING_LABEL = __45("Padding", "elementor");
5039
+ import { __ as __46 } from "@wordpress/i18n";
5040
+ var MARGIN_LABEL = __46("Margin", "elementor");
5041
+ var PADDING_LABEL = __46("Padding", "elementor");
5010
5042
  var SpacingSection = () => {
5011
5043
  const { isSiteRtl } = useDirection();
5012
- return /* @__PURE__ */ React68.createElement(SectionContent, null, /* @__PURE__ */ React68.createElement(StylesField, { bind: "margin", propDisplayName: MARGIN_LABEL }, /* @__PURE__ */ React68.createElement(
5044
+ return /* @__PURE__ */ React69.createElement(SectionContent, null, /* @__PURE__ */ React69.createElement(StylesField, { bind: "margin", propDisplayName: MARGIN_LABEL }, /* @__PURE__ */ React69.createElement(
5013
5045
  LinkedDimensionsControl,
5014
5046
  {
5015
5047
  label: MARGIN_LABEL,
5016
5048
  isSiteRtl,
5017
5049
  min: -Number.MAX_SAFE_INTEGER
5018
5050
  }
5019
- )), /* @__PURE__ */ React68.createElement(PanelDivider, null), /* @__PURE__ */ React68.createElement(StylesField, { bind: "padding", propDisplayName: PADDING_LABEL }, /* @__PURE__ */ React68.createElement(LinkedDimensionsControl, { label: PADDING_LABEL, isSiteRtl })));
5051
+ )), /* @__PURE__ */ React69.createElement(PanelDivider, null), /* @__PURE__ */ React69.createElement(StylesField, { bind: "padding", propDisplayName: PADDING_LABEL }, /* @__PURE__ */ React69.createElement(LinkedDimensionsControl, { label: PADDING_LABEL, isSiteRtl })));
5020
5052
  };
5021
5053
 
5022
5054
  // src/components/style-sections/typography-section/typography-section.tsx
5023
- import * as React85 from "react";
5055
+ import * as React86 from "react";
5024
5056
 
5025
5057
  // src/components/style-sections/typography-section/column-count-field.tsx
5026
- import * as React69 from "react";
5058
+ import * as React70 from "react";
5027
5059
  import { NumberControl as NumberControl5 } from "@elementor/editor-controls";
5028
- import { __ as __46 } from "@wordpress/i18n";
5029
- var COLUMN_COUNT_LABEL = __46("Columns", "elementor");
5060
+ import { __ as __47 } from "@wordpress/i18n";
5061
+ var COLUMN_COUNT_LABEL = __47("Columns", "elementor");
5030
5062
  var ColumnCountField = () => {
5031
- return /* @__PURE__ */ React69.createElement(StylesField, { bind: "column-count", propDisplayName: COLUMN_COUNT_LABEL }, /* @__PURE__ */ React69.createElement(StylesFieldLayout, { label: COLUMN_COUNT_LABEL }, /* @__PURE__ */ React69.createElement(NumberControl5, { shouldForceInt: true, min: 0, step: 1 })));
5063
+ return /* @__PURE__ */ React70.createElement(StylesField, { bind: "column-count", propDisplayName: COLUMN_COUNT_LABEL }, /* @__PURE__ */ React70.createElement(StylesFieldLayout, { label: COLUMN_COUNT_LABEL }, /* @__PURE__ */ React70.createElement(NumberControl5, { shouldForceInt: true, min: 0, step: 1 })));
5032
5064
  };
5033
5065
 
5034
5066
  // src/components/style-sections/typography-section/column-gap-field.tsx
5035
- import * as React70 from "react";
5036
- import { useRef as useRef13 } from "react";
5037
- import { SizeControl as SizeControl7 } from "@elementor/editor-controls";
5038
- import { __ as __47 } from "@wordpress/i18n";
5039
- var COLUMN_GAP_LABEL = __47("Column gap", "elementor");
5067
+ import * as React71 from "react";
5068
+ import { useRef as useRef14 } from "react";
5069
+ import { SizeControl as SizeControl8 } from "@elementor/editor-controls";
5070
+ import { __ as __48 } from "@wordpress/i18n";
5071
+ var COLUMN_GAP_LABEL = __48("Column gap", "elementor");
5040
5072
  var ColumnGapField = () => {
5041
- const rowRef = useRef13(null);
5042
- return /* @__PURE__ */ React70.createElement(StylesField, { bind: "column-gap", propDisplayName: COLUMN_GAP_LABEL }, /* @__PURE__ */ React70.createElement(StylesFieldLayout, { label: COLUMN_GAP_LABEL, ref: rowRef }, /* @__PURE__ */ React70.createElement(SizeControl7, { anchorRef: rowRef })));
5073
+ const rowRef = useRef14(null);
5074
+ return /* @__PURE__ */ React71.createElement(StylesField, { bind: "column-gap", propDisplayName: COLUMN_GAP_LABEL }, /* @__PURE__ */ React71.createElement(StylesFieldLayout, { label: COLUMN_GAP_LABEL, ref: rowRef }, /* @__PURE__ */ React71.createElement(SizeControl8, { anchorRef: rowRef })));
5043
5075
  };
5044
5076
 
5045
5077
  // src/components/style-sections/typography-section/font-family-field.tsx
5046
- import * as React71 from "react";
5078
+ import * as React72 from "react";
5047
5079
  import { FontFamilyControl, useFontFamilies } from "@elementor/editor-controls";
5048
5080
  import { useSectionWidth } from "@elementor/editor-ui";
5049
- import { __ as __48 } from "@wordpress/i18n";
5050
- var FONT_FAMILY_LABEL = __48("Font family", "elementor");
5081
+ import { __ as __49 } from "@wordpress/i18n";
5082
+ var FONT_FAMILY_LABEL = __49("Font family", "elementor");
5051
5083
  var FontFamilyField = () => {
5052
5084
  const fontFamilies = useFontFamilies();
5053
5085
  const sectionWidth = useSectionWidth();
5054
5086
  if (fontFamilies.length === 0) {
5055
5087
  return null;
5056
5088
  }
5057
- return /* @__PURE__ */ React71.createElement(StylesField, { bind: "font-family", propDisplayName: FONT_FAMILY_LABEL }, /* @__PURE__ */ React71.createElement(StylesFieldLayout, { label: FONT_FAMILY_LABEL }, /* @__PURE__ */ React71.createElement(
5089
+ return /* @__PURE__ */ React72.createElement(StylesField, { bind: "font-family", propDisplayName: FONT_FAMILY_LABEL }, /* @__PURE__ */ React72.createElement(StylesFieldLayout, { label: FONT_FAMILY_LABEL }, /* @__PURE__ */ React72.createElement(
5058
5090
  FontFamilyControl,
5059
5091
  {
5060
5092
  fontFamilies,
@@ -5065,198 +5097,198 @@ var FontFamilyField = () => {
5065
5097
  };
5066
5098
 
5067
5099
  // src/components/style-sections/typography-section/font-size-field.tsx
5068
- import * as React72 from "react";
5069
- import { useRef as useRef14 } from "react";
5070
- import { SizeControl as SizeControl8 } from "@elementor/editor-controls";
5071
- import { __ as __49 } from "@wordpress/i18n";
5072
- var FONT_SIZE_LABEL = __49("Font size", "elementor");
5100
+ import * as React73 from "react";
5101
+ import { useRef as useRef15 } from "react";
5102
+ import { SizeControl as SizeControl9 } from "@elementor/editor-controls";
5103
+ import { __ as __50 } from "@wordpress/i18n";
5104
+ var FONT_SIZE_LABEL = __50("Font size", "elementor");
5073
5105
  var FontSizeField = () => {
5074
- const rowRef = useRef14(null);
5075
- return /* @__PURE__ */ React72.createElement(StylesField, { bind: "font-size", propDisplayName: FONT_SIZE_LABEL }, /* @__PURE__ */ React72.createElement(StylesFieldLayout, { label: FONT_SIZE_LABEL, ref: rowRef }, /* @__PURE__ */ React72.createElement(SizeControl8, { anchorRef: rowRef, ariaLabel: FONT_SIZE_LABEL })));
5106
+ const rowRef = useRef15(null);
5107
+ return /* @__PURE__ */ React73.createElement(StylesField, { bind: "font-size", propDisplayName: FONT_SIZE_LABEL }, /* @__PURE__ */ React73.createElement(StylesFieldLayout, { label: FONT_SIZE_LABEL, ref: rowRef }, /* @__PURE__ */ React73.createElement(SizeControl9, { anchorRef: rowRef, ariaLabel: FONT_SIZE_LABEL })));
5076
5108
  };
5077
5109
 
5078
5110
  // src/components/style-sections/typography-section/font-style-field.tsx
5079
- import * as React73 from "react";
5111
+ import * as React74 from "react";
5080
5112
  import { ToggleControl as ToggleControl12 } from "@elementor/editor-controls";
5081
5113
  import { ItalicIcon, MinusIcon } from "@elementor/icons";
5082
- import { __ as __50 } from "@wordpress/i18n";
5083
- var FONT_STYLE_LABEL = __50("Font style", "elementor");
5114
+ import { __ as __51 } from "@wordpress/i18n";
5115
+ var FONT_STYLE_LABEL = __51("Font style", "elementor");
5084
5116
  var options8 = [
5085
5117
  {
5086
5118
  value: "normal",
5087
- label: __50("Normal", "elementor"),
5088
- renderContent: ({ size }) => /* @__PURE__ */ React73.createElement(MinusIcon, { fontSize: size }),
5119
+ label: __51("Normal", "elementor"),
5120
+ renderContent: ({ size }) => /* @__PURE__ */ React74.createElement(MinusIcon, { fontSize: size }),
5089
5121
  showTooltip: true
5090
5122
  },
5091
5123
  {
5092
5124
  value: "italic",
5093
- label: __50("Italic", "elementor"),
5094
- renderContent: ({ size }) => /* @__PURE__ */ React73.createElement(ItalicIcon, { fontSize: size }),
5125
+ label: __51("Italic", "elementor"),
5126
+ renderContent: ({ size }) => /* @__PURE__ */ React74.createElement(ItalicIcon, { fontSize: size }),
5095
5127
  showTooltip: true
5096
5128
  }
5097
5129
  ];
5098
5130
  var FontStyleField = () => {
5099
- return /* @__PURE__ */ React73.createElement(StylesField, { bind: "font-style", propDisplayName: FONT_STYLE_LABEL }, /* @__PURE__ */ React73.createElement(StylesFieldLayout, { label: FONT_STYLE_LABEL }, /* @__PURE__ */ React73.createElement(ToggleControl12, { options: options8 })));
5131
+ return /* @__PURE__ */ React74.createElement(StylesField, { bind: "font-style", propDisplayName: FONT_STYLE_LABEL }, /* @__PURE__ */ React74.createElement(StylesFieldLayout, { label: FONT_STYLE_LABEL }, /* @__PURE__ */ React74.createElement(ToggleControl12, { options: options8 })));
5100
5132
  };
5101
5133
 
5102
5134
  // src/components/style-sections/typography-section/font-weight-field.tsx
5103
- import * as React74 from "react";
5135
+ import * as React75 from "react";
5104
5136
  import { SelectControl as SelectControl5 } from "@elementor/editor-controls";
5105
- import { __ as __51 } from "@wordpress/i18n";
5106
- var FONT_WEIGHT_LABEL = __51("Font weight", "elementor");
5137
+ import { __ as __52 } from "@wordpress/i18n";
5138
+ var FONT_WEIGHT_LABEL = __52("Font weight", "elementor");
5107
5139
  var fontWeightOptions = [
5108
- { value: "100", label: __51("100 - Thin", "elementor") },
5109
- { value: "200", label: __51("200 - Extra light", "elementor") },
5110
- { value: "300", label: __51("300 - Light", "elementor") },
5111
- { value: "400", label: __51("400 - Normal", "elementor") },
5112
- { value: "500", label: __51("500 - Medium", "elementor") },
5113
- { value: "600", label: __51("600 - Semi bold", "elementor") },
5114
- { value: "700", label: __51("700 - Bold", "elementor") },
5115
- { value: "800", label: __51("800 - Extra bold", "elementor") },
5116
- { value: "900", label: __51("900 - Black", "elementor") }
5140
+ { value: "100", label: __52("100 - Thin", "elementor") },
5141
+ { value: "200", label: __52("200 - Extra light", "elementor") },
5142
+ { value: "300", label: __52("300 - Light", "elementor") },
5143
+ { value: "400", label: __52("400 - Normal", "elementor") },
5144
+ { value: "500", label: __52("500 - Medium", "elementor") },
5145
+ { value: "600", label: __52("600 - Semi bold", "elementor") },
5146
+ { value: "700", label: __52("700 - Bold", "elementor") },
5147
+ { value: "800", label: __52("800 - Extra bold", "elementor") },
5148
+ { value: "900", label: __52("900 - Black", "elementor") }
5117
5149
  ];
5118
5150
  var FontWeightField = () => {
5119
- return /* @__PURE__ */ React74.createElement(StylesField, { bind: "font-weight", propDisplayName: FONT_WEIGHT_LABEL }, /* @__PURE__ */ React74.createElement(StylesFieldLayout, { label: FONT_WEIGHT_LABEL }, /* @__PURE__ */ React74.createElement(SelectControl5, { options: fontWeightOptions })));
5151
+ return /* @__PURE__ */ React75.createElement(StylesField, { bind: "font-weight", propDisplayName: FONT_WEIGHT_LABEL }, /* @__PURE__ */ React75.createElement(StylesFieldLayout, { label: FONT_WEIGHT_LABEL }, /* @__PURE__ */ React75.createElement(SelectControl5, { options: fontWeightOptions })));
5120
5152
  };
5121
5153
 
5122
5154
  // src/components/style-sections/typography-section/letter-spacing-field.tsx
5123
- import * as React75 from "react";
5124
- import { useRef as useRef15 } from "react";
5125
- import { SizeControl as SizeControl9 } from "@elementor/editor-controls";
5126
- import { __ as __52 } from "@wordpress/i18n";
5127
- var LETTER_SPACING_LABEL = __52("Letter spacing", "elementor");
5128
- var LetterSpacingField = () => {
5129
- const rowRef = useRef15(null);
5130
- return /* @__PURE__ */ React75.createElement(StylesField, { bind: "letter-spacing", propDisplayName: LETTER_SPACING_LABEL }, /* @__PURE__ */ React75.createElement(StylesFieldLayout, { label: LETTER_SPACING_LABEL, ref: rowRef }, /* @__PURE__ */ React75.createElement(SizeControl9, { anchorRef: rowRef, min: -Number.MAX_SAFE_INTEGER })));
5131
- };
5132
-
5133
- // src/components/style-sections/typography-section/line-height-field.tsx
5134
5155
  import * as React76 from "react";
5135
5156
  import { useRef as useRef16 } from "react";
5136
5157
  import { SizeControl as SizeControl10 } from "@elementor/editor-controls";
5137
5158
  import { __ as __53 } from "@wordpress/i18n";
5138
- var LINE_HEIGHT_LABEL = __53("Line height", "elementor");
5139
- var LineHeightField = () => {
5159
+ var LETTER_SPACING_LABEL = __53("Letter spacing", "elementor");
5160
+ var LetterSpacingField = () => {
5140
5161
  const rowRef = useRef16(null);
5141
- return /* @__PURE__ */ React76.createElement(StylesField, { bind: "line-height", propDisplayName: LINE_HEIGHT_LABEL }, /* @__PURE__ */ React76.createElement(StylesFieldLayout, { label: LINE_HEIGHT_LABEL, ref: rowRef }, /* @__PURE__ */ React76.createElement(SizeControl10, { anchorRef: rowRef })));
5162
+ return /* @__PURE__ */ React76.createElement(StylesField, { bind: "letter-spacing", propDisplayName: LETTER_SPACING_LABEL }, /* @__PURE__ */ React76.createElement(StylesFieldLayout, { label: LETTER_SPACING_LABEL, ref: rowRef }, /* @__PURE__ */ React76.createElement(SizeControl10, { anchorRef: rowRef, min: -Number.MAX_SAFE_INTEGER })));
5142
5163
  };
5143
5164
 
5144
- // src/components/style-sections/typography-section/text-alignment-field.tsx
5165
+ // src/components/style-sections/typography-section/line-height-field.tsx
5145
5166
  import * as React77 from "react";
5167
+ import { useRef as useRef17 } from "react";
5168
+ import { SizeControl as SizeControl11 } from "@elementor/editor-controls";
5169
+ import { __ as __54 } from "@wordpress/i18n";
5170
+ var LINE_HEIGHT_LABEL = __54("Line height", "elementor");
5171
+ var LineHeightField = () => {
5172
+ const rowRef = useRef17(null);
5173
+ return /* @__PURE__ */ React77.createElement(StylesField, { bind: "line-height", propDisplayName: LINE_HEIGHT_LABEL }, /* @__PURE__ */ React77.createElement(StylesFieldLayout, { label: LINE_HEIGHT_LABEL, ref: rowRef }, /* @__PURE__ */ React77.createElement(SizeControl11, { anchorRef: rowRef })));
5174
+ };
5175
+
5176
+ // src/components/style-sections/typography-section/text-alignment-field.tsx
5177
+ import * as React78 from "react";
5146
5178
  import { ToggleControl as ToggleControl13 } from "@elementor/editor-controls";
5147
5179
  import { AlignCenterIcon, AlignJustifiedIcon, AlignLeftIcon, AlignRightIcon } from "@elementor/icons";
5148
5180
  import { withDirection as withDirection11 } from "@elementor/ui";
5149
- import { __ as __54 } from "@wordpress/i18n";
5150
- var TEXT_ALIGNMENT_LABEL = __54("Text align", "elementor");
5181
+ import { __ as __55 } from "@wordpress/i18n";
5182
+ var TEXT_ALIGNMENT_LABEL = __55("Text align", "elementor");
5151
5183
  var AlignStartIcon = withDirection11(AlignLeftIcon);
5152
5184
  var AlignEndIcon = withDirection11(AlignRightIcon);
5153
5185
  var options9 = [
5154
5186
  {
5155
5187
  value: "start",
5156
- label: __54("Start", "elementor"),
5157
- renderContent: ({ size }) => /* @__PURE__ */ React77.createElement(AlignStartIcon, { fontSize: size }),
5188
+ label: __55("Start", "elementor"),
5189
+ renderContent: ({ size }) => /* @__PURE__ */ React78.createElement(AlignStartIcon, { fontSize: size }),
5158
5190
  showTooltip: true
5159
5191
  },
5160
5192
  {
5161
5193
  value: "center",
5162
- label: __54("Center", "elementor"),
5163
- renderContent: ({ size }) => /* @__PURE__ */ React77.createElement(AlignCenterIcon, { fontSize: size }),
5194
+ label: __55("Center", "elementor"),
5195
+ renderContent: ({ size }) => /* @__PURE__ */ React78.createElement(AlignCenterIcon, { fontSize: size }),
5164
5196
  showTooltip: true
5165
5197
  },
5166
5198
  {
5167
5199
  value: "end",
5168
- label: __54("End", "elementor"),
5169
- renderContent: ({ size }) => /* @__PURE__ */ React77.createElement(AlignEndIcon, { fontSize: size }),
5200
+ label: __55("End", "elementor"),
5201
+ renderContent: ({ size }) => /* @__PURE__ */ React78.createElement(AlignEndIcon, { fontSize: size }),
5170
5202
  showTooltip: true
5171
5203
  },
5172
5204
  {
5173
5205
  value: "justify",
5174
- label: __54("Justify", "elementor"),
5175
- renderContent: ({ size }) => /* @__PURE__ */ React77.createElement(AlignJustifiedIcon, { fontSize: size }),
5206
+ label: __55("Justify", "elementor"),
5207
+ renderContent: ({ size }) => /* @__PURE__ */ React78.createElement(AlignJustifiedIcon, { fontSize: size }),
5176
5208
  showTooltip: true
5177
5209
  }
5178
5210
  ];
5179
5211
  var TextAlignmentField = () => {
5180
- return /* @__PURE__ */ React77.createElement(StylesField, { bind: "text-align", propDisplayName: TEXT_ALIGNMENT_LABEL }, /* @__PURE__ */ React77.createElement(UiProviders, null, /* @__PURE__ */ React77.createElement(StylesFieldLayout, { label: TEXT_ALIGNMENT_LABEL }, /* @__PURE__ */ React77.createElement(ToggleControl13, { options: options9 }))));
5212
+ return /* @__PURE__ */ React78.createElement(StylesField, { bind: "text-align", propDisplayName: TEXT_ALIGNMENT_LABEL }, /* @__PURE__ */ React78.createElement(UiProviders, null, /* @__PURE__ */ React78.createElement(StylesFieldLayout, { label: TEXT_ALIGNMENT_LABEL }, /* @__PURE__ */ React78.createElement(ToggleControl13, { options: options9 }))));
5181
5213
  };
5182
5214
 
5183
5215
  // src/components/style-sections/typography-section/text-color-field.tsx
5184
- import * as React78 from "react";
5216
+ import * as React79 from "react";
5185
5217
  import { ColorControl as ColorControl2 } from "@elementor/editor-controls";
5186
- import { __ as __55 } from "@wordpress/i18n";
5187
- var TEXT_COLOR_LABEL = __55("Text color", "elementor");
5218
+ import { __ as __56 } from "@wordpress/i18n";
5219
+ var TEXT_COLOR_LABEL = __56("Text color", "elementor");
5188
5220
  var TextColorField = () => {
5189
- return /* @__PURE__ */ React78.createElement(StylesField, { bind: "color", propDisplayName: TEXT_COLOR_LABEL }, /* @__PURE__ */ React78.createElement(StylesFieldLayout, { label: TEXT_COLOR_LABEL }, /* @__PURE__ */ React78.createElement(ColorControl2, { id: "text-color-control" })));
5221
+ return /* @__PURE__ */ React79.createElement(StylesField, { bind: "color", propDisplayName: TEXT_COLOR_LABEL }, /* @__PURE__ */ React79.createElement(StylesFieldLayout, { label: TEXT_COLOR_LABEL }, /* @__PURE__ */ React79.createElement(ColorControl2, { id: "text-color-control" })));
5190
5222
  };
5191
5223
 
5192
5224
  // src/components/style-sections/typography-section/text-decoration-field.tsx
5193
- import * as React79 from "react";
5225
+ import * as React80 from "react";
5194
5226
  import { ToggleControl as ToggleControl14 } from "@elementor/editor-controls";
5195
5227
  import { MinusIcon as MinusIcon2, OverlineIcon, StrikethroughIcon, UnderlineIcon } from "@elementor/icons";
5196
- import { __ as __56 } from "@wordpress/i18n";
5197
- var TEXT_DECORATION_LABEL = __56("Line decoration", "elementor");
5228
+ import { __ as __57 } from "@wordpress/i18n";
5229
+ var TEXT_DECORATION_LABEL = __57("Line decoration", "elementor");
5198
5230
  var options10 = [
5199
5231
  {
5200
5232
  value: "none",
5201
- label: __56("None", "elementor"),
5202
- renderContent: ({ size }) => /* @__PURE__ */ React79.createElement(MinusIcon2, { fontSize: size }),
5233
+ label: __57("None", "elementor"),
5234
+ renderContent: ({ size }) => /* @__PURE__ */ React80.createElement(MinusIcon2, { fontSize: size }),
5203
5235
  showTooltip: true,
5204
5236
  exclusive: true
5205
5237
  },
5206
5238
  {
5207
5239
  value: "underline",
5208
- label: __56("Underline", "elementor"),
5209
- renderContent: ({ size }) => /* @__PURE__ */ React79.createElement(UnderlineIcon, { fontSize: size }),
5240
+ label: __57("Underline", "elementor"),
5241
+ renderContent: ({ size }) => /* @__PURE__ */ React80.createElement(UnderlineIcon, { fontSize: size }),
5210
5242
  showTooltip: true
5211
5243
  },
5212
5244
  {
5213
5245
  value: "line-through",
5214
- label: __56("Line-through", "elementor"),
5215
- renderContent: ({ size }) => /* @__PURE__ */ React79.createElement(StrikethroughIcon, { fontSize: size }),
5246
+ label: __57("Line-through", "elementor"),
5247
+ renderContent: ({ size }) => /* @__PURE__ */ React80.createElement(StrikethroughIcon, { fontSize: size }),
5216
5248
  showTooltip: true
5217
5249
  },
5218
5250
  {
5219
5251
  value: "overline",
5220
- label: __56("Overline", "elementor"),
5221
- renderContent: ({ size }) => /* @__PURE__ */ React79.createElement(OverlineIcon, { fontSize: size }),
5252
+ label: __57("Overline", "elementor"),
5253
+ renderContent: ({ size }) => /* @__PURE__ */ React80.createElement(OverlineIcon, { fontSize: size }),
5222
5254
  showTooltip: true
5223
5255
  }
5224
5256
  ];
5225
- var TextDecorationField = () => /* @__PURE__ */ React79.createElement(StylesField, { bind: "text-decoration", propDisplayName: TEXT_DECORATION_LABEL }, /* @__PURE__ */ React79.createElement(StylesFieldLayout, { label: TEXT_DECORATION_LABEL }, /* @__PURE__ */ React79.createElement(ToggleControl14, { options: options10, exclusive: false })));
5257
+ var TextDecorationField = () => /* @__PURE__ */ React80.createElement(StylesField, { bind: "text-decoration", propDisplayName: TEXT_DECORATION_LABEL }, /* @__PURE__ */ React80.createElement(StylesFieldLayout, { label: TEXT_DECORATION_LABEL }, /* @__PURE__ */ React80.createElement(ToggleControl14, { options: options10, exclusive: false })));
5226
5258
 
5227
5259
  // src/components/style-sections/typography-section/text-direction-field.tsx
5228
- import * as React80 from "react";
5260
+ import * as React81 from "react";
5229
5261
  import { ToggleControl as ToggleControl15 } from "@elementor/editor-controls";
5230
5262
  import { TextDirectionLtrIcon, TextDirectionRtlIcon } from "@elementor/icons";
5231
- import { __ as __57 } from "@wordpress/i18n";
5232
- var TEXT_DIRECTION_LABEL = __57("Direction", "elementor");
5263
+ import { __ as __58 } from "@wordpress/i18n";
5264
+ var TEXT_DIRECTION_LABEL = __58("Direction", "elementor");
5233
5265
  var options11 = [
5234
5266
  {
5235
5267
  value: "ltr",
5236
- label: __57("Left to right", "elementor"),
5237
- renderContent: ({ size }) => /* @__PURE__ */ React80.createElement(TextDirectionLtrIcon, { fontSize: size }),
5268
+ label: __58("Left to right", "elementor"),
5269
+ renderContent: ({ size }) => /* @__PURE__ */ React81.createElement(TextDirectionLtrIcon, { fontSize: size }),
5238
5270
  showTooltip: true
5239
5271
  },
5240
5272
  {
5241
5273
  value: "rtl",
5242
- label: __57("Right to left", "elementor"),
5243
- renderContent: ({ size }) => /* @__PURE__ */ React80.createElement(TextDirectionRtlIcon, { fontSize: size }),
5274
+ label: __58("Right to left", "elementor"),
5275
+ renderContent: ({ size }) => /* @__PURE__ */ React81.createElement(TextDirectionRtlIcon, { fontSize: size }),
5244
5276
  showTooltip: true
5245
5277
  }
5246
5278
  ];
5247
5279
  var TextDirectionField = () => {
5248
- return /* @__PURE__ */ React80.createElement(StylesField, { bind: "direction", propDisplayName: TEXT_DIRECTION_LABEL }, /* @__PURE__ */ React80.createElement(StylesFieldLayout, { label: TEXT_DIRECTION_LABEL }, /* @__PURE__ */ React80.createElement(ToggleControl15, { options: options11 })));
5280
+ return /* @__PURE__ */ React81.createElement(StylesField, { bind: "direction", propDisplayName: TEXT_DIRECTION_LABEL }, /* @__PURE__ */ React81.createElement(StylesFieldLayout, { label: TEXT_DIRECTION_LABEL }, /* @__PURE__ */ React81.createElement(ToggleControl15, { options: options11 })));
5249
5281
  };
5250
5282
 
5251
5283
  // src/components/style-sections/typography-section/text-stroke-field.tsx
5252
- import * as React82 from "react";
5284
+ import * as React83 from "react";
5253
5285
  import { StrokeControl } from "@elementor/editor-controls";
5254
- import { __ as __58 } from "@wordpress/i18n";
5286
+ import { __ as __59 } from "@wordpress/i18n";
5255
5287
 
5256
5288
  // src/components/add-or-remove-content.tsx
5257
- import * as React81 from "react";
5289
+ import * as React82 from "react";
5258
5290
  import { MinusIcon as MinusIcon3, PlusIcon } from "@elementor/icons";
5259
- import { Collapse as Collapse2, IconButton, Stack as Stack11 } from "@elementor/ui";
5291
+ import { Collapse as Collapse2, IconButton, Stack as Stack12 } from "@elementor/ui";
5260
5292
  var SIZE = "tiny";
5261
5293
  var AddOrRemoveContent = ({
5262
5294
  isAdded,
@@ -5266,8 +5298,8 @@ var AddOrRemoveContent = ({
5266
5298
  disabled,
5267
5299
  renderLabel
5268
5300
  }) => {
5269
- return /* @__PURE__ */ React81.createElement(SectionContent, null, /* @__PURE__ */ React81.createElement(
5270
- Stack11,
5301
+ return /* @__PURE__ */ React82.createElement(SectionContent, null, /* @__PURE__ */ React82.createElement(
5302
+ Stack12,
5271
5303
  {
5272
5304
  direction: "row",
5273
5305
  sx: {
@@ -5277,8 +5309,8 @@ var AddOrRemoveContent = ({
5277
5309
  }
5278
5310
  },
5279
5311
  renderLabel(),
5280
- isAdded ? /* @__PURE__ */ React81.createElement(IconButton, { size: SIZE, onClick: onRemove, "aria-label": "Remove", disabled }, /* @__PURE__ */ React81.createElement(MinusIcon3, { fontSize: SIZE })) : /* @__PURE__ */ React81.createElement(IconButton, { size: SIZE, onClick: onAdd, "aria-label": "Add", disabled }, /* @__PURE__ */ React81.createElement(PlusIcon, { fontSize: SIZE }))
5281
- ), /* @__PURE__ */ React81.createElement(Collapse2, { in: isAdded, unmountOnExit: true }, /* @__PURE__ */ React81.createElement(SectionContent, null, children)));
5312
+ isAdded ? /* @__PURE__ */ React82.createElement(IconButton, { size: SIZE, onClick: onRemove, "aria-label": "Remove", disabled }, /* @__PURE__ */ React82.createElement(MinusIcon3, { fontSize: SIZE })) : /* @__PURE__ */ React82.createElement(IconButton, { size: SIZE, onClick: onAdd, "aria-label": "Add", disabled }, /* @__PURE__ */ React82.createElement(PlusIcon, { fontSize: SIZE }))
5313
+ ), /* @__PURE__ */ React82.createElement(Collapse2, { in: isAdded, unmountOnExit: true }, /* @__PURE__ */ React82.createElement(SectionContent, null, children)));
5282
5314
  };
5283
5315
 
5284
5316
  // src/components/style-sections/typography-section/text-stroke-field.tsx
@@ -5298,7 +5330,7 @@ var initTextStroke = {
5298
5330
  }
5299
5331
  }
5300
5332
  };
5301
- var TEXT_STROKE_LABEL = __58("Text stroke", "elementor");
5333
+ var TEXT_STROKE_LABEL = __59("Text stroke", "elementor");
5302
5334
  var TextStrokeField = () => {
5303
5335
  const { value, setValue, canEdit } = useStylesField("stroke", {
5304
5336
  history: { propDisplayName: TEXT_STROKE_LABEL }
@@ -5310,67 +5342,67 @@ var TextStrokeField = () => {
5310
5342
  setValue(null);
5311
5343
  };
5312
5344
  const hasTextStroke = Boolean(value);
5313
- return /* @__PURE__ */ React82.createElement(StylesField, { bind: "stroke", propDisplayName: TEXT_STROKE_LABEL }, /* @__PURE__ */ React82.createElement(
5345
+ return /* @__PURE__ */ React83.createElement(StylesField, { bind: "stroke", propDisplayName: TEXT_STROKE_LABEL }, /* @__PURE__ */ React83.createElement(
5314
5346
  AddOrRemoveContent,
5315
5347
  {
5316
5348
  isAdded: hasTextStroke,
5317
5349
  onAdd: addTextStroke,
5318
5350
  onRemove: removeTextStroke,
5319
5351
  disabled: !canEdit,
5320
- renderLabel: () => /* @__PURE__ */ React82.createElement(ControlLabel, null, TEXT_STROKE_LABEL)
5352
+ renderLabel: () => /* @__PURE__ */ React83.createElement(ControlLabel, null, TEXT_STROKE_LABEL)
5321
5353
  },
5322
- /* @__PURE__ */ React82.createElement(StrokeControl, null)
5354
+ /* @__PURE__ */ React83.createElement(StrokeControl, null)
5323
5355
  ));
5324
5356
  };
5325
5357
 
5326
5358
  // src/components/style-sections/typography-section/transform-field.tsx
5327
- import * as React83 from "react";
5359
+ import * as React84 from "react";
5328
5360
  import { ToggleControl as ToggleControl16 } from "@elementor/editor-controls";
5329
5361
  import { LetterCaseIcon, LetterCaseLowerIcon, LetterCaseUpperIcon, MinusIcon as MinusIcon4 } from "@elementor/icons";
5330
- import { __ as __59 } from "@wordpress/i18n";
5331
- var TEXT_TRANSFORM_LABEL = __59("Text transform", "elementor");
5362
+ import { __ as __60 } from "@wordpress/i18n";
5363
+ var TEXT_TRANSFORM_LABEL = __60("Text transform", "elementor");
5332
5364
  var options12 = [
5333
5365
  {
5334
5366
  value: "none",
5335
- label: __59("None", "elementor"),
5336
- renderContent: ({ size }) => /* @__PURE__ */ React83.createElement(MinusIcon4, { fontSize: size }),
5367
+ label: __60("None", "elementor"),
5368
+ renderContent: ({ size }) => /* @__PURE__ */ React84.createElement(MinusIcon4, { fontSize: size }),
5337
5369
  showTooltip: true
5338
5370
  },
5339
5371
  {
5340
5372
  value: "capitalize",
5341
- label: __59("Capitalize", "elementor"),
5342
- renderContent: ({ size }) => /* @__PURE__ */ React83.createElement(LetterCaseIcon, { fontSize: size }),
5373
+ label: __60("Capitalize", "elementor"),
5374
+ renderContent: ({ size }) => /* @__PURE__ */ React84.createElement(LetterCaseIcon, { fontSize: size }),
5343
5375
  showTooltip: true
5344
5376
  },
5345
5377
  {
5346
5378
  value: "uppercase",
5347
- label: __59("Uppercase", "elementor"),
5348
- renderContent: ({ size }) => /* @__PURE__ */ React83.createElement(LetterCaseUpperIcon, { fontSize: size }),
5379
+ label: __60("Uppercase", "elementor"),
5380
+ renderContent: ({ size }) => /* @__PURE__ */ React84.createElement(LetterCaseUpperIcon, { fontSize: size }),
5349
5381
  showTooltip: true
5350
5382
  },
5351
5383
  {
5352
5384
  value: "lowercase",
5353
- label: __59("Lowercase", "elementor"),
5354
- renderContent: ({ size }) => /* @__PURE__ */ React83.createElement(LetterCaseLowerIcon, { fontSize: size }),
5385
+ label: __60("Lowercase", "elementor"),
5386
+ renderContent: ({ size }) => /* @__PURE__ */ React84.createElement(LetterCaseLowerIcon, { fontSize: size }),
5355
5387
  showTooltip: true
5356
5388
  }
5357
5389
  ];
5358
- var TransformField = () => /* @__PURE__ */ React83.createElement(StylesField, { bind: "text-transform", propDisplayName: TEXT_TRANSFORM_LABEL }, /* @__PURE__ */ React83.createElement(StylesFieldLayout, { label: TEXT_TRANSFORM_LABEL }, /* @__PURE__ */ React83.createElement(ToggleControl16, { options: options12 })));
5390
+ var TransformField = () => /* @__PURE__ */ React84.createElement(StylesField, { bind: "text-transform", propDisplayName: TEXT_TRANSFORM_LABEL }, /* @__PURE__ */ React84.createElement(StylesFieldLayout, { label: TEXT_TRANSFORM_LABEL }, /* @__PURE__ */ React84.createElement(ToggleControl16, { options: options12 })));
5359
5391
 
5360
5392
  // src/components/style-sections/typography-section/word-spacing-field.tsx
5361
- import * as React84 from "react";
5362
- import { useRef as useRef17 } from "react";
5363
- import { SizeControl as SizeControl11 } from "@elementor/editor-controls";
5364
- import { __ as __60 } from "@wordpress/i18n";
5365
- var WORD_SPACING_LABEL = __60("Word spacing", "elementor");
5393
+ import * as React85 from "react";
5394
+ import { useRef as useRef18 } from "react";
5395
+ import { SizeControl as SizeControl12 } from "@elementor/editor-controls";
5396
+ import { __ as __61 } from "@wordpress/i18n";
5397
+ var WORD_SPACING_LABEL = __61("Word spacing", "elementor");
5366
5398
  var WordSpacingField = () => {
5367
- const rowRef = useRef17(null);
5368
- return /* @__PURE__ */ React84.createElement(StylesField, { bind: "word-spacing", propDisplayName: WORD_SPACING_LABEL }, /* @__PURE__ */ React84.createElement(StylesFieldLayout, { label: WORD_SPACING_LABEL, ref: rowRef }, /* @__PURE__ */ React84.createElement(SizeControl11, { anchorRef: rowRef, min: -Number.MAX_SAFE_INTEGER })));
5399
+ const rowRef = useRef18(null);
5400
+ return /* @__PURE__ */ React85.createElement(StylesField, { bind: "word-spacing", propDisplayName: WORD_SPACING_LABEL }, /* @__PURE__ */ React85.createElement(StylesFieldLayout, { label: WORD_SPACING_LABEL, ref: rowRef }, /* @__PURE__ */ React85.createElement(SizeControl12, { anchorRef: rowRef, min: -Number.MAX_SAFE_INTEGER })));
5369
5401
  };
5370
5402
 
5371
5403
  // src/components/style-sections/typography-section/typography-section.tsx
5372
5404
  var TypographySection = () => {
5373
- return /* @__PURE__ */ React85.createElement(SectionContent, null, /* @__PURE__ */ React85.createElement(FontFamilyField, null), /* @__PURE__ */ React85.createElement(FontWeightField, null), /* @__PURE__ */ React85.createElement(FontSizeField, null), /* @__PURE__ */ React85.createElement(PanelDivider, null), /* @__PURE__ */ React85.createElement(TextAlignmentField, null), /* @__PURE__ */ React85.createElement(TextColorField, null), /* @__PURE__ */ React85.createElement(
5405
+ return /* @__PURE__ */ React86.createElement(SectionContent, null, /* @__PURE__ */ React86.createElement(FontFamilyField, null), /* @__PURE__ */ React86.createElement(FontWeightField, null), /* @__PURE__ */ React86.createElement(FontSizeField, null), /* @__PURE__ */ React86.createElement(PanelDivider, null), /* @__PURE__ */ React86.createElement(TextAlignmentField, null), /* @__PURE__ */ React86.createElement(TextColorField, null), /* @__PURE__ */ React86.createElement(
5374
5406
  StyleTabCollapsibleContent,
5375
5407
  {
5376
5408
  fields: [
@@ -5385,18 +5417,18 @@ var TypographySection = () => {
5385
5417
  "stroke"
5386
5418
  ]
5387
5419
  },
5388
- /* @__PURE__ */ React85.createElement(SectionContent, { sx: { pt: 2 } }, /* @__PURE__ */ React85.createElement(LineHeightField, null), /* @__PURE__ */ React85.createElement(LetterSpacingField, null), /* @__PURE__ */ React85.createElement(WordSpacingField, null), /* @__PURE__ */ React85.createElement(ColumnCountField, null), /* @__PURE__ */ React85.createElement(ColumnGapField, null), /* @__PURE__ */ React85.createElement(PanelDivider, null), /* @__PURE__ */ React85.createElement(TextDecorationField, null), /* @__PURE__ */ React85.createElement(TransformField, null), /* @__PURE__ */ React85.createElement(TextDirectionField, null), /* @__PURE__ */ React85.createElement(FontStyleField, null), /* @__PURE__ */ React85.createElement(TextStrokeField, null))
5420
+ /* @__PURE__ */ React86.createElement(SectionContent, { sx: { pt: 2 } }, /* @__PURE__ */ React86.createElement(LineHeightField, null), /* @__PURE__ */ React86.createElement(LetterSpacingField, null), /* @__PURE__ */ React86.createElement(WordSpacingField, null), /* @__PURE__ */ React86.createElement(ColumnCountField, null), /* @__PURE__ */ React86.createElement(ColumnGapField, null), /* @__PURE__ */ React86.createElement(PanelDivider, null), /* @__PURE__ */ React86.createElement(TextDecorationField, null), /* @__PURE__ */ React86.createElement(TransformField, null), /* @__PURE__ */ React86.createElement(TextDirectionField, null), /* @__PURE__ */ React86.createElement(FontStyleField, null), /* @__PURE__ */ React86.createElement(TextStrokeField, null))
5389
5421
  ));
5390
5422
  };
5391
5423
 
5392
5424
  // src/components/style-tab-section.tsx
5393
- import * as React86 from "react";
5425
+ import * as React87 from "react";
5394
5426
  var StyleTabSection = ({ section, fields = [], unmountOnExit = true }) => {
5395
5427
  const { component, name, title, action } = section;
5396
5428
  const tabDefaults = useDefaultPanelSettings();
5397
- const SectionComponent = component || (() => /* @__PURE__ */ React86.createElement(React86.Fragment, null));
5429
+ const SectionComponent = component || (() => /* @__PURE__ */ React87.createElement(React87.Fragment, null));
5398
5430
  const isExpanded = tabDefaults.defaultSectionsExpanded.style?.includes(name);
5399
- return /* @__PURE__ */ React86.createElement(
5431
+ return /* @__PURE__ */ React87.createElement(
5400
5432
  Section,
5401
5433
  {
5402
5434
  title,
@@ -5405,7 +5437,7 @@ var StyleTabSection = ({ section, fields = [], unmountOnExit = true }) => {
5405
5437
  unmountOnExit,
5406
5438
  action
5407
5439
  },
5408
- /* @__PURE__ */ React86.createElement(SectionComponent, null)
5440
+ /* @__PURE__ */ React87.createElement(SectionComponent, null)
5409
5441
  );
5410
5442
  };
5411
5443
 
@@ -5427,7 +5459,7 @@ var StyleTab = () => {
5427
5459
  if (!currentClassesProp) {
5428
5460
  return null;
5429
5461
  }
5430
- return /* @__PURE__ */ React87.createElement(ClassesPropProvider, { prop: currentClassesProp }, /* @__PURE__ */ React87.createElement(
5462
+ return /* @__PURE__ */ React88.createElement(ClassesPropProvider, { prop: currentClassesProp }, /* @__PURE__ */ React88.createElement(
5431
5463
  StyleProvider,
5432
5464
  {
5433
5465
  meta: { breakpoint, state: activeStyleState },
@@ -5438,13 +5470,13 @@ var StyleTab = () => {
5438
5470
  },
5439
5471
  setMetaState: setActiveStyleState
5440
5472
  },
5441
- /* @__PURE__ */ React87.createElement(SessionStorageProvider2, { prefix: activeStyleDefId ?? "" }, /* @__PURE__ */ React87.createElement(StyleInheritanceProvider, null, /* @__PURE__ */ React87.createElement(ClassesHeader, null, /* @__PURE__ */ React87.createElement(CssClassSelector, null), /* @__PURE__ */ React87.createElement(Divider5, null)), /* @__PURE__ */ React87.createElement(SectionsList, null, /* @__PURE__ */ React87.createElement(
5473
+ /* @__PURE__ */ React88.createElement(SessionStorageProvider2, { prefix: activeStyleDefId ?? "" }, /* @__PURE__ */ React88.createElement(StyleInheritanceProvider, null, /* @__PURE__ */ React88.createElement(ClassesHeader, null, /* @__PURE__ */ React88.createElement(CssClassSelector, null), /* @__PURE__ */ React88.createElement(Divider5, null)), /* @__PURE__ */ React88.createElement(SectionsList, null, /* @__PURE__ */ React88.createElement(
5442
5474
  StyleTabSection,
5443
5475
  {
5444
5476
  section: {
5445
5477
  component: LayoutSection,
5446
5478
  name: "Layout",
5447
- title: __61("Layout", "elementor")
5479
+ title: __62("Layout", "elementor")
5448
5480
  },
5449
5481
  fields: [
5450
5482
  "display",
@@ -5457,26 +5489,28 @@ var StyleTab = () => {
5457
5489
  "gap",
5458
5490
  "order",
5459
5491
  "grid-column",
5460
- "grid-row"
5492
+ "grid-row",
5493
+ "grid-auto-rows",
5494
+ "grid-auto-columns"
5461
5495
  ]
5462
5496
  }
5463
- ), /* @__PURE__ */ React87.createElement(
5497
+ ), /* @__PURE__ */ React88.createElement(
5464
5498
  StyleTabSection,
5465
5499
  {
5466
5500
  section: {
5467
5501
  component: SpacingSection,
5468
5502
  name: "Spacing",
5469
- title: __61("Spacing", "elementor")
5503
+ title: __62("Spacing", "elementor")
5470
5504
  },
5471
5505
  fields: ["margin", "padding"]
5472
5506
  }
5473
- ), /* @__PURE__ */ React87.createElement(
5507
+ ), /* @__PURE__ */ React88.createElement(
5474
5508
  StyleTabSection,
5475
5509
  {
5476
5510
  section: {
5477
5511
  component: SizeSection,
5478
5512
  name: "Size",
5479
- title: __61("Size", "elementor")
5513
+ title: __62("Size", "elementor")
5480
5514
  },
5481
5515
  fields: [
5482
5516
  "width",
@@ -5490,23 +5524,23 @@ var StyleTab = () => {
5490
5524
  "object-fit"
5491
5525
  ]
5492
5526
  }
5493
- ), /* @__PURE__ */ React87.createElement(
5527
+ ), /* @__PURE__ */ React88.createElement(
5494
5528
  StyleTabSection,
5495
5529
  {
5496
5530
  section: {
5497
5531
  component: PositionSection,
5498
5532
  name: "Position",
5499
- title: __61("Position", "elementor")
5533
+ title: __62("Position", "elementor")
5500
5534
  },
5501
5535
  fields: ["position", "z-index", "scroll-margin-top"]
5502
5536
  }
5503
- ), /* @__PURE__ */ React87.createElement(
5537
+ ), /* @__PURE__ */ React88.createElement(
5504
5538
  StyleTabSection,
5505
5539
  {
5506
5540
  section: {
5507
5541
  component: TypographySection,
5508
5542
  name: "Typography",
5509
- title: __61("Typography", "elementor")
5543
+ title: __62("Typography", "elementor")
5510
5544
  },
5511
5545
  fields: [
5512
5546
  "font-family",
@@ -5525,33 +5559,33 @@ var StyleTab = () => {
5525
5559
  "stroke"
5526
5560
  ]
5527
5561
  }
5528
- ), /* @__PURE__ */ React87.createElement(
5562
+ ), /* @__PURE__ */ React88.createElement(
5529
5563
  StyleTabSection,
5530
5564
  {
5531
5565
  section: {
5532
5566
  component: BackgroundSection,
5533
5567
  name: "Background",
5534
- title: __61("Background", "elementor")
5568
+ title: __62("Background", "elementor")
5535
5569
  },
5536
5570
  fields: ["background"]
5537
5571
  }
5538
- ), /* @__PURE__ */ React87.createElement(
5572
+ ), /* @__PURE__ */ React88.createElement(
5539
5573
  StyleTabSection,
5540
5574
  {
5541
5575
  section: {
5542
5576
  component: BorderSection,
5543
5577
  name: "Border",
5544
- title: __61("Border", "elementor")
5578
+ title: __62("Border", "elementor")
5545
5579
  },
5546
5580
  fields: ["border-radius", "border-width", "border-color", "border-style"]
5547
5581
  }
5548
- ), /* @__PURE__ */ React87.createElement(
5582
+ ), /* @__PURE__ */ React88.createElement(
5549
5583
  StyleTabSection,
5550
5584
  {
5551
5585
  section: {
5552
5586
  component: EffectsSection,
5553
5587
  name: "Effects",
5554
- title: __61("Effects", "elementor")
5588
+ title: __62("Effects", "elementor")
5555
5589
  },
5556
5590
  fields: [
5557
5591
  "mix-blend-mode",
@@ -5564,12 +5598,12 @@ var StyleTab = () => {
5564
5598
  "transition"
5565
5599
  ]
5566
5600
  }
5567
- ), /* @__PURE__ */ React87.createElement(StyleTabSlot, null)), /* @__PURE__ */ React87.createElement(Box6, { sx: { height: "150px" } })))
5601
+ ), /* @__PURE__ */ React88.createElement(StyleTabSlot, null)), /* @__PURE__ */ React88.createElement(Box6, { sx: { height: "150px" } })))
5568
5602
  ));
5569
5603
  };
5570
5604
  function ClassesHeader({ children }) {
5571
5605
  const scrollDirection = useScrollDirection();
5572
- return /* @__PURE__ */ React87.createElement(Stack12, { sx: { ...stickyHeaderStyles, top: scrollDirection === "up" ? TABS_HEADER_HEIGHT : 0 } }, children);
5606
+ return /* @__PURE__ */ React88.createElement(Stack13, { sx: { ...stickyHeaderStyles, top: scrollDirection === "up" ? TABS_HEADER_HEIGHT : 0 } }, children);
5573
5607
  }
5574
5608
  function useCurrentClassesProp() {
5575
5609
  const { elementType } = useElement();
@@ -5588,7 +5622,7 @@ var EditingPanelTabs = () => {
5588
5622
  return (
5589
5623
  // When switching between elements, the local states should be reset. We are using key to rerender the tabs.
5590
5624
  // Reference: https://react.dev/learn/preserving-and-resetting-state#resetting-a-form-with-a-key
5591
- /* @__PURE__ */ React88.createElement(Fragment9, { key: element.id }, /* @__PURE__ */ React88.createElement(PanelTabContent, null))
5625
+ /* @__PURE__ */ React89.createElement(Fragment9, { key: element.id }, /* @__PURE__ */ React89.createElement(PanelTabContent, null))
5592
5626
  );
5593
5627
  };
5594
5628
  var PanelTabContent = () => {
@@ -5600,7 +5634,7 @@ var PanelTabContent = () => {
5600
5634
  const [storedTab, setCurrentTab] = useStateByElement("tab", defaultComponentTab);
5601
5635
  const currentTab = isPromotedElement && storedTab === "settings" ? "style" : storedTab;
5602
5636
  const { getTabProps, getTabPanelProps, getTabsProps } = useTabs(currentTab);
5603
- return /* @__PURE__ */ React88.createElement(ScrollProvider, null, /* @__PURE__ */ React88.createElement(Stack13, { direction: "column", sx: { width: "100%" } }, /* @__PURE__ */ React88.createElement(Stack13, { sx: { ...stickyHeaderStyles, top: 0 } }, /* @__PURE__ */ React88.createElement(
5637
+ return /* @__PURE__ */ React89.createElement(ScrollProvider, null, /* @__PURE__ */ React89.createElement(Stack14, { direction: "column", sx: { width: "100%" } }, /* @__PURE__ */ React89.createElement(Stack14, { sx: { ...stickyHeaderStyles, top: 0 } }, /* @__PURE__ */ React89.createElement(
5604
5638
  Tabs,
5605
5639
  {
5606
5640
  variant: "fullWidth",
@@ -5612,10 +5646,10 @@ var PanelTabContent = () => {
5612
5646
  setCurrentTab(newValue);
5613
5647
  }
5614
5648
  },
5615
- !isPromotedElement && /* @__PURE__ */ React88.createElement(Tab, { label: __62("General", "elementor"), ...getTabProps("settings") }),
5616
- /* @__PURE__ */ React88.createElement(Tab, { label: __62("Style", "elementor"), ...getTabProps("style") }),
5617
- isInteractionsActive && /* @__PURE__ */ React88.createElement(Tab, { label: __62("Interactions", "elementor"), ...getTabProps("interactions") })
5618
- ), /* @__PURE__ */ React88.createElement(Divider6, null)), !isPromotedElement && /* @__PURE__ */ React88.createElement(TabPanel, { ...getTabPanelProps("settings"), disablePadding: true }, /* @__PURE__ */ React88.createElement(SettingsTab, null)), /* @__PURE__ */ React88.createElement(TabPanel, { ...getTabPanelProps("style"), disablePadding: true }, /* @__PURE__ */ React88.createElement(StyleTab, null)), isInteractionsActive && /* @__PURE__ */ React88.createElement(TabPanel, { ...getTabPanelProps("interactions"), disablePadding: true }, /* @__PURE__ */ React88.createElement(InteractionsTab, null))));
5649
+ !isPromotedElement && /* @__PURE__ */ React89.createElement(Tab, { label: __63("General", "elementor"), ...getTabProps("settings") }),
5650
+ /* @__PURE__ */ React89.createElement(Tab, { label: __63("Style", "elementor"), ...getTabProps("style") }),
5651
+ isInteractionsActive && /* @__PURE__ */ React89.createElement(Tab, { label: __63("Interactions", "elementor"), ...getTabProps("interactions") })
5652
+ ), /* @__PURE__ */ React89.createElement(Divider6, null)), !isPromotedElement && /* @__PURE__ */ React89.createElement(TabPanel, { ...getTabPanelProps("settings"), disablePadding: true }, /* @__PURE__ */ React89.createElement(SettingsTab, null)), /* @__PURE__ */ React89.createElement(TabPanel, { ...getTabPanelProps("style"), disablePadding: true }, /* @__PURE__ */ React89.createElement(StyleTab, null)), isInteractionsActive && /* @__PURE__ */ React89.createElement(TabPanel, { ...getTabPanelProps("interactions"), disablePadding: true }, /* @__PURE__ */ React89.createElement(InteractionsTab, null))));
5619
5653
  };
5620
5654
 
5621
5655
  // src/components/editing-panel.tsx
@@ -5628,13 +5662,13 @@ var EditingPanel = () => {
5628
5662
  if (!element || !elementType) {
5629
5663
  return null;
5630
5664
  }
5631
- const panelTitle = __63("Edit %s", "elementor").replace("%s", elementType.title);
5665
+ const panelTitle = __64("Edit %s", "elementor").replace("%s", elementType.title);
5632
5666
  const { component: ReplacementComponent } = getEditingPanelReplacement(element, elementType) ?? {};
5633
- let panelContent = /* @__PURE__ */ React89.createElement(React89.Fragment, null, /* @__PURE__ */ React89.createElement(PanelHeader, null, /* @__PURE__ */ React89.createElement(PanelHeaderTitle, null, panelTitle), /* @__PURE__ */ React89.createElement(AtomIcon, { fontSize: "small", sx: { color: "text.tertiary" } })), /* @__PURE__ */ React89.createElement(PanelBody, null, /* @__PURE__ */ React89.createElement(EditingPanelTabs, null)));
5667
+ let panelContent = /* @__PURE__ */ React90.createElement(React90.Fragment, null, /* @__PURE__ */ React90.createElement(PanelHeader, null, /* @__PURE__ */ React90.createElement(PanelHeaderTitle, null, panelTitle), /* @__PURE__ */ React90.createElement(AtomIcon, { fontSize: "small", sx: { color: "text.tertiary" } })), /* @__PURE__ */ React90.createElement(PanelBody, null, /* @__PURE__ */ React90.createElement(EditingPanelTabs, null)));
5634
5668
  if (ReplacementComponent) {
5635
- panelContent = /* @__PURE__ */ React89.createElement(ReplacementComponent, null);
5669
+ panelContent = /* @__PURE__ */ React90.createElement(ReplacementComponent, null);
5636
5670
  }
5637
- return /* @__PURE__ */ React89.createElement(ErrorBoundary, { fallback: /* @__PURE__ */ React89.createElement(EditorPanelErrorFallback, null) }, /* @__PURE__ */ React89.createElement(SessionStorageProvider3, { prefix: "elementor" }, /* @__PURE__ */ React89.createElement(ThemeProvider3, null, /* @__PURE__ */ React89.createElement(ControlActionsProvider, { items: menuItems }, /* @__PURE__ */ React89.createElement(ControlReplacementsProvider, { replacements: controlReplacements }, /* @__PURE__ */ React89.createElement(ElementProvider, { element, elementType, settings }, /* @__PURE__ */ React89.createElement(Panel, null, /* @__PURE__ */ React89.createElement(PanelHeaderTopSlot, null), panelContent)))))));
5671
+ return /* @__PURE__ */ React90.createElement(ErrorBoundary, { fallback: /* @__PURE__ */ React90.createElement(EditorPanelErrorFallback, null) }, /* @__PURE__ */ React90.createElement(SessionStorageProvider3, { prefix: "elementor" }, /* @__PURE__ */ React90.createElement(ThemeProvider3, null, /* @__PURE__ */ React90.createElement(ControlActionsProvider, { items: menuItems }, /* @__PURE__ */ React90.createElement(ControlReplacementsProvider, { replacements: controlReplacements }, /* @__PURE__ */ React90.createElement(ElementProvider, { element, elementType, settings }, /* @__PURE__ */ React90.createElement(Panel, null, /* @__PURE__ */ React90.createElement(PanelHeaderTopSlot, null), panelContent)))))));
5638
5672
  };
5639
5673
 
5640
5674
  // src/init.ts
@@ -5686,21 +5720,21 @@ var EditingPanelHooks = () => {
5686
5720
  import { AttributesControl, DisplayConditionsControl } from "@elementor/editor-controls";
5687
5721
 
5688
5722
  // src/components/promotions/custom-css.tsx
5689
- import * as React90 from "react";
5690
- import { useRef as useRef18 } from "react";
5723
+ import * as React91 from "react";
5724
+ import { useRef as useRef19 } from "react";
5691
5725
  import { PromotionTrigger } from "@elementor/editor-controls";
5692
- import { __ as __64 } from "@wordpress/i18n";
5726
+ import { __ as __65 } from "@wordpress/i18n";
5693
5727
  var TRACKING_DATA = { target_name: "custom_css", location_l2: "style" };
5694
5728
  var CustomCssSection = () => {
5695
- const triggerRef = useRef18(null);
5696
- return /* @__PURE__ */ React90.createElement(
5729
+ const triggerRef = useRef19(null);
5730
+ return /* @__PURE__ */ React91.createElement(
5697
5731
  StyleTabSection,
5698
5732
  {
5699
5733
  section: {
5700
5734
  name: "Custom CSS",
5701
- title: __64("Custom CSS", "elementor"),
5735
+ title: __65("Custom CSS", "elementor"),
5702
5736
  action: {
5703
- component: /* @__PURE__ */ React90.createElement(PromotionTrigger, { ref: triggerRef, promotionKey: "customCss", trackingData: TRACKING_DATA }),
5737
+ component: /* @__PURE__ */ React91.createElement(PromotionTrigger, { ref: triggerRef, promotionKey: "customCss", trackingData: TRACKING_DATA }),
5704
5738
  onClick: () => triggerRef.current?.toggle()
5705
5739
  }
5706
5740
  }
@@ -5722,7 +5756,7 @@ var init = () => {
5722
5756
  };
5723
5757
 
5724
5758
  // src/controls-registry/element-controls/tabs-control/tabs-control.tsx
5725
- import * as React91 from "react";
5759
+ import * as React92 from "react";
5726
5760
  import {
5727
5761
  ControlFormLabel as ControlFormLabel3,
5728
5762
  Repeater,
@@ -5735,8 +5769,8 @@ import {
5735
5769
  } from "@elementor/editor-elements";
5736
5770
  import { numberPropTypeUtil as numberPropTypeUtil4 } from "@elementor/editor-props";
5737
5771
  import { InfoCircleFilledIcon as InfoCircleFilledIcon2 } from "@elementor/icons";
5738
- import { Alert as Alert4, Chip as Chip4, Infotip as Infotip2, Stack as Stack14, Switch, TextField as TextField2, Typography as Typography5 } from "@elementor/ui";
5739
- import { __ as __66 } from "@wordpress/i18n";
5772
+ import { Alert as Alert4, Chip as Chip4, Infotip as Infotip2, Stack as Stack15, Switch, TextField as TextField2, Typography as Typography5 } from "@elementor/ui";
5773
+ import { __ as __67 } from "@wordpress/i18n";
5740
5774
 
5741
5775
  // src/controls-registry/element-controls/get-element-by-type.ts
5742
5776
  import { getContainer as getContainer2 } from "@elementor/editor-elements";
@@ -5761,7 +5795,7 @@ import {
5761
5795
  removeElements
5762
5796
  } from "@elementor/editor-elements";
5763
5797
  import { numberPropTypeUtil as numberPropTypeUtil3 } from "@elementor/editor-props";
5764
- import { __ as __65 } from "@wordpress/i18n";
5798
+ import { __ as __66 } from "@wordpress/i18n";
5765
5799
  var TAB_ELEMENT_TYPE = "e-tab";
5766
5800
  var TAB_CONTENT_ELEMENT_TYPE = "e-tab-content";
5767
5801
  var useActions = () => {
@@ -5784,7 +5818,7 @@ var useActions = () => {
5784
5818
  }
5785
5819
  duplicateElements({
5786
5820
  elementIds: [tabId, tabContentId],
5787
- title: __65("Duplicate Tab", "elementor"),
5821
+ title: __66("Duplicate Tab", "elementor"),
5788
5822
  onDuplicateElements: () => {
5789
5823
  if (newDefault !== defaultActiveTab) {
5790
5824
  setDefaultActiveTab(newDefault, {}, { withHistory: false });
@@ -5821,7 +5855,7 @@ var useActions = () => {
5821
5855
  defaultActiveTab
5822
5856
  });
5823
5857
  moveElements({
5824
- title: __65("Reorder Tabs", "elementor"),
5858
+ title: __66("Reorder Tabs", "elementor"),
5825
5859
  moves: [
5826
5860
  {
5827
5861
  element: movedElement,
@@ -5855,7 +5889,7 @@ var useActions = () => {
5855
5889
  defaultActiveTab
5856
5890
  });
5857
5891
  removeElements({
5858
- title: __65("Tabs", "elementor"),
5892
+ title: __66("Tabs", "elementor"),
5859
5893
  elementIds: items3.flatMap(({ item, index }) => {
5860
5894
  const tabId = item.id;
5861
5895
  const tabContentContainer = getContainer3(tabContentAreaId);
@@ -5890,7 +5924,7 @@ var useActions = () => {
5890
5924
  items3.forEach(({ index }) => {
5891
5925
  const position = index + 1;
5892
5926
  createElements({
5893
- title: __65("Tabs", "elementor"),
5927
+ title: __66("Tabs", "elementor"),
5894
5928
  elements: [
5895
5929
  {
5896
5930
  container: tabContentArea,
@@ -5959,7 +5993,7 @@ var calculateDefaultOnDuplicate = ({
5959
5993
  var TAB_MENU_ELEMENT_TYPE = "e-tabs-menu";
5960
5994
  var TAB_CONTENT_AREA_ELEMENT_TYPE = "e-tabs-content-area";
5961
5995
  var TabsControl = ({ label }) => {
5962
- return /* @__PURE__ */ React91.createElement(SettingsField, { bind: "default-active-tab", propDisplayName: __66("Tabs", "elementor") }, /* @__PURE__ */ React91.createElement(TabsControlContent, { label }));
5996
+ return /* @__PURE__ */ React92.createElement(SettingsField, { bind: "default-active-tab", propDisplayName: __67("Tabs", "elementor") }, /* @__PURE__ */ React92.createElement(TabsControlContent, { label }));
5963
5997
  };
5964
5998
  var TabsControlContent = ({ label }) => {
5965
5999
  const { element } = useElement();
@@ -6003,7 +6037,7 @@ var TabsControlContent = ({ label }) => {
6003
6037
  });
6004
6038
  }
6005
6039
  };
6006
- return /* @__PURE__ */ React91.createElement(
6040
+ return /* @__PURE__ */ React92.createElement(
6007
6041
  Repeater,
6008
6042
  {
6009
6043
  showToggle: false,
@@ -6023,7 +6057,7 @@ var TabsControlContent = ({ label }) => {
6023
6057
  };
6024
6058
  var ItemLabel = ({ value, index }) => {
6025
6059
  const elementTitle = value?.title;
6026
- return /* @__PURE__ */ React91.createElement(Stack14, { sx: { minHeight: 20 }, direction: "row", alignItems: "center", gap: 1.5 }, /* @__PURE__ */ React91.createElement("span", null, elementTitle), /* @__PURE__ */ React91.createElement(ItemDefaultTab, { index }));
6060
+ return /* @__PURE__ */ React92.createElement(Stack15, { sx: { minHeight: 20 }, direction: "row", alignItems: "center", gap: 1.5 }, /* @__PURE__ */ React92.createElement("span", null, elementTitle), /* @__PURE__ */ React92.createElement(ItemDefaultTab, { index }));
6027
6061
  };
6028
6062
  var ItemDefaultTab = ({ index }) => {
6029
6063
  const { value: defaultItem } = useBoundProp6(numberPropTypeUtil4);
@@ -6031,18 +6065,18 @@ var ItemDefaultTab = ({ index }) => {
6031
6065
  if (!isDefault) {
6032
6066
  return null;
6033
6067
  }
6034
- return /* @__PURE__ */ React91.createElement(Chip4, { size: "tiny", shape: "rounded", label: __66("Default", "elementor") });
6068
+ return /* @__PURE__ */ React92.createElement(Chip4, { size: "tiny", shape: "rounded", label: __67("Default", "elementor") });
6035
6069
  };
6036
6070
  var ItemContent = ({ value, index }) => {
6037
6071
  if (!value.id) {
6038
6072
  return null;
6039
6073
  }
6040
- return /* @__PURE__ */ React91.createElement(Stack14, { p: 2, gap: 1.5 }, /* @__PURE__ */ React91.createElement(TabLabelControl, { elementId: value.id }), /* @__PURE__ */ React91.createElement(SettingsField, { bind: "default-active-tab", propDisplayName: __66("Tabs", "elementor") }, /* @__PURE__ */ React91.createElement(DefaultTabControl, { tabIndex: index })));
6074
+ return /* @__PURE__ */ React92.createElement(Stack15, { p: 2, gap: 1.5 }, /* @__PURE__ */ React92.createElement(TabLabelControl, { elementId: value.id }), /* @__PURE__ */ React92.createElement(SettingsField, { bind: "default-active-tab", propDisplayName: __67("Tabs", "elementor") }, /* @__PURE__ */ React92.createElement(DefaultTabControl, { tabIndex: index })));
6041
6075
  };
6042
6076
  var DefaultTabControl = ({ tabIndex }) => {
6043
6077
  const { value, setValue } = useBoundProp6(numberPropTypeUtil4);
6044
6078
  const isDefault = value === tabIndex;
6045
- return /* @__PURE__ */ React91.createElement(Stack14, { direction: "row", alignItems: "center", justifyContent: "space-between", gap: 2 }, /* @__PURE__ */ React91.createElement(ControlFormLabel3, null, __66("Set as default tab", "elementor")), /* @__PURE__ */ React91.createElement(ConditionalTooltip, { showTooltip: isDefault, placement: "right" }, /* @__PURE__ */ React91.createElement(
6079
+ return /* @__PURE__ */ React92.createElement(Stack15, { direction: "row", alignItems: "center", justifyContent: "space-between", gap: 2 }, /* @__PURE__ */ React92.createElement(ControlFormLabel3, null, __67("Set as default tab", "elementor")), /* @__PURE__ */ React92.createElement(ConditionalTooltip, { showTooltip: isDefault, placement: "right" }, /* @__PURE__ */ React92.createElement(
6046
6080
  Switch,
6047
6081
  {
6048
6082
  size: "small",
@@ -6060,7 +6094,7 @@ var DefaultTabControl = ({ tabIndex }) => {
6060
6094
  var TabLabelControl = ({ elementId }) => {
6061
6095
  const editorSettings = useElementEditorSettings(elementId);
6062
6096
  const label = editorSettings?.title ?? "";
6063
- return /* @__PURE__ */ React91.createElement(Stack14, { gap: 1 }, /* @__PURE__ */ React91.createElement(ControlFormLabel3, null, __66("Tab name", "elementor")), /* @__PURE__ */ React91.createElement(
6097
+ return /* @__PURE__ */ React92.createElement(Stack15, { gap: 1 }, /* @__PURE__ */ React92.createElement(ControlFormLabel3, null, __67("Tab name", "elementor")), /* @__PURE__ */ React92.createElement(
6064
6098
  TextField2,
6065
6099
  {
6066
6100
  size: "tiny",
@@ -6081,22 +6115,22 @@ var ConditionalTooltip = ({
6081
6115
  if (!showTooltip) {
6082
6116
  return children;
6083
6117
  }
6084
- return /* @__PURE__ */ React91.createElement(
6118
+ return /* @__PURE__ */ React92.createElement(
6085
6119
  Infotip2,
6086
6120
  {
6087
6121
  arrow: false,
6088
- content: /* @__PURE__ */ React91.createElement(
6122
+ content: /* @__PURE__ */ React92.createElement(
6089
6123
  Alert4,
6090
6124
  {
6091
6125
  color: "secondary",
6092
- icon: /* @__PURE__ */ React91.createElement(InfoCircleFilledIcon2, { fontSize: "tiny" }),
6126
+ icon: /* @__PURE__ */ React92.createElement(InfoCircleFilledIcon2, { fontSize: "tiny" }),
6093
6127
  size: "small",
6094
6128
  sx: { width: 288 }
6095
6129
  },
6096
- /* @__PURE__ */ React91.createElement(Typography5, { variant: "body2" }, __66("To change the default tab, simply set another tab as default.", "elementor"))
6130
+ /* @__PURE__ */ React92.createElement(Typography5, { variant: "body2" }, __67("To change the default tab, simply set another tab as default.", "elementor"))
6097
6131
  )
6098
6132
  },
6099
- /* @__PURE__ */ React91.createElement("span", null, children)
6133
+ /* @__PURE__ */ React92.createElement("span", null, children)
6100
6134
  );
6101
6135
  };
6102
6136
 
@@ -6122,7 +6156,7 @@ import {
6122
6156
  import { controlActionsMenu as controlActionsMenu2 } from "@elementor/menus";
6123
6157
 
6124
6158
  // src/dynamics/components/background-control-dynamic-tag.tsx
6125
- import * as React92 from "react";
6159
+ import * as React93 from "react";
6126
6160
  import { PropKeyProvider as PropKeyProvider4, PropProvider as PropProvider4, useBoundProp as useBoundProp8 } from "@elementor/editor-controls";
6127
6161
  import {
6128
6162
  backgroundImageOverlayPropTypeUtil
@@ -6265,24 +6299,24 @@ var useDynamicTag = (tagName) => {
6265
6299
  };
6266
6300
 
6267
6301
  // src/dynamics/components/background-control-dynamic-tag.tsx
6268
- var BackgroundControlDynamicTagIcon = () => /* @__PURE__ */ React92.createElement(DatabaseIcon, { fontSize: "tiny" });
6302
+ var BackgroundControlDynamicTagIcon = () => /* @__PURE__ */ React93.createElement(DatabaseIcon, { fontSize: "tiny" });
6269
6303
  var BackgroundControlDynamicTagLabel = ({ value }) => {
6270
6304
  const context = useBoundProp8(backgroundImageOverlayPropTypeUtil);
6271
- return /* @__PURE__ */ React92.createElement(PropProvider4, { ...context, value: value.value }, /* @__PURE__ */ React92.createElement(PropKeyProvider4, { bind: "image" }, /* @__PURE__ */ React92.createElement(Wrapper2, { rawValue: value.value })));
6305
+ return /* @__PURE__ */ React93.createElement(PropProvider4, { ...context, value: value.value }, /* @__PURE__ */ React93.createElement(PropKeyProvider4, { bind: "image" }, /* @__PURE__ */ React93.createElement(Wrapper2, { rawValue: value.value })));
6272
6306
  };
6273
6307
  var Wrapper2 = ({ rawValue }) => {
6274
6308
  const { propType } = useBoundProp8();
6275
6309
  const imageOverlayPropType = propType.prop_types["background-image-overlay"];
6276
- return /* @__PURE__ */ React92.createElement(PropProvider4, { propType: imageOverlayPropType.shape.image, value: rawValue, setValue: () => void 0 }, /* @__PURE__ */ React92.createElement(PropKeyProvider4, { bind: "src" }, /* @__PURE__ */ React92.createElement(Content, { rawValue: rawValue.image })));
6310
+ return /* @__PURE__ */ React93.createElement(PropProvider4, { propType: imageOverlayPropType.shape.image, value: rawValue, setValue: () => void 0 }, /* @__PURE__ */ React93.createElement(PropKeyProvider4, { bind: "src" }, /* @__PURE__ */ React93.createElement(Content, { rawValue: rawValue.image })));
6277
6311
  };
6278
6312
  var Content = ({ rawValue }) => {
6279
6313
  const src = rawValue.value.src;
6280
6314
  const dynamicTag = useDynamicTag(src.value.name || "");
6281
- return /* @__PURE__ */ React92.createElement(React92.Fragment, null, dynamicTag?.label);
6315
+ return /* @__PURE__ */ React93.createElement(React93.Fragment, null, dynamicTag?.label);
6282
6316
  };
6283
6317
 
6284
6318
  // src/dynamics/components/dynamic-selection-control.tsx
6285
- import * as React96 from "react";
6319
+ import * as React97 from "react";
6286
6320
  import {
6287
6321
  ControlFormLabel as ControlFormLabel4,
6288
6322
  PropKeyProvider as PropKeyProvider6,
@@ -6299,7 +6333,7 @@ import {
6299
6333
  Grid as Grid8,
6300
6334
  IconButton as IconButton2,
6301
6335
  Popover,
6302
- Stack as Stack16,
6336
+ Stack as Stack17,
6303
6337
  Tab as Tab2,
6304
6338
  TabPanel as TabPanel2,
6305
6339
  Tabs as Tabs2,
@@ -6307,7 +6341,7 @@ import {
6307
6341
  usePopupState as usePopupState2,
6308
6342
  useTabs as useTabs2
6309
6343
  } from "@elementor/ui";
6310
- import { __ as __68 } from "@wordpress/i18n";
6344
+ import { __ as __69 } from "@wordpress/i18n";
6311
6345
 
6312
6346
  // src/hooks/use-persist-dynamic-value.ts
6313
6347
  import { useSessionStorage as useSessionStorage5 } from "@elementor/session";
@@ -6318,11 +6352,11 @@ var usePersistDynamicValue = (propKey) => {
6318
6352
  };
6319
6353
 
6320
6354
  // src/dynamics/dynamic-control.tsx
6321
- import * as React94 from "react";
6355
+ import * as React95 from "react";
6322
6356
  import { PropKeyProvider as PropKeyProvider5, PropProvider as PropProvider5, useBoundProp as useBoundProp9 } from "@elementor/editor-controls";
6323
6357
 
6324
6358
  // src/dynamics/components/dynamic-conditional-control.tsx
6325
- import * as React93 from "react";
6359
+ import * as React94 from "react";
6326
6360
  import { useMemo as useMemo14 } from "react";
6327
6361
  import { isDependencyMet as isDependencyMet3 } from "@elementor/editor-props";
6328
6362
  var DynamicConditionalControl = ({
@@ -6364,10 +6398,10 @@ var DynamicConditionalControl = ({
6364
6398
  return { ...defaults, ...convertedSettings };
6365
6399
  }, [defaults, convertedSettings]);
6366
6400
  if (!propType?.dependencies?.terms.length) {
6367
- return /* @__PURE__ */ React93.createElement(React93.Fragment, null, children);
6401
+ return /* @__PURE__ */ React94.createElement(React94.Fragment, null, children);
6368
6402
  }
6369
6403
  const isHidden = !isDependencyMet3(propType?.dependencies, effectiveSettings).isMet;
6370
- return isHidden ? null : /* @__PURE__ */ React93.createElement(React93.Fragment, null, children);
6404
+ return isHidden ? null : /* @__PURE__ */ React94.createElement(React94.Fragment, null, children);
6371
6405
  };
6372
6406
 
6373
6407
  // src/dynamics/dynamic-control.tsx
@@ -6392,7 +6426,7 @@ var DynamicControl = ({ bind, children }) => {
6392
6426
  });
6393
6427
  };
6394
6428
  const propType = createTopLevelObjectType({ schema: dynamicTag.props_schema });
6395
- return /* @__PURE__ */ React94.createElement(PropProvider5, { propType, setValue: setDynamicValue, value: { [bind]: dynamicValue } }, /* @__PURE__ */ React94.createElement(PropKeyProvider5, { bind }, /* @__PURE__ */ React94.createElement(
6429
+ return /* @__PURE__ */ React95.createElement(PropProvider5, { propType, setValue: setDynamicValue, value: { [bind]: dynamicValue } }, /* @__PURE__ */ React95.createElement(PropKeyProvider5, { bind }, /* @__PURE__ */ React95.createElement(
6396
6430
  DynamicConditionalControl,
6397
6431
  {
6398
6432
  propType: dynamicPropType,
@@ -6404,13 +6438,13 @@ var DynamicControl = ({ bind, children }) => {
6404
6438
  };
6405
6439
 
6406
6440
  // src/dynamics/components/dynamic-selection.tsx
6407
- import * as React95 from "react";
6441
+ import * as React96 from "react";
6408
6442
  import { Fragment as Fragment14, useEffect as useEffect9, useState as useState10 } from "react";
6409
6443
  import { trackUpgradePromotionClick, trackViewPromotion, useBoundProp as useBoundProp10 } from "@elementor/editor-controls";
6410
6444
  import { CtaButton, PopoverHeader, PopoverMenuList, SearchField, SectionPopoverBody } from "@elementor/editor-ui";
6411
6445
  import { DatabaseIcon as DatabaseIcon2 } from "@elementor/icons";
6412
- import { Divider as Divider7, Link as Link2, Stack as Stack15, Typography as Typography6, useTheme as useTheme3 } from "@elementor/ui";
6413
- import { __ as __67 } from "@wordpress/i18n";
6446
+ import { Divider as Divider7, Link as Link2, Stack as Stack16, Typography as Typography6, useTheme as useTheme3 } from "@elementor/ui";
6447
+ import { __ as __68 } from "@wordpress/i18n";
6414
6448
  var SIZE2 = "tiny";
6415
6449
  var PROMO_TEXT_WIDTH = 170;
6416
6450
  var PRO_DYNAMIC_TAGS_URL = "https://go.elementor.com/go-pro-dynamic-tags-modal/";
@@ -6457,19 +6491,19 @@ var DynamicSelection = ({ close: closePopover, expired = false }) => {
6457
6491
  ]);
6458
6492
  const getPopOverContent = () => {
6459
6493
  if (hasNoDynamicTags) {
6460
- return /* @__PURE__ */ React95.createElement(NoDynamicTags, null);
6494
+ return /* @__PURE__ */ React96.createElement(NoDynamicTags, null);
6461
6495
  }
6462
6496
  if (expired) {
6463
- return /* @__PURE__ */ React95.createElement(ExpiredDynamicTags, null);
6497
+ return /* @__PURE__ */ React96.createElement(ExpiredDynamicTags, null);
6464
6498
  }
6465
- return /* @__PURE__ */ React95.createElement(Fragment14, null, /* @__PURE__ */ React95.createElement(
6499
+ return /* @__PURE__ */ React96.createElement(Fragment14, null, /* @__PURE__ */ React96.createElement(
6466
6500
  SearchField,
6467
6501
  {
6468
6502
  value: searchValue,
6469
6503
  onSearch: handleSearch,
6470
- placeholder: __67("Search dynamic tags\u2026", "elementor")
6504
+ placeholder: __68("Search dynamic tags\u2026", "elementor")
6471
6505
  }
6472
- ), /* @__PURE__ */ React95.createElement(Divider7, null), /* @__PURE__ */ React95.createElement(
6506
+ ), /* @__PURE__ */ React96.createElement(Divider7, null), /* @__PURE__ */ React96.createElement(
6473
6507
  PopoverMenuList,
6474
6508
  {
6475
6509
  items: virtualizedItems,
@@ -6477,21 +6511,21 @@ var DynamicSelection = ({ close: closePopover, expired = false }) => {
6477
6511
  onClose: closePopover,
6478
6512
  selectedValue: dynamicValue?.name,
6479
6513
  itemStyle: (item) => item.type === "item" ? { paddingInlineStart: theme.spacing(3.5) } : {},
6480
- noResultsComponent: /* @__PURE__ */ React95.createElement(NoResults, { searchValue, onClear: () => setSearchValue("") })
6514
+ noResultsComponent: /* @__PURE__ */ React96.createElement(NoResults, { searchValue, onClear: () => setSearchValue("") })
6481
6515
  }
6482
6516
  ));
6483
6517
  };
6484
- return /* @__PURE__ */ React95.createElement(SectionPopoverBody, { "aria-label": __67("Dynamic tags", "elementor") }, /* @__PURE__ */ React95.createElement(
6518
+ return /* @__PURE__ */ React96.createElement(SectionPopoverBody, { "aria-label": __68("Dynamic tags", "elementor") }, /* @__PURE__ */ React96.createElement(
6485
6519
  PopoverHeader,
6486
6520
  {
6487
- title: __67("Dynamic tags", "elementor"),
6521
+ title: __68("Dynamic tags", "elementor"),
6488
6522
  onClose: closePopover,
6489
- icon: /* @__PURE__ */ React95.createElement(DatabaseIcon2, { fontSize: SIZE2 })
6523
+ icon: /* @__PURE__ */ React96.createElement(DatabaseIcon2, { fontSize: SIZE2 })
6490
6524
  }
6491
6525
  ), getPopOverContent());
6492
6526
  };
6493
- var NoResults = ({ searchValue, onClear }) => /* @__PURE__ */ React95.createElement(
6494
- Stack15,
6527
+ var NoResults = ({ searchValue, onClear }) => /* @__PURE__ */ React96.createElement(
6528
+ Stack16,
6495
6529
  {
6496
6530
  gap: 1,
6497
6531
  alignItems: "center",
@@ -6501,12 +6535,12 @@ var NoResults = ({ searchValue, onClear }) => /* @__PURE__ */ React95.createElem
6501
6535
  color: "text.secondary",
6502
6536
  sx: { pb: 3.5 }
6503
6537
  },
6504
- /* @__PURE__ */ React95.createElement(DatabaseIcon2, { fontSize: "large" }),
6505
- /* @__PURE__ */ React95.createElement(Typography6, { align: "center", variant: "subtitle2" }, __67("Sorry, nothing matched", "elementor"), /* @__PURE__ */ React95.createElement("br", null), "\u201C", searchValue, "\u201D."),
6506
- /* @__PURE__ */ React95.createElement(Typography6, { align: "center", variant: "caption", sx: { display: "flex", flexDirection: "column" } }, __67("Try something else.", "elementor"), /* @__PURE__ */ React95.createElement(Link2, { color: "text.secondary", variant: "caption", component: "button", onClick: onClear }, __67("Clear & try again", "elementor")))
6538
+ /* @__PURE__ */ React96.createElement(DatabaseIcon2, { fontSize: "large" }),
6539
+ /* @__PURE__ */ React96.createElement(Typography6, { align: "center", variant: "subtitle2" }, __68("Sorry, nothing matched", "elementor"), /* @__PURE__ */ React96.createElement("br", null), "\u201C", searchValue, "\u201D."),
6540
+ /* @__PURE__ */ React96.createElement(Typography6, { align: "center", variant: "caption", sx: { display: "flex", flexDirection: "column" } }, __68("Try something else.", "elementor"), /* @__PURE__ */ React96.createElement(Link2, { color: "text.secondary", variant: "caption", component: "button", onClick: onClear }, __68("Clear & try again", "elementor")))
6507
6541
  );
6508
- var NoDynamicTags = () => /* @__PURE__ */ React95.createElement(React95.Fragment, null, /* @__PURE__ */ React95.createElement(Divider7, null), /* @__PURE__ */ React95.createElement(
6509
- Stack15,
6542
+ var NoDynamicTags = () => /* @__PURE__ */ React96.createElement(React96.Fragment, null, /* @__PURE__ */ React96.createElement(Divider7, null), /* @__PURE__ */ React96.createElement(
6543
+ Stack16,
6510
6544
  {
6511
6545
  gap: 1,
6512
6546
  alignItems: "center",
@@ -6516,10 +6550,10 @@ var NoDynamicTags = () => /* @__PURE__ */ React95.createElement(React95.Fragment
6516
6550
  color: "text.secondary",
6517
6551
  sx: { pb: 3.5 }
6518
6552
  },
6519
- /* @__PURE__ */ React95.createElement(DatabaseIcon2, { fontSize: "large" }),
6520
- /* @__PURE__ */ React95.createElement(Typography6, { align: "center", variant: "subtitle2" }, __67("Streamline your workflow with dynamic tags", "elementor")),
6521
- /* @__PURE__ */ React95.createElement(Typography6, { align: "center", variant: "caption", width: PROMO_TEXT_WIDTH }, __67("Upgrade now to display your content dynamically.", "elementor")),
6522
- /* @__PURE__ */ React95.createElement(
6553
+ /* @__PURE__ */ React96.createElement(DatabaseIcon2, { fontSize: "large" }),
6554
+ /* @__PURE__ */ React96.createElement(Typography6, { align: "center", variant: "subtitle2" }, __68("Streamline your workflow with dynamic tags", "elementor")),
6555
+ /* @__PURE__ */ React96.createElement(Typography6, { align: "center", variant: "caption", width: PROMO_TEXT_WIDTH }, __68("Upgrade now to display your content dynamically.", "elementor")),
6556
+ /* @__PURE__ */ React96.createElement(
6523
6557
  CtaButton,
6524
6558
  {
6525
6559
  size: "small",
@@ -6528,8 +6562,8 @@ var NoDynamicTags = () => /* @__PURE__ */ React95.createElement(React95.Fragment
6528
6562
  }
6529
6563
  )
6530
6564
  ));
6531
- var ExpiredDynamicTags = () => /* @__PURE__ */ React95.createElement(React95.Fragment, null, /* @__PURE__ */ React95.createElement(Divider7, null), /* @__PURE__ */ React95.createElement(
6532
- Stack15,
6565
+ var ExpiredDynamicTags = () => /* @__PURE__ */ React96.createElement(React96.Fragment, null, /* @__PURE__ */ React96.createElement(Divider7, null), /* @__PURE__ */ React96.createElement(
6566
+ Stack16,
6533
6567
  {
6534
6568
  gap: 1,
6535
6569
  alignItems: "center",
@@ -6539,16 +6573,16 @@ var ExpiredDynamicTags = () => /* @__PURE__ */ React95.createElement(React95.Fra
6539
6573
  color: "text.secondary",
6540
6574
  sx: { pb: 3.5 }
6541
6575
  },
6542
- /* @__PURE__ */ React95.createElement(DatabaseIcon2, { fontSize: "large" }),
6543
- /* @__PURE__ */ React95.createElement(Typography6, { align: "center", variant: "subtitle2" }, __67("Unlock your Dynamic tags again", "elementor")),
6544
- /* @__PURE__ */ React95.createElement(Typography6, { align: "center", variant: "caption", width: PROMO_TEXT_WIDTH }, __67("Dynamic tags need Elementor Pro. Renew now to keep them active.", "elementor")),
6545
- /* @__PURE__ */ React95.createElement(
6576
+ /* @__PURE__ */ React96.createElement(DatabaseIcon2, { fontSize: "large" }),
6577
+ /* @__PURE__ */ React96.createElement(Typography6, { align: "center", variant: "subtitle2" }, __68("Unlock your Dynamic tags again", "elementor")),
6578
+ /* @__PURE__ */ React96.createElement(Typography6, { align: "center", variant: "caption", width: PROMO_TEXT_WIDTH }, __68("Dynamic tags need Elementor Pro. Renew now to keep them active.", "elementor")),
6579
+ /* @__PURE__ */ React96.createElement(
6546
6580
  CtaButton,
6547
6581
  {
6548
6582
  size: "small",
6549
6583
  href: RENEW_DYNAMIC_TAGS_URL,
6550
6584
  onClick: () => trackUpgradePromotionClick({ target_name: "dynamic_tags" }),
6551
- children: __67("Renew Now", "elementor")
6585
+ children: __68("Renew Now", "elementor")
6552
6586
  }
6553
6587
  )
6554
6588
  ));
@@ -6585,7 +6619,7 @@ var DynamicSelectionControl = ({ OriginalControl, ...props }) => {
6585
6619
  const { name: tagName = "" } = value;
6586
6620
  const dynamicTag = useDynamicTag(tagName);
6587
6621
  if (!isDynamicTagSupported(tagName) && OriginalControl) {
6588
- return /* @__PURE__ */ React96.createElement(PropProvider6, { propType: originalPropType, value: { [bind]: null }, setValue: setAnyValue }, /* @__PURE__ */ React96.createElement(PropKeyProvider6, { bind }, /* @__PURE__ */ React96.createElement(OriginalControl, { ...props })));
6622
+ return /* @__PURE__ */ React97.createElement(PropProvider6, { propType: originalPropType, value: { [bind]: null }, setValue: setAnyValue }, /* @__PURE__ */ React97.createElement(PropKeyProvider6, { bind }, /* @__PURE__ */ React97.createElement(OriginalControl, { ...props })));
6589
6623
  }
6590
6624
  const removeDynamicTag = () => {
6591
6625
  setAnyValue(propValueFromHistory ?? null);
@@ -6593,25 +6627,25 @@ var DynamicSelectionControl = ({ OriginalControl, ...props }) => {
6593
6627
  if (!dynamicTag) {
6594
6628
  throw new Error(`Dynamic tag ${tagName} not found`);
6595
6629
  }
6596
- return /* @__PURE__ */ React96.createElement(Box7, null, /* @__PURE__ */ React96.createElement(
6630
+ return /* @__PURE__ */ React97.createElement(Box7, null, /* @__PURE__ */ React97.createElement(
6597
6631
  Tag,
6598
6632
  {
6599
6633
  fullWidth: true,
6600
6634
  showActionsOnHover: true,
6601
6635
  label: dynamicTag.label,
6602
- startIcon: /* @__PURE__ */ React96.createElement(DatabaseIcon3, { fontSize: SIZE3 }),
6636
+ startIcon: /* @__PURE__ */ React97.createElement(DatabaseIcon3, { fontSize: SIZE3 }),
6603
6637
  ...bindTrigger2(selectionPopoverState),
6604
- actions: /* @__PURE__ */ React96.createElement(React96.Fragment, null, /* @__PURE__ */ React96.createElement(DynamicSettingsPopover, { dynamicTag, disabled: readonly }), /* @__PURE__ */ React96.createElement(
6638
+ actions: /* @__PURE__ */ React97.createElement(React97.Fragment, null, /* @__PURE__ */ React97.createElement(DynamicSettingsPopover, { dynamicTag, disabled: readonly }), /* @__PURE__ */ React97.createElement(
6605
6639
  IconButton2,
6606
6640
  {
6607
6641
  size: SIZE3,
6608
6642
  onClick: removeDynamicTag,
6609
- "aria-label": __68("Remove dynamic value", "elementor")
6643
+ "aria-label": __69("Remove dynamic value", "elementor")
6610
6644
  },
6611
- /* @__PURE__ */ React96.createElement(XIcon, { fontSize: SIZE3 })
6645
+ /* @__PURE__ */ React97.createElement(XIcon, { fontSize: SIZE3 })
6612
6646
  ))
6613
6647
  }
6614
- ), /* @__PURE__ */ React96.createElement(
6648
+ ), /* @__PURE__ */ React97.createElement(
6615
6649
  Popover,
6616
6650
  {
6617
6651
  disablePortal: true,
@@ -6623,7 +6657,7 @@ var DynamicSelectionControl = ({ OriginalControl, ...props }) => {
6623
6657
  },
6624
6658
  ...bindPopover(selectionPopoverState)
6625
6659
  },
6626
- /* @__PURE__ */ React96.createElement(SectionPopoverBody2, { "aria-label": __68("Dynamic tags", "elementor") }, /* @__PURE__ */ React96.createElement(DynamicSelection, { close: selectionPopoverState.close, expired: readonly }))
6660
+ /* @__PURE__ */ React97.createElement(SectionPopoverBody2, { "aria-label": __69("Dynamic tags", "elementor") }, /* @__PURE__ */ React97.createElement(DynamicSelection, { close: selectionPopoverState.close, expired: readonly }))
6627
6661
  ));
6628
6662
  };
6629
6663
  var DynamicSettingsPopover = ({
@@ -6635,16 +6669,16 @@ var DynamicSettingsPopover = ({
6635
6669
  if (!hasDynamicSettings) {
6636
6670
  return null;
6637
6671
  }
6638
- return /* @__PURE__ */ React96.createElement(React96.Fragment, null, /* @__PURE__ */ React96.createElement(
6672
+ return /* @__PURE__ */ React97.createElement(React97.Fragment, null, /* @__PURE__ */ React97.createElement(
6639
6673
  IconButton2,
6640
6674
  {
6641
6675
  size: SIZE3,
6642
6676
  disabled,
6643
6677
  ...!disabled && bindTrigger2(popupState),
6644
- "aria-label": __68("Dynamic settings", "elementor")
6678
+ "aria-label": __69("Dynamic settings", "elementor")
6645
6679
  },
6646
- /* @__PURE__ */ React96.createElement(SettingsIcon, { fontSize: SIZE3 })
6647
- ), /* @__PURE__ */ React96.createElement(
6680
+ /* @__PURE__ */ React97.createElement(SettingsIcon, { fontSize: SIZE3 })
6681
+ ), /* @__PURE__ */ React97.createElement(
6648
6682
  Popover,
6649
6683
  {
6650
6684
  disablePortal: true,
@@ -6656,14 +6690,14 @@ var DynamicSettingsPopover = ({
6656
6690
  },
6657
6691
  ...bindPopover(popupState)
6658
6692
  },
6659
- /* @__PURE__ */ React96.createElement(SectionPopoverBody2, { "aria-label": __68("Dynamic settings", "elementor") }, /* @__PURE__ */ React96.createElement(
6693
+ /* @__PURE__ */ React97.createElement(SectionPopoverBody2, { "aria-label": __69("Dynamic settings", "elementor") }, /* @__PURE__ */ React97.createElement(
6660
6694
  PopoverHeader2,
6661
6695
  {
6662
6696
  title: dynamicTag.label,
6663
6697
  onClose: popupState.close,
6664
- icon: /* @__PURE__ */ React96.createElement(DatabaseIcon3, { fontSize: SIZE3 })
6698
+ icon: /* @__PURE__ */ React97.createElement(DatabaseIcon3, { fontSize: SIZE3 })
6665
6699
  }
6666
- ), /* @__PURE__ */ React96.createElement(DynamicSettings, { controls: dynamicTag.atomic_controls, tagName: dynamicTag.name }))
6700
+ ), /* @__PURE__ */ React97.createElement(DynamicSettings, { controls: dynamicTag.atomic_controls, tagName: dynamicTag.name }))
6667
6701
  ));
6668
6702
  };
6669
6703
  var DynamicSettings = ({ controls, tagName }) => {
@@ -6674,9 +6708,9 @@ var DynamicSettings = ({ controls, tagName }) => {
6674
6708
  }
6675
6709
  if (tagsWithoutTabs.includes(tagName)) {
6676
6710
  const singleTab = tabs[0];
6677
- return /* @__PURE__ */ React96.createElement(React96.Fragment, null, /* @__PURE__ */ React96.createElement(Divider8, null), /* @__PURE__ */ React96.createElement(ControlsItemsStack, { items: singleTab.value.items }));
6711
+ return /* @__PURE__ */ React97.createElement(React97.Fragment, null, /* @__PURE__ */ React97.createElement(Divider8, null), /* @__PURE__ */ React97.createElement(ControlsItemsStack, { items: singleTab.value.items }));
6678
6712
  }
6679
- return /* @__PURE__ */ React96.createElement(React96.Fragment, null, tabs.length > 1 && /* @__PURE__ */ React96.createElement(Tabs2, { size: "small", variant: "fullWidth", ...getTabsProps() }, tabs.map(({ value }, index) => /* @__PURE__ */ React96.createElement(
6713
+ return /* @__PURE__ */ React97.createElement(React97.Fragment, null, tabs.length > 1 && /* @__PURE__ */ React97.createElement(Tabs2, { size: "small", variant: "fullWidth", ...getTabsProps() }, tabs.map(({ value }, index) => /* @__PURE__ */ React97.createElement(
6680
6714
  Tab2,
6681
6715
  {
6682
6716
  key: index,
@@ -6684,15 +6718,15 @@ var DynamicSettings = ({ controls, tagName }) => {
6684
6718
  sx: { px: 1, py: 0.5 },
6685
6719
  ...getTabProps(index)
6686
6720
  }
6687
- ))), /* @__PURE__ */ React96.createElement(Divider8, null), tabs.map(({ value }, index) => {
6688
- return /* @__PURE__ */ React96.createElement(
6721
+ ))), /* @__PURE__ */ React97.createElement(Divider8, null), tabs.map(({ value }, index) => {
6722
+ return /* @__PURE__ */ React97.createElement(
6689
6723
  TabPanel2,
6690
6724
  {
6691
6725
  key: index,
6692
6726
  sx: { flexGrow: 1, py: 0, overflowY: "auto" },
6693
6727
  ...getTabPanelProps(index)
6694
6728
  },
6695
- /* @__PURE__ */ React96.createElement(ControlsItemsStack, { items: value.items })
6729
+ /* @__PURE__ */ React97.createElement(ControlsItemsStack, { items: value.items })
6696
6730
  );
6697
6731
  }));
6698
6732
  };
@@ -6734,11 +6768,11 @@ var Control2 = ({ control }) => {
6734
6768
  display: "grid",
6735
6769
  gridTemplateColumns: isSwitchControl ? "minmax(0, 1fr) max-content" : "1fr 1fr"
6736
6770
  } : {};
6737
- return /* @__PURE__ */ React96.createElement(DynamicControl, { bind: control.bind }, /* @__PURE__ */ React96.createElement(Grid8, { container: true, gap: 0.75, sx: layoutStyleProps }, control.label ? /* @__PURE__ */ React96.createElement(Grid8, { item: true, xs: 12 }, /* @__PURE__ */ React96.createElement(ControlFormLabel4, null, control.label)) : null, /* @__PURE__ */ React96.createElement(Grid8, { item: true, xs: 12 }, /* @__PURE__ */ React96.createElement(Control, { type: control.type, props: controlProps }))));
6771
+ return /* @__PURE__ */ React97.createElement(DynamicControl, { bind: control.bind }, /* @__PURE__ */ React97.createElement(Grid8, { container: true, gap: 0.75, sx: layoutStyleProps }, control.label ? /* @__PURE__ */ React97.createElement(Grid8, { item: true, xs: 12 }, /* @__PURE__ */ React97.createElement(ControlFormLabel4, null, control.label)) : null, /* @__PURE__ */ React97.createElement(Grid8, { item: true, xs: 12 }, /* @__PURE__ */ React97.createElement(Control, { type: control.type, props: controlProps }))));
6738
6772
  };
6739
6773
  function ControlsItemsStack({ items: items3 }) {
6740
- return /* @__PURE__ */ React96.createElement(Stack16, { p: 2, gap: 2, sx: { overflowY: "auto" } }, items3.map(
6741
- (item) => item.type === "control" ? /* @__PURE__ */ React96.createElement(Control2, { key: item.value.bind, control: item.value }) : null
6774
+ return /* @__PURE__ */ React97.createElement(Stack17, { p: 2, gap: 2, sx: { overflowY: "auto" } }, items3.map(
6775
+ (item) => item.type === "control" ? /* @__PURE__ */ React97.createElement(Control2, { key: item.value.bind, control: item.value }) : null
6742
6776
  ));
6743
6777
  }
6744
6778
 
@@ -6794,18 +6828,18 @@ function getDynamicValue(name, settings) {
6794
6828
  }
6795
6829
 
6796
6830
  // src/dynamics/hooks/use-prop-dynamic-action.tsx
6797
- import * as React97 from "react";
6831
+ import * as React98 from "react";
6798
6832
  import { useBoundProp as useBoundProp12 } from "@elementor/editor-controls";
6799
6833
  import { DatabaseIcon as DatabaseIcon4 } from "@elementor/icons";
6800
- import { __ as __69 } from "@wordpress/i18n";
6834
+ import { __ as __70 } from "@wordpress/i18n";
6801
6835
  var usePropDynamicAction = () => {
6802
6836
  const { propType } = useBoundProp12();
6803
6837
  const visible = !!propType && supportsDynamic(propType);
6804
6838
  return {
6805
6839
  visible,
6806
6840
  icon: DatabaseIcon4,
6807
- title: __69("Dynamic tags", "elementor"),
6808
- content: ({ close }) => /* @__PURE__ */ React97.createElement(DynamicSelection, { close })
6841
+ title: __70("Dynamic tags", "elementor"),
6842
+ content: ({ close }) => /* @__PURE__ */ React98.createElement(DynamicSelection, { close })
6809
6843
  };
6810
6844
  };
6811
6845
 
@@ -6840,7 +6874,7 @@ import { useBoundProp as useBoundProp13 } from "@elementor/editor-controls";
6840
6874
  import { hasVariable as hasVariable2 } from "@elementor/editor-variables";
6841
6875
  import { BrushBigIcon } from "@elementor/icons";
6842
6876
  import { controlActionsMenu as controlActionsMenu3 } from "@elementor/menus";
6843
- import { __ as __70 } from "@wordpress/i18n";
6877
+ import { __ as __71 } from "@wordpress/i18n";
6844
6878
 
6845
6879
  // src/utils/is-equal.ts
6846
6880
  function isEqual(a, b) {
@@ -6916,22 +6950,22 @@ function useResetStyleValueProps() {
6916
6950
  const visible = calculateVisibility();
6917
6951
  return {
6918
6952
  visible,
6919
- title: __70("Clear", "elementor"),
6953
+ title: __71("Clear", "elementor"),
6920
6954
  icon: BrushBigIcon,
6921
6955
  onClick: () => resetValue()
6922
6956
  };
6923
6957
  }
6924
6958
 
6925
6959
  // src/styles-inheritance/components/styles-inheritance-indicator.tsx
6926
- import * as React103 from "react";
6960
+ import * as React104 from "react";
6927
6961
  import { useBoundProp as useBoundProp14 } from "@elementor/editor-controls";
6928
6962
  import { isEmpty as isEmpty2 } from "@elementor/editor-props";
6929
6963
  import { ELEMENTS_BASE_STYLES_PROVIDER_KEY as ELEMENTS_BASE_STYLES_PROVIDER_KEY4 } from "@elementor/editor-styles-repository";
6930
- import { __ as __74 } from "@wordpress/i18n";
6964
+ import { __ as __75 } from "@wordpress/i18n";
6931
6965
 
6932
6966
  // src/styles-inheritance/components/styles-inheritance-infotip.tsx
6933
- import * as React102 from "react";
6934
- import { useMemo as useMemo15, useRef as useRef19, useState as useState12 } from "react";
6967
+ import * as React103 from "react";
6968
+ import { useMemo as useMemo15, useRef as useRef20, useState as useState12 } from "react";
6935
6969
  import {
6936
6970
  createPropsResolver as createPropsResolver2,
6937
6971
  stylesInheritanceTransformersRegistry
@@ -6945,10 +6979,10 @@ import {
6945
6979
  ClickAwayListener,
6946
6980
  IconButton as IconButton3,
6947
6981
  Infotip as Infotip3,
6948
- Stack as Stack17,
6949
- Tooltip as Tooltip6
6982
+ Stack as Stack18,
6983
+ Tooltip as Tooltip7
6950
6984
  } from "@elementor/ui";
6951
- import { __ as __73 } from "@wordpress/i18n";
6985
+ import { __ as __74 } from "@wordpress/i18n";
6952
6986
 
6953
6987
  // src/styles-inheritance/hooks/use-normalized-inheritance-chain-items.tsx
6954
6988
  import { isValidElement, useEffect as useEffect10, useState as useState11 } from "react";
@@ -6958,7 +6992,7 @@ import {
6958
6992
  isPseudoState
6959
6993
  } from "@elementor/editor-styles";
6960
6994
  import { ELEMENTS_BASE_STYLES_PROVIDER_KEY as ELEMENTS_BASE_STYLES_PROVIDER_KEY2 } from "@elementor/editor-styles-repository";
6961
- import { __ as __71 } from "@wordpress/i18n";
6995
+ import { __ as __72 } from "@wordpress/i18n";
6962
6996
  var MAXIMUM_ITEMS = 2;
6963
6997
  var useNormalizedInheritanceChainItems = (inheritanceChain, bind, resolve) => {
6964
6998
  const [items3, setItems] = useState11([]);
@@ -6969,7 +7003,7 @@ var useNormalizedInheritanceChainItems = (inheritanceChain, bind, resolve) => {
6969
7003
  );
6970
7004
  const validItems = normalizedItems.map((item) => ({
6971
7005
  ...item,
6972
- displayLabel: ELEMENTS_BASE_STYLES_PROVIDER_KEY2 !== item.provider ? item.displayLabel : __71("Base", "elementor")
7006
+ displayLabel: ELEMENTS_BASE_STYLES_PROVIDER_KEY2 !== item.provider ? item.displayLabel : __72("Base", "elementor")
6973
7007
  })).filter((item) => !item.value || item.displayLabel !== "").slice(0, MAXIMUM_ITEMS);
6974
7008
  setItems(validItems);
6975
7009
  })();
@@ -7026,7 +7060,7 @@ var getTransformedValue = async (item, bind, resolve) => {
7026
7060
  };
7027
7061
 
7028
7062
  // src/styles-inheritance/components/infotip/breakpoint-icon.tsx
7029
- import * as React98 from "react";
7063
+ import * as React99 from "react";
7030
7064
  import { useBreakpoints } from "@elementor/editor-responsive";
7031
7065
  import {
7032
7066
  DesktopIcon,
@@ -7037,7 +7071,7 @@ import {
7037
7071
  TabletPortraitIcon,
7038
7072
  WidescreenIcon
7039
7073
  } from "@elementor/icons";
7040
- import { Tooltip as Tooltip3 } from "@elementor/ui";
7074
+ import { Tooltip as Tooltip4 } from "@elementor/ui";
7041
7075
  var SIZE4 = "tiny";
7042
7076
  var DEFAULT_BREAKPOINT3 = "desktop";
7043
7077
  var breakpointIconMap = {
@@ -7057,20 +7091,20 @@ var BreakpointIcon = ({ breakpoint }) => {
7057
7091
  return null;
7058
7092
  }
7059
7093
  const breakpointLabel = breakpoints.find((breakpointItem) => breakpointItem.id === currentBreakpoint)?.label;
7060
- return /* @__PURE__ */ React98.createElement(Tooltip3, { title: breakpointLabel, placement: "top" }, /* @__PURE__ */ React98.createElement(IconComponent, { fontSize: SIZE4, sx: { mt: "2px" } }));
7094
+ return /* @__PURE__ */ React99.createElement(Tooltip4, { title: breakpointLabel, placement: "top" }, /* @__PURE__ */ React99.createElement(IconComponent, { fontSize: SIZE4, sx: { mt: "2px" } }));
7061
7095
  };
7062
7096
 
7063
7097
  // src/styles-inheritance/components/infotip/label-chip.tsx
7064
- import * as React99 from "react";
7098
+ import * as React100 from "react";
7065
7099
  import { ELEMENTS_BASE_STYLES_PROVIDER_KEY as ELEMENTS_BASE_STYLES_PROVIDER_KEY3 } from "@elementor/editor-styles-repository";
7066
- import { InfoCircleIcon } from "@elementor/icons";
7067
- import { Chip as Chip5, Tooltip as Tooltip4 } from "@elementor/ui";
7068
- import { __ as __72 } from "@wordpress/i18n";
7100
+ import { InfoCircleIcon as InfoCircleIcon2 } from "@elementor/icons";
7101
+ import { Chip as Chip5, Tooltip as Tooltip5 } from "@elementor/ui";
7102
+ import { __ as __73 } from "@wordpress/i18n";
7069
7103
  var SIZE5 = "tiny";
7070
7104
  var LabelChip = ({ displayLabel, provider }) => {
7071
7105
  const isBaseStyle = provider === ELEMENTS_BASE_STYLES_PROVIDER_KEY3;
7072
- const chipIcon = isBaseStyle ? /* @__PURE__ */ React99.createElement(Tooltip4, { title: __72("Inherited from base styles", "elementor"), placement: "top" }, /* @__PURE__ */ React99.createElement(InfoCircleIcon, { fontSize: SIZE5 })) : void 0;
7073
- return /* @__PURE__ */ React99.createElement(
7106
+ const chipIcon = isBaseStyle ? /* @__PURE__ */ React100.createElement(Tooltip5, { title: __73("Inherited from base styles", "elementor"), placement: "top" }, /* @__PURE__ */ React100.createElement(InfoCircleIcon2, { fontSize: SIZE5 })) : void 0;
7107
+ return /* @__PURE__ */ React100.createElement(
7074
7108
  Chip5,
7075
7109
  {
7076
7110
  label: displayLabel,
@@ -7096,10 +7130,10 @@ var LabelChip = ({ displayLabel, provider }) => {
7096
7130
  };
7097
7131
 
7098
7132
  // src/styles-inheritance/components/infotip/value-component.tsx
7099
- import * as React100 from "react";
7100
- import { Tooltip as Tooltip5, Typography as Typography7 } from "@elementor/ui";
7133
+ import * as React101 from "react";
7134
+ import { Tooltip as Tooltip6, Typography as Typography7 } from "@elementor/ui";
7101
7135
  var ValueComponent = ({ index, value }) => {
7102
- return /* @__PURE__ */ React100.createElement(Tooltip5, { title: value, placement: "top" }, /* @__PURE__ */ React100.createElement(
7136
+ return /* @__PURE__ */ React101.createElement(Tooltip6, { title: value, placement: "top" }, /* @__PURE__ */ React101.createElement(
7103
7137
  Typography7,
7104
7138
  {
7105
7139
  variant: "caption",
@@ -7121,9 +7155,9 @@ var ValueComponent = ({ index, value }) => {
7121
7155
  };
7122
7156
 
7123
7157
  // src/styles-inheritance/components/infotip/action-icons.tsx
7124
- import * as React101 from "react";
7158
+ import * as React102 from "react";
7125
7159
  import { Box as Box8 } from "@elementor/ui";
7126
- var ActionIcons = () => /* @__PURE__ */ React101.createElement(Box8, { display: "flex", gap: 0.5, alignItems: "center" });
7160
+ var ActionIcons = () => /* @__PURE__ */ React102.createElement(Box8, { display: "flex", gap: 0.5, alignItems: "center" });
7127
7161
 
7128
7162
  // src/styles-inheritance/components/styles-inheritance-infotip.tsx
7129
7163
  var SECTION_PADDING_INLINE = 32;
@@ -7137,7 +7171,7 @@ var StylesInheritanceInfotip = ({
7137
7171
  isDisabled
7138
7172
  }) => {
7139
7173
  const [showInfotip, setShowInfotip] = useState12(false);
7140
- const triggerRef = useRef19(null);
7174
+ const triggerRef = useRef20(null);
7141
7175
  const toggleInfotip = () => {
7142
7176
  if (isDisabled) {
7143
7177
  return;
@@ -7159,7 +7193,7 @@ var StylesInheritanceInfotip = ({
7159
7193
  });
7160
7194
  }, [key, propType]);
7161
7195
  const items3 = useNormalizedInheritanceChainItems(inheritanceChain, key, resolve);
7162
- const infotipContent = /* @__PURE__ */ React102.createElement(ClickAwayListener, { onClickAway: closeInfotip }, /* @__PURE__ */ React102.createElement(
7196
+ const infotipContent = /* @__PURE__ */ React103.createElement(ClickAwayListener, { onClickAway: closeInfotip }, /* @__PURE__ */ React103.createElement(
7163
7197
  Card,
7164
7198
  {
7165
7199
  elevation: 0,
@@ -7172,7 +7206,7 @@ var StylesInheritanceInfotip = ({
7172
7206
  flexDirection: "column"
7173
7207
  }
7174
7208
  },
7175
- /* @__PURE__ */ React102.createElement(
7209
+ /* @__PURE__ */ React103.createElement(
7176
7210
  Box9,
7177
7211
  {
7178
7212
  sx: {
@@ -7182,9 +7216,9 @@ var StylesInheritanceInfotip = ({
7182
7216
  backgroundColor: "background.paper"
7183
7217
  }
7184
7218
  },
7185
- /* @__PURE__ */ React102.createElement(PopoverHeader3, { title: __73("Style origin", "elementor"), onClose: closeInfotip })
7219
+ /* @__PURE__ */ React103.createElement(PopoverHeader3, { title: __74("Style origin", "elementor"), onClose: closeInfotip })
7186
7220
  ),
7187
- /* @__PURE__ */ React102.createElement(
7221
+ /* @__PURE__ */ React103.createElement(
7188
7222
  CardContent,
7189
7223
  {
7190
7224
  sx: {
@@ -7198,39 +7232,39 @@ var StylesInheritanceInfotip = ({
7198
7232
  }
7199
7233
  }
7200
7234
  },
7201
- /* @__PURE__ */ React102.createElement(Stack17, { gap: 1.5, sx: { pl: 2, pr: 1, pt: 1.5, pb: 1.5 }, role: "list" }, items3.map((item, index) => {
7202
- return /* @__PURE__ */ React102.createElement(
7235
+ /* @__PURE__ */ React103.createElement(Stack18, { gap: 1.5, sx: { pl: 2, pr: 1, pt: 1.5, pb: 1.5 }, role: "list" }, items3.map((item, index) => {
7236
+ return /* @__PURE__ */ React103.createElement(
7203
7237
  Box9,
7204
7238
  {
7205
7239
  key: item.id,
7206
7240
  display: "flex",
7207
7241
  gap: 0.5,
7208
7242
  role: "listitem",
7209
- "aria-label": __73("Inheritance item: %s", "elementor").replace(
7243
+ "aria-label": __74("Inheritance item: %s", "elementor").replace(
7210
7244
  "%s",
7211
7245
  item.displayLabel
7212
7246
  )
7213
7247
  },
7214
- /* @__PURE__ */ React102.createElement(
7248
+ /* @__PURE__ */ React103.createElement(
7215
7249
  Box9,
7216
7250
  {
7217
7251
  display: "flex",
7218
7252
  gap: 0.5,
7219
7253
  sx: { flexWrap: "wrap", width: "100%", alignItems: "flex-start" }
7220
7254
  },
7221
- /* @__PURE__ */ React102.createElement(BreakpointIcon, { breakpoint: item.breakpoint }),
7222
- /* @__PURE__ */ React102.createElement(LabelChip, { displayLabel: item.displayLabel, provider: item.provider }),
7223
- /* @__PURE__ */ React102.createElement(ValueComponent, { index, value: item.value })
7255
+ /* @__PURE__ */ React103.createElement(BreakpointIcon, { breakpoint: item.breakpoint }),
7256
+ /* @__PURE__ */ React103.createElement(LabelChip, { displayLabel: item.displayLabel, provider: item.provider }),
7257
+ /* @__PURE__ */ React103.createElement(ValueComponent, { index, value: item.value })
7224
7258
  ),
7225
- /* @__PURE__ */ React102.createElement(ActionIcons, null)
7259
+ /* @__PURE__ */ React103.createElement(ActionIcons, null)
7226
7260
  );
7227
7261
  }))
7228
7262
  )
7229
7263
  ));
7230
7264
  if (isDisabled) {
7231
- return /* @__PURE__ */ React102.createElement(Box9, { sx: { display: "inline-flex" } }, children);
7265
+ return /* @__PURE__ */ React103.createElement(Box9, { sx: { display: "inline-flex" } }, children);
7232
7266
  }
7233
- return /* @__PURE__ */ React102.createElement(Box9, { ref: triggerRef, sx: { display: "inline-flex" } }, /* @__PURE__ */ React102.createElement(
7267
+ return /* @__PURE__ */ React103.createElement(Box9, { ref: triggerRef, sx: { display: "inline-flex" } }, /* @__PURE__ */ React103.createElement(
7234
7268
  TooltipOrInfotip,
7235
7269
  {
7236
7270
  showInfotip,
@@ -7238,7 +7272,7 @@ var StylesInheritanceInfotip = ({
7238
7272
  infotipContent,
7239
7273
  isDisabled
7240
7274
  },
7241
- /* @__PURE__ */ React102.createElement(
7275
+ /* @__PURE__ */ React103.createElement(
7242
7276
  IconButton3,
7243
7277
  {
7244
7278
  onClick: toggleInfotip,
@@ -7258,10 +7292,10 @@ function TooltipOrInfotip({
7258
7292
  isDisabled
7259
7293
  }) {
7260
7294
  if (isDisabled) {
7261
- return /* @__PURE__ */ React102.createElement(Box9, { sx: { display: "inline-flex" } }, children);
7295
+ return /* @__PURE__ */ React103.createElement(Box9, { sx: { display: "inline-flex" } }, children);
7262
7296
  }
7263
7297
  if (showInfotip) {
7264
- return /* @__PURE__ */ React102.createElement(React102.Fragment, null, /* @__PURE__ */ React102.createElement(
7298
+ return /* @__PURE__ */ React103.createElement(React103.Fragment, null, /* @__PURE__ */ React103.createElement(
7265
7299
  Backdrop,
7266
7300
  {
7267
7301
  open: showInfotip,
@@ -7271,7 +7305,7 @@ function TooltipOrInfotip({
7271
7305
  zIndex: (theme) => theme.zIndex.modal - 1
7272
7306
  }
7273
7307
  }
7274
- ), /* @__PURE__ */ React102.createElement(
7308
+ ), /* @__PURE__ */ React103.createElement(
7275
7309
  Infotip3,
7276
7310
  {
7277
7311
  placement: "top-end",
@@ -7283,7 +7317,7 @@ function TooltipOrInfotip({
7283
7317
  children
7284
7318
  ));
7285
7319
  }
7286
- return /* @__PURE__ */ React102.createElement(Tooltip6, { title: __73("Style origin", "elementor"), placement: "top" }, children);
7320
+ return /* @__PURE__ */ React103.createElement(Tooltip7, { title: __74("Style origin", "elementor"), placement: "top" }, children);
7287
7321
  }
7288
7322
 
7289
7323
  // src/styles-inheritance/components/styles-inheritance-indicator.tsx
@@ -7296,7 +7330,7 @@ var StylesInheritanceIndicator = ({
7296
7330
  if (!path || !inheritanceChain.length) {
7297
7331
  return null;
7298
7332
  }
7299
- return /* @__PURE__ */ React103.createElement(Indicator, { inheritanceChain, path, propType });
7333
+ return /* @__PURE__ */ React104.createElement(Indicator, { inheritanceChain, path, propType });
7300
7334
  };
7301
7335
  var Indicator = ({ inheritanceChain, path, propType, isDisabled }) => {
7302
7336
  const { id: currentStyleId, provider: currentStyleProvider, meta: currentStyleMeta } = useStyle();
@@ -7312,7 +7346,7 @@ var Indicator = ({ inheritanceChain, path, propType, isDisabled }) => {
7312
7346
  getColor: isFinalValue && currentStyleProvider ? getStylesProviderThemeColor(currentStyleProvider.getKey()) : void 0,
7313
7347
  isOverridden: hasValue && !isFinalValue ? true : void 0
7314
7348
  };
7315
- return /* @__PURE__ */ React103.createElement(
7349
+ return /* @__PURE__ */ React104.createElement(
7316
7350
  StylesInheritanceInfotip,
7317
7351
  {
7318
7352
  inheritanceChain,
@@ -7321,17 +7355,17 @@ var Indicator = ({ inheritanceChain, path, propType, isDisabled }) => {
7321
7355
  label,
7322
7356
  isDisabled
7323
7357
  },
7324
- /* @__PURE__ */ React103.createElement(StyleIndicator, { ...styleIndicatorProps })
7358
+ /* @__PURE__ */ React104.createElement(StyleIndicator, { ...styleIndicatorProps })
7325
7359
  );
7326
7360
  };
7327
7361
  var getLabel = ({ isFinalValue, hasValue }) => {
7328
7362
  if (isFinalValue) {
7329
- return __74("This is the final value", "elementor");
7363
+ return __75("This is the final value", "elementor");
7330
7364
  }
7331
7365
  if (hasValue) {
7332
- return __74("This value is overridden by another style", "elementor");
7366
+ return __75("This value is overridden by another style", "elementor");
7333
7367
  }
7334
- return __74("This has value from another style", "elementor");
7368
+ return __75("This has value from another style", "elementor");
7335
7369
  };
7336
7370
 
7337
7371
  // src/styles-inheritance/init-styles-inheritance-transformers.ts
@@ -7356,7 +7390,7 @@ var excludePropTypeTransformers = /* @__PURE__ */ new Set([
7356
7390
  ]);
7357
7391
 
7358
7392
  // src/styles-inheritance/transformers/array-transformer.tsx
7359
- import * as React104 from "react";
7393
+ import * as React105 from "react";
7360
7394
  import { createTransformer as createTransformer2 } from "@elementor/editor-canvas";
7361
7395
  var arrayTransformer = createTransformer2((values) => {
7362
7396
  if (!values || values.length === 0) {
@@ -7366,16 +7400,16 @@ var arrayTransformer = createTransformer2((values) => {
7366
7400
  if (allStrings) {
7367
7401
  return values.join(" ");
7368
7402
  }
7369
- return /* @__PURE__ */ React104.createElement(React104.Fragment, null, values.map((item, index) => /* @__PURE__ */ React104.createElement(React104.Fragment, { key: index }, index > 0 && " ", item)));
7403
+ return /* @__PURE__ */ React105.createElement(React105.Fragment, null, values.map((item, index) => /* @__PURE__ */ React105.createElement(React105.Fragment, { key: index }, index > 0 && " ", item)));
7370
7404
  });
7371
7405
 
7372
7406
  // src/styles-inheritance/transformers/background-color-overlay-transformer.tsx
7373
- import * as React105 from "react";
7407
+ import * as React106 from "react";
7374
7408
  import { createTransformer as createTransformer3 } from "@elementor/editor-canvas";
7375
- import { Stack as Stack18, styled as styled7, UnstableColorIndicator } from "@elementor/ui";
7376
- var backgroundColorOverlayTransformer = createTransformer3((value) => /* @__PURE__ */ React105.createElement(Stack18, { direction: "row", gap: 1, alignItems: "center" }, /* @__PURE__ */ React105.createElement(ItemLabelColor, { value })));
7409
+ import { Stack as Stack19, styled as styled7, UnstableColorIndicator } from "@elementor/ui";
7410
+ var backgroundColorOverlayTransformer = createTransformer3((value) => /* @__PURE__ */ React106.createElement(Stack19, { direction: "row", gap: 1, alignItems: "center" }, /* @__PURE__ */ React106.createElement(ItemLabelColor, { value })));
7377
7411
  var ItemLabelColor = ({ value: { color } }) => {
7378
- return /* @__PURE__ */ React105.createElement("span", null, color);
7412
+ return /* @__PURE__ */ React106.createElement("span", null, color);
7379
7413
  };
7380
7414
  var StyledUnstableColorIndicator = styled7(UnstableColorIndicator)(({ theme }) => ({
7381
7415
  width: "1em",
@@ -7386,20 +7420,20 @@ var StyledUnstableColorIndicator = styled7(UnstableColorIndicator)(({ theme }) =
7386
7420
  }));
7387
7421
 
7388
7422
  // src/styles-inheritance/transformers/background-gradient-overlay-transformer.tsx
7389
- import * as React106 from "react";
7423
+ import * as React107 from "react";
7390
7424
  import { createTransformer as createTransformer4 } from "@elementor/editor-canvas";
7391
- import { Stack as Stack19 } from "@elementor/ui";
7392
- import { __ as __75 } from "@wordpress/i18n";
7393
- var backgroundGradientOverlayTransformer = createTransformer4((value) => /* @__PURE__ */ React106.createElement(Stack19, { direction: "row", gap: 1, alignItems: "center" }, /* @__PURE__ */ React106.createElement(ItemIconGradient, { value }), /* @__PURE__ */ React106.createElement(ItemLabelGradient, { value })));
7425
+ import { Stack as Stack20 } from "@elementor/ui";
7426
+ import { __ as __76 } from "@wordpress/i18n";
7427
+ var backgroundGradientOverlayTransformer = createTransformer4((value) => /* @__PURE__ */ React107.createElement(Stack20, { direction: "row", gap: 1, alignItems: "center" }, /* @__PURE__ */ React107.createElement(ItemIconGradient, { value }), /* @__PURE__ */ React107.createElement(ItemLabelGradient, { value })));
7394
7428
  var ItemIconGradient = ({ value }) => {
7395
7429
  const gradient = getGradientValue(value);
7396
- return /* @__PURE__ */ React106.createElement(StyledUnstableColorIndicator, { size: "inherit", component: "span", value: gradient });
7430
+ return /* @__PURE__ */ React107.createElement(StyledUnstableColorIndicator, { size: "inherit", component: "span", value: gradient });
7397
7431
  };
7398
7432
  var ItemLabelGradient = ({ value }) => {
7399
7433
  if (value.type === "linear") {
7400
- return /* @__PURE__ */ React106.createElement("span", null, __75("Linear gradient", "elementor"));
7434
+ return /* @__PURE__ */ React107.createElement("span", null, __76("Linear gradient", "elementor"));
7401
7435
  }
7402
- return /* @__PURE__ */ React106.createElement("span", null, __75("Radial gradient", "elementor"));
7436
+ return /* @__PURE__ */ React107.createElement("span", null, __76("Radial gradient", "elementor"));
7403
7437
  };
7404
7438
  var getGradientValue = (gradient) => {
7405
7439
  const stops = gradient.stops?.map(({ color, offset }) => `${color} ${offset ?? 0}%`)?.join(",");
@@ -7410,15 +7444,15 @@ var getGradientValue = (gradient) => {
7410
7444
  };
7411
7445
 
7412
7446
  // src/styles-inheritance/transformers/background-image-overlay-transformer.tsx
7413
- import * as React107 from "react";
7447
+ import * as React108 from "react";
7414
7448
  import { createTransformer as createTransformer5 } from "@elementor/editor-canvas";
7415
7449
  import { EllipsisWithTooltip as EllipsisWithTooltip2 } from "@elementor/editor-ui";
7416
- import { CardMedia, Stack as Stack20 } from "@elementor/ui";
7450
+ import { CardMedia, Stack as Stack21 } from "@elementor/ui";
7417
7451
  import { useWpMediaAttachment } from "@elementor/wp-media";
7418
- var backgroundImageOverlayTransformer = createTransformer5((value) => /* @__PURE__ */ React107.createElement(Stack20, { direction: "row", gap: 1, alignItems: "center" }, /* @__PURE__ */ React107.createElement(ItemIconImage, { value }), /* @__PURE__ */ React107.createElement(ItemLabelImage, { value })));
7452
+ var backgroundImageOverlayTransformer = createTransformer5((value) => /* @__PURE__ */ React108.createElement(Stack21, { direction: "row", gap: 1, alignItems: "center" }, /* @__PURE__ */ React108.createElement(ItemIconImage, { value }), /* @__PURE__ */ React108.createElement(ItemLabelImage, { value })));
7419
7453
  var ItemIconImage = ({ value }) => {
7420
7454
  const { imageUrl } = useImage(value);
7421
- return /* @__PURE__ */ React107.createElement(
7455
+ return /* @__PURE__ */ React108.createElement(
7422
7456
  CardMedia,
7423
7457
  {
7424
7458
  image: imageUrl,
@@ -7434,7 +7468,7 @@ var ItemIconImage = ({ value }) => {
7434
7468
  };
7435
7469
  var ItemLabelImage = ({ value }) => {
7436
7470
  const { imageTitle } = useImage(value);
7437
- return /* @__PURE__ */ React107.createElement(EllipsisWithTooltip2, { title: imageTitle }, /* @__PURE__ */ React107.createElement("span", null, imageTitle));
7471
+ return /* @__PURE__ */ React108.createElement(EllipsisWithTooltip2, { title: imageTitle }, /* @__PURE__ */ React108.createElement("span", null, imageTitle));
7438
7472
  };
7439
7473
  var useImage = (image) => {
7440
7474
  let imageTitle, imageUrl = null;
@@ -7459,7 +7493,7 @@ var getFileExtensionFromFilename = (filename) => {
7459
7493
  };
7460
7494
 
7461
7495
  // src/styles-inheritance/transformers/box-shadow-transformer.tsx
7462
- import * as React108 from "react";
7496
+ import * as React109 from "react";
7463
7497
  import { createTransformer as createTransformer6 } from "@elementor/editor-canvas";
7464
7498
  var boxShadowTransformer = createTransformer6((value) => {
7465
7499
  if (!value) {
@@ -7469,13 +7503,13 @@ var boxShadowTransformer = createTransformer6((value) => {
7469
7503
  const colorValue = color || "#000000";
7470
7504
  const sizes = [hOffset || "0px", vOffset || "0px", blur || "10px", spread || "0px"].join(" ");
7471
7505
  const positionValue = position || "outset";
7472
- return /* @__PURE__ */ React108.createElement(React108.Fragment, null, colorValue, " ", positionValue, ", ", sizes);
7506
+ return /* @__PURE__ */ React109.createElement(React109.Fragment, null, colorValue, " ", positionValue, ", ", sizes);
7473
7507
  });
7474
7508
 
7475
7509
  // src/styles-inheritance/transformers/color-transformer.tsx
7476
- import * as React109 from "react";
7510
+ import * as React110 from "react";
7477
7511
  import { createTransformer as createTransformer7 } from "@elementor/editor-canvas";
7478
- import { Stack as Stack21, styled as styled8, UnstableColorIndicator as UnstableColorIndicator2 } from "@elementor/ui";
7512
+ import { Stack as Stack22, styled as styled8, UnstableColorIndicator as UnstableColorIndicator2 } from "@elementor/ui";
7479
7513
  function isValidCSSColor(value) {
7480
7514
  if (!value.trim()) {
7481
7515
  return false;
@@ -7493,7 +7527,7 @@ var colorTransformer = createTransformer7((value) => {
7493
7527
  if (!isValidCSSColor(value)) {
7494
7528
  return value;
7495
7529
  }
7496
- return /* @__PURE__ */ React109.createElement(Stack21, { direction: "row", gap: 1, alignItems: "center" }, /* @__PURE__ */ React109.createElement(StyledColorIndicator, { size: "inherit", component: "span", value }), /* @__PURE__ */ React109.createElement("span", null, value));
7530
+ return /* @__PURE__ */ React110.createElement(Stack22, { direction: "row", gap: 1, alignItems: "center" }, /* @__PURE__ */ React110.createElement(StyledColorIndicator, { size: "inherit", component: "span", value }), /* @__PURE__ */ React110.createElement("span", null, value));
7497
7531
  });
7498
7532
 
7499
7533
  // src/styles-inheritance/transformers/repeater-to-items-transformer.tsx
@@ -7614,6 +7648,7 @@ export {
7614
7648
  injectIntoStyleTab,
7615
7649
  isDynamicPropValue,
7616
7650
  registerEditingPanelReplacement,
7651
+ registerElementPanelDefaults,
7617
7652
  registerFieldIndicator,
7618
7653
  registerStyleProviderToColors,
7619
7654
  setLicenseConfig,