@plaidlabs/ui 0.1.9 → 0.1.11

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.js CHANGED
@@ -19738,7 +19738,7 @@ function Bf({ color: t, icon: e, children: n, className: r }) {
19738
19738
  ] });
19739
19739
  }
19740
19740
  var Jl = ne({ defaultClassName: "ad449n0", variantClassNames: { state: { default: "ad449n1 _1b653mpo", selected: "ad449n2 _1b653mpn" }, icon: { left: "ad449n3", none: "ad449n4" }, arrow: { right: "ad449n5", none: "ad449n6" }, size: { item: "ad449n7", option: "ad449n8" } }, defaultVariants: { state: "default", size: "item", icon: "none", arrow: "none" }, compoundVariants: [[{ size: "option" }, "ad449n9"], [{ size: "item", icon: "left" }, "ad449na"], [{ size: "item", icon: "left", arrow: "right" }, "ad449nb"], [{ size: "option", icon: "left" }, "ad449nc"]] }), Zl = "ad449nd", ec = "ad449ne", UP = "ad449nf", zP = "ad449ng", WP = "ad449nh", GP = "ad449ni", YP = "ad449nj", qP = "ad449nk", XP = "ad449nl";
19741
- function X6({
19741
+ function XC({
19742
19742
  size: t = "item",
19743
19743
  icon: e,
19744
19744
  iconPosition: n = "none",
@@ -19801,7 +19801,7 @@ function X6({
19801
19801
  ] }) : /* @__PURE__ */ c(Le, { className: w, "data-selected": o, onPress: u, ...A, children: E() });
19802
19802
  }
19803
19803
  var JP = ne({ defaultClassName: "qzzfja0", variantClassNames: { size: { md: "qzzfja1 _1b653mpn", sm: "qzzfja2 _1b653mps" }, color: { blue: "qzzfja3", gray700: "qzzfja4", gray500: "qzzfja5" } }, defaultVariants: { size: "md", color: "blue" }, compoundVariants: [] });
19804
- function J6({
19804
+ function JC({
19805
19805
  size: t,
19806
19806
  color: e,
19807
19807
  href: n,
@@ -19915,7 +19915,7 @@ function u8(t) {
19915
19915
  const e = Math.floor(t / 60), n = t % 60;
19916
19916
  return `${e}:${n.toString().padStart(2, "0")}`;
19917
19917
  }
19918
- function Z6({
19918
+ function ZC({
19919
19919
  color: t,
19920
19920
  icon: e = !1,
19921
19921
  time: n,
@@ -19940,7 +19940,7 @@ function Z6({
19940
19940
  ] });
19941
19941
  }
19942
19942
  var A8 = ne({ defaultClassName: "x7yz2o0", variantClassNames: { color: { blue: "x7yz2o1", gray: "x7yz2o2" } }, defaultVariants: { color: "blue" }, compoundVariants: [] }), f8 = "x7yz2o3", h8 = ne({ defaultClassName: "x7yz2o4", variantClassNames: { size: { md: "x7yz2o5", sm: "x7yz2o6" }, color: { blue: "x7yz2o7", gray: "x7yz2o8" }, status: { completed: "x7yz2o9 _1b653mps", active: "x7yz2oa _1b653mpq", inactive: "x7yz2ob _1b653mps" } }, defaultVariants: { size: "md", color: "blue", status: "inactive" }, compoundVariants: [[{ color: "blue", status: "completed" }, "x7yz2oc"], [{ color: "blue", status: "active" }, "x7yz2od"], [{ color: "blue", status: "inactive" }, "x7yz2oe"], [{ color: "gray", status: "completed" }, "x7yz2of"], [{ color: "gray", status: "active" }, "x7yz2og"], [{ color: "gray", status: "inactive" }, "x7yz2oh"]] });
19943
- function eC({
19943
+ function e6({
19944
19944
  totalSteps: t,
19945
19945
  currentStep: e,
19946
19946
  size: n = "md",
@@ -19966,7 +19966,7 @@ function eC({
19966
19966
  }) }) });
19967
19967
  }
19968
19968
  var p8 = "_18nbbr40", v8 = ne({ defaultClassName: "_18nbbr41", variantClassNames: { size: { 20: "_18nbbr42", 24: "_18nbbr43" }, color: { blue_1000: "_18nbbr44", gray_700: "_18nbbr45" } }, defaultVariants: {}, compoundVariants: [] }), g8 = "_18nbbr46", m8 = ne({ defaultClassName: "_18nbbr47", variantClassNames: { size: { 20: "_18nbbr48 _1b653mpr", 24: "_18nbbr49 _1b653mpo" } }, defaultVariants: {}, compoundVariants: [] });
19969
- function tC({
19969
+ function t6({
19970
19970
  size: t,
19971
19971
  color: e,
19972
19972
  isDisabled: n = !1,
@@ -19993,7 +19993,7 @@ function tC({
19993
19993
  ) });
19994
19994
  }
19995
19995
  var w8 = ne({ defaultClassName: "_1ywrdep0", variantClassNames: { variant: { filled: "_1ywrdep1", outlined: "_1ywrdep2", light: "_1ywrdep3" }, shape: { square: "_1ywrdep4", round: "_1ywrdep5" }, size: { lg: "_1ywrdep6 _1b653mpr", md: "_1ywrdep7 _1b653mpu", sm: "_1ywrdep8 _1b653mpu" }, color: { blue: "_1ywrdep9", green: "_1ywrdepa", red: "_1ywrdepb", yellow: "_1ywrdepc", gray500: "_1ywrdepd", gray800: "_1ywrdepe" }, iconType: { none: "_1ywrdepf", left: "_1ywrdepg", right: "_1ywrdeph", only: "_1ywrdepi" } }, defaultVariants: { variant: "filled", color: "gray500", size: "md", shape: "round", iconType: "none" }, compoundVariants: [[{ variant: "filled", color: "blue" }, "_1ywrdepj"], [{ variant: "outlined", color: "blue" }, "_1ywrdepk"], [{ variant: "light", color: "blue" }, "_1ywrdepl"], [{ variant: "filled", color: "green" }, "_1ywrdepm"], [{ variant: "outlined", color: "green" }, "_1ywrdepn"], [{ variant: "light", color: "green" }, "_1ywrdepo"], [{ variant: "filled", color: "red" }, "_1ywrdepp"], [{ variant: "outlined", color: "red" }, "_1ywrdepq"], [{ variant: "light", color: "red" }, "_1ywrdepr"], [{ variant: "filled", color: "yellow" }, "_1ywrdeps"], [{ variant: "outlined", color: "yellow" }, "_1ywrdept"], [{ variant: "light", color: "yellow" }, "_1ywrdepu"], [{ variant: "filled", color: "gray500" }, "_1ywrdepv"], [{ variant: "outlined", color: "gray500" }, "_1ywrdepw"], [{ variant: "light", color: "gray500" }, "_1ywrdepx"], [{ variant: "filled", color: "gray800" }, "_1ywrdepy"], [{ variant: "outlined", color: "gray800" }, "_1ywrdepz"], [{ variant: "light", color: "gray800" }, "_1ywrdep10"], [{ shape: "square", size: "lg", iconType: "none" }, "_1ywrdep11"], [{ shape: "square", size: "lg", iconType: "left" }, "_1ywrdep12"], [{ shape: "square", size: "lg", iconType: "right" }, "_1ywrdep13"], [{ shape: "square", size: "lg", iconType: "only" }, "_1ywrdep14"], [{ shape: "square", size: "md", iconType: "none" }, "_1ywrdep15"], [{ shape: "square", size: "md", iconType: "left" }, "_1ywrdep16"], [{ shape: "square", size: "md", iconType: "right" }, "_1ywrdep17"], [{ shape: "square", size: "md", iconType: "only" }, "_1ywrdep18"], [{ shape: "square", size: "sm", iconType: "none" }, "_1ywrdep19"], [{ shape: "square", size: "sm", iconType: "left" }, "_1ywrdep1a"], [{ shape: "square", size: "sm", iconType: "right" }, "_1ywrdep1b"], [{ shape: "square", size: "sm", iconType: "only" }, "_1ywrdep1c"], [{ shape: "round", size: "lg", iconType: "none" }, "_1ywrdep1d"], [{ shape: "round", size: "lg", iconType: "left" }, "_1ywrdep1e"], [{ shape: "round", size: "lg", iconType: "right" }, "_1ywrdep1f"], [{ shape: "round", size: "lg", iconType: "only" }, "_1ywrdep1g"], [{ shape: "round", size: "md", iconType: "none" }, "_1ywrdep1h"], [{ shape: "round", size: "md", iconType: "left" }, "_1ywrdep1i"], [{ shape: "round", size: "md", iconType: "right" }, "_1ywrdep1j"], [{ shape: "round", size: "md", iconType: "only" }, "_1ywrdep1k"], [{ shape: "round", size: "sm", iconType: "none" }, "_1ywrdep1l"], [{ shape: "round", size: "sm", iconType: "left" }, "_1ywrdep1m"], [{ shape: "round", size: "sm", iconType: "right" }, "_1ywrdep1n"], [{ shape: "round", size: "sm", iconType: "only" }, "_1ywrdep1o"]] });
19996
- function nC({
19996
+ function n6({
19997
19997
  children: t,
19998
19998
  variant: e = "filled",
19999
19999
  color: n = "gray500",
@@ -20183,7 +20183,7 @@ const G8 = ue(
20183
20183
  );
20184
20184
  G8.displayName = "TextArea";
20185
20185
  var Y8 = "_14e2oez0", q8 = ne({ defaultClassName: "_14e2oez1", variantClassNames: { color: { blue: "_14e2oez2", green: "_14e2oez3" }, checked: { false: "_14e2oez4", true: "_14e2oez5" } }, defaultVariants: {}, compoundVariants: [[{ color: "blue", checked: !0 }, "_14e2oez6"], [{ color: "green", checked: !0 }, "_14e2oez7"]] }), X8 = ne({ defaultClassName: "_14e2oez8", variantClassNames: { checked: { false: "_14e2oez9", true: "_14e2oeza" } }, defaultVariants: {}, compoundVariants: [] }), J8 = "_14e2oezb", nc = ne({ defaultClassName: "_14e2oezc _1b653mpv", variantClassNames: { color: { blue: "_14e2oezd", green: "_14e2oeze" }, position: { left: "_14e2oezf", right: "_14e2oezg" }, checked: { true: "_14e2oezh", false: "_14e2oezi" } }, defaultVariants: {}, compoundVariants: [[{ position: "left", checked: !1 }, "_14e2oezj"], [{ position: "right", checked: !1 }, "_14e2oezk"], [{ color: "blue", position: "left", checked: !0 }, "_14e2oezl"], [{ color: "green", position: "left", checked: !0 }, "_14e2oezm"], [{ color: "blue", position: "right", checked: !0 }, "_14e2oezn"], [{ color: "green", position: "right", checked: !0 }, "_14e2oezo"]] });
20186
- function rC({
20186
+ function r6({
20187
20187
  color: t,
20188
20188
  text: e = "text_none",
20189
20189
  isDisabled: n = !1,
@@ -20208,7 +20208,7 @@ function rC({
20208
20208
  ) });
20209
20209
  }
20210
20210
  var Z8 = "qzops00", bn = ne({ defaultClassName: "qzops01", variantClassNames: { type: { number: "qzops02", arrow: "qzops03", arrowDuo: "qzops04" }, state: { default: "qzops05 _1b653mps", selected: "qzops06 _1b653mpq" }, disabled: { true: "qzops07", false: "qzops08" } }, defaultVariants: { type: "number", state: "default", disabled: !1 }, compoundVariants: [] }), rc = "qzops09", e5 = "qzops0a";
20211
- function oC({
20211
+ function o6({
20212
20212
  currentPage: t,
20213
20213
  totalPages: e,
20214
20214
  onPageChange: n,
@@ -20449,7 +20449,7 @@ Yn.Trigger = function({
20449
20449
  return /* @__PURE__ */ c($u, { isOpen: n, onOpenChange: r, ...o, children: e });
20450
20450
  };
20451
20451
  var S5 = "_1ry8e4g0", D5 = "_1ry8e4g1", T5 = "_1ry8e4g2 _1b653mps", M5 = ne({ defaultClassName: "_1ry8e4g3 _1b653mpo", variantClassNames: { selected: { true: "_1ry8e4g4", false: "_1ry8e4g5" }, disabled: { true: "_1ry8e4g6", false: "_1ry8e4g7" }, size: { sm: "_1ry8e4g8 _1b653mpr", md: "_1ry8e4g9 _1b653mpo" }, subTextLayout: { none: "_1ry8e4ga", caption: "_1ry8e4gb", title: "_1ry8e4gc" } }, defaultVariants: { selected: !1, disabled: !1, size: "md", subTextLayout: "none" }, compoundVariants: [[{ disabled: !0, selected: !1 }, "_1ry8e4gd"], [{ disabled: !0, selected: !0 }, "_1ry8e4ge"]] }), I5 = ne({ defaultClassName: "_1ry8e4gf _1b653mpr", variantClassNames: { selected: { true: "_1ry8e4gg", false: "_1ry8e4gh" }, disabled: { true: "_1ry8e4gi", false: "_1ry8e4gj" }, size: { sm: "_1ry8e4gk", md: "_1ry8e4gl" } }, defaultVariants: { selected: !1, disabled: !1, size: "sm" }, compoundVariants: [[{ size: "sm" }, "_1ry8e4gm"], [{ size: "md" }, "_1ry8e4gn"], [{ disabled: !0, selected: !1 }, "_1ry8e4go"], [{ disabled: !0, selected: !0 }, "_1ry8e4gp"]] }), $5 = "_1ry8e4gq", N5 = "_1ry8e4gr", R5 = "_1ry8e4gs", L5 = "_1ry8e4gt", Q5 = "_1ry8e4gu _1b653mps", O5 = "_1ry8e4gw _1b653mpp", _5 = "_1ry8e4gx", V5 = "_1ry8e4gy", H5 = "_1ry8e4gz", j5 = "_1ry8e4g10", F5 = "_1ry8e4g11", K5 = "_1ry8e4g12", U5 = "_1ry8e4g14", z5 = "_1ry8e4g15", W5 = "_1ry8e4g16", G5 = "_1ry8e4g17";
20452
- function iC({
20452
+ function i6({
20453
20453
  size: t = "md",
20454
20454
  isSelected: e = !1,
20455
20455
  isDisabled: n = !1,
@@ -20560,7 +20560,7 @@ function iC({
20560
20560
  );
20561
20561
  }
20562
20562
  var Y5 = ne({ defaultClassName: "ikpske0 _1b653mpu", variantClassNames: { selected: { true: "ikpske1", false: "ikpske2" } }, defaultVariants: { selected: !1 }, compoundVariants: [] }), q5 = ne({ defaultClassName: "ikpske3", variantClassNames: { selected: { true: "ikpske4", false: "ikpske5" } }, defaultVariants: { selected: !1 }, compoundVariants: [] }), X5 = ne({ defaultClassName: "ikpske6", variantClassNames: {}, defaultVariants: {}, compoundVariants: [] }), J5 = ne({ defaultClassName: "ikpske7", variantClassNames: { selected: { true: "ikpske8", false: "ikpske9" } }, defaultVariants: {}, compoundVariants: [] });
20563
- function aC({ items: t, selectedValue: e, onChange: n, className: r }) {
20563
+ function a6({ items: t, selectedValue: e, onChange: n, className: r }) {
20564
20564
  const o = (i) => {
20565
20565
  i !== e && n(i);
20566
20566
  };
@@ -20584,7 +20584,7 @@ function aC({ items: t, selectedValue: e, onChange: n, className: r }) {
20584
20584
  }) });
20585
20585
  }
20586
20586
  var cr = "_117koae0", Z5 = "_117koae1", e7 = ne({ defaultClassName: "_117koae2 _1b653mpk", variantClassNames: { hasIcons: { true: "_117koae3", false: "_117koae4" }, hasLeftIcon: { true: "_117koae5", false: "_117koae6" }, hasRightIcon: { true: "_117koae7", false: "_117koae8" } }, defaultVariants: {}, compoundVariants: [[{ hasIcons: !1, hasLeftIcon: !1, hasRightIcon: !1 }, "_117koae9"], [{ hasIcons: !0, hasLeftIcon: !0, hasRightIcon: !1 }, "_117koaea"], [{ hasIcons: !0, hasLeftIcon: !0, hasRightIcon: !0 }, "_117koaeb"], [{ hasIcons: !0, hasLeftIcon: !1, hasRightIcon: !0 }, "_117koaec"]] });
20587
- function sC({
20587
+ function s6({
20588
20588
  title: t,
20589
20589
  leftIcon: e,
20590
20590
  rightIcon: n,
@@ -20659,7 +20659,7 @@ function sC({
20659
20659
  );
20660
20660
  }
20661
20661
  var t7 = "l8gt0i0", n7 = "l8gt0i1", r7 = "l8gt0i2 _1b653mpp";
20662
- function lC({ items: t, withPanel: e, className: n, ...r }) {
20662
+ function l6({ items: t, withPanel: e, className: n, ...r }) {
20663
20663
  const o = e !== !1;
20664
20664
  return /* @__PURE__ */ k(og, { className: re(t7, n), ...r, children: [
20665
20665
  /* @__PURE__ */ c(ag, { className: n7, children: t.map((i) => /* @__PURE__ */ c(
@@ -23581,7 +23581,7 @@ const Va = () => {
23581
23581
  a != null && a.settings && Object.keys(a == null ? void 0 : a.settings).length !== 0 && (o = it(a.settings, o)), a != null && a.styles && Object.keys(a == null ? void 0 : a.styles).length !== 0 && (i = it(a.styles, i));
23582
23582
  }), e(o), n(i);
23583
23583
  }, []);
23584
- }, e6 = ({
23584
+ }, eC = ({
23585
23585
  plugins: t,
23586
23586
  slots: e
23587
23587
  }) => {
@@ -23697,7 +23697,7 @@ const Va = () => {
23697
23697
  )
23698
23698
  }
23699
23699
  ) }) }) : null;
23700
- }, t6 = ({
23700
+ }, tC = ({
23701
23701
  id: t,
23702
23702
  flow: e,
23703
23703
  settings: n,
@@ -23736,7 +23736,7 @@ const Va = () => {
23736
23736
  return U(() => {
23737
23737
  A();
23738
23738
  }, [o]), null;
23739
- }, Oo = ["Quickstart", "API Docs", "Examples", "Github", "Discord"], n6 = {
23739
+ }, Oo = ["Quickstart", "API Docs", "Examples", "Github", "Discord"], nC = {
23740
23740
  start: {
23741
23741
  message: "Hello, I am Tan Jin 👋! Welcome to React ChatBotify, I'm excited that you are using our chatbot 😊!",
23742
23742
  transition: { duration: 1e3 },
@@ -23790,7 +23790,7 @@ const Va = () => {
23790
23790
  transition: { duration: 3e3 },
23791
23791
  path: "prompt_again"
23792
23792
  }
23793
- }, r6 = ({
23793
+ }, rC = ({
23794
23794
  id: t,
23795
23795
  flow: e,
23796
23796
  settings: n,
@@ -23799,13 +23799,13 @@ const Va = () => {
23799
23799
  plugins: i,
23800
23800
  slots: a
23801
23801
  }) => {
23802
- const s = J(() => t || "rcb-" + Ir(), []), l = !e || Object.keys(e).length === 0 ? n6 : e, d = n || {}, u = r || {}, A = i || [], [f, h] = W(!1), p = Zf(), v = V(null), [g, w] = W(o || []);
23802
+ const s = J(() => t || "rcb-" + Ir(), []), l = !e || Object.keys(e).length === 0 ? nC : e, d = n || {}, u = r || {}, A = i || [], [f, h] = W(!1), p = Zf(), v = V(null), [g, w] = W(o || []);
23803
23803
  U(() => {
23804
23804
  o && w(o);
23805
23805
  }, [o]);
23806
23806
  const P = () => /* @__PURE__ */ k(be, { children: [
23807
23807
  /* @__PURE__ */ c(
23808
- t6,
23808
+ tC,
23809
23809
  {
23810
23810
  styleRootRef: v,
23811
23811
  id: s,
@@ -23817,7 +23817,7 @@ const Va = () => {
23817
23817
  setConfigLoaded: h
23818
23818
  }
23819
23819
  ),
23820
- f && /* @__PURE__ */ c(e6, { plugins: i, slots: a })
23820
+ f && /* @__PURE__ */ c(eC, { plugins: i, slots: a })
23821
23821
  ] });
23822
23822
  return p == null ? /* @__PURE__ */ k(eh, { children: [
23823
23823
  /* @__PURE__ */ c("style", { ref: v }),
@@ -23826,13 +23826,13 @@ const Va = () => {
23826
23826
  /* @__PURE__ */ c("style", { ref: v }),
23827
23827
  /* @__PURE__ */ c("div", { id: s, children: P() })
23828
23828
  ] });
23829
- }, o6 = () => {
23829
+ }, oC = () => {
23830
23830
  const { botIdRef: t } = Ce();
23831
23831
  return {
23832
23832
  getBotId: L(() => t.current, [t])
23833
23833
  };
23834
- }, i6 = () => {
23835
- const { getBotId: t } = o6();
23834
+ }, iC = () => {
23835
+ const { getBotId: t } = oC();
23836
23836
  return {
23837
23837
  getBotId: t
23838
23838
  };
@@ -23851,7 +23851,7 @@ const Va = () => {
23851
23851
  scrollToBottom: r,
23852
23852
  getIsChatBotVisible: o
23853
23853
  };
23854
- }, a6 = () => {
23854
+ }, aC = () => {
23855
23855
  const {
23856
23856
  endStreamMessage: t,
23857
23857
  injectMessage: e,
@@ -23872,8 +23872,8 @@ const Va = () => {
23872
23872
  replaceMessages: a,
23873
23873
  getMessages: s
23874
23874
  };
23875
- }, s6 = (t, e) => {
23876
- const { getBotId: n } = i6();
23875
+ }, sC = (t, e) => {
23876
+ const { getBotId: n } = iC();
23877
23877
  U(() => {
23878
23878
  const r = (o) => {
23879
23879
  o.detail.botId === n() && e(o);
@@ -23882,7 +23882,7 @@ const Va = () => {
23882
23882
  window.removeEventListener(t, r);
23883
23883
  };
23884
23884
  }, [n, t, e]);
23885
- }, l6 = () => {
23885
+ }, lC = () => {
23886
23886
  const {
23887
23887
  getCurrPath: t,
23888
23888
  getPrevPath: e,
@@ -23898,11 +23898,11 @@ const Va = () => {
23898
23898
  replacePaths: o
23899
23899
  };
23900
23900
  };
23901
- function c6(t) {
23901
+ function cC(t) {
23902
23902
  var e = t.match(/^var\((.*)\)$/);
23903
23903
  return e ? e[1] : t;
23904
23904
  }
23905
- function d6(t, e) {
23905
+ function dC(t, e) {
23906
23906
  var n = t;
23907
23907
  for (var r of e) {
23908
23908
  if (!(r in n))
@@ -23920,13 +23920,13 @@ function nh(t, e) {
23920
23920
  return r;
23921
23921
  }
23922
23922
  function uc(t, e, n) {
23923
- t.style.setProperty(c6(e), n);
23923
+ t.style.setProperty(cC(e), n);
23924
23924
  }
23925
- function u6(t, e, n) {
23925
+ function uC(t, e, n) {
23926
23926
  if (typeof n == "object") {
23927
23927
  var r = e;
23928
23928
  nh(n, (s, l) => {
23929
- s != null && uc(t, d6(r, l), String(s));
23929
+ s != null && uc(t, dC(r, l), String(s));
23930
23930
  });
23931
23931
  } else {
23932
23932
  var o = e;
@@ -23936,18 +23936,18 @@ function u6(t, e, n) {
23936
23936
  }
23937
23937
  }
23938
23938
  }
23939
- var A6 = { mainColor: "var(--_9qv48y0)", backgroundColor: "var(--_9qv48y1)", userBubbleBg: "var(--_9qv48y2)", userTextColor: "var(--_9qv48y3)", zIndex: "var(--_9qv48y4)" }, f6 = "_9qv48y5 _1b653mpk", h6 = "_9qv48y6", p6 = "_9qv48y7", v6 = "_9qv48y8", g6 = "_9qv48y9", m6 = "_9qv48ya", fe = { black: "#000000", white: "#ffffff", gray_50: "#f7f7fa", gray_100: "#f1f2f6", gray_200: "#dee0e7", gray_300: "#c5c7d2", gray_400: "#989aa4", gray_500: "#6e7078", gray_600: "#53545c", gray_700: "#3e3f46", gray_800: "#2f2f36", gray_900: "#1e1f22", blue_1000: "#0c5dde", blue_dark: "#003993", blue_gradient: "linear-gradient(25deg, #558ee8 0%, #9bbdf1 31.73%, #ccddf8 59.81%, #f3f7fd 100%)", blue_50: "#f3f7fd", blue_100: "#e7effc", blue_200: "#cedff8", blue_300: "#b6cef5", blue_400: "#9ebef2", blue_500: "#85aeef", blue_600: "#6d9eeb", blue_700: "#558ee8", blue_800: "#3d7de5", blue_900: "#246de1", blue_t_50: "#0c5dde0d", blue_t_100: "#0c5dde1a", blue_t_200: "#0c5dde33", blue_t_300: "#0c5dde4d", blue_t_400: "#0c5dde66", blue_t_500: "#0c5dde80", blue_t_600: "#0c5dde99", blue_t_700: "#0c5ddeb3", blue_t_800: "#0c5ddecc", blue_t_900: "#0c5ddee6", yellow_1000: "#f6bd00", yellow_dark: "#c89302", yellow_100: "#fef8e5", yellow_50: "#fffcf2", yellow_200: "#fdf2cc", yellow_300: "#fcebb2", yellow_400: "#fbe599", yellow_500: "#fbde80", yellow_600: "#fad766", yellow_700: "#f8ca33", yellow_800: "#f8ca33", yellow_900: "#f7c41a", yellow_t_50: "#f6bd000d", yellow_t_100: "#f6bd001a", yellow_t_200: "#f6bd0033", yellow_t_300: "#f6bd004d", yellow_t_400: "#f6bd0066", yellow_t_500: "#f6bd0080", yellow_t_600: "#f6bd0099", yellow_t_700: "#f6bd00b3", yellow_t_800: "#f6bd00cc", yellow_t_900: "#f6bd00e6", green_1000: "#00903d", green_dark: "#005e28", green_50: "#f2f9f5", green_100: "#e5f4ec", green_200: "#cce9d8", green_300: "#b2dec5", green_400: "#99d3b1", green_500: "#80c79e", green_600: "#66bc8b", green_700: "#4db177", green_800: "#33a664", green_900: "#1a9b50", green_t_50: "#00903d0d", green_t_100: "#00903d1a", green_t_200: "#00903d33", green_t_300: "#00903d4d", green_t_400: "#00903d66", green_t_500: "#00903d80", green_t_600: "#00903d99", green_t_700: "#00903db3", green_t_800: "#00903dcc", green_t_900: "#00903de6", red_1000: "#d21b1b", red_dark: "#861212", red_50: "#fdf4f4", red_100: "#fae8e8", red_200: "#f6d1d1", red_300: "#f1bbbb", red_400: "#eda4a4", red_500: "#e98d8d", red_600: "#e47676", red_700: "#e05f5f", red_800: "#db4949", red_900: "#d73232", red_t_50: "#d21b1b0d", red_t_100: "#d21b1b1a", red_t_200: "#d21b1b33", red_t_300: "#d21b1b4d", red_t_400: "#d21b1b66", red_t_500: "#d21b1b80", red_t_600: "#d21b1b99", red_t_700: "#d21b1bb3", red_t_800: "#d21b1bcc", red_t_900: "#d21b1be6" };
23939
+ var AC = { mainColor: "var(--_9qv48y0)", backgroundColor: "var(--_9qv48y1)", userBubbleBg: "var(--_9qv48y2)", userTextColor: "var(--_9qv48y3)", zIndex: "var(--_9qv48y4)" }, fC = "_9qv48y5 _1b653mpk", hC = "_9qv48y6", pC = "_9qv48y7", vC = "_9qv48y8", gC = "_9qv48y9", mC = "_9qv48ya", fe = { black: "#000000", white: "#ffffff", gray_50: "#f7f7fa", gray_100: "#f1f2f6", gray_200: "#dee0e7", gray_300: "#c5c7d2", gray_400: "#989aa4", gray_500: "#6e7078", gray_600: "#53545c", gray_700: "#3e3f46", gray_800: "#2f2f36", gray_900: "#1e1f22", blue_1000: "#0c5dde", blue_dark: "#003993", blue_gradient: "linear-gradient(25deg, #558ee8 0%, #9bbdf1 31.73%, #ccddf8 59.81%, #f3f7fd 100%)", blue_50: "#f3f7fd", blue_100: "#e7effc", blue_200: "#cedff8", blue_300: "#b6cef5", blue_400: "#9ebef2", blue_500: "#85aeef", blue_600: "#6d9eeb", blue_700: "#558ee8", blue_800: "#3d7de5", blue_900: "#246de1", blue_t_50: "#0c5dde0d", blue_t_100: "#0c5dde1a", blue_t_200: "#0c5dde33", blue_t_300: "#0c5dde4d", blue_t_400: "#0c5dde66", blue_t_500: "#0c5dde80", blue_t_600: "#0c5dde99", blue_t_700: "#0c5ddeb3", blue_t_800: "#0c5ddecc", blue_t_900: "#0c5ddee6", yellow_1000: "#f6bd00", yellow_dark: "#c89302", yellow_100: "#fef8e5", yellow_50: "#fffcf2", yellow_200: "#fdf2cc", yellow_300: "#fcebb2", yellow_400: "#fbe599", yellow_500: "#fbde80", yellow_600: "#fad766", yellow_700: "#f8ca33", yellow_800: "#f8ca33", yellow_900: "#f7c41a", yellow_t_50: "#f6bd000d", yellow_t_100: "#f6bd001a", yellow_t_200: "#f6bd0033", yellow_t_300: "#f6bd004d", yellow_t_400: "#f6bd0066", yellow_t_500: "#f6bd0080", yellow_t_600: "#f6bd0099", yellow_t_700: "#f6bd00b3", yellow_t_800: "#f6bd00cc", yellow_t_900: "#f6bd00e6", green_1000: "#00903d", green_dark: "#005e28", green_50: "#f2f9f5", green_100: "#e5f4ec", green_200: "#cce9d8", green_300: "#b2dec5", green_400: "#99d3b1", green_500: "#80c79e", green_600: "#66bc8b", green_700: "#4db177", green_800: "#33a664", green_900: "#1a9b50", green_t_50: "#00903d0d", green_t_100: "#00903d1a", green_t_200: "#00903d33", green_t_300: "#00903d4d", green_t_400: "#00903d66", green_t_500: "#00903d80", green_t_600: "#00903d99", green_t_700: "#00903db3", green_t_800: "#00903dcc", green_t_900: "#00903de6", red_1000: "#d21b1b", red_dark: "#861212", red_50: "#fdf4f4", red_100: "#fae8e8", red_200: "#f6d1d1", red_300: "#f1bbbb", red_400: "#eda4a4", red_500: "#e98d8d", red_600: "#e47676", red_700: "#e05f5f", red_800: "#db4949", red_900: "#d73232", red_t_50: "#d21b1b0d", red_t_100: "#d21b1b1a", red_t_200: "#d21b1b33", red_t_300: "#d21b1b4d", red_t_400: "#d21b1b66", red_t_500: "#d21b1b80", red_t_600: "#d21b1b99", red_t_700: "#d21b1bb3", red_t_800: "#d21b1bcc", red_t_900: "#d21b1be6" };
23940
23940
  const Ac = {
23941
23941
  view: "이전 채팅 불러오기 ⟳",
23942
23942
  lineBreak: "----- 이전 채팅 -----"
23943
- }, w6 = "메시지를 입력해주세요", yn = {
23943
+ }, wC = "메시지를 입력해주세요", yn = {
23944
23944
  mainColor: fe.gray_700,
23945
23945
  backgroundColor: fe.white,
23946
23946
  userBubbleBg: fe.gray_700,
23947
23947
  userTextColor: fe.white,
23948
23948
  zIndex: "25"
23949
23949
  };
23950
- function b6(t) {
23950
+ function bC(t) {
23951
23951
  return {
23952
23952
  mainColor: t.mainColor ?? yn.mainColor,
23953
23953
  backgroundColor: t.backgroundColor ?? yn.backgroundColor,
@@ -23956,7 +23956,7 @@ function b6(t) {
23956
23956
  zIndex: String(t.zIndex ?? yn.zIndex)
23957
23957
  };
23958
23958
  }
23959
- function y6(t, e, n, r) {
23959
+ function yC(t, e, n, r) {
23960
23960
  const o = t ?? {}, i = o.general ?? {}, a = o.device ?? {}, s = o.tooltip ?? {}, l = o.chatHistory ?? {}, d = o.chatInput ?? {}, u = o.chatWindow ?? {};
23961
23961
  return {
23962
23962
  ...o,
@@ -23972,7 +23972,7 @@ function y6(t, e, n, r) {
23972
23972
  },
23973
23973
  chatInput: {
23974
23974
  ...d,
23975
- enabledPlaceholderText: d.enabledPlaceholderText ?? (e == null ? void 0 : e.placeholder) ?? w6,
23975
+ enabledPlaceholderText: d.enabledPlaceholderText ?? (e == null ? void 0 : e.placeholder) ?? wC,
23976
23976
  characterLimit: d.characterLimit ?? (e == null ? void 0 : e.maxLength),
23977
23977
  sendButtonIcon: r
23978
23978
  },
@@ -23993,7 +23993,7 @@ function y6(t, e, n, r) {
23993
23993
  }
23994
23994
  };
23995
23995
  }
23996
- function P6(t, e) {
23996
+ function PC(t, e) {
23997
23997
  return {
23998
23998
  chatButtonStyle: { display: "none" },
23999
23999
  rootStyle: {},
@@ -24091,13 +24091,13 @@ function P6(t, e) {
24091
24091
  ...t ?? {}
24092
24092
  };
24093
24093
  }
24094
- const x6 = (t) => /* @__PURE__ */ c(Ef, { ...t, strokeWidth: 2 });
24095
- function C6({
24094
+ const xC = (t) => /* @__PURE__ */ c(Ef, { ...t, strokeWidth: 2 });
24095
+ function CC({
24096
24096
  onUserInput: t,
24097
24097
  contextRef: e
24098
24098
  }) {
24099
- const { injectMessage: n } = a6(), { goToPath: r } = l6();
24100
- return s6(Z.USER_SUBMIT_TEXT, async (o) => {
24099
+ const { injectMessage: n } = aC(), { goToPath: r } = lC();
24100
+ return sC(Z.USER_SUBMIT_TEXT, async (o) => {
24101
24101
  var l, d;
24102
24102
  if (!t) return;
24103
24103
  const i = (((l = o.data) == null ? void 0 : l.inputText) ?? "").trim();
@@ -24112,7 +24112,7 @@ function C6({
24112
24112
  s.context && (e.current = { ...e.current, ...s.context }), s.message && await n(s.message, "BOT"), s.nextNode && await r(s.nextNode);
24113
24113
  }), null;
24114
24114
  }
24115
- function E6({ isOpen: t, onOpenChange: e, onFirstOpen: n }) {
24115
+ function EC({ isOpen: t, onOpenChange: e, onFirstOpen: n }) {
24116
24116
  const { isChatWindowOpen: r, toggleChatWindow: o } = th(), i = V(o), a = typeof t == "boolean", s = a ? t : r, l = V(!1);
24117
24117
  U(() => {
24118
24118
  i.current = o;
@@ -24136,7 +24136,7 @@ function E6({ isOpen: t, onOpenChange: e, onFirstOpen: n }) {
24136
24136
  icon: /* @__PURE__ */ c(mc, { size: 28 }),
24137
24137
  iconPosition: "only",
24138
24138
  "aria-label": s ? "챗봇 열기" : "챗봇 닫기",
24139
- className: re(h6),
24139
+ className: re(hC),
24140
24140
  onPress: async () => {
24141
24141
  if (a) {
24142
24142
  const A = !s;
@@ -24155,11 +24155,11 @@ function E6({ isOpen: t, onOpenChange: e, onFirstOpen: n }) {
24155
24155
  }
24156
24156
  );
24157
24157
  }
24158
- function k6(t) {
24158
+ function kC(t) {
24159
24159
  return function() {
24160
24160
  const { toggleChatWindow: n } = th();
24161
- return /* @__PURE__ */ k("div", { className: p6, children: [
24162
- /* @__PURE__ */ k("div", { className: v6, children: [
24161
+ return /* @__PURE__ */ k("div", { className: pC, children: [
24162
+ /* @__PURE__ */ k("div", { className: vC, children: [
24163
24163
  /* @__PURE__ */ c(
24164
24164
  bc,
24165
24165
  {
@@ -24169,7 +24169,7 @@ function k6(t) {
24169
24169
  alt: (t == null ? void 0 : t.avatarAlt) ?? "브랜드 이미지"
24170
24170
  }
24171
24171
  ),
24172
- /* @__PURE__ */ c("div", { className: g6, children: (t == null ? void 0 : t.title) ?? "브랜드이름" })
24172
+ /* @__PURE__ */ c("div", { className: gC, children: (t == null ? void 0 : t.title) ?? "브랜드이름" })
24173
24173
  ] }),
24174
24174
  /* @__PURE__ */ c(
24175
24175
  Qa,
@@ -24177,7 +24177,7 @@ function k6(t) {
24177
24177
  color: "gray100",
24178
24178
  size: 24,
24179
24179
  "aria-label": "챗봇 닫기",
24180
- className: m6,
24180
+ className: mC,
24181
24181
  onPress: () => {
24182
24182
  n(!1).catch(() => {
24183
24183
  });
@@ -24187,7 +24187,7 @@ function k6(t) {
24187
24187
  ] });
24188
24188
  };
24189
24189
  }
24190
- function cC({
24190
+ function c6({
24191
24191
  flow: t,
24192
24192
  onUserInput: e,
24193
24193
  settings: n,
@@ -24204,27 +24204,27 @@ function cC({
24204
24204
  }) {
24205
24205
  const p = typeof window < "u" && "__STORYBOOK_STORY_STORE__" in window ? !1 : A, v = V(null), g = V({}), [w, P] = W(
24206
24206
  () => typeof d == "boolean" && d
24207
- ), y = J(() => b6(i), [i]);
24207
+ ), y = J(() => bC(i), [i]);
24208
24208
  U(() => {
24209
- v.current && u6(v.current, A6, y);
24209
+ v.current && uC(v.current, AC, y);
24210
24210
  }, [y]);
24211
24211
  const C = L(() => {
24212
24212
  P(!0);
24213
- }, []), E = w || typeof d == "boolean" && d, D = J(() => k6(a), [a]), S = J(
24214
- () => y6(n, s, y, x6),
24213
+ }, []), E = w || typeof d == "boolean" && d, D = J(() => kC(a), [a]), S = J(
24214
+ () => yC(n, s, y, xC),
24215
24215
  [s, n, y]
24216
24216
  ), T = J(
24217
- () => P6(o, y),
24217
+ () => PC(o, y),
24218
24218
  [o, y]
24219
24219
  ), O = J(() => ({
24220
24220
  ...{
24221
24221
  chatBotHeader: D
24222
24222
  },
24223
24223
  ...l ?? {}
24224
- }), [D, l]), H = /* @__PURE__ */ c("div", { ref: v, className: re(f6, f), children: /* @__PURE__ */ k(eh, { children: [
24225
- /* @__PURE__ */ c(C6, { onUserInput: e, contextRef: g }),
24224
+ }), [D, l]), H = /* @__PURE__ */ c("div", { ref: v, className: re(fC, f), children: /* @__PURE__ */ k(eh, { children: [
24225
+ /* @__PURE__ */ c(CC, { onUserInput: e, contextRef: g }),
24226
24226
  /* @__PURE__ */ c(
24227
- E6,
24227
+ EC,
24228
24228
  {
24229
24229
  isOpen: d,
24230
24230
  onOpenChange: u,
@@ -24232,7 +24232,7 @@ function cC({
24232
24232
  }
24233
24233
  ),
24234
24234
  E ? /* @__PURE__ */ c(
24235
- r6,
24235
+ rC,
24236
24236
  {
24237
24237
  flow: t,
24238
24238
  settings: S,
@@ -24244,7 +24244,7 @@ function cC({
24244
24244
  ] }) });
24245
24245
  return p && typeof document < "u" ? $i(H, document.body) : H;
24246
24246
  }
24247
- var B6 = "_1mwwn5m2", S6 = ne({ defaultClassName: "_1mwwn5m3", variantClassNames: { variant: { default: "_1mwwn5m4", error: "_1mwwn5m5", warning: "_1mwwn5m6", info: "_1mwwn5m7", success: "_1mwwn5m8", loading: "_1mwwn5m9" }, size: { sm: "_1mwwn5ma", md: "_1mwwn5mb" } }, defaultVariants: { variant: "default", size: "md" }, compoundVariants: [] }), D6 = "_1mwwn5mc", T6 = "_1mwwn5md", M6 = ne({ defaultClassName: "_1mwwn5me", variantClassNames: { size: { sm: "_1mwwn5mf _1b653mpr", md: "_1mwwn5mg _1b653mpo" } }, defaultVariants: {}, compoundVariants: [] }), I6 = ne({ defaultClassName: "_1mwwn5mh", variantClassNames: { size: { sm: "_1mwwn5mi _1b653mpv", md: "_1mwwn5mj _1b653mps" } }, defaultVariants: {}, compoundVariants: [] }), $6 = ne({ defaultClassName: "_1mwwn5mk", variantClassNames: { variant: { default: "_1mwwn5ml", error: "_1mwwn5mm", warning: "_1mwwn5mn", info: "_1mwwn5mo", success: "_1mwwn5mp", loading: "_1mwwn5mq" }, size: { sm: "_1mwwn5mr", md: "_1mwwn5ms" } }, defaultVariants: {}, compoundVariants: [] }), N6 = "_1mwwn5mt", R6 = ne({ defaultClassName: "_1mwwn5mu", variantClassNames: { size: { sm: "_1mwwn5mv", md: "_1mwwn5mw" } }, defaultVariants: {}, compoundVariants: [] }), L6 = "_1mwwn5mx", Q6 = ne({ defaultClassName: "_1mwwn5my", variantClassNames: { size: { sm: "_1mwwn5mz _1b653mpu", md: "_1mwwn5m10 _1b653mpr" } }, defaultVariants: {}, compoundVariants: [] }), O6 = "_1mwwn5m11";
24247
+ var BC = "_1mwwn5m2", SC = ne({ defaultClassName: "_1mwwn5m3", variantClassNames: { variant: { default: "_1mwwn5m4", error: "_1mwwn5m5", warning: "_1mwwn5m6", info: "_1mwwn5m7", success: "_1mwwn5m8", loading: "_1mwwn5m9" } }, defaultVariants: { variant: "default" }, compoundVariants: [] }), DC = "_1mwwn5ma", TC = "_1mwwn5mb", MC = ne({ defaultClassName: "_1mwwn5mc", variantClassNames: { size: { sm: "_1mwwn5md _1b653mpn", md: "_1mwwn5me _1b653mpj" } }, defaultVariants: {}, compoundVariants: [] }), IC = ne({ defaultClassName: "_1mwwn5mf", variantClassNames: { size: { sm: "_1mwwn5mg _1b653mps", md: "_1mwwn5mh _1b653mpp" } }, defaultVariants: {}, compoundVariants: [] }), $C = ne({ defaultClassName: "_1mwwn5mi", variantClassNames: { variant: { default: "_1mwwn5mj", error: "_1mwwn5mk", warning: "_1mwwn5ml", info: "_1mwwn5mm", success: "_1mwwn5mn", loading: "_1mwwn5mo" } }, defaultVariants: {}, compoundVariants: [] }), NC = "_1mwwn5mp", RC = ne({ defaultClassName: "_1mwwn5mq", variantClassNames: { size: { sm: "_1mwwn5mr", md: "_1mwwn5ms" } }, defaultVariants: {}, compoundVariants: [] }), LC = "_1mwwn5mt", QC = ne({ defaultClassName: "_1mwwn5mu _1b653mpq", variantClassNames: {}, defaultVariants: {}, compoundVariants: [] }), OC = "_1mwwn5mv";
24248
24248
  const dt = new jv({
24249
24249
  wrapUpdate(t) {
24250
24250
  const e = typeof document < "u" ? document : null;
@@ -24252,29 +24252,29 @@ const dt = new jv({
24252
24252
  Qr(t);
24253
24253
  }) : t();
24254
24254
  }
24255
- }), dC = dt, _6 = 480, V6 = 240, Ti = /* @__PURE__ */ new Set(), mr = /* @__PURE__ */ new Set(), Mi = /* @__PURE__ */ new Set();
24255
+ }), d6 = dt, _C = 480, VC = 240, Ti = /* @__PURE__ */ new Set(), mr = /* @__PURE__ */ new Set(), Mi = /* @__PURE__ */ new Set();
24256
24256
  let rh = 0;
24257
24257
  const Rr = () => {
24258
24258
  rh += 1, Mi.forEach((t) => t());
24259
- }, H6 = (t) => (Mi.add(t), () => {
24259
+ }, HC = (t) => (Mi.add(t), () => {
24260
24260
  Mi.delete(t);
24261
- }), fc = () => rh, j6 = dt.add.bind(dt);
24261
+ }), fc = () => rh, jC = dt.add.bind(dt);
24262
24262
  dt.add = (t, e) => {
24263
- const n = j6(t, e);
24263
+ const n = jC(t, e);
24264
24264
  return Ti.add(n), Rr(), setTimeout(() => {
24265
24265
  Ti.delete(n), Rr();
24266
- }, _6), n;
24266
+ }, _C), n;
24267
24267
  };
24268
- const F6 = dt.close.bind(dt);
24268
+ const FC = dt.close.bind(dt);
24269
24269
  dt.close = (t) => {
24270
24270
  mr.has(t) || (mr.add(t), Rr(), setTimeout(() => {
24271
- mr.delete(t), Rr(), F6(t);
24272
- }, V6));
24271
+ mr.delete(t), Rr(), FC(t);
24272
+ }, VC));
24273
24273
  };
24274
24274
  const It = (t, e) => {
24275
24275
  const n = t.variant ?? "default";
24276
24276
  return dt.add({ ...t, variant: n }, e);
24277
- }, uC = {
24277
+ }, u6 = {
24278
24278
  add: It,
24279
24279
  default: (t, e) => It({ ...t, variant: "default" }, e),
24280
24280
  info: (t, e) => It({ ...t, variant: "info" }, e),
@@ -24287,7 +24287,7 @@ const It = (t, e) => {
24287
24287
  sm: 16,
24288
24288
  md: 20
24289
24289
  };
24290
- function K6(t, e) {
24290
+ function KC(t, e) {
24291
24291
  switch (t) {
24292
24292
  case "error":
24293
24293
  return /* @__PURE__ */ c(kf, { size: dr[e], strokeWidth: 2 });
@@ -24304,18 +24304,18 @@ function K6(t, e) {
24304
24304
  size: "sm",
24305
24305
  color: "blue",
24306
24306
  "aria-label": "로딩 중",
24307
- className: re(R6({ size: e }), N6)
24307
+ className: re(RC({ size: e }), NC)
24308
24308
  }
24309
24309
  );
24310
24310
  default:
24311
24311
  return null;
24312
24312
  }
24313
24313
  }
24314
- function AC({ className: t, queue: e = dt, ...n }) {
24315
- return $.useSyncExternalStore(H6, fc, fc), /* @__PURE__ */ c(ug, { queue: e, className: re(B6, t), ...n, children: ({ toast: r }) => {
24316
- const o = r.content.variant ?? "default", i = r.content.size ?? "md", a = r.content.showCloseButton ?? !0, s = K6(o, i), l = Ti.has(r.key), d = mr.has(r.key);
24314
+ function A6({ className: t, queue: e = dt, ...n }) {
24315
+ return $.useSyncExternalStore(HC, fc, fc), /* @__PURE__ */ c(ug, { queue: e, className: re(BC, t), ...n, children: ({ toast: r }) => {
24316
+ const o = r.content.variant ?? "default", i = r.content.size ?? "md", a = r.content.showCloseButton ?? !0, s = KC(o, i), l = Ti.has(r.key), d = mr.has(r.key);
24317
24317
  return /* @__PURE__ */ k(
24318
- U6,
24318
+ UC,
24319
24319
  {
24320
24320
  toast: r,
24321
24321
  "data-entering": l ? "true" : void 0,
@@ -24324,51 +24324,51 @@ function AC({ className: t, queue: e = dt, ...n }) {
24324
24324
  viewTransitionName: r.key
24325
24325
  },
24326
24326
  children: [
24327
- /* @__PURE__ */ k(hg, { className: D6, children: [
24328
- s && /* @__PURE__ */ c("span", { className: $6({ variant: o, size: i }), children: s }),
24329
- /* @__PURE__ */ k("div", { className: T6, children: [
24330
- /* @__PURE__ */ c($s, { slot: "title", className: M6({ size: i }), children: r.content.title }),
24331
- r.content.description && /* @__PURE__ */ c($s, { slot: "description", className: I6({ size: i }), children: r.content.description }),
24332
- r.content.action && /* @__PURE__ */ c("div", { className: L6, children: /* @__PURE__ */ c(
24327
+ /* @__PURE__ */ k(hg, { className: DC, children: [
24328
+ s && /* @__PURE__ */ c("span", { className: $C({ variant: o }), children: s }),
24329
+ /* @__PURE__ */ k("div", { className: TC, children: [
24330
+ /* @__PURE__ */ c($s, { slot: "title", className: MC({ size: i }), children: r.content.title }),
24331
+ r.content.description && /* @__PURE__ */ c($s, { slot: "description", className: IC({ size: i }), children: r.content.description }),
24332
+ r.content.action && /* @__PURE__ */ c("div", { className: LC, children: /* @__PURE__ */ c(
24333
24333
  Le,
24334
24334
  {
24335
- className: Q6({ size: i }),
24335
+ className: QC(),
24336
24336
  onPress: r.content.action.onPress,
24337
24337
  children: r.content.action.label
24338
24338
  }
24339
24339
  ) })
24340
24340
  ] })
24341
24341
  ] }),
24342
- a && /* @__PURE__ */ c(Le, { slot: "close", "aria-label": "닫기", className: O6, children: /* @__PURE__ */ c(La, { size: 14, strokeWidth: 2 }) })
24342
+ a && /* @__PURE__ */ c(Le, { slot: "close", "aria-label": "닫기", className: OC, children: /* @__PURE__ */ c(La, { size: 14, strokeWidth: 2 }) })
24343
24343
  ]
24344
24344
  }
24345
24345
  );
24346
24346
  } });
24347
24347
  }
24348
- function U6({ className: t, toast: e, ...n }) {
24349
- const r = e.content.variant ?? "default", o = e.content.size ?? "md", i = !!e.content.description, a = !!e.content.action, s = e.content.showCloseButton ?? !0;
24348
+ function UC({ className: t, toast: e, ...n }) {
24349
+ const r = e.content.variant ?? "default", o = !!e.content.description, i = !!e.content.action, a = e.content.showCloseButton ?? !0;
24350
24350
  return /* @__PURE__ */ c(
24351
24351
  fg,
24352
24352
  {
24353
24353
  ...n,
24354
24354
  toast: e,
24355
- "data-caption": i ? "true" : "false",
24356
- "data-action": a ? "true" : "false",
24357
- "data-close": s ? "true" : "false",
24358
- className: re(S6({ variant: r, size: o }), t)
24355
+ "data-caption": o ? "true" : "false",
24356
+ "data-action": i ? "true" : "false",
24357
+ "data-close": a ? "true" : "false",
24358
+ className: re(SC({ variant: r }), t)
24359
24359
  }
24360
24360
  );
24361
24361
  }
24362
- var fC = { head1_b_36: "_1b653mp0", head1_m_36: "_1b653mp1", head1_r_36: "_1b653mp2", head2_b_32: "_1b653mp3", head2_m_32: "_1b653mp4", head2_r_32: "_1b653mp5", title1_b_24: "_1b653mp6", title1_s_24: "_1b653mp7", title1_m_24: "_1b653mp8", title1_r_24: "_1b653mp9", title2_b_20: "_1b653mpa", title2_s_20: "_1b653mpb", title2_m_20: "_1b653mpc", title2_r_20: "_1b653mpd", body1_b_18: "_1b653mpe", body1_s_18: "_1b653mpf", body1_m_18: "_1b653mpg", body1_r_18: "_1b653mph", body2_b_16: "_1b653mpi", body2_s_16: "_1b653mpj", body2_m_16: "_1b653mpk", body2_r_16: "_1b653mpl", body3_b_14: "_1b653mpm", body3_s_14: "_1b653mpn", body3_m_14: "_1b653mpo", body3_r_14: "_1b653mpp", caption1_s_12: "_1b653mpq", caption1_m_12: "_1b653mpr", caption1_r_12: "_1b653mps", caption2_s_11: "_1b653mpt", caption2_m_11: "_1b653mpu", caption2_r_11: "_1b653mpv" }, hC = { shadow_toast: "0 2px 42px 0 #20223217", shadow_dropdown: "0 16px 28px 0 #20223217", shadow_innerscroll_upper: "0 16px 28px 0 #20223217", shadow_innerscroll_under: "0 -16px 28px 0 #20223217" };
24362
+ var f6 = { head1_b_36: "_1b653mp0", head1_m_36: "_1b653mp1", head1_r_36: "_1b653mp2", head2_b_32: "_1b653mp3", head2_m_32: "_1b653mp4", head2_r_32: "_1b653mp5", title1_b_24: "_1b653mp6", title1_s_24: "_1b653mp7", title1_m_24: "_1b653mp8", title1_r_24: "_1b653mp9", title2_b_20: "_1b653mpa", title2_s_20: "_1b653mpb", title2_m_20: "_1b653mpc", title2_r_20: "_1b653mpd", body1_b_18: "_1b653mpe", body1_s_18: "_1b653mpf", body1_m_18: "_1b653mpg", body1_r_18: "_1b653mph", body2_b_16: "_1b653mpi", body2_s_16: "_1b653mpj", body2_m_16: "_1b653mpk", body2_r_16: "_1b653mpl", body3_b_14: "_1b653mpm", body3_s_14: "_1b653mpn", body3_m_14: "_1b653mpo", body3_r_14: "_1b653mpp", caption1_s_12: "_1b653mpq", caption1_m_12: "_1b653mpr", caption1_r_12: "_1b653mps", caption2_s_11: "_1b653mpt", caption2_m_11: "_1b653mpu", caption2_r_11: "_1b653mpv" }, h6 = { shadow_toast: "0 2px 42px 0 #20223217", shadow_dropdown: "0 16px 28px 0 #20223217", shadow_innerscroll_upper: "0 16px 28px 0 #20223217", shadow_innerscroll_under: "0 -16px 28px 0 #20223217" };
24363
24363
  export {
24364
24364
  bc as Avatar,
24365
- aC as BottomTab,
24365
+ a6 as BottomTab,
24366
24366
  Zw as Button,
24367
- cC as ChatWidget,
24368
- tC as Checkbox,
24369
- nC as Chip,
24367
+ c6 as ChatWidget,
24368
+ t6 as Checkbox,
24369
+ n6 as Chip,
24370
24370
  Qa as Close,
24371
- iC as Dropdown,
24371
+ i6 as Dropdown,
24372
24372
  Bf as GuideText,
24373
24373
  eb as IconActivity,
24374
24374
  wf as IconAlertOctagon,
@@ -24642,26 +24642,26 @@ export {
24642
24642
  OP as IconXSquare,
24643
24643
  _P as IconZoomIn,
24644
24644
  VP as IconZoomOut,
24645
- J6 as Link,
24646
- X6 as LnbItem,
24645
+ JC as Link,
24646
+ XC as LnbItem,
24647
24647
  mf as Loading,
24648
24648
  Gn as Modal,
24649
- Z6 as Notice,
24650
- sC as PageHeader,
24651
- oC as Pagination,
24649
+ ZC as Notice,
24650
+ s6 as PageHeader,
24651
+ o6 as Pagination,
24652
24652
  Yn as Popup,
24653
- eC as Stepper,
24654
- lC as Tab,
24653
+ e6 as Stepper,
24654
+ l6 as Tab,
24655
24655
  G8 as TextArea,
24656
24656
  I8 as TextField,
24657
- U6 as Toast,
24658
- AC as ToastRegion,
24659
- rC as Toggle,
24657
+ UC as Toast,
24658
+ A6 as ToastRegion,
24659
+ r6 as Toggle,
24660
24660
  fe as colors,
24661
- dC as queue,
24662
- hC as shadows,
24663
- uC as toast,
24661
+ d6 as queue,
24662
+ h6 as shadows,
24663
+ u6 as toast,
24664
24664
  dt as toastQueue,
24665
- fC as typography
24665
+ f6 as typography
24666
24666
  };
24667
24667
  //# sourceMappingURL=index.js.map