@elementor/editor-editing-panel 4.3.0-beta2 → 4.3.0-beta3

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
@@ -1937,7 +1937,7 @@ var hasInheritedCustomCss = (style, meta) => {
1937
1937
  };
1938
1938
 
1939
1939
  // src/components/editing-panel.tsx
1940
- import * as React92 from "react";
1940
+ import * as React93 from "react";
1941
1941
  import {
1942
1942
  ControlActionsProvider,
1943
1943
  ControlReplacementsProvider,
@@ -1951,7 +1951,7 @@ import { createLocation as createLocation5 } from "@elementor/locations";
1951
1951
  import { controlActionsMenu } from "@elementor/menus";
1952
1952
  import { SessionStorageProvider as SessionStorageProvider3 } from "@elementor/session";
1953
1953
  import { ErrorBoundary } from "@elementor/ui";
1954
- import { __ as __65 } from "@wordpress/i18n";
1954
+ import { __ as __66 } from "@wordpress/i18n";
1955
1955
 
1956
1956
  // src/editing-panel-replacement-registry.tsx
1957
1957
  var registry = /* @__PURE__ */ new Map();
@@ -1987,10 +1987,11 @@ var EditingPanelStickyPromotion = () => {
1987
1987
 
1988
1988
  // src/components/editing-panel-tabs.tsx
1989
1989
  import { Fragment as Fragment10 } from "react";
1990
- import * as React91 from "react";
1990
+ import * as React92 from "react";
1991
+ import { useHasContentOnlyAccess } from "@elementor/editor-current-user";
1991
1992
  import { getWidgetsCache as getWidgetsCache2 } from "@elementor/editor-elements";
1992
1993
  import { Divider as Divider6, Stack as Stack14, Tab, TabPanel, Tabs, useTabs } from "@elementor/ui";
1993
- import { __ as __64 } from "@wordpress/i18n";
1994
+ import { __ as __65 } from "@wordpress/i18n";
1994
1995
 
1995
1996
  // src/contexts/scroll-context.tsx
1996
1997
  import * as React17 from "react";
@@ -2080,25 +2081,65 @@ var useStateByElement = (key, initialValue) => {
2080
2081
  return [value, doUpdate];
2081
2082
  };
2082
2083
 
2084
+ // src/components/content-only-infotip.tsx
2085
+ import * as React18 from "react";
2086
+ import { useState as useState7 } from "react";
2087
+ import { InfoCircleFilledIcon } from "@elementor/icons";
2088
+ import { Alert as Alert3, AlertTitle as AlertTitle2, Box as Box4, Infotip, Link as Link2 } from "@elementor/ui";
2089
+ import { __ as __10 } from "@wordpress/i18n";
2090
+ var LEARN_MORE_URL = "https://go.elementor.com/content-only-access-infotip";
2091
+ var INFOTIP_WIDTH = 300;
2092
+ var ContentOnlyInfotip = ({ children }) => {
2093
+ const [isOpen, setIsOpen] = useState7(false);
2094
+ return /* @__PURE__ */ React18.createElement(
2095
+ Infotip,
2096
+ {
2097
+ open: isOpen,
2098
+ placement: "bottom",
2099
+ color: "secondary",
2100
+ content: /* @__PURE__ */ React18.createElement(Alert3, { color: "secondary", icon: /* @__PURE__ */ React18.createElement(InfoCircleFilledIcon, null), size: "small" }, /* @__PURE__ */ React18.createElement(AlertTitle2, null, __10("Content-only access", "elementor")), /* @__PURE__ */ React18.createElement(Box4, { component: "span" }, __10("Your Site Admin has limited this role to content editing.", "elementor"), " ", /* @__PURE__ */ React18.createElement(Link2, { href: LEARN_MORE_URL, target: "_blank", rel: "noreferrer", color: "info.main" }, __10("Learn More", "elementor")))),
2101
+ slotProps: {
2102
+ popper: {
2103
+ sx: { width: INFOTIP_WIDTH },
2104
+ // The popper is portaled, so it needs its own hover handlers to stay open while the pointer
2105
+ // travels from the tab to the "Learn More" link.
2106
+ onMouseEnter: () => setIsOpen(true),
2107
+ onMouseLeave: () => setIsOpen(false)
2108
+ }
2109
+ }
2110
+ },
2111
+ /* @__PURE__ */ React18.createElement(
2112
+ Box4,
2113
+ {
2114
+ component: "span",
2115
+ sx: { pointerEvents: "auto" },
2116
+ onMouseEnter: () => setIsOpen(true),
2117
+ onMouseLeave: () => setIsOpen(false)
2118
+ },
2119
+ children
2120
+ )
2121
+ );
2122
+ };
2123
+
2083
2124
  // src/components/interactions-tab.tsx
2084
- import * as React19 from "react";
2125
+ import * as React20 from "react";
2085
2126
  import { InteractionsTab as InteractionsTabContent } from "@elementor/editor-interactions";
2086
2127
 
2087
2128
  // src/components/sections-list.tsx
2088
- import * as React18 from "react";
2129
+ import * as React19 from "react";
2089
2130
  import { List } from "@elementor/ui";
2090
2131
  function SectionsList(props) {
2091
- return /* @__PURE__ */ React18.createElement(List, { disablePadding: true, component: "div", ...props });
2132
+ return /* @__PURE__ */ React19.createElement(List, { disablePadding: true, component: "div", ...props });
2092
2133
  }
2093
2134
 
2094
2135
  // src/components/interactions-tab.tsx
2095
2136
  var InteractionsTab = () => {
2096
2137
  const { element } = useElement();
2097
- return /* @__PURE__ */ React19.createElement(SectionsList, null, /* @__PURE__ */ React19.createElement(InteractionsTabContent, { elementId: element.id }));
2138
+ return /* @__PURE__ */ React20.createElement(SectionsList, null, /* @__PURE__ */ React20.createElement(InteractionsTabContent, { elementId: element.id }));
2098
2139
  };
2099
2140
 
2100
2141
  // src/components/settings-tab.tsx
2101
- import * as React25 from "react";
2142
+ import * as React26 from "react";
2102
2143
  import { SessionStorageProvider } from "@elementor/session";
2103
2144
 
2104
2145
  // src/utils/prop-dependency-utils.ts
@@ -2315,7 +2356,7 @@ function removePreviousValueFromStorage({ path, elementId }) {
2315
2356
  }
2316
2357
 
2317
2358
  // src/components/section.tsx
2318
- import * as React20 from "react";
2359
+ import * as React21 from "react";
2319
2360
  import { useId as useId2, useRef as useRef3 } from "react";
2320
2361
  import { CollapseIcon, getCollapsibleValue, SectionRefContext } from "@elementor/editor-ui";
2321
2362
  import { Collapse, Divider as Divider2, ListItemButton, ListItemText, Stack as Stack5 } from "@elementor/ui";
@@ -2333,7 +2374,7 @@ function Section({ title, children, defaultExpanded = false, titleEnd, unmountOn
2333
2374
  const id = useId2();
2334
2375
  const labelId = `label-${id}`;
2335
2376
  const contentId = `content-${id}`;
2336
- return /* @__PURE__ */ React20.createElement(React20.Fragment, null, /* @__PURE__ */ React20.createElement(
2377
+ return /* @__PURE__ */ React21.createElement(React21.Fragment, null, /* @__PURE__ */ React21.createElement(
2337
2378
  ListItemButton,
2338
2379
  {
2339
2380
  id: labelId,
@@ -2342,7 +2383,7 @@ function Section({ title, children, defaultExpanded = false, titleEnd, unmountOn
2342
2383
  onClick: handleClick,
2343
2384
  sx: { "&:hover": { backgroundColor: "transparent" } }
2344
2385
  },
2345
- /* @__PURE__ */ React20.createElement(Stack5, { direction: "row", alignItems: "center", justifyItems: "start", flexGrow: 1, gap: 0.5 }, /* @__PURE__ */ React20.createElement(
2386
+ /* @__PURE__ */ React21.createElement(Stack5, { direction: "row", alignItems: "center", justifyItems: "start", flexGrow: 1, gap: 0.5 }, /* @__PURE__ */ React21.createElement(
2346
2387
  ListItemText,
2347
2388
  {
2348
2389
  secondary: title,
@@ -2351,7 +2392,7 @@ function Section({ title, children, defaultExpanded = false, titleEnd, unmountOn
2351
2392
  }
2352
2393
  ), getCollapsibleValue(titleEnd, isOpen)),
2353
2394
  action?.component,
2354
- /* @__PURE__ */ React20.createElement(
2395
+ /* @__PURE__ */ React21.createElement(
2355
2396
  CollapseIcon,
2356
2397
  {
2357
2398
  open: isOpen,
@@ -2361,7 +2402,7 @@ function Section({ title, children, defaultExpanded = false, titleEnd, unmountOn
2361
2402
  sx: { ml: 1 }
2362
2403
  }
2363
2404
  )
2364
- ), /* @__PURE__ */ React20.createElement(
2405
+ ), /* @__PURE__ */ React21.createElement(
2365
2406
  Collapse,
2366
2407
  {
2367
2408
  id: contentId,
@@ -2370,17 +2411,17 @@ function Section({ title, children, defaultExpanded = false, titleEnd, unmountOn
2370
2411
  timeout: "auto",
2371
2412
  unmountOnExit
2372
2413
  },
2373
- /* @__PURE__ */ React20.createElement(SectionRefContext.Provider, { value: ref }, /* @__PURE__ */ React20.createElement(Stack5, { ref, gap: 2.5, p: 2, "aria-label": `${title} section content` }, children))
2374
- ), /* @__PURE__ */ React20.createElement(Divider2, null));
2414
+ /* @__PURE__ */ React21.createElement(SectionRefContext.Provider, { value: ref }, /* @__PURE__ */ React21.createElement(Stack5, { ref, gap: 2.5, p: 2, "aria-label": `${title} section content` }, children))
2415
+ ), /* @__PURE__ */ React21.createElement(Divider2, null));
2375
2416
  }
2376
2417
 
2377
2418
  // src/components/settings-control.tsx
2378
- import * as React24 from "react";
2419
+ import * as React25 from "react";
2379
2420
  import { ControlAdornmentsProvider } from "@elementor/editor-controls";
2380
2421
  import { Divider as Divider3, styled as styled5 } from "@elementor/ui";
2381
2422
 
2382
2423
  // src/controls-registry/control.tsx
2383
- import * as React21 from "react";
2424
+ import * as React22 from "react";
2384
2425
 
2385
2426
  // src/controls-registry/controls-registry.tsx
2386
2427
  import {
@@ -2394,6 +2435,7 @@ import {
2394
2435
  InlineEditingControl,
2395
2436
  KeyValueControl,
2396
2437
  LinkControl,
2438
+ NoticeControl,
2397
2439
  NumberControl,
2398
2440
  QueryChipsControl,
2399
2441
  QueryControl,
@@ -2468,7 +2510,8 @@ var controlTypes = {
2468
2510
  layout: "custom",
2469
2511
  propTypeUtil: timeRangePropTypeUtil
2470
2512
  },
2471
- "attachment-type": { component: AttachmentTypeControl, layout: "custom", propTypeUtil: stringPropTypeUtil2 }
2513
+ "attachment-type": { component: AttachmentTypeControl, layout: "custom", propTypeUtil: stringPropTypeUtil2 },
2514
+ notice: { component: NoticeControl, layout: "full", propTypeUtil: stringPropTypeUtil2 }
2472
2515
  };
2473
2516
  var ControlsRegistry = class {
2474
2517
  constructor(controlsRegistry2) {
@@ -2511,19 +2554,19 @@ var Control = ({ props, type }) => {
2511
2554
  context: { controlType: type }
2512
2555
  });
2513
2556
  }
2514
- return /* @__PURE__ */ React21.createElement(ControlByType, { ...props, context: { elementId: element.id } });
2557
+ return /* @__PURE__ */ React22.createElement(ControlByType, { ...props, context: { elementId: element.id } });
2515
2558
  };
2516
2559
 
2517
2560
  // src/controls-registry/control-type-container.tsx
2518
- import * as React22 from "react";
2519
- import { Box as Box4, styled as styled4 } from "@elementor/ui";
2561
+ import * as React23 from "react";
2562
+ import { Box as Box5, styled as styled4 } from "@elementor/ui";
2520
2563
  var ControlTypeContainer = ({ children, layout }) => {
2521
2564
  if (layout === "custom") {
2522
2565
  return children;
2523
2566
  }
2524
- return /* @__PURE__ */ React22.createElement(StyledContainer, { layout }, children);
2567
+ return /* @__PURE__ */ React23.createElement(StyledContainer, { layout }, children);
2525
2568
  };
2526
- var StyledContainer = styled4(Box4, {
2569
+ var StyledContainer = styled4(Box5, {
2527
2570
  shouldForwardProp: (prop) => !["layout"].includes(prop)
2528
2571
  })(({ layout, theme }) => ({
2529
2572
  display: "grid",
@@ -2549,13 +2592,34 @@ var getStyleByLayout = (layout) => {
2549
2592
  };
2550
2593
 
2551
2594
  // src/controls-registry/settings-field.tsx
2552
- import * as React23 from "react";
2595
+ import * as React24 from "react";
2553
2596
  import { useMemo as useMemo7 } from "react";
2554
- import { PropKeyProvider, PropProvider } from "@elementor/editor-controls";
2597
+ import { PropKeyProvider, PropProvider, useBoundProp } from "@elementor/editor-controls";
2555
2598
  import { setDocumentModifiedStatus as setDocumentModifiedStatus2 } from "@elementor/editor-documents";
2556
2599
  import { getElementLabel as getElementLabel3, getElementSettings, updateElementSettings as updateElementSettings3 } from "@elementor/editor-elements";
2600
+ import {
2601
+ responsiveFallbackChain,
2602
+ responsivePropTypeUtil
2603
+ } from "@elementor/editor-props";
2604
+ import { useActiveBreakpoint, useBreakpoints } from "@elementor/editor-responsive";
2557
2605
  import { undoable as undoable4 } from "@elementor/editor-v1-adapters";
2558
- import { __ as __10 } from "@wordpress/i18n";
2606
+ import { __ as __11 } from "@wordpress/i18n";
2607
+
2608
+ // src/utils/is-responsive-prop-type.ts
2609
+ function isResponsivePropType(propType) {
2610
+ if (!propType) {
2611
+ return false;
2612
+ }
2613
+ if ("key" in propType && propType.key === "responsive") {
2614
+ return true;
2615
+ }
2616
+ if (propType.kind === "union") {
2617
+ return Object.values(propType.prop_types).some(
2618
+ (inner) => isResponsivePropType(inner)
2619
+ );
2620
+ }
2621
+ return false;
2622
+ }
2559
2623
 
2560
2624
  // src/controls-registry/create-top-level-object-type.ts
2561
2625
  var createTopLevelObjectType = ({ schema }) => {
@@ -2572,6 +2636,7 @@ var createTopLevelObjectType = ({ schema }) => {
2572
2636
 
2573
2637
  // src/controls-registry/settings-field.tsx
2574
2638
  var HISTORY_DEBOUNCE_WAIT2 = 800;
2639
+ var DESKTOP_BREAKPOINT = "desktop";
2575
2640
  var SettingsField = ({ bind, children, propDisplayName }) => {
2576
2641
  const {
2577
2642
  element: { id: elementId },
@@ -2599,7 +2664,24 @@ var SettingsField = ({ bind, children, propDisplayName }) => {
2599
2664
  updateElementSettings3({ id: elementId, props: settings, withHistory: false });
2600
2665
  }
2601
2666
  };
2602
- return /* @__PURE__ */ React23.createElement(PropProvider, { propType, value, setValue, isDisabled }, /* @__PURE__ */ React23.createElement(PropKeyProvider, { bind }, children));
2667
+ return /* @__PURE__ */ React24.createElement(PropProvider, { propType, value, setValue, isDisabled }, /* @__PURE__ */ React24.createElement(PropKeyProvider, { bind }, isResponsivePropType(propsSchema[bind]) ? /* @__PURE__ */ React24.createElement(ResponsiveBinding, null, children) : children));
2668
+ };
2669
+ var ResponsiveBinding = ({ children }) => {
2670
+ const { value, setValue, propType, disabled } = useBoundProp(responsivePropTypeUtil);
2671
+ const breakpoint = useActiveBreakpoint() ?? DESKTOP_BREAKPOINT;
2672
+ const activeBreakpoints = (useBreakpoints() ?? []).map(({ id }) => id);
2673
+ const inherited = responsiveFallbackChain(breakpoint).filter((key) => key !== breakpoint && activeBreakpoints.includes(key)).map((key) => value?.[key]).find((entry) => entry !== null && entry !== void 0);
2674
+ return /* @__PURE__ */ React24.createElement(
2675
+ PropProvider,
2676
+ {
2677
+ propType,
2678
+ value,
2679
+ setValue,
2680
+ placeholder: { [breakpoint]: inherited },
2681
+ isDisabled: () => disabled
2682
+ },
2683
+ /* @__PURE__ */ React24.createElement(PropKeyProvider, { bind: breakpoint }, children)
2684
+ );
2603
2685
  };
2604
2686
  function useUndoableUpdateElementProp({
2605
2687
  elementId,
@@ -2621,7 +2703,7 @@ function useUndoableUpdateElementProp({
2621
2703
  {
2622
2704
  title: getElementLabel3(elementId),
2623
2705
  // translators: %s is the name of the property that was edited.
2624
- subtitle: __10("%s edited", "elementor").replace("%s", propDisplayName),
2706
+ subtitle: __11("%s edited", "elementor").replace("%s", propDisplayName),
2625
2707
  debounce: { wait: HISTORY_DEBOUNCE_WAIT2 }
2626
2708
  }
2627
2709
  );
@@ -2662,9 +2744,9 @@ var SettingsControl = ({ control: { value, type } }) => {
2662
2744
  controlProps.label = value.label;
2663
2745
  }
2664
2746
  if (type === "element-control") {
2665
- return /* @__PURE__ */ React24.createElement(ControlLayout, { control: value, layout, controlProps });
2747
+ return /* @__PURE__ */ React25.createElement(ControlLayout, { control: value, layout, controlProps });
2666
2748
  }
2667
- return /* @__PURE__ */ React24.createElement(SettingsField, { bind: value.bind, propDisplayName: value.label || value.bind }, /* @__PURE__ */ React24.createElement(ControlLayout, { control: value, layout, controlProps }));
2749
+ return /* @__PURE__ */ React25.createElement(SettingsField, { bind: value.bind, propDisplayName: value.label || value.bind }, /* @__PURE__ */ React25.createElement(ControlLayout, { control: value, layout, controlProps }));
2668
2750
  };
2669
2751
  var ControlLayout = ({
2670
2752
  control,
@@ -2672,7 +2754,7 @@ var ControlLayout = ({
2672
2754
  controlProps
2673
2755
  }) => {
2674
2756
  const controlType = control.type;
2675
- return /* @__PURE__ */ React24.createElement(ControlAdornmentsProvider, { items: getFieldIndicators("settings") }, control.meta?.topDivider && /* @__PURE__ */ React24.createElement(Divider3, null), /* @__PURE__ */ React24.createElement(Wrapper, { "data-type": "settings-field" }, /* @__PURE__ */ React24.createElement(ControlTypeContainer, { layout }, control.label && layout !== "custom" ? /* @__PURE__ */ React24.createElement(ControlLabel, null, control.label) : null, /* @__PURE__ */ React24.createElement(Control, { type: controlType, props: controlProps }))));
2757
+ return /* @__PURE__ */ React25.createElement(ControlAdornmentsProvider, { items: getFieldIndicators("settings") }, control.meta?.topDivider && /* @__PURE__ */ React25.createElement(Divider3, null), /* @__PURE__ */ React25.createElement(Wrapper, { "data-type": "settings-field" }, /* @__PURE__ */ React25.createElement(ControlTypeContainer, { layout }, control.label && layout !== "custom" ? /* @__PURE__ */ React25.createElement(ControlLabel, null, control.label) : null, /* @__PURE__ */ React25.createElement(Control, { type: controlType, props: controlProps }))));
2676
2758
  };
2677
2759
  function populateChildControlProps(props) {
2678
2760
  if (props.childControlType) {
@@ -2696,9 +2778,9 @@ var SettingsTab = () => {
2696
2778
  const settingsDefault = useDefaultPanelSettings();
2697
2779
  const currentSettings = settings;
2698
2780
  const isDefaultExpanded = (sectionId) => !!sectionId && settingsDefault.defaultSectionsExpanded.settings?.includes(sectionId);
2699
- return /* @__PURE__ */ React25.createElement(SessionStorageProvider, { prefix: element.id }, /* @__PURE__ */ React25.createElement(SectionsList, null, elementType.controls.map((control, index) => {
2781
+ return /* @__PURE__ */ React26.createElement(SessionStorageProvider, { prefix: element.id }, /* @__PURE__ */ React26.createElement(SectionsList, null, elementType.controls.map((control, index) => {
2700
2782
  if (isControl(control)) {
2701
- return /* @__PURE__ */ React25.createElement(SettingsControl, { key: getKey(control, element), control });
2783
+ return /* @__PURE__ */ React26.createElement(SettingsControl, { key: getKey(control, element), control });
2702
2784
  }
2703
2785
  const { type, value } = control;
2704
2786
  if (type === "section") {
@@ -2711,7 +2793,7 @@ var SettingsTab = () => {
2711
2793
  if (!sectionItems.length) {
2712
2794
  return null;
2713
2795
  }
2714
- return /* @__PURE__ */ React25.createElement(
2796
+ return /* @__PURE__ */ React26.createElement(
2715
2797
  Section,
2716
2798
  {
2717
2799
  title: value.label,
@@ -2746,7 +2828,7 @@ function renderSectionItems({
2746
2828
  if (item.type === "control" && isControlHiddenByDependencies(item, propsSchema, settings)) {
2747
2829
  return [];
2748
2830
  }
2749
- return [/* @__PURE__ */ React25.createElement(SettingsControl, { key: getKey(item, element), control: item })];
2831
+ return [/* @__PURE__ */ React26.createElement(SettingsControl, { key: getKey(item, element), control: item })];
2750
2832
  }) ?? [];
2751
2833
  }
2752
2834
  function isControlHiddenByDependencies(control, propsSchema, settings) {
@@ -2755,16 +2837,16 @@ function isControlHiddenByDependencies(control, propsSchema, settings) {
2755
2837
  }
2756
2838
 
2757
2839
  // src/components/style-tab.tsx
2758
- import * as React90 from "react";
2759
- import { useState as useState9 } from "react";
2840
+ import * as React91 from "react";
2841
+ import { useState as useState10 } from "react";
2760
2842
  import { CLASSES_PROP_KEY } from "@elementor/editor-props";
2761
- import { useActiveBreakpoint } from "@elementor/editor-responsive";
2843
+ import { useActiveBreakpoint as useActiveBreakpoint2 } from "@elementor/editor-responsive";
2762
2844
  import { createLocation as createLocation4 } from "@elementor/locations";
2763
2845
  import { SessionStorageProvider as SessionStorageProvider2 } from "@elementor/session";
2764
- import { Box as Box7, Divider as Divider5, Stack as Stack13 } from "@elementor/ui";
2846
+ import { Box as Box8, Divider as Divider5, Stack as Stack13 } from "@elementor/ui";
2765
2847
 
2766
2848
  // src/contexts/styles-inheritance-context.tsx
2767
- import * as React26 from "react";
2849
+ import * as React27 from "react";
2768
2850
  import { createContext as createContext6, useContext as useContext6, useMemo as useMemo8 } from "react";
2769
2851
  import { getWidgetsCache } from "@elementor/editor-elements";
2770
2852
  import { classesPropTypeUtil as classesPropTypeUtil3 } from "@elementor/editor-props";
@@ -3020,7 +3102,7 @@ function StyleInheritanceProvider({ children }) {
3020
3102
  const styleDefs = useAppliedStyles();
3021
3103
  const breakpointsTree = getBreakpointsTree2();
3022
3104
  const { getSnapshot, getInheritanceChain } = createStylesInheritance(styleDefs, breakpointsTree);
3023
- return /* @__PURE__ */ React26.createElement(Context4.Provider, { value: { getSnapshot, getInheritanceChain } }, children);
3105
+ return /* @__PURE__ */ React27.createElement(Context4.Provider, { value: { getSnapshot, getInheritanceChain } }, children);
3024
3106
  }
3025
3107
  function useStylesInheritanceSnapshot() {
3026
3108
  const context = useContext6(Context4);
@@ -3115,18 +3197,18 @@ function useActiveAndAppliedClassId(id, appliedClassesIds) {
3115
3197
  }
3116
3198
 
3117
3199
  // src/components/style-sections.tsx
3118
- import * as React89 from "react";
3200
+ import * as React90 from "react";
3119
3201
 
3120
3202
  // src/components/style-sections-definition.ts
3121
- import { __ as __63 } from "@wordpress/i18n";
3203
+ import { __ as __64 } from "@wordpress/i18n";
3122
3204
 
3123
3205
  // src/components/style-sections/background-section/background-section.tsx
3124
- import * as React29 from "react";
3206
+ import * as React30 from "react";
3125
3207
  import { BackgroundControl } from "@elementor/editor-controls";
3126
- import { __ as __11 } from "@wordpress/i18n";
3208
+ import { __ as __12 } from "@wordpress/i18n";
3127
3209
 
3128
3210
  // src/controls-registry/styles-field.tsx
3129
- import * as React27 from "react";
3211
+ import * as React28 from "react";
3130
3212
  import { ControlAdornmentsProvider as ControlAdornmentsProvider2, PropKeyProvider as PropKeyProvider2, PropProvider as PropProvider2 } from "@elementor/editor-controls";
3131
3213
  import { dimensionsPropTypeUtil, sizePropTypeUtil as sizePropTypeUtil2 } from "@elementor/editor-props";
3132
3214
  import { getStylesSchema as getStylesSchema2 } from "@elementor/editor-styles";
@@ -3143,10 +3225,10 @@ function useStylesField(propName, meta) {
3143
3225
 
3144
3226
  // src/controls-registry/conditional-field.tsx
3145
3227
  import { useEffect as useEffect4, useRef as useRef4 } from "react";
3146
- import { useBoundProp } from "@elementor/editor-controls";
3228
+ import { useBoundProp as useBoundProp2 } from "@elementor/editor-controls";
3147
3229
  import { isDependency as isDependency2, isDependencyMet as isDependencyMet2 } from "@elementor/editor-props";
3148
3230
  var ConditionalField = ({ children }) => {
3149
- const { propType, value, resetValue } = useBoundProp();
3231
+ const { propType, value, resetValue } = useBoundProp2();
3150
3232
  const depList = getDependencies(propType);
3151
3233
  const { values: depValues, setValues: setDepValues } = useStylesFields(depList);
3152
3234
  const inheritedValues = useInheritedValues(depList);
@@ -3271,7 +3353,7 @@ var StylesField = ({ bind, propDisplayName, children }) => {
3271
3353
  const setValue = (newValue) => {
3272
3354
  fields.setValue(newValue[bind]);
3273
3355
  };
3274
- return /* @__PURE__ */ React27.createElement(ControlAdornmentsProvider2, { items: getFieldIndicators("styles") }, /* @__PURE__ */ React27.createElement(
3356
+ return /* @__PURE__ */ React28.createElement(ControlAdornmentsProvider2, { items: getFieldIndicators("styles") }, /* @__PURE__ */ React28.createElement(
3275
3357
  PropProvider2,
3276
3358
  {
3277
3359
  propType,
@@ -3280,12 +3362,12 @@ var StylesField = ({ bind, propDisplayName, children }) => {
3280
3362
  placeholder: placeholderValues,
3281
3363
  isDisabled: () => !canEdit
3282
3364
  },
3283
- /* @__PURE__ */ React27.createElement(PropKeyProvider2, { bind }, /* @__PURE__ */ React27.createElement(ConditionalField, null, children))
3365
+ /* @__PURE__ */ React28.createElement(PropKeyProvider2, { bind }, /* @__PURE__ */ React28.createElement(ConditionalField, null, children))
3284
3366
  ));
3285
3367
  };
3286
3368
 
3287
3369
  // src/components/section-content.tsx
3288
- import * as React28 from "react";
3370
+ import * as React29 from "react";
3289
3371
  import { Stack as Stack6 } from "@elementor/ui";
3290
3372
  var SectionContent = ({
3291
3373
  gap = 2,
@@ -3293,32 +3375,32 @@ var SectionContent = ({
3293
3375
  children,
3294
3376
  "aria-label": ariaLabel,
3295
3377
  className
3296
- }) => /* @__PURE__ */ React28.createElement(Stack6, { gap, sx: { ...sx }, "aria-label": ariaLabel, className }, children);
3378
+ }) => /* @__PURE__ */ React29.createElement(Stack6, { gap, sx: { ...sx }, "aria-label": ariaLabel, className }, children);
3297
3379
 
3298
3380
  // src/components/style-sections/background-section/background-section.tsx
3299
- var BACKGROUND_LABEL = __11("Background", "elementor");
3381
+ var BACKGROUND_LABEL = __12("Background", "elementor");
3300
3382
  var BackgroundSection = () => {
3301
- return /* @__PURE__ */ React29.createElement(SectionContent, null, /* @__PURE__ */ React29.createElement(StylesField, { bind: "background", propDisplayName: BACKGROUND_LABEL }, /* @__PURE__ */ React29.createElement(BackgroundControl, null)));
3383
+ return /* @__PURE__ */ React30.createElement(SectionContent, null, /* @__PURE__ */ React30.createElement(StylesField, { bind: "background", propDisplayName: BACKGROUND_LABEL }, /* @__PURE__ */ React30.createElement(BackgroundControl, null)));
3302
3384
  };
3303
3385
 
3304
3386
  // src/components/style-sections/border-section/border-section.tsx
3305
- import * as React36 from "react";
3387
+ import * as React37 from "react";
3306
3388
 
3307
3389
  // src/components/style-sections/border-section/border-color-field.tsx
3308
- import * as React31 from "react";
3390
+ import * as React32 from "react";
3309
3391
  import { ColorControl } from "@elementor/editor-controls";
3310
- import { __ as __12 } from "@wordpress/i18n";
3392
+ import { __ as __13 } from "@wordpress/i18n";
3311
3393
 
3312
3394
  // src/components/styles-field-layout.tsx
3313
- import * as React30 from "react";
3395
+ import * as React31 from "react";
3314
3396
  import { Grid, Stack as Stack7 } from "@elementor/ui";
3315
- var StylesFieldLayout = React30.forwardRef((props, ref) => {
3397
+ var StylesFieldLayout = React31.forwardRef((props, ref) => {
3316
3398
  const { direction = "row", children, label, infoTooltip } = props;
3317
3399
  const LayoutComponent = direction === "row" ? Row : Column;
3318
- return /* @__PURE__ */ React30.createElement(LayoutComponent, { label, infoTooltip, ref, children });
3400
+ return /* @__PURE__ */ React31.createElement(LayoutComponent, { label, infoTooltip, ref, children });
3319
3401
  });
3320
- var Row = React30.forwardRef(({ label, children, infoTooltip }, ref) => {
3321
- return /* @__PURE__ */ React30.createElement(Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap", ref, "aria-label": `${label} control` }, /* @__PURE__ */ React30.createElement(Grid, { item: true, xs: 6 }, /* @__PURE__ */ React30.createElement(ControlLabel, { infoTooltip }, label)), /* @__PURE__ */ React30.createElement(
3402
+ var Row = React31.forwardRef(({ label, children, infoTooltip }, ref) => {
3403
+ return /* @__PURE__ */ React31.createElement(Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap", ref, "aria-label": `${label} control` }, /* @__PURE__ */ React31.createElement(Grid, { item: true, xs: 6 }, /* @__PURE__ */ React31.createElement(ControlLabel, { infoTooltip }, label)), /* @__PURE__ */ React31.createElement(
3322
3404
  Grid,
3323
3405
  {
3324
3406
  item: true,
@@ -3330,16 +3412,16 @@ var Row = React30.forwardRef(({ label, children, infoTooltip }, ref) => {
3330
3412
  children
3331
3413
  ));
3332
3414
  });
3333
- var Column = React30.forwardRef(({ label, children, infoTooltip }, ref) => {
3334
- return /* @__PURE__ */ React30.createElement(Stack7, { gap: 0.75, ref }, /* @__PURE__ */ React30.createElement(ControlLabel, { infoTooltip }, label), children);
3415
+ var Column = React31.forwardRef(({ label, children, infoTooltip }, ref) => {
3416
+ return /* @__PURE__ */ React31.createElement(Stack7, { gap: 0.75, ref }, /* @__PURE__ */ React31.createElement(ControlLabel, { infoTooltip }, label), children);
3335
3417
  });
3336
3418
 
3337
3419
  // src/components/style-sections/border-section/border-color-field.tsx
3338
- var BORDER_COLOR_LABEL = __12("Border color", "elementor");
3339
- var BorderColorField = () => /* @__PURE__ */ React31.createElement(StylesField, { bind: "border-color", propDisplayName: BORDER_COLOR_LABEL }, /* @__PURE__ */ React31.createElement(StylesFieldLayout, { label: BORDER_COLOR_LABEL }, /* @__PURE__ */ React31.createElement(ColorControl, null)));
3420
+ var BORDER_COLOR_LABEL = __13("Border color", "elementor");
3421
+ var BorderColorField = () => /* @__PURE__ */ React32.createElement(StylesField, { bind: "border-color", propDisplayName: BORDER_COLOR_LABEL }, /* @__PURE__ */ React32.createElement(StylesFieldLayout, { label: BORDER_COLOR_LABEL }, /* @__PURE__ */ React32.createElement(ColorControl, null)));
3340
3422
 
3341
3423
  // src/components/style-sections/border-section/border-radius-field.tsx
3342
- import * as React33 from "react";
3424
+ import * as React34 from "react";
3343
3425
  import { EqualUnequalSizesControl } from "@elementor/editor-controls";
3344
3426
  import { borderRadiusPropTypeUtil } from "@elementor/editor-props";
3345
3427
  import {
@@ -3350,7 +3432,7 @@ import {
3350
3432
  RadiusTopRightIcon
3351
3433
  } from "@elementor/icons";
3352
3434
  import { withDirection } from "@elementor/ui";
3353
- import { __ as __13 } from "@wordpress/i18n";
3435
+ import { __ as __14 } from "@wordpress/i18n";
3354
3436
 
3355
3437
  // src/hooks/use-direction.ts
3356
3438
  import { getElementorFrontendConfig } from "@elementor/editor-v1-adapters";
@@ -3362,147 +3444,147 @@ function useDirection() {
3362
3444
  }
3363
3445
 
3364
3446
  // src/styles-inheritance/components/ui-providers.tsx
3365
- import * as React32 from "react";
3447
+ import * as React33 from "react";
3366
3448
  import { DirectionProvider, ThemeProvider as ThemeProvider2 } from "@elementor/ui";
3367
3449
  var UiProviders = ({ children }) => {
3368
3450
  const { isSiteRtl } = useDirection();
3369
- return /* @__PURE__ */ React32.createElement(DirectionProvider, { rtl: isSiteRtl }, /* @__PURE__ */ React32.createElement(ThemeProvider2, null, children));
3451
+ return /* @__PURE__ */ React33.createElement(DirectionProvider, { rtl: isSiteRtl }, /* @__PURE__ */ React33.createElement(ThemeProvider2, null, children));
3370
3452
  };
3371
3453
 
3372
3454
  // src/components/style-sections/border-section/border-radius-field.tsx
3373
- var BORDER_RADIUS_LABEL = __13("Border radius", "elementor");
3455
+ var BORDER_RADIUS_LABEL = __14("Border radius", "elementor");
3374
3456
  var StartStartIcon = withDirection(RadiusTopLeftIcon);
3375
3457
  var StartEndIcon = withDirection(RadiusTopRightIcon);
3376
3458
  var EndStartIcon = withDirection(RadiusBottomLeftIcon);
3377
3459
  var EndEndIcon = withDirection(RadiusBottomRightIcon);
3378
- var getStartStartLabel = (isSiteRtl) => isSiteRtl ? __13("Top right", "elementor") : __13("Top left", "elementor");
3379
- var getStartStartAriaLabel = (isSiteRtl) => isSiteRtl ? __13("Border top right radius", "elementor") : __13("Border top left radius", "elementor");
3380
- var getStartEndLabel = (isSiteRtl) => isSiteRtl ? __13("Top left", "elementor") : __13("Top right", "elementor");
3381
- var getStartEndAriaLabel = (isSiteRtl) => isSiteRtl ? __13("Border top left radius", "elementor") : __13("Border top right radius", "elementor");
3382
- var getEndStartLabel = (isSiteRtl) => isSiteRtl ? __13("Bottom right", "elementor") : __13("Bottom left", "elementor");
3383
- var getEndStartAriaLabel = (isSiteRtl) => isSiteRtl ? __13("Border bottom right radius", "elementor") : __13("Border bottom left radius", "elementor");
3384
- var getEndEndLabel = (isSiteRtl) => isSiteRtl ? __13("Bottom left", "elementor") : __13("Bottom right", "elementor");
3385
- var getEndEndAriaLabel = (isSiteRtl) => isSiteRtl ? __13("Border bottom left radius", "elementor") : __13("Border bottom right radius", "elementor");
3460
+ var getStartStartLabel = (isSiteRtl) => isSiteRtl ? __14("Top right", "elementor") : __14("Top left", "elementor");
3461
+ var getStartStartAriaLabel = (isSiteRtl) => isSiteRtl ? __14("Border top right radius", "elementor") : __14("Border top left radius", "elementor");
3462
+ var getStartEndLabel = (isSiteRtl) => isSiteRtl ? __14("Top left", "elementor") : __14("Top right", "elementor");
3463
+ var getStartEndAriaLabel = (isSiteRtl) => isSiteRtl ? __14("Border top left radius", "elementor") : __14("Border top right radius", "elementor");
3464
+ var getEndStartLabel = (isSiteRtl) => isSiteRtl ? __14("Bottom right", "elementor") : __14("Bottom left", "elementor");
3465
+ var getEndStartAriaLabel = (isSiteRtl) => isSiteRtl ? __14("Border bottom right radius", "elementor") : __14("Border bottom left radius", "elementor");
3466
+ var getEndEndLabel = (isSiteRtl) => isSiteRtl ? __14("Bottom left", "elementor") : __14("Bottom right", "elementor");
3467
+ var getEndEndAriaLabel = (isSiteRtl) => isSiteRtl ? __14("Border bottom left radius", "elementor") : __14("Border bottom right radius", "elementor");
3386
3468
  var getCorners = (isSiteRtl) => [
3387
3469
  {
3388
3470
  label: getStartStartLabel(isSiteRtl),
3389
3471
  ariaLabel: getStartStartAriaLabel(isSiteRtl),
3390
- icon: /* @__PURE__ */ React33.createElement(StartStartIcon, { fontSize: "tiny" }),
3472
+ icon: /* @__PURE__ */ React34.createElement(StartStartIcon, { fontSize: "tiny" }),
3391
3473
  bind: "start-start"
3392
3474
  },
3393
3475
  {
3394
3476
  label: getStartEndLabel(isSiteRtl),
3395
3477
  ariaLabel: getStartEndAriaLabel(isSiteRtl),
3396
- icon: /* @__PURE__ */ React33.createElement(StartEndIcon, { fontSize: "tiny" }),
3478
+ icon: /* @__PURE__ */ React34.createElement(StartEndIcon, { fontSize: "tiny" }),
3397
3479
  bind: "start-end"
3398
3480
  },
3399
3481
  {
3400
3482
  label: getEndStartLabel(isSiteRtl),
3401
3483
  ariaLabel: getEndStartAriaLabel(isSiteRtl),
3402
- icon: /* @__PURE__ */ React33.createElement(EndStartIcon, { fontSize: "tiny" }),
3484
+ icon: /* @__PURE__ */ React34.createElement(EndStartIcon, { fontSize: "tiny" }),
3403
3485
  bind: "end-start"
3404
3486
  },
3405
3487
  {
3406
3488
  label: getEndEndLabel(isSiteRtl),
3407
3489
  ariaLabel: getEndEndAriaLabel(isSiteRtl),
3408
- icon: /* @__PURE__ */ React33.createElement(EndEndIcon, { fontSize: "tiny" }),
3490
+ icon: /* @__PURE__ */ React34.createElement(EndEndIcon, { fontSize: "tiny" }),
3409
3491
  bind: "end-end"
3410
3492
  }
3411
3493
  ];
3412
3494
  var BorderRadiusField = () => {
3413
3495
  const { isSiteRtl } = useDirection();
3414
- return /* @__PURE__ */ React33.createElement(UiProviders, null, /* @__PURE__ */ React33.createElement(StylesField, { bind: "border-radius", propDisplayName: BORDER_RADIUS_LABEL }, /* @__PURE__ */ React33.createElement(
3496
+ return /* @__PURE__ */ React34.createElement(UiProviders, null, /* @__PURE__ */ React34.createElement(StylesField, { bind: "border-radius", propDisplayName: BORDER_RADIUS_LABEL }, /* @__PURE__ */ React34.createElement(
3415
3497
  EqualUnequalSizesControl,
3416
3498
  {
3417
3499
  items: getCorners(isSiteRtl),
3418
3500
  label: BORDER_RADIUS_LABEL,
3419
- icon: /* @__PURE__ */ React33.createElement(BorderCornersIcon, { fontSize: "tiny" }),
3420
- tooltipLabel: __13("Adjust corners", "elementor"),
3501
+ icon: /* @__PURE__ */ React34.createElement(BorderCornersIcon, { fontSize: "tiny" }),
3502
+ tooltipLabel: __14("Adjust corners", "elementor"),
3421
3503
  multiSizePropTypeUtil: borderRadiusPropTypeUtil
3422
3504
  }
3423
3505
  )));
3424
3506
  };
3425
3507
 
3426
3508
  // src/components/style-sections/border-section/border-style-field.tsx
3427
- import * as React34 from "react";
3509
+ import * as React35 from "react";
3428
3510
  import { SelectControl } from "@elementor/editor-controls";
3429
- import { __ as __14 } from "@wordpress/i18n";
3430
- var BORDER_TYPE_LABEL = __14("Border type", "elementor");
3511
+ import { __ as __15 } from "@wordpress/i18n";
3512
+ var BORDER_TYPE_LABEL = __15("Border type", "elementor");
3431
3513
  var borderStyles = [
3432
- { value: "none", label: __14("None", "elementor") },
3433
- { value: "solid", label: __14("Solid", "elementor") },
3434
- { value: "dashed", label: __14("Dashed", "elementor") },
3435
- { value: "dotted", label: __14("Dotted", "elementor") },
3436
- { value: "double", label: __14("Double", "elementor") },
3437
- { value: "groove", label: __14("Groove", "elementor") },
3438
- { value: "ridge", label: __14("Ridge", "elementor") },
3439
- { value: "inset", label: __14("Inset", "elementor") },
3440
- { value: "outset", label: __14("Outset", "elementor") }
3514
+ { value: "none", label: __15("None", "elementor") },
3515
+ { value: "solid", label: __15("Solid", "elementor") },
3516
+ { value: "dashed", label: __15("Dashed", "elementor") },
3517
+ { value: "dotted", label: __15("Dotted", "elementor") },
3518
+ { value: "double", label: __15("Double", "elementor") },
3519
+ { value: "groove", label: __15("Groove", "elementor") },
3520
+ { value: "ridge", label: __15("Ridge", "elementor") },
3521
+ { value: "inset", label: __15("Inset", "elementor") },
3522
+ { value: "outset", label: __15("Outset", "elementor") }
3441
3523
  ];
3442
- var BorderStyleField = () => /* @__PURE__ */ React34.createElement(StylesField, { bind: "border-style", propDisplayName: BORDER_TYPE_LABEL }, /* @__PURE__ */ React34.createElement(StylesFieldLayout, { label: BORDER_TYPE_LABEL }, /* @__PURE__ */ React34.createElement(SelectControl, { options: borderStyles })));
3524
+ var BorderStyleField = () => /* @__PURE__ */ React35.createElement(StylesField, { bind: "border-style", propDisplayName: BORDER_TYPE_LABEL }, /* @__PURE__ */ React35.createElement(StylesFieldLayout, { label: BORDER_TYPE_LABEL }, /* @__PURE__ */ React35.createElement(SelectControl, { options: borderStyles })));
3443
3525
 
3444
3526
  // src/components/style-sections/border-section/border-width-field.tsx
3445
- import * as React35 from "react";
3527
+ import * as React36 from "react";
3446
3528
  import { EqualUnequalSizesControl as EqualUnequalSizesControl2 } from "@elementor/editor-controls";
3447
3529
  import { borderWidthPropTypeUtil } from "@elementor/editor-props";
3448
3530
  import { SideAllIcon, SideBottomIcon, SideLeftIcon, SideRightIcon, SideTopIcon } from "@elementor/icons";
3449
3531
  import { withDirection as withDirection2 } from "@elementor/ui";
3450
- import { __ as __15 } from "@wordpress/i18n";
3451
- var BORDER_WIDTH_LABEL = __15("Border width", "elementor");
3532
+ import { __ as __16 } from "@wordpress/i18n";
3533
+ var BORDER_WIDTH_LABEL = __16("Border width", "elementor");
3452
3534
  var InlineStartIcon = withDirection2(SideRightIcon);
3453
3535
  var InlineEndIcon = withDirection2(SideLeftIcon);
3454
3536
  var getEdges = (isSiteRtl) => [
3455
3537
  {
3456
- label: __15("Top", "elementor"),
3457
- ariaLabel: __15("Border top width", "elementor"),
3458
- icon: /* @__PURE__ */ React35.createElement(SideTopIcon, { fontSize: "tiny" }),
3538
+ label: __16("Top", "elementor"),
3539
+ ariaLabel: __16("Border top width", "elementor"),
3540
+ icon: /* @__PURE__ */ React36.createElement(SideTopIcon, { fontSize: "tiny" }),
3459
3541
  bind: "block-start"
3460
3542
  },
3461
3543
  {
3462
- label: isSiteRtl ? __15("Left", "elementor") : __15("Right", "elementor"),
3463
- ariaLabel: isSiteRtl ? __15("Border left width", "elementor") : __15("Border right width", "elementor"),
3464
- icon: /* @__PURE__ */ React35.createElement(InlineStartIcon, { fontSize: "tiny" }),
3544
+ label: isSiteRtl ? __16("Left", "elementor") : __16("Right", "elementor"),
3545
+ ariaLabel: isSiteRtl ? __16("Border left width", "elementor") : __16("Border right width", "elementor"),
3546
+ icon: /* @__PURE__ */ React36.createElement(InlineStartIcon, { fontSize: "tiny" }),
3465
3547
  bind: "inline-end"
3466
3548
  },
3467
3549
  {
3468
- label: __15("Bottom", "elementor"),
3469
- ariaLabel: __15("Border bottom width", "elementor"),
3470
- icon: /* @__PURE__ */ React35.createElement(SideBottomIcon, { fontSize: "tiny" }),
3550
+ label: __16("Bottom", "elementor"),
3551
+ ariaLabel: __16("Border bottom width", "elementor"),
3552
+ icon: /* @__PURE__ */ React36.createElement(SideBottomIcon, { fontSize: "tiny" }),
3471
3553
  bind: "block-end"
3472
3554
  },
3473
3555
  {
3474
- label: isSiteRtl ? __15("Right", "elementor") : __15("Left", "elementor"),
3475
- ariaLabel: isSiteRtl ? __15("Border right width", "elementor") : __15("Border left width", "elementor"),
3476
- icon: /* @__PURE__ */ React35.createElement(InlineEndIcon, { fontSize: "tiny" }),
3556
+ label: isSiteRtl ? __16("Right", "elementor") : __16("Left", "elementor"),
3557
+ ariaLabel: isSiteRtl ? __16("Border right width", "elementor") : __16("Border left width", "elementor"),
3558
+ icon: /* @__PURE__ */ React36.createElement(InlineEndIcon, { fontSize: "tiny" }),
3477
3559
  bind: "inline-start"
3478
3560
  }
3479
3561
  ];
3480
3562
  var BorderWidthField = () => {
3481
3563
  const { isSiteRtl } = useDirection();
3482
- return /* @__PURE__ */ React35.createElement(StylesField, { bind: "border-width", propDisplayName: BORDER_WIDTH_LABEL }, /* @__PURE__ */ React35.createElement(
3564
+ return /* @__PURE__ */ React36.createElement(StylesField, { bind: "border-width", propDisplayName: BORDER_WIDTH_LABEL }, /* @__PURE__ */ React36.createElement(
3483
3565
  EqualUnequalSizesControl2,
3484
3566
  {
3485
3567
  items: getEdges(isSiteRtl),
3486
3568
  label: BORDER_WIDTH_LABEL,
3487
- icon: /* @__PURE__ */ React35.createElement(SideAllIcon, { fontSize: "tiny" }),
3488
- tooltipLabel: __15("Adjust borders", "elementor"),
3569
+ icon: /* @__PURE__ */ React36.createElement(SideAllIcon, { fontSize: "tiny" }),
3570
+ tooltipLabel: __16("Adjust borders", "elementor"),
3489
3571
  multiSizePropTypeUtil: borderWidthPropTypeUtil
3490
3572
  }
3491
3573
  ));
3492
3574
  };
3493
3575
 
3494
3576
  // src/components/style-sections/border-section/border-section.tsx
3495
- var BorderSection = () => /* @__PURE__ */ React36.createElement(SectionContent, null, /* @__PURE__ */ React36.createElement(BorderWidthField, null), /* @__PURE__ */ React36.createElement(BorderColorField, null), /* @__PURE__ */ React36.createElement(BorderStyleField, null), /* @__PURE__ */ React36.createElement(BorderRadiusField, null));
3577
+ var BorderSection = () => /* @__PURE__ */ React37.createElement(SectionContent, null, /* @__PURE__ */ React37.createElement(BorderWidthField, null), /* @__PURE__ */ React37.createElement(BorderColorField, null), /* @__PURE__ */ React37.createElement(BorderStyleField, null), /* @__PURE__ */ React37.createElement(BorderRadiusField, null));
3496
3578
 
3497
3579
  // src/components/style-sections/effects-section/effects-section.tsx
3498
- import * as React40 from "react";
3580
+ import * as React41 from "react";
3499
3581
  import {
3500
3582
  BoxShadowRepeaterControl,
3501
3583
  FilterRepeaterControl,
3502
3584
  TransformRepeaterControl,
3503
3585
  TransitionRepeaterControl
3504
3586
  } from "@elementor/editor-controls";
3505
- import { __ as __18 } from "@wordpress/i18n";
3587
+ import { __ as __19 } from "@wordpress/i18n";
3506
3588
 
3507
3589
  // src/utils/can-element-have-children.ts
3508
3590
  import { getContainer } from "@elementor/editor-elements";
@@ -3543,73 +3625,73 @@ var getRecentlyUsedList = async (elementId) => {
3543
3625
  };
3544
3626
 
3545
3627
  // src/components/panel-divider.tsx
3546
- import * as React37 from "react";
3628
+ import * as React38 from "react";
3547
3629
  import { Divider as Divider4 } from "@elementor/ui";
3548
- var PanelDivider = () => /* @__PURE__ */ React37.createElement(Divider4, { sx: { my: 0.5 } });
3630
+ var PanelDivider = () => /* @__PURE__ */ React38.createElement(Divider4, { sx: { my: 0.5 } });
3549
3631
 
3550
3632
  // src/components/style-sections/effects-section/blend-mode-field.tsx
3551
- import * as React38 from "react";
3633
+ import * as React39 from "react";
3552
3634
  import { SelectControl as SelectControl2 } from "@elementor/editor-controls";
3553
- import { __ as __16 } from "@wordpress/i18n";
3554
- var BLEND_MODE_LABEL = __16("Blend mode", "elementor");
3635
+ import { __ as __17 } from "@wordpress/i18n";
3636
+ var BLEND_MODE_LABEL = __17("Blend mode", "elementor");
3555
3637
  var blendModeOptions = [
3556
- { label: __16("Normal", "elementor"), value: "normal" },
3557
- { label: __16("Multiply", "elementor"), value: "multiply" },
3558
- { label: __16("Screen", "elementor"), value: "screen" },
3559
- { label: __16("Overlay", "elementor"), value: "overlay" },
3560
- { label: __16("Darken", "elementor"), value: "darken" },
3561
- { label: __16("Lighten", "elementor"), value: "lighten" },
3562
- { label: __16("Color dodge", "elementor"), value: "color-dodge" },
3563
- { label: __16("Color burn", "elementor"), value: "color-burn" },
3564
- { label: __16("Saturation", "elementor"), value: "saturation" },
3565
- { label: __16("Color", "elementor"), value: "color" },
3566
- { label: __16("Difference", "elementor"), value: "difference" },
3567
- { label: __16("Exclusion", "elementor"), value: "exclusion" },
3568
- { label: __16("Hue", "elementor"), value: "hue" },
3569
- { label: __16("Luminosity", "elementor"), value: "luminosity" },
3570
- { label: __16("Soft light", "elementor"), value: "soft-light" },
3571
- { label: __16("Hard light", "elementor"), value: "hard-light" }
3638
+ { label: __17("Normal", "elementor"), value: "normal" },
3639
+ { label: __17("Multiply", "elementor"), value: "multiply" },
3640
+ { label: __17("Screen", "elementor"), value: "screen" },
3641
+ { label: __17("Overlay", "elementor"), value: "overlay" },
3642
+ { label: __17("Darken", "elementor"), value: "darken" },
3643
+ { label: __17("Lighten", "elementor"), value: "lighten" },
3644
+ { label: __17("Color dodge", "elementor"), value: "color-dodge" },
3645
+ { label: __17("Color burn", "elementor"), value: "color-burn" },
3646
+ { label: __17("Saturation", "elementor"), value: "saturation" },
3647
+ { label: __17("Color", "elementor"), value: "color" },
3648
+ { label: __17("Difference", "elementor"), value: "difference" },
3649
+ { label: __17("Exclusion", "elementor"), value: "exclusion" },
3650
+ { label: __17("Hue", "elementor"), value: "hue" },
3651
+ { label: __17("Luminosity", "elementor"), value: "luminosity" },
3652
+ { label: __17("Soft light", "elementor"), value: "soft-light" },
3653
+ { label: __17("Hard light", "elementor"), value: "hard-light" }
3572
3654
  ];
3573
3655
  var BlendModeField = () => {
3574
- return /* @__PURE__ */ React38.createElement(StylesField, { bind: "mix-blend-mode", propDisplayName: BLEND_MODE_LABEL }, /* @__PURE__ */ React38.createElement(StylesFieldLayout, { label: BLEND_MODE_LABEL }, /* @__PURE__ */ React38.createElement(SelectControl2, { options: blendModeOptions })));
3656
+ return /* @__PURE__ */ React39.createElement(StylesField, { bind: "mix-blend-mode", propDisplayName: BLEND_MODE_LABEL }, /* @__PURE__ */ React39.createElement(StylesFieldLayout, { label: BLEND_MODE_LABEL }, /* @__PURE__ */ React39.createElement(SelectControl2, { options: blendModeOptions })));
3575
3657
  };
3576
3658
 
3577
3659
  // src/components/style-sections/effects-section/opacity-control-field.tsx
3578
- import * as React39 from "react";
3660
+ import * as React40 from "react";
3579
3661
  import { useRef as useRef5 } from "react";
3580
3662
  import { SizeControl as SizeControl2 } from "@elementor/editor-controls";
3581
- import { __ as __17 } from "@wordpress/i18n";
3582
- var OPACITY_LABEL = __17("Opacity", "elementor");
3663
+ import { __ as __18 } from "@wordpress/i18n";
3664
+ var OPACITY_LABEL = __18("Opacity", "elementor");
3583
3665
  var OpacityControlField = () => {
3584
3666
  const rowRef = useRef5(null);
3585
- return /* @__PURE__ */ React39.createElement(StylesField, { bind: "opacity", propDisplayName: OPACITY_LABEL }, /* @__PURE__ */ React39.createElement(StylesFieldLayout, { ref: rowRef, label: OPACITY_LABEL }, /* @__PURE__ */ React39.createElement(SizeControl2, { units: ["%"], anchorRef: rowRef, defaultUnit: "%" })));
3667
+ return /* @__PURE__ */ React40.createElement(StylesField, { bind: "opacity", propDisplayName: OPACITY_LABEL }, /* @__PURE__ */ React40.createElement(StylesFieldLayout, { ref: rowRef, label: OPACITY_LABEL }, /* @__PURE__ */ React40.createElement(SizeControl2, { units: ["%"], anchorRef: rowRef, defaultUnit: "%" })));
3586
3668
  };
3587
3669
 
3588
3670
  // src/components/style-sections/effects-section/effects-section.tsx
3589
- var BOX_SHADOW_LABEL = __18("Box shadow", "elementor");
3590
- var FILTER_LABEL = __18("Filters", "elementor");
3591
- var TRANSFORM_LABEL = __18("Transform", "elementor");
3592
- var BACKDROP_FILTER_LABEL = __18("Backdrop filters", "elementor");
3593
- var TRANSITIONS_LABEL = __18("Transitions", "elementor");
3671
+ var BOX_SHADOW_LABEL = __19("Box shadow", "elementor");
3672
+ var FILTER_LABEL = __19("Filters", "elementor");
3673
+ var TRANSFORM_LABEL = __19("Transform", "elementor");
3674
+ var BACKDROP_FILTER_LABEL = __19("Backdrop filters", "elementor");
3675
+ var TRANSITIONS_LABEL = __19("Transitions", "elementor");
3594
3676
  var EffectsSection = () => {
3595
3677
  const { element } = useElement();
3596
3678
  const { meta } = useStyle();
3597
3679
  const canHaveChildren = canElementHaveChildren(element?.id ?? "");
3598
- return /* @__PURE__ */ React40.createElement(SectionContent, { gap: 1 }, /* @__PURE__ */ React40.createElement(BlendModeField, null), /* @__PURE__ */ React40.createElement(PanelDivider, null), /* @__PURE__ */ React40.createElement(OpacityControlField, null), /* @__PURE__ */ React40.createElement(PanelDivider, null), /* @__PURE__ */ React40.createElement(StylesField, { bind: "box-shadow", propDisplayName: BOX_SHADOW_LABEL }, /* @__PURE__ */ React40.createElement(BoxShadowRepeaterControl, null)), /* @__PURE__ */ React40.createElement(PanelDivider, null), /* @__PURE__ */ React40.createElement(StylesField, { bind: "transform", propDisplayName: TRANSFORM_LABEL }, /* @__PURE__ */ React40.createElement(TransformRepeaterControl, { showChildrenPerspective: canHaveChildren })), /* @__PURE__ */ React40.createElement(PanelDivider, null), /* @__PURE__ */ React40.createElement(StylesField, { bind: "transition", propDisplayName: TRANSITIONS_LABEL }, /* @__PURE__ */ React40.createElement(
3680
+ return /* @__PURE__ */ React41.createElement(SectionContent, { gap: 1 }, /* @__PURE__ */ React41.createElement(BlendModeField, null), /* @__PURE__ */ React41.createElement(PanelDivider, null), /* @__PURE__ */ React41.createElement(OpacityControlField, null), /* @__PURE__ */ React41.createElement(PanelDivider, null), /* @__PURE__ */ React41.createElement(StylesField, { bind: "box-shadow", propDisplayName: BOX_SHADOW_LABEL }, /* @__PURE__ */ React41.createElement(BoxShadowRepeaterControl, null)), /* @__PURE__ */ React41.createElement(PanelDivider, null), /* @__PURE__ */ React41.createElement(StylesField, { bind: "transform", propDisplayName: TRANSFORM_LABEL }, /* @__PURE__ */ React41.createElement(TransformRepeaterControl, { showChildrenPerspective: canHaveChildren })), /* @__PURE__ */ React41.createElement(PanelDivider, null), /* @__PURE__ */ React41.createElement(StylesField, { bind: "transition", propDisplayName: TRANSITIONS_LABEL }, /* @__PURE__ */ React41.createElement(
3599
3681
  TransitionRepeaterControl,
3600
3682
  {
3601
3683
  currentStyleState: meta.state,
3602
3684
  recentlyUsedListGetter: () => getRecentlyUsedList(element?.id ?? "")
3603
3685
  }
3604
- )), /* @__PURE__ */ React40.createElement(PanelDivider, null), /* @__PURE__ */ React40.createElement(StylesField, { bind: "filter", propDisplayName: FILTER_LABEL }, /* @__PURE__ */ React40.createElement(FilterRepeaterControl, null)), /* @__PURE__ */ React40.createElement(PanelDivider, null), /* @__PURE__ */ React40.createElement(StylesField, { bind: "backdrop-filter", propDisplayName: BACKDROP_FILTER_LABEL }, /* @__PURE__ */ React40.createElement(FilterRepeaterControl, { filterPropName: "backdrop-filter" })));
3686
+ )), /* @__PURE__ */ React41.createElement(PanelDivider, null), /* @__PURE__ */ React41.createElement(StylesField, { bind: "filter", propDisplayName: FILTER_LABEL }, /* @__PURE__ */ React41.createElement(FilterRepeaterControl, null)), /* @__PURE__ */ React41.createElement(PanelDivider, null), /* @__PURE__ */ React41.createElement(StylesField, { bind: "backdrop-filter", propDisplayName: BACKDROP_FILTER_LABEL }, /* @__PURE__ */ React41.createElement(FilterRepeaterControl, { filterPropName: "backdrop-filter" })));
3605
3687
  };
3606
3688
 
3607
3689
  // src/components/style-sections/layout-section/layout-section.tsx
3608
- import * as React61 from "react";
3690
+ import * as React62 from "react";
3609
3691
  import { ControlFormLabel as ControlFormLabel2 } from "@elementor/editor-controls";
3610
3692
  import { useParentElement } from "@elementor/editor-elements";
3611
3693
  import { createLocation as createLocation3 } from "@elementor/locations";
3612
- import { __ as __38 } from "@wordpress/i18n";
3694
+ import { __ as __39 } from "@wordpress/i18n";
3613
3695
 
3614
3696
  // src/hooks/use-computed-style.ts
3615
3697
  import { __privateUseListenTo as useListenTo2, commandEndEvent as commandEndEvent2, windowEvent as windowEvent2 } from "@elementor/editor-v1-adapters";
@@ -3636,19 +3718,19 @@ function useComputedStyle(elementId) {
3636
3718
  }
3637
3719
 
3638
3720
  // src/components/style-tab-collapsible-content.tsx
3639
- import * as React42 from "react";
3721
+ import * as React43 from "react";
3640
3722
  import { CollapsibleContent } from "@elementor/editor-ui";
3641
3723
 
3642
3724
  // src/styles-inheritance/components/styles-inheritance-section-indicators.tsx
3643
- import * as React41 from "react";
3725
+ import * as React42 from "react";
3644
3726
  import { isElementsStylesProvider as isElementsStylesProvider6 } from "@elementor/editor-styles-repository";
3645
3727
  import { Stack as Stack8, Tooltip as Tooltip2 } from "@elementor/ui";
3646
- import { __ as __19 } from "@wordpress/i18n";
3728
+ import { __ as __20 } from "@wordpress/i18n";
3647
3729
  var StylesInheritanceSectionIndicators = ({ fields }) => {
3648
3730
  const { id, meta, provider } = useStyle();
3649
3731
  const snapshot = useStylesInheritanceSnapshot();
3650
3732
  if (fields.includes("custom_css")) {
3651
- return /* @__PURE__ */ React41.createElement(CustomCssIndicator, null);
3733
+ return /* @__PURE__ */ React42.createElement(CustomCssIndicator, null);
3652
3734
  }
3653
3735
  const snapshotFields = Object.fromEntries(
3654
3736
  Object.entries(snapshot ?? {}).filter(([key]) => fields.includes(key))
@@ -3657,9 +3739,9 @@ var StylesInheritanceSectionIndicators = ({ fields }) => {
3657
3739
  if (!hasValues && !hasOverrides) {
3658
3740
  return null;
3659
3741
  }
3660
- const hasValueLabel = __19("Has effective styles", "elementor");
3661
- const hasOverridesLabel = __19("Has overridden styles", "elementor");
3662
- return /* @__PURE__ */ React41.createElement(Tooltip2, { title: __19("Has styles", "elementor"), placement: "top" }, /* @__PURE__ */ React41.createElement(Stack8, { direction: "row", sx: { "& > *": { marginInlineStart: -0.25 } }, role: "list" }, hasValues && provider && /* @__PURE__ */ React41.createElement(
3742
+ const hasValueLabel = __20("Has effective styles", "elementor");
3743
+ const hasOverridesLabel = __20("Has overridden styles", "elementor");
3744
+ return /* @__PURE__ */ React42.createElement(Tooltip2, { title: __20("Has styles", "elementor"), placement: "top" }, /* @__PURE__ */ React42.createElement(Stack8, { direction: "row", sx: { "& > *": { marginInlineStart: -0.25 } }, role: "list" }, hasValues && provider && /* @__PURE__ */ React42.createElement(
3663
3745
  StyleIndicator,
3664
3746
  {
3665
3747
  getColor: getStylesProviderThemeColor(provider.getKey()),
@@ -3667,7 +3749,7 @@ var StylesInheritanceSectionIndicators = ({ fields }) => {
3667
3749
  role: "listitem",
3668
3750
  "aria-label": hasValueLabel
3669
3751
  }
3670
- ), hasOverrides && /* @__PURE__ */ React41.createElement(
3752
+ ), hasOverrides && /* @__PURE__ */ React42.createElement(
3671
3753
  StyleIndicator,
3672
3754
  {
3673
3755
  isOverridden: true,
@@ -3707,17 +3789,17 @@ function getCurrentStyleFromChain(chain, styleId, meta) {
3707
3789
 
3708
3790
  // src/components/style-tab-collapsible-content.tsx
3709
3791
  var StyleTabCollapsibleContent = ({ fields = [], children }) => {
3710
- return /* @__PURE__ */ React42.createElement(CollapsibleContent, { titleEnd: getStylesInheritanceIndicators(fields) }, children);
3792
+ return /* @__PURE__ */ React43.createElement(CollapsibleContent, { titleEnd: getStylesInheritanceIndicators(fields) }, children);
3711
3793
  };
3712
3794
  function getStylesInheritanceIndicators(fields) {
3713
3795
  if (fields.length === 0) {
3714
3796
  return null;
3715
3797
  }
3716
- return (isOpen) => !isOpen ? /* @__PURE__ */ React42.createElement(StylesInheritanceSectionIndicators, { fields }) : null;
3798
+ return (isOpen) => !isOpen ? /* @__PURE__ */ React43.createElement(StylesInheritanceSectionIndicators, { fields }) : null;
3717
3799
  }
3718
3800
 
3719
3801
  // src/components/style-sections/layout-section/align-content-field.tsx
3720
- import * as React44 from "react";
3802
+ import * as React45 from "react";
3721
3803
  import { ToggleControl as ToggleControl2 } from "@elementor/editor-controls";
3722
3804
  import {
3723
3805
  JustifyBottomIcon,
@@ -3728,14 +3810,14 @@ import {
3728
3810
  JustifyTopIcon
3729
3811
  } from "@elementor/icons";
3730
3812
  import { withDirection as withDirection3 } from "@elementor/ui";
3731
- import { __ as __21 } from "@wordpress/i18n";
3813
+ import { __ as __22 } from "@wordpress/i18n";
3732
3814
 
3733
3815
  // src/components/style-sections/layout-section/utils/rotated-icon.tsx
3734
- import * as React43 from "react";
3816
+ import * as React44 from "react";
3735
3817
  import { useRef as useRef6 } from "react";
3736
3818
  import { useTheme as useTheme2 } from "@elementor/ui";
3737
- import { __ as __20 } from "@wordpress/i18n";
3738
- var FLEX_DIRECTION_LABEL = __20("Flex direction", "elementor");
3819
+ import { __ as __21 } from "@wordpress/i18n";
3820
+ var FLEX_DIRECTION_LABEL = __21("Flex direction", "elementor");
3739
3821
  var CLOCKWISE_ANGLES = {
3740
3822
  row: 0,
3741
3823
  column: 90,
@@ -3757,7 +3839,7 @@ var RotatedIcon = ({
3757
3839
  }) => {
3758
3840
  const rotate = useRef6(useGetTargetAngle(isClockwise, offset, disableRotationForReversed));
3759
3841
  rotate.current = useGetTargetAngle(isClockwise, offset, disableRotationForReversed, rotate);
3760
- return /* @__PURE__ */ React43.createElement(Icon, { fontSize: size, sx: { transition: ".3s", rotate: `${rotate.current}deg` } });
3842
+ return /* @__PURE__ */ React44.createElement(Icon, { fontSize: size, sx: { transition: ".3s", rotate: `${rotate.current}deg` } });
3761
3843
  };
3762
3844
  var useGetTargetAngle = (isClockwise, offset, disableRotationForReversed, existingRef) => {
3763
3845
  const { value: direction } = useStylesField("flex-direction", {
@@ -3778,7 +3860,7 @@ var useGetTargetAngle = (isClockwise, offset, disableRotationForReversed, existi
3778
3860
  };
3779
3861
 
3780
3862
  // src/components/style-sections/layout-section/align-content-field.tsx
3781
- var ALIGN_CONTENT_LABEL = __21("Align content", "elementor");
3863
+ var ALIGN_CONTENT_LABEL = __22("Align content", "elementor");
3782
3864
  var StartIcon = withDirection3(JustifyTopIcon);
3783
3865
  var EndIcon = withDirection3(JustifyBottomIcon);
3784
3866
  var iconProps = {
@@ -3789,45 +3871,45 @@ var iconProps = {
3789
3871
  var options = [
3790
3872
  {
3791
3873
  value: "start",
3792
- label: __21("Start", "elementor"),
3793
- renderContent: ({ size }) => /* @__PURE__ */ React44.createElement(RotatedIcon, { icon: StartIcon, size, ...iconProps }),
3874
+ label: __22("Start", "elementor"),
3875
+ renderContent: ({ size }) => /* @__PURE__ */ React45.createElement(RotatedIcon, { icon: StartIcon, size, ...iconProps }),
3794
3876
  showTooltip: true
3795
3877
  },
3796
3878
  {
3797
3879
  value: "center",
3798
- label: __21("Center", "elementor"),
3799
- renderContent: ({ size }) => /* @__PURE__ */ React44.createElement(RotatedIcon, { icon: CenterIcon, size, ...iconProps }),
3880
+ label: __22("Center", "elementor"),
3881
+ renderContent: ({ size }) => /* @__PURE__ */ React45.createElement(RotatedIcon, { icon: CenterIcon, size, ...iconProps }),
3800
3882
  showTooltip: true
3801
3883
  },
3802
3884
  {
3803
3885
  value: "end",
3804
- label: __21("End", "elementor"),
3805
- renderContent: ({ size }) => /* @__PURE__ */ React44.createElement(RotatedIcon, { icon: EndIcon, size, ...iconProps }),
3886
+ label: __22("End", "elementor"),
3887
+ renderContent: ({ size }) => /* @__PURE__ */ React45.createElement(RotatedIcon, { icon: EndIcon, size, ...iconProps }),
3806
3888
  showTooltip: true
3807
3889
  },
3808
3890
  {
3809
3891
  value: "space-between",
3810
- label: __21("Space between", "elementor"),
3811
- renderContent: ({ size }) => /* @__PURE__ */ React44.createElement(RotatedIcon, { icon: BetweenIcon, size, ...iconProps }),
3892
+ label: __22("Space between", "elementor"),
3893
+ renderContent: ({ size }) => /* @__PURE__ */ React45.createElement(RotatedIcon, { icon: BetweenIcon, size, ...iconProps }),
3812
3894
  showTooltip: true
3813
3895
  },
3814
3896
  {
3815
3897
  value: "space-around",
3816
- label: __21("Space around", "elementor"),
3817
- renderContent: ({ size }) => /* @__PURE__ */ React44.createElement(RotatedIcon, { icon: AroundIcon, size, ...iconProps }),
3898
+ label: __22("Space around", "elementor"),
3899
+ renderContent: ({ size }) => /* @__PURE__ */ React45.createElement(RotatedIcon, { icon: AroundIcon, size, ...iconProps }),
3818
3900
  showTooltip: true
3819
3901
  },
3820
3902
  {
3821
3903
  value: "space-evenly",
3822
- label: __21("Space evenly", "elementor"),
3823
- renderContent: ({ size }) => /* @__PURE__ */ React44.createElement(RotatedIcon, { icon: EvenlyIcon, size, ...iconProps }),
3904
+ label: __22("Space evenly", "elementor"),
3905
+ renderContent: ({ size }) => /* @__PURE__ */ React45.createElement(RotatedIcon, { icon: EvenlyIcon, size, ...iconProps }),
3824
3906
  showTooltip: true
3825
3907
  }
3826
3908
  ];
3827
- var AlignContentField = () => /* @__PURE__ */ React44.createElement(StylesField, { bind: "align-content", propDisplayName: ALIGN_CONTENT_LABEL }, /* @__PURE__ */ React44.createElement(UiProviders, null, /* @__PURE__ */ React44.createElement(StylesFieldLayout, { label: ALIGN_CONTENT_LABEL, direction: "column" }, /* @__PURE__ */ React44.createElement(ToggleControl2, { options, fullWidth: true }))));
3909
+ var AlignContentField = () => /* @__PURE__ */ React45.createElement(StylesField, { bind: "align-content", propDisplayName: ALIGN_CONTENT_LABEL }, /* @__PURE__ */ React45.createElement(UiProviders, null, /* @__PURE__ */ React45.createElement(StylesFieldLayout, { label: ALIGN_CONTENT_LABEL, direction: "column" }, /* @__PURE__ */ React45.createElement(ToggleControl2, { options, fullWidth: true }))));
3828
3910
 
3829
3911
  // src/components/style-sections/layout-section/align-items-field.tsx
3830
- import * as React45 from "react";
3912
+ import * as React46 from "react";
3831
3913
  import { ToggleControl as ToggleControl3 } from "@elementor/editor-controls";
3832
3914
  import {
3833
3915
  LayoutAlignCenterIcon as CenterIcon2,
@@ -3836,8 +3918,8 @@ import {
3836
3918
  LayoutDistributeVerticalIcon as JustifyIcon
3837
3919
  } from "@elementor/icons";
3838
3920
  import { withDirection as withDirection4 } from "@elementor/ui";
3839
- import { __ as __22 } from "@wordpress/i18n";
3840
- var ALIGN_ITEMS_LABEL = __22("Align items", "elementor");
3921
+ import { __ as __23 } from "@wordpress/i18n";
3922
+ var ALIGN_ITEMS_LABEL = __23("Align items", "elementor");
3841
3923
  var StartIcon2 = withDirection4(LayoutAlignLeftIcon);
3842
3924
  var EndIcon2 = withDirection4(LayoutAlignRightIcon);
3843
3925
  var iconProps2 = {
@@ -3847,35 +3929,35 @@ var iconProps2 = {
3847
3929
  var options2 = [
3848
3930
  {
3849
3931
  value: "start",
3850
- label: __22("Start", "elementor"),
3851
- renderContent: ({ size }) => /* @__PURE__ */ React45.createElement(RotatedIcon, { icon: StartIcon2, size, ...iconProps2 }),
3932
+ label: __23("Start", "elementor"),
3933
+ renderContent: ({ size }) => /* @__PURE__ */ React46.createElement(RotatedIcon, { icon: StartIcon2, size, ...iconProps2 }),
3852
3934
  showTooltip: true
3853
3935
  },
3854
3936
  {
3855
3937
  value: "center",
3856
- label: __22("Center", "elementor"),
3857
- renderContent: ({ size }) => /* @__PURE__ */ React45.createElement(RotatedIcon, { icon: CenterIcon2, size, ...iconProps2 }),
3938
+ label: __23("Center", "elementor"),
3939
+ renderContent: ({ size }) => /* @__PURE__ */ React46.createElement(RotatedIcon, { icon: CenterIcon2, size, ...iconProps2 }),
3858
3940
  showTooltip: true
3859
3941
  },
3860
3942
  {
3861
3943
  value: "end",
3862
- label: __22("End", "elementor"),
3863
- renderContent: ({ size }) => /* @__PURE__ */ React45.createElement(RotatedIcon, { icon: EndIcon2, size, ...iconProps2 }),
3944
+ label: __23("End", "elementor"),
3945
+ renderContent: ({ size }) => /* @__PURE__ */ React46.createElement(RotatedIcon, { icon: EndIcon2, size, ...iconProps2 }),
3864
3946
  showTooltip: true
3865
3947
  },
3866
3948
  {
3867
3949
  value: "stretch",
3868
- label: __22("Stretch", "elementor"),
3869
- renderContent: ({ size }) => /* @__PURE__ */ React45.createElement(RotatedIcon, { icon: JustifyIcon, size, ...iconProps2 }),
3950
+ label: __23("Stretch", "elementor"),
3951
+ renderContent: ({ size }) => /* @__PURE__ */ React46.createElement(RotatedIcon, { icon: JustifyIcon, size, ...iconProps2 }),
3870
3952
  showTooltip: true
3871
3953
  }
3872
3954
  ];
3873
3955
  var AlignItemsField = () => {
3874
- return /* @__PURE__ */ React45.createElement(UiProviders, null, /* @__PURE__ */ React45.createElement(StylesField, { bind: "align-items", propDisplayName: ALIGN_ITEMS_LABEL }, /* @__PURE__ */ React45.createElement(StylesFieldLayout, { label: ALIGN_ITEMS_LABEL }, /* @__PURE__ */ React45.createElement(ToggleControl3, { options: options2 }))));
3956
+ return /* @__PURE__ */ React46.createElement(UiProviders, null, /* @__PURE__ */ React46.createElement(StylesField, { bind: "align-items", propDisplayName: ALIGN_ITEMS_LABEL }, /* @__PURE__ */ React46.createElement(StylesFieldLayout, { label: ALIGN_ITEMS_LABEL }, /* @__PURE__ */ React46.createElement(ToggleControl3, { options: options2 }))));
3875
3957
  };
3876
3958
 
3877
3959
  // src/components/style-sections/layout-section/align-self-child-field.tsx
3878
- import * as React46 from "react";
3960
+ import * as React47 from "react";
3879
3961
  import { ToggleControl as ToggleControl4 } from "@elementor/editor-controls";
3880
3962
  import {
3881
3963
  LayoutAlignCenterIcon as CenterIcon3,
@@ -3884,8 +3966,8 @@ import {
3884
3966
  LayoutDistributeVerticalIcon as JustifyIcon2
3885
3967
  } from "@elementor/icons";
3886
3968
  import { withDirection as withDirection5 } from "@elementor/ui";
3887
- import { __ as __23 } from "@wordpress/i18n";
3888
- var ALIGN_SELF_LABEL = __23("Align self", "elementor");
3969
+ import { __ as __24 } from "@wordpress/i18n";
3970
+ var ALIGN_SELF_LABEL = __24("Align self", "elementor");
3889
3971
  var ALIGN_SELF_CHILD_OFFSET_MAP = {
3890
3972
  row: 90,
3891
3973
  "row-reverse": 90,
@@ -3900,8 +3982,8 @@ var iconProps3 = {
3900
3982
  var getOptions = (parentStyleDirection) => [
3901
3983
  {
3902
3984
  value: "start",
3903
- label: __23("Start", "elementor"),
3904
- renderContent: ({ size }) => /* @__PURE__ */ React46.createElement(
3985
+ label: __24("Start", "elementor"),
3986
+ renderContent: ({ size }) => /* @__PURE__ */ React47.createElement(
3905
3987
  RotatedIcon,
3906
3988
  {
3907
3989
  icon: StartIcon3,
@@ -3914,8 +3996,8 @@ var getOptions = (parentStyleDirection) => [
3914
3996
  },
3915
3997
  {
3916
3998
  value: "center",
3917
- label: __23("Center", "elementor"),
3918
- renderContent: ({ size }) => /* @__PURE__ */ React46.createElement(
3999
+ label: __24("Center", "elementor"),
4000
+ renderContent: ({ size }) => /* @__PURE__ */ React47.createElement(
3919
4001
  RotatedIcon,
3920
4002
  {
3921
4003
  icon: CenterIcon3,
@@ -3928,8 +4010,8 @@ var getOptions = (parentStyleDirection) => [
3928
4010
  },
3929
4011
  {
3930
4012
  value: "end",
3931
- label: __23("End", "elementor"),
3932
- renderContent: ({ size }) => /* @__PURE__ */ React46.createElement(
4013
+ label: __24("End", "elementor"),
4014
+ renderContent: ({ size }) => /* @__PURE__ */ React47.createElement(
3933
4015
  RotatedIcon,
3934
4016
  {
3935
4017
  icon: EndIcon3,
@@ -3942,8 +4024,8 @@ var getOptions = (parentStyleDirection) => [
3942
4024
  },
3943
4025
  {
3944
4026
  value: "stretch",
3945
- label: __23("Stretch", "elementor"),
3946
- renderContent: ({ size }) => /* @__PURE__ */ React46.createElement(
4027
+ label: __24("Stretch", "elementor"),
4028
+ renderContent: ({ size }) => /* @__PURE__ */ React47.createElement(
3947
4029
  RotatedIcon,
3948
4030
  {
3949
4031
  icon: JustifyIcon2,
@@ -3955,10 +4037,10 @@ var getOptions = (parentStyleDirection) => [
3955
4037
  showTooltip: true
3956
4038
  }
3957
4039
  ];
3958
- var AlignSelfChild = ({ parentStyleDirection }) => /* @__PURE__ */ React46.createElement(StylesField, { bind: "align-self", propDisplayName: ALIGN_SELF_LABEL }, /* @__PURE__ */ React46.createElement(UiProviders, null, /* @__PURE__ */ React46.createElement(StylesFieldLayout, { label: ALIGN_SELF_LABEL }, /* @__PURE__ */ React46.createElement(ToggleControl4, { options: getOptions(parentStyleDirection) }))));
4040
+ var AlignSelfChild = ({ parentStyleDirection }) => /* @__PURE__ */ React47.createElement(StylesField, { bind: "align-self", propDisplayName: ALIGN_SELF_LABEL }, /* @__PURE__ */ React47.createElement(UiProviders, null, /* @__PURE__ */ React47.createElement(StylesFieldLayout, { label: ALIGN_SELF_LABEL }, /* @__PURE__ */ React47.createElement(ToggleControl4, { options: getOptions(parentStyleDirection) }))));
3959
4041
 
3960
4042
  // src/components/style-sections/layout-section/align-self-grid-child-field.tsx
3961
- import * as React47 from "react";
4043
+ import * as React48 from "react";
3962
4044
  import { ToggleControl as ToggleControl5 } from "@elementor/editor-controls";
3963
4045
  import {
3964
4046
  JustifyBottomIcon as JustifyBottomIcon2,
@@ -3966,152 +4048,152 @@ import {
3966
4048
  JustifyTopIcon as JustifyTopIcon2,
3967
4049
  LayoutDistributeVerticalIcon as JustifyIcon3
3968
4050
  } from "@elementor/icons";
3969
- import { __ as __24 } from "@wordpress/i18n";
3970
- var ALIGN_SELF_LABEL2 = __24("Align self", "elementor");
4051
+ import { __ as __25 } from "@wordpress/i18n";
4052
+ var ALIGN_SELF_LABEL2 = __25("Align self", "elementor");
3971
4053
  var ALIGN_SELF_CHILD_OFFSET_MAP2 = {
3972
4054
  row: 0,
3973
4055
  column: -90
3974
4056
  };
3975
- var AlignSelfGridChild = ({ parentStyleDirection }) => /* @__PURE__ */ React47.createElement(StylesField, { bind: "align-self", propDisplayName: ALIGN_SELF_LABEL2 }, /* @__PURE__ */ React47.createElement(UiProviders, null, /* @__PURE__ */ React47.createElement(StylesFieldLayout, { label: ALIGN_SELF_LABEL2 }, /* @__PURE__ */ React47.createElement(ToggleControl5, { options: getOptions2(parentStyleDirection ?? "row") }))));
4057
+ var AlignSelfGridChild = ({ parentStyleDirection }) => /* @__PURE__ */ React48.createElement(StylesField, { bind: "align-self", propDisplayName: ALIGN_SELF_LABEL2 }, /* @__PURE__ */ React48.createElement(UiProviders, null, /* @__PURE__ */ React48.createElement(StylesFieldLayout, { label: ALIGN_SELF_LABEL2 }, /* @__PURE__ */ React48.createElement(ToggleControl5, { options: getOptions2(parentStyleDirection ?? "row") }))));
3976
4058
  var RotatedIcon2 = ({
3977
4059
  icon: Icon,
3978
4060
  size,
3979
4061
  offset
3980
- }) => /* @__PURE__ */ React47.createElement(Icon, { fontSize: size, sx: { rotate: `${offset}deg` } });
4062
+ }) => /* @__PURE__ */ React48.createElement(Icon, { fontSize: size, sx: { rotate: `${offset}deg` } });
3981
4063
  var getOptions2 = (parentStyleDirection) => {
3982
4064
  const offset = ALIGN_SELF_CHILD_OFFSET_MAP2[parentStyleDirection.replace("dense", "").trim()];
3983
4065
  return [
3984
4066
  {
3985
4067
  value: "start",
3986
- label: __24("Start", "elementor"),
3987
- renderContent: ({ size }) => /* @__PURE__ */ React47.createElement(RotatedIcon2, { icon: JustifyTopIcon2, size, offset }),
4068
+ label: __25("Start", "elementor"),
4069
+ renderContent: ({ size }) => /* @__PURE__ */ React48.createElement(RotatedIcon2, { icon: JustifyTopIcon2, size, offset }),
3988
4070
  showTooltip: true
3989
4071
  },
3990
4072
  {
3991
4073
  value: "center",
3992
- label: __24("Center", "elementor"),
3993
- renderContent: ({ size }) => /* @__PURE__ */ React47.createElement(RotatedIcon2, { icon: JustifyCenterIcon, size, offset }),
4074
+ label: __25("Center", "elementor"),
4075
+ renderContent: ({ size }) => /* @__PURE__ */ React48.createElement(RotatedIcon2, { icon: JustifyCenterIcon, size, offset }),
3994
4076
  showTooltip: true
3995
4077
  },
3996
4078
  {
3997
4079
  value: "end",
3998
- label: __24("End", "elementor"),
3999
- renderContent: ({ size }) => /* @__PURE__ */ React47.createElement(RotatedIcon2, { icon: JustifyBottomIcon2, size, offset }),
4080
+ label: __25("End", "elementor"),
4081
+ renderContent: ({ size }) => /* @__PURE__ */ React48.createElement(RotatedIcon2, { icon: JustifyBottomIcon2, size, offset }),
4000
4082
  showTooltip: true
4001
4083
  },
4002
4084
  {
4003
4085
  value: "stretch",
4004
- label: __24("Stretch", "elementor"),
4005
- renderContent: ({ size }) => /* @__PURE__ */ React47.createElement(RotatedIcon2, { icon: JustifyIcon3, size, offset }),
4086
+ label: __25("Stretch", "elementor"),
4087
+ renderContent: ({ size }) => /* @__PURE__ */ React48.createElement(RotatedIcon2, { icon: JustifyIcon3, size, offset }),
4006
4088
  showTooltip: true
4007
4089
  }
4008
4090
  ];
4009
4091
  };
4010
4092
 
4011
4093
  // src/components/style-sections/layout-section/display-field.tsx
4012
- import * as React48 from "react";
4094
+ import * as React49 from "react";
4013
4095
  import { ToggleControl as ToggleControl6 } from "@elementor/editor-controls";
4014
- import { __ as __25 } from "@wordpress/i18n";
4015
- var DISPLAY_LABEL = __25("Display", "elementor");
4096
+ import { __ as __26 } from "@wordpress/i18n";
4097
+ var DISPLAY_LABEL = __26("Display", "elementor");
4016
4098
  var displayFieldItems = [
4017
4099
  {
4018
4100
  value: "block",
4019
- renderContent: () => __25("Block", "elementor"),
4020
- label: __25("Block", "elementor"),
4101
+ renderContent: () => __26("Block", "elementor"),
4102
+ label: __26("Block", "elementor"),
4021
4103
  showTooltip: true
4022
4104
  },
4023
4105
  {
4024
4106
  value: "flex",
4025
- renderContent: () => __25("Flex", "elementor"),
4026
- label: __25("Flex", "elementor"),
4107
+ renderContent: () => __26("Flex", "elementor"),
4108
+ label: __26("Flex", "elementor"),
4027
4109
  showTooltip: true
4028
4110
  },
4029
4111
  {
4030
4112
  value: "grid",
4031
- renderContent: () => __25("Grid", "elementor"),
4032
- label: __25("Grid", "elementor"),
4113
+ renderContent: () => __26("Grid", "elementor"),
4114
+ label: __26("Grid", "elementor"),
4033
4115
  showTooltip: true
4034
4116
  },
4035
4117
  {
4036
4118
  value: "none",
4037
- renderContent: () => __25("None", "elementor"),
4038
- label: __25("None", "elementor"),
4119
+ renderContent: () => __26("None", "elementor"),
4120
+ label: __26("None", "elementor"),
4039
4121
  showTooltip: true
4040
4122
  },
4041
4123
  {
4042
4124
  value: "inline-block",
4043
- renderContent: () => __25("In-blk", "elementor"),
4044
- label: __25("Inline-block", "elementor"),
4125
+ renderContent: () => __26("In-blk", "elementor"),
4126
+ label: __26("Inline-block", "elementor"),
4045
4127
  showTooltip: true
4046
4128
  },
4047
4129
  {
4048
4130
  value: "inline-flex",
4049
- renderContent: () => __25("In-flx", "elementor"),
4050
- label: __25("Inline-flex", "elementor"),
4131
+ renderContent: () => __26("In-flx", "elementor"),
4132
+ label: __26("Inline-flex", "elementor"),
4051
4133
  showTooltip: true
4052
4134
  }
4053
4135
  ];
4054
4136
  var DisplayField = () => {
4055
4137
  const placeholder = useDisplayPlaceholderValue();
4056
- return /* @__PURE__ */ React48.createElement(StylesField, { bind: "display", propDisplayName: DISPLAY_LABEL, placeholder }, /* @__PURE__ */ React48.createElement(StylesFieldLayout, { label: DISPLAY_LABEL, direction: "column" }, /* @__PURE__ */ React48.createElement(ToggleControl6, { options: displayFieldItems, maxItems: 4, fullWidth: true })));
4138
+ return /* @__PURE__ */ React49.createElement(StylesField, { bind: "display", propDisplayName: DISPLAY_LABEL, placeholder }, /* @__PURE__ */ React49.createElement(StylesFieldLayout, { label: DISPLAY_LABEL, direction: "column" }, /* @__PURE__ */ React49.createElement(ToggleControl6, { options: displayFieldItems, maxItems: 4, fullWidth: true })));
4057
4139
  };
4058
4140
  var useDisplayPlaceholderValue = () => useStylesInheritanceChain(["display"])[0]?.value ?? void 0;
4059
4141
 
4060
4142
  // src/components/style-sections/layout-section/flex-direction-field.tsx
4061
- import * as React49 from "react";
4143
+ import * as React50 from "react";
4062
4144
  import { ToggleControl as ToggleControl7 } from "@elementor/editor-controls";
4063
4145
  import { ArrowDownSmallIcon, ArrowLeftIcon, ArrowRightIcon, ArrowUpSmallIcon } from "@elementor/icons";
4064
4146
  import { withDirection as withDirection6 } from "@elementor/ui";
4065
- import { __ as __26 } from "@wordpress/i18n";
4066
- var FLEX_DIRECTION_LABEL2 = __26("Direction", "elementor");
4147
+ import { __ as __27 } from "@wordpress/i18n";
4148
+ var FLEX_DIRECTION_LABEL2 = __27("Direction", "elementor");
4067
4149
  var options3 = [
4068
4150
  {
4069
4151
  value: "row",
4070
- label: __26("Row", "elementor"),
4152
+ label: __27("Row", "elementor"),
4071
4153
  renderContent: ({ size }) => {
4072
4154
  const StartIcon7 = withDirection6(ArrowRightIcon);
4073
- return /* @__PURE__ */ React49.createElement(StartIcon7, { fontSize: size });
4155
+ return /* @__PURE__ */ React50.createElement(StartIcon7, { fontSize: size });
4074
4156
  },
4075
4157
  showTooltip: true
4076
4158
  },
4077
4159
  {
4078
4160
  value: "column",
4079
- label: __26("Column", "elementor"),
4080
- renderContent: ({ size }) => /* @__PURE__ */ React49.createElement(ArrowDownSmallIcon, { fontSize: size }),
4161
+ label: __27("Column", "elementor"),
4162
+ renderContent: ({ size }) => /* @__PURE__ */ React50.createElement(ArrowDownSmallIcon, { fontSize: size }),
4081
4163
  showTooltip: true
4082
4164
  },
4083
4165
  {
4084
4166
  value: "row-reverse",
4085
- label: __26("Reversed row", "elementor"),
4167
+ label: __27("Reversed row", "elementor"),
4086
4168
  renderContent: ({ size }) => {
4087
4169
  const EndIcon6 = withDirection6(ArrowLeftIcon);
4088
- return /* @__PURE__ */ React49.createElement(EndIcon6, { fontSize: size });
4170
+ return /* @__PURE__ */ React50.createElement(EndIcon6, { fontSize: size });
4089
4171
  },
4090
4172
  showTooltip: true
4091
4173
  },
4092
4174
  {
4093
4175
  value: "column-reverse",
4094
- label: __26("Reversed column", "elementor"),
4095
- renderContent: ({ size }) => /* @__PURE__ */ React49.createElement(ArrowUpSmallIcon, { fontSize: size }),
4176
+ label: __27("Reversed column", "elementor"),
4177
+ renderContent: ({ size }) => /* @__PURE__ */ React50.createElement(ArrowUpSmallIcon, { fontSize: size }),
4096
4178
  showTooltip: true
4097
4179
  }
4098
4180
  ];
4099
4181
  var FlexDirectionField = () => {
4100
- return /* @__PURE__ */ React49.createElement(StylesField, { bind: "flex-direction", propDisplayName: FLEX_DIRECTION_LABEL2 }, /* @__PURE__ */ React49.createElement(UiProviders, null, /* @__PURE__ */ React49.createElement(StylesFieldLayout, { label: FLEX_DIRECTION_LABEL2 }, /* @__PURE__ */ React49.createElement(ToggleControl7, { options: options3 }))));
4182
+ return /* @__PURE__ */ React50.createElement(StylesField, { bind: "flex-direction", propDisplayName: FLEX_DIRECTION_LABEL2 }, /* @__PURE__ */ React50.createElement(UiProviders, null, /* @__PURE__ */ React50.createElement(StylesFieldLayout, { label: FLEX_DIRECTION_LABEL2 }, /* @__PURE__ */ React50.createElement(ToggleControl7, { options: options3 }))));
4101
4183
  };
4102
4184
 
4103
4185
  // src/components/style-sections/layout-section/flex-order-field.tsx
4104
- import * as React50 from "react";
4105
- import { useEffect as useEffect5, useMemo as useMemo9, useState as useState7 } from "react";
4186
+ import * as React51 from "react";
4187
+ import { useEffect as useEffect5, useMemo as useMemo9, useState as useState8 } from "react";
4106
4188
  import {
4107
4189
  ControlToggleButtonGroup,
4108
4190
  NumberControl as NumberControl2,
4109
- useBoundProp as useBoundProp2
4191
+ useBoundProp as useBoundProp3
4110
4192
  } from "@elementor/editor-controls";
4111
4193
  import { ArrowDownSmallIcon as ArrowDownSmallIcon2, ArrowUpSmallIcon as ArrowUpSmallIcon2, PencilIcon } from "@elementor/icons";
4112
4194
  import { Grid as Grid2 } from "@elementor/ui";
4113
- import { __ as __27 } from "@wordpress/i18n";
4114
- var ORDER_LABEL = __27("Order", "elementor");
4195
+ import { __ as __28 } from "@wordpress/i18n";
4196
+ var ORDER_LABEL = __28("Order", "elementor");
4115
4197
  var FIRST_DEFAULT_VALUE = -99999;
4116
4198
  var LAST_DEFAULT_VALUE = 99999;
4117
4199
  var FIRST = "first";
@@ -4124,25 +4206,25 @@ var orderValueMap = {
4124
4206
  var items = [
4125
4207
  {
4126
4208
  value: FIRST,
4127
- label: __27("First", "elementor"),
4128
- renderContent: ({ size }) => /* @__PURE__ */ React50.createElement(ArrowUpSmallIcon2, { fontSize: size }),
4209
+ label: __28("First", "elementor"),
4210
+ renderContent: ({ size }) => /* @__PURE__ */ React51.createElement(ArrowUpSmallIcon2, { fontSize: size }),
4129
4211
  showTooltip: true
4130
4212
  },
4131
4213
  {
4132
4214
  value: LAST,
4133
- label: __27("Last", "elementor"),
4134
- renderContent: ({ size }) => /* @__PURE__ */ React50.createElement(ArrowDownSmallIcon2, { fontSize: size }),
4215
+ label: __28("Last", "elementor"),
4216
+ renderContent: ({ size }) => /* @__PURE__ */ React51.createElement(ArrowDownSmallIcon2, { fontSize: size }),
4135
4217
  showTooltip: true
4136
4218
  },
4137
4219
  {
4138
4220
  value: CUSTOM,
4139
- label: __27("Custom", "elementor"),
4140
- renderContent: ({ size }) => /* @__PURE__ */ React50.createElement(PencilIcon, { fontSize: size }),
4221
+ label: __28("Custom", "elementor"),
4222
+ renderContent: ({ size }) => /* @__PURE__ */ React51.createElement(PencilIcon, { fontSize: size }),
4141
4223
  showTooltip: true
4142
4224
  }
4143
4225
  ];
4144
4226
  var FlexOrderField = () => {
4145
- return /* @__PURE__ */ React50.createElement(StylesField, { bind: "order", propDisplayName: ORDER_LABEL }, /* @__PURE__ */ React50.createElement(UiProviders, null, /* @__PURE__ */ React50.createElement(SectionContent, null, /* @__PURE__ */ React50.createElement(FlexOrderFieldContent, null))));
4227
+ return /* @__PURE__ */ React51.createElement(StylesField, { bind: "order", propDisplayName: ORDER_LABEL }, /* @__PURE__ */ React51.createElement(UiProviders, null, /* @__PURE__ */ React51.createElement(SectionContent, null, /* @__PURE__ */ React51.createElement(FlexOrderFieldContent, null))));
4146
4228
  };
4147
4229
  function FlexOrderFieldContent() {
4148
4230
  const {
@@ -4152,11 +4234,11 @@ function FlexOrderFieldContent() {
4152
4234
  } = useStylesField("order", {
4153
4235
  history: { propDisplayName: ORDER_LABEL }
4154
4236
  });
4155
- const { placeholder } = useBoundProp2();
4237
+ const { placeholder } = useBoundProp3();
4156
4238
  const placeholderValue = placeholder;
4157
4239
  const currentGroup = useMemo9(() => getGroupControlValue(order?.value ?? null), [order]);
4158
- const [activeGroup, setActiveGroup] = useState7(currentGroup);
4159
- const [customLocked, setCustomLocked] = useState7(false);
4240
+ const [activeGroup, setActiveGroup] = useState8(currentGroup);
4241
+ const [customLocked, setCustomLocked] = useState8(false);
4160
4242
  useEffect5(() => {
4161
4243
  if (!customLocked) {
4162
4244
  setActiveGroup(currentGroup);
@@ -4187,7 +4269,7 @@ function FlexOrderFieldContent() {
4187
4269
  };
4188
4270
  const isCustomVisible = CUSTOM === activeGroup || CUSTOM === groupPlaceholder;
4189
4271
  const orderPlaceholder = CUSTOM === groupPlaceholder ? String(placeholderValue?.value ?? null) : "";
4190
- return /* @__PURE__ */ React50.createElement(React50.Fragment, null, /* @__PURE__ */ React50.createElement(StylesFieldLayout, { label: ORDER_LABEL }, /* @__PURE__ */ React50.createElement(
4272
+ return /* @__PURE__ */ React51.createElement(React51.Fragment, null, /* @__PURE__ */ React51.createElement(StylesFieldLayout, { label: ORDER_LABEL }, /* @__PURE__ */ React51.createElement(
4191
4273
  ControlToggleButtonGroup,
4192
4274
  {
4193
4275
  items,
@@ -4197,7 +4279,7 @@ function FlexOrderFieldContent() {
4197
4279
  placeholder: groupPlaceholder,
4198
4280
  disabled: !canEdit
4199
4281
  }
4200
- )), isCustomVisible && /* @__PURE__ */ React50.createElement(Grid2, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React50.createElement(Grid2, { item: true, xs: 6 }, /* @__PURE__ */ React50.createElement(ControlLabel, null, __27("Custom order", "elementor"))), /* @__PURE__ */ React50.createElement(Grid2, { item: true, xs: 6, sx: { display: "flex", justifyContent: "end" } }, /* @__PURE__ */ React50.createElement(
4282
+ )), isCustomVisible && /* @__PURE__ */ React51.createElement(Grid2, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React51.createElement(Grid2, { item: true, xs: 6 }, /* @__PURE__ */ React51.createElement(ControlLabel, null, __28("Custom order", "elementor"))), /* @__PURE__ */ React51.createElement(Grid2, { item: true, xs: 6, sx: { display: "flex", justifyContent: "end" } }, /* @__PURE__ */ React51.createElement(
4201
4283
  NumberControl2,
4202
4284
  {
4203
4285
  min: FIRST_DEFAULT_VALUE + 1,
@@ -4221,53 +4303,53 @@ var getGroupControlValue = (order) => {
4221
4303
  };
4222
4304
 
4223
4305
  // src/components/style-sections/layout-section/flex-size-field.tsx
4224
- import * as React51 from "react";
4225
- import { useEffect as useEffect6, useMemo as useMemo10, useRef as useRef7, useState as useState8 } from "react";
4306
+ import * as React52 from "react";
4307
+ import { useEffect as useEffect6, useMemo as useMemo10, useRef as useRef7, useState as useState9 } from "react";
4226
4308
  import {
4227
4309
  ControlToggleButtonGroup as ControlToggleButtonGroup2,
4228
4310
  NumberControl as NumberControl3,
4229
4311
  PropKeyProvider as PropKeyProvider3,
4230
4312
  PropProvider as PropProvider3,
4231
4313
  SizeControl as SizeControl3,
4232
- useBoundProp as useBoundProp3
4314
+ useBoundProp as useBoundProp4
4233
4315
  } from "@elementor/editor-controls";
4234
4316
  import { flexPropTypeUtil, numberPropTypeUtil as numberPropTypeUtil2, sizePropTypeUtil as sizePropTypeUtil3 } from "@elementor/editor-props";
4235
4317
  import { ExpandIcon, PencilIcon as PencilIcon2, ShrinkIcon } from "@elementor/icons";
4236
- import { __ as __28 } from "@wordpress/i18n";
4237
- var FLEX_SIZE_LABEL = __28("Flex Size", "elementor");
4318
+ import { __ as __29 } from "@wordpress/i18n";
4319
+ var FLEX_SIZE_LABEL = __29("Flex Size", "elementor");
4238
4320
  var DEFAULT = 1;
4239
4321
  var items2 = [
4240
4322
  {
4241
4323
  value: "flex-grow",
4242
- label: __28("Grow", "elementor"),
4243
- renderContent: ({ size }) => /* @__PURE__ */ React51.createElement(ExpandIcon, { fontSize: size }),
4324
+ label: __29("Grow", "elementor"),
4325
+ renderContent: ({ size }) => /* @__PURE__ */ React52.createElement(ExpandIcon, { fontSize: size }),
4244
4326
  showTooltip: true
4245
4327
  },
4246
4328
  {
4247
4329
  value: "flex-shrink",
4248
- label: __28("Shrink", "elementor"),
4249
- renderContent: ({ size }) => /* @__PURE__ */ React51.createElement(ShrinkIcon, { fontSize: size }),
4330
+ label: __29("Shrink", "elementor"),
4331
+ renderContent: ({ size }) => /* @__PURE__ */ React52.createElement(ShrinkIcon, { fontSize: size }),
4250
4332
  showTooltip: true
4251
4333
  },
4252
4334
  {
4253
4335
  value: "custom",
4254
- label: __28("Custom", "elementor"),
4255
- renderContent: ({ size }) => /* @__PURE__ */ React51.createElement(PencilIcon2, { fontSize: size }),
4336
+ label: __29("Custom", "elementor"),
4337
+ renderContent: ({ size }) => /* @__PURE__ */ React52.createElement(PencilIcon2, { fontSize: size }),
4256
4338
  showTooltip: true
4257
4339
  }
4258
4340
  ];
4259
4341
  var FlexSizeField = () => {
4260
- return /* @__PURE__ */ React51.createElement(UiProviders, null, /* @__PURE__ */ React51.createElement(SectionContent, null, /* @__PURE__ */ React51.createElement(StylesField, { bind: "flex", propDisplayName: FLEX_SIZE_LABEL }, /* @__PURE__ */ React51.createElement(FlexSizeFieldContent, null))));
4342
+ return /* @__PURE__ */ React52.createElement(UiProviders, null, /* @__PURE__ */ React52.createElement(SectionContent, null, /* @__PURE__ */ React52.createElement(StylesField, { bind: "flex", propDisplayName: FLEX_SIZE_LABEL }, /* @__PURE__ */ React52.createElement(FlexSizeFieldContent, null))));
4261
4343
  };
4262
4344
  var FlexSizeFieldContent = () => {
4263
4345
  const { value, setValue, canEdit } = useStylesField("flex", {
4264
4346
  history: { propDisplayName: FLEX_SIZE_LABEL }
4265
4347
  });
4266
- const { placeholder } = useBoundProp3();
4348
+ const { placeholder } = useBoundProp4();
4267
4349
  const flexValues = extractFlexValues(value);
4268
4350
  const currentGroup = useMemo10(() => getActiveGroup(flexValues), [flexValues]);
4269
- const [activeGroup, setActiveGroup] = useState8(currentGroup);
4270
- const [customLocked, setCustomLocked] = useState8(false);
4351
+ const [activeGroup, setActiveGroup] = useState9(currentGroup);
4352
+ const [customLocked, setCustomLocked] = useState9(false);
4271
4353
  useEffect6(() => {
4272
4354
  if (!customLocked) {
4273
4355
  setActiveGroup(currentGroup);
@@ -4286,7 +4368,7 @@ var FlexSizeFieldContent = () => {
4286
4368
  };
4287
4369
  const groupPlaceholder = getActiveGroup(extractFlexValues(placeholder));
4288
4370
  const isCustomVisible = "custom" === activeGroup || "custom" === groupPlaceholder;
4289
- return /* @__PURE__ */ React51.createElement(React51.Fragment, null, /* @__PURE__ */ React51.createElement(StylesFieldLayout, { label: FLEX_SIZE_LABEL }, /* @__PURE__ */ React51.createElement(
4371
+ return /* @__PURE__ */ React52.createElement(React52.Fragment, null, /* @__PURE__ */ React52.createElement(StylesFieldLayout, { label: FLEX_SIZE_LABEL }, /* @__PURE__ */ React52.createElement(
4290
4372
  ControlToggleButtonGroup2,
4291
4373
  {
4292
4374
  value: activeGroup ?? null,
@@ -4296,7 +4378,7 @@ var FlexSizeFieldContent = () => {
4296
4378
  items: items2,
4297
4379
  exclusive: true
4298
4380
  }
4299
- )), isCustomVisible && /* @__PURE__ */ React51.createElement(FlexCustomField, null));
4381
+ )), isCustomVisible && /* @__PURE__ */ React52.createElement(FlexCustomField, null));
4300
4382
  };
4301
4383
  function extractFlexValues(source) {
4302
4384
  return {
@@ -4337,8 +4419,8 @@ var createFlexValueForGroup = (group, flexValue) => {
4337
4419
  };
4338
4420
  var FlexCustomField = () => {
4339
4421
  const flexBasisRowRef = useRef7(null);
4340
- const context = useBoundProp3(flexPropTypeUtil);
4341
- return /* @__PURE__ */ React51.createElement(PropProvider3, { ...context }, /* @__PURE__ */ React51.createElement(React51.Fragment, null, /* @__PURE__ */ React51.createElement(StylesFieldLayout, { label: __28("Grow", "elementor") }, /* @__PURE__ */ React51.createElement(PropKeyProvider3, { bind: "flexGrow" }, /* @__PURE__ */ React51.createElement(NumberControl3, { min: 0, shouldForceInt: true }))), /* @__PURE__ */ React51.createElement(StylesFieldLayout, { label: __28("Shrink", "elementor") }, /* @__PURE__ */ React51.createElement(PropKeyProvider3, { bind: "flexShrink" }, /* @__PURE__ */ React51.createElement(NumberControl3, { min: 0, shouldForceInt: true }))), /* @__PURE__ */ React51.createElement(StylesFieldLayout, { label: __28("Basis", "elementor"), ref: flexBasisRowRef }, /* @__PURE__ */ React51.createElement(PropKeyProvider3, { bind: "flexBasis" }, /* @__PURE__ */ React51.createElement(SizeControl3, { extendedOptions: ["auto"], anchorRef: flexBasisRowRef })))));
4422
+ const context = useBoundProp4(flexPropTypeUtil);
4423
+ return /* @__PURE__ */ React52.createElement(PropProvider3, { ...context }, /* @__PURE__ */ React52.createElement(React52.Fragment, null, /* @__PURE__ */ React52.createElement(StylesFieldLayout, { label: __29("Grow", "elementor") }, /* @__PURE__ */ React52.createElement(PropKeyProvider3, { bind: "flexGrow" }, /* @__PURE__ */ React52.createElement(NumberControl3, { min: 0, shouldForceInt: true }))), /* @__PURE__ */ React52.createElement(StylesFieldLayout, { label: __29("Shrink", "elementor") }, /* @__PURE__ */ React52.createElement(PropKeyProvider3, { bind: "flexShrink" }, /* @__PURE__ */ React52.createElement(NumberControl3, { min: 0, shouldForceInt: true }))), /* @__PURE__ */ React52.createElement(StylesFieldLayout, { label: __29("Basis", "elementor"), ref: flexBasisRowRef }, /* @__PURE__ */ React52.createElement(PropKeyProvider3, { bind: "flexBasis" }, /* @__PURE__ */ React52.createElement(SizeControl3, { extendedOptions: ["auto"], anchorRef: flexBasisRowRef })))));
4342
4424
  };
4343
4425
  var getActiveGroup = ({
4344
4426
  grow,
@@ -4362,34 +4444,34 @@ var getActiveGroup = ({
4362
4444
  };
4363
4445
 
4364
4446
  // src/components/style-sections/layout-section/gap-control-field.tsx
4365
- import * as React52 from "react";
4447
+ import * as React53 from "react";
4366
4448
  import { GapControl } from "@elementor/editor-controls";
4367
- import { __ as __29 } from "@wordpress/i18n";
4368
- var GAPS_LABEL = __29("Gaps", "elementor");
4449
+ import { __ as __30 } from "@wordpress/i18n";
4450
+ var GAPS_LABEL = __30("Gaps", "elementor");
4369
4451
  var GapControlField = () => {
4370
- return /* @__PURE__ */ React52.createElement(StylesField, { bind: "gap", propDisplayName: GAPS_LABEL }, /* @__PURE__ */ React52.createElement(GapControl, { label: GAPS_LABEL }));
4452
+ return /* @__PURE__ */ React53.createElement(StylesField, { bind: "gap", propDisplayName: GAPS_LABEL }, /* @__PURE__ */ React53.createElement(GapControl, { label: GAPS_LABEL }));
4371
4453
  };
4372
4454
 
4373
4455
  // src/components/style-sections/layout-section/grid-auto-flow-field.tsx
4374
- import * as React53 from "react";
4375
- import { ControlToggleButtonGroup as ControlToggleButtonGroup3, useBoundProp as useBoundProp4 } from "@elementor/editor-controls";
4456
+ import * as React54 from "react";
4457
+ import { ControlToggleButtonGroup as ControlToggleButtonGroup3, useBoundProp as useBoundProp5 } from "@elementor/editor-controls";
4376
4458
  import { ArrowDownSmallIcon as ArrowDownSmallIcon3, ArrowRightIcon as ArrowRightIcon2, LayoutDashboardIcon } from "@elementor/icons";
4377
4459
  import { Grid as Grid3, ToggleButton, Tooltip as Tooltip3, withDirection as withDirection7 } from "@elementor/ui";
4378
- import { __ as __30 } from "@wordpress/i18n";
4379
- var AUTO_FLOW_LABEL = __30("Auto flow", "elementor");
4380
- var DENSE_LABEL = __30("Dense", "elementor");
4460
+ import { __ as __31 } from "@wordpress/i18n";
4461
+ var AUTO_FLOW_LABEL = __31("Auto flow", "elementor");
4462
+ var DENSE_LABEL = __31("Dense", "elementor");
4381
4463
  var StartIcon4 = withDirection7(ArrowRightIcon2);
4382
4464
  var directionOptions = [
4383
4465
  {
4384
4466
  value: "row",
4385
- label: __30("Row", "elementor"),
4386
- renderContent: ({ size }) => /* @__PURE__ */ React53.createElement(StartIcon4, { fontSize: size }),
4467
+ label: __31("Row", "elementor"),
4468
+ renderContent: ({ size }) => /* @__PURE__ */ React54.createElement(StartIcon4, { fontSize: size }),
4387
4469
  showTooltip: true
4388
4470
  },
4389
4471
  {
4390
4472
  value: "column",
4391
- label: __30("Column", "elementor"),
4392
- renderContent: ({ size }) => /* @__PURE__ */ React53.createElement(ArrowDownSmallIcon3, { fontSize: size }),
4473
+ label: __31("Column", "elementor"),
4474
+ renderContent: ({ size }) => /* @__PURE__ */ React54.createElement(ArrowDownSmallIcon3, { fontSize: size }),
4393
4475
  showTooltip: true
4394
4476
  }
4395
4477
  ];
@@ -4408,7 +4490,7 @@ var GridAutoFlowFieldContent = () => {
4408
4490
  const { value, setValue, canEdit } = useStylesField("grid-auto-flow", {
4409
4491
  history: { propDisplayName: AUTO_FLOW_LABEL }
4410
4492
  });
4411
- const { placeholder } = useBoundProp4();
4493
+ const { placeholder } = useBoundProp5();
4412
4494
  const { direction, dense } = parseAutoFlow(value?.value ?? null);
4413
4495
  const directionPlaceholder = parseAutoFlow(placeholder?.value ?? null).direction;
4414
4496
  const handleDirectionChange = (newDirection) => {
@@ -4422,7 +4504,7 @@ var GridAutoFlowFieldContent = () => {
4422
4504
  const nextDirection = direction ?? "row";
4423
4505
  setValue({ $$type: "string", value: composeAutoFlow(nextDirection, !dense) });
4424
4506
  };
4425
- return /* @__PURE__ */ React53.createElement(StylesFieldLayout, { label: AUTO_FLOW_LABEL }, /* @__PURE__ */ React53.createElement(Grid3, { container: true, gap: 1, flexWrap: "nowrap", alignItems: "center", justifyContent: "flex-end" }, /* @__PURE__ */ React53.createElement(Grid3, { item: true, sx: { width: 64, maxWidth: "100%" } }, /* @__PURE__ */ React53.createElement(
4507
+ return /* @__PURE__ */ React54.createElement(StylesFieldLayout, { label: AUTO_FLOW_LABEL }, /* @__PURE__ */ React54.createElement(Grid3, { container: true, gap: 1, flexWrap: "nowrap", alignItems: "center", justifyContent: "flex-end" }, /* @__PURE__ */ React54.createElement(Grid3, { item: true, sx: { width: 64, maxWidth: "100%" } }, /* @__PURE__ */ React54.createElement(
4426
4508
  ControlToggleButtonGroup3,
4427
4509
  {
4428
4510
  items: directionOptions,
@@ -4433,7 +4515,7 @@ var GridAutoFlowFieldContent = () => {
4433
4515
  fullWidth: true,
4434
4516
  disabled: !canEdit
4435
4517
  }
4436
- )), /* @__PURE__ */ React53.createElement(Grid3, { item: true }, /* @__PURE__ */ React53.createElement(Tooltip3, { title: DENSE_LABEL, placement: "top" }, /* @__PURE__ */ React53.createElement(
4518
+ )), /* @__PURE__ */ React54.createElement(Grid3, { item: true }, /* @__PURE__ */ React54.createElement(Tooltip3, { title: DENSE_LABEL, placement: "top" }, /* @__PURE__ */ React54.createElement(
4437
4519
  ToggleButton,
4438
4520
  {
4439
4521
  value: "dense",
@@ -4443,29 +4525,29 @@ var GridAutoFlowFieldContent = () => {
4443
4525
  "aria-label": DENSE_LABEL,
4444
4526
  disabled: !canEdit
4445
4527
  },
4446
- /* @__PURE__ */ React53.createElement(LayoutDashboardIcon, { fontSize: "tiny" })
4528
+ /* @__PURE__ */ React54.createElement(LayoutDashboardIcon, { fontSize: "tiny" })
4447
4529
  )))));
4448
4530
  };
4449
- var GridAutoFlowField = () => /* @__PURE__ */ React53.createElement(StylesField, { bind: "grid-auto-flow", propDisplayName: AUTO_FLOW_LABEL }, /* @__PURE__ */ React53.createElement(UiProviders, null, /* @__PURE__ */ React53.createElement(GridAutoFlowFieldContent, null)));
4531
+ var GridAutoFlowField = () => /* @__PURE__ */ React54.createElement(StylesField, { bind: "grid-auto-flow", propDisplayName: AUTO_FLOW_LABEL }, /* @__PURE__ */ React54.createElement(UiProviders, null, /* @__PURE__ */ React54.createElement(GridAutoFlowFieldContent, null)));
4450
4532
 
4451
4533
  // src/components/style-sections/layout-section/grid-auto-track-fields.tsx
4452
- import * as React54 from "react";
4534
+ import * as React55 from "react";
4453
4535
  import { useRef as useRef8 } from "react";
4454
4536
  import { SizeControl as SizeControl4 } from "@elementor/editor-controls";
4455
4537
  import { Stack as Stack9 } from "@elementor/ui";
4456
- import { __ as __31 } from "@wordpress/i18n";
4538
+ import { __ as __32 } from "@wordpress/i18n";
4457
4539
  var DEFAULT_UNIT = "fr";
4458
- var AUTO_ROWS_LABEL = __31("Auto rows", "elementor");
4459
- var AUTO_COLUMNS_LABEL = __31("Auto columns", "elementor");
4460
- var AUTO_ROWS_TOOLTIP = __31(
4540
+ var AUTO_ROWS_LABEL = __32("Auto rows", "elementor");
4541
+ var AUTO_COLUMNS_LABEL = __32("Auto columns", "elementor");
4542
+ var AUTO_ROWS_TOOLTIP = __32(
4461
4543
  "Set the size for new rows created automatically when content exceeds the defined grid.",
4462
4544
  "elementor"
4463
4545
  );
4464
- var AUTO_COLUMNS_TOOLTIP = __31(
4546
+ var AUTO_COLUMNS_TOOLTIP = __32(
4465
4547
  "Set the size for new columns created automatically when content exceeds the defined grid.",
4466
4548
  "elementor"
4467
4549
  );
4468
- var GridAutoTrackField = ({ bind, infoTooltip, label, rowRef }) => /* @__PURE__ */ React54.createElement(StylesField, { bind, propDisplayName: label }, /* @__PURE__ */ React54.createElement(StylesFieldLayout, { infoTooltip, label, ref: rowRef }, /* @__PURE__ */ React54.createElement(
4550
+ var GridAutoTrackField = ({ bind, infoTooltip, label, rowRef }) => /* @__PURE__ */ React55.createElement(StylesField, { bind, propDisplayName: label }, /* @__PURE__ */ React55.createElement(StylesFieldLayout, { infoTooltip, label, ref: rowRef }, /* @__PURE__ */ React55.createElement(
4469
4551
  SizeControl4,
4470
4552
  {
4471
4553
  enablePropTypeUnits: true,
@@ -4475,7 +4557,7 @@ var GridAutoTrackField = ({ bind, infoTooltip, label, rowRef }) => /* @__PURE__
4475
4557
  )));
4476
4558
  var GridAutoTrackFields = () => {
4477
4559
  const rowRef = useRef8(null);
4478
- return /* @__PURE__ */ React54.createElement(Stack9, { gap: 2, pt: 2, ref: rowRef }, /* @__PURE__ */ React54.createElement(
4560
+ return /* @__PURE__ */ React55.createElement(Stack9, { gap: 2, pt: 2, ref: rowRef }, /* @__PURE__ */ React55.createElement(
4479
4561
  GridAutoTrackField,
4480
4562
  {
4481
4563
  bind: "grid-auto-rows",
@@ -4483,7 +4565,7 @@ var GridAutoTrackFields = () => {
4483
4565
  label: AUTO_ROWS_LABEL,
4484
4566
  rowRef
4485
4567
  }
4486
- ), /* @__PURE__ */ React54.createElement(
4568
+ ), /* @__PURE__ */ React55.createElement(
4487
4569
  GridAutoTrackField,
4488
4570
  {
4489
4571
  bind: "grid-auto-columns",
@@ -4495,7 +4577,7 @@ var GridAutoTrackFields = () => {
4495
4577
  };
4496
4578
 
4497
4579
  // src/components/style-sections/layout-section/grid-justify-items-field.tsx
4498
- import * as React55 from "react";
4580
+ import * as React56 from "react";
4499
4581
  import { ToggleControl as ToggleControl8 } from "@elementor/editor-controls";
4500
4582
  import {
4501
4583
  LayoutAlignCenterIcon as CenterIcon4,
@@ -4504,49 +4586,49 @@ import {
4504
4586
  LayoutDistributeVerticalIcon as StretchIcon
4505
4587
  } from "@elementor/icons";
4506
4588
  import { withDirection as withDirection8 } from "@elementor/ui";
4507
- import { __ as __32 } from "@wordpress/i18n";
4508
- var JUSTIFY_ITEMS_LABEL = __32("Justify items", "elementor");
4589
+ import { __ as __33 } from "@wordpress/i18n";
4590
+ var JUSTIFY_ITEMS_LABEL = __33("Justify items", "elementor");
4509
4591
  var StartIcon5 = withDirection8(LayoutAlignLeftIcon3);
4510
4592
  var EndIcon4 = withDirection8(LayoutAlignRightIcon3);
4511
4593
  var options4 = [
4512
4594
  {
4513
4595
  value: "start",
4514
- label: __32("Start", "elementor"),
4515
- renderContent: ({ size }) => /* @__PURE__ */ React55.createElement(StartIcon5, { fontSize: size }),
4596
+ label: __33("Start", "elementor"),
4597
+ renderContent: ({ size }) => /* @__PURE__ */ React56.createElement(StartIcon5, { fontSize: size }),
4516
4598
  showTooltip: true
4517
4599
  },
4518
4600
  {
4519
4601
  value: "center",
4520
- label: __32("Center", "elementor"),
4521
- renderContent: ({ size }) => /* @__PURE__ */ React55.createElement(CenterIcon4, { fontSize: size }),
4602
+ label: __33("Center", "elementor"),
4603
+ renderContent: ({ size }) => /* @__PURE__ */ React56.createElement(CenterIcon4, { fontSize: size }),
4522
4604
  showTooltip: true
4523
4605
  },
4524
4606
  {
4525
4607
  value: "end",
4526
- label: __32("End", "elementor"),
4527
- renderContent: ({ size }) => /* @__PURE__ */ React55.createElement(EndIcon4, { fontSize: size }),
4608
+ label: __33("End", "elementor"),
4609
+ renderContent: ({ size }) => /* @__PURE__ */ React56.createElement(EndIcon4, { fontSize: size }),
4528
4610
  showTooltip: true
4529
4611
  },
4530
4612
  {
4531
4613
  value: "stretch",
4532
- label: __32("Stretch", "elementor"),
4533
- renderContent: ({ size }) => /* @__PURE__ */ React55.createElement(StretchIcon, { fontSize: size }),
4614
+ label: __33("Stretch", "elementor"),
4615
+ renderContent: ({ size }) => /* @__PURE__ */ React56.createElement(StretchIcon, { fontSize: size }),
4534
4616
  showTooltip: true
4535
4617
  }
4536
4618
  ];
4537
- var GridJustifyItemsField = () => /* @__PURE__ */ React55.createElement(StylesField, { bind: "justify-items", propDisplayName: JUSTIFY_ITEMS_LABEL }, /* @__PURE__ */ React55.createElement(UiProviders, null, /* @__PURE__ */ React55.createElement(StylesFieldLayout, { label: JUSTIFY_ITEMS_LABEL }, /* @__PURE__ */ React55.createElement(ToggleControl8, { options: options4 }))));
4619
+ var GridJustifyItemsField = () => /* @__PURE__ */ React56.createElement(StylesField, { bind: "justify-items", propDisplayName: JUSTIFY_ITEMS_LABEL }, /* @__PURE__ */ React56.createElement(UiProviders, null, /* @__PURE__ */ React56.createElement(StylesFieldLayout, { label: JUSTIFY_ITEMS_LABEL }, /* @__PURE__ */ React56.createElement(ToggleControl8, { options: options4 }))));
4538
4620
 
4539
4621
  // src/components/style-sections/layout-section/grid-outline-field.tsx
4540
- import * as React56 from "react";
4622
+ import * as React57 from "react";
4541
4623
  import { updateElementEditorSettings, useElementEditorSettings } from "@elementor/editor-elements";
4542
- import { Box as Box5, Switch } from "@elementor/ui";
4543
- import { __ as __33 } from "@wordpress/i18n";
4544
- var GRID_OUTLINE_LABEL = __33("Show Grid Outline", "elementor");
4624
+ import { Box as Box6, Switch } from "@elementor/ui";
4625
+ import { __ as __34 } from "@wordpress/i18n";
4626
+ var GRID_OUTLINE_LABEL = __34("Show Grid Outline", "elementor");
4545
4627
  var GridOutlineField = () => {
4546
4628
  const { element } = useElement();
4547
4629
  const settings = useElementEditorSettings(element.id);
4548
4630
  const value = settings?.grid_outline ?? true;
4549
- return /* @__PURE__ */ React56.createElement(StylesFieldLayout, { label: GRID_OUTLINE_LABEL }, /* @__PURE__ */ React56.createElement(Box5, { sx: { display: "flex", justifyContent: "flex-end" } }, /* @__PURE__ */ React56.createElement(
4631
+ return /* @__PURE__ */ React57.createElement(StylesFieldLayout, { label: GRID_OUTLINE_LABEL }, /* @__PURE__ */ React57.createElement(Box6, { sx: { display: "flex", justifyContent: "flex-end" } }, /* @__PURE__ */ React57.createElement(
4550
4632
  Switch,
4551
4633
  {
4552
4634
  "aria-label": GRID_OUTLINE_LABEL,
@@ -4563,11 +4645,11 @@ var GridOutlineField = () => {
4563
4645
  };
4564
4646
 
4565
4647
  // src/components/style-sections/layout-section/grid-size-field.tsx
4566
- import * as React57 from "react";
4648
+ import * as React58 from "react";
4567
4649
  import { useRef as useRef9 } from "react";
4568
- import { ControlActions, createControl, SizeComponent, useBoundProp as useBoundProp5 } from "@elementor/editor-controls";
4650
+ import { ControlActions, createControl, SizeComponent, useBoundProp as useBoundProp6 } from "@elementor/editor-controls";
4569
4651
  import { Grid as Grid4 } from "@elementor/ui";
4570
- import { __ as __34 } from "@wordpress/i18n";
4652
+ import { __ as __35 } from "@wordpress/i18n";
4571
4653
 
4572
4654
  // src/components/style-sections/layout-section/utils/grid-track-value.ts
4573
4655
  import {
@@ -4664,8 +4746,8 @@ var unitOf = (v, fallback = FR) => {
4664
4746
  };
4665
4747
 
4666
4748
  // src/components/style-sections/layout-section/grid-size-field.tsx
4667
- var SizeFieldWrapper = ({ children }) => /* @__PURE__ */ React57.createElement(ControlActions, null, children);
4668
- var GridTrackSizeInput = createControl((props) => /* @__PURE__ */ React57.createElement(
4749
+ var SizeFieldWrapper = ({ children }) => /* @__PURE__ */ React58.createElement(ControlActions, null, children);
4750
+ var GridTrackSizeInput = createControl((props) => /* @__PURE__ */ React58.createElement(
4669
4751
  SizeComponent,
4670
4752
  {
4671
4753
  units: UNITS,
@@ -4684,7 +4766,7 @@ var GridTrackFieldContent = ({ cssProp, label }) => {
4684
4766
  const { value, setValue } = useStylesField(cssProp, {
4685
4767
  history: { propDisplayName: label }
4686
4768
  });
4687
- const { placeholder: inheritedPlaceholder } = useBoundProp5();
4769
+ const { placeholder: inheritedPlaceholder } = useBoundProp6();
4688
4770
  const anchorRef = useRef9(null);
4689
4771
  const local = parseValue(value);
4690
4772
  const inherited = parseValue(inheritedPlaceholder);
@@ -4697,7 +4779,7 @@ var GridTrackFieldContent = ({ cssProp, label }) => {
4697
4779
  }
4698
4780
  setValue(toPropValue(next));
4699
4781
  };
4700
- return /* @__PURE__ */ React57.createElement(StylesFieldLayout, { label, direction: "column" }, /* @__PURE__ */ React57.createElement("div", { ref: anchorRef }, /* @__PURE__ */ React57.createElement(
4782
+ return /* @__PURE__ */ React58.createElement(StylesFieldLayout, { label, direction: "column" }, /* @__PURE__ */ React58.createElement("div", { ref: anchorRef }, /* @__PURE__ */ React58.createElement(
4701
4783
  GridTrackSizeInput,
4702
4784
  {
4703
4785
  value: displayValue,
@@ -4707,22 +4789,22 @@ var GridTrackFieldContent = ({ cssProp, label }) => {
4707
4789
  }
4708
4790
  )));
4709
4791
  };
4710
- var GridTrackField = ({ cssProp, label }) => /* @__PURE__ */ React57.createElement(UiProviders, null, /* @__PURE__ */ React57.createElement(StylesField, { bind: cssProp, propDisplayName: label }, /* @__PURE__ */ React57.createElement(GridTrackFieldContent, { cssProp, label })));
4711
- var GridSizeFields = () => /* @__PURE__ */ React57.createElement(Grid4, { container: true, gap: 2, flexWrap: "nowrap" }, /* @__PURE__ */ React57.createElement(Grid4, { item: true, xs: 6 }, /* @__PURE__ */ React57.createElement(GridTrackField, { cssProp: "grid-template-columns", label: __34("Columns", "elementor") })), /* @__PURE__ */ React57.createElement(Grid4, { item: true, xs: 6 }, /* @__PURE__ */ React57.createElement(GridTrackField, { cssProp: "grid-template-rows", label: __34("Rows", "elementor") })));
4792
+ var GridTrackField = ({ cssProp, label }) => /* @__PURE__ */ React58.createElement(UiProviders, null, /* @__PURE__ */ React58.createElement(StylesField, { bind: cssProp, propDisplayName: label }, /* @__PURE__ */ React58.createElement(GridTrackFieldContent, { cssProp, label })));
4793
+ var GridSizeFields = () => /* @__PURE__ */ React58.createElement(Grid4, { container: true, gap: 2, flexWrap: "nowrap" }, /* @__PURE__ */ React58.createElement(Grid4, { item: true, xs: 6 }, /* @__PURE__ */ React58.createElement(GridTrackField, { cssProp: "grid-template-columns", label: __35("Columns", "elementor") })), /* @__PURE__ */ React58.createElement(Grid4, { item: true, xs: 6 }, /* @__PURE__ */ React58.createElement(GridTrackField, { cssProp: "grid-template-rows", label: __35("Rows", "elementor") })));
4712
4794
 
4713
4795
  // src/components/style-sections/layout-section/grid-span-field.tsx
4714
- import * as React58 from "react";
4796
+ import * as React59 from "react";
4715
4797
  import { GridSpanControl } from "@elementor/editor-controls";
4716
4798
  import { Grid as Grid5 } from "@elementor/ui";
4717
- import { __ as __35 } from "@wordpress/i18n";
4799
+ import { __ as __36 } from "@wordpress/i18n";
4718
4800
  var GridSpanFieldContent = ({ label }) => {
4719
- return /* @__PURE__ */ React58.createElement(StylesFieldLayout, { label, direction: "column" }, /* @__PURE__ */ React58.createElement(GridSpanControl, null));
4801
+ return /* @__PURE__ */ React59.createElement(StylesFieldLayout, { label, direction: "column" }, /* @__PURE__ */ React59.createElement(GridSpanControl, null));
4720
4802
  };
4721
- var GridSpanField = ({ cssProp, label }) => /* @__PURE__ */ React58.createElement(StylesField, { bind: cssProp, propDisplayName: label }, /* @__PURE__ */ React58.createElement(UiProviders, null, /* @__PURE__ */ React58.createElement(GridSpanFieldContent, { cssProp, label })));
4722
- var GridSpanFields = () => /* @__PURE__ */ React58.createElement(Grid5, { container: true, gap: 2, flexWrap: "nowrap" }, /* @__PURE__ */ React58.createElement(Grid5, { item: true, xs: 6 }, /* @__PURE__ */ React58.createElement(GridSpanField, { cssProp: "grid-column", label: __35("Grid column", "elementor") })), /* @__PURE__ */ React58.createElement(Grid5, { item: true, xs: 6 }, /* @__PURE__ */ React58.createElement(GridSpanField, { cssProp: "grid-row", label: __35("Grid row", "elementor") })));
4803
+ var GridSpanField = ({ cssProp, label }) => /* @__PURE__ */ React59.createElement(StylesField, { bind: cssProp, propDisplayName: label }, /* @__PURE__ */ React59.createElement(UiProviders, null, /* @__PURE__ */ React59.createElement(GridSpanFieldContent, { cssProp, label })));
4804
+ var GridSpanFields = () => /* @__PURE__ */ React59.createElement(Grid5, { container: true, gap: 2, flexWrap: "nowrap" }, /* @__PURE__ */ React59.createElement(Grid5, { item: true, xs: 6 }, /* @__PURE__ */ React59.createElement(GridSpanField, { cssProp: "grid-column", label: __36("Grid column", "elementor") })), /* @__PURE__ */ React59.createElement(Grid5, { item: true, xs: 6 }, /* @__PURE__ */ React59.createElement(GridSpanField, { cssProp: "grid-row", label: __36("Grid row", "elementor") })));
4723
4805
 
4724
4806
  // src/components/style-sections/layout-section/justify-content-field.tsx
4725
- import * as React59 from "react";
4807
+ import * as React60 from "react";
4726
4808
  import { ToggleControl as ToggleControl9 } from "@elementor/editor-controls";
4727
4809
  import {
4728
4810
  JustifyBottomIcon as JustifyBottomIcon3,
@@ -4733,8 +4815,8 @@ import {
4733
4815
  JustifyTopIcon as JustifyTopIcon3
4734
4816
  } from "@elementor/icons";
4735
4817
  import { withDirection as withDirection9 } from "@elementor/ui";
4736
- import { __ as __36 } from "@wordpress/i18n";
4737
- var JUSTIFY_CONTENT_LABEL = __36("Justify content", "elementor");
4818
+ import { __ as __37 } from "@wordpress/i18n";
4819
+ var JUSTIFY_CONTENT_LABEL = __37("Justify content", "elementor");
4738
4820
  var StartIcon6 = withDirection9(JustifyTopIcon3);
4739
4821
  var EndIcon5 = withDirection9(JustifyBottomIcon3);
4740
4822
  var iconProps4 = {
@@ -4744,76 +4826,76 @@ var iconProps4 = {
4744
4826
  var options5 = [
4745
4827
  {
4746
4828
  value: "flex-start",
4747
- label: __36("Start", "elementor"),
4748
- renderContent: ({ size }) => /* @__PURE__ */ React59.createElement(RotatedIcon, { icon: StartIcon6, size, ...iconProps4 }),
4829
+ label: __37("Start", "elementor"),
4830
+ renderContent: ({ size }) => /* @__PURE__ */ React60.createElement(RotatedIcon, { icon: StartIcon6, size, ...iconProps4 }),
4749
4831
  showTooltip: true
4750
4832
  },
4751
4833
  {
4752
4834
  value: "center",
4753
- label: __36("Center", "elementor"),
4754
- renderContent: ({ size }) => /* @__PURE__ */ React59.createElement(RotatedIcon, { icon: CenterIcon5, size, ...iconProps4 }),
4835
+ label: __37("Center", "elementor"),
4836
+ renderContent: ({ size }) => /* @__PURE__ */ React60.createElement(RotatedIcon, { icon: CenterIcon5, size, ...iconProps4 }),
4755
4837
  showTooltip: true
4756
4838
  },
4757
4839
  {
4758
4840
  value: "flex-end",
4759
- label: __36("End", "elementor"),
4760
- renderContent: ({ size }) => /* @__PURE__ */ React59.createElement(RotatedIcon, { icon: EndIcon5, size, ...iconProps4 }),
4841
+ label: __37("End", "elementor"),
4842
+ renderContent: ({ size }) => /* @__PURE__ */ React60.createElement(RotatedIcon, { icon: EndIcon5, size, ...iconProps4 }),
4761
4843
  showTooltip: true
4762
4844
  },
4763
4845
  {
4764
4846
  value: "space-between",
4765
- label: __36("Space between", "elementor"),
4766
- renderContent: ({ size }) => /* @__PURE__ */ React59.createElement(RotatedIcon, { icon: BetweenIcon2, size, ...iconProps4 }),
4847
+ label: __37("Space between", "elementor"),
4848
+ renderContent: ({ size }) => /* @__PURE__ */ React60.createElement(RotatedIcon, { icon: BetweenIcon2, size, ...iconProps4 }),
4767
4849
  showTooltip: true
4768
4850
  },
4769
4851
  {
4770
4852
  value: "space-around",
4771
- label: __36("Space around", "elementor"),
4772
- renderContent: ({ size }) => /* @__PURE__ */ React59.createElement(RotatedIcon, { icon: AroundIcon2, size, ...iconProps4 }),
4853
+ label: __37("Space around", "elementor"),
4854
+ renderContent: ({ size }) => /* @__PURE__ */ React60.createElement(RotatedIcon, { icon: AroundIcon2, size, ...iconProps4 }),
4773
4855
  showTooltip: true
4774
4856
  },
4775
4857
  {
4776
4858
  value: "space-evenly",
4777
- label: __36("Space evenly", "elementor"),
4778
- renderContent: ({ size }) => /* @__PURE__ */ React59.createElement(RotatedIcon, { icon: EvenlyIcon2, size, ...iconProps4 }),
4859
+ label: __37("Space evenly", "elementor"),
4860
+ renderContent: ({ size }) => /* @__PURE__ */ React60.createElement(RotatedIcon, { icon: EvenlyIcon2, size, ...iconProps4 }),
4779
4861
  showTooltip: true
4780
4862
  }
4781
4863
  ];
4782
- var JustifyContentField = () => /* @__PURE__ */ React59.createElement(StylesField, { bind: "justify-content", propDisplayName: JUSTIFY_CONTENT_LABEL }, /* @__PURE__ */ React59.createElement(UiProviders, null, /* @__PURE__ */ React59.createElement(StylesFieldLayout, { label: JUSTIFY_CONTENT_LABEL, direction: "column" }, /* @__PURE__ */ React59.createElement(ToggleControl9, { options: options5, fullWidth: true }))));
4864
+ var JustifyContentField = () => /* @__PURE__ */ React60.createElement(StylesField, { bind: "justify-content", propDisplayName: JUSTIFY_CONTENT_LABEL }, /* @__PURE__ */ React60.createElement(UiProviders, null, /* @__PURE__ */ React60.createElement(StylesFieldLayout, { label: JUSTIFY_CONTENT_LABEL, direction: "column" }, /* @__PURE__ */ React60.createElement(ToggleControl9, { options: options5, fullWidth: true }))));
4783
4865
 
4784
4866
  // src/components/style-sections/layout-section/wrap-field.tsx
4785
- import * as React60 from "react";
4867
+ import * as React61 from "react";
4786
4868
  import { ToggleControl as ToggleControl10 } from "@elementor/editor-controls";
4787
4869
  import { ArrowBackIcon, ArrowForwardIcon, ArrowRightIcon as ArrowRightIcon3 } from "@elementor/icons";
4788
- import { __ as __37 } from "@wordpress/i18n";
4789
- var FLEX_WRAP_LABEL = __37("Wrap", "elementor");
4870
+ import { __ as __38 } from "@wordpress/i18n";
4871
+ var FLEX_WRAP_LABEL = __38("Wrap", "elementor");
4790
4872
  var options6 = [
4791
4873
  {
4792
4874
  value: "nowrap",
4793
- label: __37("No wrap", "elementor"),
4794
- renderContent: ({ size }) => /* @__PURE__ */ React60.createElement(ArrowRightIcon3, { fontSize: size }),
4875
+ label: __38("No wrap", "elementor"),
4876
+ renderContent: ({ size }) => /* @__PURE__ */ React61.createElement(ArrowRightIcon3, { fontSize: size }),
4795
4877
  showTooltip: true
4796
4878
  },
4797
4879
  {
4798
4880
  value: "wrap",
4799
- label: __37("Wrap", "elementor"),
4800
- renderContent: ({ size }) => /* @__PURE__ */ React60.createElement(ArrowBackIcon, { fontSize: size }),
4881
+ label: __38("Wrap", "elementor"),
4882
+ renderContent: ({ size }) => /* @__PURE__ */ React61.createElement(ArrowBackIcon, { fontSize: size }),
4801
4883
  showTooltip: true
4802
4884
  },
4803
4885
  {
4804
4886
  value: "wrap-reverse",
4805
- label: __37("Reversed wrap", "elementor"),
4806
- renderContent: ({ size }) => /* @__PURE__ */ React60.createElement(ArrowForwardIcon, { fontSize: size }),
4887
+ label: __38("Reversed wrap", "elementor"),
4888
+ renderContent: ({ size }) => /* @__PURE__ */ React61.createElement(ArrowForwardIcon, { fontSize: size }),
4807
4889
  showTooltip: true
4808
4890
  }
4809
4891
  ];
4810
4892
  var WrapField = () => {
4811
- return /* @__PURE__ */ React60.createElement(StylesField, { bind: "flex-wrap", propDisplayName: FLEX_WRAP_LABEL }, /* @__PURE__ */ React60.createElement(UiProviders, null, /* @__PURE__ */ React60.createElement(StylesFieldLayout, { label: FLEX_WRAP_LABEL }, /* @__PURE__ */ React60.createElement(ToggleControl10, { options: options6 }))));
4893
+ return /* @__PURE__ */ React61.createElement(StylesField, { bind: "flex-wrap", propDisplayName: FLEX_WRAP_LABEL }, /* @__PURE__ */ React61.createElement(UiProviders, null, /* @__PURE__ */ React61.createElement(StylesFieldLayout, { label: FLEX_WRAP_LABEL }, /* @__PURE__ */ React61.createElement(ToggleControl10, { options: options6 }))));
4812
4894
  };
4813
4895
 
4814
4896
  // src/components/style-sections/layout-section/layout-section.tsx
4815
- var DISPLAY_LABEL2 = __38("Display", "elementor");
4816
- var FLEX_WRAP_LABEL2 = __38("Flex wrap", "elementor");
4897
+ var DISPLAY_LABEL2 = __39("Display", "elementor");
4898
+ var FLEX_WRAP_LABEL2 = __39("Flex wrap", "elementor");
4817
4899
  var DEFAULT_PARENT_FLOW_DIRECTION = "row";
4818
4900
  var { Slot: GridFieldsSlot, inject: injectIntoGridFields } = createLocation3();
4819
4901
  var LayoutSection = () => {
@@ -4835,17 +4917,17 @@ var LayoutSection = () => {
4835
4917
  }
4836
4918
  return DEFAULT_PARENT_FLOW_DIRECTION;
4837
4919
  };
4838
- return /* @__PURE__ */ React61.createElement(SectionContent, null, /* @__PURE__ */ React61.createElement(DisplayField, null), isDisplayFlex && /* @__PURE__ */ React61.createElement(FlexFields, null), "flex" === parentStyle?.display && /* @__PURE__ */ React61.createElement(FlexChildFields, { parentStyleDirection: getParentStyleDirection() }), isDisplayGrid && /* @__PURE__ */ React61.createElement(GridFields, null), "grid" === parentStyle?.display && /* @__PURE__ */ React61.createElement(GridChildFields, { parentStyleDirection: getParentStyleDirection() }));
4920
+ return /* @__PURE__ */ React62.createElement(SectionContent, null, /* @__PURE__ */ React62.createElement(DisplayField, null), isDisplayFlex && /* @__PURE__ */ React62.createElement(FlexFields, null), "flex" === parentStyle?.display && /* @__PURE__ */ React62.createElement(FlexChildFields, { parentStyleDirection: getParentStyleDirection() }), isDisplayGrid && /* @__PURE__ */ React62.createElement(GridFields, null), "grid" === parentStyle?.display && /* @__PURE__ */ React62.createElement(GridChildFields, { parentStyleDirection: getParentStyleDirection() }));
4839
4921
  };
4840
4922
  var FlexFields = () => {
4841
4923
  const { value: flexWrap } = useStylesField("flex-wrap", {
4842
4924
  history: { propDisplayName: FLEX_WRAP_LABEL2 }
4843
4925
  });
4844
- return /* @__PURE__ */ React61.createElement(React61.Fragment, null, /* @__PURE__ */ React61.createElement(FlexDirectionField, null), /* @__PURE__ */ React61.createElement(JustifyContentField, null), /* @__PURE__ */ React61.createElement(AlignItemsField, null), /* @__PURE__ */ React61.createElement(PanelDivider, null), /* @__PURE__ */ React61.createElement(GapControlField, null), /* @__PURE__ */ React61.createElement(WrapField, null), ["wrap", "wrap-reverse"].includes(flexWrap?.value) && /* @__PURE__ */ React61.createElement(AlignContentField, null));
4926
+ return /* @__PURE__ */ React62.createElement(React62.Fragment, null, /* @__PURE__ */ React62.createElement(FlexDirectionField, null), /* @__PURE__ */ React62.createElement(JustifyContentField, null), /* @__PURE__ */ React62.createElement(AlignItemsField, null), /* @__PURE__ */ React62.createElement(PanelDivider, null), /* @__PURE__ */ React62.createElement(GapControlField, null), /* @__PURE__ */ React62.createElement(WrapField, null), ["wrap", "wrap-reverse"].includes(flexWrap?.value) && /* @__PURE__ */ React62.createElement(AlignContentField, null));
4845
4927
  };
4846
- var GridFields = () => /* @__PURE__ */ React61.createElement(React61.Fragment, null, /* @__PURE__ */ React61.createElement(GridOutlineField, null), /* @__PURE__ */ React61.createElement(GridSizeFields, null), /* @__PURE__ */ React61.createElement(GridAutoFlowField, null), /* @__PURE__ */ React61.createElement(GridFieldsSlot, null), /* @__PURE__ */ React61.createElement(StyleTabCollapsibleContent, { fields: ["grid-auto-rows", "grid-auto-columns"] }, /* @__PURE__ */ React61.createElement(GridAutoTrackFields, null)), /* @__PURE__ */ React61.createElement(PanelDivider, null), /* @__PURE__ */ React61.createElement(GapControlField, null), /* @__PURE__ */ React61.createElement(PanelDivider, null), /* @__PURE__ */ React61.createElement(GridJustifyItemsField, null), /* @__PURE__ */ React61.createElement(AlignItemsField, null));
4847
- var FlexChildFields = ({ parentStyleDirection }) => /* @__PURE__ */ React61.createElement(React61.Fragment, null, /* @__PURE__ */ React61.createElement(PanelDivider, null), /* @__PURE__ */ React61.createElement(ControlFormLabel2, null, __38("Flex child", "elementor")), /* @__PURE__ */ React61.createElement(AlignSelfChild, { parentStyleDirection }), /* @__PURE__ */ React61.createElement(FlexOrderField, null), /* @__PURE__ */ React61.createElement(FlexSizeField, null));
4848
- var GridChildFields = ({ parentStyleDirection }) => /* @__PURE__ */ React61.createElement(React61.Fragment, null, /* @__PURE__ */ React61.createElement(PanelDivider, null), /* @__PURE__ */ React61.createElement(ControlFormLabel2, null, __38("Grid child", "elementor")), /* @__PURE__ */ React61.createElement(GridSpanFields, null), /* @__PURE__ */ React61.createElement(AlignSelfGridChild, { parentStyleDirection }), /* @__PURE__ */ React61.createElement(FlexOrderField, null));
4928
+ var GridFields = () => /* @__PURE__ */ React62.createElement(React62.Fragment, null, /* @__PURE__ */ React62.createElement(GridOutlineField, null), /* @__PURE__ */ React62.createElement(GridSizeFields, null), /* @__PURE__ */ React62.createElement(GridAutoFlowField, null), /* @__PURE__ */ React62.createElement(GridFieldsSlot, null), /* @__PURE__ */ React62.createElement(StyleTabCollapsibleContent, { fields: ["grid-auto-rows", "grid-auto-columns"] }, /* @__PURE__ */ React62.createElement(GridAutoTrackFields, null)), /* @__PURE__ */ React62.createElement(PanelDivider, null), /* @__PURE__ */ React62.createElement(GapControlField, null), /* @__PURE__ */ React62.createElement(PanelDivider, null), /* @__PURE__ */ React62.createElement(GridJustifyItemsField, null), /* @__PURE__ */ React62.createElement(AlignItemsField, null));
4929
+ var FlexChildFields = ({ parentStyleDirection }) => /* @__PURE__ */ React62.createElement(React62.Fragment, null, /* @__PURE__ */ React62.createElement(PanelDivider, null), /* @__PURE__ */ React62.createElement(ControlFormLabel2, null, __39("Flex child", "elementor")), /* @__PURE__ */ React62.createElement(AlignSelfChild, { parentStyleDirection }), /* @__PURE__ */ React62.createElement(FlexOrderField, null), /* @__PURE__ */ React62.createElement(FlexSizeField, null));
4930
+ var GridChildFields = ({ parentStyleDirection }) => /* @__PURE__ */ React62.createElement(React62.Fragment, null, /* @__PURE__ */ React62.createElement(PanelDivider, null), /* @__PURE__ */ React62.createElement(ControlFormLabel2, null, __39("Grid child", "elementor")), /* @__PURE__ */ React62.createElement(GridSpanFields, null), /* @__PURE__ */ React62.createElement(AlignSelfGridChild, { parentStyleDirection }), /* @__PURE__ */ React62.createElement(FlexOrderField, null));
4849
4931
  var shouldDisplayFlexFields = (display, local) => {
4850
4932
  const value = display?.value ?? local?.value;
4851
4933
  if (!value) {
@@ -4855,40 +4937,40 @@ var shouldDisplayFlexFields = (display, local) => {
4855
4937
  };
4856
4938
 
4857
4939
  // src/components/style-sections/position-section/position-section.tsx
4858
- import * as React66 from "react";
4940
+ import * as React67 from "react";
4859
4941
  import { useEffect as useEffect7, useRef as useRef12 } from "react";
4860
4942
  import { useSessionStorage as useSessionStorage4 } from "@elementor/session";
4861
4943
  import { styled as styled6 } from "@elementor/ui";
4862
- import { __ as __43 } from "@wordpress/i18n";
4944
+ import { __ as __44 } from "@wordpress/i18n";
4863
4945
 
4864
4946
  // src/components/style-sections/position-section/dimensions-field.tsx
4865
- import * as React62 from "react";
4947
+ import * as React63 from "react";
4866
4948
  import { useRef as useRef10 } from "react";
4867
4949
  import { SizeControl as SizeControl5 } from "@elementor/editor-controls";
4868
4950
  import { SideBottomIcon as SideBottomIcon2, SideLeftIcon as SideLeftIcon2, SideRightIcon as SideRightIcon2, SideTopIcon as SideTopIcon2 } from "@elementor/icons";
4869
4951
  import { Grid as Grid6, Stack as Stack10, withDirection as withDirection10 } from "@elementor/ui";
4870
- import { __ as __39 } from "@wordpress/i18n";
4952
+ import { __ as __40 } from "@wordpress/i18n";
4871
4953
  var InlineStartIcon2 = withDirection10(SideLeftIcon2);
4872
4954
  var InlineEndIcon2 = withDirection10(SideRightIcon2);
4873
4955
  var sideIcons = {
4874
- "inset-block-start": /* @__PURE__ */ React62.createElement(SideTopIcon2, { fontSize: "tiny" }),
4875
- "inset-block-end": /* @__PURE__ */ React62.createElement(SideBottomIcon2, { fontSize: "tiny" }),
4876
- "inset-inline-start": /* @__PURE__ */ React62.createElement(RotatedIcon, { icon: InlineStartIcon2, size: "tiny" }),
4877
- "inset-inline-end": /* @__PURE__ */ React62.createElement(RotatedIcon, { icon: InlineEndIcon2, size: "tiny" })
4956
+ "inset-block-start": /* @__PURE__ */ React63.createElement(SideTopIcon2, { fontSize: "tiny" }),
4957
+ "inset-block-end": /* @__PURE__ */ React63.createElement(SideBottomIcon2, { fontSize: "tiny" }),
4958
+ "inset-inline-start": /* @__PURE__ */ React63.createElement(RotatedIcon, { icon: InlineStartIcon2, size: "tiny" }),
4959
+ "inset-inline-end": /* @__PURE__ */ React63.createElement(RotatedIcon, { icon: InlineEndIcon2, size: "tiny" })
4878
4960
  };
4879
- var getInlineStartLabel = (isSiteRtl) => isSiteRtl ? __39("Right", "elementor") : __39("Left", "elementor");
4880
- var getInlineEndLabel = (isSiteRtl) => isSiteRtl ? __39("Left", "elementor") : __39("Right", "elementor");
4961
+ var getInlineStartLabel = (isSiteRtl) => isSiteRtl ? __40("Right", "elementor") : __40("Left", "elementor");
4962
+ var getInlineEndLabel = (isSiteRtl) => isSiteRtl ? __40("Left", "elementor") : __40("Right", "elementor");
4881
4963
  var DimensionsField = () => {
4882
4964
  const { isSiteRtl } = useDirection();
4883
4965
  const rowRefs = [useRef10(null), useRef10(null)];
4884
- return /* @__PURE__ */ React62.createElement(UiProviders, null, /* @__PURE__ */ React62.createElement(Stack10, { direction: "row", gap: 2, flexWrap: "nowrap", ref: rowRefs[0] }, /* @__PURE__ */ React62.createElement(DimensionField, { side: "inset-block-start", label: __39("Top", "elementor"), rowRef: rowRefs[0] }), /* @__PURE__ */ React62.createElement(
4966
+ return /* @__PURE__ */ React63.createElement(UiProviders, null, /* @__PURE__ */ React63.createElement(Stack10, { direction: "row", gap: 2, flexWrap: "nowrap", ref: rowRefs[0] }, /* @__PURE__ */ React63.createElement(DimensionField, { side: "inset-block-start", label: __40("Top", "elementor"), rowRef: rowRefs[0] }), /* @__PURE__ */ React63.createElement(
4885
4967
  DimensionField,
4886
4968
  {
4887
4969
  side: "inset-inline-end",
4888
4970
  label: getInlineEndLabel(isSiteRtl),
4889
4971
  rowRef: rowRefs[0]
4890
4972
  }
4891
- )), /* @__PURE__ */ React62.createElement(Stack10, { direction: "row", gap: 2, flexWrap: "nowrap", ref: rowRefs[1] }, /* @__PURE__ */ React62.createElement(DimensionField, { side: "inset-block-end", label: __39("Bottom", "elementor"), rowRef: rowRefs[1] }), /* @__PURE__ */ React62.createElement(
4973
+ )), /* @__PURE__ */ React63.createElement(Stack10, { direction: "row", gap: 2, flexWrap: "nowrap", ref: rowRefs[1] }, /* @__PURE__ */ React63.createElement(DimensionField, { side: "inset-block-end", label: __40("Bottom", "elementor"), rowRef: rowRefs[1] }), /* @__PURE__ */ React63.createElement(
4892
4974
  DimensionField,
4893
4975
  {
4894
4976
  side: "inset-inline-start",
@@ -4901,7 +4983,7 @@ var DimensionField = ({
4901
4983
  side,
4902
4984
  label,
4903
4985
  rowRef
4904
- }) => /* @__PURE__ */ React62.createElement(StylesField, { bind: side, propDisplayName: label }, /* @__PURE__ */ React62.createElement(Grid6, { container: true, gap: 0.75, alignItems: "center" }, /* @__PURE__ */ React62.createElement(Grid6, { item: true, xs: 12 }, /* @__PURE__ */ React62.createElement(ControlLabel, null, label)), /* @__PURE__ */ React62.createElement(Grid6, { item: true, xs: 12 }, /* @__PURE__ */ React62.createElement(
4986
+ }) => /* @__PURE__ */ React63.createElement(StylesField, { bind: side, propDisplayName: label }, /* @__PURE__ */ React63.createElement(Grid6, { container: true, gap: 0.75, alignItems: "center" }, /* @__PURE__ */ React63.createElement(Grid6, { item: true, xs: 12 }, /* @__PURE__ */ React63.createElement(ControlLabel, null, label)), /* @__PURE__ */ React63.createElement(Grid6, { item: true, xs: 12 }, /* @__PURE__ */ React63.createElement(
4905
4987
  SizeControl5,
4906
4988
  {
4907
4989
  startIcon: sideIcons[side],
@@ -4912,62 +4994,62 @@ var DimensionField = ({
4912
4994
  ))));
4913
4995
 
4914
4996
  // src/components/style-sections/position-section/offset-field.tsx
4915
- import * as React63 from "react";
4997
+ import * as React64 from "react";
4916
4998
  import { useRef as useRef11 } from "react";
4917
4999
  import { SizeControl as SizeControl6 } from "@elementor/editor-controls";
4918
- import { __ as __40 } from "@wordpress/i18n";
4919
- var OFFSET_LABEL = __40("Anchor offset", "elementor");
5000
+ import { __ as __41 } from "@wordpress/i18n";
5001
+ var OFFSET_LABEL = __41("Anchor offset", "elementor");
4920
5002
  var UNITS2 = ["px", "em", "rem", "vw", "vh"];
4921
5003
  var OffsetField = () => {
4922
5004
  const rowRef = useRef11(null);
4923
- return /* @__PURE__ */ React63.createElement(StylesField, { bind: "scroll-margin-top", propDisplayName: OFFSET_LABEL }, /* @__PURE__ */ React63.createElement(StylesFieldLayout, { label: OFFSET_LABEL, ref: rowRef }, /* @__PURE__ */ React63.createElement(SizeControl6, { units: UNITS2, anchorRef: rowRef })));
5005
+ return /* @__PURE__ */ React64.createElement(StylesField, { bind: "scroll-margin-top", propDisplayName: OFFSET_LABEL }, /* @__PURE__ */ React64.createElement(StylesFieldLayout, { label: OFFSET_LABEL, ref: rowRef }, /* @__PURE__ */ React64.createElement(SizeControl6, { units: UNITS2, anchorRef: rowRef })));
4924
5006
  };
4925
5007
 
4926
5008
  // src/components/style-sections/position-section/position-field.tsx
4927
- import * as React64 from "react";
5009
+ import * as React65 from "react";
4928
5010
  import { SelectControl as SelectControl3 } from "@elementor/editor-controls";
4929
- import { __ as __41 } from "@wordpress/i18n";
4930
- var POSITION_LABEL = __41("Position", "elementor");
5011
+ import { __ as __42 } from "@wordpress/i18n";
5012
+ var POSITION_LABEL = __42("Position", "elementor");
4931
5013
  var positionOptions = [
4932
- { label: __41("Static", "elementor"), value: "static" },
4933
- { label: __41("Relative", "elementor"), value: "relative" },
4934
- { label: __41("Absolute", "elementor"), value: "absolute" },
4935
- { label: __41("Fixed", "elementor"), value: "fixed" },
4936
- { label: __41("Sticky", "elementor"), value: "sticky" }
5014
+ { label: __42("Static", "elementor"), value: "static" },
5015
+ { label: __42("Relative", "elementor"), value: "relative" },
5016
+ { label: __42("Absolute", "elementor"), value: "absolute" },
5017
+ { label: __42("Fixed", "elementor"), value: "fixed" },
5018
+ { label: __42("Sticky", "elementor"), value: "sticky" }
4937
5019
  ];
4938
5020
  var PositionField = () => {
4939
- return /* @__PURE__ */ React64.createElement(StylesField, { bind: "position", propDisplayName: POSITION_LABEL }, /* @__PURE__ */ React64.createElement(StylesFieldLayout, { label: POSITION_LABEL }, /* @__PURE__ */ React64.createElement(SelectControl3, { options: positionOptions })));
5021
+ return /* @__PURE__ */ React65.createElement(StylesField, { bind: "position", propDisplayName: POSITION_LABEL }, /* @__PURE__ */ React65.createElement(StylesFieldLayout, { label: POSITION_LABEL }, /* @__PURE__ */ React65.createElement(SelectControl3, { options: positionOptions })));
4940
5022
  };
4941
5023
 
4942
5024
  // src/components/style-sections/position-section/z-index-field.tsx
4943
- import * as React65 from "react";
5025
+ import * as React66 from "react";
4944
5026
  import { NumberControl as NumberControl4 } from "@elementor/editor-controls";
4945
- import { InfoCircleFilledIcon } from "@elementor/icons";
4946
- import { Alert as Alert3, AlertTitle as AlertTitle2, Box as Box6, Infotip } from "@elementor/ui";
4947
- import { __ as __42 } from "@wordpress/i18n";
4948
- var Z_INDEX_LABEL = __42("Z-index", "elementor");
5027
+ import { InfoCircleFilledIcon as InfoCircleFilledIcon2 } from "@elementor/icons";
5028
+ import { Alert as Alert4, AlertTitle as AlertTitle3, Box as Box7, Infotip as Infotip2 } from "@elementor/ui";
5029
+ import { __ as __43 } from "@wordpress/i18n";
5030
+ var Z_INDEX_LABEL = __43("Z-index", "elementor");
4949
5031
  var ZIndexField = ({ disabled }) => {
4950
- const StyleField = /* @__PURE__ */ React65.createElement(StylesField, { bind: "z-index", propDisplayName: Z_INDEX_LABEL }, /* @__PURE__ */ React65.createElement(StylesFieldLayout, { label: Z_INDEX_LABEL }, /* @__PURE__ */ React65.createElement(NumberControl4, { disabled })));
4951
- const content = /* @__PURE__ */ React65.createElement(Alert3, { color: "secondary", icon: /* @__PURE__ */ React65.createElement(InfoCircleFilledIcon, null), size: "small" }, /* @__PURE__ */ React65.createElement(AlertTitle2, null, __42("Z-index", "elementor")), /* @__PURE__ */ React65.createElement(Box6, { component: "span" }, __42(
5032
+ const StyleField = /* @__PURE__ */ React66.createElement(StylesField, { bind: "z-index", propDisplayName: Z_INDEX_LABEL }, /* @__PURE__ */ React66.createElement(StylesFieldLayout, { label: Z_INDEX_LABEL }, /* @__PURE__ */ React66.createElement(NumberControl4, { disabled })));
5033
+ const content = /* @__PURE__ */ React66.createElement(Alert4, { color: "secondary", icon: /* @__PURE__ */ React66.createElement(InfoCircleFilledIcon2, null), size: "small" }, /* @__PURE__ */ React66.createElement(AlertTitle3, null, __43("Z-index", "elementor")), /* @__PURE__ */ React66.createElement(Box7, { component: "span" }, __43(
4952
5034
  "z-index only works on positioned elements. Change position to relative, absolute, or fixed to enable layering.",
4953
5035
  "elementor"
4954
5036
  )));
4955
- return disabled ? /* @__PURE__ */ React65.createElement(
4956
- Infotip,
5037
+ return disabled ? /* @__PURE__ */ React66.createElement(
5038
+ Infotip2,
4957
5039
  {
4958
5040
  placement: "right",
4959
5041
  content,
4960
5042
  color: "secondary",
4961
5043
  slotProps: { popper: { sx: { width: 300 } } }
4962
5044
  },
4963
- /* @__PURE__ */ React65.createElement(Box6, null, StyleField)
4964
- ) : /* @__PURE__ */ React65.createElement(React65.Fragment, null, StyleField);
5045
+ /* @__PURE__ */ React66.createElement(Box7, null, StyleField)
5046
+ ) : /* @__PURE__ */ React66.createElement(React66.Fragment, null, StyleField);
4965
5047
  };
4966
5048
 
4967
5049
  // src/components/style-sections/position-section/position-section.tsx
4968
5050
  var POSITION_STATIC = "static";
4969
- var POSITION_LABEL2 = __43("Position", "elementor");
4970
- var DIMENSIONS_LABEL = __43("Dimensions", "elementor");
5051
+ var POSITION_LABEL2 = __44("Position", "elementor");
5052
+ var DIMENSIONS_LABEL = __44("Dimensions", "elementor");
4971
5053
  var DEPENDENT_PROP_NAMES = [
4972
5054
  "inset-block-start",
4973
5055
  "inset-block-end",
@@ -4996,7 +5078,7 @@ var PositionSection = () => {
4996
5078
  }
4997
5079
  positionPrevRef.current = position;
4998
5080
  }, [position?.value, isPositionUnsetOrStatic]);
4999
- return /* @__PURE__ */ React66.createElement(StyledSectionContent, null, /* @__PURE__ */ React66.createElement(PositionField, null), /* @__PURE__ */ React66.createElement(DimensionsField, null), /* @__PURE__ */ React66.createElement(ZIndexField, { disabled: isPositionUnsetOrStatic }), /* @__PURE__ */ React66.createElement(PanelDivider, null), /* @__PURE__ */ React66.createElement(OffsetField, null));
5081
+ return /* @__PURE__ */ React67.createElement(StyledSectionContent, null, /* @__PURE__ */ React67.createElement(PositionField, null), /* @__PURE__ */ React67.createElement(DimensionsField, null), /* @__PURE__ */ React67.createElement(ZIndexField, { disabled: isPositionUnsetOrStatic }), /* @__PURE__ */ React67.createElement(PanelDivider, null), /* @__PURE__ */ React67.createElement(OffsetField, null));
5000
5082
  };
5001
5083
  var usePersistDimensions = () => {
5002
5084
  const { id: styleDefID, meta } = useStyle();
@@ -5046,56 +5128,56 @@ var StyledSectionContent = styled6(SectionContent, {
5046
5128
  }));
5047
5129
 
5048
5130
  // src/components/style-sections/size-section/size-section.tsx
5049
- import * as React69 from "react";
5131
+ import * as React70 from "react";
5050
5132
  import { useRef as useRef13 } from "react";
5051
5133
  import { AspectRatioControl, PositionControl, SizeControl as SizeControl7 } from "@elementor/editor-controls";
5052
5134
  import { Grid as Grid7, Stack as Stack11 } from "@elementor/ui";
5053
- import { __ as __46 } from "@wordpress/i18n";
5135
+ import { __ as __47 } from "@wordpress/i18n";
5054
5136
 
5055
5137
  // src/components/style-sections/size-section/object-fit-field.tsx
5056
- import * as React67 from "react";
5138
+ import * as React68 from "react";
5057
5139
  import { SelectControl as SelectControl4 } from "@elementor/editor-controls";
5058
- import { __ as __44 } from "@wordpress/i18n";
5059
- var OBJECT_FIT_LABEL = __44("Object fit", "elementor");
5140
+ import { __ as __45 } from "@wordpress/i18n";
5141
+ var OBJECT_FIT_LABEL = __45("Object fit", "elementor");
5060
5142
  var positionOptions2 = [
5061
- { label: __44("Fill", "elementor"), value: "fill" },
5062
- { label: __44("Cover", "elementor"), value: "cover" },
5063
- { label: __44("Contain", "elementor"), value: "contain" },
5064
- { label: __44("None", "elementor"), value: "none" },
5065
- { label: __44("Scale down", "elementor"), value: "scale-down" }
5143
+ { label: __45("Fill", "elementor"), value: "fill" },
5144
+ { label: __45("Cover", "elementor"), value: "cover" },
5145
+ { label: __45("Contain", "elementor"), value: "contain" },
5146
+ { label: __45("None", "elementor"), value: "none" },
5147
+ { label: __45("Scale down", "elementor"), value: "scale-down" }
5066
5148
  ];
5067
5149
  var ObjectFitField = () => {
5068
- return /* @__PURE__ */ React67.createElement(StylesField, { bind: "object-fit", propDisplayName: OBJECT_FIT_LABEL }, /* @__PURE__ */ React67.createElement(StylesFieldLayout, { label: OBJECT_FIT_LABEL }, /* @__PURE__ */ React67.createElement(SelectControl4, { options: positionOptions2 })));
5150
+ return /* @__PURE__ */ React68.createElement(StylesField, { bind: "object-fit", propDisplayName: OBJECT_FIT_LABEL }, /* @__PURE__ */ React68.createElement(StylesFieldLayout, { label: OBJECT_FIT_LABEL }, /* @__PURE__ */ React68.createElement(SelectControl4, { options: positionOptions2 })));
5069
5151
  };
5070
5152
 
5071
5153
  // src/components/style-sections/size-section/overflow-field.tsx
5072
- import * as React68 from "react";
5154
+ import * as React69 from "react";
5073
5155
  import { ToggleControl as ToggleControl11 } from "@elementor/editor-controls";
5074
5156
  import { EyeIcon, EyeOffIcon, LetterAIcon } from "@elementor/icons";
5075
- import { __ as __45 } from "@wordpress/i18n";
5076
- var OVERFLOW_LABEL = __45("Overflow", "elementor");
5157
+ import { __ as __46 } from "@wordpress/i18n";
5158
+ var OVERFLOW_LABEL = __46("Overflow", "elementor");
5077
5159
  var options7 = [
5078
5160
  {
5079
5161
  value: "visible",
5080
- label: __45("Visible", "elementor"),
5081
- renderContent: ({ size }) => /* @__PURE__ */ React68.createElement(EyeIcon, { fontSize: size }),
5162
+ label: __46("Visible", "elementor"),
5163
+ renderContent: ({ size }) => /* @__PURE__ */ React69.createElement(EyeIcon, { fontSize: size }),
5082
5164
  showTooltip: true
5083
5165
  },
5084
5166
  {
5085
5167
  value: "hidden",
5086
- label: __45("Hidden", "elementor"),
5087
- renderContent: ({ size }) => /* @__PURE__ */ React68.createElement(EyeOffIcon, { fontSize: size }),
5168
+ label: __46("Hidden", "elementor"),
5169
+ renderContent: ({ size }) => /* @__PURE__ */ React69.createElement(EyeOffIcon, { fontSize: size }),
5088
5170
  showTooltip: true
5089
5171
  },
5090
5172
  {
5091
5173
  value: "auto",
5092
- label: __45("Auto", "elementor"),
5093
- renderContent: ({ size }) => /* @__PURE__ */ React68.createElement(LetterAIcon, { fontSize: size }),
5174
+ label: __46("Auto", "elementor"),
5175
+ renderContent: ({ size }) => /* @__PURE__ */ React69.createElement(LetterAIcon, { fontSize: size }),
5094
5176
  showTooltip: true
5095
5177
  }
5096
5178
  ];
5097
5179
  var OverflowField = () => {
5098
- return /* @__PURE__ */ React68.createElement(StylesField, { bind: "overflow", propDisplayName: OVERFLOW_LABEL }, /* @__PURE__ */ React68.createElement(StylesFieldLayout, { label: OVERFLOW_LABEL }, /* @__PURE__ */ React68.createElement(ToggleControl11, { options: options7 })));
5180
+ return /* @__PURE__ */ React69.createElement(StylesField, { bind: "overflow", propDisplayName: OVERFLOW_LABEL }, /* @__PURE__ */ React69.createElement(StylesFieldLayout, { label: OVERFLOW_LABEL }, /* @__PURE__ */ React69.createElement(ToggleControl11, { options: options7 })));
5099
5181
  };
5100
5182
 
5101
5183
  // src/components/style-sections/size-section/size-section.tsx
@@ -5103,97 +5185,97 @@ var CssSizeProps = [
5103
5185
  [
5104
5186
  {
5105
5187
  bind: "width",
5106
- label: __46("Width", "elementor")
5188
+ label: __47("Width", "elementor")
5107
5189
  },
5108
5190
  {
5109
5191
  bind: "height",
5110
- label: __46("Height", "elementor")
5192
+ label: __47("Height", "elementor")
5111
5193
  }
5112
5194
  ],
5113
5195
  [
5114
5196
  {
5115
5197
  bind: "min-width",
5116
- label: __46("Min width", "elementor")
5198
+ label: __47("Min width", "elementor")
5117
5199
  },
5118
5200
  {
5119
5201
  bind: "min-height",
5120
- label: __46("Min height", "elementor")
5202
+ label: __47("Min height", "elementor")
5121
5203
  }
5122
5204
  ],
5123
5205
  [
5124
5206
  {
5125
5207
  bind: "max-width",
5126
- label: __46("Max width", "elementor")
5208
+ label: __47("Max width", "elementor")
5127
5209
  },
5128
5210
  {
5129
5211
  bind: "max-height",
5130
- label: __46("Max height", "elementor")
5212
+ label: __47("Max height", "elementor")
5131
5213
  }
5132
5214
  ]
5133
5215
  ];
5134
- var ASPECT_RATIO_LABEL = __46("Aspect Ratio", "elementor");
5216
+ var ASPECT_RATIO_LABEL = __47("Aspect Ratio", "elementor");
5135
5217
  var SizeSection = () => {
5136
5218
  const gridRowRefs = [useRef13(null), useRef13(null), useRef13(null)];
5137
- return /* @__PURE__ */ React69.createElement(SectionContent, null, CssSizeProps.map((row, rowIndex) => /* @__PURE__ */ React69.createElement(Grid7, { key: rowIndex, container: true, gap: 2, flexWrap: "nowrap", ref: gridRowRefs[rowIndex] }, row.map((props) => /* @__PURE__ */ React69.createElement(Grid7, { item: true, xs: 6, key: props.bind }, /* @__PURE__ */ React69.createElement(SizeField, { ...props, rowRef: gridRowRefs[rowIndex], extendedOptions: ["auto"] }))))), /* @__PURE__ */ React69.createElement(PanelDivider, null), /* @__PURE__ */ React69.createElement(Stack11, null, /* @__PURE__ */ React69.createElement(OverflowField, null)), /* @__PURE__ */ React69.createElement(StyleTabCollapsibleContent, { fields: ["aspect-ratio", "object-fit"] }, /* @__PURE__ */ React69.createElement(Stack11, { gap: 2, pt: 2 }, /* @__PURE__ */ React69.createElement(StylesField, { bind: "aspect-ratio", propDisplayName: ASPECT_RATIO_LABEL }, /* @__PURE__ */ React69.createElement(AspectRatioControl, { label: ASPECT_RATIO_LABEL })), /* @__PURE__ */ React69.createElement(PanelDivider, null), /* @__PURE__ */ React69.createElement(ObjectFitField, null), /* @__PURE__ */ React69.createElement(StylesField, { bind: "object-position", propDisplayName: __46("Object position", "elementor") }, /* @__PURE__ */ React69.createElement(Grid7, { item: true, xs: 6 }, /* @__PURE__ */ React69.createElement(PositionControl, null))))));
5219
+ return /* @__PURE__ */ React70.createElement(SectionContent, null, CssSizeProps.map((row, rowIndex) => /* @__PURE__ */ React70.createElement(Grid7, { key: rowIndex, container: true, gap: 2, flexWrap: "nowrap", ref: gridRowRefs[rowIndex] }, row.map((props) => /* @__PURE__ */ React70.createElement(Grid7, { item: true, xs: 6, key: props.bind }, /* @__PURE__ */ React70.createElement(SizeField, { ...props, rowRef: gridRowRefs[rowIndex], extendedOptions: ["auto"] }))))), /* @__PURE__ */ React70.createElement(PanelDivider, null), /* @__PURE__ */ React70.createElement(Stack11, null, /* @__PURE__ */ React70.createElement(OverflowField, null)), /* @__PURE__ */ React70.createElement(StyleTabCollapsibleContent, { fields: ["aspect-ratio", "object-fit"] }, /* @__PURE__ */ React70.createElement(Stack11, { gap: 2, pt: 2 }, /* @__PURE__ */ React70.createElement(StylesField, { bind: "aspect-ratio", propDisplayName: ASPECT_RATIO_LABEL }, /* @__PURE__ */ React70.createElement(AspectRatioControl, { label: ASPECT_RATIO_LABEL })), /* @__PURE__ */ React70.createElement(PanelDivider, null), /* @__PURE__ */ React70.createElement(ObjectFitField, null), /* @__PURE__ */ React70.createElement(StylesField, { bind: "object-position", propDisplayName: __47("Object position", "elementor") }, /* @__PURE__ */ React70.createElement(Grid7, { item: true, xs: 6 }, /* @__PURE__ */ React70.createElement(PositionControl, null))))));
5138
5220
  };
5139
5221
  var SizeField = ({ label, bind, rowRef, extendedOptions }) => {
5140
- return /* @__PURE__ */ React69.createElement(StylesField, { bind, propDisplayName: label }, /* @__PURE__ */ React69.createElement(Grid7, { container: true, gap: 0.75, alignItems: "center" }, /* @__PURE__ */ React69.createElement(Grid7, { item: true, xs: 12 }, /* @__PURE__ */ React69.createElement(ControlLabel, null, label)), /* @__PURE__ */ React69.createElement(Grid7, { item: true, xs: 12 }, /* @__PURE__ */ React69.createElement(SizeControl7, { extendedOptions, anchorRef: rowRef }))));
5222
+ return /* @__PURE__ */ React70.createElement(StylesField, { bind, propDisplayName: label }, /* @__PURE__ */ React70.createElement(Grid7, { container: true, gap: 0.75, alignItems: "center" }, /* @__PURE__ */ React70.createElement(Grid7, { item: true, xs: 12 }, /* @__PURE__ */ React70.createElement(ControlLabel, null, label)), /* @__PURE__ */ React70.createElement(Grid7, { item: true, xs: 12 }, /* @__PURE__ */ React70.createElement(SizeControl7, { extendedOptions, anchorRef: rowRef }))));
5141
5223
  };
5142
5224
 
5143
5225
  // src/components/style-sections/spacing-section/spacing-section.tsx
5144
- import * as React70 from "react";
5226
+ import * as React71 from "react";
5145
5227
  import { LinkedDimensionsControl } from "@elementor/editor-controls";
5146
- import { __ as __47 } from "@wordpress/i18n";
5147
- var MARGIN_LABEL = __47("Margin", "elementor");
5148
- var PADDING_LABEL = __47("Padding", "elementor");
5228
+ import { __ as __48 } from "@wordpress/i18n";
5229
+ var MARGIN_LABEL = __48("Margin", "elementor");
5230
+ var PADDING_LABEL = __48("Padding", "elementor");
5149
5231
  var SpacingSection = () => {
5150
5232
  const { isSiteRtl } = useDirection();
5151
- return /* @__PURE__ */ React70.createElement(SectionContent, null, /* @__PURE__ */ React70.createElement(StylesField, { bind: "margin", propDisplayName: MARGIN_LABEL }, /* @__PURE__ */ React70.createElement(
5233
+ return /* @__PURE__ */ React71.createElement(SectionContent, null, /* @__PURE__ */ React71.createElement(StylesField, { bind: "margin", propDisplayName: MARGIN_LABEL }, /* @__PURE__ */ React71.createElement(
5152
5234
  LinkedDimensionsControl,
5153
5235
  {
5154
5236
  label: MARGIN_LABEL,
5155
5237
  isSiteRtl,
5156
5238
  min: -Number.MAX_SAFE_INTEGER
5157
5239
  }
5158
- )), /* @__PURE__ */ React70.createElement(PanelDivider, null), /* @__PURE__ */ React70.createElement(StylesField, { bind: "padding", propDisplayName: PADDING_LABEL }, /* @__PURE__ */ React70.createElement(LinkedDimensionsControl, { label: PADDING_LABEL, isSiteRtl })));
5240
+ )), /* @__PURE__ */ React71.createElement(PanelDivider, null), /* @__PURE__ */ React71.createElement(StylesField, { bind: "padding", propDisplayName: PADDING_LABEL }, /* @__PURE__ */ React71.createElement(LinkedDimensionsControl, { label: PADDING_LABEL, isSiteRtl })));
5159
5241
  };
5160
5242
 
5161
5243
  // src/components/style-sections/typography-section/typography-section.tsx
5162
- import * as React87 from "react";
5244
+ import * as React88 from "react";
5163
5245
 
5164
5246
  // src/components/style-sections/typography-section/column-count-field.tsx
5165
- import * as React71 from "react";
5247
+ import * as React72 from "react";
5166
5248
  import { NumberControl as NumberControl5 } from "@elementor/editor-controls";
5167
- import { __ as __48 } from "@wordpress/i18n";
5168
- var COLUMN_COUNT_LABEL = __48("Columns", "elementor");
5249
+ import { __ as __49 } from "@wordpress/i18n";
5250
+ var COLUMN_COUNT_LABEL = __49("Columns", "elementor");
5169
5251
  var ColumnCountField = () => {
5170
- return /* @__PURE__ */ React71.createElement(StylesField, { bind: "column-count", propDisplayName: COLUMN_COUNT_LABEL }, /* @__PURE__ */ React71.createElement(StylesFieldLayout, { label: COLUMN_COUNT_LABEL }, /* @__PURE__ */ React71.createElement(NumberControl5, { shouldForceInt: true, min: 0, step: 1 })));
5252
+ return /* @__PURE__ */ React72.createElement(StylesField, { bind: "column-count", propDisplayName: COLUMN_COUNT_LABEL }, /* @__PURE__ */ React72.createElement(StylesFieldLayout, { label: COLUMN_COUNT_LABEL }, /* @__PURE__ */ React72.createElement(NumberControl5, { shouldForceInt: true, min: 0, step: 1 })));
5171
5253
  };
5172
5254
 
5173
5255
  // src/components/style-sections/typography-section/column-gap-field.tsx
5174
- import * as React72 from "react";
5256
+ import * as React73 from "react";
5175
5257
  import { useRef as useRef14 } from "react";
5176
5258
  import { SizeControl as SizeControl8 } from "@elementor/editor-controls";
5177
- import { __ as __49 } from "@wordpress/i18n";
5178
- var COLUMN_GAP_LABEL = __49("Column gap", "elementor");
5259
+ import { __ as __50 } from "@wordpress/i18n";
5260
+ var COLUMN_GAP_LABEL = __50("Column gap", "elementor");
5179
5261
  var ColumnGapField = () => {
5180
5262
  const rowRef = useRef14(null);
5181
- return /* @__PURE__ */ React72.createElement(StylesField, { bind: "column-gap", propDisplayName: COLUMN_GAP_LABEL }, /* @__PURE__ */ React72.createElement(StylesFieldLayout, { label: COLUMN_GAP_LABEL, ref: rowRef }, /* @__PURE__ */ React72.createElement(SizeControl8, { anchorRef: rowRef })));
5263
+ return /* @__PURE__ */ React73.createElement(StylesField, { bind: "column-gap", propDisplayName: COLUMN_GAP_LABEL }, /* @__PURE__ */ React73.createElement(StylesFieldLayout, { label: COLUMN_GAP_LABEL, ref: rowRef }, /* @__PURE__ */ React73.createElement(SizeControl8, { anchorRef: rowRef })));
5182
5264
  };
5183
5265
 
5184
5266
  // src/components/style-sections/typography-section/font-family-field.tsx
5185
- import * as React73 from "react";
5267
+ import * as React74 from "react";
5186
5268
  import { FontFamilyControl, useFontFamilies } from "@elementor/editor-controls";
5187
5269
  import { useSectionWidth } from "@elementor/editor-ui";
5188
- import { __ as __50 } from "@wordpress/i18n";
5189
- var FONT_FAMILY_LABEL = __50("Font family", "elementor");
5270
+ import { __ as __51 } from "@wordpress/i18n";
5271
+ var FONT_FAMILY_LABEL = __51("Font family", "elementor");
5190
5272
  var FontFamilyField = () => {
5191
5273
  const fontFamilies = useFontFamilies();
5192
5274
  const sectionWidth = useSectionWidth();
5193
5275
  if (fontFamilies.length === 0) {
5194
5276
  return null;
5195
5277
  }
5196
- return /* @__PURE__ */ React73.createElement(StylesField, { bind: "font-family", propDisplayName: FONT_FAMILY_LABEL }, /* @__PURE__ */ React73.createElement(StylesFieldLayout, { label: FONT_FAMILY_LABEL }, /* @__PURE__ */ React73.createElement(
5278
+ return /* @__PURE__ */ React74.createElement(StylesField, { bind: "font-family", propDisplayName: FONT_FAMILY_LABEL }, /* @__PURE__ */ React74.createElement(StylesFieldLayout, { label: FONT_FAMILY_LABEL }, /* @__PURE__ */ React74.createElement(
5197
5279
  FontFamilyControl,
5198
5280
  {
5199
5281
  fontFamilies,
@@ -5204,196 +5286,196 @@ var FontFamilyField = () => {
5204
5286
  };
5205
5287
 
5206
5288
  // src/components/style-sections/typography-section/font-size-field.tsx
5207
- import * as React74 from "react";
5289
+ import * as React75 from "react";
5208
5290
  import { useRef as useRef15 } from "react";
5209
5291
  import { SizeControl as SizeControl9 } from "@elementor/editor-controls";
5210
- import { __ as __51 } from "@wordpress/i18n";
5211
- var FONT_SIZE_LABEL = __51("Font size", "elementor");
5292
+ import { __ as __52 } from "@wordpress/i18n";
5293
+ var FONT_SIZE_LABEL = __52("Font size", "elementor");
5212
5294
  var FontSizeField = () => {
5213
5295
  const rowRef = useRef15(null);
5214
- return /* @__PURE__ */ React74.createElement(StylesField, { bind: "font-size", propDisplayName: FONT_SIZE_LABEL }, /* @__PURE__ */ React74.createElement(StylesFieldLayout, { label: FONT_SIZE_LABEL, ref: rowRef }, /* @__PURE__ */ React74.createElement(SizeControl9, { anchorRef: rowRef, ariaLabel: FONT_SIZE_LABEL })));
5296
+ return /* @__PURE__ */ React75.createElement(StylesField, { bind: "font-size", propDisplayName: FONT_SIZE_LABEL }, /* @__PURE__ */ React75.createElement(StylesFieldLayout, { label: FONT_SIZE_LABEL, ref: rowRef }, /* @__PURE__ */ React75.createElement(SizeControl9, { anchorRef: rowRef, ariaLabel: FONT_SIZE_LABEL })));
5215
5297
  };
5216
5298
 
5217
5299
  // src/components/style-sections/typography-section/font-style-field.tsx
5218
- import * as React75 from "react";
5300
+ import * as React76 from "react";
5219
5301
  import { ToggleControl as ToggleControl12 } from "@elementor/editor-controls";
5220
5302
  import { ItalicIcon, MinusIcon } from "@elementor/icons";
5221
- import { __ as __52 } from "@wordpress/i18n";
5222
- var FONT_STYLE_LABEL = __52("Font style", "elementor");
5303
+ import { __ as __53 } from "@wordpress/i18n";
5304
+ var FONT_STYLE_LABEL = __53("Font style", "elementor");
5223
5305
  var options8 = [
5224
5306
  {
5225
5307
  value: "normal",
5226
- label: __52("Normal", "elementor"),
5227
- renderContent: ({ size }) => /* @__PURE__ */ React75.createElement(MinusIcon, { fontSize: size }),
5308
+ label: __53("Normal", "elementor"),
5309
+ renderContent: ({ size }) => /* @__PURE__ */ React76.createElement(MinusIcon, { fontSize: size }),
5228
5310
  showTooltip: true
5229
5311
  },
5230
5312
  {
5231
5313
  value: "italic",
5232
- label: __52("Italic", "elementor"),
5233
- renderContent: ({ size }) => /* @__PURE__ */ React75.createElement(ItalicIcon, { fontSize: size }),
5314
+ label: __53("Italic", "elementor"),
5315
+ renderContent: ({ size }) => /* @__PURE__ */ React76.createElement(ItalicIcon, { fontSize: size }),
5234
5316
  showTooltip: true
5235
5317
  }
5236
5318
  ];
5237
5319
  var FontStyleField = () => {
5238
- return /* @__PURE__ */ React75.createElement(StylesField, { bind: "font-style", propDisplayName: FONT_STYLE_LABEL }, /* @__PURE__ */ React75.createElement(StylesFieldLayout, { label: FONT_STYLE_LABEL }, /* @__PURE__ */ React75.createElement(ToggleControl12, { options: options8 })));
5320
+ return /* @__PURE__ */ React76.createElement(StylesField, { bind: "font-style", propDisplayName: FONT_STYLE_LABEL }, /* @__PURE__ */ React76.createElement(StylesFieldLayout, { label: FONT_STYLE_LABEL }, /* @__PURE__ */ React76.createElement(ToggleControl12, { options: options8 })));
5239
5321
  };
5240
5322
 
5241
5323
  // src/components/style-sections/typography-section/font-weight-field.tsx
5242
- import * as React76 from "react";
5324
+ import * as React77 from "react";
5243
5325
  import { SelectControl as SelectControl5 } from "@elementor/editor-controls";
5244
- import { __ as __53 } from "@wordpress/i18n";
5245
- var FONT_WEIGHT_LABEL = __53("Font weight", "elementor");
5326
+ import { __ as __54 } from "@wordpress/i18n";
5327
+ var FONT_WEIGHT_LABEL = __54("Font weight", "elementor");
5246
5328
  var fontWeightOptions = [
5247
- { value: "100", label: __53("100 - Thin", "elementor") },
5248
- { value: "200", label: __53("200 - Extra light", "elementor") },
5249
- { value: "300", label: __53("300 - Light", "elementor") },
5250
- { value: "400", label: __53("400 - Normal", "elementor") },
5251
- { value: "500", label: __53("500 - Medium", "elementor") },
5252
- { value: "600", label: __53("600 - Semi bold", "elementor") },
5253
- { value: "700", label: __53("700 - Bold", "elementor") },
5254
- { value: "800", label: __53("800 - Extra bold", "elementor") },
5255
- { value: "900", label: __53("900 - Black", "elementor") }
5329
+ { value: "100", label: __54("100 - Thin", "elementor") },
5330
+ { value: "200", label: __54("200 - Extra light", "elementor") },
5331
+ { value: "300", label: __54("300 - Light", "elementor") },
5332
+ { value: "400", label: __54("400 - Normal", "elementor") },
5333
+ { value: "500", label: __54("500 - Medium", "elementor") },
5334
+ { value: "600", label: __54("600 - Semi bold", "elementor") },
5335
+ { value: "700", label: __54("700 - Bold", "elementor") },
5336
+ { value: "800", label: __54("800 - Extra bold", "elementor") },
5337
+ { value: "900", label: __54("900 - Black", "elementor") }
5256
5338
  ];
5257
5339
  var FontWeightField = () => {
5258
- return /* @__PURE__ */ React76.createElement(StylesField, { bind: "font-weight", propDisplayName: FONT_WEIGHT_LABEL }, /* @__PURE__ */ React76.createElement(StylesFieldLayout, { label: FONT_WEIGHT_LABEL }, /* @__PURE__ */ React76.createElement(SelectControl5, { options: fontWeightOptions })));
5340
+ return /* @__PURE__ */ React77.createElement(StylesField, { bind: "font-weight", propDisplayName: FONT_WEIGHT_LABEL }, /* @__PURE__ */ React77.createElement(StylesFieldLayout, { label: FONT_WEIGHT_LABEL }, /* @__PURE__ */ React77.createElement(SelectControl5, { options: fontWeightOptions })));
5259
5341
  };
5260
5342
 
5261
5343
  // src/components/style-sections/typography-section/letter-spacing-field.tsx
5262
- import * as React77 from "react";
5344
+ import * as React78 from "react";
5263
5345
  import { useRef as useRef16 } from "react";
5264
5346
  import { SizeControl as SizeControl10 } from "@elementor/editor-controls";
5265
- import { __ as __54 } from "@wordpress/i18n";
5266
- var LETTER_SPACING_LABEL = __54("Letter spacing", "elementor");
5347
+ import { __ as __55 } from "@wordpress/i18n";
5348
+ var LETTER_SPACING_LABEL = __55("Letter spacing", "elementor");
5267
5349
  var LetterSpacingField = () => {
5268
5350
  const rowRef = useRef16(null);
5269
- return /* @__PURE__ */ React77.createElement(StylesField, { bind: "letter-spacing", propDisplayName: LETTER_SPACING_LABEL }, /* @__PURE__ */ React77.createElement(StylesFieldLayout, { label: LETTER_SPACING_LABEL, ref: rowRef }, /* @__PURE__ */ React77.createElement(SizeControl10, { anchorRef: rowRef, min: -Number.MAX_SAFE_INTEGER })));
5351
+ return /* @__PURE__ */ React78.createElement(StylesField, { bind: "letter-spacing", propDisplayName: LETTER_SPACING_LABEL }, /* @__PURE__ */ React78.createElement(StylesFieldLayout, { label: LETTER_SPACING_LABEL, ref: rowRef }, /* @__PURE__ */ React78.createElement(SizeControl10, { anchorRef: rowRef, min: -Number.MAX_SAFE_INTEGER })));
5270
5352
  };
5271
5353
 
5272
5354
  // src/components/style-sections/typography-section/line-height-field.tsx
5273
- import * as React78 from "react";
5355
+ import * as React79 from "react";
5274
5356
  import { useRef as useRef17 } from "react";
5275
5357
  import { SizeControl as SizeControl11 } from "@elementor/editor-controls";
5276
- import { __ as __55 } from "@wordpress/i18n";
5277
- var LINE_HEIGHT_LABEL = __55("Line height", "elementor");
5358
+ import { __ as __56 } from "@wordpress/i18n";
5359
+ var LINE_HEIGHT_LABEL = __56("Line height", "elementor");
5278
5360
  var LineHeightField = () => {
5279
5361
  const rowRef = useRef17(null);
5280
- return /* @__PURE__ */ React78.createElement(StylesField, { bind: "line-height", propDisplayName: LINE_HEIGHT_LABEL }, /* @__PURE__ */ React78.createElement(StylesFieldLayout, { label: LINE_HEIGHT_LABEL, ref: rowRef }, /* @__PURE__ */ React78.createElement(SizeControl11, { anchorRef: rowRef })));
5362
+ return /* @__PURE__ */ React79.createElement(StylesField, { bind: "line-height", propDisplayName: LINE_HEIGHT_LABEL }, /* @__PURE__ */ React79.createElement(StylesFieldLayout, { label: LINE_HEIGHT_LABEL, ref: rowRef }, /* @__PURE__ */ React79.createElement(SizeControl11, { anchorRef: rowRef })));
5281
5363
  };
5282
5364
 
5283
5365
  // src/components/style-sections/typography-section/text-alignment-field.tsx
5284
- import * as React79 from "react";
5366
+ import * as React80 from "react";
5285
5367
  import { ToggleControl as ToggleControl13 } from "@elementor/editor-controls";
5286
5368
  import { AlignCenterIcon, AlignJustifiedIcon, AlignLeftIcon, AlignRightIcon } from "@elementor/icons";
5287
5369
  import { withDirection as withDirection11 } from "@elementor/ui";
5288
- import { __ as __56 } from "@wordpress/i18n";
5289
- var TEXT_ALIGNMENT_LABEL = __56("Text align", "elementor");
5370
+ import { __ as __57 } from "@wordpress/i18n";
5371
+ var TEXT_ALIGNMENT_LABEL = __57("Text align", "elementor");
5290
5372
  var AlignStartIcon = withDirection11(AlignLeftIcon);
5291
5373
  var AlignEndIcon = withDirection11(AlignRightIcon);
5292
5374
  var options9 = [
5293
5375
  {
5294
5376
  value: "start",
5295
- label: __56("Start", "elementor"),
5296
- renderContent: ({ size }) => /* @__PURE__ */ React79.createElement(AlignStartIcon, { fontSize: size }),
5377
+ label: __57("Start", "elementor"),
5378
+ renderContent: ({ size }) => /* @__PURE__ */ React80.createElement(AlignStartIcon, { fontSize: size }),
5297
5379
  showTooltip: true
5298
5380
  },
5299
5381
  {
5300
5382
  value: "center",
5301
- label: __56("Center", "elementor"),
5302
- renderContent: ({ size }) => /* @__PURE__ */ React79.createElement(AlignCenterIcon, { fontSize: size }),
5383
+ label: __57("Center", "elementor"),
5384
+ renderContent: ({ size }) => /* @__PURE__ */ React80.createElement(AlignCenterIcon, { fontSize: size }),
5303
5385
  showTooltip: true
5304
5386
  },
5305
5387
  {
5306
5388
  value: "end",
5307
- label: __56("End", "elementor"),
5308
- renderContent: ({ size }) => /* @__PURE__ */ React79.createElement(AlignEndIcon, { fontSize: size }),
5389
+ label: __57("End", "elementor"),
5390
+ renderContent: ({ size }) => /* @__PURE__ */ React80.createElement(AlignEndIcon, { fontSize: size }),
5309
5391
  showTooltip: true
5310
5392
  },
5311
5393
  {
5312
5394
  value: "justify",
5313
- label: __56("Justify", "elementor"),
5314
- renderContent: ({ size }) => /* @__PURE__ */ React79.createElement(AlignJustifiedIcon, { fontSize: size }),
5395
+ label: __57("Justify", "elementor"),
5396
+ renderContent: ({ size }) => /* @__PURE__ */ React80.createElement(AlignJustifiedIcon, { fontSize: size }),
5315
5397
  showTooltip: true
5316
5398
  }
5317
5399
  ];
5318
5400
  var TextAlignmentField = () => {
5319
- return /* @__PURE__ */ React79.createElement(StylesField, { bind: "text-align", propDisplayName: TEXT_ALIGNMENT_LABEL }, /* @__PURE__ */ React79.createElement(UiProviders, null, /* @__PURE__ */ React79.createElement(StylesFieldLayout, { label: TEXT_ALIGNMENT_LABEL }, /* @__PURE__ */ React79.createElement(ToggleControl13, { options: options9 }))));
5401
+ return /* @__PURE__ */ React80.createElement(StylesField, { bind: "text-align", propDisplayName: TEXT_ALIGNMENT_LABEL }, /* @__PURE__ */ React80.createElement(UiProviders, null, /* @__PURE__ */ React80.createElement(StylesFieldLayout, { label: TEXT_ALIGNMENT_LABEL }, /* @__PURE__ */ React80.createElement(ToggleControl13, { options: options9 }))));
5320
5402
  };
5321
5403
 
5322
5404
  // src/components/style-sections/typography-section/text-color-field.tsx
5323
- import * as React80 from "react";
5405
+ import * as React81 from "react";
5324
5406
  import { ColorControl as ColorControl2 } from "@elementor/editor-controls";
5325
- import { __ as __57 } from "@wordpress/i18n";
5326
- var TEXT_COLOR_LABEL = __57("Text color", "elementor");
5407
+ import { __ as __58 } from "@wordpress/i18n";
5408
+ var TEXT_COLOR_LABEL = __58("Text color", "elementor");
5327
5409
  var TextColorField = () => {
5328
- return /* @__PURE__ */ React80.createElement(StylesField, { bind: "color", propDisplayName: TEXT_COLOR_LABEL }, /* @__PURE__ */ React80.createElement(StylesFieldLayout, { label: TEXT_COLOR_LABEL }, /* @__PURE__ */ React80.createElement(ColorControl2, { id: "text-color-control" })));
5410
+ return /* @__PURE__ */ React81.createElement(StylesField, { bind: "color", propDisplayName: TEXT_COLOR_LABEL }, /* @__PURE__ */ React81.createElement(StylesFieldLayout, { label: TEXT_COLOR_LABEL }, /* @__PURE__ */ React81.createElement(ColorControl2, { id: "text-color-control" })));
5329
5411
  };
5330
5412
 
5331
5413
  // src/components/style-sections/typography-section/text-decoration-field.tsx
5332
- import * as React81 from "react";
5414
+ import * as React82 from "react";
5333
5415
  import { ToggleControl as ToggleControl14 } from "@elementor/editor-controls";
5334
5416
  import { MinusIcon as MinusIcon2, OverlineIcon, StrikethroughIcon, UnderlineIcon } from "@elementor/icons";
5335
- import { __ as __58 } from "@wordpress/i18n";
5336
- var TEXT_DECORATION_LABEL = __58("Line decoration", "elementor");
5417
+ import { __ as __59 } from "@wordpress/i18n";
5418
+ var TEXT_DECORATION_LABEL = __59("Line decoration", "elementor");
5337
5419
  var options10 = [
5338
5420
  {
5339
5421
  value: "none",
5340
- label: __58("None", "elementor"),
5341
- renderContent: ({ size }) => /* @__PURE__ */ React81.createElement(MinusIcon2, { fontSize: size }),
5422
+ label: __59("None", "elementor"),
5423
+ renderContent: ({ size }) => /* @__PURE__ */ React82.createElement(MinusIcon2, { fontSize: size }),
5342
5424
  showTooltip: true,
5343
5425
  exclusive: true
5344
5426
  },
5345
5427
  {
5346
5428
  value: "underline",
5347
- label: __58("Underline", "elementor"),
5348
- renderContent: ({ size }) => /* @__PURE__ */ React81.createElement(UnderlineIcon, { fontSize: size }),
5429
+ label: __59("Underline", "elementor"),
5430
+ renderContent: ({ size }) => /* @__PURE__ */ React82.createElement(UnderlineIcon, { fontSize: size }),
5349
5431
  showTooltip: true
5350
5432
  },
5351
5433
  {
5352
5434
  value: "line-through",
5353
- label: __58("Line-through", "elementor"),
5354
- renderContent: ({ size }) => /* @__PURE__ */ React81.createElement(StrikethroughIcon, { fontSize: size }),
5435
+ label: __59("Line-through", "elementor"),
5436
+ renderContent: ({ size }) => /* @__PURE__ */ React82.createElement(StrikethroughIcon, { fontSize: size }),
5355
5437
  showTooltip: true
5356
5438
  },
5357
5439
  {
5358
5440
  value: "overline",
5359
- label: __58("Overline", "elementor"),
5360
- renderContent: ({ size }) => /* @__PURE__ */ React81.createElement(OverlineIcon, { fontSize: size }),
5441
+ label: __59("Overline", "elementor"),
5442
+ renderContent: ({ size }) => /* @__PURE__ */ React82.createElement(OverlineIcon, { fontSize: size }),
5361
5443
  showTooltip: true
5362
5444
  }
5363
5445
  ];
5364
- var TextDecorationField = () => /* @__PURE__ */ React81.createElement(StylesField, { bind: "text-decoration", propDisplayName: TEXT_DECORATION_LABEL }, /* @__PURE__ */ React81.createElement(StylesFieldLayout, { label: TEXT_DECORATION_LABEL }, /* @__PURE__ */ React81.createElement(ToggleControl14, { options: options10, exclusive: false })));
5446
+ var TextDecorationField = () => /* @__PURE__ */ React82.createElement(StylesField, { bind: "text-decoration", propDisplayName: TEXT_DECORATION_LABEL }, /* @__PURE__ */ React82.createElement(StylesFieldLayout, { label: TEXT_DECORATION_LABEL }, /* @__PURE__ */ React82.createElement(ToggleControl14, { options: options10, exclusive: false })));
5365
5447
 
5366
5448
  // src/components/style-sections/typography-section/text-direction-field.tsx
5367
- import * as React82 from "react";
5449
+ import * as React83 from "react";
5368
5450
  import { ToggleControl as ToggleControl15 } from "@elementor/editor-controls";
5369
5451
  import { TextDirectionLtrIcon, TextDirectionRtlIcon } from "@elementor/icons";
5370
- import { __ as __59 } from "@wordpress/i18n";
5371
- var TEXT_DIRECTION_LABEL = __59("Direction", "elementor");
5452
+ import { __ as __60 } from "@wordpress/i18n";
5453
+ var TEXT_DIRECTION_LABEL = __60("Direction", "elementor");
5372
5454
  var options11 = [
5373
5455
  {
5374
5456
  value: "ltr",
5375
- label: __59("Left to right", "elementor"),
5376
- renderContent: ({ size }) => /* @__PURE__ */ React82.createElement(TextDirectionLtrIcon, { fontSize: size }),
5457
+ label: __60("Left to right", "elementor"),
5458
+ renderContent: ({ size }) => /* @__PURE__ */ React83.createElement(TextDirectionLtrIcon, { fontSize: size }),
5377
5459
  showTooltip: true
5378
5460
  },
5379
5461
  {
5380
5462
  value: "rtl",
5381
- label: __59("Right to left", "elementor"),
5382
- renderContent: ({ size }) => /* @__PURE__ */ React82.createElement(TextDirectionRtlIcon, { fontSize: size }),
5463
+ label: __60("Right to left", "elementor"),
5464
+ renderContent: ({ size }) => /* @__PURE__ */ React83.createElement(TextDirectionRtlIcon, { fontSize: size }),
5383
5465
  showTooltip: true
5384
5466
  }
5385
5467
  ];
5386
5468
  var TextDirectionField = () => {
5387
- return /* @__PURE__ */ React82.createElement(StylesField, { bind: "direction", propDisplayName: TEXT_DIRECTION_LABEL }, /* @__PURE__ */ React82.createElement(StylesFieldLayout, { label: TEXT_DIRECTION_LABEL }, /* @__PURE__ */ React82.createElement(ToggleControl15, { options: options11 })));
5469
+ return /* @__PURE__ */ React83.createElement(StylesField, { bind: "direction", propDisplayName: TEXT_DIRECTION_LABEL }, /* @__PURE__ */ React83.createElement(StylesFieldLayout, { label: TEXT_DIRECTION_LABEL }, /* @__PURE__ */ React83.createElement(ToggleControl15, { options: options11 })));
5388
5470
  };
5389
5471
 
5390
5472
  // src/components/style-sections/typography-section/text-stroke-field.tsx
5391
- import * as React84 from "react";
5473
+ import * as React85 from "react";
5392
5474
  import { StrokeControl } from "@elementor/editor-controls";
5393
- import { __ as __60 } from "@wordpress/i18n";
5475
+ import { __ as __61 } from "@wordpress/i18n";
5394
5476
 
5395
5477
  // src/components/add-or-remove-content.tsx
5396
- import * as React83 from "react";
5478
+ import * as React84 from "react";
5397
5479
  import { MinusIcon as MinusIcon3, PlusIcon } from "@elementor/icons";
5398
5480
  import { Collapse as Collapse2, IconButton, Stack as Stack12 } from "@elementor/ui";
5399
5481
  var SIZE = "tiny";
@@ -5405,7 +5487,7 @@ var AddOrRemoveContent = ({
5405
5487
  disabled,
5406
5488
  renderLabel
5407
5489
  }) => {
5408
- return /* @__PURE__ */ React83.createElement(SectionContent, null, /* @__PURE__ */ React83.createElement(
5490
+ return /* @__PURE__ */ React84.createElement(SectionContent, null, /* @__PURE__ */ React84.createElement(
5409
5491
  Stack12,
5410
5492
  {
5411
5493
  direction: "row",
@@ -5416,8 +5498,8 @@ var AddOrRemoveContent = ({
5416
5498
  }
5417
5499
  },
5418
5500
  renderLabel(),
5419
- isAdded ? /* @__PURE__ */ React83.createElement(IconButton, { size: SIZE, onClick: onRemove, "aria-label": "Remove", disabled }, /* @__PURE__ */ React83.createElement(MinusIcon3, { fontSize: SIZE })) : /* @__PURE__ */ React83.createElement(IconButton, { size: SIZE, onClick: onAdd, "aria-label": "Add", disabled }, /* @__PURE__ */ React83.createElement(PlusIcon, { fontSize: SIZE }))
5420
- ), /* @__PURE__ */ React83.createElement(Collapse2, { in: isAdded, unmountOnExit: true }, /* @__PURE__ */ React83.createElement(SectionContent, null, children)));
5501
+ isAdded ? /* @__PURE__ */ React84.createElement(IconButton, { size: SIZE, onClick: onRemove, "aria-label": "Remove", disabled }, /* @__PURE__ */ React84.createElement(MinusIcon3, { fontSize: SIZE })) : /* @__PURE__ */ React84.createElement(IconButton, { size: SIZE, onClick: onAdd, "aria-label": "Add", disabled }, /* @__PURE__ */ React84.createElement(PlusIcon, { fontSize: SIZE }))
5502
+ ), /* @__PURE__ */ React84.createElement(Collapse2, { in: isAdded, unmountOnExit: true }, /* @__PURE__ */ React84.createElement(SectionContent, null, children)));
5421
5503
  };
5422
5504
 
5423
5505
  // src/components/style-sections/typography-section/text-stroke-field.tsx
@@ -5437,7 +5519,7 @@ var initTextStroke = {
5437
5519
  }
5438
5520
  }
5439
5521
  };
5440
- var TEXT_STROKE_LABEL = __60("Text stroke", "elementor");
5522
+ var TEXT_STROKE_LABEL = __61("Text stroke", "elementor");
5441
5523
  var TextStrokeField = () => {
5442
5524
  const { value, setValue, canEdit } = useStylesField("stroke", {
5443
5525
  history: { propDisplayName: TEXT_STROKE_LABEL }
@@ -5449,67 +5531,67 @@ var TextStrokeField = () => {
5449
5531
  setValue(null);
5450
5532
  };
5451
5533
  const hasTextStroke = Boolean(value);
5452
- return /* @__PURE__ */ React84.createElement(StylesField, { bind: "stroke", propDisplayName: TEXT_STROKE_LABEL }, /* @__PURE__ */ React84.createElement(
5534
+ return /* @__PURE__ */ React85.createElement(StylesField, { bind: "stroke", propDisplayName: TEXT_STROKE_LABEL }, /* @__PURE__ */ React85.createElement(
5453
5535
  AddOrRemoveContent,
5454
5536
  {
5455
5537
  isAdded: hasTextStroke,
5456
5538
  onAdd: addTextStroke,
5457
5539
  onRemove: removeTextStroke,
5458
5540
  disabled: !canEdit,
5459
- renderLabel: () => /* @__PURE__ */ React84.createElement(ControlLabel, null, TEXT_STROKE_LABEL)
5541
+ renderLabel: () => /* @__PURE__ */ React85.createElement(ControlLabel, null, TEXT_STROKE_LABEL)
5460
5542
  },
5461
- /* @__PURE__ */ React84.createElement(StrokeControl, null)
5543
+ /* @__PURE__ */ React85.createElement(StrokeControl, null)
5462
5544
  ));
5463
5545
  };
5464
5546
 
5465
5547
  // src/components/style-sections/typography-section/transform-field.tsx
5466
- import * as React85 from "react";
5548
+ import * as React86 from "react";
5467
5549
  import { ToggleControl as ToggleControl16 } from "@elementor/editor-controls";
5468
5550
  import { LetterCaseIcon, LetterCaseLowerIcon, LetterCaseUpperIcon, MinusIcon as MinusIcon4 } from "@elementor/icons";
5469
- import { __ as __61 } from "@wordpress/i18n";
5470
- var TEXT_TRANSFORM_LABEL = __61("Text transform", "elementor");
5551
+ import { __ as __62 } from "@wordpress/i18n";
5552
+ var TEXT_TRANSFORM_LABEL = __62("Text transform", "elementor");
5471
5553
  var options12 = [
5472
5554
  {
5473
5555
  value: "none",
5474
- label: __61("None", "elementor"),
5475
- renderContent: ({ size }) => /* @__PURE__ */ React85.createElement(MinusIcon4, { fontSize: size }),
5556
+ label: __62("None", "elementor"),
5557
+ renderContent: ({ size }) => /* @__PURE__ */ React86.createElement(MinusIcon4, { fontSize: size }),
5476
5558
  showTooltip: true
5477
5559
  },
5478
5560
  {
5479
5561
  value: "capitalize",
5480
- label: __61("Capitalize", "elementor"),
5481
- renderContent: ({ size }) => /* @__PURE__ */ React85.createElement(LetterCaseIcon, { fontSize: size }),
5562
+ label: __62("Capitalize", "elementor"),
5563
+ renderContent: ({ size }) => /* @__PURE__ */ React86.createElement(LetterCaseIcon, { fontSize: size }),
5482
5564
  showTooltip: true
5483
5565
  },
5484
5566
  {
5485
5567
  value: "uppercase",
5486
- label: __61("Uppercase", "elementor"),
5487
- renderContent: ({ size }) => /* @__PURE__ */ React85.createElement(LetterCaseUpperIcon, { fontSize: size }),
5568
+ label: __62("Uppercase", "elementor"),
5569
+ renderContent: ({ size }) => /* @__PURE__ */ React86.createElement(LetterCaseUpperIcon, { fontSize: size }),
5488
5570
  showTooltip: true
5489
5571
  },
5490
5572
  {
5491
5573
  value: "lowercase",
5492
- label: __61("Lowercase", "elementor"),
5493
- renderContent: ({ size }) => /* @__PURE__ */ React85.createElement(LetterCaseLowerIcon, { fontSize: size }),
5574
+ label: __62("Lowercase", "elementor"),
5575
+ renderContent: ({ size }) => /* @__PURE__ */ React86.createElement(LetterCaseLowerIcon, { fontSize: size }),
5494
5576
  showTooltip: true
5495
5577
  }
5496
5578
  ];
5497
- var TransformField = () => /* @__PURE__ */ React85.createElement(StylesField, { bind: "text-transform", propDisplayName: TEXT_TRANSFORM_LABEL }, /* @__PURE__ */ React85.createElement(StylesFieldLayout, { label: TEXT_TRANSFORM_LABEL }, /* @__PURE__ */ React85.createElement(ToggleControl16, { options: options12 })));
5579
+ var TransformField = () => /* @__PURE__ */ React86.createElement(StylesField, { bind: "text-transform", propDisplayName: TEXT_TRANSFORM_LABEL }, /* @__PURE__ */ React86.createElement(StylesFieldLayout, { label: TEXT_TRANSFORM_LABEL }, /* @__PURE__ */ React86.createElement(ToggleControl16, { options: options12 })));
5498
5580
 
5499
5581
  // src/components/style-sections/typography-section/word-spacing-field.tsx
5500
- import * as React86 from "react";
5582
+ import * as React87 from "react";
5501
5583
  import { useRef as useRef18 } from "react";
5502
5584
  import { SizeControl as SizeControl12 } from "@elementor/editor-controls";
5503
- import { __ as __62 } from "@wordpress/i18n";
5504
- var WORD_SPACING_LABEL = __62("Word spacing", "elementor");
5585
+ import { __ as __63 } from "@wordpress/i18n";
5586
+ var WORD_SPACING_LABEL = __63("Word spacing", "elementor");
5505
5587
  var WordSpacingField = () => {
5506
5588
  const rowRef = useRef18(null);
5507
- return /* @__PURE__ */ React86.createElement(StylesField, { bind: "word-spacing", propDisplayName: WORD_SPACING_LABEL }, /* @__PURE__ */ React86.createElement(StylesFieldLayout, { label: WORD_SPACING_LABEL, ref: rowRef }, /* @__PURE__ */ React86.createElement(SizeControl12, { anchorRef: rowRef, min: -Number.MAX_SAFE_INTEGER })));
5589
+ return /* @__PURE__ */ React87.createElement(StylesField, { bind: "word-spacing", propDisplayName: WORD_SPACING_LABEL }, /* @__PURE__ */ React87.createElement(StylesFieldLayout, { label: WORD_SPACING_LABEL, ref: rowRef }, /* @__PURE__ */ React87.createElement(SizeControl12, { anchorRef: rowRef, min: -Number.MAX_SAFE_INTEGER })));
5508
5590
  };
5509
5591
 
5510
5592
  // src/components/style-sections/typography-section/typography-section.tsx
5511
5593
  var TypographySection = () => {
5512
- return /* @__PURE__ */ React87.createElement(SectionContent, null, /* @__PURE__ */ React87.createElement(FontFamilyField, null), /* @__PURE__ */ React87.createElement(FontWeightField, null), /* @__PURE__ */ React87.createElement(FontSizeField, null), /* @__PURE__ */ React87.createElement(PanelDivider, null), /* @__PURE__ */ React87.createElement(TextAlignmentField, null), /* @__PURE__ */ React87.createElement(TextColorField, null), /* @__PURE__ */ React87.createElement(
5594
+ return /* @__PURE__ */ React88.createElement(SectionContent, null, /* @__PURE__ */ React88.createElement(FontFamilyField, null), /* @__PURE__ */ React88.createElement(FontWeightField, null), /* @__PURE__ */ React88.createElement(FontSizeField, null), /* @__PURE__ */ React88.createElement(PanelDivider, null), /* @__PURE__ */ React88.createElement(TextAlignmentField, null), /* @__PURE__ */ React88.createElement(TextColorField, null), /* @__PURE__ */ React88.createElement(
5513
5595
  StyleTabCollapsibleContent,
5514
5596
  {
5515
5597
  fields: [
@@ -5524,7 +5606,7 @@ var TypographySection = () => {
5524
5606
  "stroke"
5525
5607
  ]
5526
5608
  },
5527
- /* @__PURE__ */ React87.createElement(SectionContent, { sx: { pt: 2 } }, /* @__PURE__ */ React87.createElement(LineHeightField, null), /* @__PURE__ */ React87.createElement(LetterSpacingField, null), /* @__PURE__ */ React87.createElement(WordSpacingField, null), /* @__PURE__ */ React87.createElement(ColumnCountField, null), /* @__PURE__ */ React87.createElement(ColumnGapField, null), /* @__PURE__ */ React87.createElement(PanelDivider, null), /* @__PURE__ */ React87.createElement(TextDecorationField, null), /* @__PURE__ */ React87.createElement(TransformField, null), /* @__PURE__ */ React87.createElement(TextDirectionField, null), /* @__PURE__ */ React87.createElement(FontStyleField, null), /* @__PURE__ */ React87.createElement(TextStrokeField, null))
5609
+ /* @__PURE__ */ React88.createElement(SectionContent, { sx: { pt: 2 } }, /* @__PURE__ */ React88.createElement(LineHeightField, null), /* @__PURE__ */ React88.createElement(LetterSpacingField, null), /* @__PURE__ */ React88.createElement(WordSpacingField, null), /* @__PURE__ */ React88.createElement(ColumnCountField, null), /* @__PURE__ */ React88.createElement(ColumnGapField, null), /* @__PURE__ */ React88.createElement(PanelDivider, null), /* @__PURE__ */ React88.createElement(TextDecorationField, null), /* @__PURE__ */ React88.createElement(TransformField, null), /* @__PURE__ */ React88.createElement(TextDirectionField, null), /* @__PURE__ */ React88.createElement(FontStyleField, null), /* @__PURE__ */ React88.createElement(TextStrokeField, null))
5528
5610
  ));
5529
5611
  };
5530
5612
 
@@ -5532,7 +5614,7 @@ var TypographySection = () => {
5532
5614
  var STYLE_SECTIONS = [
5533
5615
  {
5534
5616
  name: "Layout",
5535
- title: __63("Layout", "elementor"),
5617
+ title: __64("Layout", "elementor"),
5536
5618
  component: LayoutSection,
5537
5619
  fields: [
5538
5620
  "display",
@@ -5552,13 +5634,13 @@ var STYLE_SECTIONS = [
5552
5634
  },
5553
5635
  {
5554
5636
  name: "Spacing",
5555
- title: __63("Spacing", "elementor"),
5637
+ title: __64("Spacing", "elementor"),
5556
5638
  component: SpacingSection,
5557
5639
  fields: ["margin", "padding"]
5558
5640
  },
5559
5641
  {
5560
5642
  name: "Size",
5561
- title: __63("Size", "elementor"),
5643
+ title: __64("Size", "elementor"),
5562
5644
  component: SizeSection,
5563
5645
  fields: [
5564
5646
  "width",
@@ -5574,13 +5656,13 @@ var STYLE_SECTIONS = [
5574
5656
  },
5575
5657
  {
5576
5658
  name: "Position",
5577
- title: __63("Position", "elementor"),
5659
+ title: __64("Position", "elementor"),
5578
5660
  component: PositionSection,
5579
5661
  fields: ["position", "z-index", "scroll-margin-top"]
5580
5662
  },
5581
5663
  {
5582
5664
  name: "Typography",
5583
- title: __63("Typography", "elementor"),
5665
+ title: __64("Typography", "elementor"),
5584
5666
  component: TypographySection,
5585
5667
  fields: [
5586
5668
  "font-family",
@@ -5601,19 +5683,19 @@ var STYLE_SECTIONS = [
5601
5683
  },
5602
5684
  {
5603
5685
  name: "Background",
5604
- title: __63("Background", "elementor"),
5686
+ title: __64("Background", "elementor"),
5605
5687
  component: BackgroundSection,
5606
5688
  fields: ["background"]
5607
5689
  },
5608
5690
  {
5609
5691
  name: "Border",
5610
- title: __63("Border", "elementor"),
5692
+ title: __64("Border", "elementor"),
5611
5693
  component: BorderSection,
5612
5694
  fields: ["border-radius", "border-width", "border-color", "border-style"]
5613
5695
  },
5614
5696
  {
5615
5697
  name: "Effects",
5616
- title: __63("Effects", "elementor"),
5698
+ title: __64("Effects", "elementor"),
5617
5699
  component: EffectsSection,
5618
5700
  fields: [
5619
5701
  "mix-blend-mode",
@@ -5630,13 +5712,13 @@ var STYLE_SECTIONS = [
5630
5712
  var STYLE_SECTION_NAMES = STYLE_SECTIONS.map((section) => section.name);
5631
5713
 
5632
5714
  // src/components/style-tab-section.tsx
5633
- import * as React88 from "react";
5715
+ import * as React89 from "react";
5634
5716
  var StyleTabSection = ({ section, fields = [], unmountOnExit = true }) => {
5635
5717
  const { component, name, title, action } = section;
5636
5718
  const tabDefaults = useDefaultPanelSettings();
5637
- const SectionComponent = component || (() => /* @__PURE__ */ React88.createElement(React88.Fragment, null));
5719
+ const SectionComponent = component || (() => /* @__PURE__ */ React89.createElement(React89.Fragment, null));
5638
5720
  const isExpanded = tabDefaults.defaultSectionsExpanded.style?.includes(name);
5639
- return /* @__PURE__ */ React88.createElement(
5721
+ return /* @__PURE__ */ React89.createElement(
5640
5722
  Section,
5641
5723
  {
5642
5724
  title,
@@ -5645,13 +5727,13 @@ var StyleTabSection = ({ section, fields = [], unmountOnExit = true }) => {
5645
5727
  unmountOnExit,
5646
5728
  action
5647
5729
  },
5648
- /* @__PURE__ */ React88.createElement(SectionComponent, null)
5730
+ /* @__PURE__ */ React89.createElement(SectionComponent, null)
5649
5731
  );
5650
5732
  };
5651
5733
 
5652
5734
  // src/components/style-sections.tsx
5653
5735
  var StyleSections = () => {
5654
- return /* @__PURE__ */ React89.createElement(React89.Fragment, null, STYLE_SECTIONS.map((section) => /* @__PURE__ */ React89.createElement(
5736
+ return /* @__PURE__ */ React90.createElement(React90.Fragment, null, STYLE_SECTIONS.map((section) => /* @__PURE__ */ React90.createElement(
5655
5737
  StyleTabSection,
5656
5738
  {
5657
5739
  key: section.name,
@@ -5678,12 +5760,12 @@ var stickyHeaderStyles = {
5678
5760
  var StyleTab = () => {
5679
5761
  const currentClassesProp = useCurrentClassesProp();
5680
5762
  const [activeStyleDefId, setActiveStyleDefId] = useActiveStyleDefId(currentClassesProp ?? "");
5681
- const [activeStyleState, setActiveStyleState] = useState9(null);
5682
- const breakpoint = useActiveBreakpoint();
5763
+ const [activeStyleState, setActiveStyleState] = useState10(null);
5764
+ const breakpoint = useActiveBreakpoint2();
5683
5765
  if (!currentClassesProp) {
5684
5766
  return null;
5685
5767
  }
5686
- return /* @__PURE__ */ React90.createElement(ClassesPropProvider, { prop: currentClassesProp }, /* @__PURE__ */ React90.createElement(
5768
+ return /* @__PURE__ */ React91.createElement(ClassesPropProvider, { prop: currentClassesProp }, /* @__PURE__ */ React91.createElement(
5687
5769
  StyleProvider,
5688
5770
  {
5689
5771
  meta: { breakpoint, state: activeStyleState },
@@ -5694,12 +5776,12 @@ var StyleTab = () => {
5694
5776
  },
5695
5777
  setMetaState: setActiveStyleState
5696
5778
  },
5697
- /* @__PURE__ */ React90.createElement(SessionStorageProvider2, { prefix: activeStyleDefId ?? "" }, /* @__PURE__ */ React90.createElement(StyleInheritanceProvider, null, /* @__PURE__ */ React90.createElement(ClassesHeader, null, /* @__PURE__ */ React90.createElement(CssClassSelector, null), /* @__PURE__ */ React90.createElement(Divider5, null)), /* @__PURE__ */ React90.createElement(SectionsList, null, /* @__PURE__ */ React90.createElement(StyleSections, null), /* @__PURE__ */ React90.createElement(StyleTabSlot, null)), /* @__PURE__ */ React90.createElement(Box7, { sx: { height: "150px" } })))
5779
+ /* @__PURE__ */ React91.createElement(SessionStorageProvider2, { prefix: activeStyleDefId ?? "" }, /* @__PURE__ */ React91.createElement(StyleInheritanceProvider, null, /* @__PURE__ */ React91.createElement(ClassesHeader, null, /* @__PURE__ */ React91.createElement(CssClassSelector, null), /* @__PURE__ */ React91.createElement(Divider5, null)), /* @__PURE__ */ React91.createElement(SectionsList, null, /* @__PURE__ */ React91.createElement(StyleSections, null), /* @__PURE__ */ React91.createElement(StyleTabSlot, null)), /* @__PURE__ */ React91.createElement(Box8, { sx: { height: "150px" } })))
5698
5780
  ));
5699
5781
  };
5700
5782
  function ClassesHeader({ children }) {
5701
5783
  const scrollDirection = useScrollDirection();
5702
- return /* @__PURE__ */ React90.createElement(
5784
+ return /* @__PURE__ */ React91.createElement(
5703
5785
  Stack13,
5704
5786
  {
5705
5787
  sx: {
@@ -5722,12 +5804,14 @@ function useCurrentClassesProp() {
5722
5804
  }
5723
5805
 
5724
5806
  // src/components/editing-panel-tabs.tsx
5807
+ var CONTENT_ONLY_TAB = "settings";
5808
+ var DESIGN_TABS = ["style", "interactions"];
5725
5809
  var EditingPanelTabs = () => {
5726
5810
  const { element } = useElement();
5727
5811
  return (
5728
5812
  // When switching between elements, the local states should be reset. We are using key to rerender the tabs.
5729
5813
  // Reference: https://react.dev/learn/preserving-and-resetting-state#resetting-a-form-with-a-key
5730
- /* @__PURE__ */ React91.createElement(Fragment10, { key: element.id }, /* @__PURE__ */ React91.createElement(PanelTabContent, null))
5814
+ /* @__PURE__ */ React92.createElement(Fragment10, { key: element.id }, /* @__PURE__ */ React92.createElement(PanelTabContent, null))
5731
5815
  );
5732
5816
  };
5733
5817
  var PanelTabContent = () => {
@@ -5735,10 +5819,18 @@ var PanelTabContent = () => {
5735
5819
  const editorDefaults = useDefaultPanelSettings();
5736
5820
  const defaultComponentTab = editorDefaults.defaultTab;
5737
5821
  const isPromotedElement = !!getWidgetsCache2()?.[element.type]?.meta?.is_pro_promotion;
5822
+ const hasContentOnlyAccess = useHasContentOnlyAccess();
5823
+ const areDesignTabsRestricted = hasContentOnlyAccess && !isPromotedElement;
5738
5824
  const [storedTab, setCurrentTab] = useStateByElement("tab", defaultComponentTab);
5739
- const currentTab = isPromotedElement && storedTab === "settings" ? "style" : storedTab;
5825
+ const currentTab = resolveCurrentTab({ storedTab, isPromotedElement, areDesignTabsRestricted });
5740
5826
  const { getTabProps, getTabPanelProps, getTabsProps } = useTabs(currentTab);
5741
- return /* @__PURE__ */ React91.createElement(ScrollProvider, null, /* @__PURE__ */ React91.createElement(Stack14, { direction: "column", sx: { width: "100%" } }, /* @__PURE__ */ React91.createElement(Stack14, { sx: { ...stickyHeaderStyles, top: 0 } }, /* @__PURE__ */ React91.createElement(
5827
+ const getDesignTabProps = (tab) => ({
5828
+ ...getTabProps(tab),
5829
+ disabled: areDesignTabsRestricted,
5830
+ sx: areDesignTabsRestricted ? { pointerEvents: "auto" } : void 0
5831
+ });
5832
+ const withRestrictionInfotip = (label) => areDesignTabsRestricted ? /* @__PURE__ */ React92.createElement(ContentOnlyInfotip, null, label) : label;
5833
+ return /* @__PURE__ */ React92.createElement(ScrollProvider, null, /* @__PURE__ */ React92.createElement(Stack14, { direction: "column", sx: { width: "100%" } }, /* @__PURE__ */ React92.createElement(Stack14, { sx: { ...stickyHeaderStyles, top: 0 } }, /* @__PURE__ */ React92.createElement(
5742
5834
  Tabs,
5743
5835
  {
5744
5836
  variant: "fullWidth",
@@ -5746,14 +5838,42 @@ var PanelTabContent = () => {
5746
5838
  sx: { mt: 0.5 },
5747
5839
  ...getTabsProps(),
5748
5840
  onChange: (_, newValue) => {
5841
+ if (areDesignTabsRestricted && DESIGN_TABS.includes(newValue)) {
5842
+ return;
5843
+ }
5749
5844
  getTabsProps().onChange(_, newValue);
5750
5845
  setCurrentTab(newValue);
5751
5846
  }
5752
5847
  },
5753
- !isPromotedElement && /* @__PURE__ */ React91.createElement(Tab, { label: __64("General", "elementor"), ...getTabProps("settings") }),
5754
- /* @__PURE__ */ React91.createElement(Tab, { label: __64("Style", "elementor"), ...getTabProps("style") }),
5755
- /* @__PURE__ */ React91.createElement(Tab, { label: __64("Interactions", "elementor"), ...getTabProps("interactions") })
5756
- ), /* @__PURE__ */ React91.createElement(Divider6, null)), !isPromotedElement && /* @__PURE__ */ React91.createElement(TabPanel, { ...getTabPanelProps("settings"), disablePadding: true }, /* @__PURE__ */ React91.createElement(SettingsTab, null)), /* @__PURE__ */ React91.createElement(TabPanel, { ...getTabPanelProps("style"), disablePadding: true }, /* @__PURE__ */ React91.createElement(StyleTab, null)), /* @__PURE__ */ React91.createElement(TabPanel, { ...getTabPanelProps("interactions"), disablePadding: true }, /* @__PURE__ */ React91.createElement(InteractionsTab, null))));
5848
+ !isPromotedElement && /* @__PURE__ */ React92.createElement(Tab, { label: __65("General", "elementor"), ...getTabProps("settings") }),
5849
+ /* @__PURE__ */ React92.createElement(
5850
+ Tab,
5851
+ {
5852
+ label: withRestrictionInfotip(__65("Style", "elementor")),
5853
+ ...getDesignTabProps("style")
5854
+ }
5855
+ ),
5856
+ /* @__PURE__ */ React92.createElement(
5857
+ Tab,
5858
+ {
5859
+ label: withRestrictionInfotip(__65("Interactions", "elementor")),
5860
+ ...getDesignTabProps("interactions")
5861
+ }
5862
+ )
5863
+ ), /* @__PURE__ */ React92.createElement(Divider6, null)), !isPromotedElement && /* @__PURE__ */ React92.createElement(TabPanel, { ...getTabPanelProps("settings"), disablePadding: true }, /* @__PURE__ */ React92.createElement(SettingsTab, null)), !areDesignTabsRestricted && /* @__PURE__ */ React92.createElement(React92.Fragment, null, /* @__PURE__ */ React92.createElement(TabPanel, { ...getTabPanelProps("style"), disablePadding: true }, /* @__PURE__ */ React92.createElement(StyleTab, null)), /* @__PURE__ */ React92.createElement(TabPanel, { ...getTabPanelProps("interactions"), disablePadding: true }, /* @__PURE__ */ React92.createElement(InteractionsTab, null)))));
5864
+ };
5865
+ var resolveCurrentTab = ({
5866
+ storedTab,
5867
+ isPromotedElement,
5868
+ areDesignTabsRestricted
5869
+ }) => {
5870
+ if (areDesignTabsRestricted && DESIGN_TABS.includes(storedTab)) {
5871
+ return CONTENT_ONLY_TAB;
5872
+ }
5873
+ if (isPromotedElement && storedTab === "settings") {
5874
+ return "style";
5875
+ }
5876
+ return storedTab;
5757
5877
  };
5758
5878
 
5759
5879
  // src/components/editing-panel.tsx
@@ -5766,22 +5886,22 @@ var EditingPanel = () => {
5766
5886
  if (!element || !elementType) {
5767
5887
  return null;
5768
5888
  }
5769
- const panelTitle = __65("Edit %s", "elementor").replace("%s", elementType.title);
5889
+ const panelTitle = __66("Edit %s", "elementor").replace("%s", elementType.title);
5770
5890
  const { component: ReplacementComponent } = getEditingPanelReplacement(element, elementType) ?? {};
5771
- let panelContent = /* @__PURE__ */ React92.createElement(React92.Fragment, null, /* @__PURE__ */ React92.createElement(PanelHeader, null, /* @__PURE__ */ React92.createElement(PanelHeaderTitle, null, panelTitle), /* @__PURE__ */ React92.createElement(AtomIcon, { fontSize: "small", sx: { color: "text.tertiary" } })), /* @__PURE__ */ React92.createElement(PanelBody, { sx: { height: "auto", flex: 1, minHeight: 0 } }, /* @__PURE__ */ React92.createElement(EditingPanelTabs, null)), /* @__PURE__ */ React92.createElement(EditingPanelStickyPromotion, null));
5891
+ let panelContent = /* @__PURE__ */ React93.createElement(React93.Fragment, null, /* @__PURE__ */ React93.createElement(PanelHeader, null, /* @__PURE__ */ React93.createElement(PanelHeaderTitle, null, panelTitle), /* @__PURE__ */ React93.createElement(AtomIcon, { fontSize: "small", sx: { color: "text.tertiary" } })), /* @__PURE__ */ React93.createElement(PanelBody, { sx: { height: "auto", flex: 1, minHeight: 0 } }, /* @__PURE__ */ React93.createElement(EditingPanelTabs, null)), /* @__PURE__ */ React93.createElement(EditingPanelStickyPromotion, null));
5772
5892
  if (ReplacementComponent) {
5773
- panelContent = /* @__PURE__ */ React92.createElement(ReplacementComponent, null);
5893
+ panelContent = /* @__PURE__ */ React93.createElement(ReplacementComponent, null);
5774
5894
  }
5775
- return /* @__PURE__ */ React92.createElement(ErrorBoundary, { fallback: /* @__PURE__ */ React92.createElement(EditorPanelErrorFallback, null) }, /* @__PURE__ */ React92.createElement(SessionStorageProvider3, { prefix: "elementor" }, /* @__PURE__ */ React92.createElement(ThemeProvider3, null, /* @__PURE__ */ React92.createElement(ControlActionsProvider, { items: menuItems }, /* @__PURE__ */ React92.createElement(ControlReplacementsProvider, { replacements: controlReplacements }, /* @__PURE__ */ React92.createElement(ElementProvider, { element, elementType, settings }, /* @__PURE__ */ React92.createElement(Panel, null, /* @__PURE__ */ React92.createElement(PanelHeaderTopSlot, null), panelContent)))))));
5895
+ return /* @__PURE__ */ React93.createElement(ErrorBoundary, { fallback: /* @__PURE__ */ React93.createElement(EditorPanelErrorFallback, null) }, /* @__PURE__ */ React93.createElement(SessionStorageProvider3, { prefix: "elementor" }, /* @__PURE__ */ React93.createElement(ThemeProvider3, null, /* @__PURE__ */ React93.createElement(ControlActionsProvider, { items: menuItems }, /* @__PURE__ */ React93.createElement(ControlReplacementsProvider, { replacements: controlReplacements }, /* @__PURE__ */ React93.createElement(ElementProvider, { element, elementType, settings }, /* @__PURE__ */ React93.createElement(Panel, null, /* @__PURE__ */ React93.createElement(PanelHeaderTopSlot, null), panelContent)))))));
5776
5896
  };
5777
5897
 
5778
5898
  // src/components/style-states/pseudo-state-menu-items.tsx
5779
- import * as React93 from "react";
5899
+ import * as React94 from "react";
5780
5900
  import { MenuListItem as MenuListItem3 } from "@elementor/editor-ui";
5781
5901
  import { MenuSubheader as MenuSubheader3 } from "@elementor/ui";
5782
- import { __ as __66 } from "@wordpress/i18n";
5902
+ import { __ as __67 } from "@wordpress/i18n";
5783
5903
  function PseudoStateMenuItems({ states, activeState, onSelectState, onClose }) {
5784
- return /* @__PURE__ */ React93.createElement(React93.Fragment, null, /* @__PURE__ */ React93.createElement(
5904
+ return /* @__PURE__ */ React94.createElement(React94.Fragment, null, /* @__PURE__ */ React94.createElement(
5785
5905
  MenuSubheader3,
5786
5906
  {
5787
5907
  sx: {
@@ -5791,8 +5911,8 @@ function PseudoStateMenuItems({ states, activeState, onSelectState, onClose }) {
5791
5911
  pt: 1
5792
5912
  }
5793
5913
  },
5794
- __66("States", "elementor")
5795
- ), states.map((state) => /* @__PURE__ */ React93.createElement(
5914
+ __67("States", "elementor")
5915
+ ), states.map((state) => /* @__PURE__ */ React94.createElement(
5796
5916
  MenuListItem3,
5797
5917
  {
5798
5918
  key: state.key,
@@ -5856,21 +5976,21 @@ var EditingPanelHooks = () => {
5856
5976
  import { AttributesControl, DisplayConditionsControl } from "@elementor/editor-controls";
5857
5977
 
5858
5978
  // src/components/promotions/custom-css.tsx
5859
- import * as React94 from "react";
5979
+ import * as React95 from "react";
5860
5980
  import { useRef as useRef19 } from "react";
5861
5981
  import { PromotionTrigger } from "@elementor/editor-controls";
5862
- import { __ as __67 } from "@wordpress/i18n";
5982
+ import { __ as __68 } from "@wordpress/i18n";
5863
5983
  var TRACKING_DATA = { target_name: "custom_css", location_l2: "style" };
5864
5984
  var CustomCssSection = () => {
5865
5985
  const triggerRef = useRef19(null);
5866
- return /* @__PURE__ */ React94.createElement(
5986
+ return /* @__PURE__ */ React95.createElement(
5867
5987
  StyleTabSection,
5868
5988
  {
5869
5989
  section: {
5870
5990
  name: "Custom CSS",
5871
- title: __67("Custom CSS", "elementor"),
5991
+ title: __68("Custom CSS", "elementor"),
5872
5992
  action: {
5873
- component: /* @__PURE__ */ React94.createElement(PromotionTrigger, { ref: triggerRef, promotionKey: "customCss", trackingData: TRACKING_DATA }),
5993
+ component: /* @__PURE__ */ React95.createElement(PromotionTrigger, { ref: triggerRef, promotionKey: "customCss", trackingData: TRACKING_DATA }),
5874
5994
  onClick: () => triggerRef.current?.toggle()
5875
5995
  }
5876
5996
  }
@@ -5892,12 +6012,12 @@ var init = () => {
5892
6012
  };
5893
6013
 
5894
6014
  // src/controls-registry/element-controls/accordion-items-control/accordion-items-control.tsx
5895
- import * as React95 from "react";
6015
+ import * as React96 from "react";
5896
6016
  import { ControlFormLabel as ControlFormLabel3, Repeater } from "@elementor/editor-controls";
5897
6017
  import { updateElementEditorSettings as updateElementEditorSettings2, useElementChildren, useElementEditorSettings as useElementEditorSettings2 } from "@elementor/editor-elements";
5898
6018
  import { booleanPropTypeUtil as booleanPropTypeUtil4 } from "@elementor/editor-props";
5899
6019
  import { Stack as Stack15, TextField as TextField2 } from "@elementor/ui";
5900
- import { __ as __70 } from "@wordpress/i18n";
6020
+ import { __ as __71 } from "@wordpress/i18n";
5901
6021
 
5902
6022
  // src/controls-registry/element-controls/accordion-items-control/use-actions.ts
5903
6023
  import {
@@ -5909,7 +6029,7 @@ import {
5909
6029
  removeElements
5910
6030
  } from "@elementor/editor-elements";
5911
6031
  import { booleanPropTypeUtil as booleanPropTypeUtil2, escapedHtmlPropTypeUtil as escapedHtmlPropTypeUtil2 } from "@elementor/editor-props";
5912
- import { __ as __68, sprintf } from "@wordpress/i18n";
6032
+ import { __ as __69, sprintf } from "@wordpress/i18n";
5913
6033
  var ACCORDION_ELEMENT_TYPE = "e-accordion";
5914
6034
  var ACCORDION_ITEM_ELEMENT_TYPE = "e-accordion-item";
5915
6035
  var ACCORDION_ITEM_HEADER_ELEMENT_TYPE = "e-accordion-item-header";
@@ -5919,7 +6039,7 @@ var ACCORDION_ITEM_CONTENT_ELEMENT_TYPE = "e-accordion-item-content";
5919
6039
  var PARAGRAPH_WIDGET_TYPE = "e-paragraph";
5920
6040
  var getItemTitle = (position) => (
5921
6041
  /* translators: %d: Accordion item position. */
5922
- sprintf(__68("Accordion Item %d", "elementor"), position)
6042
+ sprintf(__69("Accordion Item %d", "elementor"), position)
5923
6043
  );
5924
6044
  var TRAILING_NUMBER = /(\d+)\s*$/;
5925
6045
  var getNextItemNumber = (existingTitles) => {
@@ -5945,7 +6065,7 @@ var buildItemModel = (position, showIcon) => {
5945
6065
  {
5946
6066
  elType: ACCORDION_ITEM_HEADER_ELEMENT_TYPE,
5947
6067
  id: generateElementId(),
5948
- editor_settings: { title: __68("Header", "elementor") },
6068
+ editor_settings: { title: __69("Header", "elementor") },
5949
6069
  // Seeded from the root's *current* `show_icon` value, not the schema default: if a user
5950
6070
  // has already turned Show Icon off, a newly added item must start with its icon hidden
5951
6071
  // too, not re-show one just because the item itself is brand new. See the comment on
@@ -5955,7 +6075,7 @@ var buildItemModel = (position, showIcon) => {
5955
6075
  {
5956
6076
  elType: ACCORDION_ITEM_TITLE_ELEMENT_TYPE,
5957
6077
  id: generateElementId(),
5958
- editor_settings: { title: __68("Title", "elementor") },
6078
+ editor_settings: { title: __69("Title", "elementor") },
5959
6079
  elements: [
5960
6080
  {
5961
6081
  elType: "widget",
@@ -5975,7 +6095,7 @@ var buildItemModel = (position, showIcon) => {
5975
6095
  {
5976
6096
  elType: ACCORDION_ITEM_ICON_ELEMENT_TYPE,
5977
6097
  id: generateElementId(),
5978
- editor_settings: { title: __68("Icon", "elementor") },
6098
+ editor_settings: { title: __69("Icon", "elementor") },
5979
6099
  elements: [],
5980
6100
  hydrateDefaultChildren: true
5981
6101
  }
@@ -5984,7 +6104,7 @@ var buildItemModel = (position, showIcon) => {
5984
6104
  {
5985
6105
  elType: ACCORDION_ITEM_CONTENT_ELEMENT_TYPE,
5986
6106
  id: generateElementId(),
5987
- editor_settings: { title: __68("Content", "elementor") },
6107
+ editor_settings: { title: __69("Content", "elementor") },
5988
6108
  elements: [],
5989
6109
  hydrateDefaultChildren: true
5990
6110
  }
@@ -6006,7 +6126,7 @@ var useActions = () => {
6006
6126
  items3.forEach(() => {
6007
6127
  const position = getNextItemNumber(titles);
6008
6128
  createElements({
6009
- title: __68("Accordion", "elementor"),
6129
+ title: __69("Accordion", "elementor"),
6010
6130
  elements: [
6011
6131
  {
6012
6132
  container: accordion,
@@ -6027,13 +6147,13 @@ var useActions = () => {
6027
6147
  };
6028
6148
  const removeItem2 = ({ items: items3 }) => {
6029
6149
  removeElements({
6030
- title: __68("Accordion", "elementor"),
6150
+ title: __69("Accordion", "elementor"),
6031
6151
  elementIds: items3.map(({ item }) => item.id)
6032
6152
  });
6033
6153
  };
6034
6154
  const duplicateItem2 = ({ items: items3 }) => {
6035
6155
  duplicateElements({
6036
- title: __68("Duplicate Accordion Item", "elementor"),
6156
+ title: __69("Duplicate Accordion Item", "elementor"),
6037
6157
  elementIds: items3.map(({ item }) => item.id)
6038
6158
  });
6039
6159
  };
@@ -6048,7 +6168,7 @@ var useActions = () => {
6048
6168
  throw new Error("Accordion item or container not found");
6049
6169
  }
6050
6170
  moveElements({
6051
- title: __68("Reorder Accordion Items", "elementor"),
6171
+ title: __69("Reorder Accordion Items", "elementor"),
6052
6172
  moves: [
6053
6173
  {
6054
6174
  element: movedElement,
@@ -6071,7 +6191,7 @@ import { useEffect as useEffect9, useRef as useRef20 } from "react";
6071
6191
  import { getContainer as getContainer3, getElementSettings as getElementSettings2, updateElementSettings as updateElementSettings4 } from "@elementor/editor-elements";
6072
6192
  import { booleanPropTypeUtil as booleanPropTypeUtil3 } from "@elementor/editor-props";
6073
6193
  import { undoable as undoable5 } from "@elementor/editor-v1-adapters";
6074
- import { __ as __69 } from "@wordpress/i18n";
6194
+ import { __ as __70 } from "@wordpress/i18n";
6075
6195
  var ACCORDION_ITEM_HEADER_ELEMENT_TYPE2 = "e-accordion-item-header";
6076
6196
  var cascadeShowIconToHeaders = undoable5(
6077
6197
  {
@@ -6107,8 +6227,8 @@ var cascadeShowIconToHeaders = undoable5(
6107
6227
  }
6108
6228
  },
6109
6229
  {
6110
- title: __69("Accordion", "elementor"),
6111
- subtitle: __69("Show Icon", "elementor"),
6230
+ title: __70("Accordion", "elementor"),
6231
+ subtitle: __70("Show Icon", "elementor"),
6112
6232
  // `undoable()`'s debounce only delays when the *history entry* is pushed onto the undo stack -
6113
6233
  // the settings write itself (`do()`) still runs synchronously on every call. The root's own
6114
6234
  // `show_icon` change goes through `SettingsField` -> `useUndoableUpdateElementProp`
@@ -6189,7 +6309,7 @@ var AccordionItemsControl = ({ label }) => {
6189
6309
  });
6190
6310
  }
6191
6311
  };
6192
- return /* @__PURE__ */ React95.createElement(
6312
+ return /* @__PURE__ */ React96.createElement(
6193
6313
  Repeater,
6194
6314
  {
6195
6315
  showToggle: false,
@@ -6200,7 +6320,7 @@ var AccordionItemsControl = ({ label }) => {
6200
6320
  adornment: () => null,
6201
6321
  itemSettings: {
6202
6322
  getId: ({ item }) => item.id,
6203
- initialValues: { id: "", title: __70("Accordion Item", "elementor") },
6323
+ initialValues: { id: "", title: __71("Accordion Item", "elementor") },
6204
6324
  Label: ItemLabel,
6205
6325
  Content: ItemContent,
6206
6326
  Icon: () => null
@@ -6209,18 +6329,23 @@ var AccordionItemsControl = ({ label }) => {
6209
6329
  );
6210
6330
  };
6211
6331
  var ItemLabel = ({ value }) => {
6212
- return /* @__PURE__ */ React95.createElement(Stack15, { sx: { minHeight: 20 }, direction: "row", alignItems: "center", gap: 1.5 }, /* @__PURE__ */ React95.createElement("span", null, value?.title));
6332
+ return /* @__PURE__ */ React96.createElement(Stack15, { sx: { minHeight: 20 }, direction: "row", alignItems: "center", gap: 1.5 }, value.id ? /* @__PURE__ */ React96.createElement(AccordionItemRepeaterLabel, { elementId: value.id, fallbackTitle: value.title }) : /* @__PURE__ */ React96.createElement("span", null, value?.title));
6333
+ };
6334
+ var AccordionItemRepeaterLabel = ({ elementId, fallbackTitle }) => {
6335
+ const editorSettings = useElementEditorSettings2(elementId);
6336
+ const label = editorSettings?.title ?? fallbackTitle ?? "";
6337
+ return /* @__PURE__ */ React96.createElement("span", null, label);
6213
6338
  };
6214
6339
  var ItemContent = ({ value }) => {
6215
6340
  if (!value.id) {
6216
6341
  return null;
6217
6342
  }
6218
- return /* @__PURE__ */ React95.createElement(Stack15, { p: 2, gap: 1.5 }, /* @__PURE__ */ React95.createElement(ItemNameControl, { elementId: value.id }));
6343
+ return /* @__PURE__ */ React96.createElement(Stack15, { p: 2, gap: 1.5 }, /* @__PURE__ */ React96.createElement(ItemNameControl, { elementId: value.id }));
6219
6344
  };
6220
6345
  var ItemNameControl = ({ elementId }) => {
6221
6346
  const editorSettings = useElementEditorSettings2(elementId);
6222
6347
  const label = editorSettings?.title ?? "";
6223
- return /* @__PURE__ */ React95.createElement(Stack15, { gap: 1 }, /* @__PURE__ */ React95.createElement(ControlFormLabel3, null, __70("Name", "elementor")), /* @__PURE__ */ React95.createElement(
6348
+ return /* @__PURE__ */ React96.createElement(Stack15, { gap: 1 }, /* @__PURE__ */ React96.createElement(ControlFormLabel3, null, __71("Name", "elementor")), /* @__PURE__ */ React96.createElement(
6224
6349
  TextField2,
6225
6350
  {
6226
6351
  size: "tiny",
@@ -6236,12 +6361,12 @@ var ItemNameControl = ({ elementId }) => {
6236
6361
  };
6237
6362
 
6238
6363
  // src/controls-registry/element-controls/list-items-control/list-items-control.tsx
6239
- import * as React96 from "react";
6364
+ import * as React97 from "react";
6240
6365
  import { ControlFormLabel as ControlFormLabel4, Repeater as Repeater2 } from "@elementor/editor-controls";
6241
6366
  import { updateElementEditorSettings as updateElementEditorSettings3, useElementChildren as useElementChildren2, useElementEditorSettings as useElementEditorSettings3 } from "@elementor/editor-elements";
6242
6367
  import { booleanPropTypeUtil as booleanPropTypeUtil7 } from "@elementor/editor-props";
6243
6368
  import { Stack as Stack16, TextField as TextField3 } from "@elementor/ui";
6244
- import { __ as __73 } from "@wordpress/i18n";
6369
+ import { __ as __74 } from "@wordpress/i18n";
6245
6370
 
6246
6371
  // src/controls-registry/element-controls/list-items-control/list-actions.ts
6247
6372
  import {
@@ -6253,12 +6378,11 @@ import {
6253
6378
  removeElements as removeElements2
6254
6379
  } from "@elementor/editor-elements";
6255
6380
  import { booleanPropTypeUtil as booleanPropTypeUtil5, escapedHtmlPropTypeUtil as escapedHtmlPropTypeUtil3 } from "@elementor/editor-props";
6256
- import { __ as __71 } from "@wordpress/i18n";
6381
+ import { __ as __72 } from "@wordpress/i18n";
6257
6382
  var LIST_ITEM_ELEMENT_TYPE = "e-list-item";
6258
6383
  var LIST_ITEM_MARKER_ELEMENT_TYPE = "e-list-item-marker";
6259
6384
  var LIST_ITEM_CONTENT_ELEMENT_TYPE = "e-list-item-content";
6260
6385
  var PARAGRAPH_WIDGET_TYPE2 = "e-paragraph";
6261
- var SVG_WIDGET_TYPE = "e-svg";
6262
6386
  var TRAILING_NUMBER2 = /(\d+)\s*$/;
6263
6387
  var getItemTitle2 = (position) => `List item ${position}`;
6264
6388
  var getNextItemNumber2 = (existingTitles) => {
@@ -6291,14 +6415,18 @@ var buildItemModel2 = (position, showMarkers) => {
6291
6415
  elType: LIST_ITEM_MARKER_ELEMENT_TYPE,
6292
6416
  id: generateElementId2(),
6293
6417
  editor_settings: {
6294
- title: __71("Marker", "elementor")
6418
+ title: __72("Marker", "elementor")
6295
6419
  },
6296
6420
  elements: [
6297
6421
  {
6298
6422
  elType: "widget",
6299
- widgetType: SVG_WIDGET_TYPE,
6423
+ widgetType: PARAGRAPH_WIDGET_TYPE2,
6300
6424
  id: generateElementId2(),
6301
- elements: []
6425
+ elements: [],
6426
+ settings: {
6427
+ tag: { $$type: "string", value: "span" },
6428
+ paragraph: escapedHtmlPropTypeUtil3.create("•")
6429
+ }
6302
6430
  }
6303
6431
  ]
6304
6432
  },
@@ -6306,7 +6434,7 @@ var buildItemModel2 = (position, showMarkers) => {
6306
6434
  elType: LIST_ITEM_CONTENT_ELEMENT_TYPE,
6307
6435
  id: generateElementId2(),
6308
6436
  editor_settings: {
6309
- title: __71("Content", "elementor")
6437
+ title: __72("Content", "elementor")
6310
6438
  },
6311
6439
  elements: [
6312
6440
  {
@@ -6326,7 +6454,7 @@ var buildItemModel2 = (position, showMarkers) => {
6326
6454
  var duplicateItem = ({ items: items3 }) => {
6327
6455
  duplicateElements2({
6328
6456
  elementIds: items3.map(({ item }) => item.id),
6329
- title: __71("Duplicate List Item", "elementor")
6457
+ title: __72("Duplicate List Item", "elementor")
6330
6458
  });
6331
6459
  };
6332
6460
  var moveItem = ({
@@ -6340,7 +6468,7 @@ var moveItem = ({
6340
6468
  throw new Error("List item or list container not found");
6341
6469
  }
6342
6470
  moveElements2({
6343
- title: __71("Reorder List Items", "elementor"),
6471
+ title: __72("Reorder List Items", "elementor"),
6344
6472
  moves: [
6345
6473
  {
6346
6474
  element: movedElement,
@@ -6352,7 +6480,7 @@ var moveItem = ({
6352
6480
  };
6353
6481
  var removeItem = ({ items: items3 }) => {
6354
6482
  removeElements2({
6355
- title: __71("List Items", "elementor"),
6483
+ title: __72("List Items", "elementor"),
6356
6484
  elementIds: items3.map(({ item }) => item.id)
6357
6485
  });
6358
6486
  };
@@ -6370,7 +6498,7 @@ var addItem = ({
6370
6498
  items3.forEach(({ index }) => {
6371
6499
  const position = getNextItemNumber2(titles);
6372
6500
  createElements2({
6373
- title: __71("List Items", "elementor"),
6501
+ title: __72("List Items", "elementor"),
6374
6502
  elements: [
6375
6503
  {
6376
6504
  container: listContainer,
@@ -6388,7 +6516,7 @@ import { useEffect as useEffect10, useRef as useRef21 } from "react";
6388
6516
  import { getContainer as getContainer5, getElementSettings as getElementSettings3, updateElementSettings as updateElementSettings5 } from "@elementor/editor-elements";
6389
6517
  import { booleanPropTypeUtil as booleanPropTypeUtil6 } from "@elementor/editor-props";
6390
6518
  import { undoable as undoable6 } from "@elementor/editor-v1-adapters";
6391
- import { __ as __72 } from "@wordpress/i18n";
6519
+ import { __ as __73 } from "@wordpress/i18n";
6392
6520
  var cascadeShowMarkersToItems = undoable6(
6393
6521
  {
6394
6522
  do: ({ listId, showMarkers }) => {
@@ -6423,8 +6551,8 @@ var cascadeShowMarkersToItems = undoable6(
6423
6551
  }
6424
6552
  },
6425
6553
  {
6426
- title: __72("List", "elementor"),
6427
- subtitle: __72("Show Markers", "elementor"),
6554
+ title: __73("List", "elementor"),
6555
+ subtitle: __73("Show Markers", "elementor"),
6428
6556
  debounce: { wait: HISTORY_DEBOUNCE_WAIT }
6429
6557
  }
6430
6558
  );
@@ -6456,7 +6584,7 @@ var getDefaultListItemLabel = (index) => {
6456
6584
  return `List item ${index + 1}`;
6457
6585
  };
6458
6586
  var ListItemsControl = ({ label }) => {
6459
- return /* @__PURE__ */ React96.createElement(ListItemsControlContent, { label });
6587
+ return /* @__PURE__ */ React97.createElement(ListItemsControlContent, { label });
6460
6588
  };
6461
6589
  var ListItemsControlContent = ({ label }) => {
6462
6590
  const { element, settings } = useElement();
@@ -6496,7 +6624,7 @@ var ListItemsControlContent = ({ label }) => {
6496
6624
  });
6497
6625
  }
6498
6626
  };
6499
- return /* @__PURE__ */ React96.createElement(
6627
+ return /* @__PURE__ */ React97.createElement(
6500
6628
  Repeater2,
6501
6629
  {
6502
6630
  showToggle: false,
@@ -6517,23 +6645,23 @@ var ListItemsControlContent = ({ label }) => {
6517
6645
  };
6518
6646
  var ItemLabel2 = ({ value, index }) => {
6519
6647
  const fallbackLabel = value.title ?? getDefaultListItemLabel(index);
6520
- return /* @__PURE__ */ React96.createElement(Stack16, { sx: { minHeight: 20 }, direction: "row", alignItems: "center", gap: 1.5 }, value.id ? /* @__PURE__ */ React96.createElement(ListItemRepeaterLabel, { elementId: value.id, fallbackLabel }) : /* @__PURE__ */ React96.createElement("span", null, fallbackLabel));
6648
+ return /* @__PURE__ */ React97.createElement(Stack16, { sx: { minHeight: 20 }, direction: "row", alignItems: "center", gap: 1.5 }, value.id ? /* @__PURE__ */ React97.createElement(ListItemRepeaterLabel, { elementId: value.id, fallbackLabel }) : /* @__PURE__ */ React97.createElement("span", null, fallbackLabel));
6521
6649
  };
6522
6650
  var ItemContent2 = ({ value }) => {
6523
6651
  if (!value.id) {
6524
6652
  return null;
6525
6653
  }
6526
- return /* @__PURE__ */ React96.createElement(Stack16, { p: 2, gap: 1.5 }, /* @__PURE__ */ React96.createElement(ListItemLabelControl, { elementId: value.id, fallbackLabel: value.title ?? "" }));
6654
+ return /* @__PURE__ */ React97.createElement(Stack16, { p: 2, gap: 1.5 }, /* @__PURE__ */ React97.createElement(ListItemLabelControl, { elementId: value.id, fallbackLabel: value.title ?? "" }));
6527
6655
  };
6528
6656
  var ListItemRepeaterLabel = ({ elementId, fallbackLabel }) => {
6529
6657
  const editorSettings = useElementEditorSettings3(elementId);
6530
6658
  const label = getEffectiveListItemLabel(editorSettings?.title, fallbackLabel);
6531
- return /* @__PURE__ */ React96.createElement("span", null, label);
6659
+ return /* @__PURE__ */ React97.createElement("span", null, label);
6532
6660
  };
6533
6661
  var ListItemLabelControl = ({ elementId, fallbackLabel }) => {
6534
6662
  const editorSettings = useElementEditorSettings3(elementId);
6535
6663
  const label = getEffectiveListItemLabel(editorSettings?.title, fallbackLabel);
6536
- return /* @__PURE__ */ React96.createElement(Stack16, { gap: 1 }, /* @__PURE__ */ React96.createElement(ControlFormLabel4, null, __73("Item name", "elementor")), /* @__PURE__ */ React96.createElement(
6664
+ return /* @__PURE__ */ React97.createElement(Stack16, { gap: 1 }, /* @__PURE__ */ React97.createElement(ControlFormLabel4, null, __74("Item name", "elementor")), /* @__PURE__ */ React97.createElement(
6537
6665
  TextField3,
6538
6666
  {
6539
6667
  size: "tiny",
@@ -6549,11 +6677,11 @@ var ListItemLabelControl = ({ elementId, fallbackLabel }) => {
6549
6677
  };
6550
6678
 
6551
6679
  // src/controls-registry/element-controls/tabs-control/tabs-control.tsx
6552
- import * as React97 from "react";
6680
+ import * as React98 from "react";
6553
6681
  import {
6554
6682
  ControlFormLabel as ControlFormLabel5,
6555
6683
  Repeater as Repeater3,
6556
- useBoundProp as useBoundProp7
6684
+ useBoundProp as useBoundProp8
6557
6685
  } from "@elementor/editor-controls";
6558
6686
  import {
6559
6687
  updateElementEditorSettings as updateElementEditorSettings4,
@@ -6561,9 +6689,9 @@ import {
6561
6689
  useElementEditorSettings as useElementEditorSettings4
6562
6690
  } from "@elementor/editor-elements";
6563
6691
  import { numberPropTypeUtil as numberPropTypeUtil4 } from "@elementor/editor-props";
6564
- import { InfoCircleFilledIcon as InfoCircleFilledIcon2 } from "@elementor/icons";
6565
- import { Alert as Alert4, Chip as Chip4, Infotip as Infotip2, Stack as Stack17, Switch as Switch2, TextField as TextField4, Typography as Typography5 } from "@elementor/ui";
6566
- import { __ as __75 } from "@wordpress/i18n";
6692
+ import { InfoCircleFilledIcon as InfoCircleFilledIcon3 } from "@elementor/icons";
6693
+ import { Alert as Alert5, Chip as Chip4, Infotip as Infotip3, Stack as Stack17, Switch as Switch2, TextField as TextField4, Typography as Typography5 } from "@elementor/ui";
6694
+ import { __ as __76 } from "@wordpress/i18n";
6567
6695
 
6568
6696
  // src/controls-registry/element-controls/get-element-by-type.ts
6569
6697
  import { getContainer as getContainer6 } from "@elementor/editor-elements";
@@ -6579,7 +6707,7 @@ var getElementByType = (elementId, type) => {
6579
6707
  };
6580
6708
 
6581
6709
  // src/controls-registry/element-controls/tabs-control/use-actions.ts
6582
- import { useBoundProp as useBoundProp6 } from "@elementor/editor-controls";
6710
+ import { useBoundProp as useBoundProp7 } from "@elementor/editor-controls";
6583
6711
  import {
6584
6712
  createElements as createElements3,
6585
6713
  duplicateElements as duplicateElements3,
@@ -6588,11 +6716,11 @@ import {
6588
6716
  removeElements as removeElements3
6589
6717
  } from "@elementor/editor-elements";
6590
6718
  import { numberPropTypeUtil as numberPropTypeUtil3 } from "@elementor/editor-props";
6591
- import { __ as __74 } from "@wordpress/i18n";
6719
+ import { __ as __75 } from "@wordpress/i18n";
6592
6720
  var TAB_ELEMENT_TYPE = "e-tab";
6593
6721
  var TAB_CONTENT_ELEMENT_TYPE = "e-tab-content";
6594
6722
  var useActions2 = () => {
6595
- const { value, setValue: setDefaultActiveTab } = useBoundProp6(numberPropTypeUtil3);
6723
+ const { value, setValue: setDefaultActiveTab } = useBoundProp7(numberPropTypeUtil3);
6596
6724
  const defaultActiveTab = value ?? 0;
6597
6725
  const duplicateItem2 = ({
6598
6726
  items: items3,
@@ -6611,7 +6739,7 @@ var useActions2 = () => {
6611
6739
  }
6612
6740
  duplicateElements3({
6613
6741
  elementIds: [tabId, tabContentId],
6614
- title: __74("Duplicate Tab", "elementor"),
6742
+ title: __75("Duplicate Tab", "elementor"),
6615
6743
  onDuplicateElements: () => {
6616
6744
  if (newDefault !== defaultActiveTab) {
6617
6745
  setDefaultActiveTab(newDefault, {}, { withHistory: false });
@@ -6648,7 +6776,7 @@ var useActions2 = () => {
6648
6776
  defaultActiveTab
6649
6777
  });
6650
6778
  moveElements3({
6651
- title: __74("Reorder Tabs", "elementor"),
6779
+ title: __75("Reorder Tabs", "elementor"),
6652
6780
  moves: [
6653
6781
  {
6654
6782
  element: movedElement,
@@ -6682,7 +6810,7 @@ var useActions2 = () => {
6682
6810
  defaultActiveTab
6683
6811
  });
6684
6812
  removeElements3({
6685
- title: __74("Tabs", "elementor"),
6813
+ title: __75("Tabs", "elementor"),
6686
6814
  elementIds: items3.flatMap(({ item, index }) => {
6687
6815
  const tabId = item.id;
6688
6816
  const tabContentContainer = getContainer7(tabContentAreaId);
@@ -6717,7 +6845,7 @@ var useActions2 = () => {
6717
6845
  items3.forEach(({ index }) => {
6718
6846
  const position = index + 1;
6719
6847
  createElements3({
6720
- title: __74("Tabs", "elementor"),
6848
+ title: __75("Tabs", "elementor"),
6721
6849
  elements: [
6722
6850
  {
6723
6851
  container: tabContentArea,
@@ -6786,7 +6914,7 @@ var calculateDefaultOnDuplicate = ({
6786
6914
  var TAB_MENU_ELEMENT_TYPE = "e-tabs-menu";
6787
6915
  var TAB_CONTENT_AREA_ELEMENT_TYPE = "e-tabs-content-area";
6788
6916
  var TabsControl = ({ label }) => {
6789
- return /* @__PURE__ */ React97.createElement(SettingsField, { bind: "default-active-tab", propDisplayName: __75("Tabs", "elementor") }, /* @__PURE__ */ React97.createElement(TabsControlContent, { label }));
6917
+ return /* @__PURE__ */ React98.createElement(SettingsField, { bind: "default-active-tab", propDisplayName: __76("Tabs", "elementor") }, /* @__PURE__ */ React98.createElement(TabsControlContent, { label }));
6790
6918
  };
6791
6919
  var TabsControlContent = ({ label }) => {
6792
6920
  const { element } = useElement();
@@ -6830,7 +6958,7 @@ var TabsControlContent = ({ label }) => {
6830
6958
  });
6831
6959
  }
6832
6960
  };
6833
- return /* @__PURE__ */ React97.createElement(
6961
+ return /* @__PURE__ */ React98.createElement(
6834
6962
  Repeater3,
6835
6963
  {
6836
6964
  showToggle: false,
@@ -6849,27 +6977,31 @@ var TabsControlContent = ({ label }) => {
6849
6977
  );
6850
6978
  };
6851
6979
  var ItemLabel3 = ({ value, index }) => {
6852
- const elementTitle = value?.title;
6853
- return /* @__PURE__ */ React97.createElement(Stack17, { sx: { minHeight: 20 }, direction: "row", alignItems: "center", gap: 1.5 }, /* @__PURE__ */ React97.createElement("span", null, elementTitle), /* @__PURE__ */ React97.createElement(ItemDefaultTab, { index }));
6980
+ return /* @__PURE__ */ React98.createElement(Stack17, { sx: { minHeight: 20 }, direction: "row", alignItems: "center", gap: 1.5 }, value.id ? /* @__PURE__ */ React98.createElement(TabRepeaterLabel, { elementId: value.id, fallbackTitle: value.title }) : /* @__PURE__ */ React98.createElement("span", null, value?.title), /* @__PURE__ */ React98.createElement(ItemDefaultTab, { index }));
6981
+ };
6982
+ var TabRepeaterLabel = ({ elementId, fallbackTitle }) => {
6983
+ const editorSettings = useElementEditorSettings4(elementId);
6984
+ const label = editorSettings?.title ?? fallbackTitle ?? "";
6985
+ return /* @__PURE__ */ React98.createElement("span", null, label);
6854
6986
  };
6855
6987
  var ItemDefaultTab = ({ index }) => {
6856
- const { value: defaultItem } = useBoundProp7(numberPropTypeUtil4);
6988
+ const { value: defaultItem } = useBoundProp8(numberPropTypeUtil4);
6857
6989
  const isDefault = defaultItem === index;
6858
6990
  if (!isDefault) {
6859
6991
  return null;
6860
6992
  }
6861
- return /* @__PURE__ */ React97.createElement(Chip4, { size: "tiny", shape: "rounded", label: __75("Default", "elementor") });
6993
+ return /* @__PURE__ */ React98.createElement(Chip4, { size: "tiny", shape: "rounded", label: __76("Default", "elementor") });
6862
6994
  };
6863
6995
  var ItemContent3 = ({ value, index }) => {
6864
6996
  if (!value.id) {
6865
6997
  return null;
6866
6998
  }
6867
- return /* @__PURE__ */ React97.createElement(Stack17, { p: 2, gap: 1.5 }, /* @__PURE__ */ React97.createElement(TabLabelControl, { elementId: value.id }), /* @__PURE__ */ React97.createElement(SettingsField, { bind: "default-active-tab", propDisplayName: __75("Tabs", "elementor") }, /* @__PURE__ */ React97.createElement(DefaultTabControl, { tabIndex: index })));
6999
+ return /* @__PURE__ */ React98.createElement(Stack17, { p: 2, gap: 1.5 }, /* @__PURE__ */ React98.createElement(TabLabelControl, { elementId: value.id }), /* @__PURE__ */ React98.createElement(SettingsField, { bind: "default-active-tab", propDisplayName: __76("Tabs", "elementor") }, /* @__PURE__ */ React98.createElement(DefaultTabControl, { tabIndex: index })));
6868
7000
  };
6869
7001
  var DefaultTabControl = ({ tabIndex }) => {
6870
- const { value, setValue } = useBoundProp7(numberPropTypeUtil4);
7002
+ const { value, setValue } = useBoundProp8(numberPropTypeUtil4);
6871
7003
  const isDefault = value === tabIndex;
6872
- return /* @__PURE__ */ React97.createElement(Stack17, { direction: "row", alignItems: "center", justifyContent: "space-between", gap: 2 }, /* @__PURE__ */ React97.createElement(ControlFormLabel5, null, __75("Set as default tab", "elementor")), /* @__PURE__ */ React97.createElement(ConditionalTooltip, { showTooltip: isDefault, placement: "right" }, /* @__PURE__ */ React97.createElement(
7004
+ return /* @__PURE__ */ React98.createElement(Stack17, { direction: "row", alignItems: "center", justifyContent: "space-between", gap: 2 }, /* @__PURE__ */ React98.createElement(ControlFormLabel5, null, __76("Set as default tab", "elementor")), /* @__PURE__ */ React98.createElement(ConditionalTooltip, { showTooltip: isDefault, placement: "right" }, /* @__PURE__ */ React98.createElement(
6873
7005
  Switch2,
6874
7006
  {
6875
7007
  size: "small",
@@ -6887,7 +7019,7 @@ var DefaultTabControl = ({ tabIndex }) => {
6887
7019
  var TabLabelControl = ({ elementId }) => {
6888
7020
  const editorSettings = useElementEditorSettings4(elementId);
6889
7021
  const label = editorSettings?.title ?? "";
6890
- return /* @__PURE__ */ React97.createElement(Stack17, { gap: 1 }, /* @__PURE__ */ React97.createElement(ControlFormLabel5, null, __75("Tab name", "elementor")), /* @__PURE__ */ React97.createElement(
7022
+ return /* @__PURE__ */ React98.createElement(Stack17, { gap: 1 }, /* @__PURE__ */ React98.createElement(ControlFormLabel5, null, __76("Tab name", "elementor")), /* @__PURE__ */ React98.createElement(
6891
7023
  TextField4,
6892
7024
  {
6893
7025
  size: "tiny",
@@ -6908,22 +7040,22 @@ var ConditionalTooltip = ({
6908
7040
  if (!showTooltip) {
6909
7041
  return children;
6910
7042
  }
6911
- return /* @__PURE__ */ React97.createElement(
6912
- Infotip2,
7043
+ return /* @__PURE__ */ React98.createElement(
7044
+ Infotip3,
6913
7045
  {
6914
7046
  arrow: false,
6915
- content: /* @__PURE__ */ React97.createElement(
6916
- Alert4,
7047
+ content: /* @__PURE__ */ React98.createElement(
7048
+ Alert5,
6917
7049
  {
6918
7050
  color: "secondary",
6919
- icon: /* @__PURE__ */ React97.createElement(InfoCircleFilledIcon2, { fontSize: "tiny" }),
7051
+ icon: /* @__PURE__ */ React98.createElement(InfoCircleFilledIcon3, { fontSize: "tiny" }),
6920
7052
  size: "small",
6921
7053
  sx: { width: 288 }
6922
7054
  },
6923
- /* @__PURE__ */ React97.createElement(Typography5, { variant: "body2" }, __75("To change the default tab, simply set another tab as default.", "elementor"))
7055
+ /* @__PURE__ */ React98.createElement(Typography5, { variant: "body2" }, __76("To change the default tab, simply set another tab as default.", "elementor"))
6924
7056
  )
6925
7057
  },
6926
- /* @__PURE__ */ React97.createElement("span", null, children)
7058
+ /* @__PURE__ */ React98.createElement("span", null, children)
6927
7059
  );
6928
7060
  };
6929
7061
 
@@ -6951,8 +7083,8 @@ import {
6951
7083
  import { controlActionsMenu as controlActionsMenu2 } from "@elementor/menus";
6952
7084
 
6953
7085
  // src/dynamics/components/background-control-dynamic-tag.tsx
6954
- import * as React98 from "react";
6955
- import { PropKeyProvider as PropKeyProvider4, PropProvider as PropProvider4, useBoundProp as useBoundProp9 } from "@elementor/editor-controls";
7086
+ import * as React99 from "react";
7087
+ import { PropKeyProvider as PropKeyProvider4, PropProvider as PropProvider4, useBoundProp as useBoundProp10 } from "@elementor/editor-controls";
6956
7088
  import {
6957
7089
  backgroundImageOverlayPropTypeUtil
6958
7090
  } from "@elementor/editor-props";
@@ -6963,7 +7095,7 @@ import { useMemo as useMemo12 } from "react";
6963
7095
 
6964
7096
  // src/dynamics/hooks/use-prop-dynamic-tags.ts
6965
7097
  import { useMemo as useMemo11 } from "react";
6966
- import { useBoundProp as useBoundProp8 } from "@elementor/editor-controls";
7098
+ import { useBoundProp as useBoundProp9 } from "@elementor/editor-controls";
6967
7099
 
6968
7100
  // src/dynamics/sync/get-atomic-dynamic-tags.ts
6969
7101
  import { getElementorConfig } from "@elementor/editor-v1-adapters";
@@ -7050,7 +7182,7 @@ var useAllPropDynamicTags = () => {
7050
7182
  };
7051
7183
  var usePropDynamicTagsInternal = (filterByLicense2) => {
7052
7184
  let categories = [];
7053
- const { propType } = useBoundProp8();
7185
+ const { propType } = useBoundProp9();
7054
7186
  if (propType) {
7055
7187
  const propDynamicType = getDynamicPropType(propType);
7056
7188
  categories = propDynamicType?.settings.categories || [];
@@ -7094,36 +7226,36 @@ var useDynamicTag = (tagName) => {
7094
7226
  };
7095
7227
 
7096
7228
  // src/dynamics/components/background-control-dynamic-tag.tsx
7097
- var BackgroundControlDynamicTagIcon = () => /* @__PURE__ */ React98.createElement(DatabaseIcon, { fontSize: "tiny" });
7229
+ var BackgroundControlDynamicTagIcon = () => /* @__PURE__ */ React99.createElement(DatabaseIcon, { fontSize: "tiny" });
7098
7230
  var BackgroundControlDynamicTagLabel = ({ value }) => {
7099
- const context = useBoundProp9(backgroundImageOverlayPropTypeUtil);
7100
- return /* @__PURE__ */ React98.createElement(PropProvider4, { ...context, value: value.value }, /* @__PURE__ */ React98.createElement(PropKeyProvider4, { bind: "image" }, /* @__PURE__ */ React98.createElement(Wrapper2, { rawValue: value.value })));
7231
+ const context = useBoundProp10(backgroundImageOverlayPropTypeUtil);
7232
+ return /* @__PURE__ */ React99.createElement(PropProvider4, { ...context, value: value.value }, /* @__PURE__ */ React99.createElement(PropKeyProvider4, { bind: "image" }, /* @__PURE__ */ React99.createElement(Wrapper2, { rawValue: value.value })));
7101
7233
  };
7102
7234
  var Wrapper2 = ({ rawValue }) => {
7103
- const { propType } = useBoundProp9();
7235
+ const { propType } = useBoundProp10();
7104
7236
  const imageOverlayPropType = propType.prop_types["background-image-overlay"];
7105
- return /* @__PURE__ */ React98.createElement(PropProvider4, { propType: imageOverlayPropType.shape.image, value: rawValue, setValue: () => void 0 }, /* @__PURE__ */ React98.createElement(PropKeyProvider4, { bind: "src" }, /* @__PURE__ */ React98.createElement(Content, { rawValue: rawValue.image })));
7237
+ return /* @__PURE__ */ React99.createElement(PropProvider4, { propType: imageOverlayPropType.shape.image, value: rawValue, setValue: () => void 0 }, /* @__PURE__ */ React99.createElement(PropKeyProvider4, { bind: "src" }, /* @__PURE__ */ React99.createElement(Content, { rawValue: rawValue.image })));
7106
7238
  };
7107
7239
  var Content = ({ rawValue }) => {
7108
7240
  const src = rawValue.value.src;
7109
7241
  const dynamicTag = useDynamicTag(src.value.name || "");
7110
- return /* @__PURE__ */ React98.createElement(React98.Fragment, null, dynamicTag?.label);
7242
+ return /* @__PURE__ */ React99.createElement(React99.Fragment, null, dynamicTag?.label);
7111
7243
  };
7112
7244
 
7113
7245
  // src/dynamics/components/dynamic-selection-control.tsx
7114
- import * as React102 from "react";
7246
+ import * as React103 from "react";
7115
7247
  import {
7116
7248
  ControlFormLabel as ControlFormLabel6,
7117
7249
  PropKeyProvider as PropKeyProvider6,
7118
7250
  PropProvider as PropProvider6,
7119
- useBoundProp as useBoundProp12
7251
+ useBoundProp as useBoundProp13
7120
7252
  } from "@elementor/editor-controls";
7121
7253
  import { PopoverHeader as PopoverHeader2, SectionPopoverBody as SectionPopoverBody2 } from "@elementor/editor-ui";
7122
7254
  import { DatabaseIcon as DatabaseIcon3, SettingsIcon, XIcon } from "@elementor/icons";
7123
7255
  import {
7124
7256
  bindPopover,
7125
7257
  bindTrigger as bindTrigger2,
7126
- Box as Box8,
7258
+ Box as Box9,
7127
7259
  Divider as Divider8,
7128
7260
  Grid as Grid8,
7129
7261
  IconButton as IconButton2,
@@ -7136,7 +7268,7 @@ import {
7136
7268
  usePopupState as usePopupState2,
7137
7269
  useTabs as useTabs2
7138
7270
  } from "@elementor/ui";
7139
- import { __ as __77 } from "@wordpress/i18n";
7271
+ import { __ as __78 } from "@wordpress/i18n";
7140
7272
 
7141
7273
  // src/hooks/use-persist-dynamic-value.ts
7142
7274
  import { useSessionStorage as useSessionStorage5 } from "@elementor/session";
@@ -7147,11 +7279,11 @@ var usePersistDynamicValue = (propKey) => {
7147
7279
  };
7148
7280
 
7149
7281
  // src/dynamics/dynamic-control.tsx
7150
- import * as React100 from "react";
7151
- import { PropKeyProvider as PropKeyProvider5, PropProvider as PropProvider5, useBoundProp as useBoundProp10 } from "@elementor/editor-controls";
7282
+ import * as React101 from "react";
7283
+ import { PropKeyProvider as PropKeyProvider5, PropProvider as PropProvider5, useBoundProp as useBoundProp11 } from "@elementor/editor-controls";
7152
7284
 
7153
7285
  // src/dynamics/components/dynamic-conditional-control.tsx
7154
- import * as React99 from "react";
7286
+ import * as React100 from "react";
7155
7287
  import { useMemo as useMemo13 } from "react";
7156
7288
  import { isDependencyMet as isDependencyMet3 } from "@elementor/editor-props";
7157
7289
  var DynamicConditionalControl = ({
@@ -7193,15 +7325,15 @@ var DynamicConditionalControl = ({
7193
7325
  return { ...defaults, ...convertedSettings };
7194
7326
  }, [defaults, convertedSettings]);
7195
7327
  if (!propType?.dependencies?.terms.length) {
7196
- return /* @__PURE__ */ React99.createElement(React99.Fragment, null, children);
7328
+ return /* @__PURE__ */ React100.createElement(React100.Fragment, null, children);
7197
7329
  }
7198
7330
  const isHidden = !isDependencyMet3(propType?.dependencies, effectiveSettings).isMet;
7199
- return isHidden ? null : /* @__PURE__ */ React99.createElement(React99.Fragment, null, children);
7331
+ return isHidden ? null : /* @__PURE__ */ React100.createElement(React100.Fragment, null, children);
7200
7332
  };
7201
7333
 
7202
7334
  // src/dynamics/dynamic-control.tsx
7203
7335
  var DynamicControl = ({ bind, children }) => {
7204
- const { value, setValue } = useBoundProp10(dynamicPropTypeUtil);
7336
+ const { value, setValue } = useBoundProp11(dynamicPropTypeUtil);
7205
7337
  const { name = "", group = "", settings } = value ?? {};
7206
7338
  const dynamicTag = useDynamicTag(name);
7207
7339
  if (!dynamicTag) {
@@ -7221,7 +7353,7 @@ var DynamicControl = ({ bind, children }) => {
7221
7353
  });
7222
7354
  };
7223
7355
  const propType = createTopLevelObjectType({ schema: dynamicTag.props_schema });
7224
- return /* @__PURE__ */ React100.createElement(PropProvider5, { propType, setValue: setDynamicValue, value: { [bind]: dynamicValue } }, /* @__PURE__ */ React100.createElement(PropKeyProvider5, { bind }, /* @__PURE__ */ React100.createElement(
7356
+ return /* @__PURE__ */ React101.createElement(PropProvider5, { propType, setValue: setDynamicValue, value: { [bind]: dynamicValue } }, /* @__PURE__ */ React101.createElement(PropKeyProvider5, { bind }, /* @__PURE__ */ React101.createElement(
7225
7357
  DynamicConditionalControl,
7226
7358
  {
7227
7359
  propType: dynamicPropType,
@@ -7233,23 +7365,23 @@ var DynamicControl = ({ bind, children }) => {
7233
7365
  };
7234
7366
 
7235
7367
  // src/dynamics/components/dynamic-selection.tsx
7236
- import * as React101 from "react";
7237
- import { Fragment as Fragment16, useEffect as useEffect11, useState as useState10 } from "react";
7238
- import { trackUpgradePromotionClick, trackViewPromotion, useBoundProp as useBoundProp11 } from "@elementor/editor-controls";
7368
+ import * as React102 from "react";
7369
+ import { Fragment as Fragment17, useEffect as useEffect11, useState as useState11 } from "react";
7370
+ import { trackUpgradePromotionClick, trackViewPromotion, useBoundProp as useBoundProp12 } from "@elementor/editor-controls";
7239
7371
  import { CtaButton, PopoverHeader, PopoverMenuList, SearchField, SectionPopoverBody } from "@elementor/editor-ui";
7240
7372
  import { DatabaseIcon as DatabaseIcon2 } from "@elementor/icons";
7241
- import { Divider as Divider7, Link as Link2, Stack as Stack18, Typography as Typography6, useTheme as useTheme3 } from "@elementor/ui";
7242
- import { __ as __76 } from "@wordpress/i18n";
7373
+ import { Divider as Divider7, Link as Link3, Stack as Stack18, Typography as Typography6, useTheme as useTheme3 } from "@elementor/ui";
7374
+ import { __ as __77 } from "@wordpress/i18n";
7243
7375
  var SIZE2 = "tiny";
7244
7376
  var PROMO_TEXT_WIDTH = 170;
7245
7377
  var PRO_DYNAMIC_TAGS_URL = "https://go.elementor.com/go-pro-dynamic-tags-modal/";
7246
7378
  var RENEW_DYNAMIC_TAGS_URL = "https://go.elementor.com/go-pro-dynamic-tags-renew-modal/";
7247
7379
  var DynamicSelection = ({ close: closePopover, expired = false }) => {
7248
- const [searchValue, setSearchValue] = useState10("");
7380
+ const [searchValue, setSearchValue] = useState11("");
7249
7381
  const { groups: dynamicGroups } = getAtomicDynamicTags() || {};
7250
7382
  const theme = useTheme3();
7251
- const { value: anyValue } = useBoundProp11();
7252
- const { bind, value: dynamicValue, setValue } = useBoundProp11(dynamicPropTypeUtil);
7383
+ const { value: anyValue } = useBoundProp12();
7384
+ const { bind, value: dynamicValue, setValue } = useBoundProp12(dynamicPropTypeUtil);
7253
7385
  const [, updatePropValueHistory] = usePersistDynamicValue(bind);
7254
7386
  const isCurrentValueDynamic = !!dynamicValue;
7255
7387
  const options13 = useFilteredOptions(searchValue);
@@ -7286,19 +7418,19 @@ var DynamicSelection = ({ close: closePopover, expired = false }) => {
7286
7418
  ]);
7287
7419
  const getPopOverContent = () => {
7288
7420
  if (hasNoDynamicTags) {
7289
- return /* @__PURE__ */ React101.createElement(NoDynamicTags, null);
7421
+ return /* @__PURE__ */ React102.createElement(NoDynamicTags, null);
7290
7422
  }
7291
7423
  if (expired) {
7292
- return /* @__PURE__ */ React101.createElement(ExpiredDynamicTags, null);
7424
+ return /* @__PURE__ */ React102.createElement(ExpiredDynamicTags, null);
7293
7425
  }
7294
- return /* @__PURE__ */ React101.createElement(Fragment16, null, /* @__PURE__ */ React101.createElement(
7426
+ return /* @__PURE__ */ React102.createElement(Fragment17, null, /* @__PURE__ */ React102.createElement(
7295
7427
  SearchField,
7296
7428
  {
7297
7429
  value: searchValue,
7298
7430
  onSearch: handleSearch,
7299
- placeholder: __76("Search dynamic tags\u2026", "elementor")
7431
+ placeholder: __77("Search dynamic tags\u2026", "elementor")
7300
7432
  }
7301
- ), /* @__PURE__ */ React101.createElement(Divider7, null), /* @__PURE__ */ React101.createElement(
7433
+ ), /* @__PURE__ */ React102.createElement(Divider7, null), /* @__PURE__ */ React102.createElement(
7302
7434
  PopoverMenuList,
7303
7435
  {
7304
7436
  items: virtualizedItems,
@@ -7306,20 +7438,20 @@ var DynamicSelection = ({ close: closePopover, expired = false }) => {
7306
7438
  onClose: closePopover,
7307
7439
  selectedValue: dynamicValue?.name,
7308
7440
  itemStyle: (item) => item.type === "item" ? { paddingInlineStart: theme.spacing(3.5) } : {},
7309
- noResultsComponent: /* @__PURE__ */ React101.createElement(NoResults, { searchValue, onClear: () => setSearchValue("") })
7441
+ noResultsComponent: /* @__PURE__ */ React102.createElement(NoResults, { searchValue, onClear: () => setSearchValue("") })
7310
7442
  }
7311
7443
  ));
7312
7444
  };
7313
- return /* @__PURE__ */ React101.createElement(SectionPopoverBody, { "aria-label": __76("Dynamic tags", "elementor") }, /* @__PURE__ */ React101.createElement(
7445
+ return /* @__PURE__ */ React102.createElement(SectionPopoverBody, { "aria-label": __77("Dynamic tags", "elementor") }, /* @__PURE__ */ React102.createElement(
7314
7446
  PopoverHeader,
7315
7447
  {
7316
- title: __76("Dynamic tags", "elementor"),
7448
+ title: __77("Dynamic tags", "elementor"),
7317
7449
  onClose: closePopover,
7318
- icon: /* @__PURE__ */ React101.createElement(DatabaseIcon2, { fontSize: SIZE2 })
7450
+ icon: /* @__PURE__ */ React102.createElement(DatabaseIcon2, { fontSize: SIZE2 })
7319
7451
  }
7320
7452
  ), getPopOverContent());
7321
7453
  };
7322
- var NoResults = ({ searchValue, onClear }) => /* @__PURE__ */ React101.createElement(
7454
+ var NoResults = ({ searchValue, onClear }) => /* @__PURE__ */ React102.createElement(
7323
7455
  Stack18,
7324
7456
  {
7325
7457
  gap: 1,
@@ -7330,11 +7462,11 @@ var NoResults = ({ searchValue, onClear }) => /* @__PURE__ */ React101.createEle
7330
7462
  color: "text.secondary",
7331
7463
  sx: { pb: 3.5 }
7332
7464
  },
7333
- /* @__PURE__ */ React101.createElement(DatabaseIcon2, { fontSize: "large" }),
7334
- /* @__PURE__ */ React101.createElement(Typography6, { align: "center", variant: "subtitle2" }, __76("Sorry, nothing matched", "elementor"), /* @__PURE__ */ React101.createElement("br", null), "\u201C", searchValue, "\u201D."),
7335
- /* @__PURE__ */ React101.createElement(Typography6, { align: "center", variant: "caption", sx: { display: "flex", flexDirection: "column" } }, __76("Try something else.", "elementor"), /* @__PURE__ */ React101.createElement(Link2, { color: "text.secondary", variant: "caption", component: "button", onClick: onClear }, __76("Clear & try again", "elementor")))
7465
+ /* @__PURE__ */ React102.createElement(DatabaseIcon2, { fontSize: "large" }),
7466
+ /* @__PURE__ */ React102.createElement(Typography6, { align: "center", variant: "subtitle2" }, __77("Sorry, nothing matched", "elementor"), /* @__PURE__ */ React102.createElement("br", null), "\u201C", searchValue, "\u201D."),
7467
+ /* @__PURE__ */ React102.createElement(Typography6, { align: "center", variant: "caption", sx: { display: "flex", flexDirection: "column" } }, __77("Try something else.", "elementor"), /* @__PURE__ */ React102.createElement(Link3, { color: "text.secondary", variant: "caption", component: "button", onClick: onClear }, __77("Clear & try again", "elementor")))
7336
7468
  );
7337
- var NoDynamicTags = () => /* @__PURE__ */ React101.createElement(React101.Fragment, null, /* @__PURE__ */ React101.createElement(Divider7, null), /* @__PURE__ */ React101.createElement(
7469
+ var NoDynamicTags = () => /* @__PURE__ */ React102.createElement(React102.Fragment, null, /* @__PURE__ */ React102.createElement(Divider7, null), /* @__PURE__ */ React102.createElement(
7338
7470
  Stack18,
7339
7471
  {
7340
7472
  gap: 1,
@@ -7345,10 +7477,10 @@ var NoDynamicTags = () => /* @__PURE__ */ React101.createElement(React101.Fragme
7345
7477
  color: "text.secondary",
7346
7478
  sx: { pb: 3.5 }
7347
7479
  },
7348
- /* @__PURE__ */ React101.createElement(DatabaseIcon2, { fontSize: "large" }),
7349
- /* @__PURE__ */ React101.createElement(Typography6, { align: "center", variant: "subtitle2" }, __76("Streamline your workflow with dynamic tags", "elementor")),
7350
- /* @__PURE__ */ React101.createElement(Typography6, { align: "center", variant: "caption", width: PROMO_TEXT_WIDTH }, __76("Upgrade now to display your content dynamically.", "elementor")),
7351
- /* @__PURE__ */ React101.createElement(
7480
+ /* @__PURE__ */ React102.createElement(DatabaseIcon2, { fontSize: "large" }),
7481
+ /* @__PURE__ */ React102.createElement(Typography6, { align: "center", variant: "subtitle2" }, __77("Streamline your workflow with dynamic tags", "elementor")),
7482
+ /* @__PURE__ */ React102.createElement(Typography6, { align: "center", variant: "caption", width: PROMO_TEXT_WIDTH }, __77("Upgrade now to display your content dynamically.", "elementor")),
7483
+ /* @__PURE__ */ React102.createElement(
7352
7484
  CtaButton,
7353
7485
  {
7354
7486
  size: "small",
@@ -7357,7 +7489,7 @@ var NoDynamicTags = () => /* @__PURE__ */ React101.createElement(React101.Fragme
7357
7489
  }
7358
7490
  )
7359
7491
  ));
7360
- var ExpiredDynamicTags = () => /* @__PURE__ */ React101.createElement(React101.Fragment, null, /* @__PURE__ */ React101.createElement(Divider7, null), /* @__PURE__ */ React101.createElement(
7492
+ var ExpiredDynamicTags = () => /* @__PURE__ */ React102.createElement(React102.Fragment, null, /* @__PURE__ */ React102.createElement(Divider7, null), /* @__PURE__ */ React102.createElement(
7361
7493
  Stack18,
7362
7494
  {
7363
7495
  gap: 1,
@@ -7368,16 +7500,16 @@ var ExpiredDynamicTags = () => /* @__PURE__ */ React101.createElement(React101.F
7368
7500
  color: "text.secondary",
7369
7501
  sx: { pb: 3.5 }
7370
7502
  },
7371
- /* @__PURE__ */ React101.createElement(DatabaseIcon2, { fontSize: "large" }),
7372
- /* @__PURE__ */ React101.createElement(Typography6, { align: "center", variant: "subtitle2" }, __76("Unlock your Dynamic tags again", "elementor")),
7373
- /* @__PURE__ */ React101.createElement(Typography6, { align: "center", variant: "caption", width: PROMO_TEXT_WIDTH }, __76("Dynamic tags need Elementor Pro. Renew now to keep them active.", "elementor")),
7374
- /* @__PURE__ */ React101.createElement(
7503
+ /* @__PURE__ */ React102.createElement(DatabaseIcon2, { fontSize: "large" }),
7504
+ /* @__PURE__ */ React102.createElement(Typography6, { align: "center", variant: "subtitle2" }, __77("Unlock your Dynamic tags again", "elementor")),
7505
+ /* @__PURE__ */ React102.createElement(Typography6, { align: "center", variant: "caption", width: PROMO_TEXT_WIDTH }, __77("Dynamic tags need Elementor Pro. Renew now to keep them active.", "elementor")),
7506
+ /* @__PURE__ */ React102.createElement(
7375
7507
  CtaButton,
7376
7508
  {
7377
7509
  size: "small",
7378
7510
  href: RENEW_DYNAMIC_TAGS_URL,
7379
7511
  onClick: () => trackUpgradePromotionClick({ target_name: "dynamic_tags" }),
7380
- children: __76("Renew Now", "elementor")
7512
+ children: __77("Renew Now", "elementor")
7381
7513
  }
7382
7514
  )
7383
7515
  ));
@@ -7401,8 +7533,8 @@ var useFilteredOptions = (searchValue) => {
7401
7533
  var SIZE3 = "tiny";
7402
7534
  var tagsWithoutTabs = ["popup"];
7403
7535
  var DynamicSelectionControl = ({ OriginalControl, ...props }) => {
7404
- const { setValue: setAnyValue, propType } = useBoundProp12();
7405
- const { bind, value } = useBoundProp12(dynamicPropTypeUtil);
7536
+ const { setValue: setAnyValue, propType } = useBoundProp13();
7537
+ const { bind, value } = useBoundProp13(dynamicPropTypeUtil);
7406
7538
  const { expired: readonly } = useLicenseConfig();
7407
7539
  const originalPropType = createTopLevelObjectType({
7408
7540
  schema: {
@@ -7414,7 +7546,7 @@ var DynamicSelectionControl = ({ OriginalControl, ...props }) => {
7414
7546
  const { name: tagName = "" } = value;
7415
7547
  const dynamicTag = useDynamicTag(tagName);
7416
7548
  if (!isDynamicTagSupported(tagName) && OriginalControl) {
7417
- return /* @__PURE__ */ React102.createElement(PropProvider6, { propType: originalPropType, value: { [bind]: null }, setValue: setAnyValue }, /* @__PURE__ */ React102.createElement(PropKeyProvider6, { bind }, /* @__PURE__ */ React102.createElement(OriginalControl, { ...props })));
7549
+ return /* @__PURE__ */ React103.createElement(PropProvider6, { propType: originalPropType, value: { [bind]: null }, setValue: setAnyValue }, /* @__PURE__ */ React103.createElement(PropKeyProvider6, { bind }, /* @__PURE__ */ React103.createElement(OriginalControl, { ...props })));
7418
7550
  }
7419
7551
  const removeDynamicTag = () => {
7420
7552
  setAnyValue(propValueFromHistory ?? null);
@@ -7422,25 +7554,25 @@ var DynamicSelectionControl = ({ OriginalControl, ...props }) => {
7422
7554
  if (!dynamicTag) {
7423
7555
  throw new Error(`Dynamic tag ${tagName} not found`);
7424
7556
  }
7425
- return /* @__PURE__ */ React102.createElement(Box8, null, /* @__PURE__ */ React102.createElement(
7557
+ return /* @__PURE__ */ React103.createElement(Box9, null, /* @__PURE__ */ React103.createElement(
7426
7558
  Tag,
7427
7559
  {
7428
7560
  fullWidth: true,
7429
7561
  showActionsOnHover: true,
7430
7562
  label: dynamicTag.label,
7431
- startIcon: /* @__PURE__ */ React102.createElement(DatabaseIcon3, { fontSize: SIZE3 }),
7563
+ startIcon: /* @__PURE__ */ React103.createElement(DatabaseIcon3, { fontSize: SIZE3 }),
7432
7564
  ...bindTrigger2(selectionPopoverState),
7433
- actions: /* @__PURE__ */ React102.createElement(React102.Fragment, null, /* @__PURE__ */ React102.createElement(DynamicSettingsPopover, { dynamicTag, disabled: readonly }), /* @__PURE__ */ React102.createElement(
7565
+ actions: /* @__PURE__ */ React103.createElement(React103.Fragment, null, /* @__PURE__ */ React103.createElement(DynamicSettingsPopover, { dynamicTag, disabled: readonly }), /* @__PURE__ */ React103.createElement(
7434
7566
  IconButton2,
7435
7567
  {
7436
7568
  size: SIZE3,
7437
7569
  onClick: removeDynamicTag,
7438
- "aria-label": __77("Remove dynamic value", "elementor")
7570
+ "aria-label": __78("Remove dynamic value", "elementor")
7439
7571
  },
7440
- /* @__PURE__ */ React102.createElement(XIcon, { fontSize: SIZE3 })
7572
+ /* @__PURE__ */ React103.createElement(XIcon, { fontSize: SIZE3 })
7441
7573
  ))
7442
7574
  }
7443
- ), /* @__PURE__ */ React102.createElement(
7575
+ ), /* @__PURE__ */ React103.createElement(
7444
7576
  Popover,
7445
7577
  {
7446
7578
  disablePortal: true,
@@ -7452,7 +7584,7 @@ var DynamicSelectionControl = ({ OriginalControl, ...props }) => {
7452
7584
  },
7453
7585
  ...bindPopover(selectionPopoverState)
7454
7586
  },
7455
- /* @__PURE__ */ React102.createElement(SectionPopoverBody2, { "aria-label": __77("Dynamic tags", "elementor") }, /* @__PURE__ */ React102.createElement(DynamicSelection, { close: selectionPopoverState.close, expired: readonly }))
7587
+ /* @__PURE__ */ React103.createElement(SectionPopoverBody2, { "aria-label": __78("Dynamic tags", "elementor") }, /* @__PURE__ */ React103.createElement(DynamicSelection, { close: selectionPopoverState.close, expired: readonly }))
7456
7588
  ));
7457
7589
  };
7458
7590
  var DynamicSettingsPopover = ({
@@ -7464,16 +7596,16 @@ var DynamicSettingsPopover = ({
7464
7596
  if (!hasDynamicSettings) {
7465
7597
  return null;
7466
7598
  }
7467
- return /* @__PURE__ */ React102.createElement(React102.Fragment, null, /* @__PURE__ */ React102.createElement(
7599
+ return /* @__PURE__ */ React103.createElement(React103.Fragment, null, /* @__PURE__ */ React103.createElement(
7468
7600
  IconButton2,
7469
7601
  {
7470
7602
  size: SIZE3,
7471
7603
  disabled,
7472
7604
  ...!disabled && bindTrigger2(popupState),
7473
- "aria-label": __77("Dynamic settings", "elementor")
7605
+ "aria-label": __78("Dynamic settings", "elementor")
7474
7606
  },
7475
- /* @__PURE__ */ React102.createElement(SettingsIcon, { fontSize: SIZE3 })
7476
- ), /* @__PURE__ */ React102.createElement(
7607
+ /* @__PURE__ */ React103.createElement(SettingsIcon, { fontSize: SIZE3 })
7608
+ ), /* @__PURE__ */ React103.createElement(
7477
7609
  Popover,
7478
7610
  {
7479
7611
  disablePortal: true,
@@ -7485,14 +7617,14 @@ var DynamicSettingsPopover = ({
7485
7617
  },
7486
7618
  ...bindPopover(popupState)
7487
7619
  },
7488
- /* @__PURE__ */ React102.createElement(SectionPopoverBody2, { "aria-label": __77("Dynamic settings", "elementor") }, /* @__PURE__ */ React102.createElement(
7620
+ /* @__PURE__ */ React103.createElement(SectionPopoverBody2, { "aria-label": __78("Dynamic settings", "elementor") }, /* @__PURE__ */ React103.createElement(
7489
7621
  PopoverHeader2,
7490
7622
  {
7491
7623
  title: dynamicTag.label,
7492
7624
  onClose: popupState.close,
7493
- icon: /* @__PURE__ */ React102.createElement(DatabaseIcon3, { fontSize: SIZE3 })
7625
+ icon: /* @__PURE__ */ React103.createElement(DatabaseIcon3, { fontSize: SIZE3 })
7494
7626
  }
7495
- ), /* @__PURE__ */ React102.createElement(DynamicSettings, { controls: dynamicTag.atomic_controls, tagName: dynamicTag.name }))
7627
+ ), /* @__PURE__ */ React103.createElement(DynamicSettings, { controls: dynamicTag.atomic_controls, tagName: dynamicTag.name }))
7496
7628
  ));
7497
7629
  };
7498
7630
  var DynamicSettings = ({ controls, tagName }) => {
@@ -7503,9 +7635,9 @@ var DynamicSettings = ({ controls, tagName }) => {
7503
7635
  }
7504
7636
  if (tagsWithoutTabs.includes(tagName)) {
7505
7637
  const singleTab = tabs[0];
7506
- return /* @__PURE__ */ React102.createElement(React102.Fragment, null, /* @__PURE__ */ React102.createElement(Divider8, null), /* @__PURE__ */ React102.createElement(ControlsItemsStack, { items: singleTab.value.items }));
7638
+ return /* @__PURE__ */ React103.createElement(React103.Fragment, null, /* @__PURE__ */ React103.createElement(Divider8, null), /* @__PURE__ */ React103.createElement(ControlsItemsStack, { items: singleTab.value.items }));
7507
7639
  }
7508
- return /* @__PURE__ */ React102.createElement(React102.Fragment, null, tabs.length > 1 && /* @__PURE__ */ React102.createElement(Tabs2, { size: "small", variant: "fullWidth", ...getTabsProps() }, tabs.map(({ value }, index) => /* @__PURE__ */ React102.createElement(
7640
+ return /* @__PURE__ */ React103.createElement(React103.Fragment, null, tabs.length > 1 && /* @__PURE__ */ React103.createElement(Tabs2, { size: "small", variant: "fullWidth", ...getTabsProps() }, tabs.map(({ value }, index) => /* @__PURE__ */ React103.createElement(
7509
7641
  Tab2,
7510
7642
  {
7511
7643
  key: index,
@@ -7513,15 +7645,15 @@ var DynamicSettings = ({ controls, tagName }) => {
7513
7645
  sx: { px: 1, py: 0.5 },
7514
7646
  ...getTabProps(index)
7515
7647
  }
7516
- ))), /* @__PURE__ */ React102.createElement(Divider8, null), tabs.map(({ value }, index) => {
7517
- return /* @__PURE__ */ React102.createElement(
7648
+ ))), /* @__PURE__ */ React103.createElement(Divider8, null), tabs.map(({ value }, index) => {
7649
+ return /* @__PURE__ */ React103.createElement(
7518
7650
  TabPanel2,
7519
7651
  {
7520
7652
  key: index,
7521
7653
  sx: { flexGrow: 1, py: 0, overflowY: "auto" },
7522
7654
  ...getTabPanelProps(index)
7523
7655
  },
7524
- /* @__PURE__ */ React102.createElement(ControlsItemsStack, { items: value.items })
7656
+ /* @__PURE__ */ React103.createElement(ControlsItemsStack, { items: value.items })
7525
7657
  );
7526
7658
  }));
7527
7659
  };
@@ -7563,11 +7695,11 @@ var Control2 = ({ control }) => {
7563
7695
  display: "grid",
7564
7696
  gridTemplateColumns: isSwitchControl ? "minmax(0, 1fr) max-content" : "1fr 1fr"
7565
7697
  } : {};
7566
- return /* @__PURE__ */ React102.createElement(DynamicControl, { bind: control.bind }, /* @__PURE__ */ React102.createElement(Grid8, { container: true, gap: 0.75, sx: layoutStyleProps }, control.label ? /* @__PURE__ */ React102.createElement(Grid8, { item: true, xs: 12 }, /* @__PURE__ */ React102.createElement(ControlFormLabel6, null, control.label)) : null, /* @__PURE__ */ React102.createElement(Grid8, { item: true, xs: 12 }, /* @__PURE__ */ React102.createElement(Control, { type: control.type, props: controlProps }))));
7698
+ return /* @__PURE__ */ React103.createElement(DynamicControl, { bind: control.bind }, /* @__PURE__ */ React103.createElement(Grid8, { container: true, gap: 0.75, sx: layoutStyleProps }, control.label ? /* @__PURE__ */ React103.createElement(Grid8, { item: true, xs: 12 }, /* @__PURE__ */ React103.createElement(ControlFormLabel6, null, control.label)) : null, /* @__PURE__ */ React103.createElement(Grid8, { item: true, xs: 12 }, /* @__PURE__ */ React103.createElement(Control, { type: control.type, props: controlProps }))));
7567
7699
  };
7568
7700
  function ControlsItemsStack({ items: items3 }) {
7569
- return /* @__PURE__ */ React102.createElement(Stack19, { p: 2, gap: 2, sx: { overflowY: "auto" } }, items3.map(
7570
- (item) => item.type === "control" ? /* @__PURE__ */ React102.createElement(Control2, { key: item.value.bind, control: item.value }) : null
7701
+ return /* @__PURE__ */ React103.createElement(Stack19, { p: 2, gap: 2, sx: { overflowY: "auto" } }, items3.map(
7702
+ (item) => item.type === "control" ? /* @__PURE__ */ React103.createElement(Control2, { key: item.value.bind, control: item.value }) : null
7571
7703
  ));
7572
7704
  }
7573
7705
 
@@ -7624,18 +7756,18 @@ function getDynamicValue(name, settings, renderPostId) {
7624
7756
  }
7625
7757
 
7626
7758
  // src/dynamics/hooks/use-prop-dynamic-action.tsx
7627
- import * as React103 from "react";
7628
- import { useBoundProp as useBoundProp13 } from "@elementor/editor-controls";
7759
+ import * as React104 from "react";
7760
+ import { useBoundProp as useBoundProp14 } from "@elementor/editor-controls";
7629
7761
  import { DatabaseIcon as DatabaseIcon4 } from "@elementor/icons";
7630
- import { __ as __78 } from "@wordpress/i18n";
7762
+ import { __ as __79 } from "@wordpress/i18n";
7631
7763
  var usePropDynamicAction = () => {
7632
- const { propType } = useBoundProp13();
7764
+ const { propType } = useBoundProp14();
7633
7765
  const visible = !!propType && supportsDynamic(propType);
7634
7766
  return {
7635
7767
  visible,
7636
7768
  icon: DatabaseIcon4,
7637
- title: __78("Dynamic tags", "elementor"),
7638
- content: ({ close }) => /* @__PURE__ */ React103.createElement(DynamicSelection, { close })
7769
+ title: __79("Dynamic tags", "elementor"),
7770
+ content: ({ close }) => /* @__PURE__ */ React104.createElement(DynamicSelection, { close })
7639
7771
  };
7640
7772
  };
7641
7773
 
@@ -7666,11 +7798,11 @@ var init2 = () => {
7666
7798
  };
7667
7799
 
7668
7800
  // src/reset-style-props.tsx
7669
- import { useBoundProp as useBoundProp14 } from "@elementor/editor-controls";
7801
+ import { useBoundProp as useBoundProp15 } from "@elementor/editor-controls";
7670
7802
  import { hasVariable as hasVariable2 } from "@elementor/editor-variables";
7671
7803
  import { BrushBigIcon } from "@elementor/icons";
7672
7804
  import { controlActionsMenu as controlActionsMenu3 } from "@elementor/menus";
7673
- import { __ as __79 } from "@wordpress/i18n";
7805
+ import { __ as __80 } from "@wordpress/i18n";
7674
7806
 
7675
7807
  // src/utils/is-equal.ts
7676
7808
  function isEqual(a, b) {
@@ -7726,7 +7858,7 @@ function initResetStyleProps() {
7726
7858
  }
7727
7859
  function useResetStyleValueProps() {
7728
7860
  const isStyle = useIsStyle();
7729
- const { value, resetValue, propType } = useBoundProp14();
7861
+ const { value, resetValue, propType } = useBoundProp15();
7730
7862
  const hasValue = value !== null && value !== void 0;
7731
7863
  const hasInitial = propType.initial_value !== void 0 && propType.initial_value !== null;
7732
7864
  const isRequired = !!propType.settings?.required;
@@ -7746,22 +7878,22 @@ function useResetStyleValueProps() {
7746
7878
  const visible = calculateVisibility();
7747
7879
  return {
7748
7880
  visible,
7749
- title: __79("Clear", "elementor"),
7881
+ title: __80("Clear", "elementor"),
7750
7882
  icon: BrushBigIcon,
7751
7883
  onClick: () => resetValue()
7752
7884
  };
7753
7885
  }
7754
7886
 
7755
7887
  // src/styles-inheritance/components/styles-inheritance-indicator.tsx
7756
- import * as React109 from "react";
7757
- import { useBoundProp as useBoundProp15 } from "@elementor/editor-controls";
7888
+ import * as React110 from "react";
7889
+ import { useBoundProp as useBoundProp16 } from "@elementor/editor-controls";
7758
7890
  import { isEmpty as isEmpty3 } from "@elementor/editor-props";
7759
7891
  import { ELEMENTS_BASE_STYLES_PROVIDER_KEY as ELEMENTS_BASE_STYLES_PROVIDER_KEY4 } from "@elementor/editor-styles-repository";
7760
- import { __ as __83 } from "@wordpress/i18n";
7892
+ import { __ as __84 } from "@wordpress/i18n";
7761
7893
 
7762
7894
  // src/styles-inheritance/components/styles-inheritance-infotip.tsx
7763
- import * as React108 from "react";
7764
- import { useMemo as useMemo14, useRef as useRef22, useState as useState12 } from "react";
7895
+ import * as React109 from "react";
7896
+ import { useMemo as useMemo14, useRef as useRef22, useState as useState13 } from "react";
7765
7897
  import {
7766
7898
  createPropsResolver as createPropsResolver2,
7767
7899
  stylesInheritanceTransformersRegistry
@@ -7769,29 +7901,29 @@ import {
7769
7901
  import { PopoverHeader as PopoverHeader3, useSectionWidth as useSectionWidth2 } from "@elementor/editor-ui";
7770
7902
  import {
7771
7903
  Backdrop,
7772
- Box as Box10,
7904
+ Box as Box11,
7773
7905
  Card,
7774
7906
  CardContent,
7775
7907
  ClickAwayListener,
7776
7908
  IconButton as IconButton3,
7777
- Infotip as Infotip3,
7909
+ Infotip as Infotip4,
7778
7910
  Stack as Stack20,
7779
7911
  Tooltip as Tooltip7
7780
7912
  } from "@elementor/ui";
7781
- import { __ as __82 } from "@wordpress/i18n";
7913
+ import { __ as __83 } from "@wordpress/i18n";
7782
7914
 
7783
7915
  // src/styles-inheritance/hooks/use-normalized-inheritance-chain-items.tsx
7784
- import { isValidElement, useEffect as useEffect12, useState as useState11 } from "react";
7916
+ import { isValidElement, useEffect as useEffect12, useState as useState12 } from "react";
7785
7917
  import { UnknownStyleStateError } from "@elementor/editor-canvas";
7786
7918
  import {
7787
7919
  isClassState as isClassState2,
7788
7920
  isPseudoState
7789
7921
  } from "@elementor/editor-styles";
7790
7922
  import { ELEMENTS_BASE_STYLES_PROVIDER_KEY as ELEMENTS_BASE_STYLES_PROVIDER_KEY2 } from "@elementor/editor-styles-repository";
7791
- import { __ as __80 } from "@wordpress/i18n";
7923
+ import { __ as __81 } from "@wordpress/i18n";
7792
7924
  var MAXIMUM_ITEMS = 2;
7793
7925
  var useNormalizedInheritanceChainItems = (inheritanceChain, bind, resolve) => {
7794
- const [items3, setItems] = useState11([]);
7926
+ const [items3, setItems] = useState12([]);
7795
7927
  useEffect12(() => {
7796
7928
  (async () => {
7797
7929
  const normalizedItems = await Promise.all(
@@ -7799,7 +7931,7 @@ var useNormalizedInheritanceChainItems = (inheritanceChain, bind, resolve) => {
7799
7931
  );
7800
7932
  const validItems = normalizedItems.map((item) => ({
7801
7933
  ...item,
7802
- displayLabel: ELEMENTS_BASE_STYLES_PROVIDER_KEY2 !== item.provider ? item.displayLabel : __80("Base", "elementor")
7934
+ displayLabel: ELEMENTS_BASE_STYLES_PROVIDER_KEY2 !== item.provider ? item.displayLabel : __81("Base", "elementor")
7803
7935
  })).filter((item) => !item.value || item.displayLabel !== "").slice(0, MAXIMUM_ITEMS);
7804
7936
  setItems(validItems);
7805
7937
  })();
@@ -7856,8 +7988,8 @@ var getTransformedValue = async (item, bind, resolve) => {
7856
7988
  };
7857
7989
 
7858
7990
  // src/styles-inheritance/components/infotip/breakpoint-icon.tsx
7859
- import * as React104 from "react";
7860
- import { useBreakpoints } from "@elementor/editor-responsive";
7991
+ import * as React105 from "react";
7992
+ import { useBreakpoints as useBreakpoints2 } from "@elementor/editor-responsive";
7861
7993
  import {
7862
7994
  DesktopIcon,
7863
7995
  LaptopIcon,
@@ -7880,27 +8012,27 @@ var breakpointIconMap = {
7880
8012
  mobile: MobilePortraitIcon
7881
8013
  };
7882
8014
  var BreakpointIcon = ({ breakpoint }) => {
7883
- const breakpoints = useBreakpoints();
8015
+ const breakpoints = useBreakpoints2();
7884
8016
  const currentBreakpoint = breakpoint || DEFAULT_BREAKPOINT3;
7885
8017
  const IconComponent = breakpointIconMap[currentBreakpoint];
7886
8018
  if (!IconComponent) {
7887
8019
  return null;
7888
8020
  }
7889
8021
  const breakpointLabel = breakpoints.find((breakpointItem) => breakpointItem.id === currentBreakpoint)?.label;
7890
- return /* @__PURE__ */ React104.createElement(Tooltip4, { title: breakpointLabel, placement: "top" }, /* @__PURE__ */ React104.createElement(IconComponent, { fontSize: SIZE4, sx: { mt: "2px" } }));
8022
+ return /* @__PURE__ */ React105.createElement(Tooltip4, { title: breakpointLabel, placement: "top" }, /* @__PURE__ */ React105.createElement(IconComponent, { fontSize: SIZE4, sx: { mt: "2px" } }));
7891
8023
  };
7892
8024
 
7893
8025
  // src/styles-inheritance/components/infotip/label-chip.tsx
7894
- import * as React105 from "react";
8026
+ import * as React106 from "react";
7895
8027
  import { ELEMENTS_BASE_STYLES_PROVIDER_KEY as ELEMENTS_BASE_STYLES_PROVIDER_KEY3 } from "@elementor/editor-styles-repository";
7896
8028
  import { InfoCircleIcon as InfoCircleIcon2 } from "@elementor/icons";
7897
8029
  import { Chip as Chip5, Tooltip as Tooltip5 } from "@elementor/ui";
7898
- import { __ as __81 } from "@wordpress/i18n";
8030
+ import { __ as __82 } from "@wordpress/i18n";
7899
8031
  var SIZE5 = "tiny";
7900
8032
  var LabelChip = ({ displayLabel, provider }) => {
7901
8033
  const isBaseStyle = provider === ELEMENTS_BASE_STYLES_PROVIDER_KEY3;
7902
- const chipIcon = isBaseStyle ? /* @__PURE__ */ React105.createElement(Tooltip5, { title: __81("Inherited from base styles", "elementor"), placement: "top" }, /* @__PURE__ */ React105.createElement(InfoCircleIcon2, { fontSize: SIZE5 })) : void 0;
7903
- return /* @__PURE__ */ React105.createElement(
8034
+ const chipIcon = isBaseStyle ? /* @__PURE__ */ React106.createElement(Tooltip5, { title: __82("Inherited from base styles", "elementor"), placement: "top" }, /* @__PURE__ */ React106.createElement(InfoCircleIcon2, { fontSize: SIZE5 })) : void 0;
8035
+ return /* @__PURE__ */ React106.createElement(
7904
8036
  Chip5,
7905
8037
  {
7906
8038
  label: displayLabel,
@@ -7926,10 +8058,10 @@ var LabelChip = ({ displayLabel, provider }) => {
7926
8058
  };
7927
8059
 
7928
8060
  // src/styles-inheritance/components/infotip/value-component.tsx
7929
- import * as React106 from "react";
8061
+ import * as React107 from "react";
7930
8062
  import { Tooltip as Tooltip6, Typography as Typography7 } from "@elementor/ui";
7931
8063
  var ValueComponent = ({ index, value }) => {
7932
- return /* @__PURE__ */ React106.createElement(Tooltip6, { title: value, placement: "top" }, /* @__PURE__ */ React106.createElement(
8064
+ return /* @__PURE__ */ React107.createElement(Tooltip6, { title: value, placement: "top" }, /* @__PURE__ */ React107.createElement(
7933
8065
  Typography7,
7934
8066
  {
7935
8067
  variant: "caption",
@@ -7951,9 +8083,9 @@ var ValueComponent = ({ index, value }) => {
7951
8083
  };
7952
8084
 
7953
8085
  // src/styles-inheritance/components/infotip/action-icons.tsx
7954
- import * as React107 from "react";
7955
- import { Box as Box9 } from "@elementor/ui";
7956
- var ActionIcons = () => /* @__PURE__ */ React107.createElement(Box9, { display: "flex", gap: 0.5, alignItems: "center" });
8086
+ import * as React108 from "react";
8087
+ import { Box as Box10 } from "@elementor/ui";
8088
+ var ActionIcons = () => /* @__PURE__ */ React108.createElement(Box10, { display: "flex", gap: 0.5, alignItems: "center" });
7957
8089
 
7958
8090
  // src/styles-inheritance/components/styles-inheritance-infotip.tsx
7959
8091
  var SECTION_PADDING_INLINE = 32;
@@ -7966,7 +8098,7 @@ var StylesInheritanceInfotip = ({
7966
8098
  children,
7967
8099
  isDisabled
7968
8100
  }) => {
7969
- const [showInfotip, setShowInfotip] = useState12(false);
8101
+ const [showInfotip, setShowInfotip] = useState13(false);
7970
8102
  const triggerRef = useRef22(null);
7971
8103
  const toggleInfotip = () => {
7972
8104
  if (isDisabled) {
@@ -7989,7 +8121,7 @@ var StylesInheritanceInfotip = ({
7989
8121
  });
7990
8122
  }, [key, propType]);
7991
8123
  const items3 = useNormalizedInheritanceChainItems(inheritanceChain, key, resolve);
7992
- const infotipContent = /* @__PURE__ */ React108.createElement(ClickAwayListener, { onClickAway: closeInfotip }, /* @__PURE__ */ React108.createElement(
8124
+ const infotipContent = /* @__PURE__ */ React109.createElement(ClickAwayListener, { onClickAway: closeInfotip }, /* @__PURE__ */ React109.createElement(
7993
8125
  Card,
7994
8126
  {
7995
8127
  elevation: 0,
@@ -8002,8 +8134,8 @@ var StylesInheritanceInfotip = ({
8002
8134
  flexDirection: "column"
8003
8135
  }
8004
8136
  },
8005
- /* @__PURE__ */ React108.createElement(
8006
- Box10,
8137
+ /* @__PURE__ */ React109.createElement(
8138
+ Box11,
8007
8139
  {
8008
8140
  sx: {
8009
8141
  position: "sticky",
@@ -8012,9 +8144,9 @@ var StylesInheritanceInfotip = ({
8012
8144
  backgroundColor: "background.paper"
8013
8145
  }
8014
8146
  },
8015
- /* @__PURE__ */ React108.createElement(PopoverHeader3, { title: __82("Style origin", "elementor"), onClose: closeInfotip })
8147
+ /* @__PURE__ */ React109.createElement(PopoverHeader3, { title: __83("Style origin", "elementor"), onClose: closeInfotip })
8016
8148
  ),
8017
- /* @__PURE__ */ React108.createElement(
8149
+ /* @__PURE__ */ React109.createElement(
8018
8150
  CardContent,
8019
8151
  {
8020
8152
  sx: {
@@ -8028,39 +8160,39 @@ var StylesInheritanceInfotip = ({
8028
8160
  }
8029
8161
  }
8030
8162
  },
8031
- /* @__PURE__ */ React108.createElement(Stack20, { gap: 1.5, sx: { pl: 2, pr: 1, pt: 1.5, pb: 1.5 }, role: "list" }, items3.map((item, index) => {
8032
- return /* @__PURE__ */ React108.createElement(
8033
- Box10,
8163
+ /* @__PURE__ */ React109.createElement(Stack20, { gap: 1.5, sx: { pl: 2, pr: 1, pt: 1.5, pb: 1.5 }, role: "list" }, items3.map((item, index) => {
8164
+ return /* @__PURE__ */ React109.createElement(
8165
+ Box11,
8034
8166
  {
8035
8167
  key: item.id,
8036
8168
  display: "flex",
8037
8169
  gap: 0.5,
8038
8170
  role: "listitem",
8039
- "aria-label": __82("Inheritance item: %s", "elementor").replace(
8171
+ "aria-label": __83("Inheritance item: %s", "elementor").replace(
8040
8172
  "%s",
8041
8173
  item.displayLabel
8042
8174
  )
8043
8175
  },
8044
- /* @__PURE__ */ React108.createElement(
8045
- Box10,
8176
+ /* @__PURE__ */ React109.createElement(
8177
+ Box11,
8046
8178
  {
8047
8179
  display: "flex",
8048
8180
  gap: 0.5,
8049
8181
  sx: { flexWrap: "wrap", width: "100%", alignItems: "flex-start" }
8050
8182
  },
8051
- /* @__PURE__ */ React108.createElement(BreakpointIcon, { breakpoint: item.breakpoint }),
8052
- /* @__PURE__ */ React108.createElement(LabelChip, { displayLabel: item.displayLabel, provider: item.provider }),
8053
- /* @__PURE__ */ React108.createElement(ValueComponent, { index, value: item.value })
8183
+ /* @__PURE__ */ React109.createElement(BreakpointIcon, { breakpoint: item.breakpoint }),
8184
+ /* @__PURE__ */ React109.createElement(LabelChip, { displayLabel: item.displayLabel, provider: item.provider }),
8185
+ /* @__PURE__ */ React109.createElement(ValueComponent, { index, value: item.value })
8054
8186
  ),
8055
- /* @__PURE__ */ React108.createElement(ActionIcons, null)
8187
+ /* @__PURE__ */ React109.createElement(ActionIcons, null)
8056
8188
  );
8057
8189
  }))
8058
8190
  )
8059
8191
  ));
8060
8192
  if (isDisabled) {
8061
- return /* @__PURE__ */ React108.createElement(Box10, { sx: { display: "inline-flex" } }, children);
8193
+ return /* @__PURE__ */ React109.createElement(Box11, { sx: { display: "inline-flex" } }, children);
8062
8194
  }
8063
- return /* @__PURE__ */ React108.createElement(Box10, { ref: triggerRef, sx: { display: "inline-flex" } }, /* @__PURE__ */ React108.createElement(
8195
+ return /* @__PURE__ */ React109.createElement(Box11, { ref: triggerRef, sx: { display: "inline-flex" } }, /* @__PURE__ */ React109.createElement(
8064
8196
  TooltipOrInfotip,
8065
8197
  {
8066
8198
  showInfotip,
@@ -8068,7 +8200,7 @@ var StylesInheritanceInfotip = ({
8068
8200
  infotipContent,
8069
8201
  isDisabled
8070
8202
  },
8071
- /* @__PURE__ */ React108.createElement(
8203
+ /* @__PURE__ */ React109.createElement(
8072
8204
  IconButton3,
8073
8205
  {
8074
8206
  onClick: toggleInfotip,
@@ -8088,10 +8220,10 @@ function TooltipOrInfotip({
8088
8220
  isDisabled
8089
8221
  }) {
8090
8222
  if (isDisabled) {
8091
- return /* @__PURE__ */ React108.createElement(Box10, { sx: { display: "inline-flex" } }, children);
8223
+ return /* @__PURE__ */ React109.createElement(Box11, { sx: { display: "inline-flex" } }, children);
8092
8224
  }
8093
8225
  if (showInfotip) {
8094
- return /* @__PURE__ */ React108.createElement(React108.Fragment, null, /* @__PURE__ */ React108.createElement(
8226
+ return /* @__PURE__ */ React109.createElement(React109.Fragment, null, /* @__PURE__ */ React109.createElement(
8095
8227
  Backdrop,
8096
8228
  {
8097
8229
  open: showInfotip,
@@ -8101,8 +8233,8 @@ function TooltipOrInfotip({
8101
8233
  zIndex: (theme) => theme.zIndex.modal - 1
8102
8234
  }
8103
8235
  }
8104
- ), /* @__PURE__ */ React108.createElement(
8105
- Infotip3,
8236
+ ), /* @__PURE__ */ React109.createElement(
8237
+ Infotip4,
8106
8238
  {
8107
8239
  placement: "top-end",
8108
8240
  content: infotipContent,
@@ -8113,20 +8245,20 @@ function TooltipOrInfotip({
8113
8245
  children
8114
8246
  ));
8115
8247
  }
8116
- return /* @__PURE__ */ React108.createElement(Tooltip7, { title: __82("Style origin", "elementor"), placement: "top" }, children);
8248
+ return /* @__PURE__ */ React109.createElement(Tooltip7, { title: __83("Style origin", "elementor"), placement: "top" }, children);
8117
8249
  }
8118
8250
 
8119
8251
  // src/styles-inheritance/components/styles-inheritance-indicator.tsx
8120
8252
  var StylesInheritanceIndicator = ({
8121
8253
  customContext
8122
8254
  }) => {
8123
- const context = useBoundProp15();
8255
+ const context = useBoundProp16();
8124
8256
  const { path, propType } = customContext || context;
8125
8257
  const inheritanceChain = useStylesInheritanceChain(path);
8126
8258
  if (!path || !inheritanceChain.length) {
8127
8259
  return null;
8128
8260
  }
8129
- return /* @__PURE__ */ React109.createElement(Indicator, { inheritanceChain, path, propType });
8261
+ return /* @__PURE__ */ React110.createElement(Indicator, { inheritanceChain, path, propType });
8130
8262
  };
8131
8263
  var Indicator = ({ inheritanceChain, path, propType, isDisabled }) => {
8132
8264
  const { id: currentStyleId, provider: currentStyleProvider, meta: currentStyleMeta } = useStyle();
@@ -8142,7 +8274,7 @@ var Indicator = ({ inheritanceChain, path, propType, isDisabled }) => {
8142
8274
  getColor: isFinalValue && currentStyleProvider ? getStylesProviderThemeColor(currentStyleProvider.getKey()) : void 0,
8143
8275
  isOverridden: hasValue && !isFinalValue ? true : void 0
8144
8276
  };
8145
- return /* @__PURE__ */ React109.createElement(
8277
+ return /* @__PURE__ */ React110.createElement(
8146
8278
  StylesInheritanceInfotip,
8147
8279
  {
8148
8280
  inheritanceChain,
@@ -8151,17 +8283,17 @@ var Indicator = ({ inheritanceChain, path, propType, isDisabled }) => {
8151
8283
  label,
8152
8284
  isDisabled
8153
8285
  },
8154
- /* @__PURE__ */ React109.createElement(StyleIndicator, { ...styleIndicatorProps })
8286
+ /* @__PURE__ */ React110.createElement(StyleIndicator, { ...styleIndicatorProps })
8155
8287
  );
8156
8288
  };
8157
8289
  var getLabel = ({ isFinalValue, hasValue }) => {
8158
8290
  if (isFinalValue) {
8159
- return __83("This is the final value", "elementor");
8291
+ return __84("This is the final value", "elementor");
8160
8292
  }
8161
8293
  if (hasValue) {
8162
- return __83("This value is overridden by another style", "elementor");
8294
+ return __84("This value is overridden by another style", "elementor");
8163
8295
  }
8164
- return __83("This has value from another style", "elementor");
8296
+ return __84("This has value from another style", "elementor");
8165
8297
  };
8166
8298
 
8167
8299
  // src/styles-inheritance/init-styles-inheritance-transformers.ts
@@ -8186,7 +8318,7 @@ var excludePropTypeTransformers = /* @__PURE__ */ new Set([
8186
8318
  ]);
8187
8319
 
8188
8320
  // src/styles-inheritance/transformers/array-transformer.tsx
8189
- import * as React110 from "react";
8321
+ import * as React111 from "react";
8190
8322
  import { createTransformer as createTransformer2 } from "@elementor/editor-canvas";
8191
8323
  var arrayTransformer = createTransformer2((values) => {
8192
8324
  if (!values || values.length === 0) {
@@ -8196,16 +8328,16 @@ var arrayTransformer = createTransformer2((values) => {
8196
8328
  if (allStrings) {
8197
8329
  return values.join(" ");
8198
8330
  }
8199
- return /* @__PURE__ */ React110.createElement(React110.Fragment, null, values.map((item, index) => /* @__PURE__ */ React110.createElement(React110.Fragment, { key: index }, index > 0 && " ", item)));
8331
+ return /* @__PURE__ */ React111.createElement(React111.Fragment, null, values.map((item, index) => /* @__PURE__ */ React111.createElement(React111.Fragment, { key: index }, index > 0 && " ", item)));
8200
8332
  });
8201
8333
 
8202
8334
  // src/styles-inheritance/transformers/background-color-overlay-transformer.tsx
8203
- import * as React111 from "react";
8335
+ import * as React112 from "react";
8204
8336
  import { createTransformer as createTransformer3 } from "@elementor/editor-canvas";
8205
8337
  import { Stack as Stack21, styled as styled7, UnstableColorIndicator } from "@elementor/ui";
8206
- var backgroundColorOverlayTransformer = createTransformer3((value) => /* @__PURE__ */ React111.createElement(Stack21, { direction: "row", gap: 1, alignItems: "center" }, /* @__PURE__ */ React111.createElement(ItemLabelColor, { value })));
8338
+ var backgroundColorOverlayTransformer = createTransformer3((value) => /* @__PURE__ */ React112.createElement(Stack21, { direction: "row", gap: 1, alignItems: "center" }, /* @__PURE__ */ React112.createElement(ItemLabelColor, { value })));
8207
8339
  var ItemLabelColor = ({ value: { color } }) => {
8208
- return /* @__PURE__ */ React111.createElement("span", null, color);
8340
+ return /* @__PURE__ */ React112.createElement("span", null, color);
8209
8341
  };
8210
8342
  var StyledUnstableColorIndicator = styled7(UnstableColorIndicator)(({ theme }) => ({
8211
8343
  width: "1em",
@@ -8216,20 +8348,20 @@ var StyledUnstableColorIndicator = styled7(UnstableColorIndicator)(({ theme }) =
8216
8348
  }));
8217
8349
 
8218
8350
  // src/styles-inheritance/transformers/background-gradient-overlay-transformer.tsx
8219
- import * as React112 from "react";
8351
+ import * as React113 from "react";
8220
8352
  import { createTransformer as createTransformer4 } from "@elementor/editor-canvas";
8221
8353
  import { Stack as Stack22 } from "@elementor/ui";
8222
- import { __ as __84 } from "@wordpress/i18n";
8223
- var backgroundGradientOverlayTransformer = createTransformer4((value) => /* @__PURE__ */ React112.createElement(Stack22, { direction: "row", gap: 1, alignItems: "center" }, /* @__PURE__ */ React112.createElement(ItemIconGradient, { value }), /* @__PURE__ */ React112.createElement(ItemLabelGradient, { value })));
8354
+ import { __ as __85 } from "@wordpress/i18n";
8355
+ var backgroundGradientOverlayTransformer = createTransformer4((value) => /* @__PURE__ */ React113.createElement(Stack22, { direction: "row", gap: 1, alignItems: "center" }, /* @__PURE__ */ React113.createElement(ItemIconGradient, { value }), /* @__PURE__ */ React113.createElement(ItemLabelGradient, { value })));
8224
8356
  var ItemIconGradient = ({ value }) => {
8225
8357
  const gradient = getGradientValue(value);
8226
- return /* @__PURE__ */ React112.createElement(StyledUnstableColorIndicator, { size: "inherit", component: "span", value: gradient });
8358
+ return /* @__PURE__ */ React113.createElement(StyledUnstableColorIndicator, { size: "inherit", component: "span", value: gradient });
8227
8359
  };
8228
8360
  var ItemLabelGradient = ({ value }) => {
8229
8361
  if (value.type === "linear") {
8230
- return /* @__PURE__ */ React112.createElement("span", null, __84("Linear gradient", "elementor"));
8362
+ return /* @__PURE__ */ React113.createElement("span", null, __85("Linear gradient", "elementor"));
8231
8363
  }
8232
- return /* @__PURE__ */ React112.createElement("span", null, __84("Radial gradient", "elementor"));
8364
+ return /* @__PURE__ */ React113.createElement("span", null, __85("Radial gradient", "elementor"));
8233
8365
  };
8234
8366
  var getGradientValue = (gradient) => {
8235
8367
  const stops = gradient.stops?.map(({ color, offset }) => `${color} ${offset ?? 0}%`)?.join(",");
@@ -8240,15 +8372,15 @@ var getGradientValue = (gradient) => {
8240
8372
  };
8241
8373
 
8242
8374
  // src/styles-inheritance/transformers/background-image-overlay-transformer.tsx
8243
- import * as React113 from "react";
8375
+ import * as React114 from "react";
8244
8376
  import { createTransformer as createTransformer5 } from "@elementor/editor-canvas";
8245
8377
  import { EllipsisWithTooltip as EllipsisWithTooltip2 } from "@elementor/editor-ui";
8246
8378
  import { CardMedia, Stack as Stack23 } from "@elementor/ui";
8247
8379
  import { useWpMediaAttachment } from "@elementor/wp-media";
8248
- var backgroundImageOverlayTransformer = createTransformer5((value) => /* @__PURE__ */ React113.createElement(Stack23, { direction: "row", gap: 1, alignItems: "center" }, /* @__PURE__ */ React113.createElement(ItemIconImage, { value }), /* @__PURE__ */ React113.createElement(ItemLabelImage, { value })));
8380
+ var backgroundImageOverlayTransformer = createTransformer5((value) => /* @__PURE__ */ React114.createElement(Stack23, { direction: "row", gap: 1, alignItems: "center" }, /* @__PURE__ */ React114.createElement(ItemIconImage, { value }), /* @__PURE__ */ React114.createElement(ItemLabelImage, { value })));
8249
8381
  var ItemIconImage = ({ value }) => {
8250
8382
  const { imageUrl } = useImage(value);
8251
- return /* @__PURE__ */ React113.createElement(
8383
+ return /* @__PURE__ */ React114.createElement(
8252
8384
  CardMedia,
8253
8385
  {
8254
8386
  image: imageUrl,
@@ -8264,7 +8396,7 @@ var ItemIconImage = ({ value }) => {
8264
8396
  };
8265
8397
  var ItemLabelImage = ({ value }) => {
8266
8398
  const { imageTitle } = useImage(value);
8267
- return /* @__PURE__ */ React113.createElement(EllipsisWithTooltip2, { title: imageTitle }, /* @__PURE__ */ React113.createElement("span", null, imageTitle));
8399
+ return /* @__PURE__ */ React114.createElement(EllipsisWithTooltip2, { title: imageTitle }, /* @__PURE__ */ React114.createElement("span", null, imageTitle));
8268
8400
  };
8269
8401
  var useImage = (image) => {
8270
8402
  let imageTitle, imageUrl = null;
@@ -8289,7 +8421,7 @@ var getFileExtensionFromFilename = (filename) => {
8289
8421
  };
8290
8422
 
8291
8423
  // src/styles-inheritance/transformers/box-shadow-transformer.tsx
8292
- import * as React114 from "react";
8424
+ import * as React115 from "react";
8293
8425
  import { createTransformer as createTransformer6 } from "@elementor/editor-canvas";
8294
8426
  var boxShadowTransformer = createTransformer6((value) => {
8295
8427
  if (!value) {
@@ -8299,11 +8431,11 @@ var boxShadowTransformer = createTransformer6((value) => {
8299
8431
  const colorValue = color || "#000000";
8300
8432
  const sizes = [hOffset || "0px", vOffset || "0px", blur || "10px", spread || "0px"].join(" ");
8301
8433
  const positionValue = position || "outset";
8302
- return /* @__PURE__ */ React114.createElement(React114.Fragment, null, colorValue, " ", positionValue, ", ", sizes);
8434
+ return /* @__PURE__ */ React115.createElement(React115.Fragment, null, colorValue, " ", positionValue, ", ", sizes);
8303
8435
  });
8304
8436
 
8305
8437
  // src/styles-inheritance/transformers/color-transformer.tsx
8306
- import * as React115 from "react";
8438
+ import * as React116 from "react";
8307
8439
  import { createTransformer as createTransformer7 } from "@elementor/editor-canvas";
8308
8440
  import { Stack as Stack24, styled as styled8, UnstableColorIndicator as UnstableColorIndicator2 } from "@elementor/ui";
8309
8441
  function isValidCSSColor(value) {
@@ -8323,7 +8455,7 @@ var colorTransformer = createTransformer7((value) => {
8323
8455
  if (!isValidCSSColor(value)) {
8324
8456
  return value;
8325
8457
  }
8326
- return /* @__PURE__ */ React115.createElement(Stack24, { direction: "row", gap: 1, alignItems: "center" }, /* @__PURE__ */ React115.createElement(StyledColorIndicator, { size: "inherit", component: "span", value }), /* @__PURE__ */ React115.createElement("span", null, value));
8458
+ return /* @__PURE__ */ React116.createElement(Stack24, { direction: "row", gap: 1, alignItems: "center" }, /* @__PURE__ */ React116.createElement(StyledColorIndicator, { size: "inherit", component: "span", value }), /* @__PURE__ */ React116.createElement("span", null, value));
8327
8459
  });
8328
8460
 
8329
8461
  // src/styles-inheritance/transformers/repeater-to-items-transformer.tsx