@appkit/dek-lib 0.26.0 → 0.28.0

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.es.js CHANGED
@@ -1100,14 +1100,14 @@ function M7() {
1100
1100
  }
1101
1101
  return null;
1102
1102
  }
1103
- var Z = Object.assign, L1 = 0, d1, I, S, n1, B1, f1, S1;
1103
+ var Z = Object.assign, L1 = 0, d1, I, S, n1, C1, f1, S1;
1104
1104
  function j1() {
1105
1105
  }
1106
1106
  j1.__reactDisabledLog = true;
1107
1107
  function k1() {
1108
1108
  {
1109
1109
  if (L1 === 0) {
1110
- d1 = console.log, I = console.info, S = console.warn, n1 = console.error, B1 = console.group, f1 = console.groupCollapsed, S1 = console.groupEnd;
1110
+ d1 = console.log, I = console.info, S = console.warn, n1 = console.error, C1 = console.group, f1 = console.groupCollapsed, S1 = console.groupEnd;
1111
1111
  var _10 = {
1112
1112
  configurable: true,
1113
1113
  enumerable: true,
@@ -1149,7 +1149,7 @@ function M7() {
1149
1149
  value: n1
1150
1150
  }),
1151
1151
  group: Z({}, _10, {
1152
- value: B1
1152
+ value: C1
1153
1153
  }),
1154
1154
  groupCollapsed: Z({}, _10, {
1155
1155
  value: f1
@@ -1617,7 +1617,7 @@ const I0 = () => 0, F9 = `
1617
1617
  `, F4 = (t2, e2 = false) => t2 === "center" ? "center" : t2 === "left" ? e2 ? "flex-end" : "flex-start" : t2 === "stretch" ? "stretch" : e2 ? "flex-start" : "flex-end", E4 = (t2, e2 = false) => t2 === "center" ? "center" : t2 === "top" ? e2 ? "flex-end" : "flex-start" : e2 ? "flex-start" : "flex-end", f7 = styled.div`
1618
1618
  box-sizing: border-box;
1619
1619
  background-color: ${(t2) => t2.$active ? t2.$backColorActive : t2.$backColor};
1620
- filter: ${(t2) => t2.$disabled ? `brightness(${C1.button.brightnessDisabled})` : t2.$pressed ? `brightness(${C1.button.brightnessPressed})` : "none"};
1620
+ filter: ${(t2) => t2.$disabled ? `brightness(${B1.button.brightnessDisabled})` : t2.$pressed ? `brightness(${B1.button.brightnessPressed})` : "none"};
1621
1621
  border-radius: ${({ $borderRadius: t2 }) => typeof t2 == "number" ? `${t2}px` : t2};
1622
1622
  width: ${({ $width: t2 }) => typeof t2 == "number" ? `${t2}px` : t2};
1623
1623
  height: ${({ $height: t2 }) => typeof t2 == "number" ? `${t2}px` : t2};
@@ -1668,7 +1668,7 @@ const I0 = () => 0, F9 = `
1668
1668
  }, W = () => {
1669
1669
  e2 || X();
1670
1670
  }, G = i2 ? void 0 : r2 ? `dek-button-${t2}-active` : `dek-button-${t2}`;
1671
- return i2 || (i2 = (J = C1.button[t2]) == null ? void 0 : J.backColor), c2 || (c2 = (r1 = C1.button[t2]) == null ? void 0 : r1.backColorActive), /* @__PURE__ */ z1.jsx(
1671
+ return i2 || (i2 = (J = B1.button[t2]) == null ? void 0 : J.backColor), c2 || (c2 = (r1 = B1.button[t2]) == null ? void 0 : r1.backColorActive), /* @__PURE__ */ z1.jsx(
1672
1672
  f7,
1673
1673
  {
1674
1674
  $pressed: e2 ? false : R,
@@ -24498,7 +24498,7 @@ const kU1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
24498
24498
  iconPadding: c2 = 2,
24499
24499
  iconBackColor: l2 = ""
24500
24500
  }) => {
24501
- const o4 = e2 ? h2 : n5 || C1.button.normal.color, d = l2 ? i2 - 4 : i2, g = c2, f4 = l2 ? 2 : 0;
24501
+ const o4 = e2 ? h2 : n5 || B1.button.normal.color, d = l2 ? i2 - 4 : i2, g = c2, f4 = l2 ? 2 : 0;
24502
24502
  return /* @__PURE__ */ z1.jsxs(
24503
24503
  OU1,
24504
24504
  {
@@ -24521,7 +24521,7 @@ const kU1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
24521
24521
  ]
24522
24522
  }
24523
24523
  );
24524
- }, C1 = {
24524
+ }, B1 = {
24525
24525
  text: {
24526
24526
  size: {
24527
24527
  xxsmall: 10,
@@ -24618,15 +24618,15 @@ const kU1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
24618
24618
  function z5(t2) {
24619
24619
  switch (t2) {
24620
24620
  case "xxsubtle":
24621
- return C1.text.color.xxsubtle;
24621
+ return B1.text.color.xxsubtle;
24622
24622
  case "xsubtle":
24623
- return C1.text.color.xsubtle;
24623
+ return B1.text.color.xsubtle;
24624
24624
  case "subtle":
24625
- return C1.text.color.subtle;
24625
+ return B1.text.color.subtle;
24626
24626
  case "tint":
24627
- return C1.text.color.tint;
24627
+ return B1.text.color.tint;
24628
24628
  case "normal":
24629
- return C1.text.color.normal;
24629
+ return B1.text.color.normal;
24630
24630
  default:
24631
24631
  return t2;
24632
24632
  }
@@ -24634,97 +24634,97 @@ function z5(t2) {
24634
24634
  function H3(t2) {
24635
24635
  switch (t2) {
24636
24636
  case "normal":
24637
- return C1.text.family.normal;
24637
+ return B1.text.family.normal;
24638
24638
  case "condensed":
24639
- return C1.text.family.condensed;
24639
+ return B1.text.family.condensed;
24640
24640
  case "mono":
24641
- return C1.text.family.mono;
24641
+ return B1.text.family.mono;
24642
24642
  case "slab":
24643
- return C1.text.family.slab;
24643
+ return B1.text.family.slab;
24644
24644
  case "flex":
24645
- return C1.text.family.flex;
24645
+ return B1.text.family.flex;
24646
24646
  case "heading":
24647
- return C1.text.family.heading;
24647
+ return B1.text.family.heading;
24648
24648
  default:
24649
24649
  return t2;
24650
24650
  }
24651
24651
  }
24652
24652
  function j4(t2) {
24653
24653
  if (t2 === void 0)
24654
- return C1.text.size.normal;
24654
+ return B1.text.size.normal;
24655
24655
  if (typeof t2 == "number")
24656
24656
  return t2;
24657
24657
  switch (t2) {
24658
24658
  case "xxsmall":
24659
- return C1.text.size.xxsmall;
24659
+ return B1.text.size.xxsmall;
24660
24660
  case "xsmall":
24661
- return C1.text.size.xsmall;
24661
+ return B1.text.size.xsmall;
24662
24662
  case "small":
24663
- return C1.text.size.small;
24663
+ return B1.text.size.small;
24664
24664
  case "normal":
24665
- return C1.text.size.normal;
24665
+ return B1.text.size.normal;
24666
24666
  case "large":
24667
- return C1.text.size.large;
24667
+ return B1.text.size.large;
24668
24668
  case "xlarge":
24669
- return C1.text.size.xlarge;
24669
+ return B1.text.size.xlarge;
24670
24670
  case "xxlarge":
24671
- return C1.text.size.xxlarge;
24671
+ return B1.text.size.xxlarge;
24672
24672
  case "heading":
24673
- return C1.text.size.heading;
24673
+ return B1.text.size.heading;
24674
24674
  }
24675
24675
  }
24676
24676
  function N9(t2) {
24677
24677
  if (t2 === void 0)
24678
- return C1.text.height.normal;
24678
+ return B1.text.height.normal;
24679
24679
  if (typeof t2 == "number")
24680
24680
  return t2 + 5;
24681
24681
  switch (t2) {
24682
24682
  case "xxsmall":
24683
- return C1.text.height.xxsmall;
24683
+ return B1.text.height.xxsmall;
24684
24684
  case "xsmall":
24685
- return C1.text.height.xsmall;
24685
+ return B1.text.height.xsmall;
24686
24686
  case "small":
24687
- return C1.text.height.small;
24687
+ return B1.text.height.small;
24688
24688
  case "normal":
24689
- return C1.text.height.normal;
24689
+ return B1.text.height.normal;
24690
24690
  case "large":
24691
- return C1.text.height.large;
24691
+ return B1.text.height.large;
24692
24692
  case "xlarge":
24693
- return C1.text.height.xlarge;
24693
+ return B1.text.height.xlarge;
24694
24694
  case "xxlarge":
24695
- return C1.text.height.xxlarge;
24695
+ return B1.text.height.xxlarge;
24696
24696
  case "heading":
24697
- return C1.text.height.heading;
24697
+ return B1.text.height.heading;
24698
24698
  }
24699
24699
  }
24700
24700
  function M5(t2) {
24701
24701
  if (t2 === void 0)
24702
- return C1.text.weight.normal;
24702
+ return B1.text.weight.normal;
24703
24703
  if (typeof t2 == "number")
24704
24704
  return t2;
24705
24705
  switch (t2) {
24706
24706
  case "xxthin":
24707
- return C1.text.weight.xxthin;
24707
+ return B1.text.weight.xxthin;
24708
24708
  case "xthin":
24709
- return C1.text.weight.xthin;
24709
+ return B1.text.weight.xthin;
24710
24710
  case "thin":
24711
- return C1.text.weight.thin;
24711
+ return B1.text.weight.thin;
24712
24712
  case "normal":
24713
- return C1.text.weight.normal;
24713
+ return B1.text.weight.normal;
24714
24714
  case "bold":
24715
- return C1.text.weight.bold;
24715
+ return B1.text.weight.bold;
24716
24716
  case "xbold":
24717
- return C1.text.weight.xbold;
24717
+ return B1.text.weight.xbold;
24718
24718
  case "xxbold":
24719
- return C1.text.weight.xxbold;
24719
+ return B1.text.weight.xxbold;
24720
24720
  case "heavy":
24721
- return C1.text.weight.heavy;
24721
+ return B1.text.weight.heavy;
24722
24722
  case "xheavy":
24723
- return C1.text.weight.xheavy;
24723
+ return B1.text.weight.xheavy;
24724
24724
  case "xxheavy":
24725
- return C1.text.weight.xxheavy;
24725
+ return B1.text.weight.xxheavy;
24726
24726
  case "heading":
24727
- return C1.text.weight.heading;
24727
+ return B1.text.weight.heading;
24728
24728
  }
24729
24729
  }
24730
24730
  const bU1 = styled.div`
@@ -24842,22 +24842,22 @@ const bU1 = styled.div`
24842
24842
  }, N = t2.variant === "clear" || t2.variant === "toggle" ? t2.variant : "normal", X = {
24843
24843
  ...t2,
24844
24844
  pressed: e2,
24845
- color: m || ((Q = C1.button[N]) == null ? void 0 : Q.color),
24846
- colorActive: B || (($ = C1.button[N]) == null ? void 0 : $.colorActive),
24845
+ color: m || ((Q = B1.button[N]) == null ? void 0 : Q.color),
24846
+ colorActive: B || (($ = B1.button[N]) == null ? void 0 : $.colorActive),
24847
24847
  textStyle: {},
24848
24848
  label: "button-text"
24849
24849
  }, c1 = {
24850
24850
  ...t2,
24851
24851
  pressed: e2,
24852
- iconColor: i2 || m || ((W = C1.button[N]) == null ? void 0 : W.color),
24853
- iconColorActive: w2 || B || ((G = C1.button[N]) == null ? void 0 : G.colorActive),
24852
+ iconColor: i2 || m || ((W = B1.button[N]) == null ? void 0 : W.color),
24853
+ iconColorActive: w2 || B || ((G = B1.button[N]) == null ? void 0 : G.colorActive),
24854
24854
  label: "button-icon"
24855
24855
  }, a1 = {
24856
24856
  ...t2,
24857
24857
  variant: N,
24858
24858
  paddingVert: f4 === void 0 && d === void 0 && g === void 0 && o4 === void 0 ? 12 : o4,
24859
24859
  // if only backColor is set, use it for backColorActive (except for toggle variants)
24860
- backColorActive: l2 || (N !== "toggle" ? c2 || ((J = C1.button[N]) == null ? void 0 : J.backColor) : void 0)
24860
+ backColorActive: l2 || (N !== "toggle" ? c2 || ((J = B1.button[N]) == null ? void 0 : J.backColor) : void 0)
24861
24861
  };
24862
24862
  let R = null;
24863
24863
  return C ? R = C : h2 === "none" ? (X.textStyle.margin = "4px 4px 0 4px", R = /* @__PURE__ */ z1.jsx(P8, { ...X })) : (h2 === "top" ? (a1.direction = "vert", X.textStyle.margin = "0 4px") : h2 === "right" ? (a1.direction = "horz-reverse", X.textStyle.margin = "4px 4px 0 4px") : h2 === "bottom" ? (a1.direction = "vert-reverse", X.textStyle.margin = "0 4px") : h2 === "left" && (a1.direction = "horz", X.textStyle.margin = "4px 4px 0 4px"), R = /* @__PURE__ */ z1.jsxs(z1.Fragment, { children: [
@@ -24874,79 +24874,36 @@ const bU1 = styled.div`
24874
24874
  children: R
24875
24875
  }
24876
24876
  );
24877
- }, Bt2 = (t2) => {
24878
- const {
24879
- title: e2,
24880
- width: r2 = C1.card.width,
24881
- height: n5 = C1.card.height,
24882
- halign: h2 = "left",
24883
- valign: i2 = "top",
24884
- onPressed: c2,
24885
- children: l2,
24886
- borderRadius: o4 = C1.card.borderRadius,
24887
- onClick: d = I0
24888
- } = t2;
24889
- return /* @__PURE__ */ z1.jsx(
24890
- R6,
24891
- {
24892
- ...t2,
24893
- label: "card-button",
24894
- width: r2,
24895
- height: n5,
24896
- halign: h2,
24897
- valign: i2,
24898
- title: e2,
24899
- borderRadius: o4,
24900
- onClick: d,
24901
- onPressed: c2,
24902
- children: l2
24903
- }
24904
- );
24905
- }, _U1 = (t2) => {
24906
- const { onPressed: e2, children: r2, onClick: n5 = I0, padding: h2 = 6 } = t2;
24907
- return /* @__PURE__ */ z1.jsx(
24908
- R6,
24909
- {
24910
- ...t2,
24911
- label: "icon-button",
24912
- padding: h2,
24913
- halign: "center",
24914
- valign: "center",
24915
- onClick: n5,
24916
- onPressed: e2,
24917
- children: r2
24918
- }
24919
- );
24920
24877
  };
24921
24878
  function A3(t2) {
24922
24879
  switch (t2) {
24923
24880
  case "subtle":
24924
- return console.error("subtle view backColor is deprecated"), C1.text.color.subtle;
24881
+ return console.error("subtle view backColor is deprecated"), B1.text.color.subtle;
24925
24882
  case "tile":
24926
- return C1.view.backColor.tile;
24883
+ return B1.view.backColor.tile;
24927
24884
  case "card":
24928
- return C1.view.backColor.card;
24885
+ return B1.view.backColor.card;
24929
24886
  case "clear":
24930
- return C1.view.backColor.clear;
24887
+ return B1.view.backColor.clear;
24931
24888
  case "light":
24932
- return C1.view.backColor.light;
24889
+ return B1.view.backColor.light;
24933
24890
  case "lighter":
24934
- return C1.view.backColor.lighter;
24891
+ return B1.view.backColor.lighter;
24935
24892
  case "lightest":
24936
- return C1.view.backColor.lightest;
24893
+ return B1.view.backColor.lightest;
24937
24894
  case "dark":
24938
- return C1.view.backColor.dark;
24895
+ return B1.view.backColor.dark;
24939
24896
  case "darker":
24940
- return C1.view.backColor.darker;
24897
+ return B1.view.backColor.darker;
24941
24898
  case "darkest":
24942
- return C1.view.backColor.darkest;
24899
+ return B1.view.backColor.darkest;
24943
24900
  case "none":
24944
24901
  return "transparent";
24945
24902
  default:
24946
24903
  return t2;
24947
24904
  }
24948
24905
  }
24949
- const b3 = (t2) => t2 === "always" ? "scroll" : t2 === "auto" ? "auto" : t2 === "hidden" ? "hidden" : "initial", xa = (t2) => typeof t2 == "string" ? t2 === "true" : t2, IU1 = styled.div`
24906
+ const b3 = (t2) => t2 === "always" ? "scroll" : t2 === "auto" ? "auto" : t2 === "hidden" ? "hidden" : "initial", xa = (t2) => typeof t2 == "string" ? t2 === "true" : t2, _U1 = styled.div`
24950
24907
  display: flex;
24951
24908
  box-sizing: border-box;
24952
24909
  ${(t2) => xa(t2.$collapse) ? "flex-shrink: 0;" : ""}
@@ -24957,7 +24914,7 @@ const b3 = (t2) => t2 === "always" ? "scroll" : t2 === "auto" ? "auto" : t2 ===
24957
24914
  }};
24958
24915
  ${({ $fixed: t2 }) => t2 === "none" ? "" : t2 === "top" ? "position: absolute; top: 0; left: 0; right: 0;" : "position: absolute; bottom: 0; left: 0; right: 0;"}
24959
24916
  width: ${({ $width: t2 }) => typeof t2 == "number" ? `${t2}px` : t2};
24960
- color: ${() => C1.text.color.normal};
24917
+ color: ${() => B1.text.color.normal};
24961
24918
  border-radius: ${(t2) => t2.$borderRadius}px;
24962
24919
  overflow-y: ${({ $vscroll: t2 }) => b3(t2)};
24963
24920
  overflow-x: ${({ $hscroll: t2 }) => b3(t2)};
@@ -25010,7 +24967,7 @@ const b3 = (t2) => t2 === "always" ? "scroll" : t2 === "auto" ? "auto" : t2 ===
25010
24967
  style: G,
25011
24968
  children: J
25012
24969
  }) => /* @__PURE__ */ z1.jsx(
25013
- IU1,
24970
+ _U1,
25014
24971
  {
25015
24972
  "aria-label": t2 || "view",
25016
24973
  $direction: e2,
@@ -25041,37 +24998,117 @@ const b3 = (t2) => t2 === "always" ? "scroll" : t2 === "auto" ? "auto" : t2 ===
25041
24998
  style: G,
25042
24999
  children: J
25043
25000
  }
25044
- ), PU1 = ({ size: t2, weight: e2, ...r2 }) => /* @__PURE__ */ z1.jsx(h4, { size: t2 || "heading", weight: e2 || "heading", ...r2 }), WU1 = ({ title: t2, active: e2, onClick: r2 = I0 }) => /* @__PURE__ */ z1.jsx(
25045
- u0,
25046
- {
25047
- backColor: e2 ? "clear" : "none",
25048
- backColorHover: e2 ? "lighter" : "light",
25049
- borderRadius: 6,
25050
- onClick: r2,
25051
- collapse: true,
25052
- className: e2 ? "dek-button-clear" : "",
25053
- style: { marginBottom: 4, marginRight: 4, cursor: "pointer" },
25054
- children: /* @__PURE__ */ z1.jsx(PU1, { padding: 20, children: t2 })
25055
- }
25056
- ), Ct2 = ({
25001
+ ), Bt2 = (t2) => {
25002
+ const {
25003
+ variant: e2 = "normal",
25004
+ children: r2,
25005
+ square: n5 = false,
25006
+ width: h2 = n5 ? B1.card.height : B1.card.width,
25007
+ height: i2 = B1.card.height,
25008
+ borderRadius: c2 = B1.card.borderRadius,
25009
+ label: l2 = "card",
25010
+ ...o4
25011
+ } = t2;
25012
+ let { backColor: d } = t2;
25013
+ const g = d ? void 0 : `dek-card-${e2}`;
25014
+ return d || (d = e2 === "normal" ? B1.view.backColor.card : B1.view.backColor.clear), /* @__PURE__ */ z1.jsx(
25015
+ u0,
25016
+ {
25017
+ width: h2,
25018
+ height: i2,
25019
+ className: g,
25020
+ backColor: d,
25021
+ borderRadius: c2,
25022
+ label: l2,
25023
+ ...o4,
25024
+ children: r2
25025
+ }
25026
+ );
25027
+ }, Ct2 = (t2) => {
25028
+ const {
25029
+ title: e2,
25030
+ square: r2 = false,
25031
+ width: n5 = r2 ? B1.card.height : B1.card.width,
25032
+ height: h2 = B1.card.height,
25033
+ halign: i2 = "left",
25034
+ valign: c2 = "top",
25035
+ onPressed: l2,
25036
+ children: o4,
25037
+ borderRadius: d = B1.card.borderRadius,
25038
+ onClick: g = I0
25039
+ } = t2;
25040
+ return /* @__PURE__ */ z1.jsx(
25041
+ R6,
25042
+ {
25043
+ ...t2,
25044
+ label: "card-button",
25045
+ width: n5,
25046
+ height: h2,
25047
+ halign: i2,
25048
+ valign: c2,
25049
+ title: e2,
25050
+ borderRadius: d,
25051
+ onClick: g,
25052
+ onPressed: l2,
25053
+ children: o4
25054
+ }
25055
+ );
25056
+ }, IU1 = (t2) => {
25057
+ const { onPressed: e2, children: r2, onClick: n5 = I0, padding: h2 = 6 } = t2;
25058
+ return /* @__PURE__ */ z1.jsx(
25059
+ R6,
25060
+ {
25061
+ ...t2,
25062
+ label: "icon-button",
25063
+ padding: h2,
25064
+ halign: "center",
25065
+ valign: "center",
25066
+ onClick: n5,
25067
+ onPressed: e2,
25068
+ children: r2
25069
+ }
25070
+ );
25071
+ }, PU1 = ({ size: t2, weight: e2, ...r2 }) => /* @__PURE__ */ z1.jsx(h4, { size: t2 || "heading", weight: e2 || "heading", ...r2 }), WU1 = ({
25072
+ title: t2,
25073
+ active: e2,
25074
+ compact: r2 = false,
25075
+ onClick: n5 = I0
25076
+ }) => {
25077
+ const h2 = r2 ? 10 : 20, i2 = r2 ? "large" : void 0;
25078
+ return /* @__PURE__ */ z1.jsx(
25079
+ u0,
25080
+ {
25081
+ backColor: e2 ? "clear" : "none",
25082
+ backColorHover: e2 ? "lighter" : "light",
25083
+ borderRadius: 6,
25084
+ onClick: n5,
25085
+ collapse: true,
25086
+ className: e2 ? "dek-button-clear" : "",
25087
+ style: { marginBottom: 4, marginRight: 4, cursor: "pointer" },
25088
+ children: /* @__PURE__ */ z1.jsx(PU1, { size: i2, padding: h2, children: t2 })
25089
+ }
25090
+ );
25091
+ }, yt2 = ({
25057
25092
  items: t2,
25058
25093
  initialKey: e2,
25059
25094
  direction: r2 = "vert",
25060
- onSelect: n5 = I0
25095
+ compact: n5 = false,
25096
+ onSelect: h2 = I0
25061
25097
  }) => {
25062
- const [h2, i2] = useState$1(e2), c2 = (l2) => {
25063
- i2(l2), n5(l2);
25098
+ const [i2, c2] = useState$1(e2), l2 = (o4) => {
25099
+ c2(o4), h2(o4);
25064
25100
  };
25065
- return /* @__PURE__ */ z1.jsx(u0, { children: /* @__PURE__ */ z1.jsx(u0, { direction: r2, collapse: true, children: t2.map(({ key: l2, title: o4 }) => /* @__PURE__ */ z1.jsx(
25101
+ return /* @__PURE__ */ z1.jsx(u0, { children: /* @__PURE__ */ z1.jsx(u0, { direction: r2, collapse: true, children: t2.map(({ key: o4, title: d }) => /* @__PURE__ */ z1.jsx(
25066
25102
  WU1,
25067
25103
  {
25068
- title: o4,
25069
- onClick: () => c2(l2),
25070
- active: h2 === l2
25104
+ title: d,
25105
+ compact: n5,
25106
+ onClick: () => l2(o4),
25107
+ active: i2 === o4
25071
25108
  },
25072
- l2
25109
+ o4
25073
25110
  )) }) });
25074
- }, yt2 = (t2) => {
25111
+ }, kt2 = (t2) => {
25075
25112
  const { title: e2, icon: r2 = "left", onPressed: n5, children: h2, onClick: i2 = I0 } = t2;
25076
25113
  return /* @__PURE__ */ z1.jsx(
25077
25114
  R6,
@@ -25096,7 +25133,7 @@ const b3 = (t2) => t2 === "always" ? "scroll" : t2 === "auto" ? "auto" : t2 ===
25096
25133
  padding: ${({ $padding: t2 }) => t2}px;
25097
25134
  background-color: ${({ $backColor: t2 }) => t2};
25098
25135
  border-radius: 50%;
25099
- `, TU1 = styled.div``, kt2 = ({
25136
+ `, TU1 = styled.div``, Ot2 = ({
25100
25137
  loading: t2 = false,
25101
25138
  disabled: e2 = false,
25102
25139
  iconName: r2,
@@ -25105,7 +25142,7 @@ const b3 = (t2) => t2 === "always" ? "scroll" : t2 === "auto" ? "auto" : t2 ===
25105
25142
  iconPadding: i2 = 2,
25106
25143
  iconBackColor: c2 = "transparent"
25107
25144
  }) => {
25108
- const l2 = e2 ? "#888" : n5 === void 0 ? C1.text.color.normal : n5;
25145
+ const l2 = e2 ? "#888" : n5 === void 0 ? B1.text.color.normal : n5;
25109
25146
  return /* @__PURE__ */ z1.jsxs(
25110
25147
  DU1,
25111
25148
  {
@@ -25126,31 +25163,6 @@ const b3 = (t2) => t2 === "always" ? "scroll" : t2 === "auto" ? "auto" : t2 ===
25126
25163
  ]
25127
25164
  }
25128
25165
  );
25129
- }, Ot2 = (t2) => {
25130
- const {
25131
- variant: e2 = "normal",
25132
- children: r2,
25133
- width: n5 = C1.card.width,
25134
- height: h2 = C1.card.height,
25135
- borderRadius: i2 = C1.card.borderRadius,
25136
- label: c2 = "card",
25137
- ...l2
25138
- } = t2;
25139
- let { backColor: o4 } = t2;
25140
- const d = o4 ? void 0 : `dek-card-${e2}`;
25141
- return o4 || (o4 = e2 === "normal" ? C1.view.backColor.card : C1.view.backColor.clear), /* @__PURE__ */ z1.jsx(
25142
- u0,
25143
- {
25144
- width: n5,
25145
- height: h2,
25146
- className: d,
25147
- backColor: o4,
25148
- borderRadius: i2,
25149
- label: c2,
25150
- ...l2,
25151
- children: r2
25152
- }
25153
- );
25154
25166
  };
25155
25167
  var $9 = {}, U9 = {}, h6 = { exports: {} }, wa = { exports: {} }, Y5 = { exports: {} }, Ba = { exports: {} }, G5 = { exports: {} }, Ca, W8;
25156
25168
  function RU1() {
@@ -25166,7 +25178,7 @@ function RU1() {
25166
25178
  !n5.call(v, E) && E !== V && t2(v, E, { get: () => M[E], enumerable: !(k = e2(M, E)) || k.enumerable });
25167
25179
  return v;
25168
25180
  }, c2 = (v) => i2(t2({}, "__esModule", { value: true }), v), l2 = {};
25169
- h2(l2, { FluidValue: () => _10, Globals: () => o4, addFluidObserver: () => u1, callFluidObserver: () => ct, callFluidObservers: () => e0, clamp: () => Q2, colorToRgba: () => X1, colors: () => $1, createInterpolator: () => L0, createStringInterpolator: () => A2, defineHidden: () => D, deprecateDirectCall: () => v4, deprecateInterpolate: () => o42, each: () => d1, eachProp: () => I, easings: () => J0, flush: () => n1, flushCalls: () => B1, frameLoop: () => c23, getFluidObservers: () => yt, getFluidValue: () => W0, hasFluidValue: () => Z0, hex3: () => x, hex4: () => z, hex6: () => p4, hex8: () => O, hsl: () => F2, hsla: () => l0, is: () => Z, isAnimatedString: () => ot, isEqual: () => L1, isSSR: () => f1, noop: () => r1, onResize: () => kt, onScroll: () => z4, once: () => D0, prefix: () => P1, raf: () => g, removeFluidObserver: () => E1, rgb: () => q2, rgba: () => S2, setFluidGetter: () => v1, toArray: () => S, useConstant: () => E0, useForceUpdate: () => L, useIsomorphicLayoutEffect: () => u7, useMemoOne: () => P, useOnce: () => h1, usePrev: () => l1, useReducedMotion: () => V1 }), Ca = c2(l2);
25181
+ h2(l2, { FluidValue: () => _10, Globals: () => o4, addFluidObserver: () => u1, callFluidObserver: () => ct, callFluidObservers: () => e0, clamp: () => Q2, colorToRgba: () => X1, colors: () => $1, createInterpolator: () => L0, createStringInterpolator: () => A2, defineHidden: () => D, deprecateDirectCall: () => v4, deprecateInterpolate: () => o42, each: () => d1, eachProp: () => I, easings: () => J0, flush: () => n1, flushCalls: () => C1, frameLoop: () => c23, getFluidObservers: () => yt, getFluidValue: () => W0, hasFluidValue: () => Z0, hex3: () => x, hex4: () => z, hex6: () => p4, hex8: () => O, hsl: () => F2, hsla: () => l0, is: () => Z, isAnimatedString: () => ot, isEqual: () => L1, isSSR: () => f1, noop: () => r1, onResize: () => kt, onScroll: () => z4, once: () => D0, prefix: () => P1, raf: () => g, removeFluidObserver: () => E1, rgb: () => q2, rgba: () => S2, setFluidGetter: () => v1, toArray: () => S, useConstant: () => E0, useForceUpdate: () => L, useIsomorphicLayoutEffect: () => u7, useMemoOne: () => P, useOnce: () => h1, usePrev: () => l1, useReducedMotion: () => V1 }), Ca = c2(l2);
25170
25182
  var o4 = {};
25171
25183
  h2(o4, { assign: () => H1, colors: () => k1, createStringInterpolator: () => S1, skipAnimation: () => y2, to: () => j1, willAdvance: () => K });
25172
25184
  var d = G(), g = (v) => a1(v, d), f4 = G();
@@ -25284,7 +25296,7 @@ function RU1() {
25284
25296
  v.clear(), d1(V, M);
25285
25297
  }
25286
25298
  }
25287
- var B1 = (v, ...M) => n1(v, (V) => V(...M)), f1 = () => typeof window > "u" || !window.navigator || /ServerSideRendering|^Deno\//.test(window.navigator.userAgent), S1, j1, k1 = null, y2 = false, K = r1, H1 = (v) => {
25299
+ var C1 = (v, ...M) => n1(v, (V) => V(...M)), f1 = () => typeof window > "u" || !window.navigator || /ServerSideRendering|^Deno\//.test(window.navigator.userAgent), S1, j1, k1 = null, y2 = false, K = r1, H1 = (v) => {
25288
25300
  v.to && (j1 = v.to), v.now && (g.now = v.now), v.colors !== void 0 && (k1 = v.colors), v.skipAnimation != null && (y2 = v.skipAnimation), v.createStringInterpolator && (S1 = v.createStringInterpolator), v.requestAnimationFrame && g.use(v.requestAnimationFrame), v.batchedUpdates && (g.batchedUpdates = v.batchedUpdates), v.willAdvance && (K = v.willAdvance), v.frameLoop && (g.frameLoop = v.frameLoop);
25289
25301
  }, g1 = /* @__PURE__ */ new Set(), M1 = [], I1 = [], R1 = 0, c23 = { get idle() {
25290
25302
  return !g1.size && !M1.length;
@@ -25607,7 +25619,7 @@ function FU1() {
25607
25619
  eachProp: () => I,
25608
25620
  easings: () => J0,
25609
25621
  flush: () => n1,
25610
- flushCalls: () => B1,
25622
+ flushCalls: () => C1,
25611
25623
  frameLoop: () => c23,
25612
25624
  getFluidObservers: () => yt,
25613
25625
  getFluidValue: () => W0,
@@ -25781,7 +25793,7 @@ function FU1() {
25781
25793
  v.clear(), d1(V, M);
25782
25794
  }
25783
25795
  }
25784
- var B1 = (v, ...M) => n1(v, (V) => V(...M)), f1 = () => typeof window > "u" || !window.navigator || /ServerSideRendering|^Deno\//.test(window.navigator.userAgent), S1, j1, k1 = null, y2 = false, K = r1, H1 = (v) => {
25796
+ var C1 = (v, ...M) => n1(v, (V) => V(...M)), f1 = () => typeof window > "u" || !window.navigator || /ServerSideRendering|^Deno\//.test(window.navigator.userAgent), S1, j1, k1 = null, y2 = false, K = r1, H1 = (v) => {
25785
25797
  v.to && (j1 = v.to), v.now && (g.now = v.now), v.colors !== void 0 && (k1 = v.colors), v.skipAnimation != null && (y2 = v.skipAnimation), v.createStringInterpolator && (S1 = v.createStringInterpolator), v.requestAnimationFrame && g.use(v.requestAnimationFrame), v.batchedUpdates && (g.batchedUpdates = v.batchedUpdates), v.willAdvance && (K = v.willAdvance), v.frameLoop && (g.frameLoop = v.frameLoop);
25786
25798
  }, g1 = /* @__PURE__ */ new Set(), M1 = [], I1 = [], R1 = 0, c23 = {
25787
25799
  get idle() {
@@ -26521,7 +26533,7 @@ function EU1() {
26521
26533
  return (0, d1.forwardRef)((g1, M1) => {
26522
26534
  let I1 = (0, d1.useRef)(null), R1 = H1 && (0, d1.useCallback)(($1) => {
26523
26535
  I1.current = f1(M1, $1);
26524
- }, [M1]), [c23, K1] = B1(g1, K), H2 = (0, I.useForceUpdate)(), W2 = () => {
26536
+ }, [M1]), [c23, K1] = C1(g1, K), H2 = (0, I.useForceUpdate)(), W2 = () => {
26525
26537
  let $1 = I1.current;
26526
26538
  H1 && !$1 || ($1 ? K.applyAnimatedValues($1, c23.getValue(true)) : false) === false && H2();
26527
26539
  }, z2 = new n1(W2, K1), M2 = (0, d1.useRef)();
@@ -26542,7 +26554,7 @@ function EU1() {
26542
26554
  y2.type == "change" && I.raf.write(this.update);
26543
26555
  }
26544
26556
  };
26545
- function B1(y2, K) {
26557
+ function C1(y2, K) {
26546
26558
  let H1 = /* @__PURE__ */ new Set();
26547
26559
  return $.dependencies = H1, y2.style && (y2 = { ...y2, style: K.createAnimatedStyle(y2.style) }), y2 = new W(y2), $.dependencies = null, [y2, H1];
26548
26560
  }
@@ -26720,7 +26732,7 @@ function jU1() {
26720
26732
  I1.current = f1(M1, $1);
26721
26733
  },
26722
26734
  [M1]
26723
- ), [c23, K1] = B1(g1, K), H2 = (0, I.useForceUpdate)(), W2 = () => {
26735
+ ), [c23, K1] = C1(g1, K), H2 = (0, I.useForceUpdate)(), W2 = () => {
26724
26736
  const $1 = I1.current;
26725
26737
  if (H1 && !$1)
26726
26738
  return;
@@ -26746,7 +26758,7 @@ function jU1() {
26746
26758
  y2.type == "change" && I.raf.write(this.update);
26747
26759
  }
26748
26760
  };
26749
- function B1(y2, K) {
26761
+ function C1(y2, K) {
26750
26762
  const H1 = /* @__PURE__ */ new Set();
26751
26763
  return $.dependencies = H1, y2.style && (y2 = {
26752
26764
  ...y2,
@@ -26917,7 +26929,7 @@ function UU1() {
26917
26929
  }
26918
26930
  });
26919
26931
  }
26920
- var L1 = T1(), d1 = React__default, I = T1(), S = T1(), n1 = Vt(), B1 = T1(), f1 = { default: { tension: 170, friction: 26 }, gentle: { tension: 120, friction: 14 }, wobbly: { tension: 180, friction: 12 }, stiff: { tension: 210, friction: 20 }, slow: { tension: 280, friction: 60 }, molasses: { tension: 280, friction: 120 } }, S1 = { ...f1.default, mass: 1, damping: 1, easing: B1.easings.linear, clamp: false }, j1 = class {
26932
+ var L1 = T1(), d1 = React__default, I = T1(), S = T1(), n1 = Vt(), C1 = T1(), f1 = { default: { tension: 170, friction: 26 }, gentle: { tension: 120, friction: 14 }, wobbly: { tension: 180, friction: 12 }, stiff: { tension: 210, friction: 20 }, slow: { tension: 280, friction: 60 }, molasses: { tension: 280, friction: 120 } }, S1 = { ...f1.default, mass: 1, damping: 1, easing: C1.easings.linear, clamp: false }, j1 = class {
26921
26933
  constructor() {
26922
26934
  this.velocity = 0, Object.assign(this, S1);
26923
26935
  }
@@ -26927,14 +26939,14 @@ function UU1() {
26927
26939
  for (let Y in S1)
26928
26940
  s10[Y] == null && (s10[Y] = S1[Y]);
26929
26941
  let { frequency: L, damping: A } = s10, { mass: P } = s10;
26930
- return B1.is.und(L) || (L < 0.01 && (L = 0.01), A < 0 && (A = 0), s10.tension = Math.pow(2 * Math.PI / L, 2) * P, s10.friction = 4 * Math.PI * A * P / L), s10;
26942
+ return C1.is.und(L) || (L < 0.01 && (L = 0.01), A < 0 && (A = 0), s10.tension = Math.pow(2 * Math.PI / L, 2) * P, s10.friction = 4 * Math.PI * A * P / L), s10;
26931
26943
  }
26932
26944
  function y2(s10, u7) {
26933
- if (!B1.is.und(u7.decay))
26945
+ if (!C1.is.und(u7.decay))
26934
26946
  s10.duration = void 0;
26935
26947
  else {
26936
- let H = !B1.is.und(u7.tension) || !B1.is.und(u7.friction);
26937
- (H || !B1.is.und(u7.frequency) || !B1.is.und(u7.damping) || !B1.is.und(u7.mass)) && (s10.duration = void 0, s10.decay = void 0), H && (s10.frequency = void 0);
26948
+ let H = !C1.is.und(u7.tension) || !C1.is.und(u7.friction);
26949
+ (H || !C1.is.und(u7.frequency) || !C1.is.und(u7.damping) || !C1.is.und(u7.mass)) && (s10.duration = void 0, s10.decay = void 0), H && (s10.frequency = void 0);
26938
26950
  }
26939
26951
  }
26940
26952
  var K = [], H1 = class {
@@ -27998,7 +28010,7 @@ function qU1() {
27998
28010
  }
27999
28011
  });
28000
28012
  }
28001
- var L1 = T1(), d1 = React__default, I = T1(), S = T1(), n1 = Vt(), B1 = T1(), f1 = {
28013
+ var L1 = T1(), d1 = React__default, I = T1(), S = T1(), n1 = Vt(), C1 = T1(), f1 = {
28002
28014
  default: { tension: 170, friction: 26 },
28003
28015
  gentle: { tension: 120, friction: 14 },
28004
28016
  wobbly: { tension: 180, friction: 12 },
@@ -28009,7 +28021,7 @@ function qU1() {
28009
28021
  ...f1.default,
28010
28022
  mass: 1,
28011
28023
  damping: 1,
28012
- easing: B1.easings.linear,
28024
+ easing: C1.easings.linear,
28013
28025
  clamp: false
28014
28026
  }, j1 = class {
28015
28027
  constructor() {
@@ -28022,14 +28034,14 @@ function qU1() {
28022
28034
  s10[Y] == null && (s10[Y] = S1[Y]);
28023
28035
  let { frequency: L, damping: A } = s10;
28024
28036
  const { mass: P } = s10;
28025
- return B1.is.und(L) || (L < 0.01 && (L = 0.01), A < 0 && (A = 0), s10.tension = Math.pow(2 * Math.PI / L, 2) * P, s10.friction = 4 * Math.PI * A * P / L), s10;
28037
+ return C1.is.und(L) || (L < 0.01 && (L = 0.01), A < 0 && (A = 0), s10.tension = Math.pow(2 * Math.PI / L, 2) * P, s10.friction = 4 * Math.PI * A * P / L), s10;
28026
28038
  }
28027
28039
  function y2(s10, u7) {
28028
- if (!B1.is.und(u7.decay))
28040
+ if (!C1.is.und(u7.decay))
28029
28041
  s10.duration = void 0;
28030
28042
  else {
28031
- const H = !B1.is.und(u7.tension) || !B1.is.und(u7.friction);
28032
- (H || !B1.is.und(u7.frequency) || !B1.is.und(u7.damping) || !B1.is.und(u7.mass)) && (s10.duration = void 0, s10.decay = void 0), H && (s10.frequency = void 0);
28043
+ const H = !C1.is.und(u7.tension) || !C1.is.und(u7.friction);
28044
+ (H || !C1.is.und(u7.frequency) || !C1.is.und(u7.damping) || !C1.is.und(u7.mass)) && (s10.duration = void 0, s10.decay = void 0), H && (s10.frequency = void 0);
28033
28045
  }
28034
28046
  }
28035
28047
  var K = [], H1 = class {
@@ -29314,10 +29326,10 @@ function YU1() {
29314
29326
  var e2 = Object.defineProperty, r2 = Object.getOwnPropertyDescriptor, n5 = Object.getOwnPropertyNames, h2 = Object.prototype.hasOwnProperty, i2 = (I, S) => {
29315
29327
  for (var n1 in S)
29316
29328
  e2(I, n1, { get: S[n1], enumerable: true });
29317
- }, c2 = (I, S, n1, B1) => {
29329
+ }, c2 = (I, S, n1, C1) => {
29318
29330
  if (S && typeof S == "object" || typeof S == "function")
29319
29331
  for (let f1 of n5(S))
29320
- !h2.call(I, f1) && f1 !== n1 && e2(I, f1, { get: () => S[f1], enumerable: !(B1 = r2(S, f1)) || B1.enumerable });
29332
+ !h2.call(I, f1) && f1 !== n1 && e2(I, f1, { get: () => S[f1], enumerable: !(C1 = r2(S, f1)) || C1.enumerable });
29321
29333
  return I;
29322
29334
  }, l2 = (I, S, n1) => (c2(I, S, "default"), n1 && c2(n1, S, "default")), o4 = (I) => c2(e2({}, "__esModule", { value: true }), I), d = {};
29323
29335
  i2(d, { a: () => d1, animated: () => d1 }), t2.exports = o4(d);
@@ -29329,11 +29341,11 @@ function YU1() {
29329
29341
  function F(I, S) {
29330
29342
  if (!I.nodeType || !I.setAttribute)
29331
29343
  return false;
29332
- let n1 = I.nodeName === "filter" || I.parentNode && I.parentNode.nodeName === "filter", { style: B1, children: f1, scrollTop: S1, scrollLeft: j1, viewBox: k1, ...y2 } = S, K = Object.values(y2), H1 = Object.keys(y2).map((g1) => n1 || I.hasAttribute(g1) ? g1 : b[g1] || (b[g1] = g1.replace(/([A-Z])/g, (M1) => "-" + M1.toLowerCase())));
29344
+ let n1 = I.nodeName === "filter" || I.parentNode && I.parentNode.nodeName === "filter", { style: C1, children: f1, scrollTop: S1, scrollLeft: j1, viewBox: k1, ...y2 } = S, K = Object.values(y2), H1 = Object.keys(y2).map((g1) => n1 || I.hasAttribute(g1) ? g1 : b[g1] || (b[g1] = g1.replace(/([A-Z])/g, (M1) => "-" + M1.toLowerCase())));
29333
29345
  f1 !== void 0 && (I.textContent = f1);
29334
- for (let g1 in B1)
29335
- if (B1.hasOwnProperty(g1)) {
29336
- let M1 = C(g1, B1[g1]);
29346
+ for (let g1 in C1)
29347
+ if (C1.hasOwnProperty(g1)) {
29348
+ let M1 = C(g1, C1[g1]);
29337
29349
  B.test(g1) ? I.style.setProperty(g1, M1) : I.style[g1] = M1;
29338
29350
  }
29339
29351
  H1.forEach((g1, M1) => {
@@ -29343,18 +29355,18 @@ function YU1() {
29343
29355
  var N = { animationIterationCount: true, borderImageOutset: true, borderImageSlice: true, borderImageWidth: true, boxFlex: true, boxFlexGroup: true, boxOrdinalGroup: true, columnCount: true, columns: true, flex: true, flexGrow: true, flexPositive: true, flexShrink: true, flexNegative: true, flexOrder: true, gridRow: true, gridRowEnd: true, gridRowSpan: true, gridRowStart: true, gridColumn: true, gridColumnEnd: true, gridColumnSpan: true, gridColumnStart: true, fontWeight: true, lineClamp: true, lineHeight: true, opacity: true, order: true, orphans: true, tabSize: true, widows: true, zIndex: true, zoom: true, fillOpacity: true, floodOpacity: true, stopOpacity: true, strokeDasharray: true, strokeDashoffset: true, strokeMiterlimit: true, strokeOpacity: true, strokeWidth: true }, X = (I, S) => I + S.charAt(0).toUpperCase() + S.substring(1), c1 = ["Webkit", "Ms", "Moz", "O"];
29344
29356
  N = Object.keys(N).reduce((I, S) => (c1.forEach((n1) => I[X(n1, S)] = I[S]), I), N);
29345
29357
  var a1 = Vt(), R = T1(), Q = /^(matrix|translate|scale|rotate|skew)/, $ = /^(translate)/, W = /^(rotate|skew)/, G = (I, S) => R.is.num(I) && I !== 0 ? I + S : I, J = (I, S) => R.is.arr(I) ? I.every((n1) => J(n1, S)) : R.is.num(I) ? I === S : parseFloat(I) === S, r1 = class extends a1.AnimatedObject {
29346
- constructor({ x: I, y: S, z: n1, ...B1 }) {
29358
+ constructor({ x: I, y: S, z: n1, ...C1 }) {
29347
29359
  let f1 = [], S1 = [];
29348
- (I || S || n1) && (f1.push([I || 0, S || 0, n1 || 0]), S1.push((j1) => [`translate3d(${j1.map((k1) => G(k1, "px")).join(",")})`, J(j1, 0)])), (0, R.eachProp)(B1, (j1, k1) => {
29360
+ (I || S || n1) && (f1.push([I || 0, S || 0, n1 || 0]), S1.push((j1) => [`translate3d(${j1.map((k1) => G(k1, "px")).join(",")})`, J(j1, 0)])), (0, R.eachProp)(C1, (j1, k1) => {
29349
29361
  if (k1 === "transform")
29350
29362
  f1.push([j1 || ""]), S1.push((y2) => [y2, y2 === ""]);
29351
29363
  else if (Q.test(k1)) {
29352
- if (delete B1[k1], R.is.und(j1))
29364
+ if (delete C1[k1], R.is.und(j1))
29353
29365
  return;
29354
29366
  let y2 = $.test(k1) ? "px" : W.test(k1) ? "deg" : "";
29355
29367
  f1.push((0, R.toArray)(j1)), S1.push(k1 === "rotate3d" ? ([K, H1, g1, M1]) => [`rotate3d(${K},${H1},${g1},${G(M1, y2)})`, J(M1, 0)] : (K) => [`${k1}(${K.map((H1) => G(H1, y2)).join(",")})`, J(K, k1.startsWith("scale") ? 1 : 0)]);
29356
29368
  }
29357
- }), f1.length && (B1.transform = new D(f1, S1)), super(B1);
29369
+ }), f1.length && (C1.transform = new D(f1, S1)), super(C1);
29358
29370
  }
29359
29371
  }, D = class extends R.FluidValue {
29360
29372
  constructor(I, S) {
@@ -29365,8 +29377,8 @@ function YU1() {
29365
29377
  }
29366
29378
  _get() {
29367
29379
  let I = "", S = true;
29368
- return (0, R.each)(this.inputs, (n1, B1) => {
29369
- let f1 = (0, R.getFluidValue)(n1[0]), [S1, j1] = this.transforms[B1](R.is.arr(f1) ? f1 : n1.map(R.getFluidValue));
29380
+ return (0, R.each)(this.inputs, (n1, C1) => {
29381
+ let f1 = (0, R.getFluidValue)(n1[0]), [S1, j1] = this.transforms[C1](R.is.arr(f1) ? f1 : n1.map(R.getFluidValue));
29370
29382
  I += " " + S1, S = S && j1;
29371
29383
  }), S ? "none" : I;
29372
29384
  }
@@ -29390,10 +29402,10 @@ function GU1() {
29390
29402
  var e2 = Object.defineProperty, r2 = Object.getOwnPropertyDescriptor, n5 = Object.getOwnPropertyNames, h2 = Object.prototype.hasOwnProperty, i2 = (I, S) => {
29391
29403
  for (var n1 in S)
29392
29404
  e2(I, n1, { get: S[n1], enumerable: true });
29393
- }, c2 = (I, S, n1, B1) => {
29405
+ }, c2 = (I, S, n1, C1) => {
29394
29406
  if (S && typeof S == "object" || typeof S == "function")
29395
29407
  for (let f1 of n5(S))
29396
- !h2.call(I, f1) && f1 !== n1 && e2(I, f1, { get: () => S[f1], enumerable: !(B1 = r2(S, f1)) || B1.enumerable });
29408
+ !h2.call(I, f1) && f1 !== n1 && e2(I, f1, { get: () => S[f1], enumerable: !(C1 = r2(S, f1)) || C1.enumerable });
29397
29409
  return I;
29398
29410
  }, l2 = (I, S, n1) => (c2(I, S, "default"), n1 && c2(n1, S, "default")), o4 = (I) => c2(e2({}, "__esModule", { value: true }), I), d = {};
29399
29411
  i2(d, {
@@ -29408,7 +29420,7 @@ function GU1() {
29408
29420
  function F(I, S) {
29409
29421
  if (!I.nodeType || !I.setAttribute)
29410
29422
  return false;
29411
- const n1 = I.nodeName === "filter" || I.parentNode && I.parentNode.nodeName === "filter", { style: B1, children: f1, scrollTop: S1, scrollLeft: j1, viewBox: k1, ...y2 } = S, K = Object.values(y2), H1 = Object.keys(y2).map(
29423
+ const n1 = I.nodeName === "filter" || I.parentNode && I.parentNode.nodeName === "filter", { style: C1, children: f1, scrollTop: S1, scrollLeft: j1, viewBox: k1, ...y2 } = S, K = Object.values(y2), H1 = Object.keys(y2).map(
29412
29424
  (g1) => n1 || I.hasAttribute(g1) ? g1 : b[g1] || (b[g1] = g1.replace(
29413
29425
  /([A-Z])/g,
29414
29426
  // Attributes are written in dash case
@@ -29416,9 +29428,9 @@ function GU1() {
29416
29428
  ))
29417
29429
  );
29418
29430
  f1 !== void 0 && (I.textContent = f1);
29419
- for (const g1 in B1)
29420
- if (B1.hasOwnProperty(g1)) {
29421
- const M1 = C(g1, B1[g1]);
29431
+ for (const g1 in C1)
29432
+ if (C1.hasOwnProperty(g1)) {
29433
+ const M1 = C(g1, C1[g1]);
29422
29434
  B.test(g1) ? I.style.setProperty(g1, M1) : I.style[g1] = M1;
29423
29435
  }
29424
29436
  H1.forEach((g1, M1) => {
@@ -29471,17 +29483,17 @@ function GU1() {
29471
29483
  }, X = (I, S) => I + S.charAt(0).toUpperCase() + S.substring(1), c1 = ["Webkit", "Ms", "Moz", "O"];
29472
29484
  N = Object.keys(N).reduce((I, S) => (c1.forEach((n1) => I[X(n1, S)] = I[S]), I), N);
29473
29485
  var a1 = Vt(), R = T1(), Q = /^(matrix|translate|scale|rotate|skew)/, $ = /^(translate)/, W = /^(rotate|skew)/, G = (I, S) => R.is.num(I) && I !== 0 ? I + S : I, J = (I, S) => R.is.arr(I) ? I.every((n1) => J(n1, S)) : R.is.num(I) ? I === S : parseFloat(I) === S, r1 = class extends a1.AnimatedObject {
29474
- constructor({ x: I, y: S, z: n1, ...B1 }) {
29486
+ constructor({ x: I, y: S, z: n1, ...C1 }) {
29475
29487
  const f1 = [], S1 = [];
29476
29488
  (I || S || n1) && (f1.push([I || 0, S || 0, n1 || 0]), S1.push((j1) => [
29477
29489
  `translate3d(${j1.map((k1) => G(k1, "px")).join(",")})`,
29478
29490
  // prettier-ignore
29479
29491
  J(j1, 0)
29480
- ])), (0, R.eachProp)(B1, (j1, k1) => {
29492
+ ])), (0, R.eachProp)(C1, (j1, k1) => {
29481
29493
  if (k1 === "transform")
29482
29494
  f1.push([j1 || ""]), S1.push((y2) => [y2, y2 === ""]);
29483
29495
  else if (Q.test(k1)) {
29484
- if (delete B1[k1], R.is.und(j1))
29496
+ if (delete C1[k1], R.is.und(j1))
29485
29497
  return;
29486
29498
  const y2 = $.test(k1) ? "px" : W.test(k1) ? "deg" : "";
29487
29499
  f1.push((0, R.toArray)(j1)), S1.push(
@@ -29494,7 +29506,7 @@ function GU1() {
29494
29506
  ]
29495
29507
  );
29496
29508
  }
29497
- }), f1.length && (B1.transform = new D(f1, S1)), super(B1);
29509
+ }), f1.length && (C1.transform = new D(f1, S1)), super(C1);
29498
29510
  }
29499
29511
  }, D = class extends R.FluidValue {
29500
29512
  constructor(I, S) {
@@ -29505,8 +29517,8 @@ function GU1() {
29505
29517
  }
29506
29518
  _get() {
29507
29519
  let I = "", S = true;
29508
- return (0, R.each)(this.inputs, (n1, B1) => {
29509
- const f1 = (0, R.getFluidValue)(n1[0]), [S1, j1] = this.transforms[B1](
29520
+ return (0, R.each)(this.inputs, (n1, C1) => {
29521
+ const f1 = (0, R.getFluidValue)(n1[0]), [S1, j1] = this.transforms[C1](
29510
29522
  R.is.arr(f1) ? f1 : n1.map(R.getFluidValue)
29511
29523
  );
29512
29524
  I += " " + S1, S = S && j1;
@@ -29882,7 +29894,7 @@ function aq1(t2, e2) {
29882
29894
  var I = Z.defaultPrevented;
29883
29895
  if (!I && D.state.active) {
29884
29896
  if (D.isMovingCross == null) {
29885
- var S = D.props, n1 = S.vertical, B1 = S.ignoreCrossMove, f1 = B1;
29897
+ var S = D.props, n1 = S.vertical, C1 = S.ignoreCrossMove, f1 = C1;
29886
29898
  typeof f1 != "number" && (f1 = f1 ? 1 : 0);
29887
29899
  var S1 = n1 ? "y" : "x", j1 = n1 ? "x" : "y", k1 = Math.abs(L1[S1] - D.touchMoves[0][S1]), y2 = Math.abs(L1[j1] - D.touchMoves[0][j1]);
29888
29900
  D.isMovingCross = y2 * f1 > k1;
@@ -29905,10 +29917,10 @@ function aq1(t2, e2) {
29905
29917
  D.grabbing && (Z.preventDefault(), Z.stopPropagation());
29906
29918
  var d1 = D.state.dragging, I = null;
29907
29919
  if (d1 && D.touchMoves.length) {
29908
- for (var S = D.props, n1 = S.cardSize, B1 = S.moveScale, f1 = S.vertical, S1 = D.props.friction / 1e6, j1 = b(D), k1 = j1.touchMoves, y2 = k1.length, K = 0; --y2 >= 0 && K < 100; )
29920
+ for (var S = D.props, n1 = S.cardSize, C1 = S.moveScale, f1 = S.vertical, S1 = D.props.friction / 1e6, j1 = b(D), k1 = j1.touchMoves, y2 = k1.length, K = 0; --y2 >= 0 && K < 100; )
29909
29921
  K = Date.now() - k1[y2].time;
29910
29922
  y2++;
29911
- var H1 = f1 ? "y" : "x", g1 = ((0, h2.getTouchPosition)(Z)[H1] - k1[y2][H1]) / K, M1 = g1 * Math.abs(g1) / S1 / 2, I1 = D.state.cursor, R1 = (0, h2.clamp)(M1 / n1 * B1, Math.floor(I1) - I1, Math.ceil(I1) - I1);
29923
+ var H1 = f1 ? "y" : "x", g1 = ((0, h2.getTouchPosition)(Z)[H1] - k1[y2][H1]) / K, M1 = g1 * Math.abs(g1) / S1 / 2, I1 = D.state.cursor, R1 = (0, h2.clamp)(M1 / n1 * C1, Math.floor(I1) - I1, Math.ceil(I1) - I1);
29912
29924
  I = Math.round(I1 + R1), D.touchMoves = [];
29913
29925
  } else
29914
29926
  I = Math.round(D.state.cursor);
@@ -30003,8 +30015,8 @@ function aq1(t2, e2) {
30003
30015
  var Z = this;
30004
30016
  this.AnimatedComponent = (0, n5.animated)(D.component);
30005
30017
  var L1 = function(I) {
30006
- var S = I.index, n1 = I.modIndex, B1 = I.cursor, f1 = I.state;
30007
- return Z.usedCursor = B1, Z.props.renderCard(S, n1, B1, f1);
30018
+ var S = I.index, n1 = I.modIndex, C1 = I.cursor, f1 = I.state;
30019
+ return Z.usedCursor = C1, Z.props.renderCard(S, n1, C1, f1);
30008
30020
  };
30009
30021
  this.AnimatedCard = (0, n5.animated)(L1);
30010
30022
  }
@@ -30016,8 +30028,8 @@ function aq1(t2, e2) {
30016
30028
  }, {
30017
30029
  key: "getComputedCursor",
30018
30030
  value: function() {
30019
- var D = this.props, Z = D.cardCount, L1 = D.loop, d1 = D.maxOverflow, I = this.state, S = I.cursor, n1 = I.dragging, B1 = S;
30020
- return L1 || (B1 = (0, h2.clamp)(B1, 1 - Z, 0), n1 && S > 0 ? B1 = d1 - d1 / (S + 1) : n1 && S < 1 - Z && (B1 = 1 - Z - d1 + d1 / (1 - Z - S + 1))), B1;
30031
+ var D = this.props, Z = D.cardCount, L1 = D.loop, d1 = D.maxOverflow, I = this.state, S = I.cursor, n1 = I.dragging, C1 = S;
30032
+ return L1 || (C1 = (0, h2.clamp)(C1, 1 - Z, 0), n1 && S > 0 ? C1 = d1 - d1 / (S + 1) : n1 && S < 1 - Z && (C1 = 1 - Z - d1 + d1 / (1 - Z - S + 1))), C1;
30021
30033
  }
30022
30034
  }, {
30023
30035
  key: "getUsedCursor",
@@ -30031,9 +30043,9 @@ function aq1(t2, e2) {
30031
30043
  d1.cardSize;
30032
30044
  var I = d1.cardCount, S = d1.cardPadCount;
30033
30045
  d1.renderCard;
30034
- var n1 = d1.tension, B1 = d1.friction, f1 = d1.precision, S1 = d1.loop, j1 = l2(d1, ["cardSize", "cardCount", "cardPadCount", "renderCard", "tension", "friction", "precision", "loop"]), k1 = S1 ? S : 0, y2 = {
30046
+ var n1 = d1.tension, C1 = d1.friction, f1 = d1.precision, S1 = d1.loop, j1 = l2(d1, ["cardSize", "cardCount", "cardPadCount", "renderCard", "tension", "friction", "precision", "loop"]), k1 = S1 ? S : 0, y2 = {
30035
30047
  tension: n1,
30036
- friction: B1,
30048
+ friction: C1,
30037
30049
  precision: f1
30038
30050
  }, K = this.getComputedCursor();
30039
30051
  return /* @__PURE__ */ r2.default.createElement(n5.Spring, {
@@ -30965,7 +30977,7 @@ var _q1 = er.exports;
30965
30977
  }, {
30966
30978
  key: "render",
30967
30979
  value: function() {
30968
- var W, G, J, r1, D, Z = this.props, L1 = Z.baseClassName, d1 = Z.controlClassName, I = Z.placeholderClassName, S = Z.menuClassName, n1 = Z.arrowClassName, B1 = Z.arrowClosed, f1 = Z.arrowOpen, S1 = Z.className, j1 = this.props.disabled ? "Dropdown-disabled" : "", k1 = typeof this.state.selected == "string" ? this.state.selected : this.state.selected.label, y2 = (0, r2.default)((W = {}, g(W, "".concat(L1, "-root"), true), g(W, S1, !!S1), g(W, "is-open", this.state.isOpen), W)), K = (0, r2.default)((G = {}, g(G, "".concat(L1, "-control"), true), g(G, d1, !!d1), g(G, j1, !!j1), G)), H1 = (0, r2.default)((J = {}, g(J, "".concat(L1, "-placeholder"), true), g(J, I, !!I), g(J, "is-selected", this.isValueSelected()), J)), g1 = (0, r2.default)((r1 = {}, g(r1, "".concat(L1, "-menu"), true), g(r1, S, !!S), r1)), M1 = (0, r2.default)((D = {}, g(D, "".concat(L1, "-arrow"), true), g(D, n1, !!n1), D)), I1 = e2.default.createElement("div", {
30980
+ var W, G, J, r1, D, Z = this.props, L1 = Z.baseClassName, d1 = Z.controlClassName, I = Z.placeholderClassName, S = Z.menuClassName, n1 = Z.arrowClassName, C1 = Z.arrowClosed, f1 = Z.arrowOpen, S1 = Z.className, j1 = this.props.disabled ? "Dropdown-disabled" : "", k1 = typeof this.state.selected == "string" ? this.state.selected : this.state.selected.label, y2 = (0, r2.default)((W = {}, g(W, "".concat(L1, "-root"), true), g(W, S1, !!S1), g(W, "is-open", this.state.isOpen), W)), K = (0, r2.default)((G = {}, g(G, "".concat(L1, "-control"), true), g(G, d1, !!d1), g(G, j1, !!j1), G)), H1 = (0, r2.default)((J = {}, g(J, "".concat(L1, "-placeholder"), true), g(J, I, !!I), g(J, "is-selected", this.isValueSelected()), J)), g1 = (0, r2.default)((r1 = {}, g(r1, "".concat(L1, "-menu"), true), g(r1, S, !!S), r1)), M1 = (0, r2.default)((D = {}, g(D, "".concat(L1, "-arrow"), true), g(D, n1, !!n1), D)), I1 = e2.default.createElement("div", {
30969
30981
  className: H1
30970
30982
  }, k1), R1 = this.state.isOpen ? e2.default.createElement("div", {
30971
30983
  className: g1,
@@ -30981,7 +30993,7 @@ var _q1 = er.exports;
30981
30993
  "aria-haspopup": "listbox"
30982
30994
  }, I1, e2.default.createElement("div", {
30983
30995
  className: "".concat(L1, "-arrow-wrapper")
30984
- }, f1 && B1 ? this.state.isOpen ? f1 : B1 : e2.default.createElement("span", {
30996
+ }, f1 && C1 ? this.state.isOpen ? f1 : C1 : e2.default.createElement("span", {
30985
30997
  className: M1
30986
30998
  }))), R1);
30987
30999
  }
@@ -33044,7 +33056,7 @@ Q6.write = function(t2, e2, r2, n5, h2, i2) {
33044
33056
  case "ucs-2":
33045
33057
  case "utf16le":
33046
33058
  case "utf-16le":
33047
- return B1(this, z, p4);
33059
+ return C1(this, z, p4);
33048
33060
  default:
33049
33061
  if (O)
33050
33062
  throw new TypeError("Unknown encoding: " + x);
@@ -33306,7 +33318,7 @@ Q6.write = function(t2, e2, r2, n5, h2, i2) {
33306
33318
  T += S2[x[q]];
33307
33319
  return T;
33308
33320
  }
33309
- function B1(x, z, p4) {
33321
+ function C1(x, z, p4) {
33310
33322
  const O = x.slice(z, p4);
33311
33323
  let T = "";
33312
33324
  for (let q = 0; q < O.length - 1; q += 2)
@@ -34473,7 +34485,7 @@ body {
34473
34485
  )
34474
34486
  ] }), SG1 = styled.div`
34475
34487
  position: relative;
34476
- background-color: ${(t2) => t2.$pressed ? C1.view.backColor.lighter : A3(t2.$backColor)};
34488
+ background-color: ${(t2) => t2.$pressed ? B1.view.backColor.lighter : A3(t2.$backColor)};
34477
34489
  border-radius: 10px;
34478
34490
  padding: 16px;
34479
34491
  padding-top: 8px;
@@ -34483,19 +34495,19 @@ body {
34483
34495
 
34484
34496
  ${F9};
34485
34497
  `, AG1 = styled.div`
34486
- font-size: ${() => C1.text.size.xsmall}px;
34487
- color: ${() => C1.text.color.tint};
34498
+ font-size: ${() => B1.text.size.xsmall}px;
34499
+ color: ${() => B1.text.color.tint};
34488
34500
  padding: 0;
34489
34501
  padding-top: 8px;
34490
34502
  margin-left: 4px;
34491
34503
  margin-bottom: -4px;
34492
34504
  text-transform: uppercase;
34493
34505
  `, bG1 = styled.div`
34494
- font-family: ${() => C1.text.family.heading};
34495
- font-size: ${() => C1.text.size.heading}px;
34496
- line-height: ${() => C1.text.height.heading}px;
34497
- font-weight: ${() => C1.text.weight.heading};
34498
- color: ${() => C1.text.color.normal};
34506
+ font-family: ${() => B1.text.family.heading};
34507
+ font-size: ${() => B1.text.size.heading}px;
34508
+ line-height: ${() => B1.text.height.heading}px;
34509
+ font-weight: ${() => B1.text.weight.heading};
34510
+ color: ${() => B1.text.color.normal};
34499
34511
  margin: 4px;
34500
34512
  margin-bottom: 1px;
34501
34513
  `, _G1 = styled.div`
@@ -34504,8 +34516,8 @@ body {
34504
34516
  padding: 6px 6px 6px 4px;
34505
34517
  padding-top: 4px;
34506
34518
  `, IG1 = styled.div`
34507
- font-size: ${() => C1.text.size.normal}px;
34508
- color: ${() => C1.text.color.xsubtle};
34519
+ font-size: ${() => B1.text.size.normal}px;
34520
+ color: ${() => B1.text.color.xsubtle};
34509
34521
  margin-top: -1px;
34510
34522
  padding-left: ${(t2) => t2.$hasIcon ? "6px" : "0px"};
34511
34523
  `, PG1 = styled.div`
@@ -34551,7 +34563,7 @@ body {
34551
34563
  {
34552
34564
  name: i2,
34553
34565
  size: 18,
34554
- color: C1.text.color.xsubtle
34566
+ color: B1.text.color.xsubtle
34555
34567
  }
34556
34568
  ) }),
34557
34569
  /* @__PURE__ */ z1.jsx(IG1, { $hasIcon: !!i2, children: n5 })
@@ -38482,7 +38494,7 @@ class I4 extends Lt {
38482
38494
  }
38483
38495
  const Z = o2(h2.ticks.maxTicksLimit, f4), L1 = Math.max(1, Math.ceil(f4 / Z));
38484
38496
  for (X = 0; X < f4; X += L1) {
38485
- const d1 = this.getContext(X), I = i2.setContext(d1), S = l2.setContext(d1), n1 = I.lineWidth, B1 = I.color, f1 = S.dash || [], S1 = S.dashOffset, j1 = I.tickWidth, k1 = I.tickColor, y2 = I.tickBorderDash || [], K = I.tickBorderDashOffset;
38497
+ const d1 = this.getContext(X), I = i2.setContext(d1), S = l2.setContext(d1), n1 = I.lineWidth, C1 = I.color, f1 = S.dash || [], S1 = S.dashOffset, j1 = I.tickWidth, k1 = I.tickColor, y2 = I.tickBorderDash || [], K = I.tickBorderDashOffset;
38486
38498
  c1 = HX1(this, X, o4), c1 !== void 0 && (a1 = V4(n5, c1, n1), d ? R = $ = G = r1 = a1 : Q = W = J = D = a1, w2.push({
38487
38499
  tx1: R,
38488
38500
  ty1: Q,
@@ -38493,7 +38505,7 @@ class I4 extends Lt {
38493
38505
  x2: r1,
38494
38506
  y2: D,
38495
38507
  width: n1,
38496
- color: B1,
38508
+ color: C1,
38497
38509
  borderDash: f1,
38498
38510
  borderDashOffset: S1,
38499
38511
  tickWidth: j1,
@@ -38541,8 +38553,8 @@ class I4 extends Lt {
38541
38553
  const L1 = i2.setContext(this.getContext(F));
38542
38554
  $ = this.getPixelForTick(F) + i2.labelOffset, W = this._resolveTickFontOptions(F), G = W.lineHeight, J = R2(c1) ? c1.length : 1;
38543
38555
  const d1 = J / 2, I = L1.color, S = L1.textStrokeColor, n1 = L1.textStrokeWidth;
38544
- let B1 = Q;
38545
- c2 ? (a1 = $, Q === "inner" && (F === N - 1 ? B1 = this.options.reverse ? "left" : "right" : F === 0 ? B1 = this.options.reverse ? "right" : "left" : B1 = "center"), h2 === "top" ? d === "near" || C !== 0 ? r1 = -J * G + G / 2 : d === "center" ? r1 = -Z.highest.height / 2 - d1 * G + G : r1 = -Z.highest.height + G / 2 : d === "near" || C !== 0 ? r1 = G / 2 : d === "center" ? r1 = Z.highest.height / 2 - d1 * G : r1 = Z.highest.height - J * G, f4 && (r1 *= -1), C !== 0 && !L1.showLabelBackdrop && (a1 += G / 2 * Math.sin(C))) : (R = $, r1 = (1 - J) * G / 2);
38556
+ let C1 = Q;
38557
+ c2 ? (a1 = $, Q === "inner" && (F === N - 1 ? C1 = this.options.reverse ? "left" : "right" : F === 0 ? C1 = this.options.reverse ? "right" : "left" : C1 = "center"), h2 === "top" ? d === "near" || C !== 0 ? r1 = -J * G + G / 2 : d === "center" ? r1 = -Z.highest.height / 2 - d1 * G + G : r1 = -Z.highest.height + G / 2 : d === "near" || C !== 0 ? r1 = G / 2 : d === "center" ? r1 = Z.highest.height / 2 - d1 * G : r1 = Z.highest.height - J * G, f4 && (r1 *= -1), C !== 0 && !L1.showLabelBackdrop && (a1 += G / 2 * Math.sin(C))) : (R = $, r1 = (1 - J) * G / 2);
38546
38558
  let f1;
38547
38559
  if (L1.showLabelBackdrop) {
38548
38560
  const S1 = H0(L1.backdropPadding), j1 = Z.heights[F], k1 = Z.widths[F];
@@ -38583,7 +38595,7 @@ class I4 extends Lt {
38583
38595
  color: I,
38584
38596
  strokeColor: S,
38585
38597
  strokeWidth: n1,
38586
- textAlign: B1,
38598
+ textAlign: C1,
38587
38599
  textBaseline: D,
38588
38600
  translation: [
38589
38601
  a1,
@@ -42480,7 +42492,7 @@ const HZ1 = ({
42480
42492
  subtitle: n5,
42481
42493
  subtitleSize: h2 = "small",
42482
42494
  backColor: i2,
42483
- borderRadius: c2 = C1.card.borderRadius,
42495
+ borderRadius: c2 = B1.card.borderRadius,
42484
42496
  width: l2,
42485
42497
  height: o4,
42486
42498
  padding: d = 15,
@@ -42592,7 +42604,7 @@ const HZ1 = ({
42592
42604
  }, l2 = r2 ? "none" : "light", o4 = /* @__PURE__ */ z1.jsxs(u0, { valign: "center", paddingRight: 10, children: [
42593
42605
  /* @__PURE__ */ z1.jsx(h4, { size: "xlarge", weight: "bold", paddingRight: 2, children: t2 }),
42594
42606
  !i2 && /* @__PURE__ */ z1.jsx(
42595
- _U1,
42607
+ IU1,
42596
42608
  {
42597
42609
  onClick: c2,
42598
42610
  iconName: "IoCloseSharp",
@@ -45169,9 +45181,9 @@ function Gt2(t2 = /* @__PURE__ */ new Date()) {
45169
45181
  const dekUiModule = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
45170
45182
  __proto__: null,
45171
45183
  Button: R6,
45172
- ButtonLoadingIcon: kt2,
45173
- Card: Ot2,
45174
- CardButton: Bt2,
45184
+ ButtonLoadingIcon: Ot2,
45185
+ Card: Bt2,
45186
+ CardButton: Ct2,
45175
45187
  Carousel: Mq1,
45176
45188
  Cell: St2,
45177
45189
  ColorPicker: At2,
@@ -45181,12 +45193,12 @@ const dekUiModule = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
45181
45193
  Header: Eq1,
45182
45194
  HeadingText: PU1,
45183
45195
  Icon: G4,
45184
- IconButton: _U1,
45196
+ IconButton: IU1,
45185
45197
  Image: It2,
45186
45198
  LoadingDots: Cr,
45187
- MenuBar: Ct2,
45199
+ MenuBar: yt2,
45188
45200
  MenuBarItem: WU1,
45189
- PillButton: yt2,
45201
+ PillButton: kt2,
45190
45202
  ProgressBar: Pt2,
45191
45203
  Screen: Wt2,
45192
45204
  ScreenLoadingOverlay: Dt2,
@@ -45201,7 +45213,7 @@ const dekUiModule = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
45201
45213
  formatDateTime: Yt2,
45202
45214
  formatFromNow: Gt2,
45203
45215
  getImageAsBase64: uG1,
45204
- theme: C1,
45216
+ theme: B1,
45205
45217
  useDateTime: qt2,
45206
45218
  useInterval: Ut2
45207
45219
  }, Symbol.toStringTag, { value: "Module" }));
@@ -49808,7 +49820,7 @@ const Zone = (props) => {
49808
49820
  if (zone2.containerProps && Object.keys(zone2.containerProps).length > 0) {
49809
49821
  const style = parsePropsForComponent(api2, zone2.containerProps);
49810
49822
  components.push(
49811
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { "aria-label": `zone-${props.id}`, style, children: component })
49823
+ /* @__PURE__ */ jsxRuntimeExports.jsx(u0, { "aria-label": `zone-${props.id}`, style, children: component })
49812
49824
  );
49813
49825
  } else {
49814
49826
  components.push(component);
@@ -66849,7 +66861,7 @@ async function fetchUserPlugins(email, password) {
66849
66861
  result.integrations.push({
66850
66862
  key: "base",
66851
66863
  pluginName: "base",
66852
- pluginVersion: "0.26.0",
66864
+ pluginVersion: "0.27.0",
66853
66865
  pluginConfig: []
66854
66866
  });
66855
66867
  return result;
@@ -66881,7 +66893,7 @@ const state = proxy({
66881
66893
  const useEntities = () => {
66882
66894
  return useSnapshot(state).entities;
66883
66895
  };
66884
- const Container$9 = styled.div`
66896
+ const Container$b = styled.div`
66885
66897
  width: 50px;
66886
66898
  height: 50px;
66887
66899
  padding: 0;
@@ -66959,7 +66971,7 @@ const WeatherIcon = ({ type }) => {
66959
66971
  }
66960
66972
  };
66961
66973
  const info = getWeatherTypeInfo(type);
66962
- return /* @__PURE__ */ jsxRuntimeExports.jsx(Container$9, { "aria-label": "weather-icon", $top: info.top, $left: info.left, children: info.element });
66974
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(Container$b, { "aria-label": "weather-icon", $top: info.top, $left: info.left, children: info.element });
66963
66975
  };
66964
66976
  const WeatherComponent = () => {
66965
66977
  const api2 = getPluginApi();
@@ -66985,7 +66997,7 @@ const WeatherComponent = () => {
66985
66997
  ] })
66986
66998
  ] });
66987
66999
  };
66988
- const Container$8 = styled.div`
67000
+ const Container$a = styled.div`
66989
67001
  display: flex;
66990
67002
  align-items: center;
66991
67003
  width: 100%;
@@ -67016,7 +67028,7 @@ const HeaderRight = styled.div`
67016
67028
  padding-right: 15px;
67017
67029
  `;
67018
67030
  const Header = ({ height = 70 }) => {
67019
- return /* @__PURE__ */ jsxRuntimeExports.jsxs(Container$8, { "aria-label": "header", $height: height, children: [
67031
+ return /* @__PURE__ */ jsxRuntimeExports.jsxs(Container$a, { "aria-label": "header", $height: height, children: [
67020
67032
  /* @__PURE__ */ jsxRuntimeExports.jsx(HeaderLeft, { "aria-label": "header-left", children: /* @__PURE__ */ jsxRuntimeExports.jsx(WeatherComponent, { "aria-label": "weather" }) }),
67021
67033
  /* @__PURE__ */ jsxRuntimeExports.jsx(HeaderCenter, { "aria-label": "header-center" }),
67022
67034
  /* @__PURE__ */ jsxRuntimeExports.jsx(HeaderRight, { "aria-label": "header-right", children: /* @__PURE__ */ jsxRuntimeExports.jsx(ClockComponent, { "aria-label": "clock" }) })
@@ -67024,7 +67036,7 @@ const Header = ({ height = 70 }) => {
67024
67036
  };
67025
67037
  const About = () => {
67026
67038
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(u0, { padding: 20, direction: "vert", children: [
67027
- /* @__PURE__ */ jsxRuntimeExports.jsx(PU1, { children: `Dek ${"0.26.0"}` }),
67039
+ /* @__PURE__ */ jsxRuntimeExports.jsx(PU1, { children: `Dek ${"0.27.0"}` }),
67028
67040
  /* @__PURE__ */ jsxRuntimeExports.jsx(h4, { children: "From Appkit" })
67029
67041
  ] });
67030
67042
  };
@@ -67050,7 +67062,7 @@ const Backgrounds = ({ api: api2 }) => {
67050
67062
  });
67051
67063
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(Fq1, { cols: "24% auto", gap: 20, children: [
67052
67064
  /* @__PURE__ */ jsxRuntimeExports.jsx(
67053
- Ct2,
67065
+ yt2,
67054
67066
  {
67055
67067
  items: menuItems,
67056
67068
  onSelect: handleSelection,
@@ -67139,7 +67151,7 @@ const Boards = ({ api: api2 }) => {
67139
67151
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(u0, { padding: 20, collapse: true, direction: "vert", children: [
67140
67152
  /* @__PURE__ */ jsxRuntimeExports.jsx(PU1, { paddingBottom: 15, children: "Boards" }),
67141
67153
  /* @__PURE__ */ jsxRuntimeExports.jsx(u0, { direction: "horz", collapse: true, children: boards && boards.map(({ key, title }) => /* @__PURE__ */ jsxRuntimeExports.jsx(u0, { collapse: true, paddingRight: 10, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
67142
- yt2,
67154
+ kt2,
67143
67155
  {
67144
67156
  title,
67145
67157
  icon: "none",
@@ -67165,7 +67177,7 @@ const PluginDev = ({ api: api2 }) => {
67165
67177
  /* @__PURE__ */ jsxRuntimeExports.jsxs(u0, { padding: 20, collapse: true, direction: "vert", children: [
67166
67178
  /* @__PURE__ */ jsxRuntimeExports.jsx(PU1, { paddingBottom: 15, children: "Components" }),
67167
67179
  /* @__PURE__ */ jsxRuntimeExports.jsx(u0, { direction: "horz", collapse: true, children: integration && integration.info.components.map((component) => /* @__PURE__ */ jsxRuntimeExports.jsx(u0, { collapse: true, paddingRight: 10, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
67168
- yt2,
67180
+ kt2,
67169
67181
  {
67170
67182
  title: component,
67171
67183
  icon: "none",
@@ -67174,7 +67186,7 @@ const PluginDev = ({ api: api2 }) => {
67174
67186
  ) }, component)) }),
67175
67187
  /* @__PURE__ */ jsxRuntimeExports.jsx(PU1, { paddingBottom: 15, paddingTop: 50, children: "Screens" }),
67176
67188
  /* @__PURE__ */ jsxRuntimeExports.jsx(u0, { direction: "horz", collapse: true, children: integration && integration.info.screens.map((screen) => /* @__PURE__ */ jsxRuntimeExports.jsx(u0, { collapse: true, paddingRight: 10, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
67177
- yt2,
67189
+ kt2,
67178
67190
  {
67179
67191
  title: screen,
67180
67192
  icon: "none",
@@ -67183,7 +67195,7 @@ const PluginDev = ({ api: api2 }) => {
67183
67195
  ) }, screen)) })
67184
67196
  ] }),
67185
67197
  /* @__PURE__ */ jsxRuntimeExports.jsx(u0, { fixed: "bottom", height: 120, paddingLeft: 20, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
67186
- Bt2,
67198
+ Ct2,
67187
67199
  {
67188
67200
  title: "Settings",
67189
67201
  variant: "clear",
@@ -67247,7 +67259,7 @@ const Theme = ({ api: api2 }) => {
67247
67259
  ];
67248
67260
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(Fq1, { cols: "24% auto", gap: 20, children: [
67249
67261
  /* @__PURE__ */ jsxRuntimeExports.jsx(
67250
- Ct2,
67262
+ yt2,
67251
67263
  {
67252
67264
  items: menuItems,
67253
67265
  onSelect: handleSelection,
@@ -67266,7 +67278,7 @@ const Theme = ({ api: api2 }) => {
67266
67278
  children: /* @__PURE__ */ jsxRuntimeExports.jsx(h4, { children: "Sets the color for Cards with variant='normal'.." })
67267
67279
  }
67268
67280
  ),
67269
- /* @__PURE__ */ jsxRuntimeExports.jsxs(Ot2, { padding: 12, direction: "vert", style: { marginBottom: 40 }, children: [
67281
+ /* @__PURE__ */ jsxRuntimeExports.jsxs(Bt2, { padding: 12, direction: "vert", style: { marginBottom: 40 }, children: [
67270
67282
  /* @__PURE__ */ jsxRuntimeExports.jsx(PU1, { children: "Card" }),
67271
67283
  /* @__PURE__ */ jsxRuntimeExports.jsx(h4, { color: "subtle", children: "Body" })
67272
67284
  ] }),
@@ -67276,7 +67288,7 @@ const Theme = ({ api: api2 }) => {
67276
67288
  width: "100%",
67277
67289
  maxWidth: 400,
67278
67290
  height: 150,
67279
- color: themeState["card-bg"] || C1.view.backColor.card,
67291
+ color: themeState["card-bg"] || B1.view.backColor.card,
67280
67292
  onChange: (color) => {
67281
67293
  themeState["card-bg"] = color;
67282
67294
  setThemeState(themeState);
@@ -67312,7 +67324,7 @@ const Theme = ({ api: api2 }) => {
67312
67324
  width: "100%",
67313
67325
  maxWidth: 400,
67314
67326
  height: 150,
67315
- color: themeState["tile-bg"] || C1.view.backColor.tile,
67327
+ color: themeState["tile-bg"] || B1.view.backColor.tile,
67316
67328
  onChange: (color) => {
67317
67329
  themeState["tile-bg"] = color;
67318
67330
  setThemeState(themeState);
@@ -67343,7 +67355,7 @@ const Theme = ({ api: api2 }) => {
67343
67355
  }
67344
67356
  ),
67345
67357
  /* @__PURE__ */ jsxRuntimeExports.jsx(u0, { width: 20 }),
67346
- /* @__PURE__ */ jsxRuntimeExports.jsx(yt2, { title: "Clear Pill", variant: "clear" })
67358
+ /* @__PURE__ */ jsxRuntimeExports.jsx(kt2, { title: "Clear Pill", variant: "clear" })
67347
67359
  ] }),
67348
67360
  /* @__PURE__ */ jsxRuntimeExports.jsx(
67349
67361
  At2,
@@ -67352,7 +67364,7 @@ const Theme = ({ api: api2 }) => {
67352
67364
  width: "100%",
67353
67365
  maxWidth: 400,
67354
67366
  height: 150,
67355
- color: themeState["clear-bg"] || C1.view.backColor.clear,
67367
+ color: themeState["clear-bg"] || B1.view.backColor.clear,
67356
67368
  onChange: (color) => {
67357
67369
  themeState["clear-bg"] = color;
67358
67370
  setThemeState(themeState);
@@ -67373,9 +67385,9 @@ const Theme = ({ api: api2 }) => {
67373
67385
  }
67374
67386
  ),
67375
67387
  /* @__PURE__ */ jsxRuntimeExports.jsxs(u0, { style: { marginBottom: 40 }, direction: "horz", collapse: true, children: [
67376
- /* @__PURE__ */ jsxRuntimeExports.jsx(Bt2, { title: "Button", variant: "normal" }),
67388
+ /* @__PURE__ */ jsxRuntimeExports.jsx(Ct2, { title: "Button", variant: "normal" }),
67377
67389
  /* @__PURE__ */ jsxRuntimeExports.jsx(u0, { width: 20 }),
67378
- /* @__PURE__ */ jsxRuntimeExports.jsx(yt2, { title: "Pill", variant: "normal" })
67390
+ /* @__PURE__ */ jsxRuntimeExports.jsx(kt2, { title: "Pill", variant: "normal" })
67379
67391
  ] }),
67380
67392
  /* @__PURE__ */ jsxRuntimeExports.jsx(
67381
67393
  At2,
@@ -67383,7 +67395,7 @@ const Theme = ({ api: api2 }) => {
67383
67395
  width: "100%",
67384
67396
  maxWidth: 400,
67385
67397
  height: 150,
67386
- color: themeState["button-bg"] || C1.button.normal.backColor,
67398
+ color: themeState["button-bg"] || B1.button.normal.backColor,
67387
67399
  onChange: (color) => {
67388
67400
  themeState["button-bg"] = color;
67389
67401
  setThemeState(themeState);
@@ -67468,7 +67480,7 @@ const SettingsScreen = ({ api: api2, isPluginDev }) => {
67468
67480
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(Wt2, { children: [
67469
67481
  /* @__PURE__ */ jsxRuntimeExports.jsxs(Fq1, { fullscreen: true, cols: "20% auto", padding: 20, paddingTop: 90, gap: 20, children: [
67470
67482
  /* @__PURE__ */ jsxRuntimeExports.jsx(
67471
- Ct2,
67483
+ yt2,
67472
67484
  {
67473
67485
  items: menuItems,
67474
67486
  onSelect: handleMenuSelection,
@@ -71426,7 +71438,7 @@ hooks.HTML5_FMT = {
71426
71438
  MONTH: "YYYY-MM"
71427
71439
  // <input type="month" />
71428
71440
  };
71429
- const Container$7 = styled.div`
71441
+ const Container$9 = styled.div`
71430
71442
  align-items: flex-start;
71431
71443
  padding: 10px 20px;
71432
71444
  margin-top: 130px;
@@ -71495,9 +71507,9 @@ const Greeting = ({ api: api2 }) => {
71495
71507
  events2.nextEvent.startDate * 1e3
71496
71508
  ).format("h:mm")}`;
71497
71509
  };
71498
- return /* @__PURE__ */ jsxRuntimeExports.jsx(Container$7, { "aria-label": "greeting", children: /* @__PURE__ */ jsxRuntimeExports.jsx(Text, { children: `${getGreeting()} ${getUpcoming()}` }) });
71510
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(Container$9, { "aria-label": "greeting", children: /* @__PURE__ */ jsxRuntimeExports.jsx(Text, { children: `${getGreeting()} ${getUpcoming()}` }) });
71499
71511
  };
71500
- const Container$6 = styled.div`
71512
+ const Container$8 = styled.div`
71501
71513
  height: 100vh;
71502
71514
  width: 100vw;
71503
71515
  background: ${(props) => `linear-gradient(90deg, ${props.$colorStart}, ${props.$colorEnd})`};
@@ -71537,12 +71549,12 @@ const Content = styled.div`
71537
71549
  }
71538
71550
  `;
71539
71551
  const BlobBackground = ({
71540
- colorStart = "#e52e71",
71541
- colorEnd = "#ff8a00",
71542
- speed = 0.5
71552
+ colorStart = "#26a88d",
71553
+ colorEnd = "#00796b",
71554
+ speed = 1
71543
71555
  }) => {
71544
71556
  return /* @__PURE__ */ jsxRuntimeExports.jsx(
71545
- Container$6,
71557
+ Container$8,
71546
71558
  {
71547
71559
  "aria-label": "blob-background",
71548
71560
  $colorStart: colorStart,
@@ -71551,7 +71563,7 @@ const BlobBackground = ({
71551
71563
  }
71552
71564
  );
71553
71565
  };
71554
- const Container$5 = styled.div`
71566
+ const Container$7 = styled.div`
71555
71567
  height: 100vh;
71556
71568
  width: 100vw;
71557
71569
  background: ${(props) => `radial-gradient(${props.$colorStart}, ${props.$colorEnd})`};
@@ -71646,12 +71658,12 @@ const Light9 = styled(Light)`
71646
71658
  left: 85%;
71647
71659
  `;
71648
71660
  const BlurredLightsBackground = ({
71649
- colorStart = "#e52e71",
71650
- colorEnd = "#ff8a00",
71651
- speed = 0.5
71661
+ colorStart = "#d2276c",
71662
+ colorEnd = "#170070",
71663
+ speed = 1
71652
71664
  }) => {
71653
71665
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(
71654
- Container$5,
71666
+ Container$7,
71655
71667
  {
71656
71668
  "aria-label": "blurred-lights-background",
71657
71669
  $colorStart: colorStart,
@@ -71670,7 +71682,7 @@ const BlurredLightsBackground = ({
71670
71682
  }
71671
71683
  );
71672
71684
  };
71673
- const Container$4 = styled.div`
71685
+ const Container$6 = styled.div`
71674
71686
  height: 100vh;
71675
71687
  width: 100vw;
71676
71688
  display: flex;
@@ -71704,7 +71716,7 @@ const GradientBackground = ({
71704
71716
  speed = 0.5
71705
71717
  }) => {
71706
71718
  return /* @__PURE__ */ jsxRuntimeExports.jsx(
71707
- Container$4,
71719
+ Container$6,
71708
71720
  {
71709
71721
  "aria-label": "gradient-background",
71710
71722
  $colorStart: colorStart,
@@ -71713,7 +71725,7 @@ const GradientBackground = ({
71713
71725
  }
71714
71726
  );
71715
71727
  };
71716
- const Container$3 = styled.div`
71728
+ const Container$5 = styled.div`
71717
71729
  position: absolute;
71718
71730
  top: 0;
71719
71731
  bottom: 0;
@@ -71780,13 +71792,184 @@ const ImageBackground = ({ itemKey = "fibre", opacity }) => {
71780
71792
  };
71781
71793
  const background = backgrounds[itemKey];
71782
71794
  opacity = opacity === void 0 ? background.opacity : opacity;
71783
- return /* @__PURE__ */ jsxRuntimeExports.jsx(Container$3, { "aria-label": "background", $imageUrl: background.uri, children: /* @__PURE__ */ jsxRuntimeExports.jsx(Overlay, { $opacity: opacity || 0 }) });
71795
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(Container$5, { "aria-label": "background", $imageUrl: background.uri, children: /* @__PURE__ */ jsxRuntimeExports.jsx(Overlay, { $opacity: opacity || 0 }) });
71796
+ };
71797
+ const Container$4 = styled.div`
71798
+ height: 100vh;
71799
+ width: 100vw;
71800
+ xbackground: ${(props) => `radial-gradient(
71801
+ ${props.$colorStart} 0%,
71802
+ ${props.$colorEnd} 100%
71803
+ )`};
71804
+ `;
71805
+ const speedFactor = 2;
71806
+ const Slant1 = styled.div`
71807
+ animation: slide ${({ $speed }) => ($speed + 0) * speedFactor}s ease-in-out
71808
+ infinite alternate;
71809
+ background-image: ${({ $colorStart, $colorEnd }) => `linear-gradient(-60deg, ${$colorStart} 50%, ${$colorEnd} 50%)`};
71810
+ bottom: 0;
71811
+ left: -50%;
71812
+ opacity: 0.5;
71813
+ position: fixed;
71814
+ right: -50%;
71815
+ top: 0;
71816
+ z-index: -1;
71817
+
71818
+ @keyframes slide {
71819
+ 0% {
71820
+ transform: translateX(-25%);
71821
+ }
71822
+ 100% {
71823
+ transform: translateX(25%);
71824
+ }
71825
+ }
71826
+ `;
71827
+ const Slant2 = styled.div`
71828
+ animation: slide ${({ $speed }) => ($speed + 0) * speedFactor}s ease-in-out
71829
+ infinite alternate;
71830
+ animation-direction: alternate-reverse;
71831
+ animation-duration: ${({ $speed }) => ($speed + 1) * speedFactor}s;
71832
+ background-image: ${({ $colorStart, $colorEnd }) => `linear-gradient(-60deg, ${$colorStart} 50%, ${$colorEnd} 50%)`};
71833
+ bottom: 0;
71834
+ left: -50%;
71835
+ opacity: 0.5;
71836
+ position: fixed;
71837
+ right: -50%;
71838
+ top: 0;
71839
+ z-index: -1;
71840
+
71841
+ @keyframes slide {
71842
+ 0% {
71843
+ transform: translateX(-25%);
71844
+ }
71845
+ 100% {
71846
+ transform: translateX(25%);
71847
+ }
71848
+ }
71849
+ `;
71850
+ const Slant3 = styled.div`
71851
+ animation: slide ${({ $speed }) => ($speed + 0) * speedFactor}s ease-in-out
71852
+ infinite alternate;
71853
+ animation-duration: ${({ $speed }) => ($speed + 2) * speedFactor}s;
71854
+ background-image: ${({ $colorStart, $colorEnd }) => `linear-gradient(-60deg, ${$colorStart} 50%, ${$colorEnd} 50%)`};
71855
+ bottom: 0;
71856
+ left: -50%;
71857
+ opacity: 0.5;
71858
+ position: fixed;
71859
+ right: -50%;
71860
+ top: 0;
71861
+ z-index: -1;
71862
+
71863
+ @keyframes slide {
71864
+ 0% {
71865
+ transform: translateX(-25%);
71866
+ }
71867
+ 100% {
71868
+ transform: translateX(25%);
71869
+ }
71870
+ }
71871
+ `;
71872
+ const SlantBackground = ({
71873
+ colorStart = "#6c3",
71874
+ colorEnd = "#09f",
71875
+ speed = 30
71876
+ }) => {
71877
+ return /* @__PURE__ */ jsxRuntimeExports.jsxs(
71878
+ Container$4,
71879
+ {
71880
+ "aria-label": "slant-background",
71881
+ $colorStart: colorStart,
71882
+ $colorEnd: colorEnd,
71883
+ children: [
71884
+ /* @__PURE__ */ jsxRuntimeExports.jsx(Slant1, { $speed: speed, $colorStart: colorStart, $colorEnd: colorEnd }),
71885
+ /* @__PURE__ */ jsxRuntimeExports.jsx(Slant2, { $speed: speed, $colorStart: colorStart, $colorEnd: colorEnd }),
71886
+ /* @__PURE__ */ jsxRuntimeExports.jsx(Slant3, { $speed: speed, $colorStart: colorStart, $colorEnd: colorEnd })
71887
+ ]
71888
+ }
71889
+ );
71890
+ };
71891
+ const Container$3 = styled.div`
71892
+ height: 100vh;
71893
+ width: 100vw;
71894
+ background: ${(props) => `radial-gradient(
71895
+ ${props.$colorStart} 0%,
71896
+ ${props.$colorEnd} 100%
71897
+ )`};
71898
+ `;
71899
+ const Ocean = styled.div`
71900
+ height: ${({ $height }) => $height * 3}%;
71901
+ width: 100%;
71902
+ position: absolute;
71903
+ bottom: 0;
71904
+ left: 0;
71905
+ background: #015871;
71906
+ `;
71907
+ const Wave1 = styled.div`
71908
+ background: url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/85486/wave.svg)
71909
+ repeat-x;
71910
+ position: absolute;
71911
+ width: 6400px;
71912
+ top: -198px;
71913
+ left: 0;
71914
+ height: 198px;
71915
+ transform: translate(0, 0, 0);
71916
+ animation: wave ${({ $speed }) => $speed * 70}s ease infinite;
71917
+
71918
+ @keyframes wave {
71919
+ 0% {
71920
+ margin-left: 0;
71921
+ }
71922
+ 100% {
71923
+ margin-left: -1600px;
71924
+ }
71925
+ }
71926
+ `;
71927
+ const Wave2 = styled.div`
71928
+ background: url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/85486/wave.svg)
71929
+ repeat-x;
71930
+ position: absolute;
71931
+ width: 6400px;
71932
+ top: -168px;
71933
+ left: 0;
71934
+ height: 198px;
71935
+ transform: translate(0, 0, 0);
71936
+ animation: swell ${({ $speed }) => $speed * 40}s ease infinite;
71937
+ opacity: 1;
71938
+
71939
+ @keyframes swell {
71940
+ 0%,
71941
+ 100% {
71942
+ transform: translate(0, -30px);
71943
+ }
71944
+ 50% {
71945
+ transform: translate(0, 5px);
71946
+ }
71947
+ }
71948
+ `;
71949
+ const WaveBackground = ({
71950
+ colorStart = "#3a88ba",
71951
+ colorEnd = "#0b5774",
71952
+ speed = 0.5,
71953
+ tide = 3
71954
+ }) => {
71955
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(
71956
+ Container$3,
71957
+ {
71958
+ "aria-label": "wave-background",
71959
+ $colorStart: colorStart,
71960
+ $colorEnd: colorEnd,
71961
+ children: /* @__PURE__ */ jsxRuntimeExports.jsxs(Ocean, { $height: tide, children: [
71962
+ /* @__PURE__ */ jsxRuntimeExports.jsx(Wave1, { $speed: speed }),
71963
+ /* @__PURE__ */ jsxRuntimeExports.jsx(Wave2, { $speed: speed })
71964
+ ] })
71965
+ }
71966
+ );
71784
71967
  };
71785
71968
  const AboutScreen = ({ api: api2 }) => {
71786
71969
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(Wt2, { overlay: true, children: [
71787
71970
  /* @__PURE__ */ jsxRuntimeExports.jsx($t2, { title: "About" }),
71788
71971
  /* @__PURE__ */ jsxRuntimeExports.jsx(u0, { paddingTop: 100, paddingHorz: 20, collapse: true, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
71789
- Bt2,
71972
+ Ct2,
71790
71973
  {
71791
71974
  title: "Settings",
71792
71975
  iconName: "about",
@@ -98541,6 +98724,9 @@ const ComponentScreen = ({ api: api2 }) => {
98541
98724
  const handlePropsChange = (value) => {
98542
98725
  setPropsString(value);
98543
98726
  };
98727
+ const parsedProps = parsePropsForComponent(api2, propsArray);
98728
+ const maxWidth = parsedProps && parsedProps["dev"] && parsedProps["dev"]["maxWidth"];
98729
+ const maxHeight = parsedProps && parsedProps["dev"] && parsedProps["dev"]["maxHeight"];
98544
98730
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(Wt2, { children: [
98545
98731
  /* @__PURE__ */ jsxRuntimeExports.jsxs(Fq1, { fullscreen: true, cols: "40% 60%", children: [
98546
98732
  /* @__PURE__ */ jsxRuntimeExports.jsx(St2, { children: /* @__PURE__ */ jsxRuntimeExports.jsxs(u0, { direction: "vert", paddingTop: 100, children: [
@@ -98557,7 +98743,7 @@ const ComponentScreen = ({ api: api2 }) => {
98557
98743
  }
98558
98744
  ),
98559
98745
  /* @__PURE__ */ jsxRuntimeExports.jsx(
98560
- yt2,
98746
+ kt2,
98561
98747
  {
98562
98748
  title: "RESET",
98563
98749
  variant: "clear",
@@ -98592,9 +98778,17 @@ const ComponentScreen = ({ api: api2 }) => {
98592
98778
  ) }),
98593
98779
  error2 && /* @__PURE__ */ jsxRuntimeExports.jsx(h4, { color: "red", paddingLeft: 15, paddingTop: 10, children: error2 })
98594
98780
  ] }) }),
98595
- /* @__PURE__ */ jsxRuntimeExports.jsx(St2, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(u0, { halign: "left", valign: "center", children: propsString && api2.integration("plugin").component(
98596
- params.componentKey,
98597
- parsePropsForComponent(api2, propsArray)
98781
+ /* @__PURE__ */ jsxRuntimeExports.jsx(St2, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(u0, { halign: "left", valign: "center", children: /* @__PURE__ */ jsxRuntimeExports.jsx(
98782
+ "div",
98783
+ {
98784
+ style: {
98785
+ width: "100%",
98786
+ maxWidth,
98787
+ height: "100%",
98788
+ maxHeight
98789
+ },
98790
+ children: propsString && api2.integration("plugin").component(params.componentKey, parsedProps)
98791
+ }
98598
98792
  ) }) })
98599
98793
  ] }),
98600
98794
  /* @__PURE__ */ jsxRuntimeExports.jsx($t2, { title: `Component View`, subtitle: params.componentKey })
@@ -98716,17 +98910,17 @@ let Plugin$2 = class Plugin {
98716
98910
  colorStart: {
98717
98911
  type: "color",
98718
98912
  title: "Start Color",
98719
- default: "#e52e71"
98913
+ default: "#d2276c"
98720
98914
  },
98721
98915
  colorEnd: {
98722
98916
  type: "color",
98723
98917
  title: "End Color",
98724
- default: "#ff8a00"
98918
+ default: "#170070"
98725
98919
  },
98726
98920
  speed: {
98727
98921
  type: "number",
98728
98922
  title: "Speed",
98729
- default: 0.5,
98923
+ default: 1,
98730
98924
  min: 0.1,
98731
98925
  max: 2,
98732
98926
  step: 0.1,
@@ -98742,12 +98936,38 @@ let Plugin$2 = class Plugin {
98742
98936
  colorStart: {
98743
98937
  type: "color",
98744
98938
  title: "Start Color",
98745
- default: "#e52e71"
98939
+ default: "#26a88d"
98746
98940
  },
98747
98941
  colorEnd: {
98748
98942
  type: "color",
98749
98943
  title: "End Color",
98750
- default: "#ff8a00"
98944
+ default: "#00796b"
98945
+ },
98946
+ speed: {
98947
+ type: "number",
98948
+ title: "Speed",
98949
+ default: 1,
98950
+ min: 0.1,
98951
+ max: 2,
98952
+ step: 0.1,
98953
+ minLabel: "Fast",
98954
+ maxLabel: "Slow"
98955
+ }
98956
+ }
98957
+ });
98958
+ registry2.registerCollectionItem("backgrounds", "wave", {
98959
+ name: "Wave",
98960
+ component: (props) => /* @__PURE__ */ jsxRuntimeExports.jsx(WaveBackground, { ...props }),
98961
+ props: {
98962
+ colorStart: {
98963
+ type: "color",
98964
+ title: "Start Color",
98965
+ default: "#3a88ba"
98966
+ },
98967
+ colorEnd: {
98968
+ type: "color",
98969
+ title: "End Color",
98970
+ default: "#0b5774"
98751
98971
  },
98752
98972
  speed: {
98753
98973
  type: "number",
@@ -98758,6 +98978,42 @@ let Plugin$2 = class Plugin {
98758
98978
  step: 0.1,
98759
98979
  minLabel: "Fast",
98760
98980
  maxLabel: "Slow"
98981
+ },
98982
+ tide: {
98983
+ type: "number",
98984
+ title: "Tide",
98985
+ default: 3,
98986
+ min: 1,
98987
+ max: 10,
98988
+ step: 1,
98989
+ minLabel: "Low",
98990
+ maxLabel: "High"
98991
+ }
98992
+ }
98993
+ });
98994
+ registry2.registerCollectionItem("backgrounds", "slant", {
98995
+ name: "Slant",
98996
+ component: (props) => /* @__PURE__ */ jsxRuntimeExports.jsx(SlantBackground, { ...props }),
98997
+ props: {
98998
+ colorStart: {
98999
+ type: "color",
99000
+ title: "Start Color",
99001
+ default: "#6c3"
99002
+ },
99003
+ colorEnd: {
99004
+ type: "color",
99005
+ title: "End Color",
99006
+ default: "#09f"
99007
+ },
99008
+ speed: {
99009
+ type: "number",
99010
+ title: "Speed",
99011
+ default: 30,
99012
+ min: 5,
99013
+ max: 55,
99014
+ step: 5,
99015
+ minLabel: "Fast",
99016
+ maxLabel: "Slow"
98761
99017
  }
98762
99018
  }
98763
99019
  });
@@ -98789,7 +99045,7 @@ let Plugin$2 = class Plugin {
98789
99045
  return [
98790
99046
  {
98791
99047
  key: "card-button",
98792
- element: (props) => /* @__PURE__ */ jsxRuntimeExports.jsx(Bt2, { ...props })
99048
+ element: (props) => /* @__PURE__ */ jsxRuntimeExports.jsx(Ct2, { ...props })
98793
99049
  },
98794
99050
  {
98795
99051
  key: "command-group",
@@ -99132,7 +99388,7 @@ const CalendarTiles = ({
99132
99388
  more > 0 && /* @__PURE__ */ jsxRuntimeExports.jsxs(MoreContainer, { children: [
99133
99389
  /* @__PURE__ */ jsxRuntimeExports.jsx(MoreSpacer, {}),
99134
99390
  /* @__PURE__ */ jsxRuntimeExports.jsx(More, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(
99135
- yt2,
99391
+ kt2,
99136
99392
  {
99137
99393
  title: `${more} more today`,
99138
99394
  icon: "none",
@@ -102210,7 +102466,8 @@ const EntityButton = ({
102210
102466
  title,
102211
102467
  entityId,
102212
102468
  iconName = "IoMedicalSharp",
102213
- variant = "toggle"
102469
+ variant = "toggle",
102470
+ square = true
102214
102471
  }) => {
102215
102472
  const entities = useEntities();
102216
102473
  const [loading, setLoading] = useState$1(false);
@@ -102224,7 +102481,7 @@ const EntityButton = ({
102224
102481
  const disabled = !entity;
102225
102482
  const active = entity && entity.state === "on";
102226
102483
  return /* @__PURE__ */ jsxRuntimeExports.jsx(
102227
- Bt2,
102484
+ Ct2,
102228
102485
  {
102229
102486
  variant,
102230
102487
  active,
@@ -102237,7 +102494,8 @@ const EntityButton = ({
102237
102494
  iconBackColor: active ? "#ffcc01" : "#ffffff22",
102238
102495
  iconColor: active ? "#fff" : "#fff",
102239
102496
  iconColorActive: "#fff",
102240
- loading
102497
+ loading,
102498
+ square
102241
102499
  }
102242
102500
  );
102243
102501
  };
@@ -102277,7 +102535,12 @@ function transformMediaData(data) {
102277
102535
  album: data.attributes.media_album_name
102278
102536
  };
102279
102537
  }
102280
- const MediaButton = ({ entityId, title = "Media", variant }) => {
102538
+ const MediaButton = ({
102539
+ entityId,
102540
+ title = "Media",
102541
+ variant,
102542
+ square = true
102543
+ }) => {
102281
102544
  const entities = useEntities();
102282
102545
  const [loading, setLoading] = useState$1(false);
102283
102546
  const [state2, setState2] = useState$1("");
@@ -102298,14 +102561,15 @@ const MediaButton = ({ entityId, title = "Media", variant }) => {
102298
102561
  const iconName = state2 === "playing" ? "MdPause" : "MdPlayArrow";
102299
102562
  const disabled = !entity;
102300
102563
  return /* @__PURE__ */ jsxRuntimeExports.jsx(
102301
- Bt2,
102564
+ Ct2,
102302
102565
  {
102303
102566
  variant,
102304
102567
  disabled: loading || disabled,
102305
102568
  title,
102306
102569
  onClick: handleStateToggle,
102307
102570
  iconName,
102308
- loading
102571
+ loading,
102572
+ square
102309
102573
  }
102310
102574
  );
102311
102575
  };
@@ -102505,7 +102769,7 @@ const MediaView = ({ api: api2, entityId, showLargeContent = false }) => {
102505
102769
  /* @__PURE__ */ jsxRuntimeExports.jsx(MediaTrack, { entity: media }),
102506
102770
  /* @__PURE__ */ jsxRuntimeExports.jsxs(u0, { paddingTop: 0, collapse: true, children: [
102507
102771
  /* @__PURE__ */ jsxRuntimeExports.jsx(
102508
- _U1,
102772
+ IU1,
102509
102773
  {
102510
102774
  variant: "clear",
102511
102775
  width: 50,
@@ -102518,7 +102782,7 @@ const MediaView = ({ api: api2, entityId, showLargeContent = false }) => {
102518
102782
  ),
102519
102783
  /* @__PURE__ */ jsxRuntimeExports.jsx(ControlSpacer, {}),
102520
102784
  /* @__PURE__ */ jsxRuntimeExports.jsx(
102521
- _U1,
102785
+ IU1,
102522
102786
  {
102523
102787
  variant: "clear",
102524
102788
  width: 50,
@@ -102534,6 +102798,60 @@ const MediaView = ({ api: api2, entityId, showLargeContent = false }) => {
102534
102798
  ] })
102535
102799
  ] }) });
102536
102800
  };
102801
+ function tryParseNumber(value, defValue) {
102802
+ const parsed = parseInt(value);
102803
+ return isNaN(parsed) ? defValue : parsed;
102804
+ }
102805
+ const SensorCard = ({
102806
+ title,
102807
+ entityId,
102808
+ iconName = "MdOutlineDeviceThermostat",
102809
+ clear = false,
102810
+ square = true
102811
+ }) => {
102812
+ const entity = useEntity(entityId);
102813
+ const state2 = entity ? tryParseNumber(entity.state) : void 0;
102814
+ const value = entity && state2 ? `${state2} ${entity.attributes.unit_of_measurement}` : "?";
102815
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(
102816
+ Bt2,
102817
+ {
102818
+ variant: clear ? "clear" : "normal",
102819
+ square,
102820
+ label: "sensor-card",
102821
+ children: /* @__PURE__ */ jsxRuntimeExports.jsxs(u0, { direction: "vert", padding: 10, paddingTop: 12, children: [
102822
+ /* @__PURE__ */ jsxRuntimeExports.jsx(u0, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(G4, { name: iconName, size: 30 }) }),
102823
+ /* @__PURE__ */ jsxRuntimeExports.jsxs(u0, { direction: "vert", paddingHorz: 4, children: [
102824
+ /* @__PURE__ */ jsxRuntimeExports.jsx(h4, { size: "large", weight: "xbold", children: value }),
102825
+ /* @__PURE__ */ jsxRuntimeExports.jsx(h4, { size: "normal", weight: "normal", children: title })
102826
+ ] })
102827
+ ] })
102828
+ }
102829
+ );
102830
+ };
102831
+ const EntitiesScreen = () => {
102832
+ const entities = useEntities();
102833
+ const [selectedKey, setSelectedKey] = useState$1("");
102834
+ const menuItems = Object.keys(entities).map((key) => ({
102835
+ title: entities[key].attributes.friendly_name || "Unknown",
102836
+ key
102837
+ }));
102838
+ const handleMenuSelection = (key) => {
102839
+ setSelectedKey(key);
102840
+ };
102841
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(Wt2, { overlay: false, children: /* @__PURE__ */ jsxRuntimeExports.jsxs(Fq1, { fullscreen: true, cols: "40% auto", rows: "60px auto", children: [
102842
+ /* @__PURE__ */ jsxRuntimeExports.jsx(St2, { colSpan: 2, children: /* @__PURE__ */ jsxRuntimeExports.jsx($t2, { title: "Home Assistant Entities" }) }),
102843
+ /* @__PURE__ */ jsxRuntimeExports.jsx(u0, { direction: "vert", vscroll: "auto", hscroll: "hidden", padding: 15, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
102844
+ yt2,
102845
+ {
102846
+ items: menuItems,
102847
+ onSelect: handleMenuSelection,
102848
+ initialKey: selectedKey,
102849
+ compact: true
102850
+ }
102851
+ ) }),
102852
+ /* @__PURE__ */ jsxRuntimeExports.jsx(u0, { vscroll: "auto", hscroll: "hidden", padding: 15, children: selectedKey && /* @__PURE__ */ jsxRuntimeExports.jsx("pre", { style: { fontSize: 16 }, children: JSON.stringify(entities[selectedKey], null, 2) }) })
102853
+ ] }) });
102854
+ };
102537
102855
  class Plugin3 {
102538
102856
  constructor(config2) {
102539
102857
  __publicField(this, "config");
@@ -102568,6 +102886,18 @@ class Plugin3 {
102568
102886
  {
102569
102887
  key: "entity-button",
102570
102888
  element: (props) => /* @__PURE__ */ jsxRuntimeExports.jsx(EntityButton, { ...props })
102889
+ },
102890
+ {
102891
+ key: "sensor-card",
102892
+ element: (props) => /* @__PURE__ */ jsxRuntimeExports.jsx(SensorCard, { ...props })
102893
+ }
102894
+ ];
102895
+ }
102896
+ get screens() {
102897
+ return [
102898
+ {
102899
+ path: "/entities",
102900
+ element: (props) => /* @__PURE__ */ jsxRuntimeExports.jsx(EntitiesScreen, { ...props })
102571
102901
  }
102572
102902
  ];
102573
102903
  }
@@ -102709,7 +103039,7 @@ async function updatePlugins(email, password) {
102709
103039
  {
102710
103040
  key: "base",
102711
103041
  pluginName: "base",
102712
- pluginVersion: "0.26.0",
103042
+ pluginVersion: "0.27.0",
102713
103043
  pluginConfig: []
102714
103044
  }
102715
103045
  ],
@@ -103889,7 +104219,7 @@ const transitionDelay = 0;
103889
104219
  const BoardProvider = ({ email, password, plugin, pluginConfig }) => {
103890
104220
  const config2 = useUserConfig(email, password, plugin, pluginConfig);
103891
104221
  console.log("### LOADED", config2);
103892
- return /* @__PURE__ */ jsxRuntimeExports.jsxs(ThemeProvider, { theme: C1, children: [
104222
+ return /* @__PURE__ */ jsxRuntimeExports.jsxs(ThemeProvider, { theme: B1, children: [
103893
104223
  /* @__PURE__ */ jsxRuntimeExports.jsx(BoardStyles, { transitionDelay }),
103894
104224
  /* @__PURE__ */ jsxRuntimeExports.jsx(Background, {}),
103895
104225
  /* @__PURE__ */ jsxRuntimeExports.jsx(Router, { userConfig: config2, transitionDelay }),