@elementor/editor-editing-panel 4.1.0-749 → 4.1.0-750

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.js CHANGED
@@ -179,6 +179,9 @@ function useIsStyle() {
179
179
  return !!(0, import_react3.useContext)(Context3);
180
180
  }
181
181
 
182
+ // src/components/css-classes/consts.ts
183
+ var PENDING_CLASS_RENAME_SESSION_KEY = "pending-class-rename-id";
184
+
182
185
  // src/components/css-classes/css-class-convert-local.tsx
183
186
  var { Slot: CssClassConvertSlot, inject: injectIntoCssClassConvert } = (0, import_locations.createLocation)();
184
187
  var CssClassConvert = (props) => {
@@ -186,7 +189,7 @@ var CssClassConvert = (props) => {
186
189
  const elementId = element.id;
187
190
  const currentClassesProp = useClassesProp();
188
191
  const { setId: setActiveId } = useStyle();
189
- const [, saveValue] = (0, import_session.useSessionStorage)("last-converted-class-generated-name", "app");
192
+ const [, saveValue] = (0, import_session.useSessionStorage)(PENDING_CLASS_RENAME_SESSION_KEY, "app");
190
193
  const successCallback = (newId) => {
191
194
  if (!props.styleDef) {
192
195
  throw new Error("Style definition is required for converting local class to global class.");
@@ -222,14 +225,14 @@ var onConvert = (opts) => {
222
225
  };
223
226
 
224
227
  // src/components/css-classes/css-class-selector.tsx
225
- var React10 = __toESM(require("react"));
228
+ var React11 = __toESM(require("react"));
226
229
  var import_react10 = require("react");
227
- var import_editor_styles_repository8 = require("@elementor/editor-styles-repository");
228
- var import_editor_ui3 = require("@elementor/editor-ui");
230
+ var import_editor_styles_repository9 = require("@elementor/editor-styles-repository");
231
+ var import_editor_ui4 = require("@elementor/editor-ui");
229
232
  var import_icons2 = require("@elementor/icons");
230
233
  var import_locations2 = require("@elementor/locations");
231
234
  var import_ui7 = require("@elementor/ui");
232
- var import_i18n5 = require("@wordpress/i18n");
235
+ var import_i18n6 = require("@wordpress/i18n");
233
236
 
234
237
  // src/utils/get-styles-provider-color.ts
235
238
  var import_editor_styles_repository2 = require("@elementor/editor-styles-repository");
@@ -605,15 +608,15 @@ var StyledGroupItems = (0, import_ui2.styled)("ul")`
605
608
  `;
606
609
 
607
610
  // src/components/css-classes/css-class-item.tsx
608
- var React9 = __toESM(require("react"));
611
+ var React10 = __toESM(require("react"));
609
612
  var import_react9 = require("react");
610
613
  var import_editor_styles = require("@elementor/editor-styles");
611
- var import_editor_styles_repository7 = require("@elementor/editor-styles-repository");
612
- var import_editor_ui2 = require("@elementor/editor-ui");
614
+ var import_editor_styles_repository8 = require("@elementor/editor-styles-repository");
615
+ var import_editor_ui3 = require("@elementor/editor-ui");
613
616
  var import_icons = require("@elementor/icons");
614
- var import_session2 = require("@elementor/session");
617
+ var import_session3 = require("@elementor/session");
615
618
  var import_ui6 = require("@elementor/ui");
616
- var import_i18n4 = require("@wordpress/i18n");
619
+ var import_i18n5 = require("@wordpress/i18n");
617
620
 
618
621
  // src/components/css-classes/css-class-context.tsx
619
622
  var React6 = __toESM(require("react"));
@@ -631,11 +634,11 @@ function CssClassProvider({ children, ...contextValue }) {
631
634
  }
632
635
 
633
636
  // src/components/css-classes/css-class-menu.tsx
634
- var React8 = __toESM(require("react"));
635
- var import_editor_styles_repository6 = require("@elementor/editor-styles-repository");
636
- var import_editor_ui = require("@elementor/editor-ui");
637
+ var React9 = __toESM(require("react"));
638
+ var import_editor_styles_repository7 = require("@elementor/editor-styles-repository");
639
+ var import_editor_ui2 = require("@elementor/editor-ui");
637
640
  var import_ui5 = require("@elementor/ui");
638
- var import_i18n3 = require("@wordpress/i18n");
641
+ var import_i18n4 = require("@wordpress/i18n");
639
642
 
640
643
  // src/components/style-indicator.tsx
641
644
  var import_ui3 = require("@elementor/ui");
@@ -654,40 +657,19 @@ var StyleIndicator = (0, import_ui3.styled)("div", {
654
657
  }};
655
658
  `;
656
659
 
657
- // src/components/css-classes/local-class-sub-menu.tsx
660
+ // src/components/css-classes/duplicate-class-menu-item.tsx
658
661
  var React7 = __toESM(require("react"));
659
- var import_ui4 = require("@elementor/ui");
660
- var import_i18n = require("@wordpress/i18n");
661
-
662
- // src/components/css-classes/use-can-convert-local-class-to-global.ts
663
- var import_editor_styles_repository4 = require("@elementor/editor-styles-repository");
664
- var useCanConvertLocalClassToGlobal = () => {
665
- const { element } = useElement();
666
- const { provider, id, meta } = useStyle();
667
- const styleDef = provider?.actions.get(id, { elementId: element.id, ...meta });
668
- const isLocalStylesProvider = provider && (0, import_editor_styles_repository4.isElementsStylesProvider)(provider?.getKey());
669
- const variants = styleDef?.variants || [];
670
- const canConvert = !!(isLocalStylesProvider && variants.length);
671
- return {
672
- canConvert,
673
- isLocalStylesProvider,
674
- id,
675
- styleDef: styleDef || null
676
- };
677
- };
678
-
679
- // src/components/css-classes/local-class-sub-menu.tsx
680
- var LocalClassSubMenu = (props) => {
681
- const { canConvert, styleDef } = useCanConvertLocalClassToGlobal();
682
- return /* @__PURE__ */ React7.createElement(React7.Fragment, null, /* @__PURE__ */ React7.createElement(import_ui4.MenuSubheader, { sx: { typography: "caption", color: "text.secondary", pb: 0.5, pt: 1 } }, (0, import_i18n.__)("Local Class", "elementor")), /* @__PURE__ */ React7.createElement(CssClassConvert, { canConvert, styleDef, closeMenu: props.popupState.close }));
683
- };
662
+ var import_editor_styles_repository5 = require("@elementor/editor-styles-repository");
663
+ var import_editor_ui = require("@elementor/editor-ui");
664
+ var import_session2 = require("@elementor/session");
665
+ var import_i18n2 = require("@wordpress/i18n");
684
666
 
685
667
  // src/components/css-classes/use-apply-and-unapply-class.ts
686
668
  var import_react8 = require("react");
687
669
  var import_editor_elements3 = require("@elementor/editor-elements");
688
- var import_editor_styles_repository5 = require("@elementor/editor-styles-repository");
670
+ var import_editor_styles_repository4 = require("@elementor/editor-styles-repository");
689
671
  var import_editor_v1_adapters = require("@elementor/editor-v1-adapters");
690
- var import_i18n2 = require("@wordpress/i18n");
672
+ var import_i18n = require("@wordpress/i18n");
691
673
 
692
674
  // src/apply-unapply-actions.ts
693
675
  var import_editor_documents = require("@elementor/editor-documents");
@@ -736,7 +718,7 @@ function useApplyClass() {
736
718
  {
737
719
  title: (0, import_editor_elements3.getElementLabel)(element.id),
738
720
  subtitle: ({ classLabel }) => {
739
- return (0, import_i18n2.__)(`class %s applied`, "elementor").replace("%s", classLabel);
721
+ return (0, import_i18n.__)(`class %s applied`, "elementor").replace("%s", classLabel);
740
722
  }
741
723
  }
742
724
  );
@@ -763,7 +745,7 @@ function useUnapplyClass() {
763
745
  {
764
746
  title: (0, import_editor_elements3.getElementLabel)(element.id),
765
747
  subtitle: ({ classLabel }) => {
766
- return (0, import_i18n2.__)(`class %s removed`, "elementor").replace("%s", classLabel);
748
+ return (0, import_i18n.__)(`class %s removed`, "elementor").replace("%s", classLabel);
767
749
  }
768
750
  }
769
751
  );
@@ -771,7 +753,7 @@ function useUnapplyClass() {
771
753
  }
772
754
  function useCreateAndApplyClass() {
773
755
  const { id: activeId, setId: setActiveId } = useStyle();
774
- const [provider, createAction] = (0, import_editor_styles_repository5.useGetStylesRepositoryCreateAction)() ?? [null, null];
756
+ const [provider, createAction] = (0, import_editor_styles_repository4.useGetStylesRepositoryCreateAction)() ?? [null, null];
775
757
  const deleteAction = provider?.actions.delete;
776
758
  const applyClass = useApply();
777
759
  const unapplyClass = useUnapply();
@@ -794,9 +776,9 @@ function useCreateAndApplyClass() {
794
776
  }
795
777
  },
796
778
  {
797
- title: (0, import_i18n2.__)("Class", "elementor"),
779
+ title: (0, import_i18n.__)("Class", "elementor"),
798
780
  subtitle: ({ classLabel }) => {
799
- return (0, import_i18n2.__)(`%s created`, "elementor").replace("%s", classLabel);
781
+ return (0, import_i18n.__)(`%s created`, "elementor").replace("%s", classLabel);
800
782
  }
801
783
  }
802
784
  );
@@ -858,12 +840,91 @@ function useClasses() {
858
840
  }, [currentClassesProp, element.id]);
859
841
  }
860
842
 
843
+ // src/components/css-classes/duplicate-class-menu-item.tsx
844
+ var DUPLICATE_LABEL_PREFIX = "copy-of";
845
+ function getUniqueDuplicateLabel(originalLabel, existingLabels) {
846
+ let newLabel = `${DUPLICATE_LABEL_PREFIX}-${originalLabel}`;
847
+ let counter = 2;
848
+ while (existingLabels.includes(newLabel)) {
849
+ newLabel = `${DUPLICATE_LABEL_PREFIX}-${originalLabel}-${counter}`;
850
+ counter++;
851
+ }
852
+ return newLabel;
853
+ }
854
+ function DuplicateClassMenuItem({ closeMenu }) {
855
+ const { id: classId, provider } = useCssClass();
856
+ const { userCan } = (0, import_editor_styles_repository5.useUserStylesCapability)();
857
+ const applyClass = useApplyClass();
858
+ const [, setPendingEditId] = (0, import_session2.useSessionStorage)(PENDING_CLASS_RENAME_SESSION_KEY, "app");
859
+ if (!provider || !classId) {
860
+ return null;
861
+ }
862
+ const providerInstance = import_editor_styles_repository5.stylesRepository.getProviderByKey(provider);
863
+ const createAction = providerInstance?.actions.create;
864
+ const getAction = providerInstance?.actions.get;
865
+ if (!createAction || !getAction) {
866
+ return null;
867
+ }
868
+ if (!userCan(provider).create) {
869
+ return null;
870
+ }
871
+ const handleDuplicate = () => {
872
+ const styleDef = getAction(classId);
873
+ if (!styleDef) {
874
+ closeMenu();
875
+ return;
876
+ }
877
+ const existingLabels = providerInstance.actions.all().map((style) => style.label);
878
+ const newLabel = getUniqueDuplicateLabel(styleDef.label, existingLabels);
879
+ const newId = createAction(newLabel, styleDef.variants);
880
+ if (newId) {
881
+ applyClass({ classId: newId, classLabel: newLabel });
882
+ setPendingEditId(newId);
883
+ trackStyles(provider, "classCreated", {
884
+ classId: newId,
885
+ source: "duplicated",
886
+ classTitle: newLabel
887
+ });
888
+ }
889
+ closeMenu();
890
+ };
891
+ return /* @__PURE__ */ React7.createElement(import_editor_ui.MenuListItem, { onClick: handleDuplicate }, (0, import_i18n2.__)("Duplicate", "elementor"));
892
+ }
893
+
894
+ // src/components/css-classes/local-class-sub-menu.tsx
895
+ var React8 = __toESM(require("react"));
896
+ var import_ui4 = require("@elementor/ui");
897
+ var import_i18n3 = require("@wordpress/i18n");
898
+
899
+ // src/components/css-classes/use-can-convert-local-class-to-global.ts
900
+ var import_editor_styles_repository6 = require("@elementor/editor-styles-repository");
901
+ var useCanConvertLocalClassToGlobal = () => {
902
+ const { element } = useElement();
903
+ const { provider, id, meta } = useStyle();
904
+ const styleDef = provider?.actions.get(id, { elementId: element.id, ...meta });
905
+ const isLocalStylesProvider = provider && (0, import_editor_styles_repository6.isElementsStylesProvider)(provider?.getKey());
906
+ const variants = styleDef?.variants || [];
907
+ const canConvert = !!(isLocalStylesProvider && variants.length);
908
+ return {
909
+ canConvert,
910
+ isLocalStylesProvider,
911
+ id,
912
+ styleDef: styleDef || null
913
+ };
914
+ };
915
+
916
+ // src/components/css-classes/local-class-sub-menu.tsx
917
+ var LocalClassSubMenu = (props) => {
918
+ const { canConvert, styleDef } = useCanConvertLocalClassToGlobal();
919
+ return /* @__PURE__ */ React8.createElement(React8.Fragment, null, /* @__PURE__ */ React8.createElement(import_ui4.MenuSubheader, { sx: { typography: "caption", color: "text.secondary", pb: 0.5, pt: 1 } }, (0, import_i18n3.__)("Local Class", "elementor")), /* @__PURE__ */ React8.createElement(CssClassConvert, { canConvert, styleDef, closeMenu: props.popupState.close }));
920
+ };
921
+
861
922
  // src/components/css-classes/css-class-menu.tsx
862
923
  var DEFAULT_PSEUDO_STATES = [
863
- { key: "normal", value: null, label: (0, import_i18n3.__)("normal", "elementor") },
864
- { key: "hover", value: "hover", label: (0, import_i18n3.__)("hover", "elementor") },
865
- { key: "focus", value: "focus", label: (0, import_i18n3.__)("focus", "elementor") },
866
- { key: "active", value: "active", label: (0, import_i18n3.__)("active", "elementor") }
924
+ { key: "normal", value: null, label: (0, import_i18n4.__)("normal", "elementor") },
925
+ { key: "hover", value: "hover", label: (0, import_i18n4.__)("hover", "elementor") },
926
+ { key: "focus", value: "focus", label: (0, import_i18n4.__)("focus", "elementor") },
927
+ { key: "active", value: "active", label: (0, import_i18n4.__)("active", "elementor") }
867
928
  ];
868
929
  function usePseudoStates() {
869
930
  const { elementType } = useElement();
@@ -877,12 +938,12 @@ function usePseudoStates() {
877
938
  }
878
939
  function CssClassMenu({ popupState, anchorEl, fixed }) {
879
940
  const { provider } = useCssClass();
880
- const isLocalStyle2 = provider ? (0, import_editor_styles_repository6.isElementsStylesProvider)(provider) : true;
941
+ const isLocalStyle2 = provider ? (0, import_editor_styles_repository7.isElementsStylesProvider)(provider) : true;
881
942
  const pseudoStates = usePseudoStates();
882
943
  const handleKeyDown = (e) => {
883
944
  e.stopPropagation();
884
945
  };
885
- return /* @__PURE__ */ React8.createElement(
946
+ return /* @__PURE__ */ React9.createElement(
886
947
  import_ui5.Menu,
887
948
  {
888
949
  MenuListProps: { dense: true, sx: { minWidth: "160px" } },
@@ -899,11 +960,11 @@ function CssClassMenu({ popupState, anchorEl, fixed }) {
899
960
  onKeyDown: handleKeyDown,
900
961
  disableAutoFocusItem: true
901
962
  },
902
- isLocalStyle2 && /* @__PURE__ */ React8.createElement(LocalClassSubMenu, { popupState }),
963
+ isLocalStyle2 && /* @__PURE__ */ React9.createElement(LocalClassSubMenu, { popupState }),
903
964
  getMenuItemsByProvider({ provider, closeMenu: popupState.close, fixed }),
904
- /* @__PURE__ */ React8.createElement(import_ui5.MenuSubheader, { sx: { typography: "caption", color: "text.secondary", pb: 0.5, pt: 1 } }, (0, import_i18n3.__)("States", "elementor")),
965
+ /* @__PURE__ */ React9.createElement(import_ui5.MenuSubheader, { sx: { typography: "caption", color: "text.secondary", pb: 0.5, pt: 1 } }, (0, import_i18n4.__)("States", "elementor")),
905
966
  pseudoStates.map((state) => {
906
- return /* @__PURE__ */ React8.createElement(
967
+ return /* @__PURE__ */ React9.createElement(
907
968
  StateMenuItem,
908
969
  {
909
970
  key: state.key,
@@ -913,7 +974,7 @@ function CssClassMenu({ popupState, anchorEl, fixed }) {
913
974
  }
914
975
  );
915
976
  }),
916
- /* @__PURE__ */ React8.createElement(ClassStatesMenu, { closeMenu: popupState.close })
977
+ /* @__PURE__ */ React9.createElement(ClassStatesMenu, { closeMenu: popupState.close })
917
978
  );
918
979
  }
919
980
  function ClassStatesMenu({ closeMenu }) {
@@ -921,9 +982,9 @@ function ClassStatesMenu({ closeMenu }) {
921
982
  if (!elementStates.length) {
922
983
  return null;
923
984
  }
924
- const customTitle = (0, import_i18n3.__)("%s States", "elementor").replace("%s", elementTitle);
925
- return /* @__PURE__ */ React8.createElement(React8.Fragment, null, /* @__PURE__ */ React8.createElement(import_ui5.Divider, null), /* @__PURE__ */ React8.createElement(import_ui5.MenuSubheader, { sx: { typography: "caption", color: "text.secondary", pb: 0.5, pt: 1 } }, customTitle), elementStates.map((state) => {
926
- return /* @__PURE__ */ React8.createElement(
985
+ const customTitle = (0, import_i18n4.__)("%s States", "elementor").replace("%s", elementTitle);
986
+ return /* @__PURE__ */ React9.createElement(React9.Fragment, null, /* @__PURE__ */ React9.createElement(import_ui5.Divider, null), /* @__PURE__ */ React9.createElement(import_ui5.MenuSubheader, { sx: { typography: "caption", color: "text.secondary", pb: 0.5, pt: 1 } }, customTitle), elementStates.map((state) => {
987
+ return /* @__PURE__ */ React9.createElement(
927
988
  StateMenuItem,
928
989
  {
929
990
  key: state.key,
@@ -936,7 +997,7 @@ function ClassStatesMenu({ closeMenu }) {
936
997
  }
937
998
  var CLASS_STATES_MAP = {
938
999
  selected: {
939
- label: (0, import_i18n3.__)("selected", "elementor")
1000
+ label: (0, import_i18n4.__)("selected", "elementor")
940
1001
  }
941
1002
  };
942
1003
  function useElementStates() {
@@ -954,7 +1015,7 @@ function useElementStates() {
954
1015
  }
955
1016
  function useModifiedStates(styleId) {
956
1017
  const { meta } = useStyle();
957
- const styleDef = import_editor_styles_repository6.stylesRepository.all().find((style) => style.id === styleId);
1018
+ const styleDef = import_editor_styles_repository7.stylesRepository.all().find((style) => style.id === styleId);
958
1019
  return Object.fromEntries(
959
1020
  styleDef?.variants.filter((variant) => meta.breakpoint === variant.meta.breakpoint).map((variant) => [variant.meta.state ?? "normal", true]) ?? []
960
1021
  );
@@ -967,17 +1028,19 @@ function getMenuItemsByProvider({
967
1028
  if (!provider) {
968
1029
  return [];
969
1030
  }
970
- const providerInstance = import_editor_styles_repository6.stylesRepository.getProviderByKey(provider);
1031
+ const providerInstance = import_editor_styles_repository7.stylesRepository.getProviderByKey(provider);
971
1032
  const providerActions = providerInstance?.actions;
972
1033
  const canUpdate = providerActions?.update;
1034
+ const canDuplicate = providerActions?.create && providerActions?.get;
973
1035
  const canUnapply = !fixed;
974
1036
  const actions = [
975
- canUpdate && /* @__PURE__ */ React8.createElement(RenameClassMenuItem, { key: "rename-class", closeMenu }),
976
- canUnapply && /* @__PURE__ */ React8.createElement(UnapplyClassMenuItem, { key: "unapply-class", closeMenu })
1037
+ canUpdate && /* @__PURE__ */ React9.createElement(RenameClassMenuItem, { key: "rename-class", closeMenu }),
1038
+ canDuplicate && /* @__PURE__ */ React9.createElement(DuplicateClassMenuItem, { key: "duplicate-class", closeMenu }),
1039
+ canUnapply && /* @__PURE__ */ React9.createElement(UnapplyClassMenuItem, { key: "unapply-class", closeMenu })
977
1040
  ].filter(Boolean);
978
1041
  if (actions.length) {
979
1042
  actions.unshift(
980
- /* @__PURE__ */ React8.createElement(
1043
+ /* @__PURE__ */ React9.createElement(
981
1044
  import_ui5.MenuSubheader,
982
1045
  {
983
1046
  key: "provider-label",
@@ -986,7 +1049,7 @@ function getMenuItemsByProvider({
986
1049
  providerInstance?.labels?.singular
987
1050
  )
988
1051
  );
989
- actions.push(/* @__PURE__ */ React8.createElement(import_ui5.Divider, { key: "provider-actions-divider" }));
1052
+ actions.push(/* @__PURE__ */ React9.createElement(import_ui5.Divider, { key: "provider-actions-divider" }));
990
1053
  }
991
1054
  return actions;
992
1055
  }
@@ -994,15 +1057,15 @@ function StateMenuItem({ state, label, closeMenu, ...props }) {
994
1057
  const { id: styleId, provider } = useCssClass();
995
1058
  const { id: activeId, setId: setActiveId, setMetaState: setActiveMetaState, meta } = useStyle();
996
1059
  const { state: activeState } = meta;
997
- const { userCan } = (0, import_editor_styles_repository6.useUserStylesCapability)();
1060
+ const { userCan } = (0, import_editor_styles_repository7.useUserStylesCapability)();
998
1061
  const modifiedStates = useModifiedStates(styleId);
999
1062
  const isUpdateAllowed = !state || userCan(provider ?? "").updateProps;
1000
1063
  const isStyled = modifiedStates[state ?? "normal"] ?? false;
1001
1064
  const disabled = !isUpdateAllowed && !isStyled;
1002
1065
  const isActive = styleId === activeId;
1003
1066
  const isSelected = state === activeState && isActive;
1004
- return /* @__PURE__ */ React8.createElement(
1005
- import_editor_ui.MenuListItem,
1067
+ return /* @__PURE__ */ React9.createElement(
1068
+ import_editor_ui2.MenuListItem,
1006
1069
  {
1007
1070
  ...props,
1008
1071
  selected: isSelected,
@@ -1021,16 +1084,16 @@ function StateMenuItem({ state, label, closeMenu, ...props }) {
1021
1084
  closeMenu();
1022
1085
  }
1023
1086
  },
1024
- /* @__PURE__ */ React8.createElement(
1025
- import_editor_ui.MenuItemInfotip,
1087
+ /* @__PURE__ */ React9.createElement(
1088
+ import_editor_ui2.MenuItemInfotip,
1026
1089
  {
1027
1090
  showInfoTip: disabled,
1028
- content: (0, import_i18n3.__)("With your current role, you can only use existing states.", "elementor")
1091
+ content: (0, import_i18n4.__)("With your current role, you can only use existing states.", "elementor")
1029
1092
  },
1030
- /* @__PURE__ */ React8.createElement(import_ui5.Stack, { gap: 0.75, direction: "row", alignItems: "center" }, isStyled && /* @__PURE__ */ React8.createElement(
1093
+ /* @__PURE__ */ React9.createElement(import_ui5.Stack, { gap: 0.75, direction: "row", alignItems: "center" }, isStyled && /* @__PURE__ */ React9.createElement(
1031
1094
  StyleIndicator,
1032
1095
  {
1033
- "aria-label": (0, import_i18n3.__)("Has style", "elementor"),
1096
+ "aria-label": (0, import_i18n4.__)("Has style", "elementor"),
1034
1097
  getColor: getTempStylesProviderThemeColor(provider ?? "")
1035
1098
  }
1036
1099
  ), label)
@@ -1040,8 +1103,8 @@ function StateMenuItem({ state, label, closeMenu, ...props }) {
1040
1103
  function UnapplyClassMenuItem({ closeMenu, ...props }) {
1041
1104
  const { id: classId, label: classLabel, provider } = useCssClass();
1042
1105
  const unapplyClass = useUnapplyClass();
1043
- return classId ? /* @__PURE__ */ React8.createElement(
1044
- import_editor_ui.MenuListItem,
1106
+ return classId ? /* @__PURE__ */ React9.createElement(
1107
+ import_editor_ui2.MenuListItem,
1045
1108
  {
1046
1109
  ...props,
1047
1110
  onClick: () => {
@@ -1054,18 +1117,18 @@ function UnapplyClassMenuItem({ closeMenu, ...props }) {
1054
1117
  closeMenu();
1055
1118
  }
1056
1119
  },
1057
- (0, import_i18n3.__)("Remove", "elementor")
1120
+ (0, import_i18n4.__)("Remove", "elementor")
1058
1121
  ) : null;
1059
1122
  }
1060
1123
  function RenameClassMenuItem({ closeMenu }) {
1061
1124
  const { handleRename, provider } = useCssClass();
1062
- const { userCan } = (0, import_editor_styles_repository6.useUserStylesCapability)();
1125
+ const { userCan } = (0, import_editor_styles_repository7.useUserStylesCapability)();
1063
1126
  if (!provider) {
1064
1127
  return null;
1065
1128
  }
1066
1129
  const isAllowed = userCan(provider).update;
1067
- return /* @__PURE__ */ React8.createElement(
1068
- import_editor_ui.MenuListItem,
1130
+ return /* @__PURE__ */ React9.createElement(
1131
+ import_editor_ui2.MenuListItem,
1069
1132
  {
1070
1133
  disabled: !isAllowed,
1071
1134
  onClick: () => {
@@ -1073,16 +1136,16 @@ function RenameClassMenuItem({ closeMenu }) {
1073
1136
  handleRename();
1074
1137
  }
1075
1138
  },
1076
- /* @__PURE__ */ React8.createElement(
1077
- import_editor_ui.MenuItemInfotip,
1139
+ /* @__PURE__ */ React9.createElement(
1140
+ import_editor_ui2.MenuItemInfotip,
1078
1141
  {
1079
1142
  showInfoTip: !isAllowed,
1080
- content: (0, import_i18n3.__)(
1081
- "With your current role, you can use existing classes but can\u2019t modify them.",
1143
+ content: (0, import_i18n4.__)(
1144
+ "With your current role, you can use existing classes but can't modify them.",
1082
1145
  "elementor"
1083
1146
  )
1084
1147
  },
1085
- (0, import_i18n3.__)("Rename", "elementor")
1148
+ (0, import_i18n4.__)("Rename", "elementor")
1086
1149
  )
1087
1150
  );
1088
1151
  }
@@ -1097,9 +1160,9 @@ function CssClassItem(props) {
1097
1160
  const popupState = (0, import_ui6.usePopupState)({ variant: "popover" });
1098
1161
  const [chipRef, setChipRef] = (0, import_react9.useState)(null);
1099
1162
  const { onDelete, ...chipGroupProps } = chipProps;
1100
- const { userCan } = (0, import_editor_styles_repository7.useUserStylesCapability)();
1101
- const [convertedFromLocalId, , clearConvertedFromLocalId] = (0, import_session2.useSessionStorage)(
1102
- "last-converted-class-generated-name",
1163
+ const { userCan } = (0, import_editor_styles_repository8.useUserStylesCapability)();
1164
+ const [convertedFromLocalId, , clearConvertedFromLocalId] = (0, import_session3.useSessionStorage)(
1165
+ PENDING_CLASS_RENAME_SESSION_KEY,
1103
1166
  "app"
1104
1167
  );
1105
1168
  const {
@@ -1108,14 +1171,14 @@ function CssClassItem(props) {
1108
1171
  openEditMode,
1109
1172
  error,
1110
1173
  getProps: getEditableProps
1111
- } = (0, import_editor_ui2.useEditable)({
1174
+ } = (0, import_editor_ui3.useEditable)({
1112
1175
  value: label,
1113
1176
  onSubmit: renameLabel,
1114
1177
  validation: validateLabel,
1115
1178
  onError: setError
1116
1179
  });
1117
1180
  const color = error ? "error" : colorProp;
1118
- const providerActions = provider ? import_editor_styles_repository7.stylesRepository.getProviderByKey(provider)?.actions : null;
1181
+ const providerActions = provider ? import_editor_styles_repository8.stylesRepository.getProviderByKey(provider)?.actions : null;
1119
1182
  const allowRename = Boolean(providerActions?.update) && userCan(provider ?? "")?.update;
1120
1183
  const isShowingState = isActive && meta.state;
1121
1184
  const stateLabel = (0, import_react9.useMemo)(() => {
@@ -1130,7 +1193,7 @@ function CssClassItem(props) {
1130
1193
  openEditMode();
1131
1194
  }
1132
1195
  }, [id, convertedFromLocalId]);
1133
- return /* @__PURE__ */ React9.createElement(import_ui6.ThemeProvider, { palette: "default" }, /* @__PURE__ */ React9.createElement(
1196
+ return /* @__PURE__ */ React10.createElement(import_ui6.ThemeProvider, { palette: "default" }, /* @__PURE__ */ React10.createElement(
1134
1197
  import_ui6.UnstableChipGroup,
1135
1198
  {
1136
1199
  ref: setChipRef,
@@ -1141,11 +1204,11 @@ function CssClassItem(props) {
1141
1204
  "&.MuiChipGroup-root.MuiAutocomplete-tag": { margin: theme.spacing(0.125) }
1142
1205
  })
1143
1206
  },
1144
- /* @__PURE__ */ React9.createElement(
1207
+ /* @__PURE__ */ React10.createElement(
1145
1208
  import_ui6.Chip,
1146
1209
  {
1147
1210
  size: CHIP_SIZE,
1148
- label: isEditing ? /* @__PURE__ */ React9.createElement(import_editor_ui2.EditableField, { ref, ...getEditableProps() }) : /* @__PURE__ */ React9.createElement(import_editor_ui2.EllipsisWithTooltip, { maxWidth: "10ch", title: label, as: "div" }),
1211
+ label: isEditing ? /* @__PURE__ */ React10.createElement(import_editor_ui3.EditableField, { ref, ...getEditableProps() }) : /* @__PURE__ */ React10.createElement(import_editor_ui3.EllipsisWithTooltip, { maxWidth: "10ch", title: label, as: "div" }),
1149
1212
  variant: isActive && !meta.state && !isEditing ? "filled" : "standard",
1150
1213
  shape: "rounded",
1151
1214
  icon,
@@ -1172,17 +1235,17 @@ function CssClassItem(props) {
1172
1235
  })
1173
1236
  }
1174
1237
  ),
1175
- !isEditing && /* @__PURE__ */ React9.createElement(
1238
+ !isEditing && /* @__PURE__ */ React10.createElement(
1176
1239
  import_ui6.Chip,
1177
1240
  {
1178
- icon: isShowingState ? void 0 : /* @__PURE__ */ React9.createElement(import_icons.DotsVerticalIcon, { fontSize: "tiny" }),
1241
+ icon: isShowingState ? void 0 : /* @__PURE__ */ React10.createElement(import_icons.DotsVerticalIcon, { fontSize: "tiny" }),
1179
1242
  size: CHIP_SIZE,
1180
- label: isShowingState ? /* @__PURE__ */ React9.createElement(import_ui6.Stack, { direction: "row", gap: 0.5, alignItems: "center" }, /* @__PURE__ */ React9.createElement(import_ui6.Typography, { variant: "inherit" }, stateLabel), /* @__PURE__ */ React9.createElement(import_icons.DotsVerticalIcon, { fontSize: "tiny" })) : void 0,
1243
+ label: isShowingState ? /* @__PURE__ */ React10.createElement(import_ui6.Stack, { direction: "row", gap: 0.5, alignItems: "center" }, /* @__PURE__ */ React10.createElement(import_ui6.Typography, { variant: "inherit" }, stateLabel), /* @__PURE__ */ React10.createElement(import_icons.DotsVerticalIcon, { fontSize: "tiny" })) : void 0,
1181
1244
  variant: "filled",
1182
1245
  shape: "rounded",
1183
1246
  color,
1184
1247
  ...(0, import_ui6.bindTrigger)(popupState),
1185
- "aria-label": (0, import_i18n4.__)("Open CSS Class Menu", "elementor"),
1248
+ "aria-label": (0, import_i18n5.__)("Open CSS Class Menu", "elementor"),
1186
1249
  sx: (theme) => ({
1187
1250
  borderRadius: `${theme.shape.borderRadius * 0.75}px`,
1188
1251
  paddingRight: 0,
@@ -1191,10 +1254,10 @@ function CssClassItem(props) {
1191
1254
  })
1192
1255
  }
1193
1256
  )
1194
- ), /* @__PURE__ */ React9.createElement(CssClassProvider, { ...classProps, handleRename: openEditMode }, /* @__PURE__ */ React9.createElement(CssClassMenu, { popupState, anchorEl: chipRef, fixed })));
1257
+ ), /* @__PURE__ */ React10.createElement(CssClassProvider, { ...classProps, handleRename: openEditMode }, /* @__PURE__ */ React10.createElement(CssClassMenu, { popupState, anchorEl: chipRef, fixed })));
1195
1258
  }
1196
1259
  var validateLabel = (newLabel) => {
1197
- const result = (0, import_editor_styles_repository7.validateStyleLabel)(newLabel, "rename");
1260
+ const result = (0, import_editor_styles_repository8.validateStyleLabel)(newLabel, "rename");
1198
1261
  if (result.isValid) {
1199
1262
  return null;
1200
1263
  }
@@ -1205,11 +1268,11 @@ var validateLabel = (newLabel) => {
1205
1268
  var ID = "elementor-css-class-selector";
1206
1269
  var TAGS_LIMIT = 50;
1207
1270
  var EMPTY_OPTION = {
1208
- label: (0, import_i18n5.__)("local", "elementor"),
1271
+ label: (0, import_i18n6.__)("local", "elementor"),
1209
1272
  value: null,
1210
1273
  fixed: true,
1211
1274
  color: getTempStylesProviderColorName("accent"),
1212
- icon: /* @__PURE__ */ React10.createElement(import_icons2.MapPinIcon, null),
1275
+ icon: /* @__PURE__ */ React11.createElement(import_icons2.MapPinIcon, null),
1213
1276
  provider: null
1214
1277
  };
1215
1278
  var { Slot: ClassSelectorActionsSlot, inject: injectIntoClassSelectorActions } = (0, import_locations2.createLocation)();
@@ -1223,10 +1286,10 @@ function CssClassSelector() {
1223
1286
  const appliedOptions = useAppliedOptions(options12);
1224
1287
  const active = appliedOptions.find((option) => option.value === activeId) ?? EMPTY_OPTION;
1225
1288
  const showPlaceholder = appliedOptions.every(({ fixed }) => fixed);
1226
- const { userCan } = (0, import_editor_styles_repository8.useUserStylesCapability)();
1289
+ const { userCan } = (0, import_editor_styles_repository9.useUserStylesCapability)();
1227
1290
  const canEdit = active.provider ? userCan(active.provider).updateProps : true;
1228
- return /* @__PURE__ */ React10.createElement(import_ui7.Stack, { p: 2 }, /* @__PURE__ */ React10.createElement(import_ui7.Stack, { direction: "row", gap: 1, alignItems: "center", justifyContent: "space-between" }, /* @__PURE__ */ React10.createElement(import_ui7.FormLabel, { htmlFor: ID, size: "small" }, (0, import_i18n5.__)("Classes", "elementor")), /* @__PURE__ */ React10.createElement(import_ui7.Stack, { direction: "row", gap: 1 }, /* @__PURE__ */ React10.createElement(ClassSelectorActionsSlot, null))), /* @__PURE__ */ React10.createElement(
1229
- import_editor_ui3.WarningInfotip,
1291
+ return /* @__PURE__ */ React11.createElement(import_ui7.Stack, { p: 2 }, /* @__PURE__ */ React11.createElement(import_ui7.Stack, { direction: "row", gap: 1, alignItems: "center", justifyContent: "space-between" }, /* @__PURE__ */ React11.createElement(import_ui7.FormLabel, { htmlFor: ID, size: "small" }, (0, import_i18n6.__)("Classes", "elementor")), /* @__PURE__ */ React11.createElement(import_ui7.Stack, { direction: "row", gap: 1 }, /* @__PURE__ */ React11.createElement(ClassSelectorActionsSlot, null))), /* @__PURE__ */ React11.createElement(
1292
+ import_editor_ui4.WarningInfotip,
1230
1293
  {
1231
1294
  open: Boolean(renameError),
1232
1295
  text: renameError ?? "",
@@ -1234,13 +1297,13 @@ function CssClassSelector() {
1234
1297
  width: autocompleteRef.current?.getBoundingClientRect().width,
1235
1298
  offset: [0, -15]
1236
1299
  },
1237
- /* @__PURE__ */ React10.createElement(
1300
+ /* @__PURE__ */ React11.createElement(
1238
1301
  CreatableAutocomplete,
1239
1302
  {
1240
1303
  id: ID,
1241
1304
  ref: autocompleteRef,
1242
1305
  size: "tiny",
1243
- placeholder: showPlaceholder ? (0, import_i18n5.__)("Type class name", "elementor") : void 0,
1306
+ placeholder: showPlaceholder ? (0, import_i18n6.__)("Type class name", "elementor") : void 0,
1244
1307
  options: options12,
1245
1308
  selected: appliedOptions,
1246
1309
  entityName,
@@ -1249,7 +1312,7 @@ function CssClassSelector() {
1249
1312
  validate: validate ?? void 0,
1250
1313
  limitTags: TAGS_LIMIT,
1251
1314
  renderEmptyState: EmptyState,
1252
- getLimitTagsText: (more) => /* @__PURE__ */ React10.createElement(import_ui7.Chip, { size: "tiny", variant: "standard", label: `+${more}`, clickable: true }),
1315
+ getLimitTagsText: (more) => /* @__PURE__ */ React11.createElement(import_ui7.Chip, { size: "tiny", variant: "standard", label: `+${more}`, clickable: true }),
1253
1316
  renderTags: (values, getTagProps) => values.map((value, index) => {
1254
1317
  const chipProps = getTagProps({ index });
1255
1318
  const isActive = value.value === active?.value;
@@ -1265,7 +1328,7 @@ function CssClassSelector() {
1265
1328
  });
1266
1329
  return updateClassByProvider(value.provider, { label: newLabel, id: value.value });
1267
1330
  };
1268
- return /* @__PURE__ */ React10.createElement(
1331
+ return /* @__PURE__ */ React11.createElement(
1269
1332
  CssClassItem,
1270
1333
  {
1271
1334
  key: chipProps.key,
@@ -1285,9 +1348,9 @@ function CssClassSelector() {
1285
1348
  })
1286
1349
  }
1287
1350
  )
1288
- ), !canEdit && /* @__PURE__ */ React10.createElement(import_editor_ui3.InfoAlert, { sx: { mt: 1 } }, (0, import_i18n5.__)("With your current role, you can use existing classes but can\u2019t modify them.", "elementor")));
1351
+ ), !canEdit && /* @__PURE__ */ React11.createElement(import_editor_ui4.InfoAlert, { sx: { mt: 1 } }, (0, import_i18n6.__)("With your current role, you can use existing classes but can\u2019t modify them.", "elementor")));
1289
1352
  }
1290
- var EmptyState = ({ searchValue, onClear }) => /* @__PURE__ */ React10.createElement(import_ui7.Box, { sx: { py: 4 } }, /* @__PURE__ */ React10.createElement(
1353
+ var EmptyState = ({ searchValue, onClear }) => /* @__PURE__ */ React11.createElement(import_ui7.Box, { sx: { py: 4 } }, /* @__PURE__ */ React11.createElement(
1291
1354
  import_ui7.Stack,
1292
1355
  {
1293
1356
  gap: 1,
@@ -1296,16 +1359,16 @@ var EmptyState = ({ searchValue, onClear }) => /* @__PURE__ */ React10.createEle
1296
1359
  justifyContent: "center",
1297
1360
  sx: { px: 2, m: "auto", maxWidth: "236px" }
1298
1361
  },
1299
- /* @__PURE__ */ React10.createElement(import_icons2.ColorSwatchIcon, { sx: { transform: "rotate(90deg)" }, fontSize: "large" }),
1300
- /* @__PURE__ */ React10.createElement(import_ui7.Typography, { align: "center", variant: "subtitle2" }, (0, import_i18n5.__)("Sorry, nothing matched", "elementor"), /* @__PURE__ */ React10.createElement("br", null), "\u201C", searchValue, "\u201D."),
1301
- /* @__PURE__ */ React10.createElement(import_ui7.Typography, { align: "center", variant: "caption", sx: { mb: 2 } }, (0, import_i18n5.__)("With your current role,", "elementor"), /* @__PURE__ */ React10.createElement("br", null), (0, import_i18n5.__)("you can only use existing classes.", "elementor")),
1302
- /* @__PURE__ */ React10.createElement(import_ui7.Link, { color: "text.secondary", variant: "caption", component: "button", onClick: onClear }, (0, import_i18n5.__)("Clear & try again", "elementor"))
1362
+ /* @__PURE__ */ React11.createElement(import_icons2.ColorSwatchIcon, { sx: { transform: "rotate(90deg)" }, fontSize: "large" }),
1363
+ /* @__PURE__ */ React11.createElement(import_ui7.Typography, { align: "center", variant: "subtitle2" }, (0, import_i18n6.__)("Sorry, nothing matched", "elementor"), /* @__PURE__ */ React11.createElement("br", null), "\u201C", searchValue, "\u201D."),
1364
+ /* @__PURE__ */ React11.createElement(import_ui7.Typography, { align: "center", variant: "caption", sx: { mb: 2 } }, (0, import_i18n6.__)("With your current role,", "elementor"), /* @__PURE__ */ React11.createElement("br", null), (0, import_i18n6.__)("you can only use existing classes.", "elementor")),
1365
+ /* @__PURE__ */ React11.createElement(import_ui7.Link, { color: "text.secondary", variant: "caption", component: "button", onClick: onClear }, (0, import_i18n6.__)("Clear & try again", "elementor"))
1303
1366
  ));
1304
1367
  var updateClassByProvider = (provider, data) => {
1305
1368
  if (!provider) {
1306
1369
  return;
1307
1370
  }
1308
- const providerInstance = import_editor_styles_repository8.stylesRepository.getProviderByKey(provider);
1371
+ const providerInstance = import_editor_styles_repository9.stylesRepository.getProviderByKey(provider);
1309
1372
  if (!providerInstance) {
1310
1373
  return;
1311
1374
  }
@@ -1314,8 +1377,8 @@ var updateClassByProvider = (provider, data) => {
1314
1377
  function useOptions() {
1315
1378
  const { element } = useElement();
1316
1379
  const isProviderEditable = (provider) => !!provider.actions.updateProps;
1317
- return (0, import_editor_styles_repository8.useProviders)().filter(isProviderEditable).flatMap((provider) => {
1318
- const isElements = (0, import_editor_styles_repository8.isElementsStylesProvider)(provider.getKey());
1380
+ return (0, import_editor_styles_repository9.useProviders)().filter(isProviderEditable).flatMap((provider) => {
1381
+ const isElements = (0, import_editor_styles_repository9.isElementsStylesProvider)(provider.getKey());
1319
1382
  const styleDefs = provider.actions.all({ elementId: element.id });
1320
1383
  if (isElements && styleDefs.length === 0) {
1321
1384
  return [EMPTY_OPTION];
@@ -1326,7 +1389,7 @@ function useOptions() {
1326
1389
  value: styleDef.id,
1327
1390
  fixed: isElements,
1328
1391
  color: getTempStylesProviderColorName(getStylesProviderColorName(provider.getKey())),
1329
- icon: isElements ? /* @__PURE__ */ React10.createElement(import_icons2.MapPinIcon, null) : null,
1392
+ icon: isElements ? /* @__PURE__ */ React11.createElement(import_icons2.MapPinIcon, null) : null,
1330
1393
  provider: provider.getKey()
1331
1394
  };
1332
1395
  });
@@ -1356,13 +1419,13 @@ function useCreateAction() {
1356
1419
  return {
1357
1420
  isValid: false,
1358
1421
  /* translators: %s is the maximum number of classes */
1359
- errorMessage: (0, import_i18n5.__)(
1422
+ errorMessage: (0, import_i18n6.__)(
1360
1423
  "You\u2019ve reached the limit of %s classes. Please remove an existing one to create a new class.",
1361
1424
  "elementor"
1362
1425
  ).replace("%s", provider.limit.toString())
1363
1426
  };
1364
1427
  }
1365
- return (0, import_editor_styles_repository8.validateStyleLabel)(newClassLabel, event);
1428
+ return (0, import_editor_styles_repository9.validateStyleLabel)(newClassLabel, event);
1366
1429
  };
1367
1430
  const entityName = provider.labels.singular && provider.labels.plural ? provider.labels : void 0;
1368
1431
  return { create, validate, entityName };
@@ -1375,7 +1438,7 @@ function useAppliedOptions(options12) {
1375
1438
  const appliedIds = usePanelElementSetting(currentClassesProp)?.value ?? [];
1376
1439
  const appliedOptions = options12.filter((option) => option.value && appliedIds.includes(option.value));
1377
1440
  const hasElementsProviderStyleApplied = appliedOptions.some(
1378
- (option) => option.provider && (0, import_editor_styles_repository8.isElementsStylesProvider)(option.provider)
1441
+ (option) => option.provider && (0, import_editor_styles_repository9.isElementsStylesProvider)(option.provider)
1379
1442
  );
1380
1443
  if (!hasElementsProviderStyleApplied) {
1381
1444
  appliedOptions.unshift(EMPTY_OPTION);
@@ -1409,7 +1472,7 @@ function useHandleSelect() {
1409
1472
  }
1410
1473
 
1411
1474
  // src/components/custom-css-indicator.tsx
1412
- var React11 = __toESM(require("react"));
1475
+ var React12 = __toESM(require("react"));
1413
1476
  var import_react14 = require("react");
1414
1477
  var import_editor_responsive = require("@elementor/editor-responsive");
1415
1478
  var import_editor_styles4 = require("@elementor/editor-styles");
@@ -1419,7 +1482,7 @@ var import_react13 = require("react");
1419
1482
  var import_editor_elements5 = require("@elementor/editor-elements");
1420
1483
  var import_editor_props3 = require("@elementor/editor-props");
1421
1484
  var import_editor_styles3 = require("@elementor/editor-styles");
1422
- var import_editor_styles_repository11 = require("@elementor/editor-styles-repository");
1485
+ var import_editor_styles_repository12 = require("@elementor/editor-styles-repository");
1423
1486
  var import_editor_v1_adapters3 = require("@elementor/editor-v1-adapters");
1424
1487
  var import_utils2 = require("@elementor/utils");
1425
1488
 
@@ -1427,10 +1490,10 @@ var import_utils2 = require("@elementor/utils");
1427
1490
  var import_react12 = require("react");
1428
1491
  var import_editor_elements4 = require("@elementor/editor-elements");
1429
1492
  var import_editor_styles2 = require("@elementor/editor-styles");
1430
- var import_editor_styles_repository9 = require("@elementor/editor-styles-repository");
1431
1493
  var import_editor_styles_repository10 = require("@elementor/editor-styles-repository");
1494
+ var import_editor_styles_repository11 = require("@elementor/editor-styles-repository");
1432
1495
  var import_editor_v1_adapters2 = require("@elementor/editor-v1-adapters");
1433
- var import_i18n6 = require("@wordpress/i18n");
1496
+ var import_i18n7 = require("@wordpress/i18n");
1434
1497
 
1435
1498
  // src/hooks/use-styles-rerender.ts
1436
1499
  var import_react11 = require("react");
@@ -1479,7 +1542,7 @@ function useUndoableActions({
1479
1542
  const classesProp = useClassesProp();
1480
1543
  return (0, import_react12.useMemo)(() => {
1481
1544
  const meta = { breakpoint, state };
1482
- const createStyleArgs = { elementId, classesProp, meta, label: import_editor_styles_repository10.ELEMENTS_STYLES_RESERVED_LABEL };
1545
+ const createStyleArgs = { elementId, classesProp, meta, label: import_editor_styles_repository11.ELEMENTS_STYLES_RESERVED_LABEL };
1483
1546
  return (0, import_editor_v1_adapters2.undoable)(
1484
1547
  {
1485
1548
  do: (payload) => {
@@ -1543,27 +1606,27 @@ function getCurrentProps(style, meta) {
1543
1606
  var defaultHistoryTitles = {
1544
1607
  title: ({ provider }) => {
1545
1608
  const providerLabel = provider.labels?.singular;
1546
- return providerLabel ? capitalize(providerLabel) : (0, import_i18n6.__)("Style", "elementor");
1609
+ return providerLabel ? capitalize(providerLabel) : (0, import_i18n7.__)("Style", "elementor");
1547
1610
  },
1548
1611
  subtitle: ({ provider, styleId, elementId, propDisplayName }) => {
1549
1612
  const styleLabel = provider.actions.get(styleId, { elementId })?.label;
1550
1613
  if (!styleLabel) {
1551
1614
  throw new Error(`Style ${styleId} not found`);
1552
1615
  }
1553
- return (0, import_i18n6.__)(`%s$1 %s$2 edited`, "elementor").replace("%s$1", styleLabel).replace("%s$2", propDisplayName);
1616
+ return (0, import_i18n7.__)(`%s$1 %s$2 edited`, "elementor").replace("%s$1", styleLabel).replace("%s$2", propDisplayName);
1554
1617
  }
1555
1618
  };
1556
1619
  var localStyleHistoryTitles = {
1557
1620
  title: ({ elementId }) => (0, import_editor_elements4.getElementLabel)(elementId),
1558
1621
  subtitle: ({ propDisplayName }) => (
1559
1622
  // translators: %s is the name of the style property being edited
1560
- (0, import_i18n6.__)(`%s edited`, "elementor").replace("%s", propDisplayName)
1623
+ (0, import_i18n7.__)(`%s edited`, "elementor").replace("%s", propDisplayName)
1561
1624
  )
1562
1625
  };
1563
1626
  function capitalize(str) {
1564
1627
  return str.charAt(0).toUpperCase() + str.slice(1);
1565
1628
  }
1566
- var isLocalStyle = (provider, styleId) => !provider || !styleId || (0, import_editor_styles_repository9.isElementsStylesProvider)(provider.getKey());
1629
+ var isLocalStyle = (provider, styleId) => !provider || !styleId || (0, import_editor_styles_repository10.isElementsStylesProvider)(provider.getKey());
1567
1630
  var getTitle = ({ provider, styleId, elementId }) => {
1568
1631
  const isLocal = isLocalStyle(provider, styleId);
1569
1632
  if (isLocal) {
@@ -1618,7 +1681,7 @@ function useUndoableActions2({
1618
1681
  const classesProp = useClassesProp();
1619
1682
  return (0, import_react13.useMemo)(() => {
1620
1683
  const meta = { breakpoint, state };
1621
- const createStyleArgs = { elementId, classesProp, meta, label: import_editor_styles_repository11.ELEMENTS_STYLES_RESERVED_LABEL };
1684
+ const createStyleArgs = { elementId, classesProp, meta, label: import_editor_styles_repository12.ELEMENTS_STYLES_RESERVED_LABEL };
1622
1685
  return (0, import_editor_v1_adapters3.undoable)(
1623
1686
  {
1624
1687
  do: (payload) => {
@@ -1708,11 +1771,11 @@ var CustomCssIndicator = () => {
1708
1771
  }, [hasContent, style, meta]);
1709
1772
  if (!hasContent) {
1710
1773
  if (hasInheritedContent) {
1711
- return /* @__PURE__ */ React11.createElement(StyleIndicator, null);
1774
+ return /* @__PURE__ */ React12.createElement(StyleIndicator, null);
1712
1775
  }
1713
1776
  return null;
1714
1777
  }
1715
- return /* @__PURE__ */ React11.createElement(StyleIndicator, { getColor: provider ? getStylesProviderThemeColor(provider.getKey()) : void 0 });
1778
+ return /* @__PURE__ */ React12.createElement(StyleIndicator, { getColor: provider ? getStylesProviderThemeColor(provider.getKey()) : void 0 });
1716
1779
  };
1717
1780
  var hasInheritedCustomCss = (style, meta) => {
1718
1781
  if (!style || !meta) {
@@ -1746,17 +1809,17 @@ var hasInheritedCustomCss = (style, meta) => {
1746
1809
  };
1747
1810
 
1748
1811
  // src/components/editing-panel.tsx
1749
- var React81 = __toESM(require("react"));
1812
+ var React82 = __toESM(require("react"));
1750
1813
  var import_editor_controls49 = require("@elementor/editor-controls");
1751
1814
  var import_editor_elements13 = require("@elementor/editor-elements");
1752
1815
  var import_editor_panels = require("@elementor/editor-panels");
1753
- var import_editor_ui7 = require("@elementor/editor-ui");
1816
+ var import_editor_ui8 = require("@elementor/editor-ui");
1754
1817
  var import_icons21 = require("@elementor/icons");
1755
1818
  var import_locations4 = require("@elementor/locations");
1756
1819
  var import_menus = require("@elementor/menus");
1757
- var import_session8 = require("@elementor/session");
1820
+ var import_session9 = require("@elementor/session");
1758
1821
  var import_ui36 = require("@elementor/ui");
1759
- var import_i18n55 = require("@wordpress/i18n");
1822
+ var import_i18n56 = require("@wordpress/i18n");
1760
1823
 
1761
1824
  // src/editing-panel-replacement-registry.tsx
1762
1825
  var registry = /* @__PURE__ */ new Map();
@@ -1771,22 +1834,22 @@ var registerEditingPanelReplacement = ({
1771
1834
  var getEditingPanelReplacement = (element, elementType) => Array.from(registry.values()).filter(({ condition }) => condition(element, elementType)).sort((a, b) => a.priority - b.priority)?.[0] ?? null;
1772
1835
 
1773
1836
  // src/components/editing-panel-error-fallback.tsx
1774
- var React12 = __toESM(require("react"));
1837
+ var React13 = __toESM(require("react"));
1775
1838
  var import_ui8 = require("@elementor/ui");
1776
1839
  function EditorPanelErrorFallback() {
1777
- return /* @__PURE__ */ React12.createElement(import_ui8.Box, { role: "alert", sx: { minHeight: "100%", p: 2 } }, /* @__PURE__ */ React12.createElement(import_ui8.Alert, { severity: "error", sx: { mb: 2, maxWidth: 400, textAlign: "center" } }, /* @__PURE__ */ React12.createElement("strong", null, "Something went wrong")));
1840
+ return /* @__PURE__ */ React13.createElement(import_ui8.Box, { role: "alert", sx: { minHeight: "100%", p: 2 } }, /* @__PURE__ */ React13.createElement(import_ui8.Alert, { severity: "error", sx: { mb: 2, maxWidth: 400, textAlign: "center" } }, /* @__PURE__ */ React13.createElement("strong", null, "Something went wrong")));
1778
1841
  }
1779
1842
 
1780
1843
  // src/components/editing-panel-tabs.tsx
1781
1844
  var import_react35 = require("react");
1782
- var React80 = __toESM(require("react"));
1845
+ var React81 = __toESM(require("react"));
1783
1846
  var import_editor_elements12 = require("@elementor/editor-elements");
1784
1847
  var import_editor_v1_adapters7 = require("@elementor/editor-v1-adapters");
1785
1848
  var import_ui35 = require("@elementor/ui");
1786
- var import_i18n54 = require("@wordpress/i18n");
1849
+ var import_i18n55 = require("@wordpress/i18n");
1787
1850
 
1788
1851
  // src/contexts/scroll-context.tsx
1789
- var React13 = __toESM(require("react"));
1852
+ var React14 = __toESM(require("react"));
1790
1853
  var import_react15 = require("react");
1791
1854
  var import_ui9 = require("@elementor/ui");
1792
1855
  var ScrollContext = (0, import_react15.createContext)(void 0);
@@ -1818,7 +1881,7 @@ function ScrollProvider({ children }) {
1818
1881
  scrollElement.removeEventListener("scroll", handleScroll);
1819
1882
  };
1820
1883
  });
1821
- return /* @__PURE__ */ React13.createElement(ScrollContext.Provider, { value: { direction } }, /* @__PURE__ */ React13.createElement(ScrollPanel, { ref }, children));
1884
+ return /* @__PURE__ */ React14.createElement(ScrollContext.Provider, { value: { direction } }, /* @__PURE__ */ React14.createElement(ScrollPanel, { ref }, children));
1822
1885
  }
1823
1886
  function useScrollDirection() {
1824
1887
  return (0, import_react15.useContext)(ScrollContext)?.direction ?? DEFAULT_SCROLL_DIRECTION;
@@ -1855,44 +1918,44 @@ var useDefaultPanelSettings = () => {
1855
1918
 
1856
1919
  // src/hooks/use-state-by-element.ts
1857
1920
  var import_react17 = require("react");
1858
- var import_session3 = require("@elementor/session");
1921
+ var import_session4 = require("@elementor/session");
1859
1922
  var useStateByElement = (key, initialValue) => {
1860
1923
  const { element } = useElement();
1861
1924
  const lookup = `elementor/editor-state/${element.id}/${key}`;
1862
- const storedValue = (0, import_session3.getSessionStorageItem)(lookup);
1925
+ const storedValue = (0, import_session4.getSessionStorageItem)(lookup);
1863
1926
  const [value, setValue] = (0, import_react17.useState)(storedValue ?? initialValue);
1864
1927
  const doUpdate = (newValue) => {
1865
- (0, import_session3.setSessionStorageItem)(lookup, newValue);
1928
+ (0, import_session4.setSessionStorageItem)(lookup, newValue);
1866
1929
  setValue(newValue);
1867
1930
  };
1868
1931
  return [value, doUpdate];
1869
1932
  };
1870
1933
 
1871
1934
  // src/components/interactions-tab.tsx
1872
- var React15 = __toESM(require("react"));
1935
+ var React16 = __toESM(require("react"));
1873
1936
  var import_editor_interactions = require("@elementor/editor-interactions");
1874
1937
 
1875
1938
  // src/components/sections-list.tsx
1876
- var React14 = __toESM(require("react"));
1939
+ var React15 = __toESM(require("react"));
1877
1940
  var import_ui10 = require("@elementor/ui");
1878
1941
  function SectionsList(props) {
1879
- return /* @__PURE__ */ React14.createElement(import_ui10.List, { disablePadding: true, component: "div", ...props });
1942
+ return /* @__PURE__ */ React15.createElement(import_ui10.List, { disablePadding: true, component: "div", ...props });
1880
1943
  }
1881
1944
 
1882
1945
  // src/components/interactions-tab.tsx
1883
1946
  var InteractionsTab = () => {
1884
1947
  const { element } = useElement();
1885
- return /* @__PURE__ */ React15.createElement(SectionsList, null, /* @__PURE__ */ React15.createElement(import_editor_interactions.InteractionsTab, { elementId: element.id }));
1948
+ return /* @__PURE__ */ React16.createElement(SectionsList, null, /* @__PURE__ */ React16.createElement(import_editor_interactions.InteractionsTab, { elementId: element.id }));
1886
1949
  };
1887
1950
 
1888
1951
  // src/components/settings-tab.tsx
1889
- var React22 = __toESM(require("react"));
1890
- var import_session5 = require("@elementor/session");
1952
+ var React23 = __toESM(require("react"));
1953
+ var import_session6 = require("@elementor/session");
1891
1954
 
1892
1955
  // src/components/section.tsx
1893
- var React16 = __toESM(require("react"));
1956
+ var React17 = __toESM(require("react"));
1894
1957
  var import_react18 = require("react");
1895
- var import_editor_ui4 = require("@elementor/editor-ui");
1958
+ var import_editor_ui5 = require("@elementor/editor-ui");
1896
1959
  var import_ui11 = require("@elementor/ui");
1897
1960
  function Section({ title, children, defaultExpanded = false, titleEnd, unmountOnExit = true, action }) {
1898
1961
  const [isOpen, setIsOpen] = useStateByElement(title, !!defaultExpanded);
@@ -1908,7 +1971,7 @@ function Section({ title, children, defaultExpanded = false, titleEnd, unmountOn
1908
1971
  const id = (0, import_react18.useId)();
1909
1972
  const labelId = `label-${id}`;
1910
1973
  const contentId = `content-${id}`;
1911
- return /* @__PURE__ */ React16.createElement(React16.Fragment, null, /* @__PURE__ */ React16.createElement(
1974
+ return /* @__PURE__ */ React17.createElement(React17.Fragment, null, /* @__PURE__ */ React17.createElement(
1912
1975
  import_ui11.ListItemButton,
1913
1976
  {
1914
1977
  id: labelId,
@@ -1917,17 +1980,17 @@ function Section({ title, children, defaultExpanded = false, titleEnd, unmountOn
1917
1980
  onClick: handleClick,
1918
1981
  sx: { "&:hover": { backgroundColor: "transparent" } }
1919
1982
  },
1920
- /* @__PURE__ */ React16.createElement(import_ui11.Stack, { direction: "row", alignItems: "center", justifyItems: "start", flexGrow: 1, gap: 0.5 }, /* @__PURE__ */ React16.createElement(
1983
+ /* @__PURE__ */ React17.createElement(import_ui11.Stack, { direction: "row", alignItems: "center", justifyItems: "start", flexGrow: 1, gap: 0.5 }, /* @__PURE__ */ React17.createElement(
1921
1984
  import_ui11.ListItemText,
1922
1985
  {
1923
1986
  secondary: title,
1924
1987
  secondaryTypographyProps: { color: "text.primary", variant: "caption", fontWeight: "bold" },
1925
1988
  sx: { flexGrow: 0, flexShrink: 1, marginInlineEnd: 1 }
1926
1989
  }
1927
- ), (0, import_editor_ui4.getCollapsibleValue)(titleEnd, isOpen)),
1990
+ ), (0, import_editor_ui5.getCollapsibleValue)(titleEnd, isOpen)),
1928
1991
  action?.component,
1929
- /* @__PURE__ */ React16.createElement(
1930
- import_editor_ui4.CollapseIcon,
1992
+ /* @__PURE__ */ React17.createElement(
1993
+ import_editor_ui5.CollapseIcon,
1931
1994
  {
1932
1995
  open: isOpen,
1933
1996
  color: "secondary",
@@ -1936,7 +1999,7 @@ function Section({ title, children, defaultExpanded = false, titleEnd, unmountOn
1936
1999
  sx: { ml: 1 }
1937
2000
  }
1938
2001
  )
1939
- ), /* @__PURE__ */ React16.createElement(
2002
+ ), /* @__PURE__ */ React17.createElement(
1940
2003
  import_ui11.Collapse,
1941
2004
  {
1942
2005
  id: contentId,
@@ -1945,17 +2008,17 @@ function Section({ title, children, defaultExpanded = false, titleEnd, unmountOn
1945
2008
  timeout: "auto",
1946
2009
  unmountOnExit
1947
2010
  },
1948
- /* @__PURE__ */ React16.createElement(import_editor_ui4.SectionRefContext.Provider, { value: ref }, /* @__PURE__ */ React16.createElement(import_ui11.Stack, { ref, gap: 2.5, p: 2, "aria-label": `${title} section content` }, children))
1949
- ), /* @__PURE__ */ React16.createElement(import_ui11.Divider, null));
2011
+ /* @__PURE__ */ React17.createElement(import_editor_ui5.SectionRefContext.Provider, { value: ref }, /* @__PURE__ */ React17.createElement(import_ui11.Stack, { ref, gap: 2.5, p: 2, "aria-label": `${title} section content` }, children))
2012
+ ), /* @__PURE__ */ React17.createElement(import_ui11.Divider, null));
1950
2013
  }
1951
2014
 
1952
2015
  // src/components/settings-control.tsx
1953
- var React21 = __toESM(require("react"));
2016
+ var React22 = __toESM(require("react"));
1954
2017
  var import_editor_controls4 = require("@elementor/editor-controls");
1955
2018
  var import_ui14 = require("@elementor/ui");
1956
2019
 
1957
2020
  // src/controls-registry/control.tsx
1958
- var React17 = __toESM(require("react"));
2021
+ var React18 = __toESM(require("react"));
1959
2022
 
1960
2023
  // src/controls-registry/controls-registry.tsx
1961
2024
  var import_editor_controls = require("@elementor/editor-controls");
@@ -2023,17 +2086,17 @@ var Control = ({ props, type }) => {
2023
2086
  context: { controlType: type }
2024
2087
  });
2025
2088
  }
2026
- return /* @__PURE__ */ React17.createElement(ControlByType, { ...props, context: { elementId: element.id } });
2089
+ return /* @__PURE__ */ React18.createElement(ControlByType, { ...props, context: { elementId: element.id } });
2027
2090
  };
2028
2091
 
2029
2092
  // src/controls-registry/control-type-container.tsx
2030
- var React18 = __toESM(require("react"));
2093
+ var React19 = __toESM(require("react"));
2031
2094
  var import_ui12 = require("@elementor/ui");
2032
2095
  var ControlTypeContainer = ({ children, layout }) => {
2033
2096
  if (layout === "custom") {
2034
2097
  return children;
2035
2098
  }
2036
- return /* @__PURE__ */ React18.createElement(StyledContainer, { layout }, children);
2099
+ return /* @__PURE__ */ React19.createElement(StyledContainer, { layout }, children);
2037
2100
  };
2038
2101
  var StyledContainer = (0, import_ui12.styled)(import_ui12.Box, {
2039
2102
  shouldForwardProp: (prop) => !["layout"].includes(prop)
@@ -2061,17 +2124,17 @@ var getStyleByLayout = (layout) => {
2061
2124
  };
2062
2125
 
2063
2126
  // src/controls-registry/settings-field.tsx
2064
- var React19 = __toESM(require("react"));
2127
+ var React20 = __toESM(require("react"));
2065
2128
  var import_react19 = require("react");
2066
2129
  var import_editor_controls2 = require("@elementor/editor-controls");
2067
2130
  var import_editor_documents2 = require("@elementor/editor-documents");
2068
2131
  var import_editor_elements6 = require("@elementor/editor-elements");
2069
2132
  var import_editor_v1_adapters4 = require("@elementor/editor-v1-adapters");
2070
- var import_i18n7 = require("@wordpress/i18n");
2133
+ var import_i18n8 = require("@wordpress/i18n");
2071
2134
 
2072
2135
  // src/utils/prop-dependency-utils.ts
2073
2136
  var import_editor_props5 = require("@elementor/editor-props");
2074
- var import_session4 = require("@elementor/session");
2137
+ var import_session5 = require("@elementor/session");
2075
2138
  function getElementSettingsWithDefaults(propsSchema, elementSettings) {
2076
2139
  const elementSettingsWithDefaults = { ...elementSettings };
2077
2140
  Object.keys(propsSchema).forEach((key) => {
@@ -2209,17 +2272,17 @@ function savePreviousValueToStorage({ path, elementId, value }) {
2209
2272
  return;
2210
2273
  }
2211
2274
  const key = `${prefix}:${path}`;
2212
- (0, import_session4.setSessionStorageItem)(key, value);
2275
+ (0, import_session5.setSessionStorageItem)(key, value);
2213
2276
  }
2214
2277
  function retrievePreviousValueFromStorage({ path, elementId }) {
2215
2278
  const prefix = `elementor/${elementId}`;
2216
2279
  const key = `${prefix}:${path}`;
2217
- return (0, import_session4.getSessionStorageItem)(key) ?? null;
2280
+ return (0, import_session5.getSessionStorageItem)(key) ?? null;
2218
2281
  }
2219
2282
  function removePreviousValueFromStorage({ path, elementId }) {
2220
2283
  const prefix = `elementor/${elementId}`;
2221
2284
  const key = `${prefix}:${path}`;
2222
- (0, import_session4.removeSessionStorageItem)(key);
2285
+ (0, import_session5.removeSessionStorageItem)(key);
2223
2286
  }
2224
2287
 
2225
2288
  // src/controls-registry/create-top-level-object-type.ts
@@ -2264,7 +2327,7 @@ var SettingsField = ({ bind, children, propDisplayName }) => {
2264
2327
  (0, import_editor_elements6.updateElementSettings)({ id: elementId, props: settings, withHistory: false });
2265
2328
  }
2266
2329
  };
2267
- return /* @__PURE__ */ React19.createElement(import_editor_controls2.PropProvider, { propType, value, setValue, isDisabled }, /* @__PURE__ */ React19.createElement(import_editor_controls2.PropKeyProvider, { bind }, children));
2330
+ return /* @__PURE__ */ React20.createElement(import_editor_controls2.PropProvider, { propType, value, setValue, isDisabled }, /* @__PURE__ */ React20.createElement(import_editor_controls2.PropKeyProvider, { bind }, children));
2268
2331
  };
2269
2332
  function useUndoableUpdateElementProp({
2270
2333
  elementId,
@@ -2286,7 +2349,7 @@ function useUndoableUpdateElementProp({
2286
2349
  {
2287
2350
  title: (0, import_editor_elements6.getElementLabel)(elementId),
2288
2351
  // translators: %s is the name of the property that was edited.
2289
- subtitle: (0, import_i18n7.__)("%s edited", "elementor").replace("%s", propDisplayName),
2352
+ subtitle: (0, import_i18n8.__)("%s edited", "elementor").replace("%s", propDisplayName),
2290
2353
  debounce: { wait: HISTORY_DEBOUNCE_WAIT2 }
2291
2354
  }
2292
2355
  );
@@ -2314,11 +2377,11 @@ var registerFieldIndicator = ({
2314
2377
  var getFieldIndicators = (fieldType) => Array.from(indicatorsRegistry[fieldType].values()).sort((a, b) => a.priority - b.priority).map(({ id, indicator: Adornment }) => ({ id, Adornment }));
2315
2378
 
2316
2379
  // src/components/control-label.tsx
2317
- var React20 = __toESM(require("react"));
2380
+ var React21 = __toESM(require("react"));
2318
2381
  var import_editor_controls3 = require("@elementor/editor-controls");
2319
2382
  var import_ui13 = require("@elementor/ui");
2320
2383
  var ControlLabel = ({ children }) => {
2321
- return /* @__PURE__ */ React20.createElement(import_ui13.Stack, { direction: "row", alignItems: "center", justifyItems: "start", gap: 0.25 }, /* @__PURE__ */ React20.createElement(import_editor_controls3.ControlFormLabel, null, children), /* @__PURE__ */ React20.createElement(import_editor_controls3.ControlAdornments, null));
2384
+ return /* @__PURE__ */ React21.createElement(import_ui13.Stack, { direction: "row", alignItems: "center", justifyItems: "start", gap: 0.25 }, /* @__PURE__ */ React21.createElement(import_editor_controls3.ControlFormLabel, null, children), /* @__PURE__ */ React21.createElement(import_editor_controls3.ControlAdornments, null));
2322
2385
  };
2323
2386
 
2324
2387
  // src/components/settings-control.tsx
@@ -2335,9 +2398,9 @@ var SettingsControl = ({ control: { value, type } }) => {
2335
2398
  controlProps.label = value.label;
2336
2399
  }
2337
2400
  if (type === "element-control") {
2338
- return /* @__PURE__ */ React21.createElement(ControlLayout, { control: value, layout, controlProps });
2401
+ return /* @__PURE__ */ React22.createElement(ControlLayout, { control: value, layout, controlProps });
2339
2402
  }
2340
- return /* @__PURE__ */ React21.createElement(SettingsField, { bind: value.bind, propDisplayName: value.label || value.bind }, /* @__PURE__ */ React21.createElement(ControlLayout, { control: value, layout, controlProps }));
2403
+ return /* @__PURE__ */ React22.createElement(SettingsField, { bind: value.bind, propDisplayName: value.label || value.bind }, /* @__PURE__ */ React22.createElement(ControlLayout, { control: value, layout, controlProps }));
2341
2404
  };
2342
2405
  var ControlLayout = ({
2343
2406
  control,
@@ -2345,7 +2408,7 @@ var ControlLayout = ({
2345
2408
  controlProps
2346
2409
  }) => {
2347
2410
  const controlType = control.type;
2348
- return /* @__PURE__ */ React21.createElement(import_editor_controls4.ControlAdornmentsProvider, { items: getFieldIndicators("settings") }, control.meta?.topDivider && /* @__PURE__ */ React21.createElement(import_ui14.Divider, null), /* @__PURE__ */ React21.createElement(Wrapper, { "data-type": "settings-field" }, /* @__PURE__ */ React21.createElement(ControlTypeContainer, { layout }, control.label && layout !== "custom" ? /* @__PURE__ */ React21.createElement(ControlLabel, null, control.label) : null, /* @__PURE__ */ React21.createElement(Control, { type: controlType, props: controlProps }))));
2411
+ return /* @__PURE__ */ React22.createElement(import_editor_controls4.ControlAdornmentsProvider, { items: getFieldIndicators("settings") }, control.meta?.topDivider && /* @__PURE__ */ React22.createElement(import_ui14.Divider, null), /* @__PURE__ */ React22.createElement(Wrapper, { "data-type": "settings-field" }, /* @__PURE__ */ React22.createElement(ControlTypeContainer, { layout }, control.label && layout !== "custom" ? /* @__PURE__ */ React22.createElement(ControlLabel, null, control.label) : null, /* @__PURE__ */ React22.createElement(Control, { type: controlType, props: controlProps }))));
2349
2412
  };
2350
2413
  function populateChildControlProps(props) {
2351
2414
  if (props.childControlType) {
@@ -2368,13 +2431,13 @@ var SettingsTab = () => {
2368
2431
  const { elementType, element } = useElement();
2369
2432
  const settingsDefault = useDefaultPanelSettings();
2370
2433
  const isDefaultExpanded = (sectionId) => settingsDefault.defaultSectionsExpanded.settings?.includes(sectionId);
2371
- return /* @__PURE__ */ React22.createElement(import_session5.SessionStorageProvider, { prefix: element.id }, /* @__PURE__ */ React22.createElement(SectionsList, null, elementType.controls.map((control, index) => {
2434
+ return /* @__PURE__ */ React23.createElement(import_session6.SessionStorageProvider, { prefix: element.id }, /* @__PURE__ */ React23.createElement(SectionsList, null, elementType.controls.map((control, index) => {
2372
2435
  if (isControl(control)) {
2373
- return /* @__PURE__ */ React22.createElement(SettingsControl, { key: getKey(control, element), control });
2436
+ return /* @__PURE__ */ React23.createElement(SettingsControl, { key: getKey(control, element), control });
2374
2437
  }
2375
2438
  const { type, value } = control;
2376
2439
  if (type === "section") {
2377
- return /* @__PURE__ */ React22.createElement(
2440
+ return /* @__PURE__ */ React23.createElement(
2378
2441
  Section,
2379
2442
  {
2380
2443
  title: value.label,
@@ -2383,7 +2446,7 @@ var SettingsTab = () => {
2383
2446
  },
2384
2447
  value.items?.map((item) => {
2385
2448
  if (isControl(item)) {
2386
- return /* @__PURE__ */ React22.createElement(SettingsControl, { key: getKey(item, element), control: item });
2449
+ return /* @__PURE__ */ React23.createElement(SettingsControl, { key: getKey(item, element), control: item });
2387
2450
  }
2388
2451
  return null;
2389
2452
  })
@@ -2403,23 +2466,23 @@ function isControl(control) {
2403
2466
  }
2404
2467
 
2405
2468
  // src/components/style-tab.tsx
2406
- var React79 = __toESM(require("react"));
2469
+ var React80 = __toESM(require("react"));
2407
2470
  var import_react34 = require("react");
2408
2471
  var import_editor_props14 = require("@elementor/editor-props");
2409
2472
  var import_editor_responsive3 = require("@elementor/editor-responsive");
2410
2473
  var import_locations3 = require("@elementor/locations");
2411
- var import_session7 = require("@elementor/session");
2474
+ var import_session8 = require("@elementor/session");
2412
2475
  var import_ui34 = require("@elementor/ui");
2413
- var import_i18n53 = require("@wordpress/i18n");
2476
+ var import_i18n54 = require("@wordpress/i18n");
2414
2477
 
2415
2478
  // src/contexts/styles-inheritance-context.tsx
2416
- var React23 = __toESM(require("react"));
2479
+ var React24 = __toESM(require("react"));
2417
2480
  var import_react20 = require("react");
2418
2481
  var import_editor_elements7 = require("@elementor/editor-elements");
2419
2482
  var import_editor_props8 = require("@elementor/editor-props");
2420
2483
  var import_editor_responsive2 = require("@elementor/editor-responsive");
2421
2484
  var import_editor_styles5 = require("@elementor/editor-styles");
2422
- var import_editor_styles_repository12 = require("@elementor/editor-styles-repository");
2485
+ var import_editor_styles_repository13 = require("@elementor/editor-styles-repository");
2423
2486
 
2424
2487
  // src/styles-inheritance/create-styles-inheritance.ts
2425
2488
  var import_editor_props7 = require("@elementor/editor-props");
@@ -2651,7 +2714,7 @@ function StyleInheritanceProvider({ children }) {
2651
2714
  const styleDefs = useAppliedStyles();
2652
2715
  const breakpointsTree = (0, import_editor_responsive2.getBreakpointsTree)();
2653
2716
  const { getSnapshot, getInheritanceChain } = createStylesInheritance(styleDefs, breakpointsTree);
2654
- return /* @__PURE__ */ React23.createElement(Context4.Provider, { value: { getSnapshot, getInheritanceChain } }, children);
2717
+ return /* @__PURE__ */ React24.createElement(Context4.Provider, { value: { getSnapshot, getInheritanceChain } }, children);
2655
2718
  }
2656
2719
  function useStylesInheritanceSnapshot() {
2657
2720
  const context = (0, import_react20.useContext)(Context4);
@@ -2683,7 +2746,7 @@ var useAppliedStyles = () => {
2683
2746
  useStylesRerender();
2684
2747
  const classesProp = usePanelElementSetting(currentClassesProp);
2685
2748
  const appliedStyles = import_editor_props8.classesPropTypeUtil.extract(classesProp) ?? [];
2686
- return import_editor_styles_repository12.stylesRepository.all().filter((style) => [...baseStyles, ...appliedStyles].includes(style.id));
2749
+ return import_editor_styles_repository13.stylesRepository.all().filter((style) => [...baseStyles, ...appliedStyles].includes(style.id));
2687
2750
  };
2688
2751
  var useBaseStyles = () => {
2689
2752
  const { elementType } = useElement();
@@ -2715,12 +2778,12 @@ function useActiveAndAppliedClassId(id, appliedClassesIds) {
2715
2778
  }
2716
2779
 
2717
2780
  // src/components/style-sections/background-section/background-section.tsx
2718
- var React26 = __toESM(require("react"));
2781
+ var React27 = __toESM(require("react"));
2719
2782
  var import_editor_controls7 = require("@elementor/editor-controls");
2720
- var import_i18n8 = require("@wordpress/i18n");
2783
+ var import_i18n9 = require("@wordpress/i18n");
2721
2784
 
2722
2785
  // src/controls-registry/styles-field.tsx
2723
- var React24 = __toESM(require("react"));
2786
+ var React25 = __toESM(require("react"));
2724
2787
  var import_editor_controls6 = require("@elementor/editor-controls");
2725
2788
  var import_editor_props10 = require("@elementor/editor-props");
2726
2789
  var import_editor_styles6 = require("@elementor/editor-styles");
@@ -2813,7 +2876,7 @@ var StylesField = ({ bind, propDisplayName, children }) => {
2813
2876
  const setValue = (newValue) => {
2814
2877
  fields.setValue(newValue[bind]);
2815
2878
  };
2816
- return /* @__PURE__ */ React24.createElement(import_editor_controls6.ControlAdornmentsProvider, { items: getFieldIndicators("styles") }, /* @__PURE__ */ React24.createElement(
2879
+ return /* @__PURE__ */ React25.createElement(import_editor_controls6.ControlAdornmentsProvider, { items: getFieldIndicators("styles") }, /* @__PURE__ */ React25.createElement(
2817
2880
  import_editor_controls6.PropProvider,
2818
2881
  {
2819
2882
  propType,
@@ -2822,40 +2885,40 @@ var StylesField = ({ bind, propDisplayName, children }) => {
2822
2885
  placeholder: placeholderValues,
2823
2886
  isDisabled: () => !canEdit
2824
2887
  },
2825
- /* @__PURE__ */ React24.createElement(import_editor_controls6.PropKeyProvider, { bind }, /* @__PURE__ */ React24.createElement(ConditionalField, null, children))
2888
+ /* @__PURE__ */ React25.createElement(import_editor_controls6.PropKeyProvider, { bind }, /* @__PURE__ */ React25.createElement(ConditionalField, null, children))
2826
2889
  ));
2827
2890
  };
2828
2891
 
2829
2892
  // src/components/section-content.tsx
2830
- var React25 = __toESM(require("react"));
2893
+ var React26 = __toESM(require("react"));
2831
2894
  var import_ui15 = require("@elementor/ui");
2832
- var SectionContent = ({ gap = 2, sx, children, "aria-label": ariaLabel }) => /* @__PURE__ */ React25.createElement(import_ui15.Stack, { gap, sx: { ...sx }, "aria-label": ariaLabel }, children);
2895
+ var SectionContent = ({ gap = 2, sx, children, "aria-label": ariaLabel }) => /* @__PURE__ */ React26.createElement(import_ui15.Stack, { gap, sx: { ...sx }, "aria-label": ariaLabel }, children);
2833
2896
 
2834
2897
  // src/components/style-sections/background-section/background-section.tsx
2835
- var BACKGROUND_LABEL = (0, import_i18n8.__)("Background", "elementor");
2898
+ var BACKGROUND_LABEL = (0, import_i18n9.__)("Background", "elementor");
2836
2899
  var BackgroundSection = () => {
2837
- return /* @__PURE__ */ React26.createElement(SectionContent, null, /* @__PURE__ */ React26.createElement(StylesField, { bind: "background", propDisplayName: BACKGROUND_LABEL }, /* @__PURE__ */ React26.createElement(import_editor_controls7.BackgroundControl, null)));
2900
+ return /* @__PURE__ */ React27.createElement(SectionContent, null, /* @__PURE__ */ React27.createElement(StylesField, { bind: "background", propDisplayName: BACKGROUND_LABEL }, /* @__PURE__ */ React27.createElement(import_editor_controls7.BackgroundControl, null)));
2838
2901
  };
2839
2902
 
2840
2903
  // src/components/style-sections/border-section/border-section.tsx
2841
- var React33 = __toESM(require("react"));
2904
+ var React34 = __toESM(require("react"));
2842
2905
 
2843
2906
  // src/components/style-sections/border-section/border-color-field.tsx
2844
- var React28 = __toESM(require("react"));
2907
+ var React29 = __toESM(require("react"));
2845
2908
  var import_editor_controls8 = require("@elementor/editor-controls");
2846
- var import_i18n9 = require("@wordpress/i18n");
2909
+ var import_i18n10 = require("@wordpress/i18n");
2847
2910
 
2848
2911
  // src/components/styles-field-layout.tsx
2849
- var React27 = __toESM(require("react"));
2912
+ var React28 = __toESM(require("react"));
2850
2913
  var import_ui16 = require("@elementor/ui");
2851
- var StylesFieldLayout = React27.forwardRef((props, ref) => {
2914
+ var StylesFieldLayout = React28.forwardRef((props, ref) => {
2852
2915
  const { direction = "row", children, label } = props;
2853
2916
  const LayoutComponent = direction === "row" ? Row : Column;
2854
- return /* @__PURE__ */ React27.createElement(LayoutComponent, { label, ref, children });
2917
+ return /* @__PURE__ */ React28.createElement(LayoutComponent, { label, ref, children });
2855
2918
  });
2856
- var Row = React27.forwardRef(
2919
+ var Row = React28.forwardRef(
2857
2920
  ({ label, children }, ref) => {
2858
- return /* @__PURE__ */ React27.createElement(
2921
+ return /* @__PURE__ */ React28.createElement(
2859
2922
  import_ui16.Grid,
2860
2923
  {
2861
2924
  container: true,
@@ -2865,8 +2928,8 @@ var Row = React27.forwardRef(
2865
2928
  ref,
2866
2929
  "aria-label": `${label} control`
2867
2930
  },
2868
- /* @__PURE__ */ React27.createElement(import_ui16.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React27.createElement(ControlLabel, null, label)),
2869
- /* @__PURE__ */ React27.createElement(
2931
+ /* @__PURE__ */ React28.createElement(import_ui16.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React28.createElement(ControlLabel, null, label)),
2932
+ /* @__PURE__ */ React28.createElement(
2870
2933
  import_ui16.Grid,
2871
2934
  {
2872
2935
  item: true,
@@ -2880,23 +2943,23 @@ var Row = React27.forwardRef(
2880
2943
  );
2881
2944
  }
2882
2945
  );
2883
- var Column = React27.forwardRef(
2946
+ var Column = React28.forwardRef(
2884
2947
  ({ label, children }, ref) => {
2885
- return /* @__PURE__ */ React27.createElement(import_ui16.Stack, { gap: 0.75, ref }, /* @__PURE__ */ React27.createElement(ControlLabel, null, label), children);
2948
+ return /* @__PURE__ */ React28.createElement(import_ui16.Stack, { gap: 0.75, ref }, /* @__PURE__ */ React28.createElement(ControlLabel, null, label), children);
2886
2949
  }
2887
2950
  );
2888
2951
 
2889
2952
  // src/components/style-sections/border-section/border-color-field.tsx
2890
- var BORDER_COLOR_LABEL = (0, import_i18n9.__)("Border color", "elementor");
2891
- var BorderColorField = () => /* @__PURE__ */ React28.createElement(StylesField, { bind: "border-color", propDisplayName: BORDER_COLOR_LABEL }, /* @__PURE__ */ React28.createElement(StylesFieldLayout, { label: BORDER_COLOR_LABEL }, /* @__PURE__ */ React28.createElement(import_editor_controls8.ColorControl, null)));
2953
+ var BORDER_COLOR_LABEL = (0, import_i18n10.__)("Border color", "elementor");
2954
+ var BorderColorField = () => /* @__PURE__ */ React29.createElement(StylesField, { bind: "border-color", propDisplayName: BORDER_COLOR_LABEL }, /* @__PURE__ */ React29.createElement(StylesFieldLayout, { label: BORDER_COLOR_LABEL }, /* @__PURE__ */ React29.createElement(import_editor_controls8.ColorControl, null)));
2892
2955
 
2893
2956
  // src/components/style-sections/border-section/border-radius-field.tsx
2894
- var React30 = __toESM(require("react"));
2957
+ var React31 = __toESM(require("react"));
2895
2958
  var import_editor_controls9 = require("@elementor/editor-controls");
2896
2959
  var import_editor_props11 = require("@elementor/editor-props");
2897
2960
  var import_icons3 = require("@elementor/icons");
2898
2961
  var import_ui19 = require("@elementor/ui");
2899
- var import_i18n10 = require("@wordpress/i18n");
2962
+ var import_i18n11 = require("@wordpress/i18n");
2900
2963
 
2901
2964
  // src/hooks/use-direction.ts
2902
2965
  var import_editor_v1_adapters5 = require("@elementor/editor-v1-adapters");
@@ -2908,142 +2971,142 @@ function useDirection() {
2908
2971
  }
2909
2972
 
2910
2973
  // src/styles-inheritance/components/ui-providers.tsx
2911
- var React29 = __toESM(require("react"));
2974
+ var React30 = __toESM(require("react"));
2912
2975
  var import_ui18 = require("@elementor/ui");
2913
2976
  var UiProviders = ({ children }) => {
2914
2977
  const { isSiteRtl } = useDirection();
2915
- return /* @__PURE__ */ React29.createElement(import_ui18.DirectionProvider, { rtl: isSiteRtl }, /* @__PURE__ */ React29.createElement(import_ui18.ThemeProvider, null, children));
2978
+ return /* @__PURE__ */ React30.createElement(import_ui18.DirectionProvider, { rtl: isSiteRtl }, /* @__PURE__ */ React30.createElement(import_ui18.ThemeProvider, null, children));
2916
2979
  };
2917
2980
 
2918
2981
  // src/components/style-sections/border-section/border-radius-field.tsx
2919
- var BORDER_RADIUS_LABEL = (0, import_i18n10.__)("Border radius", "elementor");
2982
+ var BORDER_RADIUS_LABEL = (0, import_i18n11.__)("Border radius", "elementor");
2920
2983
  var StartStartIcon = (0, import_ui19.withDirection)(import_icons3.RadiusTopLeftIcon);
2921
2984
  var StartEndIcon = (0, import_ui19.withDirection)(import_icons3.RadiusTopRightIcon);
2922
2985
  var EndStartIcon = (0, import_ui19.withDirection)(import_icons3.RadiusBottomLeftIcon);
2923
2986
  var EndEndIcon = (0, import_ui19.withDirection)(import_icons3.RadiusBottomRightIcon);
2924
- var getStartStartLabel = (isSiteRtl) => isSiteRtl ? (0, import_i18n10.__)("Top right", "elementor") : (0, import_i18n10.__)("Top left", "elementor");
2925
- var getStartStartAriaLabel = (isSiteRtl) => isSiteRtl ? (0, import_i18n10.__)("Border top right radius", "elementor") : (0, import_i18n10.__)("Border top left radius", "elementor");
2926
- var getStartEndLabel = (isSiteRtl) => isSiteRtl ? (0, import_i18n10.__)("Top left", "elementor") : (0, import_i18n10.__)("Top right", "elementor");
2927
- var getStartEndAriaLabel = (isSiteRtl) => isSiteRtl ? (0, import_i18n10.__)("Border top left radius", "elementor") : (0, import_i18n10.__)("Border top right radius", "elementor");
2928
- var getEndStartLabel = (isSiteRtl) => isSiteRtl ? (0, import_i18n10.__)("Bottom right", "elementor") : (0, import_i18n10.__)("Bottom left", "elementor");
2929
- var getEndStartAriaLabel = (isSiteRtl) => isSiteRtl ? (0, import_i18n10.__)("Border bottom right radius", "elementor") : (0, import_i18n10.__)("Border bottom left radius", "elementor");
2930
- var getEndEndLabel = (isSiteRtl) => isSiteRtl ? (0, import_i18n10.__)("Bottom left", "elementor") : (0, import_i18n10.__)("Bottom right", "elementor");
2931
- var getEndEndAriaLabel = (isSiteRtl) => isSiteRtl ? (0, import_i18n10.__)("Border bottom left radius", "elementor") : (0, import_i18n10.__)("Border bottom right radius", "elementor");
2987
+ var getStartStartLabel = (isSiteRtl) => isSiteRtl ? (0, import_i18n11.__)("Top right", "elementor") : (0, import_i18n11.__)("Top left", "elementor");
2988
+ var getStartStartAriaLabel = (isSiteRtl) => isSiteRtl ? (0, import_i18n11.__)("Border top right radius", "elementor") : (0, import_i18n11.__)("Border top left radius", "elementor");
2989
+ var getStartEndLabel = (isSiteRtl) => isSiteRtl ? (0, import_i18n11.__)("Top left", "elementor") : (0, import_i18n11.__)("Top right", "elementor");
2990
+ var getStartEndAriaLabel = (isSiteRtl) => isSiteRtl ? (0, import_i18n11.__)("Border top left radius", "elementor") : (0, import_i18n11.__)("Border top right radius", "elementor");
2991
+ var getEndStartLabel = (isSiteRtl) => isSiteRtl ? (0, import_i18n11.__)("Bottom right", "elementor") : (0, import_i18n11.__)("Bottom left", "elementor");
2992
+ var getEndStartAriaLabel = (isSiteRtl) => isSiteRtl ? (0, import_i18n11.__)("Border bottom right radius", "elementor") : (0, import_i18n11.__)("Border bottom left radius", "elementor");
2993
+ var getEndEndLabel = (isSiteRtl) => isSiteRtl ? (0, import_i18n11.__)("Bottom left", "elementor") : (0, import_i18n11.__)("Bottom right", "elementor");
2994
+ var getEndEndAriaLabel = (isSiteRtl) => isSiteRtl ? (0, import_i18n11.__)("Border bottom left radius", "elementor") : (0, import_i18n11.__)("Border bottom right radius", "elementor");
2932
2995
  var getCorners = (isSiteRtl) => [
2933
2996
  {
2934
2997
  label: getStartStartLabel(isSiteRtl),
2935
2998
  ariaLabel: getStartStartAriaLabel(isSiteRtl),
2936
- icon: /* @__PURE__ */ React30.createElement(StartStartIcon, { fontSize: "tiny" }),
2999
+ icon: /* @__PURE__ */ React31.createElement(StartStartIcon, { fontSize: "tiny" }),
2937
3000
  bind: "start-start"
2938
3001
  },
2939
3002
  {
2940
3003
  label: getStartEndLabel(isSiteRtl),
2941
3004
  ariaLabel: getStartEndAriaLabel(isSiteRtl),
2942
- icon: /* @__PURE__ */ React30.createElement(StartEndIcon, { fontSize: "tiny" }),
3005
+ icon: /* @__PURE__ */ React31.createElement(StartEndIcon, { fontSize: "tiny" }),
2943
3006
  bind: "start-end"
2944
3007
  },
2945
3008
  {
2946
3009
  label: getEndStartLabel(isSiteRtl),
2947
3010
  ariaLabel: getEndStartAriaLabel(isSiteRtl),
2948
- icon: /* @__PURE__ */ React30.createElement(EndStartIcon, { fontSize: "tiny" }),
3011
+ icon: /* @__PURE__ */ React31.createElement(EndStartIcon, { fontSize: "tiny" }),
2949
3012
  bind: "end-start"
2950
3013
  },
2951
3014
  {
2952
3015
  label: getEndEndLabel(isSiteRtl),
2953
3016
  ariaLabel: getEndEndAriaLabel(isSiteRtl),
2954
- icon: /* @__PURE__ */ React30.createElement(EndEndIcon, { fontSize: "tiny" }),
3017
+ icon: /* @__PURE__ */ React31.createElement(EndEndIcon, { fontSize: "tiny" }),
2955
3018
  bind: "end-end"
2956
3019
  }
2957
3020
  ];
2958
3021
  var BorderRadiusField = () => {
2959
3022
  const { isSiteRtl } = useDirection();
2960
- return /* @__PURE__ */ React30.createElement(UiProviders, null, /* @__PURE__ */ React30.createElement(StylesField, { bind: "border-radius", propDisplayName: BORDER_RADIUS_LABEL }, /* @__PURE__ */ React30.createElement(
3023
+ return /* @__PURE__ */ React31.createElement(UiProviders, null, /* @__PURE__ */ React31.createElement(StylesField, { bind: "border-radius", propDisplayName: BORDER_RADIUS_LABEL }, /* @__PURE__ */ React31.createElement(
2961
3024
  import_editor_controls9.EqualUnequalSizesControl,
2962
3025
  {
2963
3026
  items: getCorners(isSiteRtl),
2964
3027
  label: BORDER_RADIUS_LABEL,
2965
- icon: /* @__PURE__ */ React30.createElement(import_icons3.BorderCornersIcon, { fontSize: "tiny" }),
2966
- tooltipLabel: (0, import_i18n10.__)("Adjust corners", "elementor"),
3028
+ icon: /* @__PURE__ */ React31.createElement(import_icons3.BorderCornersIcon, { fontSize: "tiny" }),
3029
+ tooltipLabel: (0, import_i18n11.__)("Adjust corners", "elementor"),
2967
3030
  multiSizePropTypeUtil: import_editor_props11.borderRadiusPropTypeUtil
2968
3031
  }
2969
3032
  )));
2970
3033
  };
2971
3034
 
2972
3035
  // src/components/style-sections/border-section/border-style-field.tsx
2973
- var React31 = __toESM(require("react"));
3036
+ var React32 = __toESM(require("react"));
2974
3037
  var import_editor_controls10 = require("@elementor/editor-controls");
2975
- var import_i18n11 = require("@wordpress/i18n");
2976
- var BORDER_TYPE_LABEL = (0, import_i18n11.__)("Border type", "elementor");
3038
+ var import_i18n12 = require("@wordpress/i18n");
3039
+ var BORDER_TYPE_LABEL = (0, import_i18n12.__)("Border type", "elementor");
2977
3040
  var borderStyles = [
2978
- { value: "none", label: (0, import_i18n11.__)("None", "elementor") },
2979
- { value: "solid", label: (0, import_i18n11.__)("Solid", "elementor") },
2980
- { value: "dashed", label: (0, import_i18n11.__)("Dashed", "elementor") },
2981
- { value: "dotted", label: (0, import_i18n11.__)("Dotted", "elementor") },
2982
- { value: "double", label: (0, import_i18n11.__)("Double", "elementor") },
2983
- { value: "groove", label: (0, import_i18n11.__)("Groove", "elementor") },
2984
- { value: "ridge", label: (0, import_i18n11.__)("Ridge", "elementor") },
2985
- { value: "inset", label: (0, import_i18n11.__)("Inset", "elementor") },
2986
- { value: "outset", label: (0, import_i18n11.__)("Outset", "elementor") }
3041
+ { value: "none", label: (0, import_i18n12.__)("None", "elementor") },
3042
+ { value: "solid", label: (0, import_i18n12.__)("Solid", "elementor") },
3043
+ { value: "dashed", label: (0, import_i18n12.__)("Dashed", "elementor") },
3044
+ { value: "dotted", label: (0, import_i18n12.__)("Dotted", "elementor") },
3045
+ { value: "double", label: (0, import_i18n12.__)("Double", "elementor") },
3046
+ { value: "groove", label: (0, import_i18n12.__)("Groove", "elementor") },
3047
+ { value: "ridge", label: (0, import_i18n12.__)("Ridge", "elementor") },
3048
+ { value: "inset", label: (0, import_i18n12.__)("Inset", "elementor") },
3049
+ { value: "outset", label: (0, import_i18n12.__)("Outset", "elementor") }
2987
3050
  ];
2988
- var BorderStyleField = () => /* @__PURE__ */ React31.createElement(StylesField, { bind: "border-style", propDisplayName: BORDER_TYPE_LABEL }, /* @__PURE__ */ React31.createElement(StylesFieldLayout, { label: BORDER_TYPE_LABEL }, /* @__PURE__ */ React31.createElement(import_editor_controls10.SelectControl, { options: borderStyles })));
3051
+ var BorderStyleField = () => /* @__PURE__ */ React32.createElement(StylesField, { bind: "border-style", propDisplayName: BORDER_TYPE_LABEL }, /* @__PURE__ */ React32.createElement(StylesFieldLayout, { label: BORDER_TYPE_LABEL }, /* @__PURE__ */ React32.createElement(import_editor_controls10.SelectControl, { options: borderStyles })));
2989
3052
 
2990
3053
  // src/components/style-sections/border-section/border-width-field.tsx
2991
- var React32 = __toESM(require("react"));
3054
+ var React33 = __toESM(require("react"));
2992
3055
  var import_editor_controls11 = require("@elementor/editor-controls");
2993
3056
  var import_editor_props12 = require("@elementor/editor-props");
2994
3057
  var import_icons4 = require("@elementor/icons");
2995
3058
  var import_ui20 = require("@elementor/ui");
2996
- var import_i18n12 = require("@wordpress/i18n");
2997
- var BORDER_WIDTH_LABEL = (0, import_i18n12.__)("Border width", "elementor");
3059
+ var import_i18n13 = require("@wordpress/i18n");
3060
+ var BORDER_WIDTH_LABEL = (0, import_i18n13.__)("Border width", "elementor");
2998
3061
  var InlineStartIcon = (0, import_ui20.withDirection)(import_icons4.SideRightIcon);
2999
3062
  var InlineEndIcon = (0, import_ui20.withDirection)(import_icons4.SideLeftIcon);
3000
3063
  var getEdges = (isSiteRtl) => [
3001
3064
  {
3002
- label: (0, import_i18n12.__)("Top", "elementor"),
3003
- ariaLabel: (0, import_i18n12.__)("Border top width", "elementor"),
3004
- icon: /* @__PURE__ */ React32.createElement(import_icons4.SideTopIcon, { fontSize: "tiny" }),
3065
+ label: (0, import_i18n13.__)("Top", "elementor"),
3066
+ ariaLabel: (0, import_i18n13.__)("Border top width", "elementor"),
3067
+ icon: /* @__PURE__ */ React33.createElement(import_icons4.SideTopIcon, { fontSize: "tiny" }),
3005
3068
  bind: "block-start"
3006
3069
  },
3007
3070
  {
3008
- label: isSiteRtl ? (0, import_i18n12.__)("Left", "elementor") : (0, import_i18n12.__)("Right", "elementor"),
3009
- ariaLabel: isSiteRtl ? (0, import_i18n12.__)("Border left width", "elementor") : (0, import_i18n12.__)("Border right width", "elementor"),
3010
- icon: /* @__PURE__ */ React32.createElement(InlineStartIcon, { fontSize: "tiny" }),
3071
+ label: isSiteRtl ? (0, import_i18n13.__)("Left", "elementor") : (0, import_i18n13.__)("Right", "elementor"),
3072
+ ariaLabel: isSiteRtl ? (0, import_i18n13.__)("Border left width", "elementor") : (0, import_i18n13.__)("Border right width", "elementor"),
3073
+ icon: /* @__PURE__ */ React33.createElement(InlineStartIcon, { fontSize: "tiny" }),
3011
3074
  bind: "inline-end"
3012
3075
  },
3013
3076
  {
3014
- label: (0, import_i18n12.__)("Bottom", "elementor"),
3015
- ariaLabel: (0, import_i18n12.__)("Border bottom width", "elementor"),
3016
- icon: /* @__PURE__ */ React32.createElement(import_icons4.SideBottomIcon, { fontSize: "tiny" }),
3077
+ label: (0, import_i18n13.__)("Bottom", "elementor"),
3078
+ ariaLabel: (0, import_i18n13.__)("Border bottom width", "elementor"),
3079
+ icon: /* @__PURE__ */ React33.createElement(import_icons4.SideBottomIcon, { fontSize: "tiny" }),
3017
3080
  bind: "block-end"
3018
3081
  },
3019
3082
  {
3020
- label: isSiteRtl ? (0, import_i18n12.__)("Right", "elementor") : (0, import_i18n12.__)("Left", "elementor"),
3021
- ariaLabel: isSiteRtl ? (0, import_i18n12.__)("Border right width", "elementor") : (0, import_i18n12.__)("Border left width", "elementor"),
3022
- icon: /* @__PURE__ */ React32.createElement(InlineEndIcon, { fontSize: "tiny" }),
3083
+ label: isSiteRtl ? (0, import_i18n13.__)("Right", "elementor") : (0, import_i18n13.__)("Left", "elementor"),
3084
+ ariaLabel: isSiteRtl ? (0, import_i18n13.__)("Border right width", "elementor") : (0, import_i18n13.__)("Border left width", "elementor"),
3085
+ icon: /* @__PURE__ */ React33.createElement(InlineEndIcon, { fontSize: "tiny" }),
3023
3086
  bind: "inline-start"
3024
3087
  }
3025
3088
  ];
3026
3089
  var BorderWidthField = () => {
3027
3090
  const { isSiteRtl } = useDirection();
3028
- return /* @__PURE__ */ React32.createElement(StylesField, { bind: "border-width", propDisplayName: BORDER_WIDTH_LABEL }, /* @__PURE__ */ React32.createElement(
3091
+ return /* @__PURE__ */ React33.createElement(StylesField, { bind: "border-width", propDisplayName: BORDER_WIDTH_LABEL }, /* @__PURE__ */ React33.createElement(
3029
3092
  import_editor_controls11.EqualUnequalSizesControl,
3030
3093
  {
3031
3094
  items: getEdges(isSiteRtl),
3032
3095
  label: BORDER_WIDTH_LABEL,
3033
- icon: /* @__PURE__ */ React32.createElement(import_icons4.SideAllIcon, { fontSize: "tiny" }),
3034
- tooltipLabel: (0, import_i18n12.__)("Adjust borders", "elementor"),
3096
+ icon: /* @__PURE__ */ React33.createElement(import_icons4.SideAllIcon, { fontSize: "tiny" }),
3097
+ tooltipLabel: (0, import_i18n13.__)("Adjust borders", "elementor"),
3035
3098
  multiSizePropTypeUtil: import_editor_props12.borderWidthPropTypeUtil
3036
3099
  }
3037
3100
  ));
3038
3101
  };
3039
3102
 
3040
3103
  // src/components/style-sections/border-section/border-section.tsx
3041
- var BorderSection = () => /* @__PURE__ */ React33.createElement(SectionContent, null, /* @__PURE__ */ React33.createElement(BorderWidthField, null), /* @__PURE__ */ React33.createElement(BorderColorField, null), /* @__PURE__ */ React33.createElement(BorderStyleField, null), /* @__PURE__ */ React33.createElement(BorderRadiusField, null));
3104
+ var BorderSection = () => /* @__PURE__ */ React34.createElement(SectionContent, null, /* @__PURE__ */ React34.createElement(BorderWidthField, null), /* @__PURE__ */ React34.createElement(BorderColorField, null), /* @__PURE__ */ React34.createElement(BorderStyleField, null), /* @__PURE__ */ React34.createElement(BorderRadiusField, null));
3042
3105
 
3043
3106
  // src/components/style-sections/effects-section/effects-section.tsx
3044
- var React37 = __toESM(require("react"));
3107
+ var React38 = __toESM(require("react"));
3045
3108
  var import_editor_controls14 = require("@elementor/editor-controls");
3046
- var import_i18n15 = require("@wordpress/i18n");
3109
+ var import_i18n16 = require("@wordpress/i18n");
3047
3110
 
3048
3111
  // src/utils/can-element-have-children.ts
3049
3112
  var import_editor_elements9 = require("@elementor/editor-elements");
@@ -3084,72 +3147,72 @@ var getRecentlyUsedList = async (elementId) => {
3084
3147
  };
3085
3148
 
3086
3149
  // src/components/panel-divider.tsx
3087
- var React34 = __toESM(require("react"));
3150
+ var React35 = __toESM(require("react"));
3088
3151
  var import_ui21 = require("@elementor/ui");
3089
- var PanelDivider = () => /* @__PURE__ */ React34.createElement(import_ui21.Divider, { sx: { my: 0.5 } });
3152
+ var PanelDivider = () => /* @__PURE__ */ React35.createElement(import_ui21.Divider, { sx: { my: 0.5 } });
3090
3153
 
3091
3154
  // src/components/style-sections/effects-section/blend-mode-field.tsx
3092
- var React35 = __toESM(require("react"));
3155
+ var React36 = __toESM(require("react"));
3093
3156
  var import_editor_controls12 = require("@elementor/editor-controls");
3094
- var import_i18n13 = require("@wordpress/i18n");
3095
- var BLEND_MODE_LABEL = (0, import_i18n13.__)("Blend mode", "elementor");
3157
+ var import_i18n14 = require("@wordpress/i18n");
3158
+ var BLEND_MODE_LABEL = (0, import_i18n14.__)("Blend mode", "elementor");
3096
3159
  var blendModeOptions = [
3097
- { label: (0, import_i18n13.__)("Normal", "elementor"), value: "normal" },
3098
- { label: (0, import_i18n13.__)("Multiply", "elementor"), value: "multiply" },
3099
- { label: (0, import_i18n13.__)("Screen", "elementor"), value: "screen" },
3100
- { label: (0, import_i18n13.__)("Overlay", "elementor"), value: "overlay" },
3101
- { label: (0, import_i18n13.__)("Darken", "elementor"), value: "darken" },
3102
- { label: (0, import_i18n13.__)("Lighten", "elementor"), value: "lighten" },
3103
- { label: (0, import_i18n13.__)("Color dodge", "elementor"), value: "color-dodge" },
3104
- { label: (0, import_i18n13.__)("Color burn", "elementor"), value: "color-burn" },
3105
- { label: (0, import_i18n13.__)("Saturation", "elementor"), value: "saturation" },
3106
- { label: (0, import_i18n13.__)("Color", "elementor"), value: "color" },
3107
- { label: (0, import_i18n13.__)("Difference", "elementor"), value: "difference" },
3108
- { label: (0, import_i18n13.__)("Exclusion", "elementor"), value: "exclusion" },
3109
- { label: (0, import_i18n13.__)("Hue", "elementor"), value: "hue" },
3110
- { label: (0, import_i18n13.__)("Luminosity", "elementor"), value: "luminosity" },
3111
- { label: (0, import_i18n13.__)("Soft light", "elementor"), value: "soft-light" },
3112
- { label: (0, import_i18n13.__)("Hard light", "elementor"), value: "hard-light" }
3160
+ { label: (0, import_i18n14.__)("Normal", "elementor"), value: "normal" },
3161
+ { label: (0, import_i18n14.__)("Multiply", "elementor"), value: "multiply" },
3162
+ { label: (0, import_i18n14.__)("Screen", "elementor"), value: "screen" },
3163
+ { label: (0, import_i18n14.__)("Overlay", "elementor"), value: "overlay" },
3164
+ { label: (0, import_i18n14.__)("Darken", "elementor"), value: "darken" },
3165
+ { label: (0, import_i18n14.__)("Lighten", "elementor"), value: "lighten" },
3166
+ { label: (0, import_i18n14.__)("Color dodge", "elementor"), value: "color-dodge" },
3167
+ { label: (0, import_i18n14.__)("Color burn", "elementor"), value: "color-burn" },
3168
+ { label: (0, import_i18n14.__)("Saturation", "elementor"), value: "saturation" },
3169
+ { label: (0, import_i18n14.__)("Color", "elementor"), value: "color" },
3170
+ { label: (0, import_i18n14.__)("Difference", "elementor"), value: "difference" },
3171
+ { label: (0, import_i18n14.__)("Exclusion", "elementor"), value: "exclusion" },
3172
+ { label: (0, import_i18n14.__)("Hue", "elementor"), value: "hue" },
3173
+ { label: (0, import_i18n14.__)("Luminosity", "elementor"), value: "luminosity" },
3174
+ { label: (0, import_i18n14.__)("Soft light", "elementor"), value: "soft-light" },
3175
+ { label: (0, import_i18n14.__)("Hard light", "elementor"), value: "hard-light" }
3113
3176
  ];
3114
3177
  var BlendModeField = () => {
3115
- return /* @__PURE__ */ React35.createElement(StylesField, { bind: "mix-blend-mode", propDisplayName: BLEND_MODE_LABEL }, /* @__PURE__ */ React35.createElement(StylesFieldLayout, { label: BLEND_MODE_LABEL }, /* @__PURE__ */ React35.createElement(import_editor_controls12.SelectControl, { options: blendModeOptions })));
3178
+ return /* @__PURE__ */ React36.createElement(StylesField, { bind: "mix-blend-mode", propDisplayName: BLEND_MODE_LABEL }, /* @__PURE__ */ React36.createElement(StylesFieldLayout, { label: BLEND_MODE_LABEL }, /* @__PURE__ */ React36.createElement(import_editor_controls12.SelectControl, { options: blendModeOptions })));
3116
3179
  };
3117
3180
 
3118
3181
  // src/components/style-sections/effects-section/opacity-control-field.tsx
3119
- var React36 = __toESM(require("react"));
3182
+ var React37 = __toESM(require("react"));
3120
3183
  var import_react21 = require("react");
3121
3184
  var import_editor_controls13 = require("@elementor/editor-controls");
3122
- var import_i18n14 = require("@wordpress/i18n");
3123
- var OPACITY_LABEL = (0, import_i18n14.__)("Opacity", "elementor");
3185
+ var import_i18n15 = require("@wordpress/i18n");
3186
+ var OPACITY_LABEL = (0, import_i18n15.__)("Opacity", "elementor");
3124
3187
  var OpacityControlField = () => {
3125
3188
  const rowRef = (0, import_react21.useRef)(null);
3126
- return /* @__PURE__ */ React36.createElement(StylesField, { bind: "opacity", propDisplayName: OPACITY_LABEL }, /* @__PURE__ */ React36.createElement(StylesFieldLayout, { ref: rowRef, label: OPACITY_LABEL }, /* @__PURE__ */ React36.createElement(import_editor_controls13.SizeControl, { units: ["%"], anchorRef: rowRef, defaultUnit: "%" })));
3189
+ return /* @__PURE__ */ React37.createElement(StylesField, { bind: "opacity", propDisplayName: OPACITY_LABEL }, /* @__PURE__ */ React37.createElement(StylesFieldLayout, { ref: rowRef, label: OPACITY_LABEL }, /* @__PURE__ */ React37.createElement(import_editor_controls13.SizeControl, { units: ["%"], anchorRef: rowRef, defaultUnit: "%" })));
3127
3190
  };
3128
3191
 
3129
3192
  // src/components/style-sections/effects-section/effects-section.tsx
3130
- var BOX_SHADOW_LABEL = (0, import_i18n15.__)("Box shadow", "elementor");
3131
- var FILTER_LABEL = (0, import_i18n15.__)("Filters", "elementor");
3132
- var TRANSFORM_LABEL = (0, import_i18n15.__)("Transform", "elementor");
3133
- var BACKDROP_FILTER_LABEL = (0, import_i18n15.__)("Backdrop filters", "elementor");
3134
- var TRANSITIONS_LABEL = (0, import_i18n15.__)("Transitions", "elementor");
3193
+ var BOX_SHADOW_LABEL = (0, import_i18n16.__)("Box shadow", "elementor");
3194
+ var FILTER_LABEL = (0, import_i18n16.__)("Filters", "elementor");
3195
+ var TRANSFORM_LABEL = (0, import_i18n16.__)("Transform", "elementor");
3196
+ var BACKDROP_FILTER_LABEL = (0, import_i18n16.__)("Backdrop filters", "elementor");
3197
+ var TRANSITIONS_LABEL = (0, import_i18n16.__)("Transitions", "elementor");
3135
3198
  var EffectsSection = () => {
3136
3199
  const { element } = useElement();
3137
3200
  const { meta } = useStyle();
3138
3201
  const canHaveChildren = canElementHaveChildren(element?.id ?? "");
3139
- return /* @__PURE__ */ React37.createElement(SectionContent, { gap: 1 }, /* @__PURE__ */ React37.createElement(BlendModeField, null), /* @__PURE__ */ React37.createElement(PanelDivider, null), /* @__PURE__ */ React37.createElement(OpacityControlField, null), /* @__PURE__ */ React37.createElement(PanelDivider, null), /* @__PURE__ */ React37.createElement(StylesField, { bind: "box-shadow", propDisplayName: BOX_SHADOW_LABEL }, /* @__PURE__ */ React37.createElement(import_editor_controls14.BoxShadowRepeaterControl, null)), /* @__PURE__ */ React37.createElement(PanelDivider, null), /* @__PURE__ */ React37.createElement(StylesField, { bind: "transform", propDisplayName: TRANSFORM_LABEL }, /* @__PURE__ */ React37.createElement(import_editor_controls14.TransformRepeaterControl, { showChildrenPerspective: canHaveChildren })), /* @__PURE__ */ React37.createElement(PanelDivider, null), /* @__PURE__ */ React37.createElement(StylesField, { bind: "transition", propDisplayName: TRANSITIONS_LABEL }, /* @__PURE__ */ React37.createElement(
3202
+ return /* @__PURE__ */ React38.createElement(SectionContent, { gap: 1 }, /* @__PURE__ */ React38.createElement(BlendModeField, null), /* @__PURE__ */ React38.createElement(PanelDivider, null), /* @__PURE__ */ React38.createElement(OpacityControlField, null), /* @__PURE__ */ React38.createElement(PanelDivider, null), /* @__PURE__ */ React38.createElement(StylesField, { bind: "box-shadow", propDisplayName: BOX_SHADOW_LABEL }, /* @__PURE__ */ React38.createElement(import_editor_controls14.BoxShadowRepeaterControl, null)), /* @__PURE__ */ React38.createElement(PanelDivider, null), /* @__PURE__ */ React38.createElement(StylesField, { bind: "transform", propDisplayName: TRANSFORM_LABEL }, /* @__PURE__ */ React38.createElement(import_editor_controls14.TransformRepeaterControl, { showChildrenPerspective: canHaveChildren })), /* @__PURE__ */ React38.createElement(PanelDivider, null), /* @__PURE__ */ React38.createElement(StylesField, { bind: "transition", propDisplayName: TRANSITIONS_LABEL }, /* @__PURE__ */ React38.createElement(
3140
3203
  import_editor_controls14.TransitionRepeaterControl,
3141
3204
  {
3142
3205
  currentStyleState: meta.state,
3143
3206
  recentlyUsedListGetter: () => getRecentlyUsedList(element?.id ?? "")
3144
3207
  }
3145
- )), /* @__PURE__ */ React37.createElement(PanelDivider, null), /* @__PURE__ */ React37.createElement(StylesField, { bind: "filter", propDisplayName: FILTER_LABEL }, /* @__PURE__ */ React37.createElement(import_editor_controls14.FilterRepeaterControl, null)), /* @__PURE__ */ React37.createElement(PanelDivider, null), /* @__PURE__ */ React37.createElement(StylesField, { bind: "backdrop-filter", propDisplayName: BACKDROP_FILTER_LABEL }, /* @__PURE__ */ React37.createElement(import_editor_controls14.FilterRepeaterControl, { filterPropName: "backdrop-filter" })));
3208
+ )), /* @__PURE__ */ React38.createElement(PanelDivider, null), /* @__PURE__ */ React38.createElement(StylesField, { bind: "filter", propDisplayName: FILTER_LABEL }, /* @__PURE__ */ React38.createElement(import_editor_controls14.FilterRepeaterControl, null)), /* @__PURE__ */ React38.createElement(PanelDivider, null), /* @__PURE__ */ React38.createElement(StylesField, { bind: "backdrop-filter", propDisplayName: BACKDROP_FILTER_LABEL }, /* @__PURE__ */ React38.createElement(import_editor_controls14.FilterRepeaterControl, { filterPropName: "backdrop-filter" })));
3146
3209
  };
3147
3210
 
3148
3211
  // src/components/style-sections/layout-section/layout-section.tsx
3149
- var React49 = __toESM(require("react"));
3212
+ var React50 = __toESM(require("react"));
3150
3213
  var import_editor_controls25 = require("@elementor/editor-controls");
3151
3214
  var import_editor_elements11 = require("@elementor/editor-elements");
3152
- var import_i18n27 = require("@wordpress/i18n");
3215
+ var import_i18n28 = require("@wordpress/i18n");
3153
3216
 
3154
3217
  // src/hooks/use-computed-style.ts
3155
3218
  var import_editor_v1_adapters6 = require("@elementor/editor-v1-adapters");
@@ -3176,18 +3239,18 @@ function useComputedStyle(elementId) {
3176
3239
  }
3177
3240
 
3178
3241
  // src/components/style-sections/layout-section/align-content-field.tsx
3179
- var React39 = __toESM(require("react"));
3242
+ var React40 = __toESM(require("react"));
3180
3243
  var import_editor_controls15 = require("@elementor/editor-controls");
3181
3244
  var import_icons5 = require("@elementor/icons");
3182
3245
  var import_ui23 = require("@elementor/ui");
3183
- var import_i18n17 = require("@wordpress/i18n");
3246
+ var import_i18n18 = require("@wordpress/i18n");
3184
3247
 
3185
3248
  // src/components/style-sections/layout-section/utils/rotated-icon.tsx
3186
- var React38 = __toESM(require("react"));
3249
+ var React39 = __toESM(require("react"));
3187
3250
  var import_react22 = require("react");
3188
3251
  var import_ui22 = require("@elementor/ui");
3189
- var import_i18n16 = require("@wordpress/i18n");
3190
- var FLEX_DIRECTION_LABEL = (0, import_i18n16.__)("Flex direction", "elementor");
3252
+ var import_i18n17 = require("@wordpress/i18n");
3253
+ var FLEX_DIRECTION_LABEL = (0, import_i18n17.__)("Flex direction", "elementor");
3191
3254
  var CLOCKWISE_ANGLES = {
3192
3255
  row: 0,
3193
3256
  column: 90,
@@ -3209,7 +3272,7 @@ var RotatedIcon = ({
3209
3272
  }) => {
3210
3273
  const rotate = (0, import_react22.useRef)(useGetTargetAngle(isClockwise, offset, disableRotationForReversed));
3211
3274
  rotate.current = useGetTargetAngle(isClockwise, offset, disableRotationForReversed, rotate);
3212
- return /* @__PURE__ */ React38.createElement(Icon, { fontSize: size, sx: { transition: ".3s", rotate: `${rotate.current}deg` } });
3275
+ return /* @__PURE__ */ React39.createElement(Icon, { fontSize: size, sx: { transition: ".3s", rotate: `${rotate.current}deg` } });
3213
3276
  };
3214
3277
  var useGetTargetAngle = (isClockwise, offset, disableRotationForReversed, existingRef) => {
3215
3278
  const { value: direction } = useStylesField("flex-direction", {
@@ -3230,7 +3293,7 @@ var useGetTargetAngle = (isClockwise, offset, disableRotationForReversed, existi
3230
3293
  };
3231
3294
 
3232
3295
  // src/components/style-sections/layout-section/align-content-field.tsx
3233
- var ALIGN_CONTENT_LABEL = (0, import_i18n17.__)("Align content", "elementor");
3296
+ var ALIGN_CONTENT_LABEL = (0, import_i18n18.__)("Align content", "elementor");
3234
3297
  var StartIcon = (0, import_ui23.withDirection)(import_icons5.JustifyTopIcon);
3235
3298
  var EndIcon = (0, import_ui23.withDirection)(import_icons5.JustifyBottomIcon);
3236
3299
  var iconProps = {
@@ -3241,50 +3304,50 @@ var iconProps = {
3241
3304
  var options = [
3242
3305
  {
3243
3306
  value: "start",
3244
- label: (0, import_i18n17.__)("Start", "elementor"),
3245
- renderContent: ({ size }) => /* @__PURE__ */ React39.createElement(RotatedIcon, { icon: StartIcon, size, ...iconProps }),
3307
+ label: (0, import_i18n18.__)("Start", "elementor"),
3308
+ renderContent: ({ size }) => /* @__PURE__ */ React40.createElement(RotatedIcon, { icon: StartIcon, size, ...iconProps }),
3246
3309
  showTooltip: true
3247
3310
  },
3248
3311
  {
3249
3312
  value: "center",
3250
- label: (0, import_i18n17.__)("Center", "elementor"),
3251
- renderContent: ({ size }) => /* @__PURE__ */ React39.createElement(RotatedIcon, { icon: import_icons5.JustifyCenterIcon, size, ...iconProps }),
3313
+ label: (0, import_i18n18.__)("Center", "elementor"),
3314
+ renderContent: ({ size }) => /* @__PURE__ */ React40.createElement(RotatedIcon, { icon: import_icons5.JustifyCenterIcon, size, ...iconProps }),
3252
3315
  showTooltip: true
3253
3316
  },
3254
3317
  {
3255
3318
  value: "end",
3256
- label: (0, import_i18n17.__)("End", "elementor"),
3257
- renderContent: ({ size }) => /* @__PURE__ */ React39.createElement(RotatedIcon, { icon: EndIcon, size, ...iconProps }),
3319
+ label: (0, import_i18n18.__)("End", "elementor"),
3320
+ renderContent: ({ size }) => /* @__PURE__ */ React40.createElement(RotatedIcon, { icon: EndIcon, size, ...iconProps }),
3258
3321
  showTooltip: true
3259
3322
  },
3260
3323
  {
3261
3324
  value: "space-between",
3262
- label: (0, import_i18n17.__)("Space between", "elementor"),
3263
- renderContent: ({ size }) => /* @__PURE__ */ React39.createElement(RotatedIcon, { icon: import_icons5.JustifySpaceBetweenVerticalIcon, size, ...iconProps }),
3325
+ label: (0, import_i18n18.__)("Space between", "elementor"),
3326
+ renderContent: ({ size }) => /* @__PURE__ */ React40.createElement(RotatedIcon, { icon: import_icons5.JustifySpaceBetweenVerticalIcon, size, ...iconProps }),
3264
3327
  showTooltip: true
3265
3328
  },
3266
3329
  {
3267
3330
  value: "space-around",
3268
- label: (0, import_i18n17.__)("Space around", "elementor"),
3269
- renderContent: ({ size }) => /* @__PURE__ */ React39.createElement(RotatedIcon, { icon: import_icons5.JustifySpaceAroundVerticalIcon, size, ...iconProps }),
3331
+ label: (0, import_i18n18.__)("Space around", "elementor"),
3332
+ renderContent: ({ size }) => /* @__PURE__ */ React40.createElement(RotatedIcon, { icon: import_icons5.JustifySpaceAroundVerticalIcon, size, ...iconProps }),
3270
3333
  showTooltip: true
3271
3334
  },
3272
3335
  {
3273
3336
  value: "space-evenly",
3274
- label: (0, import_i18n17.__)("Space evenly", "elementor"),
3275
- renderContent: ({ size }) => /* @__PURE__ */ React39.createElement(RotatedIcon, { icon: import_icons5.JustifyDistributeVerticalIcon, size, ...iconProps }),
3337
+ label: (0, import_i18n18.__)("Space evenly", "elementor"),
3338
+ renderContent: ({ size }) => /* @__PURE__ */ React40.createElement(RotatedIcon, { icon: import_icons5.JustifyDistributeVerticalIcon, size, ...iconProps }),
3276
3339
  showTooltip: true
3277
3340
  }
3278
3341
  ];
3279
- var AlignContentField = () => /* @__PURE__ */ React39.createElement(StylesField, { bind: "align-content", propDisplayName: ALIGN_CONTENT_LABEL }, /* @__PURE__ */ React39.createElement(UiProviders, null, /* @__PURE__ */ React39.createElement(StylesFieldLayout, { label: ALIGN_CONTENT_LABEL, direction: "column" }, /* @__PURE__ */ React39.createElement(import_editor_controls15.ToggleControl, { options, fullWidth: true }))));
3342
+ var AlignContentField = () => /* @__PURE__ */ React40.createElement(StylesField, { bind: "align-content", propDisplayName: ALIGN_CONTENT_LABEL }, /* @__PURE__ */ React40.createElement(UiProviders, null, /* @__PURE__ */ React40.createElement(StylesFieldLayout, { label: ALIGN_CONTENT_LABEL, direction: "column" }, /* @__PURE__ */ React40.createElement(import_editor_controls15.ToggleControl, { options, fullWidth: true }))));
3280
3343
 
3281
3344
  // src/components/style-sections/layout-section/align-items-field.tsx
3282
- var React40 = __toESM(require("react"));
3345
+ var React41 = __toESM(require("react"));
3283
3346
  var import_editor_controls16 = require("@elementor/editor-controls");
3284
3347
  var import_icons6 = require("@elementor/icons");
3285
3348
  var import_ui24 = require("@elementor/ui");
3286
- var import_i18n18 = require("@wordpress/i18n");
3287
- var ALIGN_ITEMS_LABEL = (0, import_i18n18.__)("Align items", "elementor");
3349
+ var import_i18n19 = require("@wordpress/i18n");
3350
+ var ALIGN_ITEMS_LABEL = (0, import_i18n19.__)("Align items", "elementor");
3288
3351
  var StartIcon2 = (0, import_ui24.withDirection)(import_icons6.LayoutAlignLeftIcon);
3289
3352
  var EndIcon2 = (0, import_ui24.withDirection)(import_icons6.LayoutAlignRightIcon);
3290
3353
  var iconProps2 = {
@@ -3294,40 +3357,40 @@ var iconProps2 = {
3294
3357
  var options2 = [
3295
3358
  {
3296
3359
  value: "start",
3297
- label: (0, import_i18n18.__)("Start", "elementor"),
3298
- renderContent: ({ size }) => /* @__PURE__ */ React40.createElement(RotatedIcon, { icon: StartIcon2, size, ...iconProps2 }),
3360
+ label: (0, import_i18n19.__)("Start", "elementor"),
3361
+ renderContent: ({ size }) => /* @__PURE__ */ React41.createElement(RotatedIcon, { icon: StartIcon2, size, ...iconProps2 }),
3299
3362
  showTooltip: true
3300
3363
  },
3301
3364
  {
3302
3365
  value: "center",
3303
- label: (0, import_i18n18.__)("Center", "elementor"),
3304
- renderContent: ({ size }) => /* @__PURE__ */ React40.createElement(RotatedIcon, { icon: import_icons6.LayoutAlignCenterIcon, size, ...iconProps2 }),
3366
+ label: (0, import_i18n19.__)("Center", "elementor"),
3367
+ renderContent: ({ size }) => /* @__PURE__ */ React41.createElement(RotatedIcon, { icon: import_icons6.LayoutAlignCenterIcon, size, ...iconProps2 }),
3305
3368
  showTooltip: true
3306
3369
  },
3307
3370
  {
3308
3371
  value: "end",
3309
- label: (0, import_i18n18.__)("End", "elementor"),
3310
- renderContent: ({ size }) => /* @__PURE__ */ React40.createElement(RotatedIcon, { icon: EndIcon2, size, ...iconProps2 }),
3372
+ label: (0, import_i18n19.__)("End", "elementor"),
3373
+ renderContent: ({ size }) => /* @__PURE__ */ React41.createElement(RotatedIcon, { icon: EndIcon2, size, ...iconProps2 }),
3311
3374
  showTooltip: true
3312
3375
  },
3313
3376
  {
3314
3377
  value: "stretch",
3315
- label: (0, import_i18n18.__)("Stretch", "elementor"),
3316
- renderContent: ({ size }) => /* @__PURE__ */ React40.createElement(RotatedIcon, { icon: import_icons6.LayoutDistributeVerticalIcon, size, ...iconProps2 }),
3378
+ label: (0, import_i18n19.__)("Stretch", "elementor"),
3379
+ renderContent: ({ size }) => /* @__PURE__ */ React41.createElement(RotatedIcon, { icon: import_icons6.LayoutDistributeVerticalIcon, size, ...iconProps2 }),
3317
3380
  showTooltip: true
3318
3381
  }
3319
3382
  ];
3320
3383
  var AlignItemsField = () => {
3321
- return /* @__PURE__ */ React40.createElement(UiProviders, null, /* @__PURE__ */ React40.createElement(StylesField, { bind: "align-items", propDisplayName: ALIGN_ITEMS_LABEL }, /* @__PURE__ */ React40.createElement(StylesFieldLayout, { label: ALIGN_ITEMS_LABEL }, /* @__PURE__ */ React40.createElement(import_editor_controls16.ToggleControl, { options: options2 }))));
3384
+ return /* @__PURE__ */ React41.createElement(UiProviders, null, /* @__PURE__ */ React41.createElement(StylesField, { bind: "align-items", propDisplayName: ALIGN_ITEMS_LABEL }, /* @__PURE__ */ React41.createElement(StylesFieldLayout, { label: ALIGN_ITEMS_LABEL }, /* @__PURE__ */ React41.createElement(import_editor_controls16.ToggleControl, { options: options2 }))));
3322
3385
  };
3323
3386
 
3324
3387
  // src/components/style-sections/layout-section/align-self-child-field.tsx
3325
- var React41 = __toESM(require("react"));
3388
+ var React42 = __toESM(require("react"));
3326
3389
  var import_editor_controls17 = require("@elementor/editor-controls");
3327
3390
  var import_icons7 = require("@elementor/icons");
3328
3391
  var import_ui25 = require("@elementor/ui");
3329
- var import_i18n19 = require("@wordpress/i18n");
3330
- var ALIGN_SELF_LABEL = (0, import_i18n19.__)("Align self", "elementor");
3392
+ var import_i18n20 = require("@wordpress/i18n");
3393
+ var ALIGN_SELF_LABEL = (0, import_i18n20.__)("Align self", "elementor");
3331
3394
  var ALIGN_SELF_CHILD_OFFSET_MAP = {
3332
3395
  row: 90,
3333
3396
  "row-reverse": 90,
@@ -3342,8 +3405,8 @@ var iconProps3 = {
3342
3405
  var getOptions = (parentStyleDirection) => [
3343
3406
  {
3344
3407
  value: "start",
3345
- label: (0, import_i18n19.__)("Start", "elementor"),
3346
- renderContent: ({ size }) => /* @__PURE__ */ React41.createElement(
3408
+ label: (0, import_i18n20.__)("Start", "elementor"),
3409
+ renderContent: ({ size }) => /* @__PURE__ */ React42.createElement(
3347
3410
  RotatedIcon,
3348
3411
  {
3349
3412
  icon: StartIcon3,
@@ -3356,8 +3419,8 @@ var getOptions = (parentStyleDirection) => [
3356
3419
  },
3357
3420
  {
3358
3421
  value: "center",
3359
- label: (0, import_i18n19.__)("Center", "elementor"),
3360
- renderContent: ({ size }) => /* @__PURE__ */ React41.createElement(
3422
+ label: (0, import_i18n20.__)("Center", "elementor"),
3423
+ renderContent: ({ size }) => /* @__PURE__ */ React42.createElement(
3361
3424
  RotatedIcon,
3362
3425
  {
3363
3426
  icon: import_icons7.LayoutAlignCenterIcon,
@@ -3370,8 +3433,8 @@ var getOptions = (parentStyleDirection) => [
3370
3433
  },
3371
3434
  {
3372
3435
  value: "end",
3373
- label: (0, import_i18n19.__)("End", "elementor"),
3374
- renderContent: ({ size }) => /* @__PURE__ */ React41.createElement(
3436
+ label: (0, import_i18n20.__)("End", "elementor"),
3437
+ renderContent: ({ size }) => /* @__PURE__ */ React42.createElement(
3375
3438
  RotatedIcon,
3376
3439
  {
3377
3440
  icon: EndIcon3,
@@ -3384,8 +3447,8 @@ var getOptions = (parentStyleDirection) => [
3384
3447
  },
3385
3448
  {
3386
3449
  value: "stretch",
3387
- label: (0, import_i18n19.__)("Stretch", "elementor"),
3388
- renderContent: ({ size }) => /* @__PURE__ */ React41.createElement(
3450
+ label: (0, import_i18n20.__)("Stretch", "elementor"),
3451
+ renderContent: ({ size }) => /* @__PURE__ */ React42.createElement(
3389
3452
  RotatedIcon,
3390
3453
  {
3391
3454
  icon: import_icons7.LayoutDistributeVerticalIcon,
@@ -3397,102 +3460,102 @@ var getOptions = (parentStyleDirection) => [
3397
3460
  showTooltip: true
3398
3461
  }
3399
3462
  ];
3400
- var AlignSelfChild = ({ parentStyleDirection }) => /* @__PURE__ */ React41.createElement(StylesField, { bind: "align-self", propDisplayName: ALIGN_SELF_LABEL }, /* @__PURE__ */ React41.createElement(UiProviders, null, /* @__PURE__ */ React41.createElement(StylesFieldLayout, { label: ALIGN_SELF_LABEL }, /* @__PURE__ */ React41.createElement(import_editor_controls17.ToggleControl, { options: getOptions(parentStyleDirection) }))));
3463
+ var AlignSelfChild = ({ parentStyleDirection }) => /* @__PURE__ */ React42.createElement(StylesField, { bind: "align-self", propDisplayName: ALIGN_SELF_LABEL }, /* @__PURE__ */ React42.createElement(UiProviders, null, /* @__PURE__ */ React42.createElement(StylesFieldLayout, { label: ALIGN_SELF_LABEL }, /* @__PURE__ */ React42.createElement(import_editor_controls17.ToggleControl, { options: getOptions(parentStyleDirection) }))));
3401
3464
 
3402
3465
  // src/components/style-sections/layout-section/display-field.tsx
3403
- var React42 = __toESM(require("react"));
3466
+ var React43 = __toESM(require("react"));
3404
3467
  var import_editor_controls18 = require("@elementor/editor-controls");
3405
- var import_i18n20 = require("@wordpress/i18n");
3406
- var DISPLAY_LABEL = (0, import_i18n20.__)("Display", "elementor");
3468
+ var import_i18n21 = require("@wordpress/i18n");
3469
+ var DISPLAY_LABEL = (0, import_i18n21.__)("Display", "elementor");
3407
3470
  var displayFieldItems = [
3408
3471
  {
3409
3472
  value: "block",
3410
- renderContent: () => (0, import_i18n20.__)("Block", "elementor"),
3411
- label: (0, import_i18n20.__)("Block", "elementor"),
3473
+ renderContent: () => (0, import_i18n21.__)("Block", "elementor"),
3474
+ label: (0, import_i18n21.__)("Block", "elementor"),
3412
3475
  showTooltip: true
3413
3476
  },
3414
3477
  {
3415
3478
  value: "flex",
3416
- renderContent: () => (0, import_i18n20.__)("Flex", "elementor"),
3417
- label: (0, import_i18n20.__)("Flex", "elementor"),
3479
+ renderContent: () => (0, import_i18n21.__)("Flex", "elementor"),
3480
+ label: (0, import_i18n21.__)("Flex", "elementor"),
3418
3481
  showTooltip: true
3419
3482
  },
3420
3483
  {
3421
3484
  value: "inline-block",
3422
- renderContent: () => (0, import_i18n20.__)("In-blk", "elementor"),
3423
- label: (0, import_i18n20.__)("Inline-block", "elementor"),
3485
+ renderContent: () => (0, import_i18n21.__)("In-blk", "elementor"),
3486
+ label: (0, import_i18n21.__)("Inline-block", "elementor"),
3424
3487
  showTooltip: true
3425
3488
  },
3426
3489
  {
3427
3490
  value: "none",
3428
- renderContent: () => (0, import_i18n20.__)("None", "elementor"),
3429
- label: (0, import_i18n20.__)("None", "elementor"),
3491
+ renderContent: () => (0, import_i18n21.__)("None", "elementor"),
3492
+ label: (0, import_i18n21.__)("None", "elementor"),
3430
3493
  showTooltip: true
3431
3494
  },
3432
3495
  {
3433
3496
  value: "inline-flex",
3434
- renderContent: () => (0, import_i18n20.__)("In-flx", "elementor"),
3435
- label: (0, import_i18n20.__)("Inline-flex", "elementor"),
3497
+ renderContent: () => (0, import_i18n21.__)("In-flx", "elementor"),
3498
+ label: (0, import_i18n21.__)("Inline-flex", "elementor"),
3436
3499
  showTooltip: true
3437
3500
  }
3438
3501
  ];
3439
3502
  var DisplayField = () => {
3440
3503
  const placeholder = useDisplayPlaceholderValue();
3441
- return /* @__PURE__ */ React42.createElement(StylesField, { bind: "display", propDisplayName: DISPLAY_LABEL, placeholder }, /* @__PURE__ */ React42.createElement(StylesFieldLayout, { label: DISPLAY_LABEL, direction: "column" }, /* @__PURE__ */ React42.createElement(import_editor_controls18.ToggleControl, { options: displayFieldItems, maxItems: 4, fullWidth: true })));
3504
+ return /* @__PURE__ */ React43.createElement(StylesField, { bind: "display", propDisplayName: DISPLAY_LABEL, placeholder }, /* @__PURE__ */ React43.createElement(StylesFieldLayout, { label: DISPLAY_LABEL, direction: "column" }, /* @__PURE__ */ React43.createElement(import_editor_controls18.ToggleControl, { options: displayFieldItems, maxItems: 4, fullWidth: true })));
3442
3505
  };
3443
3506
  var useDisplayPlaceholderValue = () => useStylesInheritanceChain(["display"])[0]?.value ?? void 0;
3444
3507
 
3445
3508
  // src/components/style-sections/layout-section/flex-direction-field.tsx
3446
- var React43 = __toESM(require("react"));
3509
+ var React44 = __toESM(require("react"));
3447
3510
  var import_editor_controls19 = require("@elementor/editor-controls");
3448
3511
  var import_icons8 = require("@elementor/icons");
3449
3512
  var import_ui26 = require("@elementor/ui");
3450
- var import_i18n21 = require("@wordpress/i18n");
3451
- var FLEX_DIRECTION_LABEL2 = (0, import_i18n21.__)("Direction", "elementor");
3513
+ var import_i18n22 = require("@wordpress/i18n");
3514
+ var FLEX_DIRECTION_LABEL2 = (0, import_i18n22.__)("Direction", "elementor");
3452
3515
  var options3 = [
3453
3516
  {
3454
3517
  value: "row",
3455
- label: (0, import_i18n21.__)("Row", "elementor"),
3518
+ label: (0, import_i18n22.__)("Row", "elementor"),
3456
3519
  renderContent: ({ size }) => {
3457
3520
  const StartIcon5 = (0, import_ui26.withDirection)(import_icons8.ArrowRightIcon);
3458
- return /* @__PURE__ */ React43.createElement(StartIcon5, { fontSize: size });
3521
+ return /* @__PURE__ */ React44.createElement(StartIcon5, { fontSize: size });
3459
3522
  },
3460
3523
  showTooltip: true
3461
3524
  },
3462
3525
  {
3463
3526
  value: "column",
3464
- label: (0, import_i18n21.__)("Column", "elementor"),
3465
- renderContent: ({ size }) => /* @__PURE__ */ React43.createElement(import_icons8.ArrowDownSmallIcon, { fontSize: size }),
3527
+ label: (0, import_i18n22.__)("Column", "elementor"),
3528
+ renderContent: ({ size }) => /* @__PURE__ */ React44.createElement(import_icons8.ArrowDownSmallIcon, { fontSize: size }),
3466
3529
  showTooltip: true
3467
3530
  },
3468
3531
  {
3469
3532
  value: "row-reverse",
3470
- label: (0, import_i18n21.__)("Reversed row", "elementor"),
3533
+ label: (0, import_i18n22.__)("Reversed row", "elementor"),
3471
3534
  renderContent: ({ size }) => {
3472
3535
  const EndIcon5 = (0, import_ui26.withDirection)(import_icons8.ArrowLeftIcon);
3473
- return /* @__PURE__ */ React43.createElement(EndIcon5, { fontSize: size });
3536
+ return /* @__PURE__ */ React44.createElement(EndIcon5, { fontSize: size });
3474
3537
  },
3475
3538
  showTooltip: true
3476
3539
  },
3477
3540
  {
3478
3541
  value: "column-reverse",
3479
- label: (0, import_i18n21.__)("Reversed column", "elementor"),
3480
- renderContent: ({ size }) => /* @__PURE__ */ React43.createElement(import_icons8.ArrowUpSmallIcon, { fontSize: size }),
3542
+ label: (0, import_i18n22.__)("Reversed column", "elementor"),
3543
+ renderContent: ({ size }) => /* @__PURE__ */ React44.createElement(import_icons8.ArrowUpSmallIcon, { fontSize: size }),
3481
3544
  showTooltip: true
3482
3545
  }
3483
3546
  ];
3484
3547
  var FlexDirectionField = () => {
3485
- return /* @__PURE__ */ React43.createElement(StylesField, { bind: "flex-direction", propDisplayName: FLEX_DIRECTION_LABEL2 }, /* @__PURE__ */ React43.createElement(UiProviders, null, /* @__PURE__ */ React43.createElement(StylesFieldLayout, { label: FLEX_DIRECTION_LABEL2 }, /* @__PURE__ */ React43.createElement(import_editor_controls19.ToggleControl, { options: options3 }))));
3548
+ return /* @__PURE__ */ React44.createElement(StylesField, { bind: "flex-direction", propDisplayName: FLEX_DIRECTION_LABEL2 }, /* @__PURE__ */ React44.createElement(UiProviders, null, /* @__PURE__ */ React44.createElement(StylesFieldLayout, { label: FLEX_DIRECTION_LABEL2 }, /* @__PURE__ */ React44.createElement(import_editor_controls19.ToggleControl, { options: options3 }))));
3486
3549
  };
3487
3550
 
3488
3551
  // src/components/style-sections/layout-section/flex-order-field.tsx
3489
- var React44 = __toESM(require("react"));
3552
+ var React45 = __toESM(require("react"));
3490
3553
  var import_react23 = require("react");
3491
3554
  var import_editor_controls20 = require("@elementor/editor-controls");
3492
3555
  var import_icons9 = require("@elementor/icons");
3493
3556
  var import_ui27 = require("@elementor/ui");
3494
- var import_i18n22 = require("@wordpress/i18n");
3495
- var ORDER_LABEL = (0, import_i18n22.__)("Order", "elementor");
3557
+ var import_i18n23 = require("@wordpress/i18n");
3558
+ var ORDER_LABEL = (0, import_i18n23.__)("Order", "elementor");
3496
3559
  var FIRST_DEFAULT_VALUE = -99999;
3497
3560
  var LAST_DEFAULT_VALUE = 99999;
3498
3561
  var FIRST = "first";
@@ -3505,25 +3568,25 @@ var orderValueMap = {
3505
3568
  var items = [
3506
3569
  {
3507
3570
  value: FIRST,
3508
- label: (0, import_i18n22.__)("First", "elementor"),
3509
- renderContent: ({ size }) => /* @__PURE__ */ React44.createElement(import_icons9.ArrowUpSmallIcon, { fontSize: size }),
3571
+ label: (0, import_i18n23.__)("First", "elementor"),
3572
+ renderContent: ({ size }) => /* @__PURE__ */ React45.createElement(import_icons9.ArrowUpSmallIcon, { fontSize: size }),
3510
3573
  showTooltip: true
3511
3574
  },
3512
3575
  {
3513
3576
  value: LAST,
3514
- label: (0, import_i18n22.__)("Last", "elementor"),
3515
- renderContent: ({ size }) => /* @__PURE__ */ React44.createElement(import_icons9.ArrowDownSmallIcon, { fontSize: size }),
3577
+ label: (0, import_i18n23.__)("Last", "elementor"),
3578
+ renderContent: ({ size }) => /* @__PURE__ */ React45.createElement(import_icons9.ArrowDownSmallIcon, { fontSize: size }),
3516
3579
  showTooltip: true
3517
3580
  },
3518
3581
  {
3519
3582
  value: CUSTOM,
3520
- label: (0, import_i18n22.__)("Custom", "elementor"),
3521
- renderContent: ({ size }) => /* @__PURE__ */ React44.createElement(import_icons9.PencilIcon, { fontSize: size }),
3583
+ label: (0, import_i18n23.__)("Custom", "elementor"),
3584
+ renderContent: ({ size }) => /* @__PURE__ */ React45.createElement(import_icons9.PencilIcon, { fontSize: size }),
3522
3585
  showTooltip: true
3523
3586
  }
3524
3587
  ];
3525
3588
  var FlexOrderField = () => {
3526
- return /* @__PURE__ */ React44.createElement(StylesField, { bind: "order", propDisplayName: ORDER_LABEL }, /* @__PURE__ */ React44.createElement(UiProviders, null, /* @__PURE__ */ React44.createElement(SectionContent, null, /* @__PURE__ */ React44.createElement(FlexOrderFieldContent, null))));
3589
+ return /* @__PURE__ */ React45.createElement(StylesField, { bind: "order", propDisplayName: ORDER_LABEL }, /* @__PURE__ */ React45.createElement(UiProviders, null, /* @__PURE__ */ React45.createElement(SectionContent, null, /* @__PURE__ */ React45.createElement(FlexOrderFieldContent, null))));
3527
3590
  };
3528
3591
  function FlexOrderFieldContent() {
3529
3592
  const {
@@ -3568,7 +3631,7 @@ function FlexOrderFieldContent() {
3568
3631
  };
3569
3632
  const isCustomVisible = CUSTOM === activeGroup || CUSTOM === groupPlaceholder;
3570
3633
  const orderPlaceholder = CUSTOM === groupPlaceholder ? String(placeholderValue?.value ?? null) : "";
3571
- return /* @__PURE__ */ React44.createElement(React44.Fragment, null, /* @__PURE__ */ React44.createElement(StylesFieldLayout, { label: ORDER_LABEL }, /* @__PURE__ */ React44.createElement(
3634
+ return /* @__PURE__ */ React45.createElement(React45.Fragment, null, /* @__PURE__ */ React45.createElement(StylesFieldLayout, { label: ORDER_LABEL }, /* @__PURE__ */ React45.createElement(
3572
3635
  import_editor_controls20.ControlToggleButtonGroup,
3573
3636
  {
3574
3637
  items,
@@ -3578,7 +3641,7 @@ function FlexOrderFieldContent() {
3578
3641
  placeholder: groupPlaceholder,
3579
3642
  disabled: !canEdit
3580
3643
  }
3581
- )), isCustomVisible && /* @__PURE__ */ React44.createElement(import_ui27.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React44.createElement(import_ui27.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React44.createElement(ControlLabel, null, (0, import_i18n22.__)("Custom order", "elementor"))), /* @__PURE__ */ React44.createElement(import_ui27.Grid, { item: true, xs: 6, sx: { display: "flex", justifyContent: "end" } }, /* @__PURE__ */ React44.createElement(
3644
+ )), isCustomVisible && /* @__PURE__ */ React45.createElement(import_ui27.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React45.createElement(import_ui27.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React45.createElement(ControlLabel, null, (0, import_i18n23.__)("Custom order", "elementor"))), /* @__PURE__ */ React45.createElement(import_ui27.Grid, { item: true, xs: 6, sx: { display: "flex", justifyContent: "end" } }, /* @__PURE__ */ React45.createElement(
3582
3645
  import_editor_controls20.NumberControl,
3583
3646
  {
3584
3647
  min: FIRST_DEFAULT_VALUE + 1,
@@ -3602,36 +3665,36 @@ var getGroupControlValue = (order) => {
3602
3665
  };
3603
3666
 
3604
3667
  // src/components/style-sections/layout-section/flex-size-field.tsx
3605
- var React45 = __toESM(require("react"));
3668
+ var React46 = __toESM(require("react"));
3606
3669
  var import_react24 = require("react");
3607
3670
  var import_editor_controls21 = require("@elementor/editor-controls");
3608
3671
  var import_editor_props13 = require("@elementor/editor-props");
3609
3672
  var import_icons10 = require("@elementor/icons");
3610
- var import_i18n23 = require("@wordpress/i18n");
3611
- var FLEX_SIZE_LABEL = (0, import_i18n23.__)("Flex Size", "elementor");
3673
+ var import_i18n24 = require("@wordpress/i18n");
3674
+ var FLEX_SIZE_LABEL = (0, import_i18n24.__)("Flex Size", "elementor");
3612
3675
  var DEFAULT = 1;
3613
3676
  var items2 = [
3614
3677
  {
3615
3678
  value: "flex-grow",
3616
- label: (0, import_i18n23.__)("Grow", "elementor"),
3617
- renderContent: ({ size }) => /* @__PURE__ */ React45.createElement(import_icons10.ExpandIcon, { fontSize: size }),
3679
+ label: (0, import_i18n24.__)("Grow", "elementor"),
3680
+ renderContent: ({ size }) => /* @__PURE__ */ React46.createElement(import_icons10.ExpandIcon, { fontSize: size }),
3618
3681
  showTooltip: true
3619
3682
  },
3620
3683
  {
3621
3684
  value: "flex-shrink",
3622
- label: (0, import_i18n23.__)("Shrink", "elementor"),
3623
- renderContent: ({ size }) => /* @__PURE__ */ React45.createElement(import_icons10.ShrinkIcon, { fontSize: size }),
3685
+ label: (0, import_i18n24.__)("Shrink", "elementor"),
3686
+ renderContent: ({ size }) => /* @__PURE__ */ React46.createElement(import_icons10.ShrinkIcon, { fontSize: size }),
3624
3687
  showTooltip: true
3625
3688
  },
3626
3689
  {
3627
3690
  value: "custom",
3628
- label: (0, import_i18n23.__)("Custom", "elementor"),
3629
- renderContent: ({ size }) => /* @__PURE__ */ React45.createElement(import_icons10.PencilIcon, { fontSize: size }),
3691
+ label: (0, import_i18n24.__)("Custom", "elementor"),
3692
+ renderContent: ({ size }) => /* @__PURE__ */ React46.createElement(import_icons10.PencilIcon, { fontSize: size }),
3630
3693
  showTooltip: true
3631
3694
  }
3632
3695
  ];
3633
3696
  var FlexSizeField = () => {
3634
- return /* @__PURE__ */ React45.createElement(UiProviders, null, /* @__PURE__ */ React45.createElement(SectionContent, null, /* @__PURE__ */ React45.createElement(StylesField, { bind: "flex", propDisplayName: FLEX_SIZE_LABEL }, /* @__PURE__ */ React45.createElement(FlexSizeFieldContent, null))));
3697
+ return /* @__PURE__ */ React46.createElement(UiProviders, null, /* @__PURE__ */ React46.createElement(SectionContent, null, /* @__PURE__ */ React46.createElement(StylesField, { bind: "flex", propDisplayName: FLEX_SIZE_LABEL }, /* @__PURE__ */ React46.createElement(FlexSizeFieldContent, null))));
3635
3698
  };
3636
3699
  var FlexSizeFieldContent = () => {
3637
3700
  const { value, setValue, canEdit } = useStylesField("flex", {
@@ -3660,7 +3723,7 @@ var FlexSizeFieldContent = () => {
3660
3723
  };
3661
3724
  const groupPlaceholder = getActiveGroup(extractFlexValues(placeholder));
3662
3725
  const isCustomVisible = "custom" === activeGroup || "custom" === groupPlaceholder;
3663
- return /* @__PURE__ */ React45.createElement(React45.Fragment, null, /* @__PURE__ */ React45.createElement(StylesFieldLayout, { label: FLEX_SIZE_LABEL }, /* @__PURE__ */ React45.createElement(
3726
+ return /* @__PURE__ */ React46.createElement(React46.Fragment, null, /* @__PURE__ */ React46.createElement(StylesFieldLayout, { label: FLEX_SIZE_LABEL }, /* @__PURE__ */ React46.createElement(
3664
3727
  import_editor_controls21.ControlToggleButtonGroup,
3665
3728
  {
3666
3729
  value: activeGroup ?? null,
@@ -3670,7 +3733,7 @@ var FlexSizeFieldContent = () => {
3670
3733
  items: items2,
3671
3734
  exclusive: true
3672
3735
  }
3673
- )), isCustomVisible && /* @__PURE__ */ React45.createElement(FlexCustomField, null));
3736
+ )), isCustomVisible && /* @__PURE__ */ React46.createElement(FlexCustomField, null));
3674
3737
  };
3675
3738
  function extractFlexValues(source) {
3676
3739
  return {
@@ -3712,7 +3775,7 @@ var createFlexValueForGroup = (group, flexValue) => {
3712
3775
  var FlexCustomField = () => {
3713
3776
  const flexBasisRowRef = (0, import_react24.useRef)(null);
3714
3777
  const context = (0, import_editor_controls21.useBoundProp)(import_editor_props13.flexPropTypeUtil);
3715
- return /* @__PURE__ */ React45.createElement(import_editor_controls21.PropProvider, { ...context }, /* @__PURE__ */ React45.createElement(React45.Fragment, null, /* @__PURE__ */ React45.createElement(StylesFieldLayout, { label: (0, import_i18n23.__)("Grow", "elementor") }, /* @__PURE__ */ React45.createElement(import_editor_controls21.PropKeyProvider, { bind: "flexGrow" }, /* @__PURE__ */ React45.createElement(import_editor_controls21.NumberControl, { min: 0, shouldForceInt: true }))), /* @__PURE__ */ React45.createElement(StylesFieldLayout, { label: (0, import_i18n23.__)("Shrink", "elementor") }, /* @__PURE__ */ React45.createElement(import_editor_controls21.PropKeyProvider, { bind: "flexShrink" }, /* @__PURE__ */ React45.createElement(import_editor_controls21.NumberControl, { min: 0, shouldForceInt: true }))), /* @__PURE__ */ React45.createElement(StylesFieldLayout, { label: (0, import_i18n23.__)("Basis", "elementor"), ref: flexBasisRowRef }, /* @__PURE__ */ React45.createElement(import_editor_controls21.PropKeyProvider, { bind: "flexBasis" }, /* @__PURE__ */ React45.createElement(import_editor_controls21.SizeControl, { extendedOptions: ["auto"], anchorRef: flexBasisRowRef })))));
3778
+ return /* @__PURE__ */ React46.createElement(import_editor_controls21.PropProvider, { ...context }, /* @__PURE__ */ React46.createElement(React46.Fragment, null, /* @__PURE__ */ React46.createElement(StylesFieldLayout, { label: (0, import_i18n24.__)("Grow", "elementor") }, /* @__PURE__ */ React46.createElement(import_editor_controls21.PropKeyProvider, { bind: "flexGrow" }, /* @__PURE__ */ React46.createElement(import_editor_controls21.NumberControl, { min: 0, shouldForceInt: true }))), /* @__PURE__ */ React46.createElement(StylesFieldLayout, { label: (0, import_i18n24.__)("Shrink", "elementor") }, /* @__PURE__ */ React46.createElement(import_editor_controls21.PropKeyProvider, { bind: "flexShrink" }, /* @__PURE__ */ React46.createElement(import_editor_controls21.NumberControl, { min: 0, shouldForceInt: true }))), /* @__PURE__ */ React46.createElement(StylesFieldLayout, { label: (0, import_i18n24.__)("Basis", "elementor"), ref: flexBasisRowRef }, /* @__PURE__ */ React46.createElement(import_editor_controls21.PropKeyProvider, { bind: "flexBasis" }, /* @__PURE__ */ React46.createElement(import_editor_controls21.SizeControl, { extendedOptions: ["auto"], anchorRef: flexBasisRowRef })))));
3716
3779
  };
3717
3780
  var getActiveGroup = ({
3718
3781
  grow,
@@ -3736,21 +3799,21 @@ var getActiveGroup = ({
3736
3799
  };
3737
3800
 
3738
3801
  // src/components/style-sections/layout-section/gap-control-field.tsx
3739
- var React46 = __toESM(require("react"));
3802
+ var React47 = __toESM(require("react"));
3740
3803
  var import_editor_controls22 = require("@elementor/editor-controls");
3741
- var import_i18n24 = require("@wordpress/i18n");
3742
- var GAPS_LABEL = (0, import_i18n24.__)("Gaps", "elementor");
3804
+ var import_i18n25 = require("@wordpress/i18n");
3805
+ var GAPS_LABEL = (0, import_i18n25.__)("Gaps", "elementor");
3743
3806
  var GapControlField = () => {
3744
- return /* @__PURE__ */ React46.createElement(StylesField, { bind: "gap", propDisplayName: GAPS_LABEL }, /* @__PURE__ */ React46.createElement(import_editor_controls22.GapControl, { label: GAPS_LABEL }));
3807
+ return /* @__PURE__ */ React47.createElement(StylesField, { bind: "gap", propDisplayName: GAPS_LABEL }, /* @__PURE__ */ React47.createElement(import_editor_controls22.GapControl, { label: GAPS_LABEL }));
3745
3808
  };
3746
3809
 
3747
3810
  // src/components/style-sections/layout-section/justify-content-field.tsx
3748
- var React47 = __toESM(require("react"));
3811
+ var React48 = __toESM(require("react"));
3749
3812
  var import_editor_controls23 = require("@elementor/editor-controls");
3750
3813
  var import_icons11 = require("@elementor/icons");
3751
3814
  var import_ui28 = require("@elementor/ui");
3752
- var import_i18n25 = require("@wordpress/i18n");
3753
- var JUSTIFY_CONTENT_LABEL = (0, import_i18n25.__)("Justify content", "elementor");
3815
+ var import_i18n26 = require("@wordpress/i18n");
3816
+ var JUSTIFY_CONTENT_LABEL = (0, import_i18n26.__)("Justify content", "elementor");
3754
3817
  var StartIcon4 = (0, import_ui28.withDirection)(import_icons11.JustifyTopIcon);
3755
3818
  var EndIcon4 = (0, import_ui28.withDirection)(import_icons11.JustifyBottomIcon);
3756
3819
  var iconProps4 = {
@@ -3760,76 +3823,76 @@ var iconProps4 = {
3760
3823
  var options4 = [
3761
3824
  {
3762
3825
  value: "flex-start",
3763
- label: (0, import_i18n25.__)("Start", "elementor"),
3764
- renderContent: ({ size }) => /* @__PURE__ */ React47.createElement(RotatedIcon, { icon: StartIcon4, size, ...iconProps4 }),
3826
+ label: (0, import_i18n26.__)("Start", "elementor"),
3827
+ renderContent: ({ size }) => /* @__PURE__ */ React48.createElement(RotatedIcon, { icon: StartIcon4, size, ...iconProps4 }),
3765
3828
  showTooltip: true
3766
3829
  },
3767
3830
  {
3768
3831
  value: "center",
3769
- label: (0, import_i18n25.__)("Center", "elementor"),
3770
- renderContent: ({ size }) => /* @__PURE__ */ React47.createElement(RotatedIcon, { icon: import_icons11.JustifyCenterIcon, size, ...iconProps4 }),
3832
+ label: (0, import_i18n26.__)("Center", "elementor"),
3833
+ renderContent: ({ size }) => /* @__PURE__ */ React48.createElement(RotatedIcon, { icon: import_icons11.JustifyCenterIcon, size, ...iconProps4 }),
3771
3834
  showTooltip: true
3772
3835
  },
3773
3836
  {
3774
3837
  value: "flex-end",
3775
- label: (0, import_i18n25.__)("End", "elementor"),
3776
- renderContent: ({ size }) => /* @__PURE__ */ React47.createElement(RotatedIcon, { icon: EndIcon4, size, ...iconProps4 }),
3838
+ label: (0, import_i18n26.__)("End", "elementor"),
3839
+ renderContent: ({ size }) => /* @__PURE__ */ React48.createElement(RotatedIcon, { icon: EndIcon4, size, ...iconProps4 }),
3777
3840
  showTooltip: true
3778
3841
  },
3779
3842
  {
3780
3843
  value: "space-between",
3781
- label: (0, import_i18n25.__)("Space between", "elementor"),
3782
- renderContent: ({ size }) => /* @__PURE__ */ React47.createElement(RotatedIcon, { icon: import_icons11.JustifySpaceBetweenVerticalIcon, size, ...iconProps4 }),
3844
+ label: (0, import_i18n26.__)("Space between", "elementor"),
3845
+ renderContent: ({ size }) => /* @__PURE__ */ React48.createElement(RotatedIcon, { icon: import_icons11.JustifySpaceBetweenVerticalIcon, size, ...iconProps4 }),
3783
3846
  showTooltip: true
3784
3847
  },
3785
3848
  {
3786
3849
  value: "space-around",
3787
- label: (0, import_i18n25.__)("Space around", "elementor"),
3788
- renderContent: ({ size }) => /* @__PURE__ */ React47.createElement(RotatedIcon, { icon: import_icons11.JustifySpaceAroundVerticalIcon, size, ...iconProps4 }),
3850
+ label: (0, import_i18n26.__)("Space around", "elementor"),
3851
+ renderContent: ({ size }) => /* @__PURE__ */ React48.createElement(RotatedIcon, { icon: import_icons11.JustifySpaceAroundVerticalIcon, size, ...iconProps4 }),
3789
3852
  showTooltip: true
3790
3853
  },
3791
3854
  {
3792
3855
  value: "space-evenly",
3793
- label: (0, import_i18n25.__)("Space evenly", "elementor"),
3794
- renderContent: ({ size }) => /* @__PURE__ */ React47.createElement(RotatedIcon, { icon: import_icons11.JustifyDistributeVerticalIcon, size, ...iconProps4 }),
3856
+ label: (0, import_i18n26.__)("Space evenly", "elementor"),
3857
+ renderContent: ({ size }) => /* @__PURE__ */ React48.createElement(RotatedIcon, { icon: import_icons11.JustifyDistributeVerticalIcon, size, ...iconProps4 }),
3795
3858
  showTooltip: true
3796
3859
  }
3797
3860
  ];
3798
- var JustifyContentField = () => /* @__PURE__ */ React47.createElement(StylesField, { bind: "justify-content", propDisplayName: JUSTIFY_CONTENT_LABEL }, /* @__PURE__ */ React47.createElement(UiProviders, null, /* @__PURE__ */ React47.createElement(StylesFieldLayout, { label: JUSTIFY_CONTENT_LABEL, direction: "column" }, /* @__PURE__ */ React47.createElement(import_editor_controls23.ToggleControl, { options: options4, fullWidth: true }))));
3861
+ var JustifyContentField = () => /* @__PURE__ */ React48.createElement(StylesField, { bind: "justify-content", propDisplayName: JUSTIFY_CONTENT_LABEL }, /* @__PURE__ */ React48.createElement(UiProviders, null, /* @__PURE__ */ React48.createElement(StylesFieldLayout, { label: JUSTIFY_CONTENT_LABEL, direction: "column" }, /* @__PURE__ */ React48.createElement(import_editor_controls23.ToggleControl, { options: options4, fullWidth: true }))));
3799
3862
 
3800
3863
  // src/components/style-sections/layout-section/wrap-field.tsx
3801
- var React48 = __toESM(require("react"));
3864
+ var React49 = __toESM(require("react"));
3802
3865
  var import_editor_controls24 = require("@elementor/editor-controls");
3803
3866
  var import_icons12 = require("@elementor/icons");
3804
- var import_i18n26 = require("@wordpress/i18n");
3805
- var FLEX_WRAP_LABEL = (0, import_i18n26.__)("Wrap", "elementor");
3867
+ var import_i18n27 = require("@wordpress/i18n");
3868
+ var FLEX_WRAP_LABEL = (0, import_i18n27.__)("Wrap", "elementor");
3806
3869
  var options5 = [
3807
3870
  {
3808
3871
  value: "nowrap",
3809
- label: (0, import_i18n26.__)("No wrap", "elementor"),
3810
- renderContent: ({ size }) => /* @__PURE__ */ React48.createElement(import_icons12.ArrowRightIcon, { fontSize: size }),
3872
+ label: (0, import_i18n27.__)("No wrap", "elementor"),
3873
+ renderContent: ({ size }) => /* @__PURE__ */ React49.createElement(import_icons12.ArrowRightIcon, { fontSize: size }),
3811
3874
  showTooltip: true
3812
3875
  },
3813
3876
  {
3814
3877
  value: "wrap",
3815
- label: (0, import_i18n26.__)("Wrap", "elementor"),
3816
- renderContent: ({ size }) => /* @__PURE__ */ React48.createElement(import_icons12.ArrowBackIcon, { fontSize: size }),
3878
+ label: (0, import_i18n27.__)("Wrap", "elementor"),
3879
+ renderContent: ({ size }) => /* @__PURE__ */ React49.createElement(import_icons12.ArrowBackIcon, { fontSize: size }),
3817
3880
  showTooltip: true
3818
3881
  },
3819
3882
  {
3820
3883
  value: "wrap-reverse",
3821
- label: (0, import_i18n26.__)("Reversed wrap", "elementor"),
3822
- renderContent: ({ size }) => /* @__PURE__ */ React48.createElement(import_icons12.ArrowForwardIcon, { fontSize: size }),
3884
+ label: (0, import_i18n27.__)("Reversed wrap", "elementor"),
3885
+ renderContent: ({ size }) => /* @__PURE__ */ React49.createElement(import_icons12.ArrowForwardIcon, { fontSize: size }),
3823
3886
  showTooltip: true
3824
3887
  }
3825
3888
  ];
3826
3889
  var WrapField = () => {
3827
- return /* @__PURE__ */ React48.createElement(StylesField, { bind: "flex-wrap", propDisplayName: FLEX_WRAP_LABEL }, /* @__PURE__ */ React48.createElement(UiProviders, null, /* @__PURE__ */ React48.createElement(StylesFieldLayout, { label: FLEX_WRAP_LABEL }, /* @__PURE__ */ React48.createElement(import_editor_controls24.ToggleControl, { options: options5 }))));
3890
+ return /* @__PURE__ */ React49.createElement(StylesField, { bind: "flex-wrap", propDisplayName: FLEX_WRAP_LABEL }, /* @__PURE__ */ React49.createElement(UiProviders, null, /* @__PURE__ */ React49.createElement(StylesFieldLayout, { label: FLEX_WRAP_LABEL }, /* @__PURE__ */ React49.createElement(import_editor_controls24.ToggleControl, { options: options5 }))));
3828
3891
  };
3829
3892
 
3830
3893
  // src/components/style-sections/layout-section/layout-section.tsx
3831
- var DISPLAY_LABEL2 = (0, import_i18n27.__)("Display", "elementor");
3832
- var FLEX_WRAP_LABEL2 = (0, import_i18n27.__)("Flex wrap", "elementor");
3894
+ var DISPLAY_LABEL2 = (0, import_i18n28.__)("Display", "elementor");
3895
+ var FLEX_WRAP_LABEL2 = (0, import_i18n28.__)("Flex wrap", "elementor");
3833
3896
  var LayoutSection = () => {
3834
3897
  const { value: display } = useStylesField("display", {
3835
3898
  history: { propDisplayName: DISPLAY_LABEL2 }
@@ -3840,15 +3903,15 @@ var LayoutSection = () => {
3840
3903
  const parent = (0, import_editor_elements11.useParentElement)(element.id);
3841
3904
  const parentStyle = useComputedStyle(parent?.id || null);
3842
3905
  const parentStyleDirection = parentStyle?.flexDirection ?? "row";
3843
- return /* @__PURE__ */ React49.createElement(SectionContent, null, /* @__PURE__ */ React49.createElement(DisplayField, null), isDisplayFlex && /* @__PURE__ */ React49.createElement(FlexFields, null), "flex" === parentStyle?.display && /* @__PURE__ */ React49.createElement(FlexChildFields, { parentStyleDirection }));
3906
+ return /* @__PURE__ */ React50.createElement(SectionContent, null, /* @__PURE__ */ React50.createElement(DisplayField, null), isDisplayFlex && /* @__PURE__ */ React50.createElement(FlexFields, null), "flex" === parentStyle?.display && /* @__PURE__ */ React50.createElement(FlexChildFields, { parentStyleDirection }));
3844
3907
  };
3845
3908
  var FlexFields = () => {
3846
3909
  const { value: flexWrap } = useStylesField("flex-wrap", {
3847
3910
  history: { propDisplayName: FLEX_WRAP_LABEL2 }
3848
3911
  });
3849
- return /* @__PURE__ */ React49.createElement(React49.Fragment, null, /* @__PURE__ */ React49.createElement(FlexDirectionField, null), /* @__PURE__ */ React49.createElement(JustifyContentField, null), /* @__PURE__ */ React49.createElement(AlignItemsField, null), /* @__PURE__ */ React49.createElement(PanelDivider, null), /* @__PURE__ */ React49.createElement(GapControlField, null), /* @__PURE__ */ React49.createElement(WrapField, null), ["wrap", "wrap-reverse"].includes(flexWrap?.value) && /* @__PURE__ */ React49.createElement(AlignContentField, null));
3912
+ return /* @__PURE__ */ React50.createElement(React50.Fragment, null, /* @__PURE__ */ React50.createElement(FlexDirectionField, null), /* @__PURE__ */ React50.createElement(JustifyContentField, null), /* @__PURE__ */ React50.createElement(AlignItemsField, null), /* @__PURE__ */ React50.createElement(PanelDivider, null), /* @__PURE__ */ React50.createElement(GapControlField, null), /* @__PURE__ */ React50.createElement(WrapField, null), ["wrap", "wrap-reverse"].includes(flexWrap?.value) && /* @__PURE__ */ React50.createElement(AlignContentField, null));
3850
3913
  };
3851
- var FlexChildFields = ({ parentStyleDirection }) => /* @__PURE__ */ React49.createElement(React49.Fragment, null, /* @__PURE__ */ React49.createElement(PanelDivider, null), /* @__PURE__ */ React49.createElement(import_editor_controls25.ControlFormLabel, null, (0, import_i18n27.__)("Flex child", "elementor")), /* @__PURE__ */ React49.createElement(AlignSelfChild, { parentStyleDirection }), /* @__PURE__ */ React49.createElement(FlexOrderField, null), /* @__PURE__ */ React49.createElement(FlexSizeField, null));
3914
+ var FlexChildFields = ({ parentStyleDirection }) => /* @__PURE__ */ React50.createElement(React50.Fragment, null, /* @__PURE__ */ React50.createElement(PanelDivider, null), /* @__PURE__ */ React50.createElement(import_editor_controls25.ControlFormLabel, null, (0, import_i18n28.__)("Flex child", "elementor")), /* @__PURE__ */ React50.createElement(AlignSelfChild, { parentStyleDirection }), /* @__PURE__ */ React50.createElement(FlexOrderField, null), /* @__PURE__ */ React50.createElement(FlexSizeField, null));
3852
3915
  var shouldDisplayFlexFields = (display, local) => {
3853
3916
  const value = display?.value ?? local?.value;
3854
3917
  if (!value) {
@@ -3858,39 +3921,39 @@ var shouldDisplayFlexFields = (display, local) => {
3858
3921
  };
3859
3922
 
3860
3923
  // src/components/style-sections/position-section/position-section.tsx
3861
- var React54 = __toESM(require("react"));
3924
+ var React55 = __toESM(require("react"));
3862
3925
  var import_react27 = require("react");
3863
- var import_session6 = require("@elementor/session");
3864
- var import_i18n32 = require("@wordpress/i18n");
3926
+ var import_session7 = require("@elementor/session");
3927
+ var import_i18n33 = require("@wordpress/i18n");
3865
3928
 
3866
3929
  // src/components/style-sections/position-section/dimensions-field.tsx
3867
- var React50 = __toESM(require("react"));
3930
+ var React51 = __toESM(require("react"));
3868
3931
  var import_react25 = require("react");
3869
3932
  var import_editor_controls26 = require("@elementor/editor-controls");
3870
3933
  var import_icons13 = require("@elementor/icons");
3871
3934
  var import_ui29 = require("@elementor/ui");
3872
- var import_i18n28 = require("@wordpress/i18n");
3935
+ var import_i18n29 = require("@wordpress/i18n");
3873
3936
  var InlineStartIcon2 = (0, import_ui29.withDirection)(import_icons13.SideLeftIcon);
3874
3937
  var InlineEndIcon2 = (0, import_ui29.withDirection)(import_icons13.SideRightIcon);
3875
3938
  var sideIcons = {
3876
- "inset-block-start": /* @__PURE__ */ React50.createElement(import_icons13.SideTopIcon, { fontSize: "tiny" }),
3877
- "inset-block-end": /* @__PURE__ */ React50.createElement(import_icons13.SideBottomIcon, { fontSize: "tiny" }),
3878
- "inset-inline-start": /* @__PURE__ */ React50.createElement(RotatedIcon, { icon: InlineStartIcon2, size: "tiny" }),
3879
- "inset-inline-end": /* @__PURE__ */ React50.createElement(RotatedIcon, { icon: InlineEndIcon2, size: "tiny" })
3939
+ "inset-block-start": /* @__PURE__ */ React51.createElement(import_icons13.SideTopIcon, { fontSize: "tiny" }),
3940
+ "inset-block-end": /* @__PURE__ */ React51.createElement(import_icons13.SideBottomIcon, { fontSize: "tiny" }),
3941
+ "inset-inline-start": /* @__PURE__ */ React51.createElement(RotatedIcon, { icon: InlineStartIcon2, size: "tiny" }),
3942
+ "inset-inline-end": /* @__PURE__ */ React51.createElement(RotatedIcon, { icon: InlineEndIcon2, size: "tiny" })
3880
3943
  };
3881
- var getInlineStartLabel = (isSiteRtl) => isSiteRtl ? (0, import_i18n28.__)("Right", "elementor") : (0, import_i18n28.__)("Left", "elementor");
3882
- var getInlineEndLabel = (isSiteRtl) => isSiteRtl ? (0, import_i18n28.__)("Left", "elementor") : (0, import_i18n28.__)("Right", "elementor");
3944
+ var getInlineStartLabel = (isSiteRtl) => isSiteRtl ? (0, import_i18n29.__)("Right", "elementor") : (0, import_i18n29.__)("Left", "elementor");
3945
+ var getInlineEndLabel = (isSiteRtl) => isSiteRtl ? (0, import_i18n29.__)("Left", "elementor") : (0, import_i18n29.__)("Right", "elementor");
3883
3946
  var DimensionsField = () => {
3884
3947
  const { isSiteRtl } = useDirection();
3885
3948
  const rowRefs = [(0, import_react25.useRef)(null), (0, import_react25.useRef)(null)];
3886
- return /* @__PURE__ */ React50.createElement(UiProviders, null, /* @__PURE__ */ React50.createElement(import_ui29.Stack, { direction: "row", gap: 2, flexWrap: "nowrap", ref: rowRefs[0] }, /* @__PURE__ */ React50.createElement(DimensionField, { side: "inset-block-start", label: (0, import_i18n28.__)("Top", "elementor"), rowRef: rowRefs[0] }), /* @__PURE__ */ React50.createElement(
3949
+ return /* @__PURE__ */ React51.createElement(UiProviders, null, /* @__PURE__ */ React51.createElement(import_ui29.Stack, { direction: "row", gap: 2, flexWrap: "nowrap", ref: rowRefs[0] }, /* @__PURE__ */ React51.createElement(DimensionField, { side: "inset-block-start", label: (0, import_i18n29.__)("Top", "elementor"), rowRef: rowRefs[0] }), /* @__PURE__ */ React51.createElement(
3887
3950
  DimensionField,
3888
3951
  {
3889
3952
  side: "inset-inline-end",
3890
3953
  label: getInlineEndLabel(isSiteRtl),
3891
3954
  rowRef: rowRefs[0]
3892
3955
  }
3893
- )), /* @__PURE__ */ React50.createElement(import_ui29.Stack, { direction: "row", gap: 2, flexWrap: "nowrap", ref: rowRefs[1] }, /* @__PURE__ */ React50.createElement(DimensionField, { side: "inset-block-end", label: (0, import_i18n28.__)("Bottom", "elementor"), rowRef: rowRefs[1] }), /* @__PURE__ */ React50.createElement(
3956
+ )), /* @__PURE__ */ React51.createElement(import_ui29.Stack, { direction: "row", gap: 2, flexWrap: "nowrap", ref: rowRefs[1] }, /* @__PURE__ */ React51.createElement(DimensionField, { side: "inset-block-end", label: (0, import_i18n29.__)("Bottom", "elementor"), rowRef: rowRefs[1] }), /* @__PURE__ */ React51.createElement(
3894
3957
  DimensionField,
3895
3958
  {
3896
3959
  side: "inset-inline-start",
@@ -3903,7 +3966,7 @@ var DimensionField = ({
3903
3966
  side,
3904
3967
  label,
3905
3968
  rowRef
3906
- }) => /* @__PURE__ */ React50.createElement(StylesField, { bind: side, propDisplayName: label }, /* @__PURE__ */ React50.createElement(import_ui29.Grid, { container: true, gap: 0.75, alignItems: "center" }, /* @__PURE__ */ React50.createElement(import_ui29.Grid, { item: true, xs: 12 }, /* @__PURE__ */ React50.createElement(ControlLabel, null, label)), /* @__PURE__ */ React50.createElement(import_ui29.Grid, { item: true, xs: 12 }, /* @__PURE__ */ React50.createElement(
3969
+ }) => /* @__PURE__ */ React51.createElement(StylesField, { bind: side, propDisplayName: label }, /* @__PURE__ */ React51.createElement(import_ui29.Grid, { container: true, gap: 0.75, alignItems: "center" }, /* @__PURE__ */ React51.createElement(import_ui29.Grid, { item: true, xs: 12 }, /* @__PURE__ */ React51.createElement(ControlLabel, null, label)), /* @__PURE__ */ React51.createElement(import_ui29.Grid, { item: true, xs: 12 }, /* @__PURE__ */ React51.createElement(
3907
3970
  import_editor_controls26.SizeControl,
3908
3971
  {
3909
3972
  startIcon: sideIcons[side],
@@ -3914,46 +3977,46 @@ var DimensionField = ({
3914
3977
  ))));
3915
3978
 
3916
3979
  // src/components/style-sections/position-section/offset-field.tsx
3917
- var React51 = __toESM(require("react"));
3980
+ var React52 = __toESM(require("react"));
3918
3981
  var import_react26 = require("react");
3919
3982
  var import_editor_controls27 = require("@elementor/editor-controls");
3920
- var import_i18n29 = require("@wordpress/i18n");
3921
- var OFFSET_LABEL = (0, import_i18n29.__)("Anchor offset", "elementor");
3983
+ var import_i18n30 = require("@wordpress/i18n");
3984
+ var OFFSET_LABEL = (0, import_i18n30.__)("Anchor offset", "elementor");
3922
3985
  var UNITS = ["px", "em", "rem", "vw", "vh"];
3923
3986
  var OffsetField = () => {
3924
3987
  const rowRef = (0, import_react26.useRef)(null);
3925
- return /* @__PURE__ */ React51.createElement(StylesField, { bind: "scroll-margin-top", propDisplayName: OFFSET_LABEL }, /* @__PURE__ */ React51.createElement(StylesFieldLayout, { label: OFFSET_LABEL, ref: rowRef }, /* @__PURE__ */ React51.createElement(import_editor_controls27.SizeControl, { units: UNITS, anchorRef: rowRef })));
3988
+ return /* @__PURE__ */ React52.createElement(StylesField, { bind: "scroll-margin-top", propDisplayName: OFFSET_LABEL }, /* @__PURE__ */ React52.createElement(StylesFieldLayout, { label: OFFSET_LABEL, ref: rowRef }, /* @__PURE__ */ React52.createElement(import_editor_controls27.SizeControl, { units: UNITS, anchorRef: rowRef })));
3926
3989
  };
3927
3990
 
3928
3991
  // src/components/style-sections/position-section/position-field.tsx
3929
- var React52 = __toESM(require("react"));
3992
+ var React53 = __toESM(require("react"));
3930
3993
  var import_editor_controls28 = require("@elementor/editor-controls");
3931
- var import_i18n30 = require("@wordpress/i18n");
3932
- var POSITION_LABEL = (0, import_i18n30.__)("Position", "elementor");
3994
+ var import_i18n31 = require("@wordpress/i18n");
3995
+ var POSITION_LABEL = (0, import_i18n31.__)("Position", "elementor");
3933
3996
  var positionOptions = [
3934
- { label: (0, import_i18n30.__)("Static", "elementor"), value: "static" },
3935
- { label: (0, import_i18n30.__)("Relative", "elementor"), value: "relative" },
3936
- { label: (0, import_i18n30.__)("Absolute", "elementor"), value: "absolute" },
3937
- { label: (0, import_i18n30.__)("Fixed", "elementor"), value: "fixed" },
3938
- { label: (0, import_i18n30.__)("Sticky", "elementor"), value: "sticky" }
3997
+ { label: (0, import_i18n31.__)("Static", "elementor"), value: "static" },
3998
+ { label: (0, import_i18n31.__)("Relative", "elementor"), value: "relative" },
3999
+ { label: (0, import_i18n31.__)("Absolute", "elementor"), value: "absolute" },
4000
+ { label: (0, import_i18n31.__)("Fixed", "elementor"), value: "fixed" },
4001
+ { label: (0, import_i18n31.__)("Sticky", "elementor"), value: "sticky" }
3939
4002
  ];
3940
4003
  var PositionField = ({ onChange }) => {
3941
- return /* @__PURE__ */ React52.createElement(StylesField, { bind: "position", propDisplayName: POSITION_LABEL }, /* @__PURE__ */ React52.createElement(StylesFieldLayout, { label: POSITION_LABEL }, /* @__PURE__ */ React52.createElement(import_editor_controls28.SelectControl, { options: positionOptions, onChange })));
4004
+ return /* @__PURE__ */ React53.createElement(StylesField, { bind: "position", propDisplayName: POSITION_LABEL }, /* @__PURE__ */ React53.createElement(StylesFieldLayout, { label: POSITION_LABEL }, /* @__PURE__ */ React53.createElement(import_editor_controls28.SelectControl, { options: positionOptions, onChange })));
3942
4005
  };
3943
4006
 
3944
4007
  // src/components/style-sections/position-section/z-index-field.tsx
3945
- var React53 = __toESM(require("react"));
4008
+ var React54 = __toESM(require("react"));
3946
4009
  var import_editor_controls29 = require("@elementor/editor-controls");
3947
- var import_i18n31 = require("@wordpress/i18n");
3948
- var Z_INDEX_LABEL = (0, import_i18n31.__)("Z-index", "elementor");
4010
+ var import_i18n32 = require("@wordpress/i18n");
4011
+ var Z_INDEX_LABEL = (0, import_i18n32.__)("Z-index", "elementor");
3949
4012
  var ZIndexField = () => {
3950
- return /* @__PURE__ */ React53.createElement(StylesField, { bind: "z-index", propDisplayName: Z_INDEX_LABEL }, /* @__PURE__ */ React53.createElement(StylesFieldLayout, { label: Z_INDEX_LABEL }, /* @__PURE__ */ React53.createElement(import_editor_controls29.NumberControl, null)));
4013
+ return /* @__PURE__ */ React54.createElement(StylesField, { bind: "z-index", propDisplayName: Z_INDEX_LABEL }, /* @__PURE__ */ React54.createElement(StylesFieldLayout, { label: Z_INDEX_LABEL }, /* @__PURE__ */ React54.createElement(import_editor_controls29.NumberControl, null)));
3951
4014
  };
3952
4015
 
3953
4016
  // src/components/style-sections/position-section/position-section.tsx
3954
4017
  var POSITION_STATIC = "static";
3955
- var POSITION_LABEL2 = (0, import_i18n32.__)("Position", "elementor");
3956
- var DIMENSIONS_LABEL = (0, import_i18n32.__)("Dimensions", "elementor");
4018
+ var POSITION_LABEL2 = (0, import_i18n33.__)("Position", "elementor");
4019
+ var DIMENSIONS_LABEL = (0, import_i18n33.__)("Dimensions", "elementor");
3957
4020
  var POSITION_DEPENDENT_PROP_NAMES = [
3958
4021
  "inset-block-start",
3959
4022
  "inset-block-end",
@@ -4010,36 +4073,36 @@ var PositionSection = () => {
4010
4073
  }
4011
4074
  };
4012
4075
  const isNotStatic = positionValue && positionValue?.value !== POSITION_STATIC;
4013
- return /* @__PURE__ */ React54.createElement(SectionContent, null, /* @__PURE__ */ React54.createElement(PositionField, { onChange: onPositionChange }), isNotStatic ? /* @__PURE__ */ React54.createElement(React54.Fragment, null, /* @__PURE__ */ React54.createElement(DimensionsField, null), /* @__PURE__ */ React54.createElement(ZIndexField, null)) : null, /* @__PURE__ */ React54.createElement(PanelDivider, null), /* @__PURE__ */ React54.createElement(OffsetField, null));
4076
+ return /* @__PURE__ */ React55.createElement(SectionContent, null, /* @__PURE__ */ React55.createElement(PositionField, { onChange: onPositionChange }), isNotStatic ? /* @__PURE__ */ React55.createElement(React55.Fragment, null, /* @__PURE__ */ React55.createElement(DimensionsField, null), /* @__PURE__ */ React55.createElement(ZIndexField, null)) : null, /* @__PURE__ */ React55.createElement(PanelDivider, null), /* @__PURE__ */ React55.createElement(OffsetField, null));
4014
4077
  };
4015
4078
  var usePersistDimensions = () => {
4016
4079
  const { id: styleDefID, meta } = useStyle();
4017
4080
  const styleVariantPath = `styles/${styleDefID}/${meta.breakpoint || "desktop"}/${meta.state || "null"}`;
4018
4081
  const dimensionsPath = `${styleVariantPath}/dimensions`;
4019
- return (0, import_session6.useSessionStorage)(dimensionsPath);
4082
+ return (0, import_session7.useSessionStorage)(dimensionsPath);
4020
4083
  };
4021
4084
 
4022
4085
  // src/components/style-sections/size-section/size-section.tsx
4023
- var React59 = __toESM(require("react"));
4086
+ var React60 = __toESM(require("react"));
4024
4087
  var import_react28 = require("react");
4025
4088
  var import_editor_controls32 = require("@elementor/editor-controls");
4026
4089
  var import_ui31 = require("@elementor/ui");
4027
- var import_i18n36 = require("@wordpress/i18n");
4090
+ var import_i18n37 = require("@wordpress/i18n");
4028
4091
 
4029
4092
  // src/components/style-tab-collapsible-content.tsx
4030
- var React56 = __toESM(require("react"));
4031
- var import_editor_ui5 = require("@elementor/editor-ui");
4093
+ var React57 = __toESM(require("react"));
4094
+ var import_editor_ui6 = require("@elementor/editor-ui");
4032
4095
 
4033
4096
  // src/styles-inheritance/components/styles-inheritance-section-indicators.tsx
4034
- var React55 = __toESM(require("react"));
4035
- var import_editor_styles_repository13 = require("@elementor/editor-styles-repository");
4097
+ var React56 = __toESM(require("react"));
4098
+ var import_editor_styles_repository14 = require("@elementor/editor-styles-repository");
4036
4099
  var import_ui30 = require("@elementor/ui");
4037
- var import_i18n33 = require("@wordpress/i18n");
4100
+ var import_i18n34 = require("@wordpress/i18n");
4038
4101
  var StylesInheritanceSectionIndicators = ({ fields }) => {
4039
4102
  const { id, meta, provider } = useStyle();
4040
4103
  const snapshot = useStylesInheritanceSnapshot();
4041
4104
  if (fields.includes("custom_css")) {
4042
- return /* @__PURE__ */ React55.createElement(CustomCssIndicator, null);
4105
+ return /* @__PURE__ */ React56.createElement(CustomCssIndicator, null);
4043
4106
  }
4044
4107
  const snapshotFields = Object.fromEntries(
4045
4108
  Object.entries(snapshot ?? {}).filter(([key]) => fields.includes(key))
@@ -4048,17 +4111,17 @@ var StylesInheritanceSectionIndicators = ({ fields }) => {
4048
4111
  if (!hasValues && !hasOverrides) {
4049
4112
  return null;
4050
4113
  }
4051
- const hasValueLabel = (0, import_i18n33.__)("Has effective styles", "elementor");
4052
- const hasOverridesLabel = (0, import_i18n33.__)("Has overridden styles", "elementor");
4053
- return /* @__PURE__ */ React55.createElement(import_ui30.Tooltip, { title: (0, import_i18n33.__)("Has styles", "elementor"), placement: "top" }, /* @__PURE__ */ React55.createElement(import_ui30.Stack, { direction: "row", sx: { "& > *": { marginInlineStart: -0.25 } }, role: "list" }, hasValues && provider && /* @__PURE__ */ React55.createElement(
4114
+ const hasValueLabel = (0, import_i18n34.__)("Has effective styles", "elementor");
4115
+ const hasOverridesLabel = (0, import_i18n34.__)("Has overridden styles", "elementor");
4116
+ return /* @__PURE__ */ React56.createElement(import_ui30.Tooltip, { title: (0, import_i18n34.__)("Has styles", "elementor"), placement: "top" }, /* @__PURE__ */ React56.createElement(import_ui30.Stack, { direction: "row", sx: { "& > *": { marginInlineStart: -0.25 } }, role: "list" }, hasValues && provider && /* @__PURE__ */ React56.createElement(
4054
4117
  StyleIndicator,
4055
4118
  {
4056
4119
  getColor: getStylesProviderThemeColor(provider.getKey()),
4057
- "data-variant": (0, import_editor_styles_repository13.isElementsStylesProvider)(provider.getKey()) ? "local" : "global",
4120
+ "data-variant": (0, import_editor_styles_repository14.isElementsStylesProvider)(provider.getKey()) ? "local" : "global",
4058
4121
  role: "listitem",
4059
4122
  "aria-label": hasValueLabel
4060
4123
  }
4061
- ), hasOverrides && /* @__PURE__ */ React55.createElement(
4124
+ ), hasOverrides && /* @__PURE__ */ React56.createElement(
4062
4125
  StyleIndicator,
4063
4126
  {
4064
4127
  isOverridden: true,
@@ -4098,59 +4161,59 @@ function getCurrentStyleFromChain(chain, styleId, meta) {
4098
4161
 
4099
4162
  // src/components/style-tab-collapsible-content.tsx
4100
4163
  var StyleTabCollapsibleContent = ({ fields = [], children }) => {
4101
- return /* @__PURE__ */ React56.createElement(import_editor_ui5.CollapsibleContent, { titleEnd: getStylesInheritanceIndicators(fields) }, children);
4164
+ return /* @__PURE__ */ React57.createElement(import_editor_ui6.CollapsibleContent, { titleEnd: getStylesInheritanceIndicators(fields) }, children);
4102
4165
  };
4103
4166
  function getStylesInheritanceIndicators(fields) {
4104
4167
  if (fields.length === 0) {
4105
4168
  return null;
4106
4169
  }
4107
- return (isOpen) => !isOpen ? /* @__PURE__ */ React56.createElement(StylesInheritanceSectionIndicators, { fields }) : null;
4170
+ return (isOpen) => !isOpen ? /* @__PURE__ */ React57.createElement(StylesInheritanceSectionIndicators, { fields }) : null;
4108
4171
  }
4109
4172
 
4110
4173
  // src/components/style-sections/size-section/object-fit-field.tsx
4111
- var React57 = __toESM(require("react"));
4174
+ var React58 = __toESM(require("react"));
4112
4175
  var import_editor_controls30 = require("@elementor/editor-controls");
4113
- var import_i18n34 = require("@wordpress/i18n");
4114
- var OBJECT_FIT_LABEL = (0, import_i18n34.__)("Object fit", "elementor");
4176
+ var import_i18n35 = require("@wordpress/i18n");
4177
+ var OBJECT_FIT_LABEL = (0, import_i18n35.__)("Object fit", "elementor");
4115
4178
  var positionOptions2 = [
4116
- { label: (0, import_i18n34.__)("Fill", "elementor"), value: "fill" },
4117
- { label: (0, import_i18n34.__)("Cover", "elementor"), value: "cover" },
4118
- { label: (0, import_i18n34.__)("Contain", "elementor"), value: "contain" },
4119
- { label: (0, import_i18n34.__)("None", "elementor"), value: "none" },
4120
- { label: (0, import_i18n34.__)("Scale down", "elementor"), value: "scale-down" }
4179
+ { label: (0, import_i18n35.__)("Fill", "elementor"), value: "fill" },
4180
+ { label: (0, import_i18n35.__)("Cover", "elementor"), value: "cover" },
4181
+ { label: (0, import_i18n35.__)("Contain", "elementor"), value: "contain" },
4182
+ { label: (0, import_i18n35.__)("None", "elementor"), value: "none" },
4183
+ { label: (0, import_i18n35.__)("Scale down", "elementor"), value: "scale-down" }
4121
4184
  ];
4122
4185
  var ObjectFitField = () => {
4123
- return /* @__PURE__ */ React57.createElement(StylesField, { bind: "object-fit", propDisplayName: OBJECT_FIT_LABEL }, /* @__PURE__ */ React57.createElement(StylesFieldLayout, { label: OBJECT_FIT_LABEL }, /* @__PURE__ */ React57.createElement(import_editor_controls30.SelectControl, { options: positionOptions2 })));
4186
+ return /* @__PURE__ */ React58.createElement(StylesField, { bind: "object-fit", propDisplayName: OBJECT_FIT_LABEL }, /* @__PURE__ */ React58.createElement(StylesFieldLayout, { label: OBJECT_FIT_LABEL }, /* @__PURE__ */ React58.createElement(import_editor_controls30.SelectControl, { options: positionOptions2 })));
4124
4187
  };
4125
4188
 
4126
4189
  // src/components/style-sections/size-section/overflow-field.tsx
4127
- var React58 = __toESM(require("react"));
4190
+ var React59 = __toESM(require("react"));
4128
4191
  var import_editor_controls31 = require("@elementor/editor-controls");
4129
4192
  var import_icons14 = require("@elementor/icons");
4130
- var import_i18n35 = require("@wordpress/i18n");
4131
- var OVERFLOW_LABEL = (0, import_i18n35.__)("Overflow", "elementor");
4193
+ var import_i18n36 = require("@wordpress/i18n");
4194
+ var OVERFLOW_LABEL = (0, import_i18n36.__)("Overflow", "elementor");
4132
4195
  var options6 = [
4133
4196
  {
4134
4197
  value: "visible",
4135
- label: (0, import_i18n35.__)("Visible", "elementor"),
4136
- renderContent: ({ size }) => /* @__PURE__ */ React58.createElement(import_icons14.EyeIcon, { fontSize: size }),
4198
+ label: (0, import_i18n36.__)("Visible", "elementor"),
4199
+ renderContent: ({ size }) => /* @__PURE__ */ React59.createElement(import_icons14.EyeIcon, { fontSize: size }),
4137
4200
  showTooltip: true
4138
4201
  },
4139
4202
  {
4140
4203
  value: "hidden",
4141
- label: (0, import_i18n35.__)("Hidden", "elementor"),
4142
- renderContent: ({ size }) => /* @__PURE__ */ React58.createElement(import_icons14.EyeOffIcon, { fontSize: size }),
4204
+ label: (0, import_i18n36.__)("Hidden", "elementor"),
4205
+ renderContent: ({ size }) => /* @__PURE__ */ React59.createElement(import_icons14.EyeOffIcon, { fontSize: size }),
4143
4206
  showTooltip: true
4144
4207
  },
4145
4208
  {
4146
4209
  value: "auto",
4147
- label: (0, import_i18n35.__)("Auto", "elementor"),
4148
- renderContent: ({ size }) => /* @__PURE__ */ React58.createElement(import_icons14.LetterAIcon, { fontSize: size }),
4210
+ label: (0, import_i18n36.__)("Auto", "elementor"),
4211
+ renderContent: ({ size }) => /* @__PURE__ */ React59.createElement(import_icons14.LetterAIcon, { fontSize: size }),
4149
4212
  showTooltip: true
4150
4213
  }
4151
4214
  ];
4152
4215
  var OverflowField = () => {
4153
- return /* @__PURE__ */ React58.createElement(StylesField, { bind: "overflow", propDisplayName: OVERFLOW_LABEL }, /* @__PURE__ */ React58.createElement(StylesFieldLayout, { label: OVERFLOW_LABEL }, /* @__PURE__ */ React58.createElement(import_editor_controls31.ToggleControl, { options: options6 })));
4216
+ return /* @__PURE__ */ React59.createElement(StylesField, { bind: "overflow", propDisplayName: OVERFLOW_LABEL }, /* @__PURE__ */ React59.createElement(StylesFieldLayout, { label: OVERFLOW_LABEL }, /* @__PURE__ */ React59.createElement(import_editor_controls31.ToggleControl, { options: options6 })));
4154
4217
  };
4155
4218
 
4156
4219
  // src/components/style-sections/size-section/size-section.tsx
@@ -4158,52 +4221,52 @@ var CssSizeProps = [
4158
4221
  [
4159
4222
  {
4160
4223
  bind: "width",
4161
- label: (0, import_i18n36.__)("Width", "elementor")
4224
+ label: (0, import_i18n37.__)("Width", "elementor")
4162
4225
  },
4163
4226
  {
4164
4227
  bind: "height",
4165
- label: (0, import_i18n36.__)("Height", "elementor")
4228
+ label: (0, import_i18n37.__)("Height", "elementor")
4166
4229
  }
4167
4230
  ],
4168
4231
  [
4169
4232
  {
4170
4233
  bind: "min-width",
4171
- label: (0, import_i18n36.__)("Min width", "elementor")
4234
+ label: (0, import_i18n37.__)("Min width", "elementor")
4172
4235
  },
4173
4236
  {
4174
4237
  bind: "min-height",
4175
- label: (0, import_i18n36.__)("Min height", "elementor")
4238
+ label: (0, import_i18n37.__)("Min height", "elementor")
4176
4239
  }
4177
4240
  ],
4178
4241
  [
4179
4242
  {
4180
4243
  bind: "max-width",
4181
- label: (0, import_i18n36.__)("Max width", "elementor")
4244
+ label: (0, import_i18n37.__)("Max width", "elementor")
4182
4245
  },
4183
4246
  {
4184
4247
  bind: "max-height",
4185
- label: (0, import_i18n36.__)("Max height", "elementor")
4248
+ label: (0, import_i18n37.__)("Max height", "elementor")
4186
4249
  }
4187
4250
  ]
4188
4251
  ];
4189
- var ASPECT_RATIO_LABEL = (0, import_i18n36.__)("Aspect Ratio", "elementor");
4252
+ var ASPECT_RATIO_LABEL = (0, import_i18n37.__)("Aspect Ratio", "elementor");
4190
4253
  var SizeSection = () => {
4191
4254
  const gridRowRefs = [(0, import_react28.useRef)(null), (0, import_react28.useRef)(null), (0, import_react28.useRef)(null)];
4192
- return /* @__PURE__ */ React59.createElement(SectionContent, null, CssSizeProps.map((row, rowIndex) => /* @__PURE__ */ React59.createElement(import_ui31.Grid, { key: rowIndex, container: true, gap: 2, flexWrap: "nowrap", ref: gridRowRefs[rowIndex] }, row.map((props) => /* @__PURE__ */ React59.createElement(import_ui31.Grid, { item: true, xs: 6, key: props.bind }, /* @__PURE__ */ React59.createElement(SizeField, { ...props, rowRef: gridRowRefs[rowIndex], extendedOptions: ["auto"] }))))), /* @__PURE__ */ React59.createElement(PanelDivider, null), /* @__PURE__ */ React59.createElement(import_ui31.Stack, null, /* @__PURE__ */ React59.createElement(OverflowField, null)), /* @__PURE__ */ React59.createElement(StyleTabCollapsibleContent, { fields: ["aspect-ratio", "object-fit"] }, /* @__PURE__ */ React59.createElement(import_ui31.Stack, { gap: 2, pt: 2 }, /* @__PURE__ */ React59.createElement(StylesField, { bind: "aspect-ratio", propDisplayName: ASPECT_RATIO_LABEL }, /* @__PURE__ */ React59.createElement(import_editor_controls32.AspectRatioControl, { label: ASPECT_RATIO_LABEL })), /* @__PURE__ */ React59.createElement(PanelDivider, null), /* @__PURE__ */ React59.createElement(ObjectFitField, null), /* @__PURE__ */ React59.createElement(StylesField, { bind: "object-position", propDisplayName: (0, import_i18n36.__)("Object position", "elementor") }, /* @__PURE__ */ React59.createElement(import_ui31.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React59.createElement(import_editor_controls32.PositionControl, null))))));
4255
+ return /* @__PURE__ */ React60.createElement(SectionContent, null, CssSizeProps.map((row, rowIndex) => /* @__PURE__ */ React60.createElement(import_ui31.Grid, { key: rowIndex, container: true, gap: 2, flexWrap: "nowrap", ref: gridRowRefs[rowIndex] }, row.map((props) => /* @__PURE__ */ React60.createElement(import_ui31.Grid, { item: true, xs: 6, key: props.bind }, /* @__PURE__ */ React60.createElement(SizeField, { ...props, rowRef: gridRowRefs[rowIndex], extendedOptions: ["auto"] }))))), /* @__PURE__ */ React60.createElement(PanelDivider, null), /* @__PURE__ */ React60.createElement(import_ui31.Stack, null, /* @__PURE__ */ React60.createElement(OverflowField, null)), /* @__PURE__ */ React60.createElement(StyleTabCollapsibleContent, { fields: ["aspect-ratio", "object-fit"] }, /* @__PURE__ */ React60.createElement(import_ui31.Stack, { gap: 2, pt: 2 }, /* @__PURE__ */ React60.createElement(StylesField, { bind: "aspect-ratio", propDisplayName: ASPECT_RATIO_LABEL }, /* @__PURE__ */ React60.createElement(import_editor_controls32.AspectRatioControl, { label: ASPECT_RATIO_LABEL })), /* @__PURE__ */ React60.createElement(PanelDivider, null), /* @__PURE__ */ React60.createElement(ObjectFitField, null), /* @__PURE__ */ React60.createElement(StylesField, { bind: "object-position", propDisplayName: (0, import_i18n37.__)("Object position", "elementor") }, /* @__PURE__ */ React60.createElement(import_ui31.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React60.createElement(import_editor_controls32.PositionControl, null))))));
4193
4256
  };
4194
4257
  var SizeField = ({ label, bind, rowRef, extendedOptions }) => {
4195
- return /* @__PURE__ */ React59.createElement(StylesField, { bind, propDisplayName: label }, /* @__PURE__ */ React59.createElement(import_ui31.Grid, { container: true, gap: 0.75, alignItems: "center" }, /* @__PURE__ */ React59.createElement(import_ui31.Grid, { item: true, xs: 12 }, /* @__PURE__ */ React59.createElement(ControlLabel, null, label)), /* @__PURE__ */ React59.createElement(import_ui31.Grid, { item: true, xs: 12 }, /* @__PURE__ */ React59.createElement(import_editor_controls32.SizeControl, { extendedOptions, anchorRef: rowRef }))));
4258
+ return /* @__PURE__ */ React60.createElement(StylesField, { bind, propDisplayName: label }, /* @__PURE__ */ React60.createElement(import_ui31.Grid, { container: true, gap: 0.75, alignItems: "center" }, /* @__PURE__ */ React60.createElement(import_ui31.Grid, { item: true, xs: 12 }, /* @__PURE__ */ React60.createElement(ControlLabel, null, label)), /* @__PURE__ */ React60.createElement(import_ui31.Grid, { item: true, xs: 12 }, /* @__PURE__ */ React60.createElement(import_editor_controls32.SizeControl, { extendedOptions, anchorRef: rowRef }))));
4196
4259
  };
4197
4260
 
4198
4261
  // src/components/style-sections/spacing-section/spacing-section.tsx
4199
- var React60 = __toESM(require("react"));
4262
+ var React61 = __toESM(require("react"));
4200
4263
  var import_editor_controls33 = require("@elementor/editor-controls");
4201
- var import_i18n37 = require("@wordpress/i18n");
4202
- var MARGIN_LABEL = (0, import_i18n37.__)("Margin", "elementor");
4203
- var PADDING_LABEL = (0, import_i18n37.__)("Padding", "elementor");
4264
+ var import_i18n38 = require("@wordpress/i18n");
4265
+ var MARGIN_LABEL = (0, import_i18n38.__)("Margin", "elementor");
4266
+ var PADDING_LABEL = (0, import_i18n38.__)("Padding", "elementor");
4204
4267
  var SpacingSection = () => {
4205
4268
  const { isSiteRtl } = useDirection();
4206
- return /* @__PURE__ */ React60.createElement(SectionContent, null, /* @__PURE__ */ React60.createElement(StylesField, { bind: "margin", propDisplayName: MARGIN_LABEL }, /* @__PURE__ */ React60.createElement(
4269
+ return /* @__PURE__ */ React61.createElement(SectionContent, null, /* @__PURE__ */ React61.createElement(StylesField, { bind: "margin", propDisplayName: MARGIN_LABEL }, /* @__PURE__ */ React61.createElement(
4207
4270
  import_editor_controls33.LinkedDimensionsControl,
4208
4271
  {
4209
4272
  label: MARGIN_LABEL,
@@ -4211,45 +4274,45 @@ var SpacingSection = () => {
4211
4274
  extendedOptions: ["auto"],
4212
4275
  min: -Number.MAX_SAFE_INTEGER
4213
4276
  }
4214
- )), /* @__PURE__ */ React60.createElement(PanelDivider, null), /* @__PURE__ */ React60.createElement(StylesField, { bind: "padding", propDisplayName: PADDING_LABEL }, /* @__PURE__ */ React60.createElement(import_editor_controls33.LinkedDimensionsControl, { label: PADDING_LABEL, isSiteRtl })));
4277
+ )), /* @__PURE__ */ React61.createElement(PanelDivider, null), /* @__PURE__ */ React61.createElement(StylesField, { bind: "padding", propDisplayName: PADDING_LABEL }, /* @__PURE__ */ React61.createElement(import_editor_controls33.LinkedDimensionsControl, { label: PADDING_LABEL, isSiteRtl })));
4215
4278
  };
4216
4279
 
4217
4280
  // src/components/style-sections/typography-section/typography-section.tsx
4218
- var React77 = __toESM(require("react"));
4281
+ var React78 = __toESM(require("react"));
4219
4282
 
4220
4283
  // src/components/style-sections/typography-section/column-count-field.tsx
4221
- var React61 = __toESM(require("react"));
4284
+ var React62 = __toESM(require("react"));
4222
4285
  var import_editor_controls34 = require("@elementor/editor-controls");
4223
- var import_i18n38 = require("@wordpress/i18n");
4224
- var COLUMN_COUNT_LABEL = (0, import_i18n38.__)("Columns", "elementor");
4286
+ var import_i18n39 = require("@wordpress/i18n");
4287
+ var COLUMN_COUNT_LABEL = (0, import_i18n39.__)("Columns", "elementor");
4225
4288
  var ColumnCountField = () => {
4226
- return /* @__PURE__ */ React61.createElement(StylesField, { bind: "column-count", propDisplayName: COLUMN_COUNT_LABEL }, /* @__PURE__ */ React61.createElement(StylesFieldLayout, { label: COLUMN_COUNT_LABEL }, /* @__PURE__ */ React61.createElement(import_editor_controls34.NumberControl, { shouldForceInt: true, min: 0, step: 1 })));
4289
+ return /* @__PURE__ */ React62.createElement(StylesField, { bind: "column-count", propDisplayName: COLUMN_COUNT_LABEL }, /* @__PURE__ */ React62.createElement(StylesFieldLayout, { label: COLUMN_COUNT_LABEL }, /* @__PURE__ */ React62.createElement(import_editor_controls34.NumberControl, { shouldForceInt: true, min: 0, step: 1 })));
4227
4290
  };
4228
4291
 
4229
4292
  // src/components/style-sections/typography-section/column-gap-field.tsx
4230
- var React62 = __toESM(require("react"));
4293
+ var React63 = __toESM(require("react"));
4231
4294
  var import_react29 = require("react");
4232
4295
  var import_editor_controls35 = require("@elementor/editor-controls");
4233
- var import_i18n39 = require("@wordpress/i18n");
4234
- var COLUMN_GAP_LABEL = (0, import_i18n39.__)("Column gap", "elementor");
4296
+ var import_i18n40 = require("@wordpress/i18n");
4297
+ var COLUMN_GAP_LABEL = (0, import_i18n40.__)("Column gap", "elementor");
4235
4298
  var ColumnGapField = () => {
4236
4299
  const rowRef = (0, import_react29.useRef)(null);
4237
- return /* @__PURE__ */ React62.createElement(StylesField, { bind: "column-gap", propDisplayName: COLUMN_GAP_LABEL }, /* @__PURE__ */ React62.createElement(StylesFieldLayout, { label: COLUMN_GAP_LABEL, ref: rowRef }, /* @__PURE__ */ React62.createElement(import_editor_controls35.SizeControl, { anchorRef: rowRef })));
4300
+ return /* @__PURE__ */ React63.createElement(StylesField, { bind: "column-gap", propDisplayName: COLUMN_GAP_LABEL }, /* @__PURE__ */ React63.createElement(StylesFieldLayout, { label: COLUMN_GAP_LABEL, ref: rowRef }, /* @__PURE__ */ React63.createElement(import_editor_controls35.SizeControl, { anchorRef: rowRef })));
4238
4301
  };
4239
4302
 
4240
4303
  // src/components/style-sections/typography-section/font-family-field.tsx
4241
- var React63 = __toESM(require("react"));
4304
+ var React64 = __toESM(require("react"));
4242
4305
  var import_editor_controls36 = require("@elementor/editor-controls");
4243
- var import_editor_ui6 = require("@elementor/editor-ui");
4244
- var import_i18n40 = require("@wordpress/i18n");
4245
- var FONT_FAMILY_LABEL = (0, import_i18n40.__)("Font family", "elementor");
4306
+ var import_editor_ui7 = require("@elementor/editor-ui");
4307
+ var import_i18n41 = require("@wordpress/i18n");
4308
+ var FONT_FAMILY_LABEL = (0, import_i18n41.__)("Font family", "elementor");
4246
4309
  var FontFamilyField = () => {
4247
4310
  const fontFamilies = (0, import_editor_controls36.useFontFamilies)();
4248
- const sectionWidth = (0, import_editor_ui6.useSectionWidth)();
4311
+ const sectionWidth = (0, import_editor_ui7.useSectionWidth)();
4249
4312
  if (fontFamilies.length === 0) {
4250
4313
  return null;
4251
4314
  }
4252
- return /* @__PURE__ */ React63.createElement(StylesField, { bind: "font-family", propDisplayName: FONT_FAMILY_LABEL }, /* @__PURE__ */ React63.createElement(StylesFieldLayout, { label: FONT_FAMILY_LABEL }, /* @__PURE__ */ React63.createElement(
4315
+ return /* @__PURE__ */ React64.createElement(StylesField, { bind: "font-family", propDisplayName: FONT_FAMILY_LABEL }, /* @__PURE__ */ React64.createElement(StylesFieldLayout, { label: FONT_FAMILY_LABEL }, /* @__PURE__ */ React64.createElement(
4253
4316
  import_editor_controls36.FontFamilyControl,
4254
4317
  {
4255
4318
  fontFamilies,
@@ -4260,196 +4323,196 @@ var FontFamilyField = () => {
4260
4323
  };
4261
4324
 
4262
4325
  // src/components/style-sections/typography-section/font-size-field.tsx
4263
- var React64 = __toESM(require("react"));
4326
+ var React65 = __toESM(require("react"));
4264
4327
  var import_react30 = require("react");
4265
4328
  var import_editor_controls37 = require("@elementor/editor-controls");
4266
- var import_i18n41 = require("@wordpress/i18n");
4267
- var FONT_SIZE_LABEL = (0, import_i18n41.__)("Font size", "elementor");
4329
+ var import_i18n42 = require("@wordpress/i18n");
4330
+ var FONT_SIZE_LABEL = (0, import_i18n42.__)("Font size", "elementor");
4268
4331
  var FontSizeField = () => {
4269
4332
  const rowRef = (0, import_react30.useRef)(null);
4270
- return /* @__PURE__ */ React64.createElement(StylesField, { bind: "font-size", propDisplayName: FONT_SIZE_LABEL }, /* @__PURE__ */ React64.createElement(StylesFieldLayout, { label: FONT_SIZE_LABEL, ref: rowRef }, /* @__PURE__ */ React64.createElement(import_editor_controls37.SizeControl, { anchorRef: rowRef, ariaLabel: FONT_SIZE_LABEL })));
4333
+ return /* @__PURE__ */ React65.createElement(StylesField, { bind: "font-size", propDisplayName: FONT_SIZE_LABEL }, /* @__PURE__ */ React65.createElement(StylesFieldLayout, { label: FONT_SIZE_LABEL, ref: rowRef }, /* @__PURE__ */ React65.createElement(import_editor_controls37.SizeControl, { anchorRef: rowRef, ariaLabel: FONT_SIZE_LABEL })));
4271
4334
  };
4272
4335
 
4273
4336
  // src/components/style-sections/typography-section/font-style-field.tsx
4274
- var React65 = __toESM(require("react"));
4337
+ var React66 = __toESM(require("react"));
4275
4338
  var import_editor_controls38 = require("@elementor/editor-controls");
4276
4339
  var import_icons15 = require("@elementor/icons");
4277
- var import_i18n42 = require("@wordpress/i18n");
4278
- var FONT_STYLE_LABEL = (0, import_i18n42.__)("Font style", "elementor");
4340
+ var import_i18n43 = require("@wordpress/i18n");
4341
+ var FONT_STYLE_LABEL = (0, import_i18n43.__)("Font style", "elementor");
4279
4342
  var options7 = [
4280
4343
  {
4281
4344
  value: "normal",
4282
- label: (0, import_i18n42.__)("Normal", "elementor"),
4283
- renderContent: ({ size }) => /* @__PURE__ */ React65.createElement(import_icons15.MinusIcon, { fontSize: size }),
4345
+ label: (0, import_i18n43.__)("Normal", "elementor"),
4346
+ renderContent: ({ size }) => /* @__PURE__ */ React66.createElement(import_icons15.MinusIcon, { fontSize: size }),
4284
4347
  showTooltip: true
4285
4348
  },
4286
4349
  {
4287
4350
  value: "italic",
4288
- label: (0, import_i18n42.__)("Italic", "elementor"),
4289
- renderContent: ({ size }) => /* @__PURE__ */ React65.createElement(import_icons15.ItalicIcon, { fontSize: size }),
4351
+ label: (0, import_i18n43.__)("Italic", "elementor"),
4352
+ renderContent: ({ size }) => /* @__PURE__ */ React66.createElement(import_icons15.ItalicIcon, { fontSize: size }),
4290
4353
  showTooltip: true
4291
4354
  }
4292
4355
  ];
4293
4356
  var FontStyleField = () => {
4294
- return /* @__PURE__ */ React65.createElement(StylesField, { bind: "font-style", propDisplayName: FONT_STYLE_LABEL }, /* @__PURE__ */ React65.createElement(StylesFieldLayout, { label: FONT_STYLE_LABEL }, /* @__PURE__ */ React65.createElement(import_editor_controls38.ToggleControl, { options: options7 })));
4357
+ return /* @__PURE__ */ React66.createElement(StylesField, { bind: "font-style", propDisplayName: FONT_STYLE_LABEL }, /* @__PURE__ */ React66.createElement(StylesFieldLayout, { label: FONT_STYLE_LABEL }, /* @__PURE__ */ React66.createElement(import_editor_controls38.ToggleControl, { options: options7 })));
4295
4358
  };
4296
4359
 
4297
4360
  // src/components/style-sections/typography-section/font-weight-field.tsx
4298
- var React66 = __toESM(require("react"));
4361
+ var React67 = __toESM(require("react"));
4299
4362
  var import_editor_controls39 = require("@elementor/editor-controls");
4300
- var import_i18n43 = require("@wordpress/i18n");
4301
- var FONT_WEIGHT_LABEL = (0, import_i18n43.__)("Font weight", "elementor");
4363
+ var import_i18n44 = require("@wordpress/i18n");
4364
+ var FONT_WEIGHT_LABEL = (0, import_i18n44.__)("Font weight", "elementor");
4302
4365
  var fontWeightOptions = [
4303
- { value: "100", label: (0, import_i18n43.__)("100 - Thin", "elementor") },
4304
- { value: "200", label: (0, import_i18n43.__)("200 - Extra light", "elementor") },
4305
- { value: "300", label: (0, import_i18n43.__)("300 - Light", "elementor") },
4306
- { value: "400", label: (0, import_i18n43.__)("400 - Normal", "elementor") },
4307
- { value: "500", label: (0, import_i18n43.__)("500 - Medium", "elementor") },
4308
- { value: "600", label: (0, import_i18n43.__)("600 - Semi bold", "elementor") },
4309
- { value: "700", label: (0, import_i18n43.__)("700 - Bold", "elementor") },
4310
- { value: "800", label: (0, import_i18n43.__)("800 - Extra bold", "elementor") },
4311
- { value: "900", label: (0, import_i18n43.__)("900 - Black", "elementor") }
4366
+ { value: "100", label: (0, import_i18n44.__)("100 - Thin", "elementor") },
4367
+ { value: "200", label: (0, import_i18n44.__)("200 - Extra light", "elementor") },
4368
+ { value: "300", label: (0, import_i18n44.__)("300 - Light", "elementor") },
4369
+ { value: "400", label: (0, import_i18n44.__)("400 - Normal", "elementor") },
4370
+ { value: "500", label: (0, import_i18n44.__)("500 - Medium", "elementor") },
4371
+ { value: "600", label: (0, import_i18n44.__)("600 - Semi bold", "elementor") },
4372
+ { value: "700", label: (0, import_i18n44.__)("700 - Bold", "elementor") },
4373
+ { value: "800", label: (0, import_i18n44.__)("800 - Extra bold", "elementor") },
4374
+ { value: "900", label: (0, import_i18n44.__)("900 - Black", "elementor") }
4312
4375
  ];
4313
4376
  var FontWeightField = () => {
4314
- return /* @__PURE__ */ React66.createElement(StylesField, { bind: "font-weight", propDisplayName: FONT_WEIGHT_LABEL }, /* @__PURE__ */ React66.createElement(StylesFieldLayout, { label: FONT_WEIGHT_LABEL }, /* @__PURE__ */ React66.createElement(import_editor_controls39.SelectControl, { options: fontWeightOptions })));
4377
+ return /* @__PURE__ */ React67.createElement(StylesField, { bind: "font-weight", propDisplayName: FONT_WEIGHT_LABEL }, /* @__PURE__ */ React67.createElement(StylesFieldLayout, { label: FONT_WEIGHT_LABEL }, /* @__PURE__ */ React67.createElement(import_editor_controls39.SelectControl, { options: fontWeightOptions })));
4315
4378
  };
4316
4379
 
4317
4380
  // src/components/style-sections/typography-section/letter-spacing-field.tsx
4318
- var React67 = __toESM(require("react"));
4381
+ var React68 = __toESM(require("react"));
4319
4382
  var import_react31 = require("react");
4320
4383
  var import_editor_controls40 = require("@elementor/editor-controls");
4321
- var import_i18n44 = require("@wordpress/i18n");
4322
- var LETTER_SPACING_LABEL = (0, import_i18n44.__)("Letter spacing", "elementor");
4384
+ var import_i18n45 = require("@wordpress/i18n");
4385
+ var LETTER_SPACING_LABEL = (0, import_i18n45.__)("Letter spacing", "elementor");
4323
4386
  var LetterSpacingField = () => {
4324
4387
  const rowRef = (0, import_react31.useRef)(null);
4325
- return /* @__PURE__ */ React67.createElement(StylesField, { bind: "letter-spacing", propDisplayName: LETTER_SPACING_LABEL }, /* @__PURE__ */ React67.createElement(StylesFieldLayout, { label: LETTER_SPACING_LABEL, ref: rowRef }, /* @__PURE__ */ React67.createElement(import_editor_controls40.SizeControl, { anchorRef: rowRef, min: -Number.MAX_SAFE_INTEGER })));
4388
+ return /* @__PURE__ */ React68.createElement(StylesField, { bind: "letter-spacing", propDisplayName: LETTER_SPACING_LABEL }, /* @__PURE__ */ React68.createElement(StylesFieldLayout, { label: LETTER_SPACING_LABEL, ref: rowRef }, /* @__PURE__ */ React68.createElement(import_editor_controls40.SizeControl, { anchorRef: rowRef, min: -Number.MAX_SAFE_INTEGER })));
4326
4389
  };
4327
4390
 
4328
4391
  // src/components/style-sections/typography-section/line-height-field.tsx
4329
- var React68 = __toESM(require("react"));
4392
+ var React69 = __toESM(require("react"));
4330
4393
  var import_react32 = require("react");
4331
4394
  var import_editor_controls41 = require("@elementor/editor-controls");
4332
- var import_i18n45 = require("@wordpress/i18n");
4333
- var LINE_HEIGHT_LABEL = (0, import_i18n45.__)("Line height", "elementor");
4395
+ var import_i18n46 = require("@wordpress/i18n");
4396
+ var LINE_HEIGHT_LABEL = (0, import_i18n46.__)("Line height", "elementor");
4334
4397
  var LineHeightField = () => {
4335
4398
  const rowRef = (0, import_react32.useRef)(null);
4336
- return /* @__PURE__ */ React68.createElement(StylesField, { bind: "line-height", propDisplayName: LINE_HEIGHT_LABEL }, /* @__PURE__ */ React68.createElement(StylesFieldLayout, { label: LINE_HEIGHT_LABEL, ref: rowRef }, /* @__PURE__ */ React68.createElement(import_editor_controls41.SizeControl, { anchorRef: rowRef })));
4399
+ return /* @__PURE__ */ React69.createElement(StylesField, { bind: "line-height", propDisplayName: LINE_HEIGHT_LABEL }, /* @__PURE__ */ React69.createElement(StylesFieldLayout, { label: LINE_HEIGHT_LABEL, ref: rowRef }, /* @__PURE__ */ React69.createElement(import_editor_controls41.SizeControl, { anchorRef: rowRef })));
4337
4400
  };
4338
4401
 
4339
4402
  // src/components/style-sections/typography-section/text-alignment-field.tsx
4340
- var React69 = __toESM(require("react"));
4403
+ var React70 = __toESM(require("react"));
4341
4404
  var import_editor_controls42 = require("@elementor/editor-controls");
4342
4405
  var import_icons16 = require("@elementor/icons");
4343
4406
  var import_ui32 = require("@elementor/ui");
4344
- var import_i18n46 = require("@wordpress/i18n");
4345
- var TEXT_ALIGNMENT_LABEL = (0, import_i18n46.__)("Text align", "elementor");
4407
+ var import_i18n47 = require("@wordpress/i18n");
4408
+ var TEXT_ALIGNMENT_LABEL = (0, import_i18n47.__)("Text align", "elementor");
4346
4409
  var AlignStartIcon = (0, import_ui32.withDirection)(import_icons16.AlignLeftIcon);
4347
4410
  var AlignEndIcon = (0, import_ui32.withDirection)(import_icons16.AlignRightIcon);
4348
4411
  var options8 = [
4349
4412
  {
4350
4413
  value: "start",
4351
- label: (0, import_i18n46.__)("Start", "elementor"),
4352
- renderContent: ({ size }) => /* @__PURE__ */ React69.createElement(AlignStartIcon, { fontSize: size }),
4414
+ label: (0, import_i18n47.__)("Start", "elementor"),
4415
+ renderContent: ({ size }) => /* @__PURE__ */ React70.createElement(AlignStartIcon, { fontSize: size }),
4353
4416
  showTooltip: true
4354
4417
  },
4355
4418
  {
4356
4419
  value: "center",
4357
- label: (0, import_i18n46.__)("Center", "elementor"),
4358
- renderContent: ({ size }) => /* @__PURE__ */ React69.createElement(import_icons16.AlignCenterIcon, { fontSize: size }),
4420
+ label: (0, import_i18n47.__)("Center", "elementor"),
4421
+ renderContent: ({ size }) => /* @__PURE__ */ React70.createElement(import_icons16.AlignCenterIcon, { fontSize: size }),
4359
4422
  showTooltip: true
4360
4423
  },
4361
4424
  {
4362
4425
  value: "end",
4363
- label: (0, import_i18n46.__)("End", "elementor"),
4364
- renderContent: ({ size }) => /* @__PURE__ */ React69.createElement(AlignEndIcon, { fontSize: size }),
4426
+ label: (0, import_i18n47.__)("End", "elementor"),
4427
+ renderContent: ({ size }) => /* @__PURE__ */ React70.createElement(AlignEndIcon, { fontSize: size }),
4365
4428
  showTooltip: true
4366
4429
  },
4367
4430
  {
4368
4431
  value: "justify",
4369
- label: (0, import_i18n46.__)("Justify", "elementor"),
4370
- renderContent: ({ size }) => /* @__PURE__ */ React69.createElement(import_icons16.AlignJustifiedIcon, { fontSize: size }),
4432
+ label: (0, import_i18n47.__)("Justify", "elementor"),
4433
+ renderContent: ({ size }) => /* @__PURE__ */ React70.createElement(import_icons16.AlignJustifiedIcon, { fontSize: size }),
4371
4434
  showTooltip: true
4372
4435
  }
4373
4436
  ];
4374
4437
  var TextAlignmentField = () => {
4375
- return /* @__PURE__ */ React69.createElement(StylesField, { bind: "text-align", propDisplayName: TEXT_ALIGNMENT_LABEL }, /* @__PURE__ */ React69.createElement(UiProviders, null, /* @__PURE__ */ React69.createElement(StylesFieldLayout, { label: TEXT_ALIGNMENT_LABEL }, /* @__PURE__ */ React69.createElement(import_editor_controls42.ToggleControl, { options: options8 }))));
4438
+ return /* @__PURE__ */ React70.createElement(StylesField, { bind: "text-align", propDisplayName: TEXT_ALIGNMENT_LABEL }, /* @__PURE__ */ React70.createElement(UiProviders, null, /* @__PURE__ */ React70.createElement(StylesFieldLayout, { label: TEXT_ALIGNMENT_LABEL }, /* @__PURE__ */ React70.createElement(import_editor_controls42.ToggleControl, { options: options8 }))));
4376
4439
  };
4377
4440
 
4378
4441
  // src/components/style-sections/typography-section/text-color-field.tsx
4379
- var React70 = __toESM(require("react"));
4442
+ var React71 = __toESM(require("react"));
4380
4443
  var import_editor_controls43 = require("@elementor/editor-controls");
4381
- var import_i18n47 = require("@wordpress/i18n");
4382
- var TEXT_COLOR_LABEL = (0, import_i18n47.__)("Text color", "elementor");
4444
+ var import_i18n48 = require("@wordpress/i18n");
4445
+ var TEXT_COLOR_LABEL = (0, import_i18n48.__)("Text color", "elementor");
4383
4446
  var TextColorField = () => {
4384
- return /* @__PURE__ */ React70.createElement(StylesField, { bind: "color", propDisplayName: TEXT_COLOR_LABEL }, /* @__PURE__ */ React70.createElement(StylesFieldLayout, { label: TEXT_COLOR_LABEL }, /* @__PURE__ */ React70.createElement(import_editor_controls43.ColorControl, { id: "text-color-control" })));
4447
+ return /* @__PURE__ */ React71.createElement(StylesField, { bind: "color", propDisplayName: TEXT_COLOR_LABEL }, /* @__PURE__ */ React71.createElement(StylesFieldLayout, { label: TEXT_COLOR_LABEL }, /* @__PURE__ */ React71.createElement(import_editor_controls43.ColorControl, { id: "text-color-control" })));
4385
4448
  };
4386
4449
 
4387
4450
  // src/components/style-sections/typography-section/text-decoration-field.tsx
4388
- var React71 = __toESM(require("react"));
4451
+ var React72 = __toESM(require("react"));
4389
4452
  var import_editor_controls44 = require("@elementor/editor-controls");
4390
4453
  var import_icons17 = require("@elementor/icons");
4391
- var import_i18n48 = require("@wordpress/i18n");
4392
- var TEXT_DECORATION_LABEL = (0, import_i18n48.__)("Line decoration", "elementor");
4454
+ var import_i18n49 = require("@wordpress/i18n");
4455
+ var TEXT_DECORATION_LABEL = (0, import_i18n49.__)("Line decoration", "elementor");
4393
4456
  var options9 = [
4394
4457
  {
4395
4458
  value: "none",
4396
- label: (0, import_i18n48.__)("None", "elementor"),
4397
- renderContent: ({ size }) => /* @__PURE__ */ React71.createElement(import_icons17.MinusIcon, { fontSize: size }),
4459
+ label: (0, import_i18n49.__)("None", "elementor"),
4460
+ renderContent: ({ size }) => /* @__PURE__ */ React72.createElement(import_icons17.MinusIcon, { fontSize: size }),
4398
4461
  showTooltip: true,
4399
4462
  exclusive: true
4400
4463
  },
4401
4464
  {
4402
4465
  value: "underline",
4403
- label: (0, import_i18n48.__)("Underline", "elementor"),
4404
- renderContent: ({ size }) => /* @__PURE__ */ React71.createElement(import_icons17.UnderlineIcon, { fontSize: size }),
4466
+ label: (0, import_i18n49.__)("Underline", "elementor"),
4467
+ renderContent: ({ size }) => /* @__PURE__ */ React72.createElement(import_icons17.UnderlineIcon, { fontSize: size }),
4405
4468
  showTooltip: true
4406
4469
  },
4407
4470
  {
4408
4471
  value: "line-through",
4409
- label: (0, import_i18n48.__)("Line-through", "elementor"),
4410
- renderContent: ({ size }) => /* @__PURE__ */ React71.createElement(import_icons17.StrikethroughIcon, { fontSize: size }),
4472
+ label: (0, import_i18n49.__)("Line-through", "elementor"),
4473
+ renderContent: ({ size }) => /* @__PURE__ */ React72.createElement(import_icons17.StrikethroughIcon, { fontSize: size }),
4411
4474
  showTooltip: true
4412
4475
  },
4413
4476
  {
4414
4477
  value: "overline",
4415
- label: (0, import_i18n48.__)("Overline", "elementor"),
4416
- renderContent: ({ size }) => /* @__PURE__ */ React71.createElement(import_icons17.OverlineIcon, { fontSize: size }),
4478
+ label: (0, import_i18n49.__)("Overline", "elementor"),
4479
+ renderContent: ({ size }) => /* @__PURE__ */ React72.createElement(import_icons17.OverlineIcon, { fontSize: size }),
4417
4480
  showTooltip: true
4418
4481
  }
4419
4482
  ];
4420
- var TextDecorationField = () => /* @__PURE__ */ React71.createElement(StylesField, { bind: "text-decoration", propDisplayName: TEXT_DECORATION_LABEL }, /* @__PURE__ */ React71.createElement(StylesFieldLayout, { label: TEXT_DECORATION_LABEL }, /* @__PURE__ */ React71.createElement(import_editor_controls44.ToggleControl, { options: options9, exclusive: false })));
4483
+ var TextDecorationField = () => /* @__PURE__ */ React72.createElement(StylesField, { bind: "text-decoration", propDisplayName: TEXT_DECORATION_LABEL }, /* @__PURE__ */ React72.createElement(StylesFieldLayout, { label: TEXT_DECORATION_LABEL }, /* @__PURE__ */ React72.createElement(import_editor_controls44.ToggleControl, { options: options9, exclusive: false })));
4421
4484
 
4422
4485
  // src/components/style-sections/typography-section/text-direction-field.tsx
4423
- var React72 = __toESM(require("react"));
4486
+ var React73 = __toESM(require("react"));
4424
4487
  var import_editor_controls45 = require("@elementor/editor-controls");
4425
4488
  var import_icons18 = require("@elementor/icons");
4426
- var import_i18n49 = require("@wordpress/i18n");
4427
- var TEXT_DIRECTION_LABEL = (0, import_i18n49.__)("Direction", "elementor");
4489
+ var import_i18n50 = require("@wordpress/i18n");
4490
+ var TEXT_DIRECTION_LABEL = (0, import_i18n50.__)("Direction", "elementor");
4428
4491
  var options10 = [
4429
4492
  {
4430
4493
  value: "ltr",
4431
- label: (0, import_i18n49.__)("Left to right", "elementor"),
4432
- renderContent: ({ size }) => /* @__PURE__ */ React72.createElement(import_icons18.TextDirectionLtrIcon, { fontSize: size }),
4494
+ label: (0, import_i18n50.__)("Left to right", "elementor"),
4495
+ renderContent: ({ size }) => /* @__PURE__ */ React73.createElement(import_icons18.TextDirectionLtrIcon, { fontSize: size }),
4433
4496
  showTooltip: true
4434
4497
  },
4435
4498
  {
4436
4499
  value: "rtl",
4437
- label: (0, import_i18n49.__)("Right to left", "elementor"),
4438
- renderContent: ({ size }) => /* @__PURE__ */ React72.createElement(import_icons18.TextDirectionRtlIcon, { fontSize: size }),
4500
+ label: (0, import_i18n50.__)("Right to left", "elementor"),
4501
+ renderContent: ({ size }) => /* @__PURE__ */ React73.createElement(import_icons18.TextDirectionRtlIcon, { fontSize: size }),
4439
4502
  showTooltip: true
4440
4503
  }
4441
4504
  ];
4442
4505
  var TextDirectionField = () => {
4443
- return /* @__PURE__ */ React72.createElement(StylesField, { bind: "direction", propDisplayName: TEXT_DIRECTION_LABEL }, /* @__PURE__ */ React72.createElement(StylesFieldLayout, { label: TEXT_DIRECTION_LABEL }, /* @__PURE__ */ React72.createElement(import_editor_controls45.ToggleControl, { options: options10 })));
4506
+ return /* @__PURE__ */ React73.createElement(StylesField, { bind: "direction", propDisplayName: TEXT_DIRECTION_LABEL }, /* @__PURE__ */ React73.createElement(StylesFieldLayout, { label: TEXT_DIRECTION_LABEL }, /* @__PURE__ */ React73.createElement(import_editor_controls45.ToggleControl, { options: options10 })));
4444
4507
  };
4445
4508
 
4446
4509
  // src/components/style-sections/typography-section/text-stroke-field.tsx
4447
- var React74 = __toESM(require("react"));
4510
+ var React75 = __toESM(require("react"));
4448
4511
  var import_editor_controls46 = require("@elementor/editor-controls");
4449
- var import_i18n50 = require("@wordpress/i18n");
4512
+ var import_i18n51 = require("@wordpress/i18n");
4450
4513
 
4451
4514
  // src/components/add-or-remove-content.tsx
4452
- var React73 = __toESM(require("react"));
4515
+ var React74 = __toESM(require("react"));
4453
4516
  var import_icons19 = require("@elementor/icons");
4454
4517
  var import_ui33 = require("@elementor/ui");
4455
4518
  var SIZE = "tiny";
@@ -4461,7 +4524,7 @@ var AddOrRemoveContent = ({
4461
4524
  disabled,
4462
4525
  renderLabel
4463
4526
  }) => {
4464
- return /* @__PURE__ */ React73.createElement(SectionContent, null, /* @__PURE__ */ React73.createElement(
4527
+ return /* @__PURE__ */ React74.createElement(SectionContent, null, /* @__PURE__ */ React74.createElement(
4465
4528
  import_ui33.Stack,
4466
4529
  {
4467
4530
  direction: "row",
@@ -4472,8 +4535,8 @@ var AddOrRemoveContent = ({
4472
4535
  }
4473
4536
  },
4474
4537
  renderLabel(),
4475
- isAdded ? /* @__PURE__ */ React73.createElement(import_ui33.IconButton, { size: SIZE, onClick: onRemove, "aria-label": "Remove", disabled }, /* @__PURE__ */ React73.createElement(import_icons19.MinusIcon, { fontSize: SIZE })) : /* @__PURE__ */ React73.createElement(import_ui33.IconButton, { size: SIZE, onClick: onAdd, "aria-label": "Add", disabled }, /* @__PURE__ */ React73.createElement(import_icons19.PlusIcon, { fontSize: SIZE }))
4476
- ), /* @__PURE__ */ React73.createElement(import_ui33.Collapse, { in: isAdded, unmountOnExit: true }, /* @__PURE__ */ React73.createElement(SectionContent, null, children)));
4538
+ isAdded ? /* @__PURE__ */ React74.createElement(import_ui33.IconButton, { size: SIZE, onClick: onRemove, "aria-label": "Remove", disabled }, /* @__PURE__ */ React74.createElement(import_icons19.MinusIcon, { fontSize: SIZE })) : /* @__PURE__ */ React74.createElement(import_ui33.IconButton, { size: SIZE, onClick: onAdd, "aria-label": "Add", disabled }, /* @__PURE__ */ React74.createElement(import_icons19.PlusIcon, { fontSize: SIZE }))
4539
+ ), /* @__PURE__ */ React74.createElement(import_ui33.Collapse, { in: isAdded, unmountOnExit: true }, /* @__PURE__ */ React74.createElement(SectionContent, null, children)));
4477
4540
  };
4478
4541
 
4479
4542
  // src/components/style-sections/typography-section/text-stroke-field.tsx
@@ -4493,7 +4556,7 @@ var initTextStroke = {
4493
4556
  }
4494
4557
  }
4495
4558
  };
4496
- var TEXT_STROKE_LABEL = (0, import_i18n50.__)("Text stroke", "elementor");
4559
+ var TEXT_STROKE_LABEL = (0, import_i18n51.__)("Text stroke", "elementor");
4497
4560
  var TextStrokeField = () => {
4498
4561
  const { value, setValue, canEdit } = useStylesField("stroke", {
4499
4562
  history: { propDisplayName: TEXT_STROKE_LABEL }
@@ -4505,67 +4568,67 @@ var TextStrokeField = () => {
4505
4568
  setValue(null);
4506
4569
  };
4507
4570
  const hasTextStroke = Boolean(value);
4508
- return /* @__PURE__ */ React74.createElement(StylesField, { bind: "stroke", propDisplayName: TEXT_STROKE_LABEL }, /* @__PURE__ */ React74.createElement(
4571
+ return /* @__PURE__ */ React75.createElement(StylesField, { bind: "stroke", propDisplayName: TEXT_STROKE_LABEL }, /* @__PURE__ */ React75.createElement(
4509
4572
  AddOrRemoveContent,
4510
4573
  {
4511
4574
  isAdded: hasTextStroke,
4512
4575
  onAdd: addTextStroke,
4513
4576
  onRemove: removeTextStroke,
4514
4577
  disabled: !canEdit,
4515
- renderLabel: () => /* @__PURE__ */ React74.createElement(ControlLabel, null, TEXT_STROKE_LABEL)
4578
+ renderLabel: () => /* @__PURE__ */ React75.createElement(ControlLabel, null, TEXT_STROKE_LABEL)
4516
4579
  },
4517
- /* @__PURE__ */ React74.createElement(import_editor_controls46.StrokeControl, null)
4580
+ /* @__PURE__ */ React75.createElement(import_editor_controls46.StrokeControl, null)
4518
4581
  ));
4519
4582
  };
4520
4583
 
4521
4584
  // src/components/style-sections/typography-section/transform-field.tsx
4522
- var React75 = __toESM(require("react"));
4585
+ var React76 = __toESM(require("react"));
4523
4586
  var import_editor_controls47 = require("@elementor/editor-controls");
4524
4587
  var import_icons20 = require("@elementor/icons");
4525
- var import_i18n51 = require("@wordpress/i18n");
4526
- var TEXT_TRANSFORM_LABEL = (0, import_i18n51.__)("Text transform", "elementor");
4588
+ var import_i18n52 = require("@wordpress/i18n");
4589
+ var TEXT_TRANSFORM_LABEL = (0, import_i18n52.__)("Text transform", "elementor");
4527
4590
  var options11 = [
4528
4591
  {
4529
4592
  value: "none",
4530
- label: (0, import_i18n51.__)("None", "elementor"),
4531
- renderContent: ({ size }) => /* @__PURE__ */ React75.createElement(import_icons20.MinusIcon, { fontSize: size }),
4593
+ label: (0, import_i18n52.__)("None", "elementor"),
4594
+ renderContent: ({ size }) => /* @__PURE__ */ React76.createElement(import_icons20.MinusIcon, { fontSize: size }),
4532
4595
  showTooltip: true
4533
4596
  },
4534
4597
  {
4535
4598
  value: "capitalize",
4536
- label: (0, import_i18n51.__)("Capitalize", "elementor"),
4537
- renderContent: ({ size }) => /* @__PURE__ */ React75.createElement(import_icons20.LetterCaseIcon, { fontSize: size }),
4599
+ label: (0, import_i18n52.__)("Capitalize", "elementor"),
4600
+ renderContent: ({ size }) => /* @__PURE__ */ React76.createElement(import_icons20.LetterCaseIcon, { fontSize: size }),
4538
4601
  showTooltip: true
4539
4602
  },
4540
4603
  {
4541
4604
  value: "uppercase",
4542
- label: (0, import_i18n51.__)("Uppercase", "elementor"),
4543
- renderContent: ({ size }) => /* @__PURE__ */ React75.createElement(import_icons20.LetterCaseUpperIcon, { fontSize: size }),
4605
+ label: (0, import_i18n52.__)("Uppercase", "elementor"),
4606
+ renderContent: ({ size }) => /* @__PURE__ */ React76.createElement(import_icons20.LetterCaseUpperIcon, { fontSize: size }),
4544
4607
  showTooltip: true
4545
4608
  },
4546
4609
  {
4547
4610
  value: "lowercase",
4548
- label: (0, import_i18n51.__)("Lowercase", "elementor"),
4549
- renderContent: ({ size }) => /* @__PURE__ */ React75.createElement(import_icons20.LetterCaseLowerIcon, { fontSize: size }),
4611
+ label: (0, import_i18n52.__)("Lowercase", "elementor"),
4612
+ renderContent: ({ size }) => /* @__PURE__ */ React76.createElement(import_icons20.LetterCaseLowerIcon, { fontSize: size }),
4550
4613
  showTooltip: true
4551
4614
  }
4552
4615
  ];
4553
- var TransformField = () => /* @__PURE__ */ React75.createElement(StylesField, { bind: "text-transform", propDisplayName: TEXT_TRANSFORM_LABEL }, /* @__PURE__ */ React75.createElement(StylesFieldLayout, { label: TEXT_TRANSFORM_LABEL }, /* @__PURE__ */ React75.createElement(import_editor_controls47.ToggleControl, { options: options11 })));
4616
+ var TransformField = () => /* @__PURE__ */ React76.createElement(StylesField, { bind: "text-transform", propDisplayName: TEXT_TRANSFORM_LABEL }, /* @__PURE__ */ React76.createElement(StylesFieldLayout, { label: TEXT_TRANSFORM_LABEL }, /* @__PURE__ */ React76.createElement(import_editor_controls47.ToggleControl, { options: options11 })));
4554
4617
 
4555
4618
  // src/components/style-sections/typography-section/word-spacing-field.tsx
4556
- var React76 = __toESM(require("react"));
4619
+ var React77 = __toESM(require("react"));
4557
4620
  var import_react33 = require("react");
4558
4621
  var import_editor_controls48 = require("@elementor/editor-controls");
4559
- var import_i18n52 = require("@wordpress/i18n");
4560
- var WORD_SPACING_LABEL = (0, import_i18n52.__)("Word spacing", "elementor");
4622
+ var import_i18n53 = require("@wordpress/i18n");
4623
+ var WORD_SPACING_LABEL = (0, import_i18n53.__)("Word spacing", "elementor");
4561
4624
  var WordSpacingField = () => {
4562
4625
  const rowRef = (0, import_react33.useRef)(null);
4563
- return /* @__PURE__ */ React76.createElement(StylesField, { bind: "word-spacing", propDisplayName: WORD_SPACING_LABEL }, /* @__PURE__ */ React76.createElement(StylesFieldLayout, { label: WORD_SPACING_LABEL, ref: rowRef }, /* @__PURE__ */ React76.createElement(import_editor_controls48.SizeControl, { anchorRef: rowRef, min: -Number.MAX_SAFE_INTEGER })));
4626
+ return /* @__PURE__ */ React77.createElement(StylesField, { bind: "word-spacing", propDisplayName: WORD_SPACING_LABEL }, /* @__PURE__ */ React77.createElement(StylesFieldLayout, { label: WORD_SPACING_LABEL, ref: rowRef }, /* @__PURE__ */ React77.createElement(import_editor_controls48.SizeControl, { anchorRef: rowRef, min: -Number.MAX_SAFE_INTEGER })));
4564
4627
  };
4565
4628
 
4566
4629
  // src/components/style-sections/typography-section/typography-section.tsx
4567
4630
  var TypographySection = () => {
4568
- return /* @__PURE__ */ React77.createElement(SectionContent, null, /* @__PURE__ */ React77.createElement(FontFamilyField, null), /* @__PURE__ */ React77.createElement(FontWeightField, null), /* @__PURE__ */ React77.createElement(FontSizeField, null), /* @__PURE__ */ React77.createElement(PanelDivider, null), /* @__PURE__ */ React77.createElement(TextAlignmentField, null), /* @__PURE__ */ React77.createElement(TextColorField, null), /* @__PURE__ */ React77.createElement(
4631
+ return /* @__PURE__ */ React78.createElement(SectionContent, null, /* @__PURE__ */ React78.createElement(FontFamilyField, null), /* @__PURE__ */ React78.createElement(FontWeightField, null), /* @__PURE__ */ React78.createElement(FontSizeField, null), /* @__PURE__ */ React78.createElement(PanelDivider, null), /* @__PURE__ */ React78.createElement(TextAlignmentField, null), /* @__PURE__ */ React78.createElement(TextColorField, null), /* @__PURE__ */ React78.createElement(
4569
4632
  StyleTabCollapsibleContent,
4570
4633
  {
4571
4634
  fields: [
@@ -4580,18 +4643,18 @@ var TypographySection = () => {
4580
4643
  "stroke"
4581
4644
  ]
4582
4645
  },
4583
- /* @__PURE__ */ React77.createElement(SectionContent, { sx: { pt: 2 } }, /* @__PURE__ */ React77.createElement(LineHeightField, null), /* @__PURE__ */ React77.createElement(LetterSpacingField, null), /* @__PURE__ */ React77.createElement(WordSpacingField, null), /* @__PURE__ */ React77.createElement(ColumnCountField, null), /* @__PURE__ */ React77.createElement(ColumnGapField, null), /* @__PURE__ */ React77.createElement(PanelDivider, null), /* @__PURE__ */ React77.createElement(TextDecorationField, null), /* @__PURE__ */ React77.createElement(TransformField, null), /* @__PURE__ */ React77.createElement(TextDirectionField, null), /* @__PURE__ */ React77.createElement(FontStyleField, null), /* @__PURE__ */ React77.createElement(TextStrokeField, null))
4646
+ /* @__PURE__ */ React78.createElement(SectionContent, { sx: { pt: 2 } }, /* @__PURE__ */ React78.createElement(LineHeightField, null), /* @__PURE__ */ React78.createElement(LetterSpacingField, null), /* @__PURE__ */ React78.createElement(WordSpacingField, null), /* @__PURE__ */ React78.createElement(ColumnCountField, null), /* @__PURE__ */ React78.createElement(ColumnGapField, null), /* @__PURE__ */ React78.createElement(PanelDivider, null), /* @__PURE__ */ React78.createElement(TextDecorationField, null), /* @__PURE__ */ React78.createElement(TransformField, null), /* @__PURE__ */ React78.createElement(TextDirectionField, null), /* @__PURE__ */ React78.createElement(FontStyleField, null), /* @__PURE__ */ React78.createElement(TextStrokeField, null))
4584
4647
  ));
4585
4648
  };
4586
4649
 
4587
4650
  // src/components/style-tab-section.tsx
4588
- var React78 = __toESM(require("react"));
4651
+ var React79 = __toESM(require("react"));
4589
4652
  var StyleTabSection = ({ section, fields = [], unmountOnExit = true }) => {
4590
4653
  const { component, name, title, action } = section;
4591
4654
  const tabDefaults = useDefaultPanelSettings();
4592
- const SectionComponent = component || (() => /* @__PURE__ */ React78.createElement(React78.Fragment, null));
4655
+ const SectionComponent = component || (() => /* @__PURE__ */ React79.createElement(React79.Fragment, null));
4593
4656
  const isExpanded = tabDefaults.defaultSectionsExpanded.style?.includes(name);
4594
- return /* @__PURE__ */ React78.createElement(
4657
+ return /* @__PURE__ */ React79.createElement(
4595
4658
  Section,
4596
4659
  {
4597
4660
  title,
@@ -4600,7 +4663,7 @@ var StyleTabSection = ({ section, fields = [], unmountOnExit = true }) => {
4600
4663
  unmountOnExit,
4601
4664
  action
4602
4665
  },
4603
- /* @__PURE__ */ React78.createElement(SectionComponent, null)
4666
+ /* @__PURE__ */ React79.createElement(SectionComponent, null)
4604
4667
  );
4605
4668
  };
4606
4669
 
@@ -4622,7 +4685,7 @@ var StyleTab = () => {
4622
4685
  if (!currentClassesProp) {
4623
4686
  return null;
4624
4687
  }
4625
- return /* @__PURE__ */ React79.createElement(ClassesPropProvider, { prop: currentClassesProp }, /* @__PURE__ */ React79.createElement(
4688
+ return /* @__PURE__ */ React80.createElement(ClassesPropProvider, { prop: currentClassesProp }, /* @__PURE__ */ React80.createElement(
4626
4689
  StyleProvider,
4627
4690
  {
4628
4691
  meta: { breakpoint, state: activeStyleState },
@@ -4633,13 +4696,13 @@ var StyleTab = () => {
4633
4696
  },
4634
4697
  setMetaState: setActiveStyleState
4635
4698
  },
4636
- /* @__PURE__ */ React79.createElement(import_session7.SessionStorageProvider, { prefix: activeStyleDefId ?? "" }, /* @__PURE__ */ React79.createElement(StyleInheritanceProvider, null, /* @__PURE__ */ React79.createElement(ClassesHeader, null, /* @__PURE__ */ React79.createElement(CssClassSelector, null), /* @__PURE__ */ React79.createElement(import_ui34.Divider, null)), /* @__PURE__ */ React79.createElement(SectionsList, null, /* @__PURE__ */ React79.createElement(
4699
+ /* @__PURE__ */ React80.createElement(import_session8.SessionStorageProvider, { prefix: activeStyleDefId ?? "" }, /* @__PURE__ */ React80.createElement(StyleInheritanceProvider, null, /* @__PURE__ */ React80.createElement(ClassesHeader, null, /* @__PURE__ */ React80.createElement(CssClassSelector, null), /* @__PURE__ */ React80.createElement(import_ui34.Divider, null)), /* @__PURE__ */ React80.createElement(SectionsList, null, /* @__PURE__ */ React80.createElement(
4637
4700
  StyleTabSection,
4638
4701
  {
4639
4702
  section: {
4640
4703
  component: LayoutSection,
4641
4704
  name: "Layout",
4642
- title: (0, import_i18n53.__)("Layout", "elementor")
4705
+ title: (0, import_i18n54.__)("Layout", "elementor")
4643
4706
  },
4644
4707
  fields: [
4645
4708
  "display",
@@ -4652,23 +4715,23 @@ var StyleTab = () => {
4652
4715
  "gap"
4653
4716
  ]
4654
4717
  }
4655
- ), /* @__PURE__ */ React79.createElement(
4718
+ ), /* @__PURE__ */ React80.createElement(
4656
4719
  StyleTabSection,
4657
4720
  {
4658
4721
  section: {
4659
4722
  component: SpacingSection,
4660
4723
  name: "Spacing",
4661
- title: (0, import_i18n53.__)("Spacing", "elementor")
4724
+ title: (0, import_i18n54.__)("Spacing", "elementor")
4662
4725
  },
4663
4726
  fields: ["margin", "padding"]
4664
4727
  }
4665
- ), /* @__PURE__ */ React79.createElement(
4728
+ ), /* @__PURE__ */ React80.createElement(
4666
4729
  StyleTabSection,
4667
4730
  {
4668
4731
  section: {
4669
4732
  component: SizeSection,
4670
4733
  name: "Size",
4671
- title: (0, import_i18n53.__)("Size", "elementor")
4734
+ title: (0, import_i18n54.__)("Size", "elementor")
4672
4735
  },
4673
4736
  fields: [
4674
4737
  "width",
@@ -4682,23 +4745,23 @@ var StyleTab = () => {
4682
4745
  "object-fit"
4683
4746
  ]
4684
4747
  }
4685
- ), /* @__PURE__ */ React79.createElement(
4748
+ ), /* @__PURE__ */ React80.createElement(
4686
4749
  StyleTabSection,
4687
4750
  {
4688
4751
  section: {
4689
4752
  component: PositionSection,
4690
4753
  name: "Position",
4691
- title: (0, import_i18n53.__)("Position", "elementor")
4754
+ title: (0, import_i18n54.__)("Position", "elementor")
4692
4755
  },
4693
4756
  fields: ["position", "z-index", "scroll-margin-top"]
4694
4757
  }
4695
- ), /* @__PURE__ */ React79.createElement(
4758
+ ), /* @__PURE__ */ React80.createElement(
4696
4759
  StyleTabSection,
4697
4760
  {
4698
4761
  section: {
4699
4762
  component: TypographySection,
4700
4763
  name: "Typography",
4701
- title: (0, import_i18n53.__)("Typography", "elementor")
4764
+ title: (0, import_i18n54.__)("Typography", "elementor")
4702
4765
  },
4703
4766
  fields: [
4704
4767
  "font-family",
@@ -4717,33 +4780,33 @@ var StyleTab = () => {
4717
4780
  "stroke"
4718
4781
  ]
4719
4782
  }
4720
- ), /* @__PURE__ */ React79.createElement(
4783
+ ), /* @__PURE__ */ React80.createElement(
4721
4784
  StyleTabSection,
4722
4785
  {
4723
4786
  section: {
4724
4787
  component: BackgroundSection,
4725
4788
  name: "Background",
4726
- title: (0, import_i18n53.__)("Background", "elementor")
4789
+ title: (0, import_i18n54.__)("Background", "elementor")
4727
4790
  },
4728
4791
  fields: ["background"]
4729
4792
  }
4730
- ), /* @__PURE__ */ React79.createElement(
4793
+ ), /* @__PURE__ */ React80.createElement(
4731
4794
  StyleTabSection,
4732
4795
  {
4733
4796
  section: {
4734
4797
  component: BorderSection,
4735
4798
  name: "Border",
4736
- title: (0, import_i18n53.__)("Border", "elementor")
4799
+ title: (0, import_i18n54.__)("Border", "elementor")
4737
4800
  },
4738
4801
  fields: ["border-radius", "border-width", "border-color", "border-style"]
4739
4802
  }
4740
- ), /* @__PURE__ */ React79.createElement(
4803
+ ), /* @__PURE__ */ React80.createElement(
4741
4804
  StyleTabSection,
4742
4805
  {
4743
4806
  section: {
4744
4807
  component: EffectsSection,
4745
4808
  name: "Effects",
4746
- title: (0, import_i18n53.__)("Effects", "elementor")
4809
+ title: (0, import_i18n54.__)("Effects", "elementor")
4747
4810
  },
4748
4811
  fields: [
4749
4812
  "mix-blend-mode",
@@ -4756,12 +4819,12 @@ var StyleTab = () => {
4756
4819
  "transition"
4757
4820
  ]
4758
4821
  }
4759
- ), /* @__PURE__ */ React79.createElement(StyleTabSlot, null)), /* @__PURE__ */ React79.createElement(import_ui34.Box, { sx: { height: "150px" } })))
4822
+ ), /* @__PURE__ */ React80.createElement(StyleTabSlot, null)), /* @__PURE__ */ React80.createElement(import_ui34.Box, { sx: { height: "150px" } })))
4760
4823
  ));
4761
4824
  };
4762
4825
  function ClassesHeader({ children }) {
4763
4826
  const scrollDirection = useScrollDirection();
4764
- return /* @__PURE__ */ React79.createElement(import_ui34.Stack, { sx: { ...stickyHeaderStyles, top: scrollDirection === "up" ? TABS_HEADER_HEIGHT : 0 } }, children);
4827
+ return /* @__PURE__ */ React80.createElement(import_ui34.Stack, { sx: { ...stickyHeaderStyles, top: scrollDirection === "up" ? TABS_HEADER_HEIGHT : 0 } }, children);
4765
4828
  }
4766
4829
  function useCurrentClassesProp() {
4767
4830
  const { elementType } = useElement();
@@ -4780,7 +4843,7 @@ var EditingPanelTabs = () => {
4780
4843
  return (
4781
4844
  // When switching between elements, the local states should be reset. We are using key to rerender the tabs.
4782
4845
  // Reference: https://react.dev/learn/preserving-and-resetting-state#resetting-a-form-with-a-key
4783
- /* @__PURE__ */ React80.createElement(import_react35.Fragment, { key: element.id }, /* @__PURE__ */ React80.createElement(PanelTabContent, null))
4846
+ /* @__PURE__ */ React81.createElement(import_react35.Fragment, { key: element.id }, /* @__PURE__ */ React81.createElement(PanelTabContent, null))
4784
4847
  );
4785
4848
  };
4786
4849
  var PanelTabContent = () => {
@@ -4792,7 +4855,7 @@ var PanelTabContent = () => {
4792
4855
  const [storedTab, setCurrentTab] = useStateByElement("tab", defaultComponentTab);
4793
4856
  const currentTab = isPromotedElement && storedTab === "settings" ? "style" : storedTab;
4794
4857
  const { getTabProps, getTabPanelProps, getTabsProps } = (0, import_ui35.useTabs)(currentTab);
4795
- return /* @__PURE__ */ React80.createElement(ScrollProvider, null, /* @__PURE__ */ React80.createElement(import_ui35.Stack, { direction: "column", sx: { width: "100%" } }, /* @__PURE__ */ React80.createElement(import_ui35.Stack, { sx: { ...stickyHeaderStyles, top: 0 } }, /* @__PURE__ */ React80.createElement(
4858
+ return /* @__PURE__ */ React81.createElement(ScrollProvider, null, /* @__PURE__ */ React81.createElement(import_ui35.Stack, { direction: "column", sx: { width: "100%" } }, /* @__PURE__ */ React81.createElement(import_ui35.Stack, { sx: { ...stickyHeaderStyles, top: 0 } }, /* @__PURE__ */ React81.createElement(
4796
4859
  import_ui35.Tabs,
4797
4860
  {
4798
4861
  variant: "fullWidth",
@@ -4804,10 +4867,10 @@ var PanelTabContent = () => {
4804
4867
  setCurrentTab(newValue);
4805
4868
  }
4806
4869
  },
4807
- !isPromotedElement && /* @__PURE__ */ React80.createElement(import_ui35.Tab, { label: (0, import_i18n54.__)("General", "elementor"), ...getTabProps("settings") }),
4808
- /* @__PURE__ */ React80.createElement(import_ui35.Tab, { label: (0, import_i18n54.__)("Style", "elementor"), ...getTabProps("style") }),
4809
- isInteractionsActive && /* @__PURE__ */ React80.createElement(import_ui35.Tab, { label: (0, import_i18n54.__)("Interactions", "elementor"), ...getTabProps("interactions") })
4810
- ), /* @__PURE__ */ React80.createElement(import_ui35.Divider, null)), !isPromotedElement && /* @__PURE__ */ React80.createElement(import_ui35.TabPanel, { ...getTabPanelProps("settings"), disablePadding: true }, /* @__PURE__ */ React80.createElement(SettingsTab, null)), /* @__PURE__ */ React80.createElement(import_ui35.TabPanel, { ...getTabPanelProps("style"), disablePadding: true }, /* @__PURE__ */ React80.createElement(StyleTab, null)), isInteractionsActive && /* @__PURE__ */ React80.createElement(import_ui35.TabPanel, { ...getTabPanelProps("interactions"), disablePadding: true }, /* @__PURE__ */ React80.createElement(InteractionsTab, null))));
4870
+ !isPromotedElement && /* @__PURE__ */ React81.createElement(import_ui35.Tab, { label: (0, import_i18n55.__)("General", "elementor"), ...getTabProps("settings") }),
4871
+ /* @__PURE__ */ React81.createElement(import_ui35.Tab, { label: (0, import_i18n55.__)("Style", "elementor"), ...getTabProps("style") }),
4872
+ isInteractionsActive && /* @__PURE__ */ React81.createElement(import_ui35.Tab, { label: (0, import_i18n55.__)("Interactions", "elementor"), ...getTabProps("interactions") })
4873
+ ), /* @__PURE__ */ React81.createElement(import_ui35.Divider, null)), !isPromotedElement && /* @__PURE__ */ React81.createElement(import_ui35.TabPanel, { ...getTabPanelProps("settings"), disablePadding: true }, /* @__PURE__ */ React81.createElement(SettingsTab, null)), /* @__PURE__ */ React81.createElement(import_ui35.TabPanel, { ...getTabPanelProps("style"), disablePadding: true }, /* @__PURE__ */ React81.createElement(StyleTab, null)), isInteractionsActive && /* @__PURE__ */ React81.createElement(import_ui35.TabPanel, { ...getTabPanelProps("interactions"), disablePadding: true }, /* @__PURE__ */ React81.createElement(InteractionsTab, null))));
4811
4874
  };
4812
4875
 
4813
4876
  // src/components/editing-panel.tsx
@@ -4820,13 +4883,13 @@ var EditingPanel = () => {
4820
4883
  if (!element || !elementType) {
4821
4884
  return null;
4822
4885
  }
4823
- const panelTitle = (0, import_i18n55.__)("Edit %s", "elementor").replace("%s", elementType.title);
4886
+ const panelTitle = (0, import_i18n56.__)("Edit %s", "elementor").replace("%s", elementType.title);
4824
4887
  const { component: ReplacementComponent } = getEditingPanelReplacement(element, elementType) ?? {};
4825
- let panelContent = /* @__PURE__ */ React81.createElement(React81.Fragment, null, /* @__PURE__ */ React81.createElement(import_editor_panels.PanelHeader, null, /* @__PURE__ */ React81.createElement(import_editor_panels.PanelHeaderTitle, null, panelTitle), /* @__PURE__ */ React81.createElement(import_icons21.AtomIcon, { fontSize: "small", sx: { color: "text.tertiary" } })), /* @__PURE__ */ React81.createElement(import_editor_panels.PanelBody, null, /* @__PURE__ */ React81.createElement(EditingPanelTabs, null)));
4888
+ let panelContent = /* @__PURE__ */ React82.createElement(React82.Fragment, null, /* @__PURE__ */ React82.createElement(import_editor_panels.PanelHeader, null, /* @__PURE__ */ React82.createElement(import_editor_panels.PanelHeaderTitle, null, panelTitle), /* @__PURE__ */ React82.createElement(import_icons21.AtomIcon, { fontSize: "small", sx: { color: "text.tertiary" } })), /* @__PURE__ */ React82.createElement(import_editor_panels.PanelBody, null, /* @__PURE__ */ React82.createElement(EditingPanelTabs, null)));
4826
4889
  if (ReplacementComponent) {
4827
- panelContent = /* @__PURE__ */ React81.createElement(ReplacementComponent, null);
4890
+ panelContent = /* @__PURE__ */ React82.createElement(ReplacementComponent, null);
4828
4891
  }
4829
- return /* @__PURE__ */ React81.createElement(import_ui36.ErrorBoundary, { fallback: /* @__PURE__ */ React81.createElement(EditorPanelErrorFallback, null) }, /* @__PURE__ */ React81.createElement(import_session8.SessionStorageProvider, { prefix: "elementor" }, /* @__PURE__ */ React81.createElement(import_editor_ui7.ThemeProvider, null, /* @__PURE__ */ React81.createElement(import_editor_controls49.ControlActionsProvider, { items: menuItems }, /* @__PURE__ */ React81.createElement(import_editor_controls49.ControlReplacementsProvider, { replacements: controlReplacements }, /* @__PURE__ */ React81.createElement(ElementProvider, { element, elementType, settings }, /* @__PURE__ */ React81.createElement(import_editor_panels.Panel, null, /* @__PURE__ */ React81.createElement(PanelHeaderTopSlot, null), panelContent)))))));
4892
+ return /* @__PURE__ */ React82.createElement(import_ui36.ErrorBoundary, { fallback: /* @__PURE__ */ React82.createElement(EditorPanelErrorFallback, null) }, /* @__PURE__ */ React82.createElement(import_session9.SessionStorageProvider, { prefix: "elementor" }, /* @__PURE__ */ React82.createElement(import_editor_ui8.ThemeProvider, null, /* @__PURE__ */ React82.createElement(import_editor_controls49.ControlActionsProvider, { items: menuItems }, /* @__PURE__ */ React82.createElement(import_editor_controls49.ControlReplacementsProvider, { replacements: controlReplacements }, /* @__PURE__ */ React82.createElement(ElementProvider, { element, elementType, settings }, /* @__PURE__ */ React82.createElement(import_editor_panels.Panel, null, /* @__PURE__ */ React82.createElement(PanelHeaderTopSlot, null), panelContent)))))));
4830
4893
  };
4831
4894
 
4832
4895
  // src/init.ts
@@ -4878,21 +4941,21 @@ var EditingPanelHooks = () => {
4878
4941
  var import_editor_controls51 = require("@elementor/editor-controls");
4879
4942
 
4880
4943
  // src/components/promotions/custom-css.tsx
4881
- var React82 = __toESM(require("react"));
4944
+ var React83 = __toESM(require("react"));
4882
4945
  var import_react37 = require("react");
4883
4946
  var import_editor_controls50 = require("@elementor/editor-controls");
4884
- var import_i18n56 = require("@wordpress/i18n");
4947
+ var import_i18n57 = require("@wordpress/i18n");
4885
4948
  var TRACKING_DATA = { target_name: "custom_css", location_l2: "style" };
4886
4949
  var CustomCssSection = () => {
4887
4950
  const triggerRef = (0, import_react37.useRef)(null);
4888
- return /* @__PURE__ */ React82.createElement(
4951
+ return /* @__PURE__ */ React83.createElement(
4889
4952
  StyleTabSection,
4890
4953
  {
4891
4954
  section: {
4892
4955
  name: "Custom CSS",
4893
- title: (0, import_i18n56.__)("Custom CSS", "elementor"),
4956
+ title: (0, import_i18n57.__)("Custom CSS", "elementor"),
4894
4957
  action: {
4895
- component: /* @__PURE__ */ React82.createElement(import_editor_controls50.PromotionTrigger, { ref: triggerRef, promotionKey: "customCss", trackingData: TRACKING_DATA }),
4958
+ component: /* @__PURE__ */ React83.createElement(import_editor_controls50.PromotionTrigger, { ref: triggerRef, promotionKey: "customCss", trackingData: TRACKING_DATA }),
4896
4959
  onClick: () => triggerRef.current?.toggle()
4897
4960
  }
4898
4961
  }
@@ -4914,13 +4977,13 @@ var init = () => {
4914
4977
  };
4915
4978
 
4916
4979
  // src/controls-registry/element-controls/tabs-control/tabs-control.tsx
4917
- var React83 = __toESM(require("react"));
4980
+ var React84 = __toESM(require("react"));
4918
4981
  var import_editor_controls53 = require("@elementor/editor-controls");
4919
4982
  var import_editor_elements17 = require("@elementor/editor-elements");
4920
4983
  var import_editor_props16 = require("@elementor/editor-props");
4921
4984
  var import_icons22 = require("@elementor/icons");
4922
4985
  var import_ui37 = require("@elementor/ui");
4923
- var import_i18n58 = require("@wordpress/i18n");
4986
+ var import_i18n59 = require("@wordpress/i18n");
4924
4987
 
4925
4988
  // src/controls-registry/element-controls/get-element-by-type.ts
4926
4989
  var import_editor_elements15 = require("@elementor/editor-elements");
@@ -4939,7 +5002,7 @@ var getElementByType = (elementId, type) => {
4939
5002
  var import_editor_controls52 = require("@elementor/editor-controls");
4940
5003
  var import_editor_elements16 = require("@elementor/editor-elements");
4941
5004
  var import_editor_props15 = require("@elementor/editor-props");
4942
- var import_i18n57 = require("@wordpress/i18n");
5005
+ var import_i18n58 = require("@wordpress/i18n");
4943
5006
  var TAB_ELEMENT_TYPE = "e-tab";
4944
5007
  var TAB_CONTENT_ELEMENT_TYPE = "e-tab-content";
4945
5008
  var useActions = () => {
@@ -4962,7 +5025,7 @@ var useActions = () => {
4962
5025
  }
4963
5026
  (0, import_editor_elements16.duplicateElements)({
4964
5027
  elementIds: [tabId, tabContentId],
4965
- title: (0, import_i18n57.__)("Duplicate Tab", "elementor"),
5028
+ title: (0, import_i18n58.__)("Duplicate Tab", "elementor"),
4966
5029
  onDuplicateElements: () => {
4967
5030
  if (newDefault !== defaultActiveTab) {
4968
5031
  setDefaultActiveTab(newDefault, {}, { withHistory: false });
@@ -4999,7 +5062,7 @@ var useActions = () => {
4999
5062
  defaultActiveTab
5000
5063
  });
5001
5064
  (0, import_editor_elements16.moveElements)({
5002
- title: (0, import_i18n57.__)("Reorder Tabs", "elementor"),
5065
+ title: (0, import_i18n58.__)("Reorder Tabs", "elementor"),
5003
5066
  moves: [
5004
5067
  {
5005
5068
  element: movedElement,
@@ -5033,7 +5096,7 @@ var useActions = () => {
5033
5096
  defaultActiveTab
5034
5097
  });
5035
5098
  (0, import_editor_elements16.removeElements)({
5036
- title: (0, import_i18n57.__)("Tabs", "elementor"),
5099
+ title: (0, import_i18n58.__)("Tabs", "elementor"),
5037
5100
  elementIds: items3.flatMap(({ item, index }) => {
5038
5101
  const tabId = item.id;
5039
5102
  const tabContentContainer = (0, import_editor_elements16.getContainer)(tabContentAreaId);
@@ -5068,7 +5131,7 @@ var useActions = () => {
5068
5131
  items3.forEach(({ index }) => {
5069
5132
  const position = index + 1;
5070
5133
  (0, import_editor_elements16.createElements)({
5071
- title: (0, import_i18n57.__)("Tabs", "elementor"),
5134
+ title: (0, import_i18n58.__)("Tabs", "elementor"),
5072
5135
  elements: [
5073
5136
  {
5074
5137
  container: tabContentArea,
@@ -5137,7 +5200,7 @@ var calculateDefaultOnDuplicate = ({
5137
5200
  var TAB_MENU_ELEMENT_TYPE = "e-tabs-menu";
5138
5201
  var TAB_CONTENT_AREA_ELEMENT_TYPE = "e-tabs-content-area";
5139
5202
  var TabsControl = ({ label }) => {
5140
- return /* @__PURE__ */ React83.createElement(SettingsField, { bind: "default-active-tab", propDisplayName: (0, import_i18n58.__)("Tabs", "elementor") }, /* @__PURE__ */ React83.createElement(TabsControlContent, { label }));
5203
+ return /* @__PURE__ */ React84.createElement(SettingsField, { bind: "default-active-tab", propDisplayName: (0, import_i18n59.__)("Tabs", "elementor") }, /* @__PURE__ */ React84.createElement(TabsControlContent, { label }));
5141
5204
  };
5142
5205
  var TabsControlContent = ({ label }) => {
5143
5206
  const { element } = useElement();
@@ -5181,7 +5244,7 @@ var TabsControlContent = ({ label }) => {
5181
5244
  });
5182
5245
  }
5183
5246
  };
5184
- return /* @__PURE__ */ React83.createElement(
5247
+ return /* @__PURE__ */ React84.createElement(
5185
5248
  import_editor_controls53.Repeater,
5186
5249
  {
5187
5250
  showToggle: false,
@@ -5201,7 +5264,7 @@ var TabsControlContent = ({ label }) => {
5201
5264
  };
5202
5265
  var ItemLabel = ({ value, index }) => {
5203
5266
  const elementTitle = value?.title;
5204
- return /* @__PURE__ */ React83.createElement(import_ui37.Stack, { sx: { minHeight: 20 }, direction: "row", alignItems: "center", gap: 1.5 }, /* @__PURE__ */ React83.createElement("span", null, elementTitle), /* @__PURE__ */ React83.createElement(ItemDefaultTab, { index }));
5267
+ return /* @__PURE__ */ React84.createElement(import_ui37.Stack, { sx: { minHeight: 20 }, direction: "row", alignItems: "center", gap: 1.5 }, /* @__PURE__ */ React84.createElement("span", null, elementTitle), /* @__PURE__ */ React84.createElement(ItemDefaultTab, { index }));
5205
5268
  };
5206
5269
  var ItemDefaultTab = ({ index }) => {
5207
5270
  const { value: defaultItem } = (0, import_editor_controls53.useBoundProp)(import_editor_props16.numberPropTypeUtil);
@@ -5209,18 +5272,18 @@ var ItemDefaultTab = ({ index }) => {
5209
5272
  if (!isDefault) {
5210
5273
  return null;
5211
5274
  }
5212
- return /* @__PURE__ */ React83.createElement(import_ui37.Chip, { size: "tiny", shape: "rounded", label: (0, import_i18n58.__)("Default", "elementor") });
5275
+ return /* @__PURE__ */ React84.createElement(import_ui37.Chip, { size: "tiny", shape: "rounded", label: (0, import_i18n59.__)("Default", "elementor") });
5213
5276
  };
5214
5277
  var ItemContent = ({ value, index }) => {
5215
5278
  if (!value.id) {
5216
5279
  return null;
5217
5280
  }
5218
- return /* @__PURE__ */ React83.createElement(import_ui37.Stack, { p: 2, gap: 1.5 }, /* @__PURE__ */ React83.createElement(TabLabelControl, { elementId: value.id }), /* @__PURE__ */ React83.createElement(SettingsField, { bind: "default-active-tab", propDisplayName: (0, import_i18n58.__)("Tabs", "elementor") }, /* @__PURE__ */ React83.createElement(DefaultTabControl, { tabIndex: index })));
5281
+ return /* @__PURE__ */ React84.createElement(import_ui37.Stack, { p: 2, gap: 1.5 }, /* @__PURE__ */ React84.createElement(TabLabelControl, { elementId: value.id }), /* @__PURE__ */ React84.createElement(SettingsField, { bind: "default-active-tab", propDisplayName: (0, import_i18n59.__)("Tabs", "elementor") }, /* @__PURE__ */ React84.createElement(DefaultTabControl, { tabIndex: index })));
5219
5282
  };
5220
5283
  var DefaultTabControl = ({ tabIndex }) => {
5221
5284
  const { value, setValue } = (0, import_editor_controls53.useBoundProp)(import_editor_props16.numberPropTypeUtil);
5222
5285
  const isDefault = value === tabIndex;
5223
- return /* @__PURE__ */ React83.createElement(import_ui37.Stack, { direction: "row", alignItems: "center", justifyContent: "space-between", gap: 2 }, /* @__PURE__ */ React83.createElement(import_editor_controls53.ControlFormLabel, null, (0, import_i18n58.__)("Set as default tab", "elementor")), /* @__PURE__ */ React83.createElement(ConditionalTooltip, { showTooltip: isDefault, placement: "right" }, /* @__PURE__ */ React83.createElement(
5286
+ return /* @__PURE__ */ React84.createElement(import_ui37.Stack, { direction: "row", alignItems: "center", justifyContent: "space-between", gap: 2 }, /* @__PURE__ */ React84.createElement(import_editor_controls53.ControlFormLabel, null, (0, import_i18n59.__)("Set as default tab", "elementor")), /* @__PURE__ */ React84.createElement(ConditionalTooltip, { showTooltip: isDefault, placement: "right" }, /* @__PURE__ */ React84.createElement(
5224
5287
  import_ui37.Switch,
5225
5288
  {
5226
5289
  size: "small",
@@ -5238,7 +5301,7 @@ var DefaultTabControl = ({ tabIndex }) => {
5238
5301
  var TabLabelControl = ({ elementId }) => {
5239
5302
  const editorSettings = (0, import_editor_elements17.useElementEditorSettings)(elementId);
5240
5303
  const label = editorSettings?.title ?? "";
5241
- return /* @__PURE__ */ React83.createElement(import_ui37.Stack, { gap: 1 }, /* @__PURE__ */ React83.createElement(import_editor_controls53.ControlFormLabel, null, (0, import_i18n58.__)("Tab name", "elementor")), /* @__PURE__ */ React83.createElement(
5304
+ return /* @__PURE__ */ React84.createElement(import_ui37.Stack, { gap: 1 }, /* @__PURE__ */ React84.createElement(import_editor_controls53.ControlFormLabel, null, (0, import_i18n59.__)("Tab name", "elementor")), /* @__PURE__ */ React84.createElement(
5242
5305
  import_ui37.TextField,
5243
5306
  {
5244
5307
  size: "tiny",
@@ -5259,22 +5322,22 @@ var ConditionalTooltip = ({
5259
5322
  if (!showTooltip) {
5260
5323
  return children;
5261
5324
  }
5262
- return /* @__PURE__ */ React83.createElement(
5325
+ return /* @__PURE__ */ React84.createElement(
5263
5326
  import_ui37.Infotip,
5264
5327
  {
5265
5328
  arrow: false,
5266
- content: /* @__PURE__ */ React83.createElement(
5329
+ content: /* @__PURE__ */ React84.createElement(
5267
5330
  import_ui37.Alert,
5268
5331
  {
5269
5332
  color: "secondary",
5270
- icon: /* @__PURE__ */ React83.createElement(import_icons22.InfoCircleFilledIcon, { fontSize: "tiny" }),
5333
+ icon: /* @__PURE__ */ React84.createElement(import_icons22.InfoCircleFilledIcon, { fontSize: "tiny" }),
5271
5334
  size: "small",
5272
5335
  sx: { width: 288 }
5273
5336
  },
5274
- /* @__PURE__ */ React83.createElement(import_ui37.Typography, { variant: "body2" }, (0, import_i18n58.__)("To change the default tab, simply set another tab as default.", "elementor"))
5337
+ /* @__PURE__ */ React84.createElement(import_ui37.Typography, { variant: "body2" }, (0, import_i18n59.__)("To change the default tab, simply set another tab as default.", "elementor"))
5275
5338
  )
5276
5339
  },
5277
- /* @__PURE__ */ React83.createElement("span", null, children)
5340
+ /* @__PURE__ */ React84.createElement("span", null, children)
5278
5341
  );
5279
5342
  };
5280
5343
 
@@ -5296,7 +5359,7 @@ var import_editor_controls60 = require("@elementor/editor-controls");
5296
5359
  var import_menus2 = require("@elementor/menus");
5297
5360
 
5298
5361
  // src/dynamics/components/background-control-dynamic-tag.tsx
5299
- var React84 = __toESM(require("react"));
5362
+ var React85 = __toESM(require("react"));
5300
5363
  var import_editor_controls55 = require("@elementor/editor-controls");
5301
5364
  var import_editor_props18 = require("@elementor/editor-props");
5302
5365
  var import_icons23 = require("@elementor/icons");
@@ -5434,44 +5497,44 @@ var useDynamicTag = (tagName) => {
5434
5497
  };
5435
5498
 
5436
5499
  // src/dynamics/components/background-control-dynamic-tag.tsx
5437
- var BackgroundControlDynamicTagIcon = () => /* @__PURE__ */ React84.createElement(import_icons23.DatabaseIcon, { fontSize: "tiny" });
5500
+ var BackgroundControlDynamicTagIcon = () => /* @__PURE__ */ React85.createElement(import_icons23.DatabaseIcon, { fontSize: "tiny" });
5438
5501
  var BackgroundControlDynamicTagLabel = ({ value }) => {
5439
5502
  const context = (0, import_editor_controls55.useBoundProp)(import_editor_props18.backgroundImageOverlayPropTypeUtil);
5440
- return /* @__PURE__ */ React84.createElement(import_editor_controls55.PropProvider, { ...context, value: value.value }, /* @__PURE__ */ React84.createElement(import_editor_controls55.PropKeyProvider, { bind: "image" }, /* @__PURE__ */ React84.createElement(Wrapper2, { rawValue: value.value })));
5503
+ return /* @__PURE__ */ React85.createElement(import_editor_controls55.PropProvider, { ...context, value: value.value }, /* @__PURE__ */ React85.createElement(import_editor_controls55.PropKeyProvider, { bind: "image" }, /* @__PURE__ */ React85.createElement(Wrapper2, { rawValue: value.value })));
5441
5504
  };
5442
5505
  var Wrapper2 = ({ rawValue }) => {
5443
5506
  const { propType } = (0, import_editor_controls55.useBoundProp)();
5444
5507
  const imageOverlayPropType = propType.prop_types["background-image-overlay"];
5445
- return /* @__PURE__ */ React84.createElement(import_editor_controls55.PropProvider, { propType: imageOverlayPropType.shape.image, value: rawValue, setValue: () => void 0 }, /* @__PURE__ */ React84.createElement(import_editor_controls55.PropKeyProvider, { bind: "src" }, /* @__PURE__ */ React84.createElement(Content, { rawValue: rawValue.image })));
5508
+ return /* @__PURE__ */ React85.createElement(import_editor_controls55.PropProvider, { propType: imageOverlayPropType.shape.image, value: rawValue, setValue: () => void 0 }, /* @__PURE__ */ React85.createElement(import_editor_controls55.PropKeyProvider, { bind: "src" }, /* @__PURE__ */ React85.createElement(Content, { rawValue: rawValue.image })));
5446
5509
  };
5447
5510
  var Content = ({ rawValue }) => {
5448
5511
  const src = rawValue.value.src;
5449
5512
  const dynamicTag = useDynamicTag(src.value.name || "");
5450
- return /* @__PURE__ */ React84.createElement(React84.Fragment, null, dynamicTag?.label);
5513
+ return /* @__PURE__ */ React85.createElement(React85.Fragment, null, dynamicTag?.label);
5451
5514
  };
5452
5515
 
5453
5516
  // src/dynamics/components/dynamic-selection-control.tsx
5454
- var React88 = __toESM(require("react"));
5517
+ var React89 = __toESM(require("react"));
5455
5518
  var import_editor_controls58 = require("@elementor/editor-controls");
5456
- var import_editor_ui9 = require("@elementor/editor-ui");
5519
+ var import_editor_ui10 = require("@elementor/editor-ui");
5457
5520
  var import_icons25 = require("@elementor/icons");
5458
5521
  var import_ui39 = require("@elementor/ui");
5459
- var import_i18n60 = require("@wordpress/i18n");
5522
+ var import_i18n61 = require("@wordpress/i18n");
5460
5523
 
5461
5524
  // src/hooks/use-persist-dynamic-value.ts
5462
- var import_session9 = require("@elementor/session");
5525
+ var import_session10 = require("@elementor/session");
5463
5526
  var usePersistDynamicValue = (propKey) => {
5464
5527
  const { element } = useElement();
5465
5528
  const prefixedKey = `dynamic/non-dynamic-values-history/${element.id}/${propKey}`;
5466
- return (0, import_session9.useSessionStorage)(prefixedKey);
5529
+ return (0, import_session10.useSessionStorage)(prefixedKey);
5467
5530
  };
5468
5531
 
5469
5532
  // src/dynamics/dynamic-control.tsx
5470
- var React86 = __toESM(require("react"));
5533
+ var React87 = __toESM(require("react"));
5471
5534
  var import_editor_controls56 = require("@elementor/editor-controls");
5472
5535
 
5473
5536
  // src/dynamics/components/dynamic-conditional-control.tsx
5474
- var React85 = __toESM(require("react"));
5537
+ var React86 = __toESM(require("react"));
5475
5538
  var import_react41 = require("react");
5476
5539
  var import_editor_props19 = require("@elementor/editor-props");
5477
5540
  var DynamicConditionalControl = ({
@@ -5513,10 +5576,10 @@ var DynamicConditionalControl = ({
5513
5576
  return { ...defaults, ...convertedSettings };
5514
5577
  }, [defaults, convertedSettings]);
5515
5578
  if (!propType?.dependencies?.terms.length) {
5516
- return /* @__PURE__ */ React85.createElement(React85.Fragment, null, children);
5579
+ return /* @__PURE__ */ React86.createElement(React86.Fragment, null, children);
5517
5580
  }
5518
5581
  const isHidden = !(0, import_editor_props19.isDependencyMet)(propType?.dependencies, effectiveSettings).isMet;
5519
- return isHidden ? null : /* @__PURE__ */ React85.createElement(React85.Fragment, null, children);
5582
+ return isHidden ? null : /* @__PURE__ */ React86.createElement(React86.Fragment, null, children);
5520
5583
  };
5521
5584
 
5522
5585
  // src/dynamics/dynamic-control.tsx
@@ -5541,7 +5604,7 @@ var DynamicControl = ({ bind, children }) => {
5541
5604
  });
5542
5605
  };
5543
5606
  const propType = createTopLevelObjectType({ schema: dynamicTag.props_schema });
5544
- return /* @__PURE__ */ React86.createElement(import_editor_controls56.PropProvider, { propType, setValue: setDynamicValue, value: { [bind]: dynamicValue } }, /* @__PURE__ */ React86.createElement(import_editor_controls56.PropKeyProvider, { bind }, /* @__PURE__ */ React86.createElement(
5607
+ return /* @__PURE__ */ React87.createElement(import_editor_controls56.PropProvider, { propType, setValue: setDynamicValue, value: { [bind]: dynamicValue } }, /* @__PURE__ */ React87.createElement(import_editor_controls56.PropKeyProvider, { bind }, /* @__PURE__ */ React87.createElement(
5545
5608
  DynamicConditionalControl,
5546
5609
  {
5547
5610
  propType: dynamicPropType,
@@ -5553,13 +5616,13 @@ var DynamicControl = ({ bind, children }) => {
5553
5616
  };
5554
5617
 
5555
5618
  // src/dynamics/components/dynamic-selection.tsx
5556
- var React87 = __toESM(require("react"));
5619
+ var React88 = __toESM(require("react"));
5557
5620
  var import_react42 = require("react");
5558
5621
  var import_editor_controls57 = require("@elementor/editor-controls");
5559
- var import_editor_ui8 = require("@elementor/editor-ui");
5622
+ var import_editor_ui9 = require("@elementor/editor-ui");
5560
5623
  var import_icons24 = require("@elementor/icons");
5561
5624
  var import_ui38 = require("@elementor/ui");
5562
- var import_i18n59 = require("@wordpress/i18n");
5625
+ var import_i18n60 = require("@wordpress/i18n");
5563
5626
  var SIZE2 = "tiny";
5564
5627
  var PROMO_TEXT_WIDTH = 170;
5565
5628
  var PRO_DYNAMIC_TAGS_URL = "https://go.elementor.com/go-pro-dynamic-tags-modal/";
@@ -5606,40 +5669,40 @@ var DynamicSelection = ({ close: closePopover, expired = false }) => {
5606
5669
  ]);
5607
5670
  const getPopOverContent = () => {
5608
5671
  if (hasNoDynamicTags) {
5609
- return /* @__PURE__ */ React87.createElement(NoDynamicTags, null);
5672
+ return /* @__PURE__ */ React88.createElement(NoDynamicTags, null);
5610
5673
  }
5611
5674
  if (expired) {
5612
- return /* @__PURE__ */ React87.createElement(ExpiredDynamicTags, null);
5675
+ return /* @__PURE__ */ React88.createElement(ExpiredDynamicTags, null);
5613
5676
  }
5614
- return /* @__PURE__ */ React87.createElement(import_react42.Fragment, null, /* @__PURE__ */ React87.createElement(
5615
- import_editor_ui8.SearchField,
5677
+ return /* @__PURE__ */ React88.createElement(import_react42.Fragment, null, /* @__PURE__ */ React88.createElement(
5678
+ import_editor_ui9.SearchField,
5616
5679
  {
5617
5680
  value: searchValue,
5618
5681
  onSearch: handleSearch,
5619
- placeholder: (0, import_i18n59.__)("Search dynamic tags\u2026", "elementor")
5682
+ placeholder: (0, import_i18n60.__)("Search dynamic tags\u2026", "elementor")
5620
5683
  }
5621
- ), /* @__PURE__ */ React87.createElement(import_ui38.Divider, null), /* @__PURE__ */ React87.createElement(
5622
- import_editor_ui8.PopoverMenuList,
5684
+ ), /* @__PURE__ */ React88.createElement(import_ui38.Divider, null), /* @__PURE__ */ React88.createElement(
5685
+ import_editor_ui9.PopoverMenuList,
5623
5686
  {
5624
5687
  items: virtualizedItems,
5625
5688
  onSelect: handleSetDynamicTag,
5626
5689
  onClose: closePopover,
5627
5690
  selectedValue: dynamicValue?.name,
5628
5691
  itemStyle: (item) => item.type === "item" ? { paddingInlineStart: theme.spacing(3.5) } : {},
5629
- noResultsComponent: /* @__PURE__ */ React87.createElement(NoResults, { searchValue, onClear: () => setSearchValue("") })
5692
+ noResultsComponent: /* @__PURE__ */ React88.createElement(NoResults, { searchValue, onClear: () => setSearchValue("") })
5630
5693
  }
5631
5694
  ));
5632
5695
  };
5633
- return /* @__PURE__ */ React87.createElement(import_editor_ui8.SectionPopoverBody, { "aria-label": (0, import_i18n59.__)("Dynamic tags", "elementor") }, /* @__PURE__ */ React87.createElement(
5634
- import_editor_ui8.PopoverHeader,
5696
+ return /* @__PURE__ */ React88.createElement(import_editor_ui9.SectionPopoverBody, { "aria-label": (0, import_i18n60.__)("Dynamic tags", "elementor") }, /* @__PURE__ */ React88.createElement(
5697
+ import_editor_ui9.PopoverHeader,
5635
5698
  {
5636
- title: (0, import_i18n59.__)("Dynamic tags", "elementor"),
5699
+ title: (0, import_i18n60.__)("Dynamic tags", "elementor"),
5637
5700
  onClose: closePopover,
5638
- icon: /* @__PURE__ */ React87.createElement(import_icons24.DatabaseIcon, { fontSize: SIZE2 })
5701
+ icon: /* @__PURE__ */ React88.createElement(import_icons24.DatabaseIcon, { fontSize: SIZE2 })
5639
5702
  }
5640
5703
  ), getPopOverContent());
5641
5704
  };
5642
- var NoResults = ({ searchValue, onClear }) => /* @__PURE__ */ React87.createElement(
5705
+ var NoResults = ({ searchValue, onClear }) => /* @__PURE__ */ React88.createElement(
5643
5706
  import_ui38.Stack,
5644
5707
  {
5645
5708
  gap: 1,
@@ -5650,11 +5713,11 @@ var NoResults = ({ searchValue, onClear }) => /* @__PURE__ */ React87.createElem
5650
5713
  color: "text.secondary",
5651
5714
  sx: { pb: 3.5 }
5652
5715
  },
5653
- /* @__PURE__ */ React87.createElement(import_icons24.DatabaseIcon, { fontSize: "large" }),
5654
- /* @__PURE__ */ React87.createElement(import_ui38.Typography, { align: "center", variant: "subtitle2" }, (0, import_i18n59.__)("Sorry, nothing matched", "elementor"), /* @__PURE__ */ React87.createElement("br", null), "\u201C", searchValue, "\u201D."),
5655
- /* @__PURE__ */ React87.createElement(import_ui38.Typography, { align: "center", variant: "caption", sx: { display: "flex", flexDirection: "column" } }, (0, import_i18n59.__)("Try something else.", "elementor"), /* @__PURE__ */ React87.createElement(import_ui38.Link, { color: "text.secondary", variant: "caption", component: "button", onClick: onClear }, (0, import_i18n59.__)("Clear & try again", "elementor")))
5716
+ /* @__PURE__ */ React88.createElement(import_icons24.DatabaseIcon, { fontSize: "large" }),
5717
+ /* @__PURE__ */ React88.createElement(import_ui38.Typography, { align: "center", variant: "subtitle2" }, (0, import_i18n60.__)("Sorry, nothing matched", "elementor"), /* @__PURE__ */ React88.createElement("br", null), "\u201C", searchValue, "\u201D."),
5718
+ /* @__PURE__ */ React88.createElement(import_ui38.Typography, { align: "center", variant: "caption", sx: { display: "flex", flexDirection: "column" } }, (0, import_i18n60.__)("Try something else.", "elementor"), /* @__PURE__ */ React88.createElement(import_ui38.Link, { color: "text.secondary", variant: "caption", component: "button", onClick: onClear }, (0, import_i18n60.__)("Clear & try again", "elementor")))
5656
5719
  );
5657
- var NoDynamicTags = () => /* @__PURE__ */ React87.createElement(React87.Fragment, null, /* @__PURE__ */ React87.createElement(import_ui38.Divider, null), /* @__PURE__ */ React87.createElement(
5720
+ var NoDynamicTags = () => /* @__PURE__ */ React88.createElement(React88.Fragment, null, /* @__PURE__ */ React88.createElement(import_ui38.Divider, null), /* @__PURE__ */ React88.createElement(
5658
5721
  import_ui38.Stack,
5659
5722
  {
5660
5723
  gap: 1,
@@ -5665,11 +5728,11 @@ var NoDynamicTags = () => /* @__PURE__ */ React87.createElement(React87.Fragment
5665
5728
  color: "text.secondary",
5666
5729
  sx: { pb: 3.5 }
5667
5730
  },
5668
- /* @__PURE__ */ React87.createElement(import_icons24.DatabaseIcon, { fontSize: "large" }),
5669
- /* @__PURE__ */ React87.createElement(import_ui38.Typography, { align: "center", variant: "subtitle2" }, (0, import_i18n59.__)("Streamline your workflow with dynamic tags", "elementor")),
5670
- /* @__PURE__ */ React87.createElement(import_ui38.Typography, { align: "center", variant: "caption", width: PROMO_TEXT_WIDTH }, (0, import_i18n59.__)("Upgrade now to display your content dynamically.", "elementor")),
5671
- /* @__PURE__ */ React87.createElement(
5672
- import_editor_ui8.CtaButton,
5731
+ /* @__PURE__ */ React88.createElement(import_icons24.DatabaseIcon, { fontSize: "large" }),
5732
+ /* @__PURE__ */ React88.createElement(import_ui38.Typography, { align: "center", variant: "subtitle2" }, (0, import_i18n60.__)("Streamline your workflow with dynamic tags", "elementor")),
5733
+ /* @__PURE__ */ React88.createElement(import_ui38.Typography, { align: "center", variant: "caption", width: PROMO_TEXT_WIDTH }, (0, import_i18n60.__)("Upgrade now to display your content dynamically.", "elementor")),
5734
+ /* @__PURE__ */ React88.createElement(
5735
+ import_editor_ui9.CtaButton,
5673
5736
  {
5674
5737
  size: "small",
5675
5738
  href: PRO_DYNAMIC_TAGS_URL,
@@ -5677,7 +5740,7 @@ var NoDynamicTags = () => /* @__PURE__ */ React87.createElement(React87.Fragment
5677
5740
  }
5678
5741
  )
5679
5742
  ));
5680
- var ExpiredDynamicTags = () => /* @__PURE__ */ React87.createElement(React87.Fragment, null, /* @__PURE__ */ React87.createElement(import_ui38.Divider, null), /* @__PURE__ */ React87.createElement(
5743
+ var ExpiredDynamicTags = () => /* @__PURE__ */ React88.createElement(React88.Fragment, null, /* @__PURE__ */ React88.createElement(import_ui38.Divider, null), /* @__PURE__ */ React88.createElement(
5681
5744
  import_ui38.Stack,
5682
5745
  {
5683
5746
  gap: 1,
@@ -5688,16 +5751,16 @@ var ExpiredDynamicTags = () => /* @__PURE__ */ React87.createElement(React87.Fra
5688
5751
  color: "text.secondary",
5689
5752
  sx: { pb: 3.5 }
5690
5753
  },
5691
- /* @__PURE__ */ React87.createElement(import_icons24.DatabaseIcon, { fontSize: "large" }),
5692
- /* @__PURE__ */ React87.createElement(import_ui38.Typography, { align: "center", variant: "subtitle2" }, (0, import_i18n59.__)("Unlock your Dynamic tags again", "elementor")),
5693
- /* @__PURE__ */ React87.createElement(import_ui38.Typography, { align: "center", variant: "caption", width: PROMO_TEXT_WIDTH }, (0, import_i18n59.__)("Dynamic tags need Elementor Pro. Renew now to keep them active.", "elementor")),
5694
- /* @__PURE__ */ React87.createElement(
5695
- import_editor_ui8.CtaButton,
5754
+ /* @__PURE__ */ React88.createElement(import_icons24.DatabaseIcon, { fontSize: "large" }),
5755
+ /* @__PURE__ */ React88.createElement(import_ui38.Typography, { align: "center", variant: "subtitle2" }, (0, import_i18n60.__)("Unlock your Dynamic tags again", "elementor")),
5756
+ /* @__PURE__ */ React88.createElement(import_ui38.Typography, { align: "center", variant: "caption", width: PROMO_TEXT_WIDTH }, (0, import_i18n60.__)("Dynamic tags need Elementor Pro. Renew now to keep them active.", "elementor")),
5757
+ /* @__PURE__ */ React88.createElement(
5758
+ import_editor_ui9.CtaButton,
5696
5759
  {
5697
5760
  size: "small",
5698
5761
  href: RENEW_DYNAMIC_TAGS_URL,
5699
5762
  onClick: () => (0, import_editor_controls57.trackUpgradePromotionClick)({ target_name: "dynamic_tags" }),
5700
- children: (0, import_i18n59.__)("Renew Now", "elementor")
5763
+ children: (0, import_i18n60.__)("Renew Now", "elementor")
5701
5764
  }
5702
5765
  )
5703
5766
  ));
@@ -5734,7 +5797,7 @@ var DynamicSelectionControl = ({ OriginalControl, ...props }) => {
5734
5797
  const { name: tagName = "" } = value;
5735
5798
  const dynamicTag = useDynamicTag(tagName);
5736
5799
  if (!isDynamicTagSupported(tagName) && OriginalControl) {
5737
- return /* @__PURE__ */ React88.createElement(import_editor_controls58.PropProvider, { propType: originalPropType, value: { [bind]: null }, setValue: setAnyValue }, /* @__PURE__ */ React88.createElement(import_editor_controls58.PropKeyProvider, { bind }, /* @__PURE__ */ React88.createElement(OriginalControl, { ...props })));
5800
+ return /* @__PURE__ */ React89.createElement(import_editor_controls58.PropProvider, { propType: originalPropType, value: { [bind]: null }, setValue: setAnyValue }, /* @__PURE__ */ React89.createElement(import_editor_controls58.PropKeyProvider, { bind }, /* @__PURE__ */ React89.createElement(OriginalControl, { ...props })));
5738
5801
  }
5739
5802
  const removeDynamicTag = () => {
5740
5803
  setAnyValue(propValueFromHistory ?? null);
@@ -5742,25 +5805,25 @@ var DynamicSelectionControl = ({ OriginalControl, ...props }) => {
5742
5805
  if (!dynamicTag) {
5743
5806
  throw new Error(`Dynamic tag ${tagName} not found`);
5744
5807
  }
5745
- return /* @__PURE__ */ React88.createElement(import_ui39.Box, null, /* @__PURE__ */ React88.createElement(
5808
+ return /* @__PURE__ */ React89.createElement(import_ui39.Box, null, /* @__PURE__ */ React89.createElement(
5746
5809
  import_ui39.UnstableTag,
5747
5810
  {
5748
5811
  fullWidth: true,
5749
5812
  showActionsOnHover: true,
5750
5813
  label: dynamicTag.label,
5751
- startIcon: /* @__PURE__ */ React88.createElement(import_icons25.DatabaseIcon, { fontSize: SIZE3 }),
5814
+ startIcon: /* @__PURE__ */ React89.createElement(import_icons25.DatabaseIcon, { fontSize: SIZE3 }),
5752
5815
  ...(0, import_ui39.bindTrigger)(selectionPopoverState),
5753
- actions: /* @__PURE__ */ React88.createElement(React88.Fragment, null, /* @__PURE__ */ React88.createElement(DynamicSettingsPopover, { dynamicTag, disabled: readonly }), /* @__PURE__ */ React88.createElement(
5816
+ actions: /* @__PURE__ */ React89.createElement(React89.Fragment, null, /* @__PURE__ */ React89.createElement(DynamicSettingsPopover, { dynamicTag, disabled: readonly }), /* @__PURE__ */ React89.createElement(
5754
5817
  import_ui39.IconButton,
5755
5818
  {
5756
5819
  size: SIZE3,
5757
5820
  onClick: removeDynamicTag,
5758
- "aria-label": (0, import_i18n60.__)("Remove dynamic value", "elementor")
5821
+ "aria-label": (0, import_i18n61.__)("Remove dynamic value", "elementor")
5759
5822
  },
5760
- /* @__PURE__ */ React88.createElement(import_icons25.XIcon, { fontSize: SIZE3 })
5823
+ /* @__PURE__ */ React89.createElement(import_icons25.XIcon, { fontSize: SIZE3 })
5761
5824
  ))
5762
5825
  }
5763
- ), /* @__PURE__ */ React88.createElement(
5826
+ ), /* @__PURE__ */ React89.createElement(
5764
5827
  import_ui39.Popover,
5765
5828
  {
5766
5829
  disablePortal: true,
@@ -5772,7 +5835,7 @@ var DynamicSelectionControl = ({ OriginalControl, ...props }) => {
5772
5835
  },
5773
5836
  ...(0, import_ui39.bindPopover)(selectionPopoverState)
5774
5837
  },
5775
- /* @__PURE__ */ React88.createElement(import_editor_ui9.SectionPopoverBody, { "aria-label": (0, import_i18n60.__)("Dynamic tags", "elementor") }, /* @__PURE__ */ React88.createElement(DynamicSelection, { close: selectionPopoverState.close, expired: readonly }))
5838
+ /* @__PURE__ */ React89.createElement(import_editor_ui10.SectionPopoverBody, { "aria-label": (0, import_i18n61.__)("Dynamic tags", "elementor") }, /* @__PURE__ */ React89.createElement(DynamicSelection, { close: selectionPopoverState.close, expired: readonly }))
5776
5839
  ));
5777
5840
  };
5778
5841
  var DynamicSettingsPopover = ({
@@ -5784,16 +5847,16 @@ var DynamicSettingsPopover = ({
5784
5847
  if (!hasDynamicSettings) {
5785
5848
  return null;
5786
5849
  }
5787
- return /* @__PURE__ */ React88.createElement(React88.Fragment, null, /* @__PURE__ */ React88.createElement(
5850
+ return /* @__PURE__ */ React89.createElement(React89.Fragment, null, /* @__PURE__ */ React89.createElement(
5788
5851
  import_ui39.IconButton,
5789
5852
  {
5790
5853
  size: SIZE3,
5791
5854
  disabled,
5792
5855
  ...!disabled && (0, import_ui39.bindTrigger)(popupState),
5793
- "aria-label": (0, import_i18n60.__)("Dynamic settings", "elementor")
5856
+ "aria-label": (0, import_i18n61.__)("Dynamic settings", "elementor")
5794
5857
  },
5795
- /* @__PURE__ */ React88.createElement(import_icons25.SettingsIcon, { fontSize: SIZE3 })
5796
- ), /* @__PURE__ */ React88.createElement(
5858
+ /* @__PURE__ */ React89.createElement(import_icons25.SettingsIcon, { fontSize: SIZE3 })
5859
+ ), /* @__PURE__ */ React89.createElement(
5797
5860
  import_ui39.Popover,
5798
5861
  {
5799
5862
  disablePortal: true,
@@ -5805,14 +5868,14 @@ var DynamicSettingsPopover = ({
5805
5868
  },
5806
5869
  ...(0, import_ui39.bindPopover)(popupState)
5807
5870
  },
5808
- /* @__PURE__ */ React88.createElement(import_editor_ui9.SectionPopoverBody, { "aria-label": (0, import_i18n60.__)("Dynamic settings", "elementor") }, /* @__PURE__ */ React88.createElement(
5809
- import_editor_ui9.PopoverHeader,
5871
+ /* @__PURE__ */ React89.createElement(import_editor_ui10.SectionPopoverBody, { "aria-label": (0, import_i18n61.__)("Dynamic settings", "elementor") }, /* @__PURE__ */ React89.createElement(
5872
+ import_editor_ui10.PopoverHeader,
5810
5873
  {
5811
5874
  title: dynamicTag.label,
5812
5875
  onClose: popupState.close,
5813
- icon: /* @__PURE__ */ React88.createElement(import_icons25.DatabaseIcon, { fontSize: SIZE3 })
5876
+ icon: /* @__PURE__ */ React89.createElement(import_icons25.DatabaseIcon, { fontSize: SIZE3 })
5814
5877
  }
5815
- ), /* @__PURE__ */ React88.createElement(DynamicSettings, { controls: dynamicTag.atomic_controls, tagName: dynamicTag.name }))
5878
+ ), /* @__PURE__ */ React89.createElement(DynamicSettings, { controls: dynamicTag.atomic_controls, tagName: dynamicTag.name }))
5816
5879
  ));
5817
5880
  };
5818
5881
  var DynamicSettings = ({ controls, tagName }) => {
@@ -5823,9 +5886,9 @@ var DynamicSettings = ({ controls, tagName }) => {
5823
5886
  }
5824
5887
  if (tagsWithoutTabs.includes(tagName)) {
5825
5888
  const singleTab = tabs[0];
5826
- return /* @__PURE__ */ React88.createElement(React88.Fragment, null, /* @__PURE__ */ React88.createElement(import_ui39.Divider, null), /* @__PURE__ */ React88.createElement(ControlsItemsStack, { items: singleTab.value.items }));
5889
+ return /* @__PURE__ */ React89.createElement(React89.Fragment, null, /* @__PURE__ */ React89.createElement(import_ui39.Divider, null), /* @__PURE__ */ React89.createElement(ControlsItemsStack, { items: singleTab.value.items }));
5827
5890
  }
5828
- return /* @__PURE__ */ React88.createElement(React88.Fragment, null, tabs.length > 1 && /* @__PURE__ */ React88.createElement(import_ui39.Tabs, { size: "small", variant: "fullWidth", ...getTabsProps() }, tabs.map(({ value }, index) => /* @__PURE__ */ React88.createElement(
5891
+ return /* @__PURE__ */ React89.createElement(React89.Fragment, null, tabs.length > 1 && /* @__PURE__ */ React89.createElement(import_ui39.Tabs, { size: "small", variant: "fullWidth", ...getTabsProps() }, tabs.map(({ value }, index) => /* @__PURE__ */ React89.createElement(
5829
5892
  import_ui39.Tab,
5830
5893
  {
5831
5894
  key: index,
@@ -5833,15 +5896,15 @@ var DynamicSettings = ({ controls, tagName }) => {
5833
5896
  sx: { px: 1, py: 0.5 },
5834
5897
  ...getTabProps(index)
5835
5898
  }
5836
- ))), /* @__PURE__ */ React88.createElement(import_ui39.Divider, null), tabs.map(({ value }, index) => {
5837
- return /* @__PURE__ */ React88.createElement(
5899
+ ))), /* @__PURE__ */ React89.createElement(import_ui39.Divider, null), tabs.map(({ value }, index) => {
5900
+ return /* @__PURE__ */ React89.createElement(
5838
5901
  import_ui39.TabPanel,
5839
5902
  {
5840
5903
  key: index,
5841
5904
  sx: { flexGrow: 1, py: 0, overflowY: "auto" },
5842
5905
  ...getTabPanelProps(index)
5843
5906
  },
5844
- /* @__PURE__ */ React88.createElement(ControlsItemsStack, { items: value.items })
5907
+ /* @__PURE__ */ React89.createElement(ControlsItemsStack, { items: value.items })
5845
5908
  );
5846
5909
  }));
5847
5910
  };
@@ -5883,11 +5946,11 @@ var Control2 = ({ control }) => {
5883
5946
  display: "grid",
5884
5947
  gridTemplateColumns: isSwitchControl ? "minmax(0, 1fr) max-content" : "1fr 1fr"
5885
5948
  } : {};
5886
- return /* @__PURE__ */ React88.createElement(DynamicControl, { bind: control.bind }, /* @__PURE__ */ React88.createElement(import_ui39.Grid, { container: true, gap: 0.75, sx: layoutStyleProps }, control.label ? /* @__PURE__ */ React88.createElement(import_ui39.Grid, { item: true, xs: 12 }, /* @__PURE__ */ React88.createElement(import_editor_controls58.ControlFormLabel, null, control.label)) : null, /* @__PURE__ */ React88.createElement(import_ui39.Grid, { item: true, xs: 12 }, /* @__PURE__ */ React88.createElement(Control, { type: control.type, props: controlProps }))));
5949
+ return /* @__PURE__ */ React89.createElement(DynamicControl, { bind: control.bind }, /* @__PURE__ */ React89.createElement(import_ui39.Grid, { container: true, gap: 0.75, sx: layoutStyleProps }, control.label ? /* @__PURE__ */ React89.createElement(import_ui39.Grid, { item: true, xs: 12 }, /* @__PURE__ */ React89.createElement(import_editor_controls58.ControlFormLabel, null, control.label)) : null, /* @__PURE__ */ React89.createElement(import_ui39.Grid, { item: true, xs: 12 }, /* @__PURE__ */ React89.createElement(Control, { type: control.type, props: controlProps }))));
5887
5950
  };
5888
5951
  function ControlsItemsStack({ items: items3 }) {
5889
- return /* @__PURE__ */ React88.createElement(import_ui39.Stack, { p: 2, gap: 2, sx: { overflowY: "auto" } }, items3.map(
5890
- (item) => item.type === "control" ? /* @__PURE__ */ React88.createElement(Control2, { key: item.value.bind, control: item.value }) : null
5952
+ return /* @__PURE__ */ React89.createElement(import_ui39.Stack, { p: 2, gap: 2, sx: { overflowY: "auto" } }, items3.map(
5953
+ (item) => item.type === "control" ? /* @__PURE__ */ React89.createElement(Control2, { key: item.value.bind, control: item.value }) : null
5891
5954
  ));
5892
5955
  }
5893
5956
 
@@ -5940,18 +6003,18 @@ function getDynamicValue(name, settings) {
5940
6003
  }
5941
6004
 
5942
6005
  // src/dynamics/hooks/use-prop-dynamic-action.tsx
5943
- var React89 = __toESM(require("react"));
6006
+ var React90 = __toESM(require("react"));
5944
6007
  var import_editor_controls59 = require("@elementor/editor-controls");
5945
6008
  var import_icons26 = require("@elementor/icons");
5946
- var import_i18n61 = require("@wordpress/i18n");
6009
+ var import_i18n62 = require("@wordpress/i18n");
5947
6010
  var usePropDynamicAction = () => {
5948
6011
  const { propType } = (0, import_editor_controls59.useBoundProp)();
5949
6012
  const visible = !!propType && supportsDynamic(propType);
5950
6013
  return {
5951
6014
  visible,
5952
6015
  icon: import_icons26.DatabaseIcon,
5953
- title: (0, import_i18n61.__)("Dynamic tags", "elementor"),
5954
- content: ({ close }) => /* @__PURE__ */ React89.createElement(DynamicSelection, { close })
6016
+ title: (0, import_i18n62.__)("Dynamic tags", "elementor"),
6017
+ content: ({ close }) => /* @__PURE__ */ React90.createElement(DynamicSelection, { close })
5955
6018
  };
5956
6019
  };
5957
6020
 
@@ -5986,7 +6049,7 @@ var import_editor_controls61 = require("@elementor/editor-controls");
5986
6049
  var import_editor_variables2 = require("@elementor/editor-variables");
5987
6050
  var import_icons27 = require("@elementor/icons");
5988
6051
  var import_menus3 = require("@elementor/menus");
5989
- var import_i18n62 = require("@wordpress/i18n");
6052
+ var import_i18n63 = require("@wordpress/i18n");
5990
6053
 
5991
6054
  // src/utils/is-equal.ts
5992
6055
  function isEqual(a, b) {
@@ -6062,33 +6125,33 @@ function useResetStyleValueProps() {
6062
6125
  const visible = calculateVisibility();
6063
6126
  return {
6064
6127
  visible,
6065
- title: (0, import_i18n62.__)("Clear", "elementor"),
6128
+ title: (0, import_i18n63.__)("Clear", "elementor"),
6066
6129
  icon: import_icons27.BrushBigIcon,
6067
6130
  onClick: () => resetValue()
6068
6131
  };
6069
6132
  }
6070
6133
 
6071
6134
  // src/styles-inheritance/components/styles-inheritance-indicator.tsx
6072
- var React95 = __toESM(require("react"));
6135
+ var React96 = __toESM(require("react"));
6073
6136
  var import_editor_controls62 = require("@elementor/editor-controls");
6074
6137
  var import_editor_props21 = require("@elementor/editor-props");
6075
- var import_editor_styles_repository16 = require("@elementor/editor-styles-repository");
6076
- var import_i18n66 = require("@wordpress/i18n");
6138
+ var import_editor_styles_repository17 = require("@elementor/editor-styles-repository");
6139
+ var import_i18n67 = require("@wordpress/i18n");
6077
6140
 
6078
6141
  // src/styles-inheritance/components/styles-inheritance-infotip.tsx
6079
- var React94 = __toESM(require("react"));
6142
+ var React95 = __toESM(require("react"));
6080
6143
  var import_react44 = require("react");
6081
6144
  var import_editor_canvas5 = require("@elementor/editor-canvas");
6082
- var import_editor_ui10 = require("@elementor/editor-ui");
6145
+ var import_editor_ui11 = require("@elementor/editor-ui");
6083
6146
  var import_ui44 = require("@elementor/ui");
6084
- var import_i18n65 = require("@wordpress/i18n");
6147
+ var import_i18n66 = require("@wordpress/i18n");
6085
6148
 
6086
6149
  // src/styles-inheritance/hooks/use-normalized-inheritance-chain-items.tsx
6087
6150
  var import_react43 = require("react");
6088
6151
  var import_editor_canvas4 = require("@elementor/editor-canvas");
6089
6152
  var import_editor_styles8 = require("@elementor/editor-styles");
6090
- var import_editor_styles_repository14 = require("@elementor/editor-styles-repository");
6091
- var import_i18n63 = require("@wordpress/i18n");
6153
+ var import_editor_styles_repository15 = require("@elementor/editor-styles-repository");
6154
+ var import_i18n64 = require("@wordpress/i18n");
6092
6155
  var MAXIMUM_ITEMS = 2;
6093
6156
  var useNormalizedInheritanceChainItems = (inheritanceChain, bind, resolve) => {
6094
6157
  const [items3, setItems] = (0, import_react43.useState)([]);
@@ -6099,7 +6162,7 @@ var useNormalizedInheritanceChainItems = (inheritanceChain, bind, resolve) => {
6099
6162
  );
6100
6163
  const validItems = normalizedItems.map((item) => ({
6101
6164
  ...item,
6102
- displayLabel: import_editor_styles_repository14.ELEMENTS_BASE_STYLES_PROVIDER_KEY !== item.provider ? item.displayLabel : (0, import_i18n63.__)("Base", "elementor")
6165
+ displayLabel: import_editor_styles_repository15.ELEMENTS_BASE_STYLES_PROVIDER_KEY !== item.provider ? item.displayLabel : (0, import_i18n64.__)("Base", "elementor")
6103
6166
  })).filter((item) => !item.value || item.displayLabel !== "").slice(0, MAXIMUM_ITEMS);
6104
6167
  setItems(validItems);
6105
6168
  })();
@@ -6156,7 +6219,7 @@ var getTransformedValue = async (item, bind, resolve) => {
6156
6219
  };
6157
6220
 
6158
6221
  // src/styles-inheritance/components/infotip/breakpoint-icon.tsx
6159
- var React90 = __toESM(require("react"));
6222
+ var React91 = __toESM(require("react"));
6160
6223
  var import_editor_responsive4 = require("@elementor/editor-responsive");
6161
6224
  var import_icons28 = require("@elementor/icons");
6162
6225
  var import_ui40 = require("@elementor/ui");
@@ -6179,20 +6242,20 @@ var BreakpointIcon = ({ breakpoint }) => {
6179
6242
  return null;
6180
6243
  }
6181
6244
  const breakpointLabel = breakpoints.find((breakpointItem) => breakpointItem.id === currentBreakpoint)?.label;
6182
- return /* @__PURE__ */ React90.createElement(import_ui40.Tooltip, { title: breakpointLabel, placement: "top" }, /* @__PURE__ */ React90.createElement(IconComponent, { fontSize: SIZE4, sx: { mt: "2px" } }));
6245
+ return /* @__PURE__ */ React91.createElement(import_ui40.Tooltip, { title: breakpointLabel, placement: "top" }, /* @__PURE__ */ React91.createElement(IconComponent, { fontSize: SIZE4, sx: { mt: "2px" } }));
6183
6246
  };
6184
6247
 
6185
6248
  // src/styles-inheritance/components/infotip/label-chip.tsx
6186
- var React91 = __toESM(require("react"));
6187
- var import_editor_styles_repository15 = require("@elementor/editor-styles-repository");
6249
+ var React92 = __toESM(require("react"));
6250
+ var import_editor_styles_repository16 = require("@elementor/editor-styles-repository");
6188
6251
  var import_icons29 = require("@elementor/icons");
6189
6252
  var import_ui41 = require("@elementor/ui");
6190
- var import_i18n64 = require("@wordpress/i18n");
6253
+ var import_i18n65 = require("@wordpress/i18n");
6191
6254
  var SIZE5 = "tiny";
6192
6255
  var LabelChip = ({ displayLabel, provider }) => {
6193
- const isBaseStyle = provider === import_editor_styles_repository15.ELEMENTS_BASE_STYLES_PROVIDER_KEY;
6194
- const chipIcon = isBaseStyle ? /* @__PURE__ */ React91.createElement(import_ui41.Tooltip, { title: (0, import_i18n64.__)("Inherited from base styles", "elementor"), placement: "top" }, /* @__PURE__ */ React91.createElement(import_icons29.InfoCircleIcon, { fontSize: SIZE5 })) : void 0;
6195
- return /* @__PURE__ */ React91.createElement(
6256
+ const isBaseStyle = provider === import_editor_styles_repository16.ELEMENTS_BASE_STYLES_PROVIDER_KEY;
6257
+ const chipIcon = isBaseStyle ? /* @__PURE__ */ React92.createElement(import_ui41.Tooltip, { title: (0, import_i18n65.__)("Inherited from base styles", "elementor"), placement: "top" }, /* @__PURE__ */ React92.createElement(import_icons29.InfoCircleIcon, { fontSize: SIZE5 })) : void 0;
6258
+ return /* @__PURE__ */ React92.createElement(
6196
6259
  import_ui41.Chip,
6197
6260
  {
6198
6261
  label: displayLabel,
@@ -6218,10 +6281,10 @@ var LabelChip = ({ displayLabel, provider }) => {
6218
6281
  };
6219
6282
 
6220
6283
  // src/styles-inheritance/components/infotip/value-component.tsx
6221
- var React92 = __toESM(require("react"));
6284
+ var React93 = __toESM(require("react"));
6222
6285
  var import_ui42 = require("@elementor/ui");
6223
6286
  var ValueComponent = ({ index, value }) => {
6224
- return /* @__PURE__ */ React92.createElement(import_ui42.Tooltip, { title: value, placement: "top" }, /* @__PURE__ */ React92.createElement(
6287
+ return /* @__PURE__ */ React93.createElement(import_ui42.Tooltip, { title: value, placement: "top" }, /* @__PURE__ */ React93.createElement(
6225
6288
  import_ui42.Typography,
6226
6289
  {
6227
6290
  variant: "caption",
@@ -6243,9 +6306,9 @@ var ValueComponent = ({ index, value }) => {
6243
6306
  };
6244
6307
 
6245
6308
  // src/styles-inheritance/components/infotip/action-icons.tsx
6246
- var React93 = __toESM(require("react"));
6309
+ var React94 = __toESM(require("react"));
6247
6310
  var import_ui43 = require("@elementor/ui");
6248
- var ActionIcons = () => /* @__PURE__ */ React93.createElement(import_ui43.Box, { display: "flex", gap: 0.5, alignItems: "center" });
6311
+ var ActionIcons = () => /* @__PURE__ */ React94.createElement(import_ui43.Box, { display: "flex", gap: 0.5, alignItems: "center" });
6249
6312
 
6250
6313
  // src/styles-inheritance/components/styles-inheritance-infotip.tsx
6251
6314
  var SECTION_PADDING_INLINE = 32;
@@ -6273,7 +6336,7 @@ var StylesInheritanceInfotip = ({
6273
6336
  setShowInfotip(false);
6274
6337
  };
6275
6338
  const key = path.join(".");
6276
- const sectionWidth = (0, import_editor_ui10.useSectionWidth)();
6339
+ const sectionWidth = (0, import_editor_ui11.useSectionWidth)();
6277
6340
  const resolve = (0, import_react44.useMemo)(() => {
6278
6341
  return (0, import_editor_canvas5.createPropsResolver)({
6279
6342
  transformers: import_editor_canvas5.stylesInheritanceTransformersRegistry,
@@ -6281,7 +6344,7 @@ var StylesInheritanceInfotip = ({
6281
6344
  });
6282
6345
  }, [key, propType]);
6283
6346
  const items3 = useNormalizedInheritanceChainItems(inheritanceChain, key, resolve);
6284
- const infotipContent = /* @__PURE__ */ React94.createElement(import_ui44.ClickAwayListener, { onClickAway: closeInfotip }, /* @__PURE__ */ React94.createElement(
6347
+ const infotipContent = /* @__PURE__ */ React95.createElement(import_ui44.ClickAwayListener, { onClickAway: closeInfotip }, /* @__PURE__ */ React95.createElement(
6285
6348
  import_ui44.Card,
6286
6349
  {
6287
6350
  elevation: 0,
@@ -6294,7 +6357,7 @@ var StylesInheritanceInfotip = ({
6294
6357
  flexDirection: "column"
6295
6358
  }
6296
6359
  },
6297
- /* @__PURE__ */ React94.createElement(
6360
+ /* @__PURE__ */ React95.createElement(
6298
6361
  import_ui44.Box,
6299
6362
  {
6300
6363
  sx: {
@@ -6304,9 +6367,9 @@ var StylesInheritanceInfotip = ({
6304
6367
  backgroundColor: "background.paper"
6305
6368
  }
6306
6369
  },
6307
- /* @__PURE__ */ React94.createElement(import_editor_ui10.PopoverHeader, { title: (0, import_i18n65.__)("Style origin", "elementor"), onClose: closeInfotip })
6370
+ /* @__PURE__ */ React95.createElement(import_editor_ui11.PopoverHeader, { title: (0, import_i18n66.__)("Style origin", "elementor"), onClose: closeInfotip })
6308
6371
  ),
6309
- /* @__PURE__ */ React94.createElement(
6372
+ /* @__PURE__ */ React95.createElement(
6310
6373
  import_ui44.CardContent,
6311
6374
  {
6312
6375
  sx: {
@@ -6320,39 +6383,39 @@ var StylesInheritanceInfotip = ({
6320
6383
  }
6321
6384
  }
6322
6385
  },
6323
- /* @__PURE__ */ React94.createElement(import_ui44.Stack, { gap: 1.5, sx: { pl: 2, pr: 1, pt: 1.5, pb: 1.5 }, role: "list" }, items3.map((item, index) => {
6324
- return /* @__PURE__ */ React94.createElement(
6386
+ /* @__PURE__ */ React95.createElement(import_ui44.Stack, { gap: 1.5, sx: { pl: 2, pr: 1, pt: 1.5, pb: 1.5 }, role: "list" }, items3.map((item, index) => {
6387
+ return /* @__PURE__ */ React95.createElement(
6325
6388
  import_ui44.Box,
6326
6389
  {
6327
6390
  key: item.id,
6328
6391
  display: "flex",
6329
6392
  gap: 0.5,
6330
6393
  role: "listitem",
6331
- "aria-label": (0, import_i18n65.__)("Inheritance item: %s", "elementor").replace(
6394
+ "aria-label": (0, import_i18n66.__)("Inheritance item: %s", "elementor").replace(
6332
6395
  "%s",
6333
6396
  item.displayLabel
6334
6397
  )
6335
6398
  },
6336
- /* @__PURE__ */ React94.createElement(
6399
+ /* @__PURE__ */ React95.createElement(
6337
6400
  import_ui44.Box,
6338
6401
  {
6339
6402
  display: "flex",
6340
6403
  gap: 0.5,
6341
6404
  sx: { flexWrap: "wrap", width: "100%", alignItems: "flex-start" }
6342
6405
  },
6343
- /* @__PURE__ */ React94.createElement(BreakpointIcon, { breakpoint: item.breakpoint }),
6344
- /* @__PURE__ */ React94.createElement(LabelChip, { displayLabel: item.displayLabel, provider: item.provider }),
6345
- /* @__PURE__ */ React94.createElement(ValueComponent, { index, value: item.value })
6406
+ /* @__PURE__ */ React95.createElement(BreakpointIcon, { breakpoint: item.breakpoint }),
6407
+ /* @__PURE__ */ React95.createElement(LabelChip, { displayLabel: item.displayLabel, provider: item.provider }),
6408
+ /* @__PURE__ */ React95.createElement(ValueComponent, { index, value: item.value })
6346
6409
  ),
6347
- /* @__PURE__ */ React94.createElement(ActionIcons, null)
6410
+ /* @__PURE__ */ React95.createElement(ActionIcons, null)
6348
6411
  );
6349
6412
  }))
6350
6413
  )
6351
6414
  ));
6352
6415
  if (isDisabled) {
6353
- return /* @__PURE__ */ React94.createElement(import_ui44.Box, { sx: { display: "inline-flex" } }, children);
6416
+ return /* @__PURE__ */ React95.createElement(import_ui44.Box, { sx: { display: "inline-flex" } }, children);
6354
6417
  }
6355
- return /* @__PURE__ */ React94.createElement(import_ui44.Box, { ref: triggerRef, sx: { display: "inline-flex" } }, /* @__PURE__ */ React94.createElement(
6418
+ return /* @__PURE__ */ React95.createElement(import_ui44.Box, { ref: triggerRef, sx: { display: "inline-flex" } }, /* @__PURE__ */ React95.createElement(
6356
6419
  TooltipOrInfotip,
6357
6420
  {
6358
6421
  showInfotip,
@@ -6360,7 +6423,7 @@ var StylesInheritanceInfotip = ({
6360
6423
  infotipContent,
6361
6424
  isDisabled
6362
6425
  },
6363
- /* @__PURE__ */ React94.createElement(
6426
+ /* @__PURE__ */ React95.createElement(
6364
6427
  import_ui44.IconButton,
6365
6428
  {
6366
6429
  onClick: toggleInfotip,
@@ -6380,10 +6443,10 @@ function TooltipOrInfotip({
6380
6443
  isDisabled
6381
6444
  }) {
6382
6445
  if (isDisabled) {
6383
- return /* @__PURE__ */ React94.createElement(import_ui44.Box, { sx: { display: "inline-flex" } }, children);
6446
+ return /* @__PURE__ */ React95.createElement(import_ui44.Box, { sx: { display: "inline-flex" } }, children);
6384
6447
  }
6385
6448
  if (showInfotip) {
6386
- return /* @__PURE__ */ React94.createElement(React94.Fragment, null, /* @__PURE__ */ React94.createElement(
6449
+ return /* @__PURE__ */ React95.createElement(React95.Fragment, null, /* @__PURE__ */ React95.createElement(
6387
6450
  import_ui44.Backdrop,
6388
6451
  {
6389
6452
  open: showInfotip,
@@ -6393,7 +6456,7 @@ function TooltipOrInfotip({
6393
6456
  zIndex: (theme) => theme.zIndex.modal - 1
6394
6457
  }
6395
6458
  }
6396
- ), /* @__PURE__ */ React94.createElement(
6459
+ ), /* @__PURE__ */ React95.createElement(
6397
6460
  import_ui44.Infotip,
6398
6461
  {
6399
6462
  placement: "top-end",
@@ -6405,7 +6468,7 @@ function TooltipOrInfotip({
6405
6468
  children
6406
6469
  ));
6407
6470
  }
6408
- return /* @__PURE__ */ React94.createElement(import_ui44.Tooltip, { title: (0, import_i18n65.__)("Style origin", "elementor"), placement: "top" }, children);
6471
+ return /* @__PURE__ */ React95.createElement(import_ui44.Tooltip, { title: (0, import_i18n66.__)("Style origin", "elementor"), placement: "top" }, children);
6409
6472
  }
6410
6473
 
6411
6474
  // src/styles-inheritance/components/styles-inheritance-indicator.tsx
@@ -6418,14 +6481,14 @@ var StylesInheritanceIndicator = ({
6418
6481
  if (!path || !inheritanceChain.length) {
6419
6482
  return null;
6420
6483
  }
6421
- return /* @__PURE__ */ React95.createElement(Indicator, { inheritanceChain, path, propType });
6484
+ return /* @__PURE__ */ React96.createElement(Indicator, { inheritanceChain, path, propType });
6422
6485
  };
6423
6486
  var Indicator = ({ inheritanceChain, path, propType, isDisabled }) => {
6424
6487
  const { id: currentStyleId, provider: currentStyleProvider, meta: currentStyleMeta } = useStyle();
6425
6488
  const currentItem = currentStyleId ? getValueFromInheritanceChain(inheritanceChain, currentStyleId, currentStyleMeta) : null;
6426
6489
  const hasValue = !(0, import_editor_props21.isEmpty)(currentItem?.value);
6427
6490
  const [actualStyle] = inheritanceChain;
6428
- if (actualStyle.provider === import_editor_styles_repository16.ELEMENTS_BASE_STYLES_PROVIDER_KEY) {
6491
+ if (actualStyle.provider === import_editor_styles_repository17.ELEMENTS_BASE_STYLES_PROVIDER_KEY) {
6429
6492
  return null;
6430
6493
  }
6431
6494
  const isFinalValue = currentItem === actualStyle;
@@ -6434,7 +6497,7 @@ var Indicator = ({ inheritanceChain, path, propType, isDisabled }) => {
6434
6497
  getColor: isFinalValue && currentStyleProvider ? getStylesProviderThemeColor(currentStyleProvider.getKey()) : void 0,
6435
6498
  isOverridden: hasValue && !isFinalValue ? true : void 0
6436
6499
  };
6437
- return /* @__PURE__ */ React95.createElement(
6500
+ return /* @__PURE__ */ React96.createElement(
6438
6501
  StylesInheritanceInfotip,
6439
6502
  {
6440
6503
  inheritanceChain,
@@ -6443,17 +6506,17 @@ var Indicator = ({ inheritanceChain, path, propType, isDisabled }) => {
6443
6506
  label,
6444
6507
  isDisabled
6445
6508
  },
6446
- /* @__PURE__ */ React95.createElement(StyleIndicator, { ...styleIndicatorProps })
6509
+ /* @__PURE__ */ React96.createElement(StyleIndicator, { ...styleIndicatorProps })
6447
6510
  );
6448
6511
  };
6449
6512
  var getLabel = ({ isFinalValue, hasValue }) => {
6450
6513
  if (isFinalValue) {
6451
- return (0, import_i18n66.__)("This is the final value", "elementor");
6514
+ return (0, import_i18n67.__)("This is the final value", "elementor");
6452
6515
  }
6453
6516
  if (hasValue) {
6454
- return (0, import_i18n66.__)("This value is overridden by another style", "elementor");
6517
+ return (0, import_i18n67.__)("This value is overridden by another style", "elementor");
6455
6518
  }
6456
- return (0, import_i18n66.__)("This has value from another style", "elementor");
6519
+ return (0, import_i18n67.__)("This has value from another style", "elementor");
6457
6520
  };
6458
6521
 
6459
6522
  // src/styles-inheritance/init-styles-inheritance-transformers.ts
@@ -6474,7 +6537,7 @@ var excludePropTypeTransformers = /* @__PURE__ */ new Set([
6474
6537
  ]);
6475
6538
 
6476
6539
  // src/styles-inheritance/transformers/array-transformer.tsx
6477
- var React96 = __toESM(require("react"));
6540
+ var React97 = __toESM(require("react"));
6478
6541
  var import_editor_canvas6 = require("@elementor/editor-canvas");
6479
6542
  var arrayTransformer = (0, import_editor_canvas6.createTransformer)((values) => {
6480
6543
  if (!values || values.length === 0) {
@@ -6484,16 +6547,16 @@ var arrayTransformer = (0, import_editor_canvas6.createTransformer)((values) =>
6484
6547
  if (allStrings) {
6485
6548
  return values.join(" ");
6486
6549
  }
6487
- return /* @__PURE__ */ React96.createElement(React96.Fragment, null, values.map((item, index) => /* @__PURE__ */ React96.createElement(React96.Fragment, { key: index }, index > 0 && " ", item)));
6550
+ return /* @__PURE__ */ React97.createElement(React97.Fragment, null, values.map((item, index) => /* @__PURE__ */ React97.createElement(React97.Fragment, { key: index }, index > 0 && " ", item)));
6488
6551
  });
6489
6552
 
6490
6553
  // src/styles-inheritance/transformers/background-color-overlay-transformer.tsx
6491
- var React97 = __toESM(require("react"));
6554
+ var React98 = __toESM(require("react"));
6492
6555
  var import_editor_canvas7 = require("@elementor/editor-canvas");
6493
6556
  var import_ui45 = require("@elementor/ui");
6494
- var backgroundColorOverlayTransformer = (0, import_editor_canvas7.createTransformer)((value) => /* @__PURE__ */ React97.createElement(import_ui45.Stack, { direction: "row", gap: 1, alignItems: "center" }, /* @__PURE__ */ React97.createElement(ItemLabelColor, { value })));
6557
+ var backgroundColorOverlayTransformer = (0, import_editor_canvas7.createTransformer)((value) => /* @__PURE__ */ React98.createElement(import_ui45.Stack, { direction: "row", gap: 1, alignItems: "center" }, /* @__PURE__ */ React98.createElement(ItemLabelColor, { value })));
6495
6558
  var ItemLabelColor = ({ value: { color } }) => {
6496
- return /* @__PURE__ */ React97.createElement("span", null, color);
6559
+ return /* @__PURE__ */ React98.createElement("span", null, color);
6497
6560
  };
6498
6561
  var StyledUnstableColorIndicator = (0, import_ui45.styled)(import_ui45.UnstableColorIndicator)(({ theme }) => ({
6499
6562
  width: "1em",
@@ -6504,20 +6567,20 @@ var StyledUnstableColorIndicator = (0, import_ui45.styled)(import_ui45.UnstableC
6504
6567
  }));
6505
6568
 
6506
6569
  // src/styles-inheritance/transformers/background-gradient-overlay-transformer.tsx
6507
- var React98 = __toESM(require("react"));
6570
+ var React99 = __toESM(require("react"));
6508
6571
  var import_editor_canvas8 = require("@elementor/editor-canvas");
6509
6572
  var import_ui46 = require("@elementor/ui");
6510
- var import_i18n67 = require("@wordpress/i18n");
6511
- var backgroundGradientOverlayTransformer = (0, import_editor_canvas8.createTransformer)((value) => /* @__PURE__ */ React98.createElement(import_ui46.Stack, { direction: "row", gap: 1, alignItems: "center" }, /* @__PURE__ */ React98.createElement(ItemIconGradient, { value }), /* @__PURE__ */ React98.createElement(ItemLabelGradient, { value })));
6573
+ var import_i18n68 = require("@wordpress/i18n");
6574
+ var backgroundGradientOverlayTransformer = (0, import_editor_canvas8.createTransformer)((value) => /* @__PURE__ */ React99.createElement(import_ui46.Stack, { direction: "row", gap: 1, alignItems: "center" }, /* @__PURE__ */ React99.createElement(ItemIconGradient, { value }), /* @__PURE__ */ React99.createElement(ItemLabelGradient, { value })));
6512
6575
  var ItemIconGradient = ({ value }) => {
6513
6576
  const gradient = getGradientValue(value);
6514
- return /* @__PURE__ */ React98.createElement(StyledUnstableColorIndicator, { size: "inherit", component: "span", value: gradient });
6577
+ return /* @__PURE__ */ React99.createElement(StyledUnstableColorIndicator, { size: "inherit", component: "span", value: gradient });
6515
6578
  };
6516
6579
  var ItemLabelGradient = ({ value }) => {
6517
6580
  if (value.type === "linear") {
6518
- return /* @__PURE__ */ React98.createElement("span", null, (0, import_i18n67.__)("Linear gradient", "elementor"));
6581
+ return /* @__PURE__ */ React99.createElement("span", null, (0, import_i18n68.__)("Linear gradient", "elementor"));
6519
6582
  }
6520
- return /* @__PURE__ */ React98.createElement("span", null, (0, import_i18n67.__)("Radial gradient", "elementor"));
6583
+ return /* @__PURE__ */ React99.createElement("span", null, (0, import_i18n68.__)("Radial gradient", "elementor"));
6521
6584
  };
6522
6585
  var getGradientValue = (gradient) => {
6523
6586
  const stops = gradient.stops?.map(({ color, offset }) => `${color} ${offset ?? 0}%`)?.join(",");
@@ -6528,15 +6591,15 @@ var getGradientValue = (gradient) => {
6528
6591
  };
6529
6592
 
6530
6593
  // src/styles-inheritance/transformers/background-image-overlay-transformer.tsx
6531
- var React99 = __toESM(require("react"));
6594
+ var React100 = __toESM(require("react"));
6532
6595
  var import_editor_canvas9 = require("@elementor/editor-canvas");
6533
- var import_editor_ui11 = require("@elementor/editor-ui");
6596
+ var import_editor_ui12 = require("@elementor/editor-ui");
6534
6597
  var import_ui47 = require("@elementor/ui");
6535
6598
  var import_wp_media = require("@elementor/wp-media");
6536
- var backgroundImageOverlayTransformer = (0, import_editor_canvas9.createTransformer)((value) => /* @__PURE__ */ React99.createElement(import_ui47.Stack, { direction: "row", gap: 1, alignItems: "center" }, /* @__PURE__ */ React99.createElement(ItemIconImage, { value }), /* @__PURE__ */ React99.createElement(ItemLabelImage, { value })));
6599
+ var backgroundImageOverlayTransformer = (0, import_editor_canvas9.createTransformer)((value) => /* @__PURE__ */ React100.createElement(import_ui47.Stack, { direction: "row", gap: 1, alignItems: "center" }, /* @__PURE__ */ React100.createElement(ItemIconImage, { value }), /* @__PURE__ */ React100.createElement(ItemLabelImage, { value })));
6537
6600
  var ItemIconImage = ({ value }) => {
6538
6601
  const { imageUrl } = useImage(value);
6539
- return /* @__PURE__ */ React99.createElement(
6602
+ return /* @__PURE__ */ React100.createElement(
6540
6603
  import_ui47.CardMedia,
6541
6604
  {
6542
6605
  image: imageUrl,
@@ -6552,7 +6615,7 @@ var ItemIconImage = ({ value }) => {
6552
6615
  };
6553
6616
  var ItemLabelImage = ({ value }) => {
6554
6617
  const { imageTitle } = useImage(value);
6555
- return /* @__PURE__ */ React99.createElement(import_editor_ui11.EllipsisWithTooltip, { title: imageTitle }, /* @__PURE__ */ React99.createElement("span", null, imageTitle));
6618
+ return /* @__PURE__ */ React100.createElement(import_editor_ui12.EllipsisWithTooltip, { title: imageTitle }, /* @__PURE__ */ React100.createElement("span", null, imageTitle));
6556
6619
  };
6557
6620
  var useImage = (image) => {
6558
6621
  let imageTitle, imageUrl = null;
@@ -6577,7 +6640,7 @@ var getFileExtensionFromFilename = (filename) => {
6577
6640
  };
6578
6641
 
6579
6642
  // src/styles-inheritance/transformers/box-shadow-transformer.tsx
6580
- var React100 = __toESM(require("react"));
6643
+ var React101 = __toESM(require("react"));
6581
6644
  var import_editor_canvas10 = require("@elementor/editor-canvas");
6582
6645
  var boxShadowTransformer = (0, import_editor_canvas10.createTransformer)((value) => {
6583
6646
  if (!value) {
@@ -6587,11 +6650,11 @@ var boxShadowTransformer = (0, import_editor_canvas10.createTransformer)((value)
6587
6650
  const colorValue = color || "#000000";
6588
6651
  const sizes = [hOffset || "0px", vOffset || "0px", blur || "10px", spread || "0px"].join(" ");
6589
6652
  const positionValue = position || "outset";
6590
- return /* @__PURE__ */ React100.createElement(React100.Fragment, null, colorValue, " ", positionValue, ", ", sizes);
6653
+ return /* @__PURE__ */ React101.createElement(React101.Fragment, null, colorValue, " ", positionValue, ", ", sizes);
6591
6654
  });
6592
6655
 
6593
6656
  // src/styles-inheritance/transformers/color-transformer.tsx
6594
- var React101 = __toESM(require("react"));
6657
+ var React102 = __toESM(require("react"));
6595
6658
  var import_editor_canvas11 = require("@elementor/editor-canvas");
6596
6659
  var import_ui48 = require("@elementor/ui");
6597
6660
  function isValidCSSColor(value) {
@@ -6611,7 +6674,7 @@ var colorTransformer = (0, import_editor_canvas11.createTransformer)((value) =>
6611
6674
  if (!isValidCSSColor(value)) {
6612
6675
  return value;
6613
6676
  }
6614
- return /* @__PURE__ */ React101.createElement(import_ui48.Stack, { direction: "row", gap: 1, alignItems: "center" }, /* @__PURE__ */ React101.createElement(StyledColorIndicator, { size: "inherit", component: "span", value }), /* @__PURE__ */ React101.createElement("span", null, value));
6677
+ return /* @__PURE__ */ React102.createElement(import_ui48.Stack, { direction: "row", gap: 1, alignItems: "center" }, /* @__PURE__ */ React102.createElement(StyledColorIndicator, { size: "inherit", component: "span", value }), /* @__PURE__ */ React102.createElement("span", null, value));
6615
6678
  });
6616
6679
 
6617
6680
  // src/styles-inheritance/transformers/repeater-to-items-transformer.tsx