@elementor/editor-editing-panel 1.18.0 → 1.19.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -32,12 +32,12 @@ var index_exports = {};
32
32
  __export(index_exports, {
33
33
  injectIntoClassSelectorActions: () => injectIntoClassSelectorActions,
34
34
  replaceControl: () => replaceControl,
35
- useBoundProp: () => import_editor_controls48.useBoundProp,
35
+ useBoundProp: () => import_editor_controls49.useBoundProp,
36
36
  usePanelActions: () => usePanelActions,
37
37
  usePanelStatus: () => usePanelStatus
38
38
  });
39
39
  module.exports = __toCommonJS(index_exports);
40
- var import_editor_controls48 = require("@elementor/editor-controls");
40
+ var import_editor_controls49 = require("@elementor/editor-controls");
41
41
 
42
42
  // src/control-replacement.tsx
43
43
  var import_editor_controls = require("@elementor/editor-controls");
@@ -661,14 +661,14 @@ function useHandleApply(appliedIds, setAppliedIds) {
661
661
  var import_editor_panels2 = require("@elementor/editor-panels");
662
662
 
663
663
  // src/components/editing-panel.tsx
664
- var React64 = __toESM(require("react"));
665
- var import_editor_controls42 = require("@elementor/editor-controls");
664
+ var React65 = __toESM(require("react"));
665
+ var import_editor_controls43 = require("@elementor/editor-controls");
666
666
  var import_editor_elements8 = require("@elementor/editor-elements");
667
667
  var import_editor_panels = require("@elementor/editor-panels");
668
668
  var import_icons22 = require("@elementor/icons");
669
669
  var import_session4 = require("@elementor/session");
670
- var import_ui49 = require("@elementor/ui");
671
- var import_i18n43 = require("@wordpress/i18n");
670
+ var import_ui50 = require("@elementor/ui");
671
+ var import_i18n44 = require("@wordpress/i18n");
672
672
 
673
673
  // src/controls-actions.ts
674
674
  var import_menus = require("@elementor/menus");
@@ -724,10 +724,10 @@ function EditorPanelErrorFallback() {
724
724
  }
725
725
 
726
726
  // src/components/editing-panel-tabs.tsx
727
- var React63 = __toESM(require("react"));
728
- var import_react16 = require("react");
729
- var import_ui48 = require("@elementor/ui");
730
- var import_i18n42 = require("@wordpress/i18n");
727
+ var React64 = __toESM(require("react"));
728
+ var import_react17 = require("react");
729
+ var import_ui49 = require("@elementor/ui");
730
+ var import_i18n43 = require("@wordpress/i18n");
731
731
 
732
732
  // src/components/settings-tab.tsx
733
733
  var React15 = __toESM(require("react"));
@@ -890,23 +890,31 @@ var Control2 = ({ control }) => {
890
890
  };
891
891
 
892
892
  // src/components/style-tab.tsx
893
- var React62 = __toESM(require("react"));
894
- var import_react15 = require("react");
893
+ var React63 = __toESM(require("react"));
894
+ var import_react16 = require("react");
895
895
  var import_editor_elements7 = require("@elementor/editor-elements");
896
896
  var import_editor_props5 = require("@elementor/editor-props");
897
897
  var import_editor_responsive2 = require("@elementor/editor-responsive");
898
898
  var import_session3 = require("@elementor/session");
899
- var import_ui47 = require("@elementor/ui");
900
- var import_i18n41 = require("@wordpress/i18n");
899
+ var import_ui48 = require("@elementor/ui");
900
+ var import_i18n42 = require("@wordpress/i18n");
901
901
 
902
902
  // src/contexts/styles-inheritance-context.tsx
903
903
  var React16 = __toESM(require("react"));
904
- var import_react8 = require("react");
904
+ var import_react9 = require("react");
905
905
  var import_editor_elements4 = require("@elementor/editor-elements");
906
906
  var import_editor_props2 = require("@elementor/editor-props");
907
907
  var import_editor_responsive = require("@elementor/editor-responsive");
908
908
  var import_editor_styles_repository5 = require("@elementor/editor-styles-repository");
909
909
 
910
+ // src/hooks/use-styles-rerender.ts
911
+ var import_react8 = require("react");
912
+ var useStylesRerender = () => {
913
+ const { provider } = useStyle();
914
+ const [, reRender] = (0, import_react8.useReducer)((p) => !p, false);
915
+ (0, import_react8.useEffect)(() => provider?.subscribe(reRender), [provider]);
916
+ };
917
+
910
918
  // src/styles-inheritance/utils.ts
911
919
  var DEFAULT_STATE = "normal";
912
920
  var DEFAULT_BREAKPOINT = "desktop";
@@ -1056,33 +1064,58 @@ function buildStyleVariantsByMetaMapping(styleDefs) {
1056
1064
  }
1057
1065
 
1058
1066
  // src/contexts/styles-inheritance-context.tsx
1059
- var Context4 = (0, import_react8.createContext)(null);
1067
+ var Context4 = (0, import_react9.createContext)(null);
1060
1068
  function StyleInheritanceProvider({ children }) {
1061
1069
  const styleDefs = useAppliedStyles();
1062
1070
  const breakpointsTree = (0, import_editor_responsive.getBreakpointsTree)();
1063
1071
  const getSnapshot = createStylesInheritance(styleDefs, breakpointsTree);
1064
1072
  return /* @__PURE__ */ React16.createElement(Context4.Provider, { value: { getSnapshot } }, children);
1065
1073
  }
1074
+ function useStylesInheritanceFields(fields) {
1075
+ const context = (0, import_react9.useContext)(Context4);
1076
+ const { meta } = useStyle();
1077
+ if (!context) {
1078
+ throw new Error("useStylesInheritanceFields must be used within a StyleInheritanceProvider");
1079
+ }
1080
+ if (!meta) {
1081
+ return null;
1082
+ }
1083
+ const snapshot = context.getSnapshot(meta);
1084
+ return fields.reduce(
1085
+ (acc, key) => ({ ...acc, [key]: snapshot?.[key] ?? [] }),
1086
+ {}
1087
+ );
1088
+ }
1089
+ function useStylesInheritanceField(field) {
1090
+ return useStylesInheritanceFields([field])?.[field] ?? [];
1091
+ }
1066
1092
  var useAppliedStyles = () => {
1067
1093
  const { element } = useElement();
1068
1094
  const currentClassesProp = useClassesProp();
1095
+ const baseStyles = useBaseStyles();
1096
+ useStylesRerender();
1069
1097
  const classesProp = (0, import_editor_elements4.useElementSetting)(element.id, currentClassesProp);
1070
1098
  const appliedStyles = import_editor_props2.classesPropTypeUtil.extract(classesProp);
1071
- const allStyles = import_editor_styles_repository5.stylesRepository.all();
1072
- return allStyles.filter((style) => appliedStyles?.includes(style.id));
1099
+ return import_editor_styles_repository5.stylesRepository.all().filter((style) => appliedStyles?.includes(style.id)).concat(baseStyles);
1100
+ };
1101
+ var useBaseStyles = () => {
1102
+ const { elementType } = useElement();
1103
+ const widgetsCache = (0, import_editor_elements4.getWidgetsCache)();
1104
+ const widgetCache = widgetsCache?.[elementType.key];
1105
+ return Object.values(widgetCache?.base_styles ?? {});
1073
1106
  };
1074
1107
 
1075
1108
  // src/components/style-sections/background-section/background-section.tsx
1076
- var React18 = __toESM(require("react"));
1077
- var import_editor_controls6 = require("@elementor/editor-controls");
1109
+ var React19 = __toESM(require("react"));
1110
+ var import_editor_controls7 = require("@elementor/editor-controls");
1078
1111
 
1079
1112
  // src/controls-registry/styles-field.tsx
1080
- var React17 = __toESM(require("react"));
1081
- var import_editor_controls5 = require("@elementor/editor-controls");
1113
+ var React18 = __toESM(require("react"));
1114
+ var import_editor_controls6 = require("@elementor/editor-controls");
1082
1115
  var import_editor_styles2 = require("@elementor/editor-styles");
1083
1116
 
1084
1117
  // src/hooks/use-styles-fields.ts
1085
- var import_react9 = require("react");
1118
+ var import_react10 = require("react");
1086
1119
  var import_editor_elements5 = require("@elementor/editor-elements");
1087
1120
  var import_editor_styles = require("@elementor/editor-styles");
1088
1121
  var import_editor_styles_repository6 = require("@elementor/editor-styles-repository");
@@ -1094,8 +1127,7 @@ function useStylesFields(propNames) {
1094
1127
  const classesProp = useClassesProp();
1095
1128
  const undoableUpdateStyle = useUndoableUpdateStyle();
1096
1129
  const undoableCreateElementStyle = useUndoableCreateElementStyle();
1097
- const [, reRender] = (0, import_react9.useReducer)((p) => !p, false);
1098
- (0, import_react9.useEffect)(() => provider?.subscribe(reRender), [provider]);
1130
+ useStylesRerender();
1099
1131
  const value = getProps({
1100
1132
  elementId: element.id,
1101
1133
  styleId: id,
@@ -1137,7 +1169,7 @@ function getProps({ styleId, elementId, provider, meta, propNames }) {
1137
1169
  );
1138
1170
  }
1139
1171
  function useUndoableCreateElementStyle() {
1140
- return (0, import_react9.useMemo)(() => {
1172
+ return (0, import_react10.useMemo)(() => {
1141
1173
  return (0, import_editor_v1_adapters.undoable)(
1142
1174
  {
1143
1175
  do: (payload) => {
@@ -1165,7 +1197,7 @@ function useUndoableCreateElementStyle() {
1165
1197
  }, []);
1166
1198
  }
1167
1199
  function useUndoableUpdateStyle() {
1168
- return (0, import_react9.useMemo)(() => {
1200
+ return (0, import_react10.useMemo)(() => {
1169
1201
  return (0, import_editor_v1_adapters.undoable)(
1170
1202
  {
1171
1203
  do: ({ elementId, styleId, provider, meta, props }) => {
@@ -1218,6 +1250,62 @@ function useStylesField(propName) {
1218
1250
  return [value, setValue];
1219
1251
  }
1220
1252
 
1253
+ // src/styles-inheritance/styles-inheritance-indicator.tsx
1254
+ var React17 = __toESM(require("react"));
1255
+ var import_editor_controls5 = require("@elementor/editor-controls");
1256
+ var import_editor_styles_repository7 = require("@elementor/editor-styles-repository");
1257
+ var import_ui11 = require("@elementor/ui");
1258
+ var import_i18n5 = require("@wordpress/i18n");
1259
+ var Circle = (0, import_ui11.styled)("div", {
1260
+ shouldForwardProp: (prop) => prop !== "variant"
1261
+ })`
1262
+ width: 5px;
1263
+ height: 5px;
1264
+ border-radius: 50%;
1265
+ background-color: ${({ theme, variant }) => {
1266
+ switch (variant) {
1267
+ case "overridden":
1268
+ return theme.palette.warning.main;
1269
+ case "global-affects":
1270
+ return theme.palette.global.main;
1271
+ case "local-affects":
1272
+ return theme.palette.primary.main;
1273
+ default:
1274
+ return theme.palette.text.secondary;
1275
+ }
1276
+ }};
1277
+ `;
1278
+ var StylesInheritanceIndicator = () => {
1279
+ const { bind } = (0, import_editor_controls5.useBoundProp)();
1280
+ const { id: currentStyleId, provider: currentStyleProvider, meta: currentStyleMeta } = useStyle();
1281
+ const [value] = useStylesField(bind);
1282
+ const inheritanceChain = useStylesInheritanceField(bind);
1283
+ if (!inheritanceChain.length) {
1284
+ return null;
1285
+ }
1286
+ const [{ styleId, styleVariant }] = inheritanceChain;
1287
+ const { breakpoint, state } = styleVariant.meta;
1288
+ if (styleId === currentStyleId && breakpoint === currentStyleMeta.breakpoint && state === currentStyleMeta.state) {
1289
+ return /* @__PURE__ */ React17.createElement(
1290
+ Circle,
1291
+ {
1292
+ "aria-label": (0, import_i18n5.__)("This is the final value", "elementor"),
1293
+ variant: currentStyleProvider?.key === import_editor_styles_repository7.ELEMENTS_STYLES_PROVIDER_KEY ? "local-affects" : "global-affects"
1294
+ }
1295
+ );
1296
+ }
1297
+ if (value !== null && value !== void 0) {
1298
+ return /* @__PURE__ */ React17.createElement(
1299
+ Circle,
1300
+ {
1301
+ "aria-label": (0, import_i18n5.__)("This value is overridden by another style", "elementor"),
1302
+ variant: "overridden"
1303
+ }
1304
+ );
1305
+ }
1306
+ return /* @__PURE__ */ React17.createElement(Circle, { "aria-label": (0, import_i18n5.__)("This has value from another style", "elementor") });
1307
+ };
1308
+
1221
1309
  // src/controls-registry/styles-field.tsx
1222
1310
  var StylesField = ({ bind, children }) => {
1223
1311
  const [value, setValue] = useStylesField(bind);
@@ -1227,40 +1315,51 @@ var StylesField = ({ bind, children }) => {
1227
1315
  const setValues = (newValue) => {
1228
1316
  setValue(newValue[bind]);
1229
1317
  };
1230
- return /* @__PURE__ */ React17.createElement(import_editor_controls5.PropProvider, { propType, value: values, setValue: setValues }, /* @__PURE__ */ React17.createElement(import_editor_controls5.PropKeyProvider, { bind }, children));
1318
+ return /* @__PURE__ */ React18.createElement(
1319
+ import_editor_controls6.ControlAdornmentsProvider,
1320
+ {
1321
+ items: [
1322
+ {
1323
+ id: "styles-inheritance",
1324
+ Adornment: StylesInheritanceIndicator
1325
+ }
1326
+ ]
1327
+ },
1328
+ /* @__PURE__ */ React18.createElement(import_editor_controls6.PropProvider, { propType, value: values, setValue: setValues }, /* @__PURE__ */ React18.createElement(import_editor_controls6.PropKeyProvider, { bind }, children))
1329
+ );
1231
1330
  };
1232
1331
 
1233
1332
  // src/components/style-sections/background-section/background-section.tsx
1234
1333
  var BackgroundSection = () => {
1235
- return /* @__PURE__ */ React18.createElement(StylesField, { bind: "background" }, /* @__PURE__ */ React18.createElement(import_editor_controls6.BackgroundControl, null));
1334
+ return /* @__PURE__ */ React19.createElement(StylesField, { bind: "background" }, /* @__PURE__ */ React19.createElement(import_editor_controls7.BackgroundControl, null));
1236
1335
  };
1237
1336
 
1238
1337
  // src/components/style-sections/border-section/border-section.tsx
1239
- var React28 = __toESM(require("react"));
1338
+ var React29 = __toESM(require("react"));
1240
1339
 
1241
1340
  // src/components/panel-divider.tsx
1242
- var React19 = __toESM(require("react"));
1243
- var import_ui11 = require("@elementor/ui");
1244
- var PanelDivider = () => /* @__PURE__ */ React19.createElement(import_ui11.Divider, { sx: { my: 0.5 } });
1245
-
1246
- // src/components/section-content.tsx
1247
1341
  var React20 = __toESM(require("react"));
1248
1342
  var import_ui12 = require("@elementor/ui");
1249
- var SectionContent = ({ gap = 2, sx, children }) => /* @__PURE__ */ React20.createElement(import_ui12.Stack, { gap, sx: { ...sx } }, children);
1343
+ var PanelDivider = () => /* @__PURE__ */ React20.createElement(import_ui12.Divider, { sx: { my: 0.5 } });
1344
+
1345
+ // src/components/section-content.tsx
1346
+ var React21 = __toESM(require("react"));
1347
+ var import_ui13 = require("@elementor/ui");
1348
+ var SectionContent = ({ gap = 2, sx, children }) => /* @__PURE__ */ React21.createElement(import_ui13.Stack, { gap, sx: { ...sx } }, children);
1250
1349
 
1251
1350
  // src/components/style-sections/border-section/border-field.tsx
1252
- var React26 = __toESM(require("react"));
1253
- var import_i18n8 = require("@wordpress/i18n");
1351
+ var React27 = __toESM(require("react"));
1352
+ var import_i18n9 = require("@wordpress/i18n");
1254
1353
 
1255
1354
  // src/components/add-or-remove-content.tsx
1256
- var React21 = __toESM(require("react"));
1257
- var import_editor_controls7 = require("@elementor/editor-controls");
1355
+ var React22 = __toESM(require("react"));
1356
+ var import_editor_controls8 = require("@elementor/editor-controls");
1258
1357
  var import_icons5 = require("@elementor/icons");
1259
- var import_ui13 = require("@elementor/ui");
1358
+ var import_ui14 = require("@elementor/ui");
1260
1359
  var SIZE2 = "tiny";
1261
1360
  var AddOrRemoveContent = ({ isAdded, label, onAdd, onRemove, children }) => {
1262
- return /* @__PURE__ */ React21.createElement(SectionContent, null, /* @__PURE__ */ React21.createElement(
1263
- import_ui13.Stack,
1361
+ return /* @__PURE__ */ React22.createElement(SectionContent, null, /* @__PURE__ */ React22.createElement(
1362
+ import_ui14.Stack,
1264
1363
  {
1265
1364
  direction: "row",
1266
1365
  sx: {
@@ -1268,60 +1367,60 @@ var AddOrRemoveContent = ({ isAdded, label, onAdd, onRemove, children }) => {
1268
1367
  alignItems: "center"
1269
1368
  }
1270
1369
  },
1271
- /* @__PURE__ */ React21.createElement(import_editor_controls7.ControlLabel, null, label),
1272
- isAdded ? /* @__PURE__ */ React21.createElement(import_ui13.IconButton, { size: SIZE2, onClick: onRemove, "aria-label": "Remove" }, /* @__PURE__ */ React21.createElement(import_icons5.MinusIcon, { fontSize: SIZE2 })) : /* @__PURE__ */ React21.createElement(import_ui13.IconButton, { size: SIZE2, onClick: onAdd, "aria-label": "Add" }, /* @__PURE__ */ React21.createElement(import_icons5.PlusIcon, { fontSize: SIZE2 }))
1273
- ), /* @__PURE__ */ React21.createElement(import_ui13.Collapse, { in: isAdded, unmountOnExit: true }, /* @__PURE__ */ React21.createElement(SectionContent, null, children)));
1370
+ /* @__PURE__ */ React22.createElement(import_editor_controls8.ControlLabel, null, label),
1371
+ isAdded ? /* @__PURE__ */ React22.createElement(import_ui14.IconButton, { size: SIZE2, onClick: onRemove, "aria-label": "Remove" }, /* @__PURE__ */ React22.createElement(import_icons5.MinusIcon, { fontSize: SIZE2 })) : /* @__PURE__ */ React22.createElement(import_ui14.IconButton, { size: SIZE2, onClick: onAdd, "aria-label": "Add" }, /* @__PURE__ */ React22.createElement(import_icons5.PlusIcon, { fontSize: SIZE2 }))
1372
+ ), /* @__PURE__ */ React22.createElement(import_ui14.Collapse, { in: isAdded, unmountOnExit: true }, /* @__PURE__ */ React22.createElement(SectionContent, null, children)));
1274
1373
  };
1275
1374
 
1276
1375
  // src/components/style-sections/border-section/border-color-field.tsx
1277
- var React22 = __toESM(require("react"));
1278
- var import_editor_controls8 = require("@elementor/editor-controls");
1279
- var import_ui14 = require("@elementor/ui");
1280
- var import_i18n5 = require("@wordpress/i18n");
1281
- var BorderColorField = () => {
1282
- return /* @__PURE__ */ React22.createElement(StylesField, { bind: "border-color" }, /* @__PURE__ */ React22.createElement(import_ui14.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React22.createElement(import_ui14.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React22.createElement(import_editor_controls8.ControlLabel, null, (0, import_i18n5.__)("Border color", "elementor"))), /* @__PURE__ */ React22.createElement(import_ui14.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React22.createElement(import_editor_controls8.ColorControl, null))));
1283
- };
1284
-
1285
- // src/components/style-sections/border-section/border-style-field.tsx
1286
1376
  var React23 = __toESM(require("react"));
1287
1377
  var import_editor_controls9 = require("@elementor/editor-controls");
1288
1378
  var import_ui15 = require("@elementor/ui");
1289
1379
  var import_i18n6 = require("@wordpress/i18n");
1380
+ var BorderColorField = () => {
1381
+ return /* @__PURE__ */ React23.createElement(StylesField, { bind: "border-color" }, /* @__PURE__ */ React23.createElement(import_ui15.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React23.createElement(import_ui15.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React23.createElement(import_editor_controls9.ControlLabel, null, (0, import_i18n6.__)("Border color", "elementor"))), /* @__PURE__ */ React23.createElement(import_ui15.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React23.createElement(import_editor_controls9.ColorControl, null))));
1382
+ };
1383
+
1384
+ // src/components/style-sections/border-section/border-style-field.tsx
1385
+ var React24 = __toESM(require("react"));
1386
+ var import_editor_controls10 = require("@elementor/editor-controls");
1387
+ var import_ui16 = require("@elementor/ui");
1388
+ var import_i18n7 = require("@wordpress/i18n");
1290
1389
  var borderStyles = [
1291
- { value: "none", label: (0, import_i18n6.__)("None", "elementor") },
1292
- { value: "solid", label: (0, import_i18n6.__)("Solid", "elementor") },
1293
- { value: "dashed", label: (0, import_i18n6.__)("Dashed", "elementor") },
1294
- { value: "dotted", label: (0, import_i18n6.__)("Dotted", "elementor") },
1295
- { value: "double", label: (0, import_i18n6.__)("Double", "elementor") },
1296
- { value: "groove", label: (0, import_i18n6.__)("Groove", "elementor") },
1297
- { value: "ridge", label: (0, import_i18n6.__)("Ridge", "elementor") },
1298
- { value: "inset", label: (0, import_i18n6.__)("Inset", "elementor") },
1299
- { value: "outset", label: (0, import_i18n6.__)("Outset", "elementor") }
1390
+ { value: "none", label: (0, import_i18n7.__)("None", "elementor") },
1391
+ { value: "solid", label: (0, import_i18n7.__)("Solid", "elementor") },
1392
+ { value: "dashed", label: (0, import_i18n7.__)("Dashed", "elementor") },
1393
+ { value: "dotted", label: (0, import_i18n7.__)("Dotted", "elementor") },
1394
+ { value: "double", label: (0, import_i18n7.__)("Double", "elementor") },
1395
+ { value: "groove", label: (0, import_i18n7.__)("Groove", "elementor") },
1396
+ { value: "ridge", label: (0, import_i18n7.__)("Ridge", "elementor") },
1397
+ { value: "inset", label: (0, import_i18n7.__)("Inset", "elementor") },
1398
+ { value: "outset", label: (0, import_i18n7.__)("Outset", "elementor") }
1300
1399
  ];
1301
1400
  var BorderStyleField = () => {
1302
- return /* @__PURE__ */ React23.createElement(StylesField, { bind: "border-style" }, /* @__PURE__ */ React23.createElement(import_ui15.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React23.createElement(import_ui15.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React23.createElement(import_editor_controls9.ControlLabel, null, (0, import_i18n6.__)("Border type", "elementor"))), /* @__PURE__ */ React23.createElement(import_ui15.Grid, { item: true, xs: 6, sx: { overflow: "hidden" } }, /* @__PURE__ */ React23.createElement(import_editor_controls9.SelectControl, { options: borderStyles }))));
1401
+ return /* @__PURE__ */ React24.createElement(StylesField, { bind: "border-style" }, /* @__PURE__ */ React24.createElement(import_ui16.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React24.createElement(import_ui16.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React24.createElement(import_editor_controls10.ControlLabel, null, (0, import_i18n7.__)("Border type", "elementor"))), /* @__PURE__ */ React24.createElement(import_ui16.Grid, { item: true, xs: 6, sx: { overflow: "hidden" } }, /* @__PURE__ */ React24.createElement(import_editor_controls10.SelectControl, { options: borderStyles }))));
1303
1402
  };
1304
1403
 
1305
1404
  // src/components/style-sections/border-section/border-width-field.tsx
1306
- var React25 = __toESM(require("react"));
1307
- var import_editor_controls10 = require("@elementor/editor-controls");
1405
+ var React26 = __toESM(require("react"));
1406
+ var import_editor_controls11 = require("@elementor/editor-controls");
1308
1407
  var import_editor_props3 = require("@elementor/editor-props");
1309
1408
  var import_icons6 = require("@elementor/icons");
1310
- var import_ui18 = require("@elementor/ui");
1311
- var import_i18n7 = require("@wordpress/i18n");
1409
+ var import_ui19 = require("@elementor/ui");
1410
+ var import_i18n8 = require("@wordpress/i18n");
1312
1411
 
1313
1412
  // src/hooks/use-direction.ts
1314
- var import_ui16 = require("@elementor/ui");
1413
+ var import_ui17 = require("@elementor/ui");
1315
1414
  function useDirection() {
1316
- const theme = (0, import_ui16.useTheme)(), extendedWindow = window;
1415
+ const theme = (0, import_ui17.useTheme)(), extendedWindow = window;
1317
1416
  const isUiRtl = "rtl" === theme.direction, isSiteRtl = !!extendedWindow.elementorFrontend?.config?.is_rtl;
1318
1417
  return { isSiteRtl, isUiRtl };
1319
1418
  }
1320
1419
 
1321
1420
  // src/components/style-sections/layout-section/utils/rotated-icon.tsx
1322
- var React24 = __toESM(require("react"));
1323
- var import_react10 = require("react");
1324
- var import_ui17 = require("@elementor/ui");
1421
+ var React25 = __toESM(require("react"));
1422
+ var import_react11 = require("react");
1423
+ var import_ui18 = require("@elementor/ui");
1325
1424
  var CLOCKWISE_ANGLES = {
1326
1425
  row: 0,
1327
1426
  column: 90,
@@ -1335,13 +1434,13 @@ var COUNTER_CLOCKWISE_ANGLES = {
1335
1434
  "column-reverse": -270
1336
1435
  };
1337
1436
  var RotatedIcon = ({ icon: Icon, size, isClockwise = true, offset = 0 }) => {
1338
- const rotate = (0, import_react10.useRef)(useGetTargetAngle(isClockwise, offset));
1437
+ const rotate = (0, import_react11.useRef)(useGetTargetAngle(isClockwise, offset));
1339
1438
  rotate.current = useGetTargetAngle(isClockwise, offset, rotate);
1340
- return /* @__PURE__ */ React24.createElement(Icon, { fontSize: size, sx: { transition: ".3s", rotate: `${rotate.current}deg` } });
1439
+ return /* @__PURE__ */ React25.createElement(Icon, { fontSize: size, sx: { transition: ".3s", rotate: `${rotate.current}deg` } });
1341
1440
  };
1342
1441
  var useGetTargetAngle = (isClockwise, offset, existingRef) => {
1343
1442
  const [direction] = useStylesField("flex-direction");
1344
- const isRtl = "rtl" === (0, import_ui17.useTheme)().direction;
1443
+ const isRtl = "rtl" === (0, import_ui18.useTheme)().direction;
1345
1444
  const rotationMultiplier = isRtl ? -1 : 1;
1346
1445
  const angleMap = isClockwise ? CLOCKWISE_ANGLES : COUNTER_CLOCKWISE_ANGLES;
1347
1446
  const currentAngle = existingRef ? existingRef.current * rotationMultiplier : angleMap[direction?.value || "row"] + offset;
@@ -1352,39 +1451,39 @@ var useGetTargetAngle = (isClockwise, offset, existingRef) => {
1352
1451
  };
1353
1452
 
1354
1453
  // src/components/style-sections/border-section/border-width-field.tsx
1355
- var InlineStartIcon = (0, import_ui18.withDirection)(import_icons6.SideRightIcon);
1356
- var InlineEndIcon = (0, import_ui18.withDirection)(import_icons6.SideLeftIcon);
1454
+ var InlineStartIcon = (0, import_ui19.withDirection)(import_icons6.SideRightIcon);
1455
+ var InlineEndIcon = (0, import_ui19.withDirection)(import_icons6.SideLeftIcon);
1357
1456
  var getEdges = (isSiteRtl) => [
1358
1457
  {
1359
- label: (0, import_i18n7.__)("Top", "elementor"),
1360
- icon: /* @__PURE__ */ React25.createElement(import_icons6.SideTopIcon, { fontSize: "tiny" }),
1458
+ label: (0, import_i18n8.__)("Top", "elementor"),
1459
+ icon: /* @__PURE__ */ React26.createElement(import_icons6.SideTopIcon, { fontSize: "tiny" }),
1361
1460
  bind: "block-start"
1362
1461
  },
1363
1462
  {
1364
- label: isSiteRtl ? (0, import_i18n7.__)("Left", "elementor") : (0, import_i18n7.__)("Right", "elementor"),
1365
- icon: /* @__PURE__ */ React25.createElement(RotatedIcon, { icon: InlineStartIcon, size: "tiny" }),
1463
+ label: isSiteRtl ? (0, import_i18n8.__)("Left", "elementor") : (0, import_i18n8.__)("Right", "elementor"),
1464
+ icon: /* @__PURE__ */ React26.createElement(RotatedIcon, { icon: InlineStartIcon, size: "tiny" }),
1366
1465
  bind: "inline-end"
1367
1466
  },
1368
1467
  {
1369
- label: (0, import_i18n7.__)("Bottom", "elementor"),
1370
- icon: /* @__PURE__ */ React25.createElement(import_icons6.SideBottomIcon, { fontSize: "tiny" }),
1468
+ label: (0, import_i18n8.__)("Bottom", "elementor"),
1469
+ icon: /* @__PURE__ */ React26.createElement(import_icons6.SideBottomIcon, { fontSize: "tiny" }),
1371
1470
  bind: "block-end"
1372
1471
  },
1373
1472
  {
1374
- label: isSiteRtl ? (0, import_i18n7.__)("Right", "elementor") : (0, import_i18n7.__)("Left", "elementor"),
1375
- icon: /* @__PURE__ */ React25.createElement(RotatedIcon, { icon: InlineEndIcon, size: "tiny" }),
1473
+ label: isSiteRtl ? (0, import_i18n8.__)("Right", "elementor") : (0, import_i18n8.__)("Left", "elementor"),
1474
+ icon: /* @__PURE__ */ React26.createElement(RotatedIcon, { icon: InlineEndIcon, size: "tiny" }),
1376
1475
  bind: "inline-start"
1377
1476
  }
1378
1477
  ];
1379
1478
  var BorderWidthField = () => {
1380
1479
  const { isSiteRtl } = useDirection();
1381
- return /* @__PURE__ */ React25.createElement(StylesField, { bind: "border-width" }, /* @__PURE__ */ React25.createElement(
1382
- import_editor_controls10.EqualUnequalSizesControl,
1480
+ return /* @__PURE__ */ React26.createElement(StylesField, { bind: "border-width" }, /* @__PURE__ */ React26.createElement(
1481
+ import_editor_controls11.EqualUnequalSizesControl,
1383
1482
  {
1384
1483
  items: getEdges(isSiteRtl),
1385
- label: (0, import_i18n7.__)("Border width", "elementor"),
1386
- icon: /* @__PURE__ */ React25.createElement(import_icons6.SideAllIcon, { fontSize: "tiny" }),
1387
- tooltipLabel: (0, import_i18n7.__)("Adjust borders", "elementor"),
1484
+ label: (0, import_i18n8.__)("Border width", "elementor"),
1485
+ icon: /* @__PURE__ */ React26.createElement(import_icons6.SideAllIcon, { fontSize: "tiny" }),
1486
+ tooltipLabel: (0, import_i18n8.__)("Adjust borders", "elementor"),
1388
1487
  multiSizePropTypeUtil: import_editor_props3.borderWidthPropTypeUtil
1389
1488
  }
1390
1489
  ));
@@ -1409,86 +1508,86 @@ var BorderField = () => {
1409
1508
  });
1410
1509
  };
1411
1510
  const hasBorder = Object.values(border ?? {}).some(Boolean);
1412
- return /* @__PURE__ */ React26.createElement(
1511
+ return /* @__PURE__ */ React27.createElement(
1413
1512
  AddOrRemoveContent,
1414
1513
  {
1415
- label: (0, import_i18n8.__)("Border", "elementor"),
1514
+ label: (0, import_i18n9.__)("Border", "elementor"),
1416
1515
  isAdded: hasBorder,
1417
1516
  onAdd: addBorder,
1418
1517
  onRemove: removeBorder
1419
1518
  },
1420
- /* @__PURE__ */ React26.createElement(BorderWidthField, null),
1421
- /* @__PURE__ */ React26.createElement(BorderColorField, null),
1422
- /* @__PURE__ */ React26.createElement(BorderStyleField, null)
1519
+ /* @__PURE__ */ React27.createElement(BorderWidthField, null),
1520
+ /* @__PURE__ */ React27.createElement(BorderColorField, null),
1521
+ /* @__PURE__ */ React27.createElement(BorderStyleField, null)
1423
1522
  );
1424
1523
  };
1425
1524
 
1426
1525
  // src/components/style-sections/border-section/border-radius-field.tsx
1427
- var React27 = __toESM(require("react"));
1428
- var import_editor_controls11 = require("@elementor/editor-controls");
1526
+ var React28 = __toESM(require("react"));
1527
+ var import_editor_controls12 = require("@elementor/editor-controls");
1429
1528
  var import_editor_props4 = require("@elementor/editor-props");
1430
1529
  var import_icons7 = require("@elementor/icons");
1431
- var import_ui19 = require("@elementor/ui");
1432
- var import_i18n9 = require("@wordpress/i18n");
1433
- var StartStartIcon = (0, import_ui19.withDirection)(import_icons7.RadiusTopLeftIcon);
1434
- var StartEndIcon = (0, import_ui19.withDirection)(import_icons7.RadiusTopRightIcon);
1435
- var EndStartIcon = (0, import_ui19.withDirection)(import_icons7.RadiusBottomLeftIcon);
1436
- var EndEndIcon = (0, import_ui19.withDirection)(import_icons7.RadiusBottomRightIcon);
1437
- var getStartStartLabel = (isSiteRtl) => isSiteRtl ? (0, import_i18n9.__)("Top right", "elementor") : (0, import_i18n9.__)("Top left", "elementor");
1438
- var getStartEndLabel = (isSiteRtl) => isSiteRtl ? (0, import_i18n9.__)("Top left", "elementor") : (0, import_i18n9.__)("Top right", "elementor");
1439
- var getEndStartLabel = (isSiteRtl) => isSiteRtl ? (0, import_i18n9.__)("Bottom right", "elementor") : (0, import_i18n9.__)("Bottom left", "elementor");
1440
- var getEndEndLabel = (isSiteRtl) => isSiteRtl ? (0, import_i18n9.__)("Bottom left", "elementor") : (0, import_i18n9.__)("Bottom right", "elementor");
1530
+ var import_ui20 = require("@elementor/ui");
1531
+ var import_i18n10 = require("@wordpress/i18n");
1532
+ var StartStartIcon = (0, import_ui20.withDirection)(import_icons7.RadiusTopLeftIcon);
1533
+ var StartEndIcon = (0, import_ui20.withDirection)(import_icons7.RadiusTopRightIcon);
1534
+ var EndStartIcon = (0, import_ui20.withDirection)(import_icons7.RadiusBottomLeftIcon);
1535
+ var EndEndIcon = (0, import_ui20.withDirection)(import_icons7.RadiusBottomRightIcon);
1536
+ var getStartStartLabel = (isSiteRtl) => isSiteRtl ? (0, import_i18n10.__)("Top right", "elementor") : (0, import_i18n10.__)("Top left", "elementor");
1537
+ var getStartEndLabel = (isSiteRtl) => isSiteRtl ? (0, import_i18n10.__)("Top left", "elementor") : (0, import_i18n10.__)("Top right", "elementor");
1538
+ var getEndStartLabel = (isSiteRtl) => isSiteRtl ? (0, import_i18n10.__)("Bottom right", "elementor") : (0, import_i18n10.__)("Bottom left", "elementor");
1539
+ var getEndEndLabel = (isSiteRtl) => isSiteRtl ? (0, import_i18n10.__)("Bottom left", "elementor") : (0, import_i18n10.__)("Bottom right", "elementor");
1441
1540
  var getCorners = (isSiteRtl) => [
1442
1541
  {
1443
1542
  label: getStartStartLabel(isSiteRtl),
1444
- icon: /* @__PURE__ */ React27.createElement(RotatedIcon, { icon: StartStartIcon, size: "tiny" }),
1543
+ icon: /* @__PURE__ */ React28.createElement(RotatedIcon, { icon: StartStartIcon, size: "tiny" }),
1445
1544
  bind: "start-start"
1446
1545
  },
1447
1546
  {
1448
1547
  label: getStartEndLabel(isSiteRtl),
1449
- icon: /* @__PURE__ */ React27.createElement(RotatedIcon, { icon: StartEndIcon, size: "tiny" }),
1548
+ icon: /* @__PURE__ */ React28.createElement(RotatedIcon, { icon: StartEndIcon, size: "tiny" }),
1450
1549
  bind: "start-end"
1451
1550
  },
1452
1551
  {
1453
1552
  label: getEndStartLabel(isSiteRtl),
1454
- icon: /* @__PURE__ */ React27.createElement(RotatedIcon, { icon: EndStartIcon, size: "tiny" }),
1553
+ icon: /* @__PURE__ */ React28.createElement(RotatedIcon, { icon: EndStartIcon, size: "tiny" }),
1455
1554
  bind: "end-start"
1456
1555
  },
1457
1556
  {
1458
1557
  label: getEndEndLabel(isSiteRtl),
1459
- icon: /* @__PURE__ */ React27.createElement(RotatedIcon, { icon: EndEndIcon, size: "tiny" }),
1558
+ icon: /* @__PURE__ */ React28.createElement(RotatedIcon, { icon: EndEndIcon, size: "tiny" }),
1460
1559
  bind: "end-end"
1461
1560
  }
1462
1561
  ];
1463
1562
  var BorderRadiusField = () => {
1464
1563
  const { isSiteRtl } = useDirection();
1465
- return /* @__PURE__ */ React27.createElement(StylesField, { bind: "border-radius" }, /* @__PURE__ */ React27.createElement(
1466
- import_editor_controls11.EqualUnequalSizesControl,
1564
+ return /* @__PURE__ */ React28.createElement(StylesField, { bind: "border-radius" }, /* @__PURE__ */ React28.createElement(
1565
+ import_editor_controls12.EqualUnequalSizesControl,
1467
1566
  {
1468
1567
  items: getCorners(isSiteRtl),
1469
- label: (0, import_i18n9.__)("Border radius", "elementor"),
1470
- icon: /* @__PURE__ */ React27.createElement(import_icons7.BorderCornersIcon, { fontSize: "tiny" }),
1471
- tooltipLabel: (0, import_i18n9.__)("Adjust corners", "elementor"),
1568
+ label: (0, import_i18n10.__)("Border radius", "elementor"),
1569
+ icon: /* @__PURE__ */ React28.createElement(import_icons7.BorderCornersIcon, { fontSize: "tiny" }),
1570
+ tooltipLabel: (0, import_i18n10.__)("Adjust corners", "elementor"),
1472
1571
  multiSizePropTypeUtil: import_editor_props4.borderRadiusPropTypeUtil
1473
1572
  }
1474
1573
  ));
1475
1574
  };
1476
1575
 
1477
1576
  // src/components/style-sections/border-section/border-section.tsx
1478
- var BorderSection = () => /* @__PURE__ */ React28.createElement(SectionContent, null, /* @__PURE__ */ React28.createElement(BorderRadiusField, null), /* @__PURE__ */ React28.createElement(PanelDivider, null), /* @__PURE__ */ React28.createElement(BorderField, null));
1577
+ var BorderSection = () => /* @__PURE__ */ React29.createElement(SectionContent, null, /* @__PURE__ */ React29.createElement(BorderRadiusField, null), /* @__PURE__ */ React29.createElement(PanelDivider, null), /* @__PURE__ */ React29.createElement(BorderField, null));
1479
1578
 
1480
1579
  // src/components/style-sections/effects-section/effects-section.tsx
1481
- var React29 = __toESM(require("react"));
1482
- var import_editor_controls12 = require("@elementor/editor-controls");
1580
+ var React30 = __toESM(require("react"));
1581
+ var import_editor_controls13 = require("@elementor/editor-controls");
1483
1582
  var EffectsSection = () => {
1484
- return /* @__PURE__ */ React29.createElement(SectionContent, null, /* @__PURE__ */ React29.createElement(StylesField, { bind: "box-shadow" }, /* @__PURE__ */ React29.createElement(import_editor_controls12.BoxShadowRepeaterControl, null)));
1583
+ return /* @__PURE__ */ React30.createElement(SectionContent, null, /* @__PURE__ */ React30.createElement(StylesField, { bind: "box-shadow" }, /* @__PURE__ */ React30.createElement(import_editor_controls13.BoxShadowRepeaterControl, null)));
1485
1584
  };
1486
1585
 
1487
1586
  // src/components/style-sections/layout-section/layout-section.tsx
1488
- var React39 = __toESM(require("react"));
1489
- var import_editor_controls22 = require("@elementor/editor-controls");
1587
+ var React40 = __toESM(require("react"));
1588
+ var import_editor_controls23 = require("@elementor/editor-controls");
1490
1589
  var import_editor_elements6 = require("@elementor/editor-elements");
1491
- var import_i18n19 = require("@wordpress/i18n");
1590
+ var import_i18n20 = require("@wordpress/i18n");
1492
1591
 
1493
1592
  // src/hooks/use-computed-style.ts
1494
1593
  var import_editor_v1_adapters2 = require("@elementor/editor-v1-adapters");
@@ -1516,13 +1615,13 @@ function useComputedStyle(elementId) {
1516
1615
  }
1517
1616
 
1518
1617
  // src/components/style-sections/layout-section/align-items-field.tsx
1519
- var React30 = __toESM(require("react"));
1520
- var import_editor_controls13 = require("@elementor/editor-controls");
1618
+ var React31 = __toESM(require("react"));
1619
+ var import_editor_controls14 = require("@elementor/editor-controls");
1521
1620
  var import_icons8 = require("@elementor/icons");
1522
- var import_ui20 = require("@elementor/ui");
1523
- var import_i18n10 = require("@wordpress/i18n");
1524
- var StartIcon = (0, import_ui20.withDirection)(import_icons8.LayoutAlignLeftIcon);
1525
- var EndIcon = (0, import_ui20.withDirection)(import_icons8.LayoutAlignRightIcon);
1621
+ var import_ui21 = require("@elementor/ui");
1622
+ var import_i18n11 = require("@wordpress/i18n");
1623
+ var StartIcon = (0, import_ui21.withDirection)(import_icons8.LayoutAlignLeftIcon);
1624
+ var EndIcon = (0, import_ui21.withDirection)(import_icons8.LayoutAlignRightIcon);
1526
1625
  var iconProps = {
1527
1626
  isClockwise: false,
1528
1627
  offset: 90
@@ -1530,42 +1629,42 @@ var iconProps = {
1530
1629
  var options = [
1531
1630
  {
1532
1631
  value: "start",
1533
- label: (0, import_i18n10.__)("Start", "elementor"),
1534
- renderContent: ({ size }) => /* @__PURE__ */ React30.createElement(RotatedIcon, { icon: StartIcon, size, ...iconProps }),
1632
+ label: (0, import_i18n11.__)("Start", "elementor"),
1633
+ renderContent: ({ size }) => /* @__PURE__ */ React31.createElement(RotatedIcon, { icon: StartIcon, size, ...iconProps }),
1535
1634
  showTooltip: true
1536
1635
  },
1537
1636
  {
1538
1637
  value: "center",
1539
- label: (0, import_i18n10.__)("Center", "elementor"),
1540
- renderContent: ({ size }) => /* @__PURE__ */ React30.createElement(RotatedIcon, { icon: import_icons8.LayoutAlignCenterIcon, size, ...iconProps }),
1638
+ label: (0, import_i18n11.__)("Center", "elementor"),
1639
+ renderContent: ({ size }) => /* @__PURE__ */ React31.createElement(RotatedIcon, { icon: import_icons8.LayoutAlignCenterIcon, size, ...iconProps }),
1541
1640
  showTooltip: true
1542
1641
  },
1543
1642
  {
1544
1643
  value: "end",
1545
- label: (0, import_i18n10.__)("End", "elementor"),
1546
- renderContent: ({ size }) => /* @__PURE__ */ React30.createElement(RotatedIcon, { icon: EndIcon, size, ...iconProps }),
1644
+ label: (0, import_i18n11.__)("End", "elementor"),
1645
+ renderContent: ({ size }) => /* @__PURE__ */ React31.createElement(RotatedIcon, { icon: EndIcon, size, ...iconProps }),
1547
1646
  showTooltip: true
1548
1647
  },
1549
1648
  {
1550
1649
  value: "stretch",
1551
- label: (0, import_i18n10.__)("Stretch", "elementor"),
1552
- renderContent: ({ size }) => /* @__PURE__ */ React30.createElement(RotatedIcon, { icon: import_icons8.LayoutDistributeVerticalIcon, size, ...iconProps }),
1650
+ label: (0, import_i18n11.__)("Stretch", "elementor"),
1651
+ renderContent: ({ size }) => /* @__PURE__ */ React31.createElement(RotatedIcon, { icon: import_icons8.LayoutDistributeVerticalIcon, size, ...iconProps }),
1553
1652
  showTooltip: true
1554
1653
  }
1555
1654
  ];
1556
1655
  var AlignItemsField = () => {
1557
1656
  const { isSiteRtl } = useDirection();
1558
- return /* @__PURE__ */ React30.createElement(import_ui20.DirectionProvider, { rtl: isSiteRtl }, /* @__PURE__ */ React30.createElement(import_ui20.ThemeProvider, null, /* @__PURE__ */ React30.createElement(StylesField, { bind: "align-items" }, /* @__PURE__ */ React30.createElement(import_ui20.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React30.createElement(import_ui20.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React30.createElement(import_editor_controls13.ControlLabel, null, (0, import_i18n10.__)("Align items", "elementor"))), /* @__PURE__ */ React30.createElement(import_ui20.Grid, { item: true, xs: 6, sx: { display: "flex", justifyContent: "end" } }, /* @__PURE__ */ React30.createElement(import_editor_controls13.ToggleControl, { options }))))));
1657
+ return /* @__PURE__ */ React31.createElement(import_ui21.DirectionProvider, { rtl: isSiteRtl }, /* @__PURE__ */ React31.createElement(import_ui21.ThemeProvider, null, /* @__PURE__ */ React31.createElement(StylesField, { bind: "align-items" }, /* @__PURE__ */ React31.createElement(import_ui21.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React31.createElement(import_ui21.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React31.createElement(import_editor_controls14.ControlLabel, null, (0, import_i18n11.__)("Align items", "elementor"))), /* @__PURE__ */ React31.createElement(import_ui21.Grid, { item: true, xs: 6, sx: { display: "flex", justifyContent: "end" } }, /* @__PURE__ */ React31.createElement(import_editor_controls14.ToggleControl, { options }))))));
1559
1658
  };
1560
1659
 
1561
1660
  // src/components/style-sections/layout-section/align-self-child-field.tsx
1562
- var React31 = __toESM(require("react"));
1563
- var import_editor_controls14 = require("@elementor/editor-controls");
1661
+ var React32 = __toESM(require("react"));
1662
+ var import_editor_controls15 = require("@elementor/editor-controls");
1564
1663
  var import_icons9 = require("@elementor/icons");
1565
- var import_ui21 = require("@elementor/ui");
1566
- var import_i18n11 = require("@wordpress/i18n");
1567
- var StartIcon2 = (0, import_ui21.withDirection)(import_icons9.LayoutAlignLeftIcon);
1568
- var EndIcon2 = (0, import_ui21.withDirection)(import_icons9.LayoutAlignRightIcon);
1664
+ var import_ui22 = require("@elementor/ui");
1665
+ var import_i18n12 = require("@wordpress/i18n");
1666
+ var StartIcon2 = (0, import_ui22.withDirection)(import_icons9.LayoutAlignLeftIcon);
1667
+ var EndIcon2 = (0, import_ui22.withDirection)(import_icons9.LayoutAlignRightIcon);
1569
1668
  var iconProps2 = {
1570
1669
  isClockwise: false,
1571
1670
  offset: 90
@@ -1573,119 +1672,119 @@ var iconProps2 = {
1573
1672
  var options2 = [
1574
1673
  {
1575
1674
  value: "start",
1576
- label: (0, import_i18n11.__)("Start", "elementor"),
1577
- renderContent: ({ size }) => /* @__PURE__ */ React31.createElement(RotatedIcon, { icon: StartIcon2, size, ...iconProps2 }),
1675
+ label: (0, import_i18n12.__)("Start", "elementor"),
1676
+ renderContent: ({ size }) => /* @__PURE__ */ React32.createElement(RotatedIcon, { icon: StartIcon2, size, ...iconProps2 }),
1578
1677
  showTooltip: true
1579
1678
  },
1580
1679
  {
1581
1680
  value: "center",
1582
- label: (0, import_i18n11.__)("Center", "elementor"),
1583
- renderContent: ({ size }) => /* @__PURE__ */ React31.createElement(RotatedIcon, { icon: import_icons9.LayoutAlignCenterIcon, size, ...iconProps2 }),
1681
+ label: (0, import_i18n12.__)("Center", "elementor"),
1682
+ renderContent: ({ size }) => /* @__PURE__ */ React32.createElement(RotatedIcon, { icon: import_icons9.LayoutAlignCenterIcon, size, ...iconProps2 }),
1584
1683
  showTooltip: true
1585
1684
  },
1586
1685
  {
1587
1686
  value: "end",
1588
- label: (0, import_i18n11.__)("End", "elementor"),
1589
- renderContent: ({ size }) => /* @__PURE__ */ React31.createElement(RotatedIcon, { icon: EndIcon2, size, ...iconProps2 }),
1687
+ label: (0, import_i18n12.__)("End", "elementor"),
1688
+ renderContent: ({ size }) => /* @__PURE__ */ React32.createElement(RotatedIcon, { icon: EndIcon2, size, ...iconProps2 }),
1590
1689
  showTooltip: true
1591
1690
  },
1592
1691
  {
1593
1692
  value: "stretch",
1594
- label: (0, import_i18n11.__)("Stretch", "elementor"),
1595
- renderContent: ({ size }) => /* @__PURE__ */ React31.createElement(RotatedIcon, { icon: import_icons9.LayoutDistributeVerticalIcon, size, ...iconProps2 }),
1693
+ label: (0, import_i18n12.__)("Stretch", "elementor"),
1694
+ renderContent: ({ size }) => /* @__PURE__ */ React32.createElement(RotatedIcon, { icon: import_icons9.LayoutDistributeVerticalIcon, size, ...iconProps2 }),
1596
1695
  showTooltip: true
1597
1696
  }
1598
1697
  ];
1599
1698
  var AlignSelfChild = () => {
1600
1699
  const { isSiteRtl } = useDirection();
1601
- return /* @__PURE__ */ React31.createElement(import_ui21.DirectionProvider, { rtl: isSiteRtl }, /* @__PURE__ */ React31.createElement(import_ui21.ThemeProvider, null, /* @__PURE__ */ React31.createElement(StylesField, { bind: "align-self" }, /* @__PURE__ */ React31.createElement(import_ui21.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React31.createElement(import_ui21.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React31.createElement(import_editor_controls14.ControlLabel, null, (0, import_i18n11.__)("Align self", "elementor"))), /* @__PURE__ */ React31.createElement(import_ui21.Grid, { item: true, xs: 6, sx: { display: "flex", justifyContent: "flex-end" } }, /* @__PURE__ */ React31.createElement(import_editor_controls14.ToggleControl, { options: options2 }))))));
1700
+ return /* @__PURE__ */ React32.createElement(import_ui22.DirectionProvider, { rtl: isSiteRtl }, /* @__PURE__ */ React32.createElement(import_ui22.ThemeProvider, null, /* @__PURE__ */ React32.createElement(StylesField, { bind: "align-self" }, /* @__PURE__ */ React32.createElement(import_ui22.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React32.createElement(import_ui22.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React32.createElement(import_editor_controls15.ControlLabel, null, (0, import_i18n12.__)("Align self", "elementor"))), /* @__PURE__ */ React32.createElement(import_ui22.Grid, { item: true, xs: 6, sx: { display: "flex", justifyContent: "flex-end" } }, /* @__PURE__ */ React32.createElement(import_editor_controls15.ToggleControl, { options: options2 }))))));
1602
1701
  };
1603
1702
 
1604
1703
  // src/components/style-sections/layout-section/display-field.tsx
1605
- var React32 = __toESM(require("react"));
1606
- var import_editor_controls15 = require("@elementor/editor-controls");
1607
- var import_ui22 = require("@elementor/ui");
1608
- var import_i18n12 = require("@wordpress/i18n");
1704
+ var React33 = __toESM(require("react"));
1705
+ var import_editor_controls16 = require("@elementor/editor-controls");
1706
+ var import_ui23 = require("@elementor/ui");
1707
+ var import_i18n13 = require("@wordpress/i18n");
1609
1708
  var DisplayField = () => {
1610
1709
  const options12 = [
1611
1710
  {
1612
1711
  value: "block",
1613
- renderContent: () => (0, import_i18n12.__)("Block", "elementor"),
1614
- label: (0, import_i18n12.__)("Block", "elementor"),
1712
+ renderContent: () => (0, import_i18n13.__)("Block", "elementor"),
1713
+ label: (0, import_i18n13.__)("Block", "elementor"),
1615
1714
  showTooltip: true
1616
1715
  },
1617
1716
  {
1618
1717
  value: "flex",
1619
- renderContent: () => (0, import_i18n12.__)("Flex", "elementor"),
1620
- label: (0, import_i18n12.__)("Flex", "elementor"),
1718
+ renderContent: () => (0, import_i18n13.__)("Flex", "elementor"),
1719
+ label: (0, import_i18n13.__)("Flex", "elementor"),
1621
1720
  showTooltip: true
1622
1721
  },
1623
1722
  {
1624
1723
  value: "inline-block",
1625
- renderContent: () => (0, import_i18n12.__)("In-blk", "elementor"),
1626
- label: (0, import_i18n12.__)("Inline-block", "elementor"),
1724
+ renderContent: () => (0, import_i18n13.__)("In-blk", "elementor"),
1725
+ label: (0, import_i18n13.__)("Inline-block", "elementor"),
1627
1726
  showTooltip: true
1628
1727
  },
1629
1728
  {
1630
1729
  value: "inline-flex",
1631
- renderContent: () => (0, import_i18n12.__)("In-flx", "elementor"),
1632
- label: (0, import_i18n12.__)("Inline-flex", "elementor"),
1730
+ renderContent: () => (0, import_i18n13.__)("In-flx", "elementor"),
1731
+ label: (0, import_i18n13.__)("Inline-flex", "elementor"),
1633
1732
  showTooltip: true
1634
1733
  }
1635
1734
  ];
1636
- return /* @__PURE__ */ React32.createElement(StylesField, { bind: "display" }, /* @__PURE__ */ React32.createElement(import_ui22.Stack, { gap: 1 }, /* @__PURE__ */ React32.createElement(import_editor_controls15.ControlLabel, null, (0, import_i18n12.__)("Display", "elementor")), /* @__PURE__ */ React32.createElement(import_editor_controls15.ToggleControl, { options: options12, fullWidth: true })));
1735
+ return /* @__PURE__ */ React33.createElement(StylesField, { bind: "display" }, /* @__PURE__ */ React33.createElement(import_ui23.Stack, { gap: 1 }, /* @__PURE__ */ React33.createElement(import_editor_controls16.ControlLabel, null, (0, import_i18n13.__)("Display", "elementor")), /* @__PURE__ */ React33.createElement(import_editor_controls16.ToggleControl, { options: options12, fullWidth: true })));
1637
1736
  };
1638
1737
 
1639
1738
  // src/components/style-sections/layout-section/flex-direction-field.tsx
1640
- var React33 = __toESM(require("react"));
1641
- var import_editor_controls16 = require("@elementor/editor-controls");
1739
+ var React34 = __toESM(require("react"));
1740
+ var import_editor_controls17 = require("@elementor/editor-controls");
1642
1741
  var import_icons10 = require("@elementor/icons");
1643
- var import_ui23 = require("@elementor/ui");
1644
- var import_i18n13 = require("@wordpress/i18n");
1742
+ var import_ui24 = require("@elementor/ui");
1743
+ var import_i18n14 = require("@wordpress/i18n");
1645
1744
  var options3 = [
1646
1745
  {
1647
1746
  value: "row",
1648
- label: (0, import_i18n13.__)("Row", "elementor"),
1747
+ label: (0, import_i18n14.__)("Row", "elementor"),
1649
1748
  renderContent: ({ size }) => {
1650
- const StartIcon5 = (0, import_ui23.withDirection)(import_icons10.ArrowRightIcon);
1651
- return /* @__PURE__ */ React33.createElement(StartIcon5, { fontSize: size });
1749
+ const StartIcon5 = (0, import_ui24.withDirection)(import_icons10.ArrowRightIcon);
1750
+ return /* @__PURE__ */ React34.createElement(StartIcon5, { fontSize: size });
1652
1751
  },
1653
1752
  showTooltip: true
1654
1753
  },
1655
1754
  {
1656
1755
  value: "column",
1657
- label: (0, import_i18n13.__)("Column", "elementor"),
1658
- renderContent: ({ size }) => /* @__PURE__ */ React33.createElement(import_icons10.ArrowDownSmallIcon, { fontSize: size }),
1756
+ label: (0, import_i18n14.__)("Column", "elementor"),
1757
+ renderContent: ({ size }) => /* @__PURE__ */ React34.createElement(import_icons10.ArrowDownSmallIcon, { fontSize: size }),
1659
1758
  showTooltip: true
1660
1759
  },
1661
1760
  {
1662
1761
  value: "row-reverse",
1663
- label: (0, import_i18n13.__)("Reversed row", "elementor"),
1762
+ label: (0, import_i18n14.__)("Reversed row", "elementor"),
1664
1763
  renderContent: ({ size }) => {
1665
- const EndIcon5 = (0, import_ui23.withDirection)(import_icons10.ArrowLeftIcon);
1666
- return /* @__PURE__ */ React33.createElement(EndIcon5, { fontSize: size });
1764
+ const EndIcon5 = (0, import_ui24.withDirection)(import_icons10.ArrowLeftIcon);
1765
+ return /* @__PURE__ */ React34.createElement(EndIcon5, { fontSize: size });
1667
1766
  },
1668
1767
  showTooltip: true
1669
1768
  },
1670
1769
  {
1671
1770
  value: "column-reverse",
1672
- label: (0, import_i18n13.__)("Reversed column", "elementor"),
1673
- renderContent: ({ size }) => /* @__PURE__ */ React33.createElement(import_icons10.ArrowUpSmallIcon, { fontSize: size }),
1771
+ label: (0, import_i18n14.__)("Reversed column", "elementor"),
1772
+ renderContent: ({ size }) => /* @__PURE__ */ React34.createElement(import_icons10.ArrowUpSmallIcon, { fontSize: size }),
1674
1773
  showTooltip: true
1675
1774
  }
1676
1775
  ];
1677
1776
  var FlexDirectionField = () => {
1678
1777
  const { isSiteRtl } = useDirection();
1679
- return /* @__PURE__ */ React33.createElement(import_ui23.DirectionProvider, { rtl: isSiteRtl }, /* @__PURE__ */ React33.createElement(import_ui23.ThemeProvider, null, /* @__PURE__ */ React33.createElement(StylesField, { bind: "flex-direction" }, /* @__PURE__ */ React33.createElement(import_ui23.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React33.createElement(import_ui23.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React33.createElement(import_editor_controls16.ControlLabel, null, (0, import_i18n13.__)("Direction", "elementor"))), /* @__PURE__ */ React33.createElement(import_ui23.Grid, { item: true, xs: 6, sx: { display: "flex", justifyContent: "end" } }, /* @__PURE__ */ React33.createElement(import_editor_controls16.ToggleControl, { options: options3 }))))));
1778
+ return /* @__PURE__ */ React34.createElement(import_ui24.DirectionProvider, { rtl: isSiteRtl }, /* @__PURE__ */ React34.createElement(import_ui24.ThemeProvider, null, /* @__PURE__ */ React34.createElement(StylesField, { bind: "flex-direction" }, /* @__PURE__ */ React34.createElement(import_ui24.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React34.createElement(import_ui24.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React34.createElement(import_editor_controls17.ControlLabel, null, (0, import_i18n14.__)("Direction", "elementor"))), /* @__PURE__ */ React34.createElement(import_ui24.Grid, { item: true, xs: 6, sx: { display: "flex", justifyContent: "end" } }, /* @__PURE__ */ React34.createElement(import_editor_controls17.ToggleControl, { options: options3 }))))));
1680
1779
  };
1681
1780
 
1682
1781
  // src/components/style-sections/layout-section/flex-order-field.tsx
1683
- var React34 = __toESM(require("react"));
1684
- var import_react11 = require("react");
1685
- var import_editor_controls17 = require("@elementor/editor-controls");
1782
+ var React35 = __toESM(require("react"));
1783
+ var import_react12 = require("react");
1784
+ var import_editor_controls18 = require("@elementor/editor-controls");
1686
1785
  var import_icons11 = require("@elementor/icons");
1687
- var import_ui24 = require("@elementor/ui");
1688
- var import_i18n14 = require("@wordpress/i18n");
1786
+ var import_ui25 = require("@elementor/ui");
1787
+ var import_i18n15 = require("@wordpress/i18n");
1689
1788
  var FIRST_DEFAULT_VALUE = -99999;
1690
1789
  var LAST_DEFAULT_VALUE = 99999;
1691
1790
  var FIRST = "first";
@@ -1698,26 +1797,26 @@ var orderValueMap = {
1698
1797
  var items = [
1699
1798
  {
1700
1799
  value: FIRST,
1701
- label: (0, import_i18n14.__)("First", "elementor"),
1702
- renderContent: ({ size }) => /* @__PURE__ */ React34.createElement(import_icons11.ArrowUpSmallIcon, { fontSize: size }),
1800
+ label: (0, import_i18n15.__)("First", "elementor"),
1801
+ renderContent: ({ size }) => /* @__PURE__ */ React35.createElement(import_icons11.ArrowUpSmallIcon, { fontSize: size }),
1703
1802
  showTooltip: true
1704
1803
  },
1705
1804
  {
1706
1805
  value: LAST,
1707
- label: (0, import_i18n14.__)("Last", "elementor"),
1708
- renderContent: ({ size }) => /* @__PURE__ */ React34.createElement(import_icons11.ArrowDownSmallIcon, { fontSize: size }),
1806
+ label: (0, import_i18n15.__)("Last", "elementor"),
1807
+ renderContent: ({ size }) => /* @__PURE__ */ React35.createElement(import_icons11.ArrowDownSmallIcon, { fontSize: size }),
1709
1808
  showTooltip: true
1710
1809
  },
1711
1810
  {
1712
1811
  value: CUSTOM,
1713
- label: (0, import_i18n14.__)("Custom", "elementor"),
1714
- renderContent: ({ size }) => /* @__PURE__ */ React34.createElement(import_icons11.PencilIcon, { fontSize: size }),
1812
+ label: (0, import_i18n15.__)("Custom", "elementor"),
1813
+ renderContent: ({ size }) => /* @__PURE__ */ React35.createElement(import_icons11.PencilIcon, { fontSize: size }),
1715
1814
  showTooltip: true
1716
1815
  }
1717
1816
  ];
1718
1817
  var FlexOrderField = () => {
1719
1818
  const { isSiteRtl } = useDirection(), [order, setOrder] = useStylesField("order");
1720
- const [groupControlValue, setGroupControlValue] = (0, import_react11.useState)(getGroupControlValue(order?.value || null));
1819
+ const [groupControlValue, setGroupControlValue] = (0, import_react12.useState)(getGroupControlValue(order?.value || null));
1721
1820
  const handleToggleButtonChange = (group) => {
1722
1821
  setGroupControlValue(group);
1723
1822
  if (!group || group === CUSTOM) {
@@ -1726,16 +1825,16 @@ var FlexOrderField = () => {
1726
1825
  }
1727
1826
  setOrder({ $$type: "number", value: orderValueMap[group] });
1728
1827
  };
1729
- return /* @__PURE__ */ React34.createElement(import_ui24.DirectionProvider, { rtl: isSiteRtl }, /* @__PURE__ */ React34.createElement(import_ui24.ThemeProvider, null, /* @__PURE__ */ React34.createElement(SectionContent, null, /* @__PURE__ */ React34.createElement(import_ui24.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React34.createElement(import_ui24.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React34.createElement(import_editor_controls17.ControlLabel, null, (0, import_i18n14.__)("Order", "elementor"))), /* @__PURE__ */ React34.createElement(import_ui24.Grid, { item: true, xs: 6, sx: { display: "flex", justifyContent: "end" } }, /* @__PURE__ */ React34.createElement(
1730
- import_editor_controls17.ControlToggleButtonGroup,
1828
+ return /* @__PURE__ */ React35.createElement(import_ui25.DirectionProvider, { rtl: isSiteRtl }, /* @__PURE__ */ React35.createElement(import_ui25.ThemeProvider, null, /* @__PURE__ */ React35.createElement(SectionContent, null, /* @__PURE__ */ React35.createElement(import_ui25.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React35.createElement(import_ui25.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React35.createElement(import_editor_controls18.ControlLabel, null, (0, import_i18n15.__)("Order", "elementor"))), /* @__PURE__ */ React35.createElement(import_ui25.Grid, { item: true, xs: 6, sx: { display: "flex", justifyContent: "end" } }, /* @__PURE__ */ React35.createElement(
1829
+ import_editor_controls18.ControlToggleButtonGroup,
1731
1830
  {
1732
1831
  items,
1733
1832
  value: groupControlValue,
1734
1833
  onChange: handleToggleButtonChange,
1735
1834
  exclusive: true
1736
1835
  }
1737
- ))), CUSTOM === groupControlValue && /* @__PURE__ */ React34.createElement(StylesField, { bind: "order" }, /* @__PURE__ */ React34.createElement(import_ui24.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React34.createElement(import_ui24.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React34.createElement(import_editor_controls17.ControlLabel, null, (0, import_i18n14.__)("Custom order", "elementor"))), /* @__PURE__ */ React34.createElement(import_ui24.Grid, { item: true, xs: 6, sx: { display: "flex", justifyContent: "end" } }, /* @__PURE__ */ React34.createElement(
1738
- import_editor_controls17.NumberControl,
1836
+ ))), CUSTOM === groupControlValue && /* @__PURE__ */ React35.createElement(StylesField, { bind: "order" }, /* @__PURE__ */ React35.createElement(import_ui25.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React35.createElement(import_ui25.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React35.createElement(import_editor_controls18.ControlLabel, null, (0, import_i18n15.__)("Custom order", "elementor"))), /* @__PURE__ */ React35.createElement(import_ui25.Grid, { item: true, xs: 6, sx: { display: "flex", justifyContent: "end" } }, /* @__PURE__ */ React35.createElement(
1837
+ import_editor_controls18.NumberControl,
1739
1838
  {
1740
1839
  min: FIRST_DEFAULT_VALUE + 1,
1741
1840
  max: LAST_DEFAULT_VALUE - 1,
@@ -1754,37 +1853,37 @@ var getGroupControlValue = (order) => {
1754
1853
  };
1755
1854
 
1756
1855
  // src/components/style-sections/layout-section/flex-size-field.tsx
1757
- var React35 = __toESM(require("react"));
1758
- var import_react12 = require("react");
1759
- var import_editor_controls18 = require("@elementor/editor-controls");
1856
+ var React36 = __toESM(require("react"));
1857
+ var import_react13 = require("react");
1858
+ var import_editor_controls19 = require("@elementor/editor-controls");
1760
1859
  var import_icons12 = require("@elementor/icons");
1761
- var import_ui25 = require("@elementor/ui");
1762
- var import_i18n15 = require("@wordpress/i18n");
1860
+ var import_ui26 = require("@elementor/ui");
1861
+ var import_i18n16 = require("@wordpress/i18n");
1763
1862
  var DEFAULT = 1;
1764
1863
  var items2 = [
1765
1864
  {
1766
1865
  value: "flex-grow",
1767
- label: (0, import_i18n15.__)("Grow", "elementor"),
1768
- renderContent: ({ size }) => /* @__PURE__ */ React35.createElement(import_icons12.ExpandIcon, { fontSize: size }),
1866
+ label: (0, import_i18n16.__)("Grow", "elementor"),
1867
+ renderContent: ({ size }) => /* @__PURE__ */ React36.createElement(import_icons12.ExpandIcon, { fontSize: size }),
1769
1868
  showTooltip: true
1770
1869
  },
1771
1870
  {
1772
1871
  value: "flex-shrink",
1773
- label: (0, import_i18n15.__)("Shrink", "elementor"),
1774
- renderContent: ({ size }) => /* @__PURE__ */ React35.createElement(import_icons12.ShrinkIcon, { fontSize: size }),
1872
+ label: (0, import_i18n16.__)("Shrink", "elementor"),
1873
+ renderContent: ({ size }) => /* @__PURE__ */ React36.createElement(import_icons12.ShrinkIcon, { fontSize: size }),
1775
1874
  showTooltip: true
1776
1875
  },
1777
1876
  {
1778
1877
  value: "custom",
1779
- label: (0, import_i18n15.__)("Custom", "elementor"),
1780
- renderContent: ({ size }) => /* @__PURE__ */ React35.createElement(import_icons12.PencilIcon, { fontSize: size }),
1878
+ label: (0, import_i18n16.__)("Custom", "elementor"),
1879
+ renderContent: ({ size }) => /* @__PURE__ */ React36.createElement(import_icons12.PencilIcon, { fontSize: size }),
1781
1880
  showTooltip: true
1782
1881
  }
1783
1882
  ];
1784
1883
  var FlexSizeField = () => {
1785
1884
  const { isSiteRtl } = useDirection(), [growField, setGrowField] = useStylesField("flex-grow"), [shrinkField, setShrinkField] = useStylesField("flex-shrink"), [basisField, setBasisField] = useStylesField("flex-basis");
1786
1885
  const grow = growField?.value || null, shrink = shrinkField?.value || null, basis = basisField?.value || null;
1787
- const currentGroup = (0, import_react12.useMemo)(() => getActiveGroup({ grow, shrink, basis }), [grow, shrink, basis]), [activeGroup, setActiveGroup] = (0, import_react12.useState)(currentGroup);
1886
+ const currentGroup = (0, import_react13.useMemo)(() => getActiveGroup({ grow, shrink, basis }), [grow, shrink, basis]), [activeGroup, setActiveGroup] = (0, import_react13.useState)(currentGroup);
1788
1887
  const onChangeGroup = (group = null) => {
1789
1888
  setActiveGroup(group);
1790
1889
  setBasisField(null);
@@ -1801,17 +1900,17 @@ var FlexSizeField = () => {
1801
1900
  setGrowField(null);
1802
1901
  setShrinkField({ $$type: "number", value: DEFAULT });
1803
1902
  };
1804
- return /* @__PURE__ */ React35.createElement(import_ui25.DirectionProvider, { rtl: isSiteRtl }, /* @__PURE__ */ React35.createElement(import_ui25.ThemeProvider, null, /* @__PURE__ */ React35.createElement(SectionContent, null, /* @__PURE__ */ React35.createElement(import_ui25.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React35.createElement(import_ui25.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React35.createElement(import_editor_controls18.ControlLabel, null, (0, import_i18n15.__)("Size", "elementor"))), /* @__PURE__ */ React35.createElement(import_ui25.Grid, { item: true, xs: 6, sx: { display: "flex", justifyContent: "end" } }, /* @__PURE__ */ React35.createElement(
1805
- import_editor_controls18.ControlToggleButtonGroup,
1903
+ return /* @__PURE__ */ React36.createElement(import_ui26.DirectionProvider, { rtl: isSiteRtl }, /* @__PURE__ */ React36.createElement(import_ui26.ThemeProvider, null, /* @__PURE__ */ React36.createElement(SectionContent, null, /* @__PURE__ */ React36.createElement(import_ui26.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React36.createElement(import_ui26.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React36.createElement(import_editor_controls19.ControlLabel, null, (0, import_i18n16.__)("Size", "elementor"))), /* @__PURE__ */ React36.createElement(import_ui26.Grid, { item: true, xs: 6, sx: { display: "flex", justifyContent: "end" } }, /* @__PURE__ */ React36.createElement(
1904
+ import_editor_controls19.ControlToggleButtonGroup,
1806
1905
  {
1807
1906
  value: activeGroup,
1808
1907
  onChange: onChangeGroup,
1809
1908
  items: items2,
1810
1909
  exclusive: true
1811
1910
  }
1812
- ))), "custom" === activeGroup && /* @__PURE__ */ React35.createElement(FlexCustomField, null))));
1911
+ ))), "custom" === activeGroup && /* @__PURE__ */ React36.createElement(FlexCustomField, null))));
1813
1912
  };
1814
- var FlexCustomField = () => /* @__PURE__ */ React35.createElement(React35.Fragment, null, /* @__PURE__ */ React35.createElement(StylesField, { bind: "flex-grow" }, /* @__PURE__ */ React35.createElement(import_ui25.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React35.createElement(import_ui25.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React35.createElement(import_editor_controls18.ControlLabel, null, (0, import_i18n15.__)("Grow", "elementor"))), /* @__PURE__ */ React35.createElement(import_ui25.Grid, { item: true, xs: 6, sx: { display: "flex", justifyContent: "end" } }, /* @__PURE__ */ React35.createElement(import_editor_controls18.NumberControl, { min: 0, shouldForceInt: true })))), /* @__PURE__ */ React35.createElement(StylesField, { bind: "flex-shrink" }, /* @__PURE__ */ React35.createElement(import_ui25.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React35.createElement(import_ui25.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React35.createElement(import_editor_controls18.ControlLabel, null, (0, import_i18n15.__)("Shrink", "elementor"))), /* @__PURE__ */ React35.createElement(import_ui25.Grid, { item: true, xs: 6, sx: { display: "flex", justifyContent: "end" } }, /* @__PURE__ */ React35.createElement(import_editor_controls18.NumberControl, { min: 0, shouldForceInt: true })))), /* @__PURE__ */ React35.createElement(StylesField, { bind: "flex-basis" }, /* @__PURE__ */ React35.createElement(import_ui25.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React35.createElement(import_ui25.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React35.createElement(import_editor_controls18.ControlLabel, null, (0, import_i18n15.__)("Basis", "elementor"))), /* @__PURE__ */ React35.createElement(import_ui25.Grid, { item: true, xs: 6, sx: { display: "flex", justifyContent: "end" } }, /* @__PURE__ */ React35.createElement(import_editor_controls18.SizeControl, { extendedValues: ["auto"] })))));
1913
+ var FlexCustomField = () => /* @__PURE__ */ React36.createElement(React36.Fragment, null, /* @__PURE__ */ React36.createElement(StylesField, { bind: "flex-grow" }, /* @__PURE__ */ React36.createElement(import_ui26.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React36.createElement(import_ui26.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React36.createElement(import_editor_controls19.ControlLabel, null, (0, import_i18n16.__)("Grow", "elementor"))), /* @__PURE__ */ React36.createElement(import_ui26.Grid, { item: true, xs: 6, sx: { display: "flex", justifyContent: "end" } }, /* @__PURE__ */ React36.createElement(import_editor_controls19.NumberControl, { min: 0, shouldForceInt: true })))), /* @__PURE__ */ React36.createElement(StylesField, { bind: "flex-shrink" }, /* @__PURE__ */ React36.createElement(import_ui26.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React36.createElement(import_ui26.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React36.createElement(import_editor_controls19.ControlLabel, null, (0, import_i18n16.__)("Shrink", "elementor"))), /* @__PURE__ */ React36.createElement(import_ui26.Grid, { item: true, xs: 6, sx: { display: "flex", justifyContent: "end" } }, /* @__PURE__ */ React36.createElement(import_editor_controls19.NumberControl, { min: 0, shouldForceInt: true })))), /* @__PURE__ */ React36.createElement(StylesField, { bind: "flex-basis" }, /* @__PURE__ */ React36.createElement(import_ui26.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React36.createElement(import_ui26.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React36.createElement(import_editor_controls19.ControlLabel, null, (0, import_i18n16.__)("Basis", "elementor"))), /* @__PURE__ */ React36.createElement(import_ui26.Grid, { item: true, xs: 6, sx: { display: "flex", justifyContent: "end" } }, /* @__PURE__ */ React36.createElement(import_editor_controls19.SizeControl, { extendedValues: ["auto"] })))));
1815
1914
  var getActiveGroup = ({
1816
1915
  grow,
1817
1916
  shrink,
@@ -1833,22 +1932,22 @@ var getActiveGroup = ({
1833
1932
  };
1834
1933
 
1835
1934
  // src/components/style-sections/layout-section/gap-control-field.tsx
1836
- var React36 = __toESM(require("react"));
1837
- var import_editor_controls19 = require("@elementor/editor-controls");
1838
- var import_ui26 = require("@elementor/ui");
1839
- var import_i18n16 = require("@wordpress/i18n");
1935
+ var React37 = __toESM(require("react"));
1936
+ var import_editor_controls20 = require("@elementor/editor-controls");
1937
+ var import_ui27 = require("@elementor/ui");
1938
+ var import_i18n17 = require("@wordpress/i18n");
1840
1939
  var GapControlField = () => {
1841
- return /* @__PURE__ */ React36.createElement(import_ui26.Stack, { gap: 1 }, /* @__PURE__ */ React36.createElement(StylesField, { bind: "gap" }, /* @__PURE__ */ React36.createElement(import_editor_controls19.GapControl, { label: (0, import_i18n16.__)("Gaps", "elementor") })));
1940
+ return /* @__PURE__ */ React37.createElement(import_ui27.Stack, { gap: 1 }, /* @__PURE__ */ React37.createElement(StylesField, { bind: "gap" }, /* @__PURE__ */ React37.createElement(import_editor_controls20.GapControl, { label: (0, import_i18n17.__)("Gaps", "elementor") })));
1842
1941
  };
1843
1942
 
1844
1943
  // src/components/style-sections/layout-section/justify-content-field.tsx
1845
- var React37 = __toESM(require("react"));
1846
- var import_editor_controls20 = require("@elementor/editor-controls");
1944
+ var React38 = __toESM(require("react"));
1945
+ var import_editor_controls21 = require("@elementor/editor-controls");
1847
1946
  var import_icons13 = require("@elementor/icons");
1848
- var import_ui27 = require("@elementor/ui");
1849
- var import_i18n17 = require("@wordpress/i18n");
1850
- var StartIcon3 = (0, import_ui27.withDirection)(import_icons13.JustifyTopIcon);
1851
- var EndIcon3 = (0, import_ui27.withDirection)(import_icons13.JustifyBottomIcon);
1947
+ var import_ui28 = require("@elementor/ui");
1948
+ var import_i18n18 = require("@wordpress/i18n");
1949
+ var StartIcon3 = (0, import_ui28.withDirection)(import_icons13.JustifyTopIcon);
1950
+ var EndIcon3 = (0, import_ui28.withDirection)(import_icons13.JustifyBottomIcon);
1852
1951
  var iconProps3 = {
1853
1952
  isClockwise: true,
1854
1953
  offset: -90
@@ -1856,75 +1955,75 @@ var iconProps3 = {
1856
1955
  var options4 = [
1857
1956
  {
1858
1957
  value: "start",
1859
- label: (0, import_i18n17.__)("Start", "elementor"),
1860
- renderContent: ({ size }) => /* @__PURE__ */ React37.createElement(RotatedIcon, { icon: StartIcon3, size, ...iconProps3 }),
1958
+ label: (0, import_i18n18.__)("Start", "elementor"),
1959
+ renderContent: ({ size }) => /* @__PURE__ */ React38.createElement(RotatedIcon, { icon: StartIcon3, size, ...iconProps3 }),
1861
1960
  showTooltip: true
1862
1961
  },
1863
1962
  {
1864
1963
  value: "center",
1865
- label: (0, import_i18n17.__)("Center", "elementor"),
1866
- renderContent: ({ size }) => /* @__PURE__ */ React37.createElement(RotatedIcon, { icon: import_icons13.JustifyCenterIcon, size, ...iconProps3 }),
1964
+ label: (0, import_i18n18.__)("Center", "elementor"),
1965
+ renderContent: ({ size }) => /* @__PURE__ */ React38.createElement(RotatedIcon, { icon: import_icons13.JustifyCenterIcon, size, ...iconProps3 }),
1867
1966
  showTooltip: true
1868
1967
  },
1869
1968
  {
1870
1969
  value: "end",
1871
- label: (0, import_i18n17.__)("End", "elementor"),
1872
- renderContent: ({ size }) => /* @__PURE__ */ React37.createElement(RotatedIcon, { icon: EndIcon3, size, ...iconProps3 }),
1970
+ label: (0, import_i18n18.__)("End", "elementor"),
1971
+ renderContent: ({ size }) => /* @__PURE__ */ React38.createElement(RotatedIcon, { icon: EndIcon3, size, ...iconProps3 }),
1873
1972
  showTooltip: true
1874
1973
  },
1875
1974
  {
1876
1975
  value: "space-between",
1877
- label: (0, import_i18n17.__)("Space between", "elementor"),
1878
- renderContent: ({ size }) => /* @__PURE__ */ React37.createElement(RotatedIcon, { icon: import_icons13.JustifySpaceBetweenVerticalIcon, size, ...iconProps3 }),
1976
+ label: (0, import_i18n18.__)("Space between", "elementor"),
1977
+ renderContent: ({ size }) => /* @__PURE__ */ React38.createElement(RotatedIcon, { icon: import_icons13.JustifySpaceBetweenVerticalIcon, size, ...iconProps3 }),
1879
1978
  showTooltip: true
1880
1979
  },
1881
1980
  {
1882
1981
  value: "space-around",
1883
- label: (0, import_i18n17.__)("Space around", "elementor"),
1884
- renderContent: ({ size }) => /* @__PURE__ */ React37.createElement(RotatedIcon, { icon: import_icons13.JustifySpaceAroundVerticalIcon, size, ...iconProps3 }),
1982
+ label: (0, import_i18n18.__)("Space around", "elementor"),
1983
+ renderContent: ({ size }) => /* @__PURE__ */ React38.createElement(RotatedIcon, { icon: import_icons13.JustifySpaceAroundVerticalIcon, size, ...iconProps3 }),
1885
1984
  showTooltip: true
1886
1985
  },
1887
1986
  {
1888
1987
  value: "space-evenly",
1889
- label: (0, import_i18n17.__)("Space evenly", "elementor"),
1890
- renderContent: ({ size }) => /* @__PURE__ */ React37.createElement(RotatedIcon, { icon: import_icons13.JustifyDistributeVerticalIcon, size, ...iconProps3 }),
1988
+ label: (0, import_i18n18.__)("Space evenly", "elementor"),
1989
+ renderContent: ({ size }) => /* @__PURE__ */ React38.createElement(RotatedIcon, { icon: import_icons13.JustifyDistributeVerticalIcon, size, ...iconProps3 }),
1891
1990
  showTooltip: true
1892
1991
  }
1893
1992
  ];
1894
1993
  var JustifyContentField = () => {
1895
1994
  const { isSiteRtl } = useDirection();
1896
- return /* @__PURE__ */ React37.createElement(import_ui27.DirectionProvider, { rtl: isSiteRtl }, /* @__PURE__ */ React37.createElement(import_ui27.ThemeProvider, null, /* @__PURE__ */ React37.createElement(StylesField, { bind: "justify-content" }, /* @__PURE__ */ React37.createElement(import_ui27.Stack, { gap: 1 }, /* @__PURE__ */ React37.createElement(import_editor_controls20.ControlLabel, null, (0, import_i18n17.__)("Justify content", "elementor")), /* @__PURE__ */ React37.createElement(import_editor_controls20.ToggleControl, { options: options4, fullWidth: true })))));
1995
+ return /* @__PURE__ */ React38.createElement(import_ui28.DirectionProvider, { rtl: isSiteRtl }, /* @__PURE__ */ React38.createElement(import_ui28.ThemeProvider, null, /* @__PURE__ */ React38.createElement(StylesField, { bind: "justify-content" }, /* @__PURE__ */ React38.createElement(import_ui28.Stack, { gap: 1 }, /* @__PURE__ */ React38.createElement(import_editor_controls21.ControlLabel, null, (0, import_i18n18.__)("Justify content", "elementor")), /* @__PURE__ */ React38.createElement(import_editor_controls21.ToggleControl, { options: options4, fullWidth: true })))));
1897
1996
  };
1898
1997
 
1899
1998
  // src/components/style-sections/layout-section/wrap-field.tsx
1900
- var React38 = __toESM(require("react"));
1901
- var import_editor_controls21 = require("@elementor/editor-controls");
1999
+ var React39 = __toESM(require("react"));
2000
+ var import_editor_controls22 = require("@elementor/editor-controls");
1902
2001
  var import_icons14 = require("@elementor/icons");
1903
- var import_ui28 = require("@elementor/ui");
1904
- var import_i18n18 = require("@wordpress/i18n");
2002
+ var import_ui29 = require("@elementor/ui");
2003
+ var import_i18n19 = require("@wordpress/i18n");
1905
2004
  var options5 = [
1906
2005
  {
1907
2006
  value: "nowrap",
1908
- label: (0, import_i18n18.__)("No wrap", "elementor"),
1909
- renderContent: ({ size }) => /* @__PURE__ */ React38.createElement(import_icons14.ArrowRightIcon, { fontSize: size }),
2007
+ label: (0, import_i18n19.__)("No wrap", "elementor"),
2008
+ renderContent: ({ size }) => /* @__PURE__ */ React39.createElement(import_icons14.ArrowRightIcon, { fontSize: size }),
1910
2009
  showTooltip: true
1911
2010
  },
1912
2011
  {
1913
2012
  value: "wrap",
1914
- label: (0, import_i18n18.__)("Wrap", "elementor"),
1915
- renderContent: ({ size }) => /* @__PURE__ */ React38.createElement(import_icons14.ArrowBackIcon, { fontSize: size }),
2013
+ label: (0, import_i18n19.__)("Wrap", "elementor"),
2014
+ renderContent: ({ size }) => /* @__PURE__ */ React39.createElement(import_icons14.ArrowBackIcon, { fontSize: size }),
1916
2015
  showTooltip: true
1917
2016
  },
1918
2017
  {
1919
2018
  value: "wrap-reverse",
1920
- label: (0, import_i18n18.__)("Reversed wrap", "elementor"),
1921
- renderContent: ({ size }) => /* @__PURE__ */ React38.createElement(import_icons14.ArrowForwardIcon, { fontSize: size }),
2019
+ label: (0, import_i18n19.__)("Reversed wrap", "elementor"),
2020
+ renderContent: ({ size }) => /* @__PURE__ */ React39.createElement(import_icons14.ArrowForwardIcon, { fontSize: size }),
1922
2021
  showTooltip: true
1923
2022
  }
1924
2023
  ];
1925
2024
  var WrapField = () => {
1926
2025
  const { isSiteRtl } = useDirection();
1927
- return /* @__PURE__ */ React38.createElement(import_ui28.DirectionProvider, { rtl: isSiteRtl }, /* @__PURE__ */ React38.createElement(import_ui28.ThemeProvider, null, /* @__PURE__ */ React38.createElement(StylesField, { bind: "flex-wrap" }, /* @__PURE__ */ React38.createElement(import_ui28.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React38.createElement(import_ui28.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React38.createElement(import_editor_controls21.ControlLabel, null, (0, import_i18n18.__)("Wrap", "elementor"))), /* @__PURE__ */ React38.createElement(import_ui28.Grid, { item: true, xs: 6, sx: { display: "flex", justifyContent: "flex-end" } }, /* @__PURE__ */ React38.createElement(import_editor_controls21.ToggleControl, { options: options5 }))))));
2026
+ return /* @__PURE__ */ React39.createElement(import_ui29.DirectionProvider, { rtl: isSiteRtl }, /* @__PURE__ */ React39.createElement(import_ui29.ThemeProvider, null, /* @__PURE__ */ React39.createElement(StylesField, { bind: "flex-wrap" }, /* @__PURE__ */ React39.createElement(import_ui29.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React39.createElement(import_ui29.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React39.createElement(import_editor_controls22.ControlLabel, null, (0, import_i18n19.__)("Wrap", "elementor"))), /* @__PURE__ */ React39.createElement(import_ui29.Grid, { item: true, xs: 6, sx: { display: "flex", justifyContent: "flex-end" } }, /* @__PURE__ */ React39.createElement(import_editor_controls22.ToggleControl, { options: options5 }))))));
1928
2027
  };
1929
2028
 
1930
2029
  // src/components/style-sections/layout-section/layout-section.tsx
@@ -1933,62 +2032,62 @@ var LayoutSection = () => {
1933
2032
  const { element } = useElement();
1934
2033
  const parent = (0, import_editor_elements6.useParentElement)(element.id);
1935
2034
  const parentStyle = useComputedStyle(parent?.id || null);
1936
- return /* @__PURE__ */ React39.createElement(SectionContent, null, /* @__PURE__ */ React39.createElement(DisplayField, null), ("flex" === display?.value || "inline-flex" === display?.value) && /* @__PURE__ */ React39.createElement(FlexFields, null), "flex" === parentStyle?.display && /* @__PURE__ */ React39.createElement(FlexChildFields, null));
2035
+ return /* @__PURE__ */ React40.createElement(SectionContent, null, /* @__PURE__ */ React40.createElement(DisplayField, null), ("flex" === display?.value || "inline-flex" === display?.value) && /* @__PURE__ */ React40.createElement(FlexFields, null), "flex" === parentStyle?.display && /* @__PURE__ */ React40.createElement(FlexChildFields, null));
1937
2036
  };
1938
- var FlexFields = () => /* @__PURE__ */ React39.createElement(React39.Fragment, null, /* @__PURE__ */ React39.createElement(FlexDirectionField, null), /* @__PURE__ */ React39.createElement(JustifyContentField, null), /* @__PURE__ */ React39.createElement(AlignItemsField, null), /* @__PURE__ */ React39.createElement(PanelDivider, null), /* @__PURE__ */ React39.createElement(GapControlField, null), /* @__PURE__ */ React39.createElement(WrapField, null));
1939
- var FlexChildFields = () => /* @__PURE__ */ React39.createElement(React39.Fragment, null, /* @__PURE__ */ React39.createElement(PanelDivider, null), /* @__PURE__ */ React39.createElement(import_editor_controls22.ControlLabel, null, (0, import_i18n19.__)("Flex child", "elementor")), /* @__PURE__ */ React39.createElement(AlignSelfChild, null), /* @__PURE__ */ React39.createElement(FlexOrderField, null), /* @__PURE__ */ React39.createElement(FlexSizeField, null));
2037
+ var FlexFields = () => /* @__PURE__ */ React40.createElement(React40.Fragment, null, /* @__PURE__ */ React40.createElement(FlexDirectionField, null), /* @__PURE__ */ React40.createElement(JustifyContentField, null), /* @__PURE__ */ React40.createElement(AlignItemsField, null), /* @__PURE__ */ React40.createElement(PanelDivider, null), /* @__PURE__ */ React40.createElement(GapControlField, null), /* @__PURE__ */ React40.createElement(WrapField, null));
2038
+ var FlexChildFields = () => /* @__PURE__ */ React40.createElement(React40.Fragment, null, /* @__PURE__ */ React40.createElement(PanelDivider, null), /* @__PURE__ */ React40.createElement(import_editor_controls23.ControlLabel, null, (0, import_i18n20.__)("Flex child", "elementor")), /* @__PURE__ */ React40.createElement(AlignSelfChild, null), /* @__PURE__ */ React40.createElement(FlexOrderField, null), /* @__PURE__ */ React40.createElement(FlexSizeField, null));
1940
2039
 
1941
2040
  // src/components/style-sections/position-section/position-section.tsx
1942
- var React43 = __toESM(require("react"));
2041
+ var React44 = __toESM(require("react"));
1943
2042
  var import_session2 = require("@elementor/session");
1944
2043
 
1945
2044
  // src/components/style-sections/position-section/dimensions-field.tsx
1946
- var React40 = __toESM(require("react"));
1947
- var import_editor_controls23 = require("@elementor/editor-controls");
2045
+ var React41 = __toESM(require("react"));
2046
+ var import_editor_controls24 = require("@elementor/editor-controls");
1948
2047
  var import_icons15 = require("@elementor/icons");
1949
- var import_ui29 = require("@elementor/ui");
1950
- var import_i18n20 = require("@wordpress/i18n");
1951
- var InlineStartIcon2 = (0, import_ui29.withDirection)(import_icons15.SideLeftIcon);
1952
- var InlineEndIcon2 = (0, import_ui29.withDirection)(import_icons15.SideRightIcon);
2048
+ var import_ui30 = require("@elementor/ui");
2049
+ var import_i18n21 = require("@wordpress/i18n");
2050
+ var InlineStartIcon2 = (0, import_ui30.withDirection)(import_icons15.SideLeftIcon);
2051
+ var InlineEndIcon2 = (0, import_ui30.withDirection)(import_icons15.SideRightIcon);
1953
2052
  var sideIcons = {
1954
- "inset-block-start": /* @__PURE__ */ React40.createElement(import_icons15.SideTopIcon, { fontSize: "tiny" }),
1955
- "inset-block-end": /* @__PURE__ */ React40.createElement(import_icons15.SideBottomIcon, { fontSize: "tiny" }),
1956
- "inset-inline-start": /* @__PURE__ */ React40.createElement(RotatedIcon, { icon: InlineStartIcon2, size: "tiny" }),
1957
- "inset-inline-end": /* @__PURE__ */ React40.createElement(RotatedIcon, { icon: InlineEndIcon2, size: "tiny" })
2053
+ "inset-block-start": /* @__PURE__ */ React41.createElement(import_icons15.SideTopIcon, { fontSize: "tiny" }),
2054
+ "inset-block-end": /* @__PURE__ */ React41.createElement(import_icons15.SideBottomIcon, { fontSize: "tiny" }),
2055
+ "inset-inline-start": /* @__PURE__ */ React41.createElement(RotatedIcon, { icon: InlineStartIcon2, size: "tiny" }),
2056
+ "inset-inline-end": /* @__PURE__ */ React41.createElement(RotatedIcon, { icon: InlineEndIcon2, size: "tiny" })
1958
2057
  };
1959
- var getInlineStartLabel = (isSiteRtl) => isSiteRtl ? (0, import_i18n20.__)("Right", "elementor") : (0, import_i18n20.__)("Left", "elementor");
1960
- var getInlineEndLabel = (isSiteRtl) => isSiteRtl ? (0, import_i18n20.__)("Left", "elementor") : (0, import_i18n20.__)("Right", "elementor");
2058
+ var getInlineStartLabel = (isSiteRtl) => isSiteRtl ? (0, import_i18n21.__)("Right", "elementor") : (0, import_i18n21.__)("Left", "elementor");
2059
+ var getInlineEndLabel = (isSiteRtl) => isSiteRtl ? (0, import_i18n21.__)("Left", "elementor") : (0, import_i18n21.__)("Right", "elementor");
1961
2060
  var DimensionsField = () => {
1962
2061
  const { isSiteRtl } = useDirection();
1963
- return /* @__PURE__ */ React40.createElement(React40.Fragment, null, /* @__PURE__ */ React40.createElement(import_ui29.Stack, { direction: "row", gap: 2, flexWrap: "nowrap" }, /* @__PURE__ */ React40.createElement(DimensionField, { side: "inset-block-start", label: (0, import_i18n20.__)("Top", "elementor") }), /* @__PURE__ */ React40.createElement(DimensionField, { side: "inset-inline-end", label: getInlineEndLabel(isSiteRtl) })), /* @__PURE__ */ React40.createElement(import_ui29.Stack, { direction: "row", gap: 2, flexWrap: "nowrap" }, /* @__PURE__ */ React40.createElement(DimensionField, { side: "inset-block-end", label: (0, import_i18n20.__)("Bottom", "elementor") }), /* @__PURE__ */ React40.createElement(DimensionField, { side: "inset-inline-start", label: getInlineStartLabel(isSiteRtl) })));
2062
+ return /* @__PURE__ */ React41.createElement(React41.Fragment, null, /* @__PURE__ */ React41.createElement(import_ui30.Stack, { direction: "row", gap: 2, flexWrap: "nowrap" }, /* @__PURE__ */ React41.createElement(DimensionField, { side: "inset-block-start", label: (0, import_i18n21.__)("Top", "elementor") }), /* @__PURE__ */ React41.createElement(DimensionField, { side: "inset-inline-end", label: getInlineEndLabel(isSiteRtl) })), /* @__PURE__ */ React41.createElement(import_ui30.Stack, { direction: "row", gap: 2, flexWrap: "nowrap" }, /* @__PURE__ */ React41.createElement(DimensionField, { side: "inset-block-end", label: (0, import_i18n21.__)("Bottom", "elementor") }), /* @__PURE__ */ React41.createElement(DimensionField, { side: "inset-inline-start", label: getInlineStartLabel(isSiteRtl) })));
1964
2063
  };
1965
2064
  var DimensionField = ({ side, label }) => {
1966
- return /* @__PURE__ */ React40.createElement(import_ui29.Grid, { container: true, gap: 1, alignItems: "center" }, /* @__PURE__ */ React40.createElement(import_ui29.Grid, { item: true, xs: 12 }, /* @__PURE__ */ React40.createElement(import_editor_controls23.ControlLabel, null, label)), /* @__PURE__ */ React40.createElement(import_ui29.Grid, { item: true, xs: 12 }, /* @__PURE__ */ React40.createElement(StylesField, { bind: side }, /* @__PURE__ */ React40.createElement(import_editor_controls23.SizeControl, { startIcon: sideIcons[side], extendedValues: ["auto"] }))));
2065
+ return /* @__PURE__ */ React41.createElement(import_ui30.Grid, { container: true, gap: 1, alignItems: "center" }, /* @__PURE__ */ React41.createElement(import_ui30.Grid, { item: true, xs: 12 }, /* @__PURE__ */ React41.createElement(import_editor_controls24.ControlLabel, null, label)), /* @__PURE__ */ React41.createElement(import_ui30.Grid, { item: true, xs: 12 }, /* @__PURE__ */ React41.createElement(StylesField, { bind: side }, /* @__PURE__ */ React41.createElement(import_editor_controls24.SizeControl, { startIcon: sideIcons[side], extendedValues: ["auto"] }))));
1967
2066
  };
1968
2067
 
1969
2068
  // src/components/style-sections/position-section/position-field.tsx
1970
- var React41 = __toESM(require("react"));
1971
- var import_editor_controls24 = require("@elementor/editor-controls");
1972
- var import_ui30 = require("@elementor/ui");
1973
- var import_i18n21 = require("@wordpress/i18n");
2069
+ var React42 = __toESM(require("react"));
2070
+ var import_editor_controls25 = require("@elementor/editor-controls");
2071
+ var import_ui31 = require("@elementor/ui");
2072
+ var import_i18n22 = require("@wordpress/i18n");
1974
2073
  var positionOptions = [
1975
- { label: (0, import_i18n21.__)("Static", "elementor"), value: "static" },
1976
- { label: (0, import_i18n21.__)("Relative", "elementor"), value: "relative" },
1977
- { label: (0, import_i18n21.__)("Absolute", "elementor"), value: "absolute" },
1978
- { label: (0, import_i18n21.__)("Fixed", "elementor"), value: "fixed" },
1979
- { label: (0, import_i18n21.__)("Sticky", "elementor"), value: "sticky" }
2074
+ { label: (0, import_i18n22.__)("Static", "elementor"), value: "static" },
2075
+ { label: (0, import_i18n22.__)("Relative", "elementor"), value: "relative" },
2076
+ { label: (0, import_i18n22.__)("Absolute", "elementor"), value: "absolute" },
2077
+ { label: (0, import_i18n22.__)("Fixed", "elementor"), value: "fixed" },
2078
+ { label: (0, import_i18n22.__)("Sticky", "elementor"), value: "sticky" }
1980
2079
  ];
1981
2080
  var PositionField = ({ onChange }) => {
1982
- return /* @__PURE__ */ React41.createElement(StylesField, { bind: "position" }, /* @__PURE__ */ React41.createElement(import_ui30.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React41.createElement(import_ui30.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React41.createElement(import_editor_controls24.ControlLabel, null, (0, import_i18n21.__)("Position", "elementor"))), /* @__PURE__ */ React41.createElement(import_ui30.Grid, { item: true, xs: 6, sx: { overflow: "hidden" } }, /* @__PURE__ */ React41.createElement(import_editor_controls24.SelectControl, { options: positionOptions, onChange }))));
2081
+ return /* @__PURE__ */ React42.createElement(StylesField, { bind: "position" }, /* @__PURE__ */ React42.createElement(import_ui31.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React42.createElement(import_ui31.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React42.createElement(import_editor_controls25.ControlLabel, null, (0, import_i18n22.__)("Position", "elementor"))), /* @__PURE__ */ React42.createElement(import_ui31.Grid, { item: true, xs: 6, sx: { overflow: "hidden" } }, /* @__PURE__ */ React42.createElement(import_editor_controls25.SelectControl, { options: positionOptions, onChange }))));
1983
2082
  };
1984
2083
 
1985
2084
  // src/components/style-sections/position-section/z-index-field.tsx
1986
- var React42 = __toESM(require("react"));
1987
- var import_editor_controls25 = require("@elementor/editor-controls");
1988
- var import_ui31 = require("@elementor/ui");
1989
- var import_i18n22 = require("@wordpress/i18n");
2085
+ var React43 = __toESM(require("react"));
2086
+ var import_editor_controls26 = require("@elementor/editor-controls");
2087
+ var import_ui32 = require("@elementor/ui");
2088
+ var import_i18n23 = require("@wordpress/i18n");
1990
2089
  var ZIndexField = () => {
1991
- return /* @__PURE__ */ React42.createElement(StylesField, { bind: "z-index" }, /* @__PURE__ */ React42.createElement(import_ui31.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React42.createElement(import_ui31.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React42.createElement(import_editor_controls25.ControlLabel, null, (0, import_i18n22.__)("Z-index", "elementor"))), /* @__PURE__ */ React42.createElement(import_ui31.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React42.createElement(import_editor_controls25.NumberControl, null))));
2090
+ return /* @__PURE__ */ React43.createElement(StylesField, { bind: "z-index" }, /* @__PURE__ */ React43.createElement(import_ui32.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React43.createElement(import_ui32.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React43.createElement(import_editor_controls26.ControlLabel, null, (0, import_i18n23.__)("Z-index", "elementor"))), /* @__PURE__ */ React43.createElement(import_ui32.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React43.createElement(import_editor_controls26.NumberControl, null))));
1992
2091
  };
1993
2092
 
1994
2093
  // src/components/style-sections/position-section/position-section.tsx
@@ -2020,7 +2119,7 @@ var PositionSection = () => {
2020
2119
  }
2021
2120
  };
2022
2121
  const isNotStatic = positionValue && positionValue?.value !== "static";
2023
- return /* @__PURE__ */ React43.createElement(SectionContent, null, /* @__PURE__ */ React43.createElement(PositionField, { onChange: onPositionChange }), isNotStatic ? /* @__PURE__ */ React43.createElement(React43.Fragment, null, /* @__PURE__ */ React43.createElement(DimensionsField, null), /* @__PURE__ */ React43.createElement(ZIndexField, null)) : null);
2122
+ return /* @__PURE__ */ React44.createElement(SectionContent, null, /* @__PURE__ */ React44.createElement(PositionField, { onChange: onPositionChange }), isNotStatic ? /* @__PURE__ */ React44.createElement(React44.Fragment, null, /* @__PURE__ */ React44.createElement(DimensionsField, null), /* @__PURE__ */ React44.createElement(ZIndexField, null)) : null);
2024
2123
  };
2025
2124
  var usePersistDimensions = () => {
2026
2125
  const { id: styleDefID, meta } = useStyle();
@@ -2030,116 +2129,116 @@ var usePersistDimensions = () => {
2030
2129
  };
2031
2130
 
2032
2131
  // src/components/style-sections/size-section/size-section.tsx
2132
+ var React46 = __toESM(require("react"));
2133
+ var import_editor_controls28 = require("@elementor/editor-controls");
2134
+ var import_ui34 = require("@elementor/ui");
2135
+ var import_i18n25 = require("@wordpress/i18n");
2136
+
2137
+ // src/components/style-sections/size-section/overflow-field.tsx
2033
2138
  var React45 = __toESM(require("react"));
2034
2139
  var import_editor_controls27 = require("@elementor/editor-controls");
2140
+ var import_icons16 = require("@elementor/icons");
2035
2141
  var import_ui33 = require("@elementor/ui");
2036
2142
  var import_i18n24 = require("@wordpress/i18n");
2037
-
2038
- // src/components/style-sections/size-section/overflow-field.tsx
2039
- var React44 = __toESM(require("react"));
2040
- var import_editor_controls26 = require("@elementor/editor-controls");
2041
- var import_icons16 = require("@elementor/icons");
2042
- var import_ui32 = require("@elementor/ui");
2043
- var import_i18n23 = require("@wordpress/i18n");
2044
2143
  var options6 = [
2045
2144
  {
2046
2145
  value: "visible",
2047
- label: (0, import_i18n23.__)("Visible", "elementor"),
2048
- renderContent: ({ size }) => /* @__PURE__ */ React44.createElement(import_icons16.EyeIcon, { fontSize: size }),
2146
+ label: (0, import_i18n24.__)("Visible", "elementor"),
2147
+ renderContent: ({ size }) => /* @__PURE__ */ React45.createElement(import_icons16.EyeIcon, { fontSize: size }),
2049
2148
  showTooltip: true
2050
2149
  },
2051
2150
  {
2052
2151
  value: "hidden",
2053
- label: (0, import_i18n23.__)("Hidden", "elementor"),
2054
- renderContent: ({ size }) => /* @__PURE__ */ React44.createElement(import_icons16.EyeOffIcon, { fontSize: size }),
2152
+ label: (0, import_i18n24.__)("Hidden", "elementor"),
2153
+ renderContent: ({ size }) => /* @__PURE__ */ React45.createElement(import_icons16.EyeOffIcon, { fontSize: size }),
2055
2154
  showTooltip: true
2056
2155
  },
2057
2156
  {
2058
2157
  value: "auto",
2059
- label: (0, import_i18n23.__)("Auto", "elementor"),
2060
- renderContent: ({ size }) => /* @__PURE__ */ React44.createElement(import_icons16.LetterAIcon, { fontSize: size }),
2158
+ label: (0, import_i18n24.__)("Auto", "elementor"),
2159
+ renderContent: ({ size }) => /* @__PURE__ */ React45.createElement(import_icons16.LetterAIcon, { fontSize: size }),
2061
2160
  showTooltip: true
2062
2161
  }
2063
2162
  ];
2064
2163
  var OverflowField = () => {
2065
- return /* @__PURE__ */ React44.createElement(StylesField, { bind: "overflow" }, /* @__PURE__ */ React44.createElement(import_ui32.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React44.createElement(import_ui32.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React44.createElement(import_editor_controls26.ControlLabel, null, (0, import_i18n23.__)("Overflow", "elementor"))), /* @__PURE__ */ React44.createElement(import_ui32.Grid, { item: true, xs: 6, sx: { display: "flex", justifyContent: "flex-end" } }, /* @__PURE__ */ React44.createElement(import_editor_controls26.ToggleControl, { options: options6 }))));
2164
+ return /* @__PURE__ */ React45.createElement(StylesField, { bind: "overflow" }, /* @__PURE__ */ React45.createElement(import_ui33.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React45.createElement(import_ui33.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React45.createElement(import_editor_controls27.ControlLabel, null, (0, import_i18n24.__)("Overflow", "elementor"))), /* @__PURE__ */ React45.createElement(import_ui33.Grid, { item: true, xs: 6, sx: { display: "flex", justifyContent: "flex-end" } }, /* @__PURE__ */ React45.createElement(import_editor_controls27.ToggleControl, { options: options6 }))));
2066
2165
  };
2067
2166
 
2068
2167
  // src/components/style-sections/size-section/size-section.tsx
2069
2168
  var SizeSection = () => {
2070
- return /* @__PURE__ */ React45.createElement(SectionContent, null, /* @__PURE__ */ React45.createElement(import_ui33.Grid, { container: true, gap: 2, flexWrap: "nowrap" }, /* @__PURE__ */ React45.createElement(import_ui33.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React45.createElement(SizeField, { bind: "width", label: (0, import_i18n24.__)("Width", "elementor"), extendedValues: ["auto"] })), /* @__PURE__ */ React45.createElement(import_ui33.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React45.createElement(SizeField, { bind: "height", label: (0, import_i18n24.__)("Height", "elementor"), extendedValues: ["auto"] }))), /* @__PURE__ */ React45.createElement(import_ui33.Grid, { container: true, gap: 2, flexWrap: "nowrap" }, /* @__PURE__ */ React45.createElement(import_ui33.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React45.createElement(
2169
+ return /* @__PURE__ */ React46.createElement(SectionContent, null, /* @__PURE__ */ React46.createElement(import_ui34.Grid, { container: true, gap: 2, flexWrap: "nowrap" }, /* @__PURE__ */ React46.createElement(import_ui34.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React46.createElement(SizeField, { bind: "width", label: (0, import_i18n25.__)("Width", "elementor"), extendedValues: ["auto"] })), /* @__PURE__ */ React46.createElement(import_ui34.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React46.createElement(SizeField, { bind: "height", label: (0, import_i18n25.__)("Height", "elementor"), extendedValues: ["auto"] }))), /* @__PURE__ */ React46.createElement(import_ui34.Grid, { container: true, gap: 2, flexWrap: "nowrap" }, /* @__PURE__ */ React46.createElement(import_ui34.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React46.createElement(
2071
2170
  SizeField,
2072
2171
  {
2073
2172
  bind: "min-width",
2074
- label: (0, import_i18n24.__)("Min width", "elementor"),
2173
+ label: (0, import_i18n25.__)("Min width", "elementor"),
2075
2174
  extendedValues: ["auto"]
2076
2175
  }
2077
- )), /* @__PURE__ */ React45.createElement(import_ui33.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React45.createElement(
2176
+ )), /* @__PURE__ */ React46.createElement(import_ui34.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React46.createElement(
2078
2177
  SizeField,
2079
2178
  {
2080
2179
  bind: "min-height",
2081
- label: (0, import_i18n24.__)("Min height", "elementor"),
2180
+ label: (0, import_i18n25.__)("Min height", "elementor"),
2082
2181
  extendedValues: ["auto"]
2083
2182
  }
2084
- ))), /* @__PURE__ */ React45.createElement(import_ui33.Grid, { container: true, gap: 2, flexWrap: "nowrap" }, /* @__PURE__ */ React45.createElement(import_ui33.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React45.createElement(SizeField, { bind: "max-width", label: (0, import_i18n24.__)("Max width", "elementor") })), /* @__PURE__ */ React45.createElement(import_ui33.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React45.createElement(SizeField, { bind: "max-height", label: (0, import_i18n24.__)("Max height", "elementor") }))), /* @__PURE__ */ React45.createElement(PanelDivider, null), /* @__PURE__ */ React45.createElement(import_ui33.Stack, null, /* @__PURE__ */ React45.createElement(OverflowField, null)));
2183
+ ))), /* @__PURE__ */ React46.createElement(import_ui34.Grid, { container: true, gap: 2, flexWrap: "nowrap" }, /* @__PURE__ */ React46.createElement(import_ui34.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React46.createElement(SizeField, { bind: "max-width", label: (0, import_i18n25.__)("Max width", "elementor") })), /* @__PURE__ */ React46.createElement(import_ui34.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React46.createElement(SizeField, { bind: "max-height", label: (0, import_i18n25.__)("Max height", "elementor") }))), /* @__PURE__ */ React46.createElement(PanelDivider, null), /* @__PURE__ */ React46.createElement(import_ui34.Stack, null, /* @__PURE__ */ React46.createElement(OverflowField, null)));
2085
2184
  };
2086
2185
  var SizeField = ({ label, bind, extendedValues }) => {
2087
- return /* @__PURE__ */ React45.createElement(StylesField, { bind }, /* @__PURE__ */ React45.createElement(import_ui33.Grid, { container: true, gap: 1, alignItems: "center" }, /* @__PURE__ */ React45.createElement(import_ui33.Grid, { item: true, xs: 12 }, /* @__PURE__ */ React45.createElement(import_editor_controls27.ControlLabel, null, label)), /* @__PURE__ */ React45.createElement(import_ui33.Grid, { item: true, xs: 12 }, /* @__PURE__ */ React45.createElement(import_editor_controls27.SizeControl, { extendedValues }))));
2186
+ return /* @__PURE__ */ React46.createElement(StylesField, { bind }, /* @__PURE__ */ React46.createElement(import_ui34.Grid, { container: true, gap: 1, alignItems: "center" }, /* @__PURE__ */ React46.createElement(import_ui34.Grid, { item: true, xs: 12 }, /* @__PURE__ */ React46.createElement(import_editor_controls28.ControlLabel, null, label)), /* @__PURE__ */ React46.createElement(import_ui34.Grid, { item: true, xs: 12 }, /* @__PURE__ */ React46.createElement(import_editor_controls28.SizeControl, { extendedValues }))));
2088
2187
  };
2089
2188
 
2090
2189
  // src/components/style-sections/spacing-section/spacing-section.tsx
2091
- var React46 = __toESM(require("react"));
2092
- var import_editor_controls28 = require("@elementor/editor-controls");
2093
- var import_i18n25 = require("@wordpress/i18n");
2190
+ var React47 = __toESM(require("react"));
2191
+ var import_editor_controls29 = require("@elementor/editor-controls");
2192
+ var import_i18n26 = require("@wordpress/i18n");
2094
2193
  var SpacingSection = () => {
2095
2194
  const { isSiteRtl } = useDirection();
2096
- return /* @__PURE__ */ React46.createElement(SectionContent, null, /* @__PURE__ */ React46.createElement(StylesField, { bind: "margin" }, /* @__PURE__ */ React46.createElement(
2097
- import_editor_controls28.LinkedDimensionsControl,
2195
+ return /* @__PURE__ */ React47.createElement(SectionContent, null, /* @__PURE__ */ React47.createElement(StylesField, { bind: "margin" }, /* @__PURE__ */ React47.createElement(
2196
+ import_editor_controls29.LinkedDimensionsControl,
2098
2197
  {
2099
- label: (0, import_i18n25.__)("Margin", "elementor"),
2198
+ label: (0, import_i18n26.__)("Margin", "elementor"),
2100
2199
  isSiteRtl,
2101
2200
  extendedValues: ["auto"]
2102
2201
  }
2103
- )), /* @__PURE__ */ React46.createElement(PanelDivider, null), /* @__PURE__ */ React46.createElement(StylesField, { bind: "padding" }, /* @__PURE__ */ React46.createElement(import_editor_controls28.LinkedDimensionsControl, { label: (0, import_i18n25.__)("Padding", "elementor"), isSiteRtl })));
2202
+ )), /* @__PURE__ */ React47.createElement(PanelDivider, null), /* @__PURE__ */ React47.createElement(StylesField, { bind: "padding" }, /* @__PURE__ */ React47.createElement(import_editor_controls29.LinkedDimensionsControl, { label: (0, import_i18n26.__)("Padding", "elementor"), isSiteRtl })));
2104
2203
  };
2105
2204
 
2106
2205
  // src/components/style-sections/typography-section/typography-section.tsx
2107
- var React61 = __toESM(require("react"));
2206
+ var React62 = __toESM(require("react"));
2108
2207
 
2109
2208
  // src/components/collapsible-content.tsx
2110
- var React47 = __toESM(require("react"));
2111
- var import_react13 = require("react");
2112
- var import_ui34 = require("@elementor/ui");
2113
- var import_i18n26 = require("@wordpress/i18n");
2209
+ var React48 = __toESM(require("react"));
2210
+ var import_react14 = require("react");
2211
+ var import_ui35 = require("@elementor/ui");
2212
+ var import_i18n27 = require("@wordpress/i18n");
2114
2213
  var CollapsibleContent = ({ children, defaultOpen = false }) => {
2115
- const [open, setOpen] = (0, import_react13.useState)(defaultOpen);
2214
+ const [open, setOpen] = (0, import_react14.useState)(defaultOpen);
2116
2215
  const handleToggle = () => {
2117
2216
  setOpen((prevOpen) => !prevOpen);
2118
2217
  };
2119
- return /* @__PURE__ */ React47.createElement(import_ui34.Stack, null, /* @__PURE__ */ React47.createElement(
2120
- import_ui34.Button,
2218
+ return /* @__PURE__ */ React48.createElement(import_ui35.Stack, null, /* @__PURE__ */ React48.createElement(
2219
+ import_ui35.Button,
2121
2220
  {
2122
2221
  fullWidth: true,
2123
2222
  size: "small",
2124
2223
  color: "secondary",
2125
2224
  variant: "outlined",
2126
2225
  onClick: handleToggle,
2127
- endIcon: /* @__PURE__ */ React47.createElement(CollapseIcon, { open }),
2226
+ endIcon: /* @__PURE__ */ React48.createElement(CollapseIcon, { open }),
2128
2227
  sx: { my: 0.5 }
2129
2228
  },
2130
- open ? (0, import_i18n26.__)("Show less", "elementor") : (0, import_i18n26.__)("Show more", "elementor")
2131
- ), /* @__PURE__ */ React47.createElement(import_ui34.Collapse, { in: open, timeout: "auto", unmountOnExit: true }, children));
2229
+ open ? (0, import_i18n27.__)("Show less", "elementor") : (0, import_i18n27.__)("Show more", "elementor")
2230
+ ), /* @__PURE__ */ React48.createElement(import_ui35.Collapse, { in: open, timeout: "auto", unmountOnExit: true }, children));
2132
2231
  };
2133
2232
 
2134
2233
  // src/components/style-sections/typography-section/font-family-field.tsx
2135
- var React48 = __toESM(require("react"));
2136
- var import_editor_controls29 = require("@elementor/editor-controls");
2137
- var import_ui35 = require("@elementor/ui");
2138
- var import_i18n28 = require("@wordpress/i18n");
2234
+ var React49 = __toESM(require("react"));
2235
+ var import_editor_controls30 = require("@elementor/editor-controls");
2236
+ var import_ui36 = require("@elementor/ui");
2237
+ var import_i18n29 = require("@wordpress/i18n");
2139
2238
 
2140
2239
  // src/components/style-sections/typography-section/hooks/use-font-families.ts
2141
- var import_react14 = require("react");
2142
- var import_i18n27 = require("@wordpress/i18n");
2240
+ var import_react15 = require("react");
2241
+ var import_i18n28 = require("@wordpress/i18n");
2143
2242
 
2144
2243
  // src/sync/get-elementor-config.ts
2145
2244
  var getElementorConfig = () => {
@@ -2149,9 +2248,9 @@ var getElementorConfig = () => {
2149
2248
 
2150
2249
  // src/components/style-sections/typography-section/hooks/use-font-families.ts
2151
2250
  var supportedCategories = {
2152
- system: (0, import_i18n27.__)("System", "elementor"),
2153
- custom: (0, import_i18n27.__)("Custom Fonts", "elementor"),
2154
- googlefonts: (0, import_i18n27.__)("Google Fonts", "elementor")
2251
+ system: (0, import_i18n28.__)("System", "elementor"),
2252
+ custom: (0, import_i18n28.__)("Custom Fonts", "elementor"),
2253
+ googlefonts: (0, import_i18n28.__)("Google Fonts", "elementor")
2155
2254
  };
2156
2255
  var getFontFamilies = () => {
2157
2256
  const { controls } = getElementorConfig();
@@ -2163,7 +2262,7 @@ var getFontFamilies = () => {
2163
2262
  };
2164
2263
  var useFontFamilies = () => {
2165
2264
  const fontFamilies = getFontFamilies();
2166
- return (0, import_react14.useMemo)(() => {
2265
+ return (0, import_react15.useMemo)(() => {
2167
2266
  const categoriesOrder = ["system", "custom", "googlefonts"];
2168
2267
  return Object.entries(fontFamilies || {}).reduce((acc, [font, category]) => {
2169
2268
  if (!supportedCategories[category]) {
@@ -2188,188 +2287,188 @@ var FontFamilyField = () => {
2188
2287
  if (fontFamilies.length === 0) {
2189
2288
  return null;
2190
2289
  }
2191
- return /* @__PURE__ */ React48.createElement(StylesField, { bind: "font-family" }, /* @__PURE__ */ React48.createElement(import_ui35.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React48.createElement(import_ui35.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React48.createElement(import_editor_controls29.ControlLabel, null, (0, import_i18n28.__)("Font family", "elementor"))), /* @__PURE__ */ React48.createElement(import_ui35.Grid, { item: true, xs: 6, sx: { overflow: "hidden" } }, /* @__PURE__ */ React48.createElement(import_editor_controls29.FontFamilyControl, { fontFamilies }))));
2290
+ return /* @__PURE__ */ React49.createElement(StylesField, { bind: "font-family" }, /* @__PURE__ */ React49.createElement(import_ui36.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React49.createElement(import_ui36.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React49.createElement(import_editor_controls30.ControlLabel, null, (0, import_i18n29.__)("Font family", "elementor"))), /* @__PURE__ */ React49.createElement(import_ui36.Grid, { item: true, xs: 6, sx: { overflow: "hidden" } }, /* @__PURE__ */ React49.createElement(import_editor_controls30.FontFamilyControl, { fontFamilies }))));
2192
2291
  };
2193
2292
 
2194
2293
  // src/components/style-sections/typography-section/font-size-field.tsx
2195
- var React49 = __toESM(require("react"));
2196
- var import_editor_controls30 = require("@elementor/editor-controls");
2197
- var import_ui36 = require("@elementor/ui");
2198
- var import_i18n29 = require("@wordpress/i18n");
2294
+ var React50 = __toESM(require("react"));
2295
+ var import_editor_controls31 = require("@elementor/editor-controls");
2296
+ var import_ui37 = require("@elementor/ui");
2297
+ var import_i18n30 = require("@wordpress/i18n");
2199
2298
  var FontSizeField = () => {
2200
- return /* @__PURE__ */ React49.createElement(StylesField, { bind: "font-size" }, /* @__PURE__ */ React49.createElement(import_ui36.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React49.createElement(import_ui36.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React49.createElement(import_editor_controls30.ControlLabel, null, (0, import_i18n29.__)("Font size", "elementor"))), /* @__PURE__ */ React49.createElement(import_ui36.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React49.createElement(import_editor_controls30.SizeControl, null))));
2299
+ return /* @__PURE__ */ React50.createElement(StylesField, { bind: "font-size" }, /* @__PURE__ */ React50.createElement(import_ui37.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React50.createElement(import_ui37.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React50.createElement(import_editor_controls31.ControlLabel, null, (0, import_i18n30.__)("Font size", "elementor"))), /* @__PURE__ */ React50.createElement(import_ui37.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React50.createElement(import_editor_controls31.SizeControl, null))));
2201
2300
  };
2202
2301
 
2203
2302
  // src/components/style-sections/typography-section/font-style-field.tsx
2204
- var React50 = __toESM(require("react"));
2205
- var import_editor_controls31 = require("@elementor/editor-controls");
2303
+ var React51 = __toESM(require("react"));
2304
+ var import_editor_controls32 = require("@elementor/editor-controls");
2206
2305
  var import_icons17 = require("@elementor/icons");
2207
- var import_ui37 = require("@elementor/ui");
2208
- var import_i18n30 = require("@wordpress/i18n");
2306
+ var import_ui38 = require("@elementor/ui");
2307
+ var import_i18n31 = require("@wordpress/i18n");
2209
2308
  var options7 = [
2210
2309
  {
2211
2310
  value: "normal",
2212
- label: (0, import_i18n30.__)("Normal", "elementor"),
2213
- renderContent: ({ size }) => /* @__PURE__ */ React50.createElement(import_icons17.MinusIcon, { fontSize: size }),
2311
+ label: (0, import_i18n31.__)("Normal", "elementor"),
2312
+ renderContent: ({ size }) => /* @__PURE__ */ React51.createElement(import_icons17.MinusIcon, { fontSize: size }),
2214
2313
  showTooltip: true
2215
2314
  },
2216
2315
  {
2217
2316
  value: "italic",
2218
- label: (0, import_i18n30.__)("Italic", "elementor"),
2219
- renderContent: ({ size }) => /* @__PURE__ */ React50.createElement(import_icons17.ItalicIcon, { fontSize: size }),
2317
+ label: (0, import_i18n31.__)("Italic", "elementor"),
2318
+ renderContent: ({ size }) => /* @__PURE__ */ React51.createElement(import_icons17.ItalicIcon, { fontSize: size }),
2220
2319
  showTooltip: true
2221
2320
  }
2222
2321
  ];
2223
- var FontStyleField = () => /* @__PURE__ */ React50.createElement(StylesField, { bind: "font-style" }, /* @__PURE__ */ React50.createElement(import_ui37.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React50.createElement(import_ui37.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React50.createElement(import_editor_controls31.ControlLabel, null, (0, import_i18n30.__)("Font style", "elementor"))), /* @__PURE__ */ React50.createElement(import_ui37.Grid, { item: true, xs: 6, display: "flex", justifyContent: "end" }, /* @__PURE__ */ React50.createElement(import_editor_controls31.ToggleControl, { options: options7 }))));
2322
+ var FontStyleField = () => /* @__PURE__ */ React51.createElement(StylesField, { bind: "font-style" }, /* @__PURE__ */ React51.createElement(import_ui38.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React51.createElement(import_ui38.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React51.createElement(import_editor_controls32.ControlLabel, null, (0, import_i18n31.__)("Font style", "elementor"))), /* @__PURE__ */ React51.createElement(import_ui38.Grid, { item: true, xs: 6, display: "flex", justifyContent: "end" }, /* @__PURE__ */ React51.createElement(import_editor_controls32.ToggleControl, { options: options7 }))));
2224
2323
 
2225
2324
  // src/components/style-sections/typography-section/font-weight-field.tsx
2226
- var React51 = __toESM(require("react"));
2227
- var import_editor_controls32 = require("@elementor/editor-controls");
2228
- var import_ui38 = require("@elementor/ui");
2229
- var import_i18n31 = require("@wordpress/i18n");
2230
- var fontWeightOptions = [
2231
- { value: "100", label: (0, import_i18n31.__)("100 - Thin", "elementor") },
2232
- { value: "200", label: (0, import_i18n31.__)("200 - Extra light", "elementor") },
2233
- { value: "300", label: (0, import_i18n31.__)("300 - Light", "elementor") },
2234
- { value: "400", label: (0, import_i18n31.__)("400 - Normal", "elementor") },
2235
- { value: "500", label: (0, import_i18n31.__)("500 - Medium", "elementor") },
2236
- { value: "600", label: (0, import_i18n31.__)("600 - Semi bold", "elementor") },
2237
- { value: "700", label: (0, import_i18n31.__)("700 - Bold", "elementor") },
2238
- { value: "800", label: (0, import_i18n31.__)("800 - Extra bold", "elementor") },
2239
- { value: "900", label: (0, import_i18n31.__)("900 - Black", "elementor") }
2240
- ];
2241
- var FontWeightField = () => {
2242
- return /* @__PURE__ */ React51.createElement(StylesField, { bind: "font-weight" }, /* @__PURE__ */ React51.createElement(import_ui38.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React51.createElement(import_ui38.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React51.createElement(import_editor_controls32.ControlLabel, null, (0, import_i18n31.__)("Font weight", "elementor"))), /* @__PURE__ */ React51.createElement(import_ui38.Grid, { item: true, xs: 6, sx: { overflow: "hidden" } }, /* @__PURE__ */ React51.createElement(import_editor_controls32.SelectControl, { options: fontWeightOptions }))));
2243
- };
2244
-
2245
- // src/components/style-sections/typography-section/letter-spacing-field.tsx
2246
2325
  var React52 = __toESM(require("react"));
2247
2326
  var import_editor_controls33 = require("@elementor/editor-controls");
2248
2327
  var import_ui39 = require("@elementor/ui");
2249
2328
  var import_i18n32 = require("@wordpress/i18n");
2250
- var LetterSpacingField = () => {
2251
- return /* @__PURE__ */ React52.createElement(StylesField, { bind: "letter-spacing" }, /* @__PURE__ */ React52.createElement(import_ui39.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React52.createElement(import_ui39.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React52.createElement(import_editor_controls33.ControlLabel, null, (0, import_i18n32.__)("Letter spacing", "elementor"))), /* @__PURE__ */ React52.createElement(import_ui39.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React52.createElement(import_editor_controls33.SizeControl, null))));
2329
+ var fontWeightOptions = [
2330
+ { value: "100", label: (0, import_i18n32.__)("100 - Thin", "elementor") },
2331
+ { value: "200", label: (0, import_i18n32.__)("200 - Extra light", "elementor") },
2332
+ { value: "300", label: (0, import_i18n32.__)("300 - Light", "elementor") },
2333
+ { value: "400", label: (0, import_i18n32.__)("400 - Normal", "elementor") },
2334
+ { value: "500", label: (0, import_i18n32.__)("500 - Medium", "elementor") },
2335
+ { value: "600", label: (0, import_i18n32.__)("600 - Semi bold", "elementor") },
2336
+ { value: "700", label: (0, import_i18n32.__)("700 - Bold", "elementor") },
2337
+ { value: "800", label: (0, import_i18n32.__)("800 - Extra bold", "elementor") },
2338
+ { value: "900", label: (0, import_i18n32.__)("900 - Black", "elementor") }
2339
+ ];
2340
+ var FontWeightField = () => {
2341
+ return /* @__PURE__ */ React52.createElement(StylesField, { bind: "font-weight" }, /* @__PURE__ */ React52.createElement(import_ui39.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React52.createElement(import_ui39.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React52.createElement(import_editor_controls33.ControlLabel, null, (0, import_i18n32.__)("Font weight", "elementor"))), /* @__PURE__ */ React52.createElement(import_ui39.Grid, { item: true, xs: 6, sx: { overflow: "hidden" } }, /* @__PURE__ */ React52.createElement(import_editor_controls33.SelectControl, { options: fontWeightOptions }))));
2252
2342
  };
2253
2343
 
2254
- // src/components/style-sections/typography-section/line-height-field.tsx
2344
+ // src/components/style-sections/typography-section/letter-spacing-field.tsx
2255
2345
  var React53 = __toESM(require("react"));
2256
2346
  var import_editor_controls34 = require("@elementor/editor-controls");
2257
2347
  var import_ui40 = require("@elementor/ui");
2258
2348
  var import_i18n33 = require("@wordpress/i18n");
2259
- var LineHeightField = () => {
2260
- return /* @__PURE__ */ React53.createElement(StylesField, { bind: "line-height" }, /* @__PURE__ */ React53.createElement(import_ui40.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React53.createElement(import_ui40.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React53.createElement(import_editor_controls34.ControlLabel, null, (0, import_i18n33.__)("Line height", "elementor"))), /* @__PURE__ */ React53.createElement(import_ui40.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React53.createElement(import_editor_controls34.SizeControl, null))));
2349
+ var LetterSpacingField = () => {
2350
+ return /* @__PURE__ */ React53.createElement(StylesField, { bind: "letter-spacing" }, /* @__PURE__ */ React53.createElement(import_ui40.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React53.createElement(import_ui40.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React53.createElement(import_editor_controls34.ControlLabel, null, (0, import_i18n33.__)("Letter spacing", "elementor"))), /* @__PURE__ */ React53.createElement(import_ui40.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React53.createElement(import_editor_controls34.SizeControl, null))));
2261
2351
  };
2262
2352
 
2263
- // src/components/style-sections/typography-section/text-alignment-field.tsx
2353
+ // src/components/style-sections/typography-section/line-height-field.tsx
2264
2354
  var React54 = __toESM(require("react"));
2265
2355
  var import_editor_controls35 = require("@elementor/editor-controls");
2266
- var import_icons18 = require("@elementor/icons");
2267
2356
  var import_ui41 = require("@elementor/ui");
2268
2357
  var import_i18n34 = require("@wordpress/i18n");
2269
- var StartIcon4 = (0, import_ui41.withDirection)(import_icons18.AlignLeftIcon);
2270
- var EndIcon4 = (0, import_ui41.withDirection)(import_icons18.AlignRightIcon);
2358
+ var LineHeightField = () => {
2359
+ return /* @__PURE__ */ React54.createElement(StylesField, { bind: "line-height" }, /* @__PURE__ */ React54.createElement(import_ui41.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React54.createElement(import_ui41.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React54.createElement(import_editor_controls35.ControlLabel, null, (0, import_i18n34.__)("Line height", "elementor"))), /* @__PURE__ */ React54.createElement(import_ui41.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React54.createElement(import_editor_controls35.SizeControl, null))));
2360
+ };
2361
+
2362
+ // src/components/style-sections/typography-section/text-alignment-field.tsx
2363
+ var React55 = __toESM(require("react"));
2364
+ var import_editor_controls36 = require("@elementor/editor-controls");
2365
+ var import_icons18 = require("@elementor/icons");
2366
+ var import_ui42 = require("@elementor/ui");
2367
+ var import_i18n35 = require("@wordpress/i18n");
2368
+ var StartIcon4 = (0, import_ui42.withDirection)(import_icons18.AlignLeftIcon);
2369
+ var EndIcon4 = (0, import_ui42.withDirection)(import_icons18.AlignRightIcon);
2271
2370
  var options8 = [
2272
2371
  {
2273
2372
  value: "start",
2274
- label: (0, import_i18n34.__)("Start", "elementor"),
2275
- renderContent: () => /* @__PURE__ */ React54.createElement(RotatedIcon, { icon: StartIcon4, size: "tiny" }),
2373
+ label: (0, import_i18n35.__)("Start", "elementor"),
2374
+ renderContent: () => /* @__PURE__ */ React55.createElement(RotatedIcon, { icon: StartIcon4, size: "tiny" }),
2276
2375
  showTooltip: true
2277
2376
  },
2278
2377
  {
2279
2378
  value: "center",
2280
- label: (0, import_i18n34.__)("Center", "elementor"),
2281
- renderContent: ({ size }) => /* @__PURE__ */ React54.createElement(import_icons18.AlignCenterIcon, { fontSize: size }),
2379
+ label: (0, import_i18n35.__)("Center", "elementor"),
2380
+ renderContent: ({ size }) => /* @__PURE__ */ React55.createElement(import_icons18.AlignCenterIcon, { fontSize: size }),
2282
2381
  showTooltip: true
2283
2382
  },
2284
2383
  {
2285
2384
  value: "end",
2286
- label: (0, import_i18n34.__)("End", "elementor"),
2287
- renderContent: () => /* @__PURE__ */ React54.createElement(RotatedIcon, { icon: EndIcon4, size: "tiny" }),
2385
+ label: (0, import_i18n35.__)("End", "elementor"),
2386
+ renderContent: () => /* @__PURE__ */ React55.createElement(RotatedIcon, { icon: EndIcon4, size: "tiny" }),
2288
2387
  showTooltip: true
2289
2388
  },
2290
2389
  {
2291
2390
  value: "justify",
2292
- label: (0, import_i18n34.__)("Justify", "elementor"),
2293
- renderContent: ({ size }) => /* @__PURE__ */ React54.createElement(import_icons18.AlignJustifiedIcon, { fontSize: size }),
2391
+ label: (0, import_i18n35.__)("Justify", "elementor"),
2392
+ renderContent: ({ size }) => /* @__PURE__ */ React55.createElement(import_icons18.AlignJustifiedIcon, { fontSize: size }),
2294
2393
  showTooltip: true
2295
2394
  }
2296
2395
  ];
2297
2396
  var TextAlignmentField = () => {
2298
- return /* @__PURE__ */ React54.createElement(StylesField, { bind: "text-align" }, /* @__PURE__ */ React54.createElement(import_ui41.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React54.createElement(import_ui41.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React54.createElement(import_editor_controls35.ControlLabel, null, (0, import_i18n34.__)("Alignment", "elementor"))), /* @__PURE__ */ React54.createElement(import_ui41.Grid, { item: true, xs: 6, display: "flex", justifyContent: "end" }, /* @__PURE__ */ React54.createElement(import_editor_controls35.ToggleControl, { options: options8 }))));
2397
+ return /* @__PURE__ */ React55.createElement(StylesField, { bind: "text-align" }, /* @__PURE__ */ React55.createElement(import_ui42.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React55.createElement(import_ui42.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React55.createElement(import_editor_controls36.ControlLabel, null, (0, import_i18n35.__)("Alignment", "elementor"))), /* @__PURE__ */ React55.createElement(import_ui42.Grid, { item: true, xs: 6, display: "flex", justifyContent: "end" }, /* @__PURE__ */ React55.createElement(import_editor_controls36.ToggleControl, { options: options8 }))));
2299
2398
  };
2300
2399
 
2301
2400
  // src/components/style-sections/typography-section/text-color-field.tsx
2302
- var React55 = __toESM(require("react"));
2303
- var import_editor_controls36 = require("@elementor/editor-controls");
2304
- var import_ui42 = require("@elementor/ui");
2305
- var import_i18n35 = require("@wordpress/i18n");
2401
+ var React56 = __toESM(require("react"));
2402
+ var import_editor_controls37 = require("@elementor/editor-controls");
2403
+ var import_ui43 = require("@elementor/ui");
2404
+ var import_i18n36 = require("@wordpress/i18n");
2306
2405
  var TextColorField = () => {
2307
- return /* @__PURE__ */ React55.createElement(StylesField, { bind: "color" }, /* @__PURE__ */ React55.createElement(import_ui42.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React55.createElement(import_ui42.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React55.createElement(import_editor_controls36.ControlLabel, null, (0, import_i18n35.__)("Text color", "elementor"))), /* @__PURE__ */ React55.createElement(import_ui42.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React55.createElement(import_editor_controls36.ColorControl, null))));
2406
+ return /* @__PURE__ */ React56.createElement(StylesField, { bind: "color" }, /* @__PURE__ */ React56.createElement(import_ui43.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React56.createElement(import_ui43.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React56.createElement(import_editor_controls37.ControlLabel, null, (0, import_i18n36.__)("Text color", "elementor"))), /* @__PURE__ */ React56.createElement(import_ui43.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React56.createElement(import_editor_controls37.ColorControl, null))));
2308
2407
  };
2309
2408
 
2310
2409
  // src/components/style-sections/typography-section/text-decoration-field.tsx
2311
- var React56 = __toESM(require("react"));
2312
- var import_editor_controls37 = require("@elementor/editor-controls");
2410
+ var React57 = __toESM(require("react"));
2411
+ var import_editor_controls38 = require("@elementor/editor-controls");
2313
2412
  var import_icons19 = require("@elementor/icons");
2314
- var import_ui43 = require("@elementor/ui");
2315
- var import_i18n36 = require("@wordpress/i18n");
2413
+ var import_ui44 = require("@elementor/ui");
2414
+ var import_i18n37 = require("@wordpress/i18n");
2316
2415
  var options9 = [
2317
2416
  {
2318
2417
  value: "none",
2319
- label: (0, import_i18n36.__)("None", "elementor"),
2320
- renderContent: ({ size }) => /* @__PURE__ */ React56.createElement(import_icons19.MinusIcon, { fontSize: size }),
2418
+ label: (0, import_i18n37.__)("None", "elementor"),
2419
+ renderContent: ({ size }) => /* @__PURE__ */ React57.createElement(import_icons19.MinusIcon, { fontSize: size }),
2321
2420
  showTooltip: true,
2322
2421
  exclusive: true
2323
2422
  },
2324
2423
  {
2325
2424
  value: "underline",
2326
- label: (0, import_i18n36.__)("Underline", "elementor"),
2327
- renderContent: ({ size }) => /* @__PURE__ */ React56.createElement(import_icons19.UnderlineIcon, { fontSize: size }),
2425
+ label: (0, import_i18n37.__)("Underline", "elementor"),
2426
+ renderContent: ({ size }) => /* @__PURE__ */ React57.createElement(import_icons19.UnderlineIcon, { fontSize: size }),
2328
2427
  showTooltip: true
2329
2428
  },
2330
2429
  {
2331
2430
  value: "line-through",
2332
- label: (0, import_i18n36.__)("Line-through", "elementor"),
2333
- renderContent: ({ size }) => /* @__PURE__ */ React56.createElement(import_icons19.StrikethroughIcon, { fontSize: size }),
2431
+ label: (0, import_i18n37.__)("Line-through", "elementor"),
2432
+ renderContent: ({ size }) => /* @__PURE__ */ React57.createElement(import_icons19.StrikethroughIcon, { fontSize: size }),
2334
2433
  showTooltip: true
2335
2434
  },
2336
2435
  {
2337
2436
  value: "overline",
2338
- label: (0, import_i18n36.__)("Overline", "elementor"),
2339
- renderContent: ({ size }) => /* @__PURE__ */ React56.createElement(import_icons19.OverlineIcon, { fontSize: size }),
2437
+ label: (0, import_i18n37.__)("Overline", "elementor"),
2438
+ renderContent: ({ size }) => /* @__PURE__ */ React57.createElement(import_icons19.OverlineIcon, { fontSize: size }),
2340
2439
  showTooltip: true
2341
2440
  }
2342
2441
  ];
2343
- var TextDecorationField = () => /* @__PURE__ */ React56.createElement(StylesField, { bind: "text-decoration" }, /* @__PURE__ */ React56.createElement(import_ui43.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React56.createElement(import_ui43.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React56.createElement(import_editor_controls37.ControlLabel, null, (0, import_i18n36.__)("Line decoration", "elementor"))), /* @__PURE__ */ React56.createElement(import_ui43.Grid, { item: true, xs: 6, display: "flex", justifyContent: "end" }, /* @__PURE__ */ React56.createElement(import_editor_controls37.ToggleControl, { options: options9, exclusive: false }))));
2442
+ var TextDecorationField = () => /* @__PURE__ */ React57.createElement(StylesField, { bind: "text-decoration" }, /* @__PURE__ */ React57.createElement(import_ui44.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React57.createElement(import_ui44.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React57.createElement(import_editor_controls38.ControlLabel, null, (0, import_i18n37.__)("Line decoration", "elementor"))), /* @__PURE__ */ React57.createElement(import_ui44.Grid, { item: true, xs: 6, display: "flex", justifyContent: "end" }, /* @__PURE__ */ React57.createElement(import_editor_controls38.ToggleControl, { options: options9, exclusive: false }))));
2344
2443
 
2345
2444
  // src/components/style-sections/typography-section/text-direction-field.tsx
2346
- var React57 = __toESM(require("react"));
2347
- var import_editor_controls38 = require("@elementor/editor-controls");
2445
+ var React58 = __toESM(require("react"));
2446
+ var import_editor_controls39 = require("@elementor/editor-controls");
2348
2447
  var import_icons20 = require("@elementor/icons");
2349
- var import_ui44 = require("@elementor/ui");
2350
- var import_i18n37 = require("@wordpress/i18n");
2448
+ var import_ui45 = require("@elementor/ui");
2449
+ var import_i18n38 = require("@wordpress/i18n");
2351
2450
  var options10 = [
2352
2451
  {
2353
2452
  value: "ltr",
2354
- label: (0, import_i18n37.__)("Left to right", "elementor"),
2355
- renderContent: ({ size }) => /* @__PURE__ */ React57.createElement(import_icons20.TextDirectionLtrIcon, { fontSize: size }),
2453
+ label: (0, import_i18n38.__)("Left to right", "elementor"),
2454
+ renderContent: ({ size }) => /* @__PURE__ */ React58.createElement(import_icons20.TextDirectionLtrIcon, { fontSize: size }),
2356
2455
  showTooltip: true
2357
2456
  },
2358
2457
  {
2359
2458
  value: "rtl",
2360
- label: (0, import_i18n37.__)("Right to left", "elementor"),
2361
- renderContent: ({ size }) => /* @__PURE__ */ React57.createElement(import_icons20.TextDirectionRtlIcon, { fontSize: size }),
2459
+ label: (0, import_i18n38.__)("Right to left", "elementor"),
2460
+ renderContent: ({ size }) => /* @__PURE__ */ React58.createElement(import_icons20.TextDirectionRtlIcon, { fontSize: size }),
2362
2461
  showTooltip: true
2363
2462
  }
2364
2463
  ];
2365
2464
  var TextDirectionField = () => {
2366
- return /* @__PURE__ */ React57.createElement(StylesField, { bind: "direction" }, /* @__PURE__ */ React57.createElement(import_ui44.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React57.createElement(import_ui44.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React57.createElement(import_editor_controls38.ControlLabel, null, (0, import_i18n37.__)("Direction", "elementor"))), /* @__PURE__ */ React57.createElement(import_ui44.Grid, { item: true, xs: 6, display: "flex", justifyContent: "end" }, /* @__PURE__ */ React57.createElement(import_editor_controls38.ToggleControl, { options: options10 }))));
2465
+ return /* @__PURE__ */ React58.createElement(StylesField, { bind: "direction" }, /* @__PURE__ */ React58.createElement(import_ui45.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React58.createElement(import_ui45.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React58.createElement(import_editor_controls39.ControlLabel, null, (0, import_i18n38.__)("Direction", "elementor"))), /* @__PURE__ */ React58.createElement(import_ui45.Grid, { item: true, xs: 6, display: "flex", justifyContent: "end" }, /* @__PURE__ */ React58.createElement(import_editor_controls39.ToggleControl, { options: options10 }))));
2367
2466
  };
2368
2467
 
2369
2468
  // src/components/style-sections/typography-section/text-stroke-field.tsx
2370
- var React58 = __toESM(require("react"));
2371
- var import_editor_controls39 = require("@elementor/editor-controls");
2372
- var import_i18n38 = require("@wordpress/i18n");
2469
+ var React59 = __toESM(require("react"));
2470
+ var import_editor_controls40 = require("@elementor/editor-controls");
2471
+ var import_i18n39 = require("@wordpress/i18n");
2373
2472
  var initTextStroke = {
2374
2473
  $$type: "stroke",
2375
2474
  value: {
@@ -2395,73 +2494,73 @@ var TextStrokeField = () => {
2395
2494
  setTextStroke(null);
2396
2495
  };
2397
2496
  const hasTextStroke = Boolean(textStroke);
2398
- return /* @__PURE__ */ React58.createElement(
2497
+ return /* @__PURE__ */ React59.createElement(
2399
2498
  AddOrRemoveContent,
2400
2499
  {
2401
- label: (0, import_i18n38.__)("Text stroke", "elementor"),
2500
+ label: (0, import_i18n39.__)("Text stroke", "elementor"),
2402
2501
  isAdded: hasTextStroke,
2403
2502
  onAdd: addTextStroke,
2404
2503
  onRemove: removeTextStroke
2405
2504
  },
2406
- /* @__PURE__ */ React58.createElement(StylesField, { bind: "stroke" }, /* @__PURE__ */ React58.createElement(import_editor_controls39.StrokeControl, null))
2505
+ /* @__PURE__ */ React59.createElement(StylesField, { bind: "stroke" }, /* @__PURE__ */ React59.createElement(import_editor_controls40.StrokeControl, null))
2407
2506
  );
2408
2507
  };
2409
2508
 
2410
2509
  // src/components/style-sections/typography-section/transform-field.tsx
2411
- var React59 = __toESM(require("react"));
2412
- var import_editor_controls40 = require("@elementor/editor-controls");
2510
+ var React60 = __toESM(require("react"));
2511
+ var import_editor_controls41 = require("@elementor/editor-controls");
2413
2512
  var import_icons21 = require("@elementor/icons");
2414
- var import_ui45 = require("@elementor/ui");
2415
- var import_i18n39 = require("@wordpress/i18n");
2513
+ var import_ui46 = require("@elementor/ui");
2514
+ var import_i18n40 = require("@wordpress/i18n");
2416
2515
  var options11 = [
2417
2516
  {
2418
2517
  value: "none",
2419
- label: (0, import_i18n39.__)("None", "elementor"),
2420
- renderContent: ({ size }) => /* @__PURE__ */ React59.createElement(import_icons21.MinusIcon, { fontSize: size }),
2518
+ label: (0, import_i18n40.__)("None", "elementor"),
2519
+ renderContent: ({ size }) => /* @__PURE__ */ React60.createElement(import_icons21.MinusIcon, { fontSize: size }),
2421
2520
  showTooltip: true
2422
2521
  },
2423
2522
  {
2424
2523
  value: "capitalize",
2425
- label: (0, import_i18n39.__)("Capitalize", "elementor"),
2426
- renderContent: ({ size }) => /* @__PURE__ */ React59.createElement(import_icons21.LetterCaseIcon, { fontSize: size }),
2524
+ label: (0, import_i18n40.__)("Capitalize", "elementor"),
2525
+ renderContent: ({ size }) => /* @__PURE__ */ React60.createElement(import_icons21.LetterCaseIcon, { fontSize: size }),
2427
2526
  showTooltip: true
2428
2527
  },
2429
2528
  {
2430
2529
  value: "uppercase",
2431
- label: (0, import_i18n39.__)("Uppercase", "elementor"),
2432
- renderContent: ({ size }) => /* @__PURE__ */ React59.createElement(import_icons21.LetterCaseUpperIcon, { fontSize: size }),
2530
+ label: (0, import_i18n40.__)("Uppercase", "elementor"),
2531
+ renderContent: ({ size }) => /* @__PURE__ */ React60.createElement(import_icons21.LetterCaseUpperIcon, { fontSize: size }),
2433
2532
  showTooltip: true
2434
2533
  },
2435
2534
  {
2436
2535
  value: "lowercase",
2437
- label: (0, import_i18n39.__)("Lowercase", "elementor"),
2438
- renderContent: ({ size }) => /* @__PURE__ */ React59.createElement(import_icons21.LetterCaseLowerIcon, { fontSize: size }),
2536
+ label: (0, import_i18n40.__)("Lowercase", "elementor"),
2537
+ renderContent: ({ size }) => /* @__PURE__ */ React60.createElement(import_icons21.LetterCaseLowerIcon, { fontSize: size }),
2439
2538
  showTooltip: true
2440
2539
  }
2441
2540
  ];
2442
- var TransformField = () => /* @__PURE__ */ React59.createElement(StylesField, { bind: "text-transform" }, /* @__PURE__ */ React59.createElement(import_ui45.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React59.createElement(import_ui45.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React59.createElement(import_editor_controls40.ControlLabel, null, (0, import_i18n39.__)("Text transform", "elementor"))), /* @__PURE__ */ React59.createElement(import_ui45.Grid, { item: true, xs: 6, display: "flex", justifyContent: "end" }, /* @__PURE__ */ React59.createElement(import_editor_controls40.ToggleControl, { options: options11 }))));
2541
+ var TransformField = () => /* @__PURE__ */ React60.createElement(StylesField, { bind: "text-transform" }, /* @__PURE__ */ React60.createElement(import_ui46.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React60.createElement(import_ui46.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React60.createElement(import_editor_controls41.ControlLabel, null, (0, import_i18n40.__)("Text transform", "elementor"))), /* @__PURE__ */ React60.createElement(import_ui46.Grid, { item: true, xs: 6, display: "flex", justifyContent: "end" }, /* @__PURE__ */ React60.createElement(import_editor_controls41.ToggleControl, { options: options11 }))));
2443
2542
 
2444
2543
  // src/components/style-sections/typography-section/word-spacing-field.tsx
2445
- var React60 = __toESM(require("react"));
2446
- var import_editor_controls41 = require("@elementor/editor-controls");
2447
- var import_ui46 = require("@elementor/ui");
2448
- var import_i18n40 = require("@wordpress/i18n");
2544
+ var React61 = __toESM(require("react"));
2545
+ var import_editor_controls42 = require("@elementor/editor-controls");
2546
+ var import_ui47 = require("@elementor/ui");
2547
+ var import_i18n41 = require("@wordpress/i18n");
2449
2548
  var WordSpacingField = () => {
2450
- return /* @__PURE__ */ React60.createElement(StylesField, { bind: "word-spacing" }, /* @__PURE__ */ React60.createElement(import_ui46.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React60.createElement(import_ui46.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React60.createElement(import_editor_controls41.ControlLabel, null, (0, import_i18n40.__)("Word spacing", "elementor"))), /* @__PURE__ */ React60.createElement(import_ui46.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React60.createElement(import_editor_controls41.SizeControl, null))));
2549
+ return /* @__PURE__ */ React61.createElement(StylesField, { bind: "word-spacing" }, /* @__PURE__ */ React61.createElement(import_ui47.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React61.createElement(import_ui47.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React61.createElement(import_editor_controls42.ControlLabel, null, (0, import_i18n41.__)("Word spacing", "elementor"))), /* @__PURE__ */ React61.createElement(import_ui47.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React61.createElement(import_editor_controls42.SizeControl, null))));
2451
2550
  };
2452
2551
 
2453
2552
  // src/components/style-sections/typography-section/typography-section.tsx
2454
2553
  var TypographySection = () => {
2455
- return /* @__PURE__ */ React61.createElement(SectionContent, null, /* @__PURE__ */ React61.createElement(FontFamilyField, null), /* @__PURE__ */ React61.createElement(FontWeightField, null), /* @__PURE__ */ React61.createElement(FontSizeField, null), /* @__PURE__ */ React61.createElement(PanelDivider, null), /* @__PURE__ */ React61.createElement(TextAlignmentField, null), /* @__PURE__ */ React61.createElement(TextColorField, null), /* @__PURE__ */ React61.createElement(CollapsibleContent, null, /* @__PURE__ */ React61.createElement(SectionContent, { sx: { pt: 2 } }, /* @__PURE__ */ React61.createElement(LineHeightField, null), /* @__PURE__ */ React61.createElement(LetterSpacingField, null), /* @__PURE__ */ React61.createElement(WordSpacingField, null), /* @__PURE__ */ React61.createElement(PanelDivider, null), /* @__PURE__ */ React61.createElement(TextDecorationField, null), /* @__PURE__ */ React61.createElement(TransformField, null), /* @__PURE__ */ React61.createElement(TextDirectionField, null), /* @__PURE__ */ React61.createElement(FontStyleField, null), /* @__PURE__ */ React61.createElement(TextStrokeField, null))));
2554
+ return /* @__PURE__ */ React62.createElement(SectionContent, null, /* @__PURE__ */ React62.createElement(FontFamilyField, null), /* @__PURE__ */ React62.createElement(FontWeightField, null), /* @__PURE__ */ React62.createElement(FontSizeField, null), /* @__PURE__ */ React62.createElement(PanelDivider, null), /* @__PURE__ */ React62.createElement(TextAlignmentField, null), /* @__PURE__ */ React62.createElement(TextColorField, null), /* @__PURE__ */ React62.createElement(CollapsibleContent, null, /* @__PURE__ */ React62.createElement(SectionContent, { sx: { pt: 2 } }, /* @__PURE__ */ React62.createElement(LineHeightField, null), /* @__PURE__ */ React62.createElement(LetterSpacingField, null), /* @__PURE__ */ React62.createElement(WordSpacingField, null), /* @__PURE__ */ React62.createElement(PanelDivider, null), /* @__PURE__ */ React62.createElement(TextDecorationField, null), /* @__PURE__ */ React62.createElement(TransformField, null), /* @__PURE__ */ React62.createElement(TextDirectionField, null), /* @__PURE__ */ React62.createElement(FontStyleField, null), /* @__PURE__ */ React62.createElement(TextStrokeField, null))));
2456
2555
  };
2457
2556
 
2458
2557
  // src/components/style-tab.tsx
2459
2558
  var StyleTab = () => {
2460
2559
  const currentClassesProp = useCurrentClassesProp();
2461
2560
  const [activeStyleDefId, setActiveStyleDefId] = useActiveStyleDefId(currentClassesProp);
2462
- const [activeStyleState, setActiveStyleState] = (0, import_react15.useState)(null);
2561
+ const [activeStyleState, setActiveStyleState] = (0, import_react16.useState)(null);
2463
2562
  const breakpoint = (0, import_editor_responsive2.useActiveBreakpoint)();
2464
- return /* @__PURE__ */ React62.createElement(ClassesPropProvider, { prop: currentClassesProp }, /* @__PURE__ */ React62.createElement(
2563
+ return /* @__PURE__ */ React63.createElement(ClassesPropProvider, { prop: currentClassesProp }, /* @__PURE__ */ React63.createElement(
2465
2564
  StyleProvider,
2466
2565
  {
2467
2566
  meta: { breakpoint, state: activeStyleState },
@@ -2472,11 +2571,11 @@ var StyleTab = () => {
2472
2571
  },
2473
2572
  setMetaState: setActiveStyleState
2474
2573
  },
2475
- /* @__PURE__ */ React62.createElement(import_session3.SessionStorageProvider, { prefix: activeStyleDefId ?? "" }, /* @__PURE__ */ React62.createElement(StyleInheritanceProvider, null, /* @__PURE__ */ React62.createElement(CssClassSelector, null), /* @__PURE__ */ React62.createElement(import_ui47.Divider, null), /* @__PURE__ */ React62.createElement(SectionsList, null, /* @__PURE__ */ React62.createElement(Section, { title: (0, import_i18n41.__)("Layout", "elementor") }, /* @__PURE__ */ React62.createElement(LayoutSection, null)), /* @__PURE__ */ React62.createElement(Section, { title: (0, import_i18n41.__)("Spacing", "elementor") }, /* @__PURE__ */ React62.createElement(SpacingSection, null)), /* @__PURE__ */ React62.createElement(Section, { title: (0, import_i18n41.__)("Size", "elementor") }, /* @__PURE__ */ React62.createElement(SizeSection, null)), /* @__PURE__ */ React62.createElement(Section, { title: (0, import_i18n41.__)("Position", "elementor") }, /* @__PURE__ */ React62.createElement(PositionSection, null)), /* @__PURE__ */ React62.createElement(Section, { title: (0, import_i18n41.__)("Typography", "elementor") }, /* @__PURE__ */ React62.createElement(TypographySection, null)), /* @__PURE__ */ React62.createElement(Section, { title: (0, import_i18n41.__)("Background", "elementor") }, /* @__PURE__ */ React62.createElement(BackgroundSection, null)), /* @__PURE__ */ React62.createElement(Section, { title: (0, import_i18n41.__)("Border", "elementor") }, /* @__PURE__ */ React62.createElement(BorderSection, null)), /* @__PURE__ */ React62.createElement(Section, { title: (0, import_i18n41.__)("Effects", "elementor") }, /* @__PURE__ */ React62.createElement(EffectsSection, null)))))
2574
+ /* @__PURE__ */ React63.createElement(import_session3.SessionStorageProvider, { prefix: activeStyleDefId ?? "" }, /* @__PURE__ */ React63.createElement(StyleInheritanceProvider, null, /* @__PURE__ */ React63.createElement(CssClassSelector, null), /* @__PURE__ */ React63.createElement(import_ui48.Divider, null), /* @__PURE__ */ React63.createElement(SectionsList, null, /* @__PURE__ */ React63.createElement(Section, { title: (0, import_i18n42.__)("Layout", "elementor") }, /* @__PURE__ */ React63.createElement(LayoutSection, null)), /* @__PURE__ */ React63.createElement(Section, { title: (0, import_i18n42.__)("Spacing", "elementor") }, /* @__PURE__ */ React63.createElement(SpacingSection, null)), /* @__PURE__ */ React63.createElement(Section, { title: (0, import_i18n42.__)("Size", "elementor") }, /* @__PURE__ */ React63.createElement(SizeSection, null)), /* @__PURE__ */ React63.createElement(Section, { title: (0, import_i18n42.__)("Position", "elementor") }, /* @__PURE__ */ React63.createElement(PositionSection, null)), /* @__PURE__ */ React63.createElement(Section, { title: (0, import_i18n42.__)("Typography", "elementor") }, /* @__PURE__ */ React63.createElement(TypographySection, null)), /* @__PURE__ */ React63.createElement(Section, { title: (0, import_i18n42.__)("Background", "elementor") }, /* @__PURE__ */ React63.createElement(BackgroundSection, null)), /* @__PURE__ */ React63.createElement(Section, { title: (0, import_i18n42.__)("Border", "elementor") }, /* @__PURE__ */ React63.createElement(BorderSection, null)), /* @__PURE__ */ React63.createElement(Section, { title: (0, import_i18n42.__)("Effects", "elementor") }, /* @__PURE__ */ React63.createElement(EffectsSection, null)))))
2476
2575
  ));
2477
2576
  };
2478
2577
  function useActiveStyleDefId(currentClassesProp) {
2479
- const [activeStyledDefId, setActiveStyledDefId] = (0, import_react15.useState)(null);
2578
+ const [activeStyledDefId, setActiveStyledDefId] = (0, import_react16.useState)(null);
2480
2579
  const fallback = useFirstElementStyleDef(currentClassesProp);
2481
2580
  return [activeStyledDefId || fallback?.id || null, setActiveStyledDefId];
2482
2581
  }
@@ -2500,11 +2599,11 @@ function useCurrentClassesProp() {
2500
2599
  // src/components/editing-panel-tabs.tsx
2501
2600
  var EditingPanelTabs = () => {
2502
2601
  const { element } = useElement();
2503
- const { getTabProps, getTabPanelProps, getTabsProps } = (0, import_ui48.useTabs)("settings");
2602
+ const { getTabProps, getTabPanelProps, getTabsProps } = (0, import_ui49.useTabs)("settings");
2504
2603
  return (
2505
2604
  // When switching between elements, the local states should be reset. We are using key to rerender the tabs.
2506
2605
  // Reference: https://react.dev/learn/preserving-and-resetting-state#resetting-a-form-with-a-key
2507
- /* @__PURE__ */ React63.createElement(import_react16.Fragment, { key: element.id }, /* @__PURE__ */ React63.createElement(import_ui48.Stack, { direction: "column", sx: { width: "100%" } }, /* @__PURE__ */ React63.createElement(import_ui48.Tabs, { variant: "fullWidth", indicatorColor: "secondary", textColor: "inherit", ...getTabsProps() }, /* @__PURE__ */ React63.createElement(import_ui48.Tab, { label: (0, import_i18n42.__)("General", "elementor"), ...getTabProps("settings") }), /* @__PURE__ */ React63.createElement(import_ui48.Tab, { label: (0, import_i18n42.__)("Style", "elementor"), ...getTabProps("style") })), /* @__PURE__ */ React63.createElement(import_ui48.Divider, null), /* @__PURE__ */ React63.createElement(import_ui48.TabPanel, { ...getTabPanelProps("settings"), disablePadding: true }, /* @__PURE__ */ React63.createElement(SettingsTab, null)), /* @__PURE__ */ React63.createElement(import_ui48.TabPanel, { ...getTabPanelProps("style"), disablePadding: true }, /* @__PURE__ */ React63.createElement(StyleTab, null))))
2606
+ /* @__PURE__ */ React64.createElement(import_react17.Fragment, { key: element.id }, /* @__PURE__ */ React64.createElement(import_ui49.Stack, { direction: "column", sx: { width: "100%" } }, /* @__PURE__ */ React64.createElement(import_ui49.Tabs, { variant: "fullWidth", indicatorColor: "secondary", textColor: "inherit", ...getTabsProps() }, /* @__PURE__ */ React64.createElement(import_ui49.Tab, { label: (0, import_i18n43.__)("General", "elementor"), ...getTabProps("settings") }), /* @__PURE__ */ React64.createElement(import_ui49.Tab, { label: (0, import_i18n43.__)("Style", "elementor"), ...getTabProps("style") })), /* @__PURE__ */ React64.createElement(import_ui49.Divider, null), /* @__PURE__ */ React64.createElement(import_ui49.TabPanel, { ...getTabPanelProps("settings"), disablePadding: true }, /* @__PURE__ */ React64.createElement(SettingsTab, null)), /* @__PURE__ */ React64.createElement(import_ui49.TabPanel, { ...getTabPanelProps("style"), disablePadding: true }, /* @__PURE__ */ React64.createElement(StyleTab, null))))
2508
2607
  );
2509
2608
  };
2510
2609
 
@@ -2517,8 +2616,8 @@ var EditingPanel = () => {
2517
2616
  if (!element || !elementType) {
2518
2617
  return null;
2519
2618
  }
2520
- const panelTitle = (0, import_i18n43.__)("Edit %s", "elementor").replace("%s", elementType.title);
2521
- return /* @__PURE__ */ React64.createElement(import_ui49.ErrorBoundary, { fallback: /* @__PURE__ */ React64.createElement(EditorPanelErrorFallback, null) }, /* @__PURE__ */ React64.createElement(import_session4.SessionStorageProvider, { prefix: "elementor" }, /* @__PURE__ */ React64.createElement(import_editor_panels.Panel, null, /* @__PURE__ */ React64.createElement(import_editor_panels.PanelHeader, null, /* @__PURE__ */ React64.createElement(import_editor_panels.PanelHeaderTitle, null, panelTitle), /* @__PURE__ */ React64.createElement(import_icons22.AtomIcon, { fontSize: "small", sx: { color: "text.tertiary" } })), /* @__PURE__ */ React64.createElement(import_editor_panels.PanelBody, null, /* @__PURE__ */ React64.createElement(import_editor_controls42.ControlActionsProvider, { items: menuItems }, /* @__PURE__ */ React64.createElement(import_editor_controls42.ControlReplacementProvider, { ...controlReplacement }, /* @__PURE__ */ React64.createElement(ElementProvider, { element, elementType }, /* @__PURE__ */ React64.createElement(EditingPanelTabs, null))))))));
2619
+ const panelTitle = (0, import_i18n44.__)("Edit %s", "elementor").replace("%s", elementType.title);
2620
+ return /* @__PURE__ */ React65.createElement(import_ui50.ErrorBoundary, { fallback: /* @__PURE__ */ React65.createElement(EditorPanelErrorFallback, null) }, /* @__PURE__ */ React65.createElement(import_session4.SessionStorageProvider, { prefix: "elementor" }, /* @__PURE__ */ React65.createElement(import_editor_panels.Panel, null, /* @__PURE__ */ React65.createElement(import_editor_panels.PanelHeader, null, /* @__PURE__ */ React65.createElement(import_editor_panels.PanelHeaderTitle, null, panelTitle), /* @__PURE__ */ React65.createElement(import_icons22.AtomIcon, { fontSize: "small", sx: { color: "text.tertiary" } })), /* @__PURE__ */ React65.createElement(import_editor_panels.PanelBody, null, /* @__PURE__ */ React65.createElement(import_editor_controls43.ControlActionsProvider, { items: menuItems }, /* @__PURE__ */ React65.createElement(import_editor_controls43.ControlReplacementProvider, { ...controlReplacement }, /* @__PURE__ */ React65.createElement(ElementProvider, { element, elementType }, /* @__PURE__ */ React65.createElement(EditingPanelTabs, null))))))));
2522
2621
  };
2523
2622
 
2524
2623
  // src/panel.ts
@@ -2534,7 +2633,7 @@ var import_editor_panels3 = require("@elementor/editor-panels");
2534
2633
  var import_editor_v1_adapters4 = require("@elementor/editor-v1-adapters");
2535
2634
 
2536
2635
  // src/hooks/use-open-editor-panel.ts
2537
- var import_react17 = require("react");
2636
+ var import_react18 = require("react");
2538
2637
  var import_editor_v1_adapters3 = require("@elementor/editor-v1-adapters");
2539
2638
 
2540
2639
  // src/sync/is-atomic-widget-selected.ts
@@ -2551,7 +2650,7 @@ var isAtomicWidgetSelected = () => {
2551
2650
  // src/hooks/use-open-editor-panel.ts
2552
2651
  var useOpenEditorPanel = () => {
2553
2652
  const { open } = usePanelActions();
2554
- (0, import_react17.useEffect)(() => {
2653
+ (0, import_react18.useEffect)(() => {
2555
2654
  return (0, import_editor_v1_adapters3.__privateListenTo)((0, import_editor_v1_adapters3.commandStartEvent)("panel/editor/open"), () => {
2556
2655
  if (isAtomicWidgetSelected()) {
2557
2656
  open();
@@ -2567,17 +2666,17 @@ var EditingPanelHooks = () => {
2567
2666
  };
2568
2667
 
2569
2668
  // src/dynamics/components/dynamic-selection-control.tsx
2570
- var React68 = __toESM(require("react"));
2571
- var import_react21 = require("react");
2572
- var import_editor_controls46 = require("@elementor/editor-controls");
2669
+ var React69 = __toESM(require("react"));
2670
+ var import_react22 = require("react");
2671
+ var import_editor_controls47 = require("@elementor/editor-controls");
2573
2672
  var import_icons24 = require("@elementor/icons");
2574
- var import_ui52 = require("@elementor/ui");
2575
- var import_i18n45 = require("@wordpress/i18n");
2673
+ var import_ui53 = require("@elementor/ui");
2674
+ var import_i18n46 = require("@wordpress/i18n");
2576
2675
 
2577
2676
  // src/components/popover-content.tsx
2578
- var React65 = __toESM(require("react"));
2579
- var import_ui50 = require("@elementor/ui");
2580
- var PopoverContent = ({ alignItems, gap = 1.5, p, children }) => /* @__PURE__ */ React65.createElement(import_ui50.Stack, { alignItems, gap, p }, children);
2677
+ var React66 = __toESM(require("react"));
2678
+ var import_ui51 = require("@elementor/ui");
2679
+ var PopoverContent = ({ alignItems, gap = 1.5, p, children }) => /* @__PURE__ */ React66.createElement(import_ui51.Stack, { alignItems, gap, p }, children);
2581
2680
 
2582
2681
  // src/hooks/use-persist-dynamic-value.ts
2583
2682
  var import_session5 = require("@elementor/session");
@@ -2588,15 +2687,15 @@ var usePersistDynamicValue = (propKey) => {
2588
2687
  };
2589
2688
 
2590
2689
  // src/dynamics/dynamic-control.tsx
2591
- var React66 = __toESM(require("react"));
2592
- var import_editor_controls44 = require("@elementor/editor-controls");
2690
+ var React67 = __toESM(require("react"));
2691
+ var import_editor_controls45 = require("@elementor/editor-controls");
2593
2692
 
2594
2693
  // src/dynamics/hooks/use-dynamic-tag.ts
2595
- var import_react19 = require("react");
2694
+ var import_react20 = require("react");
2596
2695
 
2597
2696
  // src/dynamics/hooks/use-prop-dynamic-tags.ts
2598
- var import_react18 = require("react");
2599
- var import_editor_controls43 = require("@elementor/editor-controls");
2697
+ var import_react19 = require("react");
2698
+ var import_editor_controls44 = require("@elementor/editor-controls");
2600
2699
 
2601
2700
  // src/dynamics/sync/get-elementor-config.ts
2602
2701
  var getElementorConfig2 = () => {
@@ -2642,12 +2741,12 @@ var dynamicPropTypeUtil = (0, import_editor_props6.createPropUtils)(
2642
2741
  // src/dynamics/hooks/use-prop-dynamic-tags.ts
2643
2742
  var usePropDynamicTags = () => {
2644
2743
  let categories = [];
2645
- const { propType } = (0, import_editor_controls43.useBoundProp)();
2744
+ const { propType } = (0, import_editor_controls44.useBoundProp)();
2646
2745
  if (propType) {
2647
2746
  const propDynamicType = getDynamicPropType(propType);
2648
2747
  categories = propDynamicType?.settings.categories || [];
2649
2748
  }
2650
- return (0, import_react18.useMemo)(() => getDynamicTagsByCategories(categories), [categories.join()]);
2749
+ return (0, import_react19.useMemo)(() => getDynamicTagsByCategories(categories), [categories.join()]);
2651
2750
  };
2652
2751
  var getDynamicTagsByCategories = (categories) => {
2653
2752
  const dynamicTags = getAtomicDynamicTags();
@@ -2663,12 +2762,12 @@ var getDynamicTagsByCategories = (categories) => {
2663
2762
  // src/dynamics/hooks/use-dynamic-tag.ts
2664
2763
  var useDynamicTag = (tagName) => {
2665
2764
  const dynamicTags = usePropDynamicTags();
2666
- return (0, import_react19.useMemo)(() => dynamicTags.find((tag) => tag.name === tagName) ?? null, [dynamicTags, tagName]);
2765
+ return (0, import_react20.useMemo)(() => dynamicTags.find((tag) => tag.name === tagName) ?? null, [dynamicTags, tagName]);
2667
2766
  };
2668
2767
 
2669
2768
  // src/dynamics/dynamic-control.tsx
2670
2769
  var DynamicControl = ({ bind, children }) => {
2671
- const { value, setValue } = (0, import_editor_controls44.useBoundProp)(dynamicPropTypeUtil);
2770
+ const { value, setValue } = (0, import_editor_controls45.useBoundProp)(dynamicPropTypeUtil);
2672
2771
  const { name = "", settings } = value ?? {};
2673
2772
  const dynamicTag = useDynamicTag(name);
2674
2773
  if (!dynamicTag) {
@@ -2687,22 +2786,22 @@ var DynamicControl = ({ bind, children }) => {
2687
2786
  });
2688
2787
  };
2689
2788
  const propType = createTopLevelOjectType({ schema: dynamicTag.props_schema });
2690
- return /* @__PURE__ */ React66.createElement(import_editor_controls44.PropProvider, { propType, setValue: setDynamicValue, value: { [bind]: dynamicValue } }, /* @__PURE__ */ React66.createElement(import_editor_controls44.PropKeyProvider, { bind }, children));
2789
+ return /* @__PURE__ */ React67.createElement(import_editor_controls45.PropProvider, { propType, setValue: setDynamicValue, value: { [bind]: dynamicValue } }, /* @__PURE__ */ React67.createElement(import_editor_controls45.PropKeyProvider, { bind }, children));
2691
2790
  };
2692
2791
 
2693
2792
  // src/dynamics/components/dynamic-selection.tsx
2694
- var React67 = __toESM(require("react"));
2695
- var import_react20 = require("react");
2696
- var import_editor_controls45 = require("@elementor/editor-controls");
2793
+ var React68 = __toESM(require("react"));
2794
+ var import_react21 = require("react");
2795
+ var import_editor_controls46 = require("@elementor/editor-controls");
2697
2796
  var import_icons23 = require("@elementor/icons");
2698
- var import_ui51 = require("@elementor/ui");
2699
- var import_i18n44 = require("@wordpress/i18n");
2797
+ var import_ui52 = require("@elementor/ui");
2798
+ var import_i18n45 = require("@wordpress/i18n");
2700
2799
  var SIZE3 = "tiny";
2701
2800
  var DynamicSelection = ({ onSelect }) => {
2702
- const [searchValue, setSearchValue] = (0, import_react20.useState)("");
2801
+ const [searchValue, setSearchValue] = (0, import_react21.useState)("");
2703
2802
  const { groups: dynamicGroups } = getAtomicDynamicTags() || {};
2704
- const { value: anyValue } = (0, import_editor_controls45.useBoundProp)();
2705
- const { bind, value: dynamicValue, setValue } = (0, import_editor_controls45.useBoundProp)(dynamicPropTypeUtil);
2803
+ const { value: anyValue } = (0, import_editor_controls46.useBoundProp)();
2804
+ const { bind, value: dynamicValue, setValue } = (0, import_editor_controls46.useBoundProp)(dynamicPropTypeUtil);
2706
2805
  const [, updatePropValueHistory] = usePersistDynamicValue(bind);
2707
2806
  const isCurrentValueDynamic = !!dynamicValue;
2708
2807
  const options12 = useFilteredOptions(searchValue);
@@ -2717,28 +2816,28 @@ var DynamicSelection = ({ onSelect }) => {
2717
2816
  setValue({ name: value, settings: {} });
2718
2817
  onSelect?.();
2719
2818
  };
2720
- return /* @__PURE__ */ React67.createElement(import_ui51.Stack, null, hasNoDynamicTags ? /* @__PURE__ */ React67.createElement(NoDynamicTags, null) : /* @__PURE__ */ React67.createElement(import_react20.Fragment, null, /* @__PURE__ */ React67.createElement(import_ui51.Box, { px: 1.5, pb: 1 }, /* @__PURE__ */ React67.createElement(
2721
- import_ui51.TextField,
2819
+ return /* @__PURE__ */ React68.createElement(import_ui52.Stack, null, hasNoDynamicTags ? /* @__PURE__ */ React68.createElement(NoDynamicTags, null) : /* @__PURE__ */ React68.createElement(import_react21.Fragment, null, /* @__PURE__ */ React68.createElement(import_ui52.Box, { px: 1.5, pb: 1 }, /* @__PURE__ */ React68.createElement(
2820
+ import_ui52.TextField,
2722
2821
  {
2723
2822
  fullWidth: true,
2724
2823
  size: SIZE3,
2725
2824
  value: searchValue,
2726
2825
  onChange: handleSearch,
2727
- placeholder: (0, import_i18n44.__)("Search dynamic tags\u2026", "elementor"),
2826
+ placeholder: (0, import_i18n45.__)("Search dynamic tags\u2026", "elementor"),
2728
2827
  InputProps: {
2729
- startAdornment: /* @__PURE__ */ React67.createElement(import_ui51.InputAdornment, { position: "start" }, /* @__PURE__ */ React67.createElement(import_icons23.SearchIcon, { fontSize: SIZE3 }))
2828
+ startAdornment: /* @__PURE__ */ React68.createElement(import_ui52.InputAdornment, { position: "start" }, /* @__PURE__ */ React68.createElement(import_icons23.SearchIcon, { fontSize: SIZE3 }))
2730
2829
  }
2731
2830
  }
2732
- )), /* @__PURE__ */ React67.createElement(import_ui51.Divider, null), /* @__PURE__ */ React67.createElement(import_ui51.Box, { sx: { overflowY: "auto", height: 260, width: 220 } }, options12.length > 0 ? /* @__PURE__ */ React67.createElement(import_ui51.MenuList, { role: "listbox", tabIndex: 0 }, options12.map(([category, items3], index) => /* @__PURE__ */ React67.createElement(import_react20.Fragment, { key: index }, /* @__PURE__ */ React67.createElement(
2733
- import_ui51.ListSubheader,
2831
+ )), /* @__PURE__ */ React68.createElement(import_ui52.Divider, null), /* @__PURE__ */ React68.createElement(import_ui52.Box, { sx: { overflowY: "auto", height: 260, width: 220 } }, options12.length > 0 ? /* @__PURE__ */ React68.createElement(import_ui52.MenuList, { role: "listbox", tabIndex: 0 }, options12.map(([category, items3], index) => /* @__PURE__ */ React68.createElement(import_react21.Fragment, { key: index }, /* @__PURE__ */ React68.createElement(
2832
+ import_ui52.ListSubheader,
2734
2833
  {
2735
2834
  sx: { px: 1.5, typography: "caption", color: "text.tertiary" }
2736
2835
  },
2737
2836
  dynamicGroups?.[category]?.title || category
2738
2837
  ), items3.map(({ value, label: tagLabel }) => {
2739
2838
  const isSelected = isCurrentValueDynamic && value === dynamicValue?.name;
2740
- return /* @__PURE__ */ React67.createElement(
2741
- import_ui51.MenuItem,
2839
+ return /* @__PURE__ */ React68.createElement(
2840
+ import_ui52.MenuItem,
2742
2841
  {
2743
2842
  key: value,
2744
2843
  selected: isSelected,
@@ -2748,10 +2847,10 @@ var DynamicSelection = ({ onSelect }) => {
2748
2847
  },
2749
2848
  tagLabel
2750
2849
  );
2751
- })))) : /* @__PURE__ */ React67.createElement(NoResults, { searchValue, onClear: () => setSearchValue("") }))));
2850
+ })))) : /* @__PURE__ */ React68.createElement(NoResults, { searchValue, onClear: () => setSearchValue("") }))));
2752
2851
  };
2753
- var NoResults = ({ searchValue, onClear }) => /* @__PURE__ */ React67.createElement(
2754
- import_ui51.Stack,
2852
+ var NoResults = ({ searchValue, onClear }) => /* @__PURE__ */ React68.createElement(
2853
+ import_ui52.Stack,
2755
2854
  {
2756
2855
  gap: 1,
2757
2856
  alignItems: "center",
@@ -2761,12 +2860,12 @@ var NoResults = ({ searchValue, onClear }) => /* @__PURE__ */ React67.createElem
2761
2860
  color: "text.secondary",
2762
2861
  sx: { pb: 3.5 }
2763
2862
  },
2764
- /* @__PURE__ */ React67.createElement(import_icons23.DatabaseIcon, { fontSize: "large" }),
2765
- /* @__PURE__ */ React67.createElement(import_ui51.Typography, { align: "center", variant: "subtitle2" }, (0, import_i18n44.__)("Sorry, nothing matched", "elementor"), /* @__PURE__ */ React67.createElement("br", null), "\u201C", searchValue, "\u201D."),
2766
- /* @__PURE__ */ React67.createElement(import_ui51.Typography, { align: "center", variant: "caption" }, (0, import_i18n44.__)("Try something else.", "elementor"), "\xA0", /* @__PURE__ */ React67.createElement(import_ui51.Link, { color: "text.secondary", variant: "caption", component: "button", onClick: onClear }, (0, import_i18n44.__)("Clear & try again", "elementor")))
2863
+ /* @__PURE__ */ React68.createElement(import_icons23.DatabaseIcon, { fontSize: "large" }),
2864
+ /* @__PURE__ */ React68.createElement(import_ui52.Typography, { align: "center", variant: "subtitle2" }, (0, import_i18n45.__)("Sorry, nothing matched", "elementor"), /* @__PURE__ */ React68.createElement("br", null), "\u201C", searchValue, "\u201D."),
2865
+ /* @__PURE__ */ React68.createElement(import_ui52.Typography, { align: "center", variant: "caption" }, (0, import_i18n45.__)("Try something else.", "elementor"), "\xA0", /* @__PURE__ */ React68.createElement(import_ui52.Link, { color: "text.secondary", variant: "caption", component: "button", onClick: onClear }, (0, import_i18n45.__)("Clear & try again", "elementor")))
2767
2866
  );
2768
- var NoDynamicTags = () => /* @__PURE__ */ React67.createElement(import_ui51.Box, { sx: { overflowY: "hidden", height: 297, width: 220 } }, /* @__PURE__ */ React67.createElement(import_ui51.Divider, null), /* @__PURE__ */ React67.createElement(
2769
- import_ui51.Stack,
2867
+ var NoDynamicTags = () => /* @__PURE__ */ React68.createElement(import_ui52.Box, { sx: { overflowY: "hidden", height: 297, width: 220 } }, /* @__PURE__ */ React68.createElement(import_ui52.Divider, null), /* @__PURE__ */ React68.createElement(
2868
+ import_ui52.Stack,
2770
2869
  {
2771
2870
  gap: 1,
2772
2871
  alignItems: "center",
@@ -2776,9 +2875,9 @@ var NoDynamicTags = () => /* @__PURE__ */ React67.createElement(import_ui51.Box,
2776
2875
  color: "text.secondary",
2777
2876
  sx: { pb: 3.5 }
2778
2877
  },
2779
- /* @__PURE__ */ React67.createElement(import_icons23.DatabaseIcon, { fontSize: "large" }),
2780
- /* @__PURE__ */ React67.createElement(import_ui51.Typography, { align: "center", variant: "subtitle2" }, (0, import_i18n44.__)("Streamline your workflow with dynamic tags", "elementor")),
2781
- /* @__PURE__ */ React67.createElement(import_ui51.Typography, { align: "center", variant: "caption" }, (0, import_i18n44.__)("You\u2019ll need Elementor Pro to use this feature.", "elementor"))
2878
+ /* @__PURE__ */ React68.createElement(import_icons23.DatabaseIcon, { fontSize: "large" }),
2879
+ /* @__PURE__ */ React68.createElement(import_ui52.Typography, { align: "center", variant: "subtitle2" }, (0, import_i18n45.__)("Streamline your workflow with dynamic tags", "elementor")),
2880
+ /* @__PURE__ */ React68.createElement(import_ui52.Typography, { align: "center", variant: "caption" }, (0, import_i18n45.__)("You\u2019ll need Elementor Pro to use this feature.", "elementor"))
2782
2881
  ));
2783
2882
  var useFilteredOptions = (searchValue) => {
2784
2883
  const dynamicTags = usePropDynamicTags();
@@ -2799,12 +2898,12 @@ var useFilteredOptions = (searchValue) => {
2799
2898
  // src/dynamics/components/dynamic-selection-control.tsx
2800
2899
  var SIZE4 = "tiny";
2801
2900
  var DynamicSelectionControl = () => {
2802
- const { setValue: setAnyValue } = (0, import_editor_controls46.useBoundProp)();
2803
- const { bind, value } = (0, import_editor_controls46.useBoundProp)(dynamicPropTypeUtil);
2901
+ const { setValue: setAnyValue } = (0, import_editor_controls47.useBoundProp)();
2902
+ const { bind, value } = (0, import_editor_controls47.useBoundProp)(dynamicPropTypeUtil);
2804
2903
  const [propValueFromHistory] = usePersistDynamicValue(bind);
2805
2904
  const { name: tagName = "" } = value;
2806
- const selectionPopoverId = (0, import_react21.useId)();
2807
- const selectionPopoverState = (0, import_ui52.usePopupState)({ variant: "popover", popupId: selectionPopoverId });
2905
+ const selectionPopoverId = (0, import_react22.useId)();
2906
+ const selectionPopoverState = (0, import_ui53.usePopupState)({ variant: "popover", popupId: selectionPopoverId });
2808
2907
  const dynamicTag = useDynamicTag(tagName);
2809
2908
  const removeDynamicTag = () => {
2810
2909
  setAnyValue(propValueFromHistory ?? null);
@@ -2812,70 +2911,70 @@ var DynamicSelectionControl = () => {
2812
2911
  if (!dynamicTag) {
2813
2912
  throw new Error(`Dynamic tag ${tagName} not found`);
2814
2913
  }
2815
- return /* @__PURE__ */ React68.createElement(import_ui52.Box, null, /* @__PURE__ */ React68.createElement(
2816
- import_ui52.UnstableTag,
2914
+ return /* @__PURE__ */ React69.createElement(import_ui53.Box, null, /* @__PURE__ */ React69.createElement(
2915
+ import_ui53.UnstableTag,
2817
2916
  {
2818
2917
  fullWidth: true,
2819
2918
  showActionsOnHover: true,
2820
2919
  label: dynamicTag.label,
2821
- startIcon: /* @__PURE__ */ React68.createElement(import_icons24.DatabaseIcon, { fontSize: SIZE4 }),
2822
- ...(0, import_ui52.bindTrigger)(selectionPopoverState),
2823
- actions: /* @__PURE__ */ React68.createElement(React68.Fragment, null, /* @__PURE__ */ React68.createElement(DynamicSettingsPopover, { dynamicTag }), /* @__PURE__ */ React68.createElement(
2824
- import_ui52.IconButton,
2920
+ startIcon: /* @__PURE__ */ React69.createElement(import_icons24.DatabaseIcon, { fontSize: SIZE4 }),
2921
+ ...(0, import_ui53.bindTrigger)(selectionPopoverState),
2922
+ actions: /* @__PURE__ */ React69.createElement(React69.Fragment, null, /* @__PURE__ */ React69.createElement(DynamicSettingsPopover, { dynamicTag }), /* @__PURE__ */ React69.createElement(
2923
+ import_ui53.IconButton,
2825
2924
  {
2826
2925
  size: SIZE4,
2827
2926
  onClick: removeDynamicTag,
2828
- "aria-label": (0, import_i18n45.__)("Remove dynamic value", "elementor")
2927
+ "aria-label": (0, import_i18n46.__)("Remove dynamic value", "elementor")
2829
2928
  },
2830
- /* @__PURE__ */ React68.createElement(import_icons24.XIcon, { fontSize: SIZE4 })
2929
+ /* @__PURE__ */ React69.createElement(import_icons24.XIcon, { fontSize: SIZE4 })
2831
2930
  ))
2832
2931
  }
2833
- ), /* @__PURE__ */ React68.createElement(
2834
- import_ui52.Popover,
2932
+ ), /* @__PURE__ */ React69.createElement(
2933
+ import_ui53.Popover,
2835
2934
  {
2836
2935
  disablePortal: true,
2837
2936
  disableScrollLock: true,
2838
2937
  anchorOrigin: { vertical: "bottom", horizontal: "left" },
2839
- ...(0, import_ui52.bindPopover)(selectionPopoverState)
2938
+ ...(0, import_ui53.bindPopover)(selectionPopoverState)
2840
2939
  },
2841
- /* @__PURE__ */ React68.createElement(import_ui52.Stack, null, /* @__PURE__ */ React68.createElement(import_ui52.Stack, { direction: "row", alignItems: "center", pl: 1.5, pr: 0.5, py: 1.5 }, /* @__PURE__ */ React68.createElement(import_icons24.DatabaseIcon, { fontSize: SIZE4, sx: { mr: 0.5 } }), /* @__PURE__ */ React68.createElement(import_ui52.Typography, { variant: "subtitle2" }, (0, import_i18n45.__)("Dynamic tags", "elementor")), /* @__PURE__ */ React68.createElement(import_ui52.IconButton, { size: SIZE4, sx: { ml: "auto" }, onClick: selectionPopoverState.close }, /* @__PURE__ */ React68.createElement(import_icons24.XIcon, { fontSize: SIZE4 }))), /* @__PURE__ */ React68.createElement(DynamicSelection, { onSelect: selectionPopoverState.close }))
2940
+ /* @__PURE__ */ React69.createElement(import_ui53.Stack, null, /* @__PURE__ */ React69.createElement(import_ui53.Stack, { direction: "row", alignItems: "center", pl: 1.5, pr: 0.5, py: 1.5 }, /* @__PURE__ */ React69.createElement(import_icons24.DatabaseIcon, { fontSize: SIZE4, sx: { mr: 0.5 } }), /* @__PURE__ */ React69.createElement(import_ui53.Typography, { variant: "subtitle2" }, (0, import_i18n46.__)("Dynamic tags", "elementor")), /* @__PURE__ */ React69.createElement(import_ui53.IconButton, { size: SIZE4, sx: { ml: "auto" }, onClick: selectionPopoverState.close }, /* @__PURE__ */ React69.createElement(import_icons24.XIcon, { fontSize: SIZE4 }))), /* @__PURE__ */ React69.createElement(DynamicSelection, { onSelect: selectionPopoverState.close }))
2842
2941
  ));
2843
2942
  };
2844
2943
  var DynamicSettingsPopover = ({ dynamicTag }) => {
2845
- const popupId = (0, import_react21.useId)();
2846
- const settingsPopupState = (0, import_ui52.usePopupState)({ variant: "popover", popupId });
2944
+ const popupId = (0, import_react22.useId)();
2945
+ const settingsPopupState = (0, import_ui53.usePopupState)({ variant: "popover", popupId });
2847
2946
  const hasDynamicSettings = !!dynamicTag.atomic_controls.length;
2848
2947
  if (!hasDynamicSettings) {
2849
2948
  return null;
2850
2949
  }
2851
- return /* @__PURE__ */ React68.createElement(React68.Fragment, null, /* @__PURE__ */ React68.createElement(
2852
- import_ui52.IconButton,
2950
+ return /* @__PURE__ */ React69.createElement(React69.Fragment, null, /* @__PURE__ */ React69.createElement(
2951
+ import_ui53.IconButton,
2853
2952
  {
2854
2953
  size: SIZE4,
2855
- ...(0, import_ui52.bindTrigger)(settingsPopupState),
2856
- "aria-label": (0, import_i18n45.__)("Settings", "elementor")
2954
+ ...(0, import_ui53.bindTrigger)(settingsPopupState),
2955
+ "aria-label": (0, import_i18n46.__)("Settings", "elementor")
2857
2956
  },
2858
- /* @__PURE__ */ React68.createElement(import_icons24.SettingsIcon, { fontSize: SIZE4 })
2859
- ), /* @__PURE__ */ React68.createElement(
2860
- import_ui52.Popover,
2957
+ /* @__PURE__ */ React69.createElement(import_icons24.SettingsIcon, { fontSize: SIZE4 })
2958
+ ), /* @__PURE__ */ React69.createElement(
2959
+ import_ui53.Popover,
2861
2960
  {
2862
2961
  disableScrollLock: true,
2863
2962
  anchorOrigin: { vertical: "bottom", horizontal: "center" },
2864
- ...(0, import_ui52.bindPopover)(settingsPopupState)
2963
+ ...(0, import_ui53.bindPopover)(settingsPopupState)
2865
2964
  },
2866
- /* @__PURE__ */ React68.createElement(import_ui52.Paper, { component: import_ui52.Stack, sx: { minHeight: "300px", width: "220px" } }, /* @__PURE__ */ React68.createElement(import_ui52.Stack, { direction: "row", alignItems: "center", px: 1.5, pt: 2, pb: 1 }, /* @__PURE__ */ React68.createElement(import_icons24.DatabaseIcon, { fontSize: SIZE4, sx: { mr: 0.5 } }), /* @__PURE__ */ React68.createElement(import_ui52.Typography, { variant: "subtitle2" }, dynamicTag.label), /* @__PURE__ */ React68.createElement(import_ui52.IconButton, { sx: { ml: "auto" }, size: SIZE4, onClick: settingsPopupState.close }, /* @__PURE__ */ React68.createElement(import_icons24.XIcon, { fontSize: SIZE4 }))), /* @__PURE__ */ React68.createElement(DynamicSettings, { controls: dynamicTag.atomic_controls }))
2965
+ /* @__PURE__ */ React69.createElement(import_ui53.Paper, { component: import_ui53.Stack, sx: { minHeight: "300px", width: "220px" } }, /* @__PURE__ */ React69.createElement(import_ui53.Stack, { direction: "row", alignItems: "center", px: 1.5, pt: 2, pb: 1 }, /* @__PURE__ */ React69.createElement(import_icons24.DatabaseIcon, { fontSize: SIZE4, sx: { mr: 0.5 } }), /* @__PURE__ */ React69.createElement(import_ui53.Typography, { variant: "subtitle2" }, dynamicTag.label), /* @__PURE__ */ React69.createElement(import_ui53.IconButton, { sx: { ml: "auto" }, size: SIZE4, onClick: settingsPopupState.close }, /* @__PURE__ */ React69.createElement(import_icons24.XIcon, { fontSize: SIZE4 }))), /* @__PURE__ */ React69.createElement(DynamicSettings, { controls: dynamicTag.atomic_controls }))
2867
2966
  ));
2868
2967
  };
2869
2968
  var DynamicSettings = ({ controls }) => {
2870
2969
  const tabs = controls.filter(({ type }) => type === "section");
2871
- const { getTabsProps, getTabProps, getTabPanelProps } = (0, import_ui52.useTabs)(0);
2970
+ const { getTabsProps, getTabProps, getTabPanelProps } = (0, import_ui53.useTabs)(0);
2872
2971
  if (!tabs.length) {
2873
2972
  return null;
2874
2973
  }
2875
- return /* @__PURE__ */ React68.createElement(React68.Fragment, null, /* @__PURE__ */ React68.createElement(import_ui52.Tabs, { indicatorColor: "secondary", textColor: "secondary", ...getTabsProps() }, tabs.map(({ value }, index) => /* @__PURE__ */ React68.createElement(import_ui52.Tab, { key: index, label: value.label, sx: { px: 1, py: 0.5 }, ...getTabProps(index) }))), /* @__PURE__ */ React68.createElement(import_ui52.Divider, null), tabs.map(({ value }, index) => {
2876
- return /* @__PURE__ */ React68.createElement(import_ui52.TabPanel, { key: index, sx: { flexGrow: 1, py: 0 }, ...getTabPanelProps(index) }, /* @__PURE__ */ React68.createElement(PopoverContent, { p: 1.5 }, value.items.map((item) => {
2974
+ return /* @__PURE__ */ React69.createElement(React69.Fragment, null, /* @__PURE__ */ React69.createElement(import_ui53.Tabs, { indicatorColor: "secondary", textColor: "secondary", ...getTabsProps() }, tabs.map(({ value }, index) => /* @__PURE__ */ React69.createElement(import_ui53.Tab, { key: index, label: value.label, sx: { px: 1, py: 0.5 }, ...getTabProps(index) }))), /* @__PURE__ */ React69.createElement(import_ui53.Divider, null), tabs.map(({ value }, index) => {
2975
+ return /* @__PURE__ */ React69.createElement(import_ui53.TabPanel, { key: index, sx: { flexGrow: 1, py: 0 }, ...getTabPanelProps(index) }, /* @__PURE__ */ React69.createElement(PopoverContent, { p: 1.5 }, value.items.map((item) => {
2877
2976
  if (item.type === "control") {
2878
- return /* @__PURE__ */ React68.createElement(Control3, { key: item.value.bind, control: item.value });
2977
+ return /* @__PURE__ */ React69.createElement(Control3, { key: item.value.bind, control: item.value });
2879
2978
  }
2880
2979
  return null;
2881
2980
  })));
@@ -2885,22 +2984,22 @@ var Control3 = ({ control }) => {
2885
2984
  if (!getControlByType(control.type)) {
2886
2985
  return null;
2887
2986
  }
2888
- return /* @__PURE__ */ React68.createElement(DynamicControl, { bind: control.bind }, /* @__PURE__ */ React68.createElement(import_ui52.Grid, { container: true, gap: 1 }, control.label ? /* @__PURE__ */ React68.createElement(import_ui52.Grid, { item: true, xs: 12 }, /* @__PURE__ */ React68.createElement(import_editor_controls46.ControlLabel, null, control.label)) : null, /* @__PURE__ */ React68.createElement(import_ui52.Grid, { item: true, xs: 12 }, /* @__PURE__ */ React68.createElement(Control, { type: control.type, props: control.props }))));
2987
+ return /* @__PURE__ */ React69.createElement(DynamicControl, { bind: control.bind }, /* @__PURE__ */ React69.createElement(import_ui53.Grid, { container: true, gap: 1 }, control.label ? /* @__PURE__ */ React69.createElement(import_ui53.Grid, { item: true, xs: 12 }, /* @__PURE__ */ React69.createElement(import_editor_controls47.ControlLabel, null, control.label)) : null, /* @__PURE__ */ React69.createElement(import_ui53.Grid, { item: true, xs: 12 }, /* @__PURE__ */ React69.createElement(Control, { type: control.type, props: control.props }))));
2889
2988
  };
2890
2989
 
2891
2990
  // src/dynamics/hooks/use-prop-dynamic-action.tsx
2892
- var React69 = __toESM(require("react"));
2893
- var import_editor_controls47 = require("@elementor/editor-controls");
2991
+ var React70 = __toESM(require("react"));
2992
+ var import_editor_controls48 = require("@elementor/editor-controls");
2894
2993
  var import_icons25 = require("@elementor/icons");
2895
- var import_i18n46 = require("@wordpress/i18n");
2994
+ var import_i18n47 = require("@wordpress/i18n");
2896
2995
  var usePropDynamicAction = () => {
2897
- const { propType } = (0, import_editor_controls47.useBoundProp)();
2996
+ const { propType } = (0, import_editor_controls48.useBoundProp)();
2898
2997
  const visible = !!propType && supportsDynamic(propType);
2899
2998
  return {
2900
2999
  visible,
2901
3000
  icon: import_icons25.DatabaseIcon,
2902
- title: (0, import_i18n46.__)("Dynamic tags", "elementor"),
2903
- popoverContent: ({ closePopover }) => /* @__PURE__ */ React69.createElement(DynamicSelection, { onSelect: closePopover })
3001
+ title: (0, import_i18n47.__)("Dynamic tags", "elementor"),
3002
+ popoverContent: ({ closePopover }) => /* @__PURE__ */ React70.createElement(DynamicSelection, { onSelect: closePopover })
2904
3003
  };
2905
3004
  };
2906
3005