@enyxs/wikex-components 0.11.9 → 0.11.14
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 +17 -1
- 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 +3 -31
- package/dist/index.d.ts +3 -31
- package/dist/index.js +1179 -1086
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2051 -1958
- package/dist/index.mjs.map +1 -1
- package/package.json +11 -1
package/dist/index.js
CHANGED
|
@@ -3599,48 +3599,48 @@ var dropOut = (0, import_styled_components.keyframes)([
|
|
|
3599
3599
|
`from{opacity:1;transform:translateY(0);}to{opacity:0;transform:translateY(-12px);}`
|
|
3600
3600
|
]);
|
|
3601
3601
|
var HeaderShell = import_styled_components.default.header.withConfig({
|
|
3602
|
-
componentId: "sc-
|
|
3602
|
+
componentId: "sc-5ada3506-0"
|
|
3603
3603
|
})([
|
|
3604
3604
|
`position:sticky;top:0;z-index:100;display:flex;height:64px;padding:12px 20px;align-items:center;justify-content:center;background:`,
|
|
3605
3605
|
`;box-shadow:0 1px 12px rgb(0 0 0 / 4%);:root[data-theme="dark"] &{background:#18181a;}@media (max-width:768px){padding-inline:15px;}@media (max-width:620px){height:62px;padding:16px 16px 12px;box-shadow:0 1px 0 rgb(5 8 15 / 8%);}`
|
|
3606
3606
|
], ({ theme }) => theme.colors.background.canvas);
|
|
3607
3607
|
var HeaderInner = import_styled_components.default.div.withConfig({
|
|
3608
|
-
componentId: "sc-
|
|
3608
|
+
componentId: "sc-5ada3506-1"
|
|
3609
3609
|
})([
|
|
3610
3610
|
`display:flex;width:100%;max-width:1560px;height:40px;margin:0 auto;align-items:center;gap:32px;@media (max-width:1279px){justify-content:space-between;}@media only screen and (max-width:767px){gap:0;}@media (max-width:620px){height:34px;justify-content:space-between;}`
|
|
3611
3611
|
]);
|
|
3612
3612
|
var BrandGroup = import_styled_components.default.div.withConfig({
|
|
3613
|
-
componentId: "sc-
|
|
3613
|
+
componentId: "sc-5ada3506-2"
|
|
3614
3614
|
})([
|
|
3615
3615
|
`display:flex;flex:0 0 auto;align-items:center;gap:16px;`
|
|
3616
3616
|
]);
|
|
3617
3617
|
var WikiBrand = (0, import_styled_components.default)(import_link.default).withConfig({
|
|
3618
|
-
componentId: "sc-
|
|
3618
|
+
componentId: "sc-5ada3506-3"
|
|
3619
3619
|
})([
|
|
3620
3620
|
`display:inline-flex;flex:0 0 auto;align-items:center;`
|
|
3621
3621
|
]);
|
|
3622
3622
|
var WikiLogo = (0, import_styled_components.default)(import_image.default).withConfig({
|
|
3623
|
-
componentId: "sc-
|
|
3623
|
+
componentId: "sc-5ada3506-4"
|
|
3624
3624
|
})([
|
|
3625
|
-
`display:block;width:
|
|
3625
|
+
`display:block;width:142px;height:auto;@media (max-width:620px){width:84px;}`
|
|
3626
3626
|
]);
|
|
3627
3627
|
var PartnerBrand = import_styled_components.default.a.withConfig({
|
|
3628
|
-
componentId: "sc-
|
|
3628
|
+
componentId: "sc-5ada3506-5"
|
|
3629
3629
|
})([
|
|
3630
3630
|
`display:inline-flex;align-items:center;gap:7.2px;color:#009ee3;@media (max-width:767px){display:inline-flex;}`
|
|
3631
3631
|
]);
|
|
3632
3632
|
var MxvLogo = (0, import_styled_components.default)(import_image.default).withConfig({
|
|
3633
|
-
componentId: "sc-
|
|
3633
|
+
componentId: "sc-5ada3506-6"
|
|
3634
3634
|
})([
|
|
3635
3635
|
`display:block;width:95px;height:auto;:root[data-theme="dark"] &{filter:brightness(0) invert(1);}@media (max-width:620px){width:95px;}`
|
|
3636
3636
|
]);
|
|
3637
3637
|
var DesktopNavigation = import_styled_components.default.nav.withConfig({
|
|
3638
|
-
componentId: "sc-
|
|
3638
|
+
componentId: "sc-5ada3506-7"
|
|
3639
3639
|
})([
|
|
3640
3640
|
`display:flex;align-items:center;gap:16px;@media (max-width:1279px){display:none;}`
|
|
3641
3641
|
]);
|
|
3642
3642
|
var NavigationLink = (0, import_styled_components.default)(import_link.default).withConfig({
|
|
3643
|
-
componentId: "sc-
|
|
3643
|
+
componentId: "sc-5ada3506-8"
|
|
3644
3644
|
})([
|
|
3645
3645
|
`position:relative;color:`,
|
|
3646
3646
|
`;font-size:14px;font-weight:700;line-height:18px;white-space:nowrap;transition:color 160ms ease;&:hover,&:focus-visible{color:`,
|
|
@@ -3648,14 +3648,14 @@ var NavigationLink = (0, import_styled_components.default)(import_link.default).
|
|
|
3648
3648
|
`;}@media (min-width:1280px) and (max-width:1439px){font-size:11px;}`
|
|
3649
3649
|
], ({ theme }) => theme.colors.text.secondary, ({ theme }) => theme.colors.text.primary, ({ theme }) => theme.colors.accent.primary);
|
|
3650
3650
|
var ProductsMenuTrigger = import_styled_components.default.button.withConfig({
|
|
3651
|
-
componentId: "sc-
|
|
3651
|
+
componentId: "sc-5ada3506-9"
|
|
3652
3652
|
})([
|
|
3653
3653
|
`display:inline-flex;align-items:center;gap:4px;padding:0;border:0;color:`,
|
|
3654
3654
|
`;background:transparent;cursor:pointer;font-family:inherit;font-size:14px;font-weight:700;line-height:18px;white-space:nowrap;&[data-state="open"],&[data-active="true"],&:hover,&:focus-visible{color:`,
|
|
3655
3655
|
`;}&:focus-visible{outline:none;}&::after{content:"";border-inline:3px solid transparent;border-top:4px solid currentColor;transition:transform 160ms ease;}&[data-state="open"]::after{transform:rotate(180deg);}@media (min-width:1280px) and (max-width:1439px){font-size:11px;}@media (prefers-reduced-motion:reduce){&::after{transition:none;}}`
|
|
3656
3656
|
], ({ theme }) => theme.colors.text.secondary, ({ theme }) => theme.colors.accent.primary);
|
|
3657
3657
|
var ProductsMenuContent = (0, import_styled_components.default)(import_radix_ui.DropdownMenu.Content).withConfig({
|
|
3658
|
-
componentId: "sc-
|
|
3658
|
+
componentId: "sc-5ada3506-10"
|
|
3659
3659
|
})([
|
|
3660
3660
|
`z-index:300;width:206px;max-width:var(--radix-dropdown-menu-content-available-width);padding:8px;border:1px solid `,
|
|
3661
3661
|
`;border-radius:8px;color:`,
|
|
@@ -3665,42 +3665,42 @@ var ProductsMenuContent = (0, import_styled_components.default)(import_radix_ui.
|
|
|
3665
3665
|
`;}`
|
|
3666
3666
|
], ({ theme }) => theme.colors.border.line, ({ theme }) => theme.colors.text.primary, ({ theme }) => theme.colors.background.popup, ({ theme }) => theme.colors.effect.popupShadow, ({ theme }) => theme.colors.border.subtle);
|
|
3667
3667
|
var ProductsMenuItem = (0, import_styled_components.default)(import_radix_ui.DropdownMenu.Item).withConfig({
|
|
3668
|
-
componentId: "sc-
|
|
3668
|
+
componentId: "sc-5ada3506-11"
|
|
3669
3669
|
})([
|
|
3670
3670
|
`display:flex;height:44px;align-items:center;padding:12px 8px;border-radius:4px;cursor:pointer;font-size:14px;font-weight:400;line-height:18px;outline:none;color:inherit;text-decoration:none;&[aria-current="page"],&[data-highlighted],&:focus-visible{color:`,
|
|
3671
3671
|
`;background:transparent;outline:none;}`
|
|
3672
3672
|
], ({ theme }) => theme.colors.accent.primary);
|
|
3673
3673
|
var MobileNavigation2 = import_styled_components.default.div.withConfig({
|
|
3674
|
-
componentId: "sc-
|
|
3674
|
+
componentId: "sc-5ada3506-12"
|
|
3675
3675
|
})([
|
|
3676
3676
|
`position:relative;display:none;align-items:center;gap:8px;@media (max-width:1279px){display:flex;}@media (max-width:767px){order:3;margin-left:auto;}@media (max-width:620px){gap:2px;}`
|
|
3677
3677
|
]);
|
|
3678
3678
|
var MobileThemeToggle = import_styled_components.default.div.withConfig({
|
|
3679
|
-
componentId: "sc-
|
|
3679
|
+
componentId: "sc-5ada3506-13"
|
|
3680
3680
|
})([
|
|
3681
3681
|
`display:none;align-items:center;@media (max-width:767px){display:flex;}@media (max-width:620px){&& .theme-toggle--header{border-radius:4px;svg{width:20px;height:20px;}}}`
|
|
3682
3682
|
]);
|
|
3683
3683
|
var MobileLanguageToggle = import_styled_components.default.div.withConfig({
|
|
3684
|
-
componentId: "sc-
|
|
3684
|
+
componentId: "sc-5ada3506-14"
|
|
3685
3685
|
})([
|
|
3686
3686
|
`display:none;align-items:center;@media (max-width:767px){display:flex;}`
|
|
3687
3687
|
]);
|
|
3688
3688
|
var MobileMenuTrigger = import_styled_components.default.button.withConfig({
|
|
3689
|
-
componentId: "sc-
|
|
3689
|
+
componentId: "sc-5ada3506-15"
|
|
3690
3690
|
})([
|
|
3691
3691
|
`display:inline-flex;width:42px;height:42px;align-items:center;justify-content:center;border:0;border-radius:9999px;color:`,
|
|
3692
3692
|
`;background:transparent;cursor:pointer;transition:background-color 160ms ease;&:hover,&[data-state="open"]{background:`,
|
|
3693
3693
|
`;}@media (max-width:620px){width:24px;height:24px;border-radius:4px;svg{flex-shrink:0;}}`
|
|
3694
3694
|
], ({ theme }) => theme.colors.text.primary, ({ theme }) => theme.colors.background.hover);
|
|
3695
3695
|
var MobileDrawerOverlay = (0, import_styled_components.default)(import_radix_ui.Dialog.Overlay).withConfig({
|
|
3696
|
-
componentId: "sc-
|
|
3696
|
+
componentId: "sc-5ada3506-16"
|
|
3697
3697
|
})([
|
|
3698
3698
|
`position:fixed;z-index:200;inset:0;background:rgb(0 0 0 / 48%);backdrop-filter:blur(2px);&[data-state="open"]{animation:`,
|
|
3699
3699
|
` 220ms ease-out;}&[data-state="closed"]{animation:`,
|
|
3700
3700
|
` 180ms ease-in;}@media (prefers-reduced-motion:reduce){animation:none;}@media (max-width:767px){top:var(--header-height);background:rgb(5 8 16 / 40%);backdrop-filter:blur(5px);}`
|
|
3701
3701
|
], fadeIn, fadeOut);
|
|
3702
3702
|
var MobileDrawerContent = (0, import_styled_components.default)(import_radix_ui.Dialog.Content).withConfig({
|
|
3703
|
-
componentId: "sc-
|
|
3703
|
+
componentId: "sc-5ada3506-17"
|
|
3704
3704
|
})([
|
|
3705
3705
|
`position:fixed;z-index:201;top:0;right:0;width:320px;max-width:calc(100% - 24px);height:100vh;padding:20px;overflow-y:auto;color:`,
|
|
3706
3706
|
`;background:`,
|
|
@@ -3711,29 +3711,29 @@ var MobileDrawerContent = (0, import_styled_components.default)(import_radix_ui.
|
|
|
3711
3711
|
` 180ms ease-in;}}`
|
|
3712
3712
|
], ({ theme }) => theme.colors.text.primary, ({ theme }) => theme.colors.background.canvas, slideIn, slideOut, dropIn, dropOut);
|
|
3713
3713
|
var MobileDrawerHeader = import_styled_components.default.div.withConfig({
|
|
3714
|
-
componentId: "sc-
|
|
3714
|
+
componentId: "sc-5ada3506-18"
|
|
3715
3715
|
})([
|
|
3716
3716
|
`display:flex;min-height:44px;margin-bottom:24px;align-items:center;justify-content:space-between;gap:16px;@media (max-width:767px){display:none;}`
|
|
3717
3717
|
]);
|
|
3718
3718
|
var MobileDrawerTitle = (0, import_styled_components.default)(import_radix_ui.Dialog.Title).withConfig({
|
|
3719
|
-
componentId: "sc-
|
|
3719
|
+
componentId: "sc-5ada3506-19"
|
|
3720
3720
|
})([
|
|
3721
3721
|
`margin:0;font-size:20px;font-weight:700;line-height:28px;`
|
|
3722
3722
|
]);
|
|
3723
3723
|
var MobileDrawerClose = (0, import_styled_components.default)(import_radix_ui.Dialog.Close).withConfig({
|
|
3724
|
-
componentId: "sc-
|
|
3724
|
+
componentId: "sc-5ada3506-20"
|
|
3725
3725
|
})([
|
|
3726
3726
|
`display:inline-flex;width:40px;height:40px;flex:0 0 40px;align-items:center;justify-content:center;border:0;border-radius:50%;color:`,
|
|
3727
3727
|
`;background:transparent;cursor:pointer;&:hover{background:`,
|
|
3728
3728
|
`;}`
|
|
3729
3729
|
], ({ theme }) => theme.colors.text.primary, ({ theme }) => theme.colors.background.hover);
|
|
3730
3730
|
var MobileDrawerActions = import_styled_components.default.div.withConfig({
|
|
3731
|
-
componentId: "sc-
|
|
3731
|
+
componentId: "sc-5ada3506-21"
|
|
3732
3732
|
})([
|
|
3733
3733
|
`display:none;@media (max-width:767px){display:grid;width:100%;margin-bottom:8px;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}`
|
|
3734
3734
|
]);
|
|
3735
3735
|
var MobileMenuPanel = import_styled_components.default.nav.withConfig({
|
|
3736
|
-
componentId: "sc-
|
|
3736
|
+
componentId: "sc-5ada3506-22"
|
|
3737
3737
|
})([
|
|
3738
3738
|
`display:flex;flex-direction:column;gap:6px;a,button{width:100%;border:0;display:flex;border-radius:8px;padding:14px 12px;color:`,
|
|
3739
3739
|
`;background:transparent;cursor:pointer;font-family:inherit;font-size:14px;font-weight:600;text-align:left;transition:color 160ms ease,background-color 160ms ease;}a:hover,a:focus-visible,button:not(:disabled):hover,button:not(:disabled):focus-visible{color:`,
|
|
@@ -3742,72 +3742,72 @@ var MobileMenuPanel = import_styled_components.default.nav.withConfig({
|
|
|
3742
3742
|
`;}.mobile-menu-submenu a{padding-left:28px;font-size:13px;font-weight:500;}.mobile-products-chevron{display:inline-flex;transition:transform 160ms ease;}.mobile-menu-accordion-trigger[aria-expanded="true"] .mobile-products-chevron{transform:rotate(180deg);}@media (max-width:767px){gap:0;a,button{display:flex;min-height:42px;align-items:center;justify-content:space-between;padding:12px 0;font-weight:700;line-height:18px;}a[data-accent="true"]{color:#f9bb3a;}.mobile-menu-submenu a{min-height:34px;padding:7px 0 7px 20px;font-size:14px;font-weight:500;}.mobile-menu-login{display:none;}svg{width:18px;height:18px;flex:0 0 18px;}}@media (prefers-reduced-motion:reduce){.mobile-products-chevron{transition:none;}}`
|
|
3743
3743
|
], ({ theme }) => theme.colors.text.secondary, ({ theme }) => theme.colors.text.primary, ({ theme }) => theme.colors.background.hover, ({ theme }) => theme.colors.accent.primary);
|
|
3744
3744
|
var RightActions = import_styled_components.default.div.withConfig({
|
|
3745
|
-
componentId: "sc-
|
|
3745
|
+
componentId: "sc-5ada3506-23"
|
|
3746
3746
|
})([
|
|
3747
3747
|
`display:flex;margin-left:auto;align-items:center;gap:12px;& > div{display:flex;align-items:center;gap:8px;}@media (max-width:1279px){display:none;}`
|
|
3748
3748
|
]);
|
|
3749
3749
|
var IconButton2 = import_styled_components.default.button.withConfig({
|
|
3750
|
-
componentId: "sc-
|
|
3750
|
+
componentId: "sc-5ada3506-24"
|
|
3751
3751
|
})([
|
|
3752
3752
|
`display:inline-flex;width:36px;height:36px;flex:0 0 auto;align-items:center;justify-content:center;border:0;border-radius:8px;color:`,
|
|
3753
3753
|
`;background:transparent;cursor:pointer;transition:background-color 160ms ease;svg{width:24px;height:24px;}&:hover{background:`,
|
|
3754
3754
|
`;}@media (max-width:480px){display:none;}`
|
|
3755
3755
|
], ({ theme }) => theme.colors.text.primary, ({ theme }) => theme.colors.background.hover);
|
|
3756
3756
|
var LanguageTrigger = (0, import_styled_components.default)(IconButton2).withConfig({
|
|
3757
|
-
componentId: "sc-
|
|
3757
|
+
componentId: "sc-5ada3506-25"
|
|
3758
3758
|
})([
|
|
3759
3759
|
`&[data-state="open"]{color:#f9bb3a;background:`,
|
|
3760
3760
|
`;}@media (max-width:767px){display:inline-flex;}@media (max-width:620px){border-radius:4px;svg{width:20px;height:20px;flex-shrink:0;}}`
|
|
3761
3761
|
], ({ theme }) => theme.colors.background.hover);
|
|
3762
3762
|
var LanguageMenuContent = (0, import_styled_components.default)(import_radix_ui.DropdownMenu.Content).withConfig({
|
|
3763
|
-
componentId: "sc-
|
|
3763
|
+
componentId: "sc-5ada3506-26"
|
|
3764
3764
|
})([
|
|
3765
3765
|
`z-index:300;width:180px;padding:8px;border:1px solid #e6e7ea;border-radius:12px;color:#05080f;background:#f9fafb;box-shadow:0 4px 8px rgb(5 8 16 / 5%);outline:none;transform-origin:var(--radix-dropdown-menu-content-transform-origin);&[data-state="open"]{animation:`,
|
|
3766
3766
|
` 140ms ease-out;}&[data-state="closed"]{animation:`,
|
|
3767
3767
|
` 100ms ease-in;}:root[data-theme="dark"] &{border-color:#48484a;color:#f2f2f7;background:#2c2c2e;box-shadow:0 4px 12px rgb(0 0 0 / 24%);}&[data-compact="true"]{width:148px;padding:6px;}@media (prefers-reduced-motion:reduce){animation:none;}`
|
|
3768
3768
|
], fadeIn, fadeOut);
|
|
3769
3769
|
var LanguageMenuItem = (0, import_styled_components.default)(import_radix_ui.DropdownMenu.RadioItem).withConfig({
|
|
3770
|
-
componentId: "sc-
|
|
3770
|
+
componentId: "sc-5ada3506-27"
|
|
3771
3771
|
})([
|
|
3772
3772
|
`display:flex;width:100%;height:46px;padding:12px 8px;align-items:center;gap:8px;border-radius:8px;cursor:pointer;font-size:16px;font-weight:500;line-height:22px;outline:none;user-select:none;&[data-highlighted]{background:#f1f2f4;}:root[data-theme="dark"] &[data-highlighted]{background:#3a3a3c;}`,
|
|
3773
3773
|
`[data-compact="true"] &{height:40px;padding:10px 6px;font-size:14px;line-height:18px;}`
|
|
3774
3774
|
], LanguageMenuContent);
|
|
3775
3775
|
var LanguageFlag = import_styled_components.default.span.withConfig({
|
|
3776
|
-
componentId: "sc-
|
|
3776
|
+
componentId: "sc-5ada3506-28"
|
|
3777
3777
|
})([
|
|
3778
3778
|
`display:inline-flex;width:20px;height:20px;flex:0 0 20px;overflow:hidden;align-items:center;justify-content:center;border-radius:50%;img{width:100%;height:100%;max-width:none;object-fit:cover;}`
|
|
3779
3779
|
]);
|
|
3780
3780
|
var LanguageItemIndicator = (0, import_styled_components.default)(import_radix_ui.DropdownMenu.ItemIndicator).withConfig({
|
|
3781
|
-
componentId: "sc-
|
|
3781
|
+
componentId: "sc-5ada3506-29"
|
|
3782
3782
|
})([
|
|
3783
3783
|
`display:inline-flex;width:18px;height:18px;margin-left:auto;flex:0 0 18px;align-items:center;justify-content:center;img{display:block;width:18px;height:18px;}`,
|
|
3784
3784
|
`[data-compact="true"] &,`,
|
|
3785
3785
|
`[data-compact="true"] & img{width:16px;height:16px;flex-basis:16px;}`
|
|
3786
3786
|
], LanguageMenuContent, LanguageMenuContent);
|
|
3787
3787
|
var ActionDivider = import_styled_components.default.span.withConfig({
|
|
3788
|
-
componentId: "sc-
|
|
3788
|
+
componentId: "sc-5ada3506-30"
|
|
3789
3789
|
})([
|
|
3790
3790
|
`width:1px;height:16px;background:`,
|
|
3791
3791
|
`;@media (max-width:608px){display:none;}`
|
|
3792
3792
|
], ({ theme }) => theme.colors.border.line);
|
|
3793
3793
|
var LoginLink = import_styled_components.default.button.withConfig({
|
|
3794
|
-
componentId: "sc-
|
|
3794
|
+
componentId: "sc-5ada3506-31"
|
|
3795
3795
|
})([
|
|
3796
3796
|
`display:inline-flex;height:40px;align-items:center;justify-content:center;border:1px solid #d2d5da;border-radius:6px;padding:0 16px;color:#05080f;background:transparent;font-size:14px;font-weight:700;line-height:18px;white-space:nowrap;transition:background-color 160ms ease,border-color 160ms ease;:root[data-theme="dark"] &{color:#fafafa;}&:not(:disabled):hover{background:`,
|
|
3797
3797
|
`;}&:disabled{cursor:not-allowed;opacity:0.55;}@media (max-width:608px){display:none;}`
|
|
3798
3798
|
], ({ theme }) => theme.colors.background.hover);
|
|
3799
3799
|
var OpenAccountButton = (0, import_styled_components.default)(Button_default).withConfig({
|
|
3800
|
-
componentId: "sc-
|
|
3800
|
+
componentId: "sc-5ada3506-32"
|
|
3801
3801
|
})([
|
|
3802
3802
|
`width:120px;height:40px;min-height:40px;border-radius:6px;padding:0;box-shadow:0 1px 20px rgb(249 187 58 / 60%);font-family:var(--font-inter),sans-serif;font-size:14px;font-weight:600;line-height:22px;white-space:nowrap;&:hover{&::before{opacity:0.8;}}&::before{content:"";position:absolute;left:50%;bottom:0;margin-left:-49px;width:98px;height:22px;background:#ffe492;filter:blur(10px);pointer-events:none;opacity:0;transition:opacity 0.15s linear;}@media (max-width:767px){display:none;}`
|
|
3803
3803
|
]);
|
|
3804
3804
|
var MobileDrawerLoginButton = (0, import_styled_components.default)(LoginLink).withConfig({
|
|
3805
|
-
componentId: "sc-
|
|
3805
|
+
componentId: "sc-5ada3506-33"
|
|
3806
3806
|
})([
|
|
3807
3807
|
`display:none;@media (max-width:767px){display:inline-flex;width:100%;min-width:0;padding-inline:12px;&:disabled{opacity:1;}}`
|
|
3808
3808
|
]);
|
|
3809
3809
|
var MobileDrawerOpenAccountButton = (0, import_styled_components.default)(OpenAccountButton).withConfig({
|
|
3810
|
-
componentId: "sc-
|
|
3810
|
+
componentId: "sc-5ada3506-34"
|
|
3811
3811
|
})([
|
|
3812
3812
|
`display:none;@media (max-width:767px){display:flex;width:100%;min-width:0;}`
|
|
3813
3813
|
]);
|
|
@@ -3921,14 +3921,14 @@ 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_Select = __toESM(require("@mui/material/Select"));
|
|
3930
|
+
var import_MenuItem = __toESM(require("@mui/material/MenuItem"));
|
|
3931
|
+
var import_Checkbox = __toESM(require("@mui/material/Checkbox"));
|
|
3932
3932
|
|
|
3933
3933
|
// src/commodity-original/lib/responsive-provider.tsx
|
|
3934
3934
|
var import_react7 = require("react");
|
|
@@ -4070,691 +4070,495 @@ function CmsImageAction({
|
|
|
4070
4070
|
}
|
|
4071
4071
|
|
|
4072
4072
|
// 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
|
-
children: [
|
|
4122
|
-
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)(import_radix_ui2.Select.ItemText, {
|
|
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
|
-
});
|
|
4073
|
+
var import_jsx_runtime10 = require("react/jsx-runtime");
|
|
4074
|
+
var registerSelectSx = {
|
|
4075
|
+
"&&": { padding: 0, minWidth: 0, fontFamily: "inherit", fontSize: 14 },
|
|
4076
|
+
"& .MuiSelect-select": { py: 0, pl: 2, pr: 5, height: "100%", minHeight: "0 !important", display: "flex", alignItems: "center" },
|
|
4077
|
+
"& .MuiOutlinedInput-notchedOutline": { border: 0 },
|
|
4078
|
+
"&.Mui-focused": { borderColor: "#f9bb3a", boxShadow: "0 0 0 3px rgb(249 187 58 / 20%)" }
|
|
4079
|
+
};
|
|
4080
|
+
var registerMenuProps = (container) => ({
|
|
4081
|
+
container,
|
|
4082
|
+
slotProps: {
|
|
4083
|
+
paper: {
|
|
4084
|
+
...{ "data-lenis-prevent": true },
|
|
4085
|
+
sx: { mt: 0.75, maxHeight: 280 }
|
|
4086
|
+
},
|
|
4087
|
+
list: { dense: true }
|
|
4088
|
+
}
|
|
4089
|
+
});
|
|
4090
|
+
function RegisterSelect({
|
|
4091
|
+
ariaLabel,
|
|
4092
|
+
defaultValue = "",
|
|
4093
|
+
name,
|
|
4094
|
+
options,
|
|
4095
|
+
placeholder
|
|
4096
|
+
}) {
|
|
4097
|
+
const root = (0, import_react9.useRef)(null);
|
|
4098
|
+
const [value4, setValue] = (0, import_react9.useState)(defaultValue);
|
|
4099
|
+
return /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)(
|
|
4100
|
+
import_Select.default,
|
|
4101
|
+
{
|
|
4102
|
+
ref: root,
|
|
4103
|
+
name,
|
|
4104
|
+
value: value4,
|
|
4105
|
+
displayEmpty: true,
|
|
4106
|
+
fullWidth: true,
|
|
4107
|
+
size: "small",
|
|
4108
|
+
className: "register-select-trigger",
|
|
4109
|
+
"data-placeholder": !value4 ? "" : void 0,
|
|
4110
|
+
inputProps: { "aria-label": ariaLabel },
|
|
4111
|
+
renderValue: (selected) => /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("span", { className: "register-select-value", children: options.find((option) => option.value === selected)?.label ?? placeholder }),
|
|
4112
|
+
onChange: (event) => setValue(event.target.value),
|
|
4113
|
+
MenuProps: registerMenuProps(() => root.current?.ownerDocument.body ?? document.body),
|
|
4114
|
+
sx: registerSelectSx,
|
|
4115
|
+
children: [
|
|
4116
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)(import_MenuItem.default, { disabled: true, value: "", children: placeholder }),
|
|
4117
|
+
options.map((option) => /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(import_MenuItem.default, { value: option.value, children: option.label }, option.value))
|
|
4118
|
+
]
|
|
4119
|
+
}
|
|
4120
|
+
);
|
|
4149
4121
|
}
|
|
4150
|
-
function RegisterCheckboxSelect({
|
|
4151
|
-
|
|
4122
|
+
function RegisterCheckboxSelect({
|
|
4123
|
+
labelledBy,
|
|
4124
|
+
name,
|
|
4125
|
+
options,
|
|
4126
|
+
otherLabel,
|
|
4127
|
+
otherPlaceholder,
|
|
4128
|
+
placeholder,
|
|
4129
|
+
legend
|
|
4130
|
+
}) {
|
|
4131
|
+
const root = (0, import_react9.useRef)(null);
|
|
4152
4132
|
const [selectedOptions, setSelectedOptions] = (0, import_react9.useState)([]);
|
|
4153
4133
|
const [otherOption, setOtherOption] = (0, import_react9.useState)("");
|
|
4154
4134
|
const hasOtherOption = selectedOptions.includes("other");
|
|
4155
4135
|
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
|
-
|
|
4136
|
+
return /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { children: [
|
|
4137
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
|
|
4138
|
+
import_Select.default,
|
|
4139
|
+
{
|
|
4140
|
+
ref: root,
|
|
4141
|
+
multiple: true,
|
|
4142
|
+
fullWidth: true,
|
|
4143
|
+
size: "small",
|
|
4144
|
+
displayEmpty: true,
|
|
4145
|
+
value: selectedOptions,
|
|
4146
|
+
labelId: labelledBy,
|
|
4147
|
+
className: "register-select-trigger register-market-trigger",
|
|
4148
|
+
"data-placeholder": !selectedOptions.length ? "" : void 0,
|
|
4149
|
+
renderValue: () => /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("span", { className: "register-market-value", children: selectedLabels.join("; ") || placeholder }),
|
|
4150
|
+
onChange: (event) => {
|
|
4151
|
+
const next = typeof event.target.value === "string" ? event.target.value.split(",") : event.target.value;
|
|
4152
|
+
setSelectedOptions(next);
|
|
4153
|
+
if (!next.includes("other")) setOtherOption("");
|
|
4154
|
+
},
|
|
4155
|
+
MenuProps: { ...registerMenuProps(() => root.current?.ownerDocument.body ?? document.body), "aria-label": legend },
|
|
4156
|
+
sx: registerSelectSx,
|
|
4157
|
+
children: options.map((option) => /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)(import_MenuItem.default, { value: option.value, children: [
|
|
4158
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)(import_Checkbox.default, { size: "small", checked: selectedOptions.includes(option.value), tabIndex: -1, disableRipple: true }),
|
|
4159
|
+
option.label
|
|
4160
|
+
] }, option.value))
|
|
4163
4161
|
}
|
|
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
|
-
});
|
|
4162
|
+
),
|
|
4163
|
+
options.filter((option) => selectedOptions.includes(option.value)).map((option) => /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("input", { type: "hidden", name, value: option.label }, option.value)),
|
|
4164
|
+
hasOtherOption && /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
|
|
4165
|
+
"input",
|
|
4166
|
+
{
|
|
4167
|
+
"aria-label": otherLabel,
|
|
4168
|
+
name: name + "-other",
|
|
4169
|
+
onChange: (event) => setOtherOption(event.target.value),
|
|
4170
|
+
placeholder: otherPlaceholder,
|
|
4171
|
+
style: { marginTop: 8 },
|
|
4172
|
+
type: "text",
|
|
4173
|
+
value: otherOption
|
|
4174
|
+
}
|
|
4175
|
+
)
|
|
4176
|
+
] });
|
|
4250
4177
|
}
|
|
4251
|
-
function RegisterSection({
|
|
4178
|
+
function RegisterSection({
|
|
4179
|
+
variant = "landing"
|
|
4180
|
+
}) {
|
|
4252
4181
|
const { isMobile } = useResponsive();
|
|
4253
4182
|
const { t } = (0, import_react_i18next.useTranslation)();
|
|
4254
|
-
const aboutVisual = useCmsImage(
|
|
4255
|
-
|
|
4256
|
-
|
|
4257
|
-
|
|
4183
|
+
const aboutVisual = useCmsImage(
|
|
4184
|
+
"registerAboutVisualImage",
|
|
4185
|
+
"/about-us/register_visual.webp"
|
|
4186
|
+
);
|
|
4187
|
+
const phoneVisual = useCmsImage(
|
|
4188
|
+
"registerPhoneImage",
|
|
4189
|
+
"/landing-assets/phone_explore.webp"
|
|
4190
|
+
);
|
|
4191
|
+
const tagLeft = useCmsImage(
|
|
4192
|
+
"registerTagLeftImage",
|
|
4193
|
+
"/landing-assets/mock_reg_left.webp"
|
|
4194
|
+
);
|
|
4195
|
+
const tagRight = useCmsImage(
|
|
4196
|
+
"registerTagRightImage",
|
|
4197
|
+
"/landing-assets/mock_reg_right.webp"
|
|
4198
|
+
);
|
|
4258
4199
|
const cityOptions = [
|
|
4259
|
-
{
|
|
4260
|
-
|
|
4261
|
-
|
|
4262
|
-
},
|
|
4263
|
-
{
|
|
4264
|
-
label: t("landing.register.cities.hanoi"),
|
|
4265
|
-
value: "hanoi"
|
|
4266
|
-
},
|
|
4267
|
-
{
|
|
4268
|
-
label: t("landing.register.cities.other"),
|
|
4269
|
-
value: "other"
|
|
4270
|
-
}
|
|
4200
|
+
{ label: t("landing.register.cities.hcm"), value: "ho-chi-minh-city" },
|
|
4201
|
+
{ label: t("landing.register.cities.hanoi"), value: "hanoi" },
|
|
4202
|
+
{ label: t("landing.register.cities.other"), value: "other" }
|
|
4271
4203
|
];
|
|
4272
4204
|
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
|
-
}
|
|
4205
|
+
{ label: t("landing.register.capital.under10"), value: "under-10m" },
|
|
4206
|
+
{ label: t("landing.register.capital.10to30"), value: "10m-30m" },
|
|
4207
|
+
{ label: t("landing.register.capital.30to100"), value: "30m-100m" },
|
|
4208
|
+
{ label: t("landing.register.capital.over100"), value: "over-100m" }
|
|
4289
4209
|
];
|
|
4290
4210
|
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
|
-
}
|
|
4211
|
+
{ label: t("landing.register.markets.stocks"), value: "stocks" },
|
|
4212
|
+
{ label: t("landing.register.markets.crypto"), value: "digital-assets" },
|
|
4213
|
+
{ label: t("landing.register.markets.other"), value: "other" }
|
|
4303
4214
|
];
|
|
4304
4215
|
if (variant === "about") {
|
|
4305
|
-
const partnerOptions = [
|
|
4306
|
-
"individual",
|
|
4307
|
-
"broker",
|
|
4308
|
-
"professional",
|
|
4309
|
-
"other"
|
|
4310
|
-
].map((value4) => ({
|
|
4216
|
+
const partnerOptions = ["individual", "broker", "professional", "other"].map((value4) => ({
|
|
4311
4217
|
value: value4,
|
|
4312
4218
|
label: t(`aboutUs.partner.options.partner.${value4}`)
|
|
4313
4219
|
}));
|
|
4314
|
-
const experienceOptions = [
|
|
4315
|
-
"none",
|
|
4316
|
-
"under1",
|
|
4317
|
-
"oneTo3",
|
|
4318
|
-
"over3",
|
|
4319
|
-
"other"
|
|
4320
|
-
].map((value4) => ({
|
|
4220
|
+
const experienceOptions = ["none", "under1", "oneTo3", "over3", "other"].map((value4) => ({
|
|
4321
4221
|
value: value4,
|
|
4322
4222
|
label: t(`aboutUs.partner.options.experience.${value4}`)
|
|
4323
4223
|
}));
|
|
4324
|
-
const sourceOptions = [
|
|
4325
|
-
"facebook",
|
|
4326
|
-
"tiktok",
|
|
4327
|
-
"youtube",
|
|
4328
|
-
"community",
|
|
4329
|
-
"other"
|
|
4330
|
-
].map((value4) => ({
|
|
4224
|
+
const sourceOptions = ["facebook", "tiktok", "youtube", "community", "other"].map((value4) => ({
|
|
4331
4225
|
value: value4,
|
|
4332
4226
|
label: t(`aboutUs.partner.options.source.${value4}`)
|
|
4333
4227
|
}));
|
|
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",
|
|
4228
|
+
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: [
|
|
4229
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("form", { className: "register-form-frame", onSubmit: (event) => event.preventDefault(), children: [
|
|
4230
|
+
!isMobile && /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
|
|
4231
|
+
Button_default,
|
|
4232
|
+
{
|
|
4233
|
+
className: "register-border",
|
|
4234
|
+
type: "button",
|
|
4235
|
+
size: "sm",
|
|
4236
|
+
radius: 20,
|
|
4237
|
+
tint: "#fff",
|
|
4238
|
+
tintOpacity: 0,
|
|
4239
|
+
textColor: "transparent",
|
|
4240
|
+
lineColor: "#fff",
|
|
4241
|
+
baseColor: "#F9BB3A",
|
|
4242
|
+
shineSize: 11,
|
|
4243
|
+
shineFade: 50,
|
|
4244
|
+
thickness: 5,
|
|
4245
|
+
speed: 2,
|
|
4246
|
+
followMouse: false,
|
|
4247
|
+
autoAnimate: true,
|
|
4248
|
+
ariaHidden: true,
|
|
4249
|
+
tabIndex: -1,
|
|
4250
|
+
children: null
|
|
4251
|
+
}
|
|
4252
|
+
),
|
|
4253
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: "register-card", children: [
|
|
4254
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("header", { children: [
|
|
4255
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("h2", { id: "about-partner-title", children: t("aboutUs.partner.formTitle") }),
|
|
4256
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("p", { children: t("aboutUs.partner.formNote") })
|
|
4257
|
+
] }),
|
|
4258
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: "register-fields", children: [
|
|
4259
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: "field-row", children: [
|
|
4260
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("label", { children: [
|
|
4261
|
+
t("aboutUs.partner.fields.name"),
|
|
4262
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("input", { name: "name", type: "text", autoComplete: "name", placeholder: t("aboutUs.partner.placeholders.name"), required: true })
|
|
4263
|
+
] }),
|
|
4264
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("label", { children: [
|
|
4265
|
+
t("aboutUs.partner.fields.phone"),
|
|
4266
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("input", { name: "phone", type: "tel", autoComplete: "tel", placeholder: t("aboutUs.partner.placeholders.phone"), required: true })
|
|
4267
|
+
] })
|
|
4268
|
+
] }),
|
|
4269
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: "field-row", children: [
|
|
4270
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("label", { children: [
|
|
4271
|
+
t("aboutUs.partner.fields.email"),
|
|
4272
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("input", { name: "email", type: "email", autoComplete: "email", placeholder: t("aboutUs.partner.placeholders.email"), required: true })
|
|
4273
|
+
] }),
|
|
4274
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("label", { children: [
|
|
4275
|
+
t("aboutUs.partner.fields.partner"),
|
|
4276
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
|
|
4277
|
+
RegisterSelect,
|
|
4278
|
+
{
|
|
4279
|
+
name: "partner",
|
|
4280
|
+
ariaLabel: t("aboutUs.partner.fields.partner"),
|
|
4281
|
+
placeholder: t("aboutUs.partner.placeholders.partner"),
|
|
4282
|
+
options: partnerOptions
|
|
4283
|
+
}
|
|
4284
|
+
)
|
|
4285
|
+
] })
|
|
4286
|
+
] }),
|
|
4287
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: "field-row", children: [
|
|
4288
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("label", { children: [
|
|
4289
|
+
t("aboutUs.partner.fields.experience"),
|
|
4290
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
|
|
4291
|
+
RegisterSelect,
|
|
4292
|
+
{
|
|
4293
|
+
name: "experience",
|
|
4294
|
+
ariaLabel: t("aboutUs.partner.fields.experience"),
|
|
4295
|
+
placeholder: t("aboutUs.partner.placeholders.experience"),
|
|
4296
|
+
options: experienceOptions
|
|
4297
|
+
}
|
|
4298
|
+
)
|
|
4299
|
+
] }),
|
|
4300
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: "register-field", children: [
|
|
4301
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("span", { className: "register-field-label", id: "about-partner-source-label", children: t("aboutUs.partner.fields.source") }),
|
|
4302
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
|
|
4303
|
+
RegisterCheckboxSelect,
|
|
4304
|
+
{
|
|
4305
|
+
legend: t("aboutUs.partner.sourceLegend"),
|
|
4306
|
+
labelledBy: "about-partner-source-label",
|
|
4307
|
+
name: "source",
|
|
4308
|
+
options: sourceOptions,
|
|
4309
|
+
otherLabel: t("aboutUs.partner.otherSourceLabel"),
|
|
4310
|
+
otherPlaceholder: t("aboutUs.partner.otherSourcePlaceholder"),
|
|
4311
|
+
placeholder: t("aboutUs.partner.placeholders.source")
|
|
4312
|
+
}
|
|
4313
|
+
)
|
|
4314
|
+
] })
|
|
4315
|
+
] })
|
|
4316
|
+
] }),
|
|
4317
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
|
|
4318
|
+
Button_default,
|
|
4319
|
+
{
|
|
4320
|
+
className: "register-submit",
|
|
4321
|
+
type: "submit",
|
|
4322
|
+
size: "md",
|
|
4323
|
+
radius: 8,
|
|
4324
|
+
tint: "#F9BB3A",
|
|
4325
|
+
textColor: "#05080F",
|
|
4547
4326
|
lineColor: "#fff",
|
|
4548
4327
|
baseColor: "#F9BB3A",
|
|
4549
|
-
shineSize:
|
|
4550
|
-
shineFade:
|
|
4551
|
-
thickness:
|
|
4552
|
-
speed:
|
|
4328
|
+
shineSize: 18,
|
|
4329
|
+
shineFade: 26,
|
|
4330
|
+
thickness: 2,
|
|
4331
|
+
speed: 1.5,
|
|
4553
4332
|
followMouse: false,
|
|
4554
4333
|
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
|
-
|
|
4334
|
+
children: t("aboutUs.partner.submit")
|
|
4335
|
+
}
|
|
4336
|
+
)
|
|
4337
|
+
] })
|
|
4338
|
+
] }),
|
|
4339
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: "register-visual", children: [
|
|
4340
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("h2", { children: t("aboutUs.partner.headline") }),
|
|
4341
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("a", { className: "about-partner-link", href: "/chinh-sach/", children: t("aboutUs.partner.learnMore") }),
|
|
4342
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: "about-partner-media wikex-cms-image-host", "aria-label": t("aboutUs.partner.mediaAlt"), role: "img", children: [
|
|
4343
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
|
|
4344
|
+
import_image2.default,
|
|
4345
|
+
{
|
|
4346
|
+
src: aboutVisual,
|
|
4347
|
+
alt: "visual",
|
|
4348
|
+
width: 585,
|
|
4349
|
+
height: 304
|
|
4350
|
+
}
|
|
4351
|
+
),
|
|
4352
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)(CmsImageAction, { field: "registerAboutVisualImage" })
|
|
4353
|
+
] })
|
|
4354
|
+
] })
|
|
4355
|
+
] }) });
|
|
4356
|
+
}
|
|
4357
|
+
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: [
|
|
4358
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsxs)(
|
|
4359
|
+
"form",
|
|
4360
|
+
{
|
|
4361
|
+
className: "register-form-frame",
|
|
4362
|
+
onSubmit: (event) => event.preventDefault(),
|
|
4363
|
+
children: [
|
|
4364
|
+
!isMobile && /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
|
|
4365
|
+
Button_default,
|
|
4366
|
+
{
|
|
4367
|
+
className: "register-border",
|
|
4368
|
+
type: "button",
|
|
4369
|
+
size: "sm",
|
|
4370
|
+
radius: 20,
|
|
4371
|
+
tint: "#fff",
|
|
4372
|
+
tintOpacity: 0,
|
|
4373
|
+
textColor: "transparent",
|
|
4374
|
+
lineColor: "#fff",
|
|
4375
|
+
baseColor: "#F9BB3A",
|
|
4376
|
+
shineSize: 11,
|
|
4377
|
+
shineFade: 50,
|
|
4378
|
+
thickness: 5,
|
|
4379
|
+
speed: 2,
|
|
4380
|
+
followMouse: false,
|
|
4381
|
+
autoAnimate: true,
|
|
4382
|
+
ariaHidden: true,
|
|
4383
|
+
tabIndex: -1,
|
|
4384
|
+
children: null
|
|
4385
|
+
}
|
|
4386
|
+
),
|
|
4387
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: "register-card", children: [
|
|
4388
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("header", { children: [
|
|
4389
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("h2", { children: t("landing.register.title") }),
|
|
4390
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("p", { children: t("landing.register.confidential") })
|
|
4391
|
+
] }),
|
|
4392
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: "register-fields", children: [
|
|
4393
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: "field-row", children: [
|
|
4394
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("label", { children: [
|
|
4395
|
+
t("landing.register.fields.name"),
|
|
4396
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
|
|
4397
|
+
"input",
|
|
4398
|
+
{
|
|
4399
|
+
name: "name",
|
|
4400
|
+
type: "text",
|
|
4401
|
+
autoComplete: "name",
|
|
4402
|
+
placeholder: t("landing.register.namePlaceholder"),
|
|
4403
|
+
required: true
|
|
4404
|
+
}
|
|
4405
|
+
)
|
|
4406
|
+
] }),
|
|
4407
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("label", { children: [
|
|
4408
|
+
t("landing.register.fields.phone"),
|
|
4409
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
|
|
4410
|
+
"input",
|
|
4411
|
+
{
|
|
4412
|
+
name: "phone",
|
|
4413
|
+
type: "tel",
|
|
4414
|
+
autoComplete: "tel",
|
|
4415
|
+
placeholder: t("landing.register.phonePlaceholder"),
|
|
4416
|
+
required: true
|
|
4417
|
+
}
|
|
4418
|
+
)
|
|
4419
|
+
] })
|
|
4420
|
+
] }),
|
|
4421
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: "field-row", children: [
|
|
4422
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("label", { children: [
|
|
4423
|
+
t("landing.register.fields.email"),
|
|
4424
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
|
|
4425
|
+
"input",
|
|
4426
|
+
{
|
|
4427
|
+
name: "email",
|
|
4428
|
+
type: "email",
|
|
4429
|
+
autoComplete: "email",
|
|
4430
|
+
placeholder: t("landing.register.emailPlaceholder"),
|
|
4431
|
+
required: true
|
|
4432
|
+
}
|
|
4433
|
+
)
|
|
4434
|
+
] }),
|
|
4435
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("label", { children: [
|
|
4436
|
+
t("landing.register.fields.city"),
|
|
4437
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
|
|
4438
|
+
RegisterSelect,
|
|
4439
|
+
{
|
|
4440
|
+
name: "city",
|
|
4441
|
+
ariaLabel: t("landing.register.fields.city"),
|
|
4442
|
+
placeholder: t("landing.register.cityPlaceholder"),
|
|
4443
|
+
options: cityOptions
|
|
4444
|
+
}
|
|
4445
|
+
)
|
|
4446
|
+
] })
|
|
4447
|
+
] }),
|
|
4448
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: "register-field", children: [
|
|
4449
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
|
|
4450
|
+
"span",
|
|
4451
|
+
{
|
|
4452
|
+
className: "register-field-label",
|
|
4453
|
+
id: "register-market-label",
|
|
4454
|
+
children: t("landing.register.fields.market")
|
|
4455
|
+
}
|
|
4456
|
+
),
|
|
4457
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
|
|
4458
|
+
RegisterCheckboxSelect,
|
|
4459
|
+
{
|
|
4460
|
+
legend: t("landing.register.marketLegend"),
|
|
4461
|
+
name: "market",
|
|
4462
|
+
labelledBy: "register-market-label",
|
|
4463
|
+
options: marketOptions,
|
|
4464
|
+
otherLabel: t("landing.register.otherMarketLabel"),
|
|
4465
|
+
otherPlaceholder: t("landing.register.otherMarketPlaceholder"),
|
|
4466
|
+
placeholder: t("landing.register.marketPlaceholder")
|
|
4467
|
+
}
|
|
4468
|
+
)
|
|
4469
|
+
] }),
|
|
4470
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("label", { children: [
|
|
4471
|
+
t("landing.register.fields.capital"),
|
|
4472
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
|
|
4473
|
+
RegisterSelect,
|
|
4474
|
+
{
|
|
4475
|
+
name: "capital",
|
|
4476
|
+
ariaLabel: t("landing.register.fields.capital"),
|
|
4477
|
+
placeholder: t("landing.register.capitalPlaceholder"),
|
|
4478
|
+
options: capitalOptions
|
|
4479
|
+
}
|
|
4480
|
+
)
|
|
4481
|
+
] })
|
|
4482
|
+
] }),
|
|
4483
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
|
|
4484
|
+
Button_default,
|
|
4485
|
+
{
|
|
4486
|
+
className: "register-submit",
|
|
4487
|
+
type: "submit",
|
|
4488
|
+
size: "md",
|
|
4489
|
+
radius: 8,
|
|
4490
|
+
tint: "#F9BB3A",
|
|
4491
|
+
textColor: "#05080F",
|
|
4492
|
+
lineColor: "#fff",
|
|
4493
|
+
baseColor: "#F9BB3A",
|
|
4494
|
+
shineSize: 18,
|
|
4495
|
+
shineFade: 26,
|
|
4496
|
+
thickness: 2,
|
|
4497
|
+
speed: 1.5,
|
|
4498
|
+
followMouse: false,
|
|
4499
|
+
autoAnimate: true,
|
|
4500
|
+
children: t("landing.register.submit")
|
|
4501
|
+
}
|
|
4502
|
+
)
|
|
4503
|
+
] })
|
|
4504
|
+
]
|
|
4505
|
+
}
|
|
4506
|
+
),
|
|
4507
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: "register-visual", children: [
|
|
4508
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("h2", { children: t("landing.register.visualTitle") }),
|
|
4509
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: "register-art wikex-cms-image-host", children: [
|
|
4510
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
|
|
4511
|
+
import_image2.default,
|
|
4512
|
+
{
|
|
4513
|
+
src: phoneVisual,
|
|
4514
|
+
alt: t("landing.register.visualAlt"),
|
|
4515
|
+
width: 671,
|
|
4516
|
+
height: 597,
|
|
4517
|
+
sizes: isMobile ? "calc(100vw - 32px)" : "671px"
|
|
4518
|
+
}
|
|
4519
|
+
),
|
|
4520
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: "register-tags", children: [
|
|
4521
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: "register-tag tag_1", children: [
|
|
4522
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
|
|
4523
|
+
import_image2.default,
|
|
4524
|
+
{
|
|
4525
|
+
src: tagLeft,
|
|
4526
|
+
alt: "",
|
|
4527
|
+
width: 24,
|
|
4528
|
+
height: 24
|
|
4529
|
+
}
|
|
4530
|
+
),
|
|
4531
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("span", { children: t("landing.register.tags.transparent") })
|
|
4532
|
+
] }),
|
|
4533
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: "register-tag tag_2", children: [
|
|
4534
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
|
|
4535
|
+
import_image2.default,
|
|
4536
|
+
{
|
|
4537
|
+
src: tagRight,
|
|
4538
|
+
alt: "",
|
|
4539
|
+
width: 24,
|
|
4540
|
+
height: 24
|
|
4541
|
+
}
|
|
4542
|
+
),
|
|
4543
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("span", { children: t("landing.register.tags.easy") })
|
|
4544
|
+
] }),
|
|
4545
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: "register-tag tag_3", children: [
|
|
4546
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
|
|
4547
|
+
import_image2.default,
|
|
4548
|
+
{
|
|
4549
|
+
src: tagRight,
|
|
4550
|
+
alt: "",
|
|
4551
|
+
width: 24,
|
|
4552
|
+
height: 24
|
|
4553
|
+
}
|
|
4554
|
+
),
|
|
4555
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("span", { children: t("landing.register.tags.effective") })
|
|
4556
|
+
] })
|
|
4557
|
+
] }),
|
|
4558
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)(CmsImageAction, { field: "registerPhoneImage" })
|
|
4559
|
+
] })
|
|
4560
|
+
] })
|
|
4561
|
+
] }) });
|
|
4758
4562
|
}
|
|
4759
4563
|
|
|
4760
4564
|
// src/commodity-original/lib/cms-list.tsx
|
|
@@ -5230,82 +5034,82 @@ var companyGalleryItems = [
|
|
|
5230
5034
|
];
|
|
5231
5035
|
|
|
5232
5036
|
// src/commodity-original/app/about-us/style.ts
|
|
5233
|
-
var
|
|
5234
|
-
var AboutUsMain =
|
|
5037
|
+
var import_styled_components3 = __toESM(require("styled-components"));
|
|
5038
|
+
var AboutUsMain = import_styled_components3.default.main.withConfig({
|
|
5235
5039
|
componentId: "sc-574a802f-0"
|
|
5236
5040
|
})([
|
|
5237
5041
|
`min-height:calc(100vh - var(--header-height));background:`,
|
|
5238
5042
|
`;`
|
|
5239
5043
|
], ({ theme }) => theme.colors.background.canvas);
|
|
5240
|
-
var HeroSection =
|
|
5044
|
+
var HeroSection = import_styled_components3.default.section.withConfig({
|
|
5241
5045
|
componentId: "sc-574a802f-1"
|
|
5242
5046
|
})([
|
|
5243
5047
|
`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
5048
|
]);
|
|
5245
|
-
var HeroContent =
|
|
5049
|
+
var HeroContent = import_styled_components3.default.div.withConfig({
|
|
5246
5050
|
componentId: "sc-574a802f-2"
|
|
5247
5051
|
})([
|
|
5248
5052
|
`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
5053
|
]);
|
|
5250
|
-
var HeroTitle2 =
|
|
5054
|
+
var HeroTitle2 = import_styled_components3.default.h1.withConfig({
|
|
5251
5055
|
componentId: "sc-574a802f-3"
|
|
5252
5056
|
})([
|
|
5253
5057
|
`max-width:740px;margin:0;color:`,
|
|
5254
5058
|
`;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
5059
|
], ({ theme }) => theme.colors.accent.foreground);
|
|
5256
|
-
var HeroCertificate =
|
|
5060
|
+
var HeroCertificate = import_styled_components3.default.div.withConfig({
|
|
5257
5061
|
componentId: "sc-574a802f-4"
|
|
5258
5062
|
})([
|
|
5259
5063
|
`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
5064
|
]);
|
|
5261
|
-
var IntroSection =
|
|
5065
|
+
var IntroSection = import_styled_components3.default.section.withConfig({
|
|
5262
5066
|
componentId: "sc-574a802f-5"
|
|
5263
5067
|
})([
|
|
5264
5068
|
`min-height:576px;padding:80px 24px 60px;color:`,
|
|
5265
5069
|
`;background:`,
|
|
5266
5070
|
`;@media (max-width:767px){min-height:auto;padding:30px 16px;}`
|
|
5267
5071
|
], ({ theme }) => theme.colors.text.primary, ({ theme }) => theme.colors.background.warm);
|
|
5268
|
-
var SectionTitle =
|
|
5072
|
+
var SectionTitle = import_styled_components3.default.h2.withConfig({
|
|
5269
5073
|
componentId: "sc-574a802f-6"
|
|
5270
5074
|
})([
|
|
5271
5075
|
`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
5076
|
]);
|
|
5273
|
-
var IntroContent =
|
|
5077
|
+
var IntroContent = import_styled_components3.default.div.withConfig({
|
|
5274
5078
|
componentId: "sc-574a802f-7"
|
|
5275
5079
|
})([
|
|
5276
5080
|
`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
5081
|
]);
|
|
5278
|
-
var IntroIllustration =
|
|
5082
|
+
var IntroIllustration = import_styled_components3.default.figure.withConfig({
|
|
5279
5083
|
componentId: "sc-574a802f-8"
|
|
5280
5084
|
})([
|
|
5281
5085
|
`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
5086
|
]);
|
|
5283
|
-
var IntroCopy =
|
|
5087
|
+
var IntroCopy = import_styled_components3.default.div.withConfig({
|
|
5284
5088
|
componentId: "sc-574a802f-9"
|
|
5285
5089
|
})([
|
|
5286
5090
|
`display:flex;min-width:0;flex-direction:column;justify-content:center;gap:8px;p{margin:0;color:`,
|
|
5287
5091
|
`;font-size:16px;font-weight:400;line-height:22px;}p strong{color:`,
|
|
5288
5092
|
`;font-size:inherit;font-weight:700;}@media (max-width:1023px){gap:6px;p{font-size:14px;}}`
|
|
5289
5093
|
], ({ theme }) => theme.colors.text.content, ({ theme }) => theme.colors.text.content);
|
|
5290
|
-
var IntroTagline =
|
|
5094
|
+
var IntroTagline = import_styled_components3.default.strong.withConfig({
|
|
5291
5095
|
componentId: "sc-574a802f-10"
|
|
5292
5096
|
})([
|
|
5293
5097
|
`color:`,
|
|
5294
5098
|
`;font-size:16px;font-weight:700;line-height:1.45;@media (max-width:1023px){font-size:14px;}`
|
|
5295
5099
|
], ({ theme }) => theme.colors.accent.primary);
|
|
5296
|
-
var VisionMissionSection =
|
|
5100
|
+
var VisionMissionSection = import_styled_components3.default.section.withConfig({
|
|
5297
5101
|
componentId: "sc-574a802f-11"
|
|
5298
5102
|
})([
|
|
5299
5103
|
`min-height:556px;padding:60px 24px;color:`,
|
|
5300
5104
|
`;background:`,
|
|
5301
5105
|
`;@media (max-width:767px){min-height:auto;padding:30px 24px 30px;}`
|
|
5302
5106
|
], ({ theme }) => theme.colors.text.primary, ({ theme }) => theme.colors.background.warm);
|
|
5303
|
-
var VisionMissionGrid =
|
|
5107
|
+
var VisionMissionGrid = import_styled_components3.default.div.withConfig({
|
|
5304
5108
|
componentId: "sc-574a802f-12"
|
|
5305
5109
|
})([
|
|
5306
5110
|
`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
5111
|
]);
|
|
5308
|
-
var VisionCard =
|
|
5112
|
+
var VisionCard = import_styled_components3.default.article.withConfig({
|
|
5309
5113
|
componentId: "sc-574a802f-13"
|
|
5310
5114
|
})([
|
|
5311
5115
|
`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 +5117,20 @@ var VisionCard = import_styled_components4.default.article.withConfig({
|
|
|
5313
5117
|
`;}&::after{z-index:0;top:34px;right:-12px;bottom:-12px;left:80px;border-radius:0 0 6px;background:`,
|
|
5314
5118
|
`;}@media (max-width:767px){min-height:unset;&::before{left:-8px;}&::after{right:-8px;bottom:-10px;left:48px;border-bottom-left-radius:8px;}}`
|
|
5315
5119
|
], ({ theme }) => theme.colors.accent.primary, ({ theme }) => theme.colors.accent.primary, ({ theme }) => theme.colors.accent.primary);
|
|
5316
|
-
var VisionCardBody =
|
|
5120
|
+
var VisionCardBody = import_styled_components3.default.div.withConfig({
|
|
5317
5121
|
componentId: "sc-574a802f-14"
|
|
5318
5122
|
})([
|
|
5319
5123
|
`position:relative;z-index:1;display:flex;height:100%;min-height:320px;padding:44px 40px 36px;flex-direction:column;border-radius:6px;color:`,
|
|
5320
5124
|
`;background:`,
|
|
5321
5125
|
`;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
5126
|
], ({ theme }) => theme.colors.text.content, ({ theme }) => theme.colors.background.card);
|
|
5323
|
-
var VisionCardTitle =
|
|
5127
|
+
var VisionCardTitle = import_styled_components3.default.h3.withConfig({
|
|
5324
5128
|
componentId: "sc-574a802f-15"
|
|
5325
5129
|
})([
|
|
5326
5130
|
`margin:0 0 14px;color:`,
|
|
5327
5131
|
`;font-size:20px;font-weight:700;line-height:1.3;@media (max-width:767px){font-size:16px;margin-bottom:10px;}`
|
|
5328
5132
|
], ({ theme }) => theme.colors.text.primary);
|
|
5329
|
-
var CoreValueSection =
|
|
5133
|
+
var CoreValueSection = import_styled_components3.default.section.withConfig({
|
|
5330
5134
|
componentId: "sc-574a802f-16"
|
|
5331
5135
|
})([
|
|
5332
5136
|
`min-height:490px;padding:60px 24px;color:`,
|
|
@@ -5335,19 +5139,19 @@ var CoreValueSection = import_styled_components4.default.section.withConfig({
|
|
|
5335
5139
|
`{margin-bottom:56px;}@media (max-width:1023px){min-height:auto;}@media (max-width:767px){padding:30px 15px;`,
|
|
5336
5140
|
`{margin-bottom:44px;}}`
|
|
5337
5141
|
], ({ theme }) => theme.colors.text.primary, ({ theme }) => theme.colors.background.warm, SectionTitle, SectionTitle);
|
|
5338
|
-
var CoreValueGrid =
|
|
5142
|
+
var CoreValueGrid = import_styled_components3.default.div.withConfig({
|
|
5339
5143
|
componentId: "sc-574a802f-17"
|
|
5340
5144
|
})([
|
|
5341
5145
|
`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
5146
|
]);
|
|
5343
|
-
var CoreValueCard =
|
|
5147
|
+
var CoreValueCard = import_styled_components3.default.article.withConfig({
|
|
5344
5148
|
componentId: "sc-574a802f-18"
|
|
5345
5149
|
})([
|
|
5346
5150
|
`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
5151
|
`;font-size:20px;font-weight:700;line-height:1.5;}p{margin:0;color:`,
|
|
5348
5152
|
`;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
5153
|
], ({ theme }) => theme.colors.text.primary, ({ theme }) => theme.colors.text.content);
|
|
5350
|
-
var TeamSection =
|
|
5154
|
+
var TeamSection = import_styled_components3.default.section.withConfig({
|
|
5351
5155
|
componentId: "sc-574a802f-19"
|
|
5352
5156
|
})([
|
|
5353
5157
|
`min-height:683px;padding:60px 24px;color:`,
|
|
@@ -5356,28 +5160,28 @@ var TeamSection = import_styled_components4.default.section.withConfig({
|
|
|
5356
5160
|
`{margin-bottom:34px;}@media (max-width:1023px){min-height:auto;}@media (max-width:767px){padding:50px 24px 30px;`,
|
|
5357
5161
|
`{margin-bottom:32px;}}`
|
|
5358
5162
|
], ({ theme }) => theme.colors.text.primary, ({ theme }) => theme.colors.background.warm, SectionTitle, SectionTitle);
|
|
5359
|
-
var TeamGrid =
|
|
5163
|
+
var TeamGrid = import_styled_components3.default.div.withConfig({
|
|
5360
5164
|
componentId: "sc-574a802f-20"
|
|
5361
5165
|
})([
|
|
5362
5166
|
`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
5167
|
]);
|
|
5364
|
-
var TeamMobileCarousel =
|
|
5168
|
+
var TeamMobileCarousel = import_styled_components3.default.div.withConfig({
|
|
5365
5169
|
componentId: "sc-574a802f-21"
|
|
5366
5170
|
})([
|
|
5367
5171
|
`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
5172
|
]);
|
|
5369
|
-
var TeamCard =
|
|
5173
|
+
var TeamCard = import_styled_components3.default.article.withConfig({
|
|
5370
5174
|
componentId: "sc-574a802f-22"
|
|
5371
5175
|
})([
|
|
5372
5176
|
`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
5177
|
]);
|
|
5374
|
-
var TeamCardMedia =
|
|
5178
|
+
var TeamCardMedia = import_styled_components3.default.div.withConfig({
|
|
5375
5179
|
componentId: "sc-574a802f-23"
|
|
5376
5180
|
})([
|
|
5377
5181
|
`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
5182
|
` 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
5183
|
], ({ theme }) => theme.colors.accent.primary);
|
|
5380
|
-
var TeamIdentity =
|
|
5184
|
+
var TeamIdentity = import_styled_components3.default.div.withConfig({
|
|
5381
5185
|
componentId: "sc-574a802f-24"
|
|
5382
5186
|
})([
|
|
5383
5187
|
`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 +5190,14 @@ var TeamIdentity = import_styled_components4.default.div.withConfig({
|
|
|
5386
5190
|
`;}&::after{position:absolute;bottom:-14px;left:0;border-top:14px solid `,
|
|
5387
5191
|
`;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
5192
|
], ({ theme }) => theme.colors.accent.foreground, ({ theme }) => theme.colors.accent.primary, ({ theme }) => theme.colors.accent.primary, ({ theme }) => theme.colors.accent.primary);
|
|
5389
|
-
var TeamCardBody =
|
|
5193
|
+
var TeamCardBody = import_styled_components3.default.p.withConfig({
|
|
5390
5194
|
componentId: "sc-574a802f-25"
|
|
5391
5195
|
})([
|
|
5392
5196
|
`min-height:108px;margin:0;padding:48px 30px 22px;color:`,
|
|
5393
5197
|
`;background:`,
|
|
5394
5198
|
`;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
5199
|
], ({ theme }) => theme.colors.text.content, ({ theme }) => theme.colors.background.card);
|
|
5396
|
-
var GallerySection =
|
|
5200
|
+
var GallerySection = import_styled_components3.default.section.withConfig({
|
|
5397
5201
|
componentId: "sc-574a802f-26"
|
|
5398
5202
|
})([
|
|
5399
5203
|
`min-height:1012px;padding:60px 24px 80px;color:`,
|
|
@@ -5402,25 +5206,25 @@ var GallerySection = import_styled_components4.default.section.withConfig({
|
|
|
5402
5206
|
`{margin-bottom:32px;}@media (max-width:1023px){min-height:auto;}@media (max-width:767px){padding:30px 16px 40px;`,
|
|
5403
5207
|
`{margin-bottom:32px;line-height:36px;}}`
|
|
5404
5208
|
], ({ theme }) => theme.colors.text.primary, ({ theme }) => theme.colors.background.canvas, SectionTitle, SectionTitle);
|
|
5405
|
-
var GalleryGrid =
|
|
5209
|
+
var GalleryGrid = import_styled_components3.default.div.withConfig({
|
|
5406
5210
|
componentId: "sc-574a802f-27"
|
|
5407
5211
|
})([
|
|
5408
5212
|
`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
5213
|
]);
|
|
5410
|
-
var GalleryCard =
|
|
5214
|
+
var GalleryCard = import_styled_components3.default.article.withConfig({
|
|
5411
5215
|
componentId: "sc-574a802f-28"
|
|
5412
5216
|
})([
|
|
5413
5217
|
`position:relative;overflow:hidden;width:100%;border-radius:8px;outline:none;background:`,
|
|
5414
5218
|
`;&:hover img,&:focus-visible img{transform:scale(1.025);}&:focus-visible{box-shadow:0 0 0 3px `,
|
|
5415
5219
|
`;}@media (max-width:767px){overflow:visible;border-radius:0;}`
|
|
5416
5220
|
], ({ theme }) => theme.colors.background.card, ({ theme }) => theme.colors.accent.primary);
|
|
5417
|
-
var GalleryMedia =
|
|
5221
|
+
var GalleryMedia = import_styled_components3.default.div.withConfig({
|
|
5418
5222
|
componentId: "sc-574a802f-29"
|
|
5419
5223
|
})([
|
|
5420
5224
|
`position:relative;overflow:hidden;width:100%;aspect-ratio:`,
|
|
5421
5225
|
`;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
5226
|
], ({ $aspectRatio }) => $aspectRatio);
|
|
5423
|
-
var GalleryOverlay =
|
|
5227
|
+
var GalleryOverlay = import_styled_components3.default.p.withConfig({
|
|
5424
5228
|
componentId: "sc-574a802f-30"
|
|
5425
5229
|
})([
|
|
5426
5230
|
`position:absolute;right:0;bottom:0;left:0;min-height:76px;margin:0;padding:20px 24px;color:`,
|
|
@@ -5429,7 +5233,7 @@ var GalleryOverlay = import_styled_components4.default.p.withConfig({
|
|
|
5429
5233
|
`:hover &,`,
|
|
5430
5234
|
`: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
5235
|
], ({ theme }) => theme.colors.text.content, ({ theme }) => theme.colors.background.card, GalleryCard, GalleryCard);
|
|
5432
|
-
var GalleryPagination =
|
|
5236
|
+
var GalleryPagination = import_styled_components3.default.nav.withConfig({
|
|
5433
5237
|
componentId: "sc-574a802f-31"
|
|
5434
5238
|
})([
|
|
5435
5239
|
`display:flex;min-height:28px;margin:32px auto 0;align-items:center;justify-content:center;gap:8px;color:`,
|
|
@@ -5440,7 +5244,7 @@ var GalleryPagination = import_styled_components4.default.nav.withConfig({
|
|
|
5440
5244
|
], ({ theme }) => theme.colors.text.content, ({ theme }) => theme.colors.accent.foreground, ({ theme }) => theme.colors.accent.primary, ({ theme }) => theme.colors.border.line);
|
|
5441
5245
|
|
|
5442
5246
|
// src/commodity-original/app/about-us/AboutUsSections.tsx
|
|
5443
|
-
var AboutRegisterShell = (0,
|
|
5247
|
+
var AboutRegisterShell = (0, import_styled_components4.default)(PageShell).withConfig({
|
|
5444
5248
|
componentId: "sc-50ac4f1b-0"
|
|
5445
5249
|
})([
|
|
5446
5250
|
`&.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 +5486,7 @@ var import_react_i18next4 = require("react-i18next");
|
|
|
5682
5486
|
// src/wikex/fees-table.tsx
|
|
5683
5487
|
var import_jsx_runtime17 = require("react/jsx-runtime");
|
|
5684
5488
|
var import_react14 = require("react");
|
|
5685
|
-
var
|
|
5489
|
+
var import_styled_components10 = __toESM(require("styled-components"));
|
|
5686
5490
|
var import_TextField2 = __toESM(require("@mui/material/TextField"));
|
|
5687
5491
|
var import_Dialog = __toESM(require("@mui/material/Dialog"));
|
|
5688
5492
|
var import_DialogTitle = __toESM(require("@mui/material/DialogTitle"));
|
|
@@ -5690,9 +5494,9 @@ var import_DialogContent = __toESM(require("@mui/material/DialogContent"));
|
|
|
5690
5494
|
var import_DialogContentText = __toESM(require("@mui/material/DialogContentText"));
|
|
5691
5495
|
var import_DialogActions = __toESM(require("@mui/material/DialogActions"));
|
|
5692
5496
|
var import_Button9 = __toESM(require("@mui/material/Button"));
|
|
5693
|
-
var
|
|
5694
|
-
var
|
|
5695
|
-
var
|
|
5497
|
+
var import_Select2 = __toESM(require("@mui/material/Select"));
|
|
5498
|
+
var import_MenuItem2 = __toESM(require("@mui/material/MenuItem"));
|
|
5499
|
+
var import_Checkbox2 = __toESM(require("@mui/material/Checkbox"));
|
|
5696
5500
|
|
|
5697
5501
|
// src/commodity-original/styles/colors.ts
|
|
5698
5502
|
var lightColors = {
|
|
@@ -5840,26 +5644,26 @@ var appTheme = {
|
|
|
5840
5644
|
var import_react13 = require("react");
|
|
5841
5645
|
|
|
5842
5646
|
// src/commodity-original/components/Table/style.ts
|
|
5843
|
-
var
|
|
5844
|
-
var TableScrollContainer =
|
|
5647
|
+
var import_styled_components5 = __toESM(require("styled-components"));
|
|
5648
|
+
var TableScrollContainer = import_styled_components5.default.div.withConfig({
|
|
5845
5649
|
componentId: "sc-b3eceaf0-0"
|
|
5846
5650
|
})([
|
|
5847
5651
|
`min-width:0;width:100%;max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain;`
|
|
5848
5652
|
]);
|
|
5849
|
-
var TableRoot =
|
|
5653
|
+
var TableRoot = import_styled_components5.default.table.withConfig({
|
|
5850
5654
|
componentId: "sc-b3eceaf0-1"
|
|
5851
5655
|
})([
|
|
5852
5656
|
`width:100%;min-width:`,
|
|
5853
5657
|
`;border-spacing:0;border-collapse:separate;border-radius:12px 12px 0 0;color:`,
|
|
5854
5658
|
`;font-family:var(--font-manrope),Arial,Helvetica,sans-serif;text-align:left;`
|
|
5855
5659
|
], ({ $minWidth }) => $minWidth ?? "100%", ({ theme }) => theme.colors.text.primary);
|
|
5856
|
-
var TableHeaderRow =
|
|
5660
|
+
var TableHeaderRow = import_styled_components5.default.tr.withConfig({
|
|
5857
5661
|
componentId: "sc-b3eceaf0-2"
|
|
5858
5662
|
})([
|
|
5859
5663
|
`background:`,
|
|
5860
5664
|
`;`
|
|
5861
5665
|
], ({ theme }) => theme.colors.background.input);
|
|
5862
|
-
var TableHeaderCell =
|
|
5666
|
+
var TableHeaderCell = import_styled_components5.default.th.withConfig({
|
|
5863
5667
|
componentId: "sc-b3eceaf0-3"
|
|
5864
5668
|
})([
|
|
5865
5669
|
``,
|
|
@@ -5876,13 +5680,13 @@ var TableHeaderCell = import_styled_components6.default.th.withConfig({
|
|
|
5876
5680
|
background: ${theme.colors.background.input};
|
|
5877
5681
|
` : ""}
|
|
5878
5682
|
`, ({ theme }) => theme.colors.border.line, ({ theme }) => theme.colors.text.primary, TableRoot);
|
|
5879
|
-
var TableRow =
|
|
5683
|
+
var TableRow = import_styled_components5.default.tr.withConfig({
|
|
5880
5684
|
componentId: "sc-b3eceaf0-4"
|
|
5881
5685
|
})([
|
|
5882
5686
|
`background:`,
|
|
5883
5687
|
`;`
|
|
5884
5688
|
], ({ theme }) => theme.colors.background.deep);
|
|
5885
|
-
var TableCell =
|
|
5689
|
+
var TableCell = import_styled_components5.default.td.withConfig({
|
|
5886
5690
|
componentId: "sc-b3eceaf0-5"
|
|
5887
5691
|
})([
|
|
5888
5692
|
``,
|
|
@@ -5899,26 +5703,26 @@ var TableCell = import_styled_components6.default.td.withConfig({
|
|
|
5899
5703
|
background: ${theme.colors.background.deep};
|
|
5900
5704
|
` : ""}
|
|
5901
5705
|
`, ({ theme }) => theme.colors.border.line, ({ theme }) => theme.colors.text.primary, TableRoot);
|
|
5902
|
-
var TableSortButton =
|
|
5706
|
+
var TableSortButton = import_styled_components5.default.button.withConfig({
|
|
5903
5707
|
componentId: "sc-b3eceaf0-6"
|
|
5904
5708
|
})([
|
|
5905
5709
|
`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
5710
|
`;outline-offset:3px;}`
|
|
5907
5711
|
], ({ theme }) => theme.colors.accent.primary);
|
|
5908
|
-
var TableSelectionInput =
|
|
5712
|
+
var TableSelectionInput = import_styled_components5.default.input.withConfig({
|
|
5909
5713
|
componentId: "sc-b3eceaf0-7"
|
|
5910
5714
|
})([
|
|
5911
5715
|
`width:16px;height:16px;margin:0;accent-color:`,
|
|
5912
5716
|
`;cursor:pointer;&:disabled{cursor:not-allowed;}`
|
|
5913
5717
|
], ({ theme }) => theme.colors.accent.primary);
|
|
5914
|
-
var TableExpandButton =
|
|
5718
|
+
var TableExpandButton = import_styled_components5.default.button.withConfig({
|
|
5915
5719
|
componentId: "sc-b3eceaf0-8"
|
|
5916
5720
|
})([
|
|
5917
5721
|
`margin:0;padding:0;border:0;color:`,
|
|
5918
5722
|
`;background:transparent;cursor:pointer;font:inherit;line-height:inherit;&:focus-visible{outline:2px solid `,
|
|
5919
5723
|
`;outline-offset:3px;}`
|
|
5920
5724
|
], ({ theme }) => theme.colors.text.primary, ({ theme }) => theme.colors.accent.primary);
|
|
5921
|
-
var TableExpandedCell = (0,
|
|
5725
|
+
var TableExpandedCell = (0, import_styled_components5.default)(TableCell).withConfig({
|
|
5922
5726
|
componentId: "sc-b3eceaf0-9"
|
|
5923
5727
|
})([
|
|
5924
5728
|
`background:`,
|
|
@@ -5972,6 +5776,7 @@ function getSelectionType(rowSelection) {
|
|
|
5972
5776
|
return rowSelection.type ?? "checkbox";
|
|
5973
5777
|
}
|
|
5974
5778
|
function Table({
|
|
5779
|
+
ariaLabel,
|
|
5975
5780
|
className,
|
|
5976
5781
|
columns,
|
|
5977
5782
|
dataSource,
|
|
@@ -6031,6 +5836,7 @@ function Table({
|
|
|
6031
5836
|
{
|
|
6032
5837
|
$minWidth: scroll?.x === void 0 ? void 0 : getTableColumnSize(scroll.x),
|
|
6033
5838
|
"aria-busy": loading || void 0,
|
|
5839
|
+
"aria-label": ariaLabel,
|
|
6034
5840
|
className,
|
|
6035
5841
|
"data-size": size,
|
|
6036
5842
|
children: [
|
|
@@ -6051,6 +5857,7 @@ function Table({
|
|
|
6051
5857
|
$fixed: column.fixed,
|
|
6052
5858
|
$fixedOffset: getTableFixedColumnOffset(columns, columnIndex),
|
|
6053
5859
|
$width: column.width === void 0 ? void 0 : getTableColumnSize(column.width),
|
|
5860
|
+
"data-column-key": column.key,
|
|
6054
5861
|
scope: "col",
|
|
6055
5862
|
children: column.sortable ? /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
|
|
6056
5863
|
TableSortButton,
|
|
@@ -6070,7 +5877,7 @@ function Table({
|
|
|
6070
5877
|
const selectionProps = rowSelection?.getCheckboxProps?.(record);
|
|
6071
5878
|
const isExpanded = expandedRowKeySet.has(recordKey);
|
|
6072
5879
|
return /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(import_react13.Fragment, { children: [
|
|
6073
|
-
/* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(TableRow, { children: [
|
|
5880
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(TableRow, { "data-row-key": recordKey, children: [
|
|
6074
5881
|
rowSelection ? /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(TableCell, { children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
|
|
6075
5882
|
TableSelectionInput,
|
|
6076
5883
|
{
|
|
@@ -6119,23 +5926,23 @@ var import_react_i18next3 = require("react-i18next");
|
|
|
6119
5926
|
var chevron_right_default = "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNCIgaGVpZ2h0PSIxNCIgdmlld0JveD0iMCAwIDE0IDE0IiBmaWxsPSJub25lIj4KICA8cGF0aCBkPSJNNS4yNSAzLjVMOC43NSA3TDUuMjUgMTAuNSIgc3Ryb2tlPSJjdXJyZW50Q29sb3IiIHN0cm9rZS13aWR0aD0iMS4xNjY2NyIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+Cjwvc3ZnPgo=";
|
|
6120
5927
|
|
|
6121
5928
|
// src/commodity-original/components/Pagination/style.ts
|
|
6122
|
-
var
|
|
6123
|
-
var PaginationNav =
|
|
5929
|
+
var import_styled_components6 = require("styled-components");
|
|
5930
|
+
var PaginationNav = import_styled_components6.styled.nav.withConfig({
|
|
6124
5931
|
componentId: "sc-522a1750-0"
|
|
6125
5932
|
})([
|
|
6126
5933
|
`display:flex;justify-content:center;`
|
|
6127
5934
|
]);
|
|
6128
|
-
var PaginationList =
|
|
5935
|
+
var PaginationList = import_styled_components6.styled.ul.withConfig({
|
|
6129
5936
|
componentId: "sc-522a1750-1"
|
|
6130
5937
|
})([
|
|
6131
5938
|
`display:flex;margin:0;padding:0;align-items:center;gap:8px;list-style:none;`
|
|
6132
5939
|
]);
|
|
6133
|
-
var PaginationItem =
|
|
5940
|
+
var PaginationItem = import_styled_components6.styled.li.withConfig({
|
|
6134
5941
|
componentId: "sc-522a1750-2"
|
|
6135
5942
|
})([
|
|
6136
5943
|
`display:flex;`
|
|
6137
5944
|
]);
|
|
6138
|
-
var PaginationButton =
|
|
5945
|
+
var PaginationButton = import_styled_components6.styled.button.withConfig({
|
|
6139
5946
|
componentId: "sc-522a1750-3"
|
|
6140
5947
|
})([
|
|
6141
5948
|
`display:inline-flex;width:28px;height:28px;align-items:center;justify-content:center;border:1px solid `,
|
|
@@ -6150,7 +5957,7 @@ var PaginationButton = import_styled_components7.styled.button.withConfig({
|
|
|
6150
5957
|
`;}&:disabled{cursor:not-allowed;}&:focus-visible{outline:2px solid `,
|
|
6151
5958
|
`;outline-offset:2px;}`
|
|
6152
5959
|
], ({ 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 =
|
|
5960
|
+
var PaginationArrow = import_styled_components6.styled.span.withConfig({
|
|
6154
5961
|
componentId: "sc-522a1750-4"
|
|
6155
5962
|
})([
|
|
6156
5963
|
`width:16px;height:16px;background:currentColor;mask:url("`,
|
|
@@ -6240,8 +6047,8 @@ function Pagination2({
|
|
|
6240
6047
|
}
|
|
6241
6048
|
|
|
6242
6049
|
// src/commodity-original/components/InputCommon/style.ts
|
|
6243
|
-
var
|
|
6244
|
-
var InputCommonRoot =
|
|
6050
|
+
var import_styled_components7 = __toESM(require("styled-components"));
|
|
6051
|
+
var InputCommonRoot = import_styled_components7.default.div.withConfig({
|
|
6245
6052
|
componentId: "sc-5ccafcdd-0"
|
|
6246
6053
|
})([
|
|
6247
6054
|
`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 +6056,7 @@ var InputCommonRoot = import_styled_components8.default.div.withConfig({
|
|
|
6249
6056
|
`;background:`,
|
|
6250
6057
|
`;}&[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
6058
|
], ({ theme }) => theme.colors.background.input, ({ theme }) => theme.colors.accent.primary, ({ theme }) => theme.colors.background.canvas);
|
|
6252
|
-
var InputCommonField =
|
|
6059
|
+
var InputCommonField = import_styled_components7.default.input.withConfig({
|
|
6253
6060
|
componentId: "sc-5ccafcdd-1"
|
|
6254
6061
|
})([
|
|
6255
6062
|
`width:100%;min-width:0;border:0;outline:0;color:`,
|
|
@@ -6257,7 +6064,7 @@ var InputCommonField = import_styled_components8.default.input.withConfig({
|
|
|
6257
6064
|
`[data-size="sm"] &{font-size:12px;line-height:16px;}`,
|
|
6258
6065
|
`[data-size="lg"] &{font-size:16px;line-height:22px;}&::placeholder{color:#9ea3ad;opacity:1;}&:disabled{cursor:not-allowed;}`
|
|
6259
6066
|
], ({ theme }) => theme.colors.text.primary, InputCommonRoot, InputCommonRoot);
|
|
6260
|
-
var InputAdornment =
|
|
6067
|
+
var InputAdornment = import_styled_components7.default.span.withConfig({
|
|
6261
6068
|
componentId: "sc-5ccafcdd-2"
|
|
6262
6069
|
})([
|
|
6263
6070
|
`display:inline-flex;width:16px;height:16px;flex:0 0 16px;align-items:center;justify-content:center;color:`,
|
|
@@ -6287,13 +6094,13 @@ function InputCommon({
|
|
|
6287
6094
|
}
|
|
6288
6095
|
|
|
6289
6096
|
// src/commodity-original/components/TabCommon/style.ts
|
|
6290
|
-
var
|
|
6291
|
-
var TabCommonList =
|
|
6097
|
+
var import_styled_components8 = __toESM(require("styled-components"));
|
|
6098
|
+
var TabCommonList = import_styled_components8.default.div.withConfig({
|
|
6292
6099
|
componentId: "sc-370a48e5-0"
|
|
6293
6100
|
})([
|
|
6294
6101
|
`display:flex;gap:16px;align-items:center;overflow-x:auto;&[data-size="sm"]{gap:12px;}&[data-size="lg"]{gap:20px;}`
|
|
6295
6102
|
]);
|
|
6296
|
-
var TabButton =
|
|
6103
|
+
var TabButton = import_styled_components8.default.button.withConfig({
|
|
6297
6104
|
componentId: "sc-370a48e5-1"
|
|
6298
6105
|
})([
|
|
6299
6106
|
`position:relative;display:inline-flex;padding:8px 0;align-items:center;border:0;color:`,
|
|
@@ -6304,7 +6111,7 @@ var TabButton = import_styled_components9.default.button.withConfig({
|
|
|
6304
6111
|
`;}&: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
6112
|
`;outline-offset:2px;}`
|
|
6306
6113
|
], ({ 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 =
|
|
6114
|
+
var TabLine = import_styled_components8.default.span.withConfig({
|
|
6308
6115
|
componentId: "sc-370a48e5-2"
|
|
6309
6116
|
})([
|
|
6310
6117
|
`position:absolute;bottom:0;left:50%;width:107px;max-width:100%;height:2px;color:`,
|
|
@@ -6354,84 +6161,84 @@ function TabCommon({
|
|
|
6354
6161
|
}
|
|
6355
6162
|
|
|
6356
6163
|
// src/commodity-original/app/bang-phi-ky-quy/style.ts
|
|
6357
|
-
var
|
|
6358
|
-
var FeesAndMarginMain =
|
|
6164
|
+
var import_styled_components9 = __toESM(require("styled-components"));
|
|
6165
|
+
var FeesAndMarginMain = import_styled_components9.default.main.withConfig({
|
|
6359
6166
|
componentId: "sc-a2e40b03-0"
|
|
6360
6167
|
})([
|
|
6361
6168
|
`min-height:calc(100vh - var(--header-height));background:`,
|
|
6362
6169
|
`;`
|
|
6363
6170
|
], ({ theme }) => theme.colors.background.warm);
|
|
6364
|
-
var FeesAndMarginPageContent =
|
|
6171
|
+
var FeesAndMarginPageContent = import_styled_components9.default.div.withConfig({
|
|
6365
6172
|
componentId: "sc-a2e40b03-1"
|
|
6366
6173
|
})([
|
|
6367
6174
|
`width:min(1920px,100%);margin:0 auto;padding:58px 16px 80px;@media (max-width:767px){padding:32px 16px 48px;}`
|
|
6368
6175
|
]);
|
|
6369
|
-
var FeesAndMarginHeader =
|
|
6176
|
+
var FeesAndMarginHeader = import_styled_components9.default.header.withConfig({
|
|
6370
6177
|
componentId: "sc-a2e40b03-2"
|
|
6371
6178
|
})([
|
|
6372
6179
|
`h1{margin:0;color:`,
|
|
6373
6180
|
`;font-family:var(--Font-Landingpage,Inter);font-size:40px;font-weight:700;line-height:50px;}p{margin:16px 0 0;color:`,
|
|
6374
6181
|
`;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
6182
|
], ({ theme }) => theme.colors.text.primary, ({ theme }) => theme.colors.text.primary);
|
|
6376
|
-
var FeesAndMarginToolbar =
|
|
6183
|
+
var FeesAndMarginToolbar = import_styled_components9.default.section.withConfig({
|
|
6377
6184
|
componentId: "sc-a2e40b03-3"
|
|
6378
6185
|
})([
|
|
6379
6186
|
`margin-top:32px;`
|
|
6380
6187
|
]);
|
|
6381
|
-
var FeesAndMarginToolbarInner =
|
|
6188
|
+
var FeesAndMarginToolbarInner = import_styled_components9.default.div.withConfig({
|
|
6382
6189
|
componentId: "sc-a2e40b03-4"
|
|
6383
6190
|
})([
|
|
6384
6191
|
`display:flex;gap:16px;align-items:center;justify-content:space-between;@media (max-width:767px){align-items:stretch;flex-direction:column;}`
|
|
6385
6192
|
]);
|
|
6386
|
-
var FeesAndMarginSearch =
|
|
6193
|
+
var FeesAndMarginSearch = import_styled_components9.default.div.withConfig({
|
|
6387
6194
|
componentId: "sc-a2e40b03-5"
|
|
6388
6195
|
})([
|
|
6389
6196
|
`width:220px;@media (max-width:767px){order:-1;width:100%;}`
|
|
6390
6197
|
]);
|
|
6391
|
-
var FeesSearchIcon =
|
|
6198
|
+
var FeesSearchIcon = import_styled_components9.default.span.withConfig({
|
|
6392
6199
|
componentId: "sc-a2e40b03-6"
|
|
6393
6200
|
})([
|
|
6394
6201
|
`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
6202
|
]);
|
|
6396
|
-
var FeesAndMarginTable =
|
|
6203
|
+
var FeesAndMarginTable = import_styled_components9.default.section.withConfig({
|
|
6397
6204
|
componentId: "sc-a2e40b03-7"
|
|
6398
6205
|
})([
|
|
6399
6206
|
`margin-top:24px;td{white-space:pre-line;}`
|
|
6400
6207
|
]);
|
|
6401
|
-
var FeesAndMarginPagination =
|
|
6208
|
+
var FeesAndMarginPagination = import_styled_components9.default.div.withConfig({
|
|
6402
6209
|
componentId: "sc-a2e40b03-8"
|
|
6403
6210
|
})([
|
|
6404
6211
|
`display:flex;margin-top:32px;justify-content:center;`
|
|
6405
6212
|
]);
|
|
6406
|
-
var FeesMonthNavigation =
|
|
6213
|
+
var FeesMonthNavigation = import_styled_components9.default.nav.withConfig({
|
|
6407
6214
|
componentId: "sc-a2e40b03-9"
|
|
6408
6215
|
})([
|
|
6409
6216
|
`margin-top:32px;@media (max-width:767px){display:none;}`
|
|
6410
6217
|
]);
|
|
6411
|
-
var FeesMonthTitle =
|
|
6218
|
+
var FeesMonthTitle = import_styled_components9.default.p.withConfig({
|
|
6412
6219
|
componentId: "sc-a2e40b03-10"
|
|
6413
6220
|
})([
|
|
6414
6221
|
`margin:0;color:`,
|
|
6415
6222
|
`;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
6223
|
], ({ theme }) => theme.colors.text.primary);
|
|
6417
|
-
var FeesMonthList =
|
|
6224
|
+
var FeesMonthList = import_styled_components9.default.ul.withConfig({
|
|
6418
6225
|
componentId: "sc-a2e40b03-11"
|
|
6419
6226
|
})([
|
|
6420
6227
|
`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
6228
|
]);
|
|
6422
|
-
var FeesMonthButton =
|
|
6229
|
+
var FeesMonthButton = import_styled_components9.default.button.withConfig({
|
|
6423
6230
|
componentId: "sc-a2e40b03-12"
|
|
6424
6231
|
})([
|
|
6425
6232
|
`display:inline-flex;gap:4px;padding:0;border:0;background:transparent;cursor:pointer;white-space:nowrap;&:focus-visible{outline:2px solid `,
|
|
6426
6233
|
`;outline-offset:2px;}`
|
|
6427
6234
|
], ({ theme }) => theme.colors.accent.primary);
|
|
6428
|
-
var FeesMonthName =
|
|
6235
|
+
var FeesMonthName = import_styled_components9.default.span.withConfig({
|
|
6429
6236
|
componentId: "sc-a2e40b03-13"
|
|
6430
6237
|
})([
|
|
6431
6238
|
`color:`,
|
|
6432
6239
|
`;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
6240
|
], ({ theme }) => theme.colors.text.secondary);
|
|
6434
|
-
var FeesMonthCode =
|
|
6241
|
+
var FeesMonthCode = import_styled_components9.default.span.withConfig({
|
|
6435
6242
|
componentId: "sc-a2e40b03-14"
|
|
6436
6243
|
})([
|
|
6437
6244
|
`color:`,
|
|
@@ -6439,37 +6246,55 @@ var FeesMonthCode = import_styled_components10.default.span.withConfig({
|
|
|
6439
6246
|
], ({ theme }) => theme.colors.text.primary);
|
|
6440
6247
|
|
|
6441
6248
|
// src/wikex/fees-table-model.ts
|
|
6442
|
-
var FEES_PAGE_SIZE =
|
|
6249
|
+
var FEES_PAGE_SIZE = 25;
|
|
6443
6250
|
function normalizeFeesSearch(value4) {
|
|
6444
6251
|
return value4.normalize("NFD").replace(/[\u0300-\u036f]/g, "").replace(/đ/g, "d").replace(/Đ/g, "D").toLowerCase().trim();
|
|
6445
6252
|
}
|
|
6446
6253
|
function filterFeesRows(data, search, tag) {
|
|
6447
6254
|
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
|
-
|
|
6255
|
+
return data.rows.filter((row) => (!tag || row.tags.includes(tag)) && (!query || Object.values(row.cells).some((cell) => normalizeFeesSearch(cell).includes(query))));
|
|
6256
|
+
}
|
|
6257
|
+
function paginateFeesRows(rows, requestedPage, pageSize = FEES_PAGE_SIZE) {
|
|
6258
|
+
const size = pageSize === -1 ? Math.max(1, rows.length) : Number.isInteger(pageSize) && pageSize > 0 ? pageSize : FEES_PAGE_SIZE;
|
|
6259
|
+
const pageCount = Math.max(1, Math.ceil(rows.length / size));
|
|
6260
|
+
const page = Math.min(pageCount, Math.max(1, Number.isFinite(requestedPage) ? Math.floor(requestedPage) : 1));
|
|
6261
|
+
return { page, pageCount, rows: rows.slice((page - 1) * size, page * size) };
|
|
6262
|
+
}
|
|
6263
|
+
function moveFeesItem(items, from, to) {
|
|
6264
|
+
if (!Number.isInteger(from) || !Number.isInteger(to) || from < 0 || from >= items.length || to < 0 || to >= items.length || from === to) return items;
|
|
6265
|
+
const next = [...items];
|
|
6266
|
+
const [item] = next.splice(from, 1);
|
|
6267
|
+
next.splice(to, 0, item);
|
|
6268
|
+
return next;
|
|
6269
|
+
}
|
|
6270
|
+
function isRecord(value4) {
|
|
6271
|
+
return value4 !== null && typeof value4 === "object" && !Array.isArray(value4);
|
|
6272
|
+
}
|
|
6273
|
+
function isStringArray(value4) {
|
|
6274
|
+
return Array.isArray(value4) && value4.every((item) => typeof item === "string");
|
|
6275
|
+
}
|
|
6276
|
+
function validateFeesTable(value4) {
|
|
6277
|
+
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.");
|
|
6278
|
+
if (!isRecord(value4) || !Array.isArray(value4.columns) || !value4.columns.length || !Array.isArray(value4.rows) || value4.tags !== void 0 && !isStringArray(value4.tags)) throw invalid();
|
|
6279
|
+
const keys2 = /* @__PURE__ */ new Set();
|
|
6280
|
+
const columns = value4.columns.map((column) => {
|
|
6281
|
+
if (!isRecord(column) || typeof column.key !== "string" || !column.key || keys2.has(column.key) || typeof column.title !== "string") throw invalid();
|
|
6282
|
+
keys2.add(column.key);
|
|
6283
|
+
return { key: column.key, title: column.title };
|
|
6284
|
+
});
|
|
6285
|
+
if (!keys2.has("name")) throw invalid();
|
|
6286
|
+
const ids = /* @__PURE__ */ new Set();
|
|
6287
|
+
const rows = value4.rows.map((row) => {
|
|
6288
|
+
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();
|
|
6289
|
+
ids.add(row.id);
|
|
6290
|
+
return { id: row.id, cells: { ...row.cells }, tags: [...row.tags] };
|
|
6291
|
+
});
|
|
6292
|
+
return { columns, rows, ...value4.tags !== void 0 ? { tags: [...value4.tags] } : {} };
|
|
6454
6293
|
}
|
|
6455
6294
|
function parseFeesTable(value4, fallback) {
|
|
6456
6295
|
if (typeof value4 !== "string") return fallback;
|
|
6457
6296
|
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;
|
|
6297
|
+
return validateFeesTable(JSON.parse(value4));
|
|
6473
6298
|
} catch {
|
|
6474
6299
|
return fallback;
|
|
6475
6300
|
}
|
|
@@ -6570,52 +6395,119 @@ function defaultFeesTable(t) {
|
|
|
6570
6395
|
}
|
|
6571
6396
|
|
|
6572
6397
|
// src/wikex/fees-table.tsx
|
|
6573
|
-
var
|
|
6574
|
-
|
|
6398
|
+
var fallbackColors = lightColors;
|
|
6399
|
+
var feesTheme = {
|
|
6400
|
+
colors: Object.fromEntries(Object.entries(appTheme.colors).map(([group, tokens]) => [
|
|
6401
|
+
group,
|
|
6402
|
+
Object.fromEntries(Object.entries(tokens).map(([name, variable]) => [
|
|
6403
|
+
name,
|
|
6404
|
+
variable.replace(/\)$/, `, ${fallbackColors[group][name]})`)
|
|
6405
|
+
]))
|
|
6406
|
+
]))
|
|
6407
|
+
};
|
|
6408
|
+
var EditorActions = import_styled_components10.default.div.withConfig({
|
|
6409
|
+
componentId: "sc-a6ff7adc-0"
|
|
6575
6410
|
})([
|
|
6576
6411
|
`display:flex;flex-wrap:wrap;gap:8px;margin-top:16px;`
|
|
6577
6412
|
]);
|
|
6578
|
-
var EditGroup =
|
|
6579
|
-
componentId: "sc-
|
|
6413
|
+
var EditGroup = import_styled_components10.default.div.withConfig({
|
|
6414
|
+
componentId: "sc-a6ff7adc-1"
|
|
6580
6415
|
})([
|
|
6581
6416
|
`display:flex;flex-direction:column;gap:6px;`
|
|
6582
6417
|
]);
|
|
6583
|
-
var HeaderGroup = (0,
|
|
6584
|
-
componentId: "sc-
|
|
6418
|
+
var HeaderGroup = (0, import_styled_components10.default)(EditGroup).withConfig({
|
|
6419
|
+
componentId: "sc-a6ff7adc-2"
|
|
6585
6420
|
})([
|
|
6586
6421
|
`gap:8px;`
|
|
6587
6422
|
]);
|
|
6588
|
-
var HeaderTitle =
|
|
6589
|
-
componentId: "sc-
|
|
6423
|
+
var HeaderTitle = import_styled_components10.default.div.withConfig({
|
|
6424
|
+
componentId: "sc-a6ff7adc-3"
|
|
6590
6425
|
})([
|
|
6591
6426
|
`display:flex;align-items:flex-start;min-height:var(--fees-header-title-height,36px);`
|
|
6592
6427
|
]);
|
|
6593
|
-
var HeaderActions =
|
|
6594
|
-
componentId: "sc-
|
|
6428
|
+
var HeaderActions = import_styled_components10.default.div.withConfig({
|
|
6429
|
+
componentId: "sc-a6ff7adc-4"
|
|
6595
6430
|
})([
|
|
6596
6431
|
`display:flex;align-items:center;min-height:24px;`
|
|
6597
6432
|
]);
|
|
6598
|
-
var AlignedFeesTable = (0,
|
|
6599
|
-
componentId: "sc-
|
|
6433
|
+
var AlignedFeesTable = (0, import_styled_components10.default)(FeesAndMarginTable).withConfig({
|
|
6434
|
+
componentId: "sc-a6ff7adc-5"
|
|
6600
6435
|
})([
|
|
6601
6436
|
`&[data-editable] th{vertical-align:top;}`
|
|
6602
6437
|
]);
|
|
6603
|
-
var EditorButton =
|
|
6604
|
-
componentId: "sc-
|
|
6438
|
+
var EditorButton = import_styled_components10.default.button.withConfig({
|
|
6439
|
+
componentId: "sc-a6ff7adc-6"
|
|
6605
6440
|
})([
|
|
6606
6441
|
`padding:7px 12px;border:1px solid `,
|
|
6607
6442
|
`;border-radius:6px;background:`,
|
|
6608
6443
|
`;color:`,
|
|
6609
6444
|
`;font:inherit;font-size:13px;cursor:pointer;&:hover,&:focus-visible{border-color:`,
|
|
6445
|
+
`;}&:disabled{cursor:default;opacity:.4;}`
|
|
6446
|
+
], ({ theme }) => theme.colors.border.line, ({ theme }) => theme.colors.background.input, ({ theme }) => theme.colors.text.primary, ({ theme }) => theme.colors.accent.primary);
|
|
6447
|
+
var OrderActions = import_styled_components10.default.div.withConfig({
|
|
6448
|
+
componentId: "sc-a6ff7adc-7"
|
|
6449
|
+
})([
|
|
6450
|
+
`display:flex;gap:6px;align-items:center;flex-wrap:wrap;`
|
|
6451
|
+
]);
|
|
6452
|
+
var PositionLabel = import_styled_components10.default.label.withConfig({
|
|
6453
|
+
componentId: "sc-a6ff7adc-8"
|
|
6454
|
+
})([
|
|
6455
|
+
`display:inline-flex;align-items:center;gap:6px;font-size:12px;`
|
|
6456
|
+
]);
|
|
6457
|
+
var PositionInput = import_styled_components10.default.input.withConfig({
|
|
6458
|
+
componentId: "sc-a6ff7adc-9"
|
|
6459
|
+
})([
|
|
6460
|
+
`width:56px;padding:5px;border:1px solid `,
|
|
6461
|
+
`;border-radius:4px;background:`,
|
|
6462
|
+
`;color:`,
|
|
6463
|
+
`;font:inherit;&:focus{outline:1px solid `,
|
|
6610
6464
|
`;}`
|
|
6611
6465
|
], ({ 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-
|
|
6466
|
+
var ColumnRow = import_styled_components10.default.div.withConfig({
|
|
6467
|
+
componentId: "sc-a6ff7adc-10"
|
|
6468
|
+
})([
|
|
6469
|
+
`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;}`
|
|
6470
|
+
]);
|
|
6471
|
+
var PaginationControls = (0, import_styled_components10.default)(FeesAndMarginPagination).withConfig({
|
|
6472
|
+
componentId: "sc-a6ff7adc-11"
|
|
6473
|
+
})([
|
|
6474
|
+
`align-items:center;flex-wrap:wrap;gap:16px 24px;`
|
|
6475
|
+
]);
|
|
6476
|
+
var PageSizeLabel = import_styled_components10.default.div.withConfig({
|
|
6477
|
+
componentId: "sc-a6ff7adc-12"
|
|
6478
|
+
})([
|
|
6479
|
+
`display:inline-flex;align-items:center;gap:8px;color:`,
|
|
6480
|
+
`;font:inherit;font-size:13px;`
|
|
6481
|
+
], ({ theme }) => theme.colors.text.primary);
|
|
6482
|
+
function Position({ value: value4, max, label, onMove }) {
|
|
6483
|
+
return /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(PositionLabel, {
|
|
6484
|
+
children: [
|
|
6485
|
+
"V\u1ECB tr\xED",
|
|
6486
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(PositionInput, {
|
|
6487
|
+
"aria-label": label,
|
|
6488
|
+
type: "number",
|
|
6489
|
+
min: 1,
|
|
6490
|
+
max,
|
|
6491
|
+
defaultValue: value4 + 1,
|
|
6492
|
+
onKeyDown: (event) => {
|
|
6493
|
+
if (event.key === "Enter") event.currentTarget.blur();
|
|
6494
|
+
},
|
|
6495
|
+
onBlur: (event) => {
|
|
6496
|
+
const next = Number(event.currentTarget.value);
|
|
6497
|
+
if (Number.isInteger(next) && next >= 1 && next <= max) onMove(next - 1);
|
|
6498
|
+
else event.currentTarget.value = String(value4 + 1);
|
|
6499
|
+
}
|
|
6500
|
+
}, value4)
|
|
6501
|
+
]
|
|
6502
|
+
});
|
|
6503
|
+
}
|
|
6504
|
+
var DeleteButton = (0, import_styled_components10.default)(EditorButton).withConfig({
|
|
6505
|
+
componentId: "sc-a6ff7adc-13"
|
|
6614
6506
|
})([
|
|
6615
6507
|
`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
6508
|
]);
|
|
6617
|
-
var CellEditorInput =
|
|
6618
|
-
componentId: "sc-
|
|
6509
|
+
var CellEditorInput = import_styled_components10.default.textarea.withConfig({
|
|
6510
|
+
componentId: "sc-a6ff7adc-14"
|
|
6619
6511
|
})([
|
|
6620
6512
|
`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
6513
|
`;}&:focus{outline:1px solid `,
|
|
@@ -6671,7 +6563,7 @@ function RowTagSelect({ selected, options, onChange }) {
|
|
|
6671
6563
|
return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(EditGroup, {
|
|
6672
6564
|
children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("div", {
|
|
6673
6565
|
ref: selectRoot,
|
|
6674
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(
|
|
6566
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(import_Select2.default, {
|
|
6675
6567
|
multiple: true,
|
|
6676
6568
|
fullWidth: true,
|
|
6677
6569
|
size: "small",
|
|
@@ -6692,10 +6584,10 @@ function RowTagSelect({ selected, options, onChange }) {
|
|
|
6692
6584
|
fontSize: 13
|
|
6693
6585
|
},
|
|
6694
6586
|
children: [
|
|
6695
|
-
options.map((item) => /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(
|
|
6587
|
+
options.map((item) => /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(import_MenuItem2.default, {
|
|
6696
6588
|
value: item,
|
|
6697
6589
|
children: [
|
|
6698
|
-
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
6590
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(import_Checkbox2.default, {
|
|
6699
6591
|
size: "small",
|
|
6700
6592
|
checked: selected.includes(item),
|
|
6701
6593
|
tabIndex: -1,
|
|
@@ -6704,7 +6596,7 @@ function RowTagSelect({ selected, options, onChange }) {
|
|
|
6704
6596
|
item
|
|
6705
6597
|
]
|
|
6706
6598
|
}, item)),
|
|
6707
|
-
!options.length && /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
6599
|
+
!options.length && /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(import_MenuItem2.default, {
|
|
6708
6600
|
disabled: true,
|
|
6709
6601
|
children: "Ch\u01B0a c\xF3 tag \u2014 d\xF9ng n\xFAt Th\xEAm tag ph\xEDa tr\xEAn"
|
|
6710
6602
|
})
|
|
@@ -6728,10 +6620,13 @@ var columnWidths = {
|
|
|
6728
6620
|
tradingHours: 160,
|
|
6729
6621
|
priceRange: 112
|
|
6730
6622
|
};
|
|
6731
|
-
function FeesTable({ value: value4, editable = false, onChange, labels, size = "md", tagOrder = [] }) {
|
|
6623
|
+
function FeesTable({ value: value4, editable = false, onChange, labels, size = "md", tagOrder = [], language = "vi" }) {
|
|
6732
6624
|
const [search, setSearch] = (0, import_react14.useState)("");
|
|
6733
6625
|
const [tag, setTag] = (0, import_react14.useState)("");
|
|
6734
6626
|
const [page, setPage] = (0, import_react14.useState)(1);
|
|
6627
|
+
const [pageSize, setPageSize] = (0, import_react14.useState)(FEES_PAGE_SIZE);
|
|
6628
|
+
const [columnsOpen, setColumnsOpen] = (0, import_react14.useState)(false);
|
|
6629
|
+
const english = language === "en";
|
|
6735
6630
|
const canEdit = editable && Boolean(onChange);
|
|
6736
6631
|
const tableRoot = (0, import_react14.useRef)(null);
|
|
6737
6632
|
(0, import_react14.useLayoutEffect)(() => {
|
|
@@ -6800,7 +6695,42 @@ function FeesTable({ value: value4, editable = false, onChange, labels, size = "
|
|
|
6800
6695
|
setTagDraft("");
|
|
6801
6696
|
};
|
|
6802
6697
|
const activeTag = tags.includes(tag) ? tag : "";
|
|
6803
|
-
const
|
|
6698
|
+
const filtered = filterFeesRows(value4, search, activeTag);
|
|
6699
|
+
const pagination = paginateFeesRows(filtered, page, pageSize);
|
|
6700
|
+
const moveColumn = (from, to) => onChange?.({
|
|
6701
|
+
...value4,
|
|
6702
|
+
columns: moveFeesItem(value4.columns, from, to)
|
|
6703
|
+
});
|
|
6704
|
+
const moveRow = (id, to) => {
|
|
6705
|
+
const rows = moveFeesItem(value4.rows, value4.rows.findIndex((row) => row.id === id), to);
|
|
6706
|
+
onChange?.({
|
|
6707
|
+
...value4,
|
|
6708
|
+
rows
|
|
6709
|
+
});
|
|
6710
|
+
const filteredIds = new Set(filtered.map((row) => row.id));
|
|
6711
|
+
const index = rows.filter((row) => filteredIds.has(row.id)).findIndex((row) => row.id === id);
|
|
6712
|
+
setPage(pageSize === -1 ? 1 : Math.floor(Math.max(0, index) / pageSize) + 1);
|
|
6713
|
+
};
|
|
6714
|
+
const addColumn = () => {
|
|
6715
|
+
const key = `column-${crypto.randomUUID()}`;
|
|
6716
|
+
onChange?.({
|
|
6717
|
+
...value4,
|
|
6718
|
+
columns: [
|
|
6719
|
+
...value4.columns,
|
|
6720
|
+
{
|
|
6721
|
+
key,
|
|
6722
|
+
title: "C\u1ED9t m\u1EDBi"
|
|
6723
|
+
}
|
|
6724
|
+
],
|
|
6725
|
+
rows: value4.rows.map((row) => ({
|
|
6726
|
+
...row,
|
|
6727
|
+
cells: {
|
|
6728
|
+
...row.cells,
|
|
6729
|
+
[key]: ""
|
|
6730
|
+
}
|
|
6731
|
+
}))
|
|
6732
|
+
});
|
|
6733
|
+
};
|
|
6804
6734
|
const changeRow = (id, patch) => onChange?.({
|
|
6805
6735
|
...value4,
|
|
6806
6736
|
rows: value4.rows.map((row) => row.id === id ? {
|
|
@@ -6860,12 +6790,12 @@ function FeesTable({ value: value4, editable = false, onChange, labels, size = "
|
|
|
6860
6790
|
title: /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(HeaderGroup, {
|
|
6861
6791
|
children: [
|
|
6862
6792
|
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(HeaderTitle, {
|
|
6863
|
-
children: "Tag"
|
|
6793
|
+
children: "Tag & th\u1EE9 t\u1EF1 d\xF2ng"
|
|
6864
6794
|
}),
|
|
6865
6795
|
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(HeaderActions, {})
|
|
6866
6796
|
]
|
|
6867
6797
|
}),
|
|
6868
|
-
width:
|
|
6798
|
+
width: 300,
|
|
6869
6799
|
render: (_unused, row) => /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(EditGroup, {
|
|
6870
6800
|
children: [
|
|
6871
6801
|
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(RowTagSelect, {
|
|
@@ -6875,6 +6805,30 @@ function FeesTable({ value: value4, editable = false, onChange, labels, size = "
|
|
|
6875
6805
|
tags: next
|
|
6876
6806
|
})
|
|
6877
6807
|
}),
|
|
6808
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(OrderActions, {
|
|
6809
|
+
children: [
|
|
6810
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(Position, {
|
|
6811
|
+
value: value4.rows.findIndex((item) => item.id === row.id),
|
|
6812
|
+
max: value4.rows.length,
|
|
6813
|
+
label: `V\u1ECB tr\xED d\xF2ng ${row.cells.name}`,
|
|
6814
|
+
onMove: (to) => moveRow(row.id, to)
|
|
6815
|
+
}),
|
|
6816
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(EditorButton, {
|
|
6817
|
+
type: "button",
|
|
6818
|
+
"aria-label": `\u0110\u01B0a d\xF2ng ${row.cells.name} l\xEAn`,
|
|
6819
|
+
disabled: value4.rows[0]?.id === row.id,
|
|
6820
|
+
onClick: () => moveRow(row.id, value4.rows.findIndex((item) => item.id === row.id) - 1),
|
|
6821
|
+
children: "\u2191"
|
|
6822
|
+
}),
|
|
6823
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(EditorButton, {
|
|
6824
|
+
type: "button",
|
|
6825
|
+
"aria-label": `\u0110\u01B0a d\xF2ng ${row.cells.name} xu\u1ED1ng`,
|
|
6826
|
+
disabled: value4.rows[value4.rows.length - 1]?.id === row.id,
|
|
6827
|
+
onClick: () => moveRow(row.id, value4.rows.findIndex((item) => item.id === row.id) + 1),
|
|
6828
|
+
children: "\u2193"
|
|
6829
|
+
})
|
|
6830
|
+
]
|
|
6831
|
+
}),
|
|
6878
6832
|
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(DeleteButton, {
|
|
6879
6833
|
type: "button",
|
|
6880
6834
|
onClick: () => {
|
|
@@ -6889,8 +6843,8 @@ function FeesTable({ value: value4, editable = false, onChange, labels, size = "
|
|
|
6889
6843
|
]
|
|
6890
6844
|
})
|
|
6891
6845
|
});
|
|
6892
|
-
return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
6893
|
-
theme:
|
|
6846
|
+
return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(import_styled_components10.ThemeProvider, {
|
|
6847
|
+
theme: feesTheme,
|
|
6894
6848
|
children: /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("div", {
|
|
6895
6849
|
ref: tableRoot,
|
|
6896
6850
|
"data-cms-table-editor": true,
|
|
@@ -6964,34 +6918,24 @@ function FeesTable({ value: value4, editable = false, onChange, labels, size = "
|
|
|
6964
6918
|
});
|
|
6965
6919
|
setSearch("");
|
|
6966
6920
|
setTag("");
|
|
6967
|
-
setPage(Math.ceil((value4.rows.length + 1) /
|
|
6921
|
+
setPage(pageSize === -1 ? 1 : Math.ceil((value4.rows.length + 1) / pageSize));
|
|
6968
6922
|
},
|
|
6969
6923
|
children: "+ Th\xEAm h\xE0ng"
|
|
6970
6924
|
}),
|
|
6971
6925
|
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(EditorButton, {
|
|
6972
6926
|
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
|
-
},
|
|
6927
|
+
onClick: addColumn,
|
|
6993
6928
|
children: "+ Th\xEAm c\u1ED9t"
|
|
6994
6929
|
}),
|
|
6930
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(EditorButton, {
|
|
6931
|
+
type: "button",
|
|
6932
|
+
onClick: () => setColumnsOpen(true),
|
|
6933
|
+
children: [
|
|
6934
|
+
"Qu\u1EA3n l\xFD c\u1ED9t (",
|
|
6935
|
+
value4.columns.length,
|
|
6936
|
+
")"
|
|
6937
|
+
]
|
|
6938
|
+
}),
|
|
6995
6939
|
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(EditorButton, {
|
|
6996
6940
|
type: "button",
|
|
6997
6941
|
onClick: () => {
|
|
@@ -7005,23 +6949,171 @@ function FeesTable({ value: value4, editable = false, onChange, labels, size = "
|
|
|
7005
6949
|
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(AlignedFeesTable, {
|
|
7006
6950
|
"data-editable": canEdit || void 0,
|
|
7007
6951
|
children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(Table, {
|
|
6952
|
+
ariaLabel: english ? "Fees and margin table" : "B\u1EA3ng ph\xED v\xE0 k\xFD qu\u1EF9",
|
|
7008
6953
|
columns,
|
|
7009
6954
|
dataSource: pagination.rows,
|
|
7010
6955
|
rowKey: "id",
|
|
7011
6956
|
size,
|
|
7012
6957
|
empty: labels?.empty ?? "Kh\xF4ng t\xECm th\u1EA5y h\xE0ng h\xF3a",
|
|
7013
6958
|
scroll: {
|
|
7014
|
-
x: Math.max(1440, value4.columns.reduce((sum, column) => sum + (columnWidths[column.key] ?? 140), 0) + (canEdit ?
|
|
6959
|
+
x: Math.max(1440, value4.columns.reduce((sum, column) => sum + (columnWidths[column.key] ?? 140), 0) + (canEdit ? 300 : 0))
|
|
7015
6960
|
}
|
|
7016
6961
|
})
|
|
7017
6962
|
}),
|
|
7018
|
-
/* @__PURE__ */ (0, import_jsx_runtime17.
|
|
7019
|
-
children:
|
|
7020
|
-
|
|
7021
|
-
|
|
7022
|
-
|
|
7023
|
-
|
|
7024
|
-
|
|
6963
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(PaginationControls, {
|
|
6964
|
+
children: [
|
|
6965
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(PageSizeLabel, {
|
|
6966
|
+
children: [
|
|
6967
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("span", {
|
|
6968
|
+
id: `${dialogId}-page-size-label`,
|
|
6969
|
+
children: english ? "Rows per page:" : "S\u1ED1 d\xF2ng m\u1ED7i trang:"
|
|
6970
|
+
}),
|
|
6971
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(import_Select2.default, {
|
|
6972
|
+
size: "small",
|
|
6973
|
+
value: pageSize,
|
|
6974
|
+
labelId: `${dialogId}-page-size-label`,
|
|
6975
|
+
inputProps: {
|
|
6976
|
+
"aria-label": english ? "Rows per page" : "S\u1ED1 d\xF2ng m\u1ED7i trang"
|
|
6977
|
+
},
|
|
6978
|
+
MenuProps: {
|
|
6979
|
+
container: () => tableRoot.current?.ownerDocument.body ?? document.body
|
|
6980
|
+
},
|
|
6981
|
+
sx: {
|
|
6982
|
+
minWidth: 80,
|
|
6983
|
+
fontSize: 13,
|
|
6984
|
+
fontFamily: "inherit"
|
|
6985
|
+
},
|
|
6986
|
+
onChange: (event) => {
|
|
6987
|
+
setPageSize(Number(event.target.value));
|
|
6988
|
+
setPage(1);
|
|
6989
|
+
},
|
|
6990
|
+
children: [
|
|
6991
|
+
[
|
|
6992
|
+
5,
|
|
6993
|
+
10,
|
|
6994
|
+
25,
|
|
6995
|
+
50,
|
|
6996
|
+
100
|
|
6997
|
+
].map((size2) => /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(import_MenuItem2.default, {
|
|
6998
|
+
value: size2,
|
|
6999
|
+
children: size2
|
|
7000
|
+
}, size2)),
|
|
7001
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(import_MenuItem2.default, {
|
|
7002
|
+
value: -1,
|
|
7003
|
+
children: english ? "All" : "T\u1EA5t c\u1EA3"
|
|
7004
|
+
})
|
|
7005
|
+
]
|
|
7006
|
+
})
|
|
7007
|
+
]
|
|
7008
|
+
}),
|
|
7009
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("span", {
|
|
7010
|
+
"aria-live": "polite",
|
|
7011
|
+
style: {
|
|
7012
|
+
fontSize: 13
|
|
7013
|
+
},
|
|
7014
|
+
children: [
|
|
7015
|
+
filtered.length ? pageSize === -1 ? 1 : (pagination.page - 1) * pageSize + 1 : 0,
|
|
7016
|
+
"\u2013",
|
|
7017
|
+
pageSize === -1 ? filtered.length : Math.min(pagination.page * pageSize, filtered.length),
|
|
7018
|
+
" / ",
|
|
7019
|
+
filtered.length
|
|
7020
|
+
]
|
|
7021
|
+
}),
|
|
7022
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(Pagination2, {
|
|
7023
|
+
page: pagination.page,
|
|
7024
|
+
pageCount: pagination.pageCount,
|
|
7025
|
+
onPageChange: setPage,
|
|
7026
|
+
ariaLabel: english ? "Fees pagination" : "Ph\xE2n trang b\u1EA3ng ph\xED",
|
|
7027
|
+
labels: {
|
|
7028
|
+
previous: english ? "Previous page" : "Trang tr\u01B0\u1EDBc",
|
|
7029
|
+
next: english ? "Next page" : "Trang sau",
|
|
7030
|
+
page: (number) => `${english ? "Go to page" : "\u0110i t\u1EDBi trang"} ${number}`,
|
|
7031
|
+
current: (number) => `${english ? "Current page" : "Trang hi\u1EC7n t\u1EA1i"}, ${number}`
|
|
7032
|
+
}
|
|
7033
|
+
})
|
|
7034
|
+
]
|
|
7035
|
+
}),
|
|
7036
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(import_Dialog.default, {
|
|
7037
|
+
open: columnsOpen && canEdit,
|
|
7038
|
+
onClose: () => setColumnsOpen(false),
|
|
7039
|
+
container: () => tableRoot.current?.ownerDocument.body ?? document.body,
|
|
7040
|
+
"aria-labelledby": `${dialogId}-columns-title`,
|
|
7041
|
+
fullWidth: true,
|
|
7042
|
+
maxWidth: "md",
|
|
7043
|
+
children: [
|
|
7044
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(import_DialogTitle.default, {
|
|
7045
|
+
id: `${dialogId}-columns-title`,
|
|
7046
|
+
children: "Qu\u1EA3n l\xFD c\u1ED9t"
|
|
7047
|
+
}),
|
|
7048
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(import_DialogContent.default, {
|
|
7049
|
+
children: [
|
|
7050
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(import_DialogContentText.default, {
|
|
7051
|
+
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."
|
|
7052
|
+
}),
|
|
7053
|
+
value4.columns.map((column, index) => /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(ColumnRow, {
|
|
7054
|
+
children: [
|
|
7055
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(CellEditor, {
|
|
7056
|
+
"aria-label": `Ti\xEAu \u0111\u1EC1 c\u1ED9t ${index + 1}`,
|
|
7057
|
+
value: column.title,
|
|
7058
|
+
onChange: (event) => onChange?.({
|
|
7059
|
+
...value4,
|
|
7060
|
+
columns: value4.columns.map((item) => item.key === column.key ? {
|
|
7061
|
+
...item,
|
|
7062
|
+
title: event.target.value
|
|
7063
|
+
} : item)
|
|
7064
|
+
})
|
|
7065
|
+
}),
|
|
7066
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(OrderActions, {
|
|
7067
|
+
children: [
|
|
7068
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(Position, {
|
|
7069
|
+
value: index,
|
|
7070
|
+
max: value4.columns.length,
|
|
7071
|
+
label: `V\u1ECB tr\xED c\u1ED9t ${column.title}`,
|
|
7072
|
+
onMove: (to) => moveColumn(index, to)
|
|
7073
|
+
}),
|
|
7074
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(EditorButton, {
|
|
7075
|
+
type: "button",
|
|
7076
|
+
"aria-label": `\u0110\u01B0a c\u1ED9t ${column.title} l\xEAn`,
|
|
7077
|
+
disabled: index === 0,
|
|
7078
|
+
onClick: () => moveColumn(index, index - 1),
|
|
7079
|
+
children: "\u2191"
|
|
7080
|
+
}),
|
|
7081
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(EditorButton, {
|
|
7082
|
+
type: "button",
|
|
7083
|
+
"aria-label": `\u0110\u01B0a c\u1ED9t ${column.title} xu\u1ED1ng`,
|
|
7084
|
+
disabled: index === value4.columns.length - 1,
|
|
7085
|
+
onClick: () => moveColumn(index, index + 1),
|
|
7086
|
+
children: "\u2193"
|
|
7087
|
+
}),
|
|
7088
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(DeleteButton, {
|
|
7089
|
+
type: "button",
|
|
7090
|
+
disabled: column.key === "name",
|
|
7091
|
+
onClick: () => setDeleteTarget({
|
|
7092
|
+
kind: "column",
|
|
7093
|
+
id: column.key,
|
|
7094
|
+
label: column.title
|
|
7095
|
+
}),
|
|
7096
|
+
children: "X\xF3a c\u1ED9t"
|
|
7097
|
+
})
|
|
7098
|
+
]
|
|
7099
|
+
})
|
|
7100
|
+
]
|
|
7101
|
+
}, column.key)),
|
|
7102
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(EditorButton, {
|
|
7103
|
+
type: "button",
|
|
7104
|
+
onClick: addColumn,
|
|
7105
|
+
children: "+ Th\xEAm c\u1ED9t"
|
|
7106
|
+
})
|
|
7107
|
+
]
|
|
7108
|
+
}),
|
|
7109
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(import_DialogActions.default, {
|
|
7110
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(import_Button9.default, {
|
|
7111
|
+
variant: "contained",
|
|
7112
|
+
onClick: () => setColumnsOpen(false),
|
|
7113
|
+
children: "Xong"
|
|
7114
|
+
})
|
|
7115
|
+
})
|
|
7116
|
+
]
|
|
7025
7117
|
}),
|
|
7026
7118
|
/* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(import_Dialog.default, {
|
|
7027
7119
|
open: createTagOpen && canEdit,
|
|
@@ -7133,7 +7225,7 @@ var monthCodes = [
|
|
|
7133
7225
|
"X",
|
|
7134
7226
|
"Z"
|
|
7135
7227
|
];
|
|
7136
|
-
function FeesAndMarginContent({ content, editable, onChange }) {
|
|
7228
|
+
function FeesAndMarginContent({ content, editable, onChange, readOnlyFields }) {
|
|
7137
7229
|
const { t } = (0, import_react_i18next4.useTranslation)();
|
|
7138
7230
|
const { isMobile } = useResponsive();
|
|
7139
7231
|
const [activeMonth] = (0, import_react15.useState)(0);
|
|
@@ -7148,9 +7240,10 @@ function FeesAndMarginContent({ content, editable, onChange }) {
|
|
|
7148
7240
|
FeesTable,
|
|
7149
7241
|
{
|
|
7150
7242
|
value: data,
|
|
7243
|
+
language: field.startsWith("en.") ? "en" : "vi",
|
|
7151
7244
|
size: isMobile ? "sm" : "md",
|
|
7152
7245
|
tagOrder: ["metal", "agriculture", "industrial"].map((category) => t(`fees.categories.${category}`)),
|
|
7153
|
-
editable,
|
|
7246
|
+
editable: editable && !readOnlyFields?.includes(field),
|
|
7154
7247
|
onChange: (next) => onChange?.(field, JSON.stringify(next)),
|
|
7155
7248
|
labels: { search: t("fees.searchPlaceholder"), all: t("fees.categories.all"), empty: t("fees.empty") }
|
|
7156
7249
|
}
|
|
@@ -7176,77 +7269,77 @@ function FeesAndMarginContent({ content, editable, onChange }) {
|
|
|
7176
7269
|
var import_react_i18next5 = require("react-i18next");
|
|
7177
7270
|
|
|
7178
7271
|
// src/commodity-original/app/chinh-sach/style.ts
|
|
7179
|
-
var
|
|
7272
|
+
var import_styled_components11 = __toESM(require("styled-components"));
|
|
7180
7273
|
var policyAccent = "#f9bb3a";
|
|
7181
|
-
var PolicyMain =
|
|
7274
|
+
var PolicyMain = import_styled_components11.default.main.withConfig({
|
|
7182
7275
|
componentId: "sc-7b2122d1-0"
|
|
7183
7276
|
})([
|
|
7184
7277
|
`display:flex;width:100%;max-width:1240px;margin:0 auto;padding:40px 20px 80px;justify-content:center;background-color:`,
|
|
7185
7278
|
`;@media (max-width:768px){padding:32px 16px;}`
|
|
7186
7279
|
], ({ theme }) => theme.colors.background.canvas);
|
|
7187
|
-
var PolicyArticle =
|
|
7280
|
+
var PolicyArticle = import_styled_components11.default.article.withConfig({
|
|
7188
7281
|
componentId: "sc-7b2122d1-1"
|
|
7189
7282
|
})([
|
|
7190
7283
|
`display:flex;width:100%;flex-direction:column;`
|
|
7191
7284
|
]);
|
|
7192
|
-
var PolicyHeader =
|
|
7285
|
+
var PolicyHeader = import_styled_components11.default.header.withConfig({
|
|
7193
7286
|
componentId: "sc-7b2122d1-2"
|
|
7194
7287
|
})([
|
|
7195
7288
|
`display:flex;flex-direction:column;p{margin-bottom:16px;}@media (max-width:768px){p{margin-bottom:4px;}}`
|
|
7196
7289
|
]);
|
|
7197
|
-
var PageTitle =
|
|
7290
|
+
var PageTitle = import_styled_components11.default.h1.withConfig({
|
|
7198
7291
|
componentId: "sc-7b2122d1-3"
|
|
7199
7292
|
})([
|
|
7200
7293
|
`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
7294
|
]);
|
|
7202
|
-
var IntroTitle =
|
|
7295
|
+
var IntroTitle = import_styled_components11.default.h2.withConfig({
|
|
7203
7296
|
componentId: "sc-7b2122d1-4"
|
|
7204
7297
|
})([
|
|
7205
7298
|
`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
7299
|
]);
|
|
7207
|
-
var Paragraph =
|
|
7300
|
+
var Paragraph = import_styled_components11.default.p.withConfig({
|
|
7208
7301
|
componentId: "sc-7b2122d1-5"
|
|
7209
7302
|
})([
|
|
7210
7303
|
`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
7304
|
]);
|
|
7212
|
-
var Section =
|
|
7305
|
+
var Section = import_styled_components11.default.section.withConfig({
|
|
7213
7306
|
componentId: "sc-7b2122d1-6"
|
|
7214
7307
|
})([
|
|
7215
7308
|
`display:flex;flex-direction:column;`
|
|
7216
7309
|
]);
|
|
7217
|
-
var SectionTitle2 =
|
|
7310
|
+
var SectionTitle2 = import_styled_components11.default.h2.withConfig({
|
|
7218
7311
|
componentId: "sc-7b2122d1-7"
|
|
7219
7312
|
})([
|
|
7220
7313
|
`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
7314
|
]);
|
|
7222
|
-
var Subsection =
|
|
7315
|
+
var Subsection = import_styled_components11.default.div.withConfig({
|
|
7223
7316
|
componentId: "sc-7b2122d1-8"
|
|
7224
7317
|
})([
|
|
7225
7318
|
`display:flex;flex-direction:column;&:not(:last-child){margin-bottom:20px;}@media (max-width:768px){&:not(:last-child){margin-bottom:24px;}}`
|
|
7226
7319
|
]);
|
|
7227
|
-
var SubsectionTitle =
|
|
7320
|
+
var SubsectionTitle = import_styled_components11.default.h3.withConfig({
|
|
7228
7321
|
componentId: "sc-7b2122d1-9"
|
|
7229
7322
|
})([
|
|
7230
7323
|
`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
7324
|
`;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
7325
|
], policyAccent);
|
|
7233
|
-
var BulletList =
|
|
7326
|
+
var BulletList = import_styled_components11.default.ul.withConfig({
|
|
7234
7327
|
componentId: "sc-7b2122d1-10"
|
|
7235
7328
|
})([
|
|
7236
7329
|
`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
7330
|
]);
|
|
7238
|
-
var NumberedList =
|
|
7331
|
+
var NumberedList = import_styled_components11.default.ol.withConfig({
|
|
7239
7332
|
componentId: "sc-7b2122d1-11"
|
|
7240
7333
|
})([
|
|
7241
7334
|
`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
7335
|
`;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
7336
|
], policyAccent);
|
|
7244
|
-
var NestedBulletList = (0,
|
|
7337
|
+
var NestedBulletList = (0, import_styled_components11.default)(BulletList).withConfig({
|
|
7245
7338
|
componentId: "sc-7b2122d1-12"
|
|
7246
7339
|
})([
|
|
7247
7340
|
`margin-top:4px;`
|
|
7248
7341
|
]);
|
|
7249
|
-
var InlineLink =
|
|
7342
|
+
var InlineLink = import_styled_components11.default.a.withConfig({
|
|
7250
7343
|
componentId: "sc-7b2122d1-13"
|
|
7251
7344
|
})([
|
|
7252
7345
|
`color:#000;font-weight:700;text-decoration:underline;text-decoration-color:`,
|
|
@@ -7393,30 +7486,30 @@ var import_navigation = require("next/navigation.js");
|
|
|
7393
7486
|
var import_react_i18next6 = require("react-i18next");
|
|
7394
7487
|
|
|
7395
7488
|
// src/commodity-original/app/comming-soon/style.ts
|
|
7396
|
-
var
|
|
7397
|
-
var ComingSoonMain =
|
|
7489
|
+
var import_styled_components12 = __toESM(require("styled-components"));
|
|
7490
|
+
var ComingSoonMain = import_styled_components12.default.main.withConfig({
|
|
7398
7491
|
componentId: "sc-c1b78d5e-0"
|
|
7399
7492
|
})([
|
|
7400
7493
|
`display:flex;min-height:635px;padding:60px 24px 120px;align-items:center;justify-content:center;background:`,
|
|
7401
7494
|
`;@media (max-width:767px){min-height:calc(100svh - var(--header-height));padding:40px 16px 64px;}`
|
|
7402
7495
|
], ({ theme }) => theme.colors.background.warm);
|
|
7403
|
-
var ComingSoonContainer =
|
|
7496
|
+
var ComingSoonContainer = import_styled_components12.default.section.withConfig({
|
|
7404
7497
|
componentId: "sc-c1b78d5e-1"
|
|
7405
7498
|
})([
|
|
7406
7499
|
`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
7500
|
]);
|
|
7408
|
-
var ComingSoonArtwork =
|
|
7501
|
+
var ComingSoonArtwork = import_styled_components12.default.div.withConfig({
|
|
7409
7502
|
componentId: "sc-c1b78d5e-2"
|
|
7410
7503
|
})([
|
|
7411
7504
|
`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
7505
|
]);
|
|
7413
|
-
var ComingSoonTitle =
|
|
7506
|
+
var ComingSoonTitle = import_styled_components12.default.h1.withConfig({
|
|
7414
7507
|
componentId: "sc-c1b78d5e-3"
|
|
7415
7508
|
})([
|
|
7416
7509
|
`margin:0;color:`,
|
|
7417
7510
|
`;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
7511
|
], ({ theme }) => theme.colors.text.primary);
|
|
7419
|
-
var ComingSoonDescription =
|
|
7512
|
+
var ComingSoonDescription = import_styled_components12.default.p.withConfig({
|
|
7420
7513
|
componentId: "sc-c1b78d5e-4"
|
|
7421
7514
|
})([
|
|
7422
7515
|
`max-width:1200px;margin:10px 0 0;color:`,
|
|
@@ -7474,66 +7567,66 @@ function ComingSoonContent() {
|
|
|
7474
7567
|
}
|
|
7475
7568
|
|
|
7476
7569
|
// src/commodity-original/app/khieu-nai/style.ts
|
|
7477
|
-
var
|
|
7570
|
+
var import_styled_components13 = __toESM(require("styled-components"));
|
|
7478
7571
|
var accent = "#f9bb3a";
|
|
7479
|
-
var PolicyMain2 =
|
|
7572
|
+
var PolicyMain2 = import_styled_components13.default.main.withConfig({
|
|
7480
7573
|
componentId: "sc-35e42561-0"
|
|
7481
7574
|
})([
|
|
7482
7575
|
`width:100%;max-width:1240px;margin:0 auto;padding:40px 20px 80px;@media (max-width:768px){padding:32px 16px;}`
|
|
7483
7576
|
]);
|
|
7484
|
-
var PolicyArticle2 =
|
|
7577
|
+
var PolicyArticle2 = import_styled_components13.default.article.withConfig({
|
|
7485
7578
|
componentId: "sc-35e42561-1"
|
|
7486
7579
|
})([
|
|
7487
7580
|
`width:100%;`
|
|
7488
7581
|
]);
|
|
7489
|
-
var PolicyHeader2 =
|
|
7582
|
+
var PolicyHeader2 = import_styled_components13.default.header.withConfig({
|
|
7490
7583
|
componentId: "sc-35e42561-2"
|
|
7491
7584
|
})([
|
|
7492
7585
|
`margin-bottom:32px;`
|
|
7493
7586
|
]);
|
|
7494
|
-
var PageTitle2 =
|
|
7587
|
+
var PageTitle2 = import_styled_components13.default.h1.withConfig({
|
|
7495
7588
|
componentId: "sc-35e42561-3"
|
|
7496
7589
|
})([
|
|
7497
7590
|
`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
7591
|
]);
|
|
7499
|
-
var Intro =
|
|
7592
|
+
var Intro = import_styled_components13.default.p.withConfig({
|
|
7500
7593
|
componentId: "sc-35e42561-4"
|
|
7501
7594
|
})([
|
|
7502
7595
|
`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
7596
|
]);
|
|
7504
|
-
var Section2 =
|
|
7597
|
+
var Section2 = import_styled_components13.default.section.withConfig({
|
|
7505
7598
|
componentId: "sc-35e42561-5"
|
|
7506
7599
|
})([
|
|
7507
7600
|
`&:not(:first-of-type){margin-top:36px;}`
|
|
7508
7601
|
]);
|
|
7509
|
-
var SectionTitle3 =
|
|
7602
|
+
var SectionTitle3 = import_styled_components13.default.h2.withConfig({
|
|
7510
7603
|
componentId: "sc-35e42561-6"
|
|
7511
7604
|
})([
|
|
7512
7605
|
`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
7606
|
]);
|
|
7514
|
-
var Paragraph2 =
|
|
7607
|
+
var Paragraph2 = import_styled_components13.default.p.withConfig({
|
|
7515
7608
|
componentId: "sc-35e42561-7"
|
|
7516
7609
|
})([
|
|
7517
7610
|
`margin:0 0 12px;color:#666563;font-size:14px;font-weight:500;line-height:24px;:root[data-theme="dark"] &{color:#999b9c;}`
|
|
7518
7611
|
]);
|
|
7519
|
-
var ContactList =
|
|
7612
|
+
var ContactList = import_styled_components13.default.ol.withConfig({
|
|
7520
7613
|
componentId: "sc-35e42561-8"
|
|
7521
7614
|
})([
|
|
7522
7615
|
`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
7616
|
`;text-underline-offset:3px;}:root[data-theme="dark"] & li{color:#999b9c;}:root[data-theme="dark"] & strong,:root[data-theme="dark"] & a{color:#fafafa;}`
|
|
7524
7617
|
], accent);
|
|
7525
|
-
var Subsection2 =
|
|
7618
|
+
var Subsection2 = import_styled_components13.default.div.withConfig({
|
|
7526
7619
|
componentId: "sc-35e42561-9"
|
|
7527
7620
|
})([
|
|
7528
7621
|
`&:not(:last-child){margin-bottom:24px;}`
|
|
7529
7622
|
]);
|
|
7530
|
-
var StepTitle =
|
|
7623
|
+
var StepTitle = import_styled_components13.default.h3.withConfig({
|
|
7531
7624
|
componentId: "sc-35e42561-10"
|
|
7532
7625
|
})([
|
|
7533
7626
|
`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
7627
|
`;content:"";}:root[data-theme="dark"] &{color:#fafafa;}@media (max-width:768px){font-size:16px;line-height:24px;}`
|
|
7535
7628
|
], accent);
|
|
7536
|
-
var BulletList2 =
|
|
7629
|
+
var BulletList2 = import_styled_components13.default.ul.withConfig({
|
|
7537
7630
|
componentId: "sc-35e42561-11"
|
|
7538
7631
|
})([
|
|
7539
7632
|
`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 +7635,24 @@ var BulletList2 = import_styled_components14.default.ul.withConfig({
|
|
|
7542
7635
|
|
|
7543
7636
|
// src/commodity-original/components/SupportRequestBlock/index.tsx
|
|
7544
7637
|
var import_jsx_runtime21 = require("react/jsx-runtime");
|
|
7545
|
-
var
|
|
7638
|
+
var import_styled_components14 = __toESM(require("styled-components"));
|
|
7546
7639
|
var import_react_i18next7 = require("react-i18next");
|
|
7547
|
-
var SupportSection =
|
|
7640
|
+
var SupportSection = import_styled_components14.default.section.withConfig({
|
|
7548
7641
|
componentId: "sc-1a367884-0"
|
|
7549
7642
|
})([
|
|
7550
7643
|
`width:100%;padding:28px max(20px,calc((100vw - 1200px) / 2));background:#F9BB3A;@media (max-width:768px){padding:24px 20px;}`
|
|
7551
7644
|
]);
|
|
7552
|
-
var SupportTitle =
|
|
7645
|
+
var SupportTitle = import_styled_components14.default.h2.withConfig({
|
|
7553
7646
|
componentId: "sc-1a367884-1"
|
|
7554
7647
|
})([
|
|
7555
7648
|
`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
7649
|
]);
|
|
7557
|
-
var SupportForm =
|
|
7650
|
+
var SupportForm = import_styled_components14.default.form.withConfig({
|
|
7558
7651
|
componentId: "sc-1a367884-2"
|
|
7559
7652
|
})([
|
|
7560
7653
|
`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
7654
|
]);
|
|
7562
|
-
var Required =
|
|
7655
|
+
var Required = import_styled_components14.default.span.withConfig({
|
|
7563
7656
|
componentId: "sc-1a367884-3"
|
|
7564
7657
|
})([
|
|
7565
7658
|
`color:#f25c66;`
|
|
@@ -7758,36 +7851,36 @@ var import_react_i18next9 = require("react-i18next");
|
|
|
7758
7851
|
// src/commodity-original/components/BlogCard/style.ts
|
|
7759
7852
|
var import_image5 = __toESM(require("next/image.js"));
|
|
7760
7853
|
var import_link2 = __toESM(require("next/link.js"));
|
|
7761
|
-
var
|
|
7762
|
-
var blogCardSurface = (0,
|
|
7854
|
+
var import_styled_components15 = require("styled-components");
|
|
7855
|
+
var blogCardSurface = (0, import_styled_components15.css)([
|
|
7763
7856
|
`display:flex;position:relative;width:100%;overflow:visible;align-items:stretch;border-radius:8px;background:`,
|
|
7764
7857
|
`;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
7858
|
`;outline-offset:3px;}@media (prefers-reduced-motion:reduce){transition:none;img{transition:none;}}`
|
|
7766
7859
|
], ({ theme }) => theme.colors.background.card, ({ theme }) => theme.colors.accent.primary);
|
|
7767
|
-
var BlogCardArticle =
|
|
7860
|
+
var BlogCardArticle = import_styled_components15.styled.article.withConfig({
|
|
7768
7861
|
componentId: "sc-afe5d65c-0"
|
|
7769
7862
|
})([
|
|
7770
7863
|
``,
|
|
7771
7864
|
``
|
|
7772
7865
|
], blogCardSurface);
|
|
7773
|
-
var BlogCardLink = (0,
|
|
7866
|
+
var BlogCardLink = (0, import_styled_components15.styled)(import_link2.default).withConfig({
|
|
7774
7867
|
componentId: "sc-afe5d65c-1"
|
|
7775
7868
|
})([
|
|
7776
7869
|
``,
|
|
7777
7870
|
` color:inherit;text-decoration:none;`
|
|
7778
7871
|
], blogCardSurface);
|
|
7779
|
-
var BlogCardImagePanel =
|
|
7872
|
+
var BlogCardImagePanel = import_styled_components15.styled.div.withConfig({
|
|
7780
7873
|
componentId: "sc-afe5d65c-2"
|
|
7781
7874
|
})([
|
|
7782
7875
|
`position:relative;width:288px;height:162px;flex:0 0 auto;overflow:hidden;border:1px solid `,
|
|
7783
7876
|
`;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
7877
|
], ({ theme }) => theme.colors.border.line);
|
|
7785
|
-
var BlogCardImage = (0,
|
|
7878
|
+
var BlogCardImage = (0, import_styled_components15.styled)(import_image5.default).withConfig({
|
|
7786
7879
|
componentId: "sc-afe5d65c-3"
|
|
7787
7880
|
})([
|
|
7788
7881
|
`object-fit:cover;pointer-events:none;transition:transform 240ms ease;`
|
|
7789
7882
|
]);
|
|
7790
|
-
var BlogCardContent =
|
|
7883
|
+
var BlogCardContent = import_styled_components15.styled.div.withConfig({
|
|
7791
7884
|
componentId: "sc-afe5d65c-4"
|
|
7792
7885
|
})([
|
|
7793
7886
|
`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 +7888,7 @@ var BlogCardContent = import_styled_components16.styled.div.withConfig({
|
|
|
7795
7888
|
`[data-orientation="vertical"] &,`,
|
|
7796
7889
|
`[data-orientation="vertical"] &{padding:16px 24px 24px;border-radius:0 0 8px 8px;}`
|
|
7797
7890
|
], ({ theme }) => theme.colors.background.card, BlogCardArticle, BlogCardLink);
|
|
7798
|
-
var BlogCardBadge =
|
|
7891
|
+
var BlogCardBadge = import_styled_components15.styled.span.withConfig({
|
|
7799
7892
|
componentId: "sc-afe5d65c-5"
|
|
7800
7893
|
})([
|
|
7801
7894
|
`position:absolute;z-index:1;top:-12px;left:0;display:inline-flex;isolation:isolate;padding:8px 24px;align-items:center;color:`,
|
|
@@ -7803,13 +7896,13 @@ var BlogCardBadge = import_styled_components16.styled.span.withConfig({
|
|
|
7803
7896
|
`;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
7897
|
`;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
7898
|
], ({ theme }) => theme.colors.accent.foreground, ({ theme }) => theme.colors.accent.primary, ({ theme }) => theme.colors.accent.deep);
|
|
7806
|
-
var BlogCardDate =
|
|
7899
|
+
var BlogCardDate = import_styled_components15.styled.p.withConfig({
|
|
7807
7900
|
componentId: "sc-afe5d65c-6"
|
|
7808
7901
|
})([
|
|
7809
7902
|
`width:100%;margin:0;overflow:hidden;color:`,
|
|
7810
7903
|
`;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
7904
|
], ({ theme }) => theme.colors.text.secondary);
|
|
7812
|
-
var BlogCardTitle =
|
|
7905
|
+
var BlogCardTitle = import_styled_components15.styled.h3.withConfig({
|
|
7813
7906
|
componentId: "sc-afe5d65c-7"
|
|
7814
7907
|
})([
|
|
7815
7908
|
`display:-webkit-box;width:100%;margin:0;overflow:hidden;color:`,
|
|
@@ -7817,7 +7910,7 @@ var BlogCardTitle = import_styled_components16.styled.h3.withConfig({
|
|
|
7817
7910
|
`[data-size="md"] &{font-size:18px;line-height:26px;}`,
|
|
7818
7911
|
`[data-size="sm"] &{font-size:16px;line-height:22px;}@media (max-width:767px){font-size:16px;line-height:22px;}`
|
|
7819
7912
|
], ({ theme }) => theme.colors.text.primary, BlogCardContent, BlogCardContent);
|
|
7820
|
-
var BlogCardDescription =
|
|
7913
|
+
var BlogCardDescription = import_styled_components15.styled.p.withConfig({
|
|
7821
7914
|
componentId: "sc-afe5d65c-8"
|
|
7822
7915
|
})([
|
|
7823
7916
|
`display:-webkit-box;width:100%;margin:0;overflow:hidden;color:`,
|
|
@@ -7897,8 +7990,8 @@ function BlogCard({
|
|
|
7897
7990
|
}
|
|
7898
7991
|
|
|
7899
7992
|
// src/commodity-original/components/InformationHeroSection/style.ts
|
|
7900
|
-
var
|
|
7901
|
-
var InformationHeroRoot =
|
|
7993
|
+
var import_styled_components16 = __toESM(require("styled-components"));
|
|
7994
|
+
var InformationHeroRoot = import_styled_components16.default.section.withConfig({
|
|
7902
7995
|
componentId: "sc-fa02d513-0"
|
|
7903
7996
|
})([
|
|
7904
7997
|
`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 +7999,23 @@ var InformationHeroRoot = import_styled_components17.default.section.withConfig(
|
|
|
7906
7999
|
` 17.7%,`,
|
|
7907
8000
|
` 74.77% );@media (max-width:767px){min-height:120px;padding:40px 16px;}`
|
|
7908
8001
|
], ({ theme }) => theme.colors.informationHero.start, ({ theme }) => theme.colors.informationHero.middle, ({ theme }) => theme.colors.accent.primary);
|
|
7909
|
-
var InformationHeroBackdrop =
|
|
8002
|
+
var InformationHeroBackdrop = import_styled_components16.default.div.withConfig({
|
|
7910
8003
|
componentId: "sc-fa02d513-1"
|
|
7911
8004
|
})([
|
|
7912
8005
|
`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
8006
|
]);
|
|
7914
|
-
var InformationHeroContent =
|
|
8007
|
+
var InformationHeroContent = import_styled_components16.default.div.withConfig({
|
|
7915
8008
|
componentId: "sc-fa02d513-2"
|
|
7916
8009
|
})([
|
|
7917
8010
|
`position:relative;display:flex;width:min(1200px,100%);gap:40px;align-items:center;@media (max-width:767px){flex-direction:column;gap:32px;}`
|
|
7918
8011
|
]);
|
|
7919
|
-
var InformationHeroTitle =
|
|
8012
|
+
var InformationHeroTitle = import_styled_components16.default.h1.withConfig({
|
|
7920
8013
|
componentId: "sc-fa02d513-3"
|
|
7921
8014
|
})([
|
|
7922
8015
|
`width:708px;max-width:100%;margin:0;color:`,
|
|
7923
8016
|
`;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
8017
|
], ({ theme }) => theme.colors.text.primary);
|
|
7925
|
-
var InformationHeroIllustration =
|
|
8018
|
+
var InformationHeroIllustration = import_styled_components16.default.div.withConfig({
|
|
7926
8019
|
componentId: "sc-fa02d513-4"
|
|
7927
8020
|
})([
|
|
7928
8021
|
`display:flex;min-width:0;min-height:72px;flex:1 0 0;padding:10px;align-items:center;justify-content:center;color:`,
|
|
@@ -7967,45 +8060,45 @@ function InformationHeroSection({
|
|
|
7967
8060
|
}
|
|
7968
8061
|
|
|
7969
8062
|
// src/commodity-original/app/noti-mxv/style.ts
|
|
7970
|
-
var
|
|
8063
|
+
var import_styled_components18 = __toESM(require("styled-components"));
|
|
7971
8064
|
|
|
7972
8065
|
// src/commodity-original/components/DateRangePicker/index.tsx
|
|
7973
8066
|
var import_react16 = require("react");
|
|
7974
8067
|
var import_react_i18next8 = require("react-i18next");
|
|
7975
|
-
var
|
|
8068
|
+
var import_radix_ui3 = require("radix-ui");
|
|
7976
8069
|
|
|
7977
8070
|
// src/commodity-original/components/DateRangePicker/style.ts
|
|
7978
|
-
var
|
|
7979
|
-
var
|
|
7980
|
-
var drawerOverlayIn = (0,
|
|
8071
|
+
var import_styled_components17 = __toESM(require("styled-components"));
|
|
8072
|
+
var import_radix_ui2 = require("radix-ui");
|
|
8073
|
+
var drawerOverlayIn = (0, import_styled_components17.keyframes)([
|
|
7981
8074
|
`from{opacity:0;}to{opacity:1;}`
|
|
7982
8075
|
]);
|
|
7983
|
-
var drawerOverlayOut = (0,
|
|
8076
|
+
var drawerOverlayOut = (0, import_styled_components17.keyframes)([
|
|
7984
8077
|
`from{opacity:1;}to{opacity:0;}`
|
|
7985
8078
|
]);
|
|
7986
|
-
var drawerSlideIn = (0,
|
|
8079
|
+
var drawerSlideIn = (0, import_styled_components17.keyframes)([
|
|
7987
8080
|
`from{transform:translateY(100%);}to{transform:translateY(0);}`
|
|
7988
8081
|
]);
|
|
7989
|
-
var drawerSlideOut = (0,
|
|
8082
|
+
var drawerSlideOut = (0, import_styled_components17.keyframes)([
|
|
7990
8083
|
`from{transform:translateY(0);}to{transform:translateY(100%);}`
|
|
7991
8084
|
]);
|
|
7992
|
-
var DateRangeRoot =
|
|
8085
|
+
var DateRangeRoot = import_styled_components17.default.div.withConfig({
|
|
7993
8086
|
componentId: "sc-3ac622db-0"
|
|
7994
8087
|
})([
|
|
7995
8088
|
`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
8089
|
`;&[data-size="sm"]{min-height:36px;}`
|
|
7997
8090
|
], ({ theme }) => theme.colors.background.input);
|
|
7998
|
-
var DateFieldGroup =
|
|
8091
|
+
var DateFieldGroup = import_styled_components17.default.span.withConfig({
|
|
7999
8092
|
componentId: "sc-3ac622db-1"
|
|
8000
8093
|
})([
|
|
8001
8094
|
`position:relative;display:block;min-width:0;flex:1 1 0;`
|
|
8002
8095
|
]);
|
|
8003
|
-
var DateField =
|
|
8096
|
+
var DateField = import_styled_components17.default.button.withConfig({
|
|
8004
8097
|
componentId: "sc-3ac622db-2"
|
|
8005
8098
|
})([
|
|
8006
8099
|
`display:block;width:100%;min-width:0;padding:0;border:0;background:transparent;cursor:pointer;text-align:left;&:disabled{cursor:not-allowed;}`
|
|
8007
8100
|
]);
|
|
8008
|
-
var DateFieldValue =
|
|
8101
|
+
var DateFieldValue = import_styled_components17.default.span.withConfig({
|
|
8009
8102
|
componentId: "sc-3ac622db-3"
|
|
8010
8103
|
})([
|
|
8011
8104
|
`display:block;overflow:hidden;color:`,
|
|
@@ -8014,48 +8107,48 @@ var DateFieldValue = import_styled_components18.default.span.withConfig({
|
|
|
8014
8107
|
`:disabled &{color:`,
|
|
8015
8108
|
`;}`
|
|
8016
8109
|
], ({ theme }) => theme.colors.text.primary, ({ theme }) => theme.colors.text.placeholder, DateField, ({ theme }) => theme.colors.text.secondary);
|
|
8017
|
-
var DateFieldInput =
|
|
8110
|
+
var DateFieldInput = import_styled_components17.default.input.withConfig({
|
|
8018
8111
|
componentId: "sc-3ac622db-4"
|
|
8019
8112
|
})([
|
|
8020
8113
|
`position:absolute;inset:0;width:100%;height:1px;border:0;pointer-events:none;opacity:0;appearance:none;&:disabled{cursor:not-allowed;}`
|
|
8021
8114
|
]);
|
|
8022
|
-
var RangeArrow =
|
|
8115
|
+
var RangeArrow = import_styled_components17.default.span.withConfig({
|
|
8023
8116
|
componentId: "sc-3ac622db-5"
|
|
8024
8117
|
})([
|
|
8025
8118
|
`display:inline-flex;width:16px;height:16px;flex:0 0 16px;align-items:center;justify-content:center;color:`,
|
|
8026
8119
|
`;`
|
|
8027
8120
|
], ({ theme }) => theme.colors.text.secondary);
|
|
8028
|
-
var DatePickerIcon =
|
|
8121
|
+
var DatePickerIcon = import_styled_components17.default.span.withConfig({
|
|
8029
8122
|
componentId: "sc-3ac622db-6"
|
|
8030
8123
|
})([
|
|
8031
8124
|
`display:block;width:16px;height:16px;background:currentColor;mask-repeat:no-repeat;mask-position:center;mask-size:contain;`
|
|
8032
8125
|
]);
|
|
8033
|
-
var RangeArrowIcon = (0,
|
|
8126
|
+
var RangeArrowIcon = (0, import_styled_components17.default)(DatePickerIcon).withConfig({
|
|
8034
8127
|
componentId: "sc-3ac622db-7"
|
|
8035
8128
|
})([
|
|
8036
8129
|
`mask-image:url("/icons/date-range-arrow.svg");`
|
|
8037
8130
|
]);
|
|
8038
|
-
var CalendarIcon =
|
|
8131
|
+
var CalendarIcon = import_styled_components17.default.button.withConfig({
|
|
8039
8132
|
componentId: "sc-3ac622db-8"
|
|
8040
8133
|
})([
|
|
8041
8134
|
`display:block;width:20px;height:20px;flex:0 0 20px;padding:0;border:0;color:`,
|
|
8042
8135
|
`;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
8136
|
], ({ theme }) => theme.colors.text.secondary);
|
|
8044
|
-
var CalendarDialog =
|
|
8137
|
+
var CalendarDialog = import_styled_components17.default.div.withConfig({
|
|
8045
8138
|
componentId: "sc-3ac622db-9"
|
|
8046
8139
|
})([
|
|
8047
8140
|
`position:absolute;z-index:20;top:calc(100% + 8px);right:0;width:100%;box-sizing:border-box;overflow:hidden;border:1px solid `,
|
|
8048
8141
|
`;border-radius:12px;background:`,
|
|
8049
8142
|
`;box-shadow:0 10px 15px -3px rgb(0 0 0 / 10%),0 4px 6px -4px rgb(0 0 0 / 10%);`
|
|
8050
8143
|
], ({ theme }) => theme.colors.border.line, ({ theme }) => theme.colors.background.canvas);
|
|
8051
|
-
var CalendarDrawerOverlay = (0,
|
|
8144
|
+
var CalendarDrawerOverlay = (0, import_styled_components17.default)(import_radix_ui2.Dialog.Overlay).withConfig({
|
|
8052
8145
|
componentId: "sc-3ac622db-10"
|
|
8053
8146
|
})([
|
|
8054
8147
|
`position:fixed;z-index:200;inset:0;background:rgb(0 0 0 / 48%);&[data-state="open"]{animation:`,
|
|
8055
8148
|
` 180ms ease-out;}&[data-state="closed"]{animation:`,
|
|
8056
8149
|
` 140ms ease-in;}@media (prefers-reduced-motion:reduce){animation:none;}`
|
|
8057
8150
|
], drawerOverlayIn, drawerOverlayOut);
|
|
8058
|
-
var CalendarDrawerContent = (0,
|
|
8151
|
+
var CalendarDrawerContent = (0, import_styled_components17.default)(import_radix_ui2.Dialog.Content).withConfig({
|
|
8059
8152
|
componentId: "sc-3ac622db-11"
|
|
8060
8153
|
})([
|
|
8061
8154
|
`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 +8156,41 @@ var CalendarDrawerContent = (0, import_styled_components18.default)(import_radix
|
|
|
8063
8156
|
` 240ms cubic-bezier(0.22,1,0.36,1);}&[data-state="closed"]{animation:`,
|
|
8064
8157
|
` 180ms ease-in;}@media (prefers-reduced-motion:reduce){animation:none;}`
|
|
8065
8158
|
], ({ theme }) => theme.colors.background.canvas, drawerSlideIn, drawerSlideOut);
|
|
8066
|
-
var CalendarDialogBody =
|
|
8159
|
+
var CalendarDialogBody = import_styled_components17.default.div.withConfig({
|
|
8067
8160
|
componentId: "sc-3ac622db-12"
|
|
8068
8161
|
})([
|
|
8069
8162
|
`padding:16px 16px 8px;`
|
|
8070
8163
|
]);
|
|
8071
|
-
var CalendarDialogHeader =
|
|
8164
|
+
var CalendarDialogHeader = import_styled_components17.default.div.withConfig({
|
|
8072
8165
|
componentId: "sc-3ac622db-13"
|
|
8073
8166
|
})([
|
|
8074
8167
|
`display:flex;align-items:center;justify-content:space-between;padding:0 4px;`
|
|
8075
8168
|
]);
|
|
8076
|
-
var CalendarDialogMonth =
|
|
8169
|
+
var CalendarDialogMonth = import_styled_components17.default.p.withConfig({
|
|
8077
8170
|
componentId: "sc-3ac622db-14"
|
|
8078
8171
|
})([
|
|
8079
8172
|
`margin:0;color:`,
|
|
8080
8173
|
`;font-family:var(--font-inter),Arial,sans-serif;font-size:14px;font-weight:600;line-height:20px;text-transform:capitalize;`
|
|
8081
8174
|
], ({ theme }) => theme.colors.text.primary);
|
|
8082
|
-
var CalendarNavigationButton =
|
|
8175
|
+
var CalendarNavigationButton = import_styled_components17.default.button.withConfig({
|
|
8083
8176
|
componentId: "sc-3ac622db-15"
|
|
8084
8177
|
})([
|
|
8085
8178
|
`width:32px;height:32px;border:0;border-radius:8px;background:transparent;cursor:pointer;&::before{display:block;width:16px;height:16px;margin:auto;background:`,
|
|
8086
8179
|
`;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
8180
|
`;outline-offset:2px;}`
|
|
8088
8181
|
], ({ theme }) => theme.colors.text.primary, ({ theme }) => theme.colors.datePicker.selected);
|
|
8089
|
-
var CalendarWeekdays =
|
|
8182
|
+
var CalendarWeekdays = import_styled_components17.default.div.withConfig({
|
|
8090
8183
|
componentId: "sc-3ac622db-16"
|
|
8091
8184
|
})([
|
|
8092
8185
|
`display:grid;grid-template-columns:repeat(7,1fr);padding-top:12px;span{display:grid;height:32px;place-items:center;color:`,
|
|
8093
8186
|
`;font-family:ui-monospace,monospace;font-size:12px;line-height:16px;}`
|
|
8094
8187
|
], ({ theme }) => theme.colors.text.placeholder);
|
|
8095
|
-
var DaysGrid =
|
|
8188
|
+
var DaysGrid = import_styled_components17.default.div.withConfig({
|
|
8096
8189
|
componentId: "sc-3ac622db-17"
|
|
8097
8190
|
})([
|
|
8098
8191
|
`display:grid;grid-template-columns:repeat(7,minmax(0,1fr));`
|
|
8099
8192
|
]);
|
|
8100
|
-
var DayCell =
|
|
8193
|
+
var DayCell = import_styled_components17.default.div.withConfig({
|
|
8101
8194
|
componentId: "sc-3ac622db-18"
|
|
8102
8195
|
})([
|
|
8103
8196
|
`display:grid;min-width:0;height:36px;place-items:center;&[data-in-range]{background:`,
|
|
@@ -8105,7 +8198,7 @@ var DayCell = import_styled_components18.default.div.withConfig({
|
|
|
8105
8198
|
` 50% );}&[data-range-end]{background:linear-gradient( to left,transparent 50%,`,
|
|
8106
8199
|
` 50% );}`
|
|
8107
8200
|
], ({ theme }) => theme.colors.datePicker.range, ({ theme }) => theme.colors.datePicker.range, ({ theme }) => theme.colors.datePicker.range);
|
|
8108
|
-
var DayButton =
|
|
8201
|
+
var DayButton = import_styled_components17.default.button.withConfig({
|
|
8109
8202
|
componentId: "sc-3ac622db-19"
|
|
8110
8203
|
})([
|
|
8111
8204
|
`width:min(35px,100%);height:36px;border:0;border-radius:999px;color:`,
|
|
@@ -8117,42 +8210,42 @@ var DayButton = import_styled_components18.default.button.withConfig({
|
|
|
8117
8210
|
`;}&:focus-visible{outline:2px solid `,
|
|
8118
8211
|
`;outline-offset:2px;}`
|
|
8119
8212
|
], ({ 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 =
|
|
8213
|
+
var CalendarDialogSummary = import_styled_components17.default.div.withConfig({
|
|
8121
8214
|
componentId: "sc-3ac622db-20"
|
|
8122
8215
|
})([
|
|
8123
8216
|
`display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 12px;padding:12px 16px;align-items:center;border-top:1px solid `,
|
|
8124
8217
|
`;`
|
|
8125
8218
|
], ({ theme }) => theme.colors.background.input);
|
|
8126
|
-
var RangeSummaryDate =
|
|
8219
|
+
var RangeSummaryDate = import_styled_components17.default.div.withConfig({
|
|
8127
8220
|
componentId: "sc-3ac622db-21"
|
|
8128
8221
|
})([
|
|
8129
8222
|
`display:grid;min-width:0;gap:2px;&[data-align="end"]{grid-column:2;grid-row:1;text-align:right;}`
|
|
8130
8223
|
]);
|
|
8131
|
-
var RangeSummaryLabel =
|
|
8224
|
+
var RangeSummaryLabel = import_styled_components17.default.span.withConfig({
|
|
8132
8225
|
componentId: "sc-3ac622db-22"
|
|
8133
8226
|
})([
|
|
8134
8227
|
`color:`,
|
|
8135
8228
|
`;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
8229
|
], ({ theme }) => theme.colors.text.placeholder);
|
|
8137
|
-
var RangeSummaryValue =
|
|
8230
|
+
var RangeSummaryValue = import_styled_components17.default.span.withConfig({
|
|
8138
8231
|
componentId: "sc-3ac622db-23"
|
|
8139
8232
|
})([
|
|
8140
8233
|
`overflow:hidden;color:`,
|
|
8141
8234
|
`;font-family:ui-monospace,monospace;font-size:12px;line-height:20px;text-overflow:ellipsis;white-space:nowrap;`
|
|
8142
8235
|
], ({ theme }) => theme.colors.text.primary);
|
|
8143
|
-
var RangeSummaryPeriod =
|
|
8236
|
+
var RangeSummaryPeriod = import_styled_components17.default.div.withConfig({
|
|
8144
8237
|
componentId: "sc-3ac622db-24"
|
|
8145
8238
|
})([
|
|
8146
8239
|
`display:flex;grid-column:1 / -1;grid-row:2;gap:6px;align-items:center;justify-content:center;color:`,
|
|
8147
8240
|
`;font-family:var(--font-inter),Arial,sans-serif;font-size:10px;line-height:15px;white-space:nowrap;`
|
|
8148
8241
|
], ({ theme }) => theme.colors.text.placeholder);
|
|
8149
|
-
var RangeSummarySeparator =
|
|
8242
|
+
var RangeSummarySeparator = import_styled_components17.default.span.withConfig({
|
|
8150
8243
|
componentId: "sc-3ac622db-25"
|
|
8151
8244
|
})([
|
|
8152
8245
|
`width:20px;height:1px;background:`,
|
|
8153
8246
|
`;`
|
|
8154
8247
|
], ({ theme }) => theme.colors.border.subtle);
|
|
8155
|
-
var CalendarDialogActions =
|
|
8248
|
+
var CalendarDialogActions = import_styled_components17.default.div.withConfig({
|
|
8156
8249
|
componentId: "sc-3ac622db-26"
|
|
8157
8250
|
})([
|
|
8158
8251
|
`display:flex;gap:8px;padding:12px 16px;justify-content:flex-end;border-top:1px solid `,
|
|
@@ -8289,7 +8382,7 @@ function DateRangePicker({
|
|
|
8289
8382
|
type: "button"
|
|
8290
8383
|
}
|
|
8291
8384
|
),
|
|
8292
|
-
isMobile ? /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
|
|
8385
|
+
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
8386
|
month: "long",
|
|
8294
8387
|
year: "numeric"
|
|
8295
8388
|
}).format(month) }) }) : /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(CalendarDialogMonth, { children: new Intl.DateTimeFormat(locale, {
|
|
@@ -8424,14 +8517,14 @@ function DateRangePicker({
|
|
|
8424
8517
|
}
|
|
8425
8518
|
),
|
|
8426
8519
|
open && isMobile ? /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
|
|
8427
|
-
|
|
8520
|
+
import_radix_ui3.Dialog.Root,
|
|
8428
8521
|
{
|
|
8429
8522
|
onOpenChange: (nextOpen) => {
|
|
8430
8523
|
if (!nextOpen) setDraft(value4);
|
|
8431
8524
|
setOpen(nextOpen);
|
|
8432
8525
|
},
|
|
8433
8526
|
open,
|
|
8434
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(
|
|
8527
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(import_radix_ui3.Dialog.Portal, { children: [
|
|
8435
8528
|
/* @__PURE__ */ (0, import_jsx_runtime25.jsx)(CalendarDrawerOverlay, {}),
|
|
8436
8529
|
/* @__PURE__ */ (0, import_jsx_runtime25.jsx)(CalendarDrawerContent, { "aria-describedby": void 0, children: calendar })
|
|
8437
8530
|
] })
|
|
@@ -8448,34 +8541,34 @@ function DateRangePicker({
|
|
|
8448
8541
|
}
|
|
8449
8542
|
|
|
8450
8543
|
// src/commodity-original/app/noti-mxv/style.ts
|
|
8451
|
-
var NotiMxvMain =
|
|
8544
|
+
var NotiMxvMain = import_styled_components18.default.main.withConfig({
|
|
8452
8545
|
componentId: "sc-d3ff19c5-0"
|
|
8453
8546
|
})([
|
|
8454
8547
|
`min-height:calc(100vh - var(--header-height));`
|
|
8455
8548
|
]);
|
|
8456
|
-
var FilterSection =
|
|
8549
|
+
var FilterSection = import_styled_components18.default.section.withConfig({
|
|
8457
8550
|
componentId: "sc-d3ff19c5-1"
|
|
8458
8551
|
})([
|
|
8459
8552
|
`padding:60px 24px 16px;background:`,
|
|
8460
8553
|
`;@media (max-width:767px){padding:30px 16px 16px;background:`,
|
|
8461
8554
|
`;}`
|
|
8462
8555
|
], ({ theme }) => theme.colors.background.canvas, ({ theme }) => theme.colors.background.warm);
|
|
8463
|
-
var FilterContent =
|
|
8556
|
+
var FilterContent = import_styled_components18.default.div.withConfig({
|
|
8464
8557
|
componentId: "sc-d3ff19c5-2"
|
|
8465
8558
|
})([
|
|
8466
8559
|
`display:flex;width:min(1200px,100%);gap:16px;margin:0 auto;align-items:center;@media (max-width:767px){flex-wrap:wrap;}`
|
|
8467
8560
|
]);
|
|
8468
|
-
var FilterSearch =
|
|
8561
|
+
var FilterSearch = import_styled_components18.default.div.withConfig({
|
|
8469
8562
|
componentId: "sc-d3ff19c5-3"
|
|
8470
8563
|
})([
|
|
8471
8564
|
`width:261px;flex:0 1 261px;@media (max-width:767px){width:100%;flex-basis:100%;}`
|
|
8472
8565
|
]);
|
|
8473
|
-
var FilterDateRangePicker = (0,
|
|
8566
|
+
var FilterDateRangePicker = (0, import_styled_components18.default)(DateRangePicker).withConfig({
|
|
8474
8567
|
componentId: "sc-d3ff19c5-4"
|
|
8475
8568
|
})([
|
|
8476
8569
|
`width:262px;flex:0 1 262px;@media (max-width:767px){flex:1 1 220px;}`
|
|
8477
8570
|
]);
|
|
8478
|
-
var FilterResetButton =
|
|
8571
|
+
var FilterResetButton = import_styled_components18.default.button.withConfig({
|
|
8479
8572
|
componentId: "sc-d3ff19c5-5"
|
|
8480
8573
|
})([
|
|
8481
8574
|
`height:40px;padding:0 16px;border:1px solid `,
|
|
@@ -8486,49 +8579,49 @@ var FilterResetButton = import_styled_components19.default.button.withConfig({
|
|
|
8486
8579
|
`;}@media (max-width:767px){height:36px;font-size:12px;line-height:16px;background:`,
|
|
8487
8580
|
`;}`
|
|
8488
8581
|
], ({ 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 =
|
|
8582
|
+
var SearchIcon = import_styled_components18.default.span.withConfig({
|
|
8490
8583
|
componentId: "sc-d3ff19c5-6"
|
|
8491
8584
|
})([
|
|
8492
8585
|
`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
8586
|
]);
|
|
8494
|
-
var NotiContent =
|
|
8587
|
+
var NotiContent = import_styled_components18.default.div.withConfig({
|
|
8495
8588
|
componentId: "sc-d3ff19c5-7"
|
|
8496
8589
|
})([
|
|
8497
8590
|
`width:min(1248px,100%);margin:0 auto;padding:16px 16px 40px 16px;@media (max-width:767px){background:`,
|
|
8498
8591
|
`;}`
|
|
8499
8592
|
], ({ theme }) => theme.colors.background.warm);
|
|
8500
|
-
var NotiLayout =
|
|
8593
|
+
var NotiLayout = import_styled_components18.default.div.withConfig({
|
|
8501
8594
|
componentId: "sc-d3ff19c5-8"
|
|
8502
8595
|
})([
|
|
8503
8596
|
`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
8597
|
]);
|
|
8505
|
-
var NotiMainColumn =
|
|
8598
|
+
var NotiMainColumn = import_styled_components18.default.section.withConfig({
|
|
8506
8599
|
componentId: "sc-d3ff19c5-9"
|
|
8507
8600
|
})([
|
|
8508
8601
|
`min-width:0;`
|
|
8509
8602
|
]);
|
|
8510
|
-
var NotiList =
|
|
8603
|
+
var NotiList = import_styled_components18.default.div.withConfig({
|
|
8511
8604
|
componentId: "sc-d3ff19c5-10"
|
|
8512
8605
|
})([
|
|
8513
8606
|
`display:flex;flex-direction:column;gap:24px;`
|
|
8514
8607
|
]);
|
|
8515
|
-
var NotiPagination =
|
|
8608
|
+
var NotiPagination = import_styled_components18.default.div.withConfig({
|
|
8516
8609
|
componentId: "sc-d3ff19c5-11"
|
|
8517
8610
|
})([
|
|
8518
8611
|
`margin-top:32px;`
|
|
8519
8612
|
]);
|
|
8520
|
-
var NotiSidebar =
|
|
8613
|
+
var NotiSidebar = import_styled_components18.default.aside.withConfig({
|
|
8521
8614
|
componentId: "sc-d3ff19c5-12"
|
|
8522
8615
|
})([
|
|
8523
8616
|
`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
8617
|
]);
|
|
8525
|
-
var NotiSidebarHeading =
|
|
8618
|
+
var NotiSidebarHeading = import_styled_components18.default.h2.withConfig({
|
|
8526
8619
|
componentId: "sc-d3ff19c5-13"
|
|
8527
8620
|
})([
|
|
8528
8621
|
`margin:0;color:`,
|
|
8529
8622
|
`;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
8623
|
], ({ theme }) => theme.colors.text.primary);
|
|
8531
|
-
var NotiSidebarList =
|
|
8624
|
+
var NotiSidebarList = import_styled_components18.default.div.withConfig({
|
|
8532
8625
|
componentId: "sc-d3ff19c5-14"
|
|
8533
8626
|
})([
|
|
8534
8627
|
`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 +8768,7 @@ var import_react18 = require("react");
|
|
|
8675
8768
|
var import_link3 = __toESM(require("next/link.js"));
|
|
8676
8769
|
|
|
8677
8770
|
// src/commodity-original/components/Breadcrumb/style.ts
|
|
8678
|
-
var
|
|
8771
|
+
var import_styled_components19 = require("styled-components");
|
|
8679
8772
|
var breadcrumbText = `
|
|
8680
8773
|
font-family: var(--font-manrope), Arial, Helvetica, sans-serif;
|
|
8681
8774
|
font-size: 12px;
|
|
@@ -8687,22 +8780,22 @@ var breadcrumbText = `
|
|
|
8687
8780
|
line-height: 14px;
|
|
8688
8781
|
}
|
|
8689
8782
|
`;
|
|
8690
|
-
var BreadcrumbNav =
|
|
8783
|
+
var BreadcrumbNav = import_styled_components19.styled.nav.withConfig({
|
|
8691
8784
|
componentId: "sc-9c96c0b1-0"
|
|
8692
8785
|
})([
|
|
8693
8786
|
`display:flex;max-width:100%;align-items:center;@media (max-width:767px){overflow-x:auto;scrollbar-width:none;&::-webkit-scrollbar{display:none;}}`
|
|
8694
8787
|
]);
|
|
8695
|
-
var BreadcrumbList =
|
|
8788
|
+
var BreadcrumbList = import_styled_components19.styled.ol.withConfig({
|
|
8696
8789
|
componentId: "sc-9c96c0b1-1"
|
|
8697
8790
|
})([
|
|
8698
8791
|
`display:flex;margin:0;padding:0;align-items:center;gap:4px;list-style:none;`
|
|
8699
8792
|
]);
|
|
8700
|
-
var BreadcrumbItem =
|
|
8793
|
+
var BreadcrumbItem = import_styled_components19.styled.li.withConfig({
|
|
8701
8794
|
componentId: "sc-9c96c0b1-2"
|
|
8702
8795
|
})([
|
|
8703
8796
|
`display:flex;align-items:center;gap:4px;`
|
|
8704
8797
|
]);
|
|
8705
|
-
var BreadcrumbLink =
|
|
8798
|
+
var BreadcrumbLink = import_styled_components19.styled.a.withConfig({
|
|
8706
8799
|
componentId: "sc-9c96c0b1-3"
|
|
8707
8800
|
})([
|
|
8708
8801
|
``,
|
|
@@ -8710,14 +8803,14 @@ var BreadcrumbLink = import_styled_components20.styled.a.withConfig({
|
|
|
8710
8803
|
`;&:hover,&:focus-visible{color:`,
|
|
8711
8804
|
`;}&:focus-visible{outline:2px solid #f9bb3a;outline-offset:2px;}`
|
|
8712
8805
|
], breadcrumbText, ({ theme }) => theme.colors.text.placeholder, ({ theme }) => theme.colors.text.primary);
|
|
8713
|
-
var BreadcrumbCurrent =
|
|
8806
|
+
var BreadcrumbCurrent = import_styled_components19.styled.span.withConfig({
|
|
8714
8807
|
componentId: "sc-9c96c0b1-4"
|
|
8715
8808
|
})([
|
|
8716
8809
|
``,
|
|
8717
8810
|
` color:`,
|
|
8718
8811
|
`;`
|
|
8719
8812
|
], breadcrumbText, ({ theme }) => theme.colors.text.primary);
|
|
8720
|
-
var BreadcrumbSeparator =
|
|
8813
|
+
var BreadcrumbSeparator = import_styled_components19.styled.span.withConfig({
|
|
8721
8814
|
componentId: "sc-9c96c0b1-5"
|
|
8722
8815
|
})([
|
|
8723
8816
|
`display:inline-flex;width:14px;height:14px;align-items:center;justify-content:center;color:`,
|
|
@@ -8858,52 +8951,52 @@ var product_card_arrow_default = "data:image/svg+xml;base64,PHN2ZyBwcmVzZXJ2ZUFz
|
|
|
8858
8951
|
// src/commodity-original/components/ProductCard/style.ts
|
|
8859
8952
|
var import_link4 = __toESM(require("next/link.js"));
|
|
8860
8953
|
var import_image6 = __toESM(require("next/image.js"));
|
|
8861
|
-
var
|
|
8862
|
-
var cardSurface = (0,
|
|
8954
|
+
var import_styled_components20 = require("styled-components");
|
|
8955
|
+
var cardSurface = (0, import_styled_components20.css)([
|
|
8863
8956
|
`display:flex;width:100%;height:100%;max-width:329px;flex-direction:column;color:`,
|
|
8864
8957
|
`;transition:transform 160ms ease;&:hover{transform:translateY(-2px);}@media (max-width:599px){max-width:100%;}`
|
|
8865
8958
|
], ({ theme }) => theme.colors.text.primary);
|
|
8866
|
-
var ProductCardArticle =
|
|
8959
|
+
var ProductCardArticle = import_styled_components20.styled.article.withConfig({
|
|
8867
8960
|
componentId: "sc-232625b5-0"
|
|
8868
8961
|
})([
|
|
8869
8962
|
``,
|
|
8870
8963
|
``
|
|
8871
8964
|
], cardSurface);
|
|
8872
|
-
var ProductCardLink = (0,
|
|
8965
|
+
var ProductCardLink = (0, import_styled_components20.styled)(import_link4.default).withConfig({
|
|
8873
8966
|
componentId: "sc-232625b5-1"
|
|
8874
8967
|
})([
|
|
8875
8968
|
``,
|
|
8876
8969
|
` text-decoration:none;&:focus-visible{outline:2px solid `,
|
|
8877
8970
|
`;outline-offset:3px;}`
|
|
8878
8971
|
], cardSurface, ({ theme }) => theme.colors.accent.primary);
|
|
8879
|
-
var ProductCardImagePanel =
|
|
8972
|
+
var ProductCardImagePanel = import_styled_components20.styled.div.withConfig({
|
|
8880
8973
|
componentId: "sc-232625b5-2"
|
|
8881
8974
|
})([
|
|
8882
8975
|
`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
8976
|
]);
|
|
8884
|
-
var ProductCardImage = (0,
|
|
8977
|
+
var ProductCardImage = (0, import_styled_components20.styled)(import_image6.default).withConfig({
|
|
8885
8978
|
componentId: "sc-232625b5-3"
|
|
8886
8979
|
})([
|
|
8887
8980
|
`z-index:2;object-fit:cover;pointer-events:none;`
|
|
8888
8981
|
]);
|
|
8889
|
-
var ProductCardCopy =
|
|
8982
|
+
var ProductCardCopy = import_styled_components20.styled.div.withConfig({
|
|
8890
8983
|
componentId: "sc-232625b5-4"
|
|
8891
8984
|
})([
|
|
8892
8985
|
`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
8986
|
`;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
8987
|
], ({ theme }) => theme.colors.background.card);
|
|
8895
|
-
var ProductCardTitleRow =
|
|
8988
|
+
var ProductCardTitleRow = import_styled_components20.styled.div.withConfig({
|
|
8896
8989
|
componentId: "sc-232625b5-5"
|
|
8897
8990
|
})([
|
|
8898
8991
|
`display:flex;width:100%;align-items:center;gap:8px;`
|
|
8899
8992
|
]);
|
|
8900
|
-
var ProductCardTitle =
|
|
8993
|
+
var ProductCardTitle = import_styled_components20.styled.h3.withConfig({
|
|
8901
8994
|
componentId: "sc-232625b5-6"
|
|
8902
8995
|
})([
|
|
8903
8996
|
`flex:1 1 0;min-width:0;margin:0;overflow:hidden;color:`,
|
|
8904
8997
|
`;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
8998
|
], ({ theme }) => theme.colors.text.primary);
|
|
8906
|
-
var ProductCardArrow =
|
|
8999
|
+
var ProductCardArrow = import_styled_components20.styled.span.withConfig({
|
|
8907
9000
|
componentId: "sc-232625b5-7"
|
|
8908
9001
|
})([
|
|
8909
9002
|
`width:24px;height:24px;flex:0 0 24px;color:`,
|
|
@@ -8913,7 +9006,7 @@ var ProductCardArrow = import_styled_components21.styled.span.withConfig({
|
|
|
8913
9006
|
`");mask-size:contain;-webkit-mask-image:url("`,
|
|
8914
9007
|
`");-webkit-mask-size:contain;}`
|
|
8915
9008
|
], ({ theme }) => theme.colors.accent.primary, product_card_arrow_default, product_card_arrow_default, related_products_arrow_default, related_products_arrow_default);
|
|
8916
|
-
var ProductCardDescription =
|
|
9009
|
+
var ProductCardDescription = import_styled_components20.styled.p.withConfig({
|
|
8917
9010
|
componentId: "sc-232625b5-8"
|
|
8918
9011
|
})([
|
|
8919
9012
|
`display:-webkit-box;width:100%;overflow:hidden;margin:0;color:`,
|
|
@@ -8978,34 +9071,34 @@ function ProductCard({
|
|
|
8978
9071
|
var import_react_i18next10 = require("react-i18next");
|
|
8979
9072
|
|
|
8980
9073
|
// src/commodity-original/app/products/style.ts
|
|
8981
|
-
var
|
|
8982
|
-
var ProductsMain =
|
|
9074
|
+
var import_styled_components21 = __toESM(require("styled-components"));
|
|
9075
|
+
var ProductsMain = import_styled_components21.default.main.withConfig({
|
|
8983
9076
|
componentId: "sc-6416c39d-0"
|
|
8984
9077
|
})([
|
|
8985
9078
|
`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
9079
|
]);
|
|
8987
|
-
var BreadcrumbSlot =
|
|
9080
|
+
var BreadcrumbSlot = import_styled_components21.default.div.withConfig({
|
|
8988
9081
|
componentId: "sc-6416c39d-1"
|
|
8989
9082
|
})([
|
|
8990
9083
|
`display:flex;justify-content:center;`
|
|
8991
9084
|
]);
|
|
8992
|
-
var ProductsSection =
|
|
9085
|
+
var ProductsSection = import_styled_components21.default.section.withConfig({
|
|
8993
9086
|
componentId: "sc-6416c39d-2"
|
|
8994
9087
|
})([
|
|
8995
9088
|
`display:flex;flex-direction:column;gap:24px;`
|
|
8996
9089
|
]);
|
|
8997
|
-
var ProductsHeading =
|
|
9090
|
+
var ProductsHeading = import_styled_components21.default.h1.withConfig({
|
|
8998
9091
|
componentId: "sc-6416c39d-3"
|
|
8999
9092
|
})([
|
|
9000
9093
|
`margin:0;color:`,
|
|
9001
9094
|
`;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
9095
|
], ({ theme }) => theme.colors.text.primary);
|
|
9003
|
-
var ProductGrid =
|
|
9096
|
+
var ProductGrid = import_styled_components21.default.section.withConfig({
|
|
9004
9097
|
componentId: "sc-6416c39d-4"
|
|
9005
9098
|
})([
|
|
9006
9099
|
`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
9100
|
]);
|
|
9008
|
-
var ProductsPagination =
|
|
9101
|
+
var ProductsPagination = import_styled_components21.default.div.withConfig({
|
|
9009
9102
|
componentId: "sc-6416c39d-5"
|
|
9010
9103
|
})([
|
|
9011
9104
|
`margin-top:16px;`
|
|
@@ -9155,49 +9248,49 @@ var import_react_i18next11 = require("react-i18next");
|
|
|
9155
9248
|
|
|
9156
9249
|
// src/commodity-original/app/products/[slug]/style.ts
|
|
9157
9250
|
var import_image7 = __toESM(require("next/image.js"));
|
|
9158
|
-
var
|
|
9159
|
-
var DetailMain =
|
|
9251
|
+
var import_styled_components22 = __toESM(require("styled-components"));
|
|
9252
|
+
var DetailMain = import_styled_components22.default.main.withConfig({
|
|
9160
9253
|
componentId: "sc-f78fec74-0"
|
|
9161
9254
|
})([
|
|
9162
9255
|
`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
9256
|
]);
|
|
9164
|
-
var DetailHero =
|
|
9257
|
+
var DetailHero = import_styled_components22.default.section.withConfig({
|
|
9165
9258
|
componentId: "sc-f78fec74-1"
|
|
9166
9259
|
})([
|
|
9167
9260
|
`display:grid;grid-template-columns:repeat(2,minmax(0,1fr));overflow:hidden;border:1px solid `,
|
|
9168
9261
|
`;border-radius:16px;background:`,
|
|
9169
9262
|
`;box-shadow:0 12px 32px rgb(0 0 0 / 8%);@media (max-width:767px){grid-template-columns:1fr;}`
|
|
9170
9263
|
], ({ theme }) => theme.colors.border.line, ({ theme }) => theme.colors.background.canvas);
|
|
9171
|
-
var DetailImage =
|
|
9264
|
+
var DetailImage = import_styled_components22.default.div.withConfig({
|
|
9172
9265
|
componentId: "sc-f78fec74-2"
|
|
9173
9266
|
})([
|
|
9174
9267
|
`position:relative;min-height:440px;overflow:hidden;background:`,
|
|
9175
9268
|
`;img{object-fit:cover;}@media (max-width:767px){min-height:auto;aspect-ratio:1;}`
|
|
9176
9269
|
], ({ theme }) => theme.colors.accent.primary);
|
|
9177
|
-
var DetailBody =
|
|
9270
|
+
var DetailBody = import_styled_components22.default.div.withConfig({
|
|
9178
9271
|
componentId: "sc-f78fec74-3"
|
|
9179
9272
|
})([
|
|
9180
9273
|
`display:flex;padding:48px;flex-direction:column;justify-content:center;> p{margin:16px 0 0;color:`,
|
|
9181
9274
|
`;font-size:16px;font-weight:500;line-height:1.6;}@media (max-width:767px){padding:32px 24px;}`
|
|
9182
9275
|
], ({ theme }) => theme.colors.text.secondary);
|
|
9183
|
-
var DetailEyebrow =
|
|
9276
|
+
var DetailEyebrow = import_styled_components22.default.p.withConfig({
|
|
9184
9277
|
componentId: "sc-f78fec74-4"
|
|
9185
9278
|
})([
|
|
9186
9279
|
`margin:0 0 8px;color:`,
|
|
9187
9280
|
`;font-size:14px;font-weight:700;letter-spacing:0.08em;text-transform:uppercase;`
|
|
9188
9281
|
], ({ theme }) => theme.colors.accent.primary);
|
|
9189
|
-
var DetailTitle =
|
|
9282
|
+
var DetailTitle = import_styled_components22.default.h1.withConfig({
|
|
9190
9283
|
componentId: "sc-f78fec74-5"
|
|
9191
9284
|
})([
|
|
9192
9285
|
`margin:0;color:`,
|
|
9193
9286
|
`;font-size:clamp(32px,4vw,48px);line-height:1.2;`
|
|
9194
9287
|
], ({ theme }) => theme.colors.text.primary);
|
|
9195
|
-
var DetailFacts =
|
|
9288
|
+
var DetailFacts = import_styled_components22.default.dl.withConfig({
|
|
9196
9289
|
componentId: "sc-f78fec74-6"
|
|
9197
9290
|
})([
|
|
9198
9291
|
`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
9292
|
]);
|
|
9200
|
-
var DetailFact =
|
|
9293
|
+
var DetailFact = import_styled_components22.default.div.withConfig({
|
|
9201
9294
|
componentId: "sc-f78fec74-7"
|
|
9202
9295
|
})([
|
|
9203
9296
|
`padding:12px;border-radius:8px;background:`,
|
|
@@ -9205,61 +9298,61 @@ var DetailFact = import_styled_components23.default.div.withConfig({
|
|
|
9205
9298
|
`;font-size:12px;line-height:1.4;}dd{margin:4px 0 0;color:`,
|
|
9206
9299
|
`;font-size:14px;font-weight:700;line-height:1.4;}`
|
|
9207
9300
|
], ({ theme }) => theme.colors.background.hover, ({ theme }) => theme.colors.text.secondary, ({ theme }) => theme.colors.text.primary);
|
|
9208
|
-
var PageHeader =
|
|
9301
|
+
var PageHeader = import_styled_components22.default.header.withConfig({
|
|
9209
9302
|
componentId: "sc-f78fec74-8"
|
|
9210
9303
|
})([
|
|
9211
9304
|
`display:flex;flex-direction:column;`
|
|
9212
9305
|
]);
|
|
9213
|
-
var PageTitle3 =
|
|
9306
|
+
var PageTitle3 = import_styled_components22.default.h1.withConfig({
|
|
9214
9307
|
componentId: "sc-f78fec74-9"
|
|
9215
9308
|
})([
|
|
9216
9309
|
`margin:0;color:`,
|
|
9217
9310
|
`;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
9311
|
], ({ theme }) => theme.colors.text.primary);
|
|
9219
|
-
var ContractLayout =
|
|
9312
|
+
var ContractLayout = import_styled_components22.default.div.withConfig({
|
|
9220
9313
|
componentId: "sc-f78fec74-10"
|
|
9221
9314
|
})([
|
|
9222
9315
|
`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
9316
|
]);
|
|
9224
|
-
var ContractMain =
|
|
9317
|
+
var ContractMain = import_styled_components22.default.main.withConfig({
|
|
9225
9318
|
componentId: "sc-f78fec74-11"
|
|
9226
9319
|
})([
|
|
9227
9320
|
`display:flex;min-width:0;flex-direction:column;gap:24px;`
|
|
9228
9321
|
]);
|
|
9229
|
-
var ContractSidebar =
|
|
9322
|
+
var ContractSidebar = import_styled_components22.default.aside.withConfig({
|
|
9230
9323
|
componentId: "sc-f78fec74-12"
|
|
9231
9324
|
})([
|
|
9232
9325
|
`min-width:0;position:sticky;top:calc(var(--header-height) + 24px);align-self:start;@media (max-width:768px){position:static;width:100%;}`
|
|
9233
9326
|
]);
|
|
9234
|
-
var IntroductionSection =
|
|
9327
|
+
var IntroductionSection = import_styled_components22.default.section.withConfig({
|
|
9235
9328
|
componentId: "sc-f78fec74-13"
|
|
9236
9329
|
})([
|
|
9237
9330
|
`display:flex;flex-direction:column;gap:8px;@media (max-width:767px){gap:6px;}`
|
|
9238
9331
|
]);
|
|
9239
|
-
var ContractSectionTitle =
|
|
9332
|
+
var ContractSectionTitle = import_styled_components22.default.h2.withConfig({
|
|
9240
9333
|
componentId: "sc-f78fec74-14"
|
|
9241
9334
|
})([
|
|
9242
9335
|
`width:100%;margin:0;overflow:hidden;color:`,
|
|
9243
9336
|
`;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
9337
|
], ({ theme }) => theme.colors.text.primary);
|
|
9245
|
-
var IntroductionDescription =
|
|
9338
|
+
var IntroductionDescription = import_styled_components22.default.p.withConfig({
|
|
9246
9339
|
componentId: "sc-f78fec74-15"
|
|
9247
9340
|
})([
|
|
9248
9341
|
`width:100%;margin:0;color:`,
|
|
9249
9342
|
`;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
9343
|
], ({ theme }) => theme.colors.text.secondary);
|
|
9251
|
-
var ContractSpecificationSection =
|
|
9344
|
+
var ContractSpecificationSection = import_styled_components22.default.section.withConfig({
|
|
9252
9345
|
componentId: "sc-f78fec74-16"
|
|
9253
9346
|
})([
|
|
9254
9347
|
`display:flex;flex-direction:column;gap:12px;`
|
|
9255
9348
|
]);
|
|
9256
|
-
var ContractSpecificationList =
|
|
9349
|
+
var ContractSpecificationList = import_styled_components22.default.dl.withConfig({
|
|
9257
9350
|
componentId: "sc-f78fec74-17"
|
|
9258
9351
|
})([
|
|
9259
9352
|
`overflow:hidden;margin:0;border:1px solid `,
|
|
9260
9353
|
`;border-radius:8px;`
|
|
9261
9354
|
], ({ theme }) => theme.colors.border.line);
|
|
9262
|
-
var ContractSpecificationRow =
|
|
9355
|
+
var ContractSpecificationRow = import_styled_components22.default.div.withConfig({
|
|
9263
9356
|
componentId: "sc-f78fec74-18"
|
|
9264
9357
|
})([
|
|
9265
9358
|
`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 +9360,23 @@ var ContractSpecificationRow = import_styled_components23.default.div.withConfig
|
|
|
9267
9360
|
`;text-overflow:ellipsis;}dd{min-width:0;margin:0;color:`,
|
|
9268
9361
|
`;}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
9362
|
], ({ theme }) => theme.colors.border.line, ({ theme }) => theme.colors.text.secondary, ({ theme }) => theme.colors.text.primary);
|
|
9270
|
-
var QualityStandardSection =
|
|
9363
|
+
var QualityStandardSection = import_styled_components22.default.section.withConfig({
|
|
9271
9364
|
componentId: "sc-f78fec74-19"
|
|
9272
9365
|
})([
|
|
9273
9366
|
`display:flex;flex-direction:column;gap:12px;`
|
|
9274
9367
|
]);
|
|
9275
|
-
var QualityStandardIntro =
|
|
9368
|
+
var QualityStandardIntro = import_styled_components22.default.div.withConfig({
|
|
9276
9369
|
componentId: "sc-f78fec74-20"
|
|
9277
9370
|
})([
|
|
9278
9371
|
`display:flex;width:100%;flex-direction:column;gap:8px;`
|
|
9279
9372
|
]);
|
|
9280
|
-
var QualityStandardDescription =
|
|
9373
|
+
var QualityStandardDescription = import_styled_components22.default.div.withConfig({
|
|
9281
9374
|
componentId: "sc-f78fec74-21"
|
|
9282
9375
|
})([
|
|
9283
9376
|
`width:100%;color:`,
|
|
9284
9377
|
`;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
9378
|
], ({ theme }) => theme.colors.text.secondary);
|
|
9286
|
-
var QualityStandardList =
|
|
9379
|
+
var QualityStandardList = import_styled_components22.default.div.withConfig({
|
|
9287
9380
|
componentId: "sc-f78fec74-22"
|
|
9288
9381
|
})([
|
|
9289
9382
|
`overflow:hidden;border:1px solid `,
|
|
@@ -9313,14 +9406,14 @@ var qualityStandardGrid = `
|
|
|
9313
9406
|
line-height: 18px;
|
|
9314
9407
|
}
|
|
9315
9408
|
`;
|
|
9316
|
-
var QualityStandardHeader =
|
|
9409
|
+
var QualityStandardHeader = import_styled_components22.default.div.withConfig({
|
|
9317
9410
|
componentId: "sc-f78fec74-23"
|
|
9318
9411
|
})([
|
|
9319
9412
|
``,
|
|
9320
9413
|
` color:`,
|
|
9321
9414
|
`;span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}`
|
|
9322
9415
|
], qualityStandardGrid, ({ theme }) => theme.colors.text.secondary);
|
|
9323
|
-
var QualityStandardRow =
|
|
9416
|
+
var QualityStandardRow = import_styled_components22.default.div.withConfig({
|
|
9324
9417
|
componentId: "sc-f78fec74-24"
|
|
9325
9418
|
})([
|
|
9326
9419
|
``,
|
|
@@ -9329,33 +9422,33 @@ var QualityStandardRow = import_styled_components23.default.div.withConfig({
|
|
|
9329
9422
|
`;span{min-width:0;}span:first-child{color:`,
|
|
9330
9423
|
`;}`
|
|
9331
9424
|
], qualityStandardGrid, ({ theme }) => theme.colors.border.line, ({ theme }) => theme.colors.text.primary, ({ theme }) => theme.colors.text.secondary);
|
|
9332
|
-
var RelatedProductsSection =
|
|
9425
|
+
var RelatedProductsSection = import_styled_components22.default.section.withConfig({
|
|
9333
9426
|
componentId: "sc-f78fec74-25"
|
|
9334
9427
|
})([
|
|
9335
9428
|
`display:flex;width:100%;min-width:0;flex-direction:column;gap:16px;`
|
|
9336
9429
|
]);
|
|
9337
|
-
var RelatedProductsHeading =
|
|
9430
|
+
var RelatedProductsHeading = import_styled_components22.default.h2.withConfig({
|
|
9338
9431
|
componentId: "sc-f78fec74-26"
|
|
9339
9432
|
})([
|
|
9340
9433
|
`width:100%;margin:0;color:`,
|
|
9341
9434
|
`;font-family:var(--font-inter),Arial,Helvetica,sans-serif;font-size:20px;font-weight:700;line-height:30px;`
|
|
9342
9435
|
], ({ theme }) => theme.colors.text.primary);
|
|
9343
|
-
var RelatedProductsList =
|
|
9436
|
+
var RelatedProductsList = import_styled_components22.default.div.withConfig({
|
|
9344
9437
|
componentId: "sc-f78fec74-27"
|
|
9345
9438
|
})([
|
|
9346
9439
|
`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
9440
|
]);
|
|
9348
|
-
var RelatedProductCard =
|
|
9441
|
+
var RelatedProductCard = import_styled_components22.default.article.withConfig({
|
|
9349
9442
|
componentId: "sc-f78fec74-28"
|
|
9350
9443
|
})([
|
|
9351
9444
|
`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
9445
|
]);
|
|
9353
|
-
var RelatedProductImageFrame =
|
|
9446
|
+
var RelatedProductImageFrame = import_styled_components22.default.div.withConfig({
|
|
9354
9447
|
componentId: "sc-f78fec74-29"
|
|
9355
9448
|
})([
|
|
9356
9449
|
`position:relative;width:136px;height:136px;flex:0 0 136px;`
|
|
9357
9450
|
]);
|
|
9358
|
-
var RelatedProductImage = (0,
|
|
9451
|
+
var RelatedProductImage = (0, import_styled_components22.default)(import_image7.default).withConfig({
|
|
9359
9452
|
componentId: "sc-f78fec74-30"
|
|
9360
9453
|
})([
|
|
9361
9454
|
`width:`,
|
|
@@ -9364,24 +9457,24 @@ var RelatedProductImage = (0, import_styled_components23.default)(import_image7.
|
|
|
9364
9457
|
` !important;right:auto !important;bottom:auto !important;left:`,
|
|
9365
9458
|
` !important;max-width:none;object-fit:contain;pointer-events:none;`
|
|
9366
9459
|
], ({ $size }) => $size, ({ $size }) => $size, ({ $top }) => $top, ({ $left }) => $left);
|
|
9367
|
-
var RelatedProductContent =
|
|
9460
|
+
var RelatedProductContent = import_styled_components22.default.div.withConfig({
|
|
9368
9461
|
componentId: "sc-f78fec74-31"
|
|
9369
9462
|
})([
|
|
9370
9463
|
`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
9464
|
]);
|
|
9372
|
-
var RelatedProductTitle =
|
|
9465
|
+
var RelatedProductTitle = import_styled_components22.default.h3.withConfig({
|
|
9373
9466
|
componentId: "sc-f78fec74-32"
|
|
9374
9467
|
})([
|
|
9375
9468
|
`width:100%;margin:0;color:`,
|
|
9376
9469
|
`;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
9470
|
], ({ theme }) => theme.colors.text.primary);
|
|
9378
|
-
var RelatedProductDescription =
|
|
9471
|
+
var RelatedProductDescription = import_styled_components22.default.p.withConfig({
|
|
9379
9472
|
componentId: "sc-f78fec74-33"
|
|
9380
9473
|
})([
|
|
9381
9474
|
`display:-webkit-box;width:100%;overflow:hidden;margin:0;color:`,
|
|
9382
9475
|
`;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
9476
|
], ({ theme }) => theme.colors.text.secondary);
|
|
9384
|
-
var RelatedProductAction =
|
|
9477
|
+
var RelatedProductAction = import_styled_components22.default.a.withConfig({
|
|
9385
9478
|
componentId: "sc-f78fec74-34"
|
|
9386
9479
|
})([
|
|
9387
9480
|
`display:inline-flex;padding:4px 16px 4px 0;align-items:center;justify-content:center;gap:6px;border-radius:6px;color:`,
|
|
@@ -9389,7 +9482,7 @@ var RelatedProductAction = import_styled_components23.default.a.withConfig({
|
|
|
9389
9482
|
`;}&:focus-visible{outline:2px solid `,
|
|
9390
9483
|
`;outline-offset:2px;}@media (max-width:767px){font-size:12px;line-height:16px;}`
|
|
9391
9484
|
], ({ theme }) => theme.colors.accent.primary, ({ theme }) => theme.colors.action.primaryHover, ({ theme }) => theme.colors.accent.primary);
|
|
9392
|
-
var RelatedProductArrow =
|
|
9485
|
+
var RelatedProductArrow = import_styled_components22.default.span.withConfig({
|
|
9393
9486
|
componentId: "sc-f78fec74-35"
|
|
9394
9487
|
})([
|
|
9395
9488
|
`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 +9815,46 @@ var featuredArticles = articles.slice(0, 3).map((article) => ({
|
|
|
9722
9815
|
}));
|
|
9723
9816
|
|
|
9724
9817
|
// src/commodity-original/app/thong-tin-wikex/featured-style.ts
|
|
9725
|
-
var
|
|
9726
|
-
var FeaturedSection =
|
|
9818
|
+
var import_styled_components23 = __toESM(require("styled-components"));
|
|
9819
|
+
var FeaturedSection = import_styled_components23.default.section.withConfig({
|
|
9727
9820
|
componentId: "sc-7f318e93-0"
|
|
9728
9821
|
})([
|
|
9729
9822
|
`overflow:hidden;padding:60px 24px 40px;background:`,
|
|
9730
9823
|
`;@media (max-width:767px){padding:30px 0 20px;}`
|
|
9731
9824
|
], ({ theme }) => theme.colors.background.warm);
|
|
9732
|
-
var FeaturedInner =
|
|
9825
|
+
var FeaturedInner = import_styled_components23.default.div.withConfig({
|
|
9733
9826
|
componentId: "sc-7f318e93-1"
|
|
9734
9827
|
})([
|
|
9735
9828
|
`display:flex;width:min(1200px,100%);margin:0 auto;flex-direction:column;gap:32px;@media (max-width:767px){gap:24px;}`
|
|
9736
9829
|
]);
|
|
9737
|
-
var FeaturedTitle =
|
|
9830
|
+
var FeaturedTitle = import_styled_components23.default.h2.withConfig({
|
|
9738
9831
|
componentId: "sc-7f318e93-2"
|
|
9739
9832
|
})([
|
|
9740
9833
|
`margin:0;color:`,
|
|
9741
9834
|
`;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
9835
|
], ({ theme }) => theme.colors.text.primary);
|
|
9743
|
-
var FeaturedCarousel =
|
|
9836
|
+
var FeaturedCarousel = import_styled_components23.default.div.withConfig({
|
|
9744
9837
|
componentId: "sc-7f318e93-3"
|
|
9745
9838
|
})([
|
|
9746
9839
|
`min-width:0;@media (max-width:767px){padding:0 16px;}`
|
|
9747
9840
|
]);
|
|
9748
|
-
var FeaturedViewport =
|
|
9841
|
+
var FeaturedViewport = import_styled_components23.default.div.withConfig({
|
|
9749
9842
|
componentId: "sc-7f318e93-4"
|
|
9750
9843
|
})([
|
|
9751
9844
|
`min-width:0;margin:-12px -16px -20px;overflow:hidden;padding:12px 16px 20px;&:focus-visible{outline:2px solid `,
|
|
9752
9845
|
`;outline-offset:-2px;}`
|
|
9753
9846
|
], ({ theme }) => theme.colors.accent.primary);
|
|
9754
|
-
var FeaturedTrack =
|
|
9847
|
+
var FeaturedTrack = import_styled_components23.default.div.withConfig({
|
|
9755
9848
|
componentId: "sc-7f318e93-5"
|
|
9756
9849
|
})([
|
|
9757
9850
|
`display:flex;width:100%;align-items:stretch;gap:32px;transition:transform 400ms ease;will-change:transform;@media (prefers-reduced-motion:reduce){transition:none;}`
|
|
9758
9851
|
]);
|
|
9759
|
-
var FeaturedSlide =
|
|
9852
|
+
var FeaturedSlide = import_styled_components23.default.div.withConfig({
|
|
9760
9853
|
componentId: "sc-7f318e93-6"
|
|
9761
9854
|
})([
|
|
9762
9855
|
`width:100%;min-width:100%;flex:0 0 100%;`
|
|
9763
9856
|
]);
|
|
9764
|
-
var FeaturedCard = (0,
|
|
9857
|
+
var FeaturedCard = (0, import_styled_components23.default)(BlogCard).withConfig({
|
|
9765
9858
|
componentId: "sc-7f318e93-7"
|
|
9766
9859
|
})([
|
|
9767
9860
|
`overflow:visible;height:100%;box-shadow:4px 4px 20px rgb(0 0 0 / 4%);&& `,
|
|
@@ -9777,17 +9870,17 @@ var FeaturedCard = (0, import_styled_components24.default)(BlogCard).withConfig(
|
|
|
9777
9870
|
`{font-size:16px;font-weight:700;line-height:22px;}&& `,
|
|
9778
9871
|
`{font-size:14px;line-height:18px;-webkit-line-clamp:2;}}`
|
|
9779
9872
|
], BlogCardImagePanel, BlogCardContent, BlogCardTitle, BlogCardDescription, BlogCardImagePanel, BlogCardContent, BlogCardImagePanel, BlogCardContent, BlogCardDate, BlogCardTitle, BlogCardDescription);
|
|
9780
|
-
var FeaturedControls =
|
|
9873
|
+
var FeaturedControls = import_styled_components23.default.nav.withConfig({
|
|
9781
9874
|
componentId: "sc-7f318e93-8"
|
|
9782
9875
|
})([
|
|
9783
9876
|
`display:flex;margin-top:24px;align-items:center;justify-content:center;gap:8px;`
|
|
9784
9877
|
]);
|
|
9785
|
-
var FeaturedDots =
|
|
9878
|
+
var FeaturedDots = import_styled_components23.default.div.withConfig({
|
|
9786
9879
|
componentId: "sc-7f318e93-9"
|
|
9787
9880
|
})([
|
|
9788
9881
|
`display:flex;height:4px;align-items:center;gap:6px;`
|
|
9789
9882
|
]);
|
|
9790
|
-
var FeaturedDot =
|
|
9883
|
+
var FeaturedDot = import_styled_components23.default.button.withConfig({
|
|
9791
9884
|
componentId: "sc-7f318e93-10"
|
|
9792
9885
|
})([
|
|
9793
9886
|
`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 +9888,14 @@ var FeaturedDot = import_styled_components24.default.button.withConfig({
|
|
|
9795
9888
|
`;}&:focus-visible{outline:2px solid `,
|
|
9796
9889
|
`;outline-offset:2px;}`
|
|
9797
9890
|
], ({ theme }) => theme.colors.border.line, ({ theme }) => theme.colors.accent.primary, ({ theme }) => theme.colors.accent.primary);
|
|
9798
|
-
var FeaturedArrowButton =
|
|
9891
|
+
var FeaturedArrowButton = import_styled_components23.default.button.withConfig({
|
|
9799
9892
|
componentId: "sc-7f318e93-11"
|
|
9800
9893
|
})([
|
|
9801
9894
|
`display:none;width:24px;height:24px;align-items:center;justify-content:center;border:0;padding:0;color:`,
|
|
9802
9895
|
`;background:transparent;cursor:pointer;&:focus-visible{outline:2px solid `,
|
|
9803
9896
|
`;outline-offset:2px;}@media (max-width:767px){display:inline-flex;}`
|
|
9804
9897
|
], ({ theme }) => theme.colors.text.secondary, ({ theme }) => theme.colors.accent.primary);
|
|
9805
|
-
var FeaturedArrow =
|
|
9898
|
+
var FeaturedArrow = import_styled_components23.default.span.withConfig({
|
|
9806
9899
|
componentId: "sc-7f318e93-12"
|
|
9807
9900
|
})([
|
|
9808
9901
|
`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 +10000,47 @@ function FeaturedArticles() {
|
|
|
9907
10000
|
var import_jsx_runtime32 = require("react/jsx-runtime");
|
|
9908
10001
|
var import_react20 = require("react");
|
|
9909
10002
|
var import_react_i18next13 = require("react-i18next");
|
|
9910
|
-
var
|
|
10003
|
+
var import_styled_components25 = __toESM(require("styled-components"));
|
|
9911
10004
|
|
|
9912
10005
|
// src/commodity-original/app/thong-tin-wikex/style.ts
|
|
9913
|
-
var
|
|
9914
|
-
var WikexInformationMain =
|
|
10006
|
+
var import_styled_components24 = __toESM(require("styled-components"));
|
|
10007
|
+
var WikexInformationMain = import_styled_components24.default.main.withConfig({
|
|
9915
10008
|
componentId: "sc-38414e6b-0"
|
|
9916
10009
|
})([
|
|
9917
10010
|
`min-height:calc(100vh - var(--header-height));background:`,
|
|
9918
10011
|
`;`
|
|
9919
10012
|
], ({ theme }) => theme.colors.background.warm);
|
|
9920
|
-
var WikexControls =
|
|
10013
|
+
var WikexControls = import_styled_components24.default.section.withConfig({
|
|
9921
10014
|
componentId: "sc-38414e6b-1"
|
|
9922
10015
|
})([
|
|
9923
10016
|
`padding:60px 24px 16px;@media (max-width:767px){padding:30px 16px 40px;}`
|
|
9924
10017
|
]);
|
|
9925
|
-
var WikexControlsInner =
|
|
10018
|
+
var WikexControlsInner = import_styled_components24.default.div.withConfig({
|
|
9926
10019
|
componentId: "sc-38414e6b-2"
|
|
9927
10020
|
})([
|
|
9928
10021
|
`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
10022
|
]);
|
|
9930
|
-
var WikexTabs =
|
|
10023
|
+
var WikexTabs = import_styled_components24.default.div.withConfig({
|
|
9931
10024
|
componentId: "sc-38414e6b-3"
|
|
9932
10025
|
})([
|
|
9933
10026
|
`min-width:0;`
|
|
9934
10027
|
]);
|
|
9935
|
-
var WikexFilterControls =
|
|
10028
|
+
var WikexFilterControls = import_styled_components24.default.div.withConfig({
|
|
9936
10029
|
componentId: "sc-38414e6b-4"
|
|
9937
10030
|
})([
|
|
9938
10031
|
`display:flex;gap:8px;align-items:center;@media (max-width:767px){flex-wrap:wrap;}`
|
|
9939
10032
|
]);
|
|
9940
|
-
var WikexSearch =
|
|
10033
|
+
var WikexSearch = import_styled_components24.default.div.withConfig({
|
|
9941
10034
|
componentId: "sc-38414e6b-5"
|
|
9942
10035
|
})([
|
|
9943
10036
|
`width:261px;@media (max-width:767px){width:100%;flex-basis:100%;}`
|
|
9944
10037
|
]);
|
|
9945
|
-
var WikexDateRangePicker = (0,
|
|
10038
|
+
var WikexDateRangePicker = (0, import_styled_components24.default)(DateRangePicker).withConfig({
|
|
9946
10039
|
componentId: "sc-38414e6b-6"
|
|
9947
10040
|
})([
|
|
9948
10041
|
`width:262px;@media (max-width:767px){flex:1 1 220px;}`
|
|
9949
10042
|
]);
|
|
9950
|
-
var WikexResetButton =
|
|
10043
|
+
var WikexResetButton = import_styled_components24.default.button.withConfig({
|
|
9951
10044
|
componentId: "sc-38414e6b-7"
|
|
9952
10045
|
})([
|
|
9953
10046
|
`height:40px;padding:0 16px;border:1px solid `,
|
|
@@ -9959,22 +10052,22 @@ var WikexResetButton = import_styled_components25.default.button.withConfig({
|
|
|
9959
10052
|
`;outline-offset:2px;}@media (max-width:767px){height:36px;font-size:12px;line-height:16px;background:`,
|
|
9960
10053
|
`;}`
|
|
9961
10054
|
], ({ 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 =
|
|
10055
|
+
var WikexSearchIcon = import_styled_components24.default.span.withConfig({
|
|
9963
10056
|
componentId: "sc-38414e6b-8"
|
|
9964
10057
|
})([
|
|
9965
10058
|
`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
10059
|
]);
|
|
9967
|
-
var WikexContent =
|
|
10060
|
+
var WikexContent = import_styled_components24.default.div.withConfig({
|
|
9968
10061
|
componentId: "sc-38414e6b-9"
|
|
9969
10062
|
})([
|
|
9970
10063
|
`width:min(1232px,100%);margin:0 auto;padding:22px 16px 80px;@media (max-width:767px){padding:0 16px 40px;}`
|
|
9971
10064
|
]);
|
|
9972
|
-
var WikexArticleGrid =
|
|
10065
|
+
var WikexArticleGrid = import_styled_components24.default.div.withConfig({
|
|
9973
10066
|
componentId: "sc-38414e6b-10"
|
|
9974
10067
|
})([
|
|
9975
10068
|
`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
10069
|
]);
|
|
9977
|
-
var WikexPagination =
|
|
10070
|
+
var WikexPagination = import_styled_components24.default.div.withConfig({
|
|
9978
10071
|
componentId: "sc-38414e6b-11"
|
|
9979
10072
|
})([
|
|
9980
10073
|
`margin-top:32px;@media (max-width:767px){margin-top:24px;}`
|
|
@@ -9982,7 +10075,7 @@ var WikexPagination = import_styled_components25.default.div.withConfig({
|
|
|
9982
10075
|
|
|
9983
10076
|
// src/commodity-original/app/thong-tin-wikex/WikexInformationSections.tsx
|
|
9984
10077
|
var articlesPerPage = 6;
|
|
9985
|
-
var InformationArticlesRoot =
|
|
10078
|
+
var InformationArticlesRoot = import_styled_components25.default.div.withConfig({
|
|
9986
10079
|
componentId: "sc-4dd7b1d6-0"
|
|
9987
10080
|
})([
|
|
9988
10081
|
`background:`,
|
|
@@ -10126,11 +10219,11 @@ var import_react_i18next14 = require("react-i18next");
|
|
|
10126
10219
|
// src/commodity-original/lib/app-theme-provider.tsx
|
|
10127
10220
|
var import_jsx_runtime33 = require("react/jsx-runtime");
|
|
10128
10221
|
var import_react21 = require("react");
|
|
10129
|
-
var
|
|
10222
|
+
var import_styled_components27 = require("styled-components");
|
|
10130
10223
|
|
|
10131
10224
|
// src/commodity-original/app/global-styles.tsx
|
|
10132
|
-
var
|
|
10133
|
-
var GlobalStyles = (0,
|
|
10225
|
+
var import_styled_components26 = require("styled-components");
|
|
10226
|
+
var GlobalStyles = (0, import_styled_components26.createGlobalStyle)([
|
|
10134
10227
|
`:root{color-scheme:light;--header-height:64px;--section-scroll-gap:12px;--color-background-canvas:`,
|
|
10135
10228
|
`;--color-background-card:`,
|
|
10136
10229
|
`;--color-background-deep:`,
|
|
@@ -10332,7 +10425,7 @@ function AppThemeProvider({ children }) {
|
|
|
10332
10425
|
style: {
|
|
10333
10426
|
display: "contents"
|
|
10334
10427
|
},
|
|
10335
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(
|
|
10428
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(import_styled_components27.ThemeProvider, {
|
|
10336
10429
|
theme: appTheme,
|
|
10337
10430
|
children: [
|
|
10338
10431
|
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)(global_styles_default, {}),
|
|
@@ -10655,15 +10748,15 @@ var import_link7 = __toESM(require("next/link.js"));
|
|
|
10655
10748
|
var import_navigation2 = require("next/navigation.js");
|
|
10656
10749
|
var import_lucide3 = require("lucide");
|
|
10657
10750
|
var import_react24 = require("morphicons/react");
|
|
10658
|
-
var
|
|
10751
|
+
var import_radix_ui4 = require("radix-ui");
|
|
10659
10752
|
|
|
10660
10753
|
// src/commodity-original/components/theme-toggle.tsx
|
|
10661
10754
|
var import_jsx_runtime36 = require("react/jsx-runtime");
|
|
10662
10755
|
var import_lucide2 = require("lucide");
|
|
10663
10756
|
var import_react22 = require("morphicons/react");
|
|
10664
|
-
var
|
|
10757
|
+
var import_styled_components28 = __toESM(require("styled-components"));
|
|
10665
10758
|
var import_react_i18next15 = require("react-i18next");
|
|
10666
|
-
var ToggleButton =
|
|
10759
|
+
var ToggleButton = import_styled_components28.default.button.withConfig({
|
|
10667
10760
|
componentId: "sc-5aced439-0"
|
|
10668
10761
|
})([
|
|
10669
10762
|
`position:absolute;top:20px;right:20px;display:inline-flex;width:44px;height:44px;align-items:center;justify-content:center;border:1px solid `,
|
|
@@ -10764,8 +10857,8 @@ function LanguageSwitcher({
|
|
|
10764
10857
|
const { t } = (0, import_react_i18next16.useTranslation)();
|
|
10765
10858
|
const triggerRef = (0, import_react23.useRef)(null);
|
|
10766
10859
|
const currentLanguage = languages.find((item) => item.value === language);
|
|
10767
|
-
return /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(
|
|
10768
|
-
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
|
|
10860
|
+
return /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(import_radix_ui4.DropdownMenu.Root, { children: [
|
|
10861
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_radix_ui4.DropdownMenu.Trigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
|
|
10769
10862
|
LanguageTrigger,
|
|
10770
10863
|
{
|
|
10771
10864
|
"aria-label": t("language.current", {
|
|
@@ -10777,7 +10870,7 @@ function LanguageSwitcher({
|
|
|
10777
10870
|
children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(LanguageIcon, {})
|
|
10778
10871
|
}
|
|
10779
10872
|
) }),
|
|
10780
|
-
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
|
|
10873
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_radix_ui4.DropdownMenu.Portal, { container: portalContainer, children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
|
|
10781
10874
|
LanguageMenuContent,
|
|
10782
10875
|
{
|
|
10783
10876
|
align: compact ? "end" : "start",
|
|
@@ -10789,7 +10882,7 @@ function LanguageSwitcher({
|
|
|
10789
10882
|
},
|
|
10790
10883
|
sideOffset: 4,
|
|
10791
10884
|
children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
|
|
10792
|
-
|
|
10885
|
+
import_radix_ui4.DropdownMenu.RadioGroup,
|
|
10793
10886
|
{
|
|
10794
10887
|
onValueChange: (value4) => onLanguageChange(value4),
|
|
10795
10888
|
value: language,
|
|
@@ -10947,13 +11040,13 @@ function Header() {
|
|
|
10947
11040
|
const isItemActive = "children" in item ? item.children.some((child) => isRouteActive(child.href)) : isRouteActive(item.href);
|
|
10948
11041
|
if ("children" in item) {
|
|
10949
11042
|
return /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(
|
|
10950
|
-
|
|
11043
|
+
import_radix_ui4.DropdownMenu.Root,
|
|
10951
11044
|
{
|
|
10952
11045
|
modal: false,
|
|
10953
11046
|
open: isDesktopProductsOpen,
|
|
10954
11047
|
onOpenChange: setIsDesktopProductsOpen,
|
|
10955
11048
|
children: [
|
|
10956
|
-
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
|
|
11049
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_radix_ui4.DropdownMenu.Trigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
|
|
10957
11050
|
ProductsMenuTrigger,
|
|
10958
11051
|
{
|
|
10959
11052
|
type: "button",
|
|
@@ -10962,7 +11055,7 @@ function Header() {
|
|
|
10962
11055
|
children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("span", { children: t(item.labelKey) })
|
|
10963
11056
|
}
|
|
10964
11057
|
) }),
|
|
10965
|
-
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
|
|
11058
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_radix_ui4.DropdownMenu.Portal, { container: portalContainer, children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
|
|
10966
11059
|
ProductsMenuContent,
|
|
10967
11060
|
{
|
|
10968
11061
|
align: "center",
|
|
@@ -10998,8 +11091,8 @@ function Header() {
|
|
|
10998
11091
|
}
|
|
10999
11092
|
) }),
|
|
11000
11093
|
/* @__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)(
|
|
11094
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(import_radix_ui4.Dialog.Root, { open: isMenuOpen, onOpenChange: setIsMenuOpen, children: [
|
|
11095
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_radix_ui4.Dialog.Trigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
|
|
11003
11096
|
MobileMenuTrigger,
|
|
11004
11097
|
{
|
|
11005
11098
|
type: "button",
|
|
@@ -11017,7 +11110,7 @@ function Header() {
|
|
|
11017
11110
|
)
|
|
11018
11111
|
}
|
|
11019
11112
|
) }),
|
|
11020
|
-
/* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(
|
|
11113
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(import_radix_ui4.Dialog.Portal, { container: portalContainer, children: [
|
|
11021
11114
|
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(MobileDrawerOverlay, {}),
|
|
11022
11115
|
/* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(
|
|
11023
11116
|
MobileDrawerContent,
|
|
@@ -11163,7 +11256,7 @@ function Header() {
|
|
|
11163
11256
|
item.labelKey
|
|
11164
11257
|
);
|
|
11165
11258
|
}),
|
|
11166
|
-
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
|
|
11259
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_radix_ui4.Dialog.Close, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
|
|
11167
11260
|
"button",
|
|
11168
11261
|
{
|
|
11169
11262
|
className: "mobile-menu-login",
|
|
@@ -11233,8 +11326,8 @@ function Header() {
|
|
|
11233
11326
|
var import_image10 = __toESM(require("next/image.js"));
|
|
11234
11327
|
|
|
11235
11328
|
// src/commodity-original/components/Title/styled.ts
|
|
11236
|
-
var
|
|
11237
|
-
var TitleContainer =
|
|
11329
|
+
var import_styled_components29 = require("styled-components");
|
|
11330
|
+
var TitleContainer = import_styled_components29.styled.div.withConfig({
|
|
11238
11331
|
componentId: "sc-7d5a6c96-0"
|
|
11239
11332
|
})([
|
|
11240
11333
|
`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 +12324,20 @@ function DownloadSection() {
|
|
|
12231
12324
|
var import_react27 = require("react");
|
|
12232
12325
|
var import_lucide4 = require("lucide");
|
|
12233
12326
|
var import_react28 = require("morphicons/react");
|
|
12234
|
-
var
|
|
12327
|
+
var import_radix_ui5 = require("radix-ui");
|
|
12235
12328
|
var import_react_i18next21 = require("react-i18next");
|
|
12236
12329
|
var import_jsx_runtime44 = require("react/jsx-runtime");
|
|
12237
12330
|
function FaqItem({ question, answer, order }) {
|
|
12238
12331
|
const [isOpen, setIsOpen] = (0, import_react27.useState)(false);
|
|
12239
12332
|
return /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(
|
|
12240
|
-
|
|
12333
|
+
import_radix_ui5.Collapsible.Root,
|
|
12241
12334
|
{
|
|
12242
12335
|
className: "faq-item",
|
|
12243
12336
|
open: isOpen,
|
|
12244
12337
|
onOpenChange: setIsOpen,
|
|
12245
12338
|
style: { "--faq-order": order },
|
|
12246
12339
|
children: [
|
|
12247
|
-
/* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(
|
|
12340
|
+
/* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(import_radix_ui5.Collapsible.Trigger, { className: "faq-trigger", children: [
|
|
12248
12341
|
/* @__PURE__ */ (0, import_jsx_runtime44.jsx)("span", { children: question }),
|
|
12249
12342
|
/* @__PURE__ */ (0, import_jsx_runtime44.jsx)("span", { className: "faq-trigger-icon", "aria-hidden": "true", children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
|
|
12250
12343
|
import_react28.MorphIcon,
|
|
@@ -12257,7 +12350,7 @@ function FaqItem({ question, answer, order }) {
|
|
|
12257
12350
|
}
|
|
12258
12351
|
) })
|
|
12259
12352
|
] }),
|
|
12260
|
-
/* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
|
|
12353
|
+
/* @__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
12354
|
]
|
|
12262
12355
|
}
|
|
12263
12356
|
);
|
|
@@ -12293,9 +12386,9 @@ var import_react_i18next23 = require("react-i18next");
|
|
|
12293
12386
|
// src/commodity-original/components/Background/index.tsx
|
|
12294
12387
|
var import_jsx_runtime45 = require("react/jsx-runtime");
|
|
12295
12388
|
var import_react29 = require("react");
|
|
12296
|
-
var
|
|
12389
|
+
var import_styled_components30 = require("styled-components");
|
|
12297
12390
|
var TWO_PI = Math.PI * 2;
|
|
12298
|
-
var DotContainer =
|
|
12391
|
+
var DotContainer = import_styled_components30.styled.div.withConfig({
|
|
12299
12392
|
componentId: "sc-8dc7adc4-0"
|
|
12300
12393
|
})([
|
|
12301
12394
|
`position:absolute;top:-130px;left:-200px;width:50%;height:100%;border-radius:20%;overflow:hidden;pointer-events:none;`
|
|
@@ -12910,11 +13003,11 @@ function HeroSection2() {
|
|
|
12910
13003
|
var import_jsx_runtime48 = require("react/jsx-runtime");
|
|
12911
13004
|
var import_image14 = __toESM(require("next/image.js"));
|
|
12912
13005
|
var import_react_i18next24 = require("react-i18next");
|
|
12913
|
-
var
|
|
12914
|
-
var floatingActionWave = (0,
|
|
13006
|
+
var import_styled_components31 = __toESM(require("styled-components"));
|
|
13007
|
+
var floatingActionWave = (0, import_styled_components31.keyframes)([
|
|
12915
13008
|
`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
13009
|
]);
|
|
12917
|
-
var FloatingActionsRoot =
|
|
13010
|
+
var FloatingActionsRoot = import_styled_components31.default.aside.withConfig({
|
|
12918
13011
|
componentId: "sc-613f53f5-0"
|
|
12919
13012
|
})([
|
|
12920
13013
|
`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:`,
|