sm-click-library-ui 0.0.187 → 0.0.189

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.
@@ -90,7 +90,7 @@ const gt = (e, n) => {
90
90
  for (const [a, r] of n)
91
91
  t[a] = r;
92
92
  return t;
93
- }, Gl = (e) => (mt("data-v-265f04f1"), e = e(), ht(), e), Zl = { class: "line-clamp-2 uppercase text-xs truncate text-white" }, Kl = /* @__PURE__ */ Gl(() => /* @__PURE__ */ p("path", {
93
+ }, Gl = (e) => (mt("data-v-970e6830"), e = e(), ht(), e), Zl = { class: "line-clamp-2 uppercase text-xs truncate text-white" }, Kl = /* @__PURE__ */ Gl(() => /* @__PURE__ */ p("path", {
94
94
  "fill-rule": "evenodd",
95
95
  d: "M18.4 10.3A2 2 0 0 0 17 7H7a2 2 0 0 0-1.5 3.3l4.9 5.9a2 2 0 0 0 3 0l5-6Z",
96
96
  "clip-rule": "evenodd"
@@ -148,7 +148,7 @@ const gt = (e, n) => {
148
148
  ])) : B("", !0)
149
149
  ], 512));
150
150
  }
151
- }, ts = /* @__PURE__ */ gt(ti, [["__scopeId", "data-v-265f04f1"]]), ns = (e) => (mt("data-v-f3147d63"), e = e(), ht(), e), ni = {
151
+ }, ts = /* @__PURE__ */ gt(ti, [["__scopeId", "data-v-970e6830"]]), ns = (e) => (mt("data-v-dbc03a2a"), e = e(), ht(), e), ni = {
152
152
  key: 0,
153
153
  class: "modal_head"
154
154
  }, ai = /* @__PURE__ */ ns(() => /* @__PURE__ */ p("div", { class: "modal-overlay absolute h-full w-full bg-gray-600 opacity-50" }, null, -1)), ri = { class: "modal_responsive" }, oi = { class: "flex min-h-full items-center justify-center text-center sm:p-0" }, si = { class: "modal_tittle text-current" }, li = { class: "flex items-center gap-3" }, ii = ["innerHTML"], ui = { class: "text-xl font-semibold flex items-center gap-2" }, ci = /* @__PURE__ */ ns(() => /* @__PURE__ */ p("svg", {
@@ -230,7 +230,7 @@ const gt = (e, n) => {
230
230
  ])) : B("", !0);
231
231
  };
232
232
  }
233
- }, as = /* @__PURE__ */ gt(pi, [["__scopeId", "data-v-f3147d63"]]), vi = { class: "flex justify-left gap-3" }, yi = {
233
+ }, as = /* @__PURE__ */ gt(pi, [["__scopeId", "data-v-dbc03a2a"]]), vi = { class: "flex justify-left gap-3" }, yi = {
234
234
  key: 0,
235
235
  class: "text-green-500",
236
236
  xmlns: "http://www.w3.org/2000/svg",
@@ -10294,7 +10294,7 @@ const mh = {
10294
10294
  this.$emit("update:modelValue", !1);
10295
10295
  }
10296
10296
  }
10297
- }, gl = (e) => (mt("data-v-01066386"), e = e(), ht(), e), hh = {
10297
+ }, gl = (e) => (mt("data-v-e2c896dc"), e = e(), ht(), e), hh = {
10298
10298
  key: 0,
10299
10299
  class: "modal-head text-white"
10300
10300
  }, ph = /* @__PURE__ */ gl(() => /* @__PURE__ */ p("div", { class: "modal-overlay" }, null, -1)), vh = { class: "modal_responsive" }, yh = { class: "flex min-h-full items-center justify-center text-center" }, gh = { class: "modal-size w-full" }, wh = { class: "modal-background bg-base-200" }, bh = { class: "modal-title" }, _h = /* @__PURE__ */ gl(() => /* @__PURE__ */ p("svg", {
@@ -10342,7 +10342,7 @@ function Mh(e, n, t, a, r, o) {
10342
10342
  ])
10343
10343
  ])) : B("", !0);
10344
10344
  }
10345
- const wl = /* @__PURE__ */ gt(mh, [["render", Mh], ["__scopeId", "data-v-01066386"]]), Fa = (e) => (mt("data-v-1e35871d"), e = e(), ht(), e), Th = { class: "container" }, Dh = { class: "form-group" }, Ph = /* @__PURE__ */ Fa(() => /* @__PURE__ */ p("label", { for: "contentInput" }, "Horário", -1)), Sh = { class: "form-group" }, Ch = /* @__PURE__ */ Fa(() => /* @__PURE__ */ p("label", { for: "titleInput" }, "Título", -1)), Oh = { class: "form-group" }, $h = /* @__PURE__ */ Fa(() => /* @__PURE__ */ p("label", { for: "contentInput" }, "Conteúdo", -1)), Rh = /* @__PURE__ */ Fa(() => /* @__PURE__ */ p("div", { class: "button-container" }, [
10345
+ const wl = /* @__PURE__ */ gt(mh, [["render", Mh], ["__scopeId", "data-v-e2c896dc"]]), Fa = (e) => (mt("data-v-2727b591"), e = e(), ht(), e), Th = { class: "container" }, Dh = { class: "form-group" }, Ph = /* @__PURE__ */ Fa(() => /* @__PURE__ */ p("label", { for: "contentInput" }, "Horário", -1)), Sh = { class: "form-group" }, Ch = /* @__PURE__ */ Fa(() => /* @__PURE__ */ p("label", { for: "titleInput" }, "Título", -1)), Oh = { class: "form-group" }, $h = /* @__PURE__ */ Fa(() => /* @__PURE__ */ p("label", { for: "contentInput" }, "Conteúdo", -1)), Rh = /* @__PURE__ */ Fa(() => /* @__PURE__ */ p("div", { class: "button-container" }, [
10346
10346
  /* @__PURE__ */ p("button", { class: "save-button" }, "Salvar")
10347
10347
  ], -1)), Nh = {
10348
10348
  __name: "reminder",
@@ -10420,7 +10420,7 @@ const wl = /* @__PURE__ */ gt(mh, [["render", Mh], ["__scopeId", "data-v-0106638
10420
10420
  Rh
10421
10421
  ]));
10422
10422
  }
10423
- }, Eh = /* @__PURE__ */ gt(Nh, [["__scopeId", "data-v-1e35871d"]]);
10423
+ }, Eh = /* @__PURE__ */ gt(Nh, [["__scopeId", "data-v-2727b591"]]);
10424
10424
  function Fh(e) {
10425
10425
  return { all: e = e || /* @__PURE__ */ new Map(), on: function(n, t) {
10426
10426
  var a = e.get(n);
@@ -10449,7 +10449,7 @@ const Yh = () => {
10449
10449
  group: e.group || ""
10450
10450
  };
10451
10451
  return Eo.emit("notify", { notification: t, timeout: n }), () => Eo.emit("close", t.id);
10452
- }, Yo = Lh(), la = (e) => (mt("data-v-b4cc7e1d"), e = e(), ht(), e), Ih = { class: "container" }, Bh = { class: "form-group" }, qh = /* @__PURE__ */ la(() => /* @__PURE__ */ p("label", { for: "contentInput" }, "Horário", -1)), Wh = { class: "form-group" }, Hh = /* @__PURE__ */ la(() => /* @__PURE__ */ p("label", { for: "contentInput" }, "Conteúdo", -1)), jh = {
10452
+ }, Yo = Lh(), la = (e) => (mt("data-v-3975222f"), e = e(), ht(), e), Ih = { class: "container" }, Bh = { class: "form-group" }, qh = /* @__PURE__ */ la(() => /* @__PURE__ */ p("label", { for: "contentInput" }, "Horário", -1)), Wh = { class: "form-group" }, Hh = /* @__PURE__ */ la(() => /* @__PURE__ */ p("label", { for: "contentInput" }, "Conteúdo", -1)), jh = {
10453
10453
  key: 0,
10454
10454
  class: "custom-fields-container border border-base-100"
10455
10455
  }, zh = { class: "custom-fields-header bg-base-300" }, Vh = /* @__PURE__ */ la(() => /* @__PURE__ */ p("svg", {
@@ -10483,10 +10483,10 @@ const Yh = () => {
10483
10483
  })
10484
10484
  ], -1)), Jh = [
10485
10485
  Kh
10486
- ], e1 = { class: "button-container" }, t1 = ["disabled"], n1 = {
10486
+ ], ep = { class: "button-container" }, tp = ["disabled"], np = {
10487
10487
  key: 0,
10488
10488
  class: "inline-block h-4 w-4 animate-spin rounded-full border-2 border-solid border-current border-e-transparent motion-reduce:animate-[spin_1.5s_linear_infinite]"
10489
- }, a1 = {
10489
+ }, ap = {
10490
10490
  __name: "sheduledMessage",
10491
10491
  props: {
10492
10492
  currentChat: {
@@ -10652,23 +10652,23 @@ const Yh = () => {
10652
10652
  }, Jh)
10653
10653
  ])
10654
10654
  ])) : B("", !0),
10655
- p("div", e1, [
10655
+ p("div", ep, [
10656
10656
  p("button", {
10657
10657
  disabled: a.value,
10658
10658
  onClick: c,
10659
10659
  class: "save-button text-white"
10660
10660
  }, [
10661
- a.value ? (v(), A("div", n1)) : B("", !0),
10661
+ a.value ? (v(), A("div", np)) : B("", !0),
10662
10662
  rt(" Salvar ")
10663
- ], 8, t1)
10663
+ ], 8, tp)
10664
10664
  ])
10665
10665
  ]);
10666
10666
  };
10667
10667
  }
10668
- }, r1 = /* @__PURE__ */ gt(a1, [["__scopeId", "data-v-b4cc7e1d"]]), o1 = (e) => (mt("data-v-c896f01d"), e = e(), ht(), e), s1 = { key: 0 }, l1 = { key: 1 }, i1 = { class: "main-container" }, u1 = {
10668
+ }, rp = /* @__PURE__ */ gt(ap, [["__scopeId", "data-v-3975222f"]]), op = (e) => (mt("data-v-5dd1aceb"), e = e(), ht(), e), sp = { key: 0 }, lp = { key: 1 }, ip = { class: "main-container" }, up = {
10669
10669
  key: 0,
10670
10670
  class: "select-container"
10671
- }, c1 = ["value"], d1 = /* @__PURE__ */ o1(() => /* @__PURE__ */ p("svg", {
10671
+ }, cp = ["value"], dp = /* @__PURE__ */ op(() => /* @__PURE__ */ p("svg", {
10672
10672
  class: "select-icon",
10673
10673
  "aria-hidden": "true",
10674
10674
  xmlns: "http://www.w3.org/2000/svg",
@@ -10682,7 +10682,7 @@ const Yh = () => {
10682
10682
  d: "M18.425 10.271C19.499 8.967 18.57 7 16.88 7H7.12c-1.69 0-2.618 1.967-1.544 3.271l4.881 5.927a2 2 0 0 0 3.088 0l4.88-5.927Z",
10683
10683
  "clip-rule": "evenodd"
10684
10684
  })
10685
- ], -1)), f1 = {
10685
+ ], -1)), fp = {
10686
10686
  __name: "createEvents",
10687
10687
  props: {
10688
10688
  modal: Boolean,
@@ -10728,11 +10728,11 @@ const Yh = () => {
10728
10728
  "onUpdate:modelValue": c[3] || (c[3] = (f) => u.value = f)
10729
10729
  }, {
10730
10730
  title: ve(() => [
10731
- e.currentEvent === null ? (v(), A("div", s1, " Novo evento " + ge(l(e.date)), 1)) : (v(), A("div", l1, ge(e.currentEvent.title) + " - " + ge(e.currentEvent.date.split("-").reverse().join("/")) + " " + ge(e.currentEvent.hours), 1))
10731
+ e.currentEvent === null ? (v(), A("div", sp, " Novo evento " + ge(l(e.date)), 1)) : (v(), A("div", lp, ge(e.currentEvent.title) + " - " + ge(e.currentEvent.date.split("-").reverse().join("/")) + " " + ge(e.currentEvent.hours), 1))
10732
10732
  ]),
10733
10733
  body: ve(() => [
10734
- p("main", i1, [
10735
- e.currentEvent === null ? (v(), A("div", u1, [
10734
+ p("main", ip, [
10735
+ e.currentEvent === null ? (v(), A("div", up, [
10736
10736
  dt(p("select", {
10737
10737
  "onUpdate:modelValue": c[0] || (c[0] = (f) => a.value = f),
10738
10738
  class: "custom-select bg-base-100"
@@ -10740,11 +10740,11 @@ const Yh = () => {
10740
10740
  (v(), A(_e, null, Pe(t, (f) => p("option", {
10741
10741
  value: f.type,
10742
10742
  key: f.type
10743
- }, ge(f.name), 9, c1)), 64))
10743
+ }, ge(f.name), 9, cp)), 64))
10744
10744
  ], 512), [
10745
10745
  [Zo, a.value]
10746
10746
  ]),
10747
- d1
10747
+ dp
10748
10748
  ])) : B("", !0),
10749
10749
  a.value === "reminders" ? (v(), Te(Eh, {
10750
10750
  key: 1,
@@ -10752,7 +10752,7 @@ const Yh = () => {
10752
10752
  token: e.token,
10753
10753
  date: e.date,
10754
10754
  onConfig: d
10755
- }, null, 8, ["token", "date"])) : a.value === "scheduled_messages" ? (v(), Te(r1, {
10755
+ }, null, 8, ["token", "date"])) : a.value === "scheduled_messages" ? (v(), Te(rp, {
10756
10756
  key: 2,
10757
10757
  event: e.currentEvent,
10758
10758
  currentChat: e.currentChat,
@@ -10765,7 +10765,7 @@ const Yh = () => {
10765
10765
  _: 1
10766
10766
  }, 8, ["modelValue"]));
10767
10767
  }
10768
- }, m1 = /* @__PURE__ */ gt(f1, [["__scopeId", "data-v-c896f01d"]]), En = (e) => (mt("data-v-de5087ab"), e = e(), ht(), e), h1 = { class: "calendar-container text-white" }, p1 = { class: "calendar-header bg-base-300" }, v1 = /* @__PURE__ */ En(() => /* @__PURE__ */ p("svg", {
10768
+ }, mp = /* @__PURE__ */ gt(fp, [["__scopeId", "data-v-5dd1aceb"]]), En = (e) => (mt("data-v-972e6756"), e = e(), ht(), e), hp = { class: "calendar-container text-white" }, pp = { class: "calendar-header bg-base-300" }, vp = /* @__PURE__ */ En(() => /* @__PURE__ */ p("svg", {
10769
10769
  class: "icon",
10770
10770
  "aria-hidden": "true",
10771
10771
  xmlns: "http://www.w3.org/2000/svg",
@@ -10779,9 +10779,9 @@ const Yh = () => {
10779
10779
  "stroke-width": "2",
10780
10780
  d: "M5 12h14M5 12l4-4m-4 4 4 4"
10781
10781
  })
10782
- ], -1)), y1 = [
10783
- v1
10784
- ], g1 = /* @__PURE__ */ En(() => /* @__PURE__ */ p("svg", {
10782
+ ], -1)), yp = [
10783
+ vp
10784
+ ], gp = /* @__PURE__ */ En(() => /* @__PURE__ */ p("svg", {
10785
10785
  class: "icon",
10786
10786
  "aria-hidden": "true",
10787
10787
  xmlns: "http://www.w3.org/2000/svg",
@@ -10795,9 +10795,9 @@ const Yh = () => {
10795
10795
  "stroke-width": "2",
10796
10796
  d: "M19 12H5m14 0-4 4m4-4-4-4"
10797
10797
  })
10798
- ], -1)), w1 = [
10799
- g1
10800
- ], b1 = { class: "calendar" }, _1 = { class: "date-container" }, k1 = { class: "date" }, x1 = ["disabled", "onClick"], A1 = /* @__PURE__ */ En(() => /* @__PURE__ */ p("svg", {
10798
+ ], -1)), wp = [
10799
+ gp
10800
+ ], bp = { class: "calendar" }, _p = { class: "date-container" }, kp = { class: "date" }, xp = ["disabled", "onClick"], Ap = /* @__PURE__ */ En(() => /* @__PURE__ */ p("svg", {
10801
10801
  class: "w-5 h-5",
10802
10802
  "aria-hidden": "true",
10803
10803
  xmlns: "http://www.w3.org/2000/svg",
@@ -10813,9 +10813,9 @@ const Yh = () => {
10813
10813
  "stroke-width": "2",
10814
10814
  d: "M5 12h14m-7 7V5"
10815
10815
  })
10816
- ], -1)), M1 = [
10817
- A1
10818
- ], T1 = ["onClick"], D1 = { class: "event-main" }, P1 = /* @__PURE__ */ En(() => /* @__PURE__ */ p("svg", {
10816
+ ], -1)), Mp = [
10817
+ Ap
10818
+ ], Tp = ["onClick"], Dp = { class: "event-main" }, Pp = /* @__PURE__ */ En(() => /* @__PURE__ */ p("svg", {
10819
10819
  class: "event-icon",
10820
10820
  "aria-hidden": "true",
10821
10821
  xmlns: "http://www.w3.org/2000/svg",
@@ -10827,17 +10827,17 @@ const Yh = () => {
10827
10827
  d: "M2 12C2 6.477 6.477 2 12 2s10 4.477 10 10-4.477 10-10 10S2 17.523 2 12Zm11-4a1 1 0 1 0-2 0v4a1 1 0 0 0 .293.707l3 3a1 1 0 0 0 1.414-1.414L13 11.586V8Z",
10828
10828
  "clip-rule": "evenodd"
10829
10829
  })
10830
- ], -1)), S1 = { class: "event-title" }, C1 = { class: "text-center w-full" }, O1 = /* @__PURE__ */ En(() => /* @__PURE__ */ p("thead", { class: "bg-base-200 rounded-md flex text-white w-full" }, [
10830
+ ], -1)), Sp = { class: "event-title" }, Cp = { class: "text-center w-full" }, Op = /* @__PURE__ */ En(() => /* @__PURE__ */ p("thead", { class: "bg-base-200 rounded-md flex text-white w-full" }, [
10831
10831
  /* @__PURE__ */ p("tr", { class: "flex font-normal w-full" }, [
10832
10832
  /* @__PURE__ */ p("th", { class: "p-2 w-[40%]" }, "Evento"),
10833
10833
  /* @__PURE__ */ p("th", { class: "p-2 w-1/4" }, "Horário"),
10834
10834
  /* @__PURE__ */ p("th", { class: "p-2 w-1/4" }, "Paramêtros"),
10835
10835
  /* @__PURE__ */ p("th", { class: "p-2 w-1/4" }, "Ações")
10836
10836
  ])
10837
- ], -1)), $1 = {
10837
+ ], -1)), $p = {
10838
10838
  class: "flex flex-col gap- text-sm items-center align-middle overflow-y-scroll w-full",
10839
10839
  style: { height: "50vh" }
10840
- }, R1 = { class: "w-[40%]" }, N1 = { class: "p- w-1/4" }, E1 = { class: "p- w-1/4" }, F1 = { class: "p- w-1/4" }, Y1 = ["onClick"], L1 = /* @__PURE__ */ En(() => /* @__PURE__ */ p("svg", {
10840
+ }, Rp = { class: "w-[40%]" }, Np = { class: "p- w-1/4" }, Ep = { class: "p- w-1/4" }, Fp = { class: "p- w-1/4" }, Yp = ["onClick"], Lp = /* @__PURE__ */ En(() => /* @__PURE__ */ p("svg", {
10841
10841
  class: "w-5 h-5",
10842
10842
  "aria-hidden": "true",
10843
10843
  xmlns: "http://www.w3.org/2000/svg",
@@ -10851,9 +10851,9 @@ const Yh = () => {
10851
10851
  d: "M14 4.182A4.136 4.136 0 0 1 16.9 3c1.087 0 2.13.425 2.899 1.182A4.01 4.01 0 0 1 21 7.037c0 1.068-.43 2.092-1.194 2.849L18.5 11.214l-5.8-5.71 1.287-1.31.012-.012Zm-2.717 2.763L6.186 12.13l2.175 2.141 5.063-5.218-2.141-2.108Zm-6.25 6.886-1.98 5.849a.992.992 0 0 0 .245 1.026 1.03 1.03 0 0 0 1.043.242L10.282 19l-5.25-5.168Zm6.954 4.01 5.096-5.186-2.218-2.183-5.063 5.218 2.185 2.15Z",
10852
10852
  "clip-rule": "evenodd"
10853
10853
  })
10854
- ], -1)), I1 = [
10855
- L1
10856
- ], B1 = {
10854
+ ], -1)), Ip = [
10855
+ Lp
10856
+ ], Bp = {
10857
10857
  __name: "calendar",
10858
10858
  props: {
10859
10859
  theme: {
@@ -10986,13 +10986,13 @@ const Yh = () => {
10986
10986
  return (N, E) => {
10987
10987
  const I = Tr("Popper");
10988
10988
  return v(), A(_e, null, [
10989
- p("div", h1, [
10990
- p("div", p1, [
10989
+ p("div", hp, [
10990
+ p("div", pp, [
10991
10991
  ue(N.$slots, "backButton", {}, void 0, !0),
10992
10992
  p("button", {
10993
10993
  onClick: H,
10994
10994
  class: "calendar-button"
10995
- }, y1),
10995
+ }, yp),
10996
10996
  p("div", null, [
10997
10997
  Fe(w(sa), {
10998
10998
  dark: e.theme,
@@ -11015,9 +11015,9 @@ const Yh = () => {
11015
11015
  p("button", {
11016
11016
  onClick: T,
11017
11017
  class: "calendar-button"
11018
- }, w1)
11018
+ }, wp)
11019
11019
  ]),
11020
- p("div", b1, [
11020
+ p("div", bp, [
11021
11021
  (v(!0), A(_e, null, Pe(w(b), (K, ce) => (v(), A("div", {
11022
11022
  key: ce,
11023
11023
  class: "day-name shadow shadow-black/90 dark:shadow-gray-400 bg-base-200 border border-base-100"
@@ -11031,13 +11031,13 @@ const Yh = () => {
11031
11031
  "next-month-day": K.isNextMonth
11032
11032
  }, "day group h-full shadow shadow-black/90 dark:shadow-gray-400 bg-base-300 hover:bg-base-200 border border-base-200"])
11033
11033
  }, [
11034
- p("div", _1, [
11035
- p("div", k1, ge(K.date.getDate()), 1),
11034
+ p("div", _p, [
11035
+ p("div", kp, ge(K.date.getDate()), 1),
11036
11036
  p("button", {
11037
11037
  disabled: K.date < new Date((/* @__PURE__ */ new Date()).setHours(0, 0, 0, 0)),
11038
11038
  onClick: (pe) => (t.value.modal = !0, t.value.date = K.date),
11039
11039
  class: "add-event-button hidden group-hover:inline-block"
11040
- }, M1, 8, x1)
11040
+ }, Mp, 8, xp)
11041
11041
  ]),
11042
11042
  K.events.length > 0 ? (v(), A("footer", {
11043
11043
  key: 0,
@@ -11048,7 +11048,7 @@ const Yh = () => {
11048
11048
  key: pe.title,
11049
11049
  class: "event"
11050
11050
  }, [
11051
- p("main", D1, [
11051
+ p("main", Dp, [
11052
11052
  Fe(I, {
11053
11053
  placement: "top",
11054
11054
  class: "dark:popper-light popper-dark",
@@ -11056,14 +11056,14 @@ const Yh = () => {
11056
11056
  content: pe.hours
11057
11057
  }, {
11058
11058
  default: ve(() => [
11059
- P1
11059
+ Pp
11060
11060
  ]),
11061
11061
  _: 2
11062
11062
  }, 1032, ["content"]),
11063
- p("p", S1, ge(pe.title), 1)
11063
+ p("p", Sp, ge(pe.title), 1)
11064
11064
  ])
11065
11065
  ]))), 128))
11066
- ], 8, T1)) : B("", !0)
11066
+ ], 8, Tp)) : B("", !0)
11067
11067
  ], 2))), 128))
11068
11068
  ])
11069
11069
  ]),
@@ -11075,21 +11075,21 @@ const Yh = () => {
11075
11075
  rt(ge(n.value.date), 1)
11076
11076
  ]),
11077
11077
  body: ve(() => [
11078
- p("table", C1, [
11079
- O1,
11080
- p("tbody", $1, [
11078
+ p("table", Cp, [
11079
+ Op,
11080
+ p("tbody", $p, [
11081
11081
  (v(!0), A(_e, null, Pe(n.value.events, (K) => (v(), A("tr", {
11082
11082
  key: K.title,
11083
11083
  class: "flex mt-1 hover:bg-base-200 align-middle items-center rounded-xl py-2 w-full"
11084
11084
  }, [
11085
- p("td", R1, ge(K.title), 1),
11086
- p("td", N1, ge(K.hours), 1),
11087
- p("td", E1, ge(K.date), 1),
11088
- p("td", F1, [
11085
+ p("td", Rp, ge(K.title), 1),
11086
+ p("td", Np, ge(K.hours), 1),
11087
+ p("td", Ep, ge(K.date), 1),
11088
+ p("td", Fp, [
11089
11089
  p("button", {
11090
11090
  onClick: (ce) => r(K),
11091
11091
  class: "bg-green-500 hover:bg-green-400 rounded-md p-1"
11092
- }, I1, 8, Y1)
11092
+ }, Ip, 8, Yp)
11093
11093
  ])
11094
11094
  ]))), 128))
11095
11095
  ])
@@ -11097,7 +11097,7 @@ const Yh = () => {
11097
11097
  ]),
11098
11098
  _: 1
11099
11099
  }, 8, ["modelValue"]),
11100
- t.value.modal ? (v(), Te(m1, {
11100
+ t.value.modal ? (v(), Te(mp, {
11101
11101
  key: 0,
11102
11102
  currentEvent: a.value,
11103
11103
  currentChat: e.currentChat,
@@ -11109,7 +11109,7 @@ const Yh = () => {
11109
11109
  ], 64);
11110
11110
  };
11111
11111
  }
11112
- }, bl = /* @__PURE__ */ gt(B1, [["__scopeId", "data-v-de5087ab"]]), q1 = { class: "flex flex-col text-center" }, W1 = { class: "flex flex-col space-y-3 justify-center" }, H1 = { class: "space-x-4 flex-col text-black justify-center" }, j1 = ["onUpdate:modelValue", "onInput", "onKeydown"], _l = {
11112
+ }, bl = /* @__PURE__ */ gt(Bp, [["__scopeId", "data-v-972e6756"]]), qp = { class: "flex flex-col text-center" }, Wp = { class: "flex flex-col space-y-3 justify-center" }, Hp = { class: "space-x-4 flex-col text-black justify-center" }, jp = ["onUpdate:modelValue", "onInput", "onKeydown"], _l = {
11113
11113
  __name: "mfa",
11114
11114
  props: {
11115
11115
  eventHandling: {
@@ -11135,9 +11135,9 @@ const Yh = () => {
11135
11135
  const d = a.value.join("");
11136
11136
  t("filled", d);
11137
11137
  };
11138
- return (d, i) => (v(), A("section", q1, [
11139
- p("div", W1, [
11140
- p("div", H1, [
11138
+ return (d, i) => (v(), A("section", qp, [
11139
+ p("div", Wp, [
11140
+ p("div", Hp, [
11141
11141
  (v(!0), A(_e, null, Pe(a.value, (c, f) => dt((v(), A("input", {
11142
11142
  key: f,
11143
11143
  "onUpdate:modelValue": (h) => a.value[f] = h,
@@ -11152,19 +11152,19 @@ const Yh = () => {
11152
11152
  ref_for: !0,
11153
11153
  ref_key: "inputs",
11154
11154
  ref: r
11155
- }, null, 42, j1)), [
11155
+ }, null, 42, jp)), [
11156
11156
  [nn, a.value[f]]
11157
11157
  ])), 128))
11158
11158
  ])
11159
11159
  ])
11160
11160
  ]));
11161
11161
  }
11162
- }, z1 = { class: "text-center flex gap-3" }, V1 = { class: "flex justify-center gap-2 relative bg-base-200 p-2 rounded-lg shadow-md shadow-black" }, U1 = {
11162
+ }, zp = { class: "text-center flex gap-3" }, Vp = { class: "flex justify-center gap-2 relative bg-base-200 p-2 rounded-lg shadow-md shadow-black" }, Up = {
11163
11163
  key: 0,
11164
11164
  class: "items-center justify-center inline-flex"
11165
- }, Q1 = /* @__PURE__ */ p("div", { class: "loaderMFA" }, null, -1), X1 = [
11166
- Q1
11167
- ], G1 = ["src"], Z1 = {
11165
+ }, Qp = /* @__PURE__ */ p("div", { class: "loaderMFA" }, null, -1), Xp = [
11166
+ Qp
11167
+ ], Gp = ["src"], Zp = {
11168
11168
  __name: "mfaQrCode",
11169
11169
  props: {
11170
11170
  base64: {
@@ -11193,13 +11193,13 @@ const Yh = () => {
11193
11193
  }, o = G(() => a.base64 ? a.base64 : l.value), s = G(() => `w-${a.dimensions[0]} h-${a.dimensions[1]}`), l = L(
11194
11194
  "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASwAAAEsCAYAAAB5fY51AAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABmJLR0QAAAAAAA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HldUuR5VVnau4iXJM7kckOj/K0Tyb48rmrGY9f/frZw/VvoWjqvuFzWKTw3IXTXN2X75Mjiubs5rx/N2vn6Xct3BEdb+wWShYi2QLVvZ89fj2fv0s9fuPuDeAvOEbFgAbFCwANihYAGxQsJqo3LeO62vtYV/GLihYTVTtW8f1tfayL2MXbX5LCAAR/gsLgA0KFgAbFCwANihYAGxQsADYoGABsEHBAmCDggXABgULgA0KFgAbFCwANihYAGxQsADYoGABsEHBAmCDggXABgULgA0KFgAbFCwANihYAGxQsADYoGABsEHBAmCDggXABgULgA0KFgAbFCwANihYAGxQsADYoGABsEHBAmCDggXABgULgI0/AXRl5K/bYs25AAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIxLTAyLTExVDIwOjQzOjIzKzAwOjAwj4NP3QAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMS0wMi0xMVQyMDo0MzoyMyswMDowMP7e92EAAAAASUVORK5CYII="
11195
11195
  );
11196
- return (u, d) => (v(), A("div", z1, [
11197
- p("section", V1, [
11196
+ return (u, d) => (v(), A("div", zp, [
11197
+ p("section", Vp, [
11198
11198
  e.generated ? B("", !0) : (v(), A("div", {
11199
11199
  key: 0,
11200
11200
  class: me([s.value, "btnQrCode"])
11201
11201
  }, [
11202
- e.loading ? (v(), A("div", U1, X1)) : (v(), A("button", {
11202
+ e.loading ? (v(), A("div", Up, Xp)) : (v(), A("button", {
11203
11203
  key: 1,
11204
11204
  class: "uppercase bg-base-300 p-2 z-40",
11205
11205
  onClick: r
@@ -11209,7 +11209,7 @@ const Yh = () => {
11209
11209
  class: me([[s.value, e.generated ? "rounded-md" : "rounded-none"], ""]),
11210
11210
  src: o.value,
11211
11211
  alt: "QRCode"
11212
- }, null, 10, G1)
11212
+ }, null, 10, Gp)
11213
11213
  ])
11214
11214
  ]));
11215
11215
  }
@@ -11234,27 +11234,27 @@ const Yh = () => {
11234
11234
  var at = [];
11235
11235
  for (var fr = 0; fr < 256; ++fr)
11236
11236
  at.push((fr + 256).toString(16).slice(1));
11237
- function K1(e, n = 0) {
11237
+ function Kp(e, n = 0) {
11238
11238
  return (at[e[n + 0]] + at[e[n + 1]] + at[e[n + 2]] + at[e[n + 3]] + "-" + at[e[n + 4]] + at[e[n + 5]] + "-" + at[e[n + 6]] + at[e[n + 7]] + "-" + at[e[n + 8]] + at[e[n + 9]] + "-" + at[e[n + 10]] + at[e[n + 11]] + at[e[n + 12]] + at[e[n + 13]] + at[e[n + 14]] + at[e[n + 15]]).toLowerCase();
11239
11239
  }
11240
- var ha, J1 = new Uint8Array(16);
11241
- function ep() {
11240
+ var ha, Jp = new Uint8Array(16);
11241
+ function e1() {
11242
11242
  if (!ha && (ha = typeof crypto < "u" && crypto.getRandomValues && crypto.getRandomValues.bind(crypto), !ha))
11243
11243
  throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
11244
- return ha(J1);
11244
+ return ha(Jp);
11245
11245
  }
11246
- var tp = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto);
11246
+ var t1 = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto);
11247
11247
  const Lo = {
11248
- randomUUID: tp
11248
+ randomUUID: t1
11249
11249
  };
11250
- function np(e, n, t) {
11250
+ function n1(e, n, t) {
11251
11251
  if (Lo.randomUUID && !n && !e)
11252
11252
  return Lo.randomUUID();
11253
11253
  e = e || {};
11254
- var a = e.random || (e.rng || ep)();
11255
- return a[6] = a[6] & 15 | 64, a[8] = a[8] & 63 | 128, K1(a);
11254
+ var a = e.random || (e.rng || e1)();
11255
+ return a[6] = a[6] & 15 | 64, a[8] = a[8] & 63 | 128, Kp(a);
11256
11256
  }
11257
- function ap() {
11257
+ function a1() {
11258
11258
  const e = Gr(), n = async (l) => {
11259
11259
  const u = e.attendants.find(
11260
11260
  (d) => d.id === l
@@ -11311,7 +11311,7 @@ function ap() {
11311
11311
  );
11312
11312
  if (!i || !((f = i.internal_chat) != null && f.channel_id)) return;
11313
11313
  const c = {
11314
- id: np(),
11314
+ id: n1(),
11315
11315
  content: { type: "text", content: u },
11316
11316
  created_at: (/* @__PURE__ */ new Date()).toISOString(),
11317
11317
  sender: d
@@ -11345,7 +11345,7 @@ function ap() {
11345
11345
  resetUnreadMessages: r
11346
11346
  };
11347
11347
  }
11348
- const rp = (e) => (mt("data-v-1d00f344"), e = e(), ht(), e), op = { class: "avatar bg-[#404857] shadow shadow-gray-900 dark:shadow-gray-700 dark:bg-gray-300 text-gray-100 dark:text-gray-500" }, sp = {
11348
+ const r1 = (e) => (mt("data-v-7d8b2820"), e = e(), ht(), e), o1 = { class: "avatar bg-[#404857] shadow shadow-gray-900 dark:shadow-gray-700 dark:bg-gray-300 text-gray-100 dark:text-gray-500" }, s1 = {
11349
11349
  key: 0,
11350
11350
  style: { "padding-top": "0.5rem" },
11351
11351
  xmlns: "http://www.w3.org/2000/svg",
@@ -11353,33 +11353,33 @@ const rp = (e) => (mt("data-v-1d00f344"), e = e(), ht(), e), op = { class: "avat
11353
11353
  viewBox: "0 0 24 24",
11354
11354
  "stroke-width": "1.5",
11355
11355
  stroke: "currentColor"
11356
- }, lp = /* @__PURE__ */ rp(() => /* @__PURE__ */ p("path", {
11356
+ }, l1 = /* @__PURE__ */ r1(() => /* @__PURE__ */ p("path", {
11357
11357
  "stroke-linecap": "round",
11358
11358
  "stroke-linejoin": "round",
11359
11359
  d: "M15.75 6a3.75 3.75 0 11-7.5 0 3.75 3.75 0 017.5 0zM4.501 20.118a7.5 7.5 0 0114.998 0A17.933 17.933 0 0112 21.75c-2.676 0-5.216-.584-7.499-1.632z"
11360
- }, null, -1)), ip = [
11361
- lp
11362
- ], up = ["src"], cp = {
11360
+ }, null, -1)), i1 = [
11361
+ l1
11362
+ ], u1 = ["src"], c1 = {
11363
11363
  __name: "Avatar",
11364
11364
  props: {
11365
11365
  url: { type: String }
11366
11366
  },
11367
11367
  setup(e) {
11368
- return (n, t) => (v(), A("div", op, [
11368
+ return (n, t) => (v(), A("div", o1, [
11369
11369
  e.url ? (v(), A("img", {
11370
11370
  key: 1,
11371
11371
  style: { "object-fit": "scale-down" },
11372
11372
  src: e.url
11373
- }, null, 8, up)) : (v(), A("svg", sp, ip))
11373
+ }, null, 8, u1)) : (v(), A("svg", s1, i1))
11374
11374
  ]));
11375
11375
  }
11376
- }, kl = /* @__PURE__ */ gt(cp, [["__scopeId", "data-v-1d00f344"]]), xl = (e) => (mt("data-v-69007262"), e = e(), ht(), e), dp = { class: "attendants-container" }, fp = { class: "atendentes-list bg-base-300" }, mp = {
11376
+ }, kl = /* @__PURE__ */ gt(c1, [["__scopeId", "data-v-7d8b2820"]]), xl = (e) => (mt("data-v-2f55ead9"), e = e(), ht(), e), d1 = { class: "attendants-container" }, f1 = { class: "atendentes-list bg-base-300" }, m1 = {
11377
11377
  key: 0,
11378
11378
  class: "empty-message bg-base-200"
11379
- }, hp = ["onClick"], pp = { class: "atendente-main" }, vp = { class: "atendente-name" }, yp = { class: "flex items-center gap-4" }, gp = {
11379
+ }, h1 = ["onClick"], p1 = { class: "atendente-main" }, v1 = { class: "atendente-name" }, y1 = { class: "flex items-center gap-4" }, g1 = {
11380
11380
  key: 0,
11381
11381
  class: "message-indicator"
11382
- }, wp = /* @__PURE__ */ xl(() => /* @__PURE__ */ p("div", { class: "hover-action" }, "Conversar", -1)), bp = /* @__PURE__ */ xl(() => /* @__PURE__ */ p("footer", { class: "chat-footer bg-base-200" }, null, -1)), _p = {
11382
+ }, w1 = /* @__PURE__ */ xl(() => /* @__PURE__ */ p("div", { class: "hover-action" }, "Conversar", -1)), b1 = /* @__PURE__ */ xl(() => /* @__PURE__ */ p("footer", { class: "chat-footer bg-base-200" }, null, -1)), _1 = {
11383
11383
  __name: "ChatList",
11384
11384
  props: {
11385
11385
  atendentes: { type: Array, required: !0 },
@@ -11405,7 +11405,7 @@ const rp = (e) => (mt("data-v-1d00f344"), e = e(), ht(), e), op = { class: "avat
11405
11405
  }, l = G(() => r.value ? t.atendentes.filter(
11406
11406
  (u) => u.name.toLowerCase().includes(r.value.toLowerCase()) && u.id !== t.attendant.id
11407
11407
  ) : t.atendentes.filter((u) => u.id !== t.attendant.id));
11408
- return (u, d) => (v(), A("div", dp, [
11408
+ return (u, d) => (v(), A("div", d1, [
11409
11409
  dt(p("input", {
11410
11410
  "onUpdate:modelValue": d[0] || (d[0] = (i) => r.value = i),
11411
11411
  class: "search-input bg-base-300 border-b border-base-200",
@@ -11413,42 +11413,42 @@ const rp = (e) => (mt("data-v-1d00f344"), e = e(), ht(), e), op = { class: "avat
11413
11413
  }, null, 512), [
11414
11414
  [nn, r.value]
11415
11415
  ]),
11416
- p("ul", fp, [
11417
- l.value.length === 0 ? (v(), A("li", mp, ge(e.atendentes.length === 0 ? "Não há atendentes disponíveis" : "Não há atendentes com esse nome"), 1)) : B("", !0),
11416
+ p("ul", f1, [
11417
+ l.value.length === 0 ? (v(), A("li", m1, ge(e.atendentes.length === 0 ? "Não há atendentes disponíveis" : "Não há atendentes com esse nome"), 1)) : B("", !0),
11418
11418
  (v(!0), A(_e, null, Pe(l.value, (i) => (v(), A("li", {
11419
11419
  key: i.id,
11420
11420
  onClick: (c) => o(i),
11421
11421
  class: me([["atendente-item", i.isMoved ? "moved" : ""], "border-b even:bg-base-300 bg-blue-400/10 border-base-200 hover:bg-base-200 relative"])
11422
11422
  }, [
11423
- p("main", pp, [
11423
+ p("main", p1, [
11424
11424
  Fe(kl, {
11425
11425
  url: i.photo
11426
11426
  }, null, 8, ["url"]),
11427
- p("span", vp, ge(i.name), 1)
11427
+ p("span", v1, ge(i.name), 1)
11428
11428
  ]),
11429
- p("footer", yp, [
11430
- i.internal_chat.unread > 0 ? (v(), A("span", gp, ge(i.internal_chat.unread), 1)) : B("", !0),
11429
+ p("footer", y1, [
11430
+ i.internal_chat.unread > 0 ? (v(), A("span", g1, ge(i.internal_chat.unread), 1)) : B("", !0),
11431
11431
  p("div", {
11432
11432
  class: me(["status-indicator", s(i.login_status)])
11433
11433
  }, null, 2)
11434
11434
  ]),
11435
- wp
11436
- ], 10, hp))), 128))
11435
+ w1
11436
+ ], 10, h1))), 128))
11437
11437
  ]),
11438
- bp
11438
+ b1
11439
11439
  ]));
11440
11440
  }
11441
- }, kp = /* @__PURE__ */ gt(_p, [["__scopeId", "data-v-69007262"]]);
11442
- function xp(e, n = null) {
11441
+ }, k1 = /* @__PURE__ */ gt(_1, [["__scopeId", "data-v-2f55ead9"]]);
11442
+ function x1(e, n = null) {
11443
11443
  if (!e)
11444
11444
  return !1;
11445
11445
  const t = e.getBoundingClientRect(), a = n ? n.getBoundingClientRect() : { top: 0, left: 0, bottom: window.innerHeight, right: window.innerWidth };
11446
11446
  return t.bottom >= a.top && t.top <= a.bottom && t.right >= a.left && t.left <= a.right;
11447
11447
  }
11448
- async function Ap(e) {
11448
+ async function A1(e) {
11449
11449
  return e ? (await Ke(), e.value instanceof HTMLElement ? e.value : e.value ? document.querySelector(e.value) : null) : null;
11450
11450
  }
11451
- function Mp(e) {
11451
+ function M1(e) {
11452
11452
  let n = `0px 0px ${e.distance}px 0px`;
11453
11453
  e.top && (n = `${e.distance}px 0px 0px 0px`);
11454
11454
  const t = new IntersectionObserver(
@@ -11470,13 +11470,13 @@ const Al = (e, n) => {
11470
11470
  for (const [a, r] of n)
11471
11471
  t[a] = r;
11472
11472
  return t;
11473
- }, Tp = {}, Dp = (e) => (mt("data-v-d3e37633"), e = e(), ht(), e), Pp = { class: "container" }, Sp = /* @__PURE__ */ Dp(() => /* @__PURE__ */ p("div", { class: "spinner" }, null, -1)), Cp = [
11474
- Sp
11473
+ }, T1 = {}, D1 = (e) => (mt("data-v-d3e37633"), e = e(), ht(), e), P1 = { class: "container" }, S1 = /* @__PURE__ */ D1(() => /* @__PURE__ */ p("div", { class: "spinner" }, null, -1)), C1 = [
11474
+ S1
11475
11475
  ];
11476
- function Op(e, n) {
11477
- return v(), A("div", Pp, Cp);
11476
+ function O1(e, n) {
11477
+ return v(), A("div", P1, C1);
11478
11478
  }
11479
- const $p = /* @__PURE__ */ Al(Tp, [["render", Op], ["__scopeId", "data-v-d3e37633"]]), Rp = { class: "state-error" }, Np = /* @__PURE__ */ nt({
11479
+ const $1 = /* @__PURE__ */ Al(T1, [["render", O1], ["__scopeId", "data-v-d3e37633"]]), R1 = { class: "state-error" }, N1 = /* @__PURE__ */ nt({
11480
11480
  __name: "InfiniteLoading",
11481
11481
  props: {
11482
11482
  top: { type: Boolean, default: !1 },
@@ -11504,7 +11504,7 @@ const $p = /* @__PURE__ */ Al(Tp, [["render", Op], ["__scopeId", "data-v-d3e3763
11504
11504
  s.value = "loading";
11505
11505
  },
11506
11506
  async loaded() {
11507
- s.value = "loaded", await Io(f, r), xp(o.value, f.parentEl) && f.emit();
11507
+ s.value = "loaded", await Io(f, r), x1(o.value, f.parentEl) && f.emit();
11508
11508
  },
11509
11509
  async complete() {
11510
11510
  s.value = "complete", await Io(f, r), a == null || a.disconnect();
@@ -11514,10 +11514,10 @@ const $p = /* @__PURE__ */ Al(Tp, [["render", Op], ["__scopeId", "data-v-d3e3763
11514
11514
  }
11515
11515
  };
11516
11516
  function b() {
11517
- a == null || a.disconnect(), a = Mp(f);
11517
+ a == null || a.disconnect(), a = M1(f);
11518
11518
  }
11519
11519
  return We(i, b), Ye(async () => {
11520
- f.parentEl = await Ap(c), b();
11520
+ f.parentEl = await A1(c), b();
11521
11521
  }), Jn(() => a == null ? void 0 : a.disconnect()), (g, P) => (v(), A("div", {
11522
11522
  ref_key: "infiniteLoading",
11523
11523
  ref: o,
@@ -11525,7 +11525,7 @@ const $p = /* @__PURE__ */ Al(Tp, [["render", Op], ["__scopeId", "data-v-d3e3763
11525
11525
  }, [
11526
11526
  dt(p("div", null, [
11527
11527
  ue(g.$slots, "spinner", {}, () => [
11528
- Fe($p)
11528
+ Fe($1)
11529
11529
  ], !0)
11530
11530
  ], 512), [
11531
11531
  [jn, s.value == "loading"]
@@ -11542,7 +11542,7 @@ const $p = /* @__PURE__ */ Al(Tp, [["render", Op], ["__scopeId", "data-v-d3e3763
11542
11542
  }, () => {
11543
11543
  var _;
11544
11544
  return [
11545
- p("span", Rp, [
11545
+ p("span", R1, [
11546
11546
  p("span", null, ge(((_ = g.slots) == null ? void 0 : _.error) || "Oops something went wrong!"), 1),
11547
11547
  p("button", {
11548
11548
  class: "retry",
@@ -11554,20 +11554,20 @@ const $p = /* @__PURE__ */ Al(Tp, [["render", Op], ["__scopeId", "data-v-d3e3763
11554
11554
  }, !0) : B("", !0)
11555
11555
  ], 512));
11556
11556
  }
11557
- }), Ep = /* @__PURE__ */ Al(Np, [["__scopeId", "data-v-4bdee133"]]), Ml = 6048e5, Fp = 864e5, Bo = Symbol.for("constructDateFrom");
11557
+ }), E1 = /* @__PURE__ */ Al(N1, [["__scopeId", "data-v-4bdee133"]]), Ml = 6048e5, F1 = 864e5, Bo = Symbol.for("constructDateFrom");
11558
11558
  function kt(e, n) {
11559
11559
  return typeof e == "function" ? e(n) : e && typeof e == "object" && Bo in e ? e[Bo](n) : e instanceof Date ? new e.constructor(n) : new Date(n);
11560
11560
  }
11561
11561
  function Tt(e, n) {
11562
11562
  return kt(n || e, e);
11563
11563
  }
11564
- function Yp(e, n, t) {
11564
+ function Y1(e, n, t) {
11565
11565
  const a = Tt(e, t == null ? void 0 : t.in);
11566
11566
  return isNaN(n) ? kt(e, NaN) : (a.setDate(a.getDate() + n), a);
11567
11567
  }
11568
- let Lp = {};
11568
+ let L1 = {};
11569
11569
  function Ya() {
11570
- return Lp;
11570
+ return L1;
11571
11571
  }
11572
11572
  function vn(e, n) {
11573
11573
  var l, u, d, i;
@@ -11610,15 +11610,15 @@ function Aa(e, n) {
11610
11610
  const t = Tt(e, n == null ? void 0 : n.in);
11611
11611
  return t.setHours(0, 0, 0, 0), t;
11612
11612
  }
11613
- function Ip(e, n, t) {
11613
+ function I1(e, n, t) {
11614
11614
  const [a, r] = Zr(
11615
11615
  t == null ? void 0 : t.in,
11616
11616
  e,
11617
11617
  n
11618
11618
  ), o = Aa(a), s = Aa(r), l = +o - qo(o), u = +s - qo(s);
11619
- return Math.round((l - u) / Fp);
11619
+ return Math.round((l - u) / F1);
11620
11620
  }
11621
- function Bp(e, n) {
11621
+ function B1(e, n) {
11622
11622
  const t = Tl(e, n), a = kt(e, 0);
11623
11623
  return a.setFullYear(t, 0, 4), a.setHours(0, 0, 0, 0), xa(a);
11624
11624
  }
@@ -11633,17 +11633,17 @@ function Dl(e, n, t) {
11633
11633
  );
11634
11634
  return +Aa(a) == +Aa(r);
11635
11635
  }
11636
- function qp(e) {
11636
+ function q1(e) {
11637
11637
  return e instanceof Date || typeof e == "object" && Object.prototype.toString.call(e) === "[object Date]";
11638
11638
  }
11639
- function Wp(e) {
11640
- return !(!qp(e) && typeof e != "number" || isNaN(+Tt(e)));
11639
+ function W1(e) {
11640
+ return !(!q1(e) && typeof e != "number" || isNaN(+Tt(e)));
11641
11641
  }
11642
- function Hp(e, n) {
11642
+ function H1(e, n) {
11643
11643
  const t = Tt(e, n == null ? void 0 : n.in);
11644
11644
  return t.setFullYear(t.getFullYear(), 0, 1), t.setHours(0, 0, 0, 0), t;
11645
11645
  }
11646
- const jp = {
11646
+ const j1 = {
11647
11647
  lessThanXSeconds: {
11648
11648
  one: "less than a second",
11649
11649
  other: "less than {{count}} seconds"
@@ -11705,9 +11705,9 @@ const jp = {
11705
11705
  one: "almost 1 year",
11706
11706
  other: "almost {{count}} years"
11707
11707
  }
11708
- }, zp = (e, n, t) => {
11708
+ }, z1 = (e, n, t) => {
11709
11709
  let a;
11710
- const r = jp[e];
11710
+ const r = j1[e];
11711
11711
  return typeof r == "string" ? a = r : n === 1 ? a = r.one : a = r.other.replace("{{count}}", n.toString()), t != null && t.addSuffix ? t.comparison && t.comparison > 0 ? "in " + a : a + " ago" : a;
11712
11712
  };
11713
11713
  function Mn(e) {
@@ -11716,42 +11716,42 @@ function Mn(e) {
11716
11716
  return e.formats[t] || e.formats[e.defaultWidth];
11717
11717
  };
11718
11718
  }
11719
- const Vp = {
11719
+ const V1 = {
11720
11720
  full: "EEEE, MMMM do, y",
11721
11721
  long: "MMMM do, y",
11722
11722
  medium: "MMM d, y",
11723
11723
  short: "MM/dd/yyyy"
11724
- }, Up = {
11724
+ }, U1 = {
11725
11725
  full: "h:mm:ss a zzzz",
11726
11726
  long: "h:mm:ss a z",
11727
11727
  medium: "h:mm:ss a",
11728
11728
  short: "h:mm a"
11729
- }, Qp = {
11729
+ }, Q1 = {
11730
11730
  full: "{{date}} 'at' {{time}}",
11731
11731
  long: "{{date}} 'at' {{time}}",
11732
11732
  medium: "{{date}}, {{time}}",
11733
11733
  short: "{{date}}, {{time}}"
11734
- }, Xp = {
11734
+ }, X1 = {
11735
11735
  date: Mn({
11736
- formats: Vp,
11736
+ formats: V1,
11737
11737
  defaultWidth: "full"
11738
11738
  }),
11739
11739
  time: Mn({
11740
- formats: Up,
11740
+ formats: U1,
11741
11741
  defaultWidth: "full"
11742
11742
  }),
11743
11743
  dateTime: Mn({
11744
- formats: Qp,
11744
+ formats: Q1,
11745
11745
  defaultWidth: "full"
11746
11746
  })
11747
- }, Gp = {
11747
+ }, G1 = {
11748
11748
  lastWeek: "'last' eeee 'at' p",
11749
11749
  yesterday: "'yesterday at' p",
11750
11750
  today: "'today at' p",
11751
11751
  tomorrow: "'tomorrow at' p",
11752
11752
  nextWeek: "eeee 'at' p",
11753
11753
  other: "P"
11754
- }, Zp = (e, n, t, a) => Gp[e];
11754
+ }, Z1 = (e, n, t, a) => G1[e];
11755
11755
  function Lt(e) {
11756
11756
  return (n, t) => {
11757
11757
  const a = t != null && t.context ? String(t.context) : "standalone";
@@ -11767,11 +11767,11 @@ function Lt(e) {
11767
11767
  return r[o];
11768
11768
  };
11769
11769
  }
11770
- const Kp = {
11770
+ const K1 = {
11771
11771
  narrow: ["B", "A"],
11772
11772
  abbreviated: ["BC", "AD"],
11773
11773
  wide: ["Before Christ", "Anno Domini"]
11774
- }, Jp = {
11774
+ }, J1 = {
11775
11775
  narrow: ["1", "2", "3", "4"],
11776
11776
  abbreviated: ["Q1", "Q2", "Q3", "Q4"],
11777
11777
  wide: ["1st quarter", "2nd quarter", "3rd quarter", "4th quarter"]
@@ -11895,11 +11895,11 @@ const Kp = {
11895
11895
  }, ov = {
11896
11896
  ordinalNumber: rv,
11897
11897
  era: Lt({
11898
- values: Kp,
11898
+ values: K1,
11899
11899
  defaultWidth: "wide"
11900
11900
  }),
11901
11901
  quarter: Lt({
11902
- values: Jp,
11902
+ values: J1,
11903
11903
  defaultWidth: "wide",
11904
11904
  argumentCallback: (e) => e - 1
11905
11905
  }),
@@ -12064,9 +12064,9 @@ const iv = /^(\d+)(th|st|nd|rd)?/i, uv = /\d+/i, cv = {
12064
12064
  })
12065
12065
  }, _v = {
12066
12066
  code: "en-US",
12067
- formatDistance: zp,
12068
- formatLong: Xp,
12069
- formatRelative: Zp,
12067
+ formatDistance: z1,
12068
+ formatLong: X1,
12069
+ formatRelative: Z1,
12070
12070
  localize: ov,
12071
12071
  match: bv,
12072
12072
  options: {
@@ -12076,10 +12076,10 @@ const iv = /^(\d+)(th|st|nd|rd)?/i, uv = /\d+/i, cv = {
12076
12076
  };
12077
12077
  function kv(e, n) {
12078
12078
  const t = Tt(e, n == null ? void 0 : n.in);
12079
- return Ip(t, Hp(t)) + 1;
12079
+ return I1(t, H1(t)) + 1;
12080
12080
  }
12081
12081
  function xv(e, n) {
12082
- const t = Tt(e, n == null ? void 0 : n.in), a = +xa(t) - +Bp(t);
12082
+ const t = Tt(e, n == null ? void 0 : n.in), a = +xa(t) - +B1(t);
12083
12083
  return Math.round(a / Ml) + 1;
12084
12084
  }
12085
12085
  function Sl(e, n) {
@@ -12732,7 +12732,7 @@ const Ev = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, Fv = /P+p+|P
12732
12732
  function Vo(e, n, t) {
12733
12733
  var i, c, f, h, b, g, P, _;
12734
12734
  const a = Ya(), r = (t == null ? void 0 : t.locale) ?? a.locale ?? _v, o = (t == null ? void 0 : t.firstWeekContainsDate) ?? ((c = (i = t == null ? void 0 : t.locale) == null ? void 0 : i.options) == null ? void 0 : c.firstWeekContainsDate) ?? a.firstWeekContainsDate ?? ((h = (f = a.locale) == null ? void 0 : f.options) == null ? void 0 : h.firstWeekContainsDate) ?? 1, s = (t == null ? void 0 : t.weekStartsOn) ?? ((g = (b = t == null ? void 0 : t.locale) == null ? void 0 : b.options) == null ? void 0 : g.weekStartsOn) ?? a.weekStartsOn ?? ((_ = (P = a.locale) == null ? void 0 : P.options) == null ? void 0 : _.weekStartsOn) ?? 0, l = Tt(e, t == null ? void 0 : t.in);
12735
- if (!Wp(l))
12735
+ if (!W1(l))
12736
12736
  throw new RangeError("Invalid time value");
12737
12737
  let u = n.match(Fv).map((M) => {
12738
12738
  const k = M[0];
@@ -12795,7 +12795,7 @@ function Hv(e, n) {
12795
12795
  );
12796
12796
  }
12797
12797
  function jv(e, n, t) {
12798
- return Yp(e, -n, t);
12798
+ return Y1(e, -n, t);
12799
12799
  }
12800
12800
  function zv(e, n) {
12801
12801
  return Dl(
@@ -13176,7 +13176,7 @@ const Vv = {
13176
13176
  weekStartsOn: 0,
13177
13177
  firstWeekContainsDate: 1
13178
13178
  }
13179
- }, ia = (e) => (mt("data-v-5940c4f3"), e = e(), ht(), e), _y = { class: "messages-container bg-base-300" }, ky = { class: "header-intern bg-base-300" }, xy = /* @__PURE__ */ ia(() => /* @__PURE__ */ p("svg", {
13179
+ }, ia = (e) => (mt("data-v-9cc86a66"), e = e(), ht(), e), _y = { class: "messages-container bg-base-300" }, ky = { class: "header-intern bg-base-300" }, xy = /* @__PURE__ */ ia(() => /* @__PURE__ */ p("svg", {
13180
13180
  class: "w-6 h-6",
13181
13181
  "aria-hidden": "true",
13182
13182
  xmlns: "http://www.w3.org/2000/svg",
@@ -13314,7 +13314,7 @@ const Vv = {
13314
13314
  ref_key: "chatArea",
13315
13315
  ref: a
13316
13316
  }, [
13317
- !o.value && l.value && r.value ? (v(), Te(w(Ep), {
13317
+ !o.value && l.value && r.value ? (v(), Te(w(E1), {
13318
13318
  key: 0,
13319
13319
  onInfinite: h,
13320
13320
  distance: 30,
@@ -13386,7 +13386,7 @@ const Vv = {
13386
13386
  ])
13387
13387
  ]));
13388
13388
  }
13389
- }, Ey = /* @__PURE__ */ gt(Ny, [["__scopeId", "data-v-5940c4f3"]]), Fy = {}, Yy = (e) => (mt("data-v-17a2cc35"), e = e(), ht(), e), Ly = { class: "loading" }, Iy = /* @__PURE__ */ Yy(() => /* @__PURE__ */ p("svg", {
13389
+ }, Ey = /* @__PURE__ */ gt(Ny, [["__scopeId", "data-v-9cc86a66"]]), Fy = {}, Yy = (e) => (mt("data-v-bd52ddea"), e = e(), ht(), e), Ly = { class: "loading" }, Iy = /* @__PURE__ */ Yy(() => /* @__PURE__ */ p("svg", {
13390
13390
  class: "spinner",
13391
13391
  xmlns: "http://www.w3.org/2000/svg",
13392
13392
  fill: "none",
@@ -13411,7 +13411,7 @@ const Vv = {
13411
13411
  function qy(e, n) {
13412
13412
  return v(), A("div", Ly, By);
13413
13413
  }
13414
- const Wy = /* @__PURE__ */ gt(Fy, [["render", qy], ["__scopeId", "data-v-17a2cc35"]]), La = (e) => (mt("data-v-49dafe1e"), e = e(), ht(), e), Hy = /* @__PURE__ */ La(() => /* @__PURE__ */ p("span", {
13414
+ const Wy = /* @__PURE__ */ gt(Fy, [["render", qy], ["__scopeId", "data-v-bd52ddea"]]), La = (e) => (mt("data-v-9258fd28"), e = e(), ht(), e), Hy = /* @__PURE__ */ La(() => /* @__PURE__ */ p("span", {
13415
13415
  style: { "margin-top": "auto", "margin-bottom": "auto" },
13416
13416
  class: "chat-icon my-auto"
13417
13417
  }, [
@@ -13503,7 +13503,7 @@ const Wy = /* @__PURE__ */ gt(Fy, [["render", qy], ["__scopeId", "data-v-17a2cc3
13503
13503
  loadMessagesForAtendente: u,
13504
13504
  resetUnreadMessages: d,
13505
13505
  loadingAttendants: i
13506
- } = ap(), c = L(!1), f = L(!1), h = L(null), b = L(null), g = G(() => {
13506
+ } = a1(), c = L(!1), f = L(!1), h = L(null), b = L(null), g = G(() => {
13507
13507
  if (h.value) {
13508
13508
  const T = t.value.find(
13509
13509
  (N) => N.id === h.value.id
@@ -13599,7 +13599,7 @@ const Wy = /* @__PURE__ */ gt(Fy, [["render", qy], ["__scopeId", "data-v-17a2cc3
13599
13599
  hasNextPageForAtendente: w(s)
13600
13600
  }, null, 8, ["attendant", "selectedAtendente", "loadMessagesForAtendente", "sendMessageToAtendente", "hasNextPageForAtendente"])
13601
13601
  ])) : B("", !0),
13602
- !h.value && !w(i) ? (v(), Te(kp, {
13602
+ !h.value && !w(i) ? (v(), Te(k1, {
13603
13603
  key: 2,
13604
13604
  attendant: e.attendant,
13605
13605
  atendentes: w(t),
@@ -13612,7 +13612,7 @@ const Wy = /* @__PURE__ */ gt(Fy, [["render", qy], ["__scopeId", "data-v-17a2cc3
13612
13612
  ], 6)
13613
13613
  ], 512));
13614
13614
  }
13615
- }, Ol = /* @__PURE__ */ gt(Jy, [["__scopeId", "data-v-49dafe1e"]]), $l = ea("department", {
13615
+ }, Ol = /* @__PURE__ */ gt(Jy, [["__scopeId", "data-v-9258fd28"]]), $l = ea("department", {
13616
13616
  state: () => ({
13617
13617
  departments: [],
13618
13618
  count: null
@@ -13629,7 +13629,7 @@ const Wy = /* @__PURE__ */ gt(Fy, [["render", qy], ["__scopeId", "data-v-17a2cc3
13629
13629
  }
13630
13630
  }
13631
13631
  }
13632
- }), ua = (e) => (mt("data-v-2f5a4ed7"), e = e(), ht(), e), eg = { class: "depart-select-container" }, tg = { class: "search-container relative shadow shadow-gray-900 dark:shadow-gray-500" }, ng = ["placeholder"], ag = { class: "icon-container" }, rg = {
13632
+ }), ua = (e) => (mt("data-v-099d3a10"), e = e(), ht(), e), eg = { class: "depart-select-container" }, tg = { class: "search-container relative shadow shadow-gray-900 dark:shadow-gray-500" }, ng = ["placeholder"], ag = { class: "icon-container" }, rg = {
13633
13633
  key: 0,
13634
13634
  xmlns: "http://www.w3.org/2000/svg",
13635
13635
  fill: "none",
@@ -13797,7 +13797,7 @@ const Wy = /* @__PURE__ */ gt(Fy, [["render", qy], ["__scopeId", "data-v-17a2cc3
13797
13797
  ])
13798
13798
  ]));
13799
13799
  }
13800
- }, Rl = /* @__PURE__ */ gt(xg, [["__scopeId", "data-v-2f5a4ed7"]]), Ia = (e) => (mt("data-v-9344c7c4"), e = e(), ht(), e), Ag = { class: "depart-select-container" }, Mg = { class: "search-container relative shadow shadow-gray-900 dark:shadow-gray-500" }, Tg = ["placeholder"], Dg = { class: "icon-container" }, Pg = {
13800
+ }, Rl = /* @__PURE__ */ gt(xg, [["__scopeId", "data-v-099d3a10"]]), Ia = (e) => (mt("data-v-85edcc83"), e = e(), ht(), e), Ag = { class: "depart-select-container" }, Mg = { class: "search-container relative shadow shadow-gray-900 dark:shadow-gray-500" }, Tg = ["placeholder"], Dg = { class: "icon-container" }, Pg = {
13801
13801
  key: 0,
13802
13802
  xmlns: "http://www.w3.org/2000/svg",
13803
13803
  fill: "none",
@@ -13980,7 +13980,7 @@ const Wy = /* @__PURE__ */ gt(Fy, [["render", qy], ["__scopeId", "data-v-17a2cc3
13980
13980
  ])
13981
13981
  ]));
13982
13982
  }
13983
- }, Nl = /* @__PURE__ */ gt(Ug, [["__scopeId", "data-v-9344c7c4"]]);
13983
+ }, Nl = /* @__PURE__ */ gt(Ug, [["__scopeId", "data-v-85edcc83"]]);
13984
13984
  ea("debug", {
13985
13985
  state: () => ({
13986
13986
  message: "Debug store initialized"
@@ -13992,13 +13992,13 @@ ea("debug", {
13992
13992
  }
13993
13993
  });
13994
13994
  function Qg(e) {
13995
- e.component("primarySelect", ts), e.component("departSelect", Rl), e.component("attendantSelect", Nl), e.component("SimpleModal", as), e.component("simpleCard", rs), e.component("instanceSelect", Cs), e.component("calendar", bl), e.component("MFA", _l), e.component("MfaQrCode", Z1), e.component("chatWindow", Ol);
13995
+ e.component("primarySelect", ts), e.component("departSelect", Rl), e.component("attendantSelect", Nl), e.component("SimpleModal", as), e.component("simpleCard", rs), e.component("instanceSelect", Cs), e.component("calendar", bl), e.component("MFA", _l), e.component("MfaQrCode", Zp), e.component("chatWindow", Ol);
13996
13996
  }
13997
13997
  function Xg(e, n, t, a) {
13998
13998
  try {
13999
13999
  Ps(e).setToken(n), t && (Jt.defaults.baseURL = t), $l(e).fetchDepartments();
14000
14000
  const s = Gr(e);
14001
- s.attendants = a, s.count = a.lenght, Ss(e).fetchInstances();
14001
+ a ? (s.attendants = a, s.count = a.length) : s.fetchAttendants(), Ss(e).fetchInstances();
14002
14002
  } catch (r) {
14003
14003
  console.error("Erro no setupLibrary:", r);
14004
14004
  }