@enyxs/wikex-components 0.11.31 → 0.11.33

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -3544,13 +3544,13 @@ var dynamicListBlocks = configs.map(createBlock);
3544
3544
  var dynamicListTypes = new Set(dynamicListBlocks.map((block) => block.definition.type));
3545
3545
 
3546
3546
  // src/wikex/original-commodity-blocks.tsx
3547
- import { useEffect as useEffect11, useLayoutEffect as useLayoutEffect4, useMemo as useMemo8, useRef as useRef10 } from "react";
3547
+ import { useEffect as useEffect11, useLayoutEffect as useLayoutEffect4, useMemo as useMemo8, useRef as useRef11 } from "react";
3548
3548
  import { usePathname as usePathname2 } from "next/navigation.js";
3549
3549
  import { createInstance } from "i18next";
3550
3550
  import { I18nextProvider, initReactI18next } from "react-i18next";
3551
3551
  import Box7 from "@mui/material/Box";
3552
- import Button9 from "@mui/material/Button";
3553
- import Stack5 from "@mui/material/Stack";
3552
+ import Button10 from "@mui/material/Button";
3553
+ import Stack6 from "@mui/material/Stack";
3554
3554
 
3555
3555
  // src/commodity-original/i18n/resources.ts
3556
3556
  var translations = {
@@ -7552,17 +7552,17 @@ import { useTranslation as useTranslation4 } from "react-i18next";
7552
7552
 
7553
7553
  // src/wikex/fees-table.tsx
7554
7554
  import { jsx as _jsx3, jsxs as _jsxs3 } from "react/jsx-runtime";
7555
- import { useId, useLayoutEffect as useLayoutEffect2, useRef as useRef4, useState as useState6 } from "react";
7555
+ import { useId, useLayoutEffect as useLayoutEffect2, useRef as useRef5, useState as useState6 } from "react";
7556
7556
  import styled12, { ThemeProvider } from "styled-components";
7557
- import TextField3 from "@mui/material/TextField";
7557
+ import TextField4 from "@mui/material/TextField";
7558
7558
  import Dialog2 from "@mui/material/Dialog";
7559
7559
  import DialogTitle from "@mui/material/DialogTitle";
7560
7560
  import DialogContent from "@mui/material/DialogContent";
7561
7561
  import DialogContentText from "@mui/material/DialogContentText";
7562
7562
  import DialogActions from "@mui/material/DialogActions";
7563
- import Button8 from "@mui/material/Button";
7563
+ import Button9 from "@mui/material/Button";
7564
7564
  import Select2 from "@mui/material/Select";
7565
- import MenuItem3 from "@mui/material/MenuItem";
7565
+ import MenuItem4 from "@mui/material/MenuItem";
7566
7566
  import Checkbox2 from "@mui/material/Checkbox";
7567
7567
  import Collapse from "@mui/material/Collapse";
7568
7568
 
@@ -7605,6 +7605,28 @@ function moveFeesItem(items, from, to) {
7605
7605
  next.splice(to, 0, item);
7606
7606
  return next;
7607
7607
  }
7608
+ function setFeesColumnAlignment(table, columnKey, textAlign) {
7609
+ if (!table.columns.some((column) => column.key === columnKey)) return table;
7610
+ return {
7611
+ ...table,
7612
+ columns: table.columns.map((column) => {
7613
+ if (column.key !== columnKey) return column;
7614
+ const { textAlign: _previous, ...rest } = column;
7615
+ return { ...rest, ...textAlign ? { textAlign } : {} };
7616
+ }),
7617
+ rows: table.rows.map((row) => {
7618
+ if (!row.cellAlignments || !Object.prototype.hasOwnProperty.call(row.cellAlignments, columnKey)) return row;
7619
+ const { cellAlignments, ...rest } = row;
7620
+ const alignments = { ...cellAlignments };
7621
+ delete alignments[columnKey];
7622
+ return { ...rest, ...Object.keys(alignments).length ? { cellAlignments: alignments } : {} };
7623
+ })
7624
+ };
7625
+ }
7626
+ function validateFeesTextAlign(value4) {
7627
+ if (!FEES_TEXT_ALIGNS.includes(value4)) throw new Error("C\u0103n l\u1EC1 b\u1EA3ng ph\xED kh\xF4ng h\u1EE3p l\u1EC7. Ch\u1ECDn c\u0103n tr\xE1i, gi\u1EEFa ho\u1EB7c ph\u1EA3i.");
7628
+ return value4;
7629
+ }
7608
7630
  function isRecord(value4) {
7609
7631
  return value4 !== null && typeof value4 === "object" && !Array.isArray(value4);
7610
7632
  }
@@ -7630,8 +7652,7 @@ function validateFeesTypography(value4) {
7630
7652
  style.fontWeight = raw.fontWeight;
7631
7653
  }
7632
7654
  if (raw.textAlign !== void 0) {
7633
- if (!FEES_TEXT_ALIGNS.includes(raw.textAlign)) throw new Error("C\u0103n l\u1EC1 b\u1EA3ng ph\xED kh\xF4ng h\u1EE3p l\u1EC7. Ch\u1ECDn c\u0103n tr\xE1i, gi\u1EEFa ho\u1EB7c ph\u1EA3i.");
7634
- style.textAlign = raw.textAlign;
7655
+ style.textAlign = validateFeesTextAlign(raw.textAlign);
7635
7656
  }
7636
7657
  if (Object.keys(style).length) result[part] = style;
7637
7658
  }
@@ -7644,14 +7665,22 @@ function validateFeesTable(value4) {
7644
7665
  const columns = value4.columns.map((column) => {
7645
7666
  if (!isRecord(column) || typeof column.key !== "string" || !column.key || keys2.has(column.key) || typeof column.title !== "string") throw invalid();
7646
7667
  keys2.add(column.key);
7647
- return { key: column.key, title: column.title };
7668
+ return { key: column.key, title: column.title, ...column.textAlign !== void 0 ? { textAlign: validateFeesTextAlign(column.textAlign) } : {} };
7648
7669
  });
7649
7670
  if (!keys2.has("name")) throw invalid();
7650
7671
  const ids = /* @__PURE__ */ new Set();
7651
7672
  const rows = value4.rows.map((row) => {
7652
7673
  if (!isRecord(row) || typeof row.id !== "string" || !row.id || ids.has(row.id) || !isRecord(row.cells) || Object.values(row.cells).some((cell) => typeof cell !== "string") || !isStringArray(row.tags)) throw invalid();
7653
7674
  ids.add(row.id);
7654
- return { id: row.id, cells: { ...row.cells }, tags: [...row.tags] };
7675
+ const alignments = {};
7676
+ if (row.cellAlignments !== void 0) {
7677
+ if (!isRecord(row.cellAlignments)) throw invalid();
7678
+ for (const [key, align] of Object.entries(row.cellAlignments)) {
7679
+ if (!keys2.has(key)) throw invalid();
7680
+ Object.defineProperty(alignments, key, { value: validateFeesTextAlign(align), enumerable: true, configurable: true, writable: true });
7681
+ }
7682
+ }
7683
+ return { id: row.id, cells: { ...row.cells }, tags: [...row.tags], ...Object.keys(alignments).length ? { cellAlignments: alignments } : {} };
7655
7684
  });
7656
7685
  const typography = validateFeesTypography(value4.typography);
7657
7686
  return { columns, rows, ...value4.tags !== void 0 ? { tags: [...value4.tags] } : {}, ...typography ? { typography } : {} };
@@ -7762,7 +7791,6 @@ function defaultFeesTable(t) {
7762
7791
  // src/wikex/fees-typography-controls.tsx
7763
7792
  import { jsx as jsx15, jsxs as jsxs9 } from "react/jsx-runtime";
7764
7793
  var weightLabels = { 400: "Th\u01B0\u1EDDng", 500: "V\u1EEBa", 600: "H\u01A1i \u0111\u1EADm", 700: "\u0110\u1EADm", 800: "R\u1EA5t \u0111\u1EADm" };
7765
- var alignLabels = { left: "C\u0103n tr\xE1i", center: "C\u0103n gi\u1EEFa", right: "C\u0103n ph\u1EA3i" };
7766
7794
  function FontSizeInput({ label, value: value4, onChange }) {
7767
7795
  const [draft, setDraft] = useState5(String(value4));
7768
7796
  const [error, setError] = useState5(false);
@@ -7814,7 +7842,7 @@ function FeesTypographyControls({ value: value4, onChange }) {
7814
7842
  /* @__PURE__ */ jsxs9(Stack4, { direction: { xs: "column", sm: "row" }, gap: 1.5, justifyContent: "space-between", alignItems: { sm: "center" }, sx: { mb: 2 }, children: [
7815
7843
  /* @__PURE__ */ jsxs9(Box6, { children: [
7816
7844
  /* @__PURE__ */ jsx15(Typography4, { variant: "subtitle2", children: "\u0110\u1ECBnh d\u1EA1ng ch\u1EEF" }),
7817
- /* @__PURE__ */ jsx15(Typography4, { variant: "caption", color: "text.secondary", children: "\xC1p d\u1EE5ng cho to\xE0n b\u1EA3ng, theo ng\xF4n ng\u1EEF \u0111ang ch\u1ECDn. Xem thay \u0111\u1ED5i ngay b\xEAn d\u01B0\u1EDBi." })
7845
+ /* @__PURE__ */ jsx15(Typography4, { variant: "caption", color: "text.secondary", children: "C\u1EE1 ch\u1EEF v\xE0 \u0111\u1ED9 \u0111\u1EADm \xE1p d\u1EE5ng cho to\xE0n b\u1EA3ng, theo ng\xF4n ng\u1EEF \u0111ang ch\u1ECDn. Ch\u1ECDn c\u1ED9t trong m\u1EE5c C\u0103n l\u1EC1 theo c\u1ED9t \u0111\u1EC3 ch\u1EC9nh ti\xEAu \u0111\u1EC1 v\xE0 to\xE0n b\u1ED9 gi\xE1 tr\u1ECB c\u1EE7a c\u1ED9t." })
7818
7846
  ] }),
7819
7847
  /* @__PURE__ */ jsxs9(Stack4, { direction: "row", gap: 1, flexShrink: 0, children: [
7820
7848
  /* @__PURE__ */ jsx15(Button7, { size: "small", variant: "outlined", onClick: () => onChange({ thead: { ...value4?.thead, fontSize: 14, fontWeight: 700 }, tbody: { ...value4?.tbody, fontSize: 14, fontWeight: 500 } }), children: "D\u1EC5 \u0111\u1ECDc" }),
@@ -7847,29 +7875,89 @@ function FeesTypographyControls({ value: value4, onChange }) {
7847
7875
  ] }, weight))
7848
7876
  }
7849
7877
  )
7850
- ] }),
7851
- /* @__PURE__ */ jsxs9(
7852
- TextField2,
7853
- {
7854
- select: true,
7855
- fullWidth: true,
7856
- size: "small",
7857
- label: "C\u0103n l\u1EC1",
7858
- value: value4?.[part]?.textAlign ?? "",
7859
- slotProps: { select: { displayEmpty: true, SelectDisplayProps: { "aria-labelledby": void 0 }, MenuProps: { container: () => root.current?.ownerDocument.body ?? document.body }, inputProps: { "aria-label": `C\u0103n l\u1EC1 ${title.toLocaleLowerCase("vi")}` } }, inputLabel: { shrink: true } },
7860
- helperText: "\xC1p d\u1EE5ng cho t\u1EA5t c\u1EA3 \xF4, c\u1EA3 tr\xEAn \u0111i\u1EC7n tho\u1EA1i",
7861
- onChange: (event) => update(part, { textAlign: event.target.value ? event.target.value : void 0 }),
7862
- children: [
7863
- /* @__PURE__ */ jsx15(MenuItem2, { value: "", children: "Theo m\u1EB7c \u0111\u1ECBnh" }),
7864
- FEES_TEXT_ALIGNS.map((align) => /* @__PURE__ */ jsx15(MenuItem2, { value: align, children: alignLabels[align] }, align))
7865
- ]
7866
- }
7867
- )
7878
+ ] })
7868
7879
  ] }, part)) }),
7869
7880
  /* @__PURE__ */ jsx15(Typography4, { variant: "caption", color: "text.secondary", sx: { display: "block", mt: 1 }, children: "C\u1EE1 ch\u1EEF t\xF9y ch\u1EC9nh \xE1p d\u1EE5ng c\u1EA3 tr\xEAn \u0111i\u1EC7n tho\u1EA1i; b\u1EA3ng c\xF3 th\u1EC3 vu\u1ED1t ngang. \u201CM\u1EB7c \u0111\u1ECBnh\u201D kh\xF4i ph\u1EE5c c\u1EE1 ch\u1EEF t\u1EF1 th\xEDch \u1EE9ng theo m\xE0n h\xECnh." })
7870
7881
  ] });
7871
7882
  }
7872
7883
 
7884
+ // src/wikex/fees-column-alignment-controls.tsx
7885
+ import { useRef as useRef4 } from "react";
7886
+ import { Button as Button8, MenuItem as MenuItem3, Stack as Stack5, TextField as TextField3, Typography as Typography5 } from "@mui/material";
7887
+ import { jsx as jsx16, jsxs as jsxs10 } from "react/jsx-runtime";
7888
+ var labels = { left: "C\u0103n tr\xE1i", center: "C\u0103n gi\u1EEFa", right: "C\u0103n ph\u1EA3i" };
7889
+ var englishLabels = { left: "Align left", center: "Align center", right: "Align right" };
7890
+ function FeesColumnAlignmentControls({ columns, columnKey, english, onSelectColumn, onChange }) {
7891
+ const root = useRef4(null);
7892
+ const column = columns.find((item) => item.key === columnKey);
7893
+ return /* @__PURE__ */ jsxs10(
7894
+ Stack5,
7895
+ {
7896
+ ref: root,
7897
+ role: "group",
7898
+ "aria-label": english ? "Column alignment" : "C\u0103n l\u1EC1 theo c\u1ED9t",
7899
+ spacing: 1.5,
7900
+ sx: { my: 2, p: 1.5, border: "1px solid", borderColor: "divider", borderRadius: 1.5 },
7901
+ children: [
7902
+ /* @__PURE__ */ jsx16(Typography5, { variant: "subtitle2", children: english ? "Column alignment" : "C\u0103n l\u1EC1 theo c\u1ED9t" }),
7903
+ /* @__PURE__ */ jsxs10(Stack5, { direction: { xs: "column", sm: "row" }, spacing: 1.5, alignItems: { sm: "center" }, children: [
7904
+ /* @__PURE__ */ jsxs10(
7905
+ TextField3,
7906
+ {
7907
+ select: true,
7908
+ size: "small",
7909
+ label: english ? "Column to align" : "C\u1ED9t c\u1EA7n c\u0103n l\u1EC1",
7910
+ value: column?.key ?? "",
7911
+ sx: { flex: 1, minWidth: 0 },
7912
+ slotProps: { inputLabel: { shrink: true }, select: {
7913
+ displayEmpty: true,
7914
+ SelectDisplayProps: { "aria-labelledby": void 0 },
7915
+ inputProps: { "aria-label": english ? "Column to align" : "C\u1ED9t c\u1EA7n c\u0103n l\u1EC1" },
7916
+ MenuProps: { container: () => root.current?.ownerDocument.body ?? document.body }
7917
+ } },
7918
+ onChange: (event) => onSelectColumn(event.target.value),
7919
+ children: [
7920
+ /* @__PURE__ */ jsx16(MenuItem3, { value: "", disabled: true, children: english ? "Select a column" : "Ch\u1ECDn c\u1ED9t" }),
7921
+ columns.map((item, index) => /* @__PURE__ */ jsxs10(MenuItem3, { value: item.key, children: [
7922
+ index + 1,
7923
+ ". ",
7924
+ item.title || (english ? "Untitled column" : "C\u1ED9t ch\u01B0a c\xF3 ti\xEAu \u0111\u1EC1")
7925
+ ] }, item.key))
7926
+ ]
7927
+ }
7928
+ ),
7929
+ /* @__PURE__ */ jsxs10(Stack5, { direction: "row", spacing: 0.5, flexWrap: "wrap", useFlexGap: true, children: [
7930
+ FEES_TEXT_ALIGNS.map((align) => /* @__PURE__ */ jsx16(
7931
+ Button8,
7932
+ {
7933
+ size: "small",
7934
+ disabled: !column,
7935
+ variant: column?.textAlign === align ? "contained" : "outlined",
7936
+ "aria-pressed": column?.textAlign === align,
7937
+ onClick: () => onChange(align),
7938
+ children: (english ? englishLabels : labels)[align]
7939
+ },
7940
+ align
7941
+ )),
7942
+ /* @__PURE__ */ jsx16(
7943
+ Button8,
7944
+ {
7945
+ size: "small",
7946
+ color: "inherit",
7947
+ disabled: !column,
7948
+ "aria-label": english ? "Reset selected column alignment" : "C\u0103n l\u1EC1 m\u1EB7c \u0111\u1ECBnh cho c\u1ED9t \u0111ang ch\u1ECDn",
7949
+ onClick: () => onChange(void 0),
7950
+ children: english ? "Default" : "M\u1EB7c \u0111\u1ECBnh"
7951
+ }
7952
+ )
7953
+ ] })
7954
+ ] }),
7955
+ /* @__PURE__ */ jsx16(Typography5, { variant: "caption", color: "text.secondary", children: english ? "Applies to the header and all values in the selected column, including filtered rows and other pages." : "\xC1p d\u1EE5ng cho ti\xEAu \u0111\u1EC1 v\xE0 to\xE0n b\u1ED9 gi\xE1 tr\u1ECB c\u1EE7a c\u1ED9t \u0111\xE3 ch\u1ECDn, k\u1EC3 c\u1EA3 c\xE1c d\xF2ng \u0111ang l\u1ECDc v\xE0 \u1EDF trang kh\xE1c." })
7956
+ ]
7957
+ }
7958
+ );
7959
+ }
7960
+
7873
7961
  // src/commodity-original/styles/colors.ts
7874
7962
  var lightColors = {
7875
7963
  background: {
@@ -8130,7 +8218,7 @@ function getTableFixedColumnOffset(columns, columnIndex) {
8130
8218
  }
8131
8219
 
8132
8220
  // src/commodity-original/components/Table/index.tsx
8133
- import { jsx as jsx16, jsxs as jsxs10 } from "react/jsx-runtime";
8221
+ import { jsx as jsx17, jsxs as jsxs11 } from "react/jsx-runtime";
8134
8222
  function getCellValue(column, record) {
8135
8223
  return column.dataIndex === void 0 ? void 0 : record[column.dataIndex];
8136
8224
  }
@@ -8203,7 +8291,7 @@ function Table({
8203
8291
  const nextSelectedRowKeys = event.target.checked ? [...selectedRowKeys, recordKey] : selectedRowKeys.filter((key) => key !== recordKey);
8204
8292
  emitSelectionChange(nextSelectedRowKeys);
8205
8293
  };
8206
- return /* @__PURE__ */ jsx16(TableScrollContainer, { children: /* @__PURE__ */ jsxs10(
8294
+ return /* @__PURE__ */ jsx17(TableScrollContainer, { children: /* @__PURE__ */ jsxs11(
8207
8295
  TableRoot,
8208
8296
  {
8209
8297
  $minWidth: scroll?.x === void 0 ? void 0 : getTableColumnSize(scroll.x),
@@ -8212,8 +8300,8 @@ function Table({
8212
8300
  className,
8213
8301
  "data-size": size,
8214
8302
  children: [
8215
- /* @__PURE__ */ jsx16("thead", { children: /* @__PURE__ */ jsxs10(TableHeaderRow, { children: [
8216
- rowSelection ? /* @__PURE__ */ jsx16(TableHeaderCell, { scope: "col", children: selectionType === "checkbox" ? /* @__PURE__ */ jsx16(
8303
+ /* @__PURE__ */ jsx17("thead", { children: /* @__PURE__ */ jsxs11(TableHeaderRow, { children: [
8304
+ rowSelection ? /* @__PURE__ */ jsx17(TableHeaderCell, { scope: "col", children: selectionType === "checkbox" ? /* @__PURE__ */ jsx17(
8217
8305
  TableSelectionInput,
8218
8306
  {
8219
8307
  checked: isAllSelected,
@@ -8222,8 +8310,8 @@ function Table({
8222
8310
  type: "checkbox"
8223
8311
  }
8224
8312
  ) : null }) : null,
8225
- expandable ? /* @__PURE__ */ jsx16(TableHeaderCell, { scope: "col" }) : null,
8226
- columns.map((column, columnIndex) => /* @__PURE__ */ jsx16(
8313
+ expandable ? /* @__PURE__ */ jsx17(TableHeaderCell, { scope: "col" }) : null,
8314
+ columns.map((column, columnIndex) => /* @__PURE__ */ jsx17(
8227
8315
  TableHeaderCell,
8228
8316
  {
8229
8317
  $fixed: column.fixed,
@@ -8231,7 +8319,7 @@ function Table({
8231
8319
  $width: column.width === void 0 ? void 0 : getTableColumnSize(column.width),
8232
8320
  "data-column-key": column.key,
8233
8321
  scope: "col",
8234
- children: column.sortable ? /* @__PURE__ */ jsx16(
8322
+ children: column.sortable ? /* @__PURE__ */ jsx17(
8235
8323
  TableSortButton,
8236
8324
  {
8237
8325
  "aria-pressed": sort?.field === column.key,
@@ -8244,13 +8332,13 @@ function Table({
8244
8332
  column.key
8245
8333
  ))
8246
8334
  ] }) }),
8247
- /* @__PURE__ */ jsx16("tbody", { children: loading ? /* @__PURE__ */ jsx16(TableRow, { children: /* @__PURE__ */ jsx16(TableCell, { colSpan: columnCount, children: loadingContent }) }) : dataSource.length === 0 ? /* @__PURE__ */ jsx16(TableRow, { children: /* @__PURE__ */ jsx16(TableCell, { colSpan: columnCount, children: empty }) }) : dataSource.map((record, index) => {
8335
+ /* @__PURE__ */ jsx17("tbody", { children: loading ? /* @__PURE__ */ jsx17(TableRow, { children: /* @__PURE__ */ jsx17(TableCell, { colSpan: columnCount, children: loadingContent }) }) : dataSource.length === 0 ? /* @__PURE__ */ jsx17(TableRow, { children: /* @__PURE__ */ jsx17(TableCell, { colSpan: columnCount, children: empty }) }) : dataSource.map((record, index) => {
8248
8336
  const recordKey = getRowKey(record);
8249
8337
  const selectionProps = rowSelection?.getCheckboxProps?.(record);
8250
8338
  const isExpanded = expandedRowKeySet.has(recordKey);
8251
- return /* @__PURE__ */ jsxs10(Fragment6, { children: [
8252
- /* @__PURE__ */ jsxs10(TableRow, { "data-row-key": recordKey, children: [
8253
- rowSelection ? /* @__PURE__ */ jsx16(TableCell, { children: /* @__PURE__ */ jsx16(
8339
+ return /* @__PURE__ */ jsxs11(Fragment6, { children: [
8340
+ /* @__PURE__ */ jsxs11(TableRow, { "data-row-key": recordKey, children: [
8341
+ rowSelection ? /* @__PURE__ */ jsx17(TableCell, { children: /* @__PURE__ */ jsx17(
8254
8342
  TableSelectionInput,
8255
8343
  {
8256
8344
  checked: selectedRowKeySet.has(recordKey),
@@ -8260,7 +8348,7 @@ function Table({
8260
8348
  type: selectionType
8261
8349
  }
8262
8350
  ) }) : null,
8263
- expandable ? /* @__PURE__ */ jsx16(TableCell, { children: /* @__PURE__ */ jsx16(
8351
+ expandable ? /* @__PURE__ */ jsx17(TableCell, { children: /* @__PURE__ */ jsx17(
8264
8352
  TableExpandButton,
8265
8353
  {
8266
8354
  "aria-expanded": isExpanded,
@@ -8271,7 +8359,7 @@ function Table({
8271
8359
  ) }) : null,
8272
8360
  columns.map((column, columnIndex) => {
8273
8361
  const value4 = getCellValue(column, record);
8274
- return /* @__PURE__ */ jsx16(
8362
+ return /* @__PURE__ */ jsx17(
8275
8363
  TableCell,
8276
8364
  {
8277
8365
  $fixed: column.fixed,
@@ -8283,7 +8371,7 @@ function Table({
8283
8371
  );
8284
8372
  })
8285
8373
  ] }),
8286
- expandable?.render && isExpanded ? /* @__PURE__ */ jsx16(TableRow, { children: /* @__PURE__ */ jsx16(TableExpandedCell, { colSpan: columnCount, children: expandable.render(record) }) }) : null
8374
+ expandable?.render && isExpanded ? /* @__PURE__ */ jsx17(TableRow, { children: /* @__PURE__ */ jsx17(TableExpandedCell, { colSpan: columnCount, children: expandable.render(record) }) }) : null
8287
8375
  ] }, recordKey);
8288
8376
  }) })
8289
8377
  ]
@@ -8338,7 +8426,7 @@ var PaginationArrow = styled8.span.withConfig({
8338
8426
  ], chevron_right_default, chevron_right_default);
8339
8427
 
8340
8428
  // src/commodity-original/components/Pagination/index.tsx
8341
- import { jsx as jsx17, jsxs as jsxs11 } from "react/jsx-runtime";
8429
+ import { jsx as jsx18, jsxs as jsxs12 } from "react/jsx-runtime";
8342
8430
  function getPaginationItems(page, pageCount, siblingCount) {
8343
8431
  const maxVisibleItems = siblingCount * 2 + 5;
8344
8432
  if (pageCount <= maxVisibleItems) {
@@ -8365,7 +8453,7 @@ function Pagination2({
8365
8453
  onPageChange,
8366
8454
  siblingCount = 1,
8367
8455
  ariaLabel,
8368
- labels,
8456
+ labels: labels2,
8369
8457
  className
8370
8458
  }) {
8371
8459
  const { t } = useTranslation3();
@@ -8374,43 +8462,43 @@ function Pagination2({
8374
8462
  const items = getPaginationItems(currentPage, safePageCount, siblingCount);
8375
8463
  const hasPreviousPage = currentPage > 1;
8376
8464
  const hasNextPage = currentPage < safePageCount;
8377
- return /* @__PURE__ */ jsx17(
8465
+ return /* @__PURE__ */ jsx18(
8378
8466
  PaginationNav,
8379
8467
  {
8380
8468
  "aria-label": ariaLabel ?? t("pagination.navigation"),
8381
8469
  className,
8382
- children: /* @__PURE__ */ jsxs11(PaginationList, { children: [
8383
- /* @__PURE__ */ jsx17(PaginationItem, { children: /* @__PURE__ */ jsx17(
8470
+ children: /* @__PURE__ */ jsxs12(PaginationList, { children: [
8471
+ /* @__PURE__ */ jsx18(PaginationItem, { children: /* @__PURE__ */ jsx18(
8384
8472
  PaginationButton,
8385
8473
  {
8386
- "aria-label": labels?.previous ?? t("pagination.previous"),
8474
+ "aria-label": labels2?.previous ?? t("pagination.previous"),
8387
8475
  "data-control": "previous",
8388
8476
  disabled: !hasPreviousPage,
8389
8477
  onClick: () => onPageChange(currentPage - 1),
8390
8478
  type: "button",
8391
- children: /* @__PURE__ */ jsx17(PaginationArrow, { "data-direction": "previous" })
8479
+ children: /* @__PURE__ */ jsx18(PaginationArrow, { "data-direction": "previous" })
8392
8480
  }
8393
8481
  ) }),
8394
- items.map((item, index) => /* @__PURE__ */ jsx17(PaginationItem, { children: item === "ellipsis" ? /* @__PURE__ */ jsx17(PaginationButton, { "aria-hidden": "true", disabled: true, tabIndex: -1, type: "button", children: "\u2026" }) : /* @__PURE__ */ jsx17(
8482
+ items.map((item, index) => /* @__PURE__ */ jsx18(PaginationItem, { children: item === "ellipsis" ? /* @__PURE__ */ jsx18(PaginationButton, { "aria-hidden": "true", disabled: true, tabIndex: -1, type: "button", children: "\u2026" }) : /* @__PURE__ */ jsx18(
8395
8483
  PaginationButton,
8396
8484
  {
8397
8485
  "aria-current": item === currentPage ? "page" : void 0,
8398
- "aria-label": item === currentPage ? labels?.current(item) ?? t("pagination.current", { page: item }) : labels?.page(item) ?? t("pagination.page", { page: item }),
8486
+ "aria-label": item === currentPage ? labels2?.current(item) ?? t("pagination.current", { page: item }) : labels2?.page(item) ?? t("pagination.page", { page: item }),
8399
8487
  "data-active": item === currentPage || void 0,
8400
8488
  onClick: () => onPageChange(item),
8401
8489
  type: "button",
8402
8490
  children: item
8403
8491
  }
8404
8492
  ) }, `${item}-${index}`)),
8405
- /* @__PURE__ */ jsx17(PaginationItem, { children: /* @__PURE__ */ jsx17(
8493
+ /* @__PURE__ */ jsx18(PaginationItem, { children: /* @__PURE__ */ jsx18(
8406
8494
  PaginationButton,
8407
8495
  {
8408
- "aria-label": labels?.next ?? t("pagination.next"),
8496
+ "aria-label": labels2?.next ?? t("pagination.next"),
8409
8497
  "data-control": "next",
8410
8498
  disabled: !hasNextPage,
8411
8499
  onClick: () => onPageChange(currentPage + 1),
8412
8500
  type: "button",
8413
- children: /* @__PURE__ */ jsx17(PaginationArrow, { "data-direction": "next" })
8501
+ children: /* @__PURE__ */ jsx18(PaginationArrow, { "data-direction": "next" })
8414
8502
  }
8415
8503
  ) })
8416
8504
  ] })
@@ -8446,7 +8534,7 @@ var InputAdornment = styled9.span.withConfig({
8446
8534
  ], ({ theme }) => theme.colors.text.secondary, InputCommonRoot, InputCommonRoot);
8447
8535
 
8448
8536
  // src/commodity-original/components/InputCommon/index.tsx
8449
- import { jsx as jsx18, jsxs as jsxs12 } from "react/jsx-runtime";
8537
+ import { jsx as jsx19, jsxs as jsxs13 } from "react/jsx-runtime";
8450
8538
  function InputCommon({
8451
8539
  leftIcon,
8452
8540
  rightIcon,
@@ -8457,11 +8545,11 @@ function InputCommon({
8457
8545
  onClear,
8458
8546
  ...inputProps
8459
8547
  }) {
8460
- return /* @__PURE__ */ jsxs12(InputCommonRoot, { "data-disabled": inputProps.disabled || void 0, "data-error": error || void 0, "data-size": size, children: [
8461
- leftIcon ? /* @__PURE__ */ jsx18(InputAdornment, { "aria-hidden": "true", children: leftIcon }) : null,
8462
- /* @__PURE__ */ jsx18(InputCommonField, { ...inputProps }),
8463
- clearable && inputProps.value ? /* @__PURE__ */ jsx18("button", { "aria-label": "X\xF3a n\u1ED9i dung", onClick: onClear, type: "button", children: "\xD7" }) : rightIcon ? /* @__PURE__ */ jsx18(InputAdornment, { "aria-hidden": "true", children: rightIcon }) : null,
8464
- errorMessage ? /* @__PURE__ */ jsx18("span", { role: "alert", children: errorMessage }) : null
8548
+ return /* @__PURE__ */ jsxs13(InputCommonRoot, { "data-disabled": inputProps.disabled || void 0, "data-error": error || void 0, "data-size": size, children: [
8549
+ leftIcon ? /* @__PURE__ */ jsx19(InputAdornment, { "aria-hidden": "true", children: leftIcon }) : null,
8550
+ /* @__PURE__ */ jsx19(InputCommonField, { ...inputProps }),
8551
+ clearable && inputProps.value ? /* @__PURE__ */ jsx19("button", { "aria-label": "X\xF3a n\u1ED9i dung", onClick: onClear, type: "button", children: "\xD7" }) : rightIcon ? /* @__PURE__ */ jsx19(InputAdornment, { "aria-hidden": "true", children: rightIcon }) : null,
8552
+ errorMessage ? /* @__PURE__ */ jsx19("span", { role: "alert", children: errorMessage }) : null
8465
8553
  ] });
8466
8554
  }
8467
8555
 
@@ -8493,7 +8581,7 @@ var TabLine = styled10.span.withConfig({
8493
8581
  ], ({ theme }) => theme.colors.accent.primary, TabCommonList, TabCommonList);
8494
8582
 
8495
8583
  // src/commodity-original/components/TabCommon/index.tsx
8496
- import { jsx as jsx19, jsxs as jsxs13 } from "react/jsx-runtime";
8584
+ import { jsx as jsx20, jsxs as jsxs14 } from "react/jsx-runtime";
8497
8585
  function TabCommon({
8498
8586
  items,
8499
8587
  value: value4,
@@ -8502,7 +8590,7 @@ function TabCommon({
8502
8590
  className,
8503
8591
  size = "md"
8504
8592
  }) {
8505
- return /* @__PURE__ */ jsx19(
8593
+ return /* @__PURE__ */ jsx20(
8506
8594
  TabCommonList,
8507
8595
  {
8508
8596
  "aria-label": ariaLabel,
@@ -8511,7 +8599,7 @@ function TabCommon({
8511
8599
  role: "tablist",
8512
8600
  children: items.map((item) => {
8513
8601
  const isActive = item.id === value4;
8514
- return /* @__PURE__ */ jsxs13(
8602
+ return /* @__PURE__ */ jsxs14(
8515
8603
  TabButton,
8516
8604
  {
8517
8605
  "aria-selected": isActive,
@@ -8522,7 +8610,7 @@ function TabCommon({
8522
8610
  type: "button",
8523
8611
  children: [
8524
8612
  item.label,
8525
- /* @__PURE__ */ jsx19(TabLine, { "aria-hidden": "true" })
8613
+ /* @__PURE__ */ jsx20(TabLine, { "aria-hidden": "true" })
8526
8614
  ]
8527
8615
  },
8528
8616
  item.id
@@ -8629,32 +8717,32 @@ var feesTheme = {
8629
8717
  ]))
8630
8718
  };
8631
8719
  var EditorActions = styled12.div.withConfig({
8632
- componentId: "sc-a14ae83-0"
8720
+ componentId: "sc-a4d52175-0"
8633
8721
  })([
8634
8722
  `display:flex;flex-wrap:wrap;gap:8px;margin-top:16px;`
8635
8723
  ]);
8636
8724
  var EditGroup = styled12.div.withConfig({
8637
- componentId: "sc-a14ae83-1"
8725
+ componentId: "sc-a4d52175-1"
8638
8726
  })([
8639
8727
  `display:flex;flex-direction:column;gap:6px;`
8640
8728
  ]);
8641
8729
  var HeaderGroup = styled12(EditGroup).withConfig({
8642
- componentId: "sc-a14ae83-2"
8730
+ componentId: "sc-a4d52175-2"
8643
8731
  })([
8644
8732
  `gap:8px;`
8645
8733
  ]);
8646
8734
  var HeaderTitle = styled12.div.withConfig({
8647
- componentId: "sc-a14ae83-3"
8735
+ componentId: "sc-a4d52175-3"
8648
8736
  })([
8649
8737
  `display:flex;align-items:flex-start;min-height:var(--fees-header-title-height,36px);`
8650
8738
  ]);
8651
8739
  var HeaderActions = styled12.div.withConfig({
8652
- componentId: "sc-a14ae83-4"
8740
+ componentId: "sc-a4d52175-4"
8653
8741
  })([
8654
8742
  `display:flex;align-items:center;min-height:24px;`
8655
8743
  ]);
8656
8744
  var AlignedFeesTable = styled12(FeesAndMarginTable).withConfig({
8657
- componentId: "sc-a14ae83-5"
8745
+ componentId: "sc-a4d52175-5"
8658
8746
  })([
8659
8747
  `&[data-editable] th{vertical-align:top;}--fees-row-background:`,
8660
8748
  `;--fees-stripe-background:`,
@@ -8677,9 +8765,7 @@ var AlignedFeesTable = styled12(FeesAndMarginTable).withConfig({
8677
8765
  `px;line-height:`,
8678
8766
  `;}tbody > tr > td{height:40px;padding-top:5.5px;padding-bottom:5.5px;font-size:`,
8679
8767
  `px;line-height:`,
8680
- `;}thead > tr > th:last-child,tbody > tr > td:last-child{padding-right:12px;}th > span{text-align:`,
8681
- `;}td > span{text-align:`,
8682
- `;}thead > tr > th:first-child,tbody > tr > td:first-child{position:sticky;left:0;padding-left:12px;}thead > tr > th:first-child{z-index:3;background:`,
8768
+ `;}thead > tr > th:last-child,tbody > tr > td:last-child{padding-right:12px;}thead > tr > th:first-child,tbody > tr > td:first-child{position:sticky;left:0;padding-left:12px;}thead > tr > th:first-child{z-index:3;background:`,
8683
8769
  `;}tbody > tr > td:first-child{z-index:2;background:var(--fees-row-background);}tbody > tr:nth-child(even) > td:first-child{background:var(--fees-stripe-background);}}}`
8684
8770
  ], ({ theme }) => theme.colors.background.deep, ({ theme }) => theme.colors.background.input, ({ theme }) => theme.colors.accent.foreground, ({ theme }) => theme.colors.background.card, ({ theme }) => theme.colors.text.primary, ({ theme }) => theme.colors.accent.primary, ({ theme }) => theme.colors.accent.foreground, ({ $typography }) => $typography?.thead?.fontSize ?? 10, ({ $typography }) => $typography?.thead?.fontWeight ?? 600, ({ $typography }) => $typography?.thead?.textAlign ?? "left", ({ $typography }) => $typography?.thead?.fontSize ? 1.4 : "14px", ({ $typography }) => $typography?.tbody?.fontSize ?? 12, ({ $typography }) => $typography?.tbody?.fontWeight ?? 500, ({ $typography }) => $typography?.tbody?.textAlign ?? "left", ({ $typography }) => $typography?.tbody?.fontSize ? 1.4 : "16px", ({ $mobileColumnWidths }) => $mobileColumnWidths.reduce((sum, width) => sum + width, 0), ({ $mobileColumnWidths }) => $mobileColumnWidths.map((width, index) => `
8685
8771
  th:nth-child(${index + 1}), td:nth-child(${index + 1}) {
@@ -8687,15 +8773,16 @@ var AlignedFeesTable = styled12(FeesAndMarginTable).withConfig({
8687
8773
  min-width: ${width}px;
8688
8774
  max-width: ${width}px;
8689
8775
  }
8690
- `).join(""), ({ $typography }) => $typography?.thead?.fontSize ?? 8, ({ $typography }) => $typography?.thead?.fontSize ? 1.4 : "10px", ({ $typography }) => $typography?.tbody?.fontSize ?? 10, ({ $typography }) => $typography?.tbody?.fontSize ? 1.4 : "14px", ({ $typography }) => $typography?.thead?.textAlign ?? "left", ({ $typography }) => $typography?.tbody?.textAlign ?? "left", ({ theme }) => theme.colors.accent.primary);
8776
+ `).join(""), ({ $typography }) => $typography?.thead?.fontSize ?? 8, ({ $typography }) => $typography?.thead?.fontSize ? 1.4 : "10px", ({ $typography }) => $typography?.tbody?.fontSize ?? 10, ({ $typography }) => $typography?.tbody?.fontSize ? 1.4 : "14px", ({ theme }) => theme.colors.accent.primary);
8691
8777
  var FeesCellContent = styled12.span.withConfig({
8692
- componentId: "sc-a14ae83-6"
8778
+ componentId: "sc-a4d52175-6"
8693
8779
  })([
8694
8780
  `display:block;text-align:`,
8695
- `;`
8696
- ], ({ $align }) => $align);
8781
+ `;@media (max-width:767px){text-align:`,
8782
+ `;}`
8783
+ ], ({ $align, $alignRight }) => $align ?? ($alignRight ? "right" : "left"), ({ $align }) => $align ?? "left");
8697
8784
  var EditorButton = styled12.button.withConfig({
8698
- componentId: "sc-a14ae83-7"
8785
+ componentId: "sc-a4d52175-7"
8699
8786
  })([
8700
8787
  `padding:7px 12px;border:1px solid `,
8701
8788
  `;border-radius:6px;background:`,
@@ -8704,17 +8791,17 @@ var EditorButton = styled12.button.withConfig({
8704
8791
  `;}&:disabled{cursor:default;opacity:.4;}`
8705
8792
  ], ({ theme }) => theme.colors.border.line, ({ theme }) => theme.colors.background.input, ({ theme }) => theme.colors.text.primary, ({ theme }) => theme.colors.accent.primary);
8706
8793
  var OrderActions = styled12.div.withConfig({
8707
- componentId: "sc-a14ae83-8"
8794
+ componentId: "sc-a4d52175-8"
8708
8795
  })([
8709
8796
  `display:flex;gap:6px;align-items:center;flex-wrap:wrap;`
8710
8797
  ]);
8711
8798
  var PositionLabel = styled12.label.withConfig({
8712
- componentId: "sc-a14ae83-9"
8799
+ componentId: "sc-a4d52175-9"
8713
8800
  })([
8714
8801
  `display:inline-flex;align-items:center;gap:6px;font-size:12px;`
8715
8802
  ]);
8716
8803
  var PositionInput = styled12.input.withConfig({
8717
- componentId: "sc-a14ae83-10"
8804
+ componentId: "sc-a4d52175-10"
8718
8805
  })([
8719
8806
  `width:56px;padding:5px;border:1px solid `,
8720
8807
  `;border-radius:4px;background:`,
@@ -8723,17 +8810,17 @@ var PositionInput = styled12.input.withConfig({
8723
8810
  `;}`
8724
8811
  ], ({ theme }) => theme.colors.border.line, ({ theme }) => theme.colors.background.input, ({ theme }) => theme.colors.text.primary, ({ theme }) => theme.colors.accent.primary);
8725
8812
  var ColumnRow = styled12.div.withConfig({
8726
- componentId: "sc-a14ae83-11"
8813
+ componentId: "sc-a4d52175-11"
8727
8814
  })([
8728
8815
  `display:flex;gap:12px;align-items:center;margin:16px 0;> textarea{flex:1;min-width:120px;}@media (max-width:600px){align-items:stretch;flex-direction:column;}`
8729
8816
  ]);
8730
8817
  var PaginationControls = styled12(FeesAndMarginPagination).withConfig({
8731
- componentId: "sc-a14ae83-12"
8818
+ componentId: "sc-a4d52175-12"
8732
8819
  })([
8733
8820
  `align-items:center;flex-wrap:wrap;gap:16px 24px;`
8734
8821
  ]);
8735
8822
  var PageSizeLabel = styled12.div.withConfig({
8736
- componentId: "sc-a14ae83-13"
8823
+ componentId: "sc-a4d52175-13"
8737
8824
  })([
8738
8825
  `display:inline-flex;align-items:center;gap:8px;color:`,
8739
8826
  `;font:inherit;font-size:13px;`
@@ -8761,19 +8848,20 @@ function Position({ value: value4, max, label, onMove }) {
8761
8848
  });
8762
8849
  }
8763
8850
  var DeleteButton = styled12(EditorButton).withConfig({
8764
- componentId: "sc-a14ae83-14"
8851
+ componentId: "sc-a4d52175-14"
8765
8852
  })([
8766
8853
  `align-self:flex-start;padding:4px 8px;border:0;border-radius:4px;background:#d32f2f;color:#fff;font-size:11px;font-weight:600;line-height:16px;white-space:nowrap;text-decoration:none;&:hover{background:#b71c1c;}&:focus-visible{outline:2px solid #d32f2f;outline-offset:2px;}`
8767
8854
  ]);
8768
8855
  var CellEditorInput = styled12.textarea.withConfig({
8769
- componentId: "sc-a14ae83-15"
8856
+ componentId: "sc-a4d52175-15"
8770
8857
  })([
8771
8858
  `display:block;box-sizing:border-box;width:100%;min-width:0;padding:3px;border:1px solid transparent;border-radius:3px;color:inherit;background:transparent;font:inherit;line-height:inherit;text-align:inherit;resize:none;overflow:hidden;&:hover{border-color:`,
8772
8859
  `;}&:focus{outline:1px solid `,
8860
+ `;}&[data-fees-column-selected="true"]{border-color:`,
8773
8861
  `;}`
8774
- ], ({ theme }) => theme.colors.border.line, ({ theme }) => theme.colors.accent.primary);
8862
+ ], ({ theme }) => theme.colors.border.line, ({ theme }) => theme.colors.accent.primary, ({ theme }) => theme.colors.accent.primary);
8775
8863
  function CellEditor({ onInput, ...props }) {
8776
- const ref = useRef4(null);
8864
+ const ref = useRef5(null);
8777
8865
  const fit = () => {
8778
8866
  const element = ref.current;
8779
8867
  if (!element) return;
@@ -8815,7 +8903,7 @@ function CellEditor({ onInput, ...props }) {
8815
8903
  });
8816
8904
  }
8817
8905
  function RowTagSelect({ selected, options, onChange }) {
8818
- const selectRoot = useRef4(null);
8906
+ const selectRoot = useRef5(null);
8819
8907
  return /* @__PURE__ */ _jsx3(EditGroup, {
8820
8908
  children: /* @__PURE__ */ _jsx3("div", {
8821
8909
  ref: selectRoot,
@@ -8840,7 +8928,7 @@ function RowTagSelect({ selected, options, onChange }) {
8840
8928
  fontSize: 13
8841
8929
  },
8842
8930
  children: [
8843
- options.map((item) => /* @__PURE__ */ _jsxs3(MenuItem3, {
8931
+ options.map((item) => /* @__PURE__ */ _jsxs3(MenuItem4, {
8844
8932
  value: item,
8845
8933
  children: [
8846
8934
  /* @__PURE__ */ _jsx3(Checkbox2, {
@@ -8852,7 +8940,7 @@ function RowTagSelect({ selected, options, onChange }) {
8852
8940
  item
8853
8941
  ]
8854
8942
  }, item)),
8855
- !options.length && /* @__PURE__ */ _jsx3(MenuItem3, {
8943
+ !options.length && /* @__PURE__ */ _jsx3(MenuItem4, {
8856
8944
  disabled: true,
8857
8945
  children: "Ch\u01B0a c\xF3 tag \u2014 d\xF9ng n\xFAt Th\xEAm tag ph\xEDa tr\xEAn"
8858
8946
  })
@@ -8901,16 +8989,17 @@ var rightAlignedColumns = /* @__PURE__ */ new Set([
8901
8989
  "priceUnit",
8902
8990
  "unit"
8903
8991
  ]);
8904
- function FeesTable({ value: value4, editable = false, onChange, labels, size = "md", tagOrder = [], language = "vi" }) {
8992
+ function FeesTable({ value: value4, editable = false, onChange, labels: labels2, size = "md", tagOrder = [], language = "vi" }) {
8905
8993
  const [search, setSearch] = useState6("");
8906
8994
  const [tag, setTag] = useState6("");
8907
8995
  const [page, setPage] = useState6(1);
8908
8996
  const [pageSize, setPageSize] = useState6(FEES_PAGE_SIZE);
8909
8997
  const [columnsOpen, setColumnsOpen] = useState6(false);
8910
8998
  const [typographyOpen, setTypographyOpen] = useState6(false);
8999
+ const [selectedColumnKey, setSelectedColumnKey] = useState6("");
8911
9000
  const english = language === "en";
8912
9001
  const canEdit = editable && Boolean(onChange);
8913
- const tableRoot = useRef4(null);
9002
+ const tableRoot = useRef5(null);
8914
9003
  useLayoutEffect2(() => {
8915
9004
  const root = tableRoot.current;
8916
9005
  if (!root || !canEdit) return;
@@ -8945,10 +9034,17 @@ function FeesTable({ value: value4, editable = false, onChange, labels, size = "
8945
9034
  onChange?.({
8946
9035
  ...value4,
8947
9036
  columns: value4.columns.filter((column) => column.key !== deleteTarget.id),
8948
- rows: value4.rows.map((row) => ({
8949
- ...row,
8950
- cells: Object.fromEntries(Object.entries(row.cells).filter(([key]) => key !== deleteTarget.id))
8951
- }))
9037
+ rows: value4.rows.map((row) => {
9038
+ const { cellAlignments, ...rest } = row;
9039
+ const alignments = Object.fromEntries(Object.entries(cellAlignments ?? {}).filter(([key]) => key !== deleteTarget.id));
9040
+ return {
9041
+ ...rest,
9042
+ cells: Object.fromEntries(Object.entries(row.cells).filter(([key]) => key !== deleteTarget.id)),
9043
+ ...Object.keys(alignments).length ? {
9044
+ cellAlignments: alignments
9045
+ } : {}
9046
+ };
9047
+ })
8952
9048
  });
8953
9049
  }
8954
9050
  setDeleteTarget(null);
@@ -8981,6 +9077,13 @@ function FeesTable({ value: value4, editable = false, onChange, labels, size = "
8981
9077
  const filtered = filterFeesRows(value4, search, activeTag);
8982
9078
  const displayedRows = canEdit ? filtered : sortFeesRowsByName(filtered, language);
8983
9079
  const pagination = paginateFeesRows(displayedRows, page, pageSize);
9080
+ const selectedColumn = value4.columns.find((column) => column.key === selectedColumnKey);
9081
+ useLayoutEffect2(() => {
9082
+ if (selectedColumnKey && !selectedColumn) setSelectedColumnKey("");
9083
+ }, [
9084
+ selectedColumnKey,
9085
+ selectedColumn
9086
+ ]);
8984
9087
  const moveColumn = (from, to) => onChange?.({
8985
9088
  ...value4,
8986
9089
  columns: moveFeesItem(value4.columns, from, to)
@@ -9033,6 +9136,10 @@ function FeesTable({ value: value4, editable = false, onChange, labels, size = "
9033
9136
  rows: 2,
9034
9137
  value: column.title,
9035
9138
  "aria-label": `Ti\xEAu \u0111\u1EC1 c\u1ED9t ${index + 1}`,
9139
+ style: {
9140
+ textAlign: column.textAlign ?? value4.typography?.thead?.textAlign ?? "left"
9141
+ },
9142
+ "data-fees-column-selected": selectedColumnKey === column.key,
9036
9143
  onChange: (event) => onChange?.({
9037
9144
  ...value4,
9038
9145
  columns: value4.columns.map((item) => item.key === column.key ? {
@@ -9057,13 +9164,18 @@ function FeesTable({ value: value4, editable = false, onChange, labels, size = "
9057
9164
  })
9058
9165
  ]
9059
9166
  }) : /* @__PURE__ */ _jsx3(FeesCellContent, {
9060
- $align: value4.typography?.thead?.textAlign ?? (rightAlignedColumns.has(column.key) ? "right" : "left"),
9167
+ $align: column.textAlign ?? value4.typography?.thead?.textAlign,
9168
+ $alignRight: rightAlignedColumns.has(column.key),
9061
9169
  children: column.title
9062
9170
  }),
9063
9171
  render: (_unused, row) => canEdit ? /* @__PURE__ */ _jsx3(CellEditor, {
9064
9172
  rows: Math.max(2, (row.cells[column.key] ?? "").split("\n").length),
9065
9173
  value: row.cells[column.key] ?? "",
9066
9174
  "aria-label": `${column.title} \u2014 ${row.cells.name || "H\xE0ng m\u1EDBi"}`,
9175
+ style: {
9176
+ textAlign: column.textAlign ?? row.cellAlignments?.[column.key] ?? value4.typography?.tbody?.textAlign ?? "left"
9177
+ },
9178
+ "data-fees-column-selected": selectedColumnKey === column.key,
9067
9179
  onChange: (event) => changeRow(row.id, {
9068
9180
  cells: {
9069
9181
  ...row.cells,
@@ -9071,7 +9183,8 @@ function FeesTable({ value: value4, editable = false, onChange, labels, size = "
9071
9183
  }
9072
9184
  })
9073
9185
  }) : /* @__PURE__ */ _jsx3(FeesCellContent, {
9074
- $align: value4.typography?.tbody?.textAlign ?? (rightAlignedColumns.has(column.key) ? "right" : "left"),
9186
+ $align: column.textAlign ?? row.cellAlignments?.[column.key] ?? value4.typography?.tbody?.textAlign,
9187
+ $alignRight: rightAlignedColumns.has(column.key),
9075
9188
  children: row.cells[column.key] ?? ""
9076
9189
  })
9077
9190
  }));
@@ -9156,7 +9269,7 @@ function FeesTable({ value: value4, editable = false, onChange, labels, size = "
9156
9269
  items: [
9157
9270
  {
9158
9271
  id: "",
9159
- label: labels?.all ?? "T\u1EA5t c\u1EA3"
9272
+ label: labels2?.all ?? "T\u1EA5t c\u1EA3"
9160
9273
  },
9161
9274
  ...tags.map((item) => ({
9162
9275
  id: item,
@@ -9174,8 +9287,8 @@ function FeesTable({ value: value4, editable = false, onChange, labels, size = "
9174
9287
  children: /* @__PURE__ */ _jsx3(InputCommon, {
9175
9288
  leftIcon: /* @__PURE__ */ _jsx3(FeesSearchIcon, {}),
9176
9289
  size: "sm",
9177
- "aria-label": labels?.search ?? "T\xECm t\xEAn h\xE0ng h\xF3a ho\u1EB7c m\xE3",
9178
- placeholder: labels?.search ?? "T\xECm t\xEAn h\xE0ng h\xF3a ho\u1EB7c m\xE3",
9290
+ "aria-label": labels2?.search ?? "T\xECm t\xEAn h\xE0ng h\xF3a ho\u1EB7c m\xE3",
9291
+ placeholder: labels2?.search ?? "T\xECm t\xEAn h\xE0ng h\xF3a ho\u1EB7c m\xE3",
9179
9292
  value: search,
9180
9293
  onChange: (event) => {
9181
9294
  setSearch(event.target.value);
@@ -9273,6 +9386,15 @@ function FeesTable({ value: value4, editable = false, onChange, labels, size = "
9273
9386
  })
9274
9387
  })
9275
9388
  }),
9389
+ canEdit && /* @__PURE__ */ _jsx3(FeesColumnAlignmentControls, {
9390
+ columns: value4.columns,
9391
+ columnKey: selectedColumnKey,
9392
+ english,
9393
+ onSelectColumn: setSelectedColumnKey,
9394
+ onChange: (textAlign) => {
9395
+ if (selectedColumn) onChange?.(setFeesColumnAlignment(value4, selectedColumn.key, textAlign));
9396
+ }
9397
+ }),
9276
9398
  /* @__PURE__ */ _jsx3(AlignedFeesTable, {
9277
9399
  $typography: value4.typography,
9278
9400
  $mobileColumnWidths: columns.map((column) => Math.ceil((mobileColumnWidths[column.key] ?? 88) * mobileFontScale)),
@@ -9283,7 +9405,7 @@ function FeesTable({ value: value4, editable = false, onChange, labels, size = "
9283
9405
  dataSource: pagination.rows,
9284
9406
  rowKey: "id",
9285
9407
  size,
9286
- empty: labels?.empty ?? "Kh\xF4ng t\xECm th\u1EA5y h\xE0ng h\xF3a",
9408
+ empty: labels2?.empty ?? "Kh\xF4ng t\xECm th\u1EA5y h\xE0ng h\xF3a",
9287
9409
  scroll: {
9288
9410
  x: canEdit ? Math.max(1440, value4.columns.reduce((sum, column) => sum + (columnWidths[column.key] ?? 140), 0) + 300) : value4.columns.length * 170 + 8
9289
9411
  }
@@ -9323,11 +9445,11 @@ function FeesTable({ value: value4, editable = false, onChange, labels, size = "
9323
9445
  25,
9324
9446
  50,
9325
9447
  100
9326
- ].map((size2) => /* @__PURE__ */ _jsx3(MenuItem3, {
9448
+ ].map((size2) => /* @__PURE__ */ _jsx3(MenuItem4, {
9327
9449
  value: size2,
9328
9450
  children: size2
9329
9451
  }, size2)),
9330
- /* @__PURE__ */ _jsx3(MenuItem3, {
9452
+ /* @__PURE__ */ _jsx3(MenuItem4, {
9331
9453
  value: -1,
9332
9454
  children: english ? "All" : "T\u1EA5t c\u1EA3"
9333
9455
  })
@@ -9436,7 +9558,7 @@ function FeesTable({ value: value4, editable = false, onChange, labels, size = "
9436
9558
  ]
9437
9559
  }),
9438
9560
  /* @__PURE__ */ _jsx3(DialogActions, {
9439
- children: /* @__PURE__ */ _jsx3(Button8, {
9561
+ children: /* @__PURE__ */ _jsx3(Button9, {
9440
9562
  variant: "contained",
9441
9563
  onClick: () => setColumnsOpen(false),
9442
9564
  children: "Xong"
@@ -9457,7 +9579,7 @@ function FeesTable({ value: value4, editable = false, onChange, labels, size = "
9457
9579
  children: "T\u1EA1o tag m\u1EDBi"
9458
9580
  }),
9459
9581
  /* @__PURE__ */ _jsx3(DialogContent, {
9460
- children: /* @__PURE__ */ _jsx3(TextField3, {
9582
+ children: /* @__PURE__ */ _jsx3(TextField4, {
9461
9583
  autoFocus: true,
9462
9584
  fullWidth: true,
9463
9585
  margin: "dense",
@@ -9476,11 +9598,11 @@ function FeesTable({ value: value4, editable = false, onChange, labels, size = "
9476
9598
  }),
9477
9599
  /* @__PURE__ */ _jsxs3(DialogActions, {
9478
9600
  children: [
9479
- /* @__PURE__ */ _jsx3(Button8, {
9601
+ /* @__PURE__ */ _jsx3(Button9, {
9480
9602
  onClick: () => setCreateTagOpen(false),
9481
9603
  children: "H\u1EE7y"
9482
9604
  }),
9483
- /* @__PURE__ */ _jsx3(Button8, {
9605
+ /* @__PURE__ */ _jsx3(Button9, {
9484
9606
  variant: "contained",
9485
9607
  disabled: !newTagName || duplicateTag,
9486
9608
  onClick: createTag,
@@ -9515,12 +9637,12 @@ function FeesTable({ value: value4, editable = false, onChange, labels, size = "
9515
9637
  }),
9516
9638
  /* @__PURE__ */ _jsxs3(DialogActions, {
9517
9639
  children: [
9518
- /* @__PURE__ */ _jsx3(Button8, {
9640
+ /* @__PURE__ */ _jsx3(Button9, {
9519
9641
  autoFocus: true,
9520
9642
  onClick: () => setDeleteTarget(null),
9521
9643
  children: "H\u1EE7y"
9522
9644
  }),
9523
- /* @__PURE__ */ _jsxs3(Button8, {
9645
+ /* @__PURE__ */ _jsxs3(Button9, {
9524
9646
  color: "error",
9525
9647
  variant: "contained",
9526
9648
  onClick: confirmDelete,
@@ -9539,7 +9661,7 @@ function FeesTable({ value: value4, editable = false, onChange, labels, size = "
9539
9661
  }
9540
9662
 
9541
9663
  // src/commodity-original/app/bang-phi-ky-quy/FeesAndMarginContent.tsx
9542
- import { jsx as jsx20, jsxs as jsxs14 } from "react/jsx-runtime";
9664
+ import { jsx as jsx21, jsxs as jsxs15 } from "react/jsx-runtime";
9543
9665
  var monthCodes = [
9544
9666
  "F",
9545
9667
  "G",
@@ -9560,12 +9682,12 @@ function FeesAndMarginContent({ content, editable, onChange, readOnlyFields }) {
9560
9682
  const [activeMonth] = useState7(0);
9561
9683
  const field = `${content.__cmsLanguage === "en" ? "en" : "vi"}.feesTable`;
9562
9684
  const data = parseFeesTable(content[field], defaultFeesTable((key) => String(t(key))));
9563
- return /* @__PURE__ */ jsx20(FeesAndMarginMain, { children: /* @__PURE__ */ jsxs14(FeesAndMarginPageContent, { children: [
9564
- /* @__PURE__ */ jsxs14(FeesAndMarginHeader, { children: [
9565
- /* @__PURE__ */ jsx20(ExactText, { cmsAs: "h1", children: t("fees.title") }),
9566
- /* @__PURE__ */ jsx20(ExactText, { cmsAs: "p", children: t("fees.effectiveDate") })
9685
+ return /* @__PURE__ */ jsx21(FeesAndMarginMain, { children: /* @__PURE__ */ jsxs15(FeesAndMarginPageContent, { children: [
9686
+ /* @__PURE__ */ jsxs15(FeesAndMarginHeader, { children: [
9687
+ /* @__PURE__ */ jsx21(ExactText, { cmsAs: "h1", children: t("fees.title") }),
9688
+ /* @__PURE__ */ jsx21(ExactText, { cmsAs: "p", children: t("fees.effectiveDate") })
9567
9689
  ] }),
9568
- /* @__PURE__ */ jsx20(
9690
+ /* @__PURE__ */ jsx21(
9569
9691
  FeesTable,
9570
9692
  {
9571
9693
  value: data,
@@ -9577,16 +9699,16 @@ function FeesAndMarginContent({ content, editable, onChange, readOnlyFields }) {
9577
9699
  labels: { search: t("fees.searchPlaceholder"), all: t("fees.categories.all"), empty: t("fees.empty") }
9578
9700
  }
9579
9701
  ),
9580
- /* @__PURE__ */ jsxs14(FeesMonthNavigation, { "aria-label": t("fees.contractMonthsLabel"), children: [
9581
- /* @__PURE__ */ jsx20(ExactText, { cmsAs: FeesMonthTitle, children: t("fees.contractMonths") }),
9582
- /* @__PURE__ */ jsx20(FeesMonthList, { children: monthCodes.map((code, index) => /* @__PURE__ */ jsx20("li", { children: /* @__PURE__ */ jsxs14(
9702
+ /* @__PURE__ */ jsxs15(FeesMonthNavigation, { "aria-label": t("fees.contractMonthsLabel"), children: [
9703
+ /* @__PURE__ */ jsx21(ExactText, { cmsAs: FeesMonthTitle, children: t("fees.contractMonths") }),
9704
+ /* @__PURE__ */ jsx21(FeesMonthList, { children: monthCodes.map((code, index) => /* @__PURE__ */ jsx21("li", { children: /* @__PURE__ */ jsxs15(
9583
9705
  FeesMonthButton,
9584
9706
  {
9585
9707
  "aria-pressed": activeMonth === index,
9586
9708
  type: "button",
9587
9709
  children: [
9588
- /* @__PURE__ */ jsx20(ExactText, { cmsAs: FeesMonthName, children: t("fees.monthNumber", { month: index + 1 }) }),
9589
- /* @__PURE__ */ jsx20(ExactText, { cmsAs: FeesMonthCode, children: code })
9710
+ /* @__PURE__ */ jsx21(ExactText, { cmsAs: FeesMonthName, children: t("fees.monthNumber", { month: index + 1 }) }),
9711
+ /* @__PURE__ */ jsx21(ExactText, { cmsAs: FeesMonthCode, children: code })
9590
9712
  ]
9591
9713
  }
9592
9714
  ) }, code)) })
@@ -9596,7 +9718,7 @@ function FeesAndMarginContent({ content, editable, onChange, readOnlyFields }) {
9596
9718
 
9597
9719
  // src/commodity-original/app/chinh-sach/PolicyContent.tsx
9598
9720
  import { useTranslation as useTranslation5 } from "react-i18next";
9599
- import { jsx as jsx21, jsxs as jsxs15 } from "react/jsx-runtime";
9721
+ import { jsx as jsx22, jsxs as jsxs16 } from "react/jsx-runtime";
9600
9722
  var textBlockStyles = { h1: PageTitle, h2: SectionTitle, h3: SubsectionTitle, p: Paragraph };
9601
9723
  function keys(prefix, count) {
9602
9724
  return Array.from({ length: count }, (_, index) => `${prefix}.${index}`);
@@ -9619,100 +9741,100 @@ function LeadText({
9619
9741
  ...label ? [{ start: 0, end: label.length, bold: true }] : [],
9620
9742
  ...destination && value4 ? [{ start, end: text2.length, href: destination, bold: true, newTab: external }] : []
9621
9743
  ] };
9622
- return /* @__PURE__ */ jsxs15(ExactText, { cmsField: translationKey, cmsAs: InlineLink, cmsDefaultRichText: defaults, children: [
9623
- label ? /* @__PURE__ */ jsx21("strong", { children: label }) : null,
9744
+ return /* @__PURE__ */ jsxs16(ExactText, { cmsField: translationKey, cmsAs: InlineLink, cmsDefaultRichText: defaults, children: [
9745
+ label ? /* @__PURE__ */ jsx22("strong", { children: label }) : null,
9624
9746
  text2.slice(label.length, start),
9625
- destination ? /* @__PURE__ */ jsx21("strong", { children: value4 }) : value4
9747
+ destination ? /* @__PURE__ */ jsx22("strong", { children: value4 }) : value4
9626
9748
  ] });
9627
9749
  }
9628
9750
  function PrivacyPolicyPage() {
9629
9751
  const { t, i18n } = useTranslation5();
9630
9752
  const language = i18n.resolvedLanguage === "en" ? "en" : "vi";
9631
- return /* @__PURE__ */ jsx21(CmsTextBlockProvider, { styles: textBlockStyles, children: /* @__PURE__ */ jsx21(PolicyMain, { children: /* @__PURE__ */ jsxs15(PolicyArticle, { children: [
9632
- /* @__PURE__ */ jsxs15(PolicyHeader, { children: [
9633
- /* @__PURE__ */ jsx21(ExactText, { cmsField: "policy.title", cmsAs: PageTitle, children: t("policy.title") }),
9634
- /* @__PURE__ */ jsx21(ExactText, { cmsField: "policy.intro.title", cmsAs: IntroTitle, children: t("policy.intro.title") }),
9635
- keys("policy.intro.paragraphs", 3).map((key) => /* @__PURE__ */ jsx21(ExactText, { cmsField: key, cmsAs: Paragraph, children: t(key) }, key))
9753
+ return /* @__PURE__ */ jsx22(CmsTextBlockProvider, { styles: textBlockStyles, children: /* @__PURE__ */ jsx22(PolicyMain, { children: /* @__PURE__ */ jsxs16(PolicyArticle, { children: [
9754
+ /* @__PURE__ */ jsxs16(PolicyHeader, { children: [
9755
+ /* @__PURE__ */ jsx22(ExactText, { cmsField: "policy.title", cmsAs: PageTitle, children: t("policy.title") }),
9756
+ /* @__PURE__ */ jsx22(ExactText, { cmsField: "policy.intro.title", cmsAs: IntroTitle, children: t("policy.intro.title") }),
9757
+ keys("policy.intro.paragraphs", 3).map((key) => /* @__PURE__ */ jsx22(ExactText, { cmsField: key, cmsAs: Paragraph, children: t(key) }, key))
9636
9758
  ] }),
9637
- /* @__PURE__ */ jsxs15(Section, { children: [
9638
- /* @__PURE__ */ jsx21(ExactText, { cmsField: "policy.collection.title", cmsAs: SectionTitle, children: t("policy.collection.title") }),
9639
- /* @__PURE__ */ jsxs15(Subsection, { children: [
9640
- /* @__PURE__ */ jsx21(ExactText, { cmsField: "policy.collection.scope.title", cmsAs: SubsectionTitle, children: t("policy.collection.scope.title") }),
9641
- /* @__PURE__ */ jsx21(ExactText, { cmsField: "policy.collection.scope.intro", cmsAs: Paragraph, children: t("policy.collection.scope.intro") }),
9642
- /* @__PURE__ */ jsx21(CmsTemplateList, { cmsAs: BulletList, cmsId: `${language}.policy.collection.scope.items`, children: keys("policy.collection.scope.items", 5).map((key) => /* @__PURE__ */ jsx21("li", { children: /* @__PURE__ */ jsx21(LeadText, { translationKey: key }) }, key)) })
9759
+ /* @__PURE__ */ jsxs16(Section, { children: [
9760
+ /* @__PURE__ */ jsx22(ExactText, { cmsField: "policy.collection.title", cmsAs: SectionTitle, children: t("policy.collection.title") }),
9761
+ /* @__PURE__ */ jsxs16(Subsection, { children: [
9762
+ /* @__PURE__ */ jsx22(ExactText, { cmsField: "policy.collection.scope.title", cmsAs: SubsectionTitle, children: t("policy.collection.scope.title") }),
9763
+ /* @__PURE__ */ jsx22(ExactText, { cmsField: "policy.collection.scope.intro", cmsAs: Paragraph, children: t("policy.collection.scope.intro") }),
9764
+ /* @__PURE__ */ jsx22(CmsTemplateList, { cmsAs: BulletList, cmsId: `${language}.policy.collection.scope.items`, children: keys("policy.collection.scope.items", 5).map((key) => /* @__PURE__ */ jsx22("li", { children: /* @__PURE__ */ jsx22(LeadText, { translationKey: key }) }, key)) })
9643
9765
  ] }),
9644
- /* @__PURE__ */ jsxs15(Subsection, { children: [
9645
- /* @__PURE__ */ jsx21(ExactText, { cmsField: "policy.collection.methods.title", cmsAs: SubsectionTitle, children: t("policy.collection.methods.title") }),
9646
- /* @__PURE__ */ jsx21(ExactText, { cmsField: "policy.collection.methods.intro", cmsAs: Paragraph, children: t("policy.collection.methods.intro") }),
9647
- /* @__PURE__ */ jsx21(CmsTemplateList, { cmsAs: BulletList, cmsId: `${language}.policy.collection.methods.items`, children: keys("policy.collection.methods.items", 3).map((key) => /* @__PURE__ */ jsx21(ExactText, { cmsField: key, cmsAs: "li", children: t(key) }, key)) })
9766
+ /* @__PURE__ */ jsxs16(Subsection, { children: [
9767
+ /* @__PURE__ */ jsx22(ExactText, { cmsField: "policy.collection.methods.title", cmsAs: SubsectionTitle, children: t("policy.collection.methods.title") }),
9768
+ /* @__PURE__ */ jsx22(ExactText, { cmsField: "policy.collection.methods.intro", cmsAs: Paragraph, children: t("policy.collection.methods.intro") }),
9769
+ /* @__PURE__ */ jsx22(CmsTemplateList, { cmsAs: BulletList, cmsId: `${language}.policy.collection.methods.items`, children: keys("policy.collection.methods.items", 3).map((key) => /* @__PURE__ */ jsx22(ExactText, { cmsField: key, cmsAs: "li", children: t(key) }, key)) })
9648
9770
  ] })
9649
9771
  ] }),
9650
- /* @__PURE__ */ jsxs15(Section, { children: [
9651
- /* @__PURE__ */ jsx21(ExactText, { cmsField: "policy.processing.title", cmsAs: SectionTitle, children: t("policy.processing.title") }),
9652
- /* @__PURE__ */ jsx21(ExactText, { cmsField: "policy.processing.intro", cmsAs: Paragraph, children: t("policy.processing.intro") }),
9653
- /* @__PURE__ */ jsx21(CmsTemplateList, { cmsAs: NumberedList, cmsId: `${language}.policy.processing.items`, children: keys("policy.processing.items", 6).map((key) => /* @__PURE__ */ jsx21("li", { children: /* @__PURE__ */ jsx21(LeadText, { translationKey: key }) }, key)) })
9772
+ /* @__PURE__ */ jsxs16(Section, { children: [
9773
+ /* @__PURE__ */ jsx22(ExactText, { cmsField: "policy.processing.title", cmsAs: SectionTitle, children: t("policy.processing.title") }),
9774
+ /* @__PURE__ */ jsx22(ExactText, { cmsField: "policy.processing.intro", cmsAs: Paragraph, children: t("policy.processing.intro") }),
9775
+ /* @__PURE__ */ jsx22(CmsTemplateList, { cmsAs: NumberedList, cmsId: `${language}.policy.processing.items`, children: keys("policy.processing.items", 6).map((key) => /* @__PURE__ */ jsx22("li", { children: /* @__PURE__ */ jsx22(LeadText, { translationKey: key }) }, key)) })
9654
9776
  ] }),
9655
- /* @__PURE__ */ jsxs15(Section, { children: [
9656
- /* @__PURE__ */ jsx21(ExactText, { cmsField: "policy.retention.title", cmsAs: SectionTitle, children: t("policy.retention.title") }),
9657
- /* @__PURE__ */ jsx21(CmsTemplateList, { cmsAs: BulletList, cmsId: `${language}.policy.retention.items`, children: keys("policy.retention.items", 3).map((key) => /* @__PURE__ */ jsx21(ExactText, { cmsField: key, cmsAs: "li", children: t(key) }, key)) })
9777
+ /* @__PURE__ */ jsxs16(Section, { children: [
9778
+ /* @__PURE__ */ jsx22(ExactText, { cmsField: "policy.retention.title", cmsAs: SectionTitle, children: t("policy.retention.title") }),
9779
+ /* @__PURE__ */ jsx22(CmsTemplateList, { cmsAs: BulletList, cmsId: `${language}.policy.retention.items`, children: keys("policy.retention.items", 3).map((key) => /* @__PURE__ */ jsx22(ExactText, { cmsField: key, cmsAs: "li", children: t(key) }, key)) })
9658
9780
  ] }),
9659
- /* @__PURE__ */ jsxs15(Section, { children: [
9660
- /* @__PURE__ */ jsx21(ExactText, { cmsField: "policy.sharing.title", cmsAs: SectionTitle, children: t("policy.sharing.title") }),
9661
- /* @__PURE__ */ jsx21(ExactText, { cmsField: "policy.sharing.intro", cmsAs: Paragraph, children: t("policy.sharing.intro") }),
9662
- /* @__PURE__ */ jsx21(CmsTemplateList, { cmsAs: NumberedList, cmsId: `${language}.policy.sharing.items`, children: keys("policy.sharing.items", 4).map((key) => /* @__PURE__ */ jsx21("li", { children: /* @__PURE__ */ jsx21(LeadText, { translationKey: key }) }, key)) })
9781
+ /* @__PURE__ */ jsxs16(Section, { children: [
9782
+ /* @__PURE__ */ jsx22(ExactText, { cmsField: "policy.sharing.title", cmsAs: SectionTitle, children: t("policy.sharing.title") }),
9783
+ /* @__PURE__ */ jsx22(ExactText, { cmsField: "policy.sharing.intro", cmsAs: Paragraph, children: t("policy.sharing.intro") }),
9784
+ /* @__PURE__ */ jsx22(CmsTemplateList, { cmsAs: NumberedList, cmsId: `${language}.policy.sharing.items`, children: keys("policy.sharing.items", 4).map((key) => /* @__PURE__ */ jsx22("li", { children: /* @__PURE__ */ jsx22(LeadText, { translationKey: key }) }, key)) })
9663
9785
  ] }),
9664
- /* @__PURE__ */ jsxs15(Section, { children: [
9665
- /* @__PURE__ */ jsx21(ExactText, { cmsField: "policy.security.title", cmsAs: SectionTitle, children: t("policy.security.title") }),
9666
- /* @__PURE__ */ jsx21(ExactText, { cmsField: "policy.security.intro", cmsAs: Paragraph, children: t("policy.security.intro") }),
9667
- /* @__PURE__ */ jsx21(CmsTemplateList, { cmsAs: BulletList, cmsId: `${language}.policy.security.items`, children: keys("policy.security.items", 4).map((key) => /* @__PURE__ */ jsx21("li", { children: /* @__PURE__ */ jsx21(LeadText, { translationKey: key }) }, key)) })
9786
+ /* @__PURE__ */ jsxs16(Section, { children: [
9787
+ /* @__PURE__ */ jsx22(ExactText, { cmsField: "policy.security.title", cmsAs: SectionTitle, children: t("policy.security.title") }),
9788
+ /* @__PURE__ */ jsx22(ExactText, { cmsField: "policy.security.intro", cmsAs: Paragraph, children: t("policy.security.intro") }),
9789
+ /* @__PURE__ */ jsx22(CmsTemplateList, { cmsAs: BulletList, cmsId: `${language}.policy.security.items`, children: keys("policy.security.items", 4).map((key) => /* @__PURE__ */ jsx22("li", { children: /* @__PURE__ */ jsx22(LeadText, { translationKey: key }) }, key)) })
9668
9790
  ] }),
9669
- /* @__PURE__ */ jsxs15(Section, { children: [
9670
- /* @__PURE__ */ jsx21(ExactText, { cmsField: "policy.customer.title", cmsAs: SectionTitle, children: t("policy.customer.title") }),
9671
- /* @__PURE__ */ jsxs15(Subsection, { children: [
9672
- /* @__PURE__ */ jsx21(ExactText, { cmsField: "policy.customer.rights.title", cmsAs: SubsectionTitle, children: t("policy.customer.rights.title") }),
9673
- /* @__PURE__ */ jsx21(CmsTemplateList, { cmsAs: BulletList, cmsId: `${language}.policy.customer.rights.items`, children: keys("policy.customer.rights.items", 3).map((key) => /* @__PURE__ */ jsx21("li", { children: /* @__PURE__ */ jsx21(LeadText, { translationKey: key }) }, key)) })
9791
+ /* @__PURE__ */ jsxs16(Section, { children: [
9792
+ /* @__PURE__ */ jsx22(ExactText, { cmsField: "policy.customer.title", cmsAs: SectionTitle, children: t("policy.customer.title") }),
9793
+ /* @__PURE__ */ jsxs16(Subsection, { children: [
9794
+ /* @__PURE__ */ jsx22(ExactText, { cmsField: "policy.customer.rights.title", cmsAs: SubsectionTitle, children: t("policy.customer.rights.title") }),
9795
+ /* @__PURE__ */ jsx22(CmsTemplateList, { cmsAs: BulletList, cmsId: `${language}.policy.customer.rights.items`, children: keys("policy.customer.rights.items", 3).map((key) => /* @__PURE__ */ jsx22("li", { children: /* @__PURE__ */ jsx22(LeadText, { translationKey: key }) }, key)) })
9674
9796
  ] }),
9675
- /* @__PURE__ */ jsxs15(Subsection, { children: [
9676
- /* @__PURE__ */ jsx21(ExactText, { cmsAs: SubsectionTitle, children: t("policy.customer.obligations.title") }),
9677
- /* @__PURE__ */ jsx21(CmsTemplateList, { cmsAs: BulletList, cmsId: `${language}.policy.customer.obligations.items`, children: keys("policy.customer.obligations.items", 3).map((key) => /* @__PURE__ */ jsx21("li", { children: /* @__PURE__ */ jsx21(LeadText, { translationKey: key }) }, key)) })
9797
+ /* @__PURE__ */ jsxs16(Subsection, { children: [
9798
+ /* @__PURE__ */ jsx22(ExactText, { cmsAs: SubsectionTitle, children: t("policy.customer.obligations.title") }),
9799
+ /* @__PURE__ */ jsx22(CmsTemplateList, { cmsAs: BulletList, cmsId: `${language}.policy.customer.obligations.items`, children: keys("policy.customer.obligations.items", 3).map((key) => /* @__PURE__ */ jsx22("li", { children: /* @__PURE__ */ jsx22(LeadText, { translationKey: key }) }, key)) })
9678
9800
  ] })
9679
9801
  ] }),
9680
- /* @__PURE__ */ jsxs15(Section, { children: [
9681
- /* @__PURE__ */ jsx21(ExactText, { cmsField: "policy.deletion.title", cmsAs: SectionTitle, children: t("policy.deletion.title") }),
9682
- /* @__PURE__ */ jsx21(ExactText, { cmsField: "policy.deletion.intro", cmsAs: Paragraph, children: t("policy.deletion.intro") }),
9683
- /* @__PURE__ */ jsxs15(CmsTemplateList, { cmsAs: NumberedList, cmsId: `${language}.policy.deletion`, children: [
9684
- /* @__PURE__ */ jsxs15("li", { children: [
9685
- /* @__PURE__ */ jsx21(ExactText, { cmsField: "policy.deletion.conditions.title", cmsAs: "strong", children: t("policy.deletion.conditions.title") }),
9686
- /* @__PURE__ */ jsx21(CmsTemplateList, { cmsAs: NestedBulletList, cmsId: `${language}.policy.deletion.conditions.items`, children: keys("policy.deletion.conditions.items", 3).map((key) => /* @__PURE__ */ jsx21(ExactText, { cmsField: key, cmsAs: "li", children: t(key) }, key)) })
9802
+ /* @__PURE__ */ jsxs16(Section, { children: [
9803
+ /* @__PURE__ */ jsx22(ExactText, { cmsField: "policy.deletion.title", cmsAs: SectionTitle, children: t("policy.deletion.title") }),
9804
+ /* @__PURE__ */ jsx22(ExactText, { cmsField: "policy.deletion.intro", cmsAs: Paragraph, children: t("policy.deletion.intro") }),
9805
+ /* @__PURE__ */ jsxs16(CmsTemplateList, { cmsAs: NumberedList, cmsId: `${language}.policy.deletion`, children: [
9806
+ /* @__PURE__ */ jsxs16("li", { children: [
9807
+ /* @__PURE__ */ jsx22(ExactText, { cmsField: "policy.deletion.conditions.title", cmsAs: "strong", children: t("policy.deletion.conditions.title") }),
9808
+ /* @__PURE__ */ jsx22(CmsTemplateList, { cmsAs: NestedBulletList, cmsId: `${language}.policy.deletion.conditions.items`, children: keys("policy.deletion.conditions.items", 3).map((key) => /* @__PURE__ */ jsx22(ExactText, { cmsField: key, cmsAs: "li", children: t(key) }, key)) })
9687
9809
  ] }),
9688
- /* @__PURE__ */ jsx21("li", { children: /* @__PURE__ */ jsx21(LeadText, { translationKey: "policy.deletion.consequences" }) })
9810
+ /* @__PURE__ */ jsx22("li", { children: /* @__PURE__ */ jsx22(LeadText, { translationKey: "policy.deletion.consequences" }) })
9689
9811
  ] })
9690
9812
  ] }),
9691
- /* @__PURE__ */ jsxs15(Section, { children: [
9692
- /* @__PURE__ */ jsx21(ExactText, { cmsField: "policy.updates.title", cmsAs: SectionTitle, children: t("policy.updates.title") }),
9693
- /* @__PURE__ */ jsx21(CmsTemplateList, { cmsAs: BulletList, cmsId: `${language}.policy.updates.items`, children: keys("policy.updates.items", 3).map((key) => /* @__PURE__ */ jsx21(ExactText, { cmsField: key, cmsAs: "li", children: t(key) }, key)) })
9813
+ /* @__PURE__ */ jsxs16(Section, { children: [
9814
+ /* @__PURE__ */ jsx22(ExactText, { cmsField: "policy.updates.title", cmsAs: SectionTitle, children: t("policy.updates.title") }),
9815
+ /* @__PURE__ */ jsx22(CmsTemplateList, { cmsAs: BulletList, cmsId: `${language}.policy.updates.items`, children: keys("policy.updates.items", 3).map((key) => /* @__PURE__ */ jsx22(ExactText, { cmsField: key, cmsAs: "li", children: t(key) }, key)) })
9694
9816
  ] }),
9695
- /* @__PURE__ */ jsxs15(Section, { children: [
9696
- /* @__PURE__ */ jsx21(ExactText, { cmsField: "policy.contact.title", cmsAs: SectionTitle, children: t("policy.contact.title") }),
9697
- /* @__PURE__ */ jsx21(ExactText, { cmsField: "policy.contact.intro", cmsAs: Paragraph, children: t("policy.contact.intro") }),
9698
- /* @__PURE__ */ jsxs15(CmsTemplateList, { cmsAs: BulletList, cmsId: `${language}.policy.contact`, children: [
9699
- /* @__PURE__ */ jsx21("li", { children: /* @__PURE__ */ jsx21(LeadText, { translationKey: "policy.contact.company" }) }),
9700
- /* @__PURE__ */ jsx21("li", { children: /* @__PURE__ */ jsx21(LeadText, { translationKey: "policy.contact.address" }) }),
9701
- /* @__PURE__ */ jsx21("li", { children: /* @__PURE__ */ jsx21(
9817
+ /* @__PURE__ */ jsxs16(Section, { children: [
9818
+ /* @__PURE__ */ jsx22(ExactText, { cmsField: "policy.contact.title", cmsAs: SectionTitle, children: t("policy.contact.title") }),
9819
+ /* @__PURE__ */ jsx22(ExactText, { cmsField: "policy.contact.intro", cmsAs: Paragraph, children: t("policy.contact.intro") }),
9820
+ /* @__PURE__ */ jsxs16(CmsTemplateList, { cmsAs: BulletList, cmsId: `${language}.policy.contact`, children: [
9821
+ /* @__PURE__ */ jsx22("li", { children: /* @__PURE__ */ jsx22(LeadText, { translationKey: "policy.contact.company" }) }),
9822
+ /* @__PURE__ */ jsx22("li", { children: /* @__PURE__ */ jsx22(LeadText, { translationKey: "policy.contact.address" }) }),
9823
+ /* @__PURE__ */ jsx22("li", { children: /* @__PURE__ */ jsx22(
9702
9824
  LeadText,
9703
9825
  {
9704
9826
  translationKey: "policy.contact.phone",
9705
9827
  href: "tel:0938427079"
9706
9828
  }
9707
9829
  ) }),
9708
- /* @__PURE__ */ jsx21("li", { children: /* @__PURE__ */ jsx21(
9830
+ /* @__PURE__ */ jsx22("li", { children: /* @__PURE__ */ jsx22(
9709
9831
  LeadText,
9710
9832
  {
9711
9833
  translationKey: "policy.contact.email",
9712
9834
  href: "mailto:admin@wikex.vn"
9713
9835
  }
9714
9836
  ) }),
9715
- /* @__PURE__ */ jsx21("li", { children: /* @__PURE__ */ jsx21(
9837
+ /* @__PURE__ */ jsx22("li", { children: /* @__PURE__ */ jsx22(
9716
9838
  LeadText,
9717
9839
  {
9718
9840
  translationKey: "policy.contact.website",
@@ -9721,7 +9843,7 @@ function PrivacyPolicyPage() {
9721
9843
  }
9722
9844
  ) })
9723
9845
  ] }),
9724
- /* @__PURE__ */ jsx21(Paragraph, { children: /* @__PURE__ */ jsx21(LeadText, { translationKey: "policy.contact.response" }) })
9846
+ /* @__PURE__ */ jsx22(Paragraph, { children: /* @__PURE__ */ jsx22(LeadText, { translationKey: "policy.contact.response" }) })
9725
9847
  ] })
9726
9848
  ] }) }) });
9727
9849
  }
@@ -9763,14 +9885,14 @@ var ComingSoonDescription = styled13.p.withConfig({
9763
9885
  ], ({ theme }) => theme.colors.text.secondary);
9764
9886
 
9765
9887
  // src/commodity-original/app/comming-soon/ComingSoonContent.tsx
9766
- import { jsx as jsx22, jsxs as jsxs16 } from "react/jsx-runtime";
9888
+ import { jsx as jsx23, jsxs as jsxs17 } from "react/jsx-runtime";
9767
9889
  function ComingSoonContent() {
9768
9890
  const router = useRouter();
9769
9891
  const { t } = useTranslation6();
9770
9892
  const artwork = useCmsImage("comingSoonImage", "/comming/comming_soon.png");
9771
- return /* @__PURE__ */ jsx22(ComingSoonMain, { children: /* @__PURE__ */ jsxs16(ComingSoonContainer, { children: [
9772
- /* @__PURE__ */ jsxs16(ComingSoonArtwork, { className: "wikex-cms-image-host", style: { position: "relative" }, children: [
9773
- /* @__PURE__ */ jsx22(
9893
+ return /* @__PURE__ */ jsx23(ComingSoonMain, { children: /* @__PURE__ */ jsxs17(ComingSoonContainer, { children: [
9894
+ /* @__PURE__ */ jsxs17(ComingSoonArtwork, { className: "wikex-cms-image-host", style: { position: "relative" }, children: [
9895
+ /* @__PURE__ */ jsx23(
9774
9896
  Image4,
9775
9897
  {
9776
9898
  src: artwork,
@@ -9781,13 +9903,13 @@ function ComingSoonContent() {
9781
9903
  sizes: "(max-width: 767px) 280px, 340px"
9782
9904
  }
9783
9905
  ),
9784
- /* @__PURE__ */ jsx22(CmsImageAction, { field: "comingSoonImage" })
9906
+ /* @__PURE__ */ jsx23(CmsImageAction, { field: "comingSoonImage" })
9785
9907
  ] }),
9786
- /* @__PURE__ */ jsxs16("div", { children: [
9787
- /* @__PURE__ */ jsx22(ExactText, { cmsAs: ComingSoonTitle, children: t("comingSoon.title") }),
9788
- /* @__PURE__ */ jsx22(ExactText, { cmsAs: ComingSoonDescription, children: t("comingSoon.description") })
9908
+ /* @__PURE__ */ jsxs17("div", { children: [
9909
+ /* @__PURE__ */ jsx23(ExactText, { cmsAs: ComingSoonTitle, children: t("comingSoon.title") }),
9910
+ /* @__PURE__ */ jsx23(ExactText, { cmsAs: ComingSoonDescription, children: t("comingSoon.description") })
9789
9911
  ] }),
9790
- /* @__PURE__ */ jsx22(
9912
+ /* @__PURE__ */ jsx23(
9791
9913
  Button_default,
9792
9914
  {
9793
9915
  className: "coming-soon-cta",
@@ -10028,66 +10150,66 @@ function SupportRequestBlock() {
10028
10150
  }
10029
10151
 
10030
10152
  // src/commodity-original/app/khieu-nai/ComplaintsContent.tsx
10031
- import { Fragment as Fragment7, jsx as jsx23, jsxs as jsxs17 } from "react/jsx-runtime";
10153
+ import { Fragment as Fragment7, jsx as jsx24, jsxs as jsxs18 } from "react/jsx-runtime";
10032
10154
  function ComplaintPolicyPage() {
10033
- return /* @__PURE__ */ jsxs17(Fragment7, { children: [
10034
- /* @__PURE__ */ jsx23(SupportRequestBlock, {}),
10035
- /* @__PURE__ */ jsx23(PolicyMain2, { children: /* @__PURE__ */ jsxs17(PolicyArticle2, { children: [
10036
- /* @__PURE__ */ jsxs17(PolicyHeader2, { children: [
10037
- /* @__PURE__ */ jsx23(ExactText, { cmsField: "complaints.text.1", cmsAs: PageTitle2, children: "QUY CH\u1EBE TI\u1EBEP NH\u1EACN V\xC0 GI\u1EA2I QUY\u1EBET KHI\u1EBEU N\u1EA0I KH\xC1CH H\xC0NG" }),
10038
- /* @__PURE__ */ jsx23(ExactText, { cmsField: "complaints.text.2", cmsAs: Intro, children: "Wikex ti\u1EBFp nh\u1EADn v\xE0 x\u1EED l\xFD khi\u1EBFu n\u1EA1i c\u1EE7a Kh\xE1ch h\xE0ng theo quy tr\xECnh minh b\u1EA1ch, nh\u1EB1m b\u1EA3o v\u1EC7 quy\u1EC1n v\xE0 l\u1EE3i \xEDch h\u1EE3p ph\xE1p c\u1EE7a c\xE1c b\xEAn." })
10155
+ return /* @__PURE__ */ jsxs18(Fragment7, { children: [
10156
+ /* @__PURE__ */ jsx24(SupportRequestBlock, {}),
10157
+ /* @__PURE__ */ jsx24(PolicyMain2, { children: /* @__PURE__ */ jsxs18(PolicyArticle2, { children: [
10158
+ /* @__PURE__ */ jsxs18(PolicyHeader2, { children: [
10159
+ /* @__PURE__ */ jsx24(ExactText, { cmsField: "complaints.text.1", cmsAs: PageTitle2, children: "QUY CH\u1EBE TI\u1EBEP NH\u1EACN V\xC0 GI\u1EA2I QUY\u1EBET KHI\u1EBEU N\u1EA0I KH\xC1CH H\xC0NG" }),
10160
+ /* @__PURE__ */ jsx24(ExactText, { cmsField: "complaints.text.2", cmsAs: Intro, children: "Wikex ti\u1EBFp nh\u1EADn v\xE0 x\u1EED l\xFD khi\u1EBFu n\u1EA1i c\u1EE7a Kh\xE1ch h\xE0ng theo quy tr\xECnh minh b\u1EA1ch, nh\u1EB1m b\u1EA3o v\u1EC7 quy\u1EC1n v\xE0 l\u1EE3i \xEDch h\u1EE3p ph\xE1p c\u1EE7a c\xE1c b\xEAn." })
10039
10161
  ] }),
10040
- /* @__PURE__ */ jsxs17(Section2, { children: [
10041
- /* @__PURE__ */ jsx23(ExactText, { cmsField: "complaints.text.3", cmsAs: SectionTitle3, children: "\u0110i\u1EC1u 1. Nguy\xEAn t\u1EAFc gi\u1EA3i quy\u1EBFt khi\u1EBFu n\u1EA1i" }),
10042
- /* @__PURE__ */ jsx23(ExactText, { cmsField: "complaints.text.4", cmsAs: Paragraph2, children: "C\xF4ng ty C\u1ED5 ph\u1EA7n Giao d\u1ECBch H\xE0ng h\xF3a Wikex (Wikex) ti\u1EBFp nh\u1EADn m\u1ECDi khi\u1EBFu n\u1EA1i c\u1EE7a Kh\xE1ch h\xE0ng v\u1EDBi tinh th\u1EA7n thi\u1EC7n ch\xED, h\u1EE3p t\xE1c v\xE0 tu\xE2n th\u1EE7 c\xE1c quy \u0111\u1ECBnh ph\xE1p lu\u1EADt hi\u1EC7n h\xE0nh." }),
10043
- /* @__PURE__ */ jsx23(ExactText, { cmsField: "complaints.text.5", cmsAs: Paragraph2, children: "Wikex \u01B0u ti\xEAn trao \u0111\u1ED5i tr\u1EF1c ti\u1EBFp v\xE0 th\u01B0\u01A1ng l\u01B0\u1EE3ng \u0111\u1EC3 t\xECm ph\u01B0\u01A1ng \xE1n x\u1EED l\xFD ph\xF9 h\u1EE3p, b\u1EA3o \u0111\u1EA3m quy\u1EC1n l\u1EE3i ch\xEDnh \u0111\xE1ng c\u1EE7a Kh\xE1ch h\xE0ng v\xE0 c\u1EE7a Wikex." }),
10044
- /* @__PURE__ */ jsx23(ExactText, { cmsField: "complaints.text.6", cmsAs: Paragraph2, children: "N\u1EBFu c\xE1c b\xEAn kh\xF4ng \u0111\u1EA1t \u0111\u01B0\u1EE3c th\u1ECFa thu\u1EADn, Kh\xE1ch h\xE0ng ho\u1EB7c Wikex c\xF3 th\u1EC3 \u0111\u1EC1 ngh\u1ECB c\u01A1 quan c\xF3 th\u1EA9m quy\u1EC1n xem x\xE9t v\u1EE5 vi\u1EC7c theo quy \u0111\u1ECBnh." }),
10045
- /* @__PURE__ */ jsx23(ExactText, { cmsField: "complaints.text.7", cmsAs: Paragraph2, children: "Khi s\u1EF1 c\u1ED1 \u0111\u01B0\u1EE3c x\xE1c \u0111\u1ECBnh xu\u1EA5t ph\xE1t t\u1EEB ph\xEDa Wikex, ch\xFAng t\xF4i s\u1EBD \xE1p d\u1EE5ng bi\u1EC7n ph\xE1p kh\u1EAFc ph\u1EE5c ph\xF9 h\u1EE3p \u0111\u1EC3 b\u1EA3o v\u1EC7 quy\u1EC1n l\u1EE3i h\u1EE3p ph\xE1p c\u1EE7a Kh\xE1ch h\xE0ng." })
10162
+ /* @__PURE__ */ jsxs18(Section2, { children: [
10163
+ /* @__PURE__ */ jsx24(ExactText, { cmsField: "complaints.text.3", cmsAs: SectionTitle3, children: "\u0110i\u1EC1u 1. Nguy\xEAn t\u1EAFc gi\u1EA3i quy\u1EBFt khi\u1EBFu n\u1EA1i" }),
10164
+ /* @__PURE__ */ jsx24(ExactText, { cmsField: "complaints.text.4", cmsAs: Paragraph2, children: "C\xF4ng ty C\u1ED5 ph\u1EA7n Giao d\u1ECBch H\xE0ng h\xF3a Wikex (Wikex) ti\u1EBFp nh\u1EADn m\u1ECDi khi\u1EBFu n\u1EA1i c\u1EE7a Kh\xE1ch h\xE0ng v\u1EDBi tinh th\u1EA7n thi\u1EC7n ch\xED, h\u1EE3p t\xE1c v\xE0 tu\xE2n th\u1EE7 c\xE1c quy \u0111\u1ECBnh ph\xE1p lu\u1EADt hi\u1EC7n h\xE0nh." }),
10165
+ /* @__PURE__ */ jsx24(ExactText, { cmsField: "complaints.text.5", cmsAs: Paragraph2, children: "Wikex \u01B0u ti\xEAn trao \u0111\u1ED5i tr\u1EF1c ti\u1EBFp v\xE0 th\u01B0\u01A1ng l\u01B0\u1EE3ng \u0111\u1EC3 t\xECm ph\u01B0\u01A1ng \xE1n x\u1EED l\xFD ph\xF9 h\u1EE3p, b\u1EA3o \u0111\u1EA3m quy\u1EC1n l\u1EE3i ch\xEDnh \u0111\xE1ng c\u1EE7a Kh\xE1ch h\xE0ng v\xE0 c\u1EE7a Wikex." }),
10166
+ /* @__PURE__ */ jsx24(ExactText, { cmsField: "complaints.text.6", cmsAs: Paragraph2, children: "N\u1EBFu c\xE1c b\xEAn kh\xF4ng \u0111\u1EA1t \u0111\u01B0\u1EE3c th\u1ECFa thu\u1EADn, Kh\xE1ch h\xE0ng ho\u1EB7c Wikex c\xF3 th\u1EC3 \u0111\u1EC1 ngh\u1ECB c\u01A1 quan c\xF3 th\u1EA9m quy\u1EC1n xem x\xE9t v\u1EE5 vi\u1EC7c theo quy \u0111\u1ECBnh." }),
10167
+ /* @__PURE__ */ jsx24(ExactText, { cmsField: "complaints.text.7", cmsAs: Paragraph2, children: "Khi s\u1EF1 c\u1ED1 \u0111\u01B0\u1EE3c x\xE1c \u0111\u1ECBnh xu\u1EA5t ph\xE1t t\u1EEB ph\xEDa Wikex, ch\xFAng t\xF4i s\u1EBD \xE1p d\u1EE5ng bi\u1EC7n ph\xE1p kh\u1EAFc ph\u1EE5c ph\xF9 h\u1EE3p \u0111\u1EC3 b\u1EA3o v\u1EC7 quy\u1EC1n l\u1EE3i h\u1EE3p ph\xE1p c\u1EE7a Kh\xE1ch h\xE0ng." })
10046
10168
  ] }),
10047
- /* @__PURE__ */ jsxs17(Section2, { children: [
10048
- /* @__PURE__ */ jsx23(ExactText, { cmsField: "complaints.text.8", cmsAs: SectionTitle3, children: "\u0110i\u1EC1u 2. K\xEAnh g\u1EEDi khi\u1EBFu n\u1EA1i" }),
10049
- /* @__PURE__ */ jsx23(ExactText, { cmsField: "complaints.text.9", cmsAs: Paragraph2, children: "Kh\xE1ch h\xE0ng c\xF3 th\u1EC3 g\u1EEDi khi\u1EBFu n\u1EA1i qua m\u1ED9t trong c\xE1c k\xEAnh ch\xEDnh th\u1EE9c sau:" }),
10050
- /* @__PURE__ */ jsxs17(CmsTemplateList, { cmsAs: ContactList, cmsId: "complaints.contact", children: [
10051
- /* @__PURE__ */ jsxs17("li", { children: [
10052
- /* @__PURE__ */ jsx23(ExactText, { cmsField: "complaints.text.10", cmsAs: "strong", children: "\u0110i\u1EC7n tho\u1EA1i (ch\u0103m s\xF3c kh\xE1ch h\xE0ng):" }),
10169
+ /* @__PURE__ */ jsxs18(Section2, { children: [
10170
+ /* @__PURE__ */ jsx24(ExactText, { cmsField: "complaints.text.8", cmsAs: SectionTitle3, children: "\u0110i\u1EC1u 2. K\xEAnh g\u1EEDi khi\u1EBFu n\u1EA1i" }),
10171
+ /* @__PURE__ */ jsx24(ExactText, { cmsField: "complaints.text.9", cmsAs: Paragraph2, children: "Kh\xE1ch h\xE0ng c\xF3 th\u1EC3 g\u1EEDi khi\u1EBFu n\u1EA1i qua m\u1ED9t trong c\xE1c k\xEAnh ch\xEDnh th\u1EE9c sau:" }),
10172
+ /* @__PURE__ */ jsxs18(CmsTemplateList, { cmsAs: ContactList, cmsId: "complaints.contact", children: [
10173
+ /* @__PURE__ */ jsxs18("li", { children: [
10174
+ /* @__PURE__ */ jsx24(ExactText, { cmsField: "complaints.text.10", cmsAs: "strong", children: "\u0110i\u1EC7n tho\u1EA1i (ch\u0103m s\xF3c kh\xE1ch h\xE0ng):" }),
10053
10175
  " ",
10054
- /* @__PURE__ */ jsx23(ExactText, { cmsField: "complaints.text.11", cmsAs: "a", href: "tel:0938427079", children: "0938427079" })
10176
+ /* @__PURE__ */ jsx24(ExactText, { cmsField: "complaints.text.11", cmsAs: "a", href: "tel:0938427079", children: "0938427079" })
10055
10177
  ] }),
10056
- /* @__PURE__ */ jsxs17("li", { children: [
10057
- /* @__PURE__ */ jsx23(ExactText, { cmsField: "complaints.text.12", cmsAs: "strong", children: "Th\u01B0 \u0111i\u1EC7n t\u1EED:" }),
10178
+ /* @__PURE__ */ jsxs18("li", { children: [
10179
+ /* @__PURE__ */ jsx24(ExactText, { cmsField: "complaints.text.12", cmsAs: "strong", children: "Th\u01B0 \u0111i\u1EC7n t\u1EED:" }),
10058
10180
  " ",
10059
- /* @__PURE__ */ jsx23(ExactText, { cmsField: "complaints.text.13", cmsAs: "a", href: "mailto:admin@wikex.vn", children: "admin@wikex.vn" })
10181
+ /* @__PURE__ */ jsx24(ExactText, { cmsField: "complaints.text.13", cmsAs: "a", href: "mailto:admin@wikex.vn", children: "admin@wikex.vn" })
10060
10182
  ] }),
10061
- /* @__PURE__ */ jsxs17("li", { children: [
10062
- /* @__PURE__ */ jsx23(ExactText, { cmsField: "complaints.text.14", cmsAs: "strong", children: "G\u1EEDi tr\u1EF1c ti\u1EBFp:" }),
10183
+ /* @__PURE__ */ jsxs18("li", { children: [
10184
+ /* @__PURE__ */ jsx24(ExactText, { cmsField: "complaints.text.14", cmsAs: "strong", children: "G\u1EEDi tr\u1EF1c ti\u1EBFp:" }),
10063
10185
  " 36 M\u1EA1c \u0110\u0129nh Chi, Ph\u01B0\u1EDDng T\xE2n \u0110\u1ECBnh, TP. H\u1ED3 Ch\xED Minh, Vi\u1EC7t Nam."
10064
10186
  ] })
10065
10187
  ] })
10066
10188
  ] }),
10067
- /* @__PURE__ */ jsxs17(Section2, { children: [
10068
- /* @__PURE__ */ jsx23(ExactText, { cmsField: "complaints.text.15", cmsAs: SectionTitle3, children: "\u0110i\u1EC1u 3. Tr\xECnh t\u1EF1 ti\u1EBFp nh\u1EADn v\xE0 x\u1EED l\xFD" }),
10069
- /* @__PURE__ */ jsxs17(Subsection2, { children: [
10070
- /* @__PURE__ */ jsx23(ExactText, { cmsField: "complaints.text.16", cmsAs: StepTitle, children: "B\u01B0\u1EDBc 1 \u2013 G\u1EEDi khi\u1EBFu n\u1EA1i" }),
10071
- /* @__PURE__ */ jsx23(ExactText, { cmsField: "complaints.text.17", cmsAs: Paragraph2, children: "Kh\xE1ch h\xE0ng cung c\u1EA5p th\xF4ng tin v\u1EC1 khi\u1EBFu n\u1EA1i li\xEAn quan \u0111\u1EBFn d\u1ECBch v\u1EE5 giao d\u1ECBch, t\xE0i kho\u1EA3n ho\u1EB7c quy\u1EC1n l\u1EE3i ph\xE1t sinh trong qu\xE1 tr\xECnh s\u1EED d\u1EE5ng d\u1ECBch v\u1EE5 c\u1EE7a Wikex." })
10189
+ /* @__PURE__ */ jsxs18(Section2, { children: [
10190
+ /* @__PURE__ */ jsx24(ExactText, { cmsField: "complaints.text.15", cmsAs: SectionTitle3, children: "\u0110i\u1EC1u 3. Tr\xECnh t\u1EF1 ti\u1EBFp nh\u1EADn v\xE0 x\u1EED l\xFD" }),
10191
+ /* @__PURE__ */ jsxs18(Subsection2, { children: [
10192
+ /* @__PURE__ */ jsx24(ExactText, { cmsField: "complaints.text.16", cmsAs: StepTitle, children: "B\u01B0\u1EDBc 1 \u2013 G\u1EEDi khi\u1EBFu n\u1EA1i" }),
10193
+ /* @__PURE__ */ jsx24(ExactText, { cmsField: "complaints.text.17", cmsAs: Paragraph2, children: "Kh\xE1ch h\xE0ng cung c\u1EA5p th\xF4ng tin v\u1EC1 khi\u1EBFu n\u1EA1i li\xEAn quan \u0111\u1EBFn d\u1ECBch v\u1EE5 giao d\u1ECBch, t\xE0i kho\u1EA3n ho\u1EB7c quy\u1EC1n l\u1EE3i ph\xE1t sinh trong qu\xE1 tr\xECnh s\u1EED d\u1EE5ng d\u1ECBch v\u1EE5 c\u1EE7a Wikex." })
10072
10194
  ] }),
10073
- /* @__PURE__ */ jsxs17(Subsection2, { children: [
10074
- /* @__PURE__ */ jsx23(ExactText, { cmsField: "complaints.text.18", cmsAs: StepTitle, children: "B\u01B0\u1EDBc 2 \u2013 Ti\u1EBFp nh\u1EADn v\xE0 x\xE1c minh" }),
10075
- /* @__PURE__ */ jsx23(ExactText, { cmsField: "complaints.text.19", cmsAs: Paragraph2, children: "Wikex ti\u1EBFp nh\u1EADn th\xF4ng tin, ki\u1EC3m tra c\xE1c d\u1EEF li\u1EC7u li\xEAn quan v\xE0 x\xE1c minh d\u1EF1a tr\xEAn h\u1ED3 s\u01A1 Kh\xE1ch h\xE0ng, d\u1EEF li\u1EC7u giao d\u1ECBch c\xF9ng quy \u0111\u1ECBnh n\u1ED9i b\u1ED9 \xE1p d\u1EE5ng t\u1EA1i th\u1EDDi \u0111i\u1EC3m x\u1EED l\xFD." })
10195
+ /* @__PURE__ */ jsxs18(Subsection2, { children: [
10196
+ /* @__PURE__ */ jsx24(ExactText, { cmsField: "complaints.text.18", cmsAs: StepTitle, children: "B\u01B0\u1EDBc 2 \u2013 Ti\u1EBFp nh\u1EADn v\xE0 x\xE1c minh" }),
10197
+ /* @__PURE__ */ jsx24(ExactText, { cmsField: "complaints.text.19", cmsAs: Paragraph2, children: "Wikex ti\u1EBFp nh\u1EADn th\xF4ng tin, ki\u1EC3m tra c\xE1c d\u1EEF li\u1EC7u li\xEAn quan v\xE0 x\xE1c minh d\u1EF1a tr\xEAn h\u1ED3 s\u01A1 Kh\xE1ch h\xE0ng, d\u1EEF li\u1EC7u giao d\u1ECBch c\xF9ng quy \u0111\u1ECBnh n\u1ED9i b\u1ED9 \xE1p d\u1EE5ng t\u1EA1i th\u1EDDi \u0111i\u1EC3m x\u1EED l\xFD." })
10076
10198
  ] }),
10077
- /* @__PURE__ */ jsxs17(Subsection2, { children: [
10078
- /* @__PURE__ */ jsx23(ExactText, { cmsField: "complaints.text.20", cmsAs: StepTitle, children: "B\u01B0\u1EDBc 3 \u2013 Ph\u1EA3n h\u1ED3i k\u1EBFt qu\u1EA3" }),
10079
- /* @__PURE__ */ jsx23(ExactText, { cmsField: "complaints.text.21", cmsAs: Paragraph2, children: "Wikex ph\u1EA3n h\u1ED3i k\u1EBFt qu\u1EA3 trong v\xF2ng 03 (ba) ng\xE0y l\xE0m vi\u1EC7c sau khi ho\xE0n t\u1EA5t x\xE1c minh. V\u1EDBi v\u1EE5 vi\u1EC7c c\u1EA7n ki\u1EC3m tra th\xEAm, Wikex s\u1EBD th\xF4ng b\xE1o l\xFD do v\xE0 th\u1EDDi gian d\u1EF1 ki\u1EBFn ph\u1EA3n h\u1ED3i cho Kh\xE1ch h\xE0ng." })
10199
+ /* @__PURE__ */ jsxs18(Subsection2, { children: [
10200
+ /* @__PURE__ */ jsx24(ExactText, { cmsField: "complaints.text.20", cmsAs: StepTitle, children: "B\u01B0\u1EDBc 3 \u2013 Ph\u1EA3n h\u1ED3i k\u1EBFt qu\u1EA3" }),
10201
+ /* @__PURE__ */ jsx24(ExactText, { cmsField: "complaints.text.21", cmsAs: Paragraph2, children: "Wikex ph\u1EA3n h\u1ED3i k\u1EBFt qu\u1EA3 trong v\xF2ng 03 (ba) ng\xE0y l\xE0m vi\u1EC7c sau khi ho\xE0n t\u1EA5t x\xE1c minh. V\u1EDBi v\u1EE5 vi\u1EC7c c\u1EA7n ki\u1EC3m tra th\xEAm, Wikex s\u1EBD th\xF4ng b\xE1o l\xFD do v\xE0 th\u1EDDi gian d\u1EF1 ki\u1EBFn ph\u1EA3n h\u1ED3i cho Kh\xE1ch h\xE0ng." })
10080
10202
  ] })
10081
10203
  ] }),
10082
- /* @__PURE__ */ jsxs17(Section2, { children: [
10083
- /* @__PURE__ */ jsx23(ExactText, { cmsField: "complaints.text.22", cmsAs: SectionTitle3, children: "\u0110i\u1EC1u 4. Cam k\u1EBFt x\u1EED l\xFD" }),
10084
- /* @__PURE__ */ jsx23(ExactText, { cmsField: "complaints.text.23", cmsAs: Paragraph2, children: "Wikex n\u1ED7 l\u1EF1c gi\u1EA3i quy\u1EBFt khi\u1EBFu n\u1EA1i tr\xEAn c\xE1c nguy\xEAn t\u1EAFc:" }),
10085
- /* @__PURE__ */ jsxs17(CmsTemplateList, { cmsAs: BulletList2, cmsId: "complaints.commitments", children: [
10086
- /* @__PURE__ */ jsx23(ExactText, { cmsField: "complaints.text.24", cmsAs: "li", children: "Nhanh ch\xF3ng v\xE0 \u0111\xFAng th\u1EDDi h\u1EA1n ph\xF9 h\u1EE3p v\u1EDBi t\u1EEBng v\u1EE5 vi\u1EC7c." }),
10087
- /* @__PURE__ */ jsx23(ExactText, { cmsField: "complaints.text.25", cmsAs: "li", children: "Kh\xE1ch quan, minh b\u1EA1ch v\xE0 c\xF3 c\u01A1 s\u1EDF \u0111\u1ED1i chi\u1EBFu." }),
10088
- /* @__PURE__ */ jsx23(ExactText, { cmsField: "complaints.text.26", cmsAs: "li", children: "Tu\xE2n th\u1EE7 quy \u0111\u1ECBnh ph\xE1p lu\u1EADt hi\u1EC7n h\xE0nh." })
10204
+ /* @__PURE__ */ jsxs18(Section2, { children: [
10205
+ /* @__PURE__ */ jsx24(ExactText, { cmsField: "complaints.text.22", cmsAs: SectionTitle3, children: "\u0110i\u1EC1u 4. Cam k\u1EBFt x\u1EED l\xFD" }),
10206
+ /* @__PURE__ */ jsx24(ExactText, { cmsField: "complaints.text.23", cmsAs: Paragraph2, children: "Wikex n\u1ED7 l\u1EF1c gi\u1EA3i quy\u1EBFt khi\u1EBFu n\u1EA1i tr\xEAn c\xE1c nguy\xEAn t\u1EAFc:" }),
10207
+ /* @__PURE__ */ jsxs18(CmsTemplateList, { cmsAs: BulletList2, cmsId: "complaints.commitments", children: [
10208
+ /* @__PURE__ */ jsx24(ExactText, { cmsField: "complaints.text.24", cmsAs: "li", children: "Nhanh ch\xF3ng v\xE0 \u0111\xFAng th\u1EDDi h\u1EA1n ph\xF9 h\u1EE3p v\u1EDBi t\u1EEBng v\u1EE5 vi\u1EC7c." }),
10209
+ /* @__PURE__ */ jsx24(ExactText, { cmsField: "complaints.text.25", cmsAs: "li", children: "Kh\xE1ch quan, minh b\u1EA1ch v\xE0 c\xF3 c\u01A1 s\u1EDF \u0111\u1ED1i chi\u1EBFu." }),
10210
+ /* @__PURE__ */ jsx24(ExactText, { cmsField: "complaints.text.26", cmsAs: "li", children: "Tu\xE2n th\u1EE7 quy \u0111\u1ECBnh ph\xE1p lu\u1EADt hi\u1EC7n h\xE0nh." })
10089
10211
  ] }),
10090
- /* @__PURE__ */ jsx23(ExactText, { cmsField: "complaints.text.27", cmsAs: Paragraph2, children: "Tr\u01B0\u1EDDng h\u1EE3p n\u1ED9i dung v\u01B0\u1EE3t ngo\xE0i th\u1EA9m quy\u1EC1n gi\u1EA3i quy\u1EBFt c\u1EE7a Wikex, Kh\xE1ch h\xE0ng c\xF3 th\u1EC3 g\u1EEDi y\xEAu c\u1EA7u \u0111\u1EBFn c\u01A1 quan nh\xE0 n\u01B0\u1EDBc c\xF3 th\u1EA9m quy\u1EC1n." })
10212
+ /* @__PURE__ */ jsx24(ExactText, { cmsField: "complaints.text.27", cmsAs: Paragraph2, children: "Tr\u01B0\u1EDDng h\u1EE3p n\u1ED9i dung v\u01B0\u1EE3t ngo\xE0i th\u1EA9m quy\u1EC1n gi\u1EA3i quy\u1EBFt c\u1EE7a Wikex, Kh\xE1ch h\xE0ng c\xF3 th\u1EC3 g\u1EEDi y\xEAu c\u1EA7u \u0111\u1EBFn c\u01A1 quan nh\xE0 n\u01B0\u1EDBc c\xF3 th\u1EA9m quy\u1EC1n." })
10091
10213
  ] })
10092
10214
  ] }) })
10093
10215
  ] });
@@ -10169,7 +10291,7 @@ var BlogCardDescription = styled16.p.withConfig({
10169
10291
  ], ({ theme }) => theme.colors.text.secondary, BlogCardContent, BlogCardContent);
10170
10292
 
10171
10293
  // src/commodity-original/components/BlogCard/index.tsx
10172
- import { Fragment as Fragment8, jsx as jsx24, jsxs as jsxs18 } from "react/jsx-runtime";
10294
+ import { Fragment as Fragment8, jsx as jsx25, jsxs as jsxs19 } from "react/jsx-runtime";
10173
10295
  function BlogCardContentBody({
10174
10296
  date,
10175
10297
  description,
@@ -10180,8 +10302,8 @@ function BlogCardContentBody({
10180
10302
  size,
10181
10303
  title
10182
10304
  }) {
10183
- return /* @__PURE__ */ jsxs18(Fragment8, { children: [
10184
- /* @__PURE__ */ jsx24(BlogCardImagePanel, { "data-orientation": orientation, "data-size": size, children: /* @__PURE__ */ jsx24(
10305
+ return /* @__PURE__ */ jsxs19(Fragment8, { children: [
10306
+ /* @__PURE__ */ jsx25(BlogCardImagePanel, { "data-orientation": orientation, "data-size": size, children: /* @__PURE__ */ jsx25(
10185
10307
  BlogCardImage,
10186
10308
  {
10187
10309
  alt: imageAlt,
@@ -10191,10 +10313,10 @@ function BlogCardContentBody({
10191
10313
  src: image2
10192
10314
  }
10193
10315
  ) }),
10194
- /* @__PURE__ */ jsxs18(BlogCardContent, { "data-orientation": orientation, "data-size": size, children: [
10195
- /* @__PURE__ */ jsx24(ExactText, { cmsAs: BlogCardDate, children: date }),
10196
- /* @__PURE__ */ jsx24(ExactText, { cmsAs: BlogCardTitle, children: title }),
10197
- description ? /* @__PURE__ */ jsx24(ExactText, { cmsAs: BlogCardDescription, children: description }) : null
10316
+ /* @__PURE__ */ jsxs19(BlogCardContent, { "data-orientation": orientation, "data-size": size, children: [
10317
+ /* @__PURE__ */ jsx25(ExactText, { cmsAs: BlogCardDate, children: date }),
10318
+ /* @__PURE__ */ jsx25(ExactText, { cmsAs: BlogCardTitle, children: title }),
10319
+ description ? /* @__PURE__ */ jsx25(ExactText, { cmsAs: BlogCardDescription, children: description }) : null
10198
10320
  ] })
10199
10321
  ] });
10200
10322
  }
@@ -10213,7 +10335,7 @@ function BlogCard({
10213
10335
  badgeSize = size === "sm" ? "sm" : "md",
10214
10336
  title
10215
10337
  }) {
10216
- const content = /* @__PURE__ */ jsx24(
10338
+ const content = /* @__PURE__ */ jsx25(
10217
10339
  BlogCardContentBody,
10218
10340
  {
10219
10341
  date,
@@ -10227,13 +10349,13 @@ function BlogCard({
10227
10349
  }
10228
10350
  );
10229
10351
  if (href) {
10230
- return /* @__PURE__ */ jsxs18(ExactText, { cmsAs: BlogCardLink, "aria-label": title, className, "data-orientation": orientation, "data-size": size, href, children: [
10231
- showBadge ? /* @__PURE__ */ jsx24(ExactText, { cmsAs: BlogCardBadge, "data-size": badgeSize, children: badgeLabel }) : null,
10352
+ return /* @__PURE__ */ jsxs19(ExactText, { cmsAs: BlogCardLink, "aria-label": title, className, "data-orientation": orientation, "data-size": size, href, children: [
10353
+ showBadge ? /* @__PURE__ */ jsx25(ExactText, { cmsAs: BlogCardBadge, "data-size": badgeSize, children: badgeLabel }) : null,
10232
10354
  content
10233
10355
  ] });
10234
10356
  }
10235
- return /* @__PURE__ */ jsxs18(BlogCardArticle, { className, "data-orientation": orientation, "data-size": size, children: [
10236
- showBadge ? /* @__PURE__ */ jsx24(ExactText, { cmsAs: BlogCardBadge, "data-size": badgeSize, children: badgeLabel }) : null,
10357
+ return /* @__PURE__ */ jsxs19(BlogCardArticle, { className, "data-orientation": orientation, "data-size": size, children: [
10358
+ showBadge ? /* @__PURE__ */ jsx25(ExactText, { cmsAs: BlogCardBadge, "data-size": badgeSize, children: badgeLabel }) : null,
10237
10359
  content
10238
10360
  ] });
10239
10361
  }
@@ -10273,7 +10395,7 @@ var InformationHeroIllustration = styled17.div.withConfig({
10273
10395
  ], ({ theme }) => theme.colors.informationHero.foreground, ({ theme }) => theme.colors.informationHero.placeholder);
10274
10396
 
10275
10397
  // src/commodity-original/components/InformationHeroSection/index.tsx
10276
- import { Fragment as Fragment9, jsx as jsx25, jsxs as jsxs19 } from "react/jsx-runtime";
10398
+ import { Fragment as Fragment9, jsx as jsx26, jsxs as jsxs20 } from "react/jsx-runtime";
10277
10399
  function InformationHeroSection({
10278
10400
  title,
10279
10401
  children,
@@ -10291,18 +10413,18 @@ function InformationHeroSection({
10291
10413
  "--wikex-information-hero-background": `url("${desktopBackground}")`,
10292
10414
  "--wikex-information-hero-mobile-background": `url("${mobileBackground}")`
10293
10415
  };
10294
- return /* @__PURE__ */ jsxs19(
10416
+ return /* @__PURE__ */ jsxs20(
10295
10417
  InformationHeroRoot,
10296
10418
  {
10297
10419
  className: `${className ?? ""} wikex-cms-image-host`.trim(),
10298
10420
  style,
10299
10421
  children: [
10300
- /* @__PURE__ */ jsx25(InformationHeroBackdrop, { "aria-hidden": "true" }),
10301
- /* @__PURE__ */ jsxs19(InformationHeroContent, { children: [
10302
- /* @__PURE__ */ jsx25(ExactText, { cmsAs: InformationHeroTitle, children: title }),
10303
- children ? /* @__PURE__ */ jsx25(Fragment9, { children }) : null
10422
+ /* @__PURE__ */ jsx26(InformationHeroBackdrop, { "aria-hidden": "true" }),
10423
+ /* @__PURE__ */ jsxs20(InformationHeroContent, { children: [
10424
+ /* @__PURE__ */ jsx26(ExactText, { cmsAs: InformationHeroTitle, children: title }),
10425
+ children ? /* @__PURE__ */ jsx26(Fragment9, { children }) : null
10304
10426
  ] }),
10305
- /* @__PURE__ */ jsx25(CmsImageAction, { field: "informationHeroBackgroundImage" })
10427
+ /* @__PURE__ */ jsx26(CmsImageAction, { field: "informationHeroBackgroundImage" })
10306
10428
  ]
10307
10429
  }
10308
10430
  );
@@ -10312,7 +10434,7 @@ function InformationHeroSection({
10312
10434
  import styled19 from "styled-components";
10313
10435
 
10314
10436
  // src/commodity-original/components/DateRangePicker/index.tsx
10315
- import { useEffect as useEffect8, useMemo as useMemo5, useRef as useRef5, useState as useState8 } from "react";
10437
+ import { useEffect as useEffect8, useMemo as useMemo5, useRef as useRef6, useState as useState8 } from "react";
10316
10438
  import { useTranslation as useTranslation8 } from "react-i18next";
10317
10439
  import { Dialog as Dialog4 } from "radix-ui";
10318
10440
 
@@ -10505,7 +10627,7 @@ var CalendarDialogActions = styled18.div.withConfig({
10505
10627
  ], ({ theme }) => theme.colors.background.input, ({ theme }) => theme.colors.text.content, ({ theme }) => theme.colors.action.primaryForeground, ({ theme }) => theme.colors.datePicker.selected);
10506
10628
 
10507
10629
  // src/commodity-original/components/DateRangePicker/index.tsx
10508
- import { Fragment as Fragment10, jsx as jsx26, jsxs as jsxs20 } from "react/jsx-runtime";
10630
+ import { Fragment as Fragment10, jsx as jsx27, jsxs as jsxs21 } from "react/jsx-runtime";
10509
10631
  var toDate = (value4) => {
10510
10632
  const [year, month, day] = value4.split("-").map(Number);
10511
10633
  return new Date(year, month - 1, day);
@@ -10551,7 +10673,7 @@ function DateRangePicker({
10551
10673
  }) {
10552
10674
  const { i18n, t } = useTranslation8();
10553
10675
  const { isMobile } = useResponsive();
10554
- const rootRef = useRef5(null);
10676
+ const rootRef = useRef6(null);
10555
10677
  const [open, setOpen] = useState8(false);
10556
10678
  const [activeField, setActiveField] = useState8("from");
10557
10679
  const [draft, setDraft] = useState8(value4);
@@ -10619,10 +10741,10 @@ function DateRangePicker({
10619
10741
  const changeMonth = (offset) => setMonth(
10620
10742
  (current) => new Date(current.getFullYear(), current.getMonth() + offset, 1)
10621
10743
  );
10622
- const calendar = /* @__PURE__ */ jsxs20(Fragment10, { children: [
10623
- /* @__PURE__ */ jsxs20(CalendarDialogBody, { children: [
10624
- /* @__PURE__ */ jsxs20(CalendarDialogHeader, { children: [
10625
- /* @__PURE__ */ jsx26(
10744
+ const calendar = /* @__PURE__ */ jsxs21(Fragment10, { children: [
10745
+ /* @__PURE__ */ jsxs21(CalendarDialogBody, { children: [
10746
+ /* @__PURE__ */ jsxs21(CalendarDialogHeader, { children: [
10747
+ /* @__PURE__ */ jsx27(
10626
10748
  CalendarNavigationButton,
10627
10749
  {
10628
10750
  "aria-label": t("dateRangePicker.previousMonth"),
@@ -10631,14 +10753,14 @@ function DateRangePicker({
10631
10753
  type: "button"
10632
10754
  }
10633
10755
  ),
10634
- isMobile ? /* @__PURE__ */ jsx26(Dialog4.Title, { asChild: true, children: /* @__PURE__ */ jsx26(CalendarDialogMonth, { children: new Intl.DateTimeFormat(locale, {
10756
+ isMobile ? /* @__PURE__ */ jsx27(Dialog4.Title, { asChild: true, children: /* @__PURE__ */ jsx27(CalendarDialogMonth, { children: new Intl.DateTimeFormat(locale, {
10635
10757
  month: "long",
10636
10758
  year: "numeric"
10637
- }).format(month) }) }) : /* @__PURE__ */ jsx26(CalendarDialogMonth, { children: new Intl.DateTimeFormat(locale, {
10759
+ }).format(month) }) }) : /* @__PURE__ */ jsx27(CalendarDialogMonth, { children: new Intl.DateTimeFormat(locale, {
10638
10760
  month: "long",
10639
10761
  year: "numeric"
10640
10762
  }).format(month) }),
10641
- /* @__PURE__ */ jsx26(
10763
+ /* @__PURE__ */ jsx27(
10642
10764
  CalendarNavigationButton,
10643
10765
  {
10644
10766
  "aria-label": t("dateRangePicker.nextMonth"),
@@ -10648,20 +10770,20 @@ function DateRangePicker({
10648
10770
  }
10649
10771
  )
10650
10772
  ] }),
10651
- /* @__PURE__ */ jsx26(CalendarWeekdays, { children: weekdays.map((day) => /* @__PURE__ */ jsx26("span", { children: t(`dateRangePicker.weekdays.${day}`) }, day)) }),
10652
- /* @__PURE__ */ jsx26(DaysGrid, { children: calendarDays.map((day) => {
10773
+ /* @__PURE__ */ jsx27(CalendarWeekdays, { children: weekdays.map((day) => /* @__PURE__ */ jsx27("span", { children: t(`dateRangePicker.weekdays.${day}`) }, day)) }),
10774
+ /* @__PURE__ */ jsx27(DaysGrid, { children: calendarDays.map((day) => {
10653
10775
  const start = day.iso === draft.from;
10654
10776
  const end = day.iso === draft.to;
10655
10777
  const within = Boolean(
10656
10778
  draft.from && draft.to && day.iso > draft.from && day.iso < draft.to
10657
10779
  );
10658
- return /* @__PURE__ */ jsx26(
10780
+ return /* @__PURE__ */ jsx27(
10659
10781
  DayCell,
10660
10782
  {
10661
10783
  "data-in-range": within || void 0,
10662
10784
  "data-range-end": end || void 0,
10663
10785
  "data-range-start": start || void 0,
10664
- children: /* @__PURE__ */ jsx26(
10786
+ children: /* @__PURE__ */ jsx27(
10665
10787
  DayButton,
10666
10788
  {
10667
10789
  "aria-label": format(day.iso),
@@ -10678,23 +10800,23 @@ function DateRangePicker({
10678
10800
  );
10679
10801
  }) })
10680
10802
  ] }),
10681
- /* @__PURE__ */ jsxs20(CalendarDialogSummary, { children: [
10682
- /* @__PURE__ */ jsxs20(RangeSummaryDate, { children: [
10683
- /* @__PURE__ */ jsx26(RangeSummaryLabel, { children: from }),
10684
- /* @__PURE__ */ jsx26(RangeSummaryValue, { children: format(draft.from) || "\u2014" })
10803
+ /* @__PURE__ */ jsxs21(CalendarDialogSummary, { children: [
10804
+ /* @__PURE__ */ jsxs21(RangeSummaryDate, { children: [
10805
+ /* @__PURE__ */ jsx27(RangeSummaryLabel, { children: from }),
10806
+ /* @__PURE__ */ jsx27(RangeSummaryValue, { children: format(draft.from) || "\u2014" })
10685
10807
  ] }),
10686
- /* @__PURE__ */ jsxs20(RangeSummaryPeriod, { children: [
10687
- /* @__PURE__ */ jsx26(RangeSummarySeparator, {}),
10688
- /* @__PURE__ */ jsx26("span", { children: duration === void 0 ? t("dateRangePicker.selectRange") : t("dateRangePicker.days", { count: duration }) }),
10689
- /* @__PURE__ */ jsx26(RangeSummarySeparator, {})
10808
+ /* @__PURE__ */ jsxs21(RangeSummaryPeriod, { children: [
10809
+ /* @__PURE__ */ jsx27(RangeSummarySeparator, {}),
10810
+ /* @__PURE__ */ jsx27("span", { children: duration === void 0 ? t("dateRangePicker.selectRange") : t("dateRangePicker.days", { count: duration }) }),
10811
+ /* @__PURE__ */ jsx27(RangeSummarySeparator, {})
10690
10812
  ] }),
10691
- /* @__PURE__ */ jsxs20(RangeSummaryDate, { "data-align": "end", children: [
10692
- /* @__PURE__ */ jsx26(RangeSummaryLabel, { children: to }),
10693
- /* @__PURE__ */ jsx26(RangeSummaryValue, { children: format(draft.to) || "\u2014" })
10813
+ /* @__PURE__ */ jsxs21(RangeSummaryDate, { "data-align": "end", children: [
10814
+ /* @__PURE__ */ jsx27(RangeSummaryLabel, { children: to }),
10815
+ /* @__PURE__ */ jsx27(RangeSummaryValue, { children: format(draft.to) || "\u2014" })
10694
10816
  ] })
10695
10817
  ] }),
10696
- /* @__PURE__ */ jsxs20(CalendarDialogActions, { children: [
10697
- /* @__PURE__ */ jsx26(
10818
+ /* @__PURE__ */ jsxs21(CalendarDialogActions, { children: [
10819
+ /* @__PURE__ */ jsx27(
10698
10820
  "button",
10699
10821
  {
10700
10822
  onClick: () => {
@@ -10705,7 +10827,7 @@ function DateRangePicker({
10705
10827
  children: t("dateRangePicker.cancel")
10706
10828
  }
10707
10829
  ),
10708
- /* @__PURE__ */ jsx26(
10830
+ /* @__PURE__ */ jsx27(
10709
10831
  "button",
10710
10832
  {
10711
10833
  disabled: duration === void 0,
@@ -10721,15 +10843,15 @@ function DateRangePicker({
10721
10843
  )
10722
10844
  ] })
10723
10845
  ] });
10724
- return /* @__PURE__ */ jsxs20(DateRangeRoot, { className, "data-size": size, ref: rootRef, children: [
10725
- /* @__PURE__ */ jsx26(DateFieldGroup, { children: /* @__PURE__ */ jsx26(
10846
+ return /* @__PURE__ */ jsxs21(DateRangeRoot, { className, "data-size": size, ref: rootRef, children: [
10847
+ /* @__PURE__ */ jsx27(DateFieldGroup, { children: /* @__PURE__ */ jsx27(
10726
10848
  DateField,
10727
10849
  {
10728
10850
  "aria-expanded": open,
10729
10851
  "aria-haspopup": "dialog",
10730
10852
  onClick: () => show("from"),
10731
10853
  type: "button",
10732
- children: /* @__PURE__ */ jsx26(
10854
+ children: /* @__PURE__ */ jsx27(
10733
10855
  DateFieldValue,
10734
10856
  {
10735
10857
  "data-placeholder": !value4.from || void 0,
@@ -10739,15 +10861,15 @@ function DateRangePicker({
10739
10861
  )
10740
10862
  }
10741
10863
  ) }),
10742
- /* @__PURE__ */ jsx26(RangeArrow, { "aria-hidden": "true", children: /* @__PURE__ */ jsx26(RangeArrowIcon, {}) }),
10743
- /* @__PURE__ */ jsx26(DateFieldGroup, { children: /* @__PURE__ */ jsx26(
10864
+ /* @__PURE__ */ jsx27(RangeArrow, { "aria-hidden": "true", children: /* @__PURE__ */ jsx27(RangeArrowIcon, {}) }),
10865
+ /* @__PURE__ */ jsx27(DateFieldGroup, { children: /* @__PURE__ */ jsx27(
10744
10866
  DateField,
10745
10867
  {
10746
10868
  "aria-expanded": open,
10747
10869
  "aria-haspopup": "dialog",
10748
10870
  onClick: () => show("to"),
10749
10871
  type: "button",
10750
- children: /* @__PURE__ */ jsx26(
10872
+ children: /* @__PURE__ */ jsx27(
10751
10873
  DateFieldValue,
10752
10874
  {
10753
10875
  "data-placeholder": !value4.to || void 0,
@@ -10757,7 +10879,7 @@ function DateRangePicker({
10757
10879
  )
10758
10880
  }
10759
10881
  ) }),
10760
- /* @__PURE__ */ jsx26(
10882
+ /* @__PURE__ */ jsx27(
10761
10883
  CalendarIcon,
10762
10884
  {
10763
10885
  "aria-label": t("dateRangePicker.dialogLabel"),
@@ -10765,7 +10887,7 @@ function DateRangePicker({
10765
10887
  type: "button"
10766
10888
  }
10767
10889
  ),
10768
- open && isMobile ? /* @__PURE__ */ jsx26(
10890
+ open && isMobile ? /* @__PURE__ */ jsx27(
10769
10891
  Dialog4.Root,
10770
10892
  {
10771
10893
  onOpenChange: (nextOpen) => {
@@ -10773,12 +10895,12 @@ function DateRangePicker({
10773
10895
  setOpen(nextOpen);
10774
10896
  },
10775
10897
  open,
10776
- children: /* @__PURE__ */ jsxs20(Dialog4.Portal, { children: [
10777
- /* @__PURE__ */ jsx26(CalendarDrawerOverlay, {}),
10778
- /* @__PURE__ */ jsx26(CalendarDrawerContent, { "aria-describedby": void 0, children: calendar })
10898
+ children: /* @__PURE__ */ jsxs21(Dialog4.Portal, { children: [
10899
+ /* @__PURE__ */ jsx27(CalendarDrawerOverlay, {}),
10900
+ /* @__PURE__ */ jsx27(CalendarDrawerContent, { "aria-describedby": void 0, children: calendar })
10779
10901
  ] })
10780
10902
  }
10781
- ) : open ? /* @__PURE__ */ jsx26(
10903
+ ) : open ? /* @__PURE__ */ jsx27(
10782
10904
  CalendarDialog,
10783
10905
  {
10784
10906
  "aria-label": t("dateRangePicker.dialogLabel"),
@@ -10877,7 +10999,7 @@ var NotiSidebarList = styled19.div.withConfig({
10877
10999
  ]);
10878
11000
 
10879
11001
  // src/commodity-original/app/noti-mxv/NotiMxvContent.tsx
10880
- import { jsx as jsx27, jsxs as jsxs21 } from "react/jsx-runtime";
11002
+ import { jsx as jsx28, jsxs as jsxs22 } from "react/jsx-runtime";
10881
11003
  var notifications = [
10882
11004
  {
10883
11005
  date: "27/08/2026",
@@ -10943,20 +11065,20 @@ function NotiMxvContent() {
10943
11065
  setDateRange({ from: "", to: "" });
10944
11066
  setPage(1);
10945
11067
  };
10946
- return /* @__PURE__ */ jsxs21(NotiMxvMain, { children: [
10947
- /* @__PURE__ */ jsx27(InformationHeroSection, { title: t("notiMxv.title") }),
10948
- /* @__PURE__ */ jsx27(FilterSection, { "aria-label": t("notiMxv.filterLabel"), children: /* @__PURE__ */ jsxs21(FilterContent, { children: [
10949
- /* @__PURE__ */ jsx27(FilterSearch, { children: /* @__PURE__ */ jsx27(
11068
+ return /* @__PURE__ */ jsxs22(NotiMxvMain, { children: [
11069
+ /* @__PURE__ */ jsx28(InformationHeroSection, { title: t("notiMxv.title") }),
11070
+ /* @__PURE__ */ jsx28(FilterSection, { "aria-label": t("notiMxv.filterLabel"), children: /* @__PURE__ */ jsxs22(FilterContent, { children: [
11071
+ /* @__PURE__ */ jsx28(FilterSearch, { children: /* @__PURE__ */ jsx28(
10950
11072
  InputCommon,
10951
11073
  {
10952
- leftIcon: /* @__PURE__ */ jsx27(SearchIcon, {}),
11074
+ leftIcon: /* @__PURE__ */ jsx28(SearchIcon, {}),
10953
11075
  placeholder: t("notiMxv.searchPlaceholder"),
10954
11076
  value: search,
10955
11077
  onChange: (event) => setSearch(event.target.value),
10956
11078
  size: isMobile ? "sm" : "md"
10957
11079
  }
10958
11080
  ) }),
10959
- /* @__PURE__ */ jsx27(
11081
+ /* @__PURE__ */ jsx28(
10960
11082
  FilterDateRangePicker,
10961
11083
  {
10962
11084
  fromLabel: t("notiMxv.fromDate"),
@@ -10966,11 +11088,11 @@ function NotiMxvContent() {
10966
11088
  onChange: setDateRange
10967
11089
  }
10968
11090
  ),
10969
- /* @__PURE__ */ jsx27(ExactText, { cmsAs: FilterResetButton, type: "button", onClick: resetFilters, children: t("notiMxv.reset") })
11091
+ /* @__PURE__ */ jsx28(ExactText, { cmsAs: FilterResetButton, type: "button", onClick: resetFilters, children: t("notiMxv.reset") })
10970
11092
  ] }) }),
10971
- /* @__PURE__ */ jsx27(NotiContent, { children: /* @__PURE__ */ jsxs21(NotiLayout, { children: [
10972
- /* @__PURE__ */ jsxs21(NotiMainColumn, { children: [
10973
- /* @__PURE__ */ jsx27(NotiList, { "aria-label": t("notiMxv.listLabel"), children: visibleNotifications.map((notification, index) => /* @__PURE__ */ jsx27(
11093
+ /* @__PURE__ */ jsx28(NotiContent, { children: /* @__PURE__ */ jsxs22(NotiLayout, { children: [
11094
+ /* @__PURE__ */ jsxs22(NotiMainColumn, { children: [
11095
+ /* @__PURE__ */ jsx28(NotiList, { "aria-label": t("notiMxv.listLabel"), children: visibleNotifications.map((notification, index) => /* @__PURE__ */ jsx28(
10974
11096
  BlogCard,
10975
11097
  {
10976
11098
  date: notification.date,
@@ -10983,7 +11105,7 @@ function NotiMxvContent() {
10983
11105
  },
10984
11106
  notification.id
10985
11107
  )) }),
10986
- /* @__PURE__ */ jsx27(NotiPagination, { children: /* @__PURE__ */ jsx27(
11108
+ /* @__PURE__ */ jsx28(NotiPagination, { children: /* @__PURE__ */ jsx28(
10987
11109
  Pagination2,
10988
11110
  {
10989
11111
  onPageChange: setPage,
@@ -10992,9 +11114,9 @@ function NotiMxvContent() {
10992
11114
  }
10993
11115
  ) })
10994
11116
  ] }),
10995
- /* @__PURE__ */ jsxs21(NotiSidebar, { children: [
10996
- /* @__PURE__ */ jsx27(ExactText, { cmsAs: NotiSidebarHeading, children: t("notiMxv.latestTitle") }),
10997
- /* @__PURE__ */ jsx27(NotiSidebarList, { "aria-label": t("notiMxv.relatedLabel"), children: notifications.slice(0, 3).map((notification) => /* @__PURE__ */ jsx27(
11117
+ /* @__PURE__ */ jsxs22(NotiSidebar, { children: [
11118
+ /* @__PURE__ */ jsx28(ExactText, { cmsAs: NotiSidebarHeading, children: t("notiMxv.latestTitle") }),
11119
+ /* @__PURE__ */ jsx28(NotiSidebarList, { "aria-label": t("notiMxv.relatedLabel"), children: notifications.slice(0, 3).map((notification) => /* @__PURE__ */ jsx28(
10998
11120
  BlogCard,
10999
11121
  {
11000
11122
  date: notification.date,
@@ -11069,17 +11191,17 @@ var BreadcrumbSeparator = styled20.span.withConfig({
11069
11191
  ], ({ theme }) => theme.colors.text.placeholder, chevron_right_default, chevron_right_default);
11070
11192
 
11071
11193
  // src/commodity-original/components/Breadcrumb/index.tsx
11072
- import { jsx as jsx28, jsxs as jsxs22 } from "react/jsx-runtime";
11194
+ import { jsx as jsx29, jsxs as jsxs23 } from "react/jsx-runtime";
11073
11195
  function Breadcrumb({
11074
11196
  items,
11075
11197
  ariaLabel = "Breadcrumb",
11076
11198
  className
11077
11199
  }) {
11078
- return /* @__PURE__ */ jsx28(BreadcrumbNav, { "aria-label": ariaLabel, className, children: /* @__PURE__ */ jsx28(BreadcrumbList, { children: items.map((item, index) => {
11200
+ return /* @__PURE__ */ jsx29(BreadcrumbNav, { "aria-label": ariaLabel, className, children: /* @__PURE__ */ jsx29(BreadcrumbList, { children: items.map((item, index) => {
11079
11201
  const isCurrent = index === items.length - 1;
11080
- return /* @__PURE__ */ jsxs22(BreadcrumbItem, { children: [
11081
- isCurrent ? /* @__PURE__ */ jsx28(BreadcrumbCurrent, { "aria-current": "page", children: item.label }) : item.href ? /* @__PURE__ */ jsx28(BreadcrumbLink, { as: Link5, href: item.href, children: item.label }) : /* @__PURE__ */ jsx28(BreadcrumbCurrent, { children: item.label }),
11082
- !isCurrent && /* @__PURE__ */ jsx28(BreadcrumbSeparator, { "aria-hidden": "true" })
11202
+ return /* @__PURE__ */ jsxs23(BreadcrumbItem, { children: [
11203
+ isCurrent ? /* @__PURE__ */ jsx29(BreadcrumbCurrent, { "aria-current": "page", children: item.label }) : item.href ? /* @__PURE__ */ jsx29(BreadcrumbLink, { as: Link5, href: item.href, children: item.label }) : /* @__PURE__ */ jsx29(BreadcrumbCurrent, { children: item.label }),
11204
+ !isCurrent && /* @__PURE__ */ jsx29(BreadcrumbSeparator, { "aria-hidden": "true" })
11083
11205
  ] }, `${item.label}-${index}`);
11084
11206
  }) }) });
11085
11207
  }
@@ -11263,7 +11385,7 @@ var ProductCardDescription = styled21.p.withConfig({
11263
11385
  ], ({ theme }) => theme.colors.text.content);
11264
11386
 
11265
11387
  // src/commodity-original/components/ProductCard/index.tsx
11266
- import { Fragment as Fragment11, jsx as jsx29, jsxs as jsxs23 } from "react/jsx-runtime";
11388
+ import { Fragment as Fragment11, jsx as jsx30, jsxs as jsxs24 } from "react/jsx-runtime";
11267
11389
  function ProductCardContent({
11268
11390
  description,
11269
11391
  image: image2,
@@ -11271,8 +11393,8 @@ function ProductCardContent({
11271
11393
  imageFit = "cover",
11272
11394
  title
11273
11395
  }) {
11274
- return /* @__PURE__ */ jsxs23(Fragment11, { children: [
11275
- /* @__PURE__ */ jsx29(ProductCardImagePanel, { children: /* @__PURE__ */ jsx29(
11396
+ return /* @__PURE__ */ jsxs24(Fragment11, { children: [
11397
+ /* @__PURE__ */ jsx30(ProductCardImagePanel, { children: /* @__PURE__ */ jsx30(
11276
11398
  ProductCardImage,
11277
11399
  {
11278
11400
  alt: imageAlt,
@@ -11282,12 +11404,12 @@ function ProductCardContent({
11282
11404
  style: imageFit === "contain" ? { objectFit: "contain", padding: 24 } : void 0
11283
11405
  }
11284
11406
  ) }),
11285
- /* @__PURE__ */ jsxs23(ProductCardCopy, { children: [
11286
- /* @__PURE__ */ jsxs23(ProductCardTitleRow, { children: [
11287
- /* @__PURE__ */ jsx29(ProductCardTitle, { children: title }),
11288
- /* @__PURE__ */ jsx29(ProductCardArrow, { "aria-hidden": "true" })
11407
+ /* @__PURE__ */ jsxs24(ProductCardCopy, { children: [
11408
+ /* @__PURE__ */ jsxs24(ProductCardTitleRow, { children: [
11409
+ /* @__PURE__ */ jsx30(ProductCardTitle, { children: title }),
11410
+ /* @__PURE__ */ jsx30(ProductCardArrow, { "aria-hidden": "true" })
11289
11411
  ] }),
11290
- /* @__PURE__ */ jsx29(ProductCardDescription, { children: description })
11412
+ /* @__PURE__ */ jsx30(ProductCardDescription, { children: description })
11291
11413
  ] })
11292
11414
  ] });
11293
11415
  }
@@ -11300,7 +11422,7 @@ function ProductCard({
11300
11422
  imageFit,
11301
11423
  title
11302
11424
  }) {
11303
- const content = /* @__PURE__ */ jsx29(
11425
+ const content = /* @__PURE__ */ jsx30(
11304
11426
  ProductCardContent,
11305
11427
  {
11306
11428
  description,
@@ -11311,9 +11433,9 @@ function ProductCard({
11311
11433
  }
11312
11434
  );
11313
11435
  if (href) {
11314
- return /* @__PURE__ */ jsx29(ProductCardLink, { "aria-label": title, className, href, children: content });
11436
+ return /* @__PURE__ */ jsx30(ProductCardLink, { "aria-label": title, className, href, children: content });
11315
11437
  }
11316
- return /* @__PURE__ */ jsx29(ProductCardArticle, { className, children: content });
11438
+ return /* @__PURE__ */ jsx30(ProductCardArticle, { className, children: content });
11317
11439
  }
11318
11440
 
11319
11441
  // src/commodity-original/app/products/ProductsContent.tsx
@@ -11354,7 +11476,7 @@ var ProductsPagination = styled22.div.withConfig({
11354
11476
  ]);
11355
11477
 
11356
11478
  // src/commodity-original/app/products/ProductsContent.tsx
11357
- import { jsx as jsx30, jsxs as jsxs24 } from "react/jsx-runtime";
11479
+ import { jsx as jsx31, jsxs as jsxs25 } from "react/jsx-runtime";
11358
11480
  var products2 = [
11359
11481
  ...commodityGroups[0].items.map((item, itemIndex) => ({
11360
11482
  descriptionKey: `landing.commodities.groups.0.items.${itemIndex}.body`,
@@ -11449,8 +11571,8 @@ function ProductsContent() {
11449
11571
  (page - 1) * productsPerPage,
11450
11572
  page * productsPerPage
11451
11573
  );
11452
- return /* @__PURE__ */ jsxs24(ProductsMain, { children: [
11453
- /* @__PURE__ */ jsx30(BreadcrumbSlot, { children: /* @__PURE__ */ jsx30(
11574
+ return /* @__PURE__ */ jsxs25(ProductsMain, { children: [
11575
+ /* @__PURE__ */ jsx31(BreadcrumbSlot, { children: /* @__PURE__ */ jsx31(
11454
11576
  Breadcrumb,
11455
11577
  {
11456
11578
  items: [
@@ -11459,13 +11581,13 @@ function ProductsContent() {
11459
11581
  ]
11460
11582
  }
11461
11583
  ) }),
11462
- /* @__PURE__ */ jsxs24(ProductsSection, { children: [
11463
- /* @__PURE__ */ jsx30(ExactText, { cmsAs: ProductsHeading, children: title }),
11464
- /* @__PURE__ */ jsx30(ProductGrid, { "aria-label": title, children: visibleProducts.map((product) => {
11584
+ /* @__PURE__ */ jsxs25(ProductsSection, { children: [
11585
+ /* @__PURE__ */ jsx31(ExactText, { cmsAs: ProductsHeading, children: title }),
11586
+ /* @__PURE__ */ jsx31(ProductGrid, { "aria-label": title, children: visibleProducts.map((product) => {
11465
11587
  const productTitle = t(product.nameKey, {
11466
11588
  defaultValue: product.fallbackName
11467
11589
  });
11468
- return /* @__PURE__ */ jsx30(
11590
+ return /* @__PURE__ */ jsx31(
11469
11591
  ProductCard,
11470
11592
  {
11471
11593
  description: t(product.descriptionKey, {
@@ -11479,7 +11601,7 @@ function ProductsContent() {
11479
11601
  product.id
11480
11602
  );
11481
11603
  }) }),
11482
- /* @__PURE__ */ jsx30(ProductsPagination, { children: /* @__PURE__ */ jsx30(
11604
+ /* @__PURE__ */ jsx31(ProductsPagination, { children: /* @__PURE__ */ jsx31(
11483
11605
  Pagination2,
11484
11606
  {
11485
11607
  onPageChange: setPage,
@@ -11739,7 +11861,7 @@ var RelatedProductArrow = styled23.span.withConfig({
11739
11861
  ], RelatedProductAction);
11740
11862
 
11741
11863
  // src/commodity-original/app/products/[slug]/ProductDetailContent.tsx
11742
- import { jsx as jsx31, jsxs as jsxs25 } from "react/jsx-runtime";
11864
+ import { jsx as jsx32, jsxs as jsxs26 } from "react/jsx-runtime";
11743
11865
  var contractSpecifications = [
11744
11866
  { label: "M\xE3 h\xE0ng h\xF3a", value: ["ABCNHS"] },
11745
11867
  { label: "\u0110\u1ED9 l\u1EDBn h\u1EE3p \u0111\u1ED3ng", value: ["5000 gi\xE1/LOT"] },
@@ -11823,8 +11945,8 @@ function ProductDetailContent({
11823
11945
  const { t } = useTranslation11();
11824
11946
  const resolveImage = useCmsImageResolver();
11825
11947
  const title = t(product.nameKey, { defaultValue: product.fallbackName });
11826
- return /* @__PURE__ */ jsxs25(DetailMain, { children: [
11827
- /* @__PURE__ */ jsx31(
11948
+ return /* @__PURE__ */ jsxs26(DetailMain, { children: [
11949
+ /* @__PURE__ */ jsx32(
11828
11950
  Breadcrumb,
11829
11951
  {
11830
11952
  items: [
@@ -11834,47 +11956,47 @@ function ProductDetailContent({
11834
11956
  ]
11835
11957
  }
11836
11958
  ),
11837
- /* @__PURE__ */ jsx31(PageHeader, { children: /* @__PURE__ */ jsx31(ExactText, { cmsAs: PageTitle3, children: "H\u1EE3p \u0111\u1ED3ng Ng\xF4" }) }),
11838
- /* @__PURE__ */ jsxs25(ContractLayout, { children: [
11839
- /* @__PURE__ */ jsxs25(ContractMain, { children: [
11840
- /* @__PURE__ */ jsxs25(IntroductionSection, { "aria-labelledby": "introduction-heading", children: [
11841
- /* @__PURE__ */ jsx31(ExactText, { cmsAs: ContractSectionTitle, id: "introduction-heading", children: t("products.contractIntro.title") }),
11842
- /* @__PURE__ */ jsx31(ExactText, { cmsAs: IntroductionDescription, children: t("products.contractIntro.description") })
11959
+ /* @__PURE__ */ jsx32(PageHeader, { children: /* @__PURE__ */ jsx32(ExactText, { cmsAs: PageTitle3, children: "H\u1EE3p \u0111\u1ED3ng Ng\xF4" }) }),
11960
+ /* @__PURE__ */ jsxs26(ContractLayout, { children: [
11961
+ /* @__PURE__ */ jsxs26(ContractMain, { children: [
11962
+ /* @__PURE__ */ jsxs26(IntroductionSection, { "aria-labelledby": "introduction-heading", children: [
11963
+ /* @__PURE__ */ jsx32(ExactText, { cmsAs: ContractSectionTitle, id: "introduction-heading", children: t("products.contractIntro.title") }),
11964
+ /* @__PURE__ */ jsx32(ExactText, { cmsAs: IntroductionDescription, children: t("products.contractIntro.description") })
11843
11965
  ] }),
11844
- /* @__PURE__ */ jsxs25(ContractSpecificationSection, { "aria-labelledby": "specification-heading", children: [
11845
- /* @__PURE__ */ jsx31(ExactText, { cmsAs: ContractSectionTitle, id: "specification-heading", children: "\u0110\u1EB7c t\u1EA3 h\u1EE3p \u0111\u1ED3ng" }),
11846
- /* @__PURE__ */ jsx31(ContractSpecificationList, { children: contractSpecifications.map((specification) => /* @__PURE__ */ jsxs25(ContractSpecificationRow, { children: [
11847
- /* @__PURE__ */ jsx31("dt", { children: specification.label }),
11848
- /* @__PURE__ */ jsx31("dd", { children: specification.value.map((value4) => /* @__PURE__ */ jsx31(ExactText, { cmsAs: "p", children: value4 }, value4)) })
11966
+ /* @__PURE__ */ jsxs26(ContractSpecificationSection, { "aria-labelledby": "specification-heading", children: [
11967
+ /* @__PURE__ */ jsx32(ExactText, { cmsAs: ContractSectionTitle, id: "specification-heading", children: "\u0110\u1EB7c t\u1EA3 h\u1EE3p \u0111\u1ED3ng" }),
11968
+ /* @__PURE__ */ jsx32(ContractSpecificationList, { children: contractSpecifications.map((specification) => /* @__PURE__ */ jsxs26(ContractSpecificationRow, { children: [
11969
+ /* @__PURE__ */ jsx32("dt", { children: specification.label }),
11970
+ /* @__PURE__ */ jsx32("dd", { children: specification.value.map((value4) => /* @__PURE__ */ jsx32(ExactText, { cmsAs: "p", children: value4 }, value4)) })
11849
11971
  ] }, specification.label)) })
11850
11972
  ] }),
11851
- /* @__PURE__ */ jsxs25(QualityStandardSection, { "aria-labelledby": "quality-standard-heading", children: [
11852
- /* @__PURE__ */ jsxs25(QualityStandardIntro, { children: [
11853
- /* @__PURE__ */ jsx31(ExactText, { cmsAs: ContractSectionTitle, id: "quality-standard-heading", children: "Ti\xEAu chu\u1EA9n ch\u1EA5t l\u01B0\u1EE3ng" }),
11854
- /* @__PURE__ */ jsxs25(QualityStandardDescription, { children: [
11855
- /* @__PURE__ */ jsx31(ExactText, { cmsAs: "p", children: "Theo quy \u0111\u1ECBnh c\u1EE7a s\u1EA3n ph\u1EA9m Ng\xF4 CBOT giao d\u1ECBch tr\xEAn S\u1EDF Giao d\u1ECBch H\xE0ng h\xF3a CBOT." }),
11856
- /* @__PURE__ */ jsx31(ExactText, { cmsAs: "p", children: "Ng\xF4 \u0111\u01B0\u1EE3c ch\u1EA5p nh\u1EADn giao d\u1ECBch l\xE0 ng\xF4 lo\u1EA1i 1, ng\xF4 lo\u1EA1i 2, ng\xF4 lo\u1EA1i 3 \u0111\xE1p \u1EE9ng nh\u1EEFng ti\xEAu chu\u1EA9n \u0111\u01B0\u1EE3c m\xF4 t\u1EA3 \u1EDF b\u1EA3ng d\u01B0\u1EDBi:" })
11973
+ /* @__PURE__ */ jsxs26(QualityStandardSection, { "aria-labelledby": "quality-standard-heading", children: [
11974
+ /* @__PURE__ */ jsxs26(QualityStandardIntro, { children: [
11975
+ /* @__PURE__ */ jsx32(ExactText, { cmsAs: ContractSectionTitle, id: "quality-standard-heading", children: "Ti\xEAu chu\u1EA9n ch\u1EA5t l\u01B0\u1EE3ng" }),
11976
+ /* @__PURE__ */ jsxs26(QualityStandardDescription, { children: [
11977
+ /* @__PURE__ */ jsx32(ExactText, { cmsAs: "p", children: "Theo quy \u0111\u1ECBnh c\u1EE7a s\u1EA3n ph\u1EA9m Ng\xF4 CBOT giao d\u1ECBch tr\xEAn S\u1EDF Giao d\u1ECBch H\xE0ng h\xF3a CBOT." }),
11978
+ /* @__PURE__ */ jsx32(ExactText, { cmsAs: "p", children: "Ng\xF4 \u0111\u01B0\u1EE3c ch\u1EA5p nh\u1EADn giao d\u1ECBch l\xE0 ng\xF4 lo\u1EA1i 1, ng\xF4 lo\u1EA1i 2, ng\xF4 lo\u1EA1i 3 \u0111\xE1p \u1EE9ng nh\u1EEFng ti\xEAu chu\u1EA9n \u0111\u01B0\u1EE3c m\xF4 t\u1EA3 \u1EDF b\u1EA3ng d\u01B0\u1EDBi:" })
11857
11979
  ] })
11858
11980
  ] }),
11859
- /* @__PURE__ */ jsxs25(QualityStandardList, { children: [
11860
- /* @__PURE__ */ jsxs25(QualityStandardHeader, { children: [
11861
- /* @__PURE__ */ jsx31("span", { "aria-hidden": "true" }),
11862
- /* @__PURE__ */ jsx31(ExactText, { cmsAs: "span", children: "Lo\u1EA1i 1" }),
11863
- /* @__PURE__ */ jsx31(ExactText, { cmsAs: "span", children: "Lo\u1EA1i 2" }),
11864
- /* @__PURE__ */ jsx31(ExactText, { cmsAs: "span", children: "Lo\u1EA1i 3" })
11981
+ /* @__PURE__ */ jsxs26(QualityStandardList, { children: [
11982
+ /* @__PURE__ */ jsxs26(QualityStandardHeader, { children: [
11983
+ /* @__PURE__ */ jsx32("span", { "aria-hidden": "true" }),
11984
+ /* @__PURE__ */ jsx32(ExactText, { cmsAs: "span", children: "Lo\u1EA1i 1" }),
11985
+ /* @__PURE__ */ jsx32(ExactText, { cmsAs: "span", children: "Lo\u1EA1i 2" }),
11986
+ /* @__PURE__ */ jsx32(ExactText, { cmsAs: "span", children: "Lo\u1EA1i 3" })
11865
11987
  ] }),
11866
- qualityStandards.map((standard) => /* @__PURE__ */ jsxs25(QualityStandardRow, { children: [
11867
- /* @__PURE__ */ jsx31(ExactText, { cmsAs: "span", children: standard.label }),
11868
- standard.values.map((value4) => /* @__PURE__ */ jsx31(ExactText, { cmsAs: "span", children: value4 }, value4))
11988
+ qualityStandards.map((standard) => /* @__PURE__ */ jsxs26(QualityStandardRow, { children: [
11989
+ /* @__PURE__ */ jsx32(ExactText, { cmsAs: "span", children: standard.label }),
11990
+ standard.values.map((value4) => /* @__PURE__ */ jsx32(ExactText, { cmsAs: "span", children: value4 }, value4))
11869
11991
  ] }, standard.label))
11870
11992
  ] })
11871
11993
  ] })
11872
11994
  ] }),
11873
- /* @__PURE__ */ jsx31(ContractSidebar, { children: /* @__PURE__ */ jsxs25(RelatedProductsSection, { "aria-labelledby": "related-products-heading", children: [
11874
- /* @__PURE__ */ jsx31(ExactText, { cmsAs: RelatedProductsHeading, id: "related-products-heading", children: "H\xE0ng h\xF3a c\xF9ng lo\u1EA1i" }),
11875
- /* @__PURE__ */ jsx31(RelatedProductsList, { children: relatedProducts.map((relatedProduct, index) => /* @__PURE__ */ jsxs25(RelatedProductCard, { children: [
11876
- /* @__PURE__ */ jsxs25(RelatedProductImageFrame, { className: "wikex-cms-image-host", children: [
11877
- /* @__PURE__ */ jsx31(
11995
+ /* @__PURE__ */ jsx32(ContractSidebar, { children: /* @__PURE__ */ jsxs26(RelatedProductsSection, { "aria-labelledby": "related-products-heading", children: [
11996
+ /* @__PURE__ */ jsx32(ExactText, { cmsAs: RelatedProductsHeading, id: "related-products-heading", children: "H\xE0ng h\xF3a c\xF9ng lo\u1EA1i" }),
11997
+ /* @__PURE__ */ jsx32(RelatedProductsList, { children: relatedProducts.map((relatedProduct, index) => /* @__PURE__ */ jsxs26(RelatedProductCard, { children: [
11998
+ /* @__PURE__ */ jsxs26(RelatedProductImageFrame, { className: "wikex-cms-image-host", children: [
11999
+ /* @__PURE__ */ jsx32(
11878
12000
  RelatedProductImage,
11879
12001
  {
11880
12002
  alt: "",
@@ -11887,14 +12009,14 @@ function ProductDetailContent({
11887
12009
  $top: relatedProduct.imageTop
11888
12010
  }
11889
12011
  ),
11890
- /* @__PURE__ */ jsx31(CmsImageAction, { field: `productDetailRelatedImage${index + 1}` })
12012
+ /* @__PURE__ */ jsx32(CmsImageAction, { field: `productDetailRelatedImage${index + 1}` })
11891
12013
  ] }),
11892
- /* @__PURE__ */ jsxs25(RelatedProductContent, { children: [
11893
- /* @__PURE__ */ jsx31(ExactText, { cmsAs: RelatedProductTitle, children: "L\xFAa m\u1EF3" }),
11894
- /* @__PURE__ */ jsx31(ExactText, { cmsAs: RelatedProductDescription, children: relatedProductDescription }),
11895
- /* @__PURE__ */ jsxs25(RelatedProductAction, { as: Link7, href: "/products/", children: [
12014
+ /* @__PURE__ */ jsxs26(RelatedProductContent, { children: [
12015
+ /* @__PURE__ */ jsx32(ExactText, { cmsAs: RelatedProductTitle, children: "L\xFAa m\u1EF3" }),
12016
+ /* @__PURE__ */ jsx32(ExactText, { cmsAs: RelatedProductDescription, children: relatedProductDescription }),
12017
+ /* @__PURE__ */ jsxs26(RelatedProductAction, { as: Link7, href: "/products/", children: [
11896
12018
  "Xem th\xEAm",
11897
- /* @__PURE__ */ jsx31(RelatedProductArrow, { "aria-hidden": "true" })
12019
+ /* @__PURE__ */ jsx32(RelatedProductArrow, { "aria-hidden": "true" })
11898
12020
  ] })
11899
12021
  ] })
11900
12022
  ] }, relatedProduct.image)) })
@@ -12151,7 +12273,7 @@ var FeaturedArrow = styled24.span.withConfig({
12151
12273
  ]);
12152
12274
 
12153
12275
  // src/commodity-original/app/thong-tin-wikex/FeaturedArticles.tsx
12154
- import { jsx as jsx32, jsxs as jsxs26 } from "react/jsx-runtime";
12276
+ import { jsx as jsx33, jsxs as jsxs27 } from "react/jsx-runtime";
12155
12277
  function FeaturedArticles() {
12156
12278
  const { t } = useTranslation12();
12157
12279
  const { isMobile } = useResponsive();
@@ -12162,10 +12284,10 @@ function FeaturedArticles() {
12162
12284
  (current) => (current + step + featuredArticles.length) % featuredArticles.length
12163
12285
  );
12164
12286
  };
12165
- return /* @__PURE__ */ jsx32(FeaturedSection, { "aria-labelledby": "wikex-featured-title", children: /* @__PURE__ */ jsxs26(FeaturedInner, { children: [
12166
- /* @__PURE__ */ jsx32(ExactText, { cmsAs: FeaturedTitle, id: "wikex-featured-title", children: t("wikexInformation.featured.title") }),
12167
- /* @__PURE__ */ jsxs26(FeaturedCarousel, { children: [
12168
- /* @__PURE__ */ jsx32(
12287
+ return /* @__PURE__ */ jsx33(FeaturedSection, { "aria-labelledby": "wikex-featured-title", children: /* @__PURE__ */ jsxs27(FeaturedInner, { children: [
12288
+ /* @__PURE__ */ jsx33(ExactText, { cmsAs: FeaturedTitle, id: "wikex-featured-title", children: t("wikexInformation.featured.title") }),
12289
+ /* @__PURE__ */ jsxs27(FeaturedCarousel, { children: [
12290
+ /* @__PURE__ */ jsx33(
12169
12291
  FeaturedViewport,
12170
12292
  {
12171
12293
  id: "wikex-featured-carousel",
@@ -12176,17 +12298,17 @@ function FeaturedArticles() {
12176
12298
  if (event.key === "ArrowLeft") moveSlide(-1);
12177
12299
  if (event.key === "ArrowRight") moveSlide(1);
12178
12300
  },
12179
- children: /* @__PURE__ */ jsx32(
12301
+ children: /* @__PURE__ */ jsx33(
12180
12302
  FeaturedTrack,
12181
12303
  {
12182
12304
  style: {
12183
12305
  transform: `translate3d(calc(-${activeSlide * 100}% - ${activeSlide * 32}px), 0, 0)`
12184
12306
  },
12185
- children: featuredArticles.map((article, index) => /* @__PURE__ */ jsx32(
12307
+ children: featuredArticles.map((article, index) => /* @__PURE__ */ jsx33(
12186
12308
  FeaturedSlide,
12187
12309
  {
12188
12310
  "aria-hidden": index !== activeSlide,
12189
- children: /* @__PURE__ */ jsx32(
12311
+ children: /* @__PURE__ */ jsx33(
12190
12312
  FeaturedCard,
12191
12313
  {
12192
12314
  badgeLabel: t(`wikexInformation.categories.${article.category}`),
@@ -12208,18 +12330,18 @@ function FeaturedArticles() {
12208
12330
  )
12209
12331
  }
12210
12332
  ),
12211
- /* @__PURE__ */ jsxs26(FeaturedControls, { "aria-label": t("wikexInformation.featured.navigation"), children: [
12212
- /* @__PURE__ */ jsx32(
12333
+ /* @__PURE__ */ jsxs27(FeaturedControls, { "aria-label": t("wikexInformation.featured.navigation"), children: [
12334
+ /* @__PURE__ */ jsx33(
12213
12335
  FeaturedArrowButton,
12214
12336
  {
12215
12337
  "aria-controls": "wikex-featured-carousel",
12216
12338
  "aria-label": t("common.previous"),
12217
12339
  onClick: () => moveSlide(-1),
12218
12340
  type: "button",
12219
- children: /* @__PURE__ */ jsx32(FeaturedArrow, { "aria-hidden": "true", "data-direction": "previous" })
12341
+ children: /* @__PURE__ */ jsx33(FeaturedArrow, { "aria-hidden": "true", "data-direction": "previous" })
12220
12342
  }
12221
12343
  ),
12222
- /* @__PURE__ */ jsx32(FeaturedDots, { children: featuredArticles.map((article, index) => /* @__PURE__ */ jsx32(
12344
+ /* @__PURE__ */ jsx33(FeaturedDots, { children: featuredArticles.map((article, index) => /* @__PURE__ */ jsx33(
12223
12345
  FeaturedDot,
12224
12346
  {
12225
12347
  "aria-controls": "wikex-featured-carousel",
@@ -12230,14 +12352,14 @@ function FeaturedArticles() {
12230
12352
  },
12231
12353
  article.id
12232
12354
  )) }),
12233
- /* @__PURE__ */ jsx32(
12355
+ /* @__PURE__ */ jsx33(
12234
12356
  FeaturedArrowButton,
12235
12357
  {
12236
12358
  "aria-controls": "wikex-featured-carousel",
12237
12359
  "aria-label": t("common.next"),
12238
12360
  onClick: () => moveSlide(1),
12239
12361
  type: "button",
12240
- children: /* @__PURE__ */ jsx32(FeaturedArrow, { "aria-hidden": "true" })
12362
+ children: /* @__PURE__ */ jsx33(FeaturedArrow, { "aria-hidden": "true" })
12241
12363
  }
12242
12364
  )
12243
12365
  ] })
@@ -12462,12 +12584,12 @@ function WikexInformationArticlesSection() {
12462
12584
  }
12463
12585
 
12464
12586
  // src/shared/download-button-link.tsx
12465
- import { jsx as jsx33 } from "react/jsx-runtime";
12587
+ import { jsx as jsx34 } from "react/jsx-runtime";
12466
12588
  function CmsDownloadButtonLink({ field, children, ...props }) {
12467
12589
  const content = useCmsElementContent();
12468
12590
  const editing = useCmsElementEditing();
12469
12591
  const link2 = getCmsButtonLink(content ?? {}, field);
12470
- return /* @__PURE__ */ jsx33(
12592
+ return /* @__PURE__ */ jsx34(
12471
12593
  "a",
12472
12594
  {
12473
12595
  ...props,
@@ -12498,7 +12620,7 @@ import { useTranslation as useTranslation14 } from "react-i18next";
12498
12620
 
12499
12621
  // src/commodity-original/lib/app-theme-provider.tsx
12500
12622
  import { jsx as _jsx6, jsxs as _jsxs6 } from "react/jsx-runtime";
12501
- import { createContext as createContext8, useCallback, useContext as useContext8, useLayoutEffect as useLayoutEffect3, useMemo as useMemo7, useRef as useRef6, useSyncExternalStore as useSyncExternalStore2 } from "react";
12623
+ import { createContext as createContext8, useCallback, useContext as useContext8, useLayoutEffect as useLayoutEffect3, useMemo as useMemo7, useRef as useRef7, useSyncExternalStore as useSyncExternalStore2 } from "react";
12502
12624
  import { ThemeProvider as ThemeProvider2 } from "styled-components";
12503
12625
 
12504
12626
  // src/commodity-original/app/global-styles.tsx
@@ -12637,7 +12759,7 @@ function subscribeToTheme(onStoreChange) {
12637
12759
  };
12638
12760
  }
12639
12761
  function AppThemeProvider({ children }) {
12640
- const rootRef = useRef6(null);
12762
+ const rootRef = useRef7(null);
12641
12763
  const getTargetDocument = useCallback(() => rootRef.current?.ownerDocument ?? document, []);
12642
12764
  const getSnapshot = useCallback(() => {
12643
12765
  const targetDocument = getTargetDocument();
@@ -12724,7 +12846,7 @@ function useAppTheme() {
12724
12846
  }
12725
12847
 
12726
12848
  // src/commodity-original/components/LandingPage/LandingFooter.tsx
12727
- import { jsx as jsx34, jsxs as jsxs27 } from "react/jsx-runtime";
12849
+ import { jsx as jsx35, jsxs as jsxs28 } from "react/jsx-runtime";
12728
12850
  function FooterLinks({ listKey, titleKey }) {
12729
12851
  const { t, i18n } = useTranslation14();
12730
12852
  const language = i18n.resolvedLanguage?.startsWith("en") ? "en" : "vi";
@@ -12732,12 +12854,12 @@ function FooterLinks({ listKey, titleKey }) {
12732
12854
  const editable = useCmsElementEditing()?.editable;
12733
12855
  const items = parseChromeItems(content?.[`${language}.${listKey}`]) ?? [];
12734
12856
  if (!items.length) return null;
12735
- return /* @__PURE__ */ jsxs27("nav", { className: "footer-nav", "aria-label": t(titleKey), children: [
12736
- /* @__PURE__ */ jsx34(ExactText, { cmsAs: "strong", children: t(titleKey) }),
12857
+ return /* @__PURE__ */ jsxs28("nav", { className: "footer-nav", "aria-label": t(titleKey), children: [
12858
+ /* @__PURE__ */ jsx35(ExactText, { cmsAs: "strong", children: t(titleKey) }),
12737
12859
  items.map((item, index) => {
12738
12860
  const href = chromeItemHref(item);
12739
12861
  const props = { cmsField: `${listKey}.${index}.label`, ...chromeItemAttributes(language, listKey, index) };
12740
- return href ? /* @__PURE__ */ jsx34(ExactText, { cmsAs: Link8, href, ...props, children: item.label }, index) : /* @__PURE__ */ jsx34(ExactText, { cmsAs: "button", type: "button", disabled: !editable, ...props, children: item.label }, index);
12862
+ return href ? /* @__PURE__ */ jsx35(ExactText, { cmsAs: Link8, href, ...props, children: item.label }, index) : /* @__PURE__ */ jsx35(ExactText, { cmsAs: "button", type: "button", disabled: !editable, ...props, children: item.label }, index);
12741
12863
  })
12742
12864
  ] });
12743
12865
  }
@@ -12757,12 +12879,12 @@ function LandingFooter() {
12757
12879
  "/Logo/logo_original_dark.png"
12758
12880
  );
12759
12881
  const mxvLogo = useCmsImage("footerMxvLogoImage", "/Logo/Logo_mxv.png");
12760
- return /* @__PURE__ */ jsx34("footer", { className: "footer", children: /* @__PURE__ */ jsxs27("div", { className: "container footer-content", children: [
12761
- /* @__PURE__ */ jsxs27("div", { className: "footer-grid", children: [
12762
- /* @__PURE__ */ jsxs27("div", { className: "footer-brand", children: [
12763
- /* @__PURE__ */ jsxs27("div", { className: "footer-brand-intro", children: [
12764
- /* @__PURE__ */ jsxs27("div", { className: "footer-logo-row", children: [
12765
- /* @__PURE__ */ jsx34("span", { className: "footer-wikex-logo", "aria-label": "Wikex", children: /* @__PURE__ */ jsx34(
12882
+ return /* @__PURE__ */ jsx35("footer", { className: "footer", children: /* @__PURE__ */ jsxs28("div", { className: "container footer-content", children: [
12883
+ /* @__PURE__ */ jsxs28("div", { className: "footer-grid", children: [
12884
+ /* @__PURE__ */ jsxs28("div", { className: "footer-brand", children: [
12885
+ /* @__PURE__ */ jsxs28("div", { className: "footer-brand-intro", children: [
12886
+ /* @__PURE__ */ jsxs28("div", { className: "footer-logo-row", children: [
12887
+ /* @__PURE__ */ jsx35("span", { className: "footer-wikex-logo", "aria-label": "Wikex", children: /* @__PURE__ */ jsx35(
12766
12888
  WikiLogo,
12767
12889
  {
12768
12890
  src: isDarkTheme ? darkLogo : lightLogo,
@@ -12772,7 +12894,7 @@ function LandingFooter() {
12772
12894
  loading: "eager"
12773
12895
  }
12774
12896
  ) }),
12775
- /* @__PURE__ */ jsx34(
12897
+ /* @__PURE__ */ jsx35(
12776
12898
  MxvLogo,
12777
12899
  {
12778
12900
  src: mxvLogo,
@@ -12783,20 +12905,20 @@ function LandingFooter() {
12783
12905
  }
12784
12906
  )
12785
12907
  ] }),
12786
- /* @__PURE__ */ jsx34(ExactText, { cmsAs: "p", children: t("landing.footer.description") })
12908
+ /* @__PURE__ */ jsx35(ExactText, { cmsAs: "p", children: t("landing.footer.description") })
12787
12909
  ] }),
12788
- /* @__PURE__ */ jsxs27("address", { className: "footer-contact", children: [
12789
- /* @__PURE__ */ jsxs27("div", { className: "footer-company", children: [
12790
- /* @__PURE__ */ jsxs27("div", { className: "footer-company-name", children: [
12791
- /* @__PURE__ */ jsx34(ExactText, { cmsAs: "strong", children: t("landing.footer.company") }),
12792
- /* @__PURE__ */ jsx34(ExactText, { cmsAs: "span", children: t("landing.footer.taxId") })
12910
+ /* @__PURE__ */ jsxs28("address", { className: "footer-contact", children: [
12911
+ /* @__PURE__ */ jsxs28("div", { className: "footer-company", children: [
12912
+ /* @__PURE__ */ jsxs28("div", { className: "footer-company-name", children: [
12913
+ /* @__PURE__ */ jsx35(ExactText, { cmsAs: "strong", children: t("landing.footer.company") }),
12914
+ /* @__PURE__ */ jsx35(ExactText, { cmsAs: "span", children: t("landing.footer.taxId") })
12793
12915
  ] }),
12794
- contacts.length > 0 && /* @__PURE__ */ jsx34("div", { className: "footer-contact-list", children: contacts.map((item, index) => /* @__PURE__ */ jsxs27("span", { className: "footer-contact-row", ...chromeItemAttributes(language, "footer.contacts", index), children: [
12795
- item.icon && /* @__PURE__ */ jsx34(Image8, { src: item.icon, alt: "", width: 16, height: 16, "aria-hidden": "true" }),
12796
- chromeItemHref(item) ? /* @__PURE__ */ jsx34(ExactText, { cmsAs: "a", href: chromeItemHref(item), cmsField: `footer.contacts.${index}.label`, children: item.label }) : /* @__PURE__ */ jsx34(ExactText, { cmsAs: "span", cmsField: `footer.contacts.${index}.label`, children: item.label })
12916
+ contacts.length > 0 && /* @__PURE__ */ jsx35("div", { className: "footer-contact-list", children: contacts.map((item, index) => /* @__PURE__ */ jsxs28("span", { className: "footer-contact-row", ...chromeItemAttributes(language, "footer.contacts", index), children: [
12917
+ item.icon && /* @__PURE__ */ jsx35(Image8, { src: item.icon, alt: "", width: 16, height: 16, "aria-hidden": "true" }),
12918
+ chromeItemHref(item) ? /* @__PURE__ */ jsx35(ExactText, { cmsAs: "a", href: chromeItemHref(item), cmsField: `footer.contacts.${index}.label`, children: item.label }) : /* @__PURE__ */ jsx35(ExactText, { cmsAs: "span", cmsField: `footer.contacts.${index}.label`, children: item.label })
12797
12919
  ] }, index)) })
12798
12920
  ] }),
12799
- socials.length > 0 && /* @__PURE__ */ jsx34("div", { className: "footer-socials", "aria-label": t("landing.footer.socials"), children: socials.map((item, index) => /* @__PURE__ */ jsxs27(
12921
+ socials.length > 0 && /* @__PURE__ */ jsx35("div", { className: "footer-socials", "aria-label": t("landing.footer.socials"), children: socials.map((item, index) => /* @__PURE__ */ jsxs28(
12800
12922
  "a",
12801
12923
  {
12802
12924
  href: chromeItemHref(item),
@@ -12807,25 +12929,25 @@ function LandingFooter() {
12807
12929
  target: "_blank",
12808
12930
  rel: "noopener noreferrer",
12809
12931
  children: [
12810
- item.icon && /* @__PURE__ */ jsx34(Image8, { src: item.icon, alt: "", width: 20, height: 20, "aria-hidden": "true" }),
12811
- /* @__PURE__ */ jsx34(ExactText, { cmsAs: "span", cmsField: `footer.socials.${index}.label`, className: "sr-only", children: item.label })
12932
+ item.icon && /* @__PURE__ */ jsx35(Image8, { src: item.icon, alt: "", width: 20, height: 20, "aria-hidden": "true" }),
12933
+ /* @__PURE__ */ jsx35(ExactText, { cmsAs: "span", cmsField: `footer.socials.${index}.label`, className: "sr-only", children: item.label })
12812
12934
  ]
12813
12935
  },
12814
12936
  index
12815
12937
  )) })
12816
12938
  ] })
12817
12939
  ] }),
12818
- /* @__PURE__ */ jsxs27("div", { className: "footer-secondary", children: [
12819
- /* @__PURE__ */ jsxs27("div", { className: "footer-navs", children: [
12820
- /* @__PURE__ */ jsx34(FooterLinks, { listKey: "footer.aboutLinks", titleKey: "landing.footer.aboutWikex" }),
12821
- /* @__PURE__ */ jsx34(FooterLinks, { listKey: "footer.productLinks", titleKey: "landing.footer.product" }),
12822
- /* @__PURE__ */ jsx34(FooterLinks, { listKey: "footer.guideLinks", titleKey: "landing.footer.guide" }),
12823
- /* @__PURE__ */ jsx34(FooterLinks, { listKey: "footer.supportLinks", titleKey: "landing.footer.support" })
12940
+ /* @__PURE__ */ jsxs28("div", { className: "footer-secondary", children: [
12941
+ /* @__PURE__ */ jsxs28("div", { className: "footer-navs", children: [
12942
+ /* @__PURE__ */ jsx35(FooterLinks, { listKey: "footer.aboutLinks", titleKey: "landing.footer.aboutWikex" }),
12943
+ /* @__PURE__ */ jsx35(FooterLinks, { listKey: "footer.productLinks", titleKey: "landing.footer.product" }),
12944
+ /* @__PURE__ */ jsx35(FooterLinks, { listKey: "footer.guideLinks", titleKey: "landing.footer.guide" }),
12945
+ /* @__PURE__ */ jsx35(FooterLinks, { listKey: "footer.supportLinks", titleKey: "landing.footer.support" })
12824
12946
  ] }),
12825
- downloads.length > 0 && /* @__PURE__ */ jsxs27("div", { className: "footer-downloads", children: [
12826
- /* @__PURE__ */ jsx34(ExactText, { cmsAs: "strong", children: t("landing.footer.download") }),
12827
- /* @__PURE__ */ jsxs27("div", { className: "footer-download-links", children: [
12828
- /* @__PURE__ */ jsx34("div", { className: "footer-store-links", children: downloads.map((item, index) => item.icon?.includes("footer-desktop.svg") ? null : /* @__PURE__ */ jsxs27(
12947
+ downloads.length > 0 && /* @__PURE__ */ jsxs28("div", { className: "footer-downloads", children: [
12948
+ /* @__PURE__ */ jsx35(ExactText, { cmsAs: "strong", children: t("landing.footer.download") }),
12949
+ /* @__PURE__ */ jsxs28("div", { className: "footer-download-links", children: [
12950
+ /* @__PURE__ */ jsx35("div", { className: "footer-store-links", children: downloads.map((item, index) => item.icon?.includes("footer-desktop.svg") ? null : /* @__PURE__ */ jsxs28(
12829
12951
  CmsDownloadButtonLink,
12830
12952
  {
12831
12953
  field: `${language}.footer.downloads.${index}.label`,
@@ -12833,10 +12955,10 @@ function LandingFooter() {
12833
12955
  ...chromeItemAttributes(language, "footer.downloads", index),
12834
12956
  "aria-label": item.label,
12835
12957
  children: [
12836
- item.icon && /* @__PURE__ */ jsx34(Image8, { src: item.icon, alt: "", width: 24, height: 24, "aria-hidden": "true" }),
12837
- /* @__PURE__ */ jsxs27("span", { className: "footer-store-copy", children: [
12838
- item.prefix && /* @__PURE__ */ jsx34(ExactText, { cmsAs: "small", cmsField: `footer.downloads.${index}.prefix`, children: item.prefix }),
12839
- /* @__PURE__ */ jsx34(
12958
+ item.icon && /* @__PURE__ */ jsx35(Image8, { src: item.icon, alt: "", width: 24, height: 24, "aria-hidden": "true" }),
12959
+ /* @__PURE__ */ jsxs28("span", { className: "footer-store-copy", children: [
12960
+ item.prefix && /* @__PURE__ */ jsx35(ExactText, { cmsAs: "small", cmsField: `footer.downloads.${index}.prefix`, children: item.prefix }),
12961
+ /* @__PURE__ */ jsx35(
12840
12962
  ExactText,
12841
12963
  {
12842
12964
  cmsAs: "strong",
@@ -12846,7 +12968,7 @@ function LandingFooter() {
12846
12968
  children: item.label
12847
12969
  }
12848
12970
  ),
12849
- !editable && item.label === "Google Play" && !item.labelTextLayout && !item.labelColor && /* @__PURE__ */ jsx34(
12971
+ !editable && item.label === "Google Play" && !item.labelTextLayout && !item.labelColor && /* @__PURE__ */ jsx35(
12850
12972
  Image8,
12851
12973
  {
12852
12974
  className: "footer-googleplay-wordmark",
@@ -12862,27 +12984,27 @@ function LandingFooter() {
12862
12984
  },
12863
12985
  index
12864
12986
  )) }),
12865
- downloads.map((item, index) => item.icon?.includes("footer-desktop.svg") ? /* @__PURE__ */ jsxs27(CmsDownloadButtonLink, { field: `${language}.footer.downloads.${index}.label`, className: "footer-desktop-link", ...chromeItemAttributes(language, "footer.downloads", index), children: [
12866
- /* @__PURE__ */ jsx34("span", { children: /* @__PURE__ */ jsx34(Image8, { src: item.icon, alt: "", width: 24, height: 24, "aria-hidden": "true" }) }),
12867
- /* @__PURE__ */ jsx34(ExactText, { cmsAs: "strong", cmsField: `footer.downloads.${index}.label`, children: item.label })
12987
+ downloads.map((item, index) => item.icon?.includes("footer-desktop.svg") ? /* @__PURE__ */ jsxs28(CmsDownloadButtonLink, { field: `${language}.footer.downloads.${index}.label`, className: "footer-desktop-link", ...chromeItemAttributes(language, "footer.downloads", index), children: [
12988
+ /* @__PURE__ */ jsx35("span", { children: /* @__PURE__ */ jsx35(Image8, { src: item.icon, alt: "", width: 24, height: 24, "aria-hidden": "true" }) }),
12989
+ /* @__PURE__ */ jsx35(ExactText, { cmsAs: "strong", cmsField: `footer.downloads.${index}.label`, children: item.label })
12868
12990
  ] }, index) : null)
12869
12991
  ] })
12870
12992
  ] })
12871
12993
  ] })
12872
12994
  ] }),
12873
- /* @__PURE__ */ jsx34("hr", { className: "footer-divider" }),
12874
- /* @__PURE__ */ jsx34(ExactText, { cmsAs: "p", className: "copyright", children: t("landing.footer.copyright") })
12995
+ /* @__PURE__ */ jsx35("hr", { className: "footer-divider" }),
12996
+ /* @__PURE__ */ jsx35(ExactText, { cmsAs: "p", className: "copyright", children: t("landing.footer.copyright") })
12875
12997
  ] }) });
12876
12998
  }
12877
12999
 
12878
13000
  // src/commodity-original/components/Footer/index.tsx
12879
- import { jsx as jsx35 } from "react/jsx-runtime";
13001
+ import { jsx as jsx36 } from "react/jsx-runtime";
12880
13002
  function Footer() {
12881
- return /* @__PURE__ */ jsx35(PageShell, { as: "div", children: /* @__PURE__ */ jsx35(LandingFooter, {}) });
13003
+ return /* @__PURE__ */ jsx36(PageShell, { as: "div", children: /* @__PURE__ */ jsx36(LandingFooter, {}) });
12882
13004
  }
12883
13005
 
12884
13006
  // src/commodity-original/components/Header/index.tsx
12885
- import { useCallback as useCallback2, useEffect as useEffect9, useRef as useRef7, useState as useState13 } from "react";
13007
+ import { useCallback as useCallback2, useEffect as useEffect9, useRef as useRef8, useState as useState13 } from "react";
12886
13008
  import Image9 from "next/image.js";
12887
13009
  import Link9 from "next/link.js";
12888
13010
  import { usePathname, useSearchParams } from "next/navigation.js";
@@ -12929,7 +13051,7 @@ function ThemeToggle({ variant = "floating" }) {
12929
13051
 
12930
13052
  // src/commodity-original/components/Header/index.tsx
12931
13053
  import { useTranslation as useTranslation16 } from "react-i18next";
12932
- import { jsx as jsx36, jsxs as jsxs28 } from "react/jsx-runtime";
13054
+ import { jsx as jsx37, jsxs as jsxs29 } from "react/jsx-runtime";
12933
13055
  import { createElement as createElement3 } from "react";
12934
13056
  var languages = [
12935
13057
  {
@@ -12944,7 +13066,7 @@ var languages = [
12944
13066
  }
12945
13067
  ];
12946
13068
  function LanguageIcon() {
12947
- return /* @__PURE__ */ jsx36(
13069
+ return /* @__PURE__ */ jsx37(
12948
13070
  "svg",
12949
13071
  {
12950
13072
  "aria-hidden": "true",
@@ -12953,7 +13075,7 @@ function LanguageIcon() {
12953
13075
  viewBox: "0 0 24 24",
12954
13076
  width: "24",
12955
13077
  xmlns: "http://www.w3.org/2000/svg",
12956
- children: /* @__PURE__ */ jsx36(
13078
+ children: /* @__PURE__ */ jsx37(
12957
13079
  "path",
12958
13080
  {
12959
13081
  d: "M22 12.0001C22 17.5229 17.5228 22.0001 12 22.0001M22 12.0001C22 6.47721 17.5228 2.00006 12 2.00006M22 12.0001H2M12 22.0001C6.47715 22.0001 2 17.5229 2 12.0001M12 22.0001C14.4744 19.475 16 15.8146 16 12C16 8.18532 14.4744 4.52513 12 2.00006M12 22.0001C9.52563 19.475 8 15.8146 8 12C8 8.18532 9.52563 4.52513 12 2.00006M12 2.00006C6.47715 2.00006 2 6.47721 2 12.0001",
@@ -12972,10 +13094,10 @@ function LanguageSwitcher({
12972
13094
  portalContainer
12973
13095
  }) {
12974
13096
  const { t } = useTranslation16();
12975
- const triggerRef = useRef7(null);
13097
+ const triggerRef = useRef8(null);
12976
13098
  const currentLanguage = languages.find((item) => item.value === language);
12977
- return /* @__PURE__ */ jsxs28(DropdownMenu2.Root, { children: [
12978
- /* @__PURE__ */ jsx36(DropdownMenu2.Trigger, { asChild: true, children: /* @__PURE__ */ jsx36(
13099
+ return /* @__PURE__ */ jsxs29(DropdownMenu2.Root, { children: [
13100
+ /* @__PURE__ */ jsx37(DropdownMenu2.Trigger, { asChild: true, children: /* @__PURE__ */ jsx37(
12979
13101
  LanguageTrigger,
12980
13102
  {
12981
13103
  "aria-label": t("language.current", {
@@ -12984,10 +13106,10 @@ function LanguageSwitcher({
12984
13106
  ref: triggerRef,
12985
13107
  title: t("language.change"),
12986
13108
  type: "button",
12987
- children: /* @__PURE__ */ jsx36(LanguageIcon, {})
13109
+ children: /* @__PURE__ */ jsx37(LanguageIcon, {})
12988
13110
  }
12989
13111
  ) }),
12990
- /* @__PURE__ */ jsx36(DropdownMenu2.Portal, { container: portalContainer, children: /* @__PURE__ */ jsx36(
13112
+ /* @__PURE__ */ jsx37(DropdownMenu2.Portal, { container: portalContainer, children: /* @__PURE__ */ jsx37(
12991
13113
  LanguageMenuContent,
12992
13114
  {
12993
13115
  align: compact ? "end" : "start",
@@ -12998,13 +13120,13 @@ function LanguageSwitcher({
12998
13120
  triggerRef.current?.focus({ preventScroll: true });
12999
13121
  },
13000
13122
  sideOffset: 4,
13001
- children: /* @__PURE__ */ jsx36(
13123
+ children: /* @__PURE__ */ jsx37(
13002
13124
  DropdownMenu2.RadioGroup,
13003
13125
  {
13004
13126
  onValueChange: (value4) => onLanguageChange(value4),
13005
13127
  value: language,
13006
- children: languages.map((item) => /* @__PURE__ */ jsxs28(LanguageMenuItem, { value: item.value, children: [
13007
- /* @__PURE__ */ jsx36(LanguageFlag, { children: /* @__PURE__ */ jsx36(
13128
+ children: languages.map((item) => /* @__PURE__ */ jsxs29(LanguageMenuItem, { value: item.value, children: [
13129
+ /* @__PURE__ */ jsx37(LanguageFlag, { children: /* @__PURE__ */ jsx37(
13008
13130
  Image9,
13009
13131
  {
13010
13132
  alt: "",
@@ -13014,8 +13136,8 @@ function LanguageSwitcher({
13014
13136
  width: item.value === "vi" ? 30 : 20
13015
13137
  }
13016
13138
  ) }),
13017
- /* @__PURE__ */ jsx36(ExactText, { cmsAs: "span", children: item.label }),
13018
- /* @__PURE__ */ jsx36(LanguageItemIndicator, { children: /* @__PURE__ */ jsx36(
13139
+ /* @__PURE__ */ jsx37(ExactText, { cmsAs: "span", children: item.label }),
13140
+ /* @__PURE__ */ jsx37(LanguageItemIndicator, { children: /* @__PURE__ */ jsx37(
13019
13141
  Image9,
13020
13142
  {
13021
13143
  alt: "",
@@ -13049,8 +13171,8 @@ function Header() {
13049
13171
  const [isDesktopProductsOpen, setIsDesktopProductsOpen] = useState13(null);
13050
13172
  const { t, i18n } = useTranslation16();
13051
13173
  const language = i18n.resolvedLanguage?.startsWith("en") ? "en" : "vi";
13052
- const mobileMenuTriggerRef = useRef7(null);
13053
- const pendingMobileSectionRef = useRef7(null);
13174
+ const mobileMenuTriggerRef = useRef8(null);
13175
+ const pendingMobileSectionRef = useRef8(null);
13054
13176
  const { themeName } = useAppTheme();
13055
13177
  const isDarkTheme = themeName === "dark";
13056
13178
  const lightLogo = useCmsImage("headerLogoImage", "/Logo/logo.png");
@@ -13152,9 +13274,9 @@ function Header() {
13152
13274
  desktopMediaQuery.removeEventListener("change", closeDrawerOnDesktop);
13153
13275
  };
13154
13276
  }, []);
13155
- return /* @__PURE__ */ jsx36(HeaderShell, { ref: setHeaderRef, children: /* @__PURE__ */ jsxs28(HeaderInner, { children: [
13156
- /* @__PURE__ */ jsxs28(BrandGroup, { children: [
13157
- /* @__PURE__ */ jsx36(WikiBrand, { href: homeUrl, "aria-label": t("header.home"), children: /* @__PURE__ */ jsx36(
13277
+ return /* @__PURE__ */ jsx37(HeaderShell, { ref: setHeaderRef, children: /* @__PURE__ */ jsxs29(HeaderInner, { children: [
13278
+ /* @__PURE__ */ jsxs29(BrandGroup, { children: [
13279
+ /* @__PURE__ */ jsx37(WikiBrand, { href: homeUrl, "aria-label": t("header.home"), children: /* @__PURE__ */ jsx37(
13158
13280
  WikiLogo,
13159
13281
  {
13160
13282
  src: isDarkTheme ? darkLogo : lightLogo,
@@ -13164,14 +13286,14 @@ function Header() {
13164
13286
  loading: "eager"
13165
13287
  }
13166
13288
  ) }),
13167
- /* @__PURE__ */ jsx36(
13289
+ /* @__PURE__ */ jsx37(
13168
13290
  PartnerBrand,
13169
13291
  {
13170
13292
  href: mxvUrl,
13171
13293
  target: "_blank",
13172
13294
  rel: "noopener noreferrer",
13173
13295
  "aria-label": t("header.mxv"),
13174
- children: /* @__PURE__ */ jsx36(
13296
+ children: /* @__PURE__ */ jsx37(
13175
13297
  MxvLogo,
13176
13298
  {
13177
13299
  src: mxvLogo,
@@ -13184,34 +13306,34 @@ function Header() {
13184
13306
  }
13185
13307
  )
13186
13308
  ] }),
13187
- /* @__PURE__ */ jsx36(DesktopNavigation, { "aria-label": t("header.navigation"), children: resolvedNavigationItems.map((item) => {
13309
+ /* @__PURE__ */ jsx37(DesktopNavigation, { "aria-label": t("header.navigation"), children: resolvedNavigationItems.map((item) => {
13188
13310
  const isItemActive = item.children.length > 0 ? item.children.some((child) => isRouteActive(child.href)) : isRouteActive(item.href);
13189
13311
  if (item.children.length > 0) {
13190
- return /* @__PURE__ */ jsxs28(
13312
+ return /* @__PURE__ */ jsxs29(
13191
13313
  DropdownMenu2.Root,
13192
13314
  {
13193
13315
  modal: false,
13194
13316
  open: isDesktopProductsOpen === item.index,
13195
13317
  onOpenChange: (open) => setIsDesktopProductsOpen(open ? item.index : null),
13196
13318
  children: [
13197
- /* @__PURE__ */ jsx36(DropdownMenu2.Trigger, { asChild: true, children: /* @__PURE__ */ jsx36(
13319
+ /* @__PURE__ */ jsx37(DropdownMenu2.Trigger, { asChild: true, children: /* @__PURE__ */ jsx37(
13198
13320
  ProductsMenuTrigger,
13199
13321
  {
13200
13322
  ...chromeItemAttributes(language, "header.menuItems", item.index),
13201
13323
  type: "button",
13202
13324
  "aria-current": isItemActive ? "page" : void 0,
13203
13325
  "data-active": isItemActive ? "true" : void 0,
13204
- children: /* @__PURE__ */ jsx36(ExactText, { cmsAs: "span", cmsField: item.labelKey, children: item.label })
13326
+ children: /* @__PURE__ */ jsx37(ExactText, { cmsAs: "span", cmsField: item.labelKey, children: item.label })
13205
13327
  }
13206
13328
  ) }),
13207
- /* @__PURE__ */ jsx36(DropdownMenu2.Portal, { container: portalContainer, children: /* @__PURE__ */ jsx36(
13329
+ /* @__PURE__ */ jsx37(DropdownMenu2.Portal, { container: portalContainer, children: /* @__PURE__ */ jsx37(
13208
13330
  ProductsMenuContent,
13209
13331
  {
13210
13332
  onInteractOutside: keepEditorToolbarOpen,
13211
13333
  align: "center",
13212
13334
  sideOffset: 10,
13213
13335
  "aria-label": item.label,
13214
- children: item.children.map((child) => /* @__PURE__ */ jsx36(ProductsMenuItem, { asChild: true, children: /* @__PURE__ */ jsx36(ExactText, { cmsAs: Link9, cmsField: child.labelKey, ...chromeItemAttributes(language, "header.menuItems", child.index, item.index), href: child.href, "aria-disabled": child.linkDisabled || void 0, onClick: (event) => {
13336
+ children: item.children.map((child) => /* @__PURE__ */ jsx37(ProductsMenuItem, { asChild: true, children: /* @__PURE__ */ jsx37(ExactText, { cmsAs: Link9, cmsField: child.labelKey, ...chromeItemAttributes(language, "header.menuItems", child.index, item.index), href: child.href, "aria-disabled": child.linkDisabled || void 0, onClick: (event) => {
13215
13337
  if (child.linkDisabled) event.preventDefault();
13216
13338
  }, "aria-current": isItemActive && selectedCategory === child.category ? "page" : void 0, children: child.label }) }, child.labelKey))
13217
13339
  }
@@ -13239,8 +13361,8 @@ function Header() {
13239
13361
  item.label
13240
13362
  );
13241
13363
  }) }),
13242
- /* @__PURE__ */ jsxs28(MobileNavigation2, { children: [
13243
- /* @__PURE__ */ jsx36(MobileLanguageToggle, { children: /* @__PURE__ */ jsx36(
13364
+ /* @__PURE__ */ jsxs29(MobileNavigation2, { children: [
13365
+ /* @__PURE__ */ jsx37(MobileLanguageToggle, { children: /* @__PURE__ */ jsx37(
13244
13366
  LanguageSwitcher,
13245
13367
  {
13246
13368
  compact: true,
@@ -13249,15 +13371,15 @@ function Header() {
13249
13371
  onLanguageChange: (nextLanguage) => void i18n.changeLanguage(nextLanguage)
13250
13372
  }
13251
13373
  ) }),
13252
- /* @__PURE__ */ jsx36(MobileThemeToggle, { children: /* @__PURE__ */ jsx36(ThemeToggle, { variant: "header" }) }),
13253
- /* @__PURE__ */ jsxs28(Dialog5.Root, { modal: !editable, open: isMenuOpen, onOpenChange: setIsMenuOpen, children: [
13254
- /* @__PURE__ */ jsx36(Dialog5.Trigger, { asChild: true, children: /* @__PURE__ */ jsx36(
13374
+ /* @__PURE__ */ jsx37(MobileThemeToggle, { children: /* @__PURE__ */ jsx37(ThemeToggle, { variant: "header" }) }),
13375
+ /* @__PURE__ */ jsxs29(Dialog5.Root, { modal: !editable, open: isMenuOpen, onOpenChange: setIsMenuOpen, children: [
13376
+ /* @__PURE__ */ jsx37(Dialog5.Trigger, { asChild: true, children: /* @__PURE__ */ jsx37(
13255
13377
  MobileMenuTrigger,
13256
13378
  {
13257
13379
  type: "button",
13258
13380
  ref: mobileMenuTriggerRef,
13259
13381
  "aria-label": isMenuOpen ? t("header.closeMenu") : t("header.openMenu"),
13260
- children: /* @__PURE__ */ jsx36(
13382
+ children: /* @__PURE__ */ jsx37(
13261
13383
  MorphIcon3,
13262
13384
  {
13263
13385
  icon: isMenuOpen ? X2 : Menu2,
@@ -13269,9 +13391,9 @@ function Header() {
13269
13391
  )
13270
13392
  }
13271
13393
  ) }),
13272
- /* @__PURE__ */ jsxs28(Dialog5.Portal, { container: portalContainer, children: [
13273
- /* @__PURE__ */ jsx36(MobileDrawerOverlay, {}),
13274
- /* @__PURE__ */ jsxs28(
13394
+ /* @__PURE__ */ jsxs29(Dialog5.Portal, { container: portalContainer, children: [
13395
+ /* @__PURE__ */ jsx37(MobileDrawerOverlay, {}),
13396
+ /* @__PURE__ */ jsxs29(
13275
13397
  MobileDrawerContent,
13276
13398
  {
13277
13399
  onInteractOutside: keepEditorToolbarOpen,
@@ -13290,9 +13412,9 @@ function Header() {
13290
13412
  });
13291
13413
  },
13292
13414
  children: [
13293
- /* @__PURE__ */ jsxs28(MobileDrawerHeader, { children: [
13294
- /* @__PURE__ */ jsx36(ExactText, { cmsAs: MobileDrawerTitle, children: t("header.menu") }),
13295
- /* @__PURE__ */ jsx36(MobileDrawerClose, { "aria-label": t("header.closeMenu"), children: /* @__PURE__ */ jsx36(
13415
+ /* @__PURE__ */ jsxs29(MobileDrawerHeader, { children: [
13416
+ /* @__PURE__ */ jsx37(ExactText, { cmsAs: MobileDrawerTitle, children: t("header.menu") }),
13417
+ /* @__PURE__ */ jsx37(MobileDrawerClose, { "aria-label": t("header.closeMenu"), children: /* @__PURE__ */ jsx37(
13296
13418
  MorphIcon3,
13297
13419
  {
13298
13420
  icon: X2,
@@ -13303,8 +13425,8 @@ function Header() {
13303
13425
  }
13304
13426
  ) })
13305
13427
  ] }),
13306
- /* @__PURE__ */ jsxs28(MobileDrawerActions, { children: [
13307
- /* @__PURE__ */ jsx36(
13428
+ /* @__PURE__ */ jsxs29(MobileDrawerActions, { children: [
13429
+ /* @__PURE__ */ jsx37(
13308
13430
  ExactText,
13309
13431
  {
13310
13432
  cmsAs: MobileDrawerLoginButton,
@@ -13316,7 +13438,7 @@ function Header() {
13316
13438
  children: t("header.login")
13317
13439
  }
13318
13440
  ),
13319
- /* @__PURE__ */ jsx36(
13441
+ /* @__PURE__ */ jsx37(
13320
13442
  ExactText,
13321
13443
  {
13322
13444
  cmsAs: MobileDrawerOpenAccountButton,
@@ -13341,12 +13463,12 @@ function Header() {
13341
13463
  }
13342
13464
  )
13343
13465
  ] }),
13344
- /* @__PURE__ */ jsxs28(MobileMenuPanel, { "aria-label": t("header.mobileNavigation"), children: [
13466
+ /* @__PURE__ */ jsxs29(MobileMenuPanel, { "aria-label": t("header.mobileNavigation"), children: [
13345
13467
  resolvedNavigationItems.map((item) => {
13346
13468
  const isItemActive = item.children.length > 0 ? item.children.some((child) => isRouteActive(child.href)) : isRouteActive(item.href);
13347
13469
  if (item.children.length > 0) {
13348
- return /* @__PURE__ */ jsxs28("div", { className: "mobile-menu-group", ...chromeItemAttributes(language, "header.menuItems", item.index), children: [
13349
- /* @__PURE__ */ jsxs28(
13470
+ return /* @__PURE__ */ jsxs29("div", { className: "mobile-menu-group", ...chromeItemAttributes(language, "header.menuItems", item.index), children: [
13471
+ /* @__PURE__ */ jsxs29(
13350
13472
  "button",
13351
13473
  {
13352
13474
  "aria-current": isItemActive ? "page" : void 0,
@@ -13360,13 +13482,13 @@ function Header() {
13360
13482
  },
13361
13483
  type: "button",
13362
13484
  children: [
13363
- /* @__PURE__ */ jsx36(ExactText, { cmsAs: "span", cmsField: item.labelKey, children: item.label }),
13364
- /* @__PURE__ */ jsx36(
13485
+ /* @__PURE__ */ jsx37(ExactText, { cmsAs: "span", cmsField: item.labelKey, children: item.label }),
13486
+ /* @__PURE__ */ jsx37(
13365
13487
  "span",
13366
13488
  {
13367
13489
  "aria-hidden": "true",
13368
13490
  className: "mobile-products-chevron",
13369
- children: /* @__PURE__ */ jsx36(
13491
+ children: /* @__PURE__ */ jsx37(
13370
13492
  MorphIcon3,
13371
13493
  {
13372
13494
  icon: ChevronDown,
@@ -13381,7 +13503,7 @@ function Header() {
13381
13503
  ]
13382
13504
  }
13383
13505
  ),
13384
- /* @__PURE__ */ jsx36(
13506
+ /* @__PURE__ */ jsx37(
13385
13507
  "div",
13386
13508
  {
13387
13509
  "aria-labelledby": `mobile-products-trigger-${item.index}`,
@@ -13431,10 +13553,10 @@ function Header() {
13431
13553
  setIsMenuOpen(false);
13432
13554
  }
13433
13555
  },
13434
- /* @__PURE__ */ jsx36(ExactText, { cmsAs: "span", cmsField: item.labelKey, children: item.label })
13556
+ /* @__PURE__ */ jsx37(ExactText, { cmsAs: "span", cmsField: item.labelKey, children: item.label })
13435
13557
  );
13436
13558
  }),
13437
- /* @__PURE__ */ jsx36(Dialog5.Close, { asChild: true, children: /* @__PURE__ */ jsx36(
13559
+ /* @__PURE__ */ jsx37(Dialog5.Close, { asChild: true, children: /* @__PURE__ */ jsx37(
13438
13560
  ExactText,
13439
13561
  {
13440
13562
  cmsAs: "a",
@@ -13453,9 +13575,9 @@ function Header() {
13453
13575
  ] })
13454
13576
  ] })
13455
13577
  ] }),
13456
- /* @__PURE__ */ jsxs28(RightActions, { children: [
13457
- /* @__PURE__ */ jsxs28("div", { children: [
13458
- /* @__PURE__ */ jsx36(
13578
+ /* @__PURE__ */ jsxs29(RightActions, { children: [
13579
+ /* @__PURE__ */ jsxs29("div", { children: [
13580
+ /* @__PURE__ */ jsx37(
13459
13581
  LanguageSwitcher,
13460
13582
  {
13461
13583
  language,
@@ -13463,10 +13585,10 @@ function Header() {
13463
13585
  onLanguageChange: (nextLanguage) => void i18n.changeLanguage(nextLanguage)
13464
13586
  }
13465
13587
  ),
13466
- /* @__PURE__ */ jsx36(ThemeToggle, { variant: "header" })
13588
+ /* @__PURE__ */ jsx37(ThemeToggle, { variant: "header" })
13467
13589
  ] }),
13468
- /* @__PURE__ */ jsx36(ActionDivider, { "aria-hidden": "true" }),
13469
- /* @__PURE__ */ jsx36(
13590
+ /* @__PURE__ */ jsx37(ActionDivider, { "aria-hidden": "true" }),
13591
+ /* @__PURE__ */ jsx37(
13470
13592
  ExactText,
13471
13593
  {
13472
13594
  cmsAs: LoginLink,
@@ -13478,7 +13600,7 @@ function Header() {
13478
13600
  children: t("header.login")
13479
13601
  }
13480
13602
  ),
13481
- /* @__PURE__ */ jsx36(
13603
+ /* @__PURE__ */ jsx37(
13482
13604
  ExactText,
13483
13605
  {
13484
13606
  cmsAs: OpenAccountButton,
@@ -13518,25 +13640,25 @@ var TitleContainer = styled28.div.withConfig({
13518
13640
  ]);
13519
13641
 
13520
13642
  // src/commodity-original/components/Title/index.tsx
13521
- import { jsx as jsx37, jsxs as jsxs29 } from "react/jsx-runtime";
13643
+ import { jsx as jsx38, jsxs as jsxs30 } from "react/jsx-runtime";
13522
13644
  var TitleCommon = ({ title, classname, desc }) => {
13523
- return /* @__PURE__ */ jsxs29(TitleContainer, { className: classname, children: [
13524
- /* @__PURE__ */ jsx37(ExactText, { cmsAs: "h2", children: title }),
13525
- desc && /* @__PURE__ */ jsx37(ExactText, { cmsAs: "p", children: desc })
13645
+ return /* @__PURE__ */ jsxs30(TitleContainer, { className: classname, children: [
13646
+ /* @__PURE__ */ jsx38(ExactText, { cmsAs: "h2", children: title }),
13647
+ desc && /* @__PURE__ */ jsx38(ExactText, { cmsAs: "p", children: desc })
13526
13648
  ] });
13527
13649
  };
13528
13650
  var Title_default = TitleCommon;
13529
13651
 
13530
13652
  // src/commodity-original/components/LandingPage/AudienceSection.tsx
13531
13653
  import { useTranslation as useTranslation17 } from "react-i18next";
13532
- import { jsx as jsx38, jsxs as jsxs30 } from "react/jsx-runtime";
13654
+ import { jsx as jsx39, jsxs as jsxs31 } from "react/jsx-runtime";
13533
13655
  function AudienceColumn({
13534
13656
  items,
13535
13657
  side
13536
13658
  }) {
13537
- return /* @__PURE__ */ jsx38("div", { className: `audience-column audience-column--${side}`, children: items.map((item) => /* @__PURE__ */ jsxs30("article", { className: "speech-card", children: [
13538
- /* @__PURE__ */ jsx38(ExactText, { cmsAs: "h3", children: item.title }),
13539
- /* @__PURE__ */ jsx38(ExactText, { cmsAs: "p", children: item.body })
13659
+ return /* @__PURE__ */ jsx39("div", { className: `audience-column audience-column--${side}`, children: items.map((item) => /* @__PURE__ */ jsxs31("article", { className: "speech-card", children: [
13660
+ /* @__PURE__ */ jsx39(ExactText, { cmsAs: "h3", children: item.title }),
13661
+ /* @__PURE__ */ jsx39(ExactText, { cmsAs: "p", children: item.body })
13540
13662
  ] }, item.title)) });
13541
13663
  }
13542
13664
  function AudienceSection() {
@@ -13554,15 +13676,15 @@ function AudienceSection() {
13554
13676
  "audiencePhoneTwoImage",
13555
13677
  "/landing-assets/audience-phones_2.webp"
13556
13678
  );
13557
- return /* @__PURE__ */ jsx38("section", { className: "audience section", children: /* @__PURE__ */ jsxs30("div", { className: "container", children: [
13558
- /* @__PURE__ */ jsx38(
13679
+ return /* @__PURE__ */ jsx39("section", { className: "audience section", children: /* @__PURE__ */ jsxs31("div", { className: "container", children: [
13680
+ /* @__PURE__ */ jsx39(
13559
13681
  Title_default,
13560
13682
  {
13561
13683
  classname: "audience-title",
13562
13684
  title: t("landing.audience.title")
13563
13685
  }
13564
13686
  ),
13565
- /* @__PURE__ */ jsx38(
13687
+ /* @__PURE__ */ jsx39(
13566
13688
  Button_default,
13567
13689
  {
13568
13690
  size: "sm",
@@ -13581,10 +13703,10 @@ function AudienceSection() {
13581
13703
  children: t("landing.audience.cta")
13582
13704
  }
13583
13705
  ),
13584
- /* @__PURE__ */ jsxs30("div", { className: "audience-layout", children: [
13585
- /* @__PURE__ */ jsx38(AudienceColumn, { items: audiences.slice(0, 2), side: "left" }),
13586
- /* @__PURE__ */ jsxs30("div", { className: "audience-phones wikex-cms-image-host", children: [
13587
- /* @__PURE__ */ jsx38(
13706
+ /* @__PURE__ */ jsxs31("div", { className: "audience-layout", children: [
13707
+ /* @__PURE__ */ jsx39(AudienceColumn, { items: audiences.slice(0, 2), side: "left" }),
13708
+ /* @__PURE__ */ jsxs31("div", { className: "audience-phones wikex-cms-image-host", children: [
13709
+ /* @__PURE__ */ jsx39(
13588
13710
  Image10,
13589
13711
  {
13590
13712
  src: phoneOne,
@@ -13594,7 +13716,7 @@ function AudienceSection() {
13594
13716
  className: "phone_1"
13595
13717
  }
13596
13718
  ),
13597
- /* @__PURE__ */ jsx38(
13719
+ /* @__PURE__ */ jsx39(
13598
13720
  Image10,
13599
13721
  {
13600
13722
  src: phoneTwo,
@@ -13604,10 +13726,10 @@ function AudienceSection() {
13604
13726
  className: "phone_2"
13605
13727
  }
13606
13728
  ),
13607
- /* @__PURE__ */ jsx38(CmsImageAction, { field: "audiencePhoneOneImage" }),
13608
- /* @__PURE__ */ jsx38(CmsImageAction, { field: "audiencePhoneTwoImage", style: { bottom: 52 } })
13729
+ /* @__PURE__ */ jsx39(CmsImageAction, { field: "audiencePhoneOneImage" }),
13730
+ /* @__PURE__ */ jsx39(CmsImageAction, { field: "audiencePhoneTwoImage", style: { bottom: 52 } })
13609
13731
  ] }),
13610
- /* @__PURE__ */ jsx38(AudienceColumn, { items: audiences.slice(2), side: "right" })
13732
+ /* @__PURE__ */ jsx39(AudienceColumn, { items: audiences.slice(2), side: "right" })
13611
13733
  ] })
13612
13734
  ] }) });
13613
13735
  }
@@ -13618,7 +13740,7 @@ import { useTranslation as useTranslation18 } from "react-i18next";
13618
13740
 
13619
13741
  // src/commodity-original/components/LandingPage/BenefitIcon.tsx
13620
13742
  import { useId as useId2 } from "react";
13621
- import { jsx as jsx39, jsxs as jsxs31 } from "react/jsx-runtime";
13743
+ import { jsx as jsx40, jsxs as jsxs32 } from "react/jsx-runtime";
13622
13744
  var sharedProps = {
13623
13745
  xmlns: "http://www.w3.org/2000/svg",
13624
13746
  className: "benefit-icon",
@@ -13635,8 +13757,8 @@ function BenefitIcon({ name }) {
13635
13757
  const isDarkTheme = themeName === "dark";
13636
13758
  switch (name) {
13637
13759
  case "market":
13638
- return /* @__PURE__ */ jsxs31("svg", { ...sharedProps, viewBox: "0 0 48 48", children: [
13639
- /* @__PURE__ */ jsx39(
13760
+ return /* @__PURE__ */ jsxs32("svg", { ...sharedProps, viewBox: "0 0 48 48", children: [
13761
+ /* @__PURE__ */ jsx40(
13640
13762
  "rect",
13641
13763
  {
13642
13764
  x: "4",
@@ -13647,7 +13769,7 @@ function BenefitIcon({ name }) {
13647
13769
  fill: "#F9BB3A"
13648
13770
  }
13649
13771
  ),
13650
- /* @__PURE__ */ jsx39(
13772
+ /* @__PURE__ */ jsx40(
13651
13773
  "line",
13652
13774
  {
13653
13775
  pathLength: "1",
@@ -13660,7 +13782,7 @@ function BenefitIcon({ name }) {
13660
13782
  strokeLinecap: "round"
13661
13783
  }
13662
13784
  ),
13663
- /* @__PURE__ */ jsx39(
13785
+ /* @__PURE__ */ jsx40(
13664
13786
  "line",
13665
13787
  {
13666
13788
  className: "benefit-market-line benefit-market-line--1",
@@ -13674,7 +13796,7 @@ function BenefitIcon({ name }) {
13674
13796
  strokeLinecap: "round"
13675
13797
  }
13676
13798
  ),
13677
- /* @__PURE__ */ jsx39(
13799
+ /* @__PURE__ */ jsx40(
13678
13800
  "line",
13679
13801
  {
13680
13802
  className: "benefit-market-line benefit-market-line--3",
@@ -13688,7 +13810,7 @@ function BenefitIcon({ name }) {
13688
13810
  strokeLinecap: "round"
13689
13811
  }
13690
13812
  ),
13691
- /* @__PURE__ */ jsx39(
13813
+ /* @__PURE__ */ jsx40(
13692
13814
  "line",
13693
13815
  {
13694
13816
  className: "benefit-market-line benefit-market-line--2",
@@ -13704,7 +13826,7 @@ function BenefitIcon({ name }) {
13704
13826
  )
13705
13827
  ] });
13706
13828
  case "two-way":
13707
- return /* @__PURE__ */ jsxs31(
13829
+ return /* @__PURE__ */ jsxs32(
13708
13830
  "svg",
13709
13831
  {
13710
13832
  ...sharedProps,
@@ -13715,14 +13837,14 @@ function BenefitIcon({ name }) {
13715
13837
  fill: "none",
13716
13838
  className: "benefit-two-way",
13717
13839
  children: [
13718
- /* @__PURE__ */ jsx39(
13840
+ /* @__PURE__ */ jsx40(
13719
13841
  "path",
13720
13842
  {
13721
13843
  d: "M26.926 27.5862V18.2759C26.926 17.5903 26.3703 17.0345 25.6847 17.0345H23.5455C22.4932 17.0345 21.9182 15.8074 22.5915 14.9988L30.7681 5.17882C31.2735 4.57188 32.2097 4.58496 32.6979 5.20578L40.4203 15.0257C41.0607 15.8402 40.4806 17.0345 39.4445 17.0345H37.2118C36.5262 17.0345 35.9704 17.5903 35.9704 18.2759V27.5862C35.9704 28.2718 35.4146 28.8276 34.729 28.8276H28.1674C27.4818 28.8276 26.926 28.2718 26.926 27.5862Z",
13722
13844
  fill: isDarkTheme ? "#fff" : "#05080F"
13723
13845
  }
13724
13846
  ),
13725
- /* @__PURE__ */ jsx39(
13847
+ /* @__PURE__ */ jsx40(
13726
13848
  "path",
13727
13849
  {
13728
13850
  d: "M12.0296 21.3796V30.69C12.0296 31.3756 11.4738 31.9313 10.7882 31.9313H8.64901C7.59676 31.9313 7.02173 33.1584 7.69504 33.967L15.8717 43.787C16.377 44.3939 17.3132 44.3809 17.8014 43.76L25.5238 33.9401C26.1642 33.1257 25.5841 31.9313 24.548 31.9313H22.3153C21.6297 31.9313 21.0739 31.3756 21.0739 30.69V21.3796C21.0739 20.694 20.5181 20.1382 19.8325 20.1382H13.2709C12.5853 20.1382 12.0296 20.694 12.0296 21.3796Z",
@@ -13733,7 +13855,7 @@ function BenefitIcon({ name }) {
13733
13855
  }
13734
13856
  );
13735
13857
  case "futures":
13736
- return /* @__PURE__ */ jsxs31(
13858
+ return /* @__PURE__ */ jsxs32(
13737
13859
  "svg",
13738
13860
  {
13739
13861
  ...sharedProps,
@@ -13743,15 +13865,15 @@ function BenefitIcon({ name }) {
13743
13865
  viewBox: "0 0 48 48",
13744
13866
  fill: "none",
13745
13867
  children: [
13746
- /* @__PURE__ */ jsx39(
13868
+ /* @__PURE__ */ jsx40(
13747
13869
  "path",
13748
13870
  {
13749
13871
  d: "M26.5 5.5L38.5 17.5V40.5C38.5 41.6046 37.6046 42.5 36.5 42.5H12.5C11.3954 42.5 10.5 41.6046 10.5 40.5V7.5C10.5 6.39543 11.3954 5.5 12.5 5.5H26.5Z",
13750
13872
  fill: "#F9BB3A"
13751
13873
  }
13752
13874
  ),
13753
- /* @__PURE__ */ jsx39("path", { d: "M38.5 17.5H26.5V5.5L38.5 17.5Z", fill: isDarkTheme ? "#fff" : "#05080F" }),
13754
- /* @__PURE__ */ jsx39(
13875
+ /* @__PURE__ */ jsx40("path", { d: "M38.5 17.5H26.5V5.5L38.5 17.5Z", fill: isDarkTheme ? "#fff" : "#05080F" }),
13876
+ /* @__PURE__ */ jsx40(
13755
13877
  "rect",
13756
13878
  {
13757
13879
  className: "benefit-futures-line benefit-futures-line--1",
@@ -13762,7 +13884,7 @@ function BenefitIcon({ name }) {
13762
13884
  fill: isDarkTheme ? "#fff" : "#05080F"
13763
13885
  }
13764
13886
  ),
13765
- /* @__PURE__ */ jsx39(
13887
+ /* @__PURE__ */ jsx40(
13766
13888
  "rect",
13767
13889
  {
13768
13890
  className: "benefit-futures-line benefit-futures-line--2",
@@ -13773,7 +13895,7 @@ function BenefitIcon({ name }) {
13773
13895
  fill: isDarkTheme ? "#fff" : "#05080F"
13774
13896
  }
13775
13897
  ),
13776
- /* @__PURE__ */ jsx39(
13898
+ /* @__PURE__ */ jsx40(
13777
13899
  "rect",
13778
13900
  {
13779
13901
  className: "benefit-futures-line benefit-futures-line--3",
@@ -13784,7 +13906,7 @@ function BenefitIcon({ name }) {
13784
13906
  fill: isDarkTheme ? "#fff" : "#05080F"
13785
13907
  }
13786
13908
  ),
13787
- /* @__PURE__ */ jsx39(
13909
+ /* @__PURE__ */ jsx40(
13788
13910
  "rect",
13789
13911
  {
13790
13912
  className: "benefit-futures-line benefit-futures-line--4",
@@ -13799,7 +13921,7 @@ function BenefitIcon({ name }) {
13799
13921
  }
13800
13922
  );
13801
13923
  case "products":
13802
- return /* @__PURE__ */ jsxs31(
13924
+ return /* @__PURE__ */ jsxs32(
13803
13925
  "svg",
13804
13926
  {
13805
13927
  ...sharedProps,
@@ -13809,7 +13931,7 @@ function BenefitIcon({ name }) {
13809
13931
  viewBox: "0 0 48 48",
13810
13932
  fill: "none",
13811
13933
  children: [
13812
- /* @__PURE__ */ jsx39(
13934
+ /* @__PURE__ */ jsx40(
13813
13935
  "path",
13814
13936
  {
13815
13937
  className: "benefit-product-segment benefit-product-segment--1",
@@ -13817,7 +13939,7 @@ function BenefitIcon({ name }) {
13817
13939
  fill: "#F9BB3A"
13818
13940
  }
13819
13941
  ),
13820
- /* @__PURE__ */ jsx39(
13942
+ /* @__PURE__ */ jsx40(
13821
13943
  "path",
13822
13944
  {
13823
13945
  className: "benefit-product-segment benefit-product-segment--2",
@@ -13825,7 +13947,7 @@ function BenefitIcon({ name }) {
13825
13947
  fill: isDarkTheme ? "#fff" : "#05080F"
13826
13948
  }
13827
13949
  ),
13828
- /* @__PURE__ */ jsx39(
13950
+ /* @__PURE__ */ jsx40(
13829
13951
  "path",
13830
13952
  {
13831
13953
  className: "benefit-product-segment benefit-product-segment--3",
@@ -13833,7 +13955,7 @@ function BenefitIcon({ name }) {
13833
13955
  fill: "#F9BB3A"
13834
13956
  }
13835
13957
  ),
13836
- /* @__PURE__ */ jsx39(
13958
+ /* @__PURE__ */ jsx40(
13837
13959
  "path",
13838
13960
  {
13839
13961
  className: "benefit-product-segment benefit-product-segment--4",
@@ -13845,7 +13967,7 @@ function BenefitIcon({ name }) {
13845
13967
  }
13846
13968
  );
13847
13969
  case "leverage":
13848
- return /* @__PURE__ */ jsxs31(
13970
+ return /* @__PURE__ */ jsxs32(
13849
13971
  "svg",
13850
13972
  {
13851
13973
  ...sharedProps,
@@ -13855,7 +13977,7 @@ function BenefitIcon({ name }) {
13855
13977
  viewBox: "0 0 48 48",
13856
13978
  fill: "none",
13857
13979
  children: [
13858
- /* @__PURE__ */ jsx39(
13980
+ /* @__PURE__ */ jsx40(
13859
13981
  "rect",
13860
13982
  {
13861
13983
  x: "3.49805",
@@ -13866,7 +13988,7 @@ function BenefitIcon({ name }) {
13866
13988
  fill: "#F9BB3A"
13867
13989
  }
13868
13990
  ),
13869
- /* @__PURE__ */ jsx39(
13991
+ /* @__PURE__ */ jsx40(
13870
13992
  "rect",
13871
13993
  {
13872
13994
  x: "6.49365",
@@ -13877,7 +13999,7 @@ function BenefitIcon({ name }) {
13877
13999
  fill: "#F9BB3A"
13878
14000
  }
13879
14001
  ),
13880
- /* @__PURE__ */ jsx39(
14002
+ /* @__PURE__ */ jsx40(
13881
14003
  "rect",
13882
14004
  {
13883
14005
  x: "2",
@@ -13888,15 +14010,15 @@ function BenefitIcon({ name }) {
13888
14010
  fill: "#F9BB3A"
13889
14011
  }
13890
14012
  ),
13891
- /* @__PURE__ */ jsxs31("g", { className: "benefit-writing-pen", children: [
13892
- /* @__PURE__ */ jsx39(
14013
+ /* @__PURE__ */ jsxs32("g", { className: "benefit-writing-pen", children: [
14014
+ /* @__PURE__ */ jsx40(
13893
14015
  "path",
13894
14016
  {
13895
14017
  d: "M34.0837 39.3882L32.7452 35.373C32.3883 34.3021 33.2991 33.2361 34.4126 33.4217L38.4278 34.0909C39.556 34.279 40.0658 35.6111 39.3512 36.5042L36.6744 39.8502C35.9328 40.7772 34.4591 40.5144 34.0837 39.3882Z",
13896
14018
  fill: isDarkTheme ? "#fff" : "#05080F"
13897
14019
  }
13898
14020
  ),
13899
- /* @__PURE__ */ jsx39(
14021
+ /* @__PURE__ */ jsx40(
13900
14022
  "rect",
13901
14023
  {
13902
14024
  x: "37.9883",
@@ -13913,7 +14035,7 @@ function BenefitIcon({ name }) {
13913
14035
  }
13914
14036
  );
13915
14037
  case "economy":
13916
- return /* @__PURE__ */ jsxs31(
14038
+ return /* @__PURE__ */ jsxs32(
13917
14039
  "svg",
13918
14040
  {
13919
14041
  ...sharedProps,
@@ -13923,7 +14045,7 @@ function BenefitIcon({ name }) {
13923
14045
  viewBox: "0 0 48 48",
13924
14046
  fill: "none",
13925
14047
  children: [
13926
- /* @__PURE__ */ jsx39("defs", { children: /* @__PURE__ */ jsx39("clipPath", { id: economyRevealId, clipPathUnits: "userSpaceOnUse", children: /* @__PURE__ */ jsx39(
14048
+ /* @__PURE__ */ jsx40("defs", { children: /* @__PURE__ */ jsx40("clipPath", { id: economyRevealId, clipPathUnits: "userSpaceOnUse", children: /* @__PURE__ */ jsx40(
13927
14049
  "rect",
13928
14050
  {
13929
14051
  className: "benefit-economy-reveal",
@@ -13931,7 +14053,7 @@ function BenefitIcon({ name }) {
13931
14053
  height: "48"
13932
14054
  }
13933
14055
  ) }) }),
13934
- /* @__PURE__ */ jsx39(
14056
+ /* @__PURE__ */ jsx40(
13935
14057
  "path",
13936
14058
  {
13937
14059
  d: "M19.6818 23.8565L6.5 39.402H43V11.7656L28.3182 29.902L19.6818 23.8565Z",
@@ -13939,7 +14061,7 @@ function BenefitIcon({ name }) {
13939
14061
  clipPath: `url(#${economyRevealId})`
13940
14062
  }
13941
14063
  ),
13942
- /* @__PURE__ */ jsx39(
14064
+ /* @__PURE__ */ jsx40(
13943
14065
  "line",
13944
14066
  {
13945
14067
  x1: "5.25",
@@ -13951,7 +14073,7 @@ function BenefitIcon({ name }) {
13951
14073
  strokeLinecap: "round"
13952
14074
  }
13953
14075
  ),
13954
- /* @__PURE__ */ jsx39(
14076
+ /* @__PURE__ */ jsx40(
13955
14077
  "line",
13956
14078
  {
13957
14079
  x1: "5.25",
@@ -13967,7 +14089,7 @@ function BenefitIcon({ name }) {
13967
14089
  }
13968
14090
  );
13969
14091
  case "legal":
13970
- return /* @__PURE__ */ jsxs31(
14092
+ return /* @__PURE__ */ jsxs32(
13971
14093
  "svg",
13972
14094
  {
13973
14095
  ...sharedProps,
@@ -13977,7 +14099,7 @@ function BenefitIcon({ name }) {
13977
14099
  viewBox: "0 0 48 48",
13978
14100
  fill: "none",
13979
14101
  children: [
13980
- /* @__PURE__ */ jsx39(
14102
+ /* @__PURE__ */ jsx40(
13981
14103
  "line",
13982
14104
  {
13983
14105
  x1: "5.25",
@@ -13989,7 +14111,7 @@ function BenefitIcon({ name }) {
13989
14111
  strokeLinecap: "round"
13990
14112
  }
13991
14113
  ),
13992
- /* @__PURE__ */ jsx39(
14114
+ /* @__PURE__ */ jsx40(
13993
14115
  "line",
13994
14116
  {
13995
14117
  x1: "7.25",
@@ -14001,8 +14123,8 @@ function BenefitIcon({ name }) {
14001
14123
  strokeLinecap: "round"
14002
14124
  }
14003
14125
  ),
14004
- /* @__PURE__ */ jsxs31("g", { className: "benefit-gavel", children: [
14005
- /* @__PURE__ */ jsx39(
14126
+ /* @__PURE__ */ jsxs32("g", { className: "benefit-gavel", children: [
14127
+ /* @__PURE__ */ jsx40(
14006
14128
  "rect",
14007
14129
  {
14008
14130
  x: "31.0806",
@@ -14014,7 +14136,7 @@ function BenefitIcon({ name }) {
14014
14136
  fill: "#F9BB3A"
14015
14137
  }
14016
14138
  ),
14017
- /* @__PURE__ */ jsx39(
14139
+ /* @__PURE__ */ jsx40(
14018
14140
  "rect",
14019
14141
  {
14020
14142
  x: "30.4731",
@@ -14025,14 +14147,14 @@ function BenefitIcon({ name }) {
14025
14147
  fill: "#F9BB3A"
14026
14148
  }
14027
14149
  ),
14028
- /* @__PURE__ */ jsx39(
14150
+ /* @__PURE__ */ jsx40(
14029
14151
  "path",
14030
14152
  {
14031
14153
  d: "M11.5228 19.2152C12.2194 18.6859 13.2132 18.8216 13.7425 19.5182L21.06 29.1496C21.5892 29.8462 21.4536 30.84 20.7569 31.3693L18.2341 33.286L9.00001 21.1319L11.5228 19.2152Z",
14032
14154
  fill: isDarkTheme ? "#fff" : "#05080F"
14033
14155
  }
14034
14156
  ),
14035
- /* @__PURE__ */ jsx39(
14157
+ /* @__PURE__ */ jsx40(
14036
14158
  "path",
14037
14159
  {
14038
14160
  d: "M30.0569 5.95574C29.3685 6.4958 29.2483 7.49159 29.7884 8.17992L37.2548 17.6963C37.7948 18.3846 38.7906 18.5048 39.479 17.9648L41.9716 16.0091L32.5495 4.00004L30.0569 5.95574Z",
@@ -14044,7 +14166,7 @@ function BenefitIcon({ name }) {
14044
14166
  }
14045
14167
  );
14046
14168
  case "risk":
14047
- return /* @__PURE__ */ jsxs31(
14169
+ return /* @__PURE__ */ jsxs32(
14048
14170
  "svg",
14049
14171
  {
14050
14172
  ...sharedProps,
@@ -14054,14 +14176,14 @@ function BenefitIcon({ name }) {
14054
14176
  viewBox: "0 0 48 48",
14055
14177
  fill: "none",
14056
14178
  children: [
14057
- /* @__PURE__ */ jsx39(
14179
+ /* @__PURE__ */ jsx40(
14058
14180
  "path",
14059
14181
  {
14060
14182
  d: "M27.1611 7.69043C27.1654 7.69262 27.1696 7.69507 27.1738 7.69727L30.793 9.57422L40.1953 14.4492L39.2236 19.7227L36.5928 34.0059C36.1989 36.144 34.865 37.9923 32.96 39.04L27.3896 42.1035C25.2163 43.2989 22.5826 43.2989 20.4092 42.1035L14.7402 38.9863C12.8916 37.9695 11.5782 36.1965 11.1436 34.1318L10.0498 28.9346H10.0488L7 14.4492L23.8994 6L27.1611 7.69043Z",
14061
14183
  fill: "#F9BB3A"
14062
14184
  }
14063
14185
  ),
14064
- /* @__PURE__ */ jsx39(
14186
+ /* @__PURE__ */ jsx40(
14065
14187
  "rect",
14066
14188
  {
14067
14189
  className: "benefit-risk-square benefit-risk-square--2",
@@ -14072,7 +14194,7 @@ function BenefitIcon({ name }) {
14072
14194
  fill: isDarkTheme ? "#fff" : "#05080F"
14073
14195
  }
14074
14196
  ),
14075
- /* @__PURE__ */ jsx39(
14197
+ /* @__PURE__ */ jsx40(
14076
14198
  "rect",
14077
14199
  {
14078
14200
  className: "benefit-risk-square benefit-risk-square--3",
@@ -14083,7 +14205,7 @@ function BenefitIcon({ name }) {
14083
14205
  fill: isDarkTheme ? "#fff" : "#05080F"
14084
14206
  }
14085
14207
  ),
14086
- /* @__PURE__ */ jsx39(
14208
+ /* @__PURE__ */ jsx40(
14087
14209
  "rect",
14088
14210
  {
14089
14211
  className: "benefit-risk-square benefit-risk-square--1",
@@ -14101,20 +14223,20 @@ function BenefitIcon({ name }) {
14101
14223
  }
14102
14224
 
14103
14225
  // src/commodity-original/components/LandingPage/BenefitsSection.tsx
14104
- import { jsx as jsx40, jsxs as jsxs32 } from "react/jsx-runtime";
14226
+ import { jsx as jsx41, jsxs as jsxs33 } from "react/jsx-runtime";
14105
14227
  function BenefitCopy({
14106
14228
  body,
14107
14229
  emphasizedWords
14108
14230
  }) {
14109
14231
  if (!emphasizedWords?.length) {
14110
- return /* @__PURE__ */ jsx40(ExactText, { cmsAs: "p", children: body });
14232
+ return /* @__PURE__ */ jsx41(ExactText, { cmsAs: "p", children: body });
14111
14233
  }
14112
14234
  const pattern = new RegExp(
14113
14235
  `(${emphasizedWords.map((word) => word.replace(/[.*+?^${}()|[\]\\]/g, "\\$&")).join("|")})`,
14114
14236
  "g"
14115
14237
  );
14116
- return /* @__PURE__ */ jsx40(ExactText, { cmsAs: "p", children: body.split(pattern).map(
14117
- (part, index) => emphasizedWords.includes(part) ? /* @__PURE__ */ jsx40(ExactText, { cmsAs: "strong", children: part }, `${part}-${index}`) : part
14238
+ return /* @__PURE__ */ jsx41(ExactText, { cmsAs: "p", children: body.split(pattern).map(
14239
+ (part, index) => emphasizedWords.includes(part) ? /* @__PURE__ */ jsx41(ExactText, { cmsAs: "strong", children: part }, `${part}-${index}`) : part
14118
14240
  ) });
14119
14241
  }
14120
14242
  function BenefitsSection() {
@@ -14134,8 +14256,8 @@ function BenefitsSection() {
14134
14256
  (current) => current.includes(index) ? current.filter((cardIndex) => cardIndex !== index) : [...current, index]
14135
14257
  );
14136
14258
  };
14137
- return /* @__PURE__ */ jsx40("section", { className: "benefits section", id: "news", children: /* @__PURE__ */ jsxs32("div", { className: "container", children: [
14138
- /* @__PURE__ */ jsx40(
14259
+ return /* @__PURE__ */ jsx41("section", { className: "benefits section", id: "news", children: /* @__PURE__ */ jsxs33("div", { className: "container", children: [
14260
+ /* @__PURE__ */ jsx41(
14139
14261
  Title_default,
14140
14262
  {
14141
14263
  classname: "section-heading",
@@ -14143,26 +14265,26 @@ function BenefitsSection() {
14143
14265
  desc: t("landing.benefits.description")
14144
14266
  }
14145
14267
  ),
14146
- /* @__PURE__ */ jsx40("div", { className: "benefit-grid", children: benefitItems.map((item, index) => {
14268
+ /* @__PURE__ */ jsx41("div", { className: "benefit-grid", children: benefitItems.map((item, index) => {
14147
14269
  const isExpanded = expandedCards.includes(index);
14148
14270
  const contentId = `benefit-content-${index}`;
14149
14271
  const title = t(`landing.benefits.cards.${index}.title`);
14150
14272
  const body = t(`landing.benefits.cards.${index}.body`);
14151
- return /* @__PURE__ */ jsxs32(
14273
+ return /* @__PURE__ */ jsxs33(
14152
14274
  "article",
14153
14275
  {
14154
14276
  className: `benefit-card${index >= 4 ? " benefit-card--tall" : ""}${isExpanded ? " is-expanded" : ""}`,
14155
14277
  children: [
14156
- /* @__PURE__ */ jsxs32("div", { className: "benefit-inner", children: [
14157
- /* @__PURE__ */ jsx40(BenefitIcon, { name: item.icon }),
14158
- /* @__PURE__ */ jsx40(ExactText, { cmsAs: "h3", children: title }),
14159
- /* @__PURE__ */ jsx40(
14278
+ /* @__PURE__ */ jsxs33("div", { className: "benefit-inner", children: [
14279
+ /* @__PURE__ */ jsx41(BenefitIcon, { name: item.icon }),
14280
+ /* @__PURE__ */ jsx41(ExactText, { cmsAs: "h3", children: title }),
14281
+ /* @__PURE__ */ jsx41(
14160
14282
  "div",
14161
14283
  {
14162
14284
  className: "benefit-body",
14163
14285
  id: contentId,
14164
14286
  "aria-hidden": !isExpanded,
14165
- children: /* @__PURE__ */ jsx40("div", { className: "benefit-body-clip", children: /* @__PURE__ */ jsx40(
14287
+ children: /* @__PURE__ */ jsx41("div", { className: "benefit-body-clip", children: /* @__PURE__ */ jsx41(
14166
14288
  BenefitCopy,
14167
14289
  {
14168
14290
  body,
@@ -14172,7 +14294,7 @@ function BenefitsSection() {
14172
14294
  }
14173
14295
  )
14174
14296
  ] }),
14175
- /* @__PURE__ */ jsx40(
14297
+ /* @__PURE__ */ jsx41(
14176
14298
  "button",
14177
14299
  {
14178
14300
  className: "benefit-toggle",
@@ -14194,7 +14316,7 @@ function BenefitsSection() {
14194
14316
  // src/commodity-original/components/LandingPage/CommoditiesSection.tsx
14195
14317
  import Image11 from "next/image.js";
14196
14318
  import { useTranslation as useTranslation19 } from "react-i18next";
14197
- import { jsx as jsx41, jsxs as jsxs33 } from "react/jsx-runtime";
14319
+ import { jsx as jsx42, jsxs as jsxs34 } from "react/jsx-runtime";
14198
14320
  function CommodityProduct({
14199
14321
  item,
14200
14322
  groupIndex,
@@ -14205,9 +14327,9 @@ function CommodityProduct({
14205
14327
  const name = t(`${key}.name`);
14206
14328
  const imageField = `commodityGroup${groupIndex + 1}Item${itemIndex + 1}Image`;
14207
14329
  const image2 = useCmsImage(imageField, item.image);
14208
- return /* @__PURE__ */ jsxs33("div", { className: "commodity-product", children: [
14209
- /* @__PURE__ */ jsxs33("div", { className: `commodity-image commodity-image--${item.imageClassName} wikex-cms-image-host`, children: [
14210
- /* @__PURE__ */ jsx41(
14330
+ return /* @__PURE__ */ jsxs34("div", { className: "commodity-product", children: [
14331
+ /* @__PURE__ */ jsxs34("div", { className: `commodity-image commodity-image--${item.imageClassName} wikex-cms-image-host`, children: [
14332
+ /* @__PURE__ */ jsx42(
14211
14333
  Image11,
14212
14334
  {
14213
14335
  className: "commodity-sprite",
@@ -14218,14 +14340,14 @@ function CommodityProduct({
14218
14340
  sizes: "(max-width: 767px) 98px, 136px"
14219
14341
  }
14220
14342
  ),
14221
- /* @__PURE__ */ jsx41(CmsImageAction, { field: imageField })
14343
+ /* @__PURE__ */ jsx42(CmsImageAction, { field: imageField })
14222
14344
  ] }),
14223
- /* @__PURE__ */ jsxs33("div", { className: "commodity-copy", children: [
14224
- /* @__PURE__ */ jsx41(ExactText, { cmsAs: "h3", children: name }),
14225
- /* @__PURE__ */ jsx41(ExactText, { cmsAs: "p", children: t(`${key}.body`) }),
14226
- /* @__PURE__ */ jsxs33("a", { href: "#register", children: [
14345
+ /* @__PURE__ */ jsxs34("div", { className: "commodity-copy", children: [
14346
+ /* @__PURE__ */ jsx42(ExactText, { cmsAs: "h3", children: name }),
14347
+ /* @__PURE__ */ jsx42(ExactText, { cmsAs: "p", children: t(`${key}.body`) }),
14348
+ /* @__PURE__ */ jsxs34("a", { href: "#register", children: [
14227
14349
  t(`${key}.cta`),
14228
- /* @__PURE__ */ jsx41(
14350
+ /* @__PURE__ */ jsx42(
14229
14351
  Image11,
14230
14352
  {
14231
14353
  src: "/landing-assets/commodity-link-arrow.svg",
@@ -14241,26 +14363,26 @@ function CommodityProduct({
14241
14363
  }
14242
14364
  function CommoditiesSection() {
14243
14365
  const { t } = useTranslation19();
14244
- return /* @__PURE__ */ jsx41("section", { className: "commodities section", id: "fees", children: /* @__PURE__ */ jsxs33("div", { className: "container", children: [
14245
- /* @__PURE__ */ jsx41(
14366
+ return /* @__PURE__ */ jsx42("section", { className: "commodities section", id: "fees", children: /* @__PURE__ */ jsxs34("div", { className: "container", children: [
14367
+ /* @__PURE__ */ jsx42(
14246
14368
  Title_default,
14247
14369
  {
14248
14370
  classname: "commodities-title",
14249
14371
  title: t("landing.commodities.title")
14250
14372
  }
14251
14373
  ),
14252
- /* @__PURE__ */ jsx41("div", { className: "commodity-list", children: commodityGroups.map((group, groupIndex) => {
14374
+ /* @__PURE__ */ jsx42("div", { className: "commodity-list", children: commodityGroups.map((group, groupIndex) => {
14253
14375
  const groupTitle = t(
14254
14376
  `landing.commodities.groups.${groupIndex}.title`
14255
14377
  );
14256
- return /* @__PURE__ */ jsxs33(
14378
+ return /* @__PURE__ */ jsxs34(
14257
14379
  "article",
14258
14380
  {
14259
14381
  className: `commodity-row ${group.className}`,
14260
14382
  id: `commodity-${group.className}`,
14261
14383
  children: [
14262
- /* @__PURE__ */ jsxs33("div", { className: "commodity-label", children: [
14263
- /* @__PURE__ */ jsx41(
14384
+ /* @__PURE__ */ jsxs34("div", { className: "commodity-label", children: [
14385
+ /* @__PURE__ */ jsx42(
14264
14386
  Image11,
14265
14387
  {
14266
14388
  className: "commodity-label-panel",
@@ -14271,7 +14393,7 @@ function CommoditiesSection() {
14271
14393
  "aria-hidden": "true"
14272
14394
  }
14273
14395
  ),
14274
- /* @__PURE__ */ jsx41(
14396
+ /* @__PURE__ */ jsx42(
14275
14397
  Image11,
14276
14398
  {
14277
14399
  className: "commodity-label-tail",
@@ -14282,7 +14404,7 @@ function CommoditiesSection() {
14282
14404
  "aria-hidden": "true"
14283
14405
  }
14284
14406
  ),
14285
- /* @__PURE__ */ jsx41(
14407
+ /* @__PURE__ */ jsx42(
14286
14408
  Image11,
14287
14409
  {
14288
14410
  className: "commodity-label-panel-mobile",
@@ -14293,7 +14415,7 @@ function CommoditiesSection() {
14293
14415
  "aria-hidden": "true"
14294
14416
  }
14295
14417
  ),
14296
- /* @__PURE__ */ jsx41("span", { className: "commodity-label-icon", "aria-hidden": "true", children: /* @__PURE__ */ jsx41(
14418
+ /* @__PURE__ */ jsx42("span", { className: "commodity-label-icon", "aria-hidden": "true", children: /* @__PURE__ */ jsx42(
14297
14419
  Image11,
14298
14420
  {
14299
14421
  src: group.icon,
@@ -14302,10 +14424,10 @@ function CommoditiesSection() {
14302
14424
  height: group.iconHeight
14303
14425
  }
14304
14426
  ) }),
14305
- /* @__PURE__ */ jsx41(ExactText, { cmsAs: "h3", children: groupTitle })
14427
+ /* @__PURE__ */ jsx42(ExactText, { cmsAs: "h3", children: groupTitle })
14306
14428
  ] }),
14307
- /* @__PURE__ */ jsxs33("div", { className: "commodity-carousel", children: [
14308
- /* @__PURE__ */ jsx41(
14429
+ /* @__PURE__ */ jsxs34("div", { className: "commodity-carousel", children: [
14430
+ /* @__PURE__ */ jsx42(
14309
14431
  "button",
14310
14432
  {
14311
14433
  className: "commodity-nav",
@@ -14313,7 +14435,7 @@ function CommoditiesSection() {
14313
14435
  "aria-label": t("landing.commodities.previous", {
14314
14436
  group: groupTitle
14315
14437
  }),
14316
- children: /* @__PURE__ */ jsx41(
14438
+ children: /* @__PURE__ */ jsx42(
14317
14439
  Image11,
14318
14440
  {
14319
14441
  src: "/landing-assets/commodity-arrow-left.svg",
@@ -14324,7 +14446,7 @@ function CommoditiesSection() {
14324
14446
  )
14325
14447
  }
14326
14448
  ),
14327
- /* @__PURE__ */ jsx41("div", { className: "commodity-products", children: group.items.map((item, itemIndex) => /* @__PURE__ */ jsx41(
14449
+ /* @__PURE__ */ jsx42("div", { className: "commodity-products", children: group.items.map((item, itemIndex) => /* @__PURE__ */ jsx42(
14328
14450
  CommodityProduct,
14329
14451
  {
14330
14452
  item,
@@ -14333,7 +14455,7 @@ function CommoditiesSection() {
14333
14455
  },
14334
14456
  item.imageClassName
14335
14457
  )) }),
14336
- /* @__PURE__ */ jsx41(
14458
+ /* @__PURE__ */ jsx42(
14337
14459
  "button",
14338
14460
  {
14339
14461
  className: "commodity-nav",
@@ -14341,7 +14463,7 @@ function CommoditiesSection() {
14341
14463
  "aria-label": t("landing.commodities.next", {
14342
14464
  group: groupTitle
14343
14465
  }),
14344
- children: /* @__PURE__ */ jsx41(
14466
+ children: /* @__PURE__ */ jsx42(
14345
14467
  Image11,
14346
14468
  {
14347
14469
  src: "/landing-assets/commodity-arrow-right.svg",
@@ -14364,7 +14486,7 @@ function CommoditiesSection() {
14364
14486
  // src/commodity-original/components/LandingPage/DownloadSection.tsx
14365
14487
  import Image12 from "next/image.js";
14366
14488
  import { useTranslation as useTranslation20 } from "react-i18next";
14367
- import { jsx as jsx42, jsxs as jsxs34 } from "react/jsx-runtime";
14489
+ import { jsx as jsx43, jsxs as jsxs35 } from "react/jsx-runtime";
14368
14490
  var downloadBadges = [
14369
14491
  {
14370
14492
  src: "/landing-assets/footer-appstore-icon.svg",
@@ -14401,17 +14523,17 @@ function DownloadSection() {
14401
14523
  "downloadPhoneImage",
14402
14524
  "/landing-assets/download-phone.webp"
14403
14525
  );
14404
- const downloadLinks = /* @__PURE__ */ jsx42("div", { className: "download-links", children: downloadBadges.map((badge) => /* @__PURE__ */ jsxs34(
14526
+ const downloadLinks = /* @__PURE__ */ jsx43("div", { className: "download-links", children: downloadBadges.map((badge) => /* @__PURE__ */ jsxs35(
14405
14527
  CmsDownloadButtonLink,
14406
14528
  {
14407
14529
  field: `${language}.${badge.prefixKey}`,
14408
14530
  className: `download-badge ${badge.className}`,
14409
14531
  "aria-label": t(badge.altKey),
14410
14532
  children: [
14411
- /* @__PURE__ */ jsx42(Image12, { src: badge.src, alt: "", width: 28, height: 28 }),
14412
- /* @__PURE__ */ jsxs34("span", { className: "download-badge-copy", children: [
14413
- /* @__PURE__ */ jsx42(ExactText, { cmsAs: "small", cmsField: badge.prefixKey, children: t(badge.prefixKey) }),
14414
- badge.name === "Google Play" ? /* @__PURE__ */ jsx42(
14533
+ /* @__PURE__ */ jsx43(Image12, { src: badge.src, alt: "", width: 28, height: 28 }),
14534
+ /* @__PURE__ */ jsxs35("span", { className: "download-badge-copy", children: [
14535
+ /* @__PURE__ */ jsx43(ExactText, { cmsAs: "small", cmsField: badge.prefixKey, children: t(badge.prefixKey) }),
14536
+ badge.name === "Google Play" ? /* @__PURE__ */ jsx43(
14415
14537
  Image12,
14416
14538
  {
14417
14539
  className: "download-googleplay-wordmark",
@@ -14420,20 +14542,20 @@ function DownloadSection() {
14420
14542
  width: 89,
14421
14543
  height: 18
14422
14544
  }
14423
- ) : /* @__PURE__ */ jsx42("strong", { children: badge.name })
14545
+ ) : /* @__PURE__ */ jsx43("strong", { children: badge.name })
14424
14546
  ] })
14425
14547
  ]
14426
14548
  },
14427
14549
  badge.src
14428
14550
  )) });
14429
- return /* @__PURE__ */ jsx42("section", { className: "download section", id: "download", children: /* @__PURE__ */ jsxs34("div", { className: "container download-card", children: [
14430
- /* @__PURE__ */ jsxs34("div", { className: "download-copy", children: [
14431
- /* @__PURE__ */ jsx42(ExactText, { cmsAs: "h2", className: "download-mobile-title", children: t("landing.download.title") }),
14432
- /* @__PURE__ */ jsxs34("div", { className: "download-offer-row", children: [
14433
- /* @__PURE__ */ jsxs34("div", { className: "reward", children: [
14434
- /* @__PURE__ */ jsx42(ExactText, { cmsAs: "h2", className: "download-desktop-title", children: t("landing.download.desktopTitle") }),
14435
- /* @__PURE__ */ jsx42(ExactText, { cmsAs: "div", className: "reward-amount", children: reward }),
14436
- /* @__PURE__ */ jsx42("span", { className: "reward-divider", "aria-hidden": "true", children: /* @__PURE__ */ jsx42(
14551
+ return /* @__PURE__ */ jsx43("section", { className: "download section", id: "download", children: /* @__PURE__ */ jsxs35("div", { className: "container download-card", children: [
14552
+ /* @__PURE__ */ jsxs35("div", { className: "download-copy", children: [
14553
+ /* @__PURE__ */ jsx43(ExactText, { cmsAs: "h2", className: "download-mobile-title", children: t("landing.download.title") }),
14554
+ /* @__PURE__ */ jsxs35("div", { className: "download-offer-row", children: [
14555
+ /* @__PURE__ */ jsxs35("div", { className: "reward", children: [
14556
+ /* @__PURE__ */ jsx43(ExactText, { cmsAs: "h2", className: "download-desktop-title", children: t("landing.download.desktopTitle") }),
14557
+ /* @__PURE__ */ jsx43(ExactText, { cmsAs: "div", className: "reward-amount", children: reward }),
14558
+ /* @__PURE__ */ jsx43("span", { className: "reward-divider", "aria-hidden": "true", children: /* @__PURE__ */ jsx43(
14437
14559
  Image12,
14438
14560
  {
14439
14561
  src: "/landing-assets/download-offer-divider.svg",
@@ -14442,12 +14564,12 @@ function DownloadSection() {
14442
14564
  height: 18
14443
14565
  }
14444
14566
  ) }),
14445
- /* @__PURE__ */ jsx42(ExactText, { cmsAs: "p", children: t("landing.download.description") })
14567
+ /* @__PURE__ */ jsx43(ExactText, { cmsAs: "p", children: t("landing.download.description") })
14446
14568
  ] }),
14447
- /* @__PURE__ */ jsxs34("div", { className: "download-qr-links", children: [
14448
- /* @__PURE__ */ jsxs34("div", { className: "download-qr wikex-cms-image-host", children: [
14449
- /* @__PURE__ */ jsx42(ExactText, { cmsAs: "strong", children: t("landing.download.scan") }),
14450
- /* @__PURE__ */ jsx42("span", { children: /* @__PURE__ */ jsx42(
14569
+ /* @__PURE__ */ jsxs35("div", { className: "download-qr-links", children: [
14570
+ /* @__PURE__ */ jsxs35("div", { className: "download-qr wikex-cms-image-host", children: [
14571
+ /* @__PURE__ */ jsx43(ExactText, { cmsAs: "strong", children: t("landing.download.scan") }),
14572
+ /* @__PURE__ */ jsx43("span", { children: /* @__PURE__ */ jsx43(
14451
14573
  Image12,
14452
14574
  {
14453
14575
  src: qrImage,
@@ -14456,21 +14578,21 @@ function DownloadSection() {
14456
14578
  height: 140
14457
14579
  }
14458
14580
  ) }),
14459
- /* @__PURE__ */ jsx42(CmsImageAction, { field: "downloadQrImage" })
14581
+ /* @__PURE__ */ jsx43(CmsImageAction, { field: "downloadQrImage" })
14460
14582
  ] }),
14461
14583
  downloadLinks
14462
14584
  ] })
14463
14585
  ] })
14464
14586
  ] }),
14465
- /* @__PURE__ */ jsxs34(
14587
+ /* @__PURE__ */ jsxs35(
14466
14588
  "div",
14467
14589
  {
14468
14590
  className: "download-devices",
14469
14591
  role: "img",
14470
14592
  "aria-label": t("landing.download.devicesAlt"),
14471
14593
  children: [
14472
- /* @__PURE__ */ jsxs34("div", { className: "download-laptop wikex-cms-image-host", children: [
14473
- /* @__PURE__ */ jsx42(
14594
+ /* @__PURE__ */ jsxs35("div", { className: "download-laptop wikex-cms-image-host", children: [
14595
+ /* @__PURE__ */ jsx43(
14474
14596
  Image12,
14475
14597
  {
14476
14598
  src: laptopImage,
@@ -14479,10 +14601,10 @@ function DownloadSection() {
14479
14601
  sizes: "(max-width: 767px) 148vw, 879px"
14480
14602
  }
14481
14603
  ),
14482
- /* @__PURE__ */ jsx42(CmsImageAction, { field: "downloadLaptopImage" })
14604
+ /* @__PURE__ */ jsx43(CmsImageAction, { field: "downloadLaptopImage" })
14483
14605
  ] }),
14484
- /* @__PURE__ */ jsxs34("div", { className: "download-phone wikex-cms-image-host", children: [
14485
- /* @__PURE__ */ jsx42(
14606
+ /* @__PURE__ */ jsxs35("div", { className: "download-phone wikex-cms-image-host", children: [
14607
+ /* @__PURE__ */ jsx43(
14486
14608
  Image12,
14487
14609
  {
14488
14610
  src: phoneImage,
@@ -14491,7 +14613,7 @@ function DownloadSection() {
14491
14613
  sizes: "(max-width: 767px) 69vw, 408px"
14492
14614
  }
14493
14615
  ),
14494
- /* @__PURE__ */ jsx42(CmsImageAction, { field: "downloadPhoneImage" })
14616
+ /* @__PURE__ */ jsx43(CmsImageAction, { field: "downloadPhoneImage" })
14495
14617
  ] })
14496
14618
  ]
14497
14619
  }
@@ -14505,10 +14627,10 @@ import { Minus, Plus } from "lucide";
14505
14627
  import { MorphIcon as MorphIcon4 } from "morphicons/react";
14506
14628
  import { Collapsible } from "radix-ui";
14507
14629
  import { useTranslation as useTranslation21 } from "react-i18next";
14508
- import { jsx as jsx43, jsxs as jsxs35 } from "react/jsx-runtime";
14630
+ import { jsx as jsx44, jsxs as jsxs36 } from "react/jsx-runtime";
14509
14631
  function FaqItem({ question, answer, order }) {
14510
14632
  const [isOpen, setIsOpen] = useState15(false);
14511
- return /* @__PURE__ */ jsxs35(
14633
+ return /* @__PURE__ */ jsxs36(
14512
14634
  Collapsible.Root,
14513
14635
  {
14514
14636
  className: "faq-item",
@@ -14516,9 +14638,9 @@ function FaqItem({ question, answer, order }) {
14516
14638
  onOpenChange: setIsOpen,
14517
14639
  style: { "--faq-order": order },
14518
14640
  children: [
14519
- /* @__PURE__ */ jsxs35(Collapsible.Trigger, { className: "faq-trigger", children: [
14520
- /* @__PURE__ */ jsx43(ExactText, { cmsAs: "span", children: question }),
14521
- /* @__PURE__ */ jsx43("span", { className: "faq-trigger-icon", "aria-hidden": "true", children: /* @__PURE__ */ jsx43(
14641
+ /* @__PURE__ */ jsxs36(Collapsible.Trigger, { className: "faq-trigger", children: [
14642
+ /* @__PURE__ */ jsx44(ExactText, { cmsAs: "span", children: question }),
14643
+ /* @__PURE__ */ jsx44("span", { className: "faq-trigger-icon", "aria-hidden": "true", children: /* @__PURE__ */ jsx44(
14522
14644
  MorphIcon4,
14523
14645
  {
14524
14646
  icon: isOpen ? Minus : Plus,
@@ -14529,7 +14651,7 @@ function FaqItem({ question, answer, order }) {
14529
14651
  }
14530
14652
  ) })
14531
14653
  ] }),
14532
- /* @__PURE__ */ jsx43(Collapsible.Content, { className: "faq-content", forceMount: true, children: /* @__PURE__ */ jsx43("div", { className: "faq-content-clip", children: /* @__PURE__ */ jsx43("div", { className: "faq-answer", children: /* @__PURE__ */ jsx43(ExactText, { cmsAs: "p", children: answer }) }) }) })
14654
+ /* @__PURE__ */ jsx44(Collapsible.Content, { className: "faq-content", forceMount: true, children: /* @__PURE__ */ jsx44("div", { className: "faq-content-clip", children: /* @__PURE__ */ jsx44("div", { className: "faq-answer", children: /* @__PURE__ */ jsx44(ExactText, { cmsAs: "p", children: answer }) }) }) })
14533
14655
  ]
14534
14656
  }
14535
14657
  );
@@ -14546,9 +14668,9 @@ function FaqSection2() {
14546
14668
  faqs.slice(0, firstColumnLength),
14547
14669
  faqs.slice(firstColumnLength)
14548
14670
  ];
14549
- return /* @__PURE__ */ jsx43("section", { className: "faq section", id: "faq", children: /* @__PURE__ */ jsxs35("div", { className: "container", children: [
14550
- /* @__PURE__ */ jsx43(Title_default, { title: t("landing.faq.title") }),
14551
- /* @__PURE__ */ jsx43("div", { className: "faq-grid", children: faqColumns.map((column, columnIndex) => /* @__PURE__ */ jsx43("div", { className: "faq-column", children: column.map((item, itemIndex) => /* @__PURE__ */ jsx43(
14671
+ return /* @__PURE__ */ jsx44("section", { className: "faq section", id: "faq", children: /* @__PURE__ */ jsxs36("div", { className: "container", children: [
14672
+ /* @__PURE__ */ jsx44(Title_default, { title: t("landing.faq.title") }),
14673
+ /* @__PURE__ */ jsx44("div", { className: "faq-grid", children: faqColumns.map((column, columnIndex) => /* @__PURE__ */ jsx44("div", { className: "faq-column", children: column.map((item, itemIndex) => /* @__PURE__ */ jsx44(
14552
14674
  FaqItem,
14553
14675
  {
14554
14676
  ...item,
@@ -14564,7 +14686,7 @@ import { useTranslation as useTranslation23 } from "react-i18next";
14564
14686
 
14565
14687
  // src/commodity-original/components/Background/index.tsx
14566
14688
  import { jsx as _jsx8, jsxs as _jsxs7 } from "react/jsx-runtime";
14567
- import { memo, useEffect as useEffect10, useId as useId3, useRef as useRef8 } from "react";
14689
+ import { memo, useEffect as useEffect10, useId as useId3, useRef as useRef9 } from "react";
14568
14690
  import { styled as styled29 } from "styled-components";
14569
14691
  var TWO_PI = Math.PI * 2;
14570
14692
  var DotContainer = styled29.div.withConfig({
@@ -14573,27 +14695,27 @@ var DotContainer = styled29.div.withConfig({
14573
14695
  `position:absolute;top:-130px;left:-200px;width:50%;height:100%;border-radius:20%;overflow:hidden;pointer-events:none;`
14574
14696
  ]);
14575
14697
  var DotField = /* @__PURE__ */ memo(({ dotRadius = 1.5, dotSpacing = 14, cursorRadius = 500, cursorForce = 0.1, bulgeOnly = true, bulgeStrength = 67, glowRadius = 160, sparkle = false, waveAmplitude = 0, gradientFrom = "rgba(168, 85, 247, 0.35)", gradientTo = "rgba(180, 151, 207, 0.25)", glowColor = "#120F17", ...rest }) => {
14576
- const canvasRef = useRef8(null);
14577
- const svgRef = useRef8(null);
14578
- const glowRef = useRef8(null);
14579
- const dotsRef = useRef8([]);
14580
- const mouseRef = useRef8({
14698
+ const canvasRef = useRef9(null);
14699
+ const svgRef = useRef9(null);
14700
+ const glowRef = useRef9(null);
14701
+ const dotsRef = useRef9([]);
14702
+ const mouseRef = useRef9({
14581
14703
  x: -9999,
14582
14704
  y: -9999,
14583
14705
  prevX: -9999,
14584
14706
  prevY: -9999,
14585
14707
  speed: 0
14586
14708
  });
14587
- const rafRef = useRef8(null);
14588
- const sizeRef = useRef8({
14709
+ const rafRef = useRef9(null);
14710
+ const sizeRef = useRef9({
14589
14711
  w: 0,
14590
14712
  h: 0,
14591
14713
  offsetX: 0,
14592
14714
  offsetY: 0
14593
14715
  });
14594
- const glowOpacity = useRef8(0);
14595
- const engagement = useRef8(0);
14596
- const propsRef = useRef8({});
14716
+ const glowOpacity = useRef9(0);
14717
+ const engagement = useRef9(0);
14718
+ const propsRef = useRef9({});
14597
14719
  propsRef.current = {
14598
14720
  dotRadius,
14599
14721
  dotSpacing,
@@ -14606,7 +14728,7 @@ var DotField = /* @__PURE__ */ memo(({ dotRadius = 1.5, dotSpacing = 14, cursorR
14606
14728
  gradientFrom,
14607
14729
  gradientTo
14608
14730
  };
14609
- const rebuildRef = useRef8(null);
14731
+ const rebuildRef = useRef9(null);
14610
14732
  const glowId = `dot-field-glow-${useId3().replace(/[^a-zA-Z0-9_-]/g, "")}`;
14611
14733
  useEffect10(() => {
14612
14734
  const canvas = canvasRef.current;
@@ -14896,7 +15018,7 @@ var Background_default = DotField;
14896
15018
  // src/commodity-original/components/LandingPage/HeroArt/index.tsx
14897
15019
  import Image13 from "next/image.js";
14898
15020
  import { useTranslation as useTranslation22 } from "react-i18next";
14899
- import { jsx as jsx44, jsxs as jsxs36 } from "react/jsx-runtime";
15021
+ import { jsx as jsx45, jsxs as jsxs37 } from "react/jsx-runtime";
14900
15022
  var HeroArtBlock = () => {
14901
15023
  const { t } = useTranslation22();
14902
15024
  const mainPhone = useCmsImage("heroMainPhoneImage", "/landing-assets/key_mock_phone.webp");
@@ -14924,11 +15046,11 @@ var HeroArtBlock = () => {
14924
15046
  "heroLabelTwoMobileImage",
14925
15047
  "/landing-assets/key_mock_2_mobile.webp"
14926
15048
  );
14927
- return /* @__PURE__ */ jsxs36(HeroArt, { "data-hero-art": true, "aria-label": t("landing.hero.artAlt"), children: [
14928
- /* @__PURE__ */ jsxs36(HeroImage, { className: "hero-art-desktop wikex-cms-image-host", children: [
14929
- /* @__PURE__ */ jsxs36("picture", { className: "hero-phone-picture", children: [
14930
- /* @__PURE__ */ jsx44("source", { media: "(max-width: 767px)", srcSet: mainPhoneMobile }),
14931
- /* @__PURE__ */ jsx44(
15049
+ return /* @__PURE__ */ jsxs37(HeroArt, { "data-hero-art": true, "aria-label": t("landing.hero.artAlt"), children: [
15050
+ /* @__PURE__ */ jsxs37(HeroImage, { className: "hero-art-desktop wikex-cms-image-host", children: [
15051
+ /* @__PURE__ */ jsxs37("picture", { className: "hero-phone-picture", children: [
15052
+ /* @__PURE__ */ jsx45("source", { media: "(max-width: 767px)", srcSet: mainPhoneMobile }),
15053
+ /* @__PURE__ */ jsx45(
14932
15054
  Image13,
14933
15055
  {
14934
15056
  src: mainPhone,
@@ -14940,15 +15062,15 @@ var HeroArtBlock = () => {
14940
15062
  }
14941
15063
  )
14942
15064
  ] }),
14943
- [1, 2].map((index) => /* @__PURE__ */ jsxs36("picture", { children: [
14944
- /* @__PURE__ */ jsx44(
15065
+ [1, 2].map((index) => /* @__PURE__ */ jsxs37("picture", { children: [
15066
+ /* @__PURE__ */ jsx45(
14945
15067
  "source",
14946
15068
  {
14947
15069
  media: "(max-width: 767px)",
14948
15070
  srcSet: index === 1 ? sidePhoneOneMobile : sidePhoneTwoMobile
14949
15071
  }
14950
15072
  ),
14951
- /* @__PURE__ */ jsx44(
15073
+ /* @__PURE__ */ jsx45(
14952
15074
  Image13,
14953
15075
  {
14954
15076
  src: index === 1 ? sidePhoneOne : sidePhoneTwo,
@@ -14960,35 +15082,35 @@ var HeroArtBlock = () => {
14960
15082
  }
14961
15083
  )
14962
15084
  ] }, index)),
14963
- /* @__PURE__ */ jsx44(CmsImageAction, { field: "heroMainPhoneImage" })
15085
+ /* @__PURE__ */ jsx45(CmsImageAction, { field: "heroMainPhoneImage" })
14964
15086
  ] }),
14965
- /* @__PURE__ */ jsxs36("span", { className: "label label-top", children: [
14966
- /* @__PURE__ */ jsxs36("picture", { children: [
14967
- /* @__PURE__ */ jsx44("source", { media: "(max-width: 767px)", srcSet: labelOneMobile }),
14968
- /* @__PURE__ */ jsx44(Image13, { src: labelOne, alt: t("landing.hero.desktopArtAlt"), width: 556, height: 149, loading: "eager", style: { width: "100%", height: "auto" } })
15087
+ /* @__PURE__ */ jsxs37("span", { className: "label label-top", children: [
15088
+ /* @__PURE__ */ jsxs37("picture", { children: [
15089
+ /* @__PURE__ */ jsx45("source", { media: "(max-width: 767px)", srcSet: labelOneMobile }),
15090
+ /* @__PURE__ */ jsx45(Image13, { src: labelOne, alt: t("landing.hero.desktopArtAlt"), width: 556, height: 149, loading: "eager", style: { width: "100%", height: "auto" } })
14969
15091
  ] }),
14970
- /* @__PURE__ */ jsx44(ExactText, { cmsAs: "p", children: t("landing.hero.labels.smoothTrading") })
15092
+ /* @__PURE__ */ jsx45(ExactText, { cmsAs: "p", children: t("landing.hero.labels.smoothTrading") })
14971
15093
  ] }),
14972
- /* @__PURE__ */ jsxs36("span", { className: "label label-middle", children: [
14973
- /* @__PURE__ */ jsxs36("picture", { children: [
14974
- /* @__PURE__ */ jsx44("source", { media: "(max-width: 767px)", srcSet: labelTwoMobile }),
14975
- /* @__PURE__ */ jsx44(Image13, { src: labelTwo, alt: t("landing.hero.desktopArtAlt"), width: 556, height: 149, loading: "eager", style: { width: "100%", height: "auto" } })
15094
+ /* @__PURE__ */ jsxs37("span", { className: "label label-middle", children: [
15095
+ /* @__PURE__ */ jsxs37("picture", { children: [
15096
+ /* @__PURE__ */ jsx45("source", { media: "(max-width: 767px)", srcSet: labelTwoMobile }),
15097
+ /* @__PURE__ */ jsx45(Image13, { src: labelTwo, alt: t("landing.hero.desktopArtAlt"), width: 556, height: 149, loading: "eager", style: { width: "100%", height: "auto" } })
14976
15098
  ] }),
14977
- /* @__PURE__ */ jsx44(ExactText, { cmsAs: "p", children: t("landing.hero.labels.advancedTechnology") })
15099
+ /* @__PURE__ */ jsx45(ExactText, { cmsAs: "p", children: t("landing.hero.labels.advancedTechnology") })
14978
15100
  ] }),
14979
- /* @__PURE__ */ jsxs36("span", { className: "label label-bottom", children: [
14980
- /* @__PURE__ */ jsxs36("picture", { children: [
14981
- /* @__PURE__ */ jsx44("source", { media: "(max-width: 767px)", srcSet: labelTwoMobile }),
14982
- /* @__PURE__ */ jsx44(Image13, { src: labelTwo, alt: t("landing.hero.desktopArtAlt"), width: 556, height: 149, loading: "eager", style: { width: "100%", height: "auto" } })
15101
+ /* @__PURE__ */ jsxs37("span", { className: "label label-bottom", children: [
15102
+ /* @__PURE__ */ jsxs37("picture", { children: [
15103
+ /* @__PURE__ */ jsx45("source", { media: "(max-width: 767px)", srcSet: labelTwoMobile }),
15104
+ /* @__PURE__ */ jsx45(Image13, { src: labelTwo, alt: t("landing.hero.desktopArtAlt"), width: 556, height: 149, loading: "eager", style: { width: "100%", height: "auto" } })
14983
15105
  ] }),
14984
- /* @__PURE__ */ jsx44(ExactText, { cmsAs: "p", children: t("landing.hero.labels.riskControl") })
15106
+ /* @__PURE__ */ jsx45(ExactText, { cmsAs: "p", children: t("landing.hero.labels.riskControl") })
14985
15107
  ] })
14986
15108
  ] });
14987
15109
  };
14988
15110
  var HeroArt_default = HeroArtBlock;
14989
15111
 
14990
15112
  // src/commodity-original/components/LandingPage/HeroSection.tsx
14991
- import { jsx as jsx45, jsxs as jsxs37 } from "react/jsx-runtime";
15113
+ import { jsx as jsx46, jsxs as jsxs38 } from "react/jsx-runtime";
14992
15114
  function HeroSection2() {
14993
15115
  const { t } = useTranslation23();
14994
15116
  const background = useCmsImage(
@@ -15003,8 +15125,8 @@ function HeroSection2() {
15003
15125
  "--wikex-hero-background": `url("${background}")`,
15004
15126
  "--wikex-hero-mobile-background": `url("${mobileBackground}")`
15005
15127
  };
15006
- return /* @__PURE__ */ jsxs37(Hero, { id: "keyvisual", className: "wikex-cms-image-host", style: heroStyle, children: [
15007
- /* @__PURE__ */ jsx45(
15128
+ return /* @__PURE__ */ jsxs38(Hero, { id: "keyvisual", className: "wikex-cms-image-host", style: heroStyle, children: [
15129
+ /* @__PURE__ */ jsx46(
15008
15130
  Background_default,
15009
15131
  {
15010
15132
  className: "hero-dot-field",
@@ -15022,11 +15144,11 @@ function HeroSection2() {
15022
15144
  glowColor: "transparent"
15023
15145
  }
15024
15146
  ),
15025
- /* @__PURE__ */ jsxs37(HeroInner, { children: [
15026
- /* @__PURE__ */ jsxs37(HeroCopy, { "data-hero-copy": true, children: [
15027
- /* @__PURE__ */ jsx45(ExactText, { cmsAs: HeroTitle, children: t("landing.hero.title") }),
15028
- /* @__PURE__ */ jsx45(ExactText, { cmsAs: "p", children: t("landing.hero.description") }),
15029
- /* @__PURE__ */ jsx45(
15147
+ /* @__PURE__ */ jsxs38(HeroInner, { children: [
15148
+ /* @__PURE__ */ jsxs38(HeroCopy, { "data-hero-copy": true, children: [
15149
+ /* @__PURE__ */ jsx46(ExactText, { cmsAs: HeroTitle, children: t("landing.hero.title") }),
15150
+ /* @__PURE__ */ jsx46(ExactText, { cmsAs: "p", children: t("landing.hero.description") }),
15151
+ /* @__PURE__ */ jsx46(
15030
15152
  Button_default,
15031
15153
  {
15032
15154
  size: "sm",
@@ -15045,14 +15167,14 @@ function HeroSection2() {
15045
15167
  children: t("landing.hero.cta")
15046
15168
  }
15047
15169
  ),
15048
- /* @__PURE__ */ jsx45(HeroMetrics, { children: /* @__PURE__ */ jsx45("div", { className: "hero-metrics-track", children: [false, true].map((isDuplicate) => /* @__PURE__ */ jsxs37(
15170
+ /* @__PURE__ */ jsx46(HeroMetrics, { children: /* @__PURE__ */ jsx46("div", { className: "hero-metrics-track", children: [false, true].map((isDuplicate) => /* @__PURE__ */ jsxs38(
15049
15171
  "div",
15050
15172
  {
15051
15173
  className: `hero-metrics-group${isDuplicate ? " hero-metrics-group--duplicate" : ""}`,
15052
15174
  "aria-hidden": isDuplicate || void 0,
15053
15175
  children: [
15054
- /* @__PURE__ */ jsxs37(HeroMetric, { children: [
15055
- /* @__PURE__ */ jsxs37(
15176
+ /* @__PURE__ */ jsxs38(HeroMetric, { children: [
15177
+ /* @__PURE__ */ jsxs38(
15056
15178
  "svg",
15057
15179
  {
15058
15180
  xmlns: "http://www.w3.org/2000/svg",
@@ -15061,21 +15183,21 @@ function HeroSection2() {
15061
15183
  viewBox: "0 0 60 29",
15062
15184
  fill: "none",
15063
15185
  children: [
15064
- /* @__PURE__ */ jsx45(
15186
+ /* @__PURE__ */ jsx46(
15065
15187
  "path",
15066
15188
  {
15067
15189
  d: "M55.1951 2.77154C55.0977 2.77154 55.0725 2.21901 55.1658 2.12585C55.198 2.09354 55.6537 2.06712 56.1784 2.06712H57.1322V2.41933C57.1322 2.81152 57.0428 2.87386 56.911 2.57343C56.8572 2.45094 56.7316 2.36465 56.5819 2.34748L56.3398 2.31957V3.32865C56.3398 4.16973 56.3164 4.34663 56.1998 4.39136C56.1227 4.42094 56.0237 4.42279 55.9796 4.39558C55.9355 4.36838 55.8995 3.8928 55.8995 3.33869C55.8995 2.40243 55.8875 2.33128 55.7296 2.33128C55.5529 2.33128 55.2831 2.54789 55.2831 2.68974C55.2831 2.73474 55.2435 2.77154 55.1951 2.77154Z",
15068
15190
  fill: "#150958"
15069
15191
  }
15070
15192
  ),
15071
- /* @__PURE__ */ jsx45(
15193
+ /* @__PURE__ */ jsx46(
15072
15194
  "path",
15073
15195
  {
15074
15196
  d: "M57.2271 3.50485C57.3159 3.02892 57.3903 2.51073 57.3925 2.35329C57.3958 2.11009 57.4285 2.06712 57.6102 2.06712C57.8301 2.06712 57.8514 2.10675 58.283 3.32187C58.3475 3.50352 58.4221 3.65154 58.4487 3.65092C58.5107 3.64943 59.0694 2.323 59.0694 2.17719C59.0694 1.99774 59.5092 2.04141 59.5126 2.22121C59.5141 2.30592 59.57 2.81099 59.6368 3.34353C59.7594 4.32127 59.7397 4.43935 59.4531 4.44322C59.3315 4.44481 59.2782 4.23709 59.1967 3.44338L59.1346 2.83846L58.8153 3.61843C58.384 4.67172 58.2856 4.67348 57.9124 3.63481L57.618 2.81557L57.5151 3.5929C57.404 4.43177 57.3806 4.49112 57.1908 4.4183C57.084 4.37727 57.0894 4.24299 57.2271 3.50485Z",
15075
15197
  fill: "#150958"
15076
15198
  }
15077
15199
  ),
15078
- /* @__PURE__ */ jsx45(
15200
+ /* @__PURE__ */ jsx46(
15079
15201
  "path",
15080
15202
  {
15081
15203
  fillRule: "evenodd",
@@ -15087,10 +15209,10 @@ function HeroSection2() {
15087
15209
  ]
15088
15210
  }
15089
15211
  ),
15090
- /* @__PURE__ */ jsx45(ExactText, { cmsAs: "strong", children: t("landing.hero.metrics.member") })
15212
+ /* @__PURE__ */ jsx46(ExactText, { cmsAs: "strong", children: t("landing.hero.metrics.member") })
15091
15213
  ] }),
15092
- /* @__PURE__ */ jsxs37(HeroMetric, { children: [
15093
- /* @__PURE__ */ jsxs37(
15214
+ /* @__PURE__ */ jsxs38(HeroMetric, { children: [
15215
+ /* @__PURE__ */ jsxs38(
15094
15216
  "svg",
15095
15217
  {
15096
15218
  xmlns: "http://www.w3.org/2000/svg",
@@ -15099,7 +15221,7 @@ function HeroSection2() {
15099
15221
  viewBox: "0 0 48 48",
15100
15222
  fill: "none",
15101
15223
  children: [
15102
- /* @__PURE__ */ jsx45(
15224
+ /* @__PURE__ */ jsx46(
15103
15225
  "path",
15104
15226
  {
15105
15227
  d: "M40.9995 12.5L29.0463 28.3399L21.5248 22.9674L12.9995 32.5001",
@@ -15109,7 +15231,7 @@ function HeroSection2() {
15109
15231
  strokeLinejoin: "round"
15110
15232
  }
15111
15233
  ),
15112
- /* @__PURE__ */ jsx45(
15234
+ /* @__PURE__ */ jsx46(
15113
15235
  "line",
15114
15236
  {
15115
15237
  x1: "4.4",
@@ -15121,7 +15243,7 @@ function HeroSection2() {
15121
15243
  strokeLinecap: "round"
15122
15244
  }
15123
15245
  ),
15124
- /* @__PURE__ */ jsx45(
15246
+ /* @__PURE__ */ jsx46(
15125
15247
  "line",
15126
15248
  {
15127
15249
  x1: "4.4",
@@ -15136,10 +15258,10 @@ function HeroSection2() {
15136
15258
  ]
15137
15259
  }
15138
15260
  ),
15139
- /* @__PURE__ */ jsx45(ExactText, { cmsAs: "strong", children: t("landing.hero.metrics.realtime") })
15261
+ /* @__PURE__ */ jsx46(ExactText, { cmsAs: "strong", children: t("landing.hero.metrics.realtime") })
15140
15262
  ] }),
15141
- /* @__PURE__ */ jsxs37(HeroMetric, { children: [
15142
- /* @__PURE__ */ jsxs37(
15263
+ /* @__PURE__ */ jsxs38(HeroMetric, { children: [
15264
+ /* @__PURE__ */ jsxs38(
15143
15265
  "svg",
15144
15266
  {
15145
15267
  xmlns: "http://www.w3.org/2000/svg",
@@ -15148,14 +15270,14 @@ function HeroSection2() {
15148
15270
  viewBox: "0 0 48 48",
15149
15271
  fill: "none",
15150
15272
  children: [
15151
- /* @__PURE__ */ jsx45(
15273
+ /* @__PURE__ */ jsx46(
15152
15274
  "path",
15153
15275
  {
15154
15276
  d: "M24.0801 3.33984C26.6224 3.33993 29.9834 4.22275 32.7236 6.45703C35.3768 8.62049 37.404 12.0181 37.5703 16.9736C39.2344 17.325 40.9537 18.3559 41.8281 19.6602C43.7806 22.1275 44.1485 24.7303 43.8398 26.9268C43.535 29.0954 42.5714 30.8804 41.8232 31.8086L41.8008 31.8369L41.7754 31.8623C40.3818 33.3027 38.8874 34.0358 37.5127 34.2471C37.3138 35.307 36.6732 36.5434 35.3662 37.5479C33.8506 38.7125 31.4918 39.5291 27.9775 39.4971C27.8899 39.9691 27.7256 40.3821 27.4883 40.7354C27.1252 41.2754 26.6345 41.6224 26.1416 41.8428C25.1888 42.2683 24.1307 42.2598 23.6826 42.2598C22.7738 42.2598 22.0237 42.2095 21.4131 42.0898C20.8033 41.9703 20.2786 41.7716 19.8662 41.4365C18.9985 40.7313 18.9168 39.6663 18.917 38.6855C18.9172 37.8134 19.0545 37.0868 19.3438 36.498C19.6402 35.8948 20.0763 35.4774 20.5908 35.2041C21.5492 34.6954 22.7656 34.7139 23.6826 34.7139C25.2371 34.7139 26.33 35.0233 27.0361 35.8291C27.5418 36.4063 27.7611 37.1631 27.915 37.9072C31.229 37.9501 33.232 37.1843 34.3984 36.2881C35.2581 35.6273 35.6922 34.8756 35.8779 34.2529C34.2506 33.9953 32.8168 32.8769 32.8164 31.3105V20.1143L32.8203 20.0762C32.9394 18.845 33.4676 17.9328 34.3135 17.3916C34.8177 17.0691 35.3912 16.9065 35.9766 16.8574C35.7861 12.4473 33.9818 9.53306 31.7197 7.68848C29.2973 5.71334 26.3034 4.92782 24.0801 4.92773C18.5788 4.9278 15.3521 7.18572 13.5176 9.8916C11.9613 12.1872 11.3783 14.8523 11.334 16.8525C11.9488 16.8926 12.5534 17.0535 13.082 17.3916C13.928 17.9327 14.4561 18.845 14.5752 20.0762L14.5791 20.1143V31.3105C14.5787 32.8993 13.1041 34.0294 11.4482 34.2656C9.70884 34.5135 7.56637 33.874 5.62012 31.8623L5.59473 31.8369L5.57227 31.8086C4.82411 30.8804 3.8605 29.0954 3.55566 26.9268C3.24701 24.7303 3.61491 22.1275 5.56738 19.6602C6.42764 18.377 8.1055 17.3575 9.74414 16.9902C9.76446 14.6993 10.4093 11.646 12.2031 9C14.3401 5.84806 18.0644 3.33991 24.0801 3.33984ZM23.6826 36.3027C22.6438 36.3027 21.8739 36.3219 21.3359 36.6074C21.1028 36.7313 20.9119 36.9095 20.7695 37.1992C20.62 37.5039 20.505 37.97 20.5049 38.6855C20.5047 39.69 20.6366 40.0159 20.8682 40.2041C21.0055 40.3156 21.2523 40.4398 21.7188 40.5312C22.185 40.6226 22.8192 40.6709 23.6826 40.6709C24.1611 40.6709 24.8909 40.6615 25.4932 40.3926C25.7774 40.2656 26.0068 40.0906 26.1689 39.8496C26.3229 39.6206 26.4496 39.2792 26.46 38.7539C26.2717 37.7469 26.14 37.2166 25.8418 36.876C25.5909 36.5897 25.0803 36.3028 23.6826 36.3027ZM12.2266 18.7295C11.8295 18.4756 11.2491 18.3726 10.5361 18.4619C9.07861 18.6446 7.50917 19.5741 6.8584 20.583L6.83691 20.6152L6.81348 20.6455C5.16927 22.7231 4.87146 24.8725 5.12891 26.7051C5.38704 28.5417 6.20433 30.0479 6.78711 30.7832C8.42931 32.4674 10.0724 32.8567 11.2246 32.6924C12.4651 32.5153 12.9898 31.7868 12.9902 31.3105V20.2012C12.9051 19.385 12.5877 18.9606 12.2266 18.7295ZM36.8594 18.4619C36.1465 18.3727 35.566 18.4756 35.1689 18.7295C34.8079 18.9606 34.4904 19.3851 34.4053 20.2012V31.3105C34.4057 31.7868 34.9305 32.5152 36.1709 32.6924C37.323 32.8567 38.9662 32.4673 40.6084 30.7832C41.1912 30.0479 42.0085 28.5417 42.2666 26.7051C42.524 24.8725 42.2262 22.7231 40.582 20.6455L40.5586 20.6152L40.5371 20.583C39.8863 19.5741 38.3169 18.6446 36.8594 18.4619Z",
15155
15277
  fill: "black"
15156
15278
  }
15157
15279
  ),
15158
- /* @__PURE__ */ jsx45(
15280
+ /* @__PURE__ */ jsx46(
15159
15281
  "path",
15160
15282
  {
15161
15283
  d: "M24.0801 3.33984L24.0801 2.83984H24.0801L24.0801 3.33984ZM32.7236 6.45703L33.0396 6.06953L33.0396 6.06952L32.7236 6.45703ZM37.5703 16.9736L37.0706 16.9904L37.0837 17.3819L37.467 17.4628L37.5703 16.9736ZM41.8281 19.6602L41.4128 19.9386L41.4238 19.955L41.436 19.9704L41.8281 19.6602ZM43.8398 26.9268L44.335 26.9964L44.335 26.9963L43.8398 26.9268ZM41.8232 31.8086L41.4339 31.4948L41.4315 31.4979L41.8232 31.8086ZM41.8008 31.8369L42.1543 32.1905L42.1747 32.1701L42.1925 32.1476L41.8008 31.8369ZM41.7754 31.8623L41.4218 31.5087L41.416 31.5146L41.7754 31.8623ZM37.5127 34.2471L37.4367 33.7529L37.0866 33.8067L37.0213 34.1549L37.5127 34.2471ZM35.3662 37.5479L35.6709 37.9443L35.6709 37.9443L35.3662 37.5479ZM27.9775 39.4971L27.9821 38.9971L27.5625 38.9933L27.4859 39.4058L27.9775 39.4971ZM27.4883 40.7354L27.9032 41.0143L27.9033 41.0142L27.4883 40.7354ZM26.1416 41.8428L26.3455 42.2993L26.3456 42.2992L26.1416 41.8428ZM23.6826 42.2598L23.6826 42.7598H23.6826L23.6826 42.2598ZM21.4131 42.0898L21.3169 42.5805L21.317 42.5805L21.4131 42.0898ZM19.8662 41.4365L19.5509 41.8245L19.5509 41.8246L19.8662 41.4365ZM18.917 38.6855L18.417 38.6854V38.6855L18.917 38.6855ZM19.3438 36.498L18.895 36.2775L18.895 36.2776L19.3438 36.498ZM20.5908 35.2041L20.3564 34.7625L20.3563 34.7625L20.5908 35.2041ZM23.6826 34.7139L23.6826 34.2139H23.6826L23.6826 34.7139ZM27.0361 35.8291L27.4122 35.4996L27.4122 35.4996L27.0361 35.8291ZM27.915 37.9072L27.4254 38.0085L27.5068 38.402L27.9086 38.4072L27.915 37.9072ZM34.3984 36.2881L34.7031 36.6846L34.7031 36.6845L34.3984 36.2881ZM35.8779 34.2529L36.3571 34.3958L36.5204 33.8484L35.9561 33.7591L35.8779 34.2529ZM32.8164 31.3105H32.3164V31.3107L32.8164 31.3105ZM32.8164 20.1143L32.319 20.0632L32.3164 20.0887V20.1143H32.8164ZM32.8203 20.0762L33.3177 20.1272L33.318 20.1243L32.8203 20.0762ZM34.3135 17.3916L34.0441 16.9704L34.044 16.9704L34.3135 17.3916ZM35.9766 16.8574L36.0183 17.3557L36.4968 17.3156L36.4761 16.8358L35.9766 16.8574ZM31.7197 7.68848L32.0357 7.30098L32.0357 7.30096L31.7197 7.68848ZM24.0801 4.92773L24.0801 4.42773H24.0801L24.0801 4.92773ZM13.5176 9.8916L13.1037 9.61102L13.1037 9.61104L13.5176 9.8916ZM11.334 16.8525L10.8341 16.8415L10.8235 17.3203L11.3015 17.3515L11.334 16.8525ZM13.082 17.3916L13.3515 16.9704L13.3514 16.9704L13.082 17.3916ZM14.5752 20.0762L14.0775 20.1243L14.0778 20.1272L14.5752 20.0762ZM14.5791 20.1143H15.0791V20.0887L15.0765 20.0632L14.5791 20.1143ZM14.5791 31.3105L15.0791 31.3107V31.3105H14.5791ZM11.4482 34.2656L11.5188 34.7606L11.5189 34.7606L11.4482 34.2656ZM5.62012 31.8623L5.97951 31.5146L5.97367 31.5088L5.62012 31.8623ZM5.59473 31.8369L5.20298 32.1476L5.22084 32.1701L5.24117 32.1905L5.59473 31.8369ZM5.57227 31.8086L5.96403 31.4979L5.96156 31.4948L5.57227 31.8086ZM3.55566 26.9268L3.06053 26.9963L3.06053 26.9964L3.55566 26.9268ZM5.56738 19.6602L5.95947 19.9704L5.97171 19.955L5.98268 19.9386L5.56738 19.6602ZM9.74414 16.9902L9.8535 17.4781L10.2406 17.3914L10.2441 16.9947L9.74414 16.9902ZM12.2031 9L11.7893 8.71942L11.7893 8.71943L12.2031 9ZM23.6826 36.3027L23.6826 35.8027H23.6826L23.6826 36.3027ZM21.3359 36.6074L21.1015 36.1658L21.1014 36.1659L21.3359 36.6074ZM20.7695 37.1992L20.3208 36.9787L20.3207 36.9789L20.7695 37.1992ZM20.5049 38.6855L20.0049 38.6854V38.6855L20.5049 38.6855ZM20.8682 40.2041L20.5528 40.5921L20.553 40.5923L20.8682 40.2041ZM21.7188 40.5312L21.6226 41.0219L21.6226 41.0219L21.7188 40.5312ZM23.6826 40.6709L23.6826 41.1709H23.6826L23.6826 40.6709ZM25.4932 40.3926L25.697 40.8491L25.6972 40.8491L25.4932 40.3926ZM26.1689 39.8496L26.5838 40.1287L26.584 40.1285L26.1689 39.8496ZM26.46 38.7539L26.9599 38.7637L26.9609 38.7125L26.9514 38.662L26.46 38.7539ZM25.8418 36.876L26.218 36.5466L26.2178 36.5464L25.8418 36.876ZM12.2266 18.7295L12.4961 18.3083L12.4959 18.3083L12.2266 18.7295ZM10.5361 18.4619L10.474 17.9658L10.474 17.9658L10.5361 18.4619ZM6.8584 20.583L7.27447 20.8604L7.27858 20.854L6.8584 20.583ZM6.83691 20.6152L7.23228 20.9213L7.24312 20.9073L7.25294 20.8926L6.83691 20.6152ZM6.81348 20.6455L7.20557 20.9558L7.20884 20.9516L6.81348 20.6455ZM5.12891 26.7051L4.63377 26.7746L4.63377 26.7747L5.12891 26.7051ZM6.78711 30.7832L6.39525 31.0938L6.4112 31.1139L6.42912 31.1323L6.78711 30.7832ZM11.2246 32.6924L11.2952 33.1874L11.2953 33.1874L11.2246 32.6924ZM12.9902 31.3105L13.4902 31.311V31.3105H12.9902ZM12.9902 20.2012H13.4902V20.1752L13.4875 20.1493L12.9902 20.2012ZM36.8594 18.4619L36.9216 17.9658L36.9215 17.9658L36.8594 18.4619ZM35.1689 18.7295L34.8996 18.3083L34.8994 18.3084L35.1689 18.7295ZM34.4053 20.2012L33.908 20.1493L33.9053 20.1752V20.2012H34.4053ZM34.4053 31.3105H33.9053V31.311L34.4053 31.3105ZM36.1709 32.6924L36.1002 33.1874L36.1003 33.1874L36.1709 32.6924ZM40.6084 30.7832L40.9664 31.1323L40.9843 31.1139L41.0003 31.0938L40.6084 30.7832ZM42.2666 26.7051L42.7617 26.7747L42.7617 26.7746L42.2666 26.7051ZM40.582 20.6455L40.1866 20.9516L40.19 20.9558L40.582 20.6455ZM40.5586 20.6152L40.1426 20.8926L40.1524 20.9073L40.1632 20.9213L40.5586 20.6152ZM40.5371 20.583L40.1169 20.8541L40.1211 20.8604L40.5371 20.583ZM24.0801 3.33984L24.0801 3.83984C26.5221 3.83993 29.7675 4.69187 32.4077 6.84454L32.7236 6.45703L33.0396 6.06952C30.1993 3.75362 26.7227 2.83994 24.0801 2.83984L24.0801 3.33984ZM32.7236 6.45703L32.4077 6.84453C34.9482 8.91615 36.9091 12.1782 37.0706 16.9904L37.5703 16.9736L38.07 16.9569C37.8989 11.8579 35.8054 8.32483 33.0396 6.06953L32.7236 6.45703ZM37.5703 16.9736L37.467 17.4628C39.0314 17.7931 40.6254 18.7641 41.4128 19.9386L41.8281 19.6602L42.2434 19.3817C41.282 17.9477 39.4374 16.8568 37.6736 16.4844L37.5703 16.9736ZM41.8281 19.6602L41.436 19.9704C43.2914 22.315 43.6373 24.7751 43.3447 26.8572L43.8398 26.9268L44.335 26.9963C44.6597 24.6856 44.2698 21.94 42.2202 19.3499L41.8281 19.6602ZM43.8398 26.9268L43.3447 26.8572C43.0535 28.9287 42.1304 30.6307 41.4339 31.4948L41.8232 31.8086L42.2125 32.1224C43.0124 31.13 44.0165 29.262 44.335 26.9964L43.8398 26.9268ZM41.8232 31.8086L41.4315 31.4979L41.409 31.5262L41.8008 31.8369L42.1925 32.1476L42.215 32.1193L41.8232 31.8086ZM41.8008 31.8369L41.4472 31.4834L41.4218 31.5088L41.7754 31.8623L42.1289 32.2159L42.1543 32.1905L41.8008 31.8369ZM41.7754 31.8623L41.416 31.5146C40.0888 32.8865 38.6906 33.5602 37.4367 33.7529L37.5127 34.2471L37.5887 34.7413C39.0842 34.5114 40.6749 33.7189 42.1347 32.21L41.7754 31.8623ZM37.5127 34.2471L37.0213 34.1549C36.8451 35.0936 36.2711 36.2218 35.0615 37.1514L35.3662 37.5479L35.6709 37.9443C37.0752 36.865 37.7825 35.5204 38.0041 34.3393L37.5127 34.2471ZM35.3662 37.5479L35.0616 37.1514C33.6588 38.2293 31.4197 39.0284 27.9821 38.9971L27.9775 39.4971L27.973 39.9971C31.564 40.0298 34.0424 39.1957 35.6709 37.9443L35.3662 37.5479ZM27.9775 39.4971L27.4859 39.4058C27.4094 39.8181 27.2685 40.1658 27.0732 40.4565L27.4883 40.7354L27.9033 41.0142C28.1826 40.5984 28.3704 40.1202 28.4691 39.5883L27.9775 39.4971ZM27.4883 40.7354L27.0733 40.4564C26.7736 40.9023 26.365 41.1953 25.9376 41.3863L26.1416 41.8428L26.3456 42.2992C26.9041 42.0496 27.4769 41.6485 27.9032 41.0143L27.4883 40.7354ZM26.1416 41.8428L25.9377 41.3862C25.0947 41.7627 24.139 41.7598 23.6826 41.7598L23.6826 42.2598L23.6826 42.7598C24.1225 42.7598 25.2829 42.7739 26.3455 42.2993L26.1416 41.8428ZM23.6826 42.2598L23.6826 41.7598C22.7881 41.7598 22.0744 41.7099 21.5092 41.5992L21.4131 42.0898L21.317 42.5805C21.9731 42.709 22.7595 42.7598 23.6826 42.7598L23.6826 42.2598ZM21.4131 42.0898L21.5093 41.5992C20.9446 41.4885 20.5073 41.3132 20.1815 41.0485L19.8662 41.4365L19.5509 41.8246C20.0498 42.23 20.6621 42.4522 21.3169 42.5805L21.4131 42.0898ZM19.8662 41.4365L20.1816 41.0485C19.5139 40.5059 19.4168 39.6733 19.417 38.6856L18.917 38.6855L18.417 38.6855C18.4168 39.6593 18.4831 40.9568 19.5509 41.8245L19.8662 41.4365ZM18.917 38.6855L19.417 38.6856C19.4172 37.8624 19.5473 37.2177 19.7925 36.7185L19.3438 36.498L18.895 36.2776C18.5618 36.956 18.4172 37.7643 18.417 38.6854L18.917 38.6855ZM19.3438 36.498L19.7925 36.7186C20.0403 36.2143 20.3991 35.8721 20.8253 35.6457L20.5908 35.2041L20.3563 34.7625C19.7535 35.0826 19.2401 35.5753 18.895 36.2775L19.3438 36.498ZM20.5908 35.2041L20.8252 35.6458C21.6519 35.207 22.7298 35.2139 23.6826 35.2139L23.6826 34.7139L23.6826 34.2139C22.8013 34.2139 21.4464 34.1839 20.3564 34.7625L20.5908 35.2041ZM23.6826 34.7139L23.6826 35.2139C25.1882 35.2139 26.0974 35.5165 26.6601 36.1586L27.0361 35.8291L27.4122 35.4996C26.5626 34.53 25.286 34.2139 23.6826 34.2139L23.6826 34.7139ZM27.0361 35.8291L26.66 36.1586C27.0743 36.6315 27.2739 37.276 27.4254 38.0085L27.915 37.9072L28.4047 37.806C28.2484 37.0502 28.0093 36.1812 27.4122 35.4996L27.0361 35.8291ZM27.915 37.9072L27.9086 38.4072C31.2994 38.4511 33.4229 37.6682 34.7031 36.6846L34.3984 36.2881L34.0938 35.8916C33.0411 36.7005 31.1586 37.4492 27.9215 37.4073L27.915 37.9072ZM34.3984 36.2881L34.7031 36.6845C35.6467 35.9592 36.1415 35.1186 36.3571 34.3958L35.8779 34.2529L35.3988 34.11C35.2429 34.6326 34.8695 35.2953 34.0937 35.8917L34.3984 36.2881ZM35.8779 34.2529L35.9561 33.7591C34.4518 33.5209 33.3167 32.5265 33.3164 31.3104L32.8164 31.3105L32.3164 31.3107C32.3169 33.2273 34.0495 34.4697 35.7997 34.7468L35.8779 34.2529ZM32.8164 31.3105H33.3164V20.1143H32.8164H32.3164V31.3105H32.8164ZM32.8164 20.1143L33.3138 20.1653L33.3177 20.1272L32.8203 20.0762L32.3229 20.0252L32.319 20.0632L32.8164 20.1143ZM32.8203 20.0762L33.318 20.1243C33.425 19.0176 33.8886 18.257 34.5829 17.8128L34.3135 17.3916L34.044 16.9704C33.0466 17.6085 32.4538 18.6725 32.3226 20.028L32.8203 20.0762ZM34.3135 17.3916L34.5828 17.8128C35.0053 17.5427 35.4965 17.3994 36.0183 17.3557L35.9766 16.8574L35.9348 16.3592C35.2858 16.4136 34.6302 16.5956 34.0441 16.9704L34.3135 17.3916ZM35.9766 16.8574L36.4761 16.8358C36.2795 12.2832 34.4084 9.23575 32.0357 7.30098L31.7197 7.68848L31.4037 8.07597C33.5552 9.83037 35.2927 12.6115 35.477 16.879L35.9766 16.8574ZM31.7197 7.68848L32.0357 7.30096C29.5133 5.24433 26.4039 4.42783 24.0801 4.42773L24.0801 4.92773L24.0801 5.42773C26.203 5.42782 29.0813 6.18236 31.4038 8.07599L31.7197 7.68848ZM24.0801 4.92773L24.0801 4.42773C18.4168 4.4278 15.0334 6.76477 13.1037 9.61102L13.5176 9.8916L13.9314 10.1722C15.6708 7.60668 18.7407 5.42779 24.0801 5.42773L24.0801 4.92773ZM13.5176 9.8916L13.1037 9.61104C11.4827 12.0022 10.8801 14.7662 10.8341 16.8415L11.334 16.8525L11.8339 16.8636C11.8765 14.9384 12.44 12.3722 13.9314 10.1722L13.5176 9.8916ZM11.334 16.8525L11.3015 17.3515C11.8522 17.3874 12.3704 17.53 12.8127 17.8128L13.082 17.3916L13.3514 16.9704C12.7364 16.5771 12.0454 16.3979 11.3665 16.3536L11.334 16.8525ZM13.082 17.3916L12.8126 17.8128C13.507 18.257 13.9705 19.0175 14.0775 20.1243L14.5752 20.0762L15.0729 20.028C14.9418 18.6724 14.349 17.6085 13.3515 16.9704L13.082 17.3916ZM14.5752 20.0762L14.0778 20.1272L14.0817 20.1653L14.5791 20.1143L15.0765 20.0632L15.0726 20.0252L14.5752 20.0762ZM14.5791 20.1143H14.0791V31.3105H14.5791H15.0791V20.1143H14.5791ZM14.5791 31.3105L14.0791 31.3104C14.0788 32.5441 12.9095 33.5521 11.3776 33.7706L11.4482 34.2656L11.5189 34.7606C13.2988 34.5067 15.0787 33.2544 15.0791 31.3107L14.5791 31.3105ZM11.4482 34.2656L11.3777 33.7706C9.82162 33.9924 7.83287 33.4303 5.97947 31.5146L5.62012 31.8623L5.26077 32.21C7.29987 34.3176 9.59606 35.0347 11.5188 34.7606L11.4482 34.2656ZM5.62012 31.8623L5.97367 31.5088L5.94828 31.4834L5.59473 31.8369L5.24117 32.1905L5.26656 32.2159L5.62012 31.8623ZM5.59473 31.8369L5.98648 31.5262L5.96401 31.4979L5.57227 31.8086L5.18052 32.1193L5.20298 32.1476L5.59473 31.8369ZM5.57227 31.8086L5.96156 31.4948C5.26506 30.6307 4.34199 28.9287 4.0508 26.8572L3.55566 26.9268L3.06053 26.9964C3.37902 29.262 4.38316 31.13 5.18297 32.1224L5.57227 31.8086ZM3.55566 26.9268L4.0508 26.8572C3.75822 24.7751 4.10415 22.315 5.95947 19.9704L5.56738 19.6602L5.17529 19.3499C3.12567 21.94 2.73581 24.6856 3.06053 26.9963L3.55566 26.9268ZM5.56738 19.6602L5.98268 19.9386C6.7571 18.7835 8.31201 17.8237 9.8535 17.4781L9.74414 16.9902L9.63478 16.5023C7.89899 16.8914 6.09818 17.9705 5.15208 19.3817L5.56738 19.6602ZM9.74414 16.9902L10.2441 16.9947C10.2638 14.7816 10.889 11.8294 12.617 9.28057L12.2031 9L11.7893 8.71943C9.9296 11.4625 9.26517 14.617 9.24416 16.9858L9.74414 16.9902ZM12.2031 9L12.617 9.28058C14.6587 6.26909 18.2263 3.83991 24.0801 3.83984L24.0801 3.33984L24.0801 2.83984C17.9025 2.83991 14.0215 5.42702 11.7893 8.71942L12.2031 9ZM23.6826 36.3027L23.6826 35.8027C23.1659 35.8027 22.6889 35.8071 22.2698 35.8507C21.8506 35.8942 21.4514 35.9801 21.1015 36.1658L21.3359 36.6074L21.5703 37.0491C21.7585 36.9492 22.0133 36.8827 22.3732 36.8453C22.7333 36.8079 23.1606 36.8027 23.6826 36.8027L23.6826 36.3027ZM21.3359 36.6074L21.1014 36.1659C20.78 36.3366 20.5118 36.59 20.3208 36.9787L20.7695 37.1992L21.2183 37.4197C21.312 37.229 21.4255 37.126 21.5705 37.049L21.3359 36.6074ZM20.7695 37.1992L20.3207 36.9789C20.1274 37.3727 20.005 37.9202 20.0049 38.6854L20.5049 38.6855L21.0049 38.6856C21.005 38.0197 21.1125 37.6352 21.2184 37.4195L20.7695 37.1992ZM20.5049 38.6855L20.0049 38.6855C20.0047 39.6814 20.1206 40.2409 20.5528 40.5921L20.8682 40.2041L21.1835 39.8161C21.1525 39.7909 21.0047 39.6985 21.0049 38.6856L20.5049 38.6855ZM20.8682 40.2041L20.553 40.5923C20.7767 40.7739 21.1109 40.9216 21.6226 41.0219L21.7188 40.5312L21.8149 40.0406C21.3937 39.958 21.2342 39.8572 21.1833 39.8159L20.8682 40.2041ZM21.7188 40.5312L21.6226 41.0219C22.1347 41.1222 22.8054 41.1709 23.6826 41.1709L23.6826 40.6709L23.6826 40.1709C22.8329 40.1709 22.2354 40.123 21.8149 40.0406L21.7188 40.5312ZM23.6826 40.6709L23.6826 41.1709C24.1501 41.1709 24.984 41.1676 25.697 40.8491L25.4932 40.3926L25.2893 39.936C24.7978 40.1555 24.1721 40.1709 23.6826 40.1709L23.6826 40.6709ZM25.4932 40.3926L25.6972 40.8491C26.0477 40.6924 26.3587 40.4632 26.5838 40.1287L26.1689 39.8496L25.7541 39.5705C25.6549 39.718 25.5071 39.8387 25.2892 39.9361L25.4932 40.3926ZM26.1689 39.8496L26.584 40.1285C26.7999 39.8071 26.948 39.3686 26.9599 38.7637L26.46 38.7539L25.9601 38.7441C25.9513 39.1898 25.8458 39.434 25.7539 39.5707L26.1689 39.8496ZM26.46 38.7539L26.9514 38.662C26.8576 38.1599 26.773 37.7489 26.6695 37.4164C26.5646 37.0795 26.4304 36.7892 26.218 36.5466L25.8418 36.876L25.4656 37.2053C25.5514 37.3033 25.6321 37.4485 25.7147 37.7137C25.7987 37.9833 25.8741 38.3409 25.9685 38.8458L26.46 38.7539ZM25.8418 36.876L26.2178 36.5464C25.8241 36.0971 25.1307 35.8028 23.6826 35.8027L23.6826 36.3027L23.6826 36.8027C25.0299 36.8028 25.3577 37.0823 25.4658 37.2055L25.8418 36.876ZM12.2266 18.7295L12.4959 18.3083C11.9675 17.9703 11.2568 17.8678 10.474 17.9658L10.5361 18.4619L10.5983 18.958C11.2414 18.8775 11.6916 18.9809 11.9572 19.1507L12.2266 18.7295ZM10.5361 18.4619L10.474 17.9658C9.66847 18.0667 8.84801 18.3707 8.14343 18.7804C7.44272 19.1877 6.81898 19.7217 6.43822 20.312L6.8584 20.583L7.27858 20.854C7.54859 20.4354 8.03496 20.0001 8.64604 19.6449C9.25325 19.2918 9.94627 19.0398 10.5983 18.958L10.5361 18.4619ZM6.8584 20.583L6.44237 20.3057L6.42089 20.3379L6.83691 20.6152L7.25294 20.8926L7.27442 20.8604L6.8584 20.583ZM6.83691 20.6152L6.44155 20.3091L6.41811 20.3394L6.81348 20.6455L7.20884 20.9516L7.23228 20.9213L6.83691 20.6152ZM6.81348 20.6455L6.4214 20.3352C4.68017 22.5354 4.36022 24.8275 4.63377 26.7746L5.12891 26.7051L5.62404 26.6355C5.3827 24.9176 5.65837 22.9108 7.20555 20.9558L6.81348 20.6455ZM5.12891 26.7051L4.63377 26.7747C4.90545 28.7076 5.76265 30.2956 6.39525 31.0938L6.78711 30.7832L7.17897 30.4726C6.64601 29.8002 5.86863 28.3757 5.62404 26.6355L5.12891 26.7051ZM6.78711 30.7832L6.42912 31.1323C8.16482 32.9124 9.96131 33.3776 11.2952 33.1874L11.2246 32.6924L11.154 32.1974C10.1836 32.3358 8.69381 32.0225 7.1451 30.4341L6.78711 30.7832ZM11.2246 32.6924L11.2953 33.1874C12.6787 32.9898 13.4895 32.1277 13.4902 31.311L12.9902 31.3105L12.4902 31.3101C12.4901 31.446 12.2515 32.0407 11.1539 32.1974L11.2246 32.6924ZM12.9902 31.3105H13.4902V20.2012H12.9902H12.4902V31.3105H12.9902ZM12.9902 20.2012L13.4875 20.1493C13.3894 19.2082 13.0061 18.6347 12.4961 18.3083L12.2266 18.7295L11.9571 19.1506C12.1692 19.2864 12.4208 19.5619 12.4929 20.2531L12.9902 20.2012ZM36.8594 18.4619L36.9215 17.9658C36.1388 17.8678 35.428 17.9703 34.8996 18.3083L35.1689 18.7295L35.4383 19.1507C35.7039 18.9809 36.1542 18.8775 36.7973 18.958L36.8594 18.4619ZM35.1689 18.7295L34.8994 18.3084C34.3895 18.6347 34.0062 19.2082 33.908 20.1493L34.4053 20.2012L34.9026 20.2531C34.9747 19.562 35.2263 19.2864 35.4385 19.1506L35.1689 18.7295ZM34.4053 20.2012H33.9053V31.3105H34.4053H34.9053V20.2012H34.4053ZM34.4053 31.3105L33.9053 31.311C33.906 32.1277 34.717 32.9898 36.1002 33.1874L36.1709 32.6924L36.2416 32.1974C35.144 32.0406 34.9054 31.4459 34.9053 31.3101L34.4053 31.3105ZM36.1709 32.6924L36.1003 33.1874C37.4342 33.3776 39.2307 32.9123 40.9664 31.1323L40.6084 30.7832L40.2504 30.4341C38.7017 32.0224 37.2119 32.3358 36.2415 32.1974L36.1709 32.6924ZM40.6084 30.7832L41.0003 31.0938C41.6329 30.2956 42.4901 28.7076 42.7617 26.7747L42.2666 26.7051L41.7715 26.6355C41.5269 28.3757 40.7495 29.8002 40.2165 30.4726L40.6084 30.7832ZM42.2666 26.7051L42.7617 26.7746C43.0353 24.8275 42.7153 22.5354 40.9741 20.3352L40.582 20.6455L40.19 20.9558C41.7371 22.9108 42.0128 24.9176 41.7715 26.6355L42.2666 26.7051ZM40.582 20.6455L40.9774 20.3394L40.954 20.3091L40.5586 20.6152L40.1632 20.9213L40.1867 20.9516L40.582 20.6455ZM40.5586 20.6152L40.9746 20.3379L40.9531 20.3057L40.5371 20.583L40.1211 20.8604L40.1426 20.8926L40.5586 20.6152ZM40.5371 20.583L40.9573 20.312C40.5765 19.7217 39.9528 19.1877 39.2521 18.7804C38.5475 18.3707 37.727 18.0667 36.9216 17.9658L36.8594 18.4619L36.7972 18.958C37.4492 19.0398 38.1422 19.2919 38.7494 19.6449C39.3605 20.0002 39.8469 20.4354 40.1169 20.854L40.5371 20.583Z",
@@ -15165,16 +15287,16 @@ function HeroSection2() {
15165
15287
  ]
15166
15288
  }
15167
15289
  ),
15168
- /* @__PURE__ */ jsx45(ExactText, { cmsAs: "strong", children: t("landing.hero.metrics.experts") })
15290
+ /* @__PURE__ */ jsx46(ExactText, { cmsAs: "strong", children: t("landing.hero.metrics.experts") })
15169
15291
  ] })
15170
15292
  ]
15171
15293
  },
15172
15294
  isDuplicate ? "duplicate" : "primary"
15173
15295
  )) }) })
15174
15296
  ] }),
15175
- /* @__PURE__ */ jsx45(HeroArt_default, {})
15297
+ /* @__PURE__ */ jsx46(HeroArt_default, {})
15176
15298
  ] }),
15177
- /* @__PURE__ */ jsx45(CmsImageAction, { field: "heroBackgroundImage" })
15299
+ /* @__PURE__ */ jsx46(CmsImageAction, { field: "heroBackgroundImage" })
15178
15300
  ] });
15179
15301
  }
15180
15302
 
@@ -15244,9 +15366,9 @@ function FloatingActions() {
15244
15366
 
15245
15367
  // src/commodity-original/components/LandingPage/PositionSection.tsx
15246
15368
  import Image15 from "next/image.js";
15247
- import { useRef as useRef9, useState as useState16 } from "react";
15369
+ import { useRef as useRef10, useState as useState16 } from "react";
15248
15370
  import { useTranslation as useTranslation25 } from "react-i18next";
15249
- import { jsx as jsx46, jsxs as jsxs38 } from "react/jsx-runtime";
15371
+ import { jsx as jsx47, jsxs as jsxs39 } from "react/jsx-runtime";
15250
15372
  function PositionMedia({
15251
15373
  slide,
15252
15374
  imageAlt,
@@ -15255,14 +15377,14 @@ function PositionMedia({
15255
15377
  }) {
15256
15378
  const image2 = useCmsImage(imageField, slide.image);
15257
15379
  if (slide.mediaType === "bot") {
15258
- return /* @__PURE__ */ jsxs38(
15380
+ return /* @__PURE__ */ jsxs39(
15259
15381
  "div",
15260
15382
  {
15261
15383
  className: "position-media position-media--bot wikex-cms-image-host",
15262
15384
  role: "img",
15263
15385
  "aria-label": imageAlt,
15264
15386
  children: [
15265
- /* @__PURE__ */ jsx46(
15387
+ /* @__PURE__ */ jsx47(
15266
15388
  Image15,
15267
15389
  {
15268
15390
  src: image2,
@@ -15274,20 +15396,20 @@ function PositionMedia({
15274
15396
  decoding: "async"
15275
15397
  }
15276
15398
  ),
15277
- /* @__PURE__ */ jsx46(CmsImageAction, { field: imageField })
15399
+ /* @__PURE__ */ jsx47(CmsImageAction, { field: imageField })
15278
15400
  ]
15279
15401
  }
15280
15402
  );
15281
15403
  }
15282
15404
  if (slide.mediaType === "platforms") {
15283
- return /* @__PURE__ */ jsxs38(
15405
+ return /* @__PURE__ */ jsxs39(
15284
15406
  "div",
15285
15407
  {
15286
15408
  className: "position-media position-media--platforms wikex-cms-image-host",
15287
15409
  role: "img",
15288
15410
  "aria-label": imageAlt,
15289
15411
  children: [
15290
- /* @__PURE__ */ jsx46(
15412
+ /* @__PURE__ */ jsx47(
15291
15413
  Image15,
15292
15414
  {
15293
15415
  src: image2,
@@ -15299,13 +15421,13 @@ function PositionMedia({
15299
15421
  decoding: "async"
15300
15422
  }
15301
15423
  ),
15302
- /* @__PURE__ */ jsx46(CmsImageAction, { field: imageField })
15424
+ /* @__PURE__ */ jsx47(CmsImageAction, { field: imageField })
15303
15425
  ]
15304
15426
  }
15305
15427
  );
15306
15428
  }
15307
- return /* @__PURE__ */ jsxs38("div", { className: `position-media ${slide.mediaClassName} wikex-cms-image-host`, children: [
15308
- /* @__PURE__ */ jsx46(
15429
+ return /* @__PURE__ */ jsxs39("div", { className: `position-media ${slide.mediaClassName} wikex-cms-image-host`, children: [
15430
+ /* @__PURE__ */ jsx47(
15309
15431
  Image15,
15310
15432
  {
15311
15433
  src: image2,
@@ -15317,7 +15439,7 @@ function PositionMedia({
15317
15439
  decoding: "async"
15318
15440
  }
15319
15441
  ),
15320
- /* @__PURE__ */ jsx46(CmsImageAction, { field: imageField })
15442
+ /* @__PURE__ */ jsx47(CmsImageAction, { field: imageField })
15321
15443
  ] });
15322
15444
  }
15323
15445
  function PositionSection() {
@@ -15325,8 +15447,8 @@ function PositionSection() {
15325
15447
  const [expandedMobileCards, setExpandedMobileCards] = useState16([]);
15326
15448
  const [desktopSlide, setDesktopSlide] = useState16(0);
15327
15449
  const [mobileSlide, setMobileSlide] = useState16(0);
15328
- const mobileCarouselRef = useRef9(null);
15329
- const mobileDragRef = useRef9(null);
15450
+ const mobileCarouselRef = useRef10(null);
15451
+ const mobileDragRef = useRef10(null);
15330
15452
  const slideCount = useCmsListCount(
15331
15453
  "landing.position.slides.__count",
15332
15454
  positionSlides.length
@@ -15380,23 +15502,23 @@ function PositionSection() {
15380
15502
  (current) => current.includes(index) ? current.filter((cardIndex) => cardIndex !== index) : [...current, index]
15381
15503
  );
15382
15504
  };
15383
- return /* @__PURE__ */ jsx46("section", { className: "position section", children: /* @__PURE__ */ jsxs38("div", { className: "container", children: [
15384
- /* @__PURE__ */ jsx46(
15505
+ return /* @__PURE__ */ jsx47("section", { className: "position section", children: /* @__PURE__ */ jsxs39("div", { className: "container", children: [
15506
+ /* @__PURE__ */ jsx47(
15385
15507
  Title_default,
15386
15508
  {
15387
15509
  title: t("landing.position.title"),
15388
15510
  classname: "position-title"
15389
15511
  }
15390
15512
  ),
15391
- /* @__PURE__ */ jsxs38("div", { className: "position-stage", children: [
15392
- /* @__PURE__ */ jsx46(
15513
+ /* @__PURE__ */ jsxs39("div", { className: "position-stage", children: [
15514
+ /* @__PURE__ */ jsx47(
15393
15515
  "button",
15394
15516
  {
15395
15517
  className: "position-nav position-button-prev",
15396
15518
  type: "button",
15397
15519
  "aria-label": t("common.previous"),
15398
15520
  onClick: () => moveDesktop(-1),
15399
- children: /* @__PURE__ */ jsx46(
15521
+ children: /* @__PURE__ */ jsx47(
15400
15522
  Image15,
15401
15523
  {
15402
15524
  src: "/landing-assets/position-arrow-left.svg",
@@ -15407,7 +15529,7 @@ function PositionSection() {
15407
15529
  )
15408
15530
  }
15409
15531
  ),
15410
- /* @__PURE__ */ jsx46("div", { className: "position-slider-shell", children: /* @__PURE__ */ jsx46(
15532
+ /* @__PURE__ */ jsx47("div", { className: "position-slider-shell", children: /* @__PURE__ */ jsx47(
15411
15533
  "div",
15412
15534
  {
15413
15535
  className: "position-swiper",
@@ -15418,27 +15540,27 @@ function PositionSection() {
15418
15540
  if (event.key === "ArrowRight") moveDesktop(1);
15419
15541
  },
15420
15542
  tabIndex: 0,
15421
- children: /* @__PURE__ */ jsx46("div", { className: "swiper-wrapper", children: slides.map((slide, index) => {
15543
+ children: /* @__PURE__ */ jsx47("div", { className: "swiper-wrapper", children: slides.map((slide, index) => {
15422
15544
  const key = `landing.position.slides.${index}`;
15423
15545
  const isActive = index === desktopActiveSlide;
15424
- return /* @__PURE__ */ jsx46(
15546
+ return /* @__PURE__ */ jsx47(
15425
15547
  "div",
15426
15548
  {
15427
15549
  className: `swiper-slide${isActive ? " swiper-slide-active" : ""}`,
15428
15550
  "aria-hidden": !isActive,
15429
- children: /* @__PURE__ */ jsxs38(
15551
+ children: /* @__PURE__ */ jsxs39(
15430
15552
  "article",
15431
15553
  {
15432
15554
  className: `position-card position-card--${slide.mediaType}`,
15433
15555
  children: [
15434
- /* @__PURE__ */ jsxs38("div", { className: "position-copy", children: [
15435
- /* @__PURE__ */ jsx46("div", { className: "position-ribbon", children: /* @__PURE__ */ jsx46(ExactText, { cmsAs: "h3", children: t(`${key}.title`) }) }),
15436
- /* @__PURE__ */ jsxs38("div", { className: "position-description", children: [
15437
- /* @__PURE__ */ jsx46(ExactText, { cmsAs: "p", children: t(`${key}.paragraphs.0`) }),
15438
- /* @__PURE__ */ jsx46(ExactText, { cmsAs: "p", children: t(`${key}.paragraphs.1`) })
15556
+ /* @__PURE__ */ jsxs39("div", { className: "position-copy", children: [
15557
+ /* @__PURE__ */ jsx47("div", { className: "position-ribbon", children: /* @__PURE__ */ jsx47(ExactText, { cmsAs: "h3", children: t(`${key}.title`) }) }),
15558
+ /* @__PURE__ */ jsxs39("div", { className: "position-description", children: [
15559
+ /* @__PURE__ */ jsx47(ExactText, { cmsAs: "p", children: t(`${key}.paragraphs.0`) }),
15560
+ /* @__PURE__ */ jsx47(ExactText, { cmsAs: "p", children: t(`${key}.paragraphs.1`) })
15439
15561
  ] })
15440
15562
  ] }),
15441
- /* @__PURE__ */ jsx46(
15563
+ /* @__PURE__ */ jsx47(
15442
15564
  PositionMedia,
15443
15565
  {
15444
15566
  slide,
@@ -15455,14 +15577,14 @@ function PositionSection() {
15455
15577
  }) })
15456
15578
  }
15457
15579
  ) }),
15458
- /* @__PURE__ */ jsx46(
15580
+ /* @__PURE__ */ jsx47(
15459
15581
  "button",
15460
15582
  {
15461
15583
  className: "position-nav position-button-next",
15462
15584
  type: "button",
15463
15585
  "aria-label": t("common.next"),
15464
15586
  onClick: () => moveDesktop(1),
15465
- children: /* @__PURE__ */ jsx46(
15587
+ children: /* @__PURE__ */ jsx47(
15466
15588
  Image15,
15467
15589
  {
15468
15590
  src: "/landing-assets/position-arrow-right.svg",
@@ -15474,8 +15596,8 @@ function PositionSection() {
15474
15596
  }
15475
15597
  )
15476
15598
  ] }),
15477
- /* @__PURE__ */ jsxs38("div", { className: "position-mobile-carousel", children: [
15478
- /* @__PURE__ */ jsx46(
15599
+ /* @__PURE__ */ jsxs39("div", { className: "position-mobile-carousel", children: [
15600
+ /* @__PURE__ */ jsx47(
15479
15601
  "div",
15480
15602
  {
15481
15603
  ref: mobileCarouselRef,
@@ -15502,36 +15624,36 @@ function PositionSection() {
15502
15624
  );
15503
15625
  setMobileSlide(nearest.index);
15504
15626
  },
15505
- children: /* @__PURE__ */ jsx46("div", { className: "swiper-wrapper", children: slides.map((slide, index) => {
15627
+ children: /* @__PURE__ */ jsx47("div", { className: "swiper-wrapper", children: slides.map((slide, index) => {
15506
15628
  const isExpanded = expandedMobileCards.includes(index);
15507
15629
  const contentId = `position-mobile-content-${index}`;
15508
15630
  const key = `landing.position.slides.${index}`;
15509
15631
  const title = t(`${key}.title`);
15510
- return /* @__PURE__ */ jsx46(
15632
+ return /* @__PURE__ */ jsx47(
15511
15633
  "div",
15512
15634
  {
15513
15635
  className: `swiper-slide${index === mobileSlide ? " swiper-slide-active" : ""}`,
15514
15636
  "data-position-mobile-slide": index,
15515
- children: /* @__PURE__ */ jsx46(
15637
+ children: /* @__PURE__ */ jsx47(
15516
15638
  "article",
15517
15639
  {
15518
15640
  className: `position-mobile-card position-mobile-card--${slide.mediaType}${isExpanded ? " is-expanded" : ""}`,
15519
- children: /* @__PURE__ */ jsxs38("div", { className: "position-mobile-card-surface", children: [
15520
- /* @__PURE__ */ jsxs38("div", { className: "position-copy", children: [
15521
- /* @__PURE__ */ jsx46("div", { className: "position-ribbon", children: /* @__PURE__ */ jsx46(ExactText, { cmsAs: "h3", children: title }) }),
15522
- /* @__PURE__ */ jsxs38("div", { className: "position-mobile-description", children: [
15523
- /* @__PURE__ */ jsxs38(
15641
+ children: /* @__PURE__ */ jsxs39("div", { className: "position-mobile-card-surface", children: [
15642
+ /* @__PURE__ */ jsxs39("div", { className: "position-copy", children: [
15643
+ /* @__PURE__ */ jsx47("div", { className: "position-ribbon", children: /* @__PURE__ */ jsx47(ExactText, { cmsAs: "h3", children: title }) }),
15644
+ /* @__PURE__ */ jsxs39("div", { className: "position-mobile-description", children: [
15645
+ /* @__PURE__ */ jsxs39(
15524
15646
  "div",
15525
15647
  {
15526
15648
  className: "position-mobile-description-copy",
15527
15649
  id: contentId,
15528
15650
  children: [
15529
- /* @__PURE__ */ jsx46(ExactText, { cmsAs: "p", children: t(`${key}.paragraphs.0`) }),
15530
- /* @__PURE__ */ jsx46(ExactText, { cmsAs: "p", children: t(`${key}.paragraphs.1`) })
15651
+ /* @__PURE__ */ jsx47(ExactText, { cmsAs: "p", children: t(`${key}.paragraphs.0`) }),
15652
+ /* @__PURE__ */ jsx47(ExactText, { cmsAs: "p", children: t(`${key}.paragraphs.1`) })
15531
15653
  ]
15532
15654
  }
15533
15655
  ),
15534
- /* @__PURE__ */ jsx46(
15656
+ /* @__PURE__ */ jsx47(
15535
15657
  "button",
15536
15658
  {
15537
15659
  className: "position-mobile-toggle",
@@ -15540,7 +15662,7 @@ function PositionSection() {
15540
15662
  "aria-controls": contentId,
15541
15663
  "aria-label": `${isExpanded ? t("common.collapse") : t("common.fullContent")}: ${title}`,
15542
15664
  onClick: () => toggleMobileCard(index),
15543
- children: /* @__PURE__ */ jsx46(
15665
+ children: /* @__PURE__ */ jsx47(
15544
15666
  Image15,
15545
15667
  {
15546
15668
  src: "/landing-assets/position-chevron.svg",
@@ -15554,7 +15676,7 @@ function PositionSection() {
15554
15676
  )
15555
15677
  ] })
15556
15678
  ] }),
15557
- /* @__PURE__ */ jsx46(
15679
+ /* @__PURE__ */ jsx47(
15558
15680
  PositionMedia,
15559
15681
  {
15560
15682
  slide,
@@ -15572,7 +15694,7 @@ function PositionSection() {
15572
15694
  }) })
15573
15695
  }
15574
15696
  ),
15575
- /* @__PURE__ */ jsx46("div", { className: "position-mobile-pagination", children: slides.map((_slide, index) => /* @__PURE__ */ jsx46(
15697
+ /* @__PURE__ */ jsx47("div", { className: "position-mobile-pagination", children: slides.map((_slide, index) => /* @__PURE__ */ jsx47(
15576
15698
  "button",
15577
15699
  {
15578
15700
  className: `position-dot${index === mobileSlide ? " is-active" : ""}`,
@@ -15584,7 +15706,7 @@ function PositionSection() {
15584
15706
  `mobile-dot-${index}`
15585
15707
  )) })
15586
15708
  ] }),
15587
- /* @__PURE__ */ jsx46("div", { className: "position-pagination", children: slides.map((_slide, index) => /* @__PURE__ */ jsx46(
15709
+ /* @__PURE__ */ jsx47("div", { className: "position-pagination", children: slides.map((_slide, index) => /* @__PURE__ */ jsx47(
15588
15710
  "button",
15589
15711
  {
15590
15712
  className: `position-dot${index === desktopActiveSlide ? " is-active" : ""}`,
@@ -15601,7 +15723,7 @@ function PositionSection() {
15601
15723
  // src/commodity-original/components/LandingPage/StepsSection.tsx
15602
15724
  import Image16 from "next/image.js";
15603
15725
  import { useTranslation as useTranslation26 } from "react-i18next";
15604
- import { jsx as jsx47, jsxs as jsxs39 } from "react/jsx-runtime";
15726
+ import { jsx as jsx48, jsxs as jsxs40 } from "react/jsx-runtime";
15605
15727
  function StepsSection() {
15606
15728
  const { t } = useTranslation26();
15607
15729
  const { themeName } = useAppTheme();
@@ -15609,7 +15731,7 @@ function StepsSection() {
15609
15731
  const stepIcons = [
15610
15732
  {
15611
15733
  id: "account",
15612
- icon: /* @__PURE__ */ jsxs39(
15734
+ icon: /* @__PURE__ */ jsxs40(
15613
15735
  "svg",
15614
15736
  {
15615
15737
  xmlns: "http://www.w3.org/2000/svg",
@@ -15618,7 +15740,7 @@ function StepsSection() {
15618
15740
  viewBox: "0 0 48 48",
15619
15741
  fill: "none",
15620
15742
  children: [
15621
- /* @__PURE__ */ jsx47(
15743
+ /* @__PURE__ */ jsx48(
15622
15744
  "path",
15623
15745
  {
15624
15746
  d: "M30 35.625L33.5182 38.4315C33.9219 38.7536 34.5046 38.7152 34.8626 38.3429L40 33",
@@ -15627,14 +15749,14 @@ function StepsSection() {
15627
15749
  strokeLinecap: "round"
15628
15750
  }
15629
15751
  ),
15630
- /* @__PURE__ */ jsx47(
15752
+ /* @__PURE__ */ jsx48(
15631
15753
  "path",
15632
15754
  {
15633
15755
  d: "M28 6C30.7614 6 33 8.23858 33 11V26.0469C27.3936 26.5522 23 31.262 23 37C23 39.2142 23.6565 41.2741 24.7822 43H14C11.2386 43 9 40.7614 9 38V11C9 8.23858 11.2386 6 14 6H28Z",
15634
15756
  fill: "#F9BB3A"
15635
15757
  }
15636
15758
  ),
15637
- /* @__PURE__ */ jsx47(
15759
+ /* @__PURE__ */ jsx48(
15638
15760
  "line",
15639
15761
  {
15640
15762
  x1: "17.5",
@@ -15652,7 +15774,7 @@ function StepsSection() {
15652
15774
  },
15653
15775
  {
15654
15776
  id: "ekyc",
15655
- icon: /* @__PURE__ */ jsxs39(
15777
+ icon: /* @__PURE__ */ jsxs40(
15656
15778
  "svg",
15657
15779
  {
15658
15780
  xmlns: "http://www.w3.org/2000/svg",
@@ -15661,7 +15783,7 @@ function StepsSection() {
15661
15783
  viewBox: "0 0 48 48",
15662
15784
  fill: "none",
15663
15785
  children: [
15664
- /* @__PURE__ */ jsx47(
15786
+ /* @__PURE__ */ jsx48(
15665
15787
  "path",
15666
15788
  {
15667
15789
  d: "M40.9453 16.6987V8.61644C40.9453 7.7237 40.2216 7 39.3289 7H31.2467",
@@ -15670,7 +15792,7 @@ function StepsSection() {
15670
15792
  strokeLinecap: "round"
15671
15793
  }
15672
15794
  ),
15673
- /* @__PURE__ */ jsx47(
15795
+ /* @__PURE__ */ jsx48(
15674
15796
  "path",
15675
15797
  {
15676
15798
  d: "M7 31.2467V39.3289C7 40.2216 7.72371 40.9453 8.61644 40.9453H16.6987",
@@ -15679,7 +15801,7 @@ function StepsSection() {
15679
15801
  strokeLinecap: "round"
15680
15802
  }
15681
15803
  ),
15682
- /* @__PURE__ */ jsx47(
15804
+ /* @__PURE__ */ jsx48(
15683
15805
  "path",
15684
15806
  {
15685
15807
  d: "M7 16.6987V8.61644C7 7.7237 7.72371 7 8.61644 7H16.6987",
@@ -15688,7 +15810,7 @@ function StepsSection() {
15688
15810
  strokeLinecap: "round"
15689
15811
  }
15690
15812
  ),
15691
- /* @__PURE__ */ jsx47(
15813
+ /* @__PURE__ */ jsx48(
15692
15814
  "path",
15693
15815
  {
15694
15816
  d: "M40.9453 31.2467V39.3289C40.9453 40.2216 40.2216 40.9453 39.3289 40.9453H31.2467",
@@ -15697,21 +15819,21 @@ function StepsSection() {
15697
15819
  strokeLinecap: "round"
15698
15820
  }
15699
15821
  ),
15700
- /* @__PURE__ */ jsx47(
15822
+ /* @__PURE__ */ jsx48(
15701
15823
  "path",
15702
15824
  {
15703
15825
  d: "M24.1748 25.2729C29.4451 25.273 33.7837 29.255 34.3496 34.3745H14C14.5659 29.255 18.9045 25.2729 24.1748 25.2729Z",
15704
15826
  fill: "#F9BB3A"
15705
15827
  }
15706
15828
  ),
15707
- /* @__PURE__ */ jsx47("circle", { cx: "24.0873", cy: "18.0873", r: "5.08734", fill: "#F9BB3A" })
15829
+ /* @__PURE__ */ jsx48("circle", { cx: "24.0873", cy: "18.0873", r: "5.08734", fill: "#F9BB3A" })
15708
15830
  ]
15709
15831
  }
15710
15832
  )
15711
15833
  },
15712
15834
  {
15713
15835
  id: "advice",
15714
- icon: /* @__PURE__ */ jsxs39(
15836
+ icon: /* @__PURE__ */ jsxs40(
15715
15837
  "svg",
15716
15838
  {
15717
15839
  xmlns: "http://www.w3.org/2000/svg",
@@ -15720,21 +15842,21 @@ function StepsSection() {
15720
15842
  viewBox: "0 0 48 48",
15721
15843
  fill: "none",
15722
15844
  children: [
15723
- /* @__PURE__ */ jsx47(
15845
+ /* @__PURE__ */ jsx48(
15724
15846
  "path",
15725
15847
  {
15726
15848
  d: "M16.3286 20.8911C10.871 20.8911 6.44678 25.2339 6.44678 30.5913C6.4468 31.5508 6.59104 32.4768 6.85604 33.3518C6.93855 33.6243 6.91745 33.9196 6.78073 34.1693L5.1245 37.194C4.7596 37.8605 5.24184 38.6743 6.00162 38.6743H10.5683C10.7624 38.6743 10.9515 38.7319 11.1172 38.8331C12.6301 39.757 14.4156 40.2915 16.3286 40.2915C21.7861 40.2914 26.2103 35.9486 26.2104 30.5913C26.2104 25.2339 21.7862 20.8912 16.3286 20.8911Z",
15727
15849
  fill: isDarkTheme ? "#fff" : "black"
15728
15850
  }
15729
15851
  ),
15730
- /* @__PURE__ */ jsx47(
15852
+ /* @__PURE__ */ jsx48(
15731
15853
  "path",
15732
15854
  {
15733
15855
  d: "M25.3164 7C33.8854 7 40.8319 13.4674 40.832 21.4453C40.832 22.9446 40.5856 24.3903 40.1301 25.7499C40.0353 26.033 40.0591 26.3441 40.2084 26.6027L43.3147 31.9834C43.6996 32.6501 43.2185 33.4834 42.4487 33.4834H34.179C33.993 33.4834 33.8112 33.5359 33.6513 33.6309C31.2437 35.0615 28.3843 35.8916 25.3164 35.8916C16.7474 35.8916 9.80078 29.4234 9.80078 21.4453C9.80096 13.4674 16.7475 7.00002 25.3164 7Z",
15734
15856
  fill: "#F9BB3A"
15735
15857
  }
15736
15858
  ),
15737
- /* @__PURE__ */ jsx47(
15859
+ /* @__PURE__ */ jsx48(
15738
15860
  "circle",
15739
15861
  {
15740
15862
  cx: "18.3613",
@@ -15743,7 +15865,7 @@ function StepsSection() {
15743
15865
  fill: isDarkTheme ? "#fff" : "black"
15744
15866
  }
15745
15867
  ),
15746
- /* @__PURE__ */ jsx47(
15868
+ /* @__PURE__ */ jsx48(
15747
15869
  "circle",
15748
15870
  {
15749
15871
  cx: "25.8515",
@@ -15752,7 +15874,7 @@ function StepsSection() {
15752
15874
  fill: isDarkTheme ? "#fff" : "black"
15753
15875
  }
15754
15876
  ),
15755
- /* @__PURE__ */ jsx47(
15877
+ /* @__PURE__ */ jsx48(
15756
15878
  "circle",
15757
15879
  {
15758
15880
  cx: "33.3418",
@@ -15767,7 +15889,7 @@ function StepsSection() {
15767
15889
  },
15768
15890
  {
15769
15891
  id: "trade",
15770
- icon: /* @__PURE__ */ jsxs39(
15892
+ icon: /* @__PURE__ */ jsxs40(
15771
15893
  "svg",
15772
15894
  {
15773
15895
  xmlns: "http://www.w3.org/2000/svg",
@@ -15776,7 +15898,7 @@ function StepsSection() {
15776
15898
  viewBox: "0 0 48 48",
15777
15899
  fill: "none",
15778
15900
  children: [
15779
- /* @__PURE__ */ jsx47(
15901
+ /* @__PURE__ */ jsx48(
15780
15902
  "rect",
15781
15903
  {
15782
15904
  x: "4",
@@ -15787,7 +15909,7 @@ function StepsSection() {
15787
15909
  fill: "#F9BB3A"
15788
15910
  }
15789
15911
  ),
15790
- /* @__PURE__ */ jsx47(
15912
+ /* @__PURE__ */ jsx48(
15791
15913
  "line",
15792
15914
  {
15793
15915
  x1: "15.8384",
@@ -15799,7 +15921,7 @@ function StepsSection() {
15799
15921
  strokeLinecap: "round"
15800
15922
  }
15801
15923
  ),
15802
- /* @__PURE__ */ jsx47(
15924
+ /* @__PURE__ */ jsx48(
15803
15925
  "line",
15804
15926
  {
15805
15927
  x1: "19.3279",
@@ -15811,7 +15933,7 @@ function StepsSection() {
15811
15933
  strokeLinecap: "round"
15812
15934
  }
15813
15935
  ),
15814
- /* @__PURE__ */ jsx47(
15936
+ /* @__PURE__ */ jsx48(
15815
15937
  "line",
15816
15938
  {
15817
15939
  x1: "34.8219",
@@ -15823,7 +15945,7 @@ function StepsSection() {
15823
15945
  strokeLinecap: "round"
15824
15946
  }
15825
15947
  ),
15826
- /* @__PURE__ */ jsx47(
15948
+ /* @__PURE__ */ jsx48(
15827
15949
  "line",
15828
15950
  {
15829
15951
  x1: "26.9561",
@@ -15845,8 +15967,8 @@ function StepsSection() {
15845
15967
  { length: stepCount },
15846
15968
  (_, index) => stepIcons[index % stepIcons.length]
15847
15969
  );
15848
- return /* @__PURE__ */ jsx47("section", { className: "steps section", children: /* @__PURE__ */ jsxs39("div", { className: "container", children: [
15849
- /* @__PURE__ */ jsx47(
15970
+ return /* @__PURE__ */ jsx48("section", { className: "steps section", children: /* @__PURE__ */ jsxs40("div", { className: "container", children: [
15971
+ /* @__PURE__ */ jsx48(
15850
15972
  Title_default,
15851
15973
  {
15852
15974
  classname: "steps-title",
@@ -15854,9 +15976,9 @@ function StepsSection() {
15854
15976
  desc: t("landing.steps.description")
15855
15977
  }
15856
15978
  ),
15857
- /* @__PURE__ */ jsx47("div", { className: "step-list", children: visibleSteps.map((step, index) => /* @__PURE__ */ jsxs39("article", { className: "step-card", children: [
15858
- /* @__PURE__ */ jsxs39("div", { className: "step-number", children: [
15859
- /* @__PURE__ */ jsx47(
15979
+ /* @__PURE__ */ jsx48("div", { className: "step-list", children: visibleSteps.map((step, index) => /* @__PURE__ */ jsxs40("article", { className: "step-card", children: [
15980
+ /* @__PURE__ */ jsxs40("div", { className: "step-number", children: [
15981
+ /* @__PURE__ */ jsx48(
15860
15982
  Image16,
15861
15983
  {
15862
15984
  className: "step-ribbon step-ribbon--desktop",
@@ -15867,7 +15989,7 @@ function StepsSection() {
15867
15989
  "aria-hidden": "true"
15868
15990
  }
15869
15991
  ),
15870
- /* @__PURE__ */ jsx47(
15992
+ /* @__PURE__ */ jsx48(
15871
15993
  Image16,
15872
15994
  {
15873
15995
  className: "step-ribbon-mobile",
@@ -15878,13 +16000,13 @@ function StepsSection() {
15878
16000
  "aria-hidden": "true"
15879
16001
  }
15880
16002
  ),
15881
- /* @__PURE__ */ jsx47(ExactText, { cmsAs: "span", children: t(`landing.steps.items.${index}.label`) })
16003
+ /* @__PURE__ */ jsx48(ExactText, { cmsAs: "span", children: t(`landing.steps.items.${index}.label`) })
15882
16004
  ] }),
15883
- /* @__PURE__ */ jsxs39("div", { className: "step-content", children: [
15884
- /* @__PURE__ */ jsx47(ExactText, { cmsAs: "span", className: "step-icon", "aria-hidden": "true", children: step.icon }),
15885
- /* @__PURE__ */ jsxs39("div", { className: "step-copy", children: [
15886
- /* @__PURE__ */ jsx47(ExactText, { cmsAs: "h3", children: t(`landing.steps.items.${index}.title`) }),
15887
- /* @__PURE__ */ jsx47(ExactText, { cmsAs: "p", children: t(`landing.steps.items.${index}.body`) })
16005
+ /* @__PURE__ */ jsxs40("div", { className: "step-content", children: [
16006
+ /* @__PURE__ */ jsx48(ExactText, { cmsAs: "span", className: "step-icon", "aria-hidden": "true", children: step.icon }),
16007
+ /* @__PURE__ */ jsxs40("div", { className: "step-copy", children: [
16008
+ /* @__PURE__ */ jsx48(ExactText, { cmsAs: "h3", children: t(`landing.steps.items.${index}.title`) }),
16009
+ /* @__PURE__ */ jsx48(ExactText, { cmsAs: "p", children: t(`landing.steps.items.${index}.body`) })
15888
16010
  ] })
15889
16011
  ] })
15890
16012
  ] }, step.id)) })
@@ -15892,7 +16014,7 @@ function StepsSection() {
15892
16014
  }
15893
16015
 
15894
16016
  // src/wikex/original-commodity-blocks.tsx
15895
- import { Fragment as Fragment12, jsx as jsx48, jsxs as jsxs40 } from "react/jsx-runtime";
16017
+ import { Fragment as Fragment12, jsx as jsx49, jsxs as jsxs41 } from "react/jsx-runtime";
15896
16018
  var LANGUAGE_STORAGE_KEY = "wikex-language";
15897
16019
  var LANGUAGE_EVENT = "wikex-language-change";
15898
16020
  function supportedLanguage(value4) {
@@ -16008,8 +16130,8 @@ function ExactEditableContent({
16008
16130
  onSelectText,
16009
16131
  selectedTextField
16010
16132
  }) {
16011
- const rootRef = useRef10(null);
16012
- const callbacks = useRef10({ onChange, onSelectText });
16133
+ const rootRef = useRef11(null);
16134
+ const callbacks = useRef11({ onChange, onSelectText });
16013
16135
  callbacks.current = { onChange, onSelectText };
16014
16136
  useLayoutEffect4(() => {
16015
16137
  const root = rootRef.current;
@@ -16097,7 +16219,7 @@ function ExactEditableContent({
16097
16219
  element.dataset.cmsExactSelected = String(editable && element.dataset.cmsTextField === selectedTextField);
16098
16220
  });
16099
16221
  }, [content, editable, fieldKeys, selectedTextField]);
16100
- return /* @__PURE__ */ jsx48(
16222
+ return /* @__PURE__ */ jsx49(
16101
16223
  Box7,
16102
16224
  {
16103
16225
  ref: rootRef,
@@ -16198,10 +16320,10 @@ function ExactProviders({ content, children }) {
16198
16320
  window.removeEventListener(LANGUAGE_EVENT, receiveLanguage);
16199
16321
  };
16200
16322
  }, [instance, requestedLanguage]);
16201
- return /* @__PURE__ */ jsx48(I18nextProvider, { i18n: instance, children: /* @__PURE__ */ jsx48(AppThemeProvider, { children: /* @__PURE__ */ jsx48(ResponsiveProvider, { viewportWidth, children }) }) });
16323
+ return /* @__PURE__ */ jsx49(I18nextProvider, { i18n: instance, children: /* @__PURE__ */ jsx49(AppThemeProvider, { children: /* @__PURE__ */ jsx49(ResponsiveProvider, { viewportWidth, children }) }) });
16202
16324
  }
16203
16325
  function ExactSection({ children }) {
16204
- return /* @__PURE__ */ jsx48(PageShell, { className: "wikex-page", children });
16326
+ return /* @__PURE__ */ jsx49(PageShell, { className: "wikex-page", children });
16205
16327
  }
16206
16328
  function exactBlock(options, Component, wrapSection = false) {
16207
16329
  const lists = options.lists ?? [];
@@ -16345,14 +16467,14 @@ function exactBlock(options, Component, wrapSection = false) {
16345
16467
  )
16346
16468
  )
16347
16469
  ], [language, listStates, chrome2]);
16348
- return /* @__PURE__ */ jsx48(ExactProviders, { content: renderedContent, children: /* @__PURE__ */ jsx48(
16470
+ return /* @__PURE__ */ jsx49(ExactProviders, { content: renderedContent, children: /* @__PURE__ */ jsx49(
16349
16471
  CmsImageProvider,
16350
16472
  {
16351
16473
  content: renderedContent,
16352
16474
  editable: props.editable,
16353
16475
  onImageRequest: props.onImageRequest,
16354
- children: /* @__PURE__ */ jsx48(CmsListCountProvider, { counts: listCounts, children: /* @__PURE__ */ jsx48(CmsElementProvider, { ...props, content: renderedContent, onChange: handleChange, onSelectText: handleSelectText, children: /* @__PURE__ */ jsxs40(ExactTextProvider, { content: renderedContent, fields: fieldKeys, children: [
16355
- /* @__PURE__ */ jsx48(
16476
+ children: /* @__PURE__ */ jsx49(CmsListCountProvider, { counts: listCounts, children: /* @__PURE__ */ jsx49(CmsElementProvider, { ...props, content: renderedContent, onChange: handleChange, onSelectText: handleSelectText, children: /* @__PURE__ */ jsxs41(ExactTextProvider, { content: renderedContent, fields: fieldKeys, children: [
16477
+ /* @__PURE__ */ jsx49(
16356
16478
  ExactEditableContent,
16357
16479
  {
16358
16480
  content: renderedContent,
@@ -16361,10 +16483,10 @@ function exactBlock(options, Component, wrapSection = false) {
16361
16483
  onChange: handleChange,
16362
16484
  onSelectText: handleSelectText,
16363
16485
  selectedTextField: props.selectedTextField,
16364
- children: wrapSection ? /* @__PURE__ */ jsx48(ExactSection, { children: /* @__PURE__ */ jsx48(Component, { ...props }) }) : /* @__PURE__ */ jsx48(Component, { ...props })
16486
+ children: wrapSection ? /* @__PURE__ */ jsx49(ExactSection, { children: /* @__PURE__ */ jsx49(Component, { ...props }) }) : /* @__PURE__ */ jsx49(Component, { ...props })
16365
16487
  }
16366
16488
  ),
16367
- props.editable && listStates.length > 0 && /* @__PURE__ */ jsx48(
16489
+ props.editable && listStates.length > 0 && /* @__PURE__ */ jsx49(
16368
16490
  Box7,
16369
16491
  {
16370
16492
  sx: {
@@ -16373,8 +16495,8 @@ function exactBlock(options, Component, wrapSection = false) {
16373
16495
  borderTop: "1px solid rgba(32, 40, 32, 0.12)",
16374
16496
  bgcolor: "#FAF8F3"
16375
16497
  },
16376
- children: /* @__PURE__ */ jsx48(Stack5, { direction: "row", spacing: 1, justifyContent: "flex-end", flexWrap: "wrap", useFlexGap: true, children: listStates.map(({ field, items, list, templates }) => /* @__PURE__ */ jsxs40(
16377
- Button9,
16498
+ children: /* @__PURE__ */ jsx49(Stack6, { direction: "row", spacing: 1, justifyContent: "flex-end", flexWrap: "wrap", useFlexGap: true, children: listStates.map(({ field, items, list, templates }) => /* @__PURE__ */ jsxs41(
16499
+ Button10,
16378
16500
  {
16379
16501
  size: "small",
16380
16502
  variant: "contained",
@@ -16432,7 +16554,7 @@ function ProductDetailExact() {
16432
16554
  const segments = pathname.split("/").filter(Boolean);
16433
16555
  const slug = segments[segments.length - 1] ?? "platinum";
16434
16556
  const product = getProductBySlug(slug) ?? productItems[0];
16435
- return /* @__PURE__ */ jsx48(ProductDetailContent, { product });
16557
+ return /* @__PURE__ */ jsx49(ProductDetailContent, { product });
16436
16558
  }
16437
16559
  var exactItemFields = (...fields2) => fields2.map(([key, label, type]) => ({ key, label, type, required: key === "title" }));
16438
16560
  var image = (key, label, defaultSrc) => ({
@@ -16690,9 +16812,9 @@ var header = exactBlock(
16690
16812
  Header
16691
16813
  );
16692
16814
  function FooterWithFloatingActions() {
16693
- return /* @__PURE__ */ jsxs40(Fragment12, { children: [
16694
- /* @__PURE__ */ jsx48(Footer, {}),
16695
- /* @__PURE__ */ jsx48(FloatingActions, {})
16815
+ return /* @__PURE__ */ jsxs41(Fragment12, { children: [
16816
+ /* @__PURE__ */ jsx49(Footer, {}),
16817
+ /* @__PURE__ */ jsx49(FloatingActions, {})
16696
16818
  ] });
16697
16819
  }
16698
16820
  var footer = exactBlock(
@@ -16712,9 +16834,9 @@ var footer = exactBlock(
16712
16834
  var hero = exactBlock(
16713
16835
  { type: "commodity-hero", name: "Landing \u2014 Hero g\u1ED1c", description: "Hero nguy\xEAn b\u1EA3n.", prefixes: ["landing.hero."], images: heroImages },
16714
16836
  function OriginalHero() {
16715
- return /* @__PURE__ */ jsxs40(Fragment12, { children: [
16716
- /* @__PURE__ */ jsx48(LandingAnimations, {}),
16717
- /* @__PURE__ */ jsx48(HeroSection2, {})
16837
+ return /* @__PURE__ */ jsxs41(Fragment12, { children: [
16838
+ /* @__PURE__ */ jsx49(LandingAnimations, {}),
16839
+ /* @__PURE__ */ jsx49(HeroSection2, {})
16718
16840
  ] });
16719
16841
  },
16720
16842
  true
@@ -17094,15 +17216,15 @@ var wikexCommodityRoutes = wikexCommodityPageTemplates.map(({ route, slug, key }
17094
17216
  }));
17095
17217
 
17096
17218
  // src/shared/text-toolbar.tsx
17097
- import { useEffect as useEffect12, useRef as useRef11, useState as useState17 } from "react";
17098
- import { Box as Box8, IconButton as IconButton3, InputAdornment as InputAdornment2, MenuItem as MenuItem4, Select as Select3, SvgIcon, TextField as TextField4, ToggleButton as ToggleButton2, Tooltip } from "@mui/material";
17099
- import { jsx as jsx49, jsxs as jsxs41 } from "react/jsx-runtime";
17219
+ import { useEffect as useEffect12, useRef as useRef12, useState as useState17 } from "react";
17220
+ import { Box as Box8, IconButton as IconButton3, InputAdornment as InputAdornment2, MenuItem as MenuItem5, Select as Select3, SvgIcon, TextField as TextField5, ToggleButton as ToggleButton2, Tooltip } from "@mui/material";
17221
+ import { jsx as jsx50, jsxs as jsxs42 } from "react/jsx-runtime";
17100
17222
  function CmsTextToolbar({ layout, color, colorPicker, inlineControls, structureControls, computedFontSize, computedLineHeight, computedFontFamily, computedTextAlign, onLayoutChange, onColorChange, onReset }) {
17101
- const toolbarRef = useRef11(null);
17223
+ const toolbarRef = useRef12(null);
17102
17224
  const [hex, setHex] = useState17(color);
17103
17225
  const displayedSize = String(computedFontSize ?? layout.fontSize ?? 16);
17104
17226
  const displayedLineHeight = String(layout.lineHeight ?? computedLineHeight ?? 1.5);
17105
- const dirtyLineHeight = useRef11(false);
17227
+ const dirtyLineHeight = useRef12(false);
17106
17228
  const [lineHeight, setLineHeight] = useState17(displayedLineHeight);
17107
17229
  useEffect12(() => {
17108
17230
  dirtyLineHeight.current = false;
@@ -17119,7 +17241,7 @@ function CmsTextToolbar({ layout, color, colorPicker, inlineControls, structureC
17119
17241
  if (Number.isFinite(value4) && value4 >= 0.5 && value4 <= 5) onLayoutChange({ lineHeight: value4 });
17120
17242
  else setLineHeight(displayedLineHeight);
17121
17243
  };
17122
- const dirtySize = useRef11(false);
17244
+ const dirtySize = useRef12(false);
17123
17245
  const [size, setSize] = useState17(displayedSize);
17124
17246
  useEffect12(() => setHex(color), [color]);
17125
17247
  useEffect12(() => {
@@ -17148,7 +17270,7 @@ function CmsTextToolbar({ layout, color, colorPicker, inlineControls, structureC
17148
17270
  const tooltipProps = { slotProps: { popper: { sx: { zIndex: 1800 } } } };
17149
17271
  const inputSx = { width: 52, flexShrink: 0, "& .MuiInputBase-root": { height: 30 }, "& input": { py: 0.5, px: 0.75, fontSize: 12 } };
17150
17272
  const groupSx = { display: "flex", alignItems: "center", gap: 0.5 };
17151
- return /* @__PURE__ */ jsxs41(
17273
+ return /* @__PURE__ */ jsxs42(
17152
17274
  Box8,
17153
17275
  {
17154
17276
  ref: toolbarRef,
@@ -17157,8 +17279,8 @@ function CmsTextToolbar({ layout, color, colorPicker, inlineControls, structureC
17157
17279
  "data-cms-text-toolbar": true,
17158
17280
  sx: { display: "flex", flexDirection: "column", gap: 0.5, p: 0.75, border: "1px solid", borderColor: "divider", borderRadius: 1, bgcolor: "background.paper", boxShadow: 8, color: "text.primary", maxWidth: "100%" },
17159
17281
  children: [
17160
- /* @__PURE__ */ jsxs41(Box8, { sx: { ...groupSx, flexWrap: "wrap", rowGap: 0.75, pb: 0.75, borderBottom: "1px solid", borderColor: "divider" }, children: [
17161
- /* @__PURE__ */ jsxs41(
17282
+ /* @__PURE__ */ jsxs42(Box8, { sx: { ...groupSx, flexWrap: "wrap", rowGap: 0.75, pb: 0.75, borderBottom: "1px solid", borderColor: "divider" }, children: [
17283
+ /* @__PURE__ */ jsxs42(
17162
17284
  Select3,
17163
17285
  {
17164
17286
  size: "small",
@@ -17170,16 +17292,16 @@ function CmsTextToolbar({ layout, color, colorPicker, inlineControls, structureC
17170
17292
  sx: { width: "auto", maxWidth: 160, height: 30, fontSize: 12, "& .MuiSelect-select": { py: 0.5, pl: 1, pr: "24px !important", overflow: "hidden", textOverflow: "ellipsis" }, "& .MuiSelect-icon": { right: 2 } },
17171
17293
  onChange: (event) => onLayoutChange({ fontFamily: event.target.value || void 0 }),
17172
17294
  children: [
17173
- !selectedFont && /* @__PURE__ */ jsx49(MenuItem4, { value: "", sx: { fontSize: 12 }, children: fontLabel }),
17174
- Object.entries(CMS_TEXT_FONTS).map(([value4, label]) => /* @__PURE__ */ jsx49(MenuItem4, { value: value4, sx: { fontFamily: value4, fontSize: 13 }, children: label }, value4))
17295
+ !selectedFont && /* @__PURE__ */ jsx50(MenuItem5, { value: "", sx: { fontSize: 12 }, children: fontLabel }),
17296
+ Object.entries(CMS_TEXT_FONTS).map(([value4, label]) => /* @__PURE__ */ jsx50(MenuItem5, { value: value4, sx: { fontFamily: value4, fontSize: 13 }, children: label }, value4))
17175
17297
  ]
17176
17298
  }
17177
17299
  ),
17178
17300
  structureControls
17179
17301
  ] }),
17180
- /* @__PURE__ */ jsxs41(Box8, { sx: { ...groupSx, flexWrap: "wrap", justifyContent: "space-between" }, children: [
17181
- /* @__PURE__ */ jsx49(Tooltip, { title: "C\u1EE1 ch\u1EEF (px)", ...tooltipProps, children: /* @__PURE__ */ jsx49(
17182
- TextField4,
17302
+ /* @__PURE__ */ jsxs42(Box8, { sx: { ...groupSx, flexWrap: "wrap", justifyContent: "space-between" }, children: [
17303
+ /* @__PURE__ */ jsx50(Tooltip, { title: "C\u1EE1 ch\u1EEF (px)", ...tooltipProps, children: /* @__PURE__ */ jsx50(
17304
+ TextField5,
17183
17305
  {
17184
17306
  size: "small",
17185
17307
  type: "number",
@@ -17199,13 +17321,13 @@ function CmsTextToolbar({ layout, color, colorPicker, inlineControls, structureC
17199
17321
  }
17200
17322
  }
17201
17323
  ) }),
17202
- /* @__PURE__ */ jsx49(Tooltip, { title: "Chi\u1EC1u cao d\xF2ng (l\u1EA7n c\u1EE1 ch\u1EEF)", ...tooltipProps, children: /* @__PURE__ */ jsx49(
17203
- TextField4,
17324
+ /* @__PURE__ */ jsx50(Tooltip, { title: "Chi\u1EC1u cao d\xF2ng (l\u1EA7n c\u1EE1 ch\u1EEF)", ...tooltipProps, children: /* @__PURE__ */ jsx50(
17325
+ TextField5,
17204
17326
  {
17205
17327
  size: "small",
17206
17328
  type: "number",
17207
17329
  value: lineHeight,
17208
- slotProps: { input: { startAdornment: /* @__PURE__ */ jsx49(InputAdornment2, { position: "start", sx: { mr: 0 }, children: /* @__PURE__ */ jsx49(SvgIcon, { sx: { fontSize: 17 }, children: /* @__PURE__ */ jsx49("path", { d: "M3 4 0 7h2v10H0l3 3 3-3H4V7h2L3 4zm5 2h16v2H8zm0 5h16v2H8zm0 5h16v2H8z" }) }) }) }, htmlInput: { "aria-label": "Chi\u1EC1u cao d\xF2ng", min: 0.5, max: 5, step: 0.1 } },
17330
+ slotProps: { input: { startAdornment: /* @__PURE__ */ jsx50(InputAdornment2, { position: "start", sx: { mr: 0 }, children: /* @__PURE__ */ jsx50(SvgIcon, { sx: { fontSize: 17 }, children: /* @__PURE__ */ jsx50("path", { d: "M3 4 0 7h2v10H0l3 3 3-3H4V7h2L3 4zm5 2h16v2H8zm0 5h16v2H8zm0 5h16v2H8z" }) }) }) }, htmlInput: { "aria-label": "Chi\u1EC1u cao d\xF2ng", min: 0.5, max: 5, step: 0.1 } },
17209
17331
  sx: { ...inputSx, width: 78, "& .MuiInputBase-root": { height: 30, pl: 0.75 } },
17210
17332
  onChange: (event) => {
17211
17333
  dirtyLineHeight.current = true;
@@ -17220,8 +17342,8 @@ function CmsTextToolbar({ layout, color, colorPicker, inlineControls, structureC
17220
17342
  }
17221
17343
  }
17222
17344
  ) }),
17223
- /* @__PURE__ */ jsx49(Box8, { sx: groupSx, children: inlineControls }),
17224
- /* @__PURE__ */ jsx49(Box8, { sx: { ...groupSx, borderLeft: "1px solid", borderColor: "divider", pl: 1, ml: 0.5 }, children: [["left", "C\u0103n tr\xE1i"], ["center", "C\u0103n gi\u1EEFa"], ["right", "C\u0103n ph\u1EA3i"]].map(([align, label]) => /* @__PURE__ */ jsx49(Tooltip, { title: label, ...tooltipProps, children: /* @__PURE__ */ jsx49(
17345
+ /* @__PURE__ */ jsx50(Box8, { sx: groupSx, children: inlineControls }),
17346
+ /* @__PURE__ */ jsx50(Box8, { sx: { ...groupSx, borderLeft: "1px solid", borderColor: "divider", pl: 1, ml: 0.5 }, children: [["left", "C\u0103n tr\xE1i"], ["center", "C\u0103n gi\u1EEFa"], ["right", "C\u0103n ph\u1EA3i"]].map(([align, label]) => /* @__PURE__ */ jsx50(Tooltip, { title: label, ...tooltipProps, children: /* @__PURE__ */ jsx50(
17225
17347
  ToggleButton2,
17226
17348
  {
17227
17349
  value: align,
@@ -17230,11 +17352,11 @@ function CmsTextToolbar({ layout, color, colorPicker, inlineControls, structureC
17230
17352
  onMouseDown: (event) => event.preventDefault(),
17231
17353
  onClick: () => onLayoutChange({ textAlign: align }),
17232
17354
  sx: { width: 30, minWidth: 30, height: 30, p: 0.5, border: 0 },
17233
- children: /* @__PURE__ */ jsx49(SvgIcon, { sx: { fontSize: 19 }, children: /* @__PURE__ */ jsx49("path", { d: align === "left" ? "M3 4h18v2H3zm0 5h12v2H3zm0 5h18v2H3zm0 5h12v2H3z" : align === "right" ? "M3 4h18v2H3zm6 5h12v2H9zm-6 5h18v2H3zm6 5h12v2H9z" : "M3 4h18v2H3zm3 5h12v2H6zm-3 5h18v2H3zm3 5h12v2H6z" }) })
17355
+ children: /* @__PURE__ */ jsx50(SvgIcon, { sx: { fontSize: 19 }, children: /* @__PURE__ */ jsx50("path", { d: align === "left" ? "M3 4h18v2H3zm0 5h12v2H3zm0 5h18v2H3zm0 5h12v2H3z" : align === "right" ? "M3 4h18v2H3zm6 5h12v2H9zm-6 5h18v2H3zm6 5h12v2H9z" : "M3 4h18v2H3zm3 5h12v2H6zm-3 5h18v2H3zm3 5h12v2H6z" }) })
17234
17356
  }
17235
17357
  ) }, align)) }),
17236
- colorPicker || /* @__PURE__ */ jsx49(
17237
- TextField4,
17358
+ colorPicker || /* @__PURE__ */ jsx50(
17359
+ TextField5,
17238
17360
  {
17239
17361
  size: "small",
17240
17362
  value: hex,
@@ -17250,7 +17372,7 @@ function CmsTextToolbar({ layout, color, colorPicker, inlineControls, structureC
17250
17372
  }
17251
17373
  }
17252
17374
  ),
17253
- /* @__PURE__ */ jsx49(Tooltip, { title: "\u0110\u1EB7t l\u1EA1i \u0111\u1ECBnh d\u1EA1ng ch\u1EEF", ...tooltipProps, children: /* @__PURE__ */ jsx49(IconButton3, { size: "small", "aria-label": "\u0110\u1EB7t l\u1EA1i \u0111\u1ECBnh d\u1EA1ng ch\u1EEF", onClick: onReset, sx: { width: 30, height: 30 }, children: /* @__PURE__ */ jsx49(SvgIcon, { sx: { fontSize: 19 }, children: /* @__PURE__ */ jsx49("path", { d: "m18 4 3 3-9 9-3-3 9-9zM8 14l3 3-3 3H4l-3-3 4-4 3 1zm4 6h10v2H10z" }) }) }) })
17375
+ /* @__PURE__ */ jsx50(Tooltip, { title: "\u0110\u1EB7t l\u1EA1i \u0111\u1ECBnh d\u1EA1ng ch\u1EEF", ...tooltipProps, children: /* @__PURE__ */ jsx50(IconButton3, { size: "small", "aria-label": "\u0110\u1EB7t l\u1EA1i \u0111\u1ECBnh d\u1EA1ng ch\u1EEF", onClick: onReset, sx: { width: 30, height: 30 }, children: /* @__PURE__ */ jsx50(SvgIcon, { sx: { fontSize: 19 }, children: /* @__PURE__ */ jsx50("path", { d: "m18 4 3 3-9 9-3-3 9-9zM8 14l3 3-3 3H4l-3-3 4-4 3 1zm4 6h10v2H10z" }) }) }) })
17254
17376
  ] })
17255
17377
  ]
17256
17378
  }
@@ -17259,8 +17381,8 @@ function CmsTextToolbar({ layout, color, colorPicker, inlineControls, structureC
17259
17381
 
17260
17382
  // src/shared/button-link-control.tsx
17261
17383
  import { useState as useState18 } from "react";
17262
- import { Box as Box9, Button as Button10, IconButton as IconButton4, MenuItem as MenuItem5, Popover, Stack as Stack6, SvgIcon as SvgIcon2, TextField as TextField5, Typography as Typography5 } from "@mui/material";
17263
- import { Fragment as Fragment13, jsx as jsx50, jsxs as jsxs42 } from "react/jsx-runtime";
17384
+ import { Box as Box9, Button as Button11, IconButton as IconButton4, MenuItem as MenuItem6, Popover, Stack as Stack7, SvgIcon as SvgIcon2, TextField as TextField6, Typography as Typography6 } from "@mui/material";
17385
+ import { Fragment as Fragment13, jsx as jsx51, jsxs as jsxs43 } from "react/jsx-runtime";
17264
17386
  function CmsButtonLinkControl({ field, content, onChange }) {
17265
17387
  const [anchor, setAnchor] = useState18(null);
17266
17388
  const [href, setHref] = useState18("");
@@ -17271,8 +17393,8 @@ function CmsButtonLinkControl({ field, content, onChange }) {
17271
17393
  onChange(cmsButtonLinkChanges(content, field, value4, type));
17272
17394
  setAnchor(null);
17273
17395
  };
17274
- return /* @__PURE__ */ jsxs42(Fragment13, { children: [
17275
- /* @__PURE__ */ jsx50(
17396
+ return /* @__PURE__ */ jsxs43(Fragment13, { children: [
17397
+ /* @__PURE__ */ jsx51(
17276
17398
  IconButton4,
17277
17399
  {
17278
17400
  size: "small",
@@ -17287,10 +17409,10 @@ function CmsButtonLinkControl({ field, content, onChange }) {
17287
17409
  setError("");
17288
17410
  setAnchor(event.currentTarget);
17289
17411
  },
17290
- children: /* @__PURE__ */ jsx50(SvgIcon2, { sx: { fontSize: 19 }, children: /* @__PURE__ */ jsx50("path", { d: "M3.9 12a4.1 4.1 0 0 1 4.1-4.1h4V6H8a6 6 0 0 0 0 12h4v-1.9H8A4.1 4.1 0 0 1 3.9 12ZM9 13h6v-2H9v2Zm7-7h-4v1.9h4a4.1 4.1 0 0 1 0 8.2h-4V18h4a6 6 0 0 0 0-12Z" }) })
17412
+ children: /* @__PURE__ */ jsx51(SvgIcon2, { sx: { fontSize: 19 }, children: /* @__PURE__ */ jsx51("path", { d: "M3.9 12a4.1 4.1 0 0 1 4.1-4.1h4V6H8a6 6 0 0 0 0 12h4v-1.9H8A4.1 4.1 0 0 1 3.9 12ZM9 13h6v-2H9v2Zm7-7h-4v1.9h4a4.1 4.1 0 0 1 0 8.2h-4V18h4a6 6 0 0 0 0-12Z" }) })
17291
17413
  }
17292
17414
  ),
17293
- /* @__PURE__ */ jsx50(
17415
+ /* @__PURE__ */ jsx51(
17294
17416
  Popover,
17295
17417
  {
17296
17418
  open: Boolean(anchor),
@@ -17301,7 +17423,7 @@ function CmsButtonLinkControl({ field, content, onChange }) {
17301
17423
  onClose: () => setAnchor(null),
17302
17424
  anchorOrigin: { vertical: "bottom", horizontal: "left" },
17303
17425
  slotProps: { paper: { sx: { p: 1.5, width: 320, maxWidth: "calc(100% - 32px)" } } },
17304
- children: /* @__PURE__ */ jsx50(Box9, { component: "form", onSubmit: (event) => {
17426
+ children: /* @__PURE__ */ jsx51(Box9, { component: "form", onSubmit: (event) => {
17305
17427
  event.preventDefault();
17306
17428
  const value4 = href.trim();
17307
17429
  if (value4 && !safeCmsButtonHref(value4, type)) {
@@ -17309,10 +17431,10 @@ function CmsButtonLinkControl({ field, content, onChange }) {
17309
17431
  return;
17310
17432
  }
17311
17433
  apply(value4);
17312
- }, children: /* @__PURE__ */ jsxs42(Stack6, { spacing: 1.5, children: [
17313
- /* @__PURE__ */ jsx50(Typography5, { variant: "subtitle2", children: "Li\xEAn k\u1EBFt n\xFAt" }),
17314
- /* @__PURE__ */ jsxs42(
17315
- TextField5,
17434
+ }, children: /* @__PURE__ */ jsxs43(Stack7, { spacing: 1.5, children: [
17435
+ /* @__PURE__ */ jsx51(Typography6, { variant: "subtitle2", children: "Li\xEAn k\u1EBFt n\xFAt" }),
17436
+ /* @__PURE__ */ jsxs43(
17437
+ TextField6,
17316
17438
  {
17317
17439
  select: true,
17318
17440
  size: "small",
@@ -17324,13 +17446,13 @@ function CmsButtonLinkControl({ field, content, onChange }) {
17324
17446
  },
17325
17447
  slotProps: { select: { MenuProps: { disableScrollLock: true, container: anchor?.ownerDocument.body, sx: { zIndex: 1700 } } } },
17326
17448
  children: [
17327
- /* @__PURE__ */ jsx50(MenuItem5, { value: "internal", children: "Internal \u2014 trong website" }),
17328
- /* @__PURE__ */ jsx50(MenuItem5, { value: "external", children: "External \u2014 website kh\xE1c" })
17449
+ /* @__PURE__ */ jsx51(MenuItem6, { value: "internal", children: "Internal \u2014 trong website" }),
17450
+ /* @__PURE__ */ jsx51(MenuItem6, { value: "external", children: "External \u2014 website kh\xE1c" })
17329
17451
  ]
17330
17452
  }
17331
17453
  ),
17332
- /* @__PURE__ */ jsx50(
17333
- TextField5,
17454
+ /* @__PURE__ */ jsx51(
17455
+ TextField6,
17334
17456
  {
17335
17457
  autoFocus: true,
17336
17458
  size: "small",
@@ -17345,9 +17467,9 @@ function CmsButtonLinkControl({ field, content, onChange }) {
17345
17467
  helperText: error || (type === "external" ? "M\u1EDF li\xEAn k\u1EBFt trong tab m\u1EDBi." : "M\u1EDF li\xEAn k\u1EBFt trong tab hi\u1EC7n t\u1EA1i.")
17346
17468
  }
17347
17469
  ),
17348
- /* @__PURE__ */ jsxs42(Stack6, { direction: "row", justifyContent: "space-between", children: [
17349
- /* @__PURE__ */ jsx50(Button10, { size: "small", color: "inherit", onClick: () => apply(""), children: "B\u1ECF li\xEAn k\u1EBFt" }),
17350
- /* @__PURE__ */ jsx50(Button10, { size: "small", variant: "contained", type: "submit", children: "\xC1p d\u1EE5ng" })
17470
+ /* @__PURE__ */ jsxs43(Stack7, { direction: "row", justifyContent: "space-between", children: [
17471
+ /* @__PURE__ */ jsx51(Button11, { size: "small", color: "inherit", onClick: () => apply(""), children: "B\u1ECF li\xEAn k\u1EBFt" }),
17472
+ /* @__PURE__ */ jsx51(Button11, { size: "small", variant: "contained", type: "submit", children: "\xC1p d\u1EE5ng" })
17351
17473
  ] })
17352
17474
  ] }) })
17353
17475
  }