@symbo.ls/create 2.11.237 → 2.11.239

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.
@@ -408,7 +408,8 @@ var require_string = __commonJS({
408
408
  var string_exports = {};
409
409
  __export2(string_exports, {
410
410
  replaceLiteralsWithObjectFields: () => replaceLiteralsWithObjectFields2,
411
- stringIncludesAny: () => stringIncludesAny
411
+ stringIncludesAny: () => stringIncludesAny,
412
+ trimStringFromSymbols: () => trimStringFromSymbols
412
413
  });
413
414
  module2.exports = __toCommonJS2(string_exports);
414
415
  var stringIncludesAny = (str, characters2) => {
@@ -419,6 +420,10 @@ var require_string = __commonJS({
419
420
  }
420
421
  return false;
421
422
  };
423
+ var trimStringFromSymbols = (str, characters2) => {
424
+ const pattern = new RegExp(`[${characters2.join("\\")}]`, "g");
425
+ return str.replace(pattern, "");
426
+ };
422
427
  var brackRegex = /\{\{\s*((?:\.\.\/)+)?([^}\s]+)\s*\}\}/g;
423
428
  var replaceLiteralsWithObjectFields2 = (str, state) => {
424
429
  if (!str.includes("{{"))
@@ -470,6 +475,7 @@ var require_object = __commonJS({
470
475
  clone: () => clone,
471
476
  deepClone: () => deepClone4,
472
477
  deepCloneExclude: () => deepCloneExclude,
478
+ deepCloneWithExtnd: () => deepCloneWithExtnd2,
473
479
  deepContains: () => deepContains,
474
480
  deepDestringify: () => deepDestringify,
475
481
  deepDiff: () => deepDiff2,
@@ -600,6 +606,23 @@ var require_object = __commonJS({
600
606
  }
601
607
  return o;
602
608
  };
609
+ var deepCloneWithExtnd2 = (obj, excludeFrom = [], cleanUndefined = false) => {
610
+ const o = (0, import_types.isArray)(obj) ? [] : {};
611
+ for (const prop in obj) {
612
+ if (prop === "__proto__")
613
+ continue;
614
+ if (excludeFrom.includes(prop) || prop.startsWith("__"))
615
+ continue;
616
+ const objProp = obj[prop];
617
+ if (cleanUndefined && (0, import_types.isUndefined)(objProp))
618
+ continue;
619
+ if ((0, import_types.isObjectLike)(objProp)) {
620
+ o[prop] = deepCloneWithExtnd2(objProp, excludeFrom, cleanUndefined);
621
+ } else
622
+ o[prop] = objProp;
623
+ }
624
+ return o;
625
+ };
603
626
  var deepStringify = (obj, stringified = {}) => {
604
627
  for (const prop in obj) {
605
628
  const objProp = obj[prop];
@@ -630,7 +653,7 @@ var require_object = __commonJS({
630
653
  const spaces = " ".repeat(indent);
631
654
  let str = "{\n";
632
655
  for (const [key, value2] of Object.entries(obj)) {
633
- const keyNotAllowdChars = (0, import_string.stringIncludesAny)(key, ["&", "*", "-", ":", "@", ".", "/", "!"]);
656
+ const keyNotAllowdChars = (0, import_string.stringIncludesAny)(key, ["&", "*", "-", ":", "@", ".", "/", "!", " "]);
634
657
  const stringedKey = keyNotAllowdChars ? `'${key}'` : key;
635
658
  str += `${spaces} ${stringedKey}: `;
636
659
  if ((0, import_types.isArray)(value2)) {
@@ -2439,12 +2462,12 @@ var require_methods = __commonJS({
2439
2462
  };
2440
2463
  var set5 = function(val, options = {}) {
2441
2464
  const state = this;
2442
- const value2 = (0, import_utils25.deepClone)(val);
2465
+ const value2 = (0, import_utils25.deepCloneWithExtnd)(val);
2443
2466
  return state.clean({ preventStateUpdate: true, ...options }).update(value2, { replace: true, ...options });
2444
2467
  };
2445
2468
  var reset = function(options = {}) {
2446
2469
  const state = this;
2447
- const value2 = (0, import_utils25.deepClone)(state.parse());
2470
+ const value2 = (0, import_utils25.deepCloneWithExtnd)(state.parse());
2448
2471
  return state.set(value2, { replace: true, ...options });
2449
2472
  };
2450
2473
  var apply = function(func, options = {}) {
@@ -2544,7 +2567,7 @@ var require_inherit = __commonJS({
2544
2567
  if ((0, import_utils25.isUndefined)(inheritedState))
2545
2568
  return element.state;
2546
2569
  if ((0, import_utils25.is)(inheritedState)("object", "array")) {
2547
- return (0, import_utils25.deepClone)(inheritedState, import_ignore.IGNORE_STATE_PARAMS);
2570
+ return (0, import_utils25.deepCloneWithExtnd)(inheritedState, import_ignore.IGNORE_STATE_PARAMS);
2548
2571
  } else if ((0, import_utils25.is)(inheritedState)("string", "number", "boolean")) {
2549
2572
  ref.__stateType = typeof inheritedState;
2550
2573
  return { value: inheritedState };
@@ -2759,7 +2782,7 @@ var require_create2 = __commonJS({
2759
2782
  if (objectizeState === false)
2760
2783
  return parent.state || {};
2761
2784
  else
2762
- element.state = (0, import_utils25.deepClone)(objectizeState, import_ignore.IGNORE_STATE_PARAMS);
2785
+ element.state = (0, import_utils25.deepCloneWithExtnd)(objectizeState, import_ignore.IGNORE_STATE_PARAMS);
2763
2786
  const whatInitReturns = (0, import_event.triggerEventOn)("stateInit", element, options);
2764
2787
  if (whatInitReturns === false)
2765
2788
  return element.state;
@@ -2778,7 +2801,7 @@ var require_create2 = __commonJS({
2778
2801
  const { __ref: ref } = state;
2779
2802
  if (!ref)
2780
2803
  return;
2781
- const dependentState = (0, import_utils25.deepClone)(ref, import_ignore.IGNORE_STATE_PARAMS);
2804
+ const dependentState = (0, import_utils25.deepCloneWithExtnd)(ref, import_ignore.IGNORE_STATE_PARAMS);
2782
2805
  const newDepends = { [element.key]: dependentState };
2783
2806
  ref.__depends = (0, import_utils25.isObject)(ref.__depends) ? { ...ref.__depends, ...newDepends } : newDepends;
2784
2807
  return dependentState;
@@ -3850,7 +3873,6 @@ var require_extendUtils = __commonJS({
3850
3873
  const COMPONENTS = context && context.components || options.components;
3851
3874
  if ((0, import_utils25.isString)(extend)) {
3852
3875
  const componentExists = COMPONENTS[extend] || COMPONENTS["smbls." + extend];
3853
- console.log(extend, componentExists);
3854
3876
  if (COMPONENTS && componentExists) {
3855
3877
  return componentExists;
3856
3878
  } else {
@@ -4053,8 +4075,9 @@ var require_component = __commonJS({
4053
4075
  const { extend } = element;
4054
4076
  const execExtend = (0, import_utils25.exec)(extend, element);
4055
4077
  if ((0, import_utils25.isString)(execExtend)) {
4056
- if (components[execExtend])
4057
- element.extend = components[execExtend];
4078
+ const componentExists = components[execExtend] || components["smbls." + execExtend];
4079
+ if (componentExists)
4080
+ element.extend = componentExists;
4058
4081
  else {
4059
4082
  if ((ENV2 === "test" || ENV2 === "development") && options.verbose) {
4060
4083
  console.warn(execExtend, "is not in library", components, element);
@@ -6985,7 +7008,8 @@ var require_cjs10 = __commonJS({
6985
7008
  var string_exports = {};
6986
7009
  __export22(string_exports, {
6987
7010
  replaceLiteralsWithObjectFields: () => replaceLiteralsWithObjectFields2,
6988
- stringIncludesAny: () => stringIncludesAny
7011
+ stringIncludesAny: () => stringIncludesAny,
7012
+ trimStringFromSymbols: () => trimStringFromSymbols
6989
7013
  });
6990
7014
  module22.exports = __toCommonJS22(string_exports);
6991
7015
  var stringIncludesAny = (str, characters2) => {
@@ -6996,6 +7020,10 @@ var require_cjs10 = __commonJS({
6996
7020
  }
6997
7021
  return false;
6998
7022
  };
7023
+ var trimStringFromSymbols = (str, characters2) => {
7024
+ const pattern = new RegExp(`[${characters2.join("\\")}]`, "g");
7025
+ return str.replace(pattern, "");
7026
+ };
6999
7027
  var brackRegex = /\{\{\s*((?:\.\.\/)+)?([^}\s]+)\s*\}\}/g;
7000
7028
  var replaceLiteralsWithObjectFields2 = (str, state) => {
7001
7029
  if (!str.includes("{{"))
@@ -7045,6 +7073,7 @@ var require_cjs10 = __commonJS({
7045
7073
  clone: () => clone,
7046
7074
  deepClone: () => deepClone22,
7047
7075
  deepCloneExclude: () => deepCloneExclude,
7076
+ deepCloneWithExtnd: () => deepCloneWithExtnd2,
7048
7077
  deepContains: () => deepContains,
7049
7078
  deepDestringify: () => deepDestringify,
7050
7079
  deepDiff: () => deepDiff2,
@@ -7175,6 +7204,23 @@ var require_cjs10 = __commonJS({
7175
7204
  }
7176
7205
  return o;
7177
7206
  };
7207
+ var deepCloneWithExtnd2 = (obj, excludeFrom = [], cleanUndefined = false) => {
7208
+ const o = (0, import_types.isArray)(obj) ? [] : {};
7209
+ for (const prop in obj) {
7210
+ if (prop === "__proto__")
7211
+ continue;
7212
+ if (excludeFrom.includes(prop) || prop.startsWith("__"))
7213
+ continue;
7214
+ const objProp = obj[prop];
7215
+ if (cleanUndefined && (0, import_types.isUndefined)(objProp))
7216
+ continue;
7217
+ if ((0, import_types.isObjectLike)(objProp)) {
7218
+ o[prop] = deepCloneWithExtnd2(objProp, excludeFrom, cleanUndefined);
7219
+ } else
7220
+ o[prop] = objProp;
7221
+ }
7222
+ return o;
7223
+ };
7178
7224
  var deepStringify = (obj, stringified = {}) => {
7179
7225
  for (const prop in obj) {
7180
7226
  const objProp = obj[prop];
@@ -7205,7 +7251,7 @@ var require_cjs10 = __commonJS({
7205
7251
  const spaces = " ".repeat(indent);
7206
7252
  let str = "{\n";
7207
7253
  for (const [key, value2] of Object.entries(obj)) {
7208
- const keyNotAllowdChars = (0, import_string.stringIncludesAny)(key, ["&", "*", "-", ":", "@", ".", "/", "!"]);
7254
+ const keyNotAllowdChars = (0, import_string.stringIncludesAny)(key, ["&", "*", "-", ":", "@", ".", "/", "!", " "]);
7209
7255
  const stringedKey = keyNotAllowdChars ? `'${key}'` : key;
7210
7256
  str += `${spaces} ${stringedKey}: `;
7211
7257
  if ((0, import_types.isArray)(value2)) {
@@ -9821,6 +9867,8 @@ var require_cjs10 = __commonJS({
9821
9867
  CONFIG22.useDocumentTheme = useDocumentTheme;
9822
9868
  if (globalTheme !== void 0)
9823
9869
  CONFIG22.globalTheme = globalTheme;
9870
+ if (useDefaultConfig !== void 0)
9871
+ CONFIG22.useDefaultConfig = useDefaultConfig;
9824
9872
  if (CONFIG22.verbose)
9825
9873
  console.log(CONFIG22);
9826
9874
  if (!CONFIG22.__svg_cache)
@@ -11942,6 +11990,7 @@ __export(uikit_exports, {
11942
11990
  AvatarChooser: () => AvatarChooser,
11943
11991
  AvatarIndicator: () => AvatarIndicator,
11944
11992
  BalanceCard: () => BalanceCard,
11993
+ Banner: () => Banner,
11945
11994
  Block: () => Block,
11946
11995
  Box: () => Box,
11947
11996
  Br: () => Br,
@@ -11974,6 +12023,7 @@ __export(uikit_exports, {
11974
12023
  Dialog: () => Dialog,
11975
12024
  DialogFooter: () => DialogFooter,
11976
12025
  Direction: () => Direction,
12026
+ DotList: () => DotList,
11977
12027
  DoubleHr: () => DoubleHr,
11978
12028
  DoubleUnitValue: () => DoubleUnitValue,
11979
12029
  DropDownButton: () => DropDownButton,
@@ -13043,7 +13093,9 @@ var FocusableComponent = {
13043
13093
  // ../uikit/Atoms/Overflow.js
13044
13094
  var Overflow = {
13045
13095
  class: {
13046
- overflow: ({ props: props4 }) => props4.overflow && { overflow: props4.overflow }
13096
+ overflow: ({ props: props4 }) => props4.overflow && { overflow: props4.overflow },
13097
+ overflowX: ({ props: props4 }) => props4.overflowX && { overflowX: props4.overflowX },
13098
+ overflowY: ({ props: props4 }) => props4.overflowY && { overflowY: props4.overflowY }
13047
13099
  }
13048
13100
  };
13049
13101
 
@@ -13304,6 +13356,7 @@ var Text = {
13304
13356
  textDecoration: ({ props: props4 }) => props4.textDecoration && { textDecoration: props4.textDecoration },
13305
13357
  textTransform: ({ props: props4 }) => props4.textTransform && { textTransform: props4.textTransform },
13306
13358
  whiteSpace: ({ props: props4 }) => props4.whiteSpace && { whiteSpace: props4.whiteSpace },
13359
+ wordWrap: ({ props: props4 }) => props4.wordWrap && { wordWrap: props4.wordWrap },
13307
13360
  letterSpacing: ({ props: props4 }) => props4.letterSpacing && { letterSpacing: props4.letterSpacing },
13308
13361
  textAlign: ({ props: props4 }) => props4.textAlign && { textAlign: props4.textAlign },
13309
13362
  fontWeight: ({ props: props4 }) => props4.fontWeight && {
@@ -13695,143 +13748,823 @@ var TitleParagraphButton = {
13695
13748
  Paragraph: {}
13696
13749
  };
13697
13750
 
13698
- // ../uikit/UnitValue/index.js
13699
- var UnitValue = {
13700
- extend: Flex,
13701
- props: {
13702
- color: "gray2",
13703
- align: "center flex-start",
13704
- gap: "V",
13705
- fontWeight: "400",
13706
- "> *": { lineHeight: "1em" }
13707
- },
13708
- Value: { props: { text: "72" } },
13709
- Unit: { props: { text: "%" } }
13710
- };
13711
- var DoubleUnitValue = {
13712
- extend: Flex,
13751
+ // ../uikit/List/List.js
13752
+ var List = {
13713
13753
  props: {
13714
- align: "center flex-start",
13715
- gap: "Y"
13716
- },
13717
- UnitValue: {
13718
- Value: { text: "72" },
13719
- Unit: { text: "%" }
13754
+ position: "relative",
13755
+ overflow: "hidden",
13756
+ round: "A",
13757
+ minWidth: "F1",
13758
+ theme: "dialog",
13759
+ ":before, &:after": {
13760
+ content: '""',
13761
+ position: "absolute",
13762
+ boxSize: "A2 100%",
13763
+ zIndex: "2",
13764
+ left: "0",
13765
+ pointerEvents: "none"
13766
+ },
13767
+ ":before": {
13768
+ top: "0",
13769
+ background: "linear-gradient(to bottom, var(--theme-dialog-dark-background) 0%, transparent 100%)"
13770
+ },
13771
+ ":after": {
13772
+ bottom: "0",
13773
+ background: "linear-gradient(to top, var(--theme-dialog-dark-background) 0%, transparent 100%)"
13774
+ }
13720
13775
  },
13721
- dot: {
13776
+ Flex: {
13722
13777
  props: {
13723
- boxSize: "W W",
13724
- round: "100%",
13725
- background: "#A3A3A8"
13778
+ flow: "column",
13779
+ maxHeight: "F+C",
13780
+ overflow: "auto",
13781
+ "::-webkit-scrollbar": { display: "none" }
13782
+ },
13783
+ childExtend: {
13784
+ props: {
13785
+ padding: "Z1 A1",
13786
+ position: "relative",
13787
+ cursor: "pointer",
13788
+ fontSize: "A1",
13789
+ color: "gray4",
13790
+ ":hover": {
13791
+ background: "gray .92 +4"
13792
+ },
13793
+ childProps: { position: "relative" }
13794
+ }
13726
13795
  }
13727
- },
13728
- UnitValue2: {
13729
- extend: UnitValue,
13730
- props: { gap: "X+W" },
13731
- Value: { text: "2" },
13732
- Unit: { text: "Second left" }
13733
13796
  }
13734
13797
  };
13735
- var UnitValueWithLabel = {
13736
- extend: DoubleUnitValue,
13737
- props: { gap: "Y2" },
13738
- UnitValue: {
13739
- flow: "row-reverse",
13740
- fontSize: "D1",
13741
- fontWeight: "700",
13742
- color: "white",
13743
- Value: { text: "12,759" },
13744
- Unit: { text: "$" }
13745
- },
13746
- dot: null,
13747
- UnitValue2: {
13748
- props: {
13749
- background: "purple",
13750
- padding: "Z",
13751
- round: "Y1",
13752
- fontSize: "Y2",
13753
- gap: "0",
13754
- color: "white"
13755
- },
13756
- Value: { text: "+8.8" },
13757
- Unit: { text: "%" }
13798
+ var ListTemplate = {
13799
+ extend: List,
13800
+ props: { maxWidth: "F" },
13801
+ Flex: {
13802
+ ...[
13803
+ { span: { text: "Item" } },
13804
+ { span: { text: "Item" } },
13805
+ { span: { text: "Item" } },
13806
+ { span: { text: "Item" } },
13807
+ { span: { text: "Item" } },
13808
+ { span: { text: "Item" } },
13809
+ { span: { text: "Item" } },
13810
+ { span: { text: "Item" } },
13811
+ { span: { text: "Item" } },
13812
+ { span: { text: "Item" } },
13813
+ { span: { text: "Item" } },
13814
+ { span: { text: "Item" } },
13815
+ { span: { text: "Item" } }
13816
+ ]
13758
13817
  }
13759
13818
  };
13760
- var UnitValueWithTitle = {
13819
+ var DotList = {
13761
13820
  extend: Flex,
13762
13821
  props: {
13763
- align: "center flex-start",
13764
- gap: "Y",
13765
- fontSize: "Z1"
13822
+ flow: "column",
13823
+ gap: "Y"
13766
13824
  },
13767
- Title: {
13768
- tag: "caption",
13825
+ childExtend: {
13826
+ extend: Flex,
13769
13827
  props: {
13770
- text: "balance :",
13771
- textTransform: "capitalize"
13828
+ align: "center flex-start",
13829
+ gap: "Z",
13830
+ ":before": {
13831
+ content: '""',
13832
+ boxSize: "W",
13833
+ background: "white",
13834
+ display: "block",
13835
+ zIndex: "20"
13836
+ }
13772
13837
  }
13773
13838
  },
13774
- UnitValue: {
13775
- textTransform: "uppercase",
13776
- gap: "Y",
13777
- color: "currentColor",
13778
- Value: { text: "0" },
13779
- Unit: { text: "bnb" }
13780
- }
13839
+ ...[{ props: { text: "Brat font" } }]
13781
13840
  };
13782
13841
 
13783
- // ../uikit/Link/index.js
13784
- var import_router = __toESM(require_cjs12());
13785
- var Link = {
13786
- extend: Focusable,
13787
- tag: "a",
13842
+ // ../uikit/List/ListWithTitle.js
13843
+ var ListWithTitle = {
13844
+ extend: Flex,
13788
13845
  props: {
13789
- aria: {},
13790
- fontWeight: "bold",
13791
- textDecoration: "none",
13792
- color: "currentColor",
13793
- draggable: false
13846
+ flow: "column",
13847
+ overflow: "hidden",
13848
+ round: "A",
13849
+ maxWidth: "F1"
13794
13850
  },
13795
- attr: {
13796
- href: (el) => {
13797
- const { context: ctx } = el;
13798
- const { exec: exec4 } = ctx.utils;
13799
- return exec4(el.props.href, el) || exec4(el.props, el).href;
13800
- },
13801
- target: ({ props: props4 }) => props4.target,
13802
- "aria-label": ({ props: props4 }) => props4.aria ? props4.aria.label : props4.text,
13803
- draggable: ({ props: props4 }) => props4.draggable
13851
+ Title: {
13852
+ tag: "h5",
13853
+ props: {
13854
+ position: "sticky",
13855
+ top: "0",
13856
+ zIndex: "3",
13857
+ text: "Group name",
13858
+ fontSize: "Z",
13859
+ color: "gray .92 +68",
13860
+ fontWeight: "400",
13861
+ theme: "dialog",
13862
+ padding: "A"
13863
+ }
13864
+ },
13865
+ List: {
13866
+ extend: List,
13867
+ props: {
13868
+ round: "0",
13869
+ minWidth: "100%"
13870
+ // theme: 'tertiary'
13871
+ }
13804
13872
  }
13805
13873
  };
13806
- var RouterLink = {
13807
- on: {
13808
- click: (event, el) => {
13809
- const { props: props4, context: ctx } = el;
13810
- const { href } = props4;
13811
- if (!href)
13812
- return;
13813
- const { utils: utils2, snippets, routerOptions } = ctx;
13814
- const root = el.__ref.__root;
13815
- const linkIsExternal = href.includes("http://") || href.includes("https://") || href.includes("mailto:") || href.includes("tel:");
13816
- const options = props4.routerOptions || routerOptions || {
13817
- scrollToOptions: { behaviour: "instant" }
13818
- };
13819
- if (href && !linkIsExternal) {
13820
- (snippets.router || utils2.router || import_router.router)(href, root, {}, options);
13821
- event.preventDefault();
13822
- }
13874
+ var ListWithTitleTemplate = {
13875
+ extend: ListWithTitle,
13876
+ Title: {},
13877
+ List: {
13878
+ Flex: {
13879
+ ...[
13880
+ { span: { text: "Item" } },
13881
+ { span: { text: "Item" } },
13882
+ { span: { text: "Item" } },
13883
+ { span: { text: "Item" } },
13884
+ { span: { text: "Item" } }
13885
+ ]
13823
13886
  }
13824
13887
  }
13825
13888
  };
13826
- var RouteLink = {
13827
- extend: [Link, RouterLink]
13828
- };
13829
13889
 
13830
- // ../uikit/Video/index.js
13831
- var Video = {
13832
- tag: "video",
13833
- childExtend: {
13834
- tag: "source",
13890
+ // ../uikit/List/GroupList.js
13891
+ var GroupList = {
13892
+ extend: Flex,
13893
+ props: {
13894
+ flow: "column",
13895
+ overflow: "hidden",
13896
+ theme: "dialog",
13897
+ maxHeight: "H",
13898
+ round: "A",
13899
+ maxWidth: "G"
13900
+ },
13901
+ Header: {
13902
+ extend: Flex,
13903
+ props: {
13904
+ text: "Header",
13905
+ padding: "Z2 A",
13906
+ fontSize: "A2",
13907
+ fontWeight: "500",
13908
+ color: "white"
13909
+ }
13910
+ },
13911
+ Groups: {
13912
+ props: {
13913
+ position: "relative",
13914
+ ":before, &:after": {
13915
+ content: '""',
13916
+ position: "absolute",
13917
+ boxSize: "A2 100%",
13918
+ zIndex: "2",
13919
+ left: "0",
13920
+ pointerEvents: "none"
13921
+ },
13922
+ ":before": {
13923
+ top: "0",
13924
+ background: "linear-gradient(to bottom, var(--theme-dialog-dark-background) 0%, transparent 100%)"
13925
+ },
13926
+ ":after": {
13927
+ bottom: "0",
13928
+ background: "linear-gradient(to top, var(--theme-dialog-dark-background) 0%, transparent 100%)"
13929
+ }
13930
+ },
13931
+ Flex: {
13932
+ extend: Flex,
13933
+ props: {
13934
+ flow: "column",
13935
+ maxHeight: "G2",
13936
+ overflow: "auto",
13937
+ "::-webkit-scrollbar": { display: "none" }
13938
+ },
13939
+ childExtend: {
13940
+ extend: ListWithTitle,
13941
+ props: {
13942
+ round: "0",
13943
+ minWidth: "100%",
13944
+ overflow: "visible",
13945
+ background: "transparent"
13946
+ },
13947
+ Title: { props: { theme: "transparent" } },
13948
+ List: {
13949
+ props: {
13950
+ overflow: "visible",
13951
+ theme: "transparent",
13952
+ ":before": { display: "none" },
13953
+ ":after": { display: "none" }
13954
+ },
13955
+ Flex: {
13956
+ props: {
13957
+ style: { overflowY: "visible" },
13958
+ minHeight: "fit-content",
13959
+ maxHeight: "fit-content",
13960
+ childProps: {
13961
+ ":after": { background: "gray" }
13962
+ }
13963
+ }
13964
+ }
13965
+ }
13966
+ }
13967
+ }
13968
+ }
13969
+ };
13970
+ var GroupListTemplate = {
13971
+ extend: GroupList,
13972
+ Header: {},
13973
+ Groups: {
13974
+ props: {},
13975
+ Flex: {
13976
+ props: {},
13977
+ ...[
13978
+ {
13979
+ Title: null,
13980
+ List: {
13981
+ props: {},
13982
+ Flex: {
13983
+ props: {},
13984
+ ...[
13985
+ { span: { text: "Item" } },
13986
+ { span: { text: "Item" } }
13987
+ ]
13988
+ }
13989
+ }
13990
+ },
13991
+ {
13992
+ Title: {},
13993
+ List: {
13994
+ props: {},
13995
+ Flex: {
13996
+ props: {},
13997
+ ...[
13998
+ { span: { text: "Item" } },
13999
+ { span: { text: "Item" } },
14000
+ { span: { text: "Item" } }
14001
+ ]
14002
+ }
14003
+ }
14004
+ },
14005
+ {
14006
+ Title: {},
14007
+ List: {
14008
+ props: {},
14009
+ Flex: {
14010
+ props: {},
14011
+ ...[
14012
+ { span: { text: "Item" } },
14013
+ { span: { text: "Item" } },
14014
+ { span: { text: "Item" } },
14015
+ { span: { text: "Item" } },
14016
+ { span: { text: "Item" } },
14017
+ { span: { text: "Item" } },
14018
+ { span: { text: "Item" } },
14019
+ { span: { text: "Item" } },
14020
+ { span: { text: "Item" } },
14021
+ { span: { text: "Item" } },
14022
+ { span: { text: "Item" } },
14023
+ { span: { text: "Item" } },
14024
+ { span: { text: "Item" } }
14025
+ ]
14026
+ }
14027
+ }
14028
+ }
14029
+ ]
14030
+ }
14031
+ }
14032
+ };
14033
+
14034
+ // ../uikit/Field/CommonField.js
14035
+ var CommonField = {
14036
+ extend: Flex,
14037
+ tag: "label",
14038
+ props: {
14039
+ flow: "column",
14040
+ boxSize: "fit-content fit-content",
14041
+ gap: "Z"
14042
+ },
14043
+ Title: {
14044
+ props: {
14045
+ text: "Label",
14046
+ lineHeight: "1em",
14047
+ padding: "- - - V2",
14048
+ color: "gray4"
14049
+ }
14050
+ },
14051
+ Field: {
14052
+ tag: "div"
14053
+ },
14054
+ Hint: {
14055
+ extend: IconText,
14056
+ props: {
14057
+ color: "gray4",
14058
+ align: "center flex-start",
14059
+ text: "",
14060
+ fontSize: "Z1",
14061
+ gap: "Y",
14062
+ padding: "W - - W"
14063
+ }
14064
+ }
14065
+ };
14066
+ var CommonFieldTemplate = {
14067
+ extend: CommonField,
14068
+ Title: {},
14069
+ Field: {
14070
+ Icon: { props: { name: "info" } },
14071
+ Input: {},
14072
+ Button: { icon: "eye" }
14073
+ },
14074
+ Hint: {
14075
+ Icon: { props: { name: "info" } },
14076
+ text: "Description"
14077
+ }
14078
+ };
14079
+
14080
+ // ../uikit/Field/Field.js
14081
+ var Field = {
14082
+ tag: "label",
14083
+ extend: [Focusable, IconText],
14084
+ props: {
14085
+ minWidth: "F2+Z2",
14086
+ maxWidth: "F2+Z2",
14087
+ minHeight: "C+V",
14088
+ align: "center flex-start",
14089
+ gap: "Y",
14090
+ boxSizing: "border-box",
14091
+ padding: "- A - Z2",
14092
+ round: "Z1",
14093
+ border: "solid, gray .45 +80",
14094
+ borderWidth: ".8px",
14095
+ position: "relative",
14096
+ ":focus-within": { outline: "1px solid #0474F2" },
14097
+ Icon: {
14098
+ fontSize: "Z2"
14099
+ },
14100
+ Button: {
14101
+ padding: "0",
14102
+ background: "transparent",
14103
+ margin: "- - - auto",
14104
+ fontSize: "Z2"
14105
+ }
14106
+ },
14107
+ Input: {
14108
+ props: {
14109
+ fontSize: "Z",
14110
+ fontWeight: "400",
14111
+ padding: "0",
14112
+ background: "rgba(0, 0, 0, 0)",
14113
+ round: "0",
14114
+ color: "title",
14115
+ fontFamily: "avenir",
14116
+ placeholder: "Placeholder",
14117
+ flex: "1",
14118
+ minHeight: "100%",
14119
+ outline: "none !important",
14120
+ "::placeholder": { color: "gray 1 +64" }
14121
+ }
14122
+ }
14123
+ };
14124
+ var FieldTemplate = {
14125
+ extend: Field,
14126
+ Icon: { props: { name: "info" } },
14127
+ Input: {},
14128
+ Button: { Icon: { name: "eye" } }
14129
+ };
14130
+ var FieldWithTitle = {
14131
+ extend: Flex,
14132
+ props: {
14133
+ flow: "column",
14134
+ boxSize: "fit-content fit-content",
14135
+ gap: "Y1",
14136
+ // border: '.05px solid red',
14137
+ Hint: {
14138
+ color: "gray 1 +64",
14139
+ align: "center flex-start",
14140
+ fontSize: "Y",
14141
+ gap: "Y",
14142
+ padding: "W Y2 - Y2"
14143
+ }
14144
+ },
14145
+ Title: {
14146
+ props: {
14147
+ text: "Label",
14148
+ fontSize: "Z",
14149
+ lineHeight: "1em",
14150
+ color: "title",
14151
+ fontWeight: "400",
14152
+ padding: "- Y1"
14153
+ }
14154
+ },
14155
+ Field: {
14156
+ extend: Field
14157
+ }
14158
+ };
14159
+ var FieldWithTitleTemplate = {
14160
+ extend: FieldWithTitle,
14161
+ Title: {},
14162
+ Field: {
14163
+ Icon: { props: { name: "info" } },
14164
+ Input: {},
14165
+ Button: { icon: "eye" }
14166
+ },
14167
+ Hint: {
14168
+ extend: IconText,
14169
+ props: {
14170
+ icon: "info",
14171
+ text: "Description"
14172
+ }
14173
+ }
14174
+ };
14175
+
14176
+ // ../uikit/Field/Search.js
14177
+ var Search = {
14178
+ extend: Field,
14179
+ props: {
14180
+ maxWidth: "G3",
14181
+ gap: "Z",
14182
+ theme: "dialog",
14183
+ padding: "Z+V Z+V2",
14184
+ Icon: {
14185
+ name: "search",
14186
+ fontSize: "C",
14187
+ color: "title",
14188
+ margin: "V - - -"
14189
+ }
14190
+ },
14191
+ Icon: {},
14192
+ Input: {
14193
+ props: {
14194
+ placeholder: "type a command or search",
14195
+ fontSize: "Z",
14196
+ "::placeholder": { color: "gray 1 +68" }
14197
+ }
14198
+ }
14199
+ };
14200
+ var SearchWithButton = {
14201
+ extend: Search,
14202
+ props: {
14203
+ Button: { fontSize: "B" }
14204
+ },
14205
+ Icon: {},
14206
+ Input: { props: { ":focus ~ button": { opacity: "1" } } },
14207
+ Button: {
14208
+ props: {
14209
+ opacity: "0",
14210
+ icon: "x"
14211
+ },
14212
+ Icon: {
14213
+ on: {
14214
+ click: (e, el) => {
14215
+ el.parent.parent.Input.node.value = "";
14216
+ }
14217
+ }
14218
+ }
14219
+ }
14220
+ };
14221
+ var SearchWithDropDownButton = {
14222
+ extend: SearchWithButton,
14223
+ props: {
14224
+ theme: "tertiary",
14225
+ maxWidth: "G3+C",
14226
+ padding: "0 A 0 0",
14227
+ gap: "Z"
14228
+ },
14229
+ DropDownButton: {},
14230
+ Input: { props: { padding: "- - - X" } },
14231
+ Button: {},
14232
+ Icon: {}
14233
+ };
14234
+
14235
+ // ../uikit/Field/TextAreaField.js
14236
+ var TextAreaField = {
14237
+ tag: "label",
14238
+ extend: Focusable,
14239
+ props: {
14240
+ boxSize: "fit-content",
14241
+ border: "solid, gray .45 +80",
14242
+ borderWidth: ".8px",
14243
+ overflow: "hidden",
14244
+ round: "Z1",
14245
+ ":focus-within": { outline: "1px solid #0474F2" }
14246
+ },
14247
+ TextArea: {
14248
+ tag: "textarea",
14249
+ attr: { placeholder: "Leave us a message..." },
14250
+ props: {
14251
+ fontSize: "Z",
14252
+ minWidth: "H",
14253
+ minHeight: "D2+Y1",
14254
+ padding: "A",
14255
+ fontFamily: "avenir",
14256
+ theme: "transparent",
14257
+ border: "none",
14258
+ outline: "none",
14259
+ style: { resize: "none" },
14260
+ "::placeholder": { color: "gray 1 +64" }
14261
+ }
14262
+ }
14263
+ };
14264
+
14265
+ // ../uikit/List/GroupListWithSearch.js
14266
+ var GroupListWithSearch = {
14267
+ extend: GroupList,
14268
+ props: {
14269
+ maxWidth: "G1"
14270
+ },
14271
+ Header: {},
14272
+ SearchContainer: {
14273
+ extend: Flex,
14274
+ props: {
14275
+ padding: "0 Z1 Y2 Z1",
14276
+ background: "transparent"
14277
+ },
14278
+ Search: {
14279
+ extend: Search,
14280
+ props: {
14281
+ maxWidth: "100%",
14282
+ minWidth: "100%",
14283
+ minHeight: "C",
14284
+ theme: "transparent",
14285
+ round: "Z1"
14286
+ },
14287
+ Icon: {
14288
+ props: {
14289
+ fontSize: "C",
14290
+ color: "title"
14291
+ }
14292
+ },
14293
+ Input: { fontSize: "Z" }
14294
+ }
14295
+ },
14296
+ Groups: {
14297
+ Flex: {
14298
+ childExtend: {
14299
+ Title: {},
14300
+ List: {
14301
+ Flex: {
14302
+ childExtend: {
14303
+ props: {}
14304
+ }
14305
+ }
14306
+ }
14307
+ }
14308
+ }
14309
+ }
14310
+ };
14311
+ var GroupListWithSearchTemplate = {
14312
+ extend: GroupListWithSearch,
14313
+ Header: {},
14314
+ SearchContainer: {},
14315
+ Groups: {
14316
+ Flex: {
14317
+ ...[
14318
+ {
14319
+ Title: null,
14320
+ List: {
14321
+ Flex: {
14322
+ ...[
14323
+ { span: { text: "Item" } },
14324
+ { span: { text: "Item" } }
14325
+ ]
14326
+ }
14327
+ }
14328
+ },
14329
+ {
14330
+ Title: {},
14331
+ List: {
14332
+ Flex: {
14333
+ ...[
14334
+ { span: { text: "Item" } },
14335
+ { span: { text: "Item" } },
14336
+ { span: { text: "Item" } }
14337
+ ]
14338
+ }
14339
+ }
14340
+ },
14341
+ {
14342
+ Title: {},
14343
+ List: {
14344
+ Flex: {
14345
+ ...[
14346
+ { span: { text: "Item" } },
14347
+ { span: { text: "Item" } },
14348
+ { span: { text: "Item" } },
14349
+ { span: { text: "Item" } },
14350
+ { span: { text: "Item" } }
14351
+ ]
14352
+ }
14353
+ }
14354
+ }
14355
+ ]
14356
+ }
14357
+ }
14358
+ };
14359
+
14360
+ // ../uikit/Banner/index.js
14361
+ var Banner = {
14362
+ extend: TitleParagraph,
14363
+ props: {
14364
+ height: "fit-content",
14365
+ padding: "D1 C2 C2 C1",
14366
+ width: "100%",
14367
+ theme: "dialog",
14368
+ round: "0 0 Z 0"
14369
+ },
14370
+ Title: {
14371
+ tag: "h1",
14372
+ props: {
14373
+ textTransform: "capitalize",
14374
+ fontSize: `${120 / 16}em`,
14375
+ fontWeight: "900",
14376
+ padding: "- - X2 -"
14377
+ }
14378
+ },
14379
+ Paragraph: {
14380
+ props: {
14381
+ justifyContent: "space-between",
14382
+ // gap: 'I',
14383
+ padding: "B1 - - -",
14384
+ position: "relative",
14385
+ ":before": {
14386
+ content: '""',
14387
+ position: "absolute",
14388
+ boxSize: "V 100%",
14389
+ background: "white .1",
14390
+ top: "0",
14391
+ round: "C"
14392
+ }
14393
+ },
14394
+ list: {
14395
+ extend: TitleParagraph,
14396
+ props: {
14397
+ gap: "Z2",
14398
+ margin: "0 - - Y",
14399
+ Paragraph: {
14400
+ childProps: {
14401
+ fontSize: "Z1"
14402
+ }
14403
+ }
14404
+ },
14405
+ Title: {
14406
+ tag: "h6",
14407
+ props: {
14408
+ fontSize: "B",
14409
+ color: "white .85"
14410
+ }
14411
+ },
14412
+ Paragraph: {
14413
+ ...DotList,
14414
+ ...[{}]
14415
+ }
14416
+ },
14417
+ P: {
14418
+ text: "Our typography system ranges from impactful brand type used in marketing applications to functional type used in product. They come together to create a cohesive approach to how we communicate as a brand.",
14419
+ maxWidth: "G3+C",
14420
+ margin: "0",
14421
+ letterSpacing: ".1px",
14422
+ padding: "B - - Y",
14423
+ fontSize: "Z2",
14424
+ color: "white .5",
14425
+ lineHeight: "1.6em"
14426
+ // fontWeight: '100'
14427
+ }
14428
+ }
14429
+ };
14430
+
14431
+ // ../uikit/UnitValue/index.js
14432
+ var UnitValue = {
14433
+ extend: Flex,
14434
+ props: {
14435
+ color: "title",
14436
+ align: "center flex-start",
14437
+ gap: "V",
14438
+ fontWeight: "400",
14439
+ "> *": { lineHeight: "1em" }
14440
+ },
14441
+ Value: { props: { text: "72" } },
14442
+ Unit: { props: { text: "%" } }
14443
+ };
14444
+ var DoubleUnitValue = {
14445
+ extend: Flex,
14446
+ props: {
14447
+ align: "center flex-start",
14448
+ gap: "Y"
14449
+ },
14450
+ UnitValue: {
14451
+ Value: { text: "72" },
14452
+ Unit: { text: "%" }
14453
+ },
14454
+ dot: {
14455
+ props: {
14456
+ boxSize: "W W",
14457
+ round: "100%",
14458
+ background: "#A3A3A8"
14459
+ }
14460
+ },
14461
+ UnitValue2: {
14462
+ extend: UnitValue,
14463
+ props: { gap: "X+W" },
14464
+ Value: { text: "2" },
14465
+ Unit: { text: "Second left" }
14466
+ }
14467
+ };
14468
+ var UnitValueWithLabel = {
14469
+ extend: DoubleUnitValue,
14470
+ props: { gap: "Y2" },
14471
+ UnitValue: {
14472
+ flow: "row-reverse",
14473
+ fontSize: "D1",
14474
+ fontWeight: "700",
14475
+ color: "white",
14476
+ Value: { text: "12,759" },
14477
+ Unit: { text: "$" }
14478
+ },
14479
+ dot: null,
14480
+ UnitValue2: {
14481
+ props: {
14482
+ background: "purple",
14483
+ padding: "Z",
14484
+ round: "Y1",
14485
+ fontSize: "Y2",
14486
+ gap: "0",
14487
+ color: "white"
14488
+ },
14489
+ Value: { text: "+8.8" },
14490
+ Unit: { text: "%" }
14491
+ }
14492
+ };
14493
+ var UnitValueWithTitle = {
14494
+ extend: Flex,
14495
+ props: {
14496
+ align: "center flex-start",
14497
+ gap: "Y",
14498
+ fontSize: "Z1"
14499
+ },
14500
+ Title: {
14501
+ tag: "caption",
14502
+ props: {
14503
+ text: "balance :",
14504
+ textTransform: "capitalize"
14505
+ }
14506
+ },
14507
+ UnitValue: {
14508
+ textTransform: "uppercase",
14509
+ gap: "Y",
14510
+ color: "currentColor",
14511
+ Value: { text: "0" },
14512
+ Unit: { text: "bnb" }
14513
+ }
14514
+ };
14515
+
14516
+ // ../uikit/Link/index.js
14517
+ var import_router = __toESM(require_cjs12());
14518
+ var Link = {
14519
+ extend: Focusable,
14520
+ tag: "a",
14521
+ props: {
14522
+ aria: {},
14523
+ fontWeight: "bold",
14524
+ textDecoration: "none",
14525
+ color: "currentColor",
14526
+ draggable: false
14527
+ },
14528
+ attr: {
14529
+ href: (el) => {
14530
+ const { context: ctx } = el;
14531
+ const { exec: exec4 } = ctx.utils;
14532
+ return exec4(el.props.href, el) || exec4(el.props, el).href;
14533
+ },
14534
+ target: ({ props: props4 }) => props4.target,
14535
+ "aria-label": ({ props: props4 }) => props4.aria ? props4.aria.label : props4.text,
14536
+ draggable: ({ props: props4 }) => props4.draggable
14537
+ }
14538
+ };
14539
+ var RouterLink = {
14540
+ on: {
14541
+ click: (event, el) => {
14542
+ const { props: props4, context: ctx } = el;
14543
+ const { href } = props4;
14544
+ if (!href)
14545
+ return;
14546
+ const { utils: utils2, snippets, routerOptions } = ctx;
14547
+ const root = el.__ref.__root;
14548
+ const linkIsExternal = href.includes("http://") || href.includes("https://") || href.includes("mailto:") || href.includes("tel:");
14549
+ const options = props4.routerOptions || routerOptions || {
14550
+ scrollToOptions: { behaviour: "instant" }
14551
+ };
14552
+ if (href && !linkIsExternal) {
14553
+ (snippets.router || utils2.router || import_router.router)(href, root, {}, options);
14554
+ event.preventDefault();
14555
+ }
14556
+ }
14557
+ }
14558
+ };
14559
+ var RouteLink = {
14560
+ extend: [Link, RouterLink]
14561
+ };
14562
+
14563
+ // ../uikit/Video/index.js
14564
+ var Video = {
14565
+ tag: "video",
14566
+ childExtend: {
14567
+ tag: "source",
13835
14568
  attr: {
13836
14569
  src: ({ props: props4 }) => props4.src,
13837
14570
  controls: ({ props: props4 }) => props4.controls
@@ -14118,265 +14851,32 @@ var TextareaWithButton = {
14118
14851
  };
14119
14852
 
14120
14853
  // ../uikit/Select/index.js
14121
- var Select = {
14122
- extend: Focusable,
14123
- tag: "select",
14124
- props: {
14125
- fontSize: "A",
14126
- border: "none",
14127
- boxSizing: "border-box",
14128
- theme: "field",
14129
- cursor: "pointer"
14130
- },
14131
- childExtend: {
14132
- tag: "option",
14133
- props: {
14134
- value: "",
14135
- selected: "",
14136
- disabled: ""
14137
- },
14138
- attr: {
14139
- value: ({ props: props4 }) => props4.value,
14140
- selected: ({ props: props4 }) => props4.selected,
14141
- disabled: ({ props: props4 }) => props4.disabled
14142
- }
14143
- },
14144
- attr: {
14145
- name: ({ props: props4 }) => props4.name,
14146
- disabled: ({ props: props4 }) => props4.disabled
14147
- }
14148
- };
14149
-
14150
- // ../uikit/Field/CommonField.js
14151
- var CommonField = {
14152
- extend: Flex,
14153
- tag: "label",
14154
- props: {
14155
- flow: "column",
14156
- boxSize: "fit-content fit-content",
14157
- gap: "Z"
14158
- },
14159
- Title: {
14160
- props: {
14161
- text: "Label",
14162
- lineHeight: "1em",
14163
- padding: "- - - V2",
14164
- color: "gray4"
14165
- }
14166
- },
14167
- Field: {
14168
- tag: "div"
14169
- },
14170
- Hint: {
14171
- extend: IconText,
14172
- props: {
14173
- color: "gray4",
14174
- align: "center flex-start",
14175
- text: "",
14176
- fontSize: "Z1",
14177
- gap: "Y",
14178
- padding: "W - - W"
14179
- }
14180
- }
14181
- };
14182
- var CommonFieldTemplate = {
14183
- extend: CommonField,
14184
- Title: {},
14185
- Field: {
14186
- Icon: { props: { name: "info" } },
14187
- Input: {},
14188
- Button: { icon: "eye" }
14189
- },
14190
- Hint: {
14191
- Icon: { props: { name: "info" } },
14192
- text: "Description"
14193
- }
14194
- };
14195
-
14196
- // ../uikit/Field/Field.js
14197
- var Field = {
14198
- tag: "label",
14199
- extend: [Focusable, IconText],
14200
- props: {
14201
- minWidth: "F2+Z2",
14202
- maxWidth: "F2+Z2",
14203
- minHeight: "C+V",
14204
- align: "center flex-start",
14205
- gap: "Y",
14206
- boxSizing: "border-box",
14207
- padding: "- A - Z2",
14208
- round: "Z1",
14209
- border: "solid, gray .45 +80",
14210
- borderWidth: ".8px",
14211
- position: "relative",
14212
- ":focus-within": { outline: "1px solid #0474F2" },
14213
- Icon: {
14214
- color: "gray2",
14215
- fontSize: "Z2"
14216
- },
14217
- Button: {
14218
- padding: "0",
14219
- background: "transparent",
14220
- color: "gray2",
14221
- margin: "- - - auto",
14222
- fontSize: "Z2"
14223
- }
14224
- },
14225
- Input: {
14226
- props: {
14227
- fontSize: "Z",
14228
- fontWeight: "400",
14229
- padding: "0",
14230
- background: "rgba(0, 0, 0, 0)",
14231
- round: "0",
14232
- color: "gray2",
14233
- fontFamily: "avenir",
14234
- placeholder: "Placeholder",
14235
- flex: "1",
14236
- minHeight: "100%",
14237
- outline: "none !important",
14238
- "::placeholder": { color: "gray 1 +64" }
14239
- }
14240
- }
14241
- };
14242
- var FieldTemplate = {
14243
- extend: Field,
14244
- Icon: { props: { name: "info" } },
14245
- Input: {},
14246
- Button: { Icon: { name: "eye" } }
14247
- };
14248
- var FieldWithTitle = {
14249
- extend: Flex,
14250
- props: {
14251
- flow: "column",
14252
- boxSize: "fit-content fit-content",
14253
- gap: "Y1",
14254
- // border: '.05px solid red',
14255
- Hint: {
14256
- color: "gray 1 +64",
14257
- align: "center flex-start",
14258
- fontSize: "Y",
14259
- gap: "Y",
14260
- padding: "W Y2 - Y2"
14261
- }
14262
- },
14263
- Title: {
14264
- props: {
14265
- text: "Label",
14266
- fontSize: "Z",
14267
- lineHeight: "1em",
14268
- color: "gray2",
14269
- fontWeight: "400",
14270
- padding: "- Y1"
14271
- }
14272
- },
14273
- Field: {
14274
- extend: Field
14275
- }
14276
- };
14277
- var FieldWithTitleTemplate = {
14278
- extend: FieldWithTitle,
14279
- Title: {},
14280
- Field: {
14281
- Icon: { props: { name: "info" } },
14282
- Input: {},
14283
- Button: { icon: "eye" }
14284
- },
14285
- Hint: {
14286
- extend: IconText,
14287
- props: {
14288
- icon: "info",
14289
- text: "Description"
14290
- }
14291
- }
14292
- };
14293
-
14294
- // ../uikit/Field/Search.js
14295
- var Search = {
14296
- extend: Field,
14297
- props: {
14298
- maxWidth: "G3",
14299
- gap: "Z",
14300
- theme: "dialog",
14301
- padding: "Z+V Z+V2",
14302
- Icon: {
14303
- name: "search",
14304
- fontSize: "C",
14305
- color: "gray2",
14306
- margin: "V - - -"
14307
- }
14308
- },
14309
- Icon: {},
14310
- Input: {
14311
- props: {
14312
- placeholder: "type a command or search",
14313
- fontSize: "Z",
14314
- "::placeholder": { color: "gray 1 +68" }
14315
- }
14316
- }
14317
- };
14318
- var SearchWithButton = {
14319
- extend: Search,
14320
- props: {
14321
- Button: { fontSize: "B" }
14322
- },
14323
- Icon: {},
14324
- Input: { props: { ":focus ~ button": { opacity: "1" } } },
14325
- Button: {
14326
- props: {
14327
- opacity: "0",
14328
- icon: "x"
14329
- },
14330
- Icon: {
14331
- on: {
14332
- click: (e, el) => {
14333
- el.parent.parent.Input.node.value = "";
14334
- }
14335
- }
14336
- }
14337
- }
14338
- };
14339
- var SearchWithDropDownButton = {
14340
- extend: SearchWithButton,
14341
- props: {
14342
- theme: "tertiary",
14343
- maxWidth: "G3+C",
14344
- padding: "0 A 0 0",
14345
- gap: "Z"
14346
- },
14347
- DropDownButton: {},
14348
- Input: { props: { padding: "- - - X" } },
14349
- Button: {},
14350
- Icon: {}
14351
- };
14352
-
14353
- // ../uikit/Field/TextAreaField.js
14354
- var TextAreaField = {
14355
- tag: "label",
14356
- extend: Focusable,
14357
- props: {
14358
- boxSize: "fit-content",
14359
- border: "solid, gray .45 +80",
14360
- borderWidth: ".8px",
14361
- overflow: "hidden",
14362
- round: "Z1",
14363
- ":focus-within": { outline: "1px solid #0474F2" }
14854
+ var Select = {
14855
+ extend: Focusable,
14856
+ tag: "select",
14857
+ props: {
14858
+ fontSize: "A",
14859
+ border: "none",
14860
+ boxSizing: "border-box",
14861
+ theme: "field",
14862
+ cursor: "pointer"
14364
14863
  },
14365
- TextArea: {
14366
- tag: "textarea",
14367
- attr: { placeholder: "Leave us a message..." },
14864
+ childExtend: {
14865
+ tag: "option",
14368
14866
  props: {
14369
- fontSize: "Z",
14370
- minWidth: "H",
14371
- minHeight: "D2+Y1",
14372
- padding: "A",
14373
- fontFamily: "avenir",
14374
- theme: "transparent",
14375
- border: "none",
14376
- outline: "none",
14377
- style: { resize: "none" },
14378
- "::placeholder": { color: "gray 1 +64" }
14867
+ value: "",
14868
+ selected: "",
14869
+ disabled: ""
14870
+ },
14871
+ attr: {
14872
+ value: ({ props: props4 }) => props4.value,
14873
+ selected: ({ props: props4 }) => props4.selected,
14874
+ disabled: ({ props: props4 }) => props4.disabled
14379
14875
  }
14876
+ },
14877
+ attr: {
14878
+ name: ({ props: props4 }) => props4.name,
14879
+ disabled: ({ props: props4 }) => props4.disabled
14380
14880
  }
14381
14881
  };
14382
14882
 
@@ -15636,7 +16136,7 @@ var CompleteProcess = {
15636
16136
  Paragraph: {
15637
16137
  text: "Your request has been approved!",
15638
16138
  fontSize: "Z",
15639
- color: "gray2"
16139
+ color: "title"
15640
16140
  }
15641
16141
  },
15642
16142
  CommonButton: {
@@ -15648,444 +16148,88 @@ var CompleteProcess = {
15648
16148
  }
15649
16149
  }
15650
16150
  };
15651
-
15652
- // ../uikit/Modal/Message.js
15653
- var Message = {
15654
- extend: Modal,
15655
- props: {
15656
- maxWidth: "G3",
15657
- padding: "Z1 Z2 Z2 Z2"
15658
- },
15659
- Header: {
15660
- Title: {
15661
- caption: {
15662
- props: { text: "Message", fontSize: "C2" }
15663
- },
15664
- x: {
15665
- props: { padding: "V2" }
15666
- }
15667
- },
15668
- Paragraph: {
15669
- props: {
15670
- text: "Yes. If you change your mind and no longer wish to keep your iPhone, you have the option to return it to us. The returned iPhone must be in good condition and in the original packaging, which contains all accessories, manuals and instructions. Returns are subject to Apple\u2019s Sales and Refunds Policy."
15671
- }
15672
- }
15673
- }
15674
- };
15675
-
15676
- // ../uikit/Modal/Pricing.js
15677
- var Pricing = {
15678
- extend: Modal,
15679
- props: {
15680
- background: "gray3",
15681
- gap: "B",
15682
- minWidth: "G+B",
15683
- maxWidth: "G+B",
15684
- padding: "A1"
15685
- },
15686
- Header: null,
15687
- Content: {
15688
- props: {
15689
- flow: "column",
15690
- gap: "A1"
15691
- },
15692
- childExtend: {
15693
- extend: UnitValue,
15694
- props: {
15695
- justifyContent: "space-between",
15696
- textTransform: "capitalize",
15697
- color: "white"
15698
- }
15699
- },
15700
- ...[
15701
- {
15702
- Unit: { props: { text: "subtotal" } },
15703
- Value: { props: { text: "$5,499.00" } }
15704
- },
15705
- {
15706
- Unit: { props: { text: "Shipping" } },
15707
- Value: { props: { text: "Free" } }
15708
- },
15709
- {
15710
- Unit: { props: { text: "Savings" } },
15711
- Value: { props: { text: "$1,600.00" } }
15712
- }
15713
- ]
15714
- },
15715
- Footer: {
15716
- props: {
15717
- margin: "- -X -X"
15718
- },
15719
- CommonButton: {
15720
- flex: "1",
15721
- padding: "Z2 -",
15722
- round: "Y2",
15723
- theme: "secondary",
15724
- margin: "- -X -X",
15725
- Caption: {
15726
- text: "Add promo code",
15727
- fontSize: "Z",
15728
- fontWeight: "500"
15729
- }
15730
- }
15731
- }
15732
- };
15733
-
15734
- // ../uikit/List/List.js
15735
- var List = {
15736
- props: {
15737
- position: "relative",
15738
- overflow: "hidden",
15739
- round: "A",
15740
- minWidth: "F1",
15741
- theme: "dialog",
15742
- ":before, &:after": {
15743
- content: '""',
15744
- position: "absolute",
15745
- boxSize: "A2 100%",
15746
- zIndex: "2",
15747
- left: "0",
15748
- pointerEvents: "none"
15749
- },
15750
- ":before": {
15751
- top: "0",
15752
- background: "linear-gradient(to bottom, var(--theme-dialog-dark-background) 0%, transparent 100%)"
15753
- },
15754
- ":after": {
15755
- bottom: "0",
15756
- background: "linear-gradient(to top, var(--theme-dialog-dark-background) 0%, transparent 100%)"
15757
- }
15758
- },
15759
- Flex: {
15760
- props: {
15761
- flow: "column",
15762
- maxHeight: "F+C",
15763
- overflow: "auto",
15764
- "::-webkit-scrollbar": { display: "none" }
15765
- },
15766
- childExtend: {
15767
- props: {
15768
- padding: "Z1 A1",
15769
- position: "relative",
15770
- cursor: "pointer",
15771
- fontSize: "A1",
15772
- color: "gray4",
15773
- ":hover": {
15774
- background: "gray .92 +4"
15775
- },
15776
- childProps: { position: "relative" }
15777
- }
15778
- }
15779
- }
15780
- };
15781
- var ListTemplate = {
15782
- extend: List,
15783
- props: { maxWidth: "F" },
15784
- Flex: {
15785
- ...[
15786
- { span: { text: "Item" } },
15787
- { span: { text: "Item" } },
15788
- { span: { text: "Item" } },
15789
- { span: { text: "Item" } },
15790
- { span: { text: "Item" } },
15791
- { span: { text: "Item" } },
15792
- { span: { text: "Item" } },
15793
- { span: { text: "Item" } },
15794
- { span: { text: "Item" } },
15795
- { span: { text: "Item" } },
15796
- { span: { text: "Item" } },
15797
- { span: { text: "Item" } },
15798
- { span: { text: "Item" } }
15799
- ]
15800
- }
15801
- };
15802
-
15803
- // ../uikit/List/ListWithTitle.js
15804
- var ListWithTitle = {
15805
- extend: Flex,
15806
- props: {
15807
- flow: "column",
15808
- overflow: "hidden",
15809
- round: "A",
15810
- maxWidth: "F1"
15811
- },
15812
- Title: {
15813
- tag: "h5",
15814
- props: {
15815
- position: "sticky",
15816
- top: "0",
15817
- zIndex: "3",
15818
- text: "Group name",
15819
- fontSize: "Z",
15820
- color: "gray .92 +68",
15821
- fontWeight: "400",
15822
- theme: "dialog",
15823
- padding: "A"
15824
- }
15825
- },
15826
- List: {
15827
- extend: List,
15828
- props: {
15829
- round: "0",
15830
- minWidth: "100%"
15831
- // theme: 'tertiary'
15832
- }
15833
- }
15834
- };
15835
- var ListWithTitleTemplate = {
15836
- extend: ListWithTitle,
15837
- Title: {},
15838
- List: {
15839
- Flex: {
15840
- ...[
15841
- { span: { text: "Item" } },
15842
- { span: { text: "Item" } },
15843
- { span: { text: "Item" } },
15844
- { span: { text: "Item" } },
15845
- { span: { text: "Item" } }
15846
- ]
15847
- }
15848
- }
15849
- };
15850
-
15851
- // ../uikit/List/GroupList.js
15852
- var GroupList = {
15853
- extend: Flex,
15854
- props: {
15855
- flow: "column",
15856
- overflow: "hidden",
15857
- theme: "dialog",
15858
- maxHeight: "H",
15859
- round: "A",
15860
- maxWidth: "G"
15861
- },
15862
- Header: {
15863
- extend: Flex,
15864
- props: {
15865
- text: "Header",
15866
- padding: "Z2 A",
15867
- fontSize: "A2",
15868
- fontWeight: "500",
15869
- color: "white"
15870
- }
16151
+
16152
+ // ../uikit/Modal/Message.js
16153
+ var Message = {
16154
+ extend: Modal,
16155
+ props: {
16156
+ maxWidth: "G3",
16157
+ padding: "Z1 Z2 Z2 Z2"
15871
16158
  },
15872
- Groups: {
15873
- props: {
15874
- position: "relative",
15875
- ":before, &:after": {
15876
- content: '""',
15877
- position: "absolute",
15878
- boxSize: "A2 100%",
15879
- zIndex: "2",
15880
- left: "0",
15881
- pointerEvents: "none"
15882
- },
15883
- ":before": {
15884
- top: "0",
15885
- background: "linear-gradient(to bottom, var(--theme-dialog-dark-background) 0%, transparent 100%)"
16159
+ Header: {
16160
+ Title: {
16161
+ caption: {
16162
+ props: { text: "Message", fontSize: "C2" }
15886
16163
  },
15887
- ":after": {
15888
- bottom: "0",
15889
- background: "linear-gradient(to top, var(--theme-dialog-dark-background) 0%, transparent 100%)"
16164
+ x: {
16165
+ props: { padding: "V2" }
15890
16166
  }
15891
16167
  },
15892
- Flex: {
15893
- extend: Flex,
16168
+ Paragraph: {
15894
16169
  props: {
15895
- flow: "column",
15896
- maxHeight: "G2",
15897
- overflow: "auto",
15898
- "::-webkit-scrollbar": { display: "none" }
15899
- },
15900
- childExtend: {
15901
- extend: ListWithTitle,
15902
- props: {
15903
- round: "0",
15904
- minWidth: "100%",
15905
- overflow: "visible",
15906
- background: "transparent"
15907
- },
15908
- Title: { props: { theme: "transparent" } },
15909
- List: {
15910
- props: {
15911
- overflow: "visible",
15912
- theme: "transparent",
15913
- ":before": { display: "none" },
15914
- ":after": { display: "none" }
15915
- },
15916
- Flex: {
15917
- props: {
15918
- style: { overflowY: "visible" },
15919
- minHeight: "fit-content",
15920
- maxHeight: "fit-content",
15921
- childProps: {
15922
- ":after": { background: "gray" }
15923
- }
15924
- }
15925
- }
15926
- }
16170
+ text: "Yes. If you change your mind and no longer wish to keep your iPhone, you have the option to return it to us. The returned iPhone must be in good condition and in the original packaging, which contains all accessories, manuals and instructions. Returns are subject to Apple\u2019s Sales and Refunds Policy."
15927
16171
  }
15928
16172
  }
15929
16173
  }
15930
16174
  };
15931
- var GroupListTemplate = {
15932
- extend: GroupList,
15933
- Header: {},
15934
- Groups: {
15935
- props: {},
15936
- Flex: {
15937
- props: {},
15938
- ...[
15939
- {
15940
- Title: null,
15941
- List: {
15942
- props: {},
15943
- Flex: {
15944
- props: {},
15945
- ...[
15946
- { span: { text: "Item" } },
15947
- { span: { text: "Item" } }
15948
- ]
15949
- }
15950
- }
15951
- },
15952
- {
15953
- Title: {},
15954
- List: {
15955
- props: {},
15956
- Flex: {
15957
- props: {},
15958
- ...[
15959
- { span: { text: "Item" } },
15960
- { span: { text: "Item" } },
15961
- { span: { text: "Item" } }
15962
- ]
15963
- }
15964
- }
15965
- },
15966
- {
15967
- Title: {},
15968
- List: {
15969
- props: {},
15970
- Flex: {
15971
- props: {},
15972
- ...[
15973
- { span: { text: "Item" } },
15974
- { span: { text: "Item" } },
15975
- { span: { text: "Item" } },
15976
- { span: { text: "Item" } },
15977
- { span: { text: "Item" } },
15978
- { span: { text: "Item" } },
15979
- { span: { text: "Item" } },
15980
- { span: { text: "Item" } },
15981
- { span: { text: "Item" } },
15982
- { span: { text: "Item" } },
15983
- { span: { text: "Item" } },
15984
- { span: { text: "Item" } },
15985
- { span: { text: "Item" } }
15986
- ]
15987
- }
15988
- }
15989
- }
15990
- ]
15991
- }
15992
- }
15993
- };
15994
16175
 
15995
- // ../uikit/List/GroupListWithSearch.js
15996
- var GroupListWithSearch = {
15997
- extend: GroupList,
16176
+ // ../uikit/Modal/Pricing.js
16177
+ var Pricing = {
16178
+ extend: Modal,
15998
16179
  props: {
15999
- maxWidth: "G1"
16180
+ background: "gray3",
16181
+ gap: "B",
16182
+ minWidth: "G+B",
16183
+ maxWidth: "G+B",
16184
+ padding: "A1"
16000
16185
  },
16001
- Header: {},
16002
- SearchContainer: {
16003
- extend: Flex,
16186
+ Header: null,
16187
+ Content: {
16004
16188
  props: {
16005
- padding: "0 Z1 Y2 Z1",
16006
- background: "transparent"
16189
+ flow: "column",
16190
+ gap: "A1"
16007
16191
  },
16008
- Search: {
16009
- extend: Search,
16192
+ childExtend: {
16193
+ extend: UnitValue,
16010
16194
  props: {
16011
- maxWidth: "100%",
16012
- minWidth: "100%",
16013
- minHeight: "C",
16014
- theme: "transparent",
16015
- round: "Z1"
16195
+ justifyContent: "space-between",
16196
+ textTransform: "capitalize",
16197
+ color: "white"
16198
+ }
16199
+ },
16200
+ ...[
16201
+ {
16202
+ Unit: { props: { text: "subtotal" } },
16203
+ Value: { props: { text: "$5,499.00" } }
16016
16204
  },
16017
- Icon: {
16018
- props: {
16019
- fontSize: "C",
16020
- color: "gray2"
16021
- }
16205
+ {
16206
+ Unit: { props: { text: "Shipping" } },
16207
+ Value: { props: { text: "Free" } }
16022
16208
  },
16023
- Input: { fontSize: "Z" }
16024
- }
16209
+ {
16210
+ Unit: { props: { text: "Savings" } },
16211
+ Value: { props: { text: "$1,600.00" } }
16212
+ }
16213
+ ]
16025
16214
  },
16026
- Groups: {
16027
- Flex: {
16028
- childExtend: {
16029
- Title: {},
16030
- List: {
16031
- Flex: {
16032
- childExtend: {
16033
- props: {}
16034
- }
16035
- }
16036
- }
16215
+ Footer: {
16216
+ props: {
16217
+ margin: "- -X -X"
16218
+ },
16219
+ CommonButton: {
16220
+ flex: "1",
16221
+ padding: "Z2 -",
16222
+ round: "Y2",
16223
+ theme: "secondary",
16224
+ margin: "- -X -X",
16225
+ Caption: {
16226
+ text: "Add promo code",
16227
+ fontSize: "Z",
16228
+ fontWeight: "500"
16037
16229
  }
16038
16230
  }
16039
16231
  }
16040
16232
  };
16041
- var GroupListWithSearchTemplate = {
16042
- extend: GroupListWithSearch,
16043
- Header: {},
16044
- SearchContainer: {},
16045
- Groups: {
16046
- Flex: {
16047
- ...[
16048
- {
16049
- Title: null,
16050
- List: {
16051
- Flex: {
16052
- ...[
16053
- { span: { text: "Item" } },
16054
- { span: { text: "Item" } }
16055
- ]
16056
- }
16057
- }
16058
- },
16059
- {
16060
- Title: {},
16061
- List: {
16062
- Flex: {
16063
- ...[
16064
- { span: { text: "Item" } },
16065
- { span: { text: "Item" } },
16066
- { span: { text: "Item" } }
16067
- ]
16068
- }
16069
- }
16070
- },
16071
- {
16072
- Title: {},
16073
- List: {
16074
- Flex: {
16075
- ...[
16076
- { span: { text: "Item" } },
16077
- { span: { text: "Item" } },
16078
- { span: { text: "Item" } },
16079
- { span: { text: "Item" } },
16080
- { span: { text: "Item" } }
16081
- ]
16082
- }
16083
- }
16084
- }
16085
- ]
16086
- }
16087
- }
16088
- };
16089
16233
 
16090
16234
  // ../uikit/TimePicker/TimePickerItem.js
16091
16235
  var props2 = {
@@ -16831,7 +16975,7 @@ var UploadLabel = {
16831
16975
  gap: "Y2",
16832
16976
  align: "center flex-start",
16833
16977
  fontSize: "Z1",
16834
- color: "gray2"
16978
+ color: "title"
16835
16979
  },
16836
16980
  UploadButton: {
16837
16981
  caption: {
@@ -17029,7 +17173,7 @@ var UploadedProcess = {
17029
17173
  text: "Done",
17030
17174
  fontSize: "Y",
17031
17175
  lineHeight: "1em",
17032
- color: "gray2",
17176
+ color: "title",
17033
17177
  display: "block"
17034
17178
  }
17035
17179
  },
@@ -17160,7 +17304,7 @@ var UploadingProcess4 = {
17160
17304
  margin: "0",
17161
17305
  padding: "0",
17162
17306
  fontSize: "Y1",
17163
- color: "gray2"
17307
+ color: "title"
17164
17308
  },
17165
17309
  ProgressCircleWithSideUnitValue: null
17166
17310
  }
@@ -17955,7 +18099,8 @@ var COLOR = {
17955
18099
  blue2: "#0474F2",
17956
18100
  gray2: "#A3A3A8",
17957
18101
  gray3: "#1C1C1F",
17958
- gray4: "#BDBDC1"
18102
+ gray4: "#BDBDC1",
18103
+ title: ["--gray2", "--gray4"]
17959
18104
  };
17960
18105
  var GRADIENT = {
17961
18106
  "gradient-blue-light": `linear-gradient(to right,
@@ -19477,6 +19622,9 @@ var parts = [
19477
19622
  "anchor"
19478
19623
  ];
19479
19624
  function parse2(str) {
19625
+ if (str.length > 2e3) {
19626
+ throw "URI too long";
19627
+ }
19480
19628
  const src = str, b = str.indexOf("["), e = str.indexOf("]");
19481
19629
  if (b != -1 && e != -1) {
19482
19630
  str = str.substring(0, b) + str.substring(b, e).replace(/:/g, ";") + str.substring(e, str.length);