@orderly.network/affiliate 2.10.1 → 2.10.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -347,40 +347,49 @@ var Faq = () => {
347
347
  expanded: expandedItems.has(item.id)
348
348
  }));
349
349
  }, [faqItemsData, expandedItems]);
350
- return /* @__PURE__ */ jsxs(Box, { children: [
350
+ return /* @__PURE__ */ jsxs(Box, { className: "oui-affiliate-faq", children: [
351
351
  /* @__PURE__ */ jsx(Text, { className: "oui-text-[32px]", children: t("affiliate.faq.title") }),
352
- /* @__PURE__ */ jsx(Flex, { direction: "column", itemAlign: "stretch", gap: 0, children: faqItems.map((item, index) => /* @__PURE__ */ jsxs(Fragment$1, { children: [
353
- /* @__PURE__ */ jsx(
354
- Collapsible,
355
- {
356
- open: item.expanded,
357
- onOpenChange: () => toggleItem(item.id),
358
- children: /* @__PURE__ */ jsxs(
359
- Flex,
352
+ /* @__PURE__ */ jsx(
353
+ Flex,
354
+ {
355
+ direction: "column",
356
+ itemAlign: "stretch",
357
+ gap: 0,
358
+ className: "oui-faq-list",
359
+ children: faqItems.map((item, index) => /* @__PURE__ */ jsxs(Fragment$1, { children: [
360
+ /* @__PURE__ */ jsx(
361
+ Collapsible,
360
362
  {
361
- direction: "column",
362
- className: "oui-cursor-pointer oui-py-4",
363
- itemAlign: "stretch",
364
- onClick: () => toggleItem(item.id),
365
- children: [
366
- /* @__PURE__ */ jsxs(Flex, { justify: "between", itemAlign: "center", gap: 4, children: [
367
- /* @__PURE__ */ jsx(Flex, { gap: 2, itemAlign: "center", className: "oui-flex-1", children: /* @__PURE__ */ jsx(Text, { size: "2xl", weight: "semibold", children: `${index + 1}. ${item.question}` }) }),
368
- /* @__PURE__ */ jsx(ChevronIcon, { expanded: item.expanded })
369
- ] }),
370
- /* @__PURE__ */ jsx(CollapsibleContent, { children: /* @__PURE__ */ jsx(
371
- Box,
372
- {
373
- className: "oui-pt-3 oui-text-base-contrast-54",
374
- dangerouslySetInnerHTML: { __html: item.answer }
375
- }
376
- ) })
377
- ]
363
+ open: item.expanded,
364
+ onOpenChange: () => toggleItem(item.id),
365
+ children: /* @__PURE__ */ jsxs(
366
+ Flex,
367
+ {
368
+ direction: "column",
369
+ className: "oui-cursor-pointer oui-py-4",
370
+ itemAlign: "stretch",
371
+ onClick: () => toggleItem(item.id),
372
+ children: [
373
+ /* @__PURE__ */ jsxs(Flex, { justify: "between", itemAlign: "center", gap: 4, children: [
374
+ /* @__PURE__ */ jsx(Flex, { gap: 2, itemAlign: "center", className: "oui-flex-1", children: /* @__PURE__ */ jsx(Text, { size: "2xl", weight: "semibold", children: `${index + 1}. ${item.question}` }) }),
375
+ /* @__PURE__ */ jsx(ChevronIcon, { expanded: item.expanded })
376
+ ] }),
377
+ /* @__PURE__ */ jsx(CollapsibleContent, { children: /* @__PURE__ */ jsx(
378
+ Box,
379
+ {
380
+ className: "oui-pt-3 oui-text-base-contrast-54",
381
+ dangerouslySetInnerHTML: { __html: item.answer }
382
+ }
383
+ ) })
384
+ ]
385
+ }
386
+ )
378
387
  }
379
- )
380
- }
381
- ),
382
- index < faqItems.length - 1 && /* @__PURE__ */ jsx("div", { className: "oui-my-4 oui-h-px oui-bg-line-6" })
383
- ] }, item.id)) })
388
+ ),
389
+ index < faqItems.length - 1 && /* @__PURE__ */ jsx("div", { className: "oui-my-4 oui-h-px oui-bg-line-6" })
390
+ ] }, item.id))
391
+ }
392
+ )
384
393
  ] });
385
394
  };
386
395
  var ChevronIcon = ({ expanded }) => /* @__PURE__ */ jsx(
@@ -632,10 +641,20 @@ var ReferralCodeForm = (props) => {
632
641
  };
633
642
  }
634
643
  }, [t, type, isEditingRefereeRebateRate, isReview, props.accountId]);
635
- const titleView = /* @__PURE__ */ jsxs(Flex, { width: "100%", direction: "column", itemAlign: "start", gap: 3, children: [
636
- /* @__PURE__ */ jsx(Text, { size: "base", intensity: 98, children: title }),
637
- /* @__PURE__ */ jsx(Divider, { intensity: 8, className: "oui-w-full" })
638
- ] });
644
+ const titleView = /* @__PURE__ */ jsxs(
645
+ Flex,
646
+ {
647
+ width: "100%",
648
+ direction: "column",
649
+ itemAlign: "start",
650
+ gap: 3,
651
+ className: "oui-referralCodeForm-header",
652
+ children: [
653
+ /* @__PURE__ */ jsx(Text, { size: "base", intensity: 98, children: title }),
654
+ /* @__PURE__ */ jsx(Divider, { intensity: 8, className: "oui-w-full" })
655
+ ]
656
+ }
657
+ );
639
658
  const descriptionView = /* @__PURE__ */ jsx(WarningBox, { children: description });
640
659
  const referralCodeInput = /* @__PURE__ */ jsx(
641
660
  ReferralCodeInput,
@@ -689,6 +708,7 @@ var ReferralCodeForm = (props) => {
689
708
  fullWidth: true,
690
709
  onClick: props.close,
691
710
  size: "md",
711
+ className: "oui-referralCodeForm-cancel-btn",
692
712
  children: t("common.cancel")
693
713
  }
694
714
  ),
@@ -700,6 +720,7 @@ var ReferralCodeForm = (props) => {
700
720
  disabled: props.buttonDisabled || props.isMutating,
701
721
  loading: props.isMutating,
702
722
  size: "md",
723
+ className: "oui-referralCodeForm-confirm-btn",
703
724
  children: buttonText
704
725
  }
705
726
  )
@@ -739,7 +760,7 @@ var ReferralCodeForm = (props) => {
739
760
  direction: "column",
740
761
  itemAlign: "start",
741
762
  gap: 6,
742
- className: "oui-font-semibold",
763
+ className: "oui-affiliate-referralCodeForm oui-font-semibold",
743
764
  children: [
744
765
  titleView,
745
766
  descriptionView,
@@ -956,59 +977,84 @@ var TradingVolumeProgress = (props) => {
956
977
  name: "Perp"
957
978
  });
958
979
  };
959
- return /* @__PURE__ */ jsxs(Flex, { width: "100%", direction: "column", gap: 4, className: classNames?.root, children: [
960
- /* @__PURE__ */ jsx(
961
- Text,
962
- {
963
- size: "sm",
964
- intensity: 54,
965
- className: cn("oui-text-center", classNames?.description),
966
- children: t("affiliate.newReferralProgram.tradeUnlock.description", {
967
- volume: formatRequiredVolume
968
- })
969
- }
970
- ),
971
- /* @__PURE__ */ jsxs(Flex, { width: "100%", direction: "column", gap: 2, children: [
972
- /* @__PURE__ */ jsxs(
973
- Flex,
974
- {
975
- width: "100%",
976
- justify: "between",
977
- className: "oui-text-2xs oui-text-base-contrast",
978
- children: [
979
- /* @__PURE__ */ jsx(Text, { children: t("common.current") }),
980
- /* @__PURE__ */ jsxs(Flex, { gap: 1, children: [
981
- /* @__PURE__ */ jsx(Text.numeral, { rule: "price", dp: 0, children: current_volume }),
982
- /* @__PURE__ */ jsx(
983
- Text.numeral,
984
- {
985
- intensity: 54,
986
- rule: "price",
987
- dp: 0,
988
- prefix: "/ ",
989
- suffix: " USDC",
990
- children: required_volume
991
- }
980
+ return /* @__PURE__ */ jsxs(
981
+ Flex,
982
+ {
983
+ width: "100%",
984
+ direction: "column",
985
+ gap: 4,
986
+ className: cn("oui-tradingVolumeProgress", classNames?.root),
987
+ children: [
988
+ /* @__PURE__ */ jsx(
989
+ Text,
990
+ {
991
+ size: "sm",
992
+ intensity: 54,
993
+ className: cn(
994
+ "oui-tradingVolumeProgress-description",
995
+ "oui-text-center",
996
+ classNames?.description
997
+ ),
998
+ children: t("affiliate.newReferralProgram.tradeUnlock.description", {
999
+ volume: formatRequiredVolume
1000
+ })
1001
+ }
1002
+ ),
1003
+ /* @__PURE__ */ jsxs(Flex, { width: "100%", direction: "column", gap: 2, children: [
1004
+ /* @__PURE__ */ jsxs(
1005
+ Flex,
1006
+ {
1007
+ width: "100%",
1008
+ justify: "between",
1009
+ className: "oui-text-2xs oui-text-base-contrast",
1010
+ children: [
1011
+ /* @__PURE__ */ jsx(Text, { children: t("common.current") }),
1012
+ /* @__PURE__ */ jsxs(Flex, { gap: 1, children: [
1013
+ /* @__PURE__ */ jsx(Text.numeral, { rule: "price", dp: 0, children: current_volume }),
1014
+ /* @__PURE__ */ jsx(
1015
+ Text.numeral,
1016
+ {
1017
+ intensity: 54,
1018
+ rule: "price",
1019
+ dp: 0,
1020
+ prefix: "/ ",
1021
+ suffix: " USDC",
1022
+ children: required_volume
1023
+ }
1024
+ )
1025
+ ] })
1026
+ ]
1027
+ }
1028
+ ),
1029
+ /* @__PURE__ */ jsx("div", { className: "oui-h-[8px] oui-w-full oui-rounded-full oui-bg-base-contrast-4", children: /* @__PURE__ */ jsx(
1030
+ "div",
1031
+ {
1032
+ style: {
1033
+ width: `${progressPercentage}%`
1034
+ },
1035
+ className: cn(
1036
+ "oui-tradingVolumeProgress-bar oui-h-full oui-rounded-l-full oui-bg-primary-light",
1037
+ progressPercentage === 100 && "oui-rounded-r-full"
992
1038
  )
993
- ] })
994
- ]
995
- }
996
- ),
997
- /* @__PURE__ */ jsx("div", { className: "oui-h-[8px] oui-w-full oui-rounded-full oui-bg-base-contrast-4", children: /* @__PURE__ */ jsx(
998
- "div",
999
- {
1000
- style: {
1001
- width: `${progressPercentage}%`
1002
- },
1003
- className: cn(
1004
- "oui-h-full oui-rounded-l-full oui-bg-primary-light",
1005
- progressPercentage === 100 && "oui-rounded-r-full"
1006
- )
1007
- }
1008
- ) })
1009
- ] }),
1010
- /* @__PURE__ */ jsx(Button, { size: "md", onClick: gotoTrade, ...props.buttonProps, children: t("affiliate.newReferralProgram.tradeUnlock") })
1011
- ] });
1039
+ }
1040
+ ) })
1041
+ ] }),
1042
+ /* @__PURE__ */ jsx(
1043
+ Button,
1044
+ {
1045
+ size: "md",
1046
+ onClick: gotoTrade,
1047
+ className: cn(
1048
+ "oui-tradingVolumeProgress-cta-btn",
1049
+ props.buttonProps?.className
1050
+ ),
1051
+ ...props.buttonProps,
1052
+ children: t("affiliate.newReferralProgram.tradeUnlock")
1053
+ }
1054
+ )
1055
+ ]
1056
+ }
1057
+ );
1012
1058
  };
1013
1059
  var Hero = () => {
1014
1060
  const { t } = useTranslation();
@@ -1072,7 +1118,7 @@ var Hero = () => {
1072
1118
  Flex,
1073
1119
  {
1074
1120
  gap: 8,
1075
- className: "oui-flex-col-reverse md:oui-flex-row",
1121
+ className: "oui-affiliate-hero oui-flex-col-reverse md:oui-flex-row",
1076
1122
  id: "oui-affiliate-landing-hero",
1077
1123
  itemAlign: "center",
1078
1124
  children: [
@@ -1121,7 +1167,7 @@ var Hero = () => {
1121
1167
  );
1122
1168
  };
1123
1169
  var StepCard = (props) => {
1124
- const { step, icon, title, description } = props;
1170
+ const { step, icon, title, description, className } = props;
1125
1171
  return /* @__PURE__ */ jsxs(
1126
1172
  Flex,
1127
1173
  {
@@ -1130,13 +1176,16 @@ var StepCard = (props) => {
1130
1176
  r: "2xl",
1131
1177
  p: 5,
1132
1178
  itemAlign: "start",
1133
- className: "oui-bg-base-9",
1179
+ className: cn("oui-stepCard", "oui-bg-base-9", className),
1134
1180
  children: [
1135
1181
  /* @__PURE__ */ jsx(
1136
1182
  Flex,
1137
1183
  {
1138
1184
  justify: "center",
1139
- className: "oui-rounded-full oui-bg-base-7 lg:oui-justify-start",
1185
+ className: cn(
1186
+ "oui-stepCard-icon",
1187
+ "oui-rounded-full oui-bg-base-7 lg:oui-justify-start"
1188
+ ),
1140
1189
  p: 3,
1141
1190
  width: 48,
1142
1191
  height: 48,
@@ -1144,8 +1193,8 @@ var StepCard = (props) => {
1144
1193
  children: renderIcon(icon)
1145
1194
  }
1146
1195
  ),
1147
- /* @__PURE__ */ jsx(Text, { size: "xl", weight: "semibold", children: `${step}. ${title}` }),
1148
- /* @__PURE__ */ jsx(Text, { intensity: 54, size: "sm", children: description })
1196
+ /* @__PURE__ */ jsx(Text, { size: "xl", weight: "semibold", className: "oui-stepCard-title", children: `${step}. ${title}` }),
1197
+ /* @__PURE__ */ jsx(Text, { intensity: 54, size: "sm", className: "oui-stepCard-description", children: description })
1149
1198
  ]
1150
1199
  }
1151
1200
  );
@@ -1170,14 +1219,8 @@ var WalletIcon = () => /* @__PURE__ */ jsx(
1170
1219
  viewBox: "0 0 24 24",
1171
1220
  fill: "none",
1172
1221
  xmlns: "http://www.w3.org/2000/svg",
1173
- children: /* @__PURE__ */ jsx(
1174
- "path",
1175
- {
1176
- d: "M7.006 2.93a4 4 0 0 0-4 4v10a4 4 0 0 0 4 4h10c1.552 0 3-1.448 3-3l-.004-1.163a3.025 3.025 0 0 0 2.004-2.837v-4c0-1.268-.822-2.428-1.994-2.815l-.006-1.185c0-1.553-1.448-3-3-3zm0 2h10c.448 0 1 .552 1 1v1h-3a3 3 0 0 0-3 3v4a3 3 0 0 0 3 3h3v1c0 .447-.552 1-1 1h-10a2 2 0 0 1-2-2v-10a2 2 0 0 1 2-2m8 4h4a1 1 0 0 1 1 1v4a1 1 0 0 1-1 1h-4a1 1 0 0 1-1-1v-4a1 1 0 0 1 1-1m2 2a1 1 0 1 0 0 2 1 1 0 0 0 0-2",
1177
- fill: "#fff",
1178
- fillOpacity: ".54"
1179
- }
1180
- )
1222
+ className: "oui-fill-base-contrast-54",
1223
+ children: /* @__PURE__ */ jsx("path", { d: "M7.006 2.93a4 4 0 0 0-4 4v10a4 4 0 0 0 4 4h10c1.552 0 3-1.448 3-3l-.004-1.163a3.025 3.025 0 0 0 2.004-2.837v-4c0-1.268-.822-2.428-1.994-2.815l-.006-1.185c0-1.553-1.448-3-3-3zm0 2h10c.448 0 1 .552 1 1v1h-3a3 3 0 0 0-3 3v4a3 3 0 0 0 3 3h3v1c0 .447-.552 1-1 1h-10a2 2 0 0 1-2-2v-10a2 2 0 0 1 2-2m8 4h4a1 1 0 0 1 1 1v4a1 1 0 0 1-1 1h-4a1 1 0 0 1-1-1v-4a1 1 0 0 1 1-1m2 2a1 1 0 1 0 0 2 1 1 0 0 0 0-2" })
1181
1224
  }
1182
1225
  );
1183
1226
  var SettingsIcon = () => /* @__PURE__ */ jsx(
@@ -1188,14 +1231,8 @@ var SettingsIcon = () => /* @__PURE__ */ jsx(
1188
1231
  viewBox: "0 0 24 24",
1189
1232
  fill: "none",
1190
1233
  xmlns: "http://www.w3.org/2000/svg",
1191
- children: /* @__PURE__ */ jsx(
1192
- "path",
1193
- {
1194
- d: "M14.99 2.93c-1.267 0-2.45.832-2.818 2.002L3.99 4.93a1 1 0 0 0 0 2l8.18-.001c.449 1.225 1.552 2 2.82 2s2.382-.777 2.838-2.008l2.162.009a1 1 0 0 0 0-2h-2.17c-.482-1.22-1.562-2-2.83-2m0 2a1 1 0 1 1 0 2 1 1 0 0 1 0-2m-6 4c-1.317 0-2.42.82-2.823 2.002-.14.009-2.176-.002-2.176-.002a1 1 0 0 0 0 2s2.052-.021 2.18-.008a2.95 2.95 0 0 0 2.82 2.008c1.268 0 2.354-.777 2.83-1.997l8.17-.003a1 1 0 0 0 0-2l-8.176-.01A3.01 3.01 0 0 0 8.99 8.93m0 2a1 1 0 1 1 0 2 1 1 0 0 1 0-2m6 4c-1.267 0-2.427.835-2.819 1.99l-8.18.01a1 1 0 0 0 0 2h8.165a3.02 3.02 0 0 0 2.835 2c1.268 0 2.36-.793 2.842-2h2.158a1 1 0 0 0 0-2l-2.167-.006a3.03 3.03 0 0 0-2.833-1.994m0 2a1 1 0 1 1 0 2 1 1 0 0 1 0-2",
1195
- fill: "#fff",
1196
- fillOpacity: ".54"
1197
- }
1198
- )
1234
+ className: "oui-fill-base-contrast-54",
1235
+ children: /* @__PURE__ */ jsx("path", { d: "M14.99 2.93c-1.267 0-2.45.832-2.818 2.002L3.99 4.93a1 1 0 0 0 0 2l8.18-.001c.449 1.225 1.552 2 2.82 2s2.382-.777 2.838-2.008l2.162.009a1 1 0 0 0 0-2h-2.17c-.482-1.22-1.562-2-2.83-2m0 2a1 1 0 1 1 0 2 1 1 0 0 1 0-2m-6 4c-1.317 0-2.42.82-2.823 2.002-.14.009-2.176-.002-2.176-.002a1 1 0 0 0 0 2s2.052-.021 2.18-.008a2.95 2.95 0 0 0 2.82 2.008c1.268 0 2.354-.777 2.83-1.997l8.17-.003a1 1 0 0 0 0-2l-8.176-.01A3.01 3.01 0 0 0 8.99 8.93m0 2a1 1 0 1 1 0 2 1 1 0 0 1 0-2m6 4c-1.267 0-2.427.835-2.819 1.99l-8.18.01a1 1 0 0 0 0 2h8.165a3.02 3.02 0 0 0 2.835 2c1.268 0 2.36-.793 2.842-2h2.158a1 1 0 0 0 0-2l-2.167-.006a3.03 3.03 0 0 0-2.833-1.994m0 2a1 1 0 1 1 0 2 1 1 0 0 1 0-2" })
1199
1236
  }
1200
1237
  );
1201
1238
  var RocketIcon = () => /* @__PURE__ */ jsx(
@@ -1206,14 +1243,8 @@ var RocketIcon = () => /* @__PURE__ */ jsx(
1206
1243
  viewBox: "0 0 24 24",
1207
1244
  fill: "none",
1208
1245
  xmlns: "http://www.w3.org/2000/svg",
1209
- children: /* @__PURE__ */ jsx(
1210
- "path",
1211
- {
1212
- d: "M18.527 13.88c-.423.424-.884.808-1.345 1.154a.63.63 0 0 0-.269.423 9.2 9.2 0 0 1-2.459 4.346 10 10 0 0 1-1.883 1.462c-.576.346-1.268-.231-1.037-.885.384-1 .538-2.076.538-3.192-.077 0-.192.039-.27.039a39 39 0 0 1-2.612-2.423 51 51 0 0 1-2.42-2.615c0-.077.038-.193.038-.27-1.115 0-2.19.193-3.19.539-.614.23-1.23-.462-.883-1.039a10 10 0 0 1 1.46-1.884 9.2 9.2 0 0 1 4.342-2.461c.153-.039.307-.154.422-.27.346-.5.73-.923 1.153-1.346 2.997-3 7.185-4.038 11.066-3.153a.76.76 0 0 1 .538.538c.845 3.846-.192 8.038-3.189 11.038m-1.69-6.73a2.41 2.41 0 0 0-3.382 0 2.416 2.416 0 0 0 0 3.385 2.41 2.41 0 0 0 3.381 0c.96-.962.96-2.462 0-3.385M8.266 18.92c-.73.73-5.225 3.807-6.109 2.923-.884-.885 2.19-5.385 2.92-6.115s2.037-.616 2.92.269c.884.885 1 2.192.27 2.923",
1213
- fill: "#fff",
1214
- fillOpacity: ".54"
1215
- }
1216
- )
1246
+ className: "oui-fill-base-contrast-54",
1247
+ children: /* @__PURE__ */ jsx("path", { d: "M18.527 13.88c-.423.424-.884.808-1.345 1.154a.63.63 0 0 0-.269.423 9.2 9.2 0 0 1-2.459 4.346 10 10 0 0 1-1.883 1.462c-.576.346-1.268-.231-1.037-.885.384-1 .538-2.076.538-3.192-.077 0-.192.039-.27.039a39 39 0 0 1-2.612-2.423 51 51 0 0 1-2.42-2.615c0-.077.038-.193.038-.27-1.115 0-2.19.193-3.19.539-.614.23-1.23-.462-.883-1.039a10 10 0 0 1 1.46-1.884 9.2 9.2 0 0 1 4.342-2.461c.153-.039.307-.154.422-.27.346-.5.73-.923 1.153-1.346 2.997-3 7.185-4.038 11.066-3.153a.76.76 0 0 1 .538.538c.845 3.846-.192 8.038-3.189 11.038m-1.69-6.73a2.41 2.41 0 0 0-3.382 0 2.416 2.416 0 0 0 0 3.385 2.41 2.41 0 0 0 3.381 0c.96-.962.96-2.462 0-3.385M8.266 18.92c-.73.73-5.225 3.807-6.109 2.923-.884-.885 2.19-5.385 2.92-6.115s2.037-.616 2.92.269c.884.885 1 2.192.27 2.923" })
1217
1248
  }
1218
1249
  );
1219
1250
  var HowItWorks = () => {
@@ -1240,22 +1271,36 @@ var HowItWorks = () => {
1240
1271
  }
1241
1272
  ];
1242
1273
  }, [t]);
1243
- return /* @__PURE__ */ jsxs(Box, { id: "oui-affiliate-landing-how-it-works", children: [
1244
- /* @__PURE__ */ jsxs(Flex, { direction: "column", itemAlign: "start", children: [
1245
- /* @__PURE__ */ jsx(Text, { weight: "semibold", className: "oui-text-[32px]", children: t("affiliate.howItWorks.title") }),
1246
- /* @__PURE__ */ jsx(Box, { py: 4, children: /* @__PURE__ */ jsx(Text, { intensity: 54, children: t("affiliate.howItWorks.description") }) })
1247
- ] }),
1248
- /* @__PURE__ */ jsx(Grid, { className: "oui-grid-cols-1 md:oui-grid-cols-3", gap: 6, children: steps.map((step) => /* @__PURE__ */ jsx(
1249
- StepCard,
1250
- {
1251
- step: step.step,
1252
- icon: step.icon,
1253
- title: step.title,
1254
- description: step.description
1255
- },
1256
- step.step
1257
- )) })
1258
- ] });
1274
+ return /* @__PURE__ */ jsxs(
1275
+ Box,
1276
+ {
1277
+ id: "oui-affiliate-landing-how-it-works",
1278
+ className: "oui-affiliate-howItWorks",
1279
+ children: [
1280
+ /* @__PURE__ */ jsxs(Flex, { direction: "column", itemAlign: "start", children: [
1281
+ /* @__PURE__ */ jsx(Text, { weight: "semibold", className: "oui-text-[32px]", children: t("affiliate.howItWorks.title") }),
1282
+ /* @__PURE__ */ jsx(Box, { py: 4, children: /* @__PURE__ */ jsx(Text, { intensity: 54, children: t("affiliate.howItWorks.description") }) })
1283
+ ] }),
1284
+ /* @__PURE__ */ jsx(
1285
+ Grid,
1286
+ {
1287
+ className: "oui-howItWorks-steps oui-grid-cols-1 md:oui-grid-cols-3",
1288
+ gap: 6,
1289
+ children: steps.map((step) => /* @__PURE__ */ jsx(
1290
+ StepCard,
1291
+ {
1292
+ step: step.step,
1293
+ icon: step.icon,
1294
+ title: step.title,
1295
+ description: step.description
1296
+ },
1297
+ step.step
1298
+ ))
1299
+ }
1300
+ )
1301
+ ]
1302
+ }
1303
+ );
1259
1304
  };
1260
1305
  var LandingPage = () => {
1261
1306
  return /* @__PURE__ */ jsxs(
@@ -1265,7 +1310,7 @@ var LandingPage = () => {
1265
1310
  direction: "column",
1266
1311
  gap: 10,
1267
1312
  itemAlign: "stretch",
1268
- className: "oui-mx-auto oui-w-full oui-p-5 md:oui-w-[1040px] md:oui-py-12",
1313
+ className: "oui-affiliate-landing-page oui-mx-auto oui-w-full oui-p-5 md:oui-w-[1040px] md:oui-py-12",
1269
1314
  children: [
1270
1315
  /* @__PURE__ */ jsx(Hero, {}),
1271
1316
  /* @__PURE__ */ jsx(HowItWorks, {}),
@@ -1279,27 +1324,34 @@ var CommissionChart = (props) => {
1279
1324
  return /* @__PURE__ */ jsxs(
1280
1325
  Flex,
1281
1326
  {
1282
- id: "oui-affiliate-affiliate-titleStatistic",
1283
1327
  r: "2xl",
1284
1328
  p: 6,
1285
1329
  width: "100%",
1286
1330
  gap: 4,
1287
1331
  direction: "column",
1288
- className: "oui-border oui-border-line-6 oui-bg-base-9",
1332
+ className: "oui-affiliate-commissionChart oui-border oui-border-line-6 oui-bg-base-9",
1289
1333
  children: [
1290
- /* @__PURE__ */ jsxs(Flex, { justify: "between", width: "100%", children: [
1291
- /* @__PURE__ */ jsx(Text, { size: "lg", children: `${t("affiliate.commission")} (USDC)` }),
1292
- /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
1293
- Select.options,
1294
- {
1295
- size: "xs",
1296
- value: props.period,
1297
- onValueChange: props.onPeriodChange,
1298
- options: props.periodTypes
1299
- }
1300
- ) })
1301
- ] }),
1302
- /* @__PURE__ */ jsx(Flex, { className: "oui-flex oui-h-[170px] oui-w-full oui-flex-row oui-items-stretch 2xl:oui-h-[196px]", children: /* @__PURE__ */ jsx(
1334
+ /* @__PURE__ */ jsxs(
1335
+ Flex,
1336
+ {
1337
+ justify: "between",
1338
+ width: "100%",
1339
+ className: "oui-commissionChart-header",
1340
+ children: [
1341
+ /* @__PURE__ */ jsx(Text, { size: "lg", children: `${t("affiliate.commission")} (USDC)` }),
1342
+ /* @__PURE__ */ jsx("div", { className: "oui-commissionChart-period-select", children: /* @__PURE__ */ jsx(
1343
+ Select.options,
1344
+ {
1345
+ size: "xs",
1346
+ value: props.period,
1347
+ onValueChange: props.onPeriodChange,
1348
+ options: props.periodTypes
1349
+ }
1350
+ ) })
1351
+ ]
1352
+ }
1353
+ ),
1354
+ /* @__PURE__ */ jsx(Flex, { className: "oui-commissionChart-body oui-flex oui-h-[170px] oui-w-full oui-flex-row oui-items-stretch 2xl:oui-h-[196px]", children: /* @__PURE__ */ jsx(
1303
1355
  VolBarChart,
1304
1356
  {
1305
1357
  data: props.dataSource,
@@ -1402,7 +1454,10 @@ var MultiLevelReferral = (props) => {
1402
1454
  p: 5,
1403
1455
  direction: "column",
1404
1456
  intensity: 900,
1405
- className: "oui-border oui-border-line-6",
1457
+ className: cn(
1458
+ "oui-affiliate-multiLevelReferral",
1459
+ "oui-border oui-border-line-6"
1460
+ ),
1406
1461
  children: [
1407
1462
  /* @__PURE__ */ jsx(Text, { size: "lg", className: "oui-w-full oui-text-start", children: t("affiliate.referral") }),
1408
1463
  /* @__PURE__ */ jsxs(
@@ -1504,21 +1559,30 @@ var ReferralInfo = (props) => {
1504
1559
  p: 5,
1505
1560
  direction: "column",
1506
1561
  intensity: 900,
1507
- className: "oui-border oui-border-line-6",
1562
+ className: "oui-affiliate-referralInfo oui-border oui-border-line-6",
1508
1563
  children: [
1509
- /* @__PURE__ */ jsxs(Flex, { direction: "row", justify: "between", width: "100%", children: [
1510
- /* @__PURE__ */ jsx(Text, { size: "lg", children: t("affiliate.referral") }),
1511
- /* @__PURE__ */ jsx(
1512
- Button,
1513
- {
1514
- size: "xs",
1515
- color: "secondary",
1516
- onClick: () => props.onEdit("referralCode" /* ReferralCode */),
1517
- children: t("affiliate.configure")
1518
- }
1519
- )
1520
- ] }),
1521
- /* @__PURE__ */ jsxs(Container, { className: "oui-flex-col oui-items-start oui-gap-4 oui-p-5", children: [
1564
+ /* @__PURE__ */ jsxs(
1565
+ Flex,
1566
+ {
1567
+ direction: "row",
1568
+ justify: "between",
1569
+ width: "100%",
1570
+ className: "oui-referralInfo-header",
1571
+ children: [
1572
+ /* @__PURE__ */ jsx(Text, { size: "lg", children: t("affiliate.referral") }),
1573
+ /* @__PURE__ */ jsx(
1574
+ Button,
1575
+ {
1576
+ size: "xs",
1577
+ color: "secondary",
1578
+ onClick: () => props.onEdit("referralCode" /* ReferralCode */),
1579
+ children: t("affiliate.configure")
1580
+ }
1581
+ )
1582
+ ]
1583
+ }
1584
+ ),
1585
+ /* @__PURE__ */ jsxs(Container, { className: "oui-referralInfo-code oui-flex-col oui-items-start oui-gap-4 oui-p-5", children: [
1522
1586
  /* @__PURE__ */ jsx(
1523
1587
  Flex,
1524
1588
  {
@@ -1536,7 +1600,7 @@ var ReferralInfo = (props) => {
1536
1600
  /* @__PURE__ */ jsx(CopyButton, { value: props.referralCode })
1537
1601
  ] })
1538
1602
  ] }),
1539
- /* @__PURE__ */ jsxs(Container, { className: "oui-p-5", children: [
1603
+ /* @__PURE__ */ jsxs(Container, { className: "oui-referralInfo-link oui-p-5", children: [
1540
1604
  /* @__PURE__ */ jsx(Text, { size: "lg", color: "primaryLight", children: props.referralLink }),
1541
1605
  /* @__PURE__ */ jsx(CopyButton, { value: props.referralLink })
1542
1606
  ] }),
@@ -1549,7 +1613,16 @@ var ReferralInfo = (props) => {
1549
1613
  children: [
1550
1614
  /* @__PURE__ */ jsxs(Flex, { direction: "row", justify: "between", width: "100%", children: [
1551
1615
  /* @__PURE__ */ jsx(Text, { size: "sm", children: t("affiliate.revenueSplitStrategy") }),
1552
- /* @__PURE__ */ jsx(Button, { size: "xs", color: "secondary", onClick: () => props.onEdit(), children: t("common.edit") })
1616
+ /* @__PURE__ */ jsx(
1617
+ Button,
1618
+ {
1619
+ size: "xs",
1620
+ color: "secondary",
1621
+ className: "oui-affiliate-referralInfo-editSplit-btn",
1622
+ onClick: () => props.onEdit(),
1623
+ children: t("common.edit")
1624
+ }
1625
+ )
1553
1626
  ] }),
1554
1627
  /* @__PURE__ */ jsxs(Flex, { justify: "between", width: "100%", mt: 4, children: [
1555
1628
  /* @__PURE__ */ jsx(Text, { size: "sm", intensity: 54, children: t("affiliate.youKeep") }),
@@ -2017,18 +2090,26 @@ var CommissionTableUI = (props) => {
2017
2090
  }
2018
2091
  ];
2019
2092
  }, [t]);
2020
- return /* @__PURE__ */ jsxs("div", { className: "oui-flex oui-w-full oui-flex-col", children: [
2021
- /* @__PURE__ */ jsx(Flex, { width: "100%", height: 49, className: "oui-border-b oui-border-line-6", children: /* @__PURE__ */ jsx("div", { className: "oui-px-3", children: /* @__PURE__ */ jsx(
2022
- DatePicker.range,
2093
+ return /* @__PURE__ */ jsxs("div", { className: "oui-affiliate-commissionTable oui-flex oui-w-full oui-flex-col", children: [
2094
+ /* @__PURE__ */ jsx(
2095
+ Flex,
2023
2096
  {
2024
- size: "xs",
2025
- value: props.dateRange,
2026
- onChange: props.setDateRange,
2027
- max: 90,
2028
- disabled: { after: /* @__PURE__ */ new Date() }
2097
+ width: "100%",
2098
+ height: 49,
2099
+ className: "oui-commissionTable-header oui-border-b oui-border-line-6",
2100
+ children: /* @__PURE__ */ jsx("div", { className: "oui-px-3", children: /* @__PURE__ */ jsx(
2101
+ DatePicker.range,
2102
+ {
2103
+ size: "xs",
2104
+ value: props.dateRange,
2105
+ onChange: props.setDateRange,
2106
+ max: 90,
2107
+ disabled: { after: /* @__PURE__ */ new Date() }
2108
+ }
2109
+ ) })
2029
2110
  }
2030
- ) }) }),
2031
- isMobile ? /* @__PURE__ */ jsx("div", { className: "oui-flex oui-flex-col oui-px-4", children: /* @__PURE__ */ jsx(
2111
+ ),
2112
+ isMobile ? /* @__PURE__ */ jsx("div", { className: "oui-affiliate-commissionTable-list oui-flex oui-flex-col oui-px-4", children: /* @__PURE__ */ jsx(
2032
2113
  ListView,
2033
2114
  {
2034
2115
  dataSource: props.commissionData,
@@ -2038,19 +2119,25 @@ var CommissionTableUI = (props) => {
2038
2119
  /* @__PURE__ */ jsx(Divider, { intensity: 8 })
2039
2120
  ] }, index)
2040
2121
  }
2041
- ) }) : /* @__PURE__ */ jsx("div", { className: `oui-px-3 ${showPagination ? "" : "oui-pb-3"}`, children: /* @__PURE__ */ jsx(
2042
- AuthGuardDataTable,
2122
+ ) }) : /* @__PURE__ */ jsx(
2123
+ "div",
2043
2124
  {
2044
- bordered: true,
2045
- columns,
2046
- dataSource: props.commissionData,
2047
- loading: props.isLoading,
2048
- pagination: showPagination ? props.pagination : void 0,
2049
- onSort: props.onSort,
2050
- onRow: () => ({ className: "oui-h-12" }),
2051
- className: "[&_.oui-h-10.oui-w-full]:!oui-mx-0 [&_.oui-table-pagination]:!oui-justify-end [&_th]:!oui-tracking-[0.03em] [&_th]:!oui-px-3 [&_td]:!oui-px-3"
2125
+ className: `oui-affiliate-commissionTable-container oui-px-3 ${showPagination ? "" : "oui-pb-3"}`,
2126
+ children: /* @__PURE__ */ jsx(
2127
+ AuthGuardDataTable,
2128
+ {
2129
+ bordered: true,
2130
+ columns,
2131
+ dataSource: props.commissionData,
2132
+ loading: props.isLoading,
2133
+ pagination: showPagination ? props.pagination : void 0,
2134
+ onSort: props.onSort,
2135
+ onRow: () => ({ className: "oui-commissionTable-row oui-h-12" }),
2136
+ className: "oui-commissionTable-table [&_.oui-h-10.oui-w-full]:!oui-mx-0 [&_.oui-table-pagination]:!oui-justify-end [&_th]:!oui-tracking-[0.03em] [&_th]:!oui-px-3 [&_td]:!oui-px-3"
2137
+ }
2138
+ )
2052
2139
  }
2053
- ) })
2140
+ )
2054
2141
  ] });
2055
2142
  };
2056
2143
  var CommissionTableWidget = (props) => {
@@ -2261,7 +2348,7 @@ var MobileRefereeItem = ({ item, onEditReferee }) => {
2261
2348
  /* @__PURE__ */ jsx(
2262
2349
  Text,
2263
2350
  {
2264
- className: "oui-cursor-pointer oui-text-primary-light",
2351
+ className: "oui-refereesTable-edit-btn oui-cursor-pointer oui-text-primary-light",
2265
2352
  onClick: () => onEditReferee("edit" /* Edit */, item),
2266
2353
  children: t("common.edit")
2267
2354
  }
@@ -2269,7 +2356,7 @@ var MobileRefereeItem = ({ item, onEditReferee }) => {
2269
2356
  !item.is_default_rate && /* @__PURE__ */ jsx(
2270
2357
  Text,
2271
2358
  {
2272
- className: "oui-cursor-pointer oui-text-primary-light",
2359
+ className: "oui-refereesTable-reset-btn oui-cursor-pointer oui-text-primary-light",
2273
2360
  onClick: () => onEditReferee("reset" /* Reset */, item),
2274
2361
  children: t("common.reset")
2275
2362
  }
@@ -2382,7 +2469,7 @@ var RefereesTableUI = (props) => {
2382
2469
  /* @__PURE__ */ jsx(
2383
2470
  Text,
2384
2471
  {
2385
- className: "oui-cursor-pointer oui-text-primary-light",
2472
+ className: "oui-refereesTable-edit-btn oui-cursor-pointer oui-text-primary-light",
2386
2473
  onClick: () => props.onEditReferee("edit" /* Edit */, record),
2387
2474
  children: t("common.edit")
2388
2475
  }
@@ -2390,7 +2477,7 @@ var RefereesTableUI = (props) => {
2390
2477
  !record.is_default_rate && /* @__PURE__ */ jsx(
2391
2478
  Text,
2392
2479
  {
2393
- className: "oui-ml-2 oui-cursor-pointer oui-text-primary-light",
2480
+ className: "oui-refereesTable-reset-btn oui-ml-2 oui-cursor-pointer oui-text-primary-light",
2394
2481
  onClick: () => props.onEditReferee("reset" /* Reset */, record),
2395
2482
  children: t("common.reset")
2396
2483
  }
@@ -2399,7 +2486,7 @@ var RefereesTableUI = (props) => {
2399
2486
  }
2400
2487
  ];
2401
2488
  }, [t, props.onEditReferee]);
2402
- return /* @__PURE__ */ jsx(Fragment, { children: isMobile ? /* @__PURE__ */ jsx("div", { className: "oui-flex oui-flex-col oui-px-4", children: /* @__PURE__ */ jsx(
2489
+ return /* @__PURE__ */ jsx(Fragment, { children: isMobile ? /* @__PURE__ */ jsx("div", { className: "oui-affiliate-refereesTable oui-flex oui-flex-col oui-px-4", children: /* @__PURE__ */ jsx(
2403
2490
  ListView,
2404
2491
  {
2405
2492
  dataSource: props.refereesData,
@@ -2415,19 +2502,25 @@ var RefereesTableUI = (props) => {
2415
2502
  /* @__PURE__ */ jsx(Divider, { intensity: 8 })
2416
2503
  ] }, index)
2417
2504
  }
2418
- ) }) : /* @__PURE__ */ jsx("div", { className: `oui-px-3 ${showPagination ? "" : "oui-pb-3"}`, children: /* @__PURE__ */ jsx(
2419
- AuthGuardDataTable,
2505
+ ) }) : /* @__PURE__ */ jsx(
2506
+ "div",
2420
2507
  {
2421
- bordered: true,
2422
- columns: refereeColumns,
2423
- dataSource: props.refereesData,
2424
- loading: props.isRefereesLoading,
2425
- pagination: showPagination ? props.refereesPagination : void 0,
2426
- onSort: props.onRefereesSort,
2427
- onRow: () => ({ className: "oui-h-12" }),
2428
- className: "[&_.oui-h-10.oui-w-full]:!oui-mx-0 [&_.oui-table-pagination]:!oui-justify-end [&_th]:!oui-tracking-[0.03em] [&_th]:!oui-px-3 [&_td]:!oui-px-3"
2508
+ className: `oui-affiliate-refereesTable oui-px-3 ${showPagination ? "" : "oui-pb-3"}`,
2509
+ children: /* @__PURE__ */ jsx(
2510
+ AuthGuardDataTable,
2511
+ {
2512
+ bordered: true,
2513
+ columns: refereeColumns,
2514
+ dataSource: props.refereesData,
2515
+ loading: props.isRefereesLoading,
2516
+ pagination: showPagination ? props.refereesPagination : void 0,
2517
+ onSort: props.onRefereesSort,
2518
+ onRow: () => ({ className: "oui-refereesTable-row oui-h-12" }),
2519
+ className: "oui-refereesTable-table [&_.oui-h-10.oui-w-full]:!oui-mx-0 [&_.oui-table-pagination]:!oui-justify-end [&_th]:!oui-tracking-[0.03em] [&_th]:!oui-px-3 [&_td]:!oui-px-3"
2520
+ }
2521
+ )
2429
2522
  }
2430
- ) }) });
2523
+ ) });
2431
2524
  };
2432
2525
  var RefereesTableWidget = (props) => {
2433
2526
  const state = useRefereesTableScript(props);
@@ -2653,7 +2746,7 @@ var MobileReferralCodeItem = ({ item, copyCode }) => {
2653
2746
  /* @__PURE__ */ jsx(MobileCell, { label: t("common.action"), children: /* @__PURE__ */ jsx(
2654
2747
  Text,
2655
2748
  {
2656
- className: "oui-cursor-pointer oui-text-primary-light",
2749
+ className: "oui-referralCodesTable-copyCode-btn oui-cursor-pointer oui-text-primary-light",
2657
2750
  onClick: (e) => {
2658
2751
  e.stopPropagation();
2659
2752
  copyCode(item.code);
@@ -2781,7 +2874,7 @@ var ReferralCodesTableUI = (props) => {
2781
2874
  }
2782
2875
  ];
2783
2876
  }, [t, props.copyCode]);
2784
- return /* @__PURE__ */ jsx(Fragment, { children: isMobile ? /* @__PURE__ */ jsx("div", { className: "oui-flex oui-flex-col oui-px-4", children: /* @__PURE__ */ jsx(
2877
+ return /* @__PURE__ */ jsx(Fragment, { children: isMobile ? /* @__PURE__ */ jsx("div", { className: "oui-affiliate-referralCodesTable oui-flex oui-flex-col oui-px-4", children: /* @__PURE__ */ jsx(
2785
2878
  ListView,
2786
2879
  {
2787
2880
  dataSource: props.sortedCodes,
@@ -2791,7 +2884,7 @@ var ReferralCodesTableUI = (props) => {
2791
2884
  /* @__PURE__ */ jsx(Divider, { intensity: 8 })
2792
2885
  ] }, index)
2793
2886
  }
2794
- ) }) : /* @__PURE__ */ jsx("div", { className: "oui-px-3", children: /* @__PURE__ */ jsx(
2887
+ ) }) : /* @__PURE__ */ jsx("div", { className: "oui-affiliate-referralCodesTable oui-px-3", children: /* @__PURE__ */ jsx(
2795
2888
  AuthGuardDataTable,
2796
2889
  {
2797
2890
  bordered: true,
@@ -2799,8 +2892,8 @@ var ReferralCodesTableUI = (props) => {
2799
2892
  dataSource: props.sortedCodes,
2800
2893
  loading: props.isLoading,
2801
2894
  onSort: props.onSort,
2802
- onRow: () => ({ className: "oui-h-12" }),
2803
- className: "oui-pb-3 [&_.oui-h-10.oui-w-full]:!oui-mx-0 [&_.oui-table-pagination]:!oui-justify-end [&_th]:!oui-tracking-[0.03em] [&_th]:!oui-px-3 [&_td]:!oui-px-3"
2895
+ onRow: () => ({ className: "oui-referralCodesTable-row oui-h-12" }),
2896
+ className: "oui-referralCodesTable-table oui-pb-3 [&_.oui-h-10.oui-w-full]:!oui-mx-0 [&_.oui-table-pagination]:!oui-justify-end [&_th]:!oui-tracking-[0.03em] [&_th]:!oui-px-3 [&_td]:!oui-px-3"
2804
2897
  }
2805
2898
  ) }) });
2806
2899
  };
@@ -2814,7 +2907,7 @@ var ReferrerTableUI = (props) => {
2814
2907
  Flex,
2815
2908
  {
2816
2909
  direction: "column",
2817
- className: "oui-rounded-2xl oui-bg-base-9 [&_td]:oui-font-medium [&_td]:oui-tracking-[0.03em] [&_th]:oui-font-semibold",
2910
+ className: "oui-affiliate-referrerTable oui-rounded-2xl oui-bg-base-9 [&_td]:oui-font-medium [&_td]:oui-tracking-[0.03em] [&_th]:oui-font-semibold",
2818
2911
  px: 3,
2819
2912
  pt: 4,
2820
2913
  gap: 4,
@@ -2824,7 +2917,7 @@ var ReferrerTableUI = (props) => {
2824
2917
  {
2825
2918
  value: props.activeTab,
2826
2919
  onValueChange: (value) => props.setActiveTab(value),
2827
- className: "oui-w-full oui-text-base",
2920
+ className: "oui-referrerTable-tabs oui-w-full oui-text-base",
2828
2921
  variant: "text",
2829
2922
  classNames: {
2830
2923
  tabsListContainer: "oui-px-3",
@@ -2860,7 +2953,7 @@ var Summary = (props) => {
2860
2953
  gap: 6,
2861
2954
  direction: "column",
2862
2955
  intensity: 900,
2863
- className: "oui-border oui-border-line-6",
2956
+ className: "oui-affiliate-summary oui-border oui-border-line-6",
2864
2957
  children: [
2865
2958
  /* @__PURE__ */ jsxs(Flex, { direction: "row", justify: "between", width: "100%", children: [
2866
2959
  /* @__PURE__ */ jsx(Text, { className: "oui-text-lg", children: t("affiliate.summary") }),
@@ -3054,8 +3147,12 @@ var MultiLevelAffiliatePage = () => {
3054
3147
  return /* @__PURE__ */ jsx(
3055
3148
  Flex,
3056
3149
  {
3057
- id: "oui-affiliate-affiliate-page",
3058
- className: cn("oui-h-lvw", "oui-font-semibold", "oui-pb-24 oui-pt-16"),
3150
+ className: cn(
3151
+ "oui-multiLevel-affiliate-page",
3152
+ "oui-h-lvw",
3153
+ "oui-font-semibold",
3154
+ "oui-pb-24 oui-pt-16"
3155
+ ),
3059
3156
  direction: "column",
3060
3157
  gap: 4,
3061
3158
  children: /* @__PURE__ */ jsx("div", { className: "oui-w-full oui-px-5 md:oui-mx-auto md:oui-max-w-[1040px]", children: /* @__PURE__ */ jsxs(
@@ -3079,13 +3176,13 @@ var MultiLevelAffiliatePage = () => {
3079
3176
  rows: 1,
3080
3177
  className: "md:oui-grid-cols-2",
3081
3178
  children: [
3082
- /* @__PURE__ */ jsx("div", { className: "oui-order-2 md:oui-order-1", children: /* @__PURE__ */ jsx(SummaryWidget, {}) }),
3179
+ /* @__PURE__ */ jsx("div", { className: "oui-multiLevel-affiliate-summary-container oui-order-2 md:oui-order-1", children: /* @__PURE__ */ jsx(SummaryWidget, {}) }),
3083
3180
  /* @__PURE__ */ jsx("div", { className: "oui-order-1 md:oui-order-2", children: multiLevelRebateInfo?.referral_code ? /* @__PURE__ */ jsx(ReferralInfoWidget, {}) : /* @__PURE__ */ jsx(MultiLevelReferralWidget, {}) })
3084
3181
  ]
3085
3182
  }
3086
3183
  ),
3087
3184
  /* @__PURE__ */ jsx(CommissionChartWidget, {}),
3088
- /* @__PURE__ */ jsx(ReferrerTableWidget, {})
3185
+ /* @__PURE__ */ jsx("div", { className: "oui-multiLevel-affiliate-referrerTables-container", children: /* @__PURE__ */ jsx(ReferrerTableWidget, {}) })
3089
3186
  ]
3090
3187
  }
3091
3188
  ) })
@@ -3093,17 +3190,15 @@ var MultiLevelAffiliatePage = () => {
3093
3190
  );
3094
3191
  };
3095
3192
  var AffiliateIcon = (props) => {
3096
- const { size = 16, className, ...rest } = props;
3193
+ const { size = 16, ...rest } = props;
3097
3194
  return /* @__PURE__ */ jsxs(
3098
3195
  "svg",
3099
3196
  {
3100
3197
  width: size,
3101
3198
  height: size,
3102
3199
  viewBox: "0 0 16 16",
3103
- fill: "#fff",
3104
- fillOpacity: ".98",
3200
+ fill: "currentColor",
3105
3201
  xmlns: "http://www.w3.org/2000/svg",
3106
- className: props.className,
3107
3202
  ...rest,
3108
3203
  children: [
3109
3204
  /* @__PURE__ */ jsx("path", { d: "M8 1.302c-3.683 0-6.655 2.985-6.667 6.667-.013 3.676 2.987 6.68 6.666 6.687s6.674-3.037 6.667-6.687c-.007-3.682-2.985-6.667-6.667-6.667m0 1.333a5.333 5.333 0 0 1 5.333 5.334c0 1.5-.625 2.852-1.622 3.821-.49-1.062-1.545-1.821-2.753-1.821H7.04c-1.207 0-2.259.75-2.75 1.812A5.3 5.3 0 0 1 2.666 7.97a5.333 5.333 0 0 1 5.333-5.334M8 3.97a2.667 2.667 0 1 0 0 5.333A2.667 2.667 0 0 0 8 3.97" }),
@@ -3111,7 +3206,7 @@ var AffiliateIcon = (props) => {
3111
3206
  "path",
3112
3207
  {
3113
3208
  d: "M16 12.667a3.333 3.333 0 1 1-6.667 0 3.333 3.333 0 0 1 6.667 0",
3114
- fill: "#1828C3"
3209
+ fill: "rgb(var(--oui-color-primary-darken))"
3115
3210
  }
3116
3211
  ),
3117
3212
  /* @__PURE__ */ jsx("path", { d: "M11.917 11.433a.917.917 0 0 0-.917.917c0 .53.302 1.031.802 1.49a4.6 4.6 0 0 0 .713.53l.068.043c.05.027.117.027.167 0l.068-.042q.08-.05.177-.115c.182-.123.366-.26.536-.416.5-.459.802-.96.802-1.49a.917.917 0 0 0-.917-.917.97.97 0 0 0-.744.386.95.95 0 0 0-.756-.386" })
@@ -3120,33 +3215,35 @@ var AffiliateIcon = (props) => {
3120
3215
  );
3121
3216
  };
3122
3217
  var TraderIcon = (props) => {
3123
- const { size = 16, className, ...rest } = props;
3218
+ const { size = 16, ...rest } = props;
3124
3219
  return /* @__PURE__ */ jsxs(
3125
3220
  "svg",
3126
3221
  {
3127
3222
  width: size,
3128
3223
  height: size,
3129
3224
  viewBox: "0 0 16 16",
3130
- fill: "white",
3131
- fillOpacity: "0.36",
3132
3225
  xmlns: "http://www.w3.org/2000/svg",
3133
- className: props.className,
3134
3226
  ...rest,
3135
3227
  children: [
3136
- /* @__PURE__ */ jsx("path", { d: "M7.99929 1.30212C4.31735 1.30212 1.34509 4.28679 1.33262 7.96878C1.32015 11.6454 4.32042 14.6488 7.99929 14.6561C11.6782 14.6634 14.6726 11.6194 14.666 7.96878C14.6593 4.28679 11.6812 1.30212 7.99929 1.30212ZM7.99929 2.63546C10.9448 2.63546 13.3326 5.02345 13.3326 7.96878C13.3326 9.46878 12.7078 10.8208 11.7112 11.7901C11.2202 10.7281 10.1656 9.96878 8.95762 9.96878C8.71802 9.96878 7.28042 9.96878 7.04095 9.96878C5.83369 9.96878 4.78215 10.7188 4.29095 11.7814C3.29429 10.8121 2.66595 9.46878 2.66595 7.96878C2.66595 5.02345 5.05375 2.63546 7.99929 2.63546ZM7.99929 3.96879C6.52649 3.96879 5.33255 5.16279 5.33262 6.63545C5.33262 8.10812 6.52649 9.30212 7.99929 9.30212C9.47202 9.30212 10.666 8.10812 10.666 6.63545C10.666 5.16279 9.47202 3.96879 7.99929 3.96879Z" }),
3228
+ /* @__PURE__ */ jsx(
3229
+ "path",
3230
+ {
3231
+ d: "M7.99929 1.30212C4.31735 1.30212 1.34509 4.28679 1.33262 7.96878C1.32015 11.6454 4.32042 14.6488 7.99929 14.6561C11.6782 14.6634 14.6726 11.6194 14.666 7.96878C14.6593 4.28679 11.6812 1.30212 7.99929 1.30212ZM7.99929 2.63546C10.9448 2.63546 13.3326 5.02345 13.3326 7.96878C13.3326 9.46878 12.7078 10.8208 11.7112 11.7901C11.2202 10.7281 10.1656 9.96878 8.95762 9.96878C8.71802 9.96878 7.28042 9.96878 7.04095 9.96878C5.83369 9.96878 4.78215 10.7188 4.29095 11.7814C3.29429 10.8121 2.66595 9.46878 2.66595 7.96878C2.66595 5.02345 5.05375 2.63546 7.99929 2.63546ZM7.99929 3.96879C6.52649 3.96879 5.33255 5.16279 5.33262 6.63545C5.33262 8.10812 6.52649 9.30212 7.99929 9.30212C9.47202 9.30212 10.666 8.10812 10.666 6.63545C10.666 5.16279 9.47202 3.96879 7.99929 3.96879Z",
3232
+ fill: "currentColor"
3233
+ }
3234
+ ),
3137
3235
  /* @__PURE__ */ jsx(
3138
3236
  "path",
3139
3237
  {
3140
3238
  d: "M16 12.6667C16 14.5076 14.5076 16 12.6666 16C10.8257 16 9.33331 14.5076 9.33331 12.6667C9.33331 10.8257 10.8257 9.33333 12.6666 9.33333C14.5076 9.33333 16 10.8257 16 12.6667Z",
3141
- fill: "#005A4F"
3239
+ className: "oui-fill-success-darken"
3142
3240
  }
3143
3241
  ),
3144
3242
  /* @__PURE__ */ jsx(
3145
3243
  "path",
3146
3244
  {
3147
3245
  d: "M14.3325 13.3345C14.3325 13.2918 14.3182 13.2473 14.2857 13.2147L13.6658 12.6002L13.4315 12.8345L13.7595 13.1678H11.3325C11.2405 13.1678 11.1658 13.2425 11.1658 13.3345C11.1658 13.4265 11.2405 13.5012 11.3325 13.5012H13.7595L13.4315 13.8345L13.6658 14.0688L14.2857 13.4543C14.3182 13.4217 14.3325 13.3772 14.3325 13.3345ZM14.1658 12.0012C14.1658 11.9092 14.0912 11.8345 13.9992 11.8345H11.572L11.9002 11.5012L11.6658 11.2668L11.046 11.8813C10.981 11.9465 10.981 12.0558 11.046 12.121L11.6658 12.7355L11.9002 12.5012L11.572 12.1678H13.9992C14.0912 12.1678 14.1658 12.0932 14.1658 12.0012Z",
3148
- fill: "white",
3149
- fillOpacity: "0.98"
3246
+ fill: "currentColor"
3150
3247
  }
3151
3248
  )
3152
3249
  ]
@@ -3169,14 +3266,14 @@ var USDCIcon = (props) => {
3169
3266
  "path",
3170
3267
  {
3171
3268
  d: "M10.5 20c5.542 0 10-4.458 10-10s-4.458-10-10-10S.5 4.458.5 10s4.458 10 10 10",
3172
- fill: "#2775CA"
3269
+ fill: "rgb(var(--oui-color-primary))"
3173
3270
  }
3174
3271
  ),
3175
3272
  /* @__PURE__ */ jsx(
3176
3273
  "path",
3177
3274
  {
3178
3275
  d: "M13.5 11.473c0-1.452-.94-1.95-2.82-2.158-1.344-.166-1.613-.498-1.613-1.078s.448-.955 1.343-.955c.806 0 1.254.25 1.478.872.045.124.18.207.313.207h.717c.179 0 .313-.125.313-.29v-.042c-.179-.913-.985-1.618-2.015-1.701v-.996c0-.166-.134-.29-.358-.332h-.671c-.18 0-.314.124-.359.332v.954c-1.343.166-2.194.996-2.194 2.034 0 1.369.896 1.908 2.776 2.116 1.254.207 1.657.456 1.657 1.12s-.627 1.12-1.477 1.12c-1.165 0-1.568-.456-1.702-1.078a.32.32 0 0 0-.313-.25h-.762c-.179 0-.313.125-.313.291v.042c.179 1.037.895 1.784 2.373 1.991v.996c0 .166.134.29.358.332h.672c.18 0 .313-.124.358-.332v-.996c1.344-.207 2.239-1.079 2.239-2.199",
3179
- fill: "#fff",
3276
+ fill: "rgb(var(--oui-color-base-foreground))",
3180
3277
  fillOpacity: ".98"
3181
3278
  }
3182
3279
  ),
@@ -3184,12 +3281,18 @@ var USDCIcon = (props) => {
3184
3281
  "path",
3185
3282
  {
3186
3283
  d: "M8.24 16.57c-3.458-1.215-5.23-4.986-3.945-8.324.665-1.821 2.127-3.208 3.944-3.859.178-.086.266-.216.266-.433v-.607c0-.174-.088-.304-.266-.347-.044 0-.133 0-.177.043-4.21 1.3-6.516 5.68-5.186 9.798.798 2.428 2.704 4.292 5.186 5.072.177.087.355 0 .4-.173.043-.043.043-.087.043-.173v-.608c0-.13-.133-.303-.266-.39m4.698-13.527c-.178-.086-.355 0-.4.174-.043.043-.043.086-.043.173v.607c0 .174.133.347.266.434 3.457 1.213 5.23 4.985 3.944 8.323-.664 1.821-2.127 3.209-3.944 3.859-.178.086-.266.216-.266.433v.607c0 .174.088.304.266.347.044 0 .133 0 .177-.043 4.21-1.3 6.515-5.68 5.186-9.798-.798-2.471-2.748-4.335-5.186-5.116",
3187
- fill: "#fff",
3284
+ fill: "rgb(var(--oui-color-base-foreground))",
3188
3285
  fillOpacity: ".98"
3189
3286
  }
3190
3287
  )
3191
3288
  ] }),
3192
- /* @__PURE__ */ jsx("defs", { children: /* @__PURE__ */ jsx("clipPath", { id: "a", children: /* @__PURE__ */ jsx("path", { fill: "#fff", d: "M.5 0h20v20H.5z" }) }) })
3289
+ /* @__PURE__ */ jsx("defs", { children: /* @__PURE__ */ jsx("clipPath", { id: "a", children: /* @__PURE__ */ jsx(
3290
+ "path",
3291
+ {
3292
+ fill: "rgb(var(--oui-color-base-foreground))",
3293
+ d: "M.5 0h20v20H.5z"
3294
+ }
3295
+ ) }) })
3193
3296
  ]
3194
3297
  }
3195
3298
  );
@@ -3735,7 +3838,7 @@ var TitleStatistic = (props) => {
3735
3838
  VolBarChart,
3736
3839
  {
3737
3840
  data: props.dataSource || EMPTY_LIST,
3738
- colors: { fill: "rgba(0, 180, 158, 1)" },
3841
+ colors: { fill: "rgb(var(--oui-color-success))" },
3739
3842
  className: "oui-w-full oui-flex-1",
3740
3843
  tooltip: {
3741
3844
  rm: Decimal.ROUND_DOWN,
@@ -3851,9 +3954,7 @@ var EditIcon = (props) => {
3851
3954
  height: "13",
3852
3955
  viewBox: "0 0 12 13",
3853
3956
  xmlns: "http://www.w3.org/2000/svg",
3854
- fill: "white",
3855
- fillOpacity: "0.36",
3856
- className,
3957
+ className: cn(className, "oui-fill-base-contrast-36"),
3857
3958
  ...rest,
3858
3959
  children: /* @__PURE__ */ jsx("path", { d: "M8.49773 1.47656C8.36523 1.47656 8.23223 1.52357 8.13823 1.61707C7.86023 1.89507 6.85973 2.89558 6.63773 3.11808L2.13523 7.62059L1.63473 8.12059C1.56523 8.19059 1.52923 8.28958 1.50973 8.38658L1.00973 10.8881C0.939727 11.2381 1.23773 11.5361 1.58773 11.4666C1.90073 11.4036 3.77673 11.0286 4.08923 10.9661C4.18623 10.9466 4.28523 10.9106 4.35523 10.8411L4.85523 10.3406L9.35773 5.83808C9.58023 5.61608 10.5807 4.61506 10.8587 4.33756C10.9522 4.24356 10.9992 4.11056 10.9992 3.97806C10.9992 3.15956 10.7907 2.57456 10.3582 2.13306C9.92173 1.68756 9.33873 1.47656 8.49773 1.47656ZM8.69473 2.48606C9.14623 2.51256 9.43873 2.61608 9.63923 2.82108C9.84423 3.03008 9.97373 3.32008 10.0017 3.76258C9.72773 4.03608 9.32673 4.43106 8.99823 4.75956C8.60173 4.36306 8.11273 3.87407 7.71623 3.47757C8.04523 3.14907 8.42123 2.75956 8.69473 2.48606ZM6.99723 4.19657L8.27923 5.47858L4.49573 9.26207L3.21373 7.98009L6.99723 4.19657ZM2.49473 8.69908L3.77673 9.98107L3.72973 10.0281C3.39973 10.0941 2.73323 10.2336 2.11923 10.3566L2.44773 8.74608L2.49473 8.69908Z" })
3859
3960
  }
@@ -3880,16 +3981,13 @@ var PinBtn = (props) => {
3880
3981
  children: props.pinned === false ? /* @__PURE__ */ jsx(
3881
3982
  UnPinIcon,
3882
3983
  {
3883
- size: props.size,
3884
- fillOpacity: 1,
3885
- className: "orderly-fill-primary-darken hover:orderly-fill-primary-darken/80"
3984
+ size: props.size
3886
3985
  }
3887
3986
  ) : /* @__PURE__ */ jsx(
3888
3987
  PinnedIcon,
3889
3988
  {
3890
3989
  size: props.size,
3891
- fillOpacity: 1,
3892
- className: "orderly-fill-base-contrast-36 hover:orderly-fill-base-contrast"
3990
+ className: "oui-text-base-contrast-36 hover:oui-text-base-contrast"
3893
3991
  }
3894
3992
  )
3895
3993
  }
@@ -3903,8 +4001,9 @@ var PinnedIcon = (props) => {
3903
4001
  width: size,
3904
4002
  height: size,
3905
4003
  viewBox: "0 0 16 16",
3906
- fill: "#608CFF",
4004
+ fill: "currentColor",
3907
4005
  xmlns: "http://www.w3.org/2000/svg",
4006
+ ...props,
3908
4007
  children: /* @__PURE__ */ jsx("path", { d: "M10.008 1.302a.74.74 0 0 0-.486.215c-1.033.988-1.349 1.815-.972 2.947-.88.675-1.437.841-2.536.841-1.503 0-2.484.181-3.152.848v.021a1.583 1.583 0 0 0 0 2.249l1.867 1.881-3.181 3.18c-.26.26-.28.696-.02.956.261.26.699.26.959 0l3.193-3.193 1.87 1.86a1.585 1.585 0 0 0 2.25 0h.02c.668-.667.854-1.522.854-3.144 0-1.03.212-1.758.853-2.523 1.232.361 1.95.015 2.96-.995a.68.68 0 0 0 .188-.479c0-.234-.06-.594-.209-1.041a5.34 5.34 0 0 0-1.312-2.103A5.35 5.35 0 0 0 11.05 1.51c-.448-.149-.808-.208-1.042-.208" })
3909
4008
  }
3910
4009
  );
@@ -3917,9 +4016,9 @@ var UnPinIcon = (props) => {
3917
4016
  width: size,
3918
4017
  height: size,
3919
4018
  viewBox: "0 0 16 16",
3920
- fill: "#fff",
3921
- fillOpacity: ".36",
4019
+ fill: "currentColor",
3922
4020
  xmlns: "http://www.w3.org/2000/svg",
4021
+ ...props,
3923
4022
  children: /* @__PURE__ */ jsx("path", { d: "M10.008 1.302a.74.74 0 0 0-.486.215c-1.033.988-1.349 1.815-.972 2.947-.88.675-1.437.841-2.536.841-1.503 0-2.484.181-3.152.848v.021a1.583 1.583 0 0 0 0 2.249l1.867 1.881-3.181 3.18c-.26.26-.28.696-.02.956.261.26.699.26.959 0l3.193-3.193 1.87 1.86a1.585 1.585 0 0 0 2.25 0h.02c.668-.667.854-1.522.854-3.144 0-1.03.212-1.758.853-2.523 1.232.361 1.95.015 2.96-.995a.68.68 0 0 0 .188-.479c0-.234-.06-.594-.209-1.041a5.34 5.34 0 0 0-1.312-2.103A5.35 5.35 0 0 0 11.05 1.51c-.448-.149-.808-.208-1.042-.208m.258 1.37c.708.131 1.421.6 1.93 1.108.507.507.94 1.13 1.119 1.944-.636.61-1.026.659-1.662.324a.67.67 0 0 0-.779.116c-1.214 1.213-1.533 2.314-1.533 3.8 0 1.293-.076 1.774-.48 2.207-.113.123-.27.104-.374 0L3.799 7.486a.24.24 0 0 1-.017-.34c.239-.29.769-.514 2.226-.514 1.742.001 2.668-.447 3.812-1.52a.67.67 0 0 0 .125-.77c-.343-.685-.29-1.046.321-1.67" })
3924
4023
  }
3925
4024
  );
@@ -4005,7 +4104,7 @@ var MobileCellItem = (props) => {
4005
4104
  editRate && /* @__PURE__ */ jsx(
4006
4105
  EditIcon,
4007
4106
  {
4008
- className: "oui-mt-px oui-cursor-pointer oui-fill-white/[.36] hover:oui-fill-white/80",
4107
+ className: "oui-mt-px oui-cursor-pointer oui-fill-base-contrast-36 hover:oui-fill-base-contrast-80",
4009
4108
  fillOpacity: 1,
4010
4109
  fill: "currentColor",
4011
4110
  onClick: () => editRate()
@@ -4184,7 +4283,7 @@ var DesktopLayout = (props) => {
4184
4283
  /* @__PURE__ */ jsx(
4185
4284
  EditIcon,
4186
4285
  {
4187
- className: "oui-mt-[6px] oui-cursor-pointer oui-fill-white/[.36] hover:oui-fill-white/80",
4286
+ className: "oui-mt-[6px] oui-cursor-pointer oui-fill-base-contrast-36 hover:oui-fill-base-contrast-80",
4188
4287
  fillOpacity: 1,
4189
4288
  fill: "currentColor",
4190
4289
  onClick: (e) => props.editRate?.(data)
@@ -5225,7 +5324,7 @@ var ApplyIcon = () => {
5225
5324
  fillRule: "evenodd",
5226
5325
  clipRule: "evenodd",
5227
5326
  d: "M24.941 5.4h-6.682a.6.6 0 0 0-.593.509l-.462 3a.6.6 0 0 0 .593.691h7.606a.6.6 0 0 0 .593-.691l-.462-3a.6.6 0 0 0-.593-.509m-6.682-1.8a2.4 2.4 0 0 0-2.372 2.035l-.462 3a2.4 2.4 0 0 0 2.372 2.765h7.606a2.4 2.4 0 0 0 2.372-2.765l-.462-3A2.4 2.4 0 0 0 24.941 3.6z",
5228
- fill: "#fff",
5327
+ fill: "rgb(var(--oui-color-base-foreground))",
5229
5328
  fillOpacity: ".36"
5230
5329
  }
5231
5330
  ),
@@ -5233,14 +5332,14 @@ var ApplyIcon = () => {
5233
5332
  "path",
5234
5333
  {
5235
5334
  d: "M32.721 28.2c.924-1.6 3.233-1.6 4.157 0l7.275 12.6c.924 1.6-.231 3.6-2.079 3.6H27.525c-1.848 0-3.002-2-2.078-3.6z",
5236
- fill: "#335FFC"
5335
+ fill: "rgb(var(--oui-color-primary-darken))"
5237
5336
  }
5238
5337
  ),
5239
5338
  /* @__PURE__ */ jsx(
5240
5339
  "path",
5241
5340
  {
5242
5341
  d: "M33.492 38.12H31.56c-.252 0-.426-.276-.336-.535l1.92-5.53a.4.4 0 0 1 .132-.185.34.34 0 0 1 .204-.07h3.24c.255 0 .43.284.333.544l-1.118 3.011h2.104c.31 0 .475.4.27.656l-5.158 6.453c-.251.313-.716.041-.619-.362z",
5243
- fill: "#fff",
5342
+ fill: "rgb(var(--oui-color-base-foreground))",
5244
5343
  fillOpacity: ".98"
5245
5344
  }
5246
5345
  ),
@@ -5250,7 +5349,7 @@ var ApplyIcon = () => {
5250
5349
  fillRule: "evenodd",
5251
5350
  clipRule: "evenodd",
5252
5351
  d: "M14.4 16.8v2.4h2.4v-2.4zM13.2 15a.6.6 0 0 0-.6.6v4.8a.6.6 0 0 0 .6.6H18a.6.6 0 0 0 .6-.6v-4.8a.6.6 0 0 0-.6-.6z",
5253
- fill: "#fff",
5352
+ fill: "rgb(var(--oui-color-base-foreground))",
5254
5353
  fillOpacity: ".36"
5255
5354
  }
5256
5355
  ),
@@ -5258,7 +5357,7 @@ var ApplyIcon = () => {
5258
5357
  "path",
5259
5358
  {
5260
5359
  d: "M20.4 16.2a.6.6 0 0 1 .6-.6h2.4a.6.6 0 0 1 .6.6v.6a.6.6 0 0 1-.6.6H21a.6.6 0 0 1-.6-.6zm0 3a.6.6 0 0 1 .6-.6h9a.6.6 0 0 1 .6.6v.6a.6.6 0 0 1-.6.6h-9a.6.6 0 0 1-.6-.6zm-7.8 5.4a.6.6 0 0 1 .6-.6H30a.6.6 0 0 1 .6.6v.6a.6.6 0 0 1-.6.6H13.2a.6.6 0 0 1-.6-.6zm0 3.6a.6.6 0 0 1 .6-.6H30a.6.6 0 0 1 .6.6v.6a.6.6 0 0 1-.6.6H13.2a.6.6 0 0 1-.6-.6zm0 3.6a.6.6 0 0 1 .6-.6h9a.6.6 0 0 1 .6.6v.6a.6.6 0 0 1-.6.6h-9a.6.6 0 0 1-.6-.6z",
5261
- fill: "#fff",
5360
+ fill: "rgb(var(--oui-color-base-foreground))",
5262
5361
  fillOpacity: ".36"
5263
5362
  }
5264
5363
  ),
@@ -5268,7 +5367,7 @@ var ApplyIcon = () => {
5268
5367
  fillRule: "evenodd",
5269
5368
  clipRule: "evenodd",
5270
5369
  d: "M15.739 6.6H10.2A2.4 2.4 0 0 0 7.8 9v30a2.4 2.4 0 0 0 2.4 2.4h13.84l1.014-1.8H10.2a.6.6 0 0 1-.6-.6V9a.6.6 0 0 1 .6-.6h5.262zm12 1.8H33a.6.6 0 0 1 .6.6v16.47a2.8 2.8 0 0 1 1.8-.205V9A2.4 2.4 0 0 0 33 6.6h-5.538z",
5271
- fill: "#fff",
5370
+ fill: "rgb(var(--oui-color-base-foreground))",
5272
5371
  fillOpacity: ".36"
5273
5372
  }
5274
5373
  )
@@ -5287,14 +5386,20 @@ var ShareIcon = () => {
5287
5386
  xmlns: "http://www.w3.org/2000/svg",
5288
5387
  className: "lg:oui-w-[64px] lg:oui-h-[64px] 2xl:oui-w-[80px] 2xl:oui-h-[80px]",
5289
5388
  children: [
5290
- /* @__PURE__ */ jsx("path", { d: "M24 33a9 9 0 1 1-18 0 9 9 0 0 1 18 0", fill: "#335FFC" }),
5389
+ /* @__PURE__ */ jsx(
5390
+ "path",
5391
+ {
5392
+ d: "M24 33a9 9 0 1 1-18 0 9 9 0 0 1 18 0",
5393
+ fill: "rgb(var(--oui-color-primary-darken))"
5394
+ }
5395
+ ),
5291
5396
  /* @__PURE__ */ jsx(
5292
5397
  "path",
5293
5398
  {
5294
5399
  fillRule: "evenodd",
5295
5400
  clipRule: "evenodd",
5296
5401
  d: "M15 32.4a1.8 1.8 0 1 0 0-3.6 1.8 1.8 0 0 0 0 3.6m0 1.8a3.6 3.6 0 1 0 0-7.2 3.6 3.6 0 0 0 0 7.2m-6.578 4.942A4.8 4.8 0 0 1 13.2 34.8h3.6a4.8 4.8 0 0 1 4.778 4.342 9 9 0 0 1-1.778 1.473V39.6a3 3 0 0 0-3-3h-3.6a3 3 0 0 0-3 3v1.015a9 9 0 0 1-1.778-1.473",
5297
- fill: "#fff",
5402
+ fill: "rgb(var(--oui-color-base-foreground))",
5298
5403
  fillOpacity: ".98"
5299
5404
  }
5300
5405
  ),
@@ -5304,7 +5409,7 @@ var ShareIcon = () => {
5304
5409
  fillRule: "evenodd",
5305
5410
  clipRule: "evenodd",
5306
5411
  d: "M16.2 12a4.2 4.2 0 1 1-8.4 0 4.2 4.2 0 0 1 8.4 0m1.8 0c0 1.37-.459 2.632-1.231 3.642l2.308 2.308a7.76 7.76 0 0 1 4.023-1.7v-.764A3.602 3.602 0 0 1 24 8.4a3.6 3.6 0 0 1 .9 7.087v.764c1.48.17 2.833.754 3.942 1.633l2.326-2.326a6 6 0 1 1 1.273 1.273l-2.326 2.326a7.76 7.76 0 0 1 1.634 3.943h.764a3.602 3.602 0 0 1 7.087.9 3.6 3.6 0 0 1-7.087.9h-.764a7.76 7.76 0 0 1-1.699 4.023l2.308 2.308a6 6 0 1 1-1.25 1.295l-2.347-2.347a7.8 7.8 0 0 1-3.05 1.433 11 11 0 0 0-.377-1.76 6 6 0 1 0-7.185-7.185q-.855-.261-1.76-.379a7.8 7.8 0 0 1 1.432-3.049l-2.347-2.347A6 6 0 1 1 18 12m7.8 0a1.8 1.8 0 1 1-3.6 0 1.8 1.8 0 0 1 3.6 0M36 25.8a1.8 1.8 0 1 0 0-3.6 1.8 1.8 0 0 0 0 3.6m0-9.6a4.2 4.2 0 1 0 0-8.4 4.2 4.2 0 0 0 0 8.4M40.2 36a4.2 4.2 0 1 1-8.4 0 4.2 4.2 0 0 1 8.4 0",
5307
- fill: "#fff",
5412
+ fill: "rgb(var(--oui-color-base-foreground))",
5308
5413
  fillOpacity: ".36"
5309
5414
  }
5310
5415
  )
@@ -5329,18 +5434,24 @@ var EarnIcon = () => {
5329
5434
  fillRule: "evenodd",
5330
5435
  clipRule: "evenodd",
5331
5436
  d: "M24 24a2.4 2.4 0 1 0 0-4.8 2.4 2.4 0 0 0 0 4.8m0 1.8a4.2 4.2 0 1 0 0-8.4 4.2 4.2 0 0 0 0 8.4",
5332
- fill: "#fff",
5437
+ fill: "rgb(var(--oui-color-base-foreground))",
5333
5438
  fillOpacity: ".36"
5334
5439
  }
5335
5440
  ),
5336
- /* @__PURE__ */ jsx("path", { d: "M45 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0", fill: "#335FFC" }),
5441
+ /* @__PURE__ */ jsx(
5442
+ "path",
5443
+ {
5444
+ d: "M45 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0",
5445
+ fill: "rgb(var(--oui-color-primary-darken))"
5446
+ }
5447
+ ),
5337
5448
  /* @__PURE__ */ jsx(
5338
5449
  "path",
5339
5450
  {
5340
5451
  fillRule: "evenodd",
5341
5452
  clipRule: "evenodd",
5342
5453
  d: "M35.1 6.6a.9.9 0 1 1 1.8 0v.437A3 3 0 0 1 39 9.9h-1.8a1.2 1.2 0 1 0-1.2 1.2 3 3 0 0 1 .9 5.863v.437a.9.9 0 0 1-1.8 0v-.437A3 3 0 0 1 33 14.1h1.8a1.2 1.2 0 1 0 1.2-1.2 3 3 0 0 1-.9-5.863z",
5343
- fill: "#fff",
5454
+ fill: "rgb(var(--oui-color-base-foreground))",
5344
5455
  fillOpacity: ".98"
5345
5456
  }
5346
5457
  ),
@@ -5350,7 +5461,7 @@ var EarnIcon = () => {
5350
5461
  fillRule: "evenodd",
5351
5462
  clipRule: "evenodd",
5352
5463
  d: "M40.2 23.7a.9.9 0 0 1 1.8 0v.6q0 .045-.004.086c-.197 9.351-7.525 16.948-16.765 17.573l1.205 1.205a.9.9 0 1 1-1.272 1.272l-2.7-2.7a.9.9 0 0 1 0-1.272l2.7-2.7a.9.9 0 1 1 1.272 1.272l-1.11 1.11c8.325-.674 14.87-7.642 14.874-16.14zM21.564 4.836a.9.9 0 1 1 1.272-1.272l2.7 2.7a.9.9 0 0 1 0 1.272l-2.7 2.7a.9.9 0 1 1-1.272-1.272l1.11-1.11C14.347 8.528 7.8 15.5 7.8 24v.3a.9.9 0 1 1-1.8 0v-.6l.004-.086C6.201 14.263 13.53 6.666 22.77 6.042z",
5353
- fill: "#fff",
5464
+ fill: "rgb(var(--oui-color-base-foreground))",
5354
5465
  fillOpacity: ".36"
5355
5466
  }
5356
5467
  ),
@@ -5360,7 +5471,7 @@ var EarnIcon = () => {
5360
5471
  fillRule: "evenodd",
5361
5472
  clipRule: "evenodd",
5362
5473
  d: "M24 11.4q.615 0 1.213.058a11 11 0 0 0 .061 1.816Q24.647 13.2 24 13.2c-5.965 0-10.8 4.835-10.8 10.8 0 2.898 1.142 5.53 3 7.47a4.8 4.8 0 0 1 4.8-4.79h6a4.8 4.8 0 0 1 4.8 4.789c1.858-1.94 3-4.572 3-7.47q0-.647-.074-1.274a11 11 0 0 0 1.816.06q.057.6.058 1.214c0 6.959-5.641 12.6-12.6 12.6S11.4 30.959 11.4 24 17.041 11.4 24 11.4m6 21.581v-1.5a3 3 0 0 0-3-3h-6a3 3 0 0 0-3 3v1.5a10.75 10.75 0 0 0 6 1.819c2.22 0 4.284-.67 6-1.819",
5363
- fill: "#fff",
5474
+ fill: "rgb(var(--oui-color-base-foreground))",
5364
5475
  fillOpacity: ".36"
5365
5476
  }
5366
5477
  )
@@ -5381,7 +5492,7 @@ var ArrowDownIcon = () => {
5381
5492
  "path",
5382
5493
  {
5383
5494
  d: "M8.5048 4.00806C8.8728 4.00806 9.1708 4.30626 9.1708 4.67406C9.1708 4.99259 9.1708 8.71739 9.1708 9.71072L11.1688 7.73339L12.1055 8.67005L8.98346 11.8127C8.85346 11.9434 8.6788 12.0081 8.50413 12.0081C8.33013 12.0081 8.15612 11.9427 8.02612 11.8127L4.90413 8.67005L5.8408 7.73339L7.83881 9.71072C7.83881 8.71739 7.83881 4.99259 7.83881 4.67406C7.83881 4.30626 8.1368 4.00806 8.5048 4.00806Z",
5384
- fill: "#608CFF"
5495
+ fill: "rgb(var(--oui-color-primary))"
5385
5496
  }
5386
5497
  )
5387
5498
  }
@@ -5501,10 +5612,8 @@ var ArrowRightIcon = (props) => {
5501
5612
  width: "16",
5502
5613
  height: "16",
5503
5614
  viewBox: "0 0 16 16",
5504
- fill: "white",
5505
- fillOpacity: "0.98",
5506
5615
  xmlns: "http://www.w3.org/2000/svg",
5507
- className: props.className,
5616
+ className: cn(props.className, "oui-fill-base-contrast"),
5508
5617
  children: /* @__PURE__ */ jsx("path", { d: "M4.00806 7.9952C4.00806 7.6272 4.30626 7.3292 4.67406 7.3292C4.99259 7.3292 8.71739 7.3292 9.71072 7.3292L7.73339 5.3312L8.67005 4.39453L11.8127 7.51654C11.9434 7.64654 12.0081 7.8212 12.0081 7.99587C12.0081 8.16987 11.9427 8.34388 11.8127 8.47388L8.67005 11.5959L7.73339 10.6592L9.71072 8.66119C8.71739 8.66119 4.99259 8.66119 4.67406 8.66119C4.30626 8.66119 4.00806 8.3632 4.00806 7.9952Z" })
5509
5618
  }
5510
5619
  );
@@ -5580,7 +5689,7 @@ var Icon = () => {
5580
5689
  "path",
5581
5690
  {
5582
5691
  d: "M44.996 7.324c-20.71 0-37.43 16.79-37.5 37.5-.07 20.682 16.806 37.575 37.5 37.617 20.694.04 37.537-17.082 37.5-37.617-.037-20.71-16.79-37.5-37.5-37.5m0 7.5c16.569 0 30 13.433 30 30 0 8.438-3.514 16.043-9.12 21.495-2.762-5.973-8.694-10.245-15.49-10.245h-10.78c-6.791 0-12.706 4.22-15.47 10.197-5.606-5.453-9.14-13.01-9.14-21.447 0-16.567 13.431-30 30-30m0 7.5c-8.284 0-15 6.717-15 15s6.716 15 15 15 15-6.716 15-15-6.716-15-15-15",
5583
- fill: "#fff",
5692
+ fill: "rgb(var(--oui-color-base-foreground))",
5584
5693
  fillOpacity: ".2"
5585
5694
  }
5586
5695
  ),
@@ -5588,14 +5697,14 @@ var Icon = () => {
5588
5697
  "path",
5589
5698
  {
5590
5699
  d: "M90 71.25C90 81.605 81.605 90 71.25 90S52.5 81.605 52.5 71.25 60.895 52.5 71.25 52.5 90 60.895 90 71.25",
5591
- fill: "#005A4F"
5700
+ fill: "rgb(var(--oui-color-success-darken))"
5592
5701
  }
5593
5702
  ),
5594
5703
  /* @__PURE__ */ jsx(
5595
5704
  "path",
5596
5705
  {
5597
5706
  d: "M80.62 75.007c0-.24-.08-.49-.263-.675l-3.487-3.456-1.318 1.318 1.845 1.875H63.745a.938.938 0 0 0 0 1.875h13.652l-1.845 1.875 1.318 1.318 3.487-3.456a.95.95 0 0 0 .263-.674m-.937-7.5a.94.94 0 0 0-.938-.938H65.093l1.846-1.875-1.319-1.318-3.486 3.456a.966.966 0 0 0 0 1.349l3.486 3.456 1.319-1.318-1.846-1.875h13.652c.518 0 .938-.42.938-.937",
5598
- fill: "#fff",
5707
+ fill: "rgb(var(--oui-color-base-foreground))",
5599
5708
  fillOpacity: ".98"
5600
5709
  }
5601
5710
  )
@@ -5873,7 +5982,7 @@ var Icon2 = () => {
5873
5982
  "path",
5874
5983
  {
5875
5984
  d: "M35.997 5.86c-16.569 0-29.944 13.43-30 30-.056 16.545 13.445 30.06 30 30.093s30.03-13.665 30-30.093c-.03-16.57-13.432-30-30-30m0 6c13.255 0 24 10.746 24 24 0 6.75-2.812 12.834-7.297 17.196-2.209-4.78-6.955-8.196-12.39-8.196h-8.626c-5.432 0-10.164 3.375-12.375 8.157-4.485-4.362-7.312-10.407-7.312-17.157 0-13.254 10.745-24 24-24m0 6c-6.628 0-12 5.373-12 12s5.372 12 12 12c6.627 0 12-5.373 12-12s-5.373-12-12-12",
5876
- fill: "#fff",
5985
+ fill: "rgb(var(--oui-color-base-foreground))",
5877
5986
  fillOpacity: ".2"
5878
5987
  }
5879
5988
  ),
@@ -5881,14 +5990,14 @@ var Icon2 = () => {
5881
5990
  "path",
5882
5991
  {
5883
5992
  d: "M72 57c0 8.284-6.716 15-15 15s-15-6.716-15-15 6.716-15 15-15 15 6.716 15 15",
5884
- fill: "#1828C3"
5993
+ fill: "rgb(var(--oui-gradient-primary-end))"
5885
5994
  }
5886
5995
  ),
5887
5996
  /* @__PURE__ */ jsx(
5888
5997
  "path",
5889
5998
  {
5890
5999
  d: "M53.624 51.45a4.125 4.125 0 0 0-4.125 4.125c0 2.388 1.36 4.641 3.61 6.703a21 21 0 0 0 2.414 1.875c.287.194.556.37.797.516.147.089.243.154.304.187a.79.79 0 0 0 .75 0c.061-.033.158-.098.305-.187.24-.147.51-.322.797-.516a21 21 0 0 0 2.414-1.875c2.25-2.062 3.61-4.315 3.61-6.703a4.125 4.125 0 0 0-4.126-4.125c-1.294 0-2.557.705-3.351 1.734-.775-1.047-2.034-1.734-3.399-1.734",
5891
- fill: "#fff",
6000
+ fill: "rgb(var(--oui-color-base-foreground))",
5892
6001
  fillOpacity: ".98"
5893
6002
  }
5894
6003
  )
@@ -6258,7 +6367,7 @@ var TitleStatistic2 = (props) => {
6258
6367
  VolBarChart,
6259
6368
  {
6260
6369
  data: props.dataSource,
6261
- colors: { fill: "rgba(0, 180, 158, 1)" },
6370
+ colors: { fill: "rgb(var(--oui-color-success))" },
6262
6371
  className: "oui-w-full oui-flex-1",
6263
6372
  tooltip: {
6264
6373
  rm: Decimal.ROUND_DOWN,
@@ -6633,7 +6742,7 @@ var Tab = (props) => {
6633
6742
  props.anATrader();
6634
6743
  },
6635
6744
  children: [
6636
- /* @__PURE__ */ jsx(TraderIcon, {}),
6745
+ /* @__PURE__ */ jsx(TraderIcon, { className: "oui-text-base-contrast" }),
6637
6746
  /* @__PURE__ */ jsx(Text, { children: t("affiliate.asTrader.title") })
6638
6747
  ]
6639
6748
  }
@@ -6657,7 +6766,7 @@ var Tab = (props) => {
6657
6766
  props.anAnAffiliate();
6658
6767
  },
6659
6768
  children: [
6660
- /* @__PURE__ */ jsx(AffiliateIcon, {}),
6769
+ /* @__PURE__ */ jsx(AffiliateIcon, { className: "oui-text-base-contrast" }),
6661
6770
  /* @__PURE__ */ jsx(Text, { children: t("affiliate.asAffiliate.title") })
6662
6771
  ]
6663
6772
  }
@@ -6701,9 +6810,7 @@ var Tab = (props) => {
6701
6810
  /* @__PURE__ */ jsx(
6702
6811
  AffiliateIcon,
6703
6812
  {
6704
- fillOpacity: 1,
6705
- fill: "currentColor",
6706
- className: props.tab === "affiliate" /* affiliate */ ? "oui-fill-white/[.98]" : "oui-fill-white/[.36]"
6813
+ className: props.tab === "affiliate" /* affiliate */ ? "oui-text-base-contrast" : "oui-text-base-contrast-36"
6707
6814
  }
6708
6815
  ),
6709
6816
  /* @__PURE__ */ jsx(Text, { children: t("common.affiliate") })
@@ -6719,9 +6826,7 @@ var Tab = (props) => {
6719
6826
  /* @__PURE__ */ jsx(
6720
6827
  TraderIcon,
6721
6828
  {
6722
- fillOpacity: 1,
6723
- fill: "currentColor",
6724
- className: props.tab === "trader" /* trader */ ? "oui-fill-white/[.98]" : "oui-fill-white/[.36]"
6829
+ className: props.tab === "trader" /* trader */ ? "oui-text-base-contrast" : "oui-text-base-contrast-36"
6725
6830
  }
6726
6831
  ),
6727
6832
  /* @__PURE__ */ jsx(Text, { children: t("affiliate.trader") })
@@ -6902,7 +7007,7 @@ var useLayoutBuilder = () => {
6902
7007
  fillRule: "evenodd",
6903
7008
  clipRule: "evenodd",
6904
7009
  d: "M5.625 4.95c0-.746.604-1.35 1.35-1.35h4.05c.746 0 1.35.604 1.35 1.35v4.62L9 12.195 5.625 9.57zm8.624 3.163-.524.407v-.96l.074.05c.193.128.346.302.45.502m-4.42 5.148L14.4 9.705v3.345a1.35 1.35 0 0 1-1.35 1.35h-8.1a1.35 1.35 0 0 1-1.35-1.35V9.705l4.571 3.556c.488.379 1.17.379 1.658 0M4.275 8.52l-.524-.407c.104-.2.257-.374.45-.503l.074-.049zm0-2.581V4.95a2.7 2.7 0 0 1 2.7-2.7h4.05a2.7 2.7 0 0 1 2.7 2.7v.989l.823.548a2.7 2.7 0 0 1 1.202 2.247v4.316a2.7 2.7 0 0 1-2.7 2.7h-8.1a2.7 2.7 0 0 1-2.7-2.7V8.734a2.7 2.7 0 0 1 1.202-2.247zM9 6.089l.111-.118.005-.005a1.08 1.08 0 0 1 1.58.004 1.223 1.223 0 0 1 0 1.668l-1.515 1.62-.004.004c-.1.102-.26.1-.358-.004l-1.516-1.62a1.223 1.223 0 0 1 0-1.668l.004-.004a1.08 1.08 0 0 1 1.58.004z",
6905
- fill: "#fff",
7010
+ fill: "rgb(var(--oui-color-base-foreground))",
6906
7011
  fillOpacity: ".54"
6907
7012
  }
6908
7013
  )