@enyxs/wikex-components 0.11.10 → 0.11.15
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/README.md +32 -1
- package/dist/consultation-model.d.mts +37 -0
- package/dist/consultation-model.d.ts +37 -0
- package/dist/consultation-model.js +42 -0
- package/dist/consultation-model.js.map +1 -0
- package/dist/consultation-model.mjs +15 -0
- package/dist/consultation-model.mjs.map +1 -0
- package/dist/consultations.d.mts +27 -0
- package/dist/consultations.d.ts +27 -0
- package/dist/consultations.js +226 -0
- package/dist/consultations.js.map +1 -0
- package/dist/consultations.mjs +200 -0
- package/dist/consultations.mjs.map +1 -0
- package/dist/fees-model.d.mts +29 -0
- package/dist/fees-model.d.ts +29 -0
- package/dist/fees-model.js +193 -0
- package/dist/fees-model.js.map +1 -0
- package/dist/fees-model.mjs +159 -0
- package/dist/fees-model.mjs.map +1 -0
- package/dist/fees-table-BxHiMpdc.d.mts +20 -0
- package/dist/fees-table-i7g0SHgV.d.ts +20 -0
- package/dist/fees.d.mts +36 -0
- package/dist/fees.d.ts +36 -0
- package/dist/fees.js +1724 -0
- package/dist/fees.js.map +1 -0
- package/dist/fees.mjs +1687 -0
- package/dist/fees.mjs.map +1 -0
- package/dist/index.d.mts +5 -31
- package/dist/index.d.ts +5 -31
- package/dist/index.js +1205 -1051
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2077 -1923
- package/dist/index.mjs.map +1 -1
- package/package.json +21 -1
package/dist/index.js
CHANGED
|
@@ -3921,14 +3921,15 @@ var PageShell = import_styled_components2.default.main.withConfig({
|
|
|
3921
3921
|
var import_jsx_runtime12 = require("react/jsx-runtime");
|
|
3922
3922
|
var import_image3 = __toESM(require("next/image.js"));
|
|
3923
3923
|
var import_react_i18next2 = require("react-i18next");
|
|
3924
|
-
var
|
|
3924
|
+
var import_styled_components4 = __toESM(require("styled-components"));
|
|
3925
3925
|
|
|
3926
3926
|
// src/commodity-original/components/LandingPage/RegisterSection.tsx
|
|
3927
|
-
var import_jsx_runtime10 = require("react/jsx-runtime");
|
|
3928
3927
|
var import_image2 = __toESM(require("next/image.js"));
|
|
3929
3928
|
var import_react9 = require("react");
|
|
3930
|
-
var
|
|
3931
|
-
var
|
|
3929
|
+
var import_Alert = __toESM(require("@mui/material/Alert"));
|
|
3930
|
+
var import_Select = __toESM(require("@mui/material/Select"));
|
|
3931
|
+
var import_MenuItem = __toESM(require("@mui/material/MenuItem"));
|
|
3932
|
+
var import_Checkbox = __toESM(require("@mui/material/Checkbox"));
|
|
3932
3933
|
|
|
3933
3934
|
// src/commodity-original/lib/responsive-provider.tsx
|
|
3934
3935
|
var import_react7 = require("react");
|
|
@@ -4070,691 +4071,555 @@ function CmsImageAction({
|
|
|
4070
4071
|
}
|
|
4071
4072
|
|
|
4072
4073
|
// src/commodity-original/components/LandingPage/RegisterSection.tsx
|
|
4073
|
-
var
|
|
4074
|
-
|
|
4075
|
-
|
|
4076
|
-
|
|
4077
|
-
|
|
4078
|
-
}
|
|
4079
|
-
|
|
4080
|
-
|
|
4081
|
-
|
|
4082
|
-
|
|
4083
|
-
|
|
4084
|
-
}
|
|
4085
|
-
|
|
4086
|
-
|
|
4087
|
-
|
|
4088
|
-
|
|
4089
|
-
|
|
4090
|
-
|
|
4091
|
-
|
|
4092
|
-
|
|
4093
|
-
|
|
4094
|
-
|
|
4095
|
-
|
|
4096
|
-
|
|
4097
|
-
|
|
4098
|
-
|
|
4099
|
-
|
|
4100
|
-
|
|
4101
|
-
|
|
4102
|
-
|
|
4103
|
-
|
|
4104
|
-
|
|
4105
|
-
|
|
4106
|
-
|
|
4107
|
-
|
|
4108
|
-
|
|
4109
|
-
|
|
4110
|
-
|
|
4111
|
-
|
|
4112
|
-
|
|
4113
|
-
|
|
4114
|
-
|
|
4115
|
-
|
|
4116
|
-
|
|
4117
|
-
|
|
4118
|
-
|
|
4119
|
-
|
|
4120
|
-
|
|
4121
|
-
|
|
4122
|
-
|
|
4123
|
-
children: option.label
|
|
4124
|
-
}),
|
|
4125
|
-
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)(import_radix_ui2.Select.ItemIndicator, {
|
|
4126
|
-
className: "register-select-item-indicator",
|
|
4127
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("svg", {
|
|
4128
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
4129
|
-
width: "13",
|
|
4130
|
-
height: "9",
|
|
4131
|
-
viewBox: "0 0 13 9",
|
|
4132
|
-
fill: "none",
|
|
4133
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("path", {
|
|
4134
|
-
d: "M0.75 4.5L4.5 8.25L12 0.75",
|
|
4135
|
-
stroke: "#F9BB3A",
|
|
4136
|
-
strokeWidth: "1.5",
|
|
4137
|
-
strokeLinecap: "round",
|
|
4138
|
-
strokeLinejoin: "round"
|
|
4139
|
-
})
|
|
4140
|
-
})
|
|
4141
|
-
})
|
|
4142
|
-
]
|
|
4143
|
-
}, option.value))
|
|
4144
|
-
})
|
|
4145
|
-
})
|
|
4146
|
-
})
|
|
4147
|
-
]
|
|
4148
|
-
});
|
|
4074
|
+
var import_jsx_runtime10 = require("react/jsx-runtime");
|
|
4075
|
+
var registerSelectSx = {
|
|
4076
|
+
"&&": { padding: 0, minWidth: 0, fontFamily: "inherit", fontSize: 14 },
|
|
4077
|
+
"& .MuiSelect-select": { py: 0, pl: 2, pr: 5, height: "100%", minHeight: "0 !important", display: "flex", alignItems: "center" },
|
|
4078
|
+
"& .MuiOutlinedInput-notchedOutline": { border: 0 },
|
|
4079
|
+
"&.Mui-focused": { borderColor: "#f9bb3a", boxShadow: "0 0 0 3px rgb(249 187 58 / 20%)" }
|
|
4080
|
+
};
|
|
4081
|
+
var registerMenuProps = (container) => ({
|
|
4082
|
+
container,
|
|
4083
|
+
slotProps: {
|
|
4084
|
+
paper: {
|
|
4085
|
+
...{ "data-lenis-prevent": true },
|
|
4086
|
+
sx: { mt: 0.75, maxHeight: 280 }
|
|
4087
|
+
},
|
|
4088
|
+
list: { dense: true }
|
|
4089
|
+
}
|
|
4090
|
+
});
|
|
4091
|
+
function RegisterSelect({
|
|
4092
|
+
disabled = false,
|
|
4093
|
+
ariaLabel,
|
|
4094
|
+
defaultValue = "",
|
|
4095
|
+
name,
|
|
4096
|
+
options,
|
|
4097
|
+
placeholder
|
|
4098
|
+
}) {
|
|
4099
|
+
const root = (0, import_react9.useRef)(null);
|
|
4100
|
+
const [value4, setValue] = (0, import_react9.useState)(defaultValue);
|
|
4101
|
+
return /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)(
|
|
4102
|
+
import_Select.default,
|
|
4103
|
+
{
|
|
4104
|
+
disabled,
|
|
4105
|
+
ref: root,
|
|
4106
|
+
name,
|
|
4107
|
+
value: value4,
|
|
4108
|
+
displayEmpty: true,
|
|
4109
|
+
fullWidth: true,
|
|
4110
|
+
size: "small",
|
|
4111
|
+
className: "register-select-trigger",
|
|
4112
|
+
"data-placeholder": !value4 ? "" : void 0,
|
|
4113
|
+
inputProps: { "aria-label": ariaLabel },
|
|
4114
|
+
renderValue: (selected) => /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("span", { className: "register-select-value", children: options.find((option) => option.value === selected)?.label ?? placeholder }),
|
|
4115
|
+
onChange: (event) => setValue(event.target.value),
|
|
4116
|
+
MenuProps: registerMenuProps(() => root.current?.ownerDocument.body ?? document.body),
|
|
4117
|
+
sx: registerSelectSx,
|
|
4118
|
+
children: [
|
|
4119
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)(import_MenuItem.default, { disabled: true, value: "", children: placeholder }),
|
|
4120
|
+
options.map((option) => /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(import_MenuItem.default, { value: option.value, children: option.label }, option.value))
|
|
4121
|
+
]
|
|
4122
|
+
}
|
|
4123
|
+
);
|
|
4149
4124
|
}
|
|
4150
|
-
function RegisterCheckboxSelect({
|
|
4151
|
-
|
|
4125
|
+
function RegisterCheckboxSelect({
|
|
4126
|
+
disabled = false,
|
|
4127
|
+
labelledBy,
|
|
4128
|
+
name,
|
|
4129
|
+
options,
|
|
4130
|
+
otherLabel,
|
|
4131
|
+
otherPlaceholder,
|
|
4132
|
+
placeholder,
|
|
4133
|
+
legend
|
|
4134
|
+
}) {
|
|
4135
|
+
const root = (0, import_react9.useRef)(null);
|
|
4152
4136
|
const [selectedOptions, setSelectedOptions] = (0, import_react9.useState)([]);
|
|
4153
4137
|
const [otherOption, setOtherOption] = (0, import_react9.useState)("");
|
|
4154
4138
|
const hasOtherOption = selectedOptions.includes("other");
|
|
4155
4139
|
const selectedLabels = options.filter((option) => selectedOptions.includes(option.value)).map((option) => option.value === "other" && otherOption.trim() ? otherOption.trim() : option.label);
|
|
4156
|
-
|
|
4157
|
-
|
|
4158
|
-
|
|
4159
|
-
|
|
4160
|
-
|
|
4161
|
-
|
|
4162
|
-
|
|
4140
|
+
return /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { children: [
|
|
4141
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
|
|
4142
|
+
import_Select.default,
|
|
4143
|
+
{
|
|
4144
|
+
disabled,
|
|
4145
|
+
ref: root,
|
|
4146
|
+
multiple: true,
|
|
4147
|
+
fullWidth: true,
|
|
4148
|
+
size: "small",
|
|
4149
|
+
displayEmpty: true,
|
|
4150
|
+
value: selectedOptions,
|
|
4151
|
+
labelId: labelledBy,
|
|
4152
|
+
className: "register-select-trigger register-market-trigger",
|
|
4153
|
+
"data-placeholder": !selectedOptions.length ? "" : void 0,
|
|
4154
|
+
renderValue: () => /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("span", { className: "register-market-value", children: selectedLabels.join("; ") || placeholder }),
|
|
4155
|
+
onChange: (event) => {
|
|
4156
|
+
const next = typeof event.target.value === "string" ? event.target.value.split(",") : event.target.value;
|
|
4157
|
+
setSelectedOptions(next);
|
|
4158
|
+
if (!next.includes("other")) setOtherOption("");
|
|
4159
|
+
},
|
|
4160
|
+
MenuProps: { ...registerMenuProps(() => root.current?.ownerDocument.body ?? document.body), "aria-label": legend },
|
|
4161
|
+
sx: registerSelectSx,
|
|
4162
|
+
children: options.map((option) => /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)(import_MenuItem.default, { value: option.value, children: [
|
|
4163
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)(import_Checkbox.default, { size: "small", checked: selectedOptions.includes(option.value), tabIndex: -1, disableRipple: true }),
|
|
4164
|
+
option.label
|
|
4165
|
+
] }, option.value))
|
|
4163
4166
|
}
|
|
4164
|
-
|
|
4165
|
-
})
|
|
4166
|
-
|
|
4167
|
-
|
|
4168
|
-
|
|
4169
|
-
|
|
4170
|
-
|
|
4171
|
-
|
|
4172
|
-
|
|
4173
|
-
|
|
4174
|
-
|
|
4175
|
-
|
|
4176
|
-
|
|
4177
|
-
|
|
4178
|
-
|
|
4179
|
-
children: [
|
|
4180
|
-
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("span", {
|
|
4181
|
-
className: "register-market-value",
|
|
4182
|
-
id: valueId,
|
|
4183
|
-
children: selectedLabels.length > 0 ? selectedLabels.join("; ") : placeholder
|
|
4184
|
-
}),
|
|
4185
|
-
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("span", {
|
|
4186
|
-
"aria-hidden": "true",
|
|
4187
|
-
className: "register-select-icon"
|
|
4188
|
-
})
|
|
4189
|
-
]
|
|
4190
|
-
})
|
|
4191
|
-
}),
|
|
4192
|
-
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)(import_radix_ui2.Popover.Portal, {
|
|
4193
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)(RegisterMarketContent, {
|
|
4194
|
-
"data-lenis-prevent": true,
|
|
4195
|
-
align: "start",
|
|
4196
|
-
"aria-labelledby": labelledBy,
|
|
4197
|
-
className: "register-market-content",
|
|
4198
|
-
collisionPadding: 12,
|
|
4199
|
-
sideOffset: 0,
|
|
4200
|
-
children: [
|
|
4201
|
-
/* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("fieldset", {
|
|
4202
|
-
className: "register-market-options",
|
|
4203
|
-
children: [
|
|
4204
|
-
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("legend", {
|
|
4205
|
-
className: "register-market-legend",
|
|
4206
|
-
children: legend
|
|
4207
|
-
}),
|
|
4208
|
-
options.map((option) => {
|
|
4209
|
-
const isChecked = selectedOptions.includes(option.value);
|
|
4210
|
-
return /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("label", {
|
|
4211
|
-
className: "register-market-option",
|
|
4212
|
-
children: [
|
|
4213
|
-
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("input", {
|
|
4214
|
-
checked: isChecked,
|
|
4215
|
-
className: "register-market-checkbox-input",
|
|
4216
|
-
name,
|
|
4217
|
-
onChange: () => toggleOption(option.value),
|
|
4218
|
-
type: "checkbox",
|
|
4219
|
-
value: option.label
|
|
4220
|
-
}),
|
|
4221
|
-
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("span", {
|
|
4222
|
-
"aria-hidden": "true",
|
|
4223
|
-
className: "register-market-checkbox"
|
|
4224
|
-
}),
|
|
4225
|
-
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("span", {
|
|
4226
|
-
children: option.label
|
|
4227
|
-
})
|
|
4228
|
-
]
|
|
4229
|
-
}, option.value);
|
|
4230
|
-
})
|
|
4231
|
-
]
|
|
4232
|
-
}),
|
|
4233
|
-
hasOtherOption ? /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("div", {
|
|
4234
|
-
className: "register-market-other-wrap",
|
|
4235
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("input", {
|
|
4236
|
-
"aria-label": otherLabel,
|
|
4237
|
-
className: "register-market-other",
|
|
4238
|
-
name: `${name}-other`,
|
|
4239
|
-
onChange: (event) => setOtherOption(event.target.value),
|
|
4240
|
-
placeholder: otherPlaceholder,
|
|
4241
|
-
type: "text",
|
|
4242
|
-
value: otherOption
|
|
4243
|
-
})
|
|
4244
|
-
}) : null
|
|
4245
|
-
]
|
|
4246
|
-
})
|
|
4247
|
-
})
|
|
4248
|
-
]
|
|
4249
|
-
});
|
|
4167
|
+
),
|
|
4168
|
+
options.filter((option) => selectedOptions.includes(option.value)).map((option) => /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("input", { type: "hidden", name, value: option.label }, option.value)),
|
|
4169
|
+
hasOtherOption && /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
|
|
4170
|
+
"input",
|
|
4171
|
+
{
|
|
4172
|
+
"aria-label": otherLabel,
|
|
4173
|
+
name: name + "-other",
|
|
4174
|
+
onChange: (event) => setOtherOption(event.target.value),
|
|
4175
|
+
placeholder: otherPlaceholder,
|
|
4176
|
+
style: { marginTop: 8 },
|
|
4177
|
+
type: "text",
|
|
4178
|
+
value: otherOption
|
|
4179
|
+
}
|
|
4180
|
+
)
|
|
4181
|
+
] });
|
|
4250
4182
|
}
|
|
4251
|
-
function RegisterSection({
|
|
4183
|
+
function RegisterSection({
|
|
4184
|
+
variant = "landing",
|
|
4185
|
+
editable = false,
|
|
4186
|
+
onConsultationSubmit
|
|
4187
|
+
}) {
|
|
4252
4188
|
const { isMobile } = useResponsive();
|
|
4253
|
-
const { t } = (0, import_react_i18next.useTranslation)();
|
|
4254
|
-
const
|
|
4255
|
-
const
|
|
4256
|
-
const
|
|
4257
|
-
const
|
|
4258
|
-
const
|
|
4259
|
-
|
|
4260
|
-
|
|
4261
|
-
|
|
4262
|
-
|
|
4263
|
-
{
|
|
4264
|
-
|
|
4265
|
-
|
|
4266
|
-
}
|
|
4267
|
-
|
|
4268
|
-
|
|
4269
|
-
|
|
4189
|
+
const { t, i18n } = (0, import_react_i18next.useTranslation)();
|
|
4190
|
+
const english = i18n.resolvedLanguage?.startsWith("en") ?? false;
|
|
4191
|
+
const [pending, setPending] = (0, import_react9.useState)(false);
|
|
4192
|
+
const [formVersion, setFormVersion] = (0, import_react9.useState)(0);
|
|
4193
|
+
const [notice, setNotice] = (0, import_react9.useState)(null);
|
|
4194
|
+
const submitting = (0, import_react9.useRef)(false);
|
|
4195
|
+
const submissionId = (0, import_react9.useRef)("");
|
|
4196
|
+
const submitConsultation = async (event) => {
|
|
4197
|
+
event.preventDefault();
|
|
4198
|
+
if (submitting.current) return;
|
|
4199
|
+
if (editable || !onConsultationSubmit) {
|
|
4200
|
+
setNotice({ severity: "error", message: english ? "This form is only available on the public website." : "Vui l\xF2ng g\u1EEDi form tr\xEAn trang website c\xF4ng khai." });
|
|
4201
|
+
return;
|
|
4202
|
+
}
|
|
4203
|
+
const form = event.currentTarget;
|
|
4204
|
+
const values = new FormData(form);
|
|
4205
|
+
if (!submissionId.current) submissionId.current = crypto.randomUUID();
|
|
4206
|
+
const text = (key) => String(values.get(key) ?? "").trim();
|
|
4207
|
+
const data = {
|
|
4208
|
+
submissionId: submissionId.current,
|
|
4209
|
+
name: text("name"),
|
|
4210
|
+
phone: text("phone"),
|
|
4211
|
+
email: text("email"),
|
|
4212
|
+
city: text("city"),
|
|
4213
|
+
markets: values.getAll("market").map(String),
|
|
4214
|
+
otherMarket: text("market-other"),
|
|
4215
|
+
capital: text("capital"),
|
|
4216
|
+
language: english ? "en" : "vi",
|
|
4217
|
+
sourcePath: window.location.pathname,
|
|
4218
|
+
website: text("website")
|
|
4219
|
+
};
|
|
4220
|
+
submitting.current = true;
|
|
4221
|
+
setPending(true);
|
|
4222
|
+
setNotice(null);
|
|
4223
|
+
try {
|
|
4224
|
+
await onConsultationSubmit(data);
|
|
4225
|
+
form.reset();
|
|
4226
|
+
setFormVersion((current) => current + 1);
|
|
4227
|
+
submissionId.current = "";
|
|
4228
|
+
setNotice({ severity: "success", message: english ? "Your consultation request has been sent. We will contact you soon." : "\u0110\xE3 g\u1EEDi \u0111\u0103ng k\xFD t\u01B0 v\u1EA5n th\xE0nh c\xF4ng. Ch\xFAng t\xF4i s\u1EBD li\xEAn h\u1EC7 v\u1EDBi b\u1EA1n s\u1EDBm." });
|
|
4229
|
+
} catch (error) {
|
|
4230
|
+
setNotice({ severity: "error", message: error instanceof Error ? error.message : english ? "Unable to submit. Please try again." : "Kh\xF4ng th\u1EC3 g\u1EEDi \u0111\u0103ng k\xFD. Vui l\xF2ng th\u1EED l\u1EA1i." });
|
|
4231
|
+
} finally {
|
|
4232
|
+
submitting.current = false;
|
|
4233
|
+
setPending(false);
|
|
4270
4234
|
}
|
|
4235
|
+
};
|
|
4236
|
+
const aboutVisual = useCmsImage(
|
|
4237
|
+
"registerAboutVisualImage",
|
|
4238
|
+
"/about-us/register_visual.webp"
|
|
4239
|
+
);
|
|
4240
|
+
const phoneVisual = useCmsImage(
|
|
4241
|
+
"registerPhoneImage",
|
|
4242
|
+
"/landing-assets/phone_explore.webp"
|
|
4243
|
+
);
|
|
4244
|
+
const tagLeft = useCmsImage(
|
|
4245
|
+
"registerTagLeftImage",
|
|
4246
|
+
"/landing-assets/mock_reg_left.webp"
|
|
4247
|
+
);
|
|
4248
|
+
const tagRight = useCmsImage(
|
|
4249
|
+
"registerTagRightImage",
|
|
4250
|
+
"/landing-assets/mock_reg_right.webp"
|
|
4251
|
+
);
|
|
4252
|
+
const cityOptions = [
|
|
4253
|
+
{ label: t("landing.register.cities.hcm"), value: "ho-chi-minh-city" },
|
|
4254
|
+
{ label: t("landing.register.cities.hanoi"), value: "hanoi" },
|
|
4255
|
+
{ label: t("landing.register.cities.other"), value: "other" }
|
|
4271
4256
|
];
|
|
4272
4257
|
const capitalOptions = [
|
|
4273
|
-
{
|
|
4274
|
-
|
|
4275
|
-
|
|
4276
|
-
}
|
|
4277
|
-
{
|
|
4278
|
-
label: t("landing.register.capital.10to30"),
|
|
4279
|
-
value: "10m-30m"
|
|
4280
|
-
},
|
|
4281
|
-
{
|
|
4282
|
-
label: t("landing.register.capital.30to100"),
|
|
4283
|
-
value: "30m-100m"
|
|
4284
|
-
},
|
|
4285
|
-
{
|
|
4286
|
-
label: t("landing.register.capital.over100"),
|
|
4287
|
-
value: "over-100m"
|
|
4288
|
-
}
|
|
4258
|
+
{ label: t("landing.register.capital.under10"), value: "under-10m" },
|
|
4259
|
+
{ label: t("landing.register.capital.10to30"), value: "10m-30m" },
|
|
4260
|
+
{ label: t("landing.register.capital.30to100"), value: "30m-100m" },
|
|
4261
|
+
{ label: t("landing.register.capital.over100"), value: "over-100m" }
|
|
4289
4262
|
];
|
|
4290
4263
|
const marketOptions = [
|
|
4291
|
-
{
|
|
4292
|
-
|
|
4293
|
-
|
|
4294
|
-
},
|
|
4295
|
-
{
|
|
4296
|
-
label: t("landing.register.markets.crypto"),
|
|
4297
|
-
value: "digital-assets"
|
|
4298
|
-
},
|
|
4299
|
-
{
|
|
4300
|
-
label: t("landing.register.markets.other"),
|
|
4301
|
-
value: "other"
|
|
4302
|
-
}
|
|
4264
|
+
{ label: t("landing.register.markets.stocks"), value: "stocks" },
|
|
4265
|
+
{ label: t("landing.register.markets.crypto"), value: "digital-assets" },
|
|
4266
|
+
{ label: t("landing.register.markets.other"), value: "other" }
|
|
4303
4267
|
];
|
|
4304
4268
|
if (variant === "about") {
|
|
4305
|
-
const partnerOptions = [
|
|
4306
|
-
"individual",
|
|
4307
|
-
"broker",
|
|
4308
|
-
"professional",
|
|
4309
|
-
"other"
|
|
4310
|
-
].map((value4) => ({
|
|
4269
|
+
const partnerOptions = ["individual", "broker", "professional", "other"].map((value4) => ({
|
|
4311
4270
|
value: value4,
|
|
4312
4271
|
label: t(`aboutUs.partner.options.partner.${value4}`)
|
|
4313
4272
|
}));
|
|
4314
|
-
const experienceOptions = [
|
|
4315
|
-
"none",
|
|
4316
|
-
"under1",
|
|
4317
|
-
"oneTo3",
|
|
4318
|
-
"over3",
|
|
4319
|
-
"other"
|
|
4320
|
-
].map((value4) => ({
|
|
4273
|
+
const experienceOptions = ["none", "under1", "oneTo3", "over3", "other"].map((value4) => ({
|
|
4321
4274
|
value: value4,
|
|
4322
4275
|
label: t(`aboutUs.partner.options.experience.${value4}`)
|
|
4323
4276
|
}));
|
|
4324
|
-
const sourceOptions = [
|
|
4325
|
-
"facebook",
|
|
4326
|
-
"tiktok",
|
|
4327
|
-
"youtube",
|
|
4328
|
-
"community",
|
|
4329
|
-
"other"
|
|
4330
|
-
].map((value4) => ({
|
|
4277
|
+
const sourceOptions = ["facebook", "tiktok", "youtube", "community", "other"].map((value4) => ({
|
|
4331
4278
|
value: value4,
|
|
4332
4279
|
label: t(`aboutUs.partner.options.source.${value4}`)
|
|
4333
4280
|
}));
|
|
4334
|
-
return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("section", {
|
|
4335
|
-
className: "register
|
|
4336
|
-
|
|
4337
|
-
|
|
4338
|
-
|
|
4339
|
-
|
|
4340
|
-
|
|
4341
|
-
|
|
4342
|
-
|
|
4343
|
-
|
|
4344
|
-
|
|
4345
|
-
|
|
4346
|
-
|
|
4347
|
-
|
|
4348
|
-
|
|
4349
|
-
|
|
4350
|
-
|
|
4351
|
-
|
|
4352
|
-
|
|
4353
|
-
|
|
4354
|
-
|
|
4355
|
-
|
|
4356
|
-
|
|
4357
|
-
|
|
4358
|
-
|
|
4359
|
-
|
|
4360
|
-
|
|
4361
|
-
|
|
4362
|
-
|
|
4363
|
-
|
|
4364
|
-
|
|
4365
|
-
|
|
4366
|
-
|
|
4367
|
-
|
|
4368
|
-
|
|
4369
|
-
|
|
4370
|
-
|
|
4371
|
-
|
|
4372
|
-
|
|
4373
|
-
|
|
4374
|
-
|
|
4375
|
-
|
|
4376
|
-
|
|
4377
|
-
|
|
4378
|
-
|
|
4379
|
-
|
|
4380
|
-
|
|
4381
|
-
|
|
4382
|
-
|
|
4383
|
-
|
|
4384
|
-
|
|
4385
|
-
|
|
4386
|
-
|
|
4387
|
-
|
|
4388
|
-
|
|
4389
|
-
|
|
4390
|
-
|
|
4391
|
-
|
|
4392
|
-
|
|
4393
|
-
|
|
4394
|
-
|
|
4395
|
-
|
|
4396
|
-
|
|
4397
|
-
|
|
4398
|
-
|
|
4399
|
-
|
|
4400
|
-
|
|
4401
|
-
|
|
4402
|
-
|
|
4403
|
-
|
|
4404
|
-
|
|
4405
|
-
|
|
4406
|
-
|
|
4407
|
-
|
|
4408
|
-
|
|
4409
|
-
|
|
4410
|
-
|
|
4411
|
-
|
|
4412
|
-
|
|
4413
|
-
|
|
4414
|
-
|
|
4415
|
-
|
|
4416
|
-
|
|
4417
|
-
|
|
4418
|
-
|
|
4419
|
-
|
|
4420
|
-
|
|
4421
|
-
|
|
4422
|
-
|
|
4423
|
-
|
|
4424
|
-
|
|
4425
|
-
|
|
4426
|
-
|
|
4427
|
-
|
|
4428
|
-
|
|
4429
|
-
|
|
4430
|
-
|
|
4431
|
-
|
|
4432
|
-
options: partnerOptions
|
|
4433
|
-
})
|
|
4434
|
-
]
|
|
4435
|
-
})
|
|
4436
|
-
]
|
|
4437
|
-
}),
|
|
4438
|
-
/* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", {
|
|
4439
|
-
className: "field-row",
|
|
4440
|
-
children: [
|
|
4441
|
-
/* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("label", {
|
|
4442
|
-
children: [
|
|
4443
|
-
t("aboutUs.partner.fields.experience"),
|
|
4444
|
-
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)(RegisterSelect, {
|
|
4445
|
-
name: "experience",
|
|
4446
|
-
ariaLabel: t("aboutUs.partner.fields.experience"),
|
|
4447
|
-
placeholder: t("aboutUs.partner.placeholders.experience"),
|
|
4448
|
-
options: experienceOptions
|
|
4449
|
-
})
|
|
4450
|
-
]
|
|
4451
|
-
}),
|
|
4452
|
-
/* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", {
|
|
4453
|
-
className: "register-field",
|
|
4454
|
-
children: [
|
|
4455
|
-
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("span", {
|
|
4456
|
-
className: "register-field-label",
|
|
4457
|
-
id: "about-partner-source-label",
|
|
4458
|
-
children: t("aboutUs.partner.fields.source")
|
|
4459
|
-
}),
|
|
4460
|
-
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)(RegisterCheckboxSelect, {
|
|
4461
|
-
legend: t("aboutUs.partner.sourceLegend"),
|
|
4462
|
-
labelledBy: "about-partner-source-label",
|
|
4463
|
-
name: "source",
|
|
4464
|
-
options: sourceOptions,
|
|
4465
|
-
otherLabel: t("aboutUs.partner.otherSourceLabel"),
|
|
4466
|
-
otherPlaceholder: t("aboutUs.partner.otherSourcePlaceholder"),
|
|
4467
|
-
placeholder: t("aboutUs.partner.placeholders.source")
|
|
4468
|
-
})
|
|
4469
|
-
]
|
|
4470
|
-
})
|
|
4471
|
-
]
|
|
4472
|
-
})
|
|
4473
|
-
]
|
|
4474
|
-
}),
|
|
4475
|
-
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)(Button_default, {
|
|
4476
|
-
className: "register-submit",
|
|
4477
|
-
type: "submit",
|
|
4478
|
-
size: "md",
|
|
4479
|
-
radius: 8,
|
|
4480
|
-
tint: "#F9BB3A",
|
|
4481
|
-
textColor: "#05080F",
|
|
4482
|
-
lineColor: "#fff",
|
|
4483
|
-
baseColor: "#F9BB3A",
|
|
4484
|
-
shineSize: 18,
|
|
4485
|
-
shineFade: 26,
|
|
4486
|
-
thickness: 2,
|
|
4487
|
-
speed: 1.5,
|
|
4488
|
-
followMouse: false,
|
|
4489
|
-
autoAnimate: true,
|
|
4490
|
-
children: t("aboutUs.partner.submit")
|
|
4491
|
-
})
|
|
4492
|
-
]
|
|
4493
|
-
})
|
|
4494
|
-
]
|
|
4495
|
-
}),
|
|
4496
|
-
/* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", {
|
|
4497
|
-
className: "register-visual",
|
|
4498
|
-
children: [
|
|
4499
|
-
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("h2", {
|
|
4500
|
-
children: t("aboutUs.partner.headline")
|
|
4501
|
-
}),
|
|
4502
|
-
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("a", {
|
|
4503
|
-
className: "about-partner-link",
|
|
4504
|
-
href: "/chinh-sach/",
|
|
4505
|
-
children: t("aboutUs.partner.learnMore")
|
|
4506
|
-
}),
|
|
4507
|
-
/* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", {
|
|
4508
|
-
className: "about-partner-media wikex-cms-image-host",
|
|
4509
|
-
"aria-label": t("aboutUs.partner.mediaAlt"),
|
|
4510
|
-
role: "img",
|
|
4511
|
-
children: [
|
|
4512
|
-
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)(import_image2.default, {
|
|
4513
|
-
src: aboutVisual,
|
|
4514
|
-
alt: "visual",
|
|
4515
|
-
width: 585,
|
|
4516
|
-
height: 304
|
|
4517
|
-
}),
|
|
4518
|
-
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)(CmsImageAction, {
|
|
4519
|
-
field: "registerAboutVisualImage"
|
|
4520
|
-
})
|
|
4521
|
-
]
|
|
4522
|
-
})
|
|
4523
|
-
]
|
|
4524
|
-
})
|
|
4525
|
-
]
|
|
4526
|
-
})
|
|
4527
|
-
});
|
|
4528
|
-
}
|
|
4529
|
-
return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("section", {
|
|
4530
|
-
className: "register section",
|
|
4531
|
-
id: "register",
|
|
4532
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", {
|
|
4533
|
-
className: "container register-layout",
|
|
4534
|
-
children: [
|
|
4535
|
-
/* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("form", {
|
|
4536
|
-
className: "register-form-frame",
|
|
4537
|
-
onSubmit: (event) => event.preventDefault(),
|
|
4538
|
-
children: [
|
|
4539
|
-
!isMobile && /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(Button_default, {
|
|
4540
|
-
className: "register-border",
|
|
4541
|
-
type: "button",
|
|
4542
|
-
size: "sm",
|
|
4543
|
-
radius: 20,
|
|
4544
|
-
tint: "#fff",
|
|
4545
|
-
tintOpacity: 0,
|
|
4546
|
-
textColor: "transparent",
|
|
4281
|
+
return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("section", { className: "register register--about section", "aria-labelledby": "about-partner-title", children: /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: "container register-layout", children: [
|
|
4282
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("form", { className: "register-form-frame", onSubmit: (event) => event.preventDefault(), children: [
|
|
4283
|
+
!isMobile && /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
|
|
4284
|
+
Button_default,
|
|
4285
|
+
{
|
|
4286
|
+
className: "register-border",
|
|
4287
|
+
type: "button",
|
|
4288
|
+
size: "sm",
|
|
4289
|
+
radius: 20,
|
|
4290
|
+
tint: "#fff",
|
|
4291
|
+
tintOpacity: 0,
|
|
4292
|
+
textColor: "transparent",
|
|
4293
|
+
lineColor: "#fff",
|
|
4294
|
+
baseColor: "#F9BB3A",
|
|
4295
|
+
shineSize: 11,
|
|
4296
|
+
shineFade: 50,
|
|
4297
|
+
thickness: 5,
|
|
4298
|
+
speed: 2,
|
|
4299
|
+
followMouse: false,
|
|
4300
|
+
autoAnimate: true,
|
|
4301
|
+
ariaHidden: true,
|
|
4302
|
+
tabIndex: -1,
|
|
4303
|
+
children: null
|
|
4304
|
+
}
|
|
4305
|
+
),
|
|
4306
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: "register-card", children: [
|
|
4307
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("header", { children: [
|
|
4308
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("h2", { id: "about-partner-title", children: t("aboutUs.partner.formTitle") }),
|
|
4309
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("p", { children: t("aboutUs.partner.formNote") })
|
|
4310
|
+
] }),
|
|
4311
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: "register-fields", children: [
|
|
4312
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: "field-row", children: [
|
|
4313
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("label", { children: [
|
|
4314
|
+
t("aboutUs.partner.fields.name"),
|
|
4315
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("input", { name: "name", type: "text", autoComplete: "name", placeholder: t("aboutUs.partner.placeholders.name"), required: true })
|
|
4316
|
+
] }),
|
|
4317
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("label", { children: [
|
|
4318
|
+
t("aboutUs.partner.fields.phone"),
|
|
4319
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("input", { name: "phone", type: "tel", autoComplete: "tel", placeholder: t("aboutUs.partner.placeholders.phone"), required: true })
|
|
4320
|
+
] })
|
|
4321
|
+
] }),
|
|
4322
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: "field-row", children: [
|
|
4323
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("label", { children: [
|
|
4324
|
+
t("aboutUs.partner.fields.email"),
|
|
4325
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("input", { name: "email", type: "email", autoComplete: "email", placeholder: t("aboutUs.partner.placeholders.email"), required: true })
|
|
4326
|
+
] }),
|
|
4327
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("label", { children: [
|
|
4328
|
+
t("aboutUs.partner.fields.partner"),
|
|
4329
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
|
|
4330
|
+
RegisterSelect,
|
|
4331
|
+
{
|
|
4332
|
+
name: "partner",
|
|
4333
|
+
ariaLabel: t("aboutUs.partner.fields.partner"),
|
|
4334
|
+
placeholder: t("aboutUs.partner.placeholders.partner"),
|
|
4335
|
+
options: partnerOptions
|
|
4336
|
+
}
|
|
4337
|
+
)
|
|
4338
|
+
] })
|
|
4339
|
+
] }),
|
|
4340
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: "field-row", children: [
|
|
4341
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("label", { children: [
|
|
4342
|
+
t("aboutUs.partner.fields.experience"),
|
|
4343
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
|
|
4344
|
+
RegisterSelect,
|
|
4345
|
+
{
|
|
4346
|
+
name: "experience",
|
|
4347
|
+
ariaLabel: t("aboutUs.partner.fields.experience"),
|
|
4348
|
+
placeholder: t("aboutUs.partner.placeholders.experience"),
|
|
4349
|
+
options: experienceOptions
|
|
4350
|
+
}
|
|
4351
|
+
)
|
|
4352
|
+
] }),
|
|
4353
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: "register-field", children: [
|
|
4354
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("span", { className: "register-field-label", id: "about-partner-source-label", children: t("aboutUs.partner.fields.source") }),
|
|
4355
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
|
|
4356
|
+
RegisterCheckboxSelect,
|
|
4357
|
+
{
|
|
4358
|
+
legend: t("aboutUs.partner.sourceLegend"),
|
|
4359
|
+
labelledBy: "about-partner-source-label",
|
|
4360
|
+
name: "source",
|
|
4361
|
+
options: sourceOptions,
|
|
4362
|
+
otherLabel: t("aboutUs.partner.otherSourceLabel"),
|
|
4363
|
+
otherPlaceholder: t("aboutUs.partner.otherSourcePlaceholder"),
|
|
4364
|
+
placeholder: t("aboutUs.partner.placeholders.source")
|
|
4365
|
+
}
|
|
4366
|
+
)
|
|
4367
|
+
] })
|
|
4368
|
+
] })
|
|
4369
|
+
] }),
|
|
4370
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
|
|
4371
|
+
Button_default,
|
|
4372
|
+
{
|
|
4373
|
+
className: "register-submit",
|
|
4374
|
+
type: "submit",
|
|
4375
|
+
size: "md",
|
|
4376
|
+
radius: 8,
|
|
4377
|
+
tint: "#F9BB3A",
|
|
4378
|
+
textColor: "#05080F",
|
|
4547
4379
|
lineColor: "#fff",
|
|
4548
4380
|
baseColor: "#F9BB3A",
|
|
4549
|
-
shineSize:
|
|
4550
|
-
shineFade:
|
|
4551
|
-
thickness:
|
|
4552
|
-
speed:
|
|
4381
|
+
shineSize: 18,
|
|
4382
|
+
shineFade: 26,
|
|
4383
|
+
thickness: 2,
|
|
4384
|
+
speed: 1.5,
|
|
4553
4385
|
followMouse: false,
|
|
4554
4386
|
autoAnimate: true,
|
|
4555
|
-
|
|
4556
|
-
|
|
4557
|
-
|
|
4558
|
-
|
|
4559
|
-
|
|
4560
|
-
|
|
4561
|
-
|
|
4562
|
-
|
|
4563
|
-
|
|
4564
|
-
|
|
4565
|
-
|
|
4566
|
-
|
|
4567
|
-
|
|
4568
|
-
|
|
4569
|
-
|
|
4570
|
-
|
|
4571
|
-
|
|
4572
|
-
|
|
4573
|
-
|
|
4574
|
-
|
|
4575
|
-
|
|
4576
|
-
|
|
4577
|
-
|
|
4578
|
-
|
|
4579
|
-
|
|
4580
|
-
|
|
4581
|
-
|
|
4582
|
-
|
|
4583
|
-
|
|
4584
|
-
|
|
4585
|
-
|
|
4586
|
-
|
|
4587
|
-
|
|
4588
|
-
|
|
4589
|
-
|
|
4590
|
-
|
|
4591
|
-
|
|
4592
|
-
|
|
4593
|
-
|
|
4594
|
-
|
|
4595
|
-
|
|
4596
|
-
|
|
4597
|
-
|
|
4598
|
-
|
|
4599
|
-
|
|
4600
|
-
|
|
4601
|
-
|
|
4602
|
-
|
|
4603
|
-
|
|
4604
|
-
|
|
4605
|
-
|
|
4606
|
-
|
|
4607
|
-
|
|
4608
|
-
|
|
4609
|
-
|
|
4610
|
-
|
|
4611
|
-
|
|
4612
|
-
|
|
4613
|
-
|
|
4614
|
-
|
|
4615
|
-
|
|
4616
|
-
|
|
4617
|
-
|
|
4618
|
-
|
|
4619
|
-
|
|
4620
|
-
|
|
4621
|
-
|
|
4622
|
-
|
|
4623
|
-
|
|
4624
|
-
|
|
4625
|
-
|
|
4626
|
-
|
|
4627
|
-
|
|
4628
|
-
|
|
4629
|
-
|
|
4630
|
-
|
|
4631
|
-
|
|
4632
|
-
|
|
4633
|
-
|
|
4634
|
-
|
|
4635
|
-
|
|
4636
|
-
|
|
4637
|
-
|
|
4638
|
-
|
|
4639
|
-
|
|
4640
|
-
|
|
4641
|
-
|
|
4642
|
-
|
|
4643
|
-
|
|
4644
|
-
|
|
4645
|
-
|
|
4646
|
-
|
|
4647
|
-
|
|
4648
|
-
|
|
4649
|
-
|
|
4650
|
-
|
|
4651
|
-
|
|
4652
|
-
|
|
4653
|
-
|
|
4654
|
-
|
|
4655
|
-
|
|
4656
|
-
|
|
4657
|
-
|
|
4658
|
-
|
|
4659
|
-
|
|
4660
|
-
|
|
4661
|
-
|
|
4662
|
-
|
|
4663
|
-
|
|
4664
|
-
|
|
4665
|
-
|
|
4666
|
-
|
|
4667
|
-
|
|
4668
|
-
|
|
4669
|
-
|
|
4670
|
-
|
|
4671
|
-
|
|
4672
|
-
|
|
4673
|
-
|
|
4674
|
-
|
|
4675
|
-
|
|
4676
|
-
|
|
4677
|
-
|
|
4678
|
-
|
|
4679
|
-
|
|
4680
|
-
|
|
4681
|
-
|
|
4682
|
-
|
|
4683
|
-
|
|
4684
|
-
|
|
4685
|
-
|
|
4686
|
-
|
|
4687
|
-
|
|
4688
|
-
|
|
4689
|
-
|
|
4690
|
-
|
|
4691
|
-
|
|
4692
|
-
|
|
4693
|
-
|
|
4694
|
-
|
|
4695
|
-
|
|
4696
|
-
|
|
4697
|
-
|
|
4698
|
-
|
|
4699
|
-
|
|
4700
|
-
|
|
4701
|
-
|
|
4702
|
-
|
|
4703
|
-
|
|
4704
|
-
|
|
4705
|
-
|
|
4706
|
-
|
|
4707
|
-
|
|
4708
|
-
|
|
4709
|
-
|
|
4710
|
-
|
|
4711
|
-
|
|
4712
|
-
|
|
4713
|
-
|
|
4714
|
-
|
|
4715
|
-
|
|
4716
|
-
|
|
4717
|
-
|
|
4718
|
-
|
|
4719
|
-
|
|
4720
|
-
|
|
4721
|
-
|
|
4722
|
-
|
|
4723
|
-
|
|
4724
|
-
|
|
4725
|
-
|
|
4726
|
-
|
|
4727
|
-
|
|
4728
|
-
|
|
4729
|
-
|
|
4730
|
-
|
|
4731
|
-
|
|
4732
|
-
|
|
4733
|
-
|
|
4734
|
-
|
|
4735
|
-
|
|
4736
|
-
|
|
4737
|
-
|
|
4738
|
-
|
|
4739
|
-
|
|
4740
|
-
|
|
4741
|
-
|
|
4742
|
-
|
|
4743
|
-
|
|
4744
|
-
|
|
4745
|
-
|
|
4746
|
-
|
|
4747
|
-
|
|
4748
|
-
|
|
4749
|
-
|
|
4750
|
-
|
|
4751
|
-
|
|
4752
|
-
|
|
4753
|
-
|
|
4754
|
-
|
|
4755
|
-
|
|
4756
|
-
|
|
4757
|
-
|
|
4387
|
+
children: t("aboutUs.partner.submit")
|
|
4388
|
+
}
|
|
4389
|
+
)
|
|
4390
|
+
] })
|
|
4391
|
+
] }),
|
|
4392
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: "register-visual", children: [
|
|
4393
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("h2", { children: t("aboutUs.partner.headline") }),
|
|
4394
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("a", { className: "about-partner-link", href: "/chinh-sach/", children: t("aboutUs.partner.learnMore") }),
|
|
4395
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: "about-partner-media wikex-cms-image-host", "aria-label": t("aboutUs.partner.mediaAlt"), role: "img", children: [
|
|
4396
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
|
|
4397
|
+
import_image2.default,
|
|
4398
|
+
{
|
|
4399
|
+
src: aboutVisual,
|
|
4400
|
+
alt: "visual",
|
|
4401
|
+
width: 585,
|
|
4402
|
+
height: 304
|
|
4403
|
+
}
|
|
4404
|
+
),
|
|
4405
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)(CmsImageAction, { field: "registerAboutVisualImage" })
|
|
4406
|
+
] })
|
|
4407
|
+
] })
|
|
4408
|
+
] }) });
|
|
4409
|
+
}
|
|
4410
|
+
return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("section", { className: "register section", id: "register", children: /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: "container register-layout", children: [
|
|
4411
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsxs)(
|
|
4412
|
+
"form",
|
|
4413
|
+
{
|
|
4414
|
+
className: "register-form-frame",
|
|
4415
|
+
onSubmit: submitConsultation,
|
|
4416
|
+
"aria-busy": pending,
|
|
4417
|
+
"data-consultation-form": true,
|
|
4418
|
+
children: [
|
|
4419
|
+
!isMobile && /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
|
|
4420
|
+
Button_default,
|
|
4421
|
+
{
|
|
4422
|
+
className: "register-border",
|
|
4423
|
+
type: "button",
|
|
4424
|
+
size: "sm",
|
|
4425
|
+
radius: 20,
|
|
4426
|
+
tint: "#fff",
|
|
4427
|
+
tintOpacity: 0,
|
|
4428
|
+
textColor: "transparent",
|
|
4429
|
+
lineColor: "#fff",
|
|
4430
|
+
baseColor: "#F9BB3A",
|
|
4431
|
+
shineSize: 11,
|
|
4432
|
+
shineFade: 50,
|
|
4433
|
+
thickness: 5,
|
|
4434
|
+
speed: 2,
|
|
4435
|
+
followMouse: false,
|
|
4436
|
+
autoAnimate: true,
|
|
4437
|
+
ariaHidden: true,
|
|
4438
|
+
tabIndex: -1,
|
|
4439
|
+
children: null
|
|
4440
|
+
}
|
|
4441
|
+
),
|
|
4442
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: "register-card", children: [
|
|
4443
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("header", { children: [
|
|
4444
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("h2", { children: t("landing.register.title") }),
|
|
4445
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("p", { children: t("landing.register.confidential") })
|
|
4446
|
+
] }),
|
|
4447
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("fieldset", { className: "register-fields", disabled: pending, style: { border: 0, padding: 0, margin: 0, minWidth: 0 }, children: [
|
|
4448
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("div", { "aria-hidden": "true", style: { display: "none" }, children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("input", { name: "website", tabIndex: -1, autoComplete: "off" }) }),
|
|
4449
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: "field-row", children: [
|
|
4450
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("label", { children: [
|
|
4451
|
+
t("landing.register.fields.name"),
|
|
4452
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
|
|
4453
|
+
"input",
|
|
4454
|
+
{
|
|
4455
|
+
name: "name",
|
|
4456
|
+
type: "text",
|
|
4457
|
+
autoComplete: "name",
|
|
4458
|
+
placeholder: t("landing.register.namePlaceholder"),
|
|
4459
|
+
required: true
|
|
4460
|
+
}
|
|
4461
|
+
)
|
|
4462
|
+
] }),
|
|
4463
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("label", { children: [
|
|
4464
|
+
t("landing.register.fields.phone"),
|
|
4465
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
|
|
4466
|
+
"input",
|
|
4467
|
+
{
|
|
4468
|
+
name: "phone",
|
|
4469
|
+
type: "tel",
|
|
4470
|
+
autoComplete: "tel",
|
|
4471
|
+
placeholder: t("landing.register.phonePlaceholder"),
|
|
4472
|
+
required: true
|
|
4473
|
+
}
|
|
4474
|
+
)
|
|
4475
|
+
] })
|
|
4476
|
+
] }),
|
|
4477
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: "field-row", children: [
|
|
4478
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("label", { children: [
|
|
4479
|
+
t("landing.register.fields.email"),
|
|
4480
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
|
|
4481
|
+
"input",
|
|
4482
|
+
{
|
|
4483
|
+
name: "email",
|
|
4484
|
+
type: "email",
|
|
4485
|
+
autoComplete: "email",
|
|
4486
|
+
placeholder: t("landing.register.emailPlaceholder"),
|
|
4487
|
+
required: true
|
|
4488
|
+
}
|
|
4489
|
+
)
|
|
4490
|
+
] }),
|
|
4491
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("label", { children: [
|
|
4492
|
+
t("landing.register.fields.city"),
|
|
4493
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
|
|
4494
|
+
RegisterSelect,
|
|
4495
|
+
{
|
|
4496
|
+
disabled: pending,
|
|
4497
|
+
name: "city",
|
|
4498
|
+
ariaLabel: t("landing.register.fields.city"),
|
|
4499
|
+
placeholder: t("landing.register.cityPlaceholder"),
|
|
4500
|
+
options: cityOptions
|
|
4501
|
+
}
|
|
4502
|
+
)
|
|
4503
|
+
] })
|
|
4504
|
+
] }),
|
|
4505
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: "register-field", children: [
|
|
4506
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
|
|
4507
|
+
"span",
|
|
4508
|
+
{
|
|
4509
|
+
className: "register-field-label",
|
|
4510
|
+
id: "register-market-label",
|
|
4511
|
+
children: t("landing.register.fields.market")
|
|
4512
|
+
}
|
|
4513
|
+
),
|
|
4514
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
|
|
4515
|
+
RegisterCheckboxSelect,
|
|
4516
|
+
{
|
|
4517
|
+
disabled: pending,
|
|
4518
|
+
legend: t("landing.register.marketLegend"),
|
|
4519
|
+
name: "market",
|
|
4520
|
+
labelledBy: "register-market-label",
|
|
4521
|
+
options: marketOptions,
|
|
4522
|
+
otherLabel: t("landing.register.otherMarketLabel"),
|
|
4523
|
+
otherPlaceholder: t("landing.register.otherMarketPlaceholder"),
|
|
4524
|
+
placeholder: t("landing.register.marketPlaceholder")
|
|
4525
|
+
}
|
|
4526
|
+
)
|
|
4527
|
+
] }),
|
|
4528
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("label", { children: [
|
|
4529
|
+
t("landing.register.fields.capital"),
|
|
4530
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
|
|
4531
|
+
RegisterSelect,
|
|
4532
|
+
{
|
|
4533
|
+
disabled: pending,
|
|
4534
|
+
name: "capital",
|
|
4535
|
+
ariaLabel: t("landing.register.fields.capital"),
|
|
4536
|
+
placeholder: t("landing.register.capitalPlaceholder"),
|
|
4537
|
+
options: capitalOptions
|
|
4538
|
+
}
|
|
4539
|
+
)
|
|
4540
|
+
] })
|
|
4541
|
+
] }, formVersion),
|
|
4542
|
+
notice && /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(import_Alert.default, { severity: notice.severity, role: notice.severity === "success" ? "status" : "alert", sx: { mt: 2, mb: 2, textAlign: "left" }, children: notice.message }),
|
|
4543
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
|
|
4544
|
+
Button_default,
|
|
4545
|
+
{
|
|
4546
|
+
className: "register-submit",
|
|
4547
|
+
type: "submit",
|
|
4548
|
+
disabled: pending,
|
|
4549
|
+
size: "md",
|
|
4550
|
+
radius: 8,
|
|
4551
|
+
tint: "#F9BB3A",
|
|
4552
|
+
textColor: "#05080F",
|
|
4553
|
+
lineColor: "#fff",
|
|
4554
|
+
baseColor: "#F9BB3A",
|
|
4555
|
+
shineSize: 18,
|
|
4556
|
+
shineFade: 26,
|
|
4557
|
+
thickness: 2,
|
|
4558
|
+
speed: 1.5,
|
|
4559
|
+
followMouse: false,
|
|
4560
|
+
autoAnimate: true,
|
|
4561
|
+
children: pending ? english ? "Sending\u2026" : "\u0110ang g\u1EEDi\u2026" : t("landing.register.submit")
|
|
4562
|
+
}
|
|
4563
|
+
)
|
|
4564
|
+
] })
|
|
4565
|
+
]
|
|
4566
|
+
}
|
|
4567
|
+
),
|
|
4568
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: "register-visual", children: [
|
|
4569
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("h2", { children: t("landing.register.visualTitle") }),
|
|
4570
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: "register-art wikex-cms-image-host", children: [
|
|
4571
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
|
|
4572
|
+
import_image2.default,
|
|
4573
|
+
{
|
|
4574
|
+
src: phoneVisual,
|
|
4575
|
+
alt: t("landing.register.visualAlt"),
|
|
4576
|
+
width: 671,
|
|
4577
|
+
height: 597,
|
|
4578
|
+
sizes: isMobile ? "calc(100vw - 32px)" : "671px"
|
|
4579
|
+
}
|
|
4580
|
+
),
|
|
4581
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: "register-tags", children: [
|
|
4582
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: "register-tag tag_1", children: [
|
|
4583
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
|
|
4584
|
+
import_image2.default,
|
|
4585
|
+
{
|
|
4586
|
+
src: tagLeft,
|
|
4587
|
+
alt: "",
|
|
4588
|
+
width: 24,
|
|
4589
|
+
height: 24
|
|
4590
|
+
}
|
|
4591
|
+
),
|
|
4592
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("span", { children: t("landing.register.tags.transparent") })
|
|
4593
|
+
] }),
|
|
4594
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: "register-tag tag_2", children: [
|
|
4595
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
|
|
4596
|
+
import_image2.default,
|
|
4597
|
+
{
|
|
4598
|
+
src: tagRight,
|
|
4599
|
+
alt: "",
|
|
4600
|
+
width: 24,
|
|
4601
|
+
height: 24
|
|
4602
|
+
}
|
|
4603
|
+
),
|
|
4604
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("span", { children: t("landing.register.tags.easy") })
|
|
4605
|
+
] }),
|
|
4606
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: "register-tag tag_3", children: [
|
|
4607
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
|
|
4608
|
+
import_image2.default,
|
|
4609
|
+
{
|
|
4610
|
+
src: tagRight,
|
|
4611
|
+
alt: "",
|
|
4612
|
+
width: 24,
|
|
4613
|
+
height: 24
|
|
4614
|
+
}
|
|
4615
|
+
),
|
|
4616
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("span", { children: t("landing.register.tags.effective") })
|
|
4617
|
+
] })
|
|
4618
|
+
] }),
|
|
4619
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)(CmsImageAction, { field: "registerPhoneImage" })
|
|
4620
|
+
] })
|
|
4621
|
+
] })
|
|
4622
|
+
] }) });
|
|
4758
4623
|
}
|
|
4759
4624
|
|
|
4760
4625
|
// src/commodity-original/lib/cms-list.tsx
|
|
@@ -5230,82 +5095,82 @@ var companyGalleryItems = [
|
|
|
5230
5095
|
];
|
|
5231
5096
|
|
|
5232
5097
|
// src/commodity-original/app/about-us/style.ts
|
|
5233
|
-
var
|
|
5234
|
-
var AboutUsMain =
|
|
5098
|
+
var import_styled_components3 = __toESM(require("styled-components"));
|
|
5099
|
+
var AboutUsMain = import_styled_components3.default.main.withConfig({
|
|
5235
5100
|
componentId: "sc-574a802f-0"
|
|
5236
5101
|
})([
|
|
5237
5102
|
`min-height:calc(100vh - var(--header-height));background:`,
|
|
5238
5103
|
`;`
|
|
5239
5104
|
], ({ theme }) => theme.colors.background.canvas);
|
|
5240
|
-
var HeroSection =
|
|
5105
|
+
var HeroSection = import_styled_components3.default.section.withConfig({
|
|
5241
5106
|
componentId: "sc-574a802f-1"
|
|
5242
5107
|
})([
|
|
5243
5108
|
`min-height:500px;background:var( --wikex-about-hero-background,url("/about-us/about-us-thumbnail.webp") ) center / cover no-repeat;@media (max-width:767px){min-height:auto;background-position:42% center;}`
|
|
5244
5109
|
]);
|
|
5245
|
-
var HeroContent =
|
|
5110
|
+
var HeroContent = import_styled_components3.default.div.withConfig({
|
|
5246
5111
|
componentId: "sc-574a802f-2"
|
|
5247
5112
|
})([
|
|
5248
5113
|
`display:grid;width:min(1200px,calc(100% - 48px));min-height:500px;margin:0 auto;padding:80px 0;grid-template-columns:minmax(0,1fr) 390px;align-items:center;gap:64px;@media (max-width:1023px){grid-template-columns:minmax(0,1fr) 280px;gap:32px;}@media (max-width:767px){width:min(100% - 32px,520px);min-height:auto;padding:48px 0;grid-template-columns:1fr;gap:32px;text-align:center;}`
|
|
5249
5114
|
]);
|
|
5250
|
-
var HeroTitle2 =
|
|
5115
|
+
var HeroTitle2 = import_styled_components3.default.h1.withConfig({
|
|
5251
5116
|
componentId: "sc-574a802f-3"
|
|
5252
5117
|
})([
|
|
5253
5118
|
`max-width:740px;margin:0;color:`,
|
|
5254
5119
|
`;font-size:54px;font-weight:700;line-height:1.25;white-space:pre-line;@media (max-width:1023px){font-size:42px;}@media (max-width:767px){max-width:520px;justify-self:center;font-size:32px;line-height:40px;white-space:normal;}`
|
|
5255
5120
|
], ({ theme }) => theme.colors.accent.foreground);
|
|
5256
|
-
var HeroCertificate =
|
|
5121
|
+
var HeroCertificate = import_styled_components3.default.div.withConfig({
|
|
5257
5122
|
componentId: "sc-574a802f-4"
|
|
5258
5123
|
})([
|
|
5259
5124
|
`display:flex;width:238px;height:340px;justify-self:center;align-items:center;justify-content:center;img{display:block;width:238px;height:340px;object-fit:contain;}@media (prefers-reduced-motion:no-preference){img{animation:certificate-reveal 600ms cubic-bezier(0.22,1,0.36,1) both;}}@keyframes certificate-reveal{from{opacity:0;transform:translateY(16px);}to{opacity:1;transform:translateY(0);}}@media (max-width:767px){width:168px;height:240px;img{width:168px;height:240px;}}`
|
|
5260
5125
|
]);
|
|
5261
|
-
var IntroSection =
|
|
5126
|
+
var IntroSection = import_styled_components3.default.section.withConfig({
|
|
5262
5127
|
componentId: "sc-574a802f-5"
|
|
5263
5128
|
})([
|
|
5264
5129
|
`min-height:576px;padding:80px 24px 60px;color:`,
|
|
5265
5130
|
`;background:`,
|
|
5266
5131
|
`;@media (max-width:767px){min-height:auto;padding:30px 16px;}`
|
|
5267
5132
|
], ({ theme }) => theme.colors.text.primary, ({ theme }) => theme.colors.background.warm);
|
|
5268
|
-
var SectionTitle =
|
|
5133
|
+
var SectionTitle = import_styled_components3.default.h2.withConfig({
|
|
5269
5134
|
componentId: "sc-574a802f-6"
|
|
5270
5135
|
})([
|
|
5271
5136
|
`margin:0 0 32px;font-size:40px;font-weight:700;line-height:1.2;text-align:center;@media (max-width:767px){margin-bottom:24px;font-size:24px;}`
|
|
5272
5137
|
]);
|
|
5273
|
-
var IntroContent =
|
|
5138
|
+
var IntroContent = import_styled_components3.default.div.withConfig({
|
|
5274
5139
|
componentId: "sc-574a802f-7"
|
|
5275
5140
|
})([
|
|
5276
5141
|
`display:grid;width:min(1200px,100%);margin:0 auto;grid-template-columns:minmax(0,590px) minmax(0,1fr);gap:40px;@media (min-width:1024px) and (max-width:1159px){gap:20px;}@media (min-width:768px) and (max-width:1023px){gap:32px;display:flex;flex-direction:column;}@media (max-width:767px){grid-template-columns:1fr;gap:16px;}`
|
|
5277
5142
|
]);
|
|
5278
|
-
var IntroIllustration =
|
|
5143
|
+
var IntroIllustration = import_styled_components3.default.figure.withConfig({
|
|
5279
5144
|
componentId: "sc-574a802f-8"
|
|
5280
5145
|
})([
|
|
5281
5146
|
`width:100%;margin:0;span{font-size:16px;font-weight:500;line-height:1.5;}@media (min-width:768px) and (max-width:1023px){min-height:320px;display:flex;justify-content:center;}@media (max-width:767px){min-height:auto;img{width:100%;height:100%;}}`
|
|
5282
5147
|
]);
|
|
5283
|
-
var IntroCopy =
|
|
5148
|
+
var IntroCopy = import_styled_components3.default.div.withConfig({
|
|
5284
5149
|
componentId: "sc-574a802f-9"
|
|
5285
5150
|
})([
|
|
5286
5151
|
`display:flex;min-width:0;flex-direction:column;justify-content:center;gap:8px;p{margin:0;color:`,
|
|
5287
5152
|
`;font-size:16px;font-weight:400;line-height:22px;}p strong{color:`,
|
|
5288
5153
|
`;font-size:inherit;font-weight:700;}@media (max-width:1023px){gap:6px;p{font-size:14px;}}`
|
|
5289
5154
|
], ({ theme }) => theme.colors.text.content, ({ theme }) => theme.colors.text.content);
|
|
5290
|
-
var IntroTagline =
|
|
5155
|
+
var IntroTagline = import_styled_components3.default.strong.withConfig({
|
|
5291
5156
|
componentId: "sc-574a802f-10"
|
|
5292
5157
|
})([
|
|
5293
5158
|
`color:`,
|
|
5294
5159
|
`;font-size:16px;font-weight:700;line-height:1.45;@media (max-width:1023px){font-size:14px;}`
|
|
5295
5160
|
], ({ theme }) => theme.colors.accent.primary);
|
|
5296
|
-
var VisionMissionSection =
|
|
5161
|
+
var VisionMissionSection = import_styled_components3.default.section.withConfig({
|
|
5297
5162
|
componentId: "sc-574a802f-11"
|
|
5298
5163
|
})([
|
|
5299
5164
|
`min-height:556px;padding:60px 24px;color:`,
|
|
5300
5165
|
`;background:`,
|
|
5301
5166
|
`;@media (max-width:767px){min-height:auto;padding:30px 24px 30px;}`
|
|
5302
5167
|
], ({ theme }) => theme.colors.text.primary, ({ theme }) => theme.colors.background.warm);
|
|
5303
|
-
var VisionMissionGrid =
|
|
5168
|
+
var VisionMissionGrid = import_styled_components3.default.div.withConfig({
|
|
5304
5169
|
componentId: "sc-574a802f-12"
|
|
5305
5170
|
})([
|
|
5306
5171
|
`display:grid;width:min(1200px,100%);margin:0 auto;grid-template-columns:repeat(2,minmax(0,1fr));gap:64px;@media (max-width:767px){grid-template-columns:1fr;gap:45px;}`
|
|
5307
5172
|
]);
|
|
5308
|
-
var VisionCard =
|
|
5173
|
+
var VisionCard = import_styled_components3.default.article.withConfig({
|
|
5309
5174
|
componentId: "sc-574a802f-13"
|
|
5310
5175
|
})([
|
|
5311
5176
|
`position:relative;min-width:0;min-height:320px;&::before,&::after{position:absolute;content:"";pointer-events:none;}&::before{z-index:0;top:-12px;left:-12px;width:calc(100% - 68px);height:calc(100% - 38px);border-radius:12px 0 0 0;border-top:2px solid `,
|
|
@@ -5313,20 +5178,20 @@ var VisionCard = import_styled_components4.default.article.withConfig({
|
|
|
5313
5178
|
`;}&::after{z-index:0;top:34px;right:-12px;bottom:-12px;left:80px;border-radius:0 0 6px;background:`,
|
|
5314
5179
|
`;}@media (max-width:767px){min-height:unset;&::before{left:-8px;}&::after{right:-8px;bottom:-10px;left:48px;border-bottom-left-radius:8px;}}`
|
|
5315
5180
|
], ({ theme }) => theme.colors.accent.primary, ({ theme }) => theme.colors.accent.primary, ({ theme }) => theme.colors.accent.primary);
|
|
5316
|
-
var VisionCardBody =
|
|
5181
|
+
var VisionCardBody = import_styled_components3.default.div.withConfig({
|
|
5317
5182
|
componentId: "sc-574a802f-14"
|
|
5318
5183
|
})([
|
|
5319
5184
|
`position:relative;z-index:1;display:flex;height:100%;min-height:320px;padding:44px 40px 36px;flex-direction:column;border-radius:6px;color:`,
|
|
5320
5185
|
`;background:`,
|
|
5321
5186
|
`;box-shadow:0 4px 14px rgb(0 0 0 / 8%);p,ul{margin:0;font-size:16px;line-height:22px;}ul{display:flex;padding:0;flex-direction:column;gap:10px;list-style:none;}> p + ul{margin-top:10px;}strong{font-weight:700;}@media (max-width:1023px){padding:36px 28px 32px;p,ul{font-size:14px;font-weight:500;line-height:18px;}}@media (max-width:767px){min-height:unset;padding:24px;height:auto;}`
|
|
5322
5187
|
], ({ theme }) => theme.colors.text.content, ({ theme }) => theme.colors.background.card);
|
|
5323
|
-
var VisionCardTitle =
|
|
5188
|
+
var VisionCardTitle = import_styled_components3.default.h3.withConfig({
|
|
5324
5189
|
componentId: "sc-574a802f-15"
|
|
5325
5190
|
})([
|
|
5326
5191
|
`margin:0 0 14px;color:`,
|
|
5327
5192
|
`;font-size:20px;font-weight:700;line-height:1.3;@media (max-width:767px){font-size:16px;margin-bottom:10px;}`
|
|
5328
5193
|
], ({ theme }) => theme.colors.text.primary);
|
|
5329
|
-
var CoreValueSection =
|
|
5194
|
+
var CoreValueSection = import_styled_components3.default.section.withConfig({
|
|
5330
5195
|
componentId: "sc-574a802f-16"
|
|
5331
5196
|
})([
|
|
5332
5197
|
`min-height:490px;padding:60px 24px;color:`,
|
|
@@ -5335,19 +5200,19 @@ var CoreValueSection = import_styled_components4.default.section.withConfig({
|
|
|
5335
5200
|
`{margin-bottom:56px;}@media (max-width:1023px){min-height:auto;}@media (max-width:767px){padding:30px 15px;`,
|
|
5336
5201
|
`{margin-bottom:44px;}}`
|
|
5337
5202
|
], ({ theme }) => theme.colors.text.primary, ({ theme }) => theme.colors.background.warm, SectionTitle, SectionTitle);
|
|
5338
|
-
var CoreValueGrid =
|
|
5203
|
+
var CoreValueGrid = import_styled_components3.default.div.withConfig({
|
|
5339
5204
|
componentId: "sc-574a802f-17"
|
|
5340
5205
|
})([
|
|
5341
5206
|
`display:grid;width:min(1200px,100%);margin:0 auto;grid-template-columns:repeat(4,minmax(0,1fr));gap:32px;@media (max-width:1023px){grid-template-columns:repeat(2,minmax(0,1fr));gap:52px 32px;}@media (max-width:767px){gap:45px 20px;}`
|
|
5342
5207
|
]);
|
|
5343
|
-
var CoreValueCard =
|
|
5208
|
+
var CoreValueCard = import_styled_components3.default.article.withConfig({
|
|
5344
5209
|
componentId: "sc-574a802f-18"
|
|
5345
5210
|
})([
|
|
5346
5211
|
`position:relative;min-width:0;min-height:242px;padding:44px 32px 48px;text-align:center;z-index:1;&::before,&::after{position:absolute;content:"";pointer-events:none;}&::before{z-index:0;top:-30px;right:-6px;bottom:-14px;left:-14px;background:url("/landing-assets/benefit-card-short.svg") no-repeat center / 100% 100%;:root[data-theme="dark"] &{background-image:url("/landing-assets/benefit-card-short-dark.svg");}}&::after{z-index:0;right:0;bottom:-16px;left:32px;height:52px;background:url("/landing-assets/benefit-card-accent.svg") no-repeat center / 100% 100%;z-index:-1;}h3,p{position:relative;z-index:1;}h3{margin:0 0 8px;color:`,
|
|
5347
5212
|
`;font-size:20px;font-weight:700;line-height:1.5;}p{margin:0;color:`,
|
|
5348
5213
|
`;font-size:16px;font-weight:500;line-height:22px;}@media (max-width:767px){width:min(100%,320px);min-height:242px;margin:0 auto;padding:20px 10px 35px;h3{font-size:16px;}p{font-size:12px;}}`
|
|
5349
5214
|
], ({ theme }) => theme.colors.text.primary, ({ theme }) => theme.colors.text.content);
|
|
5350
|
-
var TeamSection =
|
|
5215
|
+
var TeamSection = import_styled_components3.default.section.withConfig({
|
|
5351
5216
|
componentId: "sc-574a802f-19"
|
|
5352
5217
|
})([
|
|
5353
5218
|
`min-height:683px;padding:60px 24px;color:`,
|
|
@@ -5356,28 +5221,28 @@ var TeamSection = import_styled_components4.default.section.withConfig({
|
|
|
5356
5221
|
`{margin-bottom:34px;}@media (max-width:1023px){min-height:auto;}@media (max-width:767px){padding:50px 24px 30px;`,
|
|
5357
5222
|
`{margin-bottom:32px;}}`
|
|
5358
5223
|
], ({ theme }) => theme.colors.text.primary, ({ theme }) => theme.colors.background.warm, SectionTitle, SectionTitle);
|
|
5359
|
-
var TeamGrid =
|
|
5224
|
+
var TeamGrid = import_styled_components3.default.div.withConfig({
|
|
5360
5225
|
componentId: "sc-574a802f-20"
|
|
5361
5226
|
})([
|
|
5362
5227
|
`display:grid;width:min(1200px,100%);margin:0 auto;grid-template-columns:repeat(3,minmax(0,1fr));gap:40px;@media (min-width:768px) and (max-width:1023px){justify-content:center;display:flex;flex-wrap:wrap;gap:32px;}@media (max-width:767px){display:none;}`
|
|
5363
5228
|
]);
|
|
5364
|
-
var TeamMobileCarousel =
|
|
5229
|
+
var TeamMobileCarousel = import_styled_components3.default.div.withConfig({
|
|
5365
5230
|
componentId: "sc-574a802f-21"
|
|
5366
5231
|
})([
|
|
5367
5232
|
`display:none;@media (max-width:767px){display:block;width:calc(100% + 48px);margin-left:-24px;overflow:hidden;.about-us-team-swiper{padding:0 24px 24px;}.swiper-slide{width:min(327px,calc(100vw - 72px));height:auto;}}`
|
|
5368
5233
|
]);
|
|
5369
|
-
var TeamCard =
|
|
5234
|
+
var TeamCard = import_styled_components3.default.article.withConfig({
|
|
5370
5235
|
componentId: "sc-574a802f-22"
|
|
5371
5236
|
})([
|
|
5372
5237
|
`position:relative;display:flex;min-width:0;flex-direction:column;border-radius:8px;@media (max-width:1023px){&{width:373px;justify-self:center;}}@media (max-width:767px){width:min(100%,373px);justify-self:center;&:last-child{grid-column:auto;}}`
|
|
5373
5238
|
]);
|
|
5374
|
-
var TeamCardMedia =
|
|
5239
|
+
var TeamCardMedia = import_styled_components3.default.div.withConfig({
|
|
5375
5240
|
componentId: "sc-574a802f-23"
|
|
5376
5241
|
})([
|
|
5377
5242
|
`position:relative;height:373px;&::before{position:absolute;z-index:0;top:77px;right:0;bottom:0;left:0;border-radius:8px 8px 0 0;background:color-mix( in srgb,`,
|
|
5378
5243
|
` 40%,transparent );box-shadow:0 0px 24px rgb(0 0 0 / 10%);content:"";}img{position:relative;z-index:1;display:block;width:100%;height:auto;border-radius:8px 8px 0 0;}@media (max-width:767px){height:auto;aspect-ratio:1;&::before{top:20.63%;}}`
|
|
5379
5244
|
], ({ theme }) => theme.colors.accent.primary);
|
|
5380
|
-
var TeamIdentity =
|
|
5245
|
+
var TeamIdentity = import_styled_components3.default.div.withConfig({
|
|
5381
5246
|
componentId: "sc-574a802f-24"
|
|
5382
5247
|
})([
|
|
5383
5248
|
`position:absolute;z-index:2;top:336px;left:-16px;display:flex;width:232px;min-height:68px;padding:8px 32px 8px 24px;flex-direction:column;justify-content:center;color:`,
|
|
@@ -5386,14 +5251,14 @@ var TeamIdentity = import_styled_components4.default.div.withConfig({
|
|
|
5386
5251
|
`;}&::after{position:absolute;bottom:-14px;left:0;border-top:14px solid `,
|
|
5387
5252
|
`;border-left:16px solid transparent;content:"";filter:brightness(0.82);}strong{font-size:20px;font-weight:700;line-height:1.3;}span{font-size:16px;font-weight:700;line-height:1.35;}@media (max-width:767px){top:270px;left:-16px;strong{font-size:16px;}span{font-size:14px;}&::after{bottom:-12px;}}`
|
|
5388
5253
|
], ({ theme }) => theme.colors.accent.foreground, ({ theme }) => theme.colors.accent.primary, ({ theme }) => theme.colors.accent.primary, ({ theme }) => theme.colors.accent.primary);
|
|
5389
|
-
var TeamCardBody =
|
|
5254
|
+
var TeamCardBody = import_styled_components3.default.p.withConfig({
|
|
5390
5255
|
componentId: "sc-574a802f-25"
|
|
5391
5256
|
})([
|
|
5392
5257
|
`min-height:108px;margin:0;padding:48px 30px 22px;color:`,
|
|
5393
5258
|
`;background:`,
|
|
5394
5259
|
`;font-size:16px;font-style:italic;font-weight:500;line-height:1.45;box-shadow:0 8px 24px rgb(0 0 0 / 10%);border-radius:0 0 8px 8px;@media (max-width:767px){min-height:114px;padding:48px 24px 22px;font-size:14px;}`
|
|
5395
5260
|
], ({ theme }) => theme.colors.text.content, ({ theme }) => theme.colors.background.card);
|
|
5396
|
-
var GallerySection =
|
|
5261
|
+
var GallerySection = import_styled_components3.default.section.withConfig({
|
|
5397
5262
|
componentId: "sc-574a802f-26"
|
|
5398
5263
|
})([
|
|
5399
5264
|
`min-height:1012px;padding:60px 24px 80px;color:`,
|
|
@@ -5402,25 +5267,25 @@ var GallerySection = import_styled_components4.default.section.withConfig({
|
|
|
5402
5267
|
`{margin-bottom:32px;}@media (max-width:1023px){min-height:auto;}@media (max-width:767px){padding:30px 16px 40px;`,
|
|
5403
5268
|
`{margin-bottom:32px;line-height:36px;}}`
|
|
5404
5269
|
], ({ theme }) => theme.colors.text.primary, ({ theme }) => theme.colors.background.canvas, SectionTitle, SectionTitle);
|
|
5405
|
-
var GalleryGrid =
|
|
5270
|
+
var GalleryGrid = import_styled_components3.default.div.withConfig({
|
|
5406
5271
|
componentId: "sc-574a802f-27"
|
|
5407
5272
|
})([
|
|
5408
5273
|
`width:min(1200px,100%);margin:0 auto;column-count:3;column-gap:24px;> article{display:inline-block;margin:0 0 24px;break-inside:avoid;vertical-align:top;}> article:nth-child(3),> article:nth-child(6){break-after:column;}@media (max-width:1023px){column-count:2;column-gap:16px;> article{margin-bottom:16px;}> article:nth-child(3),> article:nth-child(6){break-after:auto;}> article:nth-child(4){break-after:column;}}`
|
|
5409
5274
|
]);
|
|
5410
|
-
var GalleryCard =
|
|
5275
|
+
var GalleryCard = import_styled_components3.default.article.withConfig({
|
|
5411
5276
|
componentId: "sc-574a802f-28"
|
|
5412
5277
|
})([
|
|
5413
5278
|
`position:relative;overflow:hidden;width:100%;border-radius:8px;outline:none;background:`,
|
|
5414
5279
|
`;&:hover img,&:focus-visible img{transform:scale(1.025);}&:focus-visible{box-shadow:0 0 0 3px `,
|
|
5415
5280
|
`;}@media (max-width:767px){overflow:visible;border-radius:0;}`
|
|
5416
5281
|
], ({ theme }) => theme.colors.background.card, ({ theme }) => theme.colors.accent.primary);
|
|
5417
|
-
var GalleryMedia =
|
|
5282
|
+
var GalleryMedia = import_styled_components3.default.div.withConfig({
|
|
5418
5283
|
componentId: "sc-574a802f-29"
|
|
5419
5284
|
})([
|
|
5420
5285
|
`position:relative;overflow:hidden;width:100%;aspect-ratio:`,
|
|
5421
5286
|
`;border-radius:8px;img{display:block;object-fit:cover;transition:transform 280ms ease;}@media (prefers-reduced-motion:reduce){img{transition:none;}}@media (max-width:767px){border-radius:8px;}`
|
|
5422
5287
|
], ({ $aspectRatio }) => $aspectRatio);
|
|
5423
|
-
var GalleryOverlay =
|
|
5288
|
+
var GalleryOverlay = import_styled_components3.default.p.withConfig({
|
|
5424
5289
|
componentId: "sc-574a802f-30"
|
|
5425
5290
|
})([
|
|
5426
5291
|
`position:absolute;right:0;bottom:0;left:0;min-height:76px;margin:0;padding:20px 24px;color:`,
|
|
@@ -5429,7 +5294,7 @@ var GalleryOverlay = import_styled_components4.default.p.withConfig({
|
|
|
5429
5294
|
`:hover &,`,
|
|
5430
5295
|
`:focus-visible &{opacity:1;transform:translateY(0);}@media (prefers-reduced-motion:reduce){transition:none;}@media (max-width:767px){position:static;min-height:0;padding:14px 16px;border-radius:0 0 8px 8px;box-shadow:0 8px 16px rgb(0 0 0 / 10%);font-size:14px;line-height:18px;opacity:1;transform:none;}`
|
|
5431
5296
|
], ({ theme }) => theme.colors.text.content, ({ theme }) => theme.colors.background.card, GalleryCard, GalleryCard);
|
|
5432
|
-
var GalleryPagination =
|
|
5297
|
+
var GalleryPagination = import_styled_components3.default.nav.withConfig({
|
|
5433
5298
|
componentId: "sc-574a802f-31"
|
|
5434
5299
|
})([
|
|
5435
5300
|
`display:flex;min-height:28px;margin:32px auto 0;align-items:center;justify-content:center;gap:8px;color:`,
|
|
@@ -5440,7 +5305,7 @@ var GalleryPagination = import_styled_components4.default.nav.withConfig({
|
|
|
5440
5305
|
], ({ theme }) => theme.colors.text.content, ({ theme }) => theme.colors.accent.foreground, ({ theme }) => theme.colors.accent.primary, ({ theme }) => theme.colors.border.line);
|
|
5441
5306
|
|
|
5442
5307
|
// src/commodity-original/app/about-us/AboutUsSections.tsx
|
|
5443
|
-
var AboutRegisterShell = (0,
|
|
5308
|
+
var AboutRegisterShell = (0, import_styled_components4.default)(PageShell).withConfig({
|
|
5444
5309
|
componentId: "sc-50ac4f1b-0"
|
|
5445
5310
|
})([
|
|
5446
5311
|
`&.about-register-shell .register--about{height:auto;background:var( --wikex-about-register-background,url("/about-us/session-thumbnail.webp") ) center / cover no-repeat;@media (max-width:1219px){background:linear-gradient(104deg,#f67c27 -13.12%,#f9bb3a 61.64%),#fffbf3;}}&.about-register-shell .register-layout{gap:40px;flex-wrap:wrap;}&.about-register-shell .register-form-frame{width:562px;height:536px;flex-basis:562px;}&.about-register-shell .register-card{height:514px;gap:20px;}&.about-register-shell .register-visual{height:536px;align-items:center;justify-content:flex-start;color:`,
|
|
@@ -5682,7 +5547,7 @@ var import_react_i18next4 = require("react-i18next");
|
|
|
5682
5547
|
// src/wikex/fees-table.tsx
|
|
5683
5548
|
var import_jsx_runtime17 = require("react/jsx-runtime");
|
|
5684
5549
|
var import_react14 = require("react");
|
|
5685
|
-
var
|
|
5550
|
+
var import_styled_components10 = __toESM(require("styled-components"));
|
|
5686
5551
|
var import_TextField2 = __toESM(require("@mui/material/TextField"));
|
|
5687
5552
|
var import_Dialog = __toESM(require("@mui/material/Dialog"));
|
|
5688
5553
|
var import_DialogTitle = __toESM(require("@mui/material/DialogTitle"));
|
|
@@ -5690,9 +5555,9 @@ var import_DialogContent = __toESM(require("@mui/material/DialogContent"));
|
|
|
5690
5555
|
var import_DialogContentText = __toESM(require("@mui/material/DialogContentText"));
|
|
5691
5556
|
var import_DialogActions = __toESM(require("@mui/material/DialogActions"));
|
|
5692
5557
|
var import_Button9 = __toESM(require("@mui/material/Button"));
|
|
5693
|
-
var
|
|
5694
|
-
var
|
|
5695
|
-
var
|
|
5558
|
+
var import_Select2 = __toESM(require("@mui/material/Select"));
|
|
5559
|
+
var import_MenuItem2 = __toESM(require("@mui/material/MenuItem"));
|
|
5560
|
+
var import_Checkbox2 = __toESM(require("@mui/material/Checkbox"));
|
|
5696
5561
|
|
|
5697
5562
|
// src/commodity-original/styles/colors.ts
|
|
5698
5563
|
var lightColors = {
|
|
@@ -5840,26 +5705,26 @@ var appTheme = {
|
|
|
5840
5705
|
var import_react13 = require("react");
|
|
5841
5706
|
|
|
5842
5707
|
// src/commodity-original/components/Table/style.ts
|
|
5843
|
-
var
|
|
5844
|
-
var TableScrollContainer =
|
|
5708
|
+
var import_styled_components5 = __toESM(require("styled-components"));
|
|
5709
|
+
var TableScrollContainer = import_styled_components5.default.div.withConfig({
|
|
5845
5710
|
componentId: "sc-b3eceaf0-0"
|
|
5846
5711
|
})([
|
|
5847
5712
|
`min-width:0;width:100%;max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain;`
|
|
5848
5713
|
]);
|
|
5849
|
-
var TableRoot =
|
|
5714
|
+
var TableRoot = import_styled_components5.default.table.withConfig({
|
|
5850
5715
|
componentId: "sc-b3eceaf0-1"
|
|
5851
5716
|
})([
|
|
5852
5717
|
`width:100%;min-width:`,
|
|
5853
5718
|
`;border-spacing:0;border-collapse:separate;border-radius:12px 12px 0 0;color:`,
|
|
5854
5719
|
`;font-family:var(--font-manrope),Arial,Helvetica,sans-serif;text-align:left;`
|
|
5855
5720
|
], ({ $minWidth }) => $minWidth ?? "100%", ({ theme }) => theme.colors.text.primary);
|
|
5856
|
-
var TableHeaderRow =
|
|
5721
|
+
var TableHeaderRow = import_styled_components5.default.tr.withConfig({
|
|
5857
5722
|
componentId: "sc-b3eceaf0-2"
|
|
5858
5723
|
})([
|
|
5859
5724
|
`background:`,
|
|
5860
5725
|
`;`
|
|
5861
5726
|
], ({ theme }) => theme.colors.background.input);
|
|
5862
|
-
var TableHeaderCell =
|
|
5727
|
+
var TableHeaderCell = import_styled_components5.default.th.withConfig({
|
|
5863
5728
|
componentId: "sc-b3eceaf0-3"
|
|
5864
5729
|
})([
|
|
5865
5730
|
``,
|
|
@@ -5876,13 +5741,13 @@ var TableHeaderCell = import_styled_components6.default.th.withConfig({
|
|
|
5876
5741
|
background: ${theme.colors.background.input};
|
|
5877
5742
|
` : ""}
|
|
5878
5743
|
`, ({ theme }) => theme.colors.border.line, ({ theme }) => theme.colors.text.primary, TableRoot);
|
|
5879
|
-
var TableRow =
|
|
5744
|
+
var TableRow = import_styled_components5.default.tr.withConfig({
|
|
5880
5745
|
componentId: "sc-b3eceaf0-4"
|
|
5881
5746
|
})([
|
|
5882
5747
|
`background:`,
|
|
5883
5748
|
`;`
|
|
5884
5749
|
], ({ theme }) => theme.colors.background.deep);
|
|
5885
|
-
var TableCell =
|
|
5750
|
+
var TableCell = import_styled_components5.default.td.withConfig({
|
|
5886
5751
|
componentId: "sc-b3eceaf0-5"
|
|
5887
5752
|
})([
|
|
5888
5753
|
``,
|
|
@@ -5899,26 +5764,26 @@ var TableCell = import_styled_components6.default.td.withConfig({
|
|
|
5899
5764
|
background: ${theme.colors.background.deep};
|
|
5900
5765
|
` : ""}
|
|
5901
5766
|
`, ({ theme }) => theme.colors.border.line, ({ theme }) => theme.colors.text.primary, TableRoot);
|
|
5902
|
-
var TableSortButton =
|
|
5767
|
+
var TableSortButton = import_styled_components5.default.button.withConfig({
|
|
5903
5768
|
componentId: "sc-b3eceaf0-6"
|
|
5904
5769
|
})([
|
|
5905
5770
|
`display:inline-flex;max-width:100%;margin:0;padding:0;align-items:center;border:0;color:inherit;background:transparent;cursor:pointer;font:inherit;line-height:inherit;text-align:left;&:focus-visible{outline:2px solid `,
|
|
5906
5771
|
`;outline-offset:3px;}`
|
|
5907
5772
|
], ({ theme }) => theme.colors.accent.primary);
|
|
5908
|
-
var TableSelectionInput =
|
|
5773
|
+
var TableSelectionInput = import_styled_components5.default.input.withConfig({
|
|
5909
5774
|
componentId: "sc-b3eceaf0-7"
|
|
5910
5775
|
})([
|
|
5911
5776
|
`width:16px;height:16px;margin:0;accent-color:`,
|
|
5912
5777
|
`;cursor:pointer;&:disabled{cursor:not-allowed;}`
|
|
5913
5778
|
], ({ theme }) => theme.colors.accent.primary);
|
|
5914
|
-
var TableExpandButton =
|
|
5779
|
+
var TableExpandButton = import_styled_components5.default.button.withConfig({
|
|
5915
5780
|
componentId: "sc-b3eceaf0-8"
|
|
5916
5781
|
})([
|
|
5917
5782
|
`margin:0;padding:0;border:0;color:`,
|
|
5918
5783
|
`;background:transparent;cursor:pointer;font:inherit;line-height:inherit;&:focus-visible{outline:2px solid `,
|
|
5919
5784
|
`;outline-offset:3px;}`
|
|
5920
5785
|
], ({ theme }) => theme.colors.text.primary, ({ theme }) => theme.colors.accent.primary);
|
|
5921
|
-
var TableExpandedCell = (0,
|
|
5786
|
+
var TableExpandedCell = (0, import_styled_components5.default)(TableCell).withConfig({
|
|
5922
5787
|
componentId: "sc-b3eceaf0-9"
|
|
5923
5788
|
})([
|
|
5924
5789
|
`background:`,
|
|
@@ -5972,6 +5837,7 @@ function getSelectionType(rowSelection) {
|
|
|
5972
5837
|
return rowSelection.type ?? "checkbox";
|
|
5973
5838
|
}
|
|
5974
5839
|
function Table({
|
|
5840
|
+
ariaLabel,
|
|
5975
5841
|
className,
|
|
5976
5842
|
columns,
|
|
5977
5843
|
dataSource,
|
|
@@ -6031,6 +5897,7 @@ function Table({
|
|
|
6031
5897
|
{
|
|
6032
5898
|
$minWidth: scroll?.x === void 0 ? void 0 : getTableColumnSize(scroll.x),
|
|
6033
5899
|
"aria-busy": loading || void 0,
|
|
5900
|
+
"aria-label": ariaLabel,
|
|
6034
5901
|
className,
|
|
6035
5902
|
"data-size": size,
|
|
6036
5903
|
children: [
|
|
@@ -6051,6 +5918,7 @@ function Table({
|
|
|
6051
5918
|
$fixed: column.fixed,
|
|
6052
5919
|
$fixedOffset: getTableFixedColumnOffset(columns, columnIndex),
|
|
6053
5920
|
$width: column.width === void 0 ? void 0 : getTableColumnSize(column.width),
|
|
5921
|
+
"data-column-key": column.key,
|
|
6054
5922
|
scope: "col",
|
|
6055
5923
|
children: column.sortable ? /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
|
|
6056
5924
|
TableSortButton,
|
|
@@ -6070,7 +5938,7 @@ function Table({
|
|
|
6070
5938
|
const selectionProps = rowSelection?.getCheckboxProps?.(record);
|
|
6071
5939
|
const isExpanded = expandedRowKeySet.has(recordKey);
|
|
6072
5940
|
return /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(import_react13.Fragment, { children: [
|
|
6073
|
-
/* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(TableRow, { children: [
|
|
5941
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(TableRow, { "data-row-key": recordKey, children: [
|
|
6074
5942
|
rowSelection ? /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(TableCell, { children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
|
|
6075
5943
|
TableSelectionInput,
|
|
6076
5944
|
{
|
|
@@ -6119,23 +5987,23 @@ var import_react_i18next3 = require("react-i18next");
|
|
|
6119
5987
|
var chevron_right_default = "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNCIgaGVpZ2h0PSIxNCIgdmlld0JveD0iMCAwIDE0IDE0IiBmaWxsPSJub25lIj4KICA8cGF0aCBkPSJNNS4yNSAzLjVMOC43NSA3TDUuMjUgMTAuNSIgc3Ryb2tlPSJjdXJyZW50Q29sb3IiIHN0cm9rZS13aWR0aD0iMS4xNjY2NyIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+Cjwvc3ZnPgo=";
|
|
6120
5988
|
|
|
6121
5989
|
// src/commodity-original/components/Pagination/style.ts
|
|
6122
|
-
var
|
|
6123
|
-
var PaginationNav =
|
|
5990
|
+
var import_styled_components6 = require("styled-components");
|
|
5991
|
+
var PaginationNav = import_styled_components6.styled.nav.withConfig({
|
|
6124
5992
|
componentId: "sc-522a1750-0"
|
|
6125
5993
|
})([
|
|
6126
5994
|
`display:flex;justify-content:center;`
|
|
6127
5995
|
]);
|
|
6128
|
-
var PaginationList =
|
|
5996
|
+
var PaginationList = import_styled_components6.styled.ul.withConfig({
|
|
6129
5997
|
componentId: "sc-522a1750-1"
|
|
6130
5998
|
})([
|
|
6131
5999
|
`display:flex;margin:0;padding:0;align-items:center;gap:8px;list-style:none;`
|
|
6132
6000
|
]);
|
|
6133
|
-
var PaginationItem =
|
|
6001
|
+
var PaginationItem = import_styled_components6.styled.li.withConfig({
|
|
6134
6002
|
componentId: "sc-522a1750-2"
|
|
6135
6003
|
})([
|
|
6136
6004
|
`display:flex;`
|
|
6137
6005
|
]);
|
|
6138
|
-
var PaginationButton =
|
|
6006
|
+
var PaginationButton = import_styled_components6.styled.button.withConfig({
|
|
6139
6007
|
componentId: "sc-522a1750-3"
|
|
6140
6008
|
})([
|
|
6141
6009
|
`display:inline-flex;width:28px;height:28px;align-items:center;justify-content:center;border:1px solid `,
|
|
@@ -6150,7 +6018,7 @@ var PaginationButton = import_styled_components7.styled.button.withConfig({
|
|
|
6150
6018
|
`;}&:disabled{cursor:not-allowed;}&:focus-visible{outline:2px solid `,
|
|
6151
6019
|
`;outline-offset:2px;}`
|
|
6152
6020
|
], ({ theme }) => theme.colors.border.line, ({ theme }) => theme.colors.text.secondary, ({ theme }) => theme.colors.background.canvas, ({ theme }) => theme.colors.accent.primary, ({ theme }) => theme.colors.accent.foreground, ({ theme }) => theme.colors.accent.primary, ({ theme }) => theme.colors.text.primary, ({ theme }) => theme.colors.background.hover, ({ theme }) => theme.colors.accent.primary, ({ theme }) => theme.colors.accent.primary);
|
|
6153
|
-
var PaginationArrow =
|
|
6021
|
+
var PaginationArrow = import_styled_components6.styled.span.withConfig({
|
|
6154
6022
|
componentId: "sc-522a1750-4"
|
|
6155
6023
|
})([
|
|
6156
6024
|
`width:16px;height:16px;background:currentColor;mask:url("`,
|
|
@@ -6240,8 +6108,8 @@ function Pagination2({
|
|
|
6240
6108
|
}
|
|
6241
6109
|
|
|
6242
6110
|
// src/commodity-original/components/InputCommon/style.ts
|
|
6243
|
-
var
|
|
6244
|
-
var InputCommonRoot =
|
|
6111
|
+
var import_styled_components7 = __toESM(require("styled-components"));
|
|
6112
|
+
var InputCommonRoot = import_styled_components7.default.div.withConfig({
|
|
6245
6113
|
componentId: "sc-5ccafcdd-0"
|
|
6246
6114
|
})([
|
|
6247
6115
|
`display:flex;width:100%;min-width:0;gap:6px;padding:10px 12px;align-items:center;border:1px solid transparent;border-radius:6px;background:`,
|
|
@@ -6249,7 +6117,7 @@ var InputCommonRoot = import_styled_components8.default.div.withConfig({
|
|
|
6249
6117
|
`;background:`,
|
|
6250
6118
|
`;}&[data-disabled]{cursor:not-allowed;opacity:0.6;}&[data-error]{border-color:#dc2626;}> button{border:0;background:transparent;cursor:pointer;font-size:18px;}> [role="alert"]{position:absolute;margin-top:52px;color:#dc2626;font-size:12px;}`
|
|
6251
6119
|
], ({ theme }) => theme.colors.background.input, ({ theme }) => theme.colors.accent.primary, ({ theme }) => theme.colors.background.canvas);
|
|
6252
|
-
var InputCommonField =
|
|
6120
|
+
var InputCommonField = import_styled_components7.default.input.withConfig({
|
|
6253
6121
|
componentId: "sc-5ccafcdd-1"
|
|
6254
6122
|
})([
|
|
6255
6123
|
`width:100%;min-width:0;border:0;outline:0;color:`,
|
|
@@ -6257,7 +6125,7 @@ var InputCommonField = import_styled_components8.default.input.withConfig({
|
|
|
6257
6125
|
`[data-size="sm"] &{font-size:12px;line-height:16px;}`,
|
|
6258
6126
|
`[data-size="lg"] &{font-size:16px;line-height:22px;}&::placeholder{color:#9ea3ad;opacity:1;}&:disabled{cursor:not-allowed;}`
|
|
6259
6127
|
], ({ theme }) => theme.colors.text.primary, InputCommonRoot, InputCommonRoot);
|
|
6260
|
-
var InputAdornment =
|
|
6128
|
+
var InputAdornment = import_styled_components7.default.span.withConfig({
|
|
6261
6129
|
componentId: "sc-5ccafcdd-2"
|
|
6262
6130
|
})([
|
|
6263
6131
|
`display:inline-flex;width:16px;height:16px;flex:0 0 16px;align-items:center;justify-content:center;color:`,
|
|
@@ -6287,13 +6155,13 @@ function InputCommon({
|
|
|
6287
6155
|
}
|
|
6288
6156
|
|
|
6289
6157
|
// src/commodity-original/components/TabCommon/style.ts
|
|
6290
|
-
var
|
|
6291
|
-
var TabCommonList =
|
|
6158
|
+
var import_styled_components8 = __toESM(require("styled-components"));
|
|
6159
|
+
var TabCommonList = import_styled_components8.default.div.withConfig({
|
|
6292
6160
|
componentId: "sc-370a48e5-0"
|
|
6293
6161
|
})([
|
|
6294
6162
|
`display:flex;gap:16px;align-items:center;overflow-x:auto;&[data-size="sm"]{gap:12px;}&[data-size="lg"]{gap:20px;}`
|
|
6295
6163
|
]);
|
|
6296
|
-
var TabButton =
|
|
6164
|
+
var TabButton = import_styled_components8.default.button.withConfig({
|
|
6297
6165
|
componentId: "sc-370a48e5-1"
|
|
6298
6166
|
})([
|
|
6299
6167
|
`position:relative;display:inline-flex;padding:8px 0;align-items:center;border:0;color:`,
|
|
@@ -6304,7 +6172,7 @@ var TabButton = import_styled_components9.default.button.withConfig({
|
|
|
6304
6172
|
`;}&:not(:disabled):hover > span,&[data-active] > span{transform:translateX(-50%) scaleX(1);}&:disabled{cursor:not-allowed;opacity:0.5;}&:focus-visible{outline:2px solid `,
|
|
6305
6173
|
`;outline-offset:2px;}`
|
|
6306
6174
|
], ({ theme }) => theme.colors.text.secondary, TabCommonList, TabCommonList, ({ theme }) => theme.colors.text.primary, ({ theme }) => theme.colors.text.primary, ({ theme }) => theme.colors.accent.primary);
|
|
6307
|
-
var TabLine =
|
|
6175
|
+
var TabLine = import_styled_components8.default.span.withConfig({
|
|
6308
6176
|
componentId: "sc-370a48e5-2"
|
|
6309
6177
|
})([
|
|
6310
6178
|
`position:absolute;bottom:0;left:50%;width:107px;max-width:100%;height:2px;color:`,
|
|
@@ -6354,84 +6222,84 @@ function TabCommon({
|
|
|
6354
6222
|
}
|
|
6355
6223
|
|
|
6356
6224
|
// src/commodity-original/app/bang-phi-ky-quy/style.ts
|
|
6357
|
-
var
|
|
6358
|
-
var FeesAndMarginMain =
|
|
6225
|
+
var import_styled_components9 = __toESM(require("styled-components"));
|
|
6226
|
+
var FeesAndMarginMain = import_styled_components9.default.main.withConfig({
|
|
6359
6227
|
componentId: "sc-a2e40b03-0"
|
|
6360
6228
|
})([
|
|
6361
6229
|
`min-height:calc(100vh - var(--header-height));background:`,
|
|
6362
6230
|
`;`
|
|
6363
6231
|
], ({ theme }) => theme.colors.background.warm);
|
|
6364
|
-
var FeesAndMarginPageContent =
|
|
6232
|
+
var FeesAndMarginPageContent = import_styled_components9.default.div.withConfig({
|
|
6365
6233
|
componentId: "sc-a2e40b03-1"
|
|
6366
6234
|
})([
|
|
6367
6235
|
`width:min(1920px,100%);margin:0 auto;padding:58px 16px 80px;@media (max-width:767px){padding:32px 16px 48px;}`
|
|
6368
6236
|
]);
|
|
6369
|
-
var FeesAndMarginHeader =
|
|
6237
|
+
var FeesAndMarginHeader = import_styled_components9.default.header.withConfig({
|
|
6370
6238
|
componentId: "sc-a2e40b03-2"
|
|
6371
6239
|
})([
|
|
6372
6240
|
`h1{margin:0;color:`,
|
|
6373
6241
|
`;font-family:var(--Font-Landingpage,Inter);font-size:40px;font-weight:700;line-height:50px;}p{margin:16px 0 0;color:`,
|
|
6374
6242
|
`;font-family:var(--Font-Landingpage,Inter);font-size:var(--Size-Body-M,16px);font-style:normal;font-weight:600;line-height:var(--Line-height-Body-M,22px);}@media (max-width:767px){h1{font-size:24px;line-height:36px;}p{font-size:14px;line-height:18px;}}`
|
|
6375
6243
|
], ({ theme }) => theme.colors.text.primary, ({ theme }) => theme.colors.text.primary);
|
|
6376
|
-
var FeesAndMarginToolbar =
|
|
6244
|
+
var FeesAndMarginToolbar = import_styled_components9.default.section.withConfig({
|
|
6377
6245
|
componentId: "sc-a2e40b03-3"
|
|
6378
6246
|
})([
|
|
6379
6247
|
`margin-top:32px;`
|
|
6380
6248
|
]);
|
|
6381
|
-
var FeesAndMarginToolbarInner =
|
|
6249
|
+
var FeesAndMarginToolbarInner = import_styled_components9.default.div.withConfig({
|
|
6382
6250
|
componentId: "sc-a2e40b03-4"
|
|
6383
6251
|
})([
|
|
6384
6252
|
`display:flex;gap:16px;align-items:center;justify-content:space-between;@media (max-width:767px){align-items:stretch;flex-direction:column;}`
|
|
6385
6253
|
]);
|
|
6386
|
-
var FeesAndMarginSearch =
|
|
6254
|
+
var FeesAndMarginSearch = import_styled_components9.default.div.withConfig({
|
|
6387
6255
|
componentId: "sc-a2e40b03-5"
|
|
6388
6256
|
})([
|
|
6389
6257
|
`width:220px;@media (max-width:767px){order:-1;width:100%;}`
|
|
6390
6258
|
]);
|
|
6391
|
-
var FeesSearchIcon =
|
|
6259
|
+
var FeesSearchIcon = import_styled_components9.default.span.withConfig({
|
|
6392
6260
|
componentId: "sc-a2e40b03-6"
|
|
6393
6261
|
})([
|
|
6394
6262
|
`display:block;width:14px;height:14px;background:currentColor;mask:url("/icons/search.svg") center / contain no-repeat;-webkit-mask:url("/icons/search.svg") center / contain no-repeat;`
|
|
6395
6263
|
]);
|
|
6396
|
-
var FeesAndMarginTable =
|
|
6264
|
+
var FeesAndMarginTable = import_styled_components9.default.section.withConfig({
|
|
6397
6265
|
componentId: "sc-a2e40b03-7"
|
|
6398
6266
|
})([
|
|
6399
6267
|
`margin-top:24px;td{white-space:pre-line;}`
|
|
6400
6268
|
]);
|
|
6401
|
-
var FeesAndMarginPagination =
|
|
6269
|
+
var FeesAndMarginPagination = import_styled_components9.default.div.withConfig({
|
|
6402
6270
|
componentId: "sc-a2e40b03-8"
|
|
6403
6271
|
})([
|
|
6404
6272
|
`display:flex;margin-top:32px;justify-content:center;`
|
|
6405
6273
|
]);
|
|
6406
|
-
var FeesMonthNavigation =
|
|
6274
|
+
var FeesMonthNavigation = import_styled_components9.default.nav.withConfig({
|
|
6407
6275
|
componentId: "sc-a2e40b03-9"
|
|
6408
6276
|
})([
|
|
6409
6277
|
`margin-top:32px;@media (max-width:767px){display:none;}`
|
|
6410
6278
|
]);
|
|
6411
|
-
var FeesMonthTitle =
|
|
6279
|
+
var FeesMonthTitle = import_styled_components9.default.p.withConfig({
|
|
6412
6280
|
componentId: "sc-a2e40b03-10"
|
|
6413
6281
|
})([
|
|
6414
6282
|
`margin:0;color:`,
|
|
6415
6283
|
`;font-family:var(--Font-Main,Manrope);font-size:var(--Size-Title-S,14px);font-style:normal;font-weight:700;line-height:var(--Line-height-Title-S,18px);text-align:center;`
|
|
6416
6284
|
], ({ theme }) => theme.colors.text.primary);
|
|
6417
|
-
var FeesMonthList =
|
|
6285
|
+
var FeesMonthList = import_styled_components9.default.ul.withConfig({
|
|
6418
6286
|
componentId: "sc-a2e40b03-11"
|
|
6419
6287
|
})([
|
|
6420
6288
|
`display:flex;margin:8px 0 0;padding:0;justify-content:center;gap:16px;list-style:none;@media (max-width:767px){justify-content:flex-start;overflow-x:auto;padding-bottom:4px;}`
|
|
6421
6289
|
]);
|
|
6422
|
-
var FeesMonthButton =
|
|
6290
|
+
var FeesMonthButton = import_styled_components9.default.button.withConfig({
|
|
6423
6291
|
componentId: "sc-a2e40b03-12"
|
|
6424
6292
|
})([
|
|
6425
6293
|
`display:inline-flex;gap:4px;padding:0;border:0;background:transparent;cursor:pointer;white-space:nowrap;&:focus-visible{outline:2px solid `,
|
|
6426
6294
|
`;outline-offset:2px;}`
|
|
6427
6295
|
], ({ theme }) => theme.colors.accent.primary);
|
|
6428
|
-
var FeesMonthName =
|
|
6296
|
+
var FeesMonthName = import_styled_components9.default.span.withConfig({
|
|
6429
6297
|
componentId: "sc-a2e40b03-13"
|
|
6430
6298
|
})([
|
|
6431
6299
|
`color:`,
|
|
6432
6300
|
`;font-family:var(--Font-Main,Manrope);font-size:var(--Size-Title-S,14px);font-style:normal;font-weight:700;line-height:var(--Line-height-Title-S,18px);`
|
|
6433
6301
|
], ({ theme }) => theme.colors.text.secondary);
|
|
6434
|
-
var FeesMonthCode =
|
|
6302
|
+
var FeesMonthCode = import_styled_components9.default.span.withConfig({
|
|
6435
6303
|
componentId: "sc-a2e40b03-14"
|
|
6436
6304
|
})([
|
|
6437
6305
|
`color:`,
|
|
@@ -6439,37 +6307,55 @@ var FeesMonthCode = import_styled_components10.default.span.withConfig({
|
|
|
6439
6307
|
], ({ theme }) => theme.colors.text.primary);
|
|
6440
6308
|
|
|
6441
6309
|
// src/wikex/fees-table-model.ts
|
|
6442
|
-
var FEES_PAGE_SIZE =
|
|
6310
|
+
var FEES_PAGE_SIZE = 25;
|
|
6443
6311
|
function normalizeFeesSearch(value4) {
|
|
6444
6312
|
return value4.normalize("NFD").replace(/[\u0300-\u036f]/g, "").replace(/đ/g, "d").replace(/Đ/g, "D").toLowerCase().trim();
|
|
6445
6313
|
}
|
|
6446
6314
|
function filterFeesRows(data, search, tag) {
|
|
6447
6315
|
const query = normalizeFeesSearch(search);
|
|
6448
|
-
return data.rows.filter((row) => (!tag || row.tags.includes(tag)) && (!query ||
|
|
6449
|
-
}
|
|
6450
|
-
function paginateFeesRows(rows, requestedPage) {
|
|
6451
|
-
const
|
|
6452
|
-
const
|
|
6453
|
-
|
|
6316
|
+
return data.rows.filter((row) => (!tag || row.tags.includes(tag)) && (!query || Object.values(row.cells).some((cell) => normalizeFeesSearch(cell).includes(query))));
|
|
6317
|
+
}
|
|
6318
|
+
function paginateFeesRows(rows, requestedPage, pageSize = FEES_PAGE_SIZE) {
|
|
6319
|
+
const size = pageSize === -1 ? Math.max(1, rows.length) : Number.isInteger(pageSize) && pageSize > 0 ? pageSize : FEES_PAGE_SIZE;
|
|
6320
|
+
const pageCount = Math.max(1, Math.ceil(rows.length / size));
|
|
6321
|
+
const page = Math.min(pageCount, Math.max(1, Number.isFinite(requestedPage) ? Math.floor(requestedPage) : 1));
|
|
6322
|
+
return { page, pageCount, rows: rows.slice((page - 1) * size, page * size) };
|
|
6323
|
+
}
|
|
6324
|
+
function moveFeesItem(items, from, to) {
|
|
6325
|
+
if (!Number.isInteger(from) || !Number.isInteger(to) || from < 0 || from >= items.length || to < 0 || to >= items.length || from === to) return items;
|
|
6326
|
+
const next = [...items];
|
|
6327
|
+
const [item] = next.splice(from, 1);
|
|
6328
|
+
next.splice(to, 0, item);
|
|
6329
|
+
return next;
|
|
6330
|
+
}
|
|
6331
|
+
function isRecord(value4) {
|
|
6332
|
+
return value4 !== null && typeof value4 === "object" && !Array.isArray(value4);
|
|
6333
|
+
}
|
|
6334
|
+
function isStringArray(value4) {
|
|
6335
|
+
return Array.isArray(value4) && value4.every((item) => typeof item === "string");
|
|
6336
|
+
}
|
|
6337
|
+
function validateFeesTable(value4) {
|
|
6338
|
+
const invalid = () => new Error("D\u1EEF li\u1EC7u b\u1EA3ng ph\xED kh\xF4ng h\u1EE3p l\u1EC7. B\u1EA3ng ph\u1EA3i c\xF3 c\u1ED9t t\xEAn h\xE0ng h\xF3a; m\xE3 c\u1ED9t v\xE0 d\xF2ng kh\xF4ng \u0111\u01B0\u1EE3c tr\xF9ng.");
|
|
6339
|
+
if (!isRecord(value4) || !Array.isArray(value4.columns) || !value4.columns.length || !Array.isArray(value4.rows) || value4.tags !== void 0 && !isStringArray(value4.tags)) throw invalid();
|
|
6340
|
+
const keys2 = /* @__PURE__ */ new Set();
|
|
6341
|
+
const columns = value4.columns.map((column) => {
|
|
6342
|
+
if (!isRecord(column) || typeof column.key !== "string" || !column.key || keys2.has(column.key) || typeof column.title !== "string") throw invalid();
|
|
6343
|
+
keys2.add(column.key);
|
|
6344
|
+
return { key: column.key, title: column.title };
|
|
6345
|
+
});
|
|
6346
|
+
if (!keys2.has("name")) throw invalid();
|
|
6347
|
+
const ids = /* @__PURE__ */ new Set();
|
|
6348
|
+
const rows = value4.rows.map((row) => {
|
|
6349
|
+
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();
|
|
6350
|
+
ids.add(row.id);
|
|
6351
|
+
return { id: row.id, cells: { ...row.cells }, tags: [...row.tags] };
|
|
6352
|
+
});
|
|
6353
|
+
return { columns, rows, ...value4.tags !== void 0 ? { tags: [...value4.tags] } : {} };
|
|
6454
6354
|
}
|
|
6455
6355
|
function parseFeesTable(value4, fallback) {
|
|
6456
6356
|
if (typeof value4 !== "string") return fallback;
|
|
6457
6357
|
try {
|
|
6458
|
-
|
|
6459
|
-
if (!data || !Array.isArray(data.columns) || !Array.isArray(data.rows) || !data.columns.length) return fallback;
|
|
6460
|
-
if (data.tags !== void 0 && (!Array.isArray(data.tags) || data.tags.some((tag) => typeof tag !== "string"))) return fallback;
|
|
6461
|
-
const keys2 = /* @__PURE__ */ new Set();
|
|
6462
|
-
for (const column of data.columns) {
|
|
6463
|
-
if (!column || typeof column.key !== "string" || !column.key || keys2.has(column.key) || typeof column.title !== "string") return fallback;
|
|
6464
|
-
keys2.add(column.key);
|
|
6465
|
-
}
|
|
6466
|
-
if (!keys2.has("name")) return fallback;
|
|
6467
|
-
const ids = /* @__PURE__ */ new Set();
|
|
6468
|
-
for (const row of data.rows) {
|
|
6469
|
-
if (!row || typeof row.id !== "string" || !row.id || ids.has(row.id) || !row.cells || typeof row.cells !== "object" || Array.isArray(row.cells) || Object.values(row.cells).some((value5) => typeof value5 !== "string") || !Array.isArray(row.tags) || row.tags.some((tag) => typeof tag !== "string")) return fallback;
|
|
6470
|
-
ids.add(row.id);
|
|
6471
|
-
}
|
|
6472
|
-
return data;
|
|
6358
|
+
return validateFeesTable(JSON.parse(value4));
|
|
6473
6359
|
} catch {
|
|
6474
6360
|
return fallback;
|
|
6475
6361
|
}
|
|
@@ -6570,52 +6456,119 @@ function defaultFeesTable(t) {
|
|
|
6570
6456
|
}
|
|
6571
6457
|
|
|
6572
6458
|
// src/wikex/fees-table.tsx
|
|
6573
|
-
var
|
|
6574
|
-
|
|
6459
|
+
var fallbackColors = lightColors;
|
|
6460
|
+
var feesTheme = {
|
|
6461
|
+
colors: Object.fromEntries(Object.entries(appTheme.colors).map(([group, tokens]) => [
|
|
6462
|
+
group,
|
|
6463
|
+
Object.fromEntries(Object.entries(tokens).map(([name, variable]) => [
|
|
6464
|
+
name,
|
|
6465
|
+
variable.replace(/\)$/, `, ${fallbackColors[group][name]})`)
|
|
6466
|
+
]))
|
|
6467
|
+
]))
|
|
6468
|
+
};
|
|
6469
|
+
var EditorActions = import_styled_components10.default.div.withConfig({
|
|
6470
|
+
componentId: "sc-a6ff7adc-0"
|
|
6575
6471
|
})([
|
|
6576
6472
|
`display:flex;flex-wrap:wrap;gap:8px;margin-top:16px;`
|
|
6577
6473
|
]);
|
|
6578
|
-
var EditGroup =
|
|
6579
|
-
componentId: "sc-
|
|
6474
|
+
var EditGroup = import_styled_components10.default.div.withConfig({
|
|
6475
|
+
componentId: "sc-a6ff7adc-1"
|
|
6580
6476
|
})([
|
|
6581
6477
|
`display:flex;flex-direction:column;gap:6px;`
|
|
6582
6478
|
]);
|
|
6583
|
-
var HeaderGroup = (0,
|
|
6584
|
-
componentId: "sc-
|
|
6479
|
+
var HeaderGroup = (0, import_styled_components10.default)(EditGroup).withConfig({
|
|
6480
|
+
componentId: "sc-a6ff7adc-2"
|
|
6585
6481
|
})([
|
|
6586
6482
|
`gap:8px;`
|
|
6587
6483
|
]);
|
|
6588
|
-
var HeaderTitle =
|
|
6589
|
-
componentId: "sc-
|
|
6484
|
+
var HeaderTitle = import_styled_components10.default.div.withConfig({
|
|
6485
|
+
componentId: "sc-a6ff7adc-3"
|
|
6590
6486
|
})([
|
|
6591
6487
|
`display:flex;align-items:flex-start;min-height:var(--fees-header-title-height,36px);`
|
|
6592
6488
|
]);
|
|
6593
|
-
var HeaderActions =
|
|
6594
|
-
componentId: "sc-
|
|
6489
|
+
var HeaderActions = import_styled_components10.default.div.withConfig({
|
|
6490
|
+
componentId: "sc-a6ff7adc-4"
|
|
6595
6491
|
})([
|
|
6596
6492
|
`display:flex;align-items:center;min-height:24px;`
|
|
6597
6493
|
]);
|
|
6598
|
-
var AlignedFeesTable = (0,
|
|
6599
|
-
componentId: "sc-
|
|
6494
|
+
var AlignedFeesTable = (0, import_styled_components10.default)(FeesAndMarginTable).withConfig({
|
|
6495
|
+
componentId: "sc-a6ff7adc-5"
|
|
6600
6496
|
})([
|
|
6601
6497
|
`&[data-editable] th{vertical-align:top;}`
|
|
6602
6498
|
]);
|
|
6603
|
-
var EditorButton =
|
|
6604
|
-
componentId: "sc-
|
|
6499
|
+
var EditorButton = import_styled_components10.default.button.withConfig({
|
|
6500
|
+
componentId: "sc-a6ff7adc-6"
|
|
6605
6501
|
})([
|
|
6606
6502
|
`padding:7px 12px;border:1px solid `,
|
|
6607
6503
|
`;border-radius:6px;background:`,
|
|
6608
6504
|
`;color:`,
|
|
6609
6505
|
`;font:inherit;font-size:13px;cursor:pointer;&:hover,&:focus-visible{border-color:`,
|
|
6506
|
+
`;}&:disabled{cursor:default;opacity:.4;}`
|
|
6507
|
+
], ({ theme }) => theme.colors.border.line, ({ theme }) => theme.colors.background.input, ({ theme }) => theme.colors.text.primary, ({ theme }) => theme.colors.accent.primary);
|
|
6508
|
+
var OrderActions = import_styled_components10.default.div.withConfig({
|
|
6509
|
+
componentId: "sc-a6ff7adc-7"
|
|
6510
|
+
})([
|
|
6511
|
+
`display:flex;gap:6px;align-items:center;flex-wrap:wrap;`
|
|
6512
|
+
]);
|
|
6513
|
+
var PositionLabel = import_styled_components10.default.label.withConfig({
|
|
6514
|
+
componentId: "sc-a6ff7adc-8"
|
|
6515
|
+
})([
|
|
6516
|
+
`display:inline-flex;align-items:center;gap:6px;font-size:12px;`
|
|
6517
|
+
]);
|
|
6518
|
+
var PositionInput = import_styled_components10.default.input.withConfig({
|
|
6519
|
+
componentId: "sc-a6ff7adc-9"
|
|
6520
|
+
})([
|
|
6521
|
+
`width:56px;padding:5px;border:1px solid `,
|
|
6522
|
+
`;border-radius:4px;background:`,
|
|
6523
|
+
`;color:`,
|
|
6524
|
+
`;font:inherit;&:focus{outline:1px solid `,
|
|
6610
6525
|
`;}`
|
|
6611
6526
|
], ({ theme }) => theme.colors.border.line, ({ theme }) => theme.colors.background.input, ({ theme }) => theme.colors.text.primary, ({ theme }) => theme.colors.accent.primary);
|
|
6612
|
-
var
|
|
6613
|
-
componentId: "sc-
|
|
6527
|
+
var ColumnRow = import_styled_components10.default.div.withConfig({
|
|
6528
|
+
componentId: "sc-a6ff7adc-10"
|
|
6529
|
+
})([
|
|
6530
|
+
`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;}`
|
|
6531
|
+
]);
|
|
6532
|
+
var PaginationControls = (0, import_styled_components10.default)(FeesAndMarginPagination).withConfig({
|
|
6533
|
+
componentId: "sc-a6ff7adc-11"
|
|
6534
|
+
})([
|
|
6535
|
+
`align-items:center;flex-wrap:wrap;gap:16px 24px;`
|
|
6536
|
+
]);
|
|
6537
|
+
var PageSizeLabel = import_styled_components10.default.div.withConfig({
|
|
6538
|
+
componentId: "sc-a6ff7adc-12"
|
|
6539
|
+
})([
|
|
6540
|
+
`display:inline-flex;align-items:center;gap:8px;color:`,
|
|
6541
|
+
`;font:inherit;font-size:13px;`
|
|
6542
|
+
], ({ theme }) => theme.colors.text.primary);
|
|
6543
|
+
function Position({ value: value4, max, label, onMove }) {
|
|
6544
|
+
return /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(PositionLabel, {
|
|
6545
|
+
children: [
|
|
6546
|
+
"V\u1ECB tr\xED",
|
|
6547
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(PositionInput, {
|
|
6548
|
+
"aria-label": label,
|
|
6549
|
+
type: "number",
|
|
6550
|
+
min: 1,
|
|
6551
|
+
max,
|
|
6552
|
+
defaultValue: value4 + 1,
|
|
6553
|
+
onKeyDown: (event) => {
|
|
6554
|
+
if (event.key === "Enter") event.currentTarget.blur();
|
|
6555
|
+
},
|
|
6556
|
+
onBlur: (event) => {
|
|
6557
|
+
const next = Number(event.currentTarget.value);
|
|
6558
|
+
if (Number.isInteger(next) && next >= 1 && next <= max) onMove(next - 1);
|
|
6559
|
+
else event.currentTarget.value = String(value4 + 1);
|
|
6560
|
+
}
|
|
6561
|
+
}, value4)
|
|
6562
|
+
]
|
|
6563
|
+
});
|
|
6564
|
+
}
|
|
6565
|
+
var DeleteButton = (0, import_styled_components10.default)(EditorButton).withConfig({
|
|
6566
|
+
componentId: "sc-a6ff7adc-13"
|
|
6614
6567
|
})([
|
|
6615
6568
|
`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;}`
|
|
6616
6569
|
]);
|
|
6617
|
-
var CellEditorInput =
|
|
6618
|
-
componentId: "sc-
|
|
6570
|
+
var CellEditorInput = import_styled_components10.default.textarea.withConfig({
|
|
6571
|
+
componentId: "sc-a6ff7adc-14"
|
|
6619
6572
|
})([
|
|
6620
6573
|
`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;resize:none;overflow:hidden;&:hover{border-color:`,
|
|
6621
6574
|
`;}&:focus{outline:1px solid `,
|
|
@@ -6671,7 +6624,7 @@ function RowTagSelect({ selected, options, onChange }) {
|
|
|
6671
6624
|
return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(EditGroup, {
|
|
6672
6625
|
children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("div", {
|
|
6673
6626
|
ref: selectRoot,
|
|
6674
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(
|
|
6627
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(import_Select2.default, {
|
|
6675
6628
|
multiple: true,
|
|
6676
6629
|
fullWidth: true,
|
|
6677
6630
|
size: "small",
|
|
@@ -6692,10 +6645,10 @@ function RowTagSelect({ selected, options, onChange }) {
|
|
|
6692
6645
|
fontSize: 13
|
|
6693
6646
|
},
|
|
6694
6647
|
children: [
|
|
6695
|
-
options.map((item) => /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(
|
|
6648
|
+
options.map((item) => /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(import_MenuItem2.default, {
|
|
6696
6649
|
value: item,
|
|
6697
6650
|
children: [
|
|
6698
|
-
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
6651
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(import_Checkbox2.default, {
|
|
6699
6652
|
size: "small",
|
|
6700
6653
|
checked: selected.includes(item),
|
|
6701
6654
|
tabIndex: -1,
|
|
@@ -6704,7 +6657,7 @@ function RowTagSelect({ selected, options, onChange }) {
|
|
|
6704
6657
|
item
|
|
6705
6658
|
]
|
|
6706
6659
|
}, item)),
|
|
6707
|
-
!options.length && /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
6660
|
+
!options.length && /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(import_MenuItem2.default, {
|
|
6708
6661
|
disabled: true,
|
|
6709
6662
|
children: "Ch\u01B0a c\xF3 tag \u2014 d\xF9ng n\xFAt Th\xEAm tag ph\xEDa tr\xEAn"
|
|
6710
6663
|
})
|
|
@@ -6728,10 +6681,13 @@ var columnWidths = {
|
|
|
6728
6681
|
tradingHours: 160,
|
|
6729
6682
|
priceRange: 112
|
|
6730
6683
|
};
|
|
6731
|
-
function FeesTable({ value: value4, editable = false, onChange, labels, size = "md", tagOrder = [] }) {
|
|
6684
|
+
function FeesTable({ value: value4, editable = false, onChange, labels, size = "md", tagOrder = [], language = "vi" }) {
|
|
6732
6685
|
const [search, setSearch] = (0, import_react14.useState)("");
|
|
6733
6686
|
const [tag, setTag] = (0, import_react14.useState)("");
|
|
6734
6687
|
const [page, setPage] = (0, import_react14.useState)(1);
|
|
6688
|
+
const [pageSize, setPageSize] = (0, import_react14.useState)(FEES_PAGE_SIZE);
|
|
6689
|
+
const [columnsOpen, setColumnsOpen] = (0, import_react14.useState)(false);
|
|
6690
|
+
const english = language === "en";
|
|
6735
6691
|
const canEdit = editable && Boolean(onChange);
|
|
6736
6692
|
const tableRoot = (0, import_react14.useRef)(null);
|
|
6737
6693
|
(0, import_react14.useLayoutEffect)(() => {
|
|
@@ -6800,7 +6756,42 @@ function FeesTable({ value: value4, editable = false, onChange, labels, size = "
|
|
|
6800
6756
|
setTagDraft("");
|
|
6801
6757
|
};
|
|
6802
6758
|
const activeTag = tags.includes(tag) ? tag : "";
|
|
6803
|
-
const
|
|
6759
|
+
const filtered = filterFeesRows(value4, search, activeTag);
|
|
6760
|
+
const pagination = paginateFeesRows(filtered, page, pageSize);
|
|
6761
|
+
const moveColumn = (from, to) => onChange?.({
|
|
6762
|
+
...value4,
|
|
6763
|
+
columns: moveFeesItem(value4.columns, from, to)
|
|
6764
|
+
});
|
|
6765
|
+
const moveRow = (id, to) => {
|
|
6766
|
+
const rows = moveFeesItem(value4.rows, value4.rows.findIndex((row) => row.id === id), to);
|
|
6767
|
+
onChange?.({
|
|
6768
|
+
...value4,
|
|
6769
|
+
rows
|
|
6770
|
+
});
|
|
6771
|
+
const filteredIds = new Set(filtered.map((row) => row.id));
|
|
6772
|
+
const index = rows.filter((row) => filteredIds.has(row.id)).findIndex((row) => row.id === id);
|
|
6773
|
+
setPage(pageSize === -1 ? 1 : Math.floor(Math.max(0, index) / pageSize) + 1);
|
|
6774
|
+
};
|
|
6775
|
+
const addColumn = () => {
|
|
6776
|
+
const key = `column-${crypto.randomUUID()}`;
|
|
6777
|
+
onChange?.({
|
|
6778
|
+
...value4,
|
|
6779
|
+
columns: [
|
|
6780
|
+
...value4.columns,
|
|
6781
|
+
{
|
|
6782
|
+
key,
|
|
6783
|
+
title: "C\u1ED9t m\u1EDBi"
|
|
6784
|
+
}
|
|
6785
|
+
],
|
|
6786
|
+
rows: value4.rows.map((row) => ({
|
|
6787
|
+
...row,
|
|
6788
|
+
cells: {
|
|
6789
|
+
...row.cells,
|
|
6790
|
+
[key]: ""
|
|
6791
|
+
}
|
|
6792
|
+
}))
|
|
6793
|
+
});
|
|
6794
|
+
};
|
|
6804
6795
|
const changeRow = (id, patch) => onChange?.({
|
|
6805
6796
|
...value4,
|
|
6806
6797
|
rows: value4.rows.map((row) => row.id === id ? {
|
|
@@ -6860,12 +6851,12 @@ function FeesTable({ value: value4, editable = false, onChange, labels, size = "
|
|
|
6860
6851
|
title: /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(HeaderGroup, {
|
|
6861
6852
|
children: [
|
|
6862
6853
|
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(HeaderTitle, {
|
|
6863
|
-
children: "Tag"
|
|
6854
|
+
children: "Tag & th\u1EE9 t\u1EF1 d\xF2ng"
|
|
6864
6855
|
}),
|
|
6865
6856
|
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(HeaderActions, {})
|
|
6866
6857
|
]
|
|
6867
6858
|
}),
|
|
6868
|
-
width:
|
|
6859
|
+
width: 300,
|
|
6869
6860
|
render: (_unused, row) => /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(EditGroup, {
|
|
6870
6861
|
children: [
|
|
6871
6862
|
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(RowTagSelect, {
|
|
@@ -6875,6 +6866,30 @@ function FeesTable({ value: value4, editable = false, onChange, labels, size = "
|
|
|
6875
6866
|
tags: next
|
|
6876
6867
|
})
|
|
6877
6868
|
}),
|
|
6869
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(OrderActions, {
|
|
6870
|
+
children: [
|
|
6871
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(Position, {
|
|
6872
|
+
value: value4.rows.findIndex((item) => item.id === row.id),
|
|
6873
|
+
max: value4.rows.length,
|
|
6874
|
+
label: `V\u1ECB tr\xED d\xF2ng ${row.cells.name}`,
|
|
6875
|
+
onMove: (to) => moveRow(row.id, to)
|
|
6876
|
+
}),
|
|
6877
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(EditorButton, {
|
|
6878
|
+
type: "button",
|
|
6879
|
+
"aria-label": `\u0110\u01B0a d\xF2ng ${row.cells.name} l\xEAn`,
|
|
6880
|
+
disabled: value4.rows[0]?.id === row.id,
|
|
6881
|
+
onClick: () => moveRow(row.id, value4.rows.findIndex((item) => item.id === row.id) - 1),
|
|
6882
|
+
children: "\u2191"
|
|
6883
|
+
}),
|
|
6884
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(EditorButton, {
|
|
6885
|
+
type: "button",
|
|
6886
|
+
"aria-label": `\u0110\u01B0a d\xF2ng ${row.cells.name} xu\u1ED1ng`,
|
|
6887
|
+
disabled: value4.rows[value4.rows.length - 1]?.id === row.id,
|
|
6888
|
+
onClick: () => moveRow(row.id, value4.rows.findIndex((item) => item.id === row.id) + 1),
|
|
6889
|
+
children: "\u2193"
|
|
6890
|
+
})
|
|
6891
|
+
]
|
|
6892
|
+
}),
|
|
6878
6893
|
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(DeleteButton, {
|
|
6879
6894
|
type: "button",
|
|
6880
6895
|
onClick: () => {
|
|
@@ -6889,8 +6904,8 @@ function FeesTable({ value: value4, editable = false, onChange, labels, size = "
|
|
|
6889
6904
|
]
|
|
6890
6905
|
})
|
|
6891
6906
|
});
|
|
6892
|
-
return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
6893
|
-
theme:
|
|
6907
|
+
return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(import_styled_components10.ThemeProvider, {
|
|
6908
|
+
theme: feesTheme,
|
|
6894
6909
|
children: /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("div", {
|
|
6895
6910
|
ref: tableRoot,
|
|
6896
6911
|
"data-cms-table-editor": true,
|
|
@@ -6964,34 +6979,24 @@ function FeesTable({ value: value4, editable = false, onChange, labels, size = "
|
|
|
6964
6979
|
});
|
|
6965
6980
|
setSearch("");
|
|
6966
6981
|
setTag("");
|
|
6967
|
-
setPage(Math.ceil((value4.rows.length + 1) /
|
|
6982
|
+
setPage(pageSize === -1 ? 1 : Math.ceil((value4.rows.length + 1) / pageSize));
|
|
6968
6983
|
},
|
|
6969
6984
|
children: "+ Th\xEAm h\xE0ng"
|
|
6970
6985
|
}),
|
|
6971
6986
|
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(EditorButton, {
|
|
6972
6987
|
type: "button",
|
|
6973
|
-
onClick:
|
|
6974
|
-
const key = `column-${crypto.randomUUID()}`;
|
|
6975
|
-
onChange?.({
|
|
6976
|
-
...value4,
|
|
6977
|
-
columns: [
|
|
6978
|
-
...value4.columns,
|
|
6979
|
-
{
|
|
6980
|
-
key,
|
|
6981
|
-
title: "C\u1ED9t m\u1EDBi"
|
|
6982
|
-
}
|
|
6983
|
-
],
|
|
6984
|
-
rows: value4.rows.map((row) => ({
|
|
6985
|
-
...row,
|
|
6986
|
-
cells: {
|
|
6987
|
-
...row.cells,
|
|
6988
|
-
[key]: ""
|
|
6989
|
-
}
|
|
6990
|
-
}))
|
|
6991
|
-
});
|
|
6992
|
-
},
|
|
6988
|
+
onClick: addColumn,
|
|
6993
6989
|
children: "+ Th\xEAm c\u1ED9t"
|
|
6994
6990
|
}),
|
|
6991
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(EditorButton, {
|
|
6992
|
+
type: "button",
|
|
6993
|
+
onClick: () => setColumnsOpen(true),
|
|
6994
|
+
children: [
|
|
6995
|
+
"Qu\u1EA3n l\xFD c\u1ED9t (",
|
|
6996
|
+
value4.columns.length,
|
|
6997
|
+
")"
|
|
6998
|
+
]
|
|
6999
|
+
}),
|
|
6995
7000
|
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(EditorButton, {
|
|
6996
7001
|
type: "button",
|
|
6997
7002
|
onClick: () => {
|
|
@@ -7005,23 +7010,171 @@ function FeesTable({ value: value4, editable = false, onChange, labels, size = "
|
|
|
7005
7010
|
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(AlignedFeesTable, {
|
|
7006
7011
|
"data-editable": canEdit || void 0,
|
|
7007
7012
|
children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(Table, {
|
|
7013
|
+
ariaLabel: english ? "Fees and margin table" : "B\u1EA3ng ph\xED v\xE0 k\xFD qu\u1EF9",
|
|
7008
7014
|
columns,
|
|
7009
7015
|
dataSource: pagination.rows,
|
|
7010
7016
|
rowKey: "id",
|
|
7011
7017
|
size,
|
|
7012
7018
|
empty: labels?.empty ?? "Kh\xF4ng t\xECm th\u1EA5y h\xE0ng h\xF3a",
|
|
7013
7019
|
scroll: {
|
|
7014
|
-
x: Math.max(1440, value4.columns.reduce((sum, column) => sum + (columnWidths[column.key] ?? 140), 0) + (canEdit ?
|
|
7020
|
+
x: Math.max(1440, value4.columns.reduce((sum, column) => sum + (columnWidths[column.key] ?? 140), 0) + (canEdit ? 300 : 0))
|
|
7015
7021
|
}
|
|
7016
7022
|
})
|
|
7017
7023
|
}),
|
|
7018
|
-
/* @__PURE__ */ (0, import_jsx_runtime17.
|
|
7019
|
-
children:
|
|
7020
|
-
|
|
7021
|
-
|
|
7022
|
-
|
|
7023
|
-
|
|
7024
|
-
|
|
7024
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(PaginationControls, {
|
|
7025
|
+
children: [
|
|
7026
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(PageSizeLabel, {
|
|
7027
|
+
children: [
|
|
7028
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("span", {
|
|
7029
|
+
id: `${dialogId}-page-size-label`,
|
|
7030
|
+
children: english ? "Rows per page:" : "S\u1ED1 d\xF2ng m\u1ED7i trang:"
|
|
7031
|
+
}),
|
|
7032
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(import_Select2.default, {
|
|
7033
|
+
size: "small",
|
|
7034
|
+
value: pageSize,
|
|
7035
|
+
labelId: `${dialogId}-page-size-label`,
|
|
7036
|
+
inputProps: {
|
|
7037
|
+
"aria-label": english ? "Rows per page" : "S\u1ED1 d\xF2ng m\u1ED7i trang"
|
|
7038
|
+
},
|
|
7039
|
+
MenuProps: {
|
|
7040
|
+
container: () => tableRoot.current?.ownerDocument.body ?? document.body
|
|
7041
|
+
},
|
|
7042
|
+
sx: {
|
|
7043
|
+
minWidth: 80,
|
|
7044
|
+
fontSize: 13,
|
|
7045
|
+
fontFamily: "inherit"
|
|
7046
|
+
},
|
|
7047
|
+
onChange: (event) => {
|
|
7048
|
+
setPageSize(Number(event.target.value));
|
|
7049
|
+
setPage(1);
|
|
7050
|
+
},
|
|
7051
|
+
children: [
|
|
7052
|
+
[
|
|
7053
|
+
5,
|
|
7054
|
+
10,
|
|
7055
|
+
25,
|
|
7056
|
+
50,
|
|
7057
|
+
100
|
|
7058
|
+
].map((size2) => /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(import_MenuItem2.default, {
|
|
7059
|
+
value: size2,
|
|
7060
|
+
children: size2
|
|
7061
|
+
}, size2)),
|
|
7062
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(import_MenuItem2.default, {
|
|
7063
|
+
value: -1,
|
|
7064
|
+
children: english ? "All" : "T\u1EA5t c\u1EA3"
|
|
7065
|
+
})
|
|
7066
|
+
]
|
|
7067
|
+
})
|
|
7068
|
+
]
|
|
7069
|
+
}),
|
|
7070
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("span", {
|
|
7071
|
+
"aria-live": "polite",
|
|
7072
|
+
style: {
|
|
7073
|
+
fontSize: 13
|
|
7074
|
+
},
|
|
7075
|
+
children: [
|
|
7076
|
+
filtered.length ? pageSize === -1 ? 1 : (pagination.page - 1) * pageSize + 1 : 0,
|
|
7077
|
+
"\u2013",
|
|
7078
|
+
pageSize === -1 ? filtered.length : Math.min(pagination.page * pageSize, filtered.length),
|
|
7079
|
+
" / ",
|
|
7080
|
+
filtered.length
|
|
7081
|
+
]
|
|
7082
|
+
}),
|
|
7083
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(Pagination2, {
|
|
7084
|
+
page: pagination.page,
|
|
7085
|
+
pageCount: pagination.pageCount,
|
|
7086
|
+
onPageChange: setPage,
|
|
7087
|
+
ariaLabel: english ? "Fees pagination" : "Ph\xE2n trang b\u1EA3ng ph\xED",
|
|
7088
|
+
labels: {
|
|
7089
|
+
previous: english ? "Previous page" : "Trang tr\u01B0\u1EDBc",
|
|
7090
|
+
next: english ? "Next page" : "Trang sau",
|
|
7091
|
+
page: (number) => `${english ? "Go to page" : "\u0110i t\u1EDBi trang"} ${number}`,
|
|
7092
|
+
current: (number) => `${english ? "Current page" : "Trang hi\u1EC7n t\u1EA1i"}, ${number}`
|
|
7093
|
+
}
|
|
7094
|
+
})
|
|
7095
|
+
]
|
|
7096
|
+
}),
|
|
7097
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(import_Dialog.default, {
|
|
7098
|
+
open: columnsOpen && canEdit,
|
|
7099
|
+
onClose: () => setColumnsOpen(false),
|
|
7100
|
+
container: () => tableRoot.current?.ownerDocument.body ?? document.body,
|
|
7101
|
+
"aria-labelledby": `${dialogId}-columns-title`,
|
|
7102
|
+
fullWidth: true,
|
|
7103
|
+
maxWidth: "md",
|
|
7104
|
+
children: [
|
|
7105
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(import_DialogTitle.default, {
|
|
7106
|
+
id: `${dialogId}-columns-title`,
|
|
7107
|
+
children: "Qu\u1EA3n l\xFD c\u1ED9t"
|
|
7108
|
+
}),
|
|
7109
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(import_DialogContent.default, {
|
|
7110
|
+
children: [
|
|
7111
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(import_DialogContentText.default, {
|
|
7112
|
+
children: "\u0110\u1ED5i ti\xEAu \u0111\u1EC1 v\xE0 v\u1ECB tr\xED c\u1ED9t. V\u1ECB tr\xED d\xF2ng/c\u1ED9t \u0111\u01B0\u1EE3c t\xEDnh trong to\xE0n b\u1EA3ng, k\u1EC3 c\u1EA3 c\xE1c d\xF2ng \u0111ang \u1EA9n b\u1EDFi b\u1ED9 l\u1ECDc."
|
|
7113
|
+
}),
|
|
7114
|
+
value4.columns.map((column, index) => /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(ColumnRow, {
|
|
7115
|
+
children: [
|
|
7116
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(CellEditor, {
|
|
7117
|
+
"aria-label": `Ti\xEAu \u0111\u1EC1 c\u1ED9t ${index + 1}`,
|
|
7118
|
+
value: column.title,
|
|
7119
|
+
onChange: (event) => onChange?.({
|
|
7120
|
+
...value4,
|
|
7121
|
+
columns: value4.columns.map((item) => item.key === column.key ? {
|
|
7122
|
+
...item,
|
|
7123
|
+
title: event.target.value
|
|
7124
|
+
} : item)
|
|
7125
|
+
})
|
|
7126
|
+
}),
|
|
7127
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(OrderActions, {
|
|
7128
|
+
children: [
|
|
7129
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(Position, {
|
|
7130
|
+
value: index,
|
|
7131
|
+
max: value4.columns.length,
|
|
7132
|
+
label: `V\u1ECB tr\xED c\u1ED9t ${column.title}`,
|
|
7133
|
+
onMove: (to) => moveColumn(index, to)
|
|
7134
|
+
}),
|
|
7135
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(EditorButton, {
|
|
7136
|
+
type: "button",
|
|
7137
|
+
"aria-label": `\u0110\u01B0a c\u1ED9t ${column.title} l\xEAn`,
|
|
7138
|
+
disabled: index === 0,
|
|
7139
|
+
onClick: () => moveColumn(index, index - 1),
|
|
7140
|
+
children: "\u2191"
|
|
7141
|
+
}),
|
|
7142
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(EditorButton, {
|
|
7143
|
+
type: "button",
|
|
7144
|
+
"aria-label": `\u0110\u01B0a c\u1ED9t ${column.title} xu\u1ED1ng`,
|
|
7145
|
+
disabled: index === value4.columns.length - 1,
|
|
7146
|
+
onClick: () => moveColumn(index, index + 1),
|
|
7147
|
+
children: "\u2193"
|
|
7148
|
+
}),
|
|
7149
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(DeleteButton, {
|
|
7150
|
+
type: "button",
|
|
7151
|
+
disabled: column.key === "name",
|
|
7152
|
+
onClick: () => setDeleteTarget({
|
|
7153
|
+
kind: "column",
|
|
7154
|
+
id: column.key,
|
|
7155
|
+
label: column.title
|
|
7156
|
+
}),
|
|
7157
|
+
children: "X\xF3a c\u1ED9t"
|
|
7158
|
+
})
|
|
7159
|
+
]
|
|
7160
|
+
})
|
|
7161
|
+
]
|
|
7162
|
+
}, column.key)),
|
|
7163
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(EditorButton, {
|
|
7164
|
+
type: "button",
|
|
7165
|
+
onClick: addColumn,
|
|
7166
|
+
children: "+ Th\xEAm c\u1ED9t"
|
|
7167
|
+
})
|
|
7168
|
+
]
|
|
7169
|
+
}),
|
|
7170
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(import_DialogActions.default, {
|
|
7171
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(import_Button9.default, {
|
|
7172
|
+
variant: "contained",
|
|
7173
|
+
onClick: () => setColumnsOpen(false),
|
|
7174
|
+
children: "Xong"
|
|
7175
|
+
})
|
|
7176
|
+
})
|
|
7177
|
+
]
|
|
7025
7178
|
}),
|
|
7026
7179
|
/* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(import_Dialog.default, {
|
|
7027
7180
|
open: createTagOpen && canEdit,
|
|
@@ -7133,7 +7286,7 @@ var monthCodes = [
|
|
|
7133
7286
|
"X",
|
|
7134
7287
|
"Z"
|
|
7135
7288
|
];
|
|
7136
|
-
function FeesAndMarginContent({ content, editable, onChange }) {
|
|
7289
|
+
function FeesAndMarginContent({ content, editable, onChange, readOnlyFields }) {
|
|
7137
7290
|
const { t } = (0, import_react_i18next4.useTranslation)();
|
|
7138
7291
|
const { isMobile } = useResponsive();
|
|
7139
7292
|
const [activeMonth] = (0, import_react15.useState)(0);
|
|
@@ -7148,9 +7301,10 @@ function FeesAndMarginContent({ content, editable, onChange }) {
|
|
|
7148
7301
|
FeesTable,
|
|
7149
7302
|
{
|
|
7150
7303
|
value: data,
|
|
7304
|
+
language: field.startsWith("en.") ? "en" : "vi",
|
|
7151
7305
|
size: isMobile ? "sm" : "md",
|
|
7152
7306
|
tagOrder: ["metal", "agriculture", "industrial"].map((category) => t(`fees.categories.${category}`)),
|
|
7153
|
-
editable,
|
|
7307
|
+
editable: editable && !readOnlyFields?.includes(field),
|
|
7154
7308
|
onChange: (next) => onChange?.(field, JSON.stringify(next)),
|
|
7155
7309
|
labels: { search: t("fees.searchPlaceholder"), all: t("fees.categories.all"), empty: t("fees.empty") }
|
|
7156
7310
|
}
|
|
@@ -7176,77 +7330,77 @@ function FeesAndMarginContent({ content, editable, onChange }) {
|
|
|
7176
7330
|
var import_react_i18next5 = require("react-i18next");
|
|
7177
7331
|
|
|
7178
7332
|
// src/commodity-original/app/chinh-sach/style.ts
|
|
7179
|
-
var
|
|
7333
|
+
var import_styled_components11 = __toESM(require("styled-components"));
|
|
7180
7334
|
var policyAccent = "#f9bb3a";
|
|
7181
|
-
var PolicyMain =
|
|
7335
|
+
var PolicyMain = import_styled_components11.default.main.withConfig({
|
|
7182
7336
|
componentId: "sc-7b2122d1-0"
|
|
7183
7337
|
})([
|
|
7184
7338
|
`display:flex;width:100%;max-width:1240px;margin:0 auto;padding:40px 20px 80px;justify-content:center;background-color:`,
|
|
7185
7339
|
`;@media (max-width:768px){padding:32px 16px;}`
|
|
7186
7340
|
], ({ theme }) => theme.colors.background.canvas);
|
|
7187
|
-
var PolicyArticle =
|
|
7341
|
+
var PolicyArticle = import_styled_components11.default.article.withConfig({
|
|
7188
7342
|
componentId: "sc-7b2122d1-1"
|
|
7189
7343
|
})([
|
|
7190
7344
|
`display:flex;width:100%;flex-direction:column;`
|
|
7191
7345
|
]);
|
|
7192
|
-
var PolicyHeader =
|
|
7346
|
+
var PolicyHeader = import_styled_components11.default.header.withConfig({
|
|
7193
7347
|
componentId: "sc-7b2122d1-2"
|
|
7194
7348
|
})([
|
|
7195
7349
|
`display:flex;flex-direction:column;p{margin-bottom:16px;}@media (max-width:768px){p{margin-bottom:4px;}}`
|
|
7196
7350
|
]);
|
|
7197
|
-
var PageTitle =
|
|
7351
|
+
var PageTitle = import_styled_components11.default.h1.withConfig({
|
|
7198
7352
|
componentId: "sc-7b2122d1-3"
|
|
7199
7353
|
})([
|
|
7200
7354
|
`margin:0 0 40px;color:#333;font-size:48px;font-weight:700;line-height:57.836px;text-transform:capitalize;:root[data-theme="dark"] &{color:#fafafa;}@media (max-width:1024px){margin-bottom:8px;font-size:32px;line-height:40px;}`
|
|
7201
7355
|
]);
|
|
7202
|
-
var IntroTitle =
|
|
7356
|
+
var IntroTitle = import_styled_components11.default.h2.withConfig({
|
|
7203
7357
|
componentId: "sc-7b2122d1-4"
|
|
7204
7358
|
})([
|
|
7205
7359
|
`margin:0 0 24px;color:#666563;font-size:16px;font-weight:700;line-height:24px;:root[data-theme="dark"] &{color:#fafafa;}@media (max-width:768px){margin-bottom:24px;font-size:12px;}`
|
|
7206
7360
|
]);
|
|
7207
|
-
var Paragraph =
|
|
7361
|
+
var Paragraph = import_styled_components11.default.p.withConfig({
|
|
7208
7362
|
componentId: "sc-7b2122d1-5"
|
|
7209
7363
|
})([
|
|
7210
7364
|
`margin:0 0 12px;color:#666563;font-size:14px;font-weight:500;line-height:24px;:root[data-theme="dark"] &{color:#999b9c;}strong{color:#000;font-weight:700;}:root[data-theme="dark"] & strong{color:#fafafa;}@media (max-width:768px){font-size:12px;line-height:18px;}`
|
|
7211
7365
|
]);
|
|
7212
|
-
var Section =
|
|
7366
|
+
var Section = import_styled_components11.default.section.withConfig({
|
|
7213
7367
|
componentId: "sc-7b2122d1-6"
|
|
7214
7368
|
})([
|
|
7215
7369
|
`display:flex;flex-direction:column;`
|
|
7216
7370
|
]);
|
|
7217
|
-
var SectionTitle2 =
|
|
7371
|
+
var SectionTitle2 = import_styled_components11.default.h2.withConfig({
|
|
7218
7372
|
componentId: "sc-7b2122d1-7"
|
|
7219
7373
|
})([
|
|
7220
7374
|
`margin:32px 0;color:#333;font-size:32px;font-weight:700;line-height:40px;:root[data-theme="dark"] &{color:#fafafa;}@media (max-width:1024px){margin:24px 0;font-size:14px;line-height:20px;}`
|
|
7221
7375
|
]);
|
|
7222
|
-
var Subsection =
|
|
7376
|
+
var Subsection = import_styled_components11.default.div.withConfig({
|
|
7223
7377
|
componentId: "sc-7b2122d1-8"
|
|
7224
7378
|
})([
|
|
7225
7379
|
`display:flex;flex-direction:column;&:not(:last-child){margin-bottom:20px;}@media (max-width:768px){&:not(:last-child){margin-bottom:24px;}}`
|
|
7226
7380
|
]);
|
|
7227
|
-
var SubsectionTitle =
|
|
7381
|
+
var SubsectionTitle = import_styled_components11.default.h3.withConfig({
|
|
7228
7382
|
componentId: "sc-7b2122d1-9"
|
|
7229
7383
|
})([
|
|
7230
7384
|
`display:flex;margin:0 0 8px;align-items:center;gap:10px;color:#333;font-size:20px;font-weight:700;line-height:27px;&::before{width:9px;height:20px;flex-shrink:0;border-radius:1px;background-color:`,
|
|
7231
7385
|
`;content:"";}:root[data-theme="dark"] &{color:#fafafa;}@media (max-width:768px){margin-bottom:12px;gap:8px;font-size:14px;line-height:20px;&::before{width:6px;height:16px;}}`
|
|
7232
7386
|
], policyAccent);
|
|
7233
|
-
var BulletList =
|
|
7387
|
+
var BulletList = import_styled_components11.default.ul.withConfig({
|
|
7234
7388
|
componentId: "sc-7b2122d1-10"
|
|
7235
7389
|
})([
|
|
7236
7390
|
`margin:4px 0 8px;padding-left:24px;list-style:none;> li{position:relative;margin-bottom:12px;padding-left:20px;color:#666563;font-size:14px;font-weight:500;line-height:24px;}> li::before{position:absolute;top:8px;left:0;width:8px;height:9px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='9' viewBox='0 0 8 9' fill='none'%3E%3Cpath d='M1.84745 0.186474L6.93777 3.33107C7.46843 3.66519 7.62566 4.27445 7.42912 4.78545C7.3505 4.98199 7.23258 5.15887 7.0557 5.29645C7.01639 5.3161 6.97708 5.35541 6.93777 5.37507L1.84745 8.51967C1.45438 8.75551 1.022 8.75551 0.668228 8.57863C0.275153 8.38209 -3.12842e-08 7.98901 -5.27615e-08 7.49767L-3.27671e-07 1.20847C-3.35403e-07 1.03158 0.0393072 0.874354 0.0982684 0.717124C0.373421 0.0882044 1.17922 -0.226255 1.84745 0.186474Z' fill='%23F9BB3A'/%3E%3C/svg%3E");background-repeat:no-repeat;content:"";}> li strong{color:#000;font-weight:700;}:root[data-theme="dark"] & > li{color:#999b9c;}:root[data-theme="dark"] & > li strong{color:#fafafa;}@media (max-width:768px){margin:0;padding-left:16px;> li{padding-left:18px;}}`
|
|
7237
7391
|
]);
|
|
7238
|
-
var NumberedList =
|
|
7392
|
+
var NumberedList = import_styled_components11.default.ol.withConfig({
|
|
7239
7393
|
componentId: "sc-7b2122d1-11"
|
|
7240
7394
|
})([
|
|
7241
7395
|
`margin:4px 0 8px;padding-left:24px;counter-reset:policy-item;list-style:none;> li{position:relative;margin-bottom:12px;padding-left:20px;color:#666563;font-size:14px;font-weight:500;line-height:24px;counter-increment:policy-item;}> li::before{position:absolute;top:0;left:0;color:`,
|
|
7242
7396
|
`;content:counter(policy-item) ".";font-weight:700;}> li strong{color:#000;font-weight:700;}:root[data-theme="dark"] & > li{color:#999b9c;}:root[data-theme="dark"] & > li strong{color:#fafafa;}@media (max-width:768px){margin:0;padding-left:16px;> li{padding-left:18px;}}`
|
|
7243
7397
|
], policyAccent);
|
|
7244
|
-
var NestedBulletList = (0,
|
|
7398
|
+
var NestedBulletList = (0, import_styled_components11.default)(BulletList).withConfig({
|
|
7245
7399
|
componentId: "sc-7b2122d1-12"
|
|
7246
7400
|
})([
|
|
7247
7401
|
`margin-top:4px;`
|
|
7248
7402
|
]);
|
|
7249
|
-
var InlineLink =
|
|
7403
|
+
var InlineLink = import_styled_components11.default.a.withConfig({
|
|
7250
7404
|
componentId: "sc-7b2122d1-13"
|
|
7251
7405
|
})([
|
|
7252
7406
|
`color:#000;font-weight:700;text-decoration:underline;text-decoration-color:`,
|
|
@@ -7393,30 +7547,30 @@ var import_navigation = require("next/navigation.js");
|
|
|
7393
7547
|
var import_react_i18next6 = require("react-i18next");
|
|
7394
7548
|
|
|
7395
7549
|
// src/commodity-original/app/comming-soon/style.ts
|
|
7396
|
-
var
|
|
7397
|
-
var ComingSoonMain =
|
|
7550
|
+
var import_styled_components12 = __toESM(require("styled-components"));
|
|
7551
|
+
var ComingSoonMain = import_styled_components12.default.main.withConfig({
|
|
7398
7552
|
componentId: "sc-c1b78d5e-0"
|
|
7399
7553
|
})([
|
|
7400
7554
|
`display:flex;min-height:635px;padding:60px 24px 120px;align-items:center;justify-content:center;background:`,
|
|
7401
7555
|
`;@media (max-width:767px){min-height:calc(100svh - var(--header-height));padding:40px 16px 64px;}`
|
|
7402
7556
|
], ({ theme }) => theme.colors.background.warm);
|
|
7403
|
-
var ComingSoonContainer =
|
|
7557
|
+
var ComingSoonContainer = import_styled_components12.default.section.withConfig({
|
|
7404
7558
|
componentId: "sc-c1b78d5e-1"
|
|
7405
7559
|
})([
|
|
7406
7560
|
`display:flex;width:min(1200px,100%);flex-direction:column;align-items:center;gap:32px;text-align:center;.coming-soon-cta{width:250px;height:44px;padding:11px 16px;flex:0 0 auto;box-shadow:0 1px 20px rgb(249 187 58 / 60%);font-family:var(--font-inter),Arial,Helvetica,sans-serif;font-size:16px;font-weight:600;line-height:22px;}@media (max-width:767px){gap:28px;.coming-soon-cta{width:min(250px,100%);}}`
|
|
7407
7561
|
]);
|
|
7408
|
-
var ComingSoonArtwork =
|
|
7562
|
+
var ComingSoonArtwork = import_styled_components12.default.div.withConfig({
|
|
7409
7563
|
componentId: "sc-c1b78d5e-2"
|
|
7410
7564
|
})([
|
|
7411
7565
|
`display:flex;width:340px;height:295px;align-items:center;justify-content:center;img{display:block;width:340px;height:auto;object-fit:contain;filter:drop-shadow(0 18px 18px rgb(164 117 14 / 16%));}@media (max-width:767px){width:min(280px,100%);height:auto;min-height:224px;img{width:min(280px,100%);}}`
|
|
7412
7566
|
]);
|
|
7413
|
-
var ComingSoonTitle =
|
|
7567
|
+
var ComingSoonTitle = import_styled_components12.default.h1.withConfig({
|
|
7414
7568
|
componentId: "sc-c1b78d5e-3"
|
|
7415
7569
|
})([
|
|
7416
7570
|
`margin:0;color:`,
|
|
7417
7571
|
`;font-family:var(--font-inter),Arial,Helvetica,sans-serif;font-size:32px;font-weight:700;line-height:40px;text-transform:uppercase;@media (max-width:767px){font-size:24px;line-height:32px;}`
|
|
7418
7572
|
], ({ theme }) => theme.colors.text.primary);
|
|
7419
|
-
var ComingSoonDescription =
|
|
7573
|
+
var ComingSoonDescription = import_styled_components12.default.p.withConfig({
|
|
7420
7574
|
componentId: "sc-c1b78d5e-4"
|
|
7421
7575
|
})([
|
|
7422
7576
|
`max-width:1200px;margin:10px 0 0;color:`,
|
|
@@ -7474,66 +7628,66 @@ function ComingSoonContent() {
|
|
|
7474
7628
|
}
|
|
7475
7629
|
|
|
7476
7630
|
// src/commodity-original/app/khieu-nai/style.ts
|
|
7477
|
-
var
|
|
7631
|
+
var import_styled_components13 = __toESM(require("styled-components"));
|
|
7478
7632
|
var accent = "#f9bb3a";
|
|
7479
|
-
var PolicyMain2 =
|
|
7633
|
+
var PolicyMain2 = import_styled_components13.default.main.withConfig({
|
|
7480
7634
|
componentId: "sc-35e42561-0"
|
|
7481
7635
|
})([
|
|
7482
7636
|
`width:100%;max-width:1240px;margin:0 auto;padding:40px 20px 80px;@media (max-width:768px){padding:32px 16px;}`
|
|
7483
7637
|
]);
|
|
7484
|
-
var PolicyArticle2 =
|
|
7638
|
+
var PolicyArticle2 = import_styled_components13.default.article.withConfig({
|
|
7485
7639
|
componentId: "sc-35e42561-1"
|
|
7486
7640
|
})([
|
|
7487
7641
|
`width:100%;`
|
|
7488
7642
|
]);
|
|
7489
|
-
var PolicyHeader2 =
|
|
7643
|
+
var PolicyHeader2 = import_styled_components13.default.header.withConfig({
|
|
7490
7644
|
componentId: "sc-35e42561-2"
|
|
7491
7645
|
})([
|
|
7492
7646
|
`margin-bottom:32px;`
|
|
7493
7647
|
]);
|
|
7494
|
-
var PageTitle2 =
|
|
7648
|
+
var PageTitle2 = import_styled_components13.default.h1.withConfig({
|
|
7495
7649
|
componentId: "sc-35e42561-3"
|
|
7496
7650
|
})([
|
|
7497
7651
|
`margin:0 0 24px;color:#333;font-size:48px;font-weight:700;line-height:1.2;:root[data-theme="dark"] &{color:#fafafa;}@media (max-width:1024px){font-size:32px;line-height:40px;}`
|
|
7498
7652
|
]);
|
|
7499
|
-
var Intro =
|
|
7653
|
+
var Intro = import_styled_components13.default.p.withConfig({
|
|
7500
7654
|
componentId: "sc-35e42561-4"
|
|
7501
7655
|
})([
|
|
7502
7656
|
`margin:0;color:#666563;font-size:16px;font-weight:600;line-height:24px;:root[data-theme="dark"] &{color:#c8c9ca;}@media (max-width:768px){font-size:14px;}`
|
|
7503
7657
|
]);
|
|
7504
|
-
var Section2 =
|
|
7658
|
+
var Section2 = import_styled_components13.default.section.withConfig({
|
|
7505
7659
|
componentId: "sc-35e42561-5"
|
|
7506
7660
|
})([
|
|
7507
7661
|
`&:not(:first-of-type){margin-top:36px;}`
|
|
7508
7662
|
]);
|
|
7509
|
-
var SectionTitle3 =
|
|
7663
|
+
var SectionTitle3 = import_styled_components13.default.h2.withConfig({
|
|
7510
7664
|
componentId: "sc-35e42561-6"
|
|
7511
7665
|
})([
|
|
7512
7666
|
`margin:0 0 16px;color:#333;font-size:26px;font-weight:700;line-height:34px;:root[data-theme="dark"] &{color:#fafafa;}@media (max-width:768px){font-size:20px;line-height:28px;}`
|
|
7513
7667
|
]);
|
|
7514
|
-
var Paragraph2 =
|
|
7668
|
+
var Paragraph2 = import_styled_components13.default.p.withConfig({
|
|
7515
7669
|
componentId: "sc-35e42561-7"
|
|
7516
7670
|
})([
|
|
7517
7671
|
`margin:0 0 12px;color:#666563;font-size:14px;font-weight:500;line-height:24px;:root[data-theme="dark"] &{color:#999b9c;}`
|
|
7518
7672
|
]);
|
|
7519
|
-
var ContactList =
|
|
7673
|
+
var ContactList = import_styled_components13.default.ol.withConfig({
|
|
7520
7674
|
componentId: "sc-35e42561-8"
|
|
7521
7675
|
})([
|
|
7522
7676
|
`margin:4px 0 0;padding-left:24px;li{margin-bottom:12px;padding-left:4px;color:#666563;font-size:14px;font-weight:500;line-height:24px;}strong,a{color:#000;font-weight:700;}a{text-decoration:underline;text-decoration-color:`,
|
|
7523
7677
|
`;text-underline-offset:3px;}:root[data-theme="dark"] & li{color:#999b9c;}:root[data-theme="dark"] & strong,:root[data-theme="dark"] & a{color:#fafafa;}`
|
|
7524
7678
|
], accent);
|
|
7525
|
-
var Subsection2 =
|
|
7679
|
+
var Subsection2 = import_styled_components13.default.div.withConfig({
|
|
7526
7680
|
componentId: "sc-35e42561-9"
|
|
7527
7681
|
})([
|
|
7528
7682
|
`&:not(:last-child){margin-bottom:24px;}`
|
|
7529
7683
|
]);
|
|
7530
|
-
var StepTitle =
|
|
7684
|
+
var StepTitle = import_styled_components13.default.h3.withConfig({
|
|
7531
7685
|
componentId: "sc-35e42561-10"
|
|
7532
7686
|
})([
|
|
7533
7687
|
`display:flex;margin:0 0 8px;align-items:center;gap:10px;color:#333;font-size:20px;font-weight:700;line-height:28px;&::before{width:6px;height:20px;flex-shrink:0;border-radius:1px;background-color:`,
|
|
7534
7688
|
`;content:"";}:root[data-theme="dark"] &{color:#fafafa;}@media (max-width:768px){font-size:16px;line-height:24px;}`
|
|
7535
7689
|
], accent);
|
|
7536
|
-
var BulletList2 =
|
|
7690
|
+
var BulletList2 = import_styled_components13.default.ul.withConfig({
|
|
7537
7691
|
componentId: "sc-35e42561-11"
|
|
7538
7692
|
})([
|
|
7539
7693
|
`margin:4px 0 12px;padding-left:24px;li{margin-bottom:8px;color:#666563;font-size:14px;font-weight:500;line-height:24px;}li::marker{color:`,
|
|
@@ -7542,24 +7696,24 @@ var BulletList2 = import_styled_components14.default.ul.withConfig({
|
|
|
7542
7696
|
|
|
7543
7697
|
// src/commodity-original/components/SupportRequestBlock/index.tsx
|
|
7544
7698
|
var import_jsx_runtime21 = require("react/jsx-runtime");
|
|
7545
|
-
var
|
|
7699
|
+
var import_styled_components14 = __toESM(require("styled-components"));
|
|
7546
7700
|
var import_react_i18next7 = require("react-i18next");
|
|
7547
|
-
var SupportSection =
|
|
7701
|
+
var SupportSection = import_styled_components14.default.section.withConfig({
|
|
7548
7702
|
componentId: "sc-1a367884-0"
|
|
7549
7703
|
})([
|
|
7550
7704
|
`width:100%;padding:28px max(20px,calc((100vw - 1200px) / 2));background:#F9BB3A;@media (max-width:768px){padding:24px 20px;}`
|
|
7551
7705
|
]);
|
|
7552
|
-
var SupportTitle =
|
|
7706
|
+
var SupportTitle = import_styled_components14.default.h2.withConfig({
|
|
7553
7707
|
componentId: "sc-1a367884-1"
|
|
7554
7708
|
})([
|
|
7555
7709
|
`margin:0 0 16px;color:#000;font-size:24px;font-weight:700;line-height:32px;@media (max-width:768px){margin-bottom:20px;font-size:20px;line-height:28px;}`
|
|
7556
7710
|
]);
|
|
7557
|
-
var SupportForm =
|
|
7711
|
+
var SupportForm = import_styled_components14.default.form.withConfig({
|
|
7558
7712
|
componentId: "sc-1a367884-2"
|
|
7559
7713
|
})([
|
|
7560
7714
|
`display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1fr) minmax(0,1fr) auto;gap:14px;align-items:end;label{display:flex;min-width:0;flex-direction:column;gap:8px;color:#000;font-size:14px;font-weight:500;line-height:20px;}input,.register-select-trigger{width:100%;height:44px;border:1px solid transparent;border-radius:6px;padding:0 14px;color:#05080f;background:#fff;outline:none;font:inherit;font-size:14px;line-height:20px;}input::placeholder,.register-select-trigger[data-placeholder]{color:#9ea3ad;opacity:1;}input:focus,.register-select-trigger:focus-visible{border-color:#f9bb3a;box-shadow:0 0 0 3px rgb(249 187 58 / 25%);}.register-select-trigger{display:flex;align-items:center;justify-content:space-between;gap:8px;cursor:pointer;text-align:left;}.register-select-icon{width:20px;height:20px;flex:0 0 20px;background:url("/landing-assets/register-dropdown.svg") center / 20px 20px no-repeat;transition:transform 160ms ease;}.register-select-trigger[data-state="open"] .register-select-icon{transform:rotate(180deg);}.support-submit{height:44px;min-height:44px;padding-block:0;}.register-select-trigger > span:first-child{min-width:0;flex:1 1 0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}@media (max-width:1024px){grid-template-columns:repeat(2,minmax(0,1fr));.support-submit{width:100%;}}@media (max-width:560px){grid-template-columns:1fr;gap:16px;}`
|
|
7561
7715
|
]);
|
|
7562
|
-
var Required =
|
|
7716
|
+
var Required = import_styled_components14.default.span.withConfig({
|
|
7563
7717
|
componentId: "sc-1a367884-3"
|
|
7564
7718
|
})([
|
|
7565
7719
|
`color:#f25c66;`
|
|
@@ -7758,36 +7912,36 @@ var import_react_i18next9 = require("react-i18next");
|
|
|
7758
7912
|
// src/commodity-original/components/BlogCard/style.ts
|
|
7759
7913
|
var import_image5 = __toESM(require("next/image.js"));
|
|
7760
7914
|
var import_link2 = __toESM(require("next/link.js"));
|
|
7761
|
-
var
|
|
7762
|
-
var blogCardSurface = (0,
|
|
7915
|
+
var import_styled_components15 = require("styled-components");
|
|
7916
|
+
var blogCardSurface = (0, import_styled_components15.css)([
|
|
7763
7917
|
`display:flex;position:relative;width:100%;overflow:visible;align-items:stretch;border-radius:8px;background:`,
|
|
7764
7918
|
`;box-shadow:4px 4px 10px rgb(0 0 0 / 4%);transition:transform 180ms ease,box-shadow 180ms ease;&:hover{transform:translateY(-2px);box-shadow:6px 8px 18px rgb(0 0 0 / 9%);img{transform:scale(1.035);}}&[data-orientation="vertical"]{flex-direction:column;}&:focus-visible{outline:2px solid `,
|
|
7765
7919
|
`;outline-offset:3px;}@media (prefers-reduced-motion:reduce){transition:none;img{transition:none;}}`
|
|
7766
7920
|
], ({ theme }) => theme.colors.background.card, ({ theme }) => theme.colors.accent.primary);
|
|
7767
|
-
var BlogCardArticle =
|
|
7921
|
+
var BlogCardArticle = import_styled_components15.styled.article.withConfig({
|
|
7768
7922
|
componentId: "sc-afe5d65c-0"
|
|
7769
7923
|
})([
|
|
7770
7924
|
``,
|
|
7771
7925
|
``
|
|
7772
7926
|
], blogCardSurface);
|
|
7773
|
-
var BlogCardLink = (0,
|
|
7927
|
+
var BlogCardLink = (0, import_styled_components15.styled)(import_link2.default).withConfig({
|
|
7774
7928
|
componentId: "sc-afe5d65c-1"
|
|
7775
7929
|
})([
|
|
7776
7930
|
``,
|
|
7777
7931
|
` color:inherit;text-decoration:none;`
|
|
7778
7932
|
], blogCardSurface);
|
|
7779
|
-
var BlogCardImagePanel =
|
|
7933
|
+
var BlogCardImagePanel = import_styled_components15.styled.div.withConfig({
|
|
7780
7934
|
componentId: "sc-afe5d65c-2"
|
|
7781
7935
|
})([
|
|
7782
7936
|
`position:relative;width:288px;height:162px;flex:0 0 auto;overflow:hidden;border:1px solid `,
|
|
7783
7937
|
`;border-radius:8px 0 0 8px;&[data-size="md"]{width:224px;height:126px;}&[data-size="sm"]{width:160px;height:90px;}&[data-orientation="vertical"]{width:100%;height:auto;aspect-ratio:16 / 9;border-radius:8px 8px 0 0;}@media (max-width:767px){&:not([data-orientation="vertical"]){width:160px;height:90px;}}`
|
|
7784
7938
|
], ({ theme }) => theme.colors.border.line);
|
|
7785
|
-
var BlogCardImage = (0,
|
|
7939
|
+
var BlogCardImage = (0, import_styled_components15.styled)(import_image5.default).withConfig({
|
|
7786
7940
|
componentId: "sc-afe5d65c-3"
|
|
7787
7941
|
})([
|
|
7788
7942
|
`object-fit:cover;pointer-events:none;transition:transform 240ms ease;`
|
|
7789
7943
|
]);
|
|
7790
|
-
var BlogCardContent =
|
|
7944
|
+
var BlogCardContent = import_styled_components15.styled.div.withConfig({
|
|
7791
7945
|
componentId: "sc-afe5d65c-4"
|
|
7792
7946
|
})([
|
|
7793
7947
|
`display:flex;min-width:0;flex:1 1 0;flex-direction:column;gap:4px;justify-content:start;padding:16px 24px;border-radius:0 8px 8px 0;background:`,
|
|
@@ -7795,7 +7949,7 @@ var BlogCardContent = import_styled_components16.styled.div.withConfig({
|
|
|
7795
7949
|
`[data-orientation="vertical"] &,`,
|
|
7796
7950
|
`[data-orientation="vertical"] &{padding:16px 24px 24px;border-radius:0 0 8px 8px;}`
|
|
7797
7951
|
], ({ theme }) => theme.colors.background.card, BlogCardArticle, BlogCardLink);
|
|
7798
|
-
var BlogCardBadge =
|
|
7952
|
+
var BlogCardBadge = import_styled_components15.styled.span.withConfig({
|
|
7799
7953
|
componentId: "sc-afe5d65c-5"
|
|
7800
7954
|
})([
|
|
7801
7955
|
`position:absolute;z-index:1;top:-12px;left:0;display:inline-flex;isolation:isolate;padding:8px 24px;align-items:center;color:`,
|
|
@@ -7803,13 +7957,13 @@ var BlogCardBadge = import_styled_components16.styled.span.withConfig({
|
|
|
7803
7957
|
`;content:"";filter:drop-shadow(4px 4px 2px rgb(0 0 0 / 20%));mask:url("/icons/blog-card-ribbon.svg") left top / 100% 100% no-repeat;-webkit-mask:url("/icons/blog-card-ribbon.svg") left top / 100% 100% no-repeat;}&::after{position:absolute;bottom:-16px;left:-16px;width:16px;height:16px;background:`,
|
|
7804
7958
|
`;content:"";mask:url("/icons/blog-card-ribbon-tail.svg") center / contain no-repeat;-webkit-mask:url("/icons/blog-card-ribbon-tail.svg") center / contain no-repeat;}&[data-size="sm"]::before{left:-8px;}&[data-size="sm"]::after{bottom:-8px;left:-8px;width:8px;height:8px;}`
|
|
7805
7959
|
], ({ theme }) => theme.colors.accent.foreground, ({ theme }) => theme.colors.accent.primary, ({ theme }) => theme.colors.accent.deep);
|
|
7806
|
-
var BlogCardDate =
|
|
7960
|
+
var BlogCardDate = import_styled_components15.styled.p.withConfig({
|
|
7807
7961
|
componentId: "sc-afe5d65c-6"
|
|
7808
7962
|
})([
|
|
7809
7963
|
`width:100%;margin:0;overflow:hidden;color:`,
|
|
7810
7964
|
`;font-family:var(--font-inter),Arial,Helvetica,sans-serif;font-size:14px;font-weight:500;line-height:18px;text-overflow:ellipsis;white-space:nowrap;`
|
|
7811
7965
|
], ({ theme }) => theme.colors.text.secondary);
|
|
7812
|
-
var BlogCardTitle =
|
|
7966
|
+
var BlogCardTitle = import_styled_components15.styled.h3.withConfig({
|
|
7813
7967
|
componentId: "sc-afe5d65c-7"
|
|
7814
7968
|
})([
|
|
7815
7969
|
`display:-webkit-box;width:100%;margin:0;overflow:hidden;color:`,
|
|
@@ -7817,7 +7971,7 @@ var BlogCardTitle = import_styled_components16.styled.h3.withConfig({
|
|
|
7817
7971
|
`[data-size="md"] &{font-size:18px;line-height:26px;}`,
|
|
7818
7972
|
`[data-size="sm"] &{font-size:16px;line-height:22px;}@media (max-width:767px){font-size:16px;line-height:22px;}`
|
|
7819
7973
|
], ({ theme }) => theme.colors.text.primary, BlogCardContent, BlogCardContent);
|
|
7820
|
-
var BlogCardDescription =
|
|
7974
|
+
var BlogCardDescription = import_styled_components15.styled.p.withConfig({
|
|
7821
7975
|
componentId: "sc-afe5d65c-8"
|
|
7822
7976
|
})([
|
|
7823
7977
|
`display:-webkit-box;width:100%;margin:0;overflow:hidden;color:`,
|
|
@@ -7897,8 +8051,8 @@ function BlogCard({
|
|
|
7897
8051
|
}
|
|
7898
8052
|
|
|
7899
8053
|
// src/commodity-original/components/InformationHeroSection/style.ts
|
|
7900
|
-
var
|
|
7901
|
-
var InformationHeroRoot =
|
|
8054
|
+
var import_styled_components16 = __toESM(require("styled-components"));
|
|
8055
|
+
var InformationHeroRoot = import_styled_components16.default.section.withConfig({
|
|
7902
8056
|
componentId: "sc-fa02d513-0"
|
|
7903
8057
|
})([
|
|
7904
8058
|
`position:relative;display:flex;min-height:232px;overflow:hidden;padding:80px 24px;align-items:center;justify-content:center;background:linear-gradient( 178.45deg,`,
|
|
@@ -7906,23 +8060,23 @@ var InformationHeroRoot = import_styled_components17.default.section.withConfig(
|
|
|
7906
8060
|
` 17.7%,`,
|
|
7907
8061
|
` 74.77% );@media (max-width:767px){min-height:120px;padding:40px 16px;}`
|
|
7908
8062
|
], ({ theme }) => theme.colors.informationHero.start, ({ theme }) => theme.colors.informationHero.middle, ({ theme }) => theme.colors.accent.primary);
|
|
7909
|
-
var InformationHeroBackdrop =
|
|
8063
|
+
var InformationHeroBackdrop = import_styled_components16.default.div.withConfig({
|
|
7910
8064
|
componentId: "sc-fa02d513-1"
|
|
7911
8065
|
})([
|
|
7912
8066
|
`position:absolute;inset:0;overflow:hidden;pointer-events:none;background:var( --wikex-information-hero-background,url("/sections/information-hero/back-desktop.png") ) center / cover no-repeat;@media (max-width:767px){background:var( --wikex-information-hero-mobile-background,url("/sections/information-hero/back-mobile.png") ) center / cover no-repeat;}`
|
|
7913
8067
|
]);
|
|
7914
|
-
var InformationHeroContent =
|
|
8068
|
+
var InformationHeroContent = import_styled_components16.default.div.withConfig({
|
|
7915
8069
|
componentId: "sc-fa02d513-2"
|
|
7916
8070
|
})([
|
|
7917
8071
|
`position:relative;display:flex;width:min(1200px,100%);gap:40px;align-items:center;@media (max-width:767px){flex-direction:column;gap:32px;}`
|
|
7918
8072
|
]);
|
|
7919
|
-
var InformationHeroTitle =
|
|
8073
|
+
var InformationHeroTitle = import_styled_components16.default.h1.withConfig({
|
|
7920
8074
|
componentId: "sc-fa02d513-3"
|
|
7921
8075
|
})([
|
|
7922
8076
|
`width:708px;max-width:100%;margin:0;color:`,
|
|
7923
8077
|
`;font-family:var(--font-inter),Arial,Helvetica,sans-serif;font-size:54px;font-weight:700;line-height:72px;:root[data-theme="dark"] &{color:#1c1c1e;}@media (max-width:767px){font-size:32px;line-height:40px;}`
|
|
7924
8078
|
], ({ theme }) => theme.colors.text.primary);
|
|
7925
|
-
var InformationHeroIllustration =
|
|
8079
|
+
var InformationHeroIllustration = import_styled_components16.default.div.withConfig({
|
|
7926
8080
|
componentId: "sc-fa02d513-4"
|
|
7927
8081
|
})([
|
|
7928
8082
|
`display:flex;min-width:0;min-height:72px;flex:1 0 0;padding:10px;align-items:center;justify-content:center;color:`,
|
|
@@ -7967,45 +8121,45 @@ function InformationHeroSection({
|
|
|
7967
8121
|
}
|
|
7968
8122
|
|
|
7969
8123
|
// src/commodity-original/app/noti-mxv/style.ts
|
|
7970
|
-
var
|
|
8124
|
+
var import_styled_components18 = __toESM(require("styled-components"));
|
|
7971
8125
|
|
|
7972
8126
|
// src/commodity-original/components/DateRangePicker/index.tsx
|
|
7973
8127
|
var import_react16 = require("react");
|
|
7974
8128
|
var import_react_i18next8 = require("react-i18next");
|
|
7975
|
-
var
|
|
8129
|
+
var import_radix_ui3 = require("radix-ui");
|
|
7976
8130
|
|
|
7977
8131
|
// src/commodity-original/components/DateRangePicker/style.ts
|
|
7978
|
-
var
|
|
7979
|
-
var
|
|
7980
|
-
var drawerOverlayIn = (0,
|
|
8132
|
+
var import_styled_components17 = __toESM(require("styled-components"));
|
|
8133
|
+
var import_radix_ui2 = require("radix-ui");
|
|
8134
|
+
var drawerOverlayIn = (0, import_styled_components17.keyframes)([
|
|
7981
8135
|
`from{opacity:0;}to{opacity:1;}`
|
|
7982
8136
|
]);
|
|
7983
|
-
var drawerOverlayOut = (0,
|
|
8137
|
+
var drawerOverlayOut = (0, import_styled_components17.keyframes)([
|
|
7984
8138
|
`from{opacity:1;}to{opacity:0;}`
|
|
7985
8139
|
]);
|
|
7986
|
-
var drawerSlideIn = (0,
|
|
8140
|
+
var drawerSlideIn = (0, import_styled_components17.keyframes)([
|
|
7987
8141
|
`from{transform:translateY(100%);}to{transform:translateY(0);}`
|
|
7988
8142
|
]);
|
|
7989
|
-
var drawerSlideOut = (0,
|
|
8143
|
+
var drawerSlideOut = (0, import_styled_components17.keyframes)([
|
|
7990
8144
|
`from{transform:translateY(0);}to{transform:translateY(100%);}`
|
|
7991
8145
|
]);
|
|
7992
|
-
var DateRangeRoot =
|
|
8146
|
+
var DateRangeRoot = import_styled_components17.default.div.withConfig({
|
|
7993
8147
|
componentId: "sc-3ac622db-0"
|
|
7994
8148
|
})([
|
|
7995
8149
|
`position:relative;display:flex;width:100%;min-width:0;min-height:40px;gap:8px;padding:8px 8px 8px 12px;align-items:center;border-radius:6px;background:`,
|
|
7996
8150
|
`;&[data-size="sm"]{min-height:36px;}`
|
|
7997
8151
|
], ({ theme }) => theme.colors.background.input);
|
|
7998
|
-
var DateFieldGroup =
|
|
8152
|
+
var DateFieldGroup = import_styled_components17.default.span.withConfig({
|
|
7999
8153
|
componentId: "sc-3ac622db-1"
|
|
8000
8154
|
})([
|
|
8001
8155
|
`position:relative;display:block;min-width:0;flex:1 1 0;`
|
|
8002
8156
|
]);
|
|
8003
|
-
var DateField =
|
|
8157
|
+
var DateField = import_styled_components17.default.button.withConfig({
|
|
8004
8158
|
componentId: "sc-3ac622db-2"
|
|
8005
8159
|
})([
|
|
8006
8160
|
`display:block;width:100%;min-width:0;padding:0;border:0;background:transparent;cursor:pointer;text-align:left;&:disabled{cursor:not-allowed;}`
|
|
8007
8161
|
]);
|
|
8008
|
-
var DateFieldValue =
|
|
8162
|
+
var DateFieldValue = import_styled_components17.default.span.withConfig({
|
|
8009
8163
|
componentId: "sc-3ac622db-3"
|
|
8010
8164
|
})([
|
|
8011
8165
|
`display:block;overflow:hidden;color:`,
|
|
@@ -8014,48 +8168,48 @@ var DateFieldValue = import_styled_components18.default.span.withConfig({
|
|
|
8014
8168
|
`:disabled &{color:`,
|
|
8015
8169
|
`;}`
|
|
8016
8170
|
], ({ theme }) => theme.colors.text.primary, ({ theme }) => theme.colors.text.placeholder, DateField, ({ theme }) => theme.colors.text.secondary);
|
|
8017
|
-
var DateFieldInput =
|
|
8171
|
+
var DateFieldInput = import_styled_components17.default.input.withConfig({
|
|
8018
8172
|
componentId: "sc-3ac622db-4"
|
|
8019
8173
|
})([
|
|
8020
8174
|
`position:absolute;inset:0;width:100%;height:1px;border:0;pointer-events:none;opacity:0;appearance:none;&:disabled{cursor:not-allowed;}`
|
|
8021
8175
|
]);
|
|
8022
|
-
var RangeArrow =
|
|
8176
|
+
var RangeArrow = import_styled_components17.default.span.withConfig({
|
|
8023
8177
|
componentId: "sc-3ac622db-5"
|
|
8024
8178
|
})([
|
|
8025
8179
|
`display:inline-flex;width:16px;height:16px;flex:0 0 16px;align-items:center;justify-content:center;color:`,
|
|
8026
8180
|
`;`
|
|
8027
8181
|
], ({ theme }) => theme.colors.text.secondary);
|
|
8028
|
-
var DatePickerIcon =
|
|
8182
|
+
var DatePickerIcon = import_styled_components17.default.span.withConfig({
|
|
8029
8183
|
componentId: "sc-3ac622db-6"
|
|
8030
8184
|
})([
|
|
8031
8185
|
`display:block;width:16px;height:16px;background:currentColor;mask-repeat:no-repeat;mask-position:center;mask-size:contain;`
|
|
8032
8186
|
]);
|
|
8033
|
-
var RangeArrowIcon = (0,
|
|
8187
|
+
var RangeArrowIcon = (0, import_styled_components17.default)(DatePickerIcon).withConfig({
|
|
8034
8188
|
componentId: "sc-3ac622db-7"
|
|
8035
8189
|
})([
|
|
8036
8190
|
`mask-image:url("/icons/date-range-arrow.svg");`
|
|
8037
8191
|
]);
|
|
8038
|
-
var CalendarIcon =
|
|
8192
|
+
var CalendarIcon = import_styled_components17.default.button.withConfig({
|
|
8039
8193
|
componentId: "sc-3ac622db-8"
|
|
8040
8194
|
})([
|
|
8041
8195
|
`display:block;width:20px;height:20px;flex:0 0 20px;padding:0;border:0;color:`,
|
|
8042
8196
|
`;background:currentColor;cursor:pointer;mask:url("/icons/date-range-calendar.svg") center / contain no-repeat;-webkit-mask:url("/icons/date-range-calendar.svg") center / contain no-repeat;`
|
|
8043
8197
|
], ({ theme }) => theme.colors.text.secondary);
|
|
8044
|
-
var CalendarDialog =
|
|
8198
|
+
var CalendarDialog = import_styled_components17.default.div.withConfig({
|
|
8045
8199
|
componentId: "sc-3ac622db-9"
|
|
8046
8200
|
})([
|
|
8047
8201
|
`position:absolute;z-index:20;top:calc(100% + 8px);right:0;width:100%;box-sizing:border-box;overflow:hidden;border:1px solid `,
|
|
8048
8202
|
`;border-radius:12px;background:`,
|
|
8049
8203
|
`;box-shadow:0 10px 15px -3px rgb(0 0 0 / 10%),0 4px 6px -4px rgb(0 0 0 / 10%);`
|
|
8050
8204
|
], ({ theme }) => theme.colors.border.line, ({ theme }) => theme.colors.background.canvas);
|
|
8051
|
-
var CalendarDrawerOverlay = (0,
|
|
8205
|
+
var CalendarDrawerOverlay = (0, import_styled_components17.default)(import_radix_ui2.Dialog.Overlay).withConfig({
|
|
8052
8206
|
componentId: "sc-3ac622db-10"
|
|
8053
8207
|
})([
|
|
8054
8208
|
`position:fixed;z-index:200;inset:0;background:rgb(0 0 0 / 48%);&[data-state="open"]{animation:`,
|
|
8055
8209
|
` 180ms ease-out;}&[data-state="closed"]{animation:`,
|
|
8056
8210
|
` 140ms ease-in;}@media (prefers-reduced-motion:reduce){animation:none;}`
|
|
8057
8211
|
], drawerOverlayIn, drawerOverlayOut);
|
|
8058
|
-
var CalendarDrawerContent = (0,
|
|
8212
|
+
var CalendarDrawerContent = (0, import_styled_components17.default)(import_radix_ui2.Dialog.Content).withConfig({
|
|
8059
8213
|
componentId: "sc-3ac622db-11"
|
|
8060
8214
|
})([
|
|
8061
8215
|
`position:fixed;z-index:201;right:0;bottom:0;left:0;max-height:calc(100dvh - 16px);overflow-y:auto;border-radius:16px 16px 0 0;background:`,
|
|
@@ -8063,41 +8217,41 @@ var CalendarDrawerContent = (0, import_styled_components18.default)(import_radix
|
|
|
8063
8217
|
` 240ms cubic-bezier(0.22,1,0.36,1);}&[data-state="closed"]{animation:`,
|
|
8064
8218
|
` 180ms ease-in;}@media (prefers-reduced-motion:reduce){animation:none;}`
|
|
8065
8219
|
], ({ theme }) => theme.colors.background.canvas, drawerSlideIn, drawerSlideOut);
|
|
8066
|
-
var CalendarDialogBody =
|
|
8220
|
+
var CalendarDialogBody = import_styled_components17.default.div.withConfig({
|
|
8067
8221
|
componentId: "sc-3ac622db-12"
|
|
8068
8222
|
})([
|
|
8069
8223
|
`padding:16px 16px 8px;`
|
|
8070
8224
|
]);
|
|
8071
|
-
var CalendarDialogHeader =
|
|
8225
|
+
var CalendarDialogHeader = import_styled_components17.default.div.withConfig({
|
|
8072
8226
|
componentId: "sc-3ac622db-13"
|
|
8073
8227
|
})([
|
|
8074
8228
|
`display:flex;align-items:center;justify-content:space-between;padding:0 4px;`
|
|
8075
8229
|
]);
|
|
8076
|
-
var CalendarDialogMonth =
|
|
8230
|
+
var CalendarDialogMonth = import_styled_components17.default.p.withConfig({
|
|
8077
8231
|
componentId: "sc-3ac622db-14"
|
|
8078
8232
|
})([
|
|
8079
8233
|
`margin:0;color:`,
|
|
8080
8234
|
`;font-family:var(--font-inter),Arial,sans-serif;font-size:14px;font-weight:600;line-height:20px;text-transform:capitalize;`
|
|
8081
8235
|
], ({ theme }) => theme.colors.text.primary);
|
|
8082
|
-
var CalendarNavigationButton =
|
|
8236
|
+
var CalendarNavigationButton = import_styled_components17.default.button.withConfig({
|
|
8083
8237
|
componentId: "sc-3ac622db-15"
|
|
8084
8238
|
})([
|
|
8085
8239
|
`width:32px;height:32px;border:0;border-radius:8px;background:transparent;cursor:pointer;&::before{display:block;width:16px;height:16px;margin:auto;background:`,
|
|
8086
8240
|
`;content:"";mask:url("/icons/chevron-right.svg") center / contain no-repeat;-webkit-mask:url("/icons/chevron-right.svg") center / contain no-repeat;}&[data-direction="previous"]::before{transform:rotate(180deg);}&:focus-visible{outline:2px solid `,
|
|
8087
8241
|
`;outline-offset:2px;}`
|
|
8088
8242
|
], ({ theme }) => theme.colors.text.primary, ({ theme }) => theme.colors.datePicker.selected);
|
|
8089
|
-
var CalendarWeekdays =
|
|
8243
|
+
var CalendarWeekdays = import_styled_components17.default.div.withConfig({
|
|
8090
8244
|
componentId: "sc-3ac622db-16"
|
|
8091
8245
|
})([
|
|
8092
8246
|
`display:grid;grid-template-columns:repeat(7,1fr);padding-top:12px;span{display:grid;height:32px;place-items:center;color:`,
|
|
8093
8247
|
`;font-family:ui-monospace,monospace;font-size:12px;line-height:16px;}`
|
|
8094
8248
|
], ({ theme }) => theme.colors.text.placeholder);
|
|
8095
|
-
var DaysGrid =
|
|
8249
|
+
var DaysGrid = import_styled_components17.default.div.withConfig({
|
|
8096
8250
|
componentId: "sc-3ac622db-17"
|
|
8097
8251
|
})([
|
|
8098
8252
|
`display:grid;grid-template-columns:repeat(7,minmax(0,1fr));`
|
|
8099
8253
|
]);
|
|
8100
|
-
var DayCell =
|
|
8254
|
+
var DayCell = import_styled_components17.default.div.withConfig({
|
|
8101
8255
|
componentId: "sc-3ac622db-18"
|
|
8102
8256
|
})([
|
|
8103
8257
|
`display:grid;min-width:0;height:36px;place-items:center;&[data-in-range]{background:`,
|
|
@@ -8105,7 +8259,7 @@ var DayCell = import_styled_components18.default.div.withConfig({
|
|
|
8105
8259
|
` 50% );}&[data-range-end]{background:linear-gradient( to left,transparent 50%,`,
|
|
8106
8260
|
` 50% );}`
|
|
8107
8261
|
], ({ theme }) => theme.colors.datePicker.range, ({ theme }) => theme.colors.datePicker.range, ({ theme }) => theme.colors.datePicker.range);
|
|
8108
|
-
var DayButton =
|
|
8262
|
+
var DayButton = import_styled_components17.default.button.withConfig({
|
|
8109
8263
|
componentId: "sc-3ac622db-19"
|
|
8110
8264
|
})([
|
|
8111
8265
|
`width:min(35px,100%);height:36px;border:0;border-radius:999px;color:`,
|
|
@@ -8117,42 +8271,42 @@ var DayButton = import_styled_components18.default.button.withConfig({
|
|
|
8117
8271
|
`;}&:focus-visible{outline:2px solid `,
|
|
8118
8272
|
`;outline-offset:2px;}`
|
|
8119
8273
|
], ({ theme }) => theme.colors.text.placeholder, ({ theme }) => theme.colors.text.primary, DayCell, ({ theme }) => theme.colors.datePicker.rangeForeground, ({ theme }) => theme.colors.action.primaryForeground, ({ theme }) => theme.colors.datePicker.selected, ({ theme }) => theme.colors.datePicker.selected);
|
|
8120
|
-
var CalendarDialogSummary =
|
|
8274
|
+
var CalendarDialogSummary = import_styled_components17.default.div.withConfig({
|
|
8121
8275
|
componentId: "sc-3ac622db-20"
|
|
8122
8276
|
})([
|
|
8123
8277
|
`display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 12px;padding:12px 16px;align-items:center;border-top:1px solid `,
|
|
8124
8278
|
`;`
|
|
8125
8279
|
], ({ theme }) => theme.colors.background.input);
|
|
8126
|
-
var RangeSummaryDate =
|
|
8280
|
+
var RangeSummaryDate = import_styled_components17.default.div.withConfig({
|
|
8127
8281
|
componentId: "sc-3ac622db-21"
|
|
8128
8282
|
})([
|
|
8129
8283
|
`display:grid;min-width:0;gap:2px;&[data-align="end"]{grid-column:2;grid-row:1;text-align:right;}`
|
|
8130
8284
|
]);
|
|
8131
|
-
var RangeSummaryLabel =
|
|
8285
|
+
var RangeSummaryLabel = import_styled_components17.default.span.withConfig({
|
|
8132
8286
|
componentId: "sc-3ac622db-22"
|
|
8133
8287
|
})([
|
|
8134
8288
|
`color:`,
|
|
8135
8289
|
`;font-family:var(--font-inter),Arial,sans-serif;font-size:10px;font-weight:500;letter-spacing:0.025em;line-height:15px;text-transform:uppercase;`
|
|
8136
8290
|
], ({ theme }) => theme.colors.text.placeholder);
|
|
8137
|
-
var RangeSummaryValue =
|
|
8291
|
+
var RangeSummaryValue = import_styled_components17.default.span.withConfig({
|
|
8138
8292
|
componentId: "sc-3ac622db-23"
|
|
8139
8293
|
})([
|
|
8140
8294
|
`overflow:hidden;color:`,
|
|
8141
8295
|
`;font-family:ui-monospace,monospace;font-size:12px;line-height:20px;text-overflow:ellipsis;white-space:nowrap;`
|
|
8142
8296
|
], ({ theme }) => theme.colors.text.primary);
|
|
8143
|
-
var RangeSummaryPeriod =
|
|
8297
|
+
var RangeSummaryPeriod = import_styled_components17.default.div.withConfig({
|
|
8144
8298
|
componentId: "sc-3ac622db-24"
|
|
8145
8299
|
})([
|
|
8146
8300
|
`display:flex;grid-column:1 / -1;grid-row:2;gap:6px;align-items:center;justify-content:center;color:`,
|
|
8147
8301
|
`;font-family:var(--font-inter),Arial,sans-serif;font-size:10px;line-height:15px;white-space:nowrap;`
|
|
8148
8302
|
], ({ theme }) => theme.colors.text.placeholder);
|
|
8149
|
-
var RangeSummarySeparator =
|
|
8303
|
+
var RangeSummarySeparator = import_styled_components17.default.span.withConfig({
|
|
8150
8304
|
componentId: "sc-3ac622db-25"
|
|
8151
8305
|
})([
|
|
8152
8306
|
`width:20px;height:1px;background:`,
|
|
8153
8307
|
`;`
|
|
8154
8308
|
], ({ theme }) => theme.colors.border.subtle);
|
|
8155
|
-
var CalendarDialogActions =
|
|
8309
|
+
var CalendarDialogActions = import_styled_components17.default.div.withConfig({
|
|
8156
8310
|
componentId: "sc-3ac622db-26"
|
|
8157
8311
|
})([
|
|
8158
8312
|
`display:flex;gap:8px;padding:12px 16px;justify-content:flex-end;border-top:1px solid `,
|
|
@@ -8289,7 +8443,7 @@ function DateRangePicker({
|
|
|
8289
8443
|
type: "button"
|
|
8290
8444
|
}
|
|
8291
8445
|
),
|
|
8292
|
-
isMobile ? /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
|
|
8446
|
+
isMobile ? /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_radix_ui3.Dialog.Title, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(CalendarDialogMonth, { children: new Intl.DateTimeFormat(locale, {
|
|
8293
8447
|
month: "long",
|
|
8294
8448
|
year: "numeric"
|
|
8295
8449
|
}).format(month) }) }) : /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(CalendarDialogMonth, { children: new Intl.DateTimeFormat(locale, {
|
|
@@ -8424,14 +8578,14 @@ function DateRangePicker({
|
|
|
8424
8578
|
}
|
|
8425
8579
|
),
|
|
8426
8580
|
open && isMobile ? /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
|
|
8427
|
-
|
|
8581
|
+
import_radix_ui3.Dialog.Root,
|
|
8428
8582
|
{
|
|
8429
8583
|
onOpenChange: (nextOpen) => {
|
|
8430
8584
|
if (!nextOpen) setDraft(value4);
|
|
8431
8585
|
setOpen(nextOpen);
|
|
8432
8586
|
},
|
|
8433
8587
|
open,
|
|
8434
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(
|
|
8588
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(import_radix_ui3.Dialog.Portal, { children: [
|
|
8435
8589
|
/* @__PURE__ */ (0, import_jsx_runtime25.jsx)(CalendarDrawerOverlay, {}),
|
|
8436
8590
|
/* @__PURE__ */ (0, import_jsx_runtime25.jsx)(CalendarDrawerContent, { "aria-describedby": void 0, children: calendar })
|
|
8437
8591
|
] })
|
|
@@ -8448,34 +8602,34 @@ function DateRangePicker({
|
|
|
8448
8602
|
}
|
|
8449
8603
|
|
|
8450
8604
|
// src/commodity-original/app/noti-mxv/style.ts
|
|
8451
|
-
var NotiMxvMain =
|
|
8605
|
+
var NotiMxvMain = import_styled_components18.default.main.withConfig({
|
|
8452
8606
|
componentId: "sc-d3ff19c5-0"
|
|
8453
8607
|
})([
|
|
8454
8608
|
`min-height:calc(100vh - var(--header-height));`
|
|
8455
8609
|
]);
|
|
8456
|
-
var FilterSection =
|
|
8610
|
+
var FilterSection = import_styled_components18.default.section.withConfig({
|
|
8457
8611
|
componentId: "sc-d3ff19c5-1"
|
|
8458
8612
|
})([
|
|
8459
8613
|
`padding:60px 24px 16px;background:`,
|
|
8460
8614
|
`;@media (max-width:767px){padding:30px 16px 16px;background:`,
|
|
8461
8615
|
`;}`
|
|
8462
8616
|
], ({ theme }) => theme.colors.background.canvas, ({ theme }) => theme.colors.background.warm);
|
|
8463
|
-
var FilterContent =
|
|
8617
|
+
var FilterContent = import_styled_components18.default.div.withConfig({
|
|
8464
8618
|
componentId: "sc-d3ff19c5-2"
|
|
8465
8619
|
})([
|
|
8466
8620
|
`display:flex;width:min(1200px,100%);gap:16px;margin:0 auto;align-items:center;@media (max-width:767px){flex-wrap:wrap;}`
|
|
8467
8621
|
]);
|
|
8468
|
-
var FilterSearch =
|
|
8622
|
+
var FilterSearch = import_styled_components18.default.div.withConfig({
|
|
8469
8623
|
componentId: "sc-d3ff19c5-3"
|
|
8470
8624
|
})([
|
|
8471
8625
|
`width:261px;flex:0 1 261px;@media (max-width:767px){width:100%;flex-basis:100%;}`
|
|
8472
8626
|
]);
|
|
8473
|
-
var FilterDateRangePicker = (0,
|
|
8627
|
+
var FilterDateRangePicker = (0, import_styled_components18.default)(DateRangePicker).withConfig({
|
|
8474
8628
|
componentId: "sc-d3ff19c5-4"
|
|
8475
8629
|
})([
|
|
8476
8630
|
`width:262px;flex:0 1 262px;@media (max-width:767px){flex:1 1 220px;}`
|
|
8477
8631
|
]);
|
|
8478
|
-
var FilterResetButton =
|
|
8632
|
+
var FilterResetButton = import_styled_components18.default.button.withConfig({
|
|
8479
8633
|
componentId: "sc-d3ff19c5-5"
|
|
8480
8634
|
})([
|
|
8481
8635
|
`height:40px;padding:0 16px;border:1px solid `,
|
|
@@ -8486,49 +8640,49 @@ var FilterResetButton = import_styled_components19.default.button.withConfig({
|
|
|
8486
8640
|
`;}@media (max-width:767px){height:36px;font-size:12px;line-height:16px;background:`,
|
|
8487
8641
|
`;}`
|
|
8488
8642
|
], ({ theme }) => theme.colors.border.subtle, ({ theme }) => theme.colors.text.primary, ({ theme }) => theme.colors.background.canvas, ({ theme }) => theme.colors.text.secondary, ({ theme }) => theme.colors.background.input, ({ theme }) => theme.colors.background.warm);
|
|
8489
|
-
var SearchIcon =
|
|
8643
|
+
var SearchIcon = import_styled_components18.default.span.withConfig({
|
|
8490
8644
|
componentId: "sc-d3ff19c5-6"
|
|
8491
8645
|
})([
|
|
8492
8646
|
`display:block;width:16px;height:16px;background:currentColor;mask:url("/icons/search.svg") center / contain no-repeat;-webkit-mask:url("/icons/search.svg") center / contain no-repeat;`
|
|
8493
8647
|
]);
|
|
8494
|
-
var NotiContent =
|
|
8648
|
+
var NotiContent = import_styled_components18.default.div.withConfig({
|
|
8495
8649
|
componentId: "sc-d3ff19c5-7"
|
|
8496
8650
|
})([
|
|
8497
8651
|
`width:min(1248px,100%);margin:0 auto;padding:16px 16px 40px 16px;@media (max-width:767px){background:`,
|
|
8498
8652
|
`;}`
|
|
8499
8653
|
], ({ theme }) => theme.colors.background.warm);
|
|
8500
|
-
var NotiLayout =
|
|
8654
|
+
var NotiLayout = import_styled_components18.default.div.withConfig({
|
|
8501
8655
|
componentId: "sc-d3ff19c5-8"
|
|
8502
8656
|
})([
|
|
8503
8657
|
`display:grid;min-width:0;grid-template-columns:minmax(0,1fr) 373px;gap:40px;align-items:start;@media (max-width:1199px){grid-template-columns:minmax(0,1fr) 280px;gap:24px;}@media (max-width:768px){grid-template-columns:1fr;}`
|
|
8504
8658
|
]);
|
|
8505
|
-
var NotiMainColumn =
|
|
8659
|
+
var NotiMainColumn = import_styled_components18.default.section.withConfig({
|
|
8506
8660
|
componentId: "sc-d3ff19c5-9"
|
|
8507
8661
|
})([
|
|
8508
8662
|
`min-width:0;`
|
|
8509
8663
|
]);
|
|
8510
|
-
var NotiList =
|
|
8664
|
+
var NotiList = import_styled_components18.default.div.withConfig({
|
|
8511
8665
|
componentId: "sc-d3ff19c5-10"
|
|
8512
8666
|
})([
|
|
8513
8667
|
`display:flex;flex-direction:column;gap:24px;`
|
|
8514
8668
|
]);
|
|
8515
|
-
var NotiPagination =
|
|
8669
|
+
var NotiPagination = import_styled_components18.default.div.withConfig({
|
|
8516
8670
|
componentId: "sc-d3ff19c5-11"
|
|
8517
8671
|
})([
|
|
8518
8672
|
`margin-top:32px;`
|
|
8519
8673
|
]);
|
|
8520
|
-
var NotiSidebar =
|
|
8674
|
+
var NotiSidebar = import_styled_components18.default.aside.withConfig({
|
|
8521
8675
|
componentId: "sc-d3ff19c5-12"
|
|
8522
8676
|
})([
|
|
8523
8677
|
`display:flex;width:100%;min-width:0;flex-direction:column;gap:16px;position:sticky;top:calc(var(--header-height) + 24px);align-self:start;@media (max-width:768px){position:static;}`
|
|
8524
8678
|
]);
|
|
8525
|
-
var NotiSidebarHeading =
|
|
8679
|
+
var NotiSidebarHeading = import_styled_components18.default.h2.withConfig({
|
|
8526
8680
|
componentId: "sc-d3ff19c5-13"
|
|
8527
8681
|
})([
|
|
8528
8682
|
`margin:0;color:`,
|
|
8529
8683
|
`;font-family:var(--font-inter),Arial,Helvetica,sans-serif;font-size:20px;font-weight:700;line-height:30px;@media (max-width:767px){font-size:18px;line-height:26px;}`
|
|
8530
8684
|
], ({ theme }) => theme.colors.text.primary);
|
|
8531
|
-
var NotiSidebarList =
|
|
8685
|
+
var NotiSidebarList = import_styled_components18.default.div.withConfig({
|
|
8532
8686
|
componentId: "sc-d3ff19c5-14"
|
|
8533
8687
|
})([
|
|
8534
8688
|
`display:flex;min-width:0;flex-direction:column;gap:16px;@media (max-width:768px){width:100%;box-sizing:border-box;padding:0 16px 4px 0;overflow-x:auto;flex-direction:row;overscroll-behavior-x:contain;scroll-padding-right:16px;scroll-snap-type:x mandatory;scrollbar-width:none;touch-action:pan-x;&::-webkit-scrollbar{display:none;}& > *{width:min(278px,calc(100% - 32px));max-width:278px;flex:0 0 min(278px,calc(100% - 32px));scroll-snap-align:start;}}`
|
|
@@ -8675,7 +8829,7 @@ var import_react18 = require("react");
|
|
|
8675
8829
|
var import_link3 = __toESM(require("next/link.js"));
|
|
8676
8830
|
|
|
8677
8831
|
// src/commodity-original/components/Breadcrumb/style.ts
|
|
8678
|
-
var
|
|
8832
|
+
var import_styled_components19 = require("styled-components");
|
|
8679
8833
|
var breadcrumbText = `
|
|
8680
8834
|
font-family: var(--font-manrope), Arial, Helvetica, sans-serif;
|
|
8681
8835
|
font-size: 12px;
|
|
@@ -8687,22 +8841,22 @@ var breadcrumbText = `
|
|
|
8687
8841
|
line-height: 14px;
|
|
8688
8842
|
}
|
|
8689
8843
|
`;
|
|
8690
|
-
var BreadcrumbNav =
|
|
8844
|
+
var BreadcrumbNav = import_styled_components19.styled.nav.withConfig({
|
|
8691
8845
|
componentId: "sc-9c96c0b1-0"
|
|
8692
8846
|
})([
|
|
8693
8847
|
`display:flex;max-width:100%;align-items:center;@media (max-width:767px){overflow-x:auto;scrollbar-width:none;&::-webkit-scrollbar{display:none;}}`
|
|
8694
8848
|
]);
|
|
8695
|
-
var BreadcrumbList =
|
|
8849
|
+
var BreadcrumbList = import_styled_components19.styled.ol.withConfig({
|
|
8696
8850
|
componentId: "sc-9c96c0b1-1"
|
|
8697
8851
|
})([
|
|
8698
8852
|
`display:flex;margin:0;padding:0;align-items:center;gap:4px;list-style:none;`
|
|
8699
8853
|
]);
|
|
8700
|
-
var BreadcrumbItem =
|
|
8854
|
+
var BreadcrumbItem = import_styled_components19.styled.li.withConfig({
|
|
8701
8855
|
componentId: "sc-9c96c0b1-2"
|
|
8702
8856
|
})([
|
|
8703
8857
|
`display:flex;align-items:center;gap:4px;`
|
|
8704
8858
|
]);
|
|
8705
|
-
var BreadcrumbLink =
|
|
8859
|
+
var BreadcrumbLink = import_styled_components19.styled.a.withConfig({
|
|
8706
8860
|
componentId: "sc-9c96c0b1-3"
|
|
8707
8861
|
})([
|
|
8708
8862
|
``,
|
|
@@ -8710,14 +8864,14 @@ var BreadcrumbLink = import_styled_components20.styled.a.withConfig({
|
|
|
8710
8864
|
`;&:hover,&:focus-visible{color:`,
|
|
8711
8865
|
`;}&:focus-visible{outline:2px solid #f9bb3a;outline-offset:2px;}`
|
|
8712
8866
|
], breadcrumbText, ({ theme }) => theme.colors.text.placeholder, ({ theme }) => theme.colors.text.primary);
|
|
8713
|
-
var BreadcrumbCurrent =
|
|
8867
|
+
var BreadcrumbCurrent = import_styled_components19.styled.span.withConfig({
|
|
8714
8868
|
componentId: "sc-9c96c0b1-4"
|
|
8715
8869
|
})([
|
|
8716
8870
|
``,
|
|
8717
8871
|
` color:`,
|
|
8718
8872
|
`;`
|
|
8719
8873
|
], breadcrumbText, ({ theme }) => theme.colors.text.primary);
|
|
8720
|
-
var BreadcrumbSeparator =
|
|
8874
|
+
var BreadcrumbSeparator = import_styled_components19.styled.span.withConfig({
|
|
8721
8875
|
componentId: "sc-9c96c0b1-5"
|
|
8722
8876
|
})([
|
|
8723
8877
|
`display:inline-flex;width:14px;height:14px;align-items:center;justify-content:center;color:`,
|
|
@@ -8858,52 +9012,52 @@ var product_card_arrow_default = "data:image/svg+xml;base64,PHN2ZyBwcmVzZXJ2ZUFz
|
|
|
8858
9012
|
// src/commodity-original/components/ProductCard/style.ts
|
|
8859
9013
|
var import_link4 = __toESM(require("next/link.js"));
|
|
8860
9014
|
var import_image6 = __toESM(require("next/image.js"));
|
|
8861
|
-
var
|
|
8862
|
-
var cardSurface = (0,
|
|
9015
|
+
var import_styled_components20 = require("styled-components");
|
|
9016
|
+
var cardSurface = (0, import_styled_components20.css)([
|
|
8863
9017
|
`display:flex;width:100%;height:100%;max-width:329px;flex-direction:column;color:`,
|
|
8864
9018
|
`;transition:transform 160ms ease;&:hover{transform:translateY(-2px);}@media (max-width:599px){max-width:100%;}`
|
|
8865
9019
|
], ({ theme }) => theme.colors.text.primary);
|
|
8866
|
-
var ProductCardArticle =
|
|
9020
|
+
var ProductCardArticle = import_styled_components20.styled.article.withConfig({
|
|
8867
9021
|
componentId: "sc-232625b5-0"
|
|
8868
9022
|
})([
|
|
8869
9023
|
``,
|
|
8870
9024
|
``
|
|
8871
9025
|
], cardSurface);
|
|
8872
|
-
var ProductCardLink = (0,
|
|
9026
|
+
var ProductCardLink = (0, import_styled_components20.styled)(import_link4.default).withConfig({
|
|
8873
9027
|
componentId: "sc-232625b5-1"
|
|
8874
9028
|
})([
|
|
8875
9029
|
``,
|
|
8876
9030
|
` text-decoration:none;&:focus-visible{outline:2px solid `,
|
|
8877
9031
|
`;outline-offset:3px;}`
|
|
8878
9032
|
], cardSurface, ({ theme }) => theme.colors.accent.primary);
|
|
8879
|
-
var ProductCardImagePanel =
|
|
9033
|
+
var ProductCardImagePanel = import_styled_components20.styled.div.withConfig({
|
|
8880
9034
|
componentId: "sc-232625b5-2"
|
|
8881
9035
|
})([
|
|
8882
9036
|
`position:relative;width:100%;aspect-ratio:1;border-radius:8px 8px 0 0;&::before{position:absolute;z-index:1;inset:41.2879% 0 0;border-radius:8px 8px 0 0;background:rgb(249 187 58 / 40%);box-shadow:-4px 4px 10px rgb(0 0 0 / 10%);content:"";}@media (max-width:599px){&::before{inset:43.2727% 0 -14.5833%;}}`
|
|
8883
9037
|
]);
|
|
8884
|
-
var ProductCardImage = (0,
|
|
9038
|
+
var ProductCardImage = (0, import_styled_components20.styled)(import_image6.default).withConfig({
|
|
8885
9039
|
componentId: "sc-232625b5-3"
|
|
8886
9040
|
})([
|
|
8887
9041
|
`z-index:2;object-fit:cover;pointer-events:none;`
|
|
8888
9042
|
]);
|
|
8889
|
-
var ProductCardCopy =
|
|
9043
|
+
var ProductCardCopy = import_styled_components20.styled.div.withConfig({
|
|
8890
9044
|
componentId: "sc-232625b5-4"
|
|
8891
9045
|
})([
|
|
8892
9046
|
`display:flex;width:100%;flex:1 0 auto;flex-direction:column;gap:4px;padding:12px 16px 24px;border-radius:0 0 8px 8px;background:`,
|
|
8893
9047
|
`;box-shadow:-4px 4px 10px rgb(0 0 0 / 10%);@media (max-width:599px){padding:12px 16px 24px;align-items:center;z-index:2;}`
|
|
8894
9048
|
], ({ theme }) => theme.colors.background.card);
|
|
8895
|
-
var ProductCardTitleRow =
|
|
9049
|
+
var ProductCardTitleRow = import_styled_components20.styled.div.withConfig({
|
|
8896
9050
|
componentId: "sc-232625b5-5"
|
|
8897
9051
|
})([
|
|
8898
9052
|
`display:flex;width:100%;align-items:center;gap:8px;`
|
|
8899
9053
|
]);
|
|
8900
|
-
var ProductCardTitle =
|
|
9054
|
+
var ProductCardTitle = import_styled_components20.styled.h3.withConfig({
|
|
8901
9055
|
componentId: "sc-232625b5-6"
|
|
8902
9056
|
})([
|
|
8903
9057
|
`flex:1 1 0;min-width:0;margin:0;overflow:hidden;color:`,
|
|
8904
9058
|
`;font-size:20px;font-weight:700;line-height:30px;text-overflow:ellipsis;white-space:nowrap;@media (max-width:599px){font-size:14px;line-height:18px;}`
|
|
8905
9059
|
], ({ theme }) => theme.colors.text.primary);
|
|
8906
|
-
var ProductCardArrow =
|
|
9060
|
+
var ProductCardArrow = import_styled_components20.styled.span.withConfig({
|
|
8907
9061
|
componentId: "sc-232625b5-7"
|
|
8908
9062
|
})([
|
|
8909
9063
|
`width:24px;height:24px;flex:0 0 24px;color:`,
|
|
@@ -8913,7 +9067,7 @@ var ProductCardArrow = import_styled_components21.styled.span.withConfig({
|
|
|
8913
9067
|
`");mask-size:contain;-webkit-mask-image:url("`,
|
|
8914
9068
|
`");-webkit-mask-size:contain;}`
|
|
8915
9069
|
], ({ theme }) => theme.colors.accent.primary, product_card_arrow_default, product_card_arrow_default, related_products_arrow_default, related_products_arrow_default);
|
|
8916
|
-
var ProductCardDescription =
|
|
9070
|
+
var ProductCardDescription = import_styled_components20.styled.p.withConfig({
|
|
8917
9071
|
componentId: "sc-232625b5-8"
|
|
8918
9072
|
})([
|
|
8919
9073
|
`display:-webkit-box;width:100%;overflow:hidden;margin:0;color:`,
|
|
@@ -8978,34 +9132,34 @@ function ProductCard({
|
|
|
8978
9132
|
var import_react_i18next10 = require("react-i18next");
|
|
8979
9133
|
|
|
8980
9134
|
// src/commodity-original/app/products/style.ts
|
|
8981
|
-
var
|
|
8982
|
-
var ProductsMain =
|
|
9135
|
+
var import_styled_components21 = __toESM(require("styled-components"));
|
|
9136
|
+
var ProductsMain = import_styled_components21.default.main.withConfig({
|
|
8983
9137
|
componentId: "sc-6416c39d-0"
|
|
8984
9138
|
})([
|
|
8985
9139
|
`display:flex;width:min(1440px,100%);min-height:calc(100vh - var(--header-height));margin:0 auto;padding:32px 24px;flex-direction:column;gap:16px;@media (max-width:767px){padding:32px 16px;}`
|
|
8986
9140
|
]);
|
|
8987
|
-
var BreadcrumbSlot =
|
|
9141
|
+
var BreadcrumbSlot = import_styled_components21.default.div.withConfig({
|
|
8988
9142
|
componentId: "sc-6416c39d-1"
|
|
8989
9143
|
})([
|
|
8990
9144
|
`display:flex;justify-content:center;`
|
|
8991
9145
|
]);
|
|
8992
|
-
var ProductsSection =
|
|
9146
|
+
var ProductsSection = import_styled_components21.default.section.withConfig({
|
|
8993
9147
|
componentId: "sc-6416c39d-2"
|
|
8994
9148
|
})([
|
|
8995
9149
|
`display:flex;flex-direction:column;gap:24px;`
|
|
8996
9150
|
]);
|
|
8997
|
-
var ProductsHeading =
|
|
9151
|
+
var ProductsHeading = import_styled_components21.default.h1.withConfig({
|
|
8998
9152
|
componentId: "sc-6416c39d-3"
|
|
8999
9153
|
})([
|
|
9000
9154
|
`margin:0;color:`,
|
|
9001
9155
|
`;text-align:center;font-family:var(--font-inter),Arial,Helvetica,sans-serif;font-size:40px;font-style:normal;font-weight:700;line-height:50px;@media (max-width:767px){font-size:24px !important;line-height:36px;}`
|
|
9002
9156
|
], ({ theme }) => theme.colors.text.primary);
|
|
9003
|
-
var ProductGrid =
|
|
9157
|
+
var ProductGrid = import_styled_components21.default.section.withConfig({
|
|
9004
9158
|
componentId: "sc-6416c39d-4"
|
|
9005
9159
|
})([
|
|
9006
9160
|
`display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:1fr;gap:24px 32px;align-items:start;@media (max-width:1199px){grid-template-columns:repeat(3,minmax(0,1fr));}@media (max-width:899px){grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 24px;}`
|
|
9007
9161
|
]);
|
|
9008
|
-
var ProductsPagination =
|
|
9162
|
+
var ProductsPagination = import_styled_components21.default.div.withConfig({
|
|
9009
9163
|
componentId: "sc-6416c39d-5"
|
|
9010
9164
|
})([
|
|
9011
9165
|
`margin-top:16px;`
|
|
@@ -9155,49 +9309,49 @@ var import_react_i18next11 = require("react-i18next");
|
|
|
9155
9309
|
|
|
9156
9310
|
// src/commodity-original/app/products/[slug]/style.ts
|
|
9157
9311
|
var import_image7 = __toESM(require("next/image.js"));
|
|
9158
|
-
var
|
|
9159
|
-
var DetailMain =
|
|
9312
|
+
var import_styled_components22 = __toESM(require("styled-components"));
|
|
9313
|
+
var DetailMain = import_styled_components22.default.main.withConfig({
|
|
9160
9314
|
componentId: "sc-f78fec74-0"
|
|
9161
9315
|
})([
|
|
9162
9316
|
`display:flex;width:min(1248px,100%);min-height:calc(100vh - var(--header-height));margin:0 auto;padding:32px 24px 96px;flex-direction:column;gap:16px;@media (max-width:767px){padding:32px 16px 40px;}`
|
|
9163
9317
|
]);
|
|
9164
|
-
var DetailHero =
|
|
9318
|
+
var DetailHero = import_styled_components22.default.section.withConfig({
|
|
9165
9319
|
componentId: "sc-f78fec74-1"
|
|
9166
9320
|
})([
|
|
9167
9321
|
`display:grid;grid-template-columns:repeat(2,minmax(0,1fr));overflow:hidden;border:1px solid `,
|
|
9168
9322
|
`;border-radius:16px;background:`,
|
|
9169
9323
|
`;box-shadow:0 12px 32px rgb(0 0 0 / 8%);@media (max-width:767px){grid-template-columns:1fr;}`
|
|
9170
9324
|
], ({ theme }) => theme.colors.border.line, ({ theme }) => theme.colors.background.canvas);
|
|
9171
|
-
var DetailImage =
|
|
9325
|
+
var DetailImage = import_styled_components22.default.div.withConfig({
|
|
9172
9326
|
componentId: "sc-f78fec74-2"
|
|
9173
9327
|
})([
|
|
9174
9328
|
`position:relative;min-height:440px;overflow:hidden;background:`,
|
|
9175
9329
|
`;img{object-fit:cover;}@media (max-width:767px){min-height:auto;aspect-ratio:1;}`
|
|
9176
9330
|
], ({ theme }) => theme.colors.accent.primary);
|
|
9177
|
-
var DetailBody =
|
|
9331
|
+
var DetailBody = import_styled_components22.default.div.withConfig({
|
|
9178
9332
|
componentId: "sc-f78fec74-3"
|
|
9179
9333
|
})([
|
|
9180
9334
|
`display:flex;padding:48px;flex-direction:column;justify-content:center;> p{margin:16px 0 0;color:`,
|
|
9181
9335
|
`;font-size:16px;font-weight:500;line-height:1.6;}@media (max-width:767px){padding:32px 24px;}`
|
|
9182
9336
|
], ({ theme }) => theme.colors.text.secondary);
|
|
9183
|
-
var DetailEyebrow =
|
|
9337
|
+
var DetailEyebrow = import_styled_components22.default.p.withConfig({
|
|
9184
9338
|
componentId: "sc-f78fec74-4"
|
|
9185
9339
|
})([
|
|
9186
9340
|
`margin:0 0 8px;color:`,
|
|
9187
9341
|
`;font-size:14px;font-weight:700;letter-spacing:0.08em;text-transform:uppercase;`
|
|
9188
9342
|
], ({ theme }) => theme.colors.accent.primary);
|
|
9189
|
-
var DetailTitle =
|
|
9343
|
+
var DetailTitle = import_styled_components22.default.h1.withConfig({
|
|
9190
9344
|
componentId: "sc-f78fec74-5"
|
|
9191
9345
|
})([
|
|
9192
9346
|
`margin:0;color:`,
|
|
9193
9347
|
`;font-size:clamp(32px,4vw,48px);line-height:1.2;`
|
|
9194
9348
|
], ({ theme }) => theme.colors.text.primary);
|
|
9195
|
-
var DetailFacts =
|
|
9349
|
+
var DetailFacts = import_styled_components22.default.dl.withConfig({
|
|
9196
9350
|
componentId: "sc-f78fec74-6"
|
|
9197
9351
|
})([
|
|
9198
9352
|
`display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:32px 0 0;@media (max-width:480px){grid-template-columns:1fr;}`
|
|
9199
9353
|
]);
|
|
9200
|
-
var DetailFact =
|
|
9354
|
+
var DetailFact = import_styled_components22.default.div.withConfig({
|
|
9201
9355
|
componentId: "sc-f78fec74-7"
|
|
9202
9356
|
})([
|
|
9203
9357
|
`padding:12px;border-radius:8px;background:`,
|
|
@@ -9205,61 +9359,61 @@ var DetailFact = import_styled_components23.default.div.withConfig({
|
|
|
9205
9359
|
`;font-size:12px;line-height:1.4;}dd{margin:4px 0 0;color:`,
|
|
9206
9360
|
`;font-size:14px;font-weight:700;line-height:1.4;}`
|
|
9207
9361
|
], ({ theme }) => theme.colors.background.hover, ({ theme }) => theme.colors.text.secondary, ({ theme }) => theme.colors.text.primary);
|
|
9208
|
-
var PageHeader =
|
|
9362
|
+
var PageHeader = import_styled_components22.default.header.withConfig({
|
|
9209
9363
|
componentId: "sc-f78fec74-8"
|
|
9210
9364
|
})([
|
|
9211
9365
|
`display:flex;flex-direction:column;`
|
|
9212
9366
|
]);
|
|
9213
|
-
var PageTitle3 =
|
|
9367
|
+
var PageTitle3 = import_styled_components22.default.h1.withConfig({
|
|
9214
9368
|
componentId: "sc-f78fec74-9"
|
|
9215
9369
|
})([
|
|
9216
9370
|
`margin:0;color:`,
|
|
9217
9371
|
`;font-family:var(--Font-Landingpage,Inter);font-size:var(--Size-H2,40px);font-style:normal;font-weight:700;line-height:var(--Line-height-H2,50px);@media (max-width:767px){font-size:var(--Size-H3,24px) !important;line-height:var(--Line-height-H3,36px);}`
|
|
9218
9372
|
], ({ theme }) => theme.colors.text.primary);
|
|
9219
|
-
var ContractLayout =
|
|
9373
|
+
var ContractLayout = import_styled_components22.default.div.withConfig({
|
|
9220
9374
|
componentId: "sc-f78fec74-10"
|
|
9221
9375
|
})([
|
|
9222
9376
|
`margin-top:16px;display:grid;grid-template-columns:minmax(0,1fr) 373px;gap:40px;align-items:start;@media (max-width:1199px){grid-template-columns:minmax(0,1fr) 280px;gap:24px;}@media (max-width:768px){grid-template-columns:minmax(0,1fr);margin-top:0px;}`
|
|
9223
9377
|
]);
|
|
9224
|
-
var ContractMain =
|
|
9378
|
+
var ContractMain = import_styled_components22.default.main.withConfig({
|
|
9225
9379
|
componentId: "sc-f78fec74-11"
|
|
9226
9380
|
})([
|
|
9227
9381
|
`display:flex;min-width:0;flex-direction:column;gap:24px;`
|
|
9228
9382
|
]);
|
|
9229
|
-
var ContractSidebar =
|
|
9383
|
+
var ContractSidebar = import_styled_components22.default.aside.withConfig({
|
|
9230
9384
|
componentId: "sc-f78fec74-12"
|
|
9231
9385
|
})([
|
|
9232
9386
|
`min-width:0;position:sticky;top:calc(var(--header-height) + 24px);align-self:start;@media (max-width:768px){position:static;width:100%;}`
|
|
9233
9387
|
]);
|
|
9234
|
-
var IntroductionSection =
|
|
9388
|
+
var IntroductionSection = import_styled_components22.default.section.withConfig({
|
|
9235
9389
|
componentId: "sc-f78fec74-13"
|
|
9236
9390
|
})([
|
|
9237
9391
|
`display:flex;flex-direction:column;gap:8px;@media (max-width:767px){gap:6px;}`
|
|
9238
9392
|
]);
|
|
9239
|
-
var ContractSectionTitle =
|
|
9393
|
+
var ContractSectionTitle = import_styled_components22.default.h2.withConfig({
|
|
9240
9394
|
componentId: "sc-f78fec74-14"
|
|
9241
9395
|
})([
|
|
9242
9396
|
`width:100%;margin:0;overflow:hidden;color:`,
|
|
9243
9397
|
`;font-family:var(--font-inter),Arial,Helvetica,sans-serif;font-size:20px;font-weight:700;line-height:30px;text-overflow:ellipsis;@media (max-width:767px){font-size:16px;line-height:22px;}`
|
|
9244
9398
|
], ({ theme }) => theme.colors.text.primary);
|
|
9245
|
-
var IntroductionDescription =
|
|
9399
|
+
var IntroductionDescription = import_styled_components22.default.p.withConfig({
|
|
9246
9400
|
componentId: "sc-f78fec74-15"
|
|
9247
9401
|
})([
|
|
9248
9402
|
`width:100%;margin:0;color:`,
|
|
9249
9403
|
`;font-family:var(--font-inter),Arial,Helvetica,sans-serif;font-size:16px;font-weight:500;line-height:22px;@media (max-width:767px){font-size:14px;line-height:18px;}`
|
|
9250
9404
|
], ({ theme }) => theme.colors.text.secondary);
|
|
9251
|
-
var ContractSpecificationSection =
|
|
9405
|
+
var ContractSpecificationSection = import_styled_components22.default.section.withConfig({
|
|
9252
9406
|
componentId: "sc-f78fec74-16"
|
|
9253
9407
|
})([
|
|
9254
9408
|
`display:flex;flex-direction:column;gap:12px;`
|
|
9255
9409
|
]);
|
|
9256
|
-
var ContractSpecificationList =
|
|
9410
|
+
var ContractSpecificationList = import_styled_components22.default.dl.withConfig({
|
|
9257
9411
|
componentId: "sc-f78fec74-17"
|
|
9258
9412
|
})([
|
|
9259
9413
|
`overflow:hidden;margin:0;border:1px solid `,
|
|
9260
9414
|
`;border-radius:8px;`
|
|
9261
9415
|
], ({ theme }) => theme.colors.border.line);
|
|
9262
|
-
var ContractSpecificationRow =
|
|
9416
|
+
var ContractSpecificationRow = import_styled_components22.default.div.withConfig({
|
|
9263
9417
|
componentId: "sc-f78fec74-18"
|
|
9264
9418
|
})([
|
|
9265
9419
|
`display:grid;grid-template-columns:240px minmax(0,1fr);gap:24px;padding:11.5px 24px;font-family:var(--font-inter),Arial,Helvetica,sans-serif;font-size:16px;font-weight:500;line-height:22px;& + &{border-top:1px solid `,
|
|
@@ -9267,23 +9421,23 @@ var ContractSpecificationRow = import_styled_components23.default.div.withConfig
|
|
|
9267
9421
|
`;text-overflow:ellipsis;}dd{min-width:0;margin:0;color:`,
|
|
9268
9422
|
`;}p{margin:0;}@media (max-width:1199px){grid-template-columns:minmax(160px,0.7fr) minmax(0,1fr);gap:16px;padding:12px 16px;}@media (max-width:767px){grid-template-columns:minmax(110px,0.7fr) minmax(0,1fr);gap:16px;padding:12px 16px;font-size:14px;line-height:18px;}`
|
|
9269
9423
|
], ({ theme }) => theme.colors.border.line, ({ theme }) => theme.colors.text.secondary, ({ theme }) => theme.colors.text.primary);
|
|
9270
|
-
var QualityStandardSection =
|
|
9424
|
+
var QualityStandardSection = import_styled_components22.default.section.withConfig({
|
|
9271
9425
|
componentId: "sc-f78fec74-19"
|
|
9272
9426
|
})([
|
|
9273
9427
|
`display:flex;flex-direction:column;gap:12px;`
|
|
9274
9428
|
]);
|
|
9275
|
-
var QualityStandardIntro =
|
|
9429
|
+
var QualityStandardIntro = import_styled_components22.default.div.withConfig({
|
|
9276
9430
|
componentId: "sc-f78fec74-20"
|
|
9277
9431
|
})([
|
|
9278
9432
|
`display:flex;width:100%;flex-direction:column;gap:8px;`
|
|
9279
9433
|
]);
|
|
9280
|
-
var QualityStandardDescription =
|
|
9434
|
+
var QualityStandardDescription = import_styled_components22.default.div.withConfig({
|
|
9281
9435
|
componentId: "sc-f78fec74-21"
|
|
9282
9436
|
})([
|
|
9283
9437
|
`width:100%;color:`,
|
|
9284
9438
|
`;font-family:var(--font-inter),Arial,Helvetica,sans-serif;font-size:16px;font-weight:500;line-height:22px;p{margin:0;}@media (max-width:767px){font-size:14px;line-height:18px;}`
|
|
9285
9439
|
], ({ theme }) => theme.colors.text.secondary);
|
|
9286
|
-
var QualityStandardList =
|
|
9440
|
+
var QualityStandardList = import_styled_components22.default.div.withConfig({
|
|
9287
9441
|
componentId: "sc-f78fec74-22"
|
|
9288
9442
|
})([
|
|
9289
9443
|
`overflow:hidden;border:1px solid `,
|
|
@@ -9313,14 +9467,14 @@ var qualityStandardGrid = `
|
|
|
9313
9467
|
line-height: 18px;
|
|
9314
9468
|
}
|
|
9315
9469
|
`;
|
|
9316
|
-
var QualityStandardHeader =
|
|
9470
|
+
var QualityStandardHeader = import_styled_components22.default.div.withConfig({
|
|
9317
9471
|
componentId: "sc-f78fec74-23"
|
|
9318
9472
|
})([
|
|
9319
9473
|
``,
|
|
9320
9474
|
` color:`,
|
|
9321
9475
|
`;span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}`
|
|
9322
9476
|
], qualityStandardGrid, ({ theme }) => theme.colors.text.secondary);
|
|
9323
|
-
var QualityStandardRow =
|
|
9477
|
+
var QualityStandardRow = import_styled_components22.default.div.withConfig({
|
|
9324
9478
|
componentId: "sc-f78fec74-24"
|
|
9325
9479
|
})([
|
|
9326
9480
|
``,
|
|
@@ -9329,33 +9483,33 @@ var QualityStandardRow = import_styled_components23.default.div.withConfig({
|
|
|
9329
9483
|
`;span{min-width:0;}span:first-child{color:`,
|
|
9330
9484
|
`;}`
|
|
9331
9485
|
], qualityStandardGrid, ({ theme }) => theme.colors.border.line, ({ theme }) => theme.colors.text.primary, ({ theme }) => theme.colors.text.secondary);
|
|
9332
|
-
var RelatedProductsSection =
|
|
9486
|
+
var RelatedProductsSection = import_styled_components22.default.section.withConfig({
|
|
9333
9487
|
componentId: "sc-f78fec74-25"
|
|
9334
9488
|
})([
|
|
9335
9489
|
`display:flex;width:100%;min-width:0;flex-direction:column;gap:16px;`
|
|
9336
9490
|
]);
|
|
9337
|
-
var RelatedProductsHeading =
|
|
9491
|
+
var RelatedProductsHeading = import_styled_components22.default.h2.withConfig({
|
|
9338
9492
|
componentId: "sc-f78fec74-26"
|
|
9339
9493
|
})([
|
|
9340
9494
|
`width:100%;margin:0;color:`,
|
|
9341
9495
|
`;font-family:var(--font-inter),Arial,Helvetica,sans-serif;font-size:20px;font-weight:700;line-height:30px;`
|
|
9342
9496
|
], ({ theme }) => theme.colors.text.primary);
|
|
9343
|
-
var RelatedProductsList =
|
|
9497
|
+
var RelatedProductsList = import_styled_components22.default.div.withConfig({
|
|
9344
9498
|
componentId: "sc-f78fec74-27"
|
|
9345
9499
|
})([
|
|
9346
9500
|
`display:flex;width:100%;min-width:0;flex-direction:column;gap:16px;@media (max-width:768px){width:calc(100% + 16px);padding:0 16px 4px 0;overflow-x:auto;flex-direction:row;scroll-padding-right:16px;scroll-snap-type:x mandatory;scrollbar-width:none;touch-action:pan-x;&::-webkit-scrollbar{display:none;}}`
|
|
9347
9501
|
]);
|
|
9348
|
-
var RelatedProductCard =
|
|
9502
|
+
var RelatedProductCard = import_styled_components22.default.article.withConfig({
|
|
9349
9503
|
componentId: "sc-f78fec74-28"
|
|
9350
9504
|
})([
|
|
9351
9505
|
`display:flex;width:100%;align-items:center;gap:12px;@media (max-width:768px){width:min(278px,calc(100% - 32px));max-width:278px;flex:0 0 min(278px,calc(100% - 32px));scroll-snap-align:start;}`
|
|
9352
9506
|
]);
|
|
9353
|
-
var RelatedProductImageFrame =
|
|
9507
|
+
var RelatedProductImageFrame = import_styled_components22.default.div.withConfig({
|
|
9354
9508
|
componentId: "sc-f78fec74-29"
|
|
9355
9509
|
})([
|
|
9356
9510
|
`position:relative;width:136px;height:136px;flex:0 0 136px;`
|
|
9357
9511
|
]);
|
|
9358
|
-
var RelatedProductImage = (0,
|
|
9512
|
+
var RelatedProductImage = (0, import_styled_components22.default)(import_image7.default).withConfig({
|
|
9359
9513
|
componentId: "sc-f78fec74-30"
|
|
9360
9514
|
})([
|
|
9361
9515
|
`width:`,
|
|
@@ -9364,24 +9518,24 @@ var RelatedProductImage = (0, import_styled_components23.default)(import_image7.
|
|
|
9364
9518
|
` !important;right:auto !important;bottom:auto !important;left:`,
|
|
9365
9519
|
` !important;max-width:none;object-fit:contain;pointer-events:none;`
|
|
9366
9520
|
], ({ $size }) => $size, ({ $size }) => $size, ({ $top }) => $top, ({ $left }) => $left);
|
|
9367
|
-
var RelatedProductContent =
|
|
9521
|
+
var RelatedProductContent = import_styled_components22.default.div.withConfig({
|
|
9368
9522
|
componentId: "sc-f78fec74-31"
|
|
9369
9523
|
})([
|
|
9370
9524
|
`display:flex;min-width:0;flex:1 0 0;flex-direction:column;align-items:flex-start;gap:4px;@media (max-width:767px){gap:0px;}`
|
|
9371
9525
|
]);
|
|
9372
|
-
var RelatedProductTitle =
|
|
9526
|
+
var RelatedProductTitle = import_styled_components22.default.h3.withConfig({
|
|
9373
9527
|
componentId: "sc-f78fec74-32"
|
|
9374
9528
|
})([
|
|
9375
9529
|
`width:100%;margin:0;color:`,
|
|
9376
9530
|
`;font-family:var(--font-inter),Arial,Helvetica,sans-serif;font-size:20px;font-weight:700;line-height:30px;@media (max-width:767px){font-size:16px;line-height:22px;}`
|
|
9377
9531
|
], ({ theme }) => theme.colors.text.primary);
|
|
9378
|
-
var RelatedProductDescription =
|
|
9532
|
+
var RelatedProductDescription = import_styled_components22.default.p.withConfig({
|
|
9379
9533
|
componentId: "sc-f78fec74-33"
|
|
9380
9534
|
})([
|
|
9381
9535
|
`display:-webkit-box;width:100%;overflow:hidden;margin:0;color:`,
|
|
9382
9536
|
`;font-family:var(--font-inter),Arial,Helvetica,sans-serif;font-size:14px;font-weight:500;line-height:18px;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:3;@media (max-width:767px){font-size:12px;line-height:16px;}`
|
|
9383
9537
|
], ({ theme }) => theme.colors.text.secondary);
|
|
9384
|
-
var RelatedProductAction =
|
|
9538
|
+
var RelatedProductAction = import_styled_components22.default.a.withConfig({
|
|
9385
9539
|
componentId: "sc-f78fec74-34"
|
|
9386
9540
|
})([
|
|
9387
9541
|
`display:inline-flex;padding:4px 16px 4px 0;align-items:center;justify-content:center;gap:6px;border-radius:6px;color:`,
|
|
@@ -9389,7 +9543,7 @@ var RelatedProductAction = import_styled_components23.default.a.withConfig({
|
|
|
9389
9543
|
`;}&:focus-visible{outline:2px solid `,
|
|
9390
9544
|
`;outline-offset:2px;}@media (max-width:767px){font-size:12px;line-height:16px;}`
|
|
9391
9545
|
], ({ theme }) => theme.colors.accent.primary, ({ theme }) => theme.colors.action.primaryHover, ({ theme }) => theme.colors.accent.primary);
|
|
9392
|
-
var RelatedProductArrow =
|
|
9546
|
+
var RelatedProductArrow = import_styled_components22.default.span.withConfig({
|
|
9393
9547
|
componentId: "sc-f78fec74-35"
|
|
9394
9548
|
})([
|
|
9395
9549
|
`width:16px;height:16px;flex:0 0 16px;background:currentColor;mask:url("/icons/related-products-arrow.svg") center / contain no-repeat;-webkit-mask:url("/icons/related-products-arrow.svg") center / contain no-repeat;transition:transform 160ms ease;`,
|
|
@@ -9722,46 +9876,46 @@ var featuredArticles = articles.slice(0, 3).map((article) => ({
|
|
|
9722
9876
|
}));
|
|
9723
9877
|
|
|
9724
9878
|
// src/commodity-original/app/thong-tin-wikex/featured-style.ts
|
|
9725
|
-
var
|
|
9726
|
-
var FeaturedSection =
|
|
9879
|
+
var import_styled_components23 = __toESM(require("styled-components"));
|
|
9880
|
+
var FeaturedSection = import_styled_components23.default.section.withConfig({
|
|
9727
9881
|
componentId: "sc-7f318e93-0"
|
|
9728
9882
|
})([
|
|
9729
9883
|
`overflow:hidden;padding:60px 24px 40px;background:`,
|
|
9730
9884
|
`;@media (max-width:767px){padding:30px 0 20px;}`
|
|
9731
9885
|
], ({ theme }) => theme.colors.background.warm);
|
|
9732
|
-
var FeaturedInner =
|
|
9886
|
+
var FeaturedInner = import_styled_components23.default.div.withConfig({
|
|
9733
9887
|
componentId: "sc-7f318e93-1"
|
|
9734
9888
|
})([
|
|
9735
9889
|
`display:flex;width:min(1200px,100%);margin:0 auto;flex-direction:column;gap:32px;@media (max-width:767px){gap:24px;}`
|
|
9736
9890
|
]);
|
|
9737
|
-
var FeaturedTitle =
|
|
9891
|
+
var FeaturedTitle = import_styled_components23.default.h2.withConfig({
|
|
9738
9892
|
componentId: "sc-7f318e93-2"
|
|
9739
9893
|
})([
|
|
9740
9894
|
`margin:0;color:`,
|
|
9741
9895
|
`;font-family:var(--font-inter),Arial,Helvetica,sans-serif;font-size:24px;font-weight:600;line-height:36px;@media (max-width:767px){padding:0 16px;font-size:16px;line-height:22px;}`
|
|
9742
9896
|
], ({ theme }) => theme.colors.text.primary);
|
|
9743
|
-
var FeaturedCarousel =
|
|
9897
|
+
var FeaturedCarousel = import_styled_components23.default.div.withConfig({
|
|
9744
9898
|
componentId: "sc-7f318e93-3"
|
|
9745
9899
|
})([
|
|
9746
9900
|
`min-width:0;@media (max-width:767px){padding:0 16px;}`
|
|
9747
9901
|
]);
|
|
9748
|
-
var FeaturedViewport =
|
|
9902
|
+
var FeaturedViewport = import_styled_components23.default.div.withConfig({
|
|
9749
9903
|
componentId: "sc-7f318e93-4"
|
|
9750
9904
|
})([
|
|
9751
9905
|
`min-width:0;margin:-12px -16px -20px;overflow:hidden;padding:12px 16px 20px;&:focus-visible{outline:2px solid `,
|
|
9752
9906
|
`;outline-offset:-2px;}`
|
|
9753
9907
|
], ({ theme }) => theme.colors.accent.primary);
|
|
9754
|
-
var FeaturedTrack =
|
|
9908
|
+
var FeaturedTrack = import_styled_components23.default.div.withConfig({
|
|
9755
9909
|
componentId: "sc-7f318e93-5"
|
|
9756
9910
|
})([
|
|
9757
9911
|
`display:flex;width:100%;align-items:stretch;gap:32px;transition:transform 400ms ease;will-change:transform;@media (prefers-reduced-motion:reduce){transition:none;}`
|
|
9758
9912
|
]);
|
|
9759
|
-
var FeaturedSlide =
|
|
9913
|
+
var FeaturedSlide = import_styled_components23.default.div.withConfig({
|
|
9760
9914
|
componentId: "sc-7f318e93-6"
|
|
9761
9915
|
})([
|
|
9762
9916
|
`width:100%;min-width:100%;flex:0 0 100%;`
|
|
9763
9917
|
]);
|
|
9764
|
-
var FeaturedCard = (0,
|
|
9918
|
+
var FeaturedCard = (0, import_styled_components23.default)(BlogCard).withConfig({
|
|
9765
9919
|
componentId: "sc-7f318e93-7"
|
|
9766
9920
|
})([
|
|
9767
9921
|
`overflow:visible;height:100%;box-shadow:4px 4px 20px rgb(0 0 0 / 4%);&& `,
|
|
@@ -9777,17 +9931,17 @@ var FeaturedCard = (0, import_styled_components24.default)(BlogCard).withConfig(
|
|
|
9777
9931
|
`{font-size:16px;font-weight:700;line-height:22px;}&& `,
|
|
9778
9932
|
`{font-size:14px;line-height:18px;-webkit-line-clamp:2;}}`
|
|
9779
9933
|
], BlogCardImagePanel, BlogCardContent, BlogCardTitle, BlogCardDescription, BlogCardImagePanel, BlogCardContent, BlogCardImagePanel, BlogCardContent, BlogCardDate, BlogCardTitle, BlogCardDescription);
|
|
9780
|
-
var FeaturedControls =
|
|
9934
|
+
var FeaturedControls = import_styled_components23.default.nav.withConfig({
|
|
9781
9935
|
componentId: "sc-7f318e93-8"
|
|
9782
9936
|
})([
|
|
9783
9937
|
`display:flex;margin-top:24px;align-items:center;justify-content:center;gap:8px;`
|
|
9784
9938
|
]);
|
|
9785
|
-
var FeaturedDots =
|
|
9939
|
+
var FeaturedDots = import_styled_components23.default.div.withConfig({
|
|
9786
9940
|
componentId: "sc-7f318e93-9"
|
|
9787
9941
|
})([
|
|
9788
9942
|
`display:flex;height:4px;align-items:center;gap:6px;`
|
|
9789
9943
|
]);
|
|
9790
|
-
var FeaturedDot =
|
|
9944
|
+
var FeaturedDot = import_styled_components23.default.button.withConfig({
|
|
9791
9945
|
componentId: "sc-7f318e93-10"
|
|
9792
9946
|
})([
|
|
9793
9947
|
`position:relative;width:20px;height:24px;border:0;padding:0;background:transparent;cursor:pointer;&::before{position:absolute;height:4px;border-radius:2px;background:`,
|
|
@@ -9795,14 +9949,14 @@ var FeaturedDot = import_styled_components24.default.button.withConfig({
|
|
|
9795
9949
|
`;}&:focus-visible{outline:2px solid `,
|
|
9796
9950
|
`;outline-offset:2px;}`
|
|
9797
9951
|
], ({ theme }) => theme.colors.border.line, ({ theme }) => theme.colors.accent.primary, ({ theme }) => theme.colors.accent.primary);
|
|
9798
|
-
var FeaturedArrowButton =
|
|
9952
|
+
var FeaturedArrowButton = import_styled_components23.default.button.withConfig({
|
|
9799
9953
|
componentId: "sc-7f318e93-11"
|
|
9800
9954
|
})([
|
|
9801
9955
|
`display:none;width:24px;height:24px;align-items:center;justify-content:center;border:0;padding:0;color:`,
|
|
9802
9956
|
`;background:transparent;cursor:pointer;&:focus-visible{outline:2px solid `,
|
|
9803
9957
|
`;outline-offset:2px;}@media (max-width:767px){display:inline-flex;}`
|
|
9804
9958
|
], ({ theme }) => theme.colors.text.secondary, ({ theme }) => theme.colors.accent.primary);
|
|
9805
|
-
var FeaturedArrow =
|
|
9959
|
+
var FeaturedArrow = import_styled_components23.default.span.withConfig({
|
|
9806
9960
|
componentId: "sc-7f318e93-12"
|
|
9807
9961
|
})([
|
|
9808
9962
|
`width:24px;height:24px;background:currentColor;mask:url("/landing-assets/register-dropdown.svg") center / contain no-repeat;-webkit-mask:url("/landing-assets/register-dropdown.svg") center / contain no-repeat;transform:rotate(-90deg);&[data-direction="previous"]{transform:rotate(90deg);}`
|
|
@@ -9907,47 +10061,47 @@ function FeaturedArticles() {
|
|
|
9907
10061
|
var import_jsx_runtime32 = require("react/jsx-runtime");
|
|
9908
10062
|
var import_react20 = require("react");
|
|
9909
10063
|
var import_react_i18next13 = require("react-i18next");
|
|
9910
|
-
var
|
|
10064
|
+
var import_styled_components25 = __toESM(require("styled-components"));
|
|
9911
10065
|
|
|
9912
10066
|
// src/commodity-original/app/thong-tin-wikex/style.ts
|
|
9913
|
-
var
|
|
9914
|
-
var WikexInformationMain =
|
|
10067
|
+
var import_styled_components24 = __toESM(require("styled-components"));
|
|
10068
|
+
var WikexInformationMain = import_styled_components24.default.main.withConfig({
|
|
9915
10069
|
componentId: "sc-38414e6b-0"
|
|
9916
10070
|
})([
|
|
9917
10071
|
`min-height:calc(100vh - var(--header-height));background:`,
|
|
9918
10072
|
`;`
|
|
9919
10073
|
], ({ theme }) => theme.colors.background.warm);
|
|
9920
|
-
var WikexControls =
|
|
10074
|
+
var WikexControls = import_styled_components24.default.section.withConfig({
|
|
9921
10075
|
componentId: "sc-38414e6b-1"
|
|
9922
10076
|
})([
|
|
9923
10077
|
`padding:60px 24px 16px;@media (max-width:767px){padding:30px 16px 40px;}`
|
|
9924
10078
|
]);
|
|
9925
|
-
var WikexControlsInner =
|
|
10079
|
+
var WikexControlsInner = import_styled_components24.default.div.withConfig({
|
|
9926
10080
|
componentId: "sc-38414e6b-2"
|
|
9927
10081
|
})([
|
|
9928
10082
|
`display:flex;width:min(1200px,100%);gap:24px;margin:0 auto;align-items:center;justify-content:space-between;@media (max-width:1023px){flex-direction:column;align-items:stretch;}@media (max-width:767px){gap:16px;}`
|
|
9929
10083
|
]);
|
|
9930
|
-
var WikexTabs =
|
|
10084
|
+
var WikexTabs = import_styled_components24.default.div.withConfig({
|
|
9931
10085
|
componentId: "sc-38414e6b-3"
|
|
9932
10086
|
})([
|
|
9933
10087
|
`min-width:0;`
|
|
9934
10088
|
]);
|
|
9935
|
-
var WikexFilterControls =
|
|
10089
|
+
var WikexFilterControls = import_styled_components24.default.div.withConfig({
|
|
9936
10090
|
componentId: "sc-38414e6b-4"
|
|
9937
10091
|
})([
|
|
9938
10092
|
`display:flex;gap:8px;align-items:center;@media (max-width:767px){flex-wrap:wrap;}`
|
|
9939
10093
|
]);
|
|
9940
|
-
var WikexSearch =
|
|
10094
|
+
var WikexSearch = import_styled_components24.default.div.withConfig({
|
|
9941
10095
|
componentId: "sc-38414e6b-5"
|
|
9942
10096
|
})([
|
|
9943
10097
|
`width:261px;@media (max-width:767px){width:100%;flex-basis:100%;}`
|
|
9944
10098
|
]);
|
|
9945
|
-
var WikexDateRangePicker = (0,
|
|
10099
|
+
var WikexDateRangePicker = (0, import_styled_components24.default)(DateRangePicker).withConfig({
|
|
9946
10100
|
componentId: "sc-38414e6b-6"
|
|
9947
10101
|
})([
|
|
9948
10102
|
`width:262px;@media (max-width:767px){flex:1 1 220px;}`
|
|
9949
10103
|
]);
|
|
9950
|
-
var WikexResetButton =
|
|
10104
|
+
var WikexResetButton = import_styled_components24.default.button.withConfig({
|
|
9951
10105
|
componentId: "sc-38414e6b-7"
|
|
9952
10106
|
})([
|
|
9953
10107
|
`height:40px;padding:0 16px;border:1px solid `,
|
|
@@ -9959,22 +10113,22 @@ var WikexResetButton = import_styled_components25.default.button.withConfig({
|
|
|
9959
10113
|
`;outline-offset:2px;}@media (max-width:767px){height:36px;font-size:12px;line-height:16px;background:`,
|
|
9960
10114
|
`;}`
|
|
9961
10115
|
], ({ theme }) => theme.colors.border.subtle, ({ theme }) => theme.colors.text.primary, ({ theme }) => theme.colors.background.canvas, ({ theme }) => theme.colors.text.secondary, ({ theme }) => theme.colors.background.input, ({ theme }) => theme.colors.accent.primary, ({ theme }) => theme.colors.background.warm);
|
|
9962
|
-
var WikexSearchIcon =
|
|
10116
|
+
var WikexSearchIcon = import_styled_components24.default.span.withConfig({
|
|
9963
10117
|
componentId: "sc-38414e6b-8"
|
|
9964
10118
|
})([
|
|
9965
10119
|
`display:block;width:16px;height:16px;background:currentColor;mask:url("/icons/search.svg") center / contain no-repeat;-webkit-mask:url("/icons/search.svg") center / contain no-repeat;`
|
|
9966
10120
|
]);
|
|
9967
|
-
var WikexContent =
|
|
10121
|
+
var WikexContent = import_styled_components24.default.div.withConfig({
|
|
9968
10122
|
componentId: "sc-38414e6b-9"
|
|
9969
10123
|
})([
|
|
9970
10124
|
`width:min(1232px,100%);margin:0 auto;padding:22px 16px 80px;@media (max-width:767px){padding:0 16px 40px;}`
|
|
9971
10125
|
]);
|
|
9972
|
-
var WikexArticleGrid =
|
|
10126
|
+
var WikexArticleGrid = import_styled_components24.default.div.withConfig({
|
|
9973
10127
|
componentId: "sc-38414e6b-10"
|
|
9974
10128
|
})([
|
|
9975
10129
|
`display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:40px;@media (max-width:1023px){grid-template-columns:repeat(2,minmax(0,1fr));}@media (max-width:767px){grid-template-columns:1fr;gap:40px;}`
|
|
9976
10130
|
]);
|
|
9977
|
-
var WikexPagination =
|
|
10131
|
+
var WikexPagination = import_styled_components24.default.div.withConfig({
|
|
9978
10132
|
componentId: "sc-38414e6b-11"
|
|
9979
10133
|
})([
|
|
9980
10134
|
`margin-top:32px;@media (max-width:767px){margin-top:24px;}`
|
|
@@ -9982,7 +10136,7 @@ var WikexPagination = import_styled_components25.default.div.withConfig({
|
|
|
9982
10136
|
|
|
9983
10137
|
// src/commodity-original/app/thong-tin-wikex/WikexInformationSections.tsx
|
|
9984
10138
|
var articlesPerPage = 6;
|
|
9985
|
-
var InformationArticlesRoot =
|
|
10139
|
+
var InformationArticlesRoot = import_styled_components25.default.div.withConfig({
|
|
9986
10140
|
componentId: "sc-4dd7b1d6-0"
|
|
9987
10141
|
})([
|
|
9988
10142
|
`background:`,
|
|
@@ -10126,11 +10280,11 @@ var import_react_i18next14 = require("react-i18next");
|
|
|
10126
10280
|
// src/commodity-original/lib/app-theme-provider.tsx
|
|
10127
10281
|
var import_jsx_runtime33 = require("react/jsx-runtime");
|
|
10128
10282
|
var import_react21 = require("react");
|
|
10129
|
-
var
|
|
10283
|
+
var import_styled_components27 = require("styled-components");
|
|
10130
10284
|
|
|
10131
10285
|
// src/commodity-original/app/global-styles.tsx
|
|
10132
|
-
var
|
|
10133
|
-
var GlobalStyles = (0,
|
|
10286
|
+
var import_styled_components26 = require("styled-components");
|
|
10287
|
+
var GlobalStyles = (0, import_styled_components26.createGlobalStyle)([
|
|
10134
10288
|
`:root{color-scheme:light;--header-height:64px;--section-scroll-gap:12px;--color-background-canvas:`,
|
|
10135
10289
|
`;--color-background-card:`,
|
|
10136
10290
|
`;--color-background-deep:`,
|
|
@@ -10332,7 +10486,7 @@ function AppThemeProvider({ children }) {
|
|
|
10332
10486
|
style: {
|
|
10333
10487
|
display: "contents"
|
|
10334
10488
|
},
|
|
10335
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(
|
|
10489
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(import_styled_components27.ThemeProvider, {
|
|
10336
10490
|
theme: appTheme,
|
|
10337
10491
|
children: [
|
|
10338
10492
|
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)(global_styles_default, {}),
|
|
@@ -10655,15 +10809,15 @@ var import_link7 = __toESM(require("next/link.js"));
|
|
|
10655
10809
|
var import_navigation2 = require("next/navigation.js");
|
|
10656
10810
|
var import_lucide3 = require("lucide");
|
|
10657
10811
|
var import_react24 = require("morphicons/react");
|
|
10658
|
-
var
|
|
10812
|
+
var import_radix_ui4 = require("radix-ui");
|
|
10659
10813
|
|
|
10660
10814
|
// src/commodity-original/components/theme-toggle.tsx
|
|
10661
10815
|
var import_jsx_runtime36 = require("react/jsx-runtime");
|
|
10662
10816
|
var import_lucide2 = require("lucide");
|
|
10663
10817
|
var import_react22 = require("morphicons/react");
|
|
10664
|
-
var
|
|
10818
|
+
var import_styled_components28 = __toESM(require("styled-components"));
|
|
10665
10819
|
var import_react_i18next15 = require("react-i18next");
|
|
10666
|
-
var ToggleButton =
|
|
10820
|
+
var ToggleButton = import_styled_components28.default.button.withConfig({
|
|
10667
10821
|
componentId: "sc-5aced439-0"
|
|
10668
10822
|
})([
|
|
10669
10823
|
`position:absolute;top:20px;right:20px;display:inline-flex;width:44px;height:44px;align-items:center;justify-content:center;border:1px solid `,
|
|
@@ -10764,8 +10918,8 @@ function LanguageSwitcher({
|
|
|
10764
10918
|
const { t } = (0, import_react_i18next16.useTranslation)();
|
|
10765
10919
|
const triggerRef = (0, import_react23.useRef)(null);
|
|
10766
10920
|
const currentLanguage = languages.find((item) => item.value === language);
|
|
10767
|
-
return /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(
|
|
10768
|
-
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
|
|
10921
|
+
return /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(import_radix_ui4.DropdownMenu.Root, { children: [
|
|
10922
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_radix_ui4.DropdownMenu.Trigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
|
|
10769
10923
|
LanguageTrigger,
|
|
10770
10924
|
{
|
|
10771
10925
|
"aria-label": t("language.current", {
|
|
@@ -10777,7 +10931,7 @@ function LanguageSwitcher({
|
|
|
10777
10931
|
children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(LanguageIcon, {})
|
|
10778
10932
|
}
|
|
10779
10933
|
) }),
|
|
10780
|
-
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
|
|
10934
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_radix_ui4.DropdownMenu.Portal, { container: portalContainer, children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
|
|
10781
10935
|
LanguageMenuContent,
|
|
10782
10936
|
{
|
|
10783
10937
|
align: compact ? "end" : "start",
|
|
@@ -10789,7 +10943,7 @@ function LanguageSwitcher({
|
|
|
10789
10943
|
},
|
|
10790
10944
|
sideOffset: 4,
|
|
10791
10945
|
children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
|
|
10792
|
-
|
|
10946
|
+
import_radix_ui4.DropdownMenu.RadioGroup,
|
|
10793
10947
|
{
|
|
10794
10948
|
onValueChange: (value4) => onLanguageChange(value4),
|
|
10795
10949
|
value: language,
|
|
@@ -10947,13 +11101,13 @@ function Header() {
|
|
|
10947
11101
|
const isItemActive = "children" in item ? item.children.some((child) => isRouteActive(child.href)) : isRouteActive(item.href);
|
|
10948
11102
|
if ("children" in item) {
|
|
10949
11103
|
return /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(
|
|
10950
|
-
|
|
11104
|
+
import_radix_ui4.DropdownMenu.Root,
|
|
10951
11105
|
{
|
|
10952
11106
|
modal: false,
|
|
10953
11107
|
open: isDesktopProductsOpen,
|
|
10954
11108
|
onOpenChange: setIsDesktopProductsOpen,
|
|
10955
11109
|
children: [
|
|
10956
|
-
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
|
|
11110
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_radix_ui4.DropdownMenu.Trigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
|
|
10957
11111
|
ProductsMenuTrigger,
|
|
10958
11112
|
{
|
|
10959
11113
|
type: "button",
|
|
@@ -10962,7 +11116,7 @@ function Header() {
|
|
|
10962
11116
|
children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("span", { children: t(item.labelKey) })
|
|
10963
11117
|
}
|
|
10964
11118
|
) }),
|
|
10965
|
-
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
|
|
11119
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_radix_ui4.DropdownMenu.Portal, { container: portalContainer, children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
|
|
10966
11120
|
ProductsMenuContent,
|
|
10967
11121
|
{
|
|
10968
11122
|
align: "center",
|
|
@@ -10998,8 +11152,8 @@ function Header() {
|
|
|
10998
11152
|
}
|
|
10999
11153
|
) }),
|
|
11000
11154
|
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(MobileThemeToggle, { children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(ThemeToggle, { variant: "header" }) }),
|
|
11001
|
-
/* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(
|
|
11002
|
-
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
|
|
11155
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(import_radix_ui4.Dialog.Root, { open: isMenuOpen, onOpenChange: setIsMenuOpen, children: [
|
|
11156
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_radix_ui4.Dialog.Trigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
|
|
11003
11157
|
MobileMenuTrigger,
|
|
11004
11158
|
{
|
|
11005
11159
|
type: "button",
|
|
@@ -11017,7 +11171,7 @@ function Header() {
|
|
|
11017
11171
|
)
|
|
11018
11172
|
}
|
|
11019
11173
|
) }),
|
|
11020
|
-
/* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(
|
|
11174
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(import_radix_ui4.Dialog.Portal, { container: portalContainer, children: [
|
|
11021
11175
|
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(MobileDrawerOverlay, {}),
|
|
11022
11176
|
/* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(
|
|
11023
11177
|
MobileDrawerContent,
|
|
@@ -11163,7 +11317,7 @@ function Header() {
|
|
|
11163
11317
|
item.labelKey
|
|
11164
11318
|
);
|
|
11165
11319
|
}),
|
|
11166
|
-
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
|
|
11320
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_radix_ui4.Dialog.Close, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
|
|
11167
11321
|
"button",
|
|
11168
11322
|
{
|
|
11169
11323
|
className: "mobile-menu-login",
|
|
@@ -11233,8 +11387,8 @@ function Header() {
|
|
|
11233
11387
|
var import_image10 = __toESM(require("next/image.js"));
|
|
11234
11388
|
|
|
11235
11389
|
// src/commodity-original/components/Title/styled.ts
|
|
11236
|
-
var
|
|
11237
|
-
var TitleContainer =
|
|
11390
|
+
var import_styled_components29 = require("styled-components");
|
|
11391
|
+
var TitleContainer = import_styled_components29.styled.div.withConfig({
|
|
11238
11392
|
componentId: "sc-7d5a6c96-0"
|
|
11239
11393
|
})([
|
|
11240
11394
|
`text-align:center;margin-bottom:35px;h2,p{white-space:pre-line;}h2{color:#05080f;font-size:40px;font-weight:700;line-height:50px;margin-bottom:5px;margin-top:0;}p{color:#707580;font-size:20px;font-weight:600;line-height:26px;margin:0;}:root[data-theme="dark"] & h2{color:#f2f2f7;}:root[data-theme="dark"] & p{color:#aeaeb2;}@media (max-width:620px){margin-bottom:32px;p,h2{white-space:normal;}h2{font-size:24px;line-height:36px;margin-bottom:8px;}p{font-size:16px;line-height:22px;}}`
|
|
@@ -12231,20 +12385,20 @@ function DownloadSection() {
|
|
|
12231
12385
|
var import_react27 = require("react");
|
|
12232
12386
|
var import_lucide4 = require("lucide");
|
|
12233
12387
|
var import_react28 = require("morphicons/react");
|
|
12234
|
-
var
|
|
12388
|
+
var import_radix_ui5 = require("radix-ui");
|
|
12235
12389
|
var import_react_i18next21 = require("react-i18next");
|
|
12236
12390
|
var import_jsx_runtime44 = require("react/jsx-runtime");
|
|
12237
12391
|
function FaqItem({ question, answer, order }) {
|
|
12238
12392
|
const [isOpen, setIsOpen] = (0, import_react27.useState)(false);
|
|
12239
12393
|
return /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(
|
|
12240
|
-
|
|
12394
|
+
import_radix_ui5.Collapsible.Root,
|
|
12241
12395
|
{
|
|
12242
12396
|
className: "faq-item",
|
|
12243
12397
|
open: isOpen,
|
|
12244
12398
|
onOpenChange: setIsOpen,
|
|
12245
12399
|
style: { "--faq-order": order },
|
|
12246
12400
|
children: [
|
|
12247
|
-
/* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(
|
|
12401
|
+
/* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(import_radix_ui5.Collapsible.Trigger, { className: "faq-trigger", children: [
|
|
12248
12402
|
/* @__PURE__ */ (0, import_jsx_runtime44.jsx)("span", { children: question }),
|
|
12249
12403
|
/* @__PURE__ */ (0, import_jsx_runtime44.jsx)("span", { className: "faq-trigger-icon", "aria-hidden": "true", children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
|
|
12250
12404
|
import_react28.MorphIcon,
|
|
@@ -12257,7 +12411,7 @@ function FaqItem({ question, answer, order }) {
|
|
|
12257
12411
|
}
|
|
12258
12412
|
) })
|
|
12259
12413
|
] }),
|
|
12260
|
-
/* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
|
|
12414
|
+
/* @__PURE__ */ (0, import_jsx_runtime44.jsx)(import_radix_ui5.Collapsible.Content, { className: "faq-content", forceMount: true, children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("div", { className: "faq-content-clip", children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("div", { className: "faq-answer", children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("p", { children: answer }) }) }) })
|
|
12261
12415
|
]
|
|
12262
12416
|
}
|
|
12263
12417
|
);
|
|
@@ -12293,9 +12447,9 @@ var import_react_i18next23 = require("react-i18next");
|
|
|
12293
12447
|
// src/commodity-original/components/Background/index.tsx
|
|
12294
12448
|
var import_jsx_runtime45 = require("react/jsx-runtime");
|
|
12295
12449
|
var import_react29 = require("react");
|
|
12296
|
-
var
|
|
12450
|
+
var import_styled_components30 = require("styled-components");
|
|
12297
12451
|
var TWO_PI = Math.PI * 2;
|
|
12298
|
-
var DotContainer =
|
|
12452
|
+
var DotContainer = import_styled_components30.styled.div.withConfig({
|
|
12299
12453
|
componentId: "sc-8dc7adc4-0"
|
|
12300
12454
|
})([
|
|
12301
12455
|
`position:absolute;top:-130px;left:-200px;width:50%;height:100%;border-radius:20%;overflow:hidden;pointer-events:none;`
|
|
@@ -12910,11 +13064,11 @@ function HeroSection2() {
|
|
|
12910
13064
|
var import_jsx_runtime48 = require("react/jsx-runtime");
|
|
12911
13065
|
var import_image14 = __toESM(require("next/image.js"));
|
|
12912
13066
|
var import_react_i18next24 = require("react-i18next");
|
|
12913
|
-
var
|
|
12914
|
-
var floatingActionWave = (0,
|
|
13067
|
+
var import_styled_components31 = __toESM(require("styled-components"));
|
|
13068
|
+
var floatingActionWave = (0, import_styled_components31.keyframes)([
|
|
12915
13069
|
`0%{opacity:0;transform:scale(0);}50%{opacity:0.2;transform:scale(1);}70%{opacity:0.4;transform:scale(1.1);}100%{opacity:0;transform:scale(1.15);}`
|
|
12916
13070
|
]);
|
|
12917
|
-
var FloatingActionsRoot =
|
|
13071
|
+
var FloatingActionsRoot = import_styled_components31.default.aside.withConfig({
|
|
12918
13072
|
componentId: "sc-613f53f5-0"
|
|
12919
13073
|
})([
|
|
12920
13074
|
`position:fixed;z-index:90;right:0;bottom:0;display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding:20px 15px;.floating-action{--floating-action-pulse:249 187 58;position:relative;display:flex;width:68px;height:68px;align-items:center;justify-content:center;border-radius:99px;padding:8px;transition:transform 160ms ease;}.floating-action::before,.floating-action-ring::before{--floating-action-halo-opacity:0.22;position:absolute;border-radius:inherit;background:rgb(var(--floating-action-pulse));content:"";inset:0;opacity:0;pointer-events:none;transform:scale(0);transform-origin:center;will-change:transform,opacity;animation:`,
|